lwc 2.35.0 → 2.35.1
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 +48 -121
- package/dist/engine-dom/iife/es2017/engine-dom.js +48 -121
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +87 -61
- package/dist/engine-dom/iife/es5/engine-dom.js +48 -119
- package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +89 -60
- package/dist/engine-dom/umd/es2017/engine-dom.js +48 -121
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +87 -61
- package/dist/engine-dom/umd/es5/engine-dom.js +48 -119
- package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +89 -60
- package/dist/engine-server/commonjs/es2017/engine-server.js +45 -134
- package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
- package/dist/engine-server/esm/es2017/engine-server.js +45 -134
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +9 -40
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +9 -40
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js +2 -2
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +8 -38
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +9 -38
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.min.js +2 -2
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +8 -36
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +9 -40
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js +2 -2
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +8 -38
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +9 -38
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.min.js +2 -2
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +8 -36
- 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";var e,t;function n(e,t,n){return(t=o(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,o(r.key),r)}}function l(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function o(e){var t=function(e,t){if("object"!==a(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===a(t)?t:String(t)}function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}var i=Object.assign,u=Object.create,c=Object.defineProperties,s=Object.defineProperty,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.hasOwnProperty,g=Object.setPrototypeOf,m=Array.prototype,v=m.filter,b=m.find,d=m.indexOf,y=m.map,E=m.push,w=m.reduce,T=m.reverse,N=m.slice,L=m.splice,M=m.forEach,S=String.prototype.charCodeAt;function C(e){return void 0===e}function O(e){return null===e}function H(e){return!0===e}function R(e){return!1===e}function P(e){return"function"==typeof e}function D(e){return"object"===a(e)}var I,A,_=function(){if("object"===("undefined"==typeof globalThis?"undefined":a(globalThis)))return globalThis;var e;try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),e=__magic__,delete Object.prototype.__magic__}catch(e){}finally{void 0===e&&(e=window)}return e}(),B="$shadowResolver$",$="$$ShadowResolverKey$$",x="$shadowStaticNodeKey$",k="$shadowToken$",F="$$ShadowTokenKey$$",j="$nativeGetElementById$",W="$nativeQuerySelectorAll$",G=Node,U=G.prototype,K=G.DOCUMENT_POSITION_CONTAINED_BY,q=G.DOCUMENT_POSITION_PRECEDING,Y=G.DOCUMENT_POSITION_FOLLOWING,X=G.ELEMENT_NODE,V=G.TEXT_NODE,Q=G.CDATA_SECTION_NODE,z=G.PROCESSING_INSTRUCTION_NODE,J=G.COMMENT_NODE,Z=U.appendChild,ee=U.cloneNode,te=U.compareDocumentPosition,ne=U.insertBefore,re=U.removeChild,le=U.replaceChild,oe=U.hasChildNodes,ae=HTMLElement.prototype.contains,ie=f(U,"firstChild").get,ue=f(U,"lastChild").get,ce=f(U,"textContent").get,se=f(U,"parentNode").get,fe=f(U,"ownerDocument").get,pe=h.call(U,"parentElement")?f(U,"parentElement").get:f(HTMLElement.prototype,"parentElement").get,he=f(U,"textContent").set,ge=h.call(U,"childNodes")?f(U,"childNodes").get:f(HTMLElement.prototype,"childNodes").get,me=h.call(U,"isConnected")?f(U,"isConnected").get:function(){var e=fe.call(this);return null===e||0!=(te.call(e,this)&K)},ve=Element.prototype,be=ve.getAttribute,de=ve.getBoundingClientRect,ye=ve.getElementsByTagName,Ee=ve.getElementsByTagNameNS,we=ve.hasAttribute,Te=ve.querySelector,Ne=ve.querySelectorAll,Le=ve.removeAttribute,Me=ve.setAttribute,Se=h.call(Element.prototype,"attachShadow")?Element.prototype.attachShadow:function(){throw new TypeError("attachShadow() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill and use Lightning Web Components")},Ce=f(Element.prototype,"childElementCount").get,Oe=f(Element.prototype,"firstElementChild").get,He=f(Element.prototype,"lastElementChild").get,Re=f(HTMLElement.prototype,"innerText"),Pe=Re?Re.get:null,De=Re?Re.set:null,Ie=f(HTMLElement.prototype,"outerText"),Ae=Ie?Ie.get:null,_e=Ie?Ie.set:null,Be=h.call(Element.prototype,"innerHTML")?f(Element.prototype,"innerHTML"):f(HTMLElement.prototype,"innerHTML"),$e=Be.get,xe=Be.set,ke=h.call(Element.prototype,"outerHTML")?f(Element.prototype,"outerHTML"):f(HTMLElement.prototype,"outerHTML"),Fe=ke.get,je=ke.set,We=f(Element.prototype,"tagName").get,Ge=f(HTMLElement.prototype,"tabIndex"),Ue=Ge.get,Ke=Ge.set,qe=h.call(Element.prototype,"matches")?Element.prototype.matches:Element.prototype.msMatchesSelector,Ye=h.call(Element.prototype,"children")?f(Element.prototype,"children").get:f(HTMLElement.prototype,"children").get,Xe=HTMLElement.prototype.getElementsByClassName,Ve=h.call(Element.prototype,"shadowRoot")?f(Element.prototype,"shadowRoot").get:function(){return null},Qe=h.call(Element.prototype,"assignedSlot")?f(Element.prototype,"assignedSlot").get:function(){return null};"undefined"!=typeof HTMLSlotElement?(I=HTMLSlotElement.prototype.assignedNodes,A=HTMLSlotElement.prototype.assignedElements):(I=function(){throw new TypeError("assignedNodes() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill to start using <slot> elements in your Lightning Web Component's template")},A=function(){throw new TypeError("assignedElements() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill to start using <slot> elements in your Lightning Web Component's template")});var ze=f(Event.prototype,"target").get,Je=f(Event.prototype,"currentTarget").get,Ze=f(FocusEvent.prototype,"relatedTarget").get,et=h.call(Event.prototype,"composedPath")?Event.prototype.composedPath:function(){return[]},tt=f(Document.prototype,"activeElement").get,nt=h.call(Document.prototype,"elementFromPoint")?Document.prototype.elementFromPoint:Document.prototype.msElementFromPoint,rt=h.call(Document.prototype,"elementsFromPoint")?Document.prototype.elementsFromPoint:Document.prototype.msElementsFromPoint,lt=f(Document.prototype,"defaultView").get,ot=Document.prototype,at=ot.querySelectorAll,it=ot.getElementById,ut=ot.getElementsByClassName,ct=ot.getElementsByTagName,st=ot.getElementsByTagNameNS,ft=HTMLDocument.prototype.getElementsByName,pt=window,ht=pt.addEventListener,gt=pt.removeEventListener,mt=MutationObserver,vt=mt.prototype.observe,bt=null;"undefined"!=typeof ShadowRoot&&(bt=ShadowRoot);var dt=!O(bt),yt=O(bt)?function(){return!1}:function(e){return e instanceof bt};var Et,wt=Document.prototype.createElement;function Tt(e){var t=fe.call(e);return null===t?e:t}function Nt(e){var t=Tt(e),n=lt.call(t);if(null===n)throw new TypeError;return n}function Lt(e){if(C(Et)){var t=Tt(e);Et=t.body&&"temporary-bypass"===be.call(t.body,"data-global-patching-bypass")}return H(Et)}function Mt(e){var t=e.length,n=[];if(t>0)for(var r=0;r<t;r++)n[r]=e[r];return n}"undefined"==typeof HTMLSlotElement&&function(){var e=l((function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}));g(e,HTMLElement.constructor),g(e.prototype,HTMLElement.prototype),Window.prototype.HTMLSlotElement=e,s(Document.prototype,"createElement",{value:function(t,n){var r=wt.apply(this,N.call(arguments));return 4===t.length&&115===S.call(t,0)&&108===S.call(t,1)&&111===S.call(t,2)&&116===S.call(t,3)&&g(r,e.prototype),r}})}();var St="undefined"!=typeof EventTarget?EventTarget.prototype:G.prototype,Ct=St.addEventListener,Ot=St.dispatchEvent,Ht=St.removeEventListener;_.lwcRuntimeFlags||Object.defineProperty(_,"lwcRuntimeFlags",{value:u(null)});var Rt=_.lwcRuntimeFlags,Pt="$$HostElementKey$$",Dt="$$ShadowedNodeKey$$";function It(e,t,n){var r=e,l=n.value;r[t]=l}function At(e){return e[Pt]}function _t(e){for(var t,n=e;!O(n);){if(!C(t=At(n)))return t;if(n=se.call(n),Rt.ENABLE_LIGHT_GET_ROOT_NODE_PATCH&&!O(n)&&jt(n))return}}function Bt(e){return e[Dt]}function $t(e){return!C(At(e))}function xt(e){for(var t=pe.call(e);!O(t)&&Wt(t);)e=t,t=pe.call(e);return e}function kt(e,t){for(var n=Bt(e),r=t instanceof Element?t:pe.call(t);!O(r)&&r!==e;){var l=_t(r),o=pe.call(r);if(l===n)return Wt(r);if(o===e)return!1;if(O(o)||_t(o)===l)r=o;else{if(!Wt(o))return!1;if(!O(r=Ft(xt(o)))){if(r===e)return!0;if(_t(r)===n)return!0}}}return!1}function Ft(e){if(!(e instanceof G))return null;var t=_t(e);if(C(t))return null;for(var n=e;!O(n)&&Bt(n)!==t;)n=se.call(n);return O(n)?null:n}function jt(e){return Wt(e)&&$t(e)}function Wt(e){return e instanceof HTMLSlotElement}function Gt(e,t){var n=_t(t);if(C(n)){if(Rt.ENABLE_LIGHT_GET_ROOT_NODE_PATCH){var r=se.call(t);if(!O(r)&&jt(r))return!1}return!0}return Bt(e)===n}function Ut(e){var t=tr(e);return Yt(t,Mt(ge.call(t)))}function Kt(e,t){for(var n=[],r=0,l=t.length;r<l;r+=1){var o=t[r];!Gt(e,o)&&kt(e,o)&&E.call(n,o)}return n}function qt(e,t){for(var n=0,r=t.length;n<r;n+=1){var l=t[n];if(!Gt(e,l)&&kt(e,l))return l}return null}function Yt(e,t){for(var n=[],r=0,l=t.length;r<l;r+=1){var o=t[r];Gt(e,o)&&E.call(n,o)}return n}function Xt(e,t){for(var n=0,r=t.length;n<r;n+=1)if(Gt(e,t[n]))return t[n];return null}function Vt(e){if(!rr(e)&&!Wt(e))return Mt(ge.call(e));if(rr(e)){var t=Mt(Ne.call(e,"slot")),n=Jn(nr(e));return w.call(t,(function(e,t){return n===Jn(t)&&E.apply(e,Qt(t)),e}),[])}var r=Mt(ge.call(e)),l=Jn(e);return v.call(r,(function(e){return l===Jn(e)}))}function Qt(e){var t=Ft(e);if(O(t))return[];var n=Mt(ge.call(e));return v.call(n,(function(e){return!$t(e)||!Gt(t,e)}))}var zt=/[&\u00A0"]/g,Jt=/[&\u00A0<>]/g,Zt=String.prototype,en=Zt.replace,tn=Zt.toLowerCase;function nn(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" ";default:return""}}function rn(e){return en.call(e,zt,nn)}var ln=new Set(["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"]),on=new Set(["STYLE","SCRIPT","XMP","IFRAME","NOEMBED","NOFRAMES","PLAINTEXT","NOSCRIPT"]);function an(e){switch(e.nodeType){case X:for(var t,n=e.attributes,r=We.call(e),l="<"+tn.call(r),o=0;t=n[o];o++)l+=" "+t.name+'="'+rn(t.value)+'"';return l+=">",ln.has(r)?l:l+function(e){for(var t="",n=Vt(e),r=0,l=n.length;r<l;r+=1)t+=an(n[r]);return t}(e)+"</"+tn.call(r)+">";case V:var a=e.data,i=e.parentNode;return i instanceof Element&&on.has(We.call(i))?a:function(e){return en.call(e,Jt,nn)}(a);case Q:return"<!CDATA[[".concat(e.data,"]]>");case z:return"<?".concat(e.target," ").concat(e.data,"?>");case J:return"\x3c!--".concat(e.data,"--\x3e");default:return""}}function un(e){if(e.nodeType===X){for(var t=Vt(e),n="",r=0,l=t.length;r<l;r+=1){var o=t[r];o.nodeType!==J&&(n+=un(o))}return n}return e.nodeValue}var cn=new WeakMap;function sn(){throw new TypeError("Illegal constructor")}function fn(e){var t=u(sn.prototype);return cn.set(t,e),M.call(e,(function(e,n){s(t,n,{value:e,enumerable:!0,configurable:!0})})),t}sn.prototype=u(NodeList.prototype,(n(e={constructor:{writable:!0,configurable:!0,value:sn},item:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return this[e]}},length:{enumerable:!0,configurable:!0,get:function(){return cn.get(this).length}},forEach:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){M.call(cn.get(this),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value:function(){return y.call(cn.get(this),(function(e,t){return[t,e]}))}},keys:{writable:!0,enumerable:!0,configurable:!0,value:function(){return y.call(cn.get(this),(function(e,t){return t}))}},values:{writable:!0,enumerable:!0,configurable:!0,value:function(){return cn.get(this)}}},Symbol.iterator,{writable:!0,configurable:!0,value:function(){var e=this,t=0;return{next:function(){var n=cn.get(e);return t<n.length?{value:n[t++],done:!1}:{done:!0}}}}}),n(e,Symbol.toStringTag,{configurable:!0,get:function(){return"NodeList"}}),n(e,"toString",{writable:!0,configurable:!0,value:function(){return"[object NodeList]"}}),e)),g(sn,NodeList);var pn=function(e,t){for(var n;!C(n=e.host);){var r=n.getRootNode();if(r===t)return n;e=r}};function hn(e,t,n,r){var l=rt.call(t,n,r),o=[],a=function(e){for(var t,n=[],r=e.getRootNode();!C(r);)n.push(r),r=null===(t=r.host)||void 0===t?void 0:t.getRootNode();return n}(e);if(!O(l))for(var i=0;i<l.length;i++){var u=l[i];if(!jt(u)){var c=u.getRootNode();if(-1===d.call(a,c)){var s=pn(c,a[0]);C(s)||-1!==d.call(l,s)||-1!==d.call(o,s)||E.call(o,s)}else E.call(o,u)}}return o}var gn=new WeakMap;function mn(){throw new TypeError("Illegal constructor")}function vn(e){var t=u(mn.prototype);return gn.set(t,e),M.call(e,(function(e,n){s(t,n,{value:e,enumerable:!0,configurable:!0})})),t}function bn(e){return jt(e)||rr(e)}function dn(e,t){var n=Ft(e);if(t===n)return nr(n);if(t instanceof Element){if(_t(e)===_t(t))return t;if(!O(n)&&Wt(t)){var r=Ft(t);if(!O(r)&&Gt(n,r))return r}}return null}function yn(){return Pn(this).length>0}function En(){return Pn(this)[0]||null}function wn(){var e=Pn(this);return e[e.length-1]||null}function Tn(){return un(this)}function Nn(){var e=se.call(this);return O(e)?e:dn(this,e)}function Ln(){var e=se.call(this);if(O(e))return null;var t=dn(this,e);return t instanceof Element?t:null}function Mn(e){return this===e?0:this.getRootNode()===e?10:At(this)!==At(e)?35:te.call(this,e)}function Sn(e){return null!=e&&At(this)===At(e)&&0!=(te.call(this,e)&K)}function Cn(e){var t=ee.call(this,!1);if(!e)return t;for(var n=Pn(this),r=0,l=n.length;r<l;r+=1)t.appendChild(n[r].cloneNode(!0));return t}function On(){if(rr(this)){var e=Ft(this);return fn(O(e)?[]:Yt(e,Vt(this)))}return ge.call(this)}mn.prototype=u(HTMLCollection.prototype,(n(t={constructor:{writable:!0,configurable:!0,value:mn},item:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return this[e]}},length:{enumerable:!0,configurable:!0,get:function(){return gn.get(this).length}},namedItem:{writable:!0,enumerable:!0,configurable:!0,value:function(e){if(""===e)return null;for(var t=gn.get(this),n=0,r=t.length;n<r;n++){var l=t[r];if(e===be.call(l,"id")||e===be.call(l,"name"))return l}return null}}},Symbol.toStringTag,{configurable:!0,get:function(){return"HTMLCollection"}}),n(t,"toString",{writable:!0,configurable:!0,value:function(){return"[object HTMLCollection]"}}),t)),g(mn,HTMLCollection);var Hn=G.prototype.getRootNode,Rn=C(Hn)?function(){for(var e,t=this;!O(e=se.call(t));)t=e;return t}:Hn;c(G.prototype,{firstChild:{get:function(){return bn(this)?En.call(this):ie.call(this)},enumerable:!0,configurable:!0},lastChild:{get:function(){return bn(this)?wn.call(this):ue.call(this)},enumerable:!0,configurable:!0},textContent:{get:function(){return $t(this)||rr(this)?Tn.call(this):ce.call(this)},set:function(e){he.call(this,e)},enumerable:!0,configurable:!0},parentNode:{get:function(){if($t(this))return Nn.call(this);var e=se.call(this);return!O(e)&&jt(e)?Ft(e):e},enumerable:!0,configurable:!0},parentElement:{get:function(){if($t(this))return Ln.call(this);var e=pe.call(this);return!O(e)&&jt(e)?Ft(e):e},enumerable:!0,configurable:!0},childNodes:{get:function(){return bn(this)?On.call(this):ge.call(this)},enumerable:!0,configurable:!0},hasChildNodes:{value:function(){return bn(this)?yn.call(this):oe.call(this)},enumerable:!0,writable:!0,configurable:!0},compareDocumentPosition:{value:function(e){return Lt(this)?te.call(this,e):Mn.call(this,e)},enumerable:!0,writable:!0,configurable:!0},contains:{value:function(e){return this===e||null!=e&&($t(this)||rr(this)?Sn.call(this,e):ae.call(this,e))},enumerable:!0,writable:!0,configurable:!0},cloneNode:{value:function(e){return $t(this)||rr(this)?Cn.call(this,e):ee.call(this,e)},enumerable:!0,writable:!0,configurable:!0},getRootNode:{value:function(e){var t,n;return H(!C(e)&&!!e.composed)?Rn.call(this,e):O(n=Ft(t=this))?Rn.call(t):nr(n)},enumerable:!0,configurable:!0,writable:!0},isConnected:{enumerable:!0,configurable:!0,get:function(){return me.call(this)}}});var Pn=function(e){return e.childNodes};h.call(HTMLElement.prototype,"contains")&&s(HTMLElement.prototype,"contains",f(G.prototype,"contains")),h.call(HTMLElement.prototype,"parentElement")&&s(HTMLElement.prototype,"parentElement",f(G.prototype,"parentElement"));var Dn=new WeakMap,In=new WeakMap;function An(e,t,n){if(t===n)return!0;var r=In.get(e);return C(r)&&(r=e.composedPath(),In.set(e,r)),r.includes(n)}function _n(e){if(!function(e){return P(e)||D(e)&&!O(e)&&P(e.handleEvent)}(e))return e;var t=Dn.get(e);return C(t)&&(t=function(t){var n=Je.call(t);if(An(t,kn(t),n))return P(e)?e.call(this,t):e.handleEvent&&e.handleEvent(t)},Dn.set(e,t)),t}var Bn=new WeakMap,$n=new WeakMap;function xn(e){var t=$n.get(e);return C(t)&&(t=u(null),$n.set(e,t)),t}function kn(e){var t;return null!==(t=cr.get(e))&&void 0!==t?t:ze.call(e)}var Fn=new WeakMap;function jn(e){if(!P(e))throw new TypeError;var t=Fn.get(e);return C(t)&&((t=function(t){var n=Je.call(t);yt(n)||(n=nr(n)),An(t,kn(t),n)&&e.call(n,t)}).placement=1,Fn.set(e,t)),t}var Wn=new WeakMap;function Gn(e){if(!P(e))throw new TypeError;var t=Wn.get(e);return C(t)&&((t=function(t){var n=Je.call(t);An(t,kn(t),n)&&e.call(n,t)}).placement=0,Wn.set(e,t)),t}function Un(e){var t=!1,n=!1,r=e.type,l=e.stopImmediatePropagation,o=e.stopPropagation,a=xn(Je.call(e))[r];s(e,"stopImmediatePropagation",{value:function(){t=!0,l.call(e)},writable:!0,enumerable:!0,configurable:!0}),s(e,"stopPropagation",{value:function(){n=!0,o.call(e)},writable:!0,enumerable:!0,configurable:!0});var i=N.call(a);function u(n){M.call(i,(function(r){R(t)&&r.placement===n&&-1!==d.call(a,r)&&r.call(void 0,e)}))}Bn.set(e,1),u(1),R(t)&&R(n)&&(Bn.set(e,0),u(0)),Bn.set(e,2)}function Kn(e,t,n){var r=xn(e),l=r[t];C(l)&&(l=r[t]=[]),-1===d.call(l,n)&&(0===l.length&&Ct.call(e,t,Un),E.call(l,n))}function qn(e,t,n){var r,l;C(l=xn(e)[t])||-1===(r=d.call(l,n))||(L.call(l,r,1),0===l.length&&Ht.call(e,t,Un))}function Yn(e,t,n){P(t)&&Kn(this,e,Gn(t))}function Xn(e,t,n){P(t)&&qn(this,e,Gn(t))}var Vn=new WeakMap,Qn=document.createDocumentFragment;function zn(e){var t=Vn.get(e);if(C(t))throw new TypeError;return t}function Jn(e){return e[B]}function Zn(e,t){e[B]=t}function er(e){return zn(e).delegatesFocus}function tr(e){return zn(e).host}function nr(e){return zn(e).shadowRoot}function rr(e){var t=Vn.get(e);return!C(t)&&e===t.host}function lr(e){var t=Vn.get(e);return!C(t)&&e===t.shadowRoot}s(G.prototype,B,{set:function(e){var t,n;C(e)||(this[$]=e,t=this,n=e.nodeKey,It(t,Pt,{value:n,configurable:!0}))},get:function(){return this[$]},configurable:!0,enumerable:!0}),s(_,"$isNativeShadowRootDefined$",{value:dt}),C(_[j])&&s(_,j,{value:it}),C(_[W])&&s(_,W,{value:at});var or=0;function ar(e,t){if(Vn.has(e))throw new Error("Failed to execute 'attachShadow' on 'Element': Shadow root cannot be created on a host which already hosts a shadow tree.");var n=t.mode,r=t.delegatesFocus,l=Tt(e),o=Qn.call(l),a={mode:n,delegatesFocus:!!r,host:e,shadowRoot:o};Vn.set(o,a),Vn.set(e,a);var i=function(){return o},u=i.nodeKey=or++;return It(e,Dt,{value:u}),Zn(o,i),g(o,fr.prototype),o}var ir={constructor:{writable:!0,configurable:!0,value:fr},toString:{writable:!0,configurable:!0,value:function(){return"[object ShadowRoot]"}},synthetic:{writable:!1,enumerable:!1,configurable:!1,value:!0}},ur={activeElement:{enumerable:!0,configurable:!0,get:function(){var e=tr(this),t=Tt(e),n=tt.call(t);if(O(n))return n;if(0==(te.call(e,n)&K))return null;for(var r=n;!Gt(e,r);)r=pe.call(r);return Wt(r)?null:r}},delegatesFocus:{configurable:!0,get:function(){return zn(this).delegatesFocus}},elementFromPoint:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return gr(this,Tt(tr(this)),e,t)}},elementsFromPoint:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return hn(this,Tt(tr(this)),e,t)}},getSelection:{writable:!0,enumerable:!0,configurable:!0,value:function(){throw new Error('Disallowed method "getSelection" on ShadowRoot.')}},host:{enumerable:!0,configurable:!0,get:function(){return tr(this)}},mode:{configurable:!0,get:function(){return zn(this).mode}},styleSheets:{enumerable:!0,configurable:!0,get:function(){throw new Error}}},cr=new WeakMap,sr={insertBefore:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return ne.call(tr(this),e,t),e}},removeChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return re.call(tr(this),e),e}},appendChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return Z.call(tr(this),e),e}},replaceChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return le.call(tr(this),e,t),t}},addEventListener:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t,n){!function(e,t,n,r){P(n)&&Kn(tr(e),t,jn(n))}(this,e,t)}},dispatchEvent:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return cr.set(e,this),Ot.apply(tr(this),arguments)}},removeEventListener:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t,n){!function(e,t,n,r){P(n)&&qn(tr(e),t,jn(n))}(this,e,t)}},baseURI:{enumerable:!0,configurable:!0,get:function(){return tr(this).baseURI}},childNodes:{enumerable:!0,configurable:!0,get:function(){return fn(Ut(this))}},cloneNode:{writable:!0,enumerable:!0,configurable:!0,value:function(){throw new Error('Disallowed method "cloneNode" on ShadowRoot.')}},compareDocumentPosition:{writable:!0,enumerable:!0,configurable:!0,value:function(e){var t=tr(this);return this===e?0:this.contains(e)?20:te.call(t,e)&K?37:35}},contains:{writable:!0,enumerable:!0,configurable:!0,value:function(e){if(this===e)return!0;var t=tr(this);return 0!=(te.call(t,e)&K)&&Gt(t,e)}},firstChild:{enumerable:!0,configurable:!0,get:function(){return Pn(this)[0]||null}},lastChild:{enumerable:!0,configurable:!0,get:function(){var e=Pn(this);return e[e.length-1]||null}},hasChildNodes:{writable:!0,enumerable:!0,configurable:!0,value:function(){return Pn(this).length>0}},isConnected:{enumerable:!0,configurable:!0,get:function(){return me.call(tr(this))}},nextSibling:{enumerable:!0,configurable:!0,get:function(){return null}},previousSibling:{enumerable:!0,configurable:!0,get:function(){return null}},nodeName:{enumerable:!0,configurable:!0,get:function(){return"#document-fragment"}},nodeType:{enumerable:!0,configurable:!0,get:function(){return 11}},nodeValue:{enumerable:!0,configurable:!0,get:function(){return null}},ownerDocument:{enumerable:!0,configurable:!0,get:function(){return tr(this).ownerDocument}},parentElement:{enumerable:!0,configurable:!0,get:function(){return null}},parentNode:{enumerable:!0,configurable:!0,get:function(){return null}},textContent:{enumerable:!0,configurable:!0,get:function(){for(var e=Pn(this),t="",n=0,r=e.length;n<r;n+=1){var l=e[n];l.nodeType!==J&&(t+=un(l))}return t},set:function(e){var t=tr(this);he.call(t,e)}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return!C(e)&&H(e.composed)?tr(this).getRootNode(e):this}}};function fr(){throw new TypeError("Illegal constructor")}function pr(e,t){var n,r=[];if(e instanceof Window)n=e;else{if(!(e instanceof G))return r;n=e.getRootNode()}for(var l,o=e;!O(o);)if(r.push(o),o instanceof Element||o instanceof Text){var a=o.assignedSlot;o=O(a)?o.parentNode:a}else o=!lr(o)&&!yt(o)||!t&&o===n?o instanceof G?o.parentNode:null:o.host;return l=e instanceof Window?e.document:Tt(e),r[r.length-1]===l&&r.push(window),r}
|
|
1
|
+
!function(){"use strict";var e,t;function n(e,t,n){return(t=o(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,o(r.key),r)}}function l(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function o(e){var t=function(e,t){if("object"!==a(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===a(t)?t:String(t)}function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}var i=Object.assign,u=Object.create,c=Object.defineProperties,s=Object.defineProperty,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.hasOwnProperty,g=Object.setPrototypeOf,m=Array.prototype,v=m.filter,b=m.find,d=m.indexOf,y=m.map,E=m.push,w=m.reduce,T=m.reverse,N=m.slice,L=m.splice,M=m.forEach,S=String.prototype.charCodeAt;function C(e){return void 0===e}function O(e){return null===e}function H(e){return!0===e}function R(e){return!1===e}function D(e){return"function"==typeof e}function P(e){return"object"===a(e)}var I,A,B="object"===("undefined"==typeof globalThis?"undefined":a(globalThis))?globalThis:window,$="$shadowResolver$",_="$$ShadowResolverKey$$",x="$shadowStaticNodeKey$",k="$shadowToken$",F="$$ShadowTokenKey$$",j="$nativeGetElementById$",W="$nativeQuerySelectorAll$",G=Node,U=G.prototype,K=G.DOCUMENT_POSITION_CONTAINED_BY,q=G.DOCUMENT_POSITION_PRECEDING,Y=G.DOCUMENT_POSITION_FOLLOWING,X=G.ELEMENT_NODE,V=G.TEXT_NODE,Q=G.CDATA_SECTION_NODE,z=G.PROCESSING_INSTRUCTION_NODE,J=G.COMMENT_NODE,Z=U.appendChild,ee=U.cloneNode,te=U.compareDocumentPosition,ne=U.insertBefore,re=U.removeChild,le=U.replaceChild,oe=U.hasChildNodes,ae=HTMLElement.prototype.contains,ie=f(U,"firstChild").get,ue=f(U,"lastChild").get,ce=f(U,"textContent").get,se=f(U,"parentNode").get,fe=f(U,"ownerDocument").get,pe=h.call(U,"parentElement")?f(U,"parentElement").get:f(HTMLElement.prototype,"parentElement").get,he=f(U,"textContent").set,ge=h.call(U,"childNodes")?f(U,"childNodes").get:f(HTMLElement.prototype,"childNodes").get,me=h.call(U,"isConnected")?f(U,"isConnected").get:function(){var e=fe.call(this);return null===e||0!=(te.call(e,this)&K)},ve=Element.prototype,be=ve.getAttribute,de=ve.getBoundingClientRect,ye=ve.getElementsByTagName,Ee=ve.getElementsByTagNameNS,we=ve.hasAttribute,Te=ve.querySelector,Ne=ve.querySelectorAll,Le=ve.removeAttribute,Me=ve.setAttribute,Se=h.call(Element.prototype,"attachShadow")?Element.prototype.attachShadow:function(){throw new TypeError("attachShadow() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill and use Lightning Web Components")},Ce=f(Element.prototype,"childElementCount").get,Oe=f(Element.prototype,"firstElementChild").get,He=f(Element.prototype,"lastElementChild").get,Re=f(HTMLElement.prototype,"innerText"),De=Re?Re.get:null,Pe=Re?Re.set:null,Ie=f(HTMLElement.prototype,"outerText"),Ae=Ie?Ie.get:null,Be=Ie?Ie.set:null,$e=h.call(Element.prototype,"innerHTML")?f(Element.prototype,"innerHTML"):f(HTMLElement.prototype,"innerHTML"),_e=$e.get,xe=$e.set,ke=h.call(Element.prototype,"outerHTML")?f(Element.prototype,"outerHTML"):f(HTMLElement.prototype,"outerHTML"),Fe=ke.get,je=ke.set,We=f(Element.prototype,"tagName").get,Ge=f(HTMLElement.prototype,"tabIndex"),Ue=Ge.get,Ke=Ge.set,qe=h.call(Element.prototype,"matches")?Element.prototype.matches:Element.prototype.msMatchesSelector,Ye=h.call(Element.prototype,"children")?f(Element.prototype,"children").get:f(HTMLElement.prototype,"children").get,Xe=HTMLElement.prototype.getElementsByClassName,Ve=h.call(Element.prototype,"shadowRoot")?f(Element.prototype,"shadowRoot").get:function(){return null},Qe=h.call(Element.prototype,"assignedSlot")?f(Element.prototype,"assignedSlot").get:function(){return null};"undefined"!=typeof HTMLSlotElement?(I=HTMLSlotElement.prototype.assignedNodes,A=HTMLSlotElement.prototype.assignedElements):(I=function(){throw new TypeError("assignedNodes() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill to start using <slot> elements in your Lightning Web Component's template")},A=function(){throw new TypeError("assignedElements() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill to start using <slot> elements in your Lightning Web Component's template")});var ze=f(Event.prototype,"target").get,Je=f(Event.prototype,"currentTarget").get,Ze=f(FocusEvent.prototype,"relatedTarget").get,et=h.call(Event.prototype,"composedPath")?Event.prototype.composedPath:function(){return[]},tt=f(Document.prototype,"activeElement").get,nt=h.call(Document.prototype,"elementFromPoint")?Document.prototype.elementFromPoint:Document.prototype.msElementFromPoint,rt=h.call(Document.prototype,"elementsFromPoint")?Document.prototype.elementsFromPoint:Document.prototype.msElementsFromPoint,lt=f(Document.prototype,"defaultView").get,ot=Document.prototype,at=ot.querySelectorAll,it=ot.getElementById,ut=ot.getElementsByClassName,ct=ot.getElementsByTagName,st=ot.getElementsByTagNameNS,ft=HTMLDocument.prototype.getElementsByName,pt=window,ht=pt.addEventListener,gt=pt.removeEventListener,mt=MutationObserver,vt=mt.prototype.observe,bt=null;"undefined"!=typeof ShadowRoot&&(bt=ShadowRoot);var dt=!O(bt),yt=O(bt)?function(){return!1}:function(e){return e instanceof bt};var Et,wt=Document.prototype.createElement;function Tt(e){var t=fe.call(e);return null===t?e:t}function Nt(e){var t=Tt(e),n=lt.call(t);if(null===n)throw new TypeError;return n}function Lt(e){if(C(Et)){var t=Tt(e);Et=t.body&&"temporary-bypass"===be.call(t.body,"data-global-patching-bypass")}return H(Et)}function Mt(e){var t=e.length,n=[];if(t>0)for(var r=0;r<t;r++)n[r]=e[r];return n}"undefined"==typeof HTMLSlotElement&&function(){var e=l((function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}));g(e,HTMLElement.constructor),g(e.prototype,HTMLElement.prototype),Window.prototype.HTMLSlotElement=e,s(Document.prototype,"createElement",{value:function(t,n){var r=wt.apply(this,N.call(arguments));return 4===t.length&&115===S.call(t,0)&&108===S.call(t,1)&&111===S.call(t,2)&&116===S.call(t,3)&&g(r,e.prototype),r}})}();var St="undefined"!=typeof EventTarget?EventTarget.prototype:G.prototype,Ct=St.addEventListener,Ot=St.dispatchEvent,Ht=St.removeEventListener;B.lwcRuntimeFlags||Object.defineProperty(B,"lwcRuntimeFlags",{value:u(null)});var Rt=B.lwcRuntimeFlags,Dt="$$HostElementKey$$",Pt="$$ShadowedNodeKey$$";function It(e,t,n){var r=e,l=n.value;r[t]=l}function At(e){return e[Dt]}function Bt(e){for(var t,n=e;!O(n);){if(!C(t=At(n)))return t;if(n=se.call(n),Rt.ENABLE_LIGHT_GET_ROOT_NODE_PATCH&&!O(n)&&jt(n))return}}function $t(e){return e[Pt]}function _t(e){return!C(At(e))}function xt(e){for(var t=pe.call(e);!O(t)&&Wt(t);)e=t,t=pe.call(e);return e}function kt(e,t){for(var n=$t(e),r=t instanceof Element?t:pe.call(t);!O(r)&&r!==e;){var l=Bt(r),o=pe.call(r);if(l===n)return Wt(r);if(o===e)return!1;if(O(o)||Bt(o)===l)r=o;else{if(!Wt(o))return!1;if(!O(r=Ft(xt(o)))){if(r===e)return!0;if(Bt(r)===n)return!0}}}return!1}function Ft(e){if(!(e instanceof G))return null;var t=Bt(e);if(C(t))return null;for(var n=e;!O(n)&&$t(n)!==t;)n=se.call(n);return O(n)?null:n}function jt(e){return Wt(e)&&_t(e)}function Wt(e){return e instanceof HTMLSlotElement}function Gt(e,t){var n=Bt(t);if(C(n)){if(Rt.ENABLE_LIGHT_GET_ROOT_NODE_PATCH){var r=se.call(t);if(!O(r)&&jt(r))return!1}return!0}return $t(e)===n}function Ut(e){var t=tr(e);return Yt(t,Mt(ge.call(t)))}function Kt(e,t){for(var n=[],r=0,l=t.length;r<l;r+=1){var o=t[r];!Gt(e,o)&&kt(e,o)&&E.call(n,o)}return n}function qt(e,t){for(var n=0,r=t.length;n<r;n+=1){var l=t[n];if(!Gt(e,l)&&kt(e,l))return l}return null}function Yt(e,t){for(var n=[],r=0,l=t.length;r<l;r+=1){var o=t[r];Gt(e,o)&&E.call(n,o)}return n}function Xt(e,t){for(var n=0,r=t.length;n<r;n+=1)if(Gt(e,t[n]))return t[n];return null}function Vt(e){if(!rr(e)&&!Wt(e))return Mt(ge.call(e));if(rr(e)){var t=Mt(Ne.call(e,"slot")),n=Jn(nr(e));return w.call(t,(function(e,t){return n===Jn(t)&&E.apply(e,Qt(t)),e}),[])}var r=Mt(ge.call(e)),l=Jn(e);return v.call(r,(function(e){return l===Jn(e)}))}function Qt(e){var t=Ft(e);if(O(t))return[];var n=Mt(ge.call(e));return v.call(n,(function(e){return!_t(e)||!Gt(t,e)}))}var zt=/[&\u00A0"]/g,Jt=/[&\u00A0<>]/g,Zt=String.prototype,en=Zt.replace,tn=Zt.toLowerCase;function nn(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" ";default:return""}}function rn(e){return en.call(e,zt,nn)}var ln=new Set(["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"]),on=new Set(["STYLE","SCRIPT","XMP","IFRAME","NOEMBED","NOFRAMES","PLAINTEXT","NOSCRIPT"]);function an(e){switch(e.nodeType){case X:for(var t,n=e.attributes,r=We.call(e),l="<"+tn.call(r),o=0;t=n[o];o++)l+=" "+t.name+'="'+rn(t.value)+'"';return l+=">",ln.has(r)?l:l+function(e){for(var t="",n=Vt(e),r=0,l=n.length;r<l;r+=1)t+=an(n[r]);return t}(e)+"</"+tn.call(r)+">";case V:var a=e.data,i=e.parentNode;return i instanceof Element&&on.has(We.call(i))?a:function(e){return en.call(e,Jt,nn)}(a);case Q:return"<!CDATA[[".concat(e.data,"]]>");case z:return"<?".concat(e.target," ").concat(e.data,"?>");case J:return"\x3c!--".concat(e.data,"--\x3e");default:return""}}function un(e){if(e.nodeType===X){for(var t=Vt(e),n="",r=0,l=t.length;r<l;r+=1){var o=t[r];o.nodeType!==J&&(n+=un(o))}return n}return e.nodeValue}var cn=new WeakMap;function sn(){throw new TypeError("Illegal constructor")}function fn(e){var t=u(sn.prototype);return cn.set(t,e),M.call(e,(function(e,n){s(t,n,{value:e,enumerable:!0,configurable:!0})})),t}sn.prototype=u(NodeList.prototype,(n(e={constructor:{writable:!0,configurable:!0,value:sn},item:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return this[e]}},length:{enumerable:!0,configurable:!0,get:function(){return cn.get(this).length}},forEach:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){M.call(cn.get(this),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value:function(){return y.call(cn.get(this),(function(e,t){return[t,e]}))}},keys:{writable:!0,enumerable:!0,configurable:!0,value:function(){return y.call(cn.get(this),(function(e,t){return t}))}},values:{writable:!0,enumerable:!0,configurable:!0,value:function(){return cn.get(this)}}},Symbol.iterator,{writable:!0,configurable:!0,value:function(){var e=this,t=0;return{next:function(){var n=cn.get(e);return t<n.length?{value:n[t++],done:!1}:{done:!0}}}}}),n(e,Symbol.toStringTag,{configurable:!0,get:function(){return"NodeList"}}),n(e,"toString",{writable:!0,configurable:!0,value:function(){return"[object NodeList]"}}),e)),g(sn,NodeList);var pn=function(e,t){for(var n;!C(n=e.host);){var r=n.getRootNode();if(r===t)return n;e=r}};function hn(e,t,n,r){var l=rt.call(t,n,r),o=[],a=function(e){for(var t,n=[],r=e.getRootNode();!C(r);)n.push(r),r=null===(t=r.host)||void 0===t?void 0:t.getRootNode();return n}(e);if(!O(l))for(var i=0;i<l.length;i++){var u=l[i];if(!jt(u)){var c=u.getRootNode();if(-1===d.call(a,c)){var s=pn(c,a[0]);C(s)||-1!==d.call(l,s)||-1!==d.call(o,s)||E.call(o,s)}else E.call(o,u)}}return o}var gn=new WeakMap;function mn(){throw new TypeError("Illegal constructor")}function vn(e){var t=u(mn.prototype);return gn.set(t,e),M.call(e,(function(e,n){s(t,n,{value:e,enumerable:!0,configurable:!0})})),t}function bn(e){return jt(e)||rr(e)}function dn(e,t){var n=Ft(e);if(t===n)return nr(n);if(t instanceof Element){if(Bt(e)===Bt(t))return t;if(!O(n)&&Wt(t)){var r=Ft(t);if(!O(r)&&Gt(n,r))return r}}return null}function yn(){return Dn(this).length>0}function En(){return Dn(this)[0]||null}function wn(){var e=Dn(this);return e[e.length-1]||null}function Tn(){return un(this)}function Nn(){var e=se.call(this);return O(e)?e:dn(this,e)}function Ln(){var e=se.call(this);if(O(e))return null;var t=dn(this,e);return t instanceof Element?t:null}function Mn(e){return this===e?0:this.getRootNode()===e?10:At(this)!==At(e)?35:te.call(this,e)}function Sn(e){return null!=e&&At(this)===At(e)&&0!=(te.call(this,e)&K)}function Cn(e){var t=ee.call(this,!1);if(!e)return t;for(var n=Dn(this),r=0,l=n.length;r<l;r+=1)t.appendChild(n[r].cloneNode(!0));return t}function On(){if(rr(this)){var e=Ft(this);return fn(O(e)?[]:Yt(e,Vt(this)))}return ge.call(this)}mn.prototype=u(HTMLCollection.prototype,(n(t={constructor:{writable:!0,configurable:!0,value:mn},item:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return this[e]}},length:{enumerable:!0,configurable:!0,get:function(){return gn.get(this).length}},namedItem:{writable:!0,enumerable:!0,configurable:!0,value:function(e){if(""===e)return null;for(var t=gn.get(this),n=0,r=t.length;n<r;n++){var l=t[r];if(e===be.call(l,"id")||e===be.call(l,"name"))return l}return null}}},Symbol.toStringTag,{configurable:!0,get:function(){return"HTMLCollection"}}),n(t,"toString",{writable:!0,configurable:!0,value:function(){return"[object HTMLCollection]"}}),t)),g(mn,HTMLCollection);var Hn=G.prototype.getRootNode,Rn=C(Hn)?function(){for(var e,t=this;!O(e=se.call(t));)t=e;return t}:Hn;c(G.prototype,{firstChild:{get:function(){return bn(this)?En.call(this):ie.call(this)},enumerable:!0,configurable:!0},lastChild:{get:function(){return bn(this)?wn.call(this):ue.call(this)},enumerable:!0,configurable:!0},textContent:{get:function(){return _t(this)||rr(this)?Tn.call(this):ce.call(this)},set:function(e){he.call(this,e)},enumerable:!0,configurable:!0},parentNode:{get:function(){if(_t(this))return Nn.call(this);var e=se.call(this);return!O(e)&&jt(e)?Ft(e):e},enumerable:!0,configurable:!0},parentElement:{get:function(){if(_t(this))return Ln.call(this);var e=pe.call(this);return!O(e)&&jt(e)?Ft(e):e},enumerable:!0,configurable:!0},childNodes:{get:function(){return bn(this)?On.call(this):ge.call(this)},enumerable:!0,configurable:!0},hasChildNodes:{value:function(){return bn(this)?yn.call(this):oe.call(this)},enumerable:!0,writable:!0,configurable:!0},compareDocumentPosition:{value:function(e){return Lt(this)?te.call(this,e):Mn.call(this,e)},enumerable:!0,writable:!0,configurable:!0},contains:{value:function(e){return this===e||null!=e&&(_t(this)||rr(this)?Sn.call(this,e):ae.call(this,e))},enumerable:!0,writable:!0,configurable:!0},cloneNode:{value:function(e){return _t(this)||rr(this)?Cn.call(this,e):ee.call(this,e)},enumerable:!0,writable:!0,configurable:!0},getRootNode:{value:function(e){var t,n;return H(!C(e)&&!!e.composed)?Rn.call(this,e):O(n=Ft(t=this))?Rn.call(t):nr(n)},enumerable:!0,configurable:!0,writable:!0},isConnected:{enumerable:!0,configurable:!0,get:function(){return me.call(this)}}});var Dn=function(e){return e.childNodes};h.call(HTMLElement.prototype,"contains")&&s(HTMLElement.prototype,"contains",f(G.prototype,"contains")),h.call(HTMLElement.prototype,"parentElement")&&s(HTMLElement.prototype,"parentElement",f(G.prototype,"parentElement"));var Pn=new WeakMap,In=new WeakMap;function An(e,t,n){if(t===n)return!0;var r=In.get(e);return C(r)&&(r=e.composedPath(),In.set(e,r)),r.includes(n)}function Bn(e){if(!function(e){return D(e)||P(e)&&!O(e)&&D(e.handleEvent)}(e))return e;var t=Pn.get(e);return C(t)&&(t=function(t){var n=Je.call(t);if(An(t,kn(t),n))return D(e)?e.call(this,t):e.handleEvent&&e.handleEvent(t)},Pn.set(e,t)),t}var $n=new WeakMap,_n=new WeakMap;function xn(e){var t=_n.get(e);return C(t)&&(t=u(null),_n.set(e,t)),t}function kn(e){var t;return null!==(t=cr.get(e))&&void 0!==t?t:ze.call(e)}var Fn=new WeakMap;function jn(e){if(!D(e))throw new TypeError;var t=Fn.get(e);return C(t)&&((t=function(t){var n=Je.call(t);yt(n)||(n=nr(n)),An(t,kn(t),n)&&e.call(n,t)}).placement=1,Fn.set(e,t)),t}var Wn=new WeakMap;function Gn(e){if(!D(e))throw new TypeError;var t=Wn.get(e);return C(t)&&((t=function(t){var n=Je.call(t);An(t,kn(t),n)&&e.call(n,t)}).placement=0,Wn.set(e,t)),t}function Un(e){var t=!1,n=!1,r=e.type,l=e.stopImmediatePropagation,o=e.stopPropagation,a=xn(Je.call(e))[r];s(e,"stopImmediatePropagation",{value:function(){t=!0,l.call(e)},writable:!0,enumerable:!0,configurable:!0}),s(e,"stopPropagation",{value:function(){n=!0,o.call(e)},writable:!0,enumerable:!0,configurable:!0});var i=N.call(a);function u(n){M.call(i,(function(r){R(t)&&r.placement===n&&-1!==d.call(a,r)&&r.call(void 0,e)}))}$n.set(e,1),u(1),R(t)&&R(n)&&($n.set(e,0),u(0)),$n.set(e,2)}function Kn(e,t,n){var r=xn(e),l=r[t];C(l)&&(l=r[t]=[]),-1===d.call(l,n)&&(0===l.length&&Ct.call(e,t,Un),E.call(l,n))}function qn(e,t,n){var r,l;C(l=xn(e)[t])||-1===(r=d.call(l,n))||(L.call(l,r,1),0===l.length&&Ht.call(e,t,Un))}function Yn(e,t,n){D(t)&&Kn(this,e,Gn(t))}function Xn(e,t,n){D(t)&&qn(this,e,Gn(t))}var Vn=new WeakMap,Qn=document.createDocumentFragment;function zn(e){var t=Vn.get(e);if(C(t))throw new TypeError;return t}function Jn(e){return e[$]}function Zn(e,t){e[$]=t}function er(e){return zn(e).delegatesFocus}function tr(e){return zn(e).host}function nr(e){return zn(e).shadowRoot}function rr(e){var t=Vn.get(e);return!C(t)&&e===t.host}function lr(e){var t=Vn.get(e);return!C(t)&&e===t.shadowRoot}s(G.prototype,$,{set:function(e){var t,n;C(e)||(this[_]=e,t=this,n=e.nodeKey,It(t,Dt,{value:n,configurable:!0}))},get:function(){return this[_]},configurable:!0,enumerable:!0}),s(B,"$isNativeShadowRootDefined$",{value:dt}),C(B[j])&&s(B,j,{value:it}),C(B[W])&&s(B,W,{value:at});var or=0;function ar(e,t){if(Vn.has(e))throw new Error("Failed to execute 'attachShadow' on 'Element': Shadow root cannot be created on a host which already hosts a shadow tree.");var n=t.mode,r=t.delegatesFocus,l=Tt(e),o=Qn.call(l),a={mode:n,delegatesFocus:!!r,host:e,shadowRoot:o};Vn.set(o,a),Vn.set(e,a);var i=function(){return o},u=i.nodeKey=or++;return It(e,Pt,{value:u}),Zn(o,i),g(o,fr.prototype),o}var ir={constructor:{writable:!0,configurable:!0,value:fr},toString:{writable:!0,configurable:!0,value:function(){return"[object ShadowRoot]"}},synthetic:{writable:!1,enumerable:!1,configurable:!1,value:!0}},ur={activeElement:{enumerable:!0,configurable:!0,get:function(){var e=tr(this),t=Tt(e),n=tt.call(t);if(O(n))return n;if(0==(te.call(e,n)&K))return null;for(var r=n;!Gt(e,r);)r=pe.call(r);return Wt(r)?null:r}},delegatesFocus:{configurable:!0,get:function(){return zn(this).delegatesFocus}},elementFromPoint:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return gr(this,Tt(tr(this)),e,t)}},elementsFromPoint:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return hn(this,Tt(tr(this)),e,t)}},getSelection:{writable:!0,enumerable:!0,configurable:!0,value:function(){throw new Error('Disallowed method "getSelection" on ShadowRoot.')}},host:{enumerable:!0,configurable:!0,get:function(){return tr(this)}},mode:{configurable:!0,get:function(){return zn(this).mode}},styleSheets:{enumerable:!0,configurable:!0,get:function(){throw new Error}}},cr=new WeakMap,sr={insertBefore:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return ne.call(tr(this),e,t),e}},removeChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return re.call(tr(this),e),e}},appendChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return Z.call(tr(this),e),e}},replaceChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return le.call(tr(this),e,t),t}},addEventListener:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t,n){!function(e,t,n,r){D(n)&&Kn(tr(e),t,jn(n))}(this,e,t)}},dispatchEvent:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return cr.set(e,this),Ot.apply(tr(this),arguments)}},removeEventListener:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t,n){!function(e,t,n,r){D(n)&&qn(tr(e),t,jn(n))}(this,e,t)}},baseURI:{enumerable:!0,configurable:!0,get:function(){return tr(this).baseURI}},childNodes:{enumerable:!0,configurable:!0,get:function(){return fn(Ut(this))}},cloneNode:{writable:!0,enumerable:!0,configurable:!0,value:function(){throw new Error('Disallowed method "cloneNode" on ShadowRoot.')}},compareDocumentPosition:{writable:!0,enumerable:!0,configurable:!0,value:function(e){var t=tr(this);return this===e?0:this.contains(e)?20:te.call(t,e)&K?37:35}},contains:{writable:!0,enumerable:!0,configurable:!0,value:function(e){if(this===e)return!0;var t=tr(this);return 0!=(te.call(t,e)&K)&&Gt(t,e)}},firstChild:{enumerable:!0,configurable:!0,get:function(){return Dn(this)[0]||null}},lastChild:{enumerable:!0,configurable:!0,get:function(){var e=Dn(this);return e[e.length-1]||null}},hasChildNodes:{writable:!0,enumerable:!0,configurable:!0,value:function(){return Dn(this).length>0}},isConnected:{enumerable:!0,configurable:!0,get:function(){return me.call(tr(this))}},nextSibling:{enumerable:!0,configurable:!0,get:function(){return null}},previousSibling:{enumerable:!0,configurable:!0,get:function(){return null}},nodeName:{enumerable:!0,configurable:!0,get:function(){return"#document-fragment"}},nodeType:{enumerable:!0,configurable:!0,get:function(){return 11}},nodeValue:{enumerable:!0,configurable:!0,get:function(){return null}},ownerDocument:{enumerable:!0,configurable:!0,get:function(){return tr(this).ownerDocument}},parentElement:{enumerable:!0,configurable:!0,get:function(){return null}},parentNode:{enumerable:!0,configurable:!0,get:function(){return null}},textContent:{enumerable:!0,configurable:!0,get:function(){for(var e=Dn(this),t="",n=0,r=e.length;n<r;n+=1){var l=e[n];l.nodeType!==J&&(t+=un(l))}return t},set:function(e){var t=tr(this);he.call(t,e)}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return!C(e)&&H(e.composed)?tr(this).getRootNode(e):this}}};function fr(){throw new TypeError("Illegal constructor")}function pr(e,t){var n,r=[];if(e instanceof Window)n=e;else{if(!(e instanceof G))return r;n=e.getRootNode()}for(var l,o=e;!O(o);)if(r.push(o),o instanceof Element||o instanceof Text){var a=o.assignedSlot;o=O(a)?o.parentNode:a}else o=!lr(o)&&!yt(o)||!t&&o===n?o instanceof G?o.parentNode:null:o.host;return l=e instanceof Window?e.document:Tt(e),r[r.length-1]===l&&r.push(window),r}
|
|
2
2
|
/**
|
|
3
3
|
@license
|
|
4
4
|
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
|
@@ -7,4 +7,4 @@
|
|
|
7
7
|
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
8
8
|
Code distributed by Google as part of the polymer project is also
|
|
9
9
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
10
|
-
*/function hr(e,t){if(O(e))return null;for(var n,r,l,o,a=pr(e,!0),i=t,u=0;u<i.length;u++)if((l=(n=i[u])instanceof Window?n:n.getRootNode())!==r&&(o=a.indexOf(l),r=l),!lr(l)||!C(o)&&o>-1)return n;return null}function gr(e,t,n,r){var l=nt.call(t,n,r);return O(l)?l:hr(e,pr(l,!0))}i(ir,sr,{childElementCount:{enumerable:!0,configurable:!0,get:function(){return this.children.length}},children:{enumerable:!0,configurable:!0,get:function(){return vn(v.call(Ut(this),(function(e){return e instanceof Element})))}},firstElementChild:{enumerable:!0,configurable:!0,get:function(){return this.children[0]||null}},lastElementChild:{enumerable:!0,configurable:!0,get:function(){var e=this.children;return e.item(e.length-1)||null}},getElementById:{writable:!0,enumerable:!0,configurable:!0,value:function(){throw new Error('Disallowed method "getElementById" on ShadowRoot.')}},querySelector:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return t=e,Xt(n=tr(this),Mt(Ne.call(n,t)));var t,n}},querySelectorAll:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return fn((t=e,Yt(n=tr(this),Mt(Ne.call(n,t)))));var t,n}}},{innerHTML:{enumerable:!0,configurable:!0,get:function(){for(var e=Pn(this),t="",n=0,r=e.length;n<r;n+=1)t+=an(e[n]);return t},set:function(e){var t=tr(this);xe.call(t,e)}}},ur),fr.prototype=u(DocumentFragment.prototype,ir),s(fr,Symbol.hasInstance,{value:function(e){return D(e)&&!O(e)&&(yt(e)||p(e)===fr.prototype)}}),Document.prototype.elementFromPoint=function(e,t){return gr(this,this,e,t)},Document.prototype.elementsFromPoint=function(e,t){return hn(this,this,e,t)},s(Document.prototype,"activeElement",{get:function(){var e=tt.call(this);if(O(e))return e;for(;!C(At(e));)if(O(e=pe.call(e)))return null;return"HTML"===e.tagName&&(e=this.body),e},enumerable:!0,configurable:!0}),s(Document.prototype,"getElementById",{value:function(){var e=it.apply(this,N.call(arguments));return O(e)?null:C(At(e))||Lt(e)?e:null},writable:!0,enumerable:!0,configurable:!0}),s(Document.prototype,"querySelector",{value:function(){var e=Mt(at.apply(this,N.call(arguments))),t=b.call(e,(function(e){return C(At(e))||Lt(e)}));return C(t)?null:t},writable:!0,enumerable:!0,configurable:!0}),s(Document.prototype,"querySelectorAll",{value:function(){var e=Mt(at.apply(this,N.call(arguments))),t=v.call(e,(function(e){return C(At(e))||Lt(e)}));return fn(t)},writable:!0,enumerable:!0,configurable:!0}),s(Document.prototype,"getElementsByClassName",{value:function(){var e=Mt(ut.apply(this,N.call(arguments))),t=v.call(e,(function(e){return C(At(e))||Lt(e)}));return vn(t)},writable:!0,enumerable:!0,configurable:!0}),s(Document.prototype,"getElementsByTagName",{value:function(){var e=Mt(ct.apply(this,N.call(arguments))),t=v.call(e,(function(e){return C(At(e))||Lt(e)}));return vn(t)},writable:!0,enumerable:!0,configurable:!0}),s(Document.prototype,"getElementsByTagNameNS",{value:function(){var e=Mt(st.apply(this,N.call(arguments))),t=v.call(e,(function(e){return C(At(e))||Lt(e)}));return vn(t)},writable:!0,enumerable:!0,configurable:!0}),s(f(HTMLDocument.prototype,"getElementsByName")?HTMLDocument.prototype:Document.prototype,"getElementsByName",{value:function(){var e=Mt(ft.apply(this,N.call(arguments))),t=v.call(e,(function(e){return C(At(e))||Lt(e)}));return fn(t)},writable:!0,enumerable:!0,configurable:!0}),Object.defineProperty(window,"ShadowRoot",{value:fr,configurable:!0,writable:!0});var mr=Object.getOwnPropertyDescriptor(Event.prototype,"composed");var vr=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"click");function br(e){Object.defineProperty(e,"composed",{configurable:!0,enumerable:!0,get:function(){return!0}})}(function(){if(!mr)return!1;var e=new Event("click"),t=document.createElement("button");return t.addEventListener("click",(function(t){return e=t})),t.click(),!mr.get.call(e)})()&&(HTMLElement.prototype.click=function(){Ct.call(this,"click",br);try{vr.value.call(this)}finally{Ht.call(this,"click",br)}}),!0!==new Event("test",{composed:!0}).composed&&function(){var e=i(u(null),{beforeinput:1,blur:1,click:1,compositionend:1,compositionstart:1,compositionupdate:1,copy:1,cut:1,dblclick:1,DOMActivate:1,DOMFocusIn:1,DOMFocusOut:1,drag:1,dragend:1,dragenter:1,dragleave:1,dragover:1,dragstart:1,drop:1,focus:1,focusin:1,focusout:1,gotpointercapture:1,input:1,keydown:1,keypress:1,keyup:1,lostpointercapture:1,mousedown:1,mouseenter:1,mouseleave:1,mousemove:1,mouseout:1,mouseover:1,mouseup:1,paste:1,pointercancel:1,pointerdown:1,pointerenter:1,pointerleave:1,pointermove:1,pointerout:1,pointerover:1,pointerup:1,touchcancel:1,touchend:1,touchmove:1,touchstart:1,wheel:1}),t=Event;function n(e,n){var r=new t(e,n),l=!(!n||!n.composed);return Object.defineProperties(r,{composed:{get:function(){return l},configurable:!0,enumerable:!0}}),r}n.prototype=t.prototype,n.AT_TARGET=t.AT_TARGET,n.BUBBLING_PHASE=t.BUBBLING_PHASE,n.CAPTURING_PHASE=t.CAPTURING_PHASE,n.NONE=t.NONE,window.Event=n,Object.defineProperties(Event.prototype,{composed:{get:function(){var t=this.type;return 1===e[t]},configurable:!0,enumerable:!0}})}();var dr,yr,Er,wr,Tr=CustomEvent;function Nr(e,t){var n=new Tr(e,t),r=!(!t||!t.composed);return Object.defineProperties(n,{composed:{get:function(){return r},configurable:!0,enumerable:!0}}),n}if(Nr.prototype=Tr.prototype,window.CustomEvent=Nr,"undefined"!=typeof ClipboardEvent){var Lr=i(u(null),{copy:1,cut:1,paste:1});c(ClipboardEvent.prototype,{composed:{get:function(){var e=this.type;return 1===Lr[e]},configurable:!0,enumerable:!0}})}Er="undefined"!=typeof HTMLIFrameElement,wr="undefined"!=typeof Proxy&&H(Proxy.isCompat),Er&&wr&&(dr=f(HTMLIFrameElement.prototype,"contentWindow"),yr=dr.get,dr.get=function(){var e,t=yr.call(this);return O(t)||C(At(this))?t:(e=t,{addEventListener:function(){return e.addEventListener.apply(e,arguments)},blur:function(){return e.blur.apply(e,arguments)},close:function(){return e.close.apply(e,arguments)},focus:function(){return e.focus.apply(e,arguments)},postMessage:function(){return e.postMessage.apply(e,arguments)},removeEventListener:function(){return e.removeEventListener.apply(e,arguments)},get closed(){return e.closed},get frames(){return e.frames},get length(){return e.length},get location(){return e.location},set location(t){e.location=t},get opener(){return e.opener},get parent(){return e.parent},get self(){return e.self},get top(){return e.top},get window(){return e.window}})},s(HTMLIFrameElement.prototype,"contentWindow",dr));var Mr=MutationObserver,Sr=Mr.prototype,Cr=Sr.disconnect,Or=Sr.observe,Hr=Sr.takeRecords,Rr="$$lwcObserverCallbackWrapper$$",Pr="$$lwcNodeObservers$$",Dr=new WeakMap;function Ir(e){return e[Pr]}function Ar(e){var t=e.addedNodes,n=e.removedNodes,r=e.target,l=e.type,o=u(MutationRecord.prototype);return c(o,{addedNodes:{get:function(){return t},enumerable:!0,configurable:!0},removedNodes:{get:function(){return n},enumerable:!0,configurable:!0},type:{get:function(){return l},enumerable:!0,configurable:!0},target:{get:function(){return r.shadowRoot},enumerable:!0,configurable:!0}}),o}function _r(e,t){for(var n=t;!O(n);){var r=Ir(n);if(!C(r)&&(r[0]===e||-1!==d.call(r,e)))return!0;n=n.parentNode}return!1}function Br(e,t){return w.call(e,(function(e,n){var r=n.target,l=n.addedNodes,o=n.removedNodes;if("childList"!==n.type||C(Bt(r)))_r(t,r)&&E.call(e,n);else if(l.length>0){var a=l[0];if(_r(t,a)){var i=Ir(r);!i||i[0]!==t&&-1===d.call(i,t)?E.call(e,Ar(n)):E.call(e,n)}}else{var u=r.shadowRoot,c=o[0];if(_t(r)===_t(c)&&_r(t,r))E.call(e,n);else if(u){var s=Ir(u);!s||s[0]!==t&&-1===d.call(s,t)||E.call(e,Ar(n))}}return e}),[])}function $r(e){var t=function(e){var t=e[Rr];return C(t)&&(t=e[Rr]=function(t,n){var r=Br(t,n);0!==r.length&&e.call(n,r,n)}),t}(e);return new Mr(t)}function xr(e,t,n){if(arguments.length>1){var r=N.call(arguments);return r[1]=_n(r[1]),ht.apply(this,r)}return ht.apply(this,arguments)}function kr(e,t,n){if(arguments.length>1){var r=N.call(arguments);r[1]=_n(r[1]),gt.apply(this,r)}gt.apply(this,arguments)}function Fr(){var e=ze.call(this);if(!(e instanceof G))return e;var t=Tt(e),n=pr(e,this.composed),r=Je.call(this);if(!(r instanceof G))return O(r)&&C(At(e))?e:hr(t,n);if(r===t||r===t.body)return C(At(e))?e:hr(t,n);var l=r,o=n;rr(r)&&(1===Bn.get(this)&&(l=nr(r)));return rr(e)&&cr.has(this)&&(o=pr(nr(e),this.composed)),hr(l,o)}function jr(){var e=ze.call(this);if(!(e instanceof G))return[];var t,n=Boolean(e.shadowRoot),r=(t=e,Vn.has(t));if(n&&!r)return et.call(this);if(O(Je.call(this)))return[];var l=e;return rr(e)&&cr.has(this)&&(l=nr(e)),pr(l,this.composed)}function Wr(e){var t=f(e.prototype,"relatedTarget").get;s(e.prototype,"relatedTarget",{get:function(){var e=t.call(this);if(O(e))return null;if(!(e instanceof G&&$t(e)))return e;var n=Je.call(this);return O(n)&&(n=Tt(e)),hr(n,pr(e,!0))},enumerable:!0,configurable:!0})}$r.prototype=Mr.prototype,$r.prototype.disconnect=function(){var e=this;Cr.call(this);var t=Dr.get(this);C(t)||(M.call(t,(function(t){var n=t[Pr];if(!C(n)){var r=d.call(n,e);-1!==r&&L.call(n,r,1)}})),t.length=0)},$r.prototype.observe=function(e,t){var n,r=Ir(e);if(C(r)&&(n=r=[],e[Pr]=n),-1===d.call(r,this)&&E.call(r,this),lr(e)&&(e=e.host),Dr.has(this)){var l=Dr.get(this);-1===d.call(l,e)&&E.call(l,e)}else Dr.set(this,[e]);return Or.call(this,e,t)},$r.prototype.takeRecords=function(){return Br(Hr.call(this),this)},s(window,"MutationObserver",{value:$r,configurable:!0,writable:!0}),c(St,{addEventListener:{value:function(e,t,n){if(rr(this))return Yn.apply(this,arguments);if(arguments.length<2){var r=N.call(arguments);return r.length>1&&(r[1]=_n(r[1])),Ct.apply(this,r)}var l=_n(t);return Ct.call(this,e,l,n)},enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:function(e,t,n){if(rr(this))return Xn.apply(this,arguments);var r=N.call(arguments);arguments.length>1&&(r[1]=_n(r[1])),Ht.apply(this,r),Ht.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),"undefined"==typeof EventTarget&&c(Window.prototype,{addEventListener:{value:xr,enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:kr,enumerable:!0,writable:!0,configurable:!0}}),c(Event.prototype,{target:{get:Fr,enumerable:!0,configurable:!0},currentTarget:{get:function(){var e=Je.call(this);return O(e)?null:1===Bn.get(this)?nr(e):e},enumerable:!0,configurable:!0},composedPath:{value:jr,writable:!0,enumerable:!0,configurable:!0},srcElement:{get:Fr,enumerable:!0,configurable:!0},path:{get:jr,enumerable:!0,configurable:!0}}),Wr(FocusEvent),Wr(MouseEvent);var Gr,Ur=h.call(Text.prototype,"assignedSlot")?f(Text.prototype,"assignedSlot").get:function(){return null},Kr={childList:!0},qr=new WeakMap;function Yr(e){var t=Mt(ge.call(e));return w.call(t,(function(e,t){return t instanceof Element&&Wt(t)?E.apply(e,Yr(t)):E.call(e,t),e}),[])}function Xr(){var e=se.call(this);if(e instanceof Element){var t=Ve.call(e);if(yt(t))return this instanceof Text?Ur.call(this):Qe.call(this)}return!O(e)&&Wt(e)&&At(e)!==At(this)?e:null}function Vr(e,t){var n,r=At(e);if(C(r))n=e instanceof HTMLBodyElement?v.call(t,(function(t){return C(At(t))||Lt(e)})):N.call(t);else if(rr(e)){var l=Ft(e);n=O(l)?[]:Bt(e)?Kt(e,t):Yt(l,t)}else n=v.call(t,(function(e){return _t(e)===r}));return n}function Qr(){for(var e=Pn(this),t="",n=0,r=e.length;n<r;n+=1)t+=an(e[n]);return t}function zr(){return an(this)}function Jr(){var e=Ft(this),t=O(e)?[]:Yt(e,Vt(this));return vn(v.call(t,(function(e){return e instanceof Element})))}function Zr(){return this.children.length}function el(){return this.children[0]||null}function tl(){var e=this.children;return e.item(e.length-1)||null}function nl(e,t){var n;if(rr(e)){var r=Ft(e);n=C(Bt(e))?O(r)?[]:Yt(r,t):Kt(e,t)}else if($t(e)){var l=At(e);n=C(l)?N.call(t):v.call(t,(function(e){return _t(e)===l}))}else n=e instanceof HTMLBodyElement?v.call(t,(function(t){return C(At(t))||Lt(e)})):N.call(t);return n}c(HTMLSlotElement.prototype,{addEventListener:{value:function(e,t,n){HTMLElement.prototype.addEventListener.call(this,e,t,n),"slotchange"!==e||qr.get(this)||(qr.set(this,!0),Gr||(Gr=new mt((function(e){var t=[];M.call(e,(function(e){var n=e.target;-1===d.call(t,n)&&(E.call(t,n),Ot.call(n,new CustomEvent("slotchange")))}))}))),vt.call(Gr,this,Kr))},writable:!0,enumerable:!0,configurable:!0},assignedElements:{value:function(e){if($t(this)){var t=!C(e)&&H(e.flatten),n=t?Yr(this):Qt(this);return v.call(n,(function(e){return e instanceof Element}))}return A.apply(this,N.call(arguments))},writable:!0,enumerable:!0,configurable:!0},assignedNodes:{value:function(e){if($t(this)){var t=!C(e)&&H(e.flatten);return t?Yr(this):Qt(this)}return I.apply(this,N.call(arguments))},writable:!0,enumerable:!0,configurable:!0},name:{get:function(){var e=be.call(this,"name");return O(e)?"":e},set:function(e){Me.call(this,"name",e)},enumerable:!0,configurable:!0},childNodes:{get:function(){if($t(this)){var e=Ft(this);return fn(O(e)?[]:Yt(e,Vt(this)))}return ge.call(this)},enumerable:!0,configurable:!0}}),c(Text.prototype,{assignedSlot:{get:Xr,enumerable:!0,configurable:!0}}),c(Element.prototype,{innerHTML:{get:function(){return $t(this)||rr(this)?Qr.call(this):$e.call(this)},set:function(e){xe.call(this,e)},enumerable:!0,configurable:!0},outerHTML:{get:function(){return $t(this)||rr(this)?zr.call(this):Fe.call(this)},set:function(e){je.call(this,e)},enumerable:!0,configurable:!0},attachShadow:{value:function(e){return e["$$lwc-synthetic-mode"]?ar(this,e):Se.call(this,e)},enumerable:!0,writable:!0,configurable:!0},shadowRoot:{get:function(){if(rr(this)){var e=nr(this);if("open"===e.mode)return e}return Ve.call(this)},enumerable:!0,configurable:!0},children:{get:function(){return bn(this)?Jr.call(this):Ye.call(this)},enumerable:!0,configurable:!0},childElementCount:{get:function(){return bn(this)?Zr.call(this):Ce.call(this)},enumerable:!0,configurable:!0},firstElementChild:{get:function(){return bn(this)?el.call(this):Oe.call(this)},enumerable:!0,configurable:!0},lastElementChild:{get:function(){return bn(this)?tl.call(this):He.call(this)},enumerable:!0,configurable:!0},assignedSlot:{get:Xr,enumerable:!0,configurable:!0}}),h.call(HTMLElement.prototype,"innerHTML")&&s(HTMLElement.prototype,"innerHTML",f(Element.prototype,"innerHTML")),h.call(HTMLElement.prototype,"outerHTML")&&s(HTMLElement.prototype,"outerHTML",f(Element.prototype,"outerHTML")),h.call(HTMLElement.prototype,"children")&&s(HTMLElement.prototype,"children",f(Element.prototype,"children")),c(Element.prototype,{querySelector:{value:function(){var e=this,t=Mt(Ne.apply(this,N.call(arguments)));if(rr(this)){var n=Ft(this);return C(Bt(this))?O(n)?null:Xt(n,t):qt(this,t)}if($t(this)){var r=At(this);if(C(r))return 0===t.length?null:t[0];var l=b.call(t,(function(e){return _t(e)===r}));return C(l)?null:l}if(!(this instanceof HTMLBodyElement)){var o=t[0];return C(o)?null:o}var a=b.call(t,(function(t){return C(At(t))||Lt(e)}));return C(a)?null:a},writable:!0,enumerable:!0,configurable:!0},querySelectorAll:{value:function(){var e=Mt(Ne.apply(this,N.call(arguments))),t=nl(this,e);return fn(t)},writable:!0,enumerable:!0,configurable:!0}}),c(Element.prototype,{getElementsByClassName:{value:function(){var e=Mt(Xe.apply(this,N.call(arguments)));return vn(Vr(this,e))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagName:{value:function(){var e=Mt(ye.apply(this,N.call(arguments)));return vn(Vr(this,e))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagNameNS:{value:function(){var e=Mt(Ee.apply(this,N.call(arguments)));return vn(Vr(this,e))},writable:!0,enumerable:!0,configurable:!0}}),h.call(HTMLElement.prototype,"getElementsByClassName")&&s(HTMLElement.prototype,"getElementsByClassName",f(Element.prototype,"getElementsByClassName"));var rl="\n [contenteditable],\n [tabindex],\n a[href],\n area[href],\n audio[controls],\n button,\n iframe,\n input,\n select,\n textarea,\n video[controls]\n",ll=new Set(["BUTTON","INPUT","SELECT","TEXTAREA"]);function ol(e){return e.filter((function(e){return we.call(e,"tabindex")?"0"===be.call(e,"tabindex"):!ll.has(We.call(e))||!we.call(e,"disabled")}))}var al=new WeakMap;function il(e){return(!rr(e)||!er(e))&&(qe.call(e,rl)&&function(e){var t=de.call(e),n=t.width,r=t.height,l=n>0||r>0,o="AREA"===e.tagName;return(l||o)&&"hidden"!==getComputedStyle(e).visibility}(e))}function ul(){var e=this.getRootNode();if(e!==this){var t=e;if(t.activeElement!==this)for(var n=Mt(Ne.call(this,rl)),r=!1;!r&&0!==n.length;){var l=n.shift();l.focus.apply(l,arguments);var o=l.getRootNode();r=o.activeElement===l}}else{var a=Te.call(this,rl);O(a)||a.focus.apply(a,arguments)}}function cl(e){var t=Tt(e),n=ol(Mt(at.call(t,rl))),r=ol(Mt(Ne.call(e,rl))),l=r[0],o=r[r.length-1],a=d.call(n,e),i=a>-1?a:d.call(n,l),u=0===r.length?i+1:d.call(n,o)+1;return{prev:N.call(n,0,i),inner:r,next:N.call(n,u)}}function sl(e,t){var n=te.call(e,t);return n&K?0:n&q?1:n&Y?2:-1}function fl(e){e.preventDefault(),e.stopPropagation()}function pl(e,t){ht.call(e,"focusin",fl,!0),ht.call(e,"focusout",fl,!0),t(),gt.call(e,"focusin",fl,!0),gt.call(e,"focusout",fl,!0)}function hl(e,t,n){var r=Nt(n),l=function(e,t){var n=e.length;if(n>0)for(var r=0;r<n;r+=1){var l=e[r];if(El(t.getRootNode(),l))return l}return null}(e,n);O(l)?pl(r,(function(){t.blur()})):pl(r,(function(){l.focus()}))}var gl=!1;function ml(){gl=!0}function vl(){gl=!1}function bl(){return!gl}function dl(e){if(!gl){var t=Je.call(e),n=ze.call(e);if(t===n){var r=Ze.call(e);if(!O(r)){var l=cl(t);if(1===sl(t,r)){var o=El.bind(null,t.getRootNode()),a=b.call(l.inner,o);if(C(a))hl(l.next,n,r);else pl(Nt(a),(function(){a.focus()}))}else t===n&&hl(T.call(l.prev),n,r)}}}}function yl(e){if(!gl){var t=Ze.call(e);if(!O(t)){var n=Je.call(e),r=cl(n);if(-1===d.call(r.inner,t)){var l=ze.call(e),o=sl(n,t);1===o&&hl(r.next,l,t),2===o&&hl(T.call(r.prev),l,t)}}}}function El(e,t){if(!il(t))return!1;for(var n=Tt(t),r=t.getRootNode();r!==n&&r!==e;){var l=r.host;if("-1"===be.call(l,"tabindex"))return!1;r=l&&l.getRootNode()}return!0}function wl(e){Ht.call(e,"focusin",dl,!0)}function Tl(e){var t=Tt(e);al.get(t)||(al.set(t,!0),Ct.call(t,"mousedown",ml,!0),Ct.call(t,"mouseup",(function(){setTimeout(vl)}),!0),Ct.call(t,"dragstart",vl,!0))}function Nl(e){Ht.call(e,"focusin",yl,!0)}var Ll=HTMLElement.prototype,Ml=Ll.blur,Sl=Ll.focus;function Cl(){return er(this)&&R(we.call(this,"tabindex"))?0:Ue.call(this)}function Ol(e){var t=er(this),n=Ue.call(this),r=we.call(this,"tabindex");Ke.call(this,e);var l,o=Ue.call(this),a=we.call(this,"tabindex"),i=n!==o;(r&&(i||R(a))&&(-1===n&&Nl(this),0===n&&t&&wl(this)),R(a))||(r&&a&&R(i)||(-1===o&&(Tl(l=this),wl(l),Ct.call(l,"focusin",yl,!0)),0===o&&t&&function(e){Tl(e),Nl(e),Ct.call(e,"focusin",dl,!0)}(this)))}function Hl(){if(er(this)){var e=(n=Tt(t=this),O(r=tt.call(n))||0!=(te.call(t,r)&K)?r:null);if(!O(e))return void e.blur()}var t,n,r;return Ml.call(this)}function Rl(){var e=bl();e&&ml(),rr(this)&&er(this)?ul.call(this):(Sl.apply(this,arguments),e&&vl())}function Pl(e,t){e[B]=t;for(var n=ge.call(e),r=0,l=n.length;r<l;r++)Pl(n[r],t)}c(HTMLElement.prototype,{tabIndex:{get:function(){return rr(this)?Cl.call(this):Ue.call(this)},set:function(e){return rr(this)?Ol.call(this,e):Ke.call(this,e)},enumerable:!0,configurable:!0},blur:{value:function(){if(rr(this))return Hl.call(this);Ml.call(this)},enumerable:!0,writable:!0,configurable:!0},focus:{value:function(){Rl.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),null!==Pe&&null!==De&&s(HTMLElement.prototype,"innerText",{get:function(){return Pe.call(this)},set:function(e){De.call(this,e)},enumerable:!0,configurable:!0}),null!==Ae&&null!==_e&&s(HTMLElement.prototype,"outerText",{get:function(){return Ae.call(this)},set:function(e){_e.call(this,e)},enumerable:!0,configurable:!0}),s(Element.prototype,k,{set:function(e){var t=this[F];C(t)||t===e||Le.call(this,t),C(e)||Me.call(this,e,""),this[F]=e},get:function(){return this[F]},configurable:!0}),s(Element.prototype,"$shadowStaticNode$",{set:function(e){e&&Pl(this,this[B]);this[x]=e},get:function(){return this[x]},configurable:!0});var Dl,Il="$$DomManualKey$$",Al=function(){},_l={childList:!0};function Bl(e,t,n){var r=Jn(e);if(r!==t&&(Zn(e,t),e instanceof Element)){if(function(e,t){e[k]=t}(e,n),rr(e))return;C(r)&&vt.call(Dl,e,_l);for(var l=ge.call(e),o=0,a=l.length;o<a;o+=1)Bl(l[o],t,n)}}function $l(){return new mt((function(e){M.call(e,(function(e){for(var t=e.target,n=e.addedNodes,r=e.removedNodes,l=Jn(t),o=function(e){return e[k]}(t),a=0,i=r.length;a<i;a+=1){var u=r[a];te.call(t,u)&G.DOCUMENT_POSITION_CONTAINED_BY||Bl(u,Al,void 0)}for(var c=0,s=n.length;c<s;c+=1){var f=n[c];te.call(t,f)&G.DOCUMENT_POSITION_CONTAINED_BY&&Bl(f,l,o)}}))}))}s(Element.prototype,"$domManual$",{set:function(e){this[Il]=e,H(e)&&function(e){if(C(Dl)&&(Dl=$l()),C(Jn(e)))throw new Error("Invalid Element");vt.call(Dl,e,_l)}(this)},get:function(){return this[Il]},configurable:!0})}();
|
|
10
|
+
*/function hr(e,t){if(O(e))return null;for(var n,r,l,o,a=pr(e,!0),i=t,u=0;u<i.length;u++)if((l=(n=i[u])instanceof Window?n:n.getRootNode())!==r&&(o=a.indexOf(l),r=l),!lr(l)||!C(o)&&o>-1)return n;return null}function gr(e,t,n,r){var l=nt.call(t,n,r);return O(l)?l:hr(e,pr(l,!0))}i(ir,sr,{childElementCount:{enumerable:!0,configurable:!0,get:function(){return this.children.length}},children:{enumerable:!0,configurable:!0,get:function(){return vn(v.call(Ut(this),(function(e){return e instanceof Element})))}},firstElementChild:{enumerable:!0,configurable:!0,get:function(){return this.children[0]||null}},lastElementChild:{enumerable:!0,configurable:!0,get:function(){var e=this.children;return e.item(e.length-1)||null}},getElementById:{writable:!0,enumerable:!0,configurable:!0,value:function(){throw new Error('Disallowed method "getElementById" on ShadowRoot.')}},querySelector:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return t=e,Xt(n=tr(this),Mt(Ne.call(n,t)));var t,n}},querySelectorAll:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return fn((t=e,Yt(n=tr(this),Mt(Ne.call(n,t)))));var t,n}}},{innerHTML:{enumerable:!0,configurable:!0,get:function(){for(var e=Dn(this),t="",n=0,r=e.length;n<r;n+=1)t+=an(e[n]);return t},set:function(e){var t=tr(this);xe.call(t,e)}}},ur),fr.prototype=u(DocumentFragment.prototype,ir),s(fr,Symbol.hasInstance,{value:function(e){return P(e)&&!O(e)&&(yt(e)||p(e)===fr.prototype)}}),Document.prototype.elementFromPoint=function(e,t){return gr(this,this,e,t)},Document.prototype.elementsFromPoint=function(e,t){return hn(this,this,e,t)},s(Document.prototype,"activeElement",{get:function(){var e=tt.call(this);if(O(e))return e;for(;!C(At(e));)if(O(e=pe.call(e)))return null;return"HTML"===e.tagName&&(e=this.body),e},enumerable:!0,configurable:!0}),s(Document.prototype,"getElementById",{value:function(){var e=it.apply(this,N.call(arguments));return O(e)?null:C(At(e))||Lt(e)?e:null},writable:!0,enumerable:!0,configurable:!0}),s(Document.prototype,"querySelector",{value:function(){var e=Mt(at.apply(this,N.call(arguments))),t=b.call(e,(function(e){return C(At(e))||Lt(e)}));return C(t)?null:t},writable:!0,enumerable:!0,configurable:!0}),s(Document.prototype,"querySelectorAll",{value:function(){var e=Mt(at.apply(this,N.call(arguments))),t=v.call(e,(function(e){return C(At(e))||Lt(e)}));return fn(t)},writable:!0,enumerable:!0,configurable:!0}),s(Document.prototype,"getElementsByClassName",{value:function(){var e=Mt(ut.apply(this,N.call(arguments))),t=v.call(e,(function(e){return C(At(e))||Lt(e)}));return vn(t)},writable:!0,enumerable:!0,configurable:!0}),s(Document.prototype,"getElementsByTagName",{value:function(){var e=Mt(ct.apply(this,N.call(arguments))),t=v.call(e,(function(e){return C(At(e))||Lt(e)}));return vn(t)},writable:!0,enumerable:!0,configurable:!0}),s(Document.prototype,"getElementsByTagNameNS",{value:function(){var e=Mt(st.apply(this,N.call(arguments))),t=v.call(e,(function(e){return C(At(e))||Lt(e)}));return vn(t)},writable:!0,enumerable:!0,configurable:!0}),s(f(HTMLDocument.prototype,"getElementsByName")?HTMLDocument.prototype:Document.prototype,"getElementsByName",{value:function(){var e=Mt(ft.apply(this,N.call(arguments))),t=v.call(e,(function(e){return C(At(e))||Lt(e)}));return fn(t)},writable:!0,enumerable:!0,configurable:!0}),Object.defineProperty(window,"ShadowRoot",{value:fr,configurable:!0,writable:!0});var mr=Object.getOwnPropertyDescriptor(Event.prototype,"composed");var vr=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"click");function br(e){Object.defineProperty(e,"composed",{configurable:!0,enumerable:!0,get:function(){return!0}})}(function(){if(!mr)return!1;var e=new Event("click"),t=document.createElement("button");return t.addEventListener("click",(function(t){return e=t})),t.click(),!mr.get.call(e)})()&&(HTMLElement.prototype.click=function(){Ct.call(this,"click",br);try{vr.value.call(this)}finally{Ht.call(this,"click",br)}}),!0!==new Event("test",{composed:!0}).composed&&function(){var e=i(u(null),{beforeinput:1,blur:1,click:1,compositionend:1,compositionstart:1,compositionupdate:1,copy:1,cut:1,dblclick:1,DOMActivate:1,DOMFocusIn:1,DOMFocusOut:1,drag:1,dragend:1,dragenter:1,dragleave:1,dragover:1,dragstart:1,drop:1,focus:1,focusin:1,focusout:1,gotpointercapture:1,input:1,keydown:1,keypress:1,keyup:1,lostpointercapture:1,mousedown:1,mouseenter:1,mouseleave:1,mousemove:1,mouseout:1,mouseover:1,mouseup:1,paste:1,pointercancel:1,pointerdown:1,pointerenter:1,pointerleave:1,pointermove:1,pointerout:1,pointerover:1,pointerup:1,touchcancel:1,touchend:1,touchmove:1,touchstart:1,wheel:1}),t=Event;function n(e,n){var r=new t(e,n),l=!(!n||!n.composed);return Object.defineProperties(r,{composed:{get:function(){return l},configurable:!0,enumerable:!0}}),r}n.prototype=t.prototype,n.AT_TARGET=t.AT_TARGET,n.BUBBLING_PHASE=t.BUBBLING_PHASE,n.CAPTURING_PHASE=t.CAPTURING_PHASE,n.NONE=t.NONE,window.Event=n,Object.defineProperties(Event.prototype,{composed:{get:function(){var t=this.type;return 1===e[t]},configurable:!0,enumerable:!0}})}();var dr,yr,Er,wr,Tr=CustomEvent;function Nr(e,t){var n=new Tr(e,t),r=!(!t||!t.composed);return Object.defineProperties(n,{composed:{get:function(){return r},configurable:!0,enumerable:!0}}),n}if(Nr.prototype=Tr.prototype,window.CustomEvent=Nr,"undefined"!=typeof ClipboardEvent){var Lr=i(u(null),{copy:1,cut:1,paste:1});c(ClipboardEvent.prototype,{composed:{get:function(){var e=this.type;return 1===Lr[e]},configurable:!0,enumerable:!0}})}Er="undefined"!=typeof HTMLIFrameElement,wr="undefined"!=typeof Proxy&&H(Proxy.isCompat),Er&&wr&&(dr=f(HTMLIFrameElement.prototype,"contentWindow"),yr=dr.get,dr.get=function(){var e,t=yr.call(this);return O(t)||C(At(this))?t:(e=t,{addEventListener:function(){return e.addEventListener.apply(e,arguments)},blur:function(){return e.blur.apply(e,arguments)},close:function(){return e.close.apply(e,arguments)},focus:function(){return e.focus.apply(e,arguments)},postMessage:function(){return e.postMessage.apply(e,arguments)},removeEventListener:function(){return e.removeEventListener.apply(e,arguments)},get closed(){return e.closed},get frames(){return e.frames},get length(){return e.length},get location(){return e.location},set location(t){e.location=t},get opener(){return e.opener},get parent(){return e.parent},get self(){return e.self},get top(){return e.top},get window(){return e.window}})},s(HTMLIFrameElement.prototype,"contentWindow",dr));var Mr=MutationObserver,Sr=Mr.prototype,Cr=Sr.disconnect,Or=Sr.observe,Hr=Sr.takeRecords,Rr="$$lwcObserverCallbackWrapper$$",Dr="$$lwcNodeObservers$$",Pr=new WeakMap;function Ir(e){return e[Dr]}function Ar(e){var t=e.addedNodes,n=e.removedNodes,r=e.target,l=e.type,o=u(MutationRecord.prototype);return c(o,{addedNodes:{get:function(){return t},enumerable:!0,configurable:!0},removedNodes:{get:function(){return n},enumerable:!0,configurable:!0},type:{get:function(){return l},enumerable:!0,configurable:!0},target:{get:function(){return r.shadowRoot},enumerable:!0,configurable:!0}}),o}function Br(e,t){for(var n=t;!O(n);){var r=Ir(n);if(!C(r)&&(r[0]===e||-1!==d.call(r,e)))return!0;n=n.parentNode}return!1}function $r(e,t){return w.call(e,(function(e,n){var r=n.target,l=n.addedNodes,o=n.removedNodes;if("childList"!==n.type||C($t(r)))Br(t,r)&&E.call(e,n);else if(l.length>0){var a=l[0];if(Br(t,a)){var i=Ir(r);!i||i[0]!==t&&-1===d.call(i,t)?E.call(e,Ar(n)):E.call(e,n)}}else{var u=r.shadowRoot,c=o[0];if(Bt(r)===Bt(c)&&Br(t,r))E.call(e,n);else if(u){var s=Ir(u);!s||s[0]!==t&&-1===d.call(s,t)||E.call(e,Ar(n))}}return e}),[])}function _r(e){var t=function(e){var t=e[Rr];return C(t)&&(t=e[Rr]=function(t,n){var r=$r(t,n);0!==r.length&&e.call(n,r,n)}),t}(e);return new Mr(t)}function xr(e,t,n){if(arguments.length>1){var r=N.call(arguments);return r[1]=Bn(r[1]),ht.apply(this,r)}return ht.apply(this,arguments)}function kr(e,t,n){if(arguments.length>1){var r=N.call(arguments);r[1]=Bn(r[1]),gt.apply(this,r)}gt.apply(this,arguments)}function Fr(){var e=ze.call(this);if(!(e instanceof G))return e;var t=Tt(e),n=pr(e,this.composed),r=Je.call(this);if(!(r instanceof G))return O(r)&&C(At(e))?e:hr(t,n);if(r===t||r===t.body)return C(At(e))?e:hr(t,n);var l=r,o=n;rr(r)&&(1===$n.get(this)&&(l=nr(r)));return rr(e)&&cr.has(this)&&(o=pr(nr(e),this.composed)),hr(l,o)}function jr(){var e=ze.call(this);if(!(e instanceof G))return[];var t,n=Boolean(e.shadowRoot),r=(t=e,Vn.has(t));if(n&&!r)return et.call(this);if(O(Je.call(this)))return[];var l=e;return rr(e)&&cr.has(this)&&(l=nr(e)),pr(l,this.composed)}function Wr(e){var t=f(e.prototype,"relatedTarget").get;s(e.prototype,"relatedTarget",{get:function(){var e=t.call(this);if(O(e))return null;if(!(e instanceof G&&_t(e)))return e;var n=Je.call(this);return O(n)&&(n=Tt(e)),hr(n,pr(e,!0))},enumerable:!0,configurable:!0})}_r.prototype=Mr.prototype,_r.prototype.disconnect=function(){var e=this;Cr.call(this);var t=Pr.get(this);C(t)||(M.call(t,(function(t){var n=t[Dr];if(!C(n)){var r=d.call(n,e);-1!==r&&L.call(n,r,1)}})),t.length=0)},_r.prototype.observe=function(e,t){var n,r=Ir(e);if(C(r)&&(n=r=[],e[Dr]=n),-1===d.call(r,this)&&E.call(r,this),lr(e)&&(e=e.host),Pr.has(this)){var l=Pr.get(this);-1===d.call(l,e)&&E.call(l,e)}else Pr.set(this,[e]);return Or.call(this,e,t)},_r.prototype.takeRecords=function(){return $r(Hr.call(this),this)},s(window,"MutationObserver",{value:_r,configurable:!0,writable:!0}),c(St,{addEventListener:{value:function(e,t,n){if(rr(this))return Yn.apply(this,arguments);if(arguments.length<2){var r=N.call(arguments);return r.length>1&&(r[1]=Bn(r[1])),Ct.apply(this,r)}var l=Bn(t);return Ct.call(this,e,l,n)},enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:function(e,t,n){if(rr(this))return Xn.apply(this,arguments);var r=N.call(arguments);arguments.length>1&&(r[1]=Bn(r[1])),Ht.apply(this,r),Ht.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),"undefined"==typeof EventTarget&&c(Window.prototype,{addEventListener:{value:xr,enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:kr,enumerable:!0,writable:!0,configurable:!0}}),c(Event.prototype,{target:{get:Fr,enumerable:!0,configurable:!0},currentTarget:{get:function(){var e=Je.call(this);return O(e)?null:1===$n.get(this)?nr(e):e},enumerable:!0,configurable:!0},composedPath:{value:jr,writable:!0,enumerable:!0,configurable:!0},srcElement:{get:Fr,enumerable:!0,configurable:!0},path:{get:jr,enumerable:!0,configurable:!0}}),Wr(FocusEvent),Wr(MouseEvent);var Gr,Ur=h.call(Text.prototype,"assignedSlot")?f(Text.prototype,"assignedSlot").get:function(){return null},Kr={childList:!0},qr=new WeakMap;function Yr(e){var t=Mt(ge.call(e));return w.call(t,(function(e,t){return t instanceof Element&&Wt(t)?E.apply(e,Yr(t)):E.call(e,t),e}),[])}function Xr(){var e=se.call(this);if(e instanceof Element){var t=Ve.call(e);if(yt(t))return this instanceof Text?Ur.call(this):Qe.call(this)}return!O(e)&&Wt(e)&&At(e)!==At(this)?e:null}function Vr(e,t){var n,r=At(e);if(C(r))n=e instanceof HTMLBodyElement?v.call(t,(function(t){return C(At(t))||Lt(e)})):N.call(t);else if(rr(e)){var l=Ft(e);n=O(l)?[]:$t(e)?Kt(e,t):Yt(l,t)}else n=v.call(t,(function(e){return Bt(e)===r}));return n}function Qr(){for(var e=Dn(this),t="",n=0,r=e.length;n<r;n+=1)t+=an(e[n]);return t}function zr(){return an(this)}function Jr(){var e=Ft(this),t=O(e)?[]:Yt(e,Vt(this));return vn(v.call(t,(function(e){return e instanceof Element})))}function Zr(){return this.children.length}function el(){return this.children[0]||null}function tl(){var e=this.children;return e.item(e.length-1)||null}function nl(e,t){var n;if(rr(e)){var r=Ft(e);n=C($t(e))?O(r)?[]:Yt(r,t):Kt(e,t)}else if(_t(e)){var l=At(e);n=C(l)?N.call(t):v.call(t,(function(e){return Bt(e)===l}))}else n=e instanceof HTMLBodyElement?v.call(t,(function(t){return C(At(t))||Lt(e)})):N.call(t);return n}c(HTMLSlotElement.prototype,{addEventListener:{value:function(e,t,n){HTMLElement.prototype.addEventListener.call(this,e,t,n),"slotchange"!==e||qr.get(this)||(qr.set(this,!0),Gr||(Gr=new mt((function(e){var t=[];M.call(e,(function(e){var n=e.target;-1===d.call(t,n)&&(E.call(t,n),Ot.call(n,new CustomEvent("slotchange")))}))}))),vt.call(Gr,this,Kr))},writable:!0,enumerable:!0,configurable:!0},assignedElements:{value:function(e){if(_t(this)){var t=!C(e)&&H(e.flatten),n=t?Yr(this):Qt(this);return v.call(n,(function(e){return e instanceof Element}))}return A.apply(this,N.call(arguments))},writable:!0,enumerable:!0,configurable:!0},assignedNodes:{value:function(e){if(_t(this)){var t=!C(e)&&H(e.flatten);return t?Yr(this):Qt(this)}return I.apply(this,N.call(arguments))},writable:!0,enumerable:!0,configurable:!0},name:{get:function(){var e=be.call(this,"name");return O(e)?"":e},set:function(e){Me.call(this,"name",e)},enumerable:!0,configurable:!0},childNodes:{get:function(){if(_t(this)){var e=Ft(this);return fn(O(e)?[]:Yt(e,Vt(this)))}return ge.call(this)},enumerable:!0,configurable:!0}}),c(Text.prototype,{assignedSlot:{get:Xr,enumerable:!0,configurable:!0}}),c(Element.prototype,{innerHTML:{get:function(){return _t(this)||rr(this)?Qr.call(this):_e.call(this)},set:function(e){xe.call(this,e)},enumerable:!0,configurable:!0},outerHTML:{get:function(){return _t(this)||rr(this)?zr.call(this):Fe.call(this)},set:function(e){je.call(this,e)},enumerable:!0,configurable:!0},attachShadow:{value:function(e){return e["$$lwc-synthetic-mode"]?ar(this,e):Se.call(this,e)},enumerable:!0,writable:!0,configurable:!0},shadowRoot:{get:function(){if(rr(this)){var e=nr(this);if("open"===e.mode)return e}return Ve.call(this)},enumerable:!0,configurable:!0},children:{get:function(){return bn(this)?Jr.call(this):Ye.call(this)},enumerable:!0,configurable:!0},childElementCount:{get:function(){return bn(this)?Zr.call(this):Ce.call(this)},enumerable:!0,configurable:!0},firstElementChild:{get:function(){return bn(this)?el.call(this):Oe.call(this)},enumerable:!0,configurable:!0},lastElementChild:{get:function(){return bn(this)?tl.call(this):He.call(this)},enumerable:!0,configurable:!0},assignedSlot:{get:Xr,enumerable:!0,configurable:!0}}),h.call(HTMLElement.prototype,"innerHTML")&&s(HTMLElement.prototype,"innerHTML",f(Element.prototype,"innerHTML")),h.call(HTMLElement.prototype,"outerHTML")&&s(HTMLElement.prototype,"outerHTML",f(Element.prototype,"outerHTML")),h.call(HTMLElement.prototype,"children")&&s(HTMLElement.prototype,"children",f(Element.prototype,"children")),c(Element.prototype,{querySelector:{value:function(){var e=this,t=Mt(Ne.apply(this,N.call(arguments)));if(rr(this)){var n=Ft(this);return C($t(this))?O(n)?null:Xt(n,t):qt(this,t)}if(_t(this)){var r=At(this);if(C(r))return 0===t.length?null:t[0];var l=b.call(t,(function(e){return Bt(e)===r}));return C(l)?null:l}if(!(this instanceof HTMLBodyElement)){var o=t[0];return C(o)?null:o}var a=b.call(t,(function(t){return C(At(t))||Lt(e)}));return C(a)?null:a},writable:!0,enumerable:!0,configurable:!0},querySelectorAll:{value:function(){var e=Mt(Ne.apply(this,N.call(arguments))),t=nl(this,e);return fn(t)},writable:!0,enumerable:!0,configurable:!0}}),c(Element.prototype,{getElementsByClassName:{value:function(){var e=Mt(Xe.apply(this,N.call(arguments)));return vn(Vr(this,e))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagName:{value:function(){var e=Mt(ye.apply(this,N.call(arguments)));return vn(Vr(this,e))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagNameNS:{value:function(){var e=Mt(Ee.apply(this,N.call(arguments)));return vn(Vr(this,e))},writable:!0,enumerable:!0,configurable:!0}}),h.call(HTMLElement.prototype,"getElementsByClassName")&&s(HTMLElement.prototype,"getElementsByClassName",f(Element.prototype,"getElementsByClassName"));var rl="\n [contenteditable],\n [tabindex],\n a[href],\n area[href],\n audio[controls],\n button,\n iframe,\n input,\n select,\n textarea,\n video[controls]\n",ll=new Set(["BUTTON","INPUT","SELECT","TEXTAREA"]);function ol(e){return e.filter((function(e){return we.call(e,"tabindex")?"0"===be.call(e,"tabindex"):!ll.has(We.call(e))||!we.call(e,"disabled")}))}var al=new WeakMap;function il(e){return(!rr(e)||!er(e))&&(qe.call(e,rl)&&function(e){var t=de.call(e),n=t.width,r=t.height,l=n>0||r>0,o="AREA"===e.tagName;return(l||o)&&"hidden"!==getComputedStyle(e).visibility}(e))}function ul(){var e=this.getRootNode();if(e!==this){var t=e;if(t.activeElement!==this)for(var n=Mt(Ne.call(this,rl)),r=!1;!r&&0!==n.length;){var l=n.shift();l.focus.apply(l,arguments);var o=l.getRootNode();r=o.activeElement===l}}else{var a=Te.call(this,rl);O(a)||a.focus.apply(a,arguments)}}function cl(e){var t=Tt(e),n=ol(Mt(at.call(t,rl))),r=ol(Mt(Ne.call(e,rl))),l=r[0],o=r[r.length-1],a=d.call(n,e),i=a>-1?a:d.call(n,l),u=0===r.length?i+1:d.call(n,o)+1;return{prev:N.call(n,0,i),inner:r,next:N.call(n,u)}}function sl(e,t){var n=te.call(e,t);return n&K?0:n&q?1:n&Y?2:-1}function fl(e){e.preventDefault(),e.stopPropagation()}function pl(e,t){ht.call(e,"focusin",fl,!0),ht.call(e,"focusout",fl,!0),t(),gt.call(e,"focusin",fl,!0),gt.call(e,"focusout",fl,!0)}function hl(e,t,n){var r=Nt(n),l=function(e,t){var n=e.length;if(n>0)for(var r=0;r<n;r+=1){var l=e[r];if(El(t.getRootNode(),l))return l}return null}(e,n);O(l)?pl(r,(function(){t.blur()})):pl(r,(function(){l.focus()}))}var gl=!1;function ml(){gl=!0}function vl(){gl=!1}function bl(){return!gl}function dl(e){if(!gl){var t=Je.call(e),n=ze.call(e);if(t===n){var r=Ze.call(e);if(!O(r)){var l=cl(t);if(1===sl(t,r)){var o=El.bind(null,t.getRootNode()),a=b.call(l.inner,o);if(C(a))hl(l.next,n,r);else pl(Nt(a),(function(){a.focus()}))}else t===n&&hl(T.call(l.prev),n,r)}}}}function yl(e){if(!gl){var t=Ze.call(e);if(!O(t)){var n=Je.call(e),r=cl(n);if(-1===d.call(r.inner,t)){var l=ze.call(e),o=sl(n,t);1===o&&hl(r.next,l,t),2===o&&hl(T.call(r.prev),l,t)}}}}function El(e,t){if(!il(t))return!1;for(var n=Tt(t),r=t.getRootNode();r!==n&&r!==e;){var l=r.host;if("-1"===be.call(l,"tabindex"))return!1;r=l&&l.getRootNode()}return!0}function wl(e){Ht.call(e,"focusin",dl,!0)}function Tl(e){var t=Tt(e);al.get(t)||(al.set(t,!0),Ct.call(t,"mousedown",ml,!0),Ct.call(t,"mouseup",(function(){setTimeout(vl)}),!0),Ct.call(t,"dragstart",vl,!0))}function Nl(e){Ht.call(e,"focusin",yl,!0)}var Ll=HTMLElement.prototype,Ml=Ll.blur,Sl=Ll.focus;function Cl(){return er(this)&&R(we.call(this,"tabindex"))?0:Ue.call(this)}function Ol(e){var t=er(this),n=Ue.call(this),r=we.call(this,"tabindex");Ke.call(this,e);var l,o=Ue.call(this),a=we.call(this,"tabindex"),i=n!==o;(r&&(i||R(a))&&(-1===n&&Nl(this),0===n&&t&&wl(this)),R(a))||(r&&a&&R(i)||(-1===o&&(Tl(l=this),wl(l),Ct.call(l,"focusin",yl,!0)),0===o&&t&&function(e){Tl(e),Nl(e),Ct.call(e,"focusin",dl,!0)}(this)))}function Hl(){if(er(this)){var e=(n=Tt(t=this),O(r=tt.call(n))||0!=(te.call(t,r)&K)?r:null);if(!O(e))return void e.blur()}var t,n,r;return Ml.call(this)}function Rl(){var e=bl();e&&ml(),rr(this)&&er(this)?ul.call(this):(Sl.apply(this,arguments),e&&vl())}function Dl(e,t){e[$]=t;for(var n=ge.call(e),r=0,l=n.length;r<l;r++)Dl(n[r],t)}c(HTMLElement.prototype,{tabIndex:{get:function(){return rr(this)?Cl.call(this):Ue.call(this)},set:function(e){return rr(this)?Ol.call(this,e):Ke.call(this,e)},enumerable:!0,configurable:!0},blur:{value:function(){if(rr(this))return Hl.call(this);Ml.call(this)},enumerable:!0,writable:!0,configurable:!0},focus:{value:function(){Rl.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),null!==De&&null!==Pe&&s(HTMLElement.prototype,"innerText",{get:function(){return De.call(this)},set:function(e){Pe.call(this,e)},enumerable:!0,configurable:!0}),null!==Ae&&null!==Be&&s(HTMLElement.prototype,"outerText",{get:function(){return Ae.call(this)},set:function(e){Be.call(this,e)},enumerable:!0,configurable:!0}),s(Element.prototype,k,{set:function(e){var t=this[F];C(t)||t===e||Le.call(this,t),C(e)||Me.call(this,e,""),this[F]=e},get:function(){return this[F]},configurable:!0}),s(Element.prototype,"$shadowStaticNode$",{set:function(e){e&&Dl(this,this[$]);this[x]=e},get:function(){return this[x]},configurable:!0});var Pl,Il="$$DomManualKey$$",Al=function(){},Bl={childList:!0};function $l(e,t,n){var r=Jn(e);if(r!==t&&(Zn(e,t),e instanceof Element)){if(function(e,t){e[k]=t}(e,n),rr(e))return;C(r)&&vt.call(Pl,e,Bl);for(var l=ge.call(e),o=0,a=l.length;o<a;o+=1)$l(l[o],t,n)}}function _l(){return new mt((function(e){M.call(e,(function(e){for(var t=e.target,n=e.addedNodes,r=e.removedNodes,l=Jn(t),o=function(e){return e[k]}(t),a=0,i=r.length;a<i;a+=1){var u=r[a];te.call(t,u)&G.DOCUMENT_POSITION_CONTAINED_BY||$l(u,Al,void 0)}for(var c=0,s=n.length;c<s;c+=1){var f=n[c];te.call(t,f)&G.DOCUMENT_POSITION_CONTAINED_BY&&$l(f,l,o)}}))}))}s(Element.prototype,"$domManual$",{set:function(e){this[Il]=e,H(e)&&function(e){if(C(Pl)&&(Pl=_l()),C(Jn(e)))throw new Error("Invalid Element");vt.call(Pl,e,Bl)}(this)},get:function(){return this[Il]},configurable:!0})}();
|
|
@@ -62,39 +62,11 @@
|
|
|
62
62
|
* SPDX-License-Identifier: MIT
|
|
63
63
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
64
64
|
*/
|
|
65
|
-
//
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
}
|
|
71
|
-
var _globalThis;
|
|
72
|
-
try {
|
|
73
|
-
// eslint-disable-next-line no-extend-native
|
|
74
|
-
Object.defineProperty(Object.prototype, '__magic__', {
|
|
75
|
-
get: function get() {
|
|
76
|
-
return this;
|
|
77
|
-
},
|
|
78
|
-
configurable: true
|
|
79
|
-
});
|
|
80
|
-
// __magic__ is undefined in Safari 10 and IE10 and older.
|
|
81
|
-
// @ts-ignore
|
|
82
|
-
// eslint-disable-next-line no-undef
|
|
83
|
-
_globalThis = __magic__;
|
|
84
|
-
// @ts-ignore
|
|
85
|
-
delete Object.prototype.__magic__;
|
|
86
|
-
} catch (ex) {
|
|
87
|
-
// In IE8, Object.defineProperty only works on DOM objects.
|
|
88
|
-
} finally {
|
|
89
|
-
// If the magic above fails for some reason we assume that we are in a legacy browser.
|
|
90
|
-
// Assume `window` exists in this case.
|
|
91
|
-
if (typeof _globalThis === 'undefined') {
|
|
92
|
-
// @ts-ignore
|
|
93
|
-
_globalThis = window;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
return _globalThis;
|
|
97
|
-
}();
|
|
65
|
+
// See browser support for globalThis:
|
|
66
|
+
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis#browser_compatibility
|
|
67
|
+
/* istanbul ignore next */
|
|
68
|
+
// @ts-ignore
|
|
69
|
+
var _globalThis = (typeof globalThis === "undefined" ? "undefined" : _typeof(globalThis)) === 'object' ? globalThis : window;
|
|
98
70
|
|
|
99
71
|
/*
|
|
100
72
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -112,7 +84,7 @@
|
|
|
112
84
|
var KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
|
|
113
85
|
var KEY__NATIVE_GET_ELEMENT_BY_ID = '$nativeGetElementById$';
|
|
114
86
|
var KEY__NATIVE_QUERY_SELECTOR_ALL = '$nativeQuerySelectorAll$';
|
|
115
|
-
/** version: 2.35.
|
|
87
|
+
/** version: 2.35.1 */
|
|
116
88
|
|
|
117
89
|
/*
|
|
118
90
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -426,7 +398,7 @@
|
|
|
426
398
|
});
|
|
427
399
|
}
|
|
428
400
|
var lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
|
|
429
|
-
/** version: 2.35.
|
|
401
|
+
/** version: 2.35.1 */
|
|
430
402
|
|
|
431
403
|
/*
|
|
432
404
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -4505,6 +4477,6 @@
|
|
|
4505
4477
|
},
|
|
4506
4478
|
configurable: true
|
|
4507
4479
|
});
|
|
4508
|
-
/** version: 2.35.
|
|
4480
|
+
/** version: 2.35.1 */
|
|
4509
4481
|
|
|
4510
4482
|
})();
|
|
@@ -93,41 +93,11 @@
|
|
|
93
93
|
* SPDX-License-Identifier: MIT
|
|
94
94
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
95
95
|
*/
|
|
96
|
-
//
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
}
|
|
102
|
-
let _globalThis;
|
|
103
|
-
try {
|
|
104
|
-
// eslint-disable-next-line no-extend-native
|
|
105
|
-
Object.defineProperty(Object.prototype, '__magic__', {
|
|
106
|
-
get: function () {
|
|
107
|
-
return this;
|
|
108
|
-
},
|
|
109
|
-
configurable: true,
|
|
110
|
-
});
|
|
111
|
-
// __magic__ is undefined in Safari 10 and IE10 and older.
|
|
112
|
-
// @ts-ignore
|
|
113
|
-
// eslint-disable-next-line no-undef
|
|
114
|
-
_globalThis = __magic__;
|
|
115
|
-
// @ts-ignore
|
|
116
|
-
delete Object.prototype.__magic__;
|
|
117
|
-
}
|
|
118
|
-
catch (ex) {
|
|
119
|
-
// In IE8, Object.defineProperty only works on DOM objects.
|
|
120
|
-
}
|
|
121
|
-
finally {
|
|
122
|
-
// If the magic above fails for some reason we assume that we are in a legacy browser.
|
|
123
|
-
// Assume `window` exists in this case.
|
|
124
|
-
if (typeof _globalThis === 'undefined') {
|
|
125
|
-
// @ts-ignore
|
|
126
|
-
_globalThis = window;
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
return _globalThis;
|
|
130
|
-
})();
|
|
96
|
+
// See browser support for globalThis:
|
|
97
|
+
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis#browser_compatibility
|
|
98
|
+
/* istanbul ignore next */
|
|
99
|
+
// @ts-ignore
|
|
100
|
+
const _globalThis = typeof globalThis === 'object' ? globalThis : window;
|
|
131
101
|
|
|
132
102
|
/*
|
|
133
103
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -155,7 +125,7 @@
|
|
|
155
125
|
// We use this to detect symbol support in order to avoid the expensive symbol polyfill. Note that
|
|
156
126
|
// we can't use typeof since it will fail when transpiling.
|
|
157
127
|
const hasNativeSymbolSupport = /*@__PURE__*/ (() => Symbol('x').toString() === 'Symbol(x)')();
|
|
158
|
-
/** version: 2.35.
|
|
128
|
+
/** version: 2.35.1 */
|
|
159
129
|
|
|
160
130
|
/*
|
|
161
131
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -470,7 +440,7 @@
|
|
|
470
440
|
Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
|
|
471
441
|
}
|
|
472
442
|
const lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
|
|
473
|
-
/** version: 2.35.
|
|
443
|
+
/** version: 2.35.1 */
|
|
474
444
|
|
|
475
445
|
/*
|
|
476
446
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -4717,8 +4687,7 @@
|
|
|
4717
4687
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
4718
4688
|
*/
|
|
4719
4689
|
// Only used in LWC's Karma tests
|
|
4720
|
-
|
|
4721
|
-
if (process.env.NODE_ENV !== 'production' && typeof __karma__ !== 'undefined') {
|
|
4690
|
+
if (process.env.NODE_ENV === 'test-karma-lwc') {
|
|
4722
4691
|
window.addEventListener('test-dummy-flag', () => {
|
|
4723
4692
|
let hasFlag = false;
|
|
4724
4693
|
if (lwcRuntimeFlags.DUMMY_TEST_FLAG) {
|
|
@@ -4732,6 +4701,6 @@
|
|
|
4732
4701
|
}));
|
|
4733
4702
|
});
|
|
4734
4703
|
}
|
|
4735
|
-
/** version: 2.35.
|
|
4704
|
+
/** version: 2.35.1 */
|
|
4736
4705
|
|
|
4737
4706
|
}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){"use strict";const{assign:e,create:t,defineProperties:n,defineProperty:l,freeze:o,getOwnPropertyDescriptor:r,getOwnPropertyNames:a,getPrototypeOf:i,hasOwnProperty:c,isFrozen:u,keys:s,seal:f,setPrototypeOf:p}=Object,{concat:h,copyWithin:g,fill:m,filter:d,find:b,indexOf:y,join:E,map:w,pop:v,push:T,reduce:N,reverse:M,shift:L,slice:S,some:C,sort:O,splice:H,unshift:D,forEach:R}=Array.prototype,{charCodeAt:P,replace:I,split:A,slice:_,toLowerCase:$}=String.prototype;function B(e){return void 0===e}function x(e){return null===e}function F(e){return!0===e}function k(e){return!1===e}function W(e){return"function"==typeof e}function j(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}(),G="$shadowResolver$",K="$$ShadowResolverKey$$",q="$shadowStaticNodeKey$",Y="$shadowToken$",X="$$ShadowTokenKey$$",V="$nativeGetElementById$",z="$nativeQuerySelectorAll$",Q=Node,J=Q.prototype,{DOCUMENT_POSITION_CONTAINED_BY:Z,DOCUMENT_POSITION_CONTAINS:ee,DOCUMENT_POSITION_PRECEDING:te,DOCUMENT_POSITION_FOLLOWING:ne,ELEMENT_NODE:le,TEXT_NODE:oe,CDATA_SECTION_NODE:re,PROCESSING_INSTRUCTION_NODE:ae,COMMENT_NODE:ie,DOCUMENT_FRAGMENT_NODE:ce}=Q,{appendChild:ue,cloneNode:se,compareDocumentPosition:fe,insertBefore:pe,removeChild:he,replaceChild:ge,hasChildNodes:me}=J,{contains:de}=HTMLElement.prototype,be=r(J,"firstChild").get,ye=r(J,"lastChild").get,Ee=r(J,"textContent").get,we=r(J,"parentNode").get,ve=r(J,"ownerDocument").get,Te=c.call(J,"parentElement")?r(J,"parentElement").get:r(HTMLElement.prototype,"parentElement").get,Ne=r(J,"textContent").set,Me=c.call(J,"childNodes")?r(J,"childNodes").get:r(HTMLElement.prototype,"childNodes").get,Le=c.call(J,"isConnected")?r(J,"isConnected").get:function(){const e=ve.call(this);return null===e||0!=(fe.call(e,this)&Z)},{getAttribute:Se,getBoundingClientRect:Ce,getElementsByTagName:Oe,getElementsByTagNameNS:He,hasAttribute:De,querySelector:Re,querySelectorAll:Pe,removeAttribute:Ie,setAttribute:Ae}=Element.prototype,_e=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,Be=r(Element.prototype,"firstElementChild").get,xe=r(Element.prototype,"lastElementChild").get,Fe=r(HTMLElement.prototype,"innerText"),ke=Fe?Fe.get:null,We=Fe?Fe.set:null,je=r(HTMLElement.prototype,"outerText"),Ue=je?je.get:null,Ge=je?je.set:null,Ke=c.call(Element.prototype,"innerHTML")?r(Element.prototype,"innerHTML"):r(HTMLElement.prototype,"innerHTML"),qe=Ke.get,Ye=Ke.set,Xe=c.call(Element.prototype,"outerHTML")?r(Element.prototype,"outerHTML"):r(HTMLElement.prototype,"outerHTML"),Ve=Xe.get,ze=Xe.set,Qe=r(Element.prototype,"tagName").get,Je=r(HTMLElement.prototype,"tabIndex"),Ze=Je.get,et=Je.set,tt=c.call(Element.prototype,"matches")?Element.prototype.matches:Element.prototype.msMatchesSelector,nt=c.call(Element.prototype,"children")?r(Element.prototype,"children").get:r(HTMLElement.prototype,"children").get,{getElementsByClassName:lt}=HTMLElement.prototype,ot=c.call(Element.prototype,"shadowRoot")?r(Element.prototype,"shadowRoot").get:()=>null,rt=c.call(Element.prototype,"assignedSlot")?r(Element.prototype,"assignedSlot").get:()=>null;let at,it;"undefined"!=typeof HTMLSlotElement?(at=HTMLSlotElement.prototype.assignedNodes,it=HTMLSlotElement.prototype.assignedElements):(at=()=>{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")},it=()=>{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 ct=r(Event.prototype,"target").get,ut=r(Event.prototype,"currentTarget").get,st=r(FocusEvent.prototype,"relatedTarget").get,ft=c.call(Event.prototype,"composedPath")?Event.prototype.composedPath:()=>[],pt=r(Document.prototype,"activeElement").get,ht=c.call(Document.prototype,"elementFromPoint")?Document.prototype.elementFromPoint:Document.prototype.msElementFromPoint,gt=c.call(Document.prototype,"elementsFromPoint")?Document.prototype.elementsFromPoint:Document.prototype.msElementsFromPoint,mt=r(Document.prototype,"defaultView").get,{createComment:dt,querySelectorAll:bt,getElementById:yt,getElementsByClassName:Et,getElementsByTagName:wt,getElementsByTagNameNS:vt}=Document.prototype,{getElementsByName:Tt}=HTMLDocument.prototype,{addEventListener:Nt,removeEventListener:Mt,getComputedStyle:Lt,getSelection:St}=window,Ct=MutationObserver,Ot=Ct.prototype.observe;let Ht=null;"undefined"!=typeof ShadowRoot&&(Ht=ShadowRoot);const Dt=!x(Ht),Rt=x(Ht)?()=>!1:e=>e instanceof Ht;const{createElement:Pt}=Document.prototype;function It(e){const t=ve.call(e);return null===t?e:t}function At(e){const t=It(e),n=mt.call(t);if(null===n)throw new TypeError;return n}let _t;function $t(e){if(B(_t)){const t=It(e);_t=t.body&&"temporary-bypass"===Se.call(t.body,"data-global-patching-bypass")}return F(_t)}function Bt(e){const t=e.length,n=[];if(t>0)for(let l=0;l<t;l++)n[l]=e[l];return n}"undefined"==typeof HTMLSlotElement&&function(){class e{}p(e,HTMLElement.constructor),p(e.prototype,HTMLElement.prototype),Window.prototype.HTMLSlotElement=e,l(Document.prototype,"createElement",{value:function(t,n){const l=Pt.apply(this,S.call(arguments));return 4===t.length&&115===P.call(t,0)&&108===P.call(t,1)&&111===P.call(t,2)&&116===P.call(t,3)&&p(l,e.prototype),l}})}();const xt="undefined"!=typeof EventTarget?EventTarget.prototype:Q.prototype,{addEventListener:Ft,dispatchEvent:kt,removeEventListener:Wt}=xt;U.lwcRuntimeFlags||Object.defineProperty(U,"lwcRuntimeFlags",{value:t(null)});const jt=U.lwcRuntimeFlags,Ut="$$HostElementKey$$",Gt="$$ShadowedNodeKey$$";function Kt(e,t,n){const l=e;{const{value:e}=n;l[t]=e}}function qt(e){return e[Ut]}function Yt(e){let t,n=e;for(;!x(n);){if(t=qt(n),!B(t))return t;if(n=we.call(n),jt.ENABLE_LIGHT_GET_ROOT_NODE_PATCH&&!x(n)&&Zt(n))return}}function Xt(e){return e[Gt]}function Vt(e){return!B(qt(e))}function zt(e){let t=Te.call(e);for(;!x(t)&&en(t);)e=t,t=Te.call(e);return e}function Qt(e,t){const n=Xt(e);let l=t instanceof Element?t:Te.call(t);for(;!x(l)&&l!==e;){const t=Yt(l),o=Te.call(l);if(t===n)return en(l);if(o===e)return!1;if(x(o)||Yt(o)===t)l=o;else{if(!en(o))return!1;if(l=Jt(zt(o)),!x(l)){if(l===e)return!0;if(Yt(l)===n)return!0}}}return!1}function Jt(e){if(!(e instanceof Q))return null;const t=Yt(e);if(B(t))return null;let n=e;for(;!x(n)&&Xt(n)!==t;)n=we.call(n);return x(n)?null:n}function Zt(e){return en(e)&&Vt(e)}function en(e){return e instanceof HTMLSlotElement}function tn(e,t){const n=Yt(t);if(B(n)){if(jt.ENABLE_LIGHT_GET_ROOT_NODE_PATCH){const e=we.call(t);if(!x(e)&&Zt(e))return!1}return!0}return Xt(e)===n}function nn(e){const t=pl(e);return rn(t,Bt(Me.call(t)))}function ln(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];!tn(e,o)&&Qt(e,o)&&T.call(n,o)}return n}function on(e,t){for(let n=0,l=t.length;n<l;n+=1){const l=t[n];if(!tn(e,l)&&Qt(e,l))return l}return null}function rn(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];tn(e,o)&&T.call(n,o)}return n}function an(e,t){for(let n=0,l=t.length;n<l;n+=1)if(tn(e,t[n]))return t[n];return null}function cn(e){if(!gl(e)&&!en(e)){return Bt(Me.call(e))}if(gl(e)){const t=Bt(Pe.call(e,"slot")),n=ul(hl(e));return N.call(t,((e,t)=>(n===ul(t)&&T.apply(e,un(t)),e)),[])}{const t=Bt(Me.call(e)),n=ul(e);return d.call(t,(e=>n===ul(e)))}}function un(e){const t=Jt(e);if(x(t))return[];const n=Bt(Me.call(e));return d.call(n,(e=>!Vt(e)||!tn(t,e)))}const sn=/[&\u00A0"]/g,fn=/[&\u00A0<>]/g,{replace:pn,toLowerCase:hn}=String.prototype;function gn(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" ";default:return""}}function mn(e){return pn.call(e,sn,gn)}const dn=new Set(["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"]),bn=new Set(["STYLE","SCRIPT","XMP","IFRAME","NOEMBED","NOFRAMES","PLAINTEXT","NOSCRIPT"]);function yn(e){switch(e.nodeType){case le:{const{attributes:t}=e,n=Qe.call(e);let l="<"+hn.call(n);for(let e,n=0;e=t[n];n++)l+=" "+e.name+'="'+mn(e.value)+'"';return l+=">",dn.has(n)?l:l+function(e){let t="";const n=cn(e);for(let e=0,l=n.length;e<l;e+=1)t+=yn(n[e]);return t}(e)+"</"+hn.call(n)+">"}case oe:{const{data:n,parentNode:l}=e;return l instanceof Element&&bn.has(Qe.call(l))?n:(t=n,pn.call(t,fn,gn))}case re:return`<!CDATA[[${e.data}]]>`;case ae:return`<?${e.target} ${e.data}?>`;case ie:return`\x3c!--${e.data}--\x3e`;default:return""}var t}function En(e){if(e.nodeType===le){const t=cn(e);let n="";for(let e=0,l=t.length;e<l;e+=1){const l=t[e];l.nodeType!==ie&&(n+=En(l))}return n}return e.nodeValue}const wn=new WeakMap;function vn(){throw new TypeError("Illegal constructor")}function Tn(e){const n=t(vn.prototype);return wn.set(n,e),R.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}vn.prototype=t(NodeList.prototype,{constructor:{writable:!0,configurable:!0,value:vn},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return wn.get(this).length}},forEach:{writable:!0,enumerable:!0,configurable:!0,value(e,t){R.call(wn.get(this),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value(){return w.call(wn.get(this),((e,t)=>[t,e]))}},keys:{writable:!0,enumerable:!0,configurable:!0,value(){return w.call(wn.get(this),((e,t)=>t))}},values:{writable:!0,enumerable:!0,configurable:!0,value(){return wn.get(this)}},[Symbol.iterator]:{writable:!0,configurable:!0,value(){let e=0;return{next:()=>{const t=wn.get(this);return e<t.length?{value:t[e++],done:!1}:{done:!0}}}}},[Symbol.toStringTag]:{configurable:!0,get:()=>"NodeList"},toString:{writable:!0,configurable:!0,value:()=>"[object NodeList]"}}),p(vn,NodeList);const Nn=(e,t)=>{let n;for(;!B(n=e.host);){const l=n.getRootNode();if(l===t)return n;e=l}};function Mn(e,t,n,l){const o=gt.call(t,n,l),r=[],a=function(e){var t;const n=[];let l=e.getRootNode();for(;!B(l);)n.push(l),l=null===(t=l.host)||void 0===t?void 0:t.getRootNode();return n}(e);if(!x(o))for(let e=0;e<o.length;e++){const t=o[e];if(Zt(t))continue;const n=t.getRootNode();if(-1!==y.call(a,n)){T.call(r,t);continue}const l=Nn(n,a[0]);B(l)||-1!==y.call(o,l)||-1!==y.call(r,l)||T.call(r,l)}return r}const Ln=new WeakMap;function Sn(){throw new TypeError("Illegal constructor")}function Cn(e){const n=t(Sn.prototype);return Ln.set(n,e),R.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}function On(e){return Zt(e)||gl(e)}function Hn(e,t){const n=Jt(e);if(t===n)return hl(n);if(t instanceof Element){if(Yt(e)===Yt(t))return t;if(!x(n)&&en(t)){const e=Jt(t);if(!x(e)&&tn(n,e))return e}}return null}function Dn(){return jn(this).length>0}function Rn(){return jn(this)[0]||null}function Pn(){const e=jn(this);return e[e.length-1]||null}function In(){return En(this)}function An(){const e=we.call(this);return x(e)?e:Hn(this,e)}function _n(){const e=we.call(this);if(x(e))return null;const t=Hn(this,e);return t instanceof Element?t:null}function $n(e){return this===e?0:this.getRootNode()===e?10:qt(this)!==qt(e)?35:fe.call(this,e)}function Bn(e){return null!=e&&qt(this)===qt(e)&&0!=(fe.call(this,e)&Z)}function xn(e){const t=se.call(this,!1);if(!e)return t;const n=jn(this);for(let e=0,l=n.length;e<l;e+=1)t.appendChild(n[e].cloneNode(!0));return t}function Fn(){if(gl(this)){const e=Jt(this);return Tn(x(e)?[]:rn(e,cn(this)))}return Me.call(this)}Sn.prototype=t(HTMLCollection.prototype,{constructor:{writable:!0,configurable:!0,value:Sn},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return Ln.get(this).length}},namedItem:{writable:!0,enumerable:!0,configurable:!0,value(e){if(""===e)return null;const t=Ln.get(this);for(let n=0,l=t.length;n<l;n++){const n=t[l];if(e===Se.call(n,"id")||e===Se.call(n,"name"))return n}return null}},[Symbol.toStringTag]:{configurable:!0,get:()=>"HTMLCollection"},toString:{writable:!0,configurable:!0,value:()=>"[object HTMLCollection]"}}),p(Sn,HTMLCollection);const kn=Q.prototype.getRootNode,Wn=B(kn)?function(){let e,t=this;for(;!x(e=we.call(t));)t=e;return t}:kn;n(Q.prototype,{firstChild:{get(){return On(this)?Rn.call(this):be.call(this)},enumerable:!0,configurable:!0},lastChild:{get(){return On(this)?Pn.call(this):ye.call(this)},enumerable:!0,configurable:!0},textContent:{get(){return Vt(this)||gl(this)?In.call(this):Ee.call(this)},set:function(e){Ne.call(this,e)},enumerable:!0,configurable:!0},parentNode:{get(){if(Vt(this))return An.call(this);const e=we.call(this);return!x(e)&&Zt(e)?Jt(e):e},enumerable:!0,configurable:!0},parentElement:{get(){if(Vt(this))return _n.call(this);const e=Te.call(this);return!x(e)&&Zt(e)?Jt(e):e},enumerable:!0,configurable:!0},childNodes:{get(){return On(this)?Fn.call(this):Me.call(this)},enumerable:!0,configurable:!0},hasChildNodes:{value(){return On(this)?Dn.call(this):me.call(this)},enumerable:!0,writable:!0,configurable:!0},compareDocumentPosition:{value(e){return $t(this)?fe.call(this,e):$n.call(this,e)},enumerable:!0,writable:!0,configurable:!0},contains:{value(e){return this===e||null!=e&&(Vt(this)||gl(this)?Bn.call(this,e):de.call(this,e))},enumerable:!0,writable:!0,configurable:!0},cloneNode:{value(e){return Vt(this)||gl(this)?xn.call(this,e):se.call(this,e)},enumerable:!0,writable:!0,configurable:!0},getRootNode:{value:function(e){return F(!B(e)&&!!e.composed)?Wn.call(this,e):function(e){const t=Jt(e);return x(t)?Wn.call(e):hl(t)}(this)},enumerable:!0,configurable:!0,writable:!0},isConnected:{enumerable:!0,configurable:!0,get(){return Le.call(this)}}});const jn=function(e){return e.childNodes};c.call(HTMLElement.prototype,"contains")&&l(HTMLElement.prototype,"contains",r(Q.prototype,"contains")),c.call(HTMLElement.prototype,"parentElement")&&l(HTMLElement.prototype,"parentElement",r(Q.prototype,"parentElement"));const Un=new WeakMap,Gn=new WeakMap;function Kn(e,t,n){if(t===n)return!0;let l=Gn.get(e);return B(l)&&(l=e.composedPath(),Gn.set(e,l)),l.includes(n)}function qn(e){if(!function(e){return W(e)||j(e)&&!x(e)&&W(e.handleEvent)}(e))return e;let t=Un.get(e);return B(t)&&(t=function(t){const n=ut.call(t);if(Kn(t,zn(t),n))return W(e)?e.call(this,t):e.handleEvent&&e.handleEvent(t)},Un.set(e,t)),t}const Yn=new WeakMap,Xn=new WeakMap;function Vn(e){let n=Xn.get(e);return B(n)&&(n=t(null),Xn.set(e,n)),n}function zn(e){var t;return null!==(t=wl.get(e))&&void 0!==t?t:ct.call(e)}const Qn=new WeakMap;function Jn(e){if(!W(e))throw new TypeError;let t=Qn.get(e);return B(t)&&(t=function(t){let n=ut.call(t);Rt(n)||(n=hl(n));Kn(t,zn(t),n)&&e.call(n,t)},t.placement=1,Qn.set(e,t)),t}const Zn=new WeakMap;function el(e){if(!W(e))throw new TypeError;let t=Zn.get(e);return B(t)&&(t=function(t){const n=ut.call(t);Kn(t,zn(t),n)&&e.call(n,t)},t.placement=0,Zn.set(e,t)),t}function tl(e){let t=!1,n=!1;const{type:o,stopImmediatePropagation:r,stopPropagation:a}=e,i=Vn(ut.call(e))[o];l(e,"stopImmediatePropagation",{value(){t=!0,r.call(e)},writable:!0,enumerable:!0,configurable:!0}),l(e,"stopPropagation",{value(){n=!0,a.call(e)},writable:!0,enumerable:!0,configurable:!0});const c=S.call(i);function u(n){R.call(c,(l=>{k(t)&&l.placement===n&&-1!==y.call(i,l)&&l.call(void 0,e)}))}Yn.set(e,1),u(1),k(t)&&k(n)&&(Yn.set(e,0),u(0)),Yn.set(e,2)}function nl(e,t,n){const l=Vn(e);let o=l[t];B(o)&&(o=l[t]=[]),-1===y.call(o,n)&&(0===o.length&&Ft.call(e,t,tl),T.call(o,n))}function ll(e,t,n){let l,o;B(o=Vn(e)[t])||-1===(l=y.call(o,n))||(H.call(o,l,1),0===o.length&&Wt.call(e,t,tl))}function ol(e,t,n){if(W(t)){nl(this,e,el(t))}}function rl(e,t,n){if(W(t)){ll(this,e,el(t))}}const al=new WeakMap,{createDocumentFragment:il}=document;function cl(e){const t=al.get(e);if(B(t))throw new TypeError;return t}function ul(e){return e[G]}function sl(e,t){e[G]=t}function fl(e){return cl(e).delegatesFocus}function pl(e){return cl(e).host}function hl(e){return cl(e).shadowRoot}function gl(e){const t=al.get(e);return!B(t)&&e===t.host}function ml(e){const t=al.get(e);return!B(t)&&e===t.shadowRoot}l(Q.prototype,G,{set(e){var t,n;B(e)||(this[K]=e,t=this,n=e.nodeKey,Kt(t,Ut,{value:n,configurable:!0}))},get(){return this[K]},configurable:!0,enumerable:!0}),l(U,"$isNativeShadowRootDefined$",{value:Dt}),B(U[V])&&l(U,V,{value:yt}),B(U[z])&&l(U,z,{value:bt});let dl=0;function bl(e,t){if(al.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=It(e),r=il.call(o),a={mode:n,delegatesFocus:!!l,host:e,shadowRoot:r};al.set(r,a),al.set(e,a);const i=()=>r,c=i.nodeKey=dl++;return Kt(e,Gt,{value:c}),sl(r,i),p(r,Tl.prototype),r}const yl={constructor:{writable:!0,configurable:!0,value:Tl},toString:{writable:!0,configurable:!0,value:()=>"[object ShadowRoot]"},synthetic:{writable:!1,enumerable:!1,configurable:!1,value:!0}},El={activeElement:{enumerable:!0,configurable:!0,get(){const e=pl(this),t=It(e),n=pt.call(t);if(x(n))return n;if(0==(fe.call(e,n)&Z))return null;let l=n;for(;!tn(e,l);)l=Te.call(l);return en(l)?null:l}},delegatesFocus:{configurable:!0,get(){return cl(this).delegatesFocus}},elementFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return Ll(this,It(pl(this)),e,t)}},elementsFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return Mn(this,It(pl(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 pl(this)}},mode:{configurable:!0,get(){return cl(this).mode}},styleSheets:{enumerable:!0,configurable:!0,get(){throw new Error}}},wl=new WeakMap,vl={insertBefore:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return pe.call(pl(this),e,t),e}},removeChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return he.call(pl(this),e),e}},appendChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return ue.call(pl(this),e),e}},replaceChild:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return ge.call(pl(this),e,t),t}},addEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,l){W(n)&&nl(pl(e),t,Jn(n))}(this,e,t)}},dispatchEvent:{writable:!0,enumerable:!0,configurable:!0,value(e){return wl.set(e,this),kt.apply(pl(this),arguments)}},removeEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,l){W(n)&&ll(pl(e),t,Jn(n))}(this,e,t)}},baseURI:{enumerable:!0,configurable:!0,get(){return pl(this).baseURI}},childNodes:{enumerable:!0,configurable:!0,get(){return Tn(nn(this))}},cloneNode:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error('Disallowed method "cloneNode" on ShadowRoot.')}},compareDocumentPosition:{writable:!0,enumerable:!0,configurable:!0,value(e){const t=pl(this);return this===e?0:this.contains(e)?20:fe.call(t,e)&Z?37:35}},contains:{writable:!0,enumerable:!0,configurable:!0,value(e){if(this===e)return!0;const t=pl(this);return 0!=(fe.call(t,e)&Z)&&tn(t,e)}},firstChild:{enumerable:!0,configurable:!0,get(){return jn(this)[0]||null}},lastChild:{enumerable:!0,configurable:!0,get(){const e=jn(this);return e[e.length-1]||null}},hasChildNodes:{writable:!0,enumerable:!0,configurable:!0,value(){return jn(this).length>0}},isConnected:{enumerable:!0,configurable:!0,get(){return Le.call(pl(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 pl(this).ownerDocument}},parentElement:{enumerable:!0,configurable:!0,get:()=>null},parentNode:{enumerable:!0,configurable:!0,get:()=>null},textContent:{enumerable:!0,configurable:!0,get(){const e=jn(this);let t="";for(let n=0,l=e.length;n<l;n+=1){const l=e[n];l.nodeType!==ie&&(t+=En(l))}return t},set(e){const t=pl(this);Ne.call(t,e)}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value(e){return!B(e)&&F(e.composed)?pl(this).getRootNode(e):this}}};function Tl(){throw new TypeError("Illegal constructor")}function Nl(e,t){const n=[];let l;if(e instanceof Window)l=e;else{if(!(e instanceof Q))return n;l=e.getRootNode()}let o,r=e;for(;!x(r);)if(n.push(r),r instanceof Element||r instanceof Text){const e=r.assignedSlot;r=x(e)?r.parentNode:e}else r=!ml(r)&&!Rt(r)||!t&&r===l?r instanceof Q?r.parentNode:null:r.host;return o=e instanceof Window?e.document:It(e),n[n.length-1]===o&&n.push(window),n}
|
|
1
|
+
!function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){"use strict";const{assign:e,create:t,defineProperties:n,defineProperty:l,freeze:o,getOwnPropertyDescriptor:r,getOwnPropertyNames:a,getPrototypeOf:i,hasOwnProperty:c,isFrozen:u,keys:s,seal:f,setPrototypeOf:p}=Object,{concat:h,copyWithin:g,fill:m,filter:d,find:b,indexOf:y,join:E,map:w,pop:v,push:T,reduce:N,reverse:M,shift:L,slice:S,some:C,sort:H,splice:O,unshift:D,forEach:R}=Array.prototype,{charCodeAt:P,replace:I,split:A,slice:$,toLowerCase:B}=String.prototype;function _(e){return void 0===e}function x(e){return null===e}function F(e){return!0===e}function k(e){return!1===e}function W(e){return"function"==typeof e}function U(e){return"object"==typeof e}const G="object"==typeof globalThis?globalThis:window,j="$shadowResolver$",K="$$ShadowResolverKey$$",q="$shadowStaticNodeKey$",Y="$shadowToken$",X="$$ShadowTokenKey$$",V="$nativeGetElementById$",z="$nativeQuerySelectorAll$",Q=Node,J=Q.prototype,{DOCUMENT_POSITION_CONTAINED_BY:Z,DOCUMENT_POSITION_CONTAINS:ee,DOCUMENT_POSITION_PRECEDING:te,DOCUMENT_POSITION_FOLLOWING:ne,ELEMENT_NODE:le,TEXT_NODE:oe,CDATA_SECTION_NODE:re,PROCESSING_INSTRUCTION_NODE:ae,COMMENT_NODE:ie,DOCUMENT_FRAGMENT_NODE:ce}=Q,{appendChild:ue,cloneNode:se,compareDocumentPosition:fe,insertBefore:pe,removeChild:he,replaceChild:ge,hasChildNodes:me}=J,{contains:de}=HTMLElement.prototype,be=r(J,"firstChild").get,ye=r(J,"lastChild").get,Ee=r(J,"textContent").get,we=r(J,"parentNode").get,ve=r(J,"ownerDocument").get,Te=c.call(J,"parentElement")?r(J,"parentElement").get:r(HTMLElement.prototype,"parentElement").get,Ne=r(J,"textContent").set,Me=c.call(J,"childNodes")?r(J,"childNodes").get:r(HTMLElement.prototype,"childNodes").get,Le=c.call(J,"isConnected")?r(J,"isConnected").get:function(){const e=ve.call(this);return null===e||0!=(fe.call(e,this)&Z)},{getAttribute:Se,getBoundingClientRect:Ce,getElementsByTagName:He,getElementsByTagNameNS:Oe,hasAttribute:De,querySelector:Re,querySelectorAll:Pe,removeAttribute:Ie,setAttribute:Ae}=Element.prototype,$e=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")},Be=r(Element.prototype,"childElementCount").get,_e=r(Element.prototype,"firstElementChild").get,xe=r(Element.prototype,"lastElementChild").get,Fe=r(HTMLElement.prototype,"innerText"),ke=Fe?Fe.get:null,We=Fe?Fe.set:null,Ue=r(HTMLElement.prototype,"outerText"),Ge=Ue?Ue.get:null,je=Ue?Ue.set:null,Ke=c.call(Element.prototype,"innerHTML")?r(Element.prototype,"innerHTML"):r(HTMLElement.prototype,"innerHTML"),qe=Ke.get,Ye=Ke.set,Xe=c.call(Element.prototype,"outerHTML")?r(Element.prototype,"outerHTML"):r(HTMLElement.prototype,"outerHTML"),Ve=Xe.get,ze=Xe.set,Qe=r(Element.prototype,"tagName").get,Je=r(HTMLElement.prototype,"tabIndex"),Ze=Je.get,et=Je.set,tt=c.call(Element.prototype,"matches")?Element.prototype.matches:Element.prototype.msMatchesSelector,nt=c.call(Element.prototype,"children")?r(Element.prototype,"children").get:r(HTMLElement.prototype,"children").get,{getElementsByClassName:lt}=HTMLElement.prototype,ot=c.call(Element.prototype,"shadowRoot")?r(Element.prototype,"shadowRoot").get:()=>null,rt=c.call(Element.prototype,"assignedSlot")?r(Element.prototype,"assignedSlot").get:()=>null;let at,it;"undefined"!=typeof HTMLSlotElement?(at=HTMLSlotElement.prototype.assignedNodes,it=HTMLSlotElement.prototype.assignedElements):(at=()=>{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")},it=()=>{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 ct=r(Event.prototype,"target").get,ut=r(Event.prototype,"currentTarget").get,st=r(FocusEvent.prototype,"relatedTarget").get,ft=c.call(Event.prototype,"composedPath")?Event.prototype.composedPath:()=>[],pt=r(Document.prototype,"activeElement").get,ht=c.call(Document.prototype,"elementFromPoint")?Document.prototype.elementFromPoint:Document.prototype.msElementFromPoint,gt=c.call(Document.prototype,"elementsFromPoint")?Document.prototype.elementsFromPoint:Document.prototype.msElementsFromPoint,mt=r(Document.prototype,"defaultView").get,{createComment:dt,querySelectorAll:bt,getElementById:yt,getElementsByClassName:Et,getElementsByTagName:wt,getElementsByTagNameNS:vt}=Document.prototype,{getElementsByName:Tt}=HTMLDocument.prototype,{addEventListener:Nt,removeEventListener:Mt,getComputedStyle:Lt,getSelection:St}=window,Ct=MutationObserver,Ht=Ct.prototype.observe;let Ot=null;"undefined"!=typeof ShadowRoot&&(Ot=ShadowRoot);const Dt=!x(Ot),Rt=x(Ot)?()=>!1:e=>e instanceof Ot;const{createElement:Pt}=Document.prototype;function It(e){const t=ve.call(e);return null===t?e:t}function At(e){const t=It(e),n=mt.call(t);if(null===n)throw new TypeError;return n}let $t;function Bt(e){if(_($t)){const t=It(e);$t=t.body&&"temporary-bypass"===Se.call(t.body,"data-global-patching-bypass")}return F($t)}function _t(e){const t=e.length,n=[];if(t>0)for(let l=0;l<t;l++)n[l]=e[l];return n}"undefined"==typeof HTMLSlotElement&&function(){class e{}p(e,HTMLElement.constructor),p(e.prototype,HTMLElement.prototype),Window.prototype.HTMLSlotElement=e,l(Document.prototype,"createElement",{value:function(t,n){const l=Pt.apply(this,S.call(arguments));return 4===t.length&&115===P.call(t,0)&&108===P.call(t,1)&&111===P.call(t,2)&&116===P.call(t,3)&&p(l,e.prototype),l}})}();const xt="undefined"!=typeof EventTarget?EventTarget.prototype:Q.prototype,{addEventListener:Ft,dispatchEvent:kt,removeEventListener:Wt}=xt;G.lwcRuntimeFlags||Object.defineProperty(G,"lwcRuntimeFlags",{value:t(null)});const Ut=G.lwcRuntimeFlags,Gt="$$HostElementKey$$",jt="$$ShadowedNodeKey$$";function Kt(e,t,n){const l=e;{const{value:e}=n;l[t]=e}}function qt(e){return e[Gt]}function Yt(e){let t,n=e;for(;!x(n);){if(t=qt(n),!_(t))return t;if(n=we.call(n),Ut.ENABLE_LIGHT_GET_ROOT_NODE_PATCH&&!x(n)&&Zt(n))return}}function Xt(e){return e[jt]}function Vt(e){return!_(qt(e))}function zt(e){let t=Te.call(e);for(;!x(t)&&en(t);)e=t,t=Te.call(e);return e}function Qt(e,t){const n=Xt(e);let l=t instanceof Element?t:Te.call(t);for(;!x(l)&&l!==e;){const t=Yt(l),o=Te.call(l);if(t===n)return en(l);if(o===e)return!1;if(x(o)||Yt(o)===t)l=o;else{if(!en(o))return!1;if(l=Jt(zt(o)),!x(l)){if(l===e)return!0;if(Yt(l)===n)return!0}}}return!1}function Jt(e){if(!(e instanceof Q))return null;const t=Yt(e);if(_(t))return null;let n=e;for(;!x(n)&&Xt(n)!==t;)n=we.call(n);return x(n)?null:n}function Zt(e){return en(e)&&Vt(e)}function en(e){return e instanceof HTMLSlotElement}function tn(e,t){const n=Yt(t);if(_(n)){if(Ut.ENABLE_LIGHT_GET_ROOT_NODE_PATCH){const e=we.call(t);if(!x(e)&&Zt(e))return!1}return!0}return Xt(e)===n}function nn(e){const t=pl(e);return rn(t,_t(Me.call(t)))}function ln(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];!tn(e,o)&&Qt(e,o)&&T.call(n,o)}return n}function on(e,t){for(let n=0,l=t.length;n<l;n+=1){const l=t[n];if(!tn(e,l)&&Qt(e,l))return l}return null}function rn(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];tn(e,o)&&T.call(n,o)}return n}function an(e,t){for(let n=0,l=t.length;n<l;n+=1)if(tn(e,t[n]))return t[n];return null}function cn(e){if(!gl(e)&&!en(e)){return _t(Me.call(e))}if(gl(e)){const t=_t(Pe.call(e,"slot")),n=ul(hl(e));return N.call(t,((e,t)=>(n===ul(t)&&T.apply(e,un(t)),e)),[])}{const t=_t(Me.call(e)),n=ul(e);return d.call(t,(e=>n===ul(e)))}}function un(e){const t=Jt(e);if(x(t))return[];const n=_t(Me.call(e));return d.call(n,(e=>!Vt(e)||!tn(t,e)))}const sn=/[&\u00A0"]/g,fn=/[&\u00A0<>]/g,{replace:pn,toLowerCase:hn}=String.prototype;function gn(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" ";default:return""}}function mn(e){return pn.call(e,sn,gn)}const dn=new Set(["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"]),bn=new Set(["STYLE","SCRIPT","XMP","IFRAME","NOEMBED","NOFRAMES","PLAINTEXT","NOSCRIPT"]);function yn(e){switch(e.nodeType){case le:{const{attributes:t}=e,n=Qe.call(e);let l="<"+hn.call(n);for(let e,n=0;e=t[n];n++)l+=" "+e.name+'="'+mn(e.value)+'"';return l+=">",dn.has(n)?l:l+function(e){let t="";const n=cn(e);for(let e=0,l=n.length;e<l;e+=1)t+=yn(n[e]);return t}(e)+"</"+hn.call(n)+">"}case oe:{const{data:n,parentNode:l}=e;return l instanceof Element&&bn.has(Qe.call(l))?n:(t=n,pn.call(t,fn,gn))}case re:return`<!CDATA[[${e.data}]]>`;case ae:return`<?${e.target} ${e.data}?>`;case ie:return`\x3c!--${e.data}--\x3e`;default:return""}var t}function En(e){if(e.nodeType===le){const t=cn(e);let n="";for(let e=0,l=t.length;e<l;e+=1){const l=t[e];l.nodeType!==ie&&(n+=En(l))}return n}return e.nodeValue}const wn=new WeakMap;function vn(){throw new TypeError("Illegal constructor")}function Tn(e){const n=t(vn.prototype);return wn.set(n,e),R.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}vn.prototype=t(NodeList.prototype,{constructor:{writable:!0,configurable:!0,value:vn},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return wn.get(this).length}},forEach:{writable:!0,enumerable:!0,configurable:!0,value(e,t){R.call(wn.get(this),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value(){return w.call(wn.get(this),((e,t)=>[t,e]))}},keys:{writable:!0,enumerable:!0,configurable:!0,value(){return w.call(wn.get(this),((e,t)=>t))}},values:{writable:!0,enumerable:!0,configurable:!0,value(){return wn.get(this)}},[Symbol.iterator]:{writable:!0,configurable:!0,value(){let e=0;return{next:()=>{const t=wn.get(this);return e<t.length?{value:t[e++],done:!1}:{done:!0}}}}},[Symbol.toStringTag]:{configurable:!0,get:()=>"NodeList"},toString:{writable:!0,configurable:!0,value:()=>"[object NodeList]"}}),p(vn,NodeList);const Nn=(e,t)=>{let n;for(;!_(n=e.host);){const l=n.getRootNode();if(l===t)return n;e=l}};function Mn(e,t,n,l){const o=gt.call(t,n,l),r=[],a=function(e){var t;const n=[];let l=e.getRootNode();for(;!_(l);)n.push(l),l=null===(t=l.host)||void 0===t?void 0:t.getRootNode();return n}(e);if(!x(o))for(let e=0;e<o.length;e++){const t=o[e];if(Zt(t))continue;const n=t.getRootNode();if(-1!==y.call(a,n)){T.call(r,t);continue}const l=Nn(n,a[0]);_(l)||-1!==y.call(o,l)||-1!==y.call(r,l)||T.call(r,l)}return r}const Ln=new WeakMap;function Sn(){throw new TypeError("Illegal constructor")}function Cn(e){const n=t(Sn.prototype);return Ln.set(n,e),R.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}function Hn(e){return Zt(e)||gl(e)}function On(e,t){const n=Jt(e);if(t===n)return hl(n);if(t instanceof Element){if(Yt(e)===Yt(t))return t;if(!x(n)&&en(t)){const e=Jt(t);if(!x(e)&&tn(n,e))return e}}return null}function Dn(){return Un(this).length>0}function Rn(){return Un(this)[0]||null}function Pn(){const e=Un(this);return e[e.length-1]||null}function In(){return En(this)}function An(){const e=we.call(this);return x(e)?e:On(this,e)}function $n(){const e=we.call(this);if(x(e))return null;const t=On(this,e);return t instanceof Element?t:null}function Bn(e){return this===e?0:this.getRootNode()===e?10:qt(this)!==qt(e)?35:fe.call(this,e)}function _n(e){return null!=e&&qt(this)===qt(e)&&0!=(fe.call(this,e)&Z)}function xn(e){const t=se.call(this,!1);if(!e)return t;const n=Un(this);for(let e=0,l=n.length;e<l;e+=1)t.appendChild(n[e].cloneNode(!0));return t}function Fn(){if(gl(this)){const e=Jt(this);return Tn(x(e)?[]:rn(e,cn(this)))}return Me.call(this)}Sn.prototype=t(HTMLCollection.prototype,{constructor:{writable:!0,configurable:!0,value:Sn},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return Ln.get(this).length}},namedItem:{writable:!0,enumerable:!0,configurable:!0,value(e){if(""===e)return null;const t=Ln.get(this);for(let n=0,l=t.length;n<l;n++){const n=t[l];if(e===Se.call(n,"id")||e===Se.call(n,"name"))return n}return null}},[Symbol.toStringTag]:{configurable:!0,get:()=>"HTMLCollection"},toString:{writable:!0,configurable:!0,value:()=>"[object HTMLCollection]"}}),p(Sn,HTMLCollection);const kn=Q.prototype.getRootNode,Wn=_(kn)?function(){let e,t=this;for(;!x(e=we.call(t));)t=e;return t}:kn;n(Q.prototype,{firstChild:{get(){return Hn(this)?Rn.call(this):be.call(this)},enumerable:!0,configurable:!0},lastChild:{get(){return Hn(this)?Pn.call(this):ye.call(this)},enumerable:!0,configurable:!0},textContent:{get(){return Vt(this)||gl(this)?In.call(this):Ee.call(this)},set:function(e){Ne.call(this,e)},enumerable:!0,configurable:!0},parentNode:{get(){if(Vt(this))return An.call(this);const e=we.call(this);return!x(e)&&Zt(e)?Jt(e):e},enumerable:!0,configurable:!0},parentElement:{get(){if(Vt(this))return $n.call(this);const e=Te.call(this);return!x(e)&&Zt(e)?Jt(e):e},enumerable:!0,configurable:!0},childNodes:{get(){return Hn(this)?Fn.call(this):Me.call(this)},enumerable:!0,configurable:!0},hasChildNodes:{value(){return Hn(this)?Dn.call(this):me.call(this)},enumerable:!0,writable:!0,configurable:!0},compareDocumentPosition:{value(e){return Bt(this)?fe.call(this,e):Bn.call(this,e)},enumerable:!0,writable:!0,configurable:!0},contains:{value(e){return this===e||null!=e&&(Vt(this)||gl(this)?_n.call(this,e):de.call(this,e))},enumerable:!0,writable:!0,configurable:!0},cloneNode:{value(e){return Vt(this)||gl(this)?xn.call(this,e):se.call(this,e)},enumerable:!0,writable:!0,configurable:!0},getRootNode:{value:function(e){return F(!_(e)&&!!e.composed)?Wn.call(this,e):function(e){const t=Jt(e);return x(t)?Wn.call(e):hl(t)}(this)},enumerable:!0,configurable:!0,writable:!0},isConnected:{enumerable:!0,configurable:!0,get(){return Le.call(this)}}});const Un=function(e){return e.childNodes};c.call(HTMLElement.prototype,"contains")&&l(HTMLElement.prototype,"contains",r(Q.prototype,"contains")),c.call(HTMLElement.prototype,"parentElement")&&l(HTMLElement.prototype,"parentElement",r(Q.prototype,"parentElement"));const Gn=new WeakMap,jn=new WeakMap;function Kn(e,t,n){if(t===n)return!0;let l=jn.get(e);return _(l)&&(l=e.composedPath(),jn.set(e,l)),l.includes(n)}function qn(e){if(!function(e){return W(e)||U(e)&&!x(e)&&W(e.handleEvent)}(e))return e;let t=Gn.get(e);return _(t)&&(t=function(t){const n=ut.call(t);if(Kn(t,zn(t),n))return W(e)?e.call(this,t):e.handleEvent&&e.handleEvent(t)},Gn.set(e,t)),t}const Yn=new WeakMap,Xn=new WeakMap;function Vn(e){let n=Xn.get(e);return _(n)&&(n=t(null),Xn.set(e,n)),n}function zn(e){var t;return null!==(t=wl.get(e))&&void 0!==t?t:ct.call(e)}const Qn=new WeakMap;function Jn(e){if(!W(e))throw new TypeError;let t=Qn.get(e);return _(t)&&(t=function(t){let n=ut.call(t);Rt(n)||(n=hl(n));Kn(t,zn(t),n)&&e.call(n,t)},t.placement=1,Qn.set(e,t)),t}const Zn=new WeakMap;function el(e){if(!W(e))throw new TypeError;let t=Zn.get(e);return _(t)&&(t=function(t){const n=ut.call(t);Kn(t,zn(t),n)&&e.call(n,t)},t.placement=0,Zn.set(e,t)),t}function tl(e){let t=!1,n=!1;const{type:o,stopImmediatePropagation:r,stopPropagation:a}=e,i=Vn(ut.call(e))[o];l(e,"stopImmediatePropagation",{value(){t=!0,r.call(e)},writable:!0,enumerable:!0,configurable:!0}),l(e,"stopPropagation",{value(){n=!0,a.call(e)},writable:!0,enumerable:!0,configurable:!0});const c=S.call(i);function u(n){R.call(c,(l=>{k(t)&&l.placement===n&&-1!==y.call(i,l)&&l.call(void 0,e)}))}Yn.set(e,1),u(1),k(t)&&k(n)&&(Yn.set(e,0),u(0)),Yn.set(e,2)}function nl(e,t,n){const l=Vn(e);let o=l[t];_(o)&&(o=l[t]=[]),-1===y.call(o,n)&&(0===o.length&&Ft.call(e,t,tl),T.call(o,n))}function ll(e,t,n){let l,o;_(o=Vn(e)[t])||-1===(l=y.call(o,n))||(O.call(o,l,1),0===o.length&&Wt.call(e,t,tl))}function ol(e,t,n){if(W(t)){nl(this,e,el(t))}}function rl(e,t,n){if(W(t)){ll(this,e,el(t))}}const al=new WeakMap,{createDocumentFragment:il}=document;function cl(e){const t=al.get(e);if(_(t))throw new TypeError;return t}function ul(e){return e[j]}function sl(e,t){e[j]=t}function fl(e){return cl(e).delegatesFocus}function pl(e){return cl(e).host}function hl(e){return cl(e).shadowRoot}function gl(e){const t=al.get(e);return!_(t)&&e===t.host}function ml(e){const t=al.get(e);return!_(t)&&e===t.shadowRoot}l(Q.prototype,j,{set(e){var t,n;_(e)||(this[K]=e,t=this,n=e.nodeKey,Kt(t,Gt,{value:n,configurable:!0}))},get(){return this[K]},configurable:!0,enumerable:!0}),l(G,"$isNativeShadowRootDefined$",{value:Dt}),_(G[V])&&l(G,V,{value:yt}),_(G[z])&&l(G,z,{value:bt});let dl=0;function bl(e,t){if(al.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=It(e),r=il.call(o),a={mode:n,delegatesFocus:!!l,host:e,shadowRoot:r};al.set(r,a),al.set(e,a);const i=()=>r,c=i.nodeKey=dl++;return Kt(e,jt,{value:c}),sl(r,i),p(r,Tl.prototype),r}const yl={constructor:{writable:!0,configurable:!0,value:Tl},toString:{writable:!0,configurable:!0,value:()=>"[object ShadowRoot]"},synthetic:{writable:!1,enumerable:!1,configurable:!1,value:!0}},El={activeElement:{enumerable:!0,configurable:!0,get(){const e=pl(this),t=It(e),n=pt.call(t);if(x(n))return n;if(0==(fe.call(e,n)&Z))return null;let l=n;for(;!tn(e,l);)l=Te.call(l);return en(l)?null:l}},delegatesFocus:{configurable:!0,get(){return cl(this).delegatesFocus}},elementFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return Ll(this,It(pl(this)),e,t)}},elementsFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return Mn(this,It(pl(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 pl(this)}},mode:{configurable:!0,get(){return cl(this).mode}},styleSheets:{enumerable:!0,configurable:!0,get(){throw new Error}}},wl=new WeakMap,vl={insertBefore:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return pe.call(pl(this),e,t),e}},removeChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return he.call(pl(this),e),e}},appendChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return ue.call(pl(this),e),e}},replaceChild:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return ge.call(pl(this),e,t),t}},addEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,l){W(n)&&nl(pl(e),t,Jn(n))}(this,e,t)}},dispatchEvent:{writable:!0,enumerable:!0,configurable:!0,value(e){return wl.set(e,this),kt.apply(pl(this),arguments)}},removeEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,l){W(n)&&ll(pl(e),t,Jn(n))}(this,e,t)}},baseURI:{enumerable:!0,configurable:!0,get(){return pl(this).baseURI}},childNodes:{enumerable:!0,configurable:!0,get(){return Tn(nn(this))}},cloneNode:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error('Disallowed method "cloneNode" on ShadowRoot.')}},compareDocumentPosition:{writable:!0,enumerable:!0,configurable:!0,value(e){const t=pl(this);return this===e?0:this.contains(e)?20:fe.call(t,e)&Z?37:35}},contains:{writable:!0,enumerable:!0,configurable:!0,value(e){if(this===e)return!0;const t=pl(this);return 0!=(fe.call(t,e)&Z)&&tn(t,e)}},firstChild:{enumerable:!0,configurable:!0,get(){return Un(this)[0]||null}},lastChild:{enumerable:!0,configurable:!0,get(){const e=Un(this);return e[e.length-1]||null}},hasChildNodes:{writable:!0,enumerable:!0,configurable:!0,value(){return Un(this).length>0}},isConnected:{enumerable:!0,configurable:!0,get(){return Le.call(pl(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 pl(this).ownerDocument}},parentElement:{enumerable:!0,configurable:!0,get:()=>null},parentNode:{enumerable:!0,configurable:!0,get:()=>null},textContent:{enumerable:!0,configurable:!0,get(){const e=Un(this);let t="";for(let n=0,l=e.length;n<l;n+=1){const l=e[n];l.nodeType!==ie&&(t+=En(l))}return t},set(e){const t=pl(this);Ne.call(t,e)}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value(e){return!_(e)&&F(e.composed)?pl(this).getRootNode(e):this}}};function Tl(){throw new TypeError("Illegal constructor")}function Nl(e,t){const n=[];let l;if(e instanceof Window)l=e;else{if(!(e instanceof Q))return n;l=e.getRootNode()}let o,r=e;for(;!x(r);)if(n.push(r),r instanceof Element||r instanceof Text){const e=r.assignedSlot;r=x(e)?r.parentNode:e}else r=!ml(r)&&!Rt(r)||!t&&r===l?r instanceof Q?r.parentNode:null:r.host;return o=e instanceof Window?e.document:It(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 Ml(e,t){if(x(e))return null;const n=Nl(e,!0),l=t;for(let e,t,o,r,a=0;a<l.length;a++)if(e=l[a],o=e instanceof Window?e:e.getRootNode(),o!==t&&(r=n.indexOf(o),t=o),!ml(o)||!B(r)&&r>-1)return e;return null}function Ll(e,t,n,l){const o=ht.call(t,n,l);return x(o)?o:Ml(e,Nl(o,!0))}e(yl,vl,{childElementCount:{enumerable:!0,configurable:!0,get(){return this.children.length}},children:{enumerable:!0,configurable:!0,get(){return Cn(d.call(nn(this),(e=>e instanceof Element)))}},firstElementChild:{enumerable:!0,configurable:!0,get(){return this.children[0]||null}},lastElementChild:{enumerable:!0,configurable:!0,get(){const{children:e}=this;return e.item(e.length-1)||null}},getElementById:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error('Disallowed method "getElementById" on ShadowRoot.')}},querySelector:{writable:!0,enumerable:!0,configurable:!0,value(e){return function(e,t){const n=pl(e);return an(n,Bt(Pe.call(n,t)))}(this,e)}},querySelectorAll:{writable:!0,enumerable:!0,configurable:!0,value(e){return Tn(function(e,t){const n=pl(e);return rn(n,Bt(Pe.call(n,t)))}(this,e))}}},{innerHTML:{enumerable:!0,configurable:!0,get(){const e=jn(this);let t="";for(let n=0,l=e.length;n<l;n+=1)t+=yn(e[n]);return t},set(e){const t=pl(this);Ye.call(t,e)}}},El),Tl.prototype=t(DocumentFragment.prototype,yl),l(Tl,Symbol.hasInstance,{value:function(e){return j(e)&&!x(e)&&(Rt(e)||i(e)===Tl.prototype)}}),Document.prototype.elementFromPoint=function(e,t){return Ll(this,this,e,t)},Document.prototype.elementsFromPoint=function(e,t){return Mn(this,this,e,t)},l(Document.prototype,"activeElement",{get(){let e=pt.call(this);if(x(e))return e;for(;!B(qt(e));)if(e=Te.call(e),x(e))return null;return"HTML"===e.tagName&&(e=this.body),e},enumerable:!0,configurable:!0}),l(Document.prototype,"getElementById",{value(){const e=yt.apply(this,S.call(arguments));return x(e)?null:B(qt(e))||$t(e)?e:null},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"querySelector",{value(){const e=Bt(bt.apply(this,S.call(arguments))),t=b.call(e,(e=>B(qt(e))||$t(e)));return B(t)?null:t},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"querySelectorAll",{value(){const e=Bt(bt.apply(this,S.call(arguments)));return Tn(d.call(e,(e=>B(qt(e))||$t(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByClassName",{value(){const e=Bt(Et.apply(this,S.call(arguments)));return Cn(d.call(e,(e=>B(qt(e))||$t(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByTagName",{value(){const e=Bt(wt.apply(this,S.call(arguments)));return Cn(d.call(e,(e=>B(qt(e))||$t(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByTagNameNS",{value(){const e=Bt(vt.apply(this,S.call(arguments)));return Cn(d.call(e,(e=>B(qt(e))||$t(e))))},writable:!0,enumerable:!0,configurable:!0}),l(r(HTMLDocument.prototype,"getElementsByName")?HTMLDocument.prototype:Document.prototype,"getElementsByName",{value(){const e=Bt(Tt.apply(this,S.call(arguments)));return Tn(d.call(e,(e=>B(qt(e))||$t(e))))},writable:!0,enumerable:!0,configurable:!0}),Object.defineProperty(window,"ShadowRoot",{value:Tl,configurable:!0,writable:!0});const Sl=Object.getOwnPropertyDescriptor(Event.prototype,"composed");const Cl=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"click");function Ol(e){Object.defineProperty(e,"composed",{configurable:!0,enumerable:!0,get:()=>!0})}(function(){if(!Sl)return!1;let e=new Event("click");const t=document.createElement("button");return t.addEventListener("click",(t=>e=t)),t.click(),!Sl.get.call(e)})()&&(HTMLElement.prototype.click=function(){Ft.call(this,"click",Ol);try{Cl.value.call(this)}finally{Wt.call(this,"click",Ol)}}),!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 Hl=CustomEvent;function Dl(e,t){const n=new Hl(e,t),l=!(!t||!t.composed);return Object.defineProperties(n,{composed:{get:()=>l,configurable:!0,enumerable:!0}}),n}if(Dl.prototype=Hl.prototype,window.CustomEvent=Dl,"undefined"!=typeof ClipboardEvent){const l=e(t(null),{copy:1,cut:1,paste:1});n(ClipboardEvent.prototype,{composed:{get(){const{type:e}=this;return 1===l[e]},configurable:!0,enumerable:!0}})}(function(){const e="undefined"!=typeof HTMLIFrameElement,t="undefined"!=typeof Proxy&&F(Proxy.isCompat);return e&&t})()&&function(){const e=r(HTMLIFrameElement.prototype,"contentWindow"),{get:t}=e;e.get=function(){const e=t.call(this);return x(e)||B(qt(this))?e:(n=e,{addEventListener(){return n.addEventListener.apply(n,arguments)},blur(){return n.blur.apply(n,arguments)},close(){return n.close.apply(n,arguments)},focus(){return n.focus.apply(n,arguments)},postMessage(){return n.postMessage.apply(n,arguments)},removeEventListener(){return n.removeEventListener.apply(n,arguments)},get closed(){return n.closed},get frames(){return n.frames},get length(){return n.length},get location(){return n.location},set location(e){n.location=e},get opener(){return n.opener},get parent(){return n.parent},get self(){return n.self},get top(){return n.top},get window(){return n.window}});var n},l(HTMLIFrameElement.prototype,"contentWindow",e)}();const Rl=MutationObserver,{disconnect:Pl,observe:Il,takeRecords:Al}=Rl.prototype,_l="$$lwcObserverCallbackWrapper$$",$l="$$lwcNodeObservers$$",Bl=new WeakMap;function xl(e){return e[$l]}function Fl(e){const{addedNodes:l,removedNodes:o,target:r,type:a}=e,i=t(MutationRecord.prototype);return n(i,{addedNodes:{get:()=>l,enumerable:!0,configurable:!0},removedNodes:{get:()=>o,enumerable:!0,configurable:!0},type:{get:()=>a,enumerable:!0,configurable:!0},target:{get:()=>r.shadowRoot,enumerable:!0,configurable:!0}}),i}function kl(e,t){let n=t;for(;!x(n);){const t=xl(n);if(!B(t)&&(t[0]===e||-1!==y.call(t,e)))return!0;n=n.parentNode}return!1}function Wl(e,t){return N.call(e,((e,n)=>{const{target:l,addedNodes:o,removedNodes:r,type:a}=n;if("childList"!==a||B(Xt(l)))kl(t,l)&&T.call(e,n);else if(o.length>0){const r=o[0];if(kl(t,r)){const o=xl(l);!o||o[0]!==t&&-1===y.call(o,t)?T.call(e,Fl(n)):T.call(e,n)}}else{const o=l.shadowRoot,a=r[0];if(Yt(l)===Yt(a)&&kl(t,l))T.call(e,n);else if(o){const l=xl(o);!l||l[0]!==t&&-1===y.call(l,t)||T.call(e,Fl(n))}}return e}),[])}function jl(e){const t=function(e){let t=e[_l];return B(t)&&(t=e[_l]=(t,n)=>{const l=Wl(t,n);0!==l.length&&e.call(n,l,n)}),t}(e);return new Rl(t)}function Ul(e,t,n){if(arguments.length>1){const e=S.call(arguments);return e[1]=qn(e[1]),Nt.apply(this,e)}return Nt.apply(this,arguments)}function Gl(e,t,n){if(arguments.length>1){const e=S.call(arguments);e[1]=qn(e[1]),Mt.apply(this,e)}Mt.apply(this,arguments)}function Kl(){const e=ct.call(this);if(!(e instanceof Q))return e;const t=It(e),n=Nl(e,this.composed),l=ut.call(this);if(!(l instanceof Q))return x(l)&&B(qt(e))?e:Ml(t,n);if(l===t||l===t.body)return B(qt(e))?e:Ml(t,n);let o=l,r=n;if(gl(l)){1===Yn.get(this)&&(o=hl(l))}return gl(e)&&wl.has(this)&&(r=Nl(hl(e),this.composed)),Ml(o,r)}function ql(){const e=ct.call(this);if(!(e instanceof Q))return[];const t=Boolean(e.shadowRoot),n=(l=e,al.has(l));var l;if(t&&!n)return ft.call(this);if(x(ut.call(this)))return[];let o=e;return gl(e)&&wl.has(this)&&(o=hl(e)),Nl(o,this.composed)}function Yl(e){const t=r(e.prototype,"relatedTarget").get;l(e.prototype,"relatedTarget",{get(){const e=t.call(this);if(x(e))return null;if(!(e instanceof Q&&Vt(e)))return e;let n=ut.call(this);return x(n)&&(n=It(e)),Ml(n,Nl(e,!0))},enumerable:!0,configurable:!0})}jl.prototype=Rl.prototype,jl.prototype.disconnect=function(){Pl.call(this);const e=Bl.get(this);B(e)||(R.call(e,(e=>{const t=e[$l];if(!B(t)){const e=y.call(t,this);-1!==e&&H.call(t,e,1)}})),e.length=0)},jl.prototype.observe=function(e,t){let n=xl(e);var l;if(B(n)&&(n=[],l=n,e[$l]=l),-1===y.call(n,this)&&T.call(n,this),ml(e)&&(e=e.host),Bl.has(this)){const t=Bl.get(this);-1===y.call(t,e)&&T.call(t,e)}else Bl.set(this,[e]);return Il.call(this,e,t)},jl.prototype.takeRecords=function(){return Wl(Al.call(this),this)},l(window,"MutationObserver",{value:jl,configurable:!0,writable:!0}),n(xt,{addEventListener:{value:function(e,t,n){if(gl(this))return ol.apply(this,arguments);if(arguments.length<2){const e=S.call(arguments);return e.length>1&&(e[1]=qn(e[1])),Ft.apply(this,e)}const l=qn(t);return Ft.call(this,e,l,n)},enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:function(e,t,n){if(gl(this))return rl.apply(this,arguments);const l=S.call(arguments);arguments.length>1&&(l[1]=qn(l[1])),Wt.apply(this,l),Wt.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),"undefined"==typeof EventTarget&&n(Window.prototype,{addEventListener:{value:Ul,enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:Gl,enumerable:!0,writable:!0,configurable:!0}}),n(Event.prototype,{target:{get:Kl,enumerable:!0,configurable:!0},currentTarget:{get:function(){const e=ut.call(this);return x(e)?null:1===Yn.get(this)?hl(e):e},enumerable:!0,configurable:!0},composedPath:{value:ql,writable:!0,enumerable:!0,configurable:!0},srcElement:{get:Kl,enumerable:!0,configurable:!0},path:{get:ql,enumerable:!0,configurable:!0}}),Yl(FocusEvent),Yl(MouseEvent);const Xl=c.call(Text.prototype,"assignedSlot")?r(Text.prototype,"assignedSlot").get:()=>null;let Vl;const zl={childList:!0},Ql=new WeakMap;function Jl(e){const t=Bt(Me.call(e));return N.call(t,((e,t)=>(t instanceof Element&&en(t)?T.apply(e,Jl(t)):T.call(e,t),e)),[])}function Zl(){const e=we.call(this);if(e instanceof Element){const t=ot.call(e);if(Rt(t))return this instanceof Text?Xl.call(this):rt.call(this)}return!x(e)&&en(e)&&qt(e)!==qt(this)?e:null}function eo(e,t){let n;const l=qt(e);if(B(l))n=e instanceof HTMLBodyElement?d.call(t,(t=>B(qt(t))||$t(e))):S.call(t);else if(gl(e)){const l=Jt(e);n=x(l)?[]:Xt(e)?ln(e,t):rn(l,t)}else n=d.call(t,(e=>Yt(e)===l));return n}function to(){const e=jn(this);let t="";for(let n=0,l=e.length;n<l;n+=1)t+=yn(e[n]);return t}function no(){return yn(this)}function lo(){const e=Jt(this),t=x(e)?[]:rn(e,cn(this));return Cn(d.call(t,(e=>e instanceof Element)))}function oo(){return this.children.length}function ro(){return this.children[0]||null}function ao(){const{children:e}=this;return e.item(e.length-1)||null}n(HTMLSlotElement.prototype,{addEventListener:{value(e,t,n){HTMLElement.prototype.addEventListener.call(this,e,t,n),"slotchange"!==e||Ql.get(this)||(Ql.set(this,!0),Vl||(Vl=new Ct((e=>{const t=[];R.call(e,(e=>{const{target:n}=e;-1===y.call(t,n)&&(T.call(t,n),kt.call(n,new CustomEvent("slotchange")))}))}))),Ot.call(Vl,this,zl))},writable:!0,enumerable:!0,configurable:!0},assignedElements:{value(e){if(Vt(this)){const t=!B(e)&&F(e.flatten)?Jl(this):un(this);return d.call(t,(e=>e instanceof Element))}return it.apply(this,S.call(arguments))},writable:!0,enumerable:!0,configurable:!0},assignedNodes:{value(e){if(Vt(this)){return!B(e)&&F(e.flatten)?Jl(this):un(this)}return at.apply(this,S.call(arguments))},writable:!0,enumerable:!0,configurable:!0},name:{get(){const e=Se.call(this,"name");return x(e)?"":e},set(e){Ae.call(this,"name",e)},enumerable:!0,configurable:!0},childNodes:{get(){if(Vt(this)){const e=Jt(this);return Tn(x(e)?[]:rn(e,cn(this)))}return Me.call(this)},enumerable:!0,configurable:!0}}),n(Text.prototype,{assignedSlot:{get:Zl,enumerable:!0,configurable:!0}}),n(Element.prototype,{innerHTML:{get(){return Vt(this)||gl(this)?to.call(this):qe.call(this)},set(e){Ye.call(this,e)},enumerable:!0,configurable:!0},outerHTML:{get(){return Vt(this)||gl(this)?no.call(this):Ve.call(this)},set(e){ze.call(this,e)},enumerable:!0,configurable:!0},attachShadow:{value:function(e){return e["$$lwc-synthetic-mode"]?bl(this,e):_e.call(this,e)},enumerable:!0,writable:!0,configurable:!0},shadowRoot:{get:function(){if(gl(this)){const e=hl(this);if("open"===e.mode)return e}return ot.call(this)},enumerable:!0,configurable:!0},children:{get(){return On(this)?lo.call(this):nt.call(this)},enumerable:!0,configurable:!0},childElementCount:{get(){return On(this)?oo.call(this):$e.call(this)},enumerable:!0,configurable:!0},firstElementChild:{get(){return On(this)?ro.call(this):Be.call(this)},enumerable:!0,configurable:!0},lastElementChild:{get(){return On(this)?ao.call(this):xe.call(this)},enumerable:!0,configurable:!0},assignedSlot:{get:Zl,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=Bt(Pe.apply(this,S.call(arguments)));if(gl(this)){const t=Jt(this);return B(Xt(this))?x(t)?null:an(t,e):on(this,e)}if(Vt(this)){const t=qt(this);if(B(t))return 0===e.length?null:e[0];{const n=b.call(e,(e=>Yt(e)===t));return B(n)?null:n}}{if(!(this instanceof HTMLBodyElement)){const t=e[0];return B(t)?null:t}const t=b.call(e,(e=>B(qt(e))||$t(this)));return B(t)?null:t}},writable:!0,enumerable:!0,configurable:!0},querySelectorAll:{value(){return Tn(function(e,t){let n;if(gl(e)){const l=Jt(e);n=B(Xt(e))?x(l)?[]:rn(l,t):ln(e,t)}else if(Vt(e)){const l=qt(e);n=B(l)?S.call(t):d.call(t,(e=>Yt(e)===l))}else n=e instanceof HTMLBodyElement?d.call(t,(t=>B(qt(t))||$t(e))):S.call(t);return n}(this,Bt(Pe.apply(this,S.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0}}),n(Element.prototype,{getElementsByClassName:{value(){return Cn(eo(this,Bt(lt.apply(this,S.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagName:{value(){return Cn(eo(this,Bt(Oe.apply(this,S.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagNameNS:{value(){return Cn(eo(this,Bt(He.apply(this,S.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0}}),c.call(HTMLElement.prototype,"getElementsByClassName")&&l(HTMLElement.prototype,"getElementsByClassName",r(Element.prototype,"getElementsByClassName"));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",co=new Set(["BUTTON","INPUT","SELECT","TEXTAREA"]);function uo(e){return e.filter((e=>De.call(e,"tabindex")?"0"===Se.call(e,"tabindex"):!co.has(Qe.call(e))||!De.call(e,"disabled")))}const so=new WeakMap;function fo(e){return(!gl(e)||!fl(e))&&(tt.call(e,io)&&function(e){const{width:t,height:n}=Ce.call(e),l=t>0||n>0,o="AREA"===e.tagName;return(l||o)&&"hidden"!==getComputedStyle(e).visibility}(e))}function po(){const e=this.getRootNode();if(e===this){const e=Re.call(this,io);return void(x(e)||e.focus.apply(e,arguments))}const t=e;if(t.activeElement===this)return;const n=Bt(Pe.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=It(e),n=uo(Bt(bt.call(t,io))),l=uo(Bt(Pe.call(e,io))),o=l[0],r=l[l.length-1],a=y.call(n,e),i=a>-1?a:y.call(n,o),c=0===l.length?i+1:y.call(n,r)+1;return{prev:S.call(n,0,i),inner:l,next:S.call(n,c)}}function go(e,t){const n=fe.call(e,t);return n&Z?0:n&te?1:n&ne?2:-1}function mo(e){e.preventDefault(),e.stopPropagation()}function bo(e,t){Nt.call(e,"focusin",mo,!0),Nt.call(e,"focusout",mo,!0),t(),Mt.call(e,"focusin",mo,!0),Mt.call(e,"focusout",mo,!0)}function yo(e,t,n){const l=At(n),o=function(e,t){const n=e.length;if(n>0)for(let l=0;l<n;l+=1){const n=e[l];if(Lo(t.getRootNode(),n))return n}return null}(e,n);x(o)?bo(l,(()=>{t.blur()})):bo(l,(()=>{o.focus()}))}let Eo=!1;function wo(){Eo=!0}function vo(){Eo=!1}function To(){return!Eo}function No(e){if(Eo)return;const t=ut.call(e),n=ct.call(e);if(t!==n)return;const l=st.call(e);if(x(l))return;const o=ho(t);if(1===go(t,l)){const e=Lo.bind(null,t.getRootNode()),r=b.call(o.inner,e);if(B(r))yo(o.next,n,l);else{bo(At(r),(()=>{r.focus()}))}}else t===n&&yo(M.call(o.prev),n,l)}function Mo(e){if(Eo)return;const t=st.call(e);if(x(t))return;const n=ut.call(e),l=ho(n);if(-1!==y.call(l.inner,t))return;const o=ct.call(e),r=go(n,t);1===r&&yo(l.next,o,t),2===r&&yo(M.call(l.prev),o,t)}function Lo(e,t){if(!fo(t))return!1;const n=It(t);let l=t.getRootNode();for(;l!==n&&l!==e;){const e=l.host;if("-1"===Se.call(e,"tabindex"))return!1;l=e&&e.getRootNode()}return!0}function So(e){Wt.call(e,"focusin",No,!0)}function Co(e){const t=It(e);so.get(t)||(so.set(t,!0),Ft.call(t,"mousedown",wo,!0),Ft.call(t,"mouseup",(()=>{setTimeout(vo)}),!0),Ft.call(t,"dragstart",vo,!0))}function Oo(e){Wt.call(e,"focusin",Mo,!0)}const{blur:Ho,focus:Do}=HTMLElement.prototype;function Ro(){return fl(this)&&k(De.call(this,"tabindex"))?0:Ze.call(this)}function Po(e){const t=fl(this),n=Ze.call(this),l=De.call(this,"tabindex");et.call(this,e);const o=Ze.call(this),r=De.call(this,"tabindex"),a=n!==o;var i;(l&&(a||k(r))&&(-1===n&&Oo(this),0===n&&t&&So(this)),k(r))||(l&&r&&k(a)||(-1===o&&(Co(i=this),So(i),Ft.call(i,"focusin",Mo,!0)),0===o&&t&&function(e){Co(e),Oo(e),Ft.call(e,"focusin",No,!0)}(this)))}function Io(){if(fl(this)){const e=function(e){const t=It(e),n=pt.call(t);return x(n)||0!=(fe.call(e,n)&Z)?n:null}(this);if(!x(e))return void e.blur()}return Ho.call(this)}function Ao(){const e=To();e&&wo(),gl(this)&&fl(this)?po.call(this):(Do.apply(this,arguments),e&&vo())}function _o(e,t){e[G]=t;const n=Me.call(e);for(let e=0,l=n.length;e<l;e++)_o(n[e],t)}n(HTMLElement.prototype,{tabIndex:{get(){return gl(this)?Ro.call(this):Ze.call(this)},set(e){return gl(this)?Po.call(this,e):et.call(this,e)},enumerable:!0,configurable:!0},blur:{value(){if(gl(this))return Io.call(this);Ho.call(this)},enumerable:!0,writable:!0,configurable:!0},focus:{value(){Ao.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),null!==ke&&null!==We&&l(HTMLElement.prototype,"innerText",{get(){return ke.call(this)},set(e){We.call(this,e)},enumerable:!0,configurable:!0}),null!==Ue&&null!==Ge&&l(HTMLElement.prototype,"outerText",{get(){return Ue.call(this)},set(e){Ge.call(this,e)},enumerable:!0,configurable:!0}),l(Element.prototype,Y,{set(e){const t=this[X];B(t)||t===e||Ie.call(this,t),B(e)||Ae.call(this,e,""),this[X]=e},get(){return this[X]},configurable:!0}),l(Element.prototype,"$shadowStaticNode$",{set(e){if(e){_o(this,this[G])}this[q]=e},get(){return this[q]},configurable:!0});const $o="$$DomManualKey$$",Bo=function(){};let xo;const Fo={childList:!0};function ko(e,t,n){const l=ul(e);if(l!==t&&(sl(e,t),e instanceof Element)){if(function(e,t){e[Y]=t}(e,n),gl(e))return;B(l)&&Ot.call(xo,e,Fo);const o=Me.call(e);for(let e=0,l=o.length;e<l;e+=1)ko(o[e],t,n)}}function Wo(){return new Ct((e=>{R.call(e,(e=>{const{target:t,addedNodes:n,removedNodes:l}=e,o=ul(t),r=t[Y];for(let e=0,n=l.length;e<n;e+=1){const n=l[e];fe.call(t,n)&Q.DOCUMENT_POSITION_CONTAINED_BY||ko(n,Bo,void 0)}for(let e=0,l=n.length;e<l;e+=1){const l=n[e];fe.call(t,l)&Q.DOCUMENT_POSITION_CONTAINED_BY&&ko(l,o,r)}}))}))}l(Element.prototype,"$domManual$",{set(e){this[$o]=e,F(e)&&function(e){if(B(xo)&&(xo=Wo()),B(ul(e)))throw new Error("Invalid Element");Ot.call(xo,e,Fo)}(this)},get(){return this[$o]},configurable:!0})}));
|
|
10
|
+
*/function Ml(e,t){if(x(e))return null;const n=Nl(e,!0),l=t;for(let e,t,o,r,a=0;a<l.length;a++)if(e=l[a],o=e instanceof Window?e:e.getRootNode(),o!==t&&(r=n.indexOf(o),t=o),!ml(o)||!_(r)&&r>-1)return e;return null}function Ll(e,t,n,l){const o=ht.call(t,n,l);return x(o)?o:Ml(e,Nl(o,!0))}e(yl,vl,{childElementCount:{enumerable:!0,configurable:!0,get(){return this.children.length}},children:{enumerable:!0,configurable:!0,get(){return Cn(d.call(nn(this),(e=>e instanceof Element)))}},firstElementChild:{enumerable:!0,configurable:!0,get(){return this.children[0]||null}},lastElementChild:{enumerable:!0,configurable:!0,get(){const{children:e}=this;return e.item(e.length-1)||null}},getElementById:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error('Disallowed method "getElementById" on ShadowRoot.')}},querySelector:{writable:!0,enumerable:!0,configurable:!0,value(e){return function(e,t){const n=pl(e);return an(n,_t(Pe.call(n,t)))}(this,e)}},querySelectorAll:{writable:!0,enumerable:!0,configurable:!0,value(e){return Tn(function(e,t){const n=pl(e);return rn(n,_t(Pe.call(n,t)))}(this,e))}}},{innerHTML:{enumerable:!0,configurable:!0,get(){const e=Un(this);let t="";for(let n=0,l=e.length;n<l;n+=1)t+=yn(e[n]);return t},set(e){const t=pl(this);Ye.call(t,e)}}},El),Tl.prototype=t(DocumentFragment.prototype,yl),l(Tl,Symbol.hasInstance,{value:function(e){return U(e)&&!x(e)&&(Rt(e)||i(e)===Tl.prototype)}}),Document.prototype.elementFromPoint=function(e,t){return Ll(this,this,e,t)},Document.prototype.elementsFromPoint=function(e,t){return Mn(this,this,e,t)},l(Document.prototype,"activeElement",{get(){let e=pt.call(this);if(x(e))return e;for(;!_(qt(e));)if(e=Te.call(e),x(e))return null;return"HTML"===e.tagName&&(e=this.body),e},enumerable:!0,configurable:!0}),l(Document.prototype,"getElementById",{value(){const e=yt.apply(this,S.call(arguments));return x(e)?null:_(qt(e))||Bt(e)?e:null},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"querySelector",{value(){const e=_t(bt.apply(this,S.call(arguments))),t=b.call(e,(e=>_(qt(e))||Bt(e)));return _(t)?null:t},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"querySelectorAll",{value(){const e=_t(bt.apply(this,S.call(arguments)));return Tn(d.call(e,(e=>_(qt(e))||Bt(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByClassName",{value(){const e=_t(Et.apply(this,S.call(arguments)));return Cn(d.call(e,(e=>_(qt(e))||Bt(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByTagName",{value(){const e=_t(wt.apply(this,S.call(arguments)));return Cn(d.call(e,(e=>_(qt(e))||Bt(e))))},writable:!0,enumerable:!0,configurable:!0}),l(Document.prototype,"getElementsByTagNameNS",{value(){const e=_t(vt.apply(this,S.call(arguments)));return Cn(d.call(e,(e=>_(qt(e))||Bt(e))))},writable:!0,enumerable:!0,configurable:!0}),l(r(HTMLDocument.prototype,"getElementsByName")?HTMLDocument.prototype:Document.prototype,"getElementsByName",{value(){const e=_t(Tt.apply(this,S.call(arguments)));return Tn(d.call(e,(e=>_(qt(e))||Bt(e))))},writable:!0,enumerable:!0,configurable:!0}),Object.defineProperty(window,"ShadowRoot",{value:Tl,configurable:!0,writable:!0});const Sl=Object.getOwnPropertyDescriptor(Event.prototype,"composed");const Cl=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"click");function Hl(e){Object.defineProperty(e,"composed",{configurable:!0,enumerable:!0,get:()=>!0})}(function(){if(!Sl)return!1;let e=new Event("click");const t=document.createElement("button");return t.addEventListener("click",(t=>e=t)),t.click(),!Sl.get.call(e)})()&&(HTMLElement.prototype.click=function(){Ft.call(this,"click",Hl);try{Cl.value.call(this)}finally{Wt.call(this,"click",Hl)}}),!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 Ol=CustomEvent;function Dl(e,t){const n=new Ol(e,t),l=!(!t||!t.composed);return Object.defineProperties(n,{composed:{get:()=>l,configurable:!0,enumerable:!0}}),n}if(Dl.prototype=Ol.prototype,window.CustomEvent=Dl,"undefined"!=typeof ClipboardEvent){const l=e(t(null),{copy:1,cut:1,paste:1});n(ClipboardEvent.prototype,{composed:{get(){const{type:e}=this;return 1===l[e]},configurable:!0,enumerable:!0}})}(function(){const e="undefined"!=typeof HTMLIFrameElement,t="undefined"!=typeof Proxy&&F(Proxy.isCompat);return e&&t})()&&function(){const e=r(HTMLIFrameElement.prototype,"contentWindow"),{get:t}=e;e.get=function(){const e=t.call(this);return x(e)||_(qt(this))?e:(n=e,{addEventListener(){return n.addEventListener.apply(n,arguments)},blur(){return n.blur.apply(n,arguments)},close(){return n.close.apply(n,arguments)},focus(){return n.focus.apply(n,arguments)},postMessage(){return n.postMessage.apply(n,arguments)},removeEventListener(){return n.removeEventListener.apply(n,arguments)},get closed(){return n.closed},get frames(){return n.frames},get length(){return n.length},get location(){return n.location},set location(e){n.location=e},get opener(){return n.opener},get parent(){return n.parent},get self(){return n.self},get top(){return n.top},get window(){return n.window}});var n},l(HTMLIFrameElement.prototype,"contentWindow",e)}();const Rl=MutationObserver,{disconnect:Pl,observe:Il,takeRecords:Al}=Rl.prototype,$l="$$lwcObserverCallbackWrapper$$",Bl="$$lwcNodeObservers$$",_l=new WeakMap;function xl(e){return e[Bl]}function Fl(e){const{addedNodes:l,removedNodes:o,target:r,type:a}=e,i=t(MutationRecord.prototype);return n(i,{addedNodes:{get:()=>l,enumerable:!0,configurable:!0},removedNodes:{get:()=>o,enumerable:!0,configurable:!0},type:{get:()=>a,enumerable:!0,configurable:!0},target:{get:()=>r.shadowRoot,enumerable:!0,configurable:!0}}),i}function kl(e,t){let n=t;for(;!x(n);){const t=xl(n);if(!_(t)&&(t[0]===e||-1!==y.call(t,e)))return!0;n=n.parentNode}return!1}function Wl(e,t){return N.call(e,((e,n)=>{const{target:l,addedNodes:o,removedNodes:r,type:a}=n;if("childList"!==a||_(Xt(l)))kl(t,l)&&T.call(e,n);else if(o.length>0){const r=o[0];if(kl(t,r)){const o=xl(l);!o||o[0]!==t&&-1===y.call(o,t)?T.call(e,Fl(n)):T.call(e,n)}}else{const o=l.shadowRoot,a=r[0];if(Yt(l)===Yt(a)&&kl(t,l))T.call(e,n);else if(o){const l=xl(o);!l||l[0]!==t&&-1===y.call(l,t)||T.call(e,Fl(n))}}return e}),[])}function Ul(e){const t=function(e){let t=e[$l];return _(t)&&(t=e[$l]=(t,n)=>{const l=Wl(t,n);0!==l.length&&e.call(n,l,n)}),t}(e);return new Rl(t)}function Gl(e,t,n){if(arguments.length>1){const e=S.call(arguments);return e[1]=qn(e[1]),Nt.apply(this,e)}return Nt.apply(this,arguments)}function jl(e,t,n){if(arguments.length>1){const e=S.call(arguments);e[1]=qn(e[1]),Mt.apply(this,e)}Mt.apply(this,arguments)}function Kl(){const e=ct.call(this);if(!(e instanceof Q))return e;const t=It(e),n=Nl(e,this.composed),l=ut.call(this);if(!(l instanceof Q))return x(l)&&_(qt(e))?e:Ml(t,n);if(l===t||l===t.body)return _(qt(e))?e:Ml(t,n);let o=l,r=n;if(gl(l)){1===Yn.get(this)&&(o=hl(l))}return gl(e)&&wl.has(this)&&(r=Nl(hl(e),this.composed)),Ml(o,r)}function ql(){const e=ct.call(this);if(!(e instanceof Q))return[];const t=Boolean(e.shadowRoot),n=(l=e,al.has(l));var l;if(t&&!n)return ft.call(this);if(x(ut.call(this)))return[];let o=e;return gl(e)&&wl.has(this)&&(o=hl(e)),Nl(o,this.composed)}function Yl(e){const t=r(e.prototype,"relatedTarget").get;l(e.prototype,"relatedTarget",{get(){const e=t.call(this);if(x(e))return null;if(!(e instanceof Q&&Vt(e)))return e;let n=ut.call(this);return x(n)&&(n=It(e)),Ml(n,Nl(e,!0))},enumerable:!0,configurable:!0})}Ul.prototype=Rl.prototype,Ul.prototype.disconnect=function(){Pl.call(this);const e=_l.get(this);_(e)||(R.call(e,(e=>{const t=e[Bl];if(!_(t)){const e=y.call(t,this);-1!==e&&O.call(t,e,1)}})),e.length=0)},Ul.prototype.observe=function(e,t){let n=xl(e);var l;if(_(n)&&(n=[],l=n,e[Bl]=l),-1===y.call(n,this)&&T.call(n,this),ml(e)&&(e=e.host),_l.has(this)){const t=_l.get(this);-1===y.call(t,e)&&T.call(t,e)}else _l.set(this,[e]);return Il.call(this,e,t)},Ul.prototype.takeRecords=function(){return Wl(Al.call(this),this)},l(window,"MutationObserver",{value:Ul,configurable:!0,writable:!0}),n(xt,{addEventListener:{value:function(e,t,n){if(gl(this))return ol.apply(this,arguments);if(arguments.length<2){const e=S.call(arguments);return e.length>1&&(e[1]=qn(e[1])),Ft.apply(this,e)}const l=qn(t);return Ft.call(this,e,l,n)},enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:function(e,t,n){if(gl(this))return rl.apply(this,arguments);const l=S.call(arguments);arguments.length>1&&(l[1]=qn(l[1])),Wt.apply(this,l),Wt.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),"undefined"==typeof EventTarget&&n(Window.prototype,{addEventListener:{value:Gl,enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:jl,enumerable:!0,writable:!0,configurable:!0}}),n(Event.prototype,{target:{get:Kl,enumerable:!0,configurable:!0},currentTarget:{get:function(){const e=ut.call(this);return x(e)?null:1===Yn.get(this)?hl(e):e},enumerable:!0,configurable:!0},composedPath:{value:ql,writable:!0,enumerable:!0,configurable:!0},srcElement:{get:Kl,enumerable:!0,configurable:!0},path:{get:ql,enumerable:!0,configurable:!0}}),Yl(FocusEvent),Yl(MouseEvent);const Xl=c.call(Text.prototype,"assignedSlot")?r(Text.prototype,"assignedSlot").get:()=>null;let Vl;const zl={childList:!0},Ql=new WeakMap;function Jl(e){const t=_t(Me.call(e));return N.call(t,((e,t)=>(t instanceof Element&&en(t)?T.apply(e,Jl(t)):T.call(e,t),e)),[])}function Zl(){const e=we.call(this);if(e instanceof Element){const t=ot.call(e);if(Rt(t))return this instanceof Text?Xl.call(this):rt.call(this)}return!x(e)&&en(e)&&qt(e)!==qt(this)?e:null}function eo(e,t){let n;const l=qt(e);if(_(l))n=e instanceof HTMLBodyElement?d.call(t,(t=>_(qt(t))||Bt(e))):S.call(t);else if(gl(e)){const l=Jt(e);n=x(l)?[]:Xt(e)?ln(e,t):rn(l,t)}else n=d.call(t,(e=>Yt(e)===l));return n}function to(){const e=Un(this);let t="";for(let n=0,l=e.length;n<l;n+=1)t+=yn(e[n]);return t}function no(){return yn(this)}function lo(){const e=Jt(this),t=x(e)?[]:rn(e,cn(this));return Cn(d.call(t,(e=>e instanceof Element)))}function oo(){return this.children.length}function ro(){return this.children[0]||null}function ao(){const{children:e}=this;return e.item(e.length-1)||null}n(HTMLSlotElement.prototype,{addEventListener:{value(e,t,n){HTMLElement.prototype.addEventListener.call(this,e,t,n),"slotchange"!==e||Ql.get(this)||(Ql.set(this,!0),Vl||(Vl=new Ct((e=>{const t=[];R.call(e,(e=>{const{target:n}=e;-1===y.call(t,n)&&(T.call(t,n),kt.call(n,new CustomEvent("slotchange")))}))}))),Ht.call(Vl,this,zl))},writable:!0,enumerable:!0,configurable:!0},assignedElements:{value(e){if(Vt(this)){const t=!_(e)&&F(e.flatten)?Jl(this):un(this);return d.call(t,(e=>e instanceof Element))}return it.apply(this,S.call(arguments))},writable:!0,enumerable:!0,configurable:!0},assignedNodes:{value(e){if(Vt(this)){return!_(e)&&F(e.flatten)?Jl(this):un(this)}return at.apply(this,S.call(arguments))},writable:!0,enumerable:!0,configurable:!0},name:{get(){const e=Se.call(this,"name");return x(e)?"":e},set(e){Ae.call(this,"name",e)},enumerable:!0,configurable:!0},childNodes:{get(){if(Vt(this)){const e=Jt(this);return Tn(x(e)?[]:rn(e,cn(this)))}return Me.call(this)},enumerable:!0,configurable:!0}}),n(Text.prototype,{assignedSlot:{get:Zl,enumerable:!0,configurable:!0}}),n(Element.prototype,{innerHTML:{get(){return Vt(this)||gl(this)?to.call(this):qe.call(this)},set(e){Ye.call(this,e)},enumerable:!0,configurable:!0},outerHTML:{get(){return Vt(this)||gl(this)?no.call(this):Ve.call(this)},set(e){ze.call(this,e)},enumerable:!0,configurable:!0},attachShadow:{value:function(e){return e["$$lwc-synthetic-mode"]?bl(this,e):$e.call(this,e)},enumerable:!0,writable:!0,configurable:!0},shadowRoot:{get:function(){if(gl(this)){const e=hl(this);if("open"===e.mode)return e}return ot.call(this)},enumerable:!0,configurable:!0},children:{get(){return Hn(this)?lo.call(this):nt.call(this)},enumerable:!0,configurable:!0},childElementCount:{get(){return Hn(this)?oo.call(this):Be.call(this)},enumerable:!0,configurable:!0},firstElementChild:{get(){return Hn(this)?ro.call(this):_e.call(this)},enumerable:!0,configurable:!0},lastElementChild:{get(){return Hn(this)?ao.call(this):xe.call(this)},enumerable:!0,configurable:!0},assignedSlot:{get:Zl,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(Pe.apply(this,S.call(arguments)));if(gl(this)){const t=Jt(this);return _(Xt(this))?x(t)?null:an(t,e):on(this,e)}if(Vt(this)){const t=qt(this);if(_(t))return 0===e.length?null:e[0];{const n=b.call(e,(e=>Yt(e)===t));return _(n)?null:n}}{if(!(this instanceof HTMLBodyElement)){const t=e[0];return _(t)?null:t}const t=b.call(e,(e=>_(qt(e))||Bt(this)));return _(t)?null:t}},writable:!0,enumerable:!0,configurable:!0},querySelectorAll:{value(){return Tn(function(e,t){let n;if(gl(e)){const l=Jt(e);n=_(Xt(e))?x(l)?[]:rn(l,t):ln(e,t)}else if(Vt(e)){const l=qt(e);n=_(l)?S.call(t):d.call(t,(e=>Yt(e)===l))}else n=e instanceof HTMLBodyElement?d.call(t,(t=>_(qt(t))||Bt(e))):S.call(t);return n}(this,_t(Pe.apply(this,S.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0}}),n(Element.prototype,{getElementsByClassName:{value(){return Cn(eo(this,_t(lt.apply(this,S.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagName:{value(){return Cn(eo(this,_t(He.apply(this,S.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagNameNS:{value(){return Cn(eo(this,_t(Oe.apply(this,S.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0}}),c.call(HTMLElement.prototype,"getElementsByClassName")&&l(HTMLElement.prototype,"getElementsByClassName",r(Element.prototype,"getElementsByClassName"));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",co=new Set(["BUTTON","INPUT","SELECT","TEXTAREA"]);function uo(e){return e.filter((e=>De.call(e,"tabindex")?"0"===Se.call(e,"tabindex"):!co.has(Qe.call(e))||!De.call(e,"disabled")))}const so=new WeakMap;function fo(e){return(!gl(e)||!fl(e))&&(tt.call(e,io)&&function(e){const{width:t,height:n}=Ce.call(e),l=t>0||n>0,o="AREA"===e.tagName;return(l||o)&&"hidden"!==getComputedStyle(e).visibility}(e))}function po(){const e=this.getRootNode();if(e===this){const e=Re.call(this,io);return void(x(e)||e.focus.apply(e,arguments))}const t=e;if(t.activeElement===this)return;const n=_t(Pe.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=It(e),n=uo(_t(bt.call(t,io))),l=uo(_t(Pe.call(e,io))),o=l[0],r=l[l.length-1],a=y.call(n,e),i=a>-1?a:y.call(n,o),c=0===l.length?i+1:y.call(n,r)+1;return{prev:S.call(n,0,i),inner:l,next:S.call(n,c)}}function go(e,t){const n=fe.call(e,t);return n&Z?0:n&te?1:n&ne?2:-1}function mo(e){e.preventDefault(),e.stopPropagation()}function bo(e,t){Nt.call(e,"focusin",mo,!0),Nt.call(e,"focusout",mo,!0),t(),Mt.call(e,"focusin",mo,!0),Mt.call(e,"focusout",mo,!0)}function yo(e,t,n){const l=At(n),o=function(e,t){const n=e.length;if(n>0)for(let l=0;l<n;l+=1){const n=e[l];if(Lo(t.getRootNode(),n))return n}return null}(e,n);x(o)?bo(l,(()=>{t.blur()})):bo(l,(()=>{o.focus()}))}let Eo=!1;function wo(){Eo=!0}function vo(){Eo=!1}function To(){return!Eo}function No(e){if(Eo)return;const t=ut.call(e),n=ct.call(e);if(t!==n)return;const l=st.call(e);if(x(l))return;const o=ho(t);if(1===go(t,l)){const e=Lo.bind(null,t.getRootNode()),r=b.call(o.inner,e);if(_(r))yo(o.next,n,l);else{bo(At(r),(()=>{r.focus()}))}}else t===n&&yo(M.call(o.prev),n,l)}function Mo(e){if(Eo)return;const t=st.call(e);if(x(t))return;const n=ut.call(e),l=ho(n);if(-1!==y.call(l.inner,t))return;const o=ct.call(e),r=go(n,t);1===r&&yo(l.next,o,t),2===r&&yo(M.call(l.prev),o,t)}function Lo(e,t){if(!fo(t))return!1;const n=It(t);let l=t.getRootNode();for(;l!==n&&l!==e;){const e=l.host;if("-1"===Se.call(e,"tabindex"))return!1;l=e&&e.getRootNode()}return!0}function So(e){Wt.call(e,"focusin",No,!0)}function Co(e){const t=It(e);so.get(t)||(so.set(t,!0),Ft.call(t,"mousedown",wo,!0),Ft.call(t,"mouseup",(()=>{setTimeout(vo)}),!0),Ft.call(t,"dragstart",vo,!0))}function Ho(e){Wt.call(e,"focusin",Mo,!0)}const{blur:Oo,focus:Do}=HTMLElement.prototype;function Ro(){return fl(this)&&k(De.call(this,"tabindex"))?0:Ze.call(this)}function Po(e){const t=fl(this),n=Ze.call(this),l=De.call(this,"tabindex");et.call(this,e);const o=Ze.call(this),r=De.call(this,"tabindex"),a=n!==o;var i;(l&&(a||k(r))&&(-1===n&&Ho(this),0===n&&t&&So(this)),k(r))||(l&&r&&k(a)||(-1===o&&(Co(i=this),So(i),Ft.call(i,"focusin",Mo,!0)),0===o&&t&&function(e){Co(e),Ho(e),Ft.call(e,"focusin",No,!0)}(this)))}function Io(){if(fl(this)){const e=function(e){const t=It(e),n=pt.call(t);return x(n)||0!=(fe.call(e,n)&Z)?n:null}(this);if(!x(e))return void e.blur()}return Oo.call(this)}function Ao(){const e=To();e&&wo(),gl(this)&&fl(this)?po.call(this):(Do.apply(this,arguments),e&&vo())}function $o(e,t){e[j]=t;const n=Me.call(e);for(let e=0,l=n.length;e<l;e++)$o(n[e],t)}n(HTMLElement.prototype,{tabIndex:{get(){return gl(this)?Ro.call(this):Ze.call(this)},set(e){return gl(this)?Po.call(this,e):et.call(this,e)},enumerable:!0,configurable:!0},blur:{value(){if(gl(this))return Io.call(this);Oo.call(this)},enumerable:!0,writable:!0,configurable:!0},focus:{value(){Ao.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),null!==ke&&null!==We&&l(HTMLElement.prototype,"innerText",{get(){return ke.call(this)},set(e){We.call(this,e)},enumerable:!0,configurable:!0}),null!==Ge&&null!==je&&l(HTMLElement.prototype,"outerText",{get(){return Ge.call(this)},set(e){je.call(this,e)},enumerable:!0,configurable:!0}),l(Element.prototype,Y,{set(e){const t=this[X];_(t)||t===e||Ie.call(this,t),_(e)||Ae.call(this,e,""),this[X]=e},get(){return this[X]},configurable:!0}),l(Element.prototype,"$shadowStaticNode$",{set(e){if(e){$o(this,this[j])}this[q]=e},get(){return this[q]},configurable:!0});const Bo="$$DomManualKey$$",_o=function(){};let xo;const Fo={childList:!0};function ko(e,t,n){const l=ul(e);if(l!==t&&(sl(e,t),e instanceof Element)){if(function(e,t){e[Y]=t}(e,n),gl(e))return;_(l)&&Ht.call(xo,e,Fo);const o=Me.call(e);for(let e=0,l=o.length;e<l;e+=1)ko(o[e],t,n)}}function Wo(){return new Ct((e=>{R.call(e,(e=>{const{target:t,addedNodes:n,removedNodes:l}=e,o=ul(t),r=t[Y];for(let e=0,n=l.length;e<n;e+=1){const n=l[e];fe.call(t,n)&Q.DOCUMENT_POSITION_CONTAINED_BY||ko(n,_o,void 0)}for(let e=0,l=n.length;e<l;e+=1){const l=n[e];fe.call(t,l)&Q.DOCUMENT_POSITION_CONTAINED_BY&&ko(l,o,r)}}))}))}l(Element.prototype,"$domManual$",{set(e){this[Bo]=e,F(e)&&function(e){if(_(xo)&&(xo=Wo()),_(ul(e)))throw new Error("Invalid Element");Ht.call(xo,e,Fo)}(this)},get(){return this[Bo]},configurable:!0})}));
|