; or (B) is involved in such action because such action is directly related, through functional interdependence or geographic proximity, to an action such agency has taken or has proposed to take. (9) Lead agency (A) In general Except as provided in subparagraph (B), the term lead agency means, with respect to a proposed agency action— (i) the agency that proposed such action; or (ii) if there are 2 or more involved Federal agencies with respect to such action, the agency designated under section 107(a)(1). (B) Specification for mineral exploration or mine permits With respect to a proposed mineral exploration or mine permit, the term lead agency has the meaning given such term in section 40206(a) of the Infrastructure Investment and Jobs Act. (10) Major Federal action (A) In general The term major Federal action means an action that the agency carrying out such action determines is subject to substantial Federal control and responsibility. (B) Exclusion The term major Federal action does not include— (i) a non-Federal action— (I) with no or minimal Federal funding; (II) with no or minimal Federal involvement where a Federal agency cannot control the outcome of the project; or (III) that does not include Federal land; (ii) funding assistance solely in the form of general revenue sharing funds which do not provide Federal agency compliance or enforcement responsibility over the subsequent use of such funds; (iii) loans, loan guarantees, or other forms of financial assistance where a Federal agency does not exercise sufficient control and responsibility over the effect of the action; (iv) farm ownership and operating loan guarantees by the Farm Service Agency pursuant to sections 305 and 311 through 319 of the Consolidated Farmers Home Administration Act of 1961 (7 U.S.C. 1925 and 1941 through 1949)