Edit file File name : classicFormDesignJs.js Content :(()=>{"use strict";const e=window.React,t=window.wp.i18n,l=()=>(0,e.createElement)("aside",{className:"givewp-form-secure-badge"},(0,e.createElement)("i",{className:"fa-solid fa-lock givewp-secondary-color"}),(0,e.createElement)("span",null,(0,t.__)("100% Secure Donation","give")));function n({imagePosition:t,HeaderImage:n,Title:a,Description:r,Goal:c}){switch(t){case"background":return(0,e.createElement)(e.Fragment,null,(0,e.createElement)(n,null),(0,e.createElement)(a,null),(0,e.createElement)(r,null),(0,e.createElement)(l,null),(0,e.createElement)(c,null));case"above":return(0,e.createElement)(e.Fragment,null,(0,e.createElement)(n,null),(0,e.createElement)("div",{className:"givewp-layouts-header__content"},(0,e.createElement)(a,null),(0,e.createElement)(r,null),(0,e.createElement)(l,null),(0,e.createElement)(c,null)));case"center":return(0,e.createElement)(e.Fragment,null,(0,e.createElement)(a,null),(0,e.createElement)(r,null),(0,e.createElement)(l,null),(0,e.createElement)(n,null),(0,e.createElement)(c,null));default:return(0,e.createElement)(e.Fragment,null,(0,e.createElement)(a,null),(0,e.createElement)(r,null),(0,e.createElement)(l,null),(0,e.createElement)(c,null))}}window.givewp.form.templates.layouts.header=function({HeaderImage:t,Title:a,Description:r,Goal:c}){const{designSettingsImageStyle:m,designSettingsImageUrl:i}=window.givewp.form.hooks.useDonationFormSettings();return i?(0,e.createElement)("div",{className:`givewp-layouts-header__templates givewp-layouts-header__templates--${m}`},(0,e.createElement)(n,{imagePosition:m,HeaderImage:t,Title:a,Description:r,Goal:c})):(0,e.createElement)("div",{className:"givewp-layouts-header__templates"},(0,e.createElement)(a,null),(0,e.createElement)(r,null),(0,e.createElement)(l,null),(0,e.createElement)(c,null))}})();Save