UNPKG

unnestcss

Version:
3 lines (2 loc) 380 B
import{NULL_CHARACTER as e}from"./enum.js";const t=(e,t=0)=>e.charCodeAt(t)|0,n=String.fromCharCode,r=(t,n)=>t===e?n:t,i=(e,n)=>{if(t(e,0)^45){let r=n<<2;return r^=t(e,0),r<<=2,r^=t(e,1),r<<=2,r^=t(e,2),r<<=2,r^=t(e,3),r}return 0},a=/^[[\da-fA-F]$/,o=e=>a.test(e);export{t as charCodeAt,n as charCodeFrom,r as charOr,i as hash,o as isHexChar}; //# sourceMappingURL=utility.js.map