Elliptic polylogarithms and basic hypergeometric functions