var _ndnq = _ndnq || []; _ndnq.push([’embed’]);

They did not fly out to The Hamptons last July to plot out a quick-flip, damn-the-future, short-term plan.

No, Stephen Curry, Draymond Green, Andre Iguodala and Klay Thompson journeyed to Kevin Durant’s Hamptons free-agent hideout as personal representatives of the Warriors’ plan for all seasons — or at least for four or five potentially triumphant seasons, starting with this one.

So it’s no surprise that the Warriors’ three highest-profile pending 2017 free agents — Curry, Iguodala and Durant (who signed a two-year deal with the Warriors last July with an opt-out this July) — all recently suggested to me that they plan to re-sign with the franchise this July.

They’re sticking with the plan, of course. Because the plan was smart, multi-layered, responsible, and … also, it is working, in case you missed the Warriors’ 67-victory regular season and now their 1-0 lead over Portland in the first round of the Western Conference playoffs.

Unless something wholly nutty occurs in the next few months, what was forged in The Hamptons will remain fused together certainly beyond July and probably for many more Julys.

This was the implied understanding all along among the players themselves, and filtering from the players to team management, which, frankly, would be insane not to embrace this long-term alliance, even if it takes them deep into the luxury tax.

And Warriors team management is not insane.

“At this time, I cannot comment on anything regarding free agency under league rules,” general manager Bob Myers said in an email Monday, “but I will say it pleases me to know that our players, in general, enjoy playing for our team and are happy to be a part of our organization.”

As Curry put it when I asked a few months ago if he and Durant were in this together for the long haul: “I’m assuming me being at that meeting, he knew that that was the case. We didn’t talk about it much but yeah, that’s basically it.”

Sunday’s Game 1 had a practical display of what this group of Warriors can regularly wreak upon the rest of the league:

After Green led Steve Kerr’s defensive-minded “second unit” to push the Warriors to 10-point fourth-quarter lead, and Portland stars C.J. McCollum and Damian Lillard expended so much energy just to keep the Trail Blazers in the game, the Warriors had a substitution to make.

Now re-entering the game for the Warriors: Stephen Curry and Kevin Durant, all rested up for the final 6:35.

Game over.

Yes, Durant, Curry, Green, Thompson and Iguodala know how good they have it here — because they were a big part of dreaming this up in the first place.

They know this conglomeration of talent and chemistry will not and cannot be duplicated — do you think any of them wants to go searching for love, money and victories with … the 76ers? Sacramento?

You think Durant wants another trying summer of meetings and pitches and decisions?

“I’m not going through that again,” Durant said ruefully last week on the “Warriors Plus Minus” podcast.

The key mathematical part of this for the Warriors is Durant, who could seek the max of about $36 million for 2017-18. But the Warriors don’t have his Bird Rights, so they would have to shed a lot of money to create the cap space to fit such a salary, and that would include the renouncing of Iguodala and Shaun Livingston.

But if Durant is willing to take strictly a 20 percent raise from this season’s salary of $26.5 million up to $31.8 million, the Warriors would not have to fit him into cap space and then could use Bird Rights to re-sign Iguodala and Livingston above and beyond the cap.

“Haven’t even thought about it that much,” Durant said on the podcast. “But I don’t plan on going anywhere else.”

No team should ask a superstar to take less than he could earn — and this would be more than a $4 million sacrifice; but a player can volunteer for it as a way to create more salary for his teammates, and that would set up Durant for another two-year deal with a one-year opt-out, and then he could go for a monster long-term deal after next season.

Again, it’s layered, but it’s practical for everybody involved.

“Like I said, I haven’t thought about it, but obviously you want to keep this group together,” Durant said. “We want to see how far we can go with this thing.

“I’m sure once the season’s over with, we’ll figure that stuff out — everybody. I’m sure it’ll all work out for the best.”

Meanwhile, the Warriors have Curry’s Bird Rights and can pay him above and beyond the cap precisely when he will be eligible for the five-year, $200 million-plus “super-max”, about $75 million more than any other team could offer him.

And again, Warriors ownership would be insane not to give it to him, especially after Curry’s salary was so far under his fair market value for years.

Back in January, I asked Curry if he could even fathom leaving the Warriors this summer.

“I can’t,” Curry said. “Like I’ve said from Day 1 when I was first asked about free agency, this is a perfect place to play. Bay Area fans are amazing, our organization’s amazing, we’ve put together an amazing team that’s competing for championships every year.

“There’s really no reason that I can see right now that would draw me elsewhere.”

Next step: Iguodala. If he and Myers can nail down the salary numbers and length, and if Durant’s deal means the Warriors can maintain Iguodala’s Bird Rights, then this is basically a done deal.

In fact, an NBA source indicated recently that the only real open question now is the number of years.

“The people that need to know, they know the situation, and there’s not going to be any issue,” Iguodala told me on my podcast earlier this month.

So he’ll be back next season?

“I didn’t say that,” Iguodala said. “But Bob and I have conversations all the time about different scenarios and different things, not just about me, but about the rest of the team..

“So I don’t see it being a big problem at all. And here right now will probably be the best place.”

That was the plan all along, from the moment Green, Curry, Iguodala and Thompson started recruiting Durant, to when Kerr and owner Joe Lacob made the big-picture pitch, and it’s absolutely still the working plan for now, for July, and for years after that.