/** * Bundled by jsDelivr using Rollup v2.79.1 and Terser v5.19.2. * Original file: /npm/@lit/reactive-element@1.6.3/decorators/query-assigned-elements.js * * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files */ /** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause */ /** * @license * Copyright 2021 Google LLC * SPDX-License-Identifier: BSD-3-Clause */ var e;const n=null!=(null===(e=window.HTMLSlotElement)||void 0===e?void 0:e.prototype.assignedElements)?(e,n)=>e.assignedElements(n):(e,n)=>e.assignedNodes(n).filter((e=>e.nodeType===Node.ELEMENT_NODE));function t(e){const{slot:t,selector:o}=null!=e?e:{};return(({finisher:e,descriptor:n})=>(t,o)=>{var l;if(void 0===o){const o=null!==(l=t.originalKey)&&void 0!==l?l:t.key,r=null!=n?{kind:"method",placement:"prototype",key:o,descriptor:n(t.key)}:{...t,key:o};return null!=e&&(r.finisher=function(n){e(n,o)}),r}{const l=t.constructor;void 0!==n&&Object.defineProperty(t,o,n(o)),null==e||e(l,o)}})({descriptor:l=>({get(){var l;const r="slot"+(t?`[name=${t}]`:":not([name])"),i=null===(l=this.renderRoot)||void 0===l?void 0:l.querySelector(r),s=null!=i?n(i,e):[];return o?s.filter((e=>e.matches(o))):s},enumerable:!0,configurable:!0})})}export{t as queryAssignedElements};export default null; //# sourceMappingURL=/sm/d646cfe0fbccabd5421a17b7f2f9aeaaa09cbda196a315b28a1509b0d699a7f3.map