import{N as _,M as f,O as p,P as d}from"./DatabaseSelector-cHiExdDo.js";const u=Symbol("is custom element"),g=Symbol("is html");function A(t,r){var s=n(t);s.checked!==(s.checked=r??void 0)&&(t.checked=r)}function S(t,r,s,o){var e=n(t);e[r]!==(e[r]=s)&&(r==="loading"&&(t[p]=s),s==null?t.removeAttribute(r):typeof s!="string"&&h(t).includes(r)?t[r]=s:t.setAttribute(r,s))}function n(t){return t.__attributes??={[u]:t.nodeName.includes("-"),[g]:t.namespaceURI===_}}var c=new Map;function h(t){var r=t.getAttribute("is")||t.nodeName,s=c.get(r);if(s)return s;c.set(r,s=[]);for(var o,e=t,a=Element.prototype;a!==e;){o=d(e);for(var i in o)o[i].set&&s.push(i);e=f(e)}return s}export{A as a,S as s};
