lwc 2.45.0 → 2.45.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/engine-dom/esm/es2017/engine-dom.js +158 -83
- package/dist/engine-dom/esm/es2017/engine-dom.js.map +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom.js +158 -83
- package/dist/engine-dom/iife/es2017/engine-dom.js.map +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +75 -18
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js.map +1 -1
- package/dist/engine-dom/iife/es5/engine-dom.js +162 -79
- package/dist/engine-dom/iife/es5/engine-dom.js.map +1 -1
- package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +83 -16
- package/dist/engine-dom/iife/es5/engine-dom_debug.js.map +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom.js +158 -83
- package/dist/engine-dom/umd/es2017/engine-dom.js.map +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +75 -18
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js.map +1 -1
- package/dist/engine-dom/umd/es5/engine-dom.js +162 -79
- package/dist/engine-dom/umd/es5/engine-dom.js.map +1 -1
- package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +83 -16
- package/dist/engine-dom/umd/es5/engine-dom_debug.js.map +1 -1
- package/dist/engine-server/commonjs/es2017/engine-server.js +102 -75
- package/dist/engine-server/commonjs/es2017/engine-server.js.map +1 -1
- package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
- package/dist/engine-server/esm/es2017/engine-server.js +102 -75
- package/dist/engine-server/esm/es2017/engine-server.js.map +1 -1
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +4 -4
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js.map +1 -1
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +4 -4
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js.map +1 -1
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js +2 -2
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +4 -4
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js.map +1 -1
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js.map +1 -1
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js.map +1 -1
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +4 -4
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js.map +1 -1
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js +2 -2
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +4 -4
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js.map +1 -1
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js.map +1 -1
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js.map +1 -1
- package/dist/wire-service/esm/es2017/wire-service.js +2 -2
- package/dist/wire-service/esm/es2017/wire-service.js.map +1 -1
- package/dist/wire-service/iife/es2017/wire-service.js +2 -2
- package/dist/wire-service/iife/es2017/wire-service.js.map +1 -1
- package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
- package/dist/wire-service/iife/es2017/wire-service_debug.js.map +1 -1
- package/dist/wire-service/iife/es5/wire-service.js +2 -2
- package/dist/wire-service/iife/es5/wire-service.js.map +1 -1
- package/dist/wire-service/iife/es5/wire-service_debug.js +2 -2
- package/dist/wire-service/iife/es5/wire-service_debug.js.map +1 -1
- package/dist/wire-service/umd/es2017/wire-service.js +2 -2
- package/dist/wire-service/umd/es2017/wire-service.js.map +1 -1
- package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
- package/dist/wire-service/umd/es2017/wire-service_debug.js.map +1 -1
- package/dist/wire-service/umd/es5/wire-service.js +2 -2
- package/dist/wire-service/umd/es5/wire-service.js.map +1 -1
- package/dist/wire-service/umd/es5/wire-service_debug.js +2 -2
- package/dist/wire-service/umd/es5/wire-service_debug.js.map +1 -1
- package/package.json +7 -7
|
@@ -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:a,getPrototypeOf:i,hasOwnProperty:c,isFrozen:u,keys:s,seal:f,setPrototypeOf:p}=Object,{concat:h,copyWithin:g,fill:m,filter:d,find:b,findIndex:y,indexOf:E,join:w,map:v,pop:T,push:N,reduce:M,reverse:L,shift:S,slice:C,some:H,sort:O,splice:D,unshift:R,forEach:P}=Array.prototype,{charCodeAt:I,replace:$,split:A,slice:B,toLowerCase:x}=String.prototype;function k(e){return void 0===e}function F(e){return null===e}function _(e){return!0===e}function W(e){return!1===e}function U(e){return"function"==typeof e}function j(e){return"object"==typeof e}const G="object"==typeof globalThis?globalThis:window,K="$shadowResolver$",q="$$ShadowResolverKey$$",Y="$shadowStaticNodeKey$",X="$shadowToken$",V="$$ShadowTokenKey$$",z="$nativeGetElementById$",Q="$nativeQuerySelectorAll$";G.lwcRuntimeFlags||Object.defineProperty(G,"lwcRuntimeFlags",{value:t(null)});const J=Node,Z=J.prototype,{DOCUMENT_POSITION_CONTAINED_BY:ee,DOCUMENT_POSITION_CONTAINS:te,DOCUMENT_POSITION_PRECEDING:ne,DOCUMENT_POSITION_FOLLOWING:le,ELEMENT_NODE:oe,TEXT_NODE:re,CDATA_SECTION_NODE:ae,PROCESSING_INSTRUCTION_NODE:ie,COMMENT_NODE:ce,DOCUMENT_FRAGMENT_NODE:ue}=J,{appendChild:se,cloneNode:fe,compareDocumentPosition:pe,insertBefore:he,removeChild:ge,replaceChild:me,hasChildNodes:de}=Z,{contains:be}=HTMLElement.prototype,ye=r(Z,"firstChild").get,Ee=r(Z,"lastChild").get,we=r(Z,"textContent").get,ve=r(Z,"parentNode").get,Te=r(Z,"ownerDocument").get,Ne=c.call(Z,"parentElement")?r(Z,"parentElement").get:r(HTMLElement.prototype,"parentElement").get,Me=r(Z,"textContent").set,Le=c.call(Z,"childNodes")?r(Z,"childNodes").get:r(HTMLElement.prototype,"childNodes").get,Se=c.call(Z,"isConnected")?r(Z,"isConnected").get:function(){const e=Te.call(this);return null===e||0!=(pe.call(e,this)&ee)},{getAttribute:Ce,getBoundingClientRect:He,getElementsByTagName:Oe,getElementsByTagNameNS:De,hasAttribute:Re,querySelector:Pe,querySelectorAll:Ie,removeAttribute:$e,setAttribute:Ae}=Element.prototype,Be=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")},xe=r(Element.prototype,"childElementCount").get,ke=r(Element.prototype,"firstElementChild").get,Fe=r(Element.prototype,"lastElementChild").get,_e=r(HTMLElement.prototype,"innerText"),We=_e?_e.get:null,Ue=_e?_e.set:null,je=r(HTMLElement.prototype,"outerText"),Ge=je?je.get:null,Ke=je?je.set:null,qe=c.call(Element.prototype,"innerHTML")?r(Element.prototype,"innerHTML"):r(HTMLElement.prototype,"innerHTML"),Ye=qe.get,Xe=qe.set,Ve=c.call(Element.prototype,"outerHTML")?r(Element.prototype,"outerHTML"):r(HTMLElement.prototype,"outerHTML"),ze=Ve.get,Qe=Ve.set,Je=r(Element.prototype,"tagName").get,Ze=r(HTMLElement.prototype,"tabIndex"),et=Ze.get,tt=Ze.set,nt=c.call(Element.prototype,"matches")?Element.prototype.matches:Element.prototype.msMatchesSelector,lt=c.call(Element.prototype,"children")?r(Element.prototype,"children").get:r(HTMLElement.prototype,"children").get,{getElementsByClassName:ot}=HTMLElement.prototype,rt=c.call(Element.prototype,"shadowRoot")?r(Element.prototype,"shadowRoot").get:()=>null,at=c.call(Element.prototype,"assignedSlot")?r(Element.prototype,"assignedSlot").get:()=>null;let it,ct;"undefined"!=typeof HTMLSlotElement?(it=HTMLSlotElement.prototype.assignedNodes,ct=HTMLSlotElement.prototype.assignedElements):(it=()=>{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")},ct=()=>{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 ut=r(Event.prototype,"target").get,st=r(Event.prototype,"currentTarget").get,ft=r(FocusEvent.prototype,"relatedTarget").get,pt=c.call(Event.prototype,"composedPath")?Event.prototype.composedPath:()=>[],ht=r(Document.prototype,"activeElement").get,gt=c.call(Document.prototype,"elementFromPoint")?Document.prototype.elementFromPoint:Document.prototype.msElementFromPoint,mt=c.call(Document.prototype,"elementsFromPoint")?Document.prototype.elementsFromPoint:Document.prototype.msElementsFromPoint,dt=r(Document.prototype,"defaultView").get,{createComment:bt,querySelectorAll:yt,getElementById:Et,getElementsByClassName:wt,getElementsByTagName:vt,getElementsByTagNameNS:Tt}=Document.prototype,{getElementsByName:Nt}=HTMLDocument.prototype,{addEventListener:Mt,removeEventListener:Lt,getComputedStyle:St,getSelection:Ct}=window,Ht=MutationObserver,Ot=Ht.prototype.observe;let Dt=null;"undefined"!=typeof ShadowRoot&&(Dt=ShadowRoot);const Rt=!F(Dt),Pt=F(Dt)?()=>!1:e=>e instanceof Dt;const{createElement:It}=Document.prototype;function $t(e){const t=Te.call(e);return null===t?e:t}function At(e){const t=$t(e),n=dt.call(t);if(null===n)throw new TypeError;return n}let Bt;function xt(e){if(k(Bt)){const t=$t(e);Bt=t.body&&"temporary-bypass"===Ce.call(t.body,"data-global-patching-bypass")}return _(Bt)}function kt(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{}p(e,HTMLElement.constructor),p(e.prototype,HTMLElement.prototype),Window.prototype.HTMLSlotElement=e,l(Document.prototype,"createElement",{value:function(t,n){const l=It.apply(this,C.call(arguments));return 4===t.length&&115===I.call(t,0)&&108===I.call(t,1)&&111===I.call(t,2)&&116===I.call(t,3)&&p(l,e.prototype),l}})}();const Ft="undefined"!=typeof EventTarget?EventTarget.prototype:J.prototype,{addEventListener:_t,dispatchEvent:Wt,removeEventListener:Ut}=Ft,jt="$$HostElementKey$$",Gt="$$ShadowedNodeKey$$";function Kt(e,t,n){const l=e;{const{value:e}=n;l[t]=e}}function qt(e){return e[jt]}function Yt(e){let t,n=e;for(;!F(n);){if(t=qt(n),!k(t))return t;if(n=ve.call(n),!F(n)&&Zt(n))return}}function Xt(e){return e[Gt]}function Vt(e){return!k(qt(e))}function zt(e){let t=Ne.call(e);for(;!F(t)&&en(t);)e=t,t=Ne.call(e);return e}function Qt(e,t){const n=Xt(e);let l=t instanceof Element?t:Ne.call(t);for(;!F(l)&&l!==e;){const t=Yt(l),o=Ne.call(l);if(t===n)return en(l);if(o===e)return!1;if(F(o)||Yt(o)===t)l=o;else{if(!en(o))return!1;if(l=Jt(zt(o)),!F(l)){if(l===e)return!0;if(Yt(l)===n)return!0}}}return!1}function Jt(e){if(!(e instanceof J))return null;const t=Yt(e);if(k(t))return null;let n=e;for(;!F(n)&&Xt(n)!==t;)n=ve.call(n);return F(n)?null:n}function Zt(e){return en(e)&&Vt(e)}function en(e){return e instanceof HTMLSlotElement}function tn(e,t){const n=Yt(t);if(k(n)){const e=ve.call(t);return!(!F(e)&&Zt(e))}return Xt(e)===n}function nn(e){const t=gl(e);return on(t,kt(Le.call(t)))}function ln(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];!tn(e,o)&&Qt(e,o)&&N.call(n,o)}return n}function on(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];tn(e,o)&&N.call(n,o)}return n}function rn(e,t){for(let n=0,l=t.length;n<l;n+=1)if(tn(e,t[n]))return t[n];return null}function an(e){if(!dl(e)&&!en(e)){return kt(Le.call(e))}if(dl(e)){const t=kt(Ie.call(e,"slot")),n=fl(ml(e));return M.call(t,((e,t)=>(n===fl(t)&&N.apply(e,cn(t)),e)),[])}{const t=kt(Le.call(e)),n=fl(e);return d.call(t,(e=>n===fl(e)))}}function cn(e){const t=Jt(e);if(F(t))return[];const n=kt(Le.call(e));return d.call(n,(e=>!Vt(e)||!tn(t,e)))}const un=/[&\u00A0"]/g,sn=/[&\u00A0<>]/g,{replace:fn,toLowerCase:pn}=String.prototype;function hn(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" ";default:return""}}function gn(e){return fn.call(e,un,hn)}const mn=new Set(["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"]),dn=new Set(["STYLE","SCRIPT","XMP","IFRAME","NOEMBED","NOFRAMES","PLAINTEXT","NOSCRIPT"]);function bn(e){switch(e.nodeType){case oe:{const{attributes:t}=e,n=Je.call(e);let l="<"+pn.call(n);for(let e,n=0;e=t[n];n++)l+=" "+e.name+'="'+gn(e.value)+'"';return l+=">",mn.has(n)?l:l+function(e){let t="";const n=an(e);for(let e=0,l=n.length;e<l;e+=1)t+=bn(n[e]);return t}(e)+"</"+pn.call(n)+">"}case re:{const{data:n,parentNode:l}=e;return l instanceof Element&&dn.has(Je.call(l))?n:(t=n,fn.call(t,sn,hn))}case ae:return`<!CDATA[[${e.data}]]>`;case ie:return`<?${e.target} ${e.data}?>`;case ce:return`\x3c!--${e.data}--\x3e`;default:return""}var t}function yn(e){if(e.nodeType===oe){const t=an(e);let n="";for(let e=0,l=t.length;e<l;e+=1){const l=t[e];l.nodeType!==ce&&(n+=yn(l))}return n}return e.nodeValue}const En=new WeakMap;function wn(){throw new TypeError("Illegal constructor")}function vn(e){const n=t(wn.prototype);return En.set(n,e),P.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}wn.prototype=t(NodeList.prototype,{constructor:{writable:!0,configurable:!0,value:wn},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return En.get(this).length}},forEach:{writable:!0,enumerable:!0,configurable:!0,value(e,t){P.call(En.get(this),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value(){return v.call(En.get(this),((e,t)=>[t,e]))}},keys:{writable:!0,enumerable:!0,configurable:!0,value(){return v.call(En.get(this),((e,t)=>t))}},values:{writable:!0,enumerable:!0,configurable:!0,value(){return En.get(this)}},[Symbol.iterator]:{writable:!0,configurable:!0,value(){let e=0;return{next:()=>{const t=En.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]"}}),p(wn,NodeList);const Tn=(e,t)=>{let n;for(;!k(n=e.host);){const l=n.getRootNode();if(l===t)return n;e=l}};function Nn(e,t,n,l){const o=mt.call(t,n,l),r=[],a=function(e){var t;const n=[];let l=e.getRootNode();for(;!k(l);)n.push(l),l=null===(t=l.host)||void 0===t?void 0:t.getRootNode();return n}(e);if(!F(o))for(let e=0;e<o.length;e++){const t=o[e];if(Zt(t))continue;const n=t.getRootNode();if(-1!==E.call(a,n)){N.call(r,t);continue}const l=Tn(n,a[0]);k(l)||-1!==E.call(o,l)||-1!==E.call(r,l)||N.call(r,l)}return r}const Mn=new WeakMap;function Ln(){throw new TypeError("Illegal constructor")}function Sn(e){const n=t(Ln.prototype);return Mn.set(n,e),P.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}function Cn(e){return Zt(e)||dl(e)}function Hn(e,t){const n=Jt(e);if(t===n)return ml(n);if(t instanceof Element){if(Yt(e)===Yt(t))return t;if(!F(n)&&en(t)){const e=Jt(t);if(!F(e)&&tn(n,e))return e}}return null}function On(){return Wn(this).length>0}function Dn(){return Wn(this)[0]||null}function Rn(){const e=Wn(this);return e[e.length-1]||null}function Pn(){return yn(this)}function In(){const e=ve.call(this);return F(e)?e:Hn(this,e)}function $n(){const e=ve.call(this);if(F(e))return null;const t=Hn(this,e);return t instanceof Element?t:null}function An(e){return this===e?0:this.getRootNode()===e?10:qt(this)!==qt(e)?35:pe.call(this,e)}function Bn(e){return null!=e&&qt(this)===qt(e)&&0!=(pe.call(this,e)&ee)}function xn(e){const t=fe.call(this,!1);if(!e)return t;const n=Wn(this);for(let e=0,l=n.length;e<l;e+=1)t.appendChild(n[e].cloneNode(!0));return t}function kn(){if(dl(this)){const e=Jt(this);return vn(F(e)?[]:on(e,an(this)))}return Le.call(this)}Ln.prototype=t(HTMLCollection.prototype,{constructor:{writable:!0,configurable:!0,value:Ln},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return Mn.get(this).length}},namedItem:{writable:!0,enumerable:!0,configurable:!0,value(e){if(""===e)return null;const t=Mn.get(this);for(let n=0,l=t.length;n<l;n++){const n=t[l];if(e===Ce.call(n,"id")||e===Ce.call(n,"name"))return n}return null}},[Symbol.toStringTag]:{configurable:!0,get:()=>"HTMLCollection"},toString:{writable:!0,configurable:!0,value:()=>"[object HTMLCollection]"}}),p(Ln,HTMLCollection);const Fn=J.prototype.getRootNode,_n=k(Fn)?function(){let e,t=this;for(;!F(e=ve.call(t));)t=e;return t}:Fn;n(J.prototype,{firstChild:{get(){return Cn(this)?Dn.call(this):ye.call(this)},enumerable:!0,configurable:!0},lastChild:{get(){return Cn(this)?Rn.call(this):Ee.call(this)},enumerable:!0,configurable:!0},textContent:{get(){return Vt(this)||dl(this)?Pn.call(this):we.call(this)},set:function(e){Me.call(this,e)},enumerable:!0,configurable:!0},parentNode:{get(){if(Vt(this))return In.call(this);const e=ve.call(this);return!F(e)&&Zt(e)?Jt(e):e},enumerable:!0,configurable:!0},parentElement:{get(){if(Vt(this))return $n.call(this);const e=Ne.call(this);return!F(e)&&Zt(e)?Jt(e):e},enumerable:!0,configurable:!0},childNodes:{get(){return Cn(this)?kn.call(this):Le.call(this)},enumerable:!0,configurable:!0},hasChildNodes:{value(){return Cn(this)?On.call(this):de.call(this)},enumerable:!0,writable:!0,configurable:!0},compareDocumentPosition:{value(e){return xt(this)?pe.call(this,e):An.call(this,e)},enumerable:!0,writable:!0,configurable:!0},contains:{value(e){return this===e||null!=e&&(Vt(this)||dl(this)?Bn.call(this,e):be.call(this,e))},enumerable:!0,writable:!0,configurable:!0},cloneNode:{value(e){return Vt(this)||dl(this)?xn.call(this,e):fe.call(this,e)},enumerable:!0,writable:!0,configurable:!0},getRootNode:{value:function(e){return _(!k(e)&&!!e.composed)?_n.call(this,e):function(e){const t=Jt(e);return F(t)?_n.call(e):ml(t)}(this)},enumerable:!0,configurable:!0,writable:!0},isConnected:{enumerable:!0,configurable:!0,get(){return Se.call(this)}}});const Wn=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 Un=new WeakMap,jn=new WeakMap;function Gn(e,t,n){if(t===n)return!0;let l=jn.get(e);return k(l)&&(l=e.composedPath(),jn.set(e,l)),l.includes(n)}function Kn(e){if(!function(e){return U(e)||j(e)&&!F(e)&&U(e.handleEvent)}(e))return e;let t=Un.get(e);return k(t)&&(t=function(t){const n=st.call(t);if(Gn(t,Qn(t),n))return U(e)?e.call(this,t):e.handleEvent&&e.handleEvent(t)},Un.set(e,t)),t}const qn=new WeakMap;function Yn(e){return U(e)?e:e.handleEvent}function Xn(e){return U(e)||U(null==e?void 0:e.handleEvent)}const Vn=new WeakMap;function zn(e){let n=Vn.get(e);return k(n)&&(n=t(null),Vn.set(e,n)),n}function Qn(e){var t;return null!==(t=Tl.get(e))&&void 0!==t?t:ut.call(e)}const Jn=new WeakMap;function Zn(e){if(!Xn(e))throw new TypeError;let t=Jn.get(e);return k(t)&&(t={identity:e,placement:1,handleEvent(t){let n=st.call(t);Pt(n)||(n=ml(n));Gn(t,Qn(t),n)&&Yn(e).call(n,t)}},Jn.set(e,t)),t}const el=new WeakMap;function tl(e){if(!Xn(e))throw new TypeError;let t=el.get(e);return k(t)&&(t={identity:e,placement:0,handleEvent(t){const n=st.call(t);Gn(t,Qn(t),n)&&Yn(e).call(n,t)}},el.set(e,t)),t}function nl(e,t){return y.call(e,(e=>e.identity===t.identity))}function ll(e){let t=!1,n=!1;const{type:o,stopImmediatePropagation:r,stopPropagation:a}=e,i=zn(st.call(e))[o];l(e,"stopImmediatePropagation",{value(){t=!0,r.call(e)},writable:!0,enumerable:!0,configurable:!0}),l(e,"stopPropagation",{value(){n=!0,a.call(e)},writable:!0,enumerable:!0,configurable:!0});const c=C.call(i);function u(n){P.call(c,(l=>{W(t)&&l.placement===n&&-1!==nl(i,l)&&l.handleEvent.call(void 0,e)}))}qn.set(e,1),u(1),W(t)&&W(n)&&(qn.set(e,0),u(0)),qn.set(e,2)}function ol(e,t,n){const l=zn(e);let o=l[t];k(o)&&(o=l[t]=[]),-1===nl(o,n)&&(0===o.length&&_t.call(e,t,ll),N.call(o,n))}function rl(e,t,n){let l,o;k(o=zn(e)[t])||-1===(l=nl(o,n))||(D.call(o,l,1),0===o.length&&Ut.call(e,t,ll))}function al(e,t,n){if(Xn(t)){ol(this,e,tl(t))}}function il(e,t,n){if(Xn(t)){rl(this,e,tl(t))}}const cl=new WeakMap,{createDocumentFragment:ul}=document;function sl(e){const t=cl.get(e);if(k(t))throw new TypeError;return t}function fl(e){return e[K]}function pl(e,t){e[K]=t}function hl(e){return sl(e).delegatesFocus}function gl(e){return sl(e).host}function ml(e){return sl(e).shadowRoot}function dl(e){const t=cl.get(e);return!k(t)&&e===t.host}function bl(e){const t=cl.get(e);return!k(t)&&e===t.shadowRoot}l(J.prototype,K,{set(e){var t,n;k(e)||(this[q]=e,t=this,n=e.nodeKey,Kt(t,jt,{value:n,configurable:!0}))},get(){return this[q]},configurable:!0,enumerable:!0}),l(G,"$isNativeShadowRootDefined$",{value:Rt}),k(G[z])&&l(G,z,{value:Et,configurable:!0}),k(G[Q])&&l(G,Q,{value:yt,configurable:!0});let yl=0;function El(e,t){if(cl.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=$t(e),r=ul.call(o),a={mode:n,delegatesFocus:!!l,host:e,shadowRoot:r};cl.set(r,a),cl.set(e,a);const i=()=>r,c=i.nodeKey=yl++;return Kt(e,Gt,{value:c}),pl(r,i),p(r,Ml.prototype),r}const wl={constructor:{writable:!0,configurable:!0,value:Ml},toString:{writable:!0,configurable:!0,value:()=>"[object ShadowRoot]"},synthetic:{writable:!1,enumerable:!1,configurable:!1,value:!0}},vl={activeElement:{enumerable:!0,configurable:!0,get(){const e=gl(this),t=$t(e),n=ht.call(t);if(F(n))return n;if(0==(pe.call(e,n)&ee))return null;let l=n;for(;!tn(e,l);)l=Ne.call(l);return en(l)?null:l}},delegatesFocus:{configurable:!0,get(){return sl(this).delegatesFocus}},elementFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return Cl(this,$t(gl(this)),e,t)}},elementsFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return Nn(this,$t(gl(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 gl(this)}},mode:{configurable:!0,get(){return sl(this).mode}},styleSheets:{enumerable:!0,configurable:!0,get(){throw new Error}}},Tl=new WeakMap,Nl={insertBefore:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return he.call(gl(this),e,t),e}},removeChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return ge.call(gl(this),e),e}},appendChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return se.call(gl(this),e),e}},replaceChild:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return me.call(gl(this),e,t),t}},addEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,l){Xn(n)&&ol(gl(e),t,Zn(n))}(this,e,t)}},dispatchEvent:{writable:!0,enumerable:!0,configurable:!0,value(e){return Tl.set(e,this),Wt.apply(gl(this),arguments)}},removeEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,l){Xn(n)&&rl(gl(e),t,Zn(n))}(this,e,t)}},baseURI:{enumerable:!0,configurable:!0,get(){return gl(this).baseURI}},childNodes:{enumerable:!0,configurable:!0,get(){return vn(nn(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=gl(this);return this===e?0:this.contains(e)?20:pe.call(t,e)&ee?37:35}},contains:{writable:!0,enumerable:!0,configurable:!0,value(e){if(this===e)return!0;const t=gl(this);return 0!=(pe.call(t,e)&ee)&&tn(t,e)}},firstChild:{enumerable:!0,configurable:!0,get(){return Wn(this)[0]||null}},lastChild:{enumerable:!0,configurable:!0,get(){const e=Wn(this);return e[e.length-1]||null}},hasChildNodes:{writable:!0,enumerable:!0,configurable:!0,value(){return Wn(this).length>0}},isConnected:{enumerable:!0,configurable:!0,get(){return Se.call(gl(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 gl(this).ownerDocument}},parentElement:{enumerable:!0,configurable:!0,get:()=>null},parentNode:{enumerable:!0,configurable:!0,get:()=>null},textContent:{enumerable:!0,configurable:!0,get(){const e=Wn(this);let t="";for(let n=0,l=e.length;n<l;n+=1){const l=e[n];l.nodeType!==ce&&(t+=yn(l))}return t},set(e){const t=gl(this);Me.call(t,e)}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value(e){return!k(e)&&_(e.composed)?gl(this).getRootNode(e):this}}};function Ml(){throw new TypeError("Illegal constructor")}function Ll(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(;!F(r);)if(n.push(r),r instanceof Element||r instanceof Text){const e=r.assignedSlot;r=F(e)?r.parentNode:e}else r=!bl(r)&&!Pt(r)||!t&&r===l?r instanceof J?r.parentNode:null:r.host;return o=e instanceof Window?e.document:$t(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:a,getPrototypeOf:i,hasOwnProperty:c,isFrozen:u,keys:s,seal:f,setPrototypeOf:p}=Object,{concat:h,copyWithin:g,every:m,fill:d,filter:b,find:y,findIndex:E,includes:w,indexOf:v,join:T,map:N,pop:M,push:L,reduce:S,reverse:C,shift:H,slice:O,some:D,sort:R,splice:P,unshift:I,forEach:$}=Array.prototype,{charCodeAt:A,replace:B,split:x,slice:k,toLowerCase:F}=String.prototype;function _(e){return void 0===e}function W(e){return null===e}function U(e){return!0===e}function j(e){return!1===e}function G(e){return"function"==typeof e}function K(e){return"object"==typeof e}const q="object"==typeof globalThis?globalThis:window,Y="$shadowResolver$",X="$$ShadowResolverKey$$",V="$shadowStaticNodeKey$",z="$shadowToken$",Q="$$ShadowTokenKey$$",J="$nativeGetElementById$",Z="$nativeQuerySelectorAll$";q.lwcRuntimeFlags||Object.defineProperty(q,"lwcRuntimeFlags",{value:t(null)});const ee=Node,te=ee.prototype,{DOCUMENT_POSITION_CONTAINED_BY:ne,DOCUMENT_POSITION_CONTAINS:le,DOCUMENT_POSITION_PRECEDING:oe,DOCUMENT_POSITION_FOLLOWING:re,ELEMENT_NODE:ae,TEXT_NODE:ie,CDATA_SECTION_NODE:ce,PROCESSING_INSTRUCTION_NODE:ue,COMMENT_NODE:se,DOCUMENT_FRAGMENT_NODE:fe}=ee,{appendChild:pe,cloneNode:he,compareDocumentPosition:ge,insertBefore:me,removeChild:de,replaceChild:be,hasChildNodes:ye}=te,{contains:Ee}=HTMLElement.prototype,we=r(te,"firstChild").get,ve=r(te,"lastChild").get,Te=r(te,"textContent").get,Ne=r(te,"parentNode").get,Me=r(te,"ownerDocument").get,Le=c.call(te,"parentElement")?r(te,"parentElement").get:r(HTMLElement.prototype,"parentElement").get,Se=r(te,"textContent").set,Ce=c.call(te,"childNodes")?r(te,"childNodes").get:r(HTMLElement.prototype,"childNodes").get,He=c.call(te,"isConnected")?r(te,"isConnected").get:function(){const e=Me.call(this);return null===e||0!=(ge.call(e,this)&ne)},{getAttribute:Oe,getBoundingClientRect:De,getElementsByTagName:Re,getElementsByTagNameNS:Pe,hasAttribute:Ie,querySelector:$e,querySelectorAll:Ae,removeAttribute:Be,setAttribute:xe}=Element.prototype,ke=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")},Fe=r(Element.prototype,"childElementCount").get,_e=r(Element.prototype,"firstElementChild").get,We=r(Element.prototype,"lastElementChild").get,Ue=r(HTMLElement.prototype,"innerText"),je=Ue?Ue.get:null,Ge=Ue?Ue.set:null,Ke=r(HTMLElement.prototype,"outerText"),qe=Ke?Ke.get:null,Ye=Ke?Ke.set:null,Xe=c.call(Element.prototype,"innerHTML")?r(Element.prototype,"innerHTML"):r(HTMLElement.prototype,"innerHTML"),Ve=Xe.get,ze=Xe.set,Qe=c.call(Element.prototype,"outerHTML")?r(Element.prototype,"outerHTML"):r(HTMLElement.prototype,"outerHTML"),Je=Qe.get,Ze=Qe.set,et=r(Element.prototype,"tagName").get,tt=r(HTMLElement.prototype,"tabIndex"),nt=tt.get,lt=tt.set,ot=c.call(Element.prototype,"matches")?Element.prototype.matches:Element.prototype.msMatchesSelector,rt=c.call(Element.prototype,"children")?r(Element.prototype,"children").get:r(HTMLElement.prototype,"children").get,{getElementsByClassName:at}=HTMLElement.prototype,it=c.call(Element.prototype,"shadowRoot")?r(Element.prototype,"shadowRoot").get:()=>null,ct=c.call(Element.prototype,"assignedSlot")?r(Element.prototype,"assignedSlot").get:()=>null;let ut,st;"undefined"!=typeof HTMLSlotElement?(ut=HTMLSlotElement.prototype.assignedNodes,st=HTMLSlotElement.prototype.assignedElements):(ut=()=>{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")},st=()=>{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 ft=r(Event.prototype,"target").get,pt=r(Event.prototype,"currentTarget").get,ht=r(FocusEvent.prototype,"relatedTarget").get,gt=c.call(Event.prototype,"composedPath")?Event.prototype.composedPath:()=>[],mt=r(Document.prototype,"activeElement").get,dt=c.call(Document.prototype,"elementFromPoint")?Document.prototype.elementFromPoint:Document.prototype.msElementFromPoint,bt=c.call(Document.prototype,"elementsFromPoint")?Document.prototype.elementsFromPoint:Document.prototype.msElementsFromPoint,yt=r(Document.prototype,"defaultView").get,{createComment:Et,querySelectorAll:wt,getElementById:vt,getElementsByClassName:Tt,getElementsByTagName:Nt,getElementsByTagNameNS:Mt}=Document.prototype,{getElementsByName:Lt}=HTMLDocument.prototype,{addEventListener:St,removeEventListener:Ct,getComputedStyle:Ht,getSelection:Ot}=window,Dt=MutationObserver,Rt=Dt.prototype.observe;let Pt=null;"undefined"!=typeof ShadowRoot&&(Pt=ShadowRoot);const It=!W(Pt),$t=W(Pt)?()=>!1:e=>e instanceof Pt;const{createElement:At}=Document.prototype;function Bt(e){const t=Me.call(e);return null===t?e:t}function xt(e){const t=Bt(e),n=yt.call(t);if(null===n)throw new TypeError;return n}let kt;function Ft(e){if(_(kt)){const t=Bt(e);kt=t.body&&"temporary-bypass"===Oe.call(t.body,"data-global-patching-bypass")}return U(kt)}function _t(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{}p(e,HTMLElement.constructor),p(e.prototype,HTMLElement.prototype),Window.prototype.HTMLSlotElement=e,l(Document.prototype,"createElement",{value:function(t,n){const l=At.apply(this,O.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)&&p(l,e.prototype),l}})}();const Wt="undefined"!=typeof EventTarget?EventTarget.prototype:ee.prototype,{addEventListener:Ut,dispatchEvent:jt,removeEventListener:Gt}=Wt,Kt="$$HostElementKey$$",qt="$$ShadowedNodeKey$$";function Yt(e,t,n){const l=e;{const{value:e}=n;l[t]=e}}function Xt(e){return e[Kt]}function Vt(e){let t,n=e;for(;!W(n);){if(t=Xt(n),!_(t))return t;if(n=Ne.call(n),!W(n)&&tn(n))return}}function zt(e){return e[qt]}function Qt(e){return!_(Xt(e))}function Jt(e){let t=Le.call(e);for(;!W(t)&&nn(t);)e=t,t=Le.call(e);return e}function Zt(e,t){const n=zt(e);let l=t instanceof Element?t:Le.call(t);for(;!W(l)&&l!==e;){const t=Vt(l),o=Le.call(l);if(t===n)return nn(l);if(o===e)return!1;if(W(o)||Vt(o)===t)l=o;else{if(!nn(o))return!1;if(l=en(Jt(o)),!W(l)){if(l===e)return!0;if(Vt(l)===n)return!0}}}return!1}function en(e){if(!(e instanceof ee))return null;const t=Vt(e);if(_(t))return null;let n=e;for(;!W(n)&&zt(n)!==t;)n=Ne.call(n);return W(n)?null:n}function tn(e){return nn(e)&&Qt(e)}function nn(e){return e instanceof HTMLSlotElement}function ln(e,t){const n=Vt(t);if(_(n)){const e=Ne.call(t);return!(!W(e)&&tn(e))}return zt(e)===n}function on(e){const t=dl(e);return an(t,_t(Ce.call(t)))}function rn(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];!ln(e,o)&&Zt(e,o)&&L.call(n,o)}return n}function an(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];ln(e,o)&&L.call(n,o)}return n}function cn(e,t){for(let n=0,l=t.length;n<l;n+=1)if(ln(e,t[n]))return t[n];return null}function un(e){if(!yl(e)&&!nn(e)){return _t(Ce.call(e))}if(yl(e)){const t=_t(Ae.call(e,"slot")),n=hl(bl(e));return S.call(t,((e,t)=>(n===hl(t)&&L.apply(e,sn(t)),e)),[])}{const t=_t(Ce.call(e)),n=hl(e);return b.call(t,(e=>n===hl(e)))}}function sn(e){const t=en(e);if(W(t))return[];const n=_t(Ce.call(e));return b.call(n,(e=>!Qt(e)||!ln(t,e)))}const fn=/[&\u00A0"]/g,pn=/[&\u00A0<>]/g,{replace:hn,toLowerCase:gn}=String.prototype;function mn(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" ";default:return""}}function dn(e){return hn.call(e,fn,mn)}const bn=new Set(["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"]),yn=new Set(["STYLE","SCRIPT","XMP","IFRAME","NOEMBED","NOFRAMES","PLAINTEXT","NOSCRIPT"]);function En(e){switch(e.nodeType){case ae:{const{attributes:t}=e,n=et.call(e);let l="<"+gn.call(n);for(let e,n=0;e=t[n];n++)l+=" "+e.name+'="'+dn(e.value)+'"';return l+=">",bn.has(n)?l:l+function(e){let t="";const n=un(e);for(let e=0,l=n.length;e<l;e+=1)t+=En(n[e]);return t}(e)+"</"+gn.call(n)+">"}case ie:{const{data:n,parentNode:l}=e;return l instanceof Element&&yn.has(et.call(l))?n:(t=n,hn.call(t,pn,mn))}case ce:return`<!CDATA[[${e.data}]]>`;case ue:return`<?${e.target} ${e.data}?>`;case se:return`\x3c!--${e.data}--\x3e`;default:return""}var t}function wn(e){if(e.nodeType===ae){const t=un(e);let n="";for(let e=0,l=t.length;e<l;e+=1){const l=t[e];l.nodeType!==se&&(n+=wn(l))}return n}return e.nodeValue}const vn=new WeakMap;function Tn(){throw new TypeError("Illegal constructor")}function Nn(e){const n=t(Tn.prototype);return vn.set(n,e),$.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}Tn.prototype=t(NodeList.prototype,{constructor:{writable:!0,configurable:!0,value:Tn},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return vn.get(this).length}},forEach:{writable:!0,enumerable:!0,configurable:!0,value(e,t){$.call(vn.get(this),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value(){return N.call(vn.get(this),((e,t)=>[t,e]))}},keys:{writable:!0,enumerable:!0,configurable:!0,value(){return N.call(vn.get(this),((e,t)=>t))}},values:{writable:!0,enumerable:!0,configurable:!0,value(){return vn.get(this)}},[Symbol.iterator]:{writable:!0,configurable:!0,value(){let e=0;return{next:()=>{const t=vn.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]"}}),p(Tn,NodeList);const Mn=(e,t)=>{let n;for(;!_(n=e.host);){const l=n.getRootNode();if(l===t)return n;e=l}};function Ln(e,t,n,l){const o=bt.call(t,n,l),r=[],a=function(e){var t;const n=[];let l=e.getRootNode();for(;!_(l);)n.push(l),l=null===(t=l.host)||void 0===t?void 0:t.getRootNode();return n}(e);if(!W(o))for(let e=0;e<o.length;e++){const t=o[e];if(tn(t))continue;const n=t.getRootNode();if(-1!==v.call(a,n)){L.call(r,t);continue}const l=Mn(n,a[0]);_(l)||-1!==v.call(o,l)||-1!==v.call(r,l)||L.call(r,l)}return r}const Sn=new WeakMap;function Cn(){throw new TypeError("Illegal constructor")}function Hn(e){const n=t(Cn.prototype);return Sn.set(n,e),$.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}function On(e){return tn(e)||yl(e)}function Dn(e,t){const n=en(e);if(t===n)return bl(n);if(t instanceof Element){if(Vt(e)===Vt(t))return t;if(!W(n)&&nn(t)){const e=en(t);if(!W(e)&&ln(n,e))return e}}return null}function Rn(){return jn(this).length>0}function Pn(){return jn(this)[0]||null}function In(){const e=jn(this);return e[e.length-1]||null}function $n(){return wn(this)}function An(){const e=Ne.call(this);return W(e)?e:Dn(this,e)}function Bn(){const e=Ne.call(this);if(W(e))return null;const t=Dn(this,e);return t instanceof Element?t:null}function xn(e){return this===e?0:this.getRootNode()===e?10:Xt(this)!==Xt(e)?35:ge.call(this,e)}function kn(e){return null!=e&&Xt(this)===Xt(e)&&0!=(ge.call(this,e)&ne)}function Fn(e){const t=he.call(this,!1);if(!e)return t;const n=jn(this);for(let e=0,l=n.length;e<l;e+=1)t.appendChild(n[e].cloneNode(!0));return t}function _n(){if(yl(this)){const e=en(this);return Nn(W(e)?[]:an(e,un(this)))}return Ce.call(this)}Cn.prototype=t(HTMLCollection.prototype,{constructor:{writable:!0,configurable:!0,value:Cn},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return Sn.get(this).length}},namedItem:{writable:!0,enumerable:!0,configurable:!0,value(e){if(""===e)return null;const t=Sn.get(this);for(let n=0,l=t.length;n<l;n++){const n=t[l];if(e===Oe.call(n,"id")||e===Oe.call(n,"name"))return n}return null}},[Symbol.toStringTag]:{configurable:!0,get:()=>"HTMLCollection"},toString:{writable:!0,configurable:!0,value:()=>"[object HTMLCollection]"}}),p(Cn,HTMLCollection);const Wn=ee.prototype.getRootNode,Un=_(Wn)?function(){let e,t=this;for(;!W(e=Ne.call(t));)t=e;return t}:Wn;n(ee.prototype,{firstChild:{get(){return On(this)?Pn.call(this):we.call(this)},enumerable:!0,configurable:!0},lastChild:{get(){return On(this)?In.call(this):ve.call(this)},enumerable:!0,configurable:!0},textContent:{get(){return Qt(this)||yl(this)?$n.call(this):Te.call(this)},set:function(e){Se.call(this,e)},enumerable:!0,configurable:!0},parentNode:{get(){if(Qt(this))return An.call(this);const e=Ne.call(this);return!W(e)&&tn(e)?en(e):e},enumerable:!0,configurable:!0},parentElement:{get(){if(Qt(this))return Bn.call(this);const e=Le.call(this);return!W(e)&&tn(e)?en(e):e},enumerable:!0,configurable:!0},childNodes:{get(){return On(this)?_n.call(this):Ce.call(this)},enumerable:!0,configurable:!0},hasChildNodes:{value(){return On(this)?Rn.call(this):ye.call(this)},enumerable:!0,writable:!0,configurable:!0},compareDocumentPosition:{value(e){return Ft(this)?ge.call(this,e):xn.call(this,e)},enumerable:!0,writable:!0,configurable:!0},contains:{value(e){return this===e||null!=e&&(Qt(this)||yl(this)?kn.call(this,e):Ee.call(this,e))},enumerable:!0,writable:!0,configurable:!0},cloneNode:{value(e){return Qt(this)||yl(this)?Fn.call(this,e):he.call(this,e)},enumerable:!0,writable:!0,configurable:!0},getRootNode:{value:function(e){return U(!_(e)&&!!e.composed)?Un.call(this,e):function(e){const t=en(e);return W(t)?Un.call(e):bl(t)}(this)},enumerable:!0,configurable:!0,writable:!0},isConnected:{enumerable:!0,configurable:!0,get(){return He.call(this)}}});const jn=function(e){return e.childNodes};c.call(HTMLElement.prototype,"contains")&&l(HTMLElement.prototype,"contains",r(ee.prototype,"contains")),c.call(HTMLElement.prototype,"parentElement")&&l(HTMLElement.prototype,"parentElement",r(ee.prototype,"parentElement"));const Gn=new WeakMap,Kn=new WeakMap;function qn(e,t,n){if(t===n)return!0;let l=Kn.get(e);return _(l)&&(l=e.composedPath(),Kn.set(e,l)),l.includes(n)}function Yn(e){if(!function(e){return G(e)||K(e)&&!W(e)&&G(e.handleEvent)}(e))return e;let t=Gn.get(e);return _(t)&&(t=function(t){const n=pt.call(t);if(qn(t,Zn(t),n))return G(e)?e.call(this,t):e.handleEvent&&e.handleEvent(t)},Gn.set(e,t)),t}const Xn=new WeakMap;function Vn(e){return G(e)?e:e.handleEvent}function zn(e){return G(e)||G(null==e?void 0:e.handleEvent)}const Qn=new WeakMap;function Jn(e){let n=Qn.get(e);return _(n)&&(n=t(null),Qn.set(e,n)),n}function Zn(e){var t;return null!==(t=Ml.get(e))&&void 0!==t?t:ft.call(e)}const el=new WeakMap;function tl(e){if(!zn(e))throw new TypeError;let t=el.get(e);return _(t)&&(t={identity:e,placement:1,handleEvent(t){let n=pt.call(t);$t(n)||(n=bl(n));qn(t,Zn(t),n)&&Vn(e).call(n,t)}},el.set(e,t)),t}const nl=new WeakMap;function ll(e){if(!zn(e))throw new TypeError;let t=nl.get(e);return _(t)&&(t={identity:e,placement:0,handleEvent(t){const n=pt.call(t);qn(t,Zn(t),n)&&Vn(e).call(n,t)}},nl.set(e,t)),t}function ol(e,t){return E.call(e,(e=>e.identity===t.identity))}function rl(e){let t=!1,n=!1;const{type:o,stopImmediatePropagation:r,stopPropagation:a}=e,i=Jn(pt.call(e))[o];l(e,"stopImmediatePropagation",{value(){t=!0,r.call(e)},writable:!0,enumerable:!0,configurable:!0}),l(e,"stopPropagation",{value(){n=!0,a.call(e)},writable:!0,enumerable:!0,configurable:!0});const c=O.call(i);function u(n){$.call(c,(l=>{j(t)&&l.placement===n&&-1!==ol(i,l)&&l.handleEvent.call(void 0,e)}))}Xn.set(e,1),u(1),j(t)&&j(n)&&(Xn.set(e,0),u(0)),Xn.set(e,2)}function al(e,t,n){const l=Jn(e);let o=l[t];_(o)&&(o=l[t]=[]),-1===ol(o,n)&&(0===o.length&&Ut.call(e,t,rl),L.call(o,n))}function il(e,t,n){let l,o;_(o=Jn(e)[t])||-1===(l=ol(o,n))||(P.call(o,l,1),0===o.length&&Gt.call(e,t,rl))}function cl(e,t,n){if(zn(t)){al(this,e,ll(t))}}function ul(e,t,n){if(zn(t)){il(this,e,ll(t))}}const sl=new WeakMap,{createDocumentFragment:fl}=document;function pl(e){const t=sl.get(e);if(_(t))throw new TypeError;return t}function hl(e){return e[Y]}function gl(e,t){e[Y]=t}function ml(e){return pl(e).delegatesFocus}function dl(e){return pl(e).host}function bl(e){return pl(e).shadowRoot}function yl(e){const t=sl.get(e);return!_(t)&&e===t.host}function El(e){const t=sl.get(e);return!_(t)&&e===t.shadowRoot}l(ee.prototype,Y,{set(e){var t,n;_(e)||(this[X]=e,t=this,n=e.nodeKey,Yt(t,Kt,{value:n,configurable:!0}))},get(){return this[X]},configurable:!0,enumerable:!0}),l(q,"$isNativeShadowRootDefined$",{value:It}),_(q[J])&&l(q,J,{value:vt,configurable:!0}),_(q[Z])&&l(q,Z,{value:wt,configurable:!0});let wl=0;function vl(e,t){if(sl.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=Bt(e),r=fl.call(o),a={mode:n,delegatesFocus:!!l,host:e,shadowRoot:r};sl.set(r,a),sl.set(e,a);const i=()=>r,c=i.nodeKey=wl++;return Yt(e,qt,{value:c}),gl(r,i),p(r,Sl.prototype),r}const Tl={constructor:{writable:!0,configurable:!0,value:Sl},toString:{writable:!0,configurable:!0,value:()=>"[object ShadowRoot]"},synthetic:{writable:!1,enumerable:!1,configurable:!1,value:!0}},Nl={activeElement:{enumerable:!0,configurable:!0,get(){const e=dl(this),t=Bt(e),n=mt.call(t);if(W(n))return n;if(0==(ge.call(e,n)&ne))return null;let l=n;for(;!ln(e,l);)l=Le.call(l);return nn(l)?null:l}},delegatesFocus:{configurable:!0,get(){return pl(this).delegatesFocus}},elementFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return Ol(this,Bt(dl(this)),e,t)}},elementsFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return Ln(this,Bt(dl(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 dl(this)}},mode:{configurable:!0,get(){return pl(this).mode}},styleSheets:{enumerable:!0,configurable:!0,get(){throw new Error}}},Ml=new WeakMap,Ll={insertBefore:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return me.call(dl(this),e,t),e}},removeChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return de.call(dl(this),e),e}},appendChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return pe.call(dl(this),e),e}},replaceChild:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return be.call(dl(this),e,t),t}},addEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,l){zn(n)&&al(dl(e),t,tl(n))}(this,e,t)}},dispatchEvent:{writable:!0,enumerable:!0,configurable:!0,value(e){return Ml.set(e,this),jt.apply(dl(this),arguments)}},removeEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,l){zn(n)&&il(dl(e),t,tl(n))}(this,e,t)}},baseURI:{enumerable:!0,configurable:!0,get(){return dl(this).baseURI}},childNodes:{enumerable:!0,configurable:!0,get(){return Nn(on(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=dl(this);return this===e?0:this.contains(e)?20:ge.call(t,e)&ne?37:35}},contains:{writable:!0,enumerable:!0,configurable:!0,value(e){if(this===e)return!0;const t=dl(this);return 0!=(ge.call(t,e)&ne)&&ln(t,e)}},firstChild:{enumerable:!0,configurable:!0,get(){return jn(this)[0]||null}},lastChild:{enumerable:!0,configurable:!0,get(){const e=jn(this);return e[e.length-1]||null}},hasChildNodes:{writable:!0,enumerable:!0,configurable:!0,value(){return jn(this).length>0}},isConnected:{enumerable:!0,configurable:!0,get(){return He.call(dl(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 dl(this).ownerDocument}},parentElement:{enumerable:!0,configurable:!0,get:()=>null},parentNode:{enumerable:!0,configurable:!0,get:()=>null},textContent:{enumerable:!0,configurable:!0,get(){const e=jn(this);let t="";for(let n=0,l=e.length;n<l;n+=1){const l=e[n];l.nodeType!==se&&(t+=wn(l))}return t},set(e){const t=dl(this);Se.call(t,e)}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value(e){return!_(e)&&U(e.composed)?dl(this).getRootNode(e):this}}};function Sl(){throw new TypeError("Illegal constructor")}function Cl(e,t){const n=[];let l;if(e instanceof Window)l=e;else{if(!(e instanceof ee))return n;l=e.getRootNode()}let o,r=e;for(;!W(r);)if(n.push(r),r instanceof Element||r instanceof Text){const e=r.assignedSlot;r=W(e)?r.parentNode:e}else r=!El(r)&&!$t(r)||!t&&r===l?r instanceof ee?r.parentNode:null:r.host;return o=e instanceof Window?e.document:Bt(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,5 +7,5 @@
|
|
|
7
7
|
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
8
8
|
Code distributed by Google as part of the polymer project is also
|
|
9
9
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
10
|
-
*/function Sl(e,t){if(F(e))return null;const n=Ll(e,!0),l=t;for(let e,t,o,r,a=0;a<l.length;a++)if(e=l[a],o=e instanceof Window?e:e.getRootNode(),o!==t&&(r=n.indexOf(o),t=o),!bl(o)||!k(r)&&r>-1)return e;return null}function Cl(e,t,n,l){const o=gt.call(t,n,l);return F(o)?o:Sl(e,Ll(o,!0))}e(wl,Nl,{childElementCount:{enumerable:!0,configurable:!0,get(){return this.children.length}},children:{enumerable:!0,configurable:!0,get(){return Sn(d.call(nn(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=gl(e);return rn(n,kt(Ie.call(n,t)))}(this,e)}},querySelectorAll:{writable:!0,enumerable:!0,configurable:!0,value(e){return vn(function(e,t){const n=gl(e);return on(n,kt(Ie.call(n,t)))}(this,e))}}},{innerHTML:{enumerable:!0,configurable:!0,get(){const e=Wn(this);let t="";for(let n=0,l=e.length;n<l;n+=1)t+=bn(e[n]);return t},set(e){const t=gl(this);Xe.call(t,e)}}},vl),Ml.prototype=t(DocumentFragment.prototype,wl),l(Ml,Symbol.hasInstance,{value:function(e){return j(e)&&!F(e)&&(Pt(e)||i(e)===Ml.prototype)}}),Document.prototype.elementFromPoint=function(e,t){return Cl(this,this,e,t)},Document.prototype.elementsFromPoint=function(e,t){return Nn(this,this,e,t)},l(Document.prototype,"activeElement",{get(){let e=ht.call(this);if(F(e))return e;for(;!k(qt(e));)if(e=Ne.call(e),F(e))return null;return"HTML"===e.tagName&&(e=this.body),e},enumerable:!0,configurable:!0}),l(Document.prototype,"getElementById",{value(){const e=Et.apply(this,C.call(arguments));return F(e)?null:k(qt(e))||xt(e)?e:null},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"querySelector",{value(){const e=kt(yt.apply(this,C.call(arguments))),t=b.call(e,(e=>k(qt(e))||xt(e)));return k(t)?null:t},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"querySelectorAll",{value(){const e=kt(yt.apply(this,C.call(arguments)));return vn(d.call(e,(e=>k(qt(e))||xt(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByClassName",{value(){const e=kt(wt.apply(this,C.call(arguments)));return Sn(d.call(e,(e=>k(qt(e))||xt(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByTagName",{value(){const e=kt(vt.apply(this,C.call(arguments)));return Sn(d.call(e,(e=>k(qt(e))||xt(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByTagNameNS",{value(){const e=kt(Tt.apply(this,C.call(arguments)));return Sn(d.call(e,(e=>k(qt(e))||xt(e))))},writable:!0,enumerable:!0,configurable:!0}),l(r(HTMLDocument.prototype,"getElementsByName")?HTMLDocument.prototype:Document.prototype,"getElementsByName",{value(){const e=kt(Nt.apply(this,C.call(arguments)));return vn(d.call(e,(e=>k(qt(e))||xt(e))))},writable:!0,enumerable:!0,configurable:!0}),Object.defineProperty(window,"ShadowRoot",{value:Ml,configurable:!0,writable:!0});const Hl=Object.getOwnPropertyDescriptor(Event.prototype,"composed");const Ol=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"click");function Dl(e){Object.defineProperty(e,"composed",{configurable:!0,enumerable:!0,get:()=>!0})}(function(){if(!Hl)return!1;let e=new Event("click");const t=document.createElement("button");return t.addEventListener("click",(t=>e=t)),t.click(),!Hl.get.call(e)})()&&(HTMLElement.prototype.click=function(){_t.call(this,"click",Dl);try{Ol.value.call(this)}finally{Ut.call(this,"click",Dl)}}),!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 Rl=CustomEvent;function Pl(e,t){const n=new Rl(e,t),l=!(!t||!t.composed);return Object.defineProperties(n,{composed:{get:()=>l,configurable:!0,enumerable:!0}}),n}if(Pl.prototype=Rl.prototype,window.CustomEvent=Pl,"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&&_(Proxy.isCompat);return e&&t})()&&function(){const e=r(HTMLIFrameElement.prototype,"contentWindow"),{get:t}=e;e.get=function(){const e=t.call(this);return F(e)||k(qt(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 Il=MutationObserver,{disconnect:$l,observe:Al,takeRecords:Bl}=Il.prototype,xl="$$lwcObserverCallbackWrapper$$",kl="$$lwcNodeObservers$$",Fl=new WeakMap;function _l(e){return e[kl]}function Wl(e){const{addedNodes:l,removedNodes:o,target:r,type:a}=e,i=t(MutationRecord.prototype);return n(i,{addedNodes:{get:()=>l,enumerable:!0,configurable:!0},removedNodes:{get:()=>o,enumerable:!0,configurable:!0},type:{get:()=>a,enumerable:!0,configurable:!0},target:{get:()=>r.shadowRoot,enumerable:!0,configurable:!0}}),i}function Ul(e,t){let n=t;for(;!F(n);){const t=_l(n);if(!k(t)&&(t[0]===e||-1!==E.call(t,e)))return!0;n=n.parentNode}return!1}function jl(e,t){return M.call(e,((e,n)=>{const{target:l,addedNodes:o,removedNodes:r,type:a}=n;if("childList"!==a||k(Xt(l)))Ul(t,l)&&N.call(e,n);else if(o.length>0){const r=o[0];if(Ul(t,r)){const o=_l(l);!o||o[0]!==t&&-1===E.call(o,t)?N.call(e,Wl(n)):N.call(e,n)}}else{const o=l.shadowRoot,a=r[0];if(Yt(l)===Yt(a)&&Ul(t,l))N.call(e,n);else if(o){const l=_l(o);!l||l[0]!==t&&-1===E.call(l,t)||N.call(e,Wl(n))}}return e}),[])}function Gl(e){const t=function(e){let t=e[xl];return k(t)&&(t=e[xl]=(t,n)=>{const l=jl(t,n);0!==l.length&&e.call(n,l,n)}),t}(e);return new Il(t)}function Kl(e,t,n){if(arguments.length>1){const e=C.call(arguments);return e[1]=Kn(e[1]),Mt.apply(this,e)}return Mt.apply(this,arguments)}function ql(e,t,n){if(arguments.length>1){const e=C.call(arguments);e[1]=Kn(e[1]),Lt.apply(this,e)}Lt.apply(this,arguments)}function Yl(){const e=ut.call(this);if(!(e instanceof J))return e;const t=$t(e),n=Ll(e,this.composed),l=st.call(this);if(!(l instanceof J))return F(l)&&k(qt(e))?e:Sl(t,n);if(l===t||l===t.body)return k(qt(e))?e:Sl(t,n);let o=l,r=n;if(dl(l)){1===qn.get(this)&&(o=ml(l))}return dl(e)&&Tl.has(this)&&(r=Ll(ml(e),this.composed)),Sl(o,r)}function Xl(){const e=ut.call(this);if(!(e instanceof J))return[];const t=Boolean(e.shadowRoot),n=(l=e,cl.has(l));var l;if(t&&!n)return pt.call(this);if(F(st.call(this)))return[];let o=e;return dl(e)&&Tl.has(this)&&(o=ml(e)),Ll(o,this.composed)}function Vl(e){const t=r(e.prototype,"relatedTarget").get;l(e.prototype,"relatedTarget",{get(){const e=t.call(this);if(F(e))return null;if(!(e instanceof J&&Vt(e)))return e;let n=st.call(this);return F(n)&&(n=$t(e)),Sl(n,Ll(e,!0))},enumerable:!0,configurable:!0})}Gl.prototype=Il.prototype,Gl.prototype.disconnect=function(){$l.call(this);const e=Fl.get(this);k(e)||(P.call(e,(e=>{const t=e[kl];if(!k(t)){const e=E.call(t,this);-1!==e&&D.call(t,e,1)}})),e.length=0)},Gl.prototype.observe=function(e,t){let n=_l(e);var l;if(k(n)&&(n=[],l=n,e[kl]=l),-1===E.call(n,this)&&N.call(n,this),bl(e)&&(e=e.host),Fl.has(this)){const t=Fl.get(this);-1===E.call(t,e)&&N.call(t,e)}else Fl.set(this,[e]);return Al.call(this,e,t)},Gl.prototype.takeRecords=function(){return jl(Bl.call(this),this)},l(window,"MutationObserver",{value:Gl,configurable:!0,writable:!0}),n(Ft,{addEventListener:{value:function(e,t,n){if(dl(this))return al.apply(this,arguments);if(arguments.length<2){const e=C.call(arguments);return e.length>1&&(e[1]=Kn(e[1])),_t.apply(this,e)}const l=Kn(t);return _t.call(this,e,l,n)},enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:function(e,t,n){if(dl(this))return il.apply(this,arguments);const l=C.call(arguments);arguments.length>1&&(l[1]=Kn(l[1])),Ut.apply(this,l),Ut.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),"undefined"==typeof EventTarget&&n(Window.prototype,{addEventListener:{value:Kl,enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:ql,enumerable:!0,writable:!0,configurable:!0}}),n(Event.prototype,{target:{get:Yl,enumerable:!0,configurable:!0},currentTarget:{get:function(){const e=st.call(this);return F(e)?null:1===qn.get(this)?ml(e):e},enumerable:!0,configurable:!0},composedPath:{value:Xl,writable:!0,enumerable:!0,configurable:!0},srcElement:{get:Yl,enumerable:!0,configurable:!0},path:{get:Xl,enumerable:!0,configurable:!0}}),Vl(FocusEvent),Vl(MouseEvent);const zl=c.call(Text.prototype,"assignedSlot")?r(Text.prototype,"assignedSlot").get:()=>null;let Ql;const Jl={childList:!0},Zl=new WeakMap;function eo(e){const t=kt(Le.call(e));return M.call(t,((e,t)=>(t instanceof Element&&en(t)?N.apply(e,eo(t)):N.call(e,t),e)),[])}function to(){const e=ve.call(this);if(e instanceof Element){const t=rt.call(e);if(Pt(t))return this instanceof Text?zl.call(this):at.call(this)}return!F(e)&&en(e)&&qt(e)!==qt(this)?e:null}function no(e,t){let n;const l=qt(e);if(k(l))n=e instanceof HTMLBodyElement?d.call(t,(t=>k(qt(t))||xt(e))):C.call(t);else if(dl(e)){const l=Jt(e);n=F(l)?[]:Xt(e)?ln(e,t):on(l,t)}else n=d.call(t,(e=>Yt(e)===l));return n}function lo(){const e=Wn(this);let t="";for(let n=0,l=e.length;n<l;n+=1)t+=bn(e[n]);return t}function oo(){return bn(this)}function ro(){const e=Jt(this),t=F(e)?[]:on(e,an(this));return Sn(d.call(t,(e=>e instanceof Element)))}function ao(){return this.children.length}function io(){return this.children[0]||null}function co(){const{children:e}=this;return e.item(e.length-1)||null}n(HTMLSlotElement.prototype,{addEventListener:{value(e,t,n){HTMLElement.prototype.addEventListener.call(this,e,t,n),"slotchange"!==e||Zl.get(this)||(Zl.set(this,!0),Ql||(Ql=new Ht((e=>{const t=[];P.call(e,(e=>{const{target:n}=e;-1===E.call(t,n)&&(N.call(t,n),Wt.call(n,new CustomEvent("slotchange")))}))}))),Ot.call(Ql,this,Jl))},writable:!0,enumerable:!0,configurable:!0},assignedElements:{value(e){if(Vt(this)){const t=!k(e)&&_(e.flatten)?eo(this):cn(this);return d.call(t,(e=>e instanceof Element))}return ct.apply(this,C.call(arguments))},writable:!0,enumerable:!0,configurable:!0},assignedNodes:{value(e){if(Vt(this)){return!k(e)&&_(e.flatten)?eo(this):cn(this)}return it.apply(this,C.call(arguments))},writable:!0,enumerable:!0,configurable:!0},name:{get(){const e=Ce.call(this,"name");return F(e)?"":e},set(e){Ae.call(this,"name",e)},enumerable:!0,configurable:!0},childNodes:{get(){if(Vt(this)){const e=Jt(this);return vn(F(e)?[]:on(e,an(this)))}return Le.call(this)},enumerable:!0,configurable:!0}}),n(Text.prototype,{assignedSlot:{get:to,enumerable:!0,configurable:!0}}),n(Element.prototype,{innerHTML:{get(){return Vt(this)||dl(this)?lo.call(this):Ye.call(this)},set(e){Xe.call(this,e)},enumerable:!0,configurable:!0},outerHTML:{get(){return Vt(this)||dl(this)?oo.call(this):ze.call(this)},set(e){Qe.call(this,e)},enumerable:!0,configurable:!0},attachShadow:{value:function(e){return e["$$lwc-synthetic-mode"]?El(this,e):Be.call(this,e)},enumerable:!0,writable:!0,configurable:!0},shadowRoot:{get:function(){if(dl(this)){const e=ml(this);if("open"===e.mode)return e}return rt.call(this)},enumerable:!0,configurable:!0},children:{get(){return Cn(this)?ro.call(this):lt.call(this)},enumerable:!0,configurable:!0},childElementCount:{get(){return Cn(this)?ao.call(this):xe.call(this)},enumerable:!0,configurable:!0},firstElementChild:{get(){return Cn(this)?io.call(this):ke.call(this)},enumerable:!0,configurable:!0},lastElementChild:{get(){return Cn(this)?co.call(this):Fe.call(this)},enumerable:!0,configurable:!0},assignedSlot:{get:to,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=kt(Ie.apply(this,C.call(arguments)));if(dl(this)){const t=Jt(this);return k(Xt(this))?F(t)?null:rn(t,e):function(e,t){for(let n=0,l=t.length;n<l;n+=1){const l=t[n];if(!tn(e,l)&&Qt(e,l))return l}return null}(this,e)}if(Vt(this)){const t=qt(this);if(k(t))return 0===e.length?null:e[0];{const n=b.call(e,(e=>Yt(e)===t));return k(n)?null:n}}{if(!(this instanceof HTMLBodyElement)){const t=e[0];return k(t)?null:t}const t=b.call(e,(e=>k(qt(e))||xt(this)));return k(t)?null:t}},writable:!0,enumerable:!0,configurable:!0},querySelectorAll:{value(){return vn(function(e,t){let n;if(dl(e)){const l=Jt(e);n=k(Xt(e))?F(l)?[]:on(l,t):ln(e,t)}else if(Vt(e)){const l=qt(e);n=k(l)?C.call(t):d.call(t,(e=>Yt(e)===l))}else n=e instanceof HTMLBodyElement?d.call(t,(t=>k(qt(t))||xt(e))):C.call(t);return n}(this,kt(Ie.apply(this,C.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0}}),n(Element.prototype,{getElementsByClassName:{value(){return Sn(no(this,kt(ot.apply(this,C.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagName:{value(){return Sn(no(this,kt(Oe.apply(this,C.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagNameNS:{value(){return Sn(no(this,kt(De.apply(this,C.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0}}),c.call(HTMLElement.prototype,"getElementsByClassName")&&l(HTMLElement.prototype,"getElementsByClassName",r(Element.prototype,"getElementsByClassName"));const uo="\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",so=new Set(["BUTTON","INPUT","SELECT","TEXTAREA"]);function fo(e){return e.filter((e=>Re.call(e,"tabindex")?"0"===Ce.call(e,"tabindex"):!so.has(Je.call(e))||!Re.call(e,"disabled")))}const po=new WeakMap;function ho(e){return(!dl(e)||!hl(e))&&(nt.call(e,uo)&&function(e){const{width:t,height:n}=He.call(e),l=t>0||n>0,o="AREA"===e.tagName;return(l||o)&&"hidden"!==getComputedStyle(e).visibility}(e))}function go(){const e=this.getRootNode();if(e===this){const e=Pe.call(this,uo);return void(F(e)||e.focus.apply(e,arguments))}if(e.activeElement===this)return;const t=kt(Ie.call(this,uo));let n=!1;for(;!n&&0!==t.length;){const e=t.shift();e.focus.apply(e,arguments);n=e.getRootNode().activeElement===e}}function mo(e){const t=$t(e),n=fo(kt(yt.call(t,uo))),l=fo(kt(Ie.call(e,uo))),o=l[0],r=l[l.length-1],a=E.call(n,e),i=a>-1?a:E.call(n,o),c=0===l.length?i+1:E.call(n,r)+1;return{prev:C.call(n,0,i),inner:l,next:C.call(n,c)}}function bo(e,t){const n=pe.call(e,t);return n&ee?0:n&ne?1:n&le?2:-1}function yo(e){e.preventDefault(),e.stopPropagation()}function Eo(e,t){Mt.call(e,"focusin",yo,!0),Mt.call(e,"focusout",yo,!0),t(),Lt.call(e,"focusin",yo,!0),Lt.call(e,"focusout",yo,!0)}function wo(e,t,n){const l=At(n),o=function(e,t){const n=e.length;if(n>0)for(let l=0;l<n;l+=1){const n=e[l];if(So(t.getRootNode(),n))return n}return null}(e,n);F(o)?Eo(l,(()=>{t.blur()})):Eo(l,(()=>{o.focus()}))}let vo=!1;function To(){vo=!0}function No(){vo=!1}function Mo(e){if(vo)return;const t=st.call(e),n=ut.call(e);if(t!==n)return;const l=ft.call(e);if(F(l))return;const o=mo(t);if(1===bo(t,l)){const e=So.bind(null,t.getRootNode()),r=b.call(o.inner,e);if(k(r))wo(o.next,n,l);else{Eo(At(r),(()=>{r.focus()}))}}else t===n&&wo(L.call(o.prev),n,l)}function Lo(e){if(vo)return;const t=ft.call(e);if(F(t))return;const n=st.call(e),l=mo(n);if(-1!==E.call(l.inner,t))return;const o=ut.call(e),r=bo(n,t);1===r&&wo(l.next,o,t),2===r&&wo(L.call(l.prev),o,t)}function So(e,t){if(!ho(t))return!1;const n=$t(t);let l=t.getRootNode();for(;l!==n&&l!==e;){const e=l.host;if("-1"===Ce.call(e,"tabindex"))return!1;l=e&&e.getRootNode()}return!0}function Co(e){Ut.call(e,"focusin",Mo,!0)}function Ho(e){const t=$t(e);po.get(t)||(po.set(t,!0),_t.call(t,"mousedown",To,!0),_t.call(t,"mouseup",(()=>{setTimeout(No)}),!0),_t.call(t,"dragstart",No,!0))}function Oo(e){Ut.call(e,"focusin",Lo,!0)}const{blur:Do,focus:Ro}=HTMLElement.prototype;function Po(){return hl(this)&&W(Re.call(this,"tabindex"))?0:et.call(this)}function Io(e){const t=hl(this),n=et.call(this),l=Re.call(this,"tabindex");tt.call(this,e);const o=et.call(this),r=Re.call(this,"tabindex"),a=n!==o;var i;(l&&(a||W(r))&&(-1===n&&Oo(this),0===n&&t&&Co(this)),W(r))||(l&&r&&W(a)||(-1===o&&(Ho(i=this),Co(i),_t.call(i,"focusin",Lo,!0)),0===o&&t&&function(e){Ho(e),Oo(e),_t.call(e,"focusin",Mo,!0)}(this)))}function $o(){if(hl(this)){const e=function(e){const t=$t(e),n=ht.call(t);return F(n)||0!=(pe.call(e,n)&ee)?n:null}(this);if(!F(e))return void e.blur()}return Do.call(this)}function Ao(){const e=!vo;e&&To(),dl(this)&&hl(this)?go.call(this):(Ro.apply(this,arguments),e&&No())}function Bo(e,t){e[K]=t;const n=Le.call(e);for(let e=0,l=n.length;e<l;e++)Bo(n[e],t)}n(HTMLElement.prototype,{tabIndex:{get(){return dl(this)?Po.call(this):et.call(this)},set(e){return dl(this)?Io.call(this,e):tt.call(this,e)},enumerable:!0,configurable:!0},blur:{value(){if(dl(this))return $o.call(this);Do.call(this)},enumerable:!0,writable:!0,configurable:!0},focus:{value(){Ao.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),null!==We&&null!==Ue&&l(HTMLElement.prototype,"innerText",{get(){return We.call(this)},set(e){Ue.call(this,e)},enumerable:!0,configurable:!0}),null!==Ge&&null!==Ke&&l(HTMLElement.prototype,"outerText",{get(){return Ge.call(this)},set(e){Ke.call(this,e)},enumerable:!0,configurable:!0}),l(Element.prototype,X,{set(e){const t=this[V];k(t)||t===e||$e.call(this,t),k(e)||Ae.call(this,e,""),this[V]=e},get(){return this[V]},configurable:!0}),l(Element.prototype,"$shadowStaticNode$",{set(e){if(e){Bo(this,this[K])}this[Y]=e},get(){return this[Y]},configurable:!0});const xo="$$DomManualKey$$",ko=function(){};let Fo;const _o={childList:!0};function Wo(e,t,n){const l=fl(e);if(l!==t&&(pl(e,t),e instanceof Element)){if(function(e,t){e[X]=t}(e,n),dl(e))return;k(l)&&Ot.call(Fo,e,_o);const o=Le.call(e);for(let e=0,l=o.length;e<l;e+=1)Wo(o[e],t,n)}}function Uo(){return new Ht((e=>{P.call(e,(e=>{const{target:t,addedNodes:n,removedNodes:l}=e,o=fl(t),r=t[X];for(let e=0,n=l.length;e<n;e+=1){const n=l[e];pe.call(t,n)&J.DOCUMENT_POSITION_CONTAINED_BY||Wo(n,ko,void 0)}for(let e=0,l=n.length;e<l;e+=1){const l=n[e];pe.call(t,l)&J.DOCUMENT_POSITION_CONTAINED_BY&&Wo(l,o,r)}}))}))}l(Element.prototype,"$domManual$",{set(e){this[xo]=e,_(e)&&function(e){if(k(Fo)&&(Fo=Uo()),k(fl(e)))throw new Error("Invalid Element");Ot.call(Fo,e,_o)}(this)},get(){return this[xo]},configurable:!0})}));
|
|
10
|
+
*/function Hl(e,t){if(W(e))return null;const n=Cl(e,!0),l=t;for(let e,t,o,r,a=0;a<l.length;a++)if(e=l[a],o=e instanceof Window?e:e.getRootNode(),o!==t&&(r=n.indexOf(o),t=o),!El(o)||!_(r)&&r>-1)return e;return null}function Ol(e,t,n,l){const o=dt.call(t,n,l);return W(o)?o:Hl(e,Cl(o,!0))}e(Tl,Ll,{childElementCount:{enumerable:!0,configurable:!0,get(){return this.children.length}},children:{enumerable:!0,configurable:!0,get(){return Hn(b.call(on(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=dl(e);return cn(n,_t(Ae.call(n,t)))}(this,e)}},querySelectorAll:{writable:!0,enumerable:!0,configurable:!0,value(e){return Nn(function(e,t){const n=dl(e);return an(n,_t(Ae.call(n,t)))}(this,e))}}},{innerHTML:{enumerable:!0,configurable:!0,get(){const e=jn(this);let t="";for(let n=0,l=e.length;n<l;n+=1)t+=En(e[n]);return t},set(e){const t=dl(this);ze.call(t,e)}}},Nl),Sl.prototype=t(DocumentFragment.prototype,Tl),l(Sl,Symbol.hasInstance,{value:function(e){return K(e)&&!W(e)&&($t(e)||i(e)===Sl.prototype)}}),Document.prototype.elementFromPoint=function(e,t){return Ol(this,this,e,t)},Document.prototype.elementsFromPoint=function(e,t){return Ln(this,this,e,t)},l(Document.prototype,"activeElement",{get(){let e=mt.call(this);if(W(e))return e;for(;!_(Xt(e));)if(e=Le.call(e),W(e))return null;return"HTML"===e.tagName&&(e=this.body),e},enumerable:!0,configurable:!0}),l(Document.prototype,"getElementById",{value(){const e=vt.apply(this,O.call(arguments));return W(e)?null:_(Xt(e))||Ft(e)?e:null},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"querySelector",{value(){const e=_t(wt.apply(this,O.call(arguments))),t=y.call(e,(e=>_(Xt(e))||Ft(e)));return _(t)?null:t},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"querySelectorAll",{value(){const e=_t(wt.apply(this,O.call(arguments)));return Nn(b.call(e,(e=>_(Xt(e))||Ft(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByClassName",{value(){const e=_t(Tt.apply(this,O.call(arguments)));return Hn(b.call(e,(e=>_(Xt(e))||Ft(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByTagName",{value(){const e=_t(Nt.apply(this,O.call(arguments)));return Hn(b.call(e,(e=>_(Xt(e))||Ft(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByTagNameNS",{value(){const e=_t(Mt.apply(this,O.call(arguments)));return Hn(b.call(e,(e=>_(Xt(e))||Ft(e))))},writable:!0,enumerable:!0,configurable:!0}),l(r(HTMLDocument.prototype,"getElementsByName")?HTMLDocument.prototype:Document.prototype,"getElementsByName",{value(){const e=_t(Lt.apply(this,O.call(arguments)));return Nn(b.call(e,(e=>_(Xt(e))||Ft(e))))},writable:!0,enumerable:!0,configurable:!0}),Object.defineProperty(window,"ShadowRoot",{value:Sl,configurable:!0,writable:!0});const Dl=Object.getOwnPropertyDescriptor(Event.prototype,"composed");const Rl=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"click");function Pl(e){Object.defineProperty(e,"composed",{configurable:!0,enumerable:!0,get:()=>!0})}(function(){if(!Dl)return!1;let e=new Event("click");const t=document.createElement("button");return t.addEventListener("click",(t=>e=t)),t.click(),!Dl.get.call(e)})()&&(HTMLElement.prototype.click=function(){Ut.call(this,"click",Pl);try{Rl.value.call(this)}finally{Gt.call(this,"click",Pl)}}),!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 Il=CustomEvent;function $l(e,t){const n=new Il(e,t),l=!(!t||!t.composed);return Object.defineProperties(n,{composed:{get:()=>l,configurable:!0,enumerable:!0}}),n}if($l.prototype=Il.prototype,window.CustomEvent=$l,"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&&U(Proxy.isCompat);return e&&t})()&&function(){const e=r(HTMLIFrameElement.prototype,"contentWindow"),{get:t}=e;e.get=function(){const e=t.call(this);return W(e)||_(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 Al=MutationObserver,{disconnect:Bl,observe:xl,takeRecords:kl}=Al.prototype,Fl="$$lwcObserverCallbackWrapper$$",_l="$$lwcNodeObservers$$",Wl=new WeakMap;function Ul(e){return e[_l]}function jl(e){const{addedNodes:l,removedNodes:o,target:r,type:a}=e,i=t(MutationRecord.prototype);return n(i,{addedNodes:{get:()=>l,enumerable:!0,configurable:!0},removedNodes:{get:()=>o,enumerable:!0,configurable:!0},type:{get:()=>a,enumerable:!0,configurable:!0},target:{get:()=>r.shadowRoot,enumerable:!0,configurable:!0}}),i}function Gl(e,t){let n=t;for(;!W(n);){const t=Ul(n);if(!_(t)&&(t[0]===e||-1!==v.call(t,e)))return!0;n=n.parentNode}return!1}function Kl(e,t){return S.call(e,((e,n)=>{const{target:l,addedNodes:o,removedNodes:r,type:a}=n;if("childList"!==a||_(zt(l)))Gl(t,l)&&L.call(e,n);else if(o.length>0){const r=o[0];if(Gl(t,r)){const o=Ul(l);!o||o[0]!==t&&-1===v.call(o,t)?L.call(e,jl(n)):L.call(e,n)}}else{const o=l.shadowRoot,a=r[0];if(Vt(l)===Vt(a)&&Gl(t,l))L.call(e,n);else if(o){const l=Ul(o);!l||l[0]!==t&&-1===v.call(l,t)||L.call(e,jl(n))}}return e}),[])}function ql(e){const t=function(e){let t=e[Fl];return _(t)&&(t=e[Fl]=(t,n)=>{const l=Kl(t,n);0!==l.length&&e.call(n,l,n)}),t}(e);return new Al(t)}function Yl(e,t,n){if(arguments.length>1){const e=O.call(arguments);return e[1]=Yn(e[1]),St.apply(this,e)}return St.apply(this,arguments)}function Xl(e,t,n){if(arguments.length>1){const e=O.call(arguments);e[1]=Yn(e[1]),Ct.apply(this,e)}Ct.apply(this,arguments)}function Vl(){const e=ft.call(this);if(!(e instanceof ee))return e;const t=Bt(e),n=Cl(e,this.composed),l=pt.call(this);if(!(l instanceof ee))return W(l)&&_(Xt(e))?e:Hl(t,n);if(l===t||l===t.body)return _(Xt(e))?e:Hl(t,n);let o=l,r=n;if(yl(l)){1===Xn.get(this)&&(o=bl(l))}return yl(e)&&Ml.has(this)&&(r=Cl(bl(e),this.composed)),Hl(o,r)}function zl(){const e=ft.call(this);if(!(e instanceof ee))return[];const t=Boolean(e.shadowRoot),n=(l=e,sl.has(l));var l;if(t&&!n)return gt.call(this);if(W(pt.call(this)))return[];let o=e;return yl(e)&&Ml.has(this)&&(o=bl(e)),Cl(o,this.composed)}function Ql(e){const t=r(e.prototype,"relatedTarget").get;l(e.prototype,"relatedTarget",{get(){const e=t.call(this);if(W(e))return null;if(!(e instanceof ee&&Qt(e)))return e;let n=pt.call(this);return W(n)&&(n=Bt(e)),Hl(n,Cl(e,!0))},enumerable:!0,configurable:!0})}ql.prototype=Al.prototype,ql.prototype.disconnect=function(){Bl.call(this);const e=Wl.get(this);_(e)||($.call(e,(e=>{const t=e[_l];if(!_(t)){const e=v.call(t,this);-1!==e&&P.call(t,e,1)}})),e.length=0)},ql.prototype.observe=function(e,t){let n=Ul(e);var l;if(_(n)&&(n=[],l=n,e[_l]=l),-1===v.call(n,this)&&L.call(n,this),El(e)&&(e=e.host),Wl.has(this)){const t=Wl.get(this);-1===v.call(t,e)&&L.call(t,e)}else Wl.set(this,[e]);return xl.call(this,e,t)},ql.prototype.takeRecords=function(){return Kl(kl.call(this),this)},l(window,"MutationObserver",{value:ql,configurable:!0,writable:!0}),n(Wt,{addEventListener:{value:function(e,t,n){if(yl(this))return cl.apply(this,arguments);if(arguments.length<2){const e=O.call(arguments);return e.length>1&&(e[1]=Yn(e[1])),Ut.apply(this,e)}const l=Yn(t);return Ut.call(this,e,l,n)},enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:function(e,t,n){if(yl(this))return ul.apply(this,arguments);const l=O.call(arguments);arguments.length>1&&(l[1]=Yn(l[1])),Gt.apply(this,l),Gt.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),"undefined"==typeof EventTarget&&n(Window.prototype,{addEventListener:{value:Yl,enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:Xl,enumerable:!0,writable:!0,configurable:!0}}),n(Event.prototype,{target:{get:Vl,enumerable:!0,configurable:!0},currentTarget:{get:function(){const e=pt.call(this);return W(e)?null:1===Xn.get(this)?bl(e):e},enumerable:!0,configurable:!0},composedPath:{value:zl,writable:!0,enumerable:!0,configurable:!0},srcElement:{get:Vl,enumerable:!0,configurable:!0},path:{get:zl,enumerable:!0,configurable:!0}}),Ql(FocusEvent),Ql(MouseEvent);const Jl=c.call(Text.prototype,"assignedSlot")?r(Text.prototype,"assignedSlot").get:()=>null;let Zl;const eo={childList:!0},to=new WeakMap;function no(e){const t=_t(Ce.call(e));return S.call(t,((e,t)=>(t instanceof Element&&nn(t)?L.apply(e,no(t)):L.call(e,t),e)),[])}function lo(){const e=Ne.call(this);if(e instanceof Element){const t=it.call(e);if($t(t))return this instanceof Text?Jl.call(this):ct.call(this)}return!W(e)&&nn(e)&&Xt(e)!==Xt(this)?e:null}function oo(e,t){let n;const l=Xt(e);if(_(l))n=e instanceof HTMLBodyElement?b.call(t,(t=>_(Xt(t))||Ft(e))):O.call(t);else if(yl(e)){const l=en(e);n=W(l)?[]:zt(e)?rn(e,t):an(l,t)}else n=b.call(t,(e=>Vt(e)===l));return n}function ro(){const e=jn(this);let t="";for(let n=0,l=e.length;n<l;n+=1)t+=En(e[n]);return t}function ao(){return En(this)}function io(){const e=en(this),t=W(e)?[]:an(e,un(this));return Hn(b.call(t,(e=>e instanceof Element)))}function co(){return this.children.length}function uo(){return this.children[0]||null}function so(){const{children:e}=this;return e.item(e.length-1)||null}n(HTMLSlotElement.prototype,{addEventListener:{value(e,t,n){HTMLElement.prototype.addEventListener.call(this,e,t,n),"slotchange"!==e||to.get(this)||(to.set(this,!0),Zl||(Zl=new Dt((e=>{const t=[];$.call(e,(e=>{const{target:n}=e;-1===v.call(t,n)&&(L.call(t,n),jt.call(n,new CustomEvent("slotchange")))}))}))),Rt.call(Zl,this,eo))},writable:!0,enumerable:!0,configurable:!0},assignedElements:{value(e){if(Qt(this)){const t=!_(e)&&U(e.flatten)?no(this):sn(this);return b.call(t,(e=>e instanceof Element))}return st.apply(this,O.call(arguments))},writable:!0,enumerable:!0,configurable:!0},assignedNodes:{value(e){if(Qt(this)){return!_(e)&&U(e.flatten)?no(this):sn(this)}return ut.apply(this,O.call(arguments))},writable:!0,enumerable:!0,configurable:!0},name:{get(){const e=Oe.call(this,"name");return W(e)?"":e},set(e){xe.call(this,"name",e)},enumerable:!0,configurable:!0},childNodes:{get(){if(Qt(this)){const e=en(this);return Nn(W(e)?[]:an(e,un(this)))}return Ce.call(this)},enumerable:!0,configurable:!0}}),n(Text.prototype,{assignedSlot:{get:lo,enumerable:!0,configurable:!0}}),n(Element.prototype,{innerHTML:{get(){return Qt(this)||yl(this)?ro.call(this):Ve.call(this)},set(e){ze.call(this,e)},enumerable:!0,configurable:!0},outerHTML:{get(){return Qt(this)||yl(this)?ao.call(this):Je.call(this)},set(e){Ze.call(this,e)},enumerable:!0,configurable:!0},attachShadow:{value:function(e){return e["$$lwc-synthetic-mode"]?vl(this,e):ke.call(this,e)},enumerable:!0,writable:!0,configurable:!0},shadowRoot:{get:function(){if(yl(this)){const e=bl(this);if("open"===e.mode)return e}return it.call(this)},enumerable:!0,configurable:!0},children:{get(){return On(this)?io.call(this):rt.call(this)},enumerable:!0,configurable:!0},childElementCount:{get(){return On(this)?co.call(this):Fe.call(this)},enumerable:!0,configurable:!0},firstElementChild:{get(){return On(this)?uo.call(this):_e.call(this)},enumerable:!0,configurable:!0},lastElementChild:{get(){return On(this)?so.call(this):We.call(this)},enumerable:!0,configurable:!0},assignedSlot:{get:lo,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=_t(Ae.apply(this,O.call(arguments)));if(yl(this)){const t=en(this);return _(zt(this))?W(t)?null:cn(t,e):function(e,t){for(let n=0,l=t.length;n<l;n+=1){const l=t[n];if(!ln(e,l)&&Zt(e,l))return l}return null}(this,e)}if(Qt(this)){const t=Xt(this);if(_(t))return 0===e.length?null:e[0];{const n=y.call(e,(e=>Vt(e)===t));return _(n)?null:n}}{if(!(this instanceof HTMLBodyElement)){const t=e[0];return _(t)?null:t}const t=y.call(e,(e=>_(Xt(e))||Ft(this)));return _(t)?null:t}},writable:!0,enumerable:!0,configurable:!0},querySelectorAll:{value(){return Nn(function(e,t){let n;if(yl(e)){const l=en(e);n=_(zt(e))?W(l)?[]:an(l,t):rn(e,t)}else if(Qt(e)){const l=Xt(e);n=_(l)?O.call(t):b.call(t,(e=>Vt(e)===l))}else n=e instanceof HTMLBodyElement?b.call(t,(t=>_(Xt(t))||Ft(e))):O.call(t);return n}(this,_t(Ae.apply(this,O.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0}}),n(Element.prototype,{getElementsByClassName:{value(){return Hn(oo(this,_t(at.apply(this,O.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagName:{value(){return Hn(oo(this,_t(Re.apply(this,O.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagNameNS:{value(){return Hn(oo(this,_t(Pe.apply(this,O.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0}}),c.call(HTMLElement.prototype,"getElementsByClassName")&&l(HTMLElement.prototype,"getElementsByClassName",r(Element.prototype,"getElementsByClassName"));const fo="\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",po=new Set(["BUTTON","INPUT","SELECT","TEXTAREA"]);function ho(e){return e.filter((e=>Ie.call(e,"tabindex")?"0"===Oe.call(e,"tabindex"):!po.has(et.call(e))||!Ie.call(e,"disabled")))}const go=new WeakMap;function mo(e){return(!yl(e)||!ml(e))&&(ot.call(e,fo)&&function(e){const{width:t,height:n}=De.call(e),l=t>0||n>0,o="AREA"===e.tagName;return(l||o)&&"hidden"!==getComputedStyle(e).visibility}(e))}function bo(){const e=this.getRootNode();if(e===this){const e=$e.call(this,fo);return void(W(e)||e.focus.apply(e,arguments))}if(e.activeElement===this)return;const t=_t(Ae.call(this,fo));let n=!1;for(;!n&&0!==t.length;){const e=t.shift();e.focus.apply(e,arguments);n=e.getRootNode().activeElement===e}}function yo(e){const t=Bt(e),n=ho(_t(wt.call(t,fo))),l=ho(_t(Ae.call(e,fo))),o=l[0],r=l[l.length-1],a=v.call(n,e),i=a>-1?a:v.call(n,o),c=0===l.length?i+1:v.call(n,r)+1;return{prev:O.call(n,0,i),inner:l,next:O.call(n,c)}}function Eo(e,t){const n=ge.call(e,t);return n&ne?0:n&oe?1:n&re?2:-1}function wo(e){e.preventDefault(),e.stopPropagation()}function vo(e,t){St.call(e,"focusin",wo,!0),St.call(e,"focusout",wo,!0),t(),Ct.call(e,"focusin",wo,!0),Ct.call(e,"focusout",wo,!0)}function To(e,t,n){const l=xt(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(Ho(t.getRootNode(),n))return n}return null}(e,n);W(o)?vo(l,(()=>{t.blur()})):vo(l,(()=>{o.focus()}))}let No=!1;function Mo(){No=!0}function Lo(){No=!1}function So(e){if(No)return;const t=pt.call(e),n=ft.call(e);if(t!==n)return;const l=ht.call(e);if(W(l))return;const o=yo(t);if(1===Eo(t,l)){const e=Ho.bind(null,t.getRootNode()),r=y.call(o.inner,e);if(_(r))To(o.next,n,l);else{vo(xt(r),(()=>{r.focus()}))}}else t===n&&To(C.call(o.prev),n,l)}function Co(e){if(No)return;const t=ht.call(e);if(W(t))return;const n=pt.call(e),l=yo(n);if(-1!==v.call(l.inner,t))return;const o=ft.call(e),r=Eo(n,t);1===r&&To(l.next,o,t),2===r&&To(C.call(l.prev),o,t)}function Ho(e,t){if(!mo(t))return!1;const n=Bt(t);let l=t.getRootNode();for(;l!==n&&l!==e;){const e=l.host;if("-1"===Oe.call(e,"tabindex"))return!1;l=e&&e.getRootNode()}return!0}function Oo(e){Gt.call(e,"focusin",So,!0)}function Do(e){const t=Bt(e);go.get(t)||(go.set(t,!0),Ut.call(t,"mousedown",Mo,!0),Ut.call(t,"mouseup",(()=>{setTimeout(Lo)}),!0),Ut.call(t,"dragstart",Lo,!0))}function Ro(e){Gt.call(e,"focusin",Co,!0)}const{blur:Po,focus:Io}=HTMLElement.prototype;function $o(){return ml(this)&&j(Ie.call(this,"tabindex"))?0:nt.call(this)}function Ao(e){const t=ml(this),n=nt.call(this),l=Ie.call(this,"tabindex");lt.call(this,e);const o=nt.call(this),r=Ie.call(this,"tabindex"),a=n!==o;var i;(l&&(a||j(r))&&(-1===n&&Ro(this),0===n&&t&&Oo(this)),j(r))||(l&&r&&j(a)||(-1===o&&(Do(i=this),Oo(i),Ut.call(i,"focusin",Co,!0)),0===o&&t&&function(e){Do(e),Ro(e),Ut.call(e,"focusin",So,!0)}(this)))}function Bo(){if(ml(this)){const e=function(e){const t=Bt(e),n=mt.call(t);return W(n)||0!=(ge.call(e,n)&ne)?n:null}(this);if(!W(e))return void e.blur()}return Po.call(this)}function xo(){const e=!No;e&&Mo(),yl(this)&&ml(this)?bo.call(this):(Io.apply(this,arguments),e&&Lo())}function ko(e,t){e[Y]=t;const n=Ce.call(e);for(let e=0,l=n.length;e<l;e++)ko(n[e],t)}n(HTMLElement.prototype,{tabIndex:{get(){return yl(this)?$o.call(this):nt.call(this)},set(e){return yl(this)?Ao.call(this,e):lt.call(this,e)},enumerable:!0,configurable:!0},blur:{value(){if(yl(this))return Bo.call(this);Po.call(this)},enumerable:!0,writable:!0,configurable:!0},focus:{value(){xo.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),null!==je&&null!==Ge&&l(HTMLElement.prototype,"innerText",{get(){return je.call(this)},set(e){Ge.call(this,e)},enumerable:!0,configurable:!0}),null!==qe&&null!==Ye&&l(HTMLElement.prototype,"outerText",{get(){return qe.call(this)},set(e){Ye.call(this,e)},enumerable:!0,configurable:!0}),l(Element.prototype,z,{set(e){const t=this[Q];_(t)||t===e||Be.call(this,t),_(e)||xe.call(this,e,""),this[Q]=e},get(){return this[Q]},configurable:!0}),l(Element.prototype,"$shadowStaticNode$",{set(e){if(e){ko(this,this[Y])}this[V]=e},get(){return this[V]},configurable:!0});const Fo="$$DomManualKey$$",_o=function(){};let Wo;const Uo={childList:!0};function jo(e,t,n){const l=hl(e);if(l!==t&&(gl(e,t),e instanceof Element)){if(function(e,t){e[z]=t}(e,n),yl(e))return;_(l)&&Rt.call(Wo,e,Uo);const o=Ce.call(e);for(let e=0,l=o.length;e<l;e+=1)jo(o[e],t,n)}}function Go(){return new Dt((e=>{$.call(e,(e=>{const{target:t,addedNodes:n,removedNodes:l}=e,o=hl(t),r=t[z];for(let e=0,n=l.length;e<n;e+=1){const n=l[e];ge.call(t,n)&ee.DOCUMENT_POSITION_CONTAINED_BY||jo(n,_o,void 0)}for(let e=0,l=n.length;e<l;e+=1){const l=n[e];ge.call(t,l)&ee.DOCUMENT_POSITION_CONTAINED_BY&&jo(l,o,r)}}))}))}l(Element.prototype,"$domManual$",{set(e){this[Fo]=e,U(e)&&function(e){if(_(Wo)&&(Wo=Go()),_(hl(e)))throw new Error("Invalid Element");Rt.call(Wo,e,Uo)}(this)},get(){return this[Fo]},configurable:!0})}));
|
|
11
11
|
//# sourceMappingURL=synthetic-shadow.min.js.map
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
13
13
|
*/
|
|
14
14
|
const { assign, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isFrozen, keys, seal, setPrototypeOf, } = Object;
|
|
15
|
-
const { concat: ArrayConcat, copyWithin: ArrayCopyWithin, fill: ArrayFill, filter: ArrayFilter, find: ArrayFind, findIndex: ArrayFindIndex, indexOf: ArrayIndexOf, join: ArrayJoin, map: ArrayMap, pop: ArrayPop, push: ArrayPush, reduce: ArrayReduce, reverse: ArrayReverse, shift: ArrayShift, slice: ArraySlice, some: ArraySome, sort: ArraySort, splice: ArraySplice, unshift: ArrayUnshift, forEach, } = Array.prototype;
|
|
15
|
+
const { concat: ArrayConcat, copyWithin: ArrayCopyWithin, every: ArrayEvery, fill: ArrayFill, filter: ArrayFilter, find: ArrayFind, findIndex: ArrayFindIndex, includes: ArrayIncludes, indexOf: ArrayIndexOf, join: ArrayJoin, map: ArrayMap, pop: ArrayPop, push: ArrayPush, reduce: ArrayReduce, reverse: ArrayReverse, shift: ArrayShift, slice: ArraySlice, some: ArraySome, sort: ArraySort, splice: ArraySplice, unshift: ArrayUnshift, forEach, } = Array.prototype;
|
|
16
16
|
const { charCodeAt: StringCharCodeAt, replace: StringReplace, split: StringSplit, slice: StringSlice, toLowerCase: StringToLowerCase, } = String.prototype;
|
|
17
17
|
function isUndefined(obj) {
|
|
18
18
|
return obj === undefined;
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
|
|
62
62
|
const KEY__NATIVE_GET_ELEMENT_BY_ID = '$nativeGetElementById$';
|
|
63
63
|
const KEY__NATIVE_QUERY_SELECTOR_ALL = '$nativeQuerySelectorAll$';
|
|
64
|
-
/** version: 2.45.
|
|
64
|
+
/** version: 2.45.2 */
|
|
65
65
|
|
|
66
66
|
/**
|
|
67
67
|
* Copyright (C) 2018 salesforce.com, inc.
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
if (!_globalThis.lwcRuntimeFlags) {
|
|
71
71
|
Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
|
|
72
72
|
}
|
|
73
|
-
/** version: 2.45.
|
|
73
|
+
/** version: 2.45.2 */
|
|
74
74
|
|
|
75
75
|
/*
|
|
76
76
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -4517,7 +4517,7 @@
|
|
|
4517
4517
|
},
|
|
4518
4518
|
configurable: true,
|
|
4519
4519
|
});
|
|
4520
|
-
/** version: 2.45.
|
|
4520
|
+
/** version: 2.45.2 */
|
|
4521
4521
|
|
|
4522
4522
|
}));
|
|
4523
4523
|
//# sourceMappingURL=synthetic-shadow_debug.js.map
|