Can anybody help me out on my design black box design ???

Lets given -
Vout = 5V
Vdd = 5V
Vref_TL431 =2.5V
TL817_CTR_ Standard one can assume 130% or as per datasheet
Vf_Led =1.4V
Now how do we calculate -
Detail explanations are welcome.
R1 = ?
Rlower=?
Rled=?
Rbias=?
C1=?
Rpullup=?
C2=?
Vfb=?
I need to understand black box calculation for each component >>
Thank you so much in Advance !!!

Lets given -
Vout = 5V
Vdd = 5V
Vref_TL431 =2.5V
TL817_CTR_ Standard one can assume 130% or as per datasheet
Vf_Led =1.4V
Now how do we calculate -
Detail explanations are welcome.
R1 = ?
Rlower=?
Rled=?
Rbias=?
C1=?
Rpullup=?
C2=?
Vfb=?
I need to understand black box calculation for each component >>
Thank you so much in Advance !!!