@getvitops/core 8.1.0 → 8.2.0-alpha.0

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.
@@ -7,20 +7,20 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
7
7
  Code distributed by Google as part of the polymer project is also
8
8
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
9
9
  */
10
- (function(){var e;function t(e){var t=0;return function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}}}var n=typeof Object.defineProperties==`function`?Object.defineProperty:function(e,t,n){return e==Array.prototype||e==Object.prototype||(e[t]=n.value),e};function r(e){e=[typeof globalThis==`object`&&globalThis,e,typeof window==`object`&&window,typeof self==`object`&&self,typeof global==`object`&&global];for(var t=0;t<e.length;++t){var n=e[t];if(n&&n.Math==Math)return n}throw Error(`Cannot find global object`)}var i=r(this);function a(e,t){if(t)a:{var r=i;e=e.split(`.`);for(var a=0;a<e.length-1;a++){var o=e[a];if(!(o in r))break a;r=r[o]}e=e[e.length-1],a=r[e],t=t(a),t!=a&&t!=null&&n(r,e,{configurable:!0,writable:!0,value:t})}}a(`Symbol`,function(e){function t(e){if(this instanceof t)throw TypeError(`Symbol is not a constructor`);return new r(`jscomp_symbol_`+(e||``)+`_`+i++,e)}function r(e,t){this.g=e,n(this,`description`,{configurable:!0,writable:!0,value:t})}if(e)return e;r.prototype.toString=function(){return this.g};var i=0;return t}),a(`Symbol.iterator`,function(e){if(e)return e;e=Symbol(`Symbol.iterator`);for(var r=`Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array`.split(` `),a=0;a<r.length;a++){var s=i[r[a]];typeof s==`function`&&typeof s.prototype[e]!=`function`&&n(s.prototype,e,{configurable:!0,writable:!0,value:function(){return o(t(this))}})}return e});function o(e){return e={next:e},e[Symbol.iterator]=function(){return this},e}function s(e){var n=typeof Symbol<`u`&&Symbol.iterator&&e[Symbol.iterator];return n?n.call(e):{next:t(e)}}function c(e){if(!(e instanceof Array)){e=s(e);for(var t,n=[];!(t=e.next()).done;)n.push(t.value);e=n}return e}var l;if(typeof Object.setPrototypeOf==`function`)l=Object.setPrototypeOf;else{var u;a:{var d={a:!0},f={};try{f.__proto__=d,u=f.a;break a}catch{}u=!1}l=u?function(e,t){if(e.__proto__=t,e.__proto__!==t)throw TypeError(e+` is not extensible`);return e}:null}var p=l;function m(){this.u=!1,this.h=null,this.Oa=void 0,this.g=1,this.ea=0,this.i=null}function h(e){if(e.u)throw TypeError(`Generator is already running`);e.u=!0}m.prototype.O=function(e){this.Oa=e};function g(e,t){e.i={ab:t,fb:!0},e.g=e.ea}m.prototype.return=function(e){this.i={return:e},this.g=this.ea};function ee(e,t){return e.g=3,{value:t}}function _(e){this.g=new m,this.h=e}function v(e,t){h(e.g);var n=e.g.h;return n?y(e,`return`in n?n.return:function(e){return{value:e,done:!0}},t,e.g.return):(e.g.return(t),b(e))}function y(e,t,n,r){try{var i=t.call(e.g.h,n);if(!(i instanceof Object))throw TypeError(`Iterator result `+i+` is not an object`);if(!i.done)return e.g.u=!1,i;var a=i.value}catch(t){return e.g.h=null,g(e.g,t),b(e)}return e.g.h=null,r.call(e.g,a),b(e)}function b(e){for(;e.g.g;)try{var t=e.h(e.g);if(t)return e.g.u=!1,{value:t.value,done:!1}}catch(t){e.g.Oa=void 0,g(e.g,t)}if(e.g.u=!1,e.g.i){if(t=e.g.i,e.g.i=null,t.fb)throw t.ab;return{value:t.return,done:!0}}return{value:void 0,done:!0}}function te(e){this.next=function(t){return h(e.g),e.g.h?t=y(e,e.g.h.next,t,e.g.O):(e.g.O(t),t=b(e)),t},this.throw=function(t){return h(e.g),e.g.h?t=y(e,e.g.h.throw,t,e.g.O):(g(e.g,t),t=b(e)),t},this.return=function(t){return v(e,t)},this[Symbol.iterator]=function(){return this}}function x(e,t){return t=new te(new _(t)),p&&e.prototype&&p(t,e.prototype),t}Array.from||(Array.from=function(e){return[].slice.call(e)}),Object.assign||(Object.assign=function(e){for(var t=[].slice.call(arguments,1),n=0,r;n<t.length;n++)if(r=t[n])for(var i=e,a=Object.keys(r),o=0;o<a.length;o++){var s=a[o];i[s]=r[s]}return e});var ne=setTimeout;function re(){}function S(e,t){return function(){e.apply(t,arguments)}}function C(e){if(!(this instanceof C))throw TypeError(`Promises must be constructed via new`);if(typeof e!=`function`)throw TypeError(`not a function`);this.N=0,this.Ha=!1,this.I=void 0,this.ba=[],se(e,this)}function ie(e,t){for(;e.N===3;)e=e.I;e.N===0?e.ba.push(t):(e.Ha=!0,fe(function(){var n=e.N===1?t.hb:t.ib;if(n===null)(e.N===1?ae:w)(t.promise,e.I);else{try{var r=n(e.I)}catch(e){w(t.promise,e);return}ae(t.promise,r)}}))}function ae(e,t){try{if(t===e)throw TypeError(`A promise cannot be resolved with itself.`);if(t&&(typeof t==`object`||typeof t==`function`)){var n=t.then;if(t instanceof C){e.N=3,e.I=t,T(e);return}if(typeof n==`function`){se(S(n,t),e);return}}e.N=1,e.I=t,T(e)}catch(t){w(e,t)}}function w(e,t){e.N=2,e.I=t,T(e)}function T(e){e.N===2&&e.ba.length===0&&fe(function(){e.Ha||typeof console<`u`&&console&&console.warn(`Possible Unhandled Promise Rejection:`,e.I)});for(var t=0,n=e.ba.length;t<n;t++)ie(e,e.ba[t]);e.ba=null}function oe(e,t,n){this.hb=typeof e==`function`?e:null,this.ib=typeof t==`function`?t:null,this.promise=n}function se(e,t){var n=!1;try{e(function(e){n||(n=!0,ae(t,e))},function(e){n||(n=!0,w(t,e))})}catch(e){n||(n=!0,w(t,e))}}C.prototype.catch=function(e){return this.then(null,e)},C.prototype.then=function(e,t){var n=new this.constructor(re);return ie(this,new oe(e,t,n)),n},C.prototype.finally=function(e){var t=this.constructor;return this.then(function(n){return t.resolve(e()).then(function(){return n})},function(n){return t.resolve(e()).then(function(){return t.reject(n)})})};function ce(e){return new C(function(t,n){function r(e,o){try{if(o&&(typeof o==`object`||typeof o==`function`)){var s=o.then;if(typeof s==`function`){s.call(o,function(t){r(e,t)},n);return}}i[e]=o,--a===0&&t(i)}catch(e){n(e)}}if(!e||e.length===void 0)return n(TypeError(`Promise.all accepts an array`));var i=Array.prototype.slice.call(e);if(i.length===0)return t([]);for(var a=i.length,o=0;o<i.length;o++)r(o,i[o])})}function le(e){return e&&typeof e==`object`&&e.constructor===C?e:new C(function(t){t(e)})}function ue(e){return new C(function(t,n){n(e)})}function de(e){return new C(function(t,n){if(!e||e.length===void 0)return n(TypeError(`Promise.race accepts an array`));for(var r=0,i=e.length;r<i;r++)le(e[r]).then(t,n)})}var fe=typeof setImmediate==`function`&&function(e){setImmediate(e)}||function(e){ne(e,0)};if(!window.Promise){window.Promise=C,C.prototype.then=C.prototype.then,C.all=ce,C.race=de,C.resolve=le,C.reject=ue;var pe=document.createTextNode(``),me=[];new MutationObserver(function(){for(var e=me.length,t=0;t<e;t++)me[t]();me.splice(0,e)}).observe(pe,{characterData:!0}),fe=function(e){me.push(e),pe.textContent=0<pe.textContent.length?``:`a`}}(function(e,t){if(!(t in e)){var n=typeof global==typeof n?window:global,r=0,i=String(Math.random()),a=`__symbol@@`+i,o=e.getOwnPropertyNames,s=e.getOwnPropertyDescriptor,c=e.create,l=e.keys,u=e.freeze||e,d=e.defineProperty,f=e.defineProperties,p=s(e,`getOwnPropertyNames`),m=e.prototype,h=m.hasOwnProperty,g=m.propertyIsEnumerable,ee=m.toString,_=function(e,t,n){h.call(e,a)||d(e,a,{enumerable:!1,configurable:!1,writable:!1,value:{}}),e[a][`@@`+t]=n},v=function(e,t){var n=c(e);return o(t).forEach(function(e){x.call(t,e)&&ae(n,e,t[e])}),n},y=function(){},b=function(e){return e!=a&&!h.call(S,e)},te=function(e){return e!=a&&h.call(S,e)},x=function(e){var t=String(e);return te(t)?h.call(this,t)&&!!this[a]&&this[a][`@@`+t]:g.call(this,e)},ne=function(t){return d(m,t,{enumerable:!1,configurable:!0,get:y,set:function(e){T(this,t,{enumerable:!1,configurable:!0,writable:!0,value:e}),_(this,t,!0)}}),S[t]=d(e(t),`constructor`,C),u(S[t])},re=function e(t){if(this instanceof e)throw TypeError(`Symbol is not a constructor`);return ne(`__symbol:${t||``}${i}${++r}`)},S=c(null),C={value:re},ie=function(e){return S[e]},ae=function(e,t,n){var r=String(t);if(te(r)){if(t=T,n.enumerable){var i=c(n);i.enumerable=!1}else i=n;t(e,r,i),_(e,r,!!n.enumerable)}else d(e,t,n);return e},w=function(e){return o(e).filter(te).map(ie)};p.value=ae,d(e,`defineProperty`,p),p.value=w,d(e,t,p),p.value=function(e){return o(e).filter(b)},d(e,`getOwnPropertyNames`,p),p.value=function(e,t){var n=w(t);return n.length?l(t).concat(n).forEach(function(n){x.call(t,n)&&ae(e,n,t[n])}):f(e,t),e},d(e,`defineProperties`,p),p.value=x,d(m,`propertyIsEnumerable`,p),p.value=re,d(n,`Symbol`,p),p.value=function(e){return e=`__symbol:__symbol:${e}${i}`,e in m?S[e]:ne(e)},d(re,`for`,p),p.value=function(e){if(b(e))throw TypeError(e+` is not a symbol`);if(h.call(S,e)&&(e=e.slice(10),e.slice(0,10)===`__symbol:`&&(e=e.slice(10),e!==i)))return e=e.slice(0,e.length-i.length),0<e.length?e:void 0},d(re,`keyFor`,p),p.value=function(e,t){var n=s(e,t);return n&&te(t)&&(n.enumerable=x.call(e,t)),n},d(e,`getOwnPropertyDescriptor`,p),p.value=function(e,t){return arguments.length===1||t===void 0?c(e):v(e,t)},d(e,`create`,p),p.value=function(){var e=ee.call(this);return e===`[object String]`&&te(this)?`[object Symbol]`:e},d(m,`toString`,p);try{if(!0===c(d({},`__symbol:`,{get:function(){return d(this,`__symbol:`,{value:!0})[`__symbol:`]}}))[`__symbol:`])var T=d;else throw`IE11`}catch{T=function(e,t,n){var r=s(m,t);delete m[t],d(e,t,n),d(m,t,r)}}}})(Object,`getOwnPropertySymbols`),(function(e,t){var n=e.defineProperty,r=e.prototype,i=r.toString,a;`iterator match replace search split hasInstance isConcatSpreadable unscopables species toPrimitive toStringTag`.split(` `).forEach(function(o){o in t||(n(t,o,{value:t(o)}),o===`toStringTag`&&(a=e.getOwnPropertyDescriptor(r,`toString`),a.value=function(){var e=i.call(this),n=this==null?this:this[t.toStringTag];return n==null?e:`[object `+n+`]`},n(r,`toString`,a)))})})(Object,Symbol),(function(e,t,n){function r(){return this}t[e]||(t[e]=function(){var t=0,n=this,i={next:function(){var e=n.length<=t;return e?{done:e}:{done:e,value:n[t++]}}};return i[e]=r,i}),n[e]||(n[e]=function(){var t=String.fromCodePoint,n=this,i=0,a=n.length,o={next:function(){var e=a<=i,r=e?``:t(n.codePointAt(i));return i+=r.length,e?{done:e}:{done:e,value:r}}};return o[e]=r,o})})(Symbol.iterator,Array.prototype,String.prototype);var he=Object.prototype.toString;Object.prototype.toString=function(){return this===void 0?`[object Undefined]`:this===null?`[object Null]`:he.call(this)},Object.keys=function(e){return Object.getOwnPropertyNames(e).filter(function(t){return(t=Object.getOwnPropertyDescriptor(e,t))&&t.enumerable})},String.prototype[Symbol.iterator]&&String.prototype.codePointAt||(String.prototype[Symbol.iterator]=function e(){var t,n=this;return x(e,function(e){if(e.g==1&&(t=0),e.g!=3)return t<n.length?e=ee(e,n[t]):(e.g=0,e=void 0),e;t++,e.g=2})}),Set.prototype[Symbol.iterator]||(Set.prototype[Symbol.iterator]=function e(){var t,n=this,r;return x(e,function(e){if(e.g==1&&(t=[],n.forEach(function(e){t.push(e)}),r=0),e.g!=3)return r<t.length?e=ee(e,t[r]):(e.g=0,e=void 0),e;r++,e.g=2})}),Map.prototype[Symbol.iterator]||(Map.prototype[Symbol.iterator]=function e(){var t,n=this,r;return x(e,function(e){if(e.g==1&&(t=[],n.forEach(function(e,n){t.push([n,e])}),r=0),e.g!=3)return r<t.length?e=ee(e,t[r]):(e.g=0,e=void 0),e;r++,e.g=2})});var ge=document.createEvent(`Event`);if(ge.initEvent(`foo`,!0,!0),ge.preventDefault(),!ge.defaultPrevented){var _e=Event.prototype.preventDefault;Event.prototype.preventDefault=function(){this.cancelable&&(_e.call(this),Object.defineProperty(this,"defaultPrevented",{get:function(){return!0},configurable:!0}))}}var ve=/Trident/.test(navigator.userAgent);if(!window.Event||ve&&typeof window.Event!=`function`){var ye=window.Event;if(window.Event=function(e,t){t||={};var n=document.createEvent(`Event`);return n.initEvent(e,!!t.bubbles,!!t.cancelable),n},ye){for(var be in ye)window.Event[be]=ye[be];window.Event.prototype=ye.prototype}}if((!window.CustomEvent||ve&&typeof window.CustomEvent!=`function`)&&(window.CustomEvent=function(e,t){t||={};var n=document.createEvent(`CustomEvent`);return n.initCustomEvent(e,!!t.bubbles,!!t.cancelable,t.detail),n},window.CustomEvent.prototype=window.Event.prototype),!window.MouseEvent||ve&&typeof window.MouseEvent!=`function`){var xe=window.MouseEvent;if(window.MouseEvent=function(e,t){t||={};var n=document.createEvent(`MouseEvent`);return n.initMouseEvent(e,!!t.bubbles,!!t.cancelable,t.view||window,t.detail,t.screenX,t.screenY,t.clientX,t.clientY,t.ctrlKey,t.altKey,t.shiftKey,t.metaKey,t.button,t.relatedTarget),n},xe)for(var Se in xe)window.MouseEvent[Se]=xe[Se];window.MouseEvent.prototype=xe.prototype}var Ce=function(){function e(){i++}var t=!1,n=!1,r={get capture(){return t=!0},get once(){return n=!0}},i=0,a=document.createElement(`div`);a.addEventListener(`click`,e,r);var o=t&&n;return o&&=(a.dispatchEvent(new Event(`click`)),a.dispatchEvent(new Event(`click`)),i==1),a.removeEventListener(`click`,e,r),o}(),we=window.EventTarget??window.Node;if(!Ce&&`addEventListener`in we.prototype){var Te=function(e){if(!e||typeof e!=`object`&&typeof e!=`function`){var t=!!e;e=!1}else t=!!e.capture,e=!!e.once;return{capture:t,once:e}},Ee=we.prototype.addEventListener,De=we.prototype.removeEventListener,Oe=new WeakMap,ke=new WeakMap,Ae=function(e,t,n){var r=n?Oe:ke;return n=r.get(e),n===void 0&&r.set(e,n=new Map),e=n.get(t),e===void 0&&n.set(t,e=new WeakMap),e};we.prototype.addEventListener=function(e,t,n){var r=this;if(t!=null){n=Te(n);var i=n.capture;n=n.once;var a=Ae(this,e,i);if(!a.has(t)){var o=n?function(n){if(a.delete(t),De.call(r,e,o,i),typeof t==`function`)return t.call(r,n);if(typeof t?.handleEvent==`function`)return t.handleEvent(n)}:null;a.set(t,o),Ee.call(this,e,o??t,i)}}},we.prototype.removeEventListener=function(e,t,n){if(t!=null){n=Te(n).capture;var r=Ae(this,e,n),i=r.get(t);i!==void 0&&(r.delete(t),De.call(this,e,i??t,n))}}}Object.getOwnPropertyDescriptor(Node.prototype,`baseURI`)||Object.defineProperty(Node.prototype,"baseURI",{get:function(){var e=(this.ownerDocument||this).querySelector(`base[href]`);return e&&e.href||window.location.href},configurable:!0,enumerable:!0});var je=Element.prototype,Me=(Object.getOwnPropertyDescriptor(je,`attributes`)??Object.getOwnPropertyDescriptor(Node.prototype,`attributes`))?.get??function(){return this.attributes},Ne=Array.prototype.map;je.hasOwnProperty(`getAttributeNames`)||(je.getAttributeNames=function(){return Ne.call(Me.call(this),function(e){return e.name})});var Pe=Element.prototype;Pe.hasOwnProperty(`matches`)||(Pe.matches=Pe.webkitMatchesSelector??Pe.msMatchesSelector);var Fe=Node.prototype.appendChild;function Ie(e){e=e.prototype,e.hasOwnProperty(`append`)||Object.defineProperty(e,"append",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];for(t=s(t),n=t.next();!n.done;n=t.next())n=n.value,Fe.call(this,typeof n==`string`?document.createTextNode(n):n)}})}Ie(Document),Ie(DocumentFragment),Ie(Element);var Le=Node.prototype.insertBefore,Re=Object.getOwnPropertyDescriptor(Node.prototype,`firstChild`)?.get??function(){return this.firstChild};function ze(e){e=e.prototype,e.hasOwnProperty(`prepend`)||Object.defineProperty(e,"prepend",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];n=Re.call(this),t=s(t);for(var r=t.next();!r.done;r=t.next())r=r.value,Le.call(this,typeof r==`string`?document.createTextNode(r):r,n)}})}ze(Document),ze(DocumentFragment),ze(Element);var Be=Node.prototype.appendChild,Ve=Node.prototype.removeChild,He=Object.getOwnPropertyDescriptor(Node.prototype,`firstChild`)?.get??function(){return this.firstChild};function Ue(e){e=e.prototype,e.hasOwnProperty(`replaceChildren`)||Object.defineProperty(e,"replaceChildren",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];for(;(n=He.call(this))!==null;)Ve.call(this,n);for(t=s(t),n=t.next();!n.done;n=t.next())n=n.value,Be.call(this,typeof n==`string`?document.createTextNode(n):n)}})}Ue(Document),Ue(DocumentFragment),Ue(Element);var We=Node.prototype.insertBefore,Ge=Object.getOwnPropertyDescriptor(Node.prototype,`parentNode`)?.get??function(){return this.parentNode},Ke=Object.getOwnPropertyDescriptor(Node.prototype,`nextSibling`)?.get??function(){return this.nextSibling};function qe(e){e=e.prototype,e.hasOwnProperty(`after`)||Object.defineProperty(e,"after",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];if(n=Ge.call(this),n!==null){var r=Ke.call(this);t=s(t);for(var i=t.next();!i.done;i=t.next())i=i.value,We.call(n,typeof i==`string`?document.createTextNode(i):i,r)}}})}qe(CharacterData),qe(Element);var Je=Node.prototype.insertBefore,Ye=Object.getOwnPropertyDescriptor(Node.prototype,`parentNode`)?.get??function(){return this.parentNode};function Xe(e){e=e.prototype,e.hasOwnProperty(`before`)||Object.defineProperty(e,"before",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];if(n=Ye.call(this),n!==null){t=s(t);for(var r=t.next();!r.done;r=t.next())r=r.value,Je.call(n,typeof r==`string`?document.createTextNode(r):r,this)}}})}Xe(CharacterData),Xe(Element);var Ze=Node.prototype.removeChild,Qe=Object.getOwnPropertyDescriptor(Node.prototype,`parentNode`)?.get??function(){return this.parentNode};function $e(e){e=e.prototype,e.hasOwnProperty(`remove`)||Object.defineProperty(e,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){var e=Qe.call(this);e&&Ze.call(e,this)}})}$e(CharacterData),$e(Element);var et=Node.prototype.insertBefore,tt=Node.prototype.removeChild,nt=Object.getOwnPropertyDescriptor(Node.prototype,`parentNode`)?.get??function(){return this.parentNode};function rt(e){e=e.prototype,e.hasOwnProperty(`replaceWith`)||Object.defineProperty(e,"replaceWith",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];if(n=nt.call(this),n!==null){t=s(t);for(var r=t.next();!r.done;r=t.next())r=r.value,et.call(n,typeof r==`string`?document.createTextNode(r):r,this);tt.call(n,this)}}})}rt(CharacterData),rt(Element);var it=window.Element.prototype,at=window.HTMLElement.prototype,ot=window.SVGElement.prototype;!at.hasOwnProperty(`classList`)||it.hasOwnProperty(`classList`)||ot.hasOwnProperty(`classList`)||Object.defineProperty(it,"classList",Object.getOwnPropertyDescriptor(at,`classList`));var st=Element.prototype,ct=Element.prototype.hasAttribute,lt=Element.prototype.setAttribute,ut=Element.prototype.removeAttribute;st.hasOwnProperty(`toggleAttribute`)||(st.toggleAttribute=function(e,t){return t===void 0?ct.call(this,e)?(ut.call(this,e),!1):(lt.call(this,e,``),!0):t?(ct.call(this,e)||lt.call(this,e,``),!0):(ut.call(this,e),!1)});var dt=document.createElement(`style`);dt.textContent=`body {transition: opacity ease-in 0.2s; }
10
+ (function(){var e;function t(e){var t=0;return function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}}}var n=typeof Object.defineProperties==`function`?Object.defineProperty:function(e,t,n){return e==Array.prototype||e==Object.prototype||(e[t]=n.value),e};function r(e){e=[typeof globalThis==`object`&&globalThis,e,typeof window==`object`&&window,typeof self==`object`&&self,typeof global==`object`&&global];for(var t=0;t<e.length;++t){var n=e[t];if(n&&n.Math==Math)return n}throw Error(`Cannot find global object`)}var i=r(this);function a(e,t){if(t)a:{var r=i;e=e.split(`.`);for(var a=0;a<e.length-1;a++){var o=e[a];if(!(o in r))break a;r=r[o]}e=e[e.length-1],a=r[e],t=t(a),t!=a&&t!=null&&n(r,e,{configurable:!0,writable:!0,value:t})}}a(`Symbol`,function(e){function t(e){if(this instanceof t)throw TypeError(`Symbol is not a constructor`);return new r(`jscomp_symbol_`+(e||``)+`_`+i++,e)}function r(e,t){this.g=e,n(this,`description`,{configurable:!0,writable:!0,value:t})}if(e)return e;r.prototype.toString=function(){return this.g};var i=0;return t}),a(`Symbol.iterator`,function(e){if(e)return e;e=Symbol(`Symbol.iterator`);for(var r=`Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array`.split(` `),a=0;a<r.length;a++){var s=i[r[a]];typeof s==`function`&&typeof s.prototype[e]!=`function`&&n(s.prototype,e,{configurable:!0,writable:!0,value:function(){return o(t(this))}})}return e});function o(e){return e={next:e},e[Symbol.iterator]=function(){return this},e}function s(e){var n=typeof Symbol<`u`&&Symbol.iterator&&e[Symbol.iterator];return n?n.call(e):{next:t(e)}}function c(e){if(!(e instanceof Array)){e=s(e);for(var t,n=[];!(t=e.next()).done;)n.push(t.value);e=n}return e}var l;if(typeof Object.setPrototypeOf==`function`)l=Object.setPrototypeOf;else{var u;a:{var d={a:!0},f={};try{f.__proto__=d,u=f.a;break a}catch{}u=!1}l=u?function(e,t){if(e.__proto__=t,e.__proto__!==t)throw TypeError(e+` is not extensible`);return e}:null}var p=l;function m(){this.u=!1,this.h=null,this.Oa=void 0,this.g=1,this.ea=0,this.i=null}function h(e){if(e.u)throw TypeError(`Generator is already running`);e.u=!0}m.prototype.O=function(e){this.Oa=e};function g(e,t){e.i={ab:t,fb:!0},e.g=e.ea}m.prototype.return=function(e){this.i={return:e},this.g=this.ea};function ee(e,t){return e.g=3,{value:t}}function _(e){this.g=new m,this.h=e}function v(e,t){h(e.g);var n=e.g.h;return n?y(e,`return`in n?n.return:function(e){return{value:e,done:!0}},t,e.g.return):(e.g.return(t),b(e))}function y(e,t,n,r){try{var i=t.call(e.g.h,n);if(!(i instanceof Object))throw TypeError(`Iterator result `+i+` is not an object`);if(!i.done)return e.g.u=!1,i;var a=i.value}catch(t){return e.g.h=null,g(e.g,t),b(e)}return e.g.h=null,r.call(e.g,a),b(e)}function b(e){for(;e.g.g;)try{var t=e.h(e.g);if(t)return e.g.u=!1,{value:t.value,done:!1}}catch(t){e.g.Oa=void 0,g(e.g,t)}if(e.g.u=!1,e.g.i){if(t=e.g.i,e.g.i=null,t.fb)throw t.ab;return{value:t.return,done:!0}}return{value:void 0,done:!0}}function te(e){this.next=function(t){return h(e.g),e.g.h?t=y(e,e.g.h.next,t,e.g.O):(e.g.O(t),t=b(e)),t},this.throw=function(t){return h(e.g),e.g.h?t=y(e,e.g.h.throw,t,e.g.O):(g(e.g,t),t=b(e)),t},this.return=function(t){return v(e,t)},this[Symbol.iterator]=function(){return this}}function x(e,t){return t=new te(new _(t)),p&&e.prototype&&p(t,e.prototype),t}Array.from||(Array.from=function(e){return[].slice.call(e)}),Object.assign||(Object.assign=function(e){for(var t=[].slice.call(arguments,1),n=0,r;n<t.length;n++)if(r=t[n])for(var i=e,a=Object.keys(r),o=0;o<a.length;o++){var s=a[o];i[s]=r[s]}return e});var ne=setTimeout;function re(){}function S(e,t){return function(){e.apply(t,arguments)}}function C(e){if(!(this instanceof C))throw TypeError(`Promises must be constructed via new`);if(typeof e!=`function`)throw TypeError(`not a function`);this.N=0,this.Ha=!1,this.I=void 0,this.ba=[],se(e,this)}function ie(e,t){for(;e.N===3;)e=e.I;e.N===0?e.ba.push(t):(e.Ha=!0,fe(function(){var n=e.N===1?t.hb:t.ib;if(n===null)(e.N===1?ae:w)(t.promise,e.I);else{try{var r=n(e.I)}catch(e){w(t.promise,e);return}ae(t.promise,r)}}))}function ae(e,t){try{if(t===e)throw TypeError(`A promise cannot be resolved with itself.`);if(t&&(typeof t==`object`||typeof t==`function`)){var n=t.then;if(t instanceof C){e.N=3,e.I=t,T(e);return}if(typeof n==`function`){se(S(n,t),e);return}}e.N=1,e.I=t,T(e)}catch(t){w(e,t)}}function w(e,t){e.N=2,e.I=t,T(e)}function T(e){e.N===2&&e.ba.length===0&&fe(function(){e.Ha||typeof console<`u`&&console&&console.warn(`Possible Unhandled Promise Rejection:`,e.I)});for(var t=0,n=e.ba.length;t<n;t++)ie(e,e.ba[t]);e.ba=null}function oe(e,t,n){this.hb=typeof e==`function`?e:null,this.ib=typeof t==`function`?t:null,this.promise=n}function se(e,t){var n=!1;try{e(function(e){n||(n=!0,ae(t,e))},function(e){n||(n=!0,w(t,e))})}catch(e){n||(n=!0,w(t,e))}}C.prototype.catch=function(e){return this.then(null,e)},C.prototype.then=function(e,t){var n=new this.constructor(re);return ie(this,new oe(e,t,n)),n},C.prototype.finally=function(e){var t=this.constructor;return this.then(function(n){return t.resolve(e()).then(function(){return n})},function(n){return t.resolve(e()).then(function(){return t.reject(n)})})};function ce(e){return new C(function(t,n){function r(e,o){try{if(o&&(typeof o==`object`||typeof o==`function`)){var s=o.then;if(typeof s==`function`){s.call(o,function(t){r(e,t)},n);return}}i[e]=o,--a===0&&t(i)}catch(e){n(e)}}if(!e||e.length===void 0)return n(/* @__PURE__ */ TypeError(`Promise.all accepts an array`));var i=Array.prototype.slice.call(e);if(i.length===0)return t([]);for(var a=i.length,o=0;o<i.length;o++)r(o,i[o])})}function le(e){return e&&typeof e==`object`&&e.constructor===C?e:new C(function(t){t(e)})}function ue(e){return new C(function(t,n){n(e)})}function de(e){return new C(function(t,n){if(!e||e.length===void 0)return n(/* @__PURE__ */ TypeError(`Promise.race accepts an array`));for(var r=0,i=e.length;r<i;r++)le(e[r]).then(t,n)})}var fe=typeof setImmediate==`function`&&function(e){setImmediate(e)}||function(e){ne(e,0)};if(!window.Promise){window.Promise=C,C.prototype.then=C.prototype.then,C.all=ce,C.race=de,C.resolve=le,C.reject=ue;var pe=document.createTextNode(``),me=[];new MutationObserver(function(){for(var e=me.length,t=0;t<e;t++)me[t]();me.splice(0,e)}).observe(pe,{characterData:!0}),fe=function(e){me.push(e),pe.textContent=0<pe.textContent.length?``:`a`}}(function(e,t){if(!(t in e)){var n=typeof global==typeof n?window:global,r=0,i=String(Math.random()),a=`__symbol@@`+i,o=e.getOwnPropertyNames,s=e.getOwnPropertyDescriptor,c=e.create,l=e.keys,u=e.freeze||e,d=e.defineProperty,f=e.defineProperties,p=s(e,`getOwnPropertyNames`),m=e.prototype,h=m.hasOwnProperty,g=m.propertyIsEnumerable,ee=m.toString,_=function(e,t,n){h.call(e,a)||d(e,a,{enumerable:!1,configurable:!1,writable:!1,value:{}}),e[a][`@@`+t]=n},v=function(e,t){var n=c(e);return o(t).forEach(function(e){x.call(t,e)&&ae(n,e,t[e])}),n},y=function(){},b=function(e){return e!=a&&!h.call(S,e)},te=function(e){return e!=a&&h.call(S,e)},x=function(e){var t=String(e);return te(t)?h.call(this,t)&&!!this[a]&&this[a][`@@`+t]:g.call(this,e)},ne=function(t){return d(m,t,{enumerable:!1,configurable:!0,get:y,set:function(e){T(this,t,{enumerable:!1,configurable:!0,writable:!0,value:e}),_(this,t,!0)}}),S[t]=d(e(t),`constructor`,C),u(S[t])},re=function e(t){if(this instanceof e)throw TypeError(`Symbol is not a constructor`);return ne(`__symbol:${t||``}${i}${++r}`)},S=c(null),C={value:re},ie=function(e){return S[e]},ae=function(e,t,n){var r=String(t);if(te(r)){if(t=T,n.enumerable){var i=c(n);i.enumerable=!1}else i=n;t(e,r,i),_(e,r,!!n.enumerable)}else d(e,t,n);return e},w=function(e){return o(e).filter(te).map(ie)};p.value=ae,d(e,`defineProperty`,p),p.value=w,d(e,t,p),p.value=function(e){return o(e).filter(b)},d(e,`getOwnPropertyNames`,p),p.value=function(e,t){var n=w(t);return n.length?l(t).concat(n).forEach(function(n){x.call(t,n)&&ae(e,n,t[n])}):f(e,t),e},d(e,`defineProperties`,p),p.value=x,d(m,`propertyIsEnumerable`,p),p.value=re,d(n,`Symbol`,p),p.value=function(e){return e=`__symbol:__symbol:${e}${i}`,e in m?S[e]:ne(e)},d(re,`for`,p),p.value=function(e){if(b(e))throw TypeError(e+` is not a symbol`);if(h.call(S,e)&&(e=e.slice(10),e.slice(0,10)===`__symbol:`&&(e=e.slice(10),e!==i)))return e=e.slice(0,e.length-i.length),0<e.length?e:void 0},d(re,`keyFor`,p),p.value=function(e,t){var n=s(e,t);return n&&te(t)&&(n.enumerable=x.call(e,t)),n},d(e,`getOwnPropertyDescriptor`,p),p.value=function(e,t){return arguments.length===1||t===void 0?c(e):v(e,t)},d(e,`create`,p),p.value=function(){var e=ee.call(this);return e===`[object String]`&&te(this)?`[object Symbol]`:e},d(m,`toString`,p);try{if(!0===c(d({},`__symbol:`,{get:function(){return d(this,`__symbol:`,{value:!0})[`__symbol:`]}}))[`__symbol:`])var T=d;else throw`IE11`}catch{T=function(e,t,n){var r=s(m,t);delete m[t],d(e,t,n),d(m,t,r)}}}})(Object,`getOwnPropertySymbols`),(function(e,t){var n=e.defineProperty,r=e.prototype,i=r.toString,a;`iterator match replace search split hasInstance isConcatSpreadable unscopables species toPrimitive toStringTag`.split(` `).forEach(function(o){o in t||(n(t,o,{value:t(o)}),o===`toStringTag`&&(a=e.getOwnPropertyDescriptor(r,`toString`),a.value=function(){var e=i.call(this),n=this==null?this:this[t.toStringTag];return n==null?e:`[object `+n+`]`},n(r,`toString`,a)))})})(Object,Symbol),(function(e,t,n){function r(){return this}t[e]||(t[e]=function(){var t=0,n=this,i={next:function(){var e=n.length<=t;return e?{done:e}:{done:e,value:n[t++]}}};return i[e]=r,i}),n[e]||(n[e]=function(){var t=String.fromCodePoint,n=this,i=0,a=n.length,o={next:function(){var e=a<=i,r=e?``:t(n.codePointAt(i));return i+=r.length,e?{done:e}:{done:e,value:r}}};return o[e]=r,o})})(Symbol.iterator,Array.prototype,String.prototype);var he=Object.prototype.toString;Object.prototype.toString=function(){return this===void 0?`[object Undefined]`:this===null?`[object Null]`:he.call(this)},Object.keys=function(e){return Object.getOwnPropertyNames(e).filter(function(t){return(t=Object.getOwnPropertyDescriptor(e,t))&&t.enumerable})},String.prototype[Symbol.iterator]&&String.prototype.codePointAt||(String.prototype[Symbol.iterator]=function e(){var t,n=this;return x(e,function(e){if(e.g==1&&(t=0),e.g!=3)return t<n.length?e=ee(e,n[t]):(e.g=0,e=void 0),e;t++,e.g=2})}),Set.prototype[Symbol.iterator]||(Set.prototype[Symbol.iterator]=function e(){var t,n=this,r;return x(e,function(e){if(e.g==1&&(t=[],n.forEach(function(e){t.push(e)}),r=0),e.g!=3)return r<t.length?e=ee(e,t[r]):(e.g=0,e=void 0),e;r++,e.g=2})}),Map.prototype[Symbol.iterator]||(Map.prototype[Symbol.iterator]=function e(){var t,n=this,r;return x(e,function(e){if(e.g==1&&(t=[],n.forEach(function(e,n){t.push([n,e])}),r=0),e.g!=3)return r<t.length?e=ee(e,t[r]):(e.g=0,e=void 0),e;r++,e.g=2})});var ge=document.createEvent(`Event`);if(ge.initEvent(`foo`,!0,!0),ge.preventDefault(),!ge.defaultPrevented){var _e=Event.prototype.preventDefault;Event.prototype.preventDefault=function(){this.cancelable&&(_e.call(this),Object.defineProperty(this,"defaultPrevented",{get:function(){return!0},configurable:!0}))}}var ve=/Trident/.test(navigator.userAgent);if(!window.Event||ve&&typeof window.Event!=`function`){var ye=window.Event;if(window.Event=function(e,t){t||={};var n=document.createEvent(`Event`);return n.initEvent(e,!!t.bubbles,!!t.cancelable),n},ye){for(var be in ye)window.Event[be]=ye[be];window.Event.prototype=ye.prototype}}if((!window.CustomEvent||ve&&typeof window.CustomEvent!=`function`)&&(window.CustomEvent=function(e,t){t||={};var n=document.createEvent(`CustomEvent`);return n.initCustomEvent(e,!!t.bubbles,!!t.cancelable,t.detail),n},window.CustomEvent.prototype=window.Event.prototype),!window.MouseEvent||ve&&typeof window.MouseEvent!=`function`){var xe=window.MouseEvent;if(window.MouseEvent=function(e,t){t||={};var n=document.createEvent(`MouseEvent`);return n.initMouseEvent(e,!!t.bubbles,!!t.cancelable,t.view||window,t.detail,t.screenX,t.screenY,t.clientX,t.clientY,t.ctrlKey,t.altKey,t.shiftKey,t.metaKey,t.button,t.relatedTarget),n},xe)for(var Se in xe)window.MouseEvent[Se]=xe[Se];window.MouseEvent.prototype=xe.prototype}var Ce=function(){function e(){i++}var t=!1,n=!1,r={get capture(){return t=!0},get once(){return n=!0}},i=0,a=document.createElement(`div`);a.addEventListener(`click`,e,r);var o=t&&n;return o&&=(a.dispatchEvent(new Event(`click`)),a.dispatchEvent(new Event(`click`)),i==1),a.removeEventListener(`click`,e,r),o}(),we=window.EventTarget??window.Node;if(!Ce&&`addEventListener`in we.prototype){var Te=function(e){if(!e||typeof e!=`object`&&typeof e!=`function`){var t=!!e;e=!1}else t=!!e.capture,e=!!e.once;return{capture:t,once:e}},Ee=we.prototype.addEventListener,De=we.prototype.removeEventListener,Oe=/* @__PURE__ */ new WeakMap,ke=/* @__PURE__ */ new WeakMap,Ae=function(e,t,n){var r=n?Oe:ke;return n=r.get(e),n===void 0&&r.set(e,n=/* @__PURE__ */ new Map),e=n.get(t),e===void 0&&n.set(t,e=/* @__PURE__ */ new WeakMap),e};we.prototype.addEventListener=function(e,t,n){var r=this;if(t!=null){n=Te(n);var i=n.capture;n=n.once;var a=Ae(this,e,i);if(!a.has(t)){var o=n?function(n){if(a.delete(t),De.call(r,e,o,i),typeof t==`function`)return t.call(r,n);if(typeof t?.handleEvent==`function`)return t.handleEvent(n)}:null;a.set(t,o),Ee.call(this,e,o??t,i)}}},we.prototype.removeEventListener=function(e,t,n){if(t!=null){n=Te(n).capture;var r=Ae(this,e,n),i=r.get(t);i!==void 0&&(r.delete(t),De.call(this,e,i??t,n))}}}Object.getOwnPropertyDescriptor(Node.prototype,`baseURI`)||Object.defineProperty(Node.prototype,"baseURI",{get:function(){var e=(this.ownerDocument||this).querySelector(`base[href]`);return e&&e.href||window.location.href},configurable:!0,enumerable:!0});var je=Element.prototype,Me=(Object.getOwnPropertyDescriptor(je,`attributes`)??Object.getOwnPropertyDescriptor(Node.prototype,`attributes`))?.get??function(){return this.attributes},Ne=Array.prototype.map;je.hasOwnProperty(`getAttributeNames`)||(je.getAttributeNames=function(){return Ne.call(Me.call(this),function(e){return e.name})});var Pe=Element.prototype;Pe.hasOwnProperty(`matches`)||(Pe.matches=Pe.webkitMatchesSelector??Pe.msMatchesSelector);var Fe=Node.prototype.appendChild;function Ie(e){e=e.prototype,e.hasOwnProperty(`append`)||Object.defineProperty(e,"append",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];for(t=s(t),n=t.next();!n.done;n=t.next())n=n.value,Fe.call(this,typeof n==`string`?document.createTextNode(n):n)}})}Ie(Document),Ie(DocumentFragment),Ie(Element);var Le=Node.prototype.insertBefore,Re=Object.getOwnPropertyDescriptor(Node.prototype,`firstChild`)?.get??function(){return this.firstChild};function ze(e){e=e.prototype,e.hasOwnProperty(`prepend`)||Object.defineProperty(e,"prepend",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];n=Re.call(this),t=s(t);for(var r=t.next();!r.done;r=t.next())r=r.value,Le.call(this,typeof r==`string`?document.createTextNode(r):r,n)}})}ze(Document),ze(DocumentFragment),ze(Element);var Be=Node.prototype.appendChild,Ve=Node.prototype.removeChild,He=Object.getOwnPropertyDescriptor(Node.prototype,`firstChild`)?.get??function(){return this.firstChild};function Ue(e){e=e.prototype,e.hasOwnProperty(`replaceChildren`)||Object.defineProperty(e,"replaceChildren",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];for(;(n=He.call(this))!==null;)Ve.call(this,n);for(t=s(t),n=t.next();!n.done;n=t.next())n=n.value,Be.call(this,typeof n==`string`?document.createTextNode(n):n)}})}Ue(Document),Ue(DocumentFragment),Ue(Element);var We=Node.prototype.insertBefore,Ge=Object.getOwnPropertyDescriptor(Node.prototype,`parentNode`)?.get??function(){return this.parentNode},Ke=Object.getOwnPropertyDescriptor(Node.prototype,`nextSibling`)?.get??function(){return this.nextSibling};function qe(e){e=e.prototype,e.hasOwnProperty(`after`)||Object.defineProperty(e,"after",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];if(n=Ge.call(this),n!==null){var r=Ke.call(this);t=s(t);for(var i=t.next();!i.done;i=t.next())i=i.value,We.call(n,typeof i==`string`?document.createTextNode(i):i,r)}}})}qe(CharacterData),qe(Element);var Je=Node.prototype.insertBefore,Ye=Object.getOwnPropertyDescriptor(Node.prototype,`parentNode`)?.get??function(){return this.parentNode};function Xe(e){e=e.prototype,e.hasOwnProperty(`before`)||Object.defineProperty(e,"before",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];if(n=Ye.call(this),n!==null){t=s(t);for(var r=t.next();!r.done;r=t.next())r=r.value,Je.call(n,typeof r==`string`?document.createTextNode(r):r,this)}}})}Xe(CharacterData),Xe(Element);var Ze=Node.prototype.removeChild,Qe=Object.getOwnPropertyDescriptor(Node.prototype,`parentNode`)?.get??function(){return this.parentNode};function $e(e){e=e.prototype,e.hasOwnProperty(`remove`)||Object.defineProperty(e,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){var e=Qe.call(this);e&&Ze.call(e,this)}})}$e(CharacterData),$e(Element);var et=Node.prototype.insertBefore,tt=Node.prototype.removeChild,nt=Object.getOwnPropertyDescriptor(Node.prototype,`parentNode`)?.get??function(){return this.parentNode};function rt(e){e=e.prototype,e.hasOwnProperty(`replaceWith`)||Object.defineProperty(e,"replaceWith",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];if(n=nt.call(this),n!==null){t=s(t);for(var r=t.next();!r.done;r=t.next())r=r.value,et.call(n,typeof r==`string`?document.createTextNode(r):r,this);tt.call(n,this)}}})}rt(CharacterData),rt(Element);var it=window.Element.prototype,at=window.HTMLElement.prototype,ot=window.SVGElement.prototype;!at.hasOwnProperty(`classList`)||it.hasOwnProperty(`classList`)||ot.hasOwnProperty(`classList`)||Object.defineProperty(it,"classList",Object.getOwnPropertyDescriptor(at,`classList`));var st=Element.prototype,ct=Element.prototype.hasAttribute,lt=Element.prototype.setAttribute,ut=Element.prototype.removeAttribute;st.hasOwnProperty(`toggleAttribute`)||(st.toggleAttribute=function(e,t){return t===void 0?ct.call(this,e)?(ut.call(this,e),!1):(lt.call(this,e,``),!0):t?(ct.call(this,e)||lt.call(this,e,``),!0):(ut.call(this,e),!1)});var dt=document.createElement(`style`);dt.textContent=`body {transition: opacity ease-in 0.2s; }
11
11
  body[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; }
