In a show of defiance, a steady stream of Israelis visited Tel Aviv’s upscale Sarona Market on Thursday, dining in cafes and restaurants in an outdoor complex where two Palestinian gunmen killed four Israelis and seriously wounded many just a day earlier.

One of the first leaders to visit the scene was Prime Minister Benjamin Netanyahu. He returned from a Moscow trip on Wednesday night to news of the attack, which Israelis strongly denounced as terrorism.

He followed up Thursday night with another visit. Speaking at the site, Netanyahu said he appreciated the “sharp and unequivocal” condemnations from across the world but had yet to hear any from the Palestinian Authority.

“But I did hear shouts of joy in Gaza and in other parts of Palestinian society,” he said. “This merely reminds us who and what we are dealing with.”

Other top Israeli political figures, including new ultra­nationalist Defense Minister Avigdor Lieberman and President Reuven Rivlin, paid visits Thursday morning and made strong statements about fighting terrorism.

CCTV footage shows the moment terrified patrons fled after gunmen opened fire at a popular Tel Aviv food market, killing four people. (CCTV)

Israel announced the deployment of additional troops in the West Bank and said it was freezing about 83,000 permits allowing Palestinians to enter the country during the Muslim holy month of Ramadan.

The Israeli army also sealed off the village of Yatta, south of Hebron, where the two assailants lived. Palestinian media identified the two, said to be cousins, as Muhammad Ahmad Moussa Makhamreh and Khalid Muhammad Moussa Makhamreh.

The Civil Administration, the Israeli military authority responsible for implementing government policy in the West Bank and the Gaza Strip, said it suspended 204 work permits used by the Makhamreh clan to enter Israel.

For most of Thursday, Israeli news media streamed live feeds from Sarona Market and discussed potential ways the government might respond to the attack in the heart of carefree Tel Aviv.

Ordinary Israelis came out in a show of grief and anger. Some chanted songs in solidarity with those who lost their lives or had their destinies changed in an instant. Others protested what was one of the deadliest attacks in Tel Aviv since a new wave of Palestinian violence began in the fall.

Since Oct. 1, 33 people have been killed, including two American nationals, in attacks by Palestinians. More than 185 Palestinians, many of whom were attackers, also have been killed. The violence had appeared to taper off in recent months.

On Thursday morning, Israeli police released the names of the four people killed in the Tel Aviv attack — a young mother, a former commando, a scholar and a bride-to-be — all out with friends or family when they were gunned down.

The mother: Ilana Naveh, 39. She had been out celebrating a friend’s birthday when the two men started shooting. Israeli media reported that the mother of four suffered a fatal heart attack when a bullet struck her chest.

The ex-commando: Ido Ben Ari, 42. He had been enjoying a meal with his wife, Tal, and their two children. Initially, his son had urged the family to sit elsewhere in the market, but the father insisted on that particular eatery. Ben Ari, an executive at Coca-Cola Israel and the recipient of a prestigious award for his military service, died after attempts to save him at a nearby hospital failed.

His wife, Tal, suffered moderate injuries in the attack. She was temporarily released from the hospital n Thursday evening to attend his funeral.

The scholar: Michael Feige, 58. The sociologist and anthropologist lectured about war and terrorism in Israel and had served as a visiting scholar at Emory and Brandeis universities. He was head of the Israel Studies Program at Ben-Gurion University of the Negev, and his book “Settling in the Hearts: Jewish Fundamentalism in the Occupied Territories” won an award in 2010.

A friend and colleague described him as a “gentle and peaceful man, both on the interpersonal level and his understanding of Israeli society,” the daily Haaretz reported.

The bride-to-be: Mila Mishaev, 32. Mishaev was to be married in a few months, the Israeli news website Walla reported. She had been waiting for her fiance when she was shot. According to reports, she made a final call to him a few minutes after being struck by a bullet.

According to witnesses, the shooters were smartly dressed — white shirts, ties, jackets and black pants. They sat at the bar of a famous Israeli chocolatier, Max Brenner, before opening fire.

Because Sarona is across the road from the Defense Ministry and the Israel Defense Forces headquarters, guards and soldiers arrived at the scene quickly. They neutralized the attackers, injuring one and overpowering the other.

Palestinian Authority President Mahmoud Abbas said in a statement that he rejects “all operations that target civilians regardless of the source and their justification.”

But Hamas, the Islamist militant group that rules Gaza, welcomed the attack. Hamas official Mushir al-Masri called the assault a “heroic operation,” and the group later issued a statement promising the “Zionists” more “surprises” during Ramadan.

Nickolay E. Mladenov, the U.N. special coordinator for the Middle East peace process, tweeted that he was “shocked to see #Hamas welcomes #TelAviv terror attack. Leaders must stand against violence and the incitement that fuels it, not condone it.”