Fireworks working mechanism