lwc 2.7.1 → 2.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/dist/engine-dom/esm/es2017/engine-dom.js +3136 -3005
  2. package/dist/engine-dom/iife/es2017/engine-dom.js +3136 -3005
  3. package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -9
  4. package/dist/engine-dom/iife/es2017/engine-dom_debug.js +2830 -2696
  5. package/dist/engine-dom/iife/es5/engine-dom.js +3893 -3657
  6. package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -9
  7. package/dist/engine-dom/iife/es5/engine-dom_debug.js +2830 -2597
  8. package/dist/engine-dom/umd/es2017/engine-dom.js +3136 -3005
  9. package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -9
  10. package/dist/engine-dom/umd/es2017/engine-dom_debug.js +2830 -2696
  11. package/dist/engine-dom/umd/es5/engine-dom.js +3893 -3657
  12. package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -9
  13. package/dist/engine-dom/umd/es5/engine-dom_debug.js +2830 -2597
  14. package/dist/engine-server/commonjs/es2017/engine-server.js +3467 -3700
  15. package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -9
  16. package/dist/engine-server/esm/es2017/engine-server.js +3467 -3700
  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
  42. package/LICENSE +0 -10
@@ -1,4 +1,4 @@
1
- !function(){"use strict";var e,t;function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}var a=Object.assign,i=Object.create,u=Object.defineProperties,c=Object.defineProperty,s=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.hasOwnProperty,p=Object.setPrototypeOf,g=Array.prototype,m=g.filter,v=g.find,b=g.indexOf,d=g.map,y=g.push,E=g.reduce,w=g.reverse,T=g.slice,N=g.splice,L=g.forEach,M=String.prototype.charCodeAt;function C(e){return void 0===e}function S(e){return null===e}function O(e){return!0===e}function H(e){return!1===e}function A(e){return"function"==typeof e}function R(e){return"object"===o(e)}var _,P,D=function(){if("object"===("undefined"==typeof globalThis?"undefined":o(globalThis)))return globalThis;var 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}(),$="$shadowResolver$",B="$shadowToken$",I=Node,k=I.prototype,x=I.DOCUMENT_POSITION_CONTAINED_BY,F=I.DOCUMENT_POSITION_PRECEDING,j=I.DOCUMENT_POSITION_FOLLOWING,W=I.ELEMENT_NODE,U=I.TEXT_NODE,K=I.CDATA_SECTION_NODE,G=I.PROCESSING_INSTRUCTION_NODE,q=I.COMMENT_NODE,X=k.appendChild,Y=k.cloneNode,V=k.compareDocumentPosition,z=k.insertBefore,J=k.removeChild,Q=k.replaceChild,Z=k.hasChildNodes,ee=HTMLElement.prototype.contains,te=s(k,"firstChild").get,ne=s(k,"lastChild").get,re=s(k,"textContent").get,le=s(k,"parentNode").get,oe=s(k,"ownerDocument").get,ae=h.call(k,"parentElement")?s(k,"parentElement").get:s(HTMLElement.prototype,"parentElement").get,ie=s(k,"textContent").set,ue=h.call(k,"childNodes")?s(k,"childNodes").get:s(HTMLElement.prototype,"childNodes").get,ce=h.call(k,"isConnected")?s(k,"isConnected").get:function(){var e=oe.call(this);return null===e||0!=(V.call(e,this)&x)},se=Element.prototype,fe=se.getAttribute,he=se.getBoundingClientRect,pe=se.getElementsByTagName,ge=se.getElementsByTagNameNS,me=se.hasAttribute,ve=se.querySelector,be=se.querySelectorAll,de=se.removeAttribute,ye=se.setAttribute,Ee=h.call(Element.prototype,"attachShadow")?Element.prototype.attachShadow:function(){throw new TypeError("attachShadow() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill and use Lightning Web Components")},we=s(Element.prototype,"childElementCount").get,Te=s(Element.prototype,"firstElementChild").get,Ne=s(Element.prototype,"lastElementChild").get,Le=s(HTMLElement.prototype,"innerText"),Me=Le?Le.get:null,Ce=Le?Le.set:null,Se=s(HTMLElement.prototype,"outerText"),Oe=Se?Se.get:null,He=Se?Se.set:null,Ae=h.call(Element.prototype,"innerHTML")?s(Element.prototype,"innerHTML"):s(HTMLElement.prototype,"innerHTML"),Re=Ae.get,_e=Ae.set,Pe=h.call(Element.prototype,"outerHTML")?s(Element.prototype,"outerHTML"):s(HTMLElement.prototype,"outerHTML"),De=Pe.get,$e=Pe.set,Be=s(Element.prototype,"tagName").get,Ie=s(HTMLElement.prototype,"tabIndex"),ke=Ie.get,xe=Ie.set,Fe=h.call(Element.prototype,"matches")?Element.prototype.matches:Element.prototype.msMatchesSelector,je=h.call(Element.prototype,"children")?s(Element.prototype,"children").get:s(HTMLElement.prototype,"children").get,We=HTMLElement.prototype.getElementsByClassName,Ue=h.call(Element.prototype,"shadowRoot")?s(Element.prototype,"shadowRoot").get:function(){return null},Ke=h.call(Element.prototype,"assignedSlot")?s(Element.prototype,"assignedSlot").get:function(){return null};"undefined"!=typeof HTMLSlotElement?(_=HTMLSlotElement.prototype.assignedNodes,P=HTMLSlotElement.prototype.assignedElements):(_=function(){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")},P=function(){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")});var Ge=s(Event.prototype,"target").get,qe=s(Event.prototype,"currentTarget").get,Xe=s(FocusEvent.prototype,"relatedTarget").get,Ye=h.call(Event.prototype,"composedPath")?Event.prototype.composedPath:function(){return[]},Ve=s(Document.prototype,"activeElement").get,ze=h.call(Document.prototype,"elementFromPoint")?Document.prototype.elementFromPoint:Document.prototype.msElementFromPoint,Je=h.call(Document.prototype,"elementsFromPoint")?Document.prototype.elementsFromPoint:Document.prototype.msElementsFromPoint,Qe=s(Document.prototype,"defaultView").get,Ze=Document.prototype,et=Ze.querySelectorAll,tt=Ze.getElementById,nt=Ze.getElementsByClassName,rt=Ze.getElementsByTagName,lt=Ze.getElementsByTagNameNS,ot=HTMLDocument.prototype.getElementsByName,at=window,it=at.addEventListener,ut=at.removeEventListener,ct=at.getComputedStyle,st=at.getSelection,ft=MutationObserver,ht=ft.prototype.observe,pt=null;"undefined"!=typeof ShadowRoot&&(pt=ShadowRoot);var gt=!S(pt),mt=S(pt)?function(){return!1}:function(e){return e instanceof pt};var vt,bt=Document.prototype.createElement;function dt(e){var t=oe.call(e);return null===t?e:t}function yt(e){var t=dt(e),n=Qe.call(t);if(null===n)throw new TypeError;return n}function Et(e){if(C(vt)){var t=dt(e);vt=t.body&&"temporary-bypass"===fe.call(t.body,"data-global-patching-bypass")}return O(vt)}function wt(e){var t=e.length,n=[];if(t>0)for(var r=0;r<t;r++)n[r]=e[r];return n}"undefined"==typeof HTMLSlotElement&&function(){var e=l((function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}));p(e,HTMLElement.constructor),p(e.prototype,HTMLElement.prototype),Window.prototype.HTMLSlotElement=e,c(Document.prototype,"createElement",{value:function(t,n){var r=bt.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)&&p(r,e.prototype),r}})}();var Tt="undefined"!=typeof EventTarget?EventTarget.prototype:I.prototype,Nt=Tt.addEventListener,Lt=Tt.dispatchEvent,Mt=Tt.removeEventListener,Ct=new WeakMap,St=new WeakMap;function Ot(e,t,n){if(t===n)return!0;var r=St.get(e);return C(r)&&(r=e.composedPath(),St.set(e,r)),r.includes(n)}function Ht(e){if(!function(e){return A(e)||R(e)&&!S(e)&&A(e.handleEvent)}(e))return e;var t=Ct.get(e);return C(t)&&(t=function(t){var n=qe.call(t);if(Ot(t,Pt(t),n))return A(e)?e.call(this,t):e.handleEvent&&e.handleEvent(t)},Ct.set(e,t)),t}var At=new WeakMap,Rt=new WeakMap;function _t(e){var t=Rt.get(e);return C(t)&&(t=i(null),Rt.set(e,t)),t}function Pt(e){var t;return null!==(t=lr.get(e))&&void 0!==t?t:Ge.call(e)}var Dt=new WeakMap;function $t(e){if(!A(e))throw new TypeError;var t=Dt.get(e);return C(t)&&((t=function(t){var n=qe.call(t);mt(n)||(n=Jn(n)),Ot(t,Pt(t),n)&&e.call(n,t)}).placement=1,Dt.set(e,t)),t}var Bt=new WeakMap;function It(e){if(!A(e))throw new TypeError;var t=Bt.get(e);return C(t)&&((t=function(t){var n=qe.call(t);Ot(t,Pt(t),n)&&e.call(n,t)}).placement=0,Bt.set(e,t)),t}function kt(e){var t=!1,n=!1,r=e.type,l=e.stopImmediatePropagation,o=e.stopPropagation,a=_t(qe.call(e))[r];c(e,"stopImmediatePropagation",{value:function(){t=!0,l.call(e)},writable:!0,enumerable:!0,configurable:!0}),c(e,"stopPropagation",{value:function(){n=!0,o.call(e)},writable:!0,enumerable:!0,configurable:!0});var i=T.call(a);function u(n){L.call(i,(function(r){H(t)&&r.placement===n&&-1!==b.call(a,r)&&r.call(void 0,e)}))}At.set(e,1),u(1),H(t)&&H(n)&&(At.set(e,0),u(0)),At.set(e,2)}function xt(e,t,n){var r=_t(e),l=r[t];C(l)&&(l=r[t]=[]),-1===b.call(l,n)&&(0===l.length&&Nt.call(e,t,kt),y.call(l,n))}function Ft(e,t,n){var r,l;C(l=_t(e)[t])||-1===(r=b.call(l,n))||(N.call(l,r,1),0===l.length&&Mt.call(e,t,kt))}function jt(e,t,n){A(t)&&xt(this,e,It(t))}function Wt(e,t,n){A(t)&&Ft(this,e,It(t))}var Ut="$$HostElementKey$$",Kt="$$ShadowedNodeKey$$";function Gt(e,t,n){var r=e,l=n.value;r[t]=l}function qt(e){return e[Ut]}function Xt(e){for(var t,n=e;!S(n);){if(!C(t=qt(n)))return t;n=le.call(n)}}function Yt(e){return e[Kt]}function Vt(e){return!C(qt(e))}function zt(e){for(var t=ae.call(e);!S(t)&&en(t);)e=t,t=ae.call(e);return e}function Jt(e,t){for(var n=Yt(e),r=t instanceof Element?t:ae.call(t);!S(r)&&r!==e;){var l=Xt(r),o=ae.call(r);if(l===n)return en(r);if(o===e)return!1;if(S(o)||Xt(o)===l)r=o;else{if(!en(o))return!1;if(!S(r=Qt(zt(o)))){if(r===e)return!0;if(Xt(r)===n)return!0}}}return!1}function Qt(e){if(!(e instanceof I))return null;var t=Xt(e);if(C(t))return null;for(var n=e;!S(n)&&Yt(n)!==t;)n=le.call(n);return S(n)?null:n}function Zt(e){return en(e)&&Vt(e)}function en(e){return e instanceof HTMLSlotElement}function tn(e,t){var n=Xt(t);return C(n)||Yt(e)===n}function nn(e){var t=zn(e);return on(t,wt(ue.call(t)))}function rn(e,t){for(var n=[],r=0,l=t.length;r<l;r+=1){var o=t[r];!tn(e,o)&&Jt(e,o)&&y.call(n,o)}return n}function ln(e,t){for(var n=0,r=t.length;n<r;n+=1){var l=t[n];if(!tn(e,l)&&Jt(e,l))return l}return null}function on(e,t){for(var n=[],r=0,l=t.length;r<l;r+=1){var o=t[r];tn(e,o)&&y.call(n,o)}return n}function an(e,t){for(var n=0,r=t.length;n<r;n+=1)if(tn(e,t[n]))return t[n];return null}function un(e){if(!Qn(e)&&!en(e))return wt(ue.call(e));if(Qn(e)){var t=wt(be.call(e,"slot")),n=Xn(Jn(e));return E.call(t,(function(e,t){return n===Xn(t)&&y.apply(e,cn(t)),e}),[])}var r=wt(ue.call(e)),l=Xn(e);return m.call(r,(function(e){return l===Xn(e)}))}function cn(e){var t=Qt(e);if(S(t))return[];var n=wt(ue.call(e));return m.call(n,(function(e){return!Vt(e)||!tn(t,e)}))}function sn(e){if(e.nodeType===W){for(var t=un(e),n="",r=0,l=t.length;r<l;r+=1){var o=t[r];o.nodeType!==q&&(n+=sn(o))}return n}return e.nodeValue}var fn=new WeakMap;function hn(){throw new TypeError("Illegal constructor")}function pn(e){var t=i(hn.prototype);return fn.set(t,e),L.call(e,(function(e,n){c(t,n,{value:e,enumerable:!0,configurable:!0})})),t}hn.prototype=i(NodeList.prototype,(n(e={constructor:{writable:!0,configurable:!0,value:hn},item:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return this[e]}},length:{enumerable:!0,configurable:!0,get:function(){return fn.get(this).length}},forEach:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){L.call(fn.get(this),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value:function(){return d.call(fn.get(this),(function(e,t){return[t,e]}))}},keys:{writable:!0,enumerable:!0,configurable:!0,value:function(){return d.call(fn.get(this),(function(e,t){return t}))}},values:{writable:!0,enumerable:!0,configurable:!0,value:function(){return fn.get(this)}}},Symbol.iterator,{writable:!0,configurable:!0,value:function(){var e=this,t=0;return{next:function(){var n=fn.get(e);return t<n.length?{value:n[t++],done:!1}:{done:!0}}}}}),n(e,Symbol.toStringTag,{configurable:!0,get:function(){return"NodeList"}}),n(e,"toString",{writable:!0,configurable:!0,value:function(){return"[object NodeList]"}}),e)),p(hn,NodeList);var gn=new WeakMap;function mn(){throw new TypeError("Illegal constructor")}function vn(e){var t=i(mn.prototype);return gn.set(t,e),L.call(e,(function(e,n){c(t,n,{value:e,enumerable:!0,configurable:!0})})),t}mn.prototype=i(HTMLCollection.prototype,(n(t={constructor:{writable:!0,configurable:!0,value:mn},item:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return this[e]}},length:{enumerable:!0,configurable:!0,get:function(){return gn.get(this).length}},namedItem:{writable:!0,enumerable:!0,configurable:!0,value:function(e){if(""===e)return null;for(var t=gn.get(this),n=0,r=t.length;n<r;n++){var l=t[r];if(e===fe.call(l,"id")||e===fe.call(l,"name"))return l}return null}}},Symbol.toStringTag,{configurable:!0,get:function(){return"HTMLCollection"}}),n(t,"toString",{writable:!0,configurable:!0,value:function(){return"[object HTMLCollection]"}}),t)),p(mn,HTMLCollection);var bn=/[&\u00A0"]/g,dn=/[&\u00A0<>]/g,yn=String.prototype,En=yn.replace,wn=yn.toLowerCase;function Tn(e){switch(e){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case" ":return"&nbsp;";default:return""}}function Nn(e){return En.call(e,bn,Tn)}var Ln=new Set(["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"]),Mn=new Set(["STYLE","SCRIPT","XMP","IFRAME","NOEMBED","NOFRAMES","PLAINTEXT","NOSCRIPT"]);function Cn(e){switch(e.nodeType){case W:for(var t,n=e.attributes,r=Be.call(e),l="<"+wn.call(r),o=0;t=n[o];o++)l+=" "+t.name+'="'+Nn(t.value)+'"';return l+=">",Ln.has(r)?l:l+function(e){for(var t="",n=un(e),r=0,l=n.length;r<l;r+=1)t+=Cn(n[r]);return t}(e)+"</"+wn.call(r)+">";case U:var a=e.data,i=e.parentNode;return i instanceof Element&&Mn.has(Be.call(i))?a:function(e){return En.call(e,dn,Tn)}(a);case K:return"<!CDATA[[".concat(e.data,"]]>");case G:return"<?".concat(e.target," ").concat(e.data,"?>");case q:return"\x3c!--".concat(e.data,"--\x3e");default:return""}}D.lwcRuntimeFlags||Object.defineProperty(D,"lwcRuntimeFlags",{value:i(null)});var Sn=D.lwcRuntimeFlags;function On(e){return Zt(e)||Qn(e)}function Hn(e,t){var n=Qt(e);if(t===n)return Jn(n);if(t instanceof Element){if(Xt(e)===Xt(t))return t;if(!S(n)&&en(t)){var r=Qt(t);if(!S(r)&&tn(n,r))return r}}return null}function An(){return Wn(this).length>0}function Rn(){return Wn(this)[0]||null}function _n(){var e=Wn(this);return e[e.length-1]||null}function Pn(){return sn(this)}function Dn(){var e=le.call(this);return S(e)?e:Hn(this,e)}function $n(){var e=le.call(this);if(S(e))return null;var t=Hn(this,e);return t instanceof Element?t:null}function Bn(e){return this===e?0:this.getRootNode()===e?10:qt(this)!==qt(e)?35:V.call(this,e)}function In(e){return null!=e&&qt(this)===qt(e)&&0!=(V.call(this,e)&x)}function kn(e){var t=Y.call(this,!1);if(!e)return t;for(var n=Wn(this),r=0,l=n.length;r<l;r+=1)t.appendChild(n[r].cloneNode(!0));return t}function xn(){if(Qn(this)){var e=Qt(this);return pn(S(e)?[]:on(e,un(this)))}return ue.call(this)}var Fn=I.prototype.getRootNode,jn=C(Fn)?function(){for(var e,t=this;!S(e=le.call(t));)t=e;return t}:Fn;u(I.prototype,{firstChild:{get:function(){return On(this)?Rn.call(this):te.call(this)},enumerable:!0,configurable:!0},lastChild:{get:function(){return On(this)?_n.call(this):ne.call(this)},enumerable:!0,configurable:!0},textContent:{get:function(){return Sn.ENABLE_NODE_PATCH?Et(this)?re.call(this):Pn.call(this):Vt(this)||Qn(this)?Pn.call(this):re.call(this)},set:function(e){ie.call(this,e)},enumerable:!0,configurable:!0},parentNode:{get:function(){if(Vt(this))return Dn.call(this);var e=le.call(this);return!S(e)&&Zt(e)?Qt(e):e},enumerable:!0,configurable:!0},parentElement:{get:function(){if(Vt(this))return $n.call(this);var e=ae.call(this);return!S(e)&&Zt(e)?Qt(e):e},enumerable:!0,configurable:!0},childNodes:{get:function(){return On(this)?xn.call(this):ue.call(this)},enumerable:!0,configurable:!0},hasChildNodes:{value:function(){return On(this)?An.call(this):Z.call(this)},enumerable:!0,writable:!0,configurable:!0},compareDocumentPosition:{value:function(e){return Et(this)?V.call(this,e):Bn.call(this,e)},enumerable:!0,writable:!0,configurable:!0},contains:{value:function(e){return this===e||(Sn.ENABLE_NODE_PATCH?Et(this)?ee.call(this,e):In.call(this,e):null!=e&&(Vt(this)||Qn(this)?In.call(this,e):ee.call(this,e)))},enumerable:!0,writable:!0,configurable:!0},cloneNode:{value:function(e){return Sn.ENABLE_NODE_PATCH?O(e)?Et(this)?Y.call(this,e):kn.call(this,e):Y.call(this,e):Vt(this)||Qn(this)?kn.call(this,e):Y.call(this,e)},enumerable:!0,writable:!0,configurable:!0},getRootNode:{value:function(e){var t,n;return O(!C(e)&&!!e.composed)?jn.call(this,e):S(n=Qt(t=this))?jn.call(t):Jn(n)},enumerable:!0,configurable:!0,writable:!0},isConnected:{enumerable:!0,configurable:!0,get:function(){return ce.call(this)}}});var Wn=function(e){return e.childNodes};function Un(e,t,n,r){var l=Je.call(t,n,r),o=[],a=function(e){for(var t,n=[],r=e.getRootNode();!C(r);)n.push(r),r=null===(t=r.host)||void 0===t?void 0:t.getRootNode();return n}(e);if(!S(l))for(var i=0;i<l.length;i++){var u=l[i];-1===a.indexOf(u.getRootNode())||Zt(u)||o.push(u)}return o}h.call(HTMLElement.prototype,"contains")&&c(HTMLElement.prototype,"contains",s(I.prototype,"contains")),h.call(HTMLElement.prototype,"parentElement")&&c(HTMLElement.prototype,"parentElement",s(I.prototype,"parentElement"));var Kn=new WeakMap,Gn=document.createDocumentFragment;function qn(e){var t=Kn.get(e);if(C(t))throw new TypeError;return t}function Xn(e){return e.$shadowResolver$}function Yn(e,t){e.$shadowResolver$=t}function Vn(e){return qn(e).delegatesFocus}function zn(e){return qn(e).host}function Jn(e){return qn(e).shadowRoot}function Qn(e){var t=Kn.get(e);return!C(t)&&e===t.host}function Zn(e){var t=Kn.get(e);return!C(t)&&e===t.shadowRoot}c(I.prototype,$,{set:function(e){var t,n;C(e)||(this.$$ShadowResolverKey$$=e,t=this,n=e.nodeKey,Gt(t,Ut,{value:n,configurable:!0}))},get:function(){return this.$$ShadowResolverKey$$},configurable:!0,enumerable:!0}),c(D,"$isNativeShadowRootDefined$",{value:gt});var er=0;function tr(e,t){if(Kn.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.");var n=t.mode,r=t.delegatesFocus,l=dt(e),o=Gn.call(l),a={mode:n,delegatesFocus:!!r,host:e,shadowRoot:o};Kn.set(o,a),Kn.set(e,a);var i=function(){return o},u=i.nodeKey=er++;return Gt(e,Kt,{value:u}),Yn(o,i),p(o,ar.prototype),o}var nr={constructor:{writable:!0,configurable:!0,value:ar},toString:{writable:!0,configurable:!0,value:function(){return"[object ShadowRoot]"}},synthetic:{writable:!1,enumerable:!1,configurable:!1,value:!0}},rr={activeElement:{enumerable:!0,configurable:!0,get:function(){var e=zn(this),t=dt(e),n=Ve.call(t);if(S(n))return n;if(0==(V.call(e,n)&x))return null;for(var r=n;!tn(e,r);)r=ae.call(r);return en(r)?null:r}},delegatesFocus:{configurable:!0,get:function(){return qn(this).delegatesFocus}},elementFromPoint:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return cr(this,dt(zn(this)),e,t)}},elementsFromPoint:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return Un(this,dt(zn(this)),e,t)}},getSelection:{writable:!0,enumerable:!0,configurable:!0,value:function(){throw new Error('Disallowed method "getSelection" on ShadowRoot.')}},host:{enumerable:!0,configurable:!0,get:function(){return zn(this)}},mode:{configurable:!0,get:function(){return qn(this).mode}},styleSheets:{enumerable:!0,configurable:!0,get:function(){throw new Error}}},lr=new WeakMap,or={insertBefore:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return z.call(zn(this),e,t),e}},removeChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return J.call(zn(this),e),e}},appendChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return X.call(zn(this),e),e}},replaceChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return Q.call(zn(this),e,t),t}},addEventListener:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t,n){!function(e,t,n,r){A(n)&&xt(zn(e),t,$t(n))}(this,e,t)}},dispatchEvent:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return lr.set(e,this),Lt.apply(zn(this),arguments)}},removeEventListener:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t,n){!function(e,t,n,r){A(n)&&Ft(zn(e),t,$t(n))}(this,e,t)}},baseURI:{enumerable:!0,configurable:!0,get:function(){return zn(this).baseURI}},childNodes:{enumerable:!0,configurable:!0,get:function(){return pn(nn(this))}},cloneNode:{writable:!0,enumerable:!0,configurable:!0,value:function(){throw new Error('Disallowed method "cloneNode" on ShadowRoot.')}},compareDocumentPosition:{writable:!0,enumerable:!0,configurable:!0,value:function(e){var t=zn(this);return this===e?0:this.contains(e)?20:V.call(t,e)&x?37:35}},contains:{writable:!0,enumerable:!0,configurable:!0,value:function(e){if(this===e)return!0;var t=zn(this);return 0!=(V.call(t,e)&x)&&tn(t,e)}},firstChild:{enumerable:!0,configurable:!0,get:function(){return Wn(this)[0]||null}},lastChild:{enumerable:!0,configurable:!0,get:function(){var e=Wn(this);return e[e.length-1]||null}},hasChildNodes:{writable:!0,enumerable:!0,configurable:!0,value:function(){return Wn(this).length>0}},isConnected:{enumerable:!0,configurable:!0,get:function(){return ce.call(zn(this))}},nextSibling:{enumerable:!0,configurable:!0,get:function(){return null}},previousSibling:{enumerable:!0,configurable:!0,get:function(){return null}},nodeName:{enumerable:!0,configurable:!0,get:function(){return"#document-fragment"}},nodeType:{enumerable:!0,configurable:!0,get:function(){return 11}},nodeValue:{enumerable:!0,configurable:!0,get:function(){return null}},ownerDocument:{enumerable:!0,configurable:!0,get:function(){return zn(this).ownerDocument}},parentElement:{enumerable:!0,configurable:!0,get:function(){return null}},parentNode:{enumerable:!0,configurable:!0,get:function(){return null}},textContent:{enumerable:!0,configurable:!0,get:function(){for(var e=Wn(this),t="",n=0,r=e.length;n<r;n+=1){var l=e[n];l.nodeType!==q&&(t+=sn(l))}return t},set:function(e){var t=zn(this);ie.call(t,e)}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return!C(e)&&O(e.composed)?zn(this).getRootNode(e):this}}};function ar(){throw new TypeError("Illegal constructor")}function ir(e,t){var n,r=[];if(e instanceof Window)n=e;else{if(!(e instanceof I))return r;n=e.getRootNode()}for(var l,o=e;!S(o);)if(r.push(o),o instanceof Element||o instanceof Text){var a=o.assignedSlot;o=S(a)?o.parentNode:a}else o=!Zn(o)&&!mt(o)||!t&&o===n?o instanceof I?o.parentNode:null:o.host;return l=e instanceof Window?e.document:dt(e),r[r.length-1]===l&&r.push(window),r}
1
+ !function(){"use strict";var e,t;function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}var a=Object.assign,i=Object.create,u=Object.defineProperties,c=Object.defineProperty,s=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.hasOwnProperty,p=Object.setPrototypeOf,g=Array.prototype,m=g.filter,v=g.find,b=g.indexOf,d=g.map,y=g.push,E=g.reduce,w=g.reverse,T=g.slice,N=g.splice,L=g.forEach,M=String.prototype.charCodeAt;function C(e){return void 0===e}function S(e){return null===e}function O(e){return!0===e}function H(e){return!1===e}function A(e){return"function"==typeof e}function R(e){return"object"===o(e)}var _,P,D=function(){if("object"===("undefined"==typeof globalThis?"undefined":o(globalThis)))return globalThis;var 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}(),$="$shadowResolver$",B="$shadowToken$",I=Node,k=I.prototype,x=I.DOCUMENT_POSITION_CONTAINED_BY,F=I.DOCUMENT_POSITION_PRECEDING,j=I.DOCUMENT_POSITION_FOLLOWING,W=I.ELEMENT_NODE,U=I.TEXT_NODE,K=I.CDATA_SECTION_NODE,G=I.PROCESSING_INSTRUCTION_NODE,q=I.COMMENT_NODE,X=k.appendChild,Y=k.cloneNode,V=k.compareDocumentPosition,z=k.insertBefore,J=k.removeChild,Q=k.replaceChild,Z=k.hasChildNodes,ee=HTMLElement.prototype.contains,te=s(k,"firstChild").get,ne=s(k,"lastChild").get,re=s(k,"textContent").get,le=s(k,"parentNode").get,oe=s(k,"ownerDocument").get,ae=h.call(k,"parentElement")?s(k,"parentElement").get:s(HTMLElement.prototype,"parentElement").get,ie=s(k,"textContent").set,ue=h.call(k,"childNodes")?s(k,"childNodes").get:s(HTMLElement.prototype,"childNodes").get,ce=h.call(k,"isConnected")?s(k,"isConnected").get:function(){var e=oe.call(this);return null===e||0!=(V.call(e,this)&x)},se=Element.prototype,fe=se.getAttribute,he=se.getBoundingClientRect,pe=se.getElementsByTagName,ge=se.getElementsByTagNameNS,me=se.hasAttribute,ve=se.querySelector,be=se.querySelectorAll,de=se.removeAttribute,ye=se.setAttribute,Ee=h.call(Element.prototype,"attachShadow")?Element.prototype.attachShadow:function(){throw new TypeError("attachShadow() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill and use Lightning Web Components")},we=s(Element.prototype,"childElementCount").get,Te=s(Element.prototype,"firstElementChild").get,Ne=s(Element.prototype,"lastElementChild").get,Le=s(HTMLElement.prototype,"innerText"),Me=Le?Le.get:null,Ce=Le?Le.set:null,Se=s(HTMLElement.prototype,"outerText"),Oe=Se?Se.get:null,He=Se?Se.set:null,Ae=h.call(Element.prototype,"innerHTML")?s(Element.prototype,"innerHTML"):s(HTMLElement.prototype,"innerHTML"),Re=Ae.get,_e=Ae.set,Pe=h.call(Element.prototype,"outerHTML")?s(Element.prototype,"outerHTML"):s(HTMLElement.prototype,"outerHTML"),De=Pe.get,$e=Pe.set,Be=s(Element.prototype,"tagName").get,Ie=s(HTMLElement.prototype,"tabIndex"),ke=Ie.get,xe=Ie.set,Fe=h.call(Element.prototype,"matches")?Element.prototype.matches:Element.prototype.msMatchesSelector,je=h.call(Element.prototype,"children")?s(Element.prototype,"children").get:s(HTMLElement.prototype,"children").get,We=HTMLElement.prototype.getElementsByClassName,Ue=h.call(Element.prototype,"shadowRoot")?s(Element.prototype,"shadowRoot").get:function(){return null},Ke=h.call(Element.prototype,"assignedSlot")?s(Element.prototype,"assignedSlot").get:function(){return null};"undefined"!=typeof HTMLSlotElement?(_=HTMLSlotElement.prototype.assignedNodes,P=HTMLSlotElement.prototype.assignedElements):(_=function(){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")},P=function(){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")});var Ge=s(Event.prototype,"target").get,qe=s(Event.prototype,"currentTarget").get,Xe=s(FocusEvent.prototype,"relatedTarget").get,Ye=h.call(Event.prototype,"composedPath")?Event.prototype.composedPath:function(){return[]},Ve=s(Document.prototype,"activeElement").get,ze=h.call(Document.prototype,"elementFromPoint")?Document.prototype.elementFromPoint:Document.prototype.msElementFromPoint,Je=h.call(Document.prototype,"elementsFromPoint")?Document.prototype.elementsFromPoint:Document.prototype.msElementsFromPoint,Qe=s(Document.prototype,"defaultView").get,Ze=Document.prototype,et=Ze.querySelectorAll,tt=Ze.getElementById,nt=Ze.getElementsByClassName,rt=Ze.getElementsByTagName,lt=Ze.getElementsByTagNameNS,ot=HTMLDocument.prototype.getElementsByName,at=window,it=at.addEventListener,ut=at.removeEventListener,ct=at.getComputedStyle,st=at.getSelection,ft=MutationObserver,ht=ft.prototype.observe,pt=null;"undefined"!=typeof ShadowRoot&&(pt=ShadowRoot);var gt=!S(pt),mt=S(pt)?function(){return!1}:function(e){return e instanceof pt};var vt,bt=Document.prototype.createElement;function dt(e){var t=oe.call(e);return null===t?e:t}function yt(e){var t=dt(e),n=Qe.call(t);if(null===n)throw new TypeError;return n}function Et(e){if(C(vt)){var t=dt(e);vt=t.body&&"temporary-bypass"===fe.call(t.body,"data-global-patching-bypass")}return O(vt)}function wt(e){var t=e.length,n=[];if(t>0)for(var r=0;r<t;r++)n[r]=e[r];return n}"undefined"==typeof HTMLSlotElement&&function(){var e=l((function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}));p(e,HTMLElement.constructor),p(e.prototype,HTMLElement.prototype),Window.prototype.HTMLSlotElement=e,c(Document.prototype,"createElement",{value:function(t,n){var r=bt.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)&&p(r,e.prototype),r}})}();var Tt="undefined"!=typeof EventTarget?EventTarget.prototype:I.prototype,Nt=Tt.addEventListener,Lt=Tt.dispatchEvent,Mt=Tt.removeEventListener,Ct=new WeakMap,St=new WeakMap;function Ot(e,t,n){if(t===n)return!0;var r=St.get(e);return C(r)&&(r=e.composedPath(),St.set(e,r)),r.includes(n)}function Ht(e){if(!function(e){return A(e)||R(e)&&!S(e)&&A(e.handleEvent)}(e))return e;var t=Ct.get(e);return C(t)&&(t=function(t){var n=qe.call(t);if(Ot(t,Pt(t),n))return A(e)?e.call(this,t):e.handleEvent&&e.handleEvent(t)},Ct.set(e,t)),t}var At=new WeakMap,Rt=new WeakMap;function _t(e){var t=Rt.get(e);return C(t)&&(t=i(null),Rt.set(e,t)),t}function Pt(e){var t;return null!==(t=or.get(e))&&void 0!==t?t:Ge.call(e)}var Dt=new WeakMap;function $t(e){if(!A(e))throw new TypeError;var t=Dt.get(e);return C(t)&&((t=function(t){var n=qe.call(t);mt(n)||(n=Qn(n)),Ot(t,Pt(t),n)&&e.call(n,t)}).placement=1,Dt.set(e,t)),t}var Bt=new WeakMap;function It(e){if(!A(e))throw new TypeError;var t=Bt.get(e);return C(t)&&((t=function(t){var n=qe.call(t);Ot(t,Pt(t),n)&&e.call(n,t)}).placement=0,Bt.set(e,t)),t}function kt(e){var t=!1,n=!1,r=e.type,l=e.stopImmediatePropagation,o=e.stopPropagation,a=_t(qe.call(e))[r];c(e,"stopImmediatePropagation",{value:function(){t=!0,l.call(e)},writable:!0,enumerable:!0,configurable:!0}),c(e,"stopPropagation",{value:function(){n=!0,o.call(e)},writable:!0,enumerable:!0,configurable:!0});var i=T.call(a);function u(n){L.call(i,(function(r){H(t)&&r.placement===n&&-1!==b.call(a,r)&&r.call(void 0,e)}))}At.set(e,1),u(1),H(t)&&H(n)&&(At.set(e,0),u(0)),At.set(e,2)}function xt(e,t,n){var r=_t(e),l=r[t];C(l)&&(l=r[t]=[]),-1===b.call(l,n)&&(0===l.length&&Nt.call(e,t,kt),y.call(l,n))}function Ft(e,t,n){var r,l;C(l=_t(e)[t])||-1===(r=b.call(l,n))||(N.call(l,r,1),0===l.length&&Mt.call(e,t,kt))}function jt(e,t,n){A(t)&&xt(this,e,It(t))}function Wt(e,t,n){A(t)&&Ft(this,e,It(t))}var Ut="$$HostElementKey$$",Kt="$$ShadowedNodeKey$$";function Gt(e,t,n){var r=e,l=n.value;r[t]=l}function qt(e){return e[Ut]}function Xt(e){for(var t,n=e;!S(n);){if(!C(t=qt(n)))return t;n=le.call(n)}}function Yt(e){return e[Kt]}function Vt(e){return!C(qt(e))}function zt(e){for(var t=ae.call(e);!S(t)&&en(t);)e=t,t=ae.call(e);return e}function Jt(e,t){for(var n=Yt(e),r=t instanceof Element?t:ae.call(t);!S(r)&&r!==e;){var l=Xt(r),o=ae.call(r);if(l===n)return en(r);if(o===e)return!1;if(S(o)||Xt(o)===l)r=o;else{if(!en(o))return!1;if(!S(r=Qt(zt(o)))){if(r===e)return!0;if(Xt(r)===n)return!0}}}return!1}function Qt(e){if(!(e instanceof I))return null;var t=Xt(e);if(C(t))return null;for(var n=e;!S(n)&&Yt(n)!==t;)n=le.call(n);return S(n)?null:n}function Zt(e){return en(e)&&Vt(e)}function en(e){return e instanceof HTMLSlotElement}function tn(e,t){var n=Xt(t);return C(n)||Yt(e)===n}function nn(e){var t=Jn(e);return on(t,wt(ue.call(t)))}function rn(e,t){for(var n=[],r=0,l=t.length;r<l;r+=1){var o=t[r];!tn(e,o)&&Jt(e,o)&&y.call(n,o)}return n}function ln(e,t){for(var n=0,r=t.length;n<r;n+=1){var l=t[n];if(!tn(e,l)&&Jt(e,l))return l}return null}function on(e,t){for(var n=[],r=0,l=t.length;r<l;r+=1){var o=t[r];tn(e,o)&&y.call(n,o)}return n}function an(e,t){for(var n=0,r=t.length;n<r;n+=1)if(tn(e,t[n]))return t[n];return null}function un(e){if(!Zn(e)&&!en(e))return wt(ue.call(e));if(Zn(e)){var t=wt(be.call(e,"slot")),n=Yn(Qn(e));return E.call(t,(function(e,t){return n===Yn(t)&&y.apply(e,cn(t)),e}),[])}var r=wt(ue.call(e)),l=Yn(e);return m.call(r,(function(e){return l===Yn(e)}))}function cn(e){var t=Qt(e);if(S(t))return[];var n=wt(ue.call(e));return m.call(n,(function(e){return!Vt(e)||!tn(t,e)}))}function sn(e){if(e.nodeType===W){for(var t=un(e),n="",r=0,l=t.length;r<l;r+=1){var o=t[r];o.nodeType!==q&&(n+=sn(o))}return n}return e.nodeValue}var fn=new WeakMap;function hn(){throw new TypeError("Illegal constructor")}function pn(e){var t=i(hn.prototype);return fn.set(t,e),L.call(e,(function(e,n){c(t,n,{value:e,enumerable:!0,configurable:!0})})),t}hn.prototype=i(NodeList.prototype,(n(e={constructor:{writable:!0,configurable:!0,value:hn},item:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return this[e]}},length:{enumerable:!0,configurable:!0,get:function(){return fn.get(this).length}},forEach:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){L.call(fn.get(this),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value:function(){return d.call(fn.get(this),(function(e,t){return[t,e]}))}},keys:{writable:!0,enumerable:!0,configurable:!0,value:function(){return d.call(fn.get(this),(function(e,t){return t}))}},values:{writable:!0,enumerable:!0,configurable:!0,value:function(){return fn.get(this)}}},Symbol.iterator,{writable:!0,configurable:!0,value:function(){var e=this,t=0;return{next:function(){var n=fn.get(e);return t<n.length?{value:n[t++],done:!1}:{done:!0}}}}}),n(e,Symbol.toStringTag,{configurable:!0,get:function(){return"NodeList"}}),n(e,"toString",{writable:!0,configurable:!0,value:function(){return"[object NodeList]"}}),e)),p(hn,NodeList);var gn=new WeakMap;function mn(){throw new TypeError("Illegal constructor")}function vn(e){var t=i(mn.prototype);return gn.set(t,e),L.call(e,(function(e,n){c(t,n,{value:e,enumerable:!0,configurable:!0})})),t}mn.prototype=i(HTMLCollection.prototype,(n(t={constructor:{writable:!0,configurable:!0,value:mn},item:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return this[e]}},length:{enumerable:!0,configurable:!0,get:function(){return gn.get(this).length}},namedItem:{writable:!0,enumerable:!0,configurable:!0,value:function(e){if(""===e)return null;for(var t=gn.get(this),n=0,r=t.length;n<r;n++){var l=t[r];if(e===fe.call(l,"id")||e===fe.call(l,"name"))return l}return null}}},Symbol.toStringTag,{configurable:!0,get:function(){return"HTMLCollection"}}),n(t,"toString",{writable:!0,configurable:!0,value:function(){return"[object HTMLCollection]"}}),t)),p(mn,HTMLCollection);var bn=/[&\u00A0"]/g,dn=/[&\u00A0<>]/g,yn=String.prototype,En=yn.replace,wn=yn.toLowerCase;function Tn(e){switch(e){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case" ":return"&nbsp;";default:return""}}function Nn(e){return En.call(e,bn,Tn)}var Ln=new Set(["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"]),Mn=new Set(["STYLE","SCRIPT","XMP","IFRAME","NOEMBED","NOFRAMES","PLAINTEXT","NOSCRIPT"]);function Cn(e){switch(e.nodeType){case W:for(var t,n=e.attributes,r=Be.call(e),l="<"+wn.call(r),o=0;t=n[o];o++)l+=" "+t.name+'="'+Nn(t.value)+'"';return l+=">",Ln.has(r)?l:l+function(e){for(var t="",n=un(e),r=0,l=n.length;r<l;r+=1)t+=Cn(n[r]);return t}(e)+"</"+wn.call(r)+">";case U:var a=e.data,i=e.parentNode;return i instanceof Element&&Mn.has(Be.call(i))?a:function(e){return En.call(e,dn,Tn)}(a);case K:return"<!CDATA[[".concat(e.data,"]]>");case G:return"<?".concat(e.target," ").concat(e.data,"?>");case q:return"\x3c!--".concat(e.data,"--\x3e");default:return""}}D.lwcRuntimeFlags||Object.defineProperty(D,"lwcRuntimeFlags",{value:i(null)});var Sn=D.lwcRuntimeFlags;function On(e){return Zt(e)||Zn(e)}function Hn(e,t){var n=Qt(e);if(t===n)return Qn(n);if(t instanceof Element){if(Xt(e)===Xt(t))return t;if(!S(n)&&en(t)){var r=Qt(t);if(!S(r)&&tn(n,r))return r}}return null}function An(){return Wn(this).length>0}function Rn(){return Wn(this)[0]||null}function _n(){var e=Wn(this);return e[e.length-1]||null}function Pn(){return sn(this)}function Dn(){var e=le.call(this);return S(e)?e:Hn(this,e)}function $n(){var e=le.call(this);if(S(e))return null;var t=Hn(this,e);return t instanceof Element?t:null}function Bn(e){return this===e?0:this.getRootNode()===e?10:qt(this)!==qt(e)?35:V.call(this,e)}function In(e){return null!=e&&qt(this)===qt(e)&&0!=(V.call(this,e)&x)}function kn(e){var t=Y.call(this,!1);if(!e)return t;for(var n=Wn(this),r=0,l=n.length;r<l;r+=1)t.appendChild(n[r].cloneNode(!0));return t}function xn(){if(Zn(this)){var e=Qt(this);return pn(S(e)?[]:on(e,un(this)))}return ue.call(this)}var Fn=I.prototype.getRootNode,jn=C(Fn)?function(){for(var e,t=this;!S(e=le.call(t));)t=e;return t}:Fn;u(I.prototype,{firstChild:{get:function(){return On(this)?Rn.call(this):te.call(this)},enumerable:!0,configurable:!0},lastChild:{get:function(){return On(this)?_n.call(this):ne.call(this)},enumerable:!0,configurable:!0},textContent:{get:function(){return Sn.ENABLE_NODE_PATCH?Et(this)?re.call(this):Pn.call(this):Vt(this)||Zn(this)?Pn.call(this):re.call(this)},set:function(e){ie.call(this,e)},enumerable:!0,configurable:!0},parentNode:{get:function(){if(Vt(this))return Dn.call(this);var e=le.call(this);return!S(e)&&Zt(e)?Qt(e):e},enumerable:!0,configurable:!0},parentElement:{get:function(){if(Vt(this))return $n.call(this);var e=ae.call(this);return!S(e)&&Zt(e)?Qt(e):e},enumerable:!0,configurable:!0},childNodes:{get:function(){return On(this)?xn.call(this):ue.call(this)},enumerable:!0,configurable:!0},hasChildNodes:{value:function(){return On(this)?An.call(this):Z.call(this)},enumerable:!0,writable:!0,configurable:!0},compareDocumentPosition:{value:function(e){return Et(this)?V.call(this,e):Bn.call(this,e)},enumerable:!0,writable:!0,configurable:!0},contains:{value:function(e){return this===e||(Sn.ENABLE_NODE_PATCH?Et(this)?ee.call(this,e):In.call(this,e):null!=e&&(Vt(this)||Zn(this)?In.call(this,e):ee.call(this,e)))},enumerable:!0,writable:!0,configurable:!0},cloneNode:{value:function(e){return Sn.ENABLE_NODE_PATCH?O(e)?Et(this)?Y.call(this,e):kn.call(this,e):Y.call(this,e):Vt(this)||Zn(this)?kn.call(this,e):Y.call(this,e)},enumerable:!0,writable:!0,configurable:!0},getRootNode:{value:function(e){var t,n;return O(!C(e)&&!!e.composed)?jn.call(this,e):S(n=Qt(t=this))?jn.call(t):Qn(n)},enumerable:!0,configurable:!0,writable:!0},isConnected:{enumerable:!0,configurable:!0,get:function(){return ce.call(this)}}});var Wn=function(e){return e.childNodes};h.call(HTMLElement.prototype,"contains")&&c(HTMLElement.prototype,"contains",s(I.prototype,"contains")),h.call(HTMLElement.prototype,"parentElement")&&c(HTMLElement.prototype,"parentElement",s(I.prototype,"parentElement"));var Un=function(e,t){for(var n;!C(n=e.host);){var r=n.getRootNode();if(r===t)return n;e=r}};function Kn(e,t,n,r){var l=Je.call(t,n,r),o=[],a=function(e){for(var t,n=[],r=e.getRootNode();!C(r);)n.push(r),r=null===(t=r.host)||void 0===t?void 0:t.getRootNode();return n}(e);if(!S(l))for(var i=0;i<l.length;i++){var u=l[i];if(!Zt(u)){var c=u.getRootNode();if(-1===b.call(a,c)){var s=Un(c,a[0]);C(s)||-1!==b.call(l,s)||-1!==b.call(o,s)||y.call(o,s)}else y.call(o,u)}}return o}var Gn=new WeakMap,qn=document.createDocumentFragment;function Xn(e){var t=Gn.get(e);if(C(t))throw new TypeError;return t}function Yn(e){return e.$shadowResolver$}function Vn(e,t){e.$shadowResolver$=t}function zn(e){return Xn(e).delegatesFocus}function Jn(e){return Xn(e).host}function Qn(e){return Xn(e).shadowRoot}function Zn(e){var t=Gn.get(e);return!C(t)&&e===t.host}function er(e){var t=Gn.get(e);return!C(t)&&e===t.shadowRoot}c(I.prototype,$,{set:function(e){var t,n;C(e)||(this.$$ShadowResolverKey$$=e,t=this,n=e.nodeKey,Gt(t,Ut,{value:n,configurable:!0}))},get:function(){return this.$$ShadowResolverKey$$},configurable:!0,enumerable:!0}),c(D,"$isNativeShadowRootDefined$",{value:gt});var tr=0;function nr(e,t){if(Gn.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.");var n=t.mode,r=t.delegatesFocus,l=dt(e),o=qn.call(l),a={mode:n,delegatesFocus:!!r,host:e,shadowRoot:o};Gn.set(o,a),Gn.set(e,a);var i=function(){return o},u=i.nodeKey=tr++;return Gt(e,Kt,{value:u}),Vn(o,i),p(o,ir.prototype),o}var rr={constructor:{writable:!0,configurable:!0,value:ir},toString:{writable:!0,configurable:!0,value:function(){return"[object ShadowRoot]"}},synthetic:{writable:!1,enumerable:!1,configurable:!1,value:!0}},lr={activeElement:{enumerable:!0,configurable:!0,get:function(){var e=Jn(this),t=dt(e),n=Ve.call(t);if(S(n))return n;if(0==(V.call(e,n)&x))return null;for(var r=n;!tn(e,r);)r=ae.call(r);return en(r)?null:r}},delegatesFocus:{configurable:!0,get:function(){return Xn(this).delegatesFocus}},elementFromPoint:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return sr(this,dt(Jn(this)),e,t)}},elementsFromPoint:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return Kn(this,dt(Jn(this)),e,t)}},getSelection:{writable:!0,enumerable:!0,configurable:!0,value:function(){throw new Error('Disallowed method "getSelection" on ShadowRoot.')}},host:{enumerable:!0,configurable:!0,get:function(){return Jn(this)}},mode:{configurable:!0,get:function(){return Xn(this).mode}},styleSheets:{enumerable:!0,configurable:!0,get:function(){throw new Error}}},or=new WeakMap,ar={insertBefore:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return z.call(Jn(this),e,t),e}},removeChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return J.call(Jn(this),e),e}},appendChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return X.call(Jn(this),e),e}},replaceChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return Q.call(Jn(this),e,t),t}},addEventListener:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t,n){!function(e,t,n,r){A(n)&&xt(Jn(e),t,$t(n))}(this,e,t)}},dispatchEvent:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return or.set(e,this),Lt.apply(Jn(this),arguments)}},removeEventListener:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t,n){!function(e,t,n,r){A(n)&&Ft(Jn(e),t,$t(n))}(this,e,t)}},baseURI:{enumerable:!0,configurable:!0,get:function(){return Jn(this).baseURI}},childNodes:{enumerable:!0,configurable:!0,get:function(){return pn(nn(this))}},cloneNode:{writable:!0,enumerable:!0,configurable:!0,value:function(){throw new Error('Disallowed method "cloneNode" on ShadowRoot.')}},compareDocumentPosition:{writable:!0,enumerable:!0,configurable:!0,value:function(e){var t=Jn(this);return this===e?0:this.contains(e)?20:V.call(t,e)&x?37:35}},contains:{writable:!0,enumerable:!0,configurable:!0,value:function(e){if(this===e)return!0;var t=Jn(this);return 0!=(V.call(t,e)&x)&&tn(t,e)}},firstChild:{enumerable:!0,configurable:!0,get:function(){return Wn(this)[0]||null}},lastChild:{enumerable:!0,configurable:!0,get:function(){var e=Wn(this);return e[e.length-1]||null}},hasChildNodes:{writable:!0,enumerable:!0,configurable:!0,value:function(){return Wn(this).length>0}},isConnected:{enumerable:!0,configurable:!0,get:function(){return ce.call(Jn(this))}},nextSibling:{enumerable:!0,configurable:!0,get:function(){return null}},previousSibling:{enumerable:!0,configurable:!0,get:function(){return null}},nodeName:{enumerable:!0,configurable:!0,get:function(){return"#document-fragment"}},nodeType:{enumerable:!0,configurable:!0,get:function(){return 11}},nodeValue:{enumerable:!0,configurable:!0,get:function(){return null}},ownerDocument:{enumerable:!0,configurable:!0,get:function(){return Jn(this).ownerDocument}},parentElement:{enumerable:!0,configurable:!0,get:function(){return null}},parentNode:{enumerable:!0,configurable:!0,get:function(){return null}},textContent:{enumerable:!0,configurable:!0,get:function(){for(var e=Wn(this),t="",n=0,r=e.length;n<r;n+=1){var l=e[n];l.nodeType!==q&&(t+=sn(l))}return t},set:function(e){var t=Jn(this);ie.call(t,e)}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return!C(e)&&O(e.composed)?Jn(this).getRootNode(e):this}}};function ir(){throw new TypeError("Illegal constructor")}function ur(e,t){var n,r=[];if(e instanceof Window)n=e;else{if(!(e instanceof I))return r;n=e.getRootNode()}for(var l,o=e;!S(o);)if(r.push(o),o instanceof Element||o instanceof Text){var a=o.assignedSlot;o=S(a)?o.parentNode:a}else o=!er(o)&&!mt(o)||!t&&o===n?o instanceof I?o.parentNode:null:o.host;return l=e instanceof Window?e.document:dt(e),r[r.length-1]===l&&r.push(window),r}
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 ur(e,t){if(S(e))return null;for(var n,r,l,o,a=ir(e,!0),i=t,u=0;u<i.length;u++)if((l=(n=i[u])instanceof Window?n:n.getRootNode())!==r&&(o=a.indexOf(l),r=l),!Zn(l)||!C(o)&&o>-1)return n;return null}function cr(e,t,n,r){var l=ze.call(t,n,r);return S(l)?l:ur(e,ir(l,!0))}a(nr,or,{childElementCount:{enumerable:!0,configurable:!0,get:function(){return this.children.length}},children:{enumerable:!0,configurable:!0,get:function(){return vn(m.call(nn(this),(function(e){return e instanceof Element})))}},firstElementChild:{enumerable:!0,configurable:!0,get:function(){return this.children[0]||null}},lastElementChild:{enumerable:!0,configurable:!0,get:function(){var e=this.children;return e.item(e.length-1)||null}},getElementById:{writable:!0,enumerable:!0,configurable:!0,value:function(){throw new Error('Disallowed method "getElementById" on ShadowRoot.')}},querySelector:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return t=e,an(n=zn(this),wt(be.call(n,t)));var t,n}},querySelectorAll:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return pn((t=e,on(n=zn(this),wt(be.call(n,t)))));var t,n}}},{innerHTML:{enumerable:!0,configurable:!0,get:function(){for(var e=Wn(this),t="",n=0,r=e.length;n<r;n+=1)t+=Cn(e[n]);return t},set:function(e){var t=zn(this);_e.call(t,e)}}},rr),ar.prototype=i(DocumentFragment.prototype,nr),c(ar,Symbol.hasInstance,{value:function(e){return R(e)&&!S(e)&&(mt(e)||f(e)===ar.prototype)}}),Document.prototype.elementFromPoint=function(e,t){return cr(this,this,e,t)},Document.prototype.elementsFromPoint=function(e,t){return Un(this,this,e,t)},c(Document.prototype,"activeElement",{get:function(){var e=Ve.call(this);if(S(e))return e;for(;!C(qt(e));)if(S(e=ae.call(e)))return null;return"HTML"===e.tagName&&(e=this.body),e},enumerable:!0,configurable:!0}),c(Document.prototype,"getElementById",{value:function(){var e=tt.apply(this,T.call(arguments));return S(e)?null:C(qt(e))||Et(e)?e:null},writable:!0,enumerable:!0,configurable:!0}),c(Document.prototype,"querySelector",{value:function(){var e=wt(et.apply(this,T.call(arguments))),t=v.call(e,(function(e){return C(qt(e))||Et(e)}));return C(t)?null:t},writable:!0,enumerable:!0,configurable:!0}),c(Document.prototype,"querySelectorAll",{value:function(){var e=wt(et.apply(this,T.call(arguments))),t=m.call(e,(function(e){return C(qt(e))||Et(e)}));return pn(t)},writable:!0,enumerable:!0,configurable:!0}),c(Document.prototype,"getElementsByClassName",{value:function(){var e=wt(nt.apply(this,T.call(arguments))),t=m.call(e,(function(e){return C(qt(e))||Et(e)}));return vn(t)},writable:!0,enumerable:!0,configurable:!0}),c(Document.prototype,"getElementsByTagName",{value:function(){var e=wt(rt.apply(this,T.call(arguments))),t=m.call(e,(function(e){return C(qt(e))||Et(e)}));return vn(t)},writable:!0,enumerable:!0,configurable:!0}),c(Document.prototype,"getElementsByTagNameNS",{value:function(){var e=wt(lt.apply(this,T.call(arguments))),t=m.call(e,(function(e){return C(qt(e))||Et(e)}));return vn(t)},writable:!0,enumerable:!0,configurable:!0}),c(s(HTMLDocument.prototype,"getElementsByName")?HTMLDocument.prototype:Document.prototype,"getElementsByName",{value:function(){var e=wt(ot.apply(this,T.call(arguments))),t=m.call(e,(function(e){return C(qt(e))||Et(e)}));return pn(t)},writable:!0,enumerable:!0,configurable:!0}),Object.defineProperty(window,"ShadowRoot",{value:ar,configurable:!0,writable:!0});var sr=Object.getOwnPropertyDescriptor(Event.prototype,"composed");var fr=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"click");function hr(e){Object.defineProperty(e,"composed",{configurable:!0,enumerable:!0,get:function(){return!0}})}(function(){if(!sr)return!1;var e=new Event("click"),t=document.createElement("button");return t.addEventListener("click",(function(t){return e=t})),t.click(),!sr.get.call(e)})()&&(HTMLElement.prototype.click=function(){Nt.call(this,"click",hr);try{fr.value.call(this)}finally{Mt.call(this,"click",hr)}}),!0!==new Event("test",{composed:!0}).composed&&function(){var e=a(i(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}),t=Event;function n(e,n){var r=new t(e,n),l=!(!n||!n.composed);return Object.defineProperties(r,{composed:{get:function(){return l},configurable:!0,enumerable:!0}}),r}n.prototype=t.prototype,n.AT_TARGET=t.AT_TARGET,n.BUBBLING_PHASE=t.BUBBLING_PHASE,n.CAPTURING_PHASE=t.CAPTURING_PHASE,n.NONE=t.NONE,window.Event=n,Object.defineProperties(Event.prototype,{composed:{get:function(){var t=this.type;return 1===e[t]},configurable:!0,enumerable:!0}})}();var pr,gr,mr=CustomEvent;function vr(e,t){var n=new mr(e,t),r=!(!t||!t.composed);return Object.defineProperties(n,{composed:{get:function(){return r},configurable:!0,enumerable:!0}}),n}if(vr.prototype=mr.prototype,window.CustomEvent=vr,"undefined"!=typeof ClipboardEvent){var br=a(i(null),{copy:1,cut:1,paste:1});u(ClipboardEvent.prototype,{composed:{get:function(){var e=this.type;return 1===br[e]},configurable:!0,enumerable:!0}})}"undefined"!=typeof HTMLIFrameElement&&(pr=s(HTMLIFrameElement.prototype,"contentWindow"),gr=pr.get,pr.get=function(){var e,t=gr.call(this);return S(t)||C(qt(this))?t:(e=t,{addEventListener:function(){return e.addEventListener.apply(e,arguments)},blur:function(){return e.blur.apply(e,arguments)},close:function(){return e.close.apply(e,arguments)},focus:function(){return e.focus.apply(e,arguments)},postMessage:function(){return e.postMessage.apply(e,arguments)},removeEventListener:function(){return e.removeEventListener.apply(e,arguments)},get closed(){return e.closed},get frames(){return e.frames},get length(){return e.length},get location(){return e.location},set location(t){e.location=t},get opener(){return e.opener},get parent(){return e.parent},get self(){return e.self},get top(){return e.top},get window(){return e.window}})},c(HTMLIFrameElement.prototype,"contentWindow",pr));var dr=MutationObserver,yr=dr.prototype,Er=yr.disconnect,wr=yr.observe,Tr=yr.takeRecords,Nr="$$lwcObserverCallbackWrapper$$",Lr=new WeakMap;function Mr(e){return e.$$lwcNodeObservers$$}function Cr(e){var t=e.addedNodes,n=e.removedNodes,r=e.target,l=e.type,o=i(MutationRecord.prototype);return u(o,{addedNodes:{get:function(){return t},enumerable:!0,configurable:!0},removedNodes:{get:function(){return n},enumerable:!0,configurable:!0},type:{get:function(){return l},enumerable:!0,configurable:!0},target:{get:function(){return r.shadowRoot},enumerable:!0,configurable:!0}}),o}function Sr(e,t){for(var n=t;!S(n);){var r=Mr(n);if(!C(r)&&(r[0]===e||-1!==b.call(r,e)))return!0;n=n.parentNode}return!1}function Or(e,t){return E.call(e,(function(e,n){var r=n.target,l=n.addedNodes,o=n.removedNodes;if("childList"!==n.type||C(Yt(r)))Sr(t,r)&&y.call(e,n);else if(l.length>0){var a=l[0];if(Sr(t,a)){var i=Mr(r);!i||i[0]!==t&&-1===b.call(i,t)?y.call(e,Cr(n)):y.call(e,n)}}else{var u=r.shadowRoot,c=o[0];if(Xt(r)===Xt(c)&&Sr(t,r))y.call(e,n);else if(u){var s=Mr(u);!s||s[0]!==t&&-1===b.call(s,t)||y.call(e,Cr(n))}}return e}),[])}function Hr(e){var t=function(e){var t=e[Nr];return C(t)&&(t=e[Nr]=function(t,n){var r=Or(t,n);0!==r.length&&e.call(n,r,n)}),t}(e);return new dr(t)}function Ar(e,t,n){if(arguments.length>1){var r=T.call(arguments);return r[1]=Ht(r[1]),it.apply(this,r)}return it.apply(this,arguments)}function Rr(e,t,n){if(arguments.length>1){var r=T.call(arguments);r[1]=Ht(r[1]),ut.apply(this,r)}ut.apply(this,arguments)}function _r(){var e=Ge.call(this);if(!(e instanceof I))return e;var t=dt(e),n=ir(e,this.composed),r=qe.call(this);if(!(r instanceof I))return S(r)&&C(qt(e))?e:ur(t,n);if(r===t||r===t.body)return C(qt(e))?e:ur(t,n);var l=r,o=n;Qn(r)&&(1===At.get(this)&&(l=Jn(r)));return Qn(e)&&lr.has(this)&&(o=ir(Jn(e),this.composed)),ur(l,o)}function Pr(){var e=Ge.call(this);if(!(e instanceof I))return[];var t,n=Boolean(e.shadowRoot),r=(t=e,Kn.has(t));if(n&&!r)return Ye.call(this);if(S(qe.call(this)))return[];var l=e;return Qn(e)&&lr.has(this)&&(l=Jn(e)),ir(l,this.composed)}function Dr(e){var t=s(e.prototype,"relatedTarget").get;c(e.prototype,"relatedTarget",{get:function(){var e=t.call(this);if(S(e))return null;if(!(e instanceof I&&Vt(e)))return e;var n=qe.call(this);return S(n)&&(n=dt(e)),ur(n,ir(e,!0))},enumerable:!0,configurable:!0})}Hr.prototype=dr.prototype,Hr.prototype.disconnect=function(){var e=this;Er.call(this);var t=Lr.get(this);C(t)||(L.call(t,(function(t){var n=t.$$lwcNodeObservers$$;if(!C(n)){var r=b.call(n,e);-1!==r&&N.call(n,r,1)}})),t.length=0)},Hr.prototype.observe=function(e,t){var n,r=Mr(e);if(C(r)&&(n=r=[],e.$$lwcNodeObservers$$=n),-1===b.call(r,this)&&y.call(r,this),Zn(e)&&(e=e.host),Lr.has(this)){var l=Lr.get(this);-1===b.call(l,e)&&y.call(l,e)}else Lr.set(this,[e]);return wr.call(this,e,t)},Hr.prototype.takeRecords=function(){return Or(Tr.call(this),this)},c(window,"MutationObserver",{value:Hr,configurable:!0,writable:!0}),u(Tt,{addEventListener:{value:function(e,t,n){if(Qn(this))return jt.apply(this,arguments);if(arguments.length<2){var r=T.call(arguments);return r.length>1&&(r[1]=Ht(r[1])),Nt.apply(this,r)}var l=Ht(t);return Nt.call(this,e,l,n)},enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:function(e,t,n){if(Qn(this))return Wt.apply(this,arguments);var r=T.call(arguments);arguments.length>1&&(r[1]=Ht(r[1])),Mt.apply(this,r),Mt.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),"undefined"==typeof EventTarget&&u(Window.prototype,{addEventListener:{value:Ar,enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:Rr,enumerable:!0,writable:!0,configurable:!0}}),u(Event.prototype,{target:{get:_r,enumerable:!0,configurable:!0},currentTarget:{get:function(){var e=qe.call(this);return S(e)?null:1===At.get(this)?Jn(e):e},enumerable:!0,configurable:!0},composedPath:{value:Pr,writable:!0,enumerable:!0,configurable:!0},srcElement:{get:_r,enumerable:!0,configurable:!0},path:{get:Pr,enumerable:!0,configurable:!0}}),Dr(FocusEvent),Dr(MouseEvent);var $r,Br=h.call(Text.prototype,"assignedSlot")?s(Text.prototype,"assignedSlot").get:function(){return null},Ir={childList:!0},kr=new WeakMap;function xr(e){var t=wt(ue.call(e));return E.call(t,(function(e,t){return t instanceof Element&&en(t)?y.apply(e,xr(t)):y.call(e,t),e}),[])}function Fr(){var e=le.call(this);if(e instanceof Element){var t=Ue.call(e);if(mt(t))return this instanceof Text?Br.call(this):Ke.call(this)}return!S(e)&&en(e)&&qt(e)!==qt(this)?e:null}function jr(e,t){var n,r=qt(e);if(C(r))n=e instanceof HTMLBodyElement?m.call(t,(function(t){return C(qt(t))||Et(e)})):T.call(t);else if(Qn(e)){var l=Qt(e);n=S(l)?[]:Yt(e)?rn(e,t):on(l,t)}else n=m.call(t,(function(e){return Xt(e)===r}));return n}function Wr(){for(var e=Wn(this),t="",n=0,r=e.length;n<r;n+=1)t+=Cn(e[n]);return t}function Ur(){return Cn(this)}function Kr(){var e=Qt(this),t=S(e)?[]:on(e,un(this));return vn(m.call(t,(function(e){return e instanceof Element})))}function Gr(){return this.children.length}function qr(){return this.children[0]||null}function Xr(){var e=this.children;return e.item(e.length-1)||null}function Yr(e,t,n){var r;if(Qn(e)){var l=Qt(e);r=S(l)?[]:Yt(e)?rn(e,t):on(l,t)}else if(Vt(e)){var o=qt(e);if(C(o))if(1===n){var a=Xt(e);r=m.call(t,(function(e){return Xt(e)===a}))}else r=T.call(t);else r=m.call(t,(function(e){return Xt(e)===o}))}else r=e instanceof HTMLBodyElement||1===n?m.call(t,(function(t){return C(qt(t))||Et(e)})):T.call(t);return r}u(HTMLSlotElement.prototype,{addEventListener:{value:function(e,t,n){HTMLElement.prototype.addEventListener.call(this,e,t,n),"slotchange"!==e||kr.get(this)||(kr.set(this,!0),$r||($r=new ft((function(e){var t=[];L.call(e,(function(e){var n=e.target;-1===b.call(t,n)&&(y.call(t,n),Lt.call(n,new CustomEvent("slotchange")))}))}))),ht.call($r,this,Ir))},writable:!0,enumerable:!0,configurable:!0},assignedElements:{value:function(e){if(Vt(this)){var t=!C(e)&&O(e.flatten),n=t?xr(this):cn(this);return m.call(n,(function(e){return e instanceof Element}))}return P.apply(this,T.call(arguments))},writable:!0,enumerable:!0,configurable:!0},assignedNodes:{value:function(e){if(Vt(this)){var t=!C(e)&&O(e.flatten);return t?xr(this):cn(this)}return _.apply(this,T.call(arguments))},writable:!0,enumerable:!0,configurable:!0},name:{get:function(){var e=fe.call(this,"name");return S(e)?"":e},set:function(e){ye.call(this,"name",e)},enumerable:!0,configurable:!0},childNodes:{get:function(){if(Vt(this)){var e=Qt(this);return pn(S(e)?[]:on(e,un(this)))}return ue.call(this)},enumerable:!0,configurable:!0}}),u(Text.prototype,{assignedSlot:{get:Fr,enumerable:!0,configurable:!0}}),u(Element.prototype,{innerHTML:{get:function(){return Sn.ENABLE_ELEMENT_PATCH?Et(this)?Re.call(this):Wr.call(this):Vt(this)||Qn(this)?Wr.call(this):Re.call(this)},set:function(e){_e.call(this,e)},enumerable:!0,configurable:!0},outerHTML:{get:function(){return Sn.ENABLE_ELEMENT_PATCH?Et(this)?De.call(this):Ur.call(this):Vt(this)||Qn(this)?Ur.call(this):De.call(this)},set:function(e){$e.call(this,e)},enumerable:!0,configurable:!0},attachShadow:{value:function(e){return e["$$lwc-synthetic-mode"]?tr(this,e):Ee.call(this,e)},enumerable:!0,writable:!0,configurable:!0},shadowRoot:{get:function(){if(Qn(this)){var e=Jn(this);if("open"===e.mode)return e}return Ue.call(this)},enumerable:!0,configurable:!0},children:{get:function(){return On(this)?Kr.call(this):je.call(this)},enumerable:!0,configurable:!0},childElementCount:{get:function(){return On(this)?Gr.call(this):we.call(this)},enumerable:!0,configurable:!0},firstElementChild:{get:function(){return On(this)?qr.call(this):Te.call(this)},enumerable:!0,configurable:!0},lastElementChild:{get:function(){return On(this)?Xr.call(this):Ne.call(this)},enumerable:!0,configurable:!0},assignedSlot:{get:Fr,enumerable:!0,configurable:!0}}),h.call(HTMLElement.prototype,"innerHTML")&&c(HTMLElement.prototype,"innerHTML",s(Element.prototype,"innerHTML")),h.call(HTMLElement.prototype,"outerHTML")&&c(HTMLElement.prototype,"outerHTML",s(Element.prototype,"outerHTML")),h.call(HTMLElement.prototype,"children")&&c(HTMLElement.prototype,"children",s(Element.prototype,"children")),u(Element.prototype,{querySelector:{value:function(){var e=this,t=wt(be.apply(this,T.call(arguments)));if(Qn(this)){var n=Qt(this);return S(n)?null:Yt(this)?ln(this,t):an(n,t)}if(Vt(this)){var r=qt(this);if(C(r)){if(!Sn.ENABLE_NODE_LIST_PATCH)return 0===t.length?null:t[0];var l=Xt(this),o=v.call(t,(function(e){return Xt(e)===l}));return C(o)?null:o}var a=v.call(t,(function(e){return Xt(e)===r}));return C(a)?null:a}if(!(Sn.ENABLE_NODE_LIST_PATCH||this instanceof HTMLBodyElement)){var i=t[0];return C(i)?null:i}var u=v.call(t,(function(t){return C(qt(t))||Et(e)}));return C(u)?null:u},writable:!0,enumerable:!0,configurable:!0},querySelectorAll:{value:function(){var e=wt(be.apply(this,T.call(arguments)));if(!Sn.ENABLE_NODE_LIST_PATCH){var t=Yr(this,e,0);return pn(t)}return pn(Yr(this,e,1))},writable:!0,enumerable:!0,configurable:!0}}),u(Element.prototype,{getElementsByClassName:{value:function(){var e=wt(We.apply(this,T.call(arguments)));if(!Sn.ENABLE_HTML_COLLECTIONS_PATCH)return vn(jr(this,e));var t=Yr(this,e,1);return vn(t)},writable:!0,enumerable:!0,configurable:!0},getElementsByTagName:{value:function(){var e=wt(pe.apply(this,T.call(arguments)));if(!Sn.ENABLE_HTML_COLLECTIONS_PATCH)return vn(jr(this,e));var t=Yr(this,e,1);return vn(t)},writable:!0,enumerable:!0,configurable:!0},getElementsByTagNameNS:{value:function(){var e=wt(ge.apply(this,T.call(arguments)));if(!Sn.ENABLE_HTML_COLLECTIONS_PATCH)return vn(jr(this,e));var t=Yr(this,e,1);return vn(t)},writable:!0,enumerable:!0,configurable:!0}}),h.call(HTMLElement.prototype,"getElementsByClassName")&&c(HTMLElement.prototype,"getElementsByClassName",s(Element.prototype,"getElementsByClassName"));var Vr="\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",zr=new Set(["BUTTON","INPUT","SELECT","TEXTAREA"]);function Jr(e){return e.filter((function(e){return me.call(e,"tabindex")?"0"===fe.call(e,"tabindex"):!zr.has(Be.call(e))||!me.call(e,"disabled")}))}var Qr=new WeakMap;function Zr(e){return(!Qn(e)||!Vn(e))&&(Fe.call(e,Vr)&&function(e){var t=he.call(e),n=t.width,r=t.height,l=n>0||r>0,o="AREA"===e.tagName;return(l||o)&&"hidden"!==getComputedStyle(e).visibility}(e))}function el(){var e=this.getRootNode();if(e!==this){var t=e;if(t.activeElement!==this)for(var n=wt(be.call(this,Vr)),r=!1;!r&&0!==n.length;){var l=n.shift();l.focus.apply(l,arguments);var o=l.getRootNode();r=o.activeElement===l}}else{var a=ve.call(this,Vr);S(a)||a.focus.apply(a,arguments)}}function tl(e){var t=dt(e),n=Jr(wt(et.call(t,Vr))),r=Jr(wt(be.call(e,Vr))),l=r[0],o=r[r.length-1],a=b.call(n,e),i=a>-1?a:b.call(n,l),u=0===r.length?i+1:b.call(n,o)+1;return{prev:T.call(n,0,i),inner:r,next:T.call(n,u)}}function nl(e,t){var n=V.call(e,t);return n&x?0:n&F?1:n&j?2:-1}function rl(e){e.preventDefault(),e.stopPropagation()}function ll(e,t){it.call(e,"focusin",rl,!0),it.call(e,"focusout",rl,!0),t(),ut.call(e,"focusin",rl,!0),ut.call(e,"focusout",rl,!0)}function ol(e,t,n){var r=yt(n),l=function(e,t){var n=e.length;if(n>0)for(var r=0;r<n;r+=1){var l=e[r];if(hl(t.getRootNode(),l))return l}return null}(e,n);S(l)?ll(r,(function(){t.blur()})):ll(r,(function(){l.focus()}))}var al=!1;function il(){al=!0}function ul(){al=!1}function cl(){return!al}function sl(e){if(!al){var t=qe.call(e),n=Ge.call(e);if(t===n){var r=Xe.call(e);if(!S(r)){var l=tl(t);if(1===nl(t,r)){var o=hl.bind(null,t.getRootNode()),a=v.call(l.inner,o);if(C(a))ol(l.next,n,r);else ll(yt(a),(function(){a.focus()}))}else t===n&&ol(w.call(l.prev),n,r)}}}}function fl(e){if(!al){var t=Xe.call(e);if(!S(t)){var n=qe.call(e),r=tl(n);if(-1===b.call(r.inner,t)){var l=Ge.call(e),o=nl(n,t);1===o&&ol(r.next,l,t),2===o&&ol(w.call(r.prev),l,t)}}}}function hl(e,t){if(!Zr(t))return!1;for(var n=dt(t),r=t.getRootNode();r!==n&&r!==e;){var l=r.host;if("-1"===fe.call(l,"tabindex"))return!1;r=l&&l.getRootNode()}return!0}function pl(e){Mt.call(e,"focusin",sl,!0)}function gl(e){var t=dt(e);Qr.get(t)||(Qr.set(t,!0),Nt.call(t,"mousedown",il,!0),Nt.call(t,"mouseup",(function(){setTimeout(ul)}),!0),Nt.call(t,"dragstart",ul,!0))}function ml(e){Mt.call(e,"focusin",fl,!0)}function vl(e){var t=yt(e);return ct.call(t,e)}function bl(e){var t=yt(e);return st.call(t)}function dl(e){return"visible"===e.visibility&&"none"!==e.display}function yl(e){var t=[];if(function(e){return e.nodeType===W}(e)){var n=e.tagName,r=vl(e);if("OPTION"===n)return[1,Me.call(e),1];if("TEXTAREA"===n)return[];for(var l=e.childNodes,o=0,a=l.length;o<a;o++)y.apply(t,yl(l[o]));if(!dl(r))return"SELECT"===n||"DATALIST"===n?[]:t;"BR"===n&&t.push("\n");var i=r.display;"table-cell"===i&&t.push("\t"),"table-row"===i&&t.push("\n"),"P"===n&&(t.unshift(2),t.push(2)),"block"!==i&&"table-caption"!==i&&"flex"!==i&&"table"!==i||(t.unshift(1),t.push(1))}else(function(e){return e.nodeType===U})(e)&&t.push(function(e){var t=bl(e);if(null===t)return e.textContent||"";var n=document.createRange();n.selectNodeContents(e);var r=n.getBoundingClientRect();return r.height<=0||r.width<=0?"":(t.removeAllRanges(),t.addRange(n),t.toString()||e.textContent||"")}(e));return t}function El(e){if(!dl(vl(e)))return sn(e)||"";for(var t=function(e){var t=yt(e),n=bl(e);if(null===n)return null;for(var r=[],l=0;l<n.rangeCount;l++)r.push(n.getRangeAt(l));var o={element:e,onselect:t.onselect,onselectstart:t.onselectstart,onselectionchange:t.onselectionchange,ranges:r};return t.onselect=null,t.onselectstart=null,t.onselectionchange=null,o}(e),n=[],r=e.childNodes,l=0,o=r.length;l<o;l++)y.apply(n,yl(r[l]));!function(e){if(null!==e){var t=e.element,n=e.onselect,r=e.onselectstart,l=e.onselectionchange,o=e.ranges,a=yt(t),i=bl(t);i.removeAllRanges();for(var u=0;u<o.length;u++)i.addRange(o[u]);a.onselect=n,a.onselectstart=r,a.onselectionchange=l}}(t);for(var a="",i=0,u=0,c=n.length;u<c;u++){var s=n[u];if("string"==typeof s){if(i>0){for(var f=0;f<i;f++)a+="\n";i=0}s.length>0&&(a+=s)}else{if(0==a.length)continue;s>i&&(i=s)}}return a}var wl=HTMLElement.prototype,Tl=wl.blur,Nl=wl.focus;function Ll(){return Vn(this)&&H(me.call(this,"tabindex"))?0:ke.call(this)}function Ml(e){var t=Vn(this),n=ke.call(this),r=me.call(this,"tabindex");xe.call(this,e);var l,o=ke.call(this),a=me.call(this,"tabindex"),i=n!==o;(r&&(i||H(a))&&(-1===n&&ml(this),0===n&&t&&pl(this)),H(a))||(r&&a&&H(i)||(-1===o&&(gl(l=this),pl(l),Nt.call(l,"focusin",fl,!0)),0===o&&t&&function(e){gl(e),ml(e),Nt.call(e,"focusin",sl,!0)}(this)))}function Cl(){if(Vn(this)){var e=(n=dt(t=this),S(r=Ve.call(n))||0!=(V.call(t,r)&x)?r:null);if(!S(e))return void e.blur()}var t,n,r;return Tl.call(this)}function Sl(){var e=cl();e&&il(),Qn(this)&&Vn(this)?el.call(this):(Nl.apply(this,arguments),e&&ul())}u(HTMLElement.prototype,{tabIndex:{get:function(){return Qn(this)?Ll.call(this):ke.call(this)},set:function(e){return Qn(this)?Ml.call(this,e):xe.call(this,e)},enumerable:!0,configurable:!0},blur:{value:function(){if(Qn(this))return Cl.call(this);Tl.call(this)},enumerable:!0,writable:!0,configurable:!0},focus:{value:function(){Sl.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),null!==Me&&null!==Ce&&c(HTMLElement.prototype,"innerText",{get:function(){return Sn.ENABLE_INNER_OUTER_TEXT_PATCH?Sn.ENABLE_ELEMENT_PATCH?Et(this)?Me.call(this):El(this):Vt(this)||Qn(this)?El(this):Me.call(this):Me.call(this)},set:function(e){Ce.call(this,e)},enumerable:!0,configurable:!0}),null!==Oe&&null!==He&&c(HTMLElement.prototype,"outerText",{get:function(){return Sn.ENABLE_INNER_OUTER_TEXT_PATCH?Sn.ENABLE_ELEMENT_PATCH?Et(this)?Oe.call(this):El(this):Vt(this)||Qn(this)?El(this):Oe.call(this):Oe.call(this)},set:function(e){He.call(this,e)},enumerable:!0,configurable:!0}),c(Element.prototype,B,{set:function(e){var t=this.$$ShadowTokenKey$$;C(t)||t===e||de.call(this,t),C(e)||ye.call(this,e,""),this.$$ShadowTokenKey$$=e},get:function(){return this.$$ShadowTokenKey$$},configurable:!0});var Ol,Hl=function(){},Al={childList:!0};function Rl(e,t,n){var r=Xn(e);if(r!==t&&(Yn(e,t),e instanceof Element)){if(function(e,t){e.$shadowToken$=t}(e,n),Qn(e))return;C(r)&&ht.call(Ol,e,Al);for(var l=ue.call(e),o=0,a=l.length;o<a;o+=1)Rl(l[o],t,n)}}function _l(e){if(C(Ol)&&(Ol=new ft((function(e){L.call(e,(function(e){for(var t=e.target,n=e.addedNodes,r=e.removedNodes,l=Xn(t),o=function(e){return e.$shadowToken$}(t),a=0,i=r.length;a<i;a+=1){var u=r[a];V.call(t,u)&I.DOCUMENT_POSITION_CONTAINED_BY||Rl(u,Hl,void 0)}for(var c=0,s=n.length;c<s;c+=1){var f=n[c];V.call(t,f)&I.DOCUMENT_POSITION_CONTAINED_BY&&Rl(f,l,o)}}))}))),C(Xn(e)))throw new Error("Invalid Element");ht.call(Ol,e,Al)}c(Element.prototype,"$domManual$",{set:function(e){this.$$DomManualKey$$=e,O(e)&&_l(this)},get:function(){return this.$$DomManualKey$$},configurable:!0})}();
10
+ */function cr(e,t){if(S(e))return null;for(var n,r,l,o,a=ur(e,!0),i=t,u=0;u<i.length;u++)if((l=(n=i[u])instanceof Window?n:n.getRootNode())!==r&&(o=a.indexOf(l),r=l),!er(l)||!C(o)&&o>-1)return n;return null}function sr(e,t,n,r){var l=ze.call(t,n,r);return S(l)?l:cr(e,ur(l,!0))}a(rr,ar,{childElementCount:{enumerable:!0,configurable:!0,get:function(){return this.children.length}},children:{enumerable:!0,configurable:!0,get:function(){return vn(m.call(nn(this),(function(e){return e instanceof Element})))}},firstElementChild:{enumerable:!0,configurable:!0,get:function(){return this.children[0]||null}},lastElementChild:{enumerable:!0,configurable:!0,get:function(){var e=this.children;return e.item(e.length-1)||null}},getElementById:{writable:!0,enumerable:!0,configurable:!0,value:function(){throw new Error('Disallowed method "getElementById" on ShadowRoot.')}},querySelector:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return t=e,an(n=Jn(this),wt(be.call(n,t)));var t,n}},querySelectorAll:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return pn((t=e,on(n=Jn(this),wt(be.call(n,t)))));var t,n}}},{innerHTML:{enumerable:!0,configurable:!0,get:function(){for(var e=Wn(this),t="",n=0,r=e.length;n<r;n+=1)t+=Cn(e[n]);return t},set:function(e){var t=Jn(this);_e.call(t,e)}}},lr),ir.prototype=i(DocumentFragment.prototype,rr),c(ir,Symbol.hasInstance,{value:function(e){return R(e)&&!S(e)&&(mt(e)||f(e)===ir.prototype)}}),Document.prototype.elementFromPoint=function(e,t){return sr(this,this,e,t)},Document.prototype.elementsFromPoint=function(e,t){return Kn(this,this,e,t)},c(Document.prototype,"activeElement",{get:function(){var e=Ve.call(this);if(S(e))return e;for(;!C(qt(e));)if(S(e=ae.call(e)))return null;return"HTML"===e.tagName&&(e=this.body),e},enumerable:!0,configurable:!0}),c(Document.prototype,"getElementById",{value:function(){var e=tt.apply(this,T.call(arguments));return S(e)?null:C(qt(e))||Et(e)?e:null},writable:!0,enumerable:!0,configurable:!0}),c(Document.prototype,"querySelector",{value:function(){var e=wt(et.apply(this,T.call(arguments))),t=v.call(e,(function(e){return C(qt(e))||Et(e)}));return C(t)?null:t},writable:!0,enumerable:!0,configurable:!0}),c(Document.prototype,"querySelectorAll",{value:function(){var e=wt(et.apply(this,T.call(arguments))),t=m.call(e,(function(e){return C(qt(e))||Et(e)}));return pn(t)},writable:!0,enumerable:!0,configurable:!0}),c(Document.prototype,"getElementsByClassName",{value:function(){var e=wt(nt.apply(this,T.call(arguments))),t=m.call(e,(function(e){return C(qt(e))||Et(e)}));return vn(t)},writable:!0,enumerable:!0,configurable:!0}),c(Document.prototype,"getElementsByTagName",{value:function(){var e=wt(rt.apply(this,T.call(arguments))),t=m.call(e,(function(e){return C(qt(e))||Et(e)}));return vn(t)},writable:!0,enumerable:!0,configurable:!0}),c(Document.prototype,"getElementsByTagNameNS",{value:function(){var e=wt(lt.apply(this,T.call(arguments))),t=m.call(e,(function(e){return C(qt(e))||Et(e)}));return vn(t)},writable:!0,enumerable:!0,configurable:!0}),c(s(HTMLDocument.prototype,"getElementsByName")?HTMLDocument.prototype:Document.prototype,"getElementsByName",{value:function(){var e=wt(ot.apply(this,T.call(arguments))),t=m.call(e,(function(e){return C(qt(e))||Et(e)}));return pn(t)},writable:!0,enumerable:!0,configurable:!0}),Object.defineProperty(window,"ShadowRoot",{value:ir,configurable:!0,writable:!0});var fr=Object.getOwnPropertyDescriptor(Event.prototype,"composed");var hr=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"click");function pr(e){Object.defineProperty(e,"composed",{configurable:!0,enumerable:!0,get:function(){return!0}})}(function(){if(!fr)return!1;var e=new Event("click"),t=document.createElement("button");return t.addEventListener("click",(function(t){return e=t})),t.click(),!fr.get.call(e)})()&&(HTMLElement.prototype.click=function(){Nt.call(this,"click",pr);try{hr.value.call(this)}finally{Mt.call(this,"click",pr)}}),!0!==new Event("test",{composed:!0}).composed&&function(){var e=a(i(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}),t=Event;function n(e,n){var r=new t(e,n),l=!(!n||!n.composed);return Object.defineProperties(r,{composed:{get:function(){return l},configurable:!0,enumerable:!0}}),r}n.prototype=t.prototype,n.AT_TARGET=t.AT_TARGET,n.BUBBLING_PHASE=t.BUBBLING_PHASE,n.CAPTURING_PHASE=t.CAPTURING_PHASE,n.NONE=t.NONE,window.Event=n,Object.defineProperties(Event.prototype,{composed:{get:function(){var t=this.type;return 1===e[t]},configurable:!0,enumerable:!0}})}();var gr,mr,vr=CustomEvent;function br(e,t){var n=new vr(e,t),r=!(!t||!t.composed);return Object.defineProperties(n,{composed:{get:function(){return r},configurable:!0,enumerable:!0}}),n}if(br.prototype=vr.prototype,window.CustomEvent=br,"undefined"!=typeof ClipboardEvent){var dr=a(i(null),{copy:1,cut:1,paste:1});u(ClipboardEvent.prototype,{composed:{get:function(){var e=this.type;return 1===dr[e]},configurable:!0,enumerable:!0}})}"undefined"!=typeof HTMLIFrameElement&&(gr=s(HTMLIFrameElement.prototype,"contentWindow"),mr=gr.get,gr.get=function(){var e,t=mr.call(this);return S(t)||C(qt(this))?t:(e=t,{addEventListener:function(){return e.addEventListener.apply(e,arguments)},blur:function(){return e.blur.apply(e,arguments)},close:function(){return e.close.apply(e,arguments)},focus:function(){return e.focus.apply(e,arguments)},postMessage:function(){return e.postMessage.apply(e,arguments)},removeEventListener:function(){return e.removeEventListener.apply(e,arguments)},get closed(){return e.closed},get frames(){return e.frames},get length(){return e.length},get location(){return e.location},set location(t){e.location=t},get opener(){return e.opener},get parent(){return e.parent},get self(){return e.self},get top(){return e.top},get window(){return e.window}})},c(HTMLIFrameElement.prototype,"contentWindow",gr));var yr=MutationObserver,Er=yr.prototype,wr=Er.disconnect,Tr=Er.observe,Nr=Er.takeRecords,Lr="$$lwcObserverCallbackWrapper$$",Mr=new WeakMap;function Cr(e){return e.$$lwcNodeObservers$$}function Sr(e){var t=e.addedNodes,n=e.removedNodes,r=e.target,l=e.type,o=i(MutationRecord.prototype);return u(o,{addedNodes:{get:function(){return t},enumerable:!0,configurable:!0},removedNodes:{get:function(){return n},enumerable:!0,configurable:!0},type:{get:function(){return l},enumerable:!0,configurable:!0},target:{get:function(){return r.shadowRoot},enumerable:!0,configurable:!0}}),o}function Or(e,t){for(var n=t;!S(n);){var r=Cr(n);if(!C(r)&&(r[0]===e||-1!==b.call(r,e)))return!0;n=n.parentNode}return!1}function Hr(e,t){return E.call(e,(function(e,n){var r=n.target,l=n.addedNodes,o=n.removedNodes;if("childList"!==n.type||C(Yt(r)))Or(t,r)&&y.call(e,n);else if(l.length>0){var a=l[0];if(Or(t,a)){var i=Cr(r);!i||i[0]!==t&&-1===b.call(i,t)?y.call(e,Sr(n)):y.call(e,n)}}else{var u=r.shadowRoot,c=o[0];if(Xt(r)===Xt(c)&&Or(t,r))y.call(e,n);else if(u){var s=Cr(u);!s||s[0]!==t&&-1===b.call(s,t)||y.call(e,Sr(n))}}return e}),[])}function Ar(e){var t=function(e){var t=e[Lr];return C(t)&&(t=e[Lr]=function(t,n){var r=Hr(t,n);0!==r.length&&e.call(n,r,n)}),t}(e);return new yr(t)}function Rr(e,t,n){if(arguments.length>1){var r=T.call(arguments);return r[1]=Ht(r[1]),it.apply(this,r)}return it.apply(this,arguments)}function _r(e,t,n){if(arguments.length>1){var r=T.call(arguments);r[1]=Ht(r[1]),ut.apply(this,r)}ut.apply(this,arguments)}function Pr(){var e=Ge.call(this);if(!(e instanceof I))return e;var t=dt(e),n=ur(e,this.composed),r=qe.call(this);if(!(r instanceof I))return S(r)&&C(qt(e))?e:cr(t,n);if(r===t||r===t.body)return C(qt(e))?e:cr(t,n);var l=r,o=n;Zn(r)&&(1===At.get(this)&&(l=Qn(r)));return Zn(e)&&or.has(this)&&(o=ur(Qn(e),this.composed)),cr(l,o)}function Dr(){var e=Ge.call(this);if(!(e instanceof I))return[];var t,n=Boolean(e.shadowRoot),r=(t=e,Gn.has(t));if(n&&!r)return Ye.call(this);if(S(qe.call(this)))return[];var l=e;return Zn(e)&&or.has(this)&&(l=Qn(e)),ur(l,this.composed)}function $r(e){var t=s(e.prototype,"relatedTarget").get;c(e.prototype,"relatedTarget",{get:function(){var e=t.call(this);if(S(e))return null;if(!(e instanceof I&&Vt(e)))return e;var n=qe.call(this);return S(n)&&(n=dt(e)),cr(n,ur(e,!0))},enumerable:!0,configurable:!0})}Ar.prototype=yr.prototype,Ar.prototype.disconnect=function(){var e=this;wr.call(this);var t=Mr.get(this);C(t)||(L.call(t,(function(t){var n=t.$$lwcNodeObservers$$;if(!C(n)){var r=b.call(n,e);-1!==r&&N.call(n,r,1)}})),t.length=0)},Ar.prototype.observe=function(e,t){var n,r=Cr(e);if(C(r)&&(n=r=[],e.$$lwcNodeObservers$$=n),-1===b.call(r,this)&&y.call(r,this),er(e)&&(e=e.host),Mr.has(this)){var l=Mr.get(this);-1===b.call(l,e)&&y.call(l,e)}else Mr.set(this,[e]);return Tr.call(this,e,t)},Ar.prototype.takeRecords=function(){return Hr(Nr.call(this),this)},c(window,"MutationObserver",{value:Ar,configurable:!0,writable:!0}),u(Tt,{addEventListener:{value:function(e,t,n){if(Zn(this))return jt.apply(this,arguments);if(arguments.length<2){var r=T.call(arguments);return r.length>1&&(r[1]=Ht(r[1])),Nt.apply(this,r)}var l=Ht(t);return Nt.call(this,e,l,n)},enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:function(e,t,n){if(Zn(this))return Wt.apply(this,arguments);var r=T.call(arguments);arguments.length>1&&(r[1]=Ht(r[1])),Mt.apply(this,r),Mt.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),"undefined"==typeof EventTarget&&u(Window.prototype,{addEventListener:{value:Rr,enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:_r,enumerable:!0,writable:!0,configurable:!0}}),u(Event.prototype,{target:{get:Pr,enumerable:!0,configurable:!0},currentTarget:{get:function(){var e=qe.call(this);return S(e)?null:1===At.get(this)?Qn(e):e},enumerable:!0,configurable:!0},composedPath:{value:Dr,writable:!0,enumerable:!0,configurable:!0},srcElement:{get:Pr,enumerable:!0,configurable:!0},path:{get:Dr,enumerable:!0,configurable:!0}}),$r(FocusEvent),$r(MouseEvent);var Br,Ir=h.call(Text.prototype,"assignedSlot")?s(Text.prototype,"assignedSlot").get:function(){return null},kr={childList:!0},xr=new WeakMap;function Fr(e){var t=wt(ue.call(e));return E.call(t,(function(e,t){return t instanceof Element&&en(t)?y.apply(e,Fr(t)):y.call(e,t),e}),[])}function jr(){var e=le.call(this);if(e instanceof Element){var t=Ue.call(e);if(mt(t))return this instanceof Text?Ir.call(this):Ke.call(this)}return!S(e)&&en(e)&&qt(e)!==qt(this)?e:null}function Wr(e,t){var n,r=qt(e);if(C(r))n=e instanceof HTMLBodyElement?m.call(t,(function(t){return C(qt(t))||Et(e)})):T.call(t);else if(Zn(e)){var l=Qt(e);n=S(l)?[]:Yt(e)?rn(e,t):on(l,t)}else n=m.call(t,(function(e){return Xt(e)===r}));return n}function Ur(){for(var e=Wn(this),t="",n=0,r=e.length;n<r;n+=1)t+=Cn(e[n]);return t}function Kr(){return Cn(this)}function Gr(){var e=Qt(this),t=S(e)?[]:on(e,un(this));return vn(m.call(t,(function(e){return e instanceof Element})))}function qr(){return this.children.length}function Xr(){return this.children[0]||null}function Yr(){var e=this.children;return e.item(e.length-1)||null}function Vr(e,t,n){var r;if(Zn(e)){var l=Qt(e);r=S(l)?[]:Yt(e)?rn(e,t):on(l,t)}else if(Vt(e)){var o=qt(e);if(C(o))if(1===n){var a=Xt(e);r=m.call(t,(function(e){return Xt(e)===a}))}else r=T.call(t);else r=m.call(t,(function(e){return Xt(e)===o}))}else r=e instanceof HTMLBodyElement||1===n?m.call(t,(function(t){return C(qt(t))||Et(e)})):T.call(t);return r}u(HTMLSlotElement.prototype,{addEventListener:{value:function(e,t,n){HTMLElement.prototype.addEventListener.call(this,e,t,n),"slotchange"!==e||xr.get(this)||(xr.set(this,!0),Br||(Br=new ft((function(e){var t=[];L.call(e,(function(e){var n=e.target;-1===b.call(t,n)&&(y.call(t,n),Lt.call(n,new CustomEvent("slotchange")))}))}))),ht.call(Br,this,kr))},writable:!0,enumerable:!0,configurable:!0},assignedElements:{value:function(e){if(Vt(this)){var t=!C(e)&&O(e.flatten),n=t?Fr(this):cn(this);return m.call(n,(function(e){return e instanceof Element}))}return P.apply(this,T.call(arguments))},writable:!0,enumerable:!0,configurable:!0},assignedNodes:{value:function(e){if(Vt(this)){var t=!C(e)&&O(e.flatten);return t?Fr(this):cn(this)}return _.apply(this,T.call(arguments))},writable:!0,enumerable:!0,configurable:!0},name:{get:function(){var e=fe.call(this,"name");return S(e)?"":e},set:function(e){ye.call(this,"name",e)},enumerable:!0,configurable:!0},childNodes:{get:function(){if(Vt(this)){var e=Qt(this);return pn(S(e)?[]:on(e,un(this)))}return ue.call(this)},enumerable:!0,configurable:!0}}),u(Text.prototype,{assignedSlot:{get:jr,enumerable:!0,configurable:!0}}),u(Element.prototype,{innerHTML:{get:function(){return Sn.ENABLE_ELEMENT_PATCH?Et(this)?Re.call(this):Ur.call(this):Vt(this)||Zn(this)?Ur.call(this):Re.call(this)},set:function(e){_e.call(this,e)},enumerable:!0,configurable:!0},outerHTML:{get:function(){return Sn.ENABLE_ELEMENT_PATCH?Et(this)?De.call(this):Kr.call(this):Vt(this)||Zn(this)?Kr.call(this):De.call(this)},set:function(e){$e.call(this,e)},enumerable:!0,configurable:!0},attachShadow:{value:function(e){return e["$$lwc-synthetic-mode"]?nr(this,e):Ee.call(this,e)},enumerable:!0,writable:!0,configurable:!0},shadowRoot:{get:function(){if(Zn(this)){var e=Qn(this);if("open"===e.mode)return e}return Ue.call(this)},enumerable:!0,configurable:!0},children:{get:function(){return On(this)?Gr.call(this):je.call(this)},enumerable:!0,configurable:!0},childElementCount:{get:function(){return On(this)?qr.call(this):we.call(this)},enumerable:!0,configurable:!0},firstElementChild:{get:function(){return On(this)?Xr.call(this):Te.call(this)},enumerable:!0,configurable:!0},lastElementChild:{get:function(){return On(this)?Yr.call(this):Ne.call(this)},enumerable:!0,configurable:!0},assignedSlot:{get:jr,enumerable:!0,configurable:!0}}),h.call(HTMLElement.prototype,"innerHTML")&&c(HTMLElement.prototype,"innerHTML",s(Element.prototype,"innerHTML")),h.call(HTMLElement.prototype,"outerHTML")&&c(HTMLElement.prototype,"outerHTML",s(Element.prototype,"outerHTML")),h.call(HTMLElement.prototype,"children")&&c(HTMLElement.prototype,"children",s(Element.prototype,"children")),u(Element.prototype,{querySelector:{value:function(){var e=this,t=wt(be.apply(this,T.call(arguments)));if(Zn(this)){var n=Qt(this);return S(n)?null:Yt(this)?ln(this,t):an(n,t)}if(Vt(this)){var r=qt(this);if(C(r)){if(!Sn.ENABLE_NODE_LIST_PATCH)return 0===t.length?null:t[0];var l=Xt(this),o=v.call(t,(function(e){return Xt(e)===l}));return C(o)?null:o}var a=v.call(t,(function(e){return Xt(e)===r}));return C(a)?null:a}if(!(Sn.ENABLE_NODE_LIST_PATCH||this instanceof HTMLBodyElement)){var i=t[0];return C(i)?null:i}var u=v.call(t,(function(t){return C(qt(t))||Et(e)}));return C(u)?null:u},writable:!0,enumerable:!0,configurable:!0},querySelectorAll:{value:function(){var e=wt(be.apply(this,T.call(arguments)));if(!Sn.ENABLE_NODE_LIST_PATCH){var t=Vr(this,e,0);return pn(t)}return pn(Vr(this,e,1))},writable:!0,enumerable:!0,configurable:!0}}),u(Element.prototype,{getElementsByClassName:{value:function(){var e=wt(We.apply(this,T.call(arguments)));if(!Sn.ENABLE_HTML_COLLECTIONS_PATCH)return vn(Wr(this,e));var t=Vr(this,e,1);return vn(t)},writable:!0,enumerable:!0,configurable:!0},getElementsByTagName:{value:function(){var e=wt(pe.apply(this,T.call(arguments)));if(!Sn.ENABLE_HTML_COLLECTIONS_PATCH)return vn(Wr(this,e));var t=Vr(this,e,1);return vn(t)},writable:!0,enumerable:!0,configurable:!0},getElementsByTagNameNS:{value:function(){var e=wt(ge.apply(this,T.call(arguments)));if(!Sn.ENABLE_HTML_COLLECTIONS_PATCH)return vn(Wr(this,e));var t=Vr(this,e,1);return vn(t)},writable:!0,enumerable:!0,configurable:!0}}),h.call(HTMLElement.prototype,"getElementsByClassName")&&c(HTMLElement.prototype,"getElementsByClassName",s(Element.prototype,"getElementsByClassName"));var zr="\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",Jr=new Set(["BUTTON","INPUT","SELECT","TEXTAREA"]);function Qr(e){return e.filter((function(e){return me.call(e,"tabindex")?"0"===fe.call(e,"tabindex"):!Jr.has(Be.call(e))||!me.call(e,"disabled")}))}var Zr=new WeakMap;function el(e){return(!Zn(e)||!zn(e))&&(Fe.call(e,zr)&&function(e){var t=he.call(e),n=t.width,r=t.height,l=n>0||r>0,o="AREA"===e.tagName;return(l||o)&&"hidden"!==getComputedStyle(e).visibility}(e))}function tl(){var e=this.getRootNode();if(e!==this){var t=e;if(t.activeElement!==this)for(var n=wt(be.call(this,zr)),r=!1;!r&&0!==n.length;){var l=n.shift();l.focus.apply(l,arguments);var o=l.getRootNode();r=o.activeElement===l}}else{var a=ve.call(this,zr);S(a)||a.focus.apply(a,arguments)}}function nl(e){var t=dt(e),n=Qr(wt(et.call(t,zr))),r=Qr(wt(be.call(e,zr))),l=r[0],o=r[r.length-1],a=b.call(n,e),i=a>-1?a:b.call(n,l),u=0===r.length?i+1:b.call(n,o)+1;return{prev:T.call(n,0,i),inner:r,next:T.call(n,u)}}function rl(e,t){var n=V.call(e,t);return n&x?0:n&F?1:n&j?2:-1}function ll(e){e.preventDefault(),e.stopPropagation()}function ol(e,t){it.call(e,"focusin",ll,!0),it.call(e,"focusout",ll,!0),t(),ut.call(e,"focusin",ll,!0),ut.call(e,"focusout",ll,!0)}function al(e,t,n){var r=yt(n),l=function(e,t){var n=e.length;if(n>0)for(var r=0;r<n;r+=1){var l=e[r];if(pl(t.getRootNode(),l))return l}return null}(e,n);S(l)?ol(r,(function(){t.blur()})):ol(r,(function(){l.focus()}))}var il=!1;function ul(){il=!0}function cl(){il=!1}function sl(){return!il}function fl(e){if(!il){var t=qe.call(e),n=Ge.call(e);if(t===n){var r=Xe.call(e);if(!S(r)){var l=nl(t);if(1===rl(t,r)){var o=pl.bind(null,t.getRootNode()),a=v.call(l.inner,o);if(C(a))al(l.next,n,r);else ol(yt(a),(function(){a.focus()}))}else t===n&&al(w.call(l.prev),n,r)}}}}function hl(e){if(!il){var t=Xe.call(e);if(!S(t)){var n=qe.call(e),r=nl(n);if(-1===b.call(r.inner,t)){var l=Ge.call(e),o=rl(n,t);1===o&&al(r.next,l,t),2===o&&al(w.call(r.prev),l,t)}}}}function pl(e,t){if(!el(t))return!1;for(var n=dt(t),r=t.getRootNode();r!==n&&r!==e;){var l=r.host;if("-1"===fe.call(l,"tabindex"))return!1;r=l&&l.getRootNode()}return!0}function gl(e){Mt.call(e,"focusin",fl,!0)}function ml(e){var t=dt(e);Zr.get(t)||(Zr.set(t,!0),Nt.call(t,"mousedown",ul,!0),Nt.call(t,"mouseup",(function(){setTimeout(cl)}),!0),Nt.call(t,"dragstart",cl,!0))}function vl(e){Mt.call(e,"focusin",hl,!0)}function bl(e){var t=yt(e);return ct.call(t,e)}function dl(e){var t=yt(e);return st.call(t)}function yl(e){return"visible"===e.visibility&&"none"!==e.display}function El(e){var t=[];if(function(e){return e.nodeType===W}(e)){var n=e.tagName,r=bl(e);if("OPTION"===n)return[1,Me.call(e),1];if("TEXTAREA"===n)return[];for(var l=e.childNodes,o=0,a=l.length;o<a;o++)y.apply(t,El(l[o]));if(!yl(r))return"SELECT"===n||"DATALIST"===n?[]:t;"BR"===n&&t.push("\n");var i=r.display;"table-cell"===i&&t.push("\t"),"table-row"===i&&t.push("\n"),"P"===n&&(t.unshift(2),t.push(2)),"block"!==i&&"table-caption"!==i&&"flex"!==i&&"table"!==i||(t.unshift(1),t.push(1))}else(function(e){return e.nodeType===U})(e)&&t.push(function(e){var t=dl(e);if(null===t)return e.textContent||"";var n=document.createRange();n.selectNodeContents(e);var r=n.getBoundingClientRect();return r.height<=0||r.width<=0?"":(t.removeAllRanges(),t.addRange(n),t.toString()||e.textContent||"")}(e));return t}function wl(e){if(!yl(bl(e)))return sn(e)||"";for(var t=function(e){var t=yt(e),n=dl(e);if(null===n)return null;for(var r=[],l=0;l<n.rangeCount;l++)r.push(n.getRangeAt(l));var o={element:e,onselect:t.onselect,onselectstart:t.onselectstart,onselectionchange:t.onselectionchange,ranges:r};return t.onselect=null,t.onselectstart=null,t.onselectionchange=null,o}(e),n=[],r=e.childNodes,l=0,o=r.length;l<o;l++)y.apply(n,El(r[l]));!function(e){if(null!==e){var t=e.element,n=e.onselect,r=e.onselectstart,l=e.onselectionchange,o=e.ranges,a=yt(t),i=dl(t);i.removeAllRanges();for(var u=0;u<o.length;u++)i.addRange(o[u]);a.onselect=n,a.onselectstart=r,a.onselectionchange=l}}(t);for(var a="",i=0,u=0,c=n.length;u<c;u++){var s=n[u];if("string"==typeof s){if(i>0){for(var f=0;f<i;f++)a+="\n";i=0}s.length>0&&(a+=s)}else{if(0==a.length)continue;s>i&&(i=s)}}return a}var Tl=HTMLElement.prototype,Nl=Tl.blur,Ll=Tl.focus;function Ml(){return zn(this)&&H(me.call(this,"tabindex"))?0:ke.call(this)}function Cl(e){var t=zn(this),n=ke.call(this),r=me.call(this,"tabindex");xe.call(this,e);var l,o=ke.call(this),a=me.call(this,"tabindex"),i=n!==o;(r&&(i||H(a))&&(-1===n&&vl(this),0===n&&t&&gl(this)),H(a))||(r&&a&&H(i)||(-1===o&&(ml(l=this),gl(l),Nt.call(l,"focusin",hl,!0)),0===o&&t&&function(e){ml(e),vl(e),Nt.call(e,"focusin",fl,!0)}(this)))}function Sl(){if(zn(this)){var e=(n=dt(t=this),S(r=Ve.call(n))||0!=(V.call(t,r)&x)?r:null);if(!S(e))return void e.blur()}var t,n,r;return Nl.call(this)}function Ol(){var e=sl();e&&ul(),Zn(this)&&zn(this)?tl.call(this):(Ll.apply(this,arguments),e&&cl())}u(HTMLElement.prototype,{tabIndex:{get:function(){return Zn(this)?Ml.call(this):ke.call(this)},set:function(e){return Zn(this)?Cl.call(this,e):xe.call(this,e)},enumerable:!0,configurable:!0},blur:{value:function(){if(Zn(this))return Sl.call(this);Nl.call(this)},enumerable:!0,writable:!0,configurable:!0},focus:{value:function(){Ol.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),null!==Me&&null!==Ce&&c(HTMLElement.prototype,"innerText",{get:function(){return Sn.ENABLE_INNER_OUTER_TEXT_PATCH?Sn.ENABLE_ELEMENT_PATCH?Et(this)?Me.call(this):wl(this):Vt(this)||Zn(this)?wl(this):Me.call(this):Me.call(this)},set:function(e){Ce.call(this,e)},enumerable:!0,configurable:!0}),null!==Oe&&null!==He&&c(HTMLElement.prototype,"outerText",{get:function(){return Sn.ENABLE_INNER_OUTER_TEXT_PATCH?Sn.ENABLE_ELEMENT_PATCH?Et(this)?Oe.call(this):wl(this):Vt(this)||Zn(this)?wl(this):Oe.call(this):Oe.call(this)},set:function(e){He.call(this,e)},enumerable:!0,configurable:!0}),c(Element.prototype,B,{set:function(e){var t=this.$$ShadowTokenKey$$;C(t)||t===e||de.call(this,t),C(e)||ye.call(this,e,""),this.$$ShadowTokenKey$$=e},get:function(){return this.$$ShadowTokenKey$$},configurable:!0});var Hl,Al=function(){},Rl={childList:!0};function _l(e,t,n){var r=Yn(e);if(r!==t&&(Vn(e,t),e instanceof Element)){if(function(e,t){e.$shadowToken$=t}(e,n),Zn(e))return;C(r)&&ht.call(Hl,e,Rl);for(var l=ue.call(e),o=0,a=l.length;o<a;o+=1)_l(l[o],t,n)}}function Pl(e){if(C(Hl)&&(Hl=new ft((function(e){L.call(e,(function(e){for(var t=e.target,n=e.addedNodes,r=e.removedNodes,l=Yn(t),o=function(e){return e.$shadowToken$}(t),a=0,i=r.length;a<i;a+=1){var u=r[a];V.call(t,u)&I.DOCUMENT_POSITION_CONTAINED_BY||_l(u,Al,void 0)}for(var c=0,s=n.length;c<s;c+=1){var f=n[c];V.call(t,f)&I.DOCUMENT_POSITION_CONTAINED_BY&&_l(f,l,o)}}))}))),C(Yn(e)))throw new Error("Invalid Element");ht.call(Hl,e,Rl)}c(Element.prototype,"$domManual$",{set:function(e){this.$$DomManualKey$$=e,O(e)&&Pl(this)},get:function(){return this.$$DomManualKey$$},configurable:!0})}();
@@ -121,7 +121,7 @@
121
121
  var KEY__SHADOW_TOKEN = '$shadowToken$';
122
122
  var KEY__SHADOW_TOKEN_PRIVATE = '$$ShadowTokenKey$$';
123
123
  var KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
124
- /** version: 2.7.1 */
124
+ /** version: 2.8.0 */
125
125
 
126
126
  /*
127
127
  * Copyright (c) 2018, salesforce.com, inc.
@@ -1418,7 +1418,7 @@
1418
1418
  }
1419
1419
 
1420
1420
  var runtimeFlags = _globalThis.lwcRuntimeFlags;
1421
- /** version: 2.7.1 */
1421
+ /** version: 2.8.0 */
1422
1422
 
1423
1423
  /*
1424
1424
  * Copyright (c) 2018, salesforce.com, inc.
@@ -1855,7 +1855,22 @@
1855
1855
  }
1856
1856
 
1857
1857
  return rootNodes;
1858
- }
1858
+ } // Keep searching up the host tree until we find an element that is within the immediate shadow root
1859
+
1860
+
1861
+ var findAncestorHostInImmediateShadowRoot = function findAncestorHostInImmediateShadowRoot(rootNode, targetRootNode) {
1862
+ var host;
1863
+
1864
+ while (!isUndefined(host = rootNode.host)) {
1865
+ var thisRootNode = host.getRootNode();
1866
+
1867
+ if (thisRootNode === targetRootNode) {
1868
+ return host;
1869
+ }
1870
+
1871
+ rootNode = thisRootNode;
1872
+ }
1873
+ };
1859
1874
 
1860
1875
  function fauxElementsFromPoint(context, doc, left, top) {
1861
1876
  var elements = elementsFromPoint.call(doc, left, top);
@@ -1869,8 +1884,28 @@
1869
1884
  for (var i = 0; i < elements.length; i++) {
1870
1885
  var element = elements[i];
1871
1886
 
1872
- if (rootNodes.indexOf(element.getRootNode()) !== -1 && !isSyntheticSlotElement(element)) {
1873
- result.push(element);
1887
+ if (isSyntheticSlotElement(element)) {
1888
+ continue;
1889
+ }
1890
+
1891
+ var elementRootNode = element.getRootNode();
1892
+
1893
+ if (ArrayIndexOf.call(rootNodes, elementRootNode) !== -1) {
1894
+ ArrayPush.call(result, element);
1895
+ continue;
1896
+ } // In cases where the host element is not visible but its shadow descendants are, then
1897
+ // we may get the shadow descendant instead of the host element here. (The
1898
+ // browser doesn't know the difference in synthetic shadow DOM.)
1899
+ // In native shadow DOM, however, elementsFromPoint would return the host but not
1900
+ // the child. So we need to detect if this shadow element's host is accessible from
1901
+ // the context's shadow root. Note we also need to be careful not to add the host
1902
+ // multiple times.
1903
+
1904
+
1905
+ var ancestorHost = findAncestorHostInImmediateShadowRoot(elementRootNode, rootNodes[0]);
1906
+
1907
+ if (!isUndefined(ancestorHost) && ArrayIndexOf.call(elements, ancestorHost) === -1 && ArrayIndexOf.call(result, ancestorHost) === -1) {
1908
+ ArrayPush.call(result, ancestorHost);
1874
1909
  }
1875
1910
  }
1876
1911
  }
@@ -5372,6 +5407,6 @@
5372
5407
  },
5373
5408
  configurable: true
5374
5409
  });
5375
- /** version: 2.7.1 */
5410
+ /** version: 2.8.0 */
5376
5411
 
5377
5412
  })();
@@ -199,7 +199,7 @@
199
199
  // we can't use typeof since it will fail when transpiling.
200
200
 
201
201
  const hasNativeSymbolSupport = /*@__PURE__*/(() => Symbol('x').toString() === 'Symbol(x)')();
202
- /** version: 2.7.1 */
202
+ /** version: 2.8.0 */
203
203
 
204
204
  /*
205
205
  * Copyright (c) 2018, salesforce.com, inc.
@@ -1567,7 +1567,7 @@
1567
1567
  }
1568
1568
 
1569
1569
  const runtimeFlags = _globalThis.lwcRuntimeFlags;
1570
- /** version: 2.7.1 */
1570
+ /** version: 2.8.0 */
1571
1571
 
1572
1572
  /*
1573
1573
  * Copyright (c) 2018, salesforce.com, inc.
@@ -2055,7 +2055,22 @@
2055
2055
  }
2056
2056
 
2057
2057
  return rootNodes;
2058
- }
2058
+ } // Keep searching up the host tree until we find an element that is within the immediate shadow root
2059
+
2060
+
2061
+ const findAncestorHostInImmediateShadowRoot = (rootNode, targetRootNode) => {
2062
+ let host;
2063
+
2064
+ while (!isUndefined(host = rootNode.host)) {
2065
+ const thisRootNode = host.getRootNode();
2066
+
2067
+ if (thisRootNode === targetRootNode) {
2068
+ return host;
2069
+ }
2070
+
2071
+ rootNode = thisRootNode;
2072
+ }
2073
+ };
2059
2074
 
2060
2075
  function fauxElementsFromPoint(context, doc, left, top) {
2061
2076
  const elements = elementsFromPoint.call(doc, left, top);
@@ -2069,8 +2084,28 @@
2069
2084
  for (let i = 0; i < elements.length; i++) {
2070
2085
  const element = elements[i];
2071
2086
 
2072
- if (rootNodes.indexOf(element.getRootNode()) !== -1 && !isSyntheticSlotElement(element)) {
2073
- result.push(element);
2087
+ if (isSyntheticSlotElement(element)) {
2088
+ continue;
2089
+ }
2090
+
2091
+ const elementRootNode = element.getRootNode();
2092
+
2093
+ if (ArrayIndexOf.call(rootNodes, elementRootNode) !== -1) {
2094
+ ArrayPush.call(result, element);
2095
+ continue;
2096
+ } // In cases where the host element is not visible but its shadow descendants are, then
2097
+ // we may get the shadow descendant instead of the host element here. (The
2098
+ // browser doesn't know the difference in synthetic shadow DOM.)
2099
+ // In native shadow DOM, however, elementsFromPoint would return the host but not
2100
+ // the child. So we need to detect if this shadow element's host is accessible from
2101
+ // the context's shadow root. Note we also need to be careful not to add the host
2102
+ // multiple times.
2103
+
2104
+
2105
+ const ancestorHost = findAncestorHostInImmediateShadowRoot(elementRootNode, rootNodes[0]);
2106
+
2107
+ if (!isUndefined(ancestorHost) && ArrayIndexOf.call(elements, ancestorHost) === -1 && ArrayIndexOf.call(result, ancestorHost) === -1) {
2108
+ ArrayPush.call(result, ancestorHost);
2074
2109
  }
2075
2110
  }
2076
2111
  }
@@ -5757,6 +5792,6 @@
5757
5792
 
5758
5793
  configurable: true
5759
5794
  });
5760
- /** version: 2.7.1 */
5795
+ /** version: 2.8.0 */
5761
5796
 
5762
5797
  }));