lwc 2.7.1 → 2.7.2

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 (41) hide show
  1. package/dist/engine-dom/esm/es2017/engine-dom.js +578 -379
  2. package/dist/engine-dom/iife/es2017/engine-dom.js +578 -379
  3. package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -9
  4. package/dist/engine-dom/iife/es2017/engine-dom_debug.js +552 -359
  5. package/dist/engine-dom/iife/es5/engine-dom.js +630 -330
  6. package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -9
  7. package/dist/engine-dom/iife/es5/engine-dom_debug.js +598 -310
  8. package/dist/engine-dom/umd/es2017/engine-dom.js +578 -379
  9. package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -9
  10. package/dist/engine-dom/umd/es2017/engine-dom_debug.js +552 -359
  11. package/dist/engine-dom/umd/es5/engine-dom.js +630 -330
  12. package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -9
  13. package/dist/engine-dom/umd/es5/engine-dom_debug.js +598 -310
  14. package/dist/engine-server/commonjs/es2017/engine-server.js +647 -449
  15. package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -9
  16. package/dist/engine-server/esm/es2017/engine-server.js +647 -449
  17. package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +41 -6
  18. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +41 -6
  19. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js +2 -2
  20. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +41 -6
  21. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +41 -6
  22. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.min.js +2 -2
  23. package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +41 -6
  24. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +41 -6
  25. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js +2 -2
  26. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +41 -6
  27. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +41 -6
  28. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.min.js +2 -2
  29. package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +41 -6
  30. package/dist/wire-service/esm/es2017/wire-service.js +2 -2
  31. package/dist/wire-service/iife/es2017/wire-service.js +2 -2
  32. package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
  33. package/dist/wire-service/iife/es5/wire-service.js +3 -3
  34. package/dist/wire-service/iife/es5/wire-service.min.js +1 -1
  35. package/dist/wire-service/iife/es5/wire-service_debug.js +3 -3
  36. package/dist/wire-service/umd/es2017/wire-service.js +2 -2
  37. package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
  38. package/dist/wire-service/umd/es5/wire-service.js +3 -3
  39. package/dist/wire-service/umd/es5/wire-service.min.js +1 -1
  40. package/dist/wire-service/umd/es5/wire-service_debug.js +3 -3
  41. package/package.json +8 -8
@@ -194,7 +194,7 @@ const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
194
194
  // we can't use typeof since it will fail when transpiling.
195
195
 
196
196
  const hasNativeSymbolSupport = /*@__PURE__*/(() => Symbol('x').toString() === 'Symbol(x)')();
197
- /** version: 2.7.1 */
197
+ /** version: 2.7.2 */
198
198
 
199
199
  /*
200
200
  * Copyright (c) 2018, salesforce.com, inc.
@@ -1562,7 +1562,7 @@ if (!_globalThis.lwcRuntimeFlags) {
1562
1562
  }
1563
1563
 
1564
1564
  const runtimeFlags = _globalThis.lwcRuntimeFlags;
1565
- /** version: 2.7.1 */
1565
+ /** version: 2.7.2 */
1566
1566
 
1567
1567
  /*
1568
1568
  * Copyright (c) 2018, salesforce.com, inc.
@@ -2050,7 +2050,22 @@ function getAllRootNodes(node) {
2050
2050
  }
2051
2051
 
2052
2052
  return rootNodes;
2053
- }
2053
+ } // Keep searching up the host tree until we find an element that is within the immediate shadow root
2054
+
2055
+
2056
+ const findAncestorHostInImmediateShadowRoot = (rootNode, targetRootNode) => {
2057
+ let host;
2058
+
2059
+ while (!isUndefined(host = rootNode.host)) {
2060
+ const thisRootNode = host.getRootNode();
2061
+
2062
+ if (thisRootNode === targetRootNode) {
2063
+ return host;
2064
+ }
2065
+
2066
+ rootNode = thisRootNode;
2067
+ }
2068
+ };
2054
2069
 
2055
2070
  function fauxElementsFromPoint(context, doc, left, top) {
2056
2071
  const elements = elementsFromPoint.call(doc, left, top);
@@ -2064,8 +2079,28 @@ function fauxElementsFromPoint(context, doc, left, top) {
2064
2079
  for (let i = 0; i < elements.length; i++) {
2065
2080
  const element = elements[i];
2066
2081
 
2067
- if (rootNodes.indexOf(element.getRootNode()) !== -1 && !isSyntheticSlotElement(element)) {
2068
- result.push(element);
2082
+ if (isSyntheticSlotElement(element)) {
2083
+ continue;
2084
+ }
2085
+
2086
+ const elementRootNode = element.getRootNode();
2087
+
2088
+ if (ArrayIndexOf.call(rootNodes, elementRootNode) !== -1) {
2089
+ ArrayPush.call(result, element);
2090
+ continue;
2091
+ } // In cases where the host element is not visible but its shadow descendants are, then
2092
+ // we may get the shadow descendant instead of the host element here. (The
2093
+ // browser doesn't know the difference in synthetic shadow DOM.)
2094
+ // In native shadow DOM, however, elementsFromPoint would return the host but not
2095
+ // the child. So we need to detect if this shadow element's host is accessible from
2096
+ // the context's shadow root. Note we also need to be careful not to add the host
2097
+ // multiple times.
2098
+
2099
+
2100
+ const ancestorHost = findAncestorHostInImmediateShadowRoot(elementRootNode, rootNodes[0]);
2101
+
2102
+ if (!isUndefined(ancestorHost) && ArrayIndexOf.call(elements, ancestorHost) === -1 && ArrayIndexOf.call(result, ancestorHost) === -1) {
2103
+ ArrayPush.call(result, ancestorHost);
2069
2104
  }
2070
2105
  }
2071
2106
  }
@@ -5752,4 +5787,4 @@ defineProperty(Element.prototype, '$domManual$', {
5752
5787
 
5753
5788
  configurable: true
5754
5789
  });
5755
- /** version: 2.7.1 */
5790
+ /** version: 2.7.2 */
@@ -197,7 +197,7 @@
197
197
  // we can't use typeof since it will fail when transpiling.
198
198
 
199
199
  const hasNativeSymbolSupport = /*@__PURE__*/(() => Symbol('x').toString() === 'Symbol(x)')();
200
- /** version: 2.7.1 */
200
+ /** version: 2.7.2 */
201
201
 
202
202
  /*
203
203
  * Copyright (c) 2018, salesforce.com, inc.
@@ -1565,7 +1565,7 @@
1565
1565
  }
1566
1566
 
1567
1567
  const runtimeFlags = _globalThis.lwcRuntimeFlags;
1568
- /** version: 2.7.1 */
1568
+ /** version: 2.7.2 */
1569
1569
 
1570
1570
  /*
1571
1571
  * Copyright (c) 2018, salesforce.com, inc.
@@ -2053,7 +2053,22 @@
2053
2053
  }
2054
2054
 
2055
2055
  return rootNodes;
2056
- }
2056
+ } // Keep searching up the host tree until we find an element that is within the immediate shadow root
2057
+
2058
+
2059
+ const findAncestorHostInImmediateShadowRoot = (rootNode, targetRootNode) => {
2060
+ let host;
2061
+
2062
+ while (!isUndefined(host = rootNode.host)) {
2063
+ const thisRootNode = host.getRootNode();
2064
+
2065
+ if (thisRootNode === targetRootNode) {
2066
+ return host;
2067
+ }
2068
+
2069
+ rootNode = thisRootNode;
2070
+ }
2071
+ };
2057
2072
 
2058
2073
  function fauxElementsFromPoint(context, doc, left, top) {
2059
2074
  const elements = elementsFromPoint.call(doc, left, top);
@@ -2067,8 +2082,28 @@
2067
2082
  for (let i = 0; i < elements.length; i++) {
2068
2083
  const element = elements[i];
2069
2084
 
2070
- if (rootNodes.indexOf(element.getRootNode()) !== -1 && !isSyntheticSlotElement(element)) {
2071
- result.push(element);
2085
+ if (isSyntheticSlotElement(element)) {
2086
+ continue;
2087
+ }
2088
+
2089
+ const elementRootNode = element.getRootNode();
2090
+
2091
+ if (ArrayIndexOf.call(rootNodes, elementRootNode) !== -1) {
2092
+ ArrayPush.call(result, element);
2093
+ continue;
2094
+ } // In cases where the host element is not visible but its shadow descendants are, then
2095
+ // we may get the shadow descendant instead of the host element here. (The
2096
+ // browser doesn't know the difference in synthetic shadow DOM.)
2097
+ // In native shadow DOM, however, elementsFromPoint would return the host but not
2098
+ // the child. So we need to detect if this shadow element's host is accessible from
2099
+ // the context's shadow root. Note we also need to be careful not to add the host
2100
+ // multiple times.
2101
+
2102
+
2103
+ const ancestorHost = findAncestorHostInImmediateShadowRoot(elementRootNode, rootNodes[0]);
2104
+
2105
+ if (!isUndefined(ancestorHost) && ArrayIndexOf.call(elements, ancestorHost) === -1 && ArrayIndexOf.call(result, ancestorHost) === -1) {
2106
+ ArrayPush.call(result, ancestorHost);
2072
2107
  }
2073
2108
  }
2074
2109
  }
@@ -5755,6 +5790,6 @@
5755
5790
 
5756
5791
  configurable: true
5757
5792
  });
5758
- /** version: 2.7.1 */
5793
+ /** version: 2.7.2 */
5759
5794
 
5760
5795
  })();
