/*! backstage-client 20-08-2021 */ !function o(a,s,u){function c(t,e){if(!s[t]){if(!a[t]){var n="function"==typeof require&&require;if(!e&&n)return n(t,!0);if(l)return l(t,!0);var r=new Error("Cannot find module '"+t+"'");throw r.code="MODULE_NOT_FOUND",r}var i=s[t]={exports:{}};a[t][0].call(i.exports,function(e){return c(a[t][1][e]||e)},i,i.exports,o,a,s,u)}return s[t].exports}for(var l="function"==typeof require&&require,e=0;e>8-i%1*8)){if(255<(n=r.charCodeAt(i+=.75)))throw new u("'btoa' failed: The string to be encoded contains characters outside of the Latin1 range.");t=t<<8|n}return a}),e.atob||(e.atob=function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new u("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,r,i=0,o=0,a="";r=t.charAt(o++);~r&&(n=i%4?64*n+r:r,i++%4)&&(a+=String.fromCharCode(255&n>>(-2*i&6))))r=s.indexOf(r);return a})}()},{}],3:[function(e,t,n){var i={},o={};adrollAdapter={pushAudience:function(e,t){if(e.integrations&&e.integrations.adroll&&e.integrations.adroll.segment){var n=e.integrations.adroll.segment,r=!1;void 0!==o[n]&&(r=!0),o[n]=function(){i[n]=setTimeout(function(){"undefined"!=typeof __adroll&&null!==__adroll?__adroll.record_user({adroll_segments:n}):o[n]()},500)},t.log("\tPushing segment "+n+" to AdRoll.","info"),r||o[n]()}}},t.exports=adrollAdapter},{}],4:[function(e,t,n){t.exports=e("regenerator-runtime")},{"regenerator-runtime":237}],5:[function(e,t,n){t.exports=function(n){var r={provider:"behavioral"};return r.bctx=n,r.getToken=function(){if(!r.bctx._fe_bvid)throw n.log("No Backstage cookie detected.","info"),(e=new Error("Could not identify the current visitor because no Backstage cookie was detected.")).code="E_COULD_NOT_IDENT",e;var e,t={type:"cookie",value:r.bctx._fe_bvid};return n.log("Backstage "+t.type+" detected: "+t.value,"info"),t},r.getAttributes=function(){return r.bctx.cache.get(n.config.customEventsNamespace).then(function(e){return e||{}})},r}},{}],6:[function(e,t,n){"use strict";var r=function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e};function i(e,t){for(var n=0;n"].indexOf(n[0])?void 0:n[0];return new s({functionName:r,fileName:i,lineNumber:n[1],columnNumber:n[2],source:e})},this)},parseFFOrSafari:function(e){return e.stack.split("\n").filter(function(e){return!e.match(r)},this).map(function(e){if(-1 eval")&&(e=e.replace(/ line (\d+)(?: > eval line \d+)* > eval\:\d+\:\d+/g,":$1")),-1===e.indexOf("@")&&-1===e.indexOf(":"))return new s({functionName:e});var t=/((.*".+"[^@]*)?[^@]*)(?:@)/,n=e.match(t),r=n&&n[1]?n[1]:void 0,i=this.extractLocation(e.replace(t,""));return new s({functionName:r,fileName:i[0],lineNumber:i[1],columnNumber:i[2],source:e})},this)},parseOpera:function(e){return!e.stacktrace||-1e.stacktrace.split("\n").length?this.parseOpera9(e):e.stack?this.parseOpera11(e):this.parseOpera10(e)},parseOpera9:function(e){for(var t=/Line (\d+).*script (?:in )?(\S+)/i,n=e.message.split("\n"),r=[],i=2,o=n.length;i/,"$2").replace(/\([^\)]*\)/g,"")||void 0;i.match(/\(([^\)]*)\)/)&&(t=i.replace(/^[^\(]+\(([^\)]*)\)$/,"$1"));var a=void 0===t||"[arguments not available]"===t?void 0:t.split(",");return new s({functionName:o,args:a,fileName:r[0],lineNumber:r[1],columnNumber:r[2],source:e})},this)}}});var S={};!function(e,t){"use strict";"object"==typeof S?S=t(C):e.StackGenerator=t(e.StackFrame)}(this,function(a){return{backtrace:function(e){var t=[],n=10;"object"==typeof e&&"number"==typeof e.maxStackSize&&(n=e.maxStackSize);for(var r=arguments.callee;r&&t.lengththis.config.maxBreadcrumbs&&(this.breadcrumbs=this.breadcrumbs.slice(this.breadcrumbs.length-this.config.maxBreadcrumbs)),this}},de.prototype.notify=function(e,t){var n=1=t.config.maxEvents)return e.ignore();n++}),t.refresh=function(){n=0}},configSchema:{maxEvents:{defaultValue:function(){return 10},message:"should be a positive integer ≤100",validate:function(e){return me(e)&&e<100}}}},_e=Object.assign||function(e){for(var t=1;t/,Fe=/<\/script>.*$/,ze=(Re={init:function(e){function s(){return document.documentElement.outerHTML}var u="",c=!1,l=window.location.href;u=s(),document.onreadystatechange=function(){"interactive"===document.readyState&&(u=s(),c=!0)},e.config.beforeSend.unshift(function(e){var r=e.stacktrace[0];if(!r||!r.file||!r.lineNumber)return r;if(r.file.replace(/#.*$/,"")!==l.replace(/#.*$/,""))return r;c&&u||(u=s());var t=["\x3c!-- DOC START --\x3e"].concat(u.split("\n")),n=ze(t,r.lineNumber-1),i=n.script,o=n.start,a=Ne(i,function(e,t,n){return 10 "+n.join("");return n.join("")}(e.target)}catch(e){n=t="[hidden]",r._logger.error("Cross domain error when tracking click event. See docs: https://tinyurl.com/y94fq5zm")}r.leaveBreadcrumb("UI click",{targetText:t,targetSelector:n},"user")},!0)},configSchema:{interactionBreadcrumbsEnabled:{defaultValue:function(){},validate:function(e){return!0===e||!1===e||void 0===e},message:"should be true|false"}}},Ve=function(e){var t,n,r=e.textContent||e.innerText||"";return r||"submit"!==e.type&&"button"!==e.type||(r=e.value),r=r.replace(/^\s+|\s+$/g,""),n=140,(t=r)&&t.length<=n?t:t.slice(0,n-"(...)".length)+"(...)"};var Ue=Object.assign||function(e){for(var t=1;ti){a.warned=!0;var s=new Error("Possible EventEmitter memory leak detected. "+a.length+' "'+String(t)+'" listeners added. Use emitter.setMaxListeners() to increase limit.');s.name="MaxListenersExceededWarning",s.emitter=e,s.type=t,s.count=a.length,"object"==typeof console&&console.warn&&console.warn("%s: %s",s.name,s.message)}}else a=o[t]=n,++e._eventsCount;return e}function d(){if(!this.fired)switch(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length){case 0:return this.listener.call(this.target);case 1:return this.listener.call(this.target,arguments[0]);case 2:return this.listener.call(this.target,arguments[0],arguments[1]);case 3:return this.listener.call(this.target,arguments[0],arguments[1],arguments[2]);default:for(var e=new Array(arguments.length),t=0;te.db.version;if(r&&(e.version!==t&&console.warn('The database "'+e.name+"\" can't be downgraded from version "+e.db.version+" to version "+e.version+"."),e.version=e.db.version),i||n){if(n){var o=e.db.version+1;o>e.version&&(e.version=o)}return!0}return!1}function k(e){return a([function(e){for(var t=e.length,n=new ArrayBuffer(t),r=new Uint8Array(n),i=0;i>4,l[u++]=(15&r)<<4|i>>2,l[u++]=(3&i)<<6|63&o;return c}function B(e){var t,n=new Uint8Array(e),r="";for(t=0;t>2],r+=T[(3&n[t])<<4|n[t+1]>>4],r+=T[(15&n[t+1])<<2|n[t+2]>>6],r+=T[63&n[t+2]];return n.length%3==2?r=r.substring(0,r.length-1)+"=":n.length%3==1&&(r=r.substring(0,r.length-2)+"=="),r}var V={serialize:function(t,n){var e="";if(t&&(e=F.call(t)),t&&("[object ArrayBuffer]"===e||t.buffer&&"[object ArrayBuffer]"===F.call(t.buffer))){var r,i=D;t instanceof ArrayBuffer?(r=t,i+=R):(r=t.buffer,"[object Int8Array]"===e?i+="si08":"[object Uint8Array]"===e?i+="ui08":"[object Uint8ClampedArray]"===e?i+="uic8":"[object Int16Array]"===e?i+="si16":"[object Uint16Array]"===e?i+="ur16":"[object Int32Array]"===e?i+="si32":"[object Uint32Array]"===e?i+="ui32":"[object Float32Array]"===e?i+="fl32":"[object Float64Array]"===e?i+="fl64":n(new Error("Failed to get type for BinaryArray"))),n(i+B(r))}else if("[object Blob]"===e){var o=new FileReader;o.onload=function(){var e="~~local_forage_type~"+t.type+"~"+B(this.result);n(D+N+e)},o.readAsArrayBuffer(t)}else try{n(JSON.stringify(t))}catch(e){console.error("Couldn't convert value into a JSON string: ",t),n(null,e)}},deserialize:function(e){if(e.substring(0,L)!==D)return JSON.parse(e);var t,n=e.substring(M),r=e.substring(L,M);if(r===N&&P.test(n)){var i=n.match(P);t=i[1],n=n.substring(i[0].length)}var o=z(n);switch(r){case R:return o;case N:return a([o],{type:t});case"si08":return new Int8Array(o);case"ui08":return new Uint8Array(o);case"uic8":return new Uint8ClampedArray(o);case"si16":return new Int16Array(o);case"ur16":return new Uint16Array(o);case"si32":return new Int32Array(o);case"ui32":return new Uint32Array(o);case"fl32":return new Float32Array(o);case"fl64":return new Float64Array(o);default:throw new Error("Unkown type: "+r)}},stringToBuffer:z,bufferToString:B};function U(e,t,n,r){e.executeSql("CREATE TABLE IF NOT EXISTS "+t.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],n,r)}function q(e,r,i,o,a,s){e.executeSql(i,o,a,function(e,n){n.code===n.SYNTAX_ERR?e.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[r.storeName],function(e,t){t.rows.length?s(e,n):U(e,r,function(){e.executeSql(i,o,a,s)},s)},s):s(e,n)},s)}var H={_driver:"webSQLStorage",_initStorage:function(e){var r=this,i={db:null};if(e)for(var t in e)i[t]="string"!=typeof e[t]?e[t].toString():e[t];var n=new f(function(t,n){try{i.db=openDatabase(i.name,String(i.version),i.description,i.size)}catch(e){return n(e)}i.db.transaction(function(e){U(e,i,function(){r._dbInfo=i,t()},function(e,t){n(t)})},n)});return i.serializer=V,n},_support:"function"==typeof openDatabase,iterate:function(c,e){var t=this,n=new f(function(u,n){t.ready().then(function(){var s=t._dbInfo;s.db.transaction(function(e){q(e,s,"SELECT * FROM "+s.storeName,[],function(e,t){for(var n=t.rows,r=n.length,i=0;i '__WebKitDatabaseInfoTable__'",[],function(e,t){for(var n=[],r=0;r>>0,t>>>=0;for(var o=Array(i);++r]*>/,jva=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,kva=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,lva=/^(?:body|html)$/i,mva=/([A-Z])/g,nva=["val","css","html","text","data","width","height","offset"],pva=eva.createElement("table"),qva=eva.createElement("tr"),rva={tr:eva.createElement("tbody"),tbody:pva,thead:pva,tfoot:pva,td:qva,th:qva,"*":eva.createElement("div")},sva=/complete|loaded|interactive/,tva=/^[\w-]*$/,vva=(uva={}).toString,wva={},zva=eva.createElement("div"),Ava={tabindex:"tabIndex",readonly:"readOnly",for:"htmlFor",class:"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},Bva=Array.isArray||function(e){return e instanceof Array},wva.matches=function(e,t){if(!t||!e||1!==e.nodeType)return!1;var n=e.webkitMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.matchesSelector;if(n)return n.call(e,t);var r,i=e.parentNode,o=!i;return o&&(i=zva).appendChild(e),r=~wva.qsa(i,t).indexOf(e),o&&zva.removeChild(e),r},xva=function(e){return e.replace(/-+(.)?/g,function(e,t){return t?t.toUpperCase():""})},yva=function(n){return dva.call(n,function(e,t){return n.indexOf(e)==t})},wva.fragment=function(e,t,n){var r,i,o;return jva.test(e)&&(r=_ua(eva.createElement(RegExp.$1))),r||(e.replace&&(e=e.replace(kva,"<$1>")),t===Zua&&(t=iva.test(e)&&RegExp.$1),t in rva||(t="*"),(o=rva[t]).innerHTML=""+e,r=_ua.each(cva.call(o.childNodes),function(){o.removeChild(this)})),Hva(n)&&(i=_ua(r),_ua.each(n,function(e,t){-1)<[^<]*)*<\/script>/gi,fDa=/^(?:text|application)\/javascript/i,gDa=/^(?:text|application)\/xml/i,hDa="application/json",jDa=/^\s*$/,kDa=bDa.createElement("a");function mDa(e,t,n,r){if(e.global)return i=t||bDa,o=n,a=r,s=_Ca.Event(o),_Ca(i).trigger(s,a),!s.isDefaultPrevented();var i,o,a,s}function pDa(e,t){var n=t.context;if(!1===t.beforeSend.call(n,e,t)||!1===mDa(t,n,"ajaxBeforeSend",[e,t]))return!1;mDa(t,n,"ajaxSend",[e,t])}function qDa(e,t,n,r){var i=n.context,o="success";n.success.call(i,e,o,t),r&&r.resolveWith(i,[e,o,t]),mDa(n,i,"ajaxSuccess",[t,n,e]),sDa(o,t,n)}function rDa(e,t,n,r,i){var o=r.context;r.error.call(o,n,t,e),i&&i.rejectWith(o,[n,t,e]),mDa(r,o,"ajaxError",[n,r,e||t]),sDa(t,n,r)}function sDa(e,t,n){var r,i=n.context;n.complete.call(i,t,e),mDa(n,i,"ajaxComplete",[t,n]),(r=n).global&&!--_Ca.active&&mDa(r,null,"ajaxStop")}function tDa(){}function vDa(e,t){return""==t?e:(e+"&"+t).replace(/[&?]{1,2}/,"?")}function xDa(e,t,n,r){return _Ca.isFunction(t)&&(r=n,n=t,t=void 0),_Ca.isFunction(n)||(r=n,n=void 0),{url:e,data:t,success:n,dataType:r}}kDa.href=window.location.href,_Ca.active=0,_Ca.ajaxJSONP=function(n,r){if(!("type"in n))return _Ca.ajax(n);function e(e){_Ca(s).triggerHandler("error",e||"abort")}var i,o,t=n.jsonpCallback,a=(_Ca.isFunction(t)?t():t)||"jsonp"+ ++aDa,s=bDa.createElement("script"),u=window[a],c={abort:e};return r&&r.promise(c),_Ca(s).on("load error",function(e,t){clearTimeout(o),_Ca(s).off().remove(),"error"!=e.type&&i?qDa(i[0],c,n,r):rDa(null,t||"error",c,n,r),window[a]=u,i&&_Ca.isFunction(u)&&u(i[0]),u=i=void 0}),!1===pDa(c,n)?e("abort"):(window[a]=function(){i=arguments},s.src=n.url.replace(/\?(.+)=\?/,"?$1="+a),bDa.head.appendChild(s),0").html(e.replace(eDa,"")).find(r):e),s&&s.apply(i,arguments)},_Ca.ajax(a),this};var yDa=encodeURIComponent;_Ca.param=function(e,t){var n=[];return n.add=function(e,t){_Ca.isFunction(t)&&(t=t()),null==t&&(t=""),this.push(yDa(e)+"="+yDa(t))},function n(r,e,i,o){var a,s=_Ca.isArray(e),u=_Ca.isPlainObject(e);_Ca.each(e,function(e,t){a=_Ca.type(t),o&&(e=i?o:o+"["+(u||"object"==a||"array"==a?e:"")+"]"),!o&&s?r.add(t.name,t.value):"array"==a||!i&&"object"==a?n(r,t,i,e):r.add(e,t)})}(n,e,t),n.join("&").replace(/%20/g,"+")}}(Yua),(mFa=Yua).fn.serializeArray=function(){var n,r,t=[],i=function(e){if(e.forEach)return e.forEach(i);t.push({name:n,value:e})};return this[0]&&mFa.each(this[0].elements,function(e,t){r=t.type,(n=t.name)&&"fieldset"!=t.nodeName.toLowerCase()&&!t.disabled&&"submit"!=r&&"reset"!=r&&"button"!=r&&"file"!=r&&("radio"!=r&&"checkbox"!=r||t.checked)&&i(mFa(t).val())}),t},mFa.fn.serialize=function(){var t=[];return this.serializeArray().forEach(function(e){t.push(encodeURIComponent(e.name)+"="+encodeURIComponent(e.value))}),t.join("&")},mFa.fn.submit=function(e){if(0 in arguments)this.bind("submit",e);else if(this.length){var t=mFa.Event("submit");this.eq(0).trigger(t),t.isDefaultPrevented()||this.get(0).submit()}return this},function(n){"__proto__"in{}||n.extend(n.zepto,{Z:function(e,t){return e=e||[],n.extend(e,n.fn),e.selector=t||"",e.__Z=!0,e},isZ:function(e){return"array"===n.type(e)&&"__Z"in e}});try{getComputedStyle(void 0)}catch(e){var t=getComputedStyle;window.getComputedStyle=function(e){try{return t(e)}catch(e){return null}}}}(Yua),"object"==typeof Xua&&(Wua.exports=Yua)},{}],231:[function(e,t,n){var r=!1,i=0,o={pushAudience:function(e,t){var n=o;e.integrations&&e.integrations.olark&&e.integrations.olark&&(e.integrations.olark.operatorNotifications||e.integrations.olark.visitorStatus)&&(console.log("integrated! called"),!1===r&&"undefined"!=typeof olark?n.pushToOlark(e,t):i++<10&&setTimeout(n.pushAudience(e,t),50))},pushToOlark:function(t,n){r=!0,n.cache.get("fe_olark_vid").then(function(e){e||!0!==t.integrations.olark.operatorNotifications||(n.cache.set("fe_olark_vid",n._fe_bvid||""),olark("api.chat.sendNotificationToOperator",{body:"This visitor is in the Backstage audience destination "+t.name}),n.log("Notification sent to olark operator","info"))}),!0===t.integrations.olark.visitorStatus&&(olark("api.chat.updateVisitorStatus",{snippet:"Backstage audience destination: "+t.name}),n.log("Olark visitor status updated","info"))}};t.exports=o},{}],232:[function(e,t,n){t.exports={pushAudience:function(e,t){if(this.bctx=t,window.optimizely=window.optimizely||[],e.integrations&&e.integrations.optimizely&&e.integrations.optimizely.audienceId){var n=e.integrations.optimizely.audienceId;t.log("Pushing audience "+n+" to Optimizely."),this.bucketAndActivate(n)}},bucketAndActivate:function(n){var r=this.bctx;if(!window.optimizely||"function"!=typeof window.optimizely.addToAudience)return window.optimizely=window.optimizely||[],window.optimizely.push(["addToAudience",n]),!1;function e(t){return function(e){e==n&&-1===window.optimizely.activeExperiments.indexOf(t)&&(r.log("activating experiment "+t,"info"),window.optimizely.activate(t))}}window.optimizely.allExperiments;for(var t in window.optimizely.addToAudience(n),window.optimizely.allExperiments)experiment=window.optimizely.allExperiments[t],!experiment.audiences||experiment.activation_mode&&"conditional"==experiment.activation_mode||experiment.audiences.forEach(e(t))}}},{}],233:[function(e,t,n){var r=e("./classic"),i=e("./x");optimizelyAdapter={pushAudience:function(e,t){this.bctx=t,r.pushAudience(e,t),i.pushAudience(e,t)},activate:function(e){i.activateExperiences(e)}},t.exports=optimizelyAdapter},{"./classic":232,"./x":234}],234:[function(e,t,n){var r=e("./xVariations");t.exports={pushAudience:function(e,t){this.bctx=t,window.optimizely=window.optimizely||[],t.log(e.integrations),e.integrations&&e.integrations.optimizely&&e.integrations.optimizely.isIntegrated&&(t.log("Pushing audience "+e.slug+" to OptimizelyX."),this.bucketAndActivate(e,t))},bucketAndActivate:function(e,t){document.cookie=e.slug+"=true",window.optimizely=window.optimizely||[];var n={type:"user",attributes:{}};n.attributes[e.name]=!0,window.optimizely.push(n),t.log("attribute setup complete",n)},activateExperiences:function(e){r.activate(e)}}},{"./xVariations":235}],235:[function(e,t,n){var o=null,a=e("lodash.filter");function r(e){(e.data.decision.variationId||e.data.decision.experimentId)&&e.data&&i(e.data.decision.experimentId,e.data.decision.variationId,e.data.decision.isCampaignHoldback)}function i(e,t,n){if(o.campaignState)if(0==a(o.campaignState,{source:"optimizely",status:"running",campaignSourceId:e}).length)o.log("FE - SKIPPING OptX VARIATION ACTIVATION: Backstage doesn't know about campaignSourceId="+e);else{var r=!0===window.optimizely.feCampaignsInHoldback[e],i=!0===window.optimizely.feActiveBucketedVariations[t];n?(o.log("FE - OptX HOLDBACK : optimizelyExperimentId ("+e+") visitor is in the Optimizely Holdback. This should never happen if Optimizely is configured correctly with the holdback at 0%"),o.push({event:"activate_variation",isActivateVariation:!0,source:"optimizely",attributes:{optimizely:{experimentId:e,variationId:"holdback",isOptXCampaignHoldback:!0}}})):(o.log("FE - OptX VARIATION ACTIVATED: { recommended:"+i+", optimizelyVariationId:"+t+", optimizelyExperimentId: '"+e+"', isInFEHoldback:"+r),o.push({event:"activate_variation",isActivateVariation:!0,source:"optimizely",attributes:{recommended:i,holdback:r,optimizely:{experimentId:e,variationId:t}}}))}else o.log("FE - SKIPPING OptX VARIATION ACTIVATION: Backstage campaignState is not found")}t.exports={activate:function(e){o=e,this.bctx=e,window.optimizely?(window.optimizely.feActiveBucketedVariations={},window.optimizely.feCampaignsInHoldback={},window.optimizely=window.optimizely||[],window.optimizely.push({type:"addListener",filter:{type:"lifecycle",name:"campaignDecided"},handler:r}),function(){if(o.log("FE - applyRecommendedVariationBucketing"),o.campaignState){var e=a(o.campaignState,{source:"optimizely",status:"running"});0>7,sequence=parseInt(e.toString(2)+this.seed.toString(2),2),t=n.toString(r)+this.sep+sequence.toString(r),this.append&&(t+=this.sep+this.append),t},n.exports=t}).call(this,e("_process"))},{_process:236}],245:[function(e,t,n){var r={sendEvent:function(t){ga(function(){var e=ga.getAll()[0].get("name");ga(e+".send","event",t)})},setDimension:function(t,n){ga(function(){var e=ga.getAll()[0].get("name");ga(e+".set","dimension"+t,n)})},pushAudience:function(e,t){if(e&&e.integrations&&e.integrations["universal-analytics"]){var n=e.integrations["universal-analytics"];if(ga)if(n.setAsDimension&&n.dimensionId&&!isNaN(Number(n.dimensionId))&&(this.setDimension(n.dimensionId,e.name),t.log("Google Analytics dimension set","info")),n.sentAsEvent){var r={nonInteraction:!0};r.eventCategory=n.eventCategory||"",r.eventAction=n.eventAction||"",r.eventLabel=n.eventLabel||"",this.sendEvent(r),t.log("Google Analytics event sent","info")}else n.setAsDimension&&(this.sendEvent({eventCategory:"funnelEnvy",eventAction:"setDimension",nonInteraction:!0}),t.log("Default Google event sent","info"));else t.log('The object "ga" is not defined, please verify that Google Analytics was loaded correctly',"error")}}};t.exports=r},{}],246:[function(e,t,n){"function"==typeof Object.create?t.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(e,t){e.super_=t;function n(){}n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},{}],247:[function(e,t,n){t.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},{}],248:[function(d,e,j){(function(r,i){var s=/%[sdj%]/g;j.format=function(e){if(!w(e)){for(var t=[],n=0;n=a()&&(0,c.default)(e,function(e){var t,n,r=(t=e,n=(0,l.default)(t,"token.value"),o("identities['"+n+"'].expires")),i=r>=a();return i?p.logger.debug(e.provider+" cache entry found and will expire on "+r):p.logger.debug("identity expired: "+e.token.value),i})}}]),b);function b(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,b),this.bctx=e}},{"./classify":256,"./identifier":287,"./lib/error-factory":288,"./lib/get-query-param":291,"./logger":299,"babel-runtime/regenerator":4,"lodash/assign":166,"lodash/defaults":168,"lodash/every":172,"lodash/get":178}],253:[function(e,t,n){"use strict";var a=P(e("babel-runtime/regenerator")),r=function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e};function i(e,t){for(var n=0;n"+t+"<\/script>";for(var o=i.childNodes,a=0;o[a];a++)!f.nodeName(o[a],"script")||o[a].type&&"text/javascript"!==o[a].type.toLowerCase()||f.evalScript(o[a].parentNode?o[a].parentNode.removeChild(o[a]):o[a],n,r);u.logger.groupCollapsed("Executing script"),u.logger.log(t),u.logger.groupEnd()}else u.logger.debug("Preview has to add an eventListener because document.readyState = "+document.readyState),document.addEventListener?document.addEventListener("DOMContentLoaded",function(e){return f.insertAndExecute(t,n,r)}):(u.logger.error("document.addEventListener is null or undefined;"),u.logger.error("Error: Failed to execute JS string because document not ready"))}},{key:"isCustomJavascriptObject",value:function(e){return!Array.isArray(e)}},{key:"runCustomJavascript",value:function(e,t,n){var r=2m&&(this.events=(0,l.default)(this.events,this.events.length-m)),n.length<2?n[0]:n}},{key:"contains",value:function(t){return Boolean((0,f.default)(this.events,function(e){return e.matches(t)}))}},{key:"length",get:function(){return this.events.length}}]),R);function R(e){var t=1new Date(e.resetAt)))}}]),O);function O(){var e=0 div span:nth-child(2) {\n text-decoration: underline !important;\n}\nhtml body .item .bmitem_text>div span:nth-child(2):after {\n content: '»';\n margin-left: .25rem;\n}\nhtml body .bmfewitems .bmitem_text p {\n color: #333;\n font-size: .95rem;\n font-weight: 300;\n height: 70px;\n margin-bottom: 0px !important;\n overflow: hidden;\n text-overflow: ellipsis;\n}\nhtml body .item .bmitem_text span {\n color: #704674;\n font-weight: normal;\n font-size: 1rem;\n display: inline-block;\n vertical-align: middle;\n}\nhtml body .item:nth-child(2) .bmitem_text span {\n color :#A12A70;\n}\n.bmitem_text > div > span:nth-child(1) {\n font-size: 1.6rem !important;\n}\nhtml body .bmfeWrapper .bmfewitems {\n margin-bottom: 70px;\n}\nhtml body .bmitem_text > div > span:last-child {\n padding-left: 8px;\n}\nhtml body .bmfewitems .bmitem_text > div {\n padding-top: 41px;\n}\nhtml body .bmfewitems .bmsource a sup {\n text-decoration: none;\n display: inline-block;\n}\nhtml body .item .bmitem_text > div :first-child {\n display: inline-block;\n} \n/*itemsec end*/\n@media screen and (max-width:767px) {\n html body .bmfewitems .item {\n width: 100%;\n }\n html body .bmfewitems .itemsec {\n flex-direction: column;\n }\n html body .item {\n padding: 10px !important;\n }\n html body .bmfewitems .bmsource {\n text-align: center;\n margin-bottom: 30px;\n }\n html body .bmthankusec .bmtext {\n width: 100%;\n padding: 10px;\n }\n html body .bmfeWrapper h3 {\n padding: 10px;\n text-align: center;\n margin-top: 6px;\n font-size: 1.2rem;\n }\n html body .bmtext h2 {\n font-size: 1.2rem;\n }\n}\n@media screen \nand (min-device-width : 768px) \nand (max-device-width : 1115px) {\n html body .bmfewitems .item {\n width: 100%;\n }\n html body .bmfewitems .itemsec {\n flex-direction: column;\n }\n html body .item {\n padding: 10px !important;\n }\n html body .bmfewitems .bmsource {\n text-align: center;\n margin-bottom: 30px;\n }\n html body .bmfeWrapper h3 {\n text-align: center;\n }\n}","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"(function() {\n var FEHelper = {\n onLoadElement: function(selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function() {\n if (document.querySelectorAll(selector).length > 0) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function() {\n clearInterval(interval);\n }, delayTimeout);\n },\n hasClass: function(element, className) {\n return element.classList\n ? element.classList.contains(className)\n : new RegExp('\\\\b' + className + '\\\\b').test(element.className);\n },\n addClass: function(element, className) {\n if (element.classList) element.classList.add(className);\n else if (!this.hasClass(element, className))\n element.className += ' ' + className;\n },\n removeClass: function(element, className) {\n if (element.classList) element.classList.remove(className);\n else\n element.className = element.className.replace(\n new RegExp('\\\\b' + className + '\\\\b', 'g'),\n ''\n );\n },\n insertBefore: function(beforeElement, targetElement) {\n targetElement.parentNode.insertBefore(beforeElement, targetElement);\n },\n insertAfter: function(afterElement, targetElement) {\n targetElement.parentNode.insertBefore(\n afterElement,\n targetElement.nextSibling\n );\n },\n live: function (selector, event, callback, context) {\n /****Helper Functions****/\n // helper for enabling IE 8 event bindings\n function addEvent(el, type, handler) {\n if (el.attachEvent) el.attachEvent('on' + type, handler);\n else el.addEventListener(type, handler);\n }\n // matches polyfill\n this.Element && function (ElementPrototype) {\n ElementPrototype.matches = ElementPrototype.matches ||\n ElementPrototype.matchesSelector ||\n ElementPrototype.webkitMatchesSelector ||\n ElementPrototype.msMatchesSelector ||\n function (selector) {\n var node = this,\n nodes = (node.parentNode || node.document).querySelectorAll(selector),\n i = -1;\n while (nodes[++i] && nodes[i] != node);\n return !!nodes[i];\n };\n }(Element.prototype);\n // live binding helper using matchesSelector\n function live(selector, event, callback, context) {\n addEvent(context || document, event, function (e) {\n var found, el = e.target || e.srcElement;\n while (el && el.matches && el !== context && !(found = el.matches(selector))) el = el.parentElement;\n if (found) callback.call(el, e);\n });\n }\n live(selector, event, callback, context);\n },\n };\n\n\n var cardData = {\n spotfire: {\n preTitle: 'Your Sales request regarding',\n title: ' TIBCO Spotfire® ',\n postTitle: 'was submitted successfully. One of our sales representatives will be in touch shortly.',\n subHeading: 'In the meantime, you can explore the following TIBCO Spotfire® resources curated just for you:',\n resourceText: 'TIBCO Spotfire® Resources',\n resourceLink: 'https://www.tibco.com/resources?field_products_target_id_verf%5B%5D=391&search=',\n topResourcesData: [\n {\n title: 'TIBCO Spotfire®',\n subTitle: 'AI-powered, search-driven experience with built-in data wrangling and advanced analytics',\n button: 'Start 30-day free trial', \n url: \"https://account.cloud.tibco.com/signup/spotfire\",\n iconClass: \"icon icon-resource-text-doc\"\n },\n {\n title: 'Reporting, Predictive Analytics, and Everything In Between: A Guide to Selecting...',\n subTitle: 'Analytics is no longer a luxury; it’s a necessity to survive. Businesses today must collect, analyze...',\n button: 'eBook Download',\n url: \"https://www.tibco.com/resources/ebook-download/reporting-to-predictive-analytics\",\n iconClass: \"icon icon-resource-book\"\n },\n {\n title: 'Webinar – TIBCO Spotfire X: AI Powered Analytics',\n subTitle: 'Data hides a lot of treasures. Make your first dashboards and visualizations, and learn how to view...',\n button: 'On-Demand Webinar',\n url: \"https://www.tibco.com/resources/demand-webinar/webinar--tibco-spotfire-x-ai-powered-analytics\",\n iconClass: \"icon icon-resource-film\"\n }\n ]\n },\n\n tci: {\n preTitle: 'Your Sales request regarding',\n title: ' TIBCO Cloud™ Integration ',\n postTitle: 'was submitted successfully. One of our sales representatives will be in touch shortly.',\n subHeading: 'In the meantime, you can explore the following TIBCO Cloud™ Integration resources curated just for you:',\n resourceText: 'TIBCO Cloud™ Integration Resources',\n resourceLink: 'https://www.tibco.com/resources?field_products_target_id_verf%5B%5D=401&search=',\n topResourcesData: [\n {\n title: 'TIBCO Cloud™ Integration 30-Day Free Trial',\n subTitle: 'Start your free trial of TIBCO Cloud Integration today. Get started immediately integrating all of...',\n button: 'Start 30-day free trial',\n url: \"https://www.tibco.com/resources/product-trial-cloud/tibco-cloud-integration-30-day-free-trial\",\n iconClass: \"icon icon-resource-text-doc\"\n },\n {\n title: 'Ovum Decision Matrix: Cloud Platforms for Hybrid Integration, 2019-2020',\n subTitle: 'Ovum Decision Matrix: Cloud Platforms for Hybrid Integration, 2019-2020 is a comprehensive research...',\n button: 'Analyst Report',\n url: \"https://www.tibco.com/resources/analyst-report/ovum-decision-matrix-cloud-platforms-hybrid-integration-2019-2020\",\n iconClass: \"icon icon-resource-text-doc\"\n },\n {\n title: 'WHITEPAPER: 5 Emerging Use Cases for Cloud Integration ',\n subTitle: 'The popularity of integration platform as a service (iPaaS) started with business users looking to...',\n button: 'Whitepaper',\n url: \"https://www.tibco.com/resources/whitepaper/whitepaper-5-emerging-use-cases-cloud-integration\",\n iconClass: \"icon icon-resource-text-doc\"\n }\n ]\n },\n\n ebx: {\n preTitle: 'Your Sales request regarding',\n title: ' TIBCO EBX™ Software ',\n postTitle: 'was submitted successfully. One of our sales representatives will be in touch shortly.',\n subHeading: 'In the meantime, you can explore the following TIBCO EBX™ Software resources curated just for you:',\n resourceText: 'TIBCO EBX™ Software Resources',\n resourceLink: 'https://www.tibco.com/resources?field_products_target_id_verf%5B%5D=47501&search=',\n topResourcesData: [\n {\n title: 'Introducing TIBCO EBX',\n subTitle: 'Businesses, and business innovation, thrive when high-quality shared data assets—master data, reference data, business...',\n button: 'On-Demand Webinar',\n url: \"https://www.tibco.com/resources/demand-webinar/introducing-tibco-ebx\",\n iconClass: \"icon icon-resource-film\"\n },\n {\n title: 'TIBCO EBX',\n subTitle: 'As recognized leader in master data management (MDM), and a pioneer in data asset management...',\n button: 'Datasheet',\n url: \"https://www.tibco.com/resources/datasheet/tibco-ebx\",\n iconClass: \"icon icon-resource-text-doc\"\n },\n {\n title: '2019 Gartner Critical Capabilities for Master Data Management Solutions',\n subTitle: 'TIBCO EBX, formerly Orchestra Networks, scored highest in five of the six use cases covered',\n button: 'Analyst Report',\n url: \"https://www.tibco.com/resources/analyst-report/gartner-critical-capabilities-master-data-management-solutions\",\n iconClass: \"icon icon-resource-text-doc\"\n }\n ]\n },\n\n mashrey: {\n preTitle: 'Your Sales request regarding',\n title: ' TIBCO Cloud™ Mashery® ',\n postTitle: 'was submitted successfully. One of our sales representatives will be in touch shortly.',\n subHeading: 'In the meantime, you can explore the following TIBCO Cloud™ Mashery® resources curated just for you:',\n resourceText: 'TIBCO Cloud™ Mashery® Resources',\n resourceLink: 'https://www.tibco.com/resources?field_products_target_id_verf%5B%5D=47501&search=',\n topResourcesData: [\n {\n title: 'TIBCO Cloud™ Mashery® API Management Platform',\n subTitle: 'The cloud-native API platform you can deploy anywhere, and manage APIs from everywhere',\n button: 'Start 30-day free trial',\n url: 'https://account.cloud.tibco.com/signup/mashery',\n iconClass: \"icon icon-resource-text-doc\"\n },\n {\n title: 'The Definitive Success Guide for the API Product Manager',\n subTitle: 'Creating an API program that delights developers and grows digital business is a challenge. Today...',\n button: 'eBook Online',\n url: \"https://www.tibco.com/resources/ebook-online/definitive-success-guide-api-product-manager\",\n iconClass: \"icon icon-resource-browser--window\"\n },\n {\n title: 'Mashery API Management On-Demand Demo',\n subTitle: 'In this product demo, we walk through important functionality that you will typically implement over...',\n button: 'Product Demonstration Video',\n url: \"https://www.tibco.com/resources/product-demonstration-video/mashery-api-management-demand-demo\",\n iconClass: \"icon icon-resource-film\"\n }\n ]\n },\n\n }\n\n\n\n function generateContent(data) {\n var str = '';\n data.topResourcesData.forEach(function(cardData){\n //card string will go here \n var innerCont = '';\n \n str += innerCont;\n });\n\n return ''+ \n '
'+ \n '
'+ \n // ' '+ \n ' '+ \n // ' '+ \n '
'+ \n '
'+ \n '

Thank You!

'+ \n '

'+ data.preTitle +''+ data.title +''+ data.postTitle + \n '

'+ \n '
'+ \n '
'+ \n '

'+ data.subHeading +'

'+ \n '
'+ \n // '
'+ \n // ' '+ data.resourceText +''+ \n // '
'+ \n '
'+ str +\n '
'+ \n '
';\n };\n \n //set local storage with product selected on form submit at contact us page\n function runThis() {\n var productType = document.querySelector('#edit-field-product-').value;\n window.localStorage .setItem('productType', productType);\n }\n \n //initial function\n function init() {\n var url = window.location.pathname;\n //new HTML container\n var feEle = document.createElement('div');\n feEle.setAttribute('class', 'bmfeWrapper');\n\n if(url === '/contact-us') {\n FEHelper.live('input[type=\"submit\"]', 'click', runThis)\n \n }else if(url === '/contact-us/thank-you') {\n\n //if we are in thankyou page\n document.querySelector('body').classList.add('feThankyou');\n var personalizeType = window.localStorage.getItem('productType');\n if(personalizeType === 'EBX') {\n //show this\n\n feEle.innerHTML = generateContent(cardData.ebx);\n FEHelper.insertAfter(feEle, document.querySelector('.lightBreadcrumb'));\n\n }else if(personalizeType === 'TIBCO Spotfire') {\n //show this\n feEle.innerHTML = generateContent(cardData.spotfire);\n FEHelper.insertAfter(feEle, document.querySelector('.lightBreadcrumb'));\n\n }else if(personalizeType === 'TIBCO Cloud Integration') {\n //show this\n feEle.innerHTML = generateContent(cardData.tci);\n FEHelper.insertAfter(feEle, document.querySelector('.lightBreadcrumb'));\n\n }else if(personalizeType === 'TIBCO Mashery') {\n //show this\n feEle.innerHTML = generateContent(cardData.mashrey);\n FEHelper.insertAfter(feEle, document.querySelector('.lightBreadcrumb'));\n\n }else {\n document.querySelector('body').classList.remove('feThankyou');\n }\n //Thankyou page condition ends\n }\n }\n \n FEHelper.onLoadElement(\n 'body .lightBreadcrumb',\n init,\n 50,\n 10000\n );\n \n })();","lastChanged":"\"2020-03-06T07:15:22.459Z\"","selector":"body"}],"selector":"body"}]},"campaign":"5eaa64369a9e194046410be0","slug":"V67491312","sourceId":"V67491312","createdAt":"2020-04-30T05:37:59.059Z","updatedAt":"2020-04-30T05:42:18.988Z","id":"5eaa64379a9e194046410be3"}],"organization":"5a556ca4488a1a4c5398309b","holdbackVariation":null,"activeExperiment":null,"audience":null,"holdback":100,"holdbackMode":"random","predictVariations":false,"trafficAllocation":100,"decisionMode":"A/B/n Test","name":"TIBCO-44: [TY Contact us] 100% Personalization","pageTargets":[{"include":true,"url":"https://www.tibco.com/contact-us/thank-you","match":"simple"}],"persistentDecisions":true,"editorUrl":"https://www.tibco.com/contact-us/thank-you","source":"visual","sourceId":"C1413809","createdAt":"2020-02-28T10:21:22.608Z","updatedAt":"2020-04-30T05:42:18.957Z","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"try {\n (function() {\n\n if (window.location.href.indexOf('fe-preview=true') == -1) {\n\n var dimension = 17; // Desired Custom Dimension\n var campaignSlug = 'C6656113'; // Campaign ID taken from URL \n var predictiveCampaign = false; // Set true for predictive campaigns, false for A/B tests\n var tracker = ''; // Used to define a custom tracker (EG: A Cloud Guru needs to be gtm2), otherwise leave blank\n\n /* No need to edit anything below this line*/\n var variationString,\n holdback = '', predictive = ''; \n var forceClearInterval = false;\n\n window.funnelEnvy.addListener(\"backstage.activeVariation\", function(model, message) {\n var campaign = model.backstage.activeVariation.campaignSlug;\n if (campaign == campaignSlug) {\n\n variationString = campaignSlug + ': ' + model.backstage.activeVariation.name;\n\n if(predictiveCampaign == true) {\n model.backstage.activeVariation.recommended ? predictive = ' Predictive ' : '';\n model.backstage.activeVariation.holdback ? holdback = ' Holdback': ''; \n }\n\n (function poll() {\n if (forceClearInterval) return;\n if (window.ga && window.ga.getAll) {\n\n /* We'll use the first default tracker for most clients. Others, like A Cloud Guru\n have multiple trackers on a page, so specific the actual name eg: 'gtm2' for those instances\n */\n if (tracker == '' || tracker == ' ') {\n tracker = window.ga.getAll()[0].get('name');\n }\n\n // set the custom dimension\n window.ga(tracker + '.set', 'dimension' + dimension, variationString + predictive + holdback);\n // send the event to GA\n window.ga(tracker + \".send\", \"event\", \"funnelenvy\", variationString + predictive + holdback, {\n \"nonInteraction\": 1\n });\n } else {\n setTimeout(poll, 250);\n }\n })();\n setTimeout(function() {\n forceClearInterval = true;\n }, 10000);\n }\n });\n }\n })();\n} catch (err) {\n console.log(err);\n}","lastChanged":"2020-04-30T05:38:47.205Z"}]}]},"slug":"C1413809","status":"running","description":"Full-scaling the personalized version of the thank you page","runningFrom":"2020-04-30T05:42:18.891Z","id":"5eaa64369a9e194046410be0"},{"variations":[{"isBaselineVariation":true,"name":"Baseline variation","organization":"5a556ca4488a1a4c5398309b","campaign":"5eaa655cc5a71582787e2d69","description":"","isArchived":true,"slug":"V127119657","sourceId":"V127119657","redirectUrl":"","redirectCode":false,"campaignType":"","createdAt":"2020-04-30T05:42:52.077Z","updatedAt":"2021-11-23T06:36:01.913Z","id":"5eaa655cc5a71582787e2d6b"},{"organization":"5a556ca4488a1a4c5398309b","redirectUrl":"","name":"P13ed Contact Us","campaignType":"visual","isBaselineVariation":false,"redirectCode":false,"customCSS":"html body.fe_tibco-45 #bannerText {\n display: none;\n}\n\nhtml body.fe_tibco-45 .gradientSmall {\n margin-bottom: 30px;\n}","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"(function() {\n var FEHelper = {\n onLoadElement: function(selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function() {\n if (\n document &&\n document.querySelectorAll(selector) &&\n document.querySelectorAll(selector).length > 0\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function() {\n clearInterval(interval);\n }, delayTimeout);\n },\n hasClass: function(element, className) {\n return element.classList\n ? element.classList.contains(className)\n : new RegExp('\\\\b' + className + '\\\\b').test(element.className);\n },\n addClass: function(element, className) {\n if (element.classList) element.classList.add(className);\n else if (!this.hasClass(element, className))\n element.className += ' ' + className;\n },\n prepend: function(targetElement, prependElement) {\n if (targetElement) {\n targetElement.insertAdjacentHTML('afterbegin', prependElement);\n }\n },\n };\n\n var feReferrer = '';\n var fePageData = {\n Spotfire: {\n h2: 'Thank you for your interest in TIBCO Spotfire®',\n p:\n 'Thousands of customers around the globe use TIBCO Spotfire® to empower everyone to integrate anything.',\n img:\n 'https://www.tibco.com/sites/tibco/files/styles/media_block_large/public/2018-11/benefit-screen_laptop-realtime_streaming_analytics.png?itok=n-EfmhE9',\n },\n TCI: {\n h2: 'Thank you for your interest in TIBCO Cloud™ Integration',\n p:\n 'Thousands of customers around the globe use TIBCO Cloud™ Integration to empower everyone to integrate anything.',\n img:\n 'https://fe-test-dev.s3.amazonaws.com/TIBCO/Tibco-45/screenshots-tci.png',\n },\n EBX: {\n h2: 'Thank you for your interest in TIBCO EBX™ Software',\n p:\n 'Thousands of customers around the globe use TIBCO EBX™ Software to govern, manage, and consume all shared data assets.',\n img:\n 'https://fe-test-dev.s3.amazonaws.com/TIBCO/Tibco-45/screenshots-ebx.png',\n },\n Mashery: {\n h2: 'Thank you for your interest in TIBCO Cloud™ Mashery®',\n p:\n 'Thousands of customers around the globe use TIBCO Cloud™ Mashery® to manage APIs from everywhere.',\n img:\n 'https://fe-test-dev.s3.amazonaws.com/TIBCO/Tibco-45/screenshots-mashery.png',\n },\n Jaspersoft: {\n h2: 'Thank you for your interest in TIBCO Jaspersoft®',\n p:\n 'Thousands of customers around the globe use TIBCO Jaspersoft® to design data visualizations exactly how they like. Down to the pixel.',\n img:\n 'https://www.jaspersoft.com/sites/jaspersoft/files/styles/optimize_only/public/2019-11/main-foreground.png?itok=zwPl4f8c',\n },\n };\n\n function init() {\n // console && console.log('>> init');\n // console && console.log('>> feReferrer: ' + feReferrer);\n FEHelper.addClass(document.body, 'fe_tibco-45');\n // Add sidebar image & message\n var feSidebarHTML =\n '' +\n '
' +\n ' \"\"' +\n \"

We're here to answer any questions regarding our products, pricing, services or any other information. \" +\n fePageData[feReferrer].p +\n '

' +\n '

Simply fill out the form or call ut at +1 866 240 0491

' +\n '
';\n FEHelper.prepend(\n document.querySelector('#main .columns.small-12.medium-5.large-4'),\n feSidebarHTML\n );\n\n FEHelper.onLoadElement(\n '.contact-form:not(.geotarget-lazyload) h2',\n function() {\n // Adjust form headline\n document.querySelector('.contact-form h2').innerHTML =\n fePageData[feReferrer].h2;\n // Auto select Product Interest\n switch (feReferrer) {\n case 'Spotfire':\n document\n .querySelector(\n 'select[name=\"field_product_\"] option[value=\"TIBCO Spotfire\"]'\n )\n .setAttribute('selected', 'selected');\n break;\n case 'TCI':\n document\n .querySelector(\n 'select[name=\"field_product_\"] option[value=\"TIBCO Cloud Integration\"]'\n )\n .setAttribute('selected', 'selected');\n break;\n case 'EBX':\n document\n .querySelector(\n 'select[name=\"field_product_\"] option[value=\"EBX\"]'\n )\n .setAttribute('selected', 'selected');\n break;\n case 'Mashery':\n document\n .querySelector(\n 'select[name=\"field_product_\"] option[value=\"TIBCO Mashery\"]'\n )\n .setAttribute('selected', 'selected');\n break;\n case 'Jaspersoft':\n document\n .querySelector(\n 'select[name=\"field_product_\"] option[value=\"TIBCO Jaspersoft\"]'\n )\n .setAttribute('selected', 'selected');\n break;\n }\n },\n 50,\n 10000\n );\n }\n\n // Check document.referrer\n if (document.referrer != ''&& !document.referrer.includes('https://www.tibco.com/support/')) {\n if (document.referrer.indexOf('spotfire') != -1) {\n feReferrer = 'Spotfire';\n sessionStorage.setItem('feReferrer', feReferrer);\n }\n if (document.referrer.indexOf('/cloud-integration') != -1) {\n feReferrer = 'TCI';\n sessionStorage.setItem('feReferrer', feReferrer);\n }\n if (\n document.referrer.indexOf('/tibco-ebx-software') != -1 ||\n document.referrer.indexOf(\n '/product/47501/demo-videos?field_video_type_target_id=1306'\n ) != -1\n ) {\n feReferrer = 'EBX';\n sessionStorage.setItem('feReferrer', feReferrer);\n }\n if (document.referrer.indexOf('/api-management') != -1) {\n feReferrer = 'Mashery';\n sessionStorage.setItem('feReferrer', feReferrer);\n }\n if (document.referrer.indexOf('jaspersoft') != -1) {\n feReferrer = 'Jaspersoft';\n sessionStorage.setItem('feReferrer', feReferrer);\n }\n }\n\n // Initialize if referrer match found on tibco contact-us page\n if (window.location.href.indexOf('https://www.tibco.com/contact-us') != -1) {\n if (feReferrer != '' || sessionStorage.getItem('feReferrer')) {\n // console && console.log('>> contact-us page');\n if (feReferrer == '') {\n feReferrer = sessionStorage.getItem('feReferrer');\n }\n FEHelper.onLoadElement('.contact-form h2', init, 50, 10000);\n }\n } else {\n // console && console.log('>> other pages');\n sessionStorage.removeItem('feReferrer');\n }\n})();","lastChanged":"\"2020-09-16T06:46:04.473Z\"","selector":"body"}],"selector":"body"}]},"isArchived":false,"campaign":"5eaa655cc5a71582787e2d69","slug":"V42627074","sourceId":"V42627074","createdAt":"2020-04-30T05:42:52.149Z","updatedAt":"2021-11-23T06:36:01.913Z","id":"5eaa655cc5a71582787e2d6c"}],"organization":"5a556ca4488a1a4c5398309b","holdbackVariation":null,"activeExperiment":null,"audience":null,"holdback":100,"holdbackMode":"random","predictVariations":false,"trafficAllocation":100,"decisionMode":"A/B/n Test","persistentDecisions":true,"name":"TIBCO-45: [Contact us] 100% Personalization by product","description":"FS","pageTargets":[{"include":true,"url":"https://www.tibco.com/contact-us","match":"simple"}],"editorUrl":"https://www.tibco.com/contact-us","source":"visual","sourceId":"C1307408","createdAt":"2020-02-27T04:03:09.717Z","updatedAt":"2021-11-23T06:36:01.907Z","customJavascript":[],"slug":"C1307408","status":"paused","runningFrom":"2020-04-30T05:45:01.656Z","pausedAt":"2021-11-23T06:36:01.829Z","id":"5eaa655cc5a71582787e2d69"},{"variations":[{"isBaselineVariation":true,"name":"Baseline variation","organization":"5a556ca4488a1a4c5398309b","campaign":"608bd028d6815a7b1fd6bda0","description":"","isArchived":true,"slug":"V1271196116","sourceId":"V1271196116","redirectUrl":"","redirectCode":false,"campaignType":"","createdAt":"2021-04-30T09:38:48.844Z","updatedAt":"2021-05-21T06:52:43.852Z","id":"608bd028d6815a7b1fd6bda2"},{"organization":"5a556ca4488a1a4c5398309b","redirectUrl":"","name":"v1","campaignType":"visual","isArchived":false,"isBaselineVariation":false,"redirectCode":false,"customCSS":"/* FORM FUNCTIONALITY STEP 1 */\nbody.fe-step1 form.contact-message-form > div#edit-field-product-interest-term-wrapper {\t\n width: 100%;\t\n margin: 0;\t\n}\t\nbody.fe-step1 form.contact-message-form > div:not(#edit-field-product-interest-term-wrapper) {\t\n display: none;\t\n}\t\nbody.fe-step2 form.contact-message-form #edit-field-product-interest-term-wrapper,\t\nbody.fe-interestStep form.contact-message-form #edit-field-product-interest-term-wrapper {\t\n display: none;\t\n}\nbody .fe-customer-carousel{\n opacity: 0;\n}\nbody.fe-step2 form.contact-message-form #edit-field-product-interest-term-wrapper,\nbody.fe-interestStep form.contact-message-form #edit-field-product-interest-term-wrapper {\n display: none;\n}\nbody.fe-step1 form.contact-message-form > p:not(.button) {\n display: none;\n}\n\n/* FORM FUNCTIONALITY STEP 2*/\nbody.fe-interestStep .fe-leftSec,\nbody.fe-step1 .fe-interestBased-sec,\nbody.fe-interestStep .contact-message-form h2,\nbody.fe-step2 .contact-message-form h2 {\n display: none;\n}\nbody.fe-step2 .fe-dummy-btn,\nbody.fe-interestStep .fe-dummy-btn {\n display: none;\n}\n\n/* SLIDER SETTINGS */\nhtml body .slick-slider .slick-list,\nhtml body .slick-slider .slick-track {\n height: 120px !important;\n}\nhtml body .slick-slide .logoTeaser img {\n padding: 10px !important;\n}\n.fe-customer-carousel.slick-slider,\n.fe-customer-images.slick-slider {\n margin-left: 25px !important;\n}\n.fe-customer-images:not(.slick-slider) > div {\n width: 130px;\n display: inline-block;\n margin-right: 20px;\n}\n.fe-customer-images:not(.slick-slider) > div img {\n width: 100%;\n}\n.fe-customer-images:not(.slick-slider) {\n margin-top: 25px;\n}\n.fe-customer-carousel .slick-prev:before,\n.fe-customer-images .slick-prev:before,\n.fe-customer-images .slick-next:before,\n.fe-customer-carousel .slick-next:before {\n color: #00a9d7;\n margin-top: -10px;\n}\n/* HIDING EXISTING CONTENT */\nhtml\n body\n .color-scheme-\n .full-width\n > .row\n > div:nth-child(2)\n > .field-wrapper {\n display: none;\n}\n.color-scheme- #bannerText,\n.full-width > .field-type-entity-reference-revisions {\n display: none;\n}\n@media screen and (min-width: 768px) {\n html body .color-scheme- .full-width > .row {\n flex-direction: row-reverse;\n display: flex;\n padding-right: 0px;\n max-width: 73em !important;\n }\n html body .color-scheme- .full-width > .row > div:nth-child(2) {\n width: 60% !important;\n padding-left: 44px;\n margin-top: -103px;\n background: #fff;\n padding: 20px 25px;\n }\n html body .color-scheme- .full-width > .row > div:nth-child(1) {\n width: 40% !important;\n position: relative;\n z-index: 2;\n }\n}\n@media screen and (min-width: 769px) {\n html body form .form-item-mail,\n html body form .field--type-list-string {\n width: 48%;\n margin-right: 2%;\n float: left;\n }\n html body form input[type=\"text\"],\n html body form input[type=\"date\"],\n html body form input[type=\"password\"],\n html body form input[type=\"email\"],\n html body form input[type=\"search\"],\n html body form input[type=\"number\"],\n html body form select,\n html body form textarea {\n margin: 0rem 0 1.5rem !important;\n }\n html body form .field--type-boolean {\n clear: both;\n }\n}\n\n@media screen and (max-width: 767px) {\n html body .color-scheme- .full-width > .row {\n flex-direction: column;\n display: flex;\n }\n html body .color-scheme- .full-width > .row > div {\n width: 100%;\n }\n}\nhtml body .IN-widget {\n display: block !important;\n}\nhtml body .color-scheme- form h2 + p {\n display: block;\n font-size: 18px;\n font-weight: 500;\n margin-bottom: 10px !important;\n font-family: \"Gotham A\",\"Gotham B\",Verdana,Geneva,sans-serif;\n}\n/* LEFT SECTION BULLETS */\n.fe-bullet-list > li {\n list-style-type: none;\n padding: 0;\n position: relative;\n padding-left: 30px;\n}\n.fe-leftSec > h5,\n.fe-interestBased-sec > h5 {\n font-weight: normal;\n margin-top: 30px;\n margin-bottom: 10px;\n}\n.fe-interestBased-sec > h5 {\n font-size: 20px;\n font-weight: 600;\n letter-spacing: 1px;\n}\n.fe-bullet-list {\n margin: 0;\n margin-top: 20px;\n}\n.fe-bullet-list > li::before {\n content: \"\";\n height: 25px;\n width: 25px;\n background: url(\"https://fe-test-dev.s3.amazonaws.com/TIBCO/tibco-83/Tibco_tick.png\")\n no-repeat;\n background-size: contain;\n display: block;\n position: absolute;\n left: 0;\n}\n/*.fe-interestBased-sec .headline,\n.fe-leftSec .headline {\n font-size: 36px;\n}*/\nhtml body .color-scheme- .gradientSmall {\n margin-bottom: 54px;\n}\n.fe-interestBased-sec .subHeadline,\n.fe-leftSec .subHeadline {\n font-size: 24px;\n font-weight: normal;\n}\n.fe-interestBased-img {\n margin-top: 35px;\n}\n.contact-message-form h2 {\n margin-bottom: 18px !important;\n font-size: 18px;\n}\n.fe-dummy-btn.button {\n width: 170px;\n}\n/* BOTTOM STRIP */\n.fe-recognize-inr h5 {\n font-size: 1.5rem;\n margin-top: 2rem;\n}\n.fe-recognize-logo-section {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin: 32px 0px;\n}\n.fe-recognize-logo {\n width: 24%;\n}\n.fe-recognize-logo img {\n max-width: 80%;\n margin: 0 auto;\n vertical-align: bottom;\n}\n.fe-recognize-inr {\n max-width: 623px;\n position: relative;\n}\n.fe-recognize-section {\n padding: 10px 0px;\n position: relative;\n padding-left: 25px;\n margin-top: 50px;\n}\nimg.fe-reco-image {\n position: absolute;\n top: 0;\n left: 0;\n -o-object-fit: cover;\n object-fit: cover;\n font-family: \"object-fit: cover;\";\n z-index: 0;\n height: 100%;\n width: 100%;\n}\n#contact-message-contact-us-form-sales-form .IN-widget iframe {\n height: 52px !important;\n}\n\n.fe-steps {\n display: flex;\n justify-content: space-between;\n align-items: center;\n text-align: center;\n}\n\n.fe-steps p {\n width: 50%;\n margin: 0px;\n padding: 10px;\n background: #BEE9F5;\n cursor: pointer;\n font-weight: 600;\n font-size: 17px;\n}\n\n.fe-step1 .fe-steps > .fe-button-step2 {\n background: transparent;\n font-weight: normal;\n}\n.fe-step2 .fe-steps > .fe-button-step1,\n.fe-interestStep .fe-steps > .fe-button-step1 {\n background: transparent;\n font-weight: normal;\n}\n.slick-list,.slick-slider,.slick-track{position:relative;display:block}.slick-loading .slick-slide,.slick-loading .slick-track{visibility:hidden}.slick-slider{box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-touch-callout:none;-khtml-user-select:none;-ms-touch-action:pan-y;touch-action:pan-y;-webkit-tap-highlight-color:transparent}.slick-list{overflow:hidden;margin:0;padding:0}.slick-list:focus{outline:0}.slick-list.dragging{cursor:pointer;cursor:hand}.slick-slider .slick-list,.slick-slider .slick-track{-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.slick-track{top:0;left:0}.slick-track:after,.slick-track:before{display:table;content:''}.slick-track:after{clear:both}.slick-slide{display:none;float:left;height:100%;min-height:1px}[dir=rtl] .slick-slide{float:right}.slick-slide img{display:block}.slick-slide.slick-loading img{display:none}.slick-slide.dragging img{pointer-events:none}.slick-initialized .slick-slide{display:block}.slick-vertical .slick-slide{display:block;height:auto;border:1px solid transparent}.slick-arrow.slick-hidden{display:none}","customJavascript":{"customJavascriptInstructions":[{"changes":[{"js":"(function () {\n try {\n /*-----------------------\n section data \n -----------------------*/\n var FeHelper = this;\n //wait for element to load\n FeHelper.doWhenJqueryLoaded= function (todoWhenLoaded) {\n var waitForjQuery = setInterval(function () {\n if (typeof window.jQuery != 'undefined') {\n clearInterval(waitForjQuery);\n todoWhenLoaded();\n }\n }, 50);\n setTimeout(function () {\n clearInterval(waitForjQuery);\n }, 10000);\n };\n FeHelper.doWhenElementLoaded = function (\n selector,\n trigger,\n delayInterval,\n delayTimeout\n ) {\n if (\n document &&\n document.querySelectorAll(selector) &&\n document.querySelectorAll(selector).length > 0\n ) {\n trigger();\n } else {\n var interval = setInterval(function () {\n if (\n document &&\n document.querySelectorAll(selector) &&\n document.querySelectorAll(selector).length > 0\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n }\n };\n FeHelper.doWhenSlickLoaded = function (todoWhenLoaded) {\n var waitForSlick = setInterval(function () {\n if (window.jQuery && window.jQuery.fn && window.jQuery.fn.slick) {\n clearInterval(waitForSlick);\n todoWhenLoaded();\n }\n }, 500);\n setTimeout(function () {\n clearInterval(waitForSlick);\n }, 10000);\n };\n FeHelper.pushEvent = function(eventName) {\n var waitForFunnelEnvy = setInterval(function () {\n if (typeof window.funnelEnvy !== \"undefined\") {\n clearInterval(waitForFunnelEnvy);\n window.funnelEnvy = window.funnelEnvy || [];\n window.funnelEnvy.push({\n event: eventName\n });\n }\n }, 50);\n setTimeout(function () {\n clearInterval(waitForFunnelEnvy);\n }, 5000);\n };\n FeHelper.insertAfter = function (reference_selector, inserting_selector) {\n var reference_element = document.querySelector(reference_selector);\n var inserting_element = document.querySelector(inserting_selector);\n reference_element.parentNode.insertBefore(inserting_element, reference_element.nextSibling);\n }\n // pure live click\n FeHelper._on = function (event, selector, callback, context) {\n /****Helper Functions****/\n // helper for enabling IE 8 event bindings\n function addEvent(el, type, handler) {\n if (el.attachEvent) el.attachEvent(\"on\" + type, handler);\n else el.addEventListener(type, handler);\n }\n // matches polyfill\n this.Element &&\n (function (ElementPrototype) {\n ElementPrototype.matches =\n ElementPrototype.matches ||\n ElementPrototype.matchesSelector ||\n ElementPrototype.webkitMatchesSelector ||\n ElementPrototype.msMatchesSelector ||\n function (selector) {\n var node = this,\n nodes = (node.parentNode || node.document).querySelectorAll(\n selector\n ),\n i = -1;\n while (nodes[++i] && nodes[i] != node);\n return !!nodes[i];\n };\n })(Element.prototype);\n // live binding helper using matchesSelector\n function live(selector, event, callback, context) {\n addEvent(context || document, event, function (e) {\n var found,\n el = e.target || e.srcElement;\n while (\n el &&\n el.matches &&\n el !== context &&\n !(found = el.matches(selector))\n )\n el = el.parentElement;\n if (found) callback.call(el, e);\n });\n }\n live(selector, event, callback, context);\n };\n\n FeHelper.genericCarouselContent = [\n {\n link: \"/customers/aeroporti-di-roma\",\n img: \"/sites/tibco/files/2017-10/customer-logo-adr.svg\",\n },\n {\n link: \"/customers/bayer-crop-sciences\",\n img: \"/sites/tibco/files/2020-04/bayer-logo.svg\",\n },\n {\n link: \"/customers/blendtec\",\n img: \"/sites/tibco/files/2018-12/customer-logo_blendtec.svg\",\n },\n {\n link: \"/customers/brembo\",\n img: \"/sites/tibco/files/2019-02/customer-brembo_0.svg\",\n },\n {\n link: \"/customers/cargosmart\",\n img: \"/sites/tibco/files/2016-12/customer-logo_cargosmart.svg\",\n },\n {\n link: \"#\",\n img: \"/sites/tibco/files/2020-06/campari-group.svg\",\n },\n {\n link: \"/customers/cerner\",\n img: \"/sites/tibco/files/2017-01/customer-logo-cerner.svg\",\n },\n {\n link: \"#\",\n img: \"/sites/tibco/files/2020-06/dbs.svg\",\n },\n {\n link: \"/customers/general-mills\",\n img: \"/sites/tibco/files/2017-01/customer-logo_general-mills-80.svg\",\n },\n {\n link: \"/customers/hunt-oil\",\n img: \"/sites/tibco/files/2020-01/hunt-oil.svg\",\n },\n {\n link: \"/customers/equifax\",\n img: \"/sites/tibco/files/2016-12/customer-logo_equifax.svg\",\n },\n {\n link: \"#\",\n img: \"/sites/tibco/files/2020-06/fannie-mae_0.svg\",\n },\n {\n link: \"/customers/goya-foods\",\n img: \"/sites/tibco/files/2019-09/customer-logo_goya.svg\",\n },\n {\n link: \"/customers/grupo-xcaret\",\n img: \"/sites/tibco/files/2019-09/customer-logo_grupo-xcaret.svg\",\n },\n {\n link: \"/customers/invitalia\",\n img: \"/sites/tibco/files/2020-02/invitalia-01.svg\",\n },\n {\n link: \"/customers/iron-mountain\",\n img: \"/sites/tibco/files/2019-06/customer-logo_iron-mountain.svg\",\n },\n {\n link: \"/customers/macys\",\n img: \"/sites/tibco/files/2016-12/customer-logo_macys.svg\",\n },\n {\n link: \"/customers/nasa\",\n img: \"/sites/tibco/files/2018-03/customer-logo_nasa.svg\",\n },\n {\n link: \"/customers/panera-bread\",\n img: \"/sites/tibco/files/2019-10/customer-logo_panera.svg\",\n },\n {\n link: \"/customers/rotten-tomatoes\",\n img: \"/sites/tibco/files/2018-10/fandango.svg\",\n },\n {\n link: \"/customers/save-children-uk\",\n img: \"/sites/tibco/files/2018-03/customer-logo_save-the-children.svg\",\n },\n {\n link: \"/customers/schlumberger\",\n img: \"/sites/tibco/files/2019-12/customer-logo_schlumberger.svg\",\n },\n {\n link: \"/customers/scottish-environment-protection-agency\",\n img: \"/sites/tibco/files/2019-07/customer-logo__SEPA.svg\",\n },\n {\n link: \"/customers/telkomsel\",\n img: \"/sites/tibco/files/2019-06/customer-logo_telkomsel.svg\",\n },\n {\n link: \"/customers/three-uk\",\n img: \"/sites/tibco/files/2017-01/customer-logo_three-uk_three-uk.svg\",\n },\n {\n link: \"#\",\n img: \"/sites/tibco/files/2020-06/ulta-beauty.svg\",\n },\n {\n link: \"#\",\n img: \"/sites/tibco/files/2020-04/united-logo.svg\",\n },\n {\n link: \"/customers/waste-management\",\n img: \"/sites/tibco/files/2019-04/website-logos-waste-management.svg\",\n },\n ];\n\n FeHelper.stepsContent = {\n \"TIBCO Mashery\": {\n img:\n \"https://fe-test-dev.s3.amazonaws.com/TIBCO/Tibco-45/screenshots-ebx.png\",\n bullets: [\n \"Manage APIs For Insights and Business Acceleration\",\n \"Connect Any Architecture and Data\",\n \"Cloud-Native, Deploy Anywhere\",\n ],\n customerImg: [\n {\n link: \"/customers/argos\",\n img:\n \"https://www.tibco.com/sites/tibco/files/2017-09/mashery-logos_argos.svg\",\n },\n {\n link: \"/customers/macys\",\n img:\n \"https://www.tibco.com/sites/tibco/files/2016-12/customer-logo_macys.svg\",\n },\n {\n link: \"/customers/news-corp-australia\",\n img:\n \"https://www.tibco.com/sites/tibco/files/2020-09/logo_news-corp.svg\",\n },\n {\n link: \"/customers/rotten-tomatoes\",\n img:\n \"https://www.tibco.com/sites/tibco/files/2020-09/logo_rotten-tomatoes.svg\",\n },\n {\n link: \"/customers/telkomsel\",\n img:\n \"https://www.tibco.com/sites/tibco/files/2019-06/customer-logo_telkomsel.svg\",\n },\n {\n link: \"/customers/caesars-entertainment\",\n img:\n \"https://www.tibco.com/sites/tibco/files/2019-10/customer-logo_caesars.svg\",\n },\n {\n link: \"/customers/air-france-klm\",\n img:\n \"https://www.tibco.com/sites/tibco/files/2020-01/customer-logo_airfrance.svg\",\n },\n {\n link: \"/customers/bnp-paribas\",\n img:\n \"https://www.tibco.com/sites/tibco/files/2017-01/customer-logo_bnp-paribas_bnp-paribas_bnp-paribas.svg\",\n },\n {\n link: \"/customers/sportradar\",\n img:\n \"https://www.tibco.com/sites/tibco/files/2017-10/customer-logo_sportradar.svg\",\n },\n {\n link: \"/customers/athenahealth\",\n img:\n \"https://www.tibco.com/sites/tibco/files/2017-09/mashery-logos_athenahealth.svg\",\n },\n {\n link: \"/customers/egnyte\",\n img:\n \"https://www.tibco.com/sites/tibco/files/2019-02/egnyte_egnyte.svg\",\n },\n ],\n },\n \"TIBCO Spotfire\": {\n img:\n \"https://fe-test-dev.s3.amazonaws.com/TIBCO/tibco-83/TIBCO_Spotfire_Analytics.png\",\n bullets: [\n \"Immersive Visual Analytics\",\n \"Custom Analytics Apps\",\n \"Real-time Streaming Analytics\",\n ],\n customerImg: [\n {\n link: \"#\",\n img:\n \"https://account.cloud.tibco.com/tsc-ws-content/assets/img/customer-logo_jetblue.svg\",\n },\n {\n link: \"#\",\n img:\n \"https://account.cloud.tibco.com/tsc-ws-content/assets/img/customer-logo_bank-of-montreal_bmo.svg\",\n },\n {\n link: \"#\",\n img:\n \"https://account.cloud.tibco.com/tsc-ws-content/assets/img/customer-logo_f1-lockup.svg\",\n },\n ],\n },\n \"TIBCO Cloud Integration\": {\n img:\n \"https://account.cloud.tibco.com/tsc-ws-content/assets/img/tci-main-img-1.png\",\n bullets: [\n \"Empower Everyone to Connect Anything\",\n \"Increase Business Agility with Accelerated Connectivity\",\n \"Respond Quickly to Continuous Disruption\",\n ],\n customerImg: [\n {\n link: \"/customers/caesars-entertainment\",\n img:\n \"https://www.tibco.com/sites/tibco/files/2019-10/customer-logo_caesars.svg\",\n },\n {\n link: \"/customers/t-mobile-usa\",\n img:\n \"https://www.tibco.com/sites/tibco/files/2018-03/customer-logo_tmobile.svg\",\n },\n {\n link: \"/customers/eagleview\",\n img:\n \"https://www.tibco.com/sites/tibco/files/2017-09/customer-logo_eagleview.svg\",\n },\n {\n link: \"/customers/nasa\",\n img:\n \"https://www.tibco.com/sites/tibco/files/2018-03/customer-logo_nasa.svg\",\n },\n {\n link: \"/customers/air-france-klm\",\n img:\n \"https://www.tibco.com/sites/tibco/files/2020-01/customer-logo_airfrance.svg\",\n },\n ],\n },\n \"EBX\": {\n img:\n \"https://fe-test-dev.s3.amazonaws.com/TIBCO/Tibco-45/screenshots-mashery.png\",\n bullets: [\n \"Govern, Manage and Consume All Shared Data Assets\",\n \"Streamline Operational Processes\",\n \"One Platform For All Users\",\n ],\n customerImg: [\n {\n link: \"#\",\n img:\n \"https://www.tibco.com/sites/tibco/files/2019-10/customer-logo_panera.svg\",\n },\n {\n link: \"#\",\n img:\n \"https://www.tibco.com/sites/tibco/files/2019-11/customer-logo_netspend.svg\",\n },\n {\n link: \"#\",\n img:\n \"https://www.tibco.com/sites/tibco/files/2020-10/ontario-power.svg\",\n },\n ],\n },\n \"TIBCO Jaspersoft\": {\n img:\n \"https://fe-test-dev.s3.amazonaws.com/TIBCO/tibco-83/Jaspersoft_in-product_screen.png\",\n bullets: [\n \"Embed reports & dashboards in your app. Perfectly.\",\n \"Flexible, customizable, and developer-friendly BI platform\",\n \"Manage reports & analytics with programmatic control\",\n ],\n customerImg: [\n {\n link: \"#\",\n img: \"https://www.jaspersoft.com/sites/jaspersoft/files/customer-logo_inquba_inquba.svg\",\n },\n {\n link: \"#\",\n img: \"https://www.jaspersoft.com/sites/jaspersoft/files/customer-logo_bigmate.svg\",\n },\n {\n link: \"#\",\n img: \"https://www.jaspersoft.com/sites/jaspersoft/files/customer-logo_iron-mountain.svg\",\n },\n {\n link: \"#\",\n img: \"https://www.jaspersoft.com/sites/jaspersoft/files/customer-logo_gichd.svg\",\n },\n {\n link: \"#\",\n img: \"https://www.jaspersoft.com/sites/jaspersoft/files/customer-logo_lufthansa-systems.svg\",\n },\n ],\n },\n \"TIBCO Statistica\": {\n img:\n \"https://fe-test-dev.s3.amazonaws.com/TIBCO/tibco-83/stetica_in-product_screen.png\",\n bullets: [\n \"Enable data science for everyone\",\n \"Simplify complexity and speed innovation\",\n \"Operationalize machine learning pipelines\"\n ],\n customerImg: [\n {\n link: \"#\",\n img: \"https://www.tibco.com/sites/tibco/files/2017-10/customer-logo-adr.svg\",\n },\n {\n link: \"#\",\n img: \"https://www.tibco.com/sites/tibco/files/2020-04/bayer-logo.svg\",\n },\n {\n link: \"#\",\n img: \"https://www.tibco.com/sites/tibco/files/2019-02/customer-brembo_0.svg\",\n },\n {\n link: \"#\",\n img: \"https://www.tibco.com/sites/tibco/files/2016-12/customer-logo_cargosmart.svg\",\n },\n {\n link: \"#\",\n img: \"https://www.tibco.com/sites/tibco/files/2019-07/customer-logo__SEPA.svg\",\n },\n {\n link: \"#\",\n img: \"https://www.tibco.com/sites/tibco/files/2018-12/customer-logo_anadarko.svg\",\n },\n {\n link: \"#\",\n img: \"https://www.tibco.com/sites/tibco/files/2017-10/customer-logo_uni-iowa.svg\",\n }\n ],\n },\n \"Other\": {\n img:\n \"https://fe-test-dev.s3.amazonaws.com/TIBCO/tibco-83/TIBCO_Overview.png.png\",\n bullets: [\n \"Learn more about our solutions\",\n \"Schedule a demo\",\n \"Get pricing information\",\n ],\n customerImg: [\n {\n link: \"#\",\n img: \"https://www.tibco.com/sites/tibco/files/2019-06/customer-logo_telkomsel.svg\",\n },\n {\n link: \"#\",\n img: \"https://www.tibco.com/sites/tibco/files/2020-01/hunt-oil.svg\",\n },\n {\n link: \"#\",\n img: \"https://www.tibco.com/sites/tibco/files/2019-09/customer-logo_goya.svg\",\n },\n {\n link: \"#\",\n img: \"https://www.tibco.com/sites/tibco/files/2018-03/customer-logo_nasa.svg\",\n },\n {\n link: \"#\",\n img: \"https://www.tibco.com/sites/tibco/files/2017-10/customer-logo_adis.svg\",\n },\n {\n link: \"#\",\n img: \"https://www.tibco.com/sites/tibco/files/2017-05/customer-logo_bank-of-montreal_bmo.svg\",\n },\n {\n link: \"#\",\n img: \"https://www.tibco.com/sites/tibco/files/2019-01/desigual-logo.svg\",\n },\n ],\n }\n };\n\n // FeHelper.reOrderList = [\n // \"TIBCO Spotfire\",\n // \"TIBCO Cloud Integration\",\n // \"EBX\",\n // \"TIBCO Data Virtualization\",\n // \"TIBCO Statistica\",\n // \"TIBCO Jaspersoft\",\n // \"TIBCO Mashery\",\n // \"Flogo\",\n // \"TIBCO ActiveMatrix BPM\",\n // \"TIBCO BusinessConnect\",\n // \"TIBCO BusinessWorks\",\n // \"TIBCO Messaging\",\n // \"TIBCO Cloud Metadata\",\n // \"TIBCO StreamBase\",\n // \"TIBCO BPM Enterprise\",\n // \"TIBCO BusinessEvents\",\n // \"TIBCO LogLogic\",\n // \"TIBCO Cloud Live Apps\",\n // \"TIBCO Cloud Messaging\",\n // \"Other\"\n // ];\n\n FeHelper.reOrderList = [\n \"8231\",\n \"8181\",\n \"8201\",\n \"8196\",\n \"8236\",\n \"8206\",\n \"8216\",\n \"8156\",\n \"8161\",\n \"8166\",\n \"8176\",\n \"8221\",\n \"8226\",\n \"8241\",\n \"8171\",\n \"8211\",\n \"8186\",\n \"8191\",\n \"8246\"\n ];\n\n FeHelper.generateSlider = function (carouselObj) {\n var sliderHTML = \"\";\n for (var i = 0; i < carouselObj.length; i++) {\n sliderHTML +=\n \"\" +\n ' \";\n }\n return sliderHTML;\n };\n\n FeHelper.bottomStripHTML =\n \"\" +\n '
' +\n ' \"Analyst' +\n '
' +\n '
' +\n \"
Recognized in over 13 areas as a leader in Integration, Data Management and Analytics
\" +\n '
' +\n '
' +\n ' \"Gartner\"' +\n \"
\" +\n '
' +\n ' \"IDC\"' +\n \"
\" +\n '
' +\n ' \"Forrester\"' +\n \"
\" +\n '
' +\n ' \"Ovum\"' +\n \"
\" +\n \"
\" +\n \"
\" +\n \"
\" +\n \"
\";\n\n FeHelper.leftSection =\n \"\" +\n '
' +\n '

Get started with TIBCO

' +\n '

Let’s find the right solution for your business needs.

' +\n '
    ' +\n \"
  • Questions about our products
  • \" +\n \"
  • Explore use cases for your industry
  • \" +\n \"
  • Get pricing information
  • \" +\n \"
\" +\n \"
Since 1997 we have helped leaders in every industry unlock the potential of their data in extraordinary ways.
\" +\n '
' +\n FeHelper.generateSlider(FeHelper.genericCarouselContent) +\n \"
\" +\n \"
\";\n\n FeHelper.reOrderDropdown = function () {\n var selectBox = document.querySelector(\"form select#edit-field-product-interest-term\");\n var i = 0;\n while (i < reOrderList.length) {\n var option = selectBox.querySelector(\n 'option[value=\"' + reOrderList[i] + '\"]'\n );\n if (option != null) {\n document\n .querySelectorAll(\"form select#edit-field-product-interest-term option\")\n [i].insertAdjacentElement(\"afterend\", option);\n }\n i++;\n }\n };\n\n /* INITIALIZE SLIDER */\n FeHelper.initializeSlider = function (selector) {\n FeHelper.doWhenSlickLoaded(function () {\n //initiate slick slider\n window.jQuery(selector).slick({\n slidesToShow: 4,\n slidesToScroll: 4,\n responsive: [\n {\n breakpoint: 1024,\n settings: {\n slidesToShow: 3,\n slidesToScroll: 3,\n infinite: true,\n dots: true,\n },\n },\n {\n breakpoint: 600,\n settings: {\n slidesToShow: 2,\n slidesToScroll: 2,\n },\n },\n {\n breakpoint: 480,\n settings: {\n slidesToShow: 1,\n slidesToScroll: 1,\n },\n },\n ],\n });\n document.querySelector('body .fe-customer-carousel').style.opacity=1;\n });\n };\n\n /* SHOW ERROR ON FIRST STEP */\n FeHelper.showError = function () {\n if (\n document.querySelector(\n \"form.contact-message-form #edit-field-product-interest-term-wrapper ul\"\n ) == null\n ) {\n document\n .querySelector(\"form.contact-message-form #edit-field-product-interest-term\")\n .insertAdjacentHTML(\n \"afterend\",\n '
  • This value is required.
'\n );\n }\n document\n .querySelector(\"form.contact-message-form #edit-field-product-interest-term\")\n .classList.add(\"parsley-error\");\n };\n\n /* REMOVE ERROR ON FIRST STEP */\n FeHelper.removeError = function () {\n var error = document.querySelector(\n \"form.contact-message-form #edit-field-product-interest-term + ul\"\n );\n if (error != null) {\n error.remove();\n }\n document\n .querySelector(\"form.contact-message-form #edit-field-product-interest-term\")\n .classList.remove(\"parsley-error\");\n };\n\n /* SHOW NEXT STEP */\n FeHelper.showNextStep = function () {\n var productInterest = document.querySelector(\n \"form select#edit-field-product-interest-term\"\n ).value;\n if (productInterest.length == 0) {\n FeHelper.showError();\n } else {\n FeHelper.removeError();\n /* ADD 2nd STEP CLASS */\n document.querySelector(\"body\").classList.remove(\"fe-step1\");\n /* FIRE EVENT FOR 2ND STEP */\n FeHelper.pushEvent('2nd step (full-form loads)');\n if (productInterest == \"8216\") {\n FeHelper.renderNextStep(\"TIBCO Mashery\");\n } else if (productInterest == \"8231\") {\n FeHelper.renderNextStep(\"TIBCO Spotfire\");\n } else if (productInterest == \"8181\") {\n FeHelper.renderNextStep(\"TIBCO Cloud Integration\");\n } else if (productInterest == \"8201\") {\n FeHelper.renderNextStep(\"EBX\");\n } else if (productInterest == \"8206\") {\n FeHelper.renderNextStep(\"TIBCO Jaspersoft\");\n } else if (productInterest == \"8236\") {\n FeHelper.renderNextStep(\"TIBCO Statistica\");\n } else {\n FeHelper.renderNextStep(\"Other\");\n document.querySelector(\"body\").classList.add(\"fe-step2\");\n }\n }\n };\n /* RENDER NEXT STEP */\n FeHelper.renderNextStep = function (productInterest) {\n document.querySelector(\"body\").classList.add(\"fe-interestStep\");\n var type = FeHelper.stepsContent[productInterest],\n bulletHTML = \"\",\n subHeadline;\n for (var i = 0; i < type.bullets.length; i++) {\n bulletHTML += \"
  • \" + type.bullets[i] + \"
  • \";\n }\n\n if(document.querySelector(\"form select#edit-field-product-interest-term\").value == '4246') {\n subHeadline = 'Thank you for your interest in
    TIBCO products and solutions';\n } else {\n subHeadline = 'Thank you for your interest in
    '+document.querySelectorAll(\"form select#edit-field-product-interest-term option\")[document.querySelector(\"form select#edit-field-product-interest-term\").selectedIndex].text+'';\n }\n\n var basedHTML =\n \"\" +\n '
    ' +\n '

    Talk with a product expert

    ' +\n '

    ' + subHeadline +\n \"

    \" +\n '
      ' +\n bulletHTML +\n \"
    \" +\n '
    ' +\n ' \"interest' +\n \"
    \" +\n \"
    Customers
    \" +\n '
    ' +\n FeHelper.generateSlider(type.customerImg) +\n \"
    \" +\n \"
    \";\n if(document.querySelector('.fe-interestBased-sec') != null) {\n document.querySelector('.fe-interestBased-sec').remove();\n }\n document\n .querySelector(\".fe-leftSec\")\n .insertAdjacentHTML(\"afterend\", basedHTML);\n if (document.querySelectorAll(\".fe-customer-images > div\").length > 3) {\n FeHelper.initializeSlider(\".fe-customer-images\");\n }\n };\n\n /*-----------------------\n init is the main controller\n --------------------*/\n\n FeHelper.firePersonalizedEvent = function() {\n var selectBox = document.querySelector('body form.contact-message-form select#edit-field-product-interest-term');\n selectBox.addEventListener('change', function() {\n var val = this.value;\n switch(val) {\n case 'TIBCO Mashery':\n FeHelper.pushEvent('TIBCO-83-Interest-Mashery');\n break;\n case 'TIBCO Spotfire':\n FeHelper.pushEvent('TIBCO-83-Interest-Spotfire');\n break;\n case 'TIBCO Cloud Integration':\n FeHelper.pushEvent('TIBCO-83-Interest-Cloud Integration');\n break;\n case 'EBX':\n FeHelper.pushEvent('TIBCO-83-Interest-EBX');\n break;\n case 'TIBCO Jaspersoft':\n FeHelper.pushEvent('TIBCO-83-Interest-Jaspersoft');\n break;\n case 'TIBCO Statistica':\n FeHelper.pushEvent('TIBCO-83-Interest-Statistica');\n break;\n default:\n FeHelper.pushEvent('TIBCO-83-Interest-Other(All other clicks from the product list)');\n }\n })\n }\n\n FeHelper.init = function () {\n setTimeout(function () {\n /* SHOW FORM */\n document.querySelector(\n \"#contact-message-contact-us-form-sales-form\"\n ).style.opacity = 1;\n FeHelper.reOrderDropdown();\n document.querySelector(\"body\").classList.add(\"fe-step1\");\n /* CHANGE STEP 1 FORM TEXT */\n document.querySelector(\".contact-message-form h2\").innerText =\n \"Which product are you interested in?\";\n document\n .querySelector(\"form.contact-message-form\")\n .insertAdjacentHTML(\n \"beforeend\",\n '

    Next

    '\n );\n document\n .querySelector(\"form select#edit-field-product-interest-term\")\n .addEventListener(\"focus\", function () {\n FeHelper.removeError();\n });\n document\n .querySelector(\".fe-dummy-btn\")\n .addEventListener(\"click\", function () {\n FeHelper.showNextStep();\n });\n //add steps\n var steps='

    Step 1

    Step 2

    ' ;\n document.querySelector('div.field-name-field-p-marketo-form').insertAdjacentHTML(\n \"beforebegin\",steps);\n FeHelper._on('click','.fe-steps .fe-button-step2',function(){\n document.querySelector('.fe-dummy-btn.button').click();\n });\n FeHelper._on('click','.fe-steps .fe-button-step1',function(){\n document.querySelector(\"body\").classList.remove(\"fe-step2\");\n document.querySelector(\"body\").classList.add(\"fe-step1\");\n document.querySelector(\"body\").classList.remove(\"fe-interestStep\");\n \n });\n /* FIRE PERSONALIZED EVENT */\n FeHelper.firePersonalizedEvent();\n }, 500);\n };\n FeHelper.moveFormField = function () {\n //move from fields\n setTimeout(function () {\n FeHelper.insertAfter('.field--name-field-phone-number', '.field--name-field-country-taxref');\n }, 2000);\n \n }\n FeHelper.addLeftSection = function () {\n document\n .querySelector(\n \"body .color-scheme- .full-width > .row > div:nth-child(2)\"\n )\n .insertAdjacentHTML(\"afterbegin\", FeHelper.leftSection);\n FeHelper.initializeSlider(\".fe-customer-carousel\");\n document\n .querySelector(\"body #siteFooter\")\n .insertAdjacentHTML(\"beforebegin\", FeHelper.bottomStripHTML);\n };\n\n FeHelper.doWhenElementLoaded(\n \"body form.contact-message-form:not(.geotarget-lazyload) select#edit-field-product-interest-term\",\n FeHelper.init,\n 50,\n 30000\n );\n FeHelper.doWhenElementLoaded(\n \"body .color-scheme- .full-width > .row > div:nth-child(2)\",\n FeHelper.addLeftSection,\n 50,\n 15000\n );\n FeHelper.doWhenElementLoaded('.field--name-field-phone-number', FeHelper.moveFormField);\n \n /* FORM FLASHING */\n FeHelper.doWhenElementLoaded(\n \"#contact-message-contact-us-form-sales-form\",\n function () {\n document.querySelector(\n \"#contact-message-contact-us-form-sales-form\"\n ).style.opacity = 0;\n setTimeout(function () {\n document.querySelector(\n \"#contact-message-contact-us-form-sales-form\"\n ).style.opacity = 1;\n }, 15000);\n },\n 50,\n 15000\n );\n function addScript() {\n // var bmScript = document.createElement('script');\n // bmScript.src =\n // 'https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.min.js';\n // document.getElementsByTagName('head')[0].appendChild(bmScript);\n !function(a){\"use strict\";\"function\"==typeof define&&define.amd?define([\"jquery\"],a):\"undefined\"!=typeof exports?module.exports=a(require(\"jquery\")):a(jQuery)}(function(a){\"use strict\";var b=window.Slick||{};b=function(){function c(c,d){var f,e=this;e.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:a(c),appendDots:a(c),arrows:!0,asNavFor:null,prevArrow:'',nextArrow:'',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:\"50px\",cssEase:\"ease\",customPaging:function(b,c){return a('',nextArrow:'',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:\"50px\",cssEase:\"ease\",customPaging:function(b,c){return a('\n `;\n\n var readNow = ''+\n '
    '+\n '

    Read how companies accross the globe and 15 industry verticals become digital leaders with TIBCO Cloud

    '+\n '
    '+\n ' Read Now'+\n '
    '+\n '
    ';\n\n \n function init() {\n if(debug){\n console.log('Inside init Function');\n }\n //changing Heading\n document.querySelector('.view-header .row .columns h1').innerHTML = \"Transform your business with TIBCO resources\";\n //adding sub-heading\n document.querySelector('.view-header .row .columns h1').insertAdjacentHTML('afterend', subHed);\n //Changing CTA text to Search\n document.querySelector('form[method=get].views-exposed-form div.form-actions input').value = \"Search\";\n //Adding placeholder\n document.querySelector('form[method=get].views-exposed-form input[type=text]').placeholder = \"Find resources\";\n //Adding Featured Resources section\n document.querySelector('.view-filters form[method=get].views-exposed-form').insertAdjacentHTML('beforeend', featuredResources);\n //Adding filter\n document.querySelector('.view-filters form[method=get].views-exposed-form').insertAdjacentHTML('beforeend', filter);\n //Adding Read Now section\n document.querySelector('.pager').insertAdjacentHTML('afterend', readNow);\n // Filter\n document.querySelector('.bm-filter-btn').addEventListener('click', function(){\n document.querySelector('#edit-submit-spotfire-resource-library').click();\n });\n }\n waitForElement(\".pager\", init, 50, 10000);\n\n } \n catch (e) {\n if (debug) console.log(e, \"error in Test\" + variation_name);\n }\n})();","lastChanged":"\"2021-11-17T20:47:42.862Z\""}],"selector":"#main > :nth-child(3) > :nth-child(1) > :nth-child(2) > :nth-child(1) > :nth-child(1)"}]},"id":"618240f34a4d586f0b6ed3b5"}],"organization":"5a556ca4488a1a4c5398309b","holdbackVariation":null,"activeExperiment":null,"audience":"5bffef71c6b67cc011e6dca3","holdback":100,"holdbackMode":"random","trafficAllocation":100,"predictVariations":false,"decisionMode":"A/B/n Test","name":"TIBCO-98: [Resources] Recommended section & headline changes","editorUrl":"https://www.tibco.com/resources","pageTargets":[{"include":true,"url":"https://www.tibco.com/resources","match":"simple"}],"persistentDecisions":true,"source":"visual","slug":"C1651305","sourceId":"C1651305","status":"running","isArchived":false,"createdAt":"2021-11-03T07:57:09.280Z","updatedAt":"2021-11-17T22:30:07.055Z","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"try {\n (function() {\n\n if (window.location.href.indexOf('fe-preview=true') == -1) {\n\n const dimension = 14; // Desired Custom Dimension\n const campaignSlug = 'C1651305'; // Campaign ID taken from URL \n const predictiveCampaign = false; // Set true for predictive campaigns, false for A/B tests\n var tracker = ''; // Used to define a custom tracker, Most of the time we can leave this blank, unless otherwise specified\n\n /* No need to edit anything below this line*/\n var variationString,\n holdback = '', predictive = ''; \n var forceClearInterval = false;\n\n window.funnelEnvy.addListener(\"backstage.activeVariation\", function(model, message) {\n var campaign = model.backstage.activeVariation.campaignSlug;\n if (campaign == campaignSlug) {\n\n variationString = campaignSlug + ': ' + model.backstage.activeVariation.name;\n\n if(predictiveCampaign == true) {\n model.backstage.activeVariation.recommended ? predictive = ' Predictive ' : '';\n model.backstage.activeVariation.holdback ? holdback = ' Holdback': ''; \n }\n\n (function poll() {\n if (forceClearInterval) return;\n if (window.ga && window.ga.getAll) {\n\n /* We'll use the first default tracker for most clients. Others, like A Cloud Guru\n have multiple trackers on a page, so specific the actual name eg: 'gtm2' for those instances\n */\n if (tracker == '' || tracker == ' ') {\n tracker = window.ga.getAll()[0].get('name');\n }\n\n // set the custom dimension\n window.ga(tracker + '.set', 'dimension' + dimension, variationString + predictive + holdback);\n\t // send the event to GA\n window.ga(tracker + \".send\", \"event\", \"funnelenvy\", variationString + predictive + holdback, {\n \"nonInteraction\": 1\n });\n } else {\n setTimeout(poll, 250);\n }\n })();\n setTimeout(function() {\n forceClearInterval = true;\n }, 10000);\n }\n });\n }\n })();\n} catch (err) {\n console.log(err);\n}","lastChanged":"2021-11-17T20:41:13.137Z"}]}]},"description":"FunnelEnvy 1 = OldFE 14","runningFrom":"2021-11-17T09:06:13.779Z","pausedAt":"2021-11-17T20:41:13.094Z","resumedAt":"2021-11-17T22:30:07.003Z","id":"618240d54a4d586f0b6ed3b2"},{"variations":[{"isBaselineVariation":true,"name":"Baseline variation","organization":"5a556ca4488a1a4c5398309b","campaign":"6193a00410674573399d66bb","description":"","isArchived":false,"slug":"V1271196144","sourceId":"V1271196144","redirectUrl":"","redirectCode":false,"campaignType":"","createdAt":"2021-11-16T12:11:49.562Z","updatedAt":"2021-11-23T06:45:01.904Z","customCSS":"html body.fe_tibco-45 #bannerText {\n display: none;\n}\n\nhtml body.fe_tibco-45 .gradientSmall {\n margin-bottom: 30px;\n}","customJavascript":{"customJavascriptInstructions":[{"selector":":nth-child(1) > :nth-child(1) > div > nav > ul > li","changes":[{"type":"jc","js":"(function() {\n var FEHelper = {\n onLoadElement: function(selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function() {\n if (\n document &&\n document.querySelectorAll(selector) &&\n document.querySelectorAll(selector).length > 0\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function() {\n clearInterval(interval);\n }, delayTimeout);\n },\n hasClass: function(element, className) {\n return element.classList\n ? element.classList.contains(className)\n : new RegExp('\\\\b' + className + '\\\\b').test(element.className);\n },\n addClass: function(element, className) {\n if (element.classList) element.classList.add(className);\n else if (!this.hasClass(element, className))\n element.className += ' ' + className;\n },\n prepend: function(targetElement, prependElement) {\n if (targetElement) {\n targetElement.insertAdjacentHTML('afterbegin', prependElement);\n }\n },\n };\n\n var feReferrer = '';\n var fePageData = {\n Spotfire: {\n h2: 'Thank you for your interest in TIBCO Spotfire®',\n p:\n 'Thousands of customers around the globe use TIBCO Spotfire® to empower everyone to integrate anything.',\n img:\n 'https://www.tibco.com/sites/tibco/files/styles/media_block_large/public/2018-11/benefit-screen_laptop-realtime_streaming_analytics.png?itok=n-EfmhE9',\n },\n TCI: {\n h2: 'Thank you for your interest in TIBCO Cloud™ Integration',\n p:\n 'Thousands of customers around the globe use TIBCO Cloud™ Integration to empower everyone to integrate anything.',\n img:\n 'https://fe-test-dev.s3.amazonaws.com/TIBCO/Tibco-45/screenshots-tci.png',\n },\n EBX: {\n h2: 'Thank you for your interest in TIBCO EBX™ Software',\n p:\n 'Thousands of customers around the globe use TIBCO EBX™ Software to govern, manage, and consume all shared data assets.',\n img:\n 'https://fe-test-dev.s3.amazonaws.com/TIBCO/Tibco-45/screenshots-ebx.png',\n },\n Mashery: {\n h2: 'Thank you for your interest in TIBCO Cloud™ Mashery®',\n p:\n 'Thousands of customers around the globe use TIBCO Cloud™ Mashery® to manage APIs from everywhere.',\n img:\n 'https://fe-test-dev.s3.amazonaws.com/TIBCO/Tibco-45/screenshots-mashery.png',\n },\n Jaspersoft: {\n h2: 'Thank you for your interest in TIBCO Jaspersoft®',\n p:\n 'Thousands of customers around the globe use TIBCO Jaspersoft® to design data visualizations exactly how they like. Down to the pixel.',\n img:\n 'https://www.jaspersoft.com/sites/jaspersoft/files/styles/optimize_only/public/2019-11/main-foreground.png?itok=zwPl4f8c',\n },\n };\n\n function init() {\n // console && console.log('>> init');\n // console && console.log('>> feReferrer: ' + feReferrer);\n FEHelper.addClass(document.body, 'fe_tibco-45');\n // Add sidebar image & message\n var feSidebarHTML =\n '' +\n '
    ' +\n ' \"\"' +\n \"

    We're here to answer any questions regarding our products, pricing, services or any other information. \" +\n fePageData[feReferrer].p +\n '

    ' +\n '

    Simply fill out the form or call ut at +1 866 240 0491

    ' +\n '
    ';\n FEHelper.prepend(\n document.querySelector('#main .columns.small-12.medium-5.large-4'),\n feSidebarHTML\n );\n\n FEHelper.onLoadElement(\n '.contact-form:not(.geotarget-lazyload) h2',\n function() {\n // Adjust form headline\n document.querySelector('.contact-form h2').innerHTML =\n fePageData[feReferrer].h2;\n // Auto select Product Interest\n switch (feReferrer) {\n case 'Spotfire':\n document\n .querySelector(\n 'select[name=\"field_product_\"] option[value=\"TIBCO Spotfire\"]'\n )\n .setAttribute('selected', 'selected');\n break;\n case 'TCI':\n document\n .querySelector(\n 'select[name=\"field_product_\"] option[value=\"TIBCO Cloud Integration\"]'\n )\n .setAttribute('selected', 'selected');\n break;\n case 'EBX':\n document\n .querySelector(\n 'select[name=\"field_product_\"] option[value=\"EBX\"]'\n )\n .setAttribute('selected', 'selected');\n break;\n case 'Mashery':\n document\n .querySelector(\n 'select[name=\"field_product_\"] option[value=\"TIBCO Mashery\"]'\n )\n .setAttribute('selected', 'selected');\n break;\n case 'Jaspersoft':\n document\n .querySelector(\n 'select[name=\"field_product_\"] option[value=\"TIBCO Jaspersoft\"]'\n )\n .setAttribute('selected', 'selected');\n break;\n }\n },\n 50,\n 10000\n );\n }\n\n // Check document.referrer\n if (document.referrer != ''&& !document.referrer.includes('https://www.tibco.com/support/')) {\n if (document.referrer.indexOf('spotfire') != -1) {\n feReferrer = 'Spotfire';\n sessionStorage.setItem('feReferrer', feReferrer);\n }\n if (document.referrer.indexOf('/cloud-integration') != -1) {\n feReferrer = 'TCI';\n sessionStorage.setItem('feReferrer', feReferrer);\n }\n if (\n document.referrer.indexOf('/tibco-ebx-software') != -1 ||\n document.referrer.indexOf(\n '/product/47501/demo-videos?field_video_type_target_id=1306'\n ) != -1\n ) {\n feReferrer = 'EBX';\n sessionStorage.setItem('feReferrer', feReferrer);\n }\n if (document.referrer.indexOf('/api-management') != -1) {\n feReferrer = 'Mashery';\n sessionStorage.setItem('feReferrer', feReferrer);\n }\n if (document.referrer.indexOf('jaspersoft') != -1) {\n feReferrer = 'Jaspersoft';\n sessionStorage.setItem('feReferrer', feReferrer);\n }\n }\n\n // Initialize if referrer match found on tibco contact-us page\n if (window.location.href.indexOf('https://www.tibco.com/contact-us') != -1) {\n if (feReferrer != '' || sessionStorage.getItem('feReferrer')) {\n // console && console.log('>> contact-us page');\n if (feReferrer == '') {\n feReferrer = sessionStorage.getItem('feReferrer');\n }\n FEHelper.onLoadElement('.contact-form h2', init, 50, 10000);\n }\n } else {\n // console && console.log('>> other pages');\n sessionStorage.removeItem('feReferrer');\n }\n})();","lastChanged":"\"2021-11-18T13:05:34.099Z\"","selector":":nth-child(1) > :nth-child(1) > div > nav > ul > li"}]}]},"id":"6193a00510674573399d66bd"},{"organization":"5a556ca4488a1a4c5398309b","redirectUrl":"","name":"V1 - Redesigned & support","campaign":"6193a00410674573399d66bb","campaignType":"visual","isArchived":false,"isBaselineVariation":false,"slug":"V3217179","sourceId":"V3217179","redirectCode":false,"createdAt":"2021-11-16T12:12:27.332Z","updatedAt":"2021-11-23T06:45:01.904Z","customCSS":"html body .columns.small-12.medium-5.large-4 {\n padding-left: 60px;\n}\nhtml body .row.gradientHolder .subheader {\n display: none;\n}\nhtml body .columns.small-12.large-8 h1:first-child {\n margin-top: -100px;\n color: #fff;\n margin-left: 30px;\n}\n\nhtml body .fe-support-msg,\nhtml body .fe-leader-msg {\n width: 90%;\n padding: 0.5rem 1rem 0.8rem;\n border-left: 6px solid rgb(0, 180, 229, 0.15);\n /*border-image: linear-gradient(\n to bottom,\n rgb(0, 180, 229, 0.15) 19.19%,\n rgb(28, 208, 187, 0.15) 79.76%\n )\n 1 100%;*/\n margin: 50px 0 80px 0;\n padding-bottom: 0!important;\n padding-top: 0!important;\n}\n\n/* Right content redesign */\nhtml body .fe-get-support {\n border: 6px solid;\n border-image: linear-gradient(\n to right,\n rgb(0, 180, 229, 0.15) 19.19%,\n rgb(28, 208, 187, 0.15) 79.76%\n )\n 1;\n padding: 1rem;\n margin: 50px 0;\n}\nhtml body .fe-get-support a {\n margin-top: 15px;\n display: block;\n}\nhtml body .fe-get-support-top {\n display: flex;\n margin-bottom: 20px;\n max-width: 332px;\n width: 100%;\n padding-left: 10px;\n margin-top: -50px;\n background-color: #fff;\n}\nhtml body .fe-get-support img {\n width: 66.66px;\n height: 76.99px;\n}\nhtml body .fe-get-support h3 {\n padding-left: 20px;\n font-size: 28px;\n font-weight: normal;\n line-height: 38px;\n color: #333333;\n}\nhtml\n body\n .field-node--field-description.field-name-field-description\n .field-items\n .field-item\n h4:nth-of-type(2) {\n display: block;\n}\n\n/* LOGO Section */\nhtml body .fe-caesars-logo {\n width: 112px;\n height: 88px;\n margin: 20px auto;\n}\nhtml body .fe-logo-inr h1 {\n text-align: center;\n letter-spacing: 0.768px;\n color: #1cd0bb;\n font-size: 24px;\n line-height: 34px;\n font-weight: 700;\n padding: 0 20px;\n /* font-family: Gotham; */\n}\nhtml body .fe-logo-inr h1:before {\n content: \"\";\n display: block;\n border-top: 3px solid #fff;\n width: 160px;\n margin: 8px auto;\n}\nhtml body .fe-logo-inr p {\n padding: 10px 30px;\n}\nhtml body .fe-tibco-petronas-logo {\n width: 230px;\n height: 66px;\n margin: 20px auto;\n}\nhtml body .fe-aeroporti-logo {\n width: 183px;\n height: 51px;\n margin: 20px auto;\n}\nhtml body .fe-logo-inr {\n text-align: center;\n}\n.fe-logo-one,\n.fe-logo-two,\n.fe-logo-three {\n background-color: #f4f4f4;\n margin: 10px 0;\n}\n\n/* Headquarters Section */\nhtml body .fe-headquarters-sales {\n display: flex;\n margin: 0 auto;\n margin-top: 60px;\n}\nhtml body .fe-headquarters-inr,\nhtml body .fe-sales-inr {\n border: 6px solid;\n border-image: linear-gradient(\n to right,\n rgb(0, 180, 229, 0.15) 19.19%,\n rgb(28, 208, 187, 0.15) 79.76%\n )\n 1;\n padding: 1rem;\n width: 100%;\n}\nhtml body .fe-headquarters-inr {\n margin-right: 30px;\n}\nhtml\n body\n .field-node--field-main-location.field-name-field-main-location\n .field-items\n .field-item {\n border: 6px solid;\n border-image: linear-gradient(\n to right,\n rgb(0, 180, 229, 0.15) 19.19%,\n rgb(28, 208, 187, 0.15) 79.76%\n )\n 1;\n padding: 1rem;\n}\nhtml body .fe-heading-icon {\n display: flex;\n}\nhtml body .headquarter-icon {\n background-color: #fff;\n margin-top: -50px;\n width: 76px;\n height: 76px;\n}\nhtml body .headquarter-heading,\nhtml body .sales-heading {\n background-color: #fff;\n margin-top: -50px;\n padding-left: 20px;\n font-size: 28px;\n font-weight: normal;\n line-height: 38px;\n color: #333333;\n}\nhtml body .sales-icon {\n background-color: #fff;\n margin-top: -50px;\n width: 60px;\n height: 60px;\n}\nhtml body .field-node--field-main-location.field-name-field-main-location,\nhtml body .field-node--field-description.field-name-field-description {\n display: none;\n}\n\n/* -------------------------Training, HR and Others section------------------------ */\nhtml body .field-node--field-section-content.field-name-field-section-content {\n max-width: 80rem;\n margin: 0 auto;\n}\nhtml\n body\n .field-node--field-section-content.field-name-field-section-content\n > .field-items {\n display: flex;\n margin: 40px auto;\n max-width: 100%;\n justify-content: space-evenly;\n}\nhtml\n body\n .field-node--field-section-content.field-name-field-section-content\n > .field-items\n > .field-item {\n border: 6px solid;\n border-image: linear-gradient(\n to right,\n rgb(0, 180, 229, 0.15) 19.19%,\n rgb(28, 208, 187, 0.15) 79.76%\n )\n 1;\n padding: 1rem;\n width: 424px;\n margin: 30px 10px 0px;\n}\nhtml body .horizontal-tab-info-container > .flex .field-items,\nsection.flex-container .field-items {\n display: flex;\n width: 100%;\n display: inline-block;\n flex-direction: column;\n}\nhtml body .horizontal-tab-info-container > .flex .field-items .field-item,\nsection.flex-container .field-items .field-item {\n width: 100% !important;\n max-width: 100% !important;\n}\nhtml\n body\n section.flex-container\n .field-items\n .field-item\n .block-item\n .field-items {\n width: 100% !important;\n}\n\nhtml\n body\n .field-node--field-section-content.field-name-field-section-content\n .sectionTitle.flexTitle {\n margin-top: -40px;\n background-color: #fff;\n font-size: 28px;\n line-height: 38px;\n color: #333333;\n margin-bottom: 10px;\n max-width: 180px;\n width: 100%;\n}\nhtml\n body\n .field-node--field-section-content.field-name-field-section-content\n h3 {\n margin-top: 20px;\n margin-bottom: -10px;\n font-weight: normal;\n}\nhtml\n body\n .field-node--field-section-content.field-name-field-section-content\n p {\n margin-bottom: 0px;\n}\n\n/* Sales and Consulting Section */\nhtml body #fe-sales-section-btm {\n border: 6px solid;\n border-image: linear-gradient(\n to right,\n rgb(0, 180, 229, 0.15) 19.19%,\n rgb(28, 208, 187, 0.15) 79.76%\n )\n 1;\n padding: 1rem;\n margin-top: 60px;\n width: 100%;\n}\nhtml body .fe-sales-inner {\n display: flex;\n}\n@media screen and (max-width: 768px) {\n .fe-headquarters-sales {\n flex-direction: column;\n width: 100%;\n margin: 0 auto;\n }\n .fe-headquarters-inr,\n .fe-sales-inr {\n margin: 50px auto;\n }\n html\n body\n .field-node--field-section-content.field-name-field-section-content\n > .field-items {\n flex-direction: column;\n width: 100%;\n margin: auto;\n padding: 10px;\n }\n html\n body\n .field-node--field-section-content.field-name-field-section-content\n > .field-items\n > .field-item {\n margin: 20px auto;\n width: 100%;\n }\n html body .columns.small-12.medium-5.large-4 {\n padding-left: 10px;\n }\n}\n\n@media screen and (max-width: 480px) {\n .fe-sales-inner {\n flex-direction: column;\n }\n .fe-support-msg {\n margin-top: 30px;\n }\n}\n\n/* ------------------ Form Update ------------------------ */\nhtml\n body\n .columns.small-12.medium-7.large-8\n > .field-node--field-p-marketo-form.field-name-field-p-marketo-form {\n margin-top: -50px;\n background-color: #fff;\n}\nhtml body form {\n background: linear-gradient(\n 126.15deg,\n rgb(0, 180, 229, 0.15) 19.19%,\n rgb(28, 208, 187, 0.15) 79.76%\n );\n mix-blend-mode: normal;\n /* opacity: 0.15; */\n}\nhtml\n body\n .contact-message-contact-us-form-form.contact-message-form.contact-form\n h2,\nhtml\n body\n .contact-message-contact-us-form-form.contact-message-form.contact-form\n h2\n + p {\n position: relative;\n}\n\nhtml\n body\n .contact-message-contact-us-form-form.contact-message-form.contact-form\n h2:after {\n \n font-size: 1.74rem;\n}\n\nhtml\n body\n .contact-message-contact-us-form-form.contact-message-form.contact-form\n h2\n + p:after {\n \n font-size: 0.95rem;\n color: #333333;\n}\nhtml body #edit-field-gdpr-form-header-wrapper:before {\n content: \"\";\n display: block;\n border-bottom: 4px solid #00a9d7;\n width: 60px;\n margin: -35px 0 30px 8px;\n}\n\nhtml body #edit-field-gdpr-form-footer-wrapper {\n display: none;\n}\nhtml body .form-textarea {\n background: rgba(255, 255, 255, 0.34);\n}\nhtml body .contact-message-form .js-form-submit {\n margin-bottom: 0px;\n}\n\nhtml\n body\n .paragraph--type--marketo-form\n form\n .form-item:not(.js-form-type-checkbox) {\n padding-bottom: 0px;\n}\n@media screen and (min-width: 769px) {\n html body #edit-field-request-type,\n html body #edit-field-country-taxref,\n html body #edit-field-state-taxref,\n html body #edit-mail,\n html body #edit-field-industry-term,\n html body #edit-field-product-interest-term {\n float: left;\n width: 48%;\n margin-right: 2%;\n }\n html body div#edit-field-comments-wrapper {\n clear: both;\n }\n}\n\nhtml body.fe_tibco-45 #bannerText {\n display: none;\n}\n\nhtml body.fe_tibco-45 .gradientSmall {\n margin-bottom: 30px;\n}\nhtml body div#edit-actions {\n display: flex;\n justify-content: center;\n}\nhtml body input[type=submit].button.button--primary {\n max-width: 400px;\n margin-bottom: 20px;\n}","customJavascript":{"customJavascriptInstructions":[{"changes":[{"js":"(function () {\n try {\n /* main variables */\n var debug = 0;\n var variation_name = \"\";\n\n /* all Pure helper functions */\n\n function waitForElement(selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (\n document &&\n document.querySelector(selector) &&\n document.querySelectorAll(selector).length > 0\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n }\n function prepend(targetElement, prependElement) {\n if (targetElement) {\n targetElement.insertAdjacentHTML('afterbegin', prependElement);\n }\n }\n var feReferrer = '';\n var fePageData = {\n Spotfire: {\n h2: 'Thank you for your interest in TIBCO Spotfire®',\n p:\n 'Thousands of customers around the globe use TIBCO Spotfire® to empower everyone to integrate anything.',\n img:\n 'https://www.tibco.com/sites/tibco/files/styles/media_block_large/public/2018-11/benefit-screen_laptop-realtime_streaming_analytics.png?itok=n-EfmhE9',\n },\n TCI: {\n h2: 'Thank you for your interest in TIBCO Cloud™ Integration',\n p:\n 'Thousands of customers around the globe use TIBCO Cloud™ Integration to empower everyone to integrate anything.',\n img:\n 'https://fe-test-dev.s3.amazonaws.com/TIBCO/Tibco-45/screenshots-tci.png',\n },\n EBX: {\n h2: 'Thank you for your interest in TIBCO EBX™ Software',\n p:\n 'Thousands of customers around the globe use TIBCO EBX™ Software to govern, manage, and consume all shared data assets.',\n img:\n 'https://fe-test-dev.s3.amazonaws.com/TIBCO/Tibco-45/screenshots-ebx.png',\n },\n Mashery: {\n h2: 'Thank you for your interest in TIBCO Cloud™ Mashery®',\n p:\n 'Thousands of customers around the globe use TIBCO Cloud™ Mashery® to manage APIs from everywhere.',\n img:\n 'https://fe-test-dev.s3.amazonaws.com/TIBCO/Tibco-45/screenshots-mashery.png',\n },\n Jaspersoft: {\n h2: 'Thank you for your interest in TIBCO Jaspersoft®',\n p:\n 'Thousands of customers around the globe use TIBCO Jaspersoft® to design data visualizations exactly how they like. Down to the pixel.',\n img:\n 'https://www.jaspersoft.com/sites/jaspersoft/files/styles/optimize_only/public/2019-11/main-foreground.png?itok=zwPl4f8c',\n },\n };\n /* Variation functions */\n var feSupportMsg =\n \"\" +\n '
    ' +\n \"

    We’d love to hear from you. Whether you have support questions or want to learn more about our products, features, pricing, we are here to help.

    \" +\n \"
    \";\n\n var feGetSupport =\n \"\" +\n '
    ' +\n '
    ' +\n ' ' +\n \"

    Get
    Support

    \" +\n \"
    \" +\n \"
    \";\n\n var feLeaderMsg =\n \"\" +\n '
    ' +\n \"

    Leaders in every industry across the world are unlocking the potential of their data with TIBCO

    \" +\n \"
    \";\n\n var feLogoGrid =\n \"\" +\n '
    ' +\n '
    ' +\n '
    ' +\n ' ' +\n \"

    FIRST

    \" +\n \"

    casino in Las Vegas to go live with cloud-based hotel management

    \" +\n \"
    \" +\n '
    ' +\n ' ' +\n \"

    50,000 / CAR / SECOND

    \" +\n \"

    Thousands of data points per car, per second understood with TIBCO Spotfire

    \" +\n \"
    \" +\n '
    ' +\n ' ' +\n \"

    BEST

    \" +\n \"

    Airport in Europe, 4 years in a row (Airports Council International)

    \" +\n \"
    \" +\n \"
    \" +\n \"
    \";\n var feHeadquarters =\n \"\" +\n \"
    \" +\n \"
    \" +\n \"
    \" +\n \" \" +\n \"

    Corporate
    Headquarters

    \" +\n \"
    \" +\n \"

    3307 Hillview Avenue
    Palo Alto, CA 94304
    USA

    \" +\n \"

    +1 650 846 1000
    +1 650 846 1005 (fax)

    \" +\n \" Get Directions »
    \" +\n \" World Wide Offices »\" +\n \"
    \" +\n \"\" +\n \"
    \" +\n \"
    \" +\n \" \" +\n \"

    Sales &
    Consulting

    \" +\n \"
    \" +\n \"

    Talk to our experts today

    \" +\n \"

    North America

    \" +\n \"

    Americas: +1 866 241 0491
    Canada: +1 866 241 0491

    \" +\n \" Other Locations »\" +\n \"
    \" +\n \"
    \";\n\n var feSalesSection =\n \"\" +\n \"
    \" +\n \"
    \" +\n \" \" +\n \"

    Sales &
    Consulting

    \" +\n \"
    \" +\n \"
    \" +\n \"
    \" +\n \"

    Middle East and Africa
    Africa (Sub-Saharan countries):

    \" +\n \"

    +27 (0)11 010 5460 (Regional partner: TechSoft International)
    North Africa & Middle East: +971 4 241 9126
    (Regional partner: Bahwan CyberTek)
    Israel: +972 9 7639333
    (Regional partner: Yael Group)

    \" +\n \"\" +\n \"

    APAC

    \" +\n \"

    Australia: +61 2 9055 9292
    India: +971 4 241 9126 (Regional partner: Bahwan CyberTek)
    Japan: Regional partner: NTT Communications »
    APAC (All Others): +65 6304 5260

    \" +\n \"
    \" +\n \"
    \" +\n \"

    Europe

    \" +\n \"

    Belgium: +322 891 9895
    Czech Republic: +420 296 180 703
    France: +33 173 043 010
    Germany: +49 895 123 3020
    Ireland: +353 1 437 8360
    Italy: +39 02 30416050
    Netherlands: +31 20 262 0311
    Nordics: Click here (Regional partner: ENFO Group)
    Spain: +34 91095 6566
    UK: +44 203 109 0485

    \" +\n \"\" +\n \"

    South America

    \" +\n \"

    Brazil: +55 (11) 2655 1810
    Mexico: +52 (55) 9171 2002
    South America (All Others): +1 866 240 0491

    \" +\n \"
    \" +\n \"
    \" +\n \"
    \";\n /* Variation Init */\n function init() {\n /* start your code here */\n if(!feReferrer.length){\n waitForElement(\n '.contact-form:not(.geotarget-lazyload) h2',\n function() {\n document.querySelector(\n \".contact-message-contact-us-form-form.contact-message-form.contact-form h2\"\n ).innerHTML = \"Please fill out the form\";\n document.querySelector(\n \".contact-message-contact-us-form-form.contact-message-form.contact-form p\"\n ).innerHTML = \"we'll be in touch soon\";\n },50,10000);\n \n }\n // Redesign outside form - right content\n document\n .querySelector(\".columns.small-12.medium-5.large-4\")\n .insertAdjacentHTML(\"afterbegin\", feSupportMsg);\n document\n .querySelector(\".columns.small-12.medium-5.large-4 .fe-support-msg\")\n .insertAdjacentHTML(\"afterend\", feGetSupport);\n\n document\n .querySelector(\".columns.small-12.medium-5.large-4 .fe-get-support\")\n .append(\n document.querySelector(\n \".field-wrapper.field.field-node--field-description.field-name-field-description.field-type-text-long.field-label-hidden .field-items .field-item h4:nth-of-type(2)\"\n )\n );\n document\n .querySelector(\".columns.small-12.medium-5.large-4 .fe-get-support h4\")\n .append(\n document.querySelector(\n \".field-wrapper.field.field-node--field-description.field-name-field-description.field-type-text-long.field-label-hidden .field-items .field-item p:last-child\"\n )\n );\n\n document\n .querySelector(\".fe-get-support p\")\n .append(\n document.querySelector(\n \".field-wrapper.field.field-node--field-description.field-name-field-description.field-type-text-long.field-label-hidden .field-items .field-item p:last-child\"\n )\n );\n document.querySelector(\".fe-get-support a\").innerHTML =\n \"Customer Portal »\";\n document\n .querySelector(\".columns.small-12.medium-5.large-4 .fe-get-support\")\n .insertAdjacentHTML(\"afterend\", feLeaderMsg);\n\n document\n .querySelector(\".columns.small-12.medium-5.large-4 .fe-leader-msg\")\n .insertAdjacentHTML(\"afterend\", feLogoGrid);\n\n document\n .querySelector(\n \".field-node--field-p-marketo-form.field-name-field-p-marketo-form.field-type-entity-reference-revisions\"\n )\n .insertAdjacentHTML(\"afterend\", feHeadquarters);\n document\n .querySelector(\".fe-headquarters-sales\")\n .insertAdjacentHTML(\"afterend\", feSalesSection);\n\n //Bottom section\n document\n .querySelector(\n \".field-node--field-section-content.field-name-field-section-content.field-type-entity-reference-revisions\"\n )\n .append(\n document.querySelector(\n \".field-node--field-section-content.field-name-field-section-content.field-type-entity-reference-revisions > .field-items > .field-item:last-child\"\n )\n );\n }\n function init2() {\n //console && console.log('>> init2',feReferrer);\n // console && console.log('>> feReferrer: ' + feReferrer);\n document.body.classList.add('fe_tibco-45');\n // Add sidebar image & message\n var feSidebarHTML =\n '' +\n '
    ' +\n ' \"\"' +\n \"

    We're here to answer any questions regarding our products, pricing, services or any other information. \" +\n fePageData[feReferrer].p +\n '

    ' +\n '

    Simply fill out the form or call ut at +1 866 240 0491

    ' +\n '
    ';\n prepend(\n document.querySelector('#main .columns.small-12.medium-5.large-4'),\n feSidebarHTML\n );\n \n waitForElement(\n '.contact-form:not(.geotarget-lazyload) h2',\n function() {\n // Adjust form headline\n document.querySelector('.contact-form h2').innerHTML =\n fePageData[feReferrer].h2;\n // Auto select Product Interest\n // switch (feReferrer) {\n // case 'Spotfire':\n // document\n // .querySelector(\n // 'select[name=\"field_product_\"] option[value=\"TIBCO Spotfire\"]'\n // )\n // .setAttribute('selected', 'selected');\n // break;\n // case 'TCI':\n // document\n // .querySelector(\n // 'select[name=\"field_product_\"] option[value=\"TIBCO Cloud Integration\"]'\n // )\n // .setAttribute('selected', 'selected');\n // break;\n // case 'EBX':\n // document\n // .querySelector(\n // 'select[name=\"field_product_\"] option[value=\"EBX\"]'\n // )\n // .setAttribute('selected', 'selected');\n // break;\n // case 'Mashery':\n // document\n // .querySelector(\n // 'select[name=\"field_product_\"] option[value=\"TIBCO Mashery\"]'\n // )\n // .setAttribute('selected', 'selected');\n // break;\n // case 'Jaspersoft':\n // document\n // .querySelector(\n // 'select[name=\"field_product_\"] option[value=\"TIBCO Jaspersoft\"]'\n // )\n // .setAttribute('selected', 'selected');\n // break;\n // }\n },\n 50,\n 10000\n );\n }\n function checkPage(){\n // Check document.referrer\n if (document.referrer != ''&& !document.referrer.includes('https://www.tibco.com/support/')) {\n if (document.referrer.indexOf('spotfire') != -1) {\n feReferrer = 'Spotfire';\n sessionStorage.setItem('feReferrer', feReferrer);\n }\n if (document.referrer.indexOf('/cloud-integration') != -1) {\n feReferrer = 'TCI';\n sessionStorage.setItem('feReferrer', feReferrer);\n }\n if (\n document.referrer.indexOf('/tibco-ebx-software') != -1 ||\n document.referrer.indexOf(\n '/product/47501/demo-videos?field_video_type_target_id=1306'\n ) != -1\n ) {\n feReferrer = 'EBX';\n sessionStorage.setItem('feReferrer', feReferrer);\n }\n if (document.referrer.indexOf('/api-management') != -1) {\n feReferrer = 'Mashery';\n sessionStorage.setItem('feReferrer', feReferrer);\n }\n if (document.referrer.indexOf('jaspersoft') != -1) {\n feReferrer = 'Jaspersoft';\n sessionStorage.setItem('feReferrer', feReferrer);\n }\n }\n }\n checkPage();\n /* Initialise variation */\n waitForElement(\".columns.small-12.medium-5.large-4\", init, 50, 15000);\n // Initialize if referrer match found on tibco contact-us page\n if (window.location.href.indexOf('https://www.tibco.com/contact-us') != -1) {\n if (feReferrer != '' || sessionStorage.getItem('feReferrer')) {\n // console && console.log('>> contact-us page');\n if (feReferrer == '') {\n feReferrer = sessionStorage.getItem('feReferrer');\n }\n waitForElement('.contact-form h2', init2, 50, 10000);\n }\n } else {\n // console && console.log('>> other pages');\n sessionStorage.removeItem('feReferrer');\n }\n } catch (e) {\n if (debug) console.log(e, \"error in Test\" + variation_name);\n }\n})();","lastChanged":"\"2021-11-19T11:34:32.994Z\"","selector":"body","type":"jc"}],"selector":"body"}]},"id":"6193a02b10674573399d66be"}],"organization":"5a556ca4488a1a4c5398309b","holdbackVariation":null,"activeExperiment":null,"audience":"5bffef71c6b67cc011e6dca3","holdback":100,"holdbackMode":"random","trafficAllocation":100,"predictVariations":false,"decisionMode":"A/B/n Test","name":"TIBCO-97: [Contact us] Redesign & more prominent support","editorUrl":"https://www.tibco.com/contact-us","pageTargets":[{"include":true,"url":"https://www.tibco.com/contact-us","match":"simple"}],"persistentDecisions":true,"source":"visual","slug":"C2137496","sourceId":"C2137496","status":"running","isArchived":false,"createdAt":"2021-11-16T12:11:48.945Z","updatedAt":"2021-11-23T06:45:01.892Z","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"try {\n (function() {\n\n if (window.location.href.indexOf('fe-preview=true') == -1) {\n\n const dimension = 72; // Desired Custom Dimension\n const campaignSlug = 'C2137496'; // Campaign ID taken from URL \n const predictiveCampaign = false; // Set true for predictive campaigns, false for A/B tests\n var tracker = ''; // Used to define a custom tracker, Most of the time we can leave this blank, unless otherwise specified\n\n /* No need to edit anything below this line*/\n var variationString,\n holdback = '', predictive = ''; \n var forceClearInterval = false;\n\n window.funnelEnvy.addListener(\"backstage.activeVariation\", function(model, message) {\n var campaign = model.backstage.activeVariation.campaignSlug;\n if (campaign == campaignSlug) {\n\n variationString = campaignSlug + ': ' + model.backstage.activeVariation.name;\n\n if(predictiveCampaign == true) {\n model.backstage.activeVariation.recommended ? predictive = ' Predictive ' : '';\n model.backstage.activeVariation.holdback ? holdback = ' Holdback': ''; \n }\n\n (function poll() {\n if (forceClearInterval) return;\n if (window.ga && window.ga.getAll) {\n\n /* We'll use the first default tracker for most clients. Others, like A Cloud Guru\n have multiple trackers on a page, so specific the actual name eg: 'gtm2' for those instances\n */\n if (tracker == '' || tracker == ' ') {\n tracker = window.ga.getAll()[0].get('name');\n }\n\n // set the custom dimension\n window.ga(tracker + '.set', 'dimension' + dimension, variationString + predictive + holdback);\n\t // send the event to GA\n window.ga(tracker + \".send\", \"event\", \"funnelenvy\", variationString + predictive + holdback, {\n \"nonInteraction\": 1\n });\n } else {\n setTimeout(poll, 250);\n }\n })();\n setTimeout(function() {\n forceClearInterval = true;\n }, 10000);\n }\n });\n }\n })();\n} catch (err) {\n console.log(err);\n}","lastChanged":"2021-11-23T06:43:23.730Z"}]}]},"description":"FunnelEnvy 5 = OldFE 72","runningFrom":"2021-11-19T11:38:27.398Z","pausedAt":"2021-11-22T19:13:44.042Z","resetAt":"2021-11-23T06:45:01.841Z","resumedAt":"2021-11-23T06:43:23.678Z","id":"6193a00410674573399d66bb"},{"variations":[{"isBaselineVariation":true,"name":"Baseline variation","organization":"5a556ca4488a1a4c5398309b","campaign":"61b133de725290f773b2952b","description":"","isArchived":true,"slug":"V1271196145","sourceId":"V1271196145","redirectUrl":"","redirectCode":false,"campaignType":"","createdAt":"2021-12-08T22:38:22.921Z","updatedAt":"2021-12-08T22:38:50.785Z","id":"61b133de725290f773b2952d"},{"organization":"5a556ca4488a1a4c5398309b","redirectUrl":"","name":"V1: Quick links","campaignType":"visual","isArchived":false,"isBaselineVariation":false,"redirectCode":false,"customCSS":"html body .fe_quicklinks {\n position: relative;\n bottom: 40px;\n background: rgba(51,51,51,.8);\n padding: 10px;\n}\n\nhtml body .fe_CTAs {\n display: flex;\n justify-content: center;\n column-gap: 40px;\n}\n\nhtml body .fe_quicklinks .fe_CTAs a {\n color: #FFFFFF;\n text-decoration: none;\n font-size: 14px;\n}\n\nhtml body .fe_quicklinks .fe_CTAs a:hover {\n color: #00a9d7;\n}\n\n @media screen and (max-width:768px) {\n html body .fe_quicklinks {\n display: none;\n }\n}","customJavascript":{"customJavascriptInstructions":[{"changes":[{"js":"(function () {\n try {\n /* main variables */\n var debug = 0;\n var variation_name = \"\";\n\n /* all Pure helper functions */\n\n function waitForElement(selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (\n document &&\n document.querySelector(selector) &&\n document.querySelectorAll(selector).length > 0\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n }\n function live(selector, event, callback, context) {\n /****Helper Functions****/\n // helper for enabling IE 8 event bindings\n function addEvent(el, type, handler) {\n if (el.attachEvent) el.attachEvent(\"on\" + type, handler);\n else el.addEventListener(type, handler);\n }\n // matches polyfill\n this.Element &&\n (function (ElementPrototype) {\n ElementPrototype.matches =\n ElementPrototype.matches ||\n ElementPrototype.matchesSelector ||\n ElementPrototype.webkitMatchesSelector ||\n ElementPrototype.msMatchesSelector ||\n function (selector) {\n var node = this,\n nodes = (node.parentNode || node.document).querySelectorAll(\n selector\n ),\n i = -1;\n while (nodes[++i] && nodes[i] != node);\n return !!nodes[i];\n };\n })(Element.prototype);\n // live binding helper using matchesSelector\n function live(selector, event, callback, context) {\n addEvent(context || document, event, function (e) {\n var found,\n el = e.target || e.srcElement;\n while (\n el &&\n el.matches &&\n el !== context &&\n !(found = el.matches(selector))\n )\n el = el.parentElement;\n if (found) callback.call(el, e);\n });\n }\n live(selector, event, callback, context);\n }\n function pushEvent(eventName) {\n var waitForFunnelEnvy = setInterval(function () {\n if (typeof window.funnelEnvy !== \"undefined\") {\n clearInterval(waitForFunnelEnvy);\n window.funnelEnvy = window.funnelEnvy || [];\n window.funnelEnvy.push({\n event: eventName,\n });\n }\n }, 50);\n setTimeout(function () {\n clearInterval(waitForFunnelEnvy);\n }, 5000);\n }\n /* Variation functions */\n\n var fe_CTA = ''+\n '
    '+\n '
    '+\n ' Schedule a Demo'+\n ' Watch Demos'+\n ' Free Trials'+\n ' TIBCO Cloud'+\n '
    '+\n '
    ';\n\n /* Variation Init */\n function init() {\n /* start your code here */\n document.querySelector('.homeBanner').insertAdjacentHTML('afterend',fe_CTA);\n live('.fe_quicklinks a','mousedown',function() {\n pushEvent('Tibco-50 '+this.textContent);\n });\n }\n\n /* Initialise variation */\n waitForElement(\".homeBanner\", init, 50, 15000);\n } catch (e) {\n if (debug) console.log(e, \"error in Test\" + variation_name);\n }\n})();","lastChanged":"\"2021-11-02T09:47:43.849Z\"","selector":"body","type":"jc"}],"selector":"body"}]},"campaign":"61b133de725290f773b2952b","slug":"V21122431","sourceId":"V21122431","createdAt":"2021-12-08T22:38:23.040Z","updatedAt":"2021-12-08T22:38:48.211Z","id":"61b133df725290f773b2952e"}],"organization":"5a556ca4488a1a4c5398309b","holdbackVariation":null,"activeExperiment":null,"audience":"5bffef71c6b67cc011e6dca3","holdback":100,"holdbackMode":"random","trafficAllocation":100,"predictVariations":false,"decisionMode":"A/B/n Test","name":"Copy of TIBCO-50: [Tibco HP] Quick Links","pageTargets":[{"include":true,"url":"http://www.tibco.com/","match":"simple"}],"editorUrl":"http://www.tibco.com/","persistentDecisions":true,"source":"visual","sourceId":"C8329863","isArchived":false,"createdAt":"2021-11-01T14:08:03.751Z","updatedAt":"2021-12-08T22:38:48.205Z","customJavascript":[],"description":"Full-scales","slug":"C8329863","status":"running","runningFrom":"2021-12-08T22:38:48.178Z","id":"61b133de725290f773b2952b"}],"conditions":[{"provider":"browser-info","name":"IP Exclusions","conditionGroups":[{"conditionList":[{"comparisonAttr":"function_is_evaluated","modifier":"equals","condition":"var xmlhttp = new XMLHttpRequest();\n xmlhttp.onreadystatechange = function() {\n if (xmlhttp.readyState == XMLHttpRequest.DONE) { // XMLHttpRequest.DONE == 4\n if (xmlhttp.status == 200) {\n var ipaddress = JSON.parse(xmlhttp.response).ip;\n\n if(/^63\\.100\\.100\\.([5-9]|[1-9][0-9]|1([0-3][0-9]|40))$^(124\\.124\\.197\\.187|67\\.108\\.223\\.2|195\\.7\\.90\\.67)$^220\\.225\\.79\\.([1-9]|1[0-5])$^220\\.225\\.42\\.(2(0[4-6]))$/.test(ipaddress)){\n return (true);\n }else{\n return (false);\n }\n\n }\n }\n };\n\n xmlhttp.open(\"GET\", \"https://api.ipify.org/?format=json\", true);\n xmlhttp.send();","dataType":"string"}]}],"experimental":{},"pageTargets":[{}],"slug":"ipExclusions","id":"5bf30c95f4c71ff1337c3f17"},{"provider":"browser-info","name":"Desktop only","conditionGroups":[{"conditionList":[{"comparisonAttr":"function_is_evaluated","modifier":"equals","condition":"function userAgentDetect () {\n // var deviceTypeVar;\n if (window.navigator.userAgent.match(/Mobile/i)\n || window.navigator.userAgent.match(/iPhone/i)\n || window.navigator.userAgent.match(/iPod/i)\n || window.navigator.userAgent.match(/IEMobile/i)\n || window.navigator.userAgent.match(/Windows Phone/i)\n || window.navigator.userAgent.match(/Android/i)\n || window.navigator.userAgent.match(/BlackBerry/i)\n || window.navigator.userAgent.match(/webOS/i)) {\n if (window.navigator.userAgent.match(/Tablet/i)\n || window.navigator.userAgent.match(/iPad/i)\n || window.navigator.userAgent.match(/Nexus 7/i)\n || window.navigator.userAgent.match(/Nexus 10/i)\n || window.navigator.userAgent.match(/KFAPWI/i)) {\n return 'tablet';\n } else {\n return 'smartphone';\n }\n } else if (window.navigator.userAgent.match(/Intel Mac/i)) {\n return 'desktop_or_laptop';\n } else if (window.navigator.userAgent.match(/Nexus 7/i)\n || window.navigator.userAgent.match(/Nexus 10/i)\n || window.navigator.userAgent.match(/KFAPWI/i)) {\n return 'tablet';\n } else {\n return 'desktop_or_laptop';\n }\n }\n\n if (userAgentDetect()=='desktop_or_laptop'){\n//console.info('audience desktop_or_laptop'); \n return true;\n }else{\nreturn false;\n}\n","dataType":"string"}]}],"experimental":{},"pageTargets":[{}],"slug":"desktopOnly","id":"5bffeed2c6b67cc011e6d8c8"},{"provider":"browser-info","name":"Condition Goals","conditionGroups":[{"conditionList":[{"comparisonAttr":"function_is_evaluated","modifier":"equals","condition":"//console.log('audience condition');","dataType":"string"}]}],"experimental":{},"pageTargets":[{}],"slug":"conditionGoals","id":"5c90afef00f75c825c6409f0"},{"provider":"browser-info","name":"7LP was not filled","conditionGroups":[{"conditionList":[{"comparisonAttr":"function_is_evaluated","modifier":"equals","condition":"if (window.location.href.indexOf('https://www.jaspersoft.com/download') != -1) {\n\tvar v = document.cookie.match('(^|;) ?fe_7lp_form_success=([^;]*)(;|$)');\n\treturn v ? false : true;\n}","dataType":"string"}]}],"experimental":{},"pageTargets":[{}],"slug":"A2013301","id":"5d5d0795786d65941325acff"},{"provider":"browser-info","name":"TIBCO-41: cpc condition","conditionGroups":[{"conditionList":[{"comparisonAttr":"function_is_evaluated","modifier":"equals","condition":"if(window.location && window.location.href && window.location.href.indexOf('cpc')!= -1){\n\n return true;\n}\nelse{\n\n return false;\n}\n","dataType":"string"}]}],"experimental":{},"pageTargets":[{}],"slug":"A4301036","id":"5d7a0beff31ff1465e6e10e8"},{"provider":"browser-info","name":"QA parameter","conditionGroups":[{"conditionList":[{"comparisonAttr":"function_is_evaluated","modifier":"equals","condition":"function hasQAParameter() {\ntry{\n var name = \"fe-QA\";\n name = name.replace(/[\\[]/, '\\\\[').replace(/[\\]]/, '\\\\]');\n var regex = new RegExp('[\\\\?&]' + name + '=([^&#]*)');\n var results = regex.exec(location.search);\n var paramVal = results===null ? '' : decodeURIComponent(results[1].replace(/\\+/g, ' '))\n return paramVal === \"true\";\n}\ncatch(err){\nreturn false;\n}\n};\n\nif(hasQAParameter()){\nreturn true;\n}\nelse{\nreturn false;\n}\n","dataType":"string"}]}],"experimental":{},"pageTargets":[{}],"slug":"A9890400","id":"5d7a14932465253972863718"},{"provider":"browser-info","name":"PPC-41 with Qa Parameter","conditionGroups":[{"conditionList":[{"comparisonAttr":"function_is_evaluated","modifier":"equals","condition":"function getUrlParameter(name) {\n name = name.replace(/[\\[]/, '\\\\[').replace(/[\\]]/, '\\\\]');\n var regex = new RegExp('[\\\\?&]' + name + '=([^&#]*)');\n var results = regex.exec(location.search);\n return results === null ? '' : decodeURIComponent(results[1].replace(/\\+/g, ' '));\n};\n\n\nfunction hasQAParameter() {\n try{\n var name = \"fe-QA\";\n name = name.replace(/[\\[]/, '\\\\[').replace(/[\\]]/, '\\\\]');\n var regex = new RegExp('[\\\\?&]' + name + '=([^&#]*)');\n var results = regex.exec(location.search);\n var paramVal = results===null ? '' : decodeURIComponent(results[1].replace(/\\+/g, ' '))\n return paramVal === \"true\";\n }\n catch(err){\n return false;\n }\n };\n \n\nif(window.location.href.indexOf('brand')!= -1){\n\nvar feParam=getUrlParameter('lp');\nvar feHasQaParam=hasQAParameter();\nif(feParam==='y' && feHasQaParam){\n return true;\n}\nelse{\n return false;\n}\n}\n\n \n ","dataType":"string"}]}],"experimental":{},"pageTargets":[{}],"slug":"A1800178","id":"5d7f34a724282e6f13449dce"},{"provider":"browser-info","name":"Have not filled the form","conditionGroups":[{"conditionList":[{"comparisonAttr":"function_is_evaluated","modifier":"equals","condition":"function getCookie(cname) {\n var name = cname + \"=\";\n var decodedCookie = decodeURIComponent(document.cookie);\n var ca = decodedCookie.split(';');\n for(var i = 0; i 30) {\n clearInterval(fewaitForjquery);\n }\n }, 200);\n};\n__feFN.waitForElement = function (element, callback) {\n var feCounter = 0;\n var fewaitForElement = setInterval(function () {\n if (document.querySelectorAll(element).length > 0) {\n clearInterval(fewaitForElement);\n callback();\n }\n feCounter++;\n if (feCounter > 30) {\n clearInterval(fewaitForElement);\n }\n }, 200);\n};\n//get coockie\n__feFN.getCookie = function (name) {\n var nameEQ = name + \"=\";\n var ca = document.cookie.split(';');\n for (var i = 0; i < ca.length; i++) {\n var c = ca[i];\n while (c.charAt(0) == ' ') c = c.substring(1, c.length);\n if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length);\n }\n return null;\n};\n//Below function used for pushing event to funnelenvy PRO\n__feFN.fePushEvents = function (eventName) {\n var waitForFunnelEnvy = setInterval(function () {\n if (typeof window.funnelEnvy !== \"undefined\") {\n clearInterval(waitForFunnelEnvy);\n window.funnelEnvy = window.funnelEnvy || [];\n window.funnelEnvy.push({\n event: eventName\n });\n console && console.log(\"feEventPush\", eventName);\n }\n }, 30);\n setTimeout(function () {\n clearInterval(waitForFunnelEnvy);\n }, 8000);\n};\n__feFN.checkAjaxComplete = function (callback) {\n var fesend = XMLHttpRequest.prototype.send;\n XMLHttpRequest.prototype.send = function () {\n this.addEventListener(\"load\", function () {\n callback(this.responseURL, this.responseText);\n });\n return fesend.apply(this, arguments);\n };\n}\n//set cookie\n__feFN.setCookie = function (name, value, days) {\n var d = new Date;\n d.setTime(d.getTime() + 24 * 60 * 60 * 1000 * days);\n document.cookie = name + \"=\" + value + \";path=/;expires=\" + d.toGMTString();\n}\n//track GA event \n__feFN.feTrackGAEvent = function ($eventCategory, $eventAction, $eventLabel) {\n var waitForGa = setInterval(function () {\n if ('ga' in window) {\n ga.getAll()[0].send('event', {\n eventCategory: $eventCategory,\n eventAction: $eventAction,\n eventLabel: $eventLabel,\n });\n clearInterval(waitForGa);\n }\n }, 30);\n setTimeout(function () {\n clearInterval(waitForGa);\n }, 8000);\n};\n__feFN.live = function (selector, event, callback, context) {\n /****Helper Functions****/\n // helper for enabling IE 8 event bindings\n function addEvent(el, type, handler) {\n if (el.attachEvent) el.attachEvent('on' + type, handler);\n else el.addEventListener(type, handler);\n }\n // matches polyfill\n this.Element && function (ElementPrototype) {\n ElementPrototype.matches = ElementPrototype.matches ||\n ElementPrototype.matchesSelector ||\n ElementPrototype.webkitMatchesSelector ||\n ElementPrototype.msMatchesSelector ||\n function (selector) {\n var node = this,\n nodes = (node.parentNode || node.document).querySelectorAll(selector),\n i = -1;\n while (nodes[++i] && nodes[i] != node);\n return !!nodes[i];\n };\n }(Element.prototype);\n // live binding helper using matchesSelector\n function live(selector, event, callback, context) {\n addEvent(context || document, event, function (e) {\n var found, el = e.target || e.srcElement;\n while (el && el.matches && el !== context && !(found = el.matches(selector))) el = el.parentElement;\n if (found) callback.call(el, e);\n });\n }\n live(selector, event, callback, context);\n}\n/*** Reusable functions ends here*****/\n\n//Below code is written to injecting youtube script.\nwindow.optCustom = {};\noptCustom.injectStyle = function (a) {\n var b;\n var c = document;\n \"\\\\x0B\" === \"v\" ?\n (c.createStyleSheet().cssText = a) :\n ((b = c.createElement(\"style\")),\n (b.type = \"text/css\"),\n (b.innerHTML = a),\n c.getElementsByTagName(\"head\")[0].appendChild(b));\n};\noptCustom.loadScript = function (location, callback) {\n var fileRef = document.createElement(\"script\");\n fileRef.setAttribute(\"type\", \"text/javascript\");\n if (callback) {\n if (fileRef.readyState) {\n // IE\n fileRef.onreadystatechange = function () {\n if (\n fileRef.readyState == \"loaded\" ||\n fileRef.readyState == \"complete\"\n ) {\n fileRef.onreadystatechange = null;\n callback();\n }\n };\n } else {\n // Non-IE\n fileRef.onload = function () {\n callback();\n };\n }\n }\n fileRef.setAttribute(\"src\", location);\n document.head.appendChild(fileRef);\n};\noptCustom.loadcss = function (url) {\n var head = document.getElementsByTagName(\"head\")[0];\n var link = document.createElement(\"link\");\n link.type = \"text/css\";\n link.rel = \"stylesheet\";\n link.href = url;\n head.appendChild(link);\n return link;\n};\n\n\n\n\n\n\n//Contact Sales Form Completes - Successful form submissions\nif (__feFN.feReferrer.indexOf('https://www.tibco.com/contact-us/sales') != -1 && __feFN.fePageUrl.indexOf('https://www.tibco.com/contact-us/thank-you') != -1) {\n __feFN.fePushEvents('Contact Sales Form Completes');\n}\n\n\nif (__feFN.fePathName === \"/contact-us\") {\n __feFN.waitForElement('form', function () {\n __feFN.waitForJquery(function() {\n $('form').on('submit', function() {\n __feFN.fePushEvents('contact_us_submit');\n });\n }); \n });\n}\n\n\n//tibco 79 submission goal \nif (__feFN.fePageUrl.includes('https://www.tibco.com/events/') && __feFN.fePageUrl.includes('success=thank-you')) {\n __feFN.fePushEvents('Event Registration form Submit');\n}\n\n\n\nif (__feFN.fePathName === \"/resources/product-download/tibco-statistica-trial-download-windows\") {\n // Goal: Resources Page Form Submissions\n // Event: landing_page_form_submissions\n __feFN.waitForElement('#site .alert-box.success', function () {\n __feFN.fePushEvents('Statistica form submits');\n });\n}\n\n//Tibco-94 goal \nif (__feFN.fePathName === \"/\") {\n // Goal: Resources Page Form Submissions\n // Event: landing_page_form_submissions\n __feFN.live('div.hpContent a.button.Solid', 'mousedown', function () {\n __feFN.fePushEvents('TIBCO-94-LearnMore');\n });\n __feFN.live('div.hpContent a.button.button.fe-button-sign-in', 'mousedown', function () {\n __feFN.fePushEvents('TIBCO-CLOUD-SIGN-IN-Click');\n });\n}\n\n//Tibco-94 goal \nif (__feFN.fePathName === '/products/cloud-integration' || __feFN.fePathName === '/products/tibco-spotfire' || __feFN.fePathName === '/products/api-management') {\n // Goal: Resources Page Form Submissions\n // Event: landing_page_form_submissions\n __feFN.live('.headerHolder .sections_button_link_wrapper .sections_button_link_container .button.ghost', 'mousedown', function () {\n __feFN.fePushEvents('TIBCO-95-Ghost');\n });\n __feFN.live('.headerHolder .sections_button_link_wrapper .sections_banner_link_container .button', 'mousedown', function () {\n __feFN.fePushEvents('TIBCO-95-Solid');\n });\n}\n\nif (__feFN.fePathName === '/demo-library') {\n // Goal: Resources Page Form Submissions\n // Event: landing_page_form_submissions\n __feFN.waitForElement('#site .zurb-foundation-callout.callout.success', function () {\n __feFN.fePushEvents('Tibco-50 watch demos form submits');\n });\n}\n\n//tibco 98 goal \nif(__feFN.fePathName == '/resources'){\n__feFN.live(\".bm-read-now-btn a\", \"click\", function () {\n __feFN.fePushEvents('TIBCO-98-Read-Now');\n});\n\n__feFN.live(\"#edit-submit-spotfire-resource-library\", \"click\", function () {\n __feFN.fePushEvents('TIBCO-98-Search');\n});\n\n__feFN.live(\".bm-res-featured-item a\", \"click\", function () {\n __feFN.fePushEvents('TIBCO-98-Recommended-Resources-Clicks');\n});\n\n__feFN.live(\"form .ms-choice\", \"click\", function () {\n __feFN.fePushEvents('TIBCO-98-Filter-Click');\n});\n}\n//Tibco 97 goal\nif(__feFN.fePathName == '/contact-us'){\n__feFN.live(\".field-name-field-description p a:nth-child(1), .fe-get-support-top +h4 a\", \"mousedown\", function () {\n __feFN.fePushEvents('TIBCO-97-support-portal');\n});\n}\n//for tibco87 campaign\n/*if(__feFN.fePathName == \"/\")\n{\n window.addEventListener('smart_content_decision', function (event) {\n console.log('Smart Event Fired');\n console.log(event.detail.campaign);\n if(event.detail.campaign == 'Default Campaign')\n {\n window.Tibco87Camp = true;\n __feFN.setCookie('TB_87',true,365);\n funnelEnvy.init({\n forceReloadCampaign:true,\nmanageContentFlash:false\n });\n }\n });\n}*/\n\n\n\n\n","consentRequired":true,"domains":"www.tibco.com,community.jaspersoft.com,www.jaspersoft.com,select-region.cloud.tibco.com,account.cloud.tibco.com,cloud.tibco.com,spotfire.tibco.com,www-stg.jaspersoft.com,eu.account.cloud.tibco.com,www.mashery.com,account.tenant-integration.tcie.pro, au.account.cloud.tibco.com, account.us.azure.cloud.tibco.com/signup/tci,www-stg.tibco.com,tibco.test","id":"5a556ca4488a1a4c5398309b"},"flags":{"enablePageViewTracking":true,"vpLambdaUrl":"https://cec.funnelenvy.com/visitor","vpSplitProbability":1,"vpTimeout":4000}};})()