; (Q) $125,000,000 is for grants for law enforcement activities associated with the presidential nominating conventions in addition to amounts provided for such purposes in section 222 of this Act; and (R) $350,028,000 is for discretionary grants to improve the functioning of the criminal justice system, to prevent or combat juvenile delinquency, and to assist victims of crime (other than compensation), which shall be made available for the OJP—Byrne projects, and in the amounts, specified in the table titled Community Project Funding/Congressionally Directed Spending included for this division in the explanatory statement described in section 4 (in the matter preceding division A of this consolidated Act): Provided, That such amounts may not be transferred for any other purpose; (2) $234,000,000 for the State Criminal Alien Assistance Program, as authorized by section 241(I)(5) of the Immigration and Nationality Act (8 U.S.C. 1231(I)(5)): Provided , That no jurisdiction shall request compensation for any cost greater than the actual cost for Federal immigration and other detainees housed in State and local detention facilities; (3) $88,000,000 for victim services programs for victims of trafficking, as authorized by section 107(b)(2) of the Victims of Trafficking Act, by the TVPRA of 2005, or programs authorized under Public Law 113–4 ; (4) $12,000,000 for a grant program to prevent and address economic, high technology, white collar, and Internet crime, including as authorized by section 401 of Public Law 110–403 , of which not less than $2,500,000 is for intellectual property enforcement grants including as authorized by section 401, and $2,000,000 is for grants to develop databases on Internet of Things device capabilities and to build and execute training modules for law enforcement; (5) $19,000,000 for sex offender management assistance, as authorized by the Adam Walsh Act, and related activities