New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@lwc/synthetic-shadow

Package Overview
Dependencies
Maintainers
12
Versions
738
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lwc/synthetic-shadow - npm Package Compare versions

Comparing version 0.38.1 to 0.39.0

lib/polyfills/document-body-shadow/detect.d.ts

2

dist/umd/es2017/shadow.min.js

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).SyntheticShadow={})}(this,function(e){"use strict";const{freeze:t,seal:n,keys:o,create:r,assign:l,defineProperty:c,getPrototypeOf:i,setPrototypeOf:a,getOwnPropertyDescriptor:u,getOwnPropertyNames:s,defineProperties:f,getOwnPropertySymbols:d,hasOwnProperty:h,preventExtensions:p,isExtensible:g}=Object,{concat:m,filter:b,slice:E,splice:w,unshift:y,indexOf:v,push:N,map:T,join:O,forEach:S,reduce:L,reverse:M}=Array.prototype;function _(e){return void 0===e}function C(e){return null===e}function R(e){return!0===e}function I(e){return!1===e}function P(e){return"function"==typeof e}function x(e,t){do{const n=u(e,t);if(!_(n))return n;e=i(e)}while(null!==e)}const D=u(Document.prototype,"activeElement").get,A=h.call(Document.prototype,"elementFromPoint")?Document.prototype.elementFromPoint:Document.prototype.msElementFromPoint,{createDocumentFragment:$,createElement:H,createElementNS:k,createTextNode:F,createComment:B,querySelector:W,querySelectorAll:j,getElementById:U,getElementsByClassName:q,getElementsByName:K,getElementsByTagName:G,getElementsByTagNameNS:V}=Document.prototype,{DOCUMENT_POSITION_CONTAINED_BY:X,DOCUMENT_POSITION_CONTAINS:Y,DOCUMENT_POSITION_PRECEDING:z,DOCUMENT_POSITION_FOLLOWING:J,DOCUMENT_FRAGMENT_NODE:Q}=Node,{appendChild:Z,cloneNode:ee,compareDocumentPosition:te,hasChildNodes:ne,insertBefore:oe,removeChild:re,replaceChild:le}=Node.prototype,ce=u(Node.prototype,"parentNode").get,ie=h.call(Node.prototype,"parentElement")?u(Node.prototype,"parentElement").get:u(HTMLElement.prototype,"parentElement").get,ae=u(Node.prototype,"textContent").set,ue=h.call(Node.prototype,"childNodes")?u(Node.prototype,"childNodes").get:u(HTMLElement.prototype,"childNodes").get,se=u(Node.prototype,"nodeValue"),fe=(se.set,se.get,h.call(Node.prototype,"isConnected")?u(Node.prototype,"isConnected").get:function(){return 0!=(te.call(document,this)&X)}),{hasAttribute:de,getAttribute:he,getAttributeNS:pe,setAttribute:ge,setAttributeNS:me,removeAttribute:be,removeAttributeNS:Ee,querySelector:we,querySelectorAll:ye,getBoundingClientRect:ve,getElementsByTagName:Ne,getElementsByClassName:Te,getElementsByTagNameNS:Oe}=Element.prototype;let{addEventListener:Se,removeEventListener:Le}=Element.prototype;Se=Se.__lwcOriginal__||Se,Le=Le.__lwcOriginal__||Le;const Me=h.call(Element.prototype,"innerHTML")?u(Element.prototype,"innerHTML").set:u(HTMLElement.prototype,"innerHTML").set,_e=h.call(Element.prototype,"outerHTML")?u(Element.prototype,"outerHTML").set:u(HTMLElement.prototype,"outerHTML").set,Ce=u(Element.prototype,"tagName").get,Re=u(HTMLElement.prototype,"tabIndex").get,Ie=h.call(Element.prototype,"matches")?Element.prototype.matches:Element.prototype.msMatchesSelector,Pe=h.call(Element.prototype,"children")?u(Element.prototype,"children").get:u(HTMLElement.prototype,"children").get,xe=(void 0!==window.ShadowRoot&&u(window.ShadowRoot.prototype,"host").get,"EventTarget"in window?EventTarget.prototype.dispatchEvent:Node.prototype.dispatchEvent),De=void 0!==window.ShadowRoot,Ae=u(HTMLIFrameElement.prototype,"contentWindow").get,$e=u(Event.prototype,"target").get,He=u(Event.prototype,"currentTarget").get,ke=u(FocusEvent.prototype,"relatedTarget").get;function Fe(e,t){const n=[];let o=e;const r=e===window?window:Ln.call(e);for(;o;)n.push(o),o=o.assignedSlot?o.assignedSlot:o.nodeType===Q&&o.host&&(t||o!==r)?o.host:o.parentNode;return n[n.length-1]===document&&n.push(window),n}function Be(e,t){const n=Fe(e,!0),o=t;for(let e,t,r,l,c=0;c<o.length;c++)if((r=(e=o[c])===window?window:Ln.call(e))!==t&&(l=n.indexOf(r),t=r),!(r instanceof Wt)||l>-1)return e;return null}let{addEventListener:We,removeEventListener:je}=window;function Ue(e){let t=null;try{if(!(t=e.$$lwcEventWrapper$$)){const n="function"==typeof e;t=e.$$lwcEventWrapper$$=function(t){return function(e){const t=$e.call(e);return!!(t instanceof Node&&0!=(te.call(document,t)&X)&&$n(t))}(t)&&ot(t),n?e.call(this,t):e.handleEvent&&e.handleEvent(t)}}}catch(e){}return t}function qe(e,t,n){const o=typeof t;if("function"!==o&&"object"!==o)return;if("object"===o&&(!t.handleEvent||"function"!=typeof t.handleEvent))return;const r=Ue(t);We.call(this,e,r,n)}function Ke(e,t,n){const o=Ue(t);je.call(this,e,o||t,n)}function Ge(e,t,n){const o=typeof t;if("function"!==o&&"object"!==o)return;if("object"===o&&(!t.handleEvent||"function"!=typeof t.handleEvent))return;const r=Ue(t);Se.call(this,e,r,n)}function Ve(e,t,n){const o=Ue(t);Le.call(this,e,o||t,n)}We=We.__lwcOriginal__||We,je=je.__lwcOriginal__||je,Ge.__lwcOriginal__=Se,Ve.__lwcOriginal__=Le,qe.__lwcOriginal__=We,Ke.__lwcOriginal__=je,window.addEventListener=qe,window.removeEventListener=Ke,Node.prototype.addEventListener=Ge,Node.prototype.removeEventListener=Ve;const{addEventListener:Xe,removeEventListener:Ye}=Node.prototype;var ze;!function(e){e[e.CUSTOM_ELEMENT_LISTENER=1]="CUSTOM_ELEMENT_LISTENER",e[e.SHADOW_ROOT_LISTENER=2]="SHADOW_ROOT_LISTENER"}(ze||(ze={}));const Je=new WeakMap;function Qe(e,t){return!!(te.call(e,t)&X)}const Ze={composed:!1};function et(e,t){let n=Ln.call(e,t);return"mode"in n&&"delegatesFocus"in n&&(n=Ht(n)),n}function tt(){const e=He.call(this),t=Fe($e.call(this),this.composed);return e instanceof Node?Be(Je.get(this)===ze.SHADOW_ROOT_LISTENER?kt(e):e,t):Be(document,t)}function nt(){return Fe($e.call(this),this.composed)}function ot(e){if(Je.has(e))return;f(e,{target:{get:tt,enumerable:!0,configurable:!0},composedPath:{value:nt,writable:!0,enumerable:!0,configurable:!0},srcElement:{get:tt,enumerable:!0,configurable:!0},path:{get:nt,enumerable:!0,configurable:!0}});const t=x(e,"relatedTarget");_(t)||c(e,"relatedTarget",{get(){const e=Je.get(this),n=He.call(this),o=t.get.call(this);return C(o)?null:Be(e===ze.SHADOW_ROOT_LISTENER?kt(n):n,Fe(o,!0))},enumerable:!0,configurable:!0}),Je.set(e,0)}const rt=new WeakMap;function lt(e){let t=rt.get(e);return _(t)&&(t=r(null),rt.set(e,t)),t}const ct=new WeakMap;function it(e,t){if(!P(t))throw new TypeError;let n=ct.get(t);return _(n)&&((n=function(n){const{composed:o}=n,r=$e.call(n),l=He.call(n);if(r!==l){const c=et(r,{composed:o});(Qe(c,l)||!1===o&&c===l)&&t.call(e,n)}}).placement=ze.SHADOW_ROOT_LISTENER,ct.set(t,n)),n}const at=new WeakMap;function ut(e,t){if(!P(t))throw new TypeError;let n=at.get(t);return _(n)&&((n=function(n){(function(e){const t=$e.call(e),n=He.call(e),{composed:o}=e;return!0===o||t===n||Qe(et(t,Ze),n)})(n)&&t.call(e,n)}).placement=ze.CUSTOM_ELEMENT_LISTENER,at.set(t,n)),n}function st(e){let t=!1,n=!1;const{type:o,stopImmediatePropagation:r,stopPropagation:l}=e,i=lt(He.call(e))[o];c(e,"stopImmediatePropagation",{value(){t=!0,r.call(e)},writable:!0,enumerable:!0,configurable:!0}),c(e,"stopPropagation",{value(){n=!0,l.call(e)},writable:!0,enumerable:!0,configurable:!0});const a=E.call(i);function u(n){S.call(a,o=>{I(t)&&o.placement===n&&-1!==v.call(i,o)&&o.call(void 0,e)})}Je.set(e,ze.SHADOW_ROOT_LISTENER),u(ze.SHADOW_ROOT_LISTENER),I(t)&&I(n)&&(Je.set(e,ze.CUSTOM_ELEMENT_LISTENER),u(ze.CUSTOM_ELEMENT_LISTENER)),Je.set(e,0)}function ft(e,t,n){const o=lt(e);let r=o[t];_(r)&&(r=o[t]=[]),0===r.length&&Xe.call(e,t,st),N.call(r,n)}function dt(e,t,n){let o,r;_(r=lt(e)[t])||-1===(o=v.call(r,n))||(w.call(r,o,1),0===r.length&&Ye.call(e,t,st))}const ht="Symbol(x)"===Symbol("x").toString();function pt(e){return ht?Symbol(e):`$$lwc-${e}$$`}function gt(e,t,n){c(e,t,{value:n})}function mt(e,t){return e[t]}function bt(e){switch(e.nodeType){case Node.ELEMENT_NODE:{const t=xn(e);let n="";for(let e=0,o=t.length;e<o;e+=1)n+=bt(t[e]);return n}default:return e.nodeValue}}const Et=pt("items");function wt(){throw new TypeError("Illegal constructor")}function yt(e){const t=r(wt.prototype);return gt(t,Et,e),S.call(e,(e,n)=>{c(t,n,{value:e,enumerable:!0,configurable:!0})}),t}wt.prototype=r(NodeList.prototype,{constructor:{writable:!0,configurable:!0,value:wt},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return mt(this,Et).length}},forEach:{writable:!0,enumerable:!0,configurable:!0,value(e,t){S.call(mt(this,Et),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value(){return T.call(mt(this,Et),(e,t)=>[t,e])}},keys:{writable:!0,enumerable:!0,configurable:!0,value(){return T.call(mt(this,Et),(e,t)=>t)}},values:{writable:!0,enumerable:!0,configurable:!0,value(){return mt(this,Et)}},[Symbol.iterator]:{writable:!0,configurable:!0,value(){let e=0;return{next:()=>{const t=mt(this,Et);return e<t.length?{value:t[e++],done:!1}:{done:!0}}}}}}),a(wt,NodeList);const vt=pt("items");function Nt(){throw new TypeError("Illegal constructor")}function Tt(e){const t=r(Nt.prototype);return gt(t,vt,e),S.call(e,(e,n)=>{c(t,n,{value:e,enumerable:!0,configurable:!0})}),t}Nt.prototype=r(HTMLCollection.prototype,{constructor:{writable:!0,configurable:!0,value:Nt},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return mt(this,vt).length}},namedItem:{writable:!0,enumerable:!0,configurable:!0,value(e){if(function(e){return"length"!==e&&isNaN(e)}(e)&&this[e])return this[e];const t=mt(this,vt);for(let o=t.length-1;o>=0;o-=1){const r=t[o];if(((n=r).getAttribute("id")||n.getAttribute("name"))===e)return r}var n;return null}},forEach:{writable:!0,enumerable:!0,configurable:!0,value(e,t){S.call(mt(this,vt),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value(){return T.call(mt(this,vt),(e,t)=>[t,e])}},keys:{writable:!0,enumerable:!0,configurable:!0,value(){return T.call(mt(this,vt),(e,t)=>t)}},values:{writable:!0,enumerable:!0,configurable:!0,value(){return mt(this,vt)}},[Symbol.iterator]:{writable:!0,configurable:!0,value(){let e=0;return{next:()=>{const t=mt(this,vt);return e<t.length?{value:t[e++],done:!1}:{done:!0}}}}}}),a(Nt,HTMLCollection);const Ot=/[&\u00A0"]/g,St=/[&\u00A0<>]/g,{replace:Lt,toLowerCase:Mt}=String.prototype;function _t(e){switch(e){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case" ":return"&nbsp;";default:return""}}function Ct(e){return Lt.call(e,Ot,_t)}const Rt=new Set(["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"]),It=new Set(["STYLE","SCRIPT","XMP","IFRAME","NOEMBED","NOFRAMES","PLAINTEXT","NOSCRIPT"]);function Pt(e){switch(e.nodeType){case Node.ELEMENT_NODE:{const{attributes:t}=e,n=Ce.call(e);let o="<"+Mt.call(n);for(let e,n=0;e=t[n];n++)o+=" "+e.name+'="'+Ct(e.value)+'"';return o+=">",Rt.has(n)?o:o+function(e){let t="";const n=xn(e);for(let e=0,o=n.length;e<o;e+=1)t+=Pt(n[e]);return t}(e)+"</"+Mt.call(n)+">"}case Node.TEXT_NODE:{const{data:n,parentNode:o}=e;return o instanceof Element&&It.has(Ce.call(o))?n:(t=n,Lt.call(t,St,_t))}case Node.COMMENT_NODE:return"\x3c!--"+e.data+"--\x3e";default:throw new Error}var t}const xt=pt("shadowRecord"),{createDocumentFragment:Dt}=document;function At(e){const t=mt(e,xt);if(_(t))throw new TypeError;return t}function $t(e){return At(e).delegatesFocus}function Ht(e){return At(e).host}function kt(e){return At(e).shadowRoot}function Ft(e){return!_(mt(e,xt))}const Bt={constructor:{writable:!0,configurable:!0,value:Wt},toString:{writable:!0,configurable:!0,value:()=>"[object ShadowRoot]"}};function Wt(){throw new TypeError("Illegal constructor")}l(Bt,{insertBefore:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return oe.call(Ht(this),e,t),e}},removeChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return re.call(Ht(this),e),e}},appendChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return Z.call(Ht(this),e),e}},replaceChild:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return le.call(Ht(this),e,t),t}},addEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,o){ft(Ht(e),t,it(e,n))}(this,e,t)}},removeEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,o){dt(Ht(e),t,it(e,n))}(this,e,t)}},baseURI:{enumerable:!0,configurable:!0,get(){return Ht(this).baseURI}},childNodes:{enumerable:!0,configurable:!0,get(){return yt(Rn(this))}},compareDocumentPosition:{writable:!0,enumerable:!0,configurable:!0,value(e){const t=Ht(this);return this===e?0:this.contains(e)?20:te.call(t,e)&X?37:35}},contains:{writable:!0,enumerable:!0,configurable:!0,value(e){if(this===e)return!0;const t=Ht(this);return 0!=(te.call(t,e)&X)&&Cn(t,e)}},firstChild:{enumerable:!0,configurable:!0,get(){return Un(this)[0]||null}},lastChild:{enumerable:!0,configurable:!0,get(){const e=Un(this);return e[e.length-1]||null}},hasChildNodes:{writable:!0,enumerable:!0,configurable:!0,value(){return Un(this).length>0}},isConnected:{enumerable:!0,configurable:!0,get(){return fe.call(Ht(this))}},nextSibling:{enumerable:!0,configurable:!0,get:()=>null},previousSibling:{enumerable:!0,configurable:!0,get:()=>null},nodeName:{enumerable:!0,configurable:!0,get:()=>"#document-fragment"},nodeType:{enumerable:!0,configurable:!0,get:()=>11},nodeValue:{enumerable:!0,configurable:!0,get:()=>null},ownerDocument:{enumerable:!0,configurable:!0,get(){return Ht(this).ownerDocument}},parentElement:{enumerable:!0,configurable:!0,get:()=>null},parentNode:{enumerable:!0,configurable:!0,get:()=>null},textContent:{enumerable:!0,configurable:!0,get(){const e=Un(this);let t="";for(let n=0,o=e.length;n<o;n+=1)t+=bt(e[n]);return t},set(e){const t=Ht(this);ae.call(t,e)}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value(e){const t=!_(e)&&!!e.composed;return I(t)?this:Ln.call(Ht(this),{composed:t})}}},{childElementCount:{enumerable:!0,configurable:!0,get(){return this.children.length}},children:{enumerable:!0,configurable:!0,get(){return Tt(b.call(Rn(this),e=>e instanceof Element))}},firstElementChild:{enumerable:!0,configurable:!0,get(){return this.children[0]||null}},lastElementChild:{enumerable:!0,configurable:!0,get(){const{children:e}=this;return e.item(e.length-1)||null}},querySelector:{writable:!0,enumerable:!0,configurable:!0,value(e){return function(e,t){const n=Ht(e),o=ye.call(n,t);return Pn(n,o)}(this,e)}},querySelectorAll:{writable:!0,enumerable:!0,configurable:!0,value(e){return yt(function(e,t){const n=Ht(e),o=ye.call(n,t);return In(n,o)}(this,e))}}},{innerHTML:{enumerable:!0,configurable:!0,get(){const e=Un(this);let t="";for(let n=0,o=e.length;n<o;n+=1)t+=Pt(e[n]);return t},set(e){const t=Ht(this);Me.call(t,e)}}},{activeElement:{enumerable:!0,configurable:!0,get(){const e=D.call(document);if(C(e))return e;const t=Ht(this);if(0==(te.call(t,e)&X))return null;let n=e;for(;!Cn(t,n);)n=ie.call(n);return _n(n)?null:n}},delegatesFocus:{configurable:!0,get(){return At(this).delegatesFocus}},elementFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){const n=A.call(document,e,t);return C(n)?n:Be(this,Fe(n,!0))}},elementsFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){throw new Error}},getSelection:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error}},host:{enumerable:!0,configurable:!0,get(){return Ht(this)}},mode:{configurable:!0,get(){return At(this).mode}},styleSheets:{enumerable:!0,configurable:!0,get(){throw new Error}}}),Wt.prototype=r(DocumentFragment.prototype,Bt),De&&a(Wt.prototype,window.ShadowRoot.prototype);let jt=window.MutationObserver;if(void 0===jt){function Ut(){}Ut.prototype={observe(){}},jt=window.MutationObserver=Ut}const qt=jt,Kt=qt.prototype.observe,Gt='\n button:not([tabindex="-1"]):not([disabled]),\n [contenteditable]:not([tabindex="-1"]),\n video[controls]:not([tabindex="-1"]),\n audio[controls]:not([tabindex="-1"]),\n [href]:not([tabindex="-1"]),\n input:not([tabindex="-1"]):not([disabled]),\n select:not([tabindex="-1"]):not([disabled]),\n textarea:not([tabindex="-1"]):not([disabled]),\n [tabindex="0"]\n';function Vt(e){const{width:t,height:n}=ve.call(e);return(t>0||n>0)&&"hidden"!==getComputedStyle(e).visibility}function Xt(e){return Ie.call(e,Gt)&&Vt(e)}const Yt={IFRAME:1,VIDEO:1,AUDIO:1,A:1,INPUT:1,SELECT:1,TEXTAREA:1,BUTTON:1};function zt(e){const t=Ce.call(e);return Vt(e)&&(function(e){if(I(de.call(e,"tabindex")))return!1;const t=he.call(e,"tabindex");return""!==t&&("0"===t||"-1"===t)}(e)||de.call(e,"contenteditable")||h.call(Yt,t))}function Jt(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(Xt(n))return n}return null}function Qt(e){const t=j.call(document,Gt),n=E.call(ye.call(e,Gt)),o=n[0],r=n[n.length-1],l=v.call(t,e),c=l>-1?l:v.call(t,o),i=0===n.length?c+1:v.call(t,r)+1;return{prev:E.call(t,0,c),inner:n,next:E.call(t,i)}}function Zt(e,t){const n=te.call(e,t);return n&X?0:n&z?1:n&J?2:-1}function en(e){e.preventDefault(),e.stopPropagation()}function tn(e){We.call(window,"focusin",en,!0),We.call(window,"focusout",en,!0),e(),je.call(window,"focusin",en,!0),je.call(window,"focusout",en,!0)}function nn(e,t){tn(()=>{const n=function(e){const{next:t}=e;return Jt(t)}(t);C(n)?e.blur():n.focus()})}function on(e,t){tn(()=>{const n=function(e){const{prev:t}=e;return Jt(M.call(t))}(t);C(n)?e.blur():n.focus()})}function rn(e,t){return function(e){for(let t=e.length-1;t>=0;t-=1){const n=e[t];if(Xt(n))return n}return null}(t.inner)===e}function ln(e){const t=He.call(e),n=$e.call(e);if(t!==n)return;const o=ke.call(e);if(C(o))return;const r=Qt(t);if(1===Zt(t,o)){const e=Jt(r.inner);C(e)?nn(n,r):tn(()=>{e.focus()})}else t===n&&on(t,r)}function cn(e){const t=He.call(e),n=$e.call(e),o=ke.call(e),r=Qt(t),l=function(e,t){return Jt(t.inner)===e}(n,r),c=rn(n,r);if(!(I(l)&&I(c)||C(o)))switch(Zt(t,o)){case 1:l&&nn(n,r);break;case 2:c&&on(n,r)}}function an(e){const t=He.call(e);Le.call(t,"focusin",cn),setTimeout(()=>{C(t)||-1!==Re.call(t)||Se.call(t,"focusin",cn)},0)}function un(e){const t=He.call(e),n=ke.call(e);(C(n)||0!==Zt(t,n))&&(Le.call(t,"focusin",an,!0),Le.call(t,"focusout",un,!0))}function sn(e){if(function(e){return e!==D.call(document)&&zt(e)}($e.call(e))){const t=He.call(e);Se.call(t,"focusin",an,!0),Se.call(t,"focusout",un,!0)}}function fn(e){Le.call(e,"focusin",ln,!0)}function dn(e){Le.call(e,"focusin",cn),Le.call(e,"mousedown",sn,!0)}const hn=Node.prototype.getRootNode,pn=_(hn)?function(){let e,t=this;for(;!C(e=ce.call(t));)t=e;return t}:hn;function gn(e){return R(!_(e)&&!!e.composed)?pn.call(this,e):function(e){const t=Mn(e);return C(t)?pn.call(e):kt(t)}(this)}function mn(e){let t=ie.call(e);for(;!C(t)&&_n(t);)e=t,t=ie.call(e);return e}function bn(e,t){const n=kn(e);let o=t instanceof Element?t:ie.call(t);for(;!C(o)&&o!==e;){const t=Hn(o),r=ie.call(o);if(t===n)return _n(o);if(r===e)return!1;if(C(r)||Hn(r)===t)o=r;else{if(!_n(r))return!1;if(!C(o=Mn(mn(r)))){if(o===e)return!0;if(Hn(o)===n)return!0}}}return!1}function En(e,t){const n=Mn(e);if(C(n))return[];const o=ye.call(e,t);return kn(e)?function(e,t){const n=[];for(let o=0,r=t.length;o<r;o+=1){const r=t[o];!Cn(e,r)&&bn(e,r)&&N.call(n,r)}return n}(e,o):In(n,o)}function wn(e,t){const n=Mn(e);if(C(n))return null;const o=ye.call(e,t);return kn(e)?function(e,t){for(let n=0,o=t.length;n<o;n+=1){const o=t[n];if(!Cn(e,o)&&bn(e,o))return o}return null}(e,o):Pn(n,o)}function yn(e){const t=jn(e),{addEventListener:n,removeEventListener:o,blur:r}=e;return class extends t{querySelector(e){return wn(this,e)}querySelectorAll(e){return yt(En(this,e))}get innerHTML(){const e=Un(this);let t="";for(let n=0,o=e.length;n<o;n+=1)t+=Pt(e[n]);return t}set innerHTML(e){Me.call(this,e)}get outerHTML(){return Pt(this)}set outerHTML(e){_e.call(this,e)}attachShadow(e){return function(e,t){if(!_(mt(e,xt)))throw new Error("Failed to execute 'attachShadow' on 'Element': Shadow root cannot be created on a host which already hosts a shadow tree.");const{mode:n,delegatesFocus:o}=t,r=Dt.call(document),l={mode:n,delegatesFocus:!!o,host:e,shadowRoot:r};return gt(r,xt,l),gt(e,xt,l),a(r,Wt.prototype),r}(this,e)}addEventListener(e,t,o){Ft(this)?function(e,t,n,o){ft(e,t,ut(e,n))}(this,e,t):n.call(this,e,t,o)}removeEventListener(e,t,n){Ft(this)?function(e,t,n,o){dt(e,t,ut(e,n))}(this,e,t):o.call(this,e,t,n)}get shadowRoot(){if(Ft(this)){const e=kt(this);if("open"===e.mode)return e}return null}get tabIndex(){if(Ft(this)&&$t(this)&&I(de.call(this,"tabindex")))return 0;return x(t.prototype,"tabIndex").get.call(this)}set tabIndex(e){if(Ft(this)){const o=$t(this),r=Re.call(this),l=de.call(this,"tabindex");x(t.prototype,"tabIndex").set.call(this,e);const c=Re.call(this),i=de.call(this,"tabindex"),a=r!==c;if(l&&(a||I(i))&&(-1===r&&dn(this),0===r&&o&&fn(this)),I(i))return;if(l&&i&&I(a))return;return-1===c&&(fn(n=this),Se.call(n,"mousedown",sn,!0),Se.call(n,"focusin",cn)),void(0===c&&o&&function(e){dn(e),Se.call(e,"focusin",ln,!0)}(this))}var n;x(t.prototype,"tabIndex").set.call(this,e)}blur(){if(Ft(this)&&$t(this)){const e=function(e){const t=D.call(document);return C(t)?t:0!=(te.call(e,t)&X)?t:null}(this);if(!C(e))return void e.blur()}return r.call(this)}get childNodes(){if(Ft(this)){const e=Mn(this);return yt(C(e)?[]:In(e,xn(this)))}return ue.call(this)}get children(){if(Ft(this)){const e=Mn(this),t=C(e)?[]:In(e,xn(this));return Tt(b.call(t,e=>e instanceof Element))}return Pe.call(this)}}}let vn;c(Node.prototype,"getRootNode",{value:gn,enumerable:!0,configurable:!0,writable:!0});const Nn={childList:!0},Tn=pt("slotchange");function On(e){const t=Mn(e);if(C(t))return[];const n=E.call(ue.call(e));return L.call(n,(e,n)=>(Cn(t,n)||N.call(e,n),e),[])}function Sn(e){const t=E.call(ue.call(e));return L.call(t,(e,t)=>(t instanceof Element&&_n(t)?N.apply(e,Sn(t)):N.call(e,t),e),[])}const{getRootNode:Ln}=Node.prototype;function Mn(e){if(!(e instanceof Node))return null;const t=Hn(e);if(_(t))return null;let n=e;for(;!C(n)&&kn(n)!==t;)n=ce.call(n);return C(n)?null:n}function _n(e){return"SLOT"===Ce.call(e)}function Cn(e,t){const n=Hn(t);return _(n)||kn(e)===n}function Rn(e){const t=Ht(e);return In(t,ue.call(t))}function In(e,t){const n=[];for(let o=0,r=t.length;o<r;o+=1){const r=t[o];Cn(e,r)&&N.call(n,r)}return n}function Pn(e,t){for(let n=0,o=t.length;n<o;n+=1)if(Cn(e,t[n]))return t[n];return null}function xn(e){let t;if(_(kn(e)))t=ue.call(e);else{const n=ye.call(e,"slot");t=L.call(n,(t,n)=>(Cn(e,n)&&N.apply(t,On(n)),t),[])}const n=Mn(e);return C(n)?[]:L.call(t,(e,t)=>(Cn(n,t)&&N.call(e,t),e),[])}const Dn="$$OwnerKey$$",An="$$OwnKey$$";Symbol("x").toString();function $n(e){return e[Dn]}function Hn(e){let t,n=e;for(;!C(n);){if(!_(t=n[Dn]))return t;n=ce.call(n)}}function kn(e){return e[An]}const Fn="$$ShadowTokenKey$$";function Bn(e,t){_(t)||(ge.call(e,t,""),e[Fn]=t)}function Wn(e,t){const n=Mn(e);if(t===n)return kt(n);if(t instanceof Element){if(Hn(e)===Hn(t))return t;if(!C(n)&&_n(t)){const e=Mn(t);if(!C(e)&&Cn(n,e))return e}}return null}function jn(e){const t=i(e).constructor;class n{constructor(){throw new TypeError("Illegal constructor")}hasChildNodes(){return Un(this).length>0}get firstChild(){return Un(this)[0]||null}get lastChild(){const e=Un(this);return e[e.length-1]||null}get textContent(){return bt(this)}set textContent(e){ae.call(this,e)}get childElementCount(){return this.children.length}get firstElementChild(){return this.children[0]||null}get lastElementChild(){const{children:e}=this;return e.item(e.length-1)||null}get assignedSlot(){const e=ce.call(this);return C(e)||!_n(e)||Hn(e)===Hn(this)?null:e}get parentNode(){const e=ce.call(this);return C(e)?e:Wn(this,e)}get parentElement(){const e=ce.call(this);if(C(e))return null;const t=Wn(this,e);return t instanceof Element?t:null}compareDocumentPosition(e){return Ln.call(this)===e?10:$n(this)!==$n(e)?35:te.call(this,e)}contains(e){return $n(this)===$n(e)&&0!=(te.call(this,e)&X)}cloneNode(e){const t=ee.call(this,!1);if(!e)return t;const n=Un(this);for(let e=0,o=n.length;e<o;e+=1)t.appendChild(n[e].cloneNode(!0));return t}}return a(n,t),a(n.prototype,t.prototype),n}const Un=function(e){return e.childNodes};document.elementFromPoint=function(e,t){const n=A.call(document,e,t);return C(n)?n:Be(document,Fe(n,!0))},c(document,"activeElement",{get(){let e=D.call(this);if(C(e))return e;for(;!_($n(e));)if(C(e=ie.call(e)))return null;return"HTML"===e.tagName&&(e=document.body),e},enumerable:!0,configurable:!0}),void 0===window.ShadowRoot&&(window.ShadowRoot=Wt);const qn=Object.getOwnPropertyDescriptor(Event.prototype,"composed");const Kn=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"click");function Gn(e){Object.defineProperty(e,"composed",{configurable:!0,enumerable:!0,get:()=>!0})}(function(){if(!qn)return!1;let e=new Event("click");const t=document.createElement("button");return t.addEventListener("click",t=>e=t),t.click(),!qn.get.call(e)})()&&(HTMLElement.prototype.click=function(){Se.call(this,"click",Gn);try{Kn.value.call(this)}finally{Le.call(this,"click",Gn)}}),void 0===Object.getOwnPropertyDescriptor(Event.prototype,"composed")&&function(){const e=l(r(null),{blur:1,focus:1,focusin:1,focusout:1,click:1,dblclick:1,mousedown:1,mouseenter:1,mouseleave:1,mousemove:1,mouseout:1,mouseover:1,mouseup:1,wheel:1,beforeinput:1,input:1,keydown:1,keyup:1,compositionstart:1,compositionupdate:1,compositionend:1,touchstart:1,touchend:1,touchmove:1,touchcancel:1,pointerover:1,pointerenter:1,pointerdown:1,pointermove:1,pointerup:1,pointercancel:1,pointerout:1,pointerleave:1,gotpointercapture:1,lostpointercapture:1,dragstart:1,drag:1,dragenter:1,dragleave:1,dragover:1,drop:1,dragend:1,DOMActivate:1,DOMFocusIn:1,DOMFocusOut:1,keypress:1});Object.defineProperties(Event.prototype,{composed:{get(){const{type:t}=this;return 1===e[t]},configurable:!0,enumerable:!0}})}();const{CustomEvent:Vn}=window;function Xn(e,t){const n=new Vn(e,t);return Object.defineProperties(n,{composed:{get:()=>!(!t||!t.composed),configurable:!0,enumerable:!0}}),n}window.CustomEvent!==Xn&&(window.CustomEvent=Xn,window.CustomEvent.prototype=Vn.prototype),function(){const e=Object.getOwnPropertyDescriptor(Event.prototype,"composed").get;Object.defineProperties(FocusEvent.prototype,{composed:{get(){const{isTrusted:t}=this,n=e.call(this);return!(!t||!1!==n)||n},enumerable:!0,configurable:!0}})}();const Yn=window.MutationObserver,{disconnect:zn,observe:Jn,takeRecords:Qn}=Yn.prototype,Zn="$$lwcObservedTargets$$",eo="$$lwcObserverCallbackWrapper$$";function to(e,t){const n=t[Zn],o=[];return S.call(n,e=>{const t=e instanceof window.ShadowRoot?kn(e.host):Hn(e);N.call(o,t)}),L.call(e,(e,t)=>{const{target:l,addedNodes:c,removedNodes:i,type:a}=t;if("childList"!==a||_(kn(l))){const n=l instanceof window.ShadowRoot?kn(l.host):Hn(l);-1!==v.call(o,n)&&N.call(e,t)}else{const a=Hn(c.length>0?c[0]:i[0]);-1!==v.call(o,a)&&(-1!==n.indexOf(l)?N.call(e,t):N.call(e,function(e){const{addedNodes:t,removedNodes:n,target:o,type:l}=e,c=r(MutationRecord.prototype);return f(c,{addedNodes:{get:()=>t,enumerable:!0,configurable:!0},removedNodes:{get:()=>n,enumerable:!0,configurable:!0},type:{get:()=>l,enumerable:!0,configurable:!0},target:{get:()=>o.shadowRoot,enumerable:!0,configurable:!0}}),c}(t)))}return e},[])}function no(e){const t=function(e){let t=e[eo];return _(t)&&(t=e[eo]=((t,n)=>{const o=to(t,n);0!==o.length&&e.call(n,o,n)})),t}(e),n=new Yn(t);return c(n,Zn,{value:[]}),n}function oo(){_(this[Zn])||(this[Zn].length=0),zn.call(this)}function ro(e,t){return _(this[Zn])||N.call(this[Zn],e),e instanceof Wt&&(e=e.host),Jn.call(this,e,t)}function lo(){return to(Qn.call(this),this)}window.MutationObserver=no,window.MutationObserver.prototype=Yn.prototype,window.MutationObserver.prototype.disconnect=oo,window.MutationObserver.prototype.observe=ro,window.MutationObserver.prototype.takeRecords=lo;const co=window.MutationObserver,io=co.prototype.observe;let ao;const uo={childList:!0,subtree:!0};function so(e,t,n){if($n(e)!==t&&(function(e,t){e[Dn]=t}(e,t),e instanceof Element)){Bn(e,n);const o=Un(e);for(let e=0,r=o.length;e<r;e+=1){so(o[e],t,n)}}}function fo(){return new co(e=>{S.call(e,e=>{const{target:t,addedNodes:n}=e,o=$n(t),r=function(e){return e[Fn]}(t);if(!_(o))for(let e=0,t=n.length;e<t;e+=1){so(n[e],o,r)}})})}e.PatchedElement=yn,e.PatchedIframeElement=function(e){const t=yn(e);return class extends t{get contentWindow(){const e=Ae.call(this);return e?(t=e,{postMessage(){return t.postMessage.apply(t,arguments)},blur(){return t.blur.apply(t,arguments)},close(){return t.close.apply(t,arguments)},focus(){return t.focus.apply(t,arguments)},get closed(){return t.closed},get frames(){return t.frames},get length(){return t.length},get location(){return t.location},set location(e){t.location=e},get opener(){return t.opener},get parent(){return t.parent},get self(){return t.self},get top(){return t.top},get window(){return t.window}}):e;var t}}},e.PatchedNode=jn,e.PatchedSlotElement=function(e){const t=yn(e),{addEventListener:n}=e;return class extends t{addEventListener(e,t,o){"slotchange"!==e||mt(this,Tn)||(gt(this,Tn,!0),vn||(vn=new qt(e=>{const t=[];S.call(e,e=>{const{target:n}=e;-1===v.call(t,n)&&(N.call(t,n),xe.call(n,new CustomEvent("slotchange")))})})),Kt.call(vn,this,Nn)),n.call(this,e,t,o)}assignedElements(e){const t=!_(e)&&R(e.flatten)?Sn(this):On(this);return b.call(t,e=>e instanceof Element)}assignedNodes(e){return!_(e)&&R(e.flatten)?Sn(this):On(this)}get name(){const e=he.call(this,"name");return C(e)?"":e}get childNodes(){const e=Mn(this);return yt(C(e)?[]:In(e,xn(this)))}get children(){const e=Mn(this),t=C(e)?[]:In(e,xn(this));return Tt(b.call(t,e=>e instanceof Element))}}},e.markElementAsPortal=function(e){_(ao)&&(ao=fo()),io.call(ao,e,uo)},e.patchEvent=ot,e.setCSSToken=Bn,Object.defineProperty(e,"__esModule",{value:!0})});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).SyntheticShadow={})}(this,function(e){"use strict";const{freeze:t,seal:n,keys:o,create:l,assign:r,defineProperty:c,getPrototypeOf:i,setPrototypeOf:a,getOwnPropertyDescriptor:u,getOwnPropertyNames:s,defineProperties:f,getOwnPropertySymbols:d,hasOwnProperty:p,preventExtensions:h,isExtensible:g}=Object,{concat:m,filter:b,find:E,slice:w,splice:y,unshift:v,indexOf:N,push:T,map:O,join:S,forEach:L,reduce:M,reverse:_}=Array.prototype;function C(e){return void 0===e}function R(e){return null===e}function D(e){return!0===e}function I(e){return!1===e}function P(e){return"function"==typeof e}function x(e,t){do{const n=u(e,t);if(!C(n))return n;e=i(e)}while(null!==e)}const A=u(Document.prototype,"activeElement").get,H=p.call(Document.prototype,"elementFromPoint")?Document.prototype.elementFromPoint:Document.prototype.msElementFromPoint,{createDocumentFragment:$,createElement:B,createElementNS:k,createTextNode:F,createComment:W,querySelector:j,querySelectorAll:U,getElementById:q,getElementsByClassName:K,getElementsByTagName:G,getElementsByTagNameNS:V}=Document.prototype,{getElementsByName:X}=HTMLDocument.prototype,{DOCUMENT_POSITION_CONTAINED_BY:Y,DOCUMENT_POSITION_CONTAINS:z,DOCUMENT_POSITION_PRECEDING:J,DOCUMENT_POSITION_FOLLOWING:Q,DOCUMENT_FRAGMENT_NODE:Z}=Node,{appendChild:ee,cloneNode:te,compareDocumentPosition:ne,hasChildNodes:oe,insertBefore:le,removeChild:re,replaceChild:ce}=Node.prototype,ie=u(Node.prototype,"parentNode").get,ae=p.call(Node.prototype,"parentElement")?u(Node.prototype,"parentElement").get:u(HTMLElement.prototype,"parentElement").get,ue=u(Node.prototype,"textContent").set,se=p.call(Node.prototype,"childNodes")?u(Node.prototype,"childNodes").get:u(HTMLElement.prototype,"childNodes").get,fe=u(Node.prototype,"nodeValue"),de=(fe.set,fe.get,p.call(Node.prototype,"isConnected")?u(Node.prototype,"isConnected").get:function(){return 0!=(ne.call(document,this)&Y)}),{hasAttribute:pe,getAttribute:he,getAttributeNS:ge,setAttribute:me,setAttributeNS:be,removeAttribute:Ee,removeAttributeNS:we,querySelector:ye,querySelectorAll:ve,getBoundingClientRect:Ne,getElementsByTagName:Te,getElementsByTagNameNS:Oe}=Element.prototype;let{addEventListener:Se,removeEventListener:Le}=Element.prototype;Se=Se.__lwcOriginal__||Se,Le=Le.__lwcOriginal__||Le;const Me=p.call(Element.prototype,"innerHTML")?u(Element.prototype,"innerHTML").set:u(HTMLElement.prototype,"innerHTML").set,_e=p.call(Element.prototype,"outerHTML")?u(Element.prototype,"outerHTML").set:u(HTMLElement.prototype,"outerHTML").set,Ce=u(Element.prototype,"tagName").get,Re=u(HTMLElement.prototype,"tabIndex").get,De=p.call(Element.prototype,"matches")?Element.prototype.matches:Element.prototype.msMatchesSelector,Ie=p.call(Element.prototype,"children")?u(Element.prototype,"children").get:u(HTMLElement.prototype,"children").get,{getElementsByClassName:Pe}=HTMLElement.prototype,xe=(void 0!==window.ShadowRoot&&u(window.ShadowRoot.prototype,"host").get,"EventTarget"in window?EventTarget.prototype.dispatchEvent:Node.prototype.dispatchEvent),Ae=void 0!==window.ShadowRoot,He=u(HTMLIFrameElement.prototype,"contentWindow").get,$e=u(Event.prototype,"target").get,Be=u(Event.prototype,"currentTarget").get,ke=u(FocusEvent.prototype,"relatedTarget").get;function Fe(e,t){const n=[];let o=e;const l=e===window?window:Mn.call(e);for(;o;)n.push(o),o=o.assignedSlot?o.assignedSlot:o.nodeType===Z&&o.host&&(t||o!==l)?o.host:o.parentNode;return n[n.length-1]===document&&n.push(window),n}function We(e,t){const n=Fe(e,!0),o=t;for(let e,t,l,r,c=0;c<o.length;c++)if((l=(e=o[c])===window?window:Mn.call(e))!==t&&(r=n.indexOf(l),t=l),!(l instanceof jt)||r>-1)return e;return null}let{addEventListener:je,removeEventListener:Ue}=window;function qe(e){let t=null;try{if(!(t=e.$$lwcEventWrapper$$)){const n="function"==typeof e;t=e.$$lwcEventWrapper$$=function(t){return function(e){const t=$e.call(e);return!!(t instanceof Node&&0!=(ne.call(document,t)&Y)&&$n(t))}(t)&&lt(t),n?e.call(this,t):e.handleEvent&&e.handleEvent(t)}}}catch(e){}return t}function Ke(e,t,n){const o=typeof t;if("function"!==o&&"object"!==o)return;if("object"===o&&(!t.handleEvent||"function"!=typeof t.handleEvent))return;const l=qe(t);je.call(this,e,l,n)}function Ge(e,t,n){const o=qe(t);Ue.call(this,e,o||t,n)}function Ve(e,t,n){const o=typeof t;if("function"!==o&&"object"!==o)return;if("object"===o&&(!t.handleEvent||"function"!=typeof t.handleEvent))return;const l=qe(t);Se.call(this,e,l,n)}function Xe(e,t,n){const o=qe(t);Le.call(this,e,o||t,n)}je=je.__lwcOriginal__||je,Ue=Ue.__lwcOriginal__||Ue,Ve.__lwcOriginal__=Se,Xe.__lwcOriginal__=Le,Ke.__lwcOriginal__=je,Ge.__lwcOriginal__=Ue,window.addEventListener=Ke,window.removeEventListener=Ge,Node.prototype.addEventListener=Ve,Node.prototype.removeEventListener=Xe;const{addEventListener:Ye,removeEventListener:ze}=Node.prototype;var Je;!function(e){e[e.CUSTOM_ELEMENT_LISTENER=1]="CUSTOM_ELEMENT_LISTENER",e[e.SHADOW_ROOT_LISTENER=2]="SHADOW_ROOT_LISTENER"}(Je||(Je={}));const Qe=new WeakMap;function Ze(e,t){return!!(ne.call(e,t)&Y)}const et={composed:!1};function tt(e,t){let n=Mn.call(e,t);return"mode"in n&&"delegatesFocus"in n&&(n=Bt(n)),n}function nt(){const e=Be.call(this),t=Fe($e.call(this),this.composed);return e instanceof Node?We(Qe.get(this)===Je.SHADOW_ROOT_LISTENER?kt(e):e,t):We(document,t)}function ot(){return Fe($e.call(this),this.composed)}function lt(e){if(Qe.has(e))return;f(e,{target:{get:nt,enumerable:!0,configurable:!0},composedPath:{value:ot,writable:!0,enumerable:!0,configurable:!0},srcElement:{get:nt,enumerable:!0,configurable:!0},path:{get:ot,enumerable:!0,configurable:!0}});const t=x(e,"relatedTarget");C(t)||c(e,"relatedTarget",{get(){const e=Qe.get(this),n=Be.call(this),o=t.get.call(this);return R(o)?null:We(e===Je.SHADOW_ROOT_LISTENER?kt(n):n,Fe(o,!0))},enumerable:!0,configurable:!0}),Qe.set(e,0)}const rt=new WeakMap;function ct(e){let t=rt.get(e);return C(t)&&(t=l(null),rt.set(e,t)),t}const it=new WeakMap;function at(e,t){if(!P(t))throw new TypeError;let n=it.get(t);return C(n)&&((n=function(n){const{composed:o}=n,l=$e.call(n),r=Be.call(n);if(l!==r){const c=tt(l,{composed:o});(Ze(c,r)||!1===o&&c===r)&&t.call(e,n)}}).placement=Je.SHADOW_ROOT_LISTENER,it.set(t,n)),n}const ut=new WeakMap;function st(e,t){if(!P(t))throw new TypeError;let n=ut.get(t);return C(n)&&((n=function(n){(function(e){const t=$e.call(e),n=Be.call(e),{composed:o}=e;return!0===o||t===n||Ze(tt(t,et),n)})(n)&&t.call(e,n)}).placement=Je.CUSTOM_ELEMENT_LISTENER,ut.set(t,n)),n}function ft(e){let t=!1,n=!1;const{type:o,stopImmediatePropagation:l,stopPropagation:r}=e,i=ct(Be.call(e))[o];c(e,"stopImmediatePropagation",{value(){t=!0,l.call(e)},writable:!0,enumerable:!0,configurable:!0}),c(e,"stopPropagation",{value(){n=!0,r.call(e)},writable:!0,enumerable:!0,configurable:!0});const a=w.call(i);function u(n){L.call(a,o=>{I(t)&&o.placement===n&&-1!==N.call(i,o)&&o.call(void 0,e)})}Qe.set(e,Je.SHADOW_ROOT_LISTENER),u(Je.SHADOW_ROOT_LISTENER),I(t)&&I(n)&&(Qe.set(e,Je.CUSTOM_ELEMENT_LISTENER),u(Je.CUSTOM_ELEMENT_LISTENER)),Qe.set(e,0)}function dt(e,t,n){const o=ct(e);let l=o[t];C(l)&&(l=o[t]=[]),0===l.length&&Ye.call(e,t,ft),T.call(l,n)}function pt(e,t,n){let o,l;C(l=ct(e)[t])||-1===(o=N.call(l,n))||(y.call(l,o,1),0===l.length&&ze.call(e,t,ft))}const ht="Symbol(x)"===Symbol("x").toString();function gt(e){return ht?Symbol(e):`$$lwc-${e}$$`}function mt(e,t,n){c(e,t,{value:n})}function bt(e,t){return e[t]}function Et(e){switch(e.nodeType){case Node.ELEMENT_NODE:{const t=xn(e);let n="";for(let e=0,o=t.length;e<o;e+=1)n+=Et(t[e]);return n}default:return e.nodeValue}}const wt=gt("items");function yt(){throw new TypeError("Illegal constructor")}function vt(e){const t=l(yt.prototype);return mt(t,wt,e),L.call(e,(e,n)=>{c(t,n,{value:e,enumerable:!0,configurable:!0})}),t}yt.prototype=l(NodeList.prototype,{constructor:{writable:!0,configurable:!0,value:yt},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return bt(this,wt).length}},forEach:{writable:!0,enumerable:!0,configurable:!0,value(e,t){L.call(bt(this,wt),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value(){return O.call(bt(this,wt),(e,t)=>[t,e])}},keys:{writable:!0,enumerable:!0,configurable:!0,value(){return O.call(bt(this,wt),(e,t)=>t)}},values:{writable:!0,enumerable:!0,configurable:!0,value(){return bt(this,wt)}},[Symbol.iterator]:{writable:!0,configurable:!0,value(){let e=0;return{next:()=>{const t=bt(this,wt);return e<t.length?{value:t[e++],done:!1}:{done:!0}}}}}}),a(yt,NodeList);const Nt=gt("items");function Tt(){throw new TypeError("Illegal constructor")}function Ot(e){const t=l(Tt.prototype);return mt(t,Nt,e),L.call(e,(e,n)=>{c(t,n,{value:e,enumerable:!0,configurable:!0})}),t}Tt.prototype=l(HTMLCollection.prototype,{constructor:{writable:!0,configurable:!0,value:Tt},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return bt(this,Nt).length}},namedItem:{writable:!0,enumerable:!0,configurable:!0,value(e){if(function(e){return"length"!==e&&isNaN(e)}(e)&&this[e])return this[e];const t=bt(this,Nt);for(let o=t.length-1;o>=0;o-=1){const l=t[o];if(((n=l).getAttribute("id")||n.getAttribute("name"))===e)return l}var n;return null}},forEach:{writable:!0,enumerable:!0,configurable:!0,value(e,t){L.call(bt(this,Nt),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value(){return O.call(bt(this,Nt),(e,t)=>[t,e])}},keys:{writable:!0,enumerable:!0,configurable:!0,value(){return O.call(bt(this,Nt),(e,t)=>t)}},values:{writable:!0,enumerable:!0,configurable:!0,value(){return bt(this,Nt)}},[Symbol.iterator]:{writable:!0,configurable:!0,value(){let e=0;return{next:()=>{const t=bt(this,Nt);return e<t.length?{value:t[e++],done:!1}:{done:!0}}}}}}),a(Tt,HTMLCollection);const St=/[&\u00A0"]/g,Lt=/[&\u00A0<>]/g,{replace:Mt,toLowerCase:_t}=String.prototype;function Ct(e){switch(e){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case" ":return"&nbsp;";default:return""}}function Rt(e){return Mt.call(e,St,Ct)}const Dt=new Set(["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"]),It=new Set(["STYLE","SCRIPT","XMP","IFRAME","NOEMBED","NOFRAMES","PLAINTEXT","NOSCRIPT"]);function Pt(e){switch(e.nodeType){case Node.ELEMENT_NODE:{const{attributes:t}=e,n=Ce.call(e);let o="<"+_t.call(n);for(let e,n=0;e=t[n];n++)o+=" "+e.name+'="'+Rt(e.value)+'"';return o+=">",Dt.has(n)?o:o+function(e){let t="";const n=xn(e);for(let e=0,o=n.length;e<o;e+=1)t+=Pt(n[e]);return t}(e)+"</"+_t.call(n)+">"}case Node.TEXT_NODE:{const{data:n,parentNode:o}=e;return o instanceof Element&&It.has(Ce.call(o))?n:(t=n,Mt.call(t,Lt,Ct))}case Node.COMMENT_NODE:return"\x3c!--"+e.data+"--\x3e";default:throw new Error}var t}const xt=gt("shadowRecord"),{createDocumentFragment:At}=document;function Ht(e){const t=bt(e,xt);if(C(t))throw new TypeError;return t}function $t(e){return Ht(e).delegatesFocus}function Bt(e){return Ht(e).host}function kt(e){return Ht(e).shadowRoot}function Ft(e){return!C(bt(e,xt))}const Wt={constructor:{writable:!0,configurable:!0,value:jt},toString:{writable:!0,configurable:!0,value:()=>"[object ShadowRoot]"}};function jt(){throw new TypeError("Illegal constructor")}r(Wt,{insertBefore:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return le.call(Bt(this),e,t),e}},removeChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return re.call(Bt(this),e),e}},appendChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return ee.call(Bt(this),e),e}},replaceChild:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return ce.call(Bt(this),e,t),t}},addEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,o){dt(Bt(e),t,at(e,n))}(this,e,t)}},removeEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,o){pt(Bt(e),t,at(e,n))}(this,e,t)}},baseURI:{enumerable:!0,configurable:!0,get(){return Bt(this).baseURI}},childNodes:{enumerable:!0,configurable:!0,get(){return vt(Dn(this))}},compareDocumentPosition:{writable:!0,enumerable:!0,configurable:!0,value(e){const t=Bt(this);return this===e?0:this.contains(e)?20:ne.call(t,e)&Y?37:35}},contains:{writable:!0,enumerable:!0,configurable:!0,value(e){if(this===e)return!0;const t=Bt(this);return 0!=(ne.call(t,e)&Y)&&Rn(t,e)}},firstChild:{enumerable:!0,configurable:!0,get(){return qn(this)[0]||null}},lastChild:{enumerable:!0,configurable:!0,get(){const e=qn(this);return e[e.length-1]||null}},hasChildNodes:{writable:!0,enumerable:!0,configurable:!0,value(){return qn(this).length>0}},isConnected:{enumerable:!0,configurable:!0,get(){return de.call(Bt(this))}},nextSibling:{enumerable:!0,configurable:!0,get:()=>null},previousSibling:{enumerable:!0,configurable:!0,get:()=>null},nodeName:{enumerable:!0,configurable:!0,get:()=>"#document-fragment"},nodeType:{enumerable:!0,configurable:!0,get:()=>11},nodeValue:{enumerable:!0,configurable:!0,get:()=>null},ownerDocument:{enumerable:!0,configurable:!0,get(){return Bt(this).ownerDocument}},parentElement:{enumerable:!0,configurable:!0,get:()=>null},parentNode:{enumerable:!0,configurable:!0,get:()=>null},textContent:{enumerable:!0,configurable:!0,get(){const e=qn(this);let t="";for(let n=0,o=e.length;n<o;n+=1)t+=Et(e[n]);return t},set(e){const t=Bt(this);ue.call(t,e)}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value(e){const t=!C(e)&&!!e.composed;return I(t)?this:Mn.call(Bt(this),{composed:t})}}},{childElementCount:{enumerable:!0,configurable:!0,get(){return this.children.length}},children:{enumerable:!0,configurable:!0,get(){return Ot(b.call(Dn(this),e=>e instanceof Element))}},firstElementChild:{enumerable:!0,configurable:!0,get(){return this.children[0]||null}},lastElementChild:{enumerable:!0,configurable:!0,get(){const{children:e}=this;return e.item(e.length-1)||null}},querySelector:{writable:!0,enumerable:!0,configurable:!0,value(e){return function(e,t){const n=Bt(e),o=ve.call(n,t);return Pn(n,o)}(this,e)}},querySelectorAll:{writable:!0,enumerable:!0,configurable:!0,value(e){return vt(function(e,t){const n=Bt(e),o=ve.call(n,t);return In(n,o)}(this,e))}}},{innerHTML:{enumerable:!0,configurable:!0,get(){const e=qn(this);let t="";for(let n=0,o=e.length;n<o;n+=1)t+=Pt(e[n]);return t},set(e){const t=Bt(this);Me.call(t,e)}}},{activeElement:{enumerable:!0,configurable:!0,get(){const e=A.call(document);if(R(e))return e;const t=Bt(this);if(0==(ne.call(t,e)&Y))return null;let n=e;for(;!Rn(t,n);)n=ae.call(n);return Cn(n)?null:n}},delegatesFocus:{configurable:!0,get(){return Ht(this).delegatesFocus}},elementFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){const n=H.call(document,e,t);return R(n)?n:We(this,Fe(n,!0))}},elementsFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){throw new Error}},getSelection:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error}},host:{enumerable:!0,configurable:!0,get(){return Bt(this)}},mode:{configurable:!0,get(){return Ht(this).mode}},styleSheets:{enumerable:!0,configurable:!0,get(){throw new Error}}}),jt.prototype=l(DocumentFragment.prototype,Wt),Ae&&a(jt.prototype,window.ShadowRoot.prototype);let Ut=window.MutationObserver;if(void 0===Ut){function qt(){}qt.prototype={observe(){}},Ut=window.MutationObserver=qt}const Kt=Ut,Gt=Kt.prototype.observe,Vt='\n button:not([tabindex="-1"]):not([disabled]),\n [contenteditable]:not([tabindex="-1"]),\n video[controls]:not([tabindex="-1"]),\n audio[controls]:not([tabindex="-1"]),\n [href]:not([tabindex="-1"]),\n input:not([tabindex="-1"]):not([disabled]),\n select:not([tabindex="-1"]):not([disabled]),\n textarea:not([tabindex="-1"]):not([disabled]),\n [tabindex="0"]\n';function Xt(e){const{width:t,height:n}=Ne.call(e);return(t>0||n>0)&&"hidden"!==getComputedStyle(e).visibility}function Yt(e){return De.call(e,Vt)&&Xt(e)}const zt={IFRAME:1,VIDEO:1,AUDIO:1,A:1,INPUT:1,SELECT:1,TEXTAREA:1,BUTTON:1};function Jt(e){const t=Ce.call(e);return Xt(e)&&(function(e){if(I(pe.call(e,"tabindex")))return!1;const t=he.call(e,"tabindex");return""!==t&&("0"===t||"-1"===t)}(e)||pe.call(e,"contenteditable")||p.call(zt,t))}function Qt(e){for(let t=0,n=e.length;t<n;t+=1){const n=e[t];if(Yt(n))return n}return null}function Zt(e){const t=U.call(document,Vt),n=w.call(ve.call(e,Vt)),o=n[0],l=n[n.length-1],r=N.call(t,e),c=r>-1?r:N.call(t,o),i=0===n.length?c+1:N.call(t,l)+1;return{prev:w.call(t,0,c),inner:n,next:w.call(t,i)}}function en(e,t){const n=ne.call(e,t);return n&Y?0:n&J?1:n&Q?2:-1}function tn(e){e.preventDefault(),e.stopPropagation()}function nn(e){je.call(window,"focusin",tn,!0),je.call(window,"focusout",tn,!0),e(),Ue.call(window,"focusin",tn,!0),Ue.call(window,"focusout",tn,!0)}function on(e,t){nn(()=>{const n=function(e){const{next:t}=e;return Qt(t)}(t);R(n)?e.blur():n.focus()})}function ln(e,t){nn(()=>{const n=function(e){const{prev:t}=e;return Qt(_.call(t))}(t);R(n)?e.blur():n.focus()})}function rn(e,t){return function(e){for(let t=e.length-1;t>=0;t-=1){const n=e[t];if(Yt(n))return n}return null}(t.inner)===e}function cn(e){const t=Be.call(e),n=$e.call(e);if(t!==n)return;const o=ke.call(e);if(R(o))return;const l=Zt(t);if(1===en(t,o)){const e=Qt(l.inner);R(e)?on(n,l):nn(()=>{e.focus()})}else t===n&&ln(t,l)}function an(e){const t=Be.call(e),n=$e.call(e),o=ke.call(e),l=Zt(t),r=function(e,t){return Qt(t.inner)===e}(n,l),c=rn(n,l);if(!(I(r)&&I(c)||R(o)))switch(en(t,o)){case 1:r&&on(n,l);break;case 2:c&&ln(n,l)}}function un(e){const t=Be.call(e);Le.call(t,"focusin",an),setTimeout(()=>{R(t)||-1!==Re.call(t)||Se.call(t,"focusin",an)},0)}function sn(e){const t=Be.call(e),n=ke.call(e);(R(n)||0!==en(t,n))&&(Le.call(t,"focusin",un,!0),Le.call(t,"focusout",sn,!0))}function fn(e){if(function(e){return e!==A.call(document)&&Jt(e)}($e.call(e))){const t=Be.call(e);Se.call(t,"focusin",un,!0),Se.call(t,"focusout",sn,!0)}}function dn(e){Le.call(e,"focusin",cn,!0)}function pn(e){Le.call(e,"focusin",an),Le.call(e,"mousedown",fn,!0)}const hn=Node.prototype.getRootNode,gn=C(hn)?function(){let e,t=this;for(;!R(e=ie.call(t));)t=e;return t}:hn;function mn(e){return D(!C(e)&&!!e.composed)?gn.call(this,e):function(e){const t=_n(e);return R(t)?gn.call(e):kt(t)}(this)}function bn(e){let t=ae.call(e);for(;!R(t)&&Cn(t);)e=t,t=ae.call(e);return e}function En(e,t){const n=kn(e);let o=t instanceof Element?t:ae.call(t);for(;!R(o)&&o!==e;){const t=Bn(o),l=ae.call(o);if(t===n)return Cn(o);if(l===e)return!1;if(R(l)||Bn(l)===t)o=l;else{if(!Cn(l))return!1;if(!R(o=_n(bn(l)))){if(o===e)return!0;if(Bn(o)===n)return!0}}}return!1}function wn(e,t){const n=_n(e);if(R(n))return[];const o=ve.call(e,t);return kn(e)?function(e,t){const n=[];for(let o=0,l=t.length;o<l;o+=1){const l=t[o];!Rn(e,l)&&En(e,l)&&T.call(n,l)}return n}(e,o):In(n,o)}function yn(e,t){const n=_n(e);if(R(n))return null;const o=ve.call(e,t);return kn(e)?function(e,t){for(let n=0,o=t.length;n<o;n+=1){const o=t[n];if(!Rn(e,o)&&En(e,o))return o}return null}(e,o):Pn(n,o)}function vn(e){const t=Un(e),{addEventListener:n,removeEventListener:o,blur:l}=e;return class extends t{querySelector(e){return yn(this,e)}querySelectorAll(e){return vt(wn(this,e))}get innerHTML(){const e=qn(this);let t="";for(let n=0,o=e.length;n<o;n+=1)t+=Pt(e[n]);return t}set innerHTML(e){Me.call(this,e)}get outerHTML(){return Pt(this)}set outerHTML(e){_e.call(this,e)}attachShadow(e){return function(e,t){if(!C(bt(e,xt)))throw new Error("Failed to execute 'attachShadow' on 'Element': Shadow root cannot be created on a host which already hosts a shadow tree.");const{mode:n,delegatesFocus:o}=t,l=At.call(document),r={mode:n,delegatesFocus:!!o,host:e,shadowRoot:l};return mt(l,xt,r),mt(e,xt,r),a(l,jt.prototype),l}(this,e)}addEventListener(e,t,o){Ft(this)?function(e,t,n,o){dt(e,t,st(e,n))}(this,e,t):n.call(this,e,t,o)}removeEventListener(e,t,n){Ft(this)?function(e,t,n,o){pt(e,t,st(e,n))}(this,e,t):o.call(this,e,t,n)}get shadowRoot(){if(Ft(this)){const e=kt(this);if("open"===e.mode)return e}return null}get tabIndex(){if(Ft(this)&&$t(this)&&I(pe.call(this,"tabindex")))return 0;return x(t.prototype,"tabIndex").get.call(this)}set tabIndex(e){if(Ft(this)){const o=$t(this),l=Re.call(this),r=pe.call(this,"tabindex");x(t.prototype,"tabIndex").set.call(this,e);const c=Re.call(this),i=pe.call(this,"tabindex"),a=l!==c;if(r&&(a||I(i))&&(-1===l&&pn(this),0===l&&o&&dn(this)),I(i))return;if(r&&i&&I(a))return;return-1===c&&(dn(n=this),Se.call(n,"mousedown",fn,!0),Se.call(n,"focusin",an)),void(0===c&&o&&function(e){pn(e),Se.call(e,"focusin",cn,!0)}(this))}var n;x(t.prototype,"tabIndex").set.call(this,e)}blur(){if(Ft(this)&&$t(this)){const e=function(e){const t=A.call(document);return R(t)?t:0!=(ne.call(e,t)&Y)?t:null}(this);if(!R(e))return void e.blur()}return l.call(this)}get childNodes(){if(Ft(this)){const e=_n(this);return vt(R(e)?[]:In(e,xn(this)))}return se.call(this)}get children(){if(Ft(this)){const e=_n(this),t=R(e)?[]:In(e,xn(this));return Ot(b.call(t,e=>e instanceof Element))}return Ie.call(this)}}}let Nn;c(Node.prototype,"getRootNode",{value:mn,enumerable:!0,configurable:!0,writable:!0});const Tn={childList:!0},On=gt("slotchange");function Sn(e){const t=_n(e);if(R(t))return[];const n=w.call(se.call(e));return M.call(n,(e,n)=>(Rn(t,n)||T.call(e,n),e),[])}function Ln(e){const t=w.call(se.call(e));return M.call(t,(e,t)=>(t instanceof Element&&Cn(t)?T.apply(e,Ln(t)):T.call(e,t),e),[])}const{getRootNode:Mn}=Node.prototype;function _n(e){if(!(e instanceof Node))return null;const t=Bn(e);if(C(t))return null;let n=e;for(;!R(n)&&kn(n)!==t;)n=ie.call(n);return R(n)?null:n}function Cn(e){return"SLOT"===Ce.call(e)}function Rn(e,t){const n=Bn(t);return C(n)||kn(e)===n}function Dn(e){const t=Bt(e);return In(t,se.call(t))}function In(e,t){const n=[];for(let o=0,l=t.length;o<l;o+=1){const l=t[o];Rn(e,l)&&T.call(n,l)}return n}function Pn(e,t){for(let n=0,o=t.length;n<o;n+=1)if(Rn(e,t[n]))return t[n];return null}function xn(e){let t;if(C(kn(e)))t=se.call(e);else{const n=ve.call(e,"slot");t=M.call(n,(t,n)=>(Rn(e,n)&&T.apply(t,Sn(n)),t),[])}const n=_n(e);return R(n)?[]:M.call(t,(e,t)=>(Rn(n,t)&&T.call(e,t),e),[])}const An="$$OwnerKey$$",Hn="$$OwnKey$$";Symbol("x").toString();function $n(e){return e[An]}function Bn(e){let t,n=e;for(;!R(n);){if(!C(t=n[An]))return t;n=ie.call(n)}}function kn(e){return e[Hn]}const Fn="$$ShadowTokenKey$$";function Wn(e,t){C(t)||(me.call(e,t,""),e[Fn]=t)}function jn(e,t){const n=_n(e);if(t===n)return kt(n);if(t instanceof Element){if(Bn(e)===Bn(t))return t;if(!R(n)&&Cn(t)){const e=_n(t);if(!R(e)&&Rn(n,e))return e}}return null}function Un(e){const t=i(e).constructor;class n{constructor(){throw new TypeError("Illegal constructor")}hasChildNodes(){return qn(this).length>0}get firstChild(){return qn(this)[0]||null}get lastChild(){const e=qn(this);return e[e.length-1]||null}get textContent(){return Et(this)}set textContent(e){ue.call(this,e)}get childElementCount(){return this.children.length}get firstElementChild(){return this.children[0]||null}get lastElementChild(){const{children:e}=this;return e.item(e.length-1)||null}get assignedSlot(){const e=ie.call(this);return R(e)||!Cn(e)||Bn(e)===Bn(this)?null:e}get parentNode(){const e=ie.call(this);return R(e)?e:jn(this,e)}get parentElement(){const e=ie.call(this);if(R(e))return null;const t=jn(this,e);return t instanceof Element?t:null}compareDocumentPosition(e){return Mn.call(this)===e?10:$n(this)!==$n(e)?35:ne.call(this,e)}contains(e){return $n(this)===$n(e)&&0!=(ne.call(this,e)&Y)}cloneNode(e){const t=te.call(this,!1);if(!e)return t;const n=qn(this);for(let e=0,o=n.length;e<o;e+=1)t.appendChild(n[e].cloneNode(!0));return t}}return a(n,t),a(n.prototype,t.prototype),n}const qn=function(e){return e.childNodes};document.elementFromPoint=function(e,t){const n=H.call(document,e,t);return R(n)?n:We(document,Fe(n,!0))},c(document,"activeElement",{get(){let e=A.call(this);if(R(e))return e;for(;!C($n(e));)if(R(e=ae.call(e)))return null;return"HTML"===e.tagName&&(e=document.body),e},enumerable:!0,configurable:!0}),c(Document.prototype,"getElementById",{value(){const e=q.apply(this,w.call(arguments));if(R(e))return null;const t=$n(this);return $n(e)===t?e:null},writable:!0,enumerable:!0,configurable:!0}),c(Document.prototype,"querySelector",{value(){const e=U.apply(this,w.call(arguments)),t=$n(this),n=E.call(e,e=>$n(e)===t);return C(n)?null:n},writable:!0,enumerable:!0,configurable:!0}),c(Document.prototype,"querySelectorAll",{value(){const e=U.apply(this,w.call(arguments)),t=$n(this);return vt(b.call(e,e=>$n(e)===t))},writable:!0,enumerable:!0,configurable:!0}),c(Document.prototype,"getElementsByClassName",{value(){const e=K.apply(this,w.call(arguments)),t=$n(this);return Ot(b.call(e,e=>$n(e)===t))},writable:!0,enumerable:!0,configurable:!0}),c(Document.prototype,"getElementsByTagName",{value(){const e=G.apply(this,w.call(arguments)),t=$n(this);return vt(b.call(e,e=>$n(e)===t))},writable:!0,enumerable:!0,configurable:!0}),c(Document.prototype,"getElementsByTagNameNS",{value(){const e=V.apply(this,w.call(arguments)),t=$n(this);return vt(b.call(e,e=>$n(e)===t))},writable:!0,enumerable:!0,configurable:!0}),c(u(HTMLDocument.prototype,"getElementsByName")?HTMLDocument.prototype:Document.prototype,"getElementsByName",{value(){const e=X.apply(this,w.call(arguments)),t=$n(this);return vt(b.call(e,e=>$n(e)===t))},writable:!0,enumerable:!0,configurable:!0}),function(){const e=HTMLBodyElement.prototype;c(e,"querySelector",{value(){const e=ve.apply(this,w.call(arguments)),t=$n(this),n=E.call(e,e=>$n(e)===t);return C(n)?null:n},writable:!0,enumerable:!0,configurable:!0}),c(e,"querySelectorAll",{value(){const e=ve.apply(this,w.call(arguments)),t=$n(this);return vt(b.call(e,e=>$n(e)===t))},writable:!0,enumerable:!0,configurable:!0}),c(e,"getElementsByClassName",{value(){const e=Pe.apply(this,w.call(arguments)),t=$n(this);return Ot(b.call(e,e=>$n(e)===t))},writable:!0,enumerable:!0,configurable:!0}),c(e,"getElementsByTagName",{value(){const e=Te.apply(this,w.call(arguments)),t=$n(this);return vt(b.call(e,e=>$n(e)===t))},writable:!0,enumerable:!0,configurable:!0}),c(e,"getElementsByTagNameNS",{value(){const e=Oe.apply(this,w.call(arguments)),t=$n(this);return vt(b.call(e,e=>$n(e)===t))},writable:!0,enumerable:!0,configurable:!0})}(),void 0===window.ShadowRoot&&(window.ShadowRoot=jt);const Kn=Object.getOwnPropertyDescriptor(Event.prototype,"composed");const Gn=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"click");function Vn(e){Object.defineProperty(e,"composed",{configurable:!0,enumerable:!0,get:()=>!0})}(function(){if(!Kn)return!1;let e=new Event("click");const t=document.createElement("button");return t.addEventListener("click",t=>e=t),t.click(),!Kn.get.call(e)})()&&(HTMLElement.prototype.click=function(){Se.call(this,"click",Vn);try{Gn.value.call(this)}finally{Le.call(this,"click",Vn)}}),void 0===Object.getOwnPropertyDescriptor(Event.prototype,"composed")&&function(){const e=r(l(null),{blur:1,focus:1,focusin:1,focusout:1,click:1,dblclick:1,mousedown:1,mouseenter:1,mouseleave:1,mousemove:1,mouseout:1,mouseover:1,mouseup:1,wheel:1,beforeinput:1,input:1,keydown:1,keyup:1,compositionstart:1,compositionupdate:1,compositionend:1,touchstart:1,touchend:1,touchmove:1,touchcancel:1,pointerover:1,pointerenter:1,pointerdown:1,pointermove:1,pointerup:1,pointercancel:1,pointerout:1,pointerleave:1,gotpointercapture:1,lostpointercapture:1,dragstart:1,drag:1,dragenter:1,dragleave:1,dragover:1,drop:1,dragend:1,DOMActivate:1,DOMFocusIn:1,DOMFocusOut:1,keypress:1});Object.defineProperties(Event.prototype,{composed:{get(){const{type:t}=this;return 1===e[t]},configurable:!0,enumerable:!0}})}();const{CustomEvent:Xn}=window;function Yn(e,t){const n=new Xn(e,t);return Object.defineProperties(n,{composed:{get:()=>!(!t||!t.composed),configurable:!0,enumerable:!0}}),n}window.CustomEvent!==Yn&&(window.CustomEvent=Yn,window.CustomEvent.prototype=Xn.prototype),function(){const e=Object.getOwnPropertyDescriptor(Event.prototype,"composed").get;Object.defineProperties(FocusEvent.prototype,{composed:{get(){const{isTrusted:t}=this,n=e.call(this);return!(!t||!1!==n)||n},enumerable:!0,configurable:!0}})}();const zn=window.MutationObserver,{disconnect:Jn,observe:Qn,takeRecords:Zn}=zn.prototype,eo="$$lwcObservedTargets$$",to="$$lwcObserverCallbackWrapper$$";function no(e,t){const n=t[eo],o=[];return L.call(n,e=>{const t=e instanceof window.ShadowRoot?kn(e.host):Bn(e);T.call(o,t)}),M.call(e,(e,t)=>{const{target:r,addedNodes:c,removedNodes:i,type:a}=t;if("childList"!==a||C(kn(r))){const n=r instanceof window.ShadowRoot?kn(r.host):Bn(r);-1!==N.call(o,n)&&T.call(e,t)}else{const a=Bn(c.length>0?c[0]:i[0]);-1!==N.call(o,a)&&(-1!==n.indexOf(r)?T.call(e,t):T.call(e,function(e){const{addedNodes:t,removedNodes:n,target:o,type:r}=e,c=l(MutationRecord.prototype);return f(c,{addedNodes:{get:()=>t,enumerable:!0,configurable:!0},removedNodes:{get:()=>n,enumerable:!0,configurable:!0},type:{get:()=>r,enumerable:!0,configurable:!0},target:{get:()=>o.shadowRoot,enumerable:!0,configurable:!0}}),c}(t)))}return e},[])}function oo(e){const t=function(e){let t=e[to];return C(t)&&(t=e[to]=((t,n)=>{const o=no(t,n);0!==o.length&&e.call(n,o,n)})),t}(e),n=new zn(t);return c(n,eo,{value:[]}),n}function lo(){C(this[eo])||(this[eo].length=0),Jn.call(this)}function ro(e,t){return C(this[eo])||T.call(this[eo],e),e instanceof jt&&(e=e.host),Qn.call(this,e,t)}function co(){return no(Zn.call(this),this)}window.MutationObserver=oo,window.MutationObserver.prototype=zn.prototype,window.MutationObserver.prototype.disconnect=lo,window.MutationObserver.prototype.observe=ro,window.MutationObserver.prototype.takeRecords=co;const io=window.MutationObserver,ao=io.prototype.observe;let uo;const so={childList:!0,subtree:!0};function fo(e,t,n){if($n(e)!==t&&(function(e,t){e[An]=t}(e,t),e instanceof Element)){Wn(e,n);const o=qn(e);for(let e=0,l=o.length;e<l;e+=1){fo(o[e],t,n)}}}function po(){return new io(e=>{L.call(e,e=>{const{target:t,addedNodes:n}=e,o=$n(t),l=function(e){return e[Fn]}(t);if(!C(o))for(let e=0,t=n.length;e<t;e+=1){fo(n[e],o,l)}})})}e.PatchedElement=vn,e.PatchedIframeElement=function(e){const t=vn(e);return class extends t{get contentWindow(){const e=He.call(this);return e?(t=e,{postMessage(){return t.postMessage.apply(t,arguments)},blur(){return t.blur.apply(t,arguments)},close(){return t.close.apply(t,arguments)},focus(){return t.focus.apply(t,arguments)},get closed(){return t.closed},get frames(){return t.frames},get length(){return t.length},get location(){return t.location},set location(e){t.location=e},get opener(){return t.opener},get parent(){return t.parent},get self(){return t.self},get top(){return t.top},get window(){return t.window}}):e;var t}}},e.PatchedNode=Un,e.PatchedSlotElement=function(e){const t=vn(e),{addEventListener:n}=e;return class extends t{addEventListener(e,t,o){"slotchange"!==e||bt(this,On)||(mt(this,On,!0),Nn||(Nn=new Kt(e=>{const t=[];L.call(e,e=>{const{target:n}=e;-1===N.call(t,n)&&(T.call(t,n),xe.call(n,new CustomEvent("slotchange")))})})),Gt.call(Nn,this,Tn)),n.call(this,e,t,o)}assignedElements(e){const t=!C(e)&&D(e.flatten)?Ln(this):Sn(this);return b.call(t,e=>e instanceof Element)}assignedNodes(e){return!C(e)&&D(e.flatten)?Ln(this):Sn(this)}get name(){const e=he.call(this,"name");return R(e)?"":e}get childNodes(){const e=_n(this);return vt(R(e)?[]:In(e,xn(this)))}get children(){const e=_n(this),t=R(e)?[]:In(e,xn(this));return Ot(b.call(t,e=>e instanceof Element))}}},e.markElementAsPortal=function(e){C(uo)&&(uo=po()),ao.call(uo,e,so)},e.patchEvent=lt,e.setCSSToken=Wn,Object.defineProperty(e,"__esModule",{value:!0})});

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).SyntheticShadow={})}(this,function(e){"use strict";var t=Object.create,n=Object.assign,r=Object.defineProperty,o=Object.getPrototypeOf,l=Object.setPrototypeOf,i=Object.getOwnPropertyDescriptor,a=Object.defineProperties,u=Object.hasOwnProperty,c=Array.prototype,f=c.filter,s=c.slice,p=c.splice,d=c.indexOf,h=c.push,b=c.map,v=c.forEach,g=c.reduce,m=c.reverse;function y(e){return void 0===e}function w(e){return null===e}function E(e){return!0===e}function O(e){return!1===e}function N(e){return"function"==typeof e}function T(e,t){do{var n=i(e,t);if(!y(n))return n;e=o(e)}while(null!==e)}var S=i(Document.prototype,"activeElement").get,_=u.call(Document.prototype,"elementFromPoint")?Document.prototype.elementFromPoint:Document.prototype.msElementFromPoint,L=Document.prototype,M=(L.createDocumentFragment,L.createElement,L.createElementNS,L.createTextNode,L.createComment,L.querySelector,L.querySelectorAll),P=(L.getElementById,L.getElementsByClassName,L.getElementsByName,L.getElementsByTagName,L.getElementsByTagNameNS,Node.DOCUMENT_POSITION_CONTAINED_BY),C=(Node.DOCUMENT_POSITION_CONTAINS,Node.DOCUMENT_POSITION_PRECEDING),R=Node.DOCUMENT_POSITION_FOLLOWING,I=Node.DOCUMENT_FRAGMENT_NODE,D=Node.prototype,A=D.appendChild,j=D.cloneNode,x=D.compareDocumentPosition,$=(D.hasChildNodes,D.insertBefore),H=D.removeChild,F=D.replaceChild,k=i(Node.prototype,"parentNode").get,B=u.call(Node.prototype,"parentElement")?i(Node.prototype,"parentElement").get:i(HTMLElement.prototype,"parentElement").get,W=i(Node.prototype,"textContent").set,U=u.call(Node.prototype,"childNodes")?i(Node.prototype,"childNodes").get:i(HTMLElement.prototype,"childNodes").get,q=i(Node.prototype,"nodeValue"),K=(q.set,q.get,u.call(Node.prototype,"isConnected")?i(Node.prototype,"isConnected").get:function(){return 0!=(x.call(document,this)&P)}),G=Element.prototype,V=G.hasAttribute,X=G.getAttribute,Y=(G.getAttributeNS,G.setAttribute),z=(G.setAttributeNS,G.removeAttribute,G.removeAttributeNS,G.querySelector,G.querySelectorAll),J=G.getBoundingClientRect,Q=(G.getElementsByTagName,G.getElementsByClassName,G.getElementsByTagNameNS,Element.prototype),Z=Q.addEventListener,ee=Q.removeEventListener;Z=Z.__lwcOriginal__||Z,ee=ee.__lwcOriginal__||ee;var te=u.call(Element.prototype,"innerHTML")?i(Element.prototype,"innerHTML").set:i(HTMLElement.prototype,"innerHTML").set,ne=u.call(Element.prototype,"outerHTML")?i(Element.prototype,"outerHTML").set:i(HTMLElement.prototype,"outerHTML").set,re=i(Element.prototype,"tagName").get,oe=i(HTMLElement.prototype,"tabIndex").get,le=u.call(Element.prototype,"matches")?Element.prototype.matches:Element.prototype.msMatchesSelector,ie=u.call(Element.prototype,"children")?i(Element.prototype,"children").get:i(HTMLElement.prototype,"children").get,ae=(void 0!==window.ShadowRoot&&i(window.ShadowRoot.prototype,"host").get,"EventTarget"in window?EventTarget.prototype.dispatchEvent:Node.prototype.dispatchEvent),ue=void 0!==window.ShadowRoot,ce=i(HTMLIFrameElement.prototype,"contentWindow").get,fe=i(Event.prototype,"target").get,se=i(Event.prototype,"currentTarget").get,pe=i(FocusEvent.prototype,"relatedTarget").get;function de(e,t){for(var n=[],r=e,o=e===window?window:ln.call(e);r;)n.push(r),r=r.assignedSlot?r.assignedSlot:r.nodeType===I&&r.host&&(t||r!==o)?r.host:r.parentNode;return n[n.length-1]===document&&n.push(window),n}function he(e,t){for(var n=de(e,!0),r=t,o=0,l=void 0,i=void 0,a=void 0,u=void 0;o<r.length;o++)if((a=(l=r[o])===window?window:ln.call(l))!==i&&(u=n.indexOf(a),i=a),!(a instanceof yt)||u>-1)return l;return null}var be=window.addEventListener,ve=window.removeEventListener;function ge(e){var t=null;try{if(!(t=e.$$lwcEventWrapper$$)){var n="function"==typeof e;t=e.$$lwcEventWrapper$$=function(t){return function(e){var t=fe.call(e);return!!(t instanceof Node&&0!=(x.call(document,t)&P)&&vn(t))}(t)&&Ie(t),n?e.call(this,t):e.handleEvent&&e.handleEvent(t)}}}catch(e){}return t}function me(e,t,n){var r=typeof t;if(("function"===r||"object"===r)&&("object"!==r||t.handleEvent&&"function"==typeof t.handleEvent)){var o=ge(t);be.call(this,e,o,n)}}function ye(e,t,n){var r=ge(t);ve.call(this,e,r||t,n)}function we(e,t,n){var r=typeof t;if(("function"===r||"object"===r)&&("object"!==r||t.handleEvent&&"function"==typeof t.handleEvent)){var o=ge(t);Z.call(this,e,o,n)}}function Ee(e,t,n){var r=ge(t);ee.call(this,e,r||t,n)}be=be.__lwcOriginal__||be,ve=ve.__lwcOriginal__||ve,we.__lwcOriginal__=Z,Ee.__lwcOriginal__=ee,me.__lwcOriginal__=be,ye.__lwcOriginal__=ve,window.addEventListener=me,window.removeEventListener=ye,Node.prototype.addEventListener=we,Node.prototype.removeEventListener=Ee;var Oe,Ne=Node.prototype,Te=Ne.addEventListener,Se=Ne.removeEventListener;!function(e){e[e.CUSTOM_ELEMENT_LISTENER=1]="CUSTOM_ELEMENT_LISTENER",e[e.SHADOW_ROOT_LISTENER=2]="SHADOW_ROOT_LISTENER"}(Oe||(Oe={}));var _e=new WeakMap;function Le(e,t){return!!(x.call(e,t)&P)}var Me={composed:!1};function Pe(e,t){var n=ln.call(e,t);return"mode"in n&&"delegatesFocus"in n&&(n=bt(n)),n}function Ce(){var e=se.call(this),t=de(fe.call(this),this.composed);return e instanceof Node?he(_e.get(this)===Oe.SHADOW_ROOT_LISTENER?vt(e):e,t):he(document,t)}function Re(){return de(fe.call(this),this.composed)}function Ie(e){if(!_e.has(e)){a(e,{target:{get:Ce,enumerable:!0,configurable:!0},composedPath:{value:Re,writable:!0,enumerable:!0,configurable:!0},srcElement:{get:Ce,enumerable:!0,configurable:!0},path:{get:Re,enumerable:!0,configurable:!0}});var t=T(e,"relatedTarget");y(t)||r(e,"relatedTarget",{get:function(){var e=_e.get(this),n=se.call(this),r=t.get.call(this);return w(r)?null:he(e===Oe.SHADOW_ROOT_LISTENER?vt(n):n,de(r,!0))},enumerable:!0,configurable:!0}),_e.set(e,0)}}var De=new WeakMap;function Ae(e){var n=De.get(e);return y(n)&&(n=t(null),De.set(e,n)),n}var je=new WeakMap;function xe(e,t){if(!N(t))throw new TypeError;var n=je.get(t);return y(n)&&((n=function(n){var r=n.composed,o=fe.call(n),l=se.call(n);if(o!==l){var i=Pe(o,{composed:r});(Le(i,l)||!1===r&&i===l)&&t.call(e,n)}}).placement=Oe.SHADOW_ROOT_LISTENER,je.set(t,n)),n}var $e=new WeakMap;function He(e,t){if(!N(t))throw new TypeError;var n=$e.get(t);return y(n)&&((n=function(n){(function(e){var t=fe.call(e),n=se.call(e);return!0===e.composed||t===n||Le(Pe(t,Me),n)})(n)&&t.call(e,n)}).placement=Oe.CUSTOM_ELEMENT_LISTENER,$e.set(t,n)),n}function Fe(e){var t=!1,n=!1,o=e.type,l=e.stopImmediatePropagation,i=e.stopPropagation,a=Ae(se.call(e))[o];r(e,"stopImmediatePropagation",{value:function(){t=!0,l.call(e)},writable:!0,enumerable:!0,configurable:!0}),r(e,"stopPropagation",{value:function(){n=!0,i.call(e)},writable:!0,enumerable:!0,configurable:!0});var u=s.call(a);function c(n){v.call(u,function(r){O(t)&&r.placement===n&&-1!==d.call(a,r)&&r.call(void 0,e)})}_e.set(e,Oe.SHADOW_ROOT_LISTENER),c(Oe.SHADOW_ROOT_LISTENER),O(t)&&O(n)&&(_e.set(e,Oe.CUSTOM_ELEMENT_LISTENER),c(Oe.CUSTOM_ELEMENT_LISTENER)),_e.set(e,0)}function ke(e,t,n){var r=Ae(e),o=r[t];y(o)&&(o=r[t]=[]),0===o.length&&Te.call(e,t,Fe),h.call(o,n)}function Be(e,t,n){var r,o;y(o=Ae(e)[t])||-1===(r=d.call(o,n))||(p.call(o,r,1),0===o.length&&Se.call(e,t,Fe))}var We,Ue="Symbol(x)"===Symbol("x").toString();function qe(e){return Ue?Symbol(e):"$$lwc-"+e+"$$"}function Ke(e,t,n){r(e,t,{value:n})}function Ge(e,t){return e[t]}function Ve(e){switch(e.nodeType){case Node.ELEMENT_NODE:for(var t=dn(e),n="",r=0,o=t.length;r<o;r+=1)n+=Ve(t[r]);return n;default:return e.nodeValue}}var Xe,Ye=qe("items");function ze(){throw new TypeError("Illegal constructor")}function Je(e){var n=t(ze.prototype);return Ke(n,Ye,e),v.call(e,function(e,t){r(n,t,{value:e,enumerable:!0,configurable:!0})}),n}ze.prototype=t(NodeList.prototype,((We={constructor:{writable:!0,configurable:!0,value:ze},item:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return this[e]}},length:{enumerable:!0,configurable:!0,get:function(){return Ge(this,Ye).length}},forEach:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){v.call(Ge(this,Ye),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value:function(){return b.call(Ge(this,Ye),function(e,t){return[t,e]})}},keys:{writable:!0,enumerable:!0,configurable:!0,value:function(){return b.call(Ge(this,Ye),function(e,t){return t})}},values:{writable:!0,enumerable:!0,configurable:!0,value:function(){return Ge(this,Ye)}}})[Symbol.iterator]={writable:!0,configurable:!0,value:function(){var e=this,t=0;return{next:function(){var n=Ge(e,Ye);return t<n.length?{value:n[t++],done:!1}:{done:!0}}}}},We)),l(ze,NodeList);var Qe=qe("items");function Ze(){throw new TypeError("Illegal constructor")}function et(e){var n=t(Ze.prototype);return Ke(n,Qe,e),v.call(e,function(e,t){r(n,t,{value:e,enumerable:!0,configurable:!0})}),n}Ze.prototype=t(HTMLCollection.prototype,((Xe={constructor:{writable:!0,configurable:!0,value:Ze},item:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return this[e]}},length:{enumerable:!0,configurable:!0,get:function(){return Ge(this,Qe).length}},namedItem:{writable:!0,enumerable:!0,configurable:!0,value:function(e){if(function(e){return"length"!==e&&isNaN(e)}(e)&&this[e])return this[e];for(var t,n=Ge(this,Qe),r=n.length-1;r>=0;r-=1){var o=n[r];if(((t=o).getAttribute("id")||t.getAttribute("name"))===e)return o}return null}},forEach:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){v.call(Ge(this,Qe),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value:function(){return b.call(Ge(this,Qe),function(e,t){return[t,e]})}},keys:{writable:!0,enumerable:!0,configurable:!0,value:function(){return b.call(Ge(this,Qe),function(e,t){return t})}},values:{writable:!0,enumerable:!0,configurable:!0,value:function(){return Ge(this,Qe)}}})[Symbol.iterator]={writable:!0,configurable:!0,value:function(){var e=this,t=0;return{next:function(){var n=Ge(e,Qe);return t<n.length?{value:n[t++],done:!1}:{done:!0}}}}},Xe)),l(Ze,HTMLCollection);var tt=/[&\u00A0"]/g,nt=/[&\u00A0<>]/g,rt=String.prototype,ot=rt.replace,lt=rt.toLowerCase;function it(e){switch(e){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case" ":return"&nbsp;";default:return""}}function at(e){return ot.call(e,tt,it)}var ut=new Set(["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"]),ct=new Set(["STYLE","SCRIPT","XMP","IFRAME","NOEMBED","NOFRAMES","PLAINTEXT","NOSCRIPT"]);function ft(e){switch(e.nodeType){case Node.ELEMENT_NODE:for(var t=e.attributes,n=re.call(e),r="<"+lt.call(n),o=0,l=void 0;l=t[o];o++)r+=" "+l.name+'="'+at(l.value)+'"';return r+=">",ut.has(n)?r:r+function(e){for(var t="",n=dn(e),r=0,o=n.length;r<o;r+=1)t+=ft(n[r]);return t}(e)+"</"+lt.call(n)+">";case Node.TEXT_NODE:var i=e,a=i.data,u=i.parentNode;return u instanceof Element&&ct.has(re.call(u))?a:function(e){return ot.call(e,nt,it)}(a);case Node.COMMENT_NODE:return"\x3c!--"+e.data+"--\x3e";default:throw new Error}}var st=qe("shadowRecord"),pt=document.createDocumentFragment;function dt(e){var t=Ge(e,st);if(y(t))throw new TypeError;return t}function ht(e){return dt(e).delegatesFocus}function bt(e){return dt(e).host}function vt(e){return dt(e).shadowRoot}function gt(e){return!y(Ge(e,st))}var mt={constructor:{writable:!0,configurable:!0,value:yt},toString:{writable:!0,configurable:!0,value:function(){return"[object ShadowRoot]"}}};function yt(){throw new TypeError("Illegal constructor")}n(mt,{insertBefore:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return $.call(bt(this),e,t),e}},removeChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return H.call(bt(this),e),e}},appendChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return A.call(bt(this),e),e}},replaceChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return F.call(bt(this),e,t),t}},addEventListener:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t,n){!function(e,t,n,r){ke(bt(e),t,xe(e,n))}(this,e,t)}},removeEventListener:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t,n){!function(e,t,n,r){Be(bt(e),t,xe(e,n))}(this,e,t)}},baseURI:{enumerable:!0,configurable:!0,get:function(){return bt(this).baseURI}},childNodes:{enumerable:!0,configurable:!0,get:function(){return Je(fn(this))}},compareDocumentPosition:{writable:!0,enumerable:!0,configurable:!0,value:function(e){var t=bt(this);return this===e?0:this.contains(e)?20:x.call(t,e)&P?37:35}},contains:{writable:!0,enumerable:!0,configurable:!0,value:function(e){if(this===e)return!0;var t=bt(this);return 0!=(x.call(t,e)&P)&&cn(t,e)}},firstChild:{enumerable:!0,configurable:!0,get:function(){return Nn(this)[0]||null}},lastChild:{enumerable:!0,configurable:!0,get:function(){var e=Nn(this);return e[e.length-1]||null}},hasChildNodes:{writable:!0,enumerable:!0,configurable:!0,value:function(){return Nn(this).length>0}},isConnected:{enumerable:!0,configurable:!0,get:function(){return K.call(bt(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 bt(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=Nn(this),t="",n=0,r=e.length;n<r;n+=1)t+=Ve(e[n]);return t},set:function(e){var t=bt(this);W.call(t,e)}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value:function(e){var t=!y(e)&&!!e.composed;return O(t)?this:ln.call(bt(this),{composed:t})}}},{childElementCount:{enumerable:!0,configurable:!0,get:function(){return this.children.length}},children:{enumerable:!0,configurable:!0,get:function(){return et(f.call(fn(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}},querySelector:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return t=e,n=bt(this),r=z.call(n,t),pn(n,r);var t,n,r}},querySelectorAll:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return Je((t=e,n=bt(this),r=z.call(n,t),sn(n,r)));var t,n,r}}},{innerHTML:{enumerable:!0,configurable:!0,get:function(){for(var e=Nn(this),t="",n=0,r=e.length;n<r;n+=1)t+=ft(e[n]);return t},set:function(e){var t=bt(this);te.call(t,e)}}},{activeElement:{enumerable:!0,configurable:!0,get:function(){var e=S.call(document);if(w(e))return e;var t=bt(this);if(0==(x.call(t,e)&P))return null;for(var n=e;!cn(t,n);)n=B.call(n);return un(n)?null:n}},delegatesFocus:{configurable:!0,get:function(){return dt(this).delegatesFocus}},elementFromPoint:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){var n=_.call(document,e,t);return w(n)?n:he(this,de(n,!0))}},elementsFromPoint:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){throw new Error}},getSelection:{writable:!0,enumerable:!0,configurable:!0,value:function(){throw new Error}},host:{enumerable:!0,configurable:!0,get:function(){return bt(this)}},mode:{configurable:!0,get:function(){return dt(this).mode}},styleSheets:{enumerable:!0,configurable:!0,get:function(){throw new Error}}}),yt.prototype=t(DocumentFragment.prototype,mt),ue&&l(yt.prototype,window.ShadowRoot.prototype);var wt=function(e,t){return(wt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function Et(e,t){function n(){this.constructor=e}wt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var Ot=window.MutationObserver;if(void 0===Ot){function Nt(){}Nt.prototype={observe:function(){}},Ot=window.MutationObserver=Nt}var Tt=Ot,St=Tt.prototype.observe,_t='\n button:not([tabindex="-1"]):not([disabled]),\n [contenteditable]:not([tabindex="-1"]),\n video[controls]:not([tabindex="-1"]),\n audio[controls]:not([tabindex="-1"]),\n [href]:not([tabindex="-1"]),\n input:not([tabindex="-1"]):not([disabled]),\n select:not([tabindex="-1"]):not([disabled]),\n textarea:not([tabindex="-1"]):not([disabled]),\n [tabindex="0"]\n';function Lt(e){var t=J.call(e),n=t.width,r=t.height;return(n>0||r>0)&&"hidden"!==getComputedStyle(e).visibility}function Mt(e){return le.call(e,_t)&&Lt(e)}var Pt={IFRAME:1,VIDEO:1,AUDIO:1,A:1,INPUT:1,SELECT:1,TEXTAREA:1,BUTTON:1};function Ct(e){var t=re.call(e);return Lt(e)&&(function(e){if(O(V.call(e,"tabindex")))return!1;var t=X.call(e,"tabindex");return""!==t&&("0"===t||"-1"===t)}(e)||V.call(e,"contenteditable")||u.call(Pt,t))}function Rt(e){for(var t=0,n=e.length;t<n;t+=1){var r=e[t];if(Mt(r))return r}return null}function It(e){var t=M.call(document,_t),n=s.call(z.call(e,_t)),r=n[0],o=n[n.length-1],l=d.call(t,e),i=l>-1?l:d.call(t,r),a=0===n.length?i+1:d.call(t,o)+1;return{prev:s.call(t,0,i),inner:n,next:s.call(t,a)}}function Dt(e,t){var n=x.call(e,t);return n&P?0:n&C?1:n&R?2:-1}function At(e){e.preventDefault(),e.stopPropagation()}function jt(e){be.call(window,"focusin",At,!0),be.call(window,"focusout",At,!0),e(),ve.call(window,"focusin",At,!0),ve.call(window,"focusout",At,!0)}function xt(e,t){jt(function(){var n=function(e){return Rt(e.next)}(t);w(n)?e.blur():n.focus()})}function $t(e,t){jt(function(){var n=function(e){var t=e.prev;return Rt(m.call(t))}(t);w(n)?e.blur():n.focus()})}function Ht(e,t){return function(e){for(var t=e.length-1;t>=0;t-=1){var n=e[t];if(Mt(n))return n}return null}(t.inner)===e}function Ft(e){var t=se.call(e),n=fe.call(e);if(t===n){var r=pe.call(e);if(!w(r)){var o=It(t);if(1===Dt(t,r)){var l=Rt(o.inner);w(l)?xt(n,o):jt(function(){l.focus()})}else t===n&&$t(t,o)}}}function kt(e){var t=se.call(e),n=fe.call(e),r=pe.call(e),o=It(t),l=function(e,t){return Rt(t.inner)===e}(n,o),i=Ht(n,o);if(!(O(l)&&O(i)||w(r)))switch(Dt(t,r)){case 1:l&&xt(n,o);break;case 2:i&&$t(n,o)}}function Bt(e){var t=se.call(e);ee.call(t,"focusin",kt),setTimeout(function(){w(t)||-1!==oe.call(t)||Z.call(t,"focusin",kt)},0)}function Wt(e){var t=se.call(e),n=pe.call(e);(w(n)||0!==Dt(t,n))&&(ee.call(t,"focusin",Bt,!0),ee.call(t,"focusout",Wt,!0))}function Ut(e){if(function(e){return e!==S.call(document)&&Ct(e)}(fe.call(e))){var t=se.call(e);Z.call(t,"focusin",Bt,!0),Z.call(t,"focusout",Wt,!0)}}function qt(e){ee.call(e,"focusin",Ft,!0)}function Kt(e){ee.call(e,"focusin",kt),ee.call(e,"mousedown",Ut,!0)}var Gt,Vt=Node.prototype.getRootNode,Xt=y(Vt)?function(){for(var e,t=this;!w(e=k.call(t));)t=e;return t}:Vt;function Yt(e){var t,n;return E(!y(e)&&!!e.composed)?Xt.call(this,e):w(n=an(t=this))?Xt.call(t):vt(n)}function zt(e){for(var t=B.call(e);!w(t)&&un(t);)e=t,t=B.call(e);return e}function Jt(e,t){for(var n=mn(e),r=t instanceof Element?t:B.call(t);!w(r)&&r!==e;){var o=gn(r),l=B.call(r);if(o===n)return un(r);if(l===e)return!1;if(w(l)||gn(l)===o)r=l;else{if(!un(l))return!1;if(!w(r=an(zt(l)))){if(r===e)return!0;if(gn(r)===n)return!0}}}return!1}function Qt(e,t){var n=an(e);if(w(n))return[];var r=z.call(e,t);return mn(e)?function(e,t){for(var n=[],r=0,o=t.length;r<o;r+=1){var l=t[r];!cn(e,l)&&Jt(e,l)&&h.call(n,l)}return n}(e,r):sn(n,r)}function Zt(e,t){var n=an(e);if(w(n))return null;var r=z.call(e,t);return mn(e)?function(e,t){for(var n=0,r=t.length;n<r;n+=1){var o=t[n];if(!cn(e,o)&&Jt(e,o))return o}return null}(e,r):pn(n,r)}function en(e){var t=On(e),n=e.addEventListener,r=e.removeEventListener,o=e.blur;return function(e){function i(){return null!==e&&e.apply(this,arguments)||this}return Et(i,e),i.prototype.querySelector=function(e){return Zt(this,e)},i.prototype.querySelectorAll=function(e){return Je(Qt(this,e))},Object.defineProperty(i.prototype,"innerHTML",{get:function(){for(var e=Nn(this),t="",n=0,r=e.length;n<r;n+=1)t+=ft(e[n]);return t},set:function(e){te.call(this,e)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"outerHTML",{get:function(){return ft(this)},set:function(e){ne.call(this,e)},enumerable:!0,configurable:!0}),i.prototype.attachShadow=function(e){return function(e,t){if(!y(Ge(e,st)))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,o=pt.call(document),i={mode:n,delegatesFocus:!!r,host:e,shadowRoot:o};return Ke(o,st,i),Ke(e,st,i),l(o,yt.prototype),o}(this,e)},i.prototype.addEventListener=function(e,t,r){gt(this)?function(e,t,n,r){ke(e,t,He(e,n))}(this,e,t):n.call(this,e,t,r)},i.prototype.removeEventListener=function(e,t,n){gt(this)?function(e,t,n,r){Be(e,t,He(e,n))}(this,e,t):r.call(this,e,t,n)},Object.defineProperty(i.prototype,"shadowRoot",{get:function(){if(gt(this)){var e=vt(this);if("open"===e.mode)return e}return null},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"tabIndex",{get:function(){return gt(this)&&ht(this)&&O(V.call(this,"tabindex"))?0:T(t.prototype,"tabIndex").get.call(this)},set:function(e){if(gt(this)){var n=ht(this),r=oe.call(this),o=V.call(this,"tabindex");T(t.prototype,"tabIndex").set.call(this,e);var l=oe.call(this),i=V.call(this,"tabindex"),a=r!==l;if(o&&(a||O(i))&&(-1===r&&Kt(this),0===r&&n&&qt(this)),O(i))return;if(o&&i&&O(a))return;return-1===l&&(qt(u=this),Z.call(u,"mousedown",Ut,!0),Z.call(u,"focusin",kt)),void(0===l&&n&&function(e){Kt(e),Z.call(e,"focusin",Ft,!0)}(this))}var u;T(t.prototype,"tabIndex").set.call(this,e)},enumerable:!0,configurable:!0}),i.prototype.blur=function(){if(gt(this)&&ht(this)){var e=(t=this,w(n=S.call(document))?n:0!=(x.call(t,n)&P)?n:null);if(!w(e))return void e.blur()}var t,n;return o.call(this)},Object.defineProperty(i.prototype,"childNodes",{get:function(){if(gt(this)){var e=an(this);return Je(w(e)?[]:sn(e,dn(this)))}return U.call(this)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"children",{get:function(){if(gt(this)){var e=an(this),t=w(e)?[]:sn(e,dn(this));return et(f.call(t,function(e){return e instanceof Element}))}return ie.call(this)},enumerable:!0,configurable:!0}),i}(t)}r(Node.prototype,"getRootNode",{value:Yt,enumerable:!0,configurable:!0,writable:!0});var tn={childList:!0},nn=qe("slotchange");function rn(e){var t=an(e);if(w(t))return[];var n=s.call(U.call(e));return g.call(n,function(e,n){return cn(t,n)||h.call(e,n),e},[])}function on(e){var t=s.call(U.call(e));return g.call(t,function(e,t){return t instanceof Element&&un(t)?h.apply(e,on(t)):h.call(e,t),e},[])}var ln=Node.prototype.getRootNode;function an(e){if(!(e instanceof Node))return null;var t=gn(e);if(y(t))return null;for(var n=e;!w(n)&&mn(n)!==t;)n=k.call(n);return w(n)?null:n}function un(e){return"SLOT"===re.call(e)}function cn(e,t){var n=gn(t);return y(n)||mn(e)===n}function fn(e){var t=bt(e);return sn(t,U.call(t))}function sn(e,t){for(var n=[],r=0,o=t.length;r<o;r+=1){var l=t[r];cn(e,l)&&h.call(n,l)}return n}function pn(e,t){for(var n=0,r=t.length;n<r;n+=1)if(cn(e,t[n]))return t[n];return null}function dn(e){var t;if(y(mn(e)))t=U.call(e);else{var n=z.call(e,"slot");t=g.call(n,function(t,n){return cn(e,n)&&h.apply(t,rn(n)),t},[])}var r=an(e);return w(r)?[]:g.call(t,function(e,t){return cn(r,t)&&h.call(e,t),e},[])}var hn="$$OwnerKey$$",bn="$$OwnKey$$";Symbol("x").toString();function vn(e){return e[hn]}function gn(e){for(var t,n=e;!w(n);){if(!y(t=n[hn]))return t;n=k.call(n)}}function mn(e){return e[bn]}var yn="$$ShadowTokenKey$$";function wn(e,t){y(t)||(Y.call(e,t,""),e[yn]=t)}function En(e,t){var n=an(e);if(t===n)return vt(n);if(t instanceof Element){if(gn(e)===gn(t))return t;if(!w(n)&&un(t)){var r=an(t);if(!w(r)&&cn(n,r))return r}}return null}function On(e){var t=o(e).constructor,n=function(){function e(){throw new TypeError("Illegal constructor")}return e.prototype.hasChildNodes=function(){return Nn(this).length>0},Object.defineProperty(e.prototype,"firstChild",{get:function(){return Nn(this)[0]||null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lastChild",{get:function(){var e=Nn(this);return e[e.length-1]||null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"textContent",{get:function(){return Ve(this)},set:function(e){W.call(this,e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"childElementCount",{get:function(){return this.children.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstElementChild",{get:function(){return this.children[0]||null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lastElementChild",{get:function(){var e=this.children;return e.item(e.length-1)||null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"assignedSlot",{get:function(){var e=k.call(this);return w(e)||!un(e)||gn(e)===gn(this)?null:e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parentNode",{get:function(){var e=k.call(this);return w(e)?e:En(this,e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parentElement",{get:function(){var e=k.call(this);if(w(e))return null;var t=En(this,e);return t instanceof Element?t:null},enumerable:!0,configurable:!0}),e.prototype.compareDocumentPosition=function(e){return ln.call(this)===e?10:vn(this)!==vn(e)?35:x.call(this,e)},e.prototype.contains=function(e){return vn(this)===vn(e)&&0!=(x.call(this,e)&P)},e.prototype.cloneNode=function(e){var t=j.call(this,!1);if(!e)return t;for(var n=Nn(this),r=0,o=n.length;r<o;r+=1)t.appendChild(n[r].cloneNode(!0));return t},e}();return l(n,t),l(n.prototype,t.prototype),n}var Nn=function(e){return e.childNodes};document.elementFromPoint=function(e,t){var n=_.call(document,e,t);return w(n)?n:he(document,de(n,!0))},r(document,"activeElement",{get:function(){var e=S.call(this);if(w(e))return e;for(;!y(vn(e));)if(w(e=B.call(e)))return null;return"HTML"===e.tagName&&(e=document.body),e},enumerable:!0,configurable:!0}),void 0===window.ShadowRoot&&(window.ShadowRoot=yt);var Tn=Object.getOwnPropertyDescriptor(Event.prototype,"composed");var Sn,_n=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"click");function Ln(e){Object.defineProperty(e,"composed",{configurable:!0,enumerable:!0,get:function(){return!0}})}(function(){if(!Tn)return!1;var e=new Event("click"),t=document.createElement("button");return t.addEventListener("click",function(t){return e=t}),t.click(),!Tn.get.call(e)})()&&(HTMLElement.prototype.click=function(){Z.call(this,"click",Ln);try{_n.value.call(this)}finally{ee.call(this,"click",Ln)}}),void 0===Object.getOwnPropertyDescriptor(Event.prototype,"composed")&&(Sn=n(t(null),{blur:1,focus:1,focusin:1,focusout:1,click:1,dblclick:1,mousedown:1,mouseenter:1,mouseleave:1,mousemove:1,mouseout:1,mouseover:1,mouseup:1,wheel:1,beforeinput:1,input:1,keydown:1,keyup:1,compositionstart:1,compositionupdate:1,compositionend:1,touchstart:1,touchend:1,touchmove:1,touchcancel:1,pointerover:1,pointerenter:1,pointerdown:1,pointermove:1,pointerup:1,pointercancel:1,pointerout:1,pointerleave:1,gotpointercapture:1,lostpointercapture:1,dragstart:1,drag:1,dragenter:1,dragleave:1,dragover:1,drop:1,dragend:1,DOMActivate:1,DOMFocusIn:1,DOMFocusOut:1,keypress:1}),Object.defineProperties(Event.prototype,{composed:{get:function(){var e=this.type;return 1===Sn[e]},configurable:!0,enumerable:!0}}));var Mn,Pn=window.CustomEvent;function Cn(e,t){var n=new Pn(e,t);return Object.defineProperties(n,{composed:{get:function(){return!(!t||!t.composed)},configurable:!0,enumerable:!0}}),n}window.CustomEvent!==Cn&&(window.CustomEvent=Cn,window.CustomEvent.prototype=Pn.prototype),Mn=Object.getOwnPropertyDescriptor(Event.prototype,"composed").get,Object.defineProperties(FocusEvent.prototype,{composed:{get:function(){var e=this.isTrusted,t=Mn.call(this);return!(!e||!1!==t)||t},enumerable:!0,configurable:!0}});var Rn=window.MutationObserver,In=Rn.prototype,Dn=In.disconnect,An=In.observe,jn=In.takeRecords,xn="$$lwcObservedTargets$$",$n="$$lwcObserverCallbackWrapper$$";function Hn(e,n){var r=n[xn],o=[];return v.call(r,function(e){var t=e instanceof window.ShadowRoot?mn(e.host):gn(e);h.call(o,t)}),g.call(e,function(e,n){var l=n.target,i=n.addedNodes,u=n.removedNodes;if("childList"!==n.type||y(mn(l))){var c=l instanceof window.ShadowRoot?mn(l.host):gn(l);-1!==d.call(o,c)&&h.call(e,n)}else{var f=gn(i.length>0?i[0]:u[0]);-1!==d.call(o,f)&&(-1!==r.indexOf(l)?h.call(e,n):h.call(e,function(e){var n=e.addedNodes,r=e.removedNodes,o=e.target,l=e.type,i=t(MutationRecord.prototype);return a(i,{addedNodes:{get:function(){return n},enumerable:!0,configurable:!0},removedNodes:{get:function(){return r},enumerable:!0,configurable:!0},type:{get:function(){return l},enumerable:!0,configurable:!0},target:{get:function(){return o.shadowRoot},enumerable:!0,configurable:!0}}),i}(n)))}return e},[])}function Fn(e){var t=function(e){var t=e[$n];return y(t)&&(t=e[$n]=function(t,n){var r=Hn(t,n);0!==r.length&&e.call(n,r,n)}),t}(e),n=new Rn(t);return r(n,xn,{value:[]}),n}function kn(){y(this[xn])||(this[xn].length=0),Dn.call(this)}function Bn(e,t){return y(this[xn])||h.call(this[xn],e),e instanceof yt&&(e=e.host),An.call(this,e,t)}function Wn(){return Hn(jn.call(this),this)}window.MutationObserver=Fn,window.MutationObserver.prototype=Rn.prototype,window.MutationObserver.prototype.disconnect=kn,window.MutationObserver.prototype.observe=Bn,window.MutationObserver.prototype.takeRecords=Wn;var Un,qn=window.MutationObserver,Kn=qn.prototype.observe,Gn={childList:!0,subtree:!0};function Vn(e,t,n){if(vn(e)!==t&&(function(e,t){e[hn]=t}(e,t),e instanceof Element)){wn(e,n);for(var r=Nn(e),o=0,l=r.length;o<l;o+=1){Vn(r[o],t,n)}}}function Xn(){return new qn(function(e){v.call(e,function(e){var t=e.target,n=e.addedNodes,r=vn(t),o=function(e){return e[yn]}(t);if(!y(r))for(var l=0,i=n.length;l<i;l+=1){Vn(n[l],r,o)}})})}e.PatchedElement=en,e.PatchedIframeElement=function(e){return function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Et(t,e),Object.defineProperty(t.prototype,"contentWindow",{get:function(){var e,t=ce.call(this);return t?(e=t,{postMessage:function(){return e.postMessage.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)},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}}):t},enumerable:!0,configurable:!0}),t}(en(e))},e.PatchedNode=On,e.PatchedSlotElement=function(e){var t=en(e),n=e.addEventListener;return function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Et(t,e),t.prototype.addEventListener=function(e,t,r){"slotchange"!==e||Ge(this,nn)||(Ke(this,nn,!0),Gt||(Gt=new Tt(function(e){var t=[];v.call(e,function(e){var n=e.target;-1===d.call(t,n)&&(h.call(t,n),ae.call(n,new CustomEvent("slotchange")))})})),St.call(Gt,this,tn)),n.call(this,e,t,r)},t.prototype.assignedElements=function(e){var t=!y(e)&&E(e.flatten)?on(this):rn(this);return f.call(t,function(e){return e instanceof Element})},t.prototype.assignedNodes=function(e){return!y(e)&&E(e.flatten)?on(this):rn(this)},Object.defineProperty(t.prototype,"name",{get:function(){var e=X.call(this,"name");return w(e)?"":e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){var e=an(this);return Je(w(e)?[]:sn(e,dn(this)))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){var e=an(this),t=w(e)?[]:sn(e,dn(this));return et(f.call(t,function(e){return e instanceof Element}))},enumerable:!0,configurable:!0}),t}(t)},e.markElementAsPortal=function(e){y(Un)&&(Un=Xn()),Kn.call(Un,e,Gn)},e.patchEvent=Ie,e.setCSSToken=wn,Object.defineProperty(e,"__esModule",{value:!0})});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).SyntheticShadow={})}(this,function(e){"use strict";var t=Object.create,n=Object.assign,r=Object.defineProperty,o=Object.getPrototypeOf,l=Object.setPrototypeOf,a=Object.getOwnPropertyDescriptor,i=Object.defineProperties,u=Object.hasOwnProperty,c=Array.prototype,f=c.filter,s=c.find,p=c.slice,d=c.splice,b=c.indexOf,h=c.push,v=c.map,g=c.forEach,m=c.reduce,y=c.reverse;function w(e){return void 0===e}function E(e){return null===e}function N(e){return!0===e}function O(e){return!1===e}function T(e){return"function"==typeof e}function S(e,t){do{var n=a(e,t);if(!w(n))return n;e=o(e)}while(null!==e)}var _=a(Document.prototype,"activeElement").get,L=u.call(Document.prototype,"elementFromPoint")?Document.prototype.elementFromPoint:Document.prototype.msElementFromPoint,M=Document.prototype,P=(M.createDocumentFragment,M.createElement,M.createElementNS,M.createTextNode,M.createComment,M.querySelector,M.querySelectorAll),C=M.getElementById,R=M.getElementsByClassName,D=M.getElementsByTagName,I=M.getElementsByTagNameNS,A=HTMLDocument.prototype.getElementsByName,j=Node.DOCUMENT_POSITION_CONTAINED_BY,x=(Node.DOCUMENT_POSITION_CONTAINS,Node.DOCUMENT_POSITION_PRECEDING),H=Node.DOCUMENT_POSITION_FOLLOWING,$=Node.DOCUMENT_FRAGMENT_NODE,B=Node.prototype,F=B.appendChild,k=B.cloneNode,W=B.compareDocumentPosition,U=(B.hasChildNodes,B.insertBefore),q=B.removeChild,K=B.replaceChild,G=a(Node.prototype,"parentNode").get,V=u.call(Node.prototype,"parentElement")?a(Node.prototype,"parentElement").get:a(HTMLElement.prototype,"parentElement").get,X=a(Node.prototype,"textContent").set,Y=u.call(Node.prototype,"childNodes")?a(Node.prototype,"childNodes").get:a(HTMLElement.prototype,"childNodes").get,z=a(Node.prototype,"nodeValue"),J=(z.set,z.get,u.call(Node.prototype,"isConnected")?a(Node.prototype,"isConnected").get:function(){return 0!=(W.call(document,this)&j)}),Q=Element.prototype,Z=Q.hasAttribute,ee=Q.getAttribute,te=(Q.getAttributeNS,Q.setAttribute),ne=(Q.setAttributeNS,Q.removeAttribute,Q.removeAttributeNS,Q.querySelector,Q.querySelectorAll),re=Q.getBoundingClientRect,oe=Q.getElementsByTagName,le=Q.getElementsByTagNameNS,ae=Element.prototype,ie=ae.addEventListener,ue=ae.removeEventListener;ie=ie.__lwcOriginal__||ie,ue=ue.__lwcOriginal__||ue;var ce=u.call(Element.prototype,"innerHTML")?a(Element.prototype,"innerHTML").set:a(HTMLElement.prototype,"innerHTML").set,fe=u.call(Element.prototype,"outerHTML")?a(Element.prototype,"outerHTML").set:a(HTMLElement.prototype,"outerHTML").set,se=a(Element.prototype,"tagName").get,pe=a(HTMLElement.prototype,"tabIndex").get,de=u.call(Element.prototype,"matches")?Element.prototype.matches:Element.prototype.msMatchesSelector,be=u.call(Element.prototype,"children")?a(Element.prototype,"children").get:a(HTMLElement.prototype,"children").get,he=HTMLElement.prototype.getElementsByClassName,ve=(void 0!==window.ShadowRoot&&a(window.ShadowRoot.prototype,"host").get,"EventTarget"in window?EventTarget.prototype.dispatchEvent:Node.prototype.dispatchEvent),ge=void 0!==window.ShadowRoot,me=a(HTMLIFrameElement.prototype,"contentWindow").get,ye=a(Event.prototype,"target").get,we=a(Event.prototype,"currentTarget").get,Ee=a(FocusEvent.prototype,"relatedTarget").get;function Ne(e,t){for(var n=[],r=e,o=e===window?window:hn.call(e);r;)n.push(r),r=r.assignedSlot?r.assignedSlot:r.nodeType===$&&r.host&&(t||r!==o)?r.host:r.parentNode;return n[n.length-1]===document&&n.push(window),n}function Oe(e,t){for(var n=Ne(e,!0),r=t,o=0,l=void 0,a=void 0,i=void 0,u=void 0;o<r.length;o++)if((i=(l=r[o])===window?window:hn.call(l))!==a&&(u=n.indexOf(i),a=i),!(i instanceof Mt)||u>-1)return l;return null}var Te=window.addEventListener,Se=window.removeEventListener;function _e(e){var t=null;try{if(!(t=e.$$lwcEventWrapper$$)){var n="function"==typeof e;t=e.$$lwcEventWrapper$$=function(t){return function(e){var t=ye.call(e);return!!(t instanceof Node&&0!=(W.call(document,t)&j)&&Sn(t))}(t)&&ke(t),n?e.call(this,t):e.handleEvent&&e.handleEvent(t)}}}catch(e){}return t}function Le(e,t,n){var r=typeof t;if(("function"===r||"object"===r)&&("object"!==r||t.handleEvent&&"function"==typeof t.handleEvent)){var o=_e(t);Te.call(this,e,o,n)}}function Me(e,t,n){var r=_e(t);Se.call(this,e,r||t,n)}function Pe(e,t,n){var r=typeof t;if(("function"===r||"object"===r)&&("object"!==r||t.handleEvent&&"function"==typeof t.handleEvent)){var o=_e(t);ie.call(this,e,o,n)}}function Ce(e,t,n){var r=_e(t);ue.call(this,e,r||t,n)}Te=Te.__lwcOriginal__||Te,Se=Se.__lwcOriginal__||Se,Pe.__lwcOriginal__=ie,Ce.__lwcOriginal__=ue,Le.__lwcOriginal__=Te,Me.__lwcOriginal__=Se,window.addEventListener=Le,window.removeEventListener=Me,Node.prototype.addEventListener=Pe,Node.prototype.removeEventListener=Ce;var Re,De=Node.prototype,Ie=De.addEventListener,Ae=De.removeEventListener;!function(e){e[e.CUSTOM_ELEMENT_LISTENER=1]="CUSTOM_ELEMENT_LISTENER",e[e.SHADOW_ROOT_LISTENER=2]="SHADOW_ROOT_LISTENER"}(Re||(Re={}));var je=new WeakMap;function xe(e,t){return!!(W.call(e,t)&j)}var He={composed:!1};function $e(e,t){var n=hn.call(e,t);return"mode"in n&&"delegatesFocus"in n&&(n=Tt(n)),n}function Be(){var e=we.call(this),t=Ne(ye.call(this),this.composed);return e instanceof Node?Oe(je.get(this)===Re.SHADOW_ROOT_LISTENER?St(e):e,t):Oe(document,t)}function Fe(){return Ne(ye.call(this),this.composed)}function ke(e){if(!je.has(e)){i(e,{target:{get:Be,enumerable:!0,configurable:!0},composedPath:{value:Fe,writable:!0,enumerable:!0,configurable:!0},srcElement:{get:Be,enumerable:!0,configurable:!0},path:{get:Fe,enumerable:!0,configurable:!0}});var t=S(e,"relatedTarget");w(t)||r(e,"relatedTarget",{get:function(){var e=je.get(this),n=we.call(this),r=t.get.call(this);return E(r)?null:Oe(e===Re.SHADOW_ROOT_LISTENER?St(n):n,Ne(r,!0))},enumerable:!0,configurable:!0}),je.set(e,0)}}var We=new WeakMap;function Ue(e){var n=We.get(e);return w(n)&&(n=t(null),We.set(e,n)),n}var qe=new WeakMap;function Ke(e,t){if(!T(t))throw new TypeError;var n=qe.get(t);return w(n)&&((n=function(n){var r=n.composed,o=ye.call(n),l=we.call(n);if(o!==l){var a=$e(o,{composed:r});(xe(a,l)||!1===r&&a===l)&&t.call(e,n)}}).placement=Re.SHADOW_ROOT_LISTENER,qe.set(t,n)),n}var Ge=new WeakMap;function Ve(e,t){if(!T(t))throw new TypeError;var n=Ge.get(t);return w(n)&&((n=function(n){(function(e){var t=ye.call(e),n=we.call(e);return!0===e.composed||t===n||xe($e(t,He),n)})(n)&&t.call(e,n)}).placement=Re.CUSTOM_ELEMENT_LISTENER,Ge.set(t,n)),n}function Xe(e){var t=!1,n=!1,o=e.type,l=e.stopImmediatePropagation,a=e.stopPropagation,i=Ue(we.call(e))[o];r(e,"stopImmediatePropagation",{value:function(){t=!0,l.call(e)},writable:!0,enumerable:!0,configurable:!0}),r(e,"stopPropagation",{value:function(){n=!0,a.call(e)},writable:!0,enumerable:!0,configurable:!0});var u=p.call(i);function c(n){g.call(u,function(r){O(t)&&r.placement===n&&-1!==b.call(i,r)&&r.call(void 0,e)})}je.set(e,Re.SHADOW_ROOT_LISTENER),c(Re.SHADOW_ROOT_LISTENER),O(t)&&O(n)&&(je.set(e,Re.CUSTOM_ELEMENT_LISTENER),c(Re.CUSTOM_ELEMENT_LISTENER)),je.set(e,0)}function Ye(e,t,n){var r=Ue(e),o=r[t];w(o)&&(o=r[t]=[]),0===o.length&&Ie.call(e,t,Xe),h.call(o,n)}function ze(e,t,n){var r,o;w(o=Ue(e)[t])||-1===(r=b.call(o,n))||(d.call(o,r,1),0===o.length&&Ae.call(e,t,Xe))}var Je,Qe="Symbol(x)"===Symbol("x").toString();function Ze(e){return Qe?Symbol(e):"$$lwc-"+e+"$$"}function et(e,t,n){r(e,t,{value:n})}function tt(e,t){return e[t]}function nt(e){switch(e.nodeType){case Node.ELEMENT_NODE:for(var t=Nn(e),n="",r=0,o=t.length;r<o;r+=1)n+=nt(t[r]);return n;default:return e.nodeValue}}var rt,ot=Ze("items");function lt(){throw new TypeError("Illegal constructor")}function at(e){var n=t(lt.prototype);return et(n,ot,e),g.call(e,function(e,t){r(n,t,{value:e,enumerable:!0,configurable:!0})}),n}lt.prototype=t(NodeList.prototype,((Je={constructor:{writable:!0,configurable:!0,value:lt},item:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return this[e]}},length:{enumerable:!0,configurable:!0,get:function(){return tt(this,ot).length}},forEach:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){g.call(tt(this,ot),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value:function(){return v.call(tt(this,ot),function(e,t){return[t,e]})}},keys:{writable:!0,enumerable:!0,configurable:!0,value:function(){return v.call(tt(this,ot),function(e,t){return t})}},values:{writable:!0,enumerable:!0,configurable:!0,value:function(){return tt(this,ot)}}})[Symbol.iterator]={writable:!0,configurable:!0,value:function(){var e=this,t=0;return{next:function(){var n=tt(e,ot);return t<n.length?{value:n[t++],done:!1}:{done:!0}}}}},Je)),l(lt,NodeList);var it=Ze("items");function ut(){throw new TypeError("Illegal constructor")}function ct(e){var n=t(ut.prototype);return et(n,it,e),g.call(e,function(e,t){r(n,t,{value:e,enumerable:!0,configurable:!0})}),n}ut.prototype=t(HTMLCollection.prototype,((rt={constructor:{writable:!0,configurable:!0,value:ut},item:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return this[e]}},length:{enumerable:!0,configurable:!0,get:function(){return tt(this,it).length}},namedItem:{writable:!0,enumerable:!0,configurable:!0,value:function(e){if(function(e){return"length"!==e&&isNaN(e)}(e)&&this[e])return this[e];for(var t,n=tt(this,it),r=n.length-1;r>=0;r-=1){var o=n[r];if(((t=o).getAttribute("id")||t.getAttribute("name"))===e)return o}return null}},forEach:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){g.call(tt(this,it),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value:function(){return v.call(tt(this,it),function(e,t){return[t,e]})}},keys:{writable:!0,enumerable:!0,configurable:!0,value:function(){return v.call(tt(this,it),function(e,t){return t})}},values:{writable:!0,enumerable:!0,configurable:!0,value:function(){return tt(this,it)}}})[Symbol.iterator]={writable:!0,configurable:!0,value:function(){var e=this,t=0;return{next:function(){var n=tt(e,it);return t<n.length?{value:n[t++],done:!1}:{done:!0}}}}},rt)),l(ut,HTMLCollection);var ft=/[&\u00A0"]/g,st=/[&\u00A0<>]/g,pt=String.prototype,dt=pt.replace,bt=pt.toLowerCase;function ht(e){switch(e){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case" ":return"&nbsp;";default:return""}}function vt(e){return dt.call(e,ft,ht)}var gt=new Set(["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"]),mt=new Set(["STYLE","SCRIPT","XMP","IFRAME","NOEMBED","NOFRAMES","PLAINTEXT","NOSCRIPT"]);function yt(e){switch(e.nodeType){case Node.ELEMENT_NODE:for(var t=e.attributes,n=se.call(e),r="<"+bt.call(n),o=0,l=void 0;l=t[o];o++)r+=" "+l.name+'="'+vt(l.value)+'"';return r+=">",gt.has(n)?r:r+function(e){for(var t="",n=Nn(e),r=0,o=n.length;r<o;r+=1)t+=yt(n[r]);return t}(e)+"</"+bt.call(n)+">";case Node.TEXT_NODE:var a=e,i=a.data,u=a.parentNode;return u instanceof Element&&mt.has(se.call(u))?i:function(e){return dt.call(e,st,ht)}(i);case Node.COMMENT_NODE:return"\x3c!--"+e.data+"--\x3e";default:throw new Error}}var wt=Ze("shadowRecord"),Et=document.createDocumentFragment;function Nt(e){var t=tt(e,wt);if(w(t))throw new TypeError;return t}function Ot(e){return Nt(e).delegatesFocus}function Tt(e){return Nt(e).host}function St(e){return Nt(e).shadowRoot}function _t(e){return!w(tt(e,wt))}var Lt={constructor:{writable:!0,configurable:!0,value:Mt},toString:{writable:!0,configurable:!0,value:function(){return"[object ShadowRoot]"}}};function Mt(){throw new TypeError("Illegal constructor")}n(Lt,{insertBefore:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return U.call(Tt(this),e,t),e}},removeChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return q.call(Tt(this),e),e}},appendChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return F.call(Tt(this),e),e}},replaceChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return K.call(Tt(this),e,t),t}},addEventListener:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t,n){!function(e,t,n,r){Ye(Tt(e),t,Ke(e,n))}(this,e,t)}},removeEventListener:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t,n){!function(e,t,n,r){ze(Tt(e),t,Ke(e,n))}(this,e,t)}},baseURI:{enumerable:!0,configurable:!0,get:function(){return Tt(this).baseURI}},childNodes:{enumerable:!0,configurable:!0,get:function(){return at(yn(this))}},compareDocumentPosition:{writable:!0,enumerable:!0,configurable:!0,value:function(e){var t=Tt(this);return this===e?0:this.contains(e)?20:W.call(t,e)&j?37:35}},contains:{writable:!0,enumerable:!0,configurable:!0,value:function(e){if(this===e)return!0;var t=Tt(this);return 0!=(W.call(t,e)&j)&&mn(t,e)}},firstChild:{enumerable:!0,configurable:!0,get:function(){return In(this)[0]||null}},lastChild:{enumerable:!0,configurable:!0,get:function(){var e=In(this);return e[e.length-1]||null}},hasChildNodes:{writable:!0,enumerable:!0,configurable:!0,value:function(){return In(this).length>0}},isConnected:{enumerable:!0,configurable:!0,get:function(){return J.call(Tt(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 Tt(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=In(this),t="",n=0,r=e.length;n<r;n+=1)t+=nt(e[n]);return t},set:function(e){var t=Tt(this);X.call(t,e)}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value:function(e){var t=!w(e)&&!!e.composed;return O(t)?this:hn.call(Tt(this),{composed:t})}}},{childElementCount:{enumerable:!0,configurable:!0,get:function(){return this.children.length}},children:{enumerable:!0,configurable:!0,get:function(){return ct(f.call(yn(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}},querySelector:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return t=e,n=Tt(this),r=ne.call(n,t),En(n,r);var t,n,r}},querySelectorAll:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return at((t=e,n=Tt(this),r=ne.call(n,t),wn(n,r)));var t,n,r}}},{innerHTML:{enumerable:!0,configurable:!0,get:function(){for(var e=In(this),t="",n=0,r=e.length;n<r;n+=1)t+=yt(e[n]);return t},set:function(e){var t=Tt(this);ce.call(t,e)}}},{activeElement:{enumerable:!0,configurable:!0,get:function(){var e=_.call(document);if(E(e))return e;var t=Tt(this);if(0==(W.call(t,e)&j))return null;for(var n=e;!mn(t,n);)n=V.call(n);return gn(n)?null:n}},delegatesFocus:{configurable:!0,get:function(){return Nt(this).delegatesFocus}},elementFromPoint:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){var n=L.call(document,e,t);return E(n)?n:Oe(this,Ne(n,!0))}},elementsFromPoint:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){throw new Error}},getSelection:{writable:!0,enumerable:!0,configurable:!0,value:function(){throw new Error}},host:{enumerable:!0,configurable:!0,get:function(){return Tt(this)}},mode:{configurable:!0,get:function(){return Nt(this).mode}},styleSheets:{enumerable:!0,configurable:!0,get:function(){throw new Error}}}),Mt.prototype=t(DocumentFragment.prototype,Lt),ge&&l(Mt.prototype,window.ShadowRoot.prototype);var Pt=function(e,t){return(Pt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function Ct(e,t){function n(){this.constructor=e}Pt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var Rt=window.MutationObserver;if(void 0===Rt){function Dt(){}Dt.prototype={observe:function(){}},Rt=window.MutationObserver=Dt}var It=Rt,At=It.prototype.observe,jt='\n button:not([tabindex="-1"]):not([disabled]),\n [contenteditable]:not([tabindex="-1"]),\n video[controls]:not([tabindex="-1"]),\n audio[controls]:not([tabindex="-1"]),\n [href]:not([tabindex="-1"]),\n input:not([tabindex="-1"]):not([disabled]),\n select:not([tabindex="-1"]):not([disabled]),\n textarea:not([tabindex="-1"]):not([disabled]),\n [tabindex="0"]\n';function xt(e){var t=re.call(e),n=t.width,r=t.height;return(n>0||r>0)&&"hidden"!==getComputedStyle(e).visibility}function Ht(e){return de.call(e,jt)&&xt(e)}var $t={IFRAME:1,VIDEO:1,AUDIO:1,A:1,INPUT:1,SELECT:1,TEXTAREA:1,BUTTON:1};function Bt(e){var t=se.call(e);return xt(e)&&(function(e){if(O(Z.call(e,"tabindex")))return!1;var t=ee.call(e,"tabindex");return""!==t&&("0"===t||"-1"===t)}(e)||Z.call(e,"contenteditable")||u.call($t,t))}function Ft(e){for(var t=0,n=e.length;t<n;t+=1){var r=e[t];if(Ht(r))return r}return null}function kt(e){var t=P.call(document,jt),n=p.call(ne.call(e,jt)),r=n[0],o=n[n.length-1],l=b.call(t,e),a=l>-1?l:b.call(t,r),i=0===n.length?a+1:b.call(t,o)+1;return{prev:p.call(t,0,a),inner:n,next:p.call(t,i)}}function Wt(e,t){var n=W.call(e,t);return n&j?0:n&x?1:n&H?2:-1}function Ut(e){e.preventDefault(),e.stopPropagation()}function qt(e){Te.call(window,"focusin",Ut,!0),Te.call(window,"focusout",Ut,!0),e(),Se.call(window,"focusin",Ut,!0),Se.call(window,"focusout",Ut,!0)}function Kt(e,t){qt(function(){var n=function(e){return Ft(e.next)}(t);E(n)?e.blur():n.focus()})}function Gt(e,t){qt(function(){var n=function(e){var t=e.prev;return Ft(y.call(t))}(t);E(n)?e.blur():n.focus()})}function Vt(e,t){return function(e){for(var t=e.length-1;t>=0;t-=1){var n=e[t];if(Ht(n))return n}return null}(t.inner)===e}function Xt(e){var t=we.call(e),n=ye.call(e);if(t===n){var r=Ee.call(e);if(!E(r)){var o=kt(t);if(1===Wt(t,r)){var l=Ft(o.inner);E(l)?Kt(n,o):qt(function(){l.focus()})}else t===n&&Gt(t,o)}}}function Yt(e){var t=we.call(e),n=ye.call(e),r=Ee.call(e),o=kt(t),l=function(e,t){return Ft(t.inner)===e}(n,o),a=Vt(n,o);if(!(O(l)&&O(a)||E(r)))switch(Wt(t,r)){case 1:l&&Kt(n,o);break;case 2:a&&Gt(n,o)}}function zt(e){var t=we.call(e);ue.call(t,"focusin",Yt),setTimeout(function(){E(t)||-1!==pe.call(t)||ie.call(t,"focusin",Yt)},0)}function Jt(e){var t=we.call(e),n=Ee.call(e);(E(n)||0!==Wt(t,n))&&(ue.call(t,"focusin",zt,!0),ue.call(t,"focusout",Jt,!0))}function Qt(e){if(function(e){return e!==_.call(document)&&Bt(e)}(ye.call(e))){var t=we.call(e);ie.call(t,"focusin",zt,!0),ie.call(t,"focusout",Jt,!0)}}function Zt(e){ue.call(e,"focusin",Xt,!0)}function en(e){ue.call(e,"focusin",Yt),ue.call(e,"mousedown",Qt,!0)}var tn,nn=Node.prototype.getRootNode,rn=w(nn)?function(){for(var e,t=this;!E(e=G.call(t));)t=e;return t}:nn;function on(e){var t,n;return N(!w(e)&&!!e.composed)?rn.call(this,e):E(n=vn(t=this))?rn.call(t):St(n)}function ln(e){for(var t=V.call(e);!E(t)&&gn(t);)e=t,t=V.call(e);return e}function an(e,t){for(var n=Ln(e),r=t instanceof Element?t:V.call(t);!E(r)&&r!==e;){var o=_n(r),l=V.call(r);if(o===n)return gn(r);if(l===e)return!1;if(E(l)||_n(l)===o)r=l;else{if(!gn(l))return!1;if(!E(r=vn(ln(l)))){if(r===e)return!0;if(_n(r)===n)return!0}}}return!1}function un(e,t){var n=vn(e);if(E(n))return[];var r=ne.call(e,t);return Ln(e)?function(e,t){for(var n=[],r=0,o=t.length;r<o;r+=1){var l=t[r];!mn(e,l)&&an(e,l)&&h.call(n,l)}return n}(e,r):wn(n,r)}function cn(e,t){var n=vn(e);if(E(n))return null;var r=ne.call(e,t);return Ln(e)?function(e,t){for(var n=0,r=t.length;n<r;n+=1){var o=t[n];if(!mn(e,o)&&an(e,o))return o}return null}(e,r):En(n,r)}function fn(e){var t=Rn(e),n=e.addEventListener,r=e.removeEventListener,o=e.blur;return function(e){function a(){return null!==e&&e.apply(this,arguments)||this}return Ct(a,e),a.prototype.querySelector=function(e){return cn(this,e)},a.prototype.querySelectorAll=function(e){return at(un(this,e))},Object.defineProperty(a.prototype,"innerHTML",{get:function(){for(var e=In(this),t="",n=0,r=e.length;n<r;n+=1)t+=yt(e[n]);return t},set:function(e){ce.call(this,e)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"outerHTML",{get:function(){return yt(this)},set:function(e){fe.call(this,e)},enumerable:!0,configurable:!0}),a.prototype.attachShadow=function(e){return function(e,t){if(!w(tt(e,wt)))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,o=Et.call(document),a={mode:n,delegatesFocus:!!r,host:e,shadowRoot:o};return et(o,wt,a),et(e,wt,a),l(o,Mt.prototype),o}(this,e)},a.prototype.addEventListener=function(e,t,r){_t(this)?function(e,t,n,r){Ye(e,t,Ve(e,n))}(this,e,t):n.call(this,e,t,r)},a.prototype.removeEventListener=function(e,t,n){_t(this)?function(e,t,n,r){ze(e,t,Ve(e,n))}(this,e,t):r.call(this,e,t,n)},Object.defineProperty(a.prototype,"shadowRoot",{get:function(){if(_t(this)){var e=St(this);if("open"===e.mode)return e}return null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"tabIndex",{get:function(){return _t(this)&&Ot(this)&&O(Z.call(this,"tabindex"))?0:S(t.prototype,"tabIndex").get.call(this)},set:function(e){if(_t(this)){var n=Ot(this),r=pe.call(this),o=Z.call(this,"tabindex");S(t.prototype,"tabIndex").set.call(this,e);var l=pe.call(this),a=Z.call(this,"tabindex"),i=r!==l;if(o&&(i||O(a))&&(-1===r&&en(this),0===r&&n&&Zt(this)),O(a))return;if(o&&a&&O(i))return;return-1===l&&(Zt(u=this),ie.call(u,"mousedown",Qt,!0),ie.call(u,"focusin",Yt)),void(0===l&&n&&function(e){en(e),ie.call(e,"focusin",Xt,!0)}(this))}var u;S(t.prototype,"tabIndex").set.call(this,e)},enumerable:!0,configurable:!0}),a.prototype.blur=function(){if(_t(this)&&Ot(this)){var e=(t=this,E(n=_.call(document))?n:0!=(W.call(t,n)&j)?n:null);if(!E(e))return void e.blur()}var t,n;return o.call(this)},Object.defineProperty(a.prototype,"childNodes",{get:function(){if(_t(this)){var e=vn(this);return at(E(e)?[]:wn(e,Nn(this)))}return Y.call(this)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"children",{get:function(){if(_t(this)){var e=vn(this),t=E(e)?[]:wn(e,Nn(this));return ct(f.call(t,function(e){return e instanceof Element}))}return be.call(this)},enumerable:!0,configurable:!0}),a}(t)}r(Node.prototype,"getRootNode",{value:on,enumerable:!0,configurable:!0,writable:!0});var sn={childList:!0},pn=Ze("slotchange");function dn(e){var t=vn(e);if(E(t))return[];var n=p.call(Y.call(e));return m.call(n,function(e,n){return mn(t,n)||h.call(e,n),e},[])}function bn(e){var t=p.call(Y.call(e));return m.call(t,function(e,t){return t instanceof Element&&gn(t)?h.apply(e,bn(t)):h.call(e,t),e},[])}var hn=Node.prototype.getRootNode;function vn(e){if(!(e instanceof Node))return null;var t=_n(e);if(w(t))return null;for(var n=e;!E(n)&&Ln(n)!==t;)n=G.call(n);return E(n)?null:n}function gn(e){return"SLOT"===se.call(e)}function mn(e,t){var n=_n(t);return w(n)||Ln(e)===n}function yn(e){var t=Tt(e);return wn(t,Y.call(t))}function wn(e,t){for(var n=[],r=0,o=t.length;r<o;r+=1){var l=t[r];mn(e,l)&&h.call(n,l)}return n}function En(e,t){for(var n=0,r=t.length;n<r;n+=1)if(mn(e,t[n]))return t[n];return null}function Nn(e){var t;if(w(Ln(e)))t=Y.call(e);else{var n=ne.call(e,"slot");t=m.call(n,function(t,n){return mn(e,n)&&h.apply(t,dn(n)),t},[])}var r=vn(e);return E(r)?[]:m.call(t,function(e,t){return mn(r,t)&&h.call(e,t),e},[])}var On="$$OwnerKey$$",Tn="$$OwnKey$$";Symbol("x").toString();function Sn(e){return e[On]}function _n(e){for(var t,n=e;!E(n);){if(!w(t=n[On]))return t;n=G.call(n)}}function Ln(e){return e[Tn]}var Mn="$$ShadowTokenKey$$";function Pn(e,t){w(t)||(te.call(e,t,""),e[Mn]=t)}function Cn(e,t){var n=vn(e);if(t===n)return St(n);if(t instanceof Element){if(_n(e)===_n(t))return t;if(!E(n)&&gn(t)){var r=vn(t);if(!E(r)&&mn(n,r))return r}}return null}function Rn(e){var t=o(e).constructor,n=function(){function e(){throw new TypeError("Illegal constructor")}return e.prototype.hasChildNodes=function(){return In(this).length>0},Object.defineProperty(e.prototype,"firstChild",{get:function(){return In(this)[0]||null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lastChild",{get:function(){var e=In(this);return e[e.length-1]||null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"textContent",{get:function(){return nt(this)},set:function(e){X.call(this,e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"childElementCount",{get:function(){return this.children.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstElementChild",{get:function(){return this.children[0]||null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lastElementChild",{get:function(){var e=this.children;return e.item(e.length-1)||null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"assignedSlot",{get:function(){var e=G.call(this);return E(e)||!gn(e)||_n(e)===_n(this)?null:e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parentNode",{get:function(){var e=G.call(this);return E(e)?e:Cn(this,e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parentElement",{get:function(){var e=G.call(this);if(E(e))return null;var t=Cn(this,e);return t instanceof Element?t:null},enumerable:!0,configurable:!0}),e.prototype.compareDocumentPosition=function(e){return hn.call(this)===e?10:Sn(this)!==Sn(e)?35:W.call(this,e)},e.prototype.contains=function(e){return Sn(this)===Sn(e)&&0!=(W.call(this,e)&j)},e.prototype.cloneNode=function(e){var t=k.call(this,!1);if(!e)return t;for(var n=In(this),r=0,o=n.length;r<o;r+=1)t.appendChild(n[r].cloneNode(!0));return t},e}();return l(n,t),l(n.prototype,t.prototype),n}var Dn,In=function(e){return e.childNodes};document.elementFromPoint=function(e,t){var n=L.call(document,e,t);return E(n)?n:Oe(document,Ne(n,!0))},r(document,"activeElement",{get:function(){var e=_.call(this);if(E(e))return e;for(;!w(Sn(e));)if(E(e=V.call(e)))return null;return"HTML"===e.tagName&&(e=document.body),e},enumerable:!0,configurable:!0}),r(Document.prototype,"getElementById",{value:function(){var e=C.apply(this,p.call(arguments));if(E(e))return null;var t=Sn(this);return Sn(e)===t?e:null},writable:!0,enumerable:!0,configurable:!0}),r(Document.prototype,"querySelector",{value:function(){var e=P.apply(this,p.call(arguments)),t=Sn(this),n=s.call(e,function(e){return Sn(e)===t});return w(n)?null:n},writable:!0,enumerable:!0,configurable:!0}),r(Document.prototype,"querySelectorAll",{value:function(){var e=P.apply(this,p.call(arguments)),t=Sn(this);return at(f.call(e,function(e){return Sn(e)===t}))},writable:!0,enumerable:!0,configurable:!0}),r(Document.prototype,"getElementsByClassName",{value:function(){var e=R.apply(this,p.call(arguments)),t=Sn(this);return ct(f.call(e,function(e){return Sn(e)===t}))},writable:!0,enumerable:!0,configurable:!0}),r(Document.prototype,"getElementsByTagName",{value:function(){var e=D.apply(this,p.call(arguments)),t=Sn(this);return at(f.call(e,function(e){return Sn(e)===t}))},writable:!0,enumerable:!0,configurable:!0}),r(Document.prototype,"getElementsByTagNameNS",{value:function(){var e=I.apply(this,p.call(arguments)),t=Sn(this);return at(f.call(e,function(e){return Sn(e)===t}))},writable:!0,enumerable:!0,configurable:!0}),r(a(HTMLDocument.prototype,"getElementsByName")?HTMLDocument.prototype:Document.prototype,"getElementsByName",{value:function(){var e=A.apply(this,p.call(arguments)),t=Sn(this);return at(f.call(e,function(e){return Sn(e)===t}))},writable:!0,enumerable:!0,configurable:!0}),Dn=HTMLBodyElement.prototype,r(Dn,"querySelector",{value:function(){var e=ne.apply(this,p.call(arguments)),t=Sn(this),n=s.call(e,function(e){return Sn(e)===t});return w(n)?null:n},writable:!0,enumerable:!0,configurable:!0}),r(Dn,"querySelectorAll",{value:function(){var e=ne.apply(this,p.call(arguments)),t=Sn(this);return at(f.call(e,function(e){return Sn(e)===t}))},writable:!0,enumerable:!0,configurable:!0}),r(Dn,"getElementsByClassName",{value:function(){var e=he.apply(this,p.call(arguments)),t=Sn(this);return ct(f.call(e,function(e){return Sn(e)===t}))},writable:!0,enumerable:!0,configurable:!0}),r(Dn,"getElementsByTagName",{value:function(){var e=oe.apply(this,p.call(arguments)),t=Sn(this);return at(f.call(e,function(e){return Sn(e)===t}))},writable:!0,enumerable:!0,configurable:!0}),r(Dn,"getElementsByTagNameNS",{value:function(){var e=le.apply(this,p.call(arguments)),t=Sn(this);return at(f.call(e,function(e){return Sn(e)===t}))},writable:!0,enumerable:!0,configurable:!0}),void 0===window.ShadowRoot&&(window.ShadowRoot=Mt);var An=Object.getOwnPropertyDescriptor(Event.prototype,"composed");var jn,xn=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"click");function Hn(e){Object.defineProperty(e,"composed",{configurable:!0,enumerable:!0,get:function(){return!0}})}(function(){if(!An)return!1;var e=new Event("click"),t=document.createElement("button");return t.addEventListener("click",function(t){return e=t}),t.click(),!An.get.call(e)})()&&(HTMLElement.prototype.click=function(){ie.call(this,"click",Hn);try{xn.value.call(this)}finally{ue.call(this,"click",Hn)}}),void 0===Object.getOwnPropertyDescriptor(Event.prototype,"composed")&&(jn=n(t(null),{blur:1,focus:1,focusin:1,focusout:1,click:1,dblclick:1,mousedown:1,mouseenter:1,mouseleave:1,mousemove:1,mouseout:1,mouseover:1,mouseup:1,wheel:1,beforeinput:1,input:1,keydown:1,keyup:1,compositionstart:1,compositionupdate:1,compositionend:1,touchstart:1,touchend:1,touchmove:1,touchcancel:1,pointerover:1,pointerenter:1,pointerdown:1,pointermove:1,pointerup:1,pointercancel:1,pointerout:1,pointerleave:1,gotpointercapture:1,lostpointercapture:1,dragstart:1,drag:1,dragenter:1,dragleave:1,dragover:1,drop:1,dragend:1,DOMActivate:1,DOMFocusIn:1,DOMFocusOut:1,keypress:1}),Object.defineProperties(Event.prototype,{composed:{get:function(){var e=this.type;return 1===jn[e]},configurable:!0,enumerable:!0}}));var $n,Bn=window.CustomEvent;function Fn(e,t){var n=new Bn(e,t);return Object.defineProperties(n,{composed:{get:function(){return!(!t||!t.composed)},configurable:!0,enumerable:!0}}),n}window.CustomEvent!==Fn&&(window.CustomEvent=Fn,window.CustomEvent.prototype=Bn.prototype),$n=Object.getOwnPropertyDescriptor(Event.prototype,"composed").get,Object.defineProperties(FocusEvent.prototype,{composed:{get:function(){var e=this.isTrusted,t=$n.call(this);return!(!e||!1!==t)||t},enumerable:!0,configurable:!0}});var kn=window.MutationObserver,Wn=kn.prototype,Un=Wn.disconnect,qn=Wn.observe,Kn=Wn.takeRecords,Gn="$$lwcObservedTargets$$",Vn="$$lwcObserverCallbackWrapper$$";function Xn(e,n){var r=n[Gn],o=[];return g.call(r,function(e){var t=e instanceof window.ShadowRoot?Ln(e.host):_n(e);h.call(o,t)}),m.call(e,function(e,n){var l=n.target,a=n.addedNodes,u=n.removedNodes;if("childList"!==n.type||w(Ln(l))){var c=l instanceof window.ShadowRoot?Ln(l.host):_n(l);-1!==b.call(o,c)&&h.call(e,n)}else{var f=_n(a.length>0?a[0]:u[0]);-1!==b.call(o,f)&&(-1!==r.indexOf(l)?h.call(e,n):h.call(e,function(e){var n=e.addedNodes,r=e.removedNodes,o=e.target,l=e.type,a=t(MutationRecord.prototype);return i(a,{addedNodes:{get:function(){return n},enumerable:!0,configurable:!0},removedNodes:{get:function(){return r},enumerable:!0,configurable:!0},type:{get:function(){return l},enumerable:!0,configurable:!0},target:{get:function(){return o.shadowRoot},enumerable:!0,configurable:!0}}),a}(n)))}return e},[])}function Yn(e){var t=function(e){var t=e[Vn];return w(t)&&(t=e[Vn]=function(t,n){var r=Xn(t,n);0!==r.length&&e.call(n,r,n)}),t}(e),n=new kn(t);return r(n,Gn,{value:[]}),n}function zn(){w(this[Gn])||(this[Gn].length=0),Un.call(this)}function Jn(e,t){return w(this[Gn])||h.call(this[Gn],e),e instanceof Mt&&(e=e.host),qn.call(this,e,t)}function Qn(){return Xn(Kn.call(this),this)}window.MutationObserver=Yn,window.MutationObserver.prototype=kn.prototype,window.MutationObserver.prototype.disconnect=zn,window.MutationObserver.prototype.observe=Jn,window.MutationObserver.prototype.takeRecords=Qn;var Zn,er=window.MutationObserver,tr=er.prototype.observe,nr={childList:!0,subtree:!0};function rr(e,t,n){if(Sn(e)!==t&&(function(e,t){e[On]=t}(e,t),e instanceof Element)){Pn(e,n);for(var r=In(e),o=0,l=r.length;o<l;o+=1){rr(r[o],t,n)}}}function or(){return new er(function(e){g.call(e,function(e){var t=e.target,n=e.addedNodes,r=Sn(t),o=function(e){return e[Mn]}(t);if(!w(r))for(var l=0,a=n.length;l<a;l+=1){rr(n[l],r,o)}})})}e.PatchedElement=fn,e.PatchedIframeElement=function(e){return function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Ct(t,e),Object.defineProperty(t.prototype,"contentWindow",{get:function(){var e,t=me.call(this);return t?(e=t,{postMessage:function(){return e.postMessage.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)},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}}):t},enumerable:!0,configurable:!0}),t}(fn(e))},e.PatchedNode=Rn,e.PatchedSlotElement=function(e){var t=fn(e),n=e.addEventListener;return function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Ct(t,e),t.prototype.addEventListener=function(e,t,r){"slotchange"!==e||tt(this,pn)||(et(this,pn,!0),tn||(tn=new It(function(e){var t=[];g.call(e,function(e){var n=e.target;-1===b.call(t,n)&&(h.call(t,n),ve.call(n,new CustomEvent("slotchange")))})})),At.call(tn,this,sn)),n.call(this,e,t,r)},t.prototype.assignedElements=function(e){var t=!w(e)&&N(e.flatten)?bn(this):dn(this);return f.call(t,function(e){return e instanceof Element})},t.prototype.assignedNodes=function(e){return!w(e)&&N(e.flatten)?bn(this):dn(this)},Object.defineProperty(t.prototype,"name",{get:function(){var e=ee.call(this,"name");return E(e)?"":e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){var e=vn(this);return at(E(e)?[]:wn(e,Nn(this)))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){var e=vn(this),t=E(e)?[]:wn(e,Nn(this));return ct(f.call(t,function(e){return e instanceof Element}))},enumerable:!0,configurable:!0}),t}(t)},e.markElementAsPortal=function(e){w(Zn)&&(Zn=or()),tr.call(Zn,e,nr)},e.patchEvent=ke,e.setCSSToken=Pn,Object.defineProperty(e,"__esModule",{value:!0})});

@@ -82,3 +82,3 @@ declare const DocumentPrototypeActiveElement: (this: Document) => Element | null;

<E extends Element = Element>(selectors: string): NodeListOf<E>;
}, getElementById: (elementId: string) => HTMLElement | null, getElementsByClassName: (classNames: string) => HTMLCollectionOf<Element>, getElementsByName: (elementName: string) => NodeListOf<HTMLElement>, getElementsByTagName: {
}, getElementById: (elementId: string) => HTMLElement | null, getElementsByClassName: (classNames: string) => HTMLCollectionOf<Element>, getElementsByTagName: {
<K extends "object" | "link" | "small" | "sub" | "sup" | "track" | "progress" | "a" | "abbr" | "address" | "applet" | "area" | "article" | "aside" | "audio" | "b" | "base" | "basefont" | "bdo" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "dir" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "font" | "footer" | "form" | "frame" | "frameset" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "label" | "legend" | "li" | "map" | "mark" | "marquee" | "menu" | "meta" | "meter" | "nav" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "q" | "rt" | "ruby" | "s" | "samp" | "script" | "section" | "select" | "slot" | "source" | "span" | "strong" | "style" | "table" | "tbody" | "td" | "template" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "u" | "ul" | "var" | "video" | "wbr">(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;

@@ -92,2 +92,3 @@ <K extends "symbol" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "path" | "metadata" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "svg" | "stop" | "switch" | "tspan" | "text" | "textPath" | "use" | "view">(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;

};
declare const getElementsByName: (elementName: string) => NodeListOf<HTMLElement>;
export { elementFromPoint, createDocumentFragment, createElement, createElementNS, createTextNode, createComment, DocumentPrototypeActiveElement, querySelector, querySelectorAll, getElementById, getElementsByClassName, getElementsByName, getElementsByTagName, getElementsByTagNameNS, };

@@ -16,3 +16,3 @@ "use strict";

exports.elementFromPoint = elementFromPoint;
const { createDocumentFragment, createElement, createElementNS, createTextNode, createComment, querySelector, querySelectorAll, getElementById, getElementsByClassName, getElementsByName, getElementsByTagName, getElementsByTagNameNS, } = Document.prototype;
const { createDocumentFragment, createElement, createElementNS, createTextNode, createComment, querySelector, querySelectorAll, getElementById, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, } = Document.prototype;
exports.createDocumentFragment = createDocumentFragment;

@@ -27,5 +27,8 @@ exports.createElement = createElement;

exports.getElementsByClassName = getElementsByClassName;
exports.getElementsByName = getElementsByName;
exports.getElementsByTagName = getElementsByTagName;
exports.getElementsByTagNameNS = getElementsByTagNameNS;
// In Firefox v57 and lower, getElementsByName is defined on HTMLDocument.prototype
// In all other browsers have the method on Document.prototype
const { getElementsByName } = HTMLDocument.prototype;
exports.getElementsByName = getElementsByName;
//# sourceMappingURL=document.js.map

@@ -13,3 +13,3 @@ declare const hasAttribute: (qualifiedName: string) => boolean, getAttribute: (qualifiedName: string) => string | null, getAttributeNS: (namespace: string | null, localName: string) => string | null, setAttribute: (qualifiedName: string, value: string) => void, setAttributeNS: (namespace: string | null, qualifiedName: string, value: string) => void, removeAttribute: (qualifiedName: string) => void, removeAttributeNS: (namespace: string | null, localName: string) => void, querySelector: {

(qualifiedName: string): HTMLCollectionOf<Element>;
}, getElementsByClassName: (classNames: string) => HTMLCollectionOf<Element>, getElementsByTagNameNS: {
}, getElementsByTagNameNS: {
(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;

@@ -32,2 +32,3 @@ (namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;

declare const childrenGetter: (this: HTMLElement) => HTMLCollectionOf<Element>;
declare const getElementsByClassName: (classNames: string) => HTMLCollectionOf<Element>;
export { addEventListener, removeEventListener, hasAttribute, getAttribute, getAttributeNS, setAttribute, setAttributeNS, removeAttribute, removeAttributeNS, querySelector, querySelectorAll, getBoundingClientRect, getElementsByTagName, getElementsByClassName, getElementsByTagNameNS, tagNameGetter, tabIndexGetter, innerHTMLSetter, outerHTMLSetter, matches, childrenGetter, };

@@ -10,3 +10,3 @@ "use strict";

const language_1 = require("../shared/language");
const { hasAttribute, getAttribute, getAttributeNS, setAttribute, setAttributeNS, removeAttribute, removeAttributeNS, querySelector, querySelectorAll, getBoundingClientRect, getElementsByTagName, getElementsByClassName, getElementsByTagNameNS, } = Element.prototype;
const { hasAttribute, getAttribute, getAttributeNS, setAttribute, setAttributeNS, removeAttribute, removeAttributeNS, querySelector, querySelectorAll, getBoundingClientRect, getElementsByTagName, getElementsByTagNameNS, } = Element.prototype;
exports.hasAttribute = hasAttribute;

@@ -23,3 +23,2 @@ exports.getAttribute = getAttribute;

exports.getElementsByTagName = getElementsByTagName;
exports.getElementsByClassName = getElementsByClassName;
exports.getElementsByTagNameNS = getElementsByTagNameNS;

@@ -57,2 +56,6 @@ let { addEventListener, removeEventListener } = Element.prototype;

exports.childrenGetter = childrenGetter;
// for IE11, access from HTMLElement
// for all other browsers access the method from the parent Element interface
const { getElementsByClassName } = HTMLElement.prototype;
exports.getElementsByClassName = getElementsByClassName;
//# sourceMappingURL=element.js.map
import './polyfills/document-shadow/main';
import './polyfills/document-body-shadow/main';
import './polyfills/shadow-root/main';

@@ -3,0 +4,0 @@ import './polyfills/click-event-composed/main';

@@ -14,2 +14,3 @@ "use strict";

require("./polyfills/document-shadow/main");
require("./polyfills/document-body-shadow/main");
require("./polyfills/shadow-root/main");

@@ -16,0 +17,0 @@ require("./polyfills/click-event-composed/main"); // must come before event-composed

@@ -15,2 +15,4 @@ "use strict";

const path_composer_1 = require("../../3rdparty/polymer/path-composer");
const static_node_list_1 = require("../../shared/static-node-list");
const static_html_collection_1 = require("../../shared/static-html-collection");
function apply() {

@@ -48,4 +50,98 @@ function elemFromPoint(left, top) {

});
// The following patched methods hide shadowed elements from global
// traversing mechanisms. They are simplified for performance reasons to
// filter by ownership and do not account for slotted elements. This
// compromise is fine for our synthetic shadow dom because root elements
// cannot have slotted elements.
// Another compromise here is that all these traversing methods will return
// static HTMLCollection or static NodeList. We decided that this compromise
// is not a big problem considering the amount of code that is relying on
// the liveliness of these results are rare.
language_1.defineProperty(Document.prototype, 'getElementById', {
value() {
const elm = document_1.getElementById.apply(this, language_1.ArraySlice.call(arguments));
if (language_1.isNull(elm)) {
return null;
}
const ownerKey = node_1.getNodeOwnerKey(this);
return node_1.getNodeOwnerKey(elm) === ownerKey ? elm : null;
},
writable: true,
enumerable: true,
configurable: true,
});
language_1.defineProperty(Document.prototype, 'querySelector', {
value() {
const elements = document_1.querySelectorAll.apply(this, language_1.ArraySlice.call(arguments));
const ownerKey = node_1.getNodeOwnerKey(this);
const filtered = language_1.ArrayFind.call(elements, elm => node_1.getNodeOwnerKey(elm) === ownerKey);
return !language_1.isUndefined(filtered) ? filtered : null;
},
writable: true,
enumerable: true,
configurable: true,
});
language_1.defineProperty(Document.prototype, 'querySelectorAll', {
value() {
const elements = document_1.querySelectorAll.apply(this, language_1.ArraySlice.call(arguments));
const ownerKey = node_1.getNodeOwnerKey(this);
const filtered = language_1.ArrayFilter.call(elements, elm => node_1.getNodeOwnerKey(elm) === ownerKey);
return static_node_list_1.createStaticNodeList(filtered);
},
writable: true,
enumerable: true,
configurable: true,
});
language_1.defineProperty(Document.prototype, 'getElementsByClassName', {
value() {
const elements = document_1.getElementsByClassName.apply(this, language_1.ArraySlice.call(arguments));
const ownerKey = node_1.getNodeOwnerKey(this);
const filtered = language_1.ArrayFilter.call(elements, elm => node_1.getNodeOwnerKey(elm) === ownerKey);
return static_html_collection_1.createStaticHTMLCollection(filtered);
},
writable: true,
enumerable: true,
configurable: true,
});
language_1.defineProperty(Document.prototype, 'getElementsByTagName', {
value() {
const elements = document_1.getElementsByTagName.apply(this, language_1.ArraySlice.call(arguments));
const ownerKey = node_1.getNodeOwnerKey(this);
const filtered = language_1.ArrayFilter.call(elements, elm => node_1.getNodeOwnerKey(elm) === ownerKey);
// NodeList because of https://bugzilla.mozilla.org/show_bug.cgi?id=14869
return static_node_list_1.createStaticNodeList(filtered);
},
writable: true,
enumerable: true,
configurable: true,
});
language_1.defineProperty(Document.prototype, 'getElementsByTagNameNS', {
value() {
const elements = document_1.getElementsByTagNameNS.apply(this, language_1.ArraySlice.call(arguments));
const ownerKey = node_1.getNodeOwnerKey(this);
const filtered = language_1.ArrayFilter.call(elements, elm => node_1.getNodeOwnerKey(elm) === ownerKey);
// NodeList because of https://bugzilla.mozilla.org/show_bug.cgi?id=14869
return static_node_list_1.createStaticNodeList(filtered);
},
writable: true,
enumerable: true,
configurable: true,
});
language_1.defineProperty(
// In Firefox v57 and lower, getElementsByName is defined on HTMLDocument.prototype
language_1.getOwnPropertyDescriptor(HTMLDocument.prototype, 'getElementsByName')
? HTMLDocument.prototype
: Document.prototype, 'getElementsByName', {
value() {
const elements = document_1.getElementsByName.apply(this, language_1.ArraySlice.call(arguments));
const ownerKey = node_1.getNodeOwnerKey(this);
const filtered = language_1.ArrayFilter.call(elements, elm => node_1.getNodeOwnerKey(elm) === ownerKey);
return static_node_list_1.createStaticNodeList(filtered);
},
writable: true,
enumerable: true,
configurable: true,
});
}
exports.default = apply;
//# sourceMappingURL=polyfill.js.map

@@ -21,2 +21,5 @@ declare const freeze: {

(callbackfn: (value: any, index: number, array: any[]) => any, thisArg?: any): any[];
}, ArrayFind: {
<S extends any>(predicate: (this: void, value: any, index: number, obj: any[]) => value is S, thisArg?: any): S | undefined;
(predicate: (value: any, index: number, obj: any[]) => boolean, thisArg?: any): any;
}, ArraySlice: (start?: number | undefined, end?: number | undefined) => any[], ArraySplice: {

@@ -45,3 +48,3 @@ (start: number, deleteCount?: number | undefined): any[];

};
export { StringToLowerCase, StringReplace, StringIndexOf, StringCharCodeAt, StringSlice, StringSplit, freeze, seal, keys, create, assign, defineProperty, defineProperties, getPrototypeOf, setPrototypeOf, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, hasOwnProperty, preventExtensions, isExtensible, ArrayReduce, ArraySlice, ArraySplice, ArrayUnshift, ArrayFilter, ArrayMap, ArrayJoin, ArrayConcat, isArray, ArrayIndexOf, ArrayPush, ArrayReverse, forEach, };
export { StringToLowerCase, StringReplace, StringIndexOf, StringCharCodeAt, StringSlice, StringSplit, freeze, seal, keys, create, assign, defineProperty, defineProperties, getPrototypeOf, setPrototypeOf, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, hasOwnProperty, preventExtensions, isExtensible, ArrayFind, ArrayReduce, ArraySlice, ArraySplice, ArrayUnshift, ArrayFilter, ArrayMap, ArrayJoin, ArrayConcat, isArray, ArrayIndexOf, ArrayPush, ArrayReverse, forEach, };
export declare function isUndefined(obj: any): obj is undefined;

@@ -48,0 +51,0 @@ export declare function isNull(obj: any): obj is null;

@@ -27,5 +27,6 @@ "use strict";

exports.isArray = isArray;
const { concat: ArrayConcat, filter: ArrayFilter, slice: ArraySlice, splice: ArraySplice, unshift: ArrayUnshift, indexOf: ArrayIndexOf, push: ArrayPush, map: ArrayMap, join: ArrayJoin, forEach, reduce: ArrayReduce, reverse: ArrayReverse, } = Array.prototype;
const { concat: ArrayConcat, filter: ArrayFilter, find: ArrayFind, slice: ArraySlice, splice: ArraySplice, unshift: ArrayUnshift, indexOf: ArrayIndexOf, push: ArrayPush, map: ArrayMap, join: ArrayJoin, forEach, reduce: ArrayReduce, reverse: ArrayReverse, } = Array.prototype;
exports.ArrayConcat = ArrayConcat;
exports.ArrayFilter = ArrayFilter;
exports.ArrayFind = ArrayFind;
exports.ArraySlice = ArraySlice;

@@ -32,0 +33,0 @@ exports.ArraySplice = ArraySplice;

{
"name": "@lwc/synthetic-shadow",
"version": "0.38.1",
"version": "0.39.0",
"description": "Synthetic Shadow Root for LWC",

@@ -22,3 +22,3 @@ "license": "MIT",

},
"gitHead": "f0545f30fd48231fd5e7966dd4f08f189850e708"
"gitHead": "3db043ca0d47aa1759849a9e66a5f6a8d6b61251"
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc