lwc 2.20.6 → 2.20.7
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 +5 -5
- package/dist/engine-dom/iife/es2017/engine-dom.js +5 -5
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +3 -3
- package/dist/engine-dom/iife/es5/engine-dom.js +5 -5
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +3 -3
- package/dist/engine-dom/umd/es2017/engine-dom.js +5 -5
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +3 -3
- package/dist/engine-dom/umd/es5/engine-dom.js +5 -5
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +3 -3
- package/dist/engine-server/commonjs/es2017/engine-server.js +5 -5
- package/dist/engine-server/esm/es2017/engine-server.js +5 -5
- 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
|
@@ -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.20.
|
|
156
|
+
/** version: 2.20.7 */
|
|
157
157
|
|
|
158
158
|
/*
|
|
159
159
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -1129,7 +1129,7 @@
|
|
|
1129
1129
|
Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
|
|
1130
1130
|
}
|
|
1131
1131
|
const runtimeFlags = _globalThis.lwcRuntimeFlags;
|
|
1132
|
-
/** version: 2.20.
|
|
1132
|
+
/** version: 2.20.7 */
|
|
1133
1133
|
|
|
1134
1134
|
/*
|
|
1135
1135
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -2888,7 +2888,10 @@
|
|
|
2888
2888
|
*/
|
|
2889
2889
|
function detect$1() {
|
|
2890
2890
|
// Note: when using this in mobile apps, we might have a DOM that does not support iframes.
|
|
2891
|
-
|
|
2891
|
+
const hasIframe = typeof HTMLIFrameElement !== 'undefined';
|
|
2892
|
+
// This polyfill should only apply in compat mode; see https://github.com/salesforce/lwc/issues/1513
|
|
2893
|
+
const isCompat = typeof Proxy !== 'undefined' && isTrue(Proxy.isCompat);
|
|
2894
|
+
return hasIframe && isCompat;
|
|
2892
2895
|
}
|
|
2893
2896
|
|
|
2894
2897
|
/*
|
|
@@ -5116,6 +5119,6 @@
|
|
|
5116
5119
|
}));
|
|
5117
5120
|
});
|
|
5118
5121
|
}
|
|
5119
|
-
/** version: 2.20.
|
|
5122
|
+
/** version: 2.20.7 */
|
|
5120
5123
|
|
|
5121
5124
|
}));
|
|
@@ -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:s,keys:u,seal:h,setPrototypeOf:f}=Object,{copyWithin:p,fill:g,filter:m,find:d,indexOf:b,join:E,map:y,pop:w,push:T,reduce:v,reverse:N,shift:L,slice:M,sort:C,splice:S,unshift:O,forEach:H}=Array.prototype,{charCodeAt:A,replace:_,slice:R,toLowerCase:$}=String.prototype;function P(e){return void 0===e}function D(e){return null===e}function I(e){return!0===e}function B(e){return!1===e}function k(e){return"function"==typeof e}function F(e){return"object"==typeof e}const x=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}(),W="$shadowResolver$",U="$shadowToken$",j=Node,K=j.prototype,{DOCUMENT_POSITION_CONTAINED_BY:G,DOCUMENT_POSITION_CONTAINS:q,DOCUMENT_POSITION_PRECEDING:X,DOCUMENT_POSITION_FOLLOWING:Y,ELEMENT_NODE:V,TEXT_NODE:z,CDATA_SECTION_NODE:J,PROCESSING_INSTRUCTION_NODE:Q,COMMENT_NODE:Z,DOCUMENT_FRAGMENT_NODE:ee}=j,{appendChild:te,cloneNode:ne,compareDocumentPosition:le,insertBefore:oe,removeChild:re,replaceChild:ie,hasChildNodes:ae}=K,{contains:ce}=HTMLElement.prototype,se=r(K,"firstChild").get,ue=r(K,"lastChild").get,he=r(K,"textContent").get,fe=r(K,"parentNode").get,pe=r(K,"ownerDocument").get,ge=c.call(K,"parentElement")?r(K,"parentElement").get:r(HTMLElement.prototype,"parentElement").get,me=r(K,"textContent").set,de=c.call(K,"childNodes")?r(K,"childNodes").get:r(HTMLElement.prototype,"childNodes").get,be=c.call(K,"isConnected")?r(K,"isConnected").get:function(){const e=pe.call(this);return null===e||0!=(le.call(e,this)&G)},{getAttribute:Ee,getBoundingClientRect:ye,getElementsByTagName:we,getElementsByTagNameNS:Te,hasAttribute:ve,querySelector:Ne,querySelectorAll:Le,removeAttribute:Me,setAttribute:Ce}=Element.prototype,Se=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")},Oe=r(Element.prototype,"childElementCount").get,He=r(Element.prototype,"firstElementChild").get,Ae=r(Element.prototype,"lastElementChild").get,_e=r(HTMLElement.prototype,"innerText"),Re=_e?_e.get:null,$e=_e?_e.set:null,Pe=r(HTMLElement.prototype,"outerText"),De=Pe?Pe.get:null,Ie=Pe?Pe.set:null,Be=c.call(Element.prototype,"innerHTML")?r(Element.prototype,"innerHTML"):r(HTMLElement.prototype,"innerHTML"),ke=Be.get,Fe=Be.set,xe=c.call(Element.prototype,"outerHTML")?r(Element.prototype,"outerHTML"):r(HTMLElement.prototype,"outerHTML"),We=xe.get,Ue=xe.set,je=r(Element.prototype,"tagName").get,Ke=r(HTMLElement.prototype,"tabIndex"),Ge=Ke.get,qe=Ke.set,Xe=c.call(Element.prototype,"matches")?Element.prototype.matches:Element.prototype.msMatchesSelector,Ye=c.call(Element.prototype,"children")?r(Element.prototype,"children").get:r(HTMLElement.prototype,"children").get,{getElementsByClassName:Ve}=HTMLElement.prototype,ze=c.call(Element.prototype,"shadowRoot")?r(Element.prototype,"shadowRoot").get:()=>null,Je=c.call(Element.prototype,"assignedSlot")?r(Element.prototype,"assignedSlot").get:()=>null;let Qe,Ze;"undefined"!=typeof HTMLSlotElement?(Qe=HTMLSlotElement.prototype.assignedNodes,Ze=HTMLSlotElement.prototype.assignedElements):(Qe=()=>{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")},Ze=()=>{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 et=r(Event.prototype,"target").get,tt=r(Event.prototype,"currentTarget").get,nt=r(FocusEvent.prototype,"relatedTarget").get,lt=c.call(Event.prototype,"composedPath")?Event.prototype.composedPath:()=>[],ot=r(Document.prototype,"activeElement").get,rt=c.call(Document.prototype,"elementFromPoint")?Document.prototype.elementFromPoint:Document.prototype.msElementFromPoint,it=c.call(Document.prototype,"elementsFromPoint")?Document.prototype.elementsFromPoint:Document.prototype.msElementsFromPoint,at=r(Document.prototype,"defaultView").get,{createComment:ct,createTreeWalker:st,querySelectorAll:ut,getElementById:ht,getElementsByClassName:ft,getElementsByTagName:pt,getElementsByTagNameNS:gt}=Document.prototype,{getElementsByName:mt}=HTMLDocument.prototype,{addEventListener:dt,removeEventListener:bt,getComputedStyle:Et,getSelection:yt}=window,wt=MutationObserver,Tt=wt.prototype.observe;let vt=null;"undefined"!=typeof ShadowRoot&&(vt=ShadowRoot);const Nt=!D(vt),Lt=D(vt)?()=>!1:e=>e instanceof vt;const{createElement:Mt}=Document.prototype;function Ct(e){const t=pe.call(e);return null===t?e:t}function St(e){const t=Ct(e),n=at.call(t);if(null===n)throw new TypeError;return n}let Ot;function Ht(e){if(P(Ot)){const t=Ct(e);Ot=t.body&&"temporary-bypass"===Ee.call(t.body,"data-global-patching-bypass")}return I(Ot)}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{}f(e,HTMLElement.constructor),f(e.prototype,HTMLElement.prototype),Window.prototype.HTMLSlotElement=e,l(Document.prototype,"createElement",{value:function(t,n){const l=Mt.apply(this,M.call(arguments));return 4===t.length&&115===A.call(t,0)&&108===A.call(t,1)&&111===A.call(t,2)&&116===A.call(t,3)&&f(l,e.prototype),l}})}();const _t="undefined"!=typeof EventTarget?EventTarget.prototype:j.prototype,{addEventListener:Rt,dispatchEvent:$t,removeEventListener:Pt}=_t,Dt="$$HostElementKey$$",It="$$ShadowedNodeKey$$";function Bt(e,t,n){const l=e;{const{value:e}=n;l[t]=e}}function kt(e){return e[Dt]}function Ft(e){let t,n=e;for(;!D(n);){if(t=kt(n),!P(t))return t;n=fe.call(n)}}function xt(e){return e[It]}function Wt(e){return!P(kt(e))}function Ut(e){let t=ge.call(e);for(;!D(t)&&qt(t);)e=t,t=ge.call(e);return e}function jt(e,t){const n=xt(e);let l=t instanceof Element?t:ge.call(t);for(;!D(l)&&l!==e;){const t=Ft(l),o=ge.call(l);if(t===n)return qt(l);if(o===e)return!1;if(D(o)||Ft(o)===t)l=o;else{if(!qt(o))return!1;if(l=Kt(Ut(o)),!D(l)){if(l===e)return!0;if(Ft(l)===n)return!0}}}return!1}function Kt(e){if(!(e instanceof j))return null;const t=Ft(e);if(P(t))return null;let n=e;for(;!D(n)&&xt(n)!==t;)n=fe.call(n);return D(n)?null:n}function Gt(e){return qt(e)&&Wt(e)}function qt(e){return e instanceof HTMLSlotElement}function Xt(e,t){const n=Ft(t);return P(n)||xt(e)===n}function Yt(e){const t=rl(e);return Jt(t,At(de.call(t)))}function Vt(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];!Xt(e,o)&&jt(e,o)&&T.call(n,o)}return n}function zt(e,t){for(let n=0,l=t.length;n<l;n+=1){const l=t[n];if(!Xt(e,l)&&jt(e,l))return l}return null}function Jt(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];Xt(e,o)&&T.call(n,o)}return n}function Qt(e,t){for(let n=0,l=t.length;n<l;n+=1)if(Xt(e,t[n]))return t[n];return null}function Zt(e){if(!al(e)&&!qt(e)){return At(de.call(e))}if(al(e)){const t=At(Le.call(e,"slot")),n=nl(il(e));return v.call(t,((e,t)=>(n===nl(t)&&T.apply(e,en(t)),e)),[])}{const t=At(de.call(e)),n=nl(e);return m.call(t,(e=>n===nl(e)))}}function en(e){const t=Kt(e);if(D(t))return[];const n=At(de.call(e));return m.call(n,(e=>!Wt(e)||!Xt(t,e)))}const tn=/[&\u00A0"]/g,nn=/[&\u00A0<>]/g,{replace:ln,toLowerCase:on}=String.prototype;function rn(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" ";default:return""}}function an(e){return ln.call(e,tn,rn)}const cn=new Set(["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"]),sn=new Set(["STYLE","SCRIPT","XMP","IFRAME","NOEMBED","NOFRAMES","PLAINTEXT","NOSCRIPT"]);function un(e){switch(e.nodeType){case V:{const{attributes:t}=e,n=je.call(e);let l="<"+on.call(n);for(let e,n=0;e=t[n];n++)l+=" "+e.name+'="'+an(e.value)+'"';return l+=">",cn.has(n)?l:l+function(e){let t="";const n=Zt(e);for(let e=0,l=n.length;e<l;e+=1)t+=un(n[e]);return t}(e)+"</"+on.call(n)+">"}case z:{const{data:n,parentNode:l}=e;return l instanceof Element&&sn.has(je.call(l))?n:(t=n,ln.call(t,nn,rn))}case J:return`<!CDATA[[${e.data}]]>`;case Q:return`<?${e.target} ${e.data}?>`;case Z:return`\x3c!--${e.data}--\x3e`;default:return""}var t}function hn(e){if(e.nodeType===V){const t=Zt(e);let n="";for(let e=0,l=t.length;e<l;e+=1){const l=t[e];l.nodeType!==Z&&(n+=hn(l))}return n}return e.nodeValue}const fn=new WeakMap;function pn(){throw new TypeError("Illegal constructor")}function gn(e){const n=t(pn.prototype);return fn.set(n,e),H.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}pn.prototype=t(NodeList.prototype,{constructor:{writable:!0,configurable:!0,value:pn},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return fn.get(this).length}},forEach:{writable:!0,enumerable:!0,configurable:!0,value(e,t){H.call(fn.get(this),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value(){return y.call(fn.get(this),((e,t)=>[t,e]))}},keys:{writable:!0,enumerable:!0,configurable:!0,value(){return y.call(fn.get(this),((e,t)=>t))}},values:{writable:!0,enumerable:!0,configurable:!0,value(){return fn.get(this)}},[Symbol.iterator]:{writable:!0,configurable:!0,value(){let e=0;return{next:()=>{const t=fn.get(this);return e<t.length?{value:t[e++],done:!1}:{done:!0}}}}},[Symbol.toStringTag]:{configurable:!0,get:()=>"NodeList"},toString:{writable:!0,configurable:!0,value:()=>"[object NodeList]"}}),f(pn,NodeList);const mn=(e,t)=>{let n;for(;!P(n=e.host);){const l=n.getRootNode();if(l===t)return n;e=l}};function dn(e,t,n,l){const o=it.call(t,n,l),r=[],i=function(e){var t;const n=[];let l=e.getRootNode();for(;!P(l);)n.push(l),l=null===(t=l.host)||void 0===t?void 0:t.getRootNode();return n}(e);if(!D(o))for(let e=0;e<o.length;e++){const t=o[e];if(Gt(t))continue;const n=t.getRootNode();if(-1!==b.call(i,n)){T.call(r,t);continue}const l=mn(n,i[0]);P(l)||-1!==b.call(o,l)||-1!==b.call(r,l)||T.call(r,l)}return r}const bn=new WeakMap;function En(){throw new TypeError("Illegal constructor")}function yn(e){const n=t(En.prototype);return bn.set(n,e),H.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}En.prototype=t(HTMLCollection.prototype,{constructor:{writable:!0,configurable:!0,value:En},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return bn.get(this).length}},namedItem:{writable:!0,enumerable:!0,configurable:!0,value(e){if(""===e)return null;const t=bn.get(this);for(let n=0,l=t.length;n<l;n++){const n=t[l];if(e===Ee.call(n,"id")||e===Ee.call(n,"name"))return n}return null}},[Symbol.toStringTag]:{configurable:!0,get:()=>"HTMLCollection"},toString:{writable:!0,configurable:!0,value:()=>"[object HTMLCollection]"}}),f(En,HTMLCollection),x.lwcRuntimeFlags||Object.defineProperty(x,"lwcRuntimeFlags",{value:t(null)});const wn=x.lwcRuntimeFlags;function Tn(e){return Gt(e)||al(e)}function vn(e,t){const n=Kt(e);if(t===n)return il(n);if(t instanceof Element){if(Ft(e)===Ft(t))return t;if(!D(n)&&qt(t)){const e=Kt(t);if(!D(e)&&Xt(n,e))return e}}return null}function Nn(){return Dn(this).length>0}function Ln(){return Dn(this)[0]||null}function Mn(){const e=Dn(this);return e[e.length-1]||null}function Cn(){return hn(this)}function Sn(){const e=fe.call(this);return D(e)?e:vn(this,e)}function On(){const e=fe.call(this);if(D(e))return null;const t=vn(this,e);return t instanceof Element?t:null}function Hn(e){return this===e?0:this.getRootNode()===e?10:kt(this)!==kt(e)?35:le.call(this,e)}function An(e){return null!=e&&kt(this)===kt(e)&&0!=(le.call(this,e)&G)}function _n(e){const t=ne.call(this,!1);if(!e)return t;const n=Dn(this);for(let e=0,l=n.length;e<l;e+=1)t.appendChild(n[e].cloneNode(!0));return t}function Rn(){if(al(this)){const e=Kt(this);return gn(D(e)?[]:Jt(e,Zt(this)))}return de.call(this)}const $n=j.prototype.getRootNode,Pn=P($n)?function(){let e,t=this;for(;!D(e=fe.call(t));)t=e;return t}:$n;n(j.prototype,{firstChild:{get(){return Tn(this)?Ln.call(this):se.call(this)},enumerable:!0,configurable:!0},lastChild:{get(){return Tn(this)?Mn.call(this):ue.call(this)},enumerable:!0,configurable:!0},textContent:{get(){return wn.ENABLE_NODE_PATCH?Ht(this)?he.call(this):Cn.call(this):Wt(this)||al(this)?Cn.call(this):he.call(this)},set:function(e){me.call(this,e)},enumerable:!0,configurable:!0},parentNode:{get(){if(Wt(this))return Sn.call(this);const e=fe.call(this);return!D(e)&&Gt(e)?Kt(e):e},enumerable:!0,configurable:!0},parentElement:{get(){if(Wt(this))return On.call(this);const e=ge.call(this);return!D(e)&&Gt(e)?Kt(e):e},enumerable:!0,configurable:!0},childNodes:{get(){return Tn(this)?Rn.call(this):de.call(this)},enumerable:!0,configurable:!0},hasChildNodes:{value(){return Tn(this)?Nn.call(this):ae.call(this)},enumerable:!0,writable:!0,configurable:!0},compareDocumentPosition:{value(e){return Ht(this)?le.call(this,e):Hn.call(this,e)},enumerable:!0,writable:!0,configurable:!0},contains:{value(e){return this===e||(wn.ENABLE_NODE_PATCH?Ht(this)?ce.call(this,e):An.call(this,e):null!=e&&(Wt(this)||al(this)?An.call(this,e):ce.call(this,e)))},enumerable:!0,writable:!0,configurable:!0},cloneNode:{value(e){return wn.ENABLE_NODE_PATCH?I(e)?Ht(this)?ne.call(this,e):_n.call(this,e):ne.call(this,e):Wt(this)||al(this)?_n.call(this,e):ne.call(this,e)},enumerable:!0,writable:!0,configurable:!0},getRootNode:{value:function(e){return I(!P(e)&&!!e.composed)?Pn.call(this,e):function(e){const t=Kt(e);return D(t)?Pn.call(e):il(t)}(this)},enumerable:!0,configurable:!0,writable:!0},isConnected:{enumerable:!0,configurable:!0,get(){return be.call(this)}}});const Dn=function(e){return e.childNodes};c.call(HTMLElement.prototype,"contains")&&l(HTMLElement.prototype,"contains",r(j.prototype,"contains")),c.call(HTMLElement.prototype,"parentElement")&&l(HTMLElement.prototype,"parentElement",r(j.prototype,"parentElement"));const In=new WeakMap,Bn=new WeakMap;function kn(e,t,n){if(t===n)return!0;let l=Bn.get(e);return P(l)&&(l=e.composedPath(),Bn.set(e,l)),l.includes(n)}function Fn(e){if(!function(e){return k(e)||F(e)&&!D(e)&&k(e.handleEvent)}(e))return e;let t=In.get(e);return P(t)&&(t=function(t){const n=tt.call(t);if(kn(t,jn(t),n))return k(e)?e.call(this,t):e.handleEvent&&e.handleEvent(t)},In.set(e,t)),t}const xn=new WeakMap,Wn=new WeakMap;function Un(e){let n=Wn.get(e);return P(n)&&(n=t(null),Wn.set(e,n)),n}function jn(e){var t;return null!==(t=pl.get(e))&&void 0!==t?t:et.call(e)}const Kn=new WeakMap;function Gn(e){if(!k(e))throw new TypeError;let t=Kn.get(e);return P(t)&&(t=function(t){let n=tt.call(t);Lt(n)||(n=il(n));kn(t,jn(t),n)&&e.call(n,t)},t.placement=1,Kn.set(e,t)),t}const qn=new WeakMap;function Xn(e){if(!k(e))throw new TypeError;let t=qn.get(e);return P(t)&&(t=function(t){const n=tt.call(t);kn(t,jn(t),n)&&e.call(n,t)},t.placement=0,qn.set(e,t)),t}function Yn(e){let t=!1,n=!1;const{type:o,stopImmediatePropagation:r,stopPropagation:i}=e,a=Un(tt.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=M.call(a);function s(n){H.call(c,(l=>{B(t)&&l.placement===n&&-1!==b.call(a,l)&&l.call(void 0,e)}))}xn.set(e,1),s(1),B(t)&&B(n)&&(xn.set(e,0),s(0)),xn.set(e,2)}function Vn(e,t,n){const l=Un(e);let o=l[t];P(o)&&(o=l[t]=[]),-1===b.call(o,n)&&(0===o.length&&Rt.call(e,t,Yn),T.call(o,n))}function zn(e,t,n){let l,o;P(o=Un(e)[t])||-1===(l=b.call(o,n))||(S.call(o,l,1),0===o.length&&Pt.call(e,t,Yn))}function Jn(e,t,n){if(k(t)){Vn(this,e,Xn(t))}}function Qn(e,t,n){if(k(t)){zn(this,e,Xn(t))}}const Zn=new WeakMap,{createDocumentFragment:el}=document;function tl(e){const t=Zn.get(e);if(P(t))throw new TypeError;return t}function nl(e){return e.$shadowResolver$}function ll(e,t){e.$shadowResolver$=t}function ol(e){return tl(e).delegatesFocus}function rl(e){return tl(e).host}function il(e){return tl(e).shadowRoot}function al(e){const t=Zn.get(e);return!P(t)&&e===t.host}function cl(e){const t=Zn.get(e);return!P(t)&&e===t.shadowRoot}l(j.prototype,W,{set(e){var t,n;P(e)||(this.$$ShadowResolverKey$$=e,t=this,n=e.nodeKey,Bt(t,Dt,{value:n,configurable:!0}))},get(){return this.$$ShadowResolverKey$$},configurable:!0,enumerable:!0}),l(x,"$isNativeShadowRootDefined$",{value:Nt});let sl=0;function ul(e,t){if(Zn.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=Ct(e),r=el.call(o),i={mode:n,delegatesFocus:!!l,host:e,shadowRoot:r};Zn.set(r,i),Zn.set(e,i);const a=()=>r,c=a.nodeKey=sl++;return Bt(e,It,{value:c}),ll(r,a),f(r,ml.prototype),r}const hl={constructor:{writable:!0,configurable:!0,value:ml},toString:{writable:!0,configurable:!0,value:()=>"[object ShadowRoot]"},synthetic:{writable:!1,enumerable:!1,configurable:!1,value:!0}},fl={activeElement:{enumerable:!0,configurable:!0,get(){const e=rl(this),t=Ct(e),n=ot.call(t);if(D(n))return n;if(0==(le.call(e,n)&G))return null;let l=n;for(;!Xt(e,l);)l=ge.call(l);return qt(l)?null:l}},delegatesFocus:{configurable:!0,get(){return tl(this).delegatesFocus}},elementFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return El(this,Ct(rl(this)),e,t)}},elementsFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return dn(this,Ct(rl(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 rl(this)}},mode:{configurable:!0,get(){return tl(this).mode}},styleSheets:{enumerable:!0,configurable:!0,get(){throw new Error}}},pl=new WeakMap,gl={insertBefore:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return oe.call(rl(this),e,t),e}},removeChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return re.call(rl(this),e),e}},appendChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return te.call(rl(this),e),e}},replaceChild:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return ie.call(rl(this),e,t),t}},addEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,l){k(n)&&Vn(rl(e),t,Gn(n))}(this,e,t)}},dispatchEvent:{writable:!0,enumerable:!0,configurable:!0,value(e){return pl.set(e,this),$t.apply(rl(this),arguments)}},removeEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,l){k(n)&&zn(rl(e),t,Gn(n))}(this,e,t)}},baseURI:{enumerable:!0,configurable:!0,get(){return rl(this).baseURI}},childNodes:{enumerable:!0,configurable:!0,get(){return gn(Yt(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=rl(this);return this===e?0:this.contains(e)?20:le.call(t,e)&G?37:35}},contains:{writable:!0,enumerable:!0,configurable:!0,value(e){if(this===e)return!0;const t=rl(this);return 0!=(le.call(t,e)&G)&&Xt(t,e)}},firstChild:{enumerable:!0,configurable:!0,get(){return Dn(this)[0]||null}},lastChild:{enumerable:!0,configurable:!0,get(){const e=Dn(this);return e[e.length-1]||null}},hasChildNodes:{writable:!0,enumerable:!0,configurable:!0,value(){return Dn(this).length>0}},isConnected:{enumerable:!0,configurable:!0,get(){return be.call(rl(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 rl(this).ownerDocument}},parentElement:{enumerable:!0,configurable:!0,get:()=>null},parentNode:{enumerable:!0,configurable:!0,get:()=>null},textContent:{enumerable:!0,configurable:!0,get(){const e=Dn(this);let t="";for(let n=0,l=e.length;n<l;n+=1){const l=e[n];l.nodeType!==Z&&(t+=hn(l))}return t},set(e){const t=rl(this);me.call(t,e)}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value(e){return!P(e)&&I(e.composed)?rl(this).getRootNode(e):this}}};function ml(){throw new TypeError("Illegal constructor")}function dl(e,t){const n=[];let l;if(e instanceof Window)l=e;else{if(!(e instanceof j))return n;l=e.getRootNode()}let o,r=e;for(;!D(r);)if(n.push(r),r instanceof Element||r instanceof Text){const e=r.assignedSlot;r=D(e)?r.parentNode:e}else r=!cl(r)&&!Lt(r)||!t&&r===l?r instanceof j?r.parentNode:null:r.host;return o=e instanceof Window?e.document:Ct(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:s,keys:u,seal:f,setPrototypeOf:h}=Object,{copyWithin:p,fill:g,filter:m,find:d,indexOf:b,join:E,map:y,pop:w,push:T,reduce:v,reverse:N,shift:L,slice:M,sort:C,splice:S,unshift:O,forEach:H}=Array.prototype,{charCodeAt:A,replace:_,slice:R,toLowerCase:$}=String.prototype;function P(e){return void 0===e}function D(e){return null===e}function I(e){return!0===e}function B(e){return!1===e}function x(e){return"function"==typeof e}function k(e){return"object"==typeof e}const F=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}(),W="$shadowResolver$",U="$shadowToken$",j=Node,K=j.prototype,{DOCUMENT_POSITION_CONTAINED_BY:G,DOCUMENT_POSITION_CONTAINS:q,DOCUMENT_POSITION_PRECEDING:X,DOCUMENT_POSITION_FOLLOWING:Y,ELEMENT_NODE:V,TEXT_NODE:z,CDATA_SECTION_NODE:J,PROCESSING_INSTRUCTION_NODE:Q,COMMENT_NODE:Z,DOCUMENT_FRAGMENT_NODE:ee}=j,{appendChild:te,cloneNode:ne,compareDocumentPosition:le,insertBefore:oe,removeChild:re,replaceChild:ie,hasChildNodes:ae}=K,{contains:ce}=HTMLElement.prototype,se=r(K,"firstChild").get,ue=r(K,"lastChild").get,fe=r(K,"textContent").get,he=r(K,"parentNode").get,pe=r(K,"ownerDocument").get,ge=c.call(K,"parentElement")?r(K,"parentElement").get:r(HTMLElement.prototype,"parentElement").get,me=r(K,"textContent").set,de=c.call(K,"childNodes")?r(K,"childNodes").get:r(HTMLElement.prototype,"childNodes").get,be=c.call(K,"isConnected")?r(K,"isConnected").get:function(){const e=pe.call(this);return null===e||0!=(le.call(e,this)&G)},{getAttribute:Ee,getBoundingClientRect:ye,getElementsByTagName:we,getElementsByTagNameNS:Te,hasAttribute:ve,querySelector:Ne,querySelectorAll:Le,removeAttribute:Me,setAttribute:Ce}=Element.prototype,Se=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")},Oe=r(Element.prototype,"childElementCount").get,He=r(Element.prototype,"firstElementChild").get,Ae=r(Element.prototype,"lastElementChild").get,_e=r(HTMLElement.prototype,"innerText"),Re=_e?_e.get:null,$e=_e?_e.set:null,Pe=r(HTMLElement.prototype,"outerText"),De=Pe?Pe.get:null,Ie=Pe?Pe.set:null,Be=c.call(Element.prototype,"innerHTML")?r(Element.prototype,"innerHTML"):r(HTMLElement.prototype,"innerHTML"),xe=Be.get,ke=Be.set,Fe=c.call(Element.prototype,"outerHTML")?r(Element.prototype,"outerHTML"):r(HTMLElement.prototype,"outerHTML"),We=Fe.get,Ue=Fe.set,je=r(Element.prototype,"tagName").get,Ke=r(HTMLElement.prototype,"tabIndex"),Ge=Ke.get,qe=Ke.set,Xe=c.call(Element.prototype,"matches")?Element.prototype.matches:Element.prototype.msMatchesSelector,Ye=c.call(Element.prototype,"children")?r(Element.prototype,"children").get:r(HTMLElement.prototype,"children").get,{getElementsByClassName:Ve}=HTMLElement.prototype,ze=c.call(Element.prototype,"shadowRoot")?r(Element.prototype,"shadowRoot").get:()=>null,Je=c.call(Element.prototype,"assignedSlot")?r(Element.prototype,"assignedSlot").get:()=>null;let Qe,Ze;"undefined"!=typeof HTMLSlotElement?(Qe=HTMLSlotElement.prototype.assignedNodes,Ze=HTMLSlotElement.prototype.assignedElements):(Qe=()=>{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")},Ze=()=>{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 et=r(Event.prototype,"target").get,tt=r(Event.prototype,"currentTarget").get,nt=r(FocusEvent.prototype,"relatedTarget").get,lt=c.call(Event.prototype,"composedPath")?Event.prototype.composedPath:()=>[],ot=r(Document.prototype,"activeElement").get,rt=c.call(Document.prototype,"elementFromPoint")?Document.prototype.elementFromPoint:Document.prototype.msElementFromPoint,it=c.call(Document.prototype,"elementsFromPoint")?Document.prototype.elementsFromPoint:Document.prototype.msElementsFromPoint,at=r(Document.prototype,"defaultView").get,{createComment:ct,createTreeWalker:st,querySelectorAll:ut,getElementById:ft,getElementsByClassName:ht,getElementsByTagName:pt,getElementsByTagNameNS:gt}=Document.prototype,{getElementsByName:mt}=HTMLDocument.prototype,{addEventListener:dt,removeEventListener:bt,getComputedStyle:Et,getSelection:yt}=window,wt=MutationObserver,Tt=wt.prototype.observe;let vt=null;"undefined"!=typeof ShadowRoot&&(vt=ShadowRoot);const Nt=!D(vt),Lt=D(vt)?()=>!1:e=>e instanceof vt;const{createElement:Mt}=Document.prototype;function Ct(e){const t=pe.call(e);return null===t?e:t}function St(e){const t=Ct(e),n=at.call(t);if(null===n)throw new TypeError;return n}let Ot;function Ht(e){if(P(Ot)){const t=Ct(e);Ot=t.body&&"temporary-bypass"===Ee.call(t.body,"data-global-patching-bypass")}return I(Ot)}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=Mt.apply(this,M.call(arguments));return 4===t.length&&115===A.call(t,0)&&108===A.call(t,1)&&111===A.call(t,2)&&116===A.call(t,3)&&h(l,e.prototype),l}})}();const _t="undefined"!=typeof EventTarget?EventTarget.prototype:j.prototype,{addEventListener:Rt,dispatchEvent:$t,removeEventListener:Pt}=_t,Dt="$$HostElementKey$$",It="$$ShadowedNodeKey$$";function Bt(e,t,n){const l=e;{const{value:e}=n;l[t]=e}}function xt(e){return e[Dt]}function kt(e){let t,n=e;for(;!D(n);){if(t=xt(n),!P(t))return t;n=he.call(n)}}function Ft(e){return e[It]}function Wt(e){return!P(xt(e))}function Ut(e){let t=ge.call(e);for(;!D(t)&&qt(t);)e=t,t=ge.call(e);return e}function jt(e,t){const n=Ft(e);let l=t instanceof Element?t:ge.call(t);for(;!D(l)&&l!==e;){const t=kt(l),o=ge.call(l);if(t===n)return qt(l);if(o===e)return!1;if(D(o)||kt(o)===t)l=o;else{if(!qt(o))return!1;if(l=Kt(Ut(o)),!D(l)){if(l===e)return!0;if(kt(l)===n)return!0}}}return!1}function Kt(e){if(!(e instanceof j))return null;const t=kt(e);if(P(t))return null;let n=e;for(;!D(n)&&Ft(n)!==t;)n=he.call(n);return D(n)?null:n}function Gt(e){return qt(e)&&Wt(e)}function qt(e){return e instanceof HTMLSlotElement}function Xt(e,t){const n=kt(t);return P(n)||Ft(e)===n}function Yt(e){const t=rl(e);return Jt(t,At(de.call(t)))}function Vt(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];!Xt(e,o)&&jt(e,o)&&T.call(n,o)}return n}function zt(e,t){for(let n=0,l=t.length;n<l;n+=1){const l=t[n];if(!Xt(e,l)&&jt(e,l))return l}return null}function Jt(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];Xt(e,o)&&T.call(n,o)}return n}function Qt(e,t){for(let n=0,l=t.length;n<l;n+=1)if(Xt(e,t[n]))return t[n];return null}function Zt(e){if(!al(e)&&!qt(e)){return At(de.call(e))}if(al(e)){const t=At(Le.call(e,"slot")),n=nl(il(e));return v.call(t,((e,t)=>(n===nl(t)&&T.apply(e,en(t)),e)),[])}{const t=At(de.call(e)),n=nl(e);return m.call(t,(e=>n===nl(e)))}}function en(e){const t=Kt(e);if(D(t))return[];const n=At(de.call(e));return m.call(n,(e=>!Wt(e)||!Xt(t,e)))}const tn=/[&\u00A0"]/g,nn=/[&\u00A0<>]/g,{replace:ln,toLowerCase:on}=String.prototype;function rn(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" ";default:return""}}function an(e){return ln.call(e,tn,rn)}const cn=new Set(["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"]),sn=new Set(["STYLE","SCRIPT","XMP","IFRAME","NOEMBED","NOFRAMES","PLAINTEXT","NOSCRIPT"]);function un(e){switch(e.nodeType){case V:{const{attributes:t}=e,n=je.call(e);let l="<"+on.call(n);for(let e,n=0;e=t[n];n++)l+=" "+e.name+'="'+an(e.value)+'"';return l+=">",cn.has(n)?l:l+function(e){let t="";const n=Zt(e);for(let e=0,l=n.length;e<l;e+=1)t+=un(n[e]);return t}(e)+"</"+on.call(n)+">"}case z:{const{data:n,parentNode:l}=e;return l instanceof Element&&sn.has(je.call(l))?n:(t=n,ln.call(t,nn,rn))}case J:return`<!CDATA[[${e.data}]]>`;case Q:return`<?${e.target} ${e.data}?>`;case Z:return`\x3c!--${e.data}--\x3e`;default:return""}var t}function fn(e){if(e.nodeType===V){const t=Zt(e);let n="";for(let e=0,l=t.length;e<l;e+=1){const l=t[e];l.nodeType!==Z&&(n+=fn(l))}return n}return e.nodeValue}const hn=new WeakMap;function pn(){throw new TypeError("Illegal constructor")}function gn(e){const n=t(pn.prototype);return hn.set(n,e),H.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}pn.prototype=t(NodeList.prototype,{constructor:{writable:!0,configurable:!0,value:pn},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return hn.get(this).length}},forEach:{writable:!0,enumerable:!0,configurable:!0,value(e,t){H.call(hn.get(this),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value(){return y.call(hn.get(this),((e,t)=>[t,e]))}},keys:{writable:!0,enumerable:!0,configurable:!0,value(){return y.call(hn.get(this),((e,t)=>t))}},values:{writable:!0,enumerable:!0,configurable:!0,value(){return hn.get(this)}},[Symbol.iterator]:{writable:!0,configurable:!0,value(){let e=0;return{next:()=>{const t=hn.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(pn,NodeList);const mn=(e,t)=>{let n;for(;!P(n=e.host);){const l=n.getRootNode();if(l===t)return n;e=l}};function dn(e,t,n,l){const o=it.call(t,n,l),r=[],i=function(e){var t;const n=[];let l=e.getRootNode();for(;!P(l);)n.push(l),l=null===(t=l.host)||void 0===t?void 0:t.getRootNode();return n}(e);if(!D(o))for(let e=0;e<o.length;e++){const t=o[e];if(Gt(t))continue;const n=t.getRootNode();if(-1!==b.call(i,n)){T.call(r,t);continue}const l=mn(n,i[0]);P(l)||-1!==b.call(o,l)||-1!==b.call(r,l)||T.call(r,l)}return r}const bn=new WeakMap;function En(){throw new TypeError("Illegal constructor")}function yn(e){const n=t(En.prototype);return bn.set(n,e),H.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}En.prototype=t(HTMLCollection.prototype,{constructor:{writable:!0,configurable:!0,value:En},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return bn.get(this).length}},namedItem:{writable:!0,enumerable:!0,configurable:!0,value(e){if(""===e)return null;const t=bn.get(this);for(let n=0,l=t.length;n<l;n++){const n=t[l];if(e===Ee.call(n,"id")||e===Ee.call(n,"name"))return n}return null}},[Symbol.toStringTag]:{configurable:!0,get:()=>"HTMLCollection"},toString:{writable:!0,configurable:!0,value:()=>"[object HTMLCollection]"}}),h(En,HTMLCollection),F.lwcRuntimeFlags||Object.defineProperty(F,"lwcRuntimeFlags",{value:t(null)});const wn=F.lwcRuntimeFlags;function Tn(e){return Gt(e)||al(e)}function vn(e,t){const n=Kt(e);if(t===n)return il(n);if(t instanceof Element){if(kt(e)===kt(t))return t;if(!D(n)&&qt(t)){const e=Kt(t);if(!D(e)&&Xt(n,e))return e}}return null}function Nn(){return Dn(this).length>0}function Ln(){return Dn(this)[0]||null}function Mn(){const e=Dn(this);return e[e.length-1]||null}function Cn(){return fn(this)}function Sn(){const e=he.call(this);return D(e)?e:vn(this,e)}function On(){const e=he.call(this);if(D(e))return null;const t=vn(this,e);return t instanceof Element?t:null}function Hn(e){return this===e?0:this.getRootNode()===e?10:xt(this)!==xt(e)?35:le.call(this,e)}function An(e){return null!=e&&xt(this)===xt(e)&&0!=(le.call(this,e)&G)}function _n(e){const t=ne.call(this,!1);if(!e)return t;const n=Dn(this);for(let e=0,l=n.length;e<l;e+=1)t.appendChild(n[e].cloneNode(!0));return t}function Rn(){if(al(this)){const e=Kt(this);return gn(D(e)?[]:Jt(e,Zt(this)))}return de.call(this)}const $n=j.prototype.getRootNode,Pn=P($n)?function(){let e,t=this;for(;!D(e=he.call(t));)t=e;return t}:$n;n(j.prototype,{firstChild:{get(){return Tn(this)?Ln.call(this):se.call(this)},enumerable:!0,configurable:!0},lastChild:{get(){return Tn(this)?Mn.call(this):ue.call(this)},enumerable:!0,configurable:!0},textContent:{get(){return wn.ENABLE_NODE_PATCH?Ht(this)?fe.call(this):Cn.call(this):Wt(this)||al(this)?Cn.call(this):fe.call(this)},set:function(e){me.call(this,e)},enumerable:!0,configurable:!0},parentNode:{get(){if(Wt(this))return Sn.call(this);const e=he.call(this);return!D(e)&&Gt(e)?Kt(e):e},enumerable:!0,configurable:!0},parentElement:{get(){if(Wt(this))return On.call(this);const e=ge.call(this);return!D(e)&&Gt(e)?Kt(e):e},enumerable:!0,configurable:!0},childNodes:{get(){return Tn(this)?Rn.call(this):de.call(this)},enumerable:!0,configurable:!0},hasChildNodes:{value(){return Tn(this)?Nn.call(this):ae.call(this)},enumerable:!0,writable:!0,configurable:!0},compareDocumentPosition:{value(e){return Ht(this)?le.call(this,e):Hn.call(this,e)},enumerable:!0,writable:!0,configurable:!0},contains:{value(e){return this===e||(wn.ENABLE_NODE_PATCH?Ht(this)?ce.call(this,e):An.call(this,e):null!=e&&(Wt(this)||al(this)?An.call(this,e):ce.call(this,e)))},enumerable:!0,writable:!0,configurable:!0},cloneNode:{value(e){return wn.ENABLE_NODE_PATCH?I(e)?Ht(this)?ne.call(this,e):_n.call(this,e):ne.call(this,e):Wt(this)||al(this)?_n.call(this,e):ne.call(this,e)},enumerable:!0,writable:!0,configurable:!0},getRootNode:{value:function(e){return I(!P(e)&&!!e.composed)?Pn.call(this,e):function(e){const t=Kt(e);return D(t)?Pn.call(e):il(t)}(this)},enumerable:!0,configurable:!0,writable:!0},isConnected:{enumerable:!0,configurable:!0,get(){return be.call(this)}}});const Dn=function(e){return e.childNodes};c.call(HTMLElement.prototype,"contains")&&l(HTMLElement.prototype,"contains",r(j.prototype,"contains")),c.call(HTMLElement.prototype,"parentElement")&&l(HTMLElement.prototype,"parentElement",r(j.prototype,"parentElement"));const In=new WeakMap,Bn=new WeakMap;function xn(e,t,n){if(t===n)return!0;let l=Bn.get(e);return P(l)&&(l=e.composedPath(),Bn.set(e,l)),l.includes(n)}function kn(e){if(!function(e){return x(e)||k(e)&&!D(e)&&x(e.handleEvent)}(e))return e;let t=In.get(e);return P(t)&&(t=function(t){const n=tt.call(t);if(xn(t,jn(t),n))return x(e)?e.call(this,t):e.handleEvent&&e.handleEvent(t)},In.set(e,t)),t}const Fn=new WeakMap,Wn=new WeakMap;function Un(e){let n=Wn.get(e);return P(n)&&(n=t(null),Wn.set(e,n)),n}function jn(e){var t;return null!==(t=pl.get(e))&&void 0!==t?t:et.call(e)}const Kn=new WeakMap;function Gn(e){if(!x(e))throw new TypeError;let t=Kn.get(e);return P(t)&&(t=function(t){let n=tt.call(t);Lt(n)||(n=il(n));xn(t,jn(t),n)&&e.call(n,t)},t.placement=1,Kn.set(e,t)),t}const qn=new WeakMap;function Xn(e){if(!x(e))throw new TypeError;let t=qn.get(e);return P(t)&&(t=function(t){const n=tt.call(t);xn(t,jn(t),n)&&e.call(n,t)},t.placement=0,qn.set(e,t)),t}function Yn(e){let t=!1,n=!1;const{type:o,stopImmediatePropagation:r,stopPropagation:i}=e,a=Un(tt.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=M.call(a);function s(n){H.call(c,(l=>{B(t)&&l.placement===n&&-1!==b.call(a,l)&&l.call(void 0,e)}))}Fn.set(e,1),s(1),B(t)&&B(n)&&(Fn.set(e,0),s(0)),Fn.set(e,2)}function Vn(e,t,n){const l=Un(e);let o=l[t];P(o)&&(o=l[t]=[]),-1===b.call(o,n)&&(0===o.length&&Rt.call(e,t,Yn),T.call(o,n))}function zn(e,t,n){let l,o;P(o=Un(e)[t])||-1===(l=b.call(o,n))||(S.call(o,l,1),0===o.length&&Pt.call(e,t,Yn))}function Jn(e,t,n){if(x(t)){Vn(this,e,Xn(t))}}function Qn(e,t,n){if(x(t)){zn(this,e,Xn(t))}}const Zn=new WeakMap,{createDocumentFragment:el}=document;function tl(e){const t=Zn.get(e);if(P(t))throw new TypeError;return t}function nl(e){return e.$shadowResolver$}function ll(e,t){e.$shadowResolver$=t}function ol(e){return tl(e).delegatesFocus}function rl(e){return tl(e).host}function il(e){return tl(e).shadowRoot}function al(e){const t=Zn.get(e);return!P(t)&&e===t.host}function cl(e){const t=Zn.get(e);return!P(t)&&e===t.shadowRoot}l(j.prototype,W,{set(e){var t,n;P(e)||(this.$$ShadowResolverKey$$=e,t=this,n=e.nodeKey,Bt(t,Dt,{value:n,configurable:!0}))},get(){return this.$$ShadowResolverKey$$},configurable:!0,enumerable:!0}),l(F,"$isNativeShadowRootDefined$",{value:Nt});let sl=0;function ul(e,t){if(Zn.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=Ct(e),r=el.call(o),i={mode:n,delegatesFocus:!!l,host:e,shadowRoot:r};Zn.set(r,i),Zn.set(e,i);const a=()=>r,c=a.nodeKey=sl++;return Bt(e,It,{value:c}),ll(r,a),h(r,ml.prototype),r}const fl={constructor:{writable:!0,configurable:!0,value:ml},toString:{writable:!0,configurable:!0,value:()=>"[object ShadowRoot]"},synthetic:{writable:!1,enumerable:!1,configurable:!1,value:!0}},hl={activeElement:{enumerable:!0,configurable:!0,get(){const e=rl(this),t=Ct(e),n=ot.call(t);if(D(n))return n;if(0==(le.call(e,n)&G))return null;let l=n;for(;!Xt(e,l);)l=ge.call(l);return qt(l)?null:l}},delegatesFocus:{configurable:!0,get(){return tl(this).delegatesFocus}},elementFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return El(this,Ct(rl(this)),e,t)}},elementsFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return dn(this,Ct(rl(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 rl(this)}},mode:{configurable:!0,get(){return tl(this).mode}},styleSheets:{enumerable:!0,configurable:!0,get(){throw new Error}}},pl=new WeakMap,gl={insertBefore:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return oe.call(rl(this),e,t),e}},removeChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return re.call(rl(this),e),e}},appendChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return te.call(rl(this),e),e}},replaceChild:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return ie.call(rl(this),e,t),t}},addEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,l){x(n)&&Vn(rl(e),t,Gn(n))}(this,e,t)}},dispatchEvent:{writable:!0,enumerable:!0,configurable:!0,value(e){return pl.set(e,this),$t.apply(rl(this),arguments)}},removeEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,l){x(n)&&zn(rl(e),t,Gn(n))}(this,e,t)}},baseURI:{enumerable:!0,configurable:!0,get(){return rl(this).baseURI}},childNodes:{enumerable:!0,configurable:!0,get(){return gn(Yt(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=rl(this);return this===e?0:this.contains(e)?20:le.call(t,e)&G?37:35}},contains:{writable:!0,enumerable:!0,configurable:!0,value(e){if(this===e)return!0;const t=rl(this);return 0!=(le.call(t,e)&G)&&Xt(t,e)}},firstChild:{enumerable:!0,configurable:!0,get(){return Dn(this)[0]||null}},lastChild:{enumerable:!0,configurable:!0,get(){const e=Dn(this);return e[e.length-1]||null}},hasChildNodes:{writable:!0,enumerable:!0,configurable:!0,value(){return Dn(this).length>0}},isConnected:{enumerable:!0,configurable:!0,get(){return be.call(rl(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 rl(this).ownerDocument}},parentElement:{enumerable:!0,configurable:!0,get:()=>null},parentNode:{enumerable:!0,configurable:!0,get:()=>null},textContent:{enumerable:!0,configurable:!0,get(){const e=Dn(this);let t="";for(let n=0,l=e.length;n<l;n+=1){const l=e[n];l.nodeType!==Z&&(t+=fn(l))}return t},set(e){const t=rl(this);me.call(t,e)}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value(e){return!P(e)&&I(e.composed)?rl(this).getRootNode(e):this}}};function ml(){throw new TypeError("Illegal constructor")}function dl(e,t){const n=[];let l;if(e instanceof Window)l=e;else{if(!(e instanceof j))return n;l=e.getRootNode()}let o,r=e;for(;!D(r);)if(n.push(r),r instanceof Element||r instanceof Text){const e=r.assignedSlot;r=D(e)?r.parentNode:e}else r=!cl(r)&&!Lt(r)||!t&&r===l?r instanceof j?r.parentNode:null:r.host;return o=e instanceof Window?e.document:Ct(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 bl(e,t){if(D(e))return null;const n=dl(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),!cl(o)||!P(r)&&r>-1)return e;return null}function El(e,t,n,l){const o=rt.call(t,n,l);return D(o)?o:bl(e,dl(o,!0))}e(hl,gl,{childElementCount:{enumerable:!0,configurable:!0,get(){return this.children.length}},children:{enumerable:!0,configurable:!0,get(){return yn(m.call(Yt(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=rl(e);return Qt(n,At(Le.call(n,t)))}(this,e)}},querySelectorAll:{writable:!0,enumerable:!0,configurable:!0,value(e){return gn(function(e,t){const n=rl(e);return Jt(n,At(Le.call(n,t)))}(this,e))}}},{innerHTML:{enumerable:!0,configurable:!0,get(){const e=Dn(this);let t="";for(let n=0,l=e.length;n<l;n+=1)t+=un(e[n]);return t},set(e){const t=rl(this);Fe.call(t,e)}}},fl),ml.prototype=t(DocumentFragment.prototype,hl),l(ml,Symbol.hasInstance,{value:function(e){return F(e)&&!D(e)&&(Lt(e)||a(e)===ml.prototype)}}),Document.prototype.elementFromPoint=function(e,t){return El(this,this,e,t)},Document.prototype.elementsFromPoint=function(e,t){return dn(this,this,e,t)},l(Document.prototype,"activeElement",{get(){let e=ot.call(this);if(D(e))return e;for(;!P(kt(e));)if(e=ge.call(e),D(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,M.call(arguments));return D(e)?null:P(kt(e))||Ht(e)?e:null},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"querySelector",{value(){const e=At(ut.apply(this,M.call(arguments))),t=d.call(e,(e=>P(kt(e))||Ht(e)));return P(t)?null:t},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"querySelectorAll",{value(){const e=At(ut.apply(this,M.call(arguments)));return gn(m.call(e,(e=>P(kt(e))||Ht(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByClassName",{value(){const e=At(ft.apply(this,M.call(arguments)));return yn(m.call(e,(e=>P(kt(e))||Ht(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByTagName",{value(){const e=At(pt.apply(this,M.call(arguments)));return yn(m.call(e,(e=>P(kt(e))||Ht(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByTagNameNS",{value(){const e=At(gt.apply(this,M.call(arguments)));return yn(m.call(e,(e=>P(kt(e))||Ht(e))))},writable:!0,enumerable:!0,configurable:!0}),l(r(HTMLDocument.prototype,"getElementsByName")?HTMLDocument.prototype:Document.prototype,"getElementsByName",{value(){const e=At(mt.apply(this,M.call(arguments)));return gn(m.call(e,(e=>P(kt(e))||Ht(e))))},writable:!0,enumerable:!0,configurable:!0}),Object.defineProperty(window,"ShadowRoot",{value:ml,configurable:!0,writable:!0});const yl=Object.getOwnPropertyDescriptor(Event.prototype,"composed");const wl=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"click");function Tl(e){Object.defineProperty(e,"composed",{configurable:!0,enumerable:!0,get:()=>!0})}(function(){if(!yl)return!1;let e=new Event("click");const t=document.createElement("button");return t.addEventListener("click",(t=>e=t)),t.click(),!yl.get.call(e)})()&&(HTMLElement.prototype.click=function(){Rt.call(this,"click",Tl);try{wl.value.call(this)}finally{Pt.call(this,"click",Tl)}}),!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 vl=CustomEvent;function Nl(e,t){const n=new vl(e,t),l=!(!t||!t.composed);return Object.defineProperties(n,{composed:{get:()=>l,configurable:!0,enumerable:!0}}),n}if(Nl.prototype=vl.prototype,window.CustomEvent=Nl,"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 D(e)||P(kt(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 Ll=MutationObserver,{disconnect:Ml,observe:Cl,takeRecords:Sl}=Ll.prototype,Ol="$$lwcObserverCallbackWrapper$$",Hl=new WeakMap;function Al(e){return e.$$lwcNodeObservers$$}function _l(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 Rl(e,t){let n=t;for(;!D(n);){const t=Al(n);if(!P(t)&&(t[0]===e||-1!==b.call(t,e)))return!0;n=n.parentNode}return!1}function $l(e,t){return v.call(e,((e,n)=>{const{target:l,addedNodes:o,removedNodes:r,type:i}=n;if("childList"!==i||P(xt(l)))Rl(t,l)&&T.call(e,n);else if(o.length>0){const r=o[0];if(Rl(t,r)){const o=Al(l);!o||o[0]!==t&&-1===b.call(o,t)?T.call(e,_l(n)):T.call(e,n)}}else{const o=l.shadowRoot,i=r[0];if(Ft(l)===Ft(i)&&Rl(t,l))T.call(e,n);else if(o){const l=Al(o);!l||l[0]!==t&&-1===b.call(l,t)||T.call(e,_l(n))}}return e}),[])}function Pl(e){const t=function(e){let t=e[Ol];return P(t)&&(t=e[Ol]=(t,n)=>{const l=$l(t,n);0!==l.length&&e.call(n,l,n)}),t}(e);return new Ll(t)}function Dl(e,t,n){if(arguments.length>1){const e=M.call(arguments);return e[1]=Fn(e[1]),dt.apply(this,e)}return dt.apply(this,arguments)}function Il(e,t,n){if(arguments.length>1){const e=M.call(arguments);e[1]=Fn(e[1]),bt.apply(this,e)}bt.apply(this,arguments)}function Bl(){const e=et.call(this);if(!(e instanceof j))return e;const t=Ct(e),n=dl(e,this.composed),l=tt.call(this);if(!(l instanceof j))return D(l)&&P(kt(e))?e:bl(t,n);if(l===t||l===t.body)return P(kt(e))?e:bl(t,n);let o=l,r=n;if(al(l)){1===xn.get(this)&&(o=il(l))}return al(e)&&pl.has(this)&&(r=dl(il(e),this.composed)),bl(o,r)}function kl(){const e=et.call(this);if(!(e instanceof j))return[];const t=Boolean(e.shadowRoot),n=(l=e,Zn.has(l));var l;if(t&&!n)return lt.call(this);if(D(tt.call(this)))return[];let o=e;return al(e)&&pl.has(this)&&(o=il(e)),dl(o,this.composed)}function Fl(e){const t=r(e.prototype,"relatedTarget").get;l(e.prototype,"relatedTarget",{get(){const e=t.call(this);if(D(e))return null;if(!(e instanceof j&&Wt(e)))return e;let n=tt.call(this);return D(n)&&(n=Ct(e)),bl(n,dl(e,!0))},enumerable:!0,configurable:!0})}Pl.prototype=Ll.prototype,Pl.prototype.disconnect=function(){Ml.call(this);const e=Hl.get(this);P(e)||(H.call(e,(e=>{const t=e.$$lwcNodeObservers$$;if(!P(t)){const e=b.call(t,this);-1!==e&&S.call(t,e,1)}})),e.length=0)},Pl.prototype.observe=function(e,t){let n=Al(e);var l;if(P(n)&&(n=[],l=n,e.$$lwcNodeObservers$$=l),-1===b.call(n,this)&&T.call(n,this),cl(e)&&(e=e.host),Hl.has(this)){const t=Hl.get(this);-1===b.call(t,e)&&T.call(t,e)}else Hl.set(this,[e]);return Cl.call(this,e,t)},Pl.prototype.takeRecords=function(){return $l(Sl.call(this),this)},l(window,"MutationObserver",{value:Pl,configurable:!0,writable:!0}),n(_t,{addEventListener:{value:function(e,t,n){if(al(this))return Jn.apply(this,arguments);if(arguments.length<2){const e=M.call(arguments);return e.length>1&&(e[1]=Fn(e[1])),Rt.apply(this,e)}const l=Fn(t);return Rt.call(this,e,l,n)},enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:function(e,t,n){if(al(this))return Qn.apply(this,arguments);const l=M.call(arguments);arguments.length>1&&(l[1]=Fn(l[1])),Pt.apply(this,l),Pt.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),"undefined"==typeof EventTarget&&n(Window.prototype,{addEventListener:{value:Dl,enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:Il,enumerable:!0,writable:!0,configurable:!0}}),n(Event.prototype,{target:{get:Bl,enumerable:!0,configurable:!0},currentTarget:{get:function(){const e=tt.call(this);return D(e)?null:1===xn.get(this)?il(e):e},enumerable:!0,configurable:!0},composedPath:{value:kl,writable:!0,enumerable:!0,configurable:!0},srcElement:{get:Bl,enumerable:!0,configurable:!0},path:{get:kl,enumerable:!0,configurable:!0}}),Fl(FocusEvent),Fl(MouseEvent);const xl=c.call(Text.prototype,"assignedSlot")?r(Text.prototype,"assignedSlot").get:()=>null;let Wl;const Ul={childList:!0},jl=new WeakMap;function Kl(e){const t=At(de.call(e));return v.call(t,((e,t)=>(t instanceof Element&&qt(t)?T.apply(e,Kl(t)):T.call(e,t),e)),[])}function Gl(){const e=fe.call(this);if(e instanceof Element){const t=ze.call(e);if(Lt(t))return this instanceof Text?xl.call(this):Je.call(this)}return!D(e)&&qt(e)&&kt(e)!==kt(this)?e:null}function ql(e,t){let n;const l=kt(e);if(P(l))n=e instanceof HTMLBodyElement?m.call(t,(t=>P(kt(t))||Ht(e))):M.call(t);else if(al(e)){const l=Kt(e);n=D(l)?[]:xt(e)?Vt(e,t):Jt(l,t)}else n=m.call(t,(e=>Ft(e)===l));return n}function Xl(){const e=Dn(this);let t="";for(let n=0,l=e.length;n<l;n+=1)t+=un(e[n]);return t}function Yl(){return un(this)}function Vl(){const e=Kt(this),t=D(e)?[]:Jt(e,Zt(this));return yn(m.call(t,(e=>e instanceof Element)))}function zl(){return this.children.length}function Jl(){return this.children[0]||null}function Ql(){const{children:e}=this;return e.item(e.length-1)||null}function Zl(e,t,n){let l;if(al(e)){const n=Kt(e);l=D(n)?[]:xt(e)?Vt(e,t):Jt(n,t)}else if(Wt(e)){const o=kt(e);if(P(o))if(1===n){const n=Ft(e);l=m.call(t,(e=>Ft(e)===n))}else l=M.call(t);else l=m.call(t,(e=>Ft(e)===o))}else l=e instanceof HTMLBodyElement||1===n?m.call(t,(t=>P(kt(t))||Ht(e))):M.call(t);return l}function eo(e){const t=St(e);return Et.call(t,e)}function to(e){const t=St(e);return yt.call(t)}function no(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||jl.get(this)||(jl.set(this,!0),Wl||(Wl=new wt((e=>{const t=[];H.call(e,(e=>{const{target:n}=e;-1===b.call(t,n)&&(T.call(t,n),$t.call(n,new CustomEvent("slotchange")))}))}))),Tt.call(Wl,this,Ul))},writable:!0,enumerable:!0,configurable:!0},assignedElements:{value(e){if(Wt(this)){const t=!P(e)&&I(e.flatten)?Kl(this):en(this);return m.call(t,(e=>e instanceof Element))}return Ze.apply(this,M.call(arguments))},writable:!0,enumerable:!0,configurable:!0},assignedNodes:{value(e){if(Wt(this)){return!P(e)&&I(e.flatten)?Kl(this):en(this)}return Qe.apply(this,M.call(arguments))},writable:!0,enumerable:!0,configurable:!0},name:{get(){const e=Ee.call(this,"name");return D(e)?"":e},set(e){Ce.call(this,"name",e)},enumerable:!0,configurable:!0},childNodes:{get(){if(Wt(this)){const e=Kt(this);return gn(D(e)?[]:Jt(e,Zt(this)))}return de.call(this)},enumerable:!0,configurable:!0}}),n(Text.prototype,{assignedSlot:{get:Gl,enumerable:!0,configurable:!0}}),n(Element.prototype,{innerHTML:{get(){return wn.ENABLE_ELEMENT_PATCH?Ht(this)?ke.call(this):Xl.call(this):Wt(this)||al(this)?Xl.call(this):ke.call(this)},set(e){Fe.call(this,e)},enumerable:!0,configurable:!0},outerHTML:{get(){return wn.ENABLE_ELEMENT_PATCH?Ht(this)?We.call(this):Yl.call(this):Wt(this)||al(this)?Yl.call(this):We.call(this)},set(e){Ue.call(this,e)},enumerable:!0,configurable:!0},attachShadow:{value:function(e){return e["$$lwc-synthetic-mode"]?ul(this,e):Se.call(this,e)},enumerable:!0,writable:!0,configurable:!0},shadowRoot:{get:function(){if(al(this)){const e=il(this);if("open"===e.mode)return e}return ze.call(this)},enumerable:!0,configurable:!0},children:{get(){return Tn(this)?Vl.call(this):Ye.call(this)},enumerable:!0,configurable:!0},childElementCount:{get(){return Tn(this)?zl.call(this):Oe.call(this)},enumerable:!0,configurable:!0},firstElementChild:{get(){return Tn(this)?Jl.call(this):He.call(this)},enumerable:!0,configurable:!0},lastElementChild:{get(){return Tn(this)?Ql.call(this):Ae.call(this)},enumerable:!0,configurable:!0},assignedSlot:{get:Gl,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(Le.apply(this,M.call(arguments)));if(al(this)){const t=Kt(this);return D(t)?null:xt(this)?zt(this,e):Qt(t,e)}if(Wt(this)){const t=kt(this);if(P(t)){if(!wn.ENABLE_NODE_LIST_PATCH)return 0===e.length?null:e[0];const t=Ft(this),n=d.call(e,(e=>Ft(e)===t));return P(n)?null:n}{const n=d.call(e,(e=>Ft(e)===t));return P(n)?null:n}}{if(!(wn.ENABLE_NODE_LIST_PATCH||this instanceof HTMLBodyElement)){const t=e[0];return P(t)?null:t}const t=d.call(e,(e=>P(kt(e))||Ht(this)));return P(t)?null:t}},writable:!0,enumerable:!0,configurable:!0},querySelectorAll:{value(){const e=At(Le.apply(this,M.call(arguments)));if(!wn.ENABLE_NODE_LIST_PATCH){return gn(Zl(this,e,0))}return gn(Zl(this,e,1))},writable:!0,enumerable:!0,configurable:!0}}),n(Element.prototype,{getElementsByClassName:{value(){const e=At(Ve.apply(this,M.call(arguments)));if(!wn.ENABLE_HTML_COLLECTIONS_PATCH)return yn(ql(this,e));return yn(Zl(this,e,1))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagName:{value(){const e=At(we.apply(this,M.call(arguments)));if(!wn.ENABLE_HTML_COLLECTIONS_PATCH)return yn(ql(this,e));return yn(Zl(this,e,1))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagNameNS:{value(){const e=At(Te.apply(this,M.call(arguments)));if(!wn.ENABLE_HTML_COLLECTIONS_PATCH)return yn(ql(this,e));return yn(Zl(this,e,1))},writable:!0,enumerable:!0,configurable:!0}}),c.call(HTMLElement.prototype,"getElementsByClassName")&&l(HTMLElement.prototype,"getElementsByClassName",r(Element.prototype,"getElementsByClassName"));function lo(e){const t=[];if((e=>e.nodeType===V)(e)){const{tagName:n}=e,l=eo(e);if("OPTION"===n)return[1,Re.call(e),1];if("TEXTAREA"===n)return[];{const n=e.childNodes;for(let e=0,l=n.length;e<l;e++)T.apply(t,lo(n[e]))}if(!no(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===z)(e)&&t.push(function(e){const t=to(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 oo(e){if(!no(eo(e)))return hn(e)||"";const t=function(e){const t=St(e),n=to(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++)T.apply(n,lo(l[e]));!function(e){if(null===e)return;const{element:t,onselect:n,onselectstart:l,onselectionchange:o,ranges:r}=e,i=St(t),a=to(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 ro="\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",io=new Set(["BUTTON","INPUT","SELECT","TEXTAREA"]);function ao(e){return e.filter((e=>ve.call(e,"tabindex")?"0"===Ee.call(e,"tabindex"):!io.has(je.call(e))||!ve.call(e,"disabled")))}const co=new WeakMap;function so(e){return(!al(e)||!ol(e))&&(Xe.call(e,ro)&&function(e){const{width:t,height:n}=ye.call(e),l=t>0||n>0,o="AREA"===e.tagName;return(l||o)&&"hidden"!==getComputedStyle(e).visibility}(e))}function uo(){const e=this.getRootNode();if(e===this){const e=Ne.call(this,ro);return void(D(e)||e.focus.apply(e,arguments))}const t=e;if(t.activeElement===this)return;const n=At(Le.call(this,ro));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=Ct(e),n=ao(At(ut.call(t,ro))),l=ao(At(Le.call(e,ro))),o=l[0],r=l[l.length-1],i=b.call(n,e),a=i>-1?i:b.call(n,o),c=0===l.length?a+1:b.call(n,r)+1;return{prev:M.call(n,0,a),inner:l,next:M.call(n,c)}}function fo(e,t){const n=le.call(e,t);return n&G?0:n&X?1:n&Y?2:-1}function po(e){e.preventDefault(),e.stopPropagation()}function go(e,t){dt.call(e,"focusin",po,!0),dt.call(e,"focusout",po,!0),t(),bt.call(e,"focusin",po,!0),bt.call(e,"focusout",po,!0)}function mo(e,t,n){const l=St(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(No(t.getRootNode(),n))return n}return null}(e,n);D(o)?go(l,(()=>{t.blur()})):go(l,(()=>{o.focus()}))}let bo=!1;function Eo(){bo=!0}function yo(){bo=!1}function wo(){return!bo}function To(e){if(bo)return;const t=tt.call(e),n=et.call(e);if(t!==n)return;const l=nt.call(e);if(D(l))return;const o=ho(t);if(1===fo(t,l)){const e=No.bind(null,t.getRootNode()),r=d.call(o.inner,e);if(P(r))mo(o.next,n,l);else{go(St(r),(()=>{r.focus()}))}}else t===n&&mo(N.call(o.prev),n,l)}function vo(e){if(bo)return;const t=nt.call(e);if(D(t))return;const n=tt.call(e),l=ho(n);if(-1!==b.call(l.inner,t))return;const o=et.call(e),r=fo(n,t);1===r&&mo(l.next,o,t),2===r&&mo(N.call(l.prev),o,t)}function No(e,t){if(!so(t))return!1;const n=Ct(t);let l=t.getRootNode();for(;l!==n&&l!==e;){const e=l.host;if("-1"===Ee.call(e,"tabindex"))return!1;l=e&&e.getRootNode()}return!0}function Lo(e){Pt.call(e,"focusin",To,!0)}function Mo(e){const t=Ct(e);co.get(t)||(co.set(t,!0),Rt.call(t,"mousedown",Eo,!0),Rt.call(t,"mouseup",(()=>{setTimeout(yo)}),!0),Rt.call(t,"dragstart",yo,!0))}function Co(e){Pt.call(e,"focusin",vo,!0)}const{blur:So,focus:Oo}=HTMLElement.prototype;function Ho(){return ol(this)&&B(ve.call(this,"tabindex"))?0:Ge.call(this)}function Ao(e){const t=ol(this),n=Ge.call(this),l=ve.call(this,"tabindex");qe.call(this,e);const o=Ge.call(this),r=ve.call(this,"tabindex"),i=n!==o;var a;(l&&(i||B(r))&&(-1===n&&Co(this),0===n&&t&&Lo(this)),B(r))||(l&&r&&B(i)||(-1===o&&(Mo(a=this),Lo(a),Rt.call(a,"focusin",vo,!0)),0===o&&t&&function(e){Mo(e),Co(e),Rt.call(e,"focusin",To,!0)}(this)))}function _o(){if(ol(this)){const e=function(e){const t=Ct(e),n=ot.call(t);return D(n)||0!=(le.call(e,n)&G)?n:null}(this);if(!D(e))return void e.blur()}return So.call(this)}function Ro(){const e=wo();e&&Eo(),al(this)&&ol(this)?uo.call(this):(Oo.apply(this,arguments),e&&yo())}n(HTMLElement.prototype,{tabIndex:{get(){return al(this)?Ho.call(this):Ge.call(this)},set(e){return al(this)?Ao.call(this,e):qe.call(this,e)},enumerable:!0,configurable:!0},blur:{value(){if(al(this))return _o.call(this);So.call(this)},enumerable:!0,writable:!0,configurable:!0},focus:{value(){Ro.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),null!==Re&&null!==$e&&l(HTMLElement.prototype,"innerText",{get(){return wn.ENABLE_INNER_OUTER_TEXT_PATCH?wn.ENABLE_ELEMENT_PATCH?Ht(this)?Re.call(this):oo(this):Wt(this)||al(this)?oo(this):Re.call(this):Re.call(this)},set(e){$e.call(this,e)},enumerable:!0,configurable:!0}),null!==De&&null!==Ie&&l(HTMLElement.prototype,"outerText",{get(){return wn.ENABLE_INNER_OUTER_TEXT_PATCH?wn.ENABLE_ELEMENT_PATCH?Ht(this)?De.call(this):oo(this):Wt(this)||al(this)?oo(this):De.call(this):De.call(this)},set(e){Ie.call(this,e)},enumerable:!0,configurable:!0}),l(Element.prototype,U,{set(e){const t=this.$$ShadowTokenKey$$;P(t)||t===e||Me.call(this,t),P(e)||Ce.call(this,e,""),this.$$ShadowTokenKey$$=e},get(){return this.$$ShadowTokenKey$$},configurable:!0}),l(Element.prototype,"$shadowStaticNode$",{set(e){const t=this.$shadowResolver$;if(e){const e=st.call(Ct(this),this,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_COMMENT|NodeFilter.SHOW_TEXT,(()=>NodeFilter.FILTER_ACCEPT),!1);let n;for(;n=e.nextNode();)n.$shadowResolver$=t}this.$shadowStaticNodeKey$=e},get(){return this.$shadowStaticNodeKey$},configurable:!0});const $o=function(){};let Po;const Do={childList:!0};function Io(e,t,n){const l=nl(e);if(l!==t&&(ll(e,t),e instanceof Element)){if(function(e,t){e.$shadowToken$=t}(e,n),al(e))return;P(l)&&Tt.call(Po,e,Do);const o=de.call(e);for(let e=0,l=o.length;e<l;e+=1)Io(o[e],t,n)}}function Bo(e){if(P(Po)&&(Po=new wt((e=>{H.call(e,(e=>{const{target:t,addedNodes:n,removedNodes:l}=e,o=nl(t),r=t.$shadowToken$;for(let e=0,n=l.length;e<n;e+=1){const n=l[e];le.call(t,n)&j.DOCUMENT_POSITION_CONTAINED_BY||Io(n,$o,void 0)}for(let e=0,l=n.length;e<l;e+=1){const l=n[e];le.call(t,l)&j.DOCUMENT_POSITION_CONTAINED_BY&&Io(l,o,r)}}))}))),P(nl(e)))throw new Error("Invalid Element");Tt.call(Po,e,Do)}l(Element.prototype,"$domManual$",{set(e){this.$$DomManualKey$$=e,I(e)&&Bo(this)},get(){return this.$$DomManualKey$$},configurable:!0})}));
|
|
10
|
+
*/function bl(e,t){if(D(e))return null;const n=dl(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),!cl(o)||!P(r)&&r>-1)return e;return null}function El(e,t,n,l){const o=rt.call(t,n,l);return D(o)?o:bl(e,dl(o,!0))}e(fl,gl,{childElementCount:{enumerable:!0,configurable:!0,get(){return this.children.length}},children:{enumerable:!0,configurable:!0,get(){return yn(m.call(Yt(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=rl(e);return Qt(n,At(Le.call(n,t)))}(this,e)}},querySelectorAll:{writable:!0,enumerable:!0,configurable:!0,value(e){return gn(function(e,t){const n=rl(e);return Jt(n,At(Le.call(n,t)))}(this,e))}}},{innerHTML:{enumerable:!0,configurable:!0,get(){const e=Dn(this);let t="";for(let n=0,l=e.length;n<l;n+=1)t+=un(e[n]);return t},set(e){const t=rl(this);ke.call(t,e)}}},hl),ml.prototype=t(DocumentFragment.prototype,fl),l(ml,Symbol.hasInstance,{value:function(e){return k(e)&&!D(e)&&(Lt(e)||a(e)===ml.prototype)}}),Document.prototype.elementFromPoint=function(e,t){return El(this,this,e,t)},Document.prototype.elementsFromPoint=function(e,t){return dn(this,this,e,t)},l(Document.prototype,"activeElement",{get(){let e=ot.call(this);if(D(e))return e;for(;!P(xt(e));)if(e=ge.call(e),D(e))return null;return"HTML"===e.tagName&&(e=this.body),e},enumerable:!0,configurable:!0}),l(Document.prototype,"getElementById",{value(){const e=ft.apply(this,M.call(arguments));return D(e)?null:P(xt(e))||Ht(e)?e:null},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"querySelector",{value(){const e=At(ut.apply(this,M.call(arguments))),t=d.call(e,(e=>P(xt(e))||Ht(e)));return P(t)?null:t},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"querySelectorAll",{value(){const e=At(ut.apply(this,M.call(arguments)));return gn(m.call(e,(e=>P(xt(e))||Ht(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByClassName",{value(){const e=At(ht.apply(this,M.call(arguments)));return yn(m.call(e,(e=>P(xt(e))||Ht(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByTagName",{value(){const e=At(pt.apply(this,M.call(arguments)));return yn(m.call(e,(e=>P(xt(e))||Ht(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByTagNameNS",{value(){const e=At(gt.apply(this,M.call(arguments)));return yn(m.call(e,(e=>P(xt(e))||Ht(e))))},writable:!0,enumerable:!0,configurable:!0}),l(r(HTMLDocument.prototype,"getElementsByName")?HTMLDocument.prototype:Document.prototype,"getElementsByName",{value(){const e=At(mt.apply(this,M.call(arguments)));return gn(m.call(e,(e=>P(xt(e))||Ht(e))))},writable:!0,enumerable:!0,configurable:!0}),Object.defineProperty(window,"ShadowRoot",{value:ml,configurable:!0,writable:!0});const yl=Object.getOwnPropertyDescriptor(Event.prototype,"composed");const wl=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"click");function Tl(e){Object.defineProperty(e,"composed",{configurable:!0,enumerable:!0,get:()=>!0})}(function(){if(!yl)return!1;let e=new Event("click");const t=document.createElement("button");return t.addEventListener("click",(t=>e=t)),t.click(),!yl.get.call(e)})()&&(HTMLElement.prototype.click=function(){Rt.call(this,"click",Tl);try{wl.value.call(this)}finally{Pt.call(this,"click",Tl)}}),!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 vl=CustomEvent;function Nl(e,t){const n=new vl(e,t),l=!(!t||!t.composed);return Object.defineProperties(n,{composed:{get:()=>l,configurable:!0,enumerable:!0}}),n}if(Nl.prototype=vl.prototype,window.CustomEvent=Nl,"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&&I(Proxy.isCompat);return e&&t})()&&function(){const e=r(HTMLIFrameElement.prototype,"contentWindow"),{get:t}=e;e.get=function(){const e=t.call(this);return D(e)||P(xt(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 Ll=MutationObserver,{disconnect:Ml,observe:Cl,takeRecords:Sl}=Ll.prototype,Ol="$$lwcObserverCallbackWrapper$$",Hl=new WeakMap;function Al(e){return e.$$lwcNodeObservers$$}function _l(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 Rl(e,t){let n=t;for(;!D(n);){const t=Al(n);if(!P(t)&&(t[0]===e||-1!==b.call(t,e)))return!0;n=n.parentNode}return!1}function $l(e,t){return v.call(e,((e,n)=>{const{target:l,addedNodes:o,removedNodes:r,type:i}=n;if("childList"!==i||P(Ft(l)))Rl(t,l)&&T.call(e,n);else if(o.length>0){const r=o[0];if(Rl(t,r)){const o=Al(l);!o||o[0]!==t&&-1===b.call(o,t)?T.call(e,_l(n)):T.call(e,n)}}else{const o=l.shadowRoot,i=r[0];if(kt(l)===kt(i)&&Rl(t,l))T.call(e,n);else if(o){const l=Al(o);!l||l[0]!==t&&-1===b.call(l,t)||T.call(e,_l(n))}}return e}),[])}function Pl(e){const t=function(e){let t=e[Ol];return P(t)&&(t=e[Ol]=(t,n)=>{const l=$l(t,n);0!==l.length&&e.call(n,l,n)}),t}(e);return new Ll(t)}function Dl(e,t,n){if(arguments.length>1){const e=M.call(arguments);return e[1]=kn(e[1]),dt.apply(this,e)}return dt.apply(this,arguments)}function Il(e,t,n){if(arguments.length>1){const e=M.call(arguments);e[1]=kn(e[1]),bt.apply(this,e)}bt.apply(this,arguments)}function Bl(){const e=et.call(this);if(!(e instanceof j))return e;const t=Ct(e),n=dl(e,this.composed),l=tt.call(this);if(!(l instanceof j))return D(l)&&P(xt(e))?e:bl(t,n);if(l===t||l===t.body)return P(xt(e))?e:bl(t,n);let o=l,r=n;if(al(l)){1===Fn.get(this)&&(o=il(l))}return al(e)&&pl.has(this)&&(r=dl(il(e),this.composed)),bl(o,r)}function xl(){const e=et.call(this);if(!(e instanceof j))return[];const t=Boolean(e.shadowRoot),n=(l=e,Zn.has(l));var l;if(t&&!n)return lt.call(this);if(D(tt.call(this)))return[];let o=e;return al(e)&&pl.has(this)&&(o=il(e)),dl(o,this.composed)}function kl(e){const t=r(e.prototype,"relatedTarget").get;l(e.prototype,"relatedTarget",{get(){const e=t.call(this);if(D(e))return null;if(!(e instanceof j&&Wt(e)))return e;let n=tt.call(this);return D(n)&&(n=Ct(e)),bl(n,dl(e,!0))},enumerable:!0,configurable:!0})}Pl.prototype=Ll.prototype,Pl.prototype.disconnect=function(){Ml.call(this);const e=Hl.get(this);P(e)||(H.call(e,(e=>{const t=e.$$lwcNodeObservers$$;if(!P(t)){const e=b.call(t,this);-1!==e&&S.call(t,e,1)}})),e.length=0)},Pl.prototype.observe=function(e,t){let n=Al(e);var l;if(P(n)&&(n=[],l=n,e.$$lwcNodeObservers$$=l),-1===b.call(n,this)&&T.call(n,this),cl(e)&&(e=e.host),Hl.has(this)){const t=Hl.get(this);-1===b.call(t,e)&&T.call(t,e)}else Hl.set(this,[e]);return Cl.call(this,e,t)},Pl.prototype.takeRecords=function(){return $l(Sl.call(this),this)},l(window,"MutationObserver",{value:Pl,configurable:!0,writable:!0}),n(_t,{addEventListener:{value:function(e,t,n){if(al(this))return Jn.apply(this,arguments);if(arguments.length<2){const e=M.call(arguments);return e.length>1&&(e[1]=kn(e[1])),Rt.apply(this,e)}const l=kn(t);return Rt.call(this,e,l,n)},enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:function(e,t,n){if(al(this))return Qn.apply(this,arguments);const l=M.call(arguments);arguments.length>1&&(l[1]=kn(l[1])),Pt.apply(this,l),Pt.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),"undefined"==typeof EventTarget&&n(Window.prototype,{addEventListener:{value:Dl,enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:Il,enumerable:!0,writable:!0,configurable:!0}}),n(Event.prototype,{target:{get:Bl,enumerable:!0,configurable:!0},currentTarget:{get:function(){const e=tt.call(this);return D(e)?null:1===Fn.get(this)?il(e):e},enumerable:!0,configurable:!0},composedPath:{value:xl,writable:!0,enumerable:!0,configurable:!0},srcElement:{get:Bl,enumerable:!0,configurable:!0},path:{get:xl,enumerable:!0,configurable:!0}}),kl(FocusEvent),kl(MouseEvent);const Fl=c.call(Text.prototype,"assignedSlot")?r(Text.prototype,"assignedSlot").get:()=>null;let Wl;const Ul={childList:!0},jl=new WeakMap;function Kl(e){const t=At(de.call(e));return v.call(t,((e,t)=>(t instanceof Element&&qt(t)?T.apply(e,Kl(t)):T.call(e,t),e)),[])}function Gl(){const e=he.call(this);if(e instanceof Element){const t=ze.call(e);if(Lt(t))return this instanceof Text?Fl.call(this):Je.call(this)}return!D(e)&&qt(e)&&xt(e)!==xt(this)?e:null}function ql(e,t){let n;const l=xt(e);if(P(l))n=e instanceof HTMLBodyElement?m.call(t,(t=>P(xt(t))||Ht(e))):M.call(t);else if(al(e)){const l=Kt(e);n=D(l)?[]:Ft(e)?Vt(e,t):Jt(l,t)}else n=m.call(t,(e=>kt(e)===l));return n}function Xl(){const e=Dn(this);let t="";for(let n=0,l=e.length;n<l;n+=1)t+=un(e[n]);return t}function Yl(){return un(this)}function Vl(){const e=Kt(this),t=D(e)?[]:Jt(e,Zt(this));return yn(m.call(t,(e=>e instanceof Element)))}function zl(){return this.children.length}function Jl(){return this.children[0]||null}function Ql(){const{children:e}=this;return e.item(e.length-1)||null}function Zl(e,t,n){let l;if(al(e)){const n=Kt(e);l=D(n)?[]:Ft(e)?Vt(e,t):Jt(n,t)}else if(Wt(e)){const o=xt(e);if(P(o))if(1===n){const n=kt(e);l=m.call(t,(e=>kt(e)===n))}else l=M.call(t);else l=m.call(t,(e=>kt(e)===o))}else l=e instanceof HTMLBodyElement||1===n?m.call(t,(t=>P(xt(t))||Ht(e))):M.call(t);return l}function eo(e){const t=St(e);return Et.call(t,e)}function to(e){const t=St(e);return yt.call(t)}function no(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||jl.get(this)||(jl.set(this,!0),Wl||(Wl=new wt((e=>{const t=[];H.call(e,(e=>{const{target:n}=e;-1===b.call(t,n)&&(T.call(t,n),$t.call(n,new CustomEvent("slotchange")))}))}))),Tt.call(Wl,this,Ul))},writable:!0,enumerable:!0,configurable:!0},assignedElements:{value(e){if(Wt(this)){const t=!P(e)&&I(e.flatten)?Kl(this):en(this);return m.call(t,(e=>e instanceof Element))}return Ze.apply(this,M.call(arguments))},writable:!0,enumerable:!0,configurable:!0},assignedNodes:{value(e){if(Wt(this)){return!P(e)&&I(e.flatten)?Kl(this):en(this)}return Qe.apply(this,M.call(arguments))},writable:!0,enumerable:!0,configurable:!0},name:{get(){const e=Ee.call(this,"name");return D(e)?"":e},set(e){Ce.call(this,"name",e)},enumerable:!0,configurable:!0},childNodes:{get(){if(Wt(this)){const e=Kt(this);return gn(D(e)?[]:Jt(e,Zt(this)))}return de.call(this)},enumerable:!0,configurable:!0}}),n(Text.prototype,{assignedSlot:{get:Gl,enumerable:!0,configurable:!0}}),n(Element.prototype,{innerHTML:{get(){return wn.ENABLE_ELEMENT_PATCH?Ht(this)?xe.call(this):Xl.call(this):Wt(this)||al(this)?Xl.call(this):xe.call(this)},set(e){ke.call(this,e)},enumerable:!0,configurable:!0},outerHTML:{get(){return wn.ENABLE_ELEMENT_PATCH?Ht(this)?We.call(this):Yl.call(this):Wt(this)||al(this)?Yl.call(this):We.call(this)},set(e){Ue.call(this,e)},enumerable:!0,configurable:!0},attachShadow:{value:function(e){return e["$$lwc-synthetic-mode"]?ul(this,e):Se.call(this,e)},enumerable:!0,writable:!0,configurable:!0},shadowRoot:{get:function(){if(al(this)){const e=il(this);if("open"===e.mode)return e}return ze.call(this)},enumerable:!0,configurable:!0},children:{get(){return Tn(this)?Vl.call(this):Ye.call(this)},enumerable:!0,configurable:!0},childElementCount:{get(){return Tn(this)?zl.call(this):Oe.call(this)},enumerable:!0,configurable:!0},firstElementChild:{get(){return Tn(this)?Jl.call(this):He.call(this)},enumerable:!0,configurable:!0},lastElementChild:{get(){return Tn(this)?Ql.call(this):Ae.call(this)},enumerable:!0,configurable:!0},assignedSlot:{get:Gl,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(Le.apply(this,M.call(arguments)));if(al(this)){const t=Kt(this);return D(t)?null:Ft(this)?zt(this,e):Qt(t,e)}if(Wt(this)){const t=xt(this);if(P(t)){if(!wn.ENABLE_NODE_LIST_PATCH)return 0===e.length?null:e[0];const t=kt(this),n=d.call(e,(e=>kt(e)===t));return P(n)?null:n}{const n=d.call(e,(e=>kt(e)===t));return P(n)?null:n}}{if(!(wn.ENABLE_NODE_LIST_PATCH||this instanceof HTMLBodyElement)){const t=e[0];return P(t)?null:t}const t=d.call(e,(e=>P(xt(e))||Ht(this)));return P(t)?null:t}},writable:!0,enumerable:!0,configurable:!0},querySelectorAll:{value(){const e=At(Le.apply(this,M.call(arguments)));if(!wn.ENABLE_NODE_LIST_PATCH){return gn(Zl(this,e,0))}return gn(Zl(this,e,1))},writable:!0,enumerable:!0,configurable:!0}}),n(Element.prototype,{getElementsByClassName:{value(){const e=At(Ve.apply(this,M.call(arguments)));if(!wn.ENABLE_HTML_COLLECTIONS_PATCH)return yn(ql(this,e));return yn(Zl(this,e,1))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagName:{value(){const e=At(we.apply(this,M.call(arguments)));if(!wn.ENABLE_HTML_COLLECTIONS_PATCH)return yn(ql(this,e));return yn(Zl(this,e,1))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagNameNS:{value(){const e=At(Te.apply(this,M.call(arguments)));if(!wn.ENABLE_HTML_COLLECTIONS_PATCH)return yn(ql(this,e));return yn(Zl(this,e,1))},writable:!0,enumerable:!0,configurable:!0}}),c.call(HTMLElement.prototype,"getElementsByClassName")&&l(HTMLElement.prototype,"getElementsByClassName",r(Element.prototype,"getElementsByClassName"));function lo(e){const t=[];if((e=>e.nodeType===V)(e)){const{tagName:n}=e,l=eo(e);if("OPTION"===n)return[1,Re.call(e),1];if("TEXTAREA"===n)return[];{const n=e.childNodes;for(let e=0,l=n.length;e<l;e++)T.apply(t,lo(n[e]))}if(!no(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===z)(e)&&t.push(function(e){const t=to(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 oo(e){if(!no(eo(e)))return fn(e)||"";const t=function(e){const t=St(e),n=to(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++)T.apply(n,lo(l[e]));!function(e){if(null===e)return;const{element:t,onselect:n,onselectstart:l,onselectionchange:o,ranges:r}=e,i=St(t),a=to(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 ro="\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",io=new Set(["BUTTON","INPUT","SELECT","TEXTAREA"]);function ao(e){return e.filter((e=>ve.call(e,"tabindex")?"0"===Ee.call(e,"tabindex"):!io.has(je.call(e))||!ve.call(e,"disabled")))}const co=new WeakMap;function so(e){return(!al(e)||!ol(e))&&(Xe.call(e,ro)&&function(e){const{width:t,height:n}=ye.call(e),l=t>0||n>0,o="AREA"===e.tagName;return(l||o)&&"hidden"!==getComputedStyle(e).visibility}(e))}function uo(){const e=this.getRootNode();if(e===this){const e=Ne.call(this,ro);return void(D(e)||e.focus.apply(e,arguments))}const t=e;if(t.activeElement===this)return;const n=At(Le.call(this,ro));let l=!1;for(;!l&&0!==n.length;){const e=n.shift();e.focus.apply(e,arguments);l=e.getRootNode().activeElement===e}}function fo(e){const t=Ct(e),n=ao(At(ut.call(t,ro))),l=ao(At(Le.call(e,ro))),o=l[0],r=l[l.length-1],i=b.call(n,e),a=i>-1?i:b.call(n,o),c=0===l.length?a+1:b.call(n,r)+1;return{prev:M.call(n,0,a),inner:l,next:M.call(n,c)}}function ho(e,t){const n=le.call(e,t);return n&G?0:n&X?1:n&Y?2:-1}function po(e){e.preventDefault(),e.stopPropagation()}function go(e,t){dt.call(e,"focusin",po,!0),dt.call(e,"focusout",po,!0),t(),bt.call(e,"focusin",po,!0),bt.call(e,"focusout",po,!0)}function mo(e,t,n){const l=St(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(No(t.getRootNode(),n))return n}return null}(e,n);D(o)?go(l,(()=>{t.blur()})):go(l,(()=>{o.focus()}))}let bo=!1;function Eo(){bo=!0}function yo(){bo=!1}function wo(){return!bo}function To(e){if(bo)return;const t=tt.call(e),n=et.call(e);if(t!==n)return;const l=nt.call(e);if(D(l))return;const o=fo(t);if(1===ho(t,l)){const e=No.bind(null,t.getRootNode()),r=d.call(o.inner,e);if(P(r))mo(o.next,n,l);else{go(St(r),(()=>{r.focus()}))}}else t===n&&mo(N.call(o.prev),n,l)}function vo(e){if(bo)return;const t=nt.call(e);if(D(t))return;const n=tt.call(e),l=fo(n);if(-1!==b.call(l.inner,t))return;const o=et.call(e),r=ho(n,t);1===r&&mo(l.next,o,t),2===r&&mo(N.call(l.prev),o,t)}function No(e,t){if(!so(t))return!1;const n=Ct(t);let l=t.getRootNode();for(;l!==n&&l!==e;){const e=l.host;if("-1"===Ee.call(e,"tabindex"))return!1;l=e&&e.getRootNode()}return!0}function Lo(e){Pt.call(e,"focusin",To,!0)}function Mo(e){const t=Ct(e);co.get(t)||(co.set(t,!0),Rt.call(t,"mousedown",Eo,!0),Rt.call(t,"mouseup",(()=>{setTimeout(yo)}),!0),Rt.call(t,"dragstart",yo,!0))}function Co(e){Pt.call(e,"focusin",vo,!0)}const{blur:So,focus:Oo}=HTMLElement.prototype;function Ho(){return ol(this)&&B(ve.call(this,"tabindex"))?0:Ge.call(this)}function Ao(e){const t=ol(this),n=Ge.call(this),l=ve.call(this,"tabindex");qe.call(this,e);const o=Ge.call(this),r=ve.call(this,"tabindex"),i=n!==o;var a;(l&&(i||B(r))&&(-1===n&&Co(this),0===n&&t&&Lo(this)),B(r))||(l&&r&&B(i)||(-1===o&&(Mo(a=this),Lo(a),Rt.call(a,"focusin",vo,!0)),0===o&&t&&function(e){Mo(e),Co(e),Rt.call(e,"focusin",To,!0)}(this)))}function _o(){if(ol(this)){const e=function(e){const t=Ct(e),n=ot.call(t);return D(n)||0!=(le.call(e,n)&G)?n:null}(this);if(!D(e))return void e.blur()}return So.call(this)}function Ro(){const e=wo();e&&Eo(),al(this)&&ol(this)?uo.call(this):(Oo.apply(this,arguments),e&&yo())}n(HTMLElement.prototype,{tabIndex:{get(){return al(this)?Ho.call(this):Ge.call(this)},set(e){return al(this)?Ao.call(this,e):qe.call(this,e)},enumerable:!0,configurable:!0},blur:{value(){if(al(this))return _o.call(this);So.call(this)},enumerable:!0,writable:!0,configurable:!0},focus:{value(){Ro.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),null!==Re&&null!==$e&&l(HTMLElement.prototype,"innerText",{get(){return wn.ENABLE_INNER_OUTER_TEXT_PATCH?wn.ENABLE_ELEMENT_PATCH?Ht(this)?Re.call(this):oo(this):Wt(this)||al(this)?oo(this):Re.call(this):Re.call(this)},set(e){$e.call(this,e)},enumerable:!0,configurable:!0}),null!==De&&null!==Ie&&l(HTMLElement.prototype,"outerText",{get(){return wn.ENABLE_INNER_OUTER_TEXT_PATCH?wn.ENABLE_ELEMENT_PATCH?Ht(this)?De.call(this):oo(this):Wt(this)||al(this)?oo(this):De.call(this):De.call(this)},set(e){Ie.call(this,e)},enumerable:!0,configurable:!0}),l(Element.prototype,U,{set(e){const t=this.$$ShadowTokenKey$$;P(t)||t===e||Me.call(this,t),P(e)||Ce.call(this,e,""),this.$$ShadowTokenKey$$=e},get(){return this.$$ShadowTokenKey$$},configurable:!0}),l(Element.prototype,"$shadowStaticNode$",{set(e){const t=this.$shadowResolver$;if(e){const e=st.call(Ct(this),this,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_COMMENT|NodeFilter.SHOW_TEXT,(()=>NodeFilter.FILTER_ACCEPT),!1);let n;for(;n=e.nextNode();)n.$shadowResolver$=t}this.$shadowStaticNodeKey$=e},get(){return this.$shadowStaticNodeKey$},configurable:!0});const $o=function(){};let Po;const Do={childList:!0};function Io(e,t,n){const l=nl(e);if(l!==t&&(ll(e,t),e instanceof Element)){if(function(e,t){e.$shadowToken$=t}(e,n),al(e))return;P(l)&&Tt.call(Po,e,Do);const o=de.call(e);for(let e=0,l=o.length;e<l;e+=1)Io(o[e],t,n)}}function Bo(e){if(P(Po)&&(Po=new wt((e=>{H.call(e,(e=>{const{target:t,addedNodes:n,removedNodes:l}=e,o=nl(t),r=t.$shadowToken$;for(let e=0,n=l.length;e<n;e+=1){const n=l[e];le.call(t,n)&j.DOCUMENT_POSITION_CONTAINED_BY||Io(n,$o,void 0)}for(let e=0,l=n.length;e<l;e+=1){const l=n[e];le.call(t,l)&j.DOCUMENT_POSITION_CONTAINED_BY&&Io(l,o,r)}}))}))),P(nl(e)))throw new Error("Invalid Element");Tt.call(Po,e,Do)}l(Element.prototype,"$domManual$",{set(e){this.$$DomManualKey$$=e,I(e)&&Bo(this)},get(){return this.$$DomManualKey$$},configurable:!0})}));
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
const KEY__SHADOW_TOKEN = '$shadowToken$';
|
|
90
90
|
const KEY__SHADOW_TOKEN_PRIVATE = '$$ShadowTokenKey$$';
|
|
91
91
|
const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
|
|
92
|
-
/** version: 2.20.
|
|
92
|
+
/** version: 2.20.7 */
|
|
93
93
|
|
|
94
94
|
/*
|
|
95
95
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -1051,7 +1051,7 @@
|
|
|
1051
1051
|
Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
|
|
1052
1052
|
}
|
|
1053
1053
|
const runtimeFlags = _globalThis.lwcRuntimeFlags;
|
|
1054
|
-
/** version: 2.20.
|
|
1054
|
+
/** version: 2.20.7 */
|
|
1055
1055
|
|
|
1056
1056
|
/*
|
|
1057
1057
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -2722,7 +2722,10 @@
|
|
|
2722
2722
|
*/
|
|
2723
2723
|
function detect$1() {
|
|
2724
2724
|
// Note: when using this in mobile apps, we might have a DOM that does not support iframes.
|
|
2725
|
-
|
|
2725
|
+
const hasIframe = typeof HTMLIFrameElement !== 'undefined';
|
|
2726
|
+
// This polyfill should only apply in compat mode; see https://github.com/salesforce/lwc/issues/1513
|
|
2727
|
+
const isCompat = typeof Proxy !== 'undefined' && isTrue(Proxy.isCompat);
|
|
2728
|
+
return hasIframe && isCompat;
|
|
2726
2729
|
}
|
|
2727
2730
|
|
|
2728
2731
|
/*
|
|
@@ -4913,6 +4916,6 @@
|
|
|
4913
4916
|
},
|
|
4914
4917
|
configurable: true,
|
|
4915
4918
|
});
|
|
4916
|
-
/** version: 2.20.
|
|
4919
|
+
/** version: 2.20.7 */
|
|
4917
4920
|
|
|
4918
4921
|
}));
|
|
@@ -201,7 +201,7 @@
|
|
|
201
201
|
var hasNativeSymbolSupport = /*@__PURE__*/function () {
|
|
202
202
|
return Symbol('x').toString() === 'Symbol(x)';
|
|
203
203
|
}();
|
|
204
|
-
/** version: 2.20.
|
|
204
|
+
/** version: 2.20.7 */
|
|
205
205
|
|
|
206
206
|
/*
|
|
207
207
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -1302,7 +1302,7 @@
|
|
|
1302
1302
|
}
|
|
1303
1303
|
|
|
1304
1304
|
var runtimeFlags = _globalThis.lwcRuntimeFlags;
|
|
1305
|
-
/** version: 2.20.
|
|
1305
|
+
/** version: 2.20.7 */
|
|
1306
1306
|
|
|
1307
1307
|
/*
|
|
1308
1308
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -3192,7 +3192,10 @@
|
|
|
3192
3192
|
|
|
3193
3193
|
function detect$1() {
|
|
3194
3194
|
// Note: when using this in mobile apps, we might have a DOM that does not support iframes.
|
|
3195
|
-
|
|
3195
|
+
var hasIframe = typeof HTMLIFrameElement !== 'undefined'; // This polyfill should only apply in compat mode; see https://github.com/salesforce/lwc/issues/1513
|
|
3196
|
+
|
|
3197
|
+
var isCompat = typeof Proxy !== 'undefined' && isTrue(Proxy.isCompat);
|
|
3198
|
+
return hasIframe && isCompat;
|
|
3196
3199
|
}
|
|
3197
3200
|
/*
|
|
3198
3201
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -5663,6 +5666,6 @@
|
|
|
5663
5666
|
}));
|
|
5664
5667
|
});
|
|
5665
5668
|
}
|
|
5666
|
-
/** version: 2.20.
|
|
5669
|
+
/** version: 2.20.7 */
|
|
5667
5670
|
|
|
5668
5671
|
}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(e){"function"==typeof define&&define.amd?define(e):e()}((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,d=g.indexOf,b=g.map,y=g.push,E=g.reduce,w=g.reverse,T=g.slice,N=g.splice,L=g.forEach,M=String.prototype.charCodeAt;function C(e){return void 0===e}function S(e){return null===e}function O(e){return!0===e}function H(e){return!1===e}function A(e){return"function"==typeof e}function R(e){return"object"===o(e)}var _,$,P=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$",I="$shadowToken$",B=Node,k=B.prototype,x=B.DOCUMENT_POSITION_CONTAINED_BY,F=B.DOCUMENT_POSITION_PRECEDING,W=B.DOCUMENT_POSITION_FOLLOWING,j=B.ELEMENT_NODE,U=B.TEXT_NODE,K=B.CDATA_SECTION_NODE,G=B.PROCESSING_INSTRUCTION_NODE,q=B.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,de=se.querySelectorAll,be=se.removeAttribute,ye=se.setAttribute,Ee=h.call(Element.prototype,"attachShadow")?Element.prototype.attachShadow:function(){throw new TypeError("attachShadow() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill and use Lightning Web Components")},we=s(Element.prototype,"childElementCount").get,Te=s(Element.prototype,"firstElementChild").get,Ne=s(Element.prototype,"lastElementChild").get,Le=s(HTMLElement.prototype,"innerText"),Me=Le?Le.get:null,Ce=Le?Le.set:null,Se=s(HTMLElement.prototype,"outerText"),Oe=Se?Se.get:null,He=Se?Se.set:null,Ae=h.call(Element.prototype,"innerHTML")?s(Element.prototype,"innerHTML"):s(HTMLElement.prototype,"innerHTML"),Re=Ae.get,_e=Ae.set,$e=h.call(Element.prototype,"outerHTML")?s(Element.prototype,"outerHTML"):s(HTMLElement.prototype,"outerHTML"),Pe=$e.get,De=$e.set,Ie=s(Element.prototype,"tagName").get,Be=s(HTMLElement.prototype,"tabIndex"),ke=Be.get,xe=Be.set,Fe=h.call(Element.prototype,"matches")?Element.prototype.matches:Element.prototype.msMatchesSelector,We=h.call(Element.prototype,"children")?s(Element.prototype,"children").get:s(HTMLElement.prototype,"children").get,je=HTMLElement.prototype.getElementsByClassName,Ue=h.call(Element.prototype,"shadowRoot")?s(Element.prototype,"shadowRoot").get:function(){return null},Ke=h.call(Element.prototype,"assignedSlot")?s(Element.prototype,"assignedSlot").get:function(){return null};"undefined"!=typeof HTMLSlotElement?(_=HTMLSlotElement.prototype.assignedNodes,$=HTMLSlotElement.prototype.assignedElements):(_=function(){throw new TypeError("assignedNodes() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill to start using <slot> elements in your Lightning Web Component's template")},$=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.createTreeWalker,tt=Ze.querySelectorAll,nt=Ze.getElementById,rt=Ze.getElementsByClassName,lt=Ze.getElementsByTagName,ot=Ze.getElementsByTagNameNS,at=HTMLDocument.prototype.getElementsByName,it=window,ut=it.addEventListener,ct=it.removeEventListener,st=it.getComputedStyle,ft=it.getSelection,ht=MutationObserver,pt=ht.prototype.observe,gt=null;"undefined"!=typeof ShadowRoot&&(gt=ShadowRoot);var mt=!S(gt),vt=S(gt)?function(){return!1}:function(e){return e instanceof gt};var dt,bt=Document.prototype.createElement;function yt(e){var t=oe.call(e);return null===t?e:t}function Et(e){var t=yt(e),n=Qe.call(t);if(null===n)throw new TypeError;return n}function wt(e){if(C(dt)){var t=yt(e);dt=t.body&&"temporary-bypass"===fe.call(t.body,"data-global-patching-bypass")}return O(dt)}function Tt(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 Nt="undefined"!=typeof EventTarget?EventTarget.prototype:B.prototype,Lt=Nt.addEventListener,Mt=Nt.dispatchEvent,Ct=Nt.removeEventListener,St="$$HostElementKey$$",Ot="$$ShadowedNodeKey$$";function Ht(e,t,n){var r=e,l=n.value;r[t]=l}function At(e){return e[St]}function Rt(e){for(var t,n=e;!S(n);){if(!C(t=At(n)))return t;n=le.call(n)}}function _t(e){return e[Ot]}function $t(e){return!C(At(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=_t(e),r=t instanceof Element?t:ae.call(t);!S(r)&&r!==e;){var l=Rt(r),o=ae.call(r);if(l===n)return kt(r);if(o===e)return!1;if(S(o)||Rt(o)===l)r=o;else{if(!kt(o))return!1;if(!S(r=It(Pt(o)))){if(r===e)return!0;if(Rt(r)===n)return!0}}}return!1}function It(e){if(!(e instanceof B))return null;var t=Rt(e);if(C(t))return null;for(var n=e;!S(n)&&_t(n)!==t;)n=le.call(n);return S(n)?null:n}function Bt(e){return kt(e)&&$t(e)}function kt(e){return e instanceof HTMLSlotElement}function xt(e,t){var n=Rt(t);return C(n)||_t(e)===n}function Ft(e){var t=Qn(e);return Ut(t,Tt(ue.call(t)))}function Wt(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 jt(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(!er(e)&&!kt(e))return Tt(ue.call(e));if(er(e)){var t=Tt(de.call(e,"slot")),n=Vn(Zn(e));return E.call(t,(function(e,t){return n===Vn(t)&&y.apply(e,qt(t)),e}),[])}var r=Tt(ue.call(e)),l=Vn(e);return m.call(r,(function(e){return l===Vn(e)}))}function qt(e){var t=It(e);if(S(t))return[];var n=Tt(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 j:for(var t,n=e.attributes,r=Ie.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(Ie.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===j){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 b.call(ln.get(this),(function(e,t){return[t,e]}))}},keys:{writable:!0,enumerable:!0,configurable:!0,value:function(){return b.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(!Bt(u)){var c=u.getRootNode();if(-1===d.call(a,c)){var s=un(c,a[0]);C(s)||-1!==d.call(l,s)||-1!==d.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}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),P.lwcRuntimeFlags||Object.defineProperty(P,"lwcRuntimeFlags",{value:i(null)});var pn=P.lwcRuntimeFlags;function gn(e){return Bt(e)||er(e)}function mn(e,t){var n=It(e);if(t===n)return Zn(n);if(t instanceof Element){if(Rt(e)===Rt(t))return t;if(!S(n)&&kt(t)){var r=It(t);if(!S(r)&&xt(n,r))return r}}return null}function vn(){return On(this).length>0}function dn(){return On(this)[0]||null}function bn(){var e=On(this);return e[e.length-1]||null}function yn(){return rn(this)}function En(){var e=le.call(this);return S(e)?e:mn(this,e)}function wn(){var e=le.call(this);if(S(e))return null;var t=mn(this,e);return t instanceof Element?t:null}function Tn(e){return this===e?0:this.getRootNode()===e?10:At(this)!==At(e)?35:V.call(this,e)}function Nn(e){return null!=e&&At(this)===At(e)&&0!=(V.call(this,e)&x)}function Ln(e){var t=Y.call(this,!1);if(!e)return t;for(var n=On(this),r=0,l=n.length;r<l;r+=1)t.appendChild(n[r].cloneNode(!0));return t}function Mn(){if(er(this)){var e=It(this);return an(S(e)?[]:Ut(e,Gt(this)))}return ue.call(this)}var Cn=B.prototype.getRootNode,Sn=C(Cn)?function(){for(var e,t=this;!S(e=le.call(t));)t=e;return t}:Cn;u(B.prototype,{firstChild:{get:function(){return gn(this)?dn.call(this):te.call(this)},enumerable:!0,configurable:!0},lastChild:{get:function(){return gn(this)?bn.call(this):ne.call(this)},enumerable:!0,configurable:!0},textContent:{get:function(){return pn.ENABLE_NODE_PATCH?wt(this)?re.call(this):yn.call(this):$t(this)||er(this)?yn.call(this):re.call(this)},set:function(e){ie.call(this,e)},enumerable:!0,configurable:!0},parentNode:{get:function(){if($t(this))return En.call(this);var e=le.call(this);return!S(e)&&Bt(e)?It(e):e},enumerable:!0,configurable:!0},parentElement:{get:function(){if($t(this))return wn.call(this);var e=ae.call(this);return!S(e)&&Bt(e)?It(e):e},enumerable:!0,configurable:!0},childNodes:{get:function(){return gn(this)?Mn.call(this):ue.call(this)},enumerable:!0,configurable:!0},hasChildNodes:{value:function(){return gn(this)?vn.call(this):Z.call(this)},enumerable:!0,writable:!0,configurable:!0},compareDocumentPosition:{value:function(e){return wt(this)?V.call(this,e):Tn.call(this,e)},enumerable:!0,writable:!0,configurable:!0},contains:{value:function(e){return this===e||(pn.ENABLE_NODE_PATCH?wt(this)?ee.call(this,e):Nn.call(this,e):null!=e&&($t(this)||er(this)?Nn.call(this,e):ee.call(this,e)))},enumerable:!0,writable:!0,configurable:!0},cloneNode:{value:function(e){return pn.ENABLE_NODE_PATCH?O(e)?wt(this)?Y.call(this,e):Ln.call(this,e):Y.call(this,e):$t(this)||er(this)?Ln.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)?Sn.call(this,e):S(n=It(t=this))?Sn.call(t):Zn(n)},enumerable:!0,configurable:!0,writable:!0},isConnected:{enumerable:!0,configurable:!0,get:function(){return ce.call(this)}}});var On=function(e){return e.childNodes};h.call(HTMLElement.prototype,"contains")&&c(HTMLElement.prototype,"contains",s(B.prototype,"contains")),h.call(HTMLElement.prototype,"parentElement")&&c(HTMLElement.prototype,"parentElement",s(B.prototype,"parentElement"));var Hn=new WeakMap,An=new WeakMap;function Rn(e,t,n){if(t===n)return!0;var r=An.get(e);return C(r)&&(r=e.composedPath(),An.set(e,r)),r.includes(n)}function _n(e){if(!function(e){return A(e)||R(e)&&!S(e)&&A(e.handleEvent)}(e))return e;var t=Hn.get(e);return C(t)&&(t=function(t){var n=qe.call(t);if(Rn(t,In(t),n))return A(e)?e.call(this,t):e.handleEvent&&e.handleEvent(t)},Hn.set(e,t)),t}var $n=new WeakMap,Pn=new WeakMap;function Dn(e){var t=Pn.get(e);return C(t)&&(t=i(null),Pn.set(e,t)),t}function In(e){var t;return null!==(t=ar.get(e))&&void 0!==t?t:Ge.call(e)}var Bn=new WeakMap;function kn(e){if(!A(e))throw new TypeError;var t=Bn.get(e);return C(t)&&((t=function(t){var n=qe.call(t);vt(n)||(n=Zn(n)),Rn(t,In(t),n)&&e.call(n,t)}).placement=1,Bn.set(e,t)),t}var xn=new WeakMap;function Fn(e){if(!A(e))throw new TypeError;var t=xn.get(e);return C(t)&&((t=function(t){var n=qe.call(t);Rn(t,In(t),n)&&e.call(n,t)}).placement=0,xn.set(e,t)),t}function Wn(e){var t=!1,n=!1,r=e.type,l=e.stopImmediatePropagation,o=e.stopPropagation,a=Dn(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!==d.call(a,r)&&r.call(void 0,e)}))}$n.set(e,1),u(1),H(t)&&H(n)&&($n.set(e,0),u(0)),$n.set(e,2)}function jn(e,t,n){var r=Dn(e),l=r[t];C(l)&&(l=r[t]=[]),-1===d.call(l,n)&&(0===l.length&&Lt.call(e,t,Wn),y.call(l,n))}function Un(e,t,n){var r,l;C(l=Dn(e)[t])||-1===(r=d.call(l,n))||(N.call(l,r,1),0===l.length&&Ct.call(e,t,Wn))}function Kn(e,t,n){A(t)&&jn(this,e,Fn(t))}function Gn(e,t,n){A(t)&&Un(this,e,Fn(t))}var qn=new WeakMap,Xn=document.createDocumentFragment;function Yn(e){var t=qn.get(e);if(C(t))throw new TypeError;return t}function Vn(e){return e.$shadowResolver$}function zn(e,t){e.$shadowResolver$=t}function Jn(e){return Yn(e).delegatesFocus}function Qn(e){return Yn(e).host}function Zn(e){return Yn(e).shadowRoot}function er(e){var t=qn.get(e);return!C(t)&&e===t.host}function tr(e){var t=qn.get(e);return!C(t)&&e===t.shadowRoot}c(B.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:mt});var nr=0;function rr(e,t){if(qn.has(e))throw new Error("Failed to execute 'attachShadow' on 'Element': Shadow root cannot be created on a host which already hosts a shadow tree.");var n=t.mode,r=t.delegatesFocus,l=yt(e),o=Xn.call(l),a={mode:n,delegatesFocus:!!r,host:e,shadowRoot:o};qn.set(o,a),qn.set(e,a);var i=function(){return o},u=i.nodeKey=nr++;return Ht(e,Ot,{value:u}),zn(o,i),p(o,ur.prototype),o}var lr={constructor:{writable:!0,configurable:!0,value:ur},toString:{writable:!0,configurable:!0,value:function(){return"[object ShadowRoot]"}},synthetic:{writable:!1,enumerable:!1,configurable:!1,value:!0}},or={activeElement:{enumerable:!0,configurable:!0,get:function(){var e=Qn(this),t=yt(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 Yn(this).delegatesFocus}},elementFromPoint:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return fr(this,yt(Qn(this)),e,t)}},elementsFromPoint:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return cn(this,yt(Qn(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 Qn(this)}},mode:{configurable:!0,get:function(){return Yn(this).mode}},styleSheets:{enumerable:!0,configurable:!0,get:function(){throw new Error}}},ar=new WeakMap,ir={insertBefore:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return z.call(Qn(this),e,t),e}},removeChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return J.call(Qn(this),e),e}},appendChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return X.call(Qn(this),e),e}},replaceChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return Q.call(Qn(this),e,t),t}},addEventListener:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t,n){!function(e,t,n,r){A(n)&&jn(Qn(e),t,kn(n))}(this,e,t)}},dispatchEvent:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return ar.set(e,this),Mt.apply(Qn(this),arguments)}},removeEventListener:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t,n){!function(e,t,n,r){A(n)&&Un(Qn(e),t,kn(n))}(this,e,t)}},baseURI:{enumerable:!0,configurable:!0,get:function(){return Qn(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=Qn(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=Qn(this);return 0!=(V.call(t,e)&x)&&xt(t,e)}},firstChild:{enumerable:!0,configurable:!0,get:function(){return On(this)[0]||null}},lastChild:{enumerable:!0,configurable:!0,get:function(){var e=On(this);return e[e.length-1]||null}},hasChildNodes:{writable:!0,enumerable:!0,configurable:!0,value:function(){return On(this).length>0}},isConnected:{enumerable:!0,configurable:!0,get:function(){return ce.call(Qn(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 Qn(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=On(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=Qn(this);ie.call(t,e)}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return!C(e)&&O(e.composed)?Qn(this).getRootNode(e):this}}};function ur(){throw new TypeError("Illegal constructor")}function cr(e,t){var n,r=[];if(e instanceof Window)n=e;else{if(!(e instanceof B))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=!tr(o)&&!vt(o)||!t&&o===n?o instanceof B?o.parentNode:null:o.host;return l=e instanceof Window?e.document:yt(e),r[r.length-1]===l&&r.push(window),r}
|
|
1
|
+
!function(e){"function"==typeof define&&define.amd?define(e):e()}((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,d=g.indexOf,b=g.map,y=g.push,E=g.reduce,w=g.reverse,T=g.slice,N=g.splice,L=g.forEach,M=String.prototype.charCodeAt;function C(e){return void 0===e}function S(e){return null===e}function O(e){return!0===e}function H(e){return!1===e}function A(e){return"function"==typeof e}function R(e){return"object"===o(e)}var _,P,$=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$",I="$shadowToken$",B=Node,x=B.prototype,k=B.DOCUMENT_POSITION_CONTAINED_BY,F=B.DOCUMENT_POSITION_PRECEDING,W=B.DOCUMENT_POSITION_FOLLOWING,j=B.ELEMENT_NODE,U=B.TEXT_NODE,K=B.CDATA_SECTION_NODE,G=B.PROCESSING_INSTRUCTION_NODE,q=B.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,de=se.querySelectorAll,be=se.removeAttribute,ye=se.setAttribute,Ee=h.call(Element.prototype,"attachShadow")?Element.prototype.attachShadow:function(){throw new TypeError("attachShadow() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill and use Lightning Web Components")},we=s(Element.prototype,"childElementCount").get,Te=s(Element.prototype,"firstElementChild").get,Ne=s(Element.prototype,"lastElementChild").get,Le=s(HTMLElement.prototype,"innerText"),Me=Le?Le.get:null,Ce=Le?Le.set:null,Se=s(HTMLElement.prototype,"outerText"),Oe=Se?Se.get:null,He=Se?Se.set:null,Ae=h.call(Element.prototype,"innerHTML")?s(Element.prototype,"innerHTML"):s(HTMLElement.prototype,"innerHTML"),Re=Ae.get,_e=Ae.set,Pe=h.call(Element.prototype,"outerHTML")?s(Element.prototype,"outerHTML"):s(HTMLElement.prototype,"outerHTML"),$e=Pe.get,De=Pe.set,Ie=s(Element.prototype,"tagName").get,Be=s(HTMLElement.prototype,"tabIndex"),xe=Be.get,ke=Be.set,Fe=h.call(Element.prototype,"matches")?Element.prototype.matches:Element.prototype.msMatchesSelector,We=h.call(Element.prototype,"children")?s(Element.prototype,"children").get:s(HTMLElement.prototype,"children").get,je=HTMLElement.prototype.getElementsByClassName,Ue=h.call(Element.prototype,"shadowRoot")?s(Element.prototype,"shadowRoot").get:function(){return null},Ke=h.call(Element.prototype,"assignedSlot")?s(Element.prototype,"assignedSlot").get:function(){return null};"undefined"!=typeof HTMLSlotElement?(_=HTMLSlotElement.prototype.assignedNodes,P=HTMLSlotElement.prototype.assignedElements):(_=function(){throw new TypeError("assignedNodes() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill to start using <slot> elements in your Lightning Web Component's template")},P=function(){throw new TypeError("assignedElements() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill to start using <slot> elements in your Lightning Web Component's template")});var Ge=s(Event.prototype,"target").get,qe=s(Event.prototype,"currentTarget").get,Xe=s(FocusEvent.prototype,"relatedTarget").get,Ye=h.call(Event.prototype,"composedPath")?Event.prototype.composedPath:function(){return[]},Ve=s(Document.prototype,"activeElement").get,ze=h.call(Document.prototype,"elementFromPoint")?Document.prototype.elementFromPoint:Document.prototype.msElementFromPoint,Je=h.call(Document.prototype,"elementsFromPoint")?Document.prototype.elementsFromPoint:Document.prototype.msElementsFromPoint,Qe=s(Document.prototype,"defaultView").get,Ze=Document.prototype,et=Ze.createTreeWalker,tt=Ze.querySelectorAll,nt=Ze.getElementById,rt=Ze.getElementsByClassName,lt=Ze.getElementsByTagName,ot=Ze.getElementsByTagNameNS,at=HTMLDocument.prototype.getElementsByName,it=window,ut=it.addEventListener,ct=it.removeEventListener,st=it.getComputedStyle,ft=it.getSelection,ht=MutationObserver,pt=ht.prototype.observe,gt=null;"undefined"!=typeof ShadowRoot&&(gt=ShadowRoot);var mt=!S(gt),vt=S(gt)?function(){return!1}:function(e){return e instanceof gt};var dt,bt=Document.prototype.createElement;function yt(e){var t=oe.call(e);return null===t?e:t}function Et(e){var t=yt(e),n=Qe.call(t);if(null===n)throw new TypeError;return n}function wt(e){if(C(dt)){var t=yt(e);dt=t.body&&"temporary-bypass"===fe.call(t.body,"data-global-patching-bypass")}return O(dt)}function Tt(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 Nt="undefined"!=typeof EventTarget?EventTarget.prototype:B.prototype,Lt=Nt.addEventListener,Mt=Nt.dispatchEvent,Ct=Nt.removeEventListener,St="$$HostElementKey$$",Ot="$$ShadowedNodeKey$$";function Ht(e,t,n){var r=e,l=n.value;r[t]=l}function At(e){return e[St]}function Rt(e){for(var t,n=e;!S(n);){if(!C(t=At(n)))return t;n=le.call(n)}}function _t(e){return e[Ot]}function Pt(e){return!C(At(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=_t(e),r=t instanceof Element?t:ae.call(t);!S(r)&&r!==e;){var l=Rt(r),o=ae.call(r);if(l===n)return xt(r);if(o===e)return!1;if(S(o)||Rt(o)===l)r=o;else{if(!xt(o))return!1;if(!S(r=It($t(o)))){if(r===e)return!0;if(Rt(r)===n)return!0}}}return!1}function It(e){if(!(e instanceof B))return null;var t=Rt(e);if(C(t))return null;for(var n=e;!S(n)&&_t(n)!==t;)n=le.call(n);return S(n)?null:n}function Bt(e){return xt(e)&&Pt(e)}function xt(e){return e instanceof HTMLSlotElement}function kt(e,t){var n=Rt(t);return C(n)||_t(e)===n}function Ft(e){var t=Qn(e);return Ut(t,Tt(ue.call(t)))}function Wt(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 jt(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(!er(e)&&!xt(e))return Tt(ue.call(e));if(er(e)){var t=Tt(de.call(e,"slot")),n=Vn(Zn(e));return E.call(t,(function(e,t){return n===Vn(t)&&y.apply(e,qt(t)),e}),[])}var r=Tt(ue.call(e)),l=Vn(e);return m.call(r,(function(e){return l===Vn(e)}))}function qt(e){var t=It(e);if(S(t))return[];var n=Tt(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 j:for(var t,n=e.attributes,r=Ie.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(Ie.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===j){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 b.call(ln.get(this),(function(e,t){return[t,e]}))}},keys:{writable:!0,enumerable:!0,configurable:!0,value:function(){return b.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(!Bt(u)){var c=u.getRootNode();if(-1===d.call(a,c)){var s=un(c,a[0]);C(s)||-1!==d.call(l,s)||-1!==d.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}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),$.lwcRuntimeFlags||Object.defineProperty($,"lwcRuntimeFlags",{value:i(null)});var pn=$.lwcRuntimeFlags;function gn(e){return Bt(e)||er(e)}function mn(e,t){var n=It(e);if(t===n)return Zn(n);if(t instanceof Element){if(Rt(e)===Rt(t))return t;if(!S(n)&&xt(t)){var r=It(t);if(!S(r)&&kt(n,r))return r}}return null}function vn(){return On(this).length>0}function dn(){return On(this)[0]||null}function bn(){var e=On(this);return e[e.length-1]||null}function yn(){return rn(this)}function En(){var e=le.call(this);return S(e)?e:mn(this,e)}function wn(){var e=le.call(this);if(S(e))return null;var t=mn(this,e);return t instanceof Element?t:null}function Tn(e){return this===e?0:this.getRootNode()===e?10:At(this)!==At(e)?35:V.call(this,e)}function Nn(e){return null!=e&&At(this)===At(e)&&0!=(V.call(this,e)&k)}function Ln(e){var t=Y.call(this,!1);if(!e)return t;for(var n=On(this),r=0,l=n.length;r<l;r+=1)t.appendChild(n[r].cloneNode(!0));return t}function Mn(){if(er(this)){var e=It(this);return an(S(e)?[]:Ut(e,Gt(this)))}return ue.call(this)}var Cn=B.prototype.getRootNode,Sn=C(Cn)?function(){for(var e,t=this;!S(e=le.call(t));)t=e;return t}:Cn;u(B.prototype,{firstChild:{get:function(){return gn(this)?dn.call(this):te.call(this)},enumerable:!0,configurable:!0},lastChild:{get:function(){return gn(this)?bn.call(this):ne.call(this)},enumerable:!0,configurable:!0},textContent:{get:function(){return pn.ENABLE_NODE_PATCH?wt(this)?re.call(this):yn.call(this):Pt(this)||er(this)?yn.call(this):re.call(this)},set:function(e){ie.call(this,e)},enumerable:!0,configurable:!0},parentNode:{get:function(){if(Pt(this))return En.call(this);var e=le.call(this);return!S(e)&&Bt(e)?It(e):e},enumerable:!0,configurable:!0},parentElement:{get:function(){if(Pt(this))return wn.call(this);var e=ae.call(this);return!S(e)&&Bt(e)?It(e):e},enumerable:!0,configurable:!0},childNodes:{get:function(){return gn(this)?Mn.call(this):ue.call(this)},enumerable:!0,configurable:!0},hasChildNodes:{value:function(){return gn(this)?vn.call(this):Z.call(this)},enumerable:!0,writable:!0,configurable:!0},compareDocumentPosition:{value:function(e){return wt(this)?V.call(this,e):Tn.call(this,e)},enumerable:!0,writable:!0,configurable:!0},contains:{value:function(e){return this===e||(pn.ENABLE_NODE_PATCH?wt(this)?ee.call(this,e):Nn.call(this,e):null!=e&&(Pt(this)||er(this)?Nn.call(this,e):ee.call(this,e)))},enumerable:!0,writable:!0,configurable:!0},cloneNode:{value:function(e){return pn.ENABLE_NODE_PATCH?O(e)?wt(this)?Y.call(this,e):Ln.call(this,e):Y.call(this,e):Pt(this)||er(this)?Ln.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)?Sn.call(this,e):S(n=It(t=this))?Sn.call(t):Zn(n)},enumerable:!0,configurable:!0,writable:!0},isConnected:{enumerable:!0,configurable:!0,get:function(){return ce.call(this)}}});var On=function(e){return e.childNodes};h.call(HTMLElement.prototype,"contains")&&c(HTMLElement.prototype,"contains",s(B.prototype,"contains")),h.call(HTMLElement.prototype,"parentElement")&&c(HTMLElement.prototype,"parentElement",s(B.prototype,"parentElement"));var Hn=new WeakMap,An=new WeakMap;function Rn(e,t,n){if(t===n)return!0;var r=An.get(e);return C(r)&&(r=e.composedPath(),An.set(e,r)),r.includes(n)}function _n(e){if(!function(e){return A(e)||R(e)&&!S(e)&&A(e.handleEvent)}(e))return e;var t=Hn.get(e);return C(t)&&(t=function(t){var n=qe.call(t);if(Rn(t,In(t),n))return A(e)?e.call(this,t):e.handleEvent&&e.handleEvent(t)},Hn.set(e,t)),t}var Pn=new WeakMap,$n=new WeakMap;function Dn(e){var t=$n.get(e);return C(t)&&(t=i(null),$n.set(e,t)),t}function In(e){var t;return null!==(t=ar.get(e))&&void 0!==t?t:Ge.call(e)}var Bn=new WeakMap;function xn(e){if(!A(e))throw new TypeError;var t=Bn.get(e);return C(t)&&((t=function(t){var n=qe.call(t);vt(n)||(n=Zn(n)),Rn(t,In(t),n)&&e.call(n,t)}).placement=1,Bn.set(e,t)),t}var kn=new WeakMap;function Fn(e){if(!A(e))throw new TypeError;var t=kn.get(e);return C(t)&&((t=function(t){var n=qe.call(t);Rn(t,In(t),n)&&e.call(n,t)}).placement=0,kn.set(e,t)),t}function Wn(e){var t=!1,n=!1,r=e.type,l=e.stopImmediatePropagation,o=e.stopPropagation,a=Dn(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!==d.call(a,r)&&r.call(void 0,e)}))}Pn.set(e,1),u(1),H(t)&&H(n)&&(Pn.set(e,0),u(0)),Pn.set(e,2)}function jn(e,t,n){var r=Dn(e),l=r[t];C(l)&&(l=r[t]=[]),-1===d.call(l,n)&&(0===l.length&&Lt.call(e,t,Wn),y.call(l,n))}function Un(e,t,n){var r,l;C(l=Dn(e)[t])||-1===(r=d.call(l,n))||(N.call(l,r,1),0===l.length&&Ct.call(e,t,Wn))}function Kn(e,t,n){A(t)&&jn(this,e,Fn(t))}function Gn(e,t,n){A(t)&&Un(this,e,Fn(t))}var qn=new WeakMap,Xn=document.createDocumentFragment;function Yn(e){var t=qn.get(e);if(C(t))throw new TypeError;return t}function Vn(e){return e.$shadowResolver$}function zn(e,t){e.$shadowResolver$=t}function Jn(e){return Yn(e).delegatesFocus}function Qn(e){return Yn(e).host}function Zn(e){return Yn(e).shadowRoot}function er(e){var t=qn.get(e);return!C(t)&&e===t.host}function tr(e){var t=qn.get(e);return!C(t)&&e===t.shadowRoot}c(B.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:mt});var nr=0;function rr(e,t){if(qn.has(e))throw new Error("Failed to execute 'attachShadow' on 'Element': Shadow root cannot be created on a host which already hosts a shadow tree.");var n=t.mode,r=t.delegatesFocus,l=yt(e),o=Xn.call(l),a={mode:n,delegatesFocus:!!r,host:e,shadowRoot:o};qn.set(o,a),qn.set(e,a);var i=function(){return o},u=i.nodeKey=nr++;return Ht(e,Ot,{value:u}),zn(o,i),p(o,ur.prototype),o}var lr={constructor:{writable:!0,configurable:!0,value:ur},toString:{writable:!0,configurable:!0,value:function(){return"[object ShadowRoot]"}},synthetic:{writable:!1,enumerable:!1,configurable:!1,value:!0}},or={activeElement:{enumerable:!0,configurable:!0,get:function(){var e=Qn(this),t=yt(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 Yn(this).delegatesFocus}},elementFromPoint:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return fr(this,yt(Qn(this)),e,t)}},elementsFromPoint:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return cn(this,yt(Qn(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 Qn(this)}},mode:{configurable:!0,get:function(){return Yn(this).mode}},styleSheets:{enumerable:!0,configurable:!0,get:function(){throw new Error}}},ar=new WeakMap,ir={insertBefore:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return z.call(Qn(this),e,t),e}},removeChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return J.call(Qn(this),e),e}},appendChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return X.call(Qn(this),e),e}},replaceChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return Q.call(Qn(this),e,t),t}},addEventListener:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t,n){!function(e,t,n,r){A(n)&&jn(Qn(e),t,xn(n))}(this,e,t)}},dispatchEvent:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return ar.set(e,this),Mt.apply(Qn(this),arguments)}},removeEventListener:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t,n){!function(e,t,n,r){A(n)&&Un(Qn(e),t,xn(n))}(this,e,t)}},baseURI:{enumerable:!0,configurable:!0,get:function(){return Qn(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=Qn(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=Qn(this);return 0!=(V.call(t,e)&k)&&kt(t,e)}},firstChild:{enumerable:!0,configurable:!0,get:function(){return On(this)[0]||null}},lastChild:{enumerable:!0,configurable:!0,get:function(){var e=On(this);return e[e.length-1]||null}},hasChildNodes:{writable:!0,enumerable:!0,configurable:!0,value:function(){return On(this).length>0}},isConnected:{enumerable:!0,configurable:!0,get:function(){return ce.call(Qn(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 Qn(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=On(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=Qn(this);ie.call(t,e)}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return!C(e)&&O(e.composed)?Qn(this).getRootNode(e):this}}};function ur(){throw new TypeError("Illegal constructor")}function cr(e,t){var n,r=[];if(e instanceof Window)n=e;else{if(!(e instanceof B))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=!tr(o)&&!vt(o)||!t&&o===n?o instanceof B?o.parentNode:null:o.host;return l=e instanceof Window?e.document:yt(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 sr(e,t){if(S(e))return null;for(var n,r,l,o,a=cr(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),!tr(l)||!C(o)&&o>-1)return n;return null}function fr(e,t,n,r){var l=ze.call(t,n,r);return S(l)?l:sr(e,cr(l,!0))}a(lr,ir,{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=Qn(this),Tt(de.call(n,t)));var t,n}},querySelectorAll:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return an((t=e,Ut(n=Qn(this),Tt(de.call(n,t)))));var t,n}}},{innerHTML:{enumerable:!0,configurable:!0,get:function(){for(var e=On(this),t="",n=0,r=e.length;n<r;n+=1)t+=nn(e[n]);return t},set:function(e){var t=Qn(this);_e.call(t,e)}}},or),ur.prototype=i(DocumentFragment.prototype,lr),c(ur,Symbol.hasInstance,{value:function(e){return R(e)&&!S(e)&&(vt(e)||f(e)===ur.prototype)}}),Document.prototype.elementFromPoint=function(e,t){return fr(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(At(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=nt.apply(this,T.call(arguments));return S(e)?null:C(At(e))||wt(e)?e:null},writable:!0,enumerable:!0,configurable:!0}),c(Document.prototype,"querySelector",{value:function(){var e=Tt(tt.apply(this,T.call(arguments))),t=v.call(e,(function(e){return C(At(e))||wt(e)}));return C(t)?null:t},writable:!0,enumerable:!0,configurable:!0}),c(Document.prototype,"querySelectorAll",{value:function(){var e=Tt(tt.apply(this,T.call(arguments))),t=m.call(e,(function(e){return C(At(e))||wt(e)}));return an(t)},writable:!0,enumerable:!0,configurable:!0}),c(Document.prototype,"getElementsByClassName",{value:function(){var e=Tt(rt.apply(this,T.call(arguments))),t=m.call(e,(function(e){return C(At(e))||wt(e)}));return hn(t)},writable:!0,enumerable:!0,configurable:!0}),c(Document.prototype,"getElementsByTagName",{value:function(){var e=Tt(lt.apply(this,T.call(arguments))),t=m.call(e,(function(e){return C(At(e))||wt(e)}));return hn(t)},writable:!0,enumerable:!0,configurable:!0}),c(Document.prototype,"getElementsByTagNameNS",{value:function(){var e=Tt(ot.apply(this,T.call(arguments))),t=m.call(e,(function(e){return C(At(e))||wt(e)}));return hn(t)},writable:!0,enumerable:!0,configurable:!0}),c(s(HTMLDocument.prototype,"getElementsByName")?HTMLDocument.prototype:Document.prototype,"getElementsByName",{value:function(){var e=Tt(at.apply(this,T.call(arguments))),t=m.call(e,(function(e){return C(At(e))||wt(e)}));return an(t)},writable:!0,enumerable:!0,configurable:!0}),Object.defineProperty(window,"ShadowRoot",{value:ur,configurable:!0,writable:!0});var hr=Object.getOwnPropertyDescriptor(Event.prototype,"composed");var pr=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"click");function gr(e){Object.defineProperty(e,"composed",{configurable:!0,enumerable:!0,get:function(){return!0}})}(function(){if(!hr)return!1;var e=new Event("click"),t=document.createElement("button");return t.addEventListener("click",(function(t){return e=t})),t.click(),!hr.get.call(e)})()&&(HTMLElement.prototype.click=function(){Lt.call(this,"click",gr);try{pr.value.call(this)}finally{Ct.call(this,"click",gr)}}),!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 mr,vr,dr=CustomEvent;function br(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(br.prototype=dr.prototype,window.CustomEvent=br,"undefined"!=typeof ClipboardEvent){var yr=a(i(null),{copy:1,cut:1,paste:1});u(ClipboardEvent.prototype,{composed:{get:function(){var e=this.type;return 1===yr[e]},configurable:!0,enumerable:!0}})}"undefined"!=typeof HTMLIFrameElement&&(mr=s(HTMLIFrameElement.prototype,"contentWindow"),vr=mr.get,mr.get=function(){var e,t=vr.call(this);return S(t)||C(At(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",mr));var Er=MutationObserver,wr=Er.prototype,Tr=wr.disconnect,Nr=wr.observe,Lr=wr.takeRecords,Mr="$$lwcObserverCallbackWrapper$$",Cr=new WeakMap;function Sr(e){return e.$$lwcNodeObservers$$}function Or(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 Hr(e,t){for(var n=t;!S(n);){var r=Sr(n);if(!C(r)&&(r[0]===e||-1!==d.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(_t(r)))Hr(t,r)&&y.call(e,n);else if(l.length>0){var a=l[0];if(Hr(t,a)){var i=Sr(r);!i||i[0]!==t&&-1===d.call(i,t)?y.call(e,Or(n)):y.call(e,n)}}else{var u=r.shadowRoot,c=o[0];if(Rt(r)===Rt(c)&&Hr(t,r))y.call(e,n);else if(u){var s=Sr(u);!s||s[0]!==t&&-1===d.call(s,t)||y.call(e,Or(n))}}return e}),[])}function Rr(e){var t=function(e){var t=e[Mr];return C(t)&&(t=e[Mr]=function(t,n){var r=Ar(t,n);0!==r.length&&e.call(n,r,n)}),t}(e);return new Er(t)}function _r(e,t,n){if(arguments.length>1){var r=T.call(arguments);return r[1]=_n(r[1]),ut.apply(this,r)}return ut.apply(this,arguments)}function $r(e,t,n){if(arguments.length>1){var r=T.call(arguments);r[1]=_n(r[1]),ct.apply(this,r)}ct.apply(this,arguments)}function Pr(){var e=Ge.call(this);if(!(e instanceof B))return e;var t=yt(e),n=cr(e,this.composed),r=qe.call(this);if(!(r instanceof B))return S(r)&&C(At(e))?e:sr(t,n);if(r===t||r===t.body)return C(At(e))?e:sr(t,n);var l=r,o=n;er(r)&&(1===$n.get(this)&&(l=Zn(r)));return er(e)&&ar.has(this)&&(o=cr(Zn(e),this.composed)),sr(l,o)}function Dr(){var e=Ge.call(this);if(!(e instanceof B))return[];var t,n=Boolean(e.shadowRoot),r=(t=e,qn.has(t));if(n&&!r)return Ye.call(this);if(S(qe.call(this)))return[];var l=e;return er(e)&&ar.has(this)&&(l=Zn(e)),cr(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 B&&$t(e)))return e;var n=qe.call(this);return S(n)&&(n=yt(e)),sr(n,cr(e,!0))},enumerable:!0,configurable:!0})}Rr.prototype=Er.prototype,Rr.prototype.disconnect=function(){var e=this;Tr.call(this);var t=Cr.get(this);C(t)||(L.call(t,(function(t){var n=t.$$lwcNodeObservers$$;if(!C(n)){var r=d.call(n,e);-1!==r&&N.call(n,r,1)}})),t.length=0)},Rr.prototype.observe=function(e,t){var n,r=Sr(e);if(C(r)&&(n=r=[],e.$$lwcNodeObservers$$=n),-1===d.call(r,this)&&y.call(r,this),tr(e)&&(e=e.host),Cr.has(this)){var l=Cr.get(this);-1===d.call(l,e)&&y.call(l,e)}else Cr.set(this,[e]);return Nr.call(this,e,t)},Rr.prototype.takeRecords=function(){return Ar(Lr.call(this),this)},c(window,"MutationObserver",{value:Rr,configurable:!0,writable:!0}),u(Nt,{addEventListener:{value:function(e,t,n){if(er(this))return Kn.apply(this,arguments);if(arguments.length<2){var r=T.call(arguments);return r.length>1&&(r[1]=_n(r[1])),Lt.apply(this,r)}var l=_n(t);return Lt.call(this,e,l,n)},enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:function(e,t,n){if(er(this))return Gn.apply(this,arguments);var r=T.call(arguments);arguments.length>1&&(r[1]=_n(r[1])),Ct.apply(this,r),Ct.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),"undefined"==typeof EventTarget&&u(Window.prototype,{addEventListener:{value:_r,enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:$r,enumerable:!0,writable:!0,configurable:!0}}),u(Event.prototype,{target:{get:Pr,enumerable:!0,configurable:!0},currentTarget:{get:function(){var e=qe.call(this);return S(e)?null:1===$n.get(this)?Zn(e):e},enumerable:!0,configurable:!0},composedPath:{value:Dr,writable:!0,enumerable:!0,configurable:!0},srcElement:{get:Pr,enumerable:!0,configurable:!0},path:{get:Dr,enumerable:!0,configurable:!0}}),Ir(FocusEvent),Ir(MouseEvent);var Br,kr=h.call(Text.prototype,"assignedSlot")?s(Text.prototype,"assignedSlot").get:function(){return null},xr={childList:!0},Fr=new WeakMap;function Wr(e){var t=Tt(ue.call(e));return E.call(t,(function(e,t){return t instanceof Element&&kt(t)?y.apply(e,Wr(t)):y.call(e,t),e}),[])}function jr(){var e=le.call(this);if(e instanceof Element){var t=Ue.call(e);if(vt(t))return this instanceof Text?kr.call(this):Ke.call(this)}return!S(e)&&kt(e)&&At(e)!==At(this)?e:null}function Ur(e,t){var n,r=At(e);if(C(r))n=e instanceof HTMLBodyElement?m.call(t,(function(t){return C(At(t))||wt(e)})):T.call(t);else if(er(e)){var l=It(e);n=S(l)?[]:_t(e)?Wt(e,t):Ut(l,t)}else n=m.call(t,(function(e){return Rt(e)===r}));return n}function Kr(){for(var e=On(this),t="",n=0,r=e.length;n<r;n+=1)t+=nn(e[n]);return t}function Gr(){return nn(this)}function qr(){var e=It(this),t=S(e)?[]:Ut(e,Gt(this));return hn(m.call(t,(function(e){return e instanceof Element})))}function Xr(){return this.children.length}function Yr(){return this.children[0]||null}function Vr(){var e=this.children;return e.item(e.length-1)||null}function zr(e,t,n){var r;if(er(e)){var l=It(e);r=S(l)?[]:_t(e)?Wt(e,t):Ut(l,t)}else if($t(e)){var o=At(e);if(C(o))if(1===n){var a=Rt(e);r=m.call(t,(function(e){return Rt(e)===a}))}else r=T.call(t);else r=m.call(t,(function(e){return Rt(e)===o}))}else r=e instanceof HTMLBodyElement||1===n?m.call(t,(function(t){return C(At(t))||wt(e)})):T.call(t);return r}function Jr(e){var t=Et(e);return st.call(t,e)}function Qr(e){var t=Et(e);return ft.call(t)}function Zr(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||Fr.get(this)||(Fr.set(this,!0),Br||(Br=new ht((function(e){var t=[];L.call(e,(function(e){var n=e.target;-1===d.call(t,n)&&(y.call(t,n),Mt.call(n,new CustomEvent("slotchange")))}))}))),pt.call(Br,this,xr))},writable:!0,enumerable:!0,configurable:!0},assignedElements:{value:function(e){if($t(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 $.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?Wr(this):qt(this)}return _.apply(this,T.call(arguments))},writable:!0,enumerable:!0,configurable:!0},name:{get:function(){var e=fe.call(this,"name");return S(e)?"":e},set:function(e){ye.call(this,"name",e)},enumerable:!0,configurable:!0},childNodes:{get:function(){if($t(this)){var e=It(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 pn.ENABLE_ELEMENT_PATCH?wt(this)?Re.call(this):Kr.call(this):$t(this)||er(this)?Kr.call(this):Re.call(this)},set:function(e){_e.call(this,e)},enumerable:!0,configurable:!0},outerHTML:{get:function(){return pn.ENABLE_ELEMENT_PATCH?wt(this)?Pe.call(this):Gr.call(this):$t(this)||er(this)?Gr.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"]?rr(this,e):Ee.call(this,e)},enumerable:!0,writable:!0,configurable:!0},shadowRoot:{get:function(){if(er(this)){var e=Zn(this);if("open"===e.mode)return e}return Ue.call(this)},enumerable:!0,configurable:!0},children:{get:function(){return gn(this)?qr.call(this):We.call(this)},enumerable:!0,configurable:!0},childElementCount:{get:function(){return gn(this)?Xr.call(this):we.call(this)},enumerable:!0,configurable:!0},firstElementChild:{get:function(){return gn(this)?Yr.call(this):Te.call(this)},enumerable:!0,configurable:!0},lastElementChild:{get:function(){return gn(this)?Vr.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=Tt(de.apply(this,T.call(arguments)));if(er(this)){var n=It(this);return S(n)?null:_t(this)?jt(this,t):Kt(n,t)}if($t(this)){var r=At(this);if(C(r)){if(!pn.ENABLE_NODE_LIST_PATCH)return 0===t.length?null:t[0];var l=Rt(this),o=v.call(t,(function(e){return Rt(e)===l}));return C(o)?null:o}var a=v.call(t,(function(e){return Rt(e)===r}));return C(a)?null:a}if(!(pn.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(At(t))||wt(e)}));return C(u)?null:u},writable:!0,enumerable:!0,configurable:!0},querySelectorAll:{value:function(){var e=Tt(de.apply(this,T.call(arguments)));if(!pn.ENABLE_NODE_LIST_PATCH){var t=zr(this,e,0);return an(t)}return an(zr(this,e,1))},writable:!0,enumerable:!0,configurable:!0}}),u(Element.prototype,{getElementsByClassName:{value:function(){var e=Tt(je.apply(this,T.call(arguments)));if(!pn.ENABLE_HTML_COLLECTIONS_PATCH)return hn(Ur(this,e));var t=zr(this,e,1);return hn(t)},writable:!0,enumerable:!0,configurable:!0},getElementsByTagName:{value:function(){var e=Tt(pe.apply(this,T.call(arguments)));if(!pn.ENABLE_HTML_COLLECTIONS_PATCH)return hn(Ur(this,e));var t=zr(this,e,1);return hn(t)},writable:!0,enumerable:!0,configurable:!0},getElementsByTagNameNS:{value:function(){var e=Tt(ge.apply(this,T.call(arguments)));if(!pn.ENABLE_HTML_COLLECTIONS_PATCH)return hn(Ur(this,e));var t=zr(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 el(e){var t=[];if(function(e){return e.nodeType===j}(e)){var n=e.tagName,r=Jr(e);if("OPTION"===n)return[1,Me.call(e),1];if("TEXTAREA"===n)return[];for(var l=e.childNodes,o=0,a=l.length;o<a;o++)y.apply(t,el(l[o]));if(!Zr(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=Qr(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 tl(e){if(!Zr(Jr(e)))return rn(e)||"";for(var t=function(e){var t=Et(e),n=Qr(e);if(null===n)return null;for(var r=[],l=0;l<n.rangeCount;l++)r.push(n.getRangeAt(l));var o={element:e,onselect:t.onselect,onselectstart:t.onselectstart,onselectionchange:t.onselectionchange,ranges:r};return t.onselect=null,t.onselectstart=null,t.onselectionchange=null,o}(e),n=[],r=e.childNodes,l=0,o=r.length;l<o;l++)y.apply(n,el(r[l]));!function(e){if(null!==e){var t=e.element,n=e.onselect,r=e.onselectstart,l=e.onselectionchange,o=e.ranges,a=Et(t),i=Qr(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 nl="\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",rl=new Set(["BUTTON","INPUT","SELECT","TEXTAREA"]);function ll(e){return e.filter((function(e){return me.call(e,"tabindex")?"0"===fe.call(e,"tabindex"):!rl.has(Ie.call(e))||!me.call(e,"disabled")}))}var ol=new WeakMap;function al(e){return(!er(e)||!Jn(e))&&(Fe.call(e,nl)&&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 il(){var e=this.getRootNode();if(e!==this){var t=e;if(t.activeElement!==this)for(var n=Tt(de.call(this,nl)),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,nl);S(a)||a.focus.apply(a,arguments)}}function ul(e){var t=yt(e),n=ll(Tt(tt.call(t,nl))),r=ll(Tt(de.call(e,nl))),l=r[0],o=r[r.length-1],a=d.call(n,e),i=a>-1?a:d.call(n,l),u=0===r.length?i+1:d.call(n,o)+1;return{prev:T.call(n,0,i),inner:r,next:T.call(n,u)}}function cl(e,t){var n=V.call(e,t);return n&x?0:n&F?1:n&W?2:-1}function sl(e){e.preventDefault(),e.stopPropagation()}function fl(e,t){ut.call(e,"focusin",sl,!0),ut.call(e,"focusout",sl,!0),t(),ct.call(e,"focusin",sl,!0),ct.call(e,"focusout",sl,!0)}function hl(e,t,n){var r=Et(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(yl(t.getRootNode(),l))return l}return null}(e,n);S(l)?fl(r,(function(){t.blur()})):fl(r,(function(){l.focus()}))}var pl=!1;function gl(){pl=!0}function ml(){pl=!1}function vl(){return!pl}function dl(e){if(!pl){var t=qe.call(e),n=Ge.call(e);if(t===n){var r=Xe.call(e);if(!S(r)){var l=ul(t);if(1===cl(t,r)){var o=yl.bind(null,t.getRootNode()),a=v.call(l.inner,o);if(C(a))hl(l.next,n,r);else fl(Et(a),(function(){a.focus()}))}else t===n&&hl(w.call(l.prev),n,r)}}}}function bl(e){if(!pl){var t=Xe.call(e);if(!S(t)){var n=qe.call(e),r=ul(n);if(-1===d.call(r.inner,t)){var l=Ge.call(e),o=cl(n,t);1===o&&hl(r.next,l,t),2===o&&hl(w.call(r.prev),l,t)}}}}function yl(e,t){if(!al(t))return!1;for(var n=yt(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 El(e){Ct.call(e,"focusin",dl,!0)}function wl(e){var t=yt(e);ol.get(t)||(ol.set(t,!0),Lt.call(t,"mousedown",gl,!0),Lt.call(t,"mouseup",(function(){setTimeout(ml)}),!0),Lt.call(t,"dragstart",ml,!0))}function Tl(e){Ct.call(e,"focusin",bl,!0)}var Nl=HTMLElement.prototype,Ll=Nl.blur,Ml=Nl.focus;function Cl(){return Jn(this)&&H(me.call(this,"tabindex"))?0:ke.call(this)}function Sl(e){var t=Jn(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&&Tl(this),0===n&&t&&El(this)),H(a))||(r&&a&&H(i)||(-1===o&&(wl(l=this),El(l),Lt.call(l,"focusin",bl,!0)),0===o&&t&&function(e){wl(e),Tl(e),Lt.call(e,"focusin",dl,!0)}(this)))}function Ol(){if(Jn(this)){var e=(n=yt(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 Ll.call(this)}function Hl(){var e=vl();e&&gl(),er(this)&&Jn(this)?il.call(this):(Ml.apply(this,arguments),e&&ml())}u(HTMLElement.prototype,{tabIndex:{get:function(){return er(this)?Cl.call(this):ke.call(this)},set:function(e){return er(this)?Sl.call(this,e):xe.call(this,e)},enumerable:!0,configurable:!0},blur:{value:function(){if(er(this))return Ol.call(this);Ll.call(this)},enumerable:!0,writable:!0,configurable:!0},focus:{value:function(){Hl.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),null!==Me&&null!==Ce&&c(HTMLElement.prototype,"innerText",{get:function(){return pn.ENABLE_INNER_OUTER_TEXT_PATCH?pn.ENABLE_ELEMENT_PATCH?wt(this)?Me.call(this):tl(this):$t(this)||er(this)?tl(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 pn.ENABLE_INNER_OUTER_TEXT_PATCH?pn.ENABLE_ELEMENT_PATCH?wt(this)?Oe.call(this):tl(this):$t(this)||er(this)?tl(this):Oe.call(this):Oe.call(this)},set:function(e){He.call(this,e)},enumerable:!0,configurable:!0}),c(Element.prototype,I,{set:function(e){var t=this.$$ShadowTokenKey$$;C(t)||t===e||be.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){var t=this.$shadowResolver$;if(e)for(var n,r=et.call(yt(this),this,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_COMMENT|NodeFilter.SHOW_TEXT,(function(){return NodeFilter.FILTER_ACCEPT}),!1);n=r.nextNode();)n.$shadowResolver$=t;this.$shadowStaticNodeKey$=e},get:function(){return this.$shadowStaticNodeKey$},configurable:!0});var Al,Rl=function(){},_l={childList:!0};function $l(e,t,n){var r=Vn(e);if(r!==t&&(zn(e,t),e instanceof Element)){if(function(e,t){e.$shadowToken$=t}(e,n),er(e))return;C(r)&&pt.call(Al,e,_l);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(Al)&&(Al=new ht((function(e){L.call(e,(function(e){for(var t=e.target,n=e.addedNodes,r=e.removedNodes,l=Vn(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)&B.DOCUMENT_POSITION_CONTAINED_BY||$l(u,Rl,void 0)}for(var c=0,s=n.length;c<s;c+=1){var f=n[c];V.call(t,f)&B.DOCUMENT_POSITION_CONTAINED_BY&&$l(f,l,o)}}))}))),C(Vn(e)))throw new Error("Invalid Element");pt.call(Al,e,_l)}c(Element.prototype,"$domManual$",{set:function(e){this.$$DomManualKey$$=e,O(e)&&Pl(this)},get:function(){return this.$$DomManualKey$$},configurable:!0})}));
|
|
10
|
+
*/function sr(e,t){if(S(e))return null;for(var n,r,l,o,a=cr(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),!tr(l)||!C(o)&&o>-1)return n;return null}function fr(e,t,n,r){var l=ze.call(t,n,r);return S(l)?l:sr(e,cr(l,!0))}a(lr,ir,{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=Qn(this),Tt(de.call(n,t)));var t,n}},querySelectorAll:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return an((t=e,Ut(n=Qn(this),Tt(de.call(n,t)))));var t,n}}},{innerHTML:{enumerable:!0,configurable:!0,get:function(){for(var e=On(this),t="",n=0,r=e.length;n<r;n+=1)t+=nn(e[n]);return t},set:function(e){var t=Qn(this);_e.call(t,e)}}},or),ur.prototype=i(DocumentFragment.prototype,lr),c(ur,Symbol.hasInstance,{value:function(e){return R(e)&&!S(e)&&(vt(e)||f(e)===ur.prototype)}}),Document.prototype.elementFromPoint=function(e,t){return fr(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(At(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=nt.apply(this,T.call(arguments));return S(e)?null:C(At(e))||wt(e)?e:null},writable:!0,enumerable:!0,configurable:!0}),c(Document.prototype,"querySelector",{value:function(){var e=Tt(tt.apply(this,T.call(arguments))),t=v.call(e,(function(e){return C(At(e))||wt(e)}));return C(t)?null:t},writable:!0,enumerable:!0,configurable:!0}),c(Document.prototype,"querySelectorAll",{value:function(){var e=Tt(tt.apply(this,T.call(arguments))),t=m.call(e,(function(e){return C(At(e))||wt(e)}));return an(t)},writable:!0,enumerable:!0,configurable:!0}),c(Document.prototype,"getElementsByClassName",{value:function(){var e=Tt(rt.apply(this,T.call(arguments))),t=m.call(e,(function(e){return C(At(e))||wt(e)}));return hn(t)},writable:!0,enumerable:!0,configurable:!0}),c(Document.prototype,"getElementsByTagName",{value:function(){var e=Tt(lt.apply(this,T.call(arguments))),t=m.call(e,(function(e){return C(At(e))||wt(e)}));return hn(t)},writable:!0,enumerable:!0,configurable:!0}),c(Document.prototype,"getElementsByTagNameNS",{value:function(){var e=Tt(ot.apply(this,T.call(arguments))),t=m.call(e,(function(e){return C(At(e))||wt(e)}));return hn(t)},writable:!0,enumerable:!0,configurable:!0}),c(s(HTMLDocument.prototype,"getElementsByName")?HTMLDocument.prototype:Document.prototype,"getElementsByName",{value:function(){var e=Tt(at.apply(this,T.call(arguments))),t=m.call(e,(function(e){return C(At(e))||wt(e)}));return an(t)},writable:!0,enumerable:!0,configurable:!0}),Object.defineProperty(window,"ShadowRoot",{value:ur,configurable:!0,writable:!0});var hr=Object.getOwnPropertyDescriptor(Event.prototype,"composed");var pr=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"click");function gr(e){Object.defineProperty(e,"composed",{configurable:!0,enumerable:!0,get:function(){return!0}})}(function(){if(!hr)return!1;var e=new Event("click"),t=document.createElement("button");return t.addEventListener("click",(function(t){return e=t})),t.click(),!hr.get.call(e)})()&&(HTMLElement.prototype.click=function(){Lt.call(this,"click",gr);try{pr.value.call(this)}finally{Ct.call(this,"click",gr)}}),!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 mr,vr,dr,br,yr=CustomEvent;function Er(e,t){var n=new yr(e,t),r=!(!t||!t.composed);return Object.defineProperties(n,{composed:{get:function(){return r},configurable:!0,enumerable:!0}}),n}if(Er.prototype=yr.prototype,window.CustomEvent=Er,"undefined"!=typeof ClipboardEvent){var wr=a(i(null),{copy:1,cut:1,paste:1});u(ClipboardEvent.prototype,{composed:{get:function(){var e=this.type;return 1===wr[e]},configurable:!0,enumerable:!0}})}dr="undefined"!=typeof HTMLIFrameElement,br="undefined"!=typeof Proxy&&O(Proxy.isCompat),dr&&br&&(mr=s(HTMLIFrameElement.prototype,"contentWindow"),vr=mr.get,mr.get=function(){var e,t=vr.call(this);return S(t)||C(At(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",mr));var Tr=MutationObserver,Nr=Tr.prototype,Lr=Nr.disconnect,Mr=Nr.observe,Cr=Nr.takeRecords,Sr="$$lwcObserverCallbackWrapper$$",Or=new WeakMap;function Hr(e){return e.$$lwcNodeObservers$$}function Ar(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 Rr(e,t){for(var n=t;!S(n);){var r=Hr(n);if(!C(r)&&(r[0]===e||-1!==d.call(r,e)))return!0;n=n.parentNode}return!1}function _r(e,t){return E.call(e,(function(e,n){var r=n.target,l=n.addedNodes,o=n.removedNodes;if("childList"!==n.type||C(_t(r)))Rr(t,r)&&y.call(e,n);else if(l.length>0){var a=l[0];if(Rr(t,a)){var i=Hr(r);!i||i[0]!==t&&-1===d.call(i,t)?y.call(e,Ar(n)):y.call(e,n)}}else{var u=r.shadowRoot,c=o[0];if(Rt(r)===Rt(c)&&Rr(t,r))y.call(e,n);else if(u){var s=Hr(u);!s||s[0]!==t&&-1===d.call(s,t)||y.call(e,Ar(n))}}return e}),[])}function Pr(e){var t=function(e){var t=e[Sr];return C(t)&&(t=e[Sr]=function(t,n){var r=_r(t,n);0!==r.length&&e.call(n,r,n)}),t}(e);return new Tr(t)}function $r(e,t,n){if(arguments.length>1){var r=T.call(arguments);return r[1]=_n(r[1]),ut.apply(this,r)}return ut.apply(this,arguments)}function Dr(e,t,n){if(arguments.length>1){var r=T.call(arguments);r[1]=_n(r[1]),ct.apply(this,r)}ct.apply(this,arguments)}function Ir(){var e=Ge.call(this);if(!(e instanceof B))return e;var t=yt(e),n=cr(e,this.composed),r=qe.call(this);if(!(r instanceof B))return S(r)&&C(At(e))?e:sr(t,n);if(r===t||r===t.body)return C(At(e))?e:sr(t,n);var l=r,o=n;er(r)&&(1===Pn.get(this)&&(l=Zn(r)));return er(e)&&ar.has(this)&&(o=cr(Zn(e),this.composed)),sr(l,o)}function Br(){var e=Ge.call(this);if(!(e instanceof B))return[];var t,n=Boolean(e.shadowRoot),r=(t=e,qn.has(t));if(n&&!r)return Ye.call(this);if(S(qe.call(this)))return[];var l=e;return er(e)&&ar.has(this)&&(l=Zn(e)),cr(l,this.composed)}function xr(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 B&&Pt(e)))return e;var n=qe.call(this);return S(n)&&(n=yt(e)),sr(n,cr(e,!0))},enumerable:!0,configurable:!0})}Pr.prototype=Tr.prototype,Pr.prototype.disconnect=function(){var e=this;Lr.call(this);var t=Or.get(this);C(t)||(L.call(t,(function(t){var n=t.$$lwcNodeObservers$$;if(!C(n)){var r=d.call(n,e);-1!==r&&N.call(n,r,1)}})),t.length=0)},Pr.prototype.observe=function(e,t){var n,r=Hr(e);if(C(r)&&(n=r=[],e.$$lwcNodeObservers$$=n),-1===d.call(r,this)&&y.call(r,this),tr(e)&&(e=e.host),Or.has(this)){var l=Or.get(this);-1===d.call(l,e)&&y.call(l,e)}else Or.set(this,[e]);return Mr.call(this,e,t)},Pr.prototype.takeRecords=function(){return _r(Cr.call(this),this)},c(window,"MutationObserver",{value:Pr,configurable:!0,writable:!0}),u(Nt,{addEventListener:{value:function(e,t,n){if(er(this))return Kn.apply(this,arguments);if(arguments.length<2){var r=T.call(arguments);return r.length>1&&(r[1]=_n(r[1])),Lt.apply(this,r)}var l=_n(t);return Lt.call(this,e,l,n)},enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:function(e,t,n){if(er(this))return Gn.apply(this,arguments);var r=T.call(arguments);arguments.length>1&&(r[1]=_n(r[1])),Ct.apply(this,r),Ct.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),"undefined"==typeof EventTarget&&u(Window.prototype,{addEventListener:{value:$r,enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:Dr,enumerable:!0,writable:!0,configurable:!0}}),u(Event.prototype,{target:{get:Ir,enumerable:!0,configurable:!0},currentTarget:{get:function(){var e=qe.call(this);return S(e)?null:1===Pn.get(this)?Zn(e):e},enumerable:!0,configurable:!0},composedPath:{value:Br,writable:!0,enumerable:!0,configurable:!0},srcElement:{get:Ir,enumerable:!0,configurable:!0},path:{get:Br,enumerable:!0,configurable:!0}}),xr(FocusEvent),xr(MouseEvent);var kr,Fr=h.call(Text.prototype,"assignedSlot")?s(Text.prototype,"assignedSlot").get:function(){return null},Wr={childList:!0},jr=new WeakMap;function Ur(e){var t=Tt(ue.call(e));return E.call(t,(function(e,t){return t instanceof Element&&xt(t)?y.apply(e,Ur(t)):y.call(e,t),e}),[])}function Kr(){var e=le.call(this);if(e instanceof Element){var t=Ue.call(e);if(vt(t))return this instanceof Text?Fr.call(this):Ke.call(this)}return!S(e)&&xt(e)&&At(e)!==At(this)?e:null}function Gr(e,t){var n,r=At(e);if(C(r))n=e instanceof HTMLBodyElement?m.call(t,(function(t){return C(At(t))||wt(e)})):T.call(t);else if(er(e)){var l=It(e);n=S(l)?[]:_t(e)?Wt(e,t):Ut(l,t)}else n=m.call(t,(function(e){return Rt(e)===r}));return n}function qr(){for(var e=On(this),t="",n=0,r=e.length;n<r;n+=1)t+=nn(e[n]);return t}function Xr(){return nn(this)}function Yr(){var e=It(this),t=S(e)?[]:Ut(e,Gt(this));return hn(m.call(t,(function(e){return e instanceof Element})))}function Vr(){return this.children.length}function zr(){return this.children[0]||null}function Jr(){var e=this.children;return e.item(e.length-1)||null}function Qr(e,t,n){var r;if(er(e)){var l=It(e);r=S(l)?[]:_t(e)?Wt(e,t):Ut(l,t)}else if(Pt(e)){var o=At(e);if(C(o))if(1===n){var a=Rt(e);r=m.call(t,(function(e){return Rt(e)===a}))}else r=T.call(t);else r=m.call(t,(function(e){return Rt(e)===o}))}else r=e instanceof HTMLBodyElement||1===n?m.call(t,(function(t){return C(At(t))||wt(e)})):T.call(t);return r}function Zr(e){var t=Et(e);return st.call(t,e)}function el(e){var t=Et(e);return ft.call(t)}function tl(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),kr||(kr=new ht((function(e){var t=[];L.call(e,(function(e){var n=e.target;-1===d.call(t,n)&&(y.call(t,n),Mt.call(n,new CustomEvent("slotchange")))}))}))),pt.call(kr,this,Wr))},writable:!0,enumerable:!0,configurable:!0},assignedElements:{value:function(e){if(Pt(this)){var t=!C(e)&&O(e.flatten),n=t?Ur(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?Ur(this):qt(this)}return _.apply(this,T.call(arguments))},writable:!0,enumerable:!0,configurable:!0},name:{get:function(){var e=fe.call(this,"name");return S(e)?"":e},set:function(e){ye.call(this,"name",e)},enumerable:!0,configurable:!0},childNodes:{get:function(){if(Pt(this)){var e=It(this);return an(S(e)?[]:Ut(e,Gt(this)))}return ue.call(this)},enumerable:!0,configurable:!0}}),u(Text.prototype,{assignedSlot:{get:Kr,enumerable:!0,configurable:!0}}),u(Element.prototype,{innerHTML:{get:function(){return pn.ENABLE_ELEMENT_PATCH?wt(this)?Re.call(this):qr.call(this):Pt(this)||er(this)?qr.call(this):Re.call(this)},set:function(e){_e.call(this,e)},enumerable:!0,configurable:!0},outerHTML:{get:function(){return pn.ENABLE_ELEMENT_PATCH?wt(this)?$e.call(this):Xr.call(this):Pt(this)||er(this)?Xr.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"]?rr(this,e):Ee.call(this,e)},enumerable:!0,writable:!0,configurable:!0},shadowRoot:{get:function(){if(er(this)){var e=Zn(this);if("open"===e.mode)return e}return Ue.call(this)},enumerable:!0,configurable:!0},children:{get:function(){return gn(this)?Yr.call(this):We.call(this)},enumerable:!0,configurable:!0},childElementCount:{get:function(){return gn(this)?Vr.call(this):we.call(this)},enumerable:!0,configurable:!0},firstElementChild:{get:function(){return gn(this)?zr.call(this):Te.call(this)},enumerable:!0,configurable:!0},lastElementChild:{get:function(){return gn(this)?Jr.call(this):Ne.call(this)},enumerable:!0,configurable:!0},assignedSlot:{get:Kr,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=Tt(de.apply(this,T.call(arguments)));if(er(this)){var n=It(this);return S(n)?null:_t(this)?jt(this,t):Kt(n,t)}if(Pt(this)){var r=At(this);if(C(r)){if(!pn.ENABLE_NODE_LIST_PATCH)return 0===t.length?null:t[0];var l=Rt(this),o=v.call(t,(function(e){return Rt(e)===l}));return C(o)?null:o}var a=v.call(t,(function(e){return Rt(e)===r}));return C(a)?null:a}if(!(pn.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(At(t))||wt(e)}));return C(u)?null:u},writable:!0,enumerable:!0,configurable:!0},querySelectorAll:{value:function(){var e=Tt(de.apply(this,T.call(arguments)));if(!pn.ENABLE_NODE_LIST_PATCH){var t=Qr(this,e,0);return an(t)}return an(Qr(this,e,1))},writable:!0,enumerable:!0,configurable:!0}}),u(Element.prototype,{getElementsByClassName:{value:function(){var e=Tt(je.apply(this,T.call(arguments)));if(!pn.ENABLE_HTML_COLLECTIONS_PATCH)return hn(Gr(this,e));var t=Qr(this,e,1);return hn(t)},writable:!0,enumerable:!0,configurable:!0},getElementsByTagName:{value:function(){var e=Tt(pe.apply(this,T.call(arguments)));if(!pn.ENABLE_HTML_COLLECTIONS_PATCH)return hn(Gr(this,e));var t=Qr(this,e,1);return hn(t)},writable:!0,enumerable:!0,configurable:!0},getElementsByTagNameNS:{value:function(){var e=Tt(ge.apply(this,T.call(arguments)));if(!pn.ENABLE_HTML_COLLECTIONS_PATCH)return hn(Gr(this,e));var t=Qr(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 nl(e){var t=[];if(function(e){return e.nodeType===j}(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,nl(l[o]));if(!tl(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=el(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 rl(e){if(!tl(Zr(e)))return rn(e)||"";for(var t=function(e){var t=Et(e),n=el(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,nl(r[l]));!function(e){if(null!==e){var t=e.element,n=e.onselect,r=e.onselectstart,l=e.onselectionchange,o=e.ranges,a=Et(t),i=el(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 ll="\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",ol=new Set(["BUTTON","INPUT","SELECT","TEXTAREA"]);function al(e){return e.filter((function(e){return me.call(e,"tabindex")?"0"===fe.call(e,"tabindex"):!ol.has(Ie.call(e))||!me.call(e,"disabled")}))}var il=new WeakMap;function ul(e){return(!er(e)||!Jn(e))&&(Fe.call(e,ll)&&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 cl(){var e=this.getRootNode();if(e!==this){var t=e;if(t.activeElement!==this)for(var n=Tt(de.call(this,ll)),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,ll);S(a)||a.focus.apply(a,arguments)}}function sl(e){var t=yt(e),n=al(Tt(tt.call(t,ll))),r=al(Tt(de.call(e,ll))),l=r[0],o=r[r.length-1],a=d.call(n,e),i=a>-1?a:d.call(n,l),u=0===r.length?i+1:d.call(n,o)+1;return{prev:T.call(n,0,i),inner:r,next:T.call(n,u)}}function fl(e,t){var n=V.call(e,t);return n&k?0:n&F?1:n&W?2:-1}function hl(e){e.preventDefault(),e.stopPropagation()}function pl(e,t){ut.call(e,"focusin",hl,!0),ut.call(e,"focusout",hl,!0),t(),ct.call(e,"focusin",hl,!0),ct.call(e,"focusout",hl,!0)}function gl(e,t,n){var r=Et(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(wl(t.getRootNode(),l))return l}return null}(e,n);S(l)?pl(r,(function(){t.blur()})):pl(r,(function(){l.focus()}))}var ml=!1;function vl(){ml=!0}function dl(){ml=!1}function bl(){return!ml}function yl(e){if(!ml){var t=qe.call(e),n=Ge.call(e);if(t===n){var r=Xe.call(e);if(!S(r)){var l=sl(t);if(1===fl(t,r)){var o=wl.bind(null,t.getRootNode()),a=v.call(l.inner,o);if(C(a))gl(l.next,n,r);else pl(Et(a),(function(){a.focus()}))}else t===n&&gl(w.call(l.prev),n,r)}}}}function El(e){if(!ml){var t=Xe.call(e);if(!S(t)){var n=qe.call(e),r=sl(n);if(-1===d.call(r.inner,t)){var l=Ge.call(e),o=fl(n,t);1===o&&gl(r.next,l,t),2===o&&gl(w.call(r.prev),l,t)}}}}function wl(e,t){if(!ul(t))return!1;for(var n=yt(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 Tl(e){Ct.call(e,"focusin",yl,!0)}function Nl(e){var t=yt(e);il.get(t)||(il.set(t,!0),Lt.call(t,"mousedown",vl,!0),Lt.call(t,"mouseup",(function(){setTimeout(dl)}),!0),Lt.call(t,"dragstart",dl,!0))}function Ll(e){Ct.call(e,"focusin",El,!0)}var Ml=HTMLElement.prototype,Cl=Ml.blur,Sl=Ml.focus;function Ol(){return Jn(this)&&H(me.call(this,"tabindex"))?0:xe.call(this)}function Hl(e){var t=Jn(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&&Ll(this),0===n&&t&&Tl(this)),H(a))||(r&&a&&H(i)||(-1===o&&(Nl(l=this),Tl(l),Lt.call(l,"focusin",El,!0)),0===o&&t&&function(e){Nl(e),Ll(e),Lt.call(e,"focusin",yl,!0)}(this)))}function Al(){if(Jn(this)){var e=(n=yt(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 Cl.call(this)}function Rl(){var e=bl();e&&vl(),er(this)&&Jn(this)?cl.call(this):(Sl.apply(this,arguments),e&&dl())}u(HTMLElement.prototype,{tabIndex:{get:function(){return er(this)?Ol.call(this):xe.call(this)},set:function(e){return er(this)?Hl.call(this,e):ke.call(this,e)},enumerable:!0,configurable:!0},blur:{value:function(){if(er(this))return Al.call(this);Cl.call(this)},enumerable:!0,writable:!0,configurable:!0},focus:{value:function(){Rl.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),null!==Me&&null!==Ce&&c(HTMLElement.prototype,"innerText",{get:function(){return pn.ENABLE_INNER_OUTER_TEXT_PATCH?pn.ENABLE_ELEMENT_PATCH?wt(this)?Me.call(this):rl(this):Pt(this)||er(this)?rl(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 pn.ENABLE_INNER_OUTER_TEXT_PATCH?pn.ENABLE_ELEMENT_PATCH?wt(this)?Oe.call(this):rl(this):Pt(this)||er(this)?rl(this):Oe.call(this):Oe.call(this)},set:function(e){He.call(this,e)},enumerable:!0,configurable:!0}),c(Element.prototype,I,{set:function(e){var t=this.$$ShadowTokenKey$$;C(t)||t===e||be.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){var t=this.$shadowResolver$;if(e)for(var n,r=et.call(yt(this),this,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_COMMENT|NodeFilter.SHOW_TEXT,(function(){return NodeFilter.FILTER_ACCEPT}),!1);n=r.nextNode();)n.$shadowResolver$=t;this.$shadowStaticNodeKey$=e},get:function(){return this.$shadowStaticNodeKey$},configurable:!0});var _l,Pl=function(){},$l={childList:!0};function Dl(e,t,n){var r=Vn(e);if(r!==t&&(zn(e,t),e instanceof Element)){if(function(e,t){e.$shadowToken$=t}(e,n),er(e))return;C(r)&&pt.call(_l,e,$l);for(var l=ue.call(e),o=0,a=l.length;o<a;o+=1)Dl(l[o],t,n)}}function Il(e){if(C(_l)&&(_l=new ht((function(e){L.call(e,(function(e){for(var t=e.target,n=e.addedNodes,r=e.removedNodes,l=Vn(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)&B.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)&B.DOCUMENT_POSITION_CONTAINED_BY&&Dl(f,l,o)}}))}))),C(Vn(e)))throw new Error("Invalid Element");pt.call(_l,e,$l)}c(Element.prototype,"$domManual$",{set:function(e){this.$$DomManualKey$$=e,O(e)&&Il(this)},get:function(){return this.$$DomManualKey$$},configurable:!0})}));
|