'use strict'; var e={SP:" ",HT:" ",LF:` `,CRLF:`\r `};function l(n){return n>-1}function f(n){let t=[...n].entries();for(let[s,r]of t)if(r!==e.SP&&r!==e.HT)return s;return -1}function g(n){let t=n.startsWith(e.LF),s=n.split(e.LF),[,...r]=s,c=r.length?r.map(f).filter(l):[0],a=Math.min(...c),i="";for(let[o,u]of s.entries())(o>1||o===1&&!t)&&(i+=e.LF),o===0?i+=u:u.length>a&&(i+=u.slice(a));return i}function y(n,...t){return g(String.raw({raw:n},...t))}function p(n,...t){if(typeof n=="string")return g(n);if(Array.isArray(n))return y(n,...t);throw new Error(`Only 'string' and 'template strings array' allowed, but got '${typeof n}'.`)}var A=p; module.exports = A; //# sourceMappingURL=out.js.map //# sourceMappingURL=index.cjs.map