(a) Temporary Restraining Order; Notice; Hearing; Duration. A temporary restraining order may be granted without written or oral notice to the adverse party or his attorney only if it clearly appears from specific facts shown by affidavit or by the verified complaint that immediate and irreparable injury, loss, or damage will result to the applicant before the adverse party or his attorney can be heard in opposition. Every temporary restraining order granted without notice shall be indorsed with the date and hour of issuance; shall be filed forthwith in the clerk's office and entered of record; and shall expire by its terms within such time after entry, not to exceed 10 days, as the court fixes, unless within the time so fixed the order, for good cause shown, is extended for a like period or unless the party against whom the order is directed consents that it may be extended for a longer period. In case a temporary restraining order is granted without notice, the application for a preliminary injunction shall be set down for hearing at the earliest possible time, and in any event within 10 days, and takes precedence of all matters except older matters of the same character; and when the matter comes on for hearing the party who obtained the temporary restraining order shall proceed with the application for a preliminary injunction and, if he does not do so, the court shall dissolve the temporary restraining order. On 2 days' notice to the party who obtained the temporary restraining order without notice or on such shorter notice to that party as the court may prescribe, the adverse party may appear and move its dissolution or modification and in that event the court shall proceed to hear and determine such motion as expeditiously as the ends of justice require.
(b) Preliminary Injunction.
(1) Notice. No preliminary injunction shall be issued without notice to the adverse party.
(2) Consolidation of Hearing With Trial on Merits. Before or after the commencement of the hearing of an application for a preliminary injunction, the court may order the trial of the action on the merits to be advanced and consolidated with the hearing of the application. This subdivision (b)(2) shall be so construed and applied as to save to the parties any rights they may have to trial by jury.
(c) Security. Unless the court, for good cause shown, shall otherwise order, no restraining order or preliminary injunction shall issue except upon the giving of security by the applicant, in such sum as the court deems proper, for the payment of such costs and damages as may be incurred or suffered by any party who is found to have been wrongfully enjoined or restrained. No such security shall be required of the United States or of the Commonwealth or of a political subdivision of the Commonwealth or of any officer or agency of any of them.