"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=/[#.]/g;function p(n,o){const l=n||"",t={};let s=0,r,c;for(;s<l.length;){i.lastIndex=s;const a=i.exec(l),e=l.slice(s,a?a.index:l.length);e&&(r?r==="#"?t.id=e:Array.isArray(t.className)?t.className.push(e):t.className=[e]:c=e,s+=e.length),a&&(r=a[0],s++)}return{type:"element",tagName:c||o||"div",properties:t,children:[]}}exports.parseSelector=p;
//# sourceMappingURL=index.cjs.js.map
