I have an inequality as below, and I need to find the solution set of this inequality. I couldn't find a method on how to solve it. It would be great if I could find all the $L_1$ and $L_2$ values that satisfy the inequality. There are conditions for $L_1$ and $L_2$ values in optimization methods. Thus, I cannot use these methods. Even if there is a suitable method, I couldn't find it. Additionally, I tried to find a solution based on the function's graph inside the absolute value, but there is no site/program that can plot equations with arbitrary constants $L_1$ and $L_2$, etc., or I couldn't find it. Can you help me with these issues?
$$\sup_{x\in[0,1)\cup(1,2]}\{|x^2-1-(L_1(x-1)+L_2(x-1)^2)|\}\le 2$$
Note: The number on the right side of the inequality can be changed. Instead of 2, a positive real number can be written.