Upon appropriation by the Legislature, the director shall allocate, from the account or from other available state or federal sources, or from both state and federal sources, for the purposes of subdivision (b) of Section 99311, an amount commensurate with the historical annual allocation to transportation planning agencies designated pursuant to Section 29532 of the Government Code that do not directly receive federal planning funds, as set forth in Section 134 of Title 23 of the United States Code.