| 43 | return e?"string"==typeof e?e:e.source:null}function g(e){return m("(?=",e,")")} |
| 44 | function u(e){return m("(?:",e,")*")}function b(e){return m("(?:",e,")?")} |
| 45 | function m(...e){return e.map((e=>d(e))).join("")}function p(...e){const n=(e=>{ |
| 46 | const n=e[e.length-1] |
| 47 | ;return"object"==typeof n&&n.constructor===Object?(e.splice(e.length-1,1),n):{} |
| 48 | })(e);return"("+(n.capture?"":"?:")+e.map((e=>d(e))).join("|")+")"} |
| 49 | function _(e){return RegExp(e.toString()+"|").exec("").length-1} |
| 50 | const h=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./ |
| 51 | ;function f(e,{joinWith:n}){let t=0;return e.map((e=>{t+=1;const n=t |