import{decorateProperty as e}from"./base.js";
/**
 * @license
 * Copyright 2021 Google LLC
 * SPDX-License-Identifier: BSD-3-Clause
 */var o;const t=null!=(null===(o=window.HTMLSlotElement)||void 0===o?void 0:o.prototype.assignedElements)?(e,o)=>e.assignedElements(o):(e,o)=>e.assignedNodes(o).filter((e=>e.nodeType===Node.ELEMENT_NODE));function n(o){const{slot:n,selector:r}=null!=o?o:{};return e({descriptor:e=>({get(){var e;const s="slot"+(n?`[name=${n}]`:":not([name])"),l=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(s),i=null!=l?t(l,o):[];return r?i.filter((e=>e.matches(r))):i},enumerable:!0,configurable:!0})})}export{n as queryAssignedElements};
//# sourceMappingURL=query-assigned-elements.js.map
