(function(){"use strict";var t;function e(t){var e=0;return function(){return e\x20\t\r\n\f]+)/i.exec(e)||["",""])[1].toLowerCase()];if(n)for(var r=0;r"+e+"";for(y.body.innerHTML=e,t.a(y);this.content.firstChild;)l.call(this.content,this.content.firstChild);if(e=y.body,n)for(r=0;r"+this.innerHTML+""},set:function(t){if(!this.parentNode)throw Error("Failed to set the 'outerHTML' property on 'Element': This element has no parent node.");for(y.body.innerHTML=t,t=this.ownerDocument.createDocumentFragment();y.body.firstChild;)c.call(t,y.body.firstChild);u.call(this.parentNode,t,this)},configurable:!0})};C(t.prototype),S(t.prototype),t.a=function(n){for(var r,o=0,i=(n=e(n,"template")).length;o]/g,D=function(t){switch(t){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case"\xa0":return" "}},x=(b=function(t){for(var e={},n=0;n";break t;case Node.TEXT_NODE:s=s.data,s=l&&M[l.localName]?s:s.replace(O,D);break t;case Node.COMMENT_NODE:s="\x3c!--"+s.data+"--\x3e";break t;default:throw window.console.error(s),Error("not implemented")}}r+=s}return r}}if(n||v){t.b=function(t,e){var n=i.call(t,!1);return this.U&&this.U(n),e&&(c.call(n.content,i.call(t.content,!0)),A(n.content,t.content)),n};var A=function(n,r){if(r.querySelectorAll&&0!==(r=e(r,"template")).length)for(var o,i,a=0,s=(n=e(n,"template")).length;a]/g;function At(t){switch(t){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case"\xa0":return" "}}function Lt(t){for(var e={},n=0;n";break t;case Node.TEXT_NODE:s=s.data,s=l&&kt[l.localName]?s:s.replace(Pt,At);break t;case Node.COMMENT_NODE:s="\x3c!--"+s.data+"--\x3e";break t;default:throw window.console.error(s),Error("not implemented")}}n+=s}return n}var Ht=ot.B,Ft={querySelector:function(t){return this.__shady_native_querySelector(t)},querySelectorAll:function(t){return this.__shady_native_querySelectorAll(t)}},It={};function Ut(t){It[t]=function(e){return e["__shady_native_"+t]}}function Bt(t,e){for(var n in Et(t,e,"__shady_native_"),e)Ut(n)}function qt(t,e){e=void 0===e?[]:e;for(var n=0;no.assignedNodes.length&&(o.ra=!0)}o.ra&&(o.ra=!1,jn(this,e))}for(e=this.a,n=[],o=0;on.indexOf(r))||n.push(r);for(e=0;e "+e})))}return{value:t,Qa:e,stop:i}}(i,o,e,n),r=r||t.stop,o=t.Qa,i=t.value),o+i})),i&&(t=function(t,e){var n=t.split("\ue000");return e.reduce((function(t,e,r){return t+e+n[r+1]}),n[0])}(t,a)),o&&(t=Qo(t)),t.replace(li,(function(t,e,n,r){return'[dir="'+n+'"] '+e+r+", "+e+'[dir="'+n+'"]'+r}))},Go.prototype.c=function(t){return t.match(":host")?"":t.match("::slotted")?this.b(t,":not(.style-scope)"):ti(t.trim(),":not(.style-scope)")},r.Object.defineProperties(Go.prototype,{a:{configurable:!0,enumerable:!0,get:function(){return"style-scope"}}});var ni=/:(nth[-\w]+)\(([^)]+)\)/,ri=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,oi=/[[.:#*]/,ii=/^(::slotted)/,ai=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,si=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,li=/(.*):dir\((?:(ltr|rtl))\)(.*)/,ci=/:(?:matches|any|-(?:webkit|moz)-any)/,ui=new Go;function hi(t,e,n,r,o){this.H=t||null,this.b=e||null,this.ta=n||[],this.F=null,this.cssBuild=o||"",this.ca=r||"",this.a=this.G=this.L=null}function di(t){return t?t.__styleInfo:null}function fi(t,e){return t.__styleInfo=e}function pi(t){var e=this.matches||this.matchesSelector||this.mozMatchesSelector||this.msMatchesSelector||this.oMatchesSelector||this.webkitMatchesSelector;return e&&e.call(this,t)}hi.prototype._getStyleRules=hi.prototype.c=function(){return this.H};var _i=/:host\s*>\s*/,mi=navigator.userAgent.match("Trident");function vi(){}function yi(t){if(!t.v){var e={},n={};gi(t,n)&&(e.K=n,t.rules=null),e.cssText=t.parsedCssText.replace(Do,"").replace(No,""),t.v=e}}function gi(t,e){var n=t.v;if(!n){n=t.parsedCssText;for(var r;t=No.exec(n);)"inherit"===(r=(t[2]||t[3]).trim())&&"unset"===r||(e[t[1].trim()]=r),r=!0;return r}if(n.K)return Object.assign(e,n.K),!0}function bi(t,e,n){return e&&(e=0<=e.indexOf(";")?Ei(t,e,n):function t(e,n){var r=e.indexOf("var(");if(-1===r)return n(e,"","","");var o=Fo(e,r+3),i=e.substring(r+4,o);return r=e.substring(0,r),e=t(e.substring(o+1),n),-1===(o=i.indexOf(","))?n(r,i.trim(),"",e):n(r,i.substring(0,o).trim(),i.substring(o+1).trim(),e)}(e,(function(e,r,o,i){return r?((r=bi(t,n[r],n))&&"initial"!==r?"apply-shim-inherit"===r&&(r="inherit"):r=bi(t,n[o]||o,n)||o,e+(r||"")+i):e+i}))),e&&e.trim()||""}function Ei(t,e,n){e=e.split(";");for(var r,o,i=0;i *."+o||-1!==i.indexOf("html"))&&0===i.indexOf(o)),(a||s)&&(n=o,s&&(e.w||(e.w=Zo(ui,e,ui.b,t?"."+t:"",o)),n=e.w||o),a&&"html"===o&&(n=e.w||e.J),r({wa:n,Xa:s,mb:a}))}}(t,e,n,(function(n){pi.call(t._element||t,n.wa)&&gi(e,n.Xa?r:o)}))}),null,!0),{cb:o,Va:r}}(e,n.H,n.cssBuild),e=function(t,e){var n={},r=[];return Lo(t,(function(t){t.v||yi(t);var o=t.w||t.parsedSelector;e&&t.v.K&&o&&pi.call(e,o)&&(gi(t,n),t=t.index,o=parseInt(t/32,10),r[o]=(r[o]||0)|1<+~])"),s=di(e);o=s.H,s=s.cssBuild;var l=function(t,e){t=t.b;var n={};if(!go&&t)for(var r=0,o=t[r];r=c._useCount&&c.parentNode&&c.parentNode.removeChild(c)),go?l.a?(l.a.textContent=s,a=l.a):s&&(a=jo(s,i,t.shadowRoot,l.b)):a?a.parentNode||(mi&&-1e&&-1==[34,35,60,62,63,96].indexOf(e)?t:encodeURIComponent(t)}function r(t){var e=t.charCodeAt(0);return 32e&&-1==[34,35,60,62,96].indexOf(e)?t:encodeURIComponent(t)}function o(t,o,a){function s(t){v.push(t)}var l=o||"scheme start",f=0,p="",_=!1,m=!1,v=[];t:for(;(null!=t[f-1]||0==f)&&!this.h;){var y=t[f];switch(l){case"scheme start":if(!y||!h.test(y)){if(o){s("Invalid scheme.");break t}p="",l="no scheme";continue}p+=y.toLowerCase(),l="scheme";break;case"scheme":if(y&&d.test(y))p+=y.toLowerCase();else{if(":"!=y){if(o){null!=y&&s("Code point not allowed in scheme: "+y);break t}p="",f=0,l="no scheme";continue}if(this.g=p,p="",o)break t;void 0!==c[this.g]&&(this.A=!0),l="file"==this.g?"relative":this.A&&a&&a.g==this.g?"relative or authority":this.A?"authority first slash":"scheme data"}break;case"scheme data":"?"==y?(this.o="?",l="query"):"#"==y?(this.u="#",l="fragment"):null!=y&&"\t"!=y&&"\n"!=y&&"\r"!=y&&(this.pa+=n(y));break;case"no scheme":if(a&&void 0!==c[a.g]){l="relative";continue}s("Missing scheme."),i.call(this),this.h=!0;break;case"relative or authority":if("/"!=y||"/"!=t[f+1]){s("Expected /, got: "+y),l="relative";continue}l="authority ignore slashes";break;case"relative":if(this.A=!0,"file"!=this.g&&(this.g=a.g),null==y){this.i=a.i,this.m=a.m,this.j=a.j.slice(),this.o=a.o,this.s=a.s,this.f=a.f;break t}if("/"==y||"\\"==y)"\\"==y&&s("\\ is an invalid code point."),l="relative slash";else if("?"==y)this.i=a.i,this.m=a.m,this.j=a.j.slice(),this.o="?",this.s=a.s,this.f=a.f,l="query";else{if("#"!=y){l=t[f+1];var g=t[f+2];("file"!=this.g||!h.test(y)||":"!=l&&"|"!=l||null!=g&&"/"!=g&&"\\"!=g&&"?"!=g&&"#"!=g)&&(this.i=a.i,this.m=a.m,this.s=a.s,this.f=a.f,this.j=a.j.slice(),this.j.pop()),l="relative path";continue}this.i=a.i,this.m=a.m,this.j=a.j.slice(),this.o=a.o,this.u="#",this.s=a.s,this.f=a.f,l="fragment"}break;case"relative slash":if("/"!=y&&"\\"!=y){"file"!=this.g&&(this.i=a.i,this.m=a.m,this.s=a.s,this.f=a.f),l="relative path";continue}"\\"==y&&s("\\ is an invalid code point."),l="file"==this.g?"file host":"authority ignore slashes";break;case"authority first slash":if("/"!=y){s("Expected '/', got: "+y),l="authority ignore slashes";continue}l="authority second slash";break;case"authority second slash":if(l="authority ignore slashes","/"!=y){s("Expected '/', got: "+y);continue}break;case"authority ignore slashes":if("/"!=y&&"\\"!=y){l="authority";continue}s("Expected authority, got: "+y);break;case"authority":if("@"==y){for(_&&(s("@ already seen."),p+="%40"),_=!0,y=0;y