Block manual access to js file but keep it functional to the system

Hello everyone!
I have a file called xxxxxxx.js with sensitive information that logically should not be “viewed” by anyone.
What rule could I implement to block manual access by anyone but still keep it fully functional for the web system?
I have already obfuscated or minimized the code, and although it works… if the code is “pasted” into… ChatGPT… it displays it perfectly. That’s why I need to make my xxxxxxx.js inaccessible.

Is there an option?

Thank you very much for your help!