Safety-Critical Control Of Nonlinear Systems: Input Delay Compensation And Prescribed-Time Safety