lwc 2.30.2 → 2.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/engine-dom/esm/es2017/engine-dom.js +128 -41
- package/dist/engine-dom/iife/es2017/engine-dom.js +128 -41
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +125 -38
- package/dist/engine-dom/iife/es5/engine-dom.js +156 -65
- package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +153 -62
- package/dist/engine-dom/umd/es2017/engine-dom.js +128 -41
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +125 -38
- package/dist/engine-dom/umd/es5/engine-dom.js +156 -65
- package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +153 -62
- package/dist/engine-server/commonjs/es2017/engine-server.js +120 -40
- package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
- package/dist/engine-server/esm/es2017/engine-server.js +120 -40
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +7 -4
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +7 -4
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js +2 -2
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +7 -4
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +7 -4
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.min.js +2 -2
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +7 -4
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +7 -4
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js +2 -2
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +7 -4
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +7 -4
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.min.js +2 -2
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +7 -4
- package/dist/wire-service/esm/es2017/wire-service.js +2 -2
- package/dist/wire-service/iife/es2017/wire-service.js +2 -2
- package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
- package/dist/wire-service/iife/es5/wire-service.js +2 -2
- package/dist/wire-service/iife/es5/wire-service_debug.js +2 -2
- package/dist/wire-service/umd/es2017/wire-service.js +2 -2
- package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
- package/dist/wire-service/umd/es5/wire-service.js +2 -2
- package/dist/wire-service/umd/es5/wire-service_debug.js +2 -2
- package/package.json +7 -7
|
@@ -174,7 +174,7 @@
|
|
|
174
174
|
var hasNativeSymbolSupport = /*@__PURE__*/function () {
|
|
175
175
|
return Symbol('x').toString() === 'Symbol(x)';
|
|
176
176
|
}();
|
|
177
|
-
/** version: 2.
|
|
177
|
+
/** version: 2.31.0 */
|
|
178
178
|
|
|
179
179
|
/*
|
|
180
180
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -491,7 +491,7 @@
|
|
|
491
491
|
});
|
|
492
492
|
}
|
|
493
493
|
var lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
|
|
494
|
-
/** version: 2.
|
|
494
|
+
/** version: 2.31.0 */
|
|
495
495
|
|
|
496
496
|
/*
|
|
497
497
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -2830,7 +2830,10 @@
|
|
|
2830
2830
|
*/
|
|
2831
2831
|
function detect$1() {
|
|
2832
2832
|
// Note: when using this in mobile apps, we might have a DOM that does not support iframes.
|
|
2833
|
-
|
|
2833
|
+
var hasIframe = typeof HTMLIFrameElement !== 'undefined';
|
|
2834
|
+
// This polyfill should only apply in compat mode; see https://github.com/salesforce/lwc/issues/1513
|
|
2835
|
+
var isCompat = typeof Proxy !== 'undefined' && isTrue(Proxy.isCompat);
|
|
2836
|
+
return hasIframe && isCompat;
|
|
2834
2837
|
}
|
|
2835
2838
|
|
|
2836
2839
|
/*
|
|
@@ -4945,6 +4948,6 @@
|
|
|
4945
4948
|
}));
|
|
4946
4949
|
});
|
|
4947
4950
|
}
|
|
4948
|
-
/** version: 2.
|
|
4951
|
+
/** version: 2.31.0 */
|
|
4949
4952
|
|
|
4950
4953
|
})();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(){"use strict";var e,t;function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}var a=Object.assign,i=Object.create,u=Object.defineProperties,c=Object.defineProperty,s=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.hasOwnProperty,p=Object.setPrototypeOf,g=Array.prototype,m=g.filter,v=g.find,b=g.indexOf,d=g.map,y=g.push,E=g.reduce,w=g.reverse,T=g.slice,N=g.splice,L=g.forEach,M=String.prototype.charCodeAt;function C(e){return void 0===e}function S(e){return null===e}function O(e){return!0===e}function H(e){return!1===e}function _(e){return"function"==typeof e}function A(e){return"object"===o(e)}var R,$,P=function(){if("object"===("undefined"==typeof globalThis?"undefined":o(globalThis)))return globalThis;var e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),D="$shadowResolver$",B="$shadowToken$",I=Node,k=I.prototype,x=I.DOCUMENT_POSITION_CONTAINED_BY,F=I.DOCUMENT_POSITION_PRECEDING,j=I.DOCUMENT_POSITION_FOLLOWING,W=I.ELEMENT_NODE,U=I.TEXT_NODE,K=I.CDATA_SECTION_NODE,G=I.PROCESSING_INSTRUCTION_NODE,q=I.COMMENT_NODE,X=k.appendChild,Y=k.cloneNode,V=k.compareDocumentPosition,z=k.insertBefore,J=k.removeChild,Q=k.replaceChild,Z=k.hasChildNodes,ee=HTMLElement.prototype.contains,te=s(k,"firstChild").get,ne=s(k,"lastChild").get,re=s(k,"textContent").get,le=s(k,"parentNode").get,oe=s(k,"ownerDocument").get,ae=h.call(k,"parentElement")?s(k,"parentElement").get:s(HTMLElement.prototype,"parentElement").get,ie=s(k,"textContent").set,ue=h.call(k,"childNodes")?s(k,"childNodes").get:s(HTMLElement.prototype,"childNodes").get,ce=h.call(k,"isConnected")?s(k,"isConnected").get:function(){var e=oe.call(this);return null===e||0!=(V.call(e,this)&x)},se=Element.prototype,fe=se.getAttribute,he=se.getBoundingClientRect,pe=se.getElementsByTagName,ge=se.getElementsByTagNameNS,me=se.hasAttribute,ve=se.querySelector,be=se.querySelectorAll,de=se.removeAttribute,ye=se.setAttribute,Ee=h.call(Element.prototype,"attachShadow")?Element.prototype.attachShadow:function(){throw new TypeError("attachShadow() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill and use Lightning Web Components")},we=s(Element.prototype,"childElementCount").get,Te=s(Element.prototype,"firstElementChild").get,Ne=s(Element.prototype,"lastElementChild").get,Le=s(HTMLElement.prototype,"innerText"),Me=Le?Le.get:null,Ce=Le?Le.set:null,Se=s(HTMLElement.prototype,"outerText"),Oe=Se?Se.get:null,He=Se?Se.set:null,_e=h.call(Element.prototype,"innerHTML")?s(Element.prototype,"innerHTML"):s(HTMLElement.prototype,"innerHTML"),Ae=_e.get,Re=_e.set,$e=h.call(Element.prototype,"outerHTML")?s(Element.prototype,"outerHTML"):s(HTMLElement.prototype,"outerHTML"),Pe=$e.get,De=$e.set,Be=s(Element.prototype,"tagName").get,Ie=s(HTMLElement.prototype,"tabIndex"),ke=Ie.get,xe=Ie.set,Fe=h.call(Element.prototype,"matches")?Element.prototype.matches:Element.prototype.msMatchesSelector,je=h.call(Element.prototype,"children")?s(Element.prototype,"children").get:s(HTMLElement.prototype,"children").get,We=HTMLElement.prototype.getElementsByClassName,Ue=h.call(Element.prototype,"shadowRoot")?s(Element.prototype,"shadowRoot").get:function(){return null},Ke=h.call(Element.prototype,"assignedSlot")?s(Element.prototype,"assignedSlot").get:function(){return null};"undefined"!=typeof HTMLSlotElement?(R=HTMLSlotElement.prototype.assignedNodes,$=HTMLSlotElement.prototype.assignedElements):(R=function(){throw new TypeError("assignedNodes() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill to start using <slot> elements in your Lightning Web Component's template")},$=function(){throw new TypeError("assignedElements() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill to start using <slot> elements in your Lightning Web Component's template")});var Ge=s(Event.prototype,"target").get,qe=s(Event.prototype,"currentTarget").get,Xe=s(FocusEvent.prototype,"relatedTarget").get,Ye=h.call(Event.prototype,"composedPath")?Event.prototype.composedPath:function(){return[]},Ve=s(Document.prototype,"activeElement").get,ze=h.call(Document.prototype,"elementFromPoint")?Document.prototype.elementFromPoint:Document.prototype.msElementFromPoint,Je=h.call(Document.prototype,"elementsFromPoint")?Document.prototype.elementsFromPoint:Document.prototype.msElementsFromPoint,Qe=s(Document.prototype,"defaultView").get,Ze=Document.prototype,et=Ze.querySelectorAll,tt=Ze.getElementById,nt=Ze.getElementsByClassName,rt=Ze.getElementsByTagName,lt=Ze.getElementsByTagNameNS,ot=HTMLDocument.prototype.getElementsByName,at=window,it=at.addEventListener,ut=at.removeEventListener,ct=at.getComputedStyle,st=at.getSelection,ft=MutationObserver,ht=ft.prototype.observe,pt=null;"undefined"!=typeof ShadowRoot&&(pt=ShadowRoot);var gt=!S(pt),mt=S(pt)?function(){return!1}:function(e){return e instanceof pt};var vt,bt=Document.prototype.createElement;function dt(e){var t=oe.call(e);return null===t?e:t}function yt(e){var t=dt(e),n=Qe.call(t);if(null===n)throw new TypeError;return n}function Et(e){if(C(vt)){var t=dt(e);vt=t.body&&"temporary-bypass"===fe.call(t.body,"data-global-patching-bypass")}return O(vt)}function wt(e){var t=e.length,n=[];if(t>0)for(var r=0;r<t;r++)n[r]=e[r];return n}"undefined"==typeof HTMLSlotElement&&function(){var e=l((function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}));p(e,HTMLElement.constructor),p(e.prototype,HTMLElement.prototype),Window.prototype.HTMLSlotElement=e,c(Document.prototype,"createElement",{value:function(t,n){var r=bt.apply(this,T.call(arguments));return 4===t.length&&115===M.call(t,0)&&108===M.call(t,1)&&111===M.call(t,2)&&116===M.call(t,3)&&p(r,e.prototype),r}})}();var Tt="undefined"!=typeof EventTarget?EventTarget.prototype:I.prototype,Nt=Tt.addEventListener,Lt=Tt.dispatchEvent,Mt=Tt.removeEventListener;P.lwcRuntimeFlags||Object.defineProperty(P,"lwcRuntimeFlags",{value:i(null)});var Ct=P.lwcRuntimeFlags,St="$$HostElementKey$$",Ot="$$ShadowedNodeKey$$";function Ht(e,t,n){var r=e,l=n.value;r[t]=l}function _t(e){return e[St]}function At(e){for(var t,n=e;!S(n);){if(!C(t=_t(n)))return t;if(n=le.call(n),Ct.ENABLE_LIGHT_GET_ROOT_NODE_PATCH&&!S(n)&&It(n))return}}function Rt(e){return e[Ot]}function $t(e){return!C(_t(e))}function Pt(e){for(var t=ae.call(e);!S(t)&&kt(t);)e=t,t=ae.call(e);return e}function Dt(e,t){for(var n=Rt(e),r=t instanceof Element?t:ae.call(t);!S(r)&&r!==e;){var l=At(r),o=ae.call(r);if(l===n)return kt(r);if(o===e)return!1;if(S(o)||At(o)===l)r=o;else{if(!kt(o))return!1;if(!S(r=Bt(Pt(o)))){if(r===e)return!0;if(At(r)===n)return!0}}}return!1}function Bt(e){if(!(e instanceof I))return null;var t=At(e);if(C(t))return null;for(var n=e;!S(n)&&Rt(n)!==t;)n=le.call(n);return S(n)?null:n}function It(e){return kt(e)&&$t(e)}function kt(e){return e instanceof HTMLSlotElement}function xt(e,t){var n=At(t);if(C(n)){if(Ct.ENABLE_LIGHT_GET_ROOT_NODE_PATCH){var r=le.call(t);if(!S(r)&&It(r))return!1}return!0}return Rt(e)===n}function Ft(e){var t=Jn(e);return Ut(t,wt(ue.call(t)))}function jt(e,t){for(var n=[],r=0,l=t.length;r<l;r+=1){var o=t[r];!xt(e,o)&&Dt(e,o)&&y.call(n,o)}return n}function Wt(e,t){for(var n=0,r=t.length;n<r;n+=1){var l=t[n];if(!xt(e,l)&&Dt(e,l))return l}return null}function Ut(e,t){for(var n=[],r=0,l=t.length;r<l;r+=1){var o=t[r];xt(e,o)&&y.call(n,o)}return n}function Kt(e,t){for(var n=0,r=t.length;n<r;n+=1)if(xt(e,t[n]))return t[n];return null}function Gt(e){if(!Zn(e)&&!kt(e))return wt(ue.call(e));if(Zn(e)){var t=wt(be.call(e,"slot")),n=Yn(Qn(e));return E.call(t,(function(e,t){return n===Yn(t)&&y.apply(e,qt(t)),e}),[])}var r=wt(ue.call(e)),l=Yn(e);return m.call(r,(function(e){return l===Yn(e)}))}function qt(e){var t=Bt(e);if(S(t))return[];var n=wt(ue.call(e));return m.call(n,(function(e){return!$t(e)||!xt(t,e)}))}var Xt=/[&\u00A0"]/g,Yt=/[&\u00A0<>]/g,Vt=String.prototype,zt=Vt.replace,Jt=Vt.toLowerCase;function Qt(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" ";default:return""}}function Zt(e){return zt.call(e,Xt,Qt)}var en=new Set(["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"]),tn=new Set(["STYLE","SCRIPT","XMP","IFRAME","NOEMBED","NOFRAMES","PLAINTEXT","NOSCRIPT"]);function nn(e){switch(e.nodeType){case W:for(var t,n=e.attributes,r=Be.call(e),l="<"+Jt.call(r),o=0;t=n[o];o++)l+=" "+t.name+'="'+Zt(t.value)+'"';return l+=">",en.has(r)?l:l+function(e){for(var t="",n=Gt(e),r=0,l=n.length;r<l;r+=1)t+=nn(n[r]);return t}(e)+"</"+Jt.call(r)+">";case U:var a=e.data,i=e.parentNode;return i instanceof Element&&tn.has(Be.call(i))?a:function(e){return zt.call(e,Yt,Qt)}(a);case K:return"<!CDATA[[".concat(e.data,"]]>");case G:return"<?".concat(e.target," ").concat(e.data,"?>");case q:return"\x3c!--".concat(e.data,"--\x3e");default:return""}}function rn(e){if(e.nodeType===W){for(var t=Gt(e),n="",r=0,l=t.length;r<l;r+=1){var o=t[r];o.nodeType!==q&&(n+=rn(o))}return n}return e.nodeValue}var ln=new WeakMap;function on(){throw new TypeError("Illegal constructor")}function an(e){var t=i(on.prototype);return ln.set(t,e),L.call(e,(function(e,n){c(t,n,{value:e,enumerable:!0,configurable:!0})})),t}on.prototype=i(NodeList.prototype,(n(e={constructor:{writable:!0,configurable:!0,value:on},item:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return this[e]}},length:{enumerable:!0,configurable:!0,get:function(){return ln.get(this).length}},forEach:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){L.call(ln.get(this),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value:function(){return d.call(ln.get(this),(function(e,t){return[t,e]}))}},keys:{writable:!0,enumerable:!0,configurable:!0,value:function(){return d.call(ln.get(this),(function(e,t){return t}))}},values:{writable:!0,enumerable:!0,configurable:!0,value:function(){return ln.get(this)}}},Symbol.iterator,{writable:!0,configurable:!0,value:function(){var e=this,t=0;return{next:function(){var n=ln.get(e);return t<n.length?{value:n[t++],done:!1}:{done:!0}}}}}),n(e,Symbol.toStringTag,{configurable:!0,get:function(){return"NodeList"}}),n(e,"toString",{writable:!0,configurable:!0,value:function(){return"[object NodeList]"}}),e)),p(on,NodeList);var un=function(e,t){for(var n;!C(n=e.host);){var r=n.getRootNode();if(r===t)return n;e=r}};function cn(e,t,n,r){var l=Je.call(t,n,r),o=[],a=function(e){for(var t,n=[],r=e.getRootNode();!C(r);)n.push(r),r=null===(t=r.host)||void 0===t?void 0:t.getRootNode();return n}(e);if(!S(l))for(var i=0;i<l.length;i++){var u=l[i];if(!It(u)){var c=u.getRootNode();if(-1===b.call(a,c)){var s=un(c,a[0]);C(s)||-1!==b.call(l,s)||-1!==b.call(o,s)||y.call(o,s)}else y.call(o,u)}}return o}var sn=new WeakMap;function fn(){throw new TypeError("Illegal constructor")}function hn(e){var t=i(fn.prototype);return sn.set(t,e),L.call(e,(function(e,n){c(t,n,{value:e,enumerable:!0,configurable:!0})})),t}function pn(e){return It(e)||Zn(e)}function gn(e,t){var n=Bt(e);if(t===n)return Qn(n);if(t instanceof Element){if(At(e)===At(t))return t;if(!S(n)&&kt(t)){var r=Bt(t);if(!S(r)&&xt(n,r))return r}}return null}function mn(){return Sn(this).length>0}function vn(){return Sn(this)[0]||null}function bn(){var e=Sn(this);return e[e.length-1]||null}function dn(){return rn(this)}function yn(){var e=le.call(this);return S(e)?e:gn(this,e)}function En(){var e=le.call(this);if(S(e))return null;var t=gn(this,e);return t instanceof Element?t:null}function wn(e){return this===e?0:this.getRootNode()===e?10:_t(this)!==_t(e)?35:V.call(this,e)}function Tn(e){return null!=e&&_t(this)===_t(e)&&0!=(V.call(this,e)&x)}function Nn(e){var t=Y.call(this,!1);if(!e)return t;for(var n=Sn(this),r=0,l=n.length;r<l;r+=1)t.appendChild(n[r].cloneNode(!0));return t}function Ln(){if(Zn(this)){var e=Bt(this);return an(S(e)?[]:Ut(e,Gt(this)))}return ue.call(this)}fn.prototype=i(HTMLCollection.prototype,(n(t={constructor:{writable:!0,configurable:!0,value:fn},item:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return this[e]}},length:{enumerable:!0,configurable:!0,get:function(){return sn.get(this).length}},namedItem:{writable:!0,enumerable:!0,configurable:!0,value:function(e){if(""===e)return null;for(var t=sn.get(this),n=0,r=t.length;n<r;n++){var l=t[r];if(e===fe.call(l,"id")||e===fe.call(l,"name"))return l}return null}}},Symbol.toStringTag,{configurable:!0,get:function(){return"HTMLCollection"}}),n(t,"toString",{writable:!0,configurable:!0,value:function(){return"[object HTMLCollection]"}}),t)),p(fn,HTMLCollection);var Mn=I.prototype.getRootNode,Cn=C(Mn)?function(){for(var e,t=this;!S(e=le.call(t));)t=e;return t}:Mn;u(I.prototype,{firstChild:{get:function(){return pn(this)?vn.call(this):te.call(this)},enumerable:!0,configurable:!0},lastChild:{get:function(){return pn(this)?bn.call(this):ne.call(this)},enumerable:!0,configurable:!0},textContent:{get:function(){return Ct.ENABLE_NODE_PATCH?Et(this)?re.call(this):dn.call(this):$t(this)||Zn(this)?dn.call(this):re.call(this)},set:function(e){ie.call(this,e)},enumerable:!0,configurable:!0},parentNode:{get:function(){if($t(this))return yn.call(this);var e=le.call(this);return!S(e)&&It(e)?Bt(e):e},enumerable:!0,configurable:!0},parentElement:{get:function(){if($t(this))return En.call(this);var e=ae.call(this);return!S(e)&&It(e)?Bt(e):e},enumerable:!0,configurable:!0},childNodes:{get:function(){return pn(this)?Ln.call(this):ue.call(this)},enumerable:!0,configurable:!0},hasChildNodes:{value:function(){return pn(this)?mn.call(this):Z.call(this)},enumerable:!0,writable:!0,configurable:!0},compareDocumentPosition:{value:function(e){return Et(this)?V.call(this,e):wn.call(this,e)},enumerable:!0,writable:!0,configurable:!0},contains:{value:function(e){return this===e||(Ct.ENABLE_NODE_PATCH?Et(this)?ee.call(this,e):Tn.call(this,e):null!=e&&($t(this)||Zn(this)?Tn.call(this,e):ee.call(this,e)))},enumerable:!0,writable:!0,configurable:!0},cloneNode:{value:function(e){return Ct.ENABLE_NODE_PATCH?O(e)?Et(this)?Y.call(this,e):Nn.call(this,e):Y.call(this,e):$t(this)||Zn(this)?Nn.call(this,e):Y.call(this,e)},enumerable:!0,writable:!0,configurable:!0},getRootNode:{value:function(e){var t,n;return O(!C(e)&&!!e.composed)?Cn.call(this,e):S(n=Bt(t=this))?Cn.call(t):Qn(n)},enumerable:!0,configurable:!0,writable:!0},isConnected:{enumerable:!0,configurable:!0,get:function(){return ce.call(this)}}});var Sn=function(e){return e.childNodes};h.call(HTMLElement.prototype,"contains")&&c(HTMLElement.prototype,"contains",s(I.prototype,"contains")),h.call(HTMLElement.prototype,"parentElement")&&c(HTMLElement.prototype,"parentElement",s(I.prototype,"parentElement"));var On=new WeakMap,Hn=new WeakMap;function _n(e,t,n){if(t===n)return!0;var r=Hn.get(e);return C(r)&&(r=e.composedPath(),Hn.set(e,r)),r.includes(n)}function An(e){if(!function(e){return _(e)||A(e)&&!S(e)&&_(e.handleEvent)}(e))return e;var t=On.get(e);return C(t)&&(t=function(t){var n=qe.call(t);if(_n(t,Dn(t),n))return _(e)?e.call(this,t):e.handleEvent&&e.handleEvent(t)},On.set(e,t)),t}var Rn=new WeakMap,$n=new WeakMap;function Pn(e){var t=$n.get(e);return C(t)&&(t=i(null),$n.set(e,t)),t}function Dn(e){var t;return null!==(t=or.get(e))&&void 0!==t?t:Ge.call(e)}var Bn=new WeakMap;function In(e){if(!_(e))throw new TypeError;var t=Bn.get(e);return C(t)&&((t=function(t){var n=qe.call(t);mt(n)||(n=Qn(n)),_n(t,Dn(t),n)&&e.call(n,t)}).placement=1,Bn.set(e,t)),t}var kn=new WeakMap;function xn(e){if(!_(e))throw new TypeError;var t=kn.get(e);return C(t)&&((t=function(t){var n=qe.call(t);_n(t,Dn(t),n)&&e.call(n,t)}).placement=0,kn.set(e,t)),t}function Fn(e){var t=!1,n=!1,r=e.type,l=e.stopImmediatePropagation,o=e.stopPropagation,a=Pn(qe.call(e))[r];c(e,"stopImmediatePropagation",{value:function(){t=!0,l.call(e)},writable:!0,enumerable:!0,configurable:!0}),c(e,"stopPropagation",{value:function(){n=!0,o.call(e)},writable:!0,enumerable:!0,configurable:!0});var i=T.call(a);function u(n){L.call(i,(function(r){H(t)&&r.placement===n&&-1!==b.call(a,r)&&r.call(void 0,e)}))}Rn.set(e,1),u(1),H(t)&&H(n)&&(Rn.set(e,0),u(0)),Rn.set(e,2)}function jn(e,t,n){var r=Pn(e),l=r[t];C(l)&&(l=r[t]=[]),-1===b.call(l,n)&&(0===l.length&&Nt.call(e,t,Fn),y.call(l,n))}function Wn(e,t,n){var r,l;C(l=Pn(e)[t])||-1===(r=b.call(l,n))||(N.call(l,r,1),0===l.length&&Mt.call(e,t,Fn))}function Un(e,t,n){_(t)&&jn(this,e,xn(t))}function Kn(e,t,n){_(t)&&Wn(this,e,xn(t))}var Gn=new WeakMap,qn=document.createDocumentFragment;function Xn(e){var t=Gn.get(e);if(C(t))throw new TypeError;return t}function Yn(e){return e.$shadowResolver$}function Vn(e,t){e.$shadowResolver$=t}function zn(e){return Xn(e).delegatesFocus}function Jn(e){return Xn(e).host}function Qn(e){return Xn(e).shadowRoot}function Zn(e){var t=Gn.get(e);return!C(t)&&e===t.host}function er(e){var t=Gn.get(e);return!C(t)&&e===t.shadowRoot}c(I.prototype,D,{set:function(e){var t,n;C(e)||(this.$$ShadowResolverKey$$=e,t=this,n=e.nodeKey,Ht(t,St,{value:n,configurable:!0}))},get:function(){return this.$$ShadowResolverKey$$},configurable:!0,enumerable:!0}),c(P,"$isNativeShadowRootDefined$",{value:gt});var tr=0;function nr(e,t){if(Gn.has(e))throw new Error("Failed to execute 'attachShadow' on 'Element': Shadow root cannot be created on a host which already hosts a shadow tree.");var n=t.mode,r=t.delegatesFocus,l=dt(e),o=qn.call(l),a={mode:n,delegatesFocus:!!r,host:e,shadowRoot:o};Gn.set(o,a),Gn.set(e,a);var i=function(){return o},u=i.nodeKey=tr++;return Ht(e,Ot,{value:u}),Vn(o,i),p(o,ir.prototype),o}var rr={constructor:{writable:!0,configurable:!0,value:ir},toString:{writable:!0,configurable:!0,value:function(){return"[object ShadowRoot]"}},synthetic:{writable:!1,enumerable:!1,configurable:!1,value:!0}},lr={activeElement:{enumerable:!0,configurable:!0,get:function(){var e=Jn(this),t=dt(e),n=Ve.call(t);if(S(n))return n;if(0==(V.call(e,n)&x))return null;for(var r=n;!xt(e,r);)r=ae.call(r);return kt(r)?null:r}},delegatesFocus:{configurable:!0,get:function(){return Xn(this).delegatesFocus}},elementFromPoint:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return sr(this,dt(Jn(this)),e,t)}},elementsFromPoint:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return cn(this,dt(Jn(this)),e,t)}},getSelection:{writable:!0,enumerable:!0,configurable:!0,value:function(){throw new Error('Disallowed method "getSelection" on ShadowRoot.')}},host:{enumerable:!0,configurable:!0,get:function(){return Jn(this)}},mode:{configurable:!0,get:function(){return Xn(this).mode}},styleSheets:{enumerable:!0,configurable:!0,get:function(){throw new Error}}},or=new WeakMap,ar={insertBefore:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return z.call(Jn(this),e,t),e}},removeChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return J.call(Jn(this),e),e}},appendChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return X.call(Jn(this),e),e}},replaceChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return Q.call(Jn(this),e,t),t}},addEventListener:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t,n){!function(e,t,n,r){_(n)&&jn(Jn(e),t,In(n))}(this,e,t)}},dispatchEvent:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return or.set(e,this),Lt.apply(Jn(this),arguments)}},removeEventListener:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t,n){!function(e,t,n,r){_(n)&&Wn(Jn(e),t,In(n))}(this,e,t)}},baseURI:{enumerable:!0,configurable:!0,get:function(){return Jn(this).baseURI}},childNodes:{enumerable:!0,configurable:!0,get:function(){return an(Ft(this))}},cloneNode:{writable:!0,enumerable:!0,configurable:!0,value:function(){throw new Error('Disallowed method "cloneNode" on ShadowRoot.')}},compareDocumentPosition:{writable:!0,enumerable:!0,configurable:!0,value:function(e){var t=Jn(this);return this===e?0:this.contains(e)?20:V.call(t,e)&x?37:35}},contains:{writable:!0,enumerable:!0,configurable:!0,value:function(e){if(this===e)return!0;var t=Jn(this);return 0!=(V.call(t,e)&x)&&xt(t,e)}},firstChild:{enumerable:!0,configurable:!0,get:function(){return Sn(this)[0]||null}},lastChild:{enumerable:!0,configurable:!0,get:function(){var e=Sn(this);return e[e.length-1]||null}},hasChildNodes:{writable:!0,enumerable:!0,configurable:!0,value:function(){return Sn(this).length>0}},isConnected:{enumerable:!0,configurable:!0,get:function(){return ce.call(Jn(this))}},nextSibling:{enumerable:!0,configurable:!0,get:function(){return null}},previousSibling:{enumerable:!0,configurable:!0,get:function(){return null}},nodeName:{enumerable:!0,configurable:!0,get:function(){return"#document-fragment"}},nodeType:{enumerable:!0,configurable:!0,get:function(){return 11}},nodeValue:{enumerable:!0,configurable:!0,get:function(){return null}},ownerDocument:{enumerable:!0,configurable:!0,get:function(){return Jn(this).ownerDocument}},parentElement:{enumerable:!0,configurable:!0,get:function(){return null}},parentNode:{enumerable:!0,configurable:!0,get:function(){return null}},textContent:{enumerable:!0,configurable:!0,get:function(){for(var e=Sn(this),t="",n=0,r=e.length;n<r;n+=1){var l=e[n];l.nodeType!==q&&(t+=rn(l))}return t},set:function(e){var t=Jn(this);ie.call(t,e)}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return!C(e)&&O(e.composed)?Jn(this).getRootNode(e):this}}};function ir(){throw new TypeError("Illegal constructor")}function ur(e,t){var n,r=[];if(e instanceof Window)n=e;else{if(!(e instanceof I))return r;n=e.getRootNode()}for(var l,o=e;!S(o);)if(r.push(o),o instanceof Element||o instanceof Text){var a=o.assignedSlot;o=S(a)?o.parentNode:a}else o=!er(o)&&!mt(o)||!t&&o===n?o instanceof I?o.parentNode:null:o.host;return l=e instanceof Window?e.document:dt(e),r[r.length-1]===l&&r.push(window),r}
|
|
1
|
+
!function(){"use strict";var e,t;function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}var a=Object.assign,i=Object.create,u=Object.defineProperties,c=Object.defineProperty,s=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.hasOwnProperty,p=Object.setPrototypeOf,g=Array.prototype,m=g.filter,v=g.find,b=g.indexOf,d=g.map,y=g.push,E=g.reduce,w=g.reverse,T=g.slice,N=g.splice,L=g.forEach,M=String.prototype.charCodeAt;function C(e){return void 0===e}function S(e){return null===e}function O(e){return!0===e}function H(e){return!1===e}function _(e){return"function"==typeof e}function A(e){return"object"===o(e)}var R,P,$=function(){if("object"===("undefined"==typeof globalThis?"undefined":o(globalThis)))return globalThis;var e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),D="$shadowResolver$",B="$shadowToken$",I=Node,x=I.prototype,k=I.DOCUMENT_POSITION_CONTAINED_BY,F=I.DOCUMENT_POSITION_PRECEDING,j=I.DOCUMENT_POSITION_FOLLOWING,W=I.ELEMENT_NODE,U=I.TEXT_NODE,K=I.CDATA_SECTION_NODE,G=I.PROCESSING_INSTRUCTION_NODE,q=I.COMMENT_NODE,X=x.appendChild,Y=x.cloneNode,V=x.compareDocumentPosition,z=x.insertBefore,J=x.removeChild,Q=x.replaceChild,Z=x.hasChildNodes,ee=HTMLElement.prototype.contains,te=s(x,"firstChild").get,ne=s(x,"lastChild").get,re=s(x,"textContent").get,le=s(x,"parentNode").get,oe=s(x,"ownerDocument").get,ae=h.call(x,"parentElement")?s(x,"parentElement").get:s(HTMLElement.prototype,"parentElement").get,ie=s(x,"textContent").set,ue=h.call(x,"childNodes")?s(x,"childNodes").get:s(HTMLElement.prototype,"childNodes").get,ce=h.call(x,"isConnected")?s(x,"isConnected").get:function(){var e=oe.call(this);return null===e||0!=(V.call(e,this)&k)},se=Element.prototype,fe=se.getAttribute,he=se.getBoundingClientRect,pe=se.getElementsByTagName,ge=se.getElementsByTagNameNS,me=se.hasAttribute,ve=se.querySelector,be=se.querySelectorAll,de=se.removeAttribute,ye=se.setAttribute,Ee=h.call(Element.prototype,"attachShadow")?Element.prototype.attachShadow:function(){throw new TypeError("attachShadow() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill and use Lightning Web Components")},we=s(Element.prototype,"childElementCount").get,Te=s(Element.prototype,"firstElementChild").get,Ne=s(Element.prototype,"lastElementChild").get,Le=s(HTMLElement.prototype,"innerText"),Me=Le?Le.get:null,Ce=Le?Le.set:null,Se=s(HTMLElement.prototype,"outerText"),Oe=Se?Se.get:null,He=Se?Se.set:null,_e=h.call(Element.prototype,"innerHTML")?s(Element.prototype,"innerHTML"):s(HTMLElement.prototype,"innerHTML"),Ae=_e.get,Re=_e.set,Pe=h.call(Element.prototype,"outerHTML")?s(Element.prototype,"outerHTML"):s(HTMLElement.prototype,"outerHTML"),$e=Pe.get,De=Pe.set,Be=s(Element.prototype,"tagName").get,Ie=s(HTMLElement.prototype,"tabIndex"),xe=Ie.get,ke=Ie.set,Fe=h.call(Element.prototype,"matches")?Element.prototype.matches:Element.prototype.msMatchesSelector,je=h.call(Element.prototype,"children")?s(Element.prototype,"children").get:s(HTMLElement.prototype,"children").get,We=HTMLElement.prototype.getElementsByClassName,Ue=h.call(Element.prototype,"shadowRoot")?s(Element.prototype,"shadowRoot").get:function(){return null},Ke=h.call(Element.prototype,"assignedSlot")?s(Element.prototype,"assignedSlot").get:function(){return null};"undefined"!=typeof HTMLSlotElement?(R=HTMLSlotElement.prototype.assignedNodes,P=HTMLSlotElement.prototype.assignedElements):(R=function(){throw new TypeError("assignedNodes() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill to start using <slot> elements in your Lightning Web Component's template")},P=function(){throw new TypeError("assignedElements() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill to start using <slot> elements in your Lightning Web Component's template")});var Ge=s(Event.prototype,"target").get,qe=s(Event.prototype,"currentTarget").get,Xe=s(FocusEvent.prototype,"relatedTarget").get,Ye=h.call(Event.prototype,"composedPath")?Event.prototype.composedPath:function(){return[]},Ve=s(Document.prototype,"activeElement").get,ze=h.call(Document.prototype,"elementFromPoint")?Document.prototype.elementFromPoint:Document.prototype.msElementFromPoint,Je=h.call(Document.prototype,"elementsFromPoint")?Document.prototype.elementsFromPoint:Document.prototype.msElementsFromPoint,Qe=s(Document.prototype,"defaultView").get,Ze=Document.prototype,et=Ze.querySelectorAll,tt=Ze.getElementById,nt=Ze.getElementsByClassName,rt=Ze.getElementsByTagName,lt=Ze.getElementsByTagNameNS,ot=HTMLDocument.prototype.getElementsByName,at=window,it=at.addEventListener,ut=at.removeEventListener,ct=at.getComputedStyle,st=at.getSelection,ft=MutationObserver,ht=ft.prototype.observe,pt=null;"undefined"!=typeof ShadowRoot&&(pt=ShadowRoot);var gt=!S(pt),mt=S(pt)?function(){return!1}:function(e){return e instanceof pt};var vt,bt=Document.prototype.createElement;function dt(e){var t=oe.call(e);return null===t?e:t}function yt(e){var t=dt(e),n=Qe.call(t);if(null===n)throw new TypeError;return n}function Et(e){if(C(vt)){var t=dt(e);vt=t.body&&"temporary-bypass"===fe.call(t.body,"data-global-patching-bypass")}return O(vt)}function wt(e){var t=e.length,n=[];if(t>0)for(var r=0;r<t;r++)n[r]=e[r];return n}"undefined"==typeof HTMLSlotElement&&function(){var e=l((function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}));p(e,HTMLElement.constructor),p(e.prototype,HTMLElement.prototype),Window.prototype.HTMLSlotElement=e,c(Document.prototype,"createElement",{value:function(t,n){var r=bt.apply(this,T.call(arguments));return 4===t.length&&115===M.call(t,0)&&108===M.call(t,1)&&111===M.call(t,2)&&116===M.call(t,3)&&p(r,e.prototype),r}})}();var Tt="undefined"!=typeof EventTarget?EventTarget.prototype:I.prototype,Nt=Tt.addEventListener,Lt=Tt.dispatchEvent,Mt=Tt.removeEventListener;$.lwcRuntimeFlags||Object.defineProperty($,"lwcRuntimeFlags",{value:i(null)});var Ct=$.lwcRuntimeFlags,St="$$HostElementKey$$",Ot="$$ShadowedNodeKey$$";function Ht(e,t,n){var r=e,l=n.value;r[t]=l}function _t(e){return e[St]}function At(e){for(var t,n=e;!S(n);){if(!C(t=_t(n)))return t;if(n=le.call(n),Ct.ENABLE_LIGHT_GET_ROOT_NODE_PATCH&&!S(n)&&It(n))return}}function Rt(e){return e[Ot]}function Pt(e){return!C(_t(e))}function $t(e){for(var t=ae.call(e);!S(t)&&xt(t);)e=t,t=ae.call(e);return e}function Dt(e,t){for(var n=Rt(e),r=t instanceof Element?t:ae.call(t);!S(r)&&r!==e;){var l=At(r),o=ae.call(r);if(l===n)return xt(r);if(o===e)return!1;if(S(o)||At(o)===l)r=o;else{if(!xt(o))return!1;if(!S(r=Bt($t(o)))){if(r===e)return!0;if(At(r)===n)return!0}}}return!1}function Bt(e){if(!(e instanceof I))return null;var t=At(e);if(C(t))return null;for(var n=e;!S(n)&&Rt(n)!==t;)n=le.call(n);return S(n)?null:n}function It(e){return xt(e)&&Pt(e)}function xt(e){return e instanceof HTMLSlotElement}function kt(e,t){var n=At(t);if(C(n)){if(Ct.ENABLE_LIGHT_GET_ROOT_NODE_PATCH){var r=le.call(t);if(!S(r)&&It(r))return!1}return!0}return Rt(e)===n}function Ft(e){var t=Jn(e);return Ut(t,wt(ue.call(t)))}function jt(e,t){for(var n=[],r=0,l=t.length;r<l;r+=1){var o=t[r];!kt(e,o)&&Dt(e,o)&&y.call(n,o)}return n}function Wt(e,t){for(var n=0,r=t.length;n<r;n+=1){var l=t[n];if(!kt(e,l)&&Dt(e,l))return l}return null}function Ut(e,t){for(var n=[],r=0,l=t.length;r<l;r+=1){var o=t[r];kt(e,o)&&y.call(n,o)}return n}function Kt(e,t){for(var n=0,r=t.length;n<r;n+=1)if(kt(e,t[n]))return t[n];return null}function Gt(e){if(!Zn(e)&&!xt(e))return wt(ue.call(e));if(Zn(e)){var t=wt(be.call(e,"slot")),n=Yn(Qn(e));return E.call(t,(function(e,t){return n===Yn(t)&&y.apply(e,qt(t)),e}),[])}var r=wt(ue.call(e)),l=Yn(e);return m.call(r,(function(e){return l===Yn(e)}))}function qt(e){var t=Bt(e);if(S(t))return[];var n=wt(ue.call(e));return m.call(n,(function(e){return!Pt(e)||!kt(t,e)}))}var Xt=/[&\u00A0"]/g,Yt=/[&\u00A0<>]/g,Vt=String.prototype,zt=Vt.replace,Jt=Vt.toLowerCase;function Qt(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" ";default:return""}}function Zt(e){return zt.call(e,Xt,Qt)}var en=new Set(["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"]),tn=new Set(["STYLE","SCRIPT","XMP","IFRAME","NOEMBED","NOFRAMES","PLAINTEXT","NOSCRIPT"]);function nn(e){switch(e.nodeType){case W:for(var t,n=e.attributes,r=Be.call(e),l="<"+Jt.call(r),o=0;t=n[o];o++)l+=" "+t.name+'="'+Zt(t.value)+'"';return l+=">",en.has(r)?l:l+function(e){for(var t="",n=Gt(e),r=0,l=n.length;r<l;r+=1)t+=nn(n[r]);return t}(e)+"</"+Jt.call(r)+">";case U:var a=e.data,i=e.parentNode;return i instanceof Element&&tn.has(Be.call(i))?a:function(e){return zt.call(e,Yt,Qt)}(a);case K:return"<!CDATA[[".concat(e.data,"]]>");case G:return"<?".concat(e.target," ").concat(e.data,"?>");case q:return"\x3c!--".concat(e.data,"--\x3e");default:return""}}function rn(e){if(e.nodeType===W){for(var t=Gt(e),n="",r=0,l=t.length;r<l;r+=1){var o=t[r];o.nodeType!==q&&(n+=rn(o))}return n}return e.nodeValue}var ln=new WeakMap;function on(){throw new TypeError("Illegal constructor")}function an(e){var t=i(on.prototype);return ln.set(t,e),L.call(e,(function(e,n){c(t,n,{value:e,enumerable:!0,configurable:!0})})),t}on.prototype=i(NodeList.prototype,(n(e={constructor:{writable:!0,configurable:!0,value:on},item:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return this[e]}},length:{enumerable:!0,configurable:!0,get:function(){return ln.get(this).length}},forEach:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){L.call(ln.get(this),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value:function(){return d.call(ln.get(this),(function(e,t){return[t,e]}))}},keys:{writable:!0,enumerable:!0,configurable:!0,value:function(){return d.call(ln.get(this),(function(e,t){return t}))}},values:{writable:!0,enumerable:!0,configurable:!0,value:function(){return ln.get(this)}}},Symbol.iterator,{writable:!0,configurable:!0,value:function(){var e=this,t=0;return{next:function(){var n=ln.get(e);return t<n.length?{value:n[t++],done:!1}:{done:!0}}}}}),n(e,Symbol.toStringTag,{configurable:!0,get:function(){return"NodeList"}}),n(e,"toString",{writable:!0,configurable:!0,value:function(){return"[object NodeList]"}}),e)),p(on,NodeList);var un=function(e,t){for(var n;!C(n=e.host);){var r=n.getRootNode();if(r===t)return n;e=r}};function cn(e,t,n,r){var l=Je.call(t,n,r),o=[],a=function(e){for(var t,n=[],r=e.getRootNode();!C(r);)n.push(r),r=null===(t=r.host)||void 0===t?void 0:t.getRootNode();return n}(e);if(!S(l))for(var i=0;i<l.length;i++){var u=l[i];if(!It(u)){var c=u.getRootNode();if(-1===b.call(a,c)){var s=un(c,a[0]);C(s)||-1!==b.call(l,s)||-1!==b.call(o,s)||y.call(o,s)}else y.call(o,u)}}return o}var sn=new WeakMap;function fn(){throw new TypeError("Illegal constructor")}function hn(e){var t=i(fn.prototype);return sn.set(t,e),L.call(e,(function(e,n){c(t,n,{value:e,enumerable:!0,configurable:!0})})),t}function pn(e){return It(e)||Zn(e)}function gn(e,t){var n=Bt(e);if(t===n)return Qn(n);if(t instanceof Element){if(At(e)===At(t))return t;if(!S(n)&&xt(t)){var r=Bt(t);if(!S(r)&&kt(n,r))return r}}return null}function mn(){return Sn(this).length>0}function vn(){return Sn(this)[0]||null}function bn(){var e=Sn(this);return e[e.length-1]||null}function dn(){return rn(this)}function yn(){var e=le.call(this);return S(e)?e:gn(this,e)}function En(){var e=le.call(this);if(S(e))return null;var t=gn(this,e);return t instanceof Element?t:null}function wn(e){return this===e?0:this.getRootNode()===e?10:_t(this)!==_t(e)?35:V.call(this,e)}function Tn(e){return null!=e&&_t(this)===_t(e)&&0!=(V.call(this,e)&k)}function Nn(e){var t=Y.call(this,!1);if(!e)return t;for(var n=Sn(this),r=0,l=n.length;r<l;r+=1)t.appendChild(n[r].cloneNode(!0));return t}function Ln(){if(Zn(this)){var e=Bt(this);return an(S(e)?[]:Ut(e,Gt(this)))}return ue.call(this)}fn.prototype=i(HTMLCollection.prototype,(n(t={constructor:{writable:!0,configurable:!0,value:fn},item:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return this[e]}},length:{enumerable:!0,configurable:!0,get:function(){return sn.get(this).length}},namedItem:{writable:!0,enumerable:!0,configurable:!0,value:function(e){if(""===e)return null;for(var t=sn.get(this),n=0,r=t.length;n<r;n++){var l=t[r];if(e===fe.call(l,"id")||e===fe.call(l,"name"))return l}return null}}},Symbol.toStringTag,{configurable:!0,get:function(){return"HTMLCollection"}}),n(t,"toString",{writable:!0,configurable:!0,value:function(){return"[object HTMLCollection]"}}),t)),p(fn,HTMLCollection);var Mn=I.prototype.getRootNode,Cn=C(Mn)?function(){for(var e,t=this;!S(e=le.call(t));)t=e;return t}:Mn;u(I.prototype,{firstChild:{get:function(){return pn(this)?vn.call(this):te.call(this)},enumerable:!0,configurable:!0},lastChild:{get:function(){return pn(this)?bn.call(this):ne.call(this)},enumerable:!0,configurable:!0},textContent:{get:function(){return Ct.ENABLE_NODE_PATCH?Et(this)?re.call(this):dn.call(this):Pt(this)||Zn(this)?dn.call(this):re.call(this)},set:function(e){ie.call(this,e)},enumerable:!0,configurable:!0},parentNode:{get:function(){if(Pt(this))return yn.call(this);var e=le.call(this);return!S(e)&&It(e)?Bt(e):e},enumerable:!0,configurable:!0},parentElement:{get:function(){if(Pt(this))return En.call(this);var e=ae.call(this);return!S(e)&&It(e)?Bt(e):e},enumerable:!0,configurable:!0},childNodes:{get:function(){return pn(this)?Ln.call(this):ue.call(this)},enumerable:!0,configurable:!0},hasChildNodes:{value:function(){return pn(this)?mn.call(this):Z.call(this)},enumerable:!0,writable:!0,configurable:!0},compareDocumentPosition:{value:function(e){return Et(this)?V.call(this,e):wn.call(this,e)},enumerable:!0,writable:!0,configurable:!0},contains:{value:function(e){return this===e||(Ct.ENABLE_NODE_PATCH?Et(this)?ee.call(this,e):Tn.call(this,e):null!=e&&(Pt(this)||Zn(this)?Tn.call(this,e):ee.call(this,e)))},enumerable:!0,writable:!0,configurable:!0},cloneNode:{value:function(e){return Ct.ENABLE_NODE_PATCH?O(e)?Et(this)?Y.call(this,e):Nn.call(this,e):Y.call(this,e):Pt(this)||Zn(this)?Nn.call(this,e):Y.call(this,e)},enumerable:!0,writable:!0,configurable:!0},getRootNode:{value:function(e){var t,n;return O(!C(e)&&!!e.composed)?Cn.call(this,e):S(n=Bt(t=this))?Cn.call(t):Qn(n)},enumerable:!0,configurable:!0,writable:!0},isConnected:{enumerable:!0,configurable:!0,get:function(){return ce.call(this)}}});var Sn=function(e){return e.childNodes};h.call(HTMLElement.prototype,"contains")&&c(HTMLElement.prototype,"contains",s(I.prototype,"contains")),h.call(HTMLElement.prototype,"parentElement")&&c(HTMLElement.prototype,"parentElement",s(I.prototype,"parentElement"));var On=new WeakMap,Hn=new WeakMap;function _n(e,t,n){if(t===n)return!0;var r=Hn.get(e);return C(r)&&(r=e.composedPath(),Hn.set(e,r)),r.includes(n)}function An(e){if(!function(e){return _(e)||A(e)&&!S(e)&&_(e.handleEvent)}(e))return e;var t=On.get(e);return C(t)&&(t=function(t){var n=qe.call(t);if(_n(t,Dn(t),n))return _(e)?e.call(this,t):e.handleEvent&&e.handleEvent(t)},On.set(e,t)),t}var Rn=new WeakMap,Pn=new WeakMap;function $n(e){var t=Pn.get(e);return C(t)&&(t=i(null),Pn.set(e,t)),t}function Dn(e){var t;return null!==(t=or.get(e))&&void 0!==t?t:Ge.call(e)}var Bn=new WeakMap;function In(e){if(!_(e))throw new TypeError;var t=Bn.get(e);return C(t)&&((t=function(t){var n=qe.call(t);mt(n)||(n=Qn(n)),_n(t,Dn(t),n)&&e.call(n,t)}).placement=1,Bn.set(e,t)),t}var xn=new WeakMap;function kn(e){if(!_(e))throw new TypeError;var t=xn.get(e);return C(t)&&((t=function(t){var n=qe.call(t);_n(t,Dn(t),n)&&e.call(n,t)}).placement=0,xn.set(e,t)),t}function Fn(e){var t=!1,n=!1,r=e.type,l=e.stopImmediatePropagation,o=e.stopPropagation,a=$n(qe.call(e))[r];c(e,"stopImmediatePropagation",{value:function(){t=!0,l.call(e)},writable:!0,enumerable:!0,configurable:!0}),c(e,"stopPropagation",{value:function(){n=!0,o.call(e)},writable:!0,enumerable:!0,configurable:!0});var i=T.call(a);function u(n){L.call(i,(function(r){H(t)&&r.placement===n&&-1!==b.call(a,r)&&r.call(void 0,e)}))}Rn.set(e,1),u(1),H(t)&&H(n)&&(Rn.set(e,0),u(0)),Rn.set(e,2)}function jn(e,t,n){var r=$n(e),l=r[t];C(l)&&(l=r[t]=[]),-1===b.call(l,n)&&(0===l.length&&Nt.call(e,t,Fn),y.call(l,n))}function Wn(e,t,n){var r,l;C(l=$n(e)[t])||-1===(r=b.call(l,n))||(N.call(l,r,1),0===l.length&&Mt.call(e,t,Fn))}function Un(e,t,n){_(t)&&jn(this,e,kn(t))}function Kn(e,t,n){_(t)&&Wn(this,e,kn(t))}var Gn=new WeakMap,qn=document.createDocumentFragment;function Xn(e){var t=Gn.get(e);if(C(t))throw new TypeError;return t}function Yn(e){return e.$shadowResolver$}function Vn(e,t){e.$shadowResolver$=t}function zn(e){return Xn(e).delegatesFocus}function Jn(e){return Xn(e).host}function Qn(e){return Xn(e).shadowRoot}function Zn(e){var t=Gn.get(e);return!C(t)&&e===t.host}function er(e){var t=Gn.get(e);return!C(t)&&e===t.shadowRoot}c(I.prototype,D,{set:function(e){var t,n;C(e)||(this.$$ShadowResolverKey$$=e,t=this,n=e.nodeKey,Ht(t,St,{value:n,configurable:!0}))},get:function(){return this.$$ShadowResolverKey$$},configurable:!0,enumerable:!0}),c($,"$isNativeShadowRootDefined$",{value:gt});var tr=0;function nr(e,t){if(Gn.has(e))throw new Error("Failed to execute 'attachShadow' on 'Element': Shadow root cannot be created on a host which already hosts a shadow tree.");var n=t.mode,r=t.delegatesFocus,l=dt(e),o=qn.call(l),a={mode:n,delegatesFocus:!!r,host:e,shadowRoot:o};Gn.set(o,a),Gn.set(e,a);var i=function(){return o},u=i.nodeKey=tr++;return Ht(e,Ot,{value:u}),Vn(o,i),p(o,ir.prototype),o}var rr={constructor:{writable:!0,configurable:!0,value:ir},toString:{writable:!0,configurable:!0,value:function(){return"[object ShadowRoot]"}},synthetic:{writable:!1,enumerable:!1,configurable:!1,value:!0}},lr={activeElement:{enumerable:!0,configurable:!0,get:function(){var e=Jn(this),t=dt(e),n=Ve.call(t);if(S(n))return n;if(0==(V.call(e,n)&k))return null;for(var r=n;!kt(e,r);)r=ae.call(r);return xt(r)?null:r}},delegatesFocus:{configurable:!0,get:function(){return Xn(this).delegatesFocus}},elementFromPoint:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return sr(this,dt(Jn(this)),e,t)}},elementsFromPoint:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return cn(this,dt(Jn(this)),e,t)}},getSelection:{writable:!0,enumerable:!0,configurable:!0,value:function(){throw new Error('Disallowed method "getSelection" on ShadowRoot.')}},host:{enumerable:!0,configurable:!0,get:function(){return Jn(this)}},mode:{configurable:!0,get:function(){return Xn(this).mode}},styleSheets:{enumerable:!0,configurable:!0,get:function(){throw new Error}}},or=new WeakMap,ar={insertBefore:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return z.call(Jn(this),e,t),e}},removeChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return J.call(Jn(this),e),e}},appendChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return X.call(Jn(this),e),e}},replaceChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return Q.call(Jn(this),e,t),t}},addEventListener:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t,n){!function(e,t,n,r){_(n)&&jn(Jn(e),t,In(n))}(this,e,t)}},dispatchEvent:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return or.set(e,this),Lt.apply(Jn(this),arguments)}},removeEventListener:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t,n){!function(e,t,n,r){_(n)&&Wn(Jn(e),t,In(n))}(this,e,t)}},baseURI:{enumerable:!0,configurable:!0,get:function(){return Jn(this).baseURI}},childNodes:{enumerable:!0,configurable:!0,get:function(){return an(Ft(this))}},cloneNode:{writable:!0,enumerable:!0,configurable:!0,value:function(){throw new Error('Disallowed method "cloneNode" on ShadowRoot.')}},compareDocumentPosition:{writable:!0,enumerable:!0,configurable:!0,value:function(e){var t=Jn(this);return this===e?0:this.contains(e)?20:V.call(t,e)&k?37:35}},contains:{writable:!0,enumerable:!0,configurable:!0,value:function(e){if(this===e)return!0;var t=Jn(this);return 0!=(V.call(t,e)&k)&&kt(t,e)}},firstChild:{enumerable:!0,configurable:!0,get:function(){return Sn(this)[0]||null}},lastChild:{enumerable:!0,configurable:!0,get:function(){var e=Sn(this);return e[e.length-1]||null}},hasChildNodes:{writable:!0,enumerable:!0,configurable:!0,value:function(){return Sn(this).length>0}},isConnected:{enumerable:!0,configurable:!0,get:function(){return ce.call(Jn(this))}},nextSibling:{enumerable:!0,configurable:!0,get:function(){return null}},previousSibling:{enumerable:!0,configurable:!0,get:function(){return null}},nodeName:{enumerable:!0,configurable:!0,get:function(){return"#document-fragment"}},nodeType:{enumerable:!0,configurable:!0,get:function(){return 11}},nodeValue:{enumerable:!0,configurable:!0,get:function(){return null}},ownerDocument:{enumerable:!0,configurable:!0,get:function(){return Jn(this).ownerDocument}},parentElement:{enumerable:!0,configurable:!0,get:function(){return null}},parentNode:{enumerable:!0,configurable:!0,get:function(){return null}},textContent:{enumerable:!0,configurable:!0,get:function(){for(var e=Sn(this),t="",n=0,r=e.length;n<r;n+=1){var l=e[n];l.nodeType!==q&&(t+=rn(l))}return t},set:function(e){var t=Jn(this);ie.call(t,e)}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return!C(e)&&O(e.composed)?Jn(this).getRootNode(e):this}}};function ir(){throw new TypeError("Illegal constructor")}function ur(e,t){var n,r=[];if(e instanceof Window)n=e;else{if(!(e instanceof I))return r;n=e.getRootNode()}for(var l,o=e;!S(o);)if(r.push(o),o instanceof Element||o instanceof Text){var a=o.assignedSlot;o=S(a)?o.parentNode:a}else o=!er(o)&&!mt(o)||!t&&o===n?o instanceof I?o.parentNode:null:o.host;return l=e instanceof Window?e.document:dt(e),r[r.length-1]===l&&r.push(window),r}
|
|
2
2
|
/**
|
|
3
3
|
@license
|
|
4
4
|
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
|
@@ -7,4 +7,4 @@
|
|
|
7
7
|
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
8
8
|
Code distributed by Google as part of the polymer project is also
|
|
9
9
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
10
|
-
*/function cr(e,t){if(S(e))return null;for(var n,r,l,o,a=ur(e,!0),i=t,u=0;u<i.length;u++)if((l=(n=i[u])instanceof Window?n:n.getRootNode())!==r&&(o=a.indexOf(l),r=l),!er(l)||!C(o)&&o>-1)return n;return null}function sr(e,t,n,r){var l=ze.call(t,n,r);return S(l)?l:cr(e,ur(l,!0))}a(rr,ar,{childElementCount:{enumerable:!0,configurable:!0,get:function(){return this.children.length}},children:{enumerable:!0,configurable:!0,get:function(){return hn(m.call(Ft(this),(function(e){return e instanceof Element})))}},firstElementChild:{enumerable:!0,configurable:!0,get:function(){return this.children[0]||null}},lastElementChild:{enumerable:!0,configurable:!0,get:function(){var e=this.children;return e.item(e.length-1)||null}},getElementById:{writable:!0,enumerable:!0,configurable:!0,value:function(){throw new Error('Disallowed method "getElementById" on ShadowRoot.')}},querySelector:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return t=e,Kt(n=Jn(this),wt(be.call(n,t)));var t,n}},querySelectorAll:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return an((t=e,Ut(n=Jn(this),wt(be.call(n,t)))));var t,n}}},{innerHTML:{enumerable:!0,configurable:!0,get:function(){for(var e=Sn(this),t="",n=0,r=e.length;n<r;n+=1)t+=nn(e[n]);return t},set:function(e){var t=Jn(this);Re.call(t,e)}}},lr),ir.prototype=i(DocumentFragment.prototype,rr),c(ir,Symbol.hasInstance,{value:function(e){return A(e)&&!S(e)&&(mt(e)||f(e)===ir.prototype)}}),Document.prototype.elementFromPoint=function(e,t){return sr(this,this,e,t)},Document.prototype.elementsFromPoint=function(e,t){return cn(this,this,e,t)},c(Document.prototype,"activeElement",{get:function(){var e=Ve.call(this);if(S(e))return e;for(;!C(_t(e));)if(S(e=ae.call(e)))return null;return"HTML"===e.tagName&&(e=this.body),e},enumerable:!0,configurable:!0}),c(Document.prototype,"getElementById",{value:function(){var e=tt.apply(this,T.call(arguments));return S(e)?null:C(_t(e))||Et(e)?e:null},writable:!0,enumerable:!0,configurable:!0}),c(Document.prototype,"querySelector",{value:function(){var e=wt(et.apply(this,T.call(arguments))),t=v.call(e,(function(e){return C(_t(e))||Et(e)}));return C(t)?null:t},writable:!0,enumerable:!0,configurable:!0}),c(Document.prototype,"querySelectorAll",{value:function(){var e=wt(et.apply(this,T.call(arguments))),t=m.call(e,(function(e){return C(_t(e))||Et(e)}));return an(t)},writable:!0,enumerable:!0,configurable:!0}),c(Document.prototype,"getElementsByClassName",{value:function(){var e=wt(nt.apply(this,T.call(arguments))),t=m.call(e,(function(e){return C(_t(e))||Et(e)}));return hn(t)},writable:!0,enumerable:!0,configurable:!0}),c(Document.prototype,"getElementsByTagName",{value:function(){var e=wt(rt.apply(this,T.call(arguments))),t=m.call(e,(function(e){return C(_t(e))||Et(e)}));return hn(t)},writable:!0,enumerable:!0,configurable:!0}),c(Document.prototype,"getElementsByTagNameNS",{value:function(){var e=wt(lt.apply(this,T.call(arguments))),t=m.call(e,(function(e){return C(_t(e))||Et(e)}));return hn(t)},writable:!0,enumerable:!0,configurable:!0}),c(s(HTMLDocument.prototype,"getElementsByName")?HTMLDocument.prototype:Document.prototype,"getElementsByName",{value:function(){var e=wt(ot.apply(this,T.call(arguments))),t=m.call(e,(function(e){return C(_t(e))||Et(e)}));return an(t)},writable:!0,enumerable:!0,configurable:!0}),Object.defineProperty(window,"ShadowRoot",{value:ir,configurable:!0,writable:!0});var fr=Object.getOwnPropertyDescriptor(Event.prototype,"composed");var hr=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"click");function pr(e){Object.defineProperty(e,"composed",{configurable:!0,enumerable:!0,get:function(){return!0}})}(function(){if(!fr)return!1;var e=new Event("click"),t=document.createElement("button");return t.addEventListener("click",(function(t){return e=t})),t.click(),!fr.get.call(e)})()&&(HTMLElement.prototype.click=function(){Nt.call(this,"click",pr);try{hr.value.call(this)}finally{Mt.call(this,"click",pr)}}),!0!==new Event("test",{composed:!0}).composed&&function(){var e=a(i(null),{beforeinput:1,blur:1,click:1,compositionend:1,compositionstart:1,compositionupdate:1,copy:1,cut:1,dblclick:1,DOMActivate:1,DOMFocusIn:1,DOMFocusOut:1,drag:1,dragend:1,dragenter:1,dragleave:1,dragover:1,dragstart:1,drop:1,focus:1,focusin:1,focusout:1,gotpointercapture:1,input:1,keydown:1,keypress:1,keyup:1,lostpointercapture:1,mousedown:1,mouseenter:1,mouseleave:1,mousemove:1,mouseout:1,mouseover:1,mouseup:1,paste:1,pointercancel:1,pointerdown:1,pointerenter:1,pointerleave:1,pointermove:1,pointerout:1,pointerover:1,pointerup:1,touchcancel:1,touchend:1,touchmove:1,touchstart:1,wheel:1}),t=Event;function n(e,n){var r=new t(e,n),l=!(!n||!n.composed);return Object.defineProperties(r,{composed:{get:function(){return l},configurable:!0,enumerable:!0}}),r}n.prototype=t.prototype,n.AT_TARGET=t.AT_TARGET,n.BUBBLING_PHASE=t.BUBBLING_PHASE,n.CAPTURING_PHASE=t.CAPTURING_PHASE,n.NONE=t.NONE,window.Event=n,Object.defineProperties(Event.prototype,{composed:{get:function(){var t=this.type;return 1===e[t]},configurable:!0,enumerable:!0}})}();var gr,mr,vr=CustomEvent;function br(e,t){var n=new vr(e,t),r=!(!t||!t.composed);return Object.defineProperties(n,{composed:{get:function(){return r},configurable:!0,enumerable:!0}}),n}if(br.prototype=vr.prototype,window.CustomEvent=br,"undefined"!=typeof ClipboardEvent){var dr=a(i(null),{copy:1,cut:1,paste:1});u(ClipboardEvent.prototype,{composed:{get:function(){var e=this.type;return 1===dr[e]},configurable:!0,enumerable:!0}})}"undefined"!=typeof HTMLIFrameElement&&(gr=s(HTMLIFrameElement.prototype,"contentWindow"),mr=gr.get,gr.get=function(){var e,t=mr.call(this);return S(t)||C(_t(this))?t:(e=t,{addEventListener:function(){return e.addEventListener.apply(e,arguments)},blur:function(){return e.blur.apply(e,arguments)},close:function(){return e.close.apply(e,arguments)},focus:function(){return e.focus.apply(e,arguments)},postMessage:function(){return e.postMessage.apply(e,arguments)},removeEventListener:function(){return e.removeEventListener.apply(e,arguments)},get closed(){return e.closed},get frames(){return e.frames},get length(){return e.length},get location(){return e.location},set location(t){e.location=t},get opener(){return e.opener},get parent(){return e.parent},get self(){return e.self},get top(){return e.top},get window(){return e.window}})},c(HTMLIFrameElement.prototype,"contentWindow",gr));var yr=MutationObserver,Er=yr.prototype,wr=Er.disconnect,Tr=Er.observe,Nr=Er.takeRecords,Lr="$$lwcObserverCallbackWrapper$$",Mr=new WeakMap;function Cr(e){return e.$$lwcNodeObservers$$}function Sr(e){var t=e.addedNodes,n=e.removedNodes,r=e.target,l=e.type,o=i(MutationRecord.prototype);return u(o,{addedNodes:{get:function(){return t},enumerable:!0,configurable:!0},removedNodes:{get:function(){return n},enumerable:!0,configurable:!0},type:{get:function(){return l},enumerable:!0,configurable:!0},target:{get:function(){return r.shadowRoot},enumerable:!0,configurable:!0}}),o}function Or(e,t){for(var n=t;!S(n);){var r=Cr(n);if(!C(r)&&(r[0]===e||-1!==b.call(r,e)))return!0;n=n.parentNode}return!1}function Hr(e,t){return E.call(e,(function(e,n){var r=n.target,l=n.addedNodes,o=n.removedNodes;if("childList"!==n.type||C(Rt(r)))Or(t,r)&&y.call(e,n);else if(l.length>0){var a=l[0];if(Or(t,a)){var i=Cr(r);!i||i[0]!==t&&-1===b.call(i,t)?y.call(e,Sr(n)):y.call(e,n)}}else{var u=r.shadowRoot,c=o[0];if(At(r)===At(c)&&Or(t,r))y.call(e,n);else if(u){var s=Cr(u);!s||s[0]!==t&&-1===b.call(s,t)||y.call(e,Sr(n))}}return e}),[])}function _r(e){var t=function(e){var t=e[Lr];return C(t)&&(t=e[Lr]=function(t,n){var r=Hr(t,n);0!==r.length&&e.call(n,r,n)}),t}(e);return new yr(t)}function Ar(e,t,n){if(arguments.length>1){var r=T.call(arguments);return r[1]=An(r[1]),it.apply(this,r)}return it.apply(this,arguments)}function Rr(e,t,n){if(arguments.length>1){var r=T.call(arguments);r[1]=An(r[1]),ut.apply(this,r)}ut.apply(this,arguments)}function $r(){var e=Ge.call(this);if(!(e instanceof I))return e;var t=dt(e),n=ur(e,this.composed),r=qe.call(this);if(!(r instanceof I))return S(r)&&C(_t(e))?e:cr(t,n);if(r===t||r===t.body)return C(_t(e))?e:cr(t,n);var l=r,o=n;Zn(r)&&(1===Rn.get(this)&&(l=Qn(r)));return Zn(e)&&or.has(this)&&(o=ur(Qn(e),this.composed)),cr(l,o)}function Pr(){var e=Ge.call(this);if(!(e instanceof I))return[];var t,n=Boolean(e.shadowRoot),r=(t=e,Gn.has(t));if(n&&!r)return Ye.call(this);if(S(qe.call(this)))return[];var l=e;return Zn(e)&&or.has(this)&&(l=Qn(e)),ur(l,this.composed)}function Dr(e){var t=s(e.prototype,"relatedTarget").get;c(e.prototype,"relatedTarget",{get:function(){var e=t.call(this);if(S(e))return null;if(!(e instanceof I&&$t(e)))return e;var n=qe.call(this);return S(n)&&(n=dt(e)),cr(n,ur(e,!0))},enumerable:!0,configurable:!0})}_r.prototype=yr.prototype,_r.prototype.disconnect=function(){var e=this;wr.call(this);var t=Mr.get(this);C(t)||(L.call(t,(function(t){var n=t.$$lwcNodeObservers$$;if(!C(n)){var r=b.call(n,e);-1!==r&&N.call(n,r,1)}})),t.length=0)},_r.prototype.observe=function(e,t){var n,r=Cr(e);if(C(r)&&(n=r=[],e.$$lwcNodeObservers$$=n),-1===b.call(r,this)&&y.call(r,this),er(e)&&(e=e.host),Mr.has(this)){var l=Mr.get(this);-1===b.call(l,e)&&y.call(l,e)}else Mr.set(this,[e]);return Tr.call(this,e,t)},_r.prototype.takeRecords=function(){return Hr(Nr.call(this),this)},c(window,"MutationObserver",{value:_r,configurable:!0,writable:!0}),u(Tt,{addEventListener:{value:function(e,t,n){if(Zn(this))return Un.apply(this,arguments);if(arguments.length<2){var r=T.call(arguments);return r.length>1&&(r[1]=An(r[1])),Nt.apply(this,r)}var l=An(t);return Nt.call(this,e,l,n)},enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:function(e,t,n){if(Zn(this))return Kn.apply(this,arguments);var r=T.call(arguments);arguments.length>1&&(r[1]=An(r[1])),Mt.apply(this,r),Mt.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),"undefined"==typeof EventTarget&&u(Window.prototype,{addEventListener:{value:Ar,enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:Rr,enumerable:!0,writable:!0,configurable:!0}}),u(Event.prototype,{target:{get:$r,enumerable:!0,configurable:!0},currentTarget:{get:function(){var e=qe.call(this);return S(e)?null:1===Rn.get(this)?Qn(e):e},enumerable:!0,configurable:!0},composedPath:{value:Pr,writable:!0,enumerable:!0,configurable:!0},srcElement:{get:$r,enumerable:!0,configurable:!0},path:{get:Pr,enumerable:!0,configurable:!0}}),Dr(FocusEvent),Dr(MouseEvent);var Br,Ir=h.call(Text.prototype,"assignedSlot")?s(Text.prototype,"assignedSlot").get:function(){return null},kr={childList:!0},xr=new WeakMap;function Fr(e){var t=wt(ue.call(e));return E.call(t,(function(e,t){return t instanceof Element&&kt(t)?y.apply(e,Fr(t)):y.call(e,t),e}),[])}function jr(){var e=le.call(this);if(e instanceof Element){var t=Ue.call(e);if(mt(t))return this instanceof Text?Ir.call(this):Ke.call(this)}return!S(e)&&kt(e)&&_t(e)!==_t(this)?e:null}function Wr(e,t){var n,r=_t(e);if(C(r))n=e instanceof HTMLBodyElement?m.call(t,(function(t){return C(_t(t))||Et(e)})):T.call(t);else if(Zn(e)){var l=Bt(e);n=S(l)?[]:Rt(e)?jt(e,t):Ut(l,t)}else n=m.call(t,(function(e){return At(e)===r}));return n}function Ur(){for(var e=Sn(this),t="",n=0,r=e.length;n<r;n+=1)t+=nn(e[n]);return t}function Kr(){return nn(this)}function Gr(){var e=Bt(this),t=S(e)?[]:Ut(e,Gt(this));return hn(m.call(t,(function(e){return e instanceof Element})))}function qr(){return this.children.length}function Xr(){return this.children[0]||null}function Yr(){var e=this.children;return e.item(e.length-1)||null}function Vr(e,t,n){var r;if(Zn(e)){var l=Bt(e);r=C(Rt(e))?S(l)?[]:Ut(l,t):jt(e,t)}else if($t(e)){var o=_t(e);if(C(o))if(1===n){var a=At(e);r=m.call(t,(function(e){return At(e)===a}))}else r=T.call(t);else r=m.call(t,(function(e){return At(e)===o}))}else r=e instanceof HTMLBodyElement||1===n?m.call(t,(function(t){return C(_t(t))||Et(e)})):T.call(t);return r}function zr(e){var t=yt(e);return ct.call(t,e)}function Jr(e){var t=yt(e);return st.call(t)}function Qr(e){return"visible"===e.visibility&&"none"!==e.display}u(HTMLSlotElement.prototype,{addEventListener:{value:function(e,t,n){HTMLElement.prototype.addEventListener.call(this,e,t,n),"slotchange"!==e||xr.get(this)||(xr.set(this,!0),Br||(Br=new ft((function(e){var t=[];L.call(e,(function(e){var n=e.target;-1===b.call(t,n)&&(y.call(t,n),Lt.call(n,new CustomEvent("slotchange")))}))}))),ht.call(Br,this,kr))},writable:!0,enumerable:!0,configurable:!0},assignedElements:{value:function(e){if($t(this)){var t=!C(e)&&O(e.flatten),n=t?Fr(this):qt(this);return m.call(n,(function(e){return e instanceof Element}))}return $.apply(this,T.call(arguments))},writable:!0,enumerable:!0,configurable:!0},assignedNodes:{value:function(e){if($t(this)){var t=!C(e)&&O(e.flatten);return t?Fr(this):qt(this)}return R.apply(this,T.call(arguments))},writable:!0,enumerable:!0,configurable:!0},name:{get:function(){var e=fe.call(this,"name");return S(e)?"":e},set:function(e){ye.call(this,"name",e)},enumerable:!0,configurable:!0},childNodes:{get:function(){if($t(this)){var e=Bt(this);return an(S(e)?[]:Ut(e,Gt(this)))}return ue.call(this)},enumerable:!0,configurable:!0}}),u(Text.prototype,{assignedSlot:{get:jr,enumerable:!0,configurable:!0}}),u(Element.prototype,{innerHTML:{get:function(){return Ct.ENABLE_ELEMENT_PATCH?Et(this)?Ae.call(this):Ur.call(this):$t(this)||Zn(this)?Ur.call(this):Ae.call(this)},set:function(e){Re.call(this,e)},enumerable:!0,configurable:!0},outerHTML:{get:function(){return Ct.ENABLE_ELEMENT_PATCH?Et(this)?Pe.call(this):Kr.call(this):$t(this)||Zn(this)?Kr.call(this):Pe.call(this)},set:function(e){De.call(this,e)},enumerable:!0,configurable:!0},attachShadow:{value:function(e){return e["$$lwc-synthetic-mode"]?nr(this,e):Ee.call(this,e)},enumerable:!0,writable:!0,configurable:!0},shadowRoot:{get:function(){if(Zn(this)){var e=Qn(this);if("open"===e.mode)return e}return Ue.call(this)},enumerable:!0,configurable:!0},children:{get:function(){return pn(this)?Gr.call(this):je.call(this)},enumerable:!0,configurable:!0},childElementCount:{get:function(){return pn(this)?qr.call(this):we.call(this)},enumerable:!0,configurable:!0},firstElementChild:{get:function(){return pn(this)?Xr.call(this):Te.call(this)},enumerable:!0,configurable:!0},lastElementChild:{get:function(){return pn(this)?Yr.call(this):Ne.call(this)},enumerable:!0,configurable:!0},assignedSlot:{get:jr,enumerable:!0,configurable:!0}}),h.call(HTMLElement.prototype,"innerHTML")&&c(HTMLElement.prototype,"innerHTML",s(Element.prototype,"innerHTML")),h.call(HTMLElement.prototype,"outerHTML")&&c(HTMLElement.prototype,"outerHTML",s(Element.prototype,"outerHTML")),h.call(HTMLElement.prototype,"children")&&c(HTMLElement.prototype,"children",s(Element.prototype,"children")),u(Element.prototype,{querySelector:{value:function(){var e=this,t=wt(be.apply(this,T.call(arguments)));if(Zn(this)){var n=Bt(this);return C(Rt(this))?S(n)?null:Kt(n,t):Wt(this,t)}if($t(this)){var r=_t(this);if(C(r)){if(!Ct.ENABLE_NODE_LIST_PATCH)return 0===t.length?null:t[0];var l=At(this),o=v.call(t,(function(e){return At(e)===l}));return C(o)?null:o}var a=v.call(t,(function(e){return At(e)===r}));return C(a)?null:a}if(!(Ct.ENABLE_NODE_LIST_PATCH||this instanceof HTMLBodyElement)){var i=t[0];return C(i)?null:i}var u=v.call(t,(function(t){return C(_t(t))||Et(e)}));return C(u)?null:u},writable:!0,enumerable:!0,configurable:!0},querySelectorAll:{value:function(){var e=wt(be.apply(this,T.call(arguments)));if(!Ct.ENABLE_NODE_LIST_PATCH){var t=Vr(this,e,0);return an(t)}return an(Vr(this,e,1))},writable:!0,enumerable:!0,configurable:!0}}),u(Element.prototype,{getElementsByClassName:{value:function(){var e=wt(We.apply(this,T.call(arguments)));if(!Ct.ENABLE_HTML_COLLECTIONS_PATCH)return hn(Wr(this,e));var t=Vr(this,e,1);return hn(t)},writable:!0,enumerable:!0,configurable:!0},getElementsByTagName:{value:function(){var e=wt(pe.apply(this,T.call(arguments)));if(!Ct.ENABLE_HTML_COLLECTIONS_PATCH)return hn(Wr(this,e));var t=Vr(this,e,1);return hn(t)},writable:!0,enumerable:!0,configurable:!0},getElementsByTagNameNS:{value:function(){var e=wt(ge.apply(this,T.call(arguments)));if(!Ct.ENABLE_HTML_COLLECTIONS_PATCH)return hn(Wr(this,e));var t=Vr(this,e,1);return hn(t)},writable:!0,enumerable:!0,configurable:!0}}),h.call(HTMLElement.prototype,"getElementsByClassName")&&c(HTMLElement.prototype,"getElementsByClassName",s(Element.prototype,"getElementsByClassName"));function Zr(e){var t=[];if(function(e){return e.nodeType===W}(e)){var n=e.tagName,r=zr(e);if("OPTION"===n)return[1,Me.call(e),1];if("TEXTAREA"===n)return[];for(var l=e.childNodes,o=0,a=l.length;o<a;o++)y.apply(t,Zr(l[o]));if(!Qr(r))return"SELECT"===n||"DATALIST"===n?[]:t;"BR"===n&&t.push("\n");var i=r.display;"table-cell"===i&&t.push("\t"),"table-row"===i&&t.push("\n"),"P"===n&&(t.unshift(2),t.push(2)),"block"!==i&&"table-caption"!==i&&"flex"!==i&&"table"!==i||(t.unshift(1),t.push(1))}else(function(e){return e.nodeType===U})(e)&&t.push(function(e){var t=Jr(e);if(null===t)return e.textContent||"";var n=document.createRange();n.selectNodeContents(e);var r=n.getBoundingClientRect();return r.height<=0||r.width<=0?"":(t.removeAllRanges(),t.addRange(n),t.toString()||e.textContent||"")}(e));return t}function el(e){if(!Qr(zr(e)))return rn(e)||"";for(var t=function(e){var t=yt(e),n=Jr(e);if(null===n)return null;for(var r=[],l=0;l<n.rangeCount;l++)r.push(n.getRangeAt(l));var o={element:e,onselect:t.onselect,onselectstart:t.onselectstart,onselectionchange:t.onselectionchange,ranges:r};return t.onselect=null,t.onselectstart=null,t.onselectionchange=null,o}(e),n=[],r=e.childNodes,l=0,o=r.length;l<o;l++)y.apply(n,Zr(r[l]));!function(e){if(null!==e){var t=e.element,n=e.onselect,r=e.onselectstart,l=e.onselectionchange,o=e.ranges,a=yt(t),i=Jr(t);i.removeAllRanges();for(var u=0;u<o.length;u++)i.addRange(o[u]);a.onselect=n,a.onselectstart=r,a.onselectionchange=l}}(t);for(var a="",i=0,u=0,c=n.length;u<c;u++){var s=n[u];if("string"==typeof s){if(i>0){for(var f=0;f<i;f++)a+="\n";i=0}s.length>0&&(a+=s)}else{if(0==a.length)continue;s>i&&(i=s)}}return a}var tl="\n [contenteditable],\n [tabindex],\n a[href],\n area[href],\n audio[controls],\n button,\n iframe,\n input,\n select,\n textarea,\n video[controls]\n",nl=new Set(["BUTTON","INPUT","SELECT","TEXTAREA"]);function rl(e){return e.filter((function(e){return me.call(e,"tabindex")?"0"===fe.call(e,"tabindex"):!nl.has(Be.call(e))||!me.call(e,"disabled")}))}var ll=new WeakMap;function ol(e){return(!Zn(e)||!zn(e))&&(Fe.call(e,tl)&&function(e){var t=he.call(e),n=t.width,r=t.height,l=n>0||r>0,o="AREA"===e.tagName;return(l||o)&&"hidden"!==getComputedStyle(e).visibility}(e))}function al(){var e=this.getRootNode();if(e!==this){var t=e;if(t.activeElement!==this)for(var n=wt(be.call(this,tl)),r=!1;!r&&0!==n.length;){var l=n.shift();l.focus.apply(l,arguments);var o=l.getRootNode();r=o.activeElement===l}}else{var a=ve.call(this,tl);S(a)||a.focus.apply(a,arguments)}}function il(e){var t=dt(e),n=rl(wt(et.call(t,tl))),r=rl(wt(be.call(e,tl))),l=r[0],o=r[r.length-1],a=b.call(n,e),i=a>-1?a:b.call(n,l),u=0===r.length?i+1:b.call(n,o)+1;return{prev:T.call(n,0,i),inner:r,next:T.call(n,u)}}function ul(e,t){var n=V.call(e,t);return n&x?0:n&F?1:n&j?2:-1}function cl(e){e.preventDefault(),e.stopPropagation()}function sl(e,t){it.call(e,"focusin",cl,!0),it.call(e,"focusout",cl,!0),t(),ut.call(e,"focusin",cl,!0),ut.call(e,"focusout",cl,!0)}function fl(e,t,n){var r=yt(n),l=function(e,t){var n=e.length;if(n>0)for(var r=0;r<n;r+=1){var l=e[r];if(dl(t.getRootNode(),l))return l}return null}(e,n);S(l)?sl(r,(function(){t.blur()})):sl(r,(function(){l.focus()}))}var hl=!1;function pl(){hl=!0}function gl(){hl=!1}function ml(){return!hl}function vl(e){if(!hl){var t=qe.call(e),n=Ge.call(e);if(t===n){var r=Xe.call(e);if(!S(r)){var l=il(t);if(1===ul(t,r)){var o=dl.bind(null,t.getRootNode()),a=v.call(l.inner,o);if(C(a))fl(l.next,n,r);else sl(yt(a),(function(){a.focus()}))}else t===n&&fl(w.call(l.prev),n,r)}}}}function bl(e){if(!hl){var t=Xe.call(e);if(!S(t)){var n=qe.call(e),r=il(n);if(-1===b.call(r.inner,t)){var l=Ge.call(e),o=ul(n,t);1===o&&fl(r.next,l,t),2===o&&fl(w.call(r.prev),l,t)}}}}function dl(e,t){if(!ol(t))return!1;for(var n=dt(t),r=t.getRootNode();r!==n&&r!==e;){var l=r.host;if("-1"===fe.call(l,"tabindex"))return!1;r=l&&l.getRootNode()}return!0}function yl(e){Mt.call(e,"focusin",vl,!0)}function El(e){var t=dt(e);ll.get(t)||(ll.set(t,!0),Nt.call(t,"mousedown",pl,!0),Nt.call(t,"mouseup",(function(){setTimeout(gl)}),!0),Nt.call(t,"dragstart",gl,!0))}function wl(e){Mt.call(e,"focusin",bl,!0)}var Tl=HTMLElement.prototype,Nl=Tl.blur,Ll=Tl.focus;function Ml(){return zn(this)&&H(me.call(this,"tabindex"))?0:ke.call(this)}function Cl(e){var t=zn(this),n=ke.call(this),r=me.call(this,"tabindex");xe.call(this,e);var l,o=ke.call(this),a=me.call(this,"tabindex"),i=n!==o;(r&&(i||H(a))&&(-1===n&&wl(this),0===n&&t&&yl(this)),H(a))||(r&&a&&H(i)||(-1===o&&(El(l=this),yl(l),Nt.call(l,"focusin",bl,!0)),0===o&&t&&function(e){El(e),wl(e),Nt.call(e,"focusin",vl,!0)}(this)))}function Sl(){if(zn(this)){var e=(n=dt(t=this),S(r=Ve.call(n))||0!=(V.call(t,r)&x)?r:null);if(!S(e))return void e.blur()}var t,n,r;return Nl.call(this)}function Ol(){var e=ml();e&&pl(),Zn(this)&&zn(this)?al.call(this):(Ll.apply(this,arguments),e&&gl())}function Hl(e,t){e.$shadowResolver$=t;for(var n=ue.call(e),r=0,l=n.length;r<l;r++)Hl(n[r],t)}u(HTMLElement.prototype,{tabIndex:{get:function(){return Zn(this)?Ml.call(this):ke.call(this)},set:function(e){return Zn(this)?Cl.call(this,e):xe.call(this,e)},enumerable:!0,configurable:!0},blur:{value:function(){if(Zn(this))return Sl.call(this);Nl.call(this)},enumerable:!0,writable:!0,configurable:!0},focus:{value:function(){Ol.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),null!==Me&&null!==Ce&&c(HTMLElement.prototype,"innerText",{get:function(){return Ct.ENABLE_INNER_OUTER_TEXT_PATCH?Ct.ENABLE_ELEMENT_PATCH?Et(this)?Me.call(this):el(this):$t(this)||Zn(this)?el(this):Me.call(this):Me.call(this)},set:function(e){Ce.call(this,e)},enumerable:!0,configurable:!0}),null!==Oe&&null!==He&&c(HTMLElement.prototype,"outerText",{get:function(){return Ct.ENABLE_INNER_OUTER_TEXT_PATCH?Ct.ENABLE_ELEMENT_PATCH?Et(this)?Oe.call(this):el(this):$t(this)||Zn(this)?el(this):Oe.call(this):Oe.call(this)},set:function(e){He.call(this,e)},enumerable:!0,configurable:!0}),c(Element.prototype,B,{set:function(e){var t=this.$$ShadowTokenKey$$;C(t)||t===e||de.call(this,t),C(e)||ye.call(this,e,""),this.$$ShadowTokenKey$$=e},get:function(){return this.$$ShadowTokenKey$$},configurable:!0}),c(Element.prototype,"$shadowStaticNode$",{set:function(e){e&&Hl(this,this.$shadowResolver$);this.$shadowStaticNodeKey$=e},get:function(){return this.$shadowStaticNodeKey$},configurable:!0});var _l,Al=function(){},Rl={childList:!0};function $l(e,t,n){var r=Yn(e);if(r!==t&&(Vn(e,t),e instanceof Element)){if(function(e,t){e.$shadowToken$=t}(e,n),Zn(e))return;C(r)&&ht.call(_l,e,Rl);for(var l=ue.call(e),o=0,a=l.length;o<a;o+=1)$l(l[o],t,n)}}function Pl(e){if(C(_l)&&(_l=new ft((function(e){L.call(e,(function(e){for(var t=e.target,n=e.addedNodes,r=e.removedNodes,l=Yn(t),o=function(e){return e.$shadowToken$}(t),a=0,i=r.length;a<i;a+=1){var u=r[a];V.call(t,u)&I.DOCUMENT_POSITION_CONTAINED_BY||$l(u,Al,void 0)}for(var c=0,s=n.length;c<s;c+=1){var f=n[c];V.call(t,f)&I.DOCUMENT_POSITION_CONTAINED_BY&&$l(f,l,o)}}))}))),C(Yn(e)))throw new Error("Invalid Element");ht.call(_l,e,Rl)}c(Element.prototype,"$domManual$",{set:function(e){this.$$DomManualKey$$=e,O(e)&&Pl(this)},get:function(){return this.$$DomManualKey$$},configurable:!0})}();
|
|
10
|
+
*/function cr(e,t){if(S(e))return null;for(var n,r,l,o,a=ur(e,!0),i=t,u=0;u<i.length;u++)if((l=(n=i[u])instanceof Window?n:n.getRootNode())!==r&&(o=a.indexOf(l),r=l),!er(l)||!C(o)&&o>-1)return n;return null}function sr(e,t,n,r){var l=ze.call(t,n,r);return S(l)?l:cr(e,ur(l,!0))}a(rr,ar,{childElementCount:{enumerable:!0,configurable:!0,get:function(){return this.children.length}},children:{enumerable:!0,configurable:!0,get:function(){return hn(m.call(Ft(this),(function(e){return e instanceof Element})))}},firstElementChild:{enumerable:!0,configurable:!0,get:function(){return this.children[0]||null}},lastElementChild:{enumerable:!0,configurable:!0,get:function(){var e=this.children;return e.item(e.length-1)||null}},getElementById:{writable:!0,enumerable:!0,configurable:!0,value:function(){throw new Error('Disallowed method "getElementById" on ShadowRoot.')}},querySelector:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return t=e,Kt(n=Jn(this),wt(be.call(n,t)));var t,n}},querySelectorAll:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return an((t=e,Ut(n=Jn(this),wt(be.call(n,t)))));var t,n}}},{innerHTML:{enumerable:!0,configurable:!0,get:function(){for(var e=Sn(this),t="",n=0,r=e.length;n<r;n+=1)t+=nn(e[n]);return t},set:function(e){var t=Jn(this);Re.call(t,e)}}},lr),ir.prototype=i(DocumentFragment.prototype,rr),c(ir,Symbol.hasInstance,{value:function(e){return A(e)&&!S(e)&&(mt(e)||f(e)===ir.prototype)}}),Document.prototype.elementFromPoint=function(e,t){return sr(this,this,e,t)},Document.prototype.elementsFromPoint=function(e,t){return cn(this,this,e,t)},c(Document.prototype,"activeElement",{get:function(){var e=Ve.call(this);if(S(e))return e;for(;!C(_t(e));)if(S(e=ae.call(e)))return null;return"HTML"===e.tagName&&(e=this.body),e},enumerable:!0,configurable:!0}),c(Document.prototype,"getElementById",{value:function(){var e=tt.apply(this,T.call(arguments));return S(e)?null:C(_t(e))||Et(e)?e:null},writable:!0,enumerable:!0,configurable:!0}),c(Document.prototype,"querySelector",{value:function(){var e=wt(et.apply(this,T.call(arguments))),t=v.call(e,(function(e){return C(_t(e))||Et(e)}));return C(t)?null:t},writable:!0,enumerable:!0,configurable:!0}),c(Document.prototype,"querySelectorAll",{value:function(){var e=wt(et.apply(this,T.call(arguments))),t=m.call(e,(function(e){return C(_t(e))||Et(e)}));return an(t)},writable:!0,enumerable:!0,configurable:!0}),c(Document.prototype,"getElementsByClassName",{value:function(){var e=wt(nt.apply(this,T.call(arguments))),t=m.call(e,(function(e){return C(_t(e))||Et(e)}));return hn(t)},writable:!0,enumerable:!0,configurable:!0}),c(Document.prototype,"getElementsByTagName",{value:function(){var e=wt(rt.apply(this,T.call(arguments))),t=m.call(e,(function(e){return C(_t(e))||Et(e)}));return hn(t)},writable:!0,enumerable:!0,configurable:!0}),c(Document.prototype,"getElementsByTagNameNS",{value:function(){var e=wt(lt.apply(this,T.call(arguments))),t=m.call(e,(function(e){return C(_t(e))||Et(e)}));return hn(t)},writable:!0,enumerable:!0,configurable:!0}),c(s(HTMLDocument.prototype,"getElementsByName")?HTMLDocument.prototype:Document.prototype,"getElementsByName",{value:function(){var e=wt(ot.apply(this,T.call(arguments))),t=m.call(e,(function(e){return C(_t(e))||Et(e)}));return an(t)},writable:!0,enumerable:!0,configurable:!0}),Object.defineProperty(window,"ShadowRoot",{value:ir,configurable:!0,writable:!0});var fr=Object.getOwnPropertyDescriptor(Event.prototype,"composed");var hr=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"click");function pr(e){Object.defineProperty(e,"composed",{configurable:!0,enumerable:!0,get:function(){return!0}})}(function(){if(!fr)return!1;var e=new Event("click"),t=document.createElement("button");return t.addEventListener("click",(function(t){return e=t})),t.click(),!fr.get.call(e)})()&&(HTMLElement.prototype.click=function(){Nt.call(this,"click",pr);try{hr.value.call(this)}finally{Mt.call(this,"click",pr)}}),!0!==new Event("test",{composed:!0}).composed&&function(){var e=a(i(null),{beforeinput:1,blur:1,click:1,compositionend:1,compositionstart:1,compositionupdate:1,copy:1,cut:1,dblclick:1,DOMActivate:1,DOMFocusIn:1,DOMFocusOut:1,drag:1,dragend:1,dragenter:1,dragleave:1,dragover:1,dragstart:1,drop:1,focus:1,focusin:1,focusout:1,gotpointercapture:1,input:1,keydown:1,keypress:1,keyup:1,lostpointercapture:1,mousedown:1,mouseenter:1,mouseleave:1,mousemove:1,mouseout:1,mouseover:1,mouseup:1,paste:1,pointercancel:1,pointerdown:1,pointerenter:1,pointerleave:1,pointermove:1,pointerout:1,pointerover:1,pointerup:1,touchcancel:1,touchend:1,touchmove:1,touchstart:1,wheel:1}),t=Event;function n(e,n){var r=new t(e,n),l=!(!n||!n.composed);return Object.defineProperties(r,{composed:{get:function(){return l},configurable:!0,enumerable:!0}}),r}n.prototype=t.prototype,n.AT_TARGET=t.AT_TARGET,n.BUBBLING_PHASE=t.BUBBLING_PHASE,n.CAPTURING_PHASE=t.CAPTURING_PHASE,n.NONE=t.NONE,window.Event=n,Object.defineProperties(Event.prototype,{composed:{get:function(){var t=this.type;return 1===e[t]},configurable:!0,enumerable:!0}})}();var gr,mr,vr,br,dr=CustomEvent;function yr(e,t){var n=new dr(e,t),r=!(!t||!t.composed);return Object.defineProperties(n,{composed:{get:function(){return r},configurable:!0,enumerable:!0}}),n}if(yr.prototype=dr.prototype,window.CustomEvent=yr,"undefined"!=typeof ClipboardEvent){var Er=a(i(null),{copy:1,cut:1,paste:1});u(ClipboardEvent.prototype,{composed:{get:function(){var e=this.type;return 1===Er[e]},configurable:!0,enumerable:!0}})}vr="undefined"!=typeof HTMLIFrameElement,br="undefined"!=typeof Proxy&&O(Proxy.isCompat),vr&&br&&(gr=s(HTMLIFrameElement.prototype,"contentWindow"),mr=gr.get,gr.get=function(){var e,t=mr.call(this);return S(t)||C(_t(this))?t:(e=t,{addEventListener:function(){return e.addEventListener.apply(e,arguments)},blur:function(){return e.blur.apply(e,arguments)},close:function(){return e.close.apply(e,arguments)},focus:function(){return e.focus.apply(e,arguments)},postMessage:function(){return e.postMessage.apply(e,arguments)},removeEventListener:function(){return e.removeEventListener.apply(e,arguments)},get closed(){return e.closed},get frames(){return e.frames},get length(){return e.length},get location(){return e.location},set location(t){e.location=t},get opener(){return e.opener},get parent(){return e.parent},get self(){return e.self},get top(){return e.top},get window(){return e.window}})},c(HTMLIFrameElement.prototype,"contentWindow",gr));var wr=MutationObserver,Tr=wr.prototype,Nr=Tr.disconnect,Lr=Tr.observe,Mr=Tr.takeRecords,Cr="$$lwcObserverCallbackWrapper$$",Sr=new WeakMap;function Or(e){return e.$$lwcNodeObservers$$}function Hr(e){var t=e.addedNodes,n=e.removedNodes,r=e.target,l=e.type,o=i(MutationRecord.prototype);return u(o,{addedNodes:{get:function(){return t},enumerable:!0,configurable:!0},removedNodes:{get:function(){return n},enumerable:!0,configurable:!0},type:{get:function(){return l},enumerable:!0,configurable:!0},target:{get:function(){return r.shadowRoot},enumerable:!0,configurable:!0}}),o}function _r(e,t){for(var n=t;!S(n);){var r=Or(n);if(!C(r)&&(r[0]===e||-1!==b.call(r,e)))return!0;n=n.parentNode}return!1}function Ar(e,t){return E.call(e,(function(e,n){var r=n.target,l=n.addedNodes,o=n.removedNodes;if("childList"!==n.type||C(Rt(r)))_r(t,r)&&y.call(e,n);else if(l.length>0){var a=l[0];if(_r(t,a)){var i=Or(r);!i||i[0]!==t&&-1===b.call(i,t)?y.call(e,Hr(n)):y.call(e,n)}}else{var u=r.shadowRoot,c=o[0];if(At(r)===At(c)&&_r(t,r))y.call(e,n);else if(u){var s=Or(u);!s||s[0]!==t&&-1===b.call(s,t)||y.call(e,Hr(n))}}return e}),[])}function Rr(e){var t=function(e){var t=e[Cr];return C(t)&&(t=e[Cr]=function(t,n){var r=Ar(t,n);0!==r.length&&e.call(n,r,n)}),t}(e);return new wr(t)}function Pr(e,t,n){if(arguments.length>1){var r=T.call(arguments);return r[1]=An(r[1]),it.apply(this,r)}return it.apply(this,arguments)}function $r(e,t,n){if(arguments.length>1){var r=T.call(arguments);r[1]=An(r[1]),ut.apply(this,r)}ut.apply(this,arguments)}function Dr(){var e=Ge.call(this);if(!(e instanceof I))return e;var t=dt(e),n=ur(e,this.composed),r=qe.call(this);if(!(r instanceof I))return S(r)&&C(_t(e))?e:cr(t,n);if(r===t||r===t.body)return C(_t(e))?e:cr(t,n);var l=r,o=n;Zn(r)&&(1===Rn.get(this)&&(l=Qn(r)));return Zn(e)&&or.has(this)&&(o=ur(Qn(e),this.composed)),cr(l,o)}function Br(){var e=Ge.call(this);if(!(e instanceof I))return[];var t,n=Boolean(e.shadowRoot),r=(t=e,Gn.has(t));if(n&&!r)return Ye.call(this);if(S(qe.call(this)))return[];var l=e;return Zn(e)&&or.has(this)&&(l=Qn(e)),ur(l,this.composed)}function Ir(e){var t=s(e.prototype,"relatedTarget").get;c(e.prototype,"relatedTarget",{get:function(){var e=t.call(this);if(S(e))return null;if(!(e instanceof I&&Pt(e)))return e;var n=qe.call(this);return S(n)&&(n=dt(e)),cr(n,ur(e,!0))},enumerable:!0,configurable:!0})}Rr.prototype=wr.prototype,Rr.prototype.disconnect=function(){var e=this;Nr.call(this);var t=Sr.get(this);C(t)||(L.call(t,(function(t){var n=t.$$lwcNodeObservers$$;if(!C(n)){var r=b.call(n,e);-1!==r&&N.call(n,r,1)}})),t.length=0)},Rr.prototype.observe=function(e,t){var n,r=Or(e);if(C(r)&&(n=r=[],e.$$lwcNodeObservers$$=n),-1===b.call(r,this)&&y.call(r,this),er(e)&&(e=e.host),Sr.has(this)){var l=Sr.get(this);-1===b.call(l,e)&&y.call(l,e)}else Sr.set(this,[e]);return Lr.call(this,e,t)},Rr.prototype.takeRecords=function(){return Ar(Mr.call(this),this)},c(window,"MutationObserver",{value:Rr,configurable:!0,writable:!0}),u(Tt,{addEventListener:{value:function(e,t,n){if(Zn(this))return Un.apply(this,arguments);if(arguments.length<2){var r=T.call(arguments);return r.length>1&&(r[1]=An(r[1])),Nt.apply(this,r)}var l=An(t);return Nt.call(this,e,l,n)},enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:function(e,t,n){if(Zn(this))return Kn.apply(this,arguments);var r=T.call(arguments);arguments.length>1&&(r[1]=An(r[1])),Mt.apply(this,r),Mt.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),"undefined"==typeof EventTarget&&u(Window.prototype,{addEventListener:{value:Pr,enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:$r,enumerable:!0,writable:!0,configurable:!0}}),u(Event.prototype,{target:{get:Dr,enumerable:!0,configurable:!0},currentTarget:{get:function(){var e=qe.call(this);return S(e)?null:1===Rn.get(this)?Qn(e):e},enumerable:!0,configurable:!0},composedPath:{value:Br,writable:!0,enumerable:!0,configurable:!0},srcElement:{get:Dr,enumerable:!0,configurable:!0},path:{get:Br,enumerable:!0,configurable:!0}}),Ir(FocusEvent),Ir(MouseEvent);var xr,kr=h.call(Text.prototype,"assignedSlot")?s(Text.prototype,"assignedSlot").get:function(){return null},Fr={childList:!0},jr=new WeakMap;function Wr(e){var t=wt(ue.call(e));return E.call(t,(function(e,t){return t instanceof Element&&xt(t)?y.apply(e,Wr(t)):y.call(e,t),e}),[])}function Ur(){var e=le.call(this);if(e instanceof Element){var t=Ue.call(e);if(mt(t))return this instanceof Text?kr.call(this):Ke.call(this)}return!S(e)&&xt(e)&&_t(e)!==_t(this)?e:null}function Kr(e,t){var n,r=_t(e);if(C(r))n=e instanceof HTMLBodyElement?m.call(t,(function(t){return C(_t(t))||Et(e)})):T.call(t);else if(Zn(e)){var l=Bt(e);n=S(l)?[]:Rt(e)?jt(e,t):Ut(l,t)}else n=m.call(t,(function(e){return At(e)===r}));return n}function Gr(){for(var e=Sn(this),t="",n=0,r=e.length;n<r;n+=1)t+=nn(e[n]);return t}function qr(){return nn(this)}function Xr(){var e=Bt(this),t=S(e)?[]:Ut(e,Gt(this));return hn(m.call(t,(function(e){return e instanceof Element})))}function Yr(){return this.children.length}function Vr(){return this.children[0]||null}function zr(){var e=this.children;return e.item(e.length-1)||null}function Jr(e,t,n){var r;if(Zn(e)){var l=Bt(e);r=C(Rt(e))?S(l)?[]:Ut(l,t):jt(e,t)}else if(Pt(e)){var o=_t(e);if(C(o))if(1===n){var a=At(e);r=m.call(t,(function(e){return At(e)===a}))}else r=T.call(t);else r=m.call(t,(function(e){return At(e)===o}))}else r=e instanceof HTMLBodyElement||1===n?m.call(t,(function(t){return C(_t(t))||Et(e)})):T.call(t);return r}function Qr(e){var t=yt(e);return ct.call(t,e)}function Zr(e){var t=yt(e);return st.call(t)}function el(e){return"visible"===e.visibility&&"none"!==e.display}u(HTMLSlotElement.prototype,{addEventListener:{value:function(e,t,n){HTMLElement.prototype.addEventListener.call(this,e,t,n),"slotchange"!==e||jr.get(this)||(jr.set(this,!0),xr||(xr=new ft((function(e){var t=[];L.call(e,(function(e){var n=e.target;-1===b.call(t,n)&&(y.call(t,n),Lt.call(n,new CustomEvent("slotchange")))}))}))),ht.call(xr,this,Fr))},writable:!0,enumerable:!0,configurable:!0},assignedElements:{value:function(e){if(Pt(this)){var t=!C(e)&&O(e.flatten),n=t?Wr(this):qt(this);return m.call(n,(function(e){return e instanceof Element}))}return P.apply(this,T.call(arguments))},writable:!0,enumerable:!0,configurable:!0},assignedNodes:{value:function(e){if(Pt(this)){var t=!C(e)&&O(e.flatten);return t?Wr(this):qt(this)}return R.apply(this,T.call(arguments))},writable:!0,enumerable:!0,configurable:!0},name:{get:function(){var e=fe.call(this,"name");return S(e)?"":e},set:function(e){ye.call(this,"name",e)},enumerable:!0,configurable:!0},childNodes:{get:function(){if(Pt(this)){var e=Bt(this);return an(S(e)?[]:Ut(e,Gt(this)))}return ue.call(this)},enumerable:!0,configurable:!0}}),u(Text.prototype,{assignedSlot:{get:Ur,enumerable:!0,configurable:!0}}),u(Element.prototype,{innerHTML:{get:function(){return Ct.ENABLE_ELEMENT_PATCH?Et(this)?Ae.call(this):Gr.call(this):Pt(this)||Zn(this)?Gr.call(this):Ae.call(this)},set:function(e){Re.call(this,e)},enumerable:!0,configurable:!0},outerHTML:{get:function(){return Ct.ENABLE_ELEMENT_PATCH?Et(this)?$e.call(this):qr.call(this):Pt(this)||Zn(this)?qr.call(this):$e.call(this)},set:function(e){De.call(this,e)},enumerable:!0,configurable:!0},attachShadow:{value:function(e){return e["$$lwc-synthetic-mode"]?nr(this,e):Ee.call(this,e)},enumerable:!0,writable:!0,configurable:!0},shadowRoot:{get:function(){if(Zn(this)){var e=Qn(this);if("open"===e.mode)return e}return Ue.call(this)},enumerable:!0,configurable:!0},children:{get:function(){return pn(this)?Xr.call(this):je.call(this)},enumerable:!0,configurable:!0},childElementCount:{get:function(){return pn(this)?Yr.call(this):we.call(this)},enumerable:!0,configurable:!0},firstElementChild:{get:function(){return pn(this)?Vr.call(this):Te.call(this)},enumerable:!0,configurable:!0},lastElementChild:{get:function(){return pn(this)?zr.call(this):Ne.call(this)},enumerable:!0,configurable:!0},assignedSlot:{get:Ur,enumerable:!0,configurable:!0}}),h.call(HTMLElement.prototype,"innerHTML")&&c(HTMLElement.prototype,"innerHTML",s(Element.prototype,"innerHTML")),h.call(HTMLElement.prototype,"outerHTML")&&c(HTMLElement.prototype,"outerHTML",s(Element.prototype,"outerHTML")),h.call(HTMLElement.prototype,"children")&&c(HTMLElement.prototype,"children",s(Element.prototype,"children")),u(Element.prototype,{querySelector:{value:function(){var e=this,t=wt(be.apply(this,T.call(arguments)));if(Zn(this)){var n=Bt(this);return C(Rt(this))?S(n)?null:Kt(n,t):Wt(this,t)}if(Pt(this)){var r=_t(this);if(C(r)){if(!Ct.ENABLE_NODE_LIST_PATCH)return 0===t.length?null:t[0];var l=At(this),o=v.call(t,(function(e){return At(e)===l}));return C(o)?null:o}var a=v.call(t,(function(e){return At(e)===r}));return C(a)?null:a}if(!(Ct.ENABLE_NODE_LIST_PATCH||this instanceof HTMLBodyElement)){var i=t[0];return C(i)?null:i}var u=v.call(t,(function(t){return C(_t(t))||Et(e)}));return C(u)?null:u},writable:!0,enumerable:!0,configurable:!0},querySelectorAll:{value:function(){var e=wt(be.apply(this,T.call(arguments)));if(!Ct.ENABLE_NODE_LIST_PATCH){var t=Jr(this,e,0);return an(t)}return an(Jr(this,e,1))},writable:!0,enumerable:!0,configurable:!0}}),u(Element.prototype,{getElementsByClassName:{value:function(){var e=wt(We.apply(this,T.call(arguments)));if(!Ct.ENABLE_HTML_COLLECTIONS_PATCH)return hn(Kr(this,e));var t=Jr(this,e,1);return hn(t)},writable:!0,enumerable:!0,configurable:!0},getElementsByTagName:{value:function(){var e=wt(pe.apply(this,T.call(arguments)));if(!Ct.ENABLE_HTML_COLLECTIONS_PATCH)return hn(Kr(this,e));var t=Jr(this,e,1);return hn(t)},writable:!0,enumerable:!0,configurable:!0},getElementsByTagNameNS:{value:function(){var e=wt(ge.apply(this,T.call(arguments)));if(!Ct.ENABLE_HTML_COLLECTIONS_PATCH)return hn(Kr(this,e));var t=Jr(this,e,1);return hn(t)},writable:!0,enumerable:!0,configurable:!0}}),h.call(HTMLElement.prototype,"getElementsByClassName")&&c(HTMLElement.prototype,"getElementsByClassName",s(Element.prototype,"getElementsByClassName"));function tl(e){var t=[];if(function(e){return e.nodeType===W}(e)){var n=e.tagName,r=Qr(e);if("OPTION"===n)return[1,Me.call(e),1];if("TEXTAREA"===n)return[];for(var l=e.childNodes,o=0,a=l.length;o<a;o++)y.apply(t,tl(l[o]));if(!el(r))return"SELECT"===n||"DATALIST"===n?[]:t;"BR"===n&&t.push("\n");var i=r.display;"table-cell"===i&&t.push("\t"),"table-row"===i&&t.push("\n"),"P"===n&&(t.unshift(2),t.push(2)),"block"!==i&&"table-caption"!==i&&"flex"!==i&&"table"!==i||(t.unshift(1),t.push(1))}else(function(e){return e.nodeType===U})(e)&&t.push(function(e){var t=Zr(e);if(null===t)return e.textContent||"";var n=document.createRange();n.selectNodeContents(e);var r=n.getBoundingClientRect();return r.height<=0||r.width<=0?"":(t.removeAllRanges(),t.addRange(n),t.toString()||e.textContent||"")}(e));return t}function nl(e){if(!el(Qr(e)))return rn(e)||"";for(var t=function(e){var t=yt(e),n=Zr(e);if(null===n)return null;for(var r=[],l=0;l<n.rangeCount;l++)r.push(n.getRangeAt(l));var o={element:e,onselect:t.onselect,onselectstart:t.onselectstart,onselectionchange:t.onselectionchange,ranges:r};return t.onselect=null,t.onselectstart=null,t.onselectionchange=null,o}(e),n=[],r=e.childNodes,l=0,o=r.length;l<o;l++)y.apply(n,tl(r[l]));!function(e){if(null!==e){var t=e.element,n=e.onselect,r=e.onselectstart,l=e.onselectionchange,o=e.ranges,a=yt(t),i=Zr(t);i.removeAllRanges();for(var u=0;u<o.length;u++)i.addRange(o[u]);a.onselect=n,a.onselectstart=r,a.onselectionchange=l}}(t);for(var a="",i=0,u=0,c=n.length;u<c;u++){var s=n[u];if("string"==typeof s){if(i>0){for(var f=0;f<i;f++)a+="\n";i=0}s.length>0&&(a+=s)}else{if(0==a.length)continue;s>i&&(i=s)}}return a}var rl="\n [contenteditable],\n [tabindex],\n a[href],\n area[href],\n audio[controls],\n button,\n iframe,\n input,\n select,\n textarea,\n video[controls]\n",ll=new Set(["BUTTON","INPUT","SELECT","TEXTAREA"]);function ol(e){return e.filter((function(e){return me.call(e,"tabindex")?"0"===fe.call(e,"tabindex"):!ll.has(Be.call(e))||!me.call(e,"disabled")}))}var al=new WeakMap;function il(e){return(!Zn(e)||!zn(e))&&(Fe.call(e,rl)&&function(e){var t=he.call(e),n=t.width,r=t.height,l=n>0||r>0,o="AREA"===e.tagName;return(l||o)&&"hidden"!==getComputedStyle(e).visibility}(e))}function ul(){var e=this.getRootNode();if(e!==this){var t=e;if(t.activeElement!==this)for(var n=wt(be.call(this,rl)),r=!1;!r&&0!==n.length;){var l=n.shift();l.focus.apply(l,arguments);var o=l.getRootNode();r=o.activeElement===l}}else{var a=ve.call(this,rl);S(a)||a.focus.apply(a,arguments)}}function cl(e){var t=dt(e),n=ol(wt(et.call(t,rl))),r=ol(wt(be.call(e,rl))),l=r[0],o=r[r.length-1],a=b.call(n,e),i=a>-1?a:b.call(n,l),u=0===r.length?i+1:b.call(n,o)+1;return{prev:T.call(n,0,i),inner:r,next:T.call(n,u)}}function sl(e,t){var n=V.call(e,t);return n&k?0:n&F?1:n&j?2:-1}function fl(e){e.preventDefault(),e.stopPropagation()}function hl(e,t){it.call(e,"focusin",fl,!0),it.call(e,"focusout",fl,!0),t(),ut.call(e,"focusin",fl,!0),ut.call(e,"focusout",fl,!0)}function pl(e,t,n){var r=yt(n),l=function(e,t){var n=e.length;if(n>0)for(var r=0;r<n;r+=1){var l=e[r];if(El(t.getRootNode(),l))return l}return null}(e,n);S(l)?hl(r,(function(){t.blur()})):hl(r,(function(){l.focus()}))}var gl=!1;function ml(){gl=!0}function vl(){gl=!1}function bl(){return!gl}function dl(e){if(!gl){var t=qe.call(e),n=Ge.call(e);if(t===n){var r=Xe.call(e);if(!S(r)){var l=cl(t);if(1===sl(t,r)){var o=El.bind(null,t.getRootNode()),a=v.call(l.inner,o);if(C(a))pl(l.next,n,r);else hl(yt(a),(function(){a.focus()}))}else t===n&&pl(w.call(l.prev),n,r)}}}}function yl(e){if(!gl){var t=Xe.call(e);if(!S(t)){var n=qe.call(e),r=cl(n);if(-1===b.call(r.inner,t)){var l=Ge.call(e),o=sl(n,t);1===o&&pl(r.next,l,t),2===o&&pl(w.call(r.prev),l,t)}}}}function El(e,t){if(!il(t))return!1;for(var n=dt(t),r=t.getRootNode();r!==n&&r!==e;){var l=r.host;if("-1"===fe.call(l,"tabindex"))return!1;r=l&&l.getRootNode()}return!0}function wl(e){Mt.call(e,"focusin",dl,!0)}function Tl(e){var t=dt(e);al.get(t)||(al.set(t,!0),Nt.call(t,"mousedown",ml,!0),Nt.call(t,"mouseup",(function(){setTimeout(vl)}),!0),Nt.call(t,"dragstart",vl,!0))}function Nl(e){Mt.call(e,"focusin",yl,!0)}var Ll=HTMLElement.prototype,Ml=Ll.blur,Cl=Ll.focus;function Sl(){return zn(this)&&H(me.call(this,"tabindex"))?0:xe.call(this)}function Ol(e){var t=zn(this),n=xe.call(this),r=me.call(this,"tabindex");ke.call(this,e);var l,o=xe.call(this),a=me.call(this,"tabindex"),i=n!==o;(r&&(i||H(a))&&(-1===n&&Nl(this),0===n&&t&&wl(this)),H(a))||(r&&a&&H(i)||(-1===o&&(Tl(l=this),wl(l),Nt.call(l,"focusin",yl,!0)),0===o&&t&&function(e){Tl(e),Nl(e),Nt.call(e,"focusin",dl,!0)}(this)))}function Hl(){if(zn(this)){var e=(n=dt(t=this),S(r=Ve.call(n))||0!=(V.call(t,r)&k)?r:null);if(!S(e))return void e.blur()}var t,n,r;return Ml.call(this)}function _l(){var e=bl();e&&ml(),Zn(this)&&zn(this)?ul.call(this):(Cl.apply(this,arguments),e&&vl())}function Al(e,t){e.$shadowResolver$=t;for(var n=ue.call(e),r=0,l=n.length;r<l;r++)Al(n[r],t)}u(HTMLElement.prototype,{tabIndex:{get:function(){return Zn(this)?Sl.call(this):xe.call(this)},set:function(e){return Zn(this)?Ol.call(this,e):ke.call(this,e)},enumerable:!0,configurable:!0},blur:{value:function(){if(Zn(this))return Hl.call(this);Ml.call(this)},enumerable:!0,writable:!0,configurable:!0},focus:{value:function(){_l.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),null!==Me&&null!==Ce&&c(HTMLElement.prototype,"innerText",{get:function(){return Ct.ENABLE_INNER_OUTER_TEXT_PATCH?Ct.ENABLE_ELEMENT_PATCH?Et(this)?Me.call(this):nl(this):Pt(this)||Zn(this)?nl(this):Me.call(this):Me.call(this)},set:function(e){Ce.call(this,e)},enumerable:!0,configurable:!0}),null!==Oe&&null!==He&&c(HTMLElement.prototype,"outerText",{get:function(){return Ct.ENABLE_INNER_OUTER_TEXT_PATCH?Ct.ENABLE_ELEMENT_PATCH?Et(this)?Oe.call(this):nl(this):Pt(this)||Zn(this)?nl(this):Oe.call(this):Oe.call(this)},set:function(e){He.call(this,e)},enumerable:!0,configurable:!0}),c(Element.prototype,B,{set:function(e){var t=this.$$ShadowTokenKey$$;C(t)||t===e||de.call(this,t),C(e)||ye.call(this,e,""),this.$$ShadowTokenKey$$=e},get:function(){return this.$$ShadowTokenKey$$},configurable:!0}),c(Element.prototype,"$shadowStaticNode$",{set:function(e){e&&Al(this,this.$shadowResolver$);this.$shadowStaticNodeKey$=e},get:function(){return this.$shadowStaticNodeKey$},configurable:!0});var Rl,Pl=function(){},$l={childList:!0};function Dl(e,t,n){var r=Yn(e);if(r!==t&&(Vn(e,t),e instanceof Element)){if(function(e,t){e.$shadowToken$=t}(e,n),Zn(e))return;C(r)&&ht.call(Rl,e,$l);for(var l=ue.call(e),o=0,a=l.length;o<a;o+=1)Dl(l[o],t,n)}}function Bl(e){if(C(Rl)&&(Rl=new ft((function(e){L.call(e,(function(e){for(var t=e.target,n=e.addedNodes,r=e.removedNodes,l=Yn(t),o=function(e){return e.$shadowToken$}(t),a=0,i=r.length;a<i;a+=1){var u=r[a];V.call(t,u)&I.DOCUMENT_POSITION_CONTAINED_BY||Dl(u,Pl,void 0)}for(var c=0,s=n.length;c<s;c+=1){var f=n[c];V.call(t,f)&I.DOCUMENT_POSITION_CONTAINED_BY&&Dl(f,l,o)}}))}))),C(Yn(e)))throw new Error("Invalid Element");ht.call(Rl,e,$l)}c(Element.prototype,"$domManual$",{set:function(e){this.$$DomManualKey$$=e,O(e)&&Bl(this)},get:function(){return this.$$DomManualKey$$},configurable:!0})}();
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
var KEY__SHADOW_TOKEN = '$shadowToken$';
|
|
109
109
|
var KEY__SHADOW_TOKEN_PRIVATE = '$$ShadowTokenKey$$';
|
|
110
110
|
var KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
|
|
111
|
-
/** version: 2.
|
|
111
|
+
/** version: 2.31.0 */
|
|
112
112
|
|
|
113
113
|
/*
|
|
114
114
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -423,7 +423,7 @@
|
|
|
423
423
|
});
|
|
424
424
|
}
|
|
425
425
|
var lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
|
|
426
|
-
/** version: 2.
|
|
426
|
+
/** version: 2.31.0 */
|
|
427
427
|
|
|
428
428
|
/*
|
|
429
429
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -2665,7 +2665,10 @@
|
|
|
2665
2665
|
*/
|
|
2666
2666
|
function detect$1() {
|
|
2667
2667
|
// Note: when using this in mobile apps, we might have a DOM that does not support iframes.
|
|
2668
|
-
|
|
2668
|
+
var hasIframe = typeof HTMLIFrameElement !== 'undefined';
|
|
2669
|
+
// This polyfill should only apply in compat mode; see https://github.com/salesforce/lwc/issues/1513
|
|
2670
|
+
var isCompat = typeof Proxy !== 'undefined' && isTrue(Proxy.isCompat);
|
|
2671
|
+
return hasIframe && isCompat;
|
|
2669
2672
|
}
|
|
2670
2673
|
|
|
2671
2674
|
/*
|
|
@@ -4745,6 +4748,6 @@
|
|
|
4745
4748
|
},
|
|
4746
4749
|
configurable: true
|
|
4747
4750
|
});
|
|
4748
|
-
/** version: 2.
|
|
4751
|
+
/** version: 2.31.0 */
|
|
4749
4752
|
|
|
4750
4753
|
})();
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
// We use this to detect symbol support in order to avoid the expensive symbol polyfill. Note that
|
|
154
154
|
// we can't use typeof since it will fail when transpiling.
|
|
155
155
|
const hasNativeSymbolSupport = /*@__PURE__*/ (() => Symbol('x').toString() === 'Symbol(x)')();
|
|
156
|
-
/** version: 2.
|
|
156
|
+
/** version: 2.31.0 */
|
|
157
157
|
|
|
158
158
|
/*
|
|
159
159
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -467,7 +467,7 @@
|
|
|
467
467
|
Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
|
|
468
468
|
}
|
|
469
469
|
const lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
|
|
470
|
-
/** version: 2.
|
|
470
|
+
/** version: 2.31.0 */
|
|
471
471
|
|
|
472
472
|
/*
|
|
473
473
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -2829,7 +2829,10 @@
|
|
|
2829
2829
|
*/
|
|
2830
2830
|
function detect$1() {
|
|
2831
2831
|
// Note: when using this in mobile apps, we might have a DOM that does not support iframes.
|
|
2832
|
-
|
|
2832
|
+
const hasIframe = typeof HTMLIFrameElement !== 'undefined';
|
|
2833
|
+
// This polyfill should only apply in compat mode; see https://github.com/salesforce/lwc/issues/1513
|
|
2834
|
+
const isCompat = typeof Proxy !== 'undefined' && isTrue(Proxy.isCompat);
|
|
2835
|
+
return hasIframe && isCompat;
|
|
2833
2836
|
}
|
|
2834
2837
|
|
|
2835
2838
|
/*
|
|
@@ -4951,6 +4954,6 @@
|
|
|
4951
4954
|
}));
|
|
4952
4955
|
});
|
|
4953
4956
|
}
|
|
4954
|
-
/** version: 2.
|
|
4957
|
+
/** version: 2.31.0 */
|
|
4955
4958
|
|
|
4956
4959
|
}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){"use strict";const{assign:e,create:t,defineProperties:n,defineProperty:l,freeze:o,getOwnPropertyDescriptor:r,getOwnPropertyNames:i,getPrototypeOf:a,hasOwnProperty:c,isFrozen:u,keys:s,seal:f,setPrototypeOf:h}=Object,{concat:p,copyWithin:g,fill:m,filter:d,find:b,indexOf:E,join:y,map:w,pop:T,push:v,reduce:N,reverse:L,shift:M,slice:C,some:S,sort:O,splice:H,unshift:_,forEach:A}=Array.prototype,{charCodeAt:R,replace:$,slice:P,toLowerCase:D}=String.prototype;function I(e){return void 0===e}function B(e){return null===e}function k(e){return!0===e}function x(e){return!1===e}function F(e){return"function"==typeof e}function W(e){return"object"==typeof e}const U=function(){if("object"==typeof globalThis)return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),j="$shadowResolver$",G="$shadowToken$",K=Node,q=K.prototype,{DOCUMENT_POSITION_CONTAINED_BY:X,DOCUMENT_POSITION_CONTAINS:Y,DOCUMENT_POSITION_PRECEDING:V,DOCUMENT_POSITION_FOLLOWING:z,ELEMENT_NODE:J,TEXT_NODE:Q,CDATA_SECTION_NODE:Z,PROCESSING_INSTRUCTION_NODE:ee,COMMENT_NODE:te,DOCUMENT_FRAGMENT_NODE:ne}=K,{appendChild:le,cloneNode:oe,compareDocumentPosition:re,insertBefore:ie,removeChild:ae,replaceChild:ce,hasChildNodes:ue}=q,{contains:se}=HTMLElement.prototype,fe=r(q,"firstChild").get,he=r(q,"lastChild").get,pe=r(q,"textContent").get,ge=r(q,"parentNode").get,me=r(q,"ownerDocument").get,de=c.call(q,"parentElement")?r(q,"parentElement").get:r(HTMLElement.prototype,"parentElement").get,be=r(q,"textContent").set,Ee=c.call(q,"childNodes")?r(q,"childNodes").get:r(HTMLElement.prototype,"childNodes").get,ye=c.call(q,"isConnected")?r(q,"isConnected").get:function(){const e=me.call(this);return null===e||0!=(re.call(e,this)&X)},{getAttribute:we,getBoundingClientRect:Te,getElementsByTagName:ve,getElementsByTagNameNS:Ne,hasAttribute:Le,querySelector:Me,querySelectorAll:Ce,removeAttribute:Se,setAttribute:Oe}=Element.prototype,He=c.call(Element.prototype,"attachShadow")?Element.prototype.attachShadow:()=>{throw new TypeError("attachShadow() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill and use Lightning Web Components")},_e=r(Element.prototype,"childElementCount").get,Ae=r(Element.prototype,"firstElementChild").get,Re=r(Element.prototype,"lastElementChild").get,$e=r(HTMLElement.prototype,"innerText"),Pe=$e?$e.get:null,De=$e?$e.set:null,Ie=r(HTMLElement.prototype,"outerText"),Be=Ie?Ie.get:null,ke=Ie?Ie.set:null,xe=c.call(Element.prototype,"innerHTML")?r(Element.prototype,"innerHTML"):r(HTMLElement.prototype,"innerHTML"),Fe=xe.get,We=xe.set,Ue=c.call(Element.prototype,"outerHTML")?r(Element.prototype,"outerHTML"):r(HTMLElement.prototype,"outerHTML"),je=Ue.get,Ge=Ue.set,Ke=r(Element.prototype,"tagName").get,qe=r(HTMLElement.prototype,"tabIndex"),Xe=qe.get,Ye=qe.set,Ve=c.call(Element.prototype,"matches")?Element.prototype.matches:Element.prototype.msMatchesSelector,ze=c.call(Element.prototype,"children")?r(Element.prototype,"children").get:r(HTMLElement.prototype,"children").get,{getElementsByClassName:Je}=HTMLElement.prototype,Qe=c.call(Element.prototype,"shadowRoot")?r(Element.prototype,"shadowRoot").get:()=>null,Ze=c.call(Element.prototype,"assignedSlot")?r(Element.prototype,"assignedSlot").get:()=>null;let et,tt;"undefined"!=typeof HTMLSlotElement?(et=HTMLSlotElement.prototype.assignedNodes,tt=HTMLSlotElement.prototype.assignedElements):(et=()=>{throw new TypeError("assignedNodes() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill to start using <slot> elements in your Lightning Web Component's template")},tt=()=>{throw new TypeError("assignedElements() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill to start using <slot> elements in your Lightning Web Component's template")});const nt=r(Event.prototype,"target").get,lt=r(Event.prototype,"currentTarget").get,ot=r(FocusEvent.prototype,"relatedTarget").get,rt=c.call(Event.prototype,"composedPath")?Event.prototype.composedPath:()=>[],it=r(Document.prototype,"activeElement").get,at=c.call(Document.prototype,"elementFromPoint")?Document.prototype.elementFromPoint:Document.prototype.msElementFromPoint,ct=c.call(Document.prototype,"elementsFromPoint")?Document.prototype.elementsFromPoint:Document.prototype.msElementsFromPoint,ut=r(Document.prototype,"defaultView").get,{createComment:st,querySelectorAll:ft,getElementById:ht,getElementsByClassName:pt,getElementsByTagName:gt,getElementsByTagNameNS:mt}=Document.prototype,{getElementsByName:dt}=HTMLDocument.prototype,{addEventListener:bt,removeEventListener:Et,getComputedStyle:yt,getSelection:wt}=window,Tt=MutationObserver,vt=Tt.prototype.observe;let Nt=null;"undefined"!=typeof ShadowRoot&&(Nt=ShadowRoot);const Lt=!B(Nt),Mt=B(Nt)?()=>!1:e=>e instanceof Nt;const{createElement:Ct}=Document.prototype;function St(e){const t=me.call(e);return null===t?e:t}function Ot(e){const t=St(e),n=ut.call(t);if(null===n)throw new TypeError;return n}let Ht;function _t(e){if(I(Ht)){const t=St(e);Ht=t.body&&"temporary-bypass"===we.call(t.body,"data-global-patching-bypass")}return k(Ht)}function At(e){const t=e.length,n=[];if(t>0)for(let l=0;l<t;l++)n[l]=e[l];return n}"undefined"==typeof HTMLSlotElement&&function(){class e{}h(e,HTMLElement.constructor),h(e.prototype,HTMLElement.prototype),Window.prototype.HTMLSlotElement=e,l(Document.prototype,"createElement",{value:function(t,n){const l=Ct.apply(this,C.call(arguments));return 4===t.length&&115===R.call(t,0)&&108===R.call(t,1)&&111===R.call(t,2)&&116===R.call(t,3)&&h(l,e.prototype),l}})}();const Rt="undefined"!=typeof EventTarget?EventTarget.prototype:K.prototype,{addEventListener:$t,dispatchEvent:Pt,removeEventListener:Dt}=Rt;U.lwcRuntimeFlags||Object.defineProperty(U,"lwcRuntimeFlags",{value:t(null)});const It=U.lwcRuntimeFlags,Bt="$$HostElementKey$$",kt="$$ShadowedNodeKey$$";function xt(e,t,n){const l=e;{const{value:e}=n;l[t]=e}}function Ft(e){return e[Bt]}function Wt(e){let t,n=e;for(;!B(n);){if(t=Ft(n),!I(t))return t;if(n=ge.call(n),It.ENABLE_LIGHT_GET_ROOT_NODE_PATCH&&!B(n)&&Xt(n))return}}function Ut(e){return e[kt]}function jt(e){return!I(Ft(e))}function Gt(e){let t=de.call(e);for(;!B(t)&&Yt(t);)e=t,t=de.call(e);return e}function Kt(e,t){const n=Ut(e);let l=t instanceof Element?t:de.call(t);for(;!B(l)&&l!==e;){const t=Wt(l),o=de.call(l);if(t===n)return Yt(l);if(o===e)return!1;if(B(o)||Wt(o)===t)l=o;else{if(!Yt(o))return!1;if(l=qt(Gt(o)),!B(l)){if(l===e)return!0;if(Wt(l)===n)return!0}}}return!1}function qt(e){if(!(e instanceof K))return null;const t=Wt(e);if(I(t))return null;let n=e;for(;!B(n)&&Ut(n)!==t;)n=ge.call(n);return B(n)?null:n}function Xt(e){return Yt(e)&&jt(e)}function Yt(e){return e instanceof HTMLSlotElement}function Vt(e,t){const n=Wt(t);if(I(n)){if(It.ENABLE_LIGHT_GET_ROOT_NODE_PATCH){const e=ge.call(t);if(!B(e)&&Xt(e))return!1}return!0}return Ut(e)===n}function zt(e){const t=il(e);return Zt(t,At(Ee.call(t)))}function Jt(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];!Vt(e,o)&&Kt(e,o)&&v.call(n,o)}return n}function Qt(e,t){for(let n=0,l=t.length;n<l;n+=1){const l=t[n];if(!Vt(e,l)&&Kt(e,l))return l}return null}function Zt(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];Vt(e,o)&&v.call(n,o)}return n}function en(e,t){for(let n=0,l=t.length;n<l;n+=1)if(Vt(e,t[n]))return t[n];return null}function tn(e){if(!cl(e)&&!Yt(e)){return At(Ee.call(e))}if(cl(e)){const t=At(Ce.call(e,"slot")),n=ll(al(e));return N.call(t,((e,t)=>(n===ll(t)&&v.apply(e,nn(t)),e)),[])}{const t=At(Ee.call(e)),n=ll(e);return d.call(t,(e=>n===ll(e)))}}function nn(e){const t=qt(e);if(B(t))return[];const n=At(Ee.call(e));return d.call(n,(e=>!jt(e)||!Vt(t,e)))}const ln=/[&\u00A0"]/g,on=/[&\u00A0<>]/g,{replace:rn,toLowerCase:an}=String.prototype;function cn(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" ";default:return""}}function un(e){return rn.call(e,ln,cn)}const sn=new Set(["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"]),fn=new Set(["STYLE","SCRIPT","XMP","IFRAME","NOEMBED","NOFRAMES","PLAINTEXT","NOSCRIPT"]);function hn(e){switch(e.nodeType){case J:{const{attributes:t}=e,n=Ke.call(e);let l="<"+an.call(n);for(let e,n=0;e=t[n];n++)l+=" "+e.name+'="'+un(e.value)+'"';return l+=">",sn.has(n)?l:l+function(e){let t="";const n=tn(e);for(let e=0,l=n.length;e<l;e+=1)t+=hn(n[e]);return t}(e)+"</"+an.call(n)+">"}case Q:{const{data:n,parentNode:l}=e;return l instanceof Element&&fn.has(Ke.call(l))?n:(t=n,rn.call(t,on,cn))}case Z:return`<!CDATA[[${e.data}]]>`;case ee:return`<?${e.target} ${e.data}?>`;case te:return`\x3c!--${e.data}--\x3e`;default:return""}var t}function pn(e){if(e.nodeType===J){const t=tn(e);let n="";for(let e=0,l=t.length;e<l;e+=1){const l=t[e];l.nodeType!==te&&(n+=pn(l))}return n}return e.nodeValue}const gn=new WeakMap;function mn(){throw new TypeError("Illegal constructor")}function dn(e){const n=t(mn.prototype);return gn.set(n,e),A.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}mn.prototype=t(NodeList.prototype,{constructor:{writable:!0,configurable:!0,value:mn},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return gn.get(this).length}},forEach:{writable:!0,enumerable:!0,configurable:!0,value(e,t){A.call(gn.get(this),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value(){return w.call(gn.get(this),((e,t)=>[t,e]))}},keys:{writable:!0,enumerable:!0,configurable:!0,value(){return w.call(gn.get(this),((e,t)=>t))}},values:{writable:!0,enumerable:!0,configurable:!0,value(){return gn.get(this)}},[Symbol.iterator]:{writable:!0,configurable:!0,value(){let e=0;return{next:()=>{const t=gn.get(this);return e<t.length?{value:t[e++],done:!1}:{done:!0}}}}},[Symbol.toStringTag]:{configurable:!0,get:()=>"NodeList"},toString:{writable:!0,configurable:!0,value:()=>"[object NodeList]"}}),h(mn,NodeList);const bn=(e,t)=>{let n;for(;!I(n=e.host);){const l=n.getRootNode();if(l===t)return n;e=l}};function En(e,t,n,l){const o=ct.call(t,n,l),r=[],i=function(e){var t;const n=[];let l=e.getRootNode();for(;!I(l);)n.push(l),l=null===(t=l.host)||void 0===t?void 0:t.getRootNode();return n}(e);if(!B(o))for(let e=0;e<o.length;e++){const t=o[e];if(Xt(t))continue;const n=t.getRootNode();if(-1!==E.call(i,n)){v.call(r,t);continue}const l=bn(n,i[0]);I(l)||-1!==E.call(o,l)||-1!==E.call(r,l)||v.call(r,l)}return r}const yn=new WeakMap;function wn(){throw new TypeError("Illegal constructor")}function Tn(e){const n=t(wn.prototype);return yn.set(n,e),A.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}function vn(e){return Xt(e)||cl(e)}function Nn(e,t){const n=qt(e);if(t===n)return al(n);if(t instanceof Element){if(Wt(e)===Wt(t))return t;if(!B(n)&&Yt(t)){const e=qt(t);if(!B(e)&&Vt(n,e))return e}}return null}function Ln(){return In(this).length>0}function Mn(){return In(this)[0]||null}function Cn(){const e=In(this);return e[e.length-1]||null}function Sn(){return pn(this)}function On(){const e=ge.call(this);return B(e)?e:Nn(this,e)}function Hn(){const e=ge.call(this);if(B(e))return null;const t=Nn(this,e);return t instanceof Element?t:null}function _n(e){return this===e?0:this.getRootNode()===e?10:Ft(this)!==Ft(e)?35:re.call(this,e)}function An(e){return null!=e&&Ft(this)===Ft(e)&&0!=(re.call(this,e)&X)}function Rn(e){const t=oe.call(this,!1);if(!e)return t;const n=In(this);for(let e=0,l=n.length;e<l;e+=1)t.appendChild(n[e].cloneNode(!0));return t}function $n(){if(cl(this)){const e=qt(this);return dn(B(e)?[]:Zt(e,tn(this)))}return Ee.call(this)}wn.prototype=t(HTMLCollection.prototype,{constructor:{writable:!0,configurable:!0,value:wn},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return yn.get(this).length}},namedItem:{writable:!0,enumerable:!0,configurable:!0,value(e){if(""===e)return null;const t=yn.get(this);for(let n=0,l=t.length;n<l;n++){const n=t[l];if(e===we.call(n,"id")||e===we.call(n,"name"))return n}return null}},[Symbol.toStringTag]:{configurable:!0,get:()=>"HTMLCollection"},toString:{writable:!0,configurable:!0,value:()=>"[object HTMLCollection]"}}),h(wn,HTMLCollection);const Pn=K.prototype.getRootNode,Dn=I(Pn)?function(){let e,t=this;for(;!B(e=ge.call(t));)t=e;return t}:Pn;n(K.prototype,{firstChild:{get(){return vn(this)?Mn.call(this):fe.call(this)},enumerable:!0,configurable:!0},lastChild:{get(){return vn(this)?Cn.call(this):he.call(this)},enumerable:!0,configurable:!0},textContent:{get(){return It.ENABLE_NODE_PATCH?_t(this)?pe.call(this):Sn.call(this):jt(this)||cl(this)?Sn.call(this):pe.call(this)},set:function(e){be.call(this,e)},enumerable:!0,configurable:!0},parentNode:{get(){if(jt(this))return On.call(this);const e=ge.call(this);return!B(e)&&Xt(e)?qt(e):e},enumerable:!0,configurable:!0},parentElement:{get(){if(jt(this))return Hn.call(this);const e=de.call(this);return!B(e)&&Xt(e)?qt(e):e},enumerable:!0,configurable:!0},childNodes:{get(){return vn(this)?$n.call(this):Ee.call(this)},enumerable:!0,configurable:!0},hasChildNodes:{value(){return vn(this)?Ln.call(this):ue.call(this)},enumerable:!0,writable:!0,configurable:!0},compareDocumentPosition:{value(e){return _t(this)?re.call(this,e):_n.call(this,e)},enumerable:!0,writable:!0,configurable:!0},contains:{value(e){return this===e||(It.ENABLE_NODE_PATCH?_t(this)?se.call(this,e):An.call(this,e):null!=e&&(jt(this)||cl(this)?An.call(this,e):se.call(this,e)))},enumerable:!0,writable:!0,configurable:!0},cloneNode:{value(e){return It.ENABLE_NODE_PATCH?k(e)?_t(this)?oe.call(this,e):Rn.call(this,e):oe.call(this,e):jt(this)||cl(this)?Rn.call(this,e):oe.call(this,e)},enumerable:!0,writable:!0,configurable:!0},getRootNode:{value:function(e){return k(!I(e)&&!!e.composed)?Dn.call(this,e):function(e){const t=qt(e);return B(t)?Dn.call(e):al(t)}(this)},enumerable:!0,configurable:!0,writable:!0},isConnected:{enumerable:!0,configurable:!0,get(){return ye.call(this)}}});const In=function(e){return e.childNodes};c.call(HTMLElement.prototype,"contains")&&l(HTMLElement.prototype,"contains",r(K.prototype,"contains")),c.call(HTMLElement.prototype,"parentElement")&&l(HTMLElement.prototype,"parentElement",r(K.prototype,"parentElement"));const Bn=new WeakMap,kn=new WeakMap;function xn(e,t,n){if(t===n)return!0;let l=kn.get(e);return I(l)&&(l=e.composedPath(),kn.set(e,l)),l.includes(n)}function Fn(e){if(!function(e){return F(e)||W(e)&&!B(e)&&F(e.handleEvent)}(e))return e;let t=Bn.get(e);return I(t)&&(t=function(t){const n=lt.call(t);if(xn(t,Gn(t),n))return F(e)?e.call(this,t):e.handleEvent&&e.handleEvent(t)},Bn.set(e,t)),t}const Wn=new WeakMap,Un=new WeakMap;function jn(e){let n=Un.get(e);return I(n)&&(n=t(null),Un.set(e,n)),n}function Gn(e){var t;return null!==(t=gl.get(e))&&void 0!==t?t:nt.call(e)}const Kn=new WeakMap;function qn(e){if(!F(e))throw new TypeError;let t=Kn.get(e);return I(t)&&(t=function(t){let n=lt.call(t);Mt(n)||(n=al(n));xn(t,Gn(t),n)&&e.call(n,t)},t.placement=1,Kn.set(e,t)),t}const Xn=new WeakMap;function Yn(e){if(!F(e))throw new TypeError;let t=Xn.get(e);return I(t)&&(t=function(t){const n=lt.call(t);xn(t,Gn(t),n)&&e.call(n,t)},t.placement=0,Xn.set(e,t)),t}function Vn(e){let t=!1,n=!1;const{type:o,stopImmediatePropagation:r,stopPropagation:i}=e,a=jn(lt.call(e))[o];l(e,"stopImmediatePropagation",{value(){t=!0,r.call(e)},writable:!0,enumerable:!0,configurable:!0}),l(e,"stopPropagation",{value(){n=!0,i.call(e)},writable:!0,enumerable:!0,configurable:!0});const c=C.call(a);function u(n){A.call(c,(l=>{x(t)&&l.placement===n&&-1!==E.call(a,l)&&l.call(void 0,e)}))}Wn.set(e,1),u(1),x(t)&&x(n)&&(Wn.set(e,0),u(0)),Wn.set(e,2)}function zn(e,t,n){const l=jn(e);let o=l[t];I(o)&&(o=l[t]=[]),-1===E.call(o,n)&&(0===o.length&&$t.call(e,t,Vn),v.call(o,n))}function Jn(e,t,n){let l,o;I(o=jn(e)[t])||-1===(l=E.call(o,n))||(H.call(o,l,1),0===o.length&&Dt.call(e,t,Vn))}function Qn(e,t,n){if(F(t)){zn(this,e,Yn(t))}}function Zn(e,t,n){if(F(t)){Jn(this,e,Yn(t))}}const el=new WeakMap,{createDocumentFragment:tl}=document;function nl(e){const t=el.get(e);if(I(t))throw new TypeError;return t}function ll(e){return e.$shadowResolver$}function ol(e,t){e.$shadowResolver$=t}function rl(e){return nl(e).delegatesFocus}function il(e){return nl(e).host}function al(e){return nl(e).shadowRoot}function cl(e){const t=el.get(e);return!I(t)&&e===t.host}function ul(e){const t=el.get(e);return!I(t)&&e===t.shadowRoot}l(K.prototype,j,{set(e){var t,n;I(e)||(this.$$ShadowResolverKey$$=e,t=this,n=e.nodeKey,xt(t,Bt,{value:n,configurable:!0}))},get(){return this.$$ShadowResolverKey$$},configurable:!0,enumerable:!0}),l(U,"$isNativeShadowRootDefined$",{value:Lt});let sl=0;function fl(e,t){if(el.has(e))throw new Error("Failed to execute 'attachShadow' on 'Element': Shadow root cannot be created on a host which already hosts a shadow tree.");const{mode:n,delegatesFocus:l}=t,o=St(e),r=tl.call(o),i={mode:n,delegatesFocus:!!l,host:e,shadowRoot:r};el.set(r,i),el.set(e,i);const a=()=>r,c=a.nodeKey=sl++;return xt(e,kt,{value:c}),ol(r,a),h(r,dl.prototype),r}const hl={constructor:{writable:!0,configurable:!0,value:dl},toString:{writable:!0,configurable:!0,value:()=>"[object ShadowRoot]"},synthetic:{writable:!1,enumerable:!1,configurable:!1,value:!0}},pl={activeElement:{enumerable:!0,configurable:!0,get(){const e=il(this),t=St(e),n=it.call(t);if(B(n))return n;if(0==(re.call(e,n)&X))return null;let l=n;for(;!Vt(e,l);)l=de.call(l);return Yt(l)?null:l}},delegatesFocus:{configurable:!0,get(){return nl(this).delegatesFocus}},elementFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return yl(this,St(il(this)),e,t)}},elementsFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return En(this,St(il(this)),e,t)}},getSelection:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error('Disallowed method "getSelection" on ShadowRoot.')}},host:{enumerable:!0,configurable:!0,get(){return il(this)}},mode:{configurable:!0,get(){return nl(this).mode}},styleSheets:{enumerable:!0,configurable:!0,get(){throw new Error}}},gl=new WeakMap,ml={insertBefore:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return ie.call(il(this),e,t),e}},removeChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return ae.call(il(this),e),e}},appendChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return le.call(il(this),e),e}},replaceChild:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return ce.call(il(this),e,t),t}},addEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,l){F(n)&&zn(il(e),t,qn(n))}(this,e,t)}},dispatchEvent:{writable:!0,enumerable:!0,configurable:!0,value(e){return gl.set(e,this),Pt.apply(il(this),arguments)}},removeEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,l){F(n)&&Jn(il(e),t,qn(n))}(this,e,t)}},baseURI:{enumerable:!0,configurable:!0,get(){return il(this).baseURI}},childNodes:{enumerable:!0,configurable:!0,get(){return dn(zt(this))}},cloneNode:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error('Disallowed method "cloneNode" on ShadowRoot.')}},compareDocumentPosition:{writable:!0,enumerable:!0,configurable:!0,value(e){const t=il(this);return this===e?0:this.contains(e)?20:re.call(t,e)&X?37:35}},contains:{writable:!0,enumerable:!0,configurable:!0,value(e){if(this===e)return!0;const t=il(this);return 0!=(re.call(t,e)&X)&&Vt(t,e)}},firstChild:{enumerable:!0,configurable:!0,get(){return In(this)[0]||null}},lastChild:{enumerable:!0,configurable:!0,get(){const e=In(this);return e[e.length-1]||null}},hasChildNodes:{writable:!0,enumerable:!0,configurable:!0,value(){return In(this).length>0}},isConnected:{enumerable:!0,configurable:!0,get(){return ye.call(il(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 il(this).ownerDocument}},parentElement:{enumerable:!0,configurable:!0,get:()=>null},parentNode:{enumerable:!0,configurable:!0,get:()=>null},textContent:{enumerable:!0,configurable:!0,get(){const e=In(this);let t="";for(let n=0,l=e.length;n<l;n+=1){const l=e[n];l.nodeType!==te&&(t+=pn(l))}return t},set(e){const t=il(this);be.call(t,e)}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value(e){return!I(e)&&k(e.composed)?il(this).getRootNode(e):this}}};function dl(){throw new TypeError("Illegal constructor")}function bl(e,t){const n=[];let l;if(e instanceof Window)l=e;else{if(!(e instanceof K))return n;l=e.getRootNode()}let o,r=e;for(;!B(r);)if(n.push(r),r instanceof Element||r instanceof Text){const e=r.assignedSlot;r=B(e)?r.parentNode:e}else r=!ul(r)&&!Mt(r)||!t&&r===l?r instanceof K?r.parentNode:null:r.host;return o=e instanceof Window?e.document:St(e),n[n.length-1]===o&&n.push(window),n}
|
|
1
|
+
!function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){"use strict";const{assign:e,create:t,defineProperties:n,defineProperty:l,freeze:o,getOwnPropertyDescriptor:r,getOwnPropertyNames:i,getPrototypeOf:a,hasOwnProperty:c,isFrozen:u,keys:s,seal:f,setPrototypeOf:h}=Object,{concat:p,copyWithin:g,fill:m,filter:d,find:b,indexOf:E,join:y,map:w,pop:T,push:v,reduce:N,reverse:L,shift:M,slice:C,some:S,sort:O,splice:H,unshift:_,forEach:A}=Array.prototype,{charCodeAt:R,replace:$,slice:P,toLowerCase:D}=String.prototype;function I(e){return void 0===e}function B(e){return null===e}function x(e){return!0===e}function k(e){return!1===e}function F(e){return"function"==typeof e}function W(e){return"object"==typeof e}const U=function(){if("object"==typeof globalThis)return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),j="$shadowResolver$",G="$shadowToken$",K=Node,q=K.prototype,{DOCUMENT_POSITION_CONTAINED_BY:X,DOCUMENT_POSITION_CONTAINS:Y,DOCUMENT_POSITION_PRECEDING:V,DOCUMENT_POSITION_FOLLOWING:z,ELEMENT_NODE:J,TEXT_NODE:Q,CDATA_SECTION_NODE:Z,PROCESSING_INSTRUCTION_NODE:ee,COMMENT_NODE:te,DOCUMENT_FRAGMENT_NODE:ne}=K,{appendChild:le,cloneNode:oe,compareDocumentPosition:re,insertBefore:ie,removeChild:ae,replaceChild:ce,hasChildNodes:ue}=q,{contains:se}=HTMLElement.prototype,fe=r(q,"firstChild").get,he=r(q,"lastChild").get,pe=r(q,"textContent").get,ge=r(q,"parentNode").get,me=r(q,"ownerDocument").get,de=c.call(q,"parentElement")?r(q,"parentElement").get:r(HTMLElement.prototype,"parentElement").get,be=r(q,"textContent").set,Ee=c.call(q,"childNodes")?r(q,"childNodes").get:r(HTMLElement.prototype,"childNodes").get,ye=c.call(q,"isConnected")?r(q,"isConnected").get:function(){const e=me.call(this);return null===e||0!=(re.call(e,this)&X)},{getAttribute:we,getBoundingClientRect:Te,getElementsByTagName:ve,getElementsByTagNameNS:Ne,hasAttribute:Le,querySelector:Me,querySelectorAll:Ce,removeAttribute:Se,setAttribute:Oe}=Element.prototype,He=c.call(Element.prototype,"attachShadow")?Element.prototype.attachShadow:()=>{throw new TypeError("attachShadow() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill and use Lightning Web Components")},_e=r(Element.prototype,"childElementCount").get,Ae=r(Element.prototype,"firstElementChild").get,Re=r(Element.prototype,"lastElementChild").get,$e=r(HTMLElement.prototype,"innerText"),Pe=$e?$e.get:null,De=$e?$e.set:null,Ie=r(HTMLElement.prototype,"outerText"),Be=Ie?Ie.get:null,xe=Ie?Ie.set:null,ke=c.call(Element.prototype,"innerHTML")?r(Element.prototype,"innerHTML"):r(HTMLElement.prototype,"innerHTML"),Fe=ke.get,We=ke.set,Ue=c.call(Element.prototype,"outerHTML")?r(Element.prototype,"outerHTML"):r(HTMLElement.prototype,"outerHTML"),je=Ue.get,Ge=Ue.set,Ke=r(Element.prototype,"tagName").get,qe=r(HTMLElement.prototype,"tabIndex"),Xe=qe.get,Ye=qe.set,Ve=c.call(Element.prototype,"matches")?Element.prototype.matches:Element.prototype.msMatchesSelector,ze=c.call(Element.prototype,"children")?r(Element.prototype,"children").get:r(HTMLElement.prototype,"children").get,{getElementsByClassName:Je}=HTMLElement.prototype,Qe=c.call(Element.prototype,"shadowRoot")?r(Element.prototype,"shadowRoot").get:()=>null,Ze=c.call(Element.prototype,"assignedSlot")?r(Element.prototype,"assignedSlot").get:()=>null;let et,tt;"undefined"!=typeof HTMLSlotElement?(et=HTMLSlotElement.prototype.assignedNodes,tt=HTMLSlotElement.prototype.assignedElements):(et=()=>{throw new TypeError("assignedNodes() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill to start using <slot> elements in your Lightning Web Component's template")},tt=()=>{throw new TypeError("assignedElements() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill to start using <slot> elements in your Lightning Web Component's template")});const nt=r(Event.prototype,"target").get,lt=r(Event.prototype,"currentTarget").get,ot=r(FocusEvent.prototype,"relatedTarget").get,rt=c.call(Event.prototype,"composedPath")?Event.prototype.composedPath:()=>[],it=r(Document.prototype,"activeElement").get,at=c.call(Document.prototype,"elementFromPoint")?Document.prototype.elementFromPoint:Document.prototype.msElementFromPoint,ct=c.call(Document.prototype,"elementsFromPoint")?Document.prototype.elementsFromPoint:Document.prototype.msElementsFromPoint,ut=r(Document.prototype,"defaultView").get,{createComment:st,querySelectorAll:ft,getElementById:ht,getElementsByClassName:pt,getElementsByTagName:gt,getElementsByTagNameNS:mt}=Document.prototype,{getElementsByName:dt}=HTMLDocument.prototype,{addEventListener:bt,removeEventListener:Et,getComputedStyle:yt,getSelection:wt}=window,Tt=MutationObserver,vt=Tt.prototype.observe;let Nt=null;"undefined"!=typeof ShadowRoot&&(Nt=ShadowRoot);const Lt=!B(Nt),Mt=B(Nt)?()=>!1:e=>e instanceof Nt;const{createElement:Ct}=Document.prototype;function St(e){const t=me.call(e);return null===t?e:t}function Ot(e){const t=St(e),n=ut.call(t);if(null===n)throw new TypeError;return n}let Ht;function _t(e){if(I(Ht)){const t=St(e);Ht=t.body&&"temporary-bypass"===we.call(t.body,"data-global-patching-bypass")}return x(Ht)}function At(e){const t=e.length,n=[];if(t>0)for(let l=0;l<t;l++)n[l]=e[l];return n}"undefined"==typeof HTMLSlotElement&&function(){class e{}h(e,HTMLElement.constructor),h(e.prototype,HTMLElement.prototype),Window.prototype.HTMLSlotElement=e,l(Document.prototype,"createElement",{value:function(t,n){const l=Ct.apply(this,C.call(arguments));return 4===t.length&&115===R.call(t,0)&&108===R.call(t,1)&&111===R.call(t,2)&&116===R.call(t,3)&&h(l,e.prototype),l}})}();const Rt="undefined"!=typeof EventTarget?EventTarget.prototype:K.prototype,{addEventListener:$t,dispatchEvent:Pt,removeEventListener:Dt}=Rt;U.lwcRuntimeFlags||Object.defineProperty(U,"lwcRuntimeFlags",{value:t(null)});const It=U.lwcRuntimeFlags,Bt="$$HostElementKey$$",xt="$$ShadowedNodeKey$$";function kt(e,t,n){const l=e;{const{value:e}=n;l[t]=e}}function Ft(e){return e[Bt]}function Wt(e){let t,n=e;for(;!B(n);){if(t=Ft(n),!I(t))return t;if(n=ge.call(n),It.ENABLE_LIGHT_GET_ROOT_NODE_PATCH&&!B(n)&&Xt(n))return}}function Ut(e){return e[xt]}function jt(e){return!I(Ft(e))}function Gt(e){let t=de.call(e);for(;!B(t)&&Yt(t);)e=t,t=de.call(e);return e}function Kt(e,t){const n=Ut(e);let l=t instanceof Element?t:de.call(t);for(;!B(l)&&l!==e;){const t=Wt(l),o=de.call(l);if(t===n)return Yt(l);if(o===e)return!1;if(B(o)||Wt(o)===t)l=o;else{if(!Yt(o))return!1;if(l=qt(Gt(o)),!B(l)){if(l===e)return!0;if(Wt(l)===n)return!0}}}return!1}function qt(e){if(!(e instanceof K))return null;const t=Wt(e);if(I(t))return null;let n=e;for(;!B(n)&&Ut(n)!==t;)n=ge.call(n);return B(n)?null:n}function Xt(e){return Yt(e)&&jt(e)}function Yt(e){return e instanceof HTMLSlotElement}function Vt(e,t){const n=Wt(t);if(I(n)){if(It.ENABLE_LIGHT_GET_ROOT_NODE_PATCH){const e=ge.call(t);if(!B(e)&&Xt(e))return!1}return!0}return Ut(e)===n}function zt(e){const t=il(e);return Zt(t,At(Ee.call(t)))}function Jt(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];!Vt(e,o)&&Kt(e,o)&&v.call(n,o)}return n}function Qt(e,t){for(let n=0,l=t.length;n<l;n+=1){const l=t[n];if(!Vt(e,l)&&Kt(e,l))return l}return null}function Zt(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];Vt(e,o)&&v.call(n,o)}return n}function en(e,t){for(let n=0,l=t.length;n<l;n+=1)if(Vt(e,t[n]))return t[n];return null}function tn(e){if(!cl(e)&&!Yt(e)){return At(Ee.call(e))}if(cl(e)){const t=At(Ce.call(e,"slot")),n=ll(al(e));return N.call(t,((e,t)=>(n===ll(t)&&v.apply(e,nn(t)),e)),[])}{const t=At(Ee.call(e)),n=ll(e);return d.call(t,(e=>n===ll(e)))}}function nn(e){const t=qt(e);if(B(t))return[];const n=At(Ee.call(e));return d.call(n,(e=>!jt(e)||!Vt(t,e)))}const ln=/[&\u00A0"]/g,on=/[&\u00A0<>]/g,{replace:rn,toLowerCase:an}=String.prototype;function cn(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" ";default:return""}}function un(e){return rn.call(e,ln,cn)}const sn=new Set(["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"]),fn=new Set(["STYLE","SCRIPT","XMP","IFRAME","NOEMBED","NOFRAMES","PLAINTEXT","NOSCRIPT"]);function hn(e){switch(e.nodeType){case J:{const{attributes:t}=e,n=Ke.call(e);let l="<"+an.call(n);for(let e,n=0;e=t[n];n++)l+=" "+e.name+'="'+un(e.value)+'"';return l+=">",sn.has(n)?l:l+function(e){let t="";const n=tn(e);for(let e=0,l=n.length;e<l;e+=1)t+=hn(n[e]);return t}(e)+"</"+an.call(n)+">"}case Q:{const{data:n,parentNode:l}=e;return l instanceof Element&&fn.has(Ke.call(l))?n:(t=n,rn.call(t,on,cn))}case Z:return`<!CDATA[[${e.data}]]>`;case ee:return`<?${e.target} ${e.data}?>`;case te:return`\x3c!--${e.data}--\x3e`;default:return""}var t}function pn(e){if(e.nodeType===J){const t=tn(e);let n="";for(let e=0,l=t.length;e<l;e+=1){const l=t[e];l.nodeType!==te&&(n+=pn(l))}return n}return e.nodeValue}const gn=new WeakMap;function mn(){throw new TypeError("Illegal constructor")}function dn(e){const n=t(mn.prototype);return gn.set(n,e),A.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}mn.prototype=t(NodeList.prototype,{constructor:{writable:!0,configurable:!0,value:mn},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return gn.get(this).length}},forEach:{writable:!0,enumerable:!0,configurable:!0,value(e,t){A.call(gn.get(this),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value(){return w.call(gn.get(this),((e,t)=>[t,e]))}},keys:{writable:!0,enumerable:!0,configurable:!0,value(){return w.call(gn.get(this),((e,t)=>t))}},values:{writable:!0,enumerable:!0,configurable:!0,value(){return gn.get(this)}},[Symbol.iterator]:{writable:!0,configurable:!0,value(){let e=0;return{next:()=>{const t=gn.get(this);return e<t.length?{value:t[e++],done:!1}:{done:!0}}}}},[Symbol.toStringTag]:{configurable:!0,get:()=>"NodeList"},toString:{writable:!0,configurable:!0,value:()=>"[object NodeList]"}}),h(mn,NodeList);const bn=(e,t)=>{let n;for(;!I(n=e.host);){const l=n.getRootNode();if(l===t)return n;e=l}};function En(e,t,n,l){const o=ct.call(t,n,l),r=[],i=function(e){var t;const n=[];let l=e.getRootNode();for(;!I(l);)n.push(l),l=null===(t=l.host)||void 0===t?void 0:t.getRootNode();return n}(e);if(!B(o))for(let e=0;e<o.length;e++){const t=o[e];if(Xt(t))continue;const n=t.getRootNode();if(-1!==E.call(i,n)){v.call(r,t);continue}const l=bn(n,i[0]);I(l)||-1!==E.call(o,l)||-1!==E.call(r,l)||v.call(r,l)}return r}const yn=new WeakMap;function wn(){throw new TypeError("Illegal constructor")}function Tn(e){const n=t(wn.prototype);return yn.set(n,e),A.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}function vn(e){return Xt(e)||cl(e)}function Nn(e,t){const n=qt(e);if(t===n)return al(n);if(t instanceof Element){if(Wt(e)===Wt(t))return t;if(!B(n)&&Yt(t)){const e=qt(t);if(!B(e)&&Vt(n,e))return e}}return null}function Ln(){return In(this).length>0}function Mn(){return In(this)[0]||null}function Cn(){const e=In(this);return e[e.length-1]||null}function Sn(){return pn(this)}function On(){const e=ge.call(this);return B(e)?e:Nn(this,e)}function Hn(){const e=ge.call(this);if(B(e))return null;const t=Nn(this,e);return t instanceof Element?t:null}function _n(e){return this===e?0:this.getRootNode()===e?10:Ft(this)!==Ft(e)?35:re.call(this,e)}function An(e){return null!=e&&Ft(this)===Ft(e)&&0!=(re.call(this,e)&X)}function Rn(e){const t=oe.call(this,!1);if(!e)return t;const n=In(this);for(let e=0,l=n.length;e<l;e+=1)t.appendChild(n[e].cloneNode(!0));return t}function $n(){if(cl(this)){const e=qt(this);return dn(B(e)?[]:Zt(e,tn(this)))}return Ee.call(this)}wn.prototype=t(HTMLCollection.prototype,{constructor:{writable:!0,configurable:!0,value:wn},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return yn.get(this).length}},namedItem:{writable:!0,enumerable:!0,configurable:!0,value(e){if(""===e)return null;const t=yn.get(this);for(let n=0,l=t.length;n<l;n++){const n=t[l];if(e===we.call(n,"id")||e===we.call(n,"name"))return n}return null}},[Symbol.toStringTag]:{configurable:!0,get:()=>"HTMLCollection"},toString:{writable:!0,configurable:!0,value:()=>"[object HTMLCollection]"}}),h(wn,HTMLCollection);const Pn=K.prototype.getRootNode,Dn=I(Pn)?function(){let e,t=this;for(;!B(e=ge.call(t));)t=e;return t}:Pn;n(K.prototype,{firstChild:{get(){return vn(this)?Mn.call(this):fe.call(this)},enumerable:!0,configurable:!0},lastChild:{get(){return vn(this)?Cn.call(this):he.call(this)},enumerable:!0,configurable:!0},textContent:{get(){return It.ENABLE_NODE_PATCH?_t(this)?pe.call(this):Sn.call(this):jt(this)||cl(this)?Sn.call(this):pe.call(this)},set:function(e){be.call(this,e)},enumerable:!0,configurable:!0},parentNode:{get(){if(jt(this))return On.call(this);const e=ge.call(this);return!B(e)&&Xt(e)?qt(e):e},enumerable:!0,configurable:!0},parentElement:{get(){if(jt(this))return Hn.call(this);const e=de.call(this);return!B(e)&&Xt(e)?qt(e):e},enumerable:!0,configurable:!0},childNodes:{get(){return vn(this)?$n.call(this):Ee.call(this)},enumerable:!0,configurable:!0},hasChildNodes:{value(){return vn(this)?Ln.call(this):ue.call(this)},enumerable:!0,writable:!0,configurable:!0},compareDocumentPosition:{value(e){return _t(this)?re.call(this,e):_n.call(this,e)},enumerable:!0,writable:!0,configurable:!0},contains:{value(e){return this===e||(It.ENABLE_NODE_PATCH?_t(this)?se.call(this,e):An.call(this,e):null!=e&&(jt(this)||cl(this)?An.call(this,e):se.call(this,e)))},enumerable:!0,writable:!0,configurable:!0},cloneNode:{value(e){return It.ENABLE_NODE_PATCH?x(e)?_t(this)?oe.call(this,e):Rn.call(this,e):oe.call(this,e):jt(this)||cl(this)?Rn.call(this,e):oe.call(this,e)},enumerable:!0,writable:!0,configurable:!0},getRootNode:{value:function(e){return x(!I(e)&&!!e.composed)?Dn.call(this,e):function(e){const t=qt(e);return B(t)?Dn.call(e):al(t)}(this)},enumerable:!0,configurable:!0,writable:!0},isConnected:{enumerable:!0,configurable:!0,get(){return ye.call(this)}}});const In=function(e){return e.childNodes};c.call(HTMLElement.prototype,"contains")&&l(HTMLElement.prototype,"contains",r(K.prototype,"contains")),c.call(HTMLElement.prototype,"parentElement")&&l(HTMLElement.prototype,"parentElement",r(K.prototype,"parentElement"));const Bn=new WeakMap,xn=new WeakMap;function kn(e,t,n){if(t===n)return!0;let l=xn.get(e);return I(l)&&(l=e.composedPath(),xn.set(e,l)),l.includes(n)}function Fn(e){if(!function(e){return F(e)||W(e)&&!B(e)&&F(e.handleEvent)}(e))return e;let t=Bn.get(e);return I(t)&&(t=function(t){const n=lt.call(t);if(kn(t,Gn(t),n))return F(e)?e.call(this,t):e.handleEvent&&e.handleEvent(t)},Bn.set(e,t)),t}const Wn=new WeakMap,Un=new WeakMap;function jn(e){let n=Un.get(e);return I(n)&&(n=t(null),Un.set(e,n)),n}function Gn(e){var t;return null!==(t=gl.get(e))&&void 0!==t?t:nt.call(e)}const Kn=new WeakMap;function qn(e){if(!F(e))throw new TypeError;let t=Kn.get(e);return I(t)&&(t=function(t){let n=lt.call(t);Mt(n)||(n=al(n));kn(t,Gn(t),n)&&e.call(n,t)},t.placement=1,Kn.set(e,t)),t}const Xn=new WeakMap;function Yn(e){if(!F(e))throw new TypeError;let t=Xn.get(e);return I(t)&&(t=function(t){const n=lt.call(t);kn(t,Gn(t),n)&&e.call(n,t)},t.placement=0,Xn.set(e,t)),t}function Vn(e){let t=!1,n=!1;const{type:o,stopImmediatePropagation:r,stopPropagation:i}=e,a=jn(lt.call(e))[o];l(e,"stopImmediatePropagation",{value(){t=!0,r.call(e)},writable:!0,enumerable:!0,configurable:!0}),l(e,"stopPropagation",{value(){n=!0,i.call(e)},writable:!0,enumerable:!0,configurable:!0});const c=C.call(a);function u(n){A.call(c,(l=>{k(t)&&l.placement===n&&-1!==E.call(a,l)&&l.call(void 0,e)}))}Wn.set(e,1),u(1),k(t)&&k(n)&&(Wn.set(e,0),u(0)),Wn.set(e,2)}function zn(e,t,n){const l=jn(e);let o=l[t];I(o)&&(o=l[t]=[]),-1===E.call(o,n)&&(0===o.length&&$t.call(e,t,Vn),v.call(o,n))}function Jn(e,t,n){let l,o;I(o=jn(e)[t])||-1===(l=E.call(o,n))||(H.call(o,l,1),0===o.length&&Dt.call(e,t,Vn))}function Qn(e,t,n){if(F(t)){zn(this,e,Yn(t))}}function Zn(e,t,n){if(F(t)){Jn(this,e,Yn(t))}}const el=new WeakMap,{createDocumentFragment:tl}=document;function nl(e){const t=el.get(e);if(I(t))throw new TypeError;return t}function ll(e){return e.$shadowResolver$}function ol(e,t){e.$shadowResolver$=t}function rl(e){return nl(e).delegatesFocus}function il(e){return nl(e).host}function al(e){return nl(e).shadowRoot}function cl(e){const t=el.get(e);return!I(t)&&e===t.host}function ul(e){const t=el.get(e);return!I(t)&&e===t.shadowRoot}l(K.prototype,j,{set(e){var t,n;I(e)||(this.$$ShadowResolverKey$$=e,t=this,n=e.nodeKey,kt(t,Bt,{value:n,configurable:!0}))},get(){return this.$$ShadowResolverKey$$},configurable:!0,enumerable:!0}),l(U,"$isNativeShadowRootDefined$",{value:Lt});let sl=0;function fl(e,t){if(el.has(e))throw new Error("Failed to execute 'attachShadow' on 'Element': Shadow root cannot be created on a host which already hosts a shadow tree.");const{mode:n,delegatesFocus:l}=t,o=St(e),r=tl.call(o),i={mode:n,delegatesFocus:!!l,host:e,shadowRoot:r};el.set(r,i),el.set(e,i);const a=()=>r,c=a.nodeKey=sl++;return kt(e,xt,{value:c}),ol(r,a),h(r,dl.prototype),r}const hl={constructor:{writable:!0,configurable:!0,value:dl},toString:{writable:!0,configurable:!0,value:()=>"[object ShadowRoot]"},synthetic:{writable:!1,enumerable:!1,configurable:!1,value:!0}},pl={activeElement:{enumerable:!0,configurable:!0,get(){const e=il(this),t=St(e),n=it.call(t);if(B(n))return n;if(0==(re.call(e,n)&X))return null;let l=n;for(;!Vt(e,l);)l=de.call(l);return Yt(l)?null:l}},delegatesFocus:{configurable:!0,get(){return nl(this).delegatesFocus}},elementFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return yl(this,St(il(this)),e,t)}},elementsFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return En(this,St(il(this)),e,t)}},getSelection:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error('Disallowed method "getSelection" on ShadowRoot.')}},host:{enumerable:!0,configurable:!0,get(){return il(this)}},mode:{configurable:!0,get(){return nl(this).mode}},styleSheets:{enumerable:!0,configurable:!0,get(){throw new Error}}},gl=new WeakMap,ml={insertBefore:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return ie.call(il(this),e,t),e}},removeChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return ae.call(il(this),e),e}},appendChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return le.call(il(this),e),e}},replaceChild:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return ce.call(il(this),e,t),t}},addEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,l){F(n)&&zn(il(e),t,qn(n))}(this,e,t)}},dispatchEvent:{writable:!0,enumerable:!0,configurable:!0,value(e){return gl.set(e,this),Pt.apply(il(this),arguments)}},removeEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,l){F(n)&&Jn(il(e),t,qn(n))}(this,e,t)}},baseURI:{enumerable:!0,configurable:!0,get(){return il(this).baseURI}},childNodes:{enumerable:!0,configurable:!0,get(){return dn(zt(this))}},cloneNode:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error('Disallowed method "cloneNode" on ShadowRoot.')}},compareDocumentPosition:{writable:!0,enumerable:!0,configurable:!0,value(e){const t=il(this);return this===e?0:this.contains(e)?20:re.call(t,e)&X?37:35}},contains:{writable:!0,enumerable:!0,configurable:!0,value(e){if(this===e)return!0;const t=il(this);return 0!=(re.call(t,e)&X)&&Vt(t,e)}},firstChild:{enumerable:!0,configurable:!0,get(){return In(this)[0]||null}},lastChild:{enumerable:!0,configurable:!0,get(){const e=In(this);return e[e.length-1]||null}},hasChildNodes:{writable:!0,enumerable:!0,configurable:!0,value(){return In(this).length>0}},isConnected:{enumerable:!0,configurable:!0,get(){return ye.call(il(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 il(this).ownerDocument}},parentElement:{enumerable:!0,configurable:!0,get:()=>null},parentNode:{enumerable:!0,configurable:!0,get:()=>null},textContent:{enumerable:!0,configurable:!0,get(){const e=In(this);let t="";for(let n=0,l=e.length;n<l;n+=1){const l=e[n];l.nodeType!==te&&(t+=pn(l))}return t},set(e){const t=il(this);be.call(t,e)}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value(e){return!I(e)&&x(e.composed)?il(this).getRootNode(e):this}}};function dl(){throw new TypeError("Illegal constructor")}function bl(e,t){const n=[];let l;if(e instanceof Window)l=e;else{if(!(e instanceof K))return n;l=e.getRootNode()}let o,r=e;for(;!B(r);)if(n.push(r),r instanceof Element||r instanceof Text){const e=r.assignedSlot;r=B(e)?r.parentNode:e}else r=!ul(r)&&!Mt(r)||!t&&r===l?r instanceof K?r.parentNode:null:r.host;return o=e instanceof Window?e.document:St(e),n[n.length-1]===o&&n.push(window),n}
|
|
2
2
|
/**
|
|
3
3
|
@license
|
|
4
4
|
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
|
@@ -7,4 +7,4 @@
|
|
|
7
7
|
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
8
8
|
Code distributed by Google as part of the polymer project is also
|
|
9
9
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
10
|
-
*/function El(e,t){if(B(e))return null;const n=bl(e,!0),l=t;for(let e,t,o,r,i=0;i<l.length;i++)if(e=l[i],o=e instanceof Window?e:e.getRootNode(),o!==t&&(r=n.indexOf(o),t=o),!ul(o)||!I(r)&&r>-1)return e;return null}function yl(e,t,n,l){const o=at.call(t,n,l);return B(o)?o:El(e,bl(o,!0))}e(hl,ml,{childElementCount:{enumerable:!0,configurable:!0,get(){return this.children.length}},children:{enumerable:!0,configurable:!0,get(){return Tn(d.call(zt(this),(e=>e instanceof Element)))}},firstElementChild:{enumerable:!0,configurable:!0,get(){return this.children[0]||null}},lastElementChild:{enumerable:!0,configurable:!0,get(){const{children:e}=this;return e.item(e.length-1)||null}},getElementById:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error('Disallowed method "getElementById" on ShadowRoot.')}},querySelector:{writable:!0,enumerable:!0,configurable:!0,value(e){return function(e,t){const n=il(e);return en(n,At(Ce.call(n,t)))}(this,e)}},querySelectorAll:{writable:!0,enumerable:!0,configurable:!0,value(e){return dn(function(e,t){const n=il(e);return Zt(n,At(Ce.call(n,t)))}(this,e))}}},{innerHTML:{enumerable:!0,configurable:!0,get(){const e=In(this);let t="";for(let n=0,l=e.length;n<l;n+=1)t+=hn(e[n]);return t},set(e){const t=il(this);We.call(t,e)}}},pl),dl.prototype=t(DocumentFragment.prototype,hl),l(dl,Symbol.hasInstance,{value:function(e){return W(e)&&!B(e)&&(Mt(e)||a(e)===dl.prototype)}}),Document.prototype.elementFromPoint=function(e,t){return yl(this,this,e,t)},Document.prototype.elementsFromPoint=function(e,t){return En(this,this,e,t)},l(Document.prototype,"activeElement",{get(){let e=it.call(this);if(B(e))return e;for(;!I(Ft(e));)if(e=de.call(e),B(e))return null;return"HTML"===e.tagName&&(e=this.body),e},enumerable:!0,configurable:!0}),l(Document.prototype,"getElementById",{value(){const e=ht.apply(this,C.call(arguments));return B(e)?null:I(Ft(e))||_t(e)?e:null},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"querySelector",{value(){const e=At(ft.apply(this,C.call(arguments))),t=b.call(e,(e=>I(Ft(e))||_t(e)));return I(t)?null:t},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"querySelectorAll",{value(){const e=At(ft.apply(this,C.call(arguments)));return dn(d.call(e,(e=>I(Ft(e))||_t(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByClassName",{value(){const e=At(pt.apply(this,C.call(arguments)));return Tn(d.call(e,(e=>I(Ft(e))||_t(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByTagName",{value(){const e=At(gt.apply(this,C.call(arguments)));return Tn(d.call(e,(e=>I(Ft(e))||_t(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByTagNameNS",{value(){const e=At(mt.apply(this,C.call(arguments)));return Tn(d.call(e,(e=>I(Ft(e))||_t(e))))},writable:!0,enumerable:!0,configurable:!0}),l(r(HTMLDocument.prototype,"getElementsByName")?HTMLDocument.prototype:Document.prototype,"getElementsByName",{value(){const e=At(dt.apply(this,C.call(arguments)));return dn(d.call(e,(e=>I(Ft(e))||_t(e))))},writable:!0,enumerable:!0,configurable:!0}),Object.defineProperty(window,"ShadowRoot",{value:dl,configurable:!0,writable:!0});const wl=Object.getOwnPropertyDescriptor(Event.prototype,"composed");const Tl=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"click");function vl(e){Object.defineProperty(e,"composed",{configurable:!0,enumerable:!0,get:()=>!0})}(function(){if(!wl)return!1;let e=new Event("click");const t=document.createElement("button");return t.addEventListener("click",(t=>e=t)),t.click(),!wl.get.call(e)})()&&(HTMLElement.prototype.click=function(){$t.call(this,"click",vl);try{Tl.value.call(this)}finally{Dt.call(this,"click",vl)}}),!0!==new Event("test",{composed:!0}).composed&&function(){const n=e(t(null),{beforeinput:1,blur:1,click:1,compositionend:1,compositionstart:1,compositionupdate:1,copy:1,cut:1,dblclick:1,DOMActivate:1,DOMFocusIn:1,DOMFocusOut:1,drag:1,dragend:1,dragenter:1,dragleave:1,dragover:1,dragstart:1,drop:1,focus:1,focusin:1,focusout:1,gotpointercapture:1,input:1,keydown:1,keypress:1,keyup:1,lostpointercapture:1,mousedown:1,mouseenter:1,mouseleave:1,mousemove:1,mouseout:1,mouseover:1,mouseup:1,paste:1,pointercancel:1,pointerdown:1,pointerenter:1,pointerleave:1,pointermove:1,pointerout:1,pointerover:1,pointerup:1,touchcancel:1,touchend:1,touchmove:1,touchstart:1,wheel:1}),l=Event;function o(e,t){const n=new l(e,t),o=!(!t||!t.composed);return Object.defineProperties(n,{composed:{get:()=>o,configurable:!0,enumerable:!0}}),n}o.prototype=l.prototype,o.AT_TARGET=l.AT_TARGET,o.BUBBLING_PHASE=l.BUBBLING_PHASE,o.CAPTURING_PHASE=l.CAPTURING_PHASE,o.NONE=l.NONE,window.Event=o,Object.defineProperties(Event.prototype,{composed:{get(){const{type:e}=this;return 1===n[e]},configurable:!0,enumerable:!0}})}();const Nl=CustomEvent;function Ll(e,t){const n=new Nl(e,t),l=!(!t||!t.composed);return Object.defineProperties(n,{composed:{get:()=>l,configurable:!0,enumerable:!0}}),n}if(Ll.prototype=Nl.prototype,window.CustomEvent=Ll,"undefined"!=typeof ClipboardEvent){const l=e(t(null),{copy:1,cut:1,paste:1});n(ClipboardEvent.prototype,{composed:{get(){const{type:e}=this;return 1===l[e]},configurable:!0,enumerable:!0}})}"undefined"!=typeof HTMLIFrameElement&&function(){const e=r(HTMLIFrameElement.prototype,"contentWindow"),{get:t}=e;e.get=function(){const e=t.call(this);return B(e)||I(Ft(this))?e:(n=e,{addEventListener(){return n.addEventListener.apply(n,arguments)},blur(){return n.blur.apply(n,arguments)},close(){return n.close.apply(n,arguments)},focus(){return n.focus.apply(n,arguments)},postMessage(){return n.postMessage.apply(n,arguments)},removeEventListener(){return n.removeEventListener.apply(n,arguments)},get closed(){return n.closed},get frames(){return n.frames},get length(){return n.length},get location(){return n.location},set location(e){n.location=e},get opener(){return n.opener},get parent(){return n.parent},get self(){return n.self},get top(){return n.top},get window(){return n.window}});var n},l(HTMLIFrameElement.prototype,"contentWindow",e)}();const Ml=MutationObserver,{disconnect:Cl,observe:Sl,takeRecords:Ol}=Ml.prototype,Hl="$$lwcObserverCallbackWrapper$$",_l=new WeakMap;function Al(e){return e.$$lwcNodeObservers$$}function Rl(e){const{addedNodes:l,removedNodes:o,target:r,type:i}=e,a=t(MutationRecord.prototype);return n(a,{addedNodes:{get:()=>l,enumerable:!0,configurable:!0},removedNodes:{get:()=>o,enumerable:!0,configurable:!0},type:{get:()=>i,enumerable:!0,configurable:!0},target:{get:()=>r.shadowRoot,enumerable:!0,configurable:!0}}),a}function $l(e,t){let n=t;for(;!B(n);){const t=Al(n);if(!I(t)&&(t[0]===e||-1!==E.call(t,e)))return!0;n=n.parentNode}return!1}function Pl(e,t){return N.call(e,((e,n)=>{const{target:l,addedNodes:o,removedNodes:r,type:i}=n;if("childList"!==i||I(Ut(l)))$l(t,l)&&v.call(e,n);else if(o.length>0){const r=o[0];if($l(t,r)){const o=Al(l);!o||o[0]!==t&&-1===E.call(o,t)?v.call(e,Rl(n)):v.call(e,n)}}else{const o=l.shadowRoot,i=r[0];if(Wt(l)===Wt(i)&&$l(t,l))v.call(e,n);else if(o){const l=Al(o);!l||l[0]!==t&&-1===E.call(l,t)||v.call(e,Rl(n))}}return e}),[])}function Dl(e){const t=function(e){let t=e[Hl];return I(t)&&(t=e[Hl]=(t,n)=>{const l=Pl(t,n);0!==l.length&&e.call(n,l,n)}),t}(e);return new Ml(t)}function Il(e,t,n){if(arguments.length>1){const e=C.call(arguments);return e[1]=Fn(e[1]),bt.apply(this,e)}return bt.apply(this,arguments)}function Bl(e,t,n){if(arguments.length>1){const e=C.call(arguments);e[1]=Fn(e[1]),Et.apply(this,e)}Et.apply(this,arguments)}function kl(){const e=nt.call(this);if(!(e instanceof K))return e;const t=St(e),n=bl(e,this.composed),l=lt.call(this);if(!(l instanceof K))return B(l)&&I(Ft(e))?e:El(t,n);if(l===t||l===t.body)return I(Ft(e))?e:El(t,n);let o=l,r=n;if(cl(l)){1===Wn.get(this)&&(o=al(l))}return cl(e)&&gl.has(this)&&(r=bl(al(e),this.composed)),El(o,r)}function xl(){const e=nt.call(this);if(!(e instanceof K))return[];const t=Boolean(e.shadowRoot),n=(l=e,el.has(l));var l;if(t&&!n)return rt.call(this);if(B(lt.call(this)))return[];let o=e;return cl(e)&&gl.has(this)&&(o=al(e)),bl(o,this.composed)}function Fl(e){const t=r(e.prototype,"relatedTarget").get;l(e.prototype,"relatedTarget",{get(){const e=t.call(this);if(B(e))return null;if(!(e instanceof K&&jt(e)))return e;let n=lt.call(this);return B(n)&&(n=St(e)),El(n,bl(e,!0))},enumerable:!0,configurable:!0})}Dl.prototype=Ml.prototype,Dl.prototype.disconnect=function(){Cl.call(this);const e=_l.get(this);I(e)||(A.call(e,(e=>{const t=e.$$lwcNodeObservers$$;if(!I(t)){const e=E.call(t,this);-1!==e&&H.call(t,e,1)}})),e.length=0)},Dl.prototype.observe=function(e,t){let n=Al(e);var l;if(I(n)&&(n=[],l=n,e.$$lwcNodeObservers$$=l),-1===E.call(n,this)&&v.call(n,this),ul(e)&&(e=e.host),_l.has(this)){const t=_l.get(this);-1===E.call(t,e)&&v.call(t,e)}else _l.set(this,[e]);return Sl.call(this,e,t)},Dl.prototype.takeRecords=function(){return Pl(Ol.call(this),this)},l(window,"MutationObserver",{value:Dl,configurable:!0,writable:!0}),n(Rt,{addEventListener:{value:function(e,t,n){if(cl(this))return Qn.apply(this,arguments);if(arguments.length<2){const e=C.call(arguments);return e.length>1&&(e[1]=Fn(e[1])),$t.apply(this,e)}const l=Fn(t);return $t.call(this,e,l,n)},enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:function(e,t,n){if(cl(this))return Zn.apply(this,arguments);const l=C.call(arguments);arguments.length>1&&(l[1]=Fn(l[1])),Dt.apply(this,l),Dt.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),"undefined"==typeof EventTarget&&n(Window.prototype,{addEventListener:{value:Il,enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:Bl,enumerable:!0,writable:!0,configurable:!0}}),n(Event.prototype,{target:{get:kl,enumerable:!0,configurable:!0},currentTarget:{get:function(){const e=lt.call(this);return B(e)?null:1===Wn.get(this)?al(e):e},enumerable:!0,configurable:!0},composedPath:{value:xl,writable:!0,enumerable:!0,configurable:!0},srcElement:{get:kl,enumerable:!0,configurable:!0},path:{get:xl,enumerable:!0,configurable:!0}}),Fl(FocusEvent),Fl(MouseEvent);const Wl=c.call(Text.prototype,"assignedSlot")?r(Text.prototype,"assignedSlot").get:()=>null;let Ul;const jl={childList:!0},Gl=new WeakMap;function Kl(e){const t=At(Ee.call(e));return N.call(t,((e,t)=>(t instanceof Element&&Yt(t)?v.apply(e,Kl(t)):v.call(e,t),e)),[])}function ql(){const e=ge.call(this);if(e instanceof Element){const t=Qe.call(e);if(Mt(t))return this instanceof Text?Wl.call(this):Ze.call(this)}return!B(e)&&Yt(e)&&Ft(e)!==Ft(this)?e:null}function Xl(e,t){let n;const l=Ft(e);if(I(l))n=e instanceof HTMLBodyElement?d.call(t,(t=>I(Ft(t))||_t(e))):C.call(t);else if(cl(e)){const l=qt(e);n=B(l)?[]:Ut(e)?Jt(e,t):Zt(l,t)}else n=d.call(t,(e=>Wt(e)===l));return n}function Yl(){const e=In(this);let t="";for(let n=0,l=e.length;n<l;n+=1)t+=hn(e[n]);return t}function Vl(){return hn(this)}function zl(){const e=qt(this),t=B(e)?[]:Zt(e,tn(this));return Tn(d.call(t,(e=>e instanceof Element)))}function Jl(){return this.children.length}function Ql(){return this.children[0]||null}function Zl(){const{children:e}=this;return e.item(e.length-1)||null}function eo(e,t,n){let l;if(cl(e)){const n=qt(e);l=I(Ut(e))?B(n)?[]:Zt(n,t):Jt(e,t)}else if(jt(e)){const o=Ft(e);if(I(o))if(1===n){const n=Wt(e);l=d.call(t,(e=>Wt(e)===n))}else l=C.call(t);else l=d.call(t,(e=>Wt(e)===o))}else l=e instanceof HTMLBodyElement||1===n?d.call(t,(t=>I(Ft(t))||_t(e))):C.call(t);return l}function to(e){const t=Ot(e);return yt.call(t,e)}function no(e){const t=Ot(e);return wt.call(t)}function lo(e){return"visible"===e.visibility&&"none"!==e.display}n(HTMLSlotElement.prototype,{addEventListener:{value(e,t,n){HTMLElement.prototype.addEventListener.call(this,e,t,n),"slotchange"!==e||Gl.get(this)||(Gl.set(this,!0),Ul||(Ul=new Tt((e=>{const t=[];A.call(e,(e=>{const{target:n}=e;-1===E.call(t,n)&&(v.call(t,n),Pt.call(n,new CustomEvent("slotchange")))}))}))),vt.call(Ul,this,jl))},writable:!0,enumerable:!0,configurable:!0},assignedElements:{value(e){if(jt(this)){const t=!I(e)&&k(e.flatten)?Kl(this):nn(this);return d.call(t,(e=>e instanceof Element))}return tt.apply(this,C.call(arguments))},writable:!0,enumerable:!0,configurable:!0},assignedNodes:{value(e){if(jt(this)){return!I(e)&&k(e.flatten)?Kl(this):nn(this)}return et.apply(this,C.call(arguments))},writable:!0,enumerable:!0,configurable:!0},name:{get(){const e=we.call(this,"name");return B(e)?"":e},set(e){Oe.call(this,"name",e)},enumerable:!0,configurable:!0},childNodes:{get(){if(jt(this)){const e=qt(this);return dn(B(e)?[]:Zt(e,tn(this)))}return Ee.call(this)},enumerable:!0,configurable:!0}}),n(Text.prototype,{assignedSlot:{get:ql,enumerable:!0,configurable:!0}}),n(Element.prototype,{innerHTML:{get(){return It.ENABLE_ELEMENT_PATCH?_t(this)?Fe.call(this):Yl.call(this):jt(this)||cl(this)?Yl.call(this):Fe.call(this)},set(e){We.call(this,e)},enumerable:!0,configurable:!0},outerHTML:{get(){return It.ENABLE_ELEMENT_PATCH?_t(this)?je.call(this):Vl.call(this):jt(this)||cl(this)?Vl.call(this):je.call(this)},set(e){Ge.call(this,e)},enumerable:!0,configurable:!0},attachShadow:{value:function(e){return e["$$lwc-synthetic-mode"]?fl(this,e):He.call(this,e)},enumerable:!0,writable:!0,configurable:!0},shadowRoot:{get:function(){if(cl(this)){const e=al(this);if("open"===e.mode)return e}return Qe.call(this)},enumerable:!0,configurable:!0},children:{get(){return vn(this)?zl.call(this):ze.call(this)},enumerable:!0,configurable:!0},childElementCount:{get(){return vn(this)?Jl.call(this):_e.call(this)},enumerable:!0,configurable:!0},firstElementChild:{get(){return vn(this)?Ql.call(this):Ae.call(this)},enumerable:!0,configurable:!0},lastElementChild:{get(){return vn(this)?Zl.call(this):Re.call(this)},enumerable:!0,configurable:!0},assignedSlot:{get:ql,enumerable:!0,configurable:!0}}),c.call(HTMLElement.prototype,"innerHTML")&&l(HTMLElement.prototype,"innerHTML",r(Element.prototype,"innerHTML")),c.call(HTMLElement.prototype,"outerHTML")&&l(HTMLElement.prototype,"outerHTML",r(Element.prototype,"outerHTML")),c.call(HTMLElement.prototype,"children")&&l(HTMLElement.prototype,"children",r(Element.prototype,"children")),n(Element.prototype,{querySelector:{value:function(){const e=At(Ce.apply(this,C.call(arguments)));if(cl(this)){const t=qt(this);return I(Ut(this))?B(t)?null:en(t,e):Qt(this,e)}if(jt(this)){const t=Ft(this);if(I(t)){if(!It.ENABLE_NODE_LIST_PATCH)return 0===e.length?null:e[0];const t=Wt(this),n=b.call(e,(e=>Wt(e)===t));return I(n)?null:n}{const n=b.call(e,(e=>Wt(e)===t));return I(n)?null:n}}{if(!(It.ENABLE_NODE_LIST_PATCH||this instanceof HTMLBodyElement)){const t=e[0];return I(t)?null:t}const t=b.call(e,(e=>I(Ft(e))||_t(this)));return I(t)?null:t}},writable:!0,enumerable:!0,configurable:!0},querySelectorAll:{value(){const e=At(Ce.apply(this,C.call(arguments)));if(!It.ENABLE_NODE_LIST_PATCH){return dn(eo(this,e,0))}return dn(eo(this,e,1))},writable:!0,enumerable:!0,configurable:!0}}),n(Element.prototype,{getElementsByClassName:{value(){const e=At(Je.apply(this,C.call(arguments)));if(!It.ENABLE_HTML_COLLECTIONS_PATCH)return Tn(Xl(this,e));return Tn(eo(this,e,1))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagName:{value(){const e=At(ve.apply(this,C.call(arguments)));if(!It.ENABLE_HTML_COLLECTIONS_PATCH)return Tn(Xl(this,e));return Tn(eo(this,e,1))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagNameNS:{value(){const e=At(Ne.apply(this,C.call(arguments)));if(!It.ENABLE_HTML_COLLECTIONS_PATCH)return Tn(Xl(this,e));return Tn(eo(this,e,1))},writable:!0,enumerable:!0,configurable:!0}}),c.call(HTMLElement.prototype,"getElementsByClassName")&&l(HTMLElement.prototype,"getElementsByClassName",r(Element.prototype,"getElementsByClassName"));function oo(e){const t=[];if((e=>e.nodeType===J)(e)){const{tagName:n}=e,l=to(e);if("OPTION"===n)return[1,Pe.call(e),1];if("TEXTAREA"===n)return[];{const n=e.childNodes;for(let e=0,l=n.length;e<l;e++)v.apply(t,oo(n[e]))}if(!lo(l))return"SELECT"===n||"DATALIST"===n?[]:t;"BR"===n&&t.push("\n");const{display:o}=l;"table-cell"===o&&t.push("\t"),"table-row"===o&&t.push("\n"),"P"===n&&(t.unshift(2),t.push(2)),"block"!==o&&"table-caption"!==o&&"flex"!==o&&"table"!==o||(t.unshift(1),t.push(1))}else(e=>e.nodeType===Q)(e)&&t.push(function(e){const t=no(e);if(null===t)return e.textContent||"";const n=document.createRange();n.selectNodeContents(e);const l=n.getBoundingClientRect();if(l.height<=0||l.width<=0)return"";t.removeAllRanges(),t.addRange(n);return t.toString()||e.textContent||""}(e));return t}function ro(e){if(!lo(to(e)))return pn(e)||"";const t=function(e){const t=Ot(e),n=no(e);if(null===n)return null;const l=[];for(let e=0;e<n.rangeCount;e++)l.push(n.getRangeAt(e));const o={element:e,onselect:t.onselect,onselectstart:t.onselectstart,onselectionchange:t.onselectionchange,ranges:l};return t.onselect=null,t.onselectstart=null,t.onselectionchange=null,o}(e),n=[],l=e.childNodes;for(let e=0,t=l.length;e<t;e++)v.apply(n,oo(l[e]));!function(e){if(null===e)return;const{element:t,onselect:n,onselectstart:l,onselectionchange:o,ranges:r}=e,i=Ot(t),a=no(t);a.removeAllRanges();for(let e=0;e<r.length;e++)a.addRange(r[e]);i.onselect=n,i.onselectstart=l,i.onselectionchange=o}(t);let o="",r=0;for(let e=0,t=n.length;e<t;e++){const t=n[e];if("string"==typeof t){if(r>0){for(let e=0;e<r;e++)o+="\n";r=0}t.length>0&&(o+=t)}else{if(0==o.length)continue;t>r&&(r=t)}}return o}const io="\n [contenteditable],\n [tabindex],\n a[href],\n area[href],\n audio[controls],\n button,\n iframe,\n input,\n select,\n textarea,\n video[controls]\n",ao=new Set(["BUTTON","INPUT","SELECT","TEXTAREA"]);function co(e){return e.filter((e=>Le.call(e,"tabindex")?"0"===we.call(e,"tabindex"):!ao.has(Ke.call(e))||!Le.call(e,"disabled")))}const uo=new WeakMap;function so(e){return(!cl(e)||!rl(e))&&(Ve.call(e,io)&&function(e){const{width:t,height:n}=Te.call(e),l=t>0||n>0,o="AREA"===e.tagName;return(l||o)&&"hidden"!==getComputedStyle(e).visibility}(e))}function fo(){const e=this.getRootNode();if(e===this){const e=Me.call(this,io);return void(B(e)||e.focus.apply(e,arguments))}const t=e;if(t.activeElement===this)return;const n=At(Ce.call(this,io));let l=!1;for(;!l&&0!==n.length;){const e=n.shift();e.focus.apply(e,arguments);l=e.getRootNode().activeElement===e}}function ho(e){const t=St(e),n=co(At(ft.call(t,io))),l=co(At(Ce.call(e,io))),o=l[0],r=l[l.length-1],i=E.call(n,e),a=i>-1?i:E.call(n,o),c=0===l.length?a+1:E.call(n,r)+1;return{prev:C.call(n,0,a),inner:l,next:C.call(n,c)}}function po(e,t){const n=re.call(e,t);return n&X?0:n&V?1:n&z?2:-1}function go(e){e.preventDefault(),e.stopPropagation()}function mo(e,t){bt.call(e,"focusin",go,!0),bt.call(e,"focusout",go,!0),t(),Et.call(e,"focusin",go,!0),Et.call(e,"focusout",go,!0)}function bo(e,t,n){const l=Ot(n),o=function(e,t){const n=e.length;if(n>0)for(let l=0;l<n;l+=1){const n=e[l];if(Lo(t.getRootNode(),n))return n}return null}(e,n);B(o)?mo(l,(()=>{t.blur()})):mo(l,(()=>{o.focus()}))}let Eo=!1;function yo(){Eo=!0}function wo(){Eo=!1}function To(){return!Eo}function vo(e){if(Eo)return;const t=lt.call(e),n=nt.call(e);if(t!==n)return;const l=ot.call(e);if(B(l))return;const o=ho(t);if(1===po(t,l)){const e=Lo.bind(null,t.getRootNode()),r=b.call(o.inner,e);if(I(r))bo(o.next,n,l);else{mo(Ot(r),(()=>{r.focus()}))}}else t===n&&bo(L.call(o.prev),n,l)}function No(e){if(Eo)return;const t=ot.call(e);if(B(t))return;const n=lt.call(e),l=ho(n);if(-1!==E.call(l.inner,t))return;const o=nt.call(e),r=po(n,t);1===r&&bo(l.next,o,t),2===r&&bo(L.call(l.prev),o,t)}function Lo(e,t){if(!so(t))return!1;const n=St(t);let l=t.getRootNode();for(;l!==n&&l!==e;){const e=l.host;if("-1"===we.call(e,"tabindex"))return!1;l=e&&e.getRootNode()}return!0}function Mo(e){Dt.call(e,"focusin",vo,!0)}function Co(e){const t=St(e);uo.get(t)||(uo.set(t,!0),$t.call(t,"mousedown",yo,!0),$t.call(t,"mouseup",(()=>{setTimeout(wo)}),!0),$t.call(t,"dragstart",wo,!0))}function So(e){Dt.call(e,"focusin",No,!0)}const{blur:Oo,focus:Ho}=HTMLElement.prototype;function _o(){return rl(this)&&x(Le.call(this,"tabindex"))?0:Xe.call(this)}function Ao(e){const t=rl(this),n=Xe.call(this),l=Le.call(this,"tabindex");Ye.call(this,e);const o=Xe.call(this),r=Le.call(this,"tabindex"),i=n!==o;var a;(l&&(i||x(r))&&(-1===n&&So(this),0===n&&t&&Mo(this)),x(r))||(l&&r&&x(i)||(-1===o&&(Co(a=this),Mo(a),$t.call(a,"focusin",No,!0)),0===o&&t&&function(e){Co(e),So(e),$t.call(e,"focusin",vo,!0)}(this)))}function Ro(){if(rl(this)){const e=function(e){const t=St(e),n=it.call(t);return B(n)||0!=(re.call(e,n)&X)?n:null}(this);if(!B(e))return void e.blur()}return Oo.call(this)}function $o(){const e=To();e&&yo(),cl(this)&&rl(this)?fo.call(this):(Ho.apply(this,arguments),e&&wo())}function Po(e,t){e.$shadowResolver$=t;const n=Ee.call(e);for(let e=0,l=n.length;e<l;e++)Po(n[e],t)}n(HTMLElement.prototype,{tabIndex:{get(){return cl(this)?_o.call(this):Xe.call(this)},set(e){return cl(this)?Ao.call(this,e):Ye.call(this,e)},enumerable:!0,configurable:!0},blur:{value(){if(cl(this))return Ro.call(this);Oo.call(this)},enumerable:!0,writable:!0,configurable:!0},focus:{value(){$o.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),null!==Pe&&null!==De&&l(HTMLElement.prototype,"innerText",{get(){return It.ENABLE_INNER_OUTER_TEXT_PATCH?It.ENABLE_ELEMENT_PATCH?_t(this)?Pe.call(this):ro(this):jt(this)||cl(this)?ro(this):Pe.call(this):Pe.call(this)},set(e){De.call(this,e)},enumerable:!0,configurable:!0}),null!==Be&&null!==ke&&l(HTMLElement.prototype,"outerText",{get(){return It.ENABLE_INNER_OUTER_TEXT_PATCH?It.ENABLE_ELEMENT_PATCH?_t(this)?Be.call(this):ro(this):jt(this)||cl(this)?ro(this):Be.call(this):Be.call(this)},set(e){ke.call(this,e)},enumerable:!0,configurable:!0}),l(Element.prototype,G,{set(e){const t=this.$$ShadowTokenKey$$;I(t)||t===e||Se.call(this,t),I(e)||Oe.call(this,e,""),this.$$ShadowTokenKey$$=e},get(){return this.$$ShadowTokenKey$$},configurable:!0}),l(Element.prototype,"$shadowStaticNode$",{set(e){if(e){Po(this,this.$shadowResolver$)}this.$shadowStaticNodeKey$=e},get(){return this.$shadowStaticNodeKey$},configurable:!0});const Do=function(){};let Io;const Bo={childList:!0};function ko(e,t,n){const l=ll(e);if(l!==t&&(ol(e,t),e instanceof Element)){if(function(e,t){e.$shadowToken$=t}(e,n),cl(e))return;I(l)&&vt.call(Io,e,Bo);const o=Ee.call(e);for(let e=0,l=o.length;e<l;e+=1)ko(o[e],t,n)}}function xo(e){if(I(Io)&&(Io=new Tt((e=>{A.call(e,(e=>{const{target:t,addedNodes:n,removedNodes:l}=e,o=ll(t),r=t.$shadowToken$;for(let e=0,n=l.length;e<n;e+=1){const n=l[e];re.call(t,n)&K.DOCUMENT_POSITION_CONTAINED_BY||ko(n,Do,void 0)}for(let e=0,l=n.length;e<l;e+=1){const l=n[e];re.call(t,l)&K.DOCUMENT_POSITION_CONTAINED_BY&&ko(l,o,r)}}))}))),I(ll(e)))throw new Error("Invalid Element");vt.call(Io,e,Bo)}l(Element.prototype,"$domManual$",{set(e){this.$$DomManualKey$$=e,k(e)&&xo(this)},get(){return this.$$DomManualKey$$},configurable:!0})}));
|
|
10
|
+
*/function El(e,t){if(B(e))return null;const n=bl(e,!0),l=t;for(let e,t,o,r,i=0;i<l.length;i++)if(e=l[i],o=e instanceof Window?e:e.getRootNode(),o!==t&&(r=n.indexOf(o),t=o),!ul(o)||!I(r)&&r>-1)return e;return null}function yl(e,t,n,l){const o=at.call(t,n,l);return B(o)?o:El(e,bl(o,!0))}e(hl,ml,{childElementCount:{enumerable:!0,configurable:!0,get(){return this.children.length}},children:{enumerable:!0,configurable:!0,get(){return Tn(d.call(zt(this),(e=>e instanceof Element)))}},firstElementChild:{enumerable:!0,configurable:!0,get(){return this.children[0]||null}},lastElementChild:{enumerable:!0,configurable:!0,get(){const{children:e}=this;return e.item(e.length-1)||null}},getElementById:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error('Disallowed method "getElementById" on ShadowRoot.')}},querySelector:{writable:!0,enumerable:!0,configurable:!0,value(e){return function(e,t){const n=il(e);return en(n,At(Ce.call(n,t)))}(this,e)}},querySelectorAll:{writable:!0,enumerable:!0,configurable:!0,value(e){return dn(function(e,t){const n=il(e);return Zt(n,At(Ce.call(n,t)))}(this,e))}}},{innerHTML:{enumerable:!0,configurable:!0,get(){const e=In(this);let t="";for(let n=0,l=e.length;n<l;n+=1)t+=hn(e[n]);return t},set(e){const t=il(this);We.call(t,e)}}},pl),dl.prototype=t(DocumentFragment.prototype,hl),l(dl,Symbol.hasInstance,{value:function(e){return W(e)&&!B(e)&&(Mt(e)||a(e)===dl.prototype)}}),Document.prototype.elementFromPoint=function(e,t){return yl(this,this,e,t)},Document.prototype.elementsFromPoint=function(e,t){return En(this,this,e,t)},l(Document.prototype,"activeElement",{get(){let e=it.call(this);if(B(e))return e;for(;!I(Ft(e));)if(e=de.call(e),B(e))return null;return"HTML"===e.tagName&&(e=this.body),e},enumerable:!0,configurable:!0}),l(Document.prototype,"getElementById",{value(){const e=ht.apply(this,C.call(arguments));return B(e)?null:I(Ft(e))||_t(e)?e:null},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"querySelector",{value(){const e=At(ft.apply(this,C.call(arguments))),t=b.call(e,(e=>I(Ft(e))||_t(e)));return I(t)?null:t},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"querySelectorAll",{value(){const e=At(ft.apply(this,C.call(arguments)));return dn(d.call(e,(e=>I(Ft(e))||_t(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByClassName",{value(){const e=At(pt.apply(this,C.call(arguments)));return Tn(d.call(e,(e=>I(Ft(e))||_t(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByTagName",{value(){const e=At(gt.apply(this,C.call(arguments)));return Tn(d.call(e,(e=>I(Ft(e))||_t(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByTagNameNS",{value(){const e=At(mt.apply(this,C.call(arguments)));return Tn(d.call(e,(e=>I(Ft(e))||_t(e))))},writable:!0,enumerable:!0,configurable:!0}),l(r(HTMLDocument.prototype,"getElementsByName")?HTMLDocument.prototype:Document.prototype,"getElementsByName",{value(){const e=At(dt.apply(this,C.call(arguments)));return dn(d.call(e,(e=>I(Ft(e))||_t(e))))},writable:!0,enumerable:!0,configurable:!0}),Object.defineProperty(window,"ShadowRoot",{value:dl,configurable:!0,writable:!0});const wl=Object.getOwnPropertyDescriptor(Event.prototype,"composed");const Tl=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"click");function vl(e){Object.defineProperty(e,"composed",{configurable:!0,enumerable:!0,get:()=>!0})}(function(){if(!wl)return!1;let e=new Event("click");const t=document.createElement("button");return t.addEventListener("click",(t=>e=t)),t.click(),!wl.get.call(e)})()&&(HTMLElement.prototype.click=function(){$t.call(this,"click",vl);try{Tl.value.call(this)}finally{Dt.call(this,"click",vl)}}),!0!==new Event("test",{composed:!0}).composed&&function(){const n=e(t(null),{beforeinput:1,blur:1,click:1,compositionend:1,compositionstart:1,compositionupdate:1,copy:1,cut:1,dblclick:1,DOMActivate:1,DOMFocusIn:1,DOMFocusOut:1,drag:1,dragend:1,dragenter:1,dragleave:1,dragover:1,dragstart:1,drop:1,focus:1,focusin:1,focusout:1,gotpointercapture:1,input:1,keydown:1,keypress:1,keyup:1,lostpointercapture:1,mousedown:1,mouseenter:1,mouseleave:1,mousemove:1,mouseout:1,mouseover:1,mouseup:1,paste:1,pointercancel:1,pointerdown:1,pointerenter:1,pointerleave:1,pointermove:1,pointerout:1,pointerover:1,pointerup:1,touchcancel:1,touchend:1,touchmove:1,touchstart:1,wheel:1}),l=Event;function o(e,t){const n=new l(e,t),o=!(!t||!t.composed);return Object.defineProperties(n,{composed:{get:()=>o,configurable:!0,enumerable:!0}}),n}o.prototype=l.prototype,o.AT_TARGET=l.AT_TARGET,o.BUBBLING_PHASE=l.BUBBLING_PHASE,o.CAPTURING_PHASE=l.CAPTURING_PHASE,o.NONE=l.NONE,window.Event=o,Object.defineProperties(Event.prototype,{composed:{get(){const{type:e}=this;return 1===n[e]},configurable:!0,enumerable:!0}})}();const Nl=CustomEvent;function Ll(e,t){const n=new Nl(e,t),l=!(!t||!t.composed);return Object.defineProperties(n,{composed:{get:()=>l,configurable:!0,enumerable:!0}}),n}if(Ll.prototype=Nl.prototype,window.CustomEvent=Ll,"undefined"!=typeof ClipboardEvent){const l=e(t(null),{copy:1,cut:1,paste:1});n(ClipboardEvent.prototype,{composed:{get(){const{type:e}=this;return 1===l[e]},configurable:!0,enumerable:!0}})}(function(){const e="undefined"!=typeof HTMLIFrameElement,t="undefined"!=typeof Proxy&&x(Proxy.isCompat);return e&&t})()&&function(){const e=r(HTMLIFrameElement.prototype,"contentWindow"),{get:t}=e;e.get=function(){const e=t.call(this);return B(e)||I(Ft(this))?e:(n=e,{addEventListener(){return n.addEventListener.apply(n,arguments)},blur(){return n.blur.apply(n,arguments)},close(){return n.close.apply(n,arguments)},focus(){return n.focus.apply(n,arguments)},postMessage(){return n.postMessage.apply(n,arguments)},removeEventListener(){return n.removeEventListener.apply(n,arguments)},get closed(){return n.closed},get frames(){return n.frames},get length(){return n.length},get location(){return n.location},set location(e){n.location=e},get opener(){return n.opener},get parent(){return n.parent},get self(){return n.self},get top(){return n.top},get window(){return n.window}});var n},l(HTMLIFrameElement.prototype,"contentWindow",e)}();const Ml=MutationObserver,{disconnect:Cl,observe:Sl,takeRecords:Ol}=Ml.prototype,Hl="$$lwcObserverCallbackWrapper$$",_l=new WeakMap;function Al(e){return e.$$lwcNodeObservers$$}function Rl(e){const{addedNodes:l,removedNodes:o,target:r,type:i}=e,a=t(MutationRecord.prototype);return n(a,{addedNodes:{get:()=>l,enumerable:!0,configurable:!0},removedNodes:{get:()=>o,enumerable:!0,configurable:!0},type:{get:()=>i,enumerable:!0,configurable:!0},target:{get:()=>r.shadowRoot,enumerable:!0,configurable:!0}}),a}function $l(e,t){let n=t;for(;!B(n);){const t=Al(n);if(!I(t)&&(t[0]===e||-1!==E.call(t,e)))return!0;n=n.parentNode}return!1}function Pl(e,t){return N.call(e,((e,n)=>{const{target:l,addedNodes:o,removedNodes:r,type:i}=n;if("childList"!==i||I(Ut(l)))$l(t,l)&&v.call(e,n);else if(o.length>0){const r=o[0];if($l(t,r)){const o=Al(l);!o||o[0]!==t&&-1===E.call(o,t)?v.call(e,Rl(n)):v.call(e,n)}}else{const o=l.shadowRoot,i=r[0];if(Wt(l)===Wt(i)&&$l(t,l))v.call(e,n);else if(o){const l=Al(o);!l||l[0]!==t&&-1===E.call(l,t)||v.call(e,Rl(n))}}return e}),[])}function Dl(e){const t=function(e){let t=e[Hl];return I(t)&&(t=e[Hl]=(t,n)=>{const l=Pl(t,n);0!==l.length&&e.call(n,l,n)}),t}(e);return new Ml(t)}function Il(e,t,n){if(arguments.length>1){const e=C.call(arguments);return e[1]=Fn(e[1]),bt.apply(this,e)}return bt.apply(this,arguments)}function Bl(e,t,n){if(arguments.length>1){const e=C.call(arguments);e[1]=Fn(e[1]),Et.apply(this,e)}Et.apply(this,arguments)}function xl(){const e=nt.call(this);if(!(e instanceof K))return e;const t=St(e),n=bl(e,this.composed),l=lt.call(this);if(!(l instanceof K))return B(l)&&I(Ft(e))?e:El(t,n);if(l===t||l===t.body)return I(Ft(e))?e:El(t,n);let o=l,r=n;if(cl(l)){1===Wn.get(this)&&(o=al(l))}return cl(e)&&gl.has(this)&&(r=bl(al(e),this.composed)),El(o,r)}function kl(){const e=nt.call(this);if(!(e instanceof K))return[];const t=Boolean(e.shadowRoot),n=(l=e,el.has(l));var l;if(t&&!n)return rt.call(this);if(B(lt.call(this)))return[];let o=e;return cl(e)&&gl.has(this)&&(o=al(e)),bl(o,this.composed)}function Fl(e){const t=r(e.prototype,"relatedTarget").get;l(e.prototype,"relatedTarget",{get(){const e=t.call(this);if(B(e))return null;if(!(e instanceof K&&jt(e)))return e;let n=lt.call(this);return B(n)&&(n=St(e)),El(n,bl(e,!0))},enumerable:!0,configurable:!0})}Dl.prototype=Ml.prototype,Dl.prototype.disconnect=function(){Cl.call(this);const e=_l.get(this);I(e)||(A.call(e,(e=>{const t=e.$$lwcNodeObservers$$;if(!I(t)){const e=E.call(t,this);-1!==e&&H.call(t,e,1)}})),e.length=0)},Dl.prototype.observe=function(e,t){let n=Al(e);var l;if(I(n)&&(n=[],l=n,e.$$lwcNodeObservers$$=l),-1===E.call(n,this)&&v.call(n,this),ul(e)&&(e=e.host),_l.has(this)){const t=_l.get(this);-1===E.call(t,e)&&v.call(t,e)}else _l.set(this,[e]);return Sl.call(this,e,t)},Dl.prototype.takeRecords=function(){return Pl(Ol.call(this),this)},l(window,"MutationObserver",{value:Dl,configurable:!0,writable:!0}),n(Rt,{addEventListener:{value:function(e,t,n){if(cl(this))return Qn.apply(this,arguments);if(arguments.length<2){const e=C.call(arguments);return e.length>1&&(e[1]=Fn(e[1])),$t.apply(this,e)}const l=Fn(t);return $t.call(this,e,l,n)},enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:function(e,t,n){if(cl(this))return Zn.apply(this,arguments);const l=C.call(arguments);arguments.length>1&&(l[1]=Fn(l[1])),Dt.apply(this,l),Dt.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),"undefined"==typeof EventTarget&&n(Window.prototype,{addEventListener:{value:Il,enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:Bl,enumerable:!0,writable:!0,configurable:!0}}),n(Event.prototype,{target:{get:xl,enumerable:!0,configurable:!0},currentTarget:{get:function(){const e=lt.call(this);return B(e)?null:1===Wn.get(this)?al(e):e},enumerable:!0,configurable:!0},composedPath:{value:kl,writable:!0,enumerable:!0,configurable:!0},srcElement:{get:xl,enumerable:!0,configurable:!0},path:{get:kl,enumerable:!0,configurable:!0}}),Fl(FocusEvent),Fl(MouseEvent);const Wl=c.call(Text.prototype,"assignedSlot")?r(Text.prototype,"assignedSlot").get:()=>null;let Ul;const jl={childList:!0},Gl=new WeakMap;function Kl(e){const t=At(Ee.call(e));return N.call(t,((e,t)=>(t instanceof Element&&Yt(t)?v.apply(e,Kl(t)):v.call(e,t),e)),[])}function ql(){const e=ge.call(this);if(e instanceof Element){const t=Qe.call(e);if(Mt(t))return this instanceof Text?Wl.call(this):Ze.call(this)}return!B(e)&&Yt(e)&&Ft(e)!==Ft(this)?e:null}function Xl(e,t){let n;const l=Ft(e);if(I(l))n=e instanceof HTMLBodyElement?d.call(t,(t=>I(Ft(t))||_t(e))):C.call(t);else if(cl(e)){const l=qt(e);n=B(l)?[]:Ut(e)?Jt(e,t):Zt(l,t)}else n=d.call(t,(e=>Wt(e)===l));return n}function Yl(){const e=In(this);let t="";for(let n=0,l=e.length;n<l;n+=1)t+=hn(e[n]);return t}function Vl(){return hn(this)}function zl(){const e=qt(this),t=B(e)?[]:Zt(e,tn(this));return Tn(d.call(t,(e=>e instanceof Element)))}function Jl(){return this.children.length}function Ql(){return this.children[0]||null}function Zl(){const{children:e}=this;return e.item(e.length-1)||null}function eo(e,t,n){let l;if(cl(e)){const n=qt(e);l=I(Ut(e))?B(n)?[]:Zt(n,t):Jt(e,t)}else if(jt(e)){const o=Ft(e);if(I(o))if(1===n){const n=Wt(e);l=d.call(t,(e=>Wt(e)===n))}else l=C.call(t);else l=d.call(t,(e=>Wt(e)===o))}else l=e instanceof HTMLBodyElement||1===n?d.call(t,(t=>I(Ft(t))||_t(e))):C.call(t);return l}function to(e){const t=Ot(e);return yt.call(t,e)}function no(e){const t=Ot(e);return wt.call(t)}function lo(e){return"visible"===e.visibility&&"none"!==e.display}n(HTMLSlotElement.prototype,{addEventListener:{value(e,t,n){HTMLElement.prototype.addEventListener.call(this,e,t,n),"slotchange"!==e||Gl.get(this)||(Gl.set(this,!0),Ul||(Ul=new Tt((e=>{const t=[];A.call(e,(e=>{const{target:n}=e;-1===E.call(t,n)&&(v.call(t,n),Pt.call(n,new CustomEvent("slotchange")))}))}))),vt.call(Ul,this,jl))},writable:!0,enumerable:!0,configurable:!0},assignedElements:{value(e){if(jt(this)){const t=!I(e)&&x(e.flatten)?Kl(this):nn(this);return d.call(t,(e=>e instanceof Element))}return tt.apply(this,C.call(arguments))},writable:!0,enumerable:!0,configurable:!0},assignedNodes:{value(e){if(jt(this)){return!I(e)&&x(e.flatten)?Kl(this):nn(this)}return et.apply(this,C.call(arguments))},writable:!0,enumerable:!0,configurable:!0},name:{get(){const e=we.call(this,"name");return B(e)?"":e},set(e){Oe.call(this,"name",e)},enumerable:!0,configurable:!0},childNodes:{get(){if(jt(this)){const e=qt(this);return dn(B(e)?[]:Zt(e,tn(this)))}return Ee.call(this)},enumerable:!0,configurable:!0}}),n(Text.prototype,{assignedSlot:{get:ql,enumerable:!0,configurable:!0}}),n(Element.prototype,{innerHTML:{get(){return It.ENABLE_ELEMENT_PATCH?_t(this)?Fe.call(this):Yl.call(this):jt(this)||cl(this)?Yl.call(this):Fe.call(this)},set(e){We.call(this,e)},enumerable:!0,configurable:!0},outerHTML:{get(){return It.ENABLE_ELEMENT_PATCH?_t(this)?je.call(this):Vl.call(this):jt(this)||cl(this)?Vl.call(this):je.call(this)},set(e){Ge.call(this,e)},enumerable:!0,configurable:!0},attachShadow:{value:function(e){return e["$$lwc-synthetic-mode"]?fl(this,e):He.call(this,e)},enumerable:!0,writable:!0,configurable:!0},shadowRoot:{get:function(){if(cl(this)){const e=al(this);if("open"===e.mode)return e}return Qe.call(this)},enumerable:!0,configurable:!0},children:{get(){return vn(this)?zl.call(this):ze.call(this)},enumerable:!0,configurable:!0},childElementCount:{get(){return vn(this)?Jl.call(this):_e.call(this)},enumerable:!0,configurable:!0},firstElementChild:{get(){return vn(this)?Ql.call(this):Ae.call(this)},enumerable:!0,configurable:!0},lastElementChild:{get(){return vn(this)?Zl.call(this):Re.call(this)},enumerable:!0,configurable:!0},assignedSlot:{get:ql,enumerable:!0,configurable:!0}}),c.call(HTMLElement.prototype,"innerHTML")&&l(HTMLElement.prototype,"innerHTML",r(Element.prototype,"innerHTML")),c.call(HTMLElement.prototype,"outerHTML")&&l(HTMLElement.prototype,"outerHTML",r(Element.prototype,"outerHTML")),c.call(HTMLElement.prototype,"children")&&l(HTMLElement.prototype,"children",r(Element.prototype,"children")),n(Element.prototype,{querySelector:{value:function(){const e=At(Ce.apply(this,C.call(arguments)));if(cl(this)){const t=qt(this);return I(Ut(this))?B(t)?null:en(t,e):Qt(this,e)}if(jt(this)){const t=Ft(this);if(I(t)){if(!It.ENABLE_NODE_LIST_PATCH)return 0===e.length?null:e[0];const t=Wt(this),n=b.call(e,(e=>Wt(e)===t));return I(n)?null:n}{const n=b.call(e,(e=>Wt(e)===t));return I(n)?null:n}}{if(!(It.ENABLE_NODE_LIST_PATCH||this instanceof HTMLBodyElement)){const t=e[0];return I(t)?null:t}const t=b.call(e,(e=>I(Ft(e))||_t(this)));return I(t)?null:t}},writable:!0,enumerable:!0,configurable:!0},querySelectorAll:{value(){const e=At(Ce.apply(this,C.call(arguments)));if(!It.ENABLE_NODE_LIST_PATCH){return dn(eo(this,e,0))}return dn(eo(this,e,1))},writable:!0,enumerable:!0,configurable:!0}}),n(Element.prototype,{getElementsByClassName:{value(){const e=At(Je.apply(this,C.call(arguments)));if(!It.ENABLE_HTML_COLLECTIONS_PATCH)return Tn(Xl(this,e));return Tn(eo(this,e,1))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagName:{value(){const e=At(ve.apply(this,C.call(arguments)));if(!It.ENABLE_HTML_COLLECTIONS_PATCH)return Tn(Xl(this,e));return Tn(eo(this,e,1))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagNameNS:{value(){const e=At(Ne.apply(this,C.call(arguments)));if(!It.ENABLE_HTML_COLLECTIONS_PATCH)return Tn(Xl(this,e));return Tn(eo(this,e,1))},writable:!0,enumerable:!0,configurable:!0}}),c.call(HTMLElement.prototype,"getElementsByClassName")&&l(HTMLElement.prototype,"getElementsByClassName",r(Element.prototype,"getElementsByClassName"));function oo(e){const t=[];if((e=>e.nodeType===J)(e)){const{tagName:n}=e,l=to(e);if("OPTION"===n)return[1,Pe.call(e),1];if("TEXTAREA"===n)return[];{const n=e.childNodes;for(let e=0,l=n.length;e<l;e++)v.apply(t,oo(n[e]))}if(!lo(l))return"SELECT"===n||"DATALIST"===n?[]:t;"BR"===n&&t.push("\n");const{display:o}=l;"table-cell"===o&&t.push("\t"),"table-row"===o&&t.push("\n"),"P"===n&&(t.unshift(2),t.push(2)),"block"!==o&&"table-caption"!==o&&"flex"!==o&&"table"!==o||(t.unshift(1),t.push(1))}else(e=>e.nodeType===Q)(e)&&t.push(function(e){const t=no(e);if(null===t)return e.textContent||"";const n=document.createRange();n.selectNodeContents(e);const l=n.getBoundingClientRect();if(l.height<=0||l.width<=0)return"";t.removeAllRanges(),t.addRange(n);return t.toString()||e.textContent||""}(e));return t}function ro(e){if(!lo(to(e)))return pn(e)||"";const t=function(e){const t=Ot(e),n=no(e);if(null===n)return null;const l=[];for(let e=0;e<n.rangeCount;e++)l.push(n.getRangeAt(e));const o={element:e,onselect:t.onselect,onselectstart:t.onselectstart,onselectionchange:t.onselectionchange,ranges:l};return t.onselect=null,t.onselectstart=null,t.onselectionchange=null,o}(e),n=[],l=e.childNodes;for(let e=0,t=l.length;e<t;e++)v.apply(n,oo(l[e]));!function(e){if(null===e)return;const{element:t,onselect:n,onselectstart:l,onselectionchange:o,ranges:r}=e,i=Ot(t),a=no(t);a.removeAllRanges();for(let e=0;e<r.length;e++)a.addRange(r[e]);i.onselect=n,i.onselectstart=l,i.onselectionchange=o}(t);let o="",r=0;for(let e=0,t=n.length;e<t;e++){const t=n[e];if("string"==typeof t){if(r>0){for(let e=0;e<r;e++)o+="\n";r=0}t.length>0&&(o+=t)}else{if(0==o.length)continue;t>r&&(r=t)}}return o}const io="\n [contenteditable],\n [tabindex],\n a[href],\n area[href],\n audio[controls],\n button,\n iframe,\n input,\n select,\n textarea,\n video[controls]\n",ao=new Set(["BUTTON","INPUT","SELECT","TEXTAREA"]);function co(e){return e.filter((e=>Le.call(e,"tabindex")?"0"===we.call(e,"tabindex"):!ao.has(Ke.call(e))||!Le.call(e,"disabled")))}const uo=new WeakMap;function so(e){return(!cl(e)||!rl(e))&&(Ve.call(e,io)&&function(e){const{width:t,height:n}=Te.call(e),l=t>0||n>0,o="AREA"===e.tagName;return(l||o)&&"hidden"!==getComputedStyle(e).visibility}(e))}function fo(){const e=this.getRootNode();if(e===this){const e=Me.call(this,io);return void(B(e)||e.focus.apply(e,arguments))}const t=e;if(t.activeElement===this)return;const n=At(Ce.call(this,io));let l=!1;for(;!l&&0!==n.length;){const e=n.shift();e.focus.apply(e,arguments);l=e.getRootNode().activeElement===e}}function ho(e){const t=St(e),n=co(At(ft.call(t,io))),l=co(At(Ce.call(e,io))),o=l[0],r=l[l.length-1],i=E.call(n,e),a=i>-1?i:E.call(n,o),c=0===l.length?a+1:E.call(n,r)+1;return{prev:C.call(n,0,a),inner:l,next:C.call(n,c)}}function po(e,t){const n=re.call(e,t);return n&X?0:n&V?1:n&z?2:-1}function go(e){e.preventDefault(),e.stopPropagation()}function mo(e,t){bt.call(e,"focusin",go,!0),bt.call(e,"focusout",go,!0),t(),Et.call(e,"focusin",go,!0),Et.call(e,"focusout",go,!0)}function bo(e,t,n){const l=Ot(n),o=function(e,t){const n=e.length;if(n>0)for(let l=0;l<n;l+=1){const n=e[l];if(Lo(t.getRootNode(),n))return n}return null}(e,n);B(o)?mo(l,(()=>{t.blur()})):mo(l,(()=>{o.focus()}))}let Eo=!1;function yo(){Eo=!0}function wo(){Eo=!1}function To(){return!Eo}function vo(e){if(Eo)return;const t=lt.call(e),n=nt.call(e);if(t!==n)return;const l=ot.call(e);if(B(l))return;const o=ho(t);if(1===po(t,l)){const e=Lo.bind(null,t.getRootNode()),r=b.call(o.inner,e);if(I(r))bo(o.next,n,l);else{mo(Ot(r),(()=>{r.focus()}))}}else t===n&&bo(L.call(o.prev),n,l)}function No(e){if(Eo)return;const t=ot.call(e);if(B(t))return;const n=lt.call(e),l=ho(n);if(-1!==E.call(l.inner,t))return;const o=nt.call(e),r=po(n,t);1===r&&bo(l.next,o,t),2===r&&bo(L.call(l.prev),o,t)}function Lo(e,t){if(!so(t))return!1;const n=St(t);let l=t.getRootNode();for(;l!==n&&l!==e;){const e=l.host;if("-1"===we.call(e,"tabindex"))return!1;l=e&&e.getRootNode()}return!0}function Mo(e){Dt.call(e,"focusin",vo,!0)}function Co(e){const t=St(e);uo.get(t)||(uo.set(t,!0),$t.call(t,"mousedown",yo,!0),$t.call(t,"mouseup",(()=>{setTimeout(wo)}),!0),$t.call(t,"dragstart",wo,!0))}function So(e){Dt.call(e,"focusin",No,!0)}const{blur:Oo,focus:Ho}=HTMLElement.prototype;function _o(){return rl(this)&&k(Le.call(this,"tabindex"))?0:Xe.call(this)}function Ao(e){const t=rl(this),n=Xe.call(this),l=Le.call(this,"tabindex");Ye.call(this,e);const o=Xe.call(this),r=Le.call(this,"tabindex"),i=n!==o;var a;(l&&(i||k(r))&&(-1===n&&So(this),0===n&&t&&Mo(this)),k(r))||(l&&r&&k(i)||(-1===o&&(Co(a=this),Mo(a),$t.call(a,"focusin",No,!0)),0===o&&t&&function(e){Co(e),So(e),$t.call(e,"focusin",vo,!0)}(this)))}function Ro(){if(rl(this)){const e=function(e){const t=St(e),n=it.call(t);return B(n)||0!=(re.call(e,n)&X)?n:null}(this);if(!B(e))return void e.blur()}return Oo.call(this)}function $o(){const e=To();e&&yo(),cl(this)&&rl(this)?fo.call(this):(Ho.apply(this,arguments),e&&wo())}function Po(e,t){e.$shadowResolver$=t;const n=Ee.call(e);for(let e=0,l=n.length;e<l;e++)Po(n[e],t)}n(HTMLElement.prototype,{tabIndex:{get(){return cl(this)?_o.call(this):Xe.call(this)},set(e){return cl(this)?Ao.call(this,e):Ye.call(this,e)},enumerable:!0,configurable:!0},blur:{value(){if(cl(this))return Ro.call(this);Oo.call(this)},enumerable:!0,writable:!0,configurable:!0},focus:{value(){$o.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),null!==Pe&&null!==De&&l(HTMLElement.prototype,"innerText",{get(){return It.ENABLE_INNER_OUTER_TEXT_PATCH?It.ENABLE_ELEMENT_PATCH?_t(this)?Pe.call(this):ro(this):jt(this)||cl(this)?ro(this):Pe.call(this):Pe.call(this)},set(e){De.call(this,e)},enumerable:!0,configurable:!0}),null!==Be&&null!==xe&&l(HTMLElement.prototype,"outerText",{get(){return It.ENABLE_INNER_OUTER_TEXT_PATCH?It.ENABLE_ELEMENT_PATCH?_t(this)?Be.call(this):ro(this):jt(this)||cl(this)?ro(this):Be.call(this):Be.call(this)},set(e){xe.call(this,e)},enumerable:!0,configurable:!0}),l(Element.prototype,G,{set(e){const t=this.$$ShadowTokenKey$$;I(t)||t===e||Se.call(this,t),I(e)||Oe.call(this,e,""),this.$$ShadowTokenKey$$=e},get(){return this.$$ShadowTokenKey$$},configurable:!0}),l(Element.prototype,"$shadowStaticNode$",{set(e){if(e){Po(this,this.$shadowResolver$)}this.$shadowStaticNodeKey$=e},get(){return this.$shadowStaticNodeKey$},configurable:!0});const Do=function(){};let Io;const Bo={childList:!0};function xo(e,t,n){const l=ll(e);if(l!==t&&(ol(e,t),e instanceof Element)){if(function(e,t){e.$shadowToken$=t}(e,n),cl(e))return;I(l)&&vt.call(Io,e,Bo);const o=Ee.call(e);for(let e=0,l=o.length;e<l;e+=1)xo(o[e],t,n)}}function ko(e){if(I(Io)&&(Io=new Tt((e=>{A.call(e,(e=>{const{target:t,addedNodes:n,removedNodes:l}=e,o=ll(t),r=t.$shadowToken$;for(let e=0,n=l.length;e<n;e+=1){const n=l[e];re.call(t,n)&K.DOCUMENT_POSITION_CONTAINED_BY||xo(n,Do,void 0)}for(let e=0,l=n.length;e<l;e+=1){const l=n[e];re.call(t,l)&K.DOCUMENT_POSITION_CONTAINED_BY&&xo(l,o,r)}}))}))),I(ll(e)))throw new Error("Invalid Element");vt.call(Io,e,Bo)}l(Element.prototype,"$domManual$",{set(e){this.$$DomManualKey$$=e,x(e)&&ko(this)},get(){return this.$$DomManualKey$$},configurable:!0})}));
|