@openremote/manager 1.8.0-snapshot.20250725120000 → 1.8.0-snapshot.20250725123024

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.
Files changed (85) hide show
  1. package/dist/bundle.5f4402fd359cc316.js +3678 -0
  2. package/dist/bundle.ddd2e478dcd11d3c.js +3678 -0
  3. package/dist/images/Icon-128.png +0 -0
  4. package/dist/images/Icon-144.png +0 -0
  5. package/dist/images/Icon-196.png +0 -0
  6. package/dist/images/Icon-256.png +0 -0
  7. package/dist/images/Icon-48.png +0 -0
  8. package/dist/images/Icon-512.png +0 -0
  9. package/dist/images/Icon-72.png +0 -0
  10. package/dist/images/favicon.ico +0 -0
  11. package/dist/index.html +19 -0
  12. package/dist/modules/@webcomponents/webcomponentsjs/CHANGELOG.md +76 -0
  13. package/dist/modules/@webcomponents/webcomponentsjs/LICENSE.md +19 -0
  14. package/dist/modules/@webcomponents/webcomponentsjs/README.md +259 -0
  15. package/dist/modules/@webcomponents/webcomponentsjs/bundles/webcomponents-ce.js +1 -0
  16. package/dist/modules/@webcomponents/webcomponentsjs/bundles/webcomponents-ce.js.map +1 -0
  17. package/dist/modules/@webcomponents/webcomponentsjs/bundles/webcomponents-pf_dom.js +1 -0
  18. package/dist/modules/@webcomponents/webcomponentsjs/bundles/webcomponents-pf_dom.js.map +1 -0
  19. package/dist/modules/@webcomponents/webcomponentsjs/bundles/webcomponents-pf_js.js +1 -0
  20. package/dist/modules/@webcomponents/webcomponentsjs/bundles/webcomponents-pf_js.js.map +1 -0
  21. package/dist/modules/@webcomponents/webcomponentsjs/bundles/webcomponents-sd-ce-pf.js +1 -0
  22. package/dist/modules/@webcomponents/webcomponentsjs/bundles/webcomponents-sd-ce-pf.js.map +1 -0
  23. package/dist/modules/@webcomponents/webcomponentsjs/bundles/webcomponents-sd-ce.js +1 -0
  24. package/dist/modules/@webcomponents/webcomponentsjs/bundles/webcomponents-sd-ce.js.map +1 -0
  25. package/dist/modules/@webcomponents/webcomponentsjs/bundles/webcomponents-sd.js +1 -0
  26. package/dist/modules/@webcomponents/webcomponentsjs/bundles/webcomponents-sd.js.map +1 -0
  27. package/dist/modules/@webcomponents/webcomponentsjs/custom-elements-es5-adapter.js +1 -0
  28. package/dist/modules/@webcomponents/webcomponentsjs/package.json +51 -0
  29. package/dist/modules/@webcomponents/webcomponentsjs/src/entrypoints/custom-elements-es5-adapter-index.js +1 -0
  30. package/dist/modules/@webcomponents/webcomponentsjs/src/entrypoints/webcomponents-bundle-index.js +1 -0
  31. package/dist/modules/@webcomponents/webcomponentsjs/src/entrypoints/webcomponents-ce-index.js +1 -0
  32. package/dist/modules/@webcomponents/webcomponentsjs/src/entrypoints/webcomponents-pf_dom-index.js +1 -0
  33. package/dist/modules/@webcomponents/webcomponentsjs/src/entrypoints/webcomponents-pf_js-index.js +1 -0
  34. package/dist/modules/@webcomponents/webcomponentsjs/src/entrypoints/webcomponents-sd-ce-index.js +1 -0
  35. package/dist/modules/@webcomponents/webcomponentsjs/src/entrypoints/webcomponents-sd-ce-pf-index.js +1 -0
  36. package/dist/modules/@webcomponents/webcomponentsjs/src/entrypoints/webcomponents-sd-index.js +1 -0
  37. package/dist/modules/@webcomponents/webcomponentsjs/src/flag-parser.js +1 -0
  38. package/dist/modules/@webcomponents/webcomponentsjs/src/platform/baseuri.js +1 -0
  39. package/dist/modules/@webcomponents/webcomponentsjs/src/platform/child-node/after.js +1 -0
  40. package/dist/modules/@webcomponents/webcomponentsjs/src/platform/child-node/before.js +1 -0
  41. package/dist/modules/@webcomponents/webcomponentsjs/src/platform/child-node/index.js +1 -0
  42. package/dist/modules/@webcomponents/webcomponentsjs/src/platform/child-node/remove.js +1 -0
  43. package/dist/modules/@webcomponents/webcomponentsjs/src/platform/child-node/replace-with.js +1 -0
  44. package/dist/modules/@webcomponents/webcomponentsjs/src/platform/custom-event.js +1 -0
  45. package/dist/modules/@webcomponents/webcomponentsjs/src/platform/es6-misc.js +1 -0
  46. package/dist/modules/@webcomponents/webcomponentsjs/src/platform/event-listener-options.js +1 -0
  47. package/dist/modules/@webcomponents/webcomponentsjs/src/platform/get-attribute-names.js +1 -0
  48. package/dist/modules/@webcomponents/webcomponentsjs/src/platform/matches.js +1 -0
  49. package/dist/modules/@webcomponents/webcomponentsjs/src/platform/parent-node/append.js +1 -0
  50. package/dist/modules/@webcomponents/webcomponentsjs/src/platform/parent-node/index.js +1 -0
  51. package/dist/modules/@webcomponents/webcomponentsjs/src/platform/parent-node/prepend.js +1 -0
  52. package/dist/modules/@webcomponents/webcomponentsjs/src/platform/parent-node/replace-children.js +1 -0
  53. package/dist/modules/@webcomponents/webcomponentsjs/src/platform/promise.js +1 -0
  54. package/dist/modules/@webcomponents/webcomponentsjs/src/platform/svg-element-class-list.js +1 -0
  55. package/dist/modules/@webcomponents/webcomponentsjs/src/platform/symbol.js +1 -0
  56. package/dist/modules/@webcomponents/webcomponentsjs/src/platform/toggle-attribute.js +1 -0
  57. package/dist/modules/@webcomponents/webcomponentsjs/src/unresolved.js +1 -0
  58. package/dist/modules/@webcomponents/webcomponentsjs/webcomponents-bundle.d.ts +175 -0
  59. package/dist/modules/@webcomponents/webcomponentsjs/webcomponents-bundle.js +1 -0
  60. package/dist/modules/@webcomponents/webcomponentsjs/webcomponents-bundle.js.map +1 -0
  61. package/dist/modules/@webcomponents/webcomponentsjs/webcomponents-loader.js +1 -0
  62. package/index.html +88 -88
  63. package/lib/components/alarms/or-alarms-table.js +56 -56
  64. package/lib/components/configuration/or-conf-json.js +25 -25
  65. package/lib/components/configuration/or-conf-map/or-conf-map-card.js +177 -177
  66. package/lib/components/configuration/or-conf-map/or-conf-map-geojson.js +24 -24
  67. package/lib/components/configuration/or-conf-map/or-conf-map-global.js +153 -153
  68. package/lib/components/configuration/or-conf-panel.js +43 -43
  69. package/lib/components/configuration/or-conf-realm/or-conf-realm-card.js +200 -200
  70. package/lib/pages/page-account.js +243 -243
  71. package/lib/pages/page-alarms.js +369 -369
  72. package/lib/pages/page-assets.js +100 -100
  73. package/lib/pages/page-configuration.js +152 -152
  74. package/lib/pages/page-export.js +191 -191
  75. package/lib/pages/page-gateway-tunnel.js +106 -106
  76. package/lib/pages/page-gateway.js +252 -252
  77. package/lib/pages/page-insights.js +19 -19
  78. package/lib/pages/page-logs.js +11 -11
  79. package/lib/pages/page-map.js +37 -37
  80. package/lib/pages/page-provisioning.js +294 -294
  81. package/lib/pages/page-realms.js +284 -284
  82. package/lib/pages/page-roles.js +279 -279
  83. package/lib/pages/page-rules.js +11 -11
  84. package/lib/pages/page-users.js +383 -383
  85. package/package.json +3 -3
