(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){'use strict';var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj;}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj;};function _toArray(arr){return Array.isArray(arr)?arr:Array.from(arr);}
(function($){var allowedActions=['tel','callto','mailto','sms'];var submission=determineExportEndpoint();function trackAsync(){var $widget=$(this);var _$widget$attr$split=$widget.attr('href').split(':',1),_$widget$attr$split2=_toArray(_$widget$attr$split),action=_$widget$attr$split2[0],rest=_$widget$attr$split2.slice(1);if(allowedActions.indexOf(action)>=0){fetch(determineFullSubmissionUrl($widget,submission));}
return true;}
$('.widget-button[subtype="async"]').on('click',trackAsync);function determineExportEndpoint(){if('object'===(typeof landingiExportDetails==='undefined'?'undefined':_typeof(landingiExportDetails))&&landingiExportDetails.exportUrl){return landingiExportDetails.exportUrl+'/button/';}
var currentAddress=new URL(window.location);var path='/'===currentAddress.pathname?'':currentAddress.pathname;return currentAddress.origin+path+'/button/';}
function determineFullSubmissionUrl($element,endpointString){var $lightbox=$element.parents('.landingi-popup');var endpoint=new URL(''+endpointString+$element.attr('id'));var query=endpoint.searchParams;if($lightbox.length){query.append('lightbox',$lightbox.attr('id'));}
if('object'===(typeof landingiExportDetails==='undefined'?'undefined':_typeof(landingiExportDetails))){query.append('export_hash',landingiExportDetails.hash);query.append('tid',landingiExportDetails.tid);}
return endpoint.toString();}})(jQuery);},{}]},{},[1]);