12
- `;var ft=document.querySelector(`head`);ft.insertBefore(dt,ft.firstChild);var E=window;E.WebComponents=E.WebComponents||{flags:{}};var pt=document.querySelector(`script[src*="webcomponents-bundle"]`),mt=/wc-(.+)/,D={};if(!D.noOpts){if(location.search.slice(1).split(`&`).forEach(function(e){e=e.split(`=`);var t;e[0]&&(t=e[0].match(mt))&&(D[t[1]]=e[1]||!0)}),pt)for(var ht=0,gt=void 0;gt=pt.attributes[ht];ht++)gt.name!==`src`&&(D[gt.name]=gt.value||!0);var _t={};D.log&&D.log.split&&D.log.split(`,`).forEach(function(e){_t[e]=!0}),D.log=_t}E.WebComponents.flags=D;var vt=D.shadydom;if(vt){E.ShadyDOM=E.ShadyDOM||{},E.ShadyDOM.force=vt;var yt=D.noPatch;E.ShadyDOM.noPatch=yt===`true`?!0:yt}var bt=D.register||D.ce;bt&&window.customElements&&(E.customElements.forcePolyfill=bt),(function(){function e(){}function t(e,t){if(!e.childNodes.length)return[];switch(e.nodeType){case Node.DOCUMENT_NODE:return h.call(e,t);case Node.DOCUMENT_FRAGMENT_NODE:return g.call(e,t);default:return m.call(e,t)}}var n=typeof HTMLTemplateElement>`u`,r=!(document.createDocumentFragment().cloneNode()instanceof DocumentFragment),i=!1;/Trident/.test(navigator.userAgent)&&function(){function e(e,t){if(e instanceof DocumentFragment)for(var r;r=e.firstChild;)n.call(this,r,t);else n.call(this,e,t);return e}i=!0;var t=Node.prototype.cloneNode;Node.prototype.cloneNode=function(e){return e=t.call(this,e),this instanceof DocumentFragment&&(e.__proto__=DocumentFragment.prototype),e},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=e;var r=Node.prototype.appendChild;Node.prototype.appendChild=function(t){return t instanceof DocumentFragment?e.call(this,t,null):r.call(this,t),t};var a=Node.prototype.removeChild,o=Node.prototype.replaceChild;Node.prototype.replaceChild=function(t,n){return t instanceof DocumentFragment?(e.call(this,t,n),a.call(this,n)):o.call(this,t,n),n},Document.prototype.createDocumentFragment=function(){var e=this.createElement(`df`);return e.__proto__=DocumentFragment.prototype,e};var s=Document.prototype.importNode;Document.prototype.importNode=function(e,t){return t=s.call(this,e,t||!1),e instanceof DocumentFragment&&(t.__proto__=DocumentFragment.prototype),t}}();var a=Node.prototype.cloneNode,o=Document.prototype.createElement,s=Document.prototype.importNode,c=Node.prototype.removeChild,l=Node.prototype.appendChild,u=Node.prototype.replaceChild,d=DOMParser.prototype.parseFromString,f=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,`innerHTML`)||{get:function(){return this.innerHTML},set:function(e){this.innerHTML=e}},p=Object.getOwnPropertyDescriptor(window.Node.prototype,`childNodes`)||{get:function(){return this.childNodes}},m=Element.prototype.querySelectorAll,h=Document.prototype.querySelectorAll,g=DocumentFragment.prototype.querySelectorAll,ee=function(){if(!n){var e=document.createElement(`template`),t=document.createElement(`template`);return t.content.appendChild(document.createElement(`div`)),e.content.appendChild(t),e=e.cloneNode(!0),e.content.childNodes.length===0||e.content.firstChild.content.childNodes.length===0||r}}();if(n){var _=document.implementation.createHTMLDocument(`template`),v=!0,y=document.createElement(`style`);y.textContent=`template{display:none;}`;var b=document.head;b.insertBefore(y,b.firstElementChild),e.prototype=Object.create(HTMLElement.prototype);var te=!document.createElement(`div`).hasOwnProperty(`innerHTML`);e.Z=function(t){if(!t.content&&t.namespaceURI===document.documentElement.namespaceURI){t.content=_.createDocumentFragment();for(var n;n=t.firstChild;)l.call(t.content,n);if(te)t.__proto__=e.prototype;else if(t.cloneNode=function(t){return e.va(this,t)},v)try{ne(t),re(t)}catch{v=!1}e.bootstrap(t.content)}};var x={option:[`select`],thead:[`table`],col:[`colgroup`,`table`],tr:[`tbody`,`table`],th:[`tr`,`tbody`,`table`],td:[`tr`,`tbody`,`table`]},ne=function(t){Object.defineProperty(t,"innerHTML",{get:function(){return T(this)},set:function(t){var n=x[(/<([a-z][^/\0>\x20\t\r\n\f]+)/i.exec(t)||[``,``])[1].toLowerCase()];if(n)for(var r=0;r<n.length;r++)t=`<`+n[r]+`>`+t+`</`+n[r]+`>`;for(_.body.innerHTML=t,e.bootstrap(_);this.content.firstChild;)c.call(this.content,this.content.firstChild);if(t=_.body,n)for(r=0;r<n.length;r++)t=t.lastChild;for(;t.firstChild;)l.call(this.content,t.firstChild)},configurable:!0})},re=function(e){Object.defineProperty(e,"outerHTML",{get:function(){return`<template>`+this.innerHTML+`</template>`},set:function(e){if(this.parentNode){for(_.body.innerHTML=e,e=this.ownerDocument.createDocumentFragment();_.body.firstChild;)l.call(e,_.body.firstChild);u.call(this.parentNode,e,this)}else throw Error(`Failed to set the 'outerHTML' property on 'Element': This element has no parent node.`)},configurable:!0})};ne(e.prototype),re(e.prototype),e.bootstrap=function(n){n=t(n,`template`);for(var r=0,i=n.length,a;r<i&&(a=n[r]);r++)e.Z(a)},document.addEventListener(`DOMContentLoaded`,function(){e.bootstrap(document)}),Document.prototype.createElement=function(){var t=o.apply(this,arguments);return t.localName===`template`&&e.Z(t),t},DOMParser.prototype.parseFromString=function(){var t=d.apply(this,arguments);return e.bootstrap(t),t},Object.defineProperty(HTMLElement.prototype,"innerHTML",{get:function(){return T(this)},set:function(t){f.set.call(this,t),e.bootstrap(this)},configurable:!0,enumerable:!0});var S=/[&\u00A0"]/g,C=/[&\u00A0<>]/g,ie=function(e){switch(e){case`&`:return`&amp;`;case`<`:return`&lt;`;case`>`:return`&gt;`;case`"`:return`&quot;`;case`\xA0`:return`&nbsp;`}};y=function(e){for(var t={},n=0;n<e.length;n++)t[e[n]]=!0;return t};var ae=y(`area base br col command embed hr img input keygen link meta param source track wbr`.split(` `)),w=y(`style script xmp iframe noembed noframes plaintext noscript`.split(` `)),T=function(e,t){e.localName===`template`&&(e=e.content);for(var n=``,r=t?t(e):p.get.call(e),i=0,a=r.length,o;i<a&&(o=r[i]);i++){a:{var s=o,c=e,l=t;switch(s.nodeType){case Node.ELEMENT_NODE:for(var u=s.localName,d=`<`+u,f=s.attributes,m=0;c=f[m];m++)d+=` `+c.name+`="`+c.value.replace(S,ie)+`"`;d+=`>`,s=ae[u]?d:d+T(s,l)+`</`+u+`>`;break a;case Node.TEXT_NODE:s=s.data,s=c&&w[c.localName]?s:s.replace(C,ie);break a;case Node.COMMENT_NODE:s=`<!--`+s.data+`-->`;break a;default:throw window.console.error(s),Error(`not implemented`)}}n+=s}return n}}if(n||ee){e.va=function(e,t){var n=a.call(e,!1);return this.Z&&this.Z(n),t&&(l.call(n.content,a.call(e.content,!0)),oe(n.content,e.content)),n};var oe=function(n,r){if(r.querySelectorAll&&(r=t(r,`template`),r.length!==0)){n=t(n,`template`);for(var i=0,a=n.length,o,s;i<a;i++)s=r[i],o=n[i],e&&e.Z&&e.Z(s),u.call(o.parentNode,se.call(s,!0),o)}},se=Node.prototype.cloneNode=function(t){if(!i&&r&&this instanceof DocumentFragment)if(t)var n=ce.call(this.ownerDocument,this,!0);else return this.ownerDocument.createDocumentFragment();else n=this.nodeType===Node.ELEMENT_NODE&&this.localName===`template`&&this.namespaceURI==document.documentElement.namespaceURI?e.va(this,t):a.call(this,t);return t&&oe(n,this),n},ce=Document.prototype.importNode=function(n,r){if(r||=!1,n.localName===`template`)return e.va(n,r);var i=s.call(this,n,r);if(r){oe(i,n),n=t(i,`script:not([type]),script[type="application/javascript"],script[type="text/javascript"]`);for(var a,c=0;c<n.length;c++){a=n[c],r=o.call(document,`script`),r.textContent=a.textContent;for(var l=a.attributes,d=0,f;d<l.length;d++)f=l[d],r.setAttribute(f.name,f.value);u.call(a.parentNode,r,a)}}return i}}n&&(window.HTMLTemplateElement=e)})();function xt(){}xt.prototype.toJSON=function(){return{}};function O(e){return e.__shady||=new xt,e.__shady}function k(e){return e&&e.__shady}var A=window.ShadyDOM||{};A.cb=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var St=Object.getOwnPropertyDescriptor(Node.prototype,`firstChild`);A.D=!!(St&&St.configurable&&St.get),A.Ba=A.force||!A.cb,A.J=A.noPatch||!1,A.ha=A.preferPerformance,A.Da=A.J===`on-demand`;var Ct,wt=A.querySelectorImplementation;Ct=-1<[`native`,`selectorEngine`].indexOf(wt)?wt:void 0,A.wb=Ct,A.Ra=navigator.userAgent.match(`Trident`);function Tt(){return Document.prototype.msElementsFromPoint?`msElementsFromPoint`:`elementsFromPoint`}function j(e){return(e=k(e))&&e.firstChild!==void 0}function M(e){return e instanceof ShadowRoot}function Et(e){return(e=(e=k(e))&&e.root)&&Ti(e)}var Dt=Element.prototype,Ot=Dt.matches||Dt.matchesSelector||Dt.mozMatchesSelector||Dt.msMatchesSelector||Dt.oMatchesSelector||Dt.webkitMatchesSelector,kt=document.createTextNode(``),At=0,jt=[];new MutationObserver(function(){for(;jt.length;)try{jt.shift()()}catch(e){throw kt.textContent=At++,e}}).observe(kt,{characterData:!0});function Mt(e){jt.push(e),kt.textContent=At++}var Nt=document.contains?function(e,t){return e.__shady_native_contains(t)}:function(e,t){return e===t||e.documentElement&&e.documentElement.__shady_native_contains(t)};function Pt(e,t){for(;t;){if(t==e)return!0;t=t.__shady_parentNode}return!1}function Ft(e){for(var t=e.length-1;0<=t;t--){var n=e[t],r=n.getAttribute(`id`)||n.getAttribute(`name`);r&&r!==`length`&&isNaN(r)&&(e[r]=n)}return e.item=function(t){return e[t]},e.namedItem=function(t){if(t!==`length`&&isNaN(t)&&e[t])return e[t];for(var n=s(e),r=n.next();!r.done;r=n.next())if(r=r.value,(r.getAttribute(`id`)||r.getAttribute(`name`))==t)return r;return null},e}function It(e){var t=[];for(e=e.__shady_native_firstChild;e;e=e.__shady_native_nextSibling)t.push(e);return t}function Lt(e){var t=[];for(e=e.__shady_firstChild;e;e=e.__shady_nextSibling)t.push(e);return t}function Rt(e,t,n){if(n.configurable=!0,n.value)e[t]=n.value;else try{Object.defineProperty(e,t,n)}catch{}}function N(e,t,n,r){for(var i in n=n===void 0?``:n,t)r&&0<=r.indexOf(i)||Rt(e,n+i,t[i])}function zt(e,t){for(var n in t)n in e&&Rt(e,n,t[n])}function P(e){var t={};return Object.getOwnPropertyNames(e).forEach(function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)}),t}function Bt(e,t){for(var n=Object.getOwnPropertyNames(t),r=0,i;r<n.length;r++)i=n[r],e[i]=t[i]}function Vt(e){return e instanceof Node?e:document.createTextNode(``+e)}function Ht(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];if(t.length===1)return Vt(t[0]);n=document.createDocumentFragment(),t=s(t);for(var r=t.next();!r.done;r=t.next())n.appendChild(Vt(r.value));return n}function Ut(e){var t;for(t=t===void 0?1:t;0<t;t--)e=e.reduce(function(e,t){return Array.isArray(t)?e.push.apply(e,c(t)):e.push(t),e},[]);return e}function Wt(e){var t=[],n=new Set;e=s(e);for(var r=e.next();!r.done;r=e.next())r=r.value,n.has(r)||(t.push(r),n.add(r));return t}var Gt=[],Kt;function qt(e){Kt||(Kt=!0,Mt(Jt)),Gt.push(e)}function Jt(){Kt=!1;for(var e=!!Gt.length;Gt.length;)Gt.shift()();return e}Jt.list=Gt;function Yt(){this.g=!1,this.addedNodes=[],this.removedNodes=[],this.qa=new Set}function Xt(e){e.g||(e.g=!0,Mt(function(){e.flush()}))}Yt.prototype.flush=function(){if(this.g){this.g=!1;var e=this.takeRecords();e.length&&this.qa.forEach(function(t){t(e)})}},Yt.prototype.takeRecords=function(){if(this.addedNodes.length||this.removedNodes.length){var e=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];return this.addedNodes=[],this.removedNodes=[],e}return[]};function Zt(e,t){var n=O(e);n.ga||=new Yt,n.ga.qa.add(t);var r=n.ga;return{Va:t,X:r,Wa:e,takeRecords:function(){return r.takeRecords()}}}function Qt(e){var t=e&&e.X;t&&(t.qa.delete(e.Va),t.qa.size||(O(e.Wa).ga=null))}function $t(e,t){var n=t.getRootNode();return e.map(function(e){var t=n===e.target.getRootNode();if(t&&e.addedNodes){if(t=[].slice.call(e.addedNodes).filter(function(e){return n===e.getRootNode()}),t.length)return e=Object.create(e),Object.defineProperty(e,"addedNodes",{value:t,configurable:!0}),e}else if(t)return e}).filter(function(e){return e})}var en=/[&\u00A0"]/g,tn=/[&\u00A0<>]/g;function nn(e){switch(e){case`&`:return`&amp;`;case`<`:return`&lt;`;case`>`:return`&gt;`;case`"`:return`&quot;`;case`\xA0`:return`&nbsp;`}}function rn(e){for(var t={},n=0;n<e.length;n++)t[e[n]]=!0;return t}var an=rn(`area base br col command embed hr img input keygen link meta param source track wbr`.split(` `)),on=rn(`style script xmp iframe noembed noframes plaintext noscript`.split(` `));function sn(e,t){e.localName===`template`&&(e=e.content);for(var n=``,r=t?t(e):e.childNodes,i=0,a=r.length,o=void 0;i<a&&(o=r[i]);i++){a:{var s=o,c=e,l=t;switch(s.nodeType){case Node.ELEMENT_NODE:c=s.localName;for(var u=`<`+c,d=s.attributes,f=0,p;p=d[f];f++)u+=` `+p.name+`="`+p.value.replace(en,nn)+`"`;u+=`>`,s=an[c]?u:u+sn(s,l)+`</`+c+`>`;break a;case Node.TEXT_NODE:s=s.data,s=c&&on[c.localName]?s:s.replace(tn,nn);break a;case Node.COMMENT_NODE:s=`<!--`+s.data+`-->`;break a;default:throw window.console.error(s),Error(`not implemented`)}}n+=s}return n}var cn=A.D,ln={querySelector:function(e){return this.__shady_native_querySelector(e)},querySelectorAll:function(e){return this.__shady_native_querySelectorAll(e)}},un={};function dn(e){un[e]=function(t){return t[`__shady_native_`+e]}}function fn(e,t){for(var n in N(e,t,`__shady_native_`),t)dn(n)}function F(e,t){t=t===void 0?[]:t;for(var n=0;n<t.length;n++){var r=t[n],i=Object.getOwnPropertyDescriptor(e,r);i&&(Object.defineProperty(e,`__shady_native_`+r,i),i.value?ln[r]||(ln[r]=i.value):dn(r))}}var I=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),L=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1),pn=document.implementation.createHTMLDocument(`inert`);function mn(e){for(var t;t=e.__shady_native_firstChild;)e.__shady_native_removeChild(t)}var hn=[`firstElementChild`,`lastElementChild`,`children`,`childElementCount`],gn=[`querySelector`,`querySelectorAll`,`append`,`prepend`,`replaceChildren`];function _n(){var e=[`dispatchEvent`,`addEventListener`,`removeEventListener`];window.EventTarget?(F(window.EventTarget.prototype,e),window.__shady_native_addEventListener===void 0&&F(Window.prototype,e)):(F(Node.prototype,e),F(Window.prototype,e),F(XMLHttpRequest.prototype,e)),cn?F(Node.prototype,`parentNode firstChild lastChild previousSibling nextSibling childNodes parentElement textContent`.split(` `)):fn(Node.prototype,{parentNode:{get:function(){return I.currentNode=this,I.parentNode()}},firstChild:{get:function(){return I.currentNode=this,I.firstChild()}},lastChild:{get:function(){return I.currentNode=this,I.lastChild()}},previousSibling:{get:function(){return I.currentNode=this,I.previousSibling()}},nextSibling:{get:function(){return I.currentNode=this,I.nextSibling()}},childNodes:{get:function(){var e=[];I.currentNode=this;for(var t=I.firstChild();t;)e.push(t),t=I.nextSibling();return e}},parentElement:{get:function(){return L.currentNode=this,L.parentNode()}},textContent:{get:function(){switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:for(var e=document.createTreeWalker(this,NodeFilter.SHOW_TEXT,null,!1),t=``,n;n=e.nextNode();)t+=n.nodeValue;return t;default:return this.nodeValue}},set:function(e){switch(e??=``,this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:mn(this),(0<e.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_native_insertBefore(document.createTextNode(e),void 0);break;default:this.nodeValue=e}}}}),F(Node.prototype,`appendChild insertBefore removeChild replaceChild cloneNode contains`.split(` `)),F(HTMLElement.prototype,[`parentElement`,`contains`]),e={firstElementChild:{get:function(){return L.currentNode=this,L.firstChild()}},lastElementChild:{get:function(){return L.currentNode=this,L.lastChild()}},children:{get:function(){var e=[];L.currentNode=this;for(var t=L.firstChild();t;)e.push(t),t=L.nextSibling();return Ft(e)}},childElementCount:{get:function(){return this.children?this.children.length:0}}},cn?(F(Element.prototype,hn),F(Element.prototype,[`previousElementSibling`,`nextElementSibling`,`innerHTML`,`className`]),F(HTMLElement.prototype,[`children`,`innerHTML`,`className`])):(fn(Element.prototype,e),fn(Element.prototype,{previousElementSibling:{get:function(){return L.currentNode=this,L.previousSibling()}},nextElementSibling:{get:function(){return L.currentNode=this,L.nextSibling()}},innerHTML:{get:function(){return sn(this,It)},set:function(e){var t=this.localName===`template`?this.content:this;mn(t);var n=this.localName||`div`;for(n=this.namespaceURI&&this.namespaceURI!==pn.namespaceURI?pn.createElementNS(this.namespaceURI,n):pn.createElement(n),n.innerHTML=e,e=this.localName===`template`?n.content:n;n=e.__shady_native_firstChild;)t.__shady_native_insertBefore(n,void 0)}},className:{get:function(){return this.getAttribute(`class`)||``},set:function(e){this.setAttribute(`class`,e)}}})),F(Element.prototype,`setAttribute getAttribute hasAttribute removeAttribute toggleAttribute focus blur`.split(` `)),F(Element.prototype,gn),F(HTMLElement.prototype,[`focus`,`blur`]),window.HTMLTemplateElement&&F(window.HTMLTemplateElement.prototype,[`innerHTML`]),cn?F(DocumentFragment.prototype,hn):fn(DocumentFragment.prototype,e),F(DocumentFragment.prototype,gn),cn?(F(Document.prototype,hn),F(Document.prototype,[`activeElement`])):fn(Document.prototype,e),F(Document.prototype,[`importNode`,`getElementById`,`elementFromPoint`,Tt()]),F(Document.prototype,gn)}var vn=P({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}}),yn=P({get textContent(){return this.__shady_textContent},set textContent(e){this.__shady_textContent=e},get innerHTML(){return this.__shady_innerHTML},set innerHTML(e){this.__shady_innerHTML=e}}),bn=P({get parentElement(){return this.__shady_parentElement},get parentNode(){return this.__shady_parentNode},get nextSibling(){return this.__shady_nextSibling},get previousSibling(){return this.__shady_previousSibling},get nextElementSibling(){return this.__shady_nextElementSibling},get previousElementSibling(){return this.__shady_previousElementSibling},get className(){return this.__shady_className},set className(e){this.__shady_className=e}});function xn(e){for(var t in e){var n=e[t];n&&(n.enumerable=!1)}}xn(vn),xn(yn),xn(bn);var Sn=A.D||!0===A.J,Cn=Sn?function(){}:function(e){var t=O(e);t.Ta||(t.Ta=!0,zt(e,bn))},wn=Sn?function(){}:function(e){var t=O(e);t.Sa||(t.Sa=!0,zt(e,vn),window.customElements&&window.customElements.polyfillWrapFlushCallback&&!A.J||zt(e,yn))},Tn=`__eventWrappers`+Date.now(),En=function(){var e=Object.getOwnPropertyDescriptor(Event.prototype,`composed`);return e?function(t){return e.get.call(t)}:null}(),Dn=function(){function e(){}var t=!1,n={get capture(){return t=!0,!1}};return window.addEventListener(`test`,e,n),window.removeEventListener(`test`,e,n),t}();function On(e){if(e===null||typeof e!=`object`&&typeof e!=`function`)var t=!!e,n=!1;else{t=!!e.capture,n=!!e.once;var r=e.U}return{Pa:r,capture:t,once:n,Na:Dn?e:t}}var kn={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},An={DOMAttrModified:!0,DOMAttributeNameChanged:!0,DOMCharacterDataModified:!0,DOMElementNameChanged:!0,DOMNodeInserted:!0,DOMNodeInsertedIntoDocument:!0,DOMNodeRemoved:!0,DOMNodeRemovedFromDocument:!0,DOMSubtreeModified:!0};function jn(e){return e instanceof Node?e.__shady_getRootNode():e}function Mn(e,t){var n=[],r=e;for(e=jn(e);r;)n.push(r),r=r.__shady_assignedSlot?r.__shady_assignedSlot:r.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&r.host&&(t||r!==e)?r.host:r.__shady_parentNode;return n[n.length-1]===document&&n.push(window),n}function Nn(e){return e.__composedPath||=Mn(e.target,!0),e.__composedPath}function Pn(e,t){if(!M)return e;e=Mn(e,!0);for(var n=0,r,i=void 0,a,o=void 0;n<t.length;n++)if(r=t[n],a=jn(r),a!==i&&(o=e.indexOf(a),i=a),!M(a)||-1<o)return r}var Fn={get composed(){return this.__composed===void 0&&(En?this.__composed=this.type===`focusin`||this.type===`focusout`||En(this):!1!==this.isTrusted&&(this.__composed=kn[this.type])),this.__composed||!1},composedPath:function(){return this.__composedPath||=Mn(this.__target,this.composed),this.__composedPath},get target(){return Pn(this.currentTarget||this.__previousCurrentTarget,this.composedPath())},get relatedTarget(){return this.__relatedTarget?(this.__relatedTargetComposedPath||=Mn(this.__relatedTarget,!0),Pn(this.currentTarget||this.__previousCurrentTarget,this.__relatedTargetComposedPath)):null},stopPropagation:function(){Event.prototype.stopPropagation.call(this),this.ua=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this),this.ua=this.__immediatePropagationStopped=!0}},In=A.D&&Object.getOwnPropertyDescriptor(Event.prototype,`eventPhase`);In&&(Object.defineProperty(Fn,"eventPhase",{get:function(){return this.currentTarget===this.target?Event.AT_TARGET:this.__shady_native_eventPhase},enumerable:!0,configurable:!0}),Object.defineProperty(Fn,"__shady_native_eventPhase",In));function Ln(e){function t(t,n){return t=new e(t,n),t.__composed=n&&!!n.composed,t}return t.__proto__=e,t.prototype=e.prototype,t}var Rn={focus:!0,blur:!0};function zn(e){return e.__target!==e.target||e.__relatedTarget!==e.relatedTarget}function Bn(e,t,n){if(n=t.__handlers&&t.__handlers[e.type]&&t.__handlers[e.type][n])for(var r=0,i;(i=n[r])&&(!zn(e)||e.target!==e.relatedTarget)&&(i.call(t,e),!e.__immediatePropagationStopped);r++);}var Vn=new Event(`e`).hasOwnProperty(`currentTarget`);function Hn(e){e=Vn?Object.create(e):e;var t=e.composedPath(),n=t.map(function(e){return Pn(e,t)}),r=e.bubbles,i=Object.getOwnPropertyDescriptor(e,`currentTarget`);Object.defineProperty(e,"currentTarget",{configurable:!0,enumerable:!0,get:function(){return c}});var a=Event.CAPTURING_PHASE,o=Object.getOwnPropertyDescriptor(e,`eventPhase`);Object.defineProperty(e,"eventPhase",{configurable:!0,enumerable:!0,get:function(){return a}});try{for(var s=t.length-1;0<=s;s--){var c=t[s];if(a=c===n[s]?Event.AT_TARGET:Event.CAPTURING_PHASE,Bn(e,c,`capture`),e.ua)return}for(s=0;s<t.length;s++){c=t[s];var l=c===n[s];if((l||r)&&(a=l?Event.AT_TARGET:Event.BUBBLING_PHASE,Bn(e,c,`bubble`),e.ua))break}}finally{Vn||(i?Object.defineProperty(e,"currentTarget",i):delete e.currentTarget,o?Object.defineProperty(e,"eventPhase",o):delete e.eventPhase)}}function Un(e,t,n,r){for(var i=0;i<e.length;i++){var a=e[i],o=a.type,s=a.capture;if(t===a.node&&n===o&&r===s)return i}return-1}function Wn(e){return Jt(),!A.ha&&this instanceof Node&&!Nt(document,this)?(e.__target||Yn(e,this),Hn(e)):this.__shady_native_dispatchEvent(e)}function Gn(e,t,n){var r=this,i=On(n),a=i.capture,o=i.once,s=i.Pa;if(i=i.Na,t){var c=typeof t;if((c===`function`||c===`object`)&&(c!==`object`||t.handleEvent&&typeof t.handleEvent==`function`)){if(An[e])return this.__shady_native_addEventListener(e,t,i);var l=s||this;if(s=t[Tn]){if(-1<Un(s,l,e,a))return}else t[Tn]=[];s=function(i){if(o&&r.__shady_removeEventListener(e,t,n),i.__target||Yn(i),l!==r){var s=Object.getOwnPropertyDescriptor(i,`currentTarget`);Object.defineProperty(i,"currentTarget",{get:function(){return l},configurable:!0});var u=Object.getOwnPropertyDescriptor(i,`eventPhase`);Object.defineProperty(i,"eventPhase",{configurable:!0,enumerable:!0,get:function(){return a?Event.CAPTURING_PHASE:Event.BUBBLING_PHASE}})}if(i.__previousCurrentTarget=i.currentTarget,(!M(l)&&l.localName!==`slot`||i.composedPath().indexOf(l)!=-1)&&(i.composed||-1<i.composedPath().indexOf(l))){if(zn(i)&&i.target===i.relatedTarget)i.eventPhase===Event.BUBBLING_PHASE&&i.stopImmediatePropagation();else if(i.eventPhase===Event.CAPTURING_PHASE||i.bubbles||i.target===l||l instanceof Window){var d=c===`function`?t.call(l,i):t.handleEvent&&t.handleEvent(i);return l!==r&&(s?(Object.defineProperty(i,"currentTarget",s),s=null):delete i.currentTarget,u?(Object.defineProperty(i,"eventPhase",u),u=null):delete i.eventPhase),d}}},t[Tn].push({node:l,type:e,capture:a,ub:s}),this.__handlers=this.__handlers||{},this.__handlers[e]=this.__handlers[e]||{capture:[],bubble:[]},this.__handlers[e][a?`capture`:`bubble`].push(s),Rn[e]||this.__shady_native_addEventListener(e,s,i)}}}function Kn(e,t,n){if(t){var r=On(n);n=r.capture;var i=r.Pa;if(r=r.Na,An[e])return this.__shady_native_removeEventListener(e,t,r);var a=i||this;i=void 0;var o=null;try{o=t[Tn]}catch{}o&&(a=Un(o,a,e,n),-1<a&&(i=o.splice(a,1)[0].ub,o.length||(t[Tn]=void 0))),this.__shady_native_removeEventListener(e,i||t,r),i&&this.__handlers&&this.__handlers[e]&&(e=this.__handlers[e][n?`capture`:`bubble`],t=e.indexOf(i),-1<t&&e.splice(t,1))}}function qn(){for(var e in Rn)window.__shady_native_addEventListener(e,function(e){e.__target||(Yn(e),Hn(e))},!0)}var Jn=P(Fn);function Yn(e,t){if(t=t===void 0?e.target:t,e.__target=t,e.__relatedTarget=e.relatedTarget,A.D){if(t=Object.getPrototypeOf(e),!t.hasOwnProperty(`__shady_patchedProto`)){var n=Object.create(t);n.__shady_sourceProto=t,N(n,Jn),t.__shady_patchedProto=n}e.__proto__=t.__shady_patchedProto}else N(e,Jn)}var Xn=Ln(Event),Zn=Ln(CustomEvent),Qn=Ln(MouseEvent);function $n(){if(!En&&Object.getOwnPropertyDescriptor(Event.prototype,`isTrusted`)){var e=function(){var e=new MouseEvent(`click`,{bubbles:!0,cancelable:!0,composed:!0});this.__shady_dispatchEvent(e)};Element.prototype.click?Element.prototype.click=e:HTMLElement.prototype.click&&(HTMLElement.prototype.click=e)}}var er=Object.getOwnPropertyNames(Element.prototype).filter(function(e){return e.substring(0,2)===`on`}),tr=Object.getOwnPropertyNames(HTMLElement.prototype).filter(function(e){return e.substring(0,2)===`on`});function nr(e){return{set:function(t){var n=O(this),r=e.substring(2);n.T||={},n.T[e]&&this.removeEventListener(r,n.T[e]),this.__shady_addEventListener(r,t),n.T[e]=t},get:function(){var t=k(this);return t&&t.T&&t.T[e]},configurable:!0}}function rr(e,t){return{index:e,ia:[],pa:t}}function ir(e,t,n,r){var i=0,a=0,o=0,s=0,c=Math.min(t-i,r-a);if(i==0&&a==0)a:{for(o=0;o<c;o++)if(e[o]!==n[o])break a;o=c}if(t==e.length&&r==n.length){s=e.length;for(var l=n.length,u=0;u<c-o&&ar(e[--s],n[--l]);)u++;s=u}if(i+=o,a+=o,t-=s,r-=s,t-i==0&&r-a==0)return[];if(i==t){for(t=rr(i,0);a<r;)t.ia.push(n[a++]);return[t]}if(a==r)return[rr(i,t-i)];for(c=i,o=a,r=r-o+1,s=t-c+1,t=Array(r),l=0;l<r;l++)t[l]=Array(s),t[l][0]=l;for(l=0;l<s;l++)t[0][l]=l;for(l=1;l<r;l++)for(u=1;u<s;u++)if(e[c+u-1]===n[o+l-1])t[l][u]=t[l-1][u-1];else{var d=t[l-1][u]+1,f=t[l][u-1]+1;t[l][u]=d<f?d:f}for(c=t.length-1,o=t[0].length-1,r=t[c][o],e=[];0<c||0<o;)c==0?(e.push(2),o--):o==0?(e.push(3),c--):(s=t[c-1][o-1],l=t[c-1][o],u=t[c][o-1],d=l<u?l<s?l:s:u<s?u:s,d==s?(s==r?e.push(0):(e.push(1),r=s),c--,o--):d==l?(e.push(3),c--,r=l):(e.push(2),o--,r=u));for(e.reverse(),t=void 0,c=[],o=0;o<e.length;o++)switch(e[o]){case 0:t&&=(c.push(t),void 0),i++,a++;break;case 1:t||=rr(i,0),t.pa++,i++,t.ia.push(n[a]),a++;break;case 2:t||=rr(i,0),t.pa++,i++;break;case 3:t||=rr(i,0),t.ia.push(n[a]),a++}return t&&c.push(t),c}function ar(e,t){return e===t}var or=P({dispatchEvent:Wn,addEventListener:Gn,removeEventListener:Kn}),sr=null;function cr(){return sr||=window.ShadyCSS&&window.ShadyCSS.ScopingShim,sr||null}function lr(e,t,n){var r=cr();return r&&t===`class`?(r.setElementClass(e,n),!0):!1}function ur(e,t){var n=cr();n&&n.unscopeNode(e,t)}function dr(e,t){var n=cr();if(!n)return!0;if(e.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(n=!0,e=e.__shady_firstChild;e;e=e.__shady_nextSibling)n&&=dr(e,t);return n}return e.nodeType===Node.ELEMENT_NODE?n.currentScopeForNode(e)===t:!0}function fr(e){if(e.nodeType!==Node.ELEMENT_NODE)return``;var t=cr();return t?t.currentScopeForNode(e):``}function pr(e,t){if(e)for(e.nodeType===Node.ELEMENT_NODE&&t(e),e=e.__shady_firstChild;e;e=e.__shady_nextSibling)e.nodeType===Node.ELEMENT_NODE&&pr(e,t)}var mr=window.document,hr=A.ha,gr=Object.getOwnPropertyDescriptor(Node.prototype,`isConnected`),_r=gr&&gr.get;function vr(e){for(var t;t=e.__shady_firstChild;)e.__shady_removeChild(t)}function yr(e){var t=k(e);if(t&&t.ta!==void 0)for(t=e.__shady_firstChild;t;t=t.__shady_nextSibling)yr(t);(e=k(e))&&(e.ta=void 0)}function br(e){var t=e;if(e&&e.localName===`slot`){var n=k(e);(n&&=n.aa)&&(t=n.length?n[0]:br(e.__shady_nextSibling))}return t}function xr(e,t,n){if(e=(e=k(e))&&e.ga){if(t)if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(var r=0,i=t.childNodes.length;r<i;r++)e.addedNodes.push(t.childNodes[r]);else e.addedNodes.push(t);n&&e.removedNodes.push(n),Xt(e)}}var Sr=P({get parentNode(){var e=k(this);return e&&=e.parentNode,e===void 0?this.__shady_native_parentNode:e},get firstChild(){var e=k(this);return e&&=e.firstChild,e===void 0?this.__shady_native_firstChild:e},get lastChild(){var e=k(this);return e&&=e.lastChild,e===void 0?this.__shady_native_lastChild:e},get nextSibling(){var e=k(this);return e&&=e.nextSibling,e===void 0?this.__shady_native_nextSibling:e},get previousSibling(){var e=k(this);return e&&=e.previousSibling,e===void 0?this.__shady_native_previousSibling:e},get childNodes(){if(j(this)){var e=k(this);if(!e.childNodes){e.childNodes=[];for(var t=this.__shady_firstChild;t;t=t.__shady_nextSibling)e.childNodes.push(t)}var n=e.childNodes}else n=this.__shady_native_childNodes;return n.item=function(e){return n[e]},n},get parentElement(){var e=k(this);return(e&&=e.parentNode)&&e.nodeType!==Node.ELEMENT_NODE&&(e=null),e===void 0?this.__shady_native_parentElement:e},get isConnected(){if(_r&&_r.call(this))return!0;if(this.nodeType==Node.DOCUMENT_FRAGMENT_NODE)return!1;var e=this.ownerDocument;if(e===null||Nt(e,this))return!0;for(e=this;e&&!(e instanceof Document);)e=e.__shady_parentNode||(M(e)?e.host:void 0);return!!(e&&e instanceof Document)},get textContent(){if(j(this)){for(var e=[],t=this.__shady_firstChild;t;t=t.__shady_nextSibling)t.nodeType!==Node.COMMENT_NODE&&e.push(t.__shady_textContent);return e.join(``)}return this.__shady_native_textContent},set textContent(e){switch(e??=``,this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:if(!j(this)&&A.D){var t=this.__shady_firstChild;(t!=this.__shady_lastChild||t&&t.nodeType!=Node.TEXT_NODE)&&vr(this),this.__shady_native_textContent=e}else vr(this),(0<e.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_insertBefore(document.createTextNode(e));break;default:this.nodeValue=e}},insertBefore:function(e,t){if(this.ownerDocument!==mr&&e.ownerDocument!==mr)return this.__shady_native_insertBefore(e,t),e;if(e===this)throw Error(`Failed to execute 'appendChild' on 'Node': The new child element contains the parent.`);if(t){var n=k(t);if(n&&=n.parentNode,n!==void 0&&n!==this||n===void 0&&t.__shady_native_parentNode!==this)throw Error(`Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.`)}if(t===e)return e;xr(this,e);var r=[],i=(n=Ai(this))?n.host.localName:fr(this),a=e.__shady_parentNode;if(a){var o=fr(e),s=!!n||!Ai(e)||hr&&this.__noInsertionPoint!==void 0;a.__shady_removeChild(e,s)}a=!0;var l=(!hr||e.__noInsertionPoint===void 0&&this.__noInsertionPoint===void 0)&&!dr(e,i),u=n&&!e.__noInsertionPoint&&(!hr||e.nodeType===Node.DOCUMENT_FRAGMENT_NODE);return(u||l)&&(l&&(o||=fr(e)),pr(e,function(e){if(u&&e.localName===`slot`&&r.push(e),l){var t=o;cr()&&(t&&ur(e,t),(t=cr())&&t.scopeNode(e,i))}})),r.length&&(bi(n),n.i.push.apply(n.i,c(r)),V(n)),j(this)&&(ai(e,this,t),s=k(this),s.root?(a=!1,Et(this)&&V(s.root)):n&&this.localName===`slot`&&(a=!1,V(n))),a?(n=M(this)?this.host:this,t?(t=br(t),n.__shady_native_insertBefore(e,t)):n.__shady_native_appendChild(e)):e.ownerDocument!==this.ownerDocument&&this.ownerDocument.adoptNode(e),e},appendChild:function(e){if(this!=e||!M(e))return this.__shady_insertBefore(e)},removeChild:function(e,t){if(t=t===void 0?!1:t,this.ownerDocument!==mr)return this.__shady_native_removeChild(e);if(e.__shady_parentNode!==this)throw Error(`The node to be removed is not a child of this node: `+e);xr(this,null,e);var n=Ai(e),r=n&&wi(n,e),i=k(this);if(j(this)&&(oi(e,this),Et(this))){V(i.root);var a=!0}if(cr()&&!t&&n&&e.nodeType!==Node.TEXT_NODE){var o=fr(e);pr(e,function(e){ur(e,o)})}return yr(e),n&&((t=this.localName===`slot`)&&(a=!0),(r||t)&&V(n)),a||(a=M(this)?this.host:this,(!i.root&&e.localName!==`slot`||a===e.__shady_native_parentNode)&&a.__shady_native_removeChild(e)),e},replaceChild:function(e,t){return this.__shady_insertBefore(e,t),this.__shady_removeChild(t),e},cloneNode:function(e){if(this.localName==`template`)return this.__shady_native_cloneNode(e);var t=this.__shady_native_cloneNode(!1);if(e&&t.nodeType!==Node.ATTRIBUTE_NODE){e=this.__shady_firstChild;for(var n;e;e=e.__shady_nextSibling)n=e.__shady_cloneNode(!0),t.__shady_appendChild(n)}return t},getRootNode:function(e){if(this&&this.nodeType){var t=O(this),n=t.ta;return n===void 0&&(M(this)?(n=this,t.ta=n):(n=(n=this.__shady_parentNode)?n.__shady_getRootNode(e):this,document.documentElement.__shady_native_contains(this)&&(t.ta=n))),n}},contains:function(e){return Pt(this,e)}}),Cr=P({get assignedSlot(){var e=this.__shady_parentNode;return(e&&=e.__shady_shadowRoot)&&gi(e),(e=k(this))&&e.assignedSlot||null}}),wr=new Map;[[`(`,{end:`)`,sa:!0}],[`[`,{end:`]`,sa:!0}],[`"`,{end:`"`,sa:!1}],[`'`,{end:`'`,sa:!1}]].forEach(function(e){var t=s(e);e=t.next().value,t=t.next().value,wr.set(e,t)});function Tr(e,t,n,r){for(r=r===void 0?!0:r;t<e.length;t++)if(e[t]===`\\`&&t<e.length-1&&e[t+1]!==`
13
- `)t++;else{if(n.indexOf(e[t])!==-1)return t;if(r&&wr.has(e[t])){var i=wr.get(e[t]);t=Tr(e,t+1,[i.end],i.sa)}}return e.length}function Er(e){function t(){if(0<r.length){for(;r[r.length-1]===` `;)r.pop();n.push({La:r.filter(function(e,t){return t%2==0}),Za:r.filter(function(e,t){return t%2==1})}),r.length=0}}for(var n=[],r=[],i=0;i<e.length;){var a=r[r.length-1],o=Tr(e,i,[`,`,` `,`>`,`+`,`~`]),s=o===i?e[i]:e.substring(i,o);s===`,`?t():([void 0,` `,`>`,`+`,`~`].indexOf(a)===-1||s!==` `)&&(a===` `&&[`>`,`+`,`~`].indexOf(s)!==-1?r[r.length-1]=s:r.push(s)),i=o+ +(o===i)}return t(),n}function Dr(e,t,n){var r=[];return Or(e,t,n,r),r}function Or(e,t,n,r){for(e=e.__shady_firstChild;e;e=e.__shady_nextSibling){var i;if(i=e.nodeType===Node.ELEMENT_NODE){i=e;var a=t,o=n,s=r,c=a(i);c&&s.push(i),o&&o(c)?i=c:(Or(i,a,o,s),i=void 0)}if(i)break}}var kr={get firstElementChild(){var e=k(this);if(e&&e.firstChild!==void 0){for(e=this.__shady_firstChild;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_nextSibling;return e}return this.__shady_native_firstElementChild},get lastElementChild(){var e=k(this);if(e&&e.lastChild!==void 0){for(e=this.__shady_lastChild;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_previousSibling;return e}return this.__shady_native_lastElementChild},get children(){return j(this)?Ft(Array.prototype.filter.call(Lt(this),function(e){return e.nodeType===Node.ELEMENT_NODE})):this.__shady_native_children},get childElementCount(){var e=this.__shady_children;return e?e.length:0}},Ar=P((kr.append=function(e){var t=[...arguments];this.__shady_insertBefore(Ht.apply(null,c(t)),null)},kr.prepend=function(e){var t=[...arguments];this.__shady_insertBefore(Ht.apply(null,c(t)),this.__shady_firstChild)},kr.replaceChildren=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];for(;(n=this.__shady_firstChild)!==null;)this.__shady_removeChild(n);this.__shady_insertBefore(Ht.apply(null,c(t)),null)},kr));function jr(e,t){function n(t,n){return(t===e||n.indexOf(`:scope`)===-1)&&Ot.call(t,n)}var r=Er(t);if(1>r.length)return[];for(t=Ut(Dr(e,function(){return!0}).map(function(e){return Ut(r.map(function(t){var r=t.La,i=r.length-1;return n(e,r[i])?{target:e,da:t,fa:e,index:i}:[]}))}));t.some(function(e){return 0<e.index});)t=Ut(t.map(function(e){if(0>=e.index)return e;var t=e.target,r=e.fa,i=e.da;e=e.index-1;var a=i.Za[e],o=i.La[e];if(a===` `){for(a=[],r=r.__shady_parentElement;r;r=r.__shady_parentElement)n(r,o)&&a.push({target:t,da:i,fa:r,index:e});return a}if(a===`>`)return r=r.__shady_parentElement,n(r,o)?{target:t,da:i,fa:r,index:e}:[];if(a===`+`)return(r=r.__shady_previousElementSibling)&&n(r,o)?{target:t,da:i,fa:r,index:e}:[];if(a===`~`){for(a=[],r=r.__shady_previousElementSibling;r;r=r.__shady_previousElementSibling)n(r,o)&&a.push({target:t,da:i,fa:r,index:e});return a}throw Error(`Unrecognized combinator: '`+a+`'.`)}));return Wt(t.map(function(e){return e.target}))}var R=A.querySelectorImplementation,Mr=P({querySelector:function(e){if(R===`native`){var t=Array.prototype.slice.call((this instanceof ShadowRoot?this.host:this).__shady_native_querySelectorAll(e)),n=this.__shady_getRootNode();t=s(t);for(var r=t.next();!r.done;r=t.next())if(r=r.value,r.__shady_getRootNode()==n)return r;return null}if(R===`selectorEngine`)return jr(this,e)[0]||null;if(R===void 0)return Dr(this,function(t){return Ot.call(t,e)},function(e){return!!e})[0]||null;throw Error(`Unrecognized value of ShadyDOM.querySelectorImplementation: '`+(R+`'`))},querySelectorAll:function(e,t){if(t||R===`native`){t=Array.prototype.slice.call((this instanceof ShadowRoot?this.host:this).__shady_native_querySelectorAll(e));var n=this.__shady_getRootNode();return Ft(t.filter(function(e){return e.__shady_getRootNode()==n}))}if(R===`selectorEngine`)return Ft(jr(this,e));if(R===void 0)return Ft(Dr(this,function(t){return Ot.call(t,e)}));throw Error(`Unrecognized value of ShadyDOM.querySelectorImplementation: '`+(R+`'`))}}),Nr=A.ha&&!A.J?Bt({},Ar):Ar;Bt(Ar,Mr);var Pr=P({after:function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];if(n=this.__shady_parentNode,n!==null){var r=this.__shady_nextSibling;n.__shady_insertBefore(Ht.apply(null,c(t)),r)}},before:function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];n=this.__shady_parentNode,n!==null&&n.__shady_insertBefore(Ht.apply(null,c(t)),this)},remove:function(){var e=this.__shady_parentNode;e!==null&&e.__shady_removeChild(this)},replaceWith:function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];if(n=this.__shady_parentNode,n!==null){var r=this.__shady_nextSibling;n.__shady_removeChild(this),n.__shady_insertBefore(Ht.apply(null,c(t)),r)}}}),Fr=window.document;function Ir(e,t){if(t===`slot`)e=e.__shady_parentNode,Et(e)&&V(k(e).root);else if(e.localName===`slot`&&t===`name`&&(t=Ai(e))){if(t.g){xi(t);var n=e.Ua,r=Si(e);if(r!==n){n=t.h[n];var i=n.indexOf(e);0<=i&&n.splice(i,1),n=t.h[r]||(t.h[r]=[]),n.push(e),1<n.length&&(t.h[r]=Ci(n))}}V(t)}}var Lr=P({get previousElementSibling(){var e=k(this);if(e&&e.previousSibling!==void 0){for(e=this.__shady_previousSibling;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_previousSibling;return e}return this.__shady_native_previousElementSibling},get nextElementSibling(){var e=k(this);if(e&&e.nextSibling!==void 0){for(e=this.__shady_nextSibling;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_nextSibling;return e}return this.__shady_native_nextElementSibling},get slot(){return this.getAttribute(`slot`)},set slot(e){this.__shady_setAttribute(`slot`,e)},get className(){return this.getAttribute(`class`)||``},set className(e){this.__shady_setAttribute(`class`,e)},setAttribute:function(e,t){this.ownerDocument===Fr?lr(this,e,t)||(this.__shady_native_setAttribute(e,t),Ir(this,e)):this.__shady_native_setAttribute(e,t)},removeAttribute:function(e){this.ownerDocument===Fr?lr(this,e,``)?this.getAttribute(e)===``&&this.__shady_native_removeAttribute(e):(this.__shady_native_removeAttribute(e),Ir(this,e)):this.__shady_native_removeAttribute(e)},toggleAttribute:function(e,t){if(this.ownerDocument!==Fr)return this.__shady_native_toggleAttribute(e,t);if(!lr(this,e,``))return t=this.__shady_native_toggleAttribute(e,t),Ir(this,e),t;if(this.getAttribute(e)===``&&!t)return this.__shady_native_toggleAttribute(e,t)}});A.ha||er.forEach(function(e){Lr[e]=nr(e)});var Rr=P({attachShadow:function(e){if(!this)throw Error(`Must provide a host.`);if(!e)throw Error(`Not enough arguments.`);if(e.shadyUpgradeFragment&&!A.Ra){var t=e.shadyUpgradeFragment;if(t.__proto__=ShadowRoot.prototype,hi(t,this,e),si(t,t),e=t.__noInsertionPoint?null:t.querySelectorAll(`slot`),t.__noInsertionPoint=void 0,e&&e.length){var n=t;bi(n),n.i.push.apply(n.i,c(e)),V(t)}t.host.__shady_native_appendChild(t)}else t=new mi(ui,this,e);return this.__CE_shadowRoot=t},get shadowRoot(){var e=k(this);return e&&e.lb||null}});Bt(Lr,Rr);var zr=document.implementation.createHTMLDocument(`inert`),Br=P({get innerHTML(){return j(this)?sn(this.localName===`template`?this.content:this,Lt):this.__shady_native_innerHTML},set innerHTML(e){if(this.localName===`template`)this.__shady_native_innerHTML=e;else{vr(this);var t=this.localName||`div`;for(t=this.namespaceURI&&this.namespaceURI!==zr.namespaceURI?zr.createElementNS(this.namespaceURI,t):zr.createElement(t),A.D?t.__shady_native_innerHTML=e:t.innerHTML=e;e=t.__shady_firstChild;)this.__shady_insertBefore(e)}}}),Vr=P({blur:function(){var e=k(this);(e=(e&&=e.root)&&e.activeElement)?e.__shady_blur():this.__shady_native_blur()}});A.ha||tr.forEach(function(e){Vr[e]=nr(e)});var Hr=P({assignedNodes:function(e){if(this.localName===`slot`){var t=this.__shady_getRootNode();return t&&M(t)&&gi(t),(t=k(this))&&(e&&e.flatten?t.aa:t.assignedNodes)||[]}},addEventListener:function(e,t,n){if(this.localName!==`slot`||e===`slotchange`)Gn.call(this,e,t,n);else{typeof n!=`object`&&(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(e,t,n)}},removeEventListener:function(e,t,n){if(this.localName!==`slot`||e===`slotchange`)Kn.call(this,e,t,n);else{typeof n!=`object`&&(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(e,t,n)}}}),Ur=P({getElementById:function(e){return e===``?null:Dr(this,function(t){return t.id==e},function(e){return!!e})[0]||null}});function Wr(e,t){for(var n;t&&!e.has(n=t.__shady_getRootNode());)t=n.host;return t}function Gr(e){var t=new Set;for(t.add(e);M(e)&&e.host;)e=e.host.__shady_getRootNode(),t.add(e);return t}var Kr=`__shady_native_`+Tt(),qr=P({get activeElement(){var e=A.D?document.__shady_native_activeElement:document.activeElement;if(!e||!e.nodeType)return null;var t=!!M(this);if(!(this===document||t&&this.host!==e&&this.host.__shady_native_contains(e)))return null;for(t=Ai(e);t&&t!==this;)e=t.host,t=Ai(e);return this===document?t?null:e:t===this?e:null},elementsFromPoint:function(e,t){if(e=document[Kr](e,t),this===document&&A.useNativeDocumentEFP)return e;e=[].slice.call(e),t=Gr(this);for(var n=new Set,r=0;r<e.length;r++)n.add(Wr(t,e[r]));var i=[];return n.forEach(function(e){return i.push(e)}),i},elementFromPoint:function(e,t){return this===document&&A.useNativeDocumentEFP?this.__shady_native_elementFromPoint(e,t):this.__shady_elementsFromPoint(e,t)[0]||null}}),Jr=window.document,Yr=P({importNode:function(e,t){if(e.ownerDocument!==Jr||e.localName===`template`)return this.__shady_native_importNode(e,t);var n=this.__shady_native_importNode(e,!1);if(t)for(e=e.__shady_firstChild;e;e=e.__shady_nextSibling)t=this.__shady_importNode(e,!0),n.__shady_appendChild(t);return n}}),Xr=P({dispatchEvent:Wn,addEventListener:Gn.bind(window),removeEventListener:Kn.bind(window)}),Zr={};Object.getOwnPropertyDescriptor(HTMLElement.prototype,`parentElement`)&&(Zr.parentElement=Sr.parentElement),Object.getOwnPropertyDescriptor(HTMLElement.prototype,`contains`)&&(Zr.contains=Sr.contains),Object.getOwnPropertyDescriptor(HTMLElement.prototype,`children`)&&(Zr.children=Ar.children),Object.getOwnPropertyDescriptor(HTMLElement.prototype,`innerHTML`)&&(Zr.innerHTML=Br.innerHTML),Object.getOwnPropertyDescriptor(HTMLElement.prototype,`className`)&&(Zr.className=Lr.className);var z={EventTarget:[or],Node:[Sr,window.EventTarget?null:or],Text:[Cr],Comment:[Cr],CDATASection:[Cr],ProcessingInstruction:[Cr],Element:[Lr,Ar,Pr,Cr,!A.D||`innerHTML`in Element.prototype?Br:null,window.HTMLSlotElement?null:Hr],HTMLElement:[Vr,Zr],HTMLSlotElement:[Hr],DocumentFragment:[Nr,Ur],Document:[Yr,Nr,Ur,qr],Window:[Xr],CharacterData:[Pr],XMLHttpRequest:[window.EventTarget?null:or]},Qr=A.D?null:[`innerHTML`,`textContent`];function B(e,t,n,r){t.forEach(function(t){return e&&t&&N(e,t,n,r)})}function $r(e){var t=e?null:Qr,n;for(n in z)B(window[n]&&window[n].prototype,z[n],e,t)}[`Text`,`Comment`,`CDATASection`,`ProcessingInstruction`].forEach(function(e){var t=window[e],n=Object.create(t.prototype);n.__shady_protoIsPatched=!0,B(n,z.EventTarget),B(n,z.Node),z[e]&&B(n,z[e]),t.prototype.__shady_patchedProto=n});function ei(e){return e.__shady_protoIsPatched=!0,B(e,z.EventTarget),B(e,z.Node),B(e,z.Element),B(e,z.HTMLElement),B(e,z.HTMLSlotElement),e}var ti=A.Da,ni=A.D;function ri(e,t){if(ti&&!e.__shady_protoIsPatched&&!M(e)){var n=Object.getPrototypeOf(e),r=n.hasOwnProperty(`__shady_patchedProto`)&&n.__shady_patchedProto;r||(r=Object.create(n),ei(r),n.__shady_patchedProto=r),Object.setPrototypeOf(e,r)}ni||(t===1?Cn(e):t===2&&wn(e))}function ii(e,t,n,r){ri(e,1),r||=null;var i=O(e),a=r?O(r):null;i.previousSibling=r?a.previousSibling:t.__shady_lastChild,(a=k(i.previousSibling))&&(a.nextSibling=e),(a=k(i.nextSibling=r))&&(a.previousSibling=e),i.parentNode=t,r?r===n.firstChild&&(n.firstChild=e):(n.lastChild=e,n.firstChild||=e),n.childNodes=null}function ai(e,t,n){ri(t,2);var r=O(t);if(r.firstChild!==void 0&&(r.childNodes=null),e.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(e=e.__shady_native_firstChild;e;e=e.__shady_native_nextSibling)ii(e,t,r,n);else ii(e,t,r,n)}function oi(e,t){var n=O(e);t=O(t),e===t.firstChild&&(t.firstChild=n.nextSibling),e===t.lastChild&&(t.lastChild=n.previousSibling),e=n.previousSibling;var r=n.nextSibling;e&&(O(e).nextSibling=r),r&&(O(r).previousSibling=e),n.parentNode=n.previousSibling=n.nextSibling=void 0,t.childNodes!==void 0&&(t.childNodes=null)}function si(e,t){var n=O(e);if(t||n.firstChild===void 0){n.childNodes=null;var r=n.firstChild=e.__shady_native_firstChild;for(n.lastChild=e.__shady_native_lastChild,ri(e,2),n=r,r=void 0;n;n=n.__shady_native_nextSibling){var i=O(n);i.parentNode=t||e,i.nextSibling=n.__shady_native_nextSibling,i.previousSibling=r||null,r=n,ri(n,1)}}}var ci=P({addEventListener:function(e,t,n){typeof n!=`object`&&(n={capture:!!n}),n.U=n.U||this,this.host.__shady_addEventListener(e,t,n)},removeEventListener:function(e,t,n){typeof n!=`object`&&(n={capture:!!n}),n.U=n.U||this,this.host.__shady_removeEventListener(e,t,n)}});function li(e,t){N(e,ci,t),N(e,qr,t),N(e,Br,t),N(e,Ar,t),A.J&&!t?(N(e,Sr,t),N(e,Ur,t)):A.D||(N(e,bn),N(e,vn),N(e,yn))}var ui={},di=A.deferConnectionCallbacks&&document.readyState===`loading`,fi;function pi(e){var t=[];do t.unshift(e);while(e=e.__shady_parentNode);return t}function mi(e,t,n){if(e!==ui)throw TypeError(`Illegal constructor`);this.g=null,hi(this,t,n)}function hi(e,t,n){if(e.host=t,e.mode=n&&n.mode,si(e.host),t=O(e.host),t.root=e,t.lb=e.mode===`closed`?null:e,t=O(e),t.firstChild=t.lastChild=t.parentNode=t.nextSibling=t.previousSibling=null,A.preferPerformance)for(;t=e.host.__shady_native_firstChild;)e.host.__shady_native_removeChild(t);else V(e)}function V(e){e.Y||(e.Y=!0,qt(function(){return gi(e)}))}function gi(e){var t;if(t=e.Y){for(var n;e;)a:{if(e.Y&&(n=e),t=e,e=t.host.__shady_getRootNode(),M(e)&&(t=k(t.host))&&0<t.ka)break a;e=void 0}t=n}(n=t)&&n._renderSelf()}mi.prototype._renderSelf=function(){var e=di;if(di=!0,this.Y=!1,this.g){xi(this);for(var t=0,n;t<this.g.length;t++){n=this.g[t];var r=k(n),i=r.assignedNodes;if(r.assignedNodes=[],r.aa=[],r.Ja=i)for(r=0;r<i.length;r++){var a=k(i[r]);a.xa=a.assignedSlot,a.assignedSlot===n&&(a.assignedSlot=null)}}for(t=this.host.__shady_firstChild;t;t=t.__shady_nextSibling)_i(this,t);for(t=0;t<this.g.length;t++){if(n=this.g[t],i=k(n),!i.assignedNodes.length)for(r=n.__shady_firstChild;r;r=r.__shady_nextSibling)_i(this,r,n);if((r=(r=k(n.__shady_parentNode))&&r.root)&&(Ti(r)||r.Y)&&r._renderSelf(),vi(this,i.aa,i.assignedNodes),r=i.Ja){for(a=0;a<r.length;a++)k(r[a]).xa=null;i.Ja=null,r.length>i.assignedNodes.length&&(i.Aa=!0)}i.Aa&&(i.Aa=!1,yi(this,n))}for(n=this.g,t=[],i=0;i<n.length;i++)r=n[i].__shady_parentNode,(a=k(r))&&a.root||!(0>t.indexOf(r))||t.push(r);for(n=0;n<t.length;n++){for(a=t[n],i=a===this?this.host:a,r=[],a=a.__shady_firstChild;a;a=a.__shady_nextSibling)if(a.localName==`slot`)for(var o=k(a).aa,s=0;s<o.length;s++)r.push(o[s]);else r.push(a);a=It(i),o=ir(r,r.length,a,a.length);for(var c=s=0,l=void 0;s<o.length&&(l=o[s]);s++){for(var u=0,d=void 0;u<l.ia.length&&(d=l.ia[u]);u++)d.__shady_native_parentNode===i&&i.__shady_native_removeChild(d),a.splice(l.index+c,1);c-=l.pa}for(c=0,l=void 0;c<o.length&&(l=o[c]);c++)for(s=a[l.index],u=l.index;u<l.index+l.pa;u++)d=r[u],i.__shady_native_insertBefore(d,s),a.splice(u,0,d)}}if(!A.preferPerformance&&!this.Ia)for(t=this.host.__shady_firstChild;t;t=t.__shady_nextSibling)n=k(t),t.__shady_native_parentNode!==this.host||t.localName!==`slot`&&n.assignedSlot||this.host.__shady_native_removeChild(t);this.Ia=!0,di=e,fi&&fi()};function _i(e,t,n){var r=O(t),i=r.xa;r.xa=null,n||=(e=e.h[t.__shady_slot||`__catchall`])&&e[0],n?(O(n).assignedNodes.push(t),r.assignedSlot=n):r.assignedSlot=void 0,i!==r.assignedSlot&&r.assignedSlot&&(O(r.assignedSlot).Aa=!0)}function vi(e,t,n){for(var r=0,i=void 0;r<n.length&&(i=n[r]);r++)if(i.localName==`slot`){var a=k(i).assignedNodes;a&&a.length&&vi(e,t,a)}else t.push(n[r])}function yi(e,t){t.__shady_native_dispatchEvent(new Event(`slotchange`)),t=k(t),t.assignedSlot&&yi(e,t.assignedSlot)}function bi(e){e.i=e.i||[],e.g=e.g||[],e.h=e.h||{}}function xi(e){if(e.i&&e.i.length){for(var t=e.i,n,r=0;r<t.length;r++){var i=t[r];si(i);var a=i.__shady_parentNode;si(a),a=k(a),a.ka=(a.ka||0)+1,a=Si(i),e.h[a]?(n||={},n[a]=!0,e.h[a].push(i)):e.h[a]=[i],e.g.push(i)}if(n)for(var o in n)e.h[o]=Ci(e.h[o]);e.i=[]}}function Si(e){return e.Ua=e.name||e.getAttribute(`name`)||`__catchall`}function Ci(e){return e.sort(function(e,t){e=pi(e);for(var n=pi(t),r=0;r<e.length;r++){t=e[r];var i=n[r];if(t!==i)return e=Lt(t.__shady_parentNode),e.indexOf(t)-e.indexOf(i)}})}function wi(e,t){if(e.g){xi(e);var n=e.h,r;for(r in n)for(var i=n[r],a=0;a<i.length;a++){var o=i[a];if(Pt(t,o)){i.splice(a,1);var s=e.g.indexOf(o);if(0<=s&&(e.g.splice(s,1),(s=k(o.__shady_parentNode))&&s.ka&&s.ka--),a--,o=k(o),s=o.aa)for(var c=0;c<s.length;c++){var l=s[c],u=l.__shady_native_parentNode;u&&u.__shady_native_removeChild(l)}o.aa=[],o.assignedNodes=[],s=!0}}return s}}function Ti(e){return xi(e),!(!e.g||!e.g.length)}if((function(e){e.__proto__=DocumentFragment.prototype,li(e,`__shady_`),li(e),Object.defineProperties(e,{nodeType:{value:Node.DOCUMENT_FRAGMENT_NODE,configurable:!0},nodeName:{value:`#document-fragment`,configurable:!0},nodeValue:{value:null,configurable:!0}}),[`localName`,`namespaceURI`,`prefix`].forEach(function(t){Object.defineProperty(e,t,{value:void 0,configurable:!0})}),[`ownerDocument`,`baseURI`,`isConnected`].forEach(function(t){Object.defineProperty(e,t,{get:function(){return this.host[t]},configurable:!0})})})(mi.prototype),window.customElements&&window.customElements.define&&A.Ba&&!A.preferPerformance){var Ei=new Map;fi=function(){var e=[];Ei.forEach(function(t,n){e.push([n,t])}),Ei.clear();for(var t=0;t<e.length;t++){var n=e[t][0];e[t][1]?n.__shadydom_connectedCallback():n.__shadydom_disconnectedCallback()}},di&&document.addEventListener(`readystatechange`,function(){di=!1,fi()},{once:!0});var Di=function(e,t,n){var r=0,i=`__isConnected`+r++;return(t||n)&&(e.prototype.connectedCallback=e.prototype.__shadydom_connectedCallback=function(){di?Ei.set(this,!0):this[i]||(this[i]=!0,t&&t.call(this))},e.prototype.disconnectedCallback=e.prototype.__shadydom_disconnectedCallback=function(){di?this.isConnected||Ei.set(this,!1):this[i]&&(this[i]=!1,n&&n.call(this))}),e},Oi=window.customElements.define,ki=function(e,t){var n=t.prototype.connectedCallback,r=t.prototype.disconnectedCallback;Oi.call(window.customElements,e,Di(t,n,r)),t.prototype.connectedCallback=n,t.prototype.disconnectedCallback=r};window.customElements.define=ki,Object.defineProperty(window.CustomElementRegistry.prototype,"define",{value:ki,configurable:!0})}function Ai(e){if(e=e.__shady_getRootNode(),M(e))return e}function ji(e){this.node=e}e=ji.prototype,e.addEventListener=function(e,t,n){return this.node.__shady_addEventListener(e,t,n)},e.removeEventListener=function(e,t,n){return this.node.__shady_removeEventListener(e,t,n)},e.appendChild=function(e){return this.node.__shady_appendChild(e)},e.insertBefore=function(e,t){return this.node.__shady_insertBefore(e,t)},e.removeChild=function(e){return this.node.__shady_removeChild(e)},e.replaceChild=function(e,t){return this.node.__shady_replaceChild(e,t)},e.cloneNode=function(e){return this.node.__shady_cloneNode(e)},e.getRootNode=function(e){return this.node.__shady_getRootNode(e)},e.contains=function(e){return this.node.__shady_contains(e)},e.dispatchEvent=function(e){return this.node.__shady_dispatchEvent(e)},e.setAttribute=function(e,t){this.node.__shady_setAttribute(e,t)},e.getAttribute=function(e){return this.node.__shady_native_getAttribute(e)},e.hasAttribute=function(e){return this.node.__shady_native_hasAttribute(e)},e.removeAttribute=function(e){this.node.__shady_removeAttribute(e)},e.toggleAttribute=function(e,t){return this.node.__shady_toggleAttribute(e,t)},e.attachShadow=function(e){return this.node.__shady_attachShadow(e)},e.focus=function(){this.node.__shady_native_focus()},e.blur=function(){this.node.__shady_blur()},e.importNode=function(e,t){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_importNode(e,t)},e.getElementById=function(e){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_getElementById(e)},e.elementsFromPoint=function(e,t){return this.node.__shady_elementsFromPoint(e,t)},e.elementFromPoint=function(e,t){return this.node.__shady_elementFromPoint(e,t)},e.querySelector=function(e){return this.node.__shady_querySelector(e)},e.querySelectorAll=function(e,t){return this.node.__shady_querySelectorAll(e,t)},e.assignedNodes=function(e){if(this.node.localName===`slot`)return this.node.__shady_assignedNodes(e)},e.append=function(e){var t=[...arguments];return this.node.__shady_append.apply(this.node,c(t))},e.prepend=function(e){var t=[...arguments];return this.node.__shady_prepend.apply(this.node,c(t))},e.after=function(e){var t=[...arguments];return this.node.__shady_after.apply(this.node,c(t))},e.before=function(e){var t=[...arguments];return this.node.__shady_before.apply(this.node,c(t))},e.remove=function(){return this.node.__shady_remove()},e.replaceWith=function(e){var t=[...arguments];return this.node.__shady_replaceWith.apply(this.node,c(t))},i.Object.defineProperties(ji.prototype,{activeElement:{configurable:!0,enumerable:!0,get:function(){if(M(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(M(this.node))return this.node.host}},parentNode:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_parentNode}},firstChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_firstChild}},lastChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastChild}},nextSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextSibling}},previousSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousSibling}},childNodes:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_childNodes}},parentElement:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_parentElement}},firstElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_firstElementChild}},lastElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastElementChild}},nextElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextElementSibling}},previousElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousElementSibling}},children:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_children}},childElementCount:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_childElementCount}},shadowRoot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_shadowRoot}},assignedSlot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_assignedSlot}},isConnected:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_isConnected}},innerHTML:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_innerHTML},set:function(e){this.node.__shady_innerHTML=e}},textContent:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_textContent},set:function(e){this.node.__shady_textContent=e}},slot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_slot},set:function(e){this.node.__shady_slot=e}},className:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_className},set:function(e){this.node.__shady_className=e}}});function Mi(e){Object.defineProperty(ji.prototype,e,{get:function(){return this.node[`__shady_`+e]},set:function(t){this.node[`__shady_`+e]=t},configurable:!0})}er.forEach(function(e){return Mi(e)}),tr.forEach(function(e){return Mi(e)});var Ni=new WeakMap;function Pi(e){if(M(e)||e instanceof ji)return e;var t=Ni.get(e);return t||(t=new ji(e),Ni.set(e,t)),t}if(A.Ba){var Fi=A.D?function(e){return e}:function(e){return wn(e),Cn(e),e},Ii={inUse:A.Ba,patch:Fi,isShadyRoot:M,enqueue:qt,flush:Jt,flushInitial:function(e){!e.Ia&&e.Y&&gi(e)},settings:A,filterMutations:$t,observeChildren:Zt,unobserveChildren:Qt,deferConnectionCallbacks:A.deferConnectionCallbacks,preferPerformance:A.preferPerformance,handlesDynamicScoping:!0,wrap:A.J?Pi:Fi,wrapIfNeeded:!0===A.J?Pi:function(e){return e},Wrapper:ji,composedPath:Nn,noPatch:A.J,patchOnDemand:A.Da,nativeMethods:ln,nativeTree:un,patchElementProto:ei,querySelectorImplementation:A.querySelectorImplementation};window.ShadyDOM=Ii,_n(),$r(`__shady_`),Object.defineProperty(document,"_activeElement",qr.activeElement),N(Window.prototype,Xr,`__shady_`),A.J?A.Da&&N(Element.prototype,Rr):($r(),$n()),qn(),window.Event=Xn,window.CustomEvent=Zn,window.MouseEvent=Qn,window.ShadowRoot=mi}var Li=window.Document.prototype.createElement,Ri=window.Document.prototype.createElementNS,zi=window.Document.prototype.importNode,Bi=window.Document.prototype.prepend,Vi=window.Document.prototype.append,Hi=window.DocumentFragment.prototype.prepend,Ui=window.DocumentFragment.prototype.append,Wi=window.Node.prototype.cloneNode,Gi=window.Node.prototype.appendChild,Ki=window.Node.prototype.insertBefore,qi=window.Node.prototype.removeChild,Ji=window.Node.prototype.replaceChild,Yi=Object.getOwnPropertyDescriptor(window.Node.prototype,`textContent`),Xi=window.Element.prototype.attachShadow,Zi=Object.getOwnPropertyDescriptor(window.Element.prototype,`innerHTML`),Qi=window.Element.prototype.getAttribute,$i=window.Element.prototype.setAttribute,ea=window.Element.prototype.removeAttribute,ta=window.Element.prototype.toggleAttribute,na=window.Element.prototype.getAttributeNS,ra=window.Element.prototype.setAttributeNS,ia=window.Element.prototype.removeAttributeNS,aa=window.Element.prototype.insertAdjacentElement,oa=window.Element.prototype.insertAdjacentHTML,sa=window.Element.prototype.prepend,ca=window.Element.prototype.append,la=window.Element.prototype.before,ua=window.Element.prototype.after,da=window.Element.prototype.replaceWith,fa=window.Element.prototype.remove,pa=window.HTMLElement,ma=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,`innerHTML`),ha=window.HTMLElement.prototype.insertAdjacentElement,ga=window.HTMLElement.prototype.insertAdjacentHTML,_a=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(e){return _a.add(e)});function va(e){var t=_a.has(e);return e=/^[a-z][.0-9_a-z]*-[-.0-9_a-z]*$/.test(e),!t&&e}var ya=document.contains?document.contains.bind(document):document.documentElement.contains.bind(document.documentElement);function H(e){var t=e.isConnected;if(t!==void 0)return t;if(ya(e))return!0;for(;e&&!(e.__CE_isImportDocument||e instanceof Document);)e=e.parentNode||(window.ShadowRoot&&e instanceof ShadowRoot?e.host:void 0);return!(!e||!(e.__CE_isImportDocument||e instanceof Document))}function ba(e){var t=e.children;if(t)return Array.prototype.slice.call(t);for(t=[],e=e.firstChild;e;e=e.nextSibling)e.nodeType===Node.ELEMENT_NODE&&t.push(e);return t}function xa(e,t){for(;t&&t!==e&&!t.nextSibling;)t=t.parentNode;return t&&t!==e?t.nextSibling:null}function Sa(e,t,n){for(var r=e;r;){if(r.nodeType===Node.ELEMENT_NODE){var i=r;t(i);var a=i.localName;if(a===`link`&&i.getAttribute(`rel`)===`import`){if(r=i.import,n===void 0&&(n=new Set),r instanceof Node&&!n.has(r))for(n.add(r),r=r.firstChild;r;r=r.nextSibling)Sa(r,t,n);r=xa(e,i);continue}else if(a===`template`){r=xa(e,i);continue}if(i=i.__CE_shadowRoot)for(i=i.firstChild;i;i=i.nextSibling)Sa(i,t,n)}r=r.firstChild?r.firstChild:xa(e,r)}}function Ca(){var e=!(q==null||!q.noDocumentConstructionObserver),t=!(q==null||!q.shadyDomFastWalk);this.ca=[],this.g=[],this.W=!1,this.shadyDomFastWalk=t,this.sb=!e}function wa(e,t,n,r){var i=window.ShadyDOM;if(e.shadyDomFastWalk&&i&&i.inUse){if(t.nodeType===Node.ELEMENT_NODE&&n(t),t.querySelectorAll)for(e=i.nativeMethods.querySelectorAll.call(t,`*`),t=0;t<e.length;t++)n(e[t])}else Sa(t,n,r)}function Ta(e,t){e.W=!0,e.ca.push(t)}function Ea(e,t){e.W=!0,e.g.push(t)}function Da(e,t){e.W&&wa(e,t,function(t){return Oa(e,t)})}function Oa(e,t){if(e.W&&!t.__CE_patched){t.__CE_patched=!0;for(var n=0;n<e.ca.length;n++)e.ca[n](t);for(n=0;n<e.g.length;n++)e.g[n](t)}}function U(e,t){var n=[];for(wa(e,t,function(e){return n.push(e)}),t=0;t<n.length;t++){var r=n[t];r.__CE_state===1?e.connectedCallback(r):ka(e,r)}}function W(e,t){var n=[];for(wa(e,t,function(e){return n.push(e)}),t=0;t<n.length;t++){var r=n[t];r.__CE_state===1&&e.disconnectedCallback(r)}}function G(e,t,n){n=n===void 0?{}:n;var r=n.tb,i=n.upgrade||function(t){return ka(e,t)},a=[];for(wa(e,t,function(t){if(e.W&&Oa(e,t),t.localName===`link`&&t.getAttribute(`rel`)===`import`){var n=t.import;n instanceof Node&&(n.__CE_isImportDocument=!0,n.__CE_registry=document.__CE_registry),n&&n.readyState===`complete`?n.__CE_documentLoadHandled=!0:t.addEventListener(`load`,function(){var n=t.import;if(!n.__CE_documentLoadHandled){n.__CE_documentLoadHandled=!0;var a=new Set;r&&(r.forEach(function(e){return a.add(e)}),a.delete(n)),G(e,n,{tb:a,upgrade:i})}})}else a.push(t)},r),t=0;t<a.length;t++)i(a[t])}function ka(e,t){try{var n=t.ownerDocument,r=n.__CE_registry,i=r&&(n.defaultView||n.__CE_isImportDocument)?Ra(r,t.localName):void 0;if(i&&t.__CE_state===void 0){i.constructionStack.push(t);try{try{if(new i.constructorFunction!==t)throw Error(`The custom element constructor did not produce the element being upgraded.`)}finally{i.constructionStack.pop()}}catch(e){throw t.__CE_state=2,e}if(t.__CE_state=1,t.__CE_definition=i,i.attributeChangedCallback&&t.hasAttributes()){var a=i.observedAttributes;for(i=0;i<a.length;i++){var o=a[i],s=t.getAttribute(o);s!==null&&e.attributeChangedCallback(t,o,null,s,null)}}H(t)&&e.connectedCallback(t)}}catch(e){ja(e)}}Ca.prototype.connectedCallback=function(e){var t=e.__CE_definition;if(t.connectedCallback)try{t.connectedCallback.call(e)}catch(e){ja(e)}},Ca.prototype.disconnectedCallback=function(e){var t=e.__CE_definition;if(t.disconnectedCallback)try{t.disconnectedCallback.call(e)}catch(e){ja(e)}},Ca.prototype.attributeChangedCallback=function(e,t,n,r,i){var a=e.__CE_definition;if(a.attributeChangedCallback&&-1<a.observedAttributes.indexOf(t))try{a.attributeChangedCallback.call(e,t,n,r,i)}catch(e){ja(e)}};function Aa(e,t,n,r){var i=t.__CE_registry;if(i&&(r===null||r===`http://www.w3.org/1999/xhtml`)&&(i=Ra(i,n)))try{var a=new i.constructorFunction;if(a.__CE_state===void 0||a.__CE_definition===void 0)throw Error(`Failed to construct '`+n+`': The returned value was not constructed with the HTMLElement constructor.`);if(a.namespaceURI!==`http://www.w3.org/1999/xhtml`)throw Error(`Failed to construct '`+n+`': The constructed element's namespace must be the HTML namespace.`);if(a.hasAttributes())throw Error(`Failed to construct '`+n+`': The constructed element must not have any attributes.`);if(a.firstChild!==null)throw Error(`Failed to construct '`+n+`': The constructed element must not have any children.`);if(a.parentNode!==null)throw Error(`Failed to construct '`+n+`': The constructed element must not have a parent node.`);if(a.ownerDocument!==t)throw Error(`Failed to construct '`+n+`': The constructed element's owner document is incorrect.`);if(a.localName!==n)throw Error(`Failed to construct '`+n+`': The constructed element's local name is incorrect.`);return a}catch(i){return ja(i),t=r===null?Li.call(t,n):Ri.call(t,r,n),Object.setPrototypeOf(t,HTMLUnknownElement.prototype),t.__CE_state=2,t.__CE_definition=void 0,Oa(e,t),t}return t=r===null?Li.call(t,n):Ri.call(t,r,n),Oa(e,t),t}function ja(e){var t=``,n=``,r=0,i=0;e instanceof Error?(t=e.message,n=e.sourceURL||e.fileName||``,r=e.line||e.lineNumber||0,i=e.column||e.columnNumber||0):t=`Uncaught `+String(e);var a=void 0;ErrorEvent.prototype.initErrorEvent===void 0?a=new ErrorEvent(`error`,{cancelable:!0,message:t,filename:n,lineno:r,colno:i,error:e}):(a=document.createEvent(`ErrorEvent`),a.initErrorEvent(`error`,!1,!0,t,n,r),a.preventDefault=function(){Object.defineProperty(this,"defaultPrevented",{configurable:!0,get:function(){return!0}})}),a.error===void 0&&Object.defineProperty(a,"error",{configurable:!0,enumerable:!0,get:function(){return e}}),window.dispatchEvent(a),a.defaultPrevented||console.error(e)}function Ma(){var e=this;this.I=void 0,this.Ka=new Promise(function(t){e.g=t})}Ma.prototype.resolve=function(e){if(this.I)throw Error(`Already resolved.`);this.I=e,this.g(e)};function Na(e){var t=document;this.X=void 0,this.S=e,this.g=t,G(this.S,this.g),this.g.readyState===`loading`&&(this.X=new MutationObserver(this.h.bind(this)),this.X.observe(this.g,{childList:!0,subtree:!0}))}function Pa(e){e.X&&e.X.disconnect()}Na.prototype.h=function(e){var t=this.g.readyState;for(t!==`interactive`&&t!==`complete`||Pa(this),t=0;t<e.length;t++)for(var n=e[t].addedNodes,r=0;r<n.length;r++)G(this.S,n[r])};function K(e){this.ma=new Map,this.na=new Map,this.Fa=new Map,this.wa=!1,this.za=new Map,this.la=function(e){return e()},this.V=!1,this.oa=[],this.S=e,this.Ga=e.sb?new Na(e):void 0}e=K.prototype,e.jb=function(e,t){var n=this;if(!(t instanceof Function))throw TypeError(`Custom element constructor getters must be functions.`);Fa(this,e),this.ma.set(e,t),this.oa.push(e),this.V||(this.V=!0,this.la(function(){return La(n)}))},e.define=function(e,t){var n=this;if(!(t instanceof Function))throw TypeError(`Custom element constructors must be functions.`);Fa(this,e),Ia(this,e,t),this.oa.push(e),this.V||(this.V=!0,this.la(function(){return La(n)}))};function Fa(e,t){if(!va(t))throw SyntaxError(`The element name '`+t+`' is not valid.`);if(Ra(e,t))throw Error(`A custom element with name '`+(t+`' has already been defined.`));if(e.wa)throw Error(`A custom element is already being defined.`)}function Ia(e,t,n){e.wa=!0;var r;try{var i=n.prototype;if(!(i instanceof Object))throw TypeError(`The custom element constructor's prototype is not an object.`);var a=function(e){var t=i[e];if(t!==void 0&&!(t instanceof Function))throw Error(`The '`+e+`' callback must be a function.`);return t},o=a(`connectedCallback`),s=a(`disconnectedCallback`),c=a(`adoptedCallback`),l=(r=a(`attributeChangedCallback`))&&n.observedAttributes||[]}catch(e){throw e}finally{e.wa=!1}return n={localName:t,constructorFunction:n,connectedCallback:o,disconnectedCallback:s,adoptedCallback:c,attributeChangedCallback:r,observedAttributes:l,constructionStack:[]},e.na.set(t,n),e.Fa.set(n.constructorFunction,n),n}e.upgrade=function(e){G(this.S,e)};function La(e){if(!1!==e.V){e.V=!1;for(var t=[],n=e.oa,r=new Map,i=0;i<n.length;i++)r.set(n[i],[]);for(G(e.S,document,{upgrade:function(n){if(n.__CE_state===void 0){var i=n.localName,a=r.get(i);a?a.push(n):e.na.has(i)&&t.push(n)}}}),i=0;i<t.length;i++)ka(e.S,t[i]);for(i=0;i<n.length;i++){for(var a=n[i],o=r.get(a),s=0;s<o.length;s++)ka(e.S,o[s]);(a=e.za.get(a))&&a.resolve(void 0)}n.length=0}}e.get=function(e){if(e=Ra(this,e))return e.constructorFunction},e.whenDefined=function(e){if(!va(e))return Promise.reject(SyntaxError(`'`+e+`' is not a valid custom element name.`));var t=this.za.get(e);if(t)return t.Ka;t=new Ma,this.za.set(e,t);var n=this.na.has(e)||this.ma.has(e);return e=this.oa.indexOf(e)===-1,n&&e&&t.resolve(void 0),t.Ka},e.polyfillWrapFlushCallback=function(e){this.Ga&&Pa(this.Ga);var t=this.la;this.la=function(n){return e(function(){return t(n)})}};function Ra(e,t){var n=e.na.get(t);if(n)return n;if(n=e.ma.get(t)){e.ma.delete(t);try{return Ia(e,t,n())}catch(e){ja(e)}}}K.prototype.define=K.prototype.define,K.prototype.upgrade=K.prototype.upgrade,K.prototype.get=K.prototype.get,K.prototype.whenDefined=K.prototype.whenDefined,K.prototype.polyfillDefineLazy=K.prototype.jb,K.prototype.polyfillWrapFlushCallback=K.prototype.polyfillWrapFlushCallback;function za(e,t,n){function r(t){return function(n){for(var r=[],i=0;i<arguments.length;++i)r[i]=arguments[i];i=[];for(var a=[],o=0;o<r.length;o++){var s=r[o];if(s instanceof Element&&H(s)&&a.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)i.push(s);else i.push(s)}for(t.apply(this,r),r=0;r<a.length;r++)W(e,a[r]);if(H(this))for(r=0;r<i.length;r++)a=i[r],a instanceof Element&&U(e,a)}}n.prepend!==void 0&&(t.prepend=r(n.prepend)),n.append!==void 0&&(t.append=r(n.append))}function Ba(e){Document.prototype.createElement=function(t){return Aa(e,this,t,null)},Document.prototype.importNode=function(t,n){return t=zi.call(this,t,!!n),this.__CE_registry?G(e,t):Da(e,t),t},Document.prototype.createElementNS=function(t,n){return Aa(e,this,n,t)},za(e,Document.prototype,{prepend:Bi,append:Vi})}function Va(e){function t(t){return function(n){for(var r=[],i=0;i<arguments.length;++i)r[i]=arguments[i];i=[];for(var a=[],o=0;o<r.length;o++){var s=r[o];if(s instanceof Element&&H(s)&&a.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)i.push(s);else i.push(s)}for(t.apply(this,r),r=0;r<a.length;r++)W(e,a[r]);if(H(this))for(r=0;r<i.length;r++)a=i[r],a instanceof Element&&U(e,a)}}var n=Element.prototype;la!==void 0&&(n.before=t(la)),ua!==void 0&&(n.after=t(ua)),da!==void 0&&(n.replaceWith=function(t){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];r=[];for(var i=[],a=0;a<n.length;a++){var o=n[a];if(o instanceof Element&&H(o)&&i.push(o),o instanceof DocumentFragment)for(o=o.firstChild;o;o=o.nextSibling)r.push(o);else r.push(o)}for(a=H(this),da.apply(this,n),n=0;n<i.length;n++)W(e,i[n]);if(a)for(W(e,this),n=0;n<r.length;n++)i=r[n],i instanceof Element&&U(e,i)}),fa!==void 0&&(n.remove=function(){var t=H(this);fa.call(this),t&&W(e,this)})}function Ha(e){function t(t,n){Object.defineProperty(t,"innerHTML",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(t){var r=this,i=void 0;if(H(this)&&(i=[],wa(e,this,function(e){e!==r&&i.push(e)})),n.set.call(this,t),i)for(var a=0;a<i.length;a++){var o=i[a];o.__CE_state===1&&e.disconnectedCallback(o)}return this.ownerDocument.__CE_registry?G(e,this):Da(e,this),t}})}function n(t,n){t.insertAdjacentElement=function(t,r){var i=H(r);return t=n.call(this,t,r),i&&W(e,r),H(t)&&U(e,r),t}}function r(t,n){function r(t,n){for(var r=[];t!==n;t=t.nextSibling)r.push(t);for(n=0;n<r.length;n++)G(e,r[n])}t.insertAdjacentHTML=function(e,t){if(e=e.toLowerCase(),e===`beforebegin`){var i=this.previousSibling;n.call(this,e,t),r(i||this.parentNode.firstChild,this)}else if(e===`afterbegin`)i=this.firstChild,n.call(this,e,t),r(this.firstChild,i);else if(e===`beforeend`)i=this.lastChild,n.call(this,e,t),r(i||this.firstChild,null);else if(e===`afterend`)i=this.nextSibling,n.call(this,e,t),r(this.nextSibling,i);else throw SyntaxError(`The value provided (`+String(e)+`) is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.`)}}Xi&&(Element.prototype.attachShadow=function(t){if(t=Xi.call(this,t),e.W&&!t.__CE_patched){t.__CE_patched=!0;for(var n=0;n<e.ca.length;n++)e.ca[n](t)}return this.__CE_shadowRoot=t}),Zi&&Zi.get?t(Element.prototype,Zi):ma&&ma.get?t(HTMLElement.prototype,ma):Ea(e,function(e){t(e,{enumerable:!0,configurable:!0,get:function(){return Wi.call(this,!0).innerHTML},set:function(e){var t=this.localName===`template`,n=t?this.content:this,r=Ri.call(document,this.namespaceURI,this.localName);for(r.innerHTML=e;0<n.childNodes.length;)qi.call(n,n.childNodes[0]);for(e=t?r.content:r;0<e.childNodes.length;)Gi.call(n,e.childNodes[0])}})}),Element.prototype.setAttribute=function(t,n){if(this.__CE_state!==1)return $i.call(this,t,n);var r=Qi.call(this,t);$i.call(this,t,n),n=Qi.call(this,t),e.attributeChangedCallback(this,t,r,n,null)},Element.prototype.setAttributeNS=function(t,n,r){if(this.__CE_state!==1)return ra.call(this,t,n,r);var i=na.call(this,t,n);ra.call(this,t,n,r),r=na.call(this,t,n),e.attributeChangedCallback(this,n,i,r,t)},Element.prototype.removeAttribute=function(t){if(this.__CE_state!==1)return ea.call(this,t);var n=Qi.call(this,t);ea.call(this,t),n!==null&&e.attributeChangedCallback(this,t,n,null,null)},ta&&(Element.prototype.toggleAttribute=function(t,n){if(this.__CE_state!==1)return ta.call(this,t,n);var r=Qi.call(this,t),i=r!==null;return n=ta.call(this,t,n),i!==n&&e.attributeChangedCallback(this,t,r,n?``:null,null),n}),Element.prototype.removeAttributeNS=function(t,n){if(this.__CE_state!==1)return ia.call(this,t,n);var r=na.call(this,t,n);ia.call(this,t,n);var i=na.call(this,t,n);r!==i&&e.attributeChangedCallback(this,n,r,i,t)},ha?n(HTMLElement.prototype,ha):aa&&n(Element.prototype,aa),ga?r(HTMLElement.prototype,ga):oa&&r(Element.prototype,oa),za(e,Element.prototype,{prepend:sa,append:ca}),Va(e)}var Ua={};function Wa(e){function t(){var t=this.constructor,n=document.__CE_registry.Fa.get(t);if(!n)throw Error("Failed to construct a custom element: The constructor was not registered with `customElements`.");var r=n.constructionStack;if(r.length===0)return r=Li.call(document,n.localName),Object.setPrototypeOf(r,t.prototype),r.__CE_state=1,r.__CE_definition=n,Oa(e,r),r;var i=r.length-1,a=r[i];if(a===Ua)throw Error(`Failed to construct '`+n.localName+`': This element was already constructed.`);return r[i]=Ua,Object.setPrototypeOf(a,t.prototype),Oa(e,a),a}t.prototype=pa.prototype,Object.defineProperty(HTMLElement.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:t}),window.HTMLElement=t}function Ga(e){function t(t,n){Object.defineProperty(t,"textContent",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(t){if(this.nodeType===Node.TEXT_NODE)n.set.call(this,t);else{var r=void 0;if(this.firstChild){var i=this.childNodes,a=i.length;if(0<a&&H(this)){r=Array(a);for(var o=0;o<a;o++)r[o]=i[o]}}if(n.set.call(this,t),r)for(t=0;t<r.length;t++)W(e,r[t])}}})}Node.prototype.insertBefore=function(t,n){if(t instanceof DocumentFragment){var r=ba(t);if(t=Ki.call(this,t,n),H(this))for(n=0;n<r.length;n++)U(e,r[n]);return t}return r=t instanceof Element&&H(t),n=Ki.call(this,t,n),r&&W(e,t),H(this)&&U(e,t),n},Node.prototype.appendChild=function(t){if(t instanceof DocumentFragment){var n=ba(t);if(t=Gi.call(this,t),H(this))for(var r=0;r<n.length;r++)U(e,n[r]);return t}return n=t instanceof Element&&H(t),r=Gi.call(this,t),n&&W(e,t),H(this)&&U(e,t),r},Node.prototype.cloneNode=function(t){return t=Wi.call(this,!!t),this.ownerDocument.__CE_registry?G(e,t):Da(e,t),t},Node.prototype.removeChild=function(t){var n=t instanceof Element&&H(t),r=qi.call(this,t);return n&&W(e,t),r},Node.prototype.replaceChild=function(t,n){if(t instanceof DocumentFragment){var r=ba(t);if(t=Ji.call(this,t,n),H(this))for(W(e,n),n=0;n<r.length;n++)U(e,r[n]);return t}r=t instanceof Element&&H(t);var i=Ji.call(this,t,n),a=H(this);return a&&W(e,n),r&&W(e,t),a&&U(e,t),i},Yi&&Yi.get?t(Node.prototype,Yi):Ta(e,function(e){t(e,{enumerable:!0,configurable:!0,get:function(){for(var e=[],t=this.firstChild;t;t=t.nextSibling)t.nodeType!==Node.COMMENT_NODE&&e.push(t.textContent);return e.join(``)},set:function(e){for(;this.firstChild;)qi.call(this,this.firstChild);e!=null&&e!==``&&Gi.call(this,document.createTextNode(e))}})})}var q=window.customElements;function Ka(){var e=new Ca;Wa(e),Ba(e),za(e,DocumentFragment.prototype,{prepend:Hi,append:Ui}),Ga(e),Ha(e),window.CustomElementRegistry=K,e=new K(e),document.__CE_registry=e,Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:e})}q&&!q.forcePolyfill&&typeof q.define==`function`&&typeof q.get==`function`||Ka(),window.__CE_installPolyfill=Ka;function qa(){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 Ja(e){var t=e=e.replace(no,``).replace(ro,``),n=new qa;n.start=0,n.end=t.length;for(var r=n,i=0,a=t.length;i<a;i++)if(t[i]===`{`){r.rules||=[];var o=r,s=o.rules[o.rules.length-1]||null;r=new qa,r.start=i+1,r.parent=o,r.previous=s,o.rules.push(r)}else t[i]===`}`&&(r.end=i+1,r=r.parent||n);return Ya(n,e)}function Ya(e,t){var n=t.substring(e.start,e.end-1);if(e.parsedCssText=e.cssText=n.trim(),e.parent&&(n=t.substring(e.previous?e.previous.end:e.parent.start,e.start-1),n=Xa(n),n=n.replace(lo,` `),n=n.substring(n.lastIndexOf(`;`)+1),n=e.parsedSelector=e.selector=n.trim(),e.atRule=n.indexOf(`@`)===0,e.atRule?n.indexOf(`@media`)===0?e.type=eo:n.match(co)&&(e.type=$a,e.keyframesName=e.selector.split(lo).pop()):e.type=n.indexOf(`--`)===0?to:Qa),n=e.rules)for(var r=0,i=n.length,a=void 0;r<i&&(a=n[r]);r++)Ya(a,t);return e}function Xa(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,function(e,t){for(e=t,t=6-e.length;t--;)e=`0`+e;return`\\`+e})}function Za(e,t,n){n=n===void 0?``:n;var r=``;if(e.cssText||e.rules){var i=e.rules,a;if((a=i)&&(a=i[0],a=!(a&&a.selector&&a.selector.indexOf(`--`)===0)),a){a=0;for(var o=i.length,s=void 0;a<o&&(s=i[a]);a++)r=Za(s,t,r)}else t?t=e.cssText:(t=e.cssText,t=t.replace(io,``).replace(ao,``),t=t.replace(oo,``).replace(so,``)),(r=t.trim())&&(r=` `+r+`
12
+ `;var ft=document.querySelector(`head`);ft.insertBefore(dt,ft.firstChild);var E=window;E.WebComponents=E.WebComponents||{flags:{}};var pt=document.querySelector(`script[src*="webcomponents-bundle"]`),mt=/wc-(.+)/,D={};if(!D.noOpts){if(location.search.slice(1).split(`&`).forEach(function(e){e=e.split(`=`);var t;e[0]&&(t=e[0].match(mt))&&(D[t[1]]=e[1]||!0)}),pt)for(var ht=0,gt=void 0;gt=pt.attributes[ht];ht++)gt.name!==`src`&&(D[gt.name]=gt.value||!0);var _t={};D.log&&D.log.split&&D.log.split(`,`).forEach(function(e){_t[e]=!0}),D.log=_t}E.WebComponents.flags=D;var vt=D.shadydom;if(vt){E.ShadyDOM=E.ShadyDOM||{},E.ShadyDOM.force=vt;var yt=D.noPatch;E.ShadyDOM.noPatch=yt===`true`||yt}var bt=D.register||D.ce;bt&&window.customElements&&(E.customElements.forcePolyfill=bt),(function(){function e(){}function t(e,t){if(!e.childNodes.length)return[];switch(e.nodeType){case Node.DOCUMENT_NODE:return h.call(e,t);case Node.DOCUMENT_FRAGMENT_NODE:return g.call(e,t);default:return m.call(e,t)}}var n=typeof HTMLTemplateElement>`u`,r=!(document.createDocumentFragment().cloneNode()instanceof DocumentFragment),i=!1;/Trident/.test(navigator.userAgent)&&function(){function e(e,t){if(e instanceof DocumentFragment)for(var r;r=e.firstChild;)n.call(this,r,t);else n.call(this,e,t);return e}i=!0;var t=Node.prototype.cloneNode;Node.prototype.cloneNode=function(e){return e=t.call(this,e),this instanceof DocumentFragment&&(e.__proto__=DocumentFragment.prototype),e},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=e;var r=Node.prototype.appendChild;Node.prototype.appendChild=function(t){return t instanceof DocumentFragment?e.call(this,t,null):r.call(this,t),t};var a=Node.prototype.removeChild,o=Node.prototype.replaceChild;Node.prototype.replaceChild=function(t,n){return t instanceof DocumentFragment?(e.call(this,t,n),a.call(this,n)):o.call(this,t,n),n},Document.prototype.createDocumentFragment=function(){var e=this.createElement(`df`);return e.__proto__=DocumentFragment.prototype,e};var s=Document.prototype.importNode;Document.prototype.importNode=function(e,t){return t=s.call(this,e,t||!1),e instanceof DocumentFragment&&(t.__proto__=DocumentFragment.prototype),t}}();var a=Node.prototype.cloneNode,o=Document.prototype.createElement,s=Document.prototype.importNode,c=Node.prototype.removeChild,l=Node.prototype.appendChild,u=Node.prototype.replaceChild,d=DOMParser.prototype.parseFromString,f=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,`innerHTML`)||{get:function(){return this.innerHTML},set:function(e){this.innerHTML=e}},p=Object.getOwnPropertyDescriptor(window.Node.prototype,`childNodes`)||{get:function(){return this.childNodes}},m=Element.prototype.querySelectorAll,h=Document.prototype.querySelectorAll,g=DocumentFragment.prototype.querySelectorAll,ee=function(){if(!n){var e=document.createElement(`template`),t=document.createElement(`template`);return t.content.appendChild(document.createElement(`div`)),e.content.appendChild(t),e=e.cloneNode(!0),e.content.childNodes.length===0||e.content.firstChild.content.childNodes.length===0||r}}();if(n){var _=document.implementation.createHTMLDocument(`template`),v=!0,y=document.createElement(`style`);y.textContent=`template{display:none;}`;var b=document.head;b.insertBefore(y,b.firstElementChild),e.prototype=Object.create(HTMLElement.prototype);var te=!document.createElement(`div`).hasOwnProperty(`innerHTML`);e.Z=function(t){if(!t.content&&t.namespaceURI===document.documentElement.namespaceURI){t.content=_.createDocumentFragment();for(var n;n=t.firstChild;)l.call(t.content,n);if(te)t.__proto__=e.prototype;else if(t.cloneNode=function(t){return e.va(this,t)},v)try{ne(t),re(t)}catch{v=!1}e.bootstrap(t.content)}};var x={option:[`select`],thead:[`table`],col:[`colgroup`,`table`],tr:[`tbody`,`table`],th:[`tr`,`tbody`,`table`],td:[`tr`,`tbody`,`table`]},ne=function(t){Object.defineProperty(t,"innerHTML",{get:function(){return T(this)},set:function(t){var n=x[(/<([a-z][^/\0>\x20\t\r\n\f]+)/i.exec(t)||[``,``])[1].toLowerCase()];if(n)for(var r=0;r<n.length;r++)t=`<`+n[r]+`>`+t+`</`+n[r]+`>`;for(_.body.innerHTML=t,e.bootstrap(_);this.content.firstChild;)c.call(this.content,this.content.firstChild);if(t=_.body,n)for(r=0;r<n.length;r++)t=t.lastChild;for(;t.firstChild;)l.call(this.content,t.firstChild)},configurable:!0})},re=function(e){Object.defineProperty(e,"outerHTML",{get:function(){return`<template>`+this.innerHTML+`</template>`},set:function(e){if(this.parentNode){for(_.body.innerHTML=e,e=this.ownerDocument.createDocumentFragment();_.body.firstChild;)l.call(e,_.body.firstChild);u.call(this.parentNode,e,this)}else throw Error(`Failed to set the 'outerHTML' property on 'Element': This element has no parent node.`)},configurable:!0})};ne(e.prototype),re(e.prototype),e.bootstrap=function(n){n=t(n,`template`);for(var r=0,i=n.length,a;r<i&&(a=n[r]);r++)e.Z(a)},document.addEventListener(`DOMContentLoaded`,function(){e.bootstrap(document)}),Document.prototype.createElement=function(){var t=o.apply(this,arguments);return t.localName===`template`&&e.Z(t),t},DOMParser.prototype.parseFromString=function(){var t=d.apply(this,arguments);return e.bootstrap(t),t},Object.defineProperty(HTMLElement.prototype,"innerHTML",{get:function(){return T(this)},set:function(t){f.set.call(this,t),e.bootstrap(this)},configurable:!0,enumerable:!0});var S=/[&\u00A0"]/g,C=/[&\u00A0<>]/g,ie=function(e){switch(e){case`&`:return`&amp;`;case`<`:return`&lt;`;case`>`:return`&gt;`;case`"`:return`&quot;`;case`\xA0`:return`&nbsp;`}};y=function(e){for(var t={},n=0;n<e.length;n++)t[e[n]]=!0;return t};var ae=y(`area base br col command embed hr img input keygen link meta param source track wbr`.split(` `)),w=y(`style script xmp iframe noembed noframes plaintext noscript`.split(` `)),T=function(e,t){e.localName===`template`&&(e=e.content);for(var n=``,r=t?t(e):p.get.call(e),i=0,a=r.length,o;i<a&&(o=r[i]);i++){a:{var s=o,c=e,l=t;switch(s.nodeType){case Node.ELEMENT_NODE:for(var u=s.localName,d=`<`+u,f=s.attributes,m=0;c=f[m];m++)d+=` `+c.name+`="`+c.value.replace(S,ie)+`"`;d+=`>`,s=ae[u]?d:d+T(s,l)+`</`+u+`>`;break a;case Node.TEXT_NODE:s=s.data,s=c&&w[c.localName]?s:s.replace(C,ie);break a;case Node.COMMENT_NODE:s=`<!--`+s.data+`-->`;break a;default:throw window.console.error(s),Error(`not implemented`)}}n+=s}return n}}if(n||ee){e.va=function(e,t){var n=a.call(e,!1);return this.Z&&this.Z(n),t&&(l.call(n.content,a.call(e.content,!0)),oe(n.content,e.content)),n};var oe=function(n,r){if(r.querySelectorAll&&(r=t(r,`template`),r.length!==0)){n=t(n,`template`);for(var i=0,a=n.length,o,s;i<a;i++)s=r[i],o=n[i],e&&e.Z&&e.Z(s),u.call(o.parentNode,se.call(s,!0),o)}},se=Node.prototype.cloneNode=function(t){if(!i&&r&&this instanceof DocumentFragment){if(t)var n=ce.call(this.ownerDocument,this,!0);else return this.ownerDocument.createDocumentFragment()}else n=this.nodeType===Node.ELEMENT_NODE&&this.localName===`template`&&this.namespaceURI==document.documentElement.namespaceURI?e.va(this,t):a.call(this,t);return t&&oe(n,this),n},ce=Document.prototype.importNode=function(n,r){if(r||=!1,n.localName===`template`)return e.va(n,r);var i=s.call(this,n,r);if(r){oe(i,n),n=t(i,`script:not([type]),script[type="application/javascript"],script[type="text/javascript"]`);for(var a,c=0;c<n.length;c++){a=n[c],r=o.call(document,`script`),r.textContent=a.textContent;for(var l=a.attributes,d=0,f;d<l.length;d++)f=l[d],r.setAttribute(f.name,f.value);u.call(a.parentNode,r,a)}}return i}}n&&(window.HTMLTemplateElement=e)})();function xt(){}xt.prototype.toJSON=function(){return{}};function O(e){return e.__shady||=new xt,e.__shady}function k(e){return e&&e.__shady}var A=window.ShadyDOM||{};A.cb=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var St=Object.getOwnPropertyDescriptor(Node.prototype,`firstChild`);A.D=!!(St&&St.configurable&&St.get),A.Ba=A.force||!A.cb,A.J=A.noPatch||!1,A.ha=A.preferPerformance,A.Da=A.J===`on-demand`;var Ct,wt=A.querySelectorImplementation;Ct=-1<[`native`,`selectorEngine`].indexOf(wt)?wt:void 0,A.wb=Ct,A.Ra=navigator.userAgent.match(`Trident`);function Tt(){return Document.prototype.msElementsFromPoint?`msElementsFromPoint`:`elementsFromPoint`}function j(e){return(e=k(e))&&e.firstChild!==void 0}function M(e){return e instanceof ShadowRoot}function Et(e){return(e=(e=k(e))&&e.root)&&Ti(e)}var Dt=Element.prototype,Ot=Dt.matches||Dt.matchesSelector||Dt.mozMatchesSelector||Dt.msMatchesSelector||Dt.oMatchesSelector||Dt.webkitMatchesSelector,kt=document.createTextNode(``),At=0,jt=[];new MutationObserver(function(){for(;jt.length;)try{jt.shift()()}catch(e){throw kt.textContent=At++,e}}).observe(kt,{characterData:!0});function Mt(e){jt.push(e),kt.textContent=At++}var Nt=document.contains?function(e,t){return e.__shady_native_contains(t)}:function(e,t){return e===t||e.documentElement&&e.documentElement.__shady_native_contains(t)};function Pt(e,t){for(;t;){if(t==e)return!0;t=t.__shady_parentNode}return!1}function Ft(e){for(var t=e.length-1;0<=t;t--){var n=e[t],r=n.getAttribute(`id`)||n.getAttribute(`name`);r&&r!==`length`&&isNaN(r)&&(e[r]=n)}return e.item=function(t){return e[t]},e.namedItem=function(t){if(t!==`length`&&isNaN(t)&&e[t])return e[t];for(var n=s(e),r=n.next();!r.done;r=n.next())if(r=r.value,(r.getAttribute(`id`)||r.getAttribute(`name`))==t)return r;return null},e}function It(e){var t=[];for(e=e.__shady_native_firstChild;e;e=e.__shady_native_nextSibling)t.push(e);return t}function Lt(e){var t=[];for(e=e.__shady_firstChild;e;e=e.__shady_nextSibling)t.push(e);return t}function Rt(e,t,n){if(n.configurable=!0,n.value)e[t]=n.value;else try{Object.defineProperty(e,t,n)}catch{}}function N(e,t,n,r){for(var i in n=n===void 0?``:n,t)r&&0<=r.indexOf(i)||Rt(e,n+i,t[i])}function zt(e,t){for(var n in t)n in e&&Rt(e,n,t[n])}function P(e){var t={};return Object.getOwnPropertyNames(e).forEach(function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)}),t}function Bt(e,t){for(var n=Object.getOwnPropertyNames(t),r=0,i;r<n.length;r++)i=n[r],e[i]=t[i]}function Vt(e){return e instanceof Node?e:document.createTextNode(``+e)}function Ht(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];if(t.length===1)return Vt(t[0]);n=document.createDocumentFragment(),t=s(t);for(var r=t.next();!r.done;r=t.next())n.appendChild(Vt(r.value));return n}function Ut(e){for(var t=t===void 0?1:t;0<t;t--)e=e.reduce(function(e,t){return Array.isArray(t)?e.push.apply(e,c(t)):e.push(t),e},[]);return e}function Wt(e){var t=[],n=/* @__PURE__ */ new Set;e=s(e);for(var r=e.next();!r.done;r=e.next())r=r.value,n.has(r)||(t.push(r),n.add(r));return t}var Gt=[],Kt;function qt(e){Kt||(Kt=!0,Mt(Jt)),Gt.push(e)}function Jt(){Kt=!1;for(var e=!!Gt.length;Gt.length;)Gt.shift()();return e}Jt.list=Gt;function Yt(){this.g=!1,this.addedNodes=[],this.removedNodes=[],this.qa=/* @__PURE__ */ new Set}function Xt(e){e.g||(e.g=!0,Mt(function(){e.flush()}))}Yt.prototype.flush=function(){if(this.g){this.g=!1;var e=this.takeRecords();e.length&&this.qa.forEach(function(t){t(e)})}},Yt.prototype.takeRecords=function(){if(this.addedNodes.length||this.removedNodes.length){var e=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];return this.addedNodes=[],this.removedNodes=[],e}return[]};function Zt(e,t){var n=O(e);n.ga||=new Yt,n.ga.qa.add(t);var r=n.ga;return{Va:t,X:r,Wa:e,takeRecords:function(){return r.takeRecords()}}}function Qt(e){var t=e&&e.X;t&&(t.qa.delete(e.Va),t.qa.size||(O(e.Wa).ga=null))}function $t(e,t){var n=t.getRootNode();return e.map(function(e){var t=n===e.target.getRootNode();if(t&&e.addedNodes){if(t=[].slice.call(e.addedNodes).filter(function(e){return n===e.getRootNode()}),t.length)return e=Object.create(e),Object.defineProperty(e,"addedNodes",{value:t,configurable:!0}),e}else if(t)return e}).filter(function(e){return e})}var en=/[&\u00A0"]/g,tn=/[&\u00A0<>]/g;function nn(e){switch(e){case`&`:return`&amp;`;case`<`:return`&lt;`;case`>`:return`&gt;`;case`"`:return`&quot;`;case`\xA0`:return`&nbsp;`}}function rn(e){for(var t={},n=0;n<e.length;n++)t[e[n]]=!0;return t}var an=rn(`area base br col command embed hr img input keygen link meta param source track wbr`.split(` `)),on=rn(`style script xmp iframe noembed noframes plaintext noscript`.split(` `));function sn(e,t){e.localName===`template`&&(e=e.content);for(var n=``,r=t?t(e):e.childNodes,i=0,a=r.length,o=void 0;i<a&&(o=r[i]);i++){a:{var s=o,c=e,l=t;switch(s.nodeType){case Node.ELEMENT_NODE:c=s.localName;for(var u=`<`+c,d=s.attributes,f=0,p;p=d[f];f++)u+=` `+p.name+`="`+p.value.replace(en,nn)+`"`;u+=`>`,s=an[c]?u:u+sn(s,l)+`</`+c+`>`;break a;case Node.TEXT_NODE:s=s.data,s=c&&on[c.localName]?s:s.replace(tn,nn);break a;case Node.COMMENT_NODE:s=`<!--`+s.data+`-->`;break a;default:throw window.console.error(s),Error(`not implemented`)}}n+=s}return n}var cn=A.D,ln={querySelector:function(e){return this.__shady_native_querySelector(e)},querySelectorAll:function(e){return this.__shady_native_querySelectorAll(e)}},un={};function dn(e){un[e]=function(t){return t[`__shady_native_`+e]}}function fn(e,t){for(var n in N(e,t,`__shady_native_`),t)dn(n)}function F(e,t){t=t===void 0?[]:t;for(var n=0;n<t.length;n++){var r=t[n],i=Object.getOwnPropertyDescriptor(e,r);i&&(Object.defineProperty(e,`__shady_native_`+r,i),i.value?ln[r]||(ln[r]=i.value):dn(r))}}var I=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),L=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1),pn=document.implementation.createHTMLDocument(`inert`);function mn(e){for(var t;t=e.__shady_native_firstChild;)e.__shady_native_removeChild(t)}var hn=[`firstElementChild`,`lastElementChild`,`children`,`childElementCount`],gn=[`querySelector`,`querySelectorAll`,`append`,`prepend`,`replaceChildren`];function _n(){var e=[`dispatchEvent`,`addEventListener`,`removeEventListener`];window.EventTarget?(F(window.EventTarget.prototype,e),window.__shady_native_addEventListener===void 0&&F(Window.prototype,e)):(F(Node.prototype,e),F(Window.prototype,e),F(XMLHttpRequest.prototype,e)),cn?F(Node.prototype,`parentNode firstChild lastChild previousSibling nextSibling childNodes parentElement textContent`.split(` `)):fn(Node.prototype,{parentNode:{get:function(){return I.currentNode=this,I.parentNode()}},firstChild:{get:function(){return I.currentNode=this,I.firstChild()}},lastChild:{get:function(){return I.currentNode=this,I.lastChild()}},previousSibling:{get:function(){return I.currentNode=this,I.previousSibling()}},nextSibling:{get:function(){return I.currentNode=this,I.nextSibling()}},childNodes:{get:function(){var e=[];I.currentNode=this;for(var t=I.firstChild();t;)e.push(t),t=I.nextSibling();return e}},parentElement:{get:function(){return L.currentNode=this,L.parentNode()}},textContent:{get:function(){switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:for(var e=document.createTreeWalker(this,NodeFilter.SHOW_TEXT,null,!1),t=``,n;n=e.nextNode();)t+=n.nodeValue;return t;default:return this.nodeValue}},set:function(e){switch(e??=``,this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:mn(this),(0<e.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_native_insertBefore(document.createTextNode(e),void 0);break;default:this.nodeValue=e}}}}),F(Node.prototype,`appendChild insertBefore removeChild replaceChild cloneNode contains`.split(` `)),F(HTMLElement.prototype,[`parentElement`,`contains`]),e={firstElementChild:{get:function(){return L.currentNode=this,L.firstChild()}},lastElementChild:{get:function(){return L.currentNode=this,L.lastChild()}},children:{get:function(){var e=[];L.currentNode=this;for(var t=L.firstChild();t;)e.push(t),t=L.nextSibling();return Ft(e)}},childElementCount:{get:function(){return this.children?this.children.length:0}}},cn?(F(Element.prototype,hn),F(Element.prototype,[`previousElementSibling`,`nextElementSibling`,`innerHTML`,`className`]),F(HTMLElement.prototype,[`children`,`innerHTML`,`className`])):(fn(Element.prototype,e),fn(Element.prototype,{previousElementSibling:{get:function(){return L.currentNode=this,L.previousSibling()}},nextElementSibling:{get:function(){return L.currentNode=this,L.nextSibling()}},innerHTML:{get:function(){return sn(this,It)},set:function(e){var t=this.localName===`template`?this.content:this;mn(t);var n=this.localName||`div`;for(n=this.namespaceURI&&this.namespaceURI!==pn.namespaceURI?pn.createElementNS(this.namespaceURI,n):pn.createElement(n),n.innerHTML=e,e=this.localName===`template`?n.content:n;n=e.__shady_native_firstChild;)t.__shady_native_insertBefore(n,void 0)}},className:{get:function(){return this.getAttribute(`class`)||``},set:function(e){this.setAttribute(`class`,e)}}})),F(Element.prototype,`setAttribute getAttribute hasAttribute removeAttribute toggleAttribute focus blur`.split(` `)),F(Element.prototype,gn),F(HTMLElement.prototype,[`focus`,`blur`]),window.HTMLTemplateElement&&F(window.HTMLTemplateElement.prototype,[`innerHTML`]),cn?F(DocumentFragment.prototype,hn):fn(DocumentFragment.prototype,e),F(DocumentFragment.prototype,gn),cn?(F(Document.prototype,hn),F(Document.prototype,[`activeElement`])):fn(Document.prototype,e),F(Document.prototype,[`importNode`,`getElementById`,`elementFromPoint`,Tt()]),F(Document.prototype,gn)}var vn=P({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}}),yn=P({get textContent(){return this.__shady_textContent},set textContent(e){this.__shady_textContent=e},get innerHTML(){return this.__shady_innerHTML},set innerHTML(e){this.__shady_innerHTML=e}}),bn=P({get parentElement(){return this.__shady_parentElement},get parentNode(){return this.__shady_parentNode},get nextSibling(){return this.__shady_nextSibling},get previousSibling(){return this.__shady_previousSibling},get nextElementSibling(){return this.__shady_nextElementSibling},get previousElementSibling(){return this.__shady_previousElementSibling},get className(){return this.__shady_className},set className(e){this.__shady_className=e}});function xn(e){for(var t in e){var n=e[t];n&&(n.enumerable=!1)}}xn(vn),xn(yn),xn(bn);var Sn=A.D||!0===A.J,Cn=Sn?function(){}:function(e){var t=O(e);t.Ta||(t.Ta=!0,zt(e,bn))},wn=Sn?function(){}:function(e){var t=O(e);t.Sa||(t.Sa=!0,zt(e,vn),window.customElements&&window.customElements.polyfillWrapFlushCallback&&!A.J||zt(e,yn))},Tn=`__eventWrappers`+Date.now(),En=function(){var e=Object.getOwnPropertyDescriptor(Event.prototype,`composed`);return e?function(t){return e.get.call(t)}:null}(),Dn=function(){function e(){}var t=!1,n={get capture(){return t=!0,!1}};return window.addEventListener(`test`,e,n),window.removeEventListener(`test`,e,n),t}();function On(e){if(e===null||typeof e!=`object`&&typeof e!=`function`)var t=!!e,n=!1;else{t=!!e.capture,n=!!e.once;var r=e.U}return{Pa:r,capture:t,once:n,Na:Dn?e:t}}var kn={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},An={DOMAttrModified:!0,DOMAttributeNameChanged:!0,DOMCharacterDataModified:!0,DOMElementNameChanged:!0,DOMNodeInserted:!0,DOMNodeInsertedIntoDocument:!0,DOMNodeRemoved:!0,DOMNodeRemovedFromDocument:!0,DOMSubtreeModified:!0};function jn(e){return e instanceof Node?e.__shady_getRootNode():e}function Mn(e,t){var n=[],r=e;for(e=jn(e);r;)n.push(r),r=r.__shady_assignedSlot?r.__shady_assignedSlot:r.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&r.host&&(t||r!==e)?r.host:r.__shady_parentNode;return n[n.length-1]===document&&n.push(window),n}function Nn(e){return e.__composedPath||=Mn(e.target,!0),e.__composedPath}function Pn(e,t){if(!M)return e;e=Mn(e,!0);for(var n=0,r,i=void 0,a,o=void 0;n<t.length;n++)if(r=t[n],a=jn(r),a!==i&&(o=e.indexOf(a),i=a),!M(a)||-1<o)return r}var Fn={get composed(){return this.__composed===void 0&&(En?this.__composed=this.type===`focusin`||this.type===`focusout`||En(this):!1!==this.isTrusted&&(this.__composed=kn[this.type])),this.__composed||!1},composedPath:function(){return this.__composedPath||=Mn(this.__target,this.composed),this.__composedPath},get target(){return Pn(this.currentTarget||this.__previousCurrentTarget,this.composedPath())},get relatedTarget(){return this.__relatedTarget?(this.__relatedTargetComposedPath||=Mn(this.__relatedTarget,!0),Pn(this.currentTarget||this.__previousCurrentTarget,this.__relatedTargetComposedPath)):null},stopPropagation:function(){Event.prototype.stopPropagation.call(this),this.ua=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this),this.ua=this.__immediatePropagationStopped=!0}},In=A.D&&Object.getOwnPropertyDescriptor(Event.prototype,`eventPhase`);In&&(Object.defineProperty(Fn,"eventPhase",{get:function(){return this.currentTarget===this.target?Event.AT_TARGET:this.__shady_native_eventPhase},enumerable:!0,configurable:!0}),Object.defineProperty(Fn,"__shady_native_eventPhase",In));function Ln(e){function t(t,n){return t=new e(t,n),t.__composed=n&&!!n.composed,t}return t.__proto__=e,t.prototype=e.prototype,t}var Rn={focus:!0,blur:!0};function zn(e){return e.__target!==e.target||e.__relatedTarget!==e.relatedTarget}function Bn(e,t,n){if(n=t.__handlers&&t.__handlers[e.type]&&t.__handlers[e.type][n])for(var r=0,i;(i=n[r])&&(!zn(e)||e.target!==e.relatedTarget)&&(i.call(t,e),!e.__immediatePropagationStopped);r++);}var Vn=new Event(`e`).hasOwnProperty(`currentTarget`);function Hn(e){e=Vn?Object.create(e):e;var t=e.composedPath(),n=t.map(function(e){return Pn(e,t)}),r=e.bubbles,i=Object.getOwnPropertyDescriptor(e,`currentTarget`);Object.defineProperty(e,"currentTarget",{configurable:!0,enumerable:!0,get:function(){return c}});var a=Event.CAPTURING_PHASE,o=Object.getOwnPropertyDescriptor(e,`eventPhase`);Object.defineProperty(e,"eventPhase",{configurable:!0,enumerable:!0,get:function(){return a}});try{for(var s=t.length-1;0<=s;s--){var c=t[s];if(a=c===n[s]?Event.AT_TARGET:Event.CAPTURING_PHASE,Bn(e,c,`capture`),e.ua)return}for(s=0;s<t.length;s++){c=t[s];var l=c===n[s];if((l||r)&&(a=l?Event.AT_TARGET:Event.BUBBLING_PHASE,Bn(e,c,`bubble`),e.ua))break}}finally{Vn||(i?Object.defineProperty(e,"currentTarget",i):delete e.currentTarget,o?Object.defineProperty(e,"eventPhase",o):delete e.eventPhase)}}function Un(e,t,n,r){for(var i=0;i<e.length;i++){var a=e[i],o=a.type,s=a.capture;if(t===a.node&&n===o&&r===s)return i}return-1}function Wn(e){return Jt(),!A.ha&&this instanceof Node&&!Nt(document,this)?(e.__target||Yn(e,this),Hn(e)):this.__shady_native_dispatchEvent(e)}function Gn(e,t,n){var r=this,i=On(n),a=i.capture,o=i.once,s=i.Pa;if(i=i.Na,t){var c=typeof t;if((c===`function`||c===`object`)&&(c!==`object`||t.handleEvent&&typeof t.handleEvent==`function`)){if(An[e])return this.__shady_native_addEventListener(e,t,i);var l=s||this;if(s=t[Tn]){if(-1<Un(s,l,e,a))return}else t[Tn]=[];s=function(i){if(o&&r.__shady_removeEventListener(e,t,n),i.__target||Yn(i),l!==r){var s=Object.getOwnPropertyDescriptor(i,`currentTarget`);Object.defineProperty(i,"currentTarget",{get:function(){return l},configurable:!0});var u=Object.getOwnPropertyDescriptor(i,`eventPhase`);Object.defineProperty(i,"eventPhase",{configurable:!0,enumerable:!0,get:function(){return a?Event.CAPTURING_PHASE:Event.BUBBLING_PHASE}})}if(i.__previousCurrentTarget=i.currentTarget,(!M(l)&&l.localName!==`slot`||i.composedPath().indexOf(l)!=-1)&&(i.composed||-1<i.composedPath().indexOf(l))){if(zn(i)&&i.target===i.relatedTarget)i.eventPhase===Event.BUBBLING_PHASE&&i.stopImmediatePropagation();else if(i.eventPhase===Event.CAPTURING_PHASE||i.bubbles||i.target===l||l instanceof Window){var d=c===`function`?t.call(l,i):t.handleEvent&&t.handleEvent(i);return l!==r&&(s?(Object.defineProperty(i,"currentTarget",s),s=null):delete i.currentTarget,u?(Object.defineProperty(i,"eventPhase",u),u=null):delete i.eventPhase),d}}},t[Tn].push({node:l,type:e,capture:a,ub:s}),this.__handlers=this.__handlers||{},this.__handlers[e]=this.__handlers[e]||{capture:[],bubble:[]},this.__handlers[e][a?`capture`:`bubble`].push(s),Rn[e]||this.__shady_native_addEventListener(e,s,i)}}}function Kn(e,t,n){if(t){var r=On(n);n=r.capture;var i=r.Pa;if(r=r.Na,An[e])return this.__shady_native_removeEventListener(e,t,r);var a=i||this;i=void 0;var o=null;try{o=t[Tn]}catch{}o&&(a=Un(o,a,e,n),-1<a&&(i=o.splice(a,1)[0].ub,o.length||(t[Tn]=void 0))),this.__shady_native_removeEventListener(e,i||t,r),i&&this.__handlers&&this.__handlers[e]&&(e=this.__handlers[e][n?`capture`:`bubble`],t=e.indexOf(i),-1<t&&e.splice(t,1))}}function qn(){for(var e in Rn)window.__shady_native_addEventListener(e,function(e){e.__target||(Yn(e),Hn(e))},!0)}var Jn=P(Fn);function Yn(e,t){if(t=t===void 0?e.target:t,e.__target=t,e.__relatedTarget=e.relatedTarget,A.D){if(t=Object.getPrototypeOf(e),!t.hasOwnProperty(`__shady_patchedProto`)){var n=Object.create(t);n.__shady_sourceProto=t,N(n,Jn),t.__shady_patchedProto=n}e.__proto__=t.__shady_patchedProto}else N(e,Jn)}var Xn=Ln(Event),Zn=Ln(CustomEvent),Qn=Ln(MouseEvent);function $n(){if(!En&&Object.getOwnPropertyDescriptor(Event.prototype,`isTrusted`)){var e=function(){var e=new MouseEvent(`click`,{bubbles:!0,cancelable:!0,composed:!0});this.__shady_dispatchEvent(e)};Element.prototype.click?Element.prototype.click=e:HTMLElement.prototype.click&&(HTMLElement.prototype.click=e)}}var er=Object.getOwnPropertyNames(Element.prototype).filter(function(e){return e.substring(0,2)===`on`}),tr=Object.getOwnPropertyNames(HTMLElement.prototype).filter(function(e){return e.substring(0,2)===`on`});function nr(e){return{set:function(t){var n=O(this),r=e.substring(2);n.T||={},n.T[e]&&this.removeEventListener(r,n.T[e]),this.__shady_addEventListener(r,t),n.T[e]=t},get:function(){var t=k(this);return t&&t.T&&t.T[e]},configurable:!0}}function rr(e,t){return{index:e,ia:[],pa:t}}function ir(e,t,n,r){var i=0,a=0,o=0,s=0,c=Math.min(t-i,r-a);if(i==0&&a==0)a:{for(o=0;o<c;o++)if(e[o]!==n[o])break a;o=c}if(t==e.length&&r==n.length){s=e.length;for(var l=n.length,u=0;u<c-o&&ar(e[--s],n[--l]);)u++;s=u}if(i+=o,a+=o,t-=s,r-=s,t-i==0&&r-a==0)return[];if(i==t){for(t=rr(i,0);a<r;)t.ia.push(n[a++]);return[t]}if(a==r)return[rr(i,t-i)];for(c=i,o=a,r=r-o+1,s=t-c+1,t=Array(r),l=0;l<r;l++)t[l]=Array(s),t[l][0]=l;for(l=0;l<s;l++)t[0][l]=l;for(l=1;l<r;l++)for(u=1;u<s;u++)if(e[c+u-1]===n[o+l-1])t[l][u]=t[l-1][u-1];else{var d=t[l-1][u]+1,f=t[l][u-1]+1;t[l][u]=d<f?d:f}for(c=t.length-1,o=t[0].length-1,r=t[c][o],e=[];0<c||0<o;)c==0?(e.push(2),o--):o==0?(e.push(3),c--):(s=t[c-1][o-1],l=t[c-1][o],u=t[c][o-1],d=l<u?l<s?l:s:u<s?u:s,d==s?(s==r?e.push(0):(e.push(1),r=s),c--,o--):d==l?(e.push(3),c--,r=l):(e.push(2),o--,r=u));for(e.reverse(),t=void 0,c=[],o=0;o<e.length;o++)switch(e[o]){case 0:t&&=(c.push(t),void 0),i++,a++;break;case 1:t||=rr(i,0),t.pa++,i++,t.ia.push(n[a]),a++;break;case 2:t||=rr(i,0),t.pa++,i++;break;case 3:t||=rr(i,0),t.ia.push(n[a]),a++}return t&&c.push(t),c}function ar(e,t){return e===t}var or=P({dispatchEvent:Wn,addEventListener:Gn,removeEventListener:Kn}),sr=null;function cr(){return sr||=window.ShadyCSS&&window.ShadyCSS.ScopingShim,sr||null}function lr(e,t,n){var r=cr();return r&&t===`class`?(r.setElementClass(e,n),!0):!1}function ur(e,t){var n=cr();n&&n.unscopeNode(e,t)}function dr(e,t){var n=cr();if(!n)return!0;if(e.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(n=!0,e=e.__shady_firstChild;e;e=e.__shady_nextSibling)n&&=dr(e,t);return n}return e.nodeType!==Node.ELEMENT_NODE||n.currentScopeForNode(e)===t}function fr(e){if(e.nodeType!==Node.ELEMENT_NODE)return``;var t=cr();return t?t.currentScopeForNode(e):``}function pr(e,t){if(e)for(e.nodeType===Node.ELEMENT_NODE&&t(e),e=e.__shady_firstChild;e;e=e.__shady_nextSibling)e.nodeType===Node.ELEMENT_NODE&&pr(e,t)}var mr=window.document,hr=A.ha,gr=Object.getOwnPropertyDescriptor(Node.prototype,`isConnected`),_r=gr&&gr.get;function vr(e){for(var t;t=e.__shady_firstChild;)e.__shady_removeChild(t)}function yr(e){var t=k(e);if(t&&t.ta!==void 0)for(t=e.__shady_firstChild;t;t=t.__shady_nextSibling)yr(t);(e=k(e))&&(e.ta=void 0)}function br(e){var t=e;if(e&&e.localName===`slot`){var n=k(e);(n&&=n.aa)&&(t=n.length?n[0]:br(e.__shady_nextSibling))}return t}function xr(e,t,n){if(e=(e=k(e))&&e.ga){if(t){if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(var r=0,i=t.childNodes.length;r<i;r++)e.addedNodes.push(t.childNodes[r]);else e.addedNodes.push(t)}n&&e.removedNodes.push(n),Xt(e)}}var Sr=P({get parentNode(){var e=k(this);return e&&=e.parentNode,e===void 0?this.__shady_native_parentNode:e},get firstChild(){var e=k(this);return e&&=e.firstChild,e===void 0?this.__shady_native_firstChild:e},get lastChild(){var e=k(this);return e&&=e.lastChild,e===void 0?this.__shady_native_lastChild:e},get nextSibling(){var e=k(this);return e&&=e.nextSibling,e===void 0?this.__shady_native_nextSibling:e},get previousSibling(){var e=k(this);return e&&=e.previousSibling,e===void 0?this.__shady_native_previousSibling:e},get childNodes(){if(j(this)){var e=k(this);if(!e.childNodes){e.childNodes=[];for(var t=this.__shady_firstChild;t;t=t.__shady_nextSibling)e.childNodes.push(t)}var n=e.childNodes}else n=this.__shady_native_childNodes;return n.item=function(e){return n[e]},n},get parentElement(){var e=k(this);return(e&&=e.parentNode)&&e.nodeType!==Node.ELEMENT_NODE&&(e=null),e===void 0?this.__shady_native_parentElement:e},get isConnected(){if(_r&&_r.call(this))return!0;if(this.nodeType==Node.DOCUMENT_FRAGMENT_NODE)return!1;var e=this.ownerDocument;if(e===null||Nt(e,this))return!0;for(e=this;e&&!(e instanceof Document);)e=e.__shady_parentNode||(M(e)?e.host:void 0);return!!(e&&e instanceof Document)},get textContent(){if(j(this)){for(var e=[],t=this.__shady_firstChild;t;t=t.__shady_nextSibling)t.nodeType!==Node.COMMENT_NODE&&e.push(t.__shady_textContent);return e.join(``)}return this.__shady_native_textContent},set textContent(e){switch(e??=``,this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:if(!j(this)&&A.D){var t=this.__shady_firstChild;(t!=this.__shady_lastChild||t&&t.nodeType!=Node.TEXT_NODE)&&vr(this),this.__shady_native_textContent=e}else vr(this),(0<e.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_insertBefore(document.createTextNode(e));break;default:this.nodeValue=e}},insertBefore:function(e,t){if(this.ownerDocument!==mr&&e.ownerDocument!==mr)return this.__shady_native_insertBefore(e,t),e;if(e===this)throw Error(`Failed to execute 'appendChild' on 'Node': The new child element contains the parent.`);if(t){var n=k(t);if(n&&=n.parentNode,n!==void 0&&n!==this||n===void 0&&t.__shady_native_parentNode!==this)throw Error(`Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.`)}if(t===e)return e;xr(this,e);var r=[],i=(n=Ai(this))?n.host.localName:fr(this),a=e.__shady_parentNode;if(a){var o=fr(e),s=!!n||!Ai(e)||hr&&this.__noInsertionPoint!==void 0;a.__shady_removeChild(e,s)}a=!0;var l=(!hr||e.__noInsertionPoint===void 0&&this.__noInsertionPoint===void 0)&&!dr(e,i),u=n&&!e.__noInsertionPoint&&(!hr||e.nodeType===Node.DOCUMENT_FRAGMENT_NODE);return(u||l)&&(l&&(o||=fr(e)),pr(e,function(e){if(u&&e.localName===`slot`&&r.push(e),l){var t=o;cr()&&(t&&ur(e,t),(t=cr())&&t.scopeNode(e,i))}})),r.length&&(bi(n),n.i.push.apply(n.i,c(r)),V(n)),j(this)&&(ai(e,this,t),s=k(this),s.root?(a=!1,Et(this)&&V(s.root)):n&&this.localName===`slot`&&(a=!1,V(n))),a?(n=M(this)?this.host:this,t?(t=br(t),n.__shady_native_insertBefore(e,t)):n.__shady_native_appendChild(e)):e.ownerDocument!==this.ownerDocument&&this.ownerDocument.adoptNode(e),e},appendChild:function(e){if(this!=e||!M(e))return this.__shady_insertBefore(e)},removeChild:function(e,t){if(t=t!==void 0&&t,this.ownerDocument!==mr)return this.__shady_native_removeChild(e);if(e.__shady_parentNode!==this)throw Error(`The node to be removed is not a child of this node: `+e);xr(this,null,e);var n=Ai(e),r=n&&wi(n,e),i=k(this);if(j(this)&&(oi(e,this),Et(this))){V(i.root);var a=!0}if(cr()&&!t&&n&&e.nodeType!==Node.TEXT_NODE){var o=fr(e);pr(e,function(e){ur(e,o)})}return yr(e),n&&((t=this.localName===`slot`)&&(a=!0),(r||t)&&V(n)),a||(a=M(this)?this.host:this,(!i.root&&e.localName!==`slot`||a===e.__shady_native_parentNode)&&a.__shady_native_removeChild(e)),e},replaceChild:function(e,t){return this.__shady_insertBefore(e,t),this.__shady_removeChild(t),e},cloneNode:function(e){if(this.localName==`template`)return this.__shady_native_cloneNode(e);var t=this.__shady_native_cloneNode(!1);if(e&&t.nodeType!==Node.ATTRIBUTE_NODE){e=this.__shady_firstChild;for(var n;e;e=e.__shady_nextSibling)n=e.__shady_cloneNode(!0),t.__shady_appendChild(n)}return t},getRootNode:function(e){if(this&&this.nodeType){var t=O(this),n=t.ta;return n===void 0&&(M(this)?(n=this,t.ta=n):(n=(n=this.__shady_parentNode)?n.__shady_getRootNode(e):this,document.documentElement.__shady_native_contains(this)&&(t.ta=n))),n}},contains:function(e){return Pt(this,e)}}),Cr=P({get assignedSlot(){var e=this.__shady_parentNode;return(e&&=e.__shady_shadowRoot)&&gi(e),(e=k(this))&&e.assignedSlot||null}}),wr=/* @__PURE__ */ new Map;[[`(`,{end:`)`,sa:!0}],[`[`,{end:`]`,sa:!0}],[`"`,{end:`"`,sa:!1}],[`'`,{end:`'`,sa:!1}]].forEach(function(e){var t=s(e);e=t.next().value,t=t.next().value,wr.set(e,t)});function Tr(e,t,n,r){for(r=r===void 0||r;t<e.length;t++)if(e[t]===`\\`&&t<e.length-1&&e[t+1]!==`
13
+ `)t++;else{if(n.indexOf(e[t])!==-1)return t;if(r&&wr.has(e[t])){var i=wr.get(e[t]);t=Tr(e,t+1,[i.end],i.sa)}}return e.length}function Er(e){function t(){if(0<r.length){for(;r[r.length-1]===` `;)r.pop();n.push({La:r.filter(function(e,t){return t%2==0}),Za:r.filter(function(e,t){return t%2==1})}),r.length=0}}for(var n=[],r=[],i=0;i<e.length;){var a=r[r.length-1],o=Tr(e,i,[`,`,` `,`>`,`+`,`~`]),s=o===i?e[i]:e.substring(i,o);s===`,`?t():([void 0,` `,`>`,`+`,`~`].indexOf(a)===-1||s!==` `)&&(a===` `&&[`>`,`+`,`~`].indexOf(s)!==-1?r[r.length-1]=s:r.push(s)),i=o+ +(o===i)}return t(),n}function Dr(e,t,n){var r=[];return Or(e,t,n,r),r}function Or(e,t,n,r){for(e=e.__shady_firstChild;e;e=e.__shady_nextSibling){var i;if(i=e.nodeType===Node.ELEMENT_NODE){i=e;var a=t,o=n,s=r,c=a(i);c&&s.push(i),o&&o(c)?i=c:(Or(i,a,o,s),i=void 0)}if(i)break}}var kr={get firstElementChild(){var e=k(this);if(e&&e.firstChild!==void 0){for(e=this.__shady_firstChild;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_nextSibling;return e}return this.__shady_native_firstElementChild},get lastElementChild(){var e=k(this);if(e&&e.lastChild!==void 0){for(e=this.__shady_lastChild;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_previousSibling;return e}return this.__shady_native_lastElementChild},get children(){return j(this)?Ft(Array.prototype.filter.call(Lt(this),function(e){return e.nodeType===Node.ELEMENT_NODE})):this.__shady_native_children},get childElementCount(){var e=this.__shady_children;return e?e.length:0}},Ar=P((kr.append=function(e){var t=[...arguments];this.__shady_insertBefore(Ht.apply(null,c(t)),null)},kr.prepend=function(e){var t=[...arguments];this.__shady_insertBefore(Ht.apply(null,c(t)),this.__shady_firstChild)},kr.replaceChildren=function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];for(;(n=this.__shady_firstChild)!==null;)this.__shady_removeChild(n);this.__shady_insertBefore(Ht.apply(null,c(t)),null)},kr));function jr(e,t){function n(t,n){return(t===e||n.indexOf(`:scope`)===-1)&&Ot.call(t,n)}var r=Er(t);if(1>r.length)return[];for(t=Ut(Dr(e,function(){return!0}).map(function(e){return Ut(r.map(function(t){var r=t.La,i=r.length-1;return n(e,r[i])?{target:e,da:t,fa:e,index:i}:[]}))}));t.some(function(e){return 0<e.index});)t=Ut(t.map(function(e){if(0>=e.index)return e;var t=e.target,r=e.fa,i=e.da;e=e.index-1;var a=i.Za[e],o=i.La[e];if(a===` `){for(a=[],r=r.__shady_parentElement;r;r=r.__shady_parentElement)n(r,o)&&a.push({target:t,da:i,fa:r,index:e});return a}if(a===`>`)return r=r.__shady_parentElement,n(r,o)?{target:t,da:i,fa:r,index:e}:[];if(a===`+`)return(r=r.__shady_previousElementSibling)&&n(r,o)?{target:t,da:i,fa:r,index:e}:[];if(a===`~`){for(a=[],r=r.__shady_previousElementSibling;r;r=r.__shady_previousElementSibling)n(r,o)&&a.push({target:t,da:i,fa:r,index:e});return a}throw Error(`Unrecognized combinator: '`+a+`'.`)}));return Wt(t.map(function(e){return e.target}))}var R=A.querySelectorImplementation,Mr=P({querySelector:function(e){if(R===`native`){var t=Array.prototype.slice.call((this instanceof ShadowRoot?this.host:this).__shady_native_querySelectorAll(e)),n=this.__shady_getRootNode();t=s(t);for(var r=t.next();!r.done;r=t.next())if(r=r.value,r.__shady_getRootNode()==n)return r;return null}if(R===`selectorEngine`)return jr(this,e)[0]||null;if(R===void 0)return Dr(this,function(t){return Ot.call(t,e)},function(e){return!!e})[0]||null;throw Error(`Unrecognized value of ShadyDOM.querySelectorImplementation: '`+(R+`'`))},querySelectorAll:function(e,t){if(t||R===`native`){t=Array.prototype.slice.call((this instanceof ShadowRoot?this.host:this).__shady_native_querySelectorAll(e));var n=this.__shady_getRootNode();return Ft(t.filter(function(e){return e.__shady_getRootNode()==n}))}if(R===`selectorEngine`)return Ft(jr(this,e));if(R===void 0)return Ft(Dr(this,function(t){return Ot.call(t,e)}));throw Error(`Unrecognized value of ShadyDOM.querySelectorImplementation: '`+(R+`'`))}}),Nr=A.ha&&!A.J?Bt({},Ar):Ar;Bt(Ar,Mr);var Pr=P({after:function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];if(n=this.__shady_parentNode,n!==null){var r=this.__shady_nextSibling;n.__shady_insertBefore(Ht.apply(null,c(t)),r)}},before:function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];n=this.__shady_parentNode,n!==null&&n.__shady_insertBefore(Ht.apply(null,c(t)),this)},remove:function(){var e=this.__shady_parentNode;e!==null&&e.__shady_removeChild(this)},replaceWith:function(e){for(var t=[],n=0;n<arguments.length;++n)t[n]=arguments[n];if(n=this.__shady_parentNode,n!==null){var r=this.__shady_nextSibling;n.__shady_removeChild(this),n.__shady_insertBefore(Ht.apply(null,c(t)),r)}}}),Fr=window.document;function Ir(e,t){if(t===`slot`)e=e.__shady_parentNode,Et(e)&&V(k(e).root);else if(e.localName===`slot`&&t===`name`&&(t=Ai(e))){if(t.g){xi(t);var n=e.Ua,r=Si(e);if(r!==n){n=t.h[n];var i=n.indexOf(e);0<=i&&n.splice(i,1),n=t.h[r]||(t.h[r]=[]),n.push(e),1<n.length&&(t.h[r]=Ci(n))}}V(t)}}var Lr=P({get previousElementSibling(){var e=k(this);if(e&&e.previousSibling!==void 0){for(e=this.__shady_previousSibling;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_previousSibling;return e}return this.__shady_native_previousElementSibling},get nextElementSibling(){var e=k(this);if(e&&e.nextSibling!==void 0){for(e=this.__shady_nextSibling;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_nextSibling;return e}return this.__shady_native_nextElementSibling},get slot(){return this.getAttribute(`slot`)},set slot(e){this.__shady_setAttribute(`slot`,e)},get className(){return this.getAttribute(`class`)||``},set className(e){this.__shady_setAttribute(`class`,e)},setAttribute:function(e,t){this.ownerDocument===Fr?lr(this,e,t)||(this.__shady_native_setAttribute(e,t),Ir(this,e)):this.__shady_native_setAttribute(e,t)},removeAttribute:function(e){this.ownerDocument===Fr?lr(this,e,``)?this.getAttribute(e)===``&&this.__shady_native_removeAttribute(e):(this.__shady_native_removeAttribute(e),Ir(this,e)):this.__shady_native_removeAttribute(e)},toggleAttribute:function(e,t){if(this.ownerDocument!==Fr)return this.__shady_native_toggleAttribute(e,t);if(!lr(this,e,``))return t=this.__shady_native_toggleAttribute(e,t),Ir(this,e),t;if(this.getAttribute(e)===``&&!t)return this.__shady_native_toggleAttribute(e,t)}});A.ha||er.forEach(function(e){Lr[e]=nr(e)});var Rr=P({attachShadow:function(e){if(!this)throw Error(`Must provide a host.`);if(!e)throw Error(`Not enough arguments.`);if(e.shadyUpgradeFragment&&!A.Ra){var t=e.shadyUpgradeFragment;if(t.__proto__=ShadowRoot.prototype,hi(t,this,e),si(t,t),e=t.__noInsertionPoint?null:t.querySelectorAll(`slot`),t.__noInsertionPoint=void 0,e&&e.length){var n=t;bi(n),n.i.push.apply(n.i,c(e)),V(t)}t.host.__shady_native_appendChild(t)}else t=new mi(ui,this,e);return this.__CE_shadowRoot=t},get shadowRoot(){var e=k(this);return e&&e.lb||null}});Bt(Lr,Rr);var zr=document.implementation.createHTMLDocument(`inert`),Br=P({get innerHTML(){return j(this)?sn(this.localName===`template`?this.content:this,Lt):this.__shady_native_innerHTML},set innerHTML(e){if(this.localName===`template`)this.__shady_native_innerHTML=e;else{vr(this);var t=this.localName||`div`;for(t=this.namespaceURI&&this.namespaceURI!==zr.namespaceURI?zr.createElementNS(this.namespaceURI,t):zr.createElement(t),A.D?t.__shady_native_innerHTML=e:t.innerHTML=e;e=t.__shady_firstChild;)this.__shady_insertBefore(e)}}}),Vr=P({blur:function(){var e=k(this);(e=(e&&=e.root)&&e.activeElement)?e.__shady_blur():this.__shady_native_blur()}});A.ha||tr.forEach(function(e){Vr[e]=nr(e)});var Hr=P({assignedNodes:function(e){if(this.localName===`slot`){var t=this.__shady_getRootNode();return t&&M(t)&&gi(t),(t=k(this))&&(e&&e.flatten?t.aa:t.assignedNodes)||[]}},addEventListener:function(e,t,n){if(this.localName!==`slot`||e===`slotchange`)Gn.call(this,e,t,n);else{typeof n!=`object`&&(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(e,t,n)}},removeEventListener:function(e,t,n){if(this.localName!==`slot`||e===`slotchange`)Kn.call(this,e,t,n);else{typeof n!=`object`&&(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(e,t,n)}}}),Ur=P({getElementById:function(e){return e===``?null:Dr(this,function(t){return t.id==e},function(e){return!!e})[0]||null}});function Wr(e,t){for(var n;t&&!e.has(n=t.__shady_getRootNode());)t=n.host;return t}function Gr(e){var t=/* @__PURE__ */ new Set;for(t.add(e);M(e)&&e.host;)e=e.host.__shady_getRootNode(),t.add(e);return t}var Kr=`__shady_native_`+Tt(),qr=P({get activeElement(){var e=A.D?document.__shady_native_activeElement:document.activeElement;if(!e||!e.nodeType)return null;var t=!!M(this);if(!(this===document||t&&this.host!==e&&this.host.__shady_native_contains(e)))return null;for(t=Ai(e);t&&t!==this;)e=t.host,t=Ai(e);return this===document?t?null:e:t===this?e:null},elementsFromPoint:function(e,t){if(e=document[Kr](e,t),this===document&&A.useNativeDocumentEFP)return e;e=[].slice.call(e),t=Gr(this);for(var n=/* @__PURE__ */ new Set,r=0;r<e.length;r++)n.add(Wr(t,e[r]));var i=[];return n.forEach(function(e){return i.push(e)}),i},elementFromPoint:function(e,t){return this===document&&A.useNativeDocumentEFP?this.__shady_native_elementFromPoint(e,t):this.__shady_elementsFromPoint(e,t)[0]||null}}),Jr=window.document,Yr=P({importNode:function(e,t){if(e.ownerDocument!==Jr||e.localName===`template`)return this.__shady_native_importNode(e,t);var n=this.__shady_native_importNode(e,!1);if(t)for(e=e.__shady_firstChild;e;e=e.__shady_nextSibling)t=this.__shady_importNode(e,!0),n.__shady_appendChild(t);return n}}),Xr=P({dispatchEvent:Wn,addEventListener:Gn.bind(window),removeEventListener:Kn.bind(window)}),Zr={};Object.getOwnPropertyDescriptor(HTMLElement.prototype,`parentElement`)&&(Zr.parentElement=Sr.parentElement),Object.getOwnPropertyDescriptor(HTMLElement.prototype,`contains`)&&(Zr.contains=Sr.contains),Object.getOwnPropertyDescriptor(HTMLElement.prototype,`children`)&&(Zr.children=Ar.children),Object.getOwnPropertyDescriptor(HTMLElement.prototype,`innerHTML`)&&(Zr.innerHTML=Br.innerHTML),Object.getOwnPropertyDescriptor(HTMLElement.prototype,`className`)&&(Zr.className=Lr.className);var z={EventTarget:[or],Node:[Sr,window.EventTarget?null:or],Text:[Cr],Comment:[Cr],CDATASection:[Cr],ProcessingInstruction:[Cr],Element:[Lr,Ar,Pr,Cr,!A.D||`innerHTML`in Element.prototype?Br:null,window.HTMLSlotElement?null:Hr],HTMLElement:[Vr,Zr],HTMLSlotElement:[Hr],DocumentFragment:[Nr,Ur],Document:[Yr,Nr,Ur,qr],Window:[Xr],CharacterData:[Pr],XMLHttpRequest:[window.EventTarget?null:or]},Qr=A.D?null:[`innerHTML`,`textContent`];function B(e,t,n,r){t.forEach(function(t){return e&&t&&N(e,t,n,r)})}function $r(e){var t=e?null:Qr,n;for(n in z)B(window[n]&&window[n].prototype,z[n],e,t)}[`Text`,`Comment`,`CDATASection`,`ProcessingInstruction`].forEach(function(e){var t=window[e],n=Object.create(t.prototype);n.__shady_protoIsPatched=!0,B(n,z.EventTarget),B(n,z.Node),z[e]&&B(n,z[e]),t.prototype.__shady_patchedProto=n});function ei(e){return e.__shady_protoIsPatched=!0,B(e,z.EventTarget),B(e,z.Node),B(e,z.Element),B(e,z.HTMLElement),B(e,z.HTMLSlotElement),e}var ti=A.Da,ni=A.D;function ri(e,t){if(ti&&!e.__shady_protoIsPatched&&!M(e)){var n=Object.getPrototypeOf(e),r=n.hasOwnProperty(`__shady_patchedProto`)&&n.__shady_patchedProto;r||(r=Object.create(n),ei(r),n.__shady_patchedProto=r),Object.setPrototypeOf(e,r)}ni||(t===1?Cn(e):t===2&&wn(e))}function ii(e,t,n,r){ri(e,1),r||=null;var i=O(e),a=r?O(r):null;i.previousSibling=r?a.previousSibling:t.__shady_lastChild,(a=k(i.previousSibling))&&(a.nextSibling=e),(a=k(i.nextSibling=r))&&(a.previousSibling=e),i.parentNode=t,r?r===n.firstChild&&(n.firstChild=e):(n.lastChild=e,n.firstChild||=e),n.childNodes=null}function ai(e,t,n){ri(t,2);var r=O(t);if(r.firstChild!==void 0&&(r.childNodes=null),e.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(e=e.__shady_native_firstChild;e;e=e.__shady_native_nextSibling)ii(e,t,r,n);else ii(e,t,r,n)}function oi(e,t){var n=O(e);t=O(t),e===t.firstChild&&(t.firstChild=n.nextSibling),e===t.lastChild&&(t.lastChild=n.previousSibling),e=n.previousSibling;var r=n.nextSibling;e&&(O(e).nextSibling=r),r&&(O(r).previousSibling=e),n.parentNode=n.previousSibling=n.nextSibling=void 0,t.childNodes!==void 0&&(t.childNodes=null)}function si(e,t){var n=O(e);if(t||n.firstChild===void 0){n.childNodes=null;var r=n.firstChild=e.__shady_native_firstChild;for(n.lastChild=e.__shady_native_lastChild,ri(e,2),n=r,r=void 0;n;n=n.__shady_native_nextSibling){var i=O(n);i.parentNode=t||e,i.nextSibling=n.__shady_native_nextSibling,i.previousSibling=r||null,r=n,ri(n,1)}}}var ci=P({addEventListener:function(e,t,n){typeof n!=`object`&&(n={capture:!!n}),n.U=n.U||this,this.host.__shady_addEventListener(e,t,n)},removeEventListener:function(e,t,n){typeof n!=`object`&&(n={capture:!!n}),n.U=n.U||this,this.host.__shady_removeEventListener(e,t,n)}});function li(e,t){N(e,ci,t),N(e,qr,t),N(e,Br,t),N(e,Ar,t),A.J&&!t?(N(e,Sr,t),N(e,Ur,t)):A.D||(N(e,bn),N(e,vn),N(e,yn))}var ui={},di=A.deferConnectionCallbacks&&document.readyState===`loading`,fi;function pi(e){var t=[];do t.unshift(e);while(e=e.__shady_parentNode);return t}function mi(e,t,n){if(e!==ui)throw TypeError(`Illegal constructor`);this.g=null,hi(this,t,n)}function hi(e,t,n){if(e.host=t,e.mode=n&&n.mode,si(e.host),t=O(e.host),t.root=e,t.lb=e.mode===`closed`?null:e,t=O(e),t.firstChild=t.lastChild=t.parentNode=t.nextSibling=t.previousSibling=null,A.preferPerformance)for(;t=e.host.__shady_native_firstChild;)e.host.__shady_native_removeChild(t);else V(e)}function V(e){e.Y||(e.Y=!0,qt(function(){return gi(e)}))}function gi(e){var t;if(t=e.Y){for(var n;e;)a:{if(e.Y&&(n=e),t=e,e=t.host.__shady_getRootNode(),M(e)&&(t=k(t.host))&&0<t.ka)break a;e=void 0}t=n}(n=t)&&n._renderSelf()}mi.prototype._renderSelf=function(){var e=di;if(di=!0,this.Y=!1,this.g){xi(this);for(var t=0,n;t<this.g.length;t++){n=this.g[t];var r=k(n),i=r.assignedNodes;if(r.assignedNodes=[],r.aa=[],r.Ja=i)for(r=0;r<i.length;r++){var a=k(i[r]);a.xa=a.assignedSlot,a.assignedSlot===n&&(a.assignedSlot=null)}}for(t=this.host.__shady_firstChild;t;t=t.__shady_nextSibling)_i(this,t);for(t=0;t<this.g.length;t++){if(n=this.g[t],i=k(n),!i.assignedNodes.length)for(r=n.__shady_firstChild;r;r=r.__shady_nextSibling)_i(this,r,n);if((r=(r=k(n.__shady_parentNode))&&r.root)&&(Ti(r)||r.Y)&&r._renderSelf(),vi(this,i.aa,i.assignedNodes),r=i.Ja){for(a=0;a<r.length;a++)k(r[a]).xa=null;i.Ja=null,r.length>i.assignedNodes.length&&(i.Aa=!0)}i.Aa&&(i.Aa=!1,yi(this,n))}for(n=this.g,t=[],i=0;i<n.length;i++)r=n[i].__shady_parentNode,(a=k(r))&&a.root||!(0>t.indexOf(r))||t.push(r);for(n=0;n<t.length;n++){for(a=t[n],i=a===this?this.host:a,r=[],a=a.__shady_firstChild;a;a=a.__shady_nextSibling)if(a.localName==`slot`)for(var o=k(a).aa,s=0;s<o.length;s++)r.push(o[s]);else r.push(a);a=It(i),o=ir(r,r.length,a,a.length);for(var c=s=0,l=void 0;s<o.length&&(l=o[s]);s++){for(var u=0,d=void 0;u<l.ia.length&&(d=l.ia[u]);u++)d.__shady_native_parentNode===i&&i.__shady_native_removeChild(d),a.splice(l.index+c,1);c-=l.pa}for(c=0,l=void 0;c<o.length&&(l=o[c]);c++)for(s=a[l.index],u=l.index;u<l.index+l.pa;u++)d=r[u],i.__shady_native_insertBefore(d,s),a.splice(u,0,d)}}if(!A.preferPerformance&&!this.Ia)for(t=this.host.__shady_firstChild;t;t=t.__shady_nextSibling)n=k(t),t.__shady_native_parentNode!==this.host||t.localName!==`slot`&&n.assignedSlot||this.host.__shady_native_removeChild(t);this.Ia=!0,di=e,fi&&fi()};function _i(e,t,n){var r=O(t),i=r.xa;r.xa=null,n||=(e=e.h[t.__shady_slot||`__catchall`])&&e[0],n?(O(n).assignedNodes.push(t),r.assignedSlot=n):r.assignedSlot=void 0,i!==r.assignedSlot&&r.assignedSlot&&(O(r.assignedSlot).Aa=!0)}function vi(e,t,n){for(var r=0,i=void 0;r<n.length&&(i=n[r]);r++)if(i.localName==`slot`){var a=k(i).assignedNodes;a&&a.length&&vi(e,t,a)}else t.push(n[r])}function yi(e,t){t.__shady_native_dispatchEvent(new Event(`slotchange`)),t=k(t),t.assignedSlot&&yi(e,t.assignedSlot)}function bi(e){e.i=e.i||[],e.g=e.g||[],e.h=e.h||{}}function xi(e){if(e.i&&e.i.length){for(var t=e.i,n,r=0;r<t.length;r++){var i=t[r];si(i);var a=i.__shady_parentNode;si(a),a=k(a),a.ka=(a.ka||0)+1,a=Si(i),e.h[a]?(n||={},n[a]=!0,e.h[a].push(i)):e.h[a]=[i],e.g.push(i)}if(n)for(var o in n)e.h[o]=Ci(e.h[o]);e.i=[]}}function Si(e){return e.Ua=e.name||e.getAttribute(`name`)||`__catchall`}function Ci(e){return e.sort(function(e,t){e=pi(e);for(var n=pi(t),r=0;r<e.length;r++){t=e[r];var i=n[r];if(t!==i)return e=Lt(t.__shady_parentNode),e.indexOf(t)-e.indexOf(i)}})}function wi(e,t){if(e.g){xi(e);var n=e.h,r;for(r in n)for(var i=n[r],a=0;a<i.length;a++){var o=i[a];if(Pt(t,o)){i.splice(a,1);var s=e.g.indexOf(o);if(0<=s&&(e.g.splice(s,1),(s=k(o.__shady_parentNode))&&s.ka&&s.ka--),a--,o=k(o),s=o.aa)for(var c=0;c<s.length;c++){var l=s[c],u=l.__shady_native_parentNode;u&&u.__shady_native_removeChild(l)}o.aa=[],o.assignedNodes=[],s=!0}}return s}}function Ti(e){return xi(e),!(!e.g||!e.g.length)}if((function(e){e.__proto__=DocumentFragment.prototype,li(e,`__shady_`),li(e),Object.defineProperties(e,{nodeType:{value:Node.DOCUMENT_FRAGMENT_NODE,configurable:!0},nodeName:{value:`#document-fragment`,configurable:!0},nodeValue:{value:null,configurable:!0}}),[`localName`,`namespaceURI`,`prefix`].forEach(function(t){Object.defineProperty(e,t,{value:void 0,configurable:!0})}),[`ownerDocument`,`baseURI`,`isConnected`].forEach(function(t){Object.defineProperty(e,t,{get:function(){return this.host[t]},configurable:!0})})})(mi.prototype),window.customElements&&window.customElements.define&&A.Ba&&!A.preferPerformance){var Ei=/* @__PURE__ */ new Map;fi=function(){var e=[];Ei.forEach(function(t,n){e.push([n,t])}),Ei.clear();for(var t=0;t<e.length;t++){var n=e[t][0];e[t][1]?n.__shadydom_connectedCallback():n.__shadydom_disconnectedCallback()}},di&&document.addEventListener(`readystatechange`,function(){di=!1,fi()},{once:!0});var Di=function(e,t,n){var r=0,i=`__isConnected`+r++;return(t||n)&&(e.prototype.connectedCallback=e.prototype.__shadydom_connectedCallback=function(){di?Ei.set(this,!0):this[i]||(this[i]=!0,t&&t.call(this))},e.prototype.disconnectedCallback=e.prototype.__shadydom_disconnectedCallback=function(){di?this.isConnected||Ei.set(this,!1):this[i]&&(this[i]=!1,n&&n.call(this))}),e},Oi=window.customElements.define,ki=function(e,t){var n=t.prototype.connectedCallback,r=t.prototype.disconnectedCallback;Oi.call(window.customElements,e,Di(t,n,r)),t.prototype.connectedCallback=n,t.prototype.disconnectedCallback=r};window.customElements.define=ki,Object.defineProperty(window.CustomElementRegistry.prototype,"define",{value:ki,configurable:!0})}function Ai(e){if(e=e.__shady_getRootNode(),M(e))return e}function ji(e){this.node=e}e=ji.prototype,e.addEventListener=function(e,t,n){return this.node.__shady_addEventListener(e,t,n)},e.removeEventListener=function(e,t,n){return this.node.__shady_removeEventListener(e,t,n)},e.appendChild=function(e){return this.node.__shady_appendChild(e)},e.insertBefore=function(e,t){return this.node.__shady_insertBefore(e,t)},e.removeChild=function(e){return this.node.__shady_removeChild(e)},e.replaceChild=function(e,t){return this.node.__shady_replaceChild(e,t)},e.cloneNode=function(e){return this.node.__shady_cloneNode(e)},e.getRootNode=function(e){return this.node.__shady_getRootNode(e)},e.contains=function(e){return this.node.__shady_contains(e)},e.dispatchEvent=function(e){return this.node.__shady_dispatchEvent(e)},e.setAttribute=function(e,t){this.node.__shady_setAttribute(e,t)},e.getAttribute=function(e){return this.node.__shady_native_getAttribute(e)},e.hasAttribute=function(e){return this.node.__shady_native_hasAttribute(e)},e.removeAttribute=function(e){this.node.__shady_removeAttribute(e)},e.toggleAttribute=function(e,t){return this.node.__shady_toggleAttribute(e,t)},e.attachShadow=function(e){return this.node.__shady_attachShadow(e)},e.focus=function(){this.node.__shady_native_focus()},e.blur=function(){this.node.__shady_blur()},e.importNode=function(e,t){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_importNode(e,t)},e.getElementById=function(e){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_getElementById(e)},e.elementsFromPoint=function(e,t){return this.node.__shady_elementsFromPoint(e,t)},e.elementFromPoint=function(e,t){return this.node.__shady_elementFromPoint(e,t)},e.querySelector=function(e){return this.node.__shady_querySelector(e)},e.querySelectorAll=function(e,t){return this.node.__shady_querySelectorAll(e,t)},e.assignedNodes=function(e){if(this.node.localName===`slot`)return this.node.__shady_assignedNodes(e)},e.append=function(e){var t=[...arguments];return this.node.__shady_append.apply(this.node,c(t))},e.prepend=function(e){var t=[...arguments];return this.node.__shady_prepend.apply(this.node,c(t))},e.after=function(e){var t=[...arguments];return this.node.__shady_after.apply(this.node,c(t))},e.before=function(e){var t=[...arguments];return this.node.__shady_before.apply(this.node,c(t))},e.remove=function(){return this.node.__shady_remove()},e.replaceWith=function(e){var t=[...arguments];return this.node.__shady_replaceWith.apply(this.node,c(t))},i.Object.defineProperties(ji.prototype,{activeElement:{configurable:!0,enumerable:!0,get:function(){if(M(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(M(this.node))return this.node.host}},parentNode:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_parentNode}},firstChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_firstChild}},lastChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastChild}},nextSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextSibling}},previousSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousSibling}},childNodes:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_childNodes}},parentElement:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_parentElement}},firstElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_firstElementChild}},lastElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastElementChild}},nextElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextElementSibling}},previousElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousElementSibling}},children:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_children}},childElementCount:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_childElementCount}},shadowRoot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_shadowRoot}},assignedSlot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_assignedSlot}},isConnected:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_isConnected}},innerHTML:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_innerHTML},set:function(e){this.node.__shady_innerHTML=e}},textContent:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_textContent},set:function(e){this.node.__shady_textContent=e}},slot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_slot},set:function(e){this.node.__shady_slot=e}},className:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_className},set:function(e){this.node.__shady_className=e}}});function Mi(e){Object.defineProperty(ji.prototype,e,{get:function(){return this.node[`__shady_`+e]},set:function(t){this.node[`__shady_`+e]=t},configurable:!0})}er.forEach(function(e){return Mi(e)}),tr.forEach(function(e){return Mi(e)});var Ni=/* @__PURE__ */ new WeakMap;function Pi(e){if(M(e)||e instanceof ji)return e;var t=Ni.get(e);return t||(t=new ji(e),Ni.set(e,t)),t}if(A.Ba){var Fi=A.D?function(e){return e}:function(e){return wn(e),Cn(e),e},Ii={inUse:A.Ba,patch:Fi,isShadyRoot:M,enqueue:qt,flush:Jt,flushInitial:function(e){!e.Ia&&e.Y&&gi(e)},settings:A,filterMutations:$t,observeChildren:Zt,unobserveChildren:Qt,deferConnectionCallbacks:A.deferConnectionCallbacks,preferPerformance:A.preferPerformance,handlesDynamicScoping:!0,wrap:A.J?Pi:Fi,wrapIfNeeded:!0===A.J?Pi:function(e){return e},Wrapper:ji,composedPath:Nn,noPatch:A.J,patchOnDemand:A.Da,nativeMethods:ln,nativeTree:un,patchElementProto:ei,querySelectorImplementation:A.querySelectorImplementation};window.ShadyDOM=Ii,_n(),$r(`__shady_`),Object.defineProperty(document,"_activeElement",qr.activeElement),N(Window.prototype,Xr,`__shady_`),A.J?A.Da&&N(Element.prototype,Rr):($r(),$n()),qn(),window.Event=Xn,window.CustomEvent=Zn,window.MouseEvent=Qn,window.ShadowRoot=mi}var Li=window.Document.prototype.createElement,Ri=window.Document.prototype.createElementNS,zi=window.Document.prototype.importNode,Bi=window.Document.prototype.prepend,Vi=window.Document.prototype.append,Hi=window.DocumentFragment.prototype.prepend,Ui=window.DocumentFragment.prototype.append,Wi=window.Node.prototype.cloneNode,Gi=window.Node.prototype.appendChild,Ki=window.Node.prototype.insertBefore,qi=window.Node.prototype.removeChild,Ji=window.Node.prototype.replaceChild,Yi=Object.getOwnPropertyDescriptor(window.Node.prototype,`textContent`),Xi=window.Element.prototype.attachShadow,Zi=Object.getOwnPropertyDescriptor(window.Element.prototype,`innerHTML`),Qi=window.Element.prototype.getAttribute,$i=window.Element.prototype.setAttribute,ea=window.Element.prototype.removeAttribute,ta=window.Element.prototype.toggleAttribute,na=window.Element.prototype.getAttributeNS,ra=window.Element.prototype.setAttributeNS,ia=window.Element.prototype.removeAttributeNS,aa=window.Element.prototype.insertAdjacentElement,oa=window.Element.prototype.insertAdjacentHTML,sa=window.Element.prototype.prepend,ca=window.Element.prototype.append,la=window.Element.prototype.before,ua=window.Element.prototype.after,da=window.Element.prototype.replaceWith,fa=window.Element.prototype.remove,pa=window.HTMLElement,ma=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,`innerHTML`),ha=window.HTMLElement.prototype.insertAdjacentElement,ga=window.HTMLElement.prototype.insertAdjacentHTML,_a=/* @__PURE__ */ 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(e){return _a.add(e)});function va(e){var t=_a.has(e);return e=/^[a-z][.0-9_a-z]*-[-.0-9_a-z]*$/.test(e),!t&&e}var ya=document.contains?document.contains.bind(document):document.documentElement.contains.bind(document.documentElement);function H(e){var t=e.isConnected;if(t!==void 0)return t;if(ya(e))return!0;for(;e&&!(e.__CE_isImportDocument||e instanceof Document);)e=e.parentNode||(window.ShadowRoot&&e instanceof ShadowRoot?e.host:void 0);return!(!e||!(e.__CE_isImportDocument||e instanceof Document))}function ba(e){var t=e.children;if(t)return Array.prototype.slice.call(t);for(t=[],e=e.firstChild;e;e=e.nextSibling)e.nodeType===Node.ELEMENT_NODE&&t.push(e);return t}function xa(e,t){for(;t&&t!==e&&!t.nextSibling;)t=t.parentNode;return t&&t!==e?t.nextSibling:null}function Sa(e,t,n){for(var r=e;r;){if(r.nodeType===Node.ELEMENT_NODE){var i=r;t(i);var a=i.localName;if(a===`link`&&i.getAttribute(`rel`)===`import`){if(r=i.import,n===void 0&&(n=/* @__PURE__ */ new Set),r instanceof Node&&!n.has(r))for(n.add(r),r=r.firstChild;r;r=r.nextSibling)Sa(r,t,n);r=xa(e,i);continue}if(a===`template`){r=xa(e,i);continue}if(i=i.__CE_shadowRoot)for(i=i.firstChild;i;i=i.nextSibling)Sa(i,t,n)}r=r.firstChild?r.firstChild:xa(e,r)}}function Ca(){var e=!(q==null||!q.noDocumentConstructionObserver),t=!(q==null||!q.shadyDomFastWalk);this.ca=[],this.g=[],this.W=!1,this.shadyDomFastWalk=t,this.sb=!e}function wa(e,t,n,r){var i=window.ShadyDOM;if(e.shadyDomFastWalk&&i&&i.inUse){if(t.nodeType===Node.ELEMENT_NODE&&n(t),t.querySelectorAll)for(e=i.nativeMethods.querySelectorAll.call(t,`*`),t=0;t<e.length;t++)n(e[t])}else Sa(t,n,r)}function Ta(e,t){e.W=!0,e.ca.push(t)}function Ea(e,t){e.W=!0,e.g.push(t)}function Da(e,t){e.W&&wa(e,t,function(t){return Oa(e,t)})}function Oa(e,t){if(e.W&&!t.__CE_patched){t.__CE_patched=!0;for(var n=0;n<e.ca.length;n++)e.ca[n](t);for(n=0;n<e.g.length;n++)e.g[n](t)}}function U(e,t){var n=[];for(wa(e,t,function(e){return n.push(e)}),t=0;t<n.length;t++){var r=n[t];r.__CE_state===1?e.connectedCallback(r):ka(e,r)}}function W(e,t){var n=[];for(wa(e,t,function(e){return n.push(e)}),t=0;t<n.length;t++){var r=n[t];r.__CE_state===1&&e.disconnectedCallback(r)}}function G(e,t,n){n=n===void 0?{}:n;var r=n.tb,i=n.upgrade||function(t){return ka(e,t)},a=[];for(wa(e,t,function(t){if(e.W&&Oa(e,t),t.localName===`link`&&t.getAttribute(`rel`)===`import`){var n=t.import;n instanceof Node&&(n.__CE_isImportDocument=!0,n.__CE_registry=document.__CE_registry),n&&n.readyState===`complete`?n.__CE_documentLoadHandled=!0:t.addEventListener(`load`,function(){var n=t.import;if(!n.__CE_documentLoadHandled){n.__CE_documentLoadHandled=!0;var a=/* @__PURE__ */ new Set;r&&(r.forEach(function(e){return a.add(e)}),a.delete(n)),G(e,n,{tb:a,upgrade:i})}})}else a.push(t)},r),t=0;t<a.length;t++)i(a[t])}function ka(e,t){try{var n=t.ownerDocument,r=n.__CE_registry,i=r&&(n.defaultView||n.__CE_isImportDocument)?Ra(r,t.localName):void 0;if(i&&t.__CE_state===void 0){i.constructionStack.push(t);try{try{if(new i.constructorFunction!==t)throw Error(`The custom element constructor did not produce the element being upgraded.`)}finally{i.constructionStack.pop()}}catch(e){throw t.__CE_state=2,e}if(t.__CE_state=1,t.__CE_definition=i,i.attributeChangedCallback&&t.hasAttributes()){var a=i.observedAttributes;for(i=0;i<a.length;i++){var o=a[i],s=t.getAttribute(o);s!==null&&e.attributeChangedCallback(t,o,null,s,null)}}H(t)&&e.connectedCallback(t)}}catch(e){ja(e)}}Ca.prototype.connectedCallback=function(e){var t=e.__CE_definition;if(t.connectedCallback)try{t.connectedCallback.call(e)}catch(e){ja(e)}},Ca.prototype.disconnectedCallback=function(e){var t=e.__CE_definition;if(t.disconnectedCallback)try{t.disconnectedCallback.call(e)}catch(e){ja(e)}},Ca.prototype.attributeChangedCallback=function(e,t,n,r,i){var a=e.__CE_definition;if(a.attributeChangedCallback&&-1<a.observedAttributes.indexOf(t))try{a.attributeChangedCallback.call(e,t,n,r,i)}catch(e){ja(e)}};function Aa(e,t,n,r){var i=t.__CE_registry;if(i&&(r===null||r===`http://www.w3.org/1999/xhtml`)&&(i=Ra(i,n)))try{var a=new i.constructorFunction;if(a.__CE_state===void 0||a.__CE_definition===void 0)throw Error(`Failed to construct '`+n+`': The returned value was not constructed with the HTMLElement constructor.`);if(a.namespaceURI!==`http://www.w3.org/1999/xhtml`)throw Error(`Failed to construct '`+n+`': The constructed element's namespace must be the HTML namespace.`);if(a.hasAttributes())throw Error(`Failed to construct '`+n+`': The constructed element must not have any attributes.`);if(a.firstChild!==null)throw Error(`Failed to construct '`+n+`': The constructed element must not have any children.`);if(a.parentNode!==null)throw Error(`Failed to construct '`+n+`': The constructed element must not have a parent node.`);if(a.ownerDocument!==t)throw Error(`Failed to construct '`+n+`': The constructed element's owner document is incorrect.`);if(a.localName!==n)throw Error(`Failed to construct '`+n+`': The constructed element's local name is incorrect.`);return a}catch(i){return ja(i),t=r===null?Li.call(t,n):Ri.call(t,r,n),Object.setPrototypeOf(t,HTMLUnknownElement.prototype),t.__CE_state=2,t.__CE_definition=void 0,Oa(e,t),t}return t=r===null?Li.call(t,n):Ri.call(t,r,n),Oa(e,t),t}function ja(e){var t=``,n=``,r=0,i=0;e instanceof Error?(t=e.message,n=e.sourceURL||e.fileName||``,r=e.line||e.lineNumber||0,i=e.column||e.columnNumber||0):t=`Uncaught `+String(e);var a=void 0;ErrorEvent.prototype.initErrorEvent===void 0?a=new ErrorEvent(`error`,{cancelable:!0,message:t,filename:n,lineno:r,colno:i,error:e}):(a=document.createEvent(`ErrorEvent`),a.initErrorEvent(`error`,!1,!0,t,n,r),a.preventDefault=function(){Object.defineProperty(this,"defaultPrevented",{configurable:!0,get:function(){return!0}})}),a.error===void 0&&Object.defineProperty(a,"error",{configurable:!0,enumerable:!0,get:function(){return e}}),window.dispatchEvent(a),a.defaultPrevented||console.error(e)}function Ma(){var e=this;this.I=void 0,this.Ka=new Promise(function(t){e.g=t})}Ma.prototype.resolve=function(e){if(this.I)throw Error(`Already resolved.`);this.I=e,this.g(e)};function Na(e){var t=document;this.X=void 0,this.S=e,this.g=t,G(this.S,this.g),this.g.readyState===`loading`&&(this.X=new MutationObserver(this.h.bind(this)),this.X.observe(this.g,{childList:!0,subtree:!0}))}function Pa(e){e.X&&e.X.disconnect()}Na.prototype.h=function(e){var t=this.g.readyState;for(t!==`interactive`&&t!==`complete`||Pa(this),t=0;t<e.length;t++)for(var n=e[t].addedNodes,r=0;r<n.length;r++)G(this.S,n[r])};function K(e){this.ma=/* @__PURE__ */ new Map,this.na=/* @__PURE__ */ new Map,this.Fa=/* @__PURE__ */ new Map,this.wa=!1,this.za=/* @__PURE__ */ new Map,this.la=function(e){return e()},this.V=!1,this.oa=[],this.S=e,this.Ga=e.sb?new Na(e):void 0}e=K.prototype,e.jb=function(e,t){var n=this;if(!(t instanceof Function))throw TypeError(`Custom element constructor getters must be functions.`);Fa(this,e),this.ma.set(e,t),this.oa.push(e),this.V||(this.V=!0,this.la(function(){return La(n)}))},e.define=function(e,t){var n=this;if(!(t instanceof Function))throw TypeError(`Custom element constructors must be functions.`);Fa(this,e),Ia(this,e,t),this.oa.push(e),this.V||(this.V=!0,this.la(function(){return La(n)}))};function Fa(e,t){if(!va(t))throw SyntaxError(`The element name '`+t+`' is not valid.`);if(Ra(e,t))throw Error(`A custom element with name '`+(t+`' has already been defined.`));if(e.wa)throw Error(`A custom element is already being defined.`)}function Ia(e,t,n){e.wa=!0;var r;try{var i=n.prototype;if(!(i instanceof Object))throw TypeError(`The custom element constructor's prototype is not an object.`);var a=function(e){var t=i[e];if(t!==void 0&&!(t instanceof Function))throw Error(`The '`+e+`' callback must be a function.`);return t},o=a(`connectedCallback`),s=a(`disconnectedCallback`),c=a(`adoptedCallback`),l=(r=a(`attributeChangedCallback`))&&n.observedAttributes||[]}catch(e){throw e}finally{e.wa=!1}return n={localName:t,constructorFunction:n,connectedCallback:o,disconnectedCallback:s,adoptedCallback:c,attributeChangedCallback:r,observedAttributes:l,constructionStack:[]},e.na.set(t,n),e.Fa.set(n.constructorFunction,n),n}e.upgrade=function(e){G(this.S,e)};function La(e){if(!1!==e.V){e.V=!1;for(var t=[],n=e.oa,r=/* @__PURE__ */ new Map,i=0;i<n.length;i++)r.set(n[i],[]);for(G(e.S,document,{upgrade:function(n){if(n.__CE_state===void 0){var i=n.localName,a=r.get(i);a?a.push(n):e.na.has(i)&&t.push(n)}}}),i=0;i<t.length;i++)ka(e.S,t[i]);for(i=0;i<n.length;i++){for(var a=n[i],o=r.get(a),s=0;s<o.length;s++)ka(e.S,o[s]);(a=e.za.get(a))&&a.resolve(void 0)}n.length=0}}e.get=function(e){if(e=Ra(this,e))return e.constructorFunction},e.whenDefined=function(e){if(!va(e))return Promise.reject(/* @__PURE__ */ SyntaxError(`'`+e+`' is not a valid custom element name.`));var t=this.za.get(e);if(t)return t.Ka;t=new Ma,this.za.set(e,t);var n=this.na.has(e)||this.ma.has(e);return e=this.oa.indexOf(e)===-1,n&&e&&t.resolve(void 0),t.Ka},e.polyfillWrapFlushCallback=function(e){this.Ga&&Pa(this.Ga);var t=this.la;this.la=function(n){return e(function(){return t(n)})}};function Ra(e,t){var n=e.na.get(t);if(n)return n;if(n=e.ma.get(t)){e.ma.delete(t);try{return Ia(e,t,n())}catch(e){ja(e)}}}K.prototype.define=K.prototype.define,K.prototype.upgrade=K.prototype.upgrade,K.prototype.get=K.prototype.get,K.prototype.whenDefined=K.prototype.whenDefined,K.prototype.polyfillDefineLazy=K.prototype.jb,K.prototype.polyfillWrapFlushCallback=K.prototype.polyfillWrapFlushCallback;function za(e,t,n){function r(t){return function(n){for(var r=[],i=0;i<arguments.length;++i)r[i]=arguments[i];i=[];for(var a=[],o=0;o<r.length;o++){var s=r[o];if(s instanceof Element&&H(s)&&a.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)i.push(s);else i.push(s)}for(t.apply(this,r),r=0;r<a.length;r++)W(e,a[r]);if(H(this))for(r=0;r<i.length;r++)a=i[r],a instanceof Element&&U(e,a)}}n.prepend!==void 0&&(t.prepend=r(n.prepend)),n.append!==void 0&&(t.append=r(n.append))}function Ba(e){Document.prototype.createElement=function(t){return Aa(e,this,t,null)},Document.prototype.importNode=function(t,n){return t=zi.call(this,t,!!n),this.__CE_registry?G(e,t):Da(e,t),t},Document.prototype.createElementNS=function(t,n){return Aa(e,this,n,t)},za(e,Document.prototype,{prepend:Bi,append:Vi})}function Va(e){function t(t){return function(n){for(var r=[],i=0;i<arguments.length;++i)r[i]=arguments[i];i=[];for(var a=[],o=0;o<r.length;o++){var s=r[o];if(s instanceof Element&&H(s)&&a.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)i.push(s);else i.push(s)}for(t.apply(this,r),r=0;r<a.length;r++)W(e,a[r]);if(H(this))for(r=0;r<i.length;r++)a=i[r],a instanceof Element&&U(e,a)}}var n=Element.prototype;la!==void 0&&(n.before=t(la)),ua!==void 0&&(n.after=t(ua)),da!==void 0&&(n.replaceWith=function(t){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];r=[];for(var i=[],a=0;a<n.length;a++){var o=n[a];if(o instanceof Element&&H(o)&&i.push(o),o instanceof DocumentFragment)for(o=o.firstChild;o;o=o.nextSibling)r.push(o);else r.push(o)}for(a=H(this),da.apply(this,n),n=0;n<i.length;n++)W(e,i[n]);if(a)for(W(e,this),n=0;n<r.length;n++)i=r[n],i instanceof Element&&U(e,i)}),fa!==void 0&&(n.remove=function(){var t=H(this);fa.call(this),t&&W(e,this)})}function Ha(e){function t(t,n){Object.defineProperty(t,"innerHTML",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(t){var r=this,i=void 0;if(H(this)&&(i=[],wa(e,this,function(e){e!==r&&i.push(e)})),n.set.call(this,t),i)for(var a=0;a<i.length;a++){var o=i[a];o.__CE_state===1&&e.disconnectedCallback(o)}return this.ownerDocument.__CE_registry?G(e,this):Da(e,this),t}})}function n(t,n){t.insertAdjacentElement=function(t,r){var i=H(r);return t=n.call(this,t,r),i&&W(e,r),H(t)&&U(e,r),t}}function r(t,n){function r(t,n){for(var r=[];t!==n;t=t.nextSibling)r.push(t);for(n=0;n<r.length;n++)G(e,r[n])}t.insertAdjacentHTML=function(e,t){if(e=e.toLowerCase(),e===`beforebegin`){var i=this.previousSibling;n.call(this,e,t),r(i||this.parentNode.firstChild,this)}else if(e===`afterbegin`)i=this.firstChild,n.call(this,e,t),r(this.firstChild,i);else if(e===`beforeend`)i=this.lastChild,n.call(this,e,t),r(i||this.firstChild,null);else if(e===`afterend`)i=this.nextSibling,n.call(this,e,t),r(this.nextSibling,i);else throw SyntaxError(`The value provided (`+String(e)+`) is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.`)}}Xi&&(Element.prototype.attachShadow=function(t){if(t=Xi.call(this,t),e.W&&!t.__CE_patched){t.__CE_patched=!0;for(var n=0;n<e.ca.length;n++)e.ca[n](t)}return this.__CE_shadowRoot=t}),Zi&&Zi.get?t(Element.prototype,Zi):ma&&ma.get?t(HTMLElement.prototype,ma):Ea(e,function(e){t(e,{enumerable:!0,configurable:!0,get:function(){return Wi.call(this,!0).innerHTML},set:function(e){var t=this.localName===`template`,n=t?this.content:this,r=Ri.call(document,this.namespaceURI,this.localName);for(r.innerHTML=e;0<n.childNodes.length;)qi.call(n,n.childNodes[0]);for(e=t?r.content:r;0<e.childNodes.length;)Gi.call(n,e.childNodes[0])}})}),Element.prototype.setAttribute=function(t,n){if(this.__CE_state!==1)return $i.call(this,t,n);var r=Qi.call(this,t);$i.call(this,t,n),n=Qi.call(this,t),e.attributeChangedCallback(this,t,r,n,null)},Element.prototype.setAttributeNS=function(t,n,r){if(this.__CE_state!==1)return ra.call(this,t,n,r);var i=na.call(this,t,n);ra.call(this,t,n,r),r=na.call(this,t,n),e.attributeChangedCallback(this,n,i,r,t)},Element.prototype.removeAttribute=function(t){if(this.__CE_state!==1)return ea.call(this,t);var n=Qi.call(this,t);ea.call(this,t),n!==null&&e.attributeChangedCallback(this,t,n,null,null)},ta&&(Element.prototype.toggleAttribute=function(t,n){if(this.__CE_state!==1)return ta.call(this,t,n);var r=Qi.call(this,t),i=r!==null;return n=ta.call(this,t,n),i!==n&&e.attributeChangedCallback(this,t,r,n?``:null,null),n}),Element.prototype.removeAttributeNS=function(t,n){if(this.__CE_state!==1)return ia.call(this,t,n);var r=na.call(this,t,n);ia.call(this,t,n);var i=na.call(this,t,n);r!==i&&e.attributeChangedCallback(this,n,r,i,t)},ha?n(HTMLElement.prototype,ha):aa&&n(Element.prototype,aa),ga?r(HTMLElement.prototype,ga):oa&&r(Element.prototype,oa),za(e,Element.prototype,{prepend:sa,append:ca}),Va(e)}var Ua={};function Wa(e){function t(){var t=this.constructor,n=document.__CE_registry.Fa.get(t);if(!n)throw Error("Failed to construct a custom element: The constructor was not registered with `customElements`.");var r=n.constructionStack;if(r.length===0)return r=Li.call(document,n.localName),Object.setPrototypeOf(r,t.prototype),r.__CE_state=1,r.__CE_definition=n,Oa(e,r),r;var i=r.length-1,a=r[i];if(a===Ua)throw Error(`Failed to construct '`+n.localName+`': This element was already constructed.`);return r[i]=Ua,Object.setPrototypeOf(a,t.prototype),Oa(e,a),a}t.prototype=pa.prototype,Object.defineProperty(HTMLElement.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:t}),window.HTMLElement=t}function Ga(e){function t(t,n){Object.defineProperty(t,"textContent",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(t){if(this.nodeType===Node.TEXT_NODE)n.set.call(this,t);else{var r=void 0;if(this.firstChild){var i=this.childNodes,a=i.length;if(0<a&&H(this)){r=Array(a);for(var o=0;o<a;o++)r[o]=i[o]}}if(n.set.call(this,t),r)for(t=0;t<r.length;t++)W(e,r[t])}}})}Node.prototype.insertBefore=function(t,n){if(t instanceof DocumentFragment){var r=ba(t);if(t=Ki.call(this,t,n),H(this))for(n=0;n<r.length;n++)U(e,r[n]);return t}return r=t instanceof Element&&H(t),n=Ki.call(this,t,n),r&&W(e,t),H(this)&&U(e,t),n},Node.prototype.appendChild=function(t){if(t instanceof DocumentFragment){var n=ba(t);if(t=Gi.call(this,t),H(this))for(var r=0;r<n.length;r++)U(e,n[r]);return t}return n=t instanceof Element&&H(t),r=Gi.call(this,t),n&&W(e,t),H(this)&&U(e,t),r},Node.prototype.cloneNode=function(t){return t=Wi.call(this,!!t),this.ownerDocument.__CE_registry?G(e,t):Da(e,t),t},Node.prototype.removeChild=function(t){var n=t instanceof Element&&H(t),r=qi.call(this,t);return n&&W(e,t),r},Node.prototype.replaceChild=function(t,n){if(t instanceof DocumentFragment){var r=ba(t);if(t=Ji.call(this,t,n),H(this))for(W(e,n),n=0;n<r.length;n++)U(e,r[n]);return t}r=t instanceof Element&&H(t);var i=Ji.call(this,t,n),a=H(this);return a&&W(e,n),r&&W(e,t),a&&U(e,t),i},Yi&&Yi.get?t(Node.prototype,Yi):Ta(e,function(e){t(e,{enumerable:!0,configurable:!0,get:function(){for(var e=[],t=this.firstChild;t;t=t.nextSibling)t.nodeType!==Node.COMMENT_NODE&&e.push(t.textContent);return e.join(``)},set:function(e){for(;this.firstChild;)qi.call(this,this.firstChild);e!=null&&e!==``&&Gi.call(this,document.createTextNode(e))}})})}var q=window.customElements;function Ka(){var e=new Ca;Wa(e),Ba(e),za(e,DocumentFragment.prototype,{prepend:Hi,append:Ui}),Ga(e),Ha(e),window.CustomElementRegistry=K,e=new K(e),document.__CE_registry=e,Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:e})}q&&!q.forcePolyfill&&typeof q.define==`function`&&typeof q.get==`function`||Ka(),window.__CE_installPolyfill=Ka;function qa(){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 Ja(e){var t=e=e.replace(no,``).replace(ro,``),n=new qa;n.start=0,n.end=t.length;for(var r=n,i=0,a=t.length;i<a;i++)if(t[i]===`{`){r.rules||(r.rules=[]);var o=r,s=o.rules[o.rules.length-1]||null;r=new qa,r.start=i+1,r.parent=o,r.previous=s,o.rules.push(r)}else t[i]===`}`&&(r.end=i+1,r=r.parent||n);return Ya(n,e)}function Ya(e,t){var n=t.substring(e.start,e.end-1);if(e.parsedCssText=e.cssText=n.trim(),e.parent&&(n=t.substring(e.previous?e.previous.end:e.parent.start,e.start-1),n=Xa(n),n=n.replace(lo,` `),n=n.substring(n.lastIndexOf(`;`)+1),n=e.parsedSelector=e.selector=n.trim(),e.atRule=n.indexOf(`@`)===0,e.atRule?n.indexOf(`@media`)===0?e.type=eo:n.match(co)&&(e.type=$a,e.keyframesName=e.selector.split(lo).pop()):e.type=n.indexOf(`--`)===0?to:Qa),n=e.rules)for(var r=0,i=n.length,a=void 0;r<i&&(a=n[r]);r++)Ya(a,t);return e}function Xa(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,function(e,t){for(e=t,t=6-e.length;t--;)e=`0`+e;return`\\`+e})}function Za(e,t,n){n=n===void 0?``:n;var r=``;if(e.cssText||e.rules){var i=e.rules,a;if((a=i)&&(a=i[0],a=!(a&&a.selector&&a.selector.indexOf(`--`)===0)),a){a=0;for(var o=i.length,s=void 0;a<o&&(s=i[a]);a++)r=Za(s,t,r)}else t?t=e.cssText:(t=e.cssText,t=t.replace(io,``).replace(ao,``),t=t.replace(oo,``).replace(so,``)),(r=t.trim())&&(r=` `+r+`
14
14
  `)}return r&&(e.selector&&(n+=e.selector+` {
15
15
  `),n+=r,e.selector&&(n+=`}
16
16
 
17
- `)),n}var Qa=1,$a=7,eo=4,to=1e3,no=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,ro=/@import[^;]*;/gim,io=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,ao=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,oo=/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,so=/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,co=/^@[^\s]*keyframes/,lo=/\s+/g,J=!(window.ShadyDOM&&window.ShadyDOM.inUse),uo;function fo(e){uo=e&&e.shimcssproperties?!1:J||!(navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)||!window.CSS||!CSS.supports||!CSS.supports(`box-shadow`,`0 0 0 var(--foo)`))}var po;window.ShadyCSS&&window.ShadyCSS.cssBuild!==void 0&&(po=window.ShadyCSS.cssBuild);var mo=!(!window.ShadyCSS||!window.ShadyCSS.disableRuntime);window.ShadyCSS&&window.ShadyCSS.nativeCss!==void 0?uo=window.ShadyCSS.nativeCss:window.ShadyCSS?(fo(window.ShadyCSS),window.ShadyCSS=void 0):fo(window.WebComponents&&window.WebComponents.flags);var Y=uo,ho=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,go=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,_o=/(--[\w-]+)\s*([:,;)]|$)/gi,vo=/(animation\s*:)|(animation-name\s*:)/,yo=/@media\s(.*)/,bo=/\{[^}]*\}/g,xo=new Set;function So(e,t){return e?(typeof e==`string`&&(e=Ja(e)),t&&To(e,t),Za(e,Y)):``}function Co(e){return!e.__cssRules&&e.textContent&&(e.__cssRules=Ja(e.textContent)),e.__cssRules||null}function wo(e){return!!e.parent&&e.parent.type===$a}function To(e,t,n,r){if(e){var i=!1,a=e.type;if(r&&a===eo){var o=e.selector.match(yo);o&&(window.matchMedia(o[1]).matches||(i=!0))}if(a===Qa?t(e):n&&a===$a?n(e):a===to&&(i=!0),(e=e.rules)&&!i)for(i=0,a=e.length,o=void 0;i<a&&(o=e[i]);i++)To(o,t,n,r)}}function Eo(e,t,n,r){var i=document.createElement(`style`);return t&&i.setAttribute(`scope`,t),i.textContent=e,ko(i,n,r),i}var Do=null;function Oo(e){e=document.createComment(` Shady DOM styles for `+e+` `);var t=document.head;return t.insertBefore(e,(Do?Do.nextSibling:null)||t.firstChild),Do=e}function ko(e,t,n){t||=document.head,t.insertBefore(e,n&&n.nextSibling||t.firstChild),Do?e.compareDocumentPosition(Do)===Node.DOCUMENT_POSITION_PRECEDING&&(Do=e):Do=e}function Ao(e,t){for(var n=0,r=e.length;t<r;t++)if(e[t]===`(`)n++;else if(e[t]===`)`&&--n===0)return t;return-1}function jo(e,t){var n=e.indexOf(`var(`);if(n===-1)return t(e,``,``,``);var r=Ao(e,n+3),i=e.substring(n+4,r);return n=e.substring(0,n),e=jo(e.substring(r+1),t),r=i.indexOf(`,`),r===-1?t(n,i.trim(),``,e):t(n,i.substring(0,r).trim(),i.substring(r+1).trim(),e)}function Mo(e,t){J?e.setAttribute(`class`,t):window.ShadyDOM.nativeMethods.setAttribute.call(e,`class`,t)}var No=window.ShadyDOM&&window.ShadyDOM.wrap||function(e){return e};function Po(e){var t=e.localName,n=``;return t?-1<t.indexOf(`-`)||(n=t,t=e.getAttribute&&e.getAttribute(`is`)||``):(t=e.is,n=e.extends),{is:t,ja:n}}function Fo(e){for(var t=[],n=``,r=0;0<=r&&r<e.length;r++)if(e[r]===`(`){var i=Ao(e,r);n+=e.slice(r,i+1),r=i}else e[r]===`,`?(t.push(n),n=``):n+=e[r];return n&&t.push(n),t}function Io(e){if(po!==void 0)return po;if(e.__cssBuild===void 0){var t=e.getAttribute(`css-build`);if(t)e.__cssBuild=t;else{a:{if(t=e.localName===`template`?e.content.firstChild:e.firstChild,t instanceof Comment&&(t=t.textContent.trim().split(`:`),t[0]===`css-build`)){t=t[1];break a}t=``}if(t!==``){var n=e.localName===`template`?e.content.firstChild:e.firstChild;n.parentNode.removeChild(n)}e.__cssBuild=t}}return e.__cssBuild||``}function Lo(e){return e=e===void 0?``:e,e!==``&&Y?J?e===`shadow`:e===`shady`:!1}function Ro(){}function zo(e,t){Bo(X,e,function(e){Vo(e,t||``)})}function Bo(e,t,n){t.nodeType===Node.ELEMENT_NODE&&n(t);var r=t.localName===`template`?(t.content||t._content||t).childNodes:t.children||t.childNodes;if(r)for(t=0;t<r.length;t++)Bo(e,r[t],n)}function Vo(e,t,n){if(t){if(e.classList)n?(e.classList.remove(`style-scope`),e.classList.remove(t)):(e.classList.add(`style-scope`),e.classList.add(t));else if(e.getAttribute){var r=e.getAttribute(`class`);n?r&&(t=r.replace(`style-scope`,``).replace(t,``),Mo(e,t)):Mo(e,(r?r+` `:``)+`style-scope `+t)}}}function Ho(e,t,n){Bo(X,e,function(e){Vo(e,t,!0),Vo(e,n)})}function Uo(e,t){Bo(X,e,function(e){Vo(e,t||``,!0)})}function Wo(e,t,n,r,i){var a=X;return i=i===void 0?``:i,i===``&&(J||(r===void 0?``:r)===`shady`?i=So(t,n):(e=Po(e),i=Go(a,t,e.is,e.ja,n)+`
17
+ `)),n}var Qa=1,$a=7,eo=4,to=1e3,no=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,ro=/@import[^;]*;/gim,io=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,ao=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,oo=/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,so=/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,co=/^@[^\s]*keyframes/,lo=/\s+/g,J=!(window.ShadyDOM&&window.ShadyDOM.inUse),uo;function fo(e){uo=e&&e.shimcssproperties?!1:J||!(navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)||!window.CSS||!CSS.supports||!CSS.supports(`box-shadow`,`0 0 0 var(--foo)`))}var po;window.ShadyCSS&&window.ShadyCSS.cssBuild!==void 0&&(po=window.ShadyCSS.cssBuild);var mo=!(!window.ShadyCSS||!window.ShadyCSS.disableRuntime);window.ShadyCSS&&window.ShadyCSS.nativeCss!==void 0?uo=window.ShadyCSS.nativeCss:window.ShadyCSS?(fo(window.ShadyCSS),window.ShadyCSS=void 0):fo(window.WebComponents&&window.WebComponents.flags);var Y=uo,ho=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,go=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,_o=/(--[\w-]+)\s*([:,;)]|$)/gi,vo=/(animation\s*:)|(animation-name\s*:)/,yo=/@media\s(.*)/,bo=/\{[^}]*\}/g,xo=/* @__PURE__ */ new Set;function So(e,t){return e?(typeof e==`string`&&(e=Ja(e)),t&&To(e,t),Za(e,Y)):``}function Co(e){return!e.__cssRules&&e.textContent&&(e.__cssRules=Ja(e.textContent)),e.__cssRules||null}function wo(e){return!!e.parent&&e.parent.type===$a}function To(e,t,n,r){if(e){var i=!1,a=e.type;if(r&&a===eo){var o=e.selector.match(yo);o&&(window.matchMedia(o[1]).matches||(i=!0))}if(a===Qa?t(e):n&&a===$a?n(e):a===to&&(i=!0),(e=e.rules)&&!i)for(i=0,a=e.length,o=void 0;i<a&&(o=e[i]);i++)To(o,t,n,r)}}function Eo(e,t,n,r){var i=document.createElement(`style`);return t&&i.setAttribute(`scope`,t),i.textContent=e,ko(i,n,r),i}var Do=null;function Oo(e){e=document.createComment(` Shady DOM styles for `+e+` `);var t=document.head;return t.insertBefore(e,(Do?Do.nextSibling:null)||t.firstChild),Do=e}function ko(e,t,n){t||=document.head,t.insertBefore(e,n&&n.nextSibling||t.firstChild),Do?e.compareDocumentPosition(Do)===Node.DOCUMENT_POSITION_PRECEDING&&(Do=e):Do=e}function Ao(e,t){for(var n=0,r=e.length;t<r;t++)if(e[t]===`(`)n++;else if(e[t]===`)`&&--n===0)return t;return-1}function jo(e,t){var n=e.indexOf(`var(`);if(n===-1)return t(e,``,``,``);var r=Ao(e,n+3),i=e.substring(n+4,r);return n=e.substring(0,n),e=jo(e.substring(r+1),t),r=i.indexOf(`,`),r===-1?t(n,i.trim(),``,e):t(n,i.substring(0,r).trim(),i.substring(r+1).trim(),e)}function Mo(e,t){J?e.setAttribute(`class`,t):window.ShadyDOM.nativeMethods.setAttribute.call(e,`class`,t)}var No=window.ShadyDOM&&window.ShadyDOM.wrap||function(e){return e};function Po(e){var t=e.localName,n=``;return t?-1<t.indexOf(`-`)||(n=t,t=e.getAttribute&&e.getAttribute(`is`)||``):(t=e.is,n=e.extends),{is:t,ja:n}}function Fo(e){for(var t=[],n=``,r=0;0<=r&&r<e.length;r++)if(e[r]===`(`){var i=Ao(e,r);n+=e.slice(r,i+1),r=i}else e[r]===`,`?(t.push(n),n=``):n+=e[r];return n&&t.push(n),t}function Io(e){if(po!==void 0)return po;if(e.__cssBuild===void 0){var t=e.getAttribute(`css-build`);if(t)e.__cssBuild=t;else{a:{if(t=e.localName===`template`?e.content.firstChild:e.firstChild,t instanceof Comment&&(t=t.textContent.trim().split(`:`),t[0]===`css-build`)){t=t[1];break a}t=``}if(t!==``){var n=e.localName===`template`?e.content.firstChild:e.firstChild;n.parentNode.removeChild(n)}e.__cssBuild=t}}return e.__cssBuild||``}function Lo(e){return e=e===void 0?``:e,e!==``&&Y?J?e===`shadow`:e===`shady`:!1}function Ro(){}function zo(e,t){Bo(X,e,function(e){Vo(e,t||``)})}function Bo(e,t,n){t.nodeType===Node.ELEMENT_NODE&&n(t);var r=t.localName===`template`?(t.content||t._content||t).childNodes:t.children||t.childNodes;if(r)for(t=0;t<r.length;t++)Bo(e,r[t],n)}function Vo(e,t,n){if(t){if(e.classList)n?(e.classList.remove(`style-scope`),e.classList.remove(t)):(e.classList.add(`style-scope`),e.classList.add(t));else if(e.getAttribute){var r=e.getAttribute(`class`);n?r&&(t=r.replace(`style-scope`,``).replace(t,``),Mo(e,t)):Mo(e,(r?r+` `:``)+`style-scope `+t)}}}function Ho(e,t,n){Bo(X,e,function(e){Vo(e,t,!0),Vo(e,n)})}function Uo(e,t){Bo(X,e,function(e){Vo(e,t||``,!0)})}function Wo(e,t,n,r,i){var a=X;return i=i===void 0?``:i,i===``&&(J||(r===void 0?``:r)===`shady`?i=So(t,n):(e=Po(e),i=Go(a,t,e.is,e.ja,n)+`
18
18
 
19
- `)),i.trim()}function Go(e,t,n,r,i){var a=Ko(n,r);return n=n?`.`+n:``,So(t,function(t){t.i||=(t.selector=t.G=qo(e,t,e.h,n,a),!0),i&&i(t,n,a)})}function Ko(e,t){return t?`[is=`+e+`]`:e}function qo(e,t,n,r,i){var a=Fo(t.selector);if(!wo(t)){t=0;for(var o=a.length,s=void 0;t<o&&(s=a[t]);t++)a[t]=n.call(e,s,r,i)}return a.filter(function(e){return!!e}).join(`,`)}function Jo(e){return e.replace(ts,function(e,t,n){return-1<n.indexOf(`+`)?n=n.replace(/\+/g,`___`):-1<n.indexOf(`___`)&&(n=n.replace(/___/g,`+`)),`:`+t+`(`+n+`)`})}function Yo(e){for(var t=[],n;n=e.match(cs);){var r=n.index,i=Ao(e,r);if(i===-1)throw Error(n.input+` selector missing ')'`);n=e.slice(r,i+1),e=e.replace(n,``),t.push(n)}return{Ea:e,matches:t}}function Xo(e,t){var n=e.split(``);return t.reduce(function(e,t,r){return e+t+n[r+1]},n[0])}Ro.prototype.h=function(e,t,n){var r=!1;e=e.trim();var i=ts.test(e);i&&(e=e.replace(ts,function(e,t,n){return`:`+t+`(`+n.replace(/\s/g,``)+`)`}),e=Jo(e));var a=cs.test(e);if(a){var o=Yo(e);e=o.Ea,o=o.matches}return e=e.replace(is,`:host $1`),e=e.replace(ns,function(e,i,a){return r||(e=Zo(a,i,t,n),r||=e.stop,i=e.Ya,a=e.value),i+a}),a&&(e=Xo(e,o)),i&&(e=Jo(e)),e=e.replace(ss,function(e,t,n,r){return`[dir="`+n+`"] `+t+r+`, `+t+`[dir="`+n+`"]`+r})};function Zo(e,t,n,r){var i=e.indexOf(`::slotted`);if(0<=e.indexOf(`:host`)?e=$o(e,r):i!==0&&(e=n?Qo(e,n):e),n=!1,0<=i&&(t=``,n=!0),n){var a=!0;n&&(e=e.replace(os,function(e,t){return` > `+t}))}return{value:e,Ya:t,stop:a}}function Qo(e,t){e=e.split(/(\[.+?\])/);for(var n=[],r=0;r<e.length;r++)if(r%2==1)n.push(e[r]);else{var i=e[r];(i!==``||r!==e.length-1)&&(i=i.split(`:`),i[0]+=t,n.push(i.join(`:`)))}return n.join(``)}function $o(e,t){var n=e.match(as);return(n=n&&n[2].trim()||``)?n[0].match(rs)?e.replace(as,function(e,n,r){return t+r}):n.split(rs)[0]===t?n:`should_not_match`:e.replace(`:host`,t)}function es(e){e.selector===`:root`&&(e.selector=`html`)}Ro.prototype.i=function(e){return e.match(`:host`)?``:e.match(`::slotted`)?this.h(e,`:not(.style-scope)`):Qo(e.trim(),`:not(.style-scope)`)},i.Object.defineProperties(Ro.prototype,{g:{configurable:!0,enumerable:!0,get:function(){return`style-scope`}}});var ts=/:(nth[-\w]+)\(([^)]+)\)/,ns=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,rs=/[[.:#*]/,is=/^(::slotted)/,as=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,os=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,ss=/(.*):dir\((?:(ltr|rtl))\)(.*)/,cs=/:(?:matches|any|-(?:webkit|moz)-any)/,X=new Ro;function ls(e,t,n,r,i){this.M=e||null,this.h=t||null,this.Ca=n||[],this.K=null,this.cssBuild=i||``,this.ja=r||``,this.g=this.L=this.R=null}function Z(e){return e?e.__styleInfo:null}function us(e,t){return e.__styleInfo=t}ls.prototype.i=function(){return this.M},ls.prototype._getStyleRules=ls.prototype.i;function ds(e){var t=this.matches||this.matchesSelector||this.mozMatchesSelector||this.msMatchesSelector||this.oMatchesSelector||this.webkitMatchesSelector;return t&&t.call(this,e)}var fs=/:host\s*>\s*/,ps=navigator.userAgent.match(`Trident`);function ms(){}function hs(e){var t={},n=[],r=0;for(var i in To(e,function(e){gs(e),e.index=r++,e=e.F.cssText;for(var n;n=_o.exec(e);){var i=n[1];n[2]!==`:`&&(t[i]=!0)}},function(e){n.push(e)}),e.h=n,e=[],t)e.push(i);return e}function gs(e){if(!e.F){var t={},n={};_s(e,n)&&(t.P=n,e.rules=null),t.cssText=e.parsedCssText.replace(bo,``).replace(ho,``),e.F=t}}function _s(e,t){var n=e.F;if(n){if(n.P)return Object.assign(t,n.P),!0}else{n=e.parsedCssText;for(var r;e=ho.exec(n);)r=(e[2]||e[3]).trim(),(r!==`inherit`||r!==`unset`)&&(t[e[1].trim()]=r),r=!0;return r}}function vs(e,t,n){return t&&=0<=t.indexOf(`;`)?ys(e,t,n):jo(t,function(t,r,i,a){return r?((r=vs(e,n[r],n))&&r!==`initial`?r===`apply-shim-inherit`&&(r=`inherit`):r=vs(e,n[i]||i,n)||i,t+(r||``)+a):t+a}),t&&t.trim()||``}function ys(e,t,n){t=t.split(`;`);for(var r=0,i,a;r<t.length;r++)if(i=t[r]){if(go.lastIndex=0,a=go.exec(i))i=vs(e,n[a[1]],n);else if(a=i.indexOf(`:`),a!==-1){var o=i.substring(a);o=o.trim(),o=vs(e,o,n)||o,i=i.substring(0,a)+o}t[r]=i&&i.lastIndexOf(`;`)===i.length-1?i.slice(0,-1):i||``}return t.join(`;`)}function bs(e,t){var n={},r=[];return To(e,function(e){e.F||gs(e);var i=e.G||e.parsedSelector;t&&e.F.P&&i&&ds.call(t,i)&&(_s(e,n),e=e.index,i=parseInt(e/32,10),r[i]=(r[i]||0)|1<<e%32)},null,!0),{P:n,key:r}}function xs(e,t,n,r){if(t.F||gs(t),t.F.P){var i=Po(e);e=i.is,i=i.ja,i=e?Ko(e,i):`html`;var a=t.parsedSelector,o=!!a.match(fs)||i===`html`&&-1<a.indexOf(`html`),s=a.indexOf(`:host`)===0&&!o;n===`shady`&&(o=a===i+` > *.`+i||a.indexOf(`html`)!==-1,s=!o&&a.indexOf(i)===0),(o||s)&&(n=i,s&&(t.G||=qo(X,t,X.h,e?`.`+e:``,i),n=t.G||i),o&&i===`html`&&(n=t.G||t.O),r({Ea:n,gb:s,vb:o}))}}function Ss(e,t,n){var r={},i={};return To(t,function(t){xs(e,t,n,function(n){ds.call(e._element||e,n.Ea)&&(n.gb?_s(t,r):_s(t,i))})},null,!0),{mb:i,eb:r}}function Cs(e,t,n,r){var i=Po(t),a=Ko(i.is,i.ja),o=RegExp(`(?:^|[^.#[:])`+(t.extends?`\\`+a.slice(0,-1)+`\\]`:a)+`($|[.:[\\s>+~])`),s=Z(t);i=s.M,s=s.cssBuild;var c=ws(i,r);return Wo(t,i,function(t){var i=``;if(t.F||gs(t),t.F.cssText&&(i=ys(e,t.F.cssText,n)),t.cssText=i,!J&&!wo(t)&&t.cssText){var s=i=t.cssText;if(t.Ma??=vo.test(i),t.Ma)if(t.ra==null)for(var l in t.ra=[],c)s=c[l],s=s(i),i!==s&&(i=s,t.ra.push(l));else{for(l=0;l<t.ra.length;++l)s=c[t.ra[l]],i=s(i);s=i}t.cssText=s,t.G=t.G||t.selector,i=`.`+r,l=Fo(t.G),s=0;for(var u=l.length,d=void 0;s<u&&(d=l[s]);s++)l[s]=d.match(o)?d.replace(a,i):i+` `+d;t.selector=l.join(`,`)}},s)}function ws(e,t){e=e.h;var n={};if(!J&&e)for(var r=0,i=e[r];r<e.length;i=e[++r]){var a=i,o=t;a.u=RegExp(`\\b`+a.keyframesName+`(?!\\B|-)`,`g`),a.g=a.keyframesName+`-`+o,a.G=a.G||a.selector,a.selector=a.G.replace(a.keyframesName,a.g),n[i.keyframesName]=Ts(i)}return n}function Ts(e){return function(t){return t.replace(e.u,e.g)}}function Es(e,t){var n=Ds;e.textContent=So(Co(e),function(e){var r=e.cssText=e.parsedCssText;e.F&&e.F.cssText&&(r=r.replace(io,``).replace(ao,``),e.cssText=ys(n,r,t))})}i.Object.defineProperties(ms.prototype,{g:{configurable:!0,enumerable:!0,get:function(){return`x-scope`}}});var Ds=new ms,Os={},ks=window.customElements;if(ks&&!J&&!mo){var As=ks.define;ks.define=function(e,t,n){Os[e]||(Os[e]=Oo(e)),As.call(ks,e,t,n)}}function js(){this.cache={}}js.prototype.store=function(e,t,n,r){var i=this.cache[e]||[];i.push({P:t,styleElement:n,L:r}),100<i.length&&i.shift(),this.cache[e]=i};function Ms(){}var Ns=RegExp(X.g+`\\s*([^\\s]*)`);function Ps(e){return(e=(e.classList&&e.classList.value?e.classList.value:e.getAttribute(`class`)||``).match(Ns))?e[1]:``}function Fs(e){var t=No(e).getRootNode();return t===e||t===e.ownerDocument?``:(e=t.host)?Po(e).is:``}function Is(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.target!==document.documentElement&&n.target!==document.head)for(var r=0;r<n.addedNodes.length;r++){var i=n.addedNodes[r];if(i.nodeType===Node.ELEMENT_NODE){var a=i.getRootNode(),o=Ps(i);if(o&&a===i.ownerDocument&&(i.localName!==`style`&&i.localName!==`template`||Io(i)===``))Uo(i,o);else if(a instanceof ShadowRoot)for(a=Fs(i),a!==o&&Ho(i,o,a),i=window.ShadyDOM.nativeMethods.querySelectorAll.call(i,`:not(.`+X.g+`)`),o=0;o<i.length;o++){a=i[o];var s=Fs(a);s&&Vo(a,s)}}}}}if(!(J||window.ShadyDOM&&window.ShadyDOM.handlesDynamicScoping)){var Ls=new MutationObserver(Is),Rs=function(e){Ls.observe(e,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)Rs(document);else{var zs=function(){Rs(document.body)};window.HTMLImports?window.HTMLImports.whenReady(zs):requestAnimationFrame(function(){if(document.readyState===`loading`){var e=function(){zs(),document.removeEventListener(`readystatechange`,e)};document.addEventListener(`readystatechange`,e)}else zs()})}Ms=function(){Is(Ls.takeRecords())}}var Bs={},Vs=Promise.resolve();function Hs(e){(e=Bs[e])&&(e._applyShimCurrentVersion=e._applyShimCurrentVersion||0,e._applyShimValidatingVersion=e._applyShimValidatingVersion||0,e._applyShimNextVersion=(e._applyShimNextVersion||0)+1)}function Us(e){return e._applyShimCurrentVersion===e._applyShimNextVersion}function Ws(e){e._applyShimValidatingVersion=e._applyShimNextVersion,e._validating||(e._validating=!0,Vs.then(function(){e._applyShimCurrentVersion=e._applyShimNextVersion,e._validating=!1}))}var Gs={},Ks=new js;function Q(){this.ea={},this.i=document.documentElement;var e=new qa;e.rules=[],this.u=us(this.i,new ls(e)),this.O=!1,this.g=this.h=null}e=Q.prototype,e.flush=function(){Ms()},e.bb=function(e){return Co(e)},e.qb=function(e){return So(e)},e.prepareTemplate=function(e,t,n){this.prepareTemplateDom(e,t),this.prepareTemplateStyles(e,t,n)},e.prepareTemplateStyles=function(e,t,n){if(!e._prepared&&!mo){J||Os[t]||(Os[t]=Oo(t)),e._prepared=!0,e.name=t,e.extends=n,Bs[t]=e;var r=Io(e),i=Lo(r);n={is:t,extends:n};for(var a=[],o=e.content.querySelectorAll(`style`),s=0;s<o.length;s++){var c=o[s];if(c.hasAttribute(`shady-unscoped`)){if(!J){var l=c.textContent;if(!xo.has(l)){xo.add(l);var u=document.createElement(`style`);u.setAttribute(`shady-unscoped`,``),u.textContent=l,document.head.appendChild(u)}c.parentNode.removeChild(c)}}else a.push(c.textContent),c.parentNode.removeChild(c)}a=a.join(``).trim()+(Gs[t]||``),Ys(this),i||((o=!r)&&(o=go.test(a)||ho.test(a),go.lastIndex=0,ho.lastIndex=0),s=Ja(a),o&&Y&&this.h&&this.h.transformRules(s,t),e._styleAst=s),o=[],Y||(o=hs(e._styleAst)),(!o.length||Y)&&(s=J?e.content:null,t=Os[t]||null,r=Wo(n,e._styleAst,null,r,i?a:``),r=r.length?Eo(r,n.is,s,t):null,e._style=r),e.g=o}},e.kb=function(e,t){Gs[t]=e.join(` `)},e.prepareTemplateDom=function(e,t){if(!mo){var n=Io(e);J||n===`shady`||e._domPrepared||(e._domPrepared=!0,zo(e.content,t))}};function qs(e){var t=Po(e),n=t.is;t=t.ja;var r=Os[n]||null,i=Bs[n];if(i){n=i._styleAst;var a=i.g;return i=Io(i),t=new ls(n,r,a,t,i),us(e,t),t}}function Js(e){!e.g&&window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface&&(e.g=window.ShadyCSS.CustomStyleInterface,e.g.transformCallback=function(t){e.Qa(t)},e.g.validateCallback=function(){requestAnimationFrame(function(){(e.g.enqueued||e.O)&&e.flushCustomStyles()})})}function Ys(e){if(!e.h&&window.ShadyCSS&&window.ShadyCSS.ApplyShim){e.h=window.ShadyCSS.ApplyShim,e.h.invalidCallback=Hs;var t=!0}else t=!1;return Js(e),t}e.flushCustomStyles=function(){if(!mo){var e=Ys(this);if(this.g){var t=this.g.processStyles();if((e||this.g.enqueued)&&!Lo(this.u.cssBuild)){if(Y){if(!this.u.cssBuild)for(e=0;e<t.length;e++){var n=this.g.getStyleForCustomStyle(t[e]);if(n&&Y&&this.h){var r=Co(n);Ys(this),this.h.transformRules(r),n.textContent=So(r)}}}else{for(Xs(this,t),$s(this,this.i,this.u),e=0;e<t.length;e++)(n=this.g.getStyleForCustomStyle(t[e]))&&Es(n,this.u.R);this.O&&this.styleDocument()}this.g.enqueued=!1}}}};function Xs(e,t){t=t.map(function(t){return e.g.getStyleForCustomStyle(t)}).filter(function(e){return!!e}),t.sort(function(e,t){return e=t.compareDocumentPosition(e),e&Node.DOCUMENT_POSITION_FOLLOWING?1:e&Node.DOCUMENT_POSITION_PRECEDING?-1:0}),e.u.M.rules=t.map(function(e){return Co(e)})}e.styleElement=function(e,t){if(mo){if(t){Z(e)||us(e,new ls(null));var n=Z(e);n.K=n.K||{},Object.assign(n.K,t),Zs(this,e,n)}}else if(n=Z(e)||qs(e)){if(e!==this.i&&(this.O=!0),t&&(n.K=n.K||{},Object.assign(n.K,t)),Y)Zs(this,e,n);else if(this.flush(),$s(this,e,n),n.Ca&&n.Ca.length){t=Po(e).is;var r;a:{if(r=Ks.cache[t])for(var i=r.length-1;0<=i;i--){var a=r[i];b:{for(var o=n.Ca,s=0;s<o.length;s++){var c=o[s];if(a.P[c]!==n.R[c]){o=!1;break b}}o=!0}if(o){r=a;break a}}r=void 0}o=r?r.styleElement:null,i=n.L,(a=r&&r.L)||(a=this.ea[t]=(this.ea[t]||0)+1,a=t+`-`+a),n.L=a,a=n.L,s=Ds,s=o?o.textContent||``:Cs(s,e,n.R,a),c=Z(e);var l=c.g;l&&!J&&l!==o&&(l._useCount--,0>=l._useCount&&l.parentNode&&l.parentNode.removeChild(l)),J?c.g?(c.g.textContent=s,o=c.g):s&&(o=Eo(s,a,e.shadowRoot,c.h)):o?o.parentNode||(ps&&-1<s.indexOf(`@media`)&&(o.textContent=s),ko(o,null,c.h)):s&&(o=Eo(s,a,null,c.h)),o&&(o._useCount=o._useCount||0,c.g!=o&&o._useCount++,c.g=o),a=o,J||(o=n.L,c=s=e.getAttribute(`class`)||``,i&&(c=s.replace(RegExp(`\\s*x-scope\\s*`+i+`\\s*`,`g`),` `)),c+=(c?` `:``)+`x-scope `+o,s!==c&&Mo(e,c)),r||Ks.store(t,n.R,a,n.L)}}};function Zs(e,t,n){var r=Po(t).is;if(n.K){var i=n.K,a;for(a in i)a===null?t.style.removeProperty(a):t.style.setProperty(a,i[a])}i=Bs[r],!(!i&&t!==e.i||i&&Io(i)!==``)&&i&&i._style&&!Us(i)&&((Us(i)||i._applyShimValidatingVersion!==i._applyShimNextVersion)&&(Ys(e),e.h&&e.h.transformRules(i._styleAst,r),i._style.textContent=Wo(t,n.M),Ws(i)),J&&(e=t.shadowRoot)&&(e=e.querySelector(`style`))&&(e.textContent=Wo(t,n.M)),n.M=i._styleAst)}function Qs(e,t){return(t=No(t).getRootNode().host)?Z(t)||qs(t)?t:Qs(e,t):e.i}function $s(e,t,n){var r=Qs(e,t),i=Z(r),a=i.R;for(var o in r===e.i||a||($s(e,r,i),a=i.R),e=Object.create(a||null),r=Ss(t,n.M,n.cssBuild),t=bs(i.M,t).P,Object.assign(e,r.eb,t,r.mb),t=n.K,t)((i=t[o])||i===0)&&(e[o]=i);for(o=Ds,t=Object.getOwnPropertyNames(e),i=0;i<t.length;i++)r=t[i],e[r]=vs(o,e[r],e);n.R=e}e.styleDocument=function(e){this.styleSubtree(this.i,e)},e.styleSubtree=function(e,t){var n=No(e),r=n.shadowRoot,i=e===this.i;if((r||i)&&this.styleElement(e,t),e=i?n:r)for(e=Array.from(e.querySelectorAll(`*`)).filter(function(e){return No(e).shadowRoot}),t=0;t<e.length;t++)this.styleSubtree(e[t])},e.Qa=function(e){var t=this,n=Io(e);if(n!==this.u.cssBuild&&(this.u.cssBuild=n),!Lo(n)){var r=Co(e);To(r,function(e){if(J)es(e);else{var r=X;e.selector=e.parsedSelector,es(e),e.selector=e.G=qo(r,e,r.i,void 0,void 0)}Y&&n===``&&(Ys(t),t.h&&t.h.transformRule(e))}),Y?e.textContent=So(r):this.u.M.rules.push(r)}},e.getComputedStyleValue=function(e,t){var n;return Y||(n=(Z(e)||Z(Qs(this,e))).R[t]),(n||=window.getComputedStyle(e).getPropertyValue(t))?n.trim():``},e.pb=function(e,t){var n=No(e).getRootNode();if(t=t?(typeof t==`string`?t:String(t)).split(/\s/):[],n=n.host&&n.host.localName,!n){var r=e.getAttribute(`class`);if(r){r=r.split(/\s/);for(var i=0;i<r.length;i++)if(r[i]===X.g){n=r[i+1];break}}}n&&t.push(X.g,n),Y||(n=Z(e))&&n.L&&t.push(Ds.g,n.L),Mo(e,t.join(` `))},e.Xa=function(e){return Z(e)},e.ob=function(e,t){Vo(e,t)},e.rb=function(e,t){Vo(e,t,!0)},e.nb=function(e){return Fs(e)},e.$a=function(e){return Ps(e)},Q.prototype.flush=Q.prototype.flush,Q.prototype.prepareTemplate=Q.prototype.prepareTemplate,Q.prototype.styleElement=Q.prototype.styleElement,Q.prototype.styleDocument=Q.prototype.styleDocument,Q.prototype.styleSubtree=Q.prototype.styleSubtree,Q.prototype.getComputedStyleValue=Q.prototype.getComputedStyleValue,Q.prototype.setElementClass=Q.prototype.pb,Q.prototype._styleInfoForNode=Q.prototype.Xa,Q.prototype.transformCustomStyleForDocument=Q.prototype.Qa,Q.prototype.getStyleAst=Q.prototype.bb,Q.prototype.styleAstToString=Q.prototype.qb,Q.prototype.flushCustomStyles=Q.prototype.flushCustomStyles,Q.prototype.scopeNode=Q.prototype.ob,Q.prototype.unscopeNode=Q.prototype.rb,Q.prototype.scopeForNode=Q.prototype.nb,Q.prototype.currentScopeForNode=Q.prototype.$a,Q.prototype.prepareAdoptedCssText=Q.prototype.kb,Object.defineProperties(Q.prototype,{nativeShadow:{get:function(){return J}},nativeCss:{get:function(){return Y}}});var $=new Q,ec,tc;window.ShadyCSS&&(ec=window.ShadyCSS.ApplyShim,tc=window.ShadyCSS.CustomStyleInterface),window.ShadyCSS={ScopingShim:$,prepareTemplate:function(e,t,n){$.flushCustomStyles(),$.prepareTemplate(e,t,n)},prepareTemplateDom:function(e,t){$.prepareTemplateDom(e,t)},prepareTemplateStyles:function(e,t,n){$.flushCustomStyles(),$.prepareTemplateStyles(e,t,n)},styleSubtree:function(e,t){$.flushCustomStyles(),$.styleSubtree(e,t)},styleElement:function(e){$.flushCustomStyles(),$.styleElement(e)},styleDocument:function(e){$.flushCustomStyles(),$.styleDocument(e)},flushCustomStyles:function(){$.flushCustomStyles()},getComputedStyleValue:function(e,t){return $.getComputedStyleValue(e,t)},nativeCss:Y,nativeShadow:J,cssBuild:po,disableRuntime:mo},ec&&(window.ShadyCSS.ApplyShim=ec),tc&&(window.ShadyCSS.CustomStyleInterface=tc),(function(e){function t(e){return e==``&&(a.call(this),this.m=!0),e.toLowerCase()}function n(e){var t=e.charCodeAt(0);return 32<t&&127>t&&[34,35,60,62,63,96].indexOf(t)==-1?e:encodeURIComponent(e)}function r(e){var t=e.charCodeAt(0);return 32<t&&127>t&&[34,35,60,62,96].indexOf(t)==-1?e:encodeURIComponent(e)}function i(e,i,o){function s(e){ee.push(e)}var c=i||`scheme start`,p=0,m=``,h=!1,g=!1,ee=[];a:for(;(e[p-1]!=null||p==0)&&!this.m;){var _=e[p];switch(c){case`scheme start`:if(_&&d.test(_))m+=_.toLowerCase(),c=`scheme`;else if(i){s(`Invalid scheme.`);break a}else{m=``,c=`no scheme`;continue}break;case`scheme`:if(_&&f.test(_))m+=_.toLowerCase();else if(_==`:`){if(this.l=m,m=``,i)break a;l[this.l]!==void 0&&(this.H=!0),c=this.l==`file`?`relative`:this.H&&o&&o.l==this.l?`relative or authority`:this.H?`authority first slash`:`scheme data`}else if(i){_!=null&&s(`Code point not allowed in scheme: `+_);break a}else{m=``,p=0,c=`no scheme`;continue}break;case`scheme data`:_==`?`?(this.A=`?`,c=`query`):_==`#`?(this.C=`#`,c=`fragment`):_!=null&&_!=` `&&_!=`
20
- `&&_!=`\r`&&(this.ya+=n(_));break;case`no scheme`:if(o&&l[o.l]!==void 0){c=`relative`;continue}else s(`Missing scheme.`),a.call(this),this.m=!0;break;case`relative or authority`:if(_==`/`&&e[p+1]==`/`)c=`authority ignore slashes`;else{s(`Expected /, got: `+_),c=`relative`;continue}break;case`relative`:if(this.H=!0,this.l!=`file`&&(this.l=o.l),_==null){this.o=o.o,this.v=o.v,this.s=o.s.slice(),this.A=o.A,this.B=o.B,this.j=o.j;break a}else if(_==`/`||_==`\\`)_==`\\`&&s(`\\ is an invalid code point.`),c=`relative slash`;else if(_==`?`)this.o=o.o,this.v=o.v,this.s=o.s.slice(),this.A=`?`,this.B=o.B,this.j=o.j,c=`query`;else if(_==`#`)this.o=o.o,this.v=o.v,this.s=o.s.slice(),this.A=o.A,this.C=`#`,this.B=o.B,this.j=o.j,c=`fragment`;else{c=e[p+1];var v=e[p+2];(this.l!=`file`||!d.test(_)||c!=`:`&&c!=`|`||v!=null&&v!=`/`&&v!=`\\`&&v!=`?`&&v!=`#`)&&(this.o=o.o,this.v=o.v,this.B=o.B,this.j=o.j,this.s=o.s.slice(),this.s.pop()),c=`relative path`;continue}break;case`relative slash`:if(_==`/`||_==`\\`)_==`\\`&&s(`\\ is an invalid code point.`),c=this.l==`file`?`file host`:`authority ignore slashes`;else{this.l!=`file`&&(this.o=o.o,this.v=o.v,this.B=o.B,this.j=o.j),c=`relative path`;continue}break;case`authority first slash`:if(_==`/`)c=`authority second slash`;else{s(`Expected '/', got: `+_),c=`authority ignore slashes`;continue}break;case`authority second slash`:if(c=`authority ignore slashes`,_!=`/`){s(`Expected '/', got: `+_);continue}break;case`authority ignore slashes`:if(_!=`/`&&_!=`\\`){c=`authority`;continue}else s(`Expected authority, got: `+_);break;case`authority`:if(_==`@`){for(h&&(s(`@ already seen.`),m+=`%40`),h=!0,_=0;_<m.length;_++)v=m[_],v==` `||v==`
21
- `||v==`\r`?s(`Invalid whitespace in authority.`):v==`:`&&this.j===null?this.j=``:(v=n(v),this.j===null?this.B+=v:this.j+=v);m=``}else if(_==null||_==`/`||_==`\\`||_==`?`||_==`#`){p-=m.length,m=``,c=`host`;continue}else m+=_;break;case`file host`:if(_==null||_==`/`||_==`\\`||_==`?`||_==`#`){m.length!=2||!d.test(m[0])||m[1]!=`:`&&m[1]!=`|`?(m.length!=0&&(this.o=t.call(this,m),m=``),c=`relative path start`):c=`relative path`;continue}else _==` `||_==`
22
- `||_==`\r`?s(`Invalid whitespace in file host.`):m+=_;break;case`host`:case`hostname`:if(_!=`:`||g)if(_==null||_==`/`||_==`\\`||_==`?`||_==`#`){if(this.o=t.call(this,m),m=``,c=`relative path start`,i)break a;continue}else _!=` `&&_!=`
23
- `&&_!=`\r`?(_==`[`?g=!0:_==`]`&&(g=!1),m+=_):s(`Invalid code point in host/hostname: `+_);else if(this.o=t.call(this,m),m=``,c=`port`,i==`hostname`)break a;break;case`port`:if(/[0-9]/.test(_))m+=_;else if(_==null||_==`/`||_==`\\`||_==`?`||_==`#`||i){if(m!=``&&(m=parseInt(m,10),m!=l[this.l]&&(this.v=m+``),m=``),i)break a;c=`relative path start`;continue}else _==` `||_==`
19
+ `)),i.trim()}function Go(e,t,n,r,i){var a=Ko(n,r);return n=n?`.`+n:``,So(t,function(t){t.i||=(t.selector=t.G=qo(e,t,e.h,n,a),!0),i&&i(t,n,a)})}function Ko(e,t){return t?`[is=`+e+`]`:e}function qo(e,t,n,r,i){var a=Fo(t.selector);if(!wo(t)){t=0;for(var o=a.length,s=void 0;t<o&&(s=a[t]);t++)a[t]=n.call(e,s,r,i)}return a.filter(function(e){return!!e}).join(`,`)}function Jo(e){return e.replace(ts,function(e,t,n){return-1<n.indexOf(`+`)?n=n.replace(/\+/g,`___`):-1<n.indexOf(`___`)&&(n=n.replace(/___/g,`+`)),`:`+t+`(`+n+`)`})}function Yo(e){for(var t=[],n;n=e.match(cs);){var r=n.index,i=Ao(e,r);if(i===-1)throw Error(n.input+` selector missing ')'`);n=e.slice(r,i+1),e=e.replace(n,``),t.push(n)}return{Ea:e,matches:t}}function Xo(e,t){var n=e.split(``);return t.reduce(function(e,t,r){return e+t+n[r+1]},n[0])}Ro.prototype.h=function(e,t,n){var r=!1;e=e.trim();var i=ts.test(e);i&&(e=e.replace(ts,function(e,t,n){return`:`+t+`(`+n.replace(/\s/g,``)+`)`}),e=Jo(e));var a=cs.test(e);if(a){var o=Yo(e);e=o.Ea,o=o.matches}return e=e.replace(is,`:host $1`),e=e.replace(ns,function(e,i,a){return r||(e=Zo(a,i,t,n),r||=e.stop,i=e.Ya,a=e.value),i+a}),a&&(e=Xo(e,o)),i&&(e=Jo(e)),e=e.replace(ss,function(e,t,n,r){return`[dir="`+n+`"] `+t+r+`, `+t+`[dir="`+n+`"]`+r})};function Zo(e,t,n,r){var i=e.indexOf(`::slotted`);if(0<=e.indexOf(`:host`)?e=$o(e,r):i!==0&&(e=n?Qo(e,n):e),n=!1,0<=i&&(t=``,n=!0),n){var a=!0;n&&(e=e.replace(os,function(e,t){return` > `+t}))}return{value:e,Ya:t,stop:a}}function Qo(e,t){e=e.split(/(\[.+?\])/);for(var n=[],r=0;r<e.length;r++)if(r%2==1)n.push(e[r]);else{var i=e[r];(i!==``||r!==e.length-1)&&(i=i.split(`:`),i[0]+=t,n.push(i.join(`:`)))}return n.join(``)}function $o(e,t){var n=e.match(as);return(n=n&&n[2].trim()||``)?n[0].match(rs)?e.replace(as,function(e,n,r){return t+r}):n.split(rs)[0]===t?n:`should_not_match`:e.replace(`:host`,t)}function es(e){e.selector===`:root`&&(e.selector=`html`)}Ro.prototype.i=function(e){return e.match(`:host`)?``:e.match(`::slotted`)?this.h(e,`:not(.style-scope)`):Qo(e.trim(),`:not(.style-scope)`)},i.Object.defineProperties(Ro.prototype,{g:{configurable:!0,enumerable:!0,get:function(){return`style-scope`}}});var ts=/:(nth[-\w]+)\(([^)]+)\)/,ns=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,rs=/[[.:#*]/,is=/^(::slotted)/,as=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,os=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,ss=/(.*):dir\((?:(ltr|rtl))\)(.*)/,cs=/:(?:matches|any|-(?:webkit|moz)-any)/,X=new Ro;function ls(e,t,n,r,i){this.M=e||null,this.h=t||null,this.Ca=n||[],this.K=null,this.cssBuild=i||``,this.ja=r||``,this.g=this.L=this.R=null}function Z(e){return e?e.__styleInfo:null}function us(e,t){return e.__styleInfo=t}ls.prototype.i=function(){return this.M},ls.prototype._getStyleRules=ls.prototype.i;function ds(e){var t=this.matches||this.matchesSelector||this.mozMatchesSelector||this.msMatchesSelector||this.oMatchesSelector||this.webkitMatchesSelector;return t&&t.call(this,e)}var fs=/:host\s*>\s*/,ps=navigator.userAgent.match(`Trident`);function ms(){}function hs(e){var t={},n=[],r=0;for(var i in To(e,function(e){gs(e),e.index=r++,e=e.F.cssText;for(var n;n=_o.exec(e);){var i=n[1];n[2]!==`:`&&(t[i]=!0)}},function(e){n.push(e)}),e.h=n,e=[],t)e.push(i);return e}function gs(e){if(!e.F){var t={},n={};_s(e,n)&&(t.P=n,e.rules=null),t.cssText=e.parsedCssText.replace(bo,``).replace(ho,``),e.F=t}}function _s(e,t){var n=e.F;if(n){if(n.P)return Object.assign(t,n.P),!0}else{n=e.parsedCssText;for(var r;e=ho.exec(n);)r=(e[2]||e[3]).trim(),(r!==`inherit`||r!==`unset`)&&(t[e[1].trim()]=r),r=!0;return r}}function vs(e,t,n){return t&&=0<=t.indexOf(`;`)?ys(e,t,n):jo(t,function(t,r,i,a){return r?((r=vs(e,n[r],n))&&r!==`initial`?r===`apply-shim-inherit`&&(r=`inherit`):r=vs(e,n[i]||i,n)||i,t+(r||``)+a):t+a}),t&&t.trim()||``}function ys(e,t,n){t=t.split(`;`);for(var r=0,i,a;r<t.length;r++)if(i=t[r]){if(go.lastIndex=0,a=go.exec(i))i=vs(e,n[a[1]],n);else if(a=i.indexOf(`:`),a!==-1){var o=i.substring(a);o=o.trim(),o=vs(e,o,n)||o,i=i.substring(0,a)+o}t[r]=i&&i.lastIndexOf(`;`)===i.length-1?i.slice(0,-1):i||``}return t.join(`;`)}function bs(e,t){var n={},r=[];return To(e,function(e){e.F||gs(e);var i=e.G||e.parsedSelector;t&&e.F.P&&i&&ds.call(t,i)&&(_s(e,n),e=e.index,i=parseInt(e/32,10),r[i]=(r[i]||0)|1<<e%32)},null,!0),{P:n,key:r}}function xs(e,t,n,r){if(t.F||gs(t),t.F.P){var i=Po(e);e=i.is,i=i.ja,i=e?Ko(e,i):`html`;var a=t.parsedSelector,o=!!a.match(fs)||i===`html`&&-1<a.indexOf(`html`),s=a.indexOf(`:host`)===0&&!o;n===`shady`&&(o=a===i+` > *.`+i||a.indexOf(`html`)!==-1,s=!o&&a.indexOf(i)===0),(o||s)&&(n=i,s&&(t.G||=qo(X,t,X.h,e?`.`+e:``,i),n=t.G||i),o&&i===`html`&&(n=t.G||t.O),r({Ea:n,gb:s,vb:o}))}}function Ss(e,t,n){var r={},i={};return To(t,function(t){xs(e,t,n,function(n){ds.call(e._element||e,n.Ea)&&(n.gb?_s(t,r):_s(t,i))})},null,!0),{mb:i,eb:r}}function Cs(e,t,n,r){var i=Po(t),a=Ko(i.is,i.ja),o=RegExp(`(?:^|[^.#[:])`+(t.extends?`\\`+a.slice(0,-1)+`\\]`:a)+`($|[.:[\\s>+~])`),s=Z(t);i=s.M,s=s.cssBuild;var c=ws(i,r);return Wo(t,i,function(t){var i=``;if(t.F||gs(t),t.F.cssText&&(i=ys(e,t.F.cssText,n)),t.cssText=i,!J&&!wo(t)&&t.cssText){var s=i=t.cssText;if(t.Ma??=vo.test(i),t.Ma){if(t.ra==null)for(var l in t.ra=[],c)s=c[l],s=s(i),i!==s&&(i=s,t.ra.push(l));else{for(l=0;l<t.ra.length;++l)s=c[t.ra[l]],i=s(i);s=i}}t.cssText=s,t.G=t.G||t.selector,i=`.`+r,l=Fo(t.G),s=0;for(var u=l.length,d=void 0;s<u&&(d=l[s]);s++)l[s]=d.match(o)?d.replace(a,i):i+` `+d;t.selector=l.join(`,`)}},s)}function ws(e,t){e=e.h;var n={};if(!J&&e)for(var r=0,i=e[r];r<e.length;i=e[++r]){var a=i,o=t;a.u=RegExp(`\\b`+a.keyframesName+`(?!\\B|-)`,`g`),a.g=a.keyframesName+`-`+o,a.G=a.G||a.selector,a.selector=a.G.replace(a.keyframesName,a.g),n[i.keyframesName]=Ts(i)}return n}function Ts(e){return function(t){return t.replace(e.u,e.g)}}function Es(e,t){var n=Ds;e.textContent=So(Co(e),function(e){var r=e.cssText=e.parsedCssText;e.F&&e.F.cssText&&(r=r.replace(io,``).replace(ao,``),e.cssText=ys(n,r,t))})}i.Object.defineProperties(ms.prototype,{g:{configurable:!0,enumerable:!0,get:function(){return`x-scope`}}});var Ds=new ms,Os={},ks=window.customElements;if(ks&&!J&&!mo){var As=ks.define;ks.define=function(e,t,n){Os[e]||(Os[e]=Oo(e)),As.call(ks,e,t,n)}}function js(){this.cache={}}js.prototype.store=function(e,t,n,r){var i=this.cache[e]||[];i.push({P:t,styleElement:n,L:r}),100<i.length&&i.shift(),this.cache[e]=i};function Ms(){}var Ns=RegExp(X.g+`\\s*([^\\s]*)`);function Ps(e){return(e=(e.classList&&e.classList.value?e.classList.value:e.getAttribute(`class`)||``).match(Ns))?e[1]:``}function Fs(e){var t=No(e).getRootNode();return t===e||t===e.ownerDocument?``:(e=t.host)?Po(e).is:``}function Is(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.target!==document.documentElement&&n.target!==document.head)for(var r=0;r<n.addedNodes.length;r++){var i=n.addedNodes[r];if(i.nodeType===Node.ELEMENT_NODE){var a=i.getRootNode(),o=Ps(i);if(o&&a===i.ownerDocument&&(i.localName!==`style`&&i.localName!==`template`||Io(i)===``))Uo(i,o);else if(a instanceof ShadowRoot)for(a=Fs(i),a!==o&&Ho(i,o,a),i=window.ShadyDOM.nativeMethods.querySelectorAll.call(i,`:not(.`+X.g+`)`),o=0;o<i.length;o++){a=i[o];var s=Fs(a);s&&Vo(a,s)}}}}}if(!(J||window.ShadyDOM&&window.ShadyDOM.handlesDynamicScoping)){var Ls=new MutationObserver(Is),Rs=function(e){Ls.observe(e,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)Rs(document);else{var zs=function(){Rs(document.body)};window.HTMLImports?window.HTMLImports.whenReady(zs):requestAnimationFrame(function(){if(document.readyState===`loading`){var e=function(){zs(),document.removeEventListener(`readystatechange`,e)};document.addEventListener(`readystatechange`,e)}else zs()})}Ms=function(){Is(Ls.takeRecords())}}var Bs={},Vs=Promise.resolve();function Hs(e){(e=Bs[e])&&(e._applyShimCurrentVersion=e._applyShimCurrentVersion||0,e._applyShimValidatingVersion=e._applyShimValidatingVersion||0,e._applyShimNextVersion=(e._applyShimNextVersion||0)+1)}function Us(e){return e._applyShimCurrentVersion===e._applyShimNextVersion}function Ws(e){e._applyShimValidatingVersion=e._applyShimNextVersion,e._validating||(e._validating=!0,Vs.then(function(){e._applyShimCurrentVersion=e._applyShimNextVersion,e._validating=!1}))}var Gs={},Ks=new js;function Q(){this.ea={},this.i=document.documentElement;var e=new qa;e.rules=[],this.u=us(this.i,new ls(e)),this.O=!1,this.g=this.h=null}e=Q.prototype,e.flush=function(){Ms()},e.bb=function(e){return Co(e)},e.qb=function(e){return So(e)},e.prepareTemplate=function(e,t,n){this.prepareTemplateDom(e,t),this.prepareTemplateStyles(e,t,n)},e.prepareTemplateStyles=function(e,t,n){if(!e._prepared&&!mo){J||Os[t]||(Os[t]=Oo(t)),e._prepared=!0,e.name=t,e.extends=n,Bs[t]=e;var r=Io(e),i=Lo(r);n={is:t,extends:n};for(var a=[],o=e.content.querySelectorAll(`style`),s=0;s<o.length;s++){var c=o[s];if(c.hasAttribute(`shady-unscoped`)){if(!J){var l=c.textContent;if(!xo.has(l)){xo.add(l);var u=document.createElement(`style`);u.setAttribute(`shady-unscoped`,``),u.textContent=l,document.head.appendChild(u)}c.parentNode.removeChild(c)}}else a.push(c.textContent),c.parentNode.removeChild(c)}a=a.join(``).trim()+(Gs[t]||``),Ys(this),i||((o=!r)&&(o=go.test(a)||ho.test(a),go.lastIndex=0,ho.lastIndex=0),s=Ja(a),o&&Y&&this.h&&this.h.transformRules(s,t),e._styleAst=s),o=[],Y||(o=hs(e._styleAst)),(!o.length||Y)&&(s=J?e.content:null,t=Os[t]||null,r=Wo(n,e._styleAst,null,r,i?a:``),r=r.length?Eo(r,n.is,s,t):null,e._style=r),e.g=o}},e.kb=function(e,t){Gs[t]=e.join(` `)},e.prepareTemplateDom=function(e,t){if(!mo){var n=Io(e);J||n===`shady`||e._domPrepared||(e._domPrepared=!0,zo(e.content,t))}};function qs(e){var t=Po(e),n=t.is;t=t.ja;var r=Os[n]||null,i=Bs[n];if(i){n=i._styleAst;var a=i.g;return i=Io(i),t=new ls(n,r,a,t,i),us(e,t),t}}function Js(e){!e.g&&window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface&&(e.g=window.ShadyCSS.CustomStyleInterface,e.g.transformCallback=function(t){e.Qa(t)},e.g.validateCallback=function(){requestAnimationFrame(function(){(e.g.enqueued||e.O)&&e.flushCustomStyles()})})}function Ys(e){if(!e.h&&window.ShadyCSS&&window.ShadyCSS.ApplyShim){e.h=window.ShadyCSS.ApplyShim,e.h.invalidCallback=Hs;var t=!0}else t=!1;return Js(e),t}e.flushCustomStyles=function(){if(!mo){var e=Ys(this);if(this.g){var t=this.g.processStyles();if((e||this.g.enqueued)&&!Lo(this.u.cssBuild)){if(Y){if(!this.u.cssBuild)for(e=0;e<t.length;e++){var n=this.g.getStyleForCustomStyle(t[e]);if(n&&Y&&this.h){var r=Co(n);Ys(this),this.h.transformRules(r),n.textContent=So(r)}}}else{for(Xs(this,t),$s(this,this.i,this.u),e=0;e<t.length;e++)(n=this.g.getStyleForCustomStyle(t[e]))&&Es(n,this.u.R);this.O&&this.styleDocument()}this.g.enqueued=!1}}}};function Xs(e,t){t=t.map(function(t){return e.g.getStyleForCustomStyle(t)}).filter(function(e){return!!e}),t.sort(function(e,t){return e=t.compareDocumentPosition(e),e&Node.DOCUMENT_POSITION_FOLLOWING?1:e&Node.DOCUMENT_POSITION_PRECEDING?-1:0}),e.u.M.rules=t.map(function(e){return Co(e)})}e.styleElement=function(e,t){if(mo){if(t){Z(e)||us(e,new ls(null));var n=Z(e);n.K=n.K||{},Object.assign(n.K,t),Zs(this,e,n)}}else if(n=Z(e)||qs(e)){if(e!==this.i&&(this.O=!0),t&&(n.K=n.K||{},Object.assign(n.K,t)),Y)Zs(this,e,n);else if(this.flush(),$s(this,e,n),n.Ca&&n.Ca.length){t=Po(e).is;var r;a:{if(r=Ks.cache[t])for(var i=r.length-1;0<=i;i--){var a=r[i];b:{for(var o=n.Ca,s=0;s<o.length;s++){var c=o[s];if(a.P[c]!==n.R[c]){o=!1;break b}}o=!0}if(o){r=a;break a}}r=void 0}o=r?r.styleElement:null,i=n.L,(a=r&&r.L)||(a=this.ea[t]=(this.ea[t]||0)+1,a=t+`-`+a),n.L=a,a=n.L,s=Ds,s=o?o.textContent||``:Cs(s,e,n.R,a),c=Z(e);var l=c.g;l&&!J&&l!==o&&(l._useCount--,0>=l._useCount&&l.parentNode&&l.parentNode.removeChild(l)),J?c.g?(c.g.textContent=s,o=c.g):s&&(o=Eo(s,a,e.shadowRoot,c.h)):o?o.parentNode||(ps&&-1<s.indexOf(`@media`)&&(o.textContent=s),ko(o,null,c.h)):s&&(o=Eo(s,a,null,c.h)),o&&(o._useCount=o._useCount||0,c.g!=o&&o._useCount++,c.g=o),a=o,J||(o=n.L,c=s=e.getAttribute(`class`)||``,i&&(c=s.replace(RegExp(`\\s*x-scope\\s*`+i+`\\s*`,`g`),` `)),c+=(c?` `:``)+`x-scope `+o,s!==c&&Mo(e,c)),r||Ks.store(t,n.R,a,n.L)}}};function Zs(e,t,n){var r=Po(t).is;if(n.K){var i=n.K,a;for(a in i)a===null?t.style.removeProperty(a):t.style.setProperty(a,i[a])}i=Bs[r],!(!i&&t!==e.i||i&&Io(i)!==``)&&i&&i._style&&!Us(i)&&((Us(i)||i._applyShimValidatingVersion!==i._applyShimNextVersion)&&(Ys(e),e.h&&e.h.transformRules(i._styleAst,r),i._style.textContent=Wo(t,n.M),Ws(i)),J&&(e=t.shadowRoot)&&(e=e.querySelector(`style`))&&(e.textContent=Wo(t,n.M)),n.M=i._styleAst)}function Qs(e,t){return(t=No(t).getRootNode().host)?Z(t)||qs(t)?t:Qs(e,t):e.i}function $s(e,t,n){var r=Qs(e,t),i=Z(r),a=i.R;for(var o in r===e.i||a||($s(e,r,i),a=i.R),e=Object.create(a||null),r=Ss(t,n.M,n.cssBuild),t=bs(i.M,t).P,Object.assign(e,r.eb,t,r.mb),t=n.K,t)((i=t[o])||i===0)&&(e[o]=i);for(o=Ds,t=Object.getOwnPropertyNames(e),i=0;i<t.length;i++)r=t[i],e[r]=vs(o,e[r],e);n.R=e}e.styleDocument=function(e){this.styleSubtree(this.i,e)},e.styleSubtree=function(e,t){var n=No(e),r=n.shadowRoot,i=e===this.i;if((r||i)&&this.styleElement(e,t),e=i?n:r)for(e=Array.from(e.querySelectorAll(`*`)).filter(function(e){return No(e).shadowRoot}),t=0;t<e.length;t++)this.styleSubtree(e[t])},e.Qa=function(e){var t=this,n=Io(e);if(n!==this.u.cssBuild&&(this.u.cssBuild=n),!Lo(n)){var r=Co(e);To(r,function(e){if(J)es(e);else{var r=X;e.selector=e.parsedSelector,es(e),e.selector=e.G=qo(r,e,r.i,void 0,void 0)}Y&&n===``&&(Ys(t),t.h&&t.h.transformRule(e))}),Y?e.textContent=So(r):this.u.M.rules.push(r)}},e.getComputedStyleValue=function(e,t){var n;return Y||(n=(Z(e)||Z(Qs(this,e))).R[t]),(n||=window.getComputedStyle(e).getPropertyValue(t))?n.trim():``},e.pb=function(e,t){var n=No(e).getRootNode();if(t=t?(typeof t==`string`?t:String(t)).split(/\s/):[],n=n.host&&n.host.localName,!n){var r=e.getAttribute(`class`);if(r){r=r.split(/\s/);for(var i=0;i<r.length;i++)if(r[i]===X.g){n=r[i+1];break}}}n&&t.push(X.g,n),Y||(n=Z(e))&&n.L&&t.push(Ds.g,n.L),Mo(e,t.join(` `))},e.Xa=function(e){return Z(e)},e.ob=function(e,t){Vo(e,t)},e.rb=function(e,t){Vo(e,t,!0)},e.nb=function(e){return Fs(e)},e.$a=function(e){return Ps(e)},Q.prototype.flush=Q.prototype.flush,Q.prototype.prepareTemplate=Q.prototype.prepareTemplate,Q.prototype.styleElement=Q.prototype.styleElement,Q.prototype.styleDocument=Q.prototype.styleDocument,Q.prototype.styleSubtree=Q.prototype.styleSubtree,Q.prototype.getComputedStyleValue=Q.prototype.getComputedStyleValue,Q.prototype.setElementClass=Q.prototype.pb,Q.prototype._styleInfoForNode=Q.prototype.Xa,Q.prototype.transformCustomStyleForDocument=Q.prototype.Qa,Q.prototype.getStyleAst=Q.prototype.bb,Q.prototype.styleAstToString=Q.prototype.qb,Q.prototype.flushCustomStyles=Q.prototype.flushCustomStyles,Q.prototype.scopeNode=Q.prototype.ob,Q.prototype.unscopeNode=Q.prototype.rb,Q.prototype.scopeForNode=Q.prototype.nb,Q.prototype.currentScopeForNode=Q.prototype.$a,Q.prototype.prepareAdoptedCssText=Q.prototype.kb,Object.defineProperties(Q.prototype,{nativeShadow:{get:function(){return J}},nativeCss:{get:function(){return Y}}});var $=new Q,ec,tc;window.ShadyCSS&&(ec=window.ShadyCSS.ApplyShim,tc=window.ShadyCSS.CustomStyleInterface),window.ShadyCSS={ScopingShim:$,prepareTemplate:function(e,t,n){$.flushCustomStyles(),$.prepareTemplate(e,t,n)},prepareTemplateDom:function(e,t){$.prepareTemplateDom(e,t)},prepareTemplateStyles:function(e,t,n){$.flushCustomStyles(),$.prepareTemplateStyles(e,t,n)},styleSubtree:function(e,t){$.flushCustomStyles(),$.styleSubtree(e,t)},styleElement:function(e){$.flushCustomStyles(),$.styleElement(e)},styleDocument:function(e){$.flushCustomStyles(),$.styleDocument(e)},flushCustomStyles:function(){$.flushCustomStyles()},getComputedStyleValue:function(e,t){return $.getComputedStyleValue(e,t)},nativeCss:Y,nativeShadow:J,cssBuild:po,disableRuntime:mo},ec&&(window.ShadyCSS.ApplyShim=ec),tc&&(window.ShadyCSS.CustomStyleInterface=tc),(function(e){function t(e){return e==``&&(a.call(this),this.m=!0),e.toLowerCase()}function n(e){var t=e.charCodeAt(0);return 32<t&&127>t&&[34,35,60,62,63,96].indexOf(t)==-1?e:encodeURIComponent(e)}function r(e){var t=e.charCodeAt(0);return 32<t&&127>t&&[34,35,60,62,96].indexOf(t)==-1?e:encodeURIComponent(e)}function i(e,i,o){function s(e){ee.push(e)}var c=i||`scheme start`,p=0,m=``,h=!1,g=!1,ee=[];a:for(;(e[p-1]!=null||p==0)&&!this.m;){var _=e[p];switch(c){case`scheme start`:if(_&&d.test(_))m+=_.toLowerCase(),c=`scheme`;else if(i){s(`Invalid scheme.`);break a}else{m=``,c=`no scheme`;continue}break;case`scheme`:if(_&&f.test(_))m+=_.toLowerCase();else if(_==`:`){if(this.l=m,m=``,i)break a;l[this.l]!==void 0&&(this.H=!0),c=this.l==`file`?`relative`:this.H&&o&&o.l==this.l?`relative or authority`:this.H?`authority first slash`:`scheme data`}else if(i){_!=null&&s(`Code point not allowed in scheme: `+_);break a}else{m=``,p=0,c=`no scheme`;continue}break;case`scheme data`:_==`?`?(this.A=`?`,c=`query`):_==`#`?(this.C=`#`,c=`fragment`):_!=null&&_!=` `&&_!=`
20
+ `&&_!=`\r`&&(this.ya+=n(_));break;case`no scheme`:if(o&&l[o.l]!==void 0){c=`relative`;continue}s(`Missing scheme.`),a.call(this),this.m=!0;break;case`relative or authority`:if(_==`/`&&e[p+1]==`/`)c=`authority ignore slashes`;else{s(`Expected /, got: `+_),c=`relative`;continue}break;case`relative`:if(this.H=!0,this.l!=`file`&&(this.l=o.l),_==null){this.o=o.o,this.v=o.v,this.s=o.s.slice(),this.A=o.A,this.B=o.B,this.j=o.j;break a}if(_==`/`||_==`\\`)_==`\\`&&s(`\\ is an invalid code point.`),c=`relative slash`;else if(_==`?`)this.o=o.o,this.v=o.v,this.s=o.s.slice(),this.A=`?`,this.B=o.B,this.j=o.j,c=`query`;else if(_==`#`)this.o=o.o,this.v=o.v,this.s=o.s.slice(),this.A=o.A,this.C=`#`,this.B=o.B,this.j=o.j,c=`fragment`;else{c=e[p+1];var v=e[p+2];(this.l!=`file`||!d.test(_)||c!=`:`&&c!=`|`||v!=null&&v!=`/`&&v!=`\\`&&v!=`?`&&v!=`#`)&&(this.o=o.o,this.v=o.v,this.B=o.B,this.j=o.j,this.s=o.s.slice(),this.s.pop()),c=`relative path`;continue}break;case`relative slash`:if(_==`/`||_==`\\`)_==`\\`&&s(`\\ is an invalid code point.`),c=this.l==`file`?`file host`:`authority ignore slashes`;else{this.l!=`file`&&(this.o=o.o,this.v=o.v,this.B=o.B,this.j=o.j),c=`relative path`;continue}break;case`authority first slash`:if(_==`/`)c=`authority second slash`;else{s(`Expected '/', got: `+_),c=`authority ignore slashes`;continue}break;case`authority second slash`:if(c=`authority ignore slashes`,_!=`/`){s(`Expected '/', got: `+_);continue}break;case`authority ignore slashes`:if(_!=`/`&&_!=`\\`){c=`authority`;continue}s(`Expected authority, got: `+_);break;case`authority`:if(_==`@`){for(h&&(s(`@ already seen.`),m+=`%40`),h=!0,_=0;_<m.length;_++)v=m[_],v==` `||v==`
21
+ `||v==`\r`?s(`Invalid whitespace in authority.`):v==`:`&&this.j===null?this.j=``:(v=n(v),this.j===null?this.B+=v:this.j+=v);m=``}else if(_==null||_==`/`||_==`\\`||_==`?`||_==`#`){p-=m.length,m=``,c=`host`;continue}else m+=_;break;case`file host`:if(_==null||_==`/`||_==`\\`||_==`?`||_==`#`){m.length!=2||!d.test(m[0])||m[1]!=`:`&&m[1]!=`|`?(m.length!=0&&(this.o=t.call(this,m),m=``),c=`relative path start`):c=`relative path`;continue}_==` `||_==`
22
+ `||_==`\r`?s(`Invalid whitespace in file host.`):m+=_;break;case`host`:case`hostname`:if(_!=`:`||g){if(_==null||_==`/`||_==`\\`||_==`?`||_==`#`){if(this.o=t.call(this,m),m=``,c=`relative path start`,i)break a;continue}_!=` `&&_!=`
23
+ `&&_!=`\r`?(_==`[`?g=!0:_==`]`&&(g=!1),m+=_):s(`Invalid code point in host/hostname: `+_)}else if(this.o=t.call(this,m),m=``,c=`port`,i==`hostname`)break a;break;case`port`:if(/[0-9]/.test(_))m+=_;else if(_==null||_==`/`||_==`\\`||_==`?`||_==`#`||i){if(m!=``&&(m=parseInt(m,10),m!=l[this.l]&&(this.v=m+``),m=``),i)break a;c=`relative path start`;continue}else _==` `||_==`
24
24
  `||_==`\r`?s(`Invalid code point in port: `+_):(a.call(this),this.m=!0);break;case`relative path start`:if(_==`\\`&&s(`'\\' not allowed in path.`),c=`relative path`,_!=`/`&&_!=`\\`)continue;break;case`relative path`:_!=null&&_!=`/`&&_!=`\\`&&(i||_!=`?`&&_!=`#`)?_!=` `&&_!=`
25
25
  `&&_!=`\r`&&(m+=n(_)):(_==`\\`&&s(`\\ not allowed in relative path.`),(v=u[m.toLowerCase()])&&(m=v),m==`..`?(this.s.pop(),_!=`/`&&_!=`\\`&&this.s.push(``)):m==`.`&&_!=`/`&&_!=`\\`?this.s.push(``):m!=`.`&&(this.l==`file`&&this.s.length==0&&m.length==2&&d.test(m[0])&&m[1]==`|`&&(m=m[0]+`:`),this.s.push(m)),m=``,_==`?`?(this.A=`?`,c=`query`):_==`#`&&(this.C=`#`,c=`fragment`));break;case`query`:i||_!=`#`?_!=null&&_!=` `&&_!=`
26
26
  `&&_!=`\r`&&(this.A+=r(_)):(this.C=`#`,c=`fragment`);break;case`fragment`:_!=null&&_!=` `&&_!=`