lwc 2.45.2 → 2.45.3
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 +45 -52
- package/dist/engine-dom/esm/es2017/engine-dom.js.map +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom.js +45 -52
- package/dist/engine-dom/iife/es2017/engine-dom.js.map +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +51 -50
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js.map +1 -1
- package/dist/engine-dom/iife/es5/engine-dom.js +51 -56
- package/dist/engine-dom/iife/es5/engine-dom.js.map +1 -1
- package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +57 -54
- package/dist/engine-dom/iife/es5/engine-dom_debug.js.map +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom.js +45 -52
- package/dist/engine-dom/umd/es2017/engine-dom.js.map +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +51 -50
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js.map +1 -1
- package/dist/engine-dom/umd/es5/engine-dom.js +51 -56
- package/dist/engine-dom/umd/es5/engine-dom.js.map +1 -1
- package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +57 -54
- package/dist/engine-dom/umd/es5/engine-dom_debug.js.map +1 -1
- package/dist/engine-server/commonjs/es2017/engine-server.js +7795 -91
- package/dist/engine-server/commonjs/es2017/engine-server.js.map +1 -1
- package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
- package/dist/engine-server/esm/es2017/engine-server.js +7794 -71
- package/dist/engine-server/esm/es2017/engine-server.js.map +1 -1
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +71 -12
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js.map +1 -1
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +71 -12
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js.map +1 -1
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js +39 -1
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +55 -5
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js.map +1 -1
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +71 -12
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js.map +1 -1
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.min.js +39 -1
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +43 -4
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js.map +1 -1
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +71 -12
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js.map +1 -1
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js +39 -1
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +55 -5
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js.map +1 -1
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +71 -12
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js.map +1 -1
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.min.js +39 -1
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +43 -4
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js.map +1 -1
- package/dist/wire-service/esm/es2017/wire-service.js +10 -4
- package/dist/wire-service/esm/es2017/wire-service.js.map +1 -1
- package/dist/wire-service/iife/es2017/wire-service.js +10 -4
- package/dist/wire-service/iife/es2017/wire-service.js.map +1 -1
- package/dist/wire-service/iife/es2017/wire-service_debug.js +10 -4
- package/dist/wire-service/iife/es2017/wire-service_debug.js.map +1 -1
- package/dist/wire-service/iife/es5/wire-service.js +10 -4
- package/dist/wire-service/iife/es5/wire-service.js.map +1 -1
- package/dist/wire-service/iife/es5/wire-service_debug.js +10 -4
- package/dist/wire-service/iife/es5/wire-service_debug.js.map +1 -1
- package/dist/wire-service/umd/es2017/wire-service.js +10 -4
- package/dist/wire-service/umd/es2017/wire-service.js.map +1 -1
- package/dist/wire-service/umd/es2017/wire-service_debug.js +10 -4
- package/dist/wire-service/umd/es2017/wire-service_debug.js.map +1 -1
- package/dist/wire-service/umd/es5/wire-service.js +10 -4
- package/dist/wire-service/umd/es5/wire-service.js.map +1 -1
- package/dist/wire-service/umd/es5/wire-service_debug.js +10 -4
- package/dist/wire-service/umd/es5/wire-service_debug.js.map +1 -1
- package/package.json +7 -7
|
@@ -1,4 +1,42 @@
|
|
|
1
|
-
!function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){"use strict";const{assign:e,create:t,defineProperties:n,defineProperty:l,freeze:o,getOwnPropertyDescriptor:r,getOwnPropertyNames:a,getPrototypeOf:i,hasOwnProperty:c,isFrozen:u,keys:s,seal:f,setPrototypeOf:p}=Object,{concat:h,copyWithin:g,every:m,fill:d,filter:b,find:y,findIndex:E,includes:w,indexOf:v,join:T,map:N,pop:M,push:L,reduce:S,reverse:C,shift:H,slice:O,some:D,sort:R,splice:P,unshift:I,forEach:$}=Array.prototype,{charCodeAt:A,replace:B,split:x,slice:k,toLowerCase:F}=String.prototype;function _(e){return void 0===e}function W(e){return null===e}function U(e){return!0===e}function j(e){return!1===e}function G(e){return"function"==typeof e}function K(e){return"object"==typeof e}const q="object"==typeof globalThis?globalThis:window,Y="$shadowResolver$",X="$$ShadowResolverKey$$",V="$shadowStaticNodeKey$",z="$shadowToken$",Q="$$ShadowTokenKey$$",J="$nativeGetElementById$",Z="$nativeQuerySelectorAll$";q.lwcRuntimeFlags||Object.defineProperty(q,"lwcRuntimeFlags",{value:t(null)});const ee=Node,te=ee.prototype,{DOCUMENT_POSITION_CONTAINED_BY:ne,DOCUMENT_POSITION_CONTAINS:le,DOCUMENT_POSITION_PRECEDING:oe,DOCUMENT_POSITION_FOLLOWING:re,ELEMENT_NODE:ae,TEXT_NODE:ie,CDATA_SECTION_NODE:ce,PROCESSING_INSTRUCTION_NODE:ue,COMMENT_NODE:se,DOCUMENT_FRAGMENT_NODE:fe}=ee,{appendChild:pe,cloneNode:he,compareDocumentPosition:ge,insertBefore:me,removeChild:de,replaceChild:be,hasChildNodes:ye}=te,{contains:Ee}=HTMLElement.prototype,we=r(te,"firstChild").get,ve=r(te,"lastChild").get,Te=r(te,"textContent").get,Ne=r(te,"parentNode").get,Me=r(te,"ownerDocument").get,Le=c.call(te,"parentElement")?r(te,"parentElement").get:r(HTMLElement.prototype,"parentElement").get,Se=r(te,"textContent").set,Ce=c.call(te,"childNodes")?r(te,"childNodes").get:r(HTMLElement.prototype,"childNodes").get,He=c.call(te,"isConnected")?r(te,"isConnected").get:function(){const e=Me.call(this);return null===e||0!=(ge.call(e,this)&ne)},{getAttribute:Oe,getBoundingClientRect:De,getElementsByTagName:Re,getElementsByTagNameNS:Pe,hasAttribute:Ie,querySelector:$e,querySelectorAll:Ae,removeAttribute:Be,setAttribute:xe}=Element.prototype,ke=c.call(Element.prototype,"attachShadow")?Element.prototype.attachShadow:()=>{throw new TypeError("attachShadow() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill and use Lightning Web Components")},Fe=r(Element.prototype,"childElementCount").get,_e=r(Element.prototype,"firstElementChild").get,We=r(Element.prototype,"lastElementChild").get,Ue=r(HTMLElement.prototype,"innerText"),je=Ue?Ue.get:null,Ge=Ue?Ue.set:null,Ke=r(HTMLElement.prototype,"outerText"),qe=Ke?Ke.get:null,Ye=Ke?Ke.set:null,Xe=c.call(Element.prototype,"innerHTML")?r(Element.prototype,"innerHTML"):r(HTMLElement.prototype,"innerHTML"),Ve=Xe.get,ze=Xe.set,Qe=c.call(Element.prototype,"outerHTML")?r(Element.prototype,"outerHTML"):r(HTMLElement.prototype,"outerHTML"),Je=Qe.get,Ze=Qe.set,et=r(Element.prototype,"tagName").get,tt=r(HTMLElement.prototype,"tabIndex"),nt=tt.get,lt=tt.set,ot=c.call(Element.prototype,"matches")?Element.prototype.matches:Element.prototype.msMatchesSelector,rt=c.call(Element.prototype,"children")?r(Element.prototype,"children").get:r(HTMLElement.prototype,"children").get,{getElementsByClassName:at}=HTMLElement.prototype,it=c.call(Element.prototype,"shadowRoot")?r(Element.prototype,"shadowRoot").get:()=>null,ct=c.call(Element.prototype,"assignedSlot")?r(Element.prototype,"assignedSlot").get:()=>null;let ut,st;"undefined"!=typeof HTMLSlotElement?(ut=HTMLSlotElement.prototype.assignedNodes,st=HTMLSlotElement.prototype.assignedElements):(ut=()=>{throw new TypeError("assignedNodes() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill to start using <slot> elements in your Lightning Web Component's template")},st=()=>{throw new TypeError("assignedElements() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill to start using <slot> elements in your Lightning Web Component's template")});const ft=r(Event.prototype,"target").get,pt=r(Event.prototype,"currentTarget").get,ht=r(FocusEvent.prototype,"relatedTarget").get,gt=c.call(Event.prototype,"composedPath")?Event.prototype.composedPath:()=>[],mt=r(Document.prototype,"activeElement").get,dt=c.call(Document.prototype,"elementFromPoint")?Document.prototype.elementFromPoint:Document.prototype.msElementFromPoint,bt=c.call(Document.prototype,"elementsFromPoint")?Document.prototype.elementsFromPoint:Document.prototype.msElementsFromPoint,yt=r(Document.prototype,"defaultView").get,{createComment:Et,querySelectorAll:wt,getElementById:vt,getElementsByClassName:Tt,getElementsByTagName:Nt,getElementsByTagNameNS:Mt}=Document.prototype,{getElementsByName:Lt}=HTMLDocument.prototype,{addEventListener:St,removeEventListener:Ct,getComputedStyle:Ht,getSelection:Ot}=window,Dt=MutationObserver,Rt=Dt.prototype.observe;let Pt=null;"undefined"!=typeof ShadowRoot&&(Pt=ShadowRoot);const It=!W(Pt),$t=W(Pt)?()=>!1:e=>e instanceof Pt;const{createElement:At}=Document.prototype;function Bt(e){const t=Me.call(e);return null===t?e:t}function xt(e){const t=Bt(e),n=yt.call(t);if(null===n)throw new TypeError;return n}let kt;function Ft(e){if(_(kt)){const t=Bt(e);kt=t.body&&"temporary-bypass"===Oe.call(t.body,"data-global-patching-bypass")}return U(kt)}function _t(e){const t=e.length,n=[];if(t>0)for(let l=0;l<t;l++)n[l]=e[l];return n}"undefined"==typeof HTMLSlotElement&&function(){class e{}p(e,HTMLElement.constructor),p(e.prototype,HTMLElement.prototype),Window.prototype.HTMLSlotElement=e,l(Document.prototype,"createElement",{value:function(t,n){const l=At.apply(this,O.call(arguments));return 4===t.length&&115===A.call(t,0)&&108===A.call(t,1)&&111===A.call(t,2)&&116===A.call(t,3)&&p(l,e.prototype),l}})}();const Wt="undefined"!=typeof EventTarget?EventTarget.prototype:ee.prototype,{addEventListener:Ut,dispatchEvent:jt,removeEventListener:Gt}=Wt,Kt="$$HostElementKey$$",qt="$$ShadowedNodeKey$$";function Yt(e,t,n){const l=e;{const{value:e}=n;l[t]=e}}function Xt(e){return e[Kt]}function Vt(e){let t,n=e;for(;!W(n);){if(t=Xt(n),!_(t))return t;if(n=Ne.call(n),!W(n)&&tn(n))return}}function zt(e){return e[qt]}function Qt(e){return!_(Xt(e))}function Jt(e){let t=Le.call(e);for(;!W(t)&&nn(t);)e=t,t=Le.call(e);return e}function Zt(e,t){const n=zt(e);let l=t instanceof Element?t:Le.call(t);for(;!W(l)&&l!==e;){const t=Vt(l),o=Le.call(l);if(t===n)return nn(l);if(o===e)return!1;if(W(o)||Vt(o)===t)l=o;else{if(!nn(o))return!1;if(l=en(Jt(o)),!W(l)){if(l===e)return!0;if(Vt(l)===n)return!0}}}return!1}function en(e){if(!(e instanceof ee))return null;const t=Vt(e);if(_(t))return null;let n=e;for(;!W(n)&&zt(n)!==t;)n=Ne.call(n);return W(n)?null:n}function tn(e){return nn(e)&&Qt(e)}function nn(e){return e instanceof HTMLSlotElement}function ln(e,t){const n=Vt(t);if(_(n)){const e=Ne.call(t);return!(!W(e)&&tn(e))}return zt(e)===n}function on(e){const t=dl(e);return an(t,_t(Ce.call(t)))}function rn(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];!ln(e,o)&&Zt(e,o)&&L.call(n,o)}return n}function an(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];ln(e,o)&&L.call(n,o)}return n}function cn(e,t){for(let n=0,l=t.length;n<l;n+=1)if(ln(e,t[n]))return t[n];return null}function un(e){if(!yl(e)&&!nn(e)){return _t(Ce.call(e))}if(yl(e)){const t=_t(Ae.call(e,"slot")),n=hl(bl(e));return S.call(t,((e,t)=>(n===hl(t)&&L.apply(e,sn(t)),e)),[])}{const t=_t(Ce.call(e)),n=hl(e);return b.call(t,(e=>n===hl(e)))}}function sn(e){const t=en(e);if(W(t))return[];const n=_t(Ce.call(e));return b.call(n,(e=>!Qt(e)||!ln(t,e)))}const fn=/[&\u00A0"]/g,pn=/[&\u00A0<>]/g,{replace:hn,toLowerCase:gn}=String.prototype;function mn(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" ";default:return""}}function dn(e){return hn.call(e,fn,mn)}const bn=new Set(["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"]),yn=new Set(["STYLE","SCRIPT","XMP","IFRAME","NOEMBED","NOFRAMES","PLAINTEXT","NOSCRIPT"]);function En(e){switch(e.nodeType){case ae:{const{attributes:t}=e,n=et.call(e);let l="<"+gn.call(n);for(let e,n=0;e=t[n];n++)l+=" "+e.name+'="'+dn(e.value)+'"';return l+=">",bn.has(n)?l:l+function(e){let t="";const n=un(e);for(let e=0,l=n.length;e<l;e+=1)t+=En(n[e]);return t}(e)+"</"+gn.call(n)+">"}case ie:{const{data:n,parentNode:l}=e;return l instanceof Element&&yn.has(et.call(l))?n:(t=n,hn.call(t,pn,mn))}case ce:return`<!CDATA[[${e.data}]]>`;case ue:return`<?${e.target} ${e.data}?>`;case se:return`\x3c!--${e.data}--\x3e`;default:return""}var t}function wn(e){if(e.nodeType===ae){const t=un(e);let n="";for(let e=0,l=t.length;e<l;e+=1){const l=t[e];l.nodeType!==se&&(n+=wn(l))}return n}return e.nodeValue}const vn=new WeakMap;function Tn(){throw new TypeError("Illegal constructor")}function Nn(e){const n=t(Tn.prototype);return vn.set(n,e),$.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}Tn.prototype=t(NodeList.prototype,{constructor:{writable:!0,configurable:!0,value:Tn},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return vn.get(this).length}},forEach:{writable:!0,enumerable:!0,configurable:!0,value(e,t){$.call(vn.get(this),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value(){return N.call(vn.get(this),((e,t)=>[t,e]))}},keys:{writable:!0,enumerable:!0,configurable:!0,value(){return N.call(vn.get(this),((e,t)=>t))}},values:{writable:!0,enumerable:!0,configurable:!0,value(){return vn.get(this)}},[Symbol.iterator]:{writable:!0,configurable:!0,value(){let e=0;return{next:()=>{const t=vn.get(this);return e<t.length?{value:t[e++],done:!1}:{done:!0}}}}},[Symbol.toStringTag]:{configurable:!0,get:()=>"NodeList"},toString:{writable:!0,configurable:!0,value:()=>"[object NodeList]"}}),p(Tn,NodeList);const Mn=(e,t)=>{let n;for(;!_(n=e.host);){const l=n.getRootNode();if(l===t)return n;e=l}};function Ln(e,t,n,l){const o=bt.call(t,n,l),r=[],a=function(e){var t;const n=[];let l=e.getRootNode();for(;!_(l);)n.push(l),l=null===(t=l.host)||void 0===t?void 0:t.getRootNode();return n}(e);if(!W(o))for(let e=0;e<o.length;e++){const t=o[e];if(tn(t))continue;const n=t.getRootNode();if(-1!==v.call(a,n)){L.call(r,t);continue}const l=Mn(n,a[0]);_(l)||-1!==v.call(o,l)||-1!==v.call(r,l)||L.call(r,l)}return r}const Sn=new WeakMap;function Cn(){throw new TypeError("Illegal constructor")}function Hn(e){const n=t(Cn.prototype);return Sn.set(n,e),$.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}function On(e){return tn(e)||yl(e)}function Dn(e,t){const n=en(e);if(t===n)return bl(n);if(t instanceof Element){if(Vt(e)===Vt(t))return t;if(!W(n)&&nn(t)){const e=en(t);if(!W(e)&&ln(n,e))return e}}return null}function Rn(){return jn(this).length>0}function Pn(){return jn(this)[0]||null}function In(){const e=jn(this);return e[e.length-1]||null}function $n(){return wn(this)}function An(){const e=Ne.call(this);return W(e)?e:Dn(this,e)}function Bn(){const e=Ne.call(this);if(W(e))return null;const t=Dn(this,e);return t instanceof Element?t:null}function xn(e){return this===e?0:this.getRootNode()===e?10:Xt(this)!==Xt(e)?35:ge.call(this,e)}function kn(e){return null!=e&&Xt(this)===Xt(e)&&0!=(ge.call(this,e)&ne)}function Fn(e){const t=he.call(this,!1);if(!e)return t;const n=jn(this);for(let e=0,l=n.length;e<l;e+=1)t.appendChild(n[e].cloneNode(!0));return t}function _n(){if(yl(this)){const e=en(this);return Nn(W(e)?[]:an(e,un(this)))}return Ce.call(this)}Cn.prototype=t(HTMLCollection.prototype,{constructor:{writable:!0,configurable:!0,value:Cn},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return Sn.get(this).length}},namedItem:{writable:!0,enumerable:!0,configurable:!0,value(e){if(""===e)return null;const t=Sn.get(this);for(let n=0,l=t.length;n<l;n++){const n=t[l];if(e===Oe.call(n,"id")||e===Oe.call(n,"name"))return n}return null}},[Symbol.toStringTag]:{configurable:!0,get:()=>"HTMLCollection"},toString:{writable:!0,configurable:!0,value:()=>"[object HTMLCollection]"}}),p(Cn,HTMLCollection);const Wn=ee.prototype.getRootNode,Un=_(Wn)?function(){let e,t=this;for(;!W(e=Ne.call(t));)t=e;return t}:Wn;n(ee.prototype,{firstChild:{get(){return On(this)?Pn.call(this):we.call(this)},enumerable:!0,configurable:!0},lastChild:{get(){return On(this)?In.call(this):ve.call(this)},enumerable:!0,configurable:!0},textContent:{get(){return Qt(this)||yl(this)?$n.call(this):Te.call(this)},set:function(e){Se.call(this,e)},enumerable:!0,configurable:!0},parentNode:{get(){if(Qt(this))return An.call(this);const e=Ne.call(this);return!W(e)&&tn(e)?en(e):e},enumerable:!0,configurable:!0},parentElement:{get(){if(Qt(this))return Bn.call(this);const e=Le.call(this);return!W(e)&&tn(e)?en(e):e},enumerable:!0,configurable:!0},childNodes:{get(){return On(this)?_n.call(this):Ce.call(this)},enumerable:!0,configurable:!0},hasChildNodes:{value(){return On(this)?Rn.call(this):ye.call(this)},enumerable:!0,writable:!0,configurable:!0},compareDocumentPosition:{value(e){return Ft(this)?ge.call(this,e):xn.call(this,e)},enumerable:!0,writable:!0,configurable:!0},contains:{value(e){return this===e||null!=e&&(Qt(this)||yl(this)?kn.call(this,e):Ee.call(this,e))},enumerable:!0,writable:!0,configurable:!0},cloneNode:{value(e){return Qt(this)||yl(this)?Fn.call(this,e):he.call(this,e)},enumerable:!0,writable:!0,configurable:!0},getRootNode:{value:function(e){return U(!_(e)&&!!e.composed)?Un.call(this,e):function(e){const t=en(e);return W(t)?Un.call(e):bl(t)}(this)},enumerable:!0,configurable:!0,writable:!0},isConnected:{enumerable:!0,configurable:!0,get(){return He.call(this)}}});const jn=function(e){return e.childNodes};c.call(HTMLElement.prototype,"contains")&&l(HTMLElement.prototype,"contains",r(ee.prototype,"contains")),c.call(HTMLElement.prototype,"parentElement")&&l(HTMLElement.prototype,"parentElement",r(ee.prototype,"parentElement"));const Gn=new WeakMap,Kn=new WeakMap;function qn(e,t,n){if(t===n)return!0;let l=Kn.get(e);return _(l)&&(l=e.composedPath(),Kn.set(e,l)),l.includes(n)}function Yn(e){if(!function(e){return G(e)||K(e)&&!W(e)&&G(e.handleEvent)}(e))return e;let t=Gn.get(e);return _(t)&&(t=function(t){const n=pt.call(t);if(qn(t,Zn(t),n))return G(e)?e.call(this,t):e.handleEvent&&e.handleEvent(t)},Gn.set(e,t)),t}const Xn=new WeakMap;function Vn(e){return G(e)?e:e.handleEvent}function zn(e){return G(e)||G(null==e?void 0:e.handleEvent)}const Qn=new WeakMap;function Jn(e){let n=Qn.get(e);return _(n)&&(n=t(null),Qn.set(e,n)),n}function Zn(e){var t;return null!==(t=Ml.get(e))&&void 0!==t?t:ft.call(e)}const el=new WeakMap;function tl(e){if(!zn(e))throw new TypeError;let t=el.get(e);return _(t)&&(t={identity:e,placement:1,handleEvent(t){let n=pt.call(t);$t(n)||(n=bl(n));qn(t,Zn(t),n)&&Vn(e).call(n,t)}},el.set(e,t)),t}const nl=new WeakMap;function ll(e){if(!zn(e))throw new TypeError;let t=nl.get(e);return _(t)&&(t={identity:e,placement:0,handleEvent(t){const n=pt.call(t);qn(t,Zn(t),n)&&Vn(e).call(n,t)}},nl.set(e,t)),t}function ol(e,t){return E.call(e,(e=>e.identity===t.identity))}function rl(e){let t=!1,n=!1;const{type:o,stopImmediatePropagation:r,stopPropagation:a}=e,i=Jn(pt.call(e))[o];l(e,"stopImmediatePropagation",{value(){t=!0,r.call(e)},writable:!0,enumerable:!0,configurable:!0}),l(e,"stopPropagation",{value(){n=!0,a.call(e)},writable:!0,enumerable:!0,configurable:!0});const c=O.call(i);function u(n){$.call(c,(l=>{j(t)&&l.placement===n&&-1!==ol(i,l)&&l.handleEvent.call(void 0,e)}))}Xn.set(e,1),u(1),j(t)&&j(n)&&(Xn.set(e,0),u(0)),Xn.set(e,2)}function al(e,t,n){const l=Jn(e);let o=l[t];_(o)&&(o=l[t]=[]),-1===ol(o,n)&&(0===o.length&&Ut.call(e,t,rl),L.call(o,n))}function il(e,t,n){let l,o;_(o=Jn(e)[t])||-1===(l=ol(o,n))||(P.call(o,l,1),0===o.length&&Gt.call(e,t,rl))}function cl(e,t,n){if(zn(t)){al(this,e,ll(t))}}function ul(e,t,n){if(zn(t)){il(this,e,ll(t))}}const sl=new WeakMap,{createDocumentFragment:fl}=document;function pl(e){const t=sl.get(e);if(_(t))throw new TypeError;return t}function hl(e){return e[Y]}function gl(e,t){e[Y]=t}function ml(e){return pl(e).delegatesFocus}function dl(e){return pl(e).host}function bl(e){return pl(e).shadowRoot}function yl(e){const t=sl.get(e);return!_(t)&&e===t.host}function El(e){const t=sl.get(e);return!_(t)&&e===t.shadowRoot}l(ee.prototype,Y,{set(e){var t,n;_(e)||(this[X]=e,t=this,n=e.nodeKey,Yt(t,Kt,{value:n,configurable:!0}))},get(){return this[X]},configurable:!0,enumerable:!0}),l(q,"$isNativeShadowRootDefined$",{value:It}),_(q[J])&&l(q,J,{value:vt,configurable:!0}),_(q[Z])&&l(q,Z,{value:wt,configurable:!0});let wl=0;function vl(e,t){if(sl.has(e))throw new Error("Failed to execute 'attachShadow' on 'Element': Shadow root cannot be created on a host which already hosts a shadow tree.");const{mode:n,delegatesFocus:l}=t,o=Bt(e),r=fl.call(o),a={mode:n,delegatesFocus:!!l,host:e,shadowRoot:r};sl.set(r,a),sl.set(e,a);const i=()=>r,c=i.nodeKey=wl++;return Yt(e,qt,{value:c}),gl(r,i),p(r,Sl.prototype),r}const Tl={constructor:{writable:!0,configurable:!0,value:Sl},toString:{writable:!0,configurable:!0,value:()=>"[object ShadowRoot]"},synthetic:{writable:!1,enumerable:!1,configurable:!1,value:!0}},Nl={activeElement:{enumerable:!0,configurable:!0,get(){const e=dl(this),t=Bt(e),n=mt.call(t);if(W(n))return n;if(0==(ge.call(e,n)&ne))return null;let l=n;for(;!ln(e,l);)l=Le.call(l);return nn(l)?null:l}},delegatesFocus:{configurable:!0,get(){return pl(this).delegatesFocus}},elementFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return Ol(this,Bt(dl(this)),e,t)}},elementsFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return Ln(this,Bt(dl(this)),e,t)}},getSelection:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error('Disallowed method "getSelection" on ShadowRoot.')}},host:{enumerable:!0,configurable:!0,get(){return dl(this)}},mode:{configurable:!0,get(){return pl(this).mode}},styleSheets:{enumerable:!0,configurable:!0,get(){throw new Error}}},Ml=new WeakMap,Ll={insertBefore:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return me.call(dl(this),e,t),e}},removeChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return de.call(dl(this),e),e}},appendChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return pe.call(dl(this),e),e}},replaceChild:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return be.call(dl(this),e,t),t}},addEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,l){zn(n)&&al(dl(e),t,tl(n))}(this,e,t)}},dispatchEvent:{writable:!0,enumerable:!0,configurable:!0,value(e){return Ml.set(e,this),jt.apply(dl(this),arguments)}},removeEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,l){zn(n)&&il(dl(e),t,tl(n))}(this,e,t)}},baseURI:{enumerable:!0,configurable:!0,get(){return dl(this).baseURI}},childNodes:{enumerable:!0,configurable:!0,get(){return Nn(on(this))}},cloneNode:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error('Disallowed method "cloneNode" on ShadowRoot.')}},compareDocumentPosition:{writable:!0,enumerable:!0,configurable:!0,value(e){const t=dl(this);return this===e?0:this.contains(e)?20:ge.call(t,e)&ne?37:35}},contains:{writable:!0,enumerable:!0,configurable:!0,value(e){if(this===e)return!0;const t=dl(this);return 0!=(ge.call(t,e)&ne)&&ln(t,e)}},firstChild:{enumerable:!0,configurable:!0,get(){return jn(this)[0]||null}},lastChild:{enumerable:!0,configurable:!0,get(){const e=jn(this);return e[e.length-1]||null}},hasChildNodes:{writable:!0,enumerable:!0,configurable:!0,value(){return jn(this).length>0}},isConnected:{enumerable:!0,configurable:!0,get(){return He.call(dl(this))}},nextSibling:{enumerable:!0,configurable:!0,get:()=>null},previousSibling:{enumerable:!0,configurable:!0,get:()=>null},nodeName:{enumerable:!0,configurable:!0,get:()=>"#document-fragment"},nodeType:{enumerable:!0,configurable:!0,get:()=>11},nodeValue:{enumerable:!0,configurable:!0,get:()=>null},ownerDocument:{enumerable:!0,configurable:!0,get(){return dl(this).ownerDocument}},parentElement:{enumerable:!0,configurable:!0,get:()=>null},parentNode:{enumerable:!0,configurable:!0,get:()=>null},textContent:{enumerable:!0,configurable:!0,get(){const e=jn(this);let t="";for(let n=0,l=e.length;n<l;n+=1){const l=e[n];l.nodeType!==se&&(t+=wn(l))}return t},set(e){const t=dl(this);Se.call(t,e)}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value(e){return!_(e)&&U(e.composed)?dl(this).getRootNode(e):this}}};function Sl(){throw new TypeError("Illegal constructor")}function Cl(e,t){const n=[];let l;if(e instanceof Window)l=e;else{if(!(e instanceof ee))return n;l=e.getRootNode()}let o,r=e;for(;!W(r);)if(n.push(r),r instanceof Element||r instanceof Text){const e=r.assignedSlot;r=W(e)?r.parentNode:e}else r=!El(r)&&!$t(r)||!t&&r===l?r instanceof ee?r.parentNode:null:r.host;return o=e instanceof Window?e.document:Bt(e),n[n.length-1]===o&&n.push(window),n}
|
|
1
|
+
!function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){"use strict";const{assign:e,create:t,defineProperties:n,defineProperty:l,freeze:o,getOwnPropertyDescriptor:r,getOwnPropertyNames:a,getPrototypeOf:i,hasOwnProperty:c,isFrozen:u,keys:s,seal:f,setPrototypeOf:p}=Object,{concat:h,copyWithin:g,every:m,fill:d,filter:b,find:y,findIndex:E,includes:w,indexOf:v,join:T,map:N,pop:M,push:L,reduce:S,reverse:C,shift:H,slice:O,some:D,sort:R,splice:P,unshift:I,forEach:$}=Array.prototype,{charCodeAt:A,replace:B,split:x,slice:k,toLowerCase:F}=String.prototype;function _(e){return void 0===e}function W(e){return null===e}function U(e){return!0===e}function j(e){return!1===e}function G(e){return"function"==typeof e}function K(e){return"object"==typeof e}const q="object"==typeof globalThis?globalThis:window,Y="$shadowResolver$",X="$$ShadowResolverKey$$",V="$shadowStaticNodeKey$",z="$shadowToken$",Q="$$ShadowTokenKey$$",J="$nativeGetElementById$",Z="$nativeQuerySelectorAll$";q.lwcRuntimeFlags||Object.defineProperty(q,"lwcRuntimeFlags",{value:t(null)});const ee=Node,te=ee.prototype,{DOCUMENT_POSITION_CONTAINED_BY:ne,DOCUMENT_POSITION_CONTAINS:le,DOCUMENT_POSITION_PRECEDING:oe,DOCUMENT_POSITION_FOLLOWING:re,ELEMENT_NODE:ae,TEXT_NODE:ie,CDATA_SECTION_NODE:ce,PROCESSING_INSTRUCTION_NODE:ue,COMMENT_NODE:se,DOCUMENT_FRAGMENT_NODE:fe}=ee,{appendChild:pe,cloneNode:he,compareDocumentPosition:ge,insertBefore:me,removeChild:de,replaceChild:be,hasChildNodes:ye}=te,{contains:Ee}=HTMLElement.prototype,we=r(te,"firstChild").get,ve=r(te,"lastChild").get,Te=r(te,"textContent").get,Ne=r(te,"parentNode").get,Me=r(te,"ownerDocument").get,Le=c.call(te,"parentElement")?r(te,"parentElement").get:r(HTMLElement.prototype,"parentElement").get,Se=r(te,"textContent").set,Ce=c.call(te,"childNodes")?r(te,"childNodes").get:r(HTMLElement.prototype,"childNodes").get,He=c.call(te,"isConnected")?r(te,"isConnected").get:function(){const e=Me.call(this);return null===e||0!=(ge.call(e,this)&ne)},{getAttribute:Oe,getBoundingClientRect:De,getElementsByTagName:Re,getElementsByTagNameNS:Pe,hasAttribute:Ie,querySelector:$e,querySelectorAll:Ae,removeAttribute:Be,setAttribute:xe}=Element.prototype,ke=c.call(Element.prototype,"attachShadow")?Element.prototype.attachShadow:()=>{throw new TypeError("attachShadow() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill and use Lightning Web Components")},Fe=r(Element.prototype,"childElementCount").get,_e=r(Element.prototype,"firstElementChild").get,We=r(Element.prototype,"lastElementChild").get,Ue=r(HTMLElement.prototype,"innerText"),je=Ue?Ue.get:null,Ge=Ue?Ue.set:null,Ke=r(HTMLElement.prototype,"outerText"),qe=Ke?Ke.get:null,Ye=Ke?Ke.set:null,Xe=c.call(Element.prototype,"innerHTML")?r(Element.prototype,"innerHTML"):r(HTMLElement.prototype,"innerHTML"),Ve=Xe.get,ze=Xe.set,Qe=c.call(Element.prototype,"outerHTML")?r(Element.prototype,"outerHTML"):r(HTMLElement.prototype,"outerHTML"),Je=Qe.get,Ze=Qe.set,et=r(Element.prototype,"tagName").get,tt=r(HTMLElement.prototype,"tabIndex"),nt=tt.get,lt=tt.set,ot=c.call(Element.prototype,"matches")?Element.prototype.matches:Element.prototype.msMatchesSelector,rt=c.call(Element.prototype,"children")?r(Element.prototype,"children").get:r(HTMLElement.prototype,"children").get,{getElementsByClassName:at}=HTMLElement.prototype,it=c.call(Element.prototype,"shadowRoot")?r(Element.prototype,"shadowRoot").get:()=>null,ct=c.call(Element.prototype,"assignedSlot")?r(Element.prototype,"assignedSlot").get:()=>null;let ut,st;"undefined"!=typeof HTMLSlotElement?(ut=HTMLSlotElement.prototype.assignedNodes,st=HTMLSlotElement.prototype.assignedElements):(ut=()=>{throw new TypeError("assignedNodes() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill to start using <slot> elements in your Lightning Web Component's template")},st=()=>{throw new TypeError("assignedElements() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill to start using <slot> elements in your Lightning Web Component's template")});const ft=r(Event.prototype,"target").get,pt=r(Event.prototype,"currentTarget").get,ht=r(FocusEvent.prototype,"relatedTarget").get,gt=c.call(Event.prototype,"composedPath")?Event.prototype.composedPath:()=>[],mt=r(Document.prototype,"activeElement").get,dt=c.call(Document.prototype,"elementFromPoint")?Document.prototype.elementFromPoint:Document.prototype.msElementFromPoint,bt=c.call(Document.prototype,"elementsFromPoint")?Document.prototype.elementsFromPoint:Document.prototype.msElementsFromPoint,yt=r(Document.prototype,"defaultView").get,{createComment:Et,querySelectorAll:wt,getElementById:vt,getElementsByClassName:Tt,getElementsByTagName:Nt,getElementsByTagNameNS:Mt}=Document.prototype,{getElementsByName:Lt}=HTMLDocument.prototype,{addEventListener:St,removeEventListener:Ct,getComputedStyle:Ht,getSelection:Ot}=window,Dt=MutationObserver,Rt=Dt.prototype.observe;let Pt=null;"undefined"!=typeof ShadowRoot&&(Pt=ShadowRoot);const It=!W(Pt),$t=W(Pt)?()=>!1:e=>e instanceof Pt;const{createElement:At}=Document.prototype;function Bt(e){const t=Me.call(e);return null===t?e:t}function xt(e){const t=Bt(e),n=yt.call(t);if(null===n)throw new TypeError;return n}let kt;function Ft(e){if(_(kt)){const t=Bt(e);kt=t.body&&"temporary-bypass"===Oe.call(t.body,"data-global-patching-bypass")}return U(kt)}function _t(e){const t=e.length,n=[];if(t>0)for(let l=0;l<t;l++)n[l]=e[l];return n}"undefined"==typeof HTMLSlotElement&&function(){class e{}p(e,HTMLElement.constructor),p(e.prototype,HTMLElement.prototype),Window.prototype.HTMLSlotElement=e,l(Document.prototype,"createElement",{value:function(t,n){const l=At.apply(this,O.call(arguments));return 4===t.length&&115===A.call(t,0)&&108===A.call(t,1)&&111===A.call(t,2)&&116===A.call(t,3)&&p(l,e.prototype),l}})}();const Wt="undefined"!=typeof EventTarget?EventTarget.prototype:ee.prototype,{addEventListener:Ut,dispatchEvent:jt,removeEventListener:Gt}=Wt,Kt="$$HostElementKey$$",qt="$$ShadowedNodeKey$$";function Yt(e,t,n){const l=e;{const{value:e}=n;l[t]=e}}function Xt(e){return e[Kt]}function Vt(e){let t,n=e;for(;!W(n);){if(t=Xt(n),!_(t))return t;if(n=Ne.call(n),!W(n)&&tn(n))return}}function zt(e){return e[qt]}function Qt(e){return!_(Xt(e))}function Jt(e){let t=Le.call(e);for(;!W(t)&&nn(t);)e=t,t=Le.call(e);return e}function Zt(e,t){const n=zt(e);let l=t instanceof Element?t:Le.call(t);for(;!W(l)&&l!==e;){const t=Vt(l),o=Le.call(l);if(t===n)return nn(l);if(o===e)return!1;if(W(o)||Vt(o)===t)l=o;else{if(!nn(o))return!1;if(l=en(Jt(o)),!W(l)){if(l===e)return!0;if(Vt(l)===n)return!0}}}return!1}function en(e){if(!(e instanceof ee))return null;const t=Vt(e);if(_(t))return null;let n=e;for(;!W(n)&&zt(n)!==t;)n=Ne.call(n);return W(n)?null:n}function tn(e){return nn(e)&&Qt(e)}function nn(e){return e instanceof HTMLSlotElement}function ln(e,t){const n=Vt(t);if(_(n)){const e=Ne.call(t);return!(!W(e)&&tn(e))}return zt(e)===n}function on(e){const t=dl(e);return an(t,_t(Ce.call(t)))}function rn(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];!ln(e,o)&&Zt(e,o)&&L.call(n,o)}return n}function an(e,t){const n=[];for(let l=0,o=t.length;l<o;l+=1){const o=t[l];ln(e,o)&&L.call(n,o)}return n}function cn(e,t){for(let n=0,l=t.length;n<l;n+=1)if(ln(e,t[n]))return t[n];return null}function un(e){if(!yl(e)&&!nn(e)){return _t(Ce.call(e))}if(yl(e)){const t=_t(Ae.call(e,"slot")),n=hl(bl(e));return S.call(t,((e,t)=>(n===hl(t)&&L.apply(e,sn(t)),e)),[])}{const t=_t(Ce.call(e)),n=hl(e);return b.call(t,(e=>n===hl(e)))}}function sn(e){const t=en(e);if(W(t))return[];const n=_t(Ce.call(e));return b.call(n,(e=>!Qt(e)||!ln(t,e)))}
|
|
2
|
+
/**
|
|
3
|
+
@license
|
|
4
|
+
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
|
5
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
6
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
7
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
8
|
+
Code distributed by Google as part of the polymer project is also
|
|
9
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
@license
|
|
13
|
+
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
|
14
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
15
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
16
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
17
|
+
Code distributed by Google as part of the polymer project is also
|
|
18
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
19
|
+
*/
|
|
20
|
+
const fn=/[&\u00A0"]/g,pn=/[&\u00A0<>]/g,{replace:hn,toLowerCase:gn}=String.prototype;function mn(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" ";default:return""}}function dn(e){return hn.call(e,fn,mn)}const bn=new Set(["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"]),yn=new Set(["STYLE","SCRIPT","XMP","IFRAME","NOEMBED","NOFRAMES","PLAINTEXT","NOSCRIPT"]);function En(e){switch(e.nodeType){case ae:{const{attributes:t}=e,n=et.call(e);let l="<"+gn.call(n);for(let e,n=0;e=t[n];n++)l+=" "+e.name+'="'+dn(e.value)+'"';return l+=">",bn.has(n)?l:l+function(e){let t="";const n=un(e);for(let e=0,l=n.length;e<l;e+=1)t+=En(n[e]);return t}(e)+"</"+gn.call(n)+">"}case ie:{const{data:n,parentNode:l}=e;return l instanceof Element&&yn.has(et.call(l))?n:(t=n,hn.call(t,pn,mn))}case ce:return`<!CDATA[[${e.data}]]>`;case ue:return`<?${e.target} ${e.data}?>`;case se:return`\x3c!--${e.data}--\x3e`;default:return""}var t}
|
|
21
|
+
/**
|
|
22
|
+
@license
|
|
23
|
+
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
|
24
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
25
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
26
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
27
|
+
Code distributed by Google as part of the polymer project is also
|
|
28
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
29
|
+
*/function wn(e){if(e.nodeType===ae){const t=un(e);let n="";for(let e=0,l=t.length;e<l;e+=1){const l=t[e];l.nodeType!==se&&(n+=wn(l))}return n}return e.nodeValue}const vn=new WeakMap;function Tn(){throw new TypeError("Illegal constructor")}function Nn(e){const n=t(Tn.prototype);return vn.set(n,e),$.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}Tn.prototype=t(NodeList.prototype,{constructor:{writable:!0,configurable:!0,value:Tn},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return vn.get(this).length}},forEach:{writable:!0,enumerable:!0,configurable:!0,value(e,t){$.call(vn.get(this),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value(){return N.call(vn.get(this),((e,t)=>[t,e]))}},keys:{writable:!0,enumerable:!0,configurable:!0,value(){return N.call(vn.get(this),((e,t)=>t))}},values:{writable:!0,enumerable:!0,configurable:!0,value(){return vn.get(this)}},[Symbol.iterator]:{writable:!0,configurable:!0,value(){let e=0;return{next:()=>{const t=vn.get(this);return e<t.length?{value:t[e++],done:!1}:{done:!0}}}}},[Symbol.toStringTag]:{configurable:!0,get:()=>"NodeList"},toString:{writable:!0,configurable:!0,value:()=>"[object NodeList]"}}),p(Tn,NodeList);const Mn=(e,t)=>{let n;for(;!_(n=e.host);){const l=n.getRootNode();if(l===t)return n;e=l}};function Ln(e,t,n,l){const o=bt.call(t,n,l),r=[],a=function(e){var t;const n=[];let l=e.getRootNode();for(;!_(l);)n.push(l),l=null===(t=l.host)||void 0===t?void 0:t.getRootNode();return n}(e);if(!W(o))for(let e=0;e<o.length;e++){const t=o[e];if(tn(t))continue;const n=t.getRootNode();if(-1!==v.call(a,n)){L.call(r,t);continue}const l=Mn(n,a[0]);_(l)||-1!==v.call(o,l)||-1!==v.call(r,l)||L.call(r,l)}return r}const Sn=new WeakMap;function Cn(){throw new TypeError("Illegal constructor")}function Hn(e){const n=t(Cn.prototype);return Sn.set(n,e),$.call(e,((e,t)=>{l(n,t,{value:e,enumerable:!0,configurable:!0})})),n}function On(e){return tn(e)||yl(e)}function Dn(e,t){const n=en(e);if(t===n)return bl(n);if(t instanceof Element){if(Vt(e)===Vt(t))return t;if(!W(n)&&nn(t)){const e=en(t);if(!W(e)&&ln(n,e))return e}}return null}function Rn(){return jn(this).length>0}function Pn(){return jn(this)[0]||null}function In(){const e=jn(this);return e[e.length-1]||null}function $n(){return wn(this)}function An(){const e=Ne.call(this);return W(e)?e:Dn(this,e)}function Bn(){const e=Ne.call(this);if(W(e))return null;const t=Dn(this,e);return t instanceof Element?t:null}function xn(e){return this===e?0:this.getRootNode()===e?10:Xt(this)!==Xt(e)?35:ge.call(this,e)}function kn(e){return null!=e&&Xt(this)===Xt(e)&&0!=(ge.call(this,e)&ne)}function Fn(e){const t=he.call(this,!1);if(!e)return t;const n=jn(this);for(let e=0,l=n.length;e<l;e+=1)t.appendChild(n[e].cloneNode(!0));return t}function _n(){if(yl(this)){const e=en(this);return Nn(W(e)?[]:an(e,un(this)))}return Ce.call(this)}Cn.prototype=t(HTMLCollection.prototype,{constructor:{writable:!0,configurable:!0,value:Cn},item:{writable:!0,enumerable:!0,configurable:!0,value(e){return this[e]}},length:{enumerable:!0,configurable:!0,get(){return Sn.get(this).length}},namedItem:{writable:!0,enumerable:!0,configurable:!0,value(e){if(""===e)return null;const t=Sn.get(this);for(let n=0,l=t.length;n<l;n++){const n=t[l];if(e===Oe.call(n,"id")||e===Oe.call(n,"name"))return n}return null}},[Symbol.toStringTag]:{configurable:!0,get:()=>"HTMLCollection"},toString:{writable:!0,configurable:!0,value:()=>"[object HTMLCollection]"}}),p(Cn,HTMLCollection);const Wn=ee.prototype.getRootNode,Un=_(Wn)?function(){let e,t=this;for(;!W(e=Ne.call(t));)t=e;return t}:Wn;n(ee.prototype,{firstChild:{get(){return On(this)?Pn.call(this):we.call(this)},enumerable:!0,configurable:!0},lastChild:{get(){return On(this)?In.call(this):ve.call(this)},enumerable:!0,configurable:!0},textContent:{get(){return Qt(this)||yl(this)?$n.call(this):Te.call(this)},set:function(e){Se.call(this,e)},enumerable:!0,configurable:!0},parentNode:{get(){if(Qt(this))return An.call(this);const e=Ne.call(this);return!W(e)&&tn(e)?en(e):e},enumerable:!0,configurable:!0},parentElement:{get(){if(Qt(this))return Bn.call(this);const e=Le.call(this);return!W(e)&&tn(e)?en(e):e},enumerable:!0,configurable:!0},childNodes:{get(){return On(this)?_n.call(this):Ce.call(this)},enumerable:!0,configurable:!0},hasChildNodes:{value(){return On(this)?Rn.call(this):ye.call(this)},enumerable:!0,writable:!0,configurable:!0},compareDocumentPosition:{value(e){return Ft(this)?ge.call(this,e):xn.call(this,e)},enumerable:!0,writable:!0,configurable:!0},contains:{value(e){return this===e||null!=e&&(Qt(this)||yl(this)?kn.call(this,e):Ee.call(this,e))},enumerable:!0,writable:!0,configurable:!0},cloneNode:{value(e){return Qt(this)||yl(this)?Fn.call(this,e):he.call(this,e)},enumerable:!0,writable:!0,configurable:!0},getRootNode:{value:function(e){return U(!_(e)&&!!e.composed)?Un.call(this,e):function(e){const t=en(e);return W(t)?Un.call(e):bl(t)}(this)},enumerable:!0,configurable:!0,writable:!0},isConnected:{enumerable:!0,configurable:!0,get(){return He.call(this)}}});const jn=function(e){return e.childNodes};c.call(HTMLElement.prototype,"contains")&&l(HTMLElement.prototype,"contains",r(ee.prototype,"contains")),c.call(HTMLElement.prototype,"parentElement")&&l(HTMLElement.prototype,"parentElement",r(ee.prototype,"parentElement"));const Gn=new WeakMap,Kn=new WeakMap;function qn(e,t,n){if(t===n)return!0;let l=Kn.get(e);return _(l)&&(l=e.composedPath(),Kn.set(e,l)),l.includes(n)}function Yn(e){if(!function(e){return G(e)||K(e)&&!W(e)&&G(e.handleEvent)}(e))return e;let t=Gn.get(e);return _(t)&&(t=function(t){const n=pt.call(t);if(qn(t,Zn(t),n))return G(e)?e.call(this,t):e.handleEvent&&e.handleEvent(t)},Gn.set(e,t)),t}const Xn=new WeakMap;function Vn(e){return G(e)?e:e.handleEvent}function zn(e){return G(e)||G(null==e?void 0:e.handleEvent)}const Qn=new WeakMap;function Jn(e){let n=Qn.get(e);return _(n)&&(n=t(null),Qn.set(e,n)),n}function Zn(e){var t;return null!==(t=Ml.get(e))&&void 0!==t?t:ft.call(e)}const el=new WeakMap;function tl(e){if(!zn(e))throw new TypeError;let t=el.get(e);return _(t)&&(t={identity:e,placement:1,handleEvent(t){let n=pt.call(t);$t(n)||(n=bl(n));qn(t,Zn(t),n)&&Vn(e).call(n,t)}},el.set(e,t)),t}const nl=new WeakMap;function ll(e){if(!zn(e))throw new TypeError;let t=nl.get(e);return _(t)&&(t={identity:e,placement:0,handleEvent(t){const n=pt.call(t);qn(t,Zn(t),n)&&Vn(e).call(n,t)}},nl.set(e,t)),t}function ol(e,t){return E.call(e,(e=>e.identity===t.identity))}function rl(e){let t=!1,n=!1;const{type:o,stopImmediatePropagation:r,stopPropagation:a}=e,i=Jn(pt.call(e))[o];l(e,"stopImmediatePropagation",{value(){t=!0,r.call(e)},writable:!0,enumerable:!0,configurable:!0}),l(e,"stopPropagation",{value(){n=!0,a.call(e)},writable:!0,enumerable:!0,configurable:!0});const c=O.call(i);function u(n){$.call(c,(l=>{j(t)&&l.placement===n&&-1!==ol(i,l)&&l.handleEvent.call(void 0,e)}))}Xn.set(e,1),u(1),j(t)&&j(n)&&(Xn.set(e,0),u(0)),Xn.set(e,2)}function al(e,t,n){const l=Jn(e);let o=l[t];_(o)&&(o=l[t]=[]),-1===ol(o,n)&&(0===o.length&&Ut.call(e,t,rl),L.call(o,n))}function il(e,t,n){let l,o;_(o=Jn(e)[t])||-1===(l=ol(o,n))||(P.call(o,l,1),0===o.length&&Gt.call(e,t,rl))}function cl(e,t,n){if(zn(t)){al(this,e,ll(t))}}function ul(e,t,n){if(zn(t)){il(this,e,ll(t))}}const sl=new WeakMap,{createDocumentFragment:fl}=document;function pl(e){const t=sl.get(e);if(_(t))throw new TypeError;return t}function hl(e){return e[Y]}function gl(e,t){e[Y]=t}function ml(e){return pl(e).delegatesFocus}function dl(e){return pl(e).host}function bl(e){return pl(e).shadowRoot}function yl(e){const t=sl.get(e);return!_(t)&&e===t.host}function El(e){const t=sl.get(e);return!_(t)&&e===t.shadowRoot}l(ee.prototype,Y,{set(e){var t,n;_(e)||(this[X]=e,t=this,n=e.nodeKey,Yt(t,Kt,{value:n,configurable:!0}))},get(){return this[X]},configurable:!0,enumerable:!0}),l(q,"$isNativeShadowRootDefined$",{value:It}),_(q[J])&&l(q,J,{value:vt,configurable:!0}),_(q[Z])&&l(q,Z,{value:wt,configurable:!0});let wl=0;function vl(e,t){if(sl.has(e))throw new Error("Failed to execute 'attachShadow' on 'Element': Shadow root cannot be created on a host which already hosts a shadow tree.");const{mode:n,delegatesFocus:l}=t,o=Bt(e),r=fl.call(o),a={mode:n,delegatesFocus:!!l,host:e,shadowRoot:r};sl.set(r,a),sl.set(e,a);const i=()=>r,c=i.nodeKey=wl++;return Yt(e,qt,{value:c}),gl(r,i),p(r,Sl.prototype),r}const Tl={constructor:{writable:!0,configurable:!0,value:Sl},toString:{writable:!0,configurable:!0,value:()=>"[object ShadowRoot]"},synthetic:{writable:!1,enumerable:!1,configurable:!1,value:!0}},Nl={activeElement:{enumerable:!0,configurable:!0,get(){const e=dl(this),t=Bt(e),n=mt.call(t);if(W(n))return n;if(0==(ge.call(e,n)&ne))return null;let l=n;for(;!ln(e,l);)l=Le.call(l);return nn(l)?null:l}},delegatesFocus:{configurable:!0,get(){return pl(this).delegatesFocus}},elementFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return Ol(this,Bt(dl(this)),e,t)}},elementsFromPoint:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return Ln(this,Bt(dl(this)),e,t)}},getSelection:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error('Disallowed method "getSelection" on ShadowRoot.')}},host:{enumerable:!0,configurable:!0,get(){return dl(this)}},mode:{configurable:!0,get(){return pl(this).mode}},styleSheets:{enumerable:!0,configurable:!0,get(){throw new Error}}},Ml=new WeakMap,Ll={insertBefore:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return me.call(dl(this),e,t),e}},removeChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return de.call(dl(this),e),e}},appendChild:{writable:!0,enumerable:!0,configurable:!0,value(e){return pe.call(dl(this),e),e}},replaceChild:{writable:!0,enumerable:!0,configurable:!0,value(e,t){return be.call(dl(this),e,t),t}},addEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,l){zn(n)&&al(dl(e),t,tl(n))}(this,e,t)}},dispatchEvent:{writable:!0,enumerable:!0,configurable:!0,value(e){return Ml.set(e,this),jt.apply(dl(this),arguments)}},removeEventListener:{writable:!0,enumerable:!0,configurable:!0,value(e,t,n){!function(e,t,n,l){zn(n)&&il(dl(e),t,tl(n))}(this,e,t)}},baseURI:{enumerable:!0,configurable:!0,get(){return dl(this).baseURI}},childNodes:{enumerable:!0,configurable:!0,get(){return Nn(on(this))}},cloneNode:{writable:!0,enumerable:!0,configurable:!0,value(){throw new Error('Disallowed method "cloneNode" on ShadowRoot.')}},compareDocumentPosition:{writable:!0,enumerable:!0,configurable:!0,value(e){const t=dl(this);return this===e?0:this.contains(e)?20:ge.call(t,e)&ne?37:35}},contains:{writable:!0,enumerable:!0,configurable:!0,value(e){if(this===e)return!0;const t=dl(this);return 0!=(ge.call(t,e)&ne)&&ln(t,e)}},firstChild:{enumerable:!0,configurable:!0,get(){return jn(this)[0]||null}},lastChild:{enumerable:!0,configurable:!0,get(){const e=jn(this);return e[e.length-1]||null}},hasChildNodes:{writable:!0,enumerable:!0,configurable:!0,value(){return jn(this).length>0}},isConnected:{enumerable:!0,configurable:!0,get(){return He.call(dl(this))}},nextSibling:{enumerable:!0,configurable:!0,get:()=>null},previousSibling:{enumerable:!0,configurable:!0,get:()=>null},nodeName:{enumerable:!0,configurable:!0,get:()=>"#document-fragment"},nodeType:{enumerable:!0,configurable:!0,get:()=>11},nodeValue:{enumerable:!0,configurable:!0,get:()=>null},ownerDocument:{enumerable:!0,configurable:!0,get(){return dl(this).ownerDocument}},parentElement:{enumerable:!0,configurable:!0,get:()=>null},parentNode:{enumerable:!0,configurable:!0,get:()=>null},textContent:{enumerable:!0,configurable:!0,get(){const e=jn(this);let t="";for(let n=0,l=e.length;n<l;n+=1){const l=e[n];l.nodeType!==se&&(t+=wn(l))}return t},set(e){const t=dl(this);Se.call(t,e)}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value(e){return!_(e)&&U(e.composed)?dl(this).getRootNode(e):this}}};function Sl(){throw new TypeError("Illegal constructor")}
|
|
30
|
+
/**
|
|
31
|
+
@license
|
|
32
|
+
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
|
33
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
34
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
35
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
36
|
+
Code distributed by Google as part of the polymer project is also
|
|
37
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
38
|
+
*/
|
|
39
|
+
function Cl(e,t){const n=[];let l;if(e instanceof Window)l=e;else{if(!(e instanceof ee))return n;l=e.getRootNode()}let o,r=e;for(;!W(r);)if(n.push(r),r instanceof Element||r instanceof Text){const e=r.assignedSlot;r=W(e)?r.parentNode:e}else r=!El(r)&&!$t(r)||!t&&r===l?r instanceof ee?r.parentNode:null:r.host;return o=e instanceof Window?e.document:Bt(e),n[n.length-1]===o&&n.push(window),n}
|
|
2
40
|
/**
|
|
3
41
|
@license
|
|
4
42
|
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
|
@@ -3,7 +3,18 @@
|
|
|
3
3
|
factory();
|
|
4
4
|
})((function () { 'use strict';
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
/**
|
|
7
|
+
* Copyright (C) 2023 salesforce.com, inc.
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* Copyright (C) 2023 salesforce.com, inc.
|
|
11
|
+
*/
|
|
12
|
+
/*
|
|
13
|
+
* Copyright (c) 2018, salesforce.com, inc.
|
|
14
|
+
* All rights reserved.
|
|
15
|
+
* SPDX-License-Identifier: MIT
|
|
16
|
+
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
17
|
+
*/
|
|
7
18
|
|
|
8
19
|
/*
|
|
9
20
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -61,16 +72,16 @@
|
|
|
61
72
|
const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
|
|
62
73
|
const KEY__NATIVE_GET_ELEMENT_BY_ID = '$nativeGetElementById$';
|
|
63
74
|
const KEY__NATIVE_QUERY_SELECTOR_ALL = '$nativeQuerySelectorAll$';
|
|
64
|
-
/** version: 2.45.
|
|
75
|
+
/** version: 2.45.3 */
|
|
65
76
|
|
|
66
77
|
/**
|
|
67
|
-
* Copyright (C)
|
|
78
|
+
* Copyright (C) 2023 salesforce.com, inc.
|
|
68
79
|
*/
|
|
69
80
|
// eslint-disable-next-line no-restricted-properties
|
|
70
81
|
if (!_globalThis.lwcRuntimeFlags) {
|
|
71
82
|
Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
|
|
72
83
|
}
|
|
73
|
-
/** version: 2.45.
|
|
84
|
+
/** version: 2.45.3 */
|
|
74
85
|
|
|
75
86
|
/*
|
|
76
87
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -640,6 +651,16 @@
|
|
|
640
651
|
* SPDX-License-Identifier: MIT
|
|
641
652
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
642
653
|
*/
|
|
654
|
+
/**
|
|
655
|
+
@license
|
|
656
|
+
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
|
657
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
658
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
659
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
660
|
+
Code distributed by Google as part of the polymer project is also
|
|
661
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
662
|
+
*/
|
|
663
|
+
// This code is inspired by Polymer ShadyDOM Polyfill
|
|
643
664
|
function getInnerHTML(node) {
|
|
644
665
|
let s = '';
|
|
645
666
|
const childNodes = getFilteredChildNodes(node);
|
|
@@ -655,6 +676,16 @@
|
|
|
655
676
|
* SPDX-License-Identifier: MIT
|
|
656
677
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
657
678
|
*/
|
|
679
|
+
/**
|
|
680
|
+
@license
|
|
681
|
+
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
|
682
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
683
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
684
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
685
|
+
Code distributed by Google as part of the polymer project is also
|
|
686
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
687
|
+
*/
|
|
688
|
+
// This code is inspired by Polymer ShadyDOM Polyfill
|
|
658
689
|
// http://www.whatwg.org/specs/web-apps/current-work/multipage/the-end.html#escapingString
|
|
659
690
|
const escapeAttrRegExp = /[&\u00A0"]/g;
|
|
660
691
|
const escapeDataRegExp = /[&\u00A0<>]/g;
|
|
@@ -757,6 +788,16 @@
|
|
|
757
788
|
* SPDX-License-Identifier: MIT
|
|
758
789
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
759
790
|
*/
|
|
791
|
+
/**
|
|
792
|
+
@license
|
|
793
|
+
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
|
794
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
795
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
796
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
797
|
+
Code distributed by Google as part of the polymer project is also
|
|
798
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
799
|
+
*/
|
|
800
|
+
// This code is inspired by Polymer ShadyDOM Polyfill
|
|
760
801
|
function getTextContent(node) {
|
|
761
802
|
switch (node.nodeType) {
|
|
762
803
|
case ELEMENT_NODE: {
|
|
@@ -2175,6 +2216,15 @@
|
|
|
2175
2216
|
* SPDX-License-Identifier: MIT
|
|
2176
2217
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
2177
2218
|
*/
|
|
2219
|
+
/**
|
|
2220
|
+
@license
|
|
2221
|
+
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
|
2222
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
2223
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
2224
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
2225
|
+
Code distributed by Google as part of the polymer project is also
|
|
2226
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2227
|
+
*/
|
|
2178
2228
|
function pathComposer(startNode, composed) {
|
|
2179
2229
|
const composedPath = [];
|
|
2180
2230
|
let startRoot;
|
|
@@ -4517,7 +4567,7 @@
|
|
|
4517
4567
|
},
|
|
4518
4568
|
configurable: true,
|
|
4519
4569
|
});
|
|
4520
|
-
/** version: 2.45.
|
|
4570
|
+
/** version: 2.45.3 */
|
|
4521
4571
|
|
|
4522
4572
|
}));
|
|
4523
4573
|
//# sourceMappingURL=synthetic-shadow_debug.js.map
|