# [JavaScript (Node.js)], 257 bytes [JavaScript (Node.js)]: https://nodejs.org <!-- language-all: lang-javascript --> f=n=>n?`012388887654`.replace(e=/\d/g,y=>`7654|0123 `.replace(e,x=>"_ \\/.'|"[q=y/2&2|x>3,y&8?1:(k=8-~~'80764467'[j=~~('0x'+(1e6+'1023405671567899AB99A899CB99C')[y%4+~-(n/10**q%10)*4])]>>x%4&1?'0122233346545'[j]:2045>>j&1)^0xCC6600>>k*4+q&1]))+f(n/1e4|0):'' [Try it online!](https://tio.run/##VVDbaoNAFHzPV5SA7q5G3ZvrBXal9TPU1pCsoYloTEpREH/drn1qDwwDZw7DzLkev4/P0@Pz/uV1/VmvayM7qbqsxoSy2EwkQl77D31vjycNtQzKc3A5TFLVmzJvZ7s/@mGUav/xUpaBD@Z9McgpoDadR8UOkx1nJIU3GXvLAmIcCc5FBIqrXBYI8AhcSLRwAcGUcRyKiBjESfL6ZmA4N5wDVEwWdxcPdgHBjjNYBCOHV6hSarS4TTJgIlHKGOMmX2jsq5RiHip1tQl6x2OeC4GxUjeHu4NNKoTcZjPTpgxKAVhPfffsW@23/QU20PTjIUK7/9vk9y@MEoTWHw "JavaScript (Node.js) – Try It Online")