/** * 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-nodes.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 */ const e=({finisher:e,descriptor:t})=>(n,o)=>{var l;if(void 0===o){const o=null!==(l=n.originalKey)&&void 0!==l?l:n.key,r=null!=t?{kind:"method",placement:"prototype",key:o,descriptor:t(n.key)}:{...n,key:o};return null!=e&&(r.finisher=function(t){e(t,o)}),r}{const l=n.constructor;void 0!==t&&Object.defineProperty(n,o,t(o)),null==e||e(l,o)}} /** * @license * Copyright 2021 Google LLC * SPDX-License-Identifier: BSD-3-Clause */;var t;const n=null!=(null===(t=window.HTMLSlotElement)||void 0===t?void 0:t.prototype.assignedElements)?(e,t)=>e.assignedElements(t):(e,t)=>e.assignedNodes(t).filter((e=>e.nodeType===Node.ELEMENT_NODE));function o(t){const{slot:o,selector:l}=null!=t?t:{};return e({descriptor:e=>({get(){var e;const r="slot"+(o?`[name=${o}]`:":not([name])"),s=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(r),i=null!=s?n(s,t):[];return l?i.filter((e=>e.matches(l))):i},enumerable:!0,configurable:!0})})} /** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause */function l(t,n,l){let r,s=t;return"object"==typeof t?(s=t.slot,r=t):r={flatten:n},l?o({slot:s,flatten:n,selector:l}):e({descriptor:e=>({get(){var e,t;const n="slot"+(s?`[name=${s}]`:":not([name])"),o=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(n);return null!==(t=null==o?void 0:o.assignedNodes(r))&&void 0!==t?t:[]},enumerable:!0,configurable:!0})})}export{l as queryAssignedNodes};export default null; //# sourceMappingURL=/sm/64d71e1b50fea2a4259225dba527412b0073fcfb1123a59eb99a3719aa033080.map