The current cookie management code is from the [Osano](https://www.osano.com/plans) free plan. This is not true open source. It would be better to either get a true open source replacement or write some original code.