@internetarchive/bookreader 5.0.0-24-sortingstate-2 → 5.0.0-24-sortingstate-3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BookReader/BookReader.js +1 -1
- package/BookReader/icons/1up.svg +12 -1
- package/BookReader/icons/2up.svg +15 -1
- package/BookReader/icons/advance.svg +26 -3
- package/BookReader/icons/chevron-right.svg +1 -1
- package/BookReader/icons/close-circle-dark.svg +1 -1
- package/BookReader/icons/close-circle.svg +1 -1
- package/BookReader/icons/fullscreen.svg +17 -1
- package/BookReader/icons/fullscreen_exit.svg +17 -1
- package/BookReader/icons/hamburger.svg +15 -1
- package/BookReader/icons/left-arrow.svg +12 -1
- package/BookReader/icons/magnify-minus.svg +16 -1
- package/BookReader/icons/magnify-plus.svg +17 -1
- package/BookReader/icons/magnify.svg +15 -1
- package/BookReader/icons/pause.svg +23 -1
- package/BookReader/icons/play.svg +22 -1
- package/BookReader/icons/playback-speed.svg +34 -1
- package/BookReader/icons/read-aloud.svg +22 -1
- package/BookReader/icons/review.svg +22 -3
- package/BookReader/icons/thumbnails.svg +17 -1
- package/BookReader/icons/voice.svg +1 -1
- package/BookReader/icons/volume-full.svg +22 -1
- package/BookReader/images/BRicons.svg +94 -5
- package/BookReader/images/books_graphic.svg +177 -1
- package/BookReader/images/icon_book.svg +12 -1
- package/BookReader/images/icon_bookmark.svg +12 -1
- package/BookReader/images/icon_gear.svg +14 -1
- package/BookReader/images/icon_hamburger.svg +20 -1
- package/BookReader/images/icon_home.svg +21 -1
- package/BookReader/images/icon_info.svg +11 -1
- package/BookReader/images/icon_one_page.svg +8 -1
- package/BookReader/images/icon_pause.svg +1 -1
- package/BookReader/images/icon_play.svg +1 -1
- package/BookReader/images/icon_playback-rate.svg +15 -1
- package/BookReader/images/icon_search_button.svg +8 -1
- package/BookReader/images/icon_share.svg +9 -1
- package/BookReader/images/icon_skip-ahead.svg +6 -1
- package/BookReader/images/icon_skip-back.svg +13 -2
- package/BookReader/images/icon_speaker.svg +18 -1
- package/BookReader/images/icon_speaker_open.svg +10 -1
- package/BookReader/images/icon_thumbnails.svg +12 -1
- package/BookReader/images/icon_toc.svg +5 -1
- package/BookReader/images/icon_two_pages.svg +9 -1
- package/BookReader/images/marker_chap-off.svg +11 -1
- package/BookReader/images/marker_chap-on.svg +11 -1
- package/BookReader/images/marker_srch-on.svg +11 -1
- package/BookReader/jquery-1.10.1.js +108 -2
- package/BookReader/plugins/plugin.archive_analytics.js +170 -1
- package/BookReader/plugins/plugin.archive_analytics.js.map +1 -1
- package/BookReader/plugins/plugin.autoplay.js +163 -1
- package/BookReader/plugins/plugin.autoplay.js.map +1 -1
- package/BookReader/plugins/plugin.chapters.js +333 -1
- package/BookReader/plugins/plugin.chapters.js.map +1 -1
- package/BookReader/plugins/plugin.iframe.js +72 -1
- package/BookReader/plugins/plugin.iframe.js.map +1 -1
- package/BookReader/plugins/plugin.mobile_nav.js +332 -1
- package/BookReader/plugins/plugin.mobile_nav.js.map +1 -1
- package/BookReader/plugins/plugin.resume.js +241 -1
- package/BookReader/plugins/plugin.resume.js.map +1 -1
- package/BookReader/plugins/plugin.search.js +1263 -1
- package/BookReader/plugins/plugin.search.js.map +1 -1
- package/BookReader/plugins/plugin.text_selection.js +839 -1
- package/BookReader/plugins/plugin.text_selection.js.map +1 -1
- package/BookReader/plugins/plugin.tts.js +9114 -2
- package/BookReader/plugins/plugin.tts.js.map +1 -1
- package/BookReader/plugins/plugin.url.js +16 -15
- package/BookReader/plugins/plugin.url.js.map +1 -1
- package/BookReader/plugins/plugin.vendor-fullscreen.js +326 -1
- package/BookReader/plugins/plugin.vendor-fullscreen.js.map +1 -1
- package/BookReader/webcomponents-bundle.js +411 -2
- package/BookReader/webcomponents-bundle.js.map +1 -1
- package/package.json +1 -1
- package/src/plugins/plugin.url.js +8 -9
- package/tests/jest/plugins/plugin.url.test.js +11 -20
@@ -1,3 +1,412 @@
|
|
1
|
-
|
2
|
-
!function(){var t={2575:function(t,e,n){(function(){"use strict";var t;function e(t){var e=0;return function(){return e<t.length?{done:!1,value:t[e++]}:{done:!0}}}var r,o="function"==typeof Object.defineProperties?Object.defineProperty:function(t,e,n){return t==Array.prototype||t==Object.prototype||(t[e]=n.value),t},i=function(t){t=["object"==typeof globalThis&&globalThis,t,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof n.g&&n.g];for(var e=0;e<t.length;++e){var r=t[e];if(r&&r.Math==Math)return r}throw Error("Cannot find global object")}(this);function a(t,e){if(e)t:{var n=i;t=t.split(".");for(var r=0;r<t.length-1;r++){var a=t[r];if(!(a in n))break t;n=n[a]}(e=e(r=n[t=t[t.length-1]]))!=r&&null!=e&&o(n,t,{configurable:!0,writable:!0,value:e})}}function s(t){return(t={next:t})[Symbol.iterator]=function(){return this},t}function l(t){var n="undefined"!=typeof Symbol&&Symbol.iterator&&t[Symbol.iterator];return n?n.call(t):{next:e(t)}}function c(t){if(!(t instanceof Array)){t=l(t);for(var e,n=[];!(e=t.next()).done;)n.push(e.value);t=n}return t}if(a("Symbol",(function(t){function e(t,e){this.g=t,o(this,"description",{configurable:!0,writable:!0,value:e})}if(t)return t;e.prototype.toString=function(){return this.g};var n=0;return function t(r){if(this instanceof t)throw new TypeError("Symbol is not a constructor");return new e("jscomp_symbol_"+(r||"")+"_"+n++,r)}})),a("Symbol.iterator",(function(t){if(t)return t;t=Symbol("Symbol.iterator");for(var n="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),r=0;r<n.length;r++){var a=i[n[r]];"function"==typeof a&&"function"!=typeof a.prototype[t]&&o(a.prototype,t,{configurable:!0,writable:!0,value:function(){return s(e(this))}})}return t})),"function"==typeof Object.setPrototypeOf)r=Object.setPrototypeOf;else{var u;t:{var h={};try{h.__proto__={a:!0},u=h.a;break t}catch(A){}u=!1}r=u?function(t,e){if(t.__proto__=e,t.__proto__!==e)throw new TypeError(t+" is not extensible");return t}:null}var d=r;function f(){this.u=!1,this.h=null,this.Ka=void 0,this.g=1,this.da=0,this.i=null}function p(t){if(t.u)throw new TypeError("Generator is already running");t.u=!0}function _(t,e){t.i={Wa:e,$a:!0},t.g=t.da}function m(t,e){return t.g=3,{value:e}}function v(t){this.g=new f,this.h=t}function y(t,e,n,r){try{var o=e.call(t.g.h,n);if(!(o instanceof Object))throw new TypeError("Iterator result "+o+" is not an object");if(!o.done)return t.g.u=!1,o;var i=o.value}catch(e){return t.g.h=null,_(t.g,e),g(t)}return t.g.h=null,r.call(t.g,i),g(t)}function g(t){for(;t.g.g;)try{var e=t.h(t.g);if(e)return t.g.u=!1,{value:e.value,done:!1}}catch(e){t.g.Ka=void 0,_(t.g,e)}if(t.g.u=!1,t.g.i){if(e=t.g.i,t.g.i=null,e.$a)throw e.Wa;return{value:e.return,done:!0}}return{value:void 0,done:!0}}function b(t){this.next=function(e){return p(t.g),t.g.h?e=y(t,t.g.h.next,e,t.g.O):(t.g.O(e),e=g(t)),e},this.throw=function(e){return p(t.g),t.g.h?e=y(t,t.g.h.throw,e,t.g.O):(_(t.g,e),e=g(t)),e},this.return=function(e){return function(t,e){p(t.g);var n=t.g.h;return n?y(t,"return"in n?n.return:function(t){return{value:t,done:!0}},e,t.g.return):(t.g.return(e),g(t))}(t,e)},this[Symbol.iterator]=function(){return this}}function E(t,e){return e=new b(new v(e)),d&&t.prototype&&d(e,t.prototype),e}f.prototype.O=function(t){this.Ka=t},f.prototype.return=function(t){this.i={return:t},this.g=this.da},Array.from||(Array.from=function(t){return[].slice.call(t)}),Object.assign||(Object.assign=function(t){for(var e,n=[].slice.call(arguments,1),r=0;r<n.length;r++)if(e=n[r])for(var o=t,i=Object.keys(e),a=0;a<i.length;a++){var s=i[a];o[s]=e[s]}return t});var w=setTimeout;function N(){}function C(t){if(!(this instanceof C))throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this.N=0,this.Ea=!1,this.I=void 0,this.ba=[],M(t,this)}function S(t,e){for(;3===t.N;)t=t.I;0===t.N?t.ba.push(e):(t.Ea=!0,H((function(){var n=1===t.N?e.bb:e.cb;if(null===n)(1===t.N?T:O)(e.promise,t.I);else{try{var r=n(t.I)}catch(t){return void O(e.promise,t)}T(e.promise,r)}})))}function T(t,e){try{if(e===t)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var n=e.then;if(e instanceof C)return t.N=3,t.I=e,void D(t);if("function"==typeof n)return void M(function(t,e){return function(){t.apply(e,arguments)}}(n,e),t)}t.N=1,t.I=e,D(t)}catch(e){O(t,e)}}function O(t,e){t.N=2,t.I=e,D(t)}function D(t){2===t.N&&0===t.ba.length&&H((function(){t.Ea||"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t.I)}));for(var e=0,n=t.ba.length;e<n;e++)S(t,t.ba[e]);t.ba=null}function x(t,e,n){this.bb="function"==typeof t?t:null,this.cb="function"==typeof e?e:null,this.promise=n}function M(t,e){var n=!1;try{t((function(t){n||(n=!0,T(e,t))}),(function(t){n||(n=!0,O(e,t))}))}catch(t){n||(n=!0,O(e,t))}}function P(t){return t&&"object"==typeof t&&t.constructor===C?t:new C((function(e){e(t)}))}C.prototype.catch=function(t){return this.then(null,t)},C.prototype.then=function(t,e){var n=new this.constructor(N);return S(this,new x(t,e,n)),n},C.prototype.finally=function(t){var e=this.constructor;return this.then((function(n){return e.resolve(t()).then((function(){return n}))}),(function(n){return e.resolve(t()).then((function(){return e.reject(n)}))}))};var A,L,j,k,F,R,H="function"==typeof setImmediate&&function(t){setImmediate(t)}||function(t){w(t,0)};if(!window.Promise){window.Promise=C,C.prototype.then=C.prototype.then,C.all=function(t){return new C((function(e,n){function r(t,a){try{if(a&&("object"==typeof a||"function"==typeof a)){var s=a.then;if("function"==typeof s)return void s.call(a,(function(e){r(t,e)}),n)}o[t]=a,0==--i&&e(o)}catch(t){n(t)}}if(!t||void 0===t.length)return n(new TypeError("Promise.all accepts an array"));var o=Array.prototype.slice.call(t);if(0===o.length)return e([]);for(var i=o.length,a=0;a<o.length;a++)r(a,o[a])}))},C.race=function(t){return new C((function(e,n){if(!t||void 0===t.length)return n(new TypeError("Promise.race accepts an array"));for(var r=0,o=t.length;r<o;r++)P(t[r]).then(e,n)}))},C.resolve=P,C.reject=function(t){return new C((function(e,n){n(t)}))};var I=document.createTextNode(""),B=[];new MutationObserver((function(){for(var t=B.length,e=0;e<t;e++)B[e]();B.splice(0,t)})).observe(I,{characterData:!0}),H=function(t){B.push(t),I.textContent=0<I.textContent.length?"":"a"}}!function(t,e){if(!(e in t)){var r=typeof n.g==typeof r?window:n.g,o=0,i=String(Math.random()),a="__symbol@@"+i,s=t.getOwnPropertyNames,l=t.getOwnPropertyDescriptor,c=t.create,u=t.keys,h=t.freeze||t,d=t.defineProperty,f=t.defineProperties,p=l(t,"getOwnPropertyNames"),_=t.prototype,m=_.hasOwnProperty,v=_.propertyIsEnumerable,y=_.toString,g=function(t,e,n){m.call(t,a)||d(t,a,{enumerable:!1,configurable:!1,writable:!1,value:{}}),t[a]["@@"+e]=n},b=function(t,e){var n=c(t);return s(e).forEach((function(t){C.call(e,t)&&M(n,t,e[t])})),n},E=function(){},w=function(t){return t!=a&&!m.call(O,t)},N=function(t){return t!=a&&m.call(O,t)},C=function(t){var e=String(t);return N(e)?m.call(this,e)&&!!this[a]&&this[a]["@@"+e]:v.call(this,t)},S=function(e){return d(_,e,{enumerable:!1,configurable:!0,get:E,set:function(t){A(this,e,{enumerable:!1,configurable:!0,writable:!0,value:t}),g(this,e,!0)}}),O[e]=d(t(e),"constructor",D),h(O[e])},T=function t(e){if(this instanceof t)throw new TypeError("Symbol is not a constructor");return S("__symbol:".concat(e||"",i,++o))},O=c(null),D={value:T},x=function(t){return O[t]},M=function(t,e,n){var r=String(e);if(N(r)){if(e=A,n.enumerable){var o=c(n);o.enumerable=!1}else o=n;e(t,r,o),g(t,r,!!n.enumerable)}else d(t,e,n);return t},P=function(t){return s(t).filter(N).map(x)};p.value=M,d(t,"defineProperty",p),p.value=P,d(t,e,p),p.value=function(t){return s(t).filter(w)},d(t,"getOwnPropertyNames",p),p.value=function(t,e){var n=P(e);return n.length?u(e).concat(n).forEach((function(n){C.call(e,n)&&M(t,n,e[n])})):f(t,e),t},d(t,"defineProperties",p),p.value=C,d(_,"propertyIsEnumerable",p),p.value=T,d(r,"Symbol",p),p.value=function(t){return(t="__symbol:".concat("__symbol:",t,i))in _?O[t]:S(t)},d(T,"for",p),p.value=function(t){if(w(t))throw new TypeError(t+" is not a symbol");if(m.call(O,t)&&"__symbol:"===(t=t.slice(10)).slice(0,10)&&(t=t.slice(10))!==i)return 0<(t=t.slice(0,t.length-i.length)).length?t:void 0},d(T,"keyFor",p),p.value=function(t,e){var n=l(t,e);return n&&N(e)&&(n.enumerable=C.call(t,e)),n},d(t,"getOwnPropertyDescriptor",p),p.value=function(t,e){return 1===arguments.length||void 0===e?c(t):b(t,e)},d(t,"create",p),p.value=function(){var t=y.call(this);return"[object String]"===t&&N(this)?"[object Symbol]":t},d(_,"toString",p);try{if(!0!==c(d({},"__symbol:",{get:function(){return d(this,"__symbol:",{value:!0})["__symbol:"]}}))["__symbol:"])throw"IE11";var A=d}catch(t){A=function(t,e,n){var r=l(_,e);delete _[e],d(t,e,n),d(_,e,r)}}}}(Object,"getOwnPropertySymbols"),A=Object,L=Symbol,k=A.defineProperty,F=A.prototype,R=F.toString,"iterator match replace search split hasInstance isConcatSpreadable unscopables species toPrimitive toStringTag".split(" ").forEach((function(t){t in L||(k(L,t,{value:L(t)}),"toStringTag"===t&&((j=A.getOwnPropertyDescriptor(F,"toString")).value=function(){var t=R.call(this),e=null==this?this:this[L.toStringTag];return null==e?t:"[object "+e+"]"},k(F,"toString",j)))})),function(t,e,n){function r(){return this}e[t]||(e[t]=function(){var e=0,n=this,o={next:function(){var t=n.length<=e;return t?{done:t}:{done:t,value:n[e++]}}};return o[t]=r,o}),n[t]||(n[t]=function(){var e=String.fromCodePoint,n=this,o=0,i=n.length,a={next:function(){var t=i<=o,r=t?"":e(n.codePointAt(o));return o+=r.length,t?{done:t}:{done:t,value:r}}};return a[t]=r,a})}(Symbol.iterator,Array.prototype,String.prototype);var U=Object.prototype.toString;Object.prototype.toString=function(){return void 0===this?"[object Undefined]":null===this?"[object Null]":U.call(this)},Object.keys=function(t){return Object.getOwnPropertyNames(t).filter((function(e){return(e=Object.getOwnPropertyDescriptor(t,e))&&e.enumerable}))},String.prototype[Symbol.iterator]&&String.prototype.codePointAt||(String.prototype[Symbol.iterator]=function t(){var e,n=this;return E(t,(function(t){if(1==t.g&&(e=0),3!=t.g)return e<n.length?t=m(t,n[e]):(t.g=0,t=void 0),t;e++,t.g=2}))}),Set.prototype[Symbol.iterator]||(Set.prototype[Symbol.iterator]=function t(){var e,n,r=this;return E(t,(function(t){if(1==t.g&&(e=[],r.forEach((function(t){e.push(t)})),n=0),3!=t.g)return n<e.length?t=m(t,e[n]):(t.g=0,t=void 0),t;n++,t.g=2}))}),Map.prototype[Symbol.iterator]||(Map.prototype[Symbol.iterator]=function t(){var e,n,r=this;return E(t,(function(t){if(1==t.g&&(e=[],r.forEach((function(t,n){e.push([n,t])})),n=0),3!=t.g)return n<e.length?t=m(t,e[n]):(t.g=0,t=void 0),t;n++,t.g=2}))});var q=document.createEvent("Event");if(q.initEvent("foo",!0,!0),q.preventDefault(),!q.defaultPrevented){var W=Event.prototype.preventDefault;Event.prototype.preventDefault=function(){this.cancelable&&(W.call(this),Object.defineProperty(this,"defaultPrevented",{get:function(){return!0},configurable:!0}))}}var G=/Trident/.test(navigator.userAgent);if(!window.Event||G&&"function"!=typeof window.Event){var V=window.Event;if(window.Event=function(t,e){e=e||{};var n=document.createEvent("Event");return n.initEvent(t,!!e.bubbles,!!e.cancelable),n},V){for(var K in V)window.Event[K]=V[K];window.Event.prototype=V.prototype}}if((!window.CustomEvent||G&&"function"!=typeof window.CustomEvent)&&(window.CustomEvent=function(t,e){e=e||{};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,!!e.bubbles,!!e.cancelable,e.detail),n},window.CustomEvent.prototype=window.Event.prototype),!window.MouseEvent||G&&"function"!=typeof window.MouseEvent){var X=window.MouseEvent;if(window.MouseEvent=function(t,e){e=e||{};var n=document.createEvent("MouseEvent");return n.initMouseEvent(t,!!e.bubbles,!!e.cancelable,e.view||window,e.detail,e.screenX,e.screenY,e.clientX,e.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,e.button,e.relatedTarget),n},X)for(var z in X)window.MouseEvent[z]=X[z];window.MouseEvent.prototype=X.prototype}Object.getOwnPropertyDescriptor(Node.prototype,"baseURI")||Object.defineProperty(Node.prototype,"baseURI",{get:function(){var t=(this.ownerDocument||this).querySelector("base[href]");return t&&t.href||window.location.href},configurable:!0,enumerable:!0});var J,$,Y=Element.prototype,Z=null!==(J=Object.getOwnPropertyDescriptor(Y,"attributes"))&&void 0!==J?J:Object.getOwnPropertyDescriptor(Node.prototype,"attributes"),Q=null!==($=null==Z?void 0:Z.get)&&void 0!==$?$:function(){return this.attributes},tt=Array.prototype.map;Y.hasOwnProperty("getAttributeNames")||(Y.getAttributeNames=function(){return tt.call(Q.call(this),(function(t){return t.name}))});var et,nt=Element.prototype;nt.hasOwnProperty("matches")||(nt.matches=null!==(et=nt.webkitMatchesSelector)&&void 0!==et?et:nt.msMatchesSelector);var rt=Node.prototype.appendChild;function ot(t){(t=t.prototype).hasOwnProperty("append")||Object.defineProperty(t,"append",{configurable:!0,enumerable:!0,writable:!0,value:function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];for(n=(e=l(e)).next();!n.done;n=e.next())n=n.value,rt.call(this,"string"==typeof n?document.createTextNode(n):n)}})}ot(Document),ot(DocumentFragment),ot(Element);var it,at,st=Node.prototype.insertBefore,lt=null!==(at=null===(it=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild"))||void 0===it?void 0:it.get)&&void 0!==at?at:function(){return this.firstChild};function ct(t){(t=t.prototype).hasOwnProperty("prepend")||Object.defineProperty(t,"prepend",{configurable:!0,enumerable:!0,writable:!0,value:function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];n=lt.call(this);for(var r=(e=l(e)).next();!r.done;r=e.next())r=r.value,st.call(this,"string"==typeof r?document.createTextNode(r):r,n)}})}ct(Document),ct(DocumentFragment),ct(Element);var ut,ht,dt=Node.prototype.appendChild,ft=Node.prototype.removeChild,pt=null!==(ht=null===(ut=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild"))||void 0===ut?void 0:ut.get)&&void 0!==ht?ht:function(){return this.firstChild};function _t(t){(t=t.prototype).hasOwnProperty("replaceChildren")||Object.defineProperty(t,"replaceChildren",{configurable:!0,enumerable:!0,writable:!0,value:function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];for(;null!==(n=pt.call(this));)ft.call(this,n);for(n=(e=l(e)).next();!n.done;n=e.next())n=n.value,dt.call(this,"string"==typeof n?document.createTextNode(n):n)}})}_t(Document),_t(DocumentFragment),_t(Element);var mt,vt,yt,gt,bt=Node.prototype.insertBefore,Et=null!==(vt=null===(mt=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode"))||void 0===mt?void 0:mt.get)&&void 0!==vt?vt:function(){return this.parentNode},wt=null!==(gt=null===(yt=Object.getOwnPropertyDescriptor(Node.prototype,"nextSibling"))||void 0===yt?void 0:yt.get)&&void 0!==gt?gt:function(){return this.nextSibling};function Nt(t){(t=t.prototype).hasOwnProperty("after")||Object.defineProperty(t,"after",{configurable:!0,enumerable:!0,writable:!0,value:function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];if(null!==(n=Et.call(this)))for(var r=wt.call(this),o=(e=l(e)).next();!o.done;o=e.next())o=o.value,bt.call(n,"string"==typeof o?document.createTextNode(o):o,r)}})}Nt(CharacterData),Nt(Element);var Ct,St,Tt=Node.prototype.insertBefore,Ot=null!==(St=null===(Ct=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode"))||void 0===Ct?void 0:Ct.get)&&void 0!==St?St:function(){return this.parentNode};function Dt(t){(t=t.prototype).hasOwnProperty("before")||Object.defineProperty(t,"before",{configurable:!0,enumerable:!0,writable:!0,value:function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];if(null!==(n=Ot.call(this)))for(var r=(e=l(e)).next();!r.done;r=e.next())r=r.value,Tt.call(n,"string"==typeof r?document.createTextNode(r):r,this)}})}Dt(CharacterData),Dt(Element);var xt,Mt,Pt=Node.prototype.removeChild,At=null!==(Mt=null===(xt=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode"))||void 0===xt?void 0:xt.get)&&void 0!==Mt?Mt:function(){return this.parentNode};function Lt(t){(t=t.prototype).hasOwnProperty("remove")||Object.defineProperty(t,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){var t=At.call(this);t&&Pt.call(t,this)}})}Lt(CharacterData),Lt(Element);var jt,kt,Ft=Node.prototype.insertBefore,Rt=Node.prototype.removeChild,Ht=null!==(kt=null===(jt=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode"))||void 0===jt?void 0:jt.get)&&void 0!==kt?kt:function(){return this.parentNode};function It(t){(t=t.prototype).hasOwnProperty("replaceWith")||Object.defineProperty(t,"replaceWith",{configurable:!0,enumerable:!0,writable:!0,value:function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];if(null!==(n=Ht.call(this))){for(var r=(e=l(e)).next();!r.done;r=e.next())r=r.value,Ft.call(n,"string"==typeof r?document.createTextNode(r):r,this);Rt.call(n,this)}}})}It(CharacterData),It(Element);var Bt=window.Element.prototype,Ut=window.HTMLElement.prototype,qt=window.SVGElement.prototype;!Ut.hasOwnProperty("classList")||Bt.hasOwnProperty("classList")||qt.hasOwnProperty("classList")||Object.defineProperty(Bt,"classList",Object.getOwnPropertyDescriptor(Ut,"classList"));var Wt=document.createElement("style");Wt.textContent="body {transition: opacity ease-in 0.2s; } \nbody[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } \n";var Gt=document.querySelector("head");Gt.insertBefore(Wt,Gt.firstChild);var Vt=window;Vt.WebComponents=Vt.WebComponents||{flags:{}};var Kt=document.querySelector('script[src*="webcomponents-bundle"]'),Xt=/wc-(.+)/,zt={};if(!zt.noOpts){if(location.search.slice(1).split("&").forEach((function(t){var e;(t=t.split("="))[0]&&(e=t[0].match(Xt))&&(zt[e[1]]=t[1]||!0)})),Kt)for(var Jt=0,$t=void 0;$t=Kt.attributes[Jt];Jt++)"src"!==$t.name&&(zt[$t.name]=$t.value||!0);var Yt={};zt.log&&zt.log.split&&zt.log.split(",").forEach((function(t){Yt[t]=!0})),zt.log=Yt}Vt.WebComponents.flags=zt;var Zt=zt.shadydom;if(Zt){Vt.ShadyDOM=Vt.ShadyDOM||{},Vt.ShadyDOM.force=Zt;var Qt=zt.noPatch;Vt.ShadyDOM.noPatch="true"===Qt||Qt}var te=zt.register||zt.ce;function ee(){}function ne(t){return t.__shady||(t.__shady=new ee),t.__shady}function re(t){return t&&t.__shady}te&&window.customElements&&(Vt.customElements.forcePolyfill=te),function(){function t(){}function e(t,e){if(!t.childNodes.length)return[];switch(t.nodeType){case Node.DOCUMENT_NODE:return _.call(t,e);case Node.DOCUMENT_FRAGMENT_NODE:return m.call(t,e);default:return p.call(t,e)}}var n="undefined"==typeof HTMLTemplateElement,r=!(document.createDocumentFragment().cloneNode()instanceof DocumentFragment),o=!1;/Trident/.test(navigator.userAgent)&&function(){function t(t,e){if(t instanceof DocumentFragment)for(var r;r=t.firstChild;)n.call(this,r,e);else n.call(this,t,e);return t}o=!0;var e=Node.prototype.cloneNode;Node.prototype.cloneNode=function(t){return t=e.call(this,t),this instanceof DocumentFragment&&(t.__proto__=DocumentFragment.prototype),t},DocumentFragment.prototype.querySelectorAll=HTMLElement.prototype.querySelectorAll,DocumentFragment.prototype.querySelector=HTMLElement.prototype.querySelector,Object.defineProperties(DocumentFragment.prototype,{nodeType:{get:function(){return Node.DOCUMENT_FRAGMENT_NODE},configurable:!0},localName:{get:function(){},configurable:!0},nodeName:{get:function(){return"#document-fragment"},configurable:!0}});var n=Node.prototype.insertBefore;Node.prototype.insertBefore=t;var r=Node.prototype.appendChild;Node.prototype.appendChild=function(e){return e instanceof DocumentFragment?t.call(this,e,null):r.call(this,e),e};var i=Node.prototype.removeChild,a=Node.prototype.replaceChild;Node.prototype.replaceChild=function(e,n){return e instanceof DocumentFragment?(t.call(this,e,n),i.call(this,n)):a.call(this,e,n),n},Document.prototype.createDocumentFragment=function(){var t=this.createElement("df");return t.__proto__=DocumentFragment.prototype,t};var s=Document.prototype.importNode;Document.prototype.importNode=function(t,e){return e=s.call(this,t,e||!1),t instanceof DocumentFragment&&(e.__proto__=DocumentFragment.prototype),e}}();var i=Node.prototype.cloneNode,a=Document.prototype.createElement,s=Document.prototype.importNode,l=Node.prototype.removeChild,c=Node.prototype.appendChild,u=Node.prototype.replaceChild,h=DOMParser.prototype.parseFromString,d=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML")||{get:function(){return this.innerHTML},set:function(t){this.innerHTML=t}},f=Object.getOwnPropertyDescriptor(window.Node.prototype,"childNodes")||{get:function(){return this.childNodes}},p=Element.prototype.querySelectorAll,_=Document.prototype.querySelectorAll,m=DocumentFragment.prototype.querySelectorAll,v=function(){if(!n){var t=document.createElement("template"),e=document.createElement("template");return e.content.appendChild(document.createElement("div")),t.content.appendChild(e),0===(t=t.cloneNode(!0)).content.childNodes.length||0===t.content.firstChild.content.childNodes.length||r}}();if(n){var y=document.implementation.createHTMLDocument("template"),g=!0,b=document.createElement("style");b.textContent="template{display:none;}";var E=document.head;E.insertBefore(b,E.firstElementChild),t.prototype=Object.create(HTMLElement.prototype);var w=!document.createElement("div").hasOwnProperty("innerHTML");t.Z=function(e){if(!e.content&&e.namespaceURI===document.documentElement.namespaceURI){e.content=y.createDocumentFragment();for(var n;n=e.firstChild;)c.call(e.content,n);if(w)e.__proto__=t.prototype;else if(e.cloneNode=function(e){return t.sa(this,e)},g)try{C(e),S(e)}catch(t){g=!1}t.bootstrap(e.content)}};var N={option:["select"],thead:["table"],col:["colgroup","table"],tr:["tbody","table"],th:["tr","tbody","table"],td:["tr","tbody","table"]},C=function(e){Object.defineProperty(e,"innerHTML",{get:function(){return P(this)},set:function(e){var n=N[(/<([a-z][^/\0>\x20\t\r\n\f]+)/i.exec(e)||["",""])[1].toLowerCase()];if(n)for(var r=0;r<n.length;r++)e="<"+n[r]+">"+e+"</"+n[r]+">";for(y.body.innerHTML=e,t.bootstrap(y);this.content.firstChild;)l.call(this.content,this.content.firstChild);if(e=y.body,n)for(r=0;r<n.length;r++)e=e.lastChild;for(;e.firstChild;)c.call(this.content,e.firstChild)},configurable:!0})},S=function(t){Object.defineProperty(t,"outerHTML",{get:function(){return"<template>"+this.innerHTML+"</template>"},set:function(t){if(!this.parentNode)throw Error("Failed to set the 'outerHTML' property on 'Element': This element has no parent node.");for(y.body.innerHTML=t,t=this.ownerDocument.createDocumentFragment();y.body.firstChild;)c.call(t,y.body.firstChild);u.call(this.parentNode,t,this)},configurable:!0})};C(t.prototype),S(t.prototype),t.bootstrap=function(n){for(var r,o=0,i=(n=e(n,"template")).length;o<i&&(r=n[o]);o++)t.Z(r)},document.addEventListener("DOMContentLoaded",(function(){t.bootstrap(document)})),Document.prototype.createElement=function(){var e=a.apply(this,arguments);return"template"===e.localName&&t.Z(e),e},DOMParser.prototype.parseFromString=function(){var e=h.apply(this,arguments);return t.bootstrap(e),e},Object.defineProperty(HTMLElement.prototype,"innerHTML",{get:function(){return P(this)},set:function(e){d.set.call(this,e),t.bootstrap(this)},configurable:!0,enumerable:!0});var T=/[&\u00A0"]/g,O=/[&\u00A0<>]/g,D=function(t){switch(t){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" "}},x=(b=function(t){for(var e={},n=0;n<t.length;n++)e[t[n]]=!0;return e})("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),M=b("style script xmp iframe noembed noframes plaintext noscript".split(" ")),P=function(t,e){"template"===t.localName&&(t=t.content);for(var n,r="",o=e?e(t):f.get.call(t),i=0,a=o.length;i<a&&(n=o[i]);i++){t:{var s=n,l=t,c=e;switch(s.nodeType){case Node.ELEMENT_NODE:for(var u=s.localName,h="<"+u,d=s.attributes,p=0;l=d[p];p++)h+=" "+l.name+'="'+l.value.replace(T,D)+'"';h+=">",s=x[u]?h:h+P(s,c)+"</"+u+">";break t;case Node.TEXT_NODE:s=s.data,s=l&&M[l.localName]?s:s.replace(O,D);break t;case Node.COMMENT_NODE:s="\x3c!--"+s.data+"--\x3e";break t;default:throw window.console.error(s),Error("not implemented")}}r+=s}return r}}if(n||v){t.sa=function(t,e){var n=i.call(t,!1);return this.Z&&this.Z(n),e&&(c.call(n.content,i.call(t.content,!0)),A(n.content,t.content)),n};var A=function(n,r){if(r.querySelectorAll&&0!==(r=e(r,"template")).length)for(var o,i,a=0,s=(n=e(n,"template")).length;a<s;a++)i=r[a],o=n[a],t&&t.Z&&t.Z(i),u.call(o.parentNode,L.call(i,!0),o)},L=Node.prototype.cloneNode=function(e){if(!o&&r&&this instanceof DocumentFragment){if(!e)return this.ownerDocument.createDocumentFragment();var n=j.call(this.ownerDocument,this,!0)}else n=this.nodeType===Node.ELEMENT_NODE&&"template"===this.localName&&this.namespaceURI==document.documentElement.namespaceURI?t.sa(this,e):i.call(this,e);return e&&A(n,this),n},j=Document.prototype.importNode=function(n,r){if(r=r||!1,"template"===n.localName)return t.sa(n,r);var o=s.call(this,n,r);if(r){A(o,n),n=e(o,'script:not([type]),script[type="application/javascript"],script[type="text/javascript"]');for(var i,l=0;l<n.length;l++){i=n[l],(r=a.call(document,"script")).textContent=i.textContent;for(var c,h=i.attributes,d=0;d<h.length;d++)c=h[d],r.setAttribute(c.name,c.value);u.call(i.parentNode,r,i)}}return o}}n&&(window.HTMLTemplateElement=t)}(),ee.prototype.toJSON=function(){return{}};var oe=window.ShadyDOM||{};oe.Ya=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var ie=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");function ae(){return Document.prototype.msElementsFromPoint?"msElementsFromPoint":"elementsFromPoint"}function se(t){return(t=re(t))&&void 0!==t.firstChild}function le(t){return t instanceof ShadowRoot}function ce(t){return(t=(t=re(t))&&t.root)&&Jr(t)}oe.H=!!(ie&&ie.configurable&&ie.get),oe.ya=oe.force||!oe.Ya,oe.J=oe.noPatch||!1,oe.fa=oe.preferPerformance,oe.Aa="on-demand"===oe.J,oe.Na=navigator.userAgent.match("Trident");var ue=Element.prototype,he=ue.matches||ue.matchesSelector||ue.mozMatchesSelector||ue.msMatchesSelector||ue.oMatchesSelector||ue.webkitMatchesSelector,de=document.createTextNode(""),fe=0,pe=[];function _e(t){pe.push(t),de.textContent=fe++}new MutationObserver((function(){for(;pe.length;)try{pe.shift()()}catch(t){throw de.textContent=fe++,t}})).observe(de,{characterData:!0});var me=document.contains?function(t,e){return t.__shady_native_contains(e)}:function(t,e){return t===e||t.documentElement&&t.documentElement.__shady_native_contains(e)};function ve(t,e){for(;e;){if(e==t)return!0;e=e.__shady_parentNode}return!1}function ye(t){for(var e=t.length-1;0<=e;e--){var n=t[e],r=n.getAttribute("id")||n.getAttribute("name");r&&"length"!==r&&isNaN(r)&&(t[r]=n)}return t.item=function(e){return t[e]},t.namedItem=function(e){if("length"!==e&&isNaN(e)&&t[e])return t[e];for(var n=l(t),r=n.next();!r.done;r=n.next())if(((r=r.value).getAttribute("id")||r.getAttribute("name"))==e)return r;return null},t}function ge(t){var e=[];for(t=t.__shady_native_firstChild;t;t=t.__shady_native_nextSibling)e.push(t);return e}function be(t){var e=[];for(t=t.__shady_firstChild;t;t=t.__shady_nextSibling)e.push(t);return e}function Ee(t,e,n){if(n.configurable=!0,n.value)t[e]=n.value;else try{Object.defineProperty(t,e,n)}catch(t){}}function we(t,e,n,r){for(var o in n=void 0===n?"":n,e)r&&0<=r.indexOf(o)||Ee(t,n+o,e[o])}function Ne(t,e){for(var n in e)n in t&&Ee(t,n,e[n])}function Ce(t){var e={};return Object.getOwnPropertyNames(t).forEach((function(n){e[n]=Object.getOwnPropertyDescriptor(t,n)})),e}function Se(t,e){for(var n,r=Object.getOwnPropertyNames(e),o=0;o<r.length;o++)t[n=r[o]]=e[n]}function Te(t){return t instanceof Node?t:document.createTextNode(""+t)}function Oe(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];if(1===e.length)return Te(e[0]);n=document.createDocumentFragment();for(var r=(e=l(e)).next();!r.done;r=e.next())n.appendChild(Te(r.value));return n}var De,xe=[];function Me(t){De||(De=!0,_e(Pe)),xe.push(t)}function Pe(){De=!1;for(var t=!!xe.length;xe.length;)xe.shift()();return t}function Ae(){this.g=!1,this.addedNodes=[],this.removedNodes=[],this.oa=new Set}Pe.list=xe,Ae.prototype.flush=function(){if(this.g){this.g=!1;var t=this.takeRecords();t.length&&this.oa.forEach((function(e){e(t)}))}},Ae.prototype.takeRecords=function(){if(this.addedNodes.length||this.removedNodes.length){var t=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];return this.addedNodes=[],this.removedNodes=[],t}return[]};var Le=/[&\u00A0"]/g,je=/[&\u00A0<>]/g;function ke(t){switch(t){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" "}}function Fe(t){for(var e={},n=0;n<t.length;n++)e[t[n]]=!0;return e}var Re=Fe("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),He=Fe("style script xmp iframe noembed noframes plaintext noscript".split(" "));function Ie(t,e){"template"===t.localName&&(t=t.content);for(var n="",r=e?e(t):t.childNodes,o=0,i=r.length,a=void 0;o<i&&(a=r[o]);o++){t:{var s=a,l=t,c=e;switch(s.nodeType){case Node.ELEMENT_NODE:for(var u,h="<"+(l=s.localName),d=s.attributes,f=0;u=d[f];f++)h+=" "+u.name+'="'+u.value.replace(Le,ke)+'"';h+=">",s=Re[l]?h:h+Ie(s,c)+"</"+l+">";break t;case Node.TEXT_NODE:s=s.data,s=l&&He[l.localName]?s:s.replace(je,ke);break t;case Node.COMMENT_NODE:s="\x3c!--"+s.data+"--\x3e";break t;default:throw window.console.error(s),Error("not implemented")}}n+=s}return n}var Be=oe.H,Ue={querySelector:function(t){return this.__shady_native_querySelector(t)},querySelectorAll:function(t){return this.__shady_native_querySelectorAll(t)}},qe={};function We(t){qe[t]=function(e){return e["__shady_native_"+t]}}function Ge(t,e){for(var n in we(t,e,"__shady_native_"),e)We(n)}function Ve(t,e){e=void 0===e?[]:e;for(var n=0;n<e.length;n++){var r=e[n],o=Object.getOwnPropertyDescriptor(t,r);o&&(Object.defineProperty(t,"__shady_native_"+r,o),o.value?Ue[r]||(Ue[r]=o.value):We(r))}}var Ke=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),Xe=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1),ze=document.implementation.createHTMLDocument("inert");function Je(t){for(var e;e=t.__shady_native_firstChild;)t.__shady_native_removeChild(e)}var $e=["firstElementChild","lastElementChild","children","childElementCount"],Ye=["querySelector","querySelectorAll","append","prepend","replaceChildren"],Ze=Ce({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}}),Qe=Ce({get textContent(){return this.__shady_textContent},set textContent(t){this.__shady_textContent=t},get innerHTML(){return this.__shady_innerHTML},set innerHTML(t){this.__shady_innerHTML=t}}),tn=Ce({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(t){this.__shady_className=t}});function en(t){for(var e in t){var n=t[e];n&&(n.enumerable=!1)}}en(Ze),en(Qe),en(tn);var nn=oe.H||!0===oe.J,rn=nn?function(){}:function(t){var e=ne(t);e.Pa||(e.Pa=!0,Ne(t,tn))},on=nn?function(){}:function(t){var e=ne(t);e.Oa||(e.Oa=!0,Ne(t,Ze),window.customElements&&window.customElements.polyfillWrapFlushCallback&&!oe.J||Ne(t,Qe))},an="__eventWrappers"+Date.now(),sn=function(){var t=Object.getOwnPropertyDescriptor(Event.prototype,"composed");return t?function(e){return t.get.call(e)}:null}(),ln=function(){function t(){}var e=!1,n={get capture(){return e=!0,!1}};return window.addEventListener("test",t,n),window.removeEventListener("test",t,n),e}();function cn(t){if(t&&"object"==typeof t)var e=!!t.capture,n=!!t.once,r=!!t.passive,o=t.U;else e=!!t,r=n=!1;return{La:o,capture:e,once:n,passive:r,Ja:ln?t:e}}var un={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},hn={DOMAttrModified:!0,DOMAttributeNameChanged:!0,DOMCharacterDataModified:!0,DOMElementNameChanged:!0,DOMNodeInserted:!0,DOMNodeInsertedIntoDocument:!0,DOMNodeRemoved:!0,DOMNodeRemovedFromDocument:!0,DOMSubtreeModified:!0};function dn(t){return t instanceof Node?t.__shady_getRootNode():t}function fn(t,e){var n=[],r=t;for(t=dn(t);r;)n.push(r),r=r.__shady_assignedSlot?r.__shady_assignedSlot:r.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&r.host&&(e||r!==t)?r.host:r.__shady_parentNode;return n[n.length-1]===document&&n.push(window),n}function pn(t,e){if(!le)return t;t=fn(t,!0);for(var n,r,o=0,i=void 0,a=void 0;o<e.length;o++)if((r=dn(n=e[o]))!==i&&(a=t.indexOf(r),i=r),!le(r)||-1<a)return n}function _n(t){function e(e,n){return(e=new t(e,n)).__composed=n&&!!n.composed,e}return e.__proto__=t,e.prototype=t.prototype,e}var mn={focus:!0,blur:!0};function vn(t){return t.__target!==t.target||t.__relatedTarget!==t.relatedTarget}function yn(t,e,n){if(n=e.__handlers&&e.__handlers[t.type]&&e.__handlers[t.type][n])for(var r,o=0;(r=n[o])&&(!vn(t)||t.target!==t.relatedTarget)&&(r.call(e,t),!t.__immediatePropagationStopped);o++);}function gn(t){var e=t.composedPath(),n=e.map((function(t){return pn(t,e)})),r=t.bubbles;Object.defineProperty(t,"currentTarget",{configurable:!0,enumerable:!0,get:function(){return a}});var o=Event.CAPTURING_PHASE;Object.defineProperty(t,"eventPhase",{configurable:!0,enumerable:!0,get:function(){return o}});for(var i=e.length-1;0<=i;i--){var a=e[i];if(o=a===n[i]?Event.AT_TARGET:Event.CAPTURING_PHASE,yn(t,a,"capture"),t.ra)return}for(i=0;i<e.length;i++){var s=(a=e[i])===n[i];if((s||r)&&(o=s?Event.AT_TARGET:Event.BUBBLING_PHASE,yn(t,a,"bubble"),t.ra))return}o=0,a=null}function bn(t,e,n,r,o,i){for(var a=0;a<t.length;a++){var s=t[a],l=s.type,c=s.capture,u=s.once,h=s.passive;if(e===s.node&&n===l&&r===c&&o===u&&i===h)return a}return-1}function En(t){return Pe(),!oe.fa&&this instanceof Node&&!me(document,this)?(t.__target||Sn(t,this),gn(t)):this.__shady_native_dispatchEvent(t)}function wn(t,e,n){var r=cn(n),o=r.capture,i=r.once,a=r.passive,s=r.La;if(r=r.Ja,e){var l=typeof e;if(("function"===l||"object"===l)&&("object"!==l||e.handleEvent&&"function"==typeof e.handleEvent)){if(hn[t])return this.__shady_native_addEventListener(t,e,r);var c=s||this;if(s=e[an]){if(-1<bn(s,c,t,o,i,a))return}else e[an]=[];s=function(r){if(i&&this.__shady_removeEventListener(t,e,n),r.__target||Sn(r),c!==this){var a=Object.getOwnPropertyDescriptor(r,"currentTarget");Object.defineProperty(r,"currentTarget",{get:function(){return c},configurable:!0});var s=Object.getOwnPropertyDescriptor(r,"eventPhase");Object.defineProperty(r,"eventPhase",{configurable:!0,enumerable:!0,get:function(){return o?Event.CAPTURING_PHASE:Event.BUBBLING_PHASE}})}if(r.__previousCurrentTarget=r.currentTarget,(!le(c)&&"slot"!==c.localName||-1!=r.composedPath().indexOf(c))&&(r.composed||-1<r.composedPath().indexOf(c)))if(vn(r)&&r.target===r.relatedTarget)r.eventPhase===Event.BUBBLING_PHASE&&r.stopImmediatePropagation();else if(r.eventPhase===Event.CAPTURING_PHASE||r.bubbles||r.target===c||c instanceof Window){var u="function"===l?e.call(c,r):e.handleEvent&&e.handleEvent(r);return c!==this&&(a?(Object.defineProperty(r,"currentTarget",a),a=null):delete r.currentTarget,s?(Object.defineProperty(r,"eventPhase",s),s=null):delete r.eventPhase),u}},e[an].push({node:c,type:t,capture:o,once:i,passive:a,pb:s}),this.__handlers=this.__handlers||{},this.__handlers[t]=this.__handlers[t]||{capture:[],bubble:[]},this.__handlers[t][o?"capture":"bubble"].push(s),mn[t]||this.__shady_native_addEventListener(t,s,r)}}}function Nn(t,e,n){if(e){var r=cn(n);n=r.capture;var o=r.once,i=r.passive,a=r.La;if(r=r.Ja,hn[t])return this.__shady_native_removeEventListener(t,e,r);var s=a||this;a=void 0;var l=null;try{l=e[an]}catch(t){}l&&-1<(o=bn(l,s,t,n,o,i))&&(a=l.splice(o,1)[0].pb,l.length||(e[an]=void 0)),this.__shady_native_removeEventListener(t,a||e,r),a&&this.__handlers&&this.__handlers[t]&&-1<(e=(t=this.__handlers[t][n?"capture":"bubble"]).indexOf(a))&&t.splice(e,1)}}var Cn=Ce({get composed(){return void 0===this.__composed&&(sn?this.__composed="focusin"===this.type||"focusout"===this.type||sn(this):!1!==this.isTrusted&&(this.__composed=un[this.type])),this.__composed||!1},composedPath:function(){return this.__composedPath||(this.__composedPath=fn(this.__target,this.composed)),this.__composedPath},get target(){return pn(this.currentTarget||this.__previousCurrentTarget,this.composedPath())},get relatedTarget(){return this.__relatedTarget?(this.__relatedTargetComposedPath||(this.__relatedTargetComposedPath=fn(this.__relatedTarget,!0)),pn(this.currentTarget||this.__previousCurrentTarget,this.__relatedTargetComposedPath)):null},stopPropagation:function(){Event.prototype.stopPropagation.call(this),this.ra=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this),this.ra=this.__immediatePropagationStopped=!0}});function Sn(t,e){if(e=void 0===e?t.target:e,t.__target=e,t.__relatedTarget=t.relatedTarget,oe.H){if(!(e=Object.getPrototypeOf(t)).hasOwnProperty("__shady_patchedProto")){var n=Object.create(e);n.__shady_sourceProto=e,we(n,Cn),e.__shady_patchedProto=n}t.__proto__=e.__shady_patchedProto}else we(t,Cn)}var Tn=_n(Event),On=_n(CustomEvent),Dn=_n(MouseEvent),xn=Object.getOwnPropertyNames(Element.prototype).filter((function(t){return"on"===t.substring(0,2)})),Mn=Object.getOwnPropertyNames(HTMLElement.prototype).filter((function(t){return"on"===t.substring(0,2)}));function Pn(t){return{set:function(e){var n=ne(this),r=t.substring(2);n.T||(n.T={}),n.T[t]&&this.removeEventListener(r,n.T[t]),this.__shady_addEventListener(r,e),n.T[t]=e},get:function(){var e=re(this);return e&&e.T&&e.T[t]},configurable:!0}}function An(t,e){return{index:t,ga:[],na:e}}function Ln(t,e,n,r){var o=0,i=0,a=0,s=0,l=Math.min(e-o,r-i);if(0==o&&0==i)t:{for(a=0;a<l;a++)if(t[a]!==n[a])break t;a=l}if(e==t.length&&r==n.length){s=t.length;for(var c=n.length,u=0;u<l-a&&jn(t[--s],n[--c]);)u++;s=u}if(i+=a,r-=s,0==(e-=s)-(o+=a)&&0==r-i)return[];if(o==e){for(e=An(o,0);i<r;)e.ga.push(n[i++]);return[e]}if(i==r)return[An(o,e-o)];for(r=r-(a=i)+1,s=e-(l=o)+1,e=Array(r),c=0;c<r;c++)e[c]=Array(s),e[c][0]=c;for(c=0;c<s;c++)e[0][c]=c;for(c=1;c<r;c++)for(u=1;u<s;u++)if(t[l+u-1]===n[a+c-1])e[c][u]=e[c-1][u-1];else{var h=e[c-1][u]+1,d=e[c][u-1]+1;e[c][u]=h<d?h:d}for(l=e.length-1,a=e[0].length-1,r=e[l][a],t=[];0<l||0<a;)0==l?(t.push(2),a--):0==a?(t.push(3),l--):(s=e[l-1][a-1],(h=(c=e[l-1][a])<(u=e[l][a-1])?c<s?c:s:u<s?u:s)==s?(s==r?t.push(0):(t.push(1),r=s),l--,a--):h==c?(t.push(3),l--,r=c):(t.push(2),a--,r=u));for(t.reverse(),e=void 0,l=[],a=0;a<t.length;a++)switch(t[a]){case 0:e&&(l.push(e),e=void 0),o++,i++;break;case 1:e||(e=An(o,0)),e.na++,o++,e.ga.push(n[i]),i++;break;case 2:e||(e=An(o,0)),e.na++,o++;break;case 3:e||(e=An(o,0)),e.ga.push(n[i]),i++}return e&&l.push(e),l}function jn(t,e){return t===e}var kn=Ce({dispatchEvent:En,addEventListener:wn,removeEventListener:Nn}),Fn=null;function Rn(){return Fn||(Fn=window.ShadyCSS&&window.ShadyCSS.ScopingShim),Fn||null}function Hn(t,e,n){var r=Rn();return!(!r||"class"!==e||(r.setElementClass(t,n),0))}function In(t,e){var n=Rn();n&&n.unscopeNode(t,e)}function Bn(t,e){var n=Rn();if(!n)return!0;if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(n=!0,t=t.__shady_firstChild;t;t=t.__shady_nextSibling)n=n&&Bn(t,e);return n}return t.nodeType!==Node.ELEMENT_NODE||n.currentScopeForNode(t)===e}function Un(t){if(t.nodeType!==Node.ELEMENT_NODE)return"";var e=Rn();return e?e.currentScopeForNode(t):""}function qn(t,e){if(t)for(t.nodeType===Node.ELEMENT_NODE&&e(t),t=t.__shady_firstChild;t;t=t.__shady_nextSibling)t.nodeType===Node.ELEMENT_NODE&&qn(t,e)}var Wn=window.document,Gn=oe.fa,Vn=Object.getOwnPropertyDescriptor(Node.prototype,"isConnected"),Kn=Vn&&Vn.get;function Xn(t){for(var e;e=t.__shady_firstChild;)t.__shady_removeChild(e)}function zn(t){var e=re(t);if(e&&void 0!==e.qa)for(e=t.__shady_firstChild;e;e=e.__shady_nextSibling)zn(e);(t=re(t))&&(t.qa=void 0)}function Jn(t){var e=t;if(t&&"slot"===t.localName){var n=re(t);(n=n&&n.aa)&&(e=n.length?n[0]:Jn(t.__shady_nextSibling))}return e}function $n(t,e,n){if(t=(t=re(t))&&t.ea){if(e)if(e.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(var r=0,o=e.childNodes.length;r<o;r++)t.addedNodes.push(e.childNodes[r]);else t.addedNodes.push(e);n&&t.removedNodes.push(n),function(t){t.g||(t.g=!0,_e((function(){t.flush()})))}(t)}}var Yn=Ce({get parentNode(){var t=re(this);return void 0!==(t=t&&t.parentNode)?t:this.__shady_native_parentNode},get firstChild(){var t=re(this);return void 0!==(t=t&&t.firstChild)?t:this.__shady_native_firstChild},get lastChild(){var t=re(this);return void 0!==(t=t&&t.lastChild)?t:this.__shady_native_lastChild},get nextSibling(){var t=re(this);return void 0!==(t=t&&t.nextSibling)?t:this.__shady_native_nextSibling},get previousSibling(){var t=re(this);return void 0!==(t=t&&t.previousSibling)?t:this.__shady_native_previousSibling},get childNodes(){if(se(this)){var t=re(this);if(!t.childNodes){t.childNodes=[];for(var e=this.__shady_firstChild;e;e=e.__shady_nextSibling)t.childNodes.push(e)}var n=t.childNodes}else n=this.__shady_native_childNodes;return n.item=function(t){return n[t]},n},get parentElement(){var t=re(this);return(t=t&&t.parentNode)&&t.nodeType!==Node.ELEMENT_NODE&&(t=null),void 0!==t?t:this.__shady_native_parentElement},get isConnected(){if(Kn&&Kn.call(this))return!0;if(this.nodeType==Node.DOCUMENT_FRAGMENT_NODE)return!1;var t=this.ownerDocument;if(null===t||me(t,this))return!0;for(t=this;t&&!(t instanceof Document);)t=t.__shady_parentNode||(le(t)?t.host:void 0);return!!(t&&t instanceof Document)},get textContent(){if(se(this)){for(var t=[],e=this.__shady_firstChild;e;e=e.__shady_nextSibling)e.nodeType!==Node.COMMENT_NODE&&t.push(e.__shady_textContent);return t.join("")}return this.__shady_native_textContent},set textContent(t){switch(null==t&&(t=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:if(!se(this)&&oe.H){var e=this.__shady_firstChild;(e!=this.__shady_lastChild||e&&e.nodeType!=Node.TEXT_NODE)&&Xn(this),this.__shady_native_textContent=t}else Xn(this),(0<t.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_insertBefore(document.createTextNode(t));break;default:this.nodeValue=t}},insertBefore:function(t,e){if(this.ownerDocument!==Wn&&t.ownerDocument!==Wn)return this.__shady_native_insertBefore(t,e),t;if(t===this)throw Error("Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");if(e){var n=re(e);if(void 0!==(n=n&&n.parentNode)&&n!==this||void 0===n&&e.__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(e===t)return t;$n(this,t);var r=[],o=(n=Qr(this))?n.host.localName:Un(this),i=t.__shady_parentNode;if(i){var a=Un(t),s=!!n||!Qr(t)||Gn&&void 0!==this.__noInsertionPoint;i.__shady_removeChild(t,s)}i=!0;var l=(!Gn||void 0===t.__noInsertionPoint&&void 0===this.__noInsertionPoint)&&!Bn(t,o),u=n&&!t.__noInsertionPoint&&(!Gn||t.nodeType===Node.DOCUMENT_FRAGMENT_NODE);return(u||l)&&(l&&(a=a||Un(t)),qn(t,(function(t){if(u&&"slot"===t.localName&&r.push(t),l){var e=a;Rn()&&(e&&In(t,e),(e=Rn())&&e.scopeNode(t,o))}}))),r.length&&(Vr(n),n.i.push.apply(n.i,c(r)),Br(n)),se(this)&&(function(t,e,n){xr(e,2);var r=ne(e);if(void 0!==r.firstChild&&(r.childNodes=null),t.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(t=t.__shady_native_firstChild;t;t=t.__shady_native_nextSibling)Mr(t,e,r,n);else Mr(t,e,r,n)}(t,this,e),(s=re(this)).root?(i=!1,ce(this)&&Br(s.root)):n&&"slot"===this.localName&&(i=!1,Br(n))),i?(n=le(this)?this.host:this,e?(e=Jn(e),n.__shady_native_insertBefore(t,e)):n.__shady_native_appendChild(t)):t.ownerDocument!==this.ownerDocument&&this.ownerDocument.adoptNode(t),t},appendChild:function(t){if(this!=t||!le(t))return this.__shady_insertBefore(t)},removeChild:function(t,e){if(e=void 0!==e&&e,this.ownerDocument!==Wn)return this.__shady_native_removeChild(t);if(t.__shady_parentNode!==this)throw Error("The node to be removed is not a child of this node: "+t);$n(this,null,t);var n=Qr(t),r=n&&function(t,e){if(t.g){Kr(t);var n,r=t.h;for(n in r)for(var o=r[n],i=0;i<o.length;i++){var a=o[i];if(ve(e,a)){o.splice(i,1);var s=t.g.indexOf(a);if(0<=s&&(t.g.splice(s,1),(s=re(a.__shady_parentNode))&&s.ia&&s.ia--),i--,s=(a=re(a)).aa)for(var l=0;l<s.length;l++){var c=s[l],u=c.__shady_native_parentNode;u&&u.__shady_native_removeChild(c)}a.aa=[],a.assignedNodes=[],s=!0}}return s}}(n,t),o=re(this);if(se(this)&&(function(t,e){var n=ne(t);t===(e=ne(e)).firstChild&&(e.firstChild=n.nextSibling),t===e.lastChild&&(e.lastChild=n.previousSibling),t=n.previousSibling;var r=n.nextSibling;t&&(ne(t).nextSibling=r),r&&(ne(r).previousSibling=t),n.parentNode=n.previousSibling=n.nextSibling=void 0,void 0!==e.childNodes&&(e.childNodes=null)}(t,this),ce(this))){Br(o.root);var i=!0}if(Rn()&&!e&&n&&t.nodeType!==Node.TEXT_NODE){var a=Un(t);qn(t,(function(t){In(t,a)}))}return zn(t),n&&((e="slot"===this.localName)&&(i=!0),(r||e)&&Br(n)),i||(i=le(this)?this.host:this,(!o.root&&"slot"!==t.localName||i===t.__shady_native_parentNode)&&i.__shady_native_removeChild(t)),t},replaceChild:function(t,e){return this.__shady_insertBefore(t,e),this.__shady_removeChild(e),t},cloneNode:function(t){if("template"==this.localName)return this.__shady_native_cloneNode(t);var e=this.__shady_native_cloneNode(!1);if(t&&e.nodeType!==Node.ATTRIBUTE_NODE){t=this.__shady_firstChild;for(var n;t;t=t.__shady_nextSibling)n=t.__shady_cloneNode(!0),e.__shady_appendChild(n)}return e},getRootNode:function(t){if(this&&this.nodeType){var e=ne(this),n=e.qa;return void 0===n&&(le(this)?(n=this,e.qa=n):(n=(n=this.__shady_parentNode)?n.__shady_getRootNode(t):this,document.documentElement.__shady_native_contains(this)&&(e.qa=n))),n}},contains:function(t){return ve(this,t)}}),Zn=Ce({get assignedSlot(){var t=this.__shady_parentNode;return(t=t&&t.__shady_shadowRoot)&&Ur(t),(t=re(this))&&t.assignedSlot||null}});function Qn(t,e,n){var r=[];return tr(t,e,n,r),r}function tr(t,e,n,r){for(t=t.__shady_firstChild;t;t=t.__shady_nextSibling){var o;if(o=t.nodeType===Node.ELEMENT_NODE){var i=e,a=n,s=r,l=i(o=t);l&&s.push(o),a&&a(l)?o=l:(tr(o,i,a,s),o=void 0)}if(o)break}}var er={get firstElementChild(){var t=re(this);if(t&&void 0!==t.firstChild){for(t=this.__shady_firstChild;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.__shady_nextSibling;return t}return this.__shady_native_firstElementChild},get lastElementChild(){var t=re(this);if(t&&void 0!==t.lastChild){for(t=this.__shady_lastChild;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.__shady_previousSibling;return t}return this.__shady_native_lastElementChild},get children(){return se(this)?ye(Array.prototype.filter.call(be(this),(function(t){return t.nodeType===Node.ELEMENT_NODE}))):this.__shady_native_children},get childElementCount(){var t=this.__shady_children;return t?t.length:0}},nr=Ce((er.append=function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];this.__shady_insertBefore(Oe.apply(null,c(e)),null)},er.prepend=function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];this.__shady_insertBefore(Oe.apply(null,c(e)),this.__shady_firstChild)},er.replaceChildren=function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];for(;null!==(n=this.__shady_firstChild);)this.__shady_removeChild(n);this.__shady_insertBefore(Oe.apply(null,c(e)),null)},er)),rr=Ce({querySelector:function(t){return Qn(this,(function(e){return he.call(e,t)}),(function(t){return!!t}))[0]||null},querySelectorAll:function(t,e){if(e){e=Array.prototype.slice.call(this.__shady_native_querySelectorAll(t));var n=this.__shady_getRootNode();return ye(e.filter((function(t){return t.__shady_getRootNode()==n})))}return ye(Qn(this,(function(e){return he.call(e,t)})))}}),or=oe.fa&&!oe.J?Se({},nr):nr;Se(nr,rr);var ir=Ce({after:function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];if(null!==(n=this.__shady_parentNode)){var r=this.__shady_nextSibling;n.__shady_insertBefore(Oe.apply(null,c(e)),r)}},before:function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];null!==(n=this.__shady_parentNode)&&n.__shady_insertBefore(Oe.apply(null,c(e)),this)},remove:function(){var t=this.__shady_parentNode;null!==t&&t.__shady_removeChild(this)},replaceWith:function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];if(null!==(n=this.__shady_parentNode)){var r=this.__shady_nextSibling;n.__shady_removeChild(this),n.__shady_insertBefore(Oe.apply(null,c(e)),r)}}}),ar=window.document;function sr(t,e){if("slot"===e)ce(t=t.__shady_parentNode)&&Br(re(t).root);else if("slot"===t.localName&&"name"===e&&(e=Qr(t))){if(e.g){Kr(e);var n=t.Qa,r=Xr(t);if(r!==n){var o=(n=e.h[n]).indexOf(t);0<=o&&n.splice(o,1),(n=e.h[r]||(e.h[r]=[])).push(t),1<n.length&&(e.h[r]=zr(n))}}Br(e)}}var lr=Ce({get previousElementSibling(){var t=re(this);if(t&&void 0!==t.previousSibling){for(t=this.__shady_previousSibling;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.__shady_previousSibling;return t}return this.__shady_native_previousElementSibling},get nextElementSibling(){var t=re(this);if(t&&void 0!==t.nextSibling){for(t=this.__shady_nextSibling;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.__shady_nextSibling;return t}return this.__shady_native_nextElementSibling},get slot(){return this.getAttribute("slot")},set slot(t){this.__shady_setAttribute("slot",t)},get className(){return this.getAttribute("class")||""},set className(t){this.__shady_setAttribute("class",t)},setAttribute:function(t,e){this.ownerDocument!==ar?this.__shady_native_setAttribute(t,e):Hn(this,t,e)||(this.__shady_native_setAttribute(t,e),sr(this,t))},removeAttribute:function(t){this.ownerDocument!==ar?this.__shady_native_removeAttribute(t):Hn(this,t,"")?""===this.getAttribute(t)&&this.__shady_native_removeAttribute(t):(this.__shady_native_removeAttribute(t),sr(this,t))}});oe.fa||xn.forEach((function(t){lr[t]=Pn(t)}));var cr=Ce({attachShadow:function(t){if(!this)throw Error("Must provide a host.");if(!t)throw Error("Not enough arguments.");if(t.shadyUpgradeFragment&&!oe.Na){var e=t.shadyUpgradeFragment;if(e.__proto__=ShadowRoot.prototype,Ir(e,this,t),Pr(e,e),t=e.__noInsertionPoint?null:e.querySelectorAll("slot"),e.__noInsertionPoint=void 0,t&&t.length){var n=e;Vr(n),n.i.push.apply(n.i,c(t)),Br(e)}e.host.__shady_native_appendChild(e)}else e=new Hr(kr,this,t);return this.__CE_shadowRoot=e},get shadowRoot(){var t=re(this);return t&&t.gb||null}});Se(lr,cr);var ur=document.implementation.createHTMLDocument("inert"),hr=Ce({get innerHTML(){return se(this)?Ie("template"===this.localName?this.content:this,be):this.__shady_native_innerHTML},set innerHTML(t){if("template"===this.localName)this.__shady_native_innerHTML=t;else{Xn(this);var e=this.localName||"div";for(e=this.namespaceURI&&this.namespaceURI!==ur.namespaceURI?ur.createElementNS(this.namespaceURI,e):ur.createElement(e),oe.H?e.__shady_native_innerHTML=t:e.innerHTML=t;t=e.__shady_firstChild;)this.__shady_insertBefore(t)}}}),dr=Ce({blur:function(){var t=re(this);(t=(t=t&&t.root)&&t.activeElement)?t.__shady_blur():this.__shady_native_blur()}});oe.fa||Mn.forEach((function(t){dr[t]=Pn(t)}));var fr=Ce({assignedNodes:function(t){if("slot"===this.localName){var e=this.__shady_getRootNode();return e&&le(e)&&Ur(e),(e=re(this))&&(t&&t.flatten?e.aa:e.assignedNodes)||[]}},addEventListener:function(t,e,n){if("slot"!==this.localName||"slotchange"===t)wn.call(this,t,e,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.U=this,r.__shady_addEventListener(t,e,n)}},removeEventListener:function(t,e,n){if("slot"!==this.localName||"slotchange"===t)Nn.call(this,t,e,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.U=this,r.__shady_removeEventListener(t,e,n)}}}),pr=Ce({getElementById:function(t){return""===t?null:Qn(this,(function(e){return e.id==t}),(function(t){return!!t}))[0]||null}});function _r(t,e){for(var n;e&&!t.has(n=e.__shady_getRootNode());)e=n.host;return e}var mr="__shady_native_"+ae(),vr=Ce({get activeElement(){var t=oe.H?document.__shady_native_activeElement:document.activeElement;if(!t||!t.nodeType)return null;var e=!!le(this);if(!(this===document||e&&this.host!==t&&this.host.__shady_native_contains(t)))return null;for(e=Qr(t);e&&e!==this;)e=Qr(t=e.host);return this===document?e?null:t:e===this?t:null},elementsFromPoint:function(t,e){t=[].slice.call(document[mr](t,e)),e=function(t){var e=new Set;for(e.add(t);le(t)&&t.host;)t=t.host.__shady_getRootNode(),e.add(t);return e}(this);for(var n=new Set,r=0;r<t.length;r++)n.add(_r(e,t[r]));var o=[];return n.forEach((function(t){return o.push(t)})),o},elementFromPoint:function(t,e){return this.__shady_elementsFromPoint(t,e)[0]||null}}),yr=window.document,gr=Ce({importNode:function(t,e){if(t.ownerDocument!==yr||"template"===t.localName)return this.__shady_native_importNode(t,e);var n=this.__shady_native_importNode(t,!1);if(e)for(t=t.__shady_firstChild;t;t=t.__shady_nextSibling)e=this.__shady_importNode(t,!0),n.__shady_appendChild(e);return n}}),br=Ce({dispatchEvent:En,addEventListener:wn.bind(window),removeEventListener:Nn.bind(window)}),Er={};Object.getOwnPropertyDescriptor(HTMLElement.prototype,"parentElement")&&(Er.parentElement=Yn.parentElement),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"contains")&&(Er.contains=Yn.contains),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"children")&&(Er.children=nr.children),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML")&&(Er.innerHTML=hr.innerHTML),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"className")&&(Er.className=lr.className);var wr={EventTarget:[kn],Node:[Yn,window.EventTarget?null:kn],Text:[Zn],Comment:[Zn],CDATASection:[Zn],ProcessingInstruction:[Zn],Element:[lr,nr,ir,Zn,!oe.H||"innerHTML"in Element.prototype?hr:null,window.HTMLSlotElement?null:fr],HTMLElement:[dr,Er],HTMLSlotElement:[fr],DocumentFragment:[or,pr],Document:[gr,or,pr,vr],Window:[br],CharacterData:[ir]},Nr=oe.H?null:["innerHTML","textContent"];function Cr(t,e,n,r){e.forEach((function(e){return t&&e&&we(t,e,n,r)}))}function Sr(t){var e,n=t?null:Nr;for(e in wr)Cr(window[e]&&window[e].prototype,wr[e],t,n)}function Tr(t){return t.__shady_protoIsPatched=!0,Cr(t,wr.EventTarget),Cr(t,wr.Node),Cr(t,wr.Element),Cr(t,wr.HTMLElement),Cr(t,wr.HTMLSlotElement),t}["Text","Comment","CDATASection","ProcessingInstruction"].forEach((function(t){var e=window[t],n=Object.create(e.prototype);n.__shady_protoIsPatched=!0,Cr(n,wr.EventTarget),Cr(n,wr.Node),wr[t]&&Cr(n,wr[t]),e.prototype.__shady_patchedProto=n}));var Or=oe.Aa,Dr=oe.H;function xr(t,e){if(Or&&!t.__shady_protoIsPatched&&!le(t)){var n=Object.getPrototypeOf(t),r=n.hasOwnProperty("__shady_patchedProto")&&n.__shady_patchedProto;r||(Tr(r=Object.create(n)),n.__shady_patchedProto=r),Object.setPrototypeOf(t,r)}Dr||(1===e?rn(t):2===e&&on(t))}function Mr(t,e,n,r){xr(t,1),r=r||null;var o=ne(t),i=r?ne(r):null;o.previousSibling=r?i.previousSibling:e.__shady_lastChild,(i=re(o.previousSibling))&&(i.nextSibling=t),(i=re(o.nextSibling=r))&&(i.previousSibling=t),o.parentNode=e,r?r===n.firstChild&&(n.firstChild=t):(n.lastChild=t,n.firstChild||(n.firstChild=t)),n.childNodes=null}function Pr(t,e){var n=ne(t);if(e||void 0===n.firstChild){n.childNodes=null;var r=n.firstChild=t.__shady_native_firstChild;for(n.lastChild=t.__shady_native_lastChild,xr(t,2),n=r,r=void 0;n;n=n.__shady_native_nextSibling){var o=ne(n);o.parentNode=e||t,o.nextSibling=n.__shady_native_nextSibling,o.previousSibling=r||null,r=n,xr(n,1)}}}var Ar=Ce({addEventListener:function(t,e,n){"object"!=typeof n&&(n={capture:!!n}),n.U=n.U||this,this.host.__shady_addEventListener(t,e,n)},removeEventListener:function(t,e,n){"object"!=typeof n&&(n={capture:!!n}),n.U=n.U||this,this.host.__shady_removeEventListener(t,e,n)}});function Lr(t,e){we(t,Ar,e),we(t,vr,e),we(t,hr,e),we(t,nr,e),oe.J&&!e?(we(t,Yn,e),we(t,pr,e)):oe.H||(we(t,tn),we(t,Ze),we(t,Qe))}var jr,kr={},Fr=oe.deferConnectionCallbacks&&"loading"===document.readyState;function Rr(t){var e=[];do{e.unshift(t)}while(t=t.__shady_parentNode);return e}function Hr(t,e,n){if(t!==kr)throw new TypeError("Illegal constructor");this.g=null,Ir(this,e,n)}function Ir(t,e,n){if(t.host=e,t.mode=n&&n.mode,Pr(t.host),(e=ne(t.host)).root=t,e.gb="closed"!==t.mode?t:null,(e=ne(t)).firstChild=e.lastChild=e.parentNode=e.nextSibling=e.previousSibling=null,oe.preferPerformance)for(;e=t.host.__shady_native_firstChild;)t.host.__shady_native_removeChild(e);else Br(t)}function Br(t){t.Y||(t.Y=!0,Me((function(){return Ur(t)})))}function Ur(t){var e;if(e=t.Y){for(var n;t;)t.Y&&(n=t),le(t=(e=t).host.__shady_getRootNode())&&(e=re(e.host))&&0<e.ia||(t=void 0);e=n}(n=e)&&n._renderSelf()}function qr(t,e,n){var r=ne(e),o=r.ua;r.ua=null,n||(n=(t=t.h[e.__shady_slot||"__catchall"])&&t[0]),n?(ne(n).assignedNodes.push(e),r.assignedSlot=n):r.assignedSlot=void 0,o!==r.assignedSlot&&r.assignedSlot&&(ne(r.assignedSlot).xa=!0)}function Wr(t,e,n){for(var r=0,o=void 0;r<n.length&&(o=n[r]);r++)if("slot"==o.localName){var i=re(o).assignedNodes;i&&i.length&&Wr(t,e,i)}else e.push(n[r])}function Gr(t,e){e.__shady_native_dispatchEvent(new Event("slotchange")),(e=re(e)).assignedSlot&&Gr(t,e.assignedSlot)}function Vr(t){t.i=t.i||[],t.g=t.g||[],t.h=t.h||{}}function Kr(t){if(t.i&&t.i.length){for(var e,n=t.i,r=0;r<n.length;r++){var o=n[r];Pr(o);var i=o.__shady_parentNode;Pr(i),(i=re(i)).ia=(i.ia||0)+1,i=Xr(o),t.h[i]?((e=e||{})[i]=!0,t.h[i].push(o)):t.h[i]=[o],t.g.push(o)}if(e)for(var a in e)t.h[a]=zr(t.h[a]);t.i=[]}}function Xr(t){var e=t.name||t.getAttribute("name")||"__catchall";return t.Qa=e}function zr(t){return t.sort((function(t,e){t=Rr(t);for(var n=Rr(e),r=0;r<t.length;r++){e=t[r];var o=n[r];if(e!==o)return(t=be(e.__shady_parentNode)).indexOf(e)-t.indexOf(o)}}))}function Jr(t){return Kr(t),!(!t.g||!t.g.length)}if(Hr.prototype._renderSelf=function(){var t=Fr;if(Fr=!0,this.Y=!1,this.g){Kr(this);for(var e,n=0;n<this.g.length;n++){var r=re(e=this.g[n]),o=r.assignedNodes;if(r.assignedNodes=[],r.aa=[],r.Ga=o)for(r=0;r<o.length;r++){var i=re(o[r]);i.ua=i.assignedSlot,i.assignedSlot===e&&(i.assignedSlot=null)}}for(n=this.host.__shady_firstChild;n;n=n.__shady_nextSibling)qr(this,n);for(n=0;n<this.g.length;n++){if(!(o=re(e=this.g[n])).assignedNodes.length)for(r=e.__shady_firstChild;r;r=r.__shady_nextSibling)qr(this,r,e);if((r=(r=re(e.__shady_parentNode))&&r.root)&&(Jr(r)||r.Y)&&r._renderSelf(),Wr(this,o.aa,o.assignedNodes),r=o.Ga){for(i=0;i<r.length;i++)re(r[i]).ua=null;o.Ga=null,r.length>o.assignedNodes.length&&(o.xa=!0)}o.xa&&(o.xa=!1,Gr(this,e))}for(e=this.g,n=[],o=0;o<e.length;o++)(i=re(r=e[o].__shady_parentNode))&&i.root||!(0>n.indexOf(r))||n.push(r);for(e=0;e<n.length;e++){for(o=(i=n[e])===this?this.host:i,r=[],i=i.__shady_firstChild;i;i=i.__shady_nextSibling)if("slot"==i.localName)for(var a=re(i).aa,s=0;s<a.length;s++)r.push(a[s]);else r.push(i);i=ge(o),a=Ln(r,r.length,i,i.length);for(var l=s=0,c=void 0;s<a.length&&(c=a[s]);s++){for(var u=0,h=void 0;u<c.ga.length&&(h=c.ga[u]);u++)h.__shady_native_parentNode===o&&o.__shady_native_removeChild(h),i.splice(c.index+l,1);l-=c.na}for(l=0,c=void 0;l<a.length&&(c=a[l]);l++)for(s=i[c.index],u=c.index;u<c.index+c.na;u++)h=r[u],o.__shady_native_insertBefore(h,s),i.splice(u,0,h)}}if(!oe.preferPerformance&&!this.Fa)for(n=this.host.__shady_firstChild;n;n=n.__shady_nextSibling)e=re(n),n.__shady_native_parentNode!==this.host||"slot"!==n.localName&&e.assignedSlot||this.host.__shady_native_removeChild(n);this.Fa=!0,Fr=t,jr&&jr()},function(t){t.__proto__=DocumentFragment.prototype,Lr(t,"__shady_"),Lr(t),Object.defineProperties(t,{nodeType:{value:Node.DOCUMENT_FRAGMENT_NODE,configurable:!0},nodeName:{value:"#document-fragment",configurable:!0},nodeValue:{value:null,configurable:!0}}),["localName","namespaceURI","prefix"].forEach((function(e){Object.defineProperty(t,e,{value:void 0,configurable:!0})})),["ownerDocument","baseURI","isConnected"].forEach((function(e){Object.defineProperty(t,e,{get:function(){return this.host[e]},configurable:!0})}))}(Hr.prototype),window.customElements&&window.customElements.define&&oe.ya&&!oe.preferPerformance){var $r=new Map;jr=function(){var t=[];$r.forEach((function(e,n){t.push([n,e])})),$r.clear();for(var e=0;e<t.length;e++){var n=t[e][0];t[e][1]?n.__shadydom_connectedCallback():n.__shadydom_disconnectedCallback()}},Fr&&document.addEventListener("readystatechange",(function(){Fr=!1,jr()}),{once:!0});var Yr=window.customElements.define,Zr=function(t,e){var n=e.prototype.connectedCallback,r=e.prototype.disconnectedCallback;Yr.call(window.customElements,t,function(t,e,n){var r=0,o="__isConnected"+r++;return(e||n)&&(t.prototype.connectedCallback=t.prototype.__shadydom_connectedCallback=function(){Fr?$r.set(this,!0):this[o]||(this[o]=!0,e&&e.call(this))},t.prototype.disconnectedCallback=t.prototype.__shadydom_disconnectedCallback=function(){Fr?this.isConnected||$r.set(this,!1):this[o]&&(this[o]=!1,n&&n.call(this))}),t}(e,n,r)),e.prototype.connectedCallback=n,e.prototype.disconnectedCallback=r};window.customElements.define=Zr,Object.defineProperty(window.CustomElementRegistry.prototype,"define",{value:Zr,configurable:!0})}function Qr(t){if(le(t=t.__shady_getRootNode()))return t}function to(t){this.node=t}function eo(t){Object.defineProperty(to.prototype,t,{get:function(){return this.node["__shady_"+t]},set:function(e){this.node["__shady_"+t]=e},configurable:!0})}(t=to.prototype).addEventListener=function(t,e,n){return this.node.__shady_addEventListener(t,e,n)},t.removeEventListener=function(t,e,n){return this.node.__shady_removeEventListener(t,e,n)},t.appendChild=function(t){return this.node.__shady_appendChild(t)},t.insertBefore=function(t,e){return this.node.__shady_insertBefore(t,e)},t.removeChild=function(t){return this.node.__shady_removeChild(t)},t.replaceChild=function(t,e){return this.node.__shady_replaceChild(t,e)},t.cloneNode=function(t){return this.node.__shady_cloneNode(t)},t.getRootNode=function(t){return this.node.__shady_getRootNode(t)},t.contains=function(t){return this.node.__shady_contains(t)},t.dispatchEvent=function(t){return this.node.__shady_dispatchEvent(t)},t.setAttribute=function(t,e){this.node.__shady_setAttribute(t,e)},t.getAttribute=function(t){return this.node.__shady_native_getAttribute(t)},t.hasAttribute=function(t){return this.node.__shady_native_hasAttribute(t)},t.removeAttribute=function(t){this.node.__shady_removeAttribute(t)},t.attachShadow=function(t){return this.node.__shady_attachShadow(t)},t.focus=function(){this.node.__shady_native_focus()},t.blur=function(){this.node.__shady_blur()},t.importNode=function(t,e){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_importNode(t,e)},t.getElementById=function(t){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_getElementById(t)},t.elementsFromPoint=function(t,e){return this.node.__shady_elementsFromPoint(t,e)},t.elementFromPoint=function(t,e){return this.node.__shady_elementFromPoint(t,e)},t.querySelector=function(t){return this.node.__shady_querySelector(t)},t.querySelectorAll=function(t,e){return this.node.__shady_querySelectorAll(t,e)},t.assignedNodes=function(t){if("slot"===this.node.localName)return this.node.__shady_assignedNodes(t)},t.append=function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];return this.node.__shady_append.apply(this.node,c(e))},t.prepend=function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];return this.node.__shady_prepend.apply(this.node,c(e))},t.after=function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];return this.node.__shady_after.apply(this.node,c(e))},t.before=function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];return this.node.__shady_before.apply(this.node,c(e))},t.remove=function(){return this.node.__shady_remove()},t.replaceWith=function(t){for(var e=[],n=0;n<arguments.length;++n)e[n]=arguments[n];return this.node.__shady_replaceWith.apply(this.node,c(e))},i.Object.defineProperties(to.prototype,{activeElement:{configurable:!0,enumerable:!0,get:function(){if(le(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(le(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(t){this.node.__shady_innerHTML=t}},textContent:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_textContent},set:function(t){this.node.__shady_textContent=t}},slot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_slot},set:function(t){this.node.__shady_slot=t}},className:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_className},set:function(t){this.node.__shady_className=t}}}),xn.forEach((function(t){return eo(t)})),Mn.forEach((function(t){return eo(t)}));var no=new WeakMap;function ro(t){if(le(t)||t instanceof to)return t;var e=no.get(t);return e||(e=new to(t),no.set(t,e)),e}if(oe.ya){var oo=oe.H?function(t){return t}:function(t){return on(t),rn(t),t},io={inUse:oe.ya,patch:oo,isShadyRoot:le,enqueue:Me,flush:Pe,flushInitial:function(t){!t.Fa&&t.Y&&Ur(t)},settings:oe,filterMutations:function(t,e){var n=e.getRootNode();return t.map((function(t){var e=n===t.target.getRootNode();if(e&&t.addedNodes){if((e=[].slice.call(t.addedNodes).filter((function(t){return n===t.getRootNode()}))).length)return t=Object.create(t),Object.defineProperty(t,"addedNodes",{value:e,configurable:!0}),t}else if(e)return t})).filter((function(t){return t}))},observeChildren:function(t,e){var n=ne(t);n.ea||(n.ea=new Ae),n.ea.oa.add(e);var r=n.ea;return{Ra:e,X:r,Sa:t,takeRecords:function(){return r.takeRecords()}}},unobserveChildren:function(t){var e=t&&t.X;e&&(e.oa.delete(t.Ra),e.oa.size||(ne(t.Sa).ea=null))},deferConnectionCallbacks:oe.deferConnectionCallbacks,preferPerformance:oe.preferPerformance,handlesDynamicScoping:!0,wrap:oe.J?ro:oo,wrapIfNeeded:!0===oe.J?ro:function(t){return t},Wrapper:to,composedPath:function(t){return t.__composedPath||(t.__composedPath=fn(t.target,!0)),t.__composedPath},noPatch:oe.J,patchOnDemand:oe.Aa,nativeMethods:Ue,nativeTree:qe,patchElementProto:Tr};window.ShadyDOM=io,function(){var t=["dispatchEvent","addEventListener","removeEventListener"];window.EventTarget?(Ve(window.EventTarget.prototype,t),void 0===window.__shady_native_addEventListener&&Ve(Window.prototype,t)):(Ve(Node.prototype,t),Ve(Window.prototype,t)),Be?Ve(Node.prototype,"parentNode firstChild lastChild previousSibling nextSibling childNodes parentElement textContent".split(" ")):Ge(Node.prototype,{parentNode:{get:function(){return Ke.currentNode=this,Ke.parentNode()}},firstChild:{get:function(){return Ke.currentNode=this,Ke.firstChild()}},lastChild:{get:function(){return Ke.currentNode=this,Ke.lastChild()}},previousSibling:{get:function(){return Ke.currentNode=this,Ke.previousSibling()}},nextSibling:{get:function(){return Ke.currentNode=this,Ke.nextSibling()}},childNodes:{get:function(){var t=[];Ke.currentNode=this;for(var e=Ke.firstChild();e;)t.push(e),e=Ke.nextSibling();return t}},parentElement:{get:function(){return Xe.currentNode=this,Xe.parentNode()}},textContent:{get:function(){switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:for(var t,e=document.createTreeWalker(this,NodeFilter.SHOW_TEXT,null,!1),n="";t=e.nextNode();)n+=t.nodeValue;return n;default:return this.nodeValue}},set:function(t){switch(null==t&&(t=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:Je(this),(0<t.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_native_insertBefore(document.createTextNode(t),void 0);break;default:this.nodeValue=t}}}}),Ve(Node.prototype,"appendChild insertBefore removeChild replaceChild cloneNode contains".split(" ")),Ve(HTMLElement.prototype,["parentElement","contains"]),t={firstElementChild:{get:function(){return Xe.currentNode=this,Xe.firstChild()}},lastElementChild:{get:function(){return Xe.currentNode=this,Xe.lastChild()}},children:{get:function(){var t=[];Xe.currentNode=this;for(var e=Xe.firstChild();e;)t.push(e),e=Xe.nextSibling();return ye(t)}},childElementCount:{get:function(){return this.children?this.children.length:0}}},Be?(Ve(Element.prototype,$e),Ve(Element.prototype,["previousElementSibling","nextElementSibling","innerHTML","className"]),Ve(HTMLElement.prototype,["children","innerHTML","className"])):(Ge(Element.prototype,t),Ge(Element.prototype,{previousElementSibling:{get:function(){return Xe.currentNode=this,Xe.previousSibling()}},nextElementSibling:{get:function(){return Xe.currentNode=this,Xe.nextSibling()}},innerHTML:{get:function(){return Ie(this,ge)},set:function(t){var e="template"===this.localName?this.content:this;Je(e);var n=this.localName||"div";for((n=this.namespaceURI&&this.namespaceURI!==ze.namespaceURI?ze.createElementNS(this.namespaceURI,n):ze.createElement(n)).innerHTML=t,t="template"===this.localName?n.content:n;n=t.__shady_native_firstChild;)e.__shady_native_insertBefore(n,void 0)}},className:{get:function(){return this.getAttribute("class")||""},set:function(t){this.setAttribute("class",t)}}})),Ve(Element.prototype,"setAttribute getAttribute hasAttribute removeAttribute focus blur".split(" ")),Ve(Element.prototype,Ye),Ve(HTMLElement.prototype,["focus","blur"]),window.HTMLTemplateElement&&Ve(window.HTMLTemplateElement.prototype,["innerHTML"]),Be?Ve(DocumentFragment.prototype,$e):Ge(DocumentFragment.prototype,t),Ve(DocumentFragment.prototype,Ye),Be?(Ve(Document.prototype,$e),Ve(Document.prototype,["activeElement"])):Ge(Document.prototype,t),Ve(Document.prototype,["importNode","getElementById","elementFromPoint",ae()]),Ve(Document.prototype,Ye)}(),Sr("__shady_"),Object.defineProperty(document,"_activeElement",vr.activeElement),we(Window.prototype,br,"__shady_"),oe.J?oe.Aa&&we(Element.prototype,cr):(Sr(),function(){if(!sn&&Object.getOwnPropertyDescriptor(Event.prototype,"isTrusted")){var t=function(){var t=new MouseEvent("click",{bubbles:!0,cancelable:!0,composed:!0});this.__shady_dispatchEvent(t)};Element.prototype.click?Element.prototype.click=t:HTMLElement.prototype.click&&(HTMLElement.prototype.click=t)}}()),function(){for(var t in mn)window.__shady_native_addEventListener(t,(function(t){t.__target||(Sn(t),gn(t))}),!0)}(),window.Event=Tn,window.CustomEvent=On,window.MouseEvent=Dn,window.ShadowRoot=Hr}var ao=window.Document.prototype.createElement,so=window.Document.prototype.createElementNS,lo=window.Document.prototype.importNode,co=window.Document.prototype.prepend,uo=window.Document.prototype.append,ho=window.DocumentFragment.prototype.prepend,fo=window.DocumentFragment.prototype.append,po=window.Node.prototype.cloneNode,_o=window.Node.prototype.appendChild,mo=window.Node.prototype.insertBefore,vo=window.Node.prototype.removeChild,yo=window.Node.prototype.replaceChild,go=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),bo=window.Element.prototype.attachShadow,Eo=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),wo=window.Element.prototype.getAttribute,No=window.Element.prototype.setAttribute,Co=window.Element.prototype.removeAttribute,So=window.Element.prototype.getAttributeNS,To=window.Element.prototype.setAttributeNS,Oo=window.Element.prototype.removeAttributeNS,Do=window.Element.prototype.insertAdjacentElement,xo=window.Element.prototype.insertAdjacentHTML,Mo=window.Element.prototype.prepend,Po=window.Element.prototype.append,Ao=window.Element.prototype.before,Lo=window.Element.prototype.after,jo=window.Element.prototype.replaceWith,ko=window.Element.prototype.remove,Fo=window.HTMLElement,Ro=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),Ho=window.HTMLElement.prototype.insertAdjacentElement,Io=window.HTMLElement.prototype.insertAdjacentHTML,Bo=new Set;function Uo(t){var e=Bo.has(t);return t=/^[a-z][.0-9_a-z]*-[-.0-9_a-z]*$/.test(t),!e&&t}"annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" ").forEach((function(t){return Bo.add(t)}));var qo=document.contains?document.contains.bind(document):document.documentElement.contains.bind(document.documentElement);function Wo(t){var e=t.isConnected;if(void 0!==e)return e;if(qo(t))return!0;for(;t&&!(t.__CE_isImportDocument||t instanceof Document);)t=t.parentNode||(window.ShadowRoot&&t instanceof ShadowRoot?t.host:void 0);return!(!t||!(t.__CE_isImportDocument||t instanceof Document))}function Go(t){var e=t.children;if(e)return Array.prototype.slice.call(e);for(e=[],t=t.firstChild;t;t=t.nextSibling)t.nodeType===Node.ELEMENT_NODE&&e.push(t);return e}function Vo(t,e){for(;e&&e!==t&&!e.nextSibling;)e=e.parentNode;return e&&e!==t?e.nextSibling:null}function Ko(t,e,n){for(var r=t;r;){if(r.nodeType===Node.ELEMENT_NODE){var o=r;e(o);var i=o.localName;if("link"===i&&"import"===o.getAttribute("rel")){if(r=o.import,void 0===n&&(n=new Set),r instanceof Node&&!n.has(r))for(n.add(r),r=r.firstChild;r;r=r.nextSibling)Ko(r,e,n);r=Vo(t,o);continue}if("template"===i){r=Vo(t,o);continue}if(o=o.__CE_shadowRoot)for(o=o.firstChild;o;o=o.nextSibling)Ko(o,e,n)}r=r.firstChild?r.firstChild:Vo(t,r)}}function Xo(){var t=!(null==fi||!fi.noDocumentConstructionObserver),e=!(null==fi||!fi.shadyDomFastWalk);this.ca=[],this.g=[],this.W=!1,this.shadyDomFastWalk=e,this.nb=!t}function zo(t,e,n,r){var o=window.ShadyDOM;if(t.shadyDomFastWalk&&o&&o.inUse){if(e.nodeType===Node.ELEMENT_NODE&&n(e),e.querySelectorAll)for(t=o.nativeMethods.querySelectorAll.call(e,"*"),e=0;e<t.length;e++)n(t[e])}else Ko(e,n,r)}function Jo(t,e){t.W&&zo(t,e,(function(e){return $o(t,e)}))}function $o(t,e){if(t.W&&!e.__CE_patched){e.__CE_patched=!0;for(var n=0;n<t.ca.length;n++)t.ca[n](e);for(n=0;n<t.g.length;n++)t.g[n](e)}}function Yo(t,e){var n=[];for(zo(t,e,(function(t){return n.push(t)})),e=0;e<n.length;e++){var r=n[e];1===r.__CE_state?t.connectedCallback(r):ti(t,r)}}function Zo(t,e){var n=[];for(zo(t,e,(function(t){return n.push(t)})),e=0;e<n.length;e++){var r=n[e];1===r.__CE_state&&t.disconnectedCallback(r)}}function Qo(t,e,n){var r=(n=void 0===n?{}:n).ob,o=n.upgrade||function(e){return ti(t,e)},i=[];for(zo(t,e,(function(e){if(t.W&&$o(t,e),"link"===e.localName&&"import"===e.getAttribute("rel")){var n=e.import;n instanceof Node&&(n.__CE_isImportDocument=!0,n.__CE_registry=document.__CE_registry),n&&"complete"===n.readyState?n.__CE_documentLoadHandled=!0:e.addEventListener("load",(function(){var n=e.import;if(!n.__CE_documentLoadHandled){n.__CE_documentLoadHandled=!0;var i=new Set;r&&(r.forEach((function(t){return i.add(t)})),i.delete(n)),Qo(t,n,{ob:i,upgrade:o})}}))}else i.push(e)}),r),e=0;e<i.length;e++)o(i[e])}function ti(t,e){try{var n=e.ownerDocument,r=n.__CE_registry,o=r&&(n.defaultView||n.__CE_isImportDocument)?ui(r,e.localName):void 0;if(o&&void 0===e.__CE_state){o.constructionStack.push(e);try{try{if(new o.constructorFunction!==e)throw Error("The custom element constructor did not produce the element being upgraded.")}finally{o.constructionStack.pop()}}catch(t){throw e.__CE_state=2,t}if(e.__CE_state=1,e.__CE_definition=o,o.attributeChangedCallback&&e.hasAttributes()){var i=o.observedAttributes;for(o=0;o<i.length;o++){var a=i[o],s=e.getAttribute(a);null!==s&&t.attributeChangedCallback(e,a,null,s,null)}}Wo(e)&&t.connectedCallback(e)}}catch(t){ni(t)}}function ei(t,e,n,r){var o=e.__CE_registry;if(o&&(null===r||"http://www.w3.org/1999/xhtml"===r)&&(o=ui(o,n)))try{var i=new o.constructorFunction;if(void 0===i.__CE_state||void 0===i.__CE_definition)throw Error("Failed to construct '"+n+"': The returned value was not constructed with the HTMLElement constructor.");if("http://www.w3.org/1999/xhtml"!==i.namespaceURI)throw Error("Failed to construct '"+n+"': The constructed element's namespace must be the HTML namespace.");if(i.hasAttributes())throw Error("Failed to construct '"+n+"': The constructed element must not have any attributes.");if(null!==i.firstChild)throw Error("Failed to construct '"+n+"': The constructed element must not have any children.");if(null!==i.parentNode)throw Error("Failed to construct '"+n+"': The constructed element must not have a parent node.");if(i.ownerDocument!==e)throw Error("Failed to construct '"+n+"': The constructed element's owner document is incorrect.");if(i.localName!==n)throw Error("Failed to construct '"+n+"': The constructed element's local name is incorrect.");return i}catch(o){return ni(o),e=null===r?ao.call(e,n):so.call(e,r,n),Object.setPrototypeOf(e,HTMLUnknownElement.prototype),e.__CE_state=2,e.__CE_definition=void 0,$o(t,e),e}return $o(t,e=null===r?ao.call(e,n):so.call(e,r,n)),e}function ni(t){var e=t.message,n=t.sourceURL||t.fileName||"",r=t.line||t.lineNumber||0,o=t.column||t.columnNumber||0,i=void 0;void 0===ErrorEvent.prototype.initErrorEvent?i=new ErrorEvent("error",{cancelable:!0,message:e,filename:n,lineno:r,colno:o,error:t}):((i=document.createEvent("ErrorEvent")).initErrorEvent("error",!1,!0,e,n,r),i.preventDefault=function(){Object.defineProperty(this,"defaultPrevented",{configurable:!0,get:function(){return!0}})}),void 0===i.error&&Object.defineProperty(i,"error",{configurable:!0,enumerable:!0,get:function(){return t}}),window.dispatchEvent(i),i.defaultPrevented||console.error(t)}function ri(){var t=this;this.I=void 0,this.Ha=new Promise((function(e){t.g=e}))}function oi(t){var e=document;this.X=void 0,this.S=t,this.g=e,Qo(this.S,this.g),"loading"===this.g.readyState&&(this.X=new MutationObserver(this.h.bind(this)),this.X.observe(this.g,{childList:!0,subtree:!0}))}function ii(t){t.X&&t.X.disconnect()}function ai(t){this.ka=new Map,this.la=new Map,this.Ca=new Map,this.ta=!1,this.wa=new Map,this.ja=function(t){return t()},this.V=!1,this.ma=[],this.S=t,this.Da=t.nb?new oi(t):void 0}function si(t,e){if(!Uo(e))throw new SyntaxError("The element name '"+e+"' is not valid.");if(ui(t,e))throw Error("A custom element with name '"+e+"' has already been defined.");if(t.ta)throw Error("A custom element is already being defined.")}function li(t,e,n){var r;t.ta=!0;try{var o=n.prototype;if(!(o instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var i=function(t){var e=o[t];if(void 0!==e&&!(e instanceof Function))throw Error("The '"+t+"' callback must be a function.");return e},a=i("connectedCallback"),s=i("disconnectedCallback"),l=i("adoptedCallback"),c=(r=i("attributeChangedCallback"))&&n.observedAttributes||[]}catch(t){throw t}finally{t.ta=!1}return n={localName:e,constructorFunction:n,connectedCallback:a,disconnectedCallback:s,adoptedCallback:l,attributeChangedCallback:r,observedAttributes:c,constructionStack:[]},t.la.set(e,n),t.Ca.set(n.constructorFunction,n),n}function ci(t){if(!1!==t.V){t.V=!1;for(var e=[],n=t.ma,r=new Map,o=0;o<n.length;o++)r.set(n[o],[]);for(Qo(t.S,document,{upgrade:function(n){if(void 0===n.__CE_state){var o=n.localName,i=r.get(o);i?i.push(n):t.la.has(o)&&e.push(n)}}}),o=0;o<e.length;o++)ti(t.S,e[o]);for(o=0;o<n.length;o++){for(var i=n[o],a=r.get(i),s=0;s<a.length;s++)ti(t.S,a[s]);(i=t.wa.get(i))&&i.resolve(void 0)}n.length=0}}function ui(t,e){var n=t.la.get(e);if(n)return n;if(n=t.ka.get(e)){t.ka.delete(e);try{return li(t,e,n())}catch(t){ni(t)}}}function hi(t,e,n){function r(e){return function(n){for(var r=[],o=0;o<arguments.length;++o)r[o]=arguments[o];o=[];for(var i=[],a=0;a<r.length;a++){var s=r[a];if(s instanceof Element&&Wo(s)&&i.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)o.push(s);else o.push(s)}for(e.apply(this,r),r=0;r<i.length;r++)Zo(t,i[r]);if(Wo(this))for(r=0;r<o.length;r++)(i=o[r])instanceof Element&&Yo(t,i)}}void 0!==n.prepend&&(e.prepend=r(n.prepend)),void 0!==n.append&&(e.append=r(n.append))}Xo.prototype.connectedCallback=function(t){var e=t.__CE_definition;if(e.connectedCallback)try{e.connectedCallback.call(t)}catch(t){ni(t)}},Xo.prototype.disconnectedCallback=function(t){var e=t.__CE_definition;if(e.disconnectedCallback)try{e.disconnectedCallback.call(t)}catch(t){ni(t)}},Xo.prototype.attributeChangedCallback=function(t,e,n,r,o){var i=t.__CE_definition;if(i.attributeChangedCallback&&-1<i.observedAttributes.indexOf(e))try{i.attributeChangedCallback.call(t,e,n,r,o)}catch(t){ni(t)}},ri.prototype.resolve=function(t){if(this.I)throw Error("Already resolved.");this.I=t,this.g(t)},oi.prototype.h=function(t){var e=this.g.readyState;for("interactive"!==e&&"complete"!==e||ii(this),e=0;e<t.length;e++)for(var n=t[e].addedNodes,r=0;r<n.length;r++)Qo(this.S,n[r])},(t=ai.prototype).eb=function(t,e){var n=this;if(!(e instanceof Function))throw new TypeError("Custom element constructor getters must be functions.");si(this,t),this.ka.set(t,e),this.ma.push(t),this.V||(this.V=!0,this.ja((function(){return ci(n)})))},t.define=function(t,e){var n=this;if(!(e instanceof Function))throw new TypeError("Custom element constructors must be functions.");si(this,t),li(this,t,e),this.ma.push(t),this.V||(this.V=!0,this.ja((function(){return ci(n)})))},t.upgrade=function(t){Qo(this.S,t)},t.get=function(t){if(t=ui(this,t))return t.constructorFunction},t.whenDefined=function(t){if(!Uo(t))return Promise.reject(new SyntaxError("'"+t+"' is not a valid custom element name."));var e=this.wa.get(t);if(e)return e.Ha;e=new ri,this.wa.set(t,e);var n=this.la.has(t)||this.ka.has(t);return t=-1===this.ma.indexOf(t),n&&t&&e.resolve(void 0),e.Ha},t.polyfillWrapFlushCallback=function(t){this.Da&&ii(this.Da);var e=this.ja;this.ja=function(n){return t((function(){return e(n)}))}},window.CustomElementRegistry=ai,ai.prototype.define=ai.prototype.define,ai.prototype.upgrade=ai.prototype.upgrade,ai.prototype.get=ai.prototype.get,ai.prototype.whenDefined=ai.prototype.whenDefined,ai.prototype.polyfillDefineLazy=ai.prototype.eb,ai.prototype.polyfillWrapFlushCallback=ai.prototype.polyfillWrapFlushCallback;var di={},fi=window.customElements;function pi(){var t=new Xo;!function(t){function e(){var e=this.constructor,n=document.__CE_registry.Ca.get(e);if(!n)throw Error("Failed to construct a custom element: The constructor was not registered with `customElements`.");var r=n.constructionStack;if(0===r.length)return r=ao.call(document,n.localName),Object.setPrototypeOf(r,e.prototype),r.__CE_state=1,r.__CE_definition=n,$o(t,r),r;var o=r.length-1,i=r[o];if(i===di)throw Error("Failed to construct '"+n.localName+"': This element was already constructed.");return r[o]=di,Object.setPrototypeOf(i,e.prototype),$o(t,i),i}e.prototype=Fo.prototype,Object.defineProperty(HTMLElement.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:e}),window.HTMLElement=e}(t),function(t){Document.prototype.createElement=function(e){return ei(t,this,e,null)},Document.prototype.importNode=function(e,n){return e=lo.call(this,e,!!n),this.__CE_registry?Qo(t,e):Jo(t,e),e},Document.prototype.createElementNS=function(e,n){return ei(t,this,n,e)},hi(t,Document.prototype,{prepend:co,append:uo})}(t),hi(t,DocumentFragment.prototype,{prepend:ho,append:fo}),function(t){function e(e,n){Object.defineProperty(e,"textContent",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(e){if(this.nodeType===Node.TEXT_NODE)n.set.call(this,e);else{var r=void 0;if(this.firstChild){var o=this.childNodes,i=o.length;if(0<i&&Wo(this)){r=Array(i);for(var a=0;a<i;a++)r[a]=o[a]}}if(n.set.call(this,e),r)for(e=0;e<r.length;e++)Zo(t,r[e])}}})}Node.prototype.insertBefore=function(e,n){if(e instanceof DocumentFragment){var r=Go(e);if(e=mo.call(this,e,n),Wo(this))for(n=0;n<r.length;n++)Yo(t,r[n]);return e}return r=e instanceof Element&&Wo(e),n=mo.call(this,e,n),r&&Zo(t,e),Wo(this)&&Yo(t,e),n},Node.prototype.appendChild=function(e){if(e instanceof DocumentFragment){var n=Go(e);if(e=_o.call(this,e),Wo(this))for(var r=0;r<n.length;r++)Yo(t,n[r]);return e}return n=e instanceof Element&&Wo(e),r=_o.call(this,e),n&&Zo(t,e),Wo(this)&&Yo(t,e),r},Node.prototype.cloneNode=function(e){return e=po.call(this,!!e),this.ownerDocument.__CE_registry?Qo(t,e):Jo(t,e),e},Node.prototype.removeChild=function(e){var n=e instanceof Element&&Wo(e),r=vo.call(this,e);return n&&Zo(t,e),r},Node.prototype.replaceChild=function(e,n){if(e instanceof DocumentFragment){var r=Go(e);if(e=yo.call(this,e,n),Wo(this))for(Zo(t,n),n=0;n<r.length;n++)Yo(t,r[n]);return e}r=e instanceof Element&&Wo(e);var o=yo.call(this,e,n),i=Wo(this);return i&&Zo(t,n),r&&Zo(t,e),i&&Yo(t,e),o},go&&go.get?e(Node.prototype,go):function(t,e){t.W=!0,t.ca.push(e)}(t,(function(t){e(t,{enumerable:!0,configurable:!0,get:function(){for(var t=[],e=this.firstChild;e;e=e.nextSibling)e.nodeType!==Node.COMMENT_NODE&&t.push(e.textContent);return t.join("")},set:function(t){for(;this.firstChild;)vo.call(this,this.firstChild);null!=t&&""!==t&&_o.call(this,document.createTextNode(t))}})}))}(t),function(t){function e(e,n){Object.defineProperty(e,"innerHTML",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(e){var r=this,o=void 0;if(Wo(this)&&(o=[],zo(t,this,(function(t){t!==r&&o.push(t)}))),n.set.call(this,e),o)for(var i=0;i<o.length;i++){var a=o[i];1===a.__CE_state&&t.disconnectedCallback(a)}return this.ownerDocument.__CE_registry?Qo(t,this):Jo(t,this),e}})}function n(e,n){e.insertAdjacentElement=function(e,r){var o=Wo(r);return e=n.call(this,e,r),o&&Zo(t,r),Wo(e)&&Yo(t,r),e}}function r(e,n){function r(e,n){for(var r=[];e!==n;e=e.nextSibling)r.push(e);for(n=0;n<r.length;n++)Qo(t,r[n])}e.insertAdjacentHTML=function(t,e){if("beforebegin"===(t=t.toLowerCase())){var o=this.previousSibling;n.call(this,t,e),r(o||this.parentNode.firstChild,this)}else if("afterbegin"===t)o=this.firstChild,n.call(this,t,e),r(this.firstChild,o);else if("beforeend"===t)o=this.lastChild,n.call(this,t,e),r(o||this.firstChild,null);else{if("afterend"!==t)throw new SyntaxError("The value provided ("+String(t)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");o=this.nextSibling,n.call(this,t,e),r(this.nextSibling,o)}}}bo&&(Element.prototype.attachShadow=function(e){if(e=bo.call(this,e),t.W&&!e.__CE_patched){e.__CE_patched=!0;for(var n=0;n<t.ca.length;n++)t.ca[n](e)}return this.__CE_shadowRoot=e}),Eo&&Eo.get?e(Element.prototype,Eo):Ro&&Ro.get?e(HTMLElement.prototype,Ro):function(t,e){t.W=!0,t.g.push(e)}(t,(function(t){e(t,{enumerable:!0,configurable:!0,get:function(){return po.call(this,!0).innerHTML},set:function(t){var e="template"===this.localName,n=e?this.content:this,r=so.call(document,this.namespaceURI,this.localName);for(r.innerHTML=t;0<n.childNodes.length;)vo.call(n,n.childNodes[0]);for(t=e?r.content:r;0<t.childNodes.length;)_o.call(n,t.childNodes[0])}})})),Element.prototype.setAttribute=function(e,n){if(1!==this.__CE_state)return No.call(this,e,n);var r=wo.call(this,e);No.call(this,e,n),n=wo.call(this,e),t.attributeChangedCallback(this,e,r,n,null)},Element.prototype.setAttributeNS=function(e,n,r){if(1!==this.__CE_state)return To.call(this,e,n,r);var o=So.call(this,e,n);To.call(this,e,n,r),r=So.call(this,e,n),t.attributeChangedCallback(this,n,o,r,e)},Element.prototype.removeAttribute=function(e){if(1!==this.__CE_state)return Co.call(this,e);var n=wo.call(this,e);Co.call(this,e),null!==n&&t.attributeChangedCallback(this,e,n,null,null)},Element.prototype.removeAttributeNS=function(e,n){if(1!==this.__CE_state)return Oo.call(this,e,n);var r=So.call(this,e,n);Oo.call(this,e,n);var o=So.call(this,e,n);r!==o&&t.attributeChangedCallback(this,n,r,o,e)},Ho?n(HTMLElement.prototype,Ho):Do&&n(Element.prototype,Do),Io?r(HTMLElement.prototype,Io):xo&&r(Element.prototype,xo),hi(t,Element.prototype,{prepend:Mo,append:Po}),function(t){function e(e){return function(n){for(var r=[],o=0;o<arguments.length;++o)r[o]=arguments[o];o=[];for(var i=[],a=0;a<r.length;a++){var s=r[a];if(s instanceof Element&&Wo(s)&&i.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)o.push(s);else o.push(s)}for(e.apply(this,r),r=0;r<i.length;r++)Zo(t,i[r]);if(Wo(this))for(r=0;r<o.length;r++)(i=o[r])instanceof Element&&Yo(t,i)}}var n=Element.prototype;void 0!==Ao&&(n.before=e(Ao)),void 0!==Lo&&(n.after=e(Lo)),void 0!==jo&&(n.replaceWith=function(e){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];r=[];for(var o=[],i=0;i<n.length;i++){var a=n[i];if(a instanceof Element&&Wo(a)&&o.push(a),a instanceof DocumentFragment)for(a=a.firstChild;a;a=a.nextSibling)r.push(a);else r.push(a)}for(i=Wo(this),jo.apply(this,n),n=0;n<o.length;n++)Zo(t,o[n]);if(i)for(Zo(t,this),n=0;n<r.length;n++)(o=r[n])instanceof Element&&Yo(t,o)}),void 0!==ko&&(n.remove=function(){var e=Wo(this);ko.call(this),e&&Zo(t,this)})}(t)}(t),t=new ai(t),document.__CE_registry=t,Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:t})}function _i(){this.end=this.start=0,this.rules=this.parent=this.previous=null,this.cssText=this.parsedCssText="",this.atRule=!1,this.type=0,this.parsedSelector=this.selector=this.keyframesName=""}function mi(t){var e=t=t.replace(Si,"").replace(Ti,""),n=new _i;n.start=0,n.end=e.length;for(var r=n,o=0,i=e.length;o<i;o++)if("{"===e[o]){r.rules||(r.rules=[]);var a=r,s=a.rules[a.rules.length-1]||null;(r=new _i).start=o+1,r.parent=a,r.previous=s,a.rules.push(r)}else"}"===e[o]&&(r.end=o+1,r=r.parent||n);return vi(n,t)}function vi(t,e){var n=e.substring(t.start,t.end-1);if(t.parsedCssText=t.cssText=n.trim(),t.parent&&(n=(n=(n=function(t){return t.replace(/\\([0-9a-f]{1,6})\s/gi,(function(t,e){for(e=6-(t=e).length;e--;)t="0"+t;return"\\"+t}))}(n=e.substring(t.previous?t.previous.end:t.parent.start,t.start-1))).replace(Ai," ")).substring(n.lastIndexOf(";")+1),n=t.parsedSelector=t.selector=n.trim(),t.atRule=0===n.indexOf("@"),t.atRule?0===n.indexOf("@media")?t.type=Ni:n.match(Pi)&&(t.type=wi,t.keyframesName=t.selector.split(Ai).pop()):t.type=0===n.indexOf("--")?Ci:Ei),n=t.rules)for(var r=0,o=n.length,i=void 0;r<o&&(i=n[r]);r++)vi(i,e);return t}function yi(t,e,n){n=void 0===n?"":n;var r="";if(t.cssText||t.rules){var o,i=t.rules;if((o=i)&&(o=!((o=i[0])&&o.selector&&0===o.selector.indexOf("--"))),o){o=0;for(var a=i.length,s=void 0;o<a&&(s=i[o]);o++)r=yi(s,e,r)}else(r=(e=e?t.cssText:(e=(e=t.cssText).replace(Oi,"").replace(Di,"")).replace(xi,"").replace(Mi,"")).trim())&&(r=" "+r+"\n")}return r&&(t.selector&&(n+=t.selector+" {\n"),n+=r,t.selector&&(n+="}\n\n")),n}fi&&!fi.forcePolyfill&&"function"==typeof fi.define&&"function"==typeof fi.get||pi(),window.__CE_installPolyfill=pi;var gi,bi,Ei=1,wi=7,Ni=4,Ci=1e3,Si=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,Ti=/@import[^;]*;/gim,Oi=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,Di=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,xi=/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,Mi=/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,Pi=/^@[^\s]*keyframes/,Ai=/\s+/g,Li=!(window.ShadyDOM&&window.ShadyDOM.inUse);function ji(t){gi=(!t||!t.shimcssproperties)&&(Li||!(navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)||!window.CSS||!CSS.supports||!CSS.supports("box-shadow","0 0 0 var(--foo)")))}window.ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(bi=window.ShadyCSS.cssBuild);var ki=!(!window.ShadyCSS||!window.ShadyCSS.disableRuntime);window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?gi=window.ShadyCSS.nativeCss:window.ShadyCSS?(ji(window.ShadyCSS),window.ShadyCSS=void 0):ji(window.WebComponents&&window.WebComponents.flags);var Fi=gi,Ri=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,Hi=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,Ii=/(--[\w-]+)\s*([:,;)]|$)/gi,Bi=/(animation\s*:)|(animation-name\s*:)/,Ui=/@media\s(.*)/,qi=/\{[^}]*\}/g,Wi=new Set;function Gi(t,e){return t?("string"==typeof t&&(t=mi(t)),e&&Xi(t,e),yi(t,Fi)):""}function Vi(t){return!t.__cssRules&&t.textContent&&(t.__cssRules=mi(t.textContent)),t.__cssRules||null}function Ki(t){return!!t.parent&&t.parent.type===wi}function Xi(t,e,n,r){if(t){var o=!1,i=t.type;if(r&&i===Ni){var a=t.selector.match(Ui);a&&(window.matchMedia(a[1]).matches||(o=!0))}if(i===Ei?e(t):n&&i===wi?n(t):i===Ci&&(o=!0),(t=t.rules)&&!o)for(o=0,i=t.length,a=void 0;o<i&&(a=t[o]);o++)Xi(a,e,n,r)}}function zi(t,e,n,r){var o=document.createElement("style");return e&&o.setAttribute("scope",e),o.textContent=t,Yi(o,n,r),o}var Ji=null;function $i(t){t=document.createComment(" Shady DOM styles for "+t+" ");var e=document.head;return e.insertBefore(t,(Ji?Ji.nextSibling:null)||e.firstChild),Ji=t}function Yi(t,e,n){(e=e||document.head).insertBefore(t,n&&n.nextSibling||e.firstChild),Ji?t.compareDocumentPosition(Ji)===Node.DOCUMENT_POSITION_PRECEDING&&(Ji=t):Ji=t}function Zi(t,e){for(var n=0,r=t.length;e<r;e++)if("("===t[e])n++;else if(")"===t[e]&&0==--n)return e;return-1}function Qi(t,e){var n=t.indexOf("var(");if(-1===n)return e(t,"","","");var r=Zi(t,n+3),o=t.substring(n+4,r);return n=t.substring(0,n),t=Qi(t.substring(r+1),e),-1===(r=o.indexOf(","))?e(n,o.trim(),"",t):e(n,o.substring(0,r).trim(),o.substring(r+1).trim(),t)}function ta(t,e){Li?t.setAttribute("class",e):window.ShadyDOM.nativeMethods.setAttribute.call(t,"class",e)}var ea=window.ShadyDOM&&window.ShadyDOM.wrap||function(t){return t};function na(t){var e=t.localName,n="";return e?-1<e.indexOf("-")||(n=e,e=t.getAttribute&&t.getAttribute("is")||""):(e=t.is,n=t.extends),{is:e,ha:n}}function ra(t){for(var e=[],n="",r=0;0<=r&&r<t.length;r++)if("("===t[r]){var o=Zi(t,r);n+=t.slice(r,o+1),r=o}else","===t[r]?(e.push(n),n=""):n+=t[r];return n&&e.push(n),e}function oa(t){if(void 0!==bi)return bi;if(void 0===t.__cssBuild){var e=t.getAttribute("css-build");if(e)t.__cssBuild=e;else{if(""!==(e=(e="template"===t.localName?t.content.firstChild:t.firstChild)instanceof Comment&&"css-build"===(e=e.textContent.trim().split(":"))[0]?e[1]:"")){var n="template"===t.localName?t.content.firstChild:t.firstChild;n.parentNode.removeChild(n)}t.__cssBuild=e}}return t.__cssBuild||""}function ia(t){return!(""===(t=void 0===t?"":t)||!Fi)&&(Li?"shadow"===t:"shady"===t)}function aa(){}function sa(t,e,n){var r;if(e.nodeType===Node.ELEMENT_NODE&&n(e),r="template"===e.localName?(e.content||e._content||e).childNodes:e.children||e.childNodes)for(e=0;e<r.length;e++)sa(t,r[e],n)}function la(t,e,n){if(e)if(t.classList)n?(t.classList.remove("style-scope"),t.classList.remove(e)):(t.classList.add("style-scope"),t.classList.add(e));else if(t.getAttribute){var r=t.getAttribute("class");n?r&&ta(t,e=r.replace("style-scope","").replace(e,"")):ta(t,(r?r+" ":"")+"style-scope "+e)}}function ca(t,e,n){sa(Sa,t,(function(t){la(t,e,!0),la(t,n)}))}function ua(t,e){sa(Sa,t,(function(t){la(t,e||"",!0)}))}function ha(t,e,n,r,o){var i=Sa;return""===(o=void 0===o?"":o)&&(o=Li||"shady"===(void 0===r?"":r)?Gi(e,n):function(t,e,n,r,o){var i=da(n,r);return n=n?"."+n:"",Gi(e,(function(e){e.i||(e.selector=e.F=fa(t,e,t.h,n,i),e.i=!0),o&&o(e,n,i)}))}(i,e,(t=na(t)).is,t.ha,n)+"\n\n"),o.trim()}function da(t,e){return e?"[is="+t+"]":t}function fa(t,e,n,r,o){var i=ra(e.selector);if(!Ki(e)){e=0;for(var a=i.length,s=void 0;e<a&&(s=i[e]);e++)i[e]=n.call(t,s,r,o)}return i.filter((function(t){return!!t})).join(",")}function pa(t){return t.replace(va,(function(t,e,n){return-1<n.indexOf("+")?n=n.replace(/\+/g,"___"):-1<n.indexOf("___")&&(n=n.replace(/___/g,"+")),":"+e+"("+n+")"}))}function _a(t,e){t=t.split(/(\[.+?\])/);for(var n=[],r=0;r<t.length;r++)if(1==r%2)n.push(t[r]);else{var o=t[r];""===o&&r===t.length-1||((o=o.split(":"))[0]+=e,n.push(o.join(":")))}return n.join("")}function ma(t){":root"===t.selector&&(t.selector="html")}aa.prototype.h=function(t,e,n){var r=!1;t=t.trim();var o=va.test(t);o&&(t=pa(t=t.replace(va,(function(t,e,n){return":"+e+"("+n.replace(/\s/g,"")+")"}))));var i=Ca.test(t);if(i){var a=function(t){for(var e,n=[];e=t.match(Ca);){var r=e.index,o=Zi(t,r);if(-1===o)throw Error(e.input+" selector missing ')'");e=t.slice(r,o+1),t=t.replace(e,""),n.push(e)}return{Ba:t,matches:n}}(t);t=a.Ba,a=a.matches}return t=(t=t.replace(ba,":host $1")).replace(ya,(function(t,o,i){return r||(t=function(t,e,n,r){var o=t.indexOf("::slotted");if(0<=t.indexOf(":host")?t=function(t,e){var n=t.match(Ea);return(n=n&&n[2].trim()||"")?n[0].match(ga)?t.replace(Ea,(function(t,n,r){return e+r})):n.split(ga)[0]===e?n:"should_not_match":t.replace(":host",e)}(t,r):0!==o&&(t=n?_a(t,n):t),n=!1,0<=o&&(e="",n=!0),n){var i=!0;n&&(t=t.replace(wa,(function(t,e){return" > "+e})))}return{value:t,Ua:e,stop:i}}(i,o,e,n),r=r||t.stop,o=t.Ua,i=t.value),o+i})),i&&(t=function(t,e){var n=t.split("");return e.reduce((function(t,e,r){return t+e+n[r+1]}),n[0])}(t,a)),o&&(t=pa(t)),t.replace(Na,(function(t,e,n,r){return'[dir="'+n+'"] '+e+r+", "+e+'[dir="'+n+'"]'+r}))},aa.prototype.i=function(t){return t.match(":host")?"":t.match("::slotted")?this.h(t,":not(.style-scope)"):_a(t.trim(),":not(.style-scope)")},i.Object.defineProperties(aa.prototype,{g:{configurable:!0,enumerable:!0,get:function(){return"style-scope"}}});var va=/:(nth[-\w]+)\(([^)]+)\)/,ya=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,ga=/[[.:#*]/,ba=/^(::slotted)/,Ea=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,wa=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,Na=/(.*):dir\((?:(ltr|rtl))\)(.*)/,Ca=/:(?:matches|any|-(?:webkit|moz)-any)/,Sa=new aa;function Ta(t,e,n,r,o){this.M=t||null,this.h=e||null,this.za=n||[],this.K=null,this.cssBuild=o||"",this.ha=r||"",this.g=this.L=this.R=null}function Oa(t){return t?t.__styleInfo:null}function Da(t,e){return t.__styleInfo=e}function xa(t){var e=this.matches||this.matchesSelector||this.mozMatchesSelector||this.msMatchesSelector||this.oMatchesSelector||this.webkitMatchesSelector;return e&&e.call(this,t)}Ta.prototype.i=function(){return this.M},Ta.prototype._getStyleRules=Ta.prototype.i;var Ma=/:host\s*>\s*/,Pa=navigator.userAgent.match("Trident");function Aa(){}function La(t){if(!t.D){var e={},n={};ja(t,n)&&(e.P=n,t.rules=null),e.cssText=t.parsedCssText.replace(qi,"").replace(Ri,""),t.D=e}}function ja(t,e){var n=t.D;if(!n){n=t.parsedCssText;for(var r;t=Ri.exec(n);)"inherit"===(r=(t[2]||t[3]).trim())&&"unset"===r||(e[t[1].trim()]=r),r=!0;return r}if(n.P)return Object.assign(e,n.P),!0}function ka(t,e,n){return e&&(e=0<=e.indexOf(";")?Fa(t,e,n):Qi(e,(function(e,r,o,i){return r?((r=ka(t,n[r],n))&&"initial"!==r?"apply-shim-inherit"===r&&(r="inherit"):r=ka(t,n[o]||o,n)||o,e+(r||"")+i):e+i}))),e&&e.trim()||""}function Fa(t,e,n){e=e.split(";");for(var r,o,i=0;i<e.length;i++)if(r=e[i]){if(Hi.lastIndex=0,o=Hi.exec(r))r=ka(t,n[o[1]],n);else if(-1!==(o=r.indexOf(":"))){var a=r.substring(o);a=ka(t,a=a.trim(),n)||a,r=r.substring(0,o)+a}e[i]=r&&r.lastIndexOf(";")===r.length-1?r.slice(0,-1):r||""}return e.join(";")}function Ra(t){return function(e){return e.replace(t.u,t.g)}}function Ha(t,e){var n=Ia,r=Vi(t);t.textContent=Gi(r,(function(t){var r=t.cssText=t.parsedCssText;t.D&&t.D.cssText&&(r=r.replace(Oi,"").replace(Di,""),t.cssText=Fa(n,r,e))}))}i.Object.defineProperties(Aa.prototype,{g:{configurable:!0,enumerable:!0,get:function(){return"x-scope"}}});var Ia=new Aa,Ba={},Ua=window.customElements;if(Ua&&!Li&&!ki){var qa=Ua.define;Ua.define=function(t,e,n){Ba[t]||(Ba[t]=$i(t)),qa.call(Ua,t,e,n)}}function Wa(){this.cache={}}function Ga(){}Wa.prototype.store=function(t,e,n,r){var o=this.cache[t]||[];o.push({P:e,styleElement:n,L:r}),100<o.length&&o.shift(),this.cache[t]=o};var Va=new RegExp(Sa.g+"\\s*([^\\s]*)");function Ka(t){return(t=(t.classList&&t.classList.value?t.classList.value:t.getAttribute("class")||"").match(Va))?t[1]:""}function Xa(t){var e=ea(t).getRootNode();return e===t||e===t.ownerDocument?"":(t=e.host)?na(t).is:""}function za(t){for(var e=0;e<t.length;e++){var n=t[e];if(n.target!==document.documentElement&&n.target!==document.head)for(var r=0;r<n.addedNodes.length;r++){var o=n.addedNodes[r];if(o.nodeType===Node.ELEMENT_NODE){var i=o.getRootNode(),a=Ka(o);if(a&&i===o.ownerDocument&&("style"!==o.localName&&"template"!==o.localName||""===oa(o)))ua(o,a);else if(i instanceof ShadowRoot)for((i=Xa(o))!==a&&ca(o,a,i),o=window.ShadyDOM.nativeMethods.querySelectorAll.call(o,":not(."+Sa.g+")"),a=0;a<o.length;a++){var s=Xa(i=o[a]);s&&la(i,s)}}}}}if(!(Li||window.ShadyDOM&&window.ShadyDOM.handlesDynamicScoping)){var Ja=new MutationObserver(za),$a=function(t){Ja.observe(t,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)$a(document);else{var Ya=function(){$a(document.body)};window.HTMLImports?window.HTMLImports.whenReady(Ya):requestAnimationFrame((function(){if("loading"===document.readyState){var t=function(){Ya(),document.removeEventListener("readystatechange",t)};document.addEventListener("readystatechange",t)}else Ya()}))}Ga=function(){za(Ja.takeRecords())}}var Za={},Qa=Promise.resolve();function ts(t){(t=Za[t])&&(t._applyShimCurrentVersion=t._applyShimCurrentVersion||0,t._applyShimValidatingVersion=t._applyShimValidatingVersion||0,t._applyShimNextVersion=(t._applyShimNextVersion||0)+1)}function es(t){return t._applyShimCurrentVersion===t._applyShimNextVersion}var ns={},rs=new Wa;function os(){this.da={},this.i=document.documentElement;var t=new _i;t.rules=[],this.u=Da(this.i,new Ta(t)),this.O=!1,this.g=this.h=null}function is(t){var e=na(t),n=e.is;e=e.ha;var r=Ba[n]||null,o=Za[n];if(o)return Da(t,e=new Ta(n=o._styleAst,r,o.g,e,o=oa(o))),e}function as(t){if(!t.h&&window.ShadyCSS&&window.ShadyCSS.ApplyShim){t.h=window.ShadyCSS.ApplyShim,t.h.invalidCallback=ts;var e=!0}else e=!1;return function(t){!t.g&&window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface&&(t.g=window.ShadyCSS.CustomStyleInterface,t.g.transformCallback=function(e){t.Ma(e)},t.g.validateCallback=function(){requestAnimationFrame((function(){(t.g.enqueued||t.O)&&t.flushCustomStyles()}))})}(t),e}function ss(t,e,n){var r=na(e).is;if(n.K){var o,i=n.K;for(o in i)null===o?e.style.removeProperty(o):e.style.setProperty(o,i[o])}!(i=Za[r])&&e!==t.i||i&&""!==oa(i)||!i||!i._style||es(i)||((es(i)||i._applyShimValidatingVersion!==i._applyShimNextVersion)&&(as(t),t.h&&t.h.transformRules(i._styleAst,r),i._style.textContent=ha(e,n.M),function(t){t._applyShimValidatingVersion=t._applyShimNextVersion,t._validating||(t._validating=!0,Qa.then((function(){t._applyShimCurrentVersion=t._applyShimNextVersion,t._validating=!1})))}(i)),Li&&(t=e.shadowRoot)&&(t=t.querySelector("style"))&&(t.textContent=ha(e,n.M)),n.M=i._styleAst)}function ls(t,e){return(e=ea(e).getRootNode().host)?Oa(e)||is(e)?e:ls(t,e):t.i}function cs(t,e,n){var r=ls(t,e),o=Oa(r),i=o.R;for(var a in r===t.i||i||(cs(t,r,o),i=o.R),t=Object.create(i||null),r=function(t,e,n){var r={},o={};return Xi(e,(function(e){!function(t,e,n,r){if(e.D||La(e),e.D.P){var o=na(t);t=o.is,o=o.ha,o=t?da(t,o):"html";var i=e.parsedSelector,a=!!i.match(Ma)||"html"===o&&-1<i.indexOf("html"),s=0===i.indexOf(":host")&&!a;"shady"===n&&(s=!(a=i===o+" > *."+o||-1!==i.indexOf("html"))&&0===i.indexOf(o)),(a||s)&&(n=o,s&&(e.F||(e.F=fa(Sa,e,Sa.h,t?"."+t:"",o)),n=e.F||o),a&&"html"===o&&(n=e.F||e.O),r({Ba:n,ab:s,qb:a}))}}(t,e,n,(function(n){xa.call(t._element||t,n.Ba)&&(n.ab?ja(e,r):ja(e,o))}))}),null,!0),{hb:o,Za:r}}(e,n.M,n.cssBuild),e=function(t,e){var n={},r=[];return Xi(t,(function(t){t.D||La(t);var o=t.F||t.parsedSelector;e&&t.D.P&&o&&xa.call(e,o)&&(ja(t,n),t=t.index,o=parseInt(t/32,10),r[o]=(r[o]||0)|1<<t%32)}),null,!0),{P:n,key:r}}(o.M,e).P,Object.assign(t,r.Za,e,r.hb),e=n.K)((o=e[a])||0===o)&&(t[a]=o);for(a=Ia,e=Object.getOwnPropertyNames(t),o=0;o<e.length;o++)t[r=e[o]]=ka(a,t[r],t);n.R=t}(t=os.prototype).flush=function(){Ga()},t.Xa=function(t){return Vi(t)},t.lb=function(t){return Gi(t)},t.prepareTemplate=function(t,e,n){this.prepareTemplateDom(t,e),this.prepareTemplateStyles(t,e,n)},t.prepareTemplateStyles=function(t,e,n){if(!t._prepared&&!ki){Li||Ba[e]||(Ba[e]=$i(e)),t._prepared=!0,t.name=e,t.extends=n,Za[e]=t;var r=oa(t),o=ia(r);n={is:e,extends:n};for(var i=[],a=t.content.querySelectorAll("style"),s=0;s<a.length;s++){var l=a[s];if(l.hasAttribute("shady-unscoped")){if(!Li){var c=l.textContent;if(!Wi.has(c)){Wi.add(c);var u=document.createElement("style");u.setAttribute("shady-unscoped",""),u.textContent=c,document.head.appendChild(u)}l.parentNode.removeChild(l)}}else i.push(l.textContent),l.parentNode.removeChild(l)}i=i.join("").trim()+(ns[e]||""),as(this),o||((a=!r)&&(a=Hi.test(i)||Ri.test(i),Hi.lastIndex=0,Ri.lastIndex=0),s=mi(i),a&&Fi&&this.h&&this.h.transformRules(s,e),t._styleAst=s),a=[],Fi||(a=function(t){var e={},n=[],r=0;for(var o in Xi(t,(function(t){La(t),t.index=r++,t=t.D.cssText;for(var n;n=Ii.exec(t);){var o=n[1];":"!==n[2]&&(e[o]=!0)}}),(function(t){n.push(t)})),t.h=n,t=[],e)t.push(o);return t}(t._styleAst)),a.length&&!Fi||(s=Li?t.content:null,e=Ba[e]||null,r=(r=ha(n,t._styleAst,null,r,o?i:"")).length?zi(r,n.is,s,e):null,t._style=r),t.g=a}},t.fb=function(t,e){ns[e]=t.join(" ")},t.prepareTemplateDom=function(t,e){if(!ki){var n=oa(t);Li||"shady"===n||t._domPrepared||(t._domPrepared=!0,function(t,e){sa(Sa,t,(function(t){la(t,e||"")}))}(t.content,e))}},t.flushCustomStyles=function(){if(!ki){var t=as(this);if(this.g){var e=this.g.processStyles();if((t||this.g.enqueued)&&!ia(this.u.cssBuild)){if(Fi){if(!this.u.cssBuild)for(t=0;t<e.length;t++){var n=this.g.getStyleForCustomStyle(e[t]);if(n&&Fi&&this.h){var r=Vi(n);as(this),this.h.transformRules(r),n.textContent=Gi(r)}}}else{for(function(t,e){(e=e.map((function(e){return t.g.getStyleForCustomStyle(e)})).filter((function(t){return!!t}))).sort((function(t,e){return(t=e.compareDocumentPosition(t))&Node.DOCUMENT_POSITION_FOLLOWING?1:t&Node.DOCUMENT_POSITION_PRECEDING?-1:0})),t.u.M.rules=e.map((function(t){return Vi(t)}))}(this,e),cs(this,this.i,this.u),t=0;t<e.length;t++)(n=this.g.getStyleForCustomStyle(e[t]))&&Ha(n,this.u.R);this.O&&this.styleDocument()}this.g.enqueued=!1}}}},t.styleElement=function(t,e){if(ki){if(e){Oa(t)||Da(t,new Ta(null));var n=Oa(t);n.K=n.K||{},Object.assign(n.K,e),ss(this,t,n)}}else if(n=Oa(t)||is(t))if(t!==this.i&&(this.O=!0),e&&(n.K=n.K||{},Object.assign(n.K,e)),Fi)ss(this,t,n);else if(this.flush(),cs(this,t,n),n.za&&n.za.length){var r;e=na(t).is;t:{if(r=rs.cache[e])for(var o=r.length-1;0<=o;o--){var i=r[o];e:{for(var a=n.za,s=0;s<a.length;s++){var l=a[s];if(i.P[l]!==n.R[l]){a=!1;break e}}a=!0}if(a){r=i;break t}}r=void 0}a=r?r.styleElement:null,o=n.L,(i=r&&r.L)||(i=e+"-"+(i=this.da[e]=(this.da[e]||0)+1)),n.L=i,i=n.L,s=Ia,s=a?a.textContent||"":function(t,e,n,r){var o=na(e),i=da(o.is,o.ha),a=new RegExp("(?:^|[^.#[:])"+(e.extends?"\\"+i.slice(0,-1)+"\\]":i)+"($|[.:[\\s>+~])"),s=Oa(e);o=s.M,s=s.cssBuild;var l=function(t,e){t=t.h;var n={};if(!Li&&t)for(var r=0,o=t[r];r<t.length;o=t[++r]){var i=o,a=e;i.u=new RegExp("\\b"+i.keyframesName+"(?!\\B|-)","g"),i.g=i.keyframesName+"-"+a,i.F=i.F||i.selector,i.selector=i.F.replace(i.keyframesName,i.g),n[o.keyframesName]=Ra(o)}return n}(o,r);return ha(e,o,(function(e){var o="";if(e.D||La(e),e.D.cssText&&(o=Fa(t,e.D.cssText,n)),e.cssText=o,!Li&&!Ki(e)&&e.cssText){var s=o=e.cssText;if(null==e.Ia&&(e.Ia=Bi.test(o)),e.Ia)if(null==e.pa)for(var c in e.pa=[],l)o!==(s=(s=l[c])(o))&&(o=s,e.pa.push(c));else{for(c=0;c<e.pa.length;++c)o=(s=l[e.pa[c]])(o);s=o}e.cssText=s,e.F=e.F||e.selector,o="."+r,s=0;for(var u=(c=ra(e.F)).length,h=void 0;s<u&&(h=c[s]);s++)c[s]=h.match(a)?h.replace(i,o):o+" "+h;e.selector=c.join(",")}}),s)}(s,t,n.R,i);var c=(l=Oa(t)).g;c&&!Li&&c!==a&&(c._useCount--,0>=c._useCount&&c.parentNode&&c.parentNode.removeChild(c)),Li?l.g?(l.g.textContent=s,a=l.g):s&&(a=zi(s,i,t.shadowRoot,l.h)):a?a.parentNode||(Pa&&-1<s.indexOf("@media")&&(a.textContent=s),Yi(a,null,l.h)):s&&(a=zi(s,i,null,l.h)),a&&(a._useCount=a._useCount||0,l.g!=a&&a._useCount++,l.g=a),i=a,Li||(a=n.L,l=s=t.getAttribute("class")||"",o&&(l=s.replace(new RegExp("\\s*x-scope\\s*"+o+"\\s*","g")," ")),s!==(l+=(l?" ":"")+"x-scope "+a)&&ta(t,l)),r||rs.store(e,n.R,i,n.L)}},t.styleDocument=function(t){this.styleSubtree(this.i,t)},t.styleSubtree=function(t,e){var n=ea(t),r=n.shadowRoot,o=t===this.i;if((r||o)&&this.styleElement(t,e),t=o?n:r)for(t=Array.from(t.querySelectorAll("*")).filter((function(t){return ea(t).shadowRoot})),e=0;e<t.length;e++)this.styleSubtree(t[e])},t.Ma=function(t){var e=this,n=oa(t);if(n!==this.u.cssBuild&&(this.u.cssBuild=n),!ia(n)){var r=Vi(t);Xi(r,(function(t){if(Li)ma(t);else{var r=Sa;t.selector=t.parsedSelector,ma(t),t.selector=t.F=fa(r,t,r.i,void 0,void 0)}Fi&&""===n&&(as(e),e.h&&e.h.transformRule(t))})),Fi?t.textContent=Gi(r):this.u.M.rules.push(r)}},t.getComputedStyleValue=function(t,e){var n;return Fi||(n=(Oa(t)||Oa(ls(this,t))).R[e]),(n=n||window.getComputedStyle(t).getPropertyValue(e))?n.trim():""},t.kb=function(t,e){var n=ea(t).getRootNode();if(e=e?("string"==typeof e?e:String(e)).split(/\s/):[],!(n=n.host&&n.host.localName)){var r=t.getAttribute("class");if(r){r=r.split(/\s/);for(var o=0;o<r.length;o++)if(r[o]===Sa.g){n=r[o+1];break}}}n&&e.push(Sa.g,n),Fi||(n=Oa(t))&&n.L&&e.push(Ia.g,n.L),ta(t,e.join(" "))},t.Ta=function(t){return Oa(t)},t.jb=function(t,e){la(t,e)},t.mb=function(t,e){la(t,e,!0)},t.ib=function(t){return Xa(t)},t.Va=function(t){return Ka(t)},os.prototype.flush=os.prototype.flush,os.prototype.prepareTemplate=os.prototype.prepareTemplate,os.prototype.styleElement=os.prototype.styleElement,os.prototype.styleDocument=os.prototype.styleDocument,os.prototype.styleSubtree=os.prototype.styleSubtree,os.prototype.getComputedStyleValue=os.prototype.getComputedStyleValue,os.prototype.setElementClass=os.prototype.kb,os.prototype._styleInfoForNode=os.prototype.Ta,os.prototype.transformCustomStyleForDocument=os.prototype.Ma,os.prototype.getStyleAst=os.prototype.Xa,os.prototype.styleAstToString=os.prototype.lb,os.prototype.flushCustomStyles=os.prototype.flushCustomStyles,os.prototype.scopeNode=os.prototype.jb,os.prototype.unscopeNode=os.prototype.mb,os.prototype.scopeForNode=os.prototype.ib,os.prototype.currentScopeForNode=os.prototype.Va,os.prototype.prepareAdoptedCssText=os.prototype.fb,Object.defineProperties(os.prototype,{nativeShadow:{get:function(){return Li}},nativeCss:{get:function(){return Fi}}});var us,hs,ds=new os;window.ShadyCSS&&(us=window.ShadyCSS.ApplyShim,hs=window.ShadyCSS.CustomStyleInterface),window.ShadyCSS={ScopingShim:ds,prepareTemplate:function(t,e,n){ds.flushCustomStyles(),ds.prepareTemplate(t,e,n)},prepareTemplateDom:function(t,e){ds.prepareTemplateDom(t,e)},prepareTemplateStyles:function(t,e,n){ds.flushCustomStyles(),ds.prepareTemplateStyles(t,e,n)},styleSubtree:function(t,e){ds.flushCustomStyles(),ds.styleSubtree(t,e)},styleElement:function(t){ds.flushCustomStyles(),ds.styleElement(t)},styleDocument:function(t){ds.flushCustomStyles(),ds.styleDocument(t)},flushCustomStyles:function(){ds.flushCustomStyles()},getComputedStyleValue:function(t,e){return ds.getComputedStyleValue(t,e)},nativeCss:Fi,nativeShadow:Li,cssBuild:bi,disableRuntime:ki},us&&(window.ShadyCSS.ApplyShim=us),hs&&(window.ShadyCSS.CustomStyleInterface=hs),function(t){function e(t){return""==t&&(i.call(this),this.m=!0),t.toLowerCase()}function n(t){var e=t.charCodeAt(0);return 32<e&&127>e&&-1==[34,35,60,62,63,96].indexOf(e)?t:encodeURIComponent(t)}function r(t){var e=t.charCodeAt(0);return 32<e&&127>e&&-1==[34,35,60,62,96].indexOf(e)?t:encodeURIComponent(t)}function o(t,o,a){function s(t){v.push(t)}var l=o||"scheme start",f=0,p="",_=!1,m=!1,v=[];t:for(;(null!=t[f-1]||0==f)&&!this.m;){var y=t[f];switch(l){case"scheme start":if(!y||!h.test(y)){if(o){s("Invalid scheme.");break t}p="",l="no scheme";continue}p+=y.toLowerCase(),l="scheme";break;case"scheme":if(y&&d.test(y))p+=y.toLowerCase();else{if(":"!=y){if(o){null!=y&&s("Code point not allowed in scheme: "+y);break t}p="",f=0,l="no scheme";continue}if(this.l=p,p="",o)break t;void 0!==c[this.l]&&(this.G=!0),l="file"==this.l?"relative":this.G&&a&&a.l==this.l?"relative or authority":this.G?"authority first slash":"scheme data"}break;case"scheme data":"?"==y?(this.A="?",l="query"):"#"==y?(this.C="#",l="fragment"):null!=y&&"\t"!=y&&"\n"!=y&&"\r"!=y&&(this.va+=n(y));break;case"no scheme":if(a&&void 0!==c[a.l]){l="relative";continue}s("Missing scheme."),i.call(this),this.m=!0;break;case"relative or authority":if("/"!=y||"/"!=t[f+1]){s("Expected /, got: "+y),l="relative";continue}l="authority ignore slashes";break;case"relative":if(this.G=!0,"file"!=this.l&&(this.l=a.l),null==y){this.o=a.o,this.v=a.v,this.s=a.s.slice(),this.A=a.A,this.B=a.B,this.j=a.j;break t}if("/"==y||"\\"==y)"\\"==y&&s("\\ is an invalid code point."),l="relative slash";else if("?"==y)this.o=a.o,this.v=a.v,this.s=a.s.slice(),this.A="?",this.B=a.B,this.j=a.j,l="query";else{if("#"!=y){l=t[f+1];var g=t[f+2];("file"!=this.l||!h.test(y)||":"!=l&&"|"!=l||null!=g&&"/"!=g&&"\\"!=g&&"?"!=g&&"#"!=g)&&(this.o=a.o,this.v=a.v,this.B=a.B,this.j=a.j,this.s=a.s.slice(),this.s.pop()),l="relative path";continue}this.o=a.o,this.v=a.v,this.s=a.s.slice(),this.A=a.A,this.C="#",this.B=a.B,this.j=a.j,l="fragment"}break;case"relative slash":if("/"!=y&&"\\"!=y){"file"!=this.l&&(this.o=a.o,this.v=a.v,this.B=a.B,this.j=a.j),l="relative path";continue}"\\"==y&&s("\\ is an invalid code point."),l="file"==this.l?"file host":"authority ignore slashes";break;case"authority first slash":if("/"!=y){s("Expected '/', got: "+y),l="authority ignore slashes";continue}l="authority second slash";break;case"authority second slash":if(l="authority ignore slashes","/"!=y){s("Expected '/', got: "+y);continue}break;case"authority ignore slashes":if("/"!=y&&"\\"!=y){l="authority";continue}s("Expected authority, got: "+y);break;case"authority":if("@"==y){for(_&&(s("@ already seen."),p+="%40"),_=!0,y=0;y<p.length;y++)"\t"==(g=p[y])||"\n"==g||"\r"==g?s("Invalid whitespace in authority."):":"==g&&null===this.j?this.j="":(g=n(g),null!==this.j?this.j+=g:this.B+=g);p=""}else{if(null==y||"/"==y||"\\"==y||"?"==y||"#"==y){f-=p.length,p="",l="host";continue}p+=y}break;case"file host":if(null==y||"/"==y||"\\"==y||"?"==y||"#"==y){2!=p.length||!h.test(p[0])||":"!=p[1]&&"|"!=p[1]?(0!=p.length&&(this.o=e.call(this,p),p=""),l="relative path start"):l="relative path";continue}"\t"==y||"\n"==y||"\r"==y?s("Invalid whitespace in file host."):p+=y;break;case"host":case"hostname":if(":"!=y||m){if(null==y||"/"==y||"\\"==y||"?"==y||"#"==y){if(this.o=e.call(this,p),p="",l="relative path start",o)break t;continue}"\t"!=y&&"\n"!=y&&"\r"!=y?("["==y?m=!0:"]"==y&&(m=!1),p+=y):s("Invalid code point in host/hostname: "+y)}else if(this.o=e.call(this,p),p="",l="port","hostname"==o)break t;break;case"port":if(/[0-9]/.test(y))p+=y;else{if(null==y||"/"==y||"\\"==y||"?"==y||"#"==y||o){if(""!=p&&((p=parseInt(p,10))!=c[this.l]&&(this.v=p+""),p=""),o)break t;l="relative path start";continue}"\t"==y||"\n"==y||"\r"==y?s("Invalid code point in port: "+y):(i.call(this),this.m=!0)}break;case"relative path start":if("\\"==y&&s("'\\' not allowed in path."),l="relative path","/"!=y&&"\\"!=y)continue;break;case"relative path":null!=y&&"/"!=y&&"\\"!=y&&(o||"?"!=y&&"#"!=y)?"\t"!=y&&"\n"!=y&&"\r"!=y&&(p+=n(y)):("\\"==y&&s("\\ not allowed in relative path."),(g=u[p.toLowerCase()])&&(p=g),".."==p?(this.s.pop(),"/"!=y&&"\\"!=y&&this.s.push("")):"."==p&&"/"!=y&&"\\"!=y?this.s.push(""):"."!=p&&("file"==this.l&&0==this.s.length&&2==p.length&&h.test(p[0])&&"|"==p[1]&&(p=p[0]+":"),this.s.push(p)),p="","?"==y?(this.A="?",l="query"):"#"==y&&(this.C="#",l="fragment"));break;case"query":o||"#"!=y?null!=y&&"\t"!=y&&"\n"!=y&&"\r"!=y&&(this.A+=r(y)):(this.C="#",l="fragment");break;case"fragment":null!=y&&"\t"!=y&&"\n"!=y&&"\r"!=y&&(this.C+=y)}f++}}function i(){this.B=this.va=this.l="",this.j=null,this.v=this.o="",this.s=[],this.C=this.A="",this.G=this.m=!1}function a(t,e){void 0===e||e instanceof a||(e=new a(String(e))),this.g=t,i.call(this),o.call(this,this.g.replace(/^[ \t\r\n\f]+|[ \t\r\n\f]+$/g,""),null,e)}var s=!1;try{var l=new URL("b","http://a");l.pathname="c%20d",s="http://a/c%20d"===l.href}catch(t){}if(!s){var c=Object.create(null);c.ftp=21,c.file=0,c.gopher=70,c.http=80,c.https=443,c.ws=80,c.wss=443;var u=Object.create(null);u["%2e"]=".",u[".%2e"]="..",u["%2e."]="..",u["%2e%2e"]="..";var h=/[a-zA-Z]/,d=/[a-zA-Z0-9+\-.]/;a.prototype={toString:function(){return this.href},get href(){if(this.m)return this.g;var t="";return""==this.B&&null==this.j||(t=this.B+(null!=this.j?":"+this.j:"")+"@"),this.protocol+(this.G?"//"+t+this.host:"")+this.pathname+this.A+this.C},set href(t){i.call(this),o.call(this,t)},get protocol(){return this.l+":"},set protocol(t){this.m||o.call(this,t+":","scheme start")},get host(){return this.m?"":this.v?this.o+":"+this.v:this.o},set host(t){!this.m&&this.G&&o.call(this,t,"host")},get hostname(){return this.o},set hostname(t){!this.m&&this.G&&o.call(this,t,"hostname")},get port(){return this.v},set port(t){!this.m&&this.G&&o.call(this,t,"port")},get pathname(){return this.m?"":this.G?"/"+this.s.join("/"):this.va},set pathname(t){!this.m&&this.G&&(this.s=[],o.call(this,t,"relative path start"))},get search(){return this.m||!this.A||"?"==this.A?"":this.A},set search(t){!this.m&&this.G&&(this.A="?","?"==t[0]&&(t=t.slice(1)),o.call(this,t,"query"))},get hash(){return this.m||!this.C||"#"==this.C?"":this.C},set hash(t){this.m||(t?(this.C="#","#"==t[0]&&(t=t.slice(1)),o.call(this,t,"fragment")):this.C="")},get origin(){var t;if(this.m||!this.l)return"";switch(this.l){case"data":case"file":case"javascript":case"mailto":return"null"}return(t=this.host)?this.l+"://"+t:""}};var f=t.URL;f&&(a.createObjectURL=function(t){return f.createObjectURL.apply(f,arguments)},a.revokeObjectURL=function(t){f.revokeObjectURL(t)}),t.URL=a}}(window);var fs=window.customElements,ps=!1,_s=null;function ms(){window.HTMLTemplateElement.bootstrap&&window.HTMLTemplateElement.bootstrap(window.document),_s&&_s(),ps=!0,window.WebComponents.ready=!0,document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))}fs.polyfillWrapFlushCallback&&fs.polyfillWrapFlushCallback((function(t){_s=t,ps&&t()})),"complete"!==document.readyState?(window.addEventListener("load",ms),window.addEventListener("DOMContentLoaded",(function(){window.removeEventListener("load",ms),ms()}))):ms()}).call(this)}},e={};e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),t[2575](0,{},e)}();
|
1
|
+
/******/ (function() { // webpackBootstrap
|
2
|
+
/******/ var __webpack_modules__ = ({
|
3
|
+
|
4
|
+
/***/ "./node_modules/@webcomponents/webcomponentsjs/webcomponents-bundle.js":
|
5
|
+
/*!*****************************************************************************!*\
|
6
|
+
!*** ./node_modules/@webcomponents/webcomponentsjs/webcomponents-bundle.js ***!
|
7
|
+
\*****************************************************************************/
|
8
|
+
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
9
|
+
|
10
|
+
/**
|
11
|
+
@license @nocompile
|
12
|
+
Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
|
13
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
14
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
15
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
16
|
+
Code distributed by Google as part of the polymer project is also
|
17
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
18
|
+
*/
|
19
|
+
(function(){/*
|
20
|
+
|
21
|
+
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
22
|
+
This code may only be used under the BSD style license found at
|
23
|
+
http://polymer.github.io/LICENSE.txt The complete set of authors may be found
|
24
|
+
at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
|
25
|
+
be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
26
|
+
Google as part of the polymer project is also subject to an additional IP
|
27
|
+
rights grant found at http://polymer.github.io/PATENTS.txt
|
28
|
+
*/
|
29
|
+
'use strict';var v;function ba(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}}var ca="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a};
|
30
|
+
function da(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof __webpack_require__.g&&__webpack_require__.g];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("Cannot find global object");}var ea=da(this);function ia(a,b){if(b)a:{var c=ea;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];if(!(e in c))break a;c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&ca(c,a,{configurable:!0,writable:!0,value:b})}}
|
31
|
+
ia("Symbol",function(a){function b(e){if(this instanceof b)throw new TypeError("Symbol is not a constructor");return new c("jscomp_symbol_"+(e||"")+"_"+d++,e)}function c(e,f){this.g=e;ca(this,"description",{configurable:!0,writable:!0,value:f})}if(a)return a;c.prototype.toString=function(){return this.g};var d=0;return b});
|
32
|
+
ia("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c<b.length;c++){var d=ea[b[c]];"function"===typeof d&&"function"!=typeof d.prototype[a]&&ca(d.prototype,a,{configurable:!0,writable:!0,value:function(){return ja(ba(this))}})}return a});function ja(a){a={next:a};a[Symbol.iterator]=function(){return this};return a}
|
33
|
+
function ka(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):{next:ba(a)}}function x(a){if(!(a instanceof Array)){a=ka(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a}var ma;if("function"==typeof Object.setPrototypeOf)ma=Object.setPrototypeOf;else{var na;a:{var oa={a:!0},pa={};try{pa.__proto__=oa;na=pa.a;break a}catch(a){}na=!1}ma=na?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}
|
34
|
+
var qa=ma;function ra(){this.u=!1;this.h=null;this.Ka=void 0;this.g=1;this.da=0;this.i=null}function ua(a){if(a.u)throw new TypeError("Generator is already running");a.u=!0}ra.prototype.O=function(a){this.Ka=a};function xa(a,b){a.i={Wa:b,$a:!0};a.g=a.da}ra.prototype.return=function(a){this.i={return:a};this.g=this.da};function ya(a,b){a.g=3;return{value:b}}function za(a){this.g=new ra;this.h=a}
|
35
|
+
function Aa(a,b){ua(a.g);var c=a.g.h;if(c)return Ba(a,"return"in c?c["return"]:function(d){return{value:d,done:!0}},b,a.g.return);a.g.return(b);return Ca(a)}function Ba(a,b,c,d){try{var e=b.call(a.g.h,c);if(!(e instanceof Object))throw new TypeError("Iterator result "+e+" is not an object");if(!e.done)return a.g.u=!1,e;var f=e.value}catch(g){return a.g.h=null,xa(a.g,g),Ca(a)}a.g.h=null;d.call(a.g,f);return Ca(a)}
|
36
|
+
function Ca(a){for(;a.g.g;)try{var b=a.h(a.g);if(b)return a.g.u=!1,{value:b.value,done:!1}}catch(c){a.g.Ka=void 0,xa(a.g,c)}a.g.u=!1;if(a.g.i){b=a.g.i;a.g.i=null;if(b.$a)throw b.Wa;return{value:b.return,done:!0}}return{value:void 0,done:!0}}
|
37
|
+
function Da(a){this.next=function(b){ua(a.g);a.g.h?b=Ba(a,a.g.h.next,b,a.g.O):(a.g.O(b),b=Ca(a));return b};this.throw=function(b){ua(a.g);a.g.h?b=Ba(a,a.g.h["throw"],b,a.g.O):(xa(a.g,b),b=Ca(a));return b};this.return=function(b){return Aa(a,b)};this[Symbol.iterator]=function(){return this}}function Ea(a,b){b=new Da(new za(b));qa&&a.prototype&&qa(b,a.prototype);return b}Array.from||(Array.from=function(a){return[].slice.call(a)});
|
38
|
+
Object.assign||(Object.assign=function(a){for(var b=[].slice.call(arguments,1),c=0,d;c<b.length;c++)if(d=b[c])for(var e=a,f=Object.keys(d),g=0;g<f.length;g++){var h=f[g];e[h]=d[h]}return a});var Fa=setTimeout;function Ga(){}function Ha(a,b){return function(){a.apply(b,arguments)}}function A(a){if(!(this instanceof A))throw new TypeError("Promises must be constructed via new");if("function"!==typeof a)throw new TypeError("not a function");this.N=0;this.Ea=!1;this.I=void 0;this.ba=[];Ia(a,this)}
|
39
|
+
function Ja(a,b){for(;3===a.N;)a=a.I;0===a.N?a.ba.push(b):(a.Ea=!0,Ka(function(){var c=1===a.N?b.bb:b.cb;if(null===c)(1===a.N?La:Ma)(b.promise,a.I);else{try{var d=c(a.I)}catch(e){Ma(b.promise,e);return}La(b.promise,d)}}))}
|
40
|
+
function La(a,b){try{if(b===a)throw new TypeError("A promise cannot be resolved with itself.");if(b&&("object"===typeof b||"function"===typeof b)){var c=b.then;if(b instanceof A){a.N=3;a.I=b;Na(a);return}if("function"===typeof c){Ia(Ha(c,b),a);return}}a.N=1;a.I=b;Na(a)}catch(d){Ma(a,d)}}function Ma(a,b){a.N=2;a.I=b;Na(a)}
|
41
|
+
function Na(a){2===a.N&&0===a.ba.length&&Ka(function(){a.Ea||"undefined"!==typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",a.I)});for(var b=0,c=a.ba.length;b<c;b++)Ja(a,a.ba[b]);a.ba=null}function Oa(a,b,c){this.bb="function"===typeof a?a:null;this.cb="function"===typeof b?b:null;this.promise=c}function Ia(a,b){var c=!1;try{a(function(d){c||(c=!0,La(b,d))},function(d){c||(c=!0,Ma(b,d))})}catch(d){c||(c=!0,Ma(b,d))}}
|
42
|
+
A.prototype["catch"]=function(a){return this.then(null,a)};A.prototype.then=function(a,b){var c=new this.constructor(Ga);Ja(this,new Oa(a,b,c));return c};A.prototype["finally"]=function(a){var b=this.constructor;return this.then(function(c){return b.resolve(a()).then(function(){return c})},function(c){return b.resolve(a()).then(function(){return b.reject(c)})})};
|
43
|
+
function Pa(a){return new A(function(b,c){function d(h,k){try{if(k&&("object"===typeof k||"function"===typeof k)){var l=k.then;if("function"===typeof l){l.call(k,function(m){d(h,m)},c);return}}e[h]=k;0===--f&&b(e)}catch(m){c(m)}}if(!a||"undefined"===typeof a.length)return c(new TypeError("Promise.all accepts an array"));var e=Array.prototype.slice.call(a);if(0===e.length)return b([]);for(var f=e.length,g=0;g<e.length;g++)d(g,e[g])})}
|
44
|
+
function Qa(a){return a&&"object"===typeof a&&a.constructor===A?a:new A(function(b){b(a)})}function Ra(a){return new A(function(b,c){c(a)})}function Sa(a){return new A(function(b,c){if(!a||"undefined"===typeof a.length)return c(new TypeError("Promise.race accepts an array"));for(var d=0,e=a.length;d<e;d++)Qa(a[d]).then(b,c)})}var Ka="function"===typeof setImmediate&&function(a){setImmediate(a)}||function(a){Fa(a,0)};/*
|
45
|
+
|
46
|
+
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
47
|
+
This code may only be used under the BSD style license found at
|
48
|
+
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
|
49
|
+
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
|
50
|
+
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
|
51
|
+
part of the polymer project is also subject to an additional IP rights grant
|
52
|
+
found at http://polymer.github.io/PATENTS.txt
|
53
|
+
*/
|
54
|
+
if(!window.Promise){window.Promise=A;A.prototype.then=A.prototype.then;A.all=Pa;A.race=Sa;A.resolve=Qa;A.reject=Ra;var Ta=document.createTextNode(""),Va=[];(new MutationObserver(function(){for(var a=Va.length,b=0;b<a;b++)Va[b]();Va.splice(0,a)})).observe(Ta,{characterData:!0});Ka=function(a){Va.push(a);Ta.textContent=0<Ta.textContent.length?"":"a"}};/*
|
55
|
+
Copyright (C) 2015 by WebReflection
|
56
|
+
|
57
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
58
|
+
of this software and associated documentation files (the "Software"), to deal
|
59
|
+
in the Software without restriction, including without limitation the rights
|
60
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
61
|
+
copies of the Software, and to permit persons to whom the Software is
|
62
|
+
furnished to do so, subject to the following conditions:
|
63
|
+
|
64
|
+
The above copyright notice and this permission notice shall be included in
|
65
|
+
all copies or substantial portions of the Software.
|
66
|
+
|
67
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
68
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
69
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
70
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
71
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
72
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
73
|
+
THE SOFTWARE.
|
74
|
+
|
75
|
+
*/
|
76
|
+
(function(a,b){if(!(b in a)){var c=typeof __webpack_require__.g===typeof c?window:__webpack_require__.g,d=0,e=String(Math.random()),f="__\u0001symbol@@"+e,g=a.getOwnPropertyNames,h=a.getOwnPropertyDescriptor,k=a.create,l=a.keys,m=a.freeze||a,q=a.defineProperty,H=a.defineProperties,C=h(a,"getOwnPropertyNames"),t=a.prototype,F=t.hasOwnProperty,E=t.propertyIsEnumerable,M=t.toString,y=function(I,u,G){F.call(I,f)||q(I,f,{enumerable:!1,configurable:!1,writable:!1,value:{}});I[f]["@@"+u]=G},W=function(I,u){var G=k(I);g(u).forEach(function(p){sa.call(u,
|
77
|
+
p)&&Ua(G,p,u[p])});return G},w=function(){},ta=function(I){return I!=f&&!F.call(fa,I)},ha=function(I){return I!=f&&F.call(fa,I)},sa=function(I){var u=String(I);return ha(u)?F.call(this,u)&&!!this[f]&&this[f]["@@"+u]:E.call(this,I)},n=function(I){q(t,I,{enumerable:!1,configurable:!0,get:w,set:function(u){wa(this,I,{enumerable:!1,configurable:!0,writable:!0,value:u});y(this,I,!0)}});fa[I]=q(a(I),"constructor",gc);return m(fa[I])},J=function G(u){if(this instanceof G)throw new TypeError("Symbol is not a constructor");
|
78
|
+
return n("__\u0001symbol:".concat(u||"",e,++d))},fa=k(null),gc={value:J},fb=function(u){return fa[u]},Ua=function(u,G,p){var r=String(G);if(ha(r)){G=wa;if(p.enumerable){var B=k(p);B.enumerable=!1}else B=p;G(u,r,B);y(u,r,!!p.enumerable)}else q(u,G,p);return u},gb=function(u){return g(u).filter(ha).map(fb)};C.value=Ua;q(a,"defineProperty",C);C.value=gb;q(a,b,C);C.value=function(u){return g(u).filter(ta)};q(a,"getOwnPropertyNames",C);C.value=function(u,G){var p=gb(G);p.length?l(G).concat(p).forEach(function(r){sa.call(G,
|
79
|
+
r)&&Ua(u,r,G[r])}):H(u,G);return u};q(a,"defineProperties",C);C.value=sa;q(t,"propertyIsEnumerable",C);C.value=J;q(c,"Symbol",C);C.value=function(u){u="__\u0001symbol:".concat("__\u0001symbol:",u,e);return u in t?fa[u]:n(u)};q(J,"for",C);C.value=function(u){if(ta(u))throw new TypeError(u+" is not a symbol");if(F.call(fa,u)&&(u=u.slice(10),"__\u0001symbol:"===u.slice(0,10)&&(u=u.slice(10),u!==e)))return u=u.slice(0,u.length-e.length),0<u.length?u:void 0};q(J,"keyFor",C);C.value=function(u,G){var p=
|
80
|
+
h(u,G);p&&ha(G)&&(p.enumerable=sa.call(u,G));return p};q(a,"getOwnPropertyDescriptor",C);C.value=function(u,G){return 1===arguments.length||"undefined"===typeof G?k(u):W(u,G)};q(a,"create",C);C.value=function(){var u=M.call(this);return"[object String]"===u&&ha(this)?"[object Symbol]":u};q(t,"toString",C);try{if(!0===k(q({},"__\u0001symbol:",{get:function(){return q(this,"__\u0001symbol:",{value:!0})["__\u0001symbol:"]}}))["__\u0001symbol:"])var wa=q;else throw"IE11";}catch(u){wa=function(G,p,r){var B=
|
81
|
+
h(t,p);delete t[p];q(G,p,r);q(t,p,B)}}}})(Object,"getOwnPropertySymbols");
|
82
|
+
(function(a,b){var c=a.defineProperty,d=a.prototype,e=d.toString,f;"iterator match replace search split hasInstance isConcatSpreadable unscopables species toPrimitive toStringTag".split(" ").forEach(function(g){g in b||(c(b,g,{value:b(g)}),"toStringTag"===g&&(f=a.getOwnPropertyDescriptor(d,"toString"),f.value=function(){var h=e.call(this),k=null==this?this:this[b.toStringTag];return null==k?h:"[object "+k+"]"},c(d,"toString",f)))})})(Object,Symbol);
|
83
|
+
(function(a,b,c){function d(){return this}b[a]||(b[a]=function(){var e=0,f=this,g={next:function(){var h=f.length<=e;return h?{done:h}:{done:h,value:f[e++]}}};g[a]=d;return g});c[a]||(c[a]=function(){var e=String.fromCodePoint,f=this,g=0,h=f.length,k={next:function(){var l=h<=g,m=l?"":e(f.codePointAt(g));g+=m.length;return l?{done:l}:{done:l,value:m}}};k[a]=d;return k})})(Symbol.iterator,Array.prototype,String.prototype);/*
|
84
|
+
|
85
|
+
Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
|
86
|
+
This code may only be used under the BSD style license found at
|
87
|
+
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
|
88
|
+
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
|
89
|
+
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
|
90
|
+
part of the polymer project is also subject to an additional IP rights grant
|
91
|
+
found at http://polymer.github.io/PATENTS.txt
|
92
|
+
*/
|
93
|
+
var Wa=Object.prototype.toString;Object.prototype.toString=function(){return void 0===this?"[object Undefined]":null===this?"[object Null]":Wa.call(this)};Object.keys=function(a){return Object.getOwnPropertyNames(a).filter(function(b){return(b=Object.getOwnPropertyDescriptor(a,b))&&b.enumerable})};
|
94
|
+
String.prototype[Symbol.iterator]&&String.prototype.codePointAt||(String.prototype[Symbol.iterator]=function Xa(){var b,c=this;return Ea(Xa,function(d){1==d.g&&(b=0);if(3!=d.g)return b<c.length?d=ya(d,c[b]):(d.g=0,d=void 0),d;b++;d.g=2})});Set.prototype[Symbol.iterator]||(Set.prototype[Symbol.iterator]=function Ya(){var b,c=this,d;return Ea(Ya,function(e){1==e.g&&(b=[],c.forEach(function(f){b.push(f)}),d=0);if(3!=e.g)return d<b.length?e=ya(e,b[d]):(e.g=0,e=void 0),e;d++;e.g=2})});
|
95
|
+
Map.prototype[Symbol.iterator]||(Map.prototype[Symbol.iterator]=function Za(){var b,c=this,d;return Ea(Za,function(e){1==e.g&&(b=[],c.forEach(function(f,g){b.push([g,f])}),d=0);if(3!=e.g)return d<b.length?e=ya(e,b[d]):(e.g=0,e=void 0),e;d++;e.g=2})});/*
|
96
|
+
|
97
|
+
Copyright (c) 2020 The Polymer Project Authors. All rights reserved.
|
98
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
99
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
100
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
101
|
+
Code distributed by Google as part of the polymer project is also
|
102
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
103
|
+
*/
|
104
|
+
var $a=document.createEvent("Event");$a.initEvent("foo",!0,!0);$a.preventDefault();if(!$a.defaultPrevented){var ab=Event.prototype.preventDefault;Event.prototype.preventDefault=function(){this.cancelable&&(ab.call(this),Object.defineProperty(this,"defaultPrevented",{get:function(){return!0},configurable:!0}))}}var bb=/Trident/.test(navigator.userAgent);
|
105
|
+
if(!window.Event||bb&&"function"!==typeof window.Event){var cb=window.Event;window.Event=function(a,b){b=b||{};var c=document.createEvent("Event");c.initEvent(a,!!b.bubbles,!!b.cancelable);return c};if(cb){for(var db in cb)window.Event[db]=cb[db];window.Event.prototype=cb.prototype}}
|
106
|
+
if(!window.CustomEvent||bb&&"function"!==typeof window.CustomEvent)window.CustomEvent=function(a,b){b=b||{};var c=document.createEvent("CustomEvent");c.initCustomEvent(a,!!b.bubbles,!!b.cancelable,b.detail);return c},window.CustomEvent.prototype=window.Event.prototype;
|
107
|
+
if(!window.MouseEvent||bb&&"function"!==typeof window.MouseEvent){var eb=window.MouseEvent;window.MouseEvent=function(a,b){b=b||{};var c=document.createEvent("MouseEvent");c.initMouseEvent(a,!!b.bubbles,!!b.cancelable,b.view||window,b.detail,b.screenX,b.screenY,b.clientX,b.clientY,b.ctrlKey,b.altKey,b.shiftKey,b.metaKey,b.button,b.relatedTarget);return c};if(eb)for(var hb in eb)window.MouseEvent[hb]=eb[hb];window.MouseEvent.prototype=eb.prototype};Object.getOwnPropertyDescriptor(Node.prototype,"baseURI")||Object.defineProperty(Node.prototype,"baseURI",{get:function(){var a=(this.ownerDocument||this).querySelector("base[href]");return a&&a.href||window.location.href},configurable:!0,enumerable:!0});/*
|
108
|
+
|
109
|
+
Copyright (c) 2020 The Polymer Project Authors. All rights reserved.
|
110
|
+
This code may only be used under the BSD style license found at
|
111
|
+
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
|
112
|
+
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
|
113
|
+
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
|
114
|
+
part of the polymer project is also subject to an additional IP rights grant
|
115
|
+
found at http://polymer.github.io/PATENTS.txt
|
116
|
+
*/
|
117
|
+
var ib,jb,kb=Element.prototype,nb=null!==(ib=Object.getOwnPropertyDescriptor(kb,"attributes"))&&void 0!==ib?ib:Object.getOwnPropertyDescriptor(Node.prototype,"attributes"),ob=null!==(jb=null===nb||void 0===nb?void 0:nb.get)&&void 0!==jb?jb:function(){return this.attributes},pb=Array.prototype.map;kb.hasOwnProperty("getAttributeNames")||(kb.getAttributeNames=function(){return pb.call(ob.call(this),function(a){return a.name})});var qb,rb=Element.prototype;rb.hasOwnProperty("matches")||(rb.matches=null!==(qb=rb.webkitMatchesSelector)&&void 0!==qb?qb:rb.msMatchesSelector);var sb=Node.prototype.appendChild;function tb(a){a=a.prototype;a.hasOwnProperty("append")||Object.defineProperty(a,"append",{configurable:!0,enumerable:!0,writable:!0,value:function(b){for(var c=[],d=0;d<arguments.length;++d)c[d]=arguments[d];c=ka(c);for(d=c.next();!d.done;d=c.next())d=d.value,sb.call(this,"string"===typeof d?document.createTextNode(d):d)}})}tb(Document);tb(DocumentFragment);tb(Element);var ub,vb,wb=Node.prototype.insertBefore,xb=null!==(vb=null===(ub=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild"))||void 0===ub?void 0:ub.get)&&void 0!==vb?vb:function(){return this.firstChild};
|
118
|
+
function yb(a){a=a.prototype;a.hasOwnProperty("prepend")||Object.defineProperty(a,"prepend",{configurable:!0,enumerable:!0,writable:!0,value:function(b){for(var c=[],d=0;d<arguments.length;++d)c[d]=arguments[d];d=xb.call(this);c=ka(c);for(var e=c.next();!e.done;e=c.next())e=e.value,wb.call(this,"string"===typeof e?document.createTextNode(e):e,d)}})}yb(Document);yb(DocumentFragment);yb(Element);var zb,Ab,Bb=Node.prototype.appendChild,Cb=Node.prototype.removeChild,Db=null!==(Ab=null===(zb=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild"))||void 0===zb?void 0:zb.get)&&void 0!==Ab?Ab:function(){return this.firstChild};
|
119
|
+
function Eb(a){a=a.prototype;a.hasOwnProperty("replaceChildren")||Object.defineProperty(a,"replaceChildren",{configurable:!0,enumerable:!0,writable:!0,value:function(b){for(var c=[],d=0;d<arguments.length;++d)c[d]=arguments[d];for(;null!==(d=Db.call(this));)Cb.call(this,d);c=ka(c);for(d=c.next();!d.done;d=c.next())d=d.value,Bb.call(this,"string"===typeof d?document.createTextNode(d):d)}})}Eb(Document);Eb(DocumentFragment);Eb(Element);var Fb,Gb,Hb,Ib,Jb=Node.prototype.insertBefore,Kb=null!==(Gb=null===(Fb=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode"))||void 0===Fb?void 0:Fb.get)&&void 0!==Gb?Gb:function(){return this.parentNode},Lb=null!==(Ib=null===(Hb=Object.getOwnPropertyDescriptor(Node.prototype,"nextSibling"))||void 0===Hb?void 0:Hb.get)&&void 0!==Ib?Ib:function(){return this.nextSibling};
|
120
|
+
function Mb(a){a=a.prototype;a.hasOwnProperty("after")||Object.defineProperty(a,"after",{configurable:!0,enumerable:!0,writable:!0,value:function(b){for(var c=[],d=0;d<arguments.length;++d)c[d]=arguments[d];d=Kb.call(this);if(null!==d){var e=Lb.call(this);c=ka(c);for(var f=c.next();!f.done;f=c.next())f=f.value,Jb.call(d,"string"===typeof f?document.createTextNode(f):f,e)}}})}Mb(CharacterData);Mb(Element);var Nb,Ob,Pb=Node.prototype.insertBefore,Qb=null!==(Ob=null===(Nb=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode"))||void 0===Nb?void 0:Nb.get)&&void 0!==Ob?Ob:function(){return this.parentNode};
|
121
|
+
function Rb(a){a=a.prototype;a.hasOwnProperty("before")||Object.defineProperty(a,"before",{configurable:!0,enumerable:!0,writable:!0,value:function(b){for(var c=[],d=0;d<arguments.length;++d)c[d]=arguments[d];d=Qb.call(this);if(null!==d){c=ka(c);for(var e=c.next();!e.done;e=c.next())e=e.value,Pb.call(d,"string"===typeof e?document.createTextNode(e):e,this)}}})}Rb(CharacterData);Rb(Element);var Sb,Tb,Ub=Node.prototype.removeChild,Vb=null!==(Tb=null===(Sb=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode"))||void 0===Sb?void 0:Sb.get)&&void 0!==Tb?Tb:function(){return this.parentNode};function Wb(a){a=a.prototype;a.hasOwnProperty("remove")||Object.defineProperty(a,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){var b=Vb.call(this);b&&Ub.call(b,this)}})}Wb(CharacterData);Wb(Element);var Xb,Yb,Zb=Node.prototype.insertBefore,$b=Node.prototype.removeChild,ac=null!==(Yb=null===(Xb=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode"))||void 0===Xb?void 0:Xb.get)&&void 0!==Yb?Yb:function(){return this.parentNode};
|
122
|
+
function bc(a){a=a.prototype;a.hasOwnProperty("replaceWith")||Object.defineProperty(a,"replaceWith",{configurable:!0,enumerable:!0,writable:!0,value:function(b){for(var c=[],d=0;d<arguments.length;++d)c[d]=arguments[d];d=ac.call(this);if(null!==d){c=ka(c);for(var e=c.next();!e.done;e=c.next())e=e.value,Zb.call(d,"string"===typeof e?document.createTextNode(e):e,this);$b.call(d,this)}}})}bc(CharacterData);bc(Element);var cc=window.Element.prototype,dc=window.HTMLElement.prototype,ec=window.SVGElement.prototype;!dc.hasOwnProperty("classList")||cc.hasOwnProperty("classList")||ec.hasOwnProperty("classList")||Object.defineProperty(cc,"classList",Object.getOwnPropertyDescriptor(dc,"classList"));/*
|
123
|
+
|
124
|
+
Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
|
125
|
+
This code may only be used under the BSD style license found at
|
126
|
+
http://polymer.github.io/LICENSE.txt The complete set of authors may be found
|
127
|
+
at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
|
128
|
+
be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
129
|
+
Google as part of the polymer project is also subject to an additional IP
|
130
|
+
rights grant found at http://polymer.github.io/PATENTS.txt
|
131
|
+
*/
|
132
|
+
var fc=document.createElement("style");fc.textContent="body {transition: opacity ease-in 0.2s; } \nbody[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } \n";var hc=document.querySelector("head");hc.insertBefore(fc,hc.firstChild);var ic=window;ic.WebComponents=ic.WebComponents||{flags:{}};var jc=document.querySelector('script[src*="webcomponents-bundle"]'),kc=/wc-(.+)/,lc={};if(!lc.noOpts){location.search.slice(1).split("&").forEach(function(a){a=a.split("=");var b;a[0]&&(b=a[0].match(kc))&&(lc[b[1]]=a[1]||!0)});if(jc)for(var mc=0,nc=void 0;nc=jc.attributes[mc];mc++)"src"!==nc.name&&(lc[nc.name]=nc.value||!0);var oc={};lc.log&&lc.log.split&&lc.log.split(",").forEach(function(a){oc[a]=!0});lc.log=oc}
|
133
|
+
ic.WebComponents.flags=lc;var pc=lc.shadydom;if(pc){ic.ShadyDOM=ic.ShadyDOM||{};ic.ShadyDOM.force=pc;var qc=lc.noPatch;ic.ShadyDOM.noPatch="true"===qc?!0:qc}var rc=lc.register||lc.ce;rc&&window.customElements&&(ic.customElements.forcePolyfill=rc);/*
|
134
|
+
|
135
|
+
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
136
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
137
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
138
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
139
|
+
Code distributed by Google as part of the polymer project is also
|
140
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
141
|
+
*/
|
142
|
+
(function(){function a(){}function b(p,r){if(!p.childNodes.length)return[];switch(p.nodeType){case Node.DOCUMENT_NODE:return F.call(p,r);case Node.DOCUMENT_FRAGMENT_NODE:return E.call(p,r);default:return t.call(p,r)}}var c="undefined"===typeof HTMLTemplateElement,d=!(document.createDocumentFragment().cloneNode()instanceof DocumentFragment),e=!1;/Trident/.test(navigator.userAgent)&&function(){function p(z,R){if(z instanceof DocumentFragment)for(var lb;lb=z.firstChild;)B.call(this,lb,R);else B.call(this,
|
143
|
+
z,R);return z}e=!0;var r=Node.prototype.cloneNode;Node.prototype.cloneNode=function(z){z=r.call(this,z);this instanceof DocumentFragment&&(z.__proto__=DocumentFragment.prototype);return z};DocumentFragment.prototype.querySelectorAll=HTMLElement.prototype.querySelectorAll;DocumentFragment.prototype.querySelector=HTMLElement.prototype.querySelector;Object.defineProperties(DocumentFragment.prototype,{nodeType:{get:function(){return Node.DOCUMENT_FRAGMENT_NODE},configurable:!0},localName:{get:function(){},
|
144
|
+
configurable:!0},nodeName:{get:function(){return"#document-fragment"},configurable:!0}});var B=Node.prototype.insertBefore;Node.prototype.insertBefore=p;var K=Node.prototype.appendChild;Node.prototype.appendChild=function(z){z instanceof DocumentFragment?p.call(this,z,null):K.call(this,z);return z};var aa=Node.prototype.removeChild,la=Node.prototype.replaceChild;Node.prototype.replaceChild=function(z,R){z instanceof DocumentFragment?(p.call(this,z,R),aa.call(this,R)):la.call(this,z,R);return R};Document.prototype.createDocumentFragment=
|
145
|
+
function(){var z=this.createElement("df");z.__proto__=DocumentFragment.prototype;return z};var va=Document.prototype.importNode;Document.prototype.importNode=function(z,R){R=va.call(this,z,R||!1);z instanceof DocumentFragment&&(R.__proto__=DocumentFragment.prototype);return R}}();var f=Node.prototype.cloneNode,g=Document.prototype.createElement,h=Document.prototype.importNode,k=Node.prototype.removeChild,l=Node.prototype.appendChild,m=Node.prototype.replaceChild,q=DOMParser.prototype.parseFromString,
|
146
|
+
H=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML")||{get:function(){return this.innerHTML},set:function(p){this.innerHTML=p}},C=Object.getOwnPropertyDescriptor(window.Node.prototype,"childNodes")||{get:function(){return this.childNodes}},t=Element.prototype.querySelectorAll,F=Document.prototype.querySelectorAll,E=DocumentFragment.prototype.querySelectorAll,M=function(){if(!c){var p=document.createElement("template"),r=document.createElement("template");r.content.appendChild(document.createElement("div"));
|
147
|
+
p.content.appendChild(r);p=p.cloneNode(!0);return 0===p.content.childNodes.length||0===p.content.firstChild.content.childNodes.length||d}}();if(c){var y=document.implementation.createHTMLDocument("template"),W=!0,w=document.createElement("style");w.textContent="template{display:none;}";var ta=document.head;ta.insertBefore(w,ta.firstElementChild);a.prototype=Object.create(HTMLElement.prototype);var ha=!document.createElement("div").hasOwnProperty("innerHTML");a.Z=function(p){if(!p.content&&p.namespaceURI===
|
148
|
+
document.documentElement.namespaceURI){p.content=y.createDocumentFragment();for(var r;r=p.firstChild;)l.call(p.content,r);if(ha)p.__proto__=a.prototype;else if(p.cloneNode=function(B){return a.sa(this,B)},W)try{n(p),J(p)}catch(B){W=!1}a.bootstrap(p.content)}};var sa={option:["select"],thead:["table"],col:["colgroup","table"],tr:["tbody","table"],th:["tr","tbody","table"],td:["tr","tbody","table"]},n=function(p){Object.defineProperty(p,"innerHTML",{get:function(){return wa(this)},set:function(r){var B=
|
149
|
+
sa[(/<([a-z][^/\0>\x20\t\r\n\f]+)/i.exec(r)||["",""])[1].toLowerCase()];if(B)for(var K=0;K<B.length;K++)r="<"+B[K]+">"+r+"</"+B[K]+">";y.body.innerHTML=r;for(a.bootstrap(y);this.content.firstChild;)k.call(this.content,this.content.firstChild);r=y.body;if(B)for(K=0;K<B.length;K++)r=r.lastChild;for(;r.firstChild;)l.call(this.content,r.firstChild)},configurable:!0})},J=function(p){Object.defineProperty(p,"outerHTML",{get:function(){return"<template>"+this.innerHTML+"</template>"},set:function(r){if(this.parentNode){y.body.innerHTML=
|
150
|
+
r;for(r=this.ownerDocument.createDocumentFragment();y.body.firstChild;)l.call(r,y.body.firstChild);m.call(this.parentNode,r,this)}else throw Error("Failed to set the 'outerHTML' property on 'Element': This element has no parent node.");},configurable:!0})};n(a.prototype);J(a.prototype);a.bootstrap=function(p){p=b(p,"template");for(var r=0,B=p.length,K;r<B&&(K=p[r]);r++)a.Z(K)};document.addEventListener("DOMContentLoaded",function(){a.bootstrap(document)});Document.prototype.createElement=function(){var p=
|
151
|
+
g.apply(this,arguments);"template"===p.localName&&a.Z(p);return p};DOMParser.prototype.parseFromString=function(){var p=q.apply(this,arguments);a.bootstrap(p);return p};Object.defineProperty(HTMLElement.prototype,"innerHTML",{get:function(){return wa(this)},set:function(p){H.set.call(this,p);a.bootstrap(this)},configurable:!0,enumerable:!0});var fa=/[&\u00A0"]/g,gc=/[&\u00A0<>]/g,fb=function(p){switch(p){case "&":return"&";case "<":return"<";case ">":return">";case '"':return""";case "\u00a0":return" "}};
|
152
|
+
w=function(p){for(var r={},B=0;B<p.length;B++)r[p[B]]=!0;return r};var Ua=w("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),gb=w("style script xmp iframe noembed noframes plaintext noscript".split(" ")),wa=function(p,r){"template"===p.localName&&(p=p.content);for(var B="",K=r?r(p):C.get.call(p),aa=0,la=K.length,va;aa<la&&(va=K[aa]);aa++){a:{var z=va;var R=p;var lb=r;switch(z.nodeType){case Node.ELEMENT_NODE:for(var Fc=z.localName,mb="<"+Fc,Bh=z.attributes,
|
153
|
+
oe=0;R=Bh[oe];oe++)mb+=" "+R.name+'="'+R.value.replace(fa,fb)+'"';mb+=">";z=Ua[Fc]?mb:mb+wa(z,lb)+"</"+Fc+">";break a;case Node.TEXT_NODE:z=z.data;z=R&&gb[R.localName]?z:z.replace(gc,fb);break a;case Node.COMMENT_NODE:z="\x3c!--"+z.data+"--\x3e";break a;default:throw window.console.error(z),Error("not implemented");}}B+=z}return B}}if(c||M){a.sa=function(p,r){var B=f.call(p,!1);this.Z&&this.Z(B);r&&(l.call(B.content,f.call(p.content,!0)),I(B.content,p.content));return B};var I=function(p,r){if(r.querySelectorAll&&
|
154
|
+
(r=b(r,"template"),0!==r.length)){p=b(p,"template");for(var B=0,K=p.length,aa,la;B<K;B++)la=r[B],aa=p[B],a&&a.Z&&a.Z(la),m.call(aa.parentNode,u.call(la,!0),aa)}},u=Node.prototype.cloneNode=function(p){if(!e&&d&&this instanceof DocumentFragment)if(p)var r=G.call(this.ownerDocument,this,!0);else return this.ownerDocument.createDocumentFragment();else this.nodeType===Node.ELEMENT_NODE&&"template"===this.localName&&this.namespaceURI==document.documentElement.namespaceURI?r=a.sa(this,p):r=f.call(this,
|
155
|
+
p);p&&I(r,this);return r},G=Document.prototype.importNode=function(p,r){r=r||!1;if("template"===p.localName)return a.sa(p,r);var B=h.call(this,p,r);if(r){I(B,p);p=b(B,'script:not([type]),script[type="application/javascript"],script[type="text/javascript"]');for(var K,aa=0;aa<p.length;aa++){K=p[aa];r=g.call(document,"script");r.textContent=K.textContent;for(var la=K.attributes,va=0,z;va<la.length;va++)z=la[va],r.setAttribute(z.name,z.value);m.call(K.parentNode,r,K)}}return B}}c&&(window.HTMLTemplateElement=
|
156
|
+
a)})();/*
|
157
|
+
|
158
|
+
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
159
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
160
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
161
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
162
|
+
Code distributed by Google as part of the polymer project is also
|
163
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
164
|
+
*/
|
165
|
+
function sc(){}sc.prototype.toJSON=function(){return{}};function D(a){a.__shady||(a.__shady=new sc);return a.__shady}function L(a){return a&&a.__shady};var N=window.ShadyDOM||{};N.Ya=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var tc=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");N.H=!!(tc&&tc.configurable&&tc.get);N.ya=N.force||!N.Ya;N.J=N.noPatch||!1;N.fa=N.preferPerformance;N.Aa="on-demand"===N.J;N.Na=navigator.userAgent.match("Trident");function uc(){return Document.prototype.msElementsFromPoint?"msElementsFromPoint":"elementsFromPoint"}function vc(a){return(a=L(a))&&void 0!==a.firstChild}
|
166
|
+
function O(a){return a instanceof ShadowRoot}function wc(a){return(a=(a=L(a))&&a.root)&&xc(a)}var yc=Element.prototype,zc=yc.matches||yc.matchesSelector||yc.mozMatchesSelector||yc.msMatchesSelector||yc.oMatchesSelector||yc.webkitMatchesSelector,Ac=document.createTextNode(""),Bc=0,Cc=[];(new MutationObserver(function(){for(;Cc.length;)try{Cc.shift()()}catch(a){throw Ac.textContent=Bc++,a;}})).observe(Ac,{characterData:!0});function Dc(a){Cc.push(a);Ac.textContent=Bc++}
|
167
|
+
var Ec=document.contains?function(a,b){return a.__shady_native_contains(b)}:function(a,b){return a===b||a.documentElement&&a.documentElement.__shady_native_contains(b)};function Gc(a,b){for(;b;){if(b==a)return!0;b=b.__shady_parentNode}return!1}
|
168
|
+
function Hc(a){for(var b=a.length-1;0<=b;b--){var c=a[b],d=c.getAttribute("id")||c.getAttribute("name");d&&"length"!==d&&isNaN(d)&&(a[d]=c)}a.item=function(e){return a[e]};a.namedItem=function(e){if("length"!==e&&isNaN(e)&&a[e])return a[e];for(var f=ka(a),g=f.next();!g.done;g=f.next())if(g=g.value,(g.getAttribute("id")||g.getAttribute("name"))==e)return g;return null};return a}function Ic(a){var b=[];for(a=a.__shady_native_firstChild;a;a=a.__shady_native_nextSibling)b.push(a);return b}
|
169
|
+
function Jc(a){var b=[];for(a=a.__shady_firstChild;a;a=a.__shady_nextSibling)b.push(a);return b}function Kc(a,b,c){c.configurable=!0;if(c.value)a[b]=c.value;else try{Object.defineProperty(a,b,c)}catch(d){}}function P(a,b,c,d){c=void 0===c?"":c;for(var e in b)d&&0<=d.indexOf(e)||Kc(a,c+e,b[e])}function Lc(a,b){for(var c in b)c in a&&Kc(a,c,b[c])}function Q(a){var b={};Object.getOwnPropertyNames(a).forEach(function(c){b[c]=Object.getOwnPropertyDescriptor(a,c)});return b}
|
170
|
+
function Mc(a,b){for(var c=Object.getOwnPropertyNames(b),d=0,e;d<c.length;d++)e=c[d],a[e]=b[e]}function Nc(a){return a instanceof Node?a:document.createTextNode(""+a)}function Oc(a){for(var b=[],c=0;c<arguments.length;++c)b[c]=arguments[c];if(1===b.length)return Nc(b[0]);c=document.createDocumentFragment();b=ka(b);for(var d=b.next();!d.done;d=b.next())c.appendChild(Nc(d.value));return c};var Pc=[],Qc;function Rc(a){Qc||(Qc=!0,Dc(Sc));Pc.push(a)}function Sc(){Qc=!1;for(var a=!!Pc.length;Pc.length;)Pc.shift()();return a}Sc.list=Pc;function Tc(){this.g=!1;this.addedNodes=[];this.removedNodes=[];this.oa=new Set}function Uc(a){a.g||(a.g=!0,Dc(function(){a.flush()}))}Tc.prototype.flush=function(){if(this.g){this.g=!1;var a=this.takeRecords();a.length&&this.oa.forEach(function(b){b(a)})}};Tc.prototype.takeRecords=function(){if(this.addedNodes.length||this.removedNodes.length){var a=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];this.addedNodes=[];this.removedNodes=[];return a}return[]};
|
171
|
+
function Vc(a,b){var c=D(a);c.ea||(c.ea=new Tc);c.ea.oa.add(b);var d=c.ea;return{Ra:b,X:d,Sa:a,takeRecords:function(){return d.takeRecords()}}}function Wc(a){var b=a&&a.X;b&&(b.oa.delete(a.Ra),b.oa.size||(D(a.Sa).ea=null))}
|
172
|
+
function Xc(a,b){var c=b.getRootNode();return a.map(function(d){var e=c===d.target.getRootNode();if(e&&d.addedNodes){if(e=[].slice.call(d.addedNodes).filter(function(f){return c===f.getRootNode()}),e.length)return d=Object.create(d),Object.defineProperty(d,"addedNodes",{value:e,configurable:!0}),d}else if(e)return d}).filter(function(d){return d})};var Yc=/[&\u00A0"]/g,Zc=/[&\u00A0<>]/g;function $c(a){switch(a){case "&":return"&";case "<":return"<";case ">":return">";case '"':return""";case "\u00a0":return" "}}function ad(a){for(var b={},c=0;c<a.length;c++)b[a[c]]=!0;return b}var bd=ad("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),cd=ad("style script xmp iframe noembed noframes plaintext noscript".split(" "));
|
173
|
+
function dd(a,b){"template"===a.localName&&(a=a.content);for(var c="",d=b?b(a):a.childNodes,e=0,f=d.length,g=void 0;e<f&&(g=d[e]);e++){a:{var h=g;var k=a,l=b;switch(h.nodeType){case Node.ELEMENT_NODE:k=h.localName;for(var m="<"+k,q=h.attributes,H=0,C;C=q[H];H++)m+=" "+C.name+'="'+C.value.replace(Yc,$c)+'"';m+=">";h=bd[k]?m:m+dd(h,l)+"</"+k+">";break a;case Node.TEXT_NODE:h=h.data;h=k&&cd[k.localName]?h:h.replace(Zc,$c);break a;case Node.COMMENT_NODE:h="\x3c!--"+h.data+"--\x3e";break a;default:throw window.console.error(h),
|
174
|
+
Error("not implemented");}}c+=h}return c};var ed=N.H,fd={querySelector:function(a){return this.__shady_native_querySelector(a)},querySelectorAll:function(a){return this.__shady_native_querySelectorAll(a)}},gd={};function hd(a){gd[a]=function(b){return b["__shady_native_"+a]}}function id(a,b){P(a,b,"__shady_native_");for(var c in b)hd(c)}function S(a,b){b=void 0===b?[]:b;for(var c=0;c<b.length;c++){var d=b[c],e=Object.getOwnPropertyDescriptor(a,d);e&&(Object.defineProperty(a,"__shady_native_"+d,e),e.value?fd[d]||(fd[d]=e.value):hd(d))}}
|
175
|
+
var jd=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),kd=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1),ld=document.implementation.createHTMLDocument("inert");function md(a){for(var b;b=a.__shady_native_firstChild;)a.__shady_native_removeChild(b)}var nd=["firstElementChild","lastElementChild","children","childElementCount"],od=["querySelector","querySelectorAll","append","prepend","replaceChildren"];
|
176
|
+
function pd(){var a=["dispatchEvent","addEventListener","removeEventListener"];window.EventTarget?(S(window.EventTarget.prototype,a),void 0===window.__shady_native_addEventListener&&S(Window.prototype,a)):(S(Node.prototype,a),S(Window.prototype,a));ed?S(Node.prototype,"parentNode firstChild lastChild previousSibling nextSibling childNodes parentElement textContent".split(" ")):id(Node.prototype,{parentNode:{get:function(){jd.currentNode=this;return jd.parentNode()}},firstChild:{get:function(){jd.currentNode=
|
177
|
+
this;return jd.firstChild()}},lastChild:{get:function(){jd.currentNode=this;return jd.lastChild()}},previousSibling:{get:function(){jd.currentNode=this;return jd.previousSibling()}},nextSibling:{get:function(){jd.currentNode=this;return jd.nextSibling()}},childNodes:{get:function(){var b=[];jd.currentNode=this;for(var c=jd.firstChild();c;)b.push(c),c=jd.nextSibling();return b}},parentElement:{get:function(){kd.currentNode=this;return kd.parentNode()}},textContent:{get:function(){switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:for(var b=
|
178
|
+
document.createTreeWalker(this,NodeFilter.SHOW_TEXT,null,!1),c="",d;d=b.nextNode();)c+=d.nodeValue;return c;default:return this.nodeValue}},set:function(b){if("undefined"===typeof b||null===b)b="";switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:md(this);(0<b.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_native_insertBefore(document.createTextNode(b),void 0);break;default:this.nodeValue=b}}}});S(Node.prototype,"appendChild insertBefore removeChild replaceChild cloneNode contains".split(" "));
|
179
|
+
S(HTMLElement.prototype,["parentElement","contains"]);a={firstElementChild:{get:function(){kd.currentNode=this;return kd.firstChild()}},lastElementChild:{get:function(){kd.currentNode=this;return kd.lastChild()}},children:{get:function(){var b=[];kd.currentNode=this;for(var c=kd.firstChild();c;)b.push(c),c=kd.nextSibling();return Hc(b)}},childElementCount:{get:function(){return this.children?this.children.length:0}}};ed?(S(Element.prototype,nd),S(Element.prototype,["previousElementSibling","nextElementSibling",
|
180
|
+
"innerHTML","className"]),S(HTMLElement.prototype,["children","innerHTML","className"])):(id(Element.prototype,a),id(Element.prototype,{previousElementSibling:{get:function(){kd.currentNode=this;return kd.previousSibling()}},nextElementSibling:{get:function(){kd.currentNode=this;return kd.nextSibling()}},innerHTML:{get:function(){return dd(this,Ic)},set:function(b){var c="template"===this.localName?this.content:this;md(c);var d=this.localName||"div";d=this.namespaceURI&&this.namespaceURI!==ld.namespaceURI?
|
181
|
+
ld.createElementNS(this.namespaceURI,d):ld.createElement(d);d.innerHTML=b;for(b="template"===this.localName?d.content:d;d=b.__shady_native_firstChild;)c.__shady_native_insertBefore(d,void 0)}},className:{get:function(){return this.getAttribute("class")||""},set:function(b){this.setAttribute("class",b)}}}));S(Element.prototype,"setAttribute getAttribute hasAttribute removeAttribute focus blur".split(" "));S(Element.prototype,od);S(HTMLElement.prototype,["focus","blur"]);window.HTMLTemplateElement&&
|
182
|
+
S(window.HTMLTemplateElement.prototype,["innerHTML"]);ed?S(DocumentFragment.prototype,nd):id(DocumentFragment.prototype,a);S(DocumentFragment.prototype,od);ed?(S(Document.prototype,nd),S(Document.prototype,["activeElement"])):id(Document.prototype,a);S(Document.prototype,["importNode","getElementById","elementFromPoint",uc()]);S(Document.prototype,od)};var qd=Q({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}}),rd=Q({get textContent(){return this.__shady_textContent},set textContent(a){this.__shady_textContent=
|
183
|
+
a},get innerHTML(){return this.__shady_innerHTML},set innerHTML(a){this.__shady_innerHTML=a}}),sd=Q({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(a){this.__shady_className=
|
184
|
+
a}});function td(a){for(var b in a){var c=a[b];c&&(c.enumerable=!1)}}td(qd);td(rd);td(sd);var ud=N.H||!0===N.J,vd=ud?function(){}:function(a){var b=D(a);b.Pa||(b.Pa=!0,Lc(a,sd))},wd=ud?function(){}:function(a){var b=D(a);b.Oa||(b.Oa=!0,Lc(a,qd),window.customElements&&window.customElements.polyfillWrapFlushCallback&&!N.J||Lc(a,rd))};var xd="__eventWrappers"+Date.now(),yd=function(){var a=Object.getOwnPropertyDescriptor(Event.prototype,"composed");return a?function(b){return a.get.call(b)}:null}(),zd=function(){function a(){}var b=!1,c={get capture(){b=!0;return!1}};window.addEventListener("test",a,c);window.removeEventListener("test",a,c);return b}();function Ad(a){if(a&&"object"===typeof a){var b=!!a.capture;var c=!!a.once;var d=!!a.passive;var e=a.U}else b=!!a,d=c=!1;return{La:e,capture:b,once:c,passive:d,Ja:zd?a:b}}
|
185
|
+
var Bd={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,
|
186
|
+
drag:!0,dragenter:!0,dragleave:!0,dragover:!0,drop:!0,dragend:!0,DOMActivate:!0,DOMFocusIn:!0,DOMFocusOut:!0,keypress:!0},Cd={DOMAttrModified:!0,DOMAttributeNameChanged:!0,DOMCharacterDataModified:!0,DOMElementNameChanged:!0,DOMNodeInserted:!0,DOMNodeInsertedIntoDocument:!0,DOMNodeRemoved:!0,DOMNodeRemovedFromDocument:!0,DOMSubtreeModified:!0};function Dd(a){return a instanceof Node?a.__shady_getRootNode():a}
|
187
|
+
function Ed(a,b){var c=[],d=a;for(a=Dd(a);d;)c.push(d),d=d.__shady_assignedSlot?d.__shady_assignedSlot:d.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&d.host&&(b||d!==a)?d.host:d.__shady_parentNode;c[c.length-1]===document&&c.push(window);return c}function Fd(a){a.__composedPath||(a.__composedPath=Ed(a.target,!0));return a.__composedPath}function Gd(a,b){if(!O)return a;a=Ed(a,!0);for(var c=0,d,e=void 0,f,g=void 0;c<b.length;c++)if(d=b[c],f=Dd(d),f!==e&&(g=a.indexOf(f),e=f),!O(f)||-1<g)return d}
|
188
|
+
function Hd(a){function b(c,d){c=new a(c,d);c.__composed=d&&!!d.composed;return c}b.__proto__=a;b.prototype=a.prototype;return b}var Id={focus:!0,blur:!0};function Jd(a){return a.__target!==a.target||a.__relatedTarget!==a.relatedTarget}function Kd(a,b,c){if(c=b.__handlers&&b.__handlers[a.type]&&b.__handlers[a.type][c])for(var d=0,e;(e=c[d])&&(!Jd(a)||a.target!==a.relatedTarget)&&(e.call(b,a),!a.__immediatePropagationStopped);d++);}
|
189
|
+
function Ld(a){var b=a.composedPath(),c=b.map(function(k){return Gd(k,b)}),d=a.bubbles;Object.defineProperty(a,"currentTarget",{configurable:!0,enumerable:!0,get:function(){return g}});var e=Event.CAPTURING_PHASE;Object.defineProperty(a,"eventPhase",{configurable:!0,enumerable:!0,get:function(){return e}});for(var f=b.length-1;0<=f;f--){var g=b[f];e=g===c[f]?Event.AT_TARGET:Event.CAPTURING_PHASE;Kd(a,g,"capture");if(a.ra)return}for(f=0;f<b.length;f++){g=b[f];var h=g===c[f];if(h||d)if(e=h?Event.AT_TARGET:
|
190
|
+
Event.BUBBLING_PHASE,Kd(a,g,"bubble"),a.ra)return}e=0;g=null}function Md(a,b,c,d,e,f){for(var g=0;g<a.length;g++){var h=a[g],k=h.type,l=h.capture,m=h.once,q=h.passive;if(b===h.node&&c===k&&d===l&&e===m&&f===q)return g}return-1}function Nd(a){Sc();return!N.fa&&this instanceof Node&&!Ec(document,this)?(a.__target||Od(a,this),Ld(a)):this.__shady_native_dispatchEvent(a)}
|
191
|
+
function Pd(a,b,c){var d=Ad(c),e=d.capture,f=d.once,g=d.passive,h=d.La;d=d.Ja;if(b){var k=typeof b;if("function"===k||"object"===k)if("object"!==k||b.handleEvent&&"function"===typeof b.handleEvent){if(Cd[a])return this.__shady_native_addEventListener(a,b,d);var l=h||this;if(h=b[xd]){if(-1<Md(h,l,a,e,f,g))return}else b[xd]=[];h=function(m){f&&this.__shady_removeEventListener(a,b,c);m.__target||Od(m);if(l!==this){var q=Object.getOwnPropertyDescriptor(m,"currentTarget");Object.defineProperty(m,"currentTarget",
|
192
|
+
{get:function(){return l},configurable:!0});var H=Object.getOwnPropertyDescriptor(m,"eventPhase");Object.defineProperty(m,"eventPhase",{configurable:!0,enumerable:!0,get:function(){return e?Event.CAPTURING_PHASE:Event.BUBBLING_PHASE}})}m.__previousCurrentTarget=m.currentTarget;if(!O(l)&&"slot"!==l.localName||-1!=m.composedPath().indexOf(l))if(m.composed||-1<m.composedPath().indexOf(l))if(Jd(m)&&m.target===m.relatedTarget)m.eventPhase===Event.BUBBLING_PHASE&&m.stopImmediatePropagation();else if(m.eventPhase===
|
193
|
+
Event.CAPTURING_PHASE||m.bubbles||m.target===l||l instanceof Window){var C="function"===k?b.call(l,m):b.handleEvent&&b.handleEvent(m);l!==this&&(q?(Object.defineProperty(m,"currentTarget",q),q=null):delete m.currentTarget,H?(Object.defineProperty(m,"eventPhase",H),H=null):delete m.eventPhase);return C}};b[xd].push({node:l,type:a,capture:e,once:f,passive:g,pb:h});this.__handlers=this.__handlers||{};this.__handlers[a]=this.__handlers[a]||{capture:[],bubble:[]};this.__handlers[a][e?"capture":"bubble"].push(h);
|
194
|
+
Id[a]||this.__shady_native_addEventListener(a,h,d)}}}
|
195
|
+
function Qd(a,b,c){if(b){var d=Ad(c);c=d.capture;var e=d.once,f=d.passive,g=d.La;d=d.Ja;if(Cd[a])return this.__shady_native_removeEventListener(a,b,d);var h=g||this;g=void 0;var k=null;try{k=b[xd]}catch(l){}k&&(e=Md(k,h,a,c,e,f),-1<e&&(g=k.splice(e,1)[0].pb,k.length||(b[xd]=void 0)));this.__shady_native_removeEventListener(a,g||b,d);g&&this.__handlers&&this.__handlers[a]&&(a=this.__handlers[a][c?"capture":"bubble"],b=a.indexOf(g),-1<b&&a.splice(b,1))}}
|
196
|
+
function Rd(){for(var a in Id)window.__shady_native_addEventListener(a,function(b){b.__target||(Od(b),Ld(b))},!0)}
|
197
|
+
var Sd=Q({get composed(){void 0===this.__composed&&(yd?this.__composed="focusin"===this.type||"focusout"===this.type||yd(this):!1!==this.isTrusted&&(this.__composed=Bd[this.type]));return this.__composed||!1},composedPath:function(){this.__composedPath||(this.__composedPath=Ed(this.__target,this.composed));return this.__composedPath},get target(){return Gd(this.currentTarget||this.__previousCurrentTarget,this.composedPath())},get relatedTarget(){if(!this.__relatedTarget)return null;this.__relatedTargetComposedPath||
|
198
|
+
(this.__relatedTargetComposedPath=Ed(this.__relatedTarget,!0));return Gd(this.currentTarget||this.__previousCurrentTarget,this.__relatedTargetComposedPath)},stopPropagation:function(){Event.prototype.stopPropagation.call(this);this.ra=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this);this.ra=this.__immediatePropagationStopped=!0}});
|
199
|
+
function Od(a,b){b=void 0===b?a.target:b;a.__target=b;a.__relatedTarget=a.relatedTarget;if(N.H){b=Object.getPrototypeOf(a);if(!b.hasOwnProperty("__shady_patchedProto")){var c=Object.create(b);c.__shady_sourceProto=b;P(c,Sd);b.__shady_patchedProto=c}a.__proto__=b.__shady_patchedProto}else P(a,Sd)}var Td=Hd(Event),Ud=Hd(CustomEvent),Vd=Hd(MouseEvent);
|
200
|
+
function Wd(){if(!yd&&Object.getOwnPropertyDescriptor(Event.prototype,"isTrusted")){var a=function(){var b=new MouseEvent("click",{bubbles:!0,cancelable:!0,composed:!0});this.__shady_dispatchEvent(b)};Element.prototype.click?Element.prototype.click=a:HTMLElement.prototype.click&&(HTMLElement.prototype.click=a)}}
|
201
|
+
var Xd=Object.getOwnPropertyNames(Element.prototype).filter(function(a){return"on"===a.substring(0,2)}),Yd=Object.getOwnPropertyNames(HTMLElement.prototype).filter(function(a){return"on"===a.substring(0,2)});function Zd(a){return{set:function(b){var c=D(this),d=a.substring(2);c.T||(c.T={});c.T[a]&&this.removeEventListener(d,c.T[a]);this.__shady_addEventListener(d,b);c.T[a]=b},get:function(){var b=L(this);return b&&b.T&&b.T[a]},configurable:!0}};function $d(a,b){return{index:a,ga:[],na:b}}
|
202
|
+
function ae(a,b,c,d){var e=0,f=0,g=0,h=0,k=Math.min(b-e,d-f);if(0==e&&0==f)a:{for(g=0;g<k;g++)if(a[g]!==c[g])break a;g=k}if(b==a.length&&d==c.length){h=a.length;for(var l=c.length,m=0;m<k-g&&be(a[--h],c[--l]);)m++;h=m}e+=g;f+=g;b-=h;d-=h;if(0==b-e&&0==d-f)return[];if(e==b){for(b=$d(e,0);f<d;)b.ga.push(c[f++]);return[b]}if(f==d)return[$d(e,b-e)];k=e;g=f;d=d-g+1;h=b-k+1;b=Array(d);for(l=0;l<d;l++)b[l]=Array(h),b[l][0]=l;for(l=0;l<h;l++)b[0][l]=l;for(l=1;l<d;l++)for(m=1;m<h;m++)if(a[k+m-1]===c[g+l-1])b[l][m]=
|
203
|
+
b[l-1][m-1];else{var q=b[l-1][m]+1,H=b[l][m-1]+1;b[l][m]=q<H?q:H}k=b.length-1;g=b[0].length-1;d=b[k][g];for(a=[];0<k||0<g;)0==k?(a.push(2),g--):0==g?(a.push(3),k--):(h=b[k-1][g-1],l=b[k-1][g],m=b[k][g-1],q=l<m?l<h?l:h:m<h?m:h,q==h?(h==d?a.push(0):(a.push(1),d=h),k--,g--):q==l?(a.push(3),k--,d=l):(a.push(2),g--,d=m));a.reverse();b=void 0;k=[];for(g=0;g<a.length;g++)switch(a[g]){case 0:b&&(k.push(b),b=void 0);e++;f++;break;case 1:b||(b=$d(e,0));b.na++;e++;b.ga.push(c[f]);f++;break;case 2:b||(b=$d(e,
|
204
|
+
0));b.na++;e++;break;case 3:b||(b=$d(e,0)),b.ga.push(c[f]),f++}b&&k.push(b);return k}function be(a,b){return a===b};var ce=Q({dispatchEvent:Nd,addEventListener:Pd,removeEventListener:Qd});var de=null;function ee(){de||(de=window.ShadyCSS&&window.ShadyCSS.ScopingShim);return de||null}function fe(a,b,c){var d=ee();return d&&"class"===b?(d.setElementClass(a,c),!0):!1}function ge(a,b){var c=ee();c&&c.unscopeNode(a,b)}function he(a,b){var c=ee();if(!c)return!0;if(a.nodeType===Node.DOCUMENT_FRAGMENT_NODE){c=!0;for(a=a.__shady_firstChild;a;a=a.__shady_nextSibling)c=c&&he(a,b);return c}return a.nodeType!==Node.ELEMENT_NODE?!0:c.currentScopeForNode(a)===b}
|
205
|
+
function ie(a){if(a.nodeType!==Node.ELEMENT_NODE)return"";var b=ee();return b?b.currentScopeForNode(a):""}function je(a,b){if(a)for(a.nodeType===Node.ELEMENT_NODE&&b(a),a=a.__shady_firstChild;a;a=a.__shady_nextSibling)a.nodeType===Node.ELEMENT_NODE&&je(a,b)};var ke=window.document,le=N.fa,me=Object.getOwnPropertyDescriptor(Node.prototype,"isConnected"),ne=me&&me.get;function pe(a){for(var b;b=a.__shady_firstChild;)a.__shady_removeChild(b)}function qe(a){var b=L(a);if(b&&void 0!==b.qa)for(b=a.__shady_firstChild;b;b=b.__shady_nextSibling)qe(b);if(a=L(a))a.qa=void 0}function re(a){var b=a;if(a&&"slot"===a.localName){var c=L(a);(c=c&&c.aa)&&(b=c.length?c[0]:re(a.__shady_nextSibling))}return b}
|
206
|
+
function se(a,b,c){if(a=(a=L(a))&&a.ea){if(b)if(b.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(var d=0,e=b.childNodes.length;d<e;d++)a.addedNodes.push(b.childNodes[d]);else a.addedNodes.push(b);c&&a.removedNodes.push(c);Uc(a)}}
|
207
|
+
var ze=Q({get parentNode(){var a=L(this);a=a&&a.parentNode;return void 0!==a?a:this.__shady_native_parentNode},get firstChild(){var a=L(this);a=a&&a.firstChild;return void 0!==a?a:this.__shady_native_firstChild},get lastChild(){var a=L(this);a=a&&a.lastChild;return void 0!==a?a:this.__shady_native_lastChild},get nextSibling(){var a=L(this);a=a&&a.nextSibling;return void 0!==a?a:this.__shady_native_nextSibling},get previousSibling(){var a=L(this);a=a&&a.previousSibling;return void 0!==a?a:this.__shady_native_previousSibling},
|
208
|
+
get childNodes(){if(vc(this)){var a=L(this);if(!a.childNodes){a.childNodes=[];for(var b=this.__shady_firstChild;b;b=b.__shady_nextSibling)a.childNodes.push(b)}var c=a.childNodes}else c=this.__shady_native_childNodes;c.item=function(d){return c[d]};return c},get parentElement(){var a=L(this);(a=a&&a.parentNode)&&a.nodeType!==Node.ELEMENT_NODE&&(a=null);return void 0!==a?a:this.__shady_native_parentElement},get isConnected(){if(ne&&ne.call(this))return!0;if(this.nodeType==Node.DOCUMENT_FRAGMENT_NODE)return!1;
|
209
|
+
var a=this.ownerDocument;if(null===a||Ec(a,this))return!0;for(a=this;a&&!(a instanceof Document);)a=a.__shady_parentNode||(O(a)?a.host:void 0);return!!(a&&a instanceof Document)},get textContent(){if(vc(this)){for(var a=[],b=this.__shady_firstChild;b;b=b.__shady_nextSibling)b.nodeType!==Node.COMMENT_NODE&&a.push(b.__shady_textContent);return a.join("")}return this.__shady_native_textContent},set textContent(a){if("undefined"===typeof a||null===a)a="";switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:if(!vc(this)&&
|
210
|
+
N.H){var b=this.__shady_firstChild;(b!=this.__shady_lastChild||b&&b.nodeType!=Node.TEXT_NODE)&&pe(this);this.__shady_native_textContent=a}else pe(this),(0<a.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_insertBefore(document.createTextNode(a));break;default:this.nodeValue=a}},insertBefore:function(a,b){if(this.ownerDocument!==ke&&a.ownerDocument!==ke)return this.__shady_native_insertBefore(a,b),a;if(a===this)throw Error("Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");
|
211
|
+
if(b){var c=L(b);c=c&&c.parentNode;if(void 0!==c&&c!==this||void 0===c&&b.__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(b===a)return a;se(this,a);var d=[],e=(c=te(this))?c.host.localName:ie(this),f=a.__shady_parentNode;if(f){var g=ie(a);var h=!!c||!te(a)||le&&void 0!==this.__noInsertionPoint;f.__shady_removeChild(a,h)}f=!0;var k=(!le||void 0===a.__noInsertionPoint&&void 0===
|
212
|
+
this.__noInsertionPoint)&&!he(a,e),l=c&&!a.__noInsertionPoint&&(!le||a.nodeType===Node.DOCUMENT_FRAGMENT_NODE);if(l||k)k&&(g=g||ie(a)),je(a,function(m){l&&"slot"===m.localName&&d.push(m);if(k){var q=g;ee()&&(q&&ge(m,q),(q=ee())&&q.scopeNode(m,e))}});d.length&&(ue(c),c.i.push.apply(c.i,x(d)),ve(c));vc(this)&&(we(a,this,b),h=L(this),h.root?(f=!1,wc(this)&&ve(h.root)):c&&"slot"===this.localName&&(f=!1,ve(c)));f?(c=O(this)?this.host:this,b?(b=re(b),c.__shady_native_insertBefore(a,b)):c.__shady_native_appendChild(a)):
|
213
|
+
a.ownerDocument!==this.ownerDocument&&this.ownerDocument.adoptNode(a);return a},appendChild:function(a){if(this!=a||!O(a))return this.__shady_insertBefore(a)},removeChild:function(a,b){b=void 0===b?!1:b;if(this.ownerDocument!==ke)return this.__shady_native_removeChild(a);if(a.__shady_parentNode!==this)throw Error("The node to be removed is not a child of this node: "+a);se(this,null,a);var c=te(a),d=c&&xe(c,a),e=L(this);if(vc(this)&&(ye(a,this),wc(this))){ve(e.root);var f=!0}if(ee()&&!b&&c&&a.nodeType!==
|
214
|
+
Node.TEXT_NODE){var g=ie(a);je(a,function(h){ge(h,g)})}qe(a);c&&((b="slot"===this.localName)&&(f=!0),(d||b)&&ve(c));f||(f=O(this)?this.host:this,(!e.root&&"slot"!==a.localName||f===a.__shady_native_parentNode)&&f.__shady_native_removeChild(a));return a},replaceChild:function(a,b){this.__shady_insertBefore(a,b);this.__shady_removeChild(b);return a},cloneNode:function(a){if("template"==this.localName)return this.__shady_native_cloneNode(a);var b=this.__shady_native_cloneNode(!1);if(a&&b.nodeType!==
|
215
|
+
Node.ATTRIBUTE_NODE){a=this.__shady_firstChild;for(var c;a;a=a.__shady_nextSibling)c=a.__shady_cloneNode(!0),b.__shady_appendChild(c)}return b},getRootNode:function(a){if(this&&this.nodeType){var b=D(this),c=b.qa;void 0===c&&(O(this)?(c=this,b.qa=c):(c=(c=this.__shady_parentNode)?c.__shady_getRootNode(a):this,document.documentElement.__shady_native_contains(this)&&(b.qa=c)));return c}},contains:function(a){return Gc(this,a)}});var Be=Q({get assignedSlot(){var a=this.__shady_parentNode;(a=a&&a.__shady_shadowRoot)&&Ae(a);return(a=L(this))&&a.assignedSlot||null}});function Ce(a,b,c){var d=[];De(a,b,c,d);return d}function De(a,b,c,d){for(a=a.__shady_firstChild;a;a=a.__shady_nextSibling){var e;if(e=a.nodeType===Node.ELEMENT_NODE){e=a;var f=b,g=c,h=d,k=f(e);k&&h.push(e);g&&g(k)?e=k:(De(e,f,g,h),e=void 0)}if(e)break}}
|
216
|
+
var Ee={get firstElementChild(){var a=L(this);if(a&&void 0!==a.firstChild){for(a=this.__shady_firstChild;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.__shady_nextSibling;return a}return this.__shady_native_firstElementChild},get lastElementChild(){var a=L(this);if(a&&void 0!==a.lastChild){for(a=this.__shady_lastChild;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.__shady_previousSibling;return a}return this.__shady_native_lastElementChild},get children(){return vc(this)?Hc(Array.prototype.filter.call(Jc(this),
|
217
|
+
function(a){return a.nodeType===Node.ELEMENT_NODE})):this.__shady_native_children},get childElementCount(){var a=this.__shady_children;return a?a.length:0}},Fe=Q((Ee.append=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c]=arguments[c];this.__shady_insertBefore(Oc.apply(null,x(b)),null)},Ee.prepend=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c]=arguments[c];this.__shady_insertBefore(Oc.apply(null,x(b)),this.__shady_firstChild)},Ee.replaceChildren=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c]=
|
218
|
+
arguments[c];for(;null!==(c=this.__shady_firstChild);)this.__shady_removeChild(c);this.__shady_insertBefore(Oc.apply(null,x(b)),null)},Ee)),Ge=Q({querySelector:function(a){return Ce(this,function(b){return zc.call(b,a)},function(b){return!!b})[0]||null},querySelectorAll:function(a,b){if(b){b=Array.prototype.slice.call(this.__shady_native_querySelectorAll(a));var c=this.__shady_getRootNode();return Hc(b.filter(function(d){return d.__shady_getRootNode()==c}))}return Hc(Ce(this,function(d){return zc.call(d,
|
219
|
+
a)}))}}),He=N.fa&&!N.J?Mc({},Fe):Fe;Mc(Fe,Ge);var Ie=Q({after:function(a){for(var b=[],c=0;c<arguments.length;++c)b[c]=arguments[c];c=this.__shady_parentNode;if(null!==c){var d=this.__shady_nextSibling;c.__shady_insertBefore(Oc.apply(null,x(b)),d)}},before:function(a){for(var b=[],c=0;c<arguments.length;++c)b[c]=arguments[c];c=this.__shady_parentNode;null!==c&&c.__shady_insertBefore(Oc.apply(null,x(b)),this)},remove:function(){var a=this.__shady_parentNode;null!==a&&a.__shady_removeChild(this)},replaceWith:function(a){for(var b=[],c=0;c<arguments.length;++c)b[c]=
|
220
|
+
arguments[c];c=this.__shady_parentNode;if(null!==c){var d=this.__shady_nextSibling;c.__shady_removeChild(this);c.__shady_insertBefore(Oc.apply(null,x(b)),d)}}});var Je=window.document;function Ke(a,b){if("slot"===b)a=a.__shady_parentNode,wc(a)&&ve(L(a).root);else if("slot"===a.localName&&"name"===b&&(b=te(a))){if(b.g){Le(b);var c=a.Qa,d=Me(a);if(d!==c){c=b.h[c];var e=c.indexOf(a);0<=e&&c.splice(e,1);c=b.h[d]||(b.h[d]=[]);c.push(a);1<c.length&&(b.h[d]=Ne(c))}}ve(b)}}
|
221
|
+
var Oe=Q({get previousElementSibling(){var a=L(this);if(a&&void 0!==a.previousSibling){for(a=this.__shady_previousSibling;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.__shady_previousSibling;return a}return this.__shady_native_previousElementSibling},get nextElementSibling(){var a=L(this);if(a&&void 0!==a.nextSibling){for(a=this.__shady_nextSibling;a&&a.nodeType!==Node.ELEMENT_NODE;)a=a.__shady_nextSibling;return a}return this.__shady_native_nextElementSibling},get slot(){return this.getAttribute("slot")},
|
222
|
+
set slot(a){this.__shady_setAttribute("slot",a)},get className(){return this.getAttribute("class")||""},set className(a){this.__shady_setAttribute("class",a)},setAttribute:function(a,b){this.ownerDocument!==Je?this.__shady_native_setAttribute(a,b):fe(this,a,b)||(this.__shady_native_setAttribute(a,b),Ke(this,a))},removeAttribute:function(a){this.ownerDocument!==Je?this.__shady_native_removeAttribute(a):fe(this,a,"")?""===this.getAttribute(a)&&this.__shady_native_removeAttribute(a):(this.__shady_native_removeAttribute(a),
|
223
|
+
Ke(this,a))}});N.fa||Xd.forEach(function(a){Oe[a]=Zd(a)});
|
224
|
+
var Te=Q({attachShadow:function(a){if(!this)throw Error("Must provide a host.");if(!a)throw Error("Not enough arguments.");if(a.shadyUpgradeFragment&&!N.Na){var b=a.shadyUpgradeFragment;b.__proto__=ShadowRoot.prototype;Pe(b,this,a);Qe(b,b);a=b.__noInsertionPoint?null:b.querySelectorAll("slot");b.__noInsertionPoint=void 0;if(a&&a.length){var c=b;ue(c);c.i.push.apply(c.i,x(a));ve(b)}b.host.__shady_native_appendChild(b)}else b=new Re(Se,this,a);return this.__CE_shadowRoot=b},get shadowRoot(){var a=L(this);
|
225
|
+
return a&&a.gb||null}});Mc(Oe,Te);var Ue=document.implementation.createHTMLDocument("inert"),Ve=Q({get innerHTML(){return vc(this)?dd("template"===this.localName?this.content:this,Jc):this.__shady_native_innerHTML},set innerHTML(a){if("template"===this.localName)this.__shady_native_innerHTML=a;else{pe(this);var b=this.localName||"div";b=this.namespaceURI&&this.namespaceURI!==Ue.namespaceURI?Ue.createElementNS(this.namespaceURI,b):Ue.createElement(b);for(N.H?b.__shady_native_innerHTML=a:b.innerHTML=a;a=b.__shady_firstChild;)this.__shady_insertBefore(a)}}});var We=Q({blur:function(){var a=L(this);(a=(a=a&&a.root)&&a.activeElement)?a.__shady_blur():this.__shady_native_blur()}});N.fa||Yd.forEach(function(a){We[a]=Zd(a)});var Xe=Q({assignedNodes:function(a){if("slot"===this.localName){var b=this.__shady_getRootNode();b&&O(b)&&Ae(b);return(b=L(this))?(a&&a.flatten?b.aa:b.assignedNodes)||[]:[]}},addEventListener:function(a,b,c){if("slot"!==this.localName||"slotchange"===a)Pd.call(this,a,b,c);else{"object"!==typeof c&&(c={capture:!!c});var d=this.__shady_parentNode;if(!d)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");c.U=this;d.__shady_addEventListener(a,b,c)}},removeEventListener:function(a,
|
226
|
+
b,c){if("slot"!==this.localName||"slotchange"===a)Qd.call(this,a,b,c);else{"object"!==typeof c&&(c={capture:!!c});var d=this.__shady_parentNode;if(!d)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");c.U=this;d.__shady_removeEventListener(a,b,c)}}});var Ye=Q({getElementById:function(a){return""===a?null:Ce(this,function(b){return b.id==a},function(b){return!!b})[0]||null}});function Ze(a,b){for(var c;b&&!a.has(c=b.__shady_getRootNode());)b=c.host;return b}function $e(a){var b=new Set;for(b.add(a);O(a)&&a.host;)a=a.host.__shady_getRootNode(),b.add(a);return b}
|
227
|
+
var af="__shady_native_"+uc(),bf=Q({get activeElement(){var a=N.H?document.__shady_native_activeElement:document.activeElement;if(!a||!a.nodeType)return null;var b=!!O(this);if(!(this===document||b&&this.host!==a&&this.host.__shady_native_contains(a)))return null;for(b=te(a);b&&b!==this;)a=b.host,b=te(a);return this===document?b?null:a:b===this?a:null},elementsFromPoint:function(a,b){a=[].slice.call(document[af](a,b));b=$e(this);for(var c=new Set,d=0;d<a.length;d++)c.add(Ze(b,a[d]));var e=[];c.forEach(function(f){return e.push(f)});
|
228
|
+
return e},elementFromPoint:function(a,b){return this.__shady_elementsFromPoint(a,b)[0]||null}});var cf=window.document,df=Q({importNode:function(a,b){if(a.ownerDocument!==cf||"template"===a.localName)return this.__shady_native_importNode(a,b);var c=this.__shady_native_importNode(a,!1);if(b)for(a=a.__shady_firstChild;a;a=a.__shady_nextSibling)b=this.__shady_importNode(a,!0),c.__shady_appendChild(b);return c}});var ef=Q({dispatchEvent:Nd,addEventListener:Pd.bind(window),removeEventListener:Qd.bind(window)});var ff={};Object.getOwnPropertyDescriptor(HTMLElement.prototype,"parentElement")&&(ff.parentElement=ze.parentElement);Object.getOwnPropertyDescriptor(HTMLElement.prototype,"contains")&&(ff.contains=ze.contains);Object.getOwnPropertyDescriptor(HTMLElement.prototype,"children")&&(ff.children=Fe.children);Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML")&&(ff.innerHTML=Ve.innerHTML);Object.getOwnPropertyDescriptor(HTMLElement.prototype,"className")&&(ff.className=Oe.className);
|
229
|
+
var gf={EventTarget:[ce],Node:[ze,window.EventTarget?null:ce],Text:[Be],Comment:[Be],CDATASection:[Be],ProcessingInstruction:[Be],Element:[Oe,Fe,Ie,Be,!N.H||"innerHTML"in Element.prototype?Ve:null,window.HTMLSlotElement?null:Xe],HTMLElement:[We,ff],HTMLSlotElement:[Xe],DocumentFragment:[He,Ye],Document:[df,He,Ye,bf],Window:[ef],CharacterData:[Ie]},hf=N.H?null:["innerHTML","textContent"];function jf(a,b,c,d){b.forEach(function(e){return a&&e&&P(a,e,c,d)})}
|
230
|
+
function kf(a){var b=a?null:hf,c;for(c in gf)jf(window[c]&&window[c].prototype,gf[c],a,b)}["Text","Comment","CDATASection","ProcessingInstruction"].forEach(function(a){var b=window[a],c=Object.create(b.prototype);c.__shady_protoIsPatched=!0;jf(c,gf.EventTarget);jf(c,gf.Node);gf[a]&&jf(c,gf[a]);b.prototype.__shady_patchedProto=c});function lf(a){a.__shady_protoIsPatched=!0;jf(a,gf.EventTarget);jf(a,gf.Node);jf(a,gf.Element);jf(a,gf.HTMLElement);jf(a,gf.HTMLSlotElement);return a};var mf=N.Aa,nf=N.H;function of(a,b){if(mf&&!a.__shady_protoIsPatched&&!O(a)){var c=Object.getPrototypeOf(a),d=c.hasOwnProperty("__shady_patchedProto")&&c.__shady_patchedProto;d||(d=Object.create(c),lf(d),c.__shady_patchedProto=d);Object.setPrototypeOf(a,d)}nf||(1===b?vd(a):2===b&&wd(a))}
|
231
|
+
function pf(a,b,c,d){of(a,1);d=d||null;var e=D(a),f=d?D(d):null;e.previousSibling=d?f.previousSibling:b.__shady_lastChild;if(f=L(e.previousSibling))f.nextSibling=a;if(f=L(e.nextSibling=d))f.previousSibling=a;e.parentNode=b;d?d===c.firstChild&&(c.firstChild=a):(c.lastChild=a,c.firstChild||(c.firstChild=a));c.childNodes=null}
|
232
|
+
function we(a,b,c){of(b,2);var d=D(b);void 0!==d.firstChild&&(d.childNodes=null);if(a.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(a=a.__shady_native_firstChild;a;a=a.__shady_native_nextSibling)pf(a,b,d,c);else pf(a,b,d,c)}
|
233
|
+
function ye(a,b){var c=D(a);b=D(b);a===b.firstChild&&(b.firstChild=c.nextSibling);a===b.lastChild&&(b.lastChild=c.previousSibling);a=c.previousSibling;var d=c.nextSibling;a&&(D(a).nextSibling=d);d&&(D(d).previousSibling=a);c.parentNode=c.previousSibling=c.nextSibling=void 0;void 0!==b.childNodes&&(b.childNodes=null)}
|
234
|
+
function Qe(a,b){var c=D(a);if(b||void 0===c.firstChild){c.childNodes=null;var d=c.firstChild=a.__shady_native_firstChild;c.lastChild=a.__shady_native_lastChild;of(a,2);c=d;for(d=void 0;c;c=c.__shady_native_nextSibling){var e=D(c);e.parentNode=b||a;e.nextSibling=c.__shady_native_nextSibling;e.previousSibling=d||null;d=c;of(c,1)}}};var qf=Q({addEventListener:function(a,b,c){"object"!==typeof c&&(c={capture:!!c});c.U=c.U||this;this.host.__shady_addEventListener(a,b,c)},removeEventListener:function(a,b,c){"object"!==typeof c&&(c={capture:!!c});c.U=c.U||this;this.host.__shady_removeEventListener(a,b,c)}});function rf(a,b){P(a,qf,b);P(a,bf,b);P(a,Ve,b);P(a,Fe,b);N.J&&!b?(P(a,ze,b),P(a,Ye,b)):N.H||(P(a,sd),P(a,qd),P(a,rd))};var Se={},sf=N.deferConnectionCallbacks&&"loading"===document.readyState,tf;function uf(a){var b=[];do b.unshift(a);while(a=a.__shady_parentNode);return b}function Re(a,b,c){if(a!==Se)throw new TypeError("Illegal constructor");this.g=null;Pe(this,b,c)}
|
235
|
+
function Pe(a,b,c){a.host=b;a.mode=c&&c.mode;Qe(a.host);b=D(a.host);b.root=a;b.gb="closed"!==a.mode?a:null;b=D(a);b.firstChild=b.lastChild=b.parentNode=b.nextSibling=b.previousSibling=null;if(N.preferPerformance)for(;b=a.host.__shady_native_firstChild;)a.host.__shady_native_removeChild(b);else ve(a)}function ve(a){a.Y||(a.Y=!0,Rc(function(){return Ae(a)}))}
|
236
|
+
function Ae(a){var b;if(b=a.Y){for(var c;a;)a:{a.Y&&(c=a),b=a;a=b.host.__shady_getRootNode();if(O(a)&&(b=L(b.host))&&0<b.ia)break a;a=void 0}b=c}(c=b)&&c._renderSelf()}
|
237
|
+
Re.prototype._renderSelf=function(){var a=sf;sf=!0;this.Y=!1;if(this.g){Le(this);for(var b=0,c;b<this.g.length;b++){c=this.g[b];var d=L(c),e=d.assignedNodes;d.assignedNodes=[];d.aa=[];if(d.Ga=e)for(d=0;d<e.length;d++){var f=L(e[d]);f.ua=f.assignedSlot;f.assignedSlot===c&&(f.assignedSlot=null)}}for(b=this.host.__shady_firstChild;b;b=b.__shady_nextSibling)vf(this,b);for(b=0;b<this.g.length;b++){c=this.g[b];e=L(c);if(!e.assignedNodes.length)for(d=c.__shady_firstChild;d;d=d.__shady_nextSibling)vf(this,
|
238
|
+
d,c);(d=(d=L(c.__shady_parentNode))&&d.root)&&(xc(d)||d.Y)&&d._renderSelf();wf(this,e.aa,e.assignedNodes);if(d=e.Ga){for(f=0;f<d.length;f++)L(d[f]).ua=null;e.Ga=null;d.length>e.assignedNodes.length&&(e.xa=!0)}e.xa&&(e.xa=!1,xf(this,c))}c=this.g;b=[];for(e=0;e<c.length;e++)d=c[e].__shady_parentNode,(f=L(d))&&f.root||!(0>b.indexOf(d))||b.push(d);for(c=0;c<b.length;c++){f=b[c];e=f===this?this.host:f;d=[];for(f=f.__shady_firstChild;f;f=f.__shady_nextSibling)if("slot"==f.localName)for(var g=L(f).aa,h=
|
239
|
+
0;h<g.length;h++)d.push(g[h]);else d.push(f);f=Ic(e);g=ae(d,d.length,f,f.length);for(var k=h=0,l=void 0;h<g.length&&(l=g[h]);h++){for(var m=0,q=void 0;m<l.ga.length&&(q=l.ga[m]);m++)q.__shady_native_parentNode===e&&e.__shady_native_removeChild(q),f.splice(l.index+k,1);k-=l.na}k=0;for(l=void 0;k<g.length&&(l=g[k]);k++)for(h=f[l.index],m=l.index;m<l.index+l.na;m++)q=d[m],e.__shady_native_insertBefore(q,h),f.splice(m,0,q)}}if(!N.preferPerformance&&!this.Fa)for(b=this.host.__shady_firstChild;b;b=b.__shady_nextSibling)c=
|
240
|
+
L(b),b.__shady_native_parentNode!==this.host||"slot"!==b.localName&&c.assignedSlot||this.host.__shady_native_removeChild(b);this.Fa=!0;sf=a;tf&&tf()};function vf(a,b,c){var d=D(b),e=d.ua;d.ua=null;c||(c=(a=a.h[b.__shady_slot||"__catchall"])&&a[0]);c?(D(c).assignedNodes.push(b),d.assignedSlot=c):d.assignedSlot=void 0;e!==d.assignedSlot&&d.assignedSlot&&(D(d.assignedSlot).xa=!0)}
|
241
|
+
function wf(a,b,c){for(var d=0,e=void 0;d<c.length&&(e=c[d]);d++)if("slot"==e.localName){var f=L(e).assignedNodes;f&&f.length&&wf(a,b,f)}else b.push(c[d])}function xf(a,b){b.__shady_native_dispatchEvent(new Event("slotchange"));b=L(b);b.assignedSlot&&xf(a,b.assignedSlot)}function ue(a){a.i=a.i||[];a.g=a.g||[];a.h=a.h||{}}
|
242
|
+
function Le(a){if(a.i&&a.i.length){for(var b=a.i,c,d=0;d<b.length;d++){var e=b[d];Qe(e);var f=e.__shady_parentNode;Qe(f);f=L(f);f.ia=(f.ia||0)+1;f=Me(e);a.h[f]?(c=c||{},c[f]=!0,a.h[f].push(e)):a.h[f]=[e];a.g.push(e)}if(c)for(var g in c)a.h[g]=Ne(a.h[g]);a.i=[]}}function Me(a){var b=a.name||a.getAttribute("name")||"__catchall";return a.Qa=b}
|
243
|
+
function Ne(a){return a.sort(function(b,c){b=uf(b);for(var d=uf(c),e=0;e<b.length;e++){c=b[e];var f=d[e];if(c!==f)return b=Jc(c.__shady_parentNode),b.indexOf(c)-b.indexOf(f)}})}
|
244
|
+
function xe(a,b){if(a.g){Le(a);var c=a.h,d;for(d in c)for(var e=c[d],f=0;f<e.length;f++){var g=e[f];if(Gc(b,g)){e.splice(f,1);var h=a.g.indexOf(g);0<=h&&(a.g.splice(h,1),(h=L(g.__shady_parentNode))&&h.ia&&h.ia--);f--;g=L(g);if(h=g.aa)for(var k=0;k<h.length;k++){var l=h[k],m=l.__shady_native_parentNode;m&&m.__shady_native_removeChild(l)}g.aa=[];g.assignedNodes=[];h=!0}}return h}}function xc(a){Le(a);return!(!a.g||!a.g.length)}
|
245
|
+
(function(a){a.__proto__=DocumentFragment.prototype;rf(a,"__shady_");rf(a);Object.defineProperties(a,{nodeType:{value:Node.DOCUMENT_FRAGMENT_NODE,configurable:!0},nodeName:{value:"#document-fragment",configurable:!0},nodeValue:{value:null,configurable:!0}});["localName","namespaceURI","prefix"].forEach(function(b){Object.defineProperty(a,b,{value:void 0,configurable:!0})});["ownerDocument","baseURI","isConnected"].forEach(function(b){Object.defineProperty(a,b,{get:function(){return this.host[b]},
|
246
|
+
configurable:!0})})})(Re.prototype);
|
247
|
+
if(window.customElements&&window.customElements.define&&N.ya&&!N.preferPerformance){var yf=new Map;tf=function(){var a=[];yf.forEach(function(d,e){a.push([e,d])});yf.clear();for(var b=0;b<a.length;b++){var c=a[b][0];a[b][1]?c.__shadydom_connectedCallback():c.__shadydom_disconnectedCallback()}};sf&&document.addEventListener("readystatechange",function(){sf=!1;tf()},{once:!0});var zf=function(a,b,c){var d=0,e="__isConnected"+d++;if(b||c)a.prototype.connectedCallback=a.prototype.__shadydom_connectedCallback=
|
248
|
+
function(){sf?yf.set(this,!0):this[e]||(this[e]=!0,b&&b.call(this))},a.prototype.disconnectedCallback=a.prototype.__shadydom_disconnectedCallback=function(){sf?this.isConnected||yf.set(this,!1):this[e]&&(this[e]=!1,c&&c.call(this))};return a},Af=window.customElements.define,Bf=function(a,b){var c=b.prototype.connectedCallback,d=b.prototype.disconnectedCallback;Af.call(window.customElements,a,zf(b,c,d));b.prototype.connectedCallback=c;b.prototype.disconnectedCallback=d};window.customElements.define=
|
249
|
+
Bf;Object.defineProperty(window.CustomElementRegistry.prototype,"define",{value:Bf,configurable:!0})}function te(a){a=a.__shady_getRootNode();if(O(a))return a};function Cf(a){this.node=a}v=Cf.prototype;v.addEventListener=function(a,b,c){return this.node.__shady_addEventListener(a,b,c)};v.removeEventListener=function(a,b,c){return this.node.__shady_removeEventListener(a,b,c)};v.appendChild=function(a){return this.node.__shady_appendChild(a)};v.insertBefore=function(a,b){return this.node.__shady_insertBefore(a,b)};v.removeChild=function(a){return this.node.__shady_removeChild(a)};v.replaceChild=function(a,b){return this.node.__shady_replaceChild(a,b)};
|
250
|
+
v.cloneNode=function(a){return this.node.__shady_cloneNode(a)};v.getRootNode=function(a){return this.node.__shady_getRootNode(a)};v.contains=function(a){return this.node.__shady_contains(a)};v.dispatchEvent=function(a){return this.node.__shady_dispatchEvent(a)};v.setAttribute=function(a,b){this.node.__shady_setAttribute(a,b)};v.getAttribute=function(a){return this.node.__shady_native_getAttribute(a)};v.hasAttribute=function(a){return this.node.__shady_native_hasAttribute(a)};v.removeAttribute=function(a){this.node.__shady_removeAttribute(a)};
|
251
|
+
v.attachShadow=function(a){return this.node.__shady_attachShadow(a)};v.focus=function(){this.node.__shady_native_focus()};v.blur=function(){this.node.__shady_blur()};v.importNode=function(a,b){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_importNode(a,b)};v.getElementById=function(a){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_getElementById(a)};v.elementsFromPoint=function(a,b){return this.node.__shady_elementsFromPoint(a,b)};
|
252
|
+
v.elementFromPoint=function(a,b){return this.node.__shady_elementFromPoint(a,b)};v.querySelector=function(a){return this.node.__shady_querySelector(a)};v.querySelectorAll=function(a,b){return this.node.__shady_querySelectorAll(a,b)};v.assignedNodes=function(a){if("slot"===this.node.localName)return this.node.__shady_assignedNodes(a)};v.append=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c]=arguments[c];return this.node.__shady_append.apply(this.node,x(b))};
|
253
|
+
v.prepend=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c]=arguments[c];return this.node.__shady_prepend.apply(this.node,x(b))};v.after=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c]=arguments[c];return this.node.__shady_after.apply(this.node,x(b))};v.before=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c]=arguments[c];return this.node.__shady_before.apply(this.node,x(b))};v.remove=function(){return this.node.__shady_remove()};
|
254
|
+
v.replaceWith=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c]=arguments[c];return this.node.__shady_replaceWith.apply(this.node,x(b))};
|
255
|
+
ea.Object.defineProperties(Cf.prototype,{activeElement:{configurable:!0,enumerable:!0,get:function(){if(O(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(O(this.node))return this.node.host}},parentNode:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_parentNode}},firstChild:{configurable:!0,
|
256
|
+
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,
|
257
|
+
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}},
|
258
|
+
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,
|
259
|
+
enumerable:!0,get:function(){return this.node.__shady_innerHTML},set:function(a){this.node.__shady_innerHTML=a}},textContent:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_textContent},set:function(a){this.node.__shady_textContent=a}},slot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_slot},set:function(a){this.node.__shady_slot=a}},className:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_className},set:function(a){this.node.__shady_className=
|
260
|
+
a}}});function Df(a){Object.defineProperty(Cf.prototype,a,{get:function(){return this.node["__shady_"+a]},set:function(b){this.node["__shady_"+a]=b},configurable:!0})}Xd.forEach(function(a){return Df(a)});Yd.forEach(function(a){return Df(a)});var Ef=new WeakMap;function Ff(a){if(O(a)||a instanceof Cf)return a;var b=Ef.get(a);b||(b=new Cf(a),Ef.set(a,b));return b};if(N.ya){var Gf=N.H?function(a){return a}:function(a){wd(a);vd(a);return a},ShadyDOM={inUse:N.ya,patch:Gf,isShadyRoot:O,enqueue:Rc,flush:Sc,flushInitial:function(a){!a.Fa&&a.Y&&Ae(a)},settings:N,filterMutations:Xc,observeChildren:Vc,unobserveChildren:Wc,deferConnectionCallbacks:N.deferConnectionCallbacks,preferPerformance:N.preferPerformance,handlesDynamicScoping:!0,wrap:N.J?Ff:Gf,wrapIfNeeded:!0===N.J?Ff:function(a){return a},Wrapper:Cf,composedPath:Fd,noPatch:N.J,patchOnDemand:N.Aa,nativeMethods:fd,
|
261
|
+
nativeTree:gd,patchElementProto:lf};window.ShadyDOM=ShadyDOM;pd();kf("__shady_");Object.defineProperty(document,"_activeElement",bf.activeElement);P(Window.prototype,ef,"__shady_");N.J?N.Aa&&P(Element.prototype,Te):(kf(),Wd());Rd();window.Event=Td;window.CustomEvent=Ud;window.MouseEvent=Vd;window.ShadowRoot=Re};var Hf=window.Document.prototype.createElement,If=window.Document.prototype.createElementNS,Jf=window.Document.prototype.importNode,Kf=window.Document.prototype.prepend,Lf=window.Document.prototype.append,Mf=window.DocumentFragment.prototype.prepend,Nf=window.DocumentFragment.prototype.append,Of=window.Node.prototype.cloneNode,Pf=window.Node.prototype.appendChild,Qf=window.Node.prototype.insertBefore,Rf=window.Node.prototype.removeChild,Sf=window.Node.prototype.replaceChild,Tf=Object.getOwnPropertyDescriptor(window.Node.prototype,
|
262
|
+
"textContent"),Uf=window.Element.prototype.attachShadow,Vf=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),Wf=window.Element.prototype.getAttribute,Xf=window.Element.prototype.setAttribute,Yf=window.Element.prototype.removeAttribute,Zf=window.Element.prototype.getAttributeNS,$f=window.Element.prototype.setAttributeNS,ag=window.Element.prototype.removeAttributeNS,bg=window.Element.prototype.insertAdjacentElement,cg=window.Element.prototype.insertAdjacentHTML,dg=window.Element.prototype.prepend,
|
263
|
+
eg=window.Element.prototype.append,fg=window.Element.prototype.before,gg=window.Element.prototype.after,hg=window.Element.prototype.replaceWith,ig=window.Element.prototype.remove,jg=window.HTMLElement,kg=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),lg=window.HTMLElement.prototype.insertAdjacentElement,mg=window.HTMLElement.prototype.insertAdjacentHTML;var ng=new Set;"annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" ").forEach(function(a){return ng.add(a)});function og(a){var b=ng.has(a);a=/^[a-z][.0-9_a-z]*-[-.0-9_a-z]*$/.test(a);return!b&&a}var pg=document.contains?document.contains.bind(document):document.documentElement.contains.bind(document.documentElement);
|
264
|
+
function T(a){var b=a.isConnected;if(void 0!==b)return b;if(pg(a))return!0;for(;a&&!(a.__CE_isImportDocument||a instanceof Document);)a=a.parentNode||(window.ShadowRoot&&a instanceof ShadowRoot?a.host:void 0);return!(!a||!(a.__CE_isImportDocument||a instanceof Document))}function qg(a){var b=a.children;if(b)return Array.prototype.slice.call(b);b=[];for(a=a.firstChild;a;a=a.nextSibling)a.nodeType===Node.ELEMENT_NODE&&b.push(a);return b}
|
265
|
+
function rg(a,b){for(;b&&b!==a&&!b.nextSibling;)b=b.parentNode;return b&&b!==a?b.nextSibling:null}
|
266
|
+
function sg(a,b,c){for(var d=a;d;){if(d.nodeType===Node.ELEMENT_NODE){var e=d;b(e);var f=e.localName;if("link"===f&&"import"===e.getAttribute("rel")){d=e.import;void 0===c&&(c=new Set);if(d instanceof Node&&!c.has(d))for(c.add(d),d=d.firstChild;d;d=d.nextSibling)sg(d,b,c);d=rg(a,e);continue}else if("template"===f){d=rg(a,e);continue}if(e=e.__CE_shadowRoot)for(e=e.firstChild;e;e=e.nextSibling)sg(e,b,c)}d=d.firstChild?d.firstChild:rg(a,d)}};function tg(){var a=!(null===ug||void 0===ug||!ug.noDocumentConstructionObserver),b=!(null===ug||void 0===ug||!ug.shadyDomFastWalk);this.ca=[];this.g=[];this.W=!1;this.shadyDomFastWalk=b;this.nb=!a}function vg(a,b,c,d){var e=window.ShadyDOM;if(a.shadyDomFastWalk&&e&&e.inUse){if(b.nodeType===Node.ELEMENT_NODE&&c(b),b.querySelectorAll)for(a=e.nativeMethods.querySelectorAll.call(b,"*"),b=0;b<a.length;b++)c(a[b])}else sg(b,c,d)}function wg(a,b){a.W=!0;a.ca.push(b)}
|
267
|
+
function xg(a,b){a.W=!0;a.g.push(b)}function yg(a,b){a.W&&vg(a,b,function(c){return zg(a,c)})}function zg(a,b){if(a.W&&!b.__CE_patched){b.__CE_patched=!0;for(var c=0;c<a.ca.length;c++)a.ca[c](b);for(c=0;c<a.g.length;c++)a.g[c](b)}}function Ag(a,b){var c=[];vg(a,b,function(e){return c.push(e)});for(b=0;b<c.length;b++){var d=c[b];1===d.__CE_state?a.connectedCallback(d):Bg(a,d)}}
|
268
|
+
function Cg(a,b){var c=[];vg(a,b,function(e){return c.push(e)});for(b=0;b<c.length;b++){var d=c[b];1===d.__CE_state&&a.disconnectedCallback(d)}}
|
269
|
+
function Dg(a,b,c){c=void 0===c?{}:c;var d=c.ob,e=c.upgrade||function(g){return Bg(a,g)},f=[];vg(a,b,function(g){a.W&&zg(a,g);if("link"===g.localName&&"import"===g.getAttribute("rel")){var h=g.import;h instanceof Node&&(h.__CE_isImportDocument=!0,h.__CE_registry=document.__CE_registry);h&&"complete"===h.readyState?h.__CE_documentLoadHandled=!0:g.addEventListener("load",function(){var k=g.import;if(!k.__CE_documentLoadHandled){k.__CE_documentLoadHandled=!0;var l=new Set;d&&(d.forEach(function(m){return l.add(m)}),
|
270
|
+
l.delete(k));Dg(a,k,{ob:l,upgrade:e})}})}else f.push(g)},d);for(b=0;b<f.length;b++)e(f[b])}
|
271
|
+
function Bg(a,b){try{var c=b.ownerDocument,d=c.__CE_registry;var e=d&&(c.defaultView||c.__CE_isImportDocument)?Eg(d,b.localName):void 0;if(e&&void 0===b.__CE_state){e.constructionStack.push(b);try{try{if(new e.constructorFunction!==b)throw Error("The custom element constructor did not produce the element being upgraded.");}finally{e.constructionStack.pop()}}catch(k){throw b.__CE_state=2,k;}b.__CE_state=1;b.__CE_definition=e;if(e.attributeChangedCallback&&b.hasAttributes()){var f=e.observedAttributes;
|
272
|
+
for(e=0;e<f.length;e++){var g=f[e],h=b.getAttribute(g);null!==h&&a.attributeChangedCallback(b,g,null,h,null)}}T(b)&&a.connectedCallback(b)}}catch(k){Fg(k)}}tg.prototype.connectedCallback=function(a){var b=a.__CE_definition;if(b.connectedCallback)try{b.connectedCallback.call(a)}catch(c){Fg(c)}};tg.prototype.disconnectedCallback=function(a){var b=a.__CE_definition;if(b.disconnectedCallback)try{b.disconnectedCallback.call(a)}catch(c){Fg(c)}};
|
273
|
+
tg.prototype.attributeChangedCallback=function(a,b,c,d,e){var f=a.__CE_definition;if(f.attributeChangedCallback&&-1<f.observedAttributes.indexOf(b))try{f.attributeChangedCallback.call(a,b,c,d,e)}catch(g){Fg(g)}};
|
274
|
+
function Gg(a,b,c,d){var e=b.__CE_registry;if(e&&(null===d||"http://www.w3.org/1999/xhtml"===d)&&(e=Eg(e,c)))try{var f=new e.constructorFunction;if(void 0===f.__CE_state||void 0===f.__CE_definition)throw Error("Failed to construct '"+c+"': The returned value was not constructed with the HTMLElement constructor.");if("http://www.w3.org/1999/xhtml"!==f.namespaceURI)throw Error("Failed to construct '"+c+"': The constructed element's namespace must be the HTML namespace.");if(f.hasAttributes())throw Error("Failed to construct '"+
|
275
|
+
c+"': The constructed element must not have any attributes.");if(null!==f.firstChild)throw Error("Failed to construct '"+c+"': The constructed element must not have any children.");if(null!==f.parentNode)throw Error("Failed to construct '"+c+"': The constructed element must not have a parent node.");if(f.ownerDocument!==b)throw Error("Failed to construct '"+c+"': The constructed element's owner document is incorrect.");if(f.localName!==c)throw Error("Failed to construct '"+c+"': The constructed element's local name is incorrect.");
|
276
|
+
return f}catch(g){return Fg(g),b=null===d?Hf.call(b,c):If.call(b,d,c),Object.setPrototypeOf(b,HTMLUnknownElement.prototype),b.__CE_state=2,b.__CE_definition=void 0,zg(a,b),b}b=null===d?Hf.call(b,c):If.call(b,d,c);zg(a,b);return b}
|
277
|
+
function Fg(a){var b=a.message,c=a.sourceURL||a.fileName||"",d=a.line||a.lineNumber||0,e=a.column||a.columnNumber||0,f=void 0;void 0===ErrorEvent.prototype.initErrorEvent?f=new ErrorEvent("error",{cancelable:!0,message:b,filename:c,lineno:d,colno:e,error:a}):(f=document.createEvent("ErrorEvent"),f.initErrorEvent("error",!1,!0,b,c,d),f.preventDefault=function(){Object.defineProperty(this,"defaultPrevented",{configurable:!0,get:function(){return!0}})});void 0===f.error&&Object.defineProperty(f,"error",
|
278
|
+
{configurable:!0,enumerable:!0,get:function(){return a}});window.dispatchEvent(f);f.defaultPrevented||console.error(a)};function Hg(){var a=this;this.I=void 0;this.Ha=new Promise(function(b){a.g=b})}Hg.prototype.resolve=function(a){if(this.I)throw Error("Already resolved.");this.I=a;this.g(a)};function Ig(a){var b=document;this.X=void 0;this.S=a;this.g=b;Dg(this.S,this.g);"loading"===this.g.readyState&&(this.X=new MutationObserver(this.h.bind(this)),this.X.observe(this.g,{childList:!0,subtree:!0}))}function Jg(a){a.X&&a.X.disconnect()}Ig.prototype.h=function(a){var b=this.g.readyState;"interactive"!==b&&"complete"!==b||Jg(this);for(b=0;b<a.length;b++)for(var c=a[b].addedNodes,d=0;d<c.length;d++)Dg(this.S,c[d])};function U(a){this.ka=new Map;this.la=new Map;this.Ca=new Map;this.ta=!1;this.wa=new Map;this.ja=function(b){return b()};this.V=!1;this.ma=[];this.S=a;this.Da=a.nb?new Ig(a):void 0}v=U.prototype;v.eb=function(a,b){var c=this;if(!(b instanceof Function))throw new TypeError("Custom element constructor getters must be functions.");Kg(this,a);this.ka.set(a,b);this.ma.push(a);this.V||(this.V=!0,this.ja(function(){return Lg(c)}))};
|
279
|
+
v.define=function(a,b){var c=this;if(!(b instanceof Function))throw new TypeError("Custom element constructors must be functions.");Kg(this,a);Mg(this,a,b);this.ma.push(a);this.V||(this.V=!0,this.ja(function(){return Lg(c)}))};function Kg(a,b){if(!og(b))throw new SyntaxError("The element name '"+b+"' is not valid.");if(Eg(a,b))throw Error("A custom element with name '"+(b+"' has already been defined."));if(a.ta)throw Error("A custom element is already being defined.");}
|
280
|
+
function Mg(a,b,c){a.ta=!0;var d;try{var e=c.prototype;if(!(e instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var f=function(m){var q=e[m];if(void 0!==q&&!(q instanceof Function))throw Error("The '"+m+"' callback must be a function.");return q};var g=f("connectedCallback");var h=f("disconnectedCallback");var k=f("adoptedCallback");var l=(d=f("attributeChangedCallback"))&&c.observedAttributes||[]}catch(m){throw m;}finally{a.ta=!1}c={localName:b,
|
281
|
+
constructorFunction:c,connectedCallback:g,disconnectedCallback:h,adoptedCallback:k,attributeChangedCallback:d,observedAttributes:l,constructionStack:[]};a.la.set(b,c);a.Ca.set(c.constructorFunction,c);return c}v.upgrade=function(a){Dg(this.S,a)};
|
282
|
+
function Lg(a){if(!1!==a.V){a.V=!1;for(var b=[],c=a.ma,d=new Map,e=0;e<c.length;e++)d.set(c[e],[]);Dg(a.S,document,{upgrade:function(k){if(void 0===k.__CE_state){var l=k.localName,m=d.get(l);m?m.push(k):a.la.has(l)&&b.push(k)}}});for(e=0;e<b.length;e++)Bg(a.S,b[e]);for(e=0;e<c.length;e++){for(var f=c[e],g=d.get(f),h=0;h<g.length;h++)Bg(a.S,g[h]);(f=a.wa.get(f))&&f.resolve(void 0)}c.length=0}}v.get=function(a){if(a=Eg(this,a))return a.constructorFunction};
|
283
|
+
v.whenDefined=function(a){if(!og(a))return Promise.reject(new SyntaxError("'"+a+"' is not a valid custom element name."));var b=this.wa.get(a);if(b)return b.Ha;b=new Hg;this.wa.set(a,b);var c=this.la.has(a)||this.ka.has(a);a=-1===this.ma.indexOf(a);c&&a&&b.resolve(void 0);return b.Ha};v.polyfillWrapFlushCallback=function(a){this.Da&&Jg(this.Da);var b=this.ja;this.ja=function(c){return a(function(){return b(c)})}};
|
284
|
+
function Eg(a,b){var c=a.la.get(b);if(c)return c;if(c=a.ka.get(b)){a.ka.delete(b);try{return Mg(a,b,c())}catch(d){Fg(d)}}}window.CustomElementRegistry=U;U.prototype.define=U.prototype.define;U.prototype.upgrade=U.prototype.upgrade;U.prototype.get=U.prototype.get;U.prototype.whenDefined=U.prototype.whenDefined;U.prototype.polyfillDefineLazy=U.prototype.eb;U.prototype.polyfillWrapFlushCallback=U.prototype.polyfillWrapFlushCallback;function Ng(a,b,c){function d(e){return function(f){for(var g=[],h=0;h<arguments.length;++h)g[h]=arguments[h];h=[];for(var k=[],l=0;l<g.length;l++){var m=g[l];m instanceof Element&&T(m)&&k.push(m);if(m instanceof DocumentFragment)for(m=m.firstChild;m;m=m.nextSibling)h.push(m);else h.push(m)}e.apply(this,g);for(g=0;g<k.length;g++)Cg(a,k[g]);if(T(this))for(g=0;g<h.length;g++)k=h[g],k instanceof Element&&Ag(a,k)}}void 0!==c.prepend&&(b.prepend=d(c.prepend));void 0!==c.append&&(b.append=d(c.append))}
|
285
|
+
;function Og(a){Document.prototype.createElement=function(b){return Gg(a,this,b,null)};Document.prototype.importNode=function(b,c){b=Jf.call(this,b,!!c);this.__CE_registry?Dg(a,b):yg(a,b);return b};Document.prototype.createElementNS=function(b,c){return Gg(a,this,c,b)};Ng(a,Document.prototype,{prepend:Kf,append:Lf})};function Pg(a){function b(d){return function(e){for(var f=[],g=0;g<arguments.length;++g)f[g]=arguments[g];g=[];for(var h=[],k=0;k<f.length;k++){var l=f[k];l instanceof Element&&T(l)&&h.push(l);if(l instanceof DocumentFragment)for(l=l.firstChild;l;l=l.nextSibling)g.push(l);else g.push(l)}d.apply(this,f);for(f=0;f<h.length;f++)Cg(a,h[f]);if(T(this))for(f=0;f<g.length;f++)h=g[f],h instanceof Element&&Ag(a,h)}}var c=Element.prototype;void 0!==fg&&(c.before=b(fg));void 0!==gg&&(c.after=b(gg));void 0!==
|
286
|
+
hg&&(c.replaceWith=function(d){for(var e=[],f=0;f<arguments.length;++f)e[f]=arguments[f];f=[];for(var g=[],h=0;h<e.length;h++){var k=e[h];k instanceof Element&&T(k)&&g.push(k);if(k instanceof DocumentFragment)for(k=k.firstChild;k;k=k.nextSibling)f.push(k);else f.push(k)}h=T(this);hg.apply(this,e);for(e=0;e<g.length;e++)Cg(a,g[e]);if(h)for(Cg(a,this),e=0;e<f.length;e++)g=f[e],g instanceof Element&&Ag(a,g)});void 0!==ig&&(c.remove=function(){var d=T(this);ig.call(this);d&&Cg(a,this)})};function Qg(a){function b(e,f){Object.defineProperty(e,"innerHTML",{enumerable:f.enumerable,configurable:!0,get:f.get,set:function(g){var h=this,k=void 0;T(this)&&(k=[],vg(a,this,function(q){q!==h&&k.push(q)}));f.set.call(this,g);if(k)for(var l=0;l<k.length;l++){var m=k[l];1===m.__CE_state&&a.disconnectedCallback(m)}this.ownerDocument.__CE_registry?Dg(a,this):yg(a,this);return g}})}function c(e,f){e.insertAdjacentElement=function(g,h){var k=T(h);g=f.call(this,g,h);k&&Cg(a,h);T(g)&&Ag(a,h);return g}}
|
287
|
+
function d(e,f){function g(h,k){for(var l=[];h!==k;h=h.nextSibling)l.push(h);for(k=0;k<l.length;k++)Dg(a,l[k])}e.insertAdjacentHTML=function(h,k){h=h.toLowerCase();if("beforebegin"===h){var l=this.previousSibling;f.call(this,h,k);g(l||this.parentNode.firstChild,this)}else if("afterbegin"===h)l=this.firstChild,f.call(this,h,k),g(this.firstChild,l);else if("beforeend"===h)l=this.lastChild,f.call(this,h,k),g(l||this.firstChild,null);else if("afterend"===h)l=this.nextSibling,f.call(this,h,k),g(this.nextSibling,
|
288
|
+
l);else throw new SyntaxError("The value provided ("+String(h)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");}}Uf&&(Element.prototype.attachShadow=function(e){e=Uf.call(this,e);if(a.W&&!e.__CE_patched){e.__CE_patched=!0;for(var f=0;f<a.ca.length;f++)a.ca[f](e)}return this.__CE_shadowRoot=e});Vf&&Vf.get?b(Element.prototype,Vf):kg&&kg.get?b(HTMLElement.prototype,kg):xg(a,function(e){b(e,{enumerable:!0,configurable:!0,get:function(){return Of.call(this,!0).innerHTML},set:function(f){var g=
|
289
|
+
"template"===this.localName,h=g?this.content:this,k=If.call(document,this.namespaceURI,this.localName);for(k.innerHTML=f;0<h.childNodes.length;)Rf.call(h,h.childNodes[0]);for(f=g?k.content:k;0<f.childNodes.length;)Pf.call(h,f.childNodes[0])}})});Element.prototype.setAttribute=function(e,f){if(1!==this.__CE_state)return Xf.call(this,e,f);var g=Wf.call(this,e);Xf.call(this,e,f);f=Wf.call(this,e);a.attributeChangedCallback(this,e,g,f,null)};Element.prototype.setAttributeNS=function(e,f,g){if(1!==this.__CE_state)return $f.call(this,
|
290
|
+
e,f,g);var h=Zf.call(this,e,f);$f.call(this,e,f,g);g=Zf.call(this,e,f);a.attributeChangedCallback(this,f,h,g,e)};Element.prototype.removeAttribute=function(e){if(1!==this.__CE_state)return Yf.call(this,e);var f=Wf.call(this,e);Yf.call(this,e);null!==f&&a.attributeChangedCallback(this,e,f,null,null)};Element.prototype.removeAttributeNS=function(e,f){if(1!==this.__CE_state)return ag.call(this,e,f);var g=Zf.call(this,e,f);ag.call(this,e,f);var h=Zf.call(this,e,f);g!==h&&a.attributeChangedCallback(this,
|
291
|
+
f,g,h,e)};lg?c(HTMLElement.prototype,lg):bg&&c(Element.prototype,bg);mg?d(HTMLElement.prototype,mg):cg&&d(Element.prototype,cg);Ng(a,Element.prototype,{prepend:dg,append:eg});Pg(a)};var Rg={};function Sg(a){function b(){var c=this.constructor;var d=document.__CE_registry.Ca.get(c);if(!d)throw Error("Failed to construct a custom element: The constructor was not registered with `customElements`.");var e=d.constructionStack;if(0===e.length)return e=Hf.call(document,d.localName),Object.setPrototypeOf(e,c.prototype),e.__CE_state=1,e.__CE_definition=d,zg(a,e),e;var f=e.length-1,g=e[f];if(g===Rg)throw Error("Failed to construct '"+d.localName+"': This element was already constructed.");e[f]=
|
292
|
+
Rg;Object.setPrototypeOf(g,c.prototype);zg(a,g);return g}b.prototype=jg.prototype;Object.defineProperty(HTMLElement.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:b});window.HTMLElement=b};function Tg(a){function b(c,d){Object.defineProperty(c,"textContent",{enumerable:d.enumerable,configurable:!0,get:d.get,set:function(e){if(this.nodeType===Node.TEXT_NODE)d.set.call(this,e);else{var f=void 0;if(this.firstChild){var g=this.childNodes,h=g.length;if(0<h&&T(this)){f=Array(h);for(var k=0;k<h;k++)f[k]=g[k]}}d.set.call(this,e);if(f)for(e=0;e<f.length;e++)Cg(a,f[e])}}})}Node.prototype.insertBefore=function(c,d){if(c instanceof DocumentFragment){var e=qg(c);c=Qf.call(this,c,d);if(T(this))for(d=
|
293
|
+
0;d<e.length;d++)Ag(a,e[d]);return c}e=c instanceof Element&&T(c);d=Qf.call(this,c,d);e&&Cg(a,c);T(this)&&Ag(a,c);return d};Node.prototype.appendChild=function(c){if(c instanceof DocumentFragment){var d=qg(c);c=Pf.call(this,c);if(T(this))for(var e=0;e<d.length;e++)Ag(a,d[e]);return c}d=c instanceof Element&&T(c);e=Pf.call(this,c);d&&Cg(a,c);T(this)&&Ag(a,c);return e};Node.prototype.cloneNode=function(c){c=Of.call(this,!!c);this.ownerDocument.__CE_registry?Dg(a,c):yg(a,c);return c};Node.prototype.removeChild=
|
294
|
+
function(c){var d=c instanceof Element&&T(c),e=Rf.call(this,c);d&&Cg(a,c);return e};Node.prototype.replaceChild=function(c,d){if(c instanceof DocumentFragment){var e=qg(c);c=Sf.call(this,c,d);if(T(this))for(Cg(a,d),d=0;d<e.length;d++)Ag(a,e[d]);return c}e=c instanceof Element&&T(c);var f=Sf.call(this,c,d),g=T(this);g&&Cg(a,d);e&&Cg(a,c);g&&Ag(a,c);return f};Tf&&Tf.get?b(Node.prototype,Tf):wg(a,function(c){b(c,{enumerable:!0,configurable:!0,get:function(){for(var d=[],e=this.firstChild;e;e=e.nextSibling)e.nodeType!==
|
295
|
+
Node.COMMENT_NODE&&d.push(e.textContent);return d.join("")},set:function(d){for(;this.firstChild;)Rf.call(this,this.firstChild);null!=d&&""!==d&&Pf.call(this,document.createTextNode(d))}})})};var ug=window.customElements;function Ug(){var a=new tg;Sg(a);Og(a);Ng(a,DocumentFragment.prototype,{prepend:Mf,append:Nf});Tg(a);Qg(a);a=new U(a);document.__CE_registry=a;Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:a})}ug&&!ug.forcePolyfill&&"function"==typeof ug.define&&"function"==typeof ug.get||Ug();window.__CE_installPolyfill=Ug;/*
|
296
|
+
|
297
|
+
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
298
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
299
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
300
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
301
|
+
Code distributed by Google as part of the polymer project is also
|
302
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
303
|
+
*/
|
304
|
+
function Vg(){this.end=this.start=0;this.rules=this.parent=this.previous=null;this.cssText=this.parsedCssText="";this.atRule=!1;this.type=0;this.parsedSelector=this.selector=this.keyframesName=""}
|
305
|
+
function Wg(a){var b=a=a.replace(Xg,"").replace(Yg,""),c=new Vg;c.start=0;c.end=b.length;for(var d=c,e=0,f=b.length;e<f;e++)if("{"===b[e]){d.rules||(d.rules=[]);var g=d,h=g.rules[g.rules.length-1]||null;d=new Vg;d.start=e+1;d.parent=g;d.previous=h;g.rules.push(d)}else"}"===b[e]&&(d.end=e+1,d=d.parent||c);return Zg(c,a)}
|
306
|
+
function Zg(a,b){var c=b.substring(a.start,a.end-1);a.parsedCssText=a.cssText=c.trim();a.parent&&(c=b.substring(a.previous?a.previous.end:a.parent.start,a.start-1),c=$g(c),c=c.replace(ah," "),c=c.substring(c.lastIndexOf(";")+1),c=a.parsedSelector=a.selector=c.trim(),a.atRule=0===c.indexOf("@"),a.atRule?0===c.indexOf("@media")?a.type=bh:c.match(ch)&&(a.type=dh,a.keyframesName=a.selector.split(ah).pop()):a.type=0===c.indexOf("--")?eh:fh);if(c=a.rules)for(var d=0,e=c.length,f=void 0;d<e&&(f=c[d]);d++)Zg(f,
|
307
|
+
b);return a}function $g(a){return a.replace(/\\([0-9a-f]{1,6})\s/gi,function(b,c){b=c;for(c=6-b.length;c--;)b="0"+b;return"\\"+b})}
|
308
|
+
function gh(a,b,c){c=void 0===c?"":c;var d="";if(a.cssText||a.rules){var e=a.rules,f;if(f=e)f=e[0],f=!(f&&f.selector&&0===f.selector.indexOf("--"));if(f){f=0;for(var g=e.length,h=void 0;f<g&&(h=e[f]);f++)d=gh(h,b,d)}else b?b=a.cssText:(b=a.cssText,b=b.replace(hh,"").replace(ih,""),b=b.replace(jh,"").replace(kh,"")),(d=b.trim())&&(d=" "+d+"\n")}d&&(a.selector&&(c+=a.selector+" {\n"),c+=d,a.selector&&(c+="}\n\n"));return c}
|
309
|
+
var fh=1,dh=7,bh=4,eh=1E3,Xg=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,Yg=/@import[^;]*;/gim,hh=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,ih=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,jh=/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,kh=/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,ch=/^@[^\s]*keyframes/,ah=/\s+/g;var V=!(window.ShadyDOM&&window.ShadyDOM.inUse),lh;function mh(a){lh=a&&a.shimcssproperties?!1:V||!(navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)||!window.CSS||!CSS.supports||!CSS.supports("box-shadow","0 0 0 var(--foo)"))}var nh;window.ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(nh=window.ShadyCSS.cssBuild);var oh=!(!window.ShadyCSS||!window.ShadyCSS.disableRuntime);
|
310
|
+
window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?lh=window.ShadyCSS.nativeCss:window.ShadyCSS?(mh(window.ShadyCSS),window.ShadyCSS=void 0):mh(window.WebComponents&&window.WebComponents.flags);var X=lh;var ph=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,qh=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,rh=/(--[\w-]+)\s*([:,;)]|$)/gi,sh=/(animation\s*:)|(animation-name\s*:)/,th=/@media\s(.*)/,uh=/\{[^}]*\}/g;var vh=new Set;function wh(a,b){if(!a)return"";"string"===typeof a&&(a=Wg(a));b&&xh(a,b);return gh(a,X)}function yh(a){!a.__cssRules&&a.textContent&&(a.__cssRules=Wg(a.textContent));return a.__cssRules||null}function zh(a){return!!a.parent&&a.parent.type===dh}function xh(a,b,c,d){if(a){var e=!1,f=a.type;if(d&&f===bh){var g=a.selector.match(th);g&&(window.matchMedia(g[1]).matches||(e=!0))}f===fh?b(a):c&&f===dh?c(a):f===eh&&(e=!0);if((a=a.rules)&&!e)for(e=0,f=a.length,g=void 0;e<f&&(g=a[e]);e++)xh(g,b,c,d)}}
|
311
|
+
function Ah(a,b,c,d){var e=document.createElement("style");b&&e.setAttribute("scope",b);e.textContent=a;Ch(e,c,d);return e}var Dh=null;function Eh(a){a=document.createComment(" Shady DOM styles for "+a+" ");var b=document.head;b.insertBefore(a,(Dh?Dh.nextSibling:null)||b.firstChild);return Dh=a}function Ch(a,b,c){b=b||document.head;b.insertBefore(a,c&&c.nextSibling||b.firstChild);Dh?a.compareDocumentPosition(Dh)===Node.DOCUMENT_POSITION_PRECEDING&&(Dh=a):Dh=a}
|
312
|
+
function Fh(a,b){for(var c=0,d=a.length;b<d;b++)if("("===a[b])c++;else if(")"===a[b]&&0===--c)return b;return-1}function Gh(a,b){var c=a.indexOf("var(");if(-1===c)return b(a,"","","");var d=Fh(a,c+3),e=a.substring(c+4,d);c=a.substring(0,c);a=Gh(a.substring(d+1),b);d=e.indexOf(",");return-1===d?b(c,e.trim(),"",a):b(c,e.substring(0,d).trim(),e.substring(d+1).trim(),a)}function Hh(a,b){V?a.setAttribute("class",b):window.ShadyDOM.nativeMethods.setAttribute.call(a,"class",b)}
|
313
|
+
var Ih=window.ShadyDOM&&window.ShadyDOM.wrap||function(a){return a};function Jh(a){var b=a.localName,c="";b?-1<b.indexOf("-")||(c=b,b=a.getAttribute&&a.getAttribute("is")||""):(b=a.is,c=a.extends);return{is:b,ha:c}}function Kh(a){for(var b=[],c="",d=0;0<=d&&d<a.length;d++)if("("===a[d]){var e=Fh(a,d);c+=a.slice(d,e+1);d=e}else","===a[d]?(b.push(c),c=""):c+=a[d];c&&b.push(c);return b}
|
314
|
+
function Lh(a){if(void 0!==nh)return nh;if(void 0===a.__cssBuild){var b=a.getAttribute("css-build");if(b)a.__cssBuild=b;else{a:{b="template"===a.localName?a.content.firstChild:a.firstChild;if(b instanceof Comment&&(b=b.textContent.trim().split(":"),"css-build"===b[0])){b=b[1];break a}b=""}if(""!==b){var c="template"===a.localName?a.content.firstChild:a.firstChild;c.parentNode.removeChild(c)}a.__cssBuild=b}}return a.__cssBuild||""}
|
315
|
+
function Mh(a){a=void 0===a?"":a;return""!==a&&X?V?"shadow"===a:"shady"===a:!1};function Nh(){}function Oh(a,b){Ph(Qh,a,function(c){Rh(c,b||"")})}function Ph(a,b,c){b.nodeType===Node.ELEMENT_NODE&&c(b);var d;"template"===b.localName?d=(b.content||b._content||b).childNodes:d=b.children||b.childNodes;if(d)for(b=0;b<d.length;b++)Ph(a,d[b],c)}
|
316
|
+
function Rh(a,b,c){if(b)if(a.classList)c?(a.classList.remove("style-scope"),a.classList.remove(b)):(a.classList.add("style-scope"),a.classList.add(b));else if(a.getAttribute){var d=a.getAttribute("class");c?d&&(b=d.replace("style-scope","").replace(b,""),Hh(a,b)):Hh(a,(d?d+" ":"")+"style-scope "+b)}}function Sh(a,b,c){Ph(Qh,a,function(d){Rh(d,b,!0);Rh(d,c)})}function Th(a,b){Ph(Qh,a,function(c){Rh(c,b||"",!0)})}
|
317
|
+
function Uh(a,b,c,d,e){var f=Qh;e=void 0===e?"":e;""===e&&(V||"shady"===(void 0===d?"":d)?e=wh(b,c):(a=Jh(a),e=Vh(f,b,a.is,a.ha,c)+"\n\n"));return e.trim()}function Vh(a,b,c,d,e){var f=Wh(c,d);c=c?"."+c:"";return wh(b,function(g){g.i||(g.selector=g.F=Xh(a,g,a.h,c,f),g.i=!0);e&&e(g,c,f)})}function Wh(a,b){return b?"[is="+a+"]":a}
|
318
|
+
function Xh(a,b,c,d,e){var f=Kh(b.selector);if(!zh(b)){b=0;for(var g=f.length,h=void 0;b<g&&(h=f[b]);b++)f[b]=c.call(a,h,d,e)}return f.filter(function(k){return!!k}).join(",")}function Yh(a){return a.replace(Zh,function(b,c,d){-1<d.indexOf("+")?d=d.replace(/\+/g,"___"):-1<d.indexOf("___")&&(d=d.replace(/___/g,"+"));return":"+c+"("+d+")"})}
|
319
|
+
function $h(a){for(var b=[],c;c=a.match(ai);){var d=c.index,e=Fh(a,d);if(-1===e)throw Error(c.input+" selector missing ')'");c=a.slice(d,e+1);a=a.replace(c,"\ue000");b.push(c)}return{Ba:a,matches:b}}function bi(a,b){var c=a.split("\ue000");return b.reduce(function(d,e,f){return d+e+c[f+1]},c[0])}
|
320
|
+
Nh.prototype.h=function(a,b,c){var d=!1;a=a.trim();var e=Zh.test(a);e&&(a=a.replace(Zh,function(h,k,l){return":"+k+"("+l.replace(/\s/g,"")+")"}),a=Yh(a));var f=ai.test(a);if(f){var g=$h(a);a=g.Ba;g=g.matches}a=a.replace(ci,":host $1");a=a.replace(di,function(h,k,l){d||(h=ei(l,k,b,c),d=d||h.stop,k=h.Ua,l=h.value);return k+l});f&&(a=bi(a,g));e&&(a=Yh(a));return a=a.replace(fi,function(h,k,l,m){return'[dir="'+l+'"] '+k+m+", "+k+'[dir="'+l+'"]'+m})};
|
321
|
+
function ei(a,b,c,d){var e=a.indexOf("::slotted");0<=a.indexOf(":host")?a=gi(a,d):0!==e&&(a=c?hi(a,c):a);c=!1;0<=e&&(b="",c=!0);if(c){var f=!0;c&&(a=a.replace(ii,function(g,h){return" > "+h}))}return{value:a,Ua:b,stop:f}}function hi(a,b){a=a.split(/(\[.+?\])/);for(var c=[],d=0;d<a.length;d++)if(1===d%2)c.push(a[d]);else{var e=a[d];if(""!==e||d!==a.length-1)e=e.split(":"),e[0]+=b,c.push(e.join(":"))}return c.join("")}
|
322
|
+
function gi(a,b){var c=a.match(ji);return(c=c&&c[2].trim()||"")?c[0].match(ki)?a.replace(ji,function(d,e,f){return b+f}):c.split(ki)[0]===b?c:"should_not_match":a.replace(":host",b)}function li(a){":root"===a.selector&&(a.selector="html")}Nh.prototype.i=function(a){return a.match(":host")?"":a.match("::slotted")?this.h(a,":not(.style-scope)"):hi(a.trim(),":not(.style-scope)")};ea.Object.defineProperties(Nh.prototype,{g:{configurable:!0,enumerable:!0,get:function(){return"style-scope"}}});
|
323
|
+
var Zh=/:(nth[-\w]+)\(([^)]+)\)/,di=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,ki=/[[.:#*]/,ci=/^(::slotted)/,ji=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,ii=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,fi=/(.*):dir\((?:(ltr|rtl))\)(.*)/,ai=/:(?:matches|any|-(?:webkit|moz)-any)/,Qh=new Nh;function mi(a,b,c,d,e){this.M=a||null;this.h=b||null;this.za=c||[];this.K=null;this.cssBuild=e||"";this.ha=d||"";this.g=this.L=this.R=null}function ni(a){return a?a.__styleInfo:null}function oi(a,b){return a.__styleInfo=b}mi.prototype.i=function(){return this.M};mi.prototype._getStyleRules=mi.prototype.i;function pi(a){var b=this.matches||this.matchesSelector||this.mozMatchesSelector||this.msMatchesSelector||this.oMatchesSelector||this.webkitMatchesSelector;return b&&b.call(this,a)}var qi=/:host\s*>\s*/,ri=navigator.userAgent.match("Trident");function si(){}function ti(a){var b={},c=[],d=0;xh(a,function(f){ui(f);f.index=d++;f=f.D.cssText;for(var g;g=rh.exec(f);){var h=g[1];":"!==g[2]&&(b[h]=!0)}},function(f){c.push(f)});a.h=c;a=[];for(var e in b)a.push(e);return a}
|
324
|
+
function ui(a){if(!a.D){var b={},c={};vi(a,c)&&(b.P=c,a.rules=null);b.cssText=a.parsedCssText.replace(uh,"").replace(ph,"");a.D=b}}function vi(a,b){var c=a.D;if(c){if(c.P)return Object.assign(b,c.P),!0}else{c=a.parsedCssText;for(var d;a=ph.exec(c);){d=(a[2]||a[3]).trim();if("inherit"!==d||"unset"!==d)b[a[1].trim()]=d;d=!0}return d}}
|
325
|
+
function wi(a,b,c){b&&(b=0<=b.indexOf(";")?xi(a,b,c):Gh(b,function(d,e,f,g){if(!e)return d+g;(e=wi(a,c[e],c))&&"initial"!==e?"apply-shim-inherit"===e&&(e="inherit"):e=wi(a,c[f]||f,c)||f;return d+(e||"")+g}));return b&&b.trim()||""}
|
326
|
+
function xi(a,b,c){b=b.split(";");for(var d=0,e,f;d<b.length;d++)if(e=b[d]){qh.lastIndex=0;if(f=qh.exec(e))e=wi(a,c[f[1]],c);else if(f=e.indexOf(":"),-1!==f){var g=e.substring(f);g=g.trim();g=wi(a,g,c)||g;e=e.substring(0,f)+g}b[d]=e&&e.lastIndexOf(";")===e.length-1?e.slice(0,-1):e||""}return b.join(";")}
|
327
|
+
function yi(a,b){var c={},d=[];xh(a,function(e){e.D||ui(e);var f=e.F||e.parsedSelector;b&&e.D.P&&f&&pi.call(b,f)&&(vi(e,c),e=e.index,f=parseInt(e/32,10),d[f]=(d[f]||0)|1<<e%32)},null,!0);return{P:c,key:d}}
|
328
|
+
function zi(a,b,c,d){b.D||ui(b);if(b.D.P){var e=Jh(a);a=e.is;e=e.ha;e=a?Wh(a,e):"html";var f=b.parsedSelector;var g=!!f.match(qi)||"html"===e&&-1<f.indexOf("html");var h=0===f.indexOf(":host")&&!g;"shady"===c&&(g=f===e+" > *."+e||-1!==f.indexOf("html"),h=!g&&0===f.indexOf(e));if(g||h)c=e,h&&(b.F||(b.F=Xh(Qh,b,Qh.h,a?"."+a:"",e)),c=b.F||e),g&&"html"===e&&(c=b.F||b.O),d({Ba:c,ab:h,qb:g})}}
|
329
|
+
function Ai(a,b,c){var d={},e={};xh(b,function(f){zi(a,f,c,function(g){pi.call(a._element||a,g.Ba)&&(g.ab?vi(f,d):vi(f,e))})},null,!0);return{hb:e,Za:d}}
|
330
|
+
function Bi(a,b,c,d){var e=Jh(b),f=Wh(e.is,e.ha),g=new RegExp("(?:^|[^.#[:])"+(b.extends?"\\"+f.slice(0,-1)+"\\]":f)+"($|[.:[\\s>+~])"),h=ni(b);e=h.M;h=h.cssBuild;var k=Ci(e,d);return Uh(b,e,function(l){var m="";l.D||ui(l);l.D.cssText&&(m=xi(a,l.D.cssText,c));l.cssText=m;if(!V&&!zh(l)&&l.cssText){var q=m=l.cssText;null==l.Ia&&(l.Ia=sh.test(m));if(l.Ia)if(null==l.pa){l.pa=[];for(var H in k)q=k[H],q=q(m),m!==q&&(m=q,l.pa.push(H))}else{for(H=0;H<l.pa.length;++H)q=k[l.pa[H]],m=q(m);q=m}l.cssText=q;l.F=
|
331
|
+
l.F||l.selector;m="."+d;H=Kh(l.F);q=0;for(var C=H.length,t=void 0;q<C&&(t=H[q]);q++)H[q]=t.match(g)?t.replace(f,m):m+" "+t;l.selector=H.join(",")}},h)}function Ci(a,b){a=a.h;var c={};if(!V&&a)for(var d=0,e=a[d];d<a.length;e=a[++d]){var f=e,g=b;f.u=new RegExp("\\b"+f.keyframesName+"(?!\\B|-)","g");f.g=f.keyframesName+"-"+g;f.F=f.F||f.selector;f.selector=f.F.replace(f.keyframesName,f.g);c[e.keyframesName]=Di(e)}return c}function Di(a){return function(b){return b.replace(a.u,a.g)}}
|
332
|
+
function Ei(a,b){var c=Fi,d=yh(a);a.textContent=wh(d,function(e){var f=e.cssText=e.parsedCssText;e.D&&e.D.cssText&&(f=f.replace(hh,"").replace(ih,""),e.cssText=xi(c,f,b))})}ea.Object.defineProperties(si.prototype,{g:{configurable:!0,enumerable:!0,get:function(){return"x-scope"}}});var Fi=new si;var Gi={},Hi=window.customElements;if(Hi&&!V&&!oh){var Ii=Hi.define;Hi.define=function(a,b,c){Gi[a]||(Gi[a]=Eh(a));Ii.call(Hi,a,b,c)}};function Ji(){this.cache={}}Ji.prototype.store=function(a,b,c,d){var e=this.cache[a]||[];e.push({P:b,styleElement:c,L:d});100<e.length&&e.shift();this.cache[a]=e};function Ki(){}var Li=new RegExp(Qh.g+"\\s*([^\\s]*)");function Mi(a){return(a=(a.classList&&a.classList.value?a.classList.value:a.getAttribute("class")||"").match(Li))?a[1]:""}function Ni(a){var b=Ih(a).getRootNode();return b===a||b===a.ownerDocument?"":(a=b.host)?Jh(a).is:""}
|
333
|
+
function Oi(a){for(var b=0;b<a.length;b++){var c=a[b];if(c.target!==document.documentElement&&c.target!==document.head)for(var d=0;d<c.addedNodes.length;d++){var e=c.addedNodes[d];if(e.nodeType===Node.ELEMENT_NODE){var f=e.getRootNode(),g=Mi(e);if(g&&f===e.ownerDocument&&("style"!==e.localName&&"template"!==e.localName||""===Lh(e)))Th(e,g);else if(f instanceof ShadowRoot)for(f=Ni(e),f!==g&&Sh(e,g,f),e=window.ShadyDOM.nativeMethods.querySelectorAll.call(e,":not(."+Qh.g+")"),g=0;g<e.length;g++){f=e[g];
|
334
|
+
var h=Ni(f);h&&Rh(f,h)}}}}}
|
335
|
+
if(!(V||window.ShadyDOM&&window.ShadyDOM.handlesDynamicScoping)){var Pi=new MutationObserver(Oi),Qi=function(a){Pi.observe(a,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)Qi(document);else{var Ri=function(){Qi(document.body)};window.HTMLImports?window.HTMLImports.whenReady(Ri):requestAnimationFrame(function(){if("loading"===document.readyState){var a=function(){Ri();document.removeEventListener("readystatechange",a)};document.addEventListener("readystatechange",
|
336
|
+
a)}else Ri()})}Ki=function(){Oi(Pi.takeRecords())}};var Si={};var Ti=Promise.resolve();function Ui(a){if(a=Si[a])a._applyShimCurrentVersion=a._applyShimCurrentVersion||0,a._applyShimValidatingVersion=a._applyShimValidatingVersion||0,a._applyShimNextVersion=(a._applyShimNextVersion||0)+1}function Vi(a){return a._applyShimCurrentVersion===a._applyShimNextVersion}function Wi(a){a._applyShimValidatingVersion=a._applyShimNextVersion;a._validating||(a._validating=!0,Ti.then(function(){a._applyShimCurrentVersion=a._applyShimNextVersion;a._validating=!1}))};var Xi={},Yi=new Ji;function Y(){this.da={};this.i=document.documentElement;var a=new Vg;a.rules=[];this.u=oi(this.i,new mi(a));this.O=!1;this.g=this.h=null}v=Y.prototype;v.flush=function(){Ki()};v.Xa=function(a){return yh(a)};v.lb=function(a){return wh(a)};v.prepareTemplate=function(a,b,c){this.prepareTemplateDom(a,b);this.prepareTemplateStyles(a,b,c)};
|
337
|
+
v.prepareTemplateStyles=function(a,b,c){if(!a._prepared&&!oh){V||Gi[b]||(Gi[b]=Eh(b));a._prepared=!0;a.name=b;a.extends=c;Si[b]=a;var d=Lh(a),e=Mh(d);c={is:b,extends:c};for(var f=[],g=a.content.querySelectorAll("style"),h=0;h<g.length;h++){var k=g[h];if(k.hasAttribute("shady-unscoped")){if(!V){var l=k.textContent;if(!vh.has(l)){vh.add(l);var m=document.createElement("style");m.setAttribute("shady-unscoped","");m.textContent=l;document.head.appendChild(m)}k.parentNode.removeChild(k)}}else f.push(k.textContent),
|
338
|
+
k.parentNode.removeChild(k)}f=f.join("").trim()+(Xi[b]||"");Zi(this);if(!e){if(g=!d)g=qh.test(f)||ph.test(f),qh.lastIndex=0,ph.lastIndex=0;h=Wg(f);g&&X&&this.h&&this.h.transformRules(h,b);a._styleAst=h}g=[];X||(g=ti(a._styleAst));if(!g.length||X)h=V?a.content:null,b=Gi[b]||null,d=Uh(c,a._styleAst,null,d,e?f:""),d=d.length?Ah(d,c.is,h,b):null,a._style=d;a.g=g}};v.fb=function(a,b){Xi[b]=a.join(" ")};
|
339
|
+
v.prepareTemplateDom=function(a,b){if(!oh){var c=Lh(a);V||"shady"===c||a._domPrepared||(a._domPrepared=!0,Oh(a.content,b))}};function $i(a){var b=Jh(a),c=b.is;b=b.ha;var d=Gi[c]||null,e=Si[c];if(e){c=e._styleAst;var f=e.g;e=Lh(e);b=new mi(c,d,f,b,e);oi(a,b);return b}}
|
340
|
+
function aj(a){!a.g&&window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface&&(a.g=window.ShadyCSS.CustomStyleInterface,a.g.transformCallback=function(b){a.Ma(b)},a.g.validateCallback=function(){requestAnimationFrame(function(){(a.g.enqueued||a.O)&&a.flushCustomStyles()})})}function Zi(a){if(!a.h&&window.ShadyCSS&&window.ShadyCSS.ApplyShim){a.h=window.ShadyCSS.ApplyShim;a.h.invalidCallback=Ui;var b=!0}else b=!1;aj(a);return b}
|
341
|
+
v.flushCustomStyles=function(){if(!oh){var a=Zi(this);if(this.g){var b=this.g.processStyles();if((a||this.g.enqueued)&&!Mh(this.u.cssBuild)){if(X){if(!this.u.cssBuild)for(a=0;a<b.length;a++){var c=this.g.getStyleForCustomStyle(b[a]);if(c&&X&&this.h){var d=yh(c);Zi(this);this.h.transformRules(d);c.textContent=wh(d)}}}else{bj(this,b);cj(this,this.i,this.u);for(a=0;a<b.length;a++)(c=this.g.getStyleForCustomStyle(b[a]))&&Ei(c,this.u.R);this.O&&this.styleDocument()}this.g.enqueued=!1}}}};
|
342
|
+
function bj(a,b){b=b.map(function(c){return a.g.getStyleForCustomStyle(c)}).filter(function(c){return!!c});b.sort(function(c,d){c=d.compareDocumentPosition(c);return c&Node.DOCUMENT_POSITION_FOLLOWING?1:c&Node.DOCUMENT_POSITION_PRECEDING?-1:0});a.u.M.rules=b.map(function(c){return yh(c)})}
|
343
|
+
v.styleElement=function(a,b){if(oh){if(b){ni(a)||oi(a,new mi(null));var c=ni(a);c.K=c.K||{};Object.assign(c.K,b);dj(this,a,c)}}else if(c=ni(a)||$i(a))if(a!==this.i&&(this.O=!0),b&&(c.K=c.K||{},Object.assign(c.K,b)),X)dj(this,a,c);else if(this.flush(),cj(this,a,c),c.za&&c.za.length){b=Jh(a).is;var d;a:{if(d=Yi.cache[b])for(var e=d.length-1;0<=e;e--){var f=d[e];b:{var g=c.za;for(var h=0;h<g.length;h++){var k=g[h];if(f.P[k]!==c.R[k]){g=!1;break b}}g=!0}if(g){d=f;break a}}d=void 0}g=d?d.styleElement:
|
344
|
+
null;e=c.L;(f=d&&d.L)||(f=this.da[b]=(this.da[b]||0)+1,f=b+"-"+f);c.L=f;f=c.L;h=Fi;h=g?g.textContent||"":Bi(h,a,c.R,f);k=ni(a);var l=k.g;l&&!V&&l!==g&&(l._useCount--,0>=l._useCount&&l.parentNode&&l.parentNode.removeChild(l));V?k.g?(k.g.textContent=h,g=k.g):h&&(g=Ah(h,f,a.shadowRoot,k.h)):g?g.parentNode||(ri&&-1<h.indexOf("@media")&&(g.textContent=h),Ch(g,null,k.h)):h&&(g=Ah(h,f,null,k.h));g&&(g._useCount=g._useCount||0,k.g!=g&&g._useCount++,k.g=g);f=g;V||(g=c.L,k=h=a.getAttribute("class")||"",e&&
|
345
|
+
(k=h.replace(new RegExp("\\s*x-scope\\s*"+e+"\\s*","g")," ")),k+=(k?" ":"")+"x-scope "+g,h!==k&&Hh(a,k));d||Yi.store(b,c.R,f,c.L)}};
|
346
|
+
function dj(a,b,c){var d=Jh(b).is;if(c.K){var e=c.K,f;for(f in e)null===f?b.style.removeProperty(f):b.style.setProperty(f,e[f])}e=Si[d];if(!(!e&&b!==a.i||e&&""!==Lh(e))&&e&&e._style&&!Vi(e)){if(Vi(e)||e._applyShimValidatingVersion!==e._applyShimNextVersion)Zi(a),a.h&&a.h.transformRules(e._styleAst,d),e._style.textContent=Uh(b,c.M),Wi(e);V&&(a=b.shadowRoot)&&(a=a.querySelector("style"))&&(a.textContent=Uh(b,c.M));c.M=e._styleAst}}
|
347
|
+
function ej(a,b){return(b=Ih(b).getRootNode().host)?ni(b)||$i(b)?b:ej(a,b):a.i}function cj(a,b,c){var d=ej(a,b),e=ni(d),f=e.R;d===a.i||f||(cj(a,d,e),f=e.R);a=Object.create(f||null);d=Ai(b,c.M,c.cssBuild);b=yi(e.M,b).P;Object.assign(a,d.Za,b,d.hb);b=c.K;for(var g in b)if((e=b[g])||0===e)a[g]=e;g=Fi;b=Object.getOwnPropertyNames(a);for(e=0;e<b.length;e++)d=b[e],a[d]=wi(g,a[d],a);c.R=a}v.styleDocument=function(a){this.styleSubtree(this.i,a)};
|
348
|
+
v.styleSubtree=function(a,b){var c=Ih(a),d=c.shadowRoot,e=a===this.i;(d||e)&&this.styleElement(a,b);if(a=e?c:d)for(a=Array.from(a.querySelectorAll("*")).filter(function(f){return Ih(f).shadowRoot}),b=0;b<a.length;b++)this.styleSubtree(a[b])};
|
349
|
+
v.Ma=function(a){var b=this,c=Lh(a);c!==this.u.cssBuild&&(this.u.cssBuild=c);if(!Mh(c)){var d=yh(a);xh(d,function(e){if(V)li(e);else{var f=Qh;e.selector=e.parsedSelector;li(e);e.selector=e.F=Xh(f,e,f.i,void 0,void 0)}X&&""===c&&(Zi(b),b.h&&b.h.transformRule(e))});X?a.textContent=wh(d):this.u.M.rules.push(d)}};v.getComputedStyleValue=function(a,b){var c;X||(c=(ni(a)||ni(ej(this,a))).R[b]);return(c=c||window.getComputedStyle(a).getPropertyValue(b))?c.trim():""};
|
350
|
+
v.kb=function(a,b){var c=Ih(a).getRootNode();b=b?("string"===typeof b?b:String(b)).split(/\s/):[];c=c.host&&c.host.localName;if(!c){var d=a.getAttribute("class");if(d){d=d.split(/\s/);for(var e=0;e<d.length;e++)if(d[e]===Qh.g){c=d[e+1];break}}}c&&b.push(Qh.g,c);X||(c=ni(a))&&c.L&&b.push(Fi.g,c.L);Hh(a,b.join(" "))};v.Ta=function(a){return ni(a)};v.jb=function(a,b){Rh(a,b)};v.mb=function(a,b){Rh(a,b,!0)};v.ib=function(a){return Ni(a)};v.Va=function(a){return Mi(a)};Y.prototype.flush=Y.prototype.flush;
|
351
|
+
Y.prototype.prepareTemplate=Y.prototype.prepareTemplate;Y.prototype.styleElement=Y.prototype.styleElement;Y.prototype.styleDocument=Y.prototype.styleDocument;Y.prototype.styleSubtree=Y.prototype.styleSubtree;Y.prototype.getComputedStyleValue=Y.prototype.getComputedStyleValue;Y.prototype.setElementClass=Y.prototype.kb;Y.prototype._styleInfoForNode=Y.prototype.Ta;Y.prototype.transformCustomStyleForDocument=Y.prototype.Ma;Y.prototype.getStyleAst=Y.prototype.Xa;Y.prototype.styleAstToString=Y.prototype.lb;
|
352
|
+
Y.prototype.flushCustomStyles=Y.prototype.flushCustomStyles;Y.prototype.scopeNode=Y.prototype.jb;Y.prototype.unscopeNode=Y.prototype.mb;Y.prototype.scopeForNode=Y.prototype.ib;Y.prototype.currentScopeForNode=Y.prototype.Va;Y.prototype.prepareAdoptedCssText=Y.prototype.fb;Object.defineProperties(Y.prototype,{nativeShadow:{get:function(){return V}},nativeCss:{get:function(){return X}}});var Z=new Y,fj,gj;window.ShadyCSS&&(fj=window.ShadyCSS.ApplyShim,gj=window.ShadyCSS.CustomStyleInterface);
|
353
|
+
window.ShadyCSS={ScopingShim:Z,prepareTemplate:function(a,b,c){Z.flushCustomStyles();Z.prepareTemplate(a,b,c)},prepareTemplateDom:function(a,b){Z.prepareTemplateDom(a,b)},prepareTemplateStyles:function(a,b,c){Z.flushCustomStyles();Z.prepareTemplateStyles(a,b,c)},styleSubtree:function(a,b){Z.flushCustomStyles();Z.styleSubtree(a,b)},styleElement:function(a){Z.flushCustomStyles();Z.styleElement(a)},styleDocument:function(a){Z.flushCustomStyles();Z.styleDocument(a)},flushCustomStyles:function(){Z.flushCustomStyles()},
|
354
|
+
getComputedStyleValue:function(a,b){return Z.getComputedStyleValue(a,b)},nativeCss:X,nativeShadow:V,cssBuild:nh,disableRuntime:oh};fj&&(window.ShadyCSS.ApplyShim=fj);gj&&(window.ShadyCSS.CustomStyleInterface=gj);(function(a){function b(t){""==t&&(f.call(this),this.m=!0);return t.toLowerCase()}function c(t){var F=t.charCodeAt(0);return 32<F&&127>F&&-1==[34,35,60,62,63,96].indexOf(F)?t:encodeURIComponent(t)}function d(t){var F=t.charCodeAt(0);return 32<F&&127>F&&-1==[34,35,60,62,96].indexOf(F)?t:encodeURIComponent(t)}function e(t,F,E){function M(fa){sa.push(fa)}var y=F||"scheme start",W=0,w="",ta=!1,ha=!1,sa=[];a:for(;(void 0!=t[W-1]||0==W)&&!this.m;){var n=t[W];switch(y){case "scheme start":if(n&&q.test(n))w+=
|
355
|
+
n.toLowerCase(),y="scheme";else if(F){M("Invalid scheme.");break a}else{w="";y="no scheme";continue}break;case "scheme":if(n&&H.test(n))w+=n.toLowerCase();else if(":"==n){this.l=w;w="";if(F)break a;void 0!==l[this.l]&&(this.G=!0);y="file"==this.l?"relative":this.G&&E&&E.l==this.l?"relative or authority":this.G?"authority first slash":"scheme data"}else if(F){void 0!=n&&M("Code point not allowed in scheme: "+n);break a}else{w="";W=0;y="no scheme";continue}break;case "scheme data":"?"==n?(this.A="?",
|
356
|
+
y="query"):"#"==n?(this.C="#",y="fragment"):void 0!=n&&"\t"!=n&&"\n"!=n&&"\r"!=n&&(this.va+=c(n));break;case "no scheme":if(E&&void 0!==l[E.l]){y="relative";continue}else M("Missing scheme."),f.call(this),this.m=!0;break;case "relative or authority":if("/"==n&&"/"==t[W+1])y="authority ignore slashes";else{M("Expected /, got: "+n);y="relative";continue}break;case "relative":this.G=!0;"file"!=this.l&&(this.l=E.l);if(void 0==n){this.o=E.o;this.v=E.v;this.s=E.s.slice();this.A=E.A;this.B=E.B;this.j=E.j;
|
357
|
+
break a}else if("/"==n||"\\"==n)"\\"==n&&M("\\ is an invalid code point."),y="relative slash";else if("?"==n)this.o=E.o,this.v=E.v,this.s=E.s.slice(),this.A="?",this.B=E.B,this.j=E.j,y="query";else if("#"==n)this.o=E.o,this.v=E.v,this.s=E.s.slice(),this.A=E.A,this.C="#",this.B=E.B,this.j=E.j,y="fragment";else{y=t[W+1];var J=t[W+2];if("file"!=this.l||!q.test(n)||":"!=y&&"|"!=y||void 0!=J&&"/"!=J&&"\\"!=J&&"?"!=J&&"#"!=J)this.o=E.o,this.v=E.v,this.B=E.B,this.j=E.j,this.s=E.s.slice(),this.s.pop();y=
|
358
|
+
"relative path";continue}break;case "relative slash":if("/"==n||"\\"==n)"\\"==n&&M("\\ is an invalid code point."),y="file"==this.l?"file host":"authority ignore slashes";else{"file"!=this.l&&(this.o=E.o,this.v=E.v,this.B=E.B,this.j=E.j);y="relative path";continue}break;case "authority first slash":if("/"==n)y="authority second slash";else{M("Expected '/', got: "+n);y="authority ignore slashes";continue}break;case "authority second slash":y="authority ignore slashes";if("/"!=n){M("Expected '/', got: "+
|
359
|
+
n);continue}break;case "authority ignore slashes":if("/"!=n&&"\\"!=n){y="authority";continue}else M("Expected authority, got: "+n);break;case "authority":if("@"==n){ta&&(M("@ already seen."),w+="%40");ta=!0;for(n=0;n<w.length;n++)J=w[n],"\t"==J||"\n"==J||"\r"==J?M("Invalid whitespace in authority."):":"==J&&null===this.j?this.j="":(J=c(J),null!==this.j?this.j+=J:this.B+=J);w=""}else if(void 0==n||"/"==n||"\\"==n||"?"==n||"#"==n){W-=w.length;w="";y="host";continue}else w+=n;break;case "file host":if(void 0==
|
360
|
+
n||"/"==n||"\\"==n||"?"==n||"#"==n){2!=w.length||!q.test(w[0])||":"!=w[1]&&"|"!=w[1]?(0!=w.length&&(this.o=b.call(this,w),w=""),y="relative path start"):y="relative path";continue}else"\t"==n||"\n"==n||"\r"==n?M("Invalid whitespace in file host."):w+=n;break;case "host":case "hostname":if(":"!=n||ha)if(void 0==n||"/"==n||"\\"==n||"?"==n||"#"==n){this.o=b.call(this,w);w="";y="relative path start";if(F)break a;continue}else"\t"!=n&&"\n"!=n&&"\r"!=n?("["==n?ha=!0:"]"==n&&(ha=!1),w+=n):M("Invalid code point in host/hostname: "+
|
361
|
+
n);else if(this.o=b.call(this,w),w="",y="port","hostname"==F)break a;break;case "port":if(/[0-9]/.test(n))w+=n;else if(void 0==n||"/"==n||"\\"==n||"?"==n||"#"==n||F){""!=w&&(w=parseInt(w,10),w!=l[this.l]&&(this.v=w+""),w="");if(F)break a;y="relative path start";continue}else"\t"==n||"\n"==n||"\r"==n?M("Invalid code point in port: "+n):(f.call(this),this.m=!0);break;case "relative path start":"\\"==n&&M("'\\' not allowed in path.");y="relative path";if("/"!=n&&"\\"!=n)continue;break;case "relative path":if(void 0!=
|
362
|
+
n&&"/"!=n&&"\\"!=n&&(F||"?"!=n&&"#"!=n))"\t"!=n&&"\n"!=n&&"\r"!=n&&(w+=c(n));else{"\\"==n&&M("\\ not allowed in relative path.");if(J=m[w.toLowerCase()])w=J;".."==w?(this.s.pop(),"/"!=n&&"\\"!=n&&this.s.push("")):"."==w&&"/"!=n&&"\\"!=n?this.s.push(""):"."!=w&&("file"==this.l&&0==this.s.length&&2==w.length&&q.test(w[0])&&"|"==w[1]&&(w=w[0]+":"),this.s.push(w));w="";"?"==n?(this.A="?",y="query"):"#"==n&&(this.C="#",y="fragment")}break;case "query":F||"#"!=n?void 0!=n&&"\t"!=n&&"\n"!=n&&"\r"!=n&&(this.A+=
|
363
|
+
d(n)):(this.C="#",y="fragment");break;case "fragment":void 0!=n&&"\t"!=n&&"\n"!=n&&"\r"!=n&&(this.C+=n)}W++}}function f(){this.B=this.va=this.l="";this.j=null;this.v=this.o="";this.s=[];this.C=this.A="";this.G=this.m=!1}function g(t,F){void 0===F||F instanceof g||(F=new g(String(F)));this.g=t;f.call(this);e.call(this,this.g.replace(/^[ \t\r\n\f]+|[ \t\r\n\f]+$/g,""),null,F)}var h=!1;try{var k=new URL("b","http://a");k.pathname="c%20d";h="http://a/c%20d"===k.href}catch(t){}if(!h){var l=Object.create(null);
|
364
|
+
l.ftp=21;l.file=0;l.gopher=70;l.http=80;l.https=443;l.ws=80;l.wss=443;var m=Object.create(null);m["%2e"]=".";m[".%2e"]="..";m["%2e."]="..";m["%2e%2e"]="..";var q=/[a-zA-Z]/,H=/[a-zA-Z0-9+\-.]/;g.prototype={toString:function(){return this.href},get href(){if(this.m)return this.g;var t="";if(""!=this.B||null!=this.j)t=this.B+(null!=this.j?":"+this.j:"")+"@";return this.protocol+(this.G?"//"+t+this.host:"")+this.pathname+this.A+this.C},set href(t){f.call(this);e.call(this,t)},get protocol(){return this.l+
|
365
|
+
":"},set protocol(t){this.m||e.call(this,t+":","scheme start")},get host(){return this.m?"":this.v?this.o+":"+this.v:this.o},set host(t){!this.m&&this.G&&e.call(this,t,"host")},get hostname(){return this.o},set hostname(t){!this.m&&this.G&&e.call(this,t,"hostname")},get port(){return this.v},set port(t){!this.m&&this.G&&e.call(this,t,"port")},get pathname(){return this.m?"":this.G?"/"+this.s.join("/"):this.va},set pathname(t){!this.m&&this.G&&(this.s=[],e.call(this,t,"relative path start"))},get search(){return this.m||
|
366
|
+
!this.A||"?"==this.A?"":this.A},set search(t){!this.m&&this.G&&(this.A="?","?"==t[0]&&(t=t.slice(1)),e.call(this,t,"query"))},get hash(){return this.m||!this.C||"#"==this.C?"":this.C},set hash(t){this.m||(t?(this.C="#","#"==t[0]&&(t=t.slice(1)),e.call(this,t,"fragment")):this.C="")},get origin(){var t;if(this.m||!this.l)return"";switch(this.l){case "data":case "file":case "javascript":case "mailto":return"null"}return(t=this.host)?this.l+"://"+t:""}};var C=a.URL;C&&(g.createObjectURL=function(t){return C.createObjectURL.apply(C,
|
367
|
+
arguments)},g.revokeObjectURL=function(t){C.revokeObjectURL(t)});a.URL=g}})(window);/*
|
368
|
+
|
369
|
+
Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
|
370
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
371
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
372
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
373
|
+
Code distributed by Google as part of the polymer project is also
|
374
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
375
|
+
*/
|
376
|
+
var hj=window.customElements,ij=!1,jj=null;hj.polyfillWrapFlushCallback&&hj.polyfillWrapFlushCallback(function(a){jj=a;ij&&a()});function kj(){window.HTMLTemplateElement.bootstrap&&window.HTMLTemplateElement.bootstrap(window.document);jj&&jj();ij=!0;window.WebComponents.ready=!0;document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))}
|
377
|
+
"complete"!==document.readyState?(window.addEventListener("load",kj),window.addEventListener("DOMContentLoaded",function(){window.removeEventListener("load",kj);kj()})):kj();}).call(this);
|
378
|
+
|
379
|
+
//# sourceMappingURL=webcomponents-bundle.js.map
|
380
|
+
|
381
|
+
|
382
|
+
/***/ })
|
383
|
+
|
384
|
+
/******/ });
|
385
|
+
/************************************************************************/
|
386
|
+
/******/ // The require scope
|
387
|
+
/******/ var __webpack_require__ = {};
|
388
|
+
/******/
|
389
|
+
/************************************************************************/
|
390
|
+
/******/ /* webpack/runtime/global */
|
391
|
+
/******/ !function() {
|
392
|
+
/******/ __webpack_require__.g = (function() {
|
393
|
+
/******/ if (typeof globalThis === 'object') return globalThis;
|
394
|
+
/******/ try {
|
395
|
+
/******/ return this || new Function('return this')();
|
396
|
+
/******/ } catch (e) {
|
397
|
+
/******/ if (typeof window === 'object') return window;
|
398
|
+
/******/ }
|
399
|
+
/******/ })();
|
400
|
+
/******/ }();
|
401
|
+
/******/
|
402
|
+
/************************************************************************/
|
403
|
+
/******/
|
404
|
+
/******/ // startup
|
405
|
+
/******/ // Load entry module and return exports
|
406
|
+
/******/ // This entry module is referenced by other modules so it can't be inlined
|
407
|
+
/******/ var __webpack_exports__ = {};
|
408
|
+
/******/ __webpack_modules__["./node_modules/@webcomponents/webcomponentsjs/webcomponents-bundle.js"](0, __webpack_exports__, __webpack_require__);
|
409
|
+
/******/
|
410
|
+
/******/ })()
|
411
|
+
;
|
3
412
|
//# sourceMappingURL=webcomponents-bundle.js.map
|