How do I allocate Wages between the full-year Resident return, lived and worked 100%, and Non-Resident return, where I only earned other types of income?

I worked for a NY-based, global company and moved from NY to PA in 2023. I lived and worked in PA for full year 2024. The NY income consisted only of bonuses, RSU releases. etc. My Pay Statements show the Gross Pay earned for each State. How do I allocate Box 1 Wages to NY in the NY Non-Resident return? Do I simply do it as a % according to the Gross Pay earned in each State per my Pay Statements?