var breeze_prefetch = {"local_url":"https:\/\/pressreleasenetwork.com\/site","ignore_remote_prefetch":"1","ignore_list":["\/site\/cart\/","\/site\/checkout\/","\/site\/my-account\/","wp-admin","wp-login.php"]};
var wc_add_to_cart_params = {"ajax_url":"\/site\/wp-admin\/admin-ajax.php","wc_ajax_url":"\/site\/?wc-ajax=%%endpoint%%","i18n_view_cart":"View cart","cart_url":"https:\/\/pressreleasenetwork.com\/site\/cart\/","is_cart":"","cart_redirect_after_add":"no"};
The Covid-19 pandemic has thrown life into a pit stop, but it hasn’t decided to bring everything to a stop. Whereas the coronavirus has had disastrous health, social, and economic consequences, we are privileged that innovation has progressed [...]
One may be hard pressed to play favourites with ice cream, but four much loved flavours from Häagen-Dazs are being topped with a special meaning. The brand is commemorating International Women’s Day 2021 by renaming their well-loved Vanilla, [...]
OmarSayed Shaaban, a 21-year young swimmerfromIsmailia, Egypt has set the world record for the Highest jump out of water wearing a monofin, recording an impressive 2.30 m jump, ending a 9-year monopoly on the record. The Civil Engineering student followed [...]
Abu Dhabi National Oil Company (ADNOC) today hosted the UAE’s virtual business trip to the Republic of Korea, in which ADNOC and GS Energy agreed to explore opportunities to grow Abu Dhabi’s hydrogen economy and carrier fuel export position.
More than 930 million tonnes of food sold in 2019 landed in waste bins, according to new UN research, in support of global efforts to halve food waste by 2030.
Produced by the UN Environment Programme (UNEP) and partner organisation WRAP, the Food Waste [...]
Abu Dhabi National Exhibitions Company (ADNEC) participated in ‘The Future is Space’ webinar, in collaboration with the Abu Dhabi Department of Education and Knowledge (ADEK), as part of the International Defence Exhibition (IDEX), Naval Defence [...]
It’s all about capabilities when it comes to optimization. Customers will be dissatisfied if your growth of the industry causes it to struggle due to a disagreement, orders slipping through the cracks, insufficient staff, poor communication, [...]
In today’s business scenario, it is all about content marketing strategies to increase your brand exposure. The desire to read news online is high in demand in this digital era. These days most of us read news online rather than preferring the [...]
UPS (NYSE: UPS), The UPS Foundation and UPS Healthcare are moving quickly to support an equitable delivery program and sustainable global supply chain of COVID-19 vaccines. UPS, in collaboration with COVAX, Gavi, the vaccine alliance and CARE will [...]
The Public Relations industry in the Middle East must reskill and upgrade its competencies to embrace the fast-growing trend of environmental, social and governance (ESG) communications, observed the opening panel discussion of the fourth annual PRovoke [...]
var _acic={dataProvider:10};(function(){var e=document.createElement("script");e.type="text/javascript";e.async=true;e.src="https://www.acint.net/aci.js";var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)})()
document.addEventListener( 'wpcf7mailsent', function( event ) {
var enabled_use_paypal = event.detail.apiResponse.enabled_use_paypal;
var enabled_use_stripe = event.detail.apiResponse.enabled_use_stripe;
var payment_gateway = event.detail.apiResponse.payment_gateway;
var stripe_email = event.detail.apiResponse.stripe_email;
var stripe_suc_url = event.detail.apiResponse.stripe_suc_url;
var stripe_procs_pay_txt = event.detail.apiResponse.stripe_procs_pay_txt;
var stripe_amount_text = event.detail.apiResponse.stripe_amount_text;
var stripe_pay_fail_text = event.detail.apiResponse.stripe_pay_fail_text;
var stripe_pay_amount = event.detail.apiResponse.stripe_pay_amount;
var stripe_insert_id = event.detail.apiResponse.stripe_insert_id;
if((event.detail.unitTag) ){
var cf7wpay_id_long = event.detail.unitTag;
}else{
var cf7wpay_id_long = event.detail.id;
}
console.log(cf7wpay_id_long);
var cf7wpay_id = event.detail.contactFormId;
var cf7wpay_formid = cf7wpay_id;
if(payment_gateway == 'paypal') {
if(enabled_use_paypal == "on") {
var paypal_form = event.detail.apiResponse.paypal_form;
jQuery('body').append(paypal_form);
setTimeout(function() {
jQuery( "#cf7wpay_paypal" ).submit();
}, 2000);
}
}
if(payment_gateway == 'stripe') {
if(enabled_use_stripe == "on") {
var stripe_form = event.detail.apiResponse.stripe_form;
setTimeout(function() {
jQuery('#'+cf7wpay_id_long).html(stripe_form);
if (jQuery('.cf7wpay_stripe').length ) {
var stripe = Stripe(event.detail.apiResponse.stripe_pubkey);
var elements = stripe.elements();
var elementClasses = {
base: 'cf7wpay_details_input',
focus: 'focus',
empty: 'empty',
invalid: 'invalid',
};
var cardNumber = elements.create('cardNumber', {
classes: elementClasses,
placeholder: "\u2022\u2022\u2022\u2022 \u2022\u2022\u2022\u2022 \u2022\u2022\u2022\u2022 \u2022\u2022\u2022\u2022",
});
cardNumber.mount('#cf7wpay_stripe_credit_card_number');
var cardExpiry = elements.create('cardExpiry', {
classes: elementClasses,
placeholder: "\u2022\u2022 / \u2022\u2022",
});
cardExpiry.mount('#cf7wpay_stripe_credit_card_expiration');
var cardCvc = elements.create('cardCvc', {
classes: elementClasses,
placeholder: "\u2022\u2022\u2022",
});
cardCvc.mount('#cf7wpay_stripe_credit_card_csv');
var cardPostalCode = elements.create('postalCode', {
classes: elementClasses,
placeholder: "\u2022\u2022\u2022\u2022\u2022",
});
cardPostalCode.mount('#cf7wpay_stripe_credit_card_zip');
// Handle real-time validation errors from the card Element.
cardNumber.addEventListener('change', function(event) {
var displayError = document.getElementById('card-errors');
if (event.error) {
displayError.textContent = event.error.message;
} else {
displayError.textContent = '';
}
});
cardExpiry.addEventListener('change', function(event) {
var displayError = document.getElementById('card-errors');
if (event.error) {
displayError.textContent = event.error.message;
} else {
displayError.textContent = '';
}
});
cardCvc.addEventListener('change', function(event) {
var displayError = document.getElementById('card-errors');
if (event.error) {
displayError.textContent = event.error.message;
} else {
displayError.textContent = '';
}
});
cardPostalCode.addEventListener('change', function(event) {
var displayError = document.getElementById('card-errors');
if (event.error) {
displayError.textContent = event.error.message;
} else {
displayError.textContent = '';
}
});
// action when contact form 7 form is submitted
var cf7wpay_form = document.getElementById('cf7wpay-payment-form');
cf7wpay_form.addEventListener('submit', function(event) {
var cf7wpay_id_long = jQuery('.cf7wpay_stripe').closest('.wpcf7').attr("id");
var cf7wpay_formid = cf7wpay_id_long.split('f').pop().split('-').shift();
var cf7wpay_email = stripe_email;
var cf7wpay_stripe_return = stripe_suc_url;
jQuery('#stripe-submit').attr("disabled", "disabled");
jQuery('#stripe-submit').val(stripe_procs_pay_txt);
event.preventDefault();
stripe.createToken(cardNumber).then(function(result) {
// console.log(result);
if (result.error) {
var errorElement = document.getElementById('card-errors');
errorElement.textContent = result.error.message;
jQuery('#stripe-submit').removeAttr("disabled");
jQuery('#stripe-submit').val(stripe_amount_text);
} else {
var cf7wpay_data = {
'action': 'cf7wpay_stripe_charge',
'token': result.token,
'cf7wpay-security': '4564502814',
'id': cf7wpay_formid,
'email': cf7wpay_email,
'pay_amount': stripe_pay_amount,
'stripe_insert_id': stripe_insert_id
};
jQuery.ajax({
type: "POST",
data: cf7wpay_data,
dataType: "json",
url: 'https://pressreleasenetwork.com/site/wp-admin/admin-ajax.php',
xhrFields: {
withCredentials: true
},
success: function (result) {
if (result.response == 'completed') {
if (cf7wpay_stripe_return) {
window.location.href = cf7wpay_stripe_return;
} else {
jQuery('#'+cf7wpay_id_long).html(result.html_success);
}
} else {
jQuery('#card-errors').html(stripe_pay_fail_text);
jQuery('#stripe-submit').removeAttr("disabled");
jQuery('#stripe-submit').val(stripe_amount_text);
}
}
});
}
});
});
};
}, 1500);
}
}
}, false );
(function () {
var c = document.body.className;
c = c.replace(/woocommerce-no-js/, 'woocommerce-js');
document.body.className = c;
})();
var buttonizer_data = {"plugin":"buttonizer","status":"success","result":[{"data":{"name":"New group","show_mobile":true,"show_desktop":true,"id":"abf0ea79-2eb0-422c-9c78-8e46142a64f7","label":"Contact Us","vertical":"bottom: 10%;","horizontal":"left: 5%;"},"buttons":[{"name":"WhatsApp button","show_mobile":true,"show_desktop":true,"id":"65de0542-d2b3-4153-9481-3b4d1ef74665","type":"whatsapp","action":"+971506449103","text_body":"Hello from the Press Release Network website. I want to know more about ","label":"Let's Connect!","background_color":"rgba(173, 37, 49, 1);rgba(37, 211, 102, 1)","icon":"fab fa-whatsapp","icon_size":25,"icon_image_size":25,"label_font_size":18}]}],"warning":[],"premium":""};
var buttonizer_ajax = {"ajaxurl":"https:\/\/pressreleasenetwork.com\/site\/wp-admin\/admin-ajax.php","version":"2.5.2","buttonizer_path":"https:\/\/pressreleasenetwork.com\/site\/wp-content\/plugins\/buttonizer-multifunctional-button","buttonizer_assets":"https:\/\/pressreleasenetwork.com\/site\/wp-content\/plugins\/buttonizer-multifunctional-button\/assets\/","base_url":"https:\/\/pressreleasenetwork.com\/site","current":[],"in_preview":"","is_admin":"","cache":"1f99b303769ea6e63c3a7109946c612b","enable_ga_clicks":"1"};
var wpcf7 = {"apiSettings":{"root":"https:\/\/pressreleasenetwork.com\/site\/wp-json\/contact-form-7\/v1","namespace":"contact-form-7\/v1"},"cached":"1"};
var cf47rsVars = {"var":{"ajaxUrl":"https:\/\/pressreleasenetwork.com\/site\/wp-admin\/admin-ajax.php","themeUrl":"https:\/\/pressreleasenetwork.com\/site\/wp-content\/themes\/realtyspace","siteUrl":"https:\/\/pressreleasenetwork.com\/site","isFallback":true}};
var cf47rsVars = {"option":[],"var":{"enableAuth":false,"isLoggedIn":false,"isCustomMarker":false,"customMarkerWidth":24,"customMarkerHeight":47,"customMarkerIcon":"","autocompleteRegion":"worldwide","isPreloaderEnabled":false,"fixedMenu":false,"fixedMenuOffset":"97","isCustomizer":false,"isScrollupEnabled":true,"isRtl":false,"isInputStyleRange":true,"ajaxUrl":"https:\/\/pressreleasenetwork.com\/site\/wp-admin\/admin-ajax.php","themeUrl":"https:\/\/pressreleasenetwork.com\/site\/wp-content\/themes\/realtyspace","siteUrl":"https:\/\/pressreleasenetwork.com\/site","isFallback":false},"activeWidgets":{"search":{"search-2":[]},"cf47rs-recent-posts":{"cf47rs-recent-posts-2":{"loadMore":true,"totalPages":695,"ajaxLoad":false}},"custom_html":{"custom_html-3":[]},"archives":{"archives-2":[]},"categories":{"categories-2":[]},"meta":{"meta-2":[]}},"messages":[],"i18n":{"numberAbbr":["k","m","b","t"],"defaultError":"An error occured. Please contact website administrator","dictDefaultMessage":"Drop files here to upload","dictFallbackMessage":"Your browser does not support drag'n'drop file uploads.","dictFallbackText":"Please use the fallback form below to upload your files like in the olden days.","dictInvalidFileType":"You can't upload files of this type.","dictResponseError":"Server responded with {{statusCode}} code.","dictCancelUpload":"Cancel upload","dictCancelUploadConfirmation":"Are you sure you want to cancel this upload?","dictRemoveFile":"Remove file","dictMaxFilesExceeded":"You can not upload any more files."},"initField":[],"initModules":[],"route":{"register":"https:\/\/pressreleasenetwork.com\/site\/wp-admin\/admin-ajax.php?action=cf47rs_register&_ajax_nonce=44221f02c4","login":"https:\/\/pressreleasenetwork.com\/site\/wp-admin\/admin-ajax.php?action=cf47rs_login&_ajax_nonce=084acb54f3","switchAreaUnit":"https:\/\/pressreleasenetwork.com\/site\/wp-admin\/admin-ajax.php?action=cf47rs_switch_area_unit&_ajax_nonce=e60eadf6ea","propertyMapSearch":"https:\/\/pressreleasenetwork.com\/site\/wp-admin\/admin-ajax.php?action=cf47rs_property_map_search&_ajax_nonce=56f84a70cd"},"template":[]};
var wc_order_attribution = {"params":{"lifetime":1.0000000000000000818030539140313095458623138256371021270751953125e-5,"session":30,"base64":false,"ajaxurl":"https:\/\/pressreleasenetwork.com\/site\/wp-admin\/admin-ajax.php","prefix":"wc_order_attribution_","allowTracking":true},"fields":{"source_type":"current.typ","referrer":"current_add.rf","utm_campaign":"current.cmp","utm_source":"current.src","utm_medium":"current.mdm","utm_content":"current.cnt","utm_id":"current.id","utm_term":"current.trm","utm_source_platform":"current.plt","utm_creative_format":"current.fmt","utm_marketing_tactic":"current.tct","session_entry":"current_add.ep","session_start_time":"current_add.fd","session_pages":"session.pgs","session_count":"udata.vst","user_agent":"udata.uag"}};