1. Continuing appropriations for the Coast Guard There are hereby appropriated for fiscal year 2019, out of any money in the Treasury not otherwise appropriated, for any period during which interim or full-year appropriations for fiscal year 2019 for the Coast Guard are not in effect— (1) such sums as are necessary to provide pay and allowances to members of the Coast Guard (as described in section 1 of title 14, United States Code), including the reserve component thereof, who perform active service or inactive-duty training during such period; (2) such sums as are necessary to provide pay and allowances to civilian employees of the Coast Guard; (3) such sums as are necessary to provide pay and allowances to contractors of the Coast Guard; (4) such sums as are necessary for— (A) the payment of a death gratuity under sections 1475–1477 and 1489 of title 10, United States Code, with respect to members of the Coast Guard; (B) the payment or reimbursement of authorized funeral travel and travel related to the dignified transfer of remains and unit memorial services under section 481f of title 37, United States Code, with respect to members of the Coast Guard; and (C) the temporary continuation of a basic allowance of housing for dependents of members of the Coast Guard dying on active duty, as authorized by section 403(l) of title 37, United States Code; and (5) such sums as are necessary for functions of the Coast Guard otherwise authorized by law. 2. Termination Appropriations and funds made available and authority granted pursuant to this Act shall be available until whichever of the following first occurs: (1) The enactment into law of an appropriation (including a continuing appropriation) for any purpose for which amounts are made available in section 1. (2) The enactment into law of the applicable regular or continuing appropriations resolution or other Act without any appropriation for such purpose.