CIA's contacts with Solidarność activists were weaker than those of the AFL–CIO, which raised $300,000 from its members, which were used to provide material and cash directly to Solidarity, with no control of Solidarity's use of it. The U.S. Congress authorized the National Endowment for Democracy to promote democracy, and the NED allocated $10 million to Solidarity. The Polish government enacted martial law in December 1981, however, Solidarity was not alerted. Potential explanations for this vary; some believe that the CIA was caught off guard, while others suggest that American policy-makers viewed an internal crackdown as preferable to an "inevitable Soviet intervention." CIA support for Solidarity included money, equipment and training, which was coordinated by Special Operations. Henry Hyde, U.S. House intelligence committee member, stated that the USA provided "supplies and technical assistance in terms of clandestine newspapers, broadcasting, propaganda, money, organizational help and advice". Relations with the Catholic Church In 2017, Solidarity backed a proposal to implement blue laws to prohibit Sunday shopping, a move supported by Polish bishops. A 2018 new Polish law banning almost all trade on Sundays has taken effect, with large supermarkets and most other retailers closed for the first time since liberal shopping laws were introduced in the 1990s. The Law and Justice party passed the legislation with the support of Prime Minister Mateusz Morawiecki. Lech Wałęsa has said that Pope John Paul II, and more specifically, his 1979 visit to Poland, was a significant factor in the creation of Solidarity. As John Paul II was a Poland native, he was a figure that the citizens in Poland could identify with personally, but was beyond the reach of the Communist regime. For his actions regarding Poland and Solidarity during his pontificate, he has been named by many world leaders, including Wałęsa himself, to be one of the main causes of the downfall of not just the Polish regime, but Communism as a whole in Europe. Secular philosophical underpinnings Although Leszek Kołakowski's works were officially banned in Poland, and he lived outside the country from the late 1960s, his philosophical ideas nonetheless exerted an influence on the Solidarity movement. Underground copies of his books and essays shaped the opinions of the Polish intellectual opposition. His 1971 essay Theses on Hope and Hopelessness, which suggested that self-organised social groups could gradually expand the spheres of civil society in a totalitarian state, helped inspire the dissident movements