# [Vyxal](https://github.com/Lyxal/Vyxal), 96 bytes
                    
```
:£L‹(¥2wi:\-$r[¥‛--oṘ:\-=[1+]:¤=[1+],Q|Dh$t=[¥2ȯ\-+|:«ƛẆ°«r[t«½∇«:1ǓĿ¥2ȯ+|t«½∇«:1ǔĿ¥2ȯ+\-+]]£])¥
 ```

[Try it Online!](http://lyxal.pythonanywhere.com?flags=&code=%3A%C2%A3L%E2%80%B9%28%C2%A52wi%3A%5C-%24r%5B%C2%A5%E2%80%9B--o%E1%B9%98%3A%5C-%3D%5B1%2B%5D%3A%C2%A4%3D%5B1%2B%5D%2CQ%7CDh%24t%3D%5B%C2%A52%C8%AF%5C-%2B%7C%3A%C2%AB%C6%9B%E1%BA%86%C2%B0%C2%ABr%5Bt%C2%AB%C2%BD%E2%88%87%C2%AB%3A1%C7%93%C4%BF%C2%A52%C8%AF%2B%7Ct%C2%AB%C2%BD%E2%88%87%C2%AB%3A1%C7%94%C4%BF%C2%A52%C8%AF%2B%5C-%2B%5D%5D%C2%A3%5D%29%C2%A5&inputs=jikjjikjikjikjjjj&header=&footer=)

The messiest mess I've ever made. Even I don't really understand it...

This goes through the first two characters of the string repeatedly, 'bubbling' -s to the end and eventually replacing double -s with nothing, then adding in ones if necessary.