lwc 2.27.0 → 2.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/engine-dom/esm/es2017/engine-dom.js +95 -32
- package/dist/engine-dom/iife/es2017/engine-dom.js +95 -32
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +79 -30
- package/dist/engine-dom/iife/es5/engine-dom.js +134 -46
- package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +115 -44
- package/dist/engine-dom/umd/es2017/engine-dom.js +95 -32
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +79 -30
- package/dist/engine-dom/umd/es5/engine-dom.js +134 -46
- package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +115 -44
- package/dist/engine-server/commonjs/es2017/engine-server.js +57 -26
- package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
- package/dist/engine-server/esm/es2017/engine-server.js +57 -26
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +4 -4
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +4 -4
- 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/es5/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +4 -4
- 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/es5/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +3 -3
- 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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(){"use strict";const{assign:e,create:t,defineProperties:n,defineProperty:l,freeze:o,getOwnPropertyDescriptor:r,getOwnPropertyNames:i,getPrototypeOf:a,hasOwnProperty:c,isFrozen:u,keys:s,seal:h,setPrototypeOf:f}=Object,{concat:p,copyWithin:g,fill:m,filter:d,find:b,indexOf:E,join:y,map:w,pop:T,push:v,reduce:N,reverse:L,shift:M,slice:C,sort:S,splice:O,unshift:H,forEach:_}=Array.prototype,{charCodeAt:A,replace:R,slice:$,toLowerCase:P}=String.prototype;function D(e){return void 0===e}function I(e){return null===e}function B(e){return!0===e}function k(e){return!1===e}function x(e){return"function"==typeof e}function F(e){return"object"==typeof e}const W=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}(),U="$shadowResolver$",j="$shadowToken$",G=Node,K=G.prototype,{DOCUMENT_POSITION_CONTAINED_BY:q,DOCUMENT_POSITION_CONTAINS:X,DOCUMENT_POSITION_PRECEDING:Y,DOCUMENT_POSITION_FOLLOWING:V,ELEMENT_NODE:z,TEXT_NODE:J,CDATA_SECTION_NODE:Q,PROCESSING_INSTRUCTION_NODE:Z,COMMENT_NODE:ee,DOCUMENT_FRAGMENT_NODE:te}=G,{appendChild:ne,cloneNode:le,compareDocumentPosition:oe,insertBefore:re,removeChild:ie,replaceChild:ae,hasChildNodes:ce}=K,{contains:ue}=HTMLElement.prototype,se=r(K,"firstChild").get,he=r(K,"lastChild").get,fe=r(K,"textContent").get,pe=r(K,"parentNode").get,ge=r(K,"ownerDocument").get,me=c.call(K,"parentElement")?r(K,"parentElement").get:r(HTMLElement.prototype,"parentElement").get,de=r(K,"textContent").set,be=c.call(K,"childNodes")?r(K,"childNodes").get:r(HTMLElement.prototype,"childNodes").get,Ee=c.call(K,"isConnected")?r(K,"isConnected").get:function(){const e=ge.call(this);return null===e||0!=(oe.call(e,this)&q)},{getAttribute:ye,getBoundingClientRect:we,getElementsByTagName:Te,getElementsByTagNameNS:ve,hasAttribute:Ne,querySelector:Le,querySelectorAll:Me,removeAttribute:Ce,setAttribute:Se}=Element.prototype,Oe=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")},He=r(Element.prototype,"childElementCount").get,_e=r(Element.prototype,"firstElementChild").get,Ae=r(Element.prototype,"lastElementChild").get,Re=r(HTMLElement.prototype,"innerText"),$e=Re?Re.get:null,Pe=Re?Re.set:null,De=r(HTMLElement.prototype,"outerText"),Ie=De?De.get:null,Be=De?De.set:null,ke=c.call(Element.prototype,"innerHTML")?r(Element.prototype,"innerHTML"):r(HTMLElement.prototype,"innerHTML"),xe=ke.get,Fe=ke.set,We=c.call(Element.prototype,"outerHTML")?r(Element.prototype,"outerHTML"):r(HTMLElement.prototype,"outerHTML"),Ue=We.get,je=We.set,Ge=r(Element.prototype,"tagName").get,Ke=r(HTMLElement.prototype,"tabIndex"),qe=Ke.get,Xe=Ke.set,Ye=c.call(Element.prototype,"matches")?Element.prototype.matches:Element.prototype.msMatchesSelector,Ve=c.call(Element.prototype,"children")?r(Element.prototype,"children").get:r(HTMLElement.prototype,"children").get,{getElementsByClassName:ze}=HTMLElement.prototype,Je=c.call(Element.prototype,"shadowRoot")?r(Element.prototype,"shadowRoot").get:()=>null,Qe=c.call(Element.prototype,"assignedSlot")?r(Element.prototype,"assignedSlot").get:()=>null;let Ze,et;"undefined"!=typeof HTMLSlotElement?(Ze=HTMLSlotElement.prototype.assignedNodes,et=HTMLSlotElement.prototype.assignedElements):(Ze=()=>{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")},et=()=>{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 tt=r(Event.prototype,"target").get,nt=r(Event.prototype,"currentTarget").get,lt=r(FocusEvent.prototype,"relatedTarget").get,ot=c.call(Event.prototype,"composedPath")?Event.prototype.composedPath:()=>[],rt=r(Document.prototype,"activeElement").get,it=c.call(Document.prototype,"elementFromPoint")?Document.prototype.elementFromPoint:Document.prototype.msElementFromPoint,at=c.call(Document.prototype,"elementsFromPoint")?Document.prototype.elementsFromPoint:Document.prototype.msElementsFromPoint,ct=r(Document.prototype,"defaultView").get,{createComment:ut,querySelectorAll:st,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=!I(vt),Lt=I(vt)?()=>!1:e=>e instanceof vt;const{createElement:Mt}=Document.prototype;function Ct(e){const t=ge.call(e);return null===t?e:t}function St(e){const t=Ct(e),n=ct.call(t);if(null===n)throw new TypeError;return n}let Ot;function Ht(e){if(D(Ot)){const t=Ct(e);Ot=t.body&&"temporary-bypass"===ye.call(t.body,"data-global-patching-bypass")}return B(Ot)}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{}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,C.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 At="undefined"!=typeof EventTarget?EventTarget.prototype:G.prototype,{addEventListener:Rt,dispatchEvent:$t,removeEventListener:Pt}=At;W.lwcRuntimeFlags||Object.defineProperty(W,"lwcRuntimeFlags",{value:t(null)});const Dt=W.lwcRuntimeFlags,It="$$HostElementKey$$",Bt="$$ShadowedNodeKey$$";function kt(e,t,n){const l=e;{const{value:e}=n;l[t]=e}}function xt(e){return e[It]}function Ft(e){let t,n=e;for(;!I(n);){if(t=xt(n),!D(t))return t;if(n=pe.call(n),Dt.ENABLE_LIGHT_GET_ROOT_NODE_PATCH&&!I(n)&&qt(n))return}}function Wt(e){return e[Bt]}function Ut(e){return!D(xt(e))}function jt(e){let t=me.call(e);for(;!I(t)&&Xt(t);)e=t,t=me.call(e);return e}function Gt(e,t){const n=Wt(e);let l=t instanceof Element?t:me.call(t);for(;!I(l)&&l!==e;){const t=Ft(l),o=me.call(l);if(t===n)return Xt(l);if(o===e)return!1;if(I(o)||Ft(o)===t)l=o;else{if(!Xt(o))return!1;if(l=Kt(jt(o)),!I(l)){if(l===e)return!0;if(Ft(l)===n)return!0}}}return!1}function Kt(e){if(!(e instanceof G))return null;const t=Ft(e);if(D(t))return null;let n=e;for(;!I(n)&&Wt(n)!==t;)n=pe.call(n);return I(n)?null:n}function qt(e){return Xt(e)&&Ut(e)}function Xt(e){return e instanceof HTMLSlotElement}function Yt(e,t){const n=Ft(t);if(D(n)){if(Dt.ENABLE_LIGHT_GET_ROOT_NODE_PATCH){const e=pe.call(t);if(!I(e)&&qt(e))return!1}return!0}return Wt(e)===n}function Vt(e){const t=rl(e);return Qt(t,_t(be.call(t)))}function zt(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];!Yt(e,o)&&Gt(e,o)&&v.call(n,o)}return n}function Jt(e,t){for(let n=0,l=t.length;n<l;n+=1){const l=t[n];if(!Yt(e,l)&&Gt(e,l))return l}return null}function Qt(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];Yt(e,o)&&v.call(n,o)}return n}function Zt(e,t){for(let n=0,l=t.length;n<l;n+=1)if(Yt(e,t[n]))return t[n];return null}function en(e){if(!al(e)&&!Xt(e)){return _t(be.call(e))}if(al(e)){const t=_t(Me.call(e,"slot")),n=nl(il(e));return N.call(t,((e,t)=>(n===nl(t)&&v.apply(e,tn(t)),e)),[])}{const t=_t(be.call(e)),n=nl(e);return d.call(t,(e=>n===nl(e)))}}function tn(e){const t=Kt(e);if(I(t))return[];const n=_t(be.call(e));return d.call(n,(e=>!Ut(e)||!Yt(t,e)))}const nn=/[&\u00A0"]/g,ln=/[&\u00A0<>]/g,{replace:on,toLowerCase:rn}=String.prototype;function an(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" ";default:return""}}function cn(e){return on.call(e,nn,an)}const un=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 hn(e){switch(e.nodeType){case z:{const{attributes:t}=e,n=Ge.call(e);let l="<"+rn.call(n);for(let e,n=0;e=t[n];n++)l+=" "+e.name+'="'+cn(e.value)+'"';return l+=">",un.has(n)?l:l+function(e){let t="";const n=en(e);for(let e=0,l=n.length;e<l;e+=1)t+=hn(n[e]);return t}(e)+"</"+rn.call(n)+">"}case J:{const{data:n,parentNode:l}=e;return l instanceof Element&&sn.has(Ge.call(l))?n:(t=n,on.call(t,ln,an))}case Q:return`<!CDATA[[${e.data}]]>`;case Z:return`<?${e.target} ${e.data}?>`;case ee:return`\x3c!--${e.data}--\x3e`;default:return""}var t}function fn(e){if(e.nodeType===z){const t=en(e);let n="";for(let e=0,l=t.length;e<l;e+=1){const l=t[e];l.nodeType!==ee&&(n+=fn(l))}return n}return e.nodeValue}const pn=new WeakMap;function gn(){throw new TypeError("Illegal constructor")}function mn(e){const n=t(gn.prototype);return pn.set(n,e),_.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}gn.prototype=t(NodeList.prototype,{constructor:{writable:!0,configurable:!0,value:gn},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return pn.get(this).length}},forEach:{writable:!0,enumerable:!0,configurable:!0,value(e,t){_.call(pn.get(this),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value(){return w.call(pn.get(this),((e,t)=>[t,e]))}},keys:{writable:!0,enumerable:!0,configurable:!0,value(){return w.call(pn.get(this),((e,t)=>t))}},values:{writable:!0,enumerable:!0,configurable:!0,value(){return pn.get(this)}},[Symbol.iterator]:{writable:!0,configurable:!0,value(){let e=0;return{next:()=>{const t=pn.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(gn,NodeList);const dn=(e,t)=>{let n;for(;!D(n=e.host);){const l=n.getRootNode();if(l===t)return n;e=l}};function bn(e,t,n,l){const o=at.call(t,n,l),r=[],i=function(e){var t;const n=[];let l=e.getRootNode();for(;!D(l);)n.push(l),l=null===(t=l.host)||void 0===t?void 0:t.getRootNode();return n}(e);if(!I(o))for(let e=0;e<o.length;e++){const t=o[e];if(qt(t))continue;const n=t.getRootNode();if(-1!==E.call(i,n)){v.call(r,t);continue}const l=dn(n,i[0]);D(l)||-1!==E.call(o,l)||-1!==E.call(r,l)||v.call(r,l)}return r}const En=new WeakMap;function yn(){throw new TypeError("Illegal constructor")}function wn(e){const n=t(yn.prototype);return En.set(n,e),_.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}function Tn(e){return qt(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(!I(n)&&Xt(t)){const e=Kt(t);if(!I(e)&&Yt(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=pe.call(this);return I(e)?e:vn(this,e)}function On(){const e=pe.call(this);if(I(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:oe.call(this,e)}function _n(e){return null!=e&&xt(this)===xt(e)&&0!=(oe.call(this,e)&q)}function An(e){const t=le.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 mn(I(e)?[]:Qt(e,en(this)))}return be.call(this)}yn.prototype=t(HTMLCollection.prototype,{constructor:{writable:!0,configurable:!0,value:yn},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return En.get(this).length}},namedItem:{writable:!0,enumerable:!0,configurable:!0,value(e){if(""===e)return null;const t=En.get(this);for(let n=0,l=t.length;n<l;n++){const n=t[l];if(e===ye.call(n,"id")||e===ye.call(n,"name"))return n}return null}},[Symbol.toStringTag]:{configurable:!0,get:()=>"HTMLCollection"},toString:{writable:!0,configurable:!0,value:()=>"[object HTMLCollection]"}}),f(yn,HTMLCollection);const $n=G.prototype.getRootNode,Pn=D($n)?function(){let e,t=this;for(;!I(e=pe.call(t));)t=e;return t}:$n;n(G.prototype,{firstChild:{get(){return Tn(this)?Ln.call(this):se.call(this)},enumerable:!0,configurable:!0},lastChild:{get(){return Tn(this)?Mn.call(this):he.call(this)},enumerable:!0,configurable:!0},textContent:{get(){return Dt.ENABLE_NODE_PATCH?Ht(this)?fe.call(this):Cn.call(this):Ut(this)||al(this)?Cn.call(this):fe.call(this)},set:function(e){de.call(this,e)},enumerable:!0,configurable:!0},parentNode:{get(){if(Ut(this))return Sn.call(this);const e=pe.call(this);return!I(e)&&qt(e)?Kt(e):e},enumerable:!0,configurable:!0},parentElement:{get(){if(Ut(this))return On.call(this);const e=me.call(this);return!I(e)&&qt(e)?Kt(e):e},enumerable:!0,configurable:!0},childNodes:{get(){return Tn(this)?Rn.call(this):be.call(this)},enumerable:!0,configurable:!0},hasChildNodes:{value(){return Tn(this)?Nn.call(this):ce.call(this)},enumerable:!0,writable:!0,configurable:!0},compareDocumentPosition:{value(e){return Ht(this)?oe.call(this,e):Hn.call(this,e)},enumerable:!0,writable:!0,configurable:!0},contains:{value(e){return this===e||(Dt.ENABLE_NODE_PATCH?Ht(this)?ue.call(this,e):_n.call(this,e):null!=e&&(Ut(this)||al(this)?_n.call(this,e):ue.call(this,e)))},enumerable:!0,writable:!0,configurable:!0},cloneNode:{value(e){return Dt.ENABLE_NODE_PATCH?B(e)?Ht(this)?le.call(this,e):An.call(this,e):le.call(this,e):Ut(this)||al(this)?An.call(this,e):le.call(this,e)},enumerable:!0,writable:!0,configurable:!0},getRootNode:{value:function(e){return B(!D(e)&&!!e.composed)?Pn.call(this,e):function(e){const t=Kt(e);return I(t)?Pn.call(e):il(t)}(this)},enumerable:!0,configurable:!0,writable:!0},isConnected:{enumerable:!0,configurable:!0,get(){return Ee.call(this)}}});const Dn=function(e){return e.childNodes};c.call(HTMLElement.prototype,"contains")&&l(HTMLElement.prototype,"contains",r(G.prototype,"contains")),c.call(HTMLElement.prototype,"parentElement")&&l(HTMLElement.prototype,"parentElement",r(G.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 D(l)&&(l=e.composedPath(),Bn.set(e,l)),l.includes(n)}function xn(e){if(!function(e){return x(e)||F(e)&&!I(e)&&x(e.handleEvent)}(e))return e;let t=In.get(e);return D(t)&&(t=function(t){const n=nt.call(t);if(kn(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 D(n)&&(n=t(null),Wn.set(e,n)),n}function jn(e){var t;return null!==(t=pl.get(e))&&void 0!==t?t:tt.call(e)}const Gn=new WeakMap;function Kn(e){if(!x(e))throw new TypeError;let t=Gn.get(e);return D(t)&&(t=function(t){let n=nt.call(t);Lt(n)||(n=il(n));kn(t,jn(t),n)&&e.call(n,t)},t.placement=1,Gn.set(e,t)),t}const qn=new WeakMap;function Xn(e){if(!x(e))throw new TypeError;let t=qn.get(e);return D(t)&&(t=function(t){const n=nt.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(nt.call(e))[o];l(e,"stopImmediatePropagation",{value(){t=!0,r.call(e)},writable:!0,enumerable:!0,configurable:!0}),l(e,"stopPropagation",{value(){n=!0,i.call(e)},writable:!0,enumerable:!0,configurable:!0});const c=C.call(a);function u(n){_.call(c,(l=>{k(t)&&l.placement===n&&-1!==E.call(a,l)&&l.call(void 0,e)}))}Fn.set(e,1),u(1),k(t)&&k(n)&&(Fn.set(e,0),u(0)),Fn.set(e,2)}function Vn(e,t,n){const l=Un(e);let o=l[t];D(o)&&(o=l[t]=[]),-1===E.call(o,n)&&(0===o.length&&Rt.call(e,t,Yn),v.call(o,n))}function zn(e,t,n){let l,o;D(o=Un(e)[t])||-1===(l=E.call(o,n))||(O.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(D(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!D(t)&&e===t.host}function cl(e){const t=Zn.get(e);return!D(t)&&e===t.shadowRoot}l(G.prototype,U,{set(e){var t,n;D(e)||(this.$$ShadowResolverKey$$=e,t=this,n=e.nodeKey,kt(t,It,{value:n,configurable:!0}))},get(){return this.$$ShadowResolverKey$$},configurable:!0,enumerable:!0}),l(W,"$isNativeShadowRootDefined$",{value:Nt});let ul=0;function sl(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=ul++;return kt(e,Bt,{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=rt.call(t);if(I(n))return n;if(0==(oe.call(e,n)&q))return null;let l=n;for(;!Yt(e,l);)l=me.call(l);return Xt(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 bn(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 re.call(rl(this),e,t),e}},removeChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return ie.call(rl(this),e),e}},appendChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return ne.call(rl(this),e),e}},replaceChild:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return ae.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,Kn(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,Kn(n))}(this,e,t)}},baseURI:{enumerable:!0,configurable:!0,get(){return rl(this).baseURI}},childNodes:{enumerable:!0,configurable:!0,get(){return mn(Vt(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:oe.call(t,e)&q?37:35}},contains:{writable:!0,enumerable:!0,configurable:!0,value(e){if(this===e)return!0;const t=rl(this);return 0!=(oe.call(t,e)&q)&&Yt(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 Ee.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!==ee&&(t+=fn(l))}return t},set(e){const t=rl(this);de.call(t,e)}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value(e){return!D(e)&&B(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 G))return n;l=e.getRootNode()}let o,r=e;for(;!I(r);)if(n.push(r),r instanceof Element||r instanceof Text){const e=r.assignedSlot;r=I(e)?r.parentNode:e}else r=!cl(r)&&!Lt(r)||!t&&r===l?r instanceof G?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(){"use strict";const{assign:e,create:t,defineProperties:n,defineProperty:l,freeze:o,getOwnPropertyDescriptor:r,getOwnPropertyNames:i,getPrototypeOf:a,hasOwnProperty:c,isFrozen:u,keys:s,seal:h,setPrototypeOf:f}=Object,{concat:p,copyWithin:g,fill:m,filter:d,find:b,indexOf:E,join:y,map:w,pop:T,push:v,reduce:N,reverse:L,shift:M,slice:C,some:S,sort:O,splice:H,unshift:_,forEach:A}=Array.prototype,{charCodeAt:R,replace:$,slice:P,toLowerCase:D}=String.prototype;function I(e){return void 0===e}function B(e){return null===e}function k(e){return!0===e}function x(e){return!1===e}function F(e){return"function"==typeof e}function W(e){return"object"==typeof e}const U=function(){if("object"==typeof globalThis)return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),j="$shadowResolver$",G="$shadowToken$",K=Node,q=K.prototype,{DOCUMENT_POSITION_CONTAINED_BY:X,DOCUMENT_POSITION_CONTAINS:Y,DOCUMENT_POSITION_PRECEDING:V,DOCUMENT_POSITION_FOLLOWING:z,ELEMENT_NODE:J,TEXT_NODE:Q,CDATA_SECTION_NODE:Z,PROCESSING_INSTRUCTION_NODE:ee,COMMENT_NODE:te,DOCUMENT_FRAGMENT_NODE:ne}=K,{appendChild:le,cloneNode:oe,compareDocumentPosition:re,insertBefore:ie,removeChild:ae,replaceChild:ce,hasChildNodes:ue}=q,{contains:se}=HTMLElement.prototype,he=r(q,"firstChild").get,fe=r(q,"lastChild").get,pe=r(q,"textContent").get,ge=r(q,"parentNode").get,me=r(q,"ownerDocument").get,de=c.call(q,"parentElement")?r(q,"parentElement").get:r(HTMLElement.prototype,"parentElement").get,be=r(q,"textContent").set,Ee=c.call(q,"childNodes")?r(q,"childNodes").get:r(HTMLElement.prototype,"childNodes").get,ye=c.call(q,"isConnected")?r(q,"isConnected").get:function(){const e=me.call(this);return null===e||0!=(re.call(e,this)&X)},{getAttribute:we,getBoundingClientRect:Te,getElementsByTagName:ve,getElementsByTagNameNS:Ne,hasAttribute:Le,querySelector:Me,querySelectorAll:Ce,removeAttribute:Se,setAttribute:Oe}=Element.prototype,He=c.call(Element.prototype,"attachShadow")?Element.prototype.attachShadow:()=>{throw new TypeError("attachShadow() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill and use Lightning Web Components")},_e=r(Element.prototype,"childElementCount").get,Ae=r(Element.prototype,"firstElementChild").get,Re=r(Element.prototype,"lastElementChild").get,$e=r(HTMLElement.prototype,"innerText"),Pe=$e?$e.get:null,De=$e?$e.set:null,Ie=r(HTMLElement.prototype,"outerText"),Be=Ie?Ie.get:null,ke=Ie?Ie.set:null,xe=c.call(Element.prototype,"innerHTML")?r(Element.prototype,"innerHTML"):r(HTMLElement.prototype,"innerHTML"),Fe=xe.get,We=xe.set,Ue=c.call(Element.prototype,"outerHTML")?r(Element.prototype,"outerHTML"):r(HTMLElement.prototype,"outerHTML"),je=Ue.get,Ge=Ue.set,Ke=r(Element.prototype,"tagName").get,qe=r(HTMLElement.prototype,"tabIndex"),Xe=qe.get,Ye=qe.set,Ve=c.call(Element.prototype,"matches")?Element.prototype.matches:Element.prototype.msMatchesSelector,ze=c.call(Element.prototype,"children")?r(Element.prototype,"children").get:r(HTMLElement.prototype,"children").get,{getElementsByClassName:Je}=HTMLElement.prototype,Qe=c.call(Element.prototype,"shadowRoot")?r(Element.prototype,"shadowRoot").get:()=>null,Ze=c.call(Element.prototype,"assignedSlot")?r(Element.prototype,"assignedSlot").get:()=>null;let et,tt;"undefined"!=typeof HTMLSlotElement?(et=HTMLSlotElement.prototype.assignedNodes,tt=HTMLSlotElement.prototype.assignedElements):(et=()=>{throw new TypeError("assignedNodes() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill to start using <slot> elements in your Lightning Web Component's template")},tt=()=>{throw new TypeError("assignedElements() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill to start using <slot> elements in your Lightning Web Component's template")});const nt=r(Event.prototype,"target").get,lt=r(Event.prototype,"currentTarget").get,ot=r(FocusEvent.prototype,"relatedTarget").get,rt=c.call(Event.prototype,"composedPath")?Event.prototype.composedPath:()=>[],it=r(Document.prototype,"activeElement").get,at=c.call(Document.prototype,"elementFromPoint")?Document.prototype.elementFromPoint:Document.prototype.msElementFromPoint,ct=c.call(Document.prototype,"elementsFromPoint")?Document.prototype.elementsFromPoint:Document.prototype.msElementsFromPoint,ut=r(Document.prototype,"defaultView").get,{createComment:st,querySelectorAll:ht,getElementById:ft,getElementsByClassName:pt,getElementsByTagName:gt,getElementsByTagNameNS:mt}=Document.prototype,{getElementsByName:dt}=HTMLDocument.prototype,{addEventListener:bt,removeEventListener:Et,getComputedStyle:yt,getSelection:wt}=window,Tt=MutationObserver,vt=Tt.prototype.observe;let Nt=null;"undefined"!=typeof ShadowRoot&&(Nt=ShadowRoot);const Lt=!B(Nt),Mt=B(Nt)?()=>!1:e=>e instanceof Nt;const{createElement:Ct}=Document.prototype;function St(e){const t=me.call(e);return null===t?e:t}function Ot(e){const t=St(e),n=ut.call(t);if(null===n)throw new TypeError;return n}let Ht;function _t(e){if(I(Ht)){const t=St(e);Ht=t.body&&"temporary-bypass"===we.call(t.body,"data-global-patching-bypass")}return k(Ht)}function At(e){const t=e.length,n=[];if(t>0)for(let l=0;l<t;l++)n[l]=e[l];return n}"undefined"==typeof HTMLSlotElement&&function(){class e{}f(e,HTMLElement.constructor),f(e.prototype,HTMLElement.prototype),Window.prototype.HTMLSlotElement=e,l(Document.prototype,"createElement",{value:function(t,n){const l=Ct.apply(this,C.call(arguments));return 4===t.length&&115===R.call(t,0)&&108===R.call(t,1)&&111===R.call(t,2)&&116===R.call(t,3)&&f(l,e.prototype),l}})}();const Rt="undefined"!=typeof EventTarget?EventTarget.prototype:K.prototype,{addEventListener:$t,dispatchEvent:Pt,removeEventListener:Dt}=Rt;U.lwcRuntimeFlags||Object.defineProperty(U,"lwcRuntimeFlags",{value:t(null)});const It=U.lwcRuntimeFlags,Bt="$$HostElementKey$$",kt="$$ShadowedNodeKey$$";function xt(e,t,n){const l=e;{const{value:e}=n;l[t]=e}}function Ft(e){return e[Bt]}function Wt(e){let t,n=e;for(;!B(n);){if(t=Ft(n),!I(t))return t;if(n=ge.call(n),It.ENABLE_LIGHT_GET_ROOT_NODE_PATCH&&!B(n)&&Xt(n))return}}function Ut(e){return e[kt]}function jt(e){return!I(Ft(e))}function Gt(e){let t=de.call(e);for(;!B(t)&&Yt(t);)e=t,t=de.call(e);return e}function Kt(e,t){const n=Ut(e);let l=t instanceof Element?t:de.call(t);for(;!B(l)&&l!==e;){const t=Wt(l),o=de.call(l);if(t===n)return Yt(l);if(o===e)return!1;if(B(o)||Wt(o)===t)l=o;else{if(!Yt(o))return!1;if(l=qt(Gt(o)),!B(l)){if(l===e)return!0;if(Wt(l)===n)return!0}}}return!1}function qt(e){if(!(e instanceof K))return null;const t=Wt(e);if(I(t))return null;let n=e;for(;!B(n)&&Ut(n)!==t;)n=ge.call(n);return B(n)?null:n}function Xt(e){return Yt(e)&&jt(e)}function Yt(e){return e instanceof HTMLSlotElement}function Vt(e,t){const n=Wt(t);if(I(n)){if(It.ENABLE_LIGHT_GET_ROOT_NODE_PATCH){const e=ge.call(t);if(!B(e)&&Xt(e))return!1}return!0}return Ut(e)===n}function zt(e){const t=il(e);return Zt(t,At(Ee.call(t)))}function Jt(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];!Vt(e,o)&&Kt(e,o)&&v.call(n,o)}return n}function Qt(e,t){for(let n=0,l=t.length;n<l;n+=1){const l=t[n];if(!Vt(e,l)&&Kt(e,l))return l}return null}function Zt(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];Vt(e,o)&&v.call(n,o)}return n}function en(e,t){for(let n=0,l=t.length;n<l;n+=1)if(Vt(e,t[n]))return t[n];return null}function tn(e){if(!cl(e)&&!Yt(e)){return At(Ee.call(e))}if(cl(e)){const t=At(Ce.call(e,"slot")),n=ll(al(e));return N.call(t,((e,t)=>(n===ll(t)&&v.apply(e,nn(t)),e)),[])}{const t=At(Ee.call(e)),n=ll(e);return d.call(t,(e=>n===ll(e)))}}function nn(e){const t=qt(e);if(B(t))return[];const n=At(Ee.call(e));return d.call(n,(e=>!jt(e)||!Vt(t,e)))}const ln=/[&\u00A0"]/g,on=/[&\u00A0<>]/g,{replace:rn,toLowerCase:an}=String.prototype;function cn(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" ";default:return""}}function un(e){return rn.call(e,ln,cn)}const sn=new Set(["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"]),hn=new Set(["STYLE","SCRIPT","XMP","IFRAME","NOEMBED","NOFRAMES","PLAINTEXT","NOSCRIPT"]);function fn(e){switch(e.nodeType){case J:{const{attributes:t}=e,n=Ke.call(e);let l="<"+an.call(n);for(let e,n=0;e=t[n];n++)l+=" "+e.name+'="'+un(e.value)+'"';return l+=">",sn.has(n)?l:l+function(e){let t="";const n=tn(e);for(let e=0,l=n.length;e<l;e+=1)t+=fn(n[e]);return t}(e)+"</"+an.call(n)+">"}case Q:{const{data:n,parentNode:l}=e;return l instanceof Element&&hn.has(Ke.call(l))?n:(t=n,rn.call(t,on,cn))}case Z:return`<!CDATA[[${e.data}]]>`;case ee:return`<?${e.target} ${e.data}?>`;case te:return`\x3c!--${e.data}--\x3e`;default:return""}var t}function pn(e){if(e.nodeType===J){const t=tn(e);let n="";for(let e=0,l=t.length;e<l;e+=1){const l=t[e];l.nodeType!==te&&(n+=pn(l))}return n}return e.nodeValue}const gn=new WeakMap;function mn(){throw new TypeError("Illegal constructor")}function dn(e){const n=t(mn.prototype);return gn.set(n,e),A.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}mn.prototype=t(NodeList.prototype,{constructor:{writable:!0,configurable:!0,value:mn},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return gn.get(this).length}},forEach:{writable:!0,enumerable:!0,configurable:!0,value(e,t){A.call(gn.get(this),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value(){return w.call(gn.get(this),((e,t)=>[t,e]))}},keys:{writable:!0,enumerable:!0,configurable:!0,value(){return w.call(gn.get(this),((e,t)=>t))}},values:{writable:!0,enumerable:!0,configurable:!0,value(){return gn.get(this)}},[Symbol.iterator]:{writable:!0,configurable:!0,value(){let e=0;return{next:()=>{const t=gn.get(this);return e<t.length?{value:t[e++],done:!1}:{done:!0}}}}},[Symbol.toStringTag]:{configurable:!0,get:()=>"NodeList"},toString:{writable:!0,configurable:!0,value:()=>"[object NodeList]"}}),f(mn,NodeList);const bn=(e,t)=>{let n;for(;!I(n=e.host);){const l=n.getRootNode();if(l===t)return n;e=l}};function En(e,t,n,l){const o=ct.call(t,n,l),r=[],i=function(e){var t;const n=[];let l=e.getRootNode();for(;!I(l);)n.push(l),l=null===(t=l.host)||void 0===t?void 0:t.getRootNode();return n}(e);if(!B(o))for(let e=0;e<o.length;e++){const t=o[e];if(Xt(t))continue;const n=t.getRootNode();if(-1!==E.call(i,n)){v.call(r,t);continue}const l=bn(n,i[0]);I(l)||-1!==E.call(o,l)||-1!==E.call(r,l)||v.call(r,l)}return r}const yn=new WeakMap;function wn(){throw new TypeError("Illegal constructor")}function Tn(e){const n=t(wn.prototype);return yn.set(n,e),A.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}function vn(e){return Xt(e)||cl(e)}function Nn(e,t){const n=qt(e);if(t===n)return al(n);if(t instanceof Element){if(Wt(e)===Wt(t))return t;if(!B(n)&&Yt(t)){const e=qt(t);if(!B(e)&&Vt(n,e))return e}}return null}function Ln(){return In(this).length>0}function Mn(){return In(this)[0]||null}function Cn(){const e=In(this);return e[e.length-1]||null}function Sn(){return pn(this)}function On(){const e=ge.call(this);return B(e)?e:Nn(this,e)}function Hn(){const e=ge.call(this);if(B(e))return null;const t=Nn(this,e);return t instanceof Element?t:null}function _n(e){return this===e?0:this.getRootNode()===e?10:Ft(this)!==Ft(e)?35:re.call(this,e)}function An(e){return null!=e&&Ft(this)===Ft(e)&&0!=(re.call(this,e)&X)}function Rn(e){const t=oe.call(this,!1);if(!e)return t;const n=In(this);for(let e=0,l=n.length;e<l;e+=1)t.appendChild(n[e].cloneNode(!0));return t}function $n(){if(cl(this)){const e=qt(this);return dn(B(e)?[]:Zt(e,tn(this)))}return Ee.call(this)}wn.prototype=t(HTMLCollection.prototype,{constructor:{writable:!0,configurable:!0,value:wn},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return yn.get(this).length}},namedItem:{writable:!0,enumerable:!0,configurable:!0,value(e){if(""===e)return null;const t=yn.get(this);for(let n=0,l=t.length;n<l;n++){const n=t[l];if(e===we.call(n,"id")||e===we.call(n,"name"))return n}return null}},[Symbol.toStringTag]:{configurable:!0,get:()=>"HTMLCollection"},toString:{writable:!0,configurable:!0,value:()=>"[object HTMLCollection]"}}),f(wn,HTMLCollection);const Pn=K.prototype.getRootNode,Dn=I(Pn)?function(){let e,t=this;for(;!B(e=ge.call(t));)t=e;return t}:Pn;n(K.prototype,{firstChild:{get(){return vn(this)?Mn.call(this):he.call(this)},enumerable:!0,configurable:!0},lastChild:{get(){return vn(this)?Cn.call(this):fe.call(this)},enumerable:!0,configurable:!0},textContent:{get(){return It.ENABLE_NODE_PATCH?_t(this)?pe.call(this):Sn.call(this):jt(this)||cl(this)?Sn.call(this):pe.call(this)},set:function(e){be.call(this,e)},enumerable:!0,configurable:!0},parentNode:{get(){if(jt(this))return On.call(this);const e=ge.call(this);return!B(e)&&Xt(e)?qt(e):e},enumerable:!0,configurable:!0},parentElement:{get(){if(jt(this))return Hn.call(this);const e=de.call(this);return!B(e)&&Xt(e)?qt(e):e},enumerable:!0,configurable:!0},childNodes:{get(){return vn(this)?$n.call(this):Ee.call(this)},enumerable:!0,configurable:!0},hasChildNodes:{value(){return vn(this)?Ln.call(this):ue.call(this)},enumerable:!0,writable:!0,configurable:!0},compareDocumentPosition:{value(e){return _t(this)?re.call(this,e):_n.call(this,e)},enumerable:!0,writable:!0,configurable:!0},contains:{value(e){return this===e||(It.ENABLE_NODE_PATCH?_t(this)?se.call(this,e):An.call(this,e):null!=e&&(jt(this)||cl(this)?An.call(this,e):se.call(this,e)))},enumerable:!0,writable:!0,configurable:!0},cloneNode:{value(e){return It.ENABLE_NODE_PATCH?k(e)?_t(this)?oe.call(this,e):Rn.call(this,e):oe.call(this,e):jt(this)||cl(this)?Rn.call(this,e):oe.call(this,e)},enumerable:!0,writable:!0,configurable:!0},getRootNode:{value:function(e){return k(!I(e)&&!!e.composed)?Dn.call(this,e):function(e){const t=qt(e);return B(t)?Dn.call(e):al(t)}(this)},enumerable:!0,configurable:!0,writable:!0},isConnected:{enumerable:!0,configurable:!0,get(){return ye.call(this)}}});const In=function(e){return e.childNodes};c.call(HTMLElement.prototype,"contains")&&l(HTMLElement.prototype,"contains",r(K.prototype,"contains")),c.call(HTMLElement.prototype,"parentElement")&&l(HTMLElement.prototype,"parentElement",r(K.prototype,"parentElement"));const Bn=new WeakMap,kn=new WeakMap;function xn(e,t,n){if(t===n)return!0;let l=kn.get(e);return I(l)&&(l=e.composedPath(),kn.set(e,l)),l.includes(n)}function Fn(e){if(!function(e){return F(e)||W(e)&&!B(e)&&F(e.handleEvent)}(e))return e;let t=Bn.get(e);return I(t)&&(t=function(t){const n=lt.call(t);if(xn(t,Gn(t),n))return F(e)?e.call(this,t):e.handleEvent&&e.handleEvent(t)},Bn.set(e,t)),t}const Wn=new WeakMap,Un=new WeakMap;function jn(e){let n=Un.get(e);return I(n)&&(n=t(null),Un.set(e,n)),n}function Gn(e){var t;return null!==(t=gl.get(e))&&void 0!==t?t:nt.call(e)}const Kn=new WeakMap;function qn(e){if(!F(e))throw new TypeError;let t=Kn.get(e);return I(t)&&(t=function(t){let n=lt.call(t);Mt(n)||(n=al(n));xn(t,Gn(t),n)&&e.call(n,t)},t.placement=1,Kn.set(e,t)),t}const Xn=new WeakMap;function Yn(e){if(!F(e))throw new TypeError;let t=Xn.get(e);return I(t)&&(t=function(t){const n=lt.call(t);xn(t,Gn(t),n)&&e.call(n,t)},t.placement=0,Xn.set(e,t)),t}function Vn(e){let t=!1,n=!1;const{type:o,stopImmediatePropagation:r,stopPropagation:i}=e,a=jn(lt.call(e))[o];l(e,"stopImmediatePropagation",{value(){t=!0,r.call(e)},writable:!0,enumerable:!0,configurable:!0}),l(e,"stopPropagation",{value(){n=!0,i.call(e)},writable:!0,enumerable:!0,configurable:!0});const c=C.call(a);function u(n){A.call(c,(l=>{x(t)&&l.placement===n&&-1!==E.call(a,l)&&l.call(void 0,e)}))}Wn.set(e,1),u(1),x(t)&&x(n)&&(Wn.set(e,0),u(0)),Wn.set(e,2)}function zn(e,t,n){const l=jn(e);let o=l[t];I(o)&&(o=l[t]=[]),-1===E.call(o,n)&&(0===o.length&&$t.call(e,t,Vn),v.call(o,n))}function Jn(e,t,n){let l,o;I(o=jn(e)[t])||-1===(l=E.call(o,n))||(H.call(o,l,1),0===o.length&&Dt.call(e,t,Vn))}function Qn(e,t,n){if(F(t)){zn(this,e,Yn(t))}}function Zn(e,t,n){if(F(t)){Jn(this,e,Yn(t))}}const el=new WeakMap,{createDocumentFragment:tl}=document;function nl(e){const t=el.get(e);if(I(t))throw new TypeError;return t}function ll(e){return e.$shadowResolver$}function ol(e,t){e.$shadowResolver$=t}function rl(e){return nl(e).delegatesFocus}function il(e){return nl(e).host}function al(e){return nl(e).shadowRoot}function cl(e){const t=el.get(e);return!I(t)&&e===t.host}function ul(e){const t=el.get(e);return!I(t)&&e===t.shadowRoot}l(K.prototype,j,{set(e){var t,n;I(e)||(this.$$ShadowResolverKey$$=e,t=this,n=e.nodeKey,xt(t,Bt,{value:n,configurable:!0}))},get(){return this.$$ShadowResolverKey$$},configurable:!0,enumerable:!0}),l(U,"$isNativeShadowRootDefined$",{value:Lt});let sl=0;function hl(e,t){if(el.has(e))throw new Error("Failed to execute 'attachShadow' on 'Element': Shadow root cannot be created on a host which already hosts a shadow tree.");const{mode:n,delegatesFocus:l}=t,o=St(e),r=tl.call(o),i={mode:n,delegatesFocus:!!l,host:e,shadowRoot:r};el.set(r,i),el.set(e,i);const a=()=>r,c=a.nodeKey=sl++;return xt(e,kt,{value:c}),ol(r,a),f(r,dl.prototype),r}const fl={constructor:{writable:!0,configurable:!0,value:dl},toString:{writable:!0,configurable:!0,value:()=>"[object ShadowRoot]"},synthetic:{writable:!1,enumerable:!1,configurable:!1,value:!0}},pl={activeElement:{enumerable:!0,configurable:!0,get(){const e=il(this),t=St(e),n=it.call(t);if(B(n))return n;if(0==(re.call(e,n)&X))return null;let l=n;for(;!Vt(e,l);)l=de.call(l);return Yt(l)?null:l}},delegatesFocus:{configurable:!0,get(){return nl(this).delegatesFocus}},elementFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return yl(this,St(il(this)),e,t)}},elementsFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return En(this,St(il(this)),e,t)}},getSelection:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error('Disallowed method "getSelection" on ShadowRoot.')}},host:{enumerable:!0,configurable:!0,get(){return il(this)}},mode:{configurable:!0,get(){return nl(this).mode}},styleSheets:{enumerable:!0,configurable:!0,get(){throw new Error}}},gl=new WeakMap,ml={insertBefore:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return ie.call(il(this),e,t),e}},removeChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return ae.call(il(this),e),e}},appendChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return le.call(il(this),e),e}},replaceChild:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return ce.call(il(this),e,t),t}},addEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,l){F(n)&&zn(il(e),t,qn(n))}(this,e,t)}},dispatchEvent:{writable:!0,enumerable:!0,configurable:!0,value(e){return gl.set(e,this),Pt.apply(il(this),arguments)}},removeEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,l){F(n)&&Jn(il(e),t,qn(n))}(this,e,t)}},baseURI:{enumerable:!0,configurable:!0,get(){return il(this).baseURI}},childNodes:{enumerable:!0,configurable:!0,get(){return dn(zt(this))}},cloneNode:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error('Disallowed method "cloneNode" on ShadowRoot.')}},compareDocumentPosition:{writable:!0,enumerable:!0,configurable:!0,value(e){const t=il(this);return this===e?0:this.contains(e)?20:re.call(t,e)&X?37:35}},contains:{writable:!0,enumerable:!0,configurable:!0,value(e){if(this===e)return!0;const t=il(this);return 0!=(re.call(t,e)&X)&&Vt(t,e)}},firstChild:{enumerable:!0,configurable:!0,get(){return In(this)[0]||null}},lastChild:{enumerable:!0,configurable:!0,get(){const e=In(this);return e[e.length-1]||null}},hasChildNodes:{writable:!0,enumerable:!0,configurable:!0,value(){return In(this).length>0}},isConnected:{enumerable:!0,configurable:!0,get(){return ye.call(il(this))}},nextSibling:{enumerable:!0,configurable:!0,get:()=>null},previousSibling:{enumerable:!0,configurable:!0,get:()=>null},nodeName:{enumerable:!0,configurable:!0,get:()=>"#document-fragment"},nodeType:{enumerable:!0,configurable:!0,get:()=>11},nodeValue:{enumerable:!0,configurable:!0,get:()=>null},ownerDocument:{enumerable:!0,configurable:!0,get(){return il(this).ownerDocument}},parentElement:{enumerable:!0,configurable:!0,get:()=>null},parentNode:{enumerable:!0,configurable:!0,get:()=>null},textContent:{enumerable:!0,configurable:!0,get(){const e=In(this);let t="";for(let n=0,l=e.length;n<l;n+=1){const l=e[n];l.nodeType!==te&&(t+=pn(l))}return t},set(e){const t=il(this);be.call(t,e)}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value(e){return!I(e)&&k(e.composed)?il(this).getRootNode(e):this}}};function dl(){throw new TypeError("Illegal constructor")}function bl(e,t){const n=[];let l;if(e instanceof Window)l=e;else{if(!(e instanceof K))return n;l=e.getRootNode()}let o,r=e;for(;!B(r);)if(n.push(r),r instanceof Element||r instanceof Text){const e=r.assignedSlot;r=B(e)?r.parentNode:e}else r=!ul(r)&&!Mt(r)||!t&&r===l?r instanceof K?r.parentNode:null:r.host;return o=e instanceof Window?e.document:St(e),n[n.length-1]===o&&n.push(window),n}
|
|
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(I(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)||!D(r)&&r>-1)return e;return null}function El(e,t,n,l){const o=it.call(t,n,l);return I(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 wn(d.call(Vt(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 Zt(n,_t(Me.call(n,t)))}(this,e)}},querySelectorAll:{writable:!0,enumerable:!0,configurable:!0,value(e){return mn(function(e,t){const n=rl(e);return Qt(n,_t(Me.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+=hn(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)&&!I(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 bn(this,this,e,t)},l(Document.prototype,"activeElement",{get(){let e=rt.call(this);if(I(e))return e;for(;!D(xt(e));)if(e=me.call(e),I(e))return null;return"HTML"===e.tagName&&(e=this.body),e},enumerable:!0,configurable:!0}),l(Document.prototype,"getElementById",{value(){const e=ht.apply(this,C.call(arguments));return I(e)?null:D(xt(e))||Ht(e)?e:null},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"querySelector",{value(){const e=_t(st.apply(this,C.call(arguments))),t=b.call(e,(e=>D(xt(e))||Ht(e)));return D(t)?null:t},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"querySelectorAll",{value(){const e=_t(st.apply(this,C.call(arguments)));return mn(d.call(e,(e=>D(xt(e))||Ht(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByClassName",{value(){const e=_t(ft.apply(this,C.call(arguments)));return wn(d.call(e,(e=>D(xt(e))||Ht(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByTagName",{value(){const e=_t(pt.apply(this,C.call(arguments)));return wn(d.call(e,(e=>D(xt(e))||Ht(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByTagNameNS",{value(){const e=_t(gt.apply(this,C.call(arguments)));return wn(d.call(e,(e=>D(xt(e))||Ht(e))))},writable:!0,enumerable:!0,configurable:!0}),l(r(HTMLDocument.prototype,"getElementsByName")?HTMLDocument.prototype:Document.prototype,"getElementsByName",{value(){const e=_t(mt.apply(this,C.call(arguments)));return mn(d.call(e,(e=>D(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}})}"undefined"!=typeof HTMLIFrameElement&&function(){const e=r(HTMLIFrameElement.prototype,"contentWindow"),{get:t}=e;e.get=function(){const e=t.call(this);return I(e)||D(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 _l(e){return e.$$lwcNodeObservers$$}function Al(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(;!I(n);){const t=_l(n);if(!D(t)&&(t[0]===e||-1!==E.call(t,e)))return!0;n=n.parentNode}return!1}function $l(e,t){return N.call(e,((e,n)=>{const{target:l,addedNodes:o,removedNodes:r,type:i}=n;if("childList"!==i||D(Wt(l)))Rl(t,l)&&v.call(e,n);else if(o.length>0){const r=o[0];if(Rl(t,r)){const o=_l(l);!o||o[0]!==t&&-1===E.call(o,t)?v.call(e,Al(n)):v.call(e,n)}}else{const o=l.shadowRoot,i=r[0];if(Ft(l)===Ft(i)&&Rl(t,l))v.call(e,n);else if(o){const l=_l(o);!l||l[0]!==t&&-1===E.call(l,t)||v.call(e,Al(n))}}return e}),[])}function Pl(e){const t=function(e){let t=e[Ol];return D(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=C.call(arguments);return e[1]=xn(e[1]),dt.apply(this,e)}return dt.apply(this,arguments)}function Il(e,t,n){if(arguments.length>1){const e=C.call(arguments);e[1]=xn(e[1]),bt.apply(this,e)}bt.apply(this,arguments)}function Bl(){const e=tt.call(this);if(!(e instanceof G))return e;const t=Ct(e),n=dl(e,this.composed),l=nt.call(this);if(!(l instanceof G))return I(l)&&D(xt(e))?e:bl(t,n);if(l===t||l===t.body)return D(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 kl(){const e=tt.call(this);if(!(e instanceof G))return[];const t=Boolean(e.shadowRoot),n=(l=e,Zn.has(l));var l;if(t&&!n)return ot.call(this);if(I(nt.call(this)))return[];let o=e;return al(e)&&pl.has(this)&&(o=il(e)),dl(o,this.composed)}function xl(e){const t=r(e.prototype,"relatedTarget").get;l(e.prototype,"relatedTarget",{get(){const e=t.call(this);if(I(e))return null;if(!(e instanceof G&&Ut(e)))return e;let n=nt.call(this);return I(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);D(e)||(_.call(e,(e=>{const t=e.$$lwcNodeObservers$$;if(!D(t)){const e=E.call(t,this);-1!==e&&O.call(t,e,1)}})),e.length=0)},Pl.prototype.observe=function(e,t){let n=_l(e);var l;if(D(n)&&(n=[],l=n,e.$$lwcNodeObservers$$=l),-1===E.call(n,this)&&v.call(n,this),cl(e)&&(e=e.host),Hl.has(this)){const t=Hl.get(this);-1===E.call(t,e)&&v.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(At,{addEventListener:{value:function(e,t,n){if(al(this))return Jn.apply(this,arguments);if(arguments.length<2){const e=C.call(arguments);return e.length>1&&(e[1]=xn(e[1])),Rt.apply(this,e)}const l=xn(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=C.call(arguments);arguments.length>1&&(l[1]=xn(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=nt.call(this);return I(e)?null:1===Fn.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}}),xl(FocusEvent),xl(MouseEvent);const Fl=c.call(Text.prototype,"assignedSlot")?r(Text.prototype,"assignedSlot").get:()=>null;let Wl;const Ul={childList:!0},jl=new WeakMap;function Gl(e){const t=_t(be.call(e));return N.call(t,((e,t)=>(t instanceof Element&&Xt(t)?v.apply(e,Gl(t)):v.call(e,t),e)),[])}function Kl(){const e=pe.call(this);if(e instanceof Element){const t=Je.call(e);if(Lt(t))return this instanceof Text?Fl.call(this):Qe.call(this)}return!I(e)&&Xt(e)&&xt(e)!==xt(this)?e:null}function ql(e,t){let n;const l=xt(e);if(D(l))n=e instanceof HTMLBodyElement?d.call(t,(t=>D(xt(t))||Ht(e))):C.call(t);else if(al(e)){const l=Kt(e);n=I(l)?[]:Wt(e)?zt(e,t):Qt(l,t)}else n=d.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+=hn(e[n]);return t}function Yl(){return hn(this)}function Vl(){const e=Kt(this),t=I(e)?[]:Qt(e,en(this));return wn(d.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(Wt(e))?I(n)?[]:Qt(n,t):zt(e,t)}else if(Ut(e)){const o=xt(e);if(D(o))if(1===n){const n=Ft(e);l=d.call(t,(e=>Ft(e)===n))}else l=C.call(t);else l=d.call(t,(e=>Ft(e)===o))}else l=e instanceof HTMLBodyElement||1===n?d.call(t,(t=>D(xt(t))||Ht(e))):C.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=[];_.call(e,(e=>{const{target:n}=e;-1===E.call(t,n)&&(v.call(t,n),$t.call(n,new CustomEvent("slotchange")))}))}))),Tt.call(Wl,this,Ul))},writable:!0,enumerable:!0,configurable:!0},assignedElements:{value(e){if(Ut(this)){const t=!D(e)&&B(e.flatten)?Gl(this):tn(this);return d.call(t,(e=>e instanceof Element))}return et.apply(this,C.call(arguments))},writable:!0,enumerable:!0,configurable:!0},assignedNodes:{value(e){if(Ut(this)){return!D(e)&&B(e.flatten)?Gl(this):tn(this)}return Ze.apply(this,C.call(arguments))},writable:!0,enumerable:!0,configurable:!0},name:{get(){const e=ye.call(this,"name");return I(e)?"":e},set(e){Se.call(this,"name",e)},enumerable:!0,configurable:!0},childNodes:{get(){if(Ut(this)){const e=Kt(this);return mn(I(e)?[]:Qt(e,en(this)))}return be.call(this)},enumerable:!0,configurable:!0}}),n(Text.prototype,{assignedSlot:{get:Kl,enumerable:!0,configurable:!0}}),n(Element.prototype,{innerHTML:{get(){return Dt.ENABLE_ELEMENT_PATCH?Ht(this)?xe.call(this):Xl.call(this):Ut(this)||al(this)?Xl.call(this):xe.call(this)},set(e){Fe.call(this,e)},enumerable:!0,configurable:!0},outerHTML:{get(){return Dt.ENABLE_ELEMENT_PATCH?Ht(this)?Ue.call(this):Yl.call(this):Ut(this)||al(this)?Yl.call(this):Ue.call(this)},set(e){je.call(this,e)},enumerable:!0,configurable:!0},attachShadow:{value:function(e){return e["$$lwc-synthetic-mode"]?sl(this,e):Oe.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 Je.call(this)},enumerable:!0,configurable:!0},children:{get(){return Tn(this)?Vl.call(this):Ve.call(this)},enumerable:!0,configurable:!0},childElementCount:{get(){return Tn(this)?zl.call(this):He.call(this)},enumerable:!0,configurable:!0},firstElementChild:{get(){return Tn(this)?Jl.call(this):_e.call(this)},enumerable:!0,configurable:!0},lastElementChild:{get(){return Tn(this)?Ql.call(this):Ae.call(this)},enumerable:!0,configurable:!0},assignedSlot:{get:Kl,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(Me.apply(this,C.call(arguments)));if(al(this)){const t=Kt(this);return D(Wt(this))?I(t)?null:Zt(t,e):Jt(this,e)}if(Ut(this)){const t=xt(this);if(D(t)){if(!Dt.ENABLE_NODE_LIST_PATCH)return 0===e.length?null:e[0];const t=Ft(this),n=b.call(e,(e=>Ft(e)===t));return D(n)?null:n}{const n=b.call(e,(e=>Ft(e)===t));return D(n)?null:n}}{if(!(Dt.ENABLE_NODE_LIST_PATCH||this instanceof HTMLBodyElement)){const t=e[0];return D(t)?null:t}const t=b.call(e,(e=>D(xt(e))||Ht(this)));return D(t)?null:t}},writable:!0,enumerable:!0,configurable:!0},querySelectorAll:{value(){const e=_t(Me.apply(this,C.call(arguments)));if(!Dt.ENABLE_NODE_LIST_PATCH){return mn(Zl(this,e,0))}return mn(Zl(this,e,1))},writable:!0,enumerable:!0,configurable:!0}}),n(Element.prototype,{getElementsByClassName:{value(){const e=_t(ze.apply(this,C.call(arguments)));if(!Dt.ENABLE_HTML_COLLECTIONS_PATCH)return wn(ql(this,e));return wn(Zl(this,e,1))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagName:{value(){const e=_t(Te.apply(this,C.call(arguments)));if(!Dt.ENABLE_HTML_COLLECTIONS_PATCH)return wn(ql(this,e));return wn(Zl(this,e,1))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagNameNS:{value(){const e=_t(ve.apply(this,C.call(arguments)));if(!Dt.ENABLE_HTML_COLLECTIONS_PATCH)return wn(ql(this,e));return wn(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===z)(e)){const{tagName:n}=e,l=eo(e);if("OPTION"===n)return[1,$e.call(e),1];if("TEXTAREA"===n)return[];{const n=e.childNodes;for(let e=0,l=n.length;e<l;e++)v.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===J)(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++)v.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=>Ne.call(e,"tabindex")?"0"===ye.call(e,"tabindex"):!io.has(Ge.call(e))||!Ne.call(e,"disabled")))}const co=new WeakMap;function uo(e){return(!al(e)||!ol(e))&&(Ye.call(e,ro)&&function(e){const{width:t,height:n}=we.call(e),l=t>0||n>0,o="AREA"===e.tagName;return(l||o)&&"hidden"!==getComputedStyle(e).visibility}(e))}function so(){const e=this.getRootNode();if(e===this){const e=Le.call(this,ro);return void(I(e)||e.focus.apply(e,arguments))}const t=e;if(t.activeElement===this)return;const n=_t(Me.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(_t(st.call(t,ro))),l=ao(_t(Me.call(e,ro))),o=l[0],r=l[l.length-1],i=E.call(n,e),a=i>-1?i:E.call(n,o),c=0===l.length?a+1:E.call(n,r)+1;return{prev:C.call(n,0,a),inner:l,next:C.call(n,c)}}function fo(e,t){const n=oe.call(e,t);return n&q?0:n&Y?1:n&V?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);I(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=nt.call(e),n=tt.call(e);if(t!==n)return;const l=lt.call(e);if(I(l))return;const o=ho(t);if(1===fo(t,l)){const e=No.bind(null,t.getRootNode()),r=b.call(o.inner,e);if(D(r))mo(o.next,n,l);else{go(St(r),(()=>{r.focus()}))}}else t===n&&mo(L.call(o.prev),n,l)}function vo(e){if(bo)return;const t=lt.call(e);if(I(t))return;const n=nt.call(e),l=ho(n);if(-1!==E.call(l.inner,t))return;const o=tt.call(e),r=fo(n,t);1===r&&mo(l.next,o,t),2===r&&mo(L.call(l.prev),o,t)}function No(e,t){if(!uo(t))return!1;const n=Ct(t);let l=t.getRootNode();for(;l!==n&&l!==e;){const e=l.host;if("-1"===ye.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)&&k(Ne.call(this,"tabindex"))?0:qe.call(this)}function _o(e){const t=ol(this),n=qe.call(this),l=Ne.call(this,"tabindex");Xe.call(this,e);const o=qe.call(this),r=Ne.call(this,"tabindex"),i=n!==o;var a;(l&&(i||k(r))&&(-1===n&&Co(this),0===n&&t&&Lo(this)),k(r))||(l&&r&&k(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 Ao(){if(ol(this)){const e=function(e){const t=Ct(e),n=rt.call(t);return I(n)||0!=(oe.call(e,n)&q)?n:null}(this);if(!I(e))return void e.blur()}return So.call(this)}function Ro(){const e=wo();e&&Eo(),al(this)&&ol(this)?so.call(this):(Oo.apply(this,arguments),e&&yo())}function $o(e,t){e.$shadowResolver$=t;const n=be.call(e);for(let e=0,l=n.length;e<l;e++)$o(n[e],t)}n(HTMLElement.prototype,{tabIndex:{get(){return al(this)?Ho.call(this):qe.call(this)},set(e){return al(this)?_o.call(this,e):Xe.call(this,e)},enumerable:!0,configurable:!0},blur:{value(){if(al(this))return Ao.call(this);So.call(this)},enumerable:!0,writable:!0,configurable:!0},focus:{value(){Ro.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),null!==$e&&null!==Pe&&l(HTMLElement.prototype,"innerText",{get(){return Dt.ENABLE_INNER_OUTER_TEXT_PATCH?Dt.ENABLE_ELEMENT_PATCH?Ht(this)?$e.call(this):oo(this):Ut(this)||al(this)?oo(this):$e.call(this):$e.call(this)},set(e){Pe.call(this,e)},enumerable:!0,configurable:!0}),null!==Ie&&null!==Be&&l(HTMLElement.prototype,"outerText",{get(){return Dt.ENABLE_INNER_OUTER_TEXT_PATCH?Dt.ENABLE_ELEMENT_PATCH?Ht(this)?Ie.call(this):oo(this):Ut(this)||al(this)?oo(this):Ie.call(this):Ie.call(this)},set(e){Be.call(this,e)},enumerable:!0,configurable:!0}),l(Element.prototype,j,{set(e){const t=this.$$ShadowTokenKey$$;D(t)||t===e||Ce.call(this,t),D(e)||Se.call(this,e,""),this.$$ShadowTokenKey$$=e},get(){return this.$$ShadowTokenKey$$},configurable:!0}),l(Element.prototype,"$shadowStaticNode$",{set(e){if(e){$o(this,this.$shadowResolver$)}this.$shadowStaticNodeKey$=e},get(){return this.$shadowStaticNodeKey$},configurable:!0});const Po=function(){};let Do;const Io={childList:!0};function Bo(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;D(l)&&Tt.call(Do,e,Io);const o=be.call(e);for(let e=0,l=o.length;e<l;e+=1)Bo(o[e],t,n)}}function ko(e){if(D(Do)&&(Do=new wt((e=>{_.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];oe.call(t,n)&G.DOCUMENT_POSITION_CONTAINED_BY||Bo(n,Po,void 0)}for(let e=0,l=n.length;e<l;e+=1){const l=n[e];oe.call(t,l)&G.DOCUMENT_POSITION_CONTAINED_BY&&Bo(l,o,r)}}))}))),D(nl(e)))throw new Error("Invalid Element");Tt.call(Do,e,Io)}l(Element.prototype,"$domManual$",{set(e){this.$$DomManualKey$$=e,B(e)&&ko(this)},get(){return this.$$DomManualKey$$},configurable:!0})}();
|
|
10
|
+
*/function El(e,t){if(B(e))return null;const n=bl(e,!0),l=t;for(let e,t,o,r,i=0;i<l.length;i++)if(e=l[i],o=e instanceof Window?e:e.getRootNode(),o!==t&&(r=n.indexOf(o),t=o),!ul(o)||!I(r)&&r>-1)return e;return null}function yl(e,t,n,l){const o=at.call(t,n,l);return B(o)?o:El(e,bl(o,!0))}e(fl,ml,{childElementCount:{enumerable:!0,configurable:!0,get(){return this.children.length}},children:{enumerable:!0,configurable:!0,get(){return Tn(d.call(zt(this),(e=>e instanceof Element)))}},firstElementChild:{enumerable:!0,configurable:!0,get(){return this.children[0]||null}},lastElementChild:{enumerable:!0,configurable:!0,get(){const{children:e}=this;return e.item(e.length-1)||null}},getElementById:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error('Disallowed method "getElementById" on ShadowRoot.')}},querySelector:{writable:!0,enumerable:!0,configurable:!0,value(e){return function(e,t){const n=il(e);return en(n,At(Ce.call(n,t)))}(this,e)}},querySelectorAll:{writable:!0,enumerable:!0,configurable:!0,value(e){return dn(function(e,t){const n=il(e);return Zt(n,At(Ce.call(n,t)))}(this,e))}}},{innerHTML:{enumerable:!0,configurable:!0,get(){const e=In(this);let t="";for(let n=0,l=e.length;n<l;n+=1)t+=fn(e[n]);return t},set(e){const t=il(this);We.call(t,e)}}},pl),dl.prototype=t(DocumentFragment.prototype,fl),l(dl,Symbol.hasInstance,{value:function(e){return W(e)&&!B(e)&&(Mt(e)||a(e)===dl.prototype)}}),Document.prototype.elementFromPoint=function(e,t){return yl(this,this,e,t)},Document.prototype.elementsFromPoint=function(e,t){return En(this,this,e,t)},l(Document.prototype,"activeElement",{get(){let e=it.call(this);if(B(e))return e;for(;!I(Ft(e));)if(e=de.call(e),B(e))return null;return"HTML"===e.tagName&&(e=this.body),e},enumerable:!0,configurable:!0}),l(Document.prototype,"getElementById",{value(){const e=ft.apply(this,C.call(arguments));return B(e)?null:I(Ft(e))||_t(e)?e:null},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"querySelector",{value(){const e=At(ht.apply(this,C.call(arguments))),t=b.call(e,(e=>I(Ft(e))||_t(e)));return I(t)?null:t},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"querySelectorAll",{value(){const e=At(ht.apply(this,C.call(arguments)));return dn(d.call(e,(e=>I(Ft(e))||_t(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByClassName",{value(){const e=At(pt.apply(this,C.call(arguments)));return Tn(d.call(e,(e=>I(Ft(e))||_t(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByTagName",{value(){const e=At(gt.apply(this,C.call(arguments)));return Tn(d.call(e,(e=>I(Ft(e))||_t(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByTagNameNS",{value(){const e=At(mt.apply(this,C.call(arguments)));return Tn(d.call(e,(e=>I(Ft(e))||_t(e))))},writable:!0,enumerable:!0,configurable:!0}),l(r(HTMLDocument.prototype,"getElementsByName")?HTMLDocument.prototype:Document.prototype,"getElementsByName",{value(){const e=At(dt.apply(this,C.call(arguments)));return dn(d.call(e,(e=>I(Ft(e))||_t(e))))},writable:!0,enumerable:!0,configurable:!0}),Object.defineProperty(window,"ShadowRoot",{value:dl,configurable:!0,writable:!0});const wl=Object.getOwnPropertyDescriptor(Event.prototype,"composed");const Tl=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"click");function vl(e){Object.defineProperty(e,"composed",{configurable:!0,enumerable:!0,get:()=>!0})}(function(){if(!wl)return!1;let e=new Event("click");const t=document.createElement("button");return t.addEventListener("click",(t=>e=t)),t.click(),!wl.get.call(e)})()&&(HTMLElement.prototype.click=function(){$t.call(this,"click",vl);try{Tl.value.call(this)}finally{Dt.call(this,"click",vl)}}),!0!==new Event("test",{composed:!0}).composed&&function(){const n=e(t(null),{beforeinput:1,blur:1,click:1,compositionend:1,compositionstart:1,compositionupdate:1,copy:1,cut:1,dblclick:1,DOMActivate:1,DOMFocusIn:1,DOMFocusOut:1,drag:1,dragend:1,dragenter:1,dragleave:1,dragover:1,dragstart:1,drop:1,focus:1,focusin:1,focusout:1,gotpointercapture:1,input:1,keydown:1,keypress:1,keyup:1,lostpointercapture:1,mousedown:1,mouseenter:1,mouseleave:1,mousemove:1,mouseout:1,mouseover:1,mouseup:1,paste:1,pointercancel:1,pointerdown:1,pointerenter:1,pointerleave:1,pointermove:1,pointerout:1,pointerover:1,pointerup:1,touchcancel:1,touchend:1,touchmove:1,touchstart:1,wheel:1}),l=Event;function o(e,t){const n=new l(e,t),o=!(!t||!t.composed);return Object.defineProperties(n,{composed:{get:()=>o,configurable:!0,enumerable:!0}}),n}o.prototype=l.prototype,o.AT_TARGET=l.AT_TARGET,o.BUBBLING_PHASE=l.BUBBLING_PHASE,o.CAPTURING_PHASE=l.CAPTURING_PHASE,o.NONE=l.NONE,window.Event=o,Object.defineProperties(Event.prototype,{composed:{get(){const{type:e}=this;return 1===n[e]},configurable:!0,enumerable:!0}})}();const Nl=CustomEvent;function Ll(e,t){const n=new Nl(e,t),l=!(!t||!t.composed);return Object.defineProperties(n,{composed:{get:()=>l,configurable:!0,enumerable:!0}}),n}if(Ll.prototype=Nl.prototype,window.CustomEvent=Ll,"undefined"!=typeof ClipboardEvent){const l=e(t(null),{copy:1,cut:1,paste:1});n(ClipboardEvent.prototype,{composed:{get(){const{type:e}=this;return 1===l[e]},configurable:!0,enumerable:!0}})}"undefined"!=typeof HTMLIFrameElement&&function(){const e=r(HTMLIFrameElement.prototype,"contentWindow"),{get:t}=e;e.get=function(){const e=t.call(this);return B(e)||I(Ft(this))?e:(n=e,{addEventListener(){return n.addEventListener.apply(n,arguments)},blur(){return n.blur.apply(n,arguments)},close(){return n.close.apply(n,arguments)},focus(){return n.focus.apply(n,arguments)},postMessage(){return n.postMessage.apply(n,arguments)},removeEventListener(){return n.removeEventListener.apply(n,arguments)},get closed(){return n.closed},get frames(){return n.frames},get length(){return n.length},get location(){return n.location},set location(e){n.location=e},get opener(){return n.opener},get parent(){return n.parent},get self(){return n.self},get top(){return n.top},get window(){return n.window}});var n},l(HTMLIFrameElement.prototype,"contentWindow",e)}();const Ml=MutationObserver,{disconnect:Cl,observe:Sl,takeRecords:Ol}=Ml.prototype,Hl="$$lwcObserverCallbackWrapper$$",_l=new WeakMap;function Al(e){return e.$$lwcNodeObservers$$}function Rl(e){const{addedNodes:l,removedNodes:o,target:r,type:i}=e,a=t(MutationRecord.prototype);return n(a,{addedNodes:{get:()=>l,enumerable:!0,configurable:!0},removedNodes:{get:()=>o,enumerable:!0,configurable:!0},type:{get:()=>i,enumerable:!0,configurable:!0},target:{get:()=>r.shadowRoot,enumerable:!0,configurable:!0}}),a}function $l(e,t){let n=t;for(;!B(n);){const t=Al(n);if(!I(t)&&(t[0]===e||-1!==E.call(t,e)))return!0;n=n.parentNode}return!1}function Pl(e,t){return N.call(e,((e,n)=>{const{target:l,addedNodes:o,removedNodes:r,type:i}=n;if("childList"!==i||I(Ut(l)))$l(t,l)&&v.call(e,n);else if(o.length>0){const r=o[0];if($l(t,r)){const o=Al(l);!o||o[0]!==t&&-1===E.call(o,t)?v.call(e,Rl(n)):v.call(e,n)}}else{const o=l.shadowRoot,i=r[0];if(Wt(l)===Wt(i)&&$l(t,l))v.call(e,n);else if(o){const l=Al(o);!l||l[0]!==t&&-1===E.call(l,t)||v.call(e,Rl(n))}}return e}),[])}function Dl(e){const t=function(e){let t=e[Hl];return I(t)&&(t=e[Hl]=(t,n)=>{const l=Pl(t,n);0!==l.length&&e.call(n,l,n)}),t}(e);return new Ml(t)}function Il(e,t,n){if(arguments.length>1){const e=C.call(arguments);return e[1]=Fn(e[1]),bt.apply(this,e)}return bt.apply(this,arguments)}function Bl(e,t,n){if(arguments.length>1){const e=C.call(arguments);e[1]=Fn(e[1]),Et.apply(this,e)}Et.apply(this,arguments)}function kl(){const e=nt.call(this);if(!(e instanceof K))return e;const t=St(e),n=bl(e,this.composed),l=lt.call(this);if(!(l instanceof K))return B(l)&&I(Ft(e))?e:El(t,n);if(l===t||l===t.body)return I(Ft(e))?e:El(t,n);let o=l,r=n;if(cl(l)){1===Wn.get(this)&&(o=al(l))}return cl(e)&&gl.has(this)&&(r=bl(al(e),this.composed)),El(o,r)}function xl(){const e=nt.call(this);if(!(e instanceof K))return[];const t=Boolean(e.shadowRoot),n=(l=e,el.has(l));var l;if(t&&!n)return rt.call(this);if(B(lt.call(this)))return[];let o=e;return cl(e)&&gl.has(this)&&(o=al(e)),bl(o,this.composed)}function Fl(e){const t=r(e.prototype,"relatedTarget").get;l(e.prototype,"relatedTarget",{get(){const e=t.call(this);if(B(e))return null;if(!(e instanceof K&&jt(e)))return e;let n=lt.call(this);return B(n)&&(n=St(e)),El(n,bl(e,!0))},enumerable:!0,configurable:!0})}Dl.prototype=Ml.prototype,Dl.prototype.disconnect=function(){Cl.call(this);const e=_l.get(this);I(e)||(A.call(e,(e=>{const t=e.$$lwcNodeObservers$$;if(!I(t)){const e=E.call(t,this);-1!==e&&H.call(t,e,1)}})),e.length=0)},Dl.prototype.observe=function(e,t){let n=Al(e);var l;if(I(n)&&(n=[],l=n,e.$$lwcNodeObservers$$=l),-1===E.call(n,this)&&v.call(n,this),ul(e)&&(e=e.host),_l.has(this)){const t=_l.get(this);-1===E.call(t,e)&&v.call(t,e)}else _l.set(this,[e]);return Sl.call(this,e,t)},Dl.prototype.takeRecords=function(){return Pl(Ol.call(this),this)},l(window,"MutationObserver",{value:Dl,configurable:!0,writable:!0}),n(Rt,{addEventListener:{value:function(e,t,n){if(cl(this))return Qn.apply(this,arguments);if(arguments.length<2){const e=C.call(arguments);return e.length>1&&(e[1]=Fn(e[1])),$t.apply(this,e)}const l=Fn(t);return $t.call(this,e,l,n)},enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:function(e,t,n){if(cl(this))return Zn.apply(this,arguments);const l=C.call(arguments);arguments.length>1&&(l[1]=Fn(l[1])),Dt.apply(this,l),Dt.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),"undefined"==typeof EventTarget&&n(Window.prototype,{addEventListener:{value:Il,enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:Bl,enumerable:!0,writable:!0,configurable:!0}}),n(Event.prototype,{target:{get:kl,enumerable:!0,configurable:!0},currentTarget:{get:function(){const e=lt.call(this);return B(e)?null:1===Wn.get(this)?al(e):e},enumerable:!0,configurable:!0},composedPath:{value:xl,writable:!0,enumerable:!0,configurable:!0},srcElement:{get:kl,enumerable:!0,configurable:!0},path:{get:xl,enumerable:!0,configurable:!0}}),Fl(FocusEvent),Fl(MouseEvent);const Wl=c.call(Text.prototype,"assignedSlot")?r(Text.prototype,"assignedSlot").get:()=>null;let Ul;const jl={childList:!0},Gl=new WeakMap;function Kl(e){const t=At(Ee.call(e));return N.call(t,((e,t)=>(t instanceof Element&&Yt(t)?v.apply(e,Kl(t)):v.call(e,t),e)),[])}function ql(){const e=ge.call(this);if(e instanceof Element){const t=Qe.call(e);if(Mt(t))return this instanceof Text?Wl.call(this):Ze.call(this)}return!B(e)&&Yt(e)&&Ft(e)!==Ft(this)?e:null}function Xl(e,t){let n;const l=Ft(e);if(I(l))n=e instanceof HTMLBodyElement?d.call(t,(t=>I(Ft(t))||_t(e))):C.call(t);else if(cl(e)){const l=qt(e);n=B(l)?[]:Ut(e)?Jt(e,t):Zt(l,t)}else n=d.call(t,(e=>Wt(e)===l));return n}function Yl(){const e=In(this);let t="";for(let n=0,l=e.length;n<l;n+=1)t+=fn(e[n]);return t}function Vl(){return fn(this)}function zl(){const e=qt(this),t=B(e)?[]:Zt(e,tn(this));return Tn(d.call(t,(e=>e instanceof Element)))}function Jl(){return this.children.length}function Ql(){return this.children[0]||null}function Zl(){const{children:e}=this;return e.item(e.length-1)||null}function eo(e,t,n){let l;if(cl(e)){const n=qt(e);l=I(Ut(e))?B(n)?[]:Zt(n,t):Jt(e,t)}else if(jt(e)){const o=Ft(e);if(I(o))if(1===n){const n=Wt(e);l=d.call(t,(e=>Wt(e)===n))}else l=C.call(t);else l=d.call(t,(e=>Wt(e)===o))}else l=e instanceof HTMLBodyElement||1===n?d.call(t,(t=>I(Ft(t))||_t(e))):C.call(t);return l}function to(e){const t=Ot(e);return yt.call(t,e)}function no(e){const t=Ot(e);return wt.call(t)}function lo(e){return"visible"===e.visibility&&"none"!==e.display}n(HTMLSlotElement.prototype,{addEventListener:{value(e,t,n){HTMLElement.prototype.addEventListener.call(this,e,t,n),"slotchange"!==e||Gl.get(this)||(Gl.set(this,!0),Ul||(Ul=new Tt((e=>{const t=[];A.call(e,(e=>{const{target:n}=e;-1===E.call(t,n)&&(v.call(t,n),Pt.call(n,new CustomEvent("slotchange")))}))}))),vt.call(Ul,this,jl))},writable:!0,enumerable:!0,configurable:!0},assignedElements:{value(e){if(jt(this)){const t=!I(e)&&k(e.flatten)?Kl(this):nn(this);return d.call(t,(e=>e instanceof Element))}return tt.apply(this,C.call(arguments))},writable:!0,enumerable:!0,configurable:!0},assignedNodes:{value(e){if(jt(this)){return!I(e)&&k(e.flatten)?Kl(this):nn(this)}return et.apply(this,C.call(arguments))},writable:!0,enumerable:!0,configurable:!0},name:{get(){const e=we.call(this,"name");return B(e)?"":e},set(e){Oe.call(this,"name",e)},enumerable:!0,configurable:!0},childNodes:{get(){if(jt(this)){const e=qt(this);return dn(B(e)?[]:Zt(e,tn(this)))}return Ee.call(this)},enumerable:!0,configurable:!0}}),n(Text.prototype,{assignedSlot:{get:ql,enumerable:!0,configurable:!0}}),n(Element.prototype,{innerHTML:{get(){return It.ENABLE_ELEMENT_PATCH?_t(this)?Fe.call(this):Yl.call(this):jt(this)||cl(this)?Yl.call(this):Fe.call(this)},set(e){We.call(this,e)},enumerable:!0,configurable:!0},outerHTML:{get(){return It.ENABLE_ELEMENT_PATCH?_t(this)?je.call(this):Vl.call(this):jt(this)||cl(this)?Vl.call(this):je.call(this)},set(e){Ge.call(this,e)},enumerable:!0,configurable:!0},attachShadow:{value:function(e){return e["$$lwc-synthetic-mode"]?hl(this,e):He.call(this,e)},enumerable:!0,writable:!0,configurable:!0},shadowRoot:{get:function(){if(cl(this)){const e=al(this);if("open"===e.mode)return e}return Qe.call(this)},enumerable:!0,configurable:!0},children:{get(){return vn(this)?zl.call(this):ze.call(this)},enumerable:!0,configurable:!0},childElementCount:{get(){return vn(this)?Jl.call(this):_e.call(this)},enumerable:!0,configurable:!0},firstElementChild:{get(){return vn(this)?Ql.call(this):Ae.call(this)},enumerable:!0,configurable:!0},lastElementChild:{get(){return vn(this)?Zl.call(this):Re.call(this)},enumerable:!0,configurable:!0},assignedSlot:{get:ql,enumerable:!0,configurable:!0}}),c.call(HTMLElement.prototype,"innerHTML")&&l(HTMLElement.prototype,"innerHTML",r(Element.prototype,"innerHTML")),c.call(HTMLElement.prototype,"outerHTML")&&l(HTMLElement.prototype,"outerHTML",r(Element.prototype,"outerHTML")),c.call(HTMLElement.prototype,"children")&&l(HTMLElement.prototype,"children",r(Element.prototype,"children")),n(Element.prototype,{querySelector:{value:function(){const e=At(Ce.apply(this,C.call(arguments)));if(cl(this)){const t=qt(this);return I(Ut(this))?B(t)?null:en(t,e):Qt(this,e)}if(jt(this)){const t=Ft(this);if(I(t)){if(!It.ENABLE_NODE_LIST_PATCH)return 0===e.length?null:e[0];const t=Wt(this),n=b.call(e,(e=>Wt(e)===t));return I(n)?null:n}{const n=b.call(e,(e=>Wt(e)===t));return I(n)?null:n}}{if(!(It.ENABLE_NODE_LIST_PATCH||this instanceof HTMLBodyElement)){const t=e[0];return I(t)?null:t}const t=b.call(e,(e=>I(Ft(e))||_t(this)));return I(t)?null:t}},writable:!0,enumerable:!0,configurable:!0},querySelectorAll:{value(){const e=At(Ce.apply(this,C.call(arguments)));if(!It.ENABLE_NODE_LIST_PATCH){return dn(eo(this,e,0))}return dn(eo(this,e,1))},writable:!0,enumerable:!0,configurable:!0}}),n(Element.prototype,{getElementsByClassName:{value(){const e=At(Je.apply(this,C.call(arguments)));if(!It.ENABLE_HTML_COLLECTIONS_PATCH)return Tn(Xl(this,e));return Tn(eo(this,e,1))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagName:{value(){const e=At(ve.apply(this,C.call(arguments)));if(!It.ENABLE_HTML_COLLECTIONS_PATCH)return Tn(Xl(this,e));return Tn(eo(this,e,1))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagNameNS:{value(){const e=At(Ne.apply(this,C.call(arguments)));if(!It.ENABLE_HTML_COLLECTIONS_PATCH)return Tn(Xl(this,e));return Tn(eo(this,e,1))},writable:!0,enumerable:!0,configurable:!0}}),c.call(HTMLElement.prototype,"getElementsByClassName")&&l(HTMLElement.prototype,"getElementsByClassName",r(Element.prototype,"getElementsByClassName"));function oo(e){const t=[];if((e=>e.nodeType===J)(e)){const{tagName:n}=e,l=to(e);if("OPTION"===n)return[1,Pe.call(e),1];if("TEXTAREA"===n)return[];{const n=e.childNodes;for(let e=0,l=n.length;e<l;e++)v.apply(t,oo(n[e]))}if(!lo(l))return"SELECT"===n||"DATALIST"===n?[]:t;"BR"===n&&t.push("\n");const{display:o}=l;"table-cell"===o&&t.push("\t"),"table-row"===o&&t.push("\n"),"P"===n&&(t.unshift(2),t.push(2)),"block"!==o&&"table-caption"!==o&&"flex"!==o&&"table"!==o||(t.unshift(1),t.push(1))}else(e=>e.nodeType===Q)(e)&&t.push(function(e){const t=no(e);if(null===t)return e.textContent||"";const n=document.createRange();n.selectNodeContents(e);const l=n.getBoundingClientRect();if(l.height<=0||l.width<=0)return"";t.removeAllRanges(),t.addRange(n);return t.toString()||e.textContent||""}(e));return t}function ro(e){if(!lo(to(e)))return pn(e)||"";const t=function(e){const t=Ot(e),n=no(e);if(null===n)return null;const l=[];for(let e=0;e<n.rangeCount;e++)l.push(n.getRangeAt(e));const o={element:e,onselect:t.onselect,onselectstart:t.onselectstart,onselectionchange:t.onselectionchange,ranges:l};return t.onselect=null,t.onselectstart=null,t.onselectionchange=null,o}(e),n=[],l=e.childNodes;for(let e=0,t=l.length;e<t;e++)v.apply(n,oo(l[e]));!function(e){if(null===e)return;const{element:t,onselect:n,onselectstart:l,onselectionchange:o,ranges:r}=e,i=Ot(t),a=no(t);a.removeAllRanges();for(let e=0;e<r.length;e++)a.addRange(r[e]);i.onselect=n,i.onselectstart=l,i.onselectionchange=o}(t);let o="",r=0;for(let e=0,t=n.length;e<t;e++){const t=n[e];if("string"==typeof t){if(r>0){for(let e=0;e<r;e++)o+="\n";r=0}t.length>0&&(o+=t)}else{if(0==o.length)continue;t>r&&(r=t)}}return o}const io="\n [contenteditable],\n [tabindex],\n a[href],\n area[href],\n audio[controls],\n button,\n iframe,\n input,\n select,\n textarea,\n video[controls]\n",ao=new Set(["BUTTON","INPUT","SELECT","TEXTAREA"]);function co(e){return e.filter((e=>Le.call(e,"tabindex")?"0"===we.call(e,"tabindex"):!ao.has(Ke.call(e))||!Le.call(e,"disabled")))}const uo=new WeakMap;function so(e){return(!cl(e)||!rl(e))&&(Ve.call(e,io)&&function(e){const{width:t,height:n}=Te.call(e),l=t>0||n>0,o="AREA"===e.tagName;return(l||o)&&"hidden"!==getComputedStyle(e).visibility}(e))}function ho(){const e=this.getRootNode();if(e===this){const e=Me.call(this,io);return void(B(e)||e.focus.apply(e,arguments))}const t=e;if(t.activeElement===this)return;const n=At(Ce.call(this,io));let l=!1;for(;!l&&0!==n.length;){const e=n.shift();e.focus.apply(e,arguments);l=e.getRootNode().activeElement===e}}function fo(e){const t=St(e),n=co(At(ht.call(t,io))),l=co(At(Ce.call(e,io))),o=l[0],r=l[l.length-1],i=E.call(n,e),a=i>-1?i:E.call(n,o),c=0===l.length?a+1:E.call(n,r)+1;return{prev:C.call(n,0,a),inner:l,next:C.call(n,c)}}function po(e,t){const n=re.call(e,t);return n&X?0:n&V?1:n&z?2:-1}function go(e){e.preventDefault(),e.stopPropagation()}function mo(e,t){bt.call(e,"focusin",go,!0),bt.call(e,"focusout",go,!0),t(),Et.call(e,"focusin",go,!0),Et.call(e,"focusout",go,!0)}function bo(e,t,n){const l=Ot(n),o=function(e,t){const n=e.length;if(n>0)for(let l=0;l<n;l+=1){const n=e[l];if(Lo(t.getRootNode(),n))return n}return null}(e,n);B(o)?mo(l,(()=>{t.blur()})):mo(l,(()=>{o.focus()}))}let Eo=!1;function yo(){Eo=!0}function wo(){Eo=!1}function To(){return!Eo}function vo(e){if(Eo)return;const t=lt.call(e),n=nt.call(e);if(t!==n)return;const l=ot.call(e);if(B(l))return;const o=fo(t);if(1===po(t,l)){const e=Lo.bind(null,t.getRootNode()),r=b.call(o.inner,e);if(I(r))bo(o.next,n,l);else{mo(Ot(r),(()=>{r.focus()}))}}else t===n&&bo(L.call(o.prev),n,l)}function No(e){if(Eo)return;const t=ot.call(e);if(B(t))return;const n=lt.call(e),l=fo(n);if(-1!==E.call(l.inner,t))return;const o=nt.call(e),r=po(n,t);1===r&&bo(l.next,o,t),2===r&&bo(L.call(l.prev),o,t)}function Lo(e,t){if(!so(t))return!1;const n=St(t);let l=t.getRootNode();for(;l!==n&&l!==e;){const e=l.host;if("-1"===we.call(e,"tabindex"))return!1;l=e&&e.getRootNode()}return!0}function Mo(e){Dt.call(e,"focusin",vo,!0)}function Co(e){const t=St(e);uo.get(t)||(uo.set(t,!0),$t.call(t,"mousedown",yo,!0),$t.call(t,"mouseup",(()=>{setTimeout(wo)}),!0),$t.call(t,"dragstart",wo,!0))}function So(e){Dt.call(e,"focusin",No,!0)}const{blur:Oo,focus:Ho}=HTMLElement.prototype;function _o(){return rl(this)&&x(Le.call(this,"tabindex"))?0:Xe.call(this)}function Ao(e){const t=rl(this),n=Xe.call(this),l=Le.call(this,"tabindex");Ye.call(this,e);const o=Xe.call(this),r=Le.call(this,"tabindex"),i=n!==o;var a;(l&&(i||x(r))&&(-1===n&&So(this),0===n&&t&&Mo(this)),x(r))||(l&&r&&x(i)||(-1===o&&(Co(a=this),Mo(a),$t.call(a,"focusin",No,!0)),0===o&&t&&function(e){Co(e),So(e),$t.call(e,"focusin",vo,!0)}(this)))}function Ro(){if(rl(this)){const e=function(e){const t=St(e),n=it.call(t);return B(n)||0!=(re.call(e,n)&X)?n:null}(this);if(!B(e))return void e.blur()}return Oo.call(this)}function $o(){const e=To();e&&yo(),cl(this)&&rl(this)?ho.call(this):(Ho.apply(this,arguments),e&&wo())}function Po(e,t){e.$shadowResolver$=t;const n=Ee.call(e);for(let e=0,l=n.length;e<l;e++)Po(n[e],t)}n(HTMLElement.prototype,{tabIndex:{get(){return cl(this)?_o.call(this):Xe.call(this)},set(e){return cl(this)?Ao.call(this,e):Ye.call(this,e)},enumerable:!0,configurable:!0},blur:{value(){if(cl(this))return Ro.call(this);Oo.call(this)},enumerable:!0,writable:!0,configurable:!0},focus:{value(){$o.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),null!==Pe&&null!==De&&l(HTMLElement.prototype,"innerText",{get(){return It.ENABLE_INNER_OUTER_TEXT_PATCH?It.ENABLE_ELEMENT_PATCH?_t(this)?Pe.call(this):ro(this):jt(this)||cl(this)?ro(this):Pe.call(this):Pe.call(this)},set(e){De.call(this,e)},enumerable:!0,configurable:!0}),null!==Be&&null!==ke&&l(HTMLElement.prototype,"outerText",{get(){return It.ENABLE_INNER_OUTER_TEXT_PATCH?It.ENABLE_ELEMENT_PATCH?_t(this)?Be.call(this):ro(this):jt(this)||cl(this)?ro(this):Be.call(this):Be.call(this)},set(e){ke.call(this,e)},enumerable:!0,configurable:!0}),l(Element.prototype,G,{set(e){const t=this.$$ShadowTokenKey$$;I(t)||t===e||Se.call(this,t),I(e)||Oe.call(this,e,""),this.$$ShadowTokenKey$$=e},get(){return this.$$ShadowTokenKey$$},configurable:!0}),l(Element.prototype,"$shadowStaticNode$",{set(e){if(e){Po(this,this.$shadowResolver$)}this.$shadowStaticNodeKey$=e},get(){return this.$shadowStaticNodeKey$},configurable:!0});const Do=function(){};let Io;const Bo={childList:!0};function ko(e,t,n){const l=ll(e);if(l!==t&&(ol(e,t),e instanceof Element)){if(function(e,t){e.$shadowToken$=t}(e,n),cl(e))return;I(l)&&vt.call(Io,e,Bo);const o=Ee.call(e);for(let e=0,l=o.length;e<l;e+=1)ko(o[e],t,n)}}function xo(e){if(I(Io)&&(Io=new Tt((e=>{A.call(e,(e=>{const{target:t,addedNodes:n,removedNodes:l}=e,o=ll(t),r=t.$shadowToken$;for(let e=0,n=l.length;e<n;e+=1){const n=l[e];re.call(t,n)&K.DOCUMENT_POSITION_CONTAINED_BY||ko(n,Do,void 0)}for(let e=0,l=n.length;e<l;e+=1){const l=n[e];re.call(t,l)&K.DOCUMENT_POSITION_CONTAINED_BY&&ko(l,o,r)}}))}))),I(ll(e)))throw new Error("Invalid Element");vt.call(Io,e,Bo)}l(Element.prototype,"$domManual$",{set(e){this.$$DomManualKey$$=e,k(e)&&xo(this)},get(){return this.$$DomManualKey$$},configurable:!0})}();
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
11
11
|
*/
|
|
12
12
|
const { assign, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isFrozen, keys, seal, setPrototypeOf, } = Object;
|
|
13
|
-
const { concat: ArrayConcat, copyWithin: ArrayCopyWithin, fill: ArrayFill, filter: ArrayFilter, find: ArrayFind, indexOf: ArrayIndexOf, join: ArrayJoin, map: ArrayMap, pop: ArrayPop, push: ArrayPush, reduce: ArrayReduce, reverse: ArrayReverse, shift: ArrayShift, slice: ArraySlice, sort: ArraySort, splice: ArraySplice, unshift: ArrayUnshift, forEach, } = Array.prototype;
|
|
13
|
+
const { concat: ArrayConcat, copyWithin: ArrayCopyWithin, fill: ArrayFill, filter: ArrayFilter, find: ArrayFind, 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;
|
|
14
14
|
const { charCodeAt: StringCharCodeAt, replace: StringReplace, slice: StringSlice, toLowerCase: StringToLowerCase, } = String.prototype;
|
|
15
15
|
function isUndefined(obj) {
|
|
16
16
|
return obj === undefined;
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
const KEY__SHADOW_TOKEN = '$shadowToken$';
|
|
88
88
|
const KEY__SHADOW_TOKEN_PRIVATE = '$$ShadowTokenKey$$';
|
|
89
89
|
const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
|
|
90
|
-
/** version: 2.
|
|
90
|
+
/** version: 2.28.0 */
|
|
91
91
|
|
|
92
92
|
/*
|
|
93
93
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -401,7 +401,7 @@
|
|
|
401
401
|
Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
|
|
402
402
|
}
|
|
403
403
|
const lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
|
|
404
|
-
/** version: 2.
|
|
404
|
+
/** version: 2.28.0 */
|
|
405
405
|
|
|
406
406
|
/*
|
|
407
407
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -4971,6 +4971,6 @@
|
|
|
4971
4971
|
},
|
|
4972
4972
|
configurable: true,
|
|
4973
4973
|
});
|
|
4974
|
-
/** version: 2.
|
|
4974
|
+
/** version: 2.28.0 */
|
|
4975
4975
|
|
|
4976
4976
|
})();
|
|
@@ -199,7 +199,7 @@
|
|
|
199
199
|
var hasNativeSymbolSupport = /*@__PURE__*/function () {
|
|
200
200
|
return Symbol('x').toString() === 'Symbol(x)';
|
|
201
201
|
}();
|
|
202
|
-
/** version: 2.
|
|
202
|
+
/** version: 2.28.0 */
|
|
203
203
|
|
|
204
204
|
/*
|
|
205
205
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -548,7 +548,7 @@
|
|
|
548
548
|
}
|
|
549
549
|
|
|
550
550
|
var lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
|
|
551
|
-
/** version: 2.
|
|
551
|
+
/** version: 2.28.0 */
|
|
552
552
|
|
|
553
553
|
/*
|
|
554
554
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -5682,6 +5682,6 @@
|
|
|
5682
5682
|
}));
|
|
5683
5683
|
});
|
|
5684
5684
|
}
|
|
5685
|
-
/** version: 2.
|
|
5685
|
+
/** version: 2.28.0 */
|
|
5686
5686
|
|
|
5687
5687
|
})();
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
var KEY__SHADOW_TOKEN = '$shadowToken$';
|
|
124
124
|
var KEY__SHADOW_TOKEN_PRIVATE = '$$ShadowTokenKey$$';
|
|
125
125
|
var KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
|
|
126
|
-
/** version: 2.
|
|
126
|
+
/** version: 2.28.0 */
|
|
127
127
|
|
|
128
128
|
/*
|
|
129
129
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -470,7 +470,7 @@
|
|
|
470
470
|
}
|
|
471
471
|
|
|
472
472
|
var lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
|
|
473
|
-
/** version: 2.
|
|
473
|
+
/** version: 2.28.0 */
|
|
474
474
|
|
|
475
475
|
/*
|
|
476
476
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -5462,6 +5462,6 @@
|
|
|
5462
5462
|
},
|
|
5463
5463
|
configurable: true
|
|
5464
5464
|
});
|
|
5465
|
-
/** version: 2.
|
|
5465
|
+
/** version: 2.28.0 */
|
|
5466
5466
|
|
|
5467
5467
|
})();
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
*/
|
|
49
49
|
const { assign, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isFrozen, keys, seal, setPrototypeOf, } = Object;
|
|
50
50
|
const { isArray } = Array;
|
|
51
|
-
const { concat: ArrayConcat, copyWithin: ArrayCopyWithin, fill: ArrayFill, filter: ArrayFilter, find: ArrayFind, indexOf: ArrayIndexOf, join: ArrayJoin, map: ArrayMap, pop: ArrayPop, push: ArrayPush, reduce: ArrayReduce, reverse: ArrayReverse, shift: ArrayShift, slice: ArraySlice, sort: ArraySort, splice: ArraySplice, unshift: ArrayUnshift, forEach, } = Array.prototype;
|
|
51
|
+
const { concat: ArrayConcat, copyWithin: ArrayCopyWithin, fill: ArrayFill, filter: ArrayFilter, find: ArrayFind, 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;
|
|
52
52
|
const { charCodeAt: StringCharCodeAt, replace: StringReplace, slice: StringSlice, toLowerCase: StringToLowerCase, } = String.prototype;
|
|
53
53
|
function isUndefined(obj) {
|
|
54
54
|
return obj === undefined;
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
// We use this to detect symbol support in order to avoid the expensive symbol polyfill. Note that
|
|
154
154
|
// we can't use typeof since it will fail when transpiling.
|
|
155
155
|
const hasNativeSymbolSupport = /*@__PURE__*/ (() => Symbol('x').toString() === 'Symbol(x)')();
|
|
156
|
-
/** version: 2.
|
|
156
|
+
/** version: 2.28.0 */
|
|
157
157
|
|
|
158
158
|
/*
|
|
159
159
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -467,7 +467,7 @@
|
|
|
467
467
|
Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
|
|
468
468
|
}
|
|
469
469
|
const lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
|
|
470
|
-
/** version: 2.
|
|
470
|
+
/** version: 2.28.0 */
|
|
471
471
|
|
|
472
472
|
/*
|
|
473
473
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -5175,6 +5175,6 @@
|
|
|
5175
5175
|
}));
|
|
5176
5176
|
});
|
|
5177
5177
|
}
|
|
5178
|
-
/** version: 2.
|
|
5178
|
+
/** version: 2.28.0 */
|
|
5179
5179
|
|
|
5180
5180
|
}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){"use strict";const{assign:e,create:t,defineProperties:n,defineProperty:l,freeze:o,getOwnPropertyDescriptor:r,getOwnPropertyNames:i,getPrototypeOf:a,hasOwnProperty:c,isFrozen:u,keys:s,seal:f,setPrototypeOf:h}=Object,{concat:p,copyWithin:g,fill:m,filter:d,find:b,indexOf:E,join:y,map:w,pop:T,push:v,reduce:N,reverse:L,shift:M,slice:C,sort:S,splice:O,unshift:H,forEach:_}=Array.prototype,{charCodeAt:A,replace:R,slice:$,toLowerCase:P}=String.prototype;function D(e){return void 0===e}function I(e){return null===e}function B(e){return!0===e}function k(e){return!1===e}function x(e){return"function"==typeof e}function F(e){return"object"==typeof e}const W=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}(),U="$shadowResolver$",j="$shadowToken$",G=Node,K=G.prototype,{DOCUMENT_POSITION_CONTAINED_BY:q,DOCUMENT_POSITION_CONTAINS:X,DOCUMENT_POSITION_PRECEDING:Y,DOCUMENT_POSITION_FOLLOWING:V,ELEMENT_NODE:z,TEXT_NODE:J,CDATA_SECTION_NODE:Q,PROCESSING_INSTRUCTION_NODE:Z,COMMENT_NODE:ee,DOCUMENT_FRAGMENT_NODE:te}=G,{appendChild:ne,cloneNode:le,compareDocumentPosition:oe,insertBefore:re,removeChild:ie,replaceChild:ae,hasChildNodes:ce}=K,{contains:ue}=HTMLElement.prototype,se=r(K,"firstChild").get,fe=r(K,"lastChild").get,he=r(K,"textContent").get,pe=r(K,"parentNode").get,ge=r(K,"ownerDocument").get,me=c.call(K,"parentElement")?r(K,"parentElement").get:r(HTMLElement.prototype,"parentElement").get,de=r(K,"textContent").set,be=c.call(K,"childNodes")?r(K,"childNodes").get:r(HTMLElement.prototype,"childNodes").get,Ee=c.call(K,"isConnected")?r(K,"isConnected").get:function(){const e=ge.call(this);return null===e||0!=(oe.call(e,this)&q)},{getAttribute:ye,getBoundingClientRect:we,getElementsByTagName:Te,getElementsByTagNameNS:ve,hasAttribute:Ne,querySelector:Le,querySelectorAll:Me,removeAttribute:Ce,setAttribute:Se}=Element.prototype,Oe=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")},He=r(Element.prototype,"childElementCount").get,_e=r(Element.prototype,"firstElementChild").get,Ae=r(Element.prototype,"lastElementChild").get,Re=r(HTMLElement.prototype,"innerText"),$e=Re?Re.get:null,Pe=Re?Re.set:null,De=r(HTMLElement.prototype,"outerText"),Ie=De?De.get:null,Be=De?De.set:null,ke=c.call(Element.prototype,"innerHTML")?r(Element.prototype,"innerHTML"):r(HTMLElement.prototype,"innerHTML"),xe=ke.get,Fe=ke.set,We=c.call(Element.prototype,"outerHTML")?r(Element.prototype,"outerHTML"):r(HTMLElement.prototype,"outerHTML"),Ue=We.get,je=We.set,Ge=r(Element.prototype,"tagName").get,Ke=r(HTMLElement.prototype,"tabIndex"),qe=Ke.get,Xe=Ke.set,Ye=c.call(Element.prototype,"matches")?Element.prototype.matches:Element.prototype.msMatchesSelector,Ve=c.call(Element.prototype,"children")?r(Element.prototype,"children").get:r(HTMLElement.prototype,"children").get,{getElementsByClassName:ze}=HTMLElement.prototype,Je=c.call(Element.prototype,"shadowRoot")?r(Element.prototype,"shadowRoot").get:()=>null,Qe=c.call(Element.prototype,"assignedSlot")?r(Element.prototype,"assignedSlot").get:()=>null;let Ze,et;"undefined"!=typeof HTMLSlotElement?(Ze=HTMLSlotElement.prototype.assignedNodes,et=HTMLSlotElement.prototype.assignedElements):(Ze=()=>{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")},et=()=>{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 tt=r(Event.prototype,"target").get,nt=r(Event.prototype,"currentTarget").get,lt=r(FocusEvent.prototype,"relatedTarget").get,ot=c.call(Event.prototype,"composedPath")?Event.prototype.composedPath:()=>[],rt=r(Document.prototype,"activeElement").get,it=c.call(Document.prototype,"elementFromPoint")?Document.prototype.elementFromPoint:Document.prototype.msElementFromPoint,at=c.call(Document.prototype,"elementsFromPoint")?Document.prototype.elementsFromPoint:Document.prototype.msElementsFromPoint,ct=r(Document.prototype,"defaultView").get,{createComment:ut,querySelectorAll:st,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=!I(vt),Lt=I(vt)?()=>!1:e=>e instanceof vt;const{createElement:Mt}=Document.prototype;function Ct(e){const t=ge.call(e);return null===t?e:t}function St(e){const t=Ct(e),n=ct.call(t);if(null===n)throw new TypeError;return n}let Ot;function Ht(e){if(D(Ot)){const t=Ct(e);Ot=t.body&&"temporary-bypass"===ye.call(t.body,"data-global-patching-bypass")}return B(Ot)}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{}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,C.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 At="undefined"!=typeof EventTarget?EventTarget.prototype:G.prototype,{addEventListener:Rt,dispatchEvent:$t,removeEventListener:Pt}=At;W.lwcRuntimeFlags||Object.defineProperty(W,"lwcRuntimeFlags",{value:t(null)});const Dt=W.lwcRuntimeFlags,It="$$HostElementKey$$",Bt="$$ShadowedNodeKey$$";function kt(e,t,n){const l=e;{const{value:e}=n;l[t]=e}}function xt(e){return e[It]}function Ft(e){let t,n=e;for(;!I(n);){if(t=xt(n),!D(t))return t;if(n=pe.call(n),Dt.ENABLE_LIGHT_GET_ROOT_NODE_PATCH&&!I(n)&&qt(n))return}}function Wt(e){return e[Bt]}function Ut(e){return!D(xt(e))}function jt(e){let t=me.call(e);for(;!I(t)&&Xt(t);)e=t,t=me.call(e);return e}function Gt(e,t){const n=Wt(e);let l=t instanceof Element?t:me.call(t);for(;!I(l)&&l!==e;){const t=Ft(l),o=me.call(l);if(t===n)return Xt(l);if(o===e)return!1;if(I(o)||Ft(o)===t)l=o;else{if(!Xt(o))return!1;if(l=Kt(jt(o)),!I(l)){if(l===e)return!0;if(Ft(l)===n)return!0}}}return!1}function Kt(e){if(!(e instanceof G))return null;const t=Ft(e);if(D(t))return null;let n=e;for(;!I(n)&&Wt(n)!==t;)n=pe.call(n);return I(n)?null:n}function qt(e){return Xt(e)&&Ut(e)}function Xt(e){return e instanceof HTMLSlotElement}function Yt(e,t){const n=Ft(t);if(D(n)){if(Dt.ENABLE_LIGHT_GET_ROOT_NODE_PATCH){const e=pe.call(t);if(!I(e)&&qt(e))return!1}return!0}return Wt(e)===n}function Vt(e){const t=rl(e);return Qt(t,_t(be.call(t)))}function zt(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];!Yt(e,o)&&Gt(e,o)&&v.call(n,o)}return n}function Jt(e,t){for(let n=0,l=t.length;n<l;n+=1){const l=t[n];if(!Yt(e,l)&&Gt(e,l))return l}return null}function Qt(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];Yt(e,o)&&v.call(n,o)}return n}function Zt(e,t){for(let n=0,l=t.length;n<l;n+=1)if(Yt(e,t[n]))return t[n];return null}function en(e){if(!al(e)&&!Xt(e)){return _t(be.call(e))}if(al(e)){const t=_t(Me.call(e,"slot")),n=nl(il(e));return N.call(t,((e,t)=>(n===nl(t)&&v.apply(e,tn(t)),e)),[])}{const t=_t(be.call(e)),n=nl(e);return d.call(t,(e=>n===nl(e)))}}function tn(e){const t=Kt(e);if(I(t))return[];const n=_t(be.call(e));return d.call(n,(e=>!Ut(e)||!Yt(t,e)))}const nn=/[&\u00A0"]/g,ln=/[&\u00A0<>]/g,{replace:on,toLowerCase:rn}=String.prototype;function an(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" ";default:return""}}function cn(e){return on.call(e,nn,an)}const un=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 fn(e){switch(e.nodeType){case z:{const{attributes:t}=e,n=Ge.call(e);let l="<"+rn.call(n);for(let e,n=0;e=t[n];n++)l+=" "+e.name+'="'+cn(e.value)+'"';return l+=">",un.has(n)?l:l+function(e){let t="";const n=en(e);for(let e=0,l=n.length;e<l;e+=1)t+=fn(n[e]);return t}(e)+"</"+rn.call(n)+">"}case J:{const{data:n,parentNode:l}=e;return l instanceof Element&&sn.has(Ge.call(l))?n:(t=n,on.call(t,ln,an))}case Q:return`<!CDATA[[${e.data}]]>`;case Z:return`<?${e.target} ${e.data}?>`;case ee:return`\x3c!--${e.data}--\x3e`;default:return""}var t}function hn(e){if(e.nodeType===z){const t=en(e);let n="";for(let e=0,l=t.length;e<l;e+=1){const l=t[e];l.nodeType!==ee&&(n+=hn(l))}return n}return e.nodeValue}const pn=new WeakMap;function gn(){throw new TypeError("Illegal constructor")}function mn(e){const n=t(gn.prototype);return pn.set(n,e),_.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}gn.prototype=t(NodeList.prototype,{constructor:{writable:!0,configurable:!0,value:gn},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return pn.get(this).length}},forEach:{writable:!0,enumerable:!0,configurable:!0,value(e,t){_.call(pn.get(this),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value(){return w.call(pn.get(this),((e,t)=>[t,e]))}},keys:{writable:!0,enumerable:!0,configurable:!0,value(){return w.call(pn.get(this),((e,t)=>t))}},values:{writable:!0,enumerable:!0,configurable:!0,value(){return pn.get(this)}},[Symbol.iterator]:{writable:!0,configurable:!0,value(){let e=0;return{next:()=>{const t=pn.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(gn,NodeList);const dn=(e,t)=>{let n;for(;!D(n=e.host);){const l=n.getRootNode();if(l===t)return n;e=l}};function bn(e,t,n,l){const o=at.call(t,n,l),r=[],i=function(e){var t;const n=[];let l=e.getRootNode();for(;!D(l);)n.push(l),l=null===(t=l.host)||void 0===t?void 0:t.getRootNode();return n}(e);if(!I(o))for(let e=0;e<o.length;e++){const t=o[e];if(qt(t))continue;const n=t.getRootNode();if(-1!==E.call(i,n)){v.call(r,t);continue}const l=dn(n,i[0]);D(l)||-1!==E.call(o,l)||-1!==E.call(r,l)||v.call(r,l)}return r}const En=new WeakMap;function yn(){throw new TypeError("Illegal constructor")}function wn(e){const n=t(yn.prototype);return En.set(n,e),_.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}function Tn(e){return qt(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(!I(n)&&Xt(t)){const e=Kt(t);if(!I(e)&&Yt(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=pe.call(this);return I(e)?e:vn(this,e)}function On(){const e=pe.call(this);if(I(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:oe.call(this,e)}function _n(e){return null!=e&&xt(this)===xt(e)&&0!=(oe.call(this,e)&q)}function An(e){const t=le.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 mn(I(e)?[]:Qt(e,en(this)))}return be.call(this)}yn.prototype=t(HTMLCollection.prototype,{constructor:{writable:!0,configurable:!0,value:yn},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return En.get(this).length}},namedItem:{writable:!0,enumerable:!0,configurable:!0,value(e){if(""===e)return null;const t=En.get(this);for(let n=0,l=t.length;n<l;n++){const n=t[l];if(e===ye.call(n,"id")||e===ye.call(n,"name"))return n}return null}},[Symbol.toStringTag]:{configurable:!0,get:()=>"HTMLCollection"},toString:{writable:!0,configurable:!0,value:()=>"[object HTMLCollection]"}}),h(yn,HTMLCollection);const $n=G.prototype.getRootNode,Pn=D($n)?function(){let e,t=this;for(;!I(e=pe.call(t));)t=e;return t}:$n;n(G.prototype,{firstChild:{get(){return Tn(this)?Ln.call(this):se.call(this)},enumerable:!0,configurable:!0},lastChild:{get(){return Tn(this)?Mn.call(this):fe.call(this)},enumerable:!0,configurable:!0},textContent:{get(){return Dt.ENABLE_NODE_PATCH?Ht(this)?he.call(this):Cn.call(this):Ut(this)||al(this)?Cn.call(this):he.call(this)},set:function(e){de.call(this,e)},enumerable:!0,configurable:!0},parentNode:{get(){if(Ut(this))return Sn.call(this);const e=pe.call(this);return!I(e)&&qt(e)?Kt(e):e},enumerable:!0,configurable:!0},parentElement:{get(){if(Ut(this))return On.call(this);const e=me.call(this);return!I(e)&&qt(e)?Kt(e):e},enumerable:!0,configurable:!0},childNodes:{get(){return Tn(this)?Rn.call(this):be.call(this)},enumerable:!0,configurable:!0},hasChildNodes:{value(){return Tn(this)?Nn.call(this):ce.call(this)},enumerable:!0,writable:!0,configurable:!0},compareDocumentPosition:{value(e){return Ht(this)?oe.call(this,e):Hn.call(this,e)},enumerable:!0,writable:!0,configurable:!0},contains:{value(e){return this===e||(Dt.ENABLE_NODE_PATCH?Ht(this)?ue.call(this,e):_n.call(this,e):null!=e&&(Ut(this)||al(this)?_n.call(this,e):ue.call(this,e)))},enumerable:!0,writable:!0,configurable:!0},cloneNode:{value(e){return Dt.ENABLE_NODE_PATCH?B(e)?Ht(this)?le.call(this,e):An.call(this,e):le.call(this,e):Ut(this)||al(this)?An.call(this,e):le.call(this,e)},enumerable:!0,writable:!0,configurable:!0},getRootNode:{value:function(e){return B(!D(e)&&!!e.composed)?Pn.call(this,e):function(e){const t=Kt(e);return I(t)?Pn.call(e):il(t)}(this)},enumerable:!0,configurable:!0,writable:!0},isConnected:{enumerable:!0,configurable:!0,get(){return Ee.call(this)}}});const Dn=function(e){return e.childNodes};c.call(HTMLElement.prototype,"contains")&&l(HTMLElement.prototype,"contains",r(G.prototype,"contains")),c.call(HTMLElement.prototype,"parentElement")&&l(HTMLElement.prototype,"parentElement",r(G.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 D(l)&&(l=e.composedPath(),Bn.set(e,l)),l.includes(n)}function xn(e){if(!function(e){return x(e)||F(e)&&!I(e)&&x(e.handleEvent)}(e))return e;let t=In.get(e);return D(t)&&(t=function(t){const n=nt.call(t);if(kn(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 D(n)&&(n=t(null),Wn.set(e,n)),n}function jn(e){var t;return null!==(t=pl.get(e))&&void 0!==t?t:tt.call(e)}const Gn=new WeakMap;function Kn(e){if(!x(e))throw new TypeError;let t=Gn.get(e);return D(t)&&(t=function(t){let n=nt.call(t);Lt(n)||(n=il(n));kn(t,jn(t),n)&&e.call(n,t)},t.placement=1,Gn.set(e,t)),t}const qn=new WeakMap;function Xn(e){if(!x(e))throw new TypeError;let t=qn.get(e);return D(t)&&(t=function(t){const n=nt.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(nt.call(e))[o];l(e,"stopImmediatePropagation",{value(){t=!0,r.call(e)},writable:!0,enumerable:!0,configurable:!0}),l(e,"stopPropagation",{value(){n=!0,i.call(e)},writable:!0,enumerable:!0,configurable:!0});const c=C.call(a);function u(n){_.call(c,(l=>{k(t)&&l.placement===n&&-1!==E.call(a,l)&&l.call(void 0,e)}))}Fn.set(e,1),u(1),k(t)&&k(n)&&(Fn.set(e,0),u(0)),Fn.set(e,2)}function Vn(e,t,n){const l=Un(e);let o=l[t];D(o)&&(o=l[t]=[]),-1===E.call(o,n)&&(0===o.length&&Rt.call(e,t,Yn),v.call(o,n))}function zn(e,t,n){let l,o;D(o=Un(e)[t])||-1===(l=E.call(o,n))||(O.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(D(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!D(t)&&e===t.host}function cl(e){const t=Zn.get(e);return!D(t)&&e===t.shadowRoot}l(G.prototype,U,{set(e){var t,n;D(e)||(this.$$ShadowResolverKey$$=e,t=this,n=e.nodeKey,kt(t,It,{value:n,configurable:!0}))},get(){return this.$$ShadowResolverKey$$},configurable:!0,enumerable:!0}),l(W,"$isNativeShadowRootDefined$",{value:Nt});let ul=0;function sl(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=ul++;return kt(e,Bt,{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=rt.call(t);if(I(n))return n;if(0==(oe.call(e,n)&q))return null;let l=n;for(;!Yt(e,l);)l=me.call(l);return Xt(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 bn(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 re.call(rl(this),e,t),e}},removeChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return ie.call(rl(this),e),e}},appendChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return ne.call(rl(this),e),e}},replaceChild:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return ae.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,Kn(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,Kn(n))}(this,e,t)}},baseURI:{enumerable:!0,configurable:!0,get(){return rl(this).baseURI}},childNodes:{enumerable:!0,configurable:!0,get(){return mn(Vt(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:oe.call(t,e)&q?37:35}},contains:{writable:!0,enumerable:!0,configurable:!0,value(e){if(this===e)return!0;const t=rl(this);return 0!=(oe.call(t,e)&q)&&Yt(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 Ee.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!==ee&&(t+=hn(l))}return t},set(e){const t=rl(this);de.call(t,e)}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value(e){return!D(e)&&B(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 G))return n;l=e.getRootNode()}let o,r=e;for(;!I(r);)if(n.push(r),r instanceof Element||r instanceof Text){const e=r.assignedSlot;r=I(e)?r.parentNode:e}else r=!cl(r)&&!Lt(r)||!t&&r===l?r instanceof G?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:u,keys:s,seal:f,setPrototypeOf:h}=Object,{concat:p,copyWithin:g,fill:m,filter:d,find:b,indexOf:E,join:y,map:w,pop:T,push:v,reduce:N,reverse:L,shift:M,slice:C,some:S,sort:O,splice:H,unshift:_,forEach:A}=Array.prototype,{charCodeAt:R,replace:$,slice:P,toLowerCase:D}=String.prototype;function I(e){return void 0===e}function B(e){return null===e}function k(e){return!0===e}function x(e){return!1===e}function F(e){return"function"==typeof e}function W(e){return"object"==typeof e}const U=function(){if("object"==typeof globalThis)return globalThis;let e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),j="$shadowResolver$",G="$shadowToken$",K=Node,q=K.prototype,{DOCUMENT_POSITION_CONTAINED_BY:X,DOCUMENT_POSITION_CONTAINS:Y,DOCUMENT_POSITION_PRECEDING:V,DOCUMENT_POSITION_FOLLOWING:z,ELEMENT_NODE:J,TEXT_NODE:Q,CDATA_SECTION_NODE:Z,PROCESSING_INSTRUCTION_NODE:ee,COMMENT_NODE:te,DOCUMENT_FRAGMENT_NODE:ne}=K,{appendChild:le,cloneNode:oe,compareDocumentPosition:re,insertBefore:ie,removeChild:ae,replaceChild:ce,hasChildNodes:ue}=q,{contains:se}=HTMLElement.prototype,fe=r(q,"firstChild").get,he=r(q,"lastChild").get,pe=r(q,"textContent").get,ge=r(q,"parentNode").get,me=r(q,"ownerDocument").get,de=c.call(q,"parentElement")?r(q,"parentElement").get:r(HTMLElement.prototype,"parentElement").get,be=r(q,"textContent").set,Ee=c.call(q,"childNodes")?r(q,"childNodes").get:r(HTMLElement.prototype,"childNodes").get,ye=c.call(q,"isConnected")?r(q,"isConnected").get:function(){const e=me.call(this);return null===e||0!=(re.call(e,this)&X)},{getAttribute:we,getBoundingClientRect:Te,getElementsByTagName:ve,getElementsByTagNameNS:Ne,hasAttribute:Le,querySelector:Me,querySelectorAll:Ce,removeAttribute:Se,setAttribute:Oe}=Element.prototype,He=c.call(Element.prototype,"attachShadow")?Element.prototype.attachShadow:()=>{throw new TypeError("attachShadow() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill and use Lightning Web Components")},_e=r(Element.prototype,"childElementCount").get,Ae=r(Element.prototype,"firstElementChild").get,Re=r(Element.prototype,"lastElementChild").get,$e=r(HTMLElement.prototype,"innerText"),Pe=$e?$e.get:null,De=$e?$e.set:null,Ie=r(HTMLElement.prototype,"outerText"),Be=Ie?Ie.get:null,ke=Ie?Ie.set:null,xe=c.call(Element.prototype,"innerHTML")?r(Element.prototype,"innerHTML"):r(HTMLElement.prototype,"innerHTML"),Fe=xe.get,We=xe.set,Ue=c.call(Element.prototype,"outerHTML")?r(Element.prototype,"outerHTML"):r(HTMLElement.prototype,"outerHTML"),je=Ue.get,Ge=Ue.set,Ke=r(Element.prototype,"tagName").get,qe=r(HTMLElement.prototype,"tabIndex"),Xe=qe.get,Ye=qe.set,Ve=c.call(Element.prototype,"matches")?Element.prototype.matches:Element.prototype.msMatchesSelector,ze=c.call(Element.prototype,"children")?r(Element.prototype,"children").get:r(HTMLElement.prototype,"children").get,{getElementsByClassName:Je}=HTMLElement.prototype,Qe=c.call(Element.prototype,"shadowRoot")?r(Element.prototype,"shadowRoot").get:()=>null,Ze=c.call(Element.prototype,"assignedSlot")?r(Element.prototype,"assignedSlot").get:()=>null;let et,tt;"undefined"!=typeof HTMLSlotElement?(et=HTMLSlotElement.prototype.assignedNodes,tt=HTMLSlotElement.prototype.assignedElements):(et=()=>{throw new TypeError("assignedNodes() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill to start using <slot> elements in your Lightning Web Component's template")},tt=()=>{throw new TypeError("assignedElements() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill to start using <slot> elements in your Lightning Web Component's template")});const nt=r(Event.prototype,"target").get,lt=r(Event.prototype,"currentTarget").get,ot=r(FocusEvent.prototype,"relatedTarget").get,rt=c.call(Event.prototype,"composedPath")?Event.prototype.composedPath:()=>[],it=r(Document.prototype,"activeElement").get,at=c.call(Document.prototype,"elementFromPoint")?Document.prototype.elementFromPoint:Document.prototype.msElementFromPoint,ct=c.call(Document.prototype,"elementsFromPoint")?Document.prototype.elementsFromPoint:Document.prototype.msElementsFromPoint,ut=r(Document.prototype,"defaultView").get,{createComment:st,querySelectorAll:ft,getElementById:ht,getElementsByClassName:pt,getElementsByTagName:gt,getElementsByTagNameNS:mt}=Document.prototype,{getElementsByName:dt}=HTMLDocument.prototype,{addEventListener:bt,removeEventListener:Et,getComputedStyle:yt,getSelection:wt}=window,Tt=MutationObserver,vt=Tt.prototype.observe;let Nt=null;"undefined"!=typeof ShadowRoot&&(Nt=ShadowRoot);const Lt=!B(Nt),Mt=B(Nt)?()=>!1:e=>e instanceof Nt;const{createElement:Ct}=Document.prototype;function St(e){const t=me.call(e);return null===t?e:t}function Ot(e){const t=St(e),n=ut.call(t);if(null===n)throw new TypeError;return n}let Ht;function _t(e){if(I(Ht)){const t=St(e);Ht=t.body&&"temporary-bypass"===we.call(t.body,"data-global-patching-bypass")}return k(Ht)}function At(e){const t=e.length,n=[];if(t>0)for(let l=0;l<t;l++)n[l]=e[l];return n}"undefined"==typeof HTMLSlotElement&&function(){class e{}h(e,HTMLElement.constructor),h(e.prototype,HTMLElement.prototype),Window.prototype.HTMLSlotElement=e,l(Document.prototype,"createElement",{value:function(t,n){const l=Ct.apply(this,C.call(arguments));return 4===t.length&&115===R.call(t,0)&&108===R.call(t,1)&&111===R.call(t,2)&&116===R.call(t,3)&&h(l,e.prototype),l}})}();const Rt="undefined"!=typeof EventTarget?EventTarget.prototype:K.prototype,{addEventListener:$t,dispatchEvent:Pt,removeEventListener:Dt}=Rt;U.lwcRuntimeFlags||Object.defineProperty(U,"lwcRuntimeFlags",{value:t(null)});const It=U.lwcRuntimeFlags,Bt="$$HostElementKey$$",kt="$$ShadowedNodeKey$$";function xt(e,t,n){const l=e;{const{value:e}=n;l[t]=e}}function Ft(e){return e[Bt]}function Wt(e){let t,n=e;for(;!B(n);){if(t=Ft(n),!I(t))return t;if(n=ge.call(n),It.ENABLE_LIGHT_GET_ROOT_NODE_PATCH&&!B(n)&&Xt(n))return}}function Ut(e){return e[kt]}function jt(e){return!I(Ft(e))}function Gt(e){let t=de.call(e);for(;!B(t)&&Yt(t);)e=t,t=de.call(e);return e}function Kt(e,t){const n=Ut(e);let l=t instanceof Element?t:de.call(t);for(;!B(l)&&l!==e;){const t=Wt(l),o=de.call(l);if(t===n)return Yt(l);if(o===e)return!1;if(B(o)||Wt(o)===t)l=o;else{if(!Yt(o))return!1;if(l=qt(Gt(o)),!B(l)){if(l===e)return!0;if(Wt(l)===n)return!0}}}return!1}function qt(e){if(!(e instanceof K))return null;const t=Wt(e);if(I(t))return null;let n=e;for(;!B(n)&&Ut(n)!==t;)n=ge.call(n);return B(n)?null:n}function Xt(e){return Yt(e)&&jt(e)}function Yt(e){return e instanceof HTMLSlotElement}function Vt(e,t){const n=Wt(t);if(I(n)){if(It.ENABLE_LIGHT_GET_ROOT_NODE_PATCH){const e=ge.call(t);if(!B(e)&&Xt(e))return!1}return!0}return Ut(e)===n}function zt(e){const t=il(e);return Zt(t,At(Ee.call(t)))}function Jt(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];!Vt(e,o)&&Kt(e,o)&&v.call(n,o)}return n}function Qt(e,t){for(let n=0,l=t.length;n<l;n+=1){const l=t[n];if(!Vt(e,l)&&Kt(e,l))return l}return null}function Zt(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];Vt(e,o)&&v.call(n,o)}return n}function en(e,t){for(let n=0,l=t.length;n<l;n+=1)if(Vt(e,t[n]))return t[n];return null}function tn(e){if(!cl(e)&&!Yt(e)){return At(Ee.call(e))}if(cl(e)){const t=At(Ce.call(e,"slot")),n=ll(al(e));return N.call(t,((e,t)=>(n===ll(t)&&v.apply(e,nn(t)),e)),[])}{const t=At(Ee.call(e)),n=ll(e);return d.call(t,(e=>n===ll(e)))}}function nn(e){const t=qt(e);if(B(t))return[];const n=At(Ee.call(e));return d.call(n,(e=>!jt(e)||!Vt(t,e)))}const ln=/[&\u00A0"]/g,on=/[&\u00A0<>]/g,{replace:rn,toLowerCase:an}=String.prototype;function cn(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" ";default:return""}}function un(e){return rn.call(e,ln,cn)}const sn=new Set(["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"]),fn=new Set(["STYLE","SCRIPT","XMP","IFRAME","NOEMBED","NOFRAMES","PLAINTEXT","NOSCRIPT"]);function hn(e){switch(e.nodeType){case J:{const{attributes:t}=e,n=Ke.call(e);let l="<"+an.call(n);for(let e,n=0;e=t[n];n++)l+=" "+e.name+'="'+un(e.value)+'"';return l+=">",sn.has(n)?l:l+function(e){let t="";const n=tn(e);for(let e=0,l=n.length;e<l;e+=1)t+=hn(n[e]);return t}(e)+"</"+an.call(n)+">"}case Q:{const{data:n,parentNode:l}=e;return l instanceof Element&&fn.has(Ke.call(l))?n:(t=n,rn.call(t,on,cn))}case Z:return`<!CDATA[[${e.data}]]>`;case ee:return`<?${e.target} ${e.data}?>`;case te:return`\x3c!--${e.data}--\x3e`;default:return""}var t}function pn(e){if(e.nodeType===J){const t=tn(e);let n="";for(let e=0,l=t.length;e<l;e+=1){const l=t[e];l.nodeType!==te&&(n+=pn(l))}return n}return e.nodeValue}const gn=new WeakMap;function mn(){throw new TypeError("Illegal constructor")}function dn(e){const n=t(mn.prototype);return gn.set(n,e),A.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}mn.prototype=t(NodeList.prototype,{constructor:{writable:!0,configurable:!0,value:mn},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return gn.get(this).length}},forEach:{writable:!0,enumerable:!0,configurable:!0,value(e,t){A.call(gn.get(this),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value(){return w.call(gn.get(this),((e,t)=>[t,e]))}},keys:{writable:!0,enumerable:!0,configurable:!0,value(){return w.call(gn.get(this),((e,t)=>t))}},values:{writable:!0,enumerable:!0,configurable:!0,value(){return gn.get(this)}},[Symbol.iterator]:{writable:!0,configurable:!0,value(){let e=0;return{next:()=>{const t=gn.get(this);return e<t.length?{value:t[e++],done:!1}:{done:!0}}}}},[Symbol.toStringTag]:{configurable:!0,get:()=>"NodeList"},toString:{writable:!0,configurable:!0,value:()=>"[object NodeList]"}}),h(mn,NodeList);const bn=(e,t)=>{let n;for(;!I(n=e.host);){const l=n.getRootNode();if(l===t)return n;e=l}};function En(e,t,n,l){const o=ct.call(t,n,l),r=[],i=function(e){var t;const n=[];let l=e.getRootNode();for(;!I(l);)n.push(l),l=null===(t=l.host)||void 0===t?void 0:t.getRootNode();return n}(e);if(!B(o))for(let e=0;e<o.length;e++){const t=o[e];if(Xt(t))continue;const n=t.getRootNode();if(-1!==E.call(i,n)){v.call(r,t);continue}const l=bn(n,i[0]);I(l)||-1!==E.call(o,l)||-1!==E.call(r,l)||v.call(r,l)}return r}const yn=new WeakMap;function wn(){throw new TypeError("Illegal constructor")}function Tn(e){const n=t(wn.prototype);return yn.set(n,e),A.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}function vn(e){return Xt(e)||cl(e)}function Nn(e,t){const n=qt(e);if(t===n)return al(n);if(t instanceof Element){if(Wt(e)===Wt(t))return t;if(!B(n)&&Yt(t)){const e=qt(t);if(!B(e)&&Vt(n,e))return e}}return null}function Ln(){return In(this).length>0}function Mn(){return In(this)[0]||null}function Cn(){const e=In(this);return e[e.length-1]||null}function Sn(){return pn(this)}function On(){const e=ge.call(this);return B(e)?e:Nn(this,e)}function Hn(){const e=ge.call(this);if(B(e))return null;const t=Nn(this,e);return t instanceof Element?t:null}function _n(e){return this===e?0:this.getRootNode()===e?10:Ft(this)!==Ft(e)?35:re.call(this,e)}function An(e){return null!=e&&Ft(this)===Ft(e)&&0!=(re.call(this,e)&X)}function Rn(e){const t=oe.call(this,!1);if(!e)return t;const n=In(this);for(let e=0,l=n.length;e<l;e+=1)t.appendChild(n[e].cloneNode(!0));return t}function $n(){if(cl(this)){const e=qt(this);return dn(B(e)?[]:Zt(e,tn(this)))}return Ee.call(this)}wn.prototype=t(HTMLCollection.prototype,{constructor:{writable:!0,configurable:!0,value:wn},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return yn.get(this).length}},namedItem:{writable:!0,enumerable:!0,configurable:!0,value(e){if(""===e)return null;const t=yn.get(this);for(let n=0,l=t.length;n<l;n++){const n=t[l];if(e===we.call(n,"id")||e===we.call(n,"name"))return n}return null}},[Symbol.toStringTag]:{configurable:!0,get:()=>"HTMLCollection"},toString:{writable:!0,configurable:!0,value:()=>"[object HTMLCollection]"}}),h(wn,HTMLCollection);const Pn=K.prototype.getRootNode,Dn=I(Pn)?function(){let e,t=this;for(;!B(e=ge.call(t));)t=e;return t}:Pn;n(K.prototype,{firstChild:{get(){return vn(this)?Mn.call(this):fe.call(this)},enumerable:!0,configurable:!0},lastChild:{get(){return vn(this)?Cn.call(this):he.call(this)},enumerable:!0,configurable:!0},textContent:{get(){return It.ENABLE_NODE_PATCH?_t(this)?pe.call(this):Sn.call(this):jt(this)||cl(this)?Sn.call(this):pe.call(this)},set:function(e){be.call(this,e)},enumerable:!0,configurable:!0},parentNode:{get(){if(jt(this))return On.call(this);const e=ge.call(this);return!B(e)&&Xt(e)?qt(e):e},enumerable:!0,configurable:!0},parentElement:{get(){if(jt(this))return Hn.call(this);const e=de.call(this);return!B(e)&&Xt(e)?qt(e):e},enumerable:!0,configurable:!0},childNodes:{get(){return vn(this)?$n.call(this):Ee.call(this)},enumerable:!0,configurable:!0},hasChildNodes:{value(){return vn(this)?Ln.call(this):ue.call(this)},enumerable:!0,writable:!0,configurable:!0},compareDocumentPosition:{value(e){return _t(this)?re.call(this,e):_n.call(this,e)},enumerable:!0,writable:!0,configurable:!0},contains:{value(e){return this===e||(It.ENABLE_NODE_PATCH?_t(this)?se.call(this,e):An.call(this,e):null!=e&&(jt(this)||cl(this)?An.call(this,e):se.call(this,e)))},enumerable:!0,writable:!0,configurable:!0},cloneNode:{value(e){return It.ENABLE_NODE_PATCH?k(e)?_t(this)?oe.call(this,e):Rn.call(this,e):oe.call(this,e):jt(this)||cl(this)?Rn.call(this,e):oe.call(this,e)},enumerable:!0,writable:!0,configurable:!0},getRootNode:{value:function(e){return k(!I(e)&&!!e.composed)?Dn.call(this,e):function(e){const t=qt(e);return B(t)?Dn.call(e):al(t)}(this)},enumerable:!0,configurable:!0,writable:!0},isConnected:{enumerable:!0,configurable:!0,get(){return ye.call(this)}}});const In=function(e){return e.childNodes};c.call(HTMLElement.prototype,"contains")&&l(HTMLElement.prototype,"contains",r(K.prototype,"contains")),c.call(HTMLElement.prototype,"parentElement")&&l(HTMLElement.prototype,"parentElement",r(K.prototype,"parentElement"));const Bn=new WeakMap,kn=new WeakMap;function xn(e,t,n){if(t===n)return!0;let l=kn.get(e);return I(l)&&(l=e.composedPath(),kn.set(e,l)),l.includes(n)}function Fn(e){if(!function(e){return F(e)||W(e)&&!B(e)&&F(e.handleEvent)}(e))return e;let t=Bn.get(e);return I(t)&&(t=function(t){const n=lt.call(t);if(xn(t,Gn(t),n))return F(e)?e.call(this,t):e.handleEvent&&e.handleEvent(t)},Bn.set(e,t)),t}const Wn=new WeakMap,Un=new WeakMap;function jn(e){let n=Un.get(e);return I(n)&&(n=t(null),Un.set(e,n)),n}function Gn(e){var t;return null!==(t=gl.get(e))&&void 0!==t?t:nt.call(e)}const Kn=new WeakMap;function qn(e){if(!F(e))throw new TypeError;let t=Kn.get(e);return I(t)&&(t=function(t){let n=lt.call(t);Mt(n)||(n=al(n));xn(t,Gn(t),n)&&e.call(n,t)},t.placement=1,Kn.set(e,t)),t}const Xn=new WeakMap;function Yn(e){if(!F(e))throw new TypeError;let t=Xn.get(e);return I(t)&&(t=function(t){const n=lt.call(t);xn(t,Gn(t),n)&&e.call(n,t)},t.placement=0,Xn.set(e,t)),t}function Vn(e){let t=!1,n=!1;const{type:o,stopImmediatePropagation:r,stopPropagation:i}=e,a=jn(lt.call(e))[o];l(e,"stopImmediatePropagation",{value(){t=!0,r.call(e)},writable:!0,enumerable:!0,configurable:!0}),l(e,"stopPropagation",{value(){n=!0,i.call(e)},writable:!0,enumerable:!0,configurable:!0});const c=C.call(a);function u(n){A.call(c,(l=>{x(t)&&l.placement===n&&-1!==E.call(a,l)&&l.call(void 0,e)}))}Wn.set(e,1),u(1),x(t)&&x(n)&&(Wn.set(e,0),u(0)),Wn.set(e,2)}function zn(e,t,n){const l=jn(e);let o=l[t];I(o)&&(o=l[t]=[]),-1===E.call(o,n)&&(0===o.length&&$t.call(e,t,Vn),v.call(o,n))}function Jn(e,t,n){let l,o;I(o=jn(e)[t])||-1===(l=E.call(o,n))||(H.call(o,l,1),0===o.length&&Dt.call(e,t,Vn))}function Qn(e,t,n){if(F(t)){zn(this,e,Yn(t))}}function Zn(e,t,n){if(F(t)){Jn(this,e,Yn(t))}}const el=new WeakMap,{createDocumentFragment:tl}=document;function nl(e){const t=el.get(e);if(I(t))throw new TypeError;return t}function ll(e){return e.$shadowResolver$}function ol(e,t){e.$shadowResolver$=t}function rl(e){return nl(e).delegatesFocus}function il(e){return nl(e).host}function al(e){return nl(e).shadowRoot}function cl(e){const t=el.get(e);return!I(t)&&e===t.host}function ul(e){const t=el.get(e);return!I(t)&&e===t.shadowRoot}l(K.prototype,j,{set(e){var t,n;I(e)||(this.$$ShadowResolverKey$$=e,t=this,n=e.nodeKey,xt(t,Bt,{value:n,configurable:!0}))},get(){return this.$$ShadowResolverKey$$},configurable:!0,enumerable:!0}),l(U,"$isNativeShadowRootDefined$",{value:Lt});let sl=0;function fl(e,t){if(el.has(e))throw new Error("Failed to execute 'attachShadow' on 'Element': Shadow root cannot be created on a host which already hosts a shadow tree.");const{mode:n,delegatesFocus:l}=t,o=St(e),r=tl.call(o),i={mode:n,delegatesFocus:!!l,host:e,shadowRoot:r};el.set(r,i),el.set(e,i);const a=()=>r,c=a.nodeKey=sl++;return xt(e,kt,{value:c}),ol(r,a),h(r,dl.prototype),r}const hl={constructor:{writable:!0,configurable:!0,value:dl},toString:{writable:!0,configurable:!0,value:()=>"[object ShadowRoot]"},synthetic:{writable:!1,enumerable:!1,configurable:!1,value:!0}},pl={activeElement:{enumerable:!0,configurable:!0,get(){const e=il(this),t=St(e),n=it.call(t);if(B(n))return n;if(0==(re.call(e,n)&X))return null;let l=n;for(;!Vt(e,l);)l=de.call(l);return Yt(l)?null:l}},delegatesFocus:{configurable:!0,get(){return nl(this).delegatesFocus}},elementFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return yl(this,St(il(this)),e,t)}},elementsFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return En(this,St(il(this)),e,t)}},getSelection:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error('Disallowed method "getSelection" on ShadowRoot.')}},host:{enumerable:!0,configurable:!0,get(){return il(this)}},mode:{configurable:!0,get(){return nl(this).mode}},styleSheets:{enumerable:!0,configurable:!0,get(){throw new Error}}},gl=new WeakMap,ml={insertBefore:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return ie.call(il(this),e,t),e}},removeChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return ae.call(il(this),e),e}},appendChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return le.call(il(this),e),e}},replaceChild:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return ce.call(il(this),e,t),t}},addEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,l){F(n)&&zn(il(e),t,qn(n))}(this,e,t)}},dispatchEvent:{writable:!0,enumerable:!0,configurable:!0,value(e){return gl.set(e,this),Pt.apply(il(this),arguments)}},removeEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,l){F(n)&&Jn(il(e),t,qn(n))}(this,e,t)}},baseURI:{enumerable:!0,configurable:!0,get(){return il(this).baseURI}},childNodes:{enumerable:!0,configurable:!0,get(){return dn(zt(this))}},cloneNode:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error('Disallowed method "cloneNode" on ShadowRoot.')}},compareDocumentPosition:{writable:!0,enumerable:!0,configurable:!0,value(e){const t=il(this);return this===e?0:this.contains(e)?20:re.call(t,e)&X?37:35}},contains:{writable:!0,enumerable:!0,configurable:!0,value(e){if(this===e)return!0;const t=il(this);return 0!=(re.call(t,e)&X)&&Vt(t,e)}},firstChild:{enumerable:!0,configurable:!0,get(){return In(this)[0]||null}},lastChild:{enumerable:!0,configurable:!0,get(){const e=In(this);return e[e.length-1]||null}},hasChildNodes:{writable:!0,enumerable:!0,configurable:!0,value(){return In(this).length>0}},isConnected:{enumerable:!0,configurable:!0,get(){return ye.call(il(this))}},nextSibling:{enumerable:!0,configurable:!0,get:()=>null},previousSibling:{enumerable:!0,configurable:!0,get:()=>null},nodeName:{enumerable:!0,configurable:!0,get:()=>"#document-fragment"},nodeType:{enumerable:!0,configurable:!0,get:()=>11},nodeValue:{enumerable:!0,configurable:!0,get:()=>null},ownerDocument:{enumerable:!0,configurable:!0,get(){return il(this).ownerDocument}},parentElement:{enumerable:!0,configurable:!0,get:()=>null},parentNode:{enumerable:!0,configurable:!0,get:()=>null},textContent:{enumerable:!0,configurable:!0,get(){const e=In(this);let t="";for(let n=0,l=e.length;n<l;n+=1){const l=e[n];l.nodeType!==te&&(t+=pn(l))}return t},set(e){const t=il(this);be.call(t,e)}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value(e){return!I(e)&&k(e.composed)?il(this).getRootNode(e):this}}};function dl(){throw new TypeError("Illegal constructor")}function bl(e,t){const n=[];let l;if(e instanceof Window)l=e;else{if(!(e instanceof K))return n;l=e.getRootNode()}let o,r=e;for(;!B(r);)if(n.push(r),r instanceof Element||r instanceof Text){const e=r.assignedSlot;r=B(e)?r.parentNode:e}else r=!ul(r)&&!Mt(r)||!t&&r===l?r instanceof K?r.parentNode:null:r.host;return o=e instanceof Window?e.document:St(e),n[n.length-1]===o&&n.push(window),n}
|
|
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(I(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)||!D(r)&&r>-1)return e;return null}function El(e,t,n,l){const o=it.call(t,n,l);return I(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 wn(d.call(Vt(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 Zt(n,_t(Me.call(n,t)))}(this,e)}},querySelectorAll:{writable:!0,enumerable:!0,configurable:!0,value(e){return mn(function(e,t){const n=rl(e);return Qt(n,_t(Me.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+=fn(e[n]);return t},set(e){const t=rl(this);Fe.call(t,e)}}},hl),ml.prototype=t(DocumentFragment.prototype,fl),l(ml,Symbol.hasInstance,{value:function(e){return F(e)&&!I(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 bn(this,this,e,t)},l(Document.prototype,"activeElement",{get(){let e=rt.call(this);if(I(e))return e;for(;!D(xt(e));)if(e=me.call(e),I(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,C.call(arguments));return I(e)?null:D(xt(e))||Ht(e)?e:null},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"querySelector",{value(){const e=_t(st.apply(this,C.call(arguments))),t=b.call(e,(e=>D(xt(e))||Ht(e)));return D(t)?null:t},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"querySelectorAll",{value(){const e=_t(st.apply(this,C.call(arguments)));return mn(d.call(e,(e=>D(xt(e))||Ht(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByClassName",{value(){const e=_t(ht.apply(this,C.call(arguments)));return wn(d.call(e,(e=>D(xt(e))||Ht(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByTagName",{value(){const e=_t(pt.apply(this,C.call(arguments)));return wn(d.call(e,(e=>D(xt(e))||Ht(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByTagNameNS",{value(){const e=_t(gt.apply(this,C.call(arguments)));return wn(d.call(e,(e=>D(xt(e))||Ht(e))))},writable:!0,enumerable:!0,configurable:!0}),l(r(HTMLDocument.prototype,"getElementsByName")?HTMLDocument.prototype:Document.prototype,"getElementsByName",{value(){const e=_t(mt.apply(this,C.call(arguments)));return mn(d.call(e,(e=>D(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}})}"undefined"!=typeof HTMLIFrameElement&&function(){const e=r(HTMLIFrameElement.prototype,"contentWindow"),{get:t}=e;e.get=function(){const e=t.call(this);return I(e)||D(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 _l(e){return e.$$lwcNodeObservers$$}function Al(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(;!I(n);){const t=_l(n);if(!D(t)&&(t[0]===e||-1!==E.call(t,e)))return!0;n=n.parentNode}return!1}function $l(e,t){return N.call(e,((e,n)=>{const{target:l,addedNodes:o,removedNodes:r,type:i}=n;if("childList"!==i||D(Wt(l)))Rl(t,l)&&v.call(e,n);else if(o.length>0){const r=o[0];if(Rl(t,r)){const o=_l(l);!o||o[0]!==t&&-1===E.call(o,t)?v.call(e,Al(n)):v.call(e,n)}}else{const o=l.shadowRoot,i=r[0];if(Ft(l)===Ft(i)&&Rl(t,l))v.call(e,n);else if(o){const l=_l(o);!l||l[0]!==t&&-1===E.call(l,t)||v.call(e,Al(n))}}return e}),[])}function Pl(e){const t=function(e){let t=e[Ol];return D(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=C.call(arguments);return e[1]=xn(e[1]),dt.apply(this,e)}return dt.apply(this,arguments)}function Il(e,t,n){if(arguments.length>1){const e=C.call(arguments);e[1]=xn(e[1]),bt.apply(this,e)}bt.apply(this,arguments)}function Bl(){const e=tt.call(this);if(!(e instanceof G))return e;const t=Ct(e),n=dl(e,this.composed),l=nt.call(this);if(!(l instanceof G))return I(l)&&D(xt(e))?e:bl(t,n);if(l===t||l===t.body)return D(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 kl(){const e=tt.call(this);if(!(e instanceof G))return[];const t=Boolean(e.shadowRoot),n=(l=e,Zn.has(l));var l;if(t&&!n)return ot.call(this);if(I(nt.call(this)))return[];let o=e;return al(e)&&pl.has(this)&&(o=il(e)),dl(o,this.composed)}function xl(e){const t=r(e.prototype,"relatedTarget").get;l(e.prototype,"relatedTarget",{get(){const e=t.call(this);if(I(e))return null;if(!(e instanceof G&&Ut(e)))return e;let n=nt.call(this);return I(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);D(e)||(_.call(e,(e=>{const t=e.$$lwcNodeObservers$$;if(!D(t)){const e=E.call(t,this);-1!==e&&O.call(t,e,1)}})),e.length=0)},Pl.prototype.observe=function(e,t){let n=_l(e);var l;if(D(n)&&(n=[],l=n,e.$$lwcNodeObservers$$=l),-1===E.call(n,this)&&v.call(n,this),cl(e)&&(e=e.host),Hl.has(this)){const t=Hl.get(this);-1===E.call(t,e)&&v.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(At,{addEventListener:{value:function(e,t,n){if(al(this))return Jn.apply(this,arguments);if(arguments.length<2){const e=C.call(arguments);return e.length>1&&(e[1]=xn(e[1])),Rt.apply(this,e)}const l=xn(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=C.call(arguments);arguments.length>1&&(l[1]=xn(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=nt.call(this);return I(e)?null:1===Fn.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}}),xl(FocusEvent),xl(MouseEvent);const Fl=c.call(Text.prototype,"assignedSlot")?r(Text.prototype,"assignedSlot").get:()=>null;let Wl;const Ul={childList:!0},jl=new WeakMap;function Gl(e){const t=_t(be.call(e));return N.call(t,((e,t)=>(t instanceof Element&&Xt(t)?v.apply(e,Gl(t)):v.call(e,t),e)),[])}function Kl(){const e=pe.call(this);if(e instanceof Element){const t=Je.call(e);if(Lt(t))return this instanceof Text?Fl.call(this):Qe.call(this)}return!I(e)&&Xt(e)&&xt(e)!==xt(this)?e:null}function ql(e,t){let n;const l=xt(e);if(D(l))n=e instanceof HTMLBodyElement?d.call(t,(t=>D(xt(t))||Ht(e))):C.call(t);else if(al(e)){const l=Kt(e);n=I(l)?[]:Wt(e)?zt(e,t):Qt(l,t)}else n=d.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+=fn(e[n]);return t}function Yl(){return fn(this)}function Vl(){const e=Kt(this),t=I(e)?[]:Qt(e,en(this));return wn(d.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(Wt(e))?I(n)?[]:Qt(n,t):zt(e,t)}else if(Ut(e)){const o=xt(e);if(D(o))if(1===n){const n=Ft(e);l=d.call(t,(e=>Ft(e)===n))}else l=C.call(t);else l=d.call(t,(e=>Ft(e)===o))}else l=e instanceof HTMLBodyElement||1===n?d.call(t,(t=>D(xt(t))||Ht(e))):C.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=[];_.call(e,(e=>{const{target:n}=e;-1===E.call(t,n)&&(v.call(t,n),$t.call(n,new CustomEvent("slotchange")))}))}))),Tt.call(Wl,this,Ul))},writable:!0,enumerable:!0,configurable:!0},assignedElements:{value(e){if(Ut(this)){const t=!D(e)&&B(e.flatten)?Gl(this):tn(this);return d.call(t,(e=>e instanceof Element))}return et.apply(this,C.call(arguments))},writable:!0,enumerable:!0,configurable:!0},assignedNodes:{value(e){if(Ut(this)){return!D(e)&&B(e.flatten)?Gl(this):tn(this)}return Ze.apply(this,C.call(arguments))},writable:!0,enumerable:!0,configurable:!0},name:{get(){const e=ye.call(this,"name");return I(e)?"":e},set(e){Se.call(this,"name",e)},enumerable:!0,configurable:!0},childNodes:{get(){if(Ut(this)){const e=Kt(this);return mn(I(e)?[]:Qt(e,en(this)))}return be.call(this)},enumerable:!0,configurable:!0}}),n(Text.prototype,{assignedSlot:{get:Kl,enumerable:!0,configurable:!0}}),n(Element.prototype,{innerHTML:{get(){return Dt.ENABLE_ELEMENT_PATCH?Ht(this)?xe.call(this):Xl.call(this):Ut(this)||al(this)?Xl.call(this):xe.call(this)},set(e){Fe.call(this,e)},enumerable:!0,configurable:!0},outerHTML:{get(){return Dt.ENABLE_ELEMENT_PATCH?Ht(this)?Ue.call(this):Yl.call(this):Ut(this)||al(this)?Yl.call(this):Ue.call(this)},set(e){je.call(this,e)},enumerable:!0,configurable:!0},attachShadow:{value:function(e){return e["$$lwc-synthetic-mode"]?sl(this,e):Oe.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 Je.call(this)},enumerable:!0,configurable:!0},children:{get(){return Tn(this)?Vl.call(this):Ve.call(this)},enumerable:!0,configurable:!0},childElementCount:{get(){return Tn(this)?zl.call(this):He.call(this)},enumerable:!0,configurable:!0},firstElementChild:{get(){return Tn(this)?Jl.call(this):_e.call(this)},enumerable:!0,configurable:!0},lastElementChild:{get(){return Tn(this)?Ql.call(this):Ae.call(this)},enumerable:!0,configurable:!0},assignedSlot:{get:Kl,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(Me.apply(this,C.call(arguments)));if(al(this)){const t=Kt(this);return D(Wt(this))?I(t)?null:Zt(t,e):Jt(this,e)}if(Ut(this)){const t=xt(this);if(D(t)){if(!Dt.ENABLE_NODE_LIST_PATCH)return 0===e.length?null:e[0];const t=Ft(this),n=b.call(e,(e=>Ft(e)===t));return D(n)?null:n}{const n=b.call(e,(e=>Ft(e)===t));return D(n)?null:n}}{if(!(Dt.ENABLE_NODE_LIST_PATCH||this instanceof HTMLBodyElement)){const t=e[0];return D(t)?null:t}const t=b.call(e,(e=>D(xt(e))||Ht(this)));return D(t)?null:t}},writable:!0,enumerable:!0,configurable:!0},querySelectorAll:{value(){const e=_t(Me.apply(this,C.call(arguments)));if(!Dt.ENABLE_NODE_LIST_PATCH){return mn(Zl(this,e,0))}return mn(Zl(this,e,1))},writable:!0,enumerable:!0,configurable:!0}}),n(Element.prototype,{getElementsByClassName:{value(){const e=_t(ze.apply(this,C.call(arguments)));if(!Dt.ENABLE_HTML_COLLECTIONS_PATCH)return wn(ql(this,e));return wn(Zl(this,e,1))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagName:{value(){const e=_t(Te.apply(this,C.call(arguments)));if(!Dt.ENABLE_HTML_COLLECTIONS_PATCH)return wn(ql(this,e));return wn(Zl(this,e,1))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagNameNS:{value(){const e=_t(ve.apply(this,C.call(arguments)));if(!Dt.ENABLE_HTML_COLLECTIONS_PATCH)return wn(ql(this,e));return wn(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===z)(e)){const{tagName:n}=e,l=eo(e);if("OPTION"===n)return[1,$e.call(e),1];if("TEXTAREA"===n)return[];{const n=e.childNodes;for(let e=0,l=n.length;e<l;e++)v.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===J)(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++)v.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=>Ne.call(e,"tabindex")?"0"===ye.call(e,"tabindex"):!io.has(Ge.call(e))||!Ne.call(e,"disabled")))}const co=new WeakMap;function uo(e){return(!al(e)||!ol(e))&&(Ye.call(e,ro)&&function(e){const{width:t,height:n}=we.call(e),l=t>0||n>0,o="AREA"===e.tagName;return(l||o)&&"hidden"!==getComputedStyle(e).visibility}(e))}function so(){const e=this.getRootNode();if(e===this){const e=Le.call(this,ro);return void(I(e)||e.focus.apply(e,arguments))}const t=e;if(t.activeElement===this)return;const n=_t(Me.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(_t(st.call(t,ro))),l=ao(_t(Me.call(e,ro))),o=l[0],r=l[l.length-1],i=E.call(n,e),a=i>-1?i:E.call(n,o),c=0===l.length?a+1:E.call(n,r)+1;return{prev:C.call(n,0,a),inner:l,next:C.call(n,c)}}function ho(e,t){const n=oe.call(e,t);return n&q?0:n&Y?1:n&V?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);I(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=nt.call(e),n=tt.call(e);if(t!==n)return;const l=lt.call(e);if(I(l))return;const o=fo(t);if(1===ho(t,l)){const e=No.bind(null,t.getRootNode()),r=b.call(o.inner,e);if(D(r))mo(o.next,n,l);else{go(St(r),(()=>{r.focus()}))}}else t===n&&mo(L.call(o.prev),n,l)}function vo(e){if(bo)return;const t=lt.call(e);if(I(t))return;const n=nt.call(e),l=fo(n);if(-1!==E.call(l.inner,t))return;const o=tt.call(e),r=ho(n,t);1===r&&mo(l.next,o,t),2===r&&mo(L.call(l.prev),o,t)}function No(e,t){if(!uo(t))return!1;const n=Ct(t);let l=t.getRootNode();for(;l!==n&&l!==e;){const e=l.host;if("-1"===ye.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)&&k(Ne.call(this,"tabindex"))?0:qe.call(this)}function _o(e){const t=ol(this),n=qe.call(this),l=Ne.call(this,"tabindex");Xe.call(this,e);const o=qe.call(this),r=Ne.call(this,"tabindex"),i=n!==o;var a;(l&&(i||k(r))&&(-1===n&&Co(this),0===n&&t&&Lo(this)),k(r))||(l&&r&&k(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 Ao(){if(ol(this)){const e=function(e){const t=Ct(e),n=rt.call(t);return I(n)||0!=(oe.call(e,n)&q)?n:null}(this);if(!I(e))return void e.blur()}return So.call(this)}function Ro(){const e=wo();e&&Eo(),al(this)&&ol(this)?so.call(this):(Oo.apply(this,arguments),e&&yo())}function $o(e,t){e.$shadowResolver$=t;const n=be.call(e);for(let e=0,l=n.length;e<l;e++)$o(n[e],t)}n(HTMLElement.prototype,{tabIndex:{get(){return al(this)?Ho.call(this):qe.call(this)},set(e){return al(this)?_o.call(this,e):Xe.call(this,e)},enumerable:!0,configurable:!0},blur:{value(){if(al(this))return Ao.call(this);So.call(this)},enumerable:!0,writable:!0,configurable:!0},focus:{value(){Ro.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),null!==$e&&null!==Pe&&l(HTMLElement.prototype,"innerText",{get(){return Dt.ENABLE_INNER_OUTER_TEXT_PATCH?Dt.ENABLE_ELEMENT_PATCH?Ht(this)?$e.call(this):oo(this):Ut(this)||al(this)?oo(this):$e.call(this):$e.call(this)},set(e){Pe.call(this,e)},enumerable:!0,configurable:!0}),null!==Ie&&null!==Be&&l(HTMLElement.prototype,"outerText",{get(){return Dt.ENABLE_INNER_OUTER_TEXT_PATCH?Dt.ENABLE_ELEMENT_PATCH?Ht(this)?Ie.call(this):oo(this):Ut(this)||al(this)?oo(this):Ie.call(this):Ie.call(this)},set(e){Be.call(this,e)},enumerable:!0,configurable:!0}),l(Element.prototype,j,{set(e){const t=this.$$ShadowTokenKey$$;D(t)||t===e||Ce.call(this,t),D(e)||Se.call(this,e,""),this.$$ShadowTokenKey$$=e},get(){return this.$$ShadowTokenKey$$},configurable:!0}),l(Element.prototype,"$shadowStaticNode$",{set(e){if(e){$o(this,this.$shadowResolver$)}this.$shadowStaticNodeKey$=e},get(){return this.$shadowStaticNodeKey$},configurable:!0});const Po=function(){};let Do;const Io={childList:!0};function Bo(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;D(l)&&Tt.call(Do,e,Io);const o=be.call(e);for(let e=0,l=o.length;e<l;e+=1)Bo(o[e],t,n)}}function ko(e){if(D(Do)&&(Do=new wt((e=>{_.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];oe.call(t,n)&G.DOCUMENT_POSITION_CONTAINED_BY||Bo(n,Po,void 0)}for(let e=0,l=n.length;e<l;e+=1){const l=n[e];oe.call(t,l)&G.DOCUMENT_POSITION_CONTAINED_BY&&Bo(l,o,r)}}))}))),D(nl(e)))throw new Error("Invalid Element");Tt.call(Do,e,Io)}l(Element.prototype,"$domManual$",{set(e){this.$$DomManualKey$$=e,B(e)&&ko(this)},get(){return this.$$DomManualKey$$},configurable:!0})}));
|
|
10
|
+
*/function El(e,t){if(B(e))return null;const n=bl(e,!0),l=t;for(let e,t,o,r,i=0;i<l.length;i++)if(e=l[i],o=e instanceof Window?e:e.getRootNode(),o!==t&&(r=n.indexOf(o),t=o),!ul(o)||!I(r)&&r>-1)return e;return null}function yl(e,t,n,l){const o=at.call(t,n,l);return B(o)?o:El(e,bl(o,!0))}e(hl,ml,{childElementCount:{enumerable:!0,configurable:!0,get(){return this.children.length}},children:{enumerable:!0,configurable:!0,get(){return Tn(d.call(zt(this),(e=>e instanceof Element)))}},firstElementChild:{enumerable:!0,configurable:!0,get(){return this.children[0]||null}},lastElementChild:{enumerable:!0,configurable:!0,get(){const{children:e}=this;return e.item(e.length-1)||null}},getElementById:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error('Disallowed method "getElementById" on ShadowRoot.')}},querySelector:{writable:!0,enumerable:!0,configurable:!0,value(e){return function(e,t){const n=il(e);return en(n,At(Ce.call(n,t)))}(this,e)}},querySelectorAll:{writable:!0,enumerable:!0,configurable:!0,value(e){return dn(function(e,t){const n=il(e);return Zt(n,At(Ce.call(n,t)))}(this,e))}}},{innerHTML:{enumerable:!0,configurable:!0,get(){const e=In(this);let t="";for(let n=0,l=e.length;n<l;n+=1)t+=hn(e[n]);return t},set(e){const t=il(this);We.call(t,e)}}},pl),dl.prototype=t(DocumentFragment.prototype,hl),l(dl,Symbol.hasInstance,{value:function(e){return W(e)&&!B(e)&&(Mt(e)||a(e)===dl.prototype)}}),Document.prototype.elementFromPoint=function(e,t){return yl(this,this,e,t)},Document.prototype.elementsFromPoint=function(e,t){return En(this,this,e,t)},l(Document.prototype,"activeElement",{get(){let e=it.call(this);if(B(e))return e;for(;!I(Ft(e));)if(e=de.call(e),B(e))return null;return"HTML"===e.tagName&&(e=this.body),e},enumerable:!0,configurable:!0}),l(Document.prototype,"getElementById",{value(){const e=ht.apply(this,C.call(arguments));return B(e)?null:I(Ft(e))||_t(e)?e:null},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"querySelector",{value(){const e=At(ft.apply(this,C.call(arguments))),t=b.call(e,(e=>I(Ft(e))||_t(e)));return I(t)?null:t},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"querySelectorAll",{value(){const e=At(ft.apply(this,C.call(arguments)));return dn(d.call(e,(e=>I(Ft(e))||_t(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByClassName",{value(){const e=At(pt.apply(this,C.call(arguments)));return Tn(d.call(e,(e=>I(Ft(e))||_t(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByTagName",{value(){const e=At(gt.apply(this,C.call(arguments)));return Tn(d.call(e,(e=>I(Ft(e))||_t(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByTagNameNS",{value(){const e=At(mt.apply(this,C.call(arguments)));return Tn(d.call(e,(e=>I(Ft(e))||_t(e))))},writable:!0,enumerable:!0,configurable:!0}),l(r(HTMLDocument.prototype,"getElementsByName")?HTMLDocument.prototype:Document.prototype,"getElementsByName",{value(){const e=At(dt.apply(this,C.call(arguments)));return dn(d.call(e,(e=>I(Ft(e))||_t(e))))},writable:!0,enumerable:!0,configurable:!0}),Object.defineProperty(window,"ShadowRoot",{value:dl,configurable:!0,writable:!0});const wl=Object.getOwnPropertyDescriptor(Event.prototype,"composed");const Tl=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"click");function vl(e){Object.defineProperty(e,"composed",{configurable:!0,enumerable:!0,get:()=>!0})}(function(){if(!wl)return!1;let e=new Event("click");const t=document.createElement("button");return t.addEventListener("click",(t=>e=t)),t.click(),!wl.get.call(e)})()&&(HTMLElement.prototype.click=function(){$t.call(this,"click",vl);try{Tl.value.call(this)}finally{Dt.call(this,"click",vl)}}),!0!==new Event("test",{composed:!0}).composed&&function(){const n=e(t(null),{beforeinput:1,blur:1,click:1,compositionend:1,compositionstart:1,compositionupdate:1,copy:1,cut:1,dblclick:1,DOMActivate:1,DOMFocusIn:1,DOMFocusOut:1,drag:1,dragend:1,dragenter:1,dragleave:1,dragover:1,dragstart:1,drop:1,focus:1,focusin:1,focusout:1,gotpointercapture:1,input:1,keydown:1,keypress:1,keyup:1,lostpointercapture:1,mousedown:1,mouseenter:1,mouseleave:1,mousemove:1,mouseout:1,mouseover:1,mouseup:1,paste:1,pointercancel:1,pointerdown:1,pointerenter:1,pointerleave:1,pointermove:1,pointerout:1,pointerover:1,pointerup:1,touchcancel:1,touchend:1,touchmove:1,touchstart:1,wheel:1}),l=Event;function o(e,t){const n=new l(e,t),o=!(!t||!t.composed);return Object.defineProperties(n,{composed:{get:()=>o,configurable:!0,enumerable:!0}}),n}o.prototype=l.prototype,o.AT_TARGET=l.AT_TARGET,o.BUBBLING_PHASE=l.BUBBLING_PHASE,o.CAPTURING_PHASE=l.CAPTURING_PHASE,o.NONE=l.NONE,window.Event=o,Object.defineProperties(Event.prototype,{composed:{get(){const{type:e}=this;return 1===n[e]},configurable:!0,enumerable:!0}})}();const Nl=CustomEvent;function Ll(e,t){const n=new Nl(e,t),l=!(!t||!t.composed);return Object.defineProperties(n,{composed:{get:()=>l,configurable:!0,enumerable:!0}}),n}if(Ll.prototype=Nl.prototype,window.CustomEvent=Ll,"undefined"!=typeof ClipboardEvent){const l=e(t(null),{copy:1,cut:1,paste:1});n(ClipboardEvent.prototype,{composed:{get(){const{type:e}=this;return 1===l[e]},configurable:!0,enumerable:!0}})}"undefined"!=typeof HTMLIFrameElement&&function(){const e=r(HTMLIFrameElement.prototype,"contentWindow"),{get:t}=e;e.get=function(){const e=t.call(this);return B(e)||I(Ft(this))?e:(n=e,{addEventListener(){return n.addEventListener.apply(n,arguments)},blur(){return n.blur.apply(n,arguments)},close(){return n.close.apply(n,arguments)},focus(){return n.focus.apply(n,arguments)},postMessage(){return n.postMessage.apply(n,arguments)},removeEventListener(){return n.removeEventListener.apply(n,arguments)},get closed(){return n.closed},get frames(){return n.frames},get length(){return n.length},get location(){return n.location},set location(e){n.location=e},get opener(){return n.opener},get parent(){return n.parent},get self(){return n.self},get top(){return n.top},get window(){return n.window}});var n},l(HTMLIFrameElement.prototype,"contentWindow",e)}();const Ml=MutationObserver,{disconnect:Cl,observe:Sl,takeRecords:Ol}=Ml.prototype,Hl="$$lwcObserverCallbackWrapper$$",_l=new WeakMap;function Al(e){return e.$$lwcNodeObservers$$}function Rl(e){const{addedNodes:l,removedNodes:o,target:r,type:i}=e,a=t(MutationRecord.prototype);return n(a,{addedNodes:{get:()=>l,enumerable:!0,configurable:!0},removedNodes:{get:()=>o,enumerable:!0,configurable:!0},type:{get:()=>i,enumerable:!0,configurable:!0},target:{get:()=>r.shadowRoot,enumerable:!0,configurable:!0}}),a}function $l(e,t){let n=t;for(;!B(n);){const t=Al(n);if(!I(t)&&(t[0]===e||-1!==E.call(t,e)))return!0;n=n.parentNode}return!1}function Pl(e,t){return N.call(e,((e,n)=>{const{target:l,addedNodes:o,removedNodes:r,type:i}=n;if("childList"!==i||I(Ut(l)))$l(t,l)&&v.call(e,n);else if(o.length>0){const r=o[0];if($l(t,r)){const o=Al(l);!o||o[0]!==t&&-1===E.call(o,t)?v.call(e,Rl(n)):v.call(e,n)}}else{const o=l.shadowRoot,i=r[0];if(Wt(l)===Wt(i)&&$l(t,l))v.call(e,n);else if(o){const l=Al(o);!l||l[0]!==t&&-1===E.call(l,t)||v.call(e,Rl(n))}}return e}),[])}function Dl(e){const t=function(e){let t=e[Hl];return I(t)&&(t=e[Hl]=(t,n)=>{const l=Pl(t,n);0!==l.length&&e.call(n,l,n)}),t}(e);return new Ml(t)}function Il(e,t,n){if(arguments.length>1){const e=C.call(arguments);return e[1]=Fn(e[1]),bt.apply(this,e)}return bt.apply(this,arguments)}function Bl(e,t,n){if(arguments.length>1){const e=C.call(arguments);e[1]=Fn(e[1]),Et.apply(this,e)}Et.apply(this,arguments)}function kl(){const e=nt.call(this);if(!(e instanceof K))return e;const t=St(e),n=bl(e,this.composed),l=lt.call(this);if(!(l instanceof K))return B(l)&&I(Ft(e))?e:El(t,n);if(l===t||l===t.body)return I(Ft(e))?e:El(t,n);let o=l,r=n;if(cl(l)){1===Wn.get(this)&&(o=al(l))}return cl(e)&&gl.has(this)&&(r=bl(al(e),this.composed)),El(o,r)}function xl(){const e=nt.call(this);if(!(e instanceof K))return[];const t=Boolean(e.shadowRoot),n=(l=e,el.has(l));var l;if(t&&!n)return rt.call(this);if(B(lt.call(this)))return[];let o=e;return cl(e)&&gl.has(this)&&(o=al(e)),bl(o,this.composed)}function Fl(e){const t=r(e.prototype,"relatedTarget").get;l(e.prototype,"relatedTarget",{get(){const e=t.call(this);if(B(e))return null;if(!(e instanceof K&&jt(e)))return e;let n=lt.call(this);return B(n)&&(n=St(e)),El(n,bl(e,!0))},enumerable:!0,configurable:!0})}Dl.prototype=Ml.prototype,Dl.prototype.disconnect=function(){Cl.call(this);const e=_l.get(this);I(e)||(A.call(e,(e=>{const t=e.$$lwcNodeObservers$$;if(!I(t)){const e=E.call(t,this);-1!==e&&H.call(t,e,1)}})),e.length=0)},Dl.prototype.observe=function(e,t){let n=Al(e);var l;if(I(n)&&(n=[],l=n,e.$$lwcNodeObservers$$=l),-1===E.call(n,this)&&v.call(n,this),ul(e)&&(e=e.host),_l.has(this)){const t=_l.get(this);-1===E.call(t,e)&&v.call(t,e)}else _l.set(this,[e]);return Sl.call(this,e,t)},Dl.prototype.takeRecords=function(){return Pl(Ol.call(this),this)},l(window,"MutationObserver",{value:Dl,configurable:!0,writable:!0}),n(Rt,{addEventListener:{value:function(e,t,n){if(cl(this))return Qn.apply(this,arguments);if(arguments.length<2){const e=C.call(arguments);return e.length>1&&(e[1]=Fn(e[1])),$t.apply(this,e)}const l=Fn(t);return $t.call(this,e,l,n)},enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:function(e,t,n){if(cl(this))return Zn.apply(this,arguments);const l=C.call(arguments);arguments.length>1&&(l[1]=Fn(l[1])),Dt.apply(this,l),Dt.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),"undefined"==typeof EventTarget&&n(Window.prototype,{addEventListener:{value:Il,enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:Bl,enumerable:!0,writable:!0,configurable:!0}}),n(Event.prototype,{target:{get:kl,enumerable:!0,configurable:!0},currentTarget:{get:function(){const e=lt.call(this);return B(e)?null:1===Wn.get(this)?al(e):e},enumerable:!0,configurable:!0},composedPath:{value:xl,writable:!0,enumerable:!0,configurable:!0},srcElement:{get:kl,enumerable:!0,configurable:!0},path:{get:xl,enumerable:!0,configurable:!0}}),Fl(FocusEvent),Fl(MouseEvent);const Wl=c.call(Text.prototype,"assignedSlot")?r(Text.prototype,"assignedSlot").get:()=>null;let Ul;const jl={childList:!0},Gl=new WeakMap;function Kl(e){const t=At(Ee.call(e));return N.call(t,((e,t)=>(t instanceof Element&&Yt(t)?v.apply(e,Kl(t)):v.call(e,t),e)),[])}function ql(){const e=ge.call(this);if(e instanceof Element){const t=Qe.call(e);if(Mt(t))return this instanceof Text?Wl.call(this):Ze.call(this)}return!B(e)&&Yt(e)&&Ft(e)!==Ft(this)?e:null}function Xl(e,t){let n;const l=Ft(e);if(I(l))n=e instanceof HTMLBodyElement?d.call(t,(t=>I(Ft(t))||_t(e))):C.call(t);else if(cl(e)){const l=qt(e);n=B(l)?[]:Ut(e)?Jt(e,t):Zt(l,t)}else n=d.call(t,(e=>Wt(e)===l));return n}function Yl(){const e=In(this);let t="";for(let n=0,l=e.length;n<l;n+=1)t+=hn(e[n]);return t}function Vl(){return hn(this)}function zl(){const e=qt(this),t=B(e)?[]:Zt(e,tn(this));return Tn(d.call(t,(e=>e instanceof Element)))}function Jl(){return this.children.length}function Ql(){return this.children[0]||null}function Zl(){const{children:e}=this;return e.item(e.length-1)||null}function eo(e,t,n){let l;if(cl(e)){const n=qt(e);l=I(Ut(e))?B(n)?[]:Zt(n,t):Jt(e,t)}else if(jt(e)){const o=Ft(e);if(I(o))if(1===n){const n=Wt(e);l=d.call(t,(e=>Wt(e)===n))}else l=C.call(t);else l=d.call(t,(e=>Wt(e)===o))}else l=e instanceof HTMLBodyElement||1===n?d.call(t,(t=>I(Ft(t))||_t(e))):C.call(t);return l}function to(e){const t=Ot(e);return yt.call(t,e)}function no(e){const t=Ot(e);return wt.call(t)}function lo(e){return"visible"===e.visibility&&"none"!==e.display}n(HTMLSlotElement.prototype,{addEventListener:{value(e,t,n){HTMLElement.prototype.addEventListener.call(this,e,t,n),"slotchange"!==e||Gl.get(this)||(Gl.set(this,!0),Ul||(Ul=new Tt((e=>{const t=[];A.call(e,(e=>{const{target:n}=e;-1===E.call(t,n)&&(v.call(t,n),Pt.call(n,new CustomEvent("slotchange")))}))}))),vt.call(Ul,this,jl))},writable:!0,enumerable:!0,configurable:!0},assignedElements:{value(e){if(jt(this)){const t=!I(e)&&k(e.flatten)?Kl(this):nn(this);return d.call(t,(e=>e instanceof Element))}return tt.apply(this,C.call(arguments))},writable:!0,enumerable:!0,configurable:!0},assignedNodes:{value(e){if(jt(this)){return!I(e)&&k(e.flatten)?Kl(this):nn(this)}return et.apply(this,C.call(arguments))},writable:!0,enumerable:!0,configurable:!0},name:{get(){const e=we.call(this,"name");return B(e)?"":e},set(e){Oe.call(this,"name",e)},enumerable:!0,configurable:!0},childNodes:{get(){if(jt(this)){const e=qt(this);return dn(B(e)?[]:Zt(e,tn(this)))}return Ee.call(this)},enumerable:!0,configurable:!0}}),n(Text.prototype,{assignedSlot:{get:ql,enumerable:!0,configurable:!0}}),n(Element.prototype,{innerHTML:{get(){return It.ENABLE_ELEMENT_PATCH?_t(this)?Fe.call(this):Yl.call(this):jt(this)||cl(this)?Yl.call(this):Fe.call(this)},set(e){We.call(this,e)},enumerable:!0,configurable:!0},outerHTML:{get(){return It.ENABLE_ELEMENT_PATCH?_t(this)?je.call(this):Vl.call(this):jt(this)||cl(this)?Vl.call(this):je.call(this)},set(e){Ge.call(this,e)},enumerable:!0,configurable:!0},attachShadow:{value:function(e){return e["$$lwc-synthetic-mode"]?fl(this,e):He.call(this,e)},enumerable:!0,writable:!0,configurable:!0},shadowRoot:{get:function(){if(cl(this)){const e=al(this);if("open"===e.mode)return e}return Qe.call(this)},enumerable:!0,configurable:!0},children:{get(){return vn(this)?zl.call(this):ze.call(this)},enumerable:!0,configurable:!0},childElementCount:{get(){return vn(this)?Jl.call(this):_e.call(this)},enumerable:!0,configurable:!0},firstElementChild:{get(){return vn(this)?Ql.call(this):Ae.call(this)},enumerable:!0,configurable:!0},lastElementChild:{get(){return vn(this)?Zl.call(this):Re.call(this)},enumerable:!0,configurable:!0},assignedSlot:{get:ql,enumerable:!0,configurable:!0}}),c.call(HTMLElement.prototype,"innerHTML")&&l(HTMLElement.prototype,"innerHTML",r(Element.prototype,"innerHTML")),c.call(HTMLElement.prototype,"outerHTML")&&l(HTMLElement.prototype,"outerHTML",r(Element.prototype,"outerHTML")),c.call(HTMLElement.prototype,"children")&&l(HTMLElement.prototype,"children",r(Element.prototype,"children")),n(Element.prototype,{querySelector:{value:function(){const e=At(Ce.apply(this,C.call(arguments)));if(cl(this)){const t=qt(this);return I(Ut(this))?B(t)?null:en(t,e):Qt(this,e)}if(jt(this)){const t=Ft(this);if(I(t)){if(!It.ENABLE_NODE_LIST_PATCH)return 0===e.length?null:e[0];const t=Wt(this),n=b.call(e,(e=>Wt(e)===t));return I(n)?null:n}{const n=b.call(e,(e=>Wt(e)===t));return I(n)?null:n}}{if(!(It.ENABLE_NODE_LIST_PATCH||this instanceof HTMLBodyElement)){const t=e[0];return I(t)?null:t}const t=b.call(e,(e=>I(Ft(e))||_t(this)));return I(t)?null:t}},writable:!0,enumerable:!0,configurable:!0},querySelectorAll:{value(){const e=At(Ce.apply(this,C.call(arguments)));if(!It.ENABLE_NODE_LIST_PATCH){return dn(eo(this,e,0))}return dn(eo(this,e,1))},writable:!0,enumerable:!0,configurable:!0}}),n(Element.prototype,{getElementsByClassName:{value(){const e=At(Je.apply(this,C.call(arguments)));if(!It.ENABLE_HTML_COLLECTIONS_PATCH)return Tn(Xl(this,e));return Tn(eo(this,e,1))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagName:{value(){const e=At(ve.apply(this,C.call(arguments)));if(!It.ENABLE_HTML_COLLECTIONS_PATCH)return Tn(Xl(this,e));return Tn(eo(this,e,1))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagNameNS:{value(){const e=At(Ne.apply(this,C.call(arguments)));if(!It.ENABLE_HTML_COLLECTIONS_PATCH)return Tn(Xl(this,e));return Tn(eo(this,e,1))},writable:!0,enumerable:!0,configurable:!0}}),c.call(HTMLElement.prototype,"getElementsByClassName")&&l(HTMLElement.prototype,"getElementsByClassName",r(Element.prototype,"getElementsByClassName"));function oo(e){const t=[];if((e=>e.nodeType===J)(e)){const{tagName:n}=e,l=to(e);if("OPTION"===n)return[1,Pe.call(e),1];if("TEXTAREA"===n)return[];{const n=e.childNodes;for(let e=0,l=n.length;e<l;e++)v.apply(t,oo(n[e]))}if(!lo(l))return"SELECT"===n||"DATALIST"===n?[]:t;"BR"===n&&t.push("\n");const{display:o}=l;"table-cell"===o&&t.push("\t"),"table-row"===o&&t.push("\n"),"P"===n&&(t.unshift(2),t.push(2)),"block"!==o&&"table-caption"!==o&&"flex"!==o&&"table"!==o||(t.unshift(1),t.push(1))}else(e=>e.nodeType===Q)(e)&&t.push(function(e){const t=no(e);if(null===t)return e.textContent||"";const n=document.createRange();n.selectNodeContents(e);const l=n.getBoundingClientRect();if(l.height<=0||l.width<=0)return"";t.removeAllRanges(),t.addRange(n);return t.toString()||e.textContent||""}(e));return t}function ro(e){if(!lo(to(e)))return pn(e)||"";const t=function(e){const t=Ot(e),n=no(e);if(null===n)return null;const l=[];for(let e=0;e<n.rangeCount;e++)l.push(n.getRangeAt(e));const o={element:e,onselect:t.onselect,onselectstart:t.onselectstart,onselectionchange:t.onselectionchange,ranges:l};return t.onselect=null,t.onselectstart=null,t.onselectionchange=null,o}(e),n=[],l=e.childNodes;for(let e=0,t=l.length;e<t;e++)v.apply(n,oo(l[e]));!function(e){if(null===e)return;const{element:t,onselect:n,onselectstart:l,onselectionchange:o,ranges:r}=e,i=Ot(t),a=no(t);a.removeAllRanges();for(let e=0;e<r.length;e++)a.addRange(r[e]);i.onselect=n,i.onselectstart=l,i.onselectionchange=o}(t);let o="",r=0;for(let e=0,t=n.length;e<t;e++){const t=n[e];if("string"==typeof t){if(r>0){for(let e=0;e<r;e++)o+="\n";r=0}t.length>0&&(o+=t)}else{if(0==o.length)continue;t>r&&(r=t)}}return o}const io="\n [contenteditable],\n [tabindex],\n a[href],\n area[href],\n audio[controls],\n button,\n iframe,\n input,\n select,\n textarea,\n video[controls]\n",ao=new Set(["BUTTON","INPUT","SELECT","TEXTAREA"]);function co(e){return e.filter((e=>Le.call(e,"tabindex")?"0"===we.call(e,"tabindex"):!ao.has(Ke.call(e))||!Le.call(e,"disabled")))}const uo=new WeakMap;function so(e){return(!cl(e)||!rl(e))&&(Ve.call(e,io)&&function(e){const{width:t,height:n}=Te.call(e),l=t>0||n>0,o="AREA"===e.tagName;return(l||o)&&"hidden"!==getComputedStyle(e).visibility}(e))}function fo(){const e=this.getRootNode();if(e===this){const e=Me.call(this,io);return void(B(e)||e.focus.apply(e,arguments))}const t=e;if(t.activeElement===this)return;const n=At(Ce.call(this,io));let l=!1;for(;!l&&0!==n.length;){const e=n.shift();e.focus.apply(e,arguments);l=e.getRootNode().activeElement===e}}function ho(e){const t=St(e),n=co(At(ft.call(t,io))),l=co(At(Ce.call(e,io))),o=l[0],r=l[l.length-1],i=E.call(n,e),a=i>-1?i:E.call(n,o),c=0===l.length?a+1:E.call(n,r)+1;return{prev:C.call(n,0,a),inner:l,next:C.call(n,c)}}function po(e,t){const n=re.call(e,t);return n&X?0:n&V?1:n&z?2:-1}function go(e){e.preventDefault(),e.stopPropagation()}function mo(e,t){bt.call(e,"focusin",go,!0),bt.call(e,"focusout",go,!0),t(),Et.call(e,"focusin",go,!0),Et.call(e,"focusout",go,!0)}function bo(e,t,n){const l=Ot(n),o=function(e,t){const n=e.length;if(n>0)for(let l=0;l<n;l+=1){const n=e[l];if(Lo(t.getRootNode(),n))return n}return null}(e,n);B(o)?mo(l,(()=>{t.blur()})):mo(l,(()=>{o.focus()}))}let Eo=!1;function yo(){Eo=!0}function wo(){Eo=!1}function To(){return!Eo}function vo(e){if(Eo)return;const t=lt.call(e),n=nt.call(e);if(t!==n)return;const l=ot.call(e);if(B(l))return;const o=ho(t);if(1===po(t,l)){const e=Lo.bind(null,t.getRootNode()),r=b.call(o.inner,e);if(I(r))bo(o.next,n,l);else{mo(Ot(r),(()=>{r.focus()}))}}else t===n&&bo(L.call(o.prev),n,l)}function No(e){if(Eo)return;const t=ot.call(e);if(B(t))return;const n=lt.call(e),l=ho(n);if(-1!==E.call(l.inner,t))return;const o=nt.call(e),r=po(n,t);1===r&&bo(l.next,o,t),2===r&&bo(L.call(l.prev),o,t)}function Lo(e,t){if(!so(t))return!1;const n=St(t);let l=t.getRootNode();for(;l!==n&&l!==e;){const e=l.host;if("-1"===we.call(e,"tabindex"))return!1;l=e&&e.getRootNode()}return!0}function Mo(e){Dt.call(e,"focusin",vo,!0)}function Co(e){const t=St(e);uo.get(t)||(uo.set(t,!0),$t.call(t,"mousedown",yo,!0),$t.call(t,"mouseup",(()=>{setTimeout(wo)}),!0),$t.call(t,"dragstart",wo,!0))}function So(e){Dt.call(e,"focusin",No,!0)}const{blur:Oo,focus:Ho}=HTMLElement.prototype;function _o(){return rl(this)&&x(Le.call(this,"tabindex"))?0:Xe.call(this)}function Ao(e){const t=rl(this),n=Xe.call(this),l=Le.call(this,"tabindex");Ye.call(this,e);const o=Xe.call(this),r=Le.call(this,"tabindex"),i=n!==o;var a;(l&&(i||x(r))&&(-1===n&&So(this),0===n&&t&&Mo(this)),x(r))||(l&&r&&x(i)||(-1===o&&(Co(a=this),Mo(a),$t.call(a,"focusin",No,!0)),0===o&&t&&function(e){Co(e),So(e),$t.call(e,"focusin",vo,!0)}(this)))}function Ro(){if(rl(this)){const e=function(e){const t=St(e),n=it.call(t);return B(n)||0!=(re.call(e,n)&X)?n:null}(this);if(!B(e))return void e.blur()}return Oo.call(this)}function $o(){const e=To();e&&yo(),cl(this)&&rl(this)?fo.call(this):(Ho.apply(this,arguments),e&&wo())}function Po(e,t){e.$shadowResolver$=t;const n=Ee.call(e);for(let e=0,l=n.length;e<l;e++)Po(n[e],t)}n(HTMLElement.prototype,{tabIndex:{get(){return cl(this)?_o.call(this):Xe.call(this)},set(e){return cl(this)?Ao.call(this,e):Ye.call(this,e)},enumerable:!0,configurable:!0},blur:{value(){if(cl(this))return Ro.call(this);Oo.call(this)},enumerable:!0,writable:!0,configurable:!0},focus:{value(){$o.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),null!==Pe&&null!==De&&l(HTMLElement.prototype,"innerText",{get(){return It.ENABLE_INNER_OUTER_TEXT_PATCH?It.ENABLE_ELEMENT_PATCH?_t(this)?Pe.call(this):ro(this):jt(this)||cl(this)?ro(this):Pe.call(this):Pe.call(this)},set(e){De.call(this,e)},enumerable:!0,configurable:!0}),null!==Be&&null!==ke&&l(HTMLElement.prototype,"outerText",{get(){return It.ENABLE_INNER_OUTER_TEXT_PATCH?It.ENABLE_ELEMENT_PATCH?_t(this)?Be.call(this):ro(this):jt(this)||cl(this)?ro(this):Be.call(this):Be.call(this)},set(e){ke.call(this,e)},enumerable:!0,configurable:!0}),l(Element.prototype,G,{set(e){const t=this.$$ShadowTokenKey$$;I(t)||t===e||Se.call(this,t),I(e)||Oe.call(this,e,""),this.$$ShadowTokenKey$$=e},get(){return this.$$ShadowTokenKey$$},configurable:!0}),l(Element.prototype,"$shadowStaticNode$",{set(e){if(e){Po(this,this.$shadowResolver$)}this.$shadowStaticNodeKey$=e},get(){return this.$shadowStaticNodeKey$},configurable:!0});const Do=function(){};let Io;const Bo={childList:!0};function ko(e,t,n){const l=ll(e);if(l!==t&&(ol(e,t),e instanceof Element)){if(function(e,t){e.$shadowToken$=t}(e,n),cl(e))return;I(l)&&vt.call(Io,e,Bo);const o=Ee.call(e);for(let e=0,l=o.length;e<l;e+=1)ko(o[e],t,n)}}function xo(e){if(I(Io)&&(Io=new Tt((e=>{A.call(e,(e=>{const{target:t,addedNodes:n,removedNodes:l}=e,o=ll(t),r=t.$shadowToken$;for(let e=0,n=l.length;e<n;e+=1){const n=l[e];re.call(t,n)&K.DOCUMENT_POSITION_CONTAINED_BY||ko(n,Do,void 0)}for(let e=0,l=n.length;e<l;e+=1){const l=n[e];re.call(t,l)&K.DOCUMENT_POSITION_CONTAINED_BY&&ko(l,o,r)}}))}))),I(ll(e)))throw new Error("Invalid Element");vt.call(Io,e,Bo)}l(Element.prototype,"$domManual$",{set(e){this.$$DomManualKey$$=e,k(e)&&xo(this)},get(){return this.$$DomManualKey$$},configurable:!0})}));
|