Contact us for all private lending based queries
Please complete the following fields so we can best understand your funding requirements and private lending based queries.
[data-lightning-out="true"]
{
--slds-c-input-shadow-focus: 0 0 3px #a97448
;
}
.slds-form-element__label.slds-rich-text-editor__output[lwc-1o2vf6350ba] {
display: inline;
font-family: 'Inter' !important;
font-size: 16px!important;
font-weight: 500!important;
}
.flowruntime-inline.slds-rich-text-editor__output[lwc-1o2vf6350ba] {
margin: 0 !important;
}
.slds-scope .slds-form-element__label {
font-family: 'Inter' !important;
font-size: 16px!important;
font-weight: 500!important;
}
.slds-scope .slds-textarea:focus, .slds-scope .slds-select:focus{
border-color:#a97448 !important;
box-shadow: 0 0 3px #a97448 !important;
}
.slds-scope .slds-input, .slds-scope .slds-select, .slds-scope .slds-textarea {
border-color: #a97448 !important;
width: 100%;
border: 1px solid #A97448;
max-width: 100%;
padding: 10px 15px;
box-sizing: border-box;
cursor: pointer;
outline: none;
box-shadow: none;
transition: all .3s ease-in-out;
min-height: 54px;
font-size: 16px;
line-height: 1;
color: #1e1e1e;
border-radius: 0;
}
.slds-scope .slds-button {
border: 0;
border-radius: 0;
}
.slds-scope .slds-button:hover, .slds-scope .slds-button:focus {
border-color: #a97448
!important;
background-color: #a97448 !important;
}
.slds-scope [kx-scope=button-brand]:hover, .slds-scope [kx-scope=button-neutral]:hover, .slds-scope [kx-scope=button-outline]:hover, .slds-scope [kx-scope=button-filled]:hover{
transform: none !important;
}
button.slds-button.slds-button_brand {
font-size: 16px !important;
line-height: 1;
font-weight: 500 !important;
text-transform: uppercase !important;
border-radius: 0 !important;
color: #fff;
background-color: #A97448 !important;
min-height: 50px;
display: flex;
align-items: center;
justify-content: center !important;
width: max-content;
margin-inline: auto;
padding: 5px 38px;
transition: all .3s ease-in-out;
border: 1px solid #A97448;
margin: 0;
cursor: pointer;
font-family: 'Inter', sans-serif;
}
button.slds-button.slds-button_brand:hover {
background-color: #fff !important;
color: #A97448 !important;
}
button.slds-button.slds-button_brand::before,
button.slds-button.slds-button_brand::after{
display: none !important;
}
.slds-scope .slds-form-element__label, .slds-form-element__label.slds-rich-text-editor__output[lwc-1o2vf6350ba] {
font-family: 'Inter' !important;
font-size: 16px!important;
font-weight: 400!important;
text-align: left;
line-height: 1;
color: #666666;
display: inline-flex;
margin-block: 0 10px !important;
width: fit-content;
flex-direction: row-reverse;
padding-top: 0;
}
.slds-scope .slds-form-element__label, .slds-form-element__label.slds-rich-text-editor__output[lwc-1o2vf6350ba] {
display: inline-flex;
flex-direction: row-reverse;
}
.slds-scope abbr[title] {
float: right;
}
.slds-scope .slds-has-error .slds-select {
background-clip: padding-box;
}
.flowruntime-input-label[lwc-tnmta5dbnt] {
width: max-content;
margin-block: 0 10px;
padding: 0;
min-height: unset;
}
.flowruntime-input-label[lwc-tnmta5dbnt] abbr.slds-required {
font-size: 20px !IMPORTANT;
font-weight: 400 !IMPORTANT;
line-height: 1;
}
.slds-scope .slds-m-bottom_x-small, .slds-scope .slds-m-bottom--x-small {
margin-bottom: 30px;
}
.flowruntime-section-column[lwc-6aa2906q6hj] {
margin-bottom: 0;
}
.slds-scope .flowruntime-inline.slds-rich-text-editor__output[lwc-1o2vf6350ba] {
margin: 0 !important;
}
@media(max-width:640px){
button.slds-button.slds-button_brand {
font-size: 15px !important;
padding: 5px 20px !important;
min-height: 40px !important;
}
}
{
const useShadowDom = true;
const host = document.querySelector("#host");
const shadow = host.attachShadow({ mode: "open" });
const appName = 'c:lightningOutApp';
const componentName = 'c:LightningOutFlowLwc';
const lightningEndpoint = 'https://vadoprivate.my.salesforce-sites.com/';
const targetElement = document.querySelector("[data-lightning-out]");
// read url parameter
const queryString = window.location.search;
const urlParams = new URLSearchParams(queryString);
const componentAttributes = {
flowApiName: 'Scenario_Submit_a_Deal',
flowInputVariables: []
};
if (useShadowDom) {
const targetNode = document.querySelector("head");
const head = document.createElement('head');
shadow.prepend(head);
const callback = (mutationList, observer) => {
for (const mutation of mutationList) {
if (mutation.type === "childList") {
for (const node of mutation.addedNodes) {
if (/^\s*]*data-rendered-by-lwc[^\>]*\>/.test(node.outerHTML)) {
head.append(node);
} else if (node.href != null && node.href?.includes('my.salesforce-sites.com') && node.type === 'text/css') {
head.append(node);
}
}
}
}
};
const config = { attributes: true, childList: true, subtree: true };
const observer = new MutationObserver(callback);
observer.observe(targetNode, config);
}
$Lightning.use(
appName,
function (){
$Lightning.createComponent(
componentName,
componentAttributes,
targetElement,
async function (cmp) {
if (useShadowDom) {
const link = document.querySelector(".auraCss");
const data = await (await fetch(link.href)).text();
const styles = data.replace(/:\s*root([^\{]*)\{/g, ":host$1{")
const stylesheet = document.createElement('style');
stylesheet.innerHTML = styles;
shadow.prepend(stylesheet);
const style = document.querySelector("#style");
shadow.append(style);
const flow = document.querySelector("#flow");
shadow.appendChild(flow);
}
}
);
},
lightningEndpoint
);
}