Hi! The first thing you must keep in mind is that EVERYONE I mean, ABSOLUTELY EVERYONE is anxious before a concert, a piano recital etc. Now, the problem begins when one cannot control this anxiety and the "normal anxiety" becomes, as you said, a pure " panic attack". I don't know you at all, but first I wanted to ask you why do you use those words?I mean, do you experience "pure" panic attacks, even apart from the recital, at other occasions?If you do, then this is a total different thing, go here to find some help from people that had been experiencing the same thing and overcame it->
https://www.panicportal.com/indexqifl.htmNow, if it is just about your piano playing, I think the best thing you should do is to find ways to "distract" your mind. You said by yourself that the more you think about this "problem" and the more you try to eliminate it, the worse it becomes. And this is a general truth - the more you think sth negative, it gets stuck in your head and it "empowers" itself, becoming more and more negative, more and more exhausting.
So, what can you do? I am not an expert, but here is some advice that might help you:
Accept that you are a "loser". Make the worst scenario in your head. You go up there, and it is a complete "blank" in your head.Or, even better,go and DO THAT ON PURPOSE. You will go up there,
WITHOUT SHEETS, and you will place your hands on the piano BUT YOU WON'T EXPECT ANYTHING FROM YOURSELF.In fact, you won't play a single note!!So, the scenario becomes real.The audience(which you said is quite friendly) will begin the applause.BUT, you don't begin, cause you know you cannot play by heart, even if you 've practiced it a million times at home.SO, they continue the applause and after a while they stop,dissapointed from you..And now, you've reached the bottom. What's done cannot be undone.( Macbeth, Shakespeare

). You are a complete loser. And without the sheets, there is no hope. So, the"end" is here. The worst scenario has happened. Even the applause stops and everyone wonders what happened to you....Oh, sure, you've reached the bottom...SO WHAT??
Now it is time to
play just for yourself.
Now that noone is expecting sth from you.

And of you still feel so anxious, just quit and admit you cannot play in front of an audience. Close the piano for 6 months and if you miss it, try the same thing after those six months.
You know, sometimes, if we have tried EVERYTHING and we still cannot achieve our goal, it is better to admit that we have failed and forget about it. Maybe, after a while it will come naturally. That's what happened to me with dictee as a student. I was so anxious I couldn't hear and understand the notes! I couldn't stay focused, no matter how many tapes I had practiced at home. When I had exams, I couldn't even hear the interval of fifth!!

. Poor me, I decided I couldn't do it. I even dumped (for other reasons, of course) music for about 3 years, and I only played the piano for myself.And, after 3 years, when I was 16, i went to a new conservatory and the first day i was supposed to have my dictee lesson, I was SURE i was going to take a 0!! I mean, I 'd take a zero even after hours of practicing at home with tapes,how was I supposed to do better now that I hadn't practised for 3 years? and da - da, not only did i do well, but was the only one in class that got it all right!!
oh, and NEVER EVER look back at your performances!! There is no point crying over spoilt milk! I am sure you re going to make it, as soon as you underestimate it.
