window[window.GatedContentObject].Config={version:3,mode:"app",environment:"production",safeMode:!1,qTime:300,account:{id:"",name:"",active:0},preloadAssets:["https://app.gatedcontent.com/assets/js/countries.js"],debug:{appName:"GCDC App",active:!1,level:3,qsParam:"gcdc_debug"},previewableEntities:{},requestedDataSources:{},html:{gateTriggerClassPrefix:"gate-",gateImageEmbedURL:"https://app.gatedcontent.com/loading/",gateElementClass:"gcdc-gate",experimentTriggerClassPrefix:"exp-gate-",gateTranslationGroupTriggerClassPrefix:"lang-group-",modalLayerElementClass:"gcdc-modal-layer",formElementClass:"gcdc-form-render",contentElementClass:"gcdc-content-render",autocompleteElementClass:"gcdc-autocomplete-box",focusableElements:'div.gcdc-form-group:not(.hidden) button:not([tabindex="-1"]):not(.hidden), [href]:not([tabindex="-1"]), div.gcdc-form-group:not(.hidden) input:not([tabindex="-1"]):not(.hidden), div.gcdc-form-group:not(.hidden) select:not([tabindex="-1"]), div.gcdc-form-group:not(.hidden) textarea:not([tabindex="-1"]), [tabindex]:not([tabindex="-1"])'},defaultFields:{emailField:"emailAddress",firstNameField:"firstName",lastNameField:"lastName",countryField:"country",companyNameField:"company",industryField:"industry",optinField:"optin"},advancedSettings:{submissionMethod:"",submissionUrl:"",rootDomain:"",useTrackingCookies:!1,trackingCookieAllowedDomains:"",liveValidateForms:!1,gatepenByUserDataAdditionalCriteria:!1,gatepenByUserDataAdditionalCriteriaValue:"",useFieldDefaultPlaceholders:!0,countrySelectorSubmitLabels:!1,countrySelectorRemoveCountries:"",countrySelectorRelabelCountries:"",supportHalfWidthCustomFields:!0,detectPrivacyBlocking:!1,detectPrivacyBlockingURL:"",privacyBlockingMessage:"",disableFormsOnPrivacyBlocking:!1,browserPrivacyCheck:!0,multiLanguageDetectionMethod:"page",multiLanguageDetectionMetaName:"locale",multiLanguageMapping:{}},gates:{formTypes:{},gateTypes:{general:"General"},idleBuild:!1,deferredBuildTimeout:4500,synchronousSubmissionDelay:3e3,forceCustomSubmissionBehaviour:!1,showContentDelay:2e3,blindSubmitOnContentInteraction:!0,useFetchSubmission:!0,useJsonSubmission:!1,useJsonForSecondarySubmission:!1,gateOpenByIdSessionDuration:0,gateOpenByIdDuration:43200,gateOpenByGroupDuration:43200,progressiveStatusRetention:43200,showProgressiveFieldsAfterProgressionComplete:!0,requiredFieldLabelIndicator:"*",optionalFieldLabelIndicator:"",selectFieldHint:"Please select an option",fieldPrefixes:{url:"https://"},prepopulation:{showPrepopulationMessage:!0},multiStepFormsAllowBack:!0,multiStepFormsDisplayExplodedText:!1,multiStepFormsModalCountsAsStep:!1,doubleColumnBreakpoint:400,allowOpenModalGatesOnHashChange:!1,requiredConfigAttributes:["gateName","formType","lang","gateType"],blindSubmitRequireEmailAddress:!0,blindSubmitAdditionalRequiredFields:[],blindSubmitExcludedFields:[],scrollToGateTopOnSubmission:!0,scrollToGateTopOnSubmissionOffset:0,multiselectDelimiter:",",displayMessageOnLoadFail:!0,loadFailMessage:"Form unavailable.",displayAllValidationErrorsSimultaneously:!1,autocompleteAttributeName:null},tracking:{events:{},triggers:{form:{formLoaded:{allowMultiple:!1,name:"Loaded",description:"This event will be triggered when the form loads. Gates which are already open at page load will not trigger this event.",gcdcReportingActive:!0,gcdcReportingName:"loaded",gcdcReportingAllowMultiple:!1},formViewed:{allowMultiple:!1,name:"Viewed",description:"This event will be triggered when the form is viewed. For modal gates, this will be when the modal is opened. For inline gates, this will be when the form is in view. Gates which already open at page load will not trigger this event.",gcdcReportingActive:!0,gcdcReportingName:"viewed",gcdcReportingAllowMultiple:!1},formStarted:{allowMultiple:!1,name:"Started",description:"This event will be triggered when user focuses on a field within the form.",gcdcReportingActive:!0,gcdcReportingName:"started",gcdcReportingAllowMultiple:!1},fieldFocus:{allowMultiple:!0,name:"Field focused",description:"This event will be triggered when the user focuses on a form field, e.g. by clicking or tabbing into the field.",gcdcReportingActive:!1,gcdcReportingName:"fieldFocus",gcdcReportingAllowMultiple:!1},fieldChange:{allowMultiple:!0,name:"Field changed",description:"This event will be triggered when the user changes the value of a field.",gcdcReportingActive:!0,gcdcReportingName:"fieldChanged",gcdcReportingAllowMultiple:!1},fieldInvalid:{allowMultiple:!0,name:"Field invalid",description:"This event will be triggered when the user is shown a validation error on a form field.",gcdcReportingActive:!1,gcdcReportingName:"fieldInvalid",gcdcReportingAllowMultiple:!1},stepChanged:{allowMultiple:!0,name:"Step changed",description:"This event will be triggered when the user changes step on a multi-step form.",gcdcReportingActive:!1,gcdcReportingName:"stepChanged",gcdcReportingAllowMultiple:!1},stepCompleted:{allowMultiple:!0,name:"Step completed",description:"This event will be triggered when the user successfully completes a step on a multi-step form.",gcdcReportingActive:!1,gcdcReportingName:"stepCompleted",gcdcReportingAllowMultiple:!1},submissionFailed:{allowMultiple:!0,name:"Validation failed",description:"This event will be triggered when the user attempts to submit the form, but the submission is blocked by an invalid field.",gcdcReportingActive:!1,gcdcReportingName:"failed",gcdcReportingAllowMultiple:!1},submissionSucceed:{allowMultiple:!1,name:"Submission",description:"This event will be triggered when the user successfully submits the form.",gcdcReportingActive:!0,gcdcReportingName:"submission",gcdcReportingAllowMultiple:!1},blindSubmissionSucceed:{allowMultiple:!1,name:"Blind Submission",description:"This event will be triggered when a user interaction causes a blind form submission, normally by consuming content.",gcdcReportingActive:!1,gcdcReportingName:"blindSubmission",gcdcReportingAllowMultiple:!1},adBlockerDetected:{allowMultiple:!1,name:"Ad Blocker Detected",description:"This event will be triggered if the ad blocker detection functionality is active on your GCDC account, and it detects an active ad blocker.",gcdcReportingActive:!1,gcdcReportingName:"adBlockerDetected",gcdcReportingAllowMultiple:!1}}},includeQuerystringInGcdcLogging:!1},integrations:{},storage:{storageKeyName:"gcdcApp",userDataPrefix:"userData-",userFieldDataPrefix:"fieldData-",defaultUserDataRetention:0},supportedLanguages:{en:"English"},formats:{email:"^[A-Z0-9._%+'-]+@[A-Z0-9.-]+\\.[A-Z]{2,}$",url:"((http|https)://)(www.)?[a-zA-Z0-9@:%._\\+~#?&//=]{2,256}\\.[a-z]{2,6}\\b([-a-zA-Z0-9@:%._\\+~#?&//=]*)",phone:"^(?:\\+[0-9]{1,3})(?:\\(|\\s)(?:[0-9\\(\\)\\s]{3,20})$",phoneSimple:"^(?:\\+[0-9\\s\\(\\)\\-\\.]{9,20})$",phoneAllowedCharacters:"0-9\\s+\\(\\)\\.\\-",phoneDefaultMask:"+##(###)###-####",emailRegExp:new RegExp("[A-Z0-9._%+'-]+@[A-Z0-9.-]+\\.[A-Z]{2,}","gi"),urlRegExp:new RegExp("https?://(www.)?[-a-zA-Z0-9@:%._+~#=]{2,256}.[a-z]{2,6}\b([-a-zA-Z0-9@:%_+.~#?&//=]*)","gi")},initTimestamp:null},(a=>{a.Vendor=a.Vendor||{};var r=r||{removeNode:function(e){e=document.getElementById(e);e&&e.parentNode.removeChild(e)},insertAfter:function(e,t){var i=t.parentNode;t.nextElementSibling?i.insertBefore(e,t.nextElementSibling):i.appendChild(e)},hide:function(e){e.style.display="none"},hideAll:function(e){for(var t=0;t span")),r.hide(document.querySelector("#"+n._getItemListIdentifier()+" > hr")),e=Array.prototype.filter.call(document.querySelectorAll("#"+n._getItemListIdentifier()+" li span"),function(e){return-1 span")),r.show(document.querySelector("#"+n._getItemListIdentifier()+" > hr")),r.showAll(document.querySelectorAll("#"+n._getItemListIdentifier()+" li")))}var n=this;document.getElementById(n._getInputFieldIdentifier()).addEventListener("focus",function(i){n._showList(n),document.getElementById(n._getInputFieldIdentifier()).value="",r.each(window.gcdc_multiselects,function(e){var t=document.getElementById(e._getItemListIdentifier());t&&t.offsetParent&&r.parent(i.target,e._getIdentifier())&&e._hideList(n)})}),document.getElementById(n._getInputFieldIdentifier()).addEventListener("click",function(){"readonly"!==document.getElementById(n._getInputFieldIdentifier()).getAttribute("readonly")&&(n._showList(n),document.getElementById(n._getInputFieldIdentifier()).value="")}),document.getElementById(n._getIdentifier()).addEventListener("click",function(e){var t=(e=e||window.event).target||e.srcElement;r.parent(t,n._getIdentifier())&&e.stopPropagation()}),document.getElementById(n._getItemListIdentifier()).addEventListener("mouseover",function(){n._showList(n)}),r.each(document.getElementById(n._getIdentifier()).querySelectorAll(".multiselect-checkbox"),function(t){t.addEventListener("change",function(e){n._onCheckBoxChange(t,n,e)})});document.getElementById(n._getInputFieldIdentifier()).addEventListener("propertychange",e),document.getElementById(n._getInputFieldIdentifier()).addEventListener("input",e)},_onCheckBoxChange:function(e,t,i){var n;e.dataset.multiselectElement?(n=t._performSelectItem(e,t),"function"==typeof t._checkboxClickEvents[n.id]&&t._checkboxClickEvents[n.id](e,n),t._updateSelectAll(t)):(n=t._performSelectAll(e,t),"function"==typeof t._checkboxClickEvents.checkboxAll&&t._checkboxClickEvents.checkboxAll(e,{checked:n})),t._forceUpdate()},_performSelectItem:function(e,t){var i=JSON.parse(e.dataset.multiselectElement);return e.checked?(t._itemCounter++,r.select(this._item.options[i.index]),r.setActive(e.parentElement.parentElement),this._item.setAttribute("data-last-value-changed--by-interaction",!0),a.Modules.UI.simulateEvent(this._item,"change"),{id:i.id,checked:!0}):(t._itemCounter--,r.deselect(this._item.options[i.index]),r.setUnactive(e.parentElement.parentElement),this._item.setAttribute("data-last-value-changed--by-interaction",!0),a.Modules.UI.simulateEvent(this._item,"change"),{id:i.id,checked:!1})},_performSelectAll:function(e,t){var i=t._getItems();return e.checked?(t._itemCounter=i.length,r.each(i,function(e){r.setActive(e.multiselectElement.parentElement.parentElement),r.select(t._item.options[e.index]),r.check(e.multiselectElement)}),this._item.setAttribute("data-last-value-changed--by-interaction",!0),a.Modules.UI.simulateEvent(this._item,"change"),!0):(t._itemCounter=0,r.each(i,function(e){e.multiselectElement.parentElement.parentElement.classList.remove("active"),r.deselect(t._item.options[e.index]),r.uncheck(e.multiselectElement)}),this._item.setAttribute("data-last-value-changed--by-interaction",!0),a.Modules.UI.simulateEvent(this._item,"change"),!1)},_updateSelectAll:function(e){var t=document.getElementById(e._getItemListIdentifier()).querySelector("input[type=checkbox]");e._itemCounter==e._getItems().length?t.checked=!0:t.checked&&(t.checked=!1)},_hideList:function(e,t){r.setUnactive(document.getElementById(e._getItemListIdentifier())),r.show(document.getElementById(e._getItemListIdentifier()).querySelector("span")),r.show(document.getElementById(e._getItemListIdentifier()).querySelector("hr")),r.showAll(document.getElementById(e._getItemListIdentifier()).querySelectorAll("li")),e._updateText(e),t&&t.stopPropagation()},_updateText:function(e){var t=document.getElementById(e._getItemListIdentifier()).querySelectorAll("ul .active");if(0{e.Vendor=e.Vendor||{},e.Vendor.shaven=function e(t,i,n){var o,a,r,s,l,d,u,c,g=document,m=1;function f(e,t){if(null!==t&&!1!==t&&void 0!==t)return"string"!=typeof t&&"object"!=typeof t?String(t):t}if(n=n||{},i=i||"http://www.w3.org/1999/xhtml","string"==typeof t[0])t[0]=(l=(l=(s=t[0]).match(/^\w+/))?l[0]:"div",d=s.match(/#([\w-]+)/),u=s.match(/\$([\w-]+)/),c=s.match(/\.[\w-]+/g),l="createElementNS"in document?g.createElementNS(i,l):g.createElement(l),d&&(l.id=d[1],n[d[1]]=l),u&&(n[u[1]]=l),c&&l.setAttribute("class",c.join(" ").replace(/\./g,"")),s.match(/&$/g)&&(o=!0),l);else if(Array.isArray(t[0]))m=0;else if(!(t[0]instanceof Element))throw new Error("First element of array must be either a string, an array or a DOM element and not "+JSON.stringify(t[0]));for(;m{s.Vendor=s.Vendor||{},function n(o,a,r){function s(i,e){if(!a[i]){if(!o[i]){var t="function"==typeof require&&require;if(!e&&t)return t(i,!0);if(l)return l(i,!0);e=new Error("Cannot find module '"+i+"'");throw e.code="MODULE_NOT_FOUND",e}t=a[i]={exports:{}};o[i][0].call(t.exports,function(e){var t=o[i][1][e];return s(t||e)},t,t.exports,n,o,a,r)}return a[i].exports}for(var l="function"==typeof require&&require,e=0;e/g,c=/"/g,g=/"/g,m=/&#([a-zA-Z0-9]*);?/gim,f=/:?/gim,p=/&newline;?/gim,h=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a)\:/gi,b=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,v=/u\s*r\s*l\s*\(.*/gi;function C(e){return e.replace(c,""")}function M(e){return e.replace(g,'"')}function w(e){return e.replace(m,function(e,t){return"x"===t[0]||"X"===t[0]?String.fromCharCode(parseInt(t.substr(1),16)):String.fromCharCode(parseInt(t,10))})}function y(e){return e.replace(f,":").replace(p," ")}function T(e){for(var t="",i=0,n=e.length;i/g;i.whiteList=a(),i.getDefaultWhiteList=a,i.onTag=function(e,t,i){},i.onIgnoreTag=function(e,t,i){},i.onTagAttr=function(e,t,i){},i.onIgnoreTagAttr=function(e,t,i){},i.safeAttrValue=function(e,t,i,n){if(i=S(i),"href"===t||"src"===t){if("#"===(i=u.trim(i)))return"#";if("http://"!==i.substr(0,7)&&"https://"!==i.substr(0,8)&&"mailto:"!==i.substr(0,7)&&"tel:"!==i.substr(0,4)&&"#"!==i[0]&&"/"!==i[0])return""}else if("background"===t){if(h.lastIndex=0,h.test(i))return""}else if("style"===t){if(b.lastIndex=0,b.test(i))return"";if(v.lastIndex=0,v.test(i)&&(h.lastIndex=0,h.test(i)))return"";!1!==n&&(i=(n=n||r).process(i))}return i=E(i)},i.escapeHtml=s,i.escapeQuote=C,i.unescapeQuote=M,i.escapeHtmlEntities=w,i.escapeDangerHtml5Entities=y,i.clearNonPrintableCharacter=T,i.friendlyAttrValue=S,i.escapeAttrValue=E,i.onIgnoreTagStripAll=function(){return""},i.StripTagBody=function(a,r){"function"!=typeof r&&(r=function(){});var s=!Array.isArray(a),l=[],d=!1;return{onIgnoreTag:function(e,t,i){var n,o;return o=e,s||-1!==u.indexOf(a,o)?i.isClosing?(n=i.position+(o="[/removed]").length,l.push([!1!==d?d:i.position,n]),d=!1,o):(d=d||i.position,"[removed]"):r(e,t,i)},remove:function(t){var i="",n=0;return u.forEach(l,function(e){i+=t.slice(n,e[0]),n=e[1]}),i+=t.slice(n)}}},i.stripCommentTag=function(e){return e.replace(k,"")},i.stripBlankChar=function(e){return e.split("").filter(function(e){e=e.charCodeAt(0);return!(127===e||e<=31&&10!==e&&13!==e)}).join("")},i.cssFilter=r,i.getDefaultCSSWhiteList=o},{"./util":4,cssfilter:8}],2:[function(e,t,i){var n,o=e("./default"),a=e("./parser"),r=e("./xss");for(n in(i=t.exports=function(e,t){return new r(t).process(e)}).FilterXSS=r,o)i[n]=o[n];for(n in a)i[n]=a[n];s.Vendor.xss=t.exports,"undefined"!=typeof self&&"undefined"!=typeof DedicatedWorkerGlobalScope&&self instanceof DedicatedWorkerGlobalScope&&(self.filterXSS=t.exports)},{"./default":1,"./parser":3,"./xss":5}],3:[function(e,t,i){var f=e("./util");var u=/[^a-zA-Z0-9_:\.\-]/gim;function c(e){return'"'===(t=e)[0]&&'"'===t[t.length-1]||"'"===t[0]&&"'"===t[t.length-1]?e.substr(1,e.length-2):e;var t}i.parseTag=function(e,t,i){for(var n,o,a,r="",s=0,l=!1,d=!1,u=0,c=e.length,g="",u=0;u"===m?(r+=i(e.slice(s,l)),n=e.slice(l,u+1),o=n,a=void 0,a=f.spaceIndex(o),o=-1===a?o.slice(1,-1):o.slice(1,a+1),g=o="/"===(o="/"===(o=f.trim(o).toLowerCase()).slice(0,1)?o.slice(1):o).slice(-1)?o.slice(0,-1):o,r+=t(l,r.length,g,n,"{for(;t{for(;0{var t,i={};for(t in e)i[t]=e[t];return i})(e||{})).stripIgnoreTag&&(e.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),e.onIgnoreTag=o.onIgnoreTagStripAll),e.whiteList=e.whiteList||o.whiteList,e.onTag=e.onTag||o.onTag,e.onTagAttr=e.onTagAttr||o.onTagAttr,e.onIgnoreTag=e.onIgnoreTag||o.onIgnoreTag,e.onIgnoreTagAttr=e.onIgnoreTagAttr||o.onIgnoreTagAttr,e.safeAttrValue=e.safeAttrValue||o.safeAttrValue,e.escapeHtml=e.escapeHtml||o.escapeHtml,!1===(this.options=e).css?this.cssFilter=!1:(e.css=e.css||{},this.cssFilter=new n(e.css))}s.prototype.process=function(e){var s,l,d,u,c,g,m,t,f,i;return(e=(e=e||"").toString())?(i=this.options,s=i.whiteList,l=i.onTag,f=i.onIgnoreTag,d=i.onTagAttr,u=i.onIgnoreTagAttr,c=i.safeAttrValue,g=i.escapeHtml,m=this.cssFilter,i.stripBlankChar&&(e=o.stripBlankChar(e)),i.allowCommentTag||(e=o.stripCommentTag(e)),t=!1,i.stripIgnoreTagBody&&(f=(t=o.StripTagBody(i.stripIgnoreTagBody,f)).onIgnoreTag),i=r(e,function(e,t,o,i,n){var a,r,e={sourcePosition:e,position:t,isClosing:n,isWhite:s.hasOwnProperty(o)},t=l(o,i,e);return b(t)?e.isWhite?e.isClosing?"":(n=i,n=-1===(r=h.spaceIndex(n))?{html:"",closing:"/"===n[n.length-2]}:{html:n=(r="/"===(n=h.trim(n.slice(r+1,-1)))[n.length-1])?h.trim(n.slice(0,-1)):n,closing:r},a=s[o],r=p(n.html,function(e,t){var i=-1!==h.indexOf(a,e),n=d(o,e,t,i);return b(n)?i?(t=c(o,e,t,m))?e+'="'+t+'"':e:b(n=u(o,e,t,i))?void 0:n:n}),i="<"+o,r&&(i+=" "+r),n.closing&&(i+=" /"),i+">"):b(t=f(o,i,e))?g(i):t:t},g),t?t.remove(i):i):""},t.exports=s},{"./default":1,"./parser":3,"./util":4,cssfilter:8}],6:[function(e,t,i){var n=e("./default"),o=e("./parser");e("./util");function g(e){return null==e}function a(e){(e=(e=>{var t,i={};for(t in e)i[t]=e[t];return i})(e||{})).whiteList=e.whiteList||n.whiteList,e.onAttr=e.onAttr||n.onAttr,e.onIgnoreAttr=e.onIgnoreAttr||n.onIgnoreAttr,e.safeAttrValue=e.safeAttrValue||n.safeAttrValue,this.options=e}a.prototype.process=function(e){var t,l,d,u,c;return(e=(e=e||"").toString())?(t=this.options,l=t.whiteList,d=t.onAttr,u=t.onIgnoreAttr,c=t.safeAttrValue,o(e,function(e,t,i,n,o){var a,r=l[i],s=!1;if(!0===r?s=r:"function"==typeof r?s=r(n):r instanceof RegExp&&(s=r.test(n)),!0!==s&&(s=!1),n=c(i,n))return r={position:t,sourcePosition:e,source:o,isWhite:s},s?g(a=d(i,n,r))?i+":"+n:a:g(a=u(i,n,r))?void 0:a})):""},t.exports=a},{"./default":7,"./parser":9,"./util":10}],7:[function(e,t,i){function n(){var e={"align-content":!1,"align-items":!1,"align-self":!1,"alignment-adjust":!1,"alignment-baseline":!1,all:!1,"anchor-point":!1,animation:!1,"animation-delay":!1,"animation-direction":!1,"animation-duration":!1,"animation-fill-mode":!1,"animation-iteration-count":!1,"animation-name":!1,"animation-play-state":!1,"animation-timing-function":!1,azimuth:!1,"backface-visibility":!1,background:!0,"background-attachment":!0,"background-clip":!0,"background-color":!0,"background-image":!0,"background-origin":!0,"background-position":!0,"background-repeat":!0,"background-size":!0,"baseline-shift":!1,binding:!1,bleed:!1,"bookmark-label":!1,"bookmark-level":!1,"bookmark-state":!1,border:!0,"border-bottom":!0,"border-bottom-color":!0,"border-bottom-left-radius":!0,"border-bottom-right-radius":!0,"border-bottom-style":!0,"border-bottom-width":!0,"border-collapse":!0,"border-color":!0,"border-image":!0,"border-image-outset":!0,"border-image-repeat":!0,"border-image-slice":!0,"border-image-source":!0,"border-image-width":!0,"border-left":!0,"border-left-color":!0,"border-left-style":!0,"border-left-width":!0,"border-radius":!0,"border-right":!0,"border-right-color":!0,"border-right-style":!0,"border-right-width":!0,"border-spacing":!0,"border-style":!0,"border-top":!0,"border-top-color":!0,"border-top-left-radius":!0,"border-top-right-radius":!0,"border-top-style":!0,"border-top-width":!0,"border-width":!0,bottom:!1,"box-decoration-break":!0,"box-shadow":!0,"box-sizing":!0,"box-snap":!0,"box-suppress":!0,"break-after":!0,"break-before":!0,"break-inside":!0,"caption-side":!1,chains:!1,clear:!0,clip:!1,"clip-path":!1,"clip-rule":!1,color:!0,"color-interpolation-filters":!0,"column-count":!1,"column-fill":!1,"column-gap":!1,"column-rule":!1,"column-rule-color":!1,"column-rule-style":!1,"column-rule-width":!1,"column-span":!1,"column-width":!1,columns:!1,contain:!1,content:!1,"counter-increment":!1,"counter-reset":!1,"counter-set":!1,crop:!1,cue:!1,"cue-after":!1,"cue-before":!1,cursor:!1,direction:!1,display:!0,"display-inside":!0,"display-list":!0,"display-outside":!0,"dominant-baseline":!1,elevation:!1,"empty-cells":!1,filter:!1,flex:!1,"flex-basis":!1,"flex-direction":!1,"flex-flow":!1,"flex-grow":!1,"flex-shrink":!1,"flex-wrap":!1,float:!1,"float-offset":!1,"flood-color":!1,"flood-opacity":!1,"flow-from":!1,"flow-into":!1,font:!0,"font-family":!0,"font-feature-settings":!0,"font-kerning":!0,"font-language-override":!0,"font-size":!0,"font-size-adjust":!0,"font-stretch":!0,"font-style":!0,"font-synthesis":!0,"font-variant":!0,"font-variant-alternates":!0,"font-variant-caps":!0,"font-variant-east-asian":!0,"font-variant-ligatures":!0,"font-variant-numeric":!0,"font-variant-position":!0,"font-weight":!0,grid:!1,"grid-area":!1,"grid-auto-columns":!1,"grid-auto-flow":!1,"grid-auto-rows":!1,"grid-column":!1,"grid-column-end":!1,"grid-column-start":!1,"grid-row":!1,"grid-row-end":!1,"grid-row-start":!1,"grid-template":!1,"grid-template-areas":!1,"grid-template-columns":!1,"grid-template-rows":!1,"hanging-punctuation":!1,height:!0,hyphens:!1,icon:!1,"image-orientation":!1,"image-resolution":!1,"ime-mode":!1,"initial-letters":!1,"inline-box-align":!1,"justify-content":!1,"justify-items":!1,"justify-self":!1,left:!1,"letter-spacing":!0,"lighting-color":!0,"line-box-contain":!1,"line-break":!1,"line-grid":!1,"line-height":!1,"line-snap":!1,"line-stacking":!1,"line-stacking-ruby":!1,"line-stacking-shift":!1,"line-stacking-strategy":!1,"list-style":!0,"list-style-image":!0,"list-style-position":!0,"list-style-type":!0,margin:!0,"margin-bottom":!0,"margin-left":!0,"margin-right":!0,"margin-top":!0,"marker-offset":!1,"marker-side":!1,marks:!1,mask:!1,"mask-box":!1,"mask-box-outset":!1,"mask-box-repeat":!1,"mask-box-slice":!1,"mask-box-source":!1,"mask-box-width":!1,"mask-clip":!1,"mask-image":!1,"mask-origin":!1,"mask-position":!1,"mask-repeat":!1,"mask-size":!1,"mask-source-type":!1,"mask-type":!1,"max-height":!0,"max-lines":!1,"max-width":!0,"min-height":!0,"min-width":!0,"move-to":!1,"nav-down":!1,"nav-index":!1,"nav-left":!1,"nav-right":!1,"nav-up":!1,"object-fit":!1,"object-position":!1,opacity:!1,order:!1,orphans:!1,outline:!1,"outline-color":!1,"outline-offset":!1,"outline-style":!1,"outline-width":!1,overflow:!1,"overflow-wrap":!1,"overflow-x":!1,"overflow-y":!1,padding:!0,"padding-bottom":!0,"padding-left":!0,"padding-right":!0,"padding-top":!0,page:!1,"page-break-after":!1,"page-break-before":!1,"page-break-inside":!1,"page-policy":!1,pause:!1,"pause-after":!1,"pause-before":!1,perspective:!1,"perspective-origin":!1,pitch:!1,"pitch-range":!1,"play-during":!1,position:!1,"presentation-level":!1,quotes:!1,"region-fragment":!1,resize:!1,rest:!1,"rest-after":!1,"rest-before":!1,richness:!1,right:!1,rotation:!1,"rotation-point":!1,"ruby-align":!1,"ruby-merge":!1,"ruby-position":!1,"shape-image-threshold":!1,"shape-outside":!1,"shape-margin":!1,size:!1,speak:!1,"speak-as":!1,"speak-header":!1,"speak-numeral":!1,"speak-punctuation":!1,"speech-rate":!1,stress:!1,"string-set":!1,"tab-size":!1,"table-layout":!1,"text-align":!0,"text-align-last":!0,"text-combine-upright":!0,"text-decoration":!0,"text-decoration-color":!0,"text-decoration-line":!0,"text-decoration-skip":!0,"text-decoration-style":!0,"text-emphasis":!0,"text-emphasis-color":!0,"text-emphasis-position":!0,"text-emphasis-style":!0,"text-height":!0,"text-indent":!0,"text-justify":!0,"text-orientation":!0,"text-overflow":!0,"text-shadow":!0,"text-space-collapse":!0,"text-transform":!0,"text-underline-position":!0,"text-wrap":!0,top:!1,transform:!1,"transform-origin":!1,"transform-style":!1,transition:!1,"transition-delay":!1,"transition-duration":!1,"transition-property":!1,"transition-timing-function":!1,"unicode-bidi":!1,"vertical-align":!1,visibility:!1,"voice-balance":!1,"voice-duration":!1,"voice-family":!1,"voice-pitch":!1,"voice-range":!1,"voice-rate":!1,"voice-stress":!1,"voice-volume":!1,volume:!1,"white-space":!1,widows:!1,width:!0,"will-change":!1,"word-break":!0,"word-spacing":!0,"word-wrap":!0,"wrap-flow":!1,"wrap-through":!1,"writing-mode":!1,"z-index":!1};return e}var o=/javascript\s*\:/gim;i.whiteList=n(),i.getDefaultWhiteList=n,i.onAttr=function(e,t,i){},i.onIgnoreAttr=function(e,t,i){},i.safeAttrValue=function(e,t){return o.test(t)?"":t}},{}],8:[function(e,t,i){var n,o=e("./default"),a=e("./css");for(n in(i=t.exports=function(e,t){return new a(t).process(e)}).FilterCSS=a,o)i[n]=o[n];s.Vendor.xss=t.exports},{"./css":6,"./default":7}],9:[function(e,t,i){var u=e("./util");t.exports=function(n,o){";"!==(n=u.trimRight(n))[n.length-1]&&(n+=";");var e=n.length,a=!1,r=0,s=0,l="";function t(){var e,t,i;a||-1!==(t=(e=u.trim(n.slice(r,s))).indexOf(":"))&&(i=u.trim(e.slice(0,t)),t=u.trim(e.slice(t+1)),i)&&(i=o(r,l.length,i,t,e))&&(l+=i+"; "),r=s+1}for(;s{e.Resources=e.Resources||{},e.Resources.Countries=[]})(window[window.GatedContentObject]),(u=>{u.Resources=u.Resources||{},u.Resources.Templates={formIntroTemplate:function(e,t){return["div.gcdc-form-intro.gcdc-form-group.gcdc-form-group-padded",[["div.gcdc-form-message",e.message]]]},formWarningMessageTemplate:function(e,t){return["div.gcdc-form-warning-message.gcdc-form-group.gcdc-form-group-padded"]},formPrepopTemplate:function(e,t){return["p.gcdc-prepop-message",["span"],u.Modules.Template.deWidofy(e.prepopNoticeMessage)+"
",["a",{href:"#"},e.prepopButtonMessage]]},addressConfirmTemplate:function(e,t){return["div.gcdc-address-confirm-wrapper",[["p.gcdc-confirm-address",""],["a.gcdc-confirm-address-button",{href:"#"},u.Modules.Localise.translateString("addressConfirm",t,"Yes, this is my Company/Location")],["a.gcdc-confirm-address-cancel",{href:"#"},u.Modules.Localise.translateString("addressCancel",t,"No, this is not my Company")]]]},multiStepProgressBarTemplate:function(e,t){return["div.gcdc-form-group.gcdc-form-group-padded.gcdc-form-group-multistep-progress-bar",[["div.gcdc-multistep-progress-bar-wrapper",["div.gcdc-multistep-progress-bar"]]]]},multiStepProgressTextTemplate:function(e,t){return["div.gcdc-form-group.gcdc-form-group-padded.gcdc-form-group-multistep-progress-text",[["p",u.Modules.Localise.translateString("multistepProgressMessage",t,"Step {currentStep} of {totalSteps}")]]]},multiStepProgressExplodedTextTemplate:function(e,t){return["div.gcdc-form-group.gcdc-form-group-padded.gcdc-form-group-multistep-progress-text-exploded"]},submitTemplate:function(e,t){return["div.gcdc-form-group.gcdc-form-group-padded.gcdc-form-group-button-wrapper.gcdc-submit-button-wrapper",["input.gcdc-form-button",{type:"submit",value:e.getConfigAttribute("submitText")&&""!==e.getConfigAttribute("submitText")?e.getConfigAttribute("submitText"):u.Modules.Localise.translateString("submitButtonMessage",t,"Submit")}]]},prevNextTemplate:function(e,t){var i="",i=e.getConfigAttribute("submitText")&&""!==e.getConfigAttribute("submitText")?e.getConfigAttribute("submitText"):u.Modules.Localise.translateString("submitButtonMessage",t,"Submit");return["div.gcdc-form-group.gcdc-form-group-padded.gcdc-form-group-button-wrapper",[u.Config.gates.multiStepFormsAllowBack?["button.gcdc-form-button.gcdc-form-previous-button",{type:"button"},u.Modules.Localise.translateString("previousButtonMessage",t,"Previous")]:[""],["button.gcdc-form-button.gcdc-form-next-button",{type:"button"},u.Modules.Localise.translateString("nextButtonMessage",t,"Next")],["input.gcdc-form-button.gcdc-form-multistep-submit-button",{type:"submit",value:i}]]]},formFooterTemplate:function(e,t){return["div.gcdc-form-footer.gcdc-form-group.gcdc-form-group-padded",[["p",u.Modules.Template.deWidofy(u.Modules.Localise.translateString("cookieNotice",t,"This website uses cookies to enhance your user experience. If you continue to use this website we’ll assume that you are happy to receive all cookies from the site."))],["p.gcdc-strap","Form powered by ",["a",{href:"http://www.formulayt.com/",target:"_blank"},"Formulayt"]]]]},customContentElementTemplate:function(e,t){var i="",i=e.translateMessaging?u.Modules.Localise.translateString("customContent"+e.id,t,e.description):e.description;return["div",{class:"gcdc-form-group gcdc-form-group-padded gcdc-form-group-customcontent gcdc-form-group-"+u.Modules.Template.safeCssClassName(e.id)},i]},textFieldTemplate:function(e,t){var i=e.gateId+"_lbl_"+e.id,n={type:"text",name:e.name,id:"gcdc-field-"+e.gateId+e.id+"_"+e.timestamp,value:e.value,placeholder:u.Modules.Template.placeholderText(e,t),maxlength:e.maxlength||100,"aria-labelledby":i,"aria-describedby":i+"_validationMessage"},o=(e.required&&(n.required="required",n["aria-required"]="true"),e.disabled&&(n.readonly="readonly",n["aria-readonly"]="true"),e.autocomplete&&(n.autocomplete=e.autocomplete),""),o=e.validationMessage?u.Modules.Localise.translateString(u.Modules.Template.generateStringName("Error custom message",e.id),t,e.validationMessage):u.Modules.Localise.translateString("errorRequiredMessage",t,"This field is required");return["div",{class:"gcdc-form-group gcdc-form-group-"+u.Modules.Template.safeCssClassName(e.id)+" gcdc-form-group-"+u.Modules.Template.safeCssClassName(e.name)},[["label.gcdc-form-label",{for:n.id,id:i},u.Modules.Template.appendedLabel(e,t)],["div.gcdc-form-field-wrapper",["input.gcdc-form-field",n]],["span.gcdc-form-error",{role:"alert","aria-live":"assertive",id:i+"_validationMessage"},o]]]},countryFieldTemplate:function(e,t){var i=e.gateId+"_lbl_"+e.id,n={type:"text",name:e.name,id:"gcdc-field-"+e.gateId+e.id+"_"+e.timestamp,value:e.value,placeholder:u.Modules.Template.placeholderText(e,t),maxlength:e.maxlength||100,"aria-labelledby":i,"aria-describedby":i+"_validationMessage"},o=(e.required&&(n.required="required",n["aria-required"]="true"),e.disabled&&(n.readonly="readonly",n["aria-readonly"]="true"),""),o=e.validationMessage?u.Modules.Localise.translateString(u.Modules.Template.generateStringName("Error custom message",e.id),t,e.validationMessage):u.Modules.Localise.translateString("errorRequiredMessage",t,"This field is required");return["div",{class:"gcdc-form-group gcdc-form-group-country gcdc-form-group-"+u.Modules.Template.safeCssClassName(e.id)+" gcdc-form-group-"+u.Modules.Template.safeCssClassName(e.name)},[["label.gcdc-form-label",{for:n.id,id:i},u.Modules.Template.appendedLabel(e,t)],["div.gcdc-form-field-wrapper",["input.gcdc-form-field.gcdc-form-country",n]],["span.gcdc-form-error",{role:"alert","aria-live":"assertive",id:i+"_validationMessage"},o]]]},emailFieldTemplate:function(e,t){var i=e.gateId+"_lbl_"+e.id,n={type:"email",name:e.name,id:"gcdc-field-"+e.gateId+e.id+"_"+e.timestamp,placeholder:u.Modules.Template.placeholderText(e,t,u.Config.advancedSettings.useFieldDefaultPlaceholders?u.Modules.Localise.translateString("emailFieldHint",t,"Please enter your full email address"):null,!0),pattern:u.Config.formats.email,value:e.value,maxlength:e.maxlength||100,"aria-labelledby":i,"aria-describedby":i+"_validationMessage"},o=(e.required&&(n.required="required",n["aria-required"]="true"),e.disabled&&(n.readonly="readonly",n["aria-readonly"]="true"),""),o=e.validationMessage?u.Modules.Localise.translateString(u.Modules.Template.generateStringName("Error custom message",e.id),t,e.validationMessage):u.Modules.Localise.translateString("errorEmailMessage",t,"This is not a valid email address");return["div",{class:"gcdc-form-group gcdc-form-group-"+u.Modules.Template.safeCssClassName(e.id)+" gcdc-form-group-"+u.Modules.Template.safeCssClassName(e.name)},[["label.gcdc-form-label",{for:n.id,id:i},u.Modules.Template.appendedLabel(e,t)],["div.gcdc-form-field-wrapper",["input.gcdc-form-field",n]],["span.gcdc-form-error",{role:"alert","aria-live":"assertive",id:i+"_validationMessage"},o]]]},urlFieldTemplate:function(e,t){var i=e.gateId+"_lbl_"+e.id,n={type:"url",name:e.name,id:"gcdc-field-"+e.gateId+e.id+"_"+e.timestamp,placeholder:u.Modules.Template.placeholderText(e,t,u.Config.advancedSettings.useFieldDefaultPlaceholders?u.Modules.Localise.translateString("urlFieldHint",t,"Please enter a valid url, e.g. https://www.example.com"):null,!0),pattern:u.Config.formats.url,value:e.value,maxlength:e.maxlength||100,"aria-labelledby":i,"aria-describedby":i+"_validationMessage"},o=(e.required&&(n.required="required",n["aria-required"]="true"),e.disabled&&(n.readonly="readonly",n["aria-readonly"]="true"),""),o=e.validationMessage?u.Modules.Localise.translateString(u.Modules.Template.generateStringName("Error custom message",e.id),t,e.validationMessage):u.Modules.Localise.translateString("errorUrlMessage",t,"This is not a valid url address");return["div",{class:"gcdc-form-group gcdc-form-group-"+u.Modules.Template.safeCssClassName(e.id)+" gcdc-form-group-"+u.Modules.Template.safeCssClassName(e.name)},[["label.gcdc-form-label",{for:n.id,id:i},u.Modules.Template.appendedLabel(e,t)],["div.gcdc-form-field-wrapper",["input.gcdc-form-field",n]],["span.gcdc-form-error",{role:"alert","aria-live":"assertive",id:i+"_validationMessage"},o]]]},phoneFieldTemplate:function(e,t){var i=e.gateId+"_lbl_"+e.id,n={type:"tel",name:e.name,id:"gcdc-field-"+e.gateId+e.id+"_"+e.timestamp,placeholder:u.Modules.Template.placeholderText(e,t,u.Config.advancedSettings.useFieldDefaultPlaceholders?u.Modules.Localise.translateString("phoneFieldHint",t,"Please enter your full phone number, e.g. +1(123)456 7890"):null,!0),pattern:u.Config.formats.phone,"data-gcdc-input-mask":u.Config.formats.phoneMask,value:e.value,maxlength:e.maxlength||100,"aria-labelledby":i,"aria-describedby":i+"_validationMessage"},o=(e.required&&(n.required="required",n["aria-required"]="true"),e.disabled&&(n.readonly="readonly",n["aria-readonly"]="true"),""),o=e.validationMessage?u.Modules.Localise.translateString(u.Modules.Template.generateStringName("Error custom message",e.id),t,e.validationMessage):u.Modules.Localise.translateString("errorPhoneMessage",t,"This is not a valid phone number");return["div",{class:"gcdc-form-group gcdc-form-group-phone gcdc-form-group-"+u.Modules.Template.safeCssClassName(e.id)+" gcdc-form-group-"+u.Modules.Template.safeCssClassName(e.name)},[["label.gcdc-form-label",{for:n.id,id:i},u.Modules.Template.appendedLabel(e,t)],["div.gcdc-form-field-wrapper",["input.gcdc-form-field",n]],["span.gcdc-form-error",{role:"alert","aria-live":"assertive",id:i+"_validationMessage"},o]]]},phonemultiFieldTemplate:function(e,t){var i=e.gateId+"_lbl_"+e.id,n={type:"tel",name:e.name,id:"gcdc-field-"+e.gateId+e.id+"_"+e.timestamp,value:e.value,maxlength:e.maxlength||100,style:"display: none;",pattern:u.Config.formats.phoneSimple,autocomplete:"phone","aria-labelledby":i,"aria-describedby":i+"_validationMessage"};return"true"==e.required&&(n.required="required",n["aria-required"]="true"),"true"==e.disabled&&(n.readonly="readonly",n["aria-readonly"]="true"),["div",{class:"gcdc-form-group gcdc-form-group-multiphone gcdc-form-group-"+u.Modules.Template.safeCssClassName(e.id)},[["label.gcdc-form-label",{for:n.id,id:i},u.Modules.Template.appendedLabel(e,t)],["div.gcdc-form-field-wrapper",["input.gcdc-form-field",n],["div.gcdc-form-field-wrapper.gcdc-select-wrapper",["select.gcdc-form-field.gcdc-phonemulti-code",{"aria-label":"Select your country dialling code",id:"gcdc-field-"+e.gateId+e.id+"_"+e.timestamp+"_diallingcode"}]],["input.gcdc-form-field.gcdc-phonemulti-main",{type:"tel",maxlength:e.maxlength||100,placeholder:u.Modules.Template.placeholderText(e,t),id:"gcdc-field-"+e.gateId+e.id+"_"+e.timestamp+"_mainnumber","aria-label":"Enter your phone number"}]],["span.gcdc-form-error",{role:"alert","aria-live":"assertive",id:i+"_validationMessage"},u.Modules.Localise.translateString("errorPhoneMessage",t,"This is not a valid phone number")]]]},textboxFieldTemplate:function(e,t){var i=e.gateId+"_lbl_"+e.id,n={type:"text",name:e.name,id:"gcdc-field-"+e.gateId+e.id+"_"+e.timestamp,placeholder:u.Modules.Template.placeholderText(e,t),rows:5,"aria-labelledby":i,"aria-describedby":i+"_validationMessage"},o=(e.maxlength&&(n.maxlength=e.maxlength),e.required&&(n.required="required",n["aria-required"]="true"),e.disabled&&(n.readonly="readonly",n["aria-readonly"]="true"),""),o=e.validationMessage?u.Modules.Localise.translateString(u.Modules.Template.generateStringName("Error custom message",e.id),t,e.validationMessage):u.Modules.Localise.translateString("errorRequiredMessage",t,"This field is required");return["div",{class:"gcdc-form-group gcdc-form-group-textarea gcdc-form-group-"+u.Modules.Template.safeCssClassName(e.id)+" gcdc-form-group-"+u.Modules.Template.safeCssClassName(e.name)},[["label.gcdc-form-label",{for:n.id,id:i},u.Modules.Template.appendedLabel(e,t)],["div.gcdc-form-field-wrapper",["textarea.gcdc-form-field",n,e.value]],["span.gcdc-form-error",{role:"alert","aria-live":"assertive",id:i+"_validationMessage"},o]]]},selectFieldTemplate:function(e,t){var i=e.gateId+"_lbl_"+e.id,n={name:e.name,id:"gcdc-field-"+e.gateId+e.id+"_"+e.timestamp,"aria-labelledby":i,"aria-describedby":i+"_validationMessage"},o=(e.required&&(n.required="required",n["aria-required"]="true"),e.disabled&&(n.readonly="readonly",n["aria-readonly"]="true"),e.allowMultipleSelections&&(n.multiple=!0),""),o=e.validationMessage?u.Modules.Localise.translateString(u.Modules.Template.generateStringName("Error custom message",e.id),t,e.validationMessage):u.Modules.Localise.translateString("errorRequiredMessage",t,"This field is required"),a="",a=e.hint?u.Modules.Template.placeholderText(e,t):u.Modules.Localise.translateString("selectFieldHint",t,u.Config.gates.selectFieldHint),r=(n.placeholder=a,[]);e.allowMultipleSelections||r.push([u.Modules.Template.render("selectOption",{value:"",description:u.Modules.Template.placeholderText(e,t,a,!0),translateLabel:!1,translateValue:!1},t)]);for(var s=0;s{e.Resources=e.Resources||{},e.Resources.Timezones=[{abbr:"A",longname:"Alpha Time Zone"},{abbr:"ACDT",longname:"Australian Central Daylight Time"},{abbr:"ACST",longname:"Australian Central Standard Time"},{abbr:"ACT",longname:"Acre Time"},{abbr:"ACT",longname:"Australian Central Time"},{abbr:"ACWST",longname:"Australian Central Western Standard Time"},{abbr:"ADT",longname:"Arabia Daylight Time"},{abbr:"ADT",longname:"Atlantic Daylight Time"},{abbr:"AEDT",longname:"Australian Eastern Daylight Time"},{abbr:"AEST",longname:"Australian Eastern Standard Time"},{abbr:"AET",longname:"Australian Eastern Time"},{abbr:"AFT",longname:"Afghanistan Time"},{abbr:"AKDT",longname:"Alaska Daylight Time"},{abbr:"AKST",longname:"Alaska Standard Time"},{abbr:"ALMT",longname:"Alma-Ata Time"},{abbr:"AMST",longname:"Amazon Summer Time"},{abbr:"AMST",longname:"Armenia Summer Time"},{abbr:"AMT",longname:"Amazon Time"},{abbr:"AMT",longname:"Armenia Time"},{abbr:"ANAST",longname:"Anadyr Summer Time"},{abbr:"ANAT",longname:"Anadyr Time"},{abbr:"AQTT",longname:"Aqtobe Time"},{abbr:"ART",longname:"Argentina Time"},{abbr:"AST",longname:"Arabia Standard Time"},{abbr:"AST",longname:"Atlantic Standard Time"},{abbr:"AT",longname:"Atlantic Time"},{abbr:"AWDT",longname:"Australian Western Daylight Time"},{abbr:"AWST",longname:"Australian Western Standard Time"},{abbr:"AZOST",longname:"Azores Summer Time"},{abbr:"AZOT",longname:"Azores Time"},{abbr:"AZST",longname:"Azerbaijan Summer Time"},{abbr:"AZT",longname:"Azerbaijan Time"},{abbr:"AoE",longname:"Anywhere on Earth"},{abbr:"B",longname:"Bravo Time Zone"},{abbr:"BNT",longname:"Brunei Darussalam Time"},{abbr:"BOT",longname:"Bolivia Time"},{abbr:"BRST",longname:"Brasilia Summer Time"},{abbr:"BRT",longname:"Brasilia Standard Time"},{abbr:"BST",longname:"Bangladesh Standard Time"},{abbr:"BST",longname:"Bougainville Standard Time"},{abbr:"BST",longname:"British Summer Time"},{abbr:"BTT",longname:"Bhutan Time"},{abbr:"C",longname:"Charlie Time Zone"},{abbr:"CAST",longname:"Casey Time"},{abbr:"CAT",longname:"Central Africa Time"},{abbr:"CCT",longname:"Cocos Islands Time"},{abbr:"CDT",longname:"Central Daylight Time"},{abbr:"CDT",longname:"Cuba Daylight Time"},{abbr:"CEST",longname:"Central European Summer Time"},{abbr:"CET",longname:"Central European Time"},{abbr:"CHADT",longname:"Chatham Island Daylight Time"},{abbr:"CHAST",longname:"Chatham Island Standard Time"},{abbr:"CHOST",longname:"Choibalsan Summer Time"},{abbr:"CHOT",longname:"Choibalsan Time"},{abbr:"CHUT",longname:"Chuuk Time"},{abbr:"CIDST",longname:"Cayman Islands Daylight Saving Time"},{abbr:"CIST",longname:"Cayman Islands Standard Time"},{abbr:"CKT",longname:"Cook Island Time"},{abbr:"CLST",longname:"Chile Summer Time"},{abbr:"CLT",longname:"Chile Standard Time"},{abbr:"COT",longname:"Colombia Time"},{abbr:"CST",longname:"Central Standard Time"},{abbr:"CST",longname:"China Standard Time"},{abbr:"CST",longname:"Cuba Standard Time"},{abbr:"CT",longname:"Central Time"},{abbr:"CVT",longname:"Cape Verde Time"},{abbr:"CXT",longname:"Christmas Island Time"},{abbr:"ChST",longname:"Chamorro Standard Time"},{abbr:"D",longname:"Delta Time Zone"},{abbr:"DAVT",longname:"Davis Time"},{abbr:"DDUT",longname:"Dumont-d'Urville Time"},{abbr:"E",longname:"Echo Time Zone"},{abbr:"EASST",longname:"Easter Island Summer Time"},{abbr:"EAST",longname:"Easter Island Standard Time"},{abbr:"EAT",longname:"Eastern Africa Time"},{abbr:"ECT",longname:"Ecuador Time"},{abbr:"EDT",longname:"Eastern Daylight Time"},{abbr:"EEST",longname:"Eastern European Summer Time"},{abbr:"EET",longname:"Eastern European Time"},{abbr:"EGST",longname:"Eastern Greenland Summer Time"},{abbr:"EGT",longname:"East Greenland Time"},{abbr:"EST",longname:"Eastern Standard Time"},{abbr:"ET",longname:"Eastern Time"},{abbr:"F",longname:"Foxtrot Time Zone"},{abbr:"FET",longname:"Further-Eastern European Time"},{abbr:"FJST",longname:"Fiji Summer Time"},{abbr:"FJT",longname:"Fiji Time"},{abbr:"FKST",longname:"Falkland Islands Summer Time"},{abbr:"FKT",longname:"Falkland Island Time"},{abbr:"FNT",longname:"Fernando de Noronha Time"},{abbr:"G",longname:"Golf Time Zone"},{abbr:"GALT",longname:"Galapagos Time"},{abbr:"GAMT",longname:"Gambier Time"},{abbr:"GET",longname:"Georgia Standard Time"},{abbr:"GFT",longname:"French Guiana Time"},{abbr:"GILT",longname:"Gilbert Island Time"},{abbr:"GMT",longname:"Greenwich Mean Time"},{abbr:"GST",longname:"Gulf Standard Time"},{abbr:"GST",longname:"South Georgia Time"},{abbr:"GYT",longname:"Guyana Time"},{abbr:"H",longname:"Hotel Time Zone"},{abbr:"HDT",longname:"Hawaii-Aleutian Daylight Time"},{abbr:"HKT",longname:"Hong Kong Time"},{abbr:"HOVST",longname:"Hovd Summer Time"},{abbr:"HOVT",longname:"Hovd Time"},{abbr:"HST",longname:"Hawaii Standard Time"},{abbr:"I",longname:"India Time Zone"},{abbr:"ICT",longname:"Indochina Time"},{abbr:"IDT",longname:"Israel Daylight Time"},{abbr:"IOT",longname:"Indian Chagos Time"},{abbr:"IRDT",longname:"Iran Daylight Time"},{abbr:"IRKST",longname:"Irkutsk Summer Time"},{abbr:"IRKT",longname:"Irkutsk Time"},{abbr:"IRST",longname:"Iran Standard Time"},{abbr:"IST",longname:"India Standard Time"},{abbr:"IST",longname:"Irish Standard Time"},{abbr:"IST",longname:"Israel Standard Time"},{abbr:"JST",longname:"Japan Standard Time"},{abbr:"K",longname:"Kilo Time Zone"},{abbr:"KGT",longname:"Kyrgyzstan Time"},{abbr:"KOST",longname:"Kosrae Time"},{abbr:"KRAST",longname:"Krasnoyarsk Summer Time"},{abbr:"KRAT",longname:"Krasnoyarsk Time"},{abbr:"KST",longname:"Korea Standard Time"},{abbr:"KUYT",longname:"Kuybyshev Time"},{abbr:"L",longname:"Lima Time Zone"},{abbr:"LHDT",longname:"Lord Howe Daylight Time"},{abbr:"LHST",longname:"Lord Howe Standard Time"},{abbr:"LINT",longname:"Line Islands Time"},{abbr:"M",longname:"Mike Time Zone"},{abbr:"MAGST",longname:"Magadan Summer Time"},{abbr:"MAGT",longname:"Magadan Time"},{abbr:"MART",longname:"Marquesas Time"},{abbr:"MAWT",longname:"Mawson Time"},{abbr:"MDT",longname:"Mountain Daylight Time"},{abbr:"MHT",longname:"Marshall Islands Time"},{abbr:"MMT",longname:"Myanmar Time"},{abbr:"MSD",longname:"Moscow Daylight Time"},{abbr:"MSK",longname:"Moscow Standard Time"},{abbr:"MST",longname:"Mountain Standard Time"},{abbr:"MT",longname:"Mountain Time"},{abbr:"MUT",longname:"Mauritius Time"},{abbr:"MVT",longname:"Maldives Time"},{abbr:"MYT",longname:"Malaysia Time"},{abbr:"N",longname:"November Time Zone"},{abbr:"NCT",longname:"New Caledonia Time"},{abbr:"NDT",longname:"Newfoundland Daylight Time"},{abbr:"NFDT",longname:"Norfolk Daylight Time"},{abbr:"NFT",longname:"Norfolk Time"},{abbr:"NOVST",longname:"Novosibirsk Summer Time"},{abbr:"NOVT",longname:"Novosibirsk Time"},{abbr:"NPT",longname:"Nepal Time"},{abbr:"NRT",longname:"Nauru Time"},{abbr:"NST",longname:"Newfoundland Standard Time"},{abbr:"NUT",longname:"Niue Time"},{abbr:"NZDT",longname:"New Zealand Daylight Time"},{abbr:"NZST",longname:"New Zealand Standard Time"},{abbr:"O",longname:"Oscar Time Zone"},{abbr:"OMSST",longname:"Omsk Summer Time"},{abbr:"OMST",longname:"Omsk Standard Time"},{abbr:"ORAT",longname:"Oral Time"},{abbr:"P",longname:"Papa Time Zone"},{abbr:"PDT",longname:"Pacific Daylight Time"},{abbr:"PET",longname:"Peru Time"},{abbr:"PETST",longname:"Kamchatka Summer Time"},{abbr:"PETT",longname:"Kamchatka Time"},{abbr:"PGT",longname:"Papua New Guinea Time"},{abbr:"PHOT",longname:"Phoenix Island Time"},{abbr:"PHT",longname:"Philippine Time"},{abbr:"PKT",longname:"Pakistan Standard Time"},{abbr:"PMDT",longname:"Pierre & Miquelon Daylight Time"},{abbr:"PMST",longname:"Pierre & Miquelon Standard Time"},{abbr:"PONT",longname:"Pohnpei Standard Time"},{abbr:"PST",longname:"Pacific Standard Time"},{abbr:"PST",longname:"Pitcairn Standard Time"},{abbr:"PT",longname:"Pacific Time"},{abbr:"PWT",longname:"Palau Time"},{abbr:"PYST",longname:"Paraguay Summer Time"},{abbr:"PYT",longname:"Paraguay Time"},{abbr:"PYT",longname:"Pyongyang Time"},{abbr:"Q",longname:"Quebec Time Zone"},{abbr:"QYZT",longname:"Qyzylorda Time"},{abbr:"R",longname:"Romeo Time Zone"},{abbr:"RET",longname:"Reunion Time"},{abbr:"ROTT",longname:"Rothera Time"},{abbr:"S",longname:"Sierra Time Zone"},{abbr:"SAKT",longname:"Sakhalin Time"},{abbr:"SAMT",longname:"Samara Time"},{abbr:"SAST",longname:"South Africa Standard Time"},{abbr:"SBT",longname:"Solomon Islands Time"},{abbr:"SCT",longname:"Seychelles Time"},{abbr:"SGT",longname:"Singapore Time"},{abbr:"SRET",longname:"Srednekolymsk Time"},{abbr:"SRT",longname:"Suriname Time"},{abbr:"SST",longname:"Samoa Standard Time"},{abbr:"SYOT",longname:"Syowa Time"},{abbr:"T",longname:"Tango Time Zone"},{abbr:"TAHT",longname:"Tahiti Time"},{abbr:"TFT",longname:"French Southern and Antarctic Time"},{abbr:"TJT",longname:"Tajikistan Time"},{abbr:"TKT",longname:"Tokelau Time"},{abbr:"TLT",longname:"East Timor Time"},{abbr:"TMT",longname:"Turkmenistan Time"},{abbr:"TOST",longname:"Tonga Summer Time"},{abbr:"TOT",longname:"Tonga Time"},{abbr:"TRT",longname:"Turkey Time"},{abbr:"TVT",longname:"Tuvalu Time"},{abbr:"U",longname:"Uniform Time Zone"},{abbr:"ULAST",longname:"Ulaanbaatar Summer Time"},{abbr:"ULAT",longname:"Ulaanbaatar Time"},{abbr:"UTC",longname:"Coordinated Universal Time"},{abbr:"UYST",longname:"Uruguay Summer Time"},{abbr:"UYT",longname:"Uruguay Time"},{abbr:"UZT",longname:"Uzbekistan Time"},{abbr:"V",longname:"Victor Time Zone"},{abbr:"VET",longname:"Venezuelan Standard Time"},{abbr:"VLAST",longname:"Vladivostok Summer Time"},{abbr:"VLAT",longname:"Vladivostok Time"},{abbr:"VOST",longname:"Vostok Time"},{abbr:"VUT",longname:"Vanuatu Time"},{abbr:"W",longname:"Whiskey Time Zone"},{abbr:"WAKT",longname:"Wake Time"},{abbr:"WARST",longname:"Western Argentine Summer Time"},{abbr:"WAST",longname:"West Africa Summer Time"},{abbr:"WAT",longname:"West Africa Time"},{abbr:"WEST",longname:"Western European Summer Time"},{abbr:"WET",longname:"Western European Time"},{abbr:"WFT",longname:"Wallis and Futuna Time"},{abbr:"WGST",longname:"Western Greenland Summer Time"},{abbr:"WGT",longname:"West Greenland Time"},{abbr:"WIB",longname:"Western Indonesian Time"},{abbr:"WIT",longname:"Eastern Indonesian Time"},{abbr:"WITA",longname:"Central Indonesian Time"},{abbr:"WST",longname:"West Samoa Time"},{abbr:"WST",longname:"Western Sahara Summer Time"},{abbr:"WT",longname:"Western Sahara Standard Time"},{abbr:"X",longname:"X-ray Time Zone"},{abbr:"Y",longname:"Yankee Time Zone"},{abbr:"YAKST",longname:"Yakutsk Summer Time"},{abbr:"YAKT",longname:"Yakutsk Time"},{abbr:"YAPT",longname:"Yap Time"},{abbr:"YEKST",longname:"Yekaterinburg Summer Time"},{abbr:"YEKT",longname:"Yekaterinburg Time"},{abbr:"Z",longname:"Zulu Time Zone"}]})(window[window.GatedContentObject]),(m=>{m.Classes=m.Classes||{},m.Classes.Autocomplete=function(i,n){this.namespace="Classes.Autocomplete";var t=this,o=!1,a=document.createElement("div"),s=document.createElement("ul"),r=!1,l=0,d=null,u=[];function c(e){var t;0<=e&&e{p.Classes=p.Classes||{},p.Classes.Condition=function(n,l,o,a){this.namespace="Classes.Condition";var r=this,s={},d={},u=!1,e="";function c(t,e){if((t=t||l.if).any||t.all){var i,n=t.any||t.all;for(i in n)c(n[i],e)}else{var o;"field"===t.type?(t.triggerField=a.getFieldById(t.target),t.triggerElem=t.triggerField.inputElem,e&&t.triggerElem&&("value"===t.attribute||""===t.attribute?(s[t.target]||(s[t.target]=[],p.Modules.UI.addCaughtEventListener(t.triggerElem,"change",function(){for(var e in s[t.target])s[t.target].hasOwnProperty(e)&&m(s[t.target][e]);f()})),s[t.target].push(t)):"value"!==t.attribute&&""!==t.attribute&&(o=t.target+"-"+t.attribute,d[o]||(d[o]=[],p.Modules.UI.listenForAttributeChange(t.triggerElem,t.attribute,function(){for(var e in d[o])d[o].hasOwnProperty(e)&&m(d[o][e]);f()})),d[o].push(t)))):"gate"===t.type&&m(t)}}function g(e){if((e=e||l.if).any||e.all){var t,i=e.any||e.all,n=[];for(t in i)n.push(g(i[t]));return!(!e.any||-1===n.indexOf(!0))||!(!e.all||-1!==n.indexOf(!1))}return void 0!==(e=e).truth&&!u||m(e),e.truth}function m(e){var t,i;"alwaysRun"===e.type?(p.Modules.Utilities.log(r.namespace,"updateSubclauseTruth","info","Subclause was set to always run, passes. Field: ",n.config.id),e.truth=!0):!e.triggerElem&&"gate"!==e.type||(i=t="",i=e.triggerElem?("value"===e.attribute?t=e.triggerField.getValue():e.attribute&&""!==e.attribute&&(t=e.triggerElem.getAttribute(e.attribute)),e.triggerElem.checked):""!==(t="gateId"===e.target?o.id:o.getConfigAttribute(e.target)),("checked"!==e.condition||!i)&&("notChecked"!==e.condition||i)&&("equals"!==e.condition||t.toLowerCase()!==e.value.toLowerCase())&&("notEquals"!==e.condition||t.toLowerCase()===e.value.toLowerCase())&&("contains"!==e.condition||-1===t.indexOf(e.value))&&("notContains"!==e.condition||-1!==t.indexOf(e.value))&&("in"!==e.condition||-1===e.valueList.indexOf(t))&&("notIn"!==e.condition||-1!==e.valueList.indexOf(t))&&("empty"!==e.condition||""!==t)&&("notEmpty"!==e.condition||""===t)&&!("greaterThan"===e.condition&&parseInt(t)>parseInt(e.value))&&!("lessThan"===e.condition&&parseInt(t){S.Classes=S.Classes||{},S.Classes.CountryMask=function(i,n,e){var o,t=this,a=n.getConfigAttribute("lang"),r=i.injectClearSelection(),s=i.injectFlag("country"),l="",d=[];function u(e){e&&e.preventDefault(),i.inputElem.value="",i.inputElem.setAttribute("data-gcdc-country",""),i.inputElem.setAttribute("data-gcdc-country-value",""),r.hide(),s.down()}function c(e){var t;0!!(e=g(e))&&e.name)(i.inputElem.value))?(p(i.inputElem.value),i.inputElem.value=e):1!==(e=(e=>{var t,i,n=new RegExp("^"+S.Modules.Utilities.stringEscapeRegex(e)+"$"),o=[];for(t in d)!d.hasOwnProperty(t)||(i=d[t]).hide||!i.name.match(n)&&!i.alternativeNames.match(n)||o.push(i);return o})(i.inputElem.value)).length?u():1===e.length&&p(e[0].code),o.setOptions({})):1===(t=(e=>{var t,i,n=new RegExp("^"+S.Modules.Utilities.stringEscapeRegex(e),"gi"),o=new RegExp(S.Modules.Utilities.stringEscapeRegex(e),"i"),a=[];for(t in d)d.hasOwnProperty(t)&&(!(i=d[t]).hide&&i.name.match(n)?(i.altNameMatch=null,a.push(i)):!i.hide&&i.alternativeNames.match(o)&&(i.altNameMatch=!0,a.push(i)));return a.sort(function(e,t){return e.weight>t.weight&&!e.altNameMatch?-5:e.weight{var e,t,i=[];for(e in d)!d.hasOwnProperty(e)||(t=d[e]).hide||i.push(t);return i.sort(function(e,t){return e.name>t.name?1:e.name{d.Classes=d.Classes||{},d.Classes.DataSourceManager=function(o,a,r){var i=this,s={},l={};this.namespace="Classes.DataSourceManager",this.dataSourceNamespace=o,this.registerDependent=function(e,t){var i,n;"string"==typeof e&&"function"==typeof t?l[e]?(t(l[e]),d.Modules.Utilities.log("gc.Classes.DataSourceManager","registerDependent","info","New dependent on data source",o,"for",e,"was served data immediately")):(i=!1,"function"==typeof a&&!1!==(n=a(e))&&(i=!0,t(n),d.Modules.Utilities.log("gc.Classes.DataSourceManager","registerDependent","info","New dependent on data source",o,"for",e,"was served data immediately using it's handler")),i||(s[e]=s[e]||[],s[e].push(t),d.Modules.Utilities.log("gc.Classes.DataSourceManager","registerDependent","info","Registered a new dependent on data source",o,"for",e))):d.Modules.Utilities.log("gc.Classes.DataSourceManager","registerDependent","error","Could not register a dependent on data source",o,"as either the id or handler for the dependent were invalid")},this.getDataImmediate=function(e){if("string"==typeof e){if(l[e])return l[e];var t=!1;if("function"==typeof a){e=a(e);if(e)return t=!0,e}return t?void 0:""}},this.emitData=function(e,t){if(l[e]=t,d.Modules.Utilities.log("gc.Classes.DataSourceManager","emitData","info","Emitted data called",e,"on data source",o),s[e]&&"object"==typeof s[e]){for(var i=0;i{r.Classes=r.Classes||{},r.Classes.Elem=function(e,t,n){var i,o=this,a=[];this.namespace="Classes.Elem",this.config=e,this.elem="",this.hidden=!1;this.hide=function(e){o.elem.classList.add("hidden"),o.hidden=!0,e&&-1===a.indexOf(e)&&a.push(e)},this.hiddenByTag=function(e){return-1!==a.indexOf(e)},this.onlyHiddenByTag=function(e){return 1===a.length&&-1!==a.indexOf(e)},this.show=function(e,t){e&&-1!==a.indexOf(e)&&a.splice(a.indexOf(e),1),!t&&0!==a.length||(o.elem.classList.remove("hidden"),o.hidden=!1)},this.changeContent=function(e,t){var i=o.config.type+"Element",i=r.Modules.Template.render(i,{id:t,description:e,translateMessaging:o.config.translateMessaging},n.getConfigAttribute("lang"));o.elem.innerHTML=i.innerHTML},this.resetContent=function(){var e=o.config.type+"Element",e=r.Modules.Template.render(e,{id:o.config.id,description:o.config.description,translateMessaging:o.config.translateMessaging},n.getConfigAttribute("lang"));o.elem.innerHTML=e.innerHTML},o.namespace+="("+n.id+")",e=o.config.type+"Element",(i=r.Modules.Utilities.copy(o.config)).gateId=n.id,o.elem=r.Modules.Template.render(e,i,n.getConfigAttribute("lang")),t.elem.appendChild(o.elem),r.Modules.Utilities.log(o.namespace,"buildElem","info",o.config.type,"element built")}})(window[window.GatedContentObject]),(u=>{u.Classes=u.Classes||{},u.Classes.EventManager=function(a){var r=[],s=[],l=[];function d(e){for(var t={blocked:!1,blocker:{}},i=0;i{r.Classes=r.Classes||{},r.Classes.Experiment=function(n){var o,a=this;this.namespace="Classes.Experiment",this.id="";{let t=n.tagName.toLowerCase(),e=("div"===t?a.id=n.className.split(" ")[0].replace(r.Config.html.experimentTriggerClassPrefix,""):"img"===t?a.id=n.getAttribute("src").replace(r.Config.html.gateImageEmbedURL+r.Config.account.id+".gif#"+r.Config.html.experimentTriggerClassPrefix,""):"a"===t&&(a.id=n.getAttribute("href").replace("#"+r.Config.html.experimentTriggerClassPrefix,"")),"");window.isGcdcPortal&&(e="?c="+r.Modules.Utilities.getRandomInt(111111,999999)),r.Modules.XHR.getJson("https://app.gatedcontent.com/experiments/"+r.Config.account.id+"/"+a.id+e,function(e){e.Error?r.Modules.Utilities.log(namespace,"loadExperiment","error","There was an error retrieving the experiment config. Processing stopped"):(o=e.Body).variants&&0{var t,i=[];for(t=0;t{let t=0;for(i=0;i{T.Classes=T.Classes||{},T.Classes.Field=function(a,r,s){var l=this,t=!1,d={},n="",o=[],u=!1;this.namespace="Classes.Field",this.config=a,this.elem="",this.inputElem="",this.labelElem="",this.hidden=!1,this.prePopped=!1;function c(e){"url"===l.config.type&&("focus"===e&&""===l.getValue()?l.setValue(T.Config.gates.fieldPrefixes.url,!1,!0):"blur"===e&&l.getValue()===T.Config.gates.fieldPrefixes.url&&l.setValue("",!1,!0))}function g(){var e;l.hidden||(e=void 0===l.config.allowMultipleSelectionsAll||l.config.allowMultipleSelectionsAll,T.Vendor.multiselects(l.inputElem,s.getConfigAttribute("lang"),e).destroy(),T.Vendor.multiselects(l.inputElem,s.getConfigAttribute("lang"),e),(e=l.elem.querySelector(".multiselect-input"))&&(e.placeholder=l.inputElem.getAttribute("placeholder")||""),u||(u=!0,T.Modules.UI.addCaughtEventListener(l.inputElem,"change",function(e){if(l.inputElem.getAttribute("data-last-value-changed--by-interaction"))l.inputElem.removeAttribute("data-last-value-changed--by-interaction");else{var t,i=l.getValue().split(",");for(t in T.Vendor.multiselects(l.inputElem).deselectAll(),i)T.Vendor.multiselects(l.inputElem).select(i[t])}},!0)),l.config.displayPicklistAsCheckboxList&&l.elem.classList.add("gcdc-checkbox-list"),l.config.displayPicklistAsCheckboxList&&l.config.displayPicklistAsCheckboxListColumns&&l.elem.classList.add("gcdc-checkbox-list-columns"),l.config.displayPicklistAsCheckboxList&&l.config.displayPicklistAsCheckboxListColumns&&l.config.displayPicklistAsCheckboxListColumnWidth&&(e=l.elem.querySelector("div.multiselect-list ul"))&&(e.style["column-width"]=l.config.displayPicklistAsCheckboxListColumnWidth+"px"))}function m(){l.getValue()&&""!==l.getValue()?(l.elem.classList.add("gcdc-form-group-hasvalue"),!0):(l.elem.classList.remove("gcdc-form-group-hasvalue"),!1)}function f(e){l.elem.classList.add("gcdc-form-group-error"),l.elem.classList.remove("gcdc-form-group-valid"),e&&l.inputElem&&l.inputElem.focus()}function p(){l.elem.classList.add("gcdc-form-group-valid"),l.elem.classList.remove("gcdc-form-group-error")}function e(e){v()?l.setValue(v(),!0,!0):(l.config.defaultValue&&"string"==typeof l.config.defaultValue&&""!==l.config.defaultValue?l.setValue(l.config.defaultValue,!0):e&&!l.config.noReplaceValue&&l.setValue("",!0),l.config.setValue&&"object"==typeof l.config.setValue&&l.config.setValue.type&&(l.config.setValue.value||"gateEditor"===l.config.setValue.type)&&l.setValue(l.config.setValue,!0)),a.hideIfPopulated&&l.hasValue()&&l.validate(!1,!0)?(T.Modules.Utilities.log(l.namespace,"refreshValue","info",l.config.id,' "Hide if populated" field is being hidden as it already has a value'),l.hide("hideIfPopulated")):a.hideIfPopulated&&(!l.config.switchable||"true"===s.getConfigAttribute(l.config.id+"-display")||l.config.switchableDefaultDisplay&&!s.hasConfigAttribute(l.config.id+"-display"))&&(T.Modules.Utilities.log(l.namespace,"refreshValue","info",l.config.id,' "Hide if populated" field is being displayed because it does not have a value'),l.show("hideIfPopulated")),l.hasValue()&&(l.prePopped=!0)}function h(){return"never"===a.reuseValueDurationType?-1:"session"===a.reuseValueDurationType?0:"customMinutes"===a.reuseValueDurationType?a.reuseValueDuration:"customHours"===a.reuseValueDurationType?60*a.reuseValueDuration:"customDays"===a.reuseValueDurationType?60*a.reuseValueDuration*24:0}function b(){0<=h()&&"hidden"!==a.type&&"true"!==s.getConfigAttribute("kioskMode")&&T.Modules.Privacy.checkPrivacySettings(1)&&T.Modules.Storage.writeStorage(T.Config.storage.userFieldDataPrefix+l.config.id,l.getValue(),h())}function v(){return"true"!==s.getConfigAttribute("kioskMode")&&T.Modules.Privacy.checkPrivacySettings(1)?T.Modules.Storage.readStorage(T.Config.storage.userFieldDataPrefix+l.config.id):""}this.sort=function(){if("select"===l.config.type){var e=l.inputElem,t=[];for(i=1;i{var e,t=l.inputElem;for(e in d)if(d.hasOwnProperty(e))try{var i=d[e].regexp,n=new RegExp(i,"gi");if(null===t.value.match(n))return d[e].noTranslate?d[e].errorMessage:T.Modules.Localise.translateString(T.Modules.Template.generateStringName("errorCustomRegexp",e),s.getConfigAttribute("lang"),d[e].errorMessage)}catch(e){T.Modules.Utilities.log(l.namespace,"failsRegexpValidation","critical","Validating against custom regular expression fails:",e)}var o=t.getAttribute("pattern"),a=new RegExp(o,"gi");return!(!o||""===o||null!==t.value.match(a))})())&&(n=!1,"string"==typeof i&&""!==i&&l.setValidationText(i),t||f(e)):l.config.required&&("checkbox"===o.type&&!o.checked||""===o.value)&&(n=!1,t||f(e)),n)&&p(),n},this.resetValidation=function(){l.elem.classList.remove("gcdc-form-group-valid"),l.elem.classList.remove("gcdc-form-group-error")},this.hide=function(e){l.elem.classList.add("hidden"),l.hidden=!0,e&&-1===o.indexOf(e)&&o.push(e),s.eventManager.emit("fieldHidden",l)},this.hiddenByTag=function(e){return-1!==o.indexOf(e)},this.onlyHiddenByTag=function(e){return 1===o.length&&-1!==o.indexOf(e)},this.show=function(e,t){e&&-1!==o.indexOf(e)&&o.splice(o.indexOf(e),1),(t||0===o.length)&&(l.elem.classList.remove("hidden"),l.hidden=!1,"select"===l.config.type)&&l.config.allowMultipleSelections&&g(),s.eventManager.emit("fieldDisplayed",l)},this.refreshVisbility=function(){0===o.length&&l.hidden?l.show():0{N.Classes=N.Classes||{},N.Classes.Form=function(g){var a,t,m=this,i=!1,n=!1,o={},r=[],s=[],l=null,d=null,u=null,c={header:null,footer:null},f=!1,p="",e="",h=!1,b=!1;function v(){var t={message:g.getConfigAttribute("introMessage"),gate:g};N.Modules.DataSources.parseCustomFormula(t.message,function(e){t.message=e},g,m,null,!0),d=N.Modules.Template.render("formIntro",t,g.getConfigAttribute("lang")),m.introMessageElem&&"function"==typeof m.introMessageElem.remove&&m.introMessageElem.remove(),m.elem.prepend(d),m.introMessageElem=d,S()}async function C(e){var t;f||b?N.Modules.Utilities.log(m.namespace,"handleSubmission","warning","Form is blocked from submitting"):(m.blind=void 0!==e,m.blind||y(!0)?(m.blind||m.hide(),c.header.style.display="none",c.footer.style.display="none",a.emitData("submissionType",m.blind?"Blind":"User"),a.emitData("submissionDatetimeUTC",N.Modules.Utilities.getDatetime()),a.emitData("submissionDatetimeISO",N.Modules.Utilities.getLocalDatetime()),a.emitData("submissionDatetimeUS",N.Modules.Utilities.getLocalDatetime("US")),"function"==typeof m.preSubmissionBehaviour&&await m.preSubmissionBehaviour(),g.eventManager.emit("submission"),m.blind&&(m.eachField(function(e){return-1!==N.Config.gates.blindSubmitExcludedFields.indexOf(e.config.id)&&(e.inputElem.value=""),!0}),g.eventManager.emit("blindSubmission")),N.Modules.Gate.eventManager.defer("submitForm",function(){var e,t;"s"===g.getConfigAttribute("formSubmissionBehaviour")?(w(),g.eventManager.emit("synchronousSubmission"),N.Modules.Utilities.setCaughtTimeout(function(){m.elem.submit()},N.Config.gates.synchronousSubmissionDelay)):"function"==typeof m.customSubmissionBehaviour||N.Config.gates.forceCustomSubmissionBehaviour?m.customSubmissionBehaviour(function(e,t){e?w(!0):(m.show(),T(t))}):N.Config.gates.useFetchSubmission||N.Config.gates.useJsonSubmission?(e=N.Config.gates.useJsonSubmission?JSON.stringify(Object.fromEntries(new FormData(m.elem).entries())):new URLSearchParams(new FormData(m.elem)).toString(),M(m.elem.action,e,N.Config.gates.useJsonSubmission,function(){w(!0)},function(){m.show(),T(N.Modules.Template.deWidofy(N.Modules.Localise.translateString("submissionFailedMessage",g.getConfigAttribute("lang"),"The form could not be submitted. This can sometimes be caused by ad blockers. Please disable any ad blockers and try again.")))})):(e=document.createElement("iframe"),t=N.Modules.Utilities.getRandomInt(1e5,999999),e.style.display="none",document.body.appendChild(e),e.contentWindow.name=t,m.elem.target=t,m.elem.submit(),w(!0))},5e3,m.namespace),e=m.getFieldByName("secondarySubmissionURL",!0),!h&&e&&e.getValue()&&/^https:\/\/.+/i.test(e.getValue())&&(h=!0,t=N.Config.gates.useJsonForSecondarySubmission?JSON.stringify(Object.fromEntries(new FormData(m.elem).entries())):new URLSearchParams(new FormData(m.elem)).toString(),M(e.getValue(),t,N.Config.gates.useJsonForSecondarySubmission))):(e=l,g.handleFormInteraction("submissionFailed",{field:e}),N.Modules.Utilities.log(m.namespace,"handleSubmission","info","Form not valid, submission stopped")))}function M(e,t,i,n,o){b=!0,fetch(e,{method:"POST",mode:"no-cors",headers:{"Content-Type":i?"application/json":"application/x-www-form-urlencoded"},body:t}).then(()=>{b=!1,"function"==typeof n&&n()}).catch(e=>{b=!1,"function"==typeof o&&o(e)})}function w(e){m.submitted=!0,overrideOpen=!0,m.blind?(m.blindSubmitted=!0,g.handleFormInteraction("blindSubmissionSucceed"),g.eventManager.emit("blindSubmitted"),N.Modules.Utilities.log(m.namespace,"handleSubmission","info","Form was blind submitted")):(g.eventManager.emit("postSubmission"),N.Config.gates.scrollToGateTopOnSubmission&&!g.isModal&&N.Modules.UI.scrollTo(g.wrapperElem,N.Config.gates.scrollToGateTopOnSubmissionOffset),g.getConfigAttribute("gateOpenByIdSession")&&N.Modules.Storage.writeStorage("gateIdSession"+g.id,"true",N.Config.gates.gateOpenByIdSessionDuration),g.getConfigAttribute("gateOpenById")&&N.Modules.Storage.writeStorage("gateId"+g.id,"true",N.Config.gates.gateOpenByIdDuration),g.getConfigAttribute("gateGroup")&&null!==g.getConfigAttribute("gateGroup")&&""!==g.getConfigAttribute("gateGroup")&&N.Modules.Storage.writeStorage("gateGroup"+g.getConfigAttribute("gateGroup"),"true",N.Config.gates.gateOpenByGroupDuration),g.handleFormInteraction("submissionSucceed"),N.Modules.Utilities.log(m.namespace,"handleSubmission","info","Form was submitted")),e&&g.eventManager.emit("submitted")}function y(e,t){return g.eventManager.emit("validate"),i=!0,n||t||(m.elem.addEventListener("blur",function(e){y(!1)},!0),m.elem.addEventListener("keyup",function(e){y(!1)},!0),m.elem.addEventListener("change",function(e){y(!1)},!0),n=!0),m.eachField(function(t){return!!t.validate(e&&i)||(i=!1,l=t,a.emitData("lastInvalidField",l.config.name),a.emitData("lastInvalidFieldObject",l),g.handleFormInteraction("fieldInvalid"),t.inputElem&&t.inputElem.addEventListener("change",function(e){n||t.validate(!1)},!0),!!N.Config.gates.displayAllValidationErrorsSimultaneously)}),i?g.eventManager.emit("validationPassed"):g.eventManager.emit("validationFailed"),i}function T(e){e="

"+e+"

";c.header.innerHTML=e,c.header.style.display="block",c.footer.innerHTML=e,c.footer.style.display="block"}function S(){function e(e,t){return e.replace(/\{{1,2}username\}{1,2}/g,t)}var t,i,n;d&&(null!==u&&(u.parentNode.removeChild(u),u=null),n=N.Modules.Storage.readStorage(N.Config.storage.userFieldDataPrefix+N.Config.defaultFields.emailField),t=N.Modules.Storage.readStorage(N.Config.storage.userFieldDataPrefix+N.Config.defaultFields.firstNameField),i=N.Modules.Storage.readStorage(N.Config.storage.userFieldDataPrefix+N.Config.defaultFields.lastNameField),n)&&N.Config.gates.prepopulation.showPrepopulationMessage&&!g.getConfigAttribute("kioskMode")&&N.Modules.Privacy.checkPrivacySettings(1)&&(m.prePopped=!0,a.emitData("prepopped","true"),t=t&&i?t+" "+i:n,i=e(N.Modules.Localise.translateString("prepopNoticeMessage",g.getConfigAttribute("lang"),"Hi {{username}}, we've saved you some time by filling out the form with details you previously entered."),t),n=e(N.Modules.Localise.translateString("prepopButtonMessage",g.getConfigAttribute("lang"),"Not {{username}}?"),t),u=N.Modules.Template.render("formPrepop",{prepopNoticeMessage:i,prepopButtonMessage:n},g.getConfigAttribute("lang")),d.appendChild(u),N.Modules.UI.addCaughtEventListener(u.getElementsByTagName("a")[0],"click",function(e){e.preventDefault(),N.Modules.Gate.notMeTrigger(g)}))}function P(e){m.updatePrepopMessage(),E(!0),t&&t.resetProgression()}function G(e){e!==g&&E(!0)}function q(){m.prePopped=!1,E()}function E(t){m.hide(),N.Modules.Utilities.log(g.namespace,"resetAllFieldValues","info","Resetting all form fields"),m.eachField(function(e){e.resetValue(),t&&e.resetValidation()}),g.eventManager.emit("fieldsReset"),g.updateGateVisibility()}function k(){var e;"s"!==g.getConfigAttribute("formSubmissionBehaviour")&&(N.Config.advancedSettings.disableFormsOnPrivacyBlocking&&m.blockSubmission(),e=N.Config.advancedSettings.privacyBlockingMessage||"We have detected one or more privacy settings or extensions in your browser that may cause this form to fail to submit, even if it appears to submit successfully. We strongly recommend disabling these settings or using another browser before submitting this form.",T(N.Modules.Template.deWidofy(N.Modules.Localise.translateString("submissionBlockedMessage",g.getConfigAttribute("lang"),e))),N.Modules.Browser.setAdBlockerDetected(),g.handleFormInteraction("adBlockerDetected"))}function R(e){if("displayedField"===e){let t=[];return m.eachField(function(e){"hidden"!==e.config.type&&t.push(e.config.name)}),t.join(",")}if("allFields"!==e)return!1;{let t=[];return m.eachField(function(e){"hidden"===e.config.type||e.hidden||t.push(e.config.name)}),t.join(",")}}if(this.namespace="Classes.Form",this.submitted=!1,this.blindSubmitted=!1,this.elem=document.createElement("form"),this.introMessageElem,this.rendered=!1,this.preSubmissionBehaviour=null,this.customSubmissionBehaviour=null,this.prePopped=!1,this.enriched=!1,this.lastInteractedField=null,this.submitButtonWrapperElem=null,this.timestamp=null,this.blockSubmission=function(){f=!0,submitButton.classList.add("disabled"),submitButton.setAttribute("disabled","disabled")},this.unblockSubmission=function(){f=!1,submitButton.classList.remove("disabled"),submitButton.removeAttribute("disabled")},this.updatePrepopMessage=function(){S()},this.wouldSubmit=function(){var t;return!f&&(t=!0,m.eachField(function(e){if(e.config.required&&!e.validate(!1,!0,!0))return t=!1}),t)},this.show=function(){g.hideLoader(),m.elem.style.setProperty("display","block"),g.eventManager.emit("formDisplayed"),N.Modules.ViewScroll.whenVisible(m.elem,function(){g.handleFormInteraction("formViewed")},!0)},this.hide=function(){g.displayLoader(),m.elem.style.setProperty("display","none","important"),g.eventManager.emit("formHidden")},this.eachField=function(e,t){for(var i=0;i=N.Config.gates.doubleColumnBreakpoint){for(var e=!1,t=0;t{for(var t,i=[],n=0,o=1;o<=parseInt(e.customFieldsNum);o++){var a=g.getConfigAttribute("customField"+o+"Type");if("inactive"!==a&&null!==a&&""!==a){n++;var r={id:e.customFieldsValueTemplate.replace("{n}",o),name:e.customFieldsValueTemplate.replace("{n}",o),type:g.getConfigAttribute("customField"+o+"Type"),description:g.getConfigAttribute("customField"+o+"Label"),options:[],allowMultipleSelections:g.getConfigAttribute("customField"+o+"AllowMultiselect"),convertMultiselectToCSV:!!g.getConfigAttribute("customField"+o+"AllowMultiselect"),value:g.getConfigAttribute("customField"+o+"Value"),required:g.getConfigAttribute("customField"+o+"Required"),halfWidth:g.getConfigAttribute("customField"+o+"HalfWidth")&&N.Config.advancedSettings.supportHalfWidthCustomFields,regexpValidators:g.getConfigAttribute("customField"+o+"UseRegexp")?[{id:"customField"+o+"RegexpValidator",regexp:g.getConfigAttribute("customField"+o+"Regexp"),errorMessage:g.getConfigAttribute("customField"+o+"RegexpMessage"),noTranslate:!0}]:[],translateMessaging:!1,translateOptionLabels:!1,maxlength:g.getConfigAttribute("customField"+o+"Maxlength")||32e3,reuseValueDurationType:"never",inlineStep:e.inlineStep},a=("hidden"===g.getConfigAttribute("customField"+o+"Type")&&(r.defaultValue=g.getConfigAttribute("customField"+o+"Value")),{id:e.customFieldsLabelTemplate.replace("{n}",o),name:e.customFieldsLabelTemplate.replace("{n}",o),defaultValue:g.getConfigAttribute("customField"+o+"Label"),type:"hidden",reuseValueDurationType:"never"}),s=g.getConfigAttribute("customField"+o+"Options");if(s)for(var l=s.split("\n"),d=0;d'+c+"",translateMessaging:!1}),N.Modules.Utilities.log(m.namespace,"expandFieldCollections","info",n,"active custom fields added to gate",g.id),i})(o.fields[L]),o.fields.splice.apply(o.fields,[L,1].concat(x)));for(var D=0;D{M.Classes=M.Classes||{},M.Classes.Gate=function(e,n){function t(e){p(e)?(l.namespace+="("+l.id+")",d=e,M.Modules.Gate.loadFormType(l),""!==l.getConfigAttribute("lang")&&M.Modules.Localise.loadLanguage(l),f(),l.init=!0,l.eventManager.emit("gateInit"),M.Modules.Utilities.log(l.namespace,"loadGate","info","Gate config loaded")):m("No configuration was found for gate id: "+l.id)}function i(){l.built?l.eventManager.reviewListeners(function(e){return-1!==g.indexOf(e)}):(l.built=!0,l.eventManager.reviewListeners(function(e){return g.push(e),!0})),l.buildPending=!0,M.Modules.Gate.loadFormType(l,function(){M.Modules.Localise.loadLanguage(l,function(){l.buildPending&&(l.buildPending=!1,f(),M.Config.integrations[l.getConfigAttribute("gateType")]&&M.Config.integrations[l.getConfigAttribute("gateType")].integrationModule&&"function"==typeof M.Integrations[M.Config.integrations[l.getConfigAttribute("gateType")].integrationModule].extendGate&&M.Integrations[M.Config.integrations[l.getConfigAttribute("gateType")].integrationModule].extendGate.call(l),l.eventManager.emit("gateExtended"),l.forceModal&&v(),l.wrapperElem.classList.add(M.Config.html.gateElementClass+"-culture-"+l.getConfigAttribute("lang")),l.form=new M.Classes.Form(l),l.form.rendered?(l.eventManager.on("submitted",o,l.namespace),M.Modules.Utilities.log(l.namespace,"buildGate","info","New",l.getConfigAttribute("formType"),"gate built"),l.eventManager.emit("gateBuilt"),M.Modules.Utilities.log(l.namespace,"buildGate","info","Gate displaying now"),l.updateGateVisibility()):(M.Modules.Utilities.log(l.namespace,"buildGate","critical","There was a problem rendering the form, the gate has been adandoned"),l.gateAbandoned=!0))})})}function o(){l.form.blindSubmitted||(h(!0),c=!0,M.Modules.Utilities.setCaughtTimeout(b,M.Config.gates.showContentDelay))}function a(){var t={},e=(l.contentIntroThankyou?t.messageType="thankyouMessage":t.messageType="returnMessage",t.message=l.getConfigAttribute(t.messageType),M.Modules.DataSources.parseCustomFormula(t.message,function(e){t.message=e},l,l.form,null,!0),t.gate=l,M.Modules.Template.render("contentIntro",t,l.getConfigAttribute("lang")));let i;i=l.contentIntroThankyou?"gcdc-thankyou-message":"gcdc-return-message",e.classList.add(i),l.contentIntroElem&&"function"==typeof l.contentIntroElem.remove&&l.contentIntroElem.remove(),l.contentIntroElem=e,l.contentElem.prepend(e)}function r(){l.displayLoader(),l.contentElem.style.display="none",l.eventManager.emit("contentHidden")}var s,l=this,d={},u=!1,c=!1,g=[],m=(this.namespace="Classes.Gate",this.id="",this.form,this.init=!1,this.buildPending=!1,this.built=!1,this.visibilityInit=!1,this.wrapperElem=e,this.contentIntroElem,this.contentIntroThankyou,this.contentElem,this.isModal=!1,this.forceModal=!1,this.preventModalOpeningOnce=!1,this.forceBlindSubmitOnContentInteraction=!1,this.suppressClasses=[],this.gateAbandoned=!1,this.previewGate=n,this.lastTriggeredModalLink=null,function(e){M.Modules.Utilities.log(l.namespace,"loadGate","critical",e),l.gateAbandoned=!0,M.Config.gates.displayMessageOnLoadFail&&(l.hideLoader(),(e=document.createElement("div")).classList.add("gcdc-form-load-error"),e.innerHTML=M.Config.gates.loadFailMessage,l.wrapperElem.appendChild(e))}),f=function(){l.wrapperElem.innerHTML="",l.contentElem=document.createElement("div"),l.contentElem.innerHTML="",l.wrapperElem.classList.add(M.Config.html.gateElementClass),M.Modules.UI.injectLoader(l.wrapperElem),"true"===e.getAttribute("data-gcdc-force-modal")&&v()},p=function(e){if("object"!=typeof e)return M.Modules.Utilities.log(l.namespace,"verifyConfig","critical","Returned config was not valid"),!1;for(var t=0;t{d.Classes=d.Classes||{},d.Classes.GateTranslationGroup=function(n){var o,a=this;this.namespace="Classes.GateTranslationGroup",this.id="";{let t=n.tagName.toLowerCase(),e=("div"===t?a.id=n.className.split(" ")[0].replace(d.Config.html.gateTranslationGroupTriggerClassPrefix,""):"img"===t?a.id=n.getAttribute("src").replace(d.Config.html.gateImageEmbedURL+d.Config.account.id+".gif#"+d.Config.html.gateTranslationGroupTriggerClassPrefix,""):"a"===t&&(a.id=n.getAttribute("href").replace("#"+d.Config.html.gateTranslationGroupTriggerClassPrefix,"")),"");window.isGcdcPortal&&(e="?c="+d.Modules.Utilities.getRandomInt(111111,999999)),d.Modules.XHR.getJson("https://app.gatedcontent.com/gate_translation_groups/"+d.Config.account.id+"/"+a.id+e,function(e){e.Error?d.Modules.Utilities.log(namespace,"loadGateTranslationGroup","error","There was an error retrieving the gate translation group config. Processing stopped"):(o=e.Body).gates&&0{let t,n,o,a="",r;var s;for(accountLangCode in"page"===d.Config.advancedSettings.multiLanguageDetectionMethod?a=document.documentElement.lang:"meta"===d.Config.advancedSettings.multiLanguageDetectionMethod?(s=document.querySelector('meta[name="'+d.Config.advancedSettings.multiLanguageDetectionMetaName+'"]'),a=s?s.content:lang):d.Config.advancedSettings.multiLanguageDetectionMethod,d.Config.supportedLanguages){let e=d.Config.advancedSettings.multiLanguageMapping[accountLangCode];e=e&&e.split("\n"),"url"===d.Config.advancedSettings.multiLanguageDetectionMethod?e&&0{T.Classes=T.Classes||{},T.Classes.MultiStep=function(l,d,u,e,t,c){function g(){w=[],d.eachField(function(e){e.hidden&&!e.onlyHiddenByTag("multiStep")||!e.config.inlineStep||-1!==w.indexOf(e.config.inlineStep)||w.push(e.config.inlineStep)}),d.eachElem(function(e){e.hidden&&!e.onlyHiddenByTag("multiStep")||!e.config.inlineStep||-1!==w.indexOf(e.config.inlineStep)||w.push(e.config.inlineStep)}),w.sort(),w.lengthd.highestCompletedStep&&(d.highestCompletedStep=t,u.emitData("highestCompletedStep",t+m()),l.handleFormInteraction("formStarted"),l.handleFormInteraction("stepCompleted")),u.emitData("currentStep",y+m()),l.handleFormInteraction("stepChanged"),g(),h.style.width=Math.ceil(y/M*100)+"%",p.innerHTML=T.Modules.Localise.translateString("multistepProgressMessage",l.getConfigAttribute("lang"),"Step {currentStep} of {totalSteps}").replace("{currentStep}",y).replace("{totalSteps}",M),f){for(var o=T.Modules.Localise.translateString("multistepExplodedProgressMessage",l.getConfigAttribute("lang"),'Step {stepNum}'),a="",r=m(),s=1;s<=M+r;s++)a=(a+=s":s===y+r?"":"")+o.replace("{stepNum}",s)+"";f.innerHTML=a}1===M?(b&&b.classList.add("hidden"),v&&v.classList.add("hidden"),C&&C.classList.remove("hidden")):1===y?(b&&b.classList.add("hidden"),v&&v.classList.remove("hidden"),C&&C.classList.add("hidden")):y===M?(b&&b.classList.remove("hidden"),v&&v.classList.add("hidden"),C&&C.classList.remove("hidden")):(b&&b.classList.remove("hidden"),v&&v.classList.remove("hidden"),C&&C.classList.add("hidden"));e=d.elem.querySelectorAll(T.Config.html.focusableElements);e[0]&&e[0].focus()}l.eventManager.emit("stepChanged",y)}function m(){return l.isModal&&T.Config.gates.multiStepFormsModalCountsAsStep?1:0}var n,f,p,h,o,b,v,C,M,w,y,a;this.namespace="Classes.MultiStep",d.multiStep=!1,y=d.highestCompletedStep=0,a=!1,g(),e.classList.add("hidden"),o=T.Modules.Template.render("multiStepProgressText",l,l.getConfigAttribute("lang")),d.elem.insertBefore(o,t.header.nextSibling),n=T.Modules.Template.render("multiStepProgressBar",l,l.getConfigAttribute("lang")),d.elem.insertBefore(n,t.header.nextSibling),p=o.querySelector("p"),h=n.querySelector("div.gcdc-multistep-progress-bar"),T.Config.gates.multiStepFormsDisplayExplodedText&&(f=T.Modules.Template.render("multiStepProgressExplodedText",l,l.getConfigAttribute("lang")),d.elem.insertBefore(f,t.header.nextSibling)),o=T.Modules.Template.render("prevNext",l,l.getConfigAttribute("lang")),d.elem.insertBefore(o,e),b=o.querySelector("button.gcdc-form-button.gcdc-form-previous-button"),v=o.querySelector("button.gcdc-form-button.gcdc-form-next-button"),C=o.querySelector("input.gcdc-form-button"),b&&b.addEventListener("click",function(){return i(-1),!1}),v&&v.addEventListener("click",function(){return i(1),!1}),d.elem.addEventListener("keydown",function(e){var t="Enter"===e.key||13===e.keyCode,i="textarea"===e.target.tagName.toLowerCase(),n="input"===e.target.tagName.toLowerCase()||"select"===e.target.tagName.toLowerCase();t&&!i&&n&&y!==M&&(e.preventDefault(),v.click())}),i(1,!0),l.eventManager.on("formInteraction",function(e){"formViewed"!==e.action||a?"submissionSucceed"===e.action&&(u.emitData("highestCompletedStep",y+m()),l.handleFormInteraction("stepCompleted")):(a=!0,u.emitData("currentStep",y+m()),l.handleFormInteraction("stepChanged"))},d.namespace),T.Modules.Gate.eventManager.on("notMeTriggerComplete",function(){y=0,i(1,!(d.highestCompletedStep=0))},d.namespace)}})(window[window.GatedContentObject]),(d=>{d.Classes=d.Classes||{},d.Classes.Progressive=function(n,o,e,a){var r="gateProgressionLastStep"+n.getConfigAttribute("formType"),s=0,l=!1;function t(){s=(parseInt(d.Modules.Storage.readStorage(r))||0)+1;for(var t=1;t<=a;){var i=!0;if(o.eachField(function(e){if(e.config.progressiveSteps&&("required"===e.config.progressiveSteps[t]||"visible"===e.config.progressiveSteps[t])&&(!e.hasValue()||!e.validate(!1,!0)))return"required"!==e.config.progressiveSteps[t]||e.hidden&&!e.hiddenByTag("progressive")?"visible"===e.config.progressiveSteps[t]&&s{x.Classes=x.Classes||{},x.Classes.TelephoneMask=function(m,e,f){var p=this,h="",b="",v="",C=m.injectFlag("tel"),M=!1,t="",w="",i=!1,n=(this.namespace="Classes.TelephoneMask("+m.config.id+")",function(){""===a()&&""!==m.inputElem.value&&(t=m.inputElem.value,m.inputElem.value="")}),o=function(){m.inputElem.value=m.inputElem.value.replace(/_/gi,"")},a=function(){var e=m.inputElem.value;return e=(e=e.replace(M,"")).replace(/[\s\(\)_+]*/gi,"")},r=function(){""===m.inputElem.value&&""!==t&&(m.inputElem.value=t)},y=function(e){m.inputElem.value=m.inputElem.value+e,v=e},s=function(e,t){var i=E();if(i>h.length&&(i=null),w!==m.inputElem.value){for(var n=m.inputElem.value,o=n.length-1,a=v.length-1;0<=o&&0<=a&&n.substr(o,1)===v.substr(a,1);o--,a--)n=n.substr(0,o);for(var r,s=(n=0!==(n=(n=m.inputElem.value.replace(v,"")).replace(/[^)\s0-9+]/gi,"").replace(/^00/i,"+")).indexOf("+")&&0{for(var t=[],i=0;ih.length||"end"===e)&&(t=h.length),null!==(t=0===E()&&0==l()||0===t?1:t)&&i&&m.inputElem.setSelectionRange(t,t)},S=function(){for(var e=0,t=E(),i=m.inputElem.value.substr(t,1);i.match(/[^0-9+]/i)&&t{h.Classes=h.Classes||{},h.Classes.TelephoneMultiMask=function(n,t,r,e){var o,a,i,s=this,l=n.injectFlag("tel"),d=t.form,u=(this.namespace="Classes.TelephoneMultiMask("+n.config.id+")",function(){n.getValue()&&""!==n.getValue()?n.elem.classList.add("gcdc-form-group-hasvalue"):n.elem.classList.remove("gcdc-form-group-hasvalue")}),c=function(e){"from"===e?(a.value=n.inputElem.value.replace(o.value,""),e=g(n.inputElem.value),l.down(),e&&(l.up(e.cc),o.value=e.prefix,a.value=a.value.replace(e.prefix,""),h.Modules.Utilities.log(s.namespace,"update","info","A",e.cc,"phone number was detected"))):(a.value=m(a.value),n.inputElem.value=n.config.required||0!==a.value.length?o.value+a.value:"",c("from"))},g=function(e){for(var t,i=e.replace(/[\-#\(\)\s]*/gi,""),n=0;ng.length&&(t=o)}if(t){e=t.mask.match(/(\+[0-9]+)/gi);if(e&&0{p.Classes=p.Classes||{},p.Classes.Tracker=function(r){function e(){s.namespace+="("+r.id+")",a={app:p,trimAndHyphenate:p.Modules.Utilities.trimAndHyphenate,getGateInstance:function(){return r},getLastEventExtraData:function(){return g},getValue:function(e){var e=e.split("."),t={};return t.type=e[0],t.value=e[1],"string"===t.type?t.value:"gateAttribute"===t.type?"gateId"===t.value?r.id:"gateObj"===t.value?r:"displayType"===t.value?r.isModal?"modal":"inline":r.getConfigAttribute(t.value):"formAttribute"===t.type?p.Modules.DataSources.useDataSourceImmediate("form"+r.id,t.value):"fieldValue"===t.type?(e=r.form.getFieldById(t.value))?e.getValue():"":p.Modules.DataSources.useDataSourceImmediate(t.type,t.value,"true"===r.getConfigAttribute("kioskMode")||!p.Modules.Privacy.checkPrivacySettings(1))}},r.eventManager.on("formInteraction",function(e){t("form",e)},s.namespace),r.eventManager.on("contentInteraction",function(e){t(e.handler,e)},s.namespace),p.Modules.Utilities.log(s.namespace,"setup","info","New form tracker created")}function t(e,t){var i,n,o=t.action,a=p.Config.tracking.triggers[e][o];a?(i=[],n=[],"form"===e?(i=l,n=u):(i=d,n=c,a.gcdcReportingName="consumption",a.gcdcReportingActive=!0,a.gcdcReportingAllowMultiple=!1),window.isGcdcPortal?p.Modules.Utilities.log(s.namespace,"formInteraction","warning","Tracking does not operate in GCDC portal. Tracked event was:",a.gcdcReportingName):p.Modules.Privacy.checkPrivacySettings(2)?(a.gcdcReportingActive&&(a.gcdcReportingAllowMultiple||-1===n.indexOf(a.gcdcReportingName))&&(n.push(a.gcdcReportingName),f(r,a.gcdcReportingName)),!a.allowMultiple&&-1!==i.indexOf(o)||(i.push(o),m(e,o,t.data))):p.Modules.Utilities.log(s.namespace,"formInteraction","error","Tracking not active because of user's privacy settings. Tracked event was:",a.gcdcReportingName)):p.Modules.Utilities.log(s.namespace,"formInteraction","critical","No trigger config found for",o)}var s=this,l=[],d=[],u=[],c=[],a={},g={},m=(this.namespace="Classes.Tracker",function(t,i,e){if(p.Config.tracking.events[t]&&p.Config.tracking.events[t][i])try{var n=p.Config.tracking.events[t][i],o=new Function("gcdc",n);g=e,o(a),p.Modules.Utilities.log(s.namespace,"track","info","Event fired and tracked:",i)}catch(e){p.Modules.Utilities.log(s.namespace,"track","error","Event fired but could not be tracked because:",e.message),window.console&&window.console.error&&console.error("A custom event defined in Formulayt for the event "+t+":"+i+' could not be fired because: "'+e.message+'". If you are an account administrator, please correct this.')}else p.Modules.Utilities.log(s.namespace,"track","info","Event fired but no tracking code was found:",i)}),f=function(e,t){var i,n=p.Config.gates.formTypes[e.getConfigAttribute("formType")],o=(i={all:[],required:[],prepopped:[]},e.form.eachField(function(e){e.hidden&&!e.onlyHiddenByTag("multiStep")||"hidden"===e.config.type||(i.all.push(e.config.name),e.config.required&&i.required.push(e.config.name),e.prePopped&&i.prepopped.push(e.config.name))}),i),n={account_id:p.Config.account.id,event:t,datetime:p.Modules.Utilities.getLocalDatetime(),timestamp:p.Modules.Utilities.getLocalDatetime(),page_url:p.Modules.Utilities.getPageUrl(!0),pageload_id:p.Modules.DataSources.useDataSourceImmediate("session","pageloadID"),user_id:p.Modules.DataSources.useDataSourceImmediate("session","userID"),user_country:p.Modules.DataSources.useDataSourceImmediate("browser","country"),user_city:p.Modules.DataSources.useDataSourceImmediate("browser","city"),user_job_title:"",user_job_role:"",user_industry:e.form.getFieldValueById(p.Config.defaultFields.industryField),user_number_of_visits:p.Modules.DataSources.useDataSourceImmediate("session","visitNumber"),user_time_on_page:p.Modules.DataSources.useDataSourceImmediate("page","timeOnPage")||0,browser_user_agent:p.Modules.DataSources.useDataSourceImmediate("browser","useragent"),browser_device:p.Modules.DataSources.useDataSourceImmediate("browser","device"),session_id:p.Modules.DataSources.useDataSourceImmediate("session","sessionID"),session_start_timestamp:p.Modules.DataSources.useDataSourceImmediate("session","sessionStartTimestamp"),session_utm_campaign:p.Modules.DataSources.useDataSourceImmediate("utms","utmCampaignSession")||e.getConfigAttribute("defaultUTMCampaign")||"",session_utm_medium:p.Modules.DataSources.useDataSourceImmediate("utms","utmMediumSession"),session_utm_term:p.Modules.DataSources.useDataSourceImmediate("utms","utmTermSession"),session_utm_content:p.Modules.DataSources.useDataSourceImmediate("utms","utmContentSession"),session_utm_source:p.Modules.DataSources.useDataSourceImmediate("utms","utmSourceSession"),session_referer:p.Modules.DataSources.useDataSourceImmediate("session","referrerURL"),session_entry_url:p.Modules.DataSources.useDataSourceImmediate("session","entryUrl"),session_pageviews:p.Modules.DataSources.useDataSourceImmediate("session","pageviews"),gate_id:e.id.trim(),gate_type:e.getConfigAttribute("gateType"),gate_lang:e.getConfigAttribute("lang"),gate_asset_url:e.getConfigAttribute("downloadUrl"),form_behaviour:n.behaviour,form_field_name:"fieldChanged"===t?e.form.lastInteractedField.config.name:"",form_type:e.getConfigAttribute("formType"),form_display_type:e.isModal?"modal":"inline",form_progressive_current_step:e.form.progressive?e.form.thisProgressiveStep:"",form_total_steps:e.form.progressive?e.form.totalProgressiveSteps:"",form_prepopped:e.form.prePopped,form_num_of_fields_displayed:o.all.length,form_num_of_mandatory_fields_displayed:o.required.length,form_num_fields_prepopped:o.prepopped.length,form_perc_fields_prepopped:o.prepopped.length/o.all.length,form_fields_prepopped:o.prepopped.join("|"),form_fields_shown:o.all.join("|"),form_mandatory_fields_shown:o.required.join("|"),form_opt_in_shown:-1{var e;t.Modules=t.Modules||{},t.Modules.API={init:function(){t.Core.eventManager.on("setup",function(){t.Core.eventManager.on("postSetup",function(){var e=document.createEvent("CustomEvent");e.initCustomEvent("gcdcSetupComplete",!0,!1,t),window.dispatchEvent(e)}),t.Modules.UI.eventManager.on("modalOpened",function(){var e=document.createEvent("CustomEvent");e.initCustomEvent("gcdcModalOpened",!0,!1,t),window.dispatchEvent(e)}),t.Modules.UI.eventManager.on("modalClosed",function(){var e=document.createEvent("CustomEvent");e.initCustomEvent("gcdcModalClosed",!0,!1,t),window.dispatchEvent(e)}),t.Modules.Gate.eventManager.on("newGateBuilt",function(t){var e=document.createEvent("CustomEvent");e.initCustomEvent("gcdcGateReady",!0,!1,t),window.dispatchEvent(e),t.eventManager.on("submission",function(){var e=document.createEvent("CustomEvent");e.initCustomEvent("gcdcGateSubmit",!0,!1,t),window.dispatchEvent(e)}),t.eventManager.on("submitted",function(){var e=document.createEvent("CustomEvent");e.initCustomEvent("gcdcGateSubmitted",!0,!1,t),window.dispatchEvent(e)}),t.eventManager.on("blindSubmission",function(){var e=document.createEvent("CustomEvent");e.initCustomEvent("gcdcGateBlindSubmit",!0,!1,t),window.dispatchEvent(e)}),t.eventManager.on("blindSubmitted",function(){var e=document.createEvent("CustomEvent");e.initCustomEvent("gcdcGateBlindSubmitted",!0,!1,t),window.dispatchEvent(e)})})},e),t.Modules.Utilities.log(e,"init","init","Module initialised")},namespace:e="Modules.API"}})(window[window.GatedContentObject]),(a=>{function e(){var e,t;r.storeEmitData("dayofweek",(t=new Array("Sun","Mon","Tue","Wed","Thu","Fri","Sat"),e=(new Date).getDay(),t[e])),r.storeEmitData("userLanguage",navigator.userLanguage||navigator.language),null===r.readData("useragent")?(t=i(),r.storeEmitData("useragent",navigator.userAgent),r.storeEmitData("device",t.mobile?"Mobile":"Desktop"),t.mobile?(r.storeEmitData("operatingSystem",t.os+" "+t.osVersion+" (Mobile)"),r.storeEmitData("browser",t.browser+" "+t.browserVersion+" (Mobile)")):(r.storeEmitData("operatingSystem",t.os+" "+t.osVersion),r.storeEmitData("browser",t.browser+" "+t.browserVersion))):(r.readEmitData("useragent"),r.readEmitData("device"),r.readEmitData("operatingSystem"),r.readEmitData("browser")),r.emitData("doNotTrackActive",navigator.globalPrivacyControl||navigator.doNotTrack||window.doNotTrack?"true":"false"),null===r.readData("ip")?(a.Modules.Gate.eventManager.block("buildGate","geoInfoLookup",s),a.Modules.XHR.post("https://app.gatedcontent.com/tools/geoip",{},function(t){try{if("success"===t.Body.status){var i=t.Body.countryCode;let e="";for(var n=a.Modules.Mask.getCountries(),o=0;o{function f(e,t,i,n,o,a){var r;"string"===e.type?t(e.value):"gateAttribute"===e.type?"gateId"===e.value?t(i.id):"gateObj"===e.value?t(i):"displayType"===e.value?t(i.isModal?"modal":"inline"):t(i.getConfigAttribute(e.value)):"gateEditor"===e.type&&o?t(i.getConfigAttribute(o.config.id)):"formAttribute"===e.type?a?t(s.Modules.DataSources.useDataSourceImmediate("form"+i.id,e.value)):s.Modules.DataSources.useDataSource("form"+i.id,e.value,function(e){t(e)}):"fieldValue"===e.type?(r=n.getFieldById(e.value),t(r?r.getValue():"")):"custom"===e.type?l(e.value,t,i,n,o,a):"webinar"===e.type&&"webinarId"===e.value?"function"==typeof i.getWebinarID&&i.getWebinarID(t):a?t(s.Modules.DataSources.useDataSourceImmediate(e.type,e.value)):s.Modules.DataSources.useDataSource(e.type,e.value,function(e){t(e)},"true"===i.getConfigAttribute("kioskMode")||!s.Modules.Privacy.checkPrivacySettings(1))}function l(l,d,e,t,i,n){var o=l.match(/(\[\[|\{\{)([a-zA-Z0-9_\.\$\-]+)(?:\|(.*?))?(\]\]|\}\})/gi);if(o&&0{function e(){if(!window.isGcdcPortal){for(var e=document.querySelectorAll("div[class^="+o.Config.html.experimentTriggerClassPrefix+'], *[href^="#'+o.Config.html.experimentTriggerClassPrefix+'"], img[src^="'+o.Config.html.gateImageEmbedURL+o.Config.account.id+".gif#"+o.Config.html.experimentTriggerClassPrefix+'"]'),t=0,i=0;i{function e(){p.Modules.Gate.eventManager.emit("loadGates");var e=document.querySelectorAll('*[href^="#'+p.Config.html.gateTriggerClassPrefix+'"]:not([gcdc-modal-linked="true"])');if(0{var i=!1;return h(function(e){e.id===t&&(i=e)}),i})(gateId))&&o.bindModalLink(n))}p.Modules.Utilities.log(M,"handleWidowedModalLinks","info",e.length,"widowed modal links were found and their gates were injected")}var a=document.querySelectorAll('img[src^="'+p.Config.html.gateImageEmbedURL+p.Config.account.id+".gif#"+p.Config.html.gateTriggerClassPrefix+'"]');if(0{e.eventManager.on("gateBuilt",function(){p.Modules.Gate.eventManager.emit("newGateBuilt",e)},M),e.eventManager.on("submitted",v,M),e.eventManager.on("gateInit",function(){p.Modules.Gate.eventManager.emit("newGateInit",e),p.Modules.Gate.eventManager.defer("buildGate",function(){e.build()},C(e),M)},M)})(m))}0===c&&p.Modules.Utilities.log(M,"loadGates","info","No new gate triggers were found in the page. Processing stopped")}function n(e){l[e]&&0{e.eventManager.on("gateBuilt",function(){p.Modules.Gate.eventManager.emit("newGateBuilt",e)},M),e.eventManager.on("submitted",v,M),e.eventManager.on("gateInit",function(){p.Modules.Gate.eventManager.emit("newGateInit",e),p.Modules.Gate.eventManager.defer("buildGate",function(){e.build()},C(e),M)},M)})(i)}}function h(e){for(var t=0;t

'+e+"

";var n=document.querySelectorAll('*[href^="#'+p.Config.html.gateTriggerClassPrefix+'"]');if(n)for(var o=0;o{function e(){if(!window.isGcdcPortal){for(var e=document.querySelectorAll("div[class^="+o.Config.html.gateTranslationGroupTriggerClassPrefix+'], *[href^="#'+o.Config.html.gateTranslationGroupTriggerClassPrefix+'"], img[src^="'+o.Config.html.gateImageEmbedURL+o.Config.account.id+".gif#"+o.Config.html.gateTranslationGroupTriggerClassPrefix+'"]'),t=0,i=0;i{function o(e){f[e]&&0{function u(t){t.form.eachField(function(e){e.mask=new d.Classes.TelephoneMultiMask(e,t,g,m)},"phonemulti"),t.form.eachField(function(e){e.mask=new d.Classes.TelephoneMask(e,t,g)},"phone"),t.form.eachField(function(e){e.mask=new d.Classes.CountryMask(e,t,f)},"country")}var c,g,m,f;d.Modules=d.Modules||{},d.Modules.Mask=(g=[],m=[],f=[],{init:function(){for(var e=0;e{function t(e){e=document.querySelector('meta[name="'+e+'"]');return e?e.content:""}var i;e.Modules=e.Modules||{},e.Modules.MetaTag={init:function(){e.Modules.DataSources.registerDataSource("metaTag",t),e.Modules.Utilities.log(i,"init","init","Module initialised")},namespace:i="Modules.MetaTag"}})(window[window.GatedContentObject]),(e=>{function t(){n.storeEmitData("pageurl",[location.protocol,"//",location.host,location.pathname].join("")),n.storeEmitData("pageurlFull",[location.protocol,"//",location.host,location.pathname,location.search].join("")),n.storeEmitData("pageurlDomain",location.host),n.storeEmitData("pageloadDatetimeUTC",e.Modules.Utilities.getDatetime()),n.storeEmitData("pageloadDatetimeISO",e.Modules.Utilities.getLocalDatetime()),n.storeEmitData("pageloadDatetimeUS",e.Modules.Utilities.getLocalDatetime("US")),n.emitData("referrer",e.Modules.Browser.getReferer()),n.emitData("pageReferrer",document.referrer),n.emitData("parentReferrer",(()=>{var t=!1;try{t=window.self!==window.top}catch(e){t=!0}return t?document.referrer:""})())}function i(e){return"timeOnPage"===e&&(e=new Date-a,e/=1e3,Math.round(e))}var n,o,a;e.Modules=e.Modules||{},e.Modules.Page=(o="Modules.Page",a=new Date,{init:function(){n=e.Modules.DataSources.registerDataSource("page",i),e.Core.eventManager.on("setup",function(){t()},o),e.Modules.Utilities.log(o,"init","init","Module initialised")},namespace:o})})(window[window.GatedContentObject]),(i=>{function n(e){0===r&&(t=!(a=!1),e())}var o,a,t,r;i.Modules=i.Modules||{},i.Modules.Preloader=(t=a=!(o="Modules.Preloader"),r=0,{preInit:function(e){var t;a=!0,t=e,i.Config.preloadAssets.forEach(function(e){r++,i.Modules.Utilities.loadScript(e,"utf-8",function(){r--,i.Modules.Utilities.log(o,"loadScript","info","Finished loading asset: "+e),n(t)},function(){r--,i.Modules.Utilities.log(o,"loadScript","error","Could not load asset: "+e),n(t)})}),n(t)},preInitRunning:function(){return a},preInitComplete:function(){return t},init:function(){i.Modules.Utilities.log(o,"init","init","Module initialised")},namespace:o})})(window[window.GatedContentObject]),(o=>{function n(e,t){for(var i in o.Modules.Utilities.log(s,"processPreview","info",JSON.stringify(e)),o.Config.previewableEntities){var n=o.Config.account.id+"_"+i;e[n]&&!0===e[n]&&"styles"!==i&&(l[i]=!0)}a("boolean"==typeof e[o.Config.account.id+"_styles"]&&!0===e[o.Config.account.id+"_styles"]),r(t)}function a(e){o.Modules.Utilities.log(s,"loadStyleSheets","info","previewMode="+e);let t="";t=e&&!0===e?"https://app.gatedcontent.com/styles/"+o.Config.account.id+"/draft/app.css":"https://app.gatedcontent.com/styles/"+o.Config.account.id+"/app.css",e&&!0===e?t+="?c="+o.Modules.Utilities.getRandomInt(1e7,99999999):window.isGcdcPortal&&window.GCDC_Cachebuster_token?t+=window.GCDC_Cachebuster_token:window.gcdcTools&&window.gcdcTools.gcdcToolsData&&window.gcdcTools.gcdcToolsData.cachebuster&&window.gcdcTools.gcdcToolsData.cachebuster[o.Config.account.id]&&(t+=window.gcdcTools.gcdcToolsData.cachebuster[o.Config.account.id]),o.Modules.Utilities.loadStylesheet(t)}function t(t){window.isGcdcPortal?o.Modules.XHR.getJson("https://admin.gatedcontent.com/iframe/poll",function(e){n(e.previews,t)},t,!0):(window.gcdcTools&&window.gcdcTools.initialised?function e(t,i){i=i||0,window.gcdcTools&&window.gcdcTools.gcdcToolsData&&window.gcdcTools.gcdcToolsData.previewFlags&&null!==window.gcdcTools.gcdcToolsData.previewFlags?0{var t,n;e.Modules=e.Modules||{},e.Modules.Privacy=(n=[],{init:function(){e.Modules.Utilities.log(t,"init","init","Module initialised")},namespace:t="Modules.Privacy",checkPrivacySettings:function(t){let i=!0;return e.Config.advancedSettings.browserPrivacyCheck&&(navigator.globalPrivacyControl||navigator.doNotTrack&&"unspecified"!==navigator.doNotTrack||window.doNotTrack)&&(i=!1),n.forEach(function(e){e(t)||(i=!1)}),i},registerPrivacyCheck:function(e){"function"==typeof e&&n.push(e)}})})(window[window.GatedContentObject]),(i=>{function e(){if(i.Config.requestedDataSources.queryString)for(var e in i.Config.requestedDataSources.queryString){var t;i.Config.requestedDataSources.queryString.hasOwnProperty(e)&&((t=i.Modules.Utilities.getQsParameter(e))?n.storeEmitData(e,t):n.readEmitData(e))}}function t(e){return!1}var n,o;i.Modules=i.Modules||{},i.Modules.QueryString={init:function(){n=i.Modules.DataSources.registerDataSource("queryString",t),i.Core.eventManager.on("setup",e,o),i.Modules.Utilities.log(o,"init","init","Module initialised")},namespace:o="Modules.QueryString"}})(window[window.GatedContentObject]),(o=>{function e(){if(r.emitData("pageloadID",o.Modules.Utilities.generateUuid()),a())try{var e=JSON.parse(o.Modules.Storage.readCookie("gcdc_session"));e&&(s=e)}catch(e){}var e=s.userId||o.Modules.Storage.readStorage(o.Config.storage.userDataPrefix+"UserID"),t=s.sessionId||o.Modules.Storage.readStorage(o.Config.storage.userDataPrefix+"SessionID"),i=s.sessionStartTimestamp||o.Modules.Storage.readStorage(o.Config.storage.userDataPrefix+"SessionStart"),t=(e=e||o.Modules.Utilities.generateUuid(),t||(t=o.Modules.Utilities.generateUuid(),l=!0),i=i||o.Modules.Utilities.getLocalDatetime(),o.Modules.Storage.writeStorage(o.Config.storage.userDataPrefix+"UserID",e,525600),o.Modules.Storage.writeStorage(o.Config.storage.userDataPrefix+"SessionID",t),o.Modules.Storage.writeStorage(o.Config.storage.userDataPrefix+"SessionStart",i),r.emitData("sessionStartTimestamp",i),r.emitData("userID",e),r.emitData("sessionID",t),s.userId=e,s.sessionId=t,s.sessionStartTimestamp=i,s.visitNumber||o.Modules.Storage.readStorage(o.Config.storage.userDataPrefix+"VisitNumber")||0),i=s.pageviews||o.Modules.Storage.readStorage(o.Config.storage.userDataPrefix+"Pageviews")||0,t=(l&&t++,i++,o.Modules.Storage.writeStorage(o.Config.storage.userDataPrefix+"VisitNumber",t,525600),r.emitData("visitNumber",t),s.visitNumber=t,o.Modules.Storage.writeStorage(o.Config.storage.userDataPrefix+"Pageviews",i,525600),r.emitData("pageviews",i),s.pageviews=i,/\/\/([a-z0-9-\.]*)\//i),i=window.location.href.match(t),t=document.referrer.match(t),n=!1;t&&i&&1{function o(e){for(var t=new Uint8Array(e.length),i=0;i=(new Date).getTime()?(s.Modules.Utilities.log(l,"readStorage","info","A storage key called",e,"was found in local storage"),d.local[e]):(delete d.local[e],delete d.local[e+"Expiry"],r(),s.Modules.Utilities.log(l,"readStorage","info","No storage key called",e,"was found"),null):(s.Modules.Utilities.log(l,"readStorage","info","No storage key called",e,"was found"),null)},writeStorage:function(e,t,i){var n,o;!isNaN(parseInt(i))&&0{function o(e,t){return"required"===e?' '+a.Modules.Localise.translateString("markerFieldRequired",t,a.Config.gates.requiredFieldLabelIndicator)+"":"optional"===e?' '+a.Modules.Localise.translateString("markerFieldOptional",t,a.Config.gates.optionalFieldLabelIndicator)+"":void 0}function r(e,t){e+=t;return e=(e=e.replace(/(?:^\w|[A-Z]|\b\w)/g,function(e,t){return 0===t?e.toLowerCase():e.toUpperCase()}).replace(/\s+/g,"")).replace(/\W/g,"")}var s;a.Modules=a.Modules||{},a.Modules.Template={init:function(){a.Modules.Utilities.log(s,"init","init","Module initialised")},namespace:s="Modules.Template",generateStringName:r,render:function(t,e,i){var n,o=a.Resources.Templates[t+"Template"];try{n=(n=a.Vendor.shaven(o(e,i)))[0],a.Modules.Utilities.log(s,"render","info","Template",t,"rendered in language",i)}catch(e){a.Modules.Utilities.log(s,"render","critical","Template",t,"could not be rendered -",e.message),n=document.createElement("div")}return n},safeCssClassName:function(e){return e=e.replace(/[~\!@\$%\^&\*\(\)\+\=,\.\/';\:"\?><\[\]\\\{\}\|`#\s]*/gi,"")},placeholderText:function(e,t,i,n){return e.hint&&""!==e.hint?a.Modules.Localise.translateString(a.Modules.Template.generateStringName("Field Placeholder ",e.id),t,e.hint):"true"!=e.required||n?i&&""!==i?i:"":a.Modules.Localise.translateString("textFieldHint",t,"Please complete this field")},appendedLabel:function(e,t,i){var n=e.id;return i&&"string"==typeof i&&(n+=i),e.translateMessaging?a.Modules.Localise.translateString(r("Form Field Label ",n),t,e.description)+(e.required?o("required",t):o("optional",t)):(r("Form Field Label ",n),e.description+o(e.required?"required":"optional",t))},deWidofy:function(e){return e.trim().replace(/(\s(?=[^\s]*$))(?=[^>]*(<|$))/g," ")},getStatusMarker:o}})(window[window.GatedContentObject]),(i=>{function e(e){new i.Classes.Tracker(e)}function n(t){var e=i.Modules.Utilities.getComponentUrl("events","events");i.Modules.XHR.getJson(e,function(e){i.Config.tracking.events=e.Body.events,r=!0,t()},function(){i.Modules.Utilities.log(o,"loadEventConfig","error","Failed to load event config"),r=!0,t()})}var o,a,r;i.Modules=i.Modules||{},i.Modules.Track=(r=a=!(o="Modules.Track"),{init:function(){i.Modules.Utilities.log(o,"init","init","Module initialised"),i.Core.eventManager.on("setup",function(){i.Modules.Gate.eventManager.on("newGateInit",e,o)},o)},namespace:o,preInit:function(e){var t;a=!0,t=e,i.Modules.Preview.preInitComplete()?n(t):i.Modules.Preview.eventManager.on("previewChecksFinished",function(){n(t)})},preInitRunning:function(){return a},preInitComplete:function(){return r}})})(window[window.GatedContentObject]),(a=>{function o(){var e;d&&s&&(e=s.offsetWidth/2,s.style.left="50%",s.style.marginLeft="-"+e+"px")}function r(e){if(d&&(e||!u)){document.body.classList.remove("gcdc-locked"),document.body.style.top="0px";try{document.body.scrollTop=c,document.documentElement.scrollTop=c}catch(e){}e&&(u=!1,document.body.classList.remove("gcdc-page-locked")),s.parentElement.style.display="none",s.parentElement.classList.remove("open"),s="",d=!1,a.Modules.UI.eventManager.emit("modalClosed"),a.Modules.Utilities.log(l,"deactivateModal","info","Modal closed")}}function e(e,t){t=t||0;var i=window.pageYOffset||document.documentElement.scrollTop,n=e.getBoundingClientRect().top+i-20-t,n=Math.floor(n);try{setTimeout(function(){window.scrollTo({top:n,behavior:"smooth"})},100)}catch(e){}}var s,l,d,u,c;a.Modules=a.Modules||{},a.Modules.UI=(u=d=!(l="Modules.UI"),c=0,{init:function(){a.Modules.UI.eventManager=new a.Classes.EventManager(a.Modules.UI),window.addEventListener("resize",function(e){o()}),document.addEventListener("keydown",function(e){var t,i;"Tab"!==e.key&&9!==e.keyCode||!d||(t=(i=s.querySelectorAll(a.Config.html.focusableElements))[0],i=i[i.length-1],s.contains(document.activeElement)||s.querySelectorAll(a.Config.html.focusableElements)[0].focus(),e.shiftKey?document.activeElement===t&&(i.focus(),e.preventDefault()):document.activeElement===i&&(t.focus(),e.preventDefault()))}),a.Modules.Utilities.log(l,"init","init","Module initialised")},namespace:l,openModal:function(e,t,i){var n;i&&r(),!d&&-1<(" "+e.className+" ").indexOf(" gcdc-modal-dialog ")&&(c=document.documentElement.scrollTop||document.body.scrollTop,e.parentElement.parentElement!==document.body&&document.body.appendChild(e.parentElement),t&&(u=!0,document.body.classList.add("gcdc-page-locked")),s=e,document.body.classList.add("gcdc-locked"),document.body.style.top="-"+c+"px",(i=e.querySelector(".gcdc-form-group-multistep-progress-text"))&&(n="gcdc-modal-aria-title-"+Math.random().toString(36).substr(2,5),i.id=n,e.setAttribute("aria-labelledby",n)),(i=e.querySelector(".gcdc-form-intro"))&&(n="gcdc-modal-aria-description-"+Math.random().toString(36).substr(2,5),i.id=n,e.setAttribute("aria-describedby",n)),e.parentElement.style.display="block",a.Modules.Utilities.setCaughtTimeout(function(){e.parentElement.classList.add("open"),o()},50),d=!0,o(),a.Modules.UI.eventManager.emit("modalOpened"),a.Modules.Utilities.log(l,"activateModal","info","Modal opened"))},closeModal:r,getCurrentModalDialogElement:function(){return s},updateModalPosition:o,injectLoader:function(e){var t=document.createElement("div"),i=(t.className="gcdc-loader",document.createElement("span"));i.setAttribute("aria-live","polite"),i.textContent="Loading...",t.appendChild(i),e.appendChild(t)},scrollTo:e,scrollTo:e,convertGateToModal:function(e){var n,t,i;e.wrapperElem.classList.add("gcdc-modal-dialog"),(t=e.wrapperElem).parentElement&&-1===(" "+t.parentElement.className+" ").indexOf(" gcdc-modal-wrapper ")&&((n=document.createElement("div")).className="gcdc-modal-wrapper",t.parentElement.insertBefore(n,t),n.appendChild(t),n.addEventListener("click",function(e){e.target===n&&(r(),e.preventDefault())}),n.addEventListener("touchstart",function(){var e=n.scrollTop,t=n.scrollHeight,i=e+n.offsetHeight;0===e?n.scrollTop=1:i===t&&(n.scrollTop=e-1)})),null===(t=e.wrapperElem).querySelector("a.gcdc-modal-close")&&((i=document.createElement("a")).href="#",i.className="gcdc-modal-close",i.setAttribute("aria-label","close"),i.setAttribute("role","button"),t.appendChild(i),i.addEventListener("click",function(e){r(),e.preventDefault()})),e.eventManager.on("formDisplayed",o,l),e.eventManager.on("contentDisplayed",o,l),o()},isDescendant:function(e,t){for(var i=t.parentNode;null!==i;){if(i==e)return!0;i=i.parentNode}return!1},getAncestorByClass:function(e,t){for(;(e=e.parentElement)&&!e.classList.contains(t););return e},simulateEvent:function(e,t){var i;"createEvent"in document?((i=document.createEvent("HTMLEvents")).initEvent(t,!1,!0),e.dispatchEvent(i)):e.fireEvent("on"+t)},windowHeight:function(){return window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight},windowWidth:function(){return window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth},bindToTextInputField:function(e,t){a.Modules.UI.addCaughtEventListener(e,"focus",function(e){t("on")}),a.Modules.UI.addCaughtEventListener(e,"keyup",function(e){"38"!=e.keyCode&&"40"!=e.keyCode&&"13"!=e.keyCode&&t("on")}),a.Modules.UI.addCaughtEventListener(e,"change",function(e){t("on")}),a.Modules.UI.addCaughtEventListener(e,"blur",function(e){t("off")})},addCaughtEventListener:function(e,t,i,n){e.addEventListener(t,function(e){if(a.Config.debug.active)i(e);else try{i(e)}catch(e){a.Modules.Utilities.log(l,"addCaughtEventListener","critical","Could not handle event listener callback:"+e.message)}},n)},listenForAttributeChange:function(t,i,n){var o;t&&"function"==typeof t.getAttribute&&"function"==typeof n&&(o=t.getAttribute(i),a.Modules.Utilities.setCaughtInterval(function(){var e=t.getAttribute(i);e!==o&&(o=e,n())},500))}})})(window[window.GatedContentObject]),(s=>{function t(e,t){var i=new Date;t||(i=new Date(i.getUTCFullYear(),i.getUTCMonth(),i.getUTCDate(),i.getUTCHours(),i.getUTCMinutes(),i.getUTCSeconds()));return"US"===e?n(i.getMonth()+1,2,"0")+"/"+n(i.getDate(),2,"0")+"/"+i.getFullYear()+" "+n(i.getHours(),2,"0")+":"+n(i.getMinutes(),2,"0")+":"+n(i.getSeconds(),2,"0"):"DATEONLY"===e?i.getFullYear()+"-"+n(i.getMonth()+1,2,"0")+"-"+n(i.getDate(),2,"0"):i.getFullYear()+"-"+n(i.getMonth()+1,2,"0")+"-"+n(i.getDate(),2,"0")+" "+n(i.getHours(),2,"0")+":"+n(i.getMinutes(),2,"0")+":"+n(i.getSeconds(),2,"0")}function n(e,t,i){return i=i||"0",(e+="").length>=t?e:new Array(t-e.length+1).join(i)+e}function e(e,t,n,o){if(4{e.longname===i&&(t=e.abbr)}),t||"GMT"+((new Date).getTimezoneOffset()<0?"+":"-")+Math.abs((new Date).getTimezoneOffset()/60)}},evaluateMicroCondition:function(e,t){if(e&&"|"!==e&&-1!==e.indexOf("|")){var i=e.indexOf("|"),n=e.slice(0,i),e=e.slice(i+1);if(n&&e){i=t.form.getFieldById(n);if(i)return i.getValue()===e}}},requestIdleCallback:function(e,t={timeout:2e3}){var i;return window.requestIdleCallback?window.requestIdleCallback(e,t):(i=Date.now(),setTimeout(function(){e({didTimeout:Date.now()-i>=t.timeout,timeRemaining:function(){return Math.max(0,50-(Date.now()-i))}})},1))}})})(window[window.GatedContentObject]),(c=>{function e(){var e,t=!1,i={};for(n in h)i[n]=c.Modules.Utilities.getQsParameter(h[n]),i[n]&&(t=!0);for(e in b){var n,o=b[e],a=g(e),r={};for(n in h){var s=c.Modules.Storage.readStorage("gcdcUtmStoredParameter-"+n+e),l="";!i[n]||!o.updateOnNewUtm&&(s||a&&a[n])?a&&a[n]&&a[n]!==s?l=a[n]:s&&(l=s):i[n]&&(l=i[n]),c.Modules.Storage.writeStorage("gcdcUtmStoredParameter-"+n+e,l,o.storageTime),r[n]=l,p.storeEmitData(n+e,l)}m(r,e)}var d,u=g("Multi")||{};u.current=u.current||p.readData("utmMultiSessionCurrent")||"",u.all=u.all||p.readData("utmMultiSessionAll")||"",c.Modules.UTMs.eventManager.emit("newSessionStatusDetermined",t||!u.current&&!u.all),t?d=f(i):u.current||u.all||(d=f({utmCampaign:null,utmMedium:"Organic/Direct",utmSource:c.Modules.Browser.getReferer(!0),utmContent:null,utmTerm:null})),d&&(u.current=u.current+d,u.all=u.all+d),p.storeEmitData("utmMultiSessionCurrent",u.current),p.storeEmitData("utmMultiSessionAll",u.all),m(u,"Multi",525600),c.Modules.Gate.eventManager.on("formSubmittedTrigger",function(){p.storeEmitData("utmMultiSessionCurrent","");var e=g("Multi")||{};e.current="",e.all=e.all||p.readData("utmMultiSessionAll")||"",m(e,"Multi",525600)})}function g(e){var t=null;if(c.Modules.Session.isCookieTrackingActive())try{var i=JSON.parse(c.Modules.Storage.readCookie("gcdc_utms"+e));i&&(t=i)}catch(e){}return t}function m(e,t,i){c.Modules.Session.isCookieTrackingActive()&&c.Modules.Storage.createCookie("gcdc_utms"+t,JSON.stringify(e),i||b[t].storageTime,"/",c.Config.advancedSettings.rootDomain)}function f(e){var t,i=c.Modules.Utilities.getLocalDatetime()+":";for(t in e)e.hasOwnProperty(t)&&(i+=t+"="+(e[t]||"None")+"&");return i=i.substring(0,i.length-1)+"|"}function t(e){return"timeOnPage"===e&&getTimeOnPage()}var p,i,h,b;c.Modules=c.Modules||{},c.Modules.UTMs=(b={Session:{storageTime:0,updateOnNewUtm:!0},First:{storageTime:525600,updateOnNewUtm:!(h={utmCampaign:"utm_campaign",utmMedium:"utm_medium",utmSource:"utm_source",utmContent:"utm_content",utmTerm:"utm_term"})},Last:{storageTime:525600,updateOnNewUtm:!0}},{init:function(){p=c.Modules.DataSources.registerDataSource("utms",t),c.Modules.UTMs.eventManager=new c.Classes.EventManager(c.Modules.UTMs),c.Core.eventManager.on("setup",function(){e()},i),c.Modules.Utilities.log(i,"init","init","Module initialised")},namespace:i="Modules.UTMs"})})(window[window.GatedContentObject]),(e=>{var t;e.Modules=e.Modules||{},e.Modules.ViewScroll={init:function(){e.Modules.Utilities.log(t,"init","init","Module initialised")},namespace:t="Modules.ViewScroll",whenVisible:function(e,i,n){"function"==typeof IntersectionObserver&&new IntersectionObserver(function(e,t){e.forEach(function(e){0{function e(t,i,n){s.Modules.Utilities.log(l,"getJson","ajax","Making XHR call to",t);function o(e){if(s.Modules.Utilities.log(l,"getJson","ajax","XHR response received from",t,"attempting to JSON parse"),"function"==typeof i)if(s.Config.debug.active)i(e);else try{i(e)}catch(e){s.Modules.Utilities.log(l,"get","critical","Could not handle XHR callback:"+e.message)}}if(window.XDomainRequest)t=window.location.href.match(/^http:/i)?t.replace(/^https:/i,"http:"):t.replace(/^http:/i,"https:"),setTimeout(function(){try{var e=new XDomainRequest;e.open("get",t),e.onprogress=function(){},e.ontimeout=function(){},e.onerror=function(){},e.onload=function(){o(e.responseText)},e.send()}catch(e){if(s.Modules.Utilities.log(l,"get","critical","Failed to trigger AJAX request:",e.message),"function"==typeof n)if(s.Config.debug.active)n();else try{n()}catch(e){s.Modules.Utilities.log(l,"get","critical","Could not handle XHR failure callback:",e.message)}}},0);else try{var e=new XMLHttpRequest;e.onload=function(){o(e.responseText)},e.open("GET",t,!0),e.send()}catch(e){if(s.Modules.Utilities.log(l,"get","critical","Failed to trigger AJAX request:",e.message),"function"==typeof n)if(s.Config.debug.active)n();else try{n()}catch(e){s.Modules.Utilities.log(l,"get","critical","Could not handle XHR failure callback:"+e.message)}}}function i(n,t,o,a,e){if(window.XMLHttpRequest){var i;s.Modules.Utilities.log(l,"post","ajax","Making XHR post to",n),i="application/json"===e?JSON.stringify(t):Object.keys(t).map(function(e){return encodeURIComponent(e)+"="+encodeURIComponent(t[e])}).join("&");try{var r=new XMLHttpRequest;r.open("POST",n,!0),r.setRequestHeader("Content-type",e||"application/x-www-form-urlencoded"),r.onload=function(){var e=r.responseText;s.Modules.Utilities.log(l,"post","ajax","XHR response received from",n,"attempting to JSON parse");var t,i=!1;try{t=JSON.parse(e)}catch(e){s.Modules.Utilities.log(l,"post","critical","Could not JSON parse response from",n," error was:",e),i=!0}if(i){if("function"==typeof a)if(s.Config.debug.active)a();else try{a()}catch(e){s.Modules.Utilities.log(l,"get","critical","Could not handle XHR failure callback:"+e.message)}}else if(t.Error)s.Modules.Utilities.log(l,"post","critical","XHR response from",n,"indicated error status, attempting to continue. Message was:",t.Message),a(t);else if(s.Modules.Utilities.log(l,"post","ajax","XHR response received from",n,"successfully JSON parsed, firing callback"),"function"==typeof o)if(s.Config.debug.active)o(t);else try{o(t)}catch(e){s.Modules.Utilities.log(l,"post","critical","Could not handle XHR callback:"+e.message)}},r.send(i)}catch(e){if(s.Modules.Utilities.log(l,"get","critical","Failed to trigger AJAX request:",e.message),"function"==typeof a)if(s.Config.debug.active)a();else try{a()}catch(e){s.Modules.Utilities.log(l,"post","critical","Could not handle XHR failure callback:"+e.message)}}}else s.Modules.Utilities.log(l,"post","warning","Browser does not support XMLHttpRequest, could not post to",n)}var l;s.Modules=s.Modules||{},s.Modules.XHR={init:function(){s.Modules.Utilities.log(l,"init","init","Module initialised")},namespace:l="Modules.XHR",getJson:function(n,o,a){e(n,function(e){var t,i=!1;try{t=JSON.parse(e)}catch(e){s.Modules.Utilities.log(l,"getJson","critical","Could not JSON parse response from",n," error was:",e),i=!0}if(!i)if(t.Error){if(s.Modules.Utilities.log(l,"getJson","critical","XHR response from",n,"indicated error status, attempting to continue. Message was:",t.Message),"function"==typeof a)if(s.Config.debug.active)a();else try{a()}catch(e){s.Modules.Utilities.log(l,"getJson","critical","Could not handle XHR failure callback:"+e.message)}}else if(s.Modules.Utilities.log(l,"getJson","ajax","XHR response received from",n,"successfully JSON parsed, firing callback"),"function"==typeof o)if(s.Config.debug.active)o(t);else try{o(t)}catch(e){s.Modules.Utilities.log(l,"getJson","critical","Could not handle XHR callback:"+e.message)}},a)},get:e,post:i,checkExists:function(e,t){i("https://app.gatedcontent.com/tools/checkurl/",{url:e},function(e){if(s.Config.debug.active)e.Error&&"false"!==e.Error?t(!1):t(!0);else try{e.Error&&"false"!==e.Error?t(!1):t(!0)}catch(e){s.Modules.Utilities.log(l,"checkExists","critical","Could not handle XHR callback:"+e.message)}})}}})(window[window.GatedContentObject]),(s=>{var l;s.Config.integrations.download={active:!1,name:"Download",integrationModule:"Download",modalAutodownload:!0},s.Resources.Templates.downloadLinkTemplate=function(e){var t=s.Modules.Localise.translateString("autoDownloadMessage",e.lang,"If your download does not start automatically please click the button below.");return e.autoDownloaded?["div.gcdc-content-download-link",["p.gcdc-autodownload-notice",t],["p",[["a",{href:e.downloadUrl,target:"_blank"},["span"],e.downloadText]]]]:["div.gcdc-content-download-link",["p",[["a",{href:e.downloadUrl,target:"_blank"},["span"],e.downloadText]]]]},s.Integrations=s.Integrations||{},s.Integrations.Download={init:function(){s.Modules.Utilities.log(l,"init","init","Module initialised"),s.Config.integrations.download.active&&(s.Config.gates.gateTypes.download=s.Config.integrations.download.name,s.Config.tracking.triggers.download={},s.Config.tracking.triggers.download.download={allowMultiple:!1,name:"Downloaded files/document",description:"This event will be triggered the first time a user downloads a document or file, either manually be clicking a link within a gate or automatically after a form submission."})},namespace:l="Integrations.Download",extendGate:function(){var e,t,i,n,o=this,a=!0,r=!1;i=o.getConfigAttribute("downloadUrl"),n=o.getConfigAttribute("downloadText"),o.eventManager.on("contentRendered",function(){e=s.Modules.Template.render("downloadLink",{downloadUrl:i,downloadText:n,lang:o.getConfigAttribute("lang"),autoDownloaded:s.Config.integrations.download.modalAutodownload&&!o.form.blindSubmitted&&o.form.submitted}),t=e.querySelector("p a"),o.contentElem.appendChild(e),t&&s.Modules.UI.addCaughtEventListener(t,"click",function(e){r=!0,o.handleContentInteraction("download","download")})},l),o.eventManager.on("submitted",function(){a=!0,!s.Config.integrations.download.modalAutodownload||r||o.form.blindSubmitted||(r=!0,s.Modules.Utilities.setCaughtTimeout(function(){window.open(i,"_blank"),o.handleContentInteraction("download","download")},1e3))},l),o.eventManager.on("openGateModal",function(){o.gateOpen()&&a?(o.preventModalOpeningOnce=!0,o.handleContentInteraction("download","download"),window.open(o.getConfigAttribute("downloadUrl"),"_blank")):a=!1},l),o.eventManager.on("gateBuilt",function(){o.isModal&&s.Modules.UI.getCurrentModalDialogElement()===o.wrapperElem&&(o.gateOpen()?(o.handleContentInteraction("download","download"),window.open(o.getConfigAttribute("downloadUrl"),"_blank"),s.Modules.UI.closeModal()):a=!1)}),s.Modules.Utilities.log(l,"setup","info","Gate ID:",o.id,"Gate download functionality added")}}})(window[window.GatedContentObject]),(u=>{var c,g;u.Config.integrations.pagelock={active:!1,name:"Page gate",integrationModule:"Pagelock",enabledPagelockImmediate:!0,enabledPagelockDelayed:!0,enabledPagelockOnScroll:!0,enabledPagelockFixedElement:!1,enabledPagelockCustomElement:!1,hideFixedElementSelector:".gcdc-pagegate-hide-on-open",showFixedElementSelector:".gcdc-pagegate-show-on-open"},u.Integrations=u.Integrations||{},u.Integrations.Pagelock=(g=!(c="Integrations.Pagelock"),{init:function(){u.Modules.Utilities.log(c,"init","init","Module initialised"),u.Config.integrations.pagelock.active&&(u.Config.gates.gateTypes.pagelock=u.Config.integrations.pagelock.name,u.Config.tracking.triggers.pagelock={},u.Config.tracking.triggers.pagelock.pageLockView={allowMultiple:!1,name:"Page viewed",description:"This event will be triggered when a user views a page that was previously being protected by a page gate."})},namespace:c,extendGate:function(){var t=this,e=!1,i=!1,n=t.getConfigAttribute("pagelockType"),o=function(){"pagelockDelayed"===n?setTimeout(d,1e3*t.getConfigAttribute("pagelockDelay")):"pagelockOnScroll"===n?window.addEventListener("scroll",function e(){window.scrollY>t.getConfigAttribute("pagelockScroll")&&(d(),window.removeEventListener("scroll",e))}):"pagelockFixedElement"===n?(e=!0,a(u.Config.integrations.pagelock.hideFixedElementSelector,u.Config.integrations.pagelock.showFixedElementSelector,"hide")):"pagelockCustomElement"===n?a(!(e=!0),t.getConfigAttribute("pagelockCustomSelector"),"hide"):d()},a=function(e,t,i){e=!!e&&document.querySelectorAll(e),t=!!t&&document.querySelectorAll(t);e&&r(e,"show"===i?"none":"block"),t&&r(t,"show"===i?"block":"none")},r=function(e,t){if(e)for(var i in e)e.hasOwnProperty(i)&&(e[i].style.display=t)},s=function(){"pagelockFixedElement"===n||"pagelockCustomElement"===n?("pagelockFixedElement"===n?a(u.Config.integrations.pagelock.hideFixedElementSelector,u.Config.integrations.pagelock.showFixedElementSelector,"show"):"pagelockCustomElement"===n&&a(!1,t.getConfigAttribute("pagelockCustomSelector"),"show"),window.isGcdcPortal||(t.wrapperElem.style.display="none")):e&&(e=!1,u.Modules.UI.closeModal(!0)),g||(t.handleContentInteraction("pagelock","pageLockView"),g=!0)},l=function(){return!(t.gateOpen()||window.gcdcPageLocked&&window.gcdcPageLockGateID!==t.id||window.isGcdcPortal)},d=function(){e=!0,window.gcdcPageLocked=!0,window.gcdcPageLockGateID=t.id,u.Modules.UI.openModal(t.wrapperElem,!t.getConfigAttribute("pagelockAllowClose"))};"pagelockFixedElement"===n||"pagelockCustomElement"===n||window.isGcdcPortal||(t.forceModal=!0),t.eventManager.on("visibilityUpdated",function(){i?e&&!l()&&s():(i=!0,l()?(u.Modules.Utilities.log(c,"setup","info","Gate ID:",t.id,"Page is locked, displaying pagelock form"),o()):window.isGcdcPortal||s())},c),t.eventManager.on("submitted",function(){s()},c),u.Modules.Utilities.log(c,"setup","info","Gate ID:",t.id,"Gate pagelock functionality added")}})})(window[window.GatedContentObject]),(i=>{var e;i.Config.integrations.pathfactory={active:!1,name:"PathFactory",integrationModule:"PathFactory"},i.Integrations=i.Integrations||{},i.Integrations.PathFactory={init:function(){i.Modules.Utilities.log(e,"init","init","Module initialised"),i.Config.integrations.pathfactory.active&&(i.Config.gates.gateTypes.pathfactory=i.Config.integrations.pathfactory.name,i.Config.tracking.triggers.pathfactory={},i.Config.tracking.triggers.pathfactory.pathfactoryView={allowMultiple:!1,name:"PathFactory document viewed",description:"This event will be triggered when a user views a PathFactory document."})},namespace:e="Integrations.PathFactory",extendGate:function(){var t=this;t.wrapperElem.classList.add("gcdc-pathfactory-gate"),t.eventManager.on("submitted",function(){t.handleContentInteraction("pathfactory","pathfactoryView"),i.Modules.Utilities.setCaughtTimeout(function(){var e=t.form.getFieldById(i.Config.defaultFields.emailField);e&&e.getValue()&&window.parent.postMessage({conversionUrl:document.location.href,referrer:document.referrer,email:e.getValue(),lookbookExternalForm:!0},"*"),i.Modules.Utilities.setCaughtTimeout(function(){window.location="https://app.gatedcontent.com/loading.html"},500)},1500)}),i.Modules.ViewScroll.whenVisible(t.wrapperElem,function(){t.gateOpen()&&(window.isGcdcPortal?i.Modules.Utilities.log(t.namespace,"extendGate","info","Gate not blind submitting in GCDC portal"):setTimeout(t.form.blindSubmit,200))},!0)}}})(window[window.GatedContentObject]),(l=>{function t(){function e(){s=!0,l.Modules.Utilities.setCaughtTimeout(function(){a.handleContentInteraction("redirect","redirect"),l.Modules.Utilities.setCaughtTimeout(function(){window.location=a.getConfigAttribute("redirectUrl")},1500)},500)}var t,i,n,o,a=this,r=!0,s=!1;n=a.getConfigAttribute("redirectText"),o=a.getConfigAttribute("redirectNewTab"),a.eventManager.on("contentRendered",function(){t=l.Modules.Template.render("redirectLink",{redirectUrl:a.getConfigAttribute("redirectUrl"),redirectText:n,lang:a.getConfigAttribute("lang")}),i=t.querySelector("p a"),a.contentElem.appendChild(t),i&&l.Modules.UI.addCaughtEventListener(i,"click",function(e){o||s||(a.hideContent(),e.preventDefault()),a.handleContentInteraction("redirect","redirect")})},d),a.eventManager.on("submitted",function(){r=!0},d),a.eventManager.on("gateBuilt",function(){o?a.eventManager.on("submitted",function(){s||a.form.blindSubmitted||(s=!0,l.Modules.Utilities.setCaughtTimeout(function(){window.open(a.getConfigAttribute("redirectUrl"),"_blank"),a.handleContentInteraction("redirect","redirect")},1e3))},d):"function"==typeof a.form.customSubmissionBehaviour||l.Config.gates.useFetchSubmission&&!l.Config.integrations.redirect.mapDoesRedirect?a.eventManager.on("submitted",function(){(s||a.form.blindSubmitted&&!a.isModal)&&(!l.Config.gates.useFetchSubmission||l.Config.integrations.redirect.mapDoesRedirect)||e()},d):(a.forceBlindSubmitOnContentInteraction=!0,a.setConfigAttribute("formSubmissionBehaviour","s"),a.eventManager.on("synchronousSubmission",function(){a.handleContentInteraction("redirect","redirect")},d)),a.isModal&&l.Modules.UI.getCurrentModalDialogElement()===a.wrapperElem&&(a.gateOpen()?(l.Modules.UI.closeModal(),a.handleContentInteraction("redirect","redirect"),o?window.open(a.getConfigAttribute("redirectUrl"),"_blank"):(a.hideContent(),"function"==typeof a.form.customSubmissionBehaviour&&l.Modules.Utilities.setCaughtTimeout(function(){e()},6e3))):r=!1)}),a.eventManager.on("openGateModal",function(){a.gateOpen()&&r&&(a.handleContentInteraction("redirect","redirect"),o?(a.preventModalOpeningOnce=!0,window.open(a.getConfigAttribute("redirectUrl"),"_blank")):(a.hideContent(),"function"==typeof a.form.customSubmissionBehaviour&&l.Modules.Utilities.setCaughtTimeout(function(){e()},6e3)))},d),l.Modules.Utilities.log(d,"setup","info","Gate ID:",a.id,"Gate redirect functionality added")}var d;l.Config.integrations.redirect={active:!1,name:"Redirect",integrationModule:"Redirect",allowGateTypeOverrides:!1,allowedGateTypeOverrides:[],mapDoesRedirect:!1},l.Resources.Templates.redirectLinkTemplate=function(e){return["div.gcdc-content-download-link",["p",[["a",{href:e.redirectUrl||"#",target:"_blank"},["span"],e.redirectText]]]]},l.Integrations=l.Integrations||{},l.Integrations.Redirect={init:function(){l.Modules.Utilities.log(d,"init","init","Module initialised"),l.Config.integrations.redirect.active&&(l.Config.gates.gateTypes.redirect=l.Config.integrations.redirect.name,l.Config.tracking.triggers.redirect={},l.Config.tracking.triggers.redirect.redirect={allowMultiple:!1,name:"Redirected to URL",description:"This event will be triggered when a user is redirect to another URL by a gate."}),l.Modules.Gate.eventManager.on("newGateInit",function(e){e.eventManager.on("gateExtended",function(e){l.Config.integrations.redirect.allowGateTypeOverrides&&"true"===e.getConfigAttribute("redirectOverride")&&"redirect"!==e.getConfigAttribute("gateType")&&t.call(e)})},d)},namespace:d="Integrations.Redirect",extendGate:t}})(window[window.GatedContentObject]),(l=>{var d;l.Config.integrations.vidyard={active:!1,name:"Vidyard",integrationModule:"Vidyard",sendEmailQS:!1,modalVideoAutoplay:!0},l.Resources.Templates.vidyardVideoTemplate=function(e){e.vidyardId;return e.emailAddress&&e.emailAddress,["div.gcdc-content-vidyard-video"]},l.Integrations=l.Integrations||{},l.Integrations.Vidyard={init:function(){l.Modules.Utilities.log(d,"init","init","Module initialised"),l.Config.integrations.vidyard.active&&(l.Config.gates.gateTypes.vidyard=l.Config.integrations.vidyard.name,l.Config.tracking.triggers.vidyard={},l.Config.tracking.triggers.vidyard.videoPlay={allowMultiple:!1,name:"Video played",description:"This event will be triggered when a Vidyard video starts playing for the first time."},l.Config.tracking.triggers.vidyard.videoCompleted={allowMultiple:!1,name:"Video completed",description:"This event will be triggered when a Vidyard video plays to the end for the first time."})},namespace:d="Integrations.Vidyard",extendGate:function(){var t,i,n,o=this,a=!1,r=function(){new Promise(t=>window.vidyardEmbed?t(window.vidyardEmbed):window.onVidyardAPI=e=>t(e)).then(e=>{e.api.addReadyListener((e,t)=>{(i=t).on("play",function(){a=!0,o.handleContentInteraction("vidyard","videoPlay")}),i.on("playerComplete",function(){o.handleContentInteraction("vidyard","videoCompleted")}),l.Modules.UI.eventManager.on("modalClosed",function(){i.pause()},d),l.Modules.UI.eventManager.on("modalOpened",function(){o.gateOpen()&&s()},d),s()},n),e.api.renderPlayer({uuid:n,container:t})})},s=function(){l.Modules.UI.isDescendant(l.Modules.UI.getCurrentModalDialogElement(),t)&&"object"==typeof i&&l.Config.integrations.vidyard.modalVideoAutoplay&&(a?i.resume():i.play())};"object"!=typeof Vidyard&&l.Modules.Utilities.loadScript("https://play.vidyard.com/embed/v4.js"),n=o.getConfigAttribute("vidyardId"),o.eventManager.on("contentRendered",function(){var e;e={vidyardId:n},l.Config.integrations.vidyard.sendEmailQS&&l.Modules.Storage.readStorage(l.Config.storage.userFieldDataPrefix+l.Config.defaultFields.emailField)&&(e.emailAddress=l.Modules.Storage.readStorage(l.Config.storage.userFieldDataPrefix+l.Config.defaultFields.emailField)),t=l.Modules.Template.render("vidyardVideo",e),o.contentElem.appendChild(t),r()},d),l.Modules.Utilities.log(d,"setup","info","Gate ID:",o.id,"Gate Vidyard functionality added")}}})(window[window.GatedContentObject]),(l=>{function e(){var e;h?"function"==typeof window.GetElqCustomerGUID?(w=window.GetElqCustomerGUID(),f.storeEmitData("elqCustomerGUID",w),null===l.Modules.Storage.readStorage("elqIgnoreGuid"+w)||null!==y&&""!==y||null!==T&&""!==T?(l.Modules.Utilities.log(p,"getEloquaCustomerGUID","info","Customer guid found:",w),o()):(l.Modules.Utilities.log(p,"getEloquaCustomerGUID","warning","Customer guid",w,"has previously been supressed and will not be used for pre-pop"),a(!1))):0"+i+"",_elqQ.push(["elqDataLookup",escape(e),n])):_elqQ.push(["elqDataLookup",escape(e),""])):(l.Modules.Utilities.log(p,"doDataLookup","error","Valid object of required fields and callback function required"),"function"==typeof a&&a()):(l.Modules.Utilities.log(p,"doDataLookup","error","Eloqua not active on this page"),"function"==typeof a&&a())}function n(e){for(var t in S)e[t]&&""!==e[t]&&(l.Modules.Utilities.log(p,"mapFields","info","Value of Eloqua contact field",t,"is:",e[t]),f.storeEmitData(t,e[t]));a(!0)}function o(e){e=e||0,null!==T&&""!==T&&e<1?(l.Modules.Utilities.log(p,"identifyContact","info","Attempting to find record using email PURL (method 1)",T),l.Modules.XHR.getJson("https://app.gatedcontent.com/integrations/eloqua/"+l.Config.account.id+"/contact-purl/"+T,function(e){!1===e.Error?(l.Modules.Utilities.log(p,"identifyContact","info","Found contact record using email PURL (method 1)",T),l.Modules.Storage.writeStorage("elqEmailRecip",y,l.Config.storage.defaultUserDataRetention),f.clearData(),n(e.Body)):(l.Modules.Utilities.log(p,"identifyContact","error","Failed to find a contact record using email PURL (method 1)",T),o(1))},function(){o(1)})):w&&null!==y&&""!==y&&""!==l.Config.integrations.eloqua.dataLookupIdsemailRecipientLookup&&""!==l.Config.integrations.eloqua.dataLookupIdsemailContactLookup&&e<2?(l.Modules.Utilities.log(p,"identifyContact","info","Attempting to find record using EmailRecipientID (method 2)",t(y)),i(l.Config.integrations.eloqua.dataLookupIdsemailRecipientLookup,l.Config.integrations.eloqua.dataLookupIdsemailRecipientLookupSearchField,t(y),[l.Config.integrations.eloqua.dataLookupIdsemailRecipientLookupReturnField],function(e){""!==e[l.Config.integrations.eloqua.dataLookupIdsemailRecipientLookupReturnField]?i(l.Config.integrations.eloqua.dataLookupIdsemailContactLookup,l.Config.integrations.eloqua.dataLookupIdsemailContactLookupSearchField,e[l.Config.integrations.eloqua.dataLookupIdsemailRecipientLookupReturnField],l.Modules.Utilities.objKeysAsArray(S),function(e){""!==e[l.Config.integrations.eloqua.dataLookupIdsemailContactLookupReturnField]?(l.Modules.Utilities.log(p,"identifyContact","info","Found contact record using EmailRecipientID (method 2)",y),l.Modules.Storage.writeStorage("elqEmailRecip",y,l.Config.storage.defaultUserDataRetention),f.clearData(),n(e)):o(2)},function(){o(2)}):o(2)},function(){o(2)})):w&&l.Config.integrations.eloqua.useApi&&e<3?l.Modules.XHR.getJson("https://app.gatedcontent.com/integrations/eloqua/"+l.Config.account.id+"/contact/"+w,function(e){!1===e.Error?(l.Modules.Utilities.log(p,"identifyContact","info","Found contact record using GUID (method 3)",w),n(e.Body)):(l.Modules.Utilities.log(p,"identifyContact","error","Failed to find a contact record using GUID (method 3)",w),o(3))},function(){o(3)}):w&&""!==l.Config.integrations.eloqua.dataLookupIdsvisitorLookup&&""!==l.Config.integrations.eloqua.dataLookupIdsemailContactLookup&&e<4?i(l.Config.integrations.eloqua.dataLookupIdsvisitorLookup,!1,!1,[l.Config.integrations.eloqua.dataLookupIdsvisitorLookupReturnField],function(e){""!==e[l.Config.integrations.eloqua.dataLookupIdsvisitorLookupReturnField]?i(l.Config.integrations.eloqua.dataLookupIdsemailContactLookup,l.Config.integrations.eloqua.dataLookupIdsemailContactLookupSearchField,e[l.Config.integrations.eloqua.dataLookupIdsvisitorLookupReturnField],l.Modules.Utilities.objKeysAsArray(S),function(e){""!==e[l.Config.integrations.eloqua.dataLookupIdsemailContactLookupReturnField]?(l.Modules.Utilities.log(p,"identifyContact","info","Found contact record using web lookups (method 4)"),n(e)):o(4)},function(){o(4)}):o(4)},function(){o(4)}):w&&""!==l.Config.defaultFields.emailField&&l.Modules.Storage.readStorage(l.Config.storage.userFieldDataPrefix+l.Config.defaultFields.emailField)&&""!==l.Config.integrations.eloqua.dataLookupIdsemailContactLookup&&e<5?(e=l.Modules.Storage.readStorage(l.Config.storage.userFieldDataPrefix+l.Config.defaultFields.emailField),i(l.Config.integrations.eloqua.dataLookupIdsemailContactLookup,l.Config.integrations.eloqua.dataLookupIdsemailContactLookupSearchField,e,l.Modules.Utilities.objKeysAsArray(S),function(e){""!==e[l.Config.integrations.eloqua.dataLookupIdsemailContactLookupReturnField]?(l.Modules.Utilities.log(p,"identifyContact","info","Found contact record using existing user email address (method 5)"),n(e)):o(5)},function(){o(5)})):a(!1)}function a(e){l.Modules.Gate.eventManager.release("buildGate","eloquaLookup",p),l.Modules.Gate.updateAllGateVisibility(),e?l.Modules.Storage.writeStorage("elqLookup","true",l.Config.storage.defaultUserDataRetention):(l.Modules.Utilities.log(p,"tidyUp","error","Couldn't identify user, giving up"),s()),l.Integrations.Eloqua.eventManager.emit("lookupComplete",!0),E=!0}function r(){f.clearData(),l.Modules.Storage.writeStorage("elqIgnoreGuid"+w,"true",l.Config.storage.defaultUserDataRetention),w=null,l.Modules.Utilities.log(p,"forget","info","Cleared Eloqua profile data")}function s(){for(var e in S)l.Modules.Utilities.log(p,"mapFields","info","Emitting previously stored value of Eloqua contact field",e),f.readEmitData(e)}function d(e){l.Config.integrations.eloqua.active&&((e=l.Config.gates.formTypes[e]).fields.push({id:"elqSiteId",name:"elqSiteId",description:"",type:"hidden",defaultValue:l.Config.integrations.eloqua.siteid,setValue:{},conditions:[]},{id:"elqCustomerGUID",name:"elqCustomerGUID",description:"",type:"hidden",defaultValue:"",setValue:{type:"eloqua",value:"elqCustomerGUID"},conditions:[]},{id:"elqCookieWrite",name:"elqCookieWrite",description:"",type:"hidden",defaultValue:"0",setValue:{},conditions:[]}),l.Config.integrations.eloqua.spamProtection)&&e.fields.push({id:"elqFormSubmissionToken",name:"elqFormSubmissionToken",description:"",type:"hidden",defaultValue:"",setValue:{},conditions:[],noReplaceValue:!0},{id:l.Config.integrations.eloqua.spamHoneypotFieldID,name:l.Config.integrations.eloqua.spamHoneypotFieldID,description:"Enter an address",type:"text",autocomplete:"off",defaultValue:"",setValue:{},conditions:[{trigger:"load",if:{type:"alwaysRun",target:"",attribute:"",condition:"",valueList:[],value:""},then:[{action:"hide",setValue:{type:"",value:""},options:[],matchsetlabel:"",matchsetlabelname:"",matchsetplaceholder:"",matchsetplaceholdername:"",matchsetcontent:"",matchsetcontentname:"",matchsetsubmissiontext:""}],else:[]}]})}function u(){if(l.Config.integrations.eloqua.active){if(l.Config.requestedDataSources.eloqua&&"object"==typeof l.Config.requestedDataSources.eloqua)for(var e in l.Config.requestedDataSources.eloqua)S[e]="";y=l.Modules.Utilities.getQsParameter("elq"),T=l.Modules.Utilities.getQsParameter("elq_purl"),window.isGcdcPortal||l.Config.integrations.eloqua.supressLookups||null!==l.Modules.Storage.readStorage("elqLookup")&&l.Modules.Storage.readStorage("elqEmailRecip")===y&&l.Modules.Storage.readStorage("elqEmailPURL")===T?(s(),l.Integrations.Eloqua.eventManager.emit("lookupComplete",!1),E=!0):(l.Modules.Gate.eventManager.block("buildGate","eloquaLookup",p),l.Modules.Gate.eventManager.on("notMeTrigger",r,p),l("getEloquaCustomerGUID")),l.Modules.Gate.eventManager.on("notMeTrigger",r,p)}}function c(e){return!1}function g(t){var i,e;l.Config.integrations.eloqua.active&&l.Config.integrations.eloqua.spamProtection&&(i=t.form.getFieldById("elqFormSubmissionToken"))&&(e="https://"+l.Modules.Utilities.getHostName(l.Config.advancedSettings.submissionUrl)+"/e/formsubmittoken?elqSiteID="+l.Config.integrations.eloqua.siteid,l.Modules.XHR.get(e,function(e){i.setValue(e)})),t.eventManager.on("submission",function(){var e=t.form.getFieldById("elqCustomerGUID");e&&!e.getValue()&&w&&e.setValue(w)})}var m,f,p,h,b,v,C,M,w,y,T,S,E;l.Config.integrations.eloqua={active:!1,name:"Eloqua",integrationModule:"Eloqua",siteid:"",submissionUrl:"",useApi:!1,dataLookupIdsemailRecipientLookup:"",dataLookupIdsemailRecipientLookupSearchField:"V_EmailRecipientID",dataLookupIdsemailRecipientLookupReturnField:"V_Email_Address",dataLookupIdsemailContactLookup:"",dataLookupIdsemailContactLookupSearchField:"C_EmailAddress",dataLookupIdsemailContactLookupReturnField:"C_EmailAddress",dataLookupIdsvisitorLookup:"",dataLookupIdsvisitorLookupReturnField:"V_Email_Address",spamProtection:!1,spamHoneypotFieldID:"address1",supressLookups:!1},l.Integrations=l.Integrations||{},l.Integrations.Eloqua=(h=!(p="Integrations.Eloqua"),b=10,C=v=20,M=1500,T=y=w=null,E=!(S={elqCustomerGUID:""}),{init:function(){l.Integrations.Eloqua.eventManager=new l.Classes.EventManager(l.Integrations.Eloqua),f=l.Modules.DataSources.registerDataSource("eloqua",c,!0),l.Core.registerPlugin("getEloquaCustomerGUID",e),l.Modules.Gate.eventManager.on("formTypeLoaded",d,p),l.Core.eventManager.on("setup",u,p),l.Modules.Gate.eventManager.on("newGateBuilt",g,p),l.Modules.Utilities.log(p,"init","init","Module initialised")},namespace:p,doDataLookup:i,formatGuidFromString:t,areLookupsComplete:function(){return E},applySubmissionMethod:function(e){e.elem.setAttribute("action",l.Config.integrations.eloqua.submissionUrl)}})})(window[window.GatedContentObject]),(t=>{function e(){void 0!==window.gtag||window.ga?i():setTimeout(function(){void 0!==window.gtag||window.ga?i():t.Modules.Utilities.log(a,"setup","error","Google Analytics is not running correctly on this page. Please add the GA tracking script.")},5e3)}function i(){var e;window.ga?ga&&ga.getAll&&ga.getAll()[0]?(e=ga.getAll()[0],o.emitData("clientId",e.get("clientId")),o.emitData("userId",e.get("userId")||""),o.emitData("trackingId",e.get("trackingId"))):t.Modules.Utilities.log(a,"setup","error","Google Analytics is not running correctly on this page. Please add the GA tracking script."):"undefined"!=typeof gtag&&((e=(()=>{if(window.google_tag_manager)for(var e in window.google_tag_manager)if(window.google_tag_manager.hasOwnProperty(e)&&(/^G-\w+$/.test(e)||/^UA-\d+-\d+$/.test(e)))return e;return null})())?(gtag("get",e,"client_id",function(e){o.emitData("clientId",e)}),gtag("get",e,"user_id",function(e){o.emitData("userId",e||"")}),o.emitData("trackingId",e)):t.Modules.Utilities.log(a,"setup","error","Google Analytics is not running correctly on this page. Please add the GA tracking script."))}function n(e){return!1}var o,a;t.Config.integrations.ga={active:!1,name:"Google Analytics",integrationModule:"GA"},t.Integrations=t.Integrations||{},t.Integrations.GA={init:function(){t.Config.integrations.ga.active&&(o=t.Modules.DataSources.registerDataSource("ga",n,!1),t.Core.eventManager.on("setup",e,a)),t.Modules.Utilities.log(a,"init","init","Module initialised")},namespace:a="Integrations.GA"}})(window[window.GatedContentObject]),(t=>{var i,e;t.Config.integrations.onetrust={active:!1,name:"OneTrust",integrationModule:"OneTrust",oneTrustFunctionalGroup:"C0003",oneTrustPerformanceGroup:"C0002"},t.Integrations=t.Integrations||{},t.Integrations.OneTrust={init:function(){if(t.Config.integrations.onetrust.active){t.Modules.Privacy.registerPrivacyCheck(function(e){return!(1===e&&window.OnetrustActiveGroups&&-1===window.OnetrustActiveGroups.indexOf(t.Config.integrations.onetrust.oneTrustFunctionalGroup)||2===e&&window.OnetrustActiveGroups&&-1===window.OnetrustActiveGroups.indexOf(t.Config.integrations.onetrust.oneTrustPerformanceGroup))}),i=t.Modules.DataSources.registerDataSource("onetrust",function(){return!1});let e="";window.OnetrustActiveGroups&&(e="false",window.OnetrustActiveGroups.indexOf(t.Config.integrations.onetrust.oneTrustFunctionalGroup)?e="functional":window.OnetrustActiveGroups.indexOf(t.Config.integrations.onetrust.oneTrustPerformanceGroup)&&(e="performance")),i.emitData("oneTrustLevel",e)}t.Modules.Utilities.log(e,"init","init","Module initialised")},namespace:e="Integrations.OneTrust"}})(window[window.GatedContentObject]),(n=>{function o(e){e.form.updateFieldValues(s);let t=e.form.getFieldById("db_industry");if(t){let e=t.getValue();setInterval(function(){t.getValue()!==e&&(t.setValue(t.getValue(),!0),e=t.getValue())},600)}}function a(){n.Modules.Utilities.log(r,"postSetup","info","Executing custom post-setup actions")}var r,s;n.Modules=n.Modules||{},n.Modules.Utilities.mergeDeep(n.Config,{environment:"production",account:{id:"25583474",active:1},integrations:{download:{modalAutodownload:!0,active:!0},pagelock:{enabledPagelockImmediate:!0,enabledPagelockDelayed:!0,enabledPagelockOnScroll:!0,enabledPagelockFixedElement:!0,enabledPagelockCustomElement:!0,hideFixedElementSelector:".gcdc-pagegate-hide-on-open",showFixedElementSelector:".gcdc-pagegate-show-on-open",active:!0},pathfactory:{active:!0},redirect:{active:!0},vidyard:{sendEmailQS:!0,modalVideoAutoplay:"",active:!0},eloqua:{siteid:"459",dataLookupIdsemailRecipientLookup:"c6599184-3d6e-4dd1-a0d2-e6cf7be7c4c2",dataLookupIdsemailRecipientLookupSearchField:"V_EmailRecipientID",dataLookupIdsemailRecipientLookupReturnField:"V_Email_Address",dataLookupIdsemailContactLookup:"8a59c1e3-7d8f-47d9-8d03-6856591b0ab3",dataLookupIdsemailContactLookupSearchField:"C_EmailAddress",dataLookupIdsemailContactLookupReturnField:"C_EmailAddress",dataLookupIdsvisitorLookup:"ba109a0a-7529-4aed-95ca-72b0bc3b345d",dataLookupIdsvisitorLookupReturnField:"V_Email_Address",spamProtection:"",spamHoneypotFieldID:"address1",useWdls:!0,useApi:!0,submissionUrl:"https://resources.opentext.com/e/f2?elqSiteID=459",active:!0},ga:{active:!0},onetrust:{oneTrustFunctionalGroup:"C0003",oneTrustPerformanceGroup:"C0002",active:!0}},advancedSettings:{submissionUrl:"https://resources.opentext.com/e/f2?elqSiteID=459",rootDomain:"",useTrackingCookies:!1,trackingCookieAllowedDomains:"",liveValidateForms:!1,gatepenByUserDataAdditionalCriteria:!1,gatepenByUserDataAdditionalCriteriaValue:"",countrySelectorSubmitLabels:!1,countrySelectorRemoveCountries:"KP\nBQ\nAN\nXK\nPM\nSX\nGS\nVA",countrySelectorRelabelCountries:"KR|EN|Korea, Republic of\nDE|DE|Germany/Deutschland\nAT|DE|Austria/Österreich\nCH|DE|Switzerland/Schweiz",supportHalfWidthCustomFields:!0,detectPrivacyBlocking:!1,detectPrivacyBlockingURL:"https://resources.opentext.com/EloquaImages/clients/OpenTextGlobal/%7Bf90f6cc7-c2d1-46e7-adfd-5c2a996f5244%7D_clear.gif",privacyBlockingMessage:"We have detetected one or more privacy settings or extensions that may cause this form to fail to submit, even if it appears to submit successfully. We strongly recommend disabling these settings or using another browser before submitting this form. ",disableFormsOnPrivacyBlocking:!0,browserPrivacyCheck:!0,multiLanguageDetectionMethod:"page",multiLanguageDetectionMetaName:"locale",multiLanguageMapping:{de:"de-de\nde",fr:"fr-fr\nfr",ja:"ja-jp\njp","zh-hans":"zh-hans\nzh-cn\nzh","zh-hant":"zh-hant\nzh-tw"},oneTrustCheck:!0,oneTrustFunctionalGroup:"C0003",oneTrustPerformanceGroup:"C0002",submissionMethod:"eloqua"},supportedLanguages:{de:"German",en:"English",fr:"French",ja:"Japanese","zh-hans":"Chinese (Simplified)","zh-hant":"Chinese (Traditional)"},defaultFields:{firstNameField:"first_name",lastNameField:"last_name",emailField:"email",countryField:"country",companyNameField:"company",industryField:"industry",optinField:"optin"},previewableEntities:{form_types:!0,events:!0,translations:!0},requestedDataSources:{eloqua:{C_EmailAddress:!0,C_FirstName:!0,C_LastName:!0,C_BusPhone:!0,C_Company:!0,C_Title:!0,C_Country:!0,C_State_Prov:!0,C_Legal_Basis___Consent_Date21:!0},string:{12345:!0,65044:!0,65045:!0,65046:!0,65047:!0,65048:!0,65049:!0,65211:!0,65212:!0,2257815:!0,Aerospace:!0,"Agriculture, Forestry, Fishing & Hunting":!0,"Consumer Goods":!0,"Religious, Grantmaking & Civic Organizations":!0,"Life Sciences":!0,"Professional Services":!0,"Engineering & Construction":!0,"Food & Beverage Manufacturing":!0,Utilities:!0,Banking:!0,"Government - Federal":!0,"High Tech":!0,Healthcare:!0,"Tourism and Food Services":!0,"Industrial Manufacturing":!0,"Metals & Mining":!0,"Publishing & Information Services":!0,"Real Estate, Rental & Leasing":!0,Retail:!0,"Transportation & Distribution":!0,true:!0,"incorrect recaptcha":!0,"> $1B":!0,"< $250M":!0,Experience:!0,"0B2A7008197BC9D6ED90C6ECA3FA97E0":!0,HIGH:!0,Small:!0,"Mid-Market":!0,Enterprise:!0,"7014J000000MkfiQAC":!0,"7014J000000MkfeQAC":!0,"7014J000000MkfxQAC":!0,gatedcontentform:!0,pardotgates:!0,"pardotgates-sandbox":!0,SKIP:!0,partners:!0,customersupport:!0,learningservices:!0,professionalservices:!0,Subscribed:!0,WA:!0},queryString:{Business_Unit:!0,ldsrc:!0,asset_name:!0,overlay_url:!0,gclid:!0,Portfolio:!0},gateEditor:{asset_name:!0},page:{pageurl:!0,referrer:!0,pageReferrer:!0},ga:{clientId:!0},browser:{ip:!0,useragent:!0,browser:!0},metaTag:{"product-bu":!0},session:{referrerDomain:!0,referrerURL:!0},utms:{utmCampaignSession:!0,utmContentSession:!0,utmMediumSession:!0,utmMultiSessionAll:!0,utmSourceSession:!0,utmTermSession:!0}}}),n.Config.integrations&&n.Config.integrations.redirect&&(n.Config.integrations.redirect.mapDoesRedirect=!0),n.Config.gates.displayMessageOnLoadFail=!1,n.Config.gates.useFetchSubmission=!1,n.Config.gates.deferredBuildTimeout=2e3,n.Config.gates.doubleColumnBreakpoint=720,n.Config.utmDefaults={utmCampaign:"",utmMedium:"",utmSource:"",utmContent:"",utmTerm:""},n.Config.integrations.eloqua&&(n.Config.integrations.eloqua.supressLookups=!0),n.Resources.Templates.formFooterTemplate=function(e,t){return["div.gcdc-form-footer"]},n.Resources.Templates.submitTemplate=function(e,t){return["div.gcdc-submit-button-wrapper.gcdc-form-group.gcdc-form-group-padded",["input.gcdc-form-button",{type:"submit",value:e.getConfigAttribute("submitText")&&""!==e.getConfigAttribute("submitText")?e.getConfigAttribute("submitText"):n.Modules.Localise.translateString("submitButtonMessage",t,"Submit")}]]},n.Modules.AppCustom=(s={},{init:function(){try{var e={revenue_range:"6s_revenue_range",annual_revenue:"6s_annual_sales",name:"6s_marketing_alias",employee_range:"6s_employee_count",industry:"6s_industry"};if(window.localStorage){var t=JSON.parse(localStorage.getItem("_6senseCompanyDetails"));if(t&&t.company)for(var i in e)s[e[i]]=t.company[i]}}catch(e){n.Modules.Utilities.log(r,"get6SenseDetails","error","Couldn't retrieve 6sense details: "+e)}n.Modules.Utilities.log(r,"init","init","Module initialised"),n.Modules.Gate.eventManager.on("newGateBuilt",o,r),n.Core.eventManager.on("setup",a,r)},namespace:r="Modules.AppCustom"})})(window[window.GatedContentObject]),(r=>{function s(){try{if(r.q||(r.q=[]),0