@@ -0,0 +1 @@
1
+ (function(){"use strict";function e(e){var t,n="undefined"!=typeof Symbol&&Symbol.iterator&&e[Symbol.iterator];return n?n.call(e):{next:(t=0,function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}})}}function t(t){if(!(t instanceof Array)){t=e(t);for(var n,r=[];!(n=t.next()).done;)r.push(n.value);t=r}return t}var n=function(e){e=["object"==typeof globalThis&&globalThis,e,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&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")}(this);function r(){}function o(e){return e.__shady||(e.__shady=new r),e.__shady}function i(e){return e&&e.__shady}r.prototype.toJSON=function(){return{}};var s=window.ShadyDOM||{};s.Ka=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var l=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");s.j=!!(l&&l.configurable&&l.get),s.ka=s.force||!s.Ka,s.s=s.noPatch||!1,s.R=s.preferPerformance,s.ma="on-demand"===s.s;var d=s.querySelectorImplementation;function u(){return Document.prototype.msElementsFromPoint?"msElementsFromPoint":"elementsFromPoint"}function h(e){return(e=i(e))&&void 0!==e.firstChild}function c(e){return e instanceof ShadowRoot}function f(e){return(e=(e=i(e))&&e.root)&&nt(e)}s.$a=-1<["native","selectorEngine"].indexOf(d)?d:void 0,s.za=navigator.userAgent.match("Trident");var _=Element.prototype,p=_.matches||_.matchesSelector||_.mozMatchesSelector||_.msMatchesSelector||_.oMatchesSelector||_.webkitMatchesSelector,m=document.createTextNode(""),v=0,y=[];function g(e){y.push(e),m.textContent=v++}new MutationObserver(function(){for(;y.length;)try{y.shift()()}catch(e){throw m.textContent=v++,e}}).observe(m,{characterData:!0});var b=document.contains?function(e,t){return e.__shady_native_contains(t)}:function(e,t){return e===t||e.documentElement&&e.documentElement.__shady_native_contains(t)};function E(e,t){for(;t;){if(t==e)return!0;t=t.__shady_parentNode}return!1}function N(t){for(var n=t.length-1;0<=n;n--){var r=t[n],o=r.getAttribute("id")||r.getAttribute("name");o&&"length"!==o&&isNaN(o)&&(t[o]=r)}return t.item=function(e){return t[e]},t.namedItem=function(n){if("length"!==n&&isNaN(n)&&t[n])return t[n];for(var r=e(t),o=r.next();!o.done;o=r.next())if(((o=o.value).getAttribute("id")||o.getAttribute("name"))==n)return o;return null},t}function w(e){var t=[];for(e=e.__shady_native_firstChild;e;e=e.__shady_native_nextSibling)t.push(e);return t}function C(e){var t=[];for(e=e.__shady_firstChild;e;e=e.__shady_nextSibling)t.push(e);return t}function S(e,t,n){if(n.configurable=!0,n.value)e[t]=n.value;else try{Object.defineProperty(e,t,n)}catch(e){}}function T(e,t,n,r){for(var o in n=void 0===n?"":n,t)r&&0<=r.indexOf(o)||S(e,n+o,t[o])}function O(e,t){for(var n in t)n in e&&S(e,n,t[n])}function x(e){var t={};return Object.getOwnPropertyNames(e).forEach(function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)}),t}function D(e,t){for(var n,r=Object.getOwnPropertyNames(t),o=0;o<r.length;o++)e[n=r[o]]=t[n]}function M(e){return e instanceof Node?e:document.createTextNode(""+e)}function P(t){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];if(1===n.length)return M(n[0]);r=document.createDocumentFragment(),n=e(n);for(var o=n.next();!o.done;o=n.next())r.appendChild(M(o.value));return r}function A(e){var n;for(n=void 0===n?1:n;0<n;n--)e=e.reduce(function(e,n){return Array.isArray(n)?e.push.apply(e,t(n)):e.push(n),e},[]);return e}var L,j,R=[];function k(e){j||(j=!0,g(F)),R.push(e)}function F(){j=!1;for(var e=!!R.length;R.length;)R.shift()();return e}function H(){this.g=!1,this.addedNodes=[],this.removedNodes=[],this.aa=new Set}F.list=R,H.prototype.flush=function(){if(this.g){this.g=!1;var e=this.takeRecords();e.length&&this.aa.forEach(function(t){t(e)})}},H.prototype.takeRecords=function(){if(this.addedNodes.length||this.removedNodes.length){var e=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];return this.addedNodes=[],this.removedNodes=[],e}return[]};var I=/[&\u00A0"]/g,B=/[&\u00A0<>]/g;function U(e){switch(e){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case"\xa0":return"&nbsp;"}}function q(e){for(var t={},n=0;n<e.length;n++)t[e[n]]=!0;return t}var W=q("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),V=q("style script xmp iframe noembed noframes plaintext noscript".split(" "));function G(e,t){"template"===e.localName&&(e=e.content);for(var n="",r=t?t(e):e.childNodes,o=0,i=r.length,s=void 0;o<i&&(s=r[o]);o++){e:{var l=s,d=e;switch(l.nodeType){case Node.ELEMENT_NODE:d=l.localName;for(var u,h="<"+d,c=l.attributes,f=0;u=c[f];f++)h+=" "+u.name+'="'+u.value.replace(I,U)+'"';h+=">",l=W[d]?h:h+G(l,t)+"</"+d+">";break e;case Node.TEXT_NODE:l=l.data,l=d&&V[d.localName]?l:l.replace(B,U);break e;case Node.COMMENT_NODE:l="\x3c!--"+l.data+"--\x3e";break e;default:throw window.console.error(l),Error("not implemented")}}n+=l}return n}var X=s.j,z={querySelector:function(e){return this.__shady_native_querySelector(e)},querySelectorAll:function(e){return this.__shady_native_querySelectorAll(e)}},J={};function K(e){J[e]=function(t){return t["__shady_native_"+e]}}function $(e,t){for(var n in T(e,t,"__shady_native_"),t)K(n)}function Y(e,t){t=void 0===t?[]:t;for(var n=0;n<t.length;n++){var r=t[n],o=Object.getOwnPropertyDescriptor(e,r);o&&(Object.defineProperty(e,"__shady_native_"+r,o),o.value?z[r]||(z[r]=o.value):K(r))}}var Z=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),Q=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1),ee=document.implementation.createHTMLDocument("inert");function et(e){for(var t;t=e.__shady_native_firstChild;)e.__shady_native_removeChild(t)}var en=["firstElementChild","lastElementChild","children","childElementCount"],er=["querySelector","querySelectorAll","append","prepend","replaceChildren"],eo=x({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}}),ei=x({get textContent(){return this.__shady_textContent},set textContent(a){this.__shady_textContent=a},get innerHTML(){return this.__shady_innerHTML},set innerHTML(a){this.__shady_innerHTML=a}}),ea=x({get parentElement(){return this.__shady_parentElement},get parentNode(){return this.__shady_parentNode},get nextSibling(){return this.__shady_nextSibling},get previousSibling(){return this.__shady_previousSibling},get nextElementSibling(){return this.__shady_nextElementSibling},get previousElementSibling(){return this.__shady_previousElementSibling},get className(){return this.__shady_className},set className(a){this.__shady_className=a}});function es(e){for(var t in e){var n=e[t];n&&(n.enumerable=!1)}}es(eo),es(ei),es(ea);var el=s.j||!0===s.s,ed=el?function(){}:function(e){var t=o(e);t.Ba||(t.Ba=!0,O(e,ea))},eu=el?function(){}:function(e){var t=o(e);t.Aa||(t.Aa=!0,O(e,eo),window.customElements&&window.customElements.polyfillWrapFlushCallback&&!s.s||O(e,ei))},eh="__eventWrappers"+Date.now(),ec=(tY=Object.getOwnPropertyDescriptor(Event.prototype,"composed"))?function(e){return tY.get.call(e)}:null,ef=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 e_(e){if(null===e||"object"!=typeof e&&"function"!=typeof e)var t=!!e,n=!1;else{t=!!e.capture,n=!!e.once;var r=e.G}return{xa:r,capture:t,once:n,wa:ef?e:t}}var ep={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},em={DOMAttrModified:!0,DOMAttributeNameChanged:!0,DOMCharacterDataModified:!0,DOMElementNameChanged:!0,DOMNodeInserted:!0,DOMNodeInsertedIntoDocument:!0,DOMNodeRemoved:!0,DOMNodeRemovedFromDocument:!0,DOMSubtreeModified:!0};function ev(e){return e instanceof Node?e.__shady_getRootNode():e}function ey(e,t){var n=[],r=e;for(e=ev(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 eg(e,t){if(!c)return e;e=ey(e,!0);for(var n,r,o=0,i=void 0,s=void 0;o<t.length;o++)if((r=ev(n=t[o]))!==i&&(s=e.indexOf(r),i=r),!c(r)||-1<s)return n}var eb={get composed(){return void 0===this.__composed&&(ec?this.__composed="focusin"===this.type||"focusout"===this.type||ec(this):!1!==this.isTrusted&&(this.__composed=ep[this.type])),this.__composed||!1},composedPath:function(){return this.__composedPath||(this.__composedPath=ey(this.__target,this.composed)),this.__composedPath},get target(){return eg(this.currentTarget||this.__previousCurrentTarget,this.composedPath())},get relatedTarget(){if(!this.__relatedTarget)return null;return this.__relatedTargetComposedPath||(this.__relatedTargetComposedPath=ey(this.__relatedTarget,!0)),eg(this.currentTarget||this.__previousCurrentTarget,this.__relatedTargetComposedPath)},stopPropagation:function(){Event.prototype.stopPropagation.call(this),this.fa=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this),this.fa=this.__immediatePropagationStopped=!0}},eE=s.j&&Object.getOwnPropertyDescriptor(Event.prototype,"eventPhase");function eN(e){function t(t,n){return(t=new e(t,n)).__composed=n&&!!n.composed,t}return t.__proto__=e,t.prototype=e.prototype,t}eE&&(Object.defineProperty(eb,"eventPhase",{get:function(){return this.currentTarget===this.target?Event.AT_TARGET:this.__shady_native_eventPhase},enumerable:!0,configurable:!0}),Object.defineProperty(eb,"__shady_native_eventPhase",eE));var ew={focus:!0,blur:!0};function eC(e){return e.__target!==e.target||e.__relatedTarget!==e.relatedTarget}function eS(e,t,n){if(n=t.__handlers&&t.__handlers[e.type]&&t.__handlers[e.type][n])for(var r,o=0;(r=n[o])&&(!eC(e)||e.target!==e.relatedTarget)&&(r.call(t,e),!e.__immediatePropagationStopped);o++);}var eT=new Event("e").hasOwnProperty("currentTarget");function eO(e){var t=(e=eT?Object.create(e):e).composedPath(),n=t.map(function(e){return eg(e,t)}),r=e.bubbles,o=Object.getOwnPropertyDescriptor(e,"currentTarget");Object.defineProperty(e,"currentTarget",{configurable:!0,enumerable:!0,get:function(){return d}});var i=Event.CAPTURING_PHASE,s=Object.getOwnPropertyDescriptor(e,"eventPhase");Object.defineProperty(e,"eventPhase",{configurable:!0,enumerable:!0,get:function(){return i}});try{for(var l=t.length-1;0<=l;l--){var d=t[l];if(i=d===n[l]?Event.AT_TARGET:Event.CAPTURING_PHASE,eS(e,d,"capture"),e.fa)return}for(l=0;l<t.length;l++){var u=(d=t[l])===n[l];if((u||r)&&(i=u?Event.AT_TARGET:Event.BUBBLING_PHASE,eS(e,d,"bubble"),e.fa))break}}finally{eT||(o?Object.defineProperty(e,"currentTarget",o):delete e.currentTarget,s?Object.defineProperty(e,"eventPhase",s):delete e.eventPhase)}}function ex(e,t,n,r){for(var o=0;o<e.length;o++){var i=e[o],s=i.type,l=i.capture;if(t===i.node&&n===s&&r===l)return o}return -1}function eD(e){return F(),!s.R&&this instanceof Node&&!b(document,this)?(e.__target||eL(e,this),eO(e)):this.__shady_native_dispatchEvent(e)}function eM(e,t,n){var r=this,o=e_(n),i=o.capture,s=o.once,l=o.xa;if(o=o.wa,t){var d=typeof t;if(("function"===d||"object"===d)&&("object"!==d||t.handleEvent&&"function"==typeof t.handleEvent)){if(em[e])return this.__shady_native_addEventListener(e,t,o);var u=l||this;if(l=t[eh]){if(-1<ex(l,u,e,i))return}else t[eh]=[];l=function(o){if(s&&r.__shady_removeEventListener(e,t,n),o.__target||eL(o),u!==r){var l=Object.getOwnPropertyDescriptor(o,"currentTarget");Object.defineProperty(o,"currentTarget",{get:function(){return u},configurable:!0});var h=Object.getOwnPropertyDescriptor(o,"eventPhase");Object.defineProperty(o,"eventPhase",{configurable:!0,enumerable:!0,get:function(){return i?Event.CAPTURING_PHASE:Event.BUBBLING_PHASE}})}if(o.__previousCurrentTarget=o.currentTarget,(!c(u)&&"slot"!==u.localName||-1!=o.composedPath().indexOf(u))&&(o.composed||-1<o.composedPath().indexOf(u))){if(eC(o)&&o.target===o.relatedTarget)o.eventPhase===Event.BUBBLING_PHASE&&o.stopImmediatePropagation();else if(o.eventPhase===Event.CAPTURING_PHASE||o.bubbles||o.target===u||u instanceof Window){var f="function"===d?t.call(u,o):t.handleEvent&&t.handleEvent(o);return u!==r&&(l?(Object.defineProperty(o,"currentTarget",l),l=null):delete o.currentTarget,h?(Object.defineProperty(o,"eventPhase",h),h=null):delete o.eventPhase),f}}},t[eh].push({node:u,type:e,capture:i,Ya:l}),this.__handlers=this.__handlers||{},this.__handlers[e]=this.__handlers[e]||{capture:[],bubble:[]},this.__handlers[e][i?"capture":"bubble"].push(l),ew[e]||this.__shady_native_addEventListener(e,l,o)}}}function eP(e,t,n){if(t){var r=e_(n);n=r.capture;var o=r.xa;if(r=r.wa,em[e])return this.__shady_native_removeEventListener(e,t,r);var i=o||this;o=void 0;var s=null;try{s=t[eh]}catch(e){}s&&-1<(i=ex(s,i,e,n))&&(o=s.splice(i,1)[0].Ya,s.length||(t[eh]=void 0)),this.__shady_native_removeEventListener(e,o||t,r),o&&this.__handlers&&this.__handlers[e]&&-1<(t=(e=this.__handlers[e][n?"capture":"bubble"]).indexOf(o))&&e.splice(t,1)}}var eA=x(eb);function eL(e,t){if(t=void 0===t?e.target:t,e.__target=t,e.__relatedTarget=e.relatedTarget,s.j){if(!(t=Object.getPrototypeOf(e)).hasOwnProperty("__shady_patchedProto")){var n=Object.create(t);n.__shady_sourceProto=t,T(n,eA),t.__shady_patchedProto=n}e.__proto__=t.__shady_patchedProto}else T(e,eA)}var ej=eN(Event),eR=eN(CustomEvent),ek=eN(MouseEvent),eF=Object.getOwnPropertyNames(Element.prototype).filter(function(e){return"on"===e.substring(0,2)}),eH=Object.getOwnPropertyNames(HTMLElement.prototype).filter(function(e){return"on"===e.substring(0,2)});function eI(e){return{set:function(t){var n=o(this),r=e.substring(2);n.F||(n.F={}),n.F[e]&&this.removeEventListener(r,n.F[e]),this.__shady_addEventListener(r,t),n.F[e]=t},get:function(){var t=i(this);return t&&t.F&&t.F[e]},configurable:!0}}function eB(e,t){return{index:e,S:[],Z:t}}var eU=x({dispatchEvent:eD,addEventListener:eM,removeEventListener:eP}),eq=null;function eW(){return eq||(eq=window.ShadyCSS&&window.ShadyCSS.ScopingShim),eq||null}function eV(e,t,n){var r=eW();return!!r&&"class"===t&&(r.setElementClass(e,n),!0)}function eG(e,t){var n=eW();n&&n.unscopeNode(e,t)}function eX(e){if(e.nodeType!==Node.ELEMENT_NODE)return"";var t=eW();return t?t.currentScopeForNode(e):""}function ez(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&&ez(e,t)}var eJ=window.document,eK=s.R,e$=Object.getOwnPropertyDescriptor(Node.prototype,"isConnected"),eY=e$&&e$.get;function eZ(e){for(var t;t=e.__shady_firstChild;)e.__shady_removeChild(t)}function eQ(e,t,n){if(e=(e=i(e))&&e.P){if(t)if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(var r,o=0,s=t.childNodes.length;o<s;o++)e.addedNodes.push(t.childNodes[o]);else e.addedNodes.push(t);n&&e.removedNodes.push(n),(r=e).g||(r.g=!0,g(function(){r.flush()}))}}var e0=x({get parentNode(){var e1=i(this);return void 0!==(e1=e1&&e1.parentNode)?e1:this.__shady_native_parentNode},get firstChild(){var e2=i(this);return void 0!==(e2=e2&&e2.firstChild)?e2:this.__shady_native_firstChild},get lastChild(){var e3=i(this);return void 0!==(e3=e3&&e3.lastChild)?e3:this.__shady_native_lastChild},get nextSibling(){var e9=i(this);return void 0!==(e9=e9&&e9.nextSibling)?e9:this.__shady_native_nextSibling},get previousSibling(){var e6=i(this);return void 0!==(e6=e6&&e6.previousSibling)?e6:this.__shady_native_previousSibling},get childNodes(){if(h(this)){var e4=i(this);if(!e4.childNodes){e4.childNodes=[];for(var e5=this.__shady_firstChild;e5;e5=e5.__shady_nextSibling)e4.childNodes.push(e5)}var e7=e4.childNodes}else e7=this.__shady_native_childNodes;return e7.item=function(e){return e7[e]},e7},get parentElement(){var e8=i(this);return(e8=e8&&e8.parentNode)&&e8.nodeType!==Node.ELEMENT_NODE&&(e8=null),void 0!==e8?e8:this.__shady_native_parentElement},get isConnected(){if(eY&&eY.call(this))return!0;if(this.nodeType==Node.DOCUMENT_FRAGMENT_NODE)return!1;var te=this.ownerDocument;if(null===te||b(te,this))return!0;for(te=this;te&&!(te instanceof Document);)te=te.__shady_parentNode||(c(te)?te.host:void 0);return!!(te&&te instanceof Document)},get textContent(){if(h(this)){for(var tt=[],tn=this.__shady_firstChild;tn;tn=tn.__shady_nextSibling)tn.nodeType!==Node.COMMENT_NODE&&tt.push(tn.__shady_textContent);return tt.join("")}return this.__shady_native_textContent},set textContent(a){switch(null==a&&(a=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:if(!h(this)&&s.j){var tr=this.__shady_firstChild;(tr!=this.__shady_lastChild||tr&&tr.nodeType!=Node.TEXT_NODE)&&eZ(this),this.__shady_native_textContent=a}else eZ(this),(0<a.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_insertBefore(document.createTextNode(a));break;default:this.nodeValue=a}},insertBefore:function(e,n){if(this.ownerDocument!==eJ&&e.ownerDocument!==eJ)return this.__shady_native_insertBefore(e,n),e;if(e===this)throw Error("Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");if(n){var r=i(n);if(void 0!==(r=r&&r.parentNode)&&r!==this||void 0===r&&n.__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(n===e)return e;eQ(this,e);var s=[],l=(r=na(this))?r.host.localName:eX(this),d=e.__shady_parentNode;if(d){var u=eX(e),_=!!r||!na(e)||eK&&void 0!==this.__noInsertionPoint;d.__shady_removeChild(e,_)}d=!0;var p=(!eK||void 0===e.__noInsertionPoint&&void 0===this.__noInsertionPoint)&&!function e(t,n){var r=eW();if(!r)return!0;if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(r=!0,t=t.__shady_firstChild;t;t=t.__shady_nextSibling)r=r&&e(t,n);return r}return t.nodeType!==Node.ELEMENT_NODE||r.currentScopeForNode(t)===n}(e,l),m=r&&!e.__noInsertionPoint&&(!eK||e.nodeType===Node.DOCUMENT_FRAGMENT_NODE);return(m||p)&&(p&&(u=u||eX(e)),ez(e,function(e){if(m&&"slot"===e.localName&&s.push(e),p){var t=u;eW()&&(t&&eG(e,t),(t=eW())&&t.scopeNode(e,l))}})),s.length&&(t5(r),r.i.push.apply(r.i,t(s)),t9(r)),h(this)&&(function(e,t,n){tX(t,2);var r=o(t);if(void 0!==r.firstChild&&(r.childNodes=null),e.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(e=e.__shady_native_firstChild;e;e=e.__shady_native_nextSibling)tz(e,t,r,n);else tz(e,t,r,n)}(e,this,n),(_=i(this)).root?(d=!1,f(this)&&t9(_.root)):r&&"slot"===this.localName&&(d=!1,t9(r))),d?(r=c(this)?this.host:this,n?(n=function e(t){var n=t;if(t&&"slot"===t.localName){var r=i(t);(r=r&&r.L)&&(n=r.length?r[0]:e(t.__shady_nextSibling))}return n}(n),r.__shady_native_insertBefore(e,n)):r.__shady_native_appendChild(e)):e.ownerDocument!==this.ownerDocument&&this.ownerDocument.adoptNode(e),e},appendChild:function(e){if(this!=e||!c(e))return this.__shady_insertBefore(e)},removeChild:function(e,t){if(t=void 0!==t&&t,this.ownerDocument!==eJ)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);eQ(this,null,e);var n,r,s,l,d=na(e),u=d&&function(e,t){if(e.g){t7(e);var n,r=e.h;for(n in r)for(var o=r[n],s=0;s<o.length;s++){var l=o[s];if(E(t,l)){o.splice(s,1);var d=e.g.indexOf(l);if(0<=d&&(e.g.splice(d,1),(d=i(l.__shady_parentNode))&&d.U&&d.U--),s--,d=(l=i(l)).L)for(var u=0;u<d.length;u++){var h=d[u],c=h.__shady_native_parentNode;c&&c.__shady_native_removeChild(h)}l.L=[],l.assignedNodes=[],d=!0}}return d}}(d,e),_=i(this);if(h(this)&&(n=e,r=this,s=o(n),n===(r=o(r)).firstChild&&(r.firstChild=s.nextSibling),n===r.lastChild&&(r.lastChild=s.previousSibling),n=s.previousSibling,l=s.nextSibling,n&&(o(n).nextSibling=l),l&&(o(l).previousSibling=n),s.parentNode=s.previousSibling=s.nextSibling=void 0,void 0!==r.childNodes&&(r.childNodes=null),f(this))){t9(_.root);var p=!0}if(eW()&&!t&&d&&e.nodeType!==Node.TEXT_NODE){var m=eX(e);ez(e,function(e){eG(e,m)})}return!function e(t){var n=i(t);if(n&&void 0!==n.ea)for(n=t.__shady_firstChild;n;n=n.__shady_nextSibling)e(n);(t=i(t))&&(t.ea=void 0)}(e),d&&((t="slot"===this.localName)&&(p=!0),(u||t)&&t9(d)),p||(p=c(this)?this.host:this,(_.root||"slot"===e.localName)&&p!==e.__shady_native_parentNode||p.__shady_native_removeChild(e)),e},replaceChild:function(e,t){return this.__shady_insertBefore(e,t),this.__shady_removeChild(t),e},cloneNode:function(e){if("template"==this.localName)return this.__shady_native_cloneNode(e);var t,n=this.__shady_native_cloneNode(!1);if(e&&n.nodeType!==Node.ATTRIBUTE_NODE)for(e=this.__shady_firstChild;e;e=e.__shady_nextSibling)t=e.__shady_cloneNode(!0),n.__shady_appendChild(t);return n},getRootNode:function(e){if(this&&this.nodeType){var t=o(this),n=t.ea;return void 0===n&&(c(this)?(n=this,t.ea=n):(n=(n=this.__shady_parentNode)?n.__shady_getRootNode(e):this,document.documentElement.__shady_native_contains(this)&&(t.ea=n))),n}},contains:function(e){return E(this,e)}}),to=x({get assignedSlot(){var ti=this.__shady_parentNode;return(ti=ti&&ti.__shady_shadowRoot)&&t6(ti),(ti=i(this))&&ti.assignedSlot||null}}),ta=new Map;function ts(e,t,n){var r=[];return function e(t,n,r,o){for(t=t.__shady_firstChild;t;t=t.__shady_nextSibling){var i;if(i=t.nodeType===Node.ELEMENT_NODE){var s=n(i=t);s&&o.push(i),r&&r(s)?i=s:(e(i,n,r,o),i=void 0)}if(i)break}}(e,t,n,r),r}[["(",{end:")",da:!0}],["[",{end:"]",da:!0}],['"',{end:'"',da:!1}],["'",{end:"'",da:!1}]].forEach(function(t){var n=e(t);t=n.next().value,n=n.next().value,ta.set(t,n)});var tl={get firstElementChild(){var td=i(this);if(td&&void 0!==td.firstChild){for(td=this.__shady_firstChild;td&&td.nodeType!==Node.ELEMENT_NODE;)td=td.__shady_nextSibling;return td}return this.__shady_native_firstElementChild},get lastElementChild(){var tu=i(this);if(tu&&void 0!==tu.lastChild){for(tu=this.__shady_lastChild;tu&&tu.nodeType!==Node.ELEMENT_NODE;)tu=tu.__shady_previousSibling;return tu}return this.__shady_native_lastElementChild},get children(){return h(this)?N(Array.prototype.filter.call(C(this),function(e){return e.nodeType===Node.ELEMENT_NODE})):this.__shady_native_children},get childElementCount(){var th=this.__shady_children;return th?th.length:0}},tc=x((tl.append=function(e){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];this.__shady_insertBefore(P.apply(null,t(n)),null)},tl.prepend=function(e){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];this.__shady_insertBefore(P.apply(null,t(n)),this.__shady_firstChild)},tl.replaceChildren=function(e){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];for(;null!==(r=this.__shady_firstChild);)this.__shady_removeChild(r);this.__shady_insertBefore(P.apply(null,t(n)),null)},tl));function tf(t,n){function r(e,n){return(e===t||-1===n.indexOf(":scope"))&&p.call(e,n)}var o=function(e){function t(){if(0<r.length){for(;" "===r[r.length-1];)r.pop();n.push({ta:r.filter(function(e,t){return 0==t%2}),Ha:r.filter(function(e,t){return 1==t%2})}),r.length=0}}for(var n=[],r=[],o=0;o<e.length;){var i=r[r.length-1],s=function e(t,n,r,o){for(o=void 0===o||o;n<t.length;n++)if("\\"===t[n]&&n<t.length-1&&"\n"!==t[n+1])n++;else{if(-1!==r.indexOf(t[n]))return n;if(o&&ta.has(t[n])){var i=ta.get(t[n]);n=e(t,n+1,[i.end],i.da)}}return t.length}(e,o,[","," ",">","+","~"]),l=s===o?e[o]:e.substring(o,s);","===l?t():(-1===[void 0," ",">","+","~"].indexOf(i)||" "!==l)&&(" "===i&&-1!==[">","+","~"].indexOf(l)?r[r.length-1]=l:r.push(l)),o=s+ +(s===o)}return t(),n}(n);if(1>o.length)return[];for(n=A(ts(t,function(){return!0}).map(function(e){return A(o.map(function(t){var n=t.ta,o=n.length-1;return r(e,n[o])?{target:e,N:t,O:e,index:o}:[]}))}));n.some(function(e){return 0<e.index});)n=A(n.map(function(e){if(0>=e.index)return e;var t=e.target,n=e.O,o=e.N;e=e.index-1;var i=o.Ha[e],s=o.ta[e];if(" "===i){for(i=[],n=n.__shady_parentElement;n;n=n.__shady_parentElement)r(n,s)&&i.push({target:t,N:o,O:n,index:e});return i}if(">"===i)return r(n=n.__shady_parentElement,s)?{target:t,N:o,O:n,index:e}:[];if("+"===i)return(n=n.__shady_previousElementSibling)&&r(n,s)?{target:t,N:o,O:n,index:e}:[];if("~"===i){for(i=[],n=n.__shady_previousElementSibling;n;n=n.__shady_previousElementSibling)r(n,s)&&i.push({target:t,N:o,O:n,index:e});return i}throw Error("Unrecognized combinator: '"+i+"'.")}));return function(t){var n=[],r=new Set;t=e(t);for(var o=t.next();!o.done;o=t.next())o=o.value,r.has(o)||(n.push(o),r.add(o));return n}(n.map(function(e){return e.target}))}var t_=s.querySelectorImplementation,tp=x({querySelector:function(t){if("native"===t_){var n=Array.prototype.slice.call((this instanceof ShadowRoot?this.host:this).__shady_native_querySelectorAll(t)),r=this.__shady_getRootNode();n=e(n);for(var o=n.next();!o.done;o=n.next())if((o=o.value).__shady_getRootNode()==r)return o;return null}if("selectorEngine"===t_)return tf(this,t)[0]||null;if(void 0===t_)return ts(this,function(e){return p.call(e,t)},function(e){return!!e})[0]||null;throw Error("Unrecognized value of ShadyDOM.querySelectorImplementation: '"+t_+"'")},querySelectorAll:function(e,t){if(t||"native"===t_){t=Array.prototype.slice.call((this instanceof ShadowRoot?this.host:this).__shady_native_querySelectorAll(e));var n=this.__shady_getRootNode();return N(t.filter(function(e){return e.__shady_getRootNode()==n}))}if("selectorEngine"===t_)return N(tf(this,e));if(void 0===t_)return N(ts(this,function(t){return p.call(t,e)}));throw Error("Unrecognized value of ShadyDOM.querySelectorImplementation: '"+t_+"'")}}),tm=s.R&&!s.s?D({},tc):tc;D(tc,tp);var tv=x({after:function(e){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];if(null!==(r=this.__shady_parentNode)){var o=this.__shady_nextSibling;r.__shady_insertBefore(P.apply(null,t(n)),o)}},before:function(e){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];null!==(r=this.__shady_parentNode)&&r.__shady_insertBefore(P.apply(null,t(n)),this)},remove:function(){var e=this.__shady_parentNode;null!==e&&e.__shady_removeChild(this)},replaceWith:function(e){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];if(null!==(r=this.__shady_parentNode)){var o=this.__shady_nextSibling;r.__shady_removeChild(this),r.__shady_insertBefore(P.apply(null,t(n)),o)}}}),ty=window.document;function tg(e,t){if("slot"===t)f(e=e.__shady_parentNode)&&t9(i(e).root);else if("slot"===e.localName&&"name"===t&&(t=na(e))){if(t.g){t7(t);var n=e.Ca,r=t8(e);if(r!==n){var o=(n=t.h[n]).indexOf(e);0<=o&&n.splice(o,1),(n=t.h[r]||(t.h[r]=[])).push(e),1<n.length&&(t.h[r]=ne(n))}}t9(t)}}var tb=x({get previousElementSibling(){var tE=i(this);if(tE&&void 0!==tE.previousSibling){for(tE=this.__shady_previousSibling;tE&&tE.nodeType!==Node.ELEMENT_NODE;)tE=tE.__shady_previousSibling;return tE}return this.__shady_native_previousElementSibling},get nextElementSibling(){var tN=i(this);if(tN&&void 0!==tN.nextSibling){for(tN=this.__shady_nextSibling;tN&&tN.nodeType!==Node.ELEMENT_NODE;)tN=tN.__shady_nextSibling;return tN}return this.__shady_native_nextElementSibling},get slot(){return this.getAttribute("slot")},set slot(a){this.__shady_setAttribute("slot",a)},get className(){return this.getAttribute("class")||""},set className(a){this.__shady_setAttribute("class",a)},setAttribute:function(e,t){this.ownerDocument!==ty?this.__shady_native_setAttribute(e,t):eV(this,e,t)||(this.__shady_native_setAttribute(e,t),tg(this,e))},removeAttribute:function(e){this.ownerDocument!==ty?this.__shady_native_removeAttribute(e):eV(this,e,"")?""===this.getAttribute(e)&&this.__shady_native_removeAttribute(e):(this.__shady_native_removeAttribute(e),tg(this,e))},toggleAttribute:function(e,t){return this.ownerDocument!==ty?this.__shady_native_toggleAttribute(e,t):eV(this,e,"")?""!==this.getAttribute(e)||t?void 0:this.__shady_native_toggleAttribute(e,t):(t=this.__shady_native_toggleAttribute(e,t),tg(this,e),t)}});s.R||eF.forEach(function(e){tb[e]=eI(e)});var tw=x({attachShadow:function(e){if(!this)throw Error("Must provide a host.");if(!e)throw Error("Not enough arguments.");if(e.shadyUpgradeFragment&&!s.za){var n=e.shadyUpgradeFragment;if(n.__proto__=ShadowRoot.prototype,t3(n,this,e),tJ(n,n),e=n.__noInsertionPoint?null:n.querySelectorAll("slot"),n.__noInsertionPoint=void 0,e&&e.length){var r=n;t5(r),r.i.push.apply(r.i,t(e)),t9(n)}n.host.__shady_native_appendChild(n)}else n=new t2(tQ,this,e);return this.__CE_shadowRoot=n},get shadowRoot(){var tC=i(this);return tC&&tC.Pa||null}});D(tb,tw);var tS=document.implementation.createHTMLDocument("inert"),tT=x({get innerHTML(){return h(this)?G("template"===this.localName?this.content:this,C):this.__shady_native_innerHTML},set innerHTML(a){if("template"===this.localName)this.__shady_native_innerHTML=a;else{eZ(this);var tO=this.localName||"div";for(tO=this.namespaceURI&&this.namespaceURI!==tS.namespaceURI?tS.createElementNS(this.namespaceURI,tO):tS.createElement(tO),s.j?tO.__shady_native_innerHTML=a:tO.innerHTML=a;a=tO.__shady_firstChild;)this.__shady_insertBefore(a)}}}),tx=x({blur:function(){var e=i(this);(e=(e=e&&e.root)&&e.activeElement)?e.__shady_blur():this.__shady_native_blur()}});s.R||eH.forEach(function(e){tx[e]=eI(e)});var tD=x({assignedNodes:function(e){if("slot"===this.localName){var t=this.__shady_getRootNode();return t&&c(t)&&t6(t),(t=i(this))&&(e&&e.flatten?t.L:t.assignedNodes)||[]}},addEventListener:function(e,t,n){if("slot"!==this.localName||"slotchange"===e)eM.call(this,e,t,n);else{"object"!=typeof n&&(n={capture:!!n});var r=this.__shady_parentNode;if(!r)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");n.G=this,r.__shady_addEventListener(e,t,n)}},removeEventListener:function(e,t,n){if("slot"!==this.localName||"slotchange"===e)eP.call(this,e,t,n);else{"object"!=typeof n&&(n={capture:!!n});var r=this.__shady_parentNode;if(!r)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");n.G=this,r.__shady_removeEventListener(e,t,n)}}}),tM=x({getElementById:function(e){return""===e?null:ts(this,function(t){return t.id==e},function(e){return!!e})[0]||null}}),tP="__shady_native_"+u(),tA=x({get activeElement(){var tL=s.j?document.__shady_native_activeElement:document.activeElement;if(!tL||!tL.nodeType)return null;var tj=!!c(this);if(!(this===document||tj&&this.host!==tL&&this.host.__shady_native_contains(tL)))return null;for(tj=na(tL);tj&&tj!==this;)tj=na(tL=tj.host);return this===document?tj?null:tL:tj===this?tL:null},elementsFromPoint:function(e,t){if(e=document[tP](e,t),this===document&&s.useNativeDocumentEFP)return e;e=[].slice.call(e),t=function(e){var t=new Set;for(t.add(e);c(e)&&e.host;)e=e.host.__shady_getRootNode(),t.add(e);return t}(this);for(var n=new Set,r=0;r<e.length;r++)n.add(function(e,t){for(var n;t&&!e.has(n=t.__shady_getRootNode());)t=n.host;return t}(t,e[r]));var o=[];return n.forEach(function(e){return o.push(e)}),o},elementFromPoint:function(e,t){return this===document&&s.useNativeDocumentEFP?this.__shady_native_elementFromPoint(e,t):this.__shady_elementsFromPoint(e,t)[0]||null}}),tR=window.document,tk=x({importNode:function(e,t){if(e.ownerDocument!==tR||"template"===e.localName)return this.__shady_native_importNode(e,t);var n=this.__shady_native_importNode(e,!1);if(t)for(e=e.__shady_firstChild;e;e=e.__shady_nextSibling)t=this.__shady_importNode(e,!0),n.__shady_appendChild(t);return n}}),tF=x({dispatchEvent:eD,addEventListener:eM.bind(window),removeEventListener:eP.bind(window)}),tH={};Object.getOwnPropertyDescriptor(HTMLElement.prototype,"parentElement")&&(tH.parentElement=e0.parentElement),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"contains")&&(tH.contains=e0.contains),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"children")&&(tH.children=tc.children),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML")&&(tH.innerHTML=tT.innerHTML),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"className")&&(tH.className=tb.className);var tI={EventTarget:[eU],Node:[e0,window.EventTarget?null:eU],Text:[to],Comment:[to],CDATASection:[to],ProcessingInstruction:[to],Element:[tb,tc,tv,to,!s.j||"innerHTML"in Element.prototype?tT:null,window.HTMLSlotElement?null:tD],HTMLElement:[tx,tH],HTMLSlotElement:[tD],DocumentFragment:[tm,tM],Document:[tk,tm,tM,tA],Window:[tF],CharacterData:[tv],XMLHttpRequest:[window.EventTarget?null:eU]},tB=s.j?null:["innerHTML","textContent"];function tU(e,t,n,r){t.forEach(function(t){return e&&t&&T(e,t,n,r)})}function tq(e){var t,n=e?null:tB;for(t in tI)tU(window[t]&&window[t].prototype,tI[t],e,n)}function tW(e){return e.__shady_protoIsPatched=!0,tU(e,tI.EventTarget),tU(e,tI.Node),tU(e,tI.Element),tU(e,tI.HTMLElement),tU(e,tI.HTMLSlotElement),e}["Text","Comment","CDATASection","ProcessingInstruction"].forEach(function(e){var t=window[e],n=Object.create(t.prototype);n.__shady_protoIsPatched=!0,tU(n,tI.EventTarget),tU(n,tI.Node),tI[e]&&tU(n,tI[e]),t.prototype.__shady_patchedProto=n});var tV=s.ma,tG=s.j;function tX(e,t){if(tV&&!e.__shady_protoIsPatched&&!c(e)){var n=Object.getPrototypeOf(e),r=n.hasOwnProperty("__shady_patchedProto")&&n.__shady_patchedProto;r||(tW(r=Object.create(n)),n.__shady_patchedProto=r),Object.setPrototypeOf(e,r)}tG||(1===t?ed(e):2===t&&eu(e))}function tz(e,t,n,r){tX(e,1),r=r||null;var s=o(e),l=r?o(r):null;s.previousSibling=r?l.previousSibling:t.__shady_lastChild,(l=i(s.previousSibling))&&(l.nextSibling=e),(l=i(s.nextSibling=r))&&(l.previousSibling=e),s.parentNode=t,r?r===n.firstChild&&(n.firstChild=e):(n.lastChild=e,n.firstChild||(n.firstChild=e)),n.childNodes=null}function tJ(e,t){var n=o(e);if(t||void 0===n.firstChild){n.childNodes=null;var r=n.firstChild=e.__shady_native_firstChild;for(n.lastChild=e.__shady_native_lastChild,tX(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,tX(n,1)}}}var tK=x({addEventListener:function(e,t,n){"object"!=typeof n&&(n={capture:!!n}),n.G=n.G||this,this.host.__shady_addEventListener(e,t,n)},removeEventListener:function(e,t,n){"object"!=typeof n&&(n={capture:!!n}),n.G=n.G||this,this.host.__shady_removeEventListener(e,t,n)}});function t$(e,t){T(e,tK,t),T(e,tA,t),T(e,tT,t),T(e,tc,t),s.s&&!t?(T(e,e0,t),T(e,tM,t)):s.j||(T(e,ea),T(e,eo),T(e,ei))}var tY,tZ,tQ={},t0=s.deferConnectionCallbacks&&"loading"===document.readyState;function t1(e){var t=[];do t.unshift(e);while(e=e.__shady_parentNode);return t}function t2(e,t,n){if(e!==tQ)throw TypeError("Illegal constructor");this.g=null,t3(this,t,n)}function t3(e,t,n){if(e.host=t,e.mode=n&&n.mode,tJ(e.host),(t=o(e.host)).root=e,t.Pa="closed"!==e.mode?e:null,(t=o(e)).firstChild=t.lastChild=t.parentNode=t.nextSibling=t.previousSibling=null,s.preferPerformance)for(;t=e.host.__shady_native_firstChild;)e.host.__shady_native_removeChild(t);else t9(e)}function t9(e){e.K||(e.K=!0,k(function(){return t6(e)}))}function t6(e){var t,n;if(t=e.K){for(;e;)e.K&&(n=e),c(e=(t=e).host.__shady_getRootNode())&&(t=i(t.host))&&0<t.U||(e=void 0);t=n}(n=t)&&n._renderSelf()}function t4(e,t,n){var r=o(t),i=r.ha;r.ha=null,n||(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).ja=!0)}function t5(e){e.i=e.i||[],e.g=e.g||[],e.h=e.h||{}}function t7(e){if(e.i&&e.i.length){for(var t,n=e.i,r=0;r<n.length;r++){var o=n[r];tJ(o);var s=o.__shady_parentNode;tJ(s),(s=i(s)).U=(s.U||0)+1,s=t8(o),e.h[s]?((t=t||{})[s]=!0,e.h[s].push(o)):e.h[s]=[o],e.g.push(o)}if(t)for(var l in t)e.h[l]=ne(e.h[l]);e.i=[]}}function t8(e){var t=e.name||e.getAttribute("name")||"__catchall";return e.Ca=t}function ne(e){return e.sort(function(e,t){e=t1(e);for(var n=t1(t),r=0;r<e.length;r++){t=e[r];var o=n[r];if(t!==o)return(e=C(t.__shady_parentNode)).indexOf(t)-e.indexOf(o)}})}function nt(e){return t7(e),!(!e.g||!e.g.length)}if(t2.prototype._renderSelf=function(){var e=t0;if(t0=!0,this.K=!1,this.g){t7(this);for(var t,n=0;n<this.g.length;n++){var r=i(t=this.g[n]),o=r.assignedNodes;if(r.assignedNodes=[],r.L=[],r.ra=o)for(r=0;r<o.length;r++){var l=i(o[r]);l.ha=l.assignedSlot,l.assignedSlot===t&&(l.assignedSlot=null)}}for(n=this.host.__shady_firstChild;n;n=n.__shady_nextSibling)t4(this,n);for(n=0;n<this.g.length;n++){if(!(o=i(t=this.g[n])).assignedNodes.length)for(r=t.__shady_firstChild;r;r=r.__shady_nextSibling)t4(this,r,t);if((r=(r=i(t.__shady_parentNode))&&r.root)&&(nt(r)||r.K)&&r._renderSelf(),function e(t,n,r){for(var o=0,s=void 0;o<r.length&&(s=r[o]);o++)if("slot"==s.localName){var l=i(s).assignedNodes;l&&l.length&&e(t,n,l)}else n.push(r[o])}(this,o.L,o.assignedNodes),r=o.ra){for(l=0;l<r.length;l++)i(r[l]).ha=null;o.ra=null,r.length>o.assignedNodes.length&&(o.ja=!0)}o.ja&&(o.ja=!1,function e(t,n){n.__shady_native_dispatchEvent(new Event("slotchange")),(n=i(n)).assignedSlot&&e(t,n.assignedSlot)}(this,t))}for(o=0,t=this.g,n=[];o<t.length;o++)(l=i(r=t[o].__shady_parentNode))&&l.root||!(0>n.indexOf(r))||n.push(r);for(t=0;t<n.length;t++){for(o=(l=n[t])===this?this.host:l,r=[],l=l.__shady_firstChild;l;l=l.__shady_nextSibling)if("slot"==l.localName)for(var d=i(l).L,u=0;u<d.length;u++)r.push(d[u]);else r.push(l);l=w(o),d=function(e,t,n,r){var o,i=0,s=0,l=0,d=0,u=Math.min(t-0,r-0);!0;e:{for(l=0;l<u;l++)if(e[l]!==n[l])break e;l=u}if(t==e.length&&r==n.length){d=e.length;for(var h=n.length,c=0;c<u-l&&(o=e[--d],o===n[--h]);)c++;d=c}if(i+=l,s+=l,t-=d,r-=d,0==t-i&&0==r-s)return[];if(i==t){for(t=eB(i,0);s<r;)t.S.push(n[s++]);return[t]}if(s==r)return[eB(i,t-i)];for(h=0,u=i,r=r-(l=s)+1,d=t-u+1,t=Array(r);h<r;h++)t[h]=Array(d),t[h][0]=h;for(h=0;h<d;h++)t[0][h]=h;for(h=1;h<r;h++)for(c=1;c<d;c++)if(e[u+c-1]===n[l+h-1])t[h][c]=t[h-1][c-1];else{var f=t[h-1][c]+1,_=t[h][c-1]+1;t[h][c]=f<_?f:_}for(u=t.length-1,l=t[0].length-1,r=t[u][l],e=[];0<u||0<l;)0==u?(e.push(2),l--):0==l?(e.push(3),u--):(d=t[u-1][l-1],(f=(h=t[u-1][l])<(c=t[u][l-1])?h<d?h:d:c<d?c:d)==d?(d==r?e.push(0):(e.push(1),r=d),u--,l--):f==h?(e.push(3),u--,r=h):(e.push(2),l--,r=c));for(e.reverse(),t=void 0,u=[],l=0;l<e.length;l++)switch(e[l]){case 0:t&&(u.push(t),t=void 0),i++,s++;break;case 1:t||(t=eB(i,0)),t.Z++,i++,t.S.push(n[s]),s++;break;case 2:t||(t=eB(i,0)),t.Z++,i++;break;case 3:t||(t=eB(i,0)),t.S.push(n[s]),s++}return t&&u.push(t),u}(r,r.length,l,l.length);for(var h=u=0,c=void 0;u<d.length&&(c=d[u]);u++){for(var f=0,_=void 0;f<c.S.length&&(_=c.S[f]);f++)_.__shady_native_parentNode===o&&o.__shady_native_removeChild(_),l.splice(c.index+h,1);h-=c.Z}for(h=0,c=void 0;h<d.length&&(c=d[h]);h++)for(u=l[c.index],f=c.index;f<c.index+c.Z;f++)_=r[f],o.__shady_native_insertBefore(_,u),l.splice(f,0,_)}}if(!s.preferPerformance&&!this.qa)for(n=this.host.__shady_firstChild;n;n=n.__shady_nextSibling)t=i(n),n.__shady_native_parentNode!==this.host||"slot"!==n.localName&&t.assignedSlot||this.host.__shady_native_removeChild(n);this.qa=!0,t0=e,tZ&&tZ()},(nh=t2.prototype).__proto__=DocumentFragment.prototype,t$(nh,"__shady_"),t$(nh),Object.defineProperties(nh,{nodeType:{value:Node.DOCUMENT_FRAGMENT_NODE,configurable:!0},nodeName:{value:"#document-fragment",configurable:!0},nodeValue:{value:null,configurable:!0}}),["localName","namespaceURI","prefix"].forEach(function(e){Object.defineProperty(nh,e,{value:void 0,configurable:!0})}),["ownerDocument","baseURI","isConnected"].forEach(function(e){Object.defineProperty(nh,e,{get:function(){return this.host[e]},configurable:!0})}),window.customElements&&window.customElements.define&&s.ka&&!s.preferPerformance){var nn=new Map;tZ=function(){var e=[];nn.forEach(function(t,n){e.push([n,t])}),nn.clear();for(var t=0;t<e.length;t++){var n=e[t][0];e[t][1]?n.__shadydom_connectedCallback():n.__shadydom_disconnectedCallback()}},t0&&document.addEventListener("readystatechange",function(){t0=!1,tZ()},{once:!0});var nr=function(e,t,n){var r=0,o="__isConnected"+r++;return(t||n)&&(e.prototype.connectedCallback=e.prototype.__shadydom_connectedCallback=function(){t0?nn.set(this,!0):this[o]||(this[o]=!0,t&&t.call(this))},e.prototype.disconnectedCallback=e.prototype.__shadydom_disconnectedCallback=function(){t0?this.isConnected||nn.set(this,!1):this[o]&&(this[o]=!1,n&&n.call(this))}),e},no=window.customElements.define,ni=function(e,t){var n=t.prototype.connectedCallback,r=t.prototype.disconnectedCallback;no.call(window.customElements,e,nr(t,n,r)),t.prototype.connectedCallback=n,t.prototype.disconnectedCallback=r};window.customElements.define=ni,Object.defineProperty(window.CustomElementRegistry.prototype,"define",{value:ni,configurable:!0})}function na(e){if(c(e=e.__shady_getRootNode()))return e}function ns(e){this.node=e}function nl(e){Object.defineProperty(ns.prototype,e,{get:function(){return this.node["__shady_"+e]},set:function(t){this.node["__shady_"+e]=t},configurable:!0})}(L=ns.prototype).addEventListener=function(e,t,n){return this.node.__shady_addEventListener(e,t,n)},L.removeEventListener=function(e,t,n){return this.node.__shady_removeEventListener(e,t,n)},L.appendChild=function(e){return this.node.__shady_appendChild(e)},L.insertBefore=function(e,t){return this.node.__shady_insertBefore(e,t)},L.removeChild=function(e){return this.node.__shady_removeChild(e)},L.replaceChild=function(e,t){return this.node.__shady_replaceChild(e,t)},L.cloneNode=function(e){return this.node.__shady_cloneNode(e)},L.getRootNode=function(e){return this.node.__shady_getRootNode(e)},L.contains=function(e){return this.node.__shady_contains(e)},L.dispatchEvent=function(e){return this.node.__shady_dispatchEvent(e)},L.setAttribute=function(e,t){this.node.__shady_setAttribute(e,t)},L.getAttribute=function(e){return this.node.__shady_native_getAttribute(e)},L.removeAttribute=function(e){this.node.__shady_removeAttribute(e)},L.toggleAttribute=function(e,t){return this.node.__shady_toggleAttribute(e,t)},L.attachShadow=function(e){return this.node.__shady_attachShadow(e)},L.focus=function(){this.node.__shady_native_focus()},L.blur=function(){this.node.__shady_blur()},L.importNode=function(e,t){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_importNode(e,t)},L.getElementById=function(e){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_getElementById(e)},L.elementsFromPoint=function(e,t){return this.node.__shady_elementsFromPoint(e,t)},L.elementFromPoint=function(e,t){return this.node.__shady_elementFromPoint(e,t)},L.querySelector=function(e){return this.node.__shady_querySelector(e)},L.querySelectorAll=function(e,t){return this.node.__shady_querySelectorAll(e,t)},L.assignedNodes=function(e){if("slot"===this.node.localName)return this.node.__shady_assignedNodes(e)},L.append=function(e){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];return this.node.__shady_append.apply(this.node,t(n))},L.prepend=function(e){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];return this.node.__shady_prepend.apply(this.node,t(n))},L.after=function(e){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];return this.node.__shady_after.apply(this.node,t(n))},L.before=function(e){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];return this.node.__shady_before.apply(this.node,t(n))},L.remove=function(){return this.node.__shady_remove()},L.replaceWith=function(e){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];return this.node.__shady_replaceWith.apply(this.node,t(n))},n.Object.defineProperties(ns.prototype,{activeElement:{configurable:!0,enumerable:!0,get:function(){if(c(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(c(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}}}),eF.forEach(function(e){return nl(e)}),eH.forEach(function(e){return nl(e)});var nd=new WeakMap;function nu(e){if(c(e)||e instanceof ns)return e;var t=nd.get(e);return t||(t=new ns(e),nd.set(e,t)),t}if(s.ka){var nh,nc,nf=s.j?function(e){return e}:function(e){return eu(e),ed(e),e},n_={inUse:s.ka,patch:nf,isShadyRoot:c,enqueue:k,flush:F,flushInitial:function(e){!e.qa&&e.K&&t6(e)},settings:s,filterMutations:function(e,t){var n=t.getRootNode();return e.map(function(e){var t=n===e.target.getRootNode();if(t&&e.addedNodes){if((t=[].slice.call(e.addedNodes).filter(function(e){return n===e.getRootNode()})).length)return Object.defineProperty(e=Object.create(e),"addedNodes",{value:t,configurable:!0}),e}else if(t)return e}).filter(function(e){return e})},observeChildren:function(e,t){var n=o(e);n.P||(n.P=new H),n.P.aa.add(t);var r=n.P;return{Da:t,J:r,Ea:e,takeRecords:function(){return r.takeRecords()}}},unobserveChildren:function(e){var t=e&&e.J;t&&(t.aa.delete(e.Da),t.aa.size||(o(e.Ea).P=null))},deferConnectionCallbacks:s.deferConnectionCallbacks,preferPerformance:s.preferPerformance,handlesDynamicScoping:!0,wrap:s.s?nu:nf,wrapIfNeeded:!0===s.s?nu:function(e){return e},Wrapper:ns,composedPath:function(e){return e.__composedPath||(e.__composedPath=ey(e.target,!0)),e.__composedPath},noPatch:s.s,patchOnDemand:s.ma,nativeMethods:z,nativeTree:J,patchElementProto:tW,querySelectorImplementation:s.querySelectorImplementation};for(var np in window.ShadyDOM=n_,nc=["dispatchEvent","addEventListener","removeEventListener"],window.EventTarget?(Y(window.EventTarget.prototype,nc),void 0===window.__shady_native_addEventListener&&Y(Window.prototype,nc)):(Y(Node.prototype,nc),Y(Window.prototype,nc),Y(XMLHttpRequest.prototype,nc)),X?Y(Node.prototype,"parentNode firstChild lastChild previousSibling nextSibling childNodes parentElement textContent".split(" ")):$(Node.prototype,{parentNode:{get:function(){return Z.currentNode=this,Z.parentNode()}},firstChild:{get:function(){return Z.currentNode=this,Z.firstChild()}},lastChild:{get:function(){return Z.currentNode=this,Z.lastChild()}},previousSibling:{get:function(){return Z.currentNode=this,Z.previousSibling()}},nextSibling:{get:function(){return Z.currentNode=this,Z.nextSibling()}},childNodes:{get:function(){var e=[];Z.currentNode=this;for(var t=Z.firstChild();t;)e.push(t),t=Z.nextSibling();return e}},parentElement:{get:function(){return Q.currentNode=this,Q.parentNode()}},textContent:{get:function(){switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:for(var e,t=document.createTreeWalker(this,NodeFilter.SHOW_TEXT,null,!1),n="";e=t.nextNode();)n+=e.nodeValue;return n;default:return this.nodeValue}},set:function(e){switch(null==e&&(e=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:et(this),(0<e.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_native_insertBefore(document.createTextNode(e),void 0);break;default:this.nodeValue=e}}}}),Y(Node.prototype,"appendChild insertBefore removeChild replaceChild cloneNode contains".split(" ")),Y(HTMLElement.prototype,["parentElement","contains"]),nc={firstElementChild:{get:function(){return Q.currentNode=this,Q.firstChild()}},lastElementChild:{get:function(){return Q.currentNode=this,Q.lastChild()}},children:{get:function(){var e=[];Q.currentNode=this;for(var t=Q.firstChild();t;)e.push(t),t=Q.nextSibling();return N(e)}},childElementCount:{get:function(){return this.children?this.children.length:0}}},X?(Y(Element.prototype,en),Y(Element.prototype,["previousElementSibling","nextElementSibling","innerHTML","className"]),Y(HTMLElement.prototype,["children","innerHTML","className"])):($(Element.prototype,nc),$(Element.prototype,{previousElementSibling:{get:function(){return Q.currentNode=this,Q.previousSibling()}},nextElementSibling:{get:function(){return Q.currentNode=this,Q.nextSibling()}},innerHTML:{get:function(){return G(this,w)},set:function(e){var t="template"===this.localName?this.content:this;et(t);var n=this.localName||"div";for((n=this.namespaceURI&&this.namespaceURI!==ee.namespaceURI?ee.createElementNS(this.namespaceURI,n):ee.createElement(n)).innerHTML=e,e="template"===this.localName?n.content:n;n=e.__shady_native_firstChild;)t.__shady_native_insertBefore(n,void 0)}},className:{get:function(){return this.getAttribute("class")||""},set:function(e){this.setAttribute("class",e)}}})),Y(Element.prototype,"setAttribute getAttribute hasAttribute removeAttribute toggleAttribute focus blur".split(" ")),Y(Element.prototype,er),Y(HTMLElement.prototype,["focus","blur"]),window.HTMLTemplateElement&&Y(window.HTMLTemplateElement.prototype,["innerHTML"]),X?Y(DocumentFragment.prototype,en):$(DocumentFragment.prototype,nc),Y(DocumentFragment.prototype,er),X?(Y(Document.prototype,en),Y(Document.prototype,["activeElement"])):$(Document.prototype,nc),Y(Document.prototype,["importNode","getElementById","elementFromPoint",u()]),Y(Document.prototype,er),tq("__shady_"),Object.defineProperty(document,"_activeElement",tA.activeElement),T(Window.prototype,tF,"__shady_"),s.s?s.ma&&T(Element.prototype,tw):(tq(),function(){if(!ec&&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)}}()),ew)window.__shady_native_addEventListener(np,function(e){e.__target||(eL(e),eO(e))},!0);window.Event=ej,window.CustomEvent=eR,window.MouseEvent=ek,window.ShadowRoot=t2}var nm=window.Document.prototype.createElement,nv=window.Document.prototype.createElementNS,ny=window.Document.prototype.importNode,ng=window.Document.prototype.prepend,nb=window.Document.prototype.append,nE=window.DocumentFragment.prototype.prepend,nN=window.DocumentFragment.prototype.append,nw=window.Node.prototype.cloneNode,nC=window.Node.prototype.appendChild,nS=window.Node.prototype.insertBefore,nT=window.Node.prototype.removeChild,nO=window.Node.prototype.replaceChild,nx=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),nD=window.Element.prototype.attachShadow,nM=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),nP=window.Element.prototype.getAttribute,nA=window.Element.prototype.setAttribute,nL=window.Element.prototype.removeAttribute,nj=window.Element.prototype.toggleAttribute,nR=window.Element.prototype.getAttributeNS,nk=window.Element.prototype.setAttributeNS,nF=window.Element.prototype.removeAttributeNS,nH=window.Element.prototype.insertAdjacentElement,nI=window.Element.prototype.insertAdjacentHTML,nB=window.Element.prototype.prepend,nU=window.Element.prototype.append,nq=window.Element.prototype.before,nW=window.Element.prototype.after,nV=window.Element.prototype.replaceWith,nG=window.Element.prototype.remove,nX=window.HTMLElement,nz=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),nJ=window.HTMLElement.prototype.insertAdjacentElement,nK=window.HTMLElement.prototype.insertAdjacentHTML,n$=new Set;function nY(e){var t=n$.has(e);return e=/^[a-z][.0-9_a-z]*-[-.0-9_a-z]*$/.test(e),!t&&e}"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 n$.add(e)});var nZ=document.contains?document.contains.bind(document):document.documentElement.contains.bind(document.documentElement);function nQ(e){var t=e.isConnected;if(void 0!==t)return t;if(nZ(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 n0(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 n1(e,t){for(;t&&t!==e&&!t.nextSibling;)t=t.parentNode;return t&&t!==e?t.nextSibling:null}function n2(){var e=!(null==rc||!rc.noDocumentConstructionObserver),t=!(null==rc||!rc.shadyDomFastWalk);this.M=[],this.g=[],this.I=!1,this.shadyDomFastWalk=t,this.Wa=!e}function n3(e,t,n,r){var o=window.ShadyDOM;if(e.shadyDomFastWalk&&o&&o.inUse){if(t.nodeType===Node.ELEMENT_NODE&&n(t),t.querySelectorAll)for(e=o.nativeMethods.querySelectorAll.call(t,"*"),t=0;t<e.length;t++)n(e[t])}else!function e(t,n,r){for(var o=t;o;){if(o.nodeType===Node.ELEMENT_NODE){var i=o;n(i);var s=i.localName;if("link"===s&&"import"===i.getAttribute("rel")){if(o=i.import,void 0===r&&(r=new Set),o instanceof Node&&!r.has(o))for(r.add(o),o=o.firstChild;o;o=o.nextSibling)e(o,n,r);o=n1(t,i);continue}if("template"===s){o=n1(t,i);continue}if(i=i.__CE_shadowRoot)for(i=i.firstChild;i;i=i.nextSibling)e(i,n,r)}o=o.firstChild?o.firstChild:n1(t,o)}}(t,n,r)}function n9(e,t){e.I&&n3(e,t,function(t){return n6(e,t)})}function n6(e,t){if(e.I&&!t.__CE_patched){t.__CE_patched=!0;for(var n=0;n<e.M.length;n++)e.M[n](t);for(n=0;n<e.g.length;n++)e.g[n](t)}}function n4(e,t){var n=[];for(n3(e,t,function(e){return n.push(e)}),t=0;t<n.length;t++){var r=n[t];1===r.__CE_state?e.connectedCallback(r):n8(e,r)}}function n5(e,t){var n=[];for(n3(e,t,function(e){return n.push(e)}),t=0;t<n.length;t++){var r=n[t];1===r.__CE_state&&e.disconnectedCallback(r)}}function n7(e,t,n){var r=(n=void 0===n?{}:n).Xa,o=n.upgrade||function(t){return n8(e,t)},i=[];for(n3(e,t,function(t){if(e.I&&n6(e,t),"link"===t.localName&&"import"===t.getAttribute("rel")){var n=t.import;n instanceof Node&&(n.__CE_isImportDocument=!0,n.__CE_registry=document.__CE_registry),n&&"complete"===n.readyState?n.__CE_documentLoadHandled=!0:t.addEventListener("load",function(){var n=t.import;if(!n.__CE_documentLoadHandled){n.__CE_documentLoadHandled=!0;var i=new Set;r&&(r.forEach(function(e){return i.add(e)}),i.delete(n)),n7(e,n,{Xa:i,upgrade:o})}})}else i.push(t)},r),t=0;t<i.length;t++)o(i[t])}function n8(e,t){try{var n=t.ownerDocument,r=n.__CE_registry,o=r&&(n.defaultView||n.__CE_isImportDocument)?rd(r,t.localName):void 0;if(o&&void 0===t.__CE_state){o.constructionStack.push(t);try{try{if(new o.constructorFunction!==t)throw Error("The custom element constructor did not produce the element being upgraded.")}finally{o.constructionStack.pop()}}catch(e){throw t.__CE_state=2,e}if(t.__CE_state=1,t.__CE_definition=o,o.attributeChangedCallback&&t.hasAttributes()){var i=o.observedAttributes;for(o=0;o<i.length;o++){var s=i[o],l=t.getAttribute(s);null!==l&&e.attributeChangedCallback(t,s,null,l,null)}}nQ(t)&&e.connectedCallback(t)}}catch(e){rt(e)}}function re(e,t,n,r){var o=t.__CE_registry;if(o&&(null===r||"http://www.w3.org/1999/xhtml"===r)&&(o=rd(o,n)))try{var i=new o.constructorFunction;if(void 0===i.__CE_state||void 0===i.__CE_definition)throw Error("Failed to construct '"+n+"': The returned value was not constructed with the HTMLElement constructor.");if("http://www.w3.org/1999/xhtml"!==i.namespaceURI)throw Error("Failed to construct '"+n+"': The constructed element's namespace must be the HTML namespace.");if(i.hasAttributes())throw Error("Failed to construct '"+n+"': The constructed element must not have any attributes.");if(null!==i.firstChild)throw Error("Failed to construct '"+n+"': The constructed element must not have any children.");if(null!==i.parentNode)throw Error("Failed to construct '"+n+"': The constructed element must not have a parent node.");if(i.ownerDocument!==t)throw Error("Failed to construct '"+n+"': The constructed element's owner document is incorrect.");if(i.localName!==n)throw Error("Failed to construct '"+n+"': The constructed element's local name is incorrect.");return i}catch(o){return rt(o),Object.setPrototypeOf(t=null===r?nm.call(t,n):nv.call(t,r,n),HTMLUnknownElement.prototype),t.__CE_state=2,t.__CE_definition=void 0,n6(e,t),t}return n6(e,t=null===r?nm.call(t,n):nv.call(t,r,n)),t}function rt(e){var t="",n="",r=0,o=0;e instanceof Error?(t=e.message,n=e.sourceURL||e.fileName||"",r=e.line||e.lineNumber||0,o=e.column||e.columnNumber||0):t="Uncaught "+String(e);var i=void 0;void 0===ErrorEvent.prototype.initErrorEvent?i=new ErrorEvent("error",{cancelable:!0,message:t,filename:n,lineno:r,colno:o,error:e}):((i=document.createEvent("ErrorEvent")).initErrorEvent("error",!1,!0,t,n,r),i.preventDefault=function(){Object.defineProperty(this,"defaultPrevented",{configurable:!0,get:function(){return!0}})}),void 0===i.error&&Object.defineProperty(i,"error",{configurable:!0,enumerable:!0,get:function(){return e}}),window.dispatchEvent(i),i.defaultPrevented||console.error(e)}function rn(){var e=this;this.g=void 0,this.sa=new Promise(function(t){e.h=t})}function rr(e){var t=document;this.J=void 0,this.D=e,this.g=t,n7(this.D,this.g),"loading"===this.g.readyState&&(this.J=new MutationObserver(this.h.bind(this)),this.J.observe(this.g,{childList:!0,subtree:!0}))}function ro(e){e.J&&e.J.disconnect()}function ri(e){this.W=new Map,this.X=new Map,this.oa=new Map,this.ga=!1,this.ia=new Map,this.V=function(e){return e()},this.H=!1,this.Y=[],this.D=e,this.pa=e.Wa?new rr(e):void 0}function ra(e,t){if(!nY(t))throw SyntaxError("The element name '"+t+"' is not valid.");if(rd(e,t))throw Error("A custom element with name '"+t+"' has already been defined.");if(e.ga)throw Error("A custom element is already being defined.")}function rs(e,t,n){e.ga=!0;try{var r,o=n.prototype;if(!(o instanceof Object))throw TypeError("The custom element constructor's prototype is not an object.");var i=function(e){var t=o[e];if(void 0!==t&&!(t instanceof Function))throw Error("The '"+e+"' callback must be a function.");return t},s=i("connectedCallback"),l=i("disconnectedCallback"),d=i("adoptedCallback"),u=(r=i("attributeChangedCallback"))&&n.observedAttributes||[]}catch(e){throw e}finally{e.ga=!1}return n={localName:t,constructorFunction:n,connectedCallback:s,disconnectedCallback:l,adoptedCallback:d,attributeChangedCallback:r,observedAttributes:u,constructionStack:[]},e.X.set(t,n),e.oa.set(n.constructorFunction,n),n}function rl(e){if(!1!==e.H){e.H=!1;for(var t=[],n=e.Y,r=new Map,o=0;o<n.length;o++)r.set(n[o],[]);for(n7(e.D,document,{upgrade:function(n){if(void 0===n.__CE_state){var o=n.localName,i=r.get(o);i?i.push(n):e.X.has(o)&&t.push(n)}}}),o=0;o<t.length;o++)n8(e.D,t[o]);for(o=0;o<n.length;o++){for(var i=n[o],s=r.get(i),l=0;l<s.length;l++)n8(e.D,s[l]);(i=e.ia.get(i))&&i.resolve(void 0)}n.length=0}}function rd(e,t){var n=e.X.get(t);if(n)return n;if(n=e.W.get(t)){e.W.delete(t);try{return rs(e,t,n())}catch(e){rt(e)}}}function ru(e,t,n){function r(t){return function(n){for(var r=[],o=0;o<arguments.length;++o)r[o]=arguments[o];o=[];for(var i=[],s=0;s<r.length;s++){var l=r[s];if(l instanceof Element&&nQ(l)&&i.push(l),l instanceof DocumentFragment)for(l=l.firstChild;l;l=l.nextSibling)o.push(l);else o.push(l)}for(t.apply(this,r),r=0;r<i.length;r++)n5(e,i[r]);if(nQ(this))for(r=0;r<o.length;r++)(i=o[r])instanceof Element&&n4(e,i)}}void 0!==n.prepend&&(t.prepend=r(n.prepend)),void 0!==n.append&&(t.append=r(n.append))}n2.prototype.connectedCallback=function(e){var t=e.__CE_definition;if(t.connectedCallback)try{t.connectedCallback.call(e)}catch(e){rt(e)}},n2.prototype.disconnectedCallback=function(e){var t=e.__CE_definition;if(t.disconnectedCallback)try{t.disconnectedCallback.call(e)}catch(e){rt(e)}},n2.prototype.attributeChangedCallback=function(e,t,n,r,o){var i=e.__CE_definition;if(i.attributeChangedCallback&&-1<i.observedAttributes.indexOf(t))try{i.attributeChangedCallback.call(e,t,n,r,o)}catch(e){rt(e)}},rn.prototype.resolve=function(e){if(this.g)throw Error("Already resolved.");this.g=e,this.h(e)},rr.prototype.h=function(e){var t=this.g.readyState;for("interactive"!==t&&"complete"!==t||ro(this),t=0;t<e.length;t++)for(var n=e[t].addedNodes,r=0;r<n.length;r++)n7(this.D,n[r])},(L=ri.prototype).Na=function(e,t){var n=this;if(!(t instanceof Function))throw TypeError("Custom element constructor getters must be functions.");ra(this,e),this.W.set(e,t),this.Y.push(e),this.H||(this.H=!0,this.V(function(){return rl(n)}))},L.define=function(e,t){var n=this;if(!(t instanceof Function))throw TypeError("Custom element constructors must be functions.");ra(this,e),rs(this,e,t),this.Y.push(e),this.H||(this.H=!0,this.V(function(){return rl(n)}))},L.upgrade=function(e){n7(this.D,e)},L.get=function(e){if(e=rd(this,e))return e.constructorFunction},L.whenDefined=function(e){if(!nY(e))return Promise.reject(SyntaxError("'"+e+"' is not a valid custom element name."));var t=this.ia.get(e);if(t)return t.sa;t=new rn,this.ia.set(e,t);var n=this.X.has(e)||this.W.has(e);return e=-1===this.Y.indexOf(e),n&&e&&t.resolve(void 0),t.sa},L.polyfillWrapFlushCallback=function(e){this.pa&&ro(this.pa);var t=this.V;this.V=function(n){return e(function(){return t(n)})}},ri.prototype.define=ri.prototype.define,ri.prototype.upgrade=ri.prototype.upgrade,ri.prototype.get=ri.prototype.get,ri.prototype.whenDefined=ri.prototype.whenDefined,ri.prototype.polyfillDefineLazy=ri.prototype.Na,ri.prototype.polyfillWrapFlushCallback=ri.prototype.polyfillWrapFlushCallback;var rh={},rc=window.customElements;function rf(){var e,t=new n2,n=t;function r(){var e=this.constructor,t=document.__CE_registry.oa.get(e);if(!t)throw Error("Failed to construct a custom element: The constructor was not registered with `customElements`.");var r=t.constructionStack;if(0===r.length)return Object.setPrototypeOf(r=nm.call(document,t.localName),e.prototype),r.__CE_state=1,r.__CE_definition=t,n6(n,r),r;var o=r.length-1,i=r[o];if(i===rh)throw Error("Failed to construct '"+t.localName+"': This element was already constructed.");return r[o]=rh,Object.setPrototypeOf(i,e.prototype),n6(n,i),i}r.prototype=nX.prototype,Object.defineProperty(HTMLElement.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:r}),window.HTMLElement=r,e=t,Document.prototype.createElement=function(t){return re(e,this,t,null)},Document.prototype.importNode=function(t,n){return t=ny.call(this,t,!!n),this.__CE_registry?n7(e,t):n9(e,t),t},Document.prototype.createElementNS=function(t,n){return re(e,this,n,t)},ru(e,Document.prototype,{prepend:ng,append:nb}),ru(t,DocumentFragment.prototype,{prepend:nE,append:nN});var o=t;function i(e,t){Object.defineProperty(e,"textContent",{enumerable:t.enumerable,configurable:!0,get:t.get,set:function(e){if(this.nodeType===Node.TEXT_NODE)t.set.call(this,e);else{var n=void 0;if(this.firstChild){var r=this.childNodes,i=r.length;if(0<i&&nQ(this)){n=Array(i);for(var s=0;s<i;s++)n[s]=r[s]}}if(t.set.call(this,e),n)for(e=0;e<n.length;e++)n5(o,n[e])}}})}Node.prototype.insertBefore=function(e,t){if(e instanceof DocumentFragment){var n=n0(e);if(e=nS.call(this,e,t),nQ(this))for(t=0;t<n.length;t++)n4(o,n[t]);return e}return n=e instanceof Element&&nQ(e),t=nS.call(this,e,t),n&&n5(o,e),nQ(this)&&n4(o,e),t},Node.prototype.appendChild=function(e){if(e instanceof DocumentFragment){var t=n0(e);if(e=nC.call(this,e),nQ(this))for(var n=0;n<t.length;n++)n4(o,t[n]);return e}return t=e instanceof Element&&nQ(e),n=nC.call(this,e),t&&n5(o,e),nQ(this)&&n4(o,e),n},Node.prototype.cloneNode=function(e){return e=nw.call(this,!!e),this.ownerDocument.__CE_registry?n7(o,e):n9(o,e),e},Node.prototype.removeChild=function(e){var t=e instanceof Element&&nQ(e),n=nT.call(this,e);return t&&n5(o,e),n},Node.prototype.replaceChild=function(e,t){if(e instanceof DocumentFragment){var n=n0(e);if(e=nO.call(this,e,t),nQ(this))for(n5(o,t),t=0;t<n.length;t++)n4(o,n[t]);return e}n=e instanceof Element&&nQ(e);var r=nO.call(this,e,t),i=nQ(this);return i&&n5(o,t),n&&n5(o,e),i&&n4(o,e),r},nx&&nx.get?i(Node.prototype,nx):(o.I=!0,o.M.push(function(e){i(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;)nT.call(this,this.firstChild);null!=e&&""!==e&&nC.call(this,document.createTextNode(e))}})})),function(e){function t(t,n){Object.defineProperty(t,"innerHTML",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(t){var r=this,o=void 0;if(nQ(this)&&(o=[],n3(e,this,function(e){e!==r&&o.push(e)})),n.set.call(this,t),o)for(var i=0;i<o.length;i++){var s=o[i];1===s.__CE_state&&e.disconnectedCallback(s)}return this.ownerDocument.__CE_registry?n7(e,this):n9(e,this),t}})}function n(t,n){t.insertAdjacentElement=function(t,r){var o=nQ(r);return t=n.call(this,t,r),o&&n5(e,r),nQ(t)&&n4(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++)n7(e,r[n])}t.insertAdjacentHTML=function(e,t){if("beforebegin"===(e=e.toLowerCase())){var o=this.previousSibling;n.call(this,e,t),r(o||this.parentNode.firstChild,this)}else if("afterbegin"===e)o=this.firstChild,n.call(this,e,t),r(this.firstChild,o);else if("beforeend"===e)o=this.lastChild,n.call(this,e,t),r(o||this.firstChild,null);else if("afterend"===e)o=this.nextSibling,n.call(this,e,t),r(this.nextSibling,o);else throw SyntaxError("The value provided ("+String(e)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.")}}function o(t){return function(n){for(var r=[],o=0;o<arguments.length;++o)r[o]=arguments[o];o=[];for(var i=[],s=0;s<r.length;s++){var l=r[s];if(l instanceof Element&&nQ(l)&&i.push(l),l instanceof DocumentFragment)for(l=l.firstChild;l;l=l.nextSibling)o.push(l);else o.push(l)}for(t.apply(this,r),r=0;r<i.length;r++)n5(e,i[r]);if(nQ(this))for(r=0;r<o.length;r++)(i=o[r])instanceof Element&&n4(e,i)}}nD&&(Element.prototype.attachShadow=function(t){if(t=nD.call(this,t),e.I&&!t.__CE_patched){t.__CE_patched=!0;for(var n=0;n<e.M.length;n++)e.M[n](t)}return this.__CE_shadowRoot=t}),nM&&nM.get?t(Element.prototype,nM):nz&&nz.get?t(HTMLElement.prototype,nz):(e.I=!0,e.g.push(function(e){t(e,{enumerable:!0,configurable:!0,get:function(){return nw.call(this,!0).innerHTML},set:function(e){var t="template"===this.localName,n=t?this.content:this,r=nv.call(document,this.namespaceURI,this.localName);for(r.innerHTML=e;0<n.childNodes.length;)nT.call(n,n.childNodes[0]);for(e=t?r.content:r;0<e.childNodes.length;)nC.call(n,e.childNodes[0])}})})),Element.prototype.setAttribute=function(t,n){if(1!==this.__CE_state)return nA.call(this,t,n);var r=nP.call(this,t);nA.call(this,t,n),n=nP.call(this,t),e.attributeChangedCallback(this,t,r,n,null)},Element.prototype.setAttributeNS=function(t,n,r){if(1!==this.__CE_state)return nk.call(this,t,n,r);var o=nR.call(this,t,n);nk.call(this,t,n,r),r=nR.call(this,t,n),e.attributeChangedCallback(this,n,o,r,t)},Element.prototype.removeAttribute=function(t){if(1!==this.__CE_state)return nL.call(this,t);var n=nP.call(this,t);nL.call(this,t),null!==n&&e.attributeChangedCallback(this,t,n,null,null)},nj&&(Element.prototype.toggleAttribute=function(t,n){if(1!==this.__CE_state)return nj.call(this,t,n);var r=nP.call(this,t);return null!==r!==(n=nj.call(this,t,n))&&e.attributeChangedCallback(this,t,r,n?"":null,null),n}),Element.prototype.removeAttributeNS=function(t,n){if(1!==this.__CE_state)return nF.call(this,t,n);var r=nR.call(this,t,n);nF.call(this,t,n);var o=nR.call(this,t,n);r!==o&&e.attributeChangedCallback(this,n,r,o,t)},nJ?n(HTMLElement.prototype,nJ):nH&&n(Element.prototype,nH),nK?r(HTMLElement.prototype,nK):nI&&r(Element.prototype,nI),ru(e,Element.prototype,{prepend:nB,append:nU});var i=Element.prototype;void 0!==nq&&(i.before=o(nq)),void 0!==nW&&(i.after=o(nW)),void 0!==nV&&(i.replaceWith=function(t){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];r=[];for(var o=[],i=0;i<n.length;i++){var s=n[i];if(s instanceof Element&&nQ(s)&&o.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)r.push(s);else r.push(s)}for(i=nQ(this),nV.apply(this,n),n=0;n<o.length;n++)n5(e,o[n]);if(i)for(n5(e,this),n=0;n<r.length;n++)(o=r[n])instanceof Element&&n4(e,o)}),void 0!==nG&&(i.remove=function(){var t=nQ(this);nG.call(this),t&&n5(e,this)})}(t),window.CustomElementRegistry=ri,t=new ri(t),document.__CE_registry=t,Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:t})}function r_(){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 rp(e){var t=e=e.replace(rE,"").replace(rN,""),n=new r_;n.start=0,n.end=t.length;for(var r=n,o=0,i=t.length;o<i;o++)if("{"===t[o]){r.rules||(r.rules=[]);var s=r,l=s.rules[s.rules.length-1]||null;(r=new r_).start=o+1,r.parent=s,r.previous=l,s.rules.push(r)}else"}"===t[o]&&(r.end=o+1,r=r.parent||n);return function e(t,n){var r=n.substring(t.start,t.end-1);if(t.parsedCssText=t.cssText=r.trim(),t.parent&&(r=(r=(r=(r=n.substring(t.previous?t.previous.end:t.parent.start,t.start-1)).replace(/\\([0-9a-f]{1,6})\s/gi,function(e,t){for(t=6-(e=t).length;t--;)e="0"+e;return"\\"+e})).replace(rx," ")).substring(r.lastIndexOf(";")+1),r=t.parsedSelector=t.selector=r.trim(),t.atRule=0===r.indexOf("@"),t.atRule?0===r.indexOf("@media")?t.type=rg:r.match(rO)&&(t.type=ry,t.keyframesName=t.selector.split(rx).pop()):t.type=0===r.indexOf("--")?rb:rv),r=t.rules)for(var o=0,i=r.length,s=void 0;o<i&&(s=r[o]);o++)e(s,n);return t}(n,e)}rc&&!rc.forcePolyfill&&"function"==typeof rc.define&&"function"==typeof rc.get||rf(),window.__CE_installPolyfill=rf;var rm,rv=1,ry=7,rg=4,rb=1e3,rE=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,rN=/@import[^;]*;/gim,rw=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,rC=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,rS=/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,rT=/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,rO=/^@[^\s]*keyframes/,rx=/\s+/g,rD=!(window.ShadyDOM&&window.ShadyDOM.inUse);function rM(e){rm=(!e||!e.shimcssproperties)&&(rD||!(navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)||!window.CSS||!CSS.supports||!CSS.supports("box-shadow","0 0 0 var(--foo)")))}window.ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(oG=window.ShadyCSS.cssBuild);var rP=!(!window.ShadyCSS||!window.ShadyCSS.disableRuntime);window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?rm=window.ShadyCSS.nativeCss:window.ShadyCSS?(rM(window.ShadyCSS),window.ShadyCSS=void 0):rM(window.WebComponents&&window.WebComponents.flags);var rA=rm,rL=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,rj=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,rR=/(--[\w-]+)\s*([:,;)]|$)/gi,rk=/(animation\s*:)|(animation-name\s*:)/,rF=/@media\s(.*)/,rH=/\{[^}]*\}/g,rI=new Set;function rB(e,t){return e?("string"==typeof e&&(e=rp(e)),t&&rW(e,t),function e(t,n,r){r=void 0===r?"":r;var o="";if(t.cssText||t.rules){var i,s=t.rules;if((i=s)&&(i=!((i=s[0])&&i.selector&&0===i.selector.indexOf("--"))),i){i=0;for(var l=s.length,d=void 0;i<l&&(d=s[i]);i++)o=e(d,n,o)}else(o=(n=n?t.cssText:(n=(n=t.cssText).replace(rw,"").replace(rC,"")).replace(rS,"").replace(rT,"")).trim())&&(o=" "+o+"\n")}return o&&(t.selector&&(r+=t.selector+" {\n"),r+=o,t.selector&&(r+="}\n\n")),r}(e,rA)):""}function rU(e){return!e.__cssRules&&e.textContent&&(e.__cssRules=rp(e.textContent)),e.__cssRules||null}function rq(e){return!!e.parent&&e.parent.type===ry}function rW(e,t,n,r){if(e){var o=!1,i=e.type;if(r&&i===rg){var s=e.selector.match(rF);s&&(window.matchMedia(s[1]).matches||(o=!0))}if(i===rv?t(e):n&&i===ry?n(e):i===rb&&(o=!0),(e=e.rules)&&!o)for(o=0,i=e.length,s=void 0;o<i&&(s=e[o]);o++)rW(s,t,n,r)}}function rV(e,t,n,r){var o=document.createElement("style");return t&&o.setAttribute("scope",t),o.textContent=e,rz(o,n,r),o}var rG=null;function rX(e){e=document.createComment(" Shady DOM styles for "+e+" ");var t=document.head;return t.insertBefore(e,(rG?rG.nextSibling:null)||t.firstChild),rG=e}function rz(e,t,n){(t=t||document.head).insertBefore(e,n&&n.nextSibling||t.firstChild),rG?e.compareDocumentPosition(rG)===Node.DOCUMENT_POSITION_PRECEDING&&(rG=e):rG=e}function rJ(e,t){for(var n=0,r=e.length;t<r;t++)if("("===e[t])n++;else if(")"===e[t]&&0==--n)return t;return -1}function rK(e,t){rD?e.setAttribute("class",t):window.ShadyDOM.nativeMethods.setAttribute.call(e,"class",t)}var r$=window.ShadyDOM&&window.ShadyDOM.wrap||function(e){return e};function rY(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,T:n}}function rZ(e){for(var t=[],n="",r=0;0<=r&&r<e.length;r++)if("("===e[r]){var o=rJ(e,r);n+=e.slice(r,o+1),r=o}else","===e[r]?(t.push(n),n=""):n+=e[r];return n&&t.push(n),t}function rQ(e){if(void 0!==oG)return oG;if(void 0===e.__cssBuild){var t=e.getAttribute("css-build");if(t)e.__cssBuild=t;else{e:{if((t="template"===e.localName?e.content.firstChild:e.firstChild)instanceof Comment&&"css-build"===(t=t.textContent.trim().split(":"))[0]){t=t[1];break e}t=""}if(""!==t){var n="template"===e.localName?e.content.firstChild:e.firstChild;n.parentNode.removeChild(n)}e.__cssBuild=t}}return e.__cssBuild||""}function r0(e){return""!==(e=void 0===e?"":e)&&!!rA&&(rD?"shadow"===e:"shady"===e)}function r1(){}function r2(e,t,n){var r;if(t.nodeType===Node.ELEMENT_NODE&&n(t),r="template"===t.localName?(t.content||t._content||t).childNodes:t.children||t.childNodes)for(t=0;t<r.length;t++)r2(e,r[t],n)}function r3(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&&rK(e,t=r.replace("style-scope","").replace(t,"")):rK(e,(r?r+" ":"")+"style-scope "+t)}}}function r9(e,t,n,r,o){var i,s,l,d,u,h;return""===(o=void 0===o?"":o)&&(o=rD||"shady"===(void 0===r?"":r)?rB(t,n):(i=ol,s=t,l=(e=rY(e)).is,d=e.T,u=n,h=r6(l,d),l=l?"."+l:"",rB(s,function(e){e.i||(e.selector=e.m=r4(i,e,i.h,l,h),e.i=!0),u&&u(e,l,h)})+"\n\n")),o.trim()}function r6(e,t){return t?"[is="+e+"]":e}function r4(e,t,n,r,o){var i=rZ(t.selector);if(!rq(t)){t=0;for(var s=i.length,l=void 0;t<s&&(l=i[t]);t++)i[t]=n.call(e,l,r,o)}return i.filter(function(e){return!!e}).join(",")}function r5(e){return e.replace(oe,function(e,t,n){return -1<n.indexOf("+")?n=n.replace(/\+/g,"___"):-1<n.indexOf("___")&&(n=n.replace(/___/g,"+")),":"+t+"("+n+")"})}function r7(e,t){e=e.split(/(\[.+?\])/);for(var n=[],r=0;r<e.length;r++)if(1==r%2)n.push(e[r]);else{var o=e[r];(""!==o||r!==e.length-1)&&(o=o.split(":"),o[0]+=t,n.push(o.join(":")))}return n.join("")}function r8(e){":root"===e.selector&&(e.selector="html")}r1.prototype.h=function(e,t,n){var r,o,i,s=!1;e=e.trim();var l=oe.test(e);l&&(e=r5(e=e.replace(oe,function(e,t,n){return":"+t+"("+n.replace(/\s/g,"")+")"})));var d=os.test(e);if(d){var u=function(e){for(var t,n=[];t=e.match(os);){var r=t.index,o=rJ(e,r);if(-1===o)throw Error(t.input+" selector missing ')'");t=e.slice(r,o+1),e=e.replace(t,""),n.push(t)}return{na:e,matches:n}}(e);e=u.na,u=u.matches}return e=(e=e.replace(or,":host $1")).replace(ot,function(e,r,o){return s||(e=function(e,t,n,r){var o,i,s,l=e.indexOf("::slotted");if(0<=e.indexOf(":host")?(o=e,i=r,e=(s=(s=o.match(oo))&&s[2].trim()||"")?s[0].match(on)?o.replace(oo,function(e,t,n){return i+n}):s.split(on)[0]===i?s:"should_not_match":o.replace(":host",i)):0!==l&&(e=n?r7(e,n):e),n=!1,0<=l&&(t="",n=!0),n){var d=!0;n&&(e=e.replace(oi,function(e,t){return" > "+t}))}return{value:e,Ga:t,stop:d}}(o,r,t,n),s=s||e.stop,r=e.Ga,o=e.value),r+o}),d&&(r=e,o=u,i=r.split(""),e=o.reduce(function(e,t,n){return e+t+i[n+1]},i[0])),l&&(e=r5(e)),e=e.replace(oa,function(e,t,n,r){return'[dir="'+n+'"] '+t+r+", "+t+'[dir="'+n+'"]'+r})},r1.prototype.i=function(e){return e.match(":host")?"":e.match("::slotted")?this.h(e,":not(.style-scope)"):r7(e.trim(),":not(.style-scope)")},n.Object.defineProperties(r1.prototype,{g:{configurable:!0,enumerable:!0,get:function(){return"style-scope"}}});var oe=/:(nth[-\w]+)\(([^)]+)\)/,ot=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,on=/[[.:#*]/,or=/^(::slotted)/,oo=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,oi=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,oa=/(.*):dir\((?:(ltr|rtl))\)(.*)/,os=/:(?:matches|any|-(?:webkit|moz)-any)/,ol=new r1;function od(e,t,n,r,o){this.A=e||null,this.h=t||null,this.la=n||[],this.u=null,this.cssBuild=o||"",this.T=r||"",this.g=this.v=this.C=null}function ou(e){return e?e.__styleInfo:null}function oh(e,t){return e.__styleInfo=t}function oc(e){var t=this.matches||this.matchesSelector||this.mozMatchesSelector||this.msMatchesSelector||this.oMatchesSelector||this.webkitMatchesSelector;return t&&t.call(this,e)}od.prototype.i=function(){return this.A},od.prototype._getStyleRules=od.prototype.i;var of=/:host\s*>\s*/,o_=navigator.userAgent.match("Trident");function op(){}function om(e){if(!e.l){var t={},n={};ov(e,n)&&(t.B=n,e.rules=null),t.cssText=e.parsedCssText.replace(rH,"").replace(rL,""),e.l=t}}function ov(e,t){var n,r=e.l;if(r){if(r.B)return Object.assign(t,r.B),!0}else{for(r=e.parsedCssText;e=rL.exec(r);)("inherit"!==(n=(e[2]||e[3]).trim())||"unset"!==n)&&(t[e[1].trim()]=n),n=!0;return n}}function oy(e,t,n){return t&&(t=0<=t.indexOf(";")?og(e,t,n):function e(t,n){var r=t.indexOf("var(");if(-1===r)return n(t,"","","");var o=rJ(t,r+3),i=t.substring(r+4,o);return r=t.substring(0,r),t=e(t.substring(o+1),n),-1===(o=i.indexOf(","))?n(r,i.trim(),"",t):n(r,i.substring(0,o).trim(),i.substring(o+1).trim(),t)}(t,function(t,r,o,i){return r?((r=oy(e,n[r],n))&&"initial"!==r?"apply-shim-inherit"===r&&(r="inherit"):r=oy(e,n[o]||o,n)||o,t+(r||"")+i):t+i})),t&&t.trim()||""}function og(e,t,n){t=t.split(";");for(var r,o,i=0;i<t.length;i++)if(r=t[i]){if(rj.lastIndex=0,o=rj.exec(r))r=oy(e,n[o[1]],n);else if(-1!==(o=r.indexOf(":"))){var s=r.substring(o);s=oy(e,s=s.trim(),n)||s,r=r.substring(0,o)+s}t[i]=r&&r.lastIndexOf(";")===r.length-1?r.slice(0,-1):r||""}return t.join(";")}n.Object.defineProperties(op.prototype,{g:{configurable:!0,enumerable:!0,get:function(){return"x-scope"}}});var ob=new op,oE={},oN=window.customElements;if(oN&&!rD&&!rP){var ow=oN.define;oN.define=function(e,t,n){oE[e]||(oE[e]=rX(e)),ow.call(oN,e,t,n)}}function oC(){this.cache={}}function oS(){}oC.prototype.store=function(e,t,n,r){var o=this.cache[e]||[];o.push({B:t,styleElement:n,v:r}),100<o.length&&o.shift(),this.cache[e]=o};var oT=RegExp(ol.g+"\\s*([^\\s]*)");function oO(e){return(e=(e.classList&&e.classList.value?e.classList.value:e.getAttribute("class")||"").match(oT))?e[1]:""}function ox(e){var t=r$(e).getRootNode();return t===e||t===e.ownerDocument?"":(e=t.host)?rY(e).is:""}function oD(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.target!==document.documentElement&&n.target!==document.head)for(var r=0;r<n.addedNodes.length;r++){var o=n.addedNodes[r];if(o.nodeType===Node.ELEMENT_NODE){var i=o.getRootNode(),s=oO(o);if(s&&i===o.ownerDocument&&("style"!==o.localName&&"template"!==o.localName||""===rQ(o)))!function(e,t){r2(ol,e,function(e){r3(e,t||"",!0)})}(o,s);else if(i instanceof ShadowRoot)for((i=ox(o))!==s&&function(e,t,n){r2(ol,e,function(e){r3(e,t,!0),r3(e,n)})}(o,s,i),o=window.ShadyDOM.nativeMethods.querySelectorAll.call(o,":not(."+ol.g+")"),s=0;s<o.length;s++){var l=ox(i=o[s]);l&&r3(i,l)}}}}}if(!(rD||window.ShadyDOM&&window.ShadyDOM.handlesDynamicScoping)){var oM=new MutationObserver(oD),oP=function(e){oM.observe(e,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)oP(document);else{var oA=function(){oP(document.body)};window.HTMLImports?window.HTMLImports.whenReady(oA):requestAnimationFrame(function(){if("loading"===document.readyState){var e=function(){oA(),document.removeEventListener("readystatechange",e)};document.addEventListener("readystatechange",e)}else oA()})}oS=function(){oD(oM.takeRecords())}}var oL={},oj=Promise.resolve();function oR(e){(e=oL[e])&&(e._applyShimCurrentVersion=e._applyShimCurrentVersion||0,e._applyShimValidatingVersion=e._applyShimValidatingVersion||0,e._applyShimNextVersion=(e._applyShimNextVersion||0)+1)}function ok(e){return e._applyShimCurrentVersion===e._applyShimNextVersion}var oF={},oH=new oC;function oI(){this.va={},this.i=document.documentElement;var e=new r_;e.rules=[],this.o=oh(this.i,new od(e)),this.ca=!1,this.g=this.h=null}function oB(e){var t=rY(e),n=t.is;t=t.T;var r=oE[n]||null,o=oL[n];if(o)return oh(e,t=new od(n=o._styleAst,r,o.g,t,o=rQ(o))),t}function oU(e){if(!e.h&&window.ShadyCSS&&window.ShadyCSS.ApplyShim){e.h=window.ShadyCSS.ApplyShim,e.h.invalidCallback=oR;var t=!0}else t=!1;return!e.g&&window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface&&(e.g=window.ShadyCSS.CustomStyleInterface,e.g.transformCallback=function(t){e.ya(t)},e.g.validateCallback=function(){requestAnimationFrame(function(){(e.g.enqueued||e.ca)&&e.flushCustomStyles()})}),t}function oq(e,t,n){var r,o=rY(t).is;if(n.u){var i,s=n.u;for(i in s)null===i?t.style.removeProperty(i):t.style.setProperty(i,s[i])}!(!(s=oL[o])&&t!==e.i||s&&""!==rQ(s))&&s&&s._style&&!ok(s)&&((ok(s)||s._applyShimValidatingVersion!==s._applyShimNextVersion)&&(oU(e),e.h&&e.h.transformRules(s._styleAst,o),s._style.textContent=r9(t,n.A),(r=s)._applyShimValidatingVersion=r._applyShimNextVersion,r._validating||(r._validating=!0,oj.then(function(){r._applyShimCurrentVersion=r._applyShimNextVersion,r._validating=!1}))),rD&&(e=t.shadowRoot)&&(e=e.querySelector("style"))&&(e.textContent=r9(t,n.A)),n.A=s._styleAst)}function oW(e,t){return(t=r$(t).getRootNode().host)?ou(t)||oB(t)?t:oW(e,t):e.i}function oV(e,t,n){var r,o,i,s,l,d,u,h,c,f=oW(e,t),_=ou(f),p=_.C;for(var m in f===e.i||p||(oV(e,f,_),p=_.C),e=Object.create(p||null),r=t,o=n.A,i=n.cssBuild,s={},l={},rW(o,function(e){!function(e,t,n,r){if(t.l||om(t),t.l.B){var o=rY(e);e=o.is,o=o.T,o=e?r6(e,o):"html";var i=t.parsedSelector,s=!!i.match(of)||"html"===o&&-1<i.indexOf("html"),l=0===i.indexOf(":host")&&!s;"shady"===n&&(l=!(s=i===o+" > *."+o||-1!==i.indexOf("html"))&&0===i.indexOf(o)),(s||l)&&(n=o,l&&(t.m||(t.m=r4(ol,t,ol.h,e?"."+e:"",o)),n=t.m||o),s&&"html"===o&&(n=t.m||t.ca),r({na:n,Ma:l,Za:s}))}}(r,e,i,function(t){oc.call(r._element||r,t.na)&&(t.Ma?ov(e,s):ov(e,l))})},null,!0),f={Qa:l,La:s},t=(d=_.A,u=t,h={},c=[],rW(d,function(e){e.l||om(e);var t=e.m||e.parsedSelector;u&&e.l.B&&t&&oc.call(u,t)&&(ov(e,h),c[t=parseInt((e=e.index)/32,10)]=(c[t]||0)|1<<e%32)},null,!0),{B:h,key:c}).B,Object.assign(e,f.La,t,f.Qa),t=n.u)((_=t[m])||0===_)&&(e[m]=_);for(_=0,m=ob,t=Object.getOwnPropertyNames(e);_<t.length;_++)e[f=t[_]]=oy(m,e[f],e);n.C=e}(L=oI.prototype).flush=function(){oS()},L.Ja=function(e){return rU(e)},L.Ua=function(e){return rB(e)},L.prepareTemplate=function(e,t,n){this.prepareTemplateDom(e,t),this.prepareTemplateStyles(e,t,n)},L.prepareTemplateStyles=function(e,t,n){if(!e._prepared&&!rP){rD||oE[t]||(oE[t]=rX(t)),e._prepared=!0,e.name=t,e.extends=n,oL[t]=e;var r=rQ(e),o=r0(r);n={is:t,extends:n};for(var i=[],s=e.content.querySelectorAll("style"),l=0;l<s.length;l++){var d=s[l];if(d.hasAttribute("shady-unscoped")){if(!rD){var u=d.textContent;if(!rI.has(u)){rI.add(u);var h=document.createElement("style");h.setAttribute("shady-unscoped",""),h.textContent=u,document.head.appendChild(h)}d.parentNode.removeChild(d)}}else i.push(d.textContent),d.parentNode.removeChild(d)}i=i.join("").trim()+(oF[t]||""),oU(this),o||((s=!r)&&(s=rj.test(i)||rL.test(i),rj.lastIndex=0,rL.lastIndex=0),l=rp(i),s&&rA&&this.h&&this.h.transformRules(l,t),e._styleAst=l),s=[],rA||(s=function(e){var t={},n=[],r=0;for(var o in rW(e,function(e){om(e),e.index=r++,e=e.l.cssText;for(var n;n=rR.exec(e);){var o=n[1];":"!==n[2]&&(t[o]=!0)}},function(e){n.push(e)}),e.h=n,e=[],t)e.push(o);return e}(e._styleAst)),(!s.length||rA)&&(l=rD?e.content:null,t=oE[t]||null,r=(r=r9(n,e._styleAst,null,r,o?i:"")).length?rV(r,n.is,l,t):null,e._style=r),e.g=s}},L.Oa=function(e,t){oF[t]=e.join(" ")},L.prepareTemplateDom=function(e,t){if(!rP){var n,r=rQ(e);rD||"shady"===r||e._domPrepared||(e._domPrepared=!0,n=e.content,r2(ol,n,function(e){r3(e,t||"")}))}},L.flushCustomStyles=function(){if(!rP){var e=oU(this);if(this.g){var t=this.g.processStyles();if((e||this.g.enqueued)&&!r0(this.o.cssBuild)){if(rA){if(!this.o.cssBuild)for(e=0;e<t.length;e++){var n,r,o=this.g.getStyleForCustomStyle(t[e]);if(o&&rA&&this.h){var i=rU(o);oU(this),this.h.transformRules(i),o.textContent=rB(i)}}}else{for(n=this,(r=(r=t).map(function(e){return n.g.getStyleForCustomStyle(e)}).filter(function(e){return!!e})).sort(function(e,t){return(e=t.compareDocumentPosition(e))&Node.DOCUMENT_POSITION_FOLLOWING?1:e&Node.DOCUMENT_POSITION_PRECEDING?-1:0}),n.o.A.rules=r.map(function(e){return rU(e)}),oV(this,this.i,this.o),e=0;e<t.length;e++)(o=this.g.getStyleForCustomStyle(t[e]))&&function(e,t){var n=rU(e);e.textContent=rB(n,function(e){var n=e.cssText=e.parsedCssText;e.l&&e.l.cssText&&(e.cssText=og(ob,n=n.replace(rw,"").replace(rC,""),t))})}(o,this.o.C);this.ca&&this.styleDocument()}this.g.enqueued=!1}}}},L.styleElement=function(e,t){if(rP){if(t){ou(e)||oh(e,new od(null));var n=ou(e);n.u=n.u||{},Object.assign(n.u,t),oq(this,e,n)}}else if(n=ou(e)||oB(e)){if(e!==this.i&&(this.ca=!0),t&&(n.u=n.u||{},Object.assign(n.u,t)),rA)oq(this,e,n);else if(this.flush(),oV(this,e,n),n.la&&n.la.length){t=rY(e).is;e:{if(c=oH.cache[t])for(var r,o,i,s,l,d,u,h,c,f=c.length-1;0<=f;f--){var _=c[f];t:{for(var p=n.la,m=0;m<p.length;m++){var v=p[m];if(_.B[v]!==n.C[v]){p=!1;break t}}p=!0}if(p){c=_;break e}}c=void 0}p=c?c.styleElement:null,f=n.v,(_=c&&c.v)||(_=this.va[t]=(this.va[t]||0)+1,_=t+"-"+_),n.v=_,_=n.v,m=ob,m=p?p.textContent||"":(r=m,o=n.C,i=_,l=r6((s=rY(e)).is,s.T),d=RegExp("(?:^|[^.#[:])"+(e.extends?"\\"+l.slice(0,-1)+"\\]":l)+"($|[.:[\\s>+~])"),s=(u=ou(e)).A,u=u.cssBuild,h=function(e,t){e=e.h;var n={};if(!rD&&e)for(var r=0,o=e[r];r<e.length;o=e[++r]){var i=o;i.o=RegExp("\\b"+i.keyframesName+"(?!\\B|-)","g"),i.g=i.keyframesName+"-"+t,i.m=i.m||i.selector,i.selector=i.m.replace(i.keyframesName,i.g),n[o.keyframesName]=function(e){return function(t){return t.replace(e.o,e.g)}}(o)}return n}(s,i),r9(e,s,function(e){var t="";if(e.l||om(e),e.l.cssText&&(t=og(r,e.l.cssText,o)),e.cssText=t,!rD&&!rq(e)&&e.cssText){var n=t=e.cssText;if(null==e.ua&&(e.ua=rk.test(t)),e.ua)if(null==e.ba)for(var s in e.ba=[],h)n=(n=h[s])(t),t!==n&&(t=n,e.ba.push(s));else{for(s=0;s<e.ba.length;++s)t=(n=h[e.ba[s]])(t);n=t}e.cssText=n,e.m=e.m||e.selector,t="."+i,s=rZ(e.m),n=0;for(var u=s.length,c=void 0;n<u&&(c=s[n]);n++)s[n]=c.match(d)?c.replace(l,t):t+" "+c;e.selector=s.join(",")}},u));var y=(v=ou(e)).g;y&&!rD&&y!==p&&(y._useCount--,0>=y._useCount&&y.parentNode&&y.parentNode.removeChild(y)),rD?v.g?(v.g.textContent=m,p=v.g):m&&(p=rV(m,_,e.shadowRoot,v.h)):p?p.parentNode||(o_&&-1<m.indexOf("@media")&&(p.textContent=m),rz(p,null,v.h)):m&&(p=rV(m,_,null,v.h)),p&&(p._useCount=p._useCount||0,v.g!=p&&p._useCount++,v.g=p),_=p,rD||(p=n.v,v=m=e.getAttribute("class")||"",f&&(v=m.replace(RegExp("\\s*x-scope\\s*"+f+"\\s*","g")," ")),m!==(v+=(v?" ":"")+"x-scope "+p)&&rK(e,v)),c||oH.store(t,n.C,_,n.v)}}},L.styleDocument=function(e){this.styleSubtree(this.i,e)},L.styleSubtree=function(e,t){var n=r$(e),r=n.shadowRoot,o=e===this.i;if((r||o)&&this.styleElement(e,t),e=o?n:r)for(e=Array.from(e.querySelectorAll("*")).filter(function(e){return r$(e).shadowRoot}),t=0;t<e.length;t++)this.styleSubtree(e[t])},L.ya=function(e){var t=this,n=rQ(e);if(n!==this.o.cssBuild&&(this.o.cssBuild=n),!r0(n)){var r=rU(e);rW(r,function(e){rD?r8(e):(e.selector=e.parsedSelector,r8(e),e.selector=e.m=r4(ol,e,ol.i,void 0,void 0)),rA&&""===n&&(oU(t),t.h&&t.h.transformRule(e))}),rA?e.textContent=rB(r):this.o.A.rules.push(r)}},L.getComputedStyleValue=function(e,t){var n;return rA||(n=(ou(e)||ou(oW(this,e))).C[t]),(n=n||window.getComputedStyle(e).getPropertyValue(t))?n.trim():""},L.Ta=function(e,t){var n=r$(e).getRootNode();if(t=t?("string"==typeof t?t:String(t)).split(/\s/):[],!(n=n.host&&n.host.localName)){var r=e.getAttribute("class");if(r){r=r.split(/\s/);for(var o=0;o<r.length;o++)if(r[o]===ol.g){n=r[o+1];break}}}n&&t.push(ol.g,n),rA||(n=ou(e))&&n.v&&t.push(ob.g,n.v),rK(e,t.join(" "))},L.Fa=function(e){return ou(e)},L.Sa=function(e,t){r3(e,t)},L.Va=function(e,t){r3(e,t,!0)},L.Ra=function(e){return ox(e)},L.Ia=function(e){return oO(e)},oI.prototype.flush=oI.prototype.flush,oI.prototype.prepareTemplate=oI.prototype.prepareTemplate,oI.prototype.styleElement=oI.prototype.styleElement,oI.prototype.styleDocument=oI.prototype.styleDocument,oI.prototype.styleSubtree=oI.prototype.styleSubtree,oI.prototype.getComputedStyleValue=oI.prototype.getComputedStyleValue,oI.prototype.setElementClass=oI.prototype.Ta,oI.prototype._styleInfoForNode=oI.prototype.Fa,oI.prototype.transformCustomStyleForDocument=oI.prototype.ya,oI.prototype.getStyleAst=oI.prototype.Ja,oI.prototype.styleAstToString=oI.prototype.Ua,oI.prototype.flushCustomStyles=oI.prototype.flushCustomStyles,oI.prototype.scopeNode=oI.prototype.Sa,oI.prototype.unscopeNode=oI.prototype.Va,oI.prototype.scopeForNode=oI.prototype.Ra,oI.prototype.currentScopeForNode=oI.prototype.Ia,oI.prototype.prepareAdoptedCssText=oI.prototype.Oa,Object.defineProperties(oI.prototype,{nativeShadow:{get:function(){return rD}},nativeCss:{get:function(){return rA}}});var oG,oX,oz,oJ=new oI;window.ShadyCSS&&(oX=window.ShadyCSS.ApplyShim,oz=window.ShadyCSS.CustomStyleInterface),window.ShadyCSS={ScopingShim:oJ,prepareTemplate:function(e,t,n){oJ.flushCustomStyles(),oJ.prepareTemplate(e,t,n)},prepareTemplateDom:function(e,t){oJ.prepareTemplateDom(e,t)},prepareTemplateStyles:function(e,t,n){oJ.flushCustomStyles(),oJ.prepareTemplateStyles(e,t,n)},styleSubtree:function(e,t){oJ.flushCustomStyles(),oJ.styleSubtree(e,t)},styleElement:function(e){oJ.flushCustomStyles(),oJ.styleElement(e)},styleDocument:function(e){oJ.flushCustomStyles(),oJ.styleDocument(e)},flushCustomStyles:function(){oJ.flushCustomStyles()},getComputedStyleValue:function(e,t){return oJ.getComputedStyleValue(e,t)},nativeCss:rA,nativeShadow:rD,cssBuild:oG,disableRuntime:rP},oX&&(window.ShadyCSS.ApplyShim=oX),oz&&(window.ShadyCSS.CustomStyleInterface=oz)}).call(this);