One-step fabrication of N-O-P ternary-doped hierarchical porous carbon from kitchen waste for energy storage application