@@ -1,4 +1,4 @@
1
- !function(){"use strict";const{assign:e,create:t,defineProperties:n,defineProperty:l,freeze:o,getOwnPropertyDescriptor:r,getOwnPropertyNames:i,getPrototypeOf:a,hasOwnProperty:c,isFrozen:u,keys:s,seal:h,setPrototypeOf:f}=Object,{filter:p,find:g,indexOf:m,join:d,map:b,push:E,reduce:y,reverse:w,slice:T,splice:v,unshift:N,forEach:L}=Array.prototype,{charCodeAt:M,replace:C,slice:S,toLowerCase:O}=String.prototype;function H(e){return void 0===e}function A(e){return null===e}function _(e){return!0===e}function R(e){return!1===e}function P(e){return"function"==typeof e}function D(e){return"object"==typeof e}const $=function(){if("object"==typeof globalThis)return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),I="$shadowResolver$",B="$shadowToken$",k=Node,x=k.prototype,{DOCUMENT_POSITION_CONTAINED_BY:F,DOCUMENT_POSITION_CONTAINS:W,DOCUMENT_POSITION_PRECEDING:U,DOCUMENT_POSITION_FOLLOWING:j,ELEMENT_NODE:K,TEXT_NODE:G,CDATA_SECTION_NODE:q,PROCESSING_INSTRUCTION_NODE:X,COMMENT_NODE:Y,DOCUMENT_FRAGMENT_NODE:V}=k,{appendChild:z,cloneNode:J,compareDocumentPosition:Q,insertBefore:Z,removeChild:ee,replaceChild:te,hasChildNodes:ne}=x,{contains:le}=HTMLElement.prototype,oe=r(x,"firstChild").get,re=r(x,"lastChild").get,ie=r(x,"textContent").get,ae=r(x,"parentNode").get,ce=r(x,"ownerDocument").get,ue=c.call(x,"parentElement")?r(x,"parentElement").get:r(HTMLElement.prototype,"parentElement").get,se=r(x,"textContent").set,he=c.call(x,"childNodes")?r(x,"childNodes").get:r(HTMLElement.prototype,"childNodes").get,fe=c.call(x,"isConnected")?r(x,"isConnected").get:function(){const e=ce.call(this);return null===e||0!=(Q.call(e,this)&F)},{getAttribute:pe,getBoundingClientRect:ge,getElementsByTagName:me,getElementsByTagNameNS:de,hasAttribute:be,querySelector:Ee,querySelectorAll:ye,removeAttribute:we,setAttribute:Te}=Element.prototype,ve=c.call(Element.prototype,"attachShadow")?Element.prototype.attachShadow:()=>{throw new TypeError("attachShadow() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill and use Lightning Web Components")},Ne=r(Element.prototype,"childElementCount").get,Le=r(Element.prototype,"firstElementChild").get,Me=r(Element.prototype,"lastElementChild").get,Ce=r(HTMLElement.prototype,"innerText"),Se=Ce?Ce.get:null,Oe=Ce?Ce.set:null,He=r(HTMLElement.prototype,"outerText"),Ae=He?He.get:null,_e=He?He.set:null,Re=c.call(Element.prototype,"innerHTML")?r(Element.prototype,"innerHTML"):r(HTMLElement.prototype,"innerHTML"),Pe=Re.get,De=Re.set,$e=c.call(Element.prototype,"outerHTML")?r(Element.prototype,"outerHTML"):r(HTMLElement.prototype,"outerHTML"),Ie=$e.get,Be=$e.set,ke=r(Element.prototype,"tagName").get,xe=r(HTMLElement.prototype,"tabIndex"),Fe=xe.get,We=xe.set,Ue=c.call(Element.prototype,"matches")?Element.prototype.matches:Element.prototype.msMatchesSelector,je=c.call(Element.prototype,"children")?r(Element.prototype,"children").get:r(HTMLElement.prototype,"children").get,{getElementsByClassName:Ke}=HTMLElement.prototype,Ge=c.call(Element.prototype,"shadowRoot")?r(Element.prototype,"shadowRoot").get:()=>null,qe=c.call(Element.prototype,"assignedSlot")?r(Element.prototype,"assignedSlot").get:()=>null;let Xe,Ye;"undefined"!=typeof HTMLSlotElement?(Xe=HTMLSlotElement.prototype.assignedNodes,Ye=HTMLSlotElement.prototype.assignedElements):(Xe=()=>{throw new TypeError("assignedNodes() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill to start using <slot> elements in your Lightning Web Component's template")},Ye=()=>{throw new TypeError("assignedElements() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill to start using <slot> elements in your Lightning Web Component's template")});const Ve=r(Event.prototype,"target").get,ze=r(Event.prototype,"currentTarget").get,Je=r(FocusEvent.prototype,"relatedTarget").get,Qe=c.call(Event.prototype,"composedPath")?Event.prototype.composedPath:()=>[],Ze=r(Document.prototype,"activeElement").get,et=c.call(Document.prototype,"elementFromPoint")?Document.prototype.elementFromPoint:Document.prototype.msElementFromPoint,tt=c.call(Document.prototype,"elementsFromPoint")?Document.prototype.elementsFromPoint:Document.prototype.msElementsFromPoint,nt=r(Document.prototype,"defaultView").get,{createComment:lt,querySelectorAll:ot,getElementById:rt,getElementsByClassName:it,getElementsByTagName:at,getElementsByTagNameNS:ct}=Document.prototype,{getElementsByName:ut}=HTMLDocument.prototype,{addEventListener:st,removeEventListener:ht,getComputedStyle:ft,getSelection:pt}=window,gt=MutationObserver,mt=gt.prototype.observe;let dt=null;"undefined"!=typeof ShadowRoot&&(dt=ShadowRoot);const bt=!A(dt),Et=A(dt)?()=>!1:e=>e instanceof dt;const{createElement:yt}=Document.prototype;function wt(e){const t=ce.call(e);return null===t?e:t}function Tt(e){const t=wt(e),n=nt.call(t);if(null===n)throw new TypeError;return n}let vt;function Nt(e){if(H(vt)){const t=wt(e);vt=t.body&&"temporary-bypass"===pe.call(t.body,"data-global-patching-bypass")}return _(vt)}function Lt(e){const t=e.length,n=[];if(t>0)for(let l=0;l<t;l++)n[l]=e[l];return n}"undefined"==typeof HTMLSlotElement&&function(){class e{}f(e,HTMLElement.constructor),f(e.prototype,HTMLElement.prototype),Window.prototype.HTMLSlotElement=e,l(Document.prototype,"createElement",{value:function(t,n){const l=yt.apply(this,T.call(arguments));return 4===t.length&&115===M.call(t,0)&&108===M.call(t,1)&&111===M.call(t,2)&&116===M.call(t,3)&&f(l,e.prototype),l}})}();const Mt="undefined"!=typeof EventTarget?EventTarget.prototype:k.prototype,{addEventListener:Ct,dispatchEvent:St,removeEventListener:Ot}=Mt,Ht=new WeakMap,At=new WeakMap;function _t(e,t,n){if(t===n)return!0;let l=At.get(e);return H(l)&&(l=e.composedPath(),At.set(e,l)),l.includes(n)}function Rt(e){if(!function(e){return P(e)||D(e)&&!A(e)&&P(e.handleEvent)}(e))return e;let t=Ht.get(e);return H(t)&&(t=function(t){const n=ze.call(t);if(_t(t,It(t),n))return P(e)?e.call(this,t):e.handleEvent&&e.handleEvent(t)},Ht.set(e,t)),t}const Pt=new WeakMap,Dt=new WeakMap;function $t(e){let n=Dt.get(e);return H(n)&&(n=t(null),Dt.set(e,n)),n}function It(e){var t;return null!==(t=il.get(e))&&void 0!==t?t:Ve.call(e)}const Bt=new WeakMap;function kt(e){if(!P(e))throw new TypeError;let t=Bt.get(e);return H(t)&&(t=function(t){let n=ze.call(t);Et(n)||(n=Zn(n));_t(t,It(t),n)&&e.call(n,t)},t.placement=1,Bt.set(e,t)),t}const xt=new WeakMap;function Ft(e){if(!P(e))throw new TypeError;let t=xt.get(e);return H(t)&&(t=function(t){const n=ze.call(t);_t(t,It(t),n)&&e.call(n,t)},t.placement=0,xt.set(e,t)),t}function Wt(e){let t=!1,n=!1;const{type:o,stopImmediatePropagation:r,stopPropagation:i}=e,a=$t(ze.call(e))[o];l(e,"stopImmediatePropagation",{value(){t=!0,r.call(e)},writable:!0,enumerable:!0,configurable:!0}),l(e,"stopPropagation",{value(){n=!0,i.call(e)},writable:!0,enumerable:!0,configurable:!0});const c=T.call(a);function u(n){L.call(c,(l=>{R(t)&&l.placement===n&&-1!==m.call(a,l)&&l.call(void 0,e)}))}Pt.set(e,1),u(1),R(t)&&R(n)&&(Pt.set(e,0),u(0)),Pt.set(e,2)}function Ut(e,t,n){const l=$t(e);let o=l[t];H(o)&&(o=l[t]=[]),-1===m.call(o,n)&&(0===o.length&&Ct.call(e,t,Wt),E.call(o,n))}function jt(e,t,n){let l,o;H(o=$t(e)[t])||-1===(l=m.call(o,n))||(v.call(o,l,1),0===o.length&&Ot.call(e,t,Wt))}function Kt(e,t,n){if(P(t)){Ut(this,e,Ft(t))}}function Gt(e,t,n){if(P(t)){jt(this,e,Ft(t))}}const qt="$$HostElementKey$$",Xt="$$ShadowedNodeKey$$";function Yt(e,t,n){const l=e;{const{value:e}=n;l[t]=e}}function Vt(e){return e[qt]}function zt(e){let t,n=e;for(;!A(n);){if(t=Vt(n),!H(t))return t;n=ae.call(n)}}function Jt(e){return e[Xt]}function Qt(e){return!H(Vt(e))}function Zt(e){let t=ue.call(e);for(;!A(t)&&ln(t);)e=t,t=ue.call(e);return e}function en(e,t){const n=Jt(e);let l=t instanceof Element?t:ue.call(t);for(;!A(l)&&l!==e;){const t=zt(l),o=ue.call(l);if(t===n)return ln(l);if(o===e)return!1;if(A(o)||zt(o)===t)l=o;else{if(!ln(o))return!1;if(l=tn(Zt(o)),!A(l)){if(l===e)return!0;if(zt(l)===n)return!0}}}return!1}function tn(e){if(!(e instanceof k))return null;const t=zt(e);if(H(t))return null;let n=e;for(;!A(n)&&Jt(n)!==t;)n=ae.call(n);return A(n)?null:n}function nn(e){return ln(e)&&Qt(e)}function ln(e){return e instanceof HTMLSlotElement}function on(e,t){const n=zt(t);return H(n)||Jt(e)===n}function rn(e){const t=Qn(e);return un(t,Lt(he.call(t)))}function an(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];!on(e,o)&&en(e,o)&&E.call(n,o)}return n}function cn(e,t){for(let n=0,l=t.length;n<l;n+=1){const l=t[n];if(!on(e,l)&&en(e,l))return l}return null}function un(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];on(e,o)&&E.call(n,o)}return n}function sn(e,t){for(let n=0,l=t.length;n<l;n+=1)if(on(e,t[n]))return t[n];return null}function hn(e){if(!el(e)&&!ln(e)){return Lt(he.call(e))}if(el(e)){const t=Lt(ye.call(e,"slot")),n=Vn(Zn(e));return y.call(t,((e,t)=>(n===Vn(t)&&E.apply(e,fn(t)),e)),[])}{const t=Lt(he.call(e)),n=Vn(e);return p.call(t,(e=>n===Vn(e)))}}function fn(e){const t=tn(e);if(A(t))return[];const n=Lt(he.call(e));return p.call(n,(e=>!Qt(e)||!on(t,e)))}function pn(e){if(e.nodeType===K){const t=hn(e);let n="";for(let e=0,l=t.length;e<l;e+=1){const l=t[e];l.nodeType!==Y&&(n+=pn(l))}return n}return e.nodeValue}const gn=new WeakMap;function mn(){throw new TypeError("Illegal constructor")}function dn(e){const n=t(mn.prototype);return gn.set(n,e),L.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}mn.prototype=t(NodeList.prototype,{constructor:{writable:!0,configurable:!0,value:mn},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return gn.get(this).length}},forEach:{writable:!0,enumerable:!0,configurable:!0,value(e,t){L.call(gn.get(this),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value(){return b.call(gn.get(this),((e,t)=>[t,e]))}},keys:{writable:!0,enumerable:!0,configurable:!0,value(){return b.call(gn.get(this),((e,t)=>t))}},values:{writable:!0,enumerable:!0,configurable:!0,value(){return gn.get(this)}},[Symbol.iterator]:{writable:!0,configurable:!0,value(){let e=0;return{next:()=>{const t=gn.get(this);return e<t.length?{value:t[e++],done:!1}:{done:!0}}}}},[Symbol.toStringTag]:{configurable:!0,get:()=>"NodeList"},toString:{writable:!0,configurable:!0,value:()=>"[object NodeList]"}}),f(mn,NodeList);const bn=new WeakMap;function En(){throw new TypeError("Illegal constructor")}function yn(e){const n=t(En.prototype);return bn.set(n,e),L.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}En.prototype=t(HTMLCollection.prototype,{constructor:{writable:!0,configurable:!0,value:En},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return bn.get(this).length}},namedItem:{writable:!0,enumerable:!0,configurable:!0,value(e){if(""===e)return null;const t=bn.get(this);for(let n=0,l=t.length;n<l;n++){const n=t[l];if(e===pe.call(n,"id")||e===pe.call(n,"name"))return n}return null}},[Symbol.toStringTag]:{configurable:!0,get:()=>"HTMLCollection"},toString:{writable:!0,configurable:!0,value:()=>"[object HTMLCollection]"}}),f(En,HTMLCollection);const wn=/[&\u00A0"]/g,Tn=/[&\u00A0<>]/g,{replace:vn,toLowerCase:Nn}=String.prototype;function Ln(e){switch(e){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case" ":return"&nbsp;";default:return""}}function Mn(e){return vn.call(e,wn,Ln)}const Cn=new Set(["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"]),Sn=new Set(["STYLE","SCRIPT","XMP","IFRAME","NOEMBED","NOFRAMES","PLAINTEXT","NOSCRIPT"]);function On(e){switch(e.nodeType){case K:{const{attributes:t}=e,n=ke.call(e);let l="<"+Nn.call(n);for(let e,n=0;e=t[n];n++)l+=" "+e.name+'="'+Mn(e.value)+'"';return l+=">",Cn.has(n)?l:l+function(e){let t="";const n=hn(e);for(let e=0,l=n.length;e<l;e+=1)t+=On(n[e]);return t}(e)+"</"+Nn.call(n)+">"}case G:{const{data:n,parentNode:l}=e;return l instanceof Element&&Sn.has(ke.call(l))?n:(t=n,vn.call(t,Tn,Ln))}case q:return`<!CDATA[[${e.data}]]>`;case X:return`<?${e.target} ${e.data}?>`;case Y:return`\x3c!--${e.data}--\x3e`;default:return""}var t}$.lwcRuntimeFlags||Object.defineProperty($,"lwcRuntimeFlags",{value:t(null)});const Hn=$.lwcRuntimeFlags;function An(e){return nn(e)||el(e)}function _n(e,t){const n=tn(e);if(t===n)return Zn(n);if(t instanceof Element){if(zt(e)===zt(t))return t;if(!A(n)&&ln(t)){const e=tn(t);if(!A(e)&&on(n,e))return e}}return null}function Rn(){return Kn(this).length>0}function Pn(){return Kn(this)[0]||null}function Dn(){const e=Kn(this);return e[e.length-1]||null}function $n(){return pn(this)}function In(){const e=ae.call(this);return A(e)?e:_n(this,e)}function Bn(){const e=ae.call(this);if(A(e))return null;const t=_n(this,e);return t instanceof Element?t:null}function kn(e){return this===e?0:this.getRootNode()===e?10:Vt(this)!==Vt(e)?35:Q.call(this,e)}function xn(e){return null!=e&&Vt(this)===Vt(e)&&0!=(Q.call(this,e)&F)}function Fn(e){const t=J.call(this,!1);if(!e)return t;const n=Kn(this);for(let e=0,l=n.length;e<l;e+=1)t.appendChild(n[e].cloneNode(!0));return t}function Wn(){if(el(this)){const e=tn(this);return dn(A(e)?[]:un(e,hn(this)))}return he.call(this)}const Un=k.prototype.getRootNode,jn=H(Un)?function(){let e,t=this;for(;!A(e=ae.call(t));)t=e;return t}:Un;n(k.prototype,{firstChild:{get(){return An(this)?Pn.call(this):oe.call(this)},enumerable:!0,configurable:!0},lastChild:{get(){return An(this)?Dn.call(this):re.call(this)},enumerable:!0,configurable:!0},textContent:{get(){return Hn.ENABLE_NODE_PATCH?Nt(this)?ie.call(this):$n.call(this):Qt(this)||el(this)?$n.call(this):ie.call(this)},set:function(e){se.call(this,e)},enumerable:!0,configurable:!0},parentNode:{get(){if(Qt(this))return In.call(this);const e=ae.call(this);return!A(e)&&nn(e)?tn(e):e},enumerable:!0,configurable:!0},parentElement:{get(){if(Qt(this))return Bn.call(this);const e=ue.call(this);return!A(e)&&nn(e)?tn(e):e},enumerable:!0,configurable:!0},childNodes:{get(){return An(this)?Wn.call(this):he.call(this)},enumerable:!0,configurable:!0},hasChildNodes:{value(){return An(this)?Rn.call(this):ne.call(this)},enumerable:!0,writable:!0,configurable:!0},compareDocumentPosition:{value(e){return Nt(this)?Q.call(this,e):kn.call(this,e)},enumerable:!0,writable:!0,configurable:!0},contains:{value(e){return this===e||(Hn.ENABLE_NODE_PATCH?Nt(this)?le.call(this,e):xn.call(this,e):null!=e&&(Qt(this)||el(this)?xn.call(this,e):le.call(this,e)))},enumerable:!0,writable:!0,configurable:!0},cloneNode:{value(e){return Hn.ENABLE_NODE_PATCH?_(e)?Nt(this)?J.call(this,e):Fn.call(this,e):J.call(this,e):Qt(this)||el(this)?Fn.call(this,e):J.call(this,e)},enumerable:!0,writable:!0,configurable:!0},getRootNode:{value:function(e){return _(!H(e)&&!!e.composed)?jn.call(this,e):function(e){const t=tn(e);return A(t)?jn.call(e):Zn(t)}(this)},enumerable:!0,configurable:!0,writable:!0},isConnected:{enumerable:!0,configurable:!0,get(){return fe.call(this)}}});const Kn=function(e){return e.childNodes};function Gn(e,t,n,l){const o=tt.call(t,n,l),r=[],i=function(e){var t;const n=[];let l=e.getRootNode();for(;!H(l);)n.push(l),l=null===(t=l.host)||void 0===t?void 0:t.getRootNode();return n}(e);if(!A(o))for(let e=0;e<o.length;e++){const t=o[e];-1===i.indexOf(t.getRootNode())||nn(t)||r.push(t)}return r}c.call(HTMLElement.prototype,"contains")&&l(HTMLElement.prototype,"contains",r(k.prototype,"contains")),c.call(HTMLElement.prototype,"parentElement")&&l(HTMLElement.prototype,"parentElement",r(k.prototype,"parentElement"));const qn=new WeakMap,{createDocumentFragment:Xn}=document;function Yn(e){const t=qn.get(e);if(H(t))throw new TypeError;return t}function Vn(e){return e.$shadowResolver$}function zn(e,t){e.$shadowResolver$=t}function Jn(e){return Yn(e).delegatesFocus}function Qn(e){return Yn(e).host}function Zn(e){return Yn(e).shadowRoot}function el(e){const t=qn.get(e);return!H(t)&&e===t.host}function tl(e){const t=qn.get(e);return!H(t)&&e===t.shadowRoot}l(k.prototype,I,{set(e){var t,n;H(e)||(this.$$ShadowResolverKey$$=e,t=this,n=e.nodeKey,Yt(t,qt,{value:n,configurable:!0}))},get(){return this.$$ShadowResolverKey$$},configurable:!0,enumerable:!0}),l($,"$isNativeShadowRootDefined$",{value:bt});let nl=0;function ll(e,t){if(qn.has(e))throw new Error("Failed to execute 'attachShadow' on 'Element': Shadow root cannot be created on a host which already hosts a shadow tree.");const{mode:n,delegatesFocus:l}=t,o=wt(e),r=Xn.call(o),i={mode:n,delegatesFocus:!!l,host:e,shadowRoot:r};qn.set(r,i),qn.set(e,i);const a=()=>r,c=a.nodeKey=nl++;return Yt(e,Xt,{value:c}),zn(r,a),f(r,cl.prototype),r}const ol={constructor:{writable:!0,configurable:!0,value:cl},toString:{writable:!0,configurable:!0,value:()=>"[object ShadowRoot]"},synthetic:{writable:!1,enumerable:!1,configurable:!1,value:!0}},rl={activeElement:{enumerable:!0,configurable:!0,get(){const e=Qn(this),t=wt(e),n=Ze.call(t);if(A(n))return n;if(0==(Q.call(e,n)&F))return null;let l=n;for(;!on(e,l);)l=ue.call(l);return ln(l)?null:l}},delegatesFocus:{configurable:!0,get(){return Yn(this).delegatesFocus}},elementFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return hl(this,wt(Qn(this)),e,t)}},elementsFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return Gn(this,wt(Qn(this)),e,t)}},getSelection:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error('Disallowed method "getSelection" on ShadowRoot.')}},host:{enumerable:!0,configurable:!0,get(){return Qn(this)}},mode:{configurable:!0,get(){return Yn(this).mode}},styleSheets:{enumerable:!0,configurable:!0,get(){throw new Error}}},il=new WeakMap,al={insertBefore:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return Z.call(Qn(this),e,t),e}},removeChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return ee.call(Qn(this),e),e}},appendChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return z.call(Qn(this),e),e}},replaceChild:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return te.call(Qn(this),e,t),t}},addEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,l){P(n)&&Ut(Qn(e),t,kt(n))}(this,e,t)}},dispatchEvent:{writable:!0,enumerable:!0,configurable:!0,value(e){return il.set(e,this),St.apply(Qn(this),arguments)}},removeEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,l){P(n)&&jt(Qn(e),t,kt(n))}(this,e,t)}},baseURI:{enumerable:!0,configurable:!0,get(){return Qn(this).baseURI}},childNodes:{enumerable:!0,configurable:!0,get(){return dn(rn(this))}},cloneNode:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error('Disallowed method "cloneNode" on ShadowRoot.')}},compareDocumentPosition:{writable:!0,enumerable:!0,configurable:!0,value(e){const t=Qn(this);return this===e?0:this.contains(e)?20:Q.call(t,e)&F?37:35}},contains:{writable:!0,enumerable:!0,configurable:!0,value(e){if(this===e)return!0;const t=Qn(this);return 0!=(Q.call(t,e)&F)&&on(t,e)}},firstChild:{enumerable:!0,configurable:!0,get(){return Kn(this)[0]||null}},lastChild:{enumerable:!0,configurable:!0,get(){const e=Kn(this);return e[e.length-1]||null}},hasChildNodes:{writable:!0,enumerable:!0,configurable:!0,value(){return Kn(this).length>0}},isConnected:{enumerable:!0,configurable:!0,get(){return fe.call(Qn(this))}},nextSibling:{enumerable:!0,configurable:!0,get:()=>null},previousSibling:{enumerable:!0,configurable:!0,get:()=>null},nodeName:{enumerable:!0,configurable:!0,get:()=>"#document-fragment"},nodeType:{enumerable:!0,configurable:!0,get:()=>11},nodeValue:{enumerable:!0,configurable:!0,get:()=>null},ownerDocument:{enumerable:!0,configurable:!0,get(){return Qn(this).ownerDocument}},parentElement:{enumerable:!0,configurable:!0,get:()=>null},parentNode:{enumerable:!0,configurable:!0,get:()=>null},textContent:{enumerable:!0,configurable:!0,get(){const e=Kn(this);let t="";for(let n=0,l=e.length;n<l;n+=1){const l=e[n];l.nodeType!==Y&&(t+=pn(l))}return t},set(e){const t=Qn(this);se.call(t,e)}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value(e){return!H(e)&&_(e.composed)?Qn(this).getRootNode(e):this}}};function cl(){throw new TypeError("Illegal constructor")}function ul(e,t){const n=[];let l;if(e instanceof Window)l=e;else{if(!(e instanceof k))return n;l=e.getRootNode()}let o,r=e;for(;!A(r);)if(n.push(r),r instanceof Element||r instanceof Text){const e=r.assignedSlot;r=A(e)?r.parentNode:e}else r=!tl(r)&&!Et(r)||!t&&r===l?r instanceof k?r.parentNode:null:r.host;return o=e instanceof Window?e.document:wt(e),n[n.length-1]===o&&n.push(window),n}
1
+ !function(){"use strict";const{assign:e,create:t,defineProperties:n,defineProperty:l,freeze:o,getOwnPropertyDescriptor:r,getOwnPropertyNames:i,getPrototypeOf:a,hasOwnProperty:c,isFrozen:u,keys:s,seal:f,setPrototypeOf:h}=Object,{filter:p,find:g,indexOf:m,join:d,map:b,push:E,reduce:y,reverse:w,slice:T,splice:v,unshift:N,forEach:L}=Array.prototype,{charCodeAt:M,replace:C,slice:S,toLowerCase:O}=String.prototype;function H(e){return void 0===e}function A(e){return null===e}function R(e){return!0===e}function _(e){return!1===e}function P(e){return"function"==typeof e}function D(e){return"object"==typeof e}const $=function(){if("object"==typeof globalThis)return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),I="$shadowResolver$",B="$shadowToken$",k=Node,x=k.prototype,{DOCUMENT_POSITION_CONTAINED_BY:F,DOCUMENT_POSITION_CONTAINS:W,DOCUMENT_POSITION_PRECEDING:U,DOCUMENT_POSITION_FOLLOWING:j,ELEMENT_NODE:K,TEXT_NODE:G,CDATA_SECTION_NODE:q,PROCESSING_INSTRUCTION_NODE:X,COMMENT_NODE:Y,DOCUMENT_FRAGMENT_NODE:V}=k,{appendChild:z,cloneNode:J,compareDocumentPosition:Q,insertBefore:Z,removeChild:ee,replaceChild:te,hasChildNodes:ne}=x,{contains:le}=HTMLElement.prototype,oe=r(x,"firstChild").get,re=r(x,"lastChild").get,ie=r(x,"textContent").get,ae=r(x,"parentNode").get,ce=r(x,"ownerDocument").get,ue=c.call(x,"parentElement")?r(x,"parentElement").get:r(HTMLElement.prototype,"parentElement").get,se=r(x,"textContent").set,fe=c.call(x,"childNodes")?r(x,"childNodes").get:r(HTMLElement.prototype,"childNodes").get,he=c.call(x,"isConnected")?r(x,"isConnected").get:function(){const e=ce.call(this);return null===e||0!=(Q.call(e,this)&F)},{getAttribute:pe,getBoundingClientRect:ge,getElementsByTagName:me,getElementsByTagNameNS:de,hasAttribute:be,querySelector:Ee,querySelectorAll:ye,removeAttribute:we,setAttribute:Te}=Element.prototype,ve=c.call(Element.prototype,"attachShadow")?Element.prototype.attachShadow:()=>{throw new TypeError("attachShadow() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill and use Lightning Web Components")},Ne=r(Element.prototype,"childElementCount").get,Le=r(Element.prototype,"firstElementChild").get,Me=r(Element.prototype,"lastElementChild").get,Ce=r(HTMLElement.prototype,"innerText"),Se=Ce?Ce.get:null,Oe=Ce?Ce.set:null,He=r(HTMLElement.prototype,"outerText"),Ae=He?He.get:null,Re=He?He.set:null,_e=c.call(Element.prototype,"innerHTML")?r(Element.prototype,"innerHTML"):r(HTMLElement.prototype,"innerHTML"),Pe=_e.get,De=_e.set,$e=c.call(Element.prototype,"outerHTML")?r(Element.prototype,"outerHTML"):r(HTMLElement.prototype,"outerHTML"),Ie=$e.get,Be=$e.set,ke=r(Element.prototype,"tagName").get,xe=r(HTMLElement.prototype,"tabIndex"),Fe=xe.get,We=xe.set,Ue=c.call(Element.prototype,"matches")?Element.prototype.matches:Element.prototype.msMatchesSelector,je=c.call(Element.prototype,"children")?r(Element.prototype,"children").get:r(HTMLElement.prototype,"children").get,{getElementsByClassName:Ke}=HTMLElement.prototype,Ge=c.call(Element.prototype,"shadowRoot")?r(Element.prototype,"shadowRoot").get:()=>null,qe=c.call(Element.prototype,"assignedSlot")?r(Element.prototype,"assignedSlot").get:()=>null;let Xe,Ye;"undefined"!=typeof HTMLSlotElement?(Xe=HTMLSlotElement.prototype.assignedNodes,Ye=HTMLSlotElement.prototype.assignedElements):(Xe=()=>{throw new TypeError("assignedNodes() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill to start using <slot> elements in your Lightning Web Component's template")},Ye=()=>{throw new TypeError("assignedElements() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill to start using <slot> elements in your Lightning Web Component's template")});const Ve=r(Event.prototype,"target").get,ze=r(Event.prototype,"currentTarget").get,Je=r(FocusEvent.prototype,"relatedTarget").get,Qe=c.call(Event.prototype,"composedPath")?Event.prototype.composedPath:()=>[],Ze=r(Document.prototype,"activeElement").get,et=c.call(Document.prototype,"elementFromPoint")?Document.prototype.elementFromPoint:Document.prototype.msElementFromPoint,tt=c.call(Document.prototype,"elementsFromPoint")?Document.prototype.elementsFromPoint:Document.prototype.msElementsFromPoint,nt=r(Document.prototype,"defaultView").get,{createComment:lt,querySelectorAll:ot,getElementById:rt,getElementsByClassName:it,getElementsByTagName:at,getElementsByTagNameNS:ct}=Document.prototype,{getElementsByName:ut}=HTMLDocument.prototype,{addEventListener:st,removeEventListener:ft,getComputedStyle:ht,getSelection:pt}=window,gt=MutationObserver,mt=gt.prototype.observe;let dt=null;"undefined"!=typeof ShadowRoot&&(dt=ShadowRoot);const bt=!A(dt),Et=A(dt)?()=>!1:e=>e instanceof dt;const{createElement:yt}=Document.prototype;function wt(e){const t=ce.call(e);return null===t?e:t}function Tt(e){const t=wt(e),n=nt.call(t);if(null===n)throw new TypeError;return n}let vt;function Nt(e){if(H(vt)){const t=wt(e);vt=t.body&&"temporary-bypass"===pe.call(t.body,"data-global-patching-bypass")}return R(vt)}function Lt(e){const t=e.length,n=[];if(t>0)for(let l=0;l<t;l++)n[l]=e[l];return n}"undefined"==typeof HTMLSlotElement&&function(){class e{}h(e,HTMLElement.constructor),h(e.prototype,HTMLElement.prototype),Window.prototype.HTMLSlotElement=e,l(Document.prototype,"createElement",{value:function(t,n){const l=yt.apply(this,T.call(arguments));return 4===t.length&&115===M.call(t,0)&&108===M.call(t,1)&&111===M.call(t,2)&&116===M.call(t,3)&&h(l,e.prototype),l}})}();const Mt="undefined"!=typeof EventTarget?EventTarget.prototype:k.prototype,{addEventListener:Ct,dispatchEvent:St,removeEventListener:Ot}=Mt,Ht=new WeakMap,At=new WeakMap;function Rt(e,t,n){if(t===n)return!0;let l=At.get(e);return H(l)&&(l=e.composedPath(),At.set(e,l)),l.includes(n)}function _t(e){if(!function(e){return P(e)||D(e)&&!A(e)&&P(e.handleEvent)}(e))return e;let t=Ht.get(e);return H(t)&&(t=function(t){const n=ze.call(t);if(Rt(t,It(t),n))return P(e)?e.call(this,t):e.handleEvent&&e.handleEvent(t)},Ht.set(e,t)),t}const Pt=new WeakMap,Dt=new WeakMap;function $t(e){let n=Dt.get(e);return H(n)&&(n=t(null),Dt.set(e,n)),n}function It(e){var t;return null!==(t=al.get(e))&&void 0!==t?t:Ve.call(e)}const Bt=new WeakMap;function kt(e){if(!P(e))throw new TypeError;let t=Bt.get(e);return H(t)&&(t=function(t){let n=ze.call(t);Et(n)||(n=el(n));Rt(t,It(t),n)&&e.call(n,t)},t.placement=1,Bt.set(e,t)),t}const xt=new WeakMap;function Ft(e){if(!P(e))throw new TypeError;let t=xt.get(e);return H(t)&&(t=function(t){const n=ze.call(t);Rt(t,It(t),n)&&e.call(n,t)},t.placement=0,xt.set(e,t)),t}function Wt(e){let t=!1,n=!1;const{type:o,stopImmediatePropagation:r,stopPropagation:i}=e,a=$t(ze.call(e))[o];l(e,"stopImmediatePropagation",{value(){t=!0,r.call(e)},writable:!0,enumerable:!0,configurable:!0}),l(e,"stopPropagation",{value(){n=!0,i.call(e)},writable:!0,enumerable:!0,configurable:!0});const c=T.call(a);function u(n){L.call(c,(l=>{_(t)&&l.placement===n&&-1!==m.call(a,l)&&l.call(void 0,e)}))}Pt.set(e,1),u(1),_(t)&&_(n)&&(Pt.set(e,0),u(0)),Pt.set(e,2)}function Ut(e,t,n){const l=$t(e);let o=l[t];H(o)&&(o=l[t]=[]),-1===m.call(o,n)&&(0===o.length&&Ct.call(e,t,Wt),E.call(o,n))}function jt(e,t,n){let l,o;H(o=$t(e)[t])||-1===(l=m.call(o,n))||(v.call(o,l,1),0===o.length&&Ot.call(e,t,Wt))}function Kt(e,t,n){if(P(t)){Ut(this,e,Ft(t))}}function Gt(e,t,n){if(P(t)){jt(this,e,Ft(t))}}const qt="$$HostElementKey$$",Xt="$$ShadowedNodeKey$$";function Yt(e,t,n){const l=e;{const{value:e}=n;l[t]=e}}function Vt(e){return e[qt]}function zt(e){let t,n=e;for(;!A(n);){if(t=Vt(n),!H(t))return t;n=ae.call(n)}}function Jt(e){return e[Xt]}function Qt(e){return!H(Vt(e))}function Zt(e){let t=ue.call(e);for(;!A(t)&&ln(t);)e=t,t=ue.call(e);return e}function en(e,t){const n=Jt(e);let l=t instanceof Element?t:ue.call(t);for(;!A(l)&&l!==e;){const t=zt(l),o=ue.call(l);if(t===n)return ln(l);if(o===e)return!1;if(A(o)||zt(o)===t)l=o;else{if(!ln(o))return!1;if(l=tn(Zt(o)),!A(l)){if(l===e)return!0;if(zt(l)===n)return!0}}}return!1}function tn(e){if(!(e instanceof k))return null;const t=zt(e);if(H(t))return null;let n=e;for(;!A(n)&&Jt(n)!==t;)n=ae.call(n);return A(n)?null:n}function nn(e){return ln(e)&&Qt(e)}function ln(e){return e instanceof HTMLSlotElement}function on(e,t){const n=zt(t);return H(n)||Jt(e)===n}function rn(e){const t=Zn(e);return un(t,Lt(fe.call(t)))}function an(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];!on(e,o)&&en(e,o)&&E.call(n,o)}return n}function cn(e,t){for(let n=0,l=t.length;n<l;n+=1){const l=t[n];if(!on(e,l)&&en(e,l))return l}return null}function un(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];on(e,o)&&E.call(n,o)}return n}function sn(e,t){for(let n=0,l=t.length;n<l;n+=1)if(on(e,t[n]))return t[n];return null}function fn(e){if(!tl(e)&&!ln(e)){return Lt(fe.call(e))}if(tl(e)){const t=Lt(ye.call(e,"slot")),n=zn(el(e));return y.call(t,((e,t)=>(n===zn(t)&&E.apply(e,hn(t)),e)),[])}{const t=Lt(fe.call(e)),n=zn(e);return p.call(t,(e=>n===zn(e)))}}function hn(e){const t=tn(e);if(A(t))return[];const n=Lt(fe.call(e));return p.call(n,(e=>!Qt(e)||!on(t,e)))}function pn(e){if(e.nodeType===K){const t=fn(e);let n="";for(let e=0,l=t.length;e<l;e+=1){const l=t[e];l.nodeType!==Y&&(n+=pn(l))}return n}return e.nodeValue}const gn=new WeakMap;function mn(){throw new TypeError("Illegal constructor")}function dn(e){const n=t(mn.prototype);return gn.set(n,e),L.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}mn.prototype=t(NodeList.prototype,{constructor:{writable:!0,configurable:!0,value:mn},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return gn.get(this).length}},forEach:{writable:!0,enumerable:!0,configurable:!0,value(e,t){L.call(gn.get(this),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value(){return b.call(gn.get(this),((e,t)=>[t,e]))}},keys:{writable:!0,enumerable:!0,configurable:!0,value(){return b.call(gn.get(this),((e,t)=>t))}},values:{writable:!0,enumerable:!0,configurable:!0,value(){return gn.get(this)}},[Symbol.iterator]:{writable:!0,configurable:!0,value(){let e=0;return{next:()=>{const t=gn.get(this);return e<t.length?{value:t[e++],done:!1}:{done:!0}}}}},[Symbol.toStringTag]:{configurable:!0,get:()=>"NodeList"},toString:{writable:!0,configurable:!0,value:()=>"[object NodeList]"}}),h(mn,NodeList);const bn=new WeakMap;function En(){throw new TypeError("Illegal constructor")}function yn(e){const n=t(En.prototype);return bn.set(n,e),L.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}En.prototype=t(HTMLCollection.prototype,{constructor:{writable:!0,configurable:!0,value:En},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return bn.get(this).length}},namedItem:{writable:!0,enumerable:!0,configurable:!0,value(e){if(""===e)return null;const t=bn.get(this);for(let n=0,l=t.length;n<l;n++){const n=t[l];if(e===pe.call(n,"id")||e===pe.call(n,"name"))return n}return null}},[Symbol.toStringTag]:{configurable:!0,get:()=>"HTMLCollection"},toString:{writable:!0,configurable:!0,value:()=>"[object HTMLCollection]"}}),h(En,HTMLCollection);const wn=/[&\u00A0"]/g,Tn=/[&\u00A0<>]/g,{replace:vn,toLowerCase:Nn}=String.prototype;function Ln(e){switch(e){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case" ":return"&nbsp;";default:return""}}function Mn(e){return vn.call(e,wn,Ln)}const Cn=new Set(["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"]),Sn=new Set(["STYLE","SCRIPT","XMP","IFRAME","NOEMBED","NOFRAMES","PLAINTEXT","NOSCRIPT"]);function On(e){switch(e.nodeType){case K:{const{attributes:t}=e,n=ke.call(e);let l="<"+Nn.call(n);for(let e,n=0;e=t[n];n++)l+=" "+e.name+'="'+Mn(e.value)+'"';return l+=">",Cn.has(n)?l:l+function(e){let t="";const n=fn(e);for(let e=0,l=n.length;e<l;e+=1)t+=On(n[e]);return t}(e)+"</"+Nn.call(n)+">"}case G:{const{data:n,parentNode:l}=e;return l instanceof Element&&Sn.has(ke.call(l))?n:(t=n,vn.call(t,Tn,Ln))}case q:return`<!CDATA[[${e.data}]]>`;case X:return`<?${e.target} ${e.data}?>`;case Y:return`\x3c!--${e.data}--\x3e`;default:return""}var t}$.lwcRuntimeFlags||Object.defineProperty($,"lwcRuntimeFlags",{value:t(null)});const Hn=$.lwcRuntimeFlags;function An(e){return nn(e)||tl(e)}function Rn(e,t){const n=tn(e);if(t===n)return el(n);if(t instanceof Element){if(zt(e)===zt(t))return t;if(!A(n)&&ln(t)){const e=tn(t);if(!A(e)&&on(n,e))return e}}return null}function _n(){return Kn(this).length>0}function Pn(){return Kn(this)[0]||null}function Dn(){const e=Kn(this);return e[e.length-1]||null}function $n(){return pn(this)}function In(){const e=ae.call(this);return A(e)?e:Rn(this,e)}function Bn(){const e=ae.call(this);if(A(e))return null;const t=Rn(this,e);return t instanceof Element?t:null}function kn(e){return this===e?0:this.getRootNode()===e?10:Vt(this)!==Vt(e)?35:Q.call(this,e)}function xn(e){return null!=e&&Vt(this)===Vt(e)&&0!=(Q.call(this,e)&F)}function Fn(e){const t=J.call(this,!1);if(!e)return t;const n=Kn(this);for(let e=0,l=n.length;e<l;e+=1)t.appendChild(n[e].cloneNode(!0));return t}function Wn(){if(tl(this)){const e=tn(this);return dn(A(e)?[]:un(e,fn(this)))}return fe.call(this)}const Un=k.prototype.getRootNode,jn=H(Un)?function(){let e,t=this;for(;!A(e=ae.call(t));)t=e;return t}:Un;n(k.prototype,{firstChild:{get(){return An(this)?Pn.call(this):oe.call(this)},enumerable:!0,configurable:!0},lastChild:{get(){return An(this)?Dn.call(this):re.call(this)},enumerable:!0,configurable:!0},textContent:{get(){return Hn.ENABLE_NODE_PATCH?Nt(this)?ie.call(this):$n.call(this):Qt(this)||tl(this)?$n.call(this):ie.call(this)},set:function(e){se.call(this,e)},enumerable:!0,configurable:!0},parentNode:{get(){if(Qt(this))return In.call(this);const e=ae.call(this);return!A(e)&&nn(e)?tn(e):e},enumerable:!0,configurable:!0},parentElement:{get(){if(Qt(this))return Bn.call(this);const e=ue.call(this);return!A(e)&&nn(e)?tn(e):e},enumerable:!0,configurable:!0},childNodes:{get(){return An(this)?Wn.call(this):fe.call(this)},enumerable:!0,configurable:!0},hasChildNodes:{value(){return An(this)?_n.call(this):ne.call(this)},enumerable:!0,writable:!0,configurable:!0},compareDocumentPosition:{value(e){return Nt(this)?Q.call(this,e):kn.call(this,e)},enumerable:!0,writable:!0,configurable:!0},contains:{value(e){return this===e||(Hn.ENABLE_NODE_PATCH?Nt(this)?le.call(this,e):xn.call(this,e):null!=e&&(Qt(this)||tl(this)?xn.call(this,e):le.call(this,e)))},enumerable:!0,writable:!0,configurable:!0},cloneNode:{value(e){return Hn.ENABLE_NODE_PATCH?R(e)?Nt(this)?J.call(this,e):Fn.call(this,e):J.call(this,e):Qt(this)||tl(this)?Fn.call(this,e):J.call(this,e)},enumerable:!0,writable:!0,configurable:!0},getRootNode:{value:function(e){return R(!H(e)&&!!e.composed)?jn.call(this,e):function(e){const t=tn(e);return A(t)?jn.call(e):el(t)}(this)},enumerable:!0,configurable:!0,writable:!0},isConnected:{enumerable:!0,configurable:!0,get(){return he.call(this)}}});const Kn=function(e){return e.childNodes};c.call(HTMLElement.prototype,"contains")&&l(HTMLElement.prototype,"contains",r(k.prototype,"contains")),c.call(HTMLElement.prototype,"parentElement")&&l(HTMLElement.prototype,"parentElement",r(k.prototype,"parentElement"));const Gn=(e,t)=>{let n;for(;!H(n=e.host);){const l=n.getRootNode();if(l===t)return n;e=l}};function qn(e,t,n,l){const o=tt.call(t,n,l),r=[],i=function(e){var t;const n=[];let l=e.getRootNode();for(;!H(l);)n.push(l),l=null===(t=l.host)||void 0===t?void 0:t.getRootNode();return n}(e);if(!A(o))for(let e=0;e<o.length;e++){const t=o[e];if(nn(t))continue;const n=t.getRootNode();if(-1!==m.call(i,n)){E.call(r,t);continue}const l=Gn(n,i[0]);H(l)||-1!==m.call(o,l)||-1!==m.call(r,l)||E.call(r,l)}return r}const Xn=new WeakMap,{createDocumentFragment:Yn}=document;function Vn(e){const t=Xn.get(e);if(H(t))throw new TypeError;return t}function zn(e){return e.$shadowResolver$}function Jn(e,t){e.$shadowResolver$=t}function Qn(e){return Vn(e).delegatesFocus}function Zn(e){return Vn(e).host}function el(e){return Vn(e).shadowRoot}function tl(e){const t=Xn.get(e);return!H(t)&&e===t.host}function nl(e){const t=Xn.get(e);return!H(t)&&e===t.shadowRoot}l(k.prototype,I,{set(e){var t,n;H(e)||(this.$$ShadowResolverKey$$=e,t=this,n=e.nodeKey,Yt(t,qt,{value:n,configurable:!0}))},get(){return this.$$ShadowResolverKey$$},configurable:!0,enumerable:!0}),l($,"$isNativeShadowRootDefined$",{value:bt});let ll=0;function ol(e,t){if(Xn.has(e))throw new Error("Failed to execute 'attachShadow' on 'Element': Shadow root cannot be created on a host which already hosts a shadow tree.");const{mode:n,delegatesFocus:l}=t,o=wt(e),r=Yn.call(o),i={mode:n,delegatesFocus:!!l,host:e,shadowRoot:r};Xn.set(r,i),Xn.set(e,i);const a=()=>r,c=a.nodeKey=ll++;return Yt(e,Xt,{value:c}),Jn(r,a),h(r,ul.prototype),r}const rl={constructor:{writable:!0,configurable:!0,value:ul},toString:{writable:!0,configurable:!0,value:()=>"[object ShadowRoot]"},synthetic:{writable:!1,enumerable:!1,configurable:!1,value:!0}},il={activeElement:{enumerable:!0,configurable:!0,get(){const e=Zn(this),t=wt(e),n=Ze.call(t);if(A(n))return n;if(0==(Q.call(e,n)&F))return null;let l=n;for(;!on(e,l);)l=ue.call(l);return ln(l)?null:l}},delegatesFocus:{configurable:!0,get(){return Vn(this).delegatesFocus}},elementFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return hl(this,wt(Zn(this)),e,t)}},elementsFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return qn(this,wt(Zn(this)),e,t)}},getSelection:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error('Disallowed method "getSelection" on ShadowRoot.')}},host:{enumerable:!0,configurable:!0,get(){return Zn(this)}},mode:{configurable:!0,get(){return Vn(this).mode}},styleSheets:{enumerable:!0,configurable:!0,get(){throw new Error}}},al=new WeakMap,cl={insertBefore:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return Z.call(Zn(this),e,t),e}},removeChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return ee.call(Zn(this),e),e}},appendChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return z.call(Zn(this),e),e}},replaceChild:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return te.call(Zn(this),e,t),t}},addEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,l){P(n)&&Ut(Zn(e),t,kt(n))}(this,e,t)}},dispatchEvent:{writable:!0,enumerable:!0,configurable:!0,value(e){return al.set(e,this),St.apply(Zn(this),arguments)}},removeEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,l){P(n)&&jt(Zn(e),t,kt(n))}(this,e,t)}},baseURI:{enumerable:!0,configurable:!0,get(){return Zn(this).baseURI}},childNodes:{enumerable:!0,configurable:!0,get(){return dn(rn(this))}},cloneNode:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error('Disallowed method "cloneNode" on ShadowRoot.')}},compareDocumentPosition:{writable:!0,enumerable:!0,configurable:!0,value(e){const t=Zn(this);return this===e?0:this.contains(e)?20:Q.call(t,e)&F?37:35}},contains:{writable:!0,enumerable:!0,configurable:!0,value(e){if(this===e)return!0;const t=Zn(this);return 0!=(Q.call(t,e)&F)&&on(t,e)}},firstChild:{enumerable:!0,configurable:!0,get(){return Kn(this)[0]||null}},lastChild:{enumerable:!0,configurable:!0,get(){const e=Kn(this);return e[e.length-1]||null}},hasChildNodes:{writable:!0,enumerable:!0,configurable:!0,value(){return Kn(this).length>0}},isConnected:{enumerable:!0,configurable:!0,get(){return he.call(Zn(this))}},nextSibling:{enumerable:!0,configurable:!0,get:()=>null},previousSibling:{enumerable:!0,configurable:!0,get:()=>null},nodeName:{enumerable:!0,configurable:!0,get:()=>"#document-fragment"},nodeType:{enumerable:!0,configurable:!0,get:()=>11},nodeValue:{enumerable:!0,configurable:!0,get:()=>null},ownerDocument:{enumerable:!0,configurable:!0,get(){return Zn(this).ownerDocument}},parentElement:{enumerable:!0,configurable:!0,get:()=>null},parentNode:{enumerable:!0,configurable:!0,get:()=>null},textContent:{enumerable:!0,configurable:!0,get(){const e=Kn(this);let t="";for(let n=0,l=e.length;n<l;n+=1){const l=e[n];l.nodeType!==Y&&(t+=pn(l))}return t},set(e){const t=Zn(this);se.call(t,e)}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value(e){return!H(e)&&R(e.composed)?Zn(this).getRootNode(e):this}}};function ul(){throw new TypeError("Illegal constructor")}function sl(e,t){const n=[];let l;if(e instanceof Window)l=e;else{if(!(e instanceof k))return n;l=e.getRootNode()}let o,r=e;for(;!A(r);)if(n.push(r),r instanceof Element||r instanceof Text){const e=r.assignedSlot;r=A(e)?r.parentNode:e}else r=!nl(r)&&!Et(r)||!t&&r===l?r instanceof k?r.parentNode:null:r.host;return o=e instanceof Window?e.document:wt(e),n[n.length-1]===o&&n.push(window),n}
2
2
  /**
3
3
  @license
4
4
  Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
@@ -7,4 +7,4 @@
7
7
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
8
8
  Code distributed by Google as part of the polymer project is also
9
9
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
10
- */function sl(e,t){if(A(e))return null;const n=ul(e,!0),l=t;for(let e,t,o,r,i=0;i<l.length;i++)if(e=l[i],o=e instanceof Window?e:e.getRootNode(),o!==t&&(r=n.indexOf(o),t=o),!tl(o)||!H(r)&&r>-1)return e;return null}function hl(e,t,n,l){const o=et.call(t,n,l);return A(o)?o:sl(e,ul(o,!0))}e(ol,al,{childElementCount:{enumerable:!0,configurable:!0,get(){return this.children.length}},children:{enumerable:!0,configurable:!0,get(){return yn(p.call(rn(this),(e=>e instanceof Element)))}},firstElementChild:{enumerable:!0,configurable:!0,get(){return this.children[0]||null}},lastElementChild:{enumerable:!0,configurable:!0,get(){const{children:e}=this;return e.item(e.length-1)||null}},getElementById:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error('Disallowed method "getElementById" on ShadowRoot.')}},querySelector:{writable:!0,enumerable:!0,configurable:!0,value(e){return function(e,t){const n=Qn(e);return sn(n,Lt(ye.call(n,t)))}(this,e)}},querySelectorAll:{writable:!0,enumerable:!0,configurable:!0,value(e){return dn(function(e,t){const n=Qn(e);return un(n,Lt(ye.call(n,t)))}(this,e))}}},{innerHTML:{enumerable:!0,configurable:!0,get(){const e=Kn(this);let t="";for(let n=0,l=e.length;n<l;n+=1)t+=On(e[n]);return t},set(e){const t=Qn(this);De.call(t,e)}}},rl),cl.prototype=t(DocumentFragment.prototype,ol),l(cl,Symbol.hasInstance,{value:function(e){return D(e)&&!A(e)&&(Et(e)||a(e)===cl.prototype)}}),Document.prototype.elementFromPoint=function(e,t){return hl(this,this,e,t)},Document.prototype.elementsFromPoint=function(e,t){return Gn(this,this,e,t)},l(Document.prototype,"activeElement",{get(){let e=Ze.call(this);if(A(e))return e;for(;!H(Vt(e));)if(e=ue.call(e),A(e))return null;return"HTML"===e.tagName&&(e=this.body),e},enumerable:!0,configurable:!0}),l(Document.prototype,"getElementById",{value(){const e=rt.apply(this,T.call(arguments));return A(e)?null:H(Vt(e))||Nt(e)?e:null},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"querySelector",{value(){const e=Lt(ot.apply(this,T.call(arguments))),t=g.call(e,(e=>H(Vt(e))||Nt(e)));return H(t)?null:t},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"querySelectorAll",{value(){const e=Lt(ot.apply(this,T.call(arguments)));return dn(p.call(e,(e=>H(Vt(e))||Nt(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByClassName",{value(){const e=Lt(it.apply(this,T.call(arguments)));return yn(p.call(e,(e=>H(Vt(e))||Nt(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByTagName",{value(){const e=Lt(at.apply(this,T.call(arguments)));return yn(p.call(e,(e=>H(Vt(e))||Nt(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByTagNameNS",{value(){const e=Lt(ct.apply(this,T.call(arguments)));return yn(p.call(e,(e=>H(Vt(e))||Nt(e))))},writable:!0,enumerable:!0,configurable:!0}),l(r(HTMLDocument.prototype,"getElementsByName")?HTMLDocument.prototype:Document.prototype,"getElementsByName",{value(){const e=Lt(ut.apply(this,T.call(arguments)));return dn(p.call(e,(e=>H(Vt(e))||Nt(e))))},writable:!0,enumerable:!0,configurable:!0}),Object.defineProperty(window,"ShadowRoot",{value:cl,configurable:!0,writable:!0});const fl=Object.getOwnPropertyDescriptor(Event.prototype,"composed");const pl=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"click");function gl(e){Object.defineProperty(e,"composed",{configurable:!0,enumerable:!0,get:()=>!0})}(function(){if(!fl)return!1;let e=new Event("click");const t=document.createElement("button");return t.addEventListener("click",(t=>e=t)),t.click(),!fl.get.call(e)})()&&(HTMLElement.prototype.click=function(){Ct.call(this,"click",gl);try{pl.value.call(this)}finally{Ot.call(this,"click",gl)}}),!0!==new Event("test",{composed:!0}).composed&&function(){const n=e(t(null),{beforeinput:1,blur:1,click:1,compositionend:1,compositionstart:1,compositionupdate:1,copy:1,cut:1,dblclick:1,DOMActivate:1,DOMFocusIn:1,DOMFocusOut:1,drag:1,dragend:1,dragenter:1,dragleave:1,dragover:1,dragstart:1,drop:1,focus:1,focusin:1,focusout:1,gotpointercapture:1,input:1,keydown:1,keypress:1,keyup:1,lostpointercapture:1,mousedown:1,mouseenter:1,mouseleave:1,mousemove:1,mouseout:1,mouseover:1,mouseup:1,paste:1,pointercancel:1,pointerdown:1,pointerenter:1,pointerleave:1,pointermove:1,pointerout:1,pointerover:1,pointerup:1,touchcancel:1,touchend:1,touchmove:1,touchstart:1,wheel:1}),l=Event;function o(e,t){const n=new l(e,t),o=!(!t||!t.composed);return Object.defineProperties(n,{composed:{get:()=>o,configurable:!0,enumerable:!0}}),n}o.prototype=l.prototype,o.AT_TARGET=l.AT_TARGET,o.BUBBLING_PHASE=l.BUBBLING_PHASE,o.CAPTURING_PHASE=l.CAPTURING_PHASE,o.NONE=l.NONE,window.Event=o,Object.defineProperties(Event.prototype,{composed:{get(){const{type:e}=this;return 1===n[e]},configurable:!0,enumerable:!0}})}();const ml=CustomEvent;function dl(e,t){const n=new ml(e,t),l=!(!t||!t.composed);return Object.defineProperties(n,{composed:{get:()=>l,configurable:!0,enumerable:!0}}),n}if(dl.prototype=ml.prototype,window.CustomEvent=dl,"undefined"!=typeof ClipboardEvent){const l=e(t(null),{copy:1,cut:1,paste:1});n(ClipboardEvent.prototype,{composed:{get(){const{type:e}=this;return 1===l[e]},configurable:!0,enumerable:!0}})}"undefined"!=typeof HTMLIFrameElement&&function(){const e=r(HTMLIFrameElement.prototype,"contentWindow"),{get:t}=e;e.get=function(){const e=t.call(this);return A(e)||H(Vt(this))?e:(n=e,{addEventListener(){return n.addEventListener.apply(n,arguments)},blur(){return n.blur.apply(n,arguments)},close(){return n.close.apply(n,arguments)},focus(){return n.focus.apply(n,arguments)},postMessage(){return n.postMessage.apply(n,arguments)},removeEventListener(){return n.removeEventListener.apply(n,arguments)},get closed(){return n.closed},get frames(){return n.frames},get length(){return n.length},get location(){return n.location},set location(e){n.location=e},get opener(){return n.opener},get parent(){return n.parent},get self(){return n.self},get top(){return n.top},get window(){return n.window}});var n},l(HTMLIFrameElement.prototype,"contentWindow",e)}();const bl=MutationObserver,{disconnect:El,observe:yl,takeRecords:wl}=bl.prototype,Tl="$$lwcObserverCallbackWrapper$$",vl=new WeakMap;function Nl(e){return e.$$lwcNodeObservers$$}function Ll(e){const{addedNodes:l,removedNodes:o,target:r,type:i}=e,a=t(MutationRecord.prototype);return n(a,{addedNodes:{get:()=>l,enumerable:!0,configurable:!0},removedNodes:{get:()=>o,enumerable:!0,configurable:!0},type:{get:()=>i,enumerable:!0,configurable:!0},target:{get:()=>r.shadowRoot,enumerable:!0,configurable:!0}}),a}function Ml(e,t){let n=t;for(;!A(n);){const t=Nl(n);if(!H(t)&&(t[0]===e||-1!==m.call(t,e)))return!0;n=n.parentNode}return!1}function Cl(e,t){return y.call(e,((e,n)=>{const{target:l,addedNodes:o,removedNodes:r,type:i}=n;if("childList"!==i||H(Jt(l)))Ml(t,l)&&E.call(e,n);else if(o.length>0){const r=o[0];if(Ml(t,r)){const o=Nl(l);!o||o[0]!==t&&-1===m.call(o,t)?E.call(e,Ll(n)):E.call(e,n)}}else{const o=l.shadowRoot,i=r[0];if(zt(l)===zt(i)&&Ml(t,l))E.call(e,n);else if(o){const l=Nl(o);!l||l[0]!==t&&-1===m.call(l,t)||E.call(e,Ll(n))}}return e}),[])}function Sl(e){const t=function(e){let t=e[Tl];return H(t)&&(t=e[Tl]=(t,n)=>{const l=Cl(t,n);0!==l.length&&e.call(n,l,n)}),t}(e);return new bl(t)}function Ol(e,t,n){if(arguments.length>1){const e=T.call(arguments);return e[1]=Rt(e[1]),st.apply(this,e)}return st.apply(this,arguments)}function Hl(e,t,n){if(arguments.length>1){const e=T.call(arguments);e[1]=Rt(e[1]),ht.apply(this,e)}ht.apply(this,arguments)}function Al(){const e=Ve.call(this);if(!(e instanceof k))return e;const t=wt(e),n=ul(e,this.composed),l=ze.call(this);if(!(l instanceof k))return A(l)&&H(Vt(e))?e:sl(t,n);if(l===t||l===t.body)return H(Vt(e))?e:sl(t,n);let o=l,r=n;if(el(l)){1===Pt.get(this)&&(o=Zn(l))}return el(e)&&il.has(this)&&(r=ul(Zn(e),this.composed)),sl(o,r)}function _l(){const e=Ve.call(this);if(!(e instanceof k))return[];const t=Boolean(e.shadowRoot),n=(l=e,qn.has(l));var l;if(t&&!n)return Qe.call(this);if(A(ze.call(this)))return[];let o=e;return el(e)&&il.has(this)&&(o=Zn(e)),ul(o,this.composed)}function Rl(e){const t=r(e.prototype,"relatedTarget").get;l(e.prototype,"relatedTarget",{get(){const e=t.call(this);if(A(e))return null;if(!(e instanceof k&&Qt(e)))return e;let n=ze.call(this);return A(n)&&(n=wt(e)),sl(n,ul(e,!0))},enumerable:!0,configurable:!0})}Sl.prototype=bl.prototype,Sl.prototype.disconnect=function(){El.call(this);const e=vl.get(this);H(e)||(L.call(e,(e=>{const t=e.$$lwcNodeObservers$$;if(!H(t)){const e=m.call(t,this);-1!==e&&v.call(t,e,1)}})),e.length=0)},Sl.prototype.observe=function(e,t){let n=Nl(e);var l;if(H(n)&&(n=[],l=n,e.$$lwcNodeObservers$$=l),-1===m.call(n,this)&&E.call(n,this),tl(e)&&(e=e.host),vl.has(this)){const t=vl.get(this);-1===m.call(t,e)&&E.call(t,e)}else vl.set(this,[e]);return yl.call(this,e,t)},Sl.prototype.takeRecords=function(){return Cl(wl.call(this),this)},l(window,"MutationObserver",{value:Sl,configurable:!0,writable:!0}),n(Mt,{addEventListener:{value:function(e,t,n){if(el(this))return Kt.apply(this,arguments);if(arguments.length<2){const e=T.call(arguments);return e.length>1&&(e[1]=Rt(e[1])),Ct.apply(this,e)}const l=Rt(t);return Ct.call(this,e,l,n)},enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:function(e,t,n){if(el(this))return Gt.apply(this,arguments);const l=T.call(arguments);arguments.length>1&&(l[1]=Rt(l[1])),Ot.apply(this,l),Ot.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),"undefined"==typeof EventTarget&&n(Window.prototype,{addEventListener:{value:Ol,enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:Hl,enumerable:!0,writable:!0,configurable:!0}}),n(Event.prototype,{target:{get:Al,enumerable:!0,configurable:!0},currentTarget:{get:function(){const e=ze.call(this);return A(e)?null:1===Pt.get(this)?Zn(e):e},enumerable:!0,configurable:!0},composedPath:{value:_l,writable:!0,enumerable:!0,configurable:!0},srcElement:{get:Al,enumerable:!0,configurable:!0},path:{get:_l,enumerable:!0,configurable:!0}}),Rl(FocusEvent),Rl(MouseEvent);const Pl=c.call(Text.prototype,"assignedSlot")?r(Text.prototype,"assignedSlot").get:()=>null;let Dl;const $l={childList:!0},Il=new WeakMap;function Bl(e){const t=Lt(he.call(e));return y.call(t,((e,t)=>(t instanceof Element&&ln(t)?E.apply(e,Bl(t)):E.call(e,t),e)),[])}function kl(){const e=ae.call(this);if(e instanceof Element){const t=Ge.call(e);if(Et(t))return this instanceof Text?Pl.call(this):qe.call(this)}return!A(e)&&ln(e)&&Vt(e)!==Vt(this)?e:null}function xl(e,t){let n;const l=Vt(e);if(H(l))n=e instanceof HTMLBodyElement?p.call(t,(t=>H(Vt(t))||Nt(e))):T.call(t);else if(el(e)){const l=tn(e);n=A(l)?[]:Jt(e)?an(e,t):un(l,t)}else n=p.call(t,(e=>zt(e)===l));return n}function Fl(){const e=Kn(this);let t="";for(let n=0,l=e.length;n<l;n+=1)t+=On(e[n]);return t}function Wl(){return On(this)}function Ul(){const e=tn(this),t=A(e)?[]:un(e,hn(this));return yn(p.call(t,(e=>e instanceof Element)))}function jl(){return this.children.length}function Kl(){return this.children[0]||null}function Gl(){const{children:e}=this;return e.item(e.length-1)||null}function ql(e,t,n){let l;if(el(e)){const n=tn(e);l=A(n)?[]:Jt(e)?an(e,t):un(n,t)}else if(Qt(e)){const o=Vt(e);if(H(o))if(1===n){const n=zt(e);l=p.call(t,(e=>zt(e)===n))}else l=T.call(t);else l=p.call(t,(e=>zt(e)===o))}else l=e instanceof HTMLBodyElement||1===n?p.call(t,(t=>H(Vt(t))||Nt(e))):T.call(t);return l}n(HTMLSlotElement.prototype,{addEventListener:{value(e,t,n){HTMLElement.prototype.addEventListener.call(this,e,t,n),"slotchange"!==e||Il.get(this)||(Il.set(this,!0),Dl||(Dl=new gt((e=>{const t=[];L.call(e,(e=>{const{target:n}=e;-1===m.call(t,n)&&(E.call(t,n),St.call(n,new CustomEvent("slotchange")))}))}))),mt.call(Dl,this,$l))},writable:!0,enumerable:!0,configurable:!0},assignedElements:{value(e){if(Qt(this)){const t=!H(e)&&_(e.flatten)?Bl(this):fn(this);return p.call(t,(e=>e instanceof Element))}return Ye.apply(this,T.call(arguments))},writable:!0,enumerable:!0,configurable:!0},assignedNodes:{value(e){if(Qt(this)){return!H(e)&&_(e.flatten)?Bl(this):fn(this)}return Xe.apply(this,T.call(arguments))},writable:!0,enumerable:!0,configurable:!0},name:{get(){const e=pe.call(this,"name");return A(e)?"":e},set(e){Te.call(this,"name",e)},enumerable:!0,configurable:!0},childNodes:{get(){if(Qt(this)){const e=tn(this);return dn(A(e)?[]:un(e,hn(this)))}return he.call(this)},enumerable:!0,configurable:!0}}),n(Text.prototype,{assignedSlot:{get:kl,enumerable:!0,configurable:!0}}),n(Element.prototype,{innerHTML:{get(){return Hn.ENABLE_ELEMENT_PATCH?Nt(this)?Pe.call(this):Fl.call(this):Qt(this)||el(this)?Fl.call(this):Pe.call(this)},set(e){De.call(this,e)},enumerable:!0,configurable:!0},outerHTML:{get(){return Hn.ENABLE_ELEMENT_PATCH?Nt(this)?Ie.call(this):Wl.call(this):Qt(this)||el(this)?Wl.call(this):Ie.call(this)},set(e){Be.call(this,e)},enumerable:!0,configurable:!0},attachShadow:{value:function(e){return e["$$lwc-synthetic-mode"]?ll(this,e):ve.call(this,e)},enumerable:!0,writable:!0,configurable:!0},shadowRoot:{get:function(){if(el(this)){const e=Zn(this);if("open"===e.mode)return e}return Ge.call(this)},enumerable:!0,configurable:!0},children:{get(){return An(this)?Ul.call(this):je.call(this)},enumerable:!0,configurable:!0},childElementCount:{get(){return An(this)?jl.call(this):Ne.call(this)},enumerable:!0,configurable:!0},firstElementChild:{get(){return An(this)?Kl.call(this):Le.call(this)},enumerable:!0,configurable:!0},lastElementChild:{get(){return An(this)?Gl.call(this):Me.call(this)},enumerable:!0,configurable:!0},assignedSlot:{get:kl,enumerable:!0,configurable:!0}}),c.call(HTMLElement.prototype,"innerHTML")&&l(HTMLElement.prototype,"innerHTML",r(Element.prototype,"innerHTML")),c.call(HTMLElement.prototype,"outerHTML")&&l(HTMLElement.prototype,"outerHTML",r(Element.prototype,"outerHTML")),c.call(HTMLElement.prototype,"children")&&l(HTMLElement.prototype,"children",r(Element.prototype,"children")),n(Element.prototype,{querySelector:{value:function(){const e=Lt(ye.apply(this,T.call(arguments)));if(el(this)){const t=tn(this);return A(t)?null:Jt(this)?cn(this,e):sn(t,e)}if(Qt(this)){const t=Vt(this);if(H(t)){if(!Hn.ENABLE_NODE_LIST_PATCH)return 0===e.length?null:e[0];const t=zt(this),n=g.call(e,(e=>zt(e)===t));return H(n)?null:n}{const n=g.call(e,(e=>zt(e)===t));return H(n)?null:n}}{if(!(Hn.ENABLE_NODE_LIST_PATCH||this instanceof HTMLBodyElement)){const t=e[0];return H(t)?null:t}const t=g.call(e,(e=>H(Vt(e))||Nt(this)));return H(t)?null:t}},writable:!0,enumerable:!0,configurable:!0},querySelectorAll:{value(){const e=Lt(ye.apply(this,T.call(arguments)));if(!Hn.ENABLE_NODE_LIST_PATCH){return dn(ql(this,e,0))}return dn(ql(this,e,1))},writable:!0,enumerable:!0,configurable:!0}}),n(Element.prototype,{getElementsByClassName:{value(){const e=Lt(Ke.apply(this,T.call(arguments)));if(!Hn.ENABLE_HTML_COLLECTIONS_PATCH)return yn(xl(this,e));return yn(ql(this,e,1))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagName:{value(){const e=Lt(me.apply(this,T.call(arguments)));if(!Hn.ENABLE_HTML_COLLECTIONS_PATCH)return yn(xl(this,e));return yn(ql(this,e,1))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagNameNS:{value(){const e=Lt(de.apply(this,T.call(arguments)));if(!Hn.ENABLE_HTML_COLLECTIONS_PATCH)return yn(xl(this,e));return yn(ql(this,e,1))},writable:!0,enumerable:!0,configurable:!0}}),c.call(HTMLElement.prototype,"getElementsByClassName")&&l(HTMLElement.prototype,"getElementsByClassName",r(Element.prototype,"getElementsByClassName"));const Xl="\n [contenteditable],\n [tabindex],\n a[href],\n area[href],\n audio[controls],\n button,\n iframe,\n input,\n select,\n textarea,\n video[controls]\n",Yl=new Set(["BUTTON","INPUT","SELECT","TEXTAREA"]);function Vl(e){return e.filter((e=>be.call(e,"tabindex")?"0"===pe.call(e,"tabindex"):!Yl.has(ke.call(e))||!be.call(e,"disabled")))}const zl=new WeakMap;function Jl(e){return(!el(e)||!Jn(e))&&(Ue.call(e,Xl)&&function(e){const{width:t,height:n}=ge.call(e),l=t>0||n>0,o="AREA"===e.tagName;return(l||o)&&"hidden"!==getComputedStyle(e).visibility}(e))}function Ql(){const e=this.getRootNode();if(e===this){const e=Ee.call(this,Xl);return void(A(e)||e.focus.apply(e,arguments))}const t=e;if(t.activeElement===this)return;const n=Lt(ye.call(this,Xl));let l=!1;for(;!l&&0!==n.length;){const e=n.shift();e.focus.apply(e,arguments);l=e.getRootNode().activeElement===e}}function Zl(e){const t=wt(e),n=Vl(Lt(ot.call(t,Xl))),l=Vl(Lt(ye.call(e,Xl))),o=l[0],r=l[l.length-1],i=m.call(n,e),a=i>-1?i:m.call(n,o),c=0===l.length?a+1:m.call(n,r)+1;return{prev:T.call(n,0,a),inner:l,next:T.call(n,c)}}function eo(e,t){const n=Q.call(e,t);return n&F?0:n&U?1:n&j?2:-1}function to(e){e.preventDefault(),e.stopPropagation()}function no(e,t){st.call(e,"focusin",to,!0),st.call(e,"focusout",to,!0),t(),ht.call(e,"focusin",to,!0),ht.call(e,"focusout",to,!0)}function lo(e,t,n){const l=Tt(n),o=function(e,t){const n=e.length;if(n>0)for(let l=0;l<n;l+=1){const n=e[l];if(so(t.getRootNode(),n))return n}return null}(e,n);A(o)?no(l,(()=>{t.blur()})):no(l,(()=>{o.focus()}))}let oo=!1;function ro(){oo=!0}function io(){oo=!1}function ao(){return!oo}function co(e){if(oo)return;const t=ze.call(e),n=Ve.call(e);if(t!==n)return;const l=Je.call(e);if(A(l))return;const o=Zl(t);if(1===eo(t,l)){const e=so.bind(null,t.getRootNode()),r=g.call(o.inner,e);if(H(r))lo(o.next,n,l);else{no(Tt(r),(()=>{r.focus()}))}}else t===n&&lo(w.call(o.prev),n,l)}function uo(e){if(oo)return;const t=Je.call(e);if(A(t))return;const n=ze.call(e),l=Zl(n);if(-1!==m.call(l.inner,t))return;const o=Ve.call(e),r=eo(n,t);1===r&&lo(l.next,o,t),2===r&&lo(w.call(l.prev),o,t)}function so(e,t){if(!Jl(t))return!1;const n=wt(t);let l=t.getRootNode();for(;l!==n&&l!==e;){const e=l.host;if("-1"===pe.call(e,"tabindex"))return!1;l=e&&e.getRootNode()}return!0}function ho(e){Ot.call(e,"focusin",co,!0)}function fo(e){const t=wt(e);zl.get(t)||(zl.set(t,!0),Ct.call(t,"mousedown",ro,!0),Ct.call(t,"mouseup",(()=>{setTimeout(io)}),!0),Ct.call(t,"dragstart",io,!0))}function po(e){Ot.call(e,"focusin",uo,!0)}function go(e){const t=Tt(e);return ft.call(t,e)}function mo(e){const t=Tt(e);return pt.call(t)}function bo(e){return"visible"===e.visibility&&"none"!==e.display}function Eo(e){const t=[];if((e=>e.nodeType===K)(e)){const{tagName:n}=e,l=go(e);if("OPTION"===n)return[1,Se.call(e),1];if("TEXTAREA"===n)return[];{const n=e.childNodes;for(let e=0,l=n.length;e<l;e++)E.apply(t,Eo(n[e]))}if(!bo(l))return"SELECT"===n||"DATALIST"===n?[]:t;"BR"===n&&t.push("\n");const{display:o}=l;"table-cell"===o&&t.push("\t"),"table-row"===o&&t.push("\n"),"P"===n&&(t.unshift(2),t.push(2)),"block"!==o&&"table-caption"!==o&&"flex"!==o&&"table"!==o||(t.unshift(1),t.push(1))}else(e=>e.nodeType===G)(e)&&t.push(function(e){const t=mo(e);if(null===t)return e.textContent||"";const n=document.createRange();n.selectNodeContents(e);const l=n.getBoundingClientRect();if(l.height<=0||l.width<=0)return"";t.removeAllRanges(),t.addRange(n);return t.toString()||e.textContent||""}(e));return t}function yo(e){if(!bo(go(e)))return pn(e)||"";const t=function(e){const t=Tt(e),n=mo(e);if(null===n)return null;const l=[];for(let e=0;e<n.rangeCount;e++)l.push(n.getRangeAt(e));const o={element:e,onselect:t.onselect,onselectstart:t.onselectstart,onselectionchange:t.onselectionchange,ranges:l};return t.onselect=null,t.onselectstart=null,t.onselectionchange=null,o}(e),n=[],l=e.childNodes;for(let e=0,t=l.length;e<t;e++)E.apply(n,Eo(l[e]));!function(e){if(null===e)return;const{element:t,onselect:n,onselectstart:l,onselectionchange:o,ranges:r}=e,i=Tt(t),a=mo(t);a.removeAllRanges();for(let e=0;e<r.length;e++)a.addRange(r[e]);i.onselect=n,i.onselectstart=l,i.onselectionchange=o}(t);let o="",r=0;for(let e=0,t=n.length;e<t;e++){const t=n[e];if("string"==typeof t){if(r>0){for(let e=0;e<r;e++)o+="\n";r=0}t.length>0&&(o+=t)}else{if(0==o.length)continue;t>r&&(r=t)}}return o}const{blur:wo,focus:To}=HTMLElement.prototype;function vo(){return Jn(this)&&R(be.call(this,"tabindex"))?0:Fe.call(this)}function No(e){const t=Jn(this),n=Fe.call(this),l=be.call(this,"tabindex");We.call(this,e);const o=Fe.call(this),r=be.call(this,"tabindex"),i=n!==o;var a;(l&&(i||R(r))&&(-1===n&&po(this),0===n&&t&&ho(this)),R(r))||(l&&r&&R(i)||(-1===o&&(fo(a=this),ho(a),Ct.call(a,"focusin",uo,!0)),0===o&&t&&function(e){fo(e),po(e),Ct.call(e,"focusin",co,!0)}(this)))}function Lo(){if(Jn(this)){const e=function(e){const t=wt(e),n=Ze.call(t);return A(n)||0!=(Q.call(e,n)&F)?n:null}(this);if(!A(e))return void e.blur()}return wo.call(this)}function Mo(){const e=ao();e&&ro(),el(this)&&Jn(this)?Ql.call(this):(To.apply(this,arguments),e&&io())}n(HTMLElement.prototype,{tabIndex:{get(){return el(this)?vo.call(this):Fe.call(this)},set(e){return el(this)?No.call(this,e):We.call(this,e)},enumerable:!0,configurable:!0},blur:{value(){if(el(this))return Lo.call(this);wo.call(this)},enumerable:!0,writable:!0,configurable:!0},focus:{value(){Mo.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),null!==Se&&null!==Oe&&l(HTMLElement.prototype,"innerText",{get(){return Hn.ENABLE_INNER_OUTER_TEXT_PATCH?Hn.ENABLE_ELEMENT_PATCH?Nt(this)?Se.call(this):yo(this):Qt(this)||el(this)?yo(this):Se.call(this):Se.call(this)},set(e){Oe.call(this,e)},enumerable:!0,configurable:!0}),null!==Ae&&null!==_e&&l(HTMLElement.prototype,"outerText",{get(){return Hn.ENABLE_INNER_OUTER_TEXT_PATCH?Hn.ENABLE_ELEMENT_PATCH?Nt(this)?Ae.call(this):yo(this):Qt(this)||el(this)?yo(this):Ae.call(this):Ae.call(this)},set(e){_e.call(this,e)},enumerable:!0,configurable:!0}),l(Element.prototype,B,{set(e){const t=this.$$ShadowTokenKey$$;H(t)||t===e||we.call(this,t),H(e)||Te.call(this,e,""),this.$$ShadowTokenKey$$=e},get(){return this.$$ShadowTokenKey$$},configurable:!0});const Co=function(){};let So;const Oo={childList:!0};function Ho(e,t,n){const l=Vn(e);if(l!==t&&(zn(e,t),e instanceof Element)){if(function(e,t){e.$shadowToken$=t}(e,n),el(e))return;H(l)&&mt.call(So,e,Oo);const o=he.call(e);for(let e=0,l=o.length;e<l;e+=1)Ho(o[e],t,n)}}function Ao(e){if(H(So)&&(So=new gt((e=>{L.call(e,(e=>{const{target:t,addedNodes:n,removedNodes:l}=e,o=Vn(t),r=t.$shadowToken$;for(let e=0,n=l.length;e<n;e+=1){const n=l[e];Q.call(t,n)&k.DOCUMENT_POSITION_CONTAINED_BY||Ho(n,Co,void 0)}for(let e=0,l=n.length;e<l;e+=1){const l=n[e];Q.call(t,l)&k.DOCUMENT_POSITION_CONTAINED_BY&&Ho(l,o,r)}}))}))),H(Vn(e)))throw new Error("Invalid Element");mt.call(So,e,Oo)}l(Element.prototype,"$domManual$",{set(e){this.$$DomManualKey$$=e,_(e)&&Ao(this)},get(){return this.$$DomManualKey$$},configurable:!0})}();
10
+ */function fl(e,t){if(A(e))return null;const n=sl(e,!0),l=t;for(let e,t,o,r,i=0;i<l.length;i++)if(e=l[i],o=e instanceof Window?e:e.getRootNode(),o!==t&&(r=n.indexOf(o),t=o),!nl(o)||!H(r)&&r>-1)return e;return null}function hl(e,t,n,l){const o=et.call(t,n,l);return A(o)?o:fl(e,sl(o,!0))}e(rl,cl,{childElementCount:{enumerable:!0,configurable:!0,get(){return this.children.length}},children:{enumerable:!0,configurable:!0,get(){return yn(p.call(rn(this),(e=>e instanceof Element)))}},firstElementChild:{enumerable:!0,configurable:!0,get(){return this.children[0]||null}},lastElementChild:{enumerable:!0,configurable:!0,get(){const{children:e}=this;return e.item(e.length-1)||null}},getElementById:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error('Disallowed method "getElementById" on ShadowRoot.')}},querySelector:{writable:!0,enumerable:!0,configurable:!0,value(e){return function(e,t){const n=Zn(e);return sn(n,Lt(ye.call(n,t)))}(this,e)}},querySelectorAll:{writable:!0,enumerable:!0,configurable:!0,value(e){return dn(function(e,t){const n=Zn(e);return un(n,Lt(ye.call(n,t)))}(this,e))}}},{innerHTML:{enumerable:!0,configurable:!0,get(){const e=Kn(this);let t="";for(let n=0,l=e.length;n<l;n+=1)t+=On(e[n]);return t},set(e){const t=Zn(this);De.call(t,e)}}},il),ul.prototype=t(DocumentFragment.prototype,rl),l(ul,Symbol.hasInstance,{value:function(e){return D(e)&&!A(e)&&(Et(e)||a(e)===ul.prototype)}}),Document.prototype.elementFromPoint=function(e,t){return hl(this,this,e,t)},Document.prototype.elementsFromPoint=function(e,t){return qn(this,this,e,t)},l(Document.prototype,"activeElement",{get(){let e=Ze.call(this);if(A(e))return e;for(;!H(Vt(e));)if(e=ue.call(e),A(e))return null;return"HTML"===e.tagName&&(e=this.body),e},enumerable:!0,configurable:!0}),l(Document.prototype,"getElementById",{value(){const e=rt.apply(this,T.call(arguments));return A(e)?null:H(Vt(e))||Nt(e)?e:null},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"querySelector",{value(){const e=Lt(ot.apply(this,T.call(arguments))),t=g.call(e,(e=>H(Vt(e))||Nt(e)));return H(t)?null:t},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"querySelectorAll",{value(){const e=Lt(ot.apply(this,T.call(arguments)));return dn(p.call(e,(e=>H(Vt(e))||Nt(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByClassName",{value(){const e=Lt(it.apply(this,T.call(arguments)));return yn(p.call(e,(e=>H(Vt(e))||Nt(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByTagName",{value(){const e=Lt(at.apply(this,T.call(arguments)));return yn(p.call(e,(e=>H(Vt(e))||Nt(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByTagNameNS",{value(){const e=Lt(ct.apply(this,T.call(arguments)));return yn(p.call(e,(e=>H(Vt(e))||Nt(e))))},writable:!0,enumerable:!0,configurable:!0}),l(r(HTMLDocument.prototype,"getElementsByName")?HTMLDocument.prototype:Document.prototype,"getElementsByName",{value(){const e=Lt(ut.apply(this,T.call(arguments)));return dn(p.call(e,(e=>H(Vt(e))||Nt(e))))},writable:!0,enumerable:!0,configurable:!0}),Object.defineProperty(window,"ShadowRoot",{value:ul,configurable:!0,writable:!0});const pl=Object.getOwnPropertyDescriptor(Event.prototype,"composed");const gl=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"click");function ml(e){Object.defineProperty(e,"composed",{configurable:!0,enumerable:!0,get:()=>!0})}(function(){if(!pl)return!1;let e=new Event("click");const t=document.createElement("button");return t.addEventListener("click",(t=>e=t)),t.click(),!pl.get.call(e)})()&&(HTMLElement.prototype.click=function(){Ct.call(this,"click",ml);try{gl.value.call(this)}finally{Ot.call(this,"click",ml)}}),!0!==new Event("test",{composed:!0}).composed&&function(){const n=e(t(null),{beforeinput:1,blur:1,click:1,compositionend:1,compositionstart:1,compositionupdate:1,copy:1,cut:1,dblclick:1,DOMActivate:1,DOMFocusIn:1,DOMFocusOut:1,drag:1,dragend:1,dragenter:1,dragleave:1,dragover:1,dragstart:1,drop:1,focus:1,focusin:1,focusout:1,gotpointercapture:1,input:1,keydown:1,keypress:1,keyup:1,lostpointercapture:1,mousedown:1,mouseenter:1,mouseleave:1,mousemove:1,mouseout:1,mouseover:1,mouseup:1,paste:1,pointercancel:1,pointerdown:1,pointerenter:1,pointerleave:1,pointermove:1,pointerout:1,pointerover:1,pointerup:1,touchcancel:1,touchend:1,touchmove:1,touchstart:1,wheel:1}),l=Event;function o(e,t){const n=new l(e,t),o=!(!t||!t.composed);return Object.defineProperties(n,{composed:{get:()=>o,configurable:!0,enumerable:!0}}),n}o.prototype=l.prototype,o.AT_TARGET=l.AT_TARGET,o.BUBBLING_PHASE=l.BUBBLING_PHASE,o.CAPTURING_PHASE=l.CAPTURING_PHASE,o.NONE=l.NONE,window.Event=o,Object.defineProperties(Event.prototype,{composed:{get(){const{type:e}=this;return 1===n[e]},configurable:!0,enumerable:!0}})}();const dl=CustomEvent;function bl(e,t){const n=new dl(e,t),l=!(!t||!t.composed);return Object.defineProperties(n,{composed:{get:()=>l,configurable:!0,enumerable:!0}}),n}if(bl.prototype=dl.prototype,window.CustomEvent=bl,"undefined"!=typeof ClipboardEvent){const l=e(t(null),{copy:1,cut:1,paste:1});n(ClipboardEvent.prototype,{composed:{get(){const{type:e}=this;return 1===l[e]},configurable:!0,enumerable:!0}})}"undefined"!=typeof HTMLIFrameElement&&function(){const e=r(HTMLIFrameElement.prototype,"contentWindow"),{get:t}=e;e.get=function(){const e=t.call(this);return A(e)||H(Vt(this))?e:(n=e,{addEventListener(){return n.addEventListener.apply(n,arguments)},blur(){return n.blur.apply(n,arguments)},close(){return n.close.apply(n,arguments)},focus(){return n.focus.apply(n,arguments)},postMessage(){return n.postMessage.apply(n,arguments)},removeEventListener(){return n.removeEventListener.apply(n,arguments)},get closed(){return n.closed},get frames(){return n.frames},get length(){return n.length},get location(){return n.location},set location(e){n.location=e},get opener(){return n.opener},get parent(){return n.parent},get self(){return n.self},get top(){return n.top},get window(){return n.window}});var n},l(HTMLIFrameElement.prototype,"contentWindow",e)}();const El=MutationObserver,{disconnect:yl,observe:wl,takeRecords:Tl}=El.prototype,vl="$$lwcObserverCallbackWrapper$$",Nl=new WeakMap;function Ll(e){return e.$$lwcNodeObservers$$}function Ml(e){const{addedNodes:l,removedNodes:o,target:r,type:i}=e,a=t(MutationRecord.prototype);return n(a,{addedNodes:{get:()=>l,enumerable:!0,configurable:!0},removedNodes:{get:()=>o,enumerable:!0,configurable:!0},type:{get:()=>i,enumerable:!0,configurable:!0},target:{get:()=>r.shadowRoot,enumerable:!0,configurable:!0}}),a}function Cl(e,t){let n=t;for(;!A(n);){const t=Ll(n);if(!H(t)&&(t[0]===e||-1!==m.call(t,e)))return!0;n=n.parentNode}return!1}function Sl(e,t){return y.call(e,((e,n)=>{const{target:l,addedNodes:o,removedNodes:r,type:i}=n;if("childList"!==i||H(Jt(l)))Cl(t,l)&&E.call(e,n);else if(o.length>0){const r=o[0];if(Cl(t,r)){const o=Ll(l);!o||o[0]!==t&&-1===m.call(o,t)?E.call(e,Ml(n)):E.call(e,n)}}else{const o=l.shadowRoot,i=r[0];if(zt(l)===zt(i)&&Cl(t,l))E.call(e,n);else if(o){const l=Ll(o);!l||l[0]!==t&&-1===m.call(l,t)||E.call(e,Ml(n))}}return e}),[])}function Ol(e){const t=function(e){let t=e[vl];return H(t)&&(t=e[vl]=(t,n)=>{const l=Sl(t,n);0!==l.length&&e.call(n,l,n)}),t}(e);return new El(t)}function Hl(e,t,n){if(arguments.length>1){const e=T.call(arguments);return e[1]=_t(e[1]),st.apply(this,e)}return st.apply(this,arguments)}function Al(e,t,n){if(arguments.length>1){const e=T.call(arguments);e[1]=_t(e[1]),ft.apply(this,e)}ft.apply(this,arguments)}function Rl(){const e=Ve.call(this);if(!(e instanceof k))return e;const t=wt(e),n=sl(e,this.composed),l=ze.call(this);if(!(l instanceof k))return A(l)&&H(Vt(e))?e:fl(t,n);if(l===t||l===t.body)return H(Vt(e))?e:fl(t,n);let o=l,r=n;if(tl(l)){1===Pt.get(this)&&(o=el(l))}return tl(e)&&al.has(this)&&(r=sl(el(e),this.composed)),fl(o,r)}function _l(){const e=Ve.call(this);if(!(e instanceof k))return[];const t=Boolean(e.shadowRoot),n=(l=e,Xn.has(l));var l;if(t&&!n)return Qe.call(this);if(A(ze.call(this)))return[];let o=e;return tl(e)&&al.has(this)&&(o=el(e)),sl(o,this.composed)}function Pl(e){const t=r(e.prototype,"relatedTarget").get;l(e.prototype,"relatedTarget",{get(){const e=t.call(this);if(A(e))return null;if(!(e instanceof k&&Qt(e)))return e;let n=ze.call(this);return A(n)&&(n=wt(e)),fl(n,sl(e,!0))},enumerable:!0,configurable:!0})}Ol.prototype=El.prototype,Ol.prototype.disconnect=function(){yl.call(this);const e=Nl.get(this);H(e)||(L.call(e,(e=>{const t=e.$$lwcNodeObservers$$;if(!H(t)){const e=m.call(t,this);-1!==e&&v.call(t,e,1)}})),e.length=0)},Ol.prototype.observe=function(e,t){let n=Ll(e);var l;if(H(n)&&(n=[],l=n,e.$$lwcNodeObservers$$=l),-1===m.call(n,this)&&E.call(n,this),nl(e)&&(e=e.host),Nl.has(this)){const t=Nl.get(this);-1===m.call(t,e)&&E.call(t,e)}else Nl.set(this,[e]);return wl.call(this,e,t)},Ol.prototype.takeRecords=function(){return Sl(Tl.call(this),this)},l(window,"MutationObserver",{value:Ol,configurable:!0,writable:!0}),n(Mt,{addEventListener:{value:function(e,t,n){if(tl(this))return Kt.apply(this,arguments);if(arguments.length<2){const e=T.call(arguments);return e.length>1&&(e[1]=_t(e[1])),Ct.apply(this,e)}const l=_t(t);return Ct.call(this,e,l,n)},enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:function(e,t,n){if(tl(this))return Gt.apply(this,arguments);const l=T.call(arguments);arguments.length>1&&(l[1]=_t(l[1])),Ot.apply(this,l),Ot.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),"undefined"==typeof EventTarget&&n(Window.prototype,{addEventListener:{value:Hl,enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:Al,enumerable:!0,writable:!0,configurable:!0}}),n(Event.prototype,{target:{get:Rl,enumerable:!0,configurable:!0},currentTarget:{get:function(){const e=ze.call(this);return A(e)?null:1===Pt.get(this)?el(e):e},enumerable:!0,configurable:!0},composedPath:{value:_l,writable:!0,enumerable:!0,configurable:!0},srcElement:{get:Rl,enumerable:!0,configurable:!0},path:{get:_l,enumerable:!0,configurable:!0}}),Pl(FocusEvent),Pl(MouseEvent);const Dl=c.call(Text.prototype,"assignedSlot")?r(Text.prototype,"assignedSlot").get:()=>null;let $l;const Il={childList:!0},Bl=new WeakMap;function kl(e){const t=Lt(fe.call(e));return y.call(t,((e,t)=>(t instanceof Element&&ln(t)?E.apply(e,kl(t)):E.call(e,t),e)),[])}function xl(){const e=ae.call(this);if(e instanceof Element){const t=Ge.call(e);if(Et(t))return this instanceof Text?Dl.call(this):qe.call(this)}return!A(e)&&ln(e)&&Vt(e)!==Vt(this)?e:null}function Fl(e,t){let n;const l=Vt(e);if(H(l))n=e instanceof HTMLBodyElement?p.call(t,(t=>H(Vt(t))||Nt(e))):T.call(t);else if(tl(e)){const l=tn(e);n=A(l)?[]:Jt(e)?an(e,t):un(l,t)}else n=p.call(t,(e=>zt(e)===l));return n}function Wl(){const e=Kn(this);let t="";for(let n=0,l=e.length;n<l;n+=1)t+=On(e[n]);return t}function Ul(){return On(this)}function jl(){const e=tn(this),t=A(e)?[]:un(e,fn(this));return yn(p.call(t,(e=>e instanceof Element)))}function Kl(){return this.children.length}function Gl(){return this.children[0]||null}function ql(){const{children:e}=this;return e.item(e.length-1)||null}function Xl(e,t,n){let l;if(tl(e)){const n=tn(e);l=A(n)?[]:Jt(e)?an(e,t):un(n,t)}else if(Qt(e)){const o=Vt(e);if(H(o))if(1===n){const n=zt(e);l=p.call(t,(e=>zt(e)===n))}else l=T.call(t);else l=p.call(t,(e=>zt(e)===o))}else l=e instanceof HTMLBodyElement||1===n?p.call(t,(t=>H(Vt(t))||Nt(e))):T.call(t);return l}n(HTMLSlotElement.prototype,{addEventListener:{value(e,t,n){HTMLElement.prototype.addEventListener.call(this,e,t,n),"slotchange"!==e||Bl.get(this)||(Bl.set(this,!0),$l||($l=new gt((e=>{const t=[];L.call(e,(e=>{const{target:n}=e;-1===m.call(t,n)&&(E.call(t,n),St.call(n,new CustomEvent("slotchange")))}))}))),mt.call($l,this,Il))},writable:!0,enumerable:!0,configurable:!0},assignedElements:{value(e){if(Qt(this)){const t=!H(e)&&R(e.flatten)?kl(this):hn(this);return p.call(t,(e=>e instanceof Element))}return Ye.apply(this,T.call(arguments))},writable:!0,enumerable:!0,configurable:!0},assignedNodes:{value(e){if(Qt(this)){return!H(e)&&R(e.flatten)?kl(this):hn(this)}return Xe.apply(this,T.call(arguments))},writable:!0,enumerable:!0,configurable:!0},name:{get(){const e=pe.call(this,"name");return A(e)?"":e},set(e){Te.call(this,"name",e)},enumerable:!0,configurable:!0},childNodes:{get(){if(Qt(this)){const e=tn(this);return dn(A(e)?[]:un(e,fn(this)))}return fe.call(this)},enumerable:!0,configurable:!0}}),n(Text.prototype,{assignedSlot:{get:xl,enumerable:!0,configurable:!0}}),n(Element.prototype,{innerHTML:{get(){return Hn.ENABLE_ELEMENT_PATCH?Nt(this)?Pe.call(this):Wl.call(this):Qt(this)||tl(this)?Wl.call(this):Pe.call(this)},set(e){De.call(this,e)},enumerable:!0,configurable:!0},outerHTML:{get(){return Hn.ENABLE_ELEMENT_PATCH?Nt(this)?Ie.call(this):Ul.call(this):Qt(this)||tl(this)?Ul.call(this):Ie.call(this)},set(e){Be.call(this,e)},enumerable:!0,configurable:!0},attachShadow:{value:function(e){return e["$$lwc-synthetic-mode"]?ol(this,e):ve.call(this,e)},enumerable:!0,writable:!0,configurable:!0},shadowRoot:{get:function(){if(tl(this)){const e=el(this);if("open"===e.mode)return e}return Ge.call(this)},enumerable:!0,configurable:!0},children:{get(){return An(this)?jl.call(this):je.call(this)},enumerable:!0,configurable:!0},childElementCount:{get(){return An(this)?Kl.call(this):Ne.call(this)},enumerable:!0,configurable:!0},firstElementChild:{get(){return An(this)?Gl.call(this):Le.call(this)},enumerable:!0,configurable:!0},lastElementChild:{get(){return An(this)?ql.call(this):Me.call(this)},enumerable:!0,configurable:!0},assignedSlot:{get:xl,enumerable:!0,configurable:!0}}),c.call(HTMLElement.prototype,"innerHTML")&&l(HTMLElement.prototype,"innerHTML",r(Element.prototype,"innerHTML")),c.call(HTMLElement.prototype,"outerHTML")&&l(HTMLElement.prototype,"outerHTML",r(Element.prototype,"outerHTML")),c.call(HTMLElement.prototype,"children")&&l(HTMLElement.prototype,"children",r(Element.prototype,"children")),n(Element.prototype,{querySelector:{value:function(){const e=Lt(ye.apply(this,T.call(arguments)));if(tl(this)){const t=tn(this);return A(t)?null:Jt(this)?cn(this,e):sn(t,e)}if(Qt(this)){const t=Vt(this);if(H(t)){if(!Hn.ENABLE_NODE_LIST_PATCH)return 0===e.length?null:e[0];const t=zt(this),n=g.call(e,(e=>zt(e)===t));return H(n)?null:n}{const n=g.call(e,(e=>zt(e)===t));return H(n)?null:n}}{if(!(Hn.ENABLE_NODE_LIST_PATCH||this instanceof HTMLBodyElement)){const t=e[0];return H(t)?null:t}const t=g.call(e,(e=>H(Vt(e))||Nt(this)));return H(t)?null:t}},writable:!0,enumerable:!0,configurable:!0},querySelectorAll:{value(){const e=Lt(ye.apply(this,T.call(arguments)));if(!Hn.ENABLE_NODE_LIST_PATCH){return dn(Xl(this,e,0))}return dn(Xl(this,e,1))},writable:!0,enumerable:!0,configurable:!0}}),n(Element.prototype,{getElementsByClassName:{value(){const e=Lt(Ke.apply(this,T.call(arguments)));if(!Hn.ENABLE_HTML_COLLECTIONS_PATCH)return yn(Fl(this,e));return yn(Xl(this,e,1))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagName:{value(){const e=Lt(me.apply(this,T.call(arguments)));if(!Hn.ENABLE_HTML_COLLECTIONS_PATCH)return yn(Fl(this,e));return yn(Xl(this,e,1))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagNameNS:{value(){const e=Lt(de.apply(this,T.call(arguments)));if(!Hn.ENABLE_HTML_COLLECTIONS_PATCH)return yn(Fl(this,e));return yn(Xl(this,e,1))},writable:!0,enumerable:!0,configurable:!0}}),c.call(HTMLElement.prototype,"getElementsByClassName")&&l(HTMLElement.prototype,"getElementsByClassName",r(Element.prototype,"getElementsByClassName"));const Yl="\n [contenteditable],\n [tabindex],\n a[href],\n area[href],\n audio[controls],\n button,\n iframe,\n input,\n select,\n textarea,\n video[controls]\n",Vl=new Set(["BUTTON","INPUT","SELECT","TEXTAREA"]);function zl(e){return e.filter((e=>be.call(e,"tabindex")?"0"===pe.call(e,"tabindex"):!Vl.has(ke.call(e))||!be.call(e,"disabled")))}const Jl=new WeakMap;function Ql(e){return(!tl(e)||!Qn(e))&&(Ue.call(e,Yl)&&function(e){const{width:t,height:n}=ge.call(e),l=t>0||n>0,o="AREA"===e.tagName;return(l||o)&&"hidden"!==getComputedStyle(e).visibility}(e))}function Zl(){const e=this.getRootNode();if(e===this){const e=Ee.call(this,Yl);return void(A(e)||e.focus.apply(e,arguments))}const t=e;if(t.activeElement===this)return;const n=Lt(ye.call(this,Yl));let l=!1;for(;!l&&0!==n.length;){const e=n.shift();e.focus.apply(e,arguments);l=e.getRootNode().activeElement===e}}function eo(e){const t=wt(e),n=zl(Lt(ot.call(t,Yl))),l=zl(Lt(ye.call(e,Yl))),o=l[0],r=l[l.length-1],i=m.call(n,e),a=i>-1?i:m.call(n,o),c=0===l.length?a+1:m.call(n,r)+1;return{prev:T.call(n,0,a),inner:l,next:T.call(n,c)}}function to(e,t){const n=Q.call(e,t);return n&F?0:n&U?1:n&j?2:-1}function no(e){e.preventDefault(),e.stopPropagation()}function lo(e,t){st.call(e,"focusin",no,!0),st.call(e,"focusout",no,!0),t(),ft.call(e,"focusin",no,!0),ft.call(e,"focusout",no,!0)}function oo(e,t,n){const l=Tt(n),o=function(e,t){const n=e.length;if(n>0)for(let l=0;l<n;l+=1){const n=e[l];if(fo(t.getRootNode(),n))return n}return null}(e,n);A(o)?lo(l,(()=>{t.blur()})):lo(l,(()=>{o.focus()}))}let ro=!1;function io(){ro=!0}function ao(){ro=!1}function co(){return!ro}function uo(e){if(ro)return;const t=ze.call(e),n=Ve.call(e);if(t!==n)return;const l=Je.call(e);if(A(l))return;const o=eo(t);if(1===to(t,l)){const e=fo.bind(null,t.getRootNode()),r=g.call(o.inner,e);if(H(r))oo(o.next,n,l);else{lo(Tt(r),(()=>{r.focus()}))}}else t===n&&oo(w.call(o.prev),n,l)}function so(e){if(ro)return;const t=Je.call(e);if(A(t))return;const n=ze.call(e),l=eo(n);if(-1!==m.call(l.inner,t))return;const o=Ve.call(e),r=to(n,t);1===r&&oo(l.next,o,t),2===r&&oo(w.call(l.prev),o,t)}function fo(e,t){if(!Ql(t))return!1;const n=wt(t);let l=t.getRootNode();for(;l!==n&&l!==e;){const e=l.host;if("-1"===pe.call(e,"tabindex"))return!1;l=e&&e.getRootNode()}return!0}function ho(e){Ot.call(e,"focusin",uo,!0)}function po(e){const t=wt(e);Jl.get(t)||(Jl.set(t,!0),Ct.call(t,"mousedown",io,!0),Ct.call(t,"mouseup",(()=>{setTimeout(ao)}),!0),Ct.call(t,"dragstart",ao,!0))}function go(e){Ot.call(e,"focusin",so,!0)}function mo(e){const t=Tt(e);return ht.call(t,e)}function bo(e){const t=Tt(e);return pt.call(t)}function Eo(e){return"visible"===e.visibility&&"none"!==e.display}function yo(e){const t=[];if((e=>e.nodeType===K)(e)){const{tagName:n}=e,l=mo(e);if("OPTION"===n)return[1,Se.call(e),1];if("TEXTAREA"===n)return[];{const n=e.childNodes;for(let e=0,l=n.length;e<l;e++)E.apply(t,yo(n[e]))}if(!Eo(l))return"SELECT"===n||"DATALIST"===n?[]:t;"BR"===n&&t.push("\n");const{display:o}=l;"table-cell"===o&&t.push("\t"),"table-row"===o&&t.push("\n"),"P"===n&&(t.unshift(2),t.push(2)),"block"!==o&&"table-caption"!==o&&"flex"!==o&&"table"!==o||(t.unshift(1),t.push(1))}else(e=>e.nodeType===G)(e)&&t.push(function(e){const t=bo(e);if(null===t)return e.textContent||"";const n=document.createRange();n.selectNodeContents(e);const l=n.getBoundingClientRect();if(l.height<=0||l.width<=0)return"";t.removeAllRanges(),t.addRange(n);return t.toString()||e.textContent||""}(e));return t}function wo(e){if(!Eo(mo(e)))return pn(e)||"";const t=function(e){const t=Tt(e),n=bo(e);if(null===n)return null;const l=[];for(let e=0;e<n.rangeCount;e++)l.push(n.getRangeAt(e));const o={element:e,onselect:t.onselect,onselectstart:t.onselectstart,onselectionchange:t.onselectionchange,ranges:l};return t.onselect=null,t.onselectstart=null,t.onselectionchange=null,o}(e),n=[],l=e.childNodes;for(let e=0,t=l.length;e<t;e++)E.apply(n,yo(l[e]));!function(e){if(null===e)return;const{element:t,onselect:n,onselectstart:l,onselectionchange:o,ranges:r}=e,i=Tt(t),a=bo(t);a.removeAllRanges();for(let e=0;e<r.length;e++)a.addRange(r[e]);i.onselect=n,i.onselectstart=l,i.onselectionchange=o}(t);let o="",r=0;for(let e=0,t=n.length;e<t;e++){const t=n[e];if("string"==typeof t){if(r>0){for(let e=0;e<r;e++)o+="\n";r=0}t.length>0&&(o+=t)}else{if(0==o.length)continue;t>r&&(r=t)}}return o}const{blur:To,focus:vo}=HTMLElement.prototype;function No(){return Qn(this)&&_(be.call(this,"tabindex"))?0:Fe.call(this)}function Lo(e){const t=Qn(this),n=Fe.call(this),l=be.call(this,"tabindex");We.call(this,e);const o=Fe.call(this),r=be.call(this,"tabindex"),i=n!==o;var a;(l&&(i||_(r))&&(-1===n&&go(this),0===n&&t&&ho(this)),_(r))||(l&&r&&_(i)||(-1===o&&(po(a=this),ho(a),Ct.call(a,"focusin",so,!0)),0===o&&t&&function(e){po(e),go(e),Ct.call(e,"focusin",uo,!0)}(this)))}function Mo(){if(Qn(this)){const e=function(e){const t=wt(e),n=Ze.call(t);return A(n)||0!=(Q.call(e,n)&F)?n:null}(this);if(!A(e))return void e.blur()}return To.call(this)}function Co(){const e=co();e&&io(),tl(this)&&Qn(this)?Zl.call(this):(vo.apply(this,arguments),e&&ao())}n(HTMLElement.prototype,{tabIndex:{get(){return tl(this)?No.call(this):Fe.call(this)},set(e){return tl(this)?Lo.call(this,e):We.call(this,e)},enumerable:!0,configurable:!0},blur:{value(){if(tl(this))return Mo.call(this);To.call(this)},enumerable:!0,writable:!0,configurable:!0},focus:{value(){Co.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),null!==Se&&null!==Oe&&l(HTMLElement.prototype,"innerText",{get(){return Hn.ENABLE_INNER_OUTER_TEXT_PATCH?Hn.ENABLE_ELEMENT_PATCH?Nt(this)?Se.call(this):wo(this):Qt(this)||tl(this)?wo(this):Se.call(this):Se.call(this)},set(e){Oe.call(this,e)},enumerable:!0,configurable:!0}),null!==Ae&&null!==Re&&l(HTMLElement.prototype,"outerText",{get(){return Hn.ENABLE_INNER_OUTER_TEXT_PATCH?Hn.ENABLE_ELEMENT_PATCH?Nt(this)?Ae.call(this):wo(this):Qt(this)||tl(this)?wo(this):Ae.call(this):Ae.call(this)},set(e){Re.call(this,e)},enumerable:!0,configurable:!0}),l(Element.prototype,B,{set(e){const t=this.$$ShadowTokenKey$$;H(t)||t===e||we.call(this,t),H(e)||Te.call(this,e,""),this.$$ShadowTokenKey$$=e},get(){return this.$$ShadowTokenKey$$},configurable:!0});const So=function(){};let Oo;const Ho={childList:!0};function Ao(e,t,n){const l=zn(e);if(l!==t&&(Jn(e,t),e instanceof Element)){if(function(e,t){e.$shadowToken$=t}(e,n),tl(e))return;H(l)&&mt.call(Oo,e,Ho);const o=fe.call(e);for(let e=0,l=o.length;e<l;e+=1)Ao(o[e],t,n)}}function Ro(e){if(H(Oo)&&(Oo=new gt((e=>{L.call(e,(e=>{const{target:t,addedNodes:n,removedNodes:l}=e,o=zn(t),r=t.$shadowToken$;for(let e=0,n=l.length;e<n;e+=1){const n=l[e];Q.call(t,n)&k.DOCUMENT_POSITION_CONTAINED_BY||Ao(n,So,void 0)}for(let e=0,l=n.length;e<l;e+=1){const l=n[e];Q.call(t,l)&k.DOCUMENT_POSITION_CONTAINED_BY&&Ao(l,o,r)}}))}))),H(zn(e)))throw new Error("Invalid Element");mt.call(Oo,e,Ho)}l(Element.prototype,"$domManual$",{set(e){this.$$DomManualKey$$=e,R(e)&&Ro(this)},get(){return this.$$DomManualKey$$},configurable:!0})}();
@@ -125,7 +125,7 @@
125
125
  const KEY__SHADOW_TOKEN = '$shadowToken$';
126
126
  const KEY__SHADOW_TOKEN_PRIVATE = '$$ShadowTokenKey$$';
127
127
  const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
128
- /** version: 2.7.1 */
128
+ /** version: 2.7.2 */
129
129
 
130
130
  /*
131
131
  * Copyright (c) 2018, salesforce.com, inc.
@@ -1466,7 +1466,7 @@
1466
1466
  }
1467
1467
 
1468
1468
  const runtimeFlags = _globalThis.lwcRuntimeFlags;
1469
- /** version: 2.7.1 */
1469
+ /** version: 2.7.2 */
1470
1470
 
1471
1471
  /*
1472
1472
  * Copyright (c) 2018, salesforce.com, inc.
@@ -1915,7 +1915,22 @@
1915
1915
  }
1916
1916
 
1917
1917
  return rootNodes;
1918
- }
1918
+ } // Keep searching up the host tree until we find an element that is within the immediate shadow root
1919
+
1920
+
1921
+ const findAncestorHostInImmediateShadowRoot = (rootNode, targetRootNode) => {
1922
+ let host;
1923
+
1924
+ while (!isUndefined(host = rootNode.host)) {
1925
+ const thisRootNode = host.getRootNode();
1926
+
1927
+ if (thisRootNode === targetRootNode) {
1928
+ return host;
1929
+ }
1930
+
1931
+ rootNode = thisRootNode;
1932
+ }
1933
+ };
1919
1934
 
1920
1935
  function fauxElementsFromPoint(context, doc, left, top) {
1921
1936
  const elements = elementsFromPoint.call(doc, left, top);
@@ -1929,8 +1944,28 @@
1929
1944
  for (let i = 0; i < elements.length; i++) {
1930
1945
  const element = elements[i];
1931
1946
 
1932
- if (rootNodes.indexOf(element.getRootNode()) !== -1 && !isSyntheticSlotElement(element)) {
1933
- result.push(element);
1947
+ if (isSyntheticSlotElement(element)) {
1948
+ continue;
1949
+ }
1950
+
1951
+ const elementRootNode = element.getRootNode();
1952
+
1953
+ if (ArrayIndexOf.call(rootNodes, elementRootNode) !== -1) {
1954
+ ArrayPush.call(result, element);
1955
+ continue;
1956
+ } // In cases where the host element is not visible but its shadow descendants are, then
1957
+ // we may get the shadow descendant instead of the host element here. (The
1958
+ // browser doesn't know the difference in synthetic shadow DOM.)
1959
+ // In native shadow DOM, however, elementsFromPoint would return the host but not
1960
+ // the child. So we need to detect if this shadow element's host is accessible from
1961
+ // the context's shadow root. Note we also need to be careful not to add the host
1962
+ // multiple times.
1963
+
1964
+
1965
+ const ancestorHost = findAncestorHostInImmediateShadowRoot(elementRootNode, rootNodes[0]);
1966
+
1967
+ if (!isUndefined(ancestorHost) && ArrayIndexOf.call(elements, ancestorHost) === -1 && ArrayIndexOf.call(result, ancestorHost) === -1) {
1968
+ ArrayPush.call(result, ancestorHost);
1934
1969
  }
1935
1970
  }
1936
1971
  }
@@ -5563,6 +5598,6 @@
5563
5598
 
5564
5599
  configurable: true
5565
5600
  });
5566
- /** version: 2.7.1 */
5601
+ /** version: 2.7.2 */
5567
5602
 
5568
5603
  })();
@@ -197,7 +197,7 @@
197
197
  var hasNativeSymbolSupport = /*@__PURE__*/function () {
198
198
  return Symbol('x').toString() === 'Symbol(x)';
199
199
  }();
200
- /** version: 2.7.1 */
200
+ /** version: 2.7.2 */
201
201
 
202
202
  /*
203
203
  * Copyright (c) 2018, salesforce.com, inc.
@@ -1523,7 +1523,7 @@
1523
1523
  }
1524
1524
 
1525
1525
  var runtimeFlags = _globalThis.lwcRuntimeFlags;
1526
- /** version: 2.7.1 */
1526
+ /** version: 2.7.2 */
1527
1527
 
1528
1528
  /*
1529
1529
  * Copyright (c) 2018, salesforce.com, inc.
@@ -1999,7 +1999,22 @@
1999
1999
  }
2000
2000
 
2001
2001
  return rootNodes;
2002
- }
2002
+ } // Keep searching up the host tree until we find an element that is within the immediate shadow root
2003
+
2004
+
2005
+ var findAncestorHostInImmediateShadowRoot = function findAncestorHostInImmediateShadowRoot(rootNode, targetRootNode) {
2006
+ var host;
2007
+
2008
+ while (!isUndefined(host = rootNode.host)) {
2009
+ var thisRootNode = host.getRootNode();
2010
+
2011
+ if (thisRootNode === targetRootNode) {
2012
+ return host;
2013
+ }
2014
+
2015
+ rootNode = thisRootNode;
2016
+ }
2017
+ };
2003
2018
 
2004
2019
  function fauxElementsFromPoint(context, doc, left, top) {
2005
2020
  var elements = elementsFromPoint.call(doc, left, top);
@@ -2013,8 +2028,28 @@
2013
2028
  for (var i = 0; i < elements.length; i++) {
2014
2029
  var element = elements[i];
2015
2030
 
2016
- if (rootNodes.indexOf(element.getRootNode()) !== -1 && !isSyntheticSlotElement(element)) {
2017
- result.push(element);
2031
+ if (isSyntheticSlotElement(element)) {
2032
+ continue;
2033
+ }
2034
+
2035
+ var elementRootNode = element.getRootNode();
2036
+
2037
+ if (ArrayIndexOf.call(rootNodes, elementRootNode) !== -1) {
2038
+ ArrayPush.call(result, element);
2039
+ continue;
2040
+ } // In cases where the host element is not visible but its shadow descendants are, then
2041
+ // we may get the shadow descendant instead of the host element here. (The
2042
+ // browser doesn't know the difference in synthetic shadow DOM.)
2043
+ // In native shadow DOM, however, elementsFromPoint would return the host but not
2044
+ // the child. So we need to detect if this shadow element's host is accessible from
2045
+ // the context's shadow root. Note we also need to be careful not to add the host
2046
+ // multiple times.
2047
+
2048
+
2049
+ var ancestorHost = findAncestorHostInImmediateShadowRoot(elementRootNode, rootNodes[0]);
2050
+
2051
+ if (!isUndefined(ancestorHost) && ArrayIndexOf.call(elements, ancestorHost) === -1 && ArrayIndexOf.call(result, ancestorHost) === -1) {
2052
+ ArrayPush.call(result, ancestorHost);
2018
2053
  }
2019
2054
  }
2020
2055
  }
@@ -5568,6 +5603,6 @@
5568
5603
  },
5569
5604
  configurable: true
5570
5605
  });
5571
- /** version: 2.7.1 */
5606
+ /** version: 2.7.2 */
5572
5607
 
5573
5608
  })();