lwc 2.49.1 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -8
- package/aria-reflection.d.ts +7 -0
- package/aria-reflection.js +7 -0
- package/babel-plugin-component.d.ts +7 -0
- package/babel-plugin-component.js +7 -0
- package/compiler.d.ts +7 -0
- package/compiler.js +7 -0
- package/engine-core.d.ts +7 -0
- package/engine-core.js +7 -0
- package/engine-dom.d.ts +7 -0
- package/engine-dom.js +7 -0
- package/engine-server.d.ts +7 -0
- package/engine-server.js +7 -0
- package/errors.d.ts +7 -0
- package/errors.js +7 -0
- package/features.d.ts +7 -0
- package/features.js +7 -0
- package/{types.d.ts → index.d.ts} +1 -1
- package/index.js +2 -85
- package/module-resolver.d.ts +7 -0
- package/module-resolver.js +7 -0
- package/package.json +42 -29
- package/rollup-plugin.d.ts +7 -0
- package/rollup-plugin.js +7 -0
- package/shared.d.ts +7 -0
- package/shared.js +7 -0
- package/style-compiler.d.ts +7 -0
- package/style-compiler.js +7 -0
- package/synthetic-shadow.d.ts +7 -0
- package/synthetic-shadow.js +7 -0
- package/template-compiler.d.ts +7 -0
- package/template-compiler.js +7 -0
- package/wire-service.d.ts +7 -0
- package/wire-service.js +7 -0
- package/dist/engine-dom/esm/es2017/engine-dom.js +0 -8391
- package/dist/engine-dom/esm/es2017/engine-dom.js.map +0 -1
- package/dist/engine-dom/iife/es2017/engine-dom.js +0 -8429
- package/dist/engine-dom/iife/es2017/engine-dom.js.map +0 -1
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +0 -2
- package/dist/engine-dom/iife/es2017/engine-dom.min.js.map +0 -1
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +0 -6912
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js.map +0 -1
- package/dist/engine-dom/iife/es5/engine-dom.js +0 -8815
- package/dist/engine-dom/iife/es5/engine-dom.js.map +0 -1
- package/dist/engine-dom/iife/es5/engine-dom.min.js +0 -2
- package/dist/engine-dom/iife/es5/engine-dom.min.js.map +0 -1
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +0 -7325
- package/dist/engine-dom/iife/es5/engine-dom_debug.js.map +0 -1
- package/dist/engine-dom/umd/es2017/engine-dom.js +0 -8430
- package/dist/engine-dom/umd/es2017/engine-dom.js.map +0 -1
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +0 -2
- package/dist/engine-dom/umd/es2017/engine-dom.min.js.map +0 -1
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +0 -6913
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js.map +0 -1
- package/dist/engine-dom/umd/es5/engine-dom.js +0 -8816
- package/dist/engine-dom/umd/es5/engine-dom.js.map +0 -1
- package/dist/engine-dom/umd/es5/engine-dom.min.js +0 -2
- package/dist/engine-dom/umd/es5/engine-dom.min.js.map +0 -1
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +0 -7326
- package/dist/engine-dom/umd/es5/engine-dom_debug.js.map +0 -1
- package/dist/engine-server/commonjs/es2017/engine-server.js +0 -14541
- package/dist/engine-server/commonjs/es2017/engine-server.js.map +0 -1
- package/dist/engine-server/commonjs/es2017/engine-server.min.js +0 -2
- package/dist/engine-server/commonjs/es2017/engine-server.min.js.map +0 -1
- package/dist/engine-server/esm/es2017/engine-server.js +0 -14517
- package/dist/engine-server/esm/es2017/engine-server.js.map +0 -1
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +0 -4757
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js.map +0 -1
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +0 -4762
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js.map +0 -1
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js +0 -49
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js.map +0 -1
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +0 -4574
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js.map +0 -1
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +0 -4737
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js.map +0 -1
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.min.js +0 -49
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.min.js.map +0 -1
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +0 -4538
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js.map +0 -1
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +0 -4764
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js.map +0 -1
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js +0 -49
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js.map +0 -1
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +0 -4576
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js.map +0 -1
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +0 -4739
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js.map +0 -1
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.min.js +0 -49
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.min.js.map +0 -1
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +0 -4540
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js.map +0 -1
- package/dist/wire-service/esm/es2017/wire-service.js +0 -195
- package/dist/wire-service/esm/es2017/wire-service.js.map +0 -1
- package/dist/wire-service/iife/es2017/wire-service.js +0 -204
- package/dist/wire-service/iife/es2017/wire-service.js.map +0 -1
- package/dist/wire-service/iife/es2017/wire-service.min.js +0 -2
- package/dist/wire-service/iife/es2017/wire-service.min.js.map +0 -1
- package/dist/wire-service/iife/es2017/wire-service_debug.js +0 -204
- package/dist/wire-service/iife/es2017/wire-service_debug.js.map +0 -1
- package/dist/wire-service/iife/es5/wire-service.js +0 -247
- package/dist/wire-service/iife/es5/wire-service.js.map +0 -1
- package/dist/wire-service/iife/es5/wire-service.min.js +0 -2
- package/dist/wire-service/iife/es5/wire-service.min.js.map +0 -1
- package/dist/wire-service/iife/es5/wire-service_debug.js +0 -247
- package/dist/wire-service/iife/es5/wire-service_debug.js.map +0 -1
- package/dist/wire-service/umd/es2017/wire-service.js +0 -205
- package/dist/wire-service/umd/es2017/wire-service.js.map +0 -1
- package/dist/wire-service/umd/es2017/wire-service.min.js +0 -2
- package/dist/wire-service/umd/es2017/wire-service.min.js.map +0 -1
- package/dist/wire-service/umd/es2017/wire-service_debug.js +0 -205
- package/dist/wire-service/umd/es2017/wire-service_debug.js.map +0 -1
- package/dist/wire-service/umd/es5/wire-service.js +0 -248
- package/dist/wire-service/umd/es5/wire-service.js.map +0 -1
- package/dist/wire-service/umd/es5/wire-service.min.js +0 -2
- package/dist/wire-service/umd/es5/wire-service.min.js.map +0 -1
- package/dist/wire-service/umd/es5/wire-service_debug.js +0 -248
- package/dist/wire-service/umd/es5/wire-service_debug.js.map +0 -1
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
!function(e){"function"==typeof define&&define.amd?define(e):e()}((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.findIndex,y=m.indexOf,E=m.map,w=m.push,T=m.reduce,N=m.reverse,M=m.slice,L=m.splice,S=m.forEach,C=String.prototype.charCodeAt;function O(e){return void 0===e}function H(e){return null===e}function R(e){return!0===e}function D(e){return!1===e}function P(e){return"function"==typeof e}function I(e){return"object"===a(e)}var A="object"===("undefined"==typeof globalThis?"undefined":a(globalThis))?globalThis:window,$="$shadowResolver$",B="$$ShadowResolverKey$$",x="$shadowStaticNodeKey$",k="$shadowToken$",F="$$ShadowTokenKey$$",j="$nativeGetElementById$",W="$nativeQuerySelectorAll$";A.lwcRuntimeFlags||Object.defineProperty(A,"lwcRuntimeFlags",{value:u(null)});var _,U,G=Node,K=G.prototype,q=G.DOCUMENT_POSITION_CONTAINED_BY,Y=G.DOCUMENT_POSITION_PRECEDING,X=G.DOCUMENT_POSITION_FOLLOWING,V=G.ELEMENT_NODE,Q=G.TEXT_NODE,z=G.CDATA_SECTION_NODE,J=G.PROCESSING_INSTRUCTION_NODE,Z=G.COMMENT_NODE,ee=K.appendChild,te=K.cloneNode,ne=K.compareDocumentPosition,re=K.insertBefore,le=K.removeChild,oe=K.replaceChild,ae=K.hasChildNodes,ie=HTMLElement.prototype.contains,ue=f(K,"firstChild").get,ce=f(K,"lastChild").get,se=f(K,"textContent").get,fe=f(K,"parentNode").get,pe=f(K,"ownerDocument").get,he=h.call(K,"parentElement")?f(K,"parentElement").get:f(HTMLElement.prototype,"parentElement").get,ge=f(K,"textContent").set,me=h.call(K,"childNodes")?f(K,"childNodes").get:f(HTMLElement.prototype,"childNodes").get,ve=h.call(K,"isConnected")?f(K,"isConnected").get:function(){var e=pe.call(this);return null===e||0!=(ne.call(e,this)&q)},be=Element.prototype,de=be.getAttribute,ye=be.getBoundingClientRect,Ee=be.getElementsByTagName,we=be.getElementsByTagNameNS,Te=be.hasAttribute,Ne=be.querySelector,Me=be.querySelectorAll,Le=be.removeAttribute,Se=be.setAttribute,Ce=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")},Oe=f(Element.prototype,"childElementCount").get,He=f(Element.prototype,"firstElementChild").get,Re=f(Element.prototype,"lastElementChild").get,De=f(HTMLElement.prototype,"innerText"),Pe=De?De.get:null,Ie=De?De.set:null,Ae=f(HTMLElement.prototype,"outerText"),$e=Ae?Ae.get:null,Be=Ae?Ae.set:null,xe=h.call(Element.prototype,"innerHTML")?f(Element.prototype,"innerHTML"):f(HTMLElement.prototype,"innerHTML"),ke=xe.get,Fe=xe.set,je=h.call(Element.prototype,"outerHTML")?f(Element.prototype,"outerHTML"):f(HTMLElement.prototype,"outerHTML"),We=je.get,_e=je.set,Ue=f(Element.prototype,"tagName").get,Ge=f(HTMLElement.prototype,"tabIndex"),Ke=Ge.get,qe=Ge.set,Ye=h.call(Element.prototype,"matches")?Element.prototype.matches:Element.prototype.msMatchesSelector,Xe=h.call(Element.prototype,"children")?f(Element.prototype,"children").get:f(HTMLElement.prototype,"children").get,Ve=HTMLElement.prototype.getElementsByClassName,Qe=h.call(Element.prototype,"shadowRoot")?f(Element.prototype,"shadowRoot").get:function(){return null},ze=h.call(Element.prototype,"assignedSlot")?f(Element.prototype,"assignedSlot").get:function(){return null};"undefined"!=typeof HTMLSlotElement?(_=HTMLSlotElement.prototype.assignedNodes,U=HTMLSlotElement.prototype.assignedElements):(_=function(){throw new TypeError("assignedNodes() is not supported in current browser. Load the @lwc/synthetic-shadow polyfill to start using <slot> elements in your Lightning Web Component's template")},U=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 Je=f(Event.prototype,"target").get,Ze=f(Event.prototype,"currentTarget").get,et=f(FocusEvent.prototype,"relatedTarget").get,tt=h.call(Event.prototype,"composedPath")?Event.prototype.composedPath:function(){return[]},nt=f(Document.prototype,"activeElement").get,rt=h.call(Document.prototype,"elementFromPoint")?Document.prototype.elementFromPoint:Document.prototype.msElementFromPoint,lt=h.call(Document.prototype,"elementsFromPoint")?Document.prototype.elementsFromPoint:Document.prototype.msElementsFromPoint,ot=f(Document.prototype,"defaultView").get,at=Document.prototype,it=at.querySelectorAll,ut=at.getElementById,ct=at.getElementsByClassName,st=at.getElementsByTagName,ft=at.getElementsByTagNameNS,pt=HTMLDocument.prototype.getElementsByName,ht=window,gt=ht.addEventListener,mt=ht.removeEventListener,vt=MutationObserver,bt=vt.prototype.observe,dt=null;"undefined"!=typeof ShadowRoot&&(dt=ShadowRoot);var yt=!H(dt),Et=H(dt)?function(){return!1}:function(e){return e instanceof dt};var wt,Tt=Document.prototype.createElement;function Nt(e){var t=pe.call(e);return null===t?e:t}function Mt(e){var t=Nt(e),n=ot.call(t);if(null===n)throw new TypeError;return n}function Lt(e){if(O(wt)){var t=Nt(e);wt=t.body&&"temporary-bypass"===de.call(t.body,"data-global-patching-bypass")}return R(wt)}function St(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=Tt.apply(this,M.call(arguments));return 4===t.length&&115===C.call(t,0)&&108===C.call(t,1)&&111===C.call(t,2)&&116===C.call(t,3)&&g(r,e.prototype),r}})}();var Ct="undefined"!=typeof EventTarget?EventTarget.prototype:G.prototype,Ot=Ct.addEventListener,Ht=Ct.dispatchEvent,Rt=Ct.removeEventListener,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 $t(e){for(var t,n=e;!H(n);){if(!O(t=At(n)))return t;if(!H(n=fe.call(n))&&Wt(n))return}}function Bt(e){return e[Pt]}function xt(e){return!O(At(e))}function kt(e){for(var t=he.call(e);!H(t)&&_t(t);)e=t,t=he.call(e);return e}function Ft(e,t){for(var n=Bt(e),r=t instanceof Element?t:he.call(t);!H(r)&&r!==e;){var l=$t(r),o=he.call(r);if(l===n)return _t(r);if(o===e)return!1;if(H(o)||$t(o)===l)r=o;else{if(!_t(o))return!1;if(!H(r=jt(kt(o)))){if(r===e)return!0;if($t(r)===n)return!0}}}return!1}function jt(e){if(!(e instanceof G))return null;var t=$t(e);if(O(t))return null;for(var n=e;!H(n)&&Bt(n)!==t;)n=fe.call(n);return H(n)?null:n}function Wt(e){return _t(e)&&xt(e)}function _t(e){return e instanceof HTMLSlotElement}function Ut(e,t){var n=$t(t);if(O(n)){var r=fe.call(t);return!(!H(r)&&Wt(r))}return Bt(e)===n}function Gt(e){var t=rr(e);return qt(t,St(me.call(t)))}function Kt(e,t){for(var n=[],r=0,l=t.length;r<l;r+=1){var o=t[r];!Ut(e,o)&&Ft(e,o)&&w.call(n,o)}return n}function qt(e,t){for(var n=[],r=0,l=t.length;r<l;r+=1){var o=t[r];Ut(e,o)&&w.call(n,o)}return n}function Yt(e,t){for(var n=0,r=t.length;n<r;n+=1)if(Ut(e,t[n]))return t[n];return null}function Xt(e){if(!or(e)&&!_t(e))return St(me.call(e));if(or(e)){var t=St(Me.call(e,"slot")),n=er(lr(e));return T.call(t,(function(e,t){return n===er(t)&&w.apply(e,Vt(t)),e}),[])}var r=St(me.call(e)),l=er(e);return v.call(r,(function(e){return l===er(e)}))}function Vt(e){var t=jt(e);if(H(t))return[];var n=St(me.call(e));return v.call(n,(function(e){return!xt(e)||!Ut(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
|
-
var Qt=/[&\u00A0"]/g,zt=/[&\u00A0<>]/g,Jt=String.prototype,Zt=Jt.replace,en=Jt.toLowerCase;function tn(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" ";default:return""}}function nn(e){return Zt.call(e,Qt,tn)}var rn=new Set(["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"]),ln=new Set(["STYLE","SCRIPT","XMP","IFRAME","NOEMBED","NOFRAMES","PLAINTEXT","NOSCRIPT"]);function on(e){switch(e.nodeType){case V:for(var t,n=e.attributes,r=Ue.call(e),l="<"+en.call(r),o=0;t=n[o];o++)l+=" "+t.name+'="'+nn(t.value)+'"';return l+=">",rn.has(r)?l:l+function(e){for(var t="",n=Xt(e),r=0,l=n.length;r<l;r+=1)t+=on(n[r]);return t}(e)+"</"+en.call(r)+">";case Q:var a=e.data,i=e.parentNode;return i instanceof Element&&ln.has(Ue.call(i))?a:function(e){return Zt.call(e,zt,tn)}(a);case z:return"<!CDATA[[".concat(e.data,"]]>");case J:return"<?".concat(e.target," ").concat(e.data,"?>");case Z:return"\x3c!--".concat(e.data,"--\x3e");default:return""}}
|
|
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 an(e){if(e.nodeType===V){for(var t=Xt(e),n="",r=0,l=t.length;r<l;r+=1){var o=t[r];o.nodeType!==Z&&(n+=an(o))}return n}return e.nodeValue}var un=new WeakMap;function cn(){throw new TypeError("Illegal constructor")}function sn(e){var t=u(cn.prototype);return un.set(t,e),S.call(e,(function(e,n){s(t,n,{value:e,enumerable:!0,configurable:!0})})),t}cn.prototype=u(NodeList.prototype,(n(e={constructor:{writable:!0,configurable:!0,value:cn},item:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return this[e]}},length:{enumerable:!0,configurable:!0,get:function(){return un.get(this).length}},forEach:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){S.call(un.get(this),e,t)}},entries:{writable:!0,enumerable:!0,configurable:!0,value:function(){return E.call(un.get(this),(function(e,t){return[t,e]}))}},keys:{writable:!0,enumerable:!0,configurable:!0,value:function(){return E.call(un.get(this),(function(e,t){return t}))}},values:{writable:!0,enumerable:!0,configurable:!0,value:function(){return un.get(this)}}},Symbol.iterator,{writable:!0,configurable:!0,value:function(){var e=this,t=0;return{next:function(){var n=un.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(cn,NodeList);var fn=function(e,t){for(var n;!O(n=e.host);){var r=n.getRootNode();if(r===t)return n;e=r}};function pn(e,t,n,r){var l=lt.call(t,n,r),o=[],a=function(e){for(var t,n=[],r=e.getRootNode();!O(r);)n.push(r),r=null===(t=r.host)||void 0===t?void 0:t.getRootNode();return n}(e);if(!H(l))for(var i=0;i<l.length;i++){var u=l[i];if(!Wt(u)){var c=u.getRootNode();if(-1===y.call(a,c)){var s=fn(c,a[0]);O(s)||-1!==y.call(l,s)||-1!==y.call(o,s)||w.call(o,s)}else w.call(o,u)}}return o}var hn=new WeakMap;function gn(){throw new TypeError("Illegal constructor")}function mn(e){var t=u(gn.prototype);return hn.set(t,e),S.call(e,(function(e,n){s(t,n,{value:e,enumerable:!0,configurable:!0})})),t}function vn(e){return Wt(e)||or(e)}function bn(e,t){var n=jt(e);if(t===n)return lr(n);if(t instanceof Element){if($t(e)===$t(t))return t;if(!H(n)&&_t(t)){var r=jt(t);if(!H(r)&&Ut(n,r))return r}}return null}function dn(){return Rn(this).length>0}function yn(){return Rn(this)[0]||null}function En(){var e=Rn(this);return e[e.length-1]||null}function wn(){return an(this)}function Tn(){var e=fe.call(this);return H(e)?e:bn(this,e)}function Nn(){var e=fe.call(this);if(H(e))return null;var t=bn(this,e);return t instanceof Element?t:null}function Mn(e){return this===e?0:this.getRootNode()===e?10:At(this)!==At(e)?35:ne.call(this,e)}function Ln(e){return null!=e&&At(this)===At(e)&&0!=(ne.call(this,e)&q)}function Sn(e){var t=te.call(this,!1);if(!e)return t;for(var n=Rn(this),r=0,l=n.length;r<l;r+=1)t.appendChild(n[r].cloneNode(!0));return t}function Cn(){if(or(this)){var e=jt(this);return sn(H(e)?[]:qt(e,Xt(this)))}return me.call(this)}gn.prototype=u(HTMLCollection.prototype,(n(t={constructor:{writable:!0,configurable:!0,value:gn},item:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return this[e]}},length:{enumerable:!0,configurable:!0,get:function(){return hn.get(this).length}},namedItem:{writable:!0,enumerable:!0,configurable:!0,value:function(e){if(""===e)return null;for(var t=hn.get(this),n=0,r=t.length;n<r;n++){var l=t[r];if(e===de.call(l,"id")||e===de.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(gn,HTMLCollection);var On=G.prototype.getRootNode,Hn=O(On)?function(){for(var e,t=this;!H(e=fe.call(t));)t=e;return t}:On;c(G.prototype,{firstChild:{get:function(){return vn(this)?yn.call(this):ue.call(this)},enumerable:!0,configurable:!0},lastChild:{get:function(){return vn(this)?En.call(this):ce.call(this)},enumerable:!0,configurable:!0},textContent:{get:function(){return xt(this)||or(this)?wn.call(this):se.call(this)},set:function(e){ge.call(this,e)},enumerable:!0,configurable:!0},parentNode:{get:function(){if(xt(this))return Tn.call(this);var e=fe.call(this);return!H(e)&&Wt(e)?jt(e):e},enumerable:!0,configurable:!0},parentElement:{get:function(){if(xt(this))return Nn.call(this);var e=he.call(this);return!H(e)&&Wt(e)?jt(e):e},enumerable:!0,configurable:!0},childNodes:{get:function(){return vn(this)?Cn.call(this):me.call(this)},enumerable:!0,configurable:!0},hasChildNodes:{value:function(){return vn(this)?dn.call(this):ae.call(this)},enumerable:!0,writable:!0,configurable:!0},compareDocumentPosition:{value:function(e){return Lt(this)?ne.call(this,e):Mn.call(this,e)},enumerable:!0,writable:!0,configurable:!0},contains:{value:function(e){return this===e||null!=e&&(xt(this)||or(this)?Ln.call(this,e):ie.call(this,e))},enumerable:!0,writable:!0,configurable:!0},cloneNode:{value:function(e){return xt(this)||or(this)?Sn.call(this,e):te.call(this,e)},enumerable:!0,writable:!0,configurable:!0},getRootNode:{value:function(e){var t,n;return R(!O(e)&&!!e.composed)?Hn.call(this,e):H(n=jt(t=this))?Hn.call(t):lr(n)},enumerable:!0,configurable:!0,writable:!0},isConnected:{enumerable:!0,configurable:!0,get:function(){return ve.call(this)}}});var Rn=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,Pn=new WeakMap;function In(e,t,n){if(t===n)return!0;var r=Pn.get(e);return O(r)&&(r=e.composedPath(),Pn.set(e,r)),r.includes(n)}function An(e){if(!function(e){return P(e)||I(e)&&!H(e)&&P(e.handleEvent)}(e))return e;var t=Dn.get(e);return O(t)&&(t=function(t){var n=Ze.call(t);if(In(t,jn(t),n))return P(e)?e.call(this,t):e.handleEvent&&e.handleEvent(t)},Dn.set(e,t)),t}var $n=new WeakMap;function Bn(e){return P(e)?e:e.handleEvent}function xn(e){return P(e)||P(null==e?void 0:e.handleEvent)}var kn=new WeakMap;function Fn(e){var t=kn.get(e);return O(t)&&(t=u(null),kn.set(e,t)),t}function jn(e){var t;return null!==(t=fr.get(e))&&void 0!==t?t:Je.call(e)}var Wn=new WeakMap;function _n(e){if(!xn(e))throw new TypeError;var t=Wn.get(e);return O(t)&&(t={identity:e,placement:1,handleEvent:function(t){var n=Ze.call(t);Et(n)||(n=lr(n)),In(t,jn(t),n)&&Bn(e).call(n,t)}},Wn.set(e,t)),t}var Un=new WeakMap;function Gn(e){if(!xn(e))throw new TypeError;var t=Un.get(e);return O(t)&&(t={identity:e,placement:0,handleEvent:function(t){var n=Ze.call(t);In(t,jn(t),n)&&Bn(e).call(n,t)}},Un.set(e,t)),t}function Kn(e,t){return d.call(e,(function(e){return e.identity===t.identity}))}function qn(e){var t=!1,n=!1,r=e.type,l=e.stopImmediatePropagation,o=e.stopPropagation,a=Fn(Ze.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=M.call(a);function u(n){S.call(i,(function(r){D(t)&&r.placement===n&&-1!==Kn(a,r)&&r.handleEvent.call(void 0,e)}))}$n.set(e,1),u(1),D(t)&&D(n)&&($n.set(e,0),u(0)),$n.set(e,2)}function Yn(e,t,n){var r=Fn(e),l=r[t];O(l)&&(l=r[t]=[]),-1===Kn(l,n)&&(0===l.length&&Ot.call(e,t,qn),w.call(l,n))}function Xn(e,t,n){var r,l;O(l=Fn(e)[t])||-1===(r=Kn(l,n))||(L.call(l,r,1),0===l.length&&Rt.call(e,t,qn))}function Vn(e,t,n){xn(t)&&Yn(this,e,Gn(t))}function Qn(e,t,n){xn(t)&&Xn(this,e,Gn(t))}var zn=new WeakMap,Jn=document.createDocumentFragment;function Zn(e){var t=zn.get(e);if(O(t))throw new TypeError;return t}function er(e){return e[$]}function tr(e,t){e[$]=t}function nr(e){return Zn(e).delegatesFocus}function rr(e){return Zn(e).host}function lr(e){return Zn(e).shadowRoot}function or(e){var t=zn.get(e);return!O(t)&&e===t.host}function ar(e){var t=zn.get(e);return!O(t)&&e===t.shadowRoot}s(G.prototype,$,{set:function(e){var t,n;O(e)||(this[B]=e,t=this,n=e.nodeKey,It(t,Dt,{value:n,configurable:!0}))},get:function(){return this[B]},configurable:!0,enumerable:!0}),s(A,"$isNativeShadowRootDefined$",{value:yt}),O(A[j])&&s(A,j,{value:ut,configurable:!0}),O(A[W])&&s(A,W,{value:it,configurable:!0});var ir=0;function ur(e,t){if(zn.has(e))throw new Error("Failed to execute 'attachShadow' on 'Element': Shadow root cannot be created on a host which already hosts a shadow tree.");var n=t.mode,r=t.delegatesFocus,l=Nt(e),o=Jn.call(l),a={mode:n,delegatesFocus:!!r,host:e,shadowRoot:o};zn.set(o,a),zn.set(e,a);var i=function(){return o},u=i.nodeKey=ir++;return It(e,Pt,{value:u}),tr(o,i),g(o,hr.prototype),o}var cr={constructor:{writable:!0,configurable:!0,value:hr},toString:{writable:!0,configurable:!0,value:function(){return"[object ShadowRoot]"}},synthetic:{writable:!1,enumerable:!1,configurable:!1,value:!0}},sr={activeElement:{enumerable:!0,configurable:!0,get:function(){var e=rr(this),t=Nt(e),n=nt.call(t);if(H(n))return n;if(0==(ne.call(e,n)&q))return null;for(var r=n;!Ut(e,r);)r=he.call(r);return _t(r)?null:r}},delegatesFocus:{configurable:!0,get:function(){return Zn(this).delegatesFocus}},elementFromPoint:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return vr(this,Nt(rr(this)),e,t)}},elementsFromPoint:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return pn(this,Nt(rr(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 rr(this)}},mode:{configurable:!0,get:function(){return Zn(this).mode}},styleSheets:{enumerable:!0,configurable:!0,get:function(){throw new Error}}},fr=new WeakMap,pr={insertBefore:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return re.call(rr(this),e,t),e}},removeChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return le.call(rr(this),e),e}},appendChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return ee.call(rr(this),e),e}},replaceChild:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t){return oe.call(rr(this),e,t),t}},addEventListener:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t,n){!function(e,t,n,r){xn(n)&&Yn(rr(e),t,_n(n))}(this,e,t)}},dispatchEvent:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return fr.set(e,this),Ht.apply(rr(this),arguments)}},removeEventListener:{writable:!0,enumerable:!0,configurable:!0,value:function(e,t,n){!function(e,t,n,r){xn(n)&&Xn(rr(e),t,_n(n))}(this,e,t)}},baseURI:{enumerable:!0,configurable:!0,get:function(){return rr(this).baseURI}},childNodes:{enumerable:!0,configurable:!0,get:function(){return sn(Gt(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=rr(this);return this===e?0:this.contains(e)?20:ne.call(t,e)&q?37:35}},contains:{writable:!0,enumerable:!0,configurable:!0,value:function(e){if(this===e)return!0;var t=rr(this);return 0!=(ne.call(t,e)&q)&&Ut(t,e)}},firstChild:{enumerable:!0,configurable:!0,get:function(){return Rn(this)[0]||null}},lastChild:{enumerable:!0,configurable:!0,get:function(){var e=Rn(this);return e[e.length-1]||null}},hasChildNodes:{writable:!0,enumerable:!0,configurable:!0,value:function(){return Rn(this).length>0}},isConnected:{enumerable:!0,configurable:!0,get:function(){return ve.call(rr(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 rr(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=Rn(this),t="",n=0,r=e.length;n<r;n+=1){var l=e[n];l.nodeType!==Z&&(t+=an(l))}return t},set:function(e){var t=rr(this);ge.call(t,e)}},getRootNode:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return!O(e)&&R(e.composed)?rr(this).getRootNode(e):this}}};function hr(){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 gr(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;!H(o);)if(r.push(o),o instanceof Element||o instanceof Text){var a=o.assignedSlot;o=H(a)?o.parentNode:a}else o=!ar(o)&&!Et(o)||!t&&o===n?o instanceof G?o.parentNode:null:o.host;return l=e instanceof Window?e.document:Nt(e),r[r.length-1]===l&&r.push(window),r}
|
|
40
|
-
/**
|
|
41
|
-
@license
|
|
42
|
-
Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
|
43
|
-
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
|
44
|
-
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
|
45
|
-
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
|
46
|
-
Code distributed by Google as part of the polymer project is also
|
|
47
|
-
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
48
|
-
*/function mr(e,t){if(H(e))return null;for(var n,r,l,o,a=gr(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),!ar(l)||!O(o)&&o>-1)return n;return null}function vr(e,t,n,r){var l=rt.call(t,n,r);return H(l)?l:mr(e,gr(l,!0))}i(cr,pr,{childElementCount:{enumerable:!0,configurable:!0,get:function(){return this.children.length}},children:{enumerable:!0,configurable:!0,get:function(){return mn(v.call(Gt(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,Yt(n=rr(this),St(Me.call(n,t)));var t,n}},querySelectorAll:{writable:!0,enumerable:!0,configurable:!0,value:function(e){return sn((t=e,qt(n=rr(this),St(Me.call(n,t)))));var t,n}}},{innerHTML:{enumerable:!0,configurable:!0,get:function(){for(var e=Rn(this),t="",n=0,r=e.length;n<r;n+=1)t+=on(e[n]);return t},set:function(e){var t=rr(this);Fe.call(t,e)}}},sr),hr.prototype=u(DocumentFragment.prototype,cr),s(hr,Symbol.hasInstance,{value:function(e){return I(e)&&!H(e)&&(Et(e)||p(e)===hr.prototype)}}),Document.prototype.elementFromPoint=function(e,t){return vr(this,this,e,t)},Document.prototype.elementsFromPoint=function(e,t){return pn(this,this,e,t)},s(Document.prototype,"activeElement",{get:function(){var e=nt.call(this);if(H(e))return e;for(;!O(At(e));)if(H(e=he.call(e)))return null;return"HTML"===e.tagName&&(e=this.body),e},enumerable:!0,configurable:!0}),s(Document.prototype,"getElementById",{value:function(){var e=ut.apply(this,M.call(arguments));return H(e)?null:O(At(e))||Lt(e)?e:null},writable:!0,enumerable:!0,configurable:!0}),s(Document.prototype,"querySelector",{value:function(){var e=St(it.apply(this,M.call(arguments))),t=b.call(e,(function(e){return O(At(e))||Lt(e)}));return O(t)?null:t},writable:!0,enumerable:!0,configurable:!0}),s(Document.prototype,"querySelectorAll",{value:function(){var e=St(it.apply(this,M.call(arguments)));return sn(v.call(e,(function(e){return O(At(e))||Lt(e)})))},writable:!0,enumerable:!0,configurable:!0}),s(Document.prototype,"getElementsByClassName",{value:function(){var e=St(ct.apply(this,M.call(arguments)));return mn(v.call(e,(function(e){return O(At(e))||Lt(e)})))},writable:!0,enumerable:!0,configurable:!0}),s(Document.prototype,"getElementsByTagName",{value:function(){var e=St(st.apply(this,M.call(arguments)));return mn(v.call(e,(function(e){return O(At(e))||Lt(e)})))},writable:!0,enumerable:!0,configurable:!0}),s(Document.prototype,"getElementsByTagNameNS",{value:function(){var e=St(ft.apply(this,M.call(arguments)));return mn(v.call(e,(function(e){return O(At(e))||Lt(e)})))},writable:!0,enumerable:!0,configurable:!0}),s(f(HTMLDocument.prototype,"getElementsByName")?HTMLDocument.prototype:Document.prototype,"getElementsByName",{value:function(){var e=St(pt.apply(this,M.call(arguments)));return sn(v.call(e,(function(e){return O(At(e))||Lt(e)})))},writable:!0,enumerable:!0,configurable:!0}),Object.defineProperty(window,"ShadowRoot",{value:hr,configurable:!0,writable:!0});var br=Object.getOwnPropertyDescriptor(Event.prototype,"composed");var dr=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"click");function yr(e){Object.defineProperty(e,"composed",{configurable:!0,enumerable:!0,get:function(){return!0}})}(function(){if(!br)return!1;var e=new Event("click"),t=document.createElement("button");return t.addEventListener("click",(function(t){return e=t})),t.click(),!br.get.call(e)})()&&(HTMLElement.prototype.click=function(){Ot.call(this,"click",yr);try{dr.value.call(this)}finally{Rt.call(this,"click",yr)}}),!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 Er,wr,Tr,Nr,Mr=CustomEvent;function Lr(e,t){var n=new Mr(e,t),r=!(!t||!t.composed);return Object.defineProperties(n,{composed:{get:function(){return r},configurable:!0,enumerable:!0}}),n}if(Lr.prototype=Mr.prototype,window.CustomEvent=Lr,"undefined"!=typeof ClipboardEvent){var Sr=i(u(null),{copy:1,cut:1,paste:1});c(ClipboardEvent.prototype,{composed:{get:function(){var e=this.type;return 1===Sr[e]},configurable:!0,enumerable:!0}})}Tr="undefined"!=typeof HTMLIFrameElement,Nr="undefined"!=typeof Proxy&&R(Proxy.isCompat),Tr&&Nr&&(Er=f(HTMLIFrameElement.prototype,"contentWindow"),wr=Er.get,Er.get=function(){var e,t=wr.call(this);return H(t)||O(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",Er));var Cr=MutationObserver,Or=Cr.prototype,Hr=Or.disconnect,Rr=Or.observe,Dr=Or.takeRecords,Pr="$$lwcObserverCallbackWrapper$$",Ir="$$lwcNodeObservers$$",Ar=new WeakMap;function $r(e){return e[Ir]}function Br(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 xr(e,t){for(var n=t;!H(n);){var r=$r(n);if(!O(r)&&(r[0]===e||-1!==y.call(r,e)))return!0;n=n.parentNode}return!1}function kr(e,t){return T.call(e,(function(e,n){var r=n.target,l=n.addedNodes,o=n.removedNodes;if("childList"!==n.type||O(Bt(r)))xr(t,r)&&w.call(e,n);else if(l.length>0){var a=l[0];if(xr(t,a)){var i=$r(r);!i||i[0]!==t&&-1===y.call(i,t)?w.call(e,Br(n)):w.call(e,n)}}else{var u=r.shadowRoot,c=o[0];if($t(r)===$t(c)&&xr(t,r))w.call(e,n);else if(u){var s=$r(u);!s||s[0]!==t&&-1===y.call(s,t)||w.call(e,Br(n))}}return e}),[])}function Fr(e){var t=function(e){var t=e[Pr];return O(t)&&(t=e[Pr]=function(t,n){var r=kr(t,n);0!==r.length&&e.call(n,r,n)}),t}(e);return new Cr(t)}function jr(e,t,n){if(arguments.length>1){var r=M.call(arguments);return r[1]=An(r[1]),gt.apply(this,r)}return gt.apply(this,arguments)}function Wr(e,t,n){if(arguments.length>1){var r=M.call(arguments);r[1]=An(r[1]),mt.apply(this,r)}mt.apply(this,arguments)}function _r(){var e=Je.call(this);if(!(e instanceof G))return e;var t=Nt(e),n=gr(e,this.composed),r=Ze.call(this);if(!(r instanceof G))return H(r)&&O(At(e))?e:mr(t,n);if(r===t||r===t.body)return O(At(e))?e:mr(t,n);var l=r,o=n;or(r)&&(1===$n.get(this)&&(l=lr(r)));return or(e)&&fr.has(this)&&(o=gr(lr(e),this.composed)),mr(l,o)}function Ur(){var e=Je.call(this);if(!(e instanceof G))return[];var t,n=Boolean(e.shadowRoot),r=(t=e,zn.has(t));if(n&&!r)return tt.call(this);if(H(Ze.call(this)))return[];var l=e;return or(e)&&fr.has(this)&&(l=lr(e)),gr(l,this.composed)}function Gr(e){var t=f(e.prototype,"relatedTarget").get;s(e.prototype,"relatedTarget",{get:function(){var e=t.call(this);if(H(e))return null;if(!(e instanceof G&&xt(e)))return e;var n=Ze.call(this);return H(n)&&(n=Nt(e)),mr(n,gr(e,!0))},enumerable:!0,configurable:!0})}Fr.prototype=Cr.prototype,Fr.prototype.disconnect=function(){var e=this;Hr.call(this);var t=Ar.get(this);O(t)||(S.call(t,(function(t){var n=t[Ir];if(!O(n)){var r=y.call(n,e);-1!==r&&L.call(n,r,1)}})),t.length=0)},Fr.prototype.observe=function(e,t){var n,r=$r(e);if(O(r)&&(n=r=[],e[Ir]=n),-1===y.call(r,this)&&w.call(r,this),ar(e)&&(e=e.host),Ar.has(this)){var l=Ar.get(this);-1===y.call(l,e)&&w.call(l,e)}else Ar.set(this,[e]);return Rr.call(this,e,t)},Fr.prototype.takeRecords=function(){return kr(Dr.call(this),this)},s(window,"MutationObserver",{value:Fr,configurable:!0,writable:!0}),c(Ct,{addEventListener:{value:function(e,t,n){if(or(this))return Vn.apply(this,arguments);if(arguments.length<2){var r=M.call(arguments);return r.length>1&&(r[1]=An(r[1])),Ot.apply(this,r)}var l=An(t);return Ot.call(this,e,l,n)},enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:function(e,t,n){if(or(this))return Qn.apply(this,arguments);var r=M.call(arguments);arguments.length>1&&(r[1]=An(r[1])),Rt.apply(this,r),Rt.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),"undefined"==typeof EventTarget&&c(Window.prototype,{addEventListener:{value:jr,enumerable:!0,writable:!0,configurable:!0},removeEventListener:{value:Wr,enumerable:!0,writable:!0,configurable:!0}}),c(Event.prototype,{target:{get:_r,enumerable:!0,configurable:!0},currentTarget:{get:function(){var e=Ze.call(this);return H(e)?null:1===$n.get(this)?lr(e):e},enumerable:!0,configurable:!0},composedPath:{value:Ur,writable:!0,enumerable:!0,configurable:!0},srcElement:{get:_r,enumerable:!0,configurable:!0},path:{get:Ur,enumerable:!0,configurable:!0}}),Gr(FocusEvent),Gr(MouseEvent);var Kr,qr=h.call(Text.prototype,"assignedSlot")?f(Text.prototype,"assignedSlot").get:function(){return null},Yr={childList:!0},Xr=new WeakMap;function Vr(e){var t=St(me.call(e));return T.call(t,(function(e,t){return t instanceof Element&&_t(t)?w.apply(e,Vr(t)):w.call(e,t),e}),[])}function Qr(){var e=fe.call(this);if(e instanceof Element){var t=Qe.call(e);if(Et(t))return this instanceof Text?qr.call(this):ze.call(this)}return!H(e)&&_t(e)&&At(e)!==At(this)?e:null}function zr(e,t){var n,r=At(e);if(O(r))n=e instanceof HTMLBodyElement?v.call(t,(function(t){return O(At(t))||Lt(e)})):M.call(t);else if(or(e)){var l=jt(e);n=H(l)?[]:Bt(e)?Kt(e,t):qt(l,t)}else n=v.call(t,(function(e){return $t(e)===r}));return n}function Jr(){for(var e=Rn(this),t="",n=0,r=e.length;n<r;n+=1)t+=on(e[n]);return t}function Zr(){return on(this)}function el(){var e=jt(this),t=H(e)?[]:qt(e,Xt(this));return mn(v.call(t,(function(e){return e instanceof Element})))}function tl(){return this.children.length}function nl(){return this.children[0]||null}function rl(){var e=this.children;return e.item(e.length-1)||null}c(HTMLSlotElement.prototype,{addEventListener:{value:function(e,t,n){HTMLElement.prototype.addEventListener.call(this,e,t,n),"slotchange"!==e||Xr.get(this)||(Xr.set(this,!0),Kr||(Kr=new vt((function(e){var t=[];S.call(e,(function(e){var n=e.target;-1===y.call(t,n)&&(w.call(t,n),Ht.call(n,new CustomEvent("slotchange")))}))}))),bt.call(Kr,this,Yr))},writable:!0,enumerable:!0,configurable:!0},assignedElements:{value:function(e){if(xt(this)){var t=!O(e)&&R(e.flatten)?Vr(this):Vt(this);return v.call(t,(function(e){return e instanceof Element}))}return U.apply(this,M.call(arguments))},writable:!0,enumerable:!0,configurable:!0},assignedNodes:{value:function(e){return xt(this)?!O(e)&&R(e.flatten)?Vr(this):Vt(this):_.apply(this,M.call(arguments))},writable:!0,enumerable:!0,configurable:!0},name:{get:function(){var e=de.call(this,"name");return H(e)?"":e},set:function(e){Se.call(this,"name",e)},enumerable:!0,configurable:!0},childNodes:{get:function(){if(xt(this)){var e=jt(this);return sn(H(e)?[]:qt(e,Xt(this)))}return me.call(this)},enumerable:!0,configurable:!0}}),c(Text.prototype,{assignedSlot:{get:Qr,enumerable:!0,configurable:!0}}),c(Element.prototype,{innerHTML:{get:function(){return xt(this)||or(this)?Jr.call(this):ke.call(this)},set:function(e){Fe.call(this,e)},enumerable:!0,configurable:!0},outerHTML:{get:function(){return xt(this)||or(this)?Zr.call(this):We.call(this)},set:function(e){_e.call(this,e)},enumerable:!0,configurable:!0},attachShadow:{value:function(e){return e["$$lwc-synthetic-mode"]?ur(this,e):Ce.call(this,e)},enumerable:!0,writable:!0,configurable:!0},shadowRoot:{get:function(){if(or(this)){var e=lr(this);if("open"===e.mode)return e}return Qe.call(this)},enumerable:!0,configurable:!0},children:{get:function(){return vn(this)?el.call(this):Xe.call(this)},enumerable:!0,configurable:!0},childElementCount:{get:function(){return vn(this)?tl.call(this):Oe.call(this)},enumerable:!0,configurable:!0},firstElementChild:{get:function(){return vn(this)?nl.call(this):He.call(this)},enumerable:!0,configurable:!0},lastElementChild:{get:function(){return vn(this)?rl.call(this):Re.call(this)},enumerable:!0,configurable:!0},assignedSlot:{get:Qr,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=St(Me.apply(this,M.call(arguments)));if(or(this)){var n=jt(this);return O(Bt(this))?H(n)?null:Yt(n,t):function(e,t){for(var n=0,r=t.length;n<r;n+=1){var l=t[n];if(!Ut(e,l)&&Ft(e,l))return l}return null}(this,t)}if(xt(this)){var r=At(this);if(O(r))return 0===t.length?null:t[0];var l=b.call(t,(function(e){return $t(e)===r}));return O(l)?null:l}if(!(this instanceof HTMLBodyElement)){var o=t[0];return O(o)?null:o}var a=b.call(t,(function(t){return O(At(t))||Lt(e)}));return O(a)?null:a},writable:!0,enumerable:!0,configurable:!0},querySelectorAll:{value:function(){return sn(function(e,t){var n;if(or(e)){var r=jt(e);n=O(Bt(e))?H(r)?[]:qt(r,t):Kt(e,t)}else if(xt(e)){var l=At(e);n=O(l)?M.call(t):v.call(t,(function(e){return $t(e)===l}))}else n=e instanceof HTMLBodyElement?v.call(t,(function(t){return O(At(t))||Lt(e)})):M.call(t);return n}(this,St(Me.apply(this,M.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0}}),c(Element.prototype,{getElementsByClassName:{value:function(){return mn(zr(this,St(Ve.apply(this,M.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagName:{value:function(){return mn(zr(this,St(Ee.apply(this,M.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0},getElementsByTagNameNS:{value:function(){return mn(zr(this,St(we.apply(this,M.call(arguments)))))},writable:!0,enumerable:!0,configurable:!0}}),h.call(HTMLElement.prototype,"getElementsByClassName")&&s(HTMLElement.prototype,"getElementsByClassName",f(Element.prototype,"getElementsByClassName"));var ll="\n [contenteditable],\n [tabindex],\n a[href],\n area[href],\n audio[controls],\n button,\n iframe,\n input,\n select,\n textarea,\n video[controls]\n",ol=new Set(["BUTTON","INPUT","SELECT","TEXTAREA"]);function al(e){return e.filter((function(e){return Te.call(e,"tabindex")?"0"===de.call(e,"tabindex"):!ol.has(Ue.call(e))||!Te.call(e,"disabled")}))}var il=new WeakMap;function ul(e){return(!or(e)||!nr(e))&&(Ye.call(e,ll)&&function(e){var t=ye.call(e),n=t.width,r=t.height,l=n>0||r>0,o="AREA"===e.tagName;return(l||o)&&"hidden"!==getComputedStyle(e).visibility}(e))}function cl(){var e=this.getRootNode();if(e!==this){if(e.activeElement!==this)for(var t=St(Me.call(this,ll)),n=!1;!n&&0!==t.length;){var r=t.shift();r.focus.apply(r,arguments),n=r.getRootNode().activeElement===r}}else{var l=Ne.call(this,ll);H(l)||l.focus.apply(l,arguments)}}function sl(e){var t=Nt(e),n=al(St(it.call(t,ll))),r=al(St(Me.call(e,ll))),l=r[0],o=r[r.length-1],a=y.call(n,e),i=a>-1?a:y.call(n,l),u=0===r.length?i+1:y.call(n,o)+1;return{prev:M.call(n,0,i),inner:r,next:M.call(n,u)}}function fl(e,t){var n=ne.call(e,t);return n&q?0:n&Y?1:n&X?2:-1}function pl(e){e.preventDefault(),e.stopPropagation()}function hl(e,t){gt.call(e,"focusin",pl,!0),gt.call(e,"focusout",pl,!0),t(),mt.call(e,"focusin",pl,!0),mt.call(e,"focusout",pl,!0)}function gl(e,t,n){var r=Mt(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);H(l)?hl(r,(function(){t.blur()})):hl(r,(function(){l.focus()}))}var ml=!1;function vl(){ml=!0}function bl(){ml=!1}function dl(e){if(!ml){var t=Ze.call(e),n=Je.call(e);if(t===n){var r=et.call(e);if(!H(r)){var l=sl(t);if(1===fl(t,r)){var o=El.bind(null,t.getRootNode()),a=b.call(l.inner,o);if(O(a))gl(l.next,n,r);else hl(Mt(a),(function(){a.focus()}))}else t===n&&gl(N.call(l.prev),n,r)}}}}function yl(e){if(!ml){var t=et.call(e);if(!H(t)){var n=Ze.call(e),r=sl(n);if(-1===y.call(r.inner,t)){var l=Je.call(e),o=fl(n,t);1===o&&gl(r.next,l,t),2===o&&gl(N.call(r.prev),l,t)}}}}function El(e,t){if(!ul(t))return!1;for(var n=Nt(t),r=t.getRootNode();r!==n&&r!==e;){var l=r.host;if("-1"===de.call(l,"tabindex"))return!1;r=l&&l.getRootNode()}return!0}function wl(e){Rt.call(e,"focusin",dl,!0)}function Tl(e){var t=Nt(e);il.get(t)||(il.set(t,!0),Ot.call(t,"mousedown",vl,!0),Ot.call(t,"mouseup",(function(){setTimeout(bl)}),!0),Ot.call(t,"dragstart",bl,!0))}function Nl(e){Rt.call(e,"focusin",yl,!0)}var Ml=HTMLElement.prototype,Ll=Ml.blur,Sl=Ml.focus;function Cl(){return nr(this)&&D(Te.call(this,"tabindex"))?0:Ke.call(this)}function Ol(e){var t=nr(this),n=Ke.call(this),r=Te.call(this,"tabindex");qe.call(this,e);var l,o=Ke.call(this),a=Te.call(this,"tabindex"),i=n!==o;(r&&(i||D(a))&&(-1===n&&Nl(this),0===n&&t&&wl(this)),D(a))||(r&&a&&D(i)||(-1===o&&(Tl(l=this),wl(l),Ot.call(l,"focusin",yl,!0)),0===o&&t&&function(e){Tl(e),Nl(e),Ot.call(e,"focusin",dl,!0)}(this)))}function Hl(){if(nr(this)){var e=(n=Nt(t=this),H(r=nt.call(n))||0!=(ne.call(t,r)&q)?r:null);if(!H(e))return void e.blur()}var t,n,r;return Ll.call(this)}function Rl(){var e=!ml;e&&vl(),or(this)&&nr(this)?cl.call(this):(Sl.apply(this,arguments),e&&bl())}function Dl(e,t){e[$]=t;for(var n=me.call(e),r=0,l=n.length;r<l;r++)Dl(n[r],t)}c(HTMLElement.prototype,{tabIndex:{get:function(){return or(this)?Cl.call(this):Ke.call(this)},set:function(e){return or(this)?Ol.call(this,e):qe.call(this,e)},enumerable:!0,configurable:!0},blur:{value:function(){if(or(this))return Hl.call(this);Ll.call(this)},enumerable:!0,writable:!0,configurable:!0},focus:{value:function(){Rl.apply(this,arguments)},enumerable:!0,writable:!0,configurable:!0}}),null!==Pe&&null!==Ie&&s(HTMLElement.prototype,"innerText",{get:function(){return Pe.call(this)},set:function(e){Ie.call(this,e)},enumerable:!0,configurable:!0}),null!==$e&&null!==Be&&s(HTMLElement.prototype,"outerText",{get:function(){return $e.call(this)},set:function(e){Be.call(this,e)},enumerable:!0,configurable:!0}),s(Element.prototype,k,{set:function(e){var t=this[F];O(t)||t===e||Le.call(this,t),O(e)||Se.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(){},$l={childList:!0};function Bl(e,t,n){var r=er(e);if(r!==t&&(tr(e,t),e instanceof Element)){if(function(e,t){e[k]=t}(e,n),or(e))return;O(r)&&bt.call(Pl,e,$l);for(var l=me.call(e),o=0,a=l.length;o<a;o+=1)Bl(l[o],t,n)}}function xl(){return new vt((function(e){S.call(e,(function(e){for(var t=e.target,n=e.addedNodes,r=e.removedNodes,l=er(t),o=function(e){return e[k]}(t),a=0,i=r.length;a<i;a+=1){var u=r[a];ne.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];ne.call(t,f)&G.DOCUMENT_POSITION_CONTAINED_BY&&Bl(f,l,o)}}))}))}s(Element.prototype,"$domManual$",{set:function(e){this[Il]=e,R(e)&&function(e){if(O(Pl)&&(Pl=xl()),O(er(e)))throw new Error("Invalid Element");bt.call(Pl,e,$l)}(this)},get:function(){return this[Il]},configurable:!0})}));
|
|
49
|
-
//# sourceMappingURL=synthetic-shadow.min.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"synthetic-shadow.min.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|