/*! 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","type":"tc"}],"selector":"#sfid-3094315730 > div"},{"changes":[{"lastChanged":"\"2021-07-22T12:50:17.429Z\"","newHtml":"
Search
\n\n
Search
","selector":"#back-to-top > :nth-child(1) > :nth-child(3)","type":"hc"},{"lastChanged":"\"2021-07-22T12:50:26.426Z\"","newHtml":"
Search
","selector":"#back-to-top > :nth-child(1) > :nth-child(3)","type":"hc"},{"lastChanged":"\"2021-07-22T12:51:04.011Z\"","newHtml":"
Search
","selector":"#back-to-top > :nth-child(1) > :nth-child(3)","type":"hc"},{"lastChanged":"\"2021-07-22T12:53:10.062Z\"","newHtml":"
Search
","selector":"#back-to-top > :nth-child(1) > :nth-child(3)","type":"hc"},{"lastChanged":"\"2021-07-22T12:58:21.440Z\"","newHtml":"
Search
","selector":"#back-to-top > :nth-child(1) > :nth-child(3)","type":"hc"},{"lastChanged":"\"2021-07-22T12:58:44.170Z\"","newHtml":"
Search
","selector":"#back-to-top > :nth-child(1) > :nth-child(3)","type":"hc"},{"lastChanged":"\"2021-07-22T12:59:21.297Z\"","newHtml":"
Search
","selector":"#back-to-top > :nth-child(1) > :nth-child(3)","type":"hc"},{"lastChanged":"\"2021-07-22T13:00:28.204Z\"","newHtml":"
Search
","selector":"#back-to-top > :nth-child(1) > :nth-child(3)","type":"hc"},{"lastChanged":"\"2021-07-22T13:00:39.707Z\"","newHtml":"
Search
","selector":"#back-to-top > :nth-child(1) > :nth-child(3)","type":"hc"},{"lastChanged":"\"2021-07-22T13:00:56.376Z\"","newHtml":"
Search
","selector":"#back-to-top > :nth-child(1) > :nth-child(3)","type":"hc"}],"selector":"#back-to-top > :nth-child(1) > :nth-child(3)"},{"selector":"#back-to-top > :nth-child(1) > :nth-child(3) > :nth-child(1)","changes":[{"type":"hc","newHtml":"
Search
","lastChanged":"\"2021-07-22T13:04:04.543Z\"","selector":"#back-to-top > :nth-child(1) > :nth-child(3) > :nth-child(1)"},{"type":"hc","newHtml":"
Search
","lastChanged":"\"2021-07-22T13:09:06.208Z\"","selector":"#back-to-top > :nth-child(1) > :nth-child(3) > :nth-child(1)"}]}]},"expectedGoal":"60abd077811f82596729a235","id":"5f5118b10fe25ce47dab198a"},{"organization":"5c19de5ca98def372590dc5f","redirectUrl":"","name":"Dark overlay","campaign":"5f5115c70cc8a4fa70869cfd","campaignType":"visual","isArchived":false,"isBaselineVariation":false,"slug":"V2306668","sourceId":"V2306668","redirectCode":false,"createdAt":"2021-07-22T14:32:09.033Z","updatedAt":"2021-07-23T13:08:07.977Z","customCSS":"","customJavascript":{"customJavascriptInstructions":[{"selector":"body","changes":[{"type":"jc","js":"function onLoadElement(selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (document && document.querySelectorAll(selector) && document.querySelectorAll(selector).length > 0) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n };\n\n function init() {\n\n document.querySelector('body #insights .column__two .key-highlight.bg--img.bg--blend').id = 'darkbackground';\n var darkbackgroundID = document.getElementById('darkbackground');\n\n var img = document.getElementById('darkbackground'),\n style = img.currentStyle || window.getComputedStyle(img, false),\n bi = style.backgroundImage.match(/url\\([\"']?([^\"']*)[\"']?\\)/)[1];\n\ndarkbackgroundID.style.backgroundImage = 'url(\"'+bi+'\"),linear-gradient(108deg, rgb(62, 81, 81) 100%, rgb(222, 203, 164) 100%)';\n\n\n };\n\n\n\n onLoadElement(\"body #insights .column__two .key-highlight.bg--img.bg--blend\", init, 50, 10000);","lastChanged":"\"2021-07-23T13:08:03.820Z\"","selector":"body"}]}]},"id":"60f98169c57235ef038c519f"}],"organization":"5c19de5ca98def372590dc5f","holdbackVariation":null,"activeExperiment":null,"audience":null,"holdback":100,"holdbackMode":"random","trafficAllocation":100,"predictVariations":false,"decisionMode":"A/B/n Test","name":"FR_LP21_11 Insights tile - Dark background & short copy","description":"IF we darken the background image in the Insights tile\tTHEN we would increase the CTR \tDUE TO module standing out more and visitors being able to read better so they can click what they’re interested in.","pageTargets":[{"include":true,"url":"https://www.fitchratings.com/corporate-finance/leveraged-finance","match":"regex"}],"persistentDecisions":true,"editorUrl":"https://www.fitchratings.com/corporate-finance/leveraged-finance","source":"visual","slug":"C1680422","sourceId":"C1680422","status":"draft","isArchived":false,"createdAt":"2020-09-03T16:11:51.785Z","updatedAt":"2021-08-26T14:22:44.479Z","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"","lastChanged":"2021-07-22T12:30:15.958Z"}]}]},"id":"5f5115c70cc8a4fa70869cfd"},{"variations":[{"isBaselineVariation":true,"name":"Baseline variation","organization":"5c19de5ca98def372590dc5f","campaign":"60e576fdd47ff8c366ad8121","description":"","isArchived":false,"slug":"V127119616","sourceId":"V127119616","redirectUrl":"","redirectCode":false,"campaignType":"","createdAt":"2021-07-07T09:42:21.386Z","updatedAt":"2021-07-07T09:42:21.425Z","id":"60e576fdd47ff8c366ad8122"},{"organization":"5c19de5ca98def372590dc5f","redirectUrl":"","name":"Link to /newsletter","expectedGoal":"60abd077811f82596729a235","campaign":"60e576fdd47ff8c366ad8121","campaignType":"custom","isArchived":false,"isBaselineVariation":false,"slug":"V7385817","sourceId":"V7385817","redirectCode":false,"createdAt":"2021-07-07T09:43:56.990Z","updatedAt":"2021-07-07T09:43:56.992Z","id":"60e5775cd47ff8c366ad8123"}],"organization":"5c19de5ca98def372590dc5f","holdbackVariation":null,"activeExperiment":null,"audience":null,"holdback":100,"holdbackMode":"random","trafficAllocation":100,"predictVariations":false,"decisionMode":"A/B/n Test","name":"LP WEB 21 Jul Subscribe button redirect to /newsletter","description":"IF we redirect users to the master newsletter form instead of the cross sell page\tTHEN we can increase the subscription rate\tDUE TO there being something evident to subscribe to","persistentDecisions":true,"editorUrl":"https://www.fitchratings.com/","source":"custom","slug":"C1747300","sourceId":"C1747300","status":"draft","isArchived":false,"createdAt":"2021-07-07T09:42:21.373Z","updatedAt":"2021-09-07T13:59:59.169Z","pageTargets":[{"include":true,"url":"https://www.fitchratings.com/","match":"contains"}],"customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"try {\n (function() {\n\n if (window.location.href.indexOf('fe-preview=true') == -1) {\n\n var dimension = 19; // Desired Custom Dimension\n var campaignSlug = 'C1747300'; // 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":"2021-07-07T09:42:50.309Z"}]}]},"id":"60e576fdd47ff8c366ad8121"},{"variations":[{"isBaselineVariation":true,"name":"Baseline variation","organization":"5c19de5ca98def372590dc5f","campaign":"60e5786cd6815a7b1fd6be5d","description":"","isArchived":false,"slug":"V127119617","sourceId":"V127119617","redirectUrl":"","redirectCode":false,"campaignType":"","createdAt":"2021-07-07T09:48:28.286Z","updatedAt":"2021-07-16T12:57:27.229Z","id":"60e5786cd6815a7b1fd6be5e"},{"organization":"5c19de5ca98def372590dc5f","redirectUrl":"","name":"Link to /newsletter","expectedGoal":"60abd077811f82596729a235","campaign":"60e5786cd6815a7b1fd6be5d","campaignType":"visual","isArchived":false,"isBaselineVariation":false,"slug":"V73858171","sourceId":"V73858171","redirectCode":false,"createdAt":"2021-07-07T09:49:12.798Z","updatedAt":"2021-07-16T12:57:27.229Z","customCSS":"","customJavascript":{"customJavascriptInstructions":[{"changes":[],"selector":"#back-to-top > :nth-child(1) > :nth-child(3) > :nth-child(2) > a"},{"changes":[{"type":"jc","js":"function onLoadElement(selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (document && document.querySelectorAll(selector) && document.querySelectorAll(selector).length > 0) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n };\n\n function init() {\n console.log('Element has loaded!');\n\n document.querySelector('#back-to-top .region-login .button--login').id = 'subscribebutton';\n var linkchange = document.getElementById('subscribebutton');\n linkchange.setAttribute('href', 'https://www.fitchratings.com/newsletters#newsletter-sign-up');\n\n };\n\n\n\n onLoadElement(\"#back-to-top .region-login .button--login\", init, 50, 10000);","lastChanged":"\"2021-07-09T10:52:43.316Z\"","selector":"body"}],"selector":"body"}]},"id":"60e57898d6815a7b1fd6be5f"}],"organization":"5c19de5ca98def372590dc5f","holdbackVariation":null,"activeExperiment":null,"audience":null,"holdback":100,"holdbackMode":"random","trafficAllocation":100,"predictVariations":false,"decisionMode":"A/B/n Test","name":"LP WEB 21 Jul Subscribe button redirect to /newsletter","description":"IF we redirect users to the master newsletter form instead of the cross sell page\tTHEN we can increase the subscription rate\tDUE TO there being something evident to subscribe to","editorUrl":"https://www.fitchratings.com/","persistentDecisions":true,"source":"visual","slug":"C17473001","sourceId":"C17473001","status":"paused","isArchived":false,"createdAt":"2021-07-07T09:48:28.274Z","updatedAt":"2021-07-16T12:57:27.224Z","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"try {\n (function() {\n\n if (window.location.href.indexOf('fe-preview=true') == -1) {\n\n var dimension = 19; // Desired Custom Dimension\n var campaignSlug = 'C17473001'; // 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":"2021-07-09T10:54:28.907Z"}]}]},"pageTargets":[{"include":true,"url":"www.fitchratings.com","match":"contains"}],"runningFrom":"2021-07-09T10:54:28.879Z","pausedAt":"2021-07-16T12:57:27.146Z","id":"60e5786cd6815a7b1fd6be5d"},{"variations":[{"isBaselineVariation":true,"name":"Baseline variation","organization":"5c19de5ca98def372590dc5f","campaign":"60f95ea4f94c89fc12d0a861","description":"","isArchived":false,"slug":"V127119619","sourceId":"V127119619","redirectUrl":"","redirectCode":false,"campaignType":"","createdAt":"2021-07-22T12:03:49.030Z","updatedAt":"2021-10-04T12:31:12.223Z","id":"60f95ea5f94c89fc12d0a862"},{"organization":"5c19de5ca98def372590dc5f","redirectUrl":"","name":"Short copy","description":"Shorter descriptions","expectedGoal":"60abd077811f82596729a235","campaign":"60f95ea4f94c89fc12d0a861","campaignType":"visual","isArchived":false,"isBaselineVariation":false,"slug":"V7942049","sourceId":"V7942049","redirectCode":false,"createdAt":"2021-07-22T12:07:46.159Z","updatedAt":"2021-10-04T12:31:12.223Z","customCSS":"","customJavascript":{"customJavascriptInstructions":[{"changes":[],"selector":"#newsletter-sign-up > :nth-child(1)"},{"changes":[{"type":"jc","js":"function onLoadElement(selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (document && document.querySelectorAll(selector) && document.querySelectorAll(selector).length > 0) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n };\n\n function init() {\n console.log('Iframe Loaded!');\n document.querySelector('body #newsletter-sign-up iframe').id = 'newsletter';\n\n document.getElementById('newsletter').src = 'https://your.fitch.group/Fitch-Ratings-test-Master-Newsletter.html';\n\n };\n\n\n\n onLoadElement(\"body #newsletter-sign-up iframe\", init, 50, 10000);","lastChanged":"\"2021-07-27T15:16:13.438Z\""}],"selector":"body"}]},"id":"60f95f92d6815a7b1fd6be65"}],"organization":"5c19de5ca98def372590dc5f","holdbackVariation":null,"activeExperiment":null,"audience":null,"holdback":100,"holdbackMode":"random","trafficAllocation":100,"predictVariations":false,"decisionMode":"A/B/n Test","name":"FORM WEB 21 Jul Newsletter page content","description":"IF we reduce the copy on the newsletter form\tTHEN we would increase the CR \tDUE to users finding quicker the options that are of interest to them","editorUrl":"https://www.fitchratings.com/newsletters","persistentDecisions":true,"source":"visual","slug":"C1459233","sourceId":"C1459233","status":"paused","isArchived":false,"createdAt":"2021-07-22T12:03:48.940Z","updatedAt":"2021-10-04T12:31:12.220Z","pageTargets":[{"include":true,"url":"https://www.fitchratings.com/newsletters","match":"regex"}],"customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"try {\n (function() {\n\n if (window.location.href.indexOf('fe-preview=true') == -1) {\n\n var dimension = 20; // Desired Custom Dimension\n var campaignSlug = 'C1459233'; // 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":"2021-08-26T13:11:40.989Z"}]}]},"runningFrom":"2021-07-27T12:18:18.826Z","pausedAt":"2021-10-04T12:31:12.192Z","resumedAt":"2021-07-27T15:36:19.245Z","id":"60f95ea4f94c89fc12d0a861"},{"variations":[{"isBaselineVariation":true,"name":"Baseline variation","organization":"5c19de5ca98def372590dc5f","campaign":"60f96452d47ff8c366ad8132","description":"","isArchived":false,"slug":"V127119620","sourceId":"V127119620","redirectUrl":"","redirectCode":false,"campaignType":"","createdAt":"2021-07-22T12:28:02.100Z","updatedAt":"2021-07-22T12:28:02.147Z","id":"60f96452d47ff8c366ad8133"},{"organization":"5c19de5ca98def372590dc5f","redirectUrl":"","name":"Search prominent","expectedGoal":"60f94245d47ff8c366ad8130","campaign":"60f96452d47ff8c366ad8132","campaignType":"visual","isArchived":false,"isBaselineVariation":false,"slug":"V8229688","sourceId":"V8229688","redirectCode":false,"createdAt":"2021-07-22T13:15:21.613Z","updatedAt":"2021-07-23T12:22:04.651Z","customCSS":".overlay__search {\n margin-left: 2.4rem;\n padding: .5rem .9rem;\n background: #2a8abf;\n font-size: 1.4rem;\n line-height: 1.1;\n text-align: center;\n color: #fff;\n border-radius: 12px;\n cursor: pointer;\n}","customJavascript":{"customJavascriptInstructions":[{"changes":[{"lastChanged":"\"2021-07-22T13:17:02.128Z\"","newHtml":"
Search
","selector":"#back-to-top > :nth-child(1) > :nth-child(3)","type":"hc"}],"selector":"#back-to-top > :nth-child(1) > :nth-child(3)"},{"changes":[{"js":"function onLoadElement(selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (document && document.querySelectorAll(selector) && document.querySelectorAll(selector).length > 0) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n };\n\n function init() {\n console.log('Element has loaded!');\n\n document.querySelector('#back-to-top .region-login .button--login').id = 'subscribebutton';\n\n };\n\n onLoadElement(\"#back-to-top .region-login .button--login\", init, 50, 10000);","lastChanged":"\"2021-07-22T13:41:03.749Z\"","selector":"body","type":"jc"},{"type":"jc","js":"function onLoadElement(selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (document && document.querySelectorAll(selector) && document.querySelectorAll(selector).length > 0) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n };\n\n function init() {\n console.log('Element has loaded!');\n\n\n onLoadElement(\"body .exampleClass\", init, 50, 10000);","lastChanged":"\"2021-07-23T12:21:59.639Z\"","selector":"body"}],"selector":"body"}]},"id":"60f96f69d6815a7b1fd6be66"}],"organization":"5c19de5ca98def372590dc5f","holdbackVariation":"60f96452d47ff8c366ad8133","activeExperiment":null,"holdback":100,"holdbackMode":"random","trafficAllocation":100,"predictVariations":false,"decisionMode":"A/B/n Test","name":"FR_S21_11 Search icon more prominent in top nav","description":"IF we highlight the Search icon for new users instead of the 'Subscribe' CTA\tTHEN we can increase the visits with search\tDUE TO search standing out more + new users are most likely not ready to subscribe","pageTargets":[{"include":true,"match":"contains","url":"https://www.fitchratings.com/"}],"persistentDecisions":true,"editorUrl":"https://www.fitchratings.com/","source":"visual","slug":"C1945541","sourceId":"C1945541","status":"draft","isArchived":false,"createdAt":"2021-07-22T12:28:02.088Z","updatedAt":"2021-07-22T12:28:02.144Z","id":"60f96452d47ff8c366ad8132"},{"variations":[{"isBaselineVariation":true,"name":"Baseline variation","organization":"5c19de5ca98def372590dc5f","campaign":"611e67a3725290f773b2945e","description":"","isArchived":false,"slug":"V127119622","sourceId":"V127119622","redirectUrl":"","redirectCode":false,"campaignType":"","createdAt":"2021-08-19T14:16:03.495Z","updatedAt":"2021-08-19T14:16:03.541Z","id":"611e67a3725290f773b2945f"},{"organization":"5c19de5ca98def372590dc5f","redirectUrl":"","name":"Three tabs","expectedGoal":"611a456f10674573399d65ed","campaign":"611e67a3725290f773b2945e","campaignType":"visual","isArchived":false,"isBaselineVariation":false,"slug":"V8611545","sourceId":"V8611545","redirectCode":false,"createdAt":"2021-08-19T14:20:59.595Z","updatedAt":"2021-08-19T14:20:59.598Z","id":"611e68cbf1f349b835850163"},{"organization":"5c19de5ca98def372590dc5f","redirectUrl":"","name":"Two tabs","expectedGoal":"611a456f10674573399d65ed","campaign":"611e67a3725290f773b2945e","campaignType":"visual","isArchived":false,"isBaselineVariation":false,"slug":"V1816876","sourceId":"V1816876","redirectCode":false,"createdAt":"2021-08-19T14:21:21.110Z","updatedAt":"2021-08-19T14:21:21.119Z","id":"611e68e1f1f349b835850164"}],"organization":"5c19de5ca98def372590dc5f","holdbackVariation":null,"activeExperiment":null,"audience":"611e681d725290f773b29461","holdback":100,"holdbackMode":"random","trafficAllocation":100,"predictVariations":false,"decisionMode":"A/B/n Test","name":"FR_F21_01 - Shortened Premium Content Access form","description":"Shortened Premium Content Access form","editorUrl":"https://www.fitchratings.com/research/banks/access-bank-plc-update-22-07-2021","persistentDecisions":true,"pageTargets":[{"include":true,"url":"www.fitchratings.com","match":"contains"}],"source":"visual","slug":"C3259611","sourceId":"C3259611","status":"draft","isArchived":false,"createdAt":"2021-08-19T14:16:03.483Z","updatedAt":"2021-08-19T14:20:30.561Z","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"try {\n (function() {\n\n if (window.location.href.indexOf('fe-preview=true') == -1) {\n\n var dimension = 20; // Desired Custom Dimension\n var campaignSlug = 'C3259611'; // 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":"2021-08-19T14:18:48.997Z"}]}]},"id":"611e67a3725290f773b2945e"},{"variations":[{"isBaselineVariation":true,"name":"Baseline variation","organization":"5c19de5ca98def372590dc5f","campaign":"612e1b47f1f349b835850179","description":"","isArchived":false,"slug":"V127119623","sourceId":"V127119623","redirectUrl":"","redirectCode":false,"campaignType":"","createdAt":"2021-08-31T12:06:31.682Z","updatedAt":"2021-08-31T12:06:32.059Z","id":"612e1b47f1f349b83585017a"},{"organization":"5c19de5ca98def372590dc5f","expectedGoal":"611a455910674573399d65ec","redirectUrl":"","name":"Form CTA","campaignType":"visual","isArchived":true,"isBaselineVariation":false,"redirectCode":false,"customCSS":"","customJavascript":{"customJavascriptInstructions":[{"changes":[],"selector":"#sfid-3094315730 > div"},{"changes":[],"selector":"#back-to-top > :nth-child(1) > :nth-child(3)"},{"changes":[],"selector":"#back-to-top > :nth-child(1) > :nth-child(3) > :nth-child(1)"},{"changes":[],"selector":"main > :nth-child(1) > :nth-child(2) > :nth-child(1) > :nth-child(1) > :nth-child(4)"},{"changes":[],"selector":"#contatos"},{"changes":[],"selector":"#form"},{"changes":[{"js":"","lastChanged":"\"2021-09-07T13:57:22.069Z\"","selector":"body","type":"jc"}],"selector":"body"},{"changes":[{"type":"jc","js":"(function() {\n function onLoadElement(selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function() {\n if (document && document.querySelectorAll(selector) && document.querySelectorAll(selector).length > 0) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function() {\n clearInterval(interval);\n }, delayTimeout);\n };\n\n var parentElemQueryTxt = \".main > :nth-child(1) > :nth-child(2) > :nth-child(1) > :nth-child(1) > :nth-child(4)\",\n init = function(qSelTxt) {\n return function() {\n try {\n var parentElem = document.querySelector(qSelTxt);\n var ctaButton = document.createElement(\"a\");\n ctaButton.className = \"button button--3\";\n ctaButton.setAttribute(\"href\", \"#\");\n ctaButton.setAttribute(\"target\", \"_self\");\n ctaButton.innerText = \"CTA\";\n parentElem.appendChild(ctaButton);\n } catch (e) {\n console.log(e);\n }\n };\n };\n\n onLoadElement(parentElemQueryTxt, init(parentElemQueryTxt), 50, 10000);\n})();","lastChanged":"\"2021-09-07T14:19:59.828Z\"","selector":"footer > :nth-child(1)"}],"selector":"footer > :nth-child(1)"}]},"campaign":"612e1b47f1f349b835850179","slug":"V23066681","sourceId":"V23066681","createdAt":"2021-08-31T12:06:31.898Z","updatedAt":"2021-09-07T14:20:03.587Z","description":"Hero CTA to form","id":"612e1b47f1f349b83585017b"},{"organization":"5c19de5ca98def372590dc5f","redirectUrl":"","name":"Dark overlay","campaignType":"visual","isArchived":false,"isBaselineVariation":false,"redirectCode":false,"customCSS":"","customJavascript":{"customJavascriptInstructions":[{"selector":"body","changes":[{"type":"jc","js":"function onLoadElement(selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (document && document.querySelectorAll(selector) && document.querySelectorAll(selector).length > 0) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n };\n\n function init() {\n\n document.querySelector('body #insights .column__two .key-highlight.bg--img.bg--blend').id = 'darkbackground';\n var darkbackgroundID = document.getElementById('darkbackground');\n\n var img = document.getElementById('darkbackground'),\n style = img.currentStyle || window.getComputedStyle(img, false),\n bi = style.backgroundImage.match(/url\\([\"']?([^\"']*)[\"']?\\)/)[1];\n\ndarkbackgroundID.style.backgroundImage = 'url(\"'+bi+'\"),linear-gradient(108deg, rgb(62, 81, 81) 100%, rgb(222, 203, 164) 100%)';\n\n\n };\n\n\n\n onLoadElement(\"body #insights .column__two .key-highlight.bg--img.bg--blend\", init, 50, 10000);","lastChanged":"\"2021-07-23T13:08:03.820Z\"","selector":"body"}]}]},"campaign":"612e1b47f1f349b835850179","slug":"V23066681","sourceId":"V23066681","createdAt":"2021-08-31T12:06:31.899Z","updatedAt":"2021-08-31T12:06:32.060Z","id":"612e1b47f1f349b83585017c"}],"organization":"5c19de5ca98def372590dc5f","holdbackVariation":null,"activeExperiment":null,"audience":null,"holdback":100,"holdbackMode":"random","trafficAllocation":100,"predictVariations":false,"decisionMode":"A/B/n Test","name":"Local forms on LATAM pages","description":"Embed/link to local forms on LATAM pages.","pageTargets":[{"include":true,"url":"https://www.fitchratings.com/corporate-finance/leveraged-finance","match":"regex"}],"persistentDecisions":true,"editorUrl":"https://www.fitchratings.com/pt/region/brazil","source":"visual","sourceId":"C2147465","isArchived":false,"createdAt":"2020-09-03T16:11:51.785Z","updatedAt":"2021-09-07T14:00:01.675Z","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"","lastChanged":"2021-08-31T12:06:32.049Z"}]}]},"slug":"C2147465","status":"draft","id":"612e1b47f1f349b835850179"},{"variations":[{"isBaselineVariation":true,"name":"Baseline variation","organization":"5c19de5ca98def372590dc5f","campaign":"6137700910674573399d65ff","description":"","isArchived":false,"slug":"V127119627","sourceId":"V127119627","redirectUrl":"","redirectCode":false,"campaignType":"","createdAt":"2021-09-07T13:58:33.534Z","updatedAt":"2021-09-07T13:58:33.623Z","id":"6137700910674573399d6600"}],"organization":"5c19de5ca98def372590dc5f","holdbackVariation":"6137700910674573399d6600","activeExperiment":null,"holdback":100,"holdbackMode":"random","trafficAllocation":100,"predictVariations":false,"decisionMode":"A/B/n Test","name":"LP BRD 21 Aug Localised Contact form","description":"IF we added a localised contact form at the bottom of all regional pages\tTHEN we can increase the number of leads coming from regional pages\tDUE TO there being a simple, relevant way of getting in touch","editorUrl":"https://www.fitchratings.com/es/region/mexico","persistentDecisions":true,"source":"visual","slug":"C2725656","sourceId":"C2725656","status":"draft","isArchived":false,"createdAt":"2021-09-07T13:58:33.521Z","updatedAt":"2021-09-07T13:58:33.618Z","id":"6137700910674573399d65ff"},{"variations":[{"isBaselineVariation":true,"name":"Baseline variation","organization":"5c19de5ca98def372590dc5f","campaign":"6140b958f1f349b8358501a0","description":"","isArchived":true,"slug":"V127119630","sourceId":"V127119630","redirectUrl":"","redirectCode":false,"campaignType":"","createdAt":"2021-09-14T15:01:44.745Z","updatedAt":"2021-09-21T15:01:20.164Z","id":"6140b958f1f349b8358501a1"},{"organization":"5c19de5ca98def372590dc5f","redirectUrl":"","name":"Pop-up v1","campaignType":"visual","isArchived":false,"isBaselineVariation":false,"redirectCode":false,"customCSS":"html body .fe-toaster {\n position: fixed;\n width: 382px;\n bottom: 20px;\n right: 0px;\n z-index: 9999;\n /* max-height: 0px; */\n}\n\nhtml body .fe-bottom-toster {\n background: #000;\n padding: 20px 25px;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n position: relative;\n}\n\nhtml body .fe-bottom-toster h2, \nhtml body .fe-bottom-toster p, \nhtml body .fe-bottom-toster a {\n color: #fff;\n}\n\nhtml body h2.fe-toster-heading {\n font-size: 31px;\n line-height: 1.2;\n}\n\nhtml body p.fe-toster-subheading {\n font-size: 15px;\n padding-right: 10px;\n}\n\nhtml body span.fe-arrow-close {\n position: absolute;\n width: 35px;\n height: 25px;\n background: #000;\n top: -24px;\n right: 0px;\n cursor: pointer;\n}\n\nhtml body span.fe-arrow-close:after {\n position: absolute;\n border-top: 9px solid #fff;\n border-right: 9px solid transparent;\n border-left: 9px solid transparent;\n border-bottom: none;\n content: '';\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\nhtml body p.fe-toster-top svg {\n width: 126px !important;\n}\n\nhtml body p.fe-toster-top .logo--color-2,\nhtml body p.fe-toster-top .logo--color-1 {\n fill: #fff;\n}\n\nhtml body .fe-bottom-toster a {\n text-transform: uppercase;\n color: #000;\n background: #fff;\n font-size: 13px;\n font-weight: bold;\n padding: 10px 20px;\n border-radius: 4px;\n display: inline-block;\n margin-bottom: 30px;\n font-family: Lato, arial, sans-serif;\n}\n\nhtml body .fe-toaster.fe-toster-close {\n transform: translateY(360px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\nhtml body .fe-toaster {\n transform: translateY(0px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\n\n#form.form .overlay-content-wrapper {\n display: none;\n}\n\n#form.form .overlay-content-wrapper.active {\n display: block;\n}","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"function onLoadElement(selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (document && document.querySelectorAll(selector) && document.querySelectorAll(selector).length > 0) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n };\n \n \n var FEHelper = {\n onLoadDataLayer: function (trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (window && window.dataLayer && window.DataLayerHelper\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n },\n after: function (reference_selector, htmlString) {\n var reference_element = document.querySelectorAll(reference_selector);\n for (var i = 0; i < reference_element.length; i++) {\n reference_element[i].insertAdjacentHTML(\"afterend\", htmlString);\n }\n },\n waitforMarketo: function (trigger) {\n var interval = setInterval(function () {\n if (\n window.MktoForms2\n ) {\n clearInterval(interval);\n trigger();\n }\n }, 50);\n setTimeout(function () {\n clearInterval(interval);\n }, 10000);\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 setCookie: function (name, value, days) {\n var expires = \"\";\n if (days) {\n var date = new Date();\n date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));\n expires = \"; expires=\" + date.toUTCString();\n }\n document.cookie = name + \"=\" + (value || \"\") + expires + \"; path=/\";\n },\n 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 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 }\n }, 30);\n setTimeout(function () {\n clearInterval(waitForFunnelEnvy);\n }, 8000);\n }\n };\n \n \n //pop up form\n var form = \n '
'+\n '
'+\n '
'+\n '
' +\n '
'+\n '

Thank you for your request. You will receive an email shortly.

'+\n '

Thank you. Check your email for details on your request.

'+\n '
'+\n '
'+\n '
'\n ;\n\n\n //bottom toaster\n var feToaster = '' +\n '
' +\n ' ' +\n '

' +\n '

Welcome to Fitch Ratings

' +\n '

Receive exclusive access to our commentary and insights on Canada, download our new Fitch on Canada report now

' +\n 'Download' +\n '
';\n\n var formbg = '
';\n\n // function to modify and style according to design all Marketo forms\nvar modifyMarketoForm = {\n init: function() {\n var self = this; \n // custom event 'mktoFormLoaded' is invoked when forms are loaded\n $(document).on(\n 'mktoFormLoaded',\n function() {\n self\n ._removeMarketoCSS();\n });\n },\n _removeMarketoCSS: function() {\n // remove the external stylesheets var\n links = window.document.getElementsByTagName('link');\n $(links).each( function() {\n var thisLinkElement = $(this);\n var thisLinkURL = thisLinkElement.attr('href');\n // if (thisLinkURL.indexOf('marketo') > 1) {\n // thisLinkElement.remove();\n // }\n }); \n // and the inline styles\n var marketoForms =\n $(\n \"[id*='mktoForm']\");\n marketoForms.each(\n function() {\n $(this)\n .find(\n 'style'\n )\n .remove();\n }); \n //and the style attributes\n marketoForms.each(\n function() {\n $(this)\n .find(\n '[style]'\n )\n .removeAttr(\n 'style'\n );\n });\n }\n}; //the document ready function\n\n \nfunction init() {\n console.log('Element has loaded!');\n \n \n // create formpop up element \n // var feToast = document.createElement('div');\n // feToast.setAttribute('class', 'form');\n // feToast.setAttribute('id', 'form');\n // feToast.innerHTML = form;\n \n \n // document.body.appendChild(feToast);\n var placement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader.header--overlay\");\nplacement.insertAdjacentHTML('beforeend', form);\n \n FEHelper.waitforMarketo(function () {\n //load mktoForm_3831 form\n MktoForms2.loadForm('//your.fitchratings.com', '732-CKH-767', 3750);\n modifyMarketoForm._removeMarketoCSS();\n MktoForms2.whenReady(function (form) {\n modifyMarketoForm._removeMarketoCSS();\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n var element = document.getElementById('mktoForm_3750');\n element.style.removeProperty(\"color\");\n element.style.removeProperty(\"width\");\n element.style.removeProperty(\"font-size\");\n element.style.removeProperty(\"font-family\");\n\n form.onSuccess(function (values, followUpUrl) {\n document.querySelector('#mktoForm_3750').style.display = 'none';\n document.querySelector('#confirmDemoForm').style.display = 'block';\n // FEHelper.fePushEvents(\"Newsletter Signup\");\n return false;\n });\n });\n });\n\n document.body.addEventListener('click', function (evt) {\n if (evt.target.className === 'overlay__close' || evt.target.className === 'fas fa-times') {\n var active = document.querySelector(\"#form .overlay-content-wrapper.active\");\n active.classList.remove(\"active\");\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader .overlay__bg\");\n bgplacement.remove();\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.add(\"active--action-bar\");\n headerClass.classList.remove(\"header--inverted\"); \n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.add(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.remove(\"active--search\"); \n\n }\n if (evt.target.id === 'linkto3750') {\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n bgplacement.insertAdjacentHTML('beforeend', formbg);\n\n var active = document.querySelector(\"#form .overlay-content-wrapper\");\n active.classList.add(\"active\");\n\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.remove(\"active--action-bar\");\n headerClass.classList.add(\"header--inverted\"); \n\n\n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.remove(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.add(\"active--search\"); \n\n }\n}, false);\n\n\n// create toaster element \nvar feToast = document.createElement('div');\nfeToast.setAttribute('class', 'fe-toaster');\nfeToast.setAttribute('id', 'fe-toaster');\nfeToast.innerHTML = feToaster;\n\ndocument.body.appendChild(feToast);\n\n//toaster toggle event added\nFEHelper.live('span.fe-arrow-close', 'click', function () {\ndocument.querySelector('.fe-toaster').classList.toggle('fe-toster-close');\n});\n\n \n };\n\n function removeScripts () {\n\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n };\n \n \n \n onLoadElement(\"body header\", init, 50, 10000);\n onLoadElement(\"body head mktoForms2BaseStyle\", removeScripts, 50, 10000);","lastChanged":"\"2021-09-23T11:40:10.728Z\"","selector":"body"}],"selector":"body"}]},"campaign":"6140b958f1f349b8358501a0","slug":"V66811812","sourceId":"V66811812","createdAt":"2021-09-14T15:01:44.946Z","updatedAt":"2021-09-23T11:40:14.945Z","id":"6140b958f1f349b8358501a2"}],"organization":"5c19de5ca98def372590dc5f","holdbackVariation":null,"activeExperiment":null,"audience":null,"holdback":100,"holdbackMode":"random","trafficAllocation":100,"predictVariations":false,"decisionMode":"A/B/n Test","name":"LP MK 21 Oct Fitch on Canada","description":"Campaign optimisation - Promote Fitch on Canada for paid traffic","editorUrl":"https://www.fitchratings.com/region/canada","persistentDecisions":true,"source":"visual","sourceId":"C3600863","isArchived":false,"createdAt":"2021-09-13T09:48:24.890Z","updatedAt":"2021-09-28T14:59:17.300Z","pageTargets":[{"include":true,"url":"https://www.fitchratings.com/region/canada?utm_medium=referral&utm_source=GlobeAndMail&utm_campaign=ValueProposition&utm_content=Canada&utm_term=300x250","match":"exact"},{"include":true,"url":"https://www.fitchratings.com/ca","match":"simple"},{"include":true,"url":"https://www.fitchratings.com/region/canada?utm_medium=referral&utm_source=GlobeAndMail&utm_campaign=ValueProposition&utm_content=Canada&utm_term=728x90","match":"exact"}],"customJavascript":[],"slug":"C3600863","status":"running","runningFrom":"2021-09-21T15:01:20.090Z","id":"6140b958f1f349b8358501a0"},{"variations":[{"isBaselineVariation":true,"name":"Baseline variation","organization":"5c19de5ca98def372590dc5f","campaign":"614b432910674573399d6622","description":"","isArchived":false,"slug":"V127119634","sourceId":"V127119634","redirectUrl":"","redirectCode":false,"campaignType":"","createdAt":"2021-09-22T14:52:25.855Z","updatedAt":"2021-09-22T14:52:26.105Z","id":"614b432910674573399d6623"},{"organization":"5c19de5ca98def372590dc5f","redirectUrl":"","name":"Pop-up v1","campaignType":"visual","isArchived":false,"isBaselineVariation":false,"redirectCode":false,"customCSS":"html body .fe-toaster {\n position: fixed;\n width: 382px;\n bottom: 20px;\n right: 0px;\n z-index: 9999;\n /* max-height: 0px; */\n}\n\nhtml body .fe-bottom-toster {\n background: #000;\n padding: 20px 25px;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n position: relative;\n}\n\nhtml body .fe-bottom-toster h2, \nhtml body .fe-bottom-toster p, \nhtml body .fe-bottom-toster a {\n color: #fff;\n}\n\nhtml body h2.fe-toster-heading {\n font-size: 31px;\n line-height: 1.2;\n}\n\nhtml body p.fe-toster-subheading {\n font-size: 15px;\n padding-right: 10px;\n}\n\nhtml body span.fe-arrow-close {\n position: absolute;\n width: 35px;\n height: 25px;\n background: #000;\n top: -24px;\n right: 0px;\n cursor: pointer;\n}\n\nhtml body span.fe-arrow-close:after {\n position: absolute;\n border-top: 9px solid #fff;\n border-right: 9px solid transparent;\n border-left: 9px solid transparent;\n border-bottom: none;\n content: '';\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\nhtml body p.fe-toster-top svg {\n width: 126px !important;\n}\n\nhtml body p.fe-toster-top .logo--color-2,\nhtml body p.fe-toster-top .logo--color-1 {\n fill: #fff;\n}\n\nhtml body .fe-bottom-toster a {\n text-transform: uppercase;\n color: #000;\n background: #fff;\n font-size: 13px;\n font-weight: bold;\n padding: 10px 20px;\n border-radius: 4px;\n display: inline-block;\n margin-bottom: 30px;\n font-family: Lato, arial, sans-serif;\n}\n\nhtml body .fe-toaster.fe-toster-close {\n transform: translateY(360px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\nhtml body .fe-toaster {\n transform: translateY(0px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\n\n#form.form .overlay-content-wrapper {\n display: none;\n}\n\n#form.form .overlay-content-wrapper.active {\n display: block;\n}","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"function onLoadElement(selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (document && document.querySelectorAll(selector) && document.querySelectorAll(selector).length > 0) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n };\n \n \n var FEHelper = {\n onLoadDataLayer: function (trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (window && window.dataLayer && window.DataLayerHelper\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n },\n after: function (reference_selector, htmlString) {\n var reference_element = document.querySelectorAll(reference_selector);\n for (var i = 0; i < reference_element.length; i++) {\n reference_element[i].insertAdjacentHTML(\"afterend\", htmlString);\n }\n },\n waitforMarketo: function (trigger) {\n var interval = setInterval(function () {\n if (\n window.MktoForms2\n ) {\n clearInterval(interval);\n trigger();\n }\n }, 50);\n setTimeout(function () {\n clearInterval(interval);\n }, 10000);\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 setCookie: function (name, value, days) {\n var expires = \"\";\n if (days) {\n var date = new Date();\n date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));\n expires = \"; expires=\" + date.toUTCString();\n }\n document.cookie = name + \"=\" + (value || \"\") + expires + \"; path=/\";\n },\n 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 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 }\n }, 30);\n setTimeout(function () {\n clearInterval(waitForFunnelEnvy);\n }, 8000);\n }\n };\n \n \n //pop up form\n var form = \n '
'+\n '
'+\n '
'+\n '
' +\n '
'+\n '

Thank you for your request. You will receive an email shortly.

'+\n '

Thank you. Check your email for details on your request.

'+\n '
'+\n '
'+\n '
'\n ;\n\n //bottom toaster\n var feToaster = '' +\n '
' +\n ' ' +\n '

' +\n '

Lorem Ipsum

' +\n '

Lorem Ipssum 2

' +\n ' Link to form' +\n '
';\n\n var formbg = '
';\n\n // function to modify and style according to design all Marketo forms\nvar modifyMarketoForm = {\n init: function() {\n var self = this; \n // custom event 'mktoFormLoaded' is invoked when forms are loaded\n $(document).on(\n 'mktoFormLoaded',\n function() {\n self\n ._removeMarketoCSS();\n });\n },\n _removeMarketoCSS: function() {\n // remove the external stylesheets var\n links = window.document.getElementsByTagName('link');\n $(links).each( function() {\n var thisLinkElement = $(this);\n var thisLinkURL = thisLinkElement.attr('href');\n // if (thisLinkURL.indexOf('marketo') > 1) {\n // thisLinkElement.remove();\n // }\n }); \n // and the inline styles\n var marketoForms =\n $(\n \"[id*='mktoForm']\");\n marketoForms.each(\n function() {\n $(this)\n .find(\n 'style'\n )\n .remove();\n }); \n //and the style attributes\n marketoForms.each(\n function() {\n $(this)\n .find(\n '[style]'\n )\n .removeAttr(\n 'style'\n );\n });\n }\n}; //the document ready function\n\n \nfunction init() {\n console.log('Element has loaded!');\n \n \n // create formpop up element \n // var feToast = document.createElement('div');\n // feToast.setAttribute('class', 'form');\n // feToast.setAttribute('id', 'form');\n // feToast.innerHTML = form;\n \n \n // document.body.appendChild(feToast);\n var placement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader.header--overlay\");\nplacement.insertAdjacentHTML('beforeend', form);\n \n FEHelper.waitforMarketo(function () {\n //load mktoForm_3831 form\n MktoForms2.loadForm('//your.fitchratings.com', '732-CKH-767', 3750);\n modifyMarketoForm._removeMarketoCSS();\n MktoForms2.whenReady(function (form) {\n modifyMarketoForm._removeMarketoCSS();\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n var element = document.getElementById('mktoForm_3750');\n element.style.removeProperty(\"color\");\n element.style.removeProperty(\"width\");\n element.style.removeProperty(\"font-size\");\n element.style.removeProperty(\"font-family\");\n\n form.onSuccess(function (values, followUpUrl) {\n document.querySelector('#mktoForm_3750').style.display = 'none';\n document.querySelector('#confirmDemoForm').style.display = 'block';\n // FEHelper.fePushEvents(\"Newsletter Signup\");\n return false;\n });\n });\n });\n\n document.body.addEventListener('click', function (evt) {\n if (evt.target.className === 'overlay__close' || evt.target.className === 'fas fa-times') {\n var active = document.querySelector(\"#form .overlay-content-wrapper.active\");\n active.classList.remove(\"active\");\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader .overlay__bg\");\n bgplacement.remove();\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.add(\"active--action-bar\");\n headerClass.classList.remove(\"header--inverted\"); \n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.add(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.remove(\"active--search\"); \n\n }\n if (evt.target.id === 'linkto3750') {\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n bgplacement.insertAdjacentHTML('beforeend', formbg);\n\n var active = document.querySelector(\"#form .overlay-content-wrapper\");\n active.classList.add(\"active\");\n\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.remove(\"active--action-bar\");\n headerClass.classList.add(\"header--inverted\"); \n\n\n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.remove(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.add(\"active--search\"); \n\n }\n}, false);\n\n\n// create toaster element \nvar feToast = document.createElement('div');\nfeToast.setAttribute('class', 'fe-toaster');\nfeToast.setAttribute('id', 'fe-toaster');\nfeToast.innerHTML = feToaster;\n\ndocument.body.appendChild(feToast);\n\n//toaster toggle event added\nFEHelper.live('span.fe-arrow-close', 'click', function () {\ndocument.querySelector('.fe-toaster').classList.toggle('fe-toster-close');\n});\n\n \n };\n\n function removeScripts () {\n\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n };\n \n \n \n onLoadElement(\"body header\", init, 50, 10000);\n onLoadElement(\"body head mktoForms2BaseStyle\", removeScripts, 50, 10000);","lastChanged":"\"2021-09-23T11:23:15.253Z\"","selector":"body"}],"selector":"body"}]},"campaign":"614b432910674573399d6622","slug":"V66811815","sourceId":"V66811815","createdAt":"2021-09-22T14:52:26.008Z","updatedAt":"2021-09-23T11:23:18.339Z","id":"614b432a10674573399d6624"}],"organization":"5c19de5ca98def372590dc5f","holdbackVariation":null,"activeExperiment":null,"audience":null,"holdback":100,"holdbackMode":"random","trafficAllocation":100,"predictVariations":false,"decisionMode":"A/B/n Test","name":"POP UP FORM TEST","description":"POP UP FORM TEST","editorUrl":"https://www.fitchratings.com/region/canada","persistentDecisions":true,"source":"visual","sourceId":"C35715372","isArchived":false,"createdAt":"2021-09-13T09:48:24.890Z","updatedAt":"2021-09-22T14:52:47.166Z","pageTargets":[{"include":true,"url":"https://www.fitchratings.com/region/canada?utm_medium=referral&utm_source=GlobeAndMail&utm_campaign=ValueProposition&utm_content=Canada&utm_term=300x250","match":"exact"},{"include":true,"url":"https://www.fitchratings.com/ca","match":"simple"},{"include":true,"url":"https://www.fitchratings.com/region/canada?utm_medium=referral&utm_source=GlobeAndMail&utm_campaign=ValueProposition&utm_content=Canada&utm_term=728x90","match":"exact"}],"customJavascript":[],"slug":"C35715372","status":"draft","id":"614b432910674573399d6622"},{"variations":[{"isBaselineVariation":true,"name":"Baseline variation","organization":"5c19de5ca98def372590dc5f","campaign":"614c8a0a10674573399d662c","description":"","isArchived":true,"slug":"V127119636","sourceId":"V127119636","redirectUrl":"","redirectCode":false,"campaignType":"","createdAt":"2021-09-23T14:07:07.011Z","updatedAt":"2021-09-28T14:18:29.834Z","id":"614c8a0b10674573399d662d"},{"organization":"5c19de5ca98def372590dc5f","redirectUrl":"","name":"Pop-up v1","campaignType":"visual","isArchived":false,"isBaselineVariation":false,"redirectCode":false,"customCSS":"html body .fe-toaster {\n position: fixed;\n width: 382px;\n bottom: 20px;\n right: 0px;\n z-index: 9999;\n /* max-height: 0px; */\n}\n\nhtml body .fe-bottom-toster {\n background: #FF3063;\n padding: 20px 25px;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n position: relative;\n}\n\nhtml body .fe-bottom-toster h2, \nhtml body .fe-bottom-toster p, \nhtml body .fe-bottom-toster a {\n color: #fff;\n}\n\nhtml body h2.fe-toster-heading {\n font-size: 31px;\n line-height: 1.2;\n}\n\nhtml body p.fe-toster-subheading {\n font-size: 15px;\n padding-right: 10px;\n}\n\nhtml body span.fe-arrow-close {\n position: absolute;\n width: 35px;\n height: 25px;\n background: #FF3063;\n top: -24px;\n right: 0px;\n cursor: pointer;\n}\n\nhtml body span.fe-arrow-close:after {\n position: absolute;\n border-top: 9px solid #fff;\n border-right: 9px solid transparent;\n border-left: 9px solid transparent;\n border-bottom: none;\n content: '';\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\nhtml body p.fe-toster-top svg {\n // width: 126px !important;\n display: none;\n}\n\nhtml body p.fe-toster-top .logo--color-2,\nhtml body p.fe-toster-top .logo--color-1 {\n fill: #fff;\n}\n\nhtml body .fe-bottom-toster a {\n text-transform: uppercase;\n color: #000;\n background: #fff;\n font-size: 13px;\n font-weight: bold;\n padding: 10px 20px;\n border-radius: 4px;\n display: inline-block;\n margin-bottom: 30px;\n font-family: Lato, arial, sans-serif;\n}\n\nhtml body .fe-toaster.fe-toster-close {\n transform: translateY(360px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\nhtml body .fe-toaster {\n transform: translateY(0px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\n\n#form.form .overlay-content-wrapper {\n display: none;\n}\n\n#form.form .overlay-content-wrapper.active {\n display: block;\n}","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"function onLoadElement(selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (document && document.querySelectorAll(selector) && document.querySelectorAll(selector).length > 0) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n };\n \n \n var FEHelper = {\n onLoadDataLayer: function (trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (window && window.dataLayer && window.DataLayerHelper\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n },\n after: function (reference_selector, htmlString) {\n var reference_element = document.querySelectorAll(reference_selector);\n for (var i = 0; i < reference_element.length; i++) {\n reference_element[i].insertAdjacentHTML(\"afterend\", htmlString);\n }\n },\n waitforMarketo: function (trigger) {\n var interval = setInterval(function () {\n if (\n window.MktoForms2\n ) {\n clearInterval(interval);\n trigger();\n }\n }, 50);\n setTimeout(function () {\n clearInterval(interval);\n }, 10000);\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 setCookie: function (name, value, days) {\n var expires = \"\";\n if (days) {\n var date = new Date();\n date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));\n expires = \"; expires=\" + date.toUTCString();\n }\n document.cookie = name + \"=\" + (value || \"\") + expires + \"; path=/\";\n },\n 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 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 }\n }, 30);\n setTimeout(function () {\n clearInterval(waitForFunnelEnvy);\n }, 8000);\n }\n };\n \n \n //pop up form\n var form = \n '
'+\n '
'+\n '
'+\n '
' +\n '
'+\n '

Thank you for your request. You will receive an email shortly.

'+\n '

Thank you. Check your email for details on your request.

'+\n '
'+\n '
'+\n '
'\n ;\n\n //bottom toaster\n var feToaster = '' +\n '
' +\n ' ' +\n '

' +\n '

Add color to the picture

' +\n '

Receive complimentary daily alerts on the latest issues affecting capital markets with Fitch Wire.

' +\n ' Sign Up' +\n '
';\n\n var formbg = '
';\n\n // function to modify and style according to design all Marketo forms\nvar modifyMarketoForm = {\n init: function() {\n var self = this; \n // custom event 'mktoFormLoaded' is invoked when forms are loaded\n $(document).on(\n 'mktoFormLoaded',\n function() {\n self\n ._removeMarketoCSS();\n });\n },\n _removeMarketoCSS: function() {\n // remove the external stylesheets var\n links = window.document.getElementsByTagName('link');\n $(links).each( function() {\n var thisLinkElement = $(this);\n var thisLinkURL = thisLinkElement.attr('href');\n // if (thisLinkURL.indexOf('marketo') > 1) {\n // thisLinkElement.remove();\n // }\n }); \n // and the inline styles\n var marketoForms =\n $(\n \"[id*='mktoForm']\");\n marketoForms.each(\n function() {\n $(this)\n .find(\n 'style'\n )\n .remove();\n }); \n //and the style attributes\n marketoForms.each(\n function() {\n $(this)\n .find(\n '[style]'\n )\n .removeAttr(\n 'style'\n );\n });\n }\n}; //the document ready function\n\n \nfunction init() {\n console.log('Element has loaded!');\n \n \n // create formpop up element \n // var feToast = document.createElement('div');\n // feToast.setAttribute('class', 'form');\n // feToast.setAttribute('id', 'form');\n // feToast.innerHTML = form;\n \n \n // document.body.appendChild(feToast);\n var placement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader.header--overlay\");\nplacement.insertAdjacentHTML('beforeend', form);\n \n FEHelper.waitforMarketo(function () {\n //load mktoForm_4076 form\n MktoForms2.loadForm('//your.fitchratings.com', '732-CKH-767', 4076);\n modifyMarketoForm._removeMarketoCSS();\n MktoForms2.whenReady(function (form) {\n modifyMarketoForm._removeMarketoCSS();\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n var element = document.getElementById('mktoForm_4076');\n element.style.removeProperty(\"color\");\n element.style.removeProperty(\"width\");\n element.style.removeProperty(\"font-size\");\n element.style.removeProperty(\"font-family\");\n\n form.onSuccess(function (values, followUpUrl) {\n document.querySelector('#mktoForm_4076').style.display = 'none';\n document.querySelector('#confirmDemoForm').style.display = 'block';\n // FEHelper.fePushEvents(\"Newsletter Signup\");\n return false;\n });\n });\n });\n\n document.body.addEventListener('click', function (evt) {\n if (evt.target.className === 'overlay__close' || evt.target.className === 'fas fa-times') {\n var active = document.querySelector(\"#form .overlay-content-wrapper.active\");\n active.classList.remove(\"active\");\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader .overlay__bg\");\n bgplacement.remove();\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.add(\"active--action-bar\");\n headerClass.classList.remove(\"header--inverted\"); \n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.add(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.remove(\"active--search\"); \n\n }\n if (evt.target.id === 'linkto4076') {\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n bgplacement.insertAdjacentHTML('beforeend', formbg);\n\n var active = document.querySelector(\"#form .overlay-content-wrapper\");\n active.classList.add(\"active\");\n\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.remove(\"active--action-bar\");\n headerClass.classList.add(\"header--inverted\"); \n\n\n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.remove(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.add(\"active--search\"); \n\n }\n}, false);\n\n\n// create toaster element \nvar feToast = document.createElement('div');\nfeToast.setAttribute('class', 'fe-toaster');\nfeToast.setAttribute('id', 'fe-toaster');\nfeToast.innerHTML = feToaster;\n\ndocument.body.appendChild(feToast);\n\n//toaster toggle event added\nFEHelper.live('span.fe-arrow-close', 'click', function () {\ndocument.querySelector('.fe-toaster').classList.toggle('fe-toster-close');\n});\n\n \n };\n\n function removeScripts () {\n\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n };\n \n \n \n onLoadElement(\"body header\", init, 50, 10000);\n onLoadElement(\"body head mktoForms2BaseStyle\", removeScripts, 50, 10000);","lastChanged":"\"2021-09-28T08:18:13.845Z\"","selector":"body"}],"selector":"body"}]},"campaign":"614c8a0a10674573399d662c","slug":"V66811817","sourceId":"V66811817","createdAt":"2021-09-23T14:07:07.164Z","updatedAt":"2021-09-28T14:18:29.835Z","id":"614c8a0b10674573399d662e"},{"organization":"5c19de5ca98def372590dc5f","redirectUrl":"","name":"Pop-up v2","expectedGoal":"60abd077811f82596729a235","campaign":"614c8a0a10674573399d662c","campaignType":"visual","isArchived":false,"isBaselineVariation":false,"slug":"V66811818","sourceId":"V66811818","redirectCode":false,"createdAt":"2021-09-24T14:29:12.821Z","updatedAt":"2021-09-28T14:18:29.835Z","customCSS":"html body .fe-toaster {\n position: fixed;\n width: 382px;\n bottom: 20px;\n right: 0px;\n z-index: 9999;\n /* max-height: 0px; */\n}\n\nhtml body .fe-bottom-toster {\n background: #FF3063;\n padding: 20px 25px;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n position: relative;\n}\n\nhtml body .fe-bottom-toster h2, \nhtml body .fe-bottom-toster p, \nhtml body .fe-bottom-toster a {\n color: #fff;\n}\n\nhtml body h2.fe-toster-heading {\n font-size: 31px;\n line-height: 1.2;\n}\n\nhtml body p.fe-toster-subheading {\n font-size: 15px;\n padding-right: 10px;\n}\n\nhtml body span.fe-arrow-close {\n position: absolute;\n width: 35px;\n height: 25px;\n background: #FF3063;\n top: -24px;\n right: 0px;\n cursor: pointer;\n}\n\nhtml body span.fe-arrow-close:after {\n position: absolute;\n border-top: 9px solid #fff;\n border-right: 9px solid transparent;\n border-left: 9px solid transparent;\n border-bottom: none;\n content: '';\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\nhtml body p.fe-toster-top svg {\n // width: 126px !important;\n display: none;\n}\n\nhtml body p.fe-toster-top .logo--color-2,\nhtml body p.fe-toster-top .logo--color-1 {\n fill: #fff;\n}\n\nhtml body .fe-bottom-toster a {\n text-transform: uppercase;\n color: #000;\n background: #fff;\n font-size: 13px;\n font-weight: bold;\n padding: 10px 20px;\n border-radius: 4px;\n display: inline-block;\n margin-bottom: 30px;\n font-family: Lato, arial, sans-serif;\n}\n\nhtml body .fe-toaster.fe-toster-close {\n transform: translateY(360px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\nhtml body .fe-toaster {\n transform: translateY(0px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\n\n#form.form .overlay-content-wrapper {\n display: none;\n}\n\n#form.form .overlay-content-wrapper.active {\n display: block;\n}","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"function onLoadElement(selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (document && document.querySelectorAll(selector) && document.querySelectorAll(selector).length > 0) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n };\n \n \n var FEHelper = {\n onLoadDataLayer: function (trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (window && window.dataLayer && window.DataLayerHelper\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n },\n after: function (reference_selector, htmlString) {\n var reference_element = document.querySelectorAll(reference_selector);\n for (var i = 0; i < reference_element.length; i++) {\n reference_element[i].insertAdjacentHTML(\"afterend\", htmlString);\n }\n },\n waitforMarketo: function (trigger) {\n var interval = setInterval(function () {\n if (\n window.MktoForms2\n ) {\n clearInterval(interval);\n trigger();\n }\n }, 50);\n setTimeout(function () {\n clearInterval(interval);\n }, 10000);\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 setCookie: function (name, value, days) {\n var expires = \"\";\n if (days) {\n var date = new Date();\n date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));\n expires = \"; expires=\" + date.toUTCString();\n }\n document.cookie = name + \"=\" + (value || \"\") + expires + \"; path=/\";\n },\n 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 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 }\n }, 30);\n setTimeout(function () {\n clearInterval(waitForFunnelEnvy);\n }, 8000);\n }\n };\n \n \n //pop up form\n var form = \n '
'+\n '
'+\n '
'+\n '
' +\n '
'+\n '

Thank you for your request. You will receive an email shortly.

'+\n '

Thank you. Check your email for details on your request.

'+\n '
'+\n '
'+\n '
'\n ;\n\n //bottom toaster\n var feToaster = '' +\n '
' +\n ' ' +\n '

' +\n '

Ratings with a full spectrum of insights

' +\n '

Receive complimentary daily alerts on the latest issues affecting capital markets with Fitch Wire.

' +\n ' Sign Up' +\n '
';\n\n var formbg = '
';\n\n // function to modify and style according to design all Marketo forms\nvar modifyMarketoForm = {\n init: function() {\n var self = this; \n // custom event 'mktoFormLoaded' is invoked when forms are loaded\n $(document).on(\n 'mktoFormLoaded',\n function() {\n self\n ._removeMarketoCSS();\n });\n },\n _removeMarketoCSS: function() {\n // remove the external stylesheets var\n links = window.document.getElementsByTagName('link');\n $(links).each( function() {\n var thisLinkElement = $(this);\n var thisLinkURL = thisLinkElement.attr('href');\n // if (thisLinkURL.indexOf('marketo') > 1) {\n // thisLinkElement.remove();\n // }\n }); \n // and the inline styles\n var marketoForms =\n $(\n \"[id*='mktoForm']\");\n marketoForms.each(\n function() {\n $(this)\n .find(\n 'style'\n )\n .remove();\n }); \n //and the style attributes\n marketoForms.each(\n function() {\n $(this)\n .find(\n '[style]'\n )\n .removeAttr(\n 'style'\n );\n });\n }\n}; //the document ready function\n\n \nfunction init() {\n console.log('Element has loaded!');\n \n \n // create formpop up element \n // var feToast = document.createElement('div');\n // feToast.setAttribute('class', 'form');\n // feToast.setAttribute('id', 'form');\n // feToast.innerHTML = form;\n \n \n // document.body.appendChild(feToast);\n var placement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader.header--overlay\");\nplacement.insertAdjacentHTML('beforeend', form);\n \n FEHelper.waitforMarketo(function () {\n //load mktoForm_4076 form\n MktoForms2.loadForm('//your.fitchratings.com', '732-CKH-767', 4076);\n modifyMarketoForm._removeMarketoCSS();\n MktoForms2.whenReady(function (form) {\n modifyMarketoForm._removeMarketoCSS();\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n var element = document.getElementById('mktoForm_4076');\n element.style.removeProperty(\"color\");\n element.style.removeProperty(\"width\");\n element.style.removeProperty(\"font-size\");\n element.style.removeProperty(\"font-family\");\n\n form.onSuccess(function (values, followUpUrl) {\n document.querySelector('#mktoForm_4076').style.display = 'none';\n document.querySelector('#confirmDemoForm').style.display = 'block';\n // FEHelper.fePushEvents(\"Newsletter Signup\");\n return false;\n });\n });\n });\n\n document.body.addEventListener('click', function (evt) {\n if (evt.target.className === 'overlay__close' || evt.target.className === 'fas fa-times') {\n var active = document.querySelector(\"#form .overlay-content-wrapper.active\");\n active.classList.remove(\"active\");\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader .overlay__bg\");\n bgplacement.remove();\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.add(\"active--action-bar\");\n headerClass.classList.remove(\"header--inverted\"); \n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.add(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.remove(\"active--search\"); \n\n }\n if (evt.target.id === 'linkto4076') {\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n bgplacement.insertAdjacentHTML('beforeend', formbg);\n\n var active = document.querySelector(\"#form .overlay-content-wrapper\");\n active.classList.add(\"active\");\n\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.remove(\"active--action-bar\");\n headerClass.classList.add(\"header--inverted\"); \n\n\n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.remove(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.add(\"active--search\"); \n\n }\n}, false);\n\n\n// create toaster element \nvar feToast = document.createElement('div');\nfeToast.setAttribute('class', 'fe-toaster');\nfeToast.setAttribute('id', 'fe-toaster');\nfeToast.innerHTML = feToaster;\n\ndocument.body.appendChild(feToast);\n\n//toaster toggle event added\nFEHelper.live('span.fe-arrow-close', 'click', function () {\ndocument.querySelector('.fe-toaster').classList.toggle('fe-toster-close');\n});\n\n \n };\n\n function removeScripts () {\n\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n };\n \n \n \n onLoadElement(\"body header\", init, 50, 10000);\n onLoadElement(\"body head mktoForms2BaseStyle\", removeScripts, 50, 10000);","lastChanged":"\"2021-09-28T08:51:36.167Z\"","selector":"body"}],"selector":"body"}]},"id":"614de0b810674573399d6633"}],"organization":"5c19de5ca98def372590dc5f","holdbackVariation":null,"activeExperiment":null,"audience":null,"holdback":100,"holdbackMode":"random","trafficAllocation":100,"predictVariations":false,"decisionMode":"A/B/n Test","name":"LP MK 21 Sep Pop-up on /about-us","description":"Pop-up on /about-us","editorUrl":"https://www.fitchratings.com/about-us","persistentDecisions":true,"source":"visual","sourceId":"C1005786","isArchived":false,"createdAt":"2021-09-13T09:48:24.890Z","updatedAt":"2021-10-29T12:23:23.496Z","pageTargets":[{"include":true,"url":"https://www.fitchratings.com/about-us?utm_medium=referral&utm_source=FT&utm_campaign=ValueProp&utm_content=GlobalNY&utm_term=300x250","match":"exact"},{"include":true,"url":"https://www.fitchratings.com/about-us?utm_medium=referral&utm_source=FT&utm_campaign=ValueProp&utm_content=GlobalNY&utm_term=300x600","match":"exact"},{"include":true,"url":"https://www.fitchratings.com/about-us?utm_medium=referral&utm_source=FT&utm_campaign=ValueProp&utm_content=GlobalNY&utm_term=970x250","match":"exact"},{"include":true,"url":"https://www.fitchratings.com/about-us?utm_medium=referral&utm_source=FT&utm_campaign=ValueProp","match":"contains"},{"include":true,"url":"https://www.fitchratings.com/about-us?utm_medium=referral&utm_source=Global_Capital&utm_campaign=Value_Prop&utm_content=Global&utm_term=Newsletter_728x90","match":"exact"}],"customJavascript":[],"slug":"C1005786","status":"running","runningFrom":"2021-09-28T14:18:29.789Z","id":"614c8a0a10674573399d662c"},{"variations":[{"isBaselineVariation":true,"name":"Baseline variation","organization":"5c19de5ca98def372590dc5f","campaign":"6157046310674573399d6652","description":"","isArchived":true,"slug":"V127119641","sourceId":"V127119641","redirectUrl":"","redirectCode":false,"campaignType":"","createdAt":"2021-10-01T12:51:48.027Z","updatedAt":"2021-10-08T14:20:47.412Z","id":"6157046410674573399d6653"},{"organization":"5c19de5ca98def372590dc5f","expectedGoal":"60abd077811f82596729a235","redirectUrl":"","name":"Pop-up v2 - colour","campaignType":"visual","isArchived":false,"isBaselineVariation":false,"redirectCode":false,"customCSS":"html body .fe-toaster {\n position: fixed;\n width: 382px;\n bottom: 20px;\n right: 0px;\n z-index: 9999;\n /* max-height: 0px; */\n}\n\nhtml body .fe-bottom-toster {\n background: #CC0033;\n padding: 20px 25px;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n position: relative;\n}\n\nhtml body .fe-bottom-toster h2, \nhtml body .fe-bottom-toster p, \nhtml body .fe-bottom-toster a {\n color: #fff;\n}\n\nhtml body h2.fe-toster-heading {\n font-size: 31px;\n line-height: 1.2;\n}\n\nhtml body p.fe-toster-subheading {\n font-size: 15px;\n padding-right: 10px;\n}\n\nhtml body span.fe-arrow-close {\n position: absolute;\n width: 35px;\n height: 25px;\n background: #CC0033;\n top: -24px;\n right: 0px;\n cursor: pointer;\n}\n\nhtml body span.fe-arrow-close:after {\n position: absolute;\n border-top: 9px solid #fff;\n border-right: 9px solid transparent;\n border-left: 9px solid transparent;\n border-bottom: none;\n content: '';\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\nhtml body p.fe-toster-top svg {\n // width: 126px !important;\n display: none;\n}\n\nhtml body p.fe-toster-top .logo--color-2,\nhtml body p.fe-toster-top .logo--color-1 {\n fill: #fff;\n}\n\nhtml body .fe-bottom-toster a {\n text-transform: uppercase;\n color: #000;\n background: #fff;\n font-size: 13px;\n font-weight: bold;\n padding: 10px 20px;\n border-radius: 4px;\n display: inline-block;\n margin-bottom: 30px;\n font-family: Lato, arial, sans-serif;\n}\n\nhtml body .fe-toaster.fe-toster-close {\n transform: translateY(360px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\nhtml body .fe-toaster {\n transform: translateY(0px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\n\n#form.form .overlay-content-wrapper {\n display: none;\n}\n\n#form.form .overlay-content-wrapper.active {\n display: block;\n}","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"function onLoadElement(selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (document && document.querySelectorAll(selector) && document.querySelectorAll(selector).length > 0) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n };\n \n \n var FEHelper = {\n onLoadDataLayer: function (trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (window && window.dataLayer && window.DataLayerHelper\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n },\n after: function (reference_selector, htmlString) {\n var reference_element = document.querySelectorAll(reference_selector);\n for (var i = 0; i < reference_element.length; i++) {\n reference_element[i].insertAdjacentHTML(\"afterend\", htmlString);\n }\n },\n waitforMarketo: function (trigger) {\n var interval = setInterval(function () {\n if (\n window.MktoForms2\n ) {\n clearInterval(interval);\n trigger();\n }\n }, 50);\n setTimeout(function () {\n clearInterval(interval);\n }, 10000);\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 setCookie: function (name, value, days) {\n var expires = \"\";\n if (days) {\n var date = new Date();\n date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));\n expires = \"; expires=\" + date.toUTCString();\n }\n document.cookie = name + \"=\" + (value || \"\") + expires + \"; path=/\";\n },\n 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 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 }\n }, 30);\n setTimeout(function () {\n clearInterval(waitForFunnelEnvy);\n }, 8000);\n }\n };\n \n \n //pop up form\n var form = \n '
'+\n '
'+\n '
'+\n '
' +\n '
'+\n '

Thank you for your request. You will receive an email shortly.

'+\n '

Thank you. Check your email for details on your request.

'+\n '
'+\n '
'+\n '
'\n ;\n\n //bottom toaster\n var feToaster = '' +\n '
' +\n ' ' +\n '

' +\n '

Adicione cor à imagem

' +\n '

Receba nossa newsletter gratuita para saber mais sobre eventos que afetam o mercado de capitais.

' +\n ' Assine' +\n '
';\n\n var formbg = '
';\n\n // function to modify and style according to design all Marketo forms\nvar modifyMarketoForm = {\n init: function() {\n var self = this; \n // custom event 'mktoFormLoaded' is invoked when forms are loaded\n $(document).on(\n 'mktoFormLoaded',\n function() {\n self\n ._removeMarketoCSS();\n });\n },\n _removeMarketoCSS: function() {\n // remove the external stylesheets var\n links = window.document.getElementsByTagName('link');\n $(links).each( function() {\n var thisLinkElement = $(this);\n var thisLinkURL = thisLinkElement.attr('href');\n // if (thisLinkURL.indexOf('marketo') > 1) {\n // thisLinkElement.remove();\n // }\n }); \n // and the inline styles\n var marketoForms =\n $(\n \"[id*='mktoForm']\");\n marketoForms.each(\n function() {\n $(this)\n .find(\n 'style'\n )\n .remove();\n }); \n //and the style attributes\n marketoForms.each(\n function() {\n $(this)\n .find(\n '[style]'\n )\n .removeAttr(\n 'style'\n );\n });\n }\n}; //the document ready function\n\n \nfunction init() {\n console.log('Element has loaded!');\n \n \n // create formpop up element \n // var feToast = document.createElement('div');\n // feToast.setAttribute('class', 'form');\n // feToast.setAttribute('id', 'form');\n // feToast.innerHTML = form;\n \n \n // document.body.appendChild(feToast);\n var placement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader.header--overlay\");\nplacement.insertAdjacentHTML('beforeend', form);\n \n FEHelper.waitforMarketo(function () {\n //load mktoForm_3101 form\n MktoForms2.loadForm('//your.fitchratings.com', '732-CKH-767', 3101);\n modifyMarketoForm._removeMarketoCSS();\n MktoForms2.whenReady(function (form) {\n modifyMarketoForm._removeMarketoCSS();\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n var element = document.getElementById('mktoForm_3101');\n element.style.removeProperty(\"color\");\n element.style.removeProperty(\"width\");\n element.style.removeProperty(\"font-size\");\n element.style.removeProperty(\"font-family\");\n\n form.onSuccess(function (values, followUpUrl) {\n document.querySelector('#mktoForm_3101').style.display = 'none';\n document.querySelector('#confirmDemoForm').style.display = 'block';\n // FEHelper.fePushEvents(\"Newsletter Signup\");\n return false;\n });\n });\n });\n\n document.body.addEventListener('click', function (evt) {\n if (evt.target.className === 'overlay__close' || evt.target.className === 'fas fa-times') {\n var active = document.querySelector(\"#form .overlay-content-wrapper.active\");\n active.classList.remove(\"active\");\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader .overlay__bg\");\n bgplacement.remove();\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.add(\"active--action-bar\");\n headerClass.classList.remove(\"header--inverted\"); \n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.add(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.remove(\"active--search\"); \n\n }\n if (evt.target.id === 'linkto3101') {\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n bgplacement.insertAdjacentHTML('beforeend', formbg);\n\n var active = document.querySelector(\"#form .overlay-content-wrapper\");\n active.classList.add(\"active\");\n\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.remove(\"active--action-bar\");\n headerClass.classList.add(\"header--inverted\"); \n\n\n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.remove(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.add(\"active--search\"); \n\n }\n}, false);\n\n\n// create toaster element \nvar feToast = document.createElement('div');\nfeToast.setAttribute('class', 'fe-toaster');\nfeToast.setAttribute('id', 'fe-toaster');\nfeToast.innerHTML = feToaster;\n\ndocument.body.appendChild(feToast);\n\n//toaster toggle event added\nFEHelper.live('span.fe-arrow-close', 'click', function () {\ndocument.querySelector('.fe-toaster').classList.toggle('fe-toster-close');\n});\n\n \n };\n\n function removeScripts () {\n\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n };\n \n \n \n onLoadElement(\"body header\", init, 50, 10000);\n onLoadElement(\"body head mktoForms2BaseStyle\", removeScripts, 50, 10000);","lastChanged":"\"2021-10-08T13:51:30.484Z\"","selector":"body"}],"selector":"body"}]},"campaign":"6157046310674573399d6652","slug":"V668118112","sourceId":"V668118112","createdAt":"2021-10-01T12:51:48.467Z","updatedAt":"2021-10-08T14:20:47.412Z","id":"6157046410674573399d6654"},{"organization":"5c19de5ca98def372590dc5f","redirectUrl":"","name":"Pop-up v1","campaignType":"visual","isArchived":true,"isBaselineVariation":false,"redirectCode":false,"customCSS":"html body .fe-toaster {\n position: fixed;\n width: 382px;\n bottom: 20px;\n right: 0px;\n z-index: 9999;\n /* max-height: 0px; */\n}\n\nhtml body .fe-bottom-toster {\n background: #FF3063;\n padding: 20px 25px;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n position: relative;\n}\n\nhtml body .fe-bottom-toster h2, \nhtml body .fe-bottom-toster p, \nhtml body .fe-bottom-toster a {\n color: #fff;\n}\n\nhtml body h2.fe-toster-heading {\n font-size: 31px;\n line-height: 1.2;\n}\n\nhtml body p.fe-toster-subheading {\n font-size: 15px;\n padding-right: 10px;\n}\n\nhtml body span.fe-arrow-close {\n position: absolute;\n width: 35px;\n height: 25px;\n background: #FF3063;\n top: -24px;\n right: 0px;\n cursor: pointer;\n}\n\nhtml body span.fe-arrow-close:after {\n position: absolute;\n border-top: 9px solid #fff;\n border-right: 9px solid transparent;\n border-left: 9px solid transparent;\n border-bottom: none;\n content: '';\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\nhtml body p.fe-toster-top svg {\n // width: 126px !important;\n display: none;\n}\n\nhtml body p.fe-toster-top .logo--color-2,\nhtml body p.fe-toster-top .logo--color-1 {\n fill: #fff;\n}\n\nhtml body .fe-bottom-toster a {\n text-transform: uppercase;\n color: #000;\n background: #fff;\n font-size: 13px;\n font-weight: bold;\n padding: 10px 20px;\n border-radius: 4px;\n display: inline-block;\n margin-bottom: 30px;\n font-family: Lato, arial, sans-serif;\n}\n\nhtml body .fe-toaster.fe-toster-close {\n transform: translateY(360px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\nhtml body .fe-toaster {\n transform: translateY(0px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\n\n#form.form .overlay-content-wrapper {\n display: none;\n}\n\n#form.form .overlay-content-wrapper.active {\n display: block;\n}","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"function onLoadElement(selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (document && document.querySelectorAll(selector) && document.querySelectorAll(selector).length > 0) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n };\n \n \n var FEHelper = {\n onLoadDataLayer: function (trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (window && window.dataLayer && window.DataLayerHelper\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n },\n after: function (reference_selector, htmlString) {\n var reference_element = document.querySelectorAll(reference_selector);\n for (var i = 0; i < reference_element.length; i++) {\n reference_element[i].insertAdjacentHTML(\"afterend\", htmlString);\n }\n },\n waitforMarketo: function (trigger) {\n var interval = setInterval(function () {\n if (\n window.MktoForms2\n ) {\n clearInterval(interval);\n trigger();\n }\n }, 50);\n setTimeout(function () {\n clearInterval(interval);\n }, 10000);\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 setCookie: function (name, value, days) {\n var expires = \"\";\n if (days) {\n var date = new Date();\n date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));\n expires = \"; expires=\" + date.toUTCString();\n }\n document.cookie = name + \"=\" + (value || \"\") + expires + \"; path=/\";\n },\n 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 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 }\n }, 30);\n setTimeout(function () {\n clearInterval(waitForFunnelEnvy);\n }, 8000);\n }\n };\n \n \n //pop up form\n var form = \n '
'+\n '
'+\n '
'+\n '
' +\n '
'+\n '

Thank you for your request. You will receive an email shortly.

'+\n '

Thank you. Check your email for details on your request.

'+\n '
'+\n '
'+\n '
'\n ;\n\n //bottom toaster\n var feToaster = '' +\n '
' +\n ' ' +\n '

' +\n '

Add color to the picture

' +\n '

Receive complimentary daily alerts on the latest issues affecting capital markets with Fitch Wire.

' +\n ' Sign Up' +\n '
';\n\n var formbg = '
';\n\n // function to modify and style according to design all Marketo forms\nvar modifyMarketoForm = {\n init: function() {\n var self = this; \n // custom event 'mktoFormLoaded' is invoked when forms are loaded\n $(document).on(\n 'mktoFormLoaded',\n function() {\n self\n ._removeMarketoCSS();\n });\n },\n _removeMarketoCSS: function() {\n // remove the external stylesheets var\n links = window.document.getElementsByTagName('link');\n $(links).each( function() {\n var thisLinkElement = $(this);\n var thisLinkURL = thisLinkElement.attr('href');\n // if (thisLinkURL.indexOf('marketo') > 1) {\n // thisLinkElement.remove();\n // }\n }); \n // and the inline styles\n var marketoForms =\n $(\n \"[id*='mktoForm']\");\n marketoForms.each(\n function() {\n $(this)\n .find(\n 'style'\n )\n .remove();\n }); \n //and the style attributes\n marketoForms.each(\n function() {\n $(this)\n .find(\n '[style]'\n )\n .removeAttr(\n 'style'\n );\n });\n }\n}; //the document ready function\n\n \nfunction init() {\n console.log('Element has loaded!');\n \n \n // create formpop up element \n // var feToast = document.createElement('div');\n // feToast.setAttribute('class', 'form');\n // feToast.setAttribute('id', 'form');\n // feToast.innerHTML = form;\n \n \n // document.body.appendChild(feToast);\n var placement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader.header--overlay\");\nplacement.insertAdjacentHTML('beforeend', form);\n \n FEHelper.waitforMarketo(function () {\n //load mktoForm_4076 form\n MktoForms2.loadForm('//your.fitchratings.com', '732-CKH-767', 4076);\n modifyMarketoForm._removeMarketoCSS();\n MktoForms2.whenReady(function (form) {\n modifyMarketoForm._removeMarketoCSS();\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n var element = document.getElementById('mktoForm_4076');\n element.style.removeProperty(\"color\");\n element.style.removeProperty(\"width\");\n element.style.removeProperty(\"font-size\");\n element.style.removeProperty(\"font-family\");\n\n form.onSuccess(function (values, followUpUrl) {\n document.querySelector('#mktoForm_4076').style.display = 'none';\n document.querySelector('#confirmDemoForm').style.display = 'block';\n // FEHelper.fePushEvents(\"Newsletter Signup\");\n return false;\n });\n });\n });\n\n document.body.addEventListener('click', function (evt) {\n if (evt.target.className === 'overlay__close' || evt.target.className === 'fas fa-times') {\n var active = document.querySelector(\"#form .overlay-content-wrapper.active\");\n active.classList.remove(\"active\");\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader .overlay__bg\");\n bgplacement.remove();\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.add(\"active--action-bar\");\n headerClass.classList.remove(\"header--inverted\"); \n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.add(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.remove(\"active--search\"); \n\n }\n if (evt.target.id === 'linkto4076') {\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n bgplacement.insertAdjacentHTML('beforeend', formbg);\n\n var active = document.querySelector(\"#form .overlay-content-wrapper\");\n active.classList.add(\"active\");\n\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.remove(\"active--action-bar\");\n headerClass.classList.add(\"header--inverted\"); \n\n\n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.remove(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.add(\"active--search\"); \n\n }\n}, false);\n\n\n// create toaster element \nvar feToast = document.createElement('div');\nfeToast.setAttribute('class', 'fe-toaster');\nfeToast.setAttribute('id', 'fe-toaster');\nfeToast.innerHTML = feToaster;\n\ndocument.body.appendChild(feToast);\n\n//toaster toggle event added\nFEHelper.live('span.fe-arrow-close', 'click', function () {\ndocument.querySelector('.fe-toaster').classList.toggle('fe-toster-close');\n});\n\n \n };\n\n function removeScripts () {\n\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n };\n \n \n \n onLoadElement(\"body header\", init, 50, 10000);\n onLoadElement(\"body head mktoForms2BaseStyle\", removeScripts, 50, 10000);","lastChanged":"\"2021-09-28T08:18:13.845Z\"","selector":"body"}],"selector":"body"}]},"campaign":"6157046310674573399d6652","slug":"V668118112","sourceId":"V668118112","createdAt":"2021-10-01T12:51:48.468Z","updatedAt":"2021-10-08T14:20:47.412Z","id":"6157046410674573399d6655"},{"organization":"5c19de5ca98def372590dc5f","redirectUrl":"","name":"Pop-up v1 - perspectives","expectedGoal":"60abd077811f82596729a235","campaign":"6157046310674573399d6652","campaignType":"visual","isArchived":false,"isBaselineVariation":false,"slug":"V4019274","sourceId":"V4019274","redirectCode":false,"createdAt":"2021-10-08T08:47:52.700Z","updatedAt":"2021-10-08T14:20:47.413Z","customCSS":"html body .fe-toaster {\n position: fixed;\n width: 382px;\n bottom: 20px;\n right: 0px;\n z-index: 9999;\n /* max-height: 0px; */\n}\n\nhtml body .fe-bottom-toster {\n background: #CC0033;\n padding: 20px 25px;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n position: relative;\n}\n\nhtml body .fe-bottom-toster h2, \nhtml body .fe-bottom-toster p, \nhtml body .fe-bottom-toster a {\n color: #fff;\n}\n\nhtml body h2.fe-toster-heading {\n font-size: 31px;\n line-height: 1.2;\n}\n\nhtml body p.fe-toster-subheading {\n font-size: 15px;\n padding-right: 10px;\n}\n\nhtml body span.fe-arrow-close {\n position: absolute;\n width: 35px;\n height: 25px;\n background: #CC0033;\n top: -24px;\n right: 0px;\n cursor: pointer;\n}\n\nhtml body span.fe-arrow-close:after {\n position: absolute;\n border-top: 9px solid #fff;\n border-right: 9px solid transparent;\n border-left: 9px solid transparent;\n border-bottom: none;\n content: '';\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\nhtml body p.fe-toster-top svg {\n // width: 126px !important;\n display: none;\n}\n\nhtml body p.fe-toster-top .logo--color-2,\nhtml body p.fe-toster-top .logo--color-1 {\n fill: #fff;\n}\n\nhtml body .fe-bottom-toster a {\n text-transform: uppercase;\n color: #000;\n background: #fff;\n font-size: 13px;\n font-weight: bold;\n padding: 10px 20px;\n border-radius: 4px;\n display: inline-block;\n margin-bottom: 30px;\n font-family: Lato, arial, sans-serif;\n}\n\nhtml body .fe-toaster.fe-toster-close {\n transform: translateY(360px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\nhtml body .fe-toaster {\n transform: translateY(0px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\n\n#form.form .overlay-content-wrapper {\n display: none;\n}\n\n#form.form .overlay-content-wrapper.active {\n display: block;\n}","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"function onLoadElement(selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (document && document.querySelectorAll(selector) && document.querySelectorAll(selector).length > 0) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n };\n \n \n var FEHelper = {\n onLoadDataLayer: function (trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (window && window.dataLayer && window.DataLayerHelper\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n },\n after: function (reference_selector, htmlString) {\n var reference_element = document.querySelectorAll(reference_selector);\n for (var i = 0; i < reference_element.length; i++) {\n reference_element[i].insertAdjacentHTML(\"afterend\", htmlString);\n }\n },\n waitforMarketo: function (trigger) {\n var interval = setInterval(function () {\n if (\n window.MktoForms2\n ) {\n clearInterval(interval);\n trigger();\n }\n }, 50);\n setTimeout(function () {\n clearInterval(interval);\n }, 10000);\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 setCookie: function (name, value, days) {\n var expires = \"\";\n if (days) {\n var date = new Date();\n date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));\n expires = \"; expires=\" + date.toUTCString();\n }\n document.cookie = name + \"=\" + (value || \"\") + expires + \"; path=/\";\n },\n 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 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 }\n }, 30);\n setTimeout(function () {\n clearInterval(waitForFunnelEnvy);\n }, 8000);\n }\n };\n \n \n //pop up form\n var form = \n '
'+\n '
'+\n '
'+\n '
' +\n '
'+\n '

Thank you for your request. You will receive an email shortly.

'+\n '

Thank you. Check your email for details on your request.

'+\n '
'+\n '
'+\n '
'\n ;\n\n //bottom toaster\n var feToaster = '' +\n '
' +\n ' ' +\n '

' +\n '

Uma gama de conteúdos para os mercados mais complexos

' +\n '

Receba nossa newsletter gratuita para saber mais sobre eventos que afetam o mercado de capitais.

' +\n ' Assine' +\n '
';\n\n var formbg = '
';\n\n // function to modify and style according to design all Marketo forms\nvar modifyMarketoForm = {\n init: function() {\n var self = this; \n // custom event 'mktoFormLoaded' is invoked when forms are loaded\n $(document).on(\n 'mktoFormLoaded',\n function() {\n self\n ._removeMarketoCSS();\n });\n },\n _removeMarketoCSS: function() {\n // remove the external stylesheets var\n links = window.document.getElementsByTagName('link');\n $(links).each( function() {\n var thisLinkElement = $(this);\n var thisLinkURL = thisLinkElement.attr('href');\n // if (thisLinkURL.indexOf('marketo') > 1) {\n // thisLinkElement.remove();\n // }\n }); \n // and the inline styles\n var marketoForms =\n $(\n \"[id*='mktoForm']\");\n marketoForms.each(\n function() {\n $(this)\n .find(\n 'style'\n )\n .remove();\n }); \n //and the style attributes\n marketoForms.each(\n function() {\n $(this)\n .find(\n '[style]'\n )\n .removeAttr(\n 'style'\n );\n });\n }\n}; //the document ready function\n\n \nfunction init() {\n console.log('Element has loaded!');\n \n \n // create formpop up element \n // var feToast = document.createElement('div');\n // feToast.setAttribute('class', 'form');\n // feToast.setAttribute('id', 'form');\n // feToast.innerHTML = form;\n \n \n // document.body.appendChild(feToast);\n var placement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader.header--overlay\");\nplacement.insertAdjacentHTML('beforeend', form);\n \n FEHelper.waitforMarketo(function () {\n //load mktoForm_3101 form\n MktoForms2.loadForm('//your.fitchratings.com', '732-CKH-767', 3101);\n modifyMarketoForm._removeMarketoCSS();\n MktoForms2.whenReady(function (form) {\n modifyMarketoForm._removeMarketoCSS();\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n var element = document.getElementById('mktoForm_3101');\n element.style.removeProperty(\"color\");\n element.style.removeProperty(\"width\");\n element.style.removeProperty(\"font-size\");\n element.style.removeProperty(\"font-family\");\n\n form.onSuccess(function (values, followUpUrl) {\n document.querySelector('#mktoForm_3101').style.display = 'none';\n document.querySelector('#confirmDemoForm').style.display = 'block';\n // FEHelper.fePushEvents(\"Newsletter Signup\");\n return false;\n });\n });\n });\n\n document.body.addEventListener('click', function (evt) {\n if (evt.target.className === 'overlay__close' || evt.target.className === 'fas fa-times') {\n var active = document.querySelector(\"#form .overlay-content-wrapper.active\");\n active.classList.remove(\"active\");\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader .overlay__bg\");\n bgplacement.remove();\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.add(\"active--action-bar\");\n headerClass.classList.remove(\"header--inverted\"); \n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.add(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.remove(\"active--search\"); \n\n }\n if (evt.target.id === 'linkto3101') {\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n bgplacement.insertAdjacentHTML('beforeend', formbg);\n\n var active = document.querySelector(\"#form .overlay-content-wrapper\");\n active.classList.add(\"active\");\n\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.remove(\"active--action-bar\");\n headerClass.classList.add(\"header--inverted\"); \n\n\n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.remove(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.add(\"active--search\"); \n\n }\n}, false);\n\n\n// create toaster element \nvar feToast = document.createElement('div');\nfeToast.setAttribute('class', 'fe-toaster');\nfeToast.setAttribute('id', 'fe-toaster');\nfeToast.innerHTML = feToaster;\n\ndocument.body.appendChild(feToast);\n\n//toaster toggle event added\nFEHelper.live('span.fe-arrow-close', 'click', function () {\ndocument.querySelector('.fe-toaster').classList.toggle('fe-toster-close');\n});\n\n \n };\n\n function removeScripts () {\n\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n };\n \n \n \n onLoadElement(\"body header\", init, 50, 10000);\n onLoadElement(\"body head mktoForms2BaseStyle\", removeScripts, 50, 10000);","lastChanged":"\"2021-10-08T13:52:52.179Z\"","selector":"body"}],"selector":"body"}]},"id":"616005b8725290f773b294b5"}],"organization":"5c19de5ca98def372590dc5f","holdbackVariation":null,"activeExperiment":null,"audience":null,"holdback":100,"holdbackMode":"random","trafficAllocation":100,"predictVariations":false,"decisionMode":"A/B/n Test","name":"LP MK 21 Oct Emerging Markets Pop-up on /brazil","description":"Pop-up on /brazil","editorUrl":"https://www.fitchratings.com/pt/region/brazil","persistentDecisions":true,"source":"visual","sourceId":"C1847785","isArchived":false,"createdAt":"2021-09-13T09:48:24.890Z","updatedAt":"2021-10-20T11:01:10.370Z","pageTargets":[{"include":true,"url":"https://www.fitchratings.com/pt/region/brazil?utm_medium=referral&utm_source=InfoMoney&utm_campaign=ValueProposition&utm_content=LatAm&utm_term=ArrobaBanner","match":"exact"},{"include":true,"url":"https://www.fitchratings.com/pt/region/brazil?utm_medium=referral&utm_source=InfoMoney&utm_campaign=ValueProposition&utm_content=LatAm&utm_term=Leaderboard","match":"exact"},{"include":true,"url":"https://www.fitchratings.com/pt/region/brazil?utm_medium=referral&utm_source=InfoMoney&utm_campaign=ValueProposition&utm_content=LatAm&utm_term=300x250","match":"exact"},{"include":true,"url":"https://www.fitchratings.com/pt/region/brazil?utm_medium=referral&utm_source=InfoMoney&utm_campaign=ValueProposition&utm_content=LatAm&utm_term=320x50","match":"exact"},{"include":true,"url":"https://www.fitchratings.com/pt/region/brazil?utm_medium=referral&utm_source=InfoMoney&utm_campaign=ValueProposition&utm_content=LatAm&utm_term=320x100","match":"exact"}],"customJavascript":[],"slug":"C1847785","status":"running","runningFrom":"2021-10-08T14:20:47.300Z","id":"6157046310674573399d6652"},{"variations":[{"isBaselineVariation":true,"name":"Baseline variation","organization":"5c19de5ca98def372590dc5f","campaign":"615704b810674573399d6656","description":"","isArchived":true,"slug":"V127119642","sourceId":"V127119642","redirectUrl":"","redirectCode":false,"campaignType":"","createdAt":"2021-10-01T12:53:12.040Z","updatedAt":"2021-10-08T14:21:15.878Z","id":"615704b810674573399d6657"},{"organization":"5c19de5ca98def372590dc5f","redirectUrl":"","name":"Pop-up v1 - colour","campaignType":"visual","isArchived":false,"isBaselineVariation":false,"redirectCode":false,"customCSS":"html body .fe-toaster {\n position: fixed;\n width: 382px;\n bottom: 20px;\n right: 0px;\n z-index: 9999;\n /* max-height: 0px; */\n}\n\nhtml body .fe-bottom-toster {\n background: #CC0033;\n padding: 20px 25px;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n position: relative;\n}\n\nhtml body .fe-bottom-toster h2, \nhtml body .fe-bottom-toster p, \nhtml body .fe-bottom-toster a {\n color: #fff;\n}\n\nhtml body h2.fe-toster-heading {\n font-size: 31px;\n line-height: 1.2;\n}\n\nhtml body p.fe-toster-subheading {\n font-size: 15px;\n padding-right: 10px;\n}\n\nhtml body span.fe-arrow-close {\n position: absolute;\n width: 35px;\n height: 25px;\n background: #CC0033;\n top: -24px;\n right: 0px;\n cursor: pointer;\n}\n\nhtml body span.fe-arrow-close:after {\n position: absolute;\n border-top: 9px solid #fff;\n border-right: 9px solid transparent;\n border-left: 9px solid transparent;\n border-bottom: none;\n content: '';\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\nhtml body p.fe-toster-top svg {\n // width: 126px !important;\n display: none;\n}\n\nhtml body p.fe-toster-top .logo--color-2,\nhtml body p.fe-toster-top .logo--color-1 {\n fill: #fff;\n}\n\nhtml body .fe-bottom-toster a {\n text-transform: uppercase;\n color: #000;\n background: #fff;\n font-size: 13px;\n font-weight: bold;\n padding: 10px 20px;\n border-radius: 4px;\n display: inline-block;\n margin-bottom: 30px;\n font-family: Lato, arial, sans-serif;\n}\n\nhtml body .fe-toaster.fe-toster-close {\n transform: translateY(360px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\nhtml body .fe-toaster {\n transform: translateY(0px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\n\n#form.form .overlay-content-wrapper {\n display: none;\n}\n\n#form.form .overlay-content-wrapper.active {\n display: block;\n}","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"function onLoadElement(selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (document && document.querySelectorAll(selector) && document.querySelectorAll(selector).length > 0) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n };\n \n \n var FEHelper = {\n onLoadDataLayer: function (trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (window && window.dataLayer && window.DataLayerHelper\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n },\n after: function (reference_selector, htmlString) {\n var reference_element = document.querySelectorAll(reference_selector);\n for (var i = 0; i < reference_element.length; i++) {\n reference_element[i].insertAdjacentHTML(\"afterend\", htmlString);\n }\n },\n waitforMarketo: function (trigger) {\n var interval = setInterval(function () {\n if (\n window.MktoForms2\n ) {\n clearInterval(interval);\n trigger();\n }\n }, 50);\n setTimeout(function () {\n clearInterval(interval);\n }, 10000);\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 setCookie: function (name, value, days) {\n var expires = \"\";\n if (days) {\n var date = new Date();\n date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));\n expires = \"; expires=\" + date.toUTCString();\n }\n document.cookie = name + \"=\" + (value || \"\") + expires + \"; path=/\";\n },\n 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 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 }\n }, 30);\n setTimeout(function () {\n clearInterval(waitForFunnelEnvy);\n }, 8000);\n }\n };\n \n \n //pop up form\n var form = \n '
'+\n '
'+\n '
'+\n '
' +\n '
'+\n '

Thank you for your request. You will receive an email shortly.

'+\n '

Thank you. Check your email for details on your request.

'+\n '
'+\n '
'+\n '
'\n ;\n\n //bottom toaster\n var feToaster = '' +\n '
' +\n ' ' +\n '

' +\n '

Agrega color a la imagen

' +\n '

Reciba nuestro boletín gratuito para saber más sobre los eventos que afectan a los mercados de capitales.

' +\n ' Suscríbase' +\n '
';\n\n var formbg = '
';\n\n // function to modify and style according to design all Marketo forms\nvar modifyMarketoForm = {\n init: function() {\n var self = this; \n // custom event 'mktoFormLoaded' is invoked when forms are loaded\n $(document).on(\n 'mktoFormLoaded',\n function() {\n self\n ._removeMarketoCSS();\n });\n },\n _removeMarketoCSS: function() {\n // remove the external stylesheets var\n links = window.document.getElementsByTagName('link');\n $(links).each( function() {\n var thisLinkElement = $(this);\n var thisLinkURL = thisLinkElement.attr('href');\n // if (thisLinkURL.indexOf('marketo') > 1) {\n // thisLinkElement.remove();\n // }\n }); \n // and the inline styles\n var marketoForms =\n $(\n \"[id*='mktoForm']\");\n marketoForms.each(\n function() {\n $(this)\n .find(\n 'style'\n )\n .remove();\n }); \n //and the style attributes\n marketoForms.each(\n function() {\n $(this)\n .find(\n '[style]'\n )\n .removeAttr(\n 'style'\n );\n });\n }\n}; //the document ready function\n\n \nfunction init() {\n console.log('Element has loaded!');\n \n \n // create formpop up element \n // var feToast = document.createElement('div');\n // feToast.setAttribute('class', 'form');\n // feToast.setAttribute('id', 'form');\n // feToast.innerHTML = form;\n \n \n // document.body.appendChild(feToast);\n var placement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader.header--overlay\");\nplacement.insertAdjacentHTML('beforeend', form);\n \n FEHelper.waitforMarketo(function () {\n //load mktoForm_3101 form\n MktoForms2.loadForm('//your.fitchratings.com', '732-CKH-767', 3101);\n modifyMarketoForm._removeMarketoCSS();\n MktoForms2.whenReady(function (form) {\n modifyMarketoForm._removeMarketoCSS();\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n var element = document.getElementById('mktoForm_3101');\n element.style.removeProperty(\"color\");\n element.style.removeProperty(\"width\");\n element.style.removeProperty(\"font-size\");\n element.style.removeProperty(\"font-family\");\n\n form.onSuccess(function (values, followUpUrl) {\n document.querySelector('#mktoForm_3101').style.display = 'none';\n document.querySelector('#confirmDemoForm').style.display = 'block';\n // FEHelper.fePushEvents(\"Newsletter Signup\");\n return false;\n });\n });\n });\n\n document.body.addEventListener('click', function (evt) {\n if (evt.target.className === 'overlay__close' || evt.target.className === 'fas fa-times') {\n var active = document.querySelector(\"#form .overlay-content-wrapper.active\");\n active.classList.remove(\"active\");\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader .overlay__bg\");\n bgplacement.remove();\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.add(\"active--action-bar\");\n headerClass.classList.remove(\"header--inverted\"); \n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.add(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.remove(\"active--search\"); \n\n }\n if (evt.target.id === 'linkto3101') {\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n bgplacement.insertAdjacentHTML('beforeend', formbg);\n\n var active = document.querySelector(\"#form .overlay-content-wrapper\");\n active.classList.add(\"active\");\n\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.remove(\"active--action-bar\");\n headerClass.classList.add(\"header--inverted\"); \n\n\n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.remove(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.add(\"active--search\"); \n\n }\n}, false);\n\n\n// create toaster element \nvar feToast = document.createElement('div');\nfeToast.setAttribute('class', 'fe-toaster');\nfeToast.setAttribute('id', 'fe-toaster');\nfeToast.innerHTML = feToaster;\n\ndocument.body.appendChild(feToast);\n\n//toaster toggle event added\nFEHelper.live('span.fe-arrow-close', 'click', function () {\ndocument.querySelector('.fe-toaster').classList.toggle('fe-toster-close');\n});\n\n \n };\n\n function removeScripts () {\n\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n };\n \n \n \n onLoadElement(\"body header\", init, 50, 10000);\n onLoadElement(\"body head mktoForms2BaseStyle\", removeScripts, 50, 10000);","lastChanged":"\"2021-10-15T14:44:41.959Z\"","selector":"body"}],"selector":"body"}]},"campaign":"615704b810674573399d6656","slug":"V668118114","sourceId":"V668118114","createdAt":"2021-10-01T12:53:12.157Z","updatedAt":"2021-10-15T14:44:43.646Z","id":"615704b810674573399d6658"},{"organization":"5c19de5ca98def372590dc5f","expectedGoal":"60abd077811f82596729a235","redirectUrl":"","name":"Pop-up v2 - perspectives","campaignType":"visual","isArchived":false,"isBaselineVariation":false,"redirectCode":false,"customCSS":"html body .fe-toaster {\n position: fixed;\n width: 382px;\n bottom: 20px;\n right: 0px;\n z-index: 9999;\n /* max-height: 0px; */\n}\n\nhtml body .fe-bottom-toster {\n background: #CC0033;\n padding: 20px 25px;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n position: relative;\n}\n\nhtml body .fe-bottom-toster h2, \nhtml body .fe-bottom-toster p, \nhtml body .fe-bottom-toster a {\n color: #fff;\n}\n\nhtml body h2.fe-toster-heading {\n font-size: 31px;\n line-height: 1.2;\n}\n\nhtml body p.fe-toster-subheading {\n font-size: 15px;\n padding-right: 10px;\n}\n\nhtml body span.fe-arrow-close {\n position: absolute;\n width: 35px;\n height: 25px;\n background: #CC0033;\n top: -24px;\n right: 0px;\n cursor: pointer;\n}\n\nhtml body span.fe-arrow-close:after {\n position: absolute;\n border-top: 9px solid #fff;\n border-right: 9px solid transparent;\n border-left: 9px solid transparent;\n border-bottom: none;\n content: '';\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\nhtml body p.fe-toster-top svg {\n // width: 126px !important;\n display: none;\n}\n\nhtml body p.fe-toster-top .logo--color-2,\nhtml body p.fe-toster-top .logo--color-1 {\n fill: #fff;\n}\n\nhtml body .fe-bottom-toster a {\n text-transform: uppercase;\n color: #000;\n background: #fff;\n font-size: 13px;\n font-weight: bold;\n padding: 10px 20px;\n border-radius: 4px;\n display: inline-block;\n margin-bottom: 30px;\n font-family: Lato, arial, sans-serif;\n}\n\nhtml body .fe-toaster.fe-toster-close {\n transform: translateY(360px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\nhtml body .fe-toaster {\n transform: translateY(0px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\n\n#form.form .overlay-content-wrapper {\n display: none;\n}\n\n#form.form .overlay-content-wrapper.active {\n display: block;\n}","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"function onLoadElement(selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (document && document.querySelectorAll(selector) && document.querySelectorAll(selector).length > 0) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n };\n \n \n var FEHelper = {\n onLoadDataLayer: function (trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (window && window.dataLayer && window.DataLayerHelper\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n },\n after: function (reference_selector, htmlString) {\n var reference_element = document.querySelectorAll(reference_selector);\n for (var i = 0; i < reference_element.length; i++) {\n reference_element[i].insertAdjacentHTML(\"afterend\", htmlString);\n }\n },\n waitforMarketo: function (trigger) {\n var interval = setInterval(function () {\n if (\n window.MktoForms2\n ) {\n clearInterval(interval);\n trigger();\n }\n }, 50);\n setTimeout(function () {\n clearInterval(interval);\n }, 10000);\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 setCookie: function (name, value, days) {\n var expires = \"\";\n if (days) {\n var date = new Date();\n date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));\n expires = \"; expires=\" + date.toUTCString();\n }\n document.cookie = name + \"=\" + (value || \"\") + expires + \"; path=/\";\n },\n 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 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 }\n }, 30);\n setTimeout(function () {\n clearInterval(waitForFunnelEnvy);\n }, 8000);\n }\n };\n \n \n //pop up form\n var form = \n '
'+\n '
'+\n '
'+\n '
' +\n '
'+\n '

Thank you for your request. You will receive an email shortly.

'+\n '

Thank you. Check your email for details on your request.

'+\n '
'+\n '
'+\n '
'\n ;\n\n //bottom toaster\n var feToaster = '' +\n '
' +\n ' ' +\n '

' +\n '

Un amplia gama de perspectivas para los mercados más complejos

' +\n '

Reciba nuestro boletín gratuito para saber más sobre los eventos que afectan a los mercados de capitales.

' +\n ' Suscríbase' +\n '
';\n\n var formbg = '
';\n\n // function to modify and style according to design all Marketo forms\nvar modifyMarketoForm = {\n init: function() {\n var self = this; \n // custom event 'mktoFormLoaded' is invoked when forms are loaded\n $(document).on(\n 'mktoFormLoaded',\n function() {\n self\n ._removeMarketoCSS();\n });\n },\n _removeMarketoCSS: function() {\n // remove the external stylesheets var\n links = window.document.getElementsByTagName('link');\n $(links).each( function() {\n var thisLinkElement = $(this);\n var thisLinkURL = thisLinkElement.attr('href');\n // if (thisLinkURL.indexOf('marketo') > 1) {\n // thisLinkElement.remove();\n // }\n }); \n // and the inline styles\n var marketoForms =\n $(\n \"[id*='mktoForm']\");\n marketoForms.each(\n function() {\n $(this)\n .find(\n 'style'\n )\n .remove();\n }); \n //and the style attributes\n marketoForms.each(\n function() {\n $(this)\n .find(\n '[style]'\n )\n .removeAttr(\n 'style'\n );\n });\n }\n}; //the document ready function\n\n \nfunction init() {\n console.log('Element has loaded!');\n \n \n // create formpop up element \n // var feToast = document.createElement('div');\n // feToast.setAttribute('class', 'form');\n // feToast.setAttribute('id', 'form');\n // feToast.innerHTML = form;\n \n \n // document.body.appendChild(feToast);\n var placement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader.header--overlay\");\nplacement.insertAdjacentHTML('beforeend', form);\n \n FEHelper.waitforMarketo(function () {\n //load mktoForm_3101 form\n MktoForms2.loadForm('//your.fitchratings.com', '732-CKH-767', 3101);\n modifyMarketoForm._removeMarketoCSS();\n MktoForms2.whenReady(function (form) {\n modifyMarketoForm._removeMarketoCSS();\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n var element = document.getElementById('mktoForm_3101');\n element.style.removeProperty(\"color\");\n element.style.removeProperty(\"width\");\n element.style.removeProperty(\"font-size\");\n element.style.removeProperty(\"font-family\");\n\n form.onSuccess(function (values, followUpUrl) {\n document.querySelector('#mktoForm_3101').style.display = 'none';\n document.querySelector('#confirmDemoForm').style.display = 'block';\n // FEHelper.fePushEvents(\"Newsletter Signup\");\n return false;\n });\n });\n });\n\n document.body.addEventListener('click', function (evt) {\n if (evt.target.className === 'overlay__close' || evt.target.className === 'fas fa-times') {\n var active = document.querySelector(\"#form .overlay-content-wrapper.active\");\n active.classList.remove(\"active\");\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader .overlay__bg\");\n bgplacement.remove();\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.add(\"active--action-bar\");\n headerClass.classList.remove(\"header--inverted\"); \n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.add(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.remove(\"active--search\"); \n\n }\n if (evt.target.id === 'linkto3101') {\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n bgplacement.insertAdjacentHTML('beforeend', formbg);\n\n var active = document.querySelector(\"#form .overlay-content-wrapper\");\n active.classList.add(\"active\");\n\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.remove(\"active--action-bar\");\n headerClass.classList.add(\"header--inverted\"); \n\n\n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.remove(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.add(\"active--search\"); \n\n }\n}, false);\n\n\n// create toaster element \nvar feToast = document.createElement('div');\nfeToast.setAttribute('class', 'fe-toaster');\nfeToast.setAttribute('id', 'fe-toaster');\nfeToast.innerHTML = feToaster;\n\ndocument.body.appendChild(feToast);\n\n//toaster toggle event added\nFEHelper.live('span.fe-arrow-close', 'click', function () {\ndocument.querySelector('.fe-toaster').classList.toggle('fe-toster-close');\n});\n\n \n };\n\n function removeScripts () {\n\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n };\n \n \n \n onLoadElement(\"body header\", init, 50, 10000);\n onLoadElement(\"body head mktoForms2BaseStyle\", removeScripts, 50, 10000);","lastChanged":"\"2021-10-08T08:24:10.813Z\"","selector":"body"}],"selector":"body"}]},"campaign":"615704b810674573399d6656","slug":"V668118115","sourceId":"V668118115","createdAt":"2021-10-01T12:53:12.172Z","updatedAt":"2021-10-08T14:21:15.879Z","id":"615704b810674573399d6659"}],"organization":"5c19de5ca98def372590dc5f","holdbackVariation":null,"activeExperiment":null,"audience":null,"holdback":100,"holdbackMode":"random","trafficAllocation":100,"predictVariations":false,"decisionMode":"A/B/n Test","name":"LP MK 21 Oct Emerging Markets Pop-up on /mexico","description":"Pop-up on /mexico","editorUrl":"https://www.fitchratings.com/es/region/mexico","persistentDecisions":true,"source":"visual","sourceId":"C1402094","isArchived":false,"createdAt":"2021-09-13T09:48:24.890Z","updatedAt":"2021-10-08T14:21:15.779Z","pageTargets":[{"include":true,"url":"https://www.fitchratings.com/es/region/mexico?utm_medium=referral&utm_source=ElEconomista&utm_campaign=ValueProposition&utm_content=LatAm&utm_term=SuperLeader","match":"exact"}],"customJavascript":[],"slug":"C1402094","status":"running","runningFrom":"2021-10-08T14:21:15.743Z","id":"615704b810674573399d6656"},{"variations":[{"isBaselineVariation":true,"name":"Baseline variation","organization":"5c19de5ca98def372590dc5f","campaign":"61600f94725290f773b294b6","description":"","isArchived":true,"slug":"V127119643","sourceId":"V127119643","redirectUrl":"","redirectCode":false,"campaignType":"","createdAt":"2021-10-08T09:29:56.689Z","updatedAt":"2021-10-08T14:21:06.051Z","id":"61600f94725290f773b294b7"},{"organization":"5c19de5ca98def372590dc5f","expectedGoal":"60abd077811f82596729a235","redirectUrl":"","name":"Pop-up v2 - perspectives","campaignType":"visual","isArchived":false,"isBaselineVariation":false,"redirectCode":false,"customCSS":"html body .fe-toaster {\n position: fixed;\n width: 382px;\n bottom: 20px;\n right: 0px;\n z-index: 9999;\n /* max-height: 0px; */\n}\n\nhtml body .fe-bottom-toster {\n background: #CC0033;\n padding: 20px 25px;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n position: relative;\n}\n\nhtml body .fe-bottom-toster h2, \nhtml body .fe-bottom-toster p, \nhtml body .fe-bottom-toster a {\n color: #fff;\n}\n\nhtml body h2.fe-toster-heading {\n font-size: 31px;\n line-height: 1.2;\n}\n\nhtml body p.fe-toster-subheading {\n font-size: 15px;\n padding-right: 10px;\n}\n\nhtml body span.fe-arrow-close {\n position: absolute;\n width: 35px;\n height: 25px;\n background: #CC0033;\n top: -24px;\n right: 0px;\n cursor: pointer;\n}\n\nhtml body span.fe-arrow-close:after {\n position: absolute;\n border-top: 9px solid #fff;\n border-right: 9px solid transparent;\n border-left: 9px solid transparent;\n border-bottom: none;\n content: '';\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\nhtml body p.fe-toster-top svg {\n // width: 126px !important;\n display: none;\n}\n\nhtml body p.fe-toster-top .logo--color-2,\nhtml body p.fe-toster-top .logo--color-1 {\n fill: #fff;\n}\n\nhtml body .fe-bottom-toster a {\n text-transform: uppercase;\n color: #000;\n background: #fff;\n font-size: 13px;\n font-weight: bold;\n padding: 10px 20px;\n border-radius: 4px;\n display: inline-block;\n margin-bottom: 30px;\n font-family: Lato, arial, sans-serif;\n}\n\nhtml body .fe-toaster.fe-toster-close {\n transform: translateY(360px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\nhtml body .fe-toaster {\n transform: translateY(0px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\n\n#form.form .overlay-content-wrapper {\n display: none;\n}\n\n#form.form .overlay-content-wrapper.active {\n display: block;\n}","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"function onLoadElement(selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (document && document.querySelectorAll(selector) && document.querySelectorAll(selector).length > 0) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n };\n \n \n var FEHelper = {\n onLoadDataLayer: function (trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (window && window.dataLayer && window.DataLayerHelper\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n },\n after: function (reference_selector, htmlString) {\n var reference_element = document.querySelectorAll(reference_selector);\n for (var i = 0; i < reference_element.length; i++) {\n reference_element[i].insertAdjacentHTML(\"afterend\", htmlString);\n }\n },\n waitforMarketo: function (trigger) {\n var interval = setInterval(function () {\n if (\n window.MktoForms2\n ) {\n clearInterval(interval);\n trigger();\n }\n }, 50);\n setTimeout(function () {\n clearInterval(interval);\n }, 10000);\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 setCookie: function (name, value, days) {\n var expires = \"\";\n if (days) {\n var date = new Date();\n date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));\n expires = \"; expires=\" + date.toUTCString();\n }\n document.cookie = name + \"=\" + (value || \"\") + expires + \"; path=/\";\n },\n 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 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 }\n }, 30);\n setTimeout(function () {\n clearInterval(waitForFunnelEnvy);\n }, 8000);\n }\n };\n \n \n //pop up form\n var form = \n '
'+\n '
'+\n '
'+\n '
' +\n '
'+\n '

Thank you for your request. You will receive an email shortly.

'+\n '

Thank you. Check your email for details on your request.

'+\n '
'+\n '
'+\n '
'\n ;\n\n //bottom toaster\n var feToaster = '' +\n '
' +\n ' ' +\n '

' +\n '

Un amplia gama de perspectivas para los mercados más complejos

' +\n '

Reciba nuestro boletín gratuito para saber más sobre los eventos que afectan a los mercados de capitales.

' +\n ' Suscríbase' +\n '
';\n\n var formbg = '
';\n\n // function to modify and style according to design all Marketo forms\nvar modifyMarketoForm = {\n init: function() {\n var self = this; \n // custom event 'mktoFormLoaded' is invoked when forms are loaded\n $(document).on(\n 'mktoFormLoaded',\n function() {\n self\n ._removeMarketoCSS();\n });\n },\n _removeMarketoCSS: function() {\n // remove the external stylesheets var\n links = window.document.getElementsByTagName('link');\n $(links).each( function() {\n var thisLinkElement = $(this);\n var thisLinkURL = thisLinkElement.attr('href');\n // if (thisLinkURL.indexOf('marketo') > 1) {\n // thisLinkElement.remove();\n // }\n }); \n // and the inline styles\n var marketoForms =\n $(\n \"[id*='mktoForm']\");\n marketoForms.each(\n function() {\n $(this)\n .find(\n 'style'\n )\n .remove();\n }); \n //and the style attributes\n marketoForms.each(\n function() {\n $(this)\n .find(\n '[style]'\n )\n .removeAttr(\n 'style'\n );\n });\n }\n}; //the document ready function\n\n \nfunction init() {\n console.log('Element has loaded!');\n \n \n // create formpop up element \n // var feToast = document.createElement('div');\n // feToast.setAttribute('class', 'form');\n // feToast.setAttribute('id', 'form');\n // feToast.innerHTML = form;\n \n \n // document.body.appendChild(feToast);\n var placement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader.header--overlay\");\nplacement.insertAdjacentHTML('beforeend', form);\n \n FEHelper.waitforMarketo(function () {\n //load mktoForm_3101 form\n MktoForms2.loadForm('//your.fitchratings.com', '732-CKH-767', 3101);\n modifyMarketoForm._removeMarketoCSS();\n MktoForms2.whenReady(function (form) {\n modifyMarketoForm._removeMarketoCSS();\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n var element = document.getElementById('mktoForm_3101');\n element.style.removeProperty(\"color\");\n element.style.removeProperty(\"width\");\n element.style.removeProperty(\"font-size\");\n element.style.removeProperty(\"font-family\");\n\n form.onSuccess(function (values, followUpUrl) {\n document.querySelector('#mktoForm_3101').style.display = 'none';\n document.querySelector('#confirmDemoForm').style.display = 'block';\n // FEHelper.fePushEvents(\"Newsletter Signup\");\n return false;\n });\n });\n });\n\n document.body.addEventListener('click', function (evt) {\n if (evt.target.className === 'overlay__close' || evt.target.className === 'fas fa-times') {\n var active = document.querySelector(\"#form .overlay-content-wrapper.active\");\n active.classList.remove(\"active\");\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader .overlay__bg\");\n bgplacement.remove();\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.add(\"active--action-bar\");\n headerClass.classList.remove(\"header--inverted\"); \n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.add(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.remove(\"active--search\"); \n\n }\n if (evt.target.id === 'linkto3101') {\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n bgplacement.insertAdjacentHTML('beforeend', formbg);\n\n var active = document.querySelector(\"#form .overlay-content-wrapper\");\n active.classList.add(\"active\");\n\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.remove(\"active--action-bar\");\n headerClass.classList.add(\"header--inverted\"); \n\n\n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.remove(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.add(\"active--search\"); \n\n }\n}, false);\n\n\n// create toaster element \nvar feToast = document.createElement('div');\nfeToast.setAttribute('class', 'fe-toaster');\nfeToast.setAttribute('id', 'fe-toaster');\nfeToast.innerHTML = feToaster;\n\ndocument.body.appendChild(feToast);\n\n//toaster toggle event added\nFEHelper.live('span.fe-arrow-close', 'click', function () {\ndocument.querySelector('.fe-toaster').classList.toggle('fe-toster-close');\n});\n\n \n };\n\n function removeScripts () {\n\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n };\n \n \n \n onLoadElement(\"body header\", init, 50, 10000);\n onLoadElement(\"body head mktoForms2BaseStyle\", removeScripts, 50, 10000);","lastChanged":"\"2021-10-08T14:12:01.676Z\"","selector":"body"}],"selector":"body"}]},"campaign":"61600f94725290f773b294b6","slug":"V4703414","sourceId":"V4703414","createdAt":"2021-10-08T09:29:56.819Z","updatedAt":"2021-10-08T14:21:06.051Z","id":"61600f94725290f773b294b8"},{"organization":"5c19de5ca98def372590dc5f","redirectUrl":"","name":"Pop-up v1 - colour","campaignType":"visual","isArchived":false,"isBaselineVariation":false,"redirectCode":false,"customCSS":"html body .fe-toaster {\n position: fixed;\n width: 382px;\n bottom: 20px;\n right: 0px;\n z-index: 9999;\n /* max-height: 0px; */\n}\n\nhtml body .fe-bottom-toster {\n background: #CC0033;\n padding: 20px 25px;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n position: relative;\n}\n\nhtml body .fe-bottom-toster h2, \nhtml body .fe-bottom-toster p, \nhtml body .fe-bottom-toster a {\n color: #fff;\n}\n\nhtml body h2.fe-toster-heading {\n font-size: 31px;\n line-height: 1.2;\n}\n\nhtml body p.fe-toster-subheading {\n font-size: 15px;\n padding-right: 10px;\n}\n\nhtml body span.fe-arrow-close {\n position: absolute;\n width: 35px;\n height: 25px;\n background: #CC0033;\n top: -24px;\n right: 0px;\n cursor: pointer;\n}\n\nhtml body span.fe-arrow-close:after {\n position: absolute;\n border-top: 9px solid #fff;\n border-right: 9px solid transparent;\n border-left: 9px solid transparent;\n border-bottom: none;\n content: '';\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\nhtml body p.fe-toster-top svg {\n // width: 126px !important;\n display: none;\n}\n\nhtml body p.fe-toster-top .logo--color-2,\nhtml body p.fe-toster-top .logo--color-1 {\n fill: #fff;\n}\n\nhtml body .fe-bottom-toster a {\n text-transform: uppercase;\n color: #000;\n background: #fff;\n font-size: 13px;\n font-weight: bold;\n padding: 10px 20px;\n border-radius: 4px;\n display: inline-block;\n margin-bottom: 30px;\n font-family: Lato, arial, sans-serif;\n}\n\nhtml body .fe-toaster.fe-toster-close {\n transform: translateY(360px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\nhtml body .fe-toaster {\n transform: translateY(0px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\n\n#form.form .overlay-content-wrapper {\n display: none;\n}\n\n#form.form .overlay-content-wrapper.active {\n display: block;\n}","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"function onLoadElement(selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (document && document.querySelectorAll(selector) && document.querySelectorAll(selector).length > 0) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n };\n \n \n var FEHelper = {\n onLoadDataLayer: function (trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (window && window.dataLayer && window.DataLayerHelper\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n },\n after: function (reference_selector, htmlString) {\n var reference_element = document.querySelectorAll(reference_selector);\n for (var i = 0; i < reference_element.length; i++) {\n reference_element[i].insertAdjacentHTML(\"afterend\", htmlString);\n }\n },\n waitforMarketo: function (trigger) {\n var interval = setInterval(function () {\n if (\n window.MktoForms2\n ) {\n clearInterval(interval);\n trigger();\n }\n }, 50);\n setTimeout(function () {\n clearInterval(interval);\n }, 10000);\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 setCookie: function (name, value, days) {\n var expires = \"\";\n if (days) {\n var date = new Date();\n date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));\n expires = \"; expires=\" + date.toUTCString();\n }\n document.cookie = name + \"=\" + (value || \"\") + expires + \"; path=/\";\n },\n 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 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 }\n }, 30);\n setTimeout(function () {\n clearInterval(waitForFunnelEnvy);\n }, 8000);\n }\n };\n \n \n //pop up form\n var form = \n '
'+\n '
'+\n '
'+\n '
' +\n '
'+\n '

Thank you for your request. You will receive an email shortly.

'+\n '

Thank you. Check your email for details on your request.

'+\n '
'+\n '
'+\n '
'\n ;\n\n //bottom toaster\n var feToaster = '' +\n '
' +\n ' ' +\n '

' +\n '

Agrega color a la imagen

' +\n '

Reciba nuestro boletín gratuito para saber más sobre los eventos que afectan a los mercados de capitales.

' +\n ' Suscríbase' +\n '
';\n\n var formbg = '
';\n\n // function to modify and style according to design all Marketo forms\nvar modifyMarketoForm = {\n init: function() {\n var self = this; \n // custom event 'mktoFormLoaded' is invoked when forms are loaded\n $(document).on(\n 'mktoFormLoaded',\n function() {\n self\n ._removeMarketoCSS();\n });\n },\n _removeMarketoCSS: function() {\n // remove the external stylesheets var\n links = window.document.getElementsByTagName('link');\n $(links).each( function() {\n var thisLinkElement = $(this);\n var thisLinkURL = thisLinkElement.attr('href');\n // if (thisLinkURL.indexOf('marketo') > 1) {\n // thisLinkElement.remove();\n // }\n }); \n // and the inline styles\n var marketoForms =\n $(\n \"[id*='mktoForm']\");\n marketoForms.each(\n function() {\n $(this)\n .find(\n 'style'\n )\n .remove();\n }); \n //and the style attributes\n marketoForms.each(\n function() {\n $(this)\n .find(\n '[style]'\n )\n .removeAttr(\n 'style'\n );\n });\n }\n}; //the document ready function\n\n \nfunction init() {\n console.log('Element has loaded!');\n \n \n // create formpop up element \n // var feToast = document.createElement('div');\n // feToast.setAttribute('class', 'form');\n // feToast.setAttribute('id', 'form');\n // feToast.innerHTML = form;\n \n \n // document.body.appendChild(feToast);\n var placement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader.header--overlay\");\nplacement.insertAdjacentHTML('beforeend', form);\n \n FEHelper.waitforMarketo(function () {\n //load mktoForm_3101 form\n MktoForms2.loadForm('//your.fitchratings.com', '732-CKH-767', 3101);\n modifyMarketoForm._removeMarketoCSS();\n MktoForms2.whenReady(function (form) {\n modifyMarketoForm._removeMarketoCSS();\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n var element = document.getElementById('mktoForm_3101');\n element.style.removeProperty(\"color\");\n element.style.removeProperty(\"width\");\n element.style.removeProperty(\"font-size\");\n element.style.removeProperty(\"font-family\");\n\n form.onSuccess(function (values, followUpUrl) {\n document.querySelector('#mktoForm_3101').style.display = 'none';\n document.querySelector('#confirmDemoForm').style.display = 'block';\n // FEHelper.fePushEvents(\"Newsletter Signup\");\n return false;\n });\n });\n });\n\n document.body.addEventListener('click', function (evt) {\n if (evt.target.className === 'overlay__close' || evt.target.className === 'fas fa-times') {\n var active = document.querySelector(\"#form .overlay-content-wrapper.active\");\n active.classList.remove(\"active\");\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader .overlay__bg\");\n bgplacement.remove();\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.add(\"active--action-bar\");\n headerClass.classList.remove(\"header--inverted\"); \n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.add(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.remove(\"active--search\"); \n\n }\n if (evt.target.id === 'linkto3101') {\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n bgplacement.insertAdjacentHTML('beforeend', formbg);\n\n var active = document.querySelector(\"#form .overlay-content-wrapper\");\n active.classList.add(\"active\");\n\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.remove(\"active--action-bar\");\n headerClass.classList.add(\"header--inverted\"); \n\n\n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.remove(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.add(\"active--search\"); \n\n }\n}, false);\n\n\n// create toaster element \nvar feToast = document.createElement('div');\nfeToast.setAttribute('class', 'fe-toaster');\nfeToast.setAttribute('id', 'fe-toaster');\nfeToast.innerHTML = feToaster;\n\ndocument.body.appendChild(feToast);\n\n//toaster toggle event added\nFEHelper.live('span.fe-arrow-close', 'click', function () {\ndocument.querySelector('.fe-toaster').classList.toggle('fe-toster-close');\n});\n\n \n };\n\n function removeScripts () {\n\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n };\n \n \n \n onLoadElement(\"body header\", init, 50, 10000);\n onLoadElement(\"body head mktoForms2BaseStyle\", removeScripts, 50, 10000);","lastChanged":"\"2021-10-08T14:13:12.764Z\"","selector":"body"}],"selector":"body"}]},"campaign":"61600f94725290f773b294b6","slug":"V4168554","sourceId":"V4168554","createdAt":"2021-10-08T09:29:56.823Z","updatedAt":"2021-10-08T14:21:06.051Z","id":"61600f94725290f773b294b9"}],"organization":"5c19de5ca98def372590dc5f","holdbackVariation":null,"activeExperiment":null,"audience":null,"holdback":100,"holdbackMode":"random","trafficAllocation":100,"predictVariations":false,"decisionMode":"A/B/n Test","name":"LP MK 21 Oct Emerging Markets Pop-up on /chile","description":"Pop-up on /chile","editorUrl":"https://www.fitchratings.com/es/region/chile","persistentDecisions":true,"source":"visual","sourceId":"C1098510","isArchived":false,"createdAt":"2021-09-13T09:48:24.890Z","updatedAt":"2021-10-08T14:21:06.048Z","pageTargets":[{"include":true,"url":"https://www.fitchratings.com/es/region/chile?utm_medium=referral&utm_source=DiarioFinanciero&utm_campaign=ValueProposition&utm_content=LatAm&utm_term=Leaderboard","match":"exact"},{"include":true,"url":"https://www.fitchratings.com/es/region/chile?utm_medium=referral&utm_source=DiarioFinanciero&utm_campaign=ValueProposition&utm_content=LatAm&utm_term=EmailBlast","match":"exact"},{"include":true,"url":"https://www.fitchratings.com/es/region/chile?utm_medium=referral&utm_source=DiarioFinanciero&utm_campaign=ValueProposition&utm_content=LatAm&utm_term=Newsletter","match":"exact"}],"customJavascript":[],"slug":"C1098510","status":"running","runningFrom":"2021-10-08T14:21:06.004Z","id":"61600f94725290f773b294b6"},{"variations":[{"isBaselineVariation":true,"name":"Baseline variation","organization":"5c19de5ca98def372590dc5f","campaign":"61601044f1f349b8358501de","description":"","isArchived":true,"slug":"V127119644","sourceId":"V127119644","redirectUrl":"","redirectCode":false,"campaignType":"","createdAt":"2021-10-08T09:32:52.078Z","updatedAt":"2021-10-08T14:20:55.771Z","id":"61601044f1f349b8358501df"},{"organization":"5c19de5ca98def372590dc5f","redirectUrl":"","name":"Pop-up v1 - colour","campaignType":"visual","isArchived":false,"isBaselineVariation":false,"redirectCode":false,"customCSS":"html body .fe-toaster {\n position: fixed;\n width: 382px;\n bottom: 20px;\n right: 0px;\n z-index: 9999;\n /* max-height: 0px; */\n}\n\nhtml body .fe-bottom-toster {\n background: #CC0033;\n padding: 20px 25px;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n position: relative;\n}\n\nhtml body .fe-bottom-toster h2, \nhtml body .fe-bottom-toster p, \nhtml body .fe-bottom-toster a {\n color: #fff;\n}\n\nhtml body h2.fe-toster-heading {\n font-size: 31px;\n line-height: 1.2;\n}\n\nhtml body p.fe-toster-subheading {\n font-size: 15px;\n padding-right: 10px;\n}\n\nhtml body span.fe-arrow-close {\n position: absolute;\n width: 35px;\n height: 25px;\n background: #CC0033;\n top: -24px;\n right: 0px;\n cursor: pointer;\n}\n\nhtml body span.fe-arrow-close:after {\n position: absolute;\n border-top: 9px solid #fff;\n border-right: 9px solid transparent;\n border-left: 9px solid transparent;\n border-bottom: none;\n content: '';\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\nhtml body p.fe-toster-top svg {\n // width: 126px !important;\n display: none;\n}\n\nhtml body p.fe-toster-top .logo--color-2,\nhtml body p.fe-toster-top .logo--color-1 {\n fill: #fff;\n}\n\nhtml body .fe-bottom-toster a {\n text-transform: uppercase;\n color: #000;\n background: #fff;\n font-size: 13px;\n font-weight: bold;\n padding: 10px 20px;\n border-radius: 4px;\n display: inline-block;\n margin-bottom: 30px;\n font-family: Lato, arial, sans-serif;\n}\n\nhtml body .fe-toaster.fe-toster-close {\n transform: translateY(360px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\nhtml body .fe-toaster {\n transform: translateY(0px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\n\n#form.form .overlay-content-wrapper {\n display: none;\n}\n\n#form.form .overlay-content-wrapper.active {\n display: block;\n}","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"function onLoadElement(selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (document && document.querySelectorAll(selector) && document.querySelectorAll(selector).length > 0) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n };\n \n \n var FEHelper = {\n onLoadDataLayer: function (trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (window && window.dataLayer && window.DataLayerHelper\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n },\n after: function (reference_selector, htmlString) {\n var reference_element = document.querySelectorAll(reference_selector);\n for (var i = 0; i < reference_element.length; i++) {\n reference_element[i].insertAdjacentHTML(\"afterend\", htmlString);\n }\n },\n waitforMarketo: function (trigger) {\n var interval = setInterval(function () {\n if (\n window.MktoForms2\n ) {\n clearInterval(interval);\n trigger();\n }\n }, 50);\n setTimeout(function () {\n clearInterval(interval);\n }, 10000);\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 setCookie: function (name, value, days) {\n var expires = \"\";\n if (days) {\n var date = new Date();\n date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));\n expires = \"; expires=\" + date.toUTCString();\n }\n document.cookie = name + \"=\" + (value || \"\") + expires + \"; path=/\";\n },\n 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 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 }\n }, 30);\n setTimeout(function () {\n clearInterval(waitForFunnelEnvy);\n }, 8000);\n }\n };\n \n \n //pop up form\n var form = \n '
'+\n '
'+\n '
'+\n '
' +\n '
'+\n '

Thank you for your request. You will receive an email shortly.

'+\n '

Thank you. Check your email for details on your request.

'+\n '
'+\n '
'+\n '
'\n ;\n\n //bottom toaster\n var feToaster = '' +\n '
' +\n ' ' +\n '

' +\n '

Agrega color a la imagen

' +\n '

Reciba nuestro boletín gratuito para saber más sobre los eventos que afectan a los mercados de capitales.

' +\n ' Suscríbase' +\n '
';\n\n var formbg = '
';\n\n // function to modify and style according to design all Marketo forms\nvar modifyMarketoForm = {\n init: function() {\n var self = this; \n // custom event 'mktoFormLoaded' is invoked when forms are loaded\n $(document).on(\n 'mktoFormLoaded',\n function() {\n self\n ._removeMarketoCSS();\n });\n },\n _removeMarketoCSS: function() {\n // remove the external stylesheets var\n links = window.document.getElementsByTagName('link');\n $(links).each( function() {\n var thisLinkElement = $(this);\n var thisLinkURL = thisLinkElement.attr('href');\n // if (thisLinkURL.indexOf('marketo') > 1) {\n // thisLinkElement.remove();\n // }\n }); \n // and the inline styles\n var marketoForms =\n $(\n \"[id*='mktoForm']\");\n marketoForms.each(\n function() {\n $(this)\n .find(\n 'style'\n )\n .remove();\n }); \n //and the style attributes\n marketoForms.each(\n function() {\n $(this)\n .find(\n '[style]'\n )\n .removeAttr(\n 'style'\n );\n });\n }\n}; //the document ready function\n\n \nfunction init() {\n console.log('Element has loaded!');\n \n \n // create formpop up element \n // var feToast = document.createElement('div');\n // feToast.setAttribute('class', 'form');\n // feToast.setAttribute('id', 'form');\n // feToast.innerHTML = form;\n \n \n // document.body.appendChild(feToast);\n var placement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader.header--overlay\");\nplacement.insertAdjacentHTML('beforeend', form);\n \n FEHelper.waitforMarketo(function () {\n //load mktoForm_3101 form\n MktoForms2.loadForm('//your.fitchratings.com', '732-CKH-767', 3101);\n modifyMarketoForm._removeMarketoCSS();\n MktoForms2.whenReady(function (form) {\n modifyMarketoForm._removeMarketoCSS();\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n var element = document.getElementById('mktoForm_3101');\n element.style.removeProperty(\"color\");\n element.style.removeProperty(\"width\");\n element.style.removeProperty(\"font-size\");\n element.style.removeProperty(\"font-family\");\n\n form.onSuccess(function (values, followUpUrl) {\n document.querySelector('#mktoForm_3101').style.display = 'none';\n document.querySelector('#confirmDemoForm').style.display = 'block';\n // FEHelper.fePushEvents(\"Newsletter Signup\");\n return false;\n });\n });\n });\n\n document.body.addEventListener('click', function (evt) {\n if (evt.target.className === 'overlay__close' || evt.target.className === 'fas fa-times') {\n var active = document.querySelector(\"#form .overlay-content-wrapper.active\");\n active.classList.remove(\"active\");\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader .overlay__bg\");\n bgplacement.remove();\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.add(\"active--action-bar\");\n headerClass.classList.remove(\"header--inverted\"); \n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.add(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.remove(\"active--search\"); \n\n }\n if (evt.target.id === 'linkto3101') {\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n bgplacement.insertAdjacentHTML('beforeend', formbg);\n\n var active = document.querySelector(\"#form .overlay-content-wrapper\");\n active.classList.add(\"active\");\n\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.remove(\"active--action-bar\");\n headerClass.classList.add(\"header--inverted\"); \n\n\n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.remove(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.add(\"active--search\"); \n\n }\n}, false);\n\n\n// create toaster element \nvar feToast = document.createElement('div');\nfeToast.setAttribute('class', 'fe-toaster');\nfeToast.setAttribute('id', 'fe-toaster');\nfeToast.innerHTML = feToaster;\n\ndocument.body.appendChild(feToast);\n\n//toaster toggle event added\nFEHelper.live('span.fe-arrow-close', 'click', function () {\ndocument.querySelector('.fe-toaster').classList.toggle('fe-toster-close');\n});\n\n \n };\n\n function removeScripts () {\n\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n };\n \n \n \n onLoadElement(\"body header\", init, 50, 10000);\n onLoadElement(\"body head mktoForms2BaseStyle\", removeScripts, 50, 10000);","lastChanged":"\"2021-10-15T14:43:10.991Z\""}],"selector":"body"}]},"campaign":"61601044f1f349b8358501de","slug":"V41685541","sourceId":"V41685541","createdAt":"2021-10-08T09:32:52.292Z","updatedAt":"2021-10-15T14:43:12.325Z","id":"61601044f1f349b8358501e0"},{"organization":"5c19de5ca98def372590dc5f","expectedGoal":"60abd077811f82596729a235","redirectUrl":"","name":"Pop-up v2 - perspectives","campaignType":"visual","isArchived":false,"isBaselineVariation":false,"redirectCode":false,"customCSS":"html body .fe-toaster {\n position: fixed;\n width: 382px;\n bottom: 20px;\n right: 0px;\n z-index: 9999;\n /* max-height: 0px; */\n}\n\nhtml body .fe-bottom-toster {\n background: #CC0033;\n padding: 20px 25px;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n position: relative;\n}\n\nhtml body .fe-bottom-toster h2, \nhtml body .fe-bottom-toster p, \nhtml body .fe-bottom-toster a {\n color: #fff;\n}\n\nhtml body h2.fe-toster-heading {\n font-size: 31px;\n line-height: 1.2;\n}\n\nhtml body p.fe-toster-subheading {\n font-size: 15px;\n padding-right: 10px;\n}\n\nhtml body span.fe-arrow-close {\n position: absolute;\n width: 35px;\n height: 25px;\n background: #CC0033;\n top: -24px;\n right: 0px;\n cursor: pointer;\n}\n\nhtml body span.fe-arrow-close:after {\n position: absolute;\n border-top: 9px solid #fff;\n border-right: 9px solid transparent;\n border-left: 9px solid transparent;\n border-bottom: none;\n content: '';\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\nhtml body p.fe-toster-top svg {\n // width: 126px !important;\n display: none;\n}\n\nhtml body p.fe-toster-top .logo--color-2,\nhtml body p.fe-toster-top .logo--color-1 {\n fill: #fff;\n}\n\nhtml body .fe-bottom-toster a {\n text-transform: uppercase;\n color: #000;\n background: #fff;\n font-size: 13px;\n font-weight: bold;\n padding: 10px 20px;\n border-radius: 4px;\n display: inline-block;\n margin-bottom: 30px;\n font-family: Lato, arial, sans-serif;\n}\n\nhtml body .fe-toaster.fe-toster-close {\n transform: translateY(360px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\nhtml body .fe-toaster {\n transform: translateY(0px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\n\n#form.form .overlay-content-wrapper {\n display: none;\n}\n\n#form.form .overlay-content-wrapper.active {\n display: block;\n}","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"function onLoadElement(selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (document && document.querySelectorAll(selector) && document.querySelectorAll(selector).length > 0) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n };\n \n \n var FEHelper = {\n onLoadDataLayer: function (trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (window && window.dataLayer && window.DataLayerHelper\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n },\n after: function (reference_selector, htmlString) {\n var reference_element = document.querySelectorAll(reference_selector);\n for (var i = 0; i < reference_element.length; i++) {\n reference_element[i].insertAdjacentHTML(\"afterend\", htmlString);\n }\n },\n waitforMarketo: function (trigger) {\n var interval = setInterval(function () {\n if (\n window.MktoForms2\n ) {\n clearInterval(interval);\n trigger();\n }\n }, 50);\n setTimeout(function () {\n clearInterval(interval);\n }, 10000);\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 setCookie: function (name, value, days) {\n var expires = \"\";\n if (days) {\n var date = new Date();\n date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));\n expires = \"; expires=\" + date.toUTCString();\n }\n document.cookie = name + \"=\" + (value || \"\") + expires + \"; path=/\";\n },\n 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 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 }\n }, 30);\n setTimeout(function () {\n clearInterval(waitForFunnelEnvy);\n }, 8000);\n }\n };\n \n \n //pop up form\n var form = \n '
'+\n '
'+\n '
'+\n '
' +\n '
'+\n '

Thank you for your request. You will receive an email shortly.

'+\n '

Thank you. Check your email for details on your request.

'+\n '
'+\n '
'+\n '
'\n ;\n\n //bottom toaster\n var feToaster = '' +\n '
' +\n ' ' +\n '

' +\n '

Un amplia gama de perspectivas para los mercados más complejos

' +\n '

Reciba nuestro boletín gratuito para saber más sobre los eventos que afectan a los mercados de capitales.

' +\n ' Suscríbase' +\n '
';\n\n var formbg = '
';\n\n // function to modify and style according to design all Marketo forms\nvar modifyMarketoForm = {\n init: function() {\n var self = this; \n // custom event 'mktoFormLoaded' is invoked when forms are loaded\n $(document).on(\n 'mktoFormLoaded',\n function() {\n self\n ._removeMarketoCSS();\n });\n },\n _removeMarketoCSS: function() {\n // remove the external stylesheets var\n links = window.document.getElementsByTagName('link');\n $(links).each( function() {\n var thisLinkElement = $(this);\n var thisLinkURL = thisLinkElement.attr('href');\n // if (thisLinkURL.indexOf('marketo') > 1) {\n // thisLinkElement.remove();\n // }\n }); \n // and the inline styles\n var marketoForms =\n $(\n \"[id*='mktoForm']\");\n marketoForms.each(\n function() {\n $(this)\n .find(\n 'style'\n )\n .remove();\n }); \n //and the style attributes\n marketoForms.each(\n function() {\n $(this)\n .find(\n '[style]'\n )\n .removeAttr(\n 'style'\n );\n });\n }\n}; //the document ready function\n\n \nfunction init() {\n console.log('Element has loaded!');\n \n \n // create formpop up element \n // var feToast = document.createElement('div');\n // feToast.setAttribute('class', 'form');\n // feToast.setAttribute('id', 'form');\n // feToast.innerHTML = form;\n \n \n // document.body.appendChild(feToast);\n var placement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader.header--overlay\");\nplacement.insertAdjacentHTML('beforeend', form);\n \n FEHelper.waitforMarketo(function () {\n //load mktoForm_3101 form\n MktoForms2.loadForm('//your.fitchratings.com', '732-CKH-767', 3101);\n modifyMarketoForm._removeMarketoCSS();\n MktoForms2.whenReady(function (form) {\n modifyMarketoForm._removeMarketoCSS();\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n var element = document.getElementById('mktoForm_3101');\n element.style.removeProperty(\"color\");\n element.style.removeProperty(\"width\");\n element.style.removeProperty(\"font-size\");\n element.style.removeProperty(\"font-family\");\n\n form.onSuccess(function (values, followUpUrl) {\n document.querySelector('#mktoForm_3101').style.display = 'none';\n document.querySelector('#confirmDemoForm').style.display = 'block';\n // FEHelper.fePushEvents(\"Newsletter Signup\");\n return false;\n });\n });\n });\n\n document.body.addEventListener('click', function (evt) {\n if (evt.target.className === 'overlay__close' || evt.target.className === 'fas fa-times') {\n var active = document.querySelector(\"#form .overlay-content-wrapper.active\");\n active.classList.remove(\"active\");\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader .overlay__bg\");\n bgplacement.remove();\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.add(\"active--action-bar\");\n headerClass.classList.remove(\"header--inverted\"); \n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.add(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.remove(\"active--search\"); \n\n }\n if (evt.target.id === 'linkto3101') {\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n bgplacement.insertAdjacentHTML('beforeend', formbg);\n\n var active = document.querySelector(\"#form .overlay-content-wrapper\");\n active.classList.add(\"active\");\n\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.remove(\"active--action-bar\");\n headerClass.classList.add(\"header--inverted\"); \n\n\n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.remove(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.add(\"active--search\"); \n\n }\n}, false);\n\n\n// create toaster element \nvar feToast = document.createElement('div');\nfeToast.setAttribute('class', 'fe-toaster');\nfeToast.setAttribute('id', 'fe-toaster');\nfeToast.innerHTML = feToaster;\n\ndocument.body.appendChild(feToast);\n\n//toaster toggle event added\nFEHelper.live('span.fe-arrow-close', 'click', function () {\ndocument.querySelector('.fe-toaster').classList.toggle('fe-toster-close');\n});\n\n \n };\n\n function removeScripts () {\n\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n };\n \n \n \n onLoadElement(\"body header\", init, 50, 10000);\n onLoadElement(\"body head mktoForms2BaseStyle\", removeScripts, 50, 10000);","lastChanged":"\"2021-10-08T08:24:10.813Z\"","selector":"body"}],"selector":"body"}]},"campaign":"61601044f1f349b8358501de","slug":"V47034141","sourceId":"V47034141","createdAt":"2021-10-08T09:32:52.354Z","updatedAt":"2021-10-08T14:20:55.771Z","id":"61601044f1f349b8358501e1"}],"organization":"5c19de5ca98def372590dc5f","holdbackVariation":null,"activeExperiment":null,"audience":null,"holdback":100,"holdbackMode":"random","trafficAllocation":100,"predictVariations":false,"decisionMode":"A/B/n Test","name":"LP MK 21 Oct Emerging Markets Pop-up on /colombia","description":"Pop-up on /colombia","editorUrl":"https://www.fitchratings.com/es/region/colombia","persistentDecisions":true,"source":"visual","sourceId":"C7866880","isArchived":false,"createdAt":"2021-09-13T09:48:24.890Z","updatedAt":"2021-10-08T14:20:55.768Z","pageTargets":[{"include":true,"url":"https://www.fitchratings.com/es/region/colombia?utm_medium=referral&utm_source=Dinero&utm_campaign=ValueProposition&utm_content=LatAm&utm_term=300x250","match":"exact"},{"include":true,"url":"https://www.fitchratings.com/es/region/colombia?utm_medium=referral&utm_source=Dinero&utm_campaign=ValueProposition&utm_content=LatAm&utm_term=260x300","match":"exact"},{"include":true,"url":"https://www.fitchratings.com/es/region/colombia?utm_medium=referral&utm_source=Dinero&utm_campaign=ValueProposition&utm_content=LatAm&utm_term=1000x30","match":"exact"}],"customJavascript":[],"slug":"C7866880","status":"running","runningFrom":"2021-10-08T14:20:55.732Z","id":"61601044f1f349b8358501de"},{"variations":[{"isBaselineVariation":true,"name":"Baseline variation","organization":"5c19de5ca98def372590dc5f","campaign":"617becb310674573399d668d","description":"","isArchived":true,"slug":"V127119646","sourceId":"V127119646","redirectUrl":"","redirectCode":false,"campaignType":"","createdAt":"2021-10-29T12:44:35.359Z","updatedAt":"2021-10-29T12:51:45.712Z","id":"617becb310674573399d668e"},{"organization":"5c19de5ca98def372590dc5f","expectedGoal":"60abd077811f82596729a235","redirectUrl":"","name":"Pop-up","campaignType":"visual","isArchived":false,"isBaselineVariation":false,"redirectCode":false,"customCSS":"html body .fe-toaster {\n position: fixed;\n width: 382px;\n bottom: 20px;\n right: 0px;\n z-index: 9999;\n /* max-height: 0px; */\n}\n\nhtml body .fe-bottom-toster {\n background: #CC0033;\n padding: 20px 25px;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n position: relative;\n}\n\nhtml body .fe-bottom-toster h2, \nhtml body .fe-bottom-toster p, \nhtml body .fe-bottom-toster a {\n color: #fff;\n}\n\nhtml body h2.fe-toster-heading {\n font-size: 31px;\n line-height: 1.2;\n}\n\nhtml body p.fe-toster-subheading {\n font-size: 15px;\n padding-right: 10px;\n}\n\nhtml body span.fe-arrow-close {\n position: absolute;\n width: 35px;\n height: 25px;\n background: #CC0033;\n top: -24px;\n right: 0px;\n cursor: pointer;\n}\n\nhtml body span.fe-arrow-close:after {\n position: absolute;\n border-top: 9px solid #fff;\n border-right: 9px solid transparent;\n border-left: 9px solid transparent;\n border-bottom: none;\n content: '';\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\nhtml body p.fe-toster-top svg {\n // width: 126px !important;\n display: none;\n}\n\nhtml body p.fe-toster-top .logo--color-2,\nhtml body p.fe-toster-top .logo--color-1 {\n fill: #fff;\n}\n\nhtml body .fe-bottom-toster a {\n text-transform: uppercase;\n color: #000;\n background: #fff;\n font-size: 13px;\n font-weight: bold;\n padding: 10px 20px;\n border-radius: 4px;\n display: inline-block;\n margin-bottom: 30px;\n font-family: Lato, arial, sans-serif;\n}\n\nhtml body .fe-toaster.fe-toster-close {\n transform: translateY(360px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\nhtml body .fe-toaster {\n transform: translateY(0px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\n\n#form.form .overlay-content-wrapper {\n display: none;\n}\n\n#form.form .overlay-content-wrapper.active {\n display: block;\n}","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"function onLoadElement(selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (document && document.querySelectorAll(selector) && document.querySelectorAll(selector).length > 0) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n };\n \n \n var FEHelper = {\n onLoadDataLayer: function (trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (window && window.dataLayer && window.DataLayerHelper\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n },\n after: function (reference_selector, htmlString) {\n var reference_element = document.querySelectorAll(reference_selector);\n for (var i = 0; i < reference_element.length; i++) {\n reference_element[i].insertAdjacentHTML(\"afterend\", htmlString);\n }\n },\n waitforMarketo: function (trigger) {\n var interval = setInterval(function () {\n if (\n window.MktoForms2\n ) {\n clearInterval(interval);\n trigger();\n }\n }, 50);\n setTimeout(function () {\n clearInterval(interval);\n }, 10000);\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 setCookie: function (name, value, days) {\n var expires = \"\";\n if (days) {\n var date = new Date();\n date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));\n expires = \"; expires=\" + date.toUTCString();\n }\n document.cookie = name + \"=\" + (value || \"\") + expires + \"; path=/\";\n },\n 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 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 }\n }, 30);\n setTimeout(function () {\n clearInterval(waitForFunnelEnvy);\n }, 8000);\n }\n };\n \n \n //pop up form\n var form = \n '
'+\n '
'+\n '
'+\n '
' +\n '
'+\n '

Thank you for your request. You will receive an email shortly.

'+\n '

Thank you. Check your email for details on your request.

'+\n '
'+\n '
'+\n '
'\n ;\n\n //bottom toaster\n var feToaster = '' +\n '
' +\n ' ' +\n '

' +\n '

Nos alegramos ser parte del evento más importante del sector - Asobancaria

' +\n '

Aprovechamos para invitarlos a suscribirse en nuestro Newsletter dedicado a los Emerging Markets.

' +\n ' Suscríbase' +\n '
';\n\n var formbg = '
';\n\n // function to modify and style according to design all Marketo forms\nvar modifyMarketoForm = {\n init: function() {\n var self = this; \n // custom event 'mktoFormLoaded' is invoked when forms are loaded\n $(document).on(\n 'mktoFormLoaded',\n function() {\n self\n ._removeMarketoCSS();\n });\n },\n _removeMarketoCSS: function() {\n // remove the external stylesheets var\n links = window.document.getElementsByTagName('link');\n $(links).each( function() {\n var thisLinkElement = $(this);\n var thisLinkURL = thisLinkElement.attr('href');\n // if (thisLinkURL.indexOf('marketo') > 1) {\n // thisLinkElement.remove();\n // }\n }); \n // and the inline styles\n var marketoForms =\n $(\n \"[id*='mktoForm']\");\n marketoForms.each(\n function() {\n $(this)\n .find(\n 'style'\n )\n .remove();\n }); \n //and the style attributes\n marketoForms.each(\n function() {\n $(this)\n .find(\n '[style]'\n )\n .removeAttr(\n 'style'\n );\n });\n }\n}; //the document ready function\n\n \nfunction init() {\n console.log('Element has loaded!');\n \n \n // create formpop up element \n // var feToast = document.createElement('div');\n // feToast.setAttribute('class', 'form');\n // feToast.setAttribute('id', 'form');\n // feToast.innerHTML = form;\n \n \n // document.body.appendChild(feToast);\n var placement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader.header--overlay\");\nplacement.insertAdjacentHTML('beforeend', form);\n \n FEHelper.waitforMarketo(function () {\n //load mktoForm_3101 form\n MktoForms2.loadForm('//your.fitchratings.com', '732-CKH-767', 3101);\n modifyMarketoForm._removeMarketoCSS();\n MktoForms2.whenReady(function (form) {\n modifyMarketoForm._removeMarketoCSS();\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n var element = document.getElementById('mktoForm_3101');\n element.style.removeProperty(\"color\");\n element.style.removeProperty(\"width\");\n element.style.removeProperty(\"font-size\");\n element.style.removeProperty(\"font-family\");\n\n form.onSuccess(function (values, followUpUrl) {\n document.querySelector('#mktoForm_3101').style.display = 'none';\n document.querySelector('#confirmDemoForm').style.display = 'block';\n // FEHelper.fePushEvents(\"Newsletter Signup\");\n return false;\n });\n });\n });\n\n document.body.addEventListener('click', function (evt) {\n if (evt.target.className === 'overlay__close' || evt.target.className === 'fas fa-times') {\n var active = document.querySelector(\"#form .overlay-content-wrapper.active\");\n active.classList.remove(\"active\");\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader .overlay__bg\");\n bgplacement.remove();\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.add(\"active--action-bar\");\n headerClass.classList.remove(\"header--inverted\"); \n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.add(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.remove(\"active--search\"); \n\n }\n if (evt.target.id === 'linkto3101') {\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n bgplacement.insertAdjacentHTML('beforeend', formbg);\n\n var active = document.querySelector(\"#form .overlay-content-wrapper\");\n active.classList.add(\"active\");\n\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.remove(\"active--action-bar\");\n headerClass.classList.add(\"header--inverted\"); \n\n\n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.remove(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.add(\"active--search\"); \n\n }\n}, false);\n\n\n// create toaster element \nvar feToast = document.createElement('div');\nfeToast.setAttribute('class', 'fe-toaster');\nfeToast.setAttribute('id', 'fe-toaster');\nfeToast.innerHTML = feToaster;\n\ndocument.body.appendChild(feToast);\n\n//toaster toggle event added\nFEHelper.live('span.fe-arrow-close', 'click', function () {\ndocument.querySelector('.fe-toaster').classList.toggle('fe-toster-close');\n});\n\n \n };\n\n function removeScripts () {\n\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n };\n \n \n \n onLoadElement(\"body header\", init, 50, 10000);\n onLoadElement(\"body head mktoForms2BaseStyle\", removeScripts, 50, 10000);","lastChanged":"\"2021-10-29T12:50:17.377Z\"","selector":"body"}],"selector":"body"}]},"campaign":"617becb310674573399d668d","slug":"V47034142","sourceId":"V47034142","createdAt":"2021-10-29T12:44:35.539Z","updatedAt":"2021-10-29T12:51:45.713Z","id":"617becb310674573399d668f"},{"organization":"5c19de5ca98def372590dc5f","redirectUrl":"","name":"Pop-up v1 - colour","campaignType":"visual","isArchived":true,"isBaselineVariation":false,"redirectCode":false,"customCSS":"html body .fe-toaster {\n position: fixed;\n width: 382px;\n bottom: 20px;\n right: 0px;\n z-index: 9999;\n /* max-height: 0px; */\n}\n\nhtml body .fe-bottom-toster {\n background: #CC0033;\n padding: 20px 25px;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n position: relative;\n}\n\nhtml body .fe-bottom-toster h2, \nhtml body .fe-bottom-toster p, \nhtml body .fe-bottom-toster a {\n color: #fff;\n}\n\nhtml body h2.fe-toster-heading {\n font-size: 31px;\n line-height: 1.2;\n}\n\nhtml body p.fe-toster-subheading {\n font-size: 15px;\n padding-right: 10px;\n}\n\nhtml body span.fe-arrow-close {\n position: absolute;\n width: 35px;\n height: 25px;\n background: #CC0033;\n top: -24px;\n right: 0px;\n cursor: pointer;\n}\n\nhtml body span.fe-arrow-close:after {\n position: absolute;\n border-top: 9px solid #fff;\n border-right: 9px solid transparent;\n border-left: 9px solid transparent;\n border-bottom: none;\n content: '';\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\nhtml body p.fe-toster-top svg {\n // width: 126px !important;\n display: none;\n}\n\nhtml body p.fe-toster-top .logo--color-2,\nhtml body p.fe-toster-top .logo--color-1 {\n fill: #fff;\n}\n\nhtml body .fe-bottom-toster a {\n text-transform: uppercase;\n color: #000;\n background: #fff;\n font-size: 13px;\n font-weight: bold;\n padding: 10px 20px;\n border-radius: 4px;\n display: inline-block;\n margin-bottom: 30px;\n font-family: Lato, arial, sans-serif;\n}\n\nhtml body .fe-toaster.fe-toster-close {\n transform: translateY(360px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\nhtml body .fe-toaster {\n transform: translateY(0px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\n\n#form.form .overlay-content-wrapper {\n display: none;\n}\n\n#form.form .overlay-content-wrapper.active {\n display: block;\n}","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"function onLoadElement(selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (document && document.querySelectorAll(selector) && document.querySelectorAll(selector).length > 0) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n };\n \n \n var FEHelper = {\n onLoadDataLayer: function (trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (window && window.dataLayer && window.DataLayerHelper\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n },\n after: function (reference_selector, htmlString) {\n var reference_element = document.querySelectorAll(reference_selector);\n for (var i = 0; i < reference_element.length; i++) {\n reference_element[i].insertAdjacentHTML(\"afterend\", htmlString);\n }\n },\n waitforMarketo: function (trigger) {\n var interval = setInterval(function () {\n if (\n window.MktoForms2\n ) {\n clearInterval(interval);\n trigger();\n }\n }, 50);\n setTimeout(function () {\n clearInterval(interval);\n }, 10000);\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 setCookie: function (name, value, days) {\n var expires = \"\";\n if (days) {\n var date = new Date();\n date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));\n expires = \"; expires=\" + date.toUTCString();\n }\n document.cookie = name + \"=\" + (value || \"\") + expires + \"; path=/\";\n },\n 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 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 }\n }, 30);\n setTimeout(function () {\n clearInterval(waitForFunnelEnvy);\n }, 8000);\n }\n };\n \n \n //pop up form\n var form = \n '
'+\n '
'+\n '
'+\n '
' +\n '
'+\n '

Thank you for your request. You will receive an email shortly.

'+\n '

Thank you. Check your email for details on your request.

'+\n '
'+\n '
'+\n '
'\n ;\n\n //bottom toaster\n var feToaster = '' +\n '
' +\n ' ' +\n '

' +\n '

Agrega color a la imagen

' +\n '

Reciba nuestro boletín gratuito para saber más sobre los eventos que afectan a los mercados de capitales.

' +\n ' Suscríbase' +\n '
';\n\n var formbg = '
';\n\n // function to modify and style according to design all Marketo forms\nvar modifyMarketoForm = {\n init: function() {\n var self = this; \n // custom event 'mktoFormLoaded' is invoked when forms are loaded\n $(document).on(\n 'mktoFormLoaded',\n function() {\n self\n ._removeMarketoCSS();\n });\n },\n _removeMarketoCSS: function() {\n // remove the external stylesheets var\n links = window.document.getElementsByTagName('link');\n $(links).each( function() {\n var thisLinkElement = $(this);\n var thisLinkURL = thisLinkElement.attr('href');\n // if (thisLinkURL.indexOf('marketo') > 1) {\n // thisLinkElement.remove();\n // }\n }); \n // and the inline styles\n var marketoForms =\n $(\n \"[id*='mktoForm']\");\n marketoForms.each(\n function() {\n $(this)\n .find(\n 'style'\n )\n .remove();\n }); \n //and the style attributes\n marketoForms.each(\n function() {\n $(this)\n .find(\n '[style]'\n )\n .removeAttr(\n 'style'\n );\n });\n }\n}; //the document ready function\n\n \nfunction init() {\n console.log('Element has loaded!');\n \n \n // create formpop up element \n // var feToast = document.createElement('div');\n // feToast.setAttribute('class', 'form');\n // feToast.setAttribute('id', 'form');\n // feToast.innerHTML = form;\n \n \n // document.body.appendChild(feToast);\n var placement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader.header--overlay\");\nplacement.insertAdjacentHTML('beforeend', form);\n \n FEHelper.waitforMarketo(function () {\n //load mktoForm_3101 form\n MktoForms2.loadForm('//your.fitchratings.com', '732-CKH-767', 3101);\n modifyMarketoForm._removeMarketoCSS();\n MktoForms2.whenReady(function (form) {\n modifyMarketoForm._removeMarketoCSS();\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n var element = document.getElementById('mktoForm_3101');\n element.style.removeProperty(\"color\");\n element.style.removeProperty(\"width\");\n element.style.removeProperty(\"font-size\");\n element.style.removeProperty(\"font-family\");\n\n form.onSuccess(function (values, followUpUrl) {\n document.querySelector('#mktoForm_3101').style.display = 'none';\n document.querySelector('#confirmDemoForm').style.display = 'block';\n // FEHelper.fePushEvents(\"Newsletter Signup\");\n return false;\n });\n });\n });\n\n document.body.addEventListener('click', function (evt) {\n if (evt.target.className === 'overlay__close' || evt.target.className === 'fas fa-times') {\n var active = document.querySelector(\"#form .overlay-content-wrapper.active\");\n active.classList.remove(\"active\");\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader .overlay__bg\");\n bgplacement.remove();\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.add(\"active--action-bar\");\n headerClass.classList.remove(\"header--inverted\"); \n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.add(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.remove(\"active--search\"); \n\n }\n if (evt.target.id === 'linkto3101') {\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n bgplacement.insertAdjacentHTML('beforeend', formbg);\n\n var active = document.querySelector(\"#form .overlay-content-wrapper\");\n active.classList.add(\"active\");\n\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.remove(\"active--action-bar\");\n headerClass.classList.add(\"header--inverted\"); \n\n\n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.remove(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.add(\"active--search\"); \n\n }\n}, false);\n\n\n// create toaster element \nvar feToast = document.createElement('div');\nfeToast.setAttribute('class', 'fe-toaster');\nfeToast.setAttribute('id', 'fe-toaster');\nfeToast.innerHTML = feToaster;\n\ndocument.body.appendChild(feToast);\n\n//toaster toggle event added\nFEHelper.live('span.fe-arrow-close', 'click', function () {\ndocument.querySelector('.fe-toaster').classList.toggle('fe-toster-close');\n});\n\n \n };\n\n function removeScripts () {\n\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n };\n \n \n \n onLoadElement(\"body header\", init, 50, 10000);\n onLoadElement(\"body head mktoForms2BaseStyle\", removeScripts, 50, 10000);","lastChanged":"\"2021-10-15T14:43:10.991Z\""}],"selector":"body"}]},"campaign":"617becb310674573399d668d","slug":"V41685542","sourceId":"V41685542","createdAt":"2021-10-29T12:44:35.610Z","updatedAt":"2021-10-29T12:51:45.713Z","id":"617becb310674573399d6690"}],"organization":"5c19de5ca98def372590dc5f","holdbackVariation":null,"activeExperiment":null,"audience":null,"holdback":100,"holdbackMode":"random","trafficAllocation":100,"predictVariations":false,"decisionMode":"A/B/n Test","name":"LP MK 21 Oct Pop-up on /colombia from QR code","description":"Pop-up on /colombia","editorUrl":"https://www.fitchratings.com/es/region/colombia?utm_source=FitchRatings&utm_medium=offline&utm_campaign=LATAM&utm_term=QR_code","persistentDecisions":true,"source":"visual","sourceId":"C5922856","isArchived":false,"createdAt":"2021-09-13T09:48:24.890Z","updatedAt":"2021-10-29T12:55:33.594Z","pageTargets":[{"include":true,"url":"/es/region/colombia?utm_source=FitchRatings&utm_medium=offline&utm_campaign=LATAM&utm_term=QR_code","match":"contains"}],"customJavascript":[],"slug":"C5922856","status":"running","runningFrom":"2021-10-29T12:55:33.541Z","id":"617becb310674573399d668d"},{"variations":[{"isBaselineVariation":true,"name":"Baseline variation","organization":"5c19de5ca98def372590dc5f","campaign":"618bc6774a4d586f0b6ed3d9","description":"","isArchived":true,"slug":"V127119647","sourceId":"V127119647","redirectUrl":"","redirectCode":false,"campaignType":"","createdAt":"2021-11-10T13:17:43.726Z","updatedAt":"2021-11-10T13:19:54.884Z","id":"618bc6774a4d586f0b6ed3da"},{"organization":"5c19de5ca98def372590dc5f","expectedGoal":"60abd077811f82596729a235","redirectUrl":"","name":"Pop-up v1 - perspectives","campaignType":"visual","isArchived":false,"isBaselineVariation":false,"redirectCode":false,"customCSS":"html body .fe-toaster {\n position: fixed;\n width: 382px;\n bottom: 20px;\n right: 0px;\n z-index: 9999;\n /* max-height: 0px; */\n}\n\nhtml body .fe-bottom-toster {\n background: #CC0033;\n padding: 20px 25px;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n position: relative;\n}\n\nhtml body .fe-bottom-toster h2, \nhtml body .fe-bottom-toster p, \nhtml body .fe-bottom-toster a {\n color: #fff;\n}\n\nhtml body h2.fe-toster-heading {\n font-size: 31px;\n line-height: 1.2;\n}\n\nhtml body p.fe-toster-subheading {\n font-size: 15px;\n padding-right: 10px;\n}\n\nhtml body span.fe-arrow-close {\n position: absolute;\n width: 35px;\n height: 25px;\n background: #CC0033;\n top: -24px;\n right: 0px;\n cursor: pointer;\n}\n\nhtml body span.fe-arrow-close:after {\n position: absolute;\n border-top: 9px solid #fff;\n border-right: 9px solid transparent;\n border-left: 9px solid transparent;\n border-bottom: none;\n content: '';\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\nhtml body p.fe-toster-top svg {\n // width: 126px !important;\n display: none;\n}\n\nhtml body p.fe-toster-top .logo--color-2,\nhtml body p.fe-toster-top .logo--color-1 {\n fill: #fff;\n}\n\nhtml body .fe-bottom-toster a {\n text-transform: uppercase;\n color: #000;\n background: #fff;\n font-size: 13px;\n font-weight: bold;\n padding: 10px 20px;\n border-radius: 4px;\n display: inline-block;\n margin-bottom: 30px;\n font-family: Lato, arial, sans-serif;\n}\n\nhtml body .fe-toaster.fe-toster-close {\n transform: translateY(360px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\nhtml body .fe-toaster {\n transform: translateY(0px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\n\n#form.form .overlay-content-wrapper {\n display: none;\n}\n\n#form.form .overlay-content-wrapper.active {\n display: block;\n}","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"function onLoadElement(selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (document && document.querySelectorAll(selector) && document.querySelectorAll(selector).length > 0) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n };\n \n \n var FEHelper = {\n onLoadDataLayer: function (trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (window && window.dataLayer && window.DataLayerHelper\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n },\n after: function (reference_selector, htmlString) {\n var reference_element = document.querySelectorAll(reference_selector);\n for (var i = 0; i < reference_element.length; i++) {\n reference_element[i].insertAdjacentHTML(\"afterend\", htmlString);\n }\n },\n waitforMarketo: function (trigger) {\n var interval = setInterval(function () {\n if (\n window.MktoForms2\n ) {\n clearInterval(interval);\n trigger();\n }\n }, 50);\n setTimeout(function () {\n clearInterval(interval);\n }, 10000);\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 setCookie: function (name, value, days) {\n var expires = \"\";\n if (days) {\n var date = new Date();\n date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));\n expires = \"; expires=\" + date.toUTCString();\n }\n document.cookie = name + \"=\" + (value || \"\") + expires + \"; path=/\";\n },\n 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 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 }\n }, 30);\n setTimeout(function () {\n clearInterval(waitForFunnelEnvy);\n }, 8000);\n }\n };\n \n \n //pop up form\n var form = \n '
'+\n '
'+\n '
'+\n '
' +\n '
'+\n '

Thank you for your request. You will receive an email shortly.

'+\n '

Thank you. Check your email for details on your request.

'+\n '
'+\n '
'+\n '
'\n ;\n\n //bottom toaster\n var feToaster = '' +\n '
' +\n ' ' +\n '

' +\n '

Nos alegramos ser parte del evento AMAFORE 2021

' +\n '

Aprovechamos para invitarlos a suscribirse en nuestra Newsletter dedicada al tema ESG.

' +\n ' Suscríbase' +\n '
';\n\n var formbg = '
';\n\n // function to modify and style according to design all Marketo forms\nvar modifyMarketoForm = {\n init: function() {\n var self = this; \n // custom event 'mktoFormLoaded' is invoked when forms are loaded\n $(document).on(\n 'mktoFormLoaded',\n function() {\n self\n ._removeMarketoCSS();\n });\n },\n _removeMarketoCSS: function() {\n // remove the external stylesheets var\n links = window.document.getElementsByTagName('link');\n $(links).each( function() {\n var thisLinkElement = $(this);\n var thisLinkURL = thisLinkElement.attr('href');\n // if (thisLinkURL.indexOf('marketo') > 1) {\n // thisLinkElement.remove();\n // }\n }); \n // and the inline styles\n var marketoForms =\n $(\n \"[id*='mktoForm']\");\n marketoForms.each(\n function() {\n $(this)\n .find(\n 'style'\n )\n .remove();\n }); \n //and the style attributes\n marketoForms.each(\n function() {\n $(this)\n .find(\n '[style]'\n )\n .removeAttr(\n 'style'\n );\n });\n }\n}; //the document ready function\n\n \nfunction init() {\n console.log('Element has loaded!');\n \n \n // create formpop up element \n // var feToast = document.createElement('div');\n // feToast.setAttribute('class', 'form');\n // feToast.setAttribute('id', 'form');\n // feToast.innerHTML = form;\n \n \n // document.body.appendChild(feToast);\n var placement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader.header--overlay\");\nplacement.insertAdjacentHTML('beforeend', form);\n \n FEHelper.waitforMarketo(function () {\n //load mktoForm_3101 form\n MktoForms2.loadForm('//your.fitchratings.com', '732-CKH-767', 4339);\n modifyMarketoForm._removeMarketoCSS();\n MktoForms2.whenReady(function (form) {\n modifyMarketoForm._removeMarketoCSS();\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n var element = document.getElementById('mktoForm_4339');\n element.style.removeProperty(\"color\");\n element.style.removeProperty(\"width\");\n element.style.removeProperty(\"font-size\");\n element.style.removeProperty(\"font-family\");\n\n form.onSuccess(function (values, followUpUrl) {\n document.querySelector('#mktoForm_4339').style.display = 'none';\n document.querySelector('#confirmDemoForm').style.display = 'block';\n // FEHelper.fePushEvents(\"Newsletter Signup\");\n return false;\n });\n });\n });\n\n document.body.addEventListener('click', function (evt) {\n if (evt.target.className === 'overlay__close' || evt.target.className === 'fas fa-times') {\n var active = document.querySelector(\"#form .overlay-content-wrapper.active\");\n active.classList.remove(\"active\");\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader .overlay__bg\");\n bgplacement.remove();\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.add(\"active--action-bar\");\n headerClass.classList.remove(\"header--inverted\"); \n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.add(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.remove(\"active--search\"); \n\n }\n if (evt.target.id === 'linkto4339') {\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n bgplacement.insertAdjacentHTML('beforeend', formbg);\n\n var active = document.querySelector(\"#form .overlay-content-wrapper\");\n active.classList.add(\"active\");\n\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.remove(\"active--action-bar\");\n headerClass.classList.add(\"header--inverted\"); \n\n\n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.remove(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.add(\"active--search\"); \n\n }\n}, false);\n\n\n// create toaster element \nvar feToast = document.createElement('div');\nfeToast.setAttribute('class', 'fe-toaster');\nfeToast.setAttribute('id', 'fe-toaster');\nfeToast.innerHTML = feToaster;\n\ndocument.body.appendChild(feToast);\n\n//toaster toggle event added\nFEHelper.live('span.fe-arrow-close', 'click', function () {\ndocument.querySelector('.fe-toaster').classList.toggle('fe-toster-close');\n});\n\n \n };\n\n function removeScripts () {\n\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n };\n \n \n \n onLoadElement(\"body header\", init, 50, 10000);\n onLoadElement(\"body head mktoForms2BaseStyle\", removeScripts, 50, 10000);","lastChanged":"\"2021-11-10T13:48:55.131Z\"","selector":"body"}],"selector":"body"}]},"campaign":"618bc6774a4d586f0b6ed3d9","slug":"V40192741","sourceId":"V40192741","createdAt":"2021-11-10T13:17:43.846Z","updatedAt":"2021-11-10T13:48:56.999Z","id":"618bc6774a4d586f0b6ed3db"},{"organization":"5c19de5ca98def372590dc5f","expectedGoal":"60abd077811f82596729a235","redirectUrl":"","name":"Pop-up v2 - colour","campaignType":"visual","isArchived":true,"isBaselineVariation":false,"redirectCode":false,"customCSS":"html body .fe-toaster {\n position: fixed;\n width: 382px;\n bottom: 20px;\n right: 0px;\n z-index: 9999;\n /* max-height: 0px; */\n}\n\nhtml body .fe-bottom-toster {\n background: #CC0033;\n padding: 20px 25px;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n position: relative;\n}\n\nhtml body .fe-bottom-toster h2, \nhtml body .fe-bottom-toster p, \nhtml body .fe-bottom-toster a {\n color: #fff;\n}\n\nhtml body h2.fe-toster-heading {\n font-size: 31px;\n line-height: 1.2;\n}\n\nhtml body p.fe-toster-subheading {\n font-size: 15px;\n padding-right: 10px;\n}\n\nhtml body span.fe-arrow-close {\n position: absolute;\n width: 35px;\n height: 25px;\n background: #CC0033;\n top: -24px;\n right: 0px;\n cursor: pointer;\n}\n\nhtml body span.fe-arrow-close:after {\n position: absolute;\n border-top: 9px solid #fff;\n border-right: 9px solid transparent;\n border-left: 9px solid transparent;\n border-bottom: none;\n content: '';\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\nhtml body p.fe-toster-top svg {\n // width: 126px !important;\n display: none;\n}\n\nhtml body p.fe-toster-top .logo--color-2,\nhtml body p.fe-toster-top .logo--color-1 {\n fill: #fff;\n}\n\nhtml body .fe-bottom-toster a {\n text-transform: uppercase;\n color: #000;\n background: #fff;\n font-size: 13px;\n font-weight: bold;\n padding: 10px 20px;\n border-radius: 4px;\n display: inline-block;\n margin-bottom: 30px;\n font-family: Lato, arial, sans-serif;\n}\n\nhtml body .fe-toaster.fe-toster-close {\n transform: translateY(360px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\nhtml body .fe-toaster {\n transform: translateY(0px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\n\n#form.form .overlay-content-wrapper {\n display: none;\n}\n\n#form.form .overlay-content-wrapper.active {\n display: block;\n}","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"function onLoadElement(selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (document && document.querySelectorAll(selector) && document.querySelectorAll(selector).length > 0) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n };\n \n \n var FEHelper = {\n onLoadDataLayer: function (trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (window && window.dataLayer && window.DataLayerHelper\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n },\n after: function (reference_selector, htmlString) {\n var reference_element = document.querySelectorAll(reference_selector);\n for (var i = 0; i < reference_element.length; i++) {\n reference_element[i].insertAdjacentHTML(\"afterend\", htmlString);\n }\n },\n waitforMarketo: function (trigger) {\n var interval = setInterval(function () {\n if (\n window.MktoForms2\n ) {\n clearInterval(interval);\n trigger();\n }\n }, 50);\n setTimeout(function () {\n clearInterval(interval);\n }, 10000);\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 setCookie: function (name, value, days) {\n var expires = \"\";\n if (days) {\n var date = new Date();\n date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));\n expires = \"; expires=\" + date.toUTCString();\n }\n document.cookie = name + \"=\" + (value || \"\") + expires + \"; path=/\";\n },\n 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 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 }\n }, 30);\n setTimeout(function () {\n clearInterval(waitForFunnelEnvy);\n }, 8000);\n }\n };\n \n \n //pop up form\n var form = \n '
'+\n '
'+\n '
'+\n '
' +\n '
'+\n '

Thank you for your request. You will receive an email shortly.

'+\n '

Thank you. Check your email for details on your request.

'+\n '
'+\n '
'+\n '
'\n ;\n\n //bottom toaster\n var feToaster = '' +\n '
' +\n ' ' +\n '

' +\n '

Adicione cor à imagem

' +\n '

Receba nossa newsletter gratuita para saber mais sobre eventos que afetam o mercado de capitais.

' +\n ' Assine' +\n '
';\n\n var formbg = '
';\n\n // function to modify and style according to design all Marketo forms\nvar modifyMarketoForm = {\n init: function() {\n var self = this; \n // custom event 'mktoFormLoaded' is invoked when forms are loaded\n $(document).on(\n 'mktoFormLoaded',\n function() {\n self\n ._removeMarketoCSS();\n });\n },\n _removeMarketoCSS: function() {\n // remove the external stylesheets var\n links = window.document.getElementsByTagName('link');\n $(links).each( function() {\n var thisLinkElement = $(this);\n var thisLinkURL = thisLinkElement.attr('href');\n // if (thisLinkURL.indexOf('marketo') > 1) {\n // thisLinkElement.remove();\n // }\n }); \n // and the inline styles\n var marketoForms =\n $(\n \"[id*='mktoForm']\");\n marketoForms.each(\n function() {\n $(this)\n .find(\n 'style'\n )\n .remove();\n }); \n //and the style attributes\n marketoForms.each(\n function() {\n $(this)\n .find(\n '[style]'\n )\n .removeAttr(\n 'style'\n );\n });\n }\n}; //the document ready function\n\n \nfunction init() {\n console.log('Element has loaded!');\n \n \n // create formpop up element \n // var feToast = document.createElement('div');\n // feToast.setAttribute('class', 'form');\n // feToast.setAttribute('id', 'form');\n // feToast.innerHTML = form;\n \n \n // document.body.appendChild(feToast);\n var placement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader.header--overlay\");\nplacement.insertAdjacentHTML('beforeend', form);\n \n FEHelper.waitforMarketo(function () {\n //load mktoForm_3101 form\n MktoForms2.loadForm('//your.fitchratings.com', '732-CKH-767', 3101);\n modifyMarketoForm._removeMarketoCSS();\n MktoForms2.whenReady(function (form) {\n modifyMarketoForm._removeMarketoCSS();\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n var element = document.getElementById('mktoForm_3101');\n element.style.removeProperty(\"color\");\n element.style.removeProperty(\"width\");\n element.style.removeProperty(\"font-size\");\n element.style.removeProperty(\"font-family\");\n\n form.onSuccess(function (values, followUpUrl) {\n document.querySelector('#mktoForm_3101').style.display = 'none';\n document.querySelector('#confirmDemoForm').style.display = 'block';\n // FEHelper.fePushEvents(\"Newsletter Signup\");\n return false;\n });\n });\n });\n\n document.body.addEventListener('click', function (evt) {\n if (evt.target.className === 'overlay__close' || evt.target.className === 'fas fa-times') {\n var active = document.querySelector(\"#form .overlay-content-wrapper.active\");\n active.classList.remove(\"active\");\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader .overlay__bg\");\n bgplacement.remove();\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.add(\"active--action-bar\");\n headerClass.classList.remove(\"header--inverted\"); \n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.add(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.remove(\"active--search\"); \n\n }\n if (evt.target.id === 'linkto3101') {\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n bgplacement.insertAdjacentHTML('beforeend', formbg);\n\n var active = document.querySelector(\"#form .overlay-content-wrapper\");\n active.classList.add(\"active\");\n\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.remove(\"active--action-bar\");\n headerClass.classList.add(\"header--inverted\"); \n\n\n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.remove(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.add(\"active--search\"); \n\n }\n}, false);\n\n\n// create toaster element \nvar feToast = document.createElement('div');\nfeToast.setAttribute('class', 'fe-toaster');\nfeToast.setAttribute('id', 'fe-toaster');\nfeToast.innerHTML = feToaster;\n\ndocument.body.appendChild(feToast);\n\n//toaster toggle event added\nFEHelper.live('span.fe-arrow-close', 'click', function () {\ndocument.querySelector('.fe-toaster').classList.toggle('fe-toster-close');\n});\n\n \n };\n\n function removeScripts () {\n\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n };\n \n \n \n onLoadElement(\"body header\", init, 50, 10000);\n onLoadElement(\"body head mktoForms2BaseStyle\", removeScripts, 50, 10000);","lastChanged":"\"2021-10-08T13:51:30.484Z\"","selector":"body"}],"selector":"body"}]},"campaign":"618bc6774a4d586f0b6ed3d9","slug":"V6133689","sourceId":"V6133689","createdAt":"2021-11-10T13:17:43.849Z","updatedAt":"2021-11-10T13:43:05.725Z","id":"618bc6774a4d586f0b6ed3dc"},{"organization":"5c19de5ca98def372590dc5f","redirectUrl":"","name":"Pop-up v1","campaignType":"visual","isArchived":true,"isBaselineVariation":false,"redirectCode":false,"customCSS":"html body .fe-toaster {\n position: fixed;\n width: 382px;\n bottom: 20px;\n right: 0px;\n z-index: 9999;\n /* max-height: 0px; */\n}\n\nhtml body .fe-bottom-toster {\n background: #FF3063;\n padding: 20px 25px;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n position: relative;\n}\n\nhtml body .fe-bottom-toster h2, \nhtml body .fe-bottom-toster p, \nhtml body .fe-bottom-toster a {\n color: #fff;\n}\n\nhtml body h2.fe-toster-heading {\n font-size: 31px;\n line-height: 1.2;\n}\n\nhtml body p.fe-toster-subheading {\n font-size: 15px;\n padding-right: 10px;\n}\n\nhtml body span.fe-arrow-close {\n position: absolute;\n width: 35px;\n height: 25px;\n background: #FF3063;\n top: -24px;\n right: 0px;\n cursor: pointer;\n}\n\nhtml body span.fe-arrow-close:after {\n position: absolute;\n border-top: 9px solid #fff;\n border-right: 9px solid transparent;\n border-left: 9px solid transparent;\n border-bottom: none;\n content: '';\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\nhtml body p.fe-toster-top svg {\n // width: 126px !important;\n display: none;\n}\n\nhtml body p.fe-toster-top .logo--color-2,\nhtml body p.fe-toster-top .logo--color-1 {\n fill: #fff;\n}\n\nhtml body .fe-bottom-toster a {\n text-transform: uppercase;\n color: #000;\n background: #fff;\n font-size: 13px;\n font-weight: bold;\n padding: 10px 20px;\n border-radius: 4px;\n display: inline-block;\n margin-bottom: 30px;\n font-family: Lato, arial, sans-serif;\n}\n\nhtml body .fe-toaster.fe-toster-close {\n transform: translateY(360px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\nhtml body .fe-toaster {\n transform: translateY(0px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\n\n#form.form .overlay-content-wrapper {\n display: none;\n}\n\n#form.form .overlay-content-wrapper.active {\n display: block;\n}","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"function onLoadElement(selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (document && document.querySelectorAll(selector) && document.querySelectorAll(selector).length > 0) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n };\n \n \n var FEHelper = {\n onLoadDataLayer: function (trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (window && window.dataLayer && window.DataLayerHelper\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n },\n after: function (reference_selector, htmlString) {\n var reference_element = document.querySelectorAll(reference_selector);\n for (var i = 0; i < reference_element.length; i++) {\n reference_element[i].insertAdjacentHTML(\"afterend\", htmlString);\n }\n },\n waitforMarketo: function (trigger) {\n var interval = setInterval(function () {\n if (\n window.MktoForms2\n ) {\n clearInterval(interval);\n trigger();\n }\n }, 50);\n setTimeout(function () {\n clearInterval(interval);\n }, 10000);\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 setCookie: function (name, value, days) {\n var expires = \"\";\n if (days) {\n var date = new Date();\n date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));\n expires = \"; expires=\" + date.toUTCString();\n }\n document.cookie = name + \"=\" + (value || \"\") + expires + \"; path=/\";\n },\n 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 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 }\n }, 30);\n setTimeout(function () {\n clearInterval(waitForFunnelEnvy);\n }, 8000);\n }\n };\n \n \n //pop up form\n var form = \n '
'+\n '
'+\n '
'+\n '
' +\n '
'+\n '

Thank you for your request. You will receive an email shortly.

'+\n '

Thank you. Check your email for details on your request.

'+\n '
'+\n '
'+\n '
'\n ;\n\n //bottom toaster\n var feToaster = '' +\n '
' +\n ' ' +\n '

' +\n '

Add color to the picture

' +\n '

Receive complimentary daily alerts on the latest issues affecting capital markets with Fitch Wire.

' +\n ' Sign Up' +\n '
';\n\n var formbg = '
';\n\n // function to modify and style according to design all Marketo forms\nvar modifyMarketoForm = {\n init: function() {\n var self = this; \n // custom event 'mktoFormLoaded' is invoked when forms are loaded\n $(document).on(\n 'mktoFormLoaded',\n function() {\n self\n ._removeMarketoCSS();\n });\n },\n _removeMarketoCSS: function() {\n // remove the external stylesheets var\n links = window.document.getElementsByTagName('link');\n $(links).each( function() {\n var thisLinkElement = $(this);\n var thisLinkURL = thisLinkElement.attr('href');\n // if (thisLinkURL.indexOf('marketo') > 1) {\n // thisLinkElement.remove();\n // }\n }); \n // and the inline styles\n var marketoForms =\n $(\n \"[id*='mktoForm']\");\n marketoForms.each(\n function() {\n $(this)\n .find(\n 'style'\n )\n .remove();\n }); \n //and the style attributes\n marketoForms.each(\n function() {\n $(this)\n .find(\n '[style]'\n )\n .removeAttr(\n 'style'\n );\n });\n }\n}; //the document ready function\n\n \nfunction init() {\n console.log('Element has loaded!');\n \n \n // create formpop up element \n // var feToast = document.createElement('div');\n // feToast.setAttribute('class', 'form');\n // feToast.setAttribute('id', 'form');\n // feToast.innerHTML = form;\n \n \n // document.body.appendChild(feToast);\n var placement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader.header--overlay\");\nplacement.insertAdjacentHTML('beforeend', form);\n \n FEHelper.waitforMarketo(function () {\n //load mktoForm_4076 form\n MktoForms2.loadForm('//your.fitchratings.com', '732-CKH-767', 4076);\n modifyMarketoForm._removeMarketoCSS();\n MktoForms2.whenReady(function (form) {\n modifyMarketoForm._removeMarketoCSS();\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n var element = document.getElementById('mktoForm_4076');\n element.style.removeProperty(\"color\");\n element.style.removeProperty(\"width\");\n element.style.removeProperty(\"font-size\");\n element.style.removeProperty(\"font-family\");\n\n form.onSuccess(function (values, followUpUrl) {\n document.querySelector('#mktoForm_4076').style.display = 'none';\n document.querySelector('#confirmDemoForm').style.display = 'block';\n // FEHelper.fePushEvents(\"Newsletter Signup\");\n return false;\n });\n });\n });\n\n document.body.addEventListener('click', function (evt) {\n if (evt.target.className === 'overlay__close' || evt.target.className === 'fas fa-times') {\n var active = document.querySelector(\"#form .overlay-content-wrapper.active\");\n active.classList.remove(\"active\");\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader .overlay__bg\");\n bgplacement.remove();\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.add(\"active--action-bar\");\n headerClass.classList.remove(\"header--inverted\"); \n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.add(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.remove(\"active--search\"); \n\n }\n if (evt.target.id === 'linkto4076') {\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n bgplacement.insertAdjacentHTML('beforeend', formbg);\n\n var active = document.querySelector(\"#form .overlay-content-wrapper\");\n active.classList.add(\"active\");\n\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.remove(\"active--action-bar\");\n headerClass.classList.add(\"header--inverted\"); \n\n\n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.remove(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.add(\"active--search\"); \n\n }\n}, false);\n\n\n// create toaster element \nvar feToast = document.createElement('div');\nfeToast.setAttribute('class', 'fe-toaster');\nfeToast.setAttribute('id', 'fe-toaster');\nfeToast.innerHTML = feToaster;\n\ndocument.body.appendChild(feToast);\n\n//toaster toggle event added\nFEHelper.live('span.fe-arrow-close', 'click', function () {\ndocument.querySelector('.fe-toaster').classList.toggle('fe-toster-close');\n});\n\n \n };\n\n function removeScripts () {\n\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n };\n \n \n \n onLoadElement(\"body header\", init, 50, 10000);\n onLoadElement(\"body head mktoForms2BaseStyle\", removeScripts, 50, 10000);","lastChanged":"\"2021-09-28T08:18:13.845Z\"","selector":"body"}],"selector":"body"}]},"campaign":"618bc6774a4d586f0b6ed3d9","slug":"V668118116","sourceId":"V668118116","createdAt":"2021-11-10T13:17:43.851Z","updatedAt":"2021-11-10T13:19:54.885Z","id":"618bc6774a4d586f0b6ed3dd"}],"organization":"5c19de5ca98def372590dc5f","holdbackVariation":null,"activeExperiment":null,"audience":null,"holdback":100,"holdbackMode":"random","trafficAllocation":100,"predictVariations":false,"decisionMode":"A/B/n Test","name":"LP MK 21 Nov Amafore 2021 Pop-up","description":"Pop-up on /mexico","editorUrl":"https://www.fitchratings.com/es/region/mexico","persistentDecisions":true,"source":"visual","sourceId":"C14020941","isArchived":false,"createdAt":"2021-09-13T09:48:24.890Z","updatedAt":"2021-11-10T13:19:54.860Z","pageTargets":[{"include":true,"url":"https://www.fitchratings.com/es/region/mexico?utm_source=FitchRatings&utm_medium=offline&utm_campaign=Amafore2021&utm_term=QR_code","match":"exact"}],"customJavascript":[],"slug":"C14020941","status":"running","runningFrom":"2021-11-10T13:19:54.802Z","id":"618bc6774a4d586f0b6ed3d9"},{"variations":[{"isBaselineVariation":true,"name":"Baseline variation","organization":"5c19de5ca98def372590dc5f","campaign":"6197763a10674573399d66c6","description":"","isArchived":true,"slug":"V127119648","sourceId":"V127119648","redirectUrl":"","redirectCode":false,"campaignType":"","createdAt":"2021-11-19T10:02:35.107Z","updatedAt":"2022-01-20T16:58:14.761Z","id":"6197763b10674573399d66c7"},{"organization":"5c19de5ca98def372590dc5f","redirectUrl":"","name":"V1: Burgundy link & arrow","campaignType":"visual","isArchived":true,"isBaselineVariation":false,"redirectCode":false,"customCSS":"html body .fe-toaster {\n position: fixed;\n width: 382px;\n bottom: 20px;\n right: 0px;\n z-index: 9999;\n /* max-height: 0px; */\n}\n\nhtml body .fe-bottom-toster {\n background: #a90000;\n padding: 20px 25px;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n position: relative;\n}\n\nhtml body .fe-bottom-toster h2, \nhtml body .fe-bottom-toster p, \nhtml body .fe-bottom-toster a {\n color: #fff;\n}\n\nhtml body h2.fe-toster-heading {\n font-size: 31px;\n line-height: 1.2;\n}\n\nhtml body p.fe-toster-subheading {\n font-size: 15px;\n padding-right: 10px;\n}\n\nhtml body span.fe-arrow-close {\n position: absolute;\n width: 35px;\n height: 25px;\n background: #a90000;\n top: -24px;\n right: 0px;\n cursor: pointer;\n}\n\nhtml body span.fe-arrow-close:after {\n position: absolute;\n border-top: 9px solid #fff;\n border-right: 9px solid transparent;\n border-left: 9px solid transparent;\n border-bottom: none;\n content: '';\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\nhtml body p.fe-toster-top svg {\n // width: 126px !important;\n display: none;\n}\n\nhtml body p.fe-toster-top .logo--color-2,\nhtml body p.fe-toster-top .logo--color-1 {\n fill: #fff;\n}\n\nhtml body .fe-bottom-toster a {\n text-transform: uppercase;\n color: #000;\n background: #fff;\n font-size: 13px;\n font-weight: bold;\n padding: 10px 20px;\n border-radius: 4px;\n display: inline-block;\n margin-bottom: 30px;\n font-family: Lato, arial, sans-serif;\n}\n\nhtml body .fe-toaster.fe-toster-close {\n transform: translateY(360px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\nhtml body .fe-toaster {\n transform: translateY(0px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\n\n#form.form .overlay-content-wrapper {\n display: none;\n}\n\n#form.form .overlay-content-wrapper.active {\n display: block;\n}","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"function onLoadElement(selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (document && document.querySelectorAll(selector) && document.querySelectorAll(selector).length > 0) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n };\n \n \n var FEHelper = {\n onLoadDataLayer: function (trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (window && window.dataLayer && window.DataLayerHelper\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n },\n after: function (reference_selector, htmlString) {\n var reference_element = document.querySelectorAll(reference_selector);\n for (var i = 0; i < reference_element.length; i++) {\n reference_element[i].insertAdjacentHTML(\"afterend\", htmlString);\n }\n },\n waitforMarketo: function (trigger) {\n var interval = setInterval(function () {\n if (\n window.MktoForms2\n ) {\n clearInterval(interval);\n trigger();\n }\n }, 50);\n setTimeout(function () {\n clearInterval(interval);\n }, 10000);\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 setCookie: function (name, value, days) {\n var expires = \"\";\n if (days) {\n var date = new Date();\n date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));\n expires = \"; expires=\" + date.toUTCString();\n }\n document.cookie = name + \"=\" + (value || \"\") + expires + \"; path=/\";\n },\n 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 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 }\n }, 30);\n setTimeout(function () {\n clearInterval(waitForFunnelEnvy);\n }, 8000);\n }\n };\n \n \n //pop up form\n var form = \n '
'+\n '
'+\n '
'+\n '
' +\n '
'+\n '

Thank you for your request. You will receive an email shortly.

'+\n '

Thank you. Check your email for details on your request.

'+\n '
'+\n '
'+\n '
'\n ;\n\n\n //bottom toaster\n var feToaster = '' +\n '
' +\n ' ' +\n '

' +\n '

Credit Outlook 2022

' +\n '

As we begin to move forward from the uncertainty caused by the pandemic, new challenges and opportunities will arise in the year ahead. Our Credit Outlook series returns in 2022 to explore the next phase in credit markets.

' +\n 'See the year ahead in full color   ➡' +\n '
';\n\n var formbg = '
';\n\n // function to modify and style according to design all Marketo forms\nvar modifyMarketoForm = {\n init: function() {\n var self = this; \n // custom event 'mktoFormLoaded' is invoked when forms are loaded\n $(document).on(\n 'mktoFormLoaded',\n function() {\n self\n ._removeMarketoCSS();\n });\n },\n _removeMarketoCSS: function() {\n // remove the external stylesheets var\n links = window.document.getElementsByTagName('link');\n $(links).each( function() {\n var thisLinkElement = $(this);\n var thisLinkURL = thisLinkElement.attr('href');\n // if (thisLinkURL.indexOf('marketo') > 1) {\n // thisLinkElement.remove();\n // }\n }); \n // and the inline styles\n var marketoForms =\n $(\n \"[id*='mktoForm']\");\n marketoForms.each(\n function() {\n $(this)\n .find(\n 'style'\n )\n .remove();\n }); \n //and the style attributes\n marketoForms.each(\n function() {\n $(this)\n .find(\n '[style]'\n )\n .removeAttr(\n 'style'\n );\n });\n }\n}; //the document ready function\n\n \nfunction init() {\n console.log('Element has loaded!');\n \n \n // create formpop up element \n // var feToast = document.createElement('div');\n // feToast.setAttribute('class', 'form');\n // feToast.setAttribute('id', 'form');\n // feToast.innerHTML = form;\n \n \n // document.body.appendChild(feToast);\n var placement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader.header--overlay\");\nplacement.insertAdjacentHTML('beforeend', form);\n \n FEHelper.waitforMarketo(function () {\n //load mktoForm_3831 form\n MktoForms2.loadForm('//your.fitchratings.com', '732-CKH-767', 3750);\n modifyMarketoForm._removeMarketoCSS();\n MktoForms2.whenReady(function (form) {\n modifyMarketoForm._removeMarketoCSS();\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n var element = document.getElementById('mktoForm_3750');\n element.style.removeProperty(\"color\");\n element.style.removeProperty(\"width\");\n element.style.removeProperty(\"font-size\");\n element.style.removeProperty(\"font-family\");\n\n form.onSuccess(function (values, followUpUrl) {\n document.querySelector('#mktoForm_3750').style.display = 'none';\n document.querySelector('#confirmDemoForm').style.display = 'block';\n // FEHelper.fePushEvents(\"Newsletter Signup\");\n return false;\n });\n });\n });\n\n document.body.addEventListener('click', function (evt) {\n if (evt.target.className === 'overlay__close' || evt.target.className === 'fas fa-times') {\n var active = document.querySelector(\"#form .overlay-content-wrapper.active\");\n active.classList.remove(\"active\");\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader .overlay__bg\");\n bgplacement.remove();\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.add(\"active--action-bar\");\n headerClass.classList.remove(\"header--inverted\"); \n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.add(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.remove(\"active--search\"); \n\n }\n if (evt.target.id === 'linkto3750') {\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n bgplacement.insertAdjacentHTML('beforeend', formbg);\n\n var active = document.querySelector(\"#form .overlay-content-wrapper\");\n active.classList.add(\"active\");\n\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.remove(\"active--action-bar\");\n headerClass.classList.add(\"header--inverted\"); \n\n\n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.remove(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.add(\"active--search\"); \n\n }\n}, false);\n\n\n// create toaster element \nvar feToast = document.createElement('div');\nfeToast.setAttribute('class', 'fe-toaster');\nfeToast.setAttribute('id', 'fe-toaster');\nfeToast.innerHTML = feToaster;\n\ndocument.body.appendChild(feToast);\n\n//toaster toggle event added\nFEHelper.live('span.fe-arrow-close', 'click', function () {\ndocument.querySelector('.fe-toaster').classList.toggle('fe-toster-close');\n});\n\n \n };\n\n function removeScripts () {\n\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n };\n \n \n \n onLoadElement(\"body header\", init, 50, 10000);\n onLoadElement(\"body head mktoForms2BaseStyle\", removeScripts, 50, 10000);","lastChanged":"\"2021-11-19T10:48:23.819Z\"","selector":"body"}],"selector":"body"}]},"campaign":"6197763a10674573399d66c6","slug":"V13518263","sourceId":"V13518263","createdAt":"2021-11-19T10:02:35.407Z","updatedAt":"2022-01-20T16:58:14.761Z","id":"6197763b10674573399d66c8"},{"organization":"5c19de5ca98def372590dc5f","redirectUrl":"","name":"V2: Teal & Light CTA","campaign":"6197763a10674573399d66c6","campaignType":"visual","isArchived":false,"isBaselineVariation":false,"slug":"V1818932","sourceId":"V1818932","redirectCode":false,"createdAt":"2021-11-19T10:53:15.679Z","updatedAt":"2022-01-20T16:58:14.761Z","customCSS":"html body .fe-toaster {\n position: fixed;\n width: 382px;\n bottom: 20px;\n right: 0px;\n z-index: 9999;\n /* max-height: 0px; */\n}\n\nhtml body .fe-bottom-toster {\n background: #414884;\n padding: 20px 25px;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n position: relative;\n}\n\nhtml body .fe-bottom-toster h2, \nhtml body .fe-bottom-toster p, \nhtml body .fe-bottom-toster a {\n color: #fff;\n}\n\nhtml body h2.fe-toster-heading {\n font-size: 31px;\n line-height: 1.2;\n}\n\nhtml body p.fe-toster-subheading {\n font-size: 15px;\n padding-right: 10px;\n}\n\nhtml body span.fe-arrow-close {\n position: absolute;\n width: 35px;\n height: 25px;\n background: #414884;\n top: -24px;\n right: 0px;\n cursor: pointer;\n}\n\nhtml body span.fe-arrow-close:after {\n position: absolute;\n border-top: 9px solid #fff;\n border-right: 9px solid transparent;\n border-left: 9px solid transparent;\n border-bottom: none;\n content: '';\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\nhtml body p.fe-toster-top svg {\n // width: 126px !important;\n display: none;\n}\n\nhtml body p.fe-toster-top .logo--color-2,\nhtml body p.fe-toster-top .logo--color-1 {\n fill: #fff;\n}\n\nhtml body .fe-bottom-toster a {\n text-transform: uppercase;\n color: #000;\n background: #fff;\n font-size: 13px;\n font-weight: bold;\n padding: 10px 20px;\n border-radius: 4px;\n display: inline-block;\n margin-bottom: 30px;\n font-family: Lato, arial, sans-serif;\n}\n\nhtml body .fe-toaster.fe-toster-close {\n transform: translateY(360px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\nhtml body .fe-toaster {\n transform: translateY(0px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\n\n#form.form .overlay-content-wrapper {\n display: none;\n}\n\n#form.form .overlay-content-wrapper.active {\n display: block;\n}","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"function onLoadElement(selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (document && document.querySelectorAll(selector) && document.querySelectorAll(selector).length > 0) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n };\n \n \n var FEHelper = {\n onLoadDataLayer: function (trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (window && window.dataLayer && window.DataLayerHelper\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n },\n after: function (reference_selector, htmlString) {\n var reference_element = document.querySelectorAll(reference_selector);\n for (var i = 0; i < reference_element.length; i++) {\n reference_element[i].insertAdjacentHTML(\"afterend\", htmlString);\n }\n },\n waitforMarketo: function (trigger) {\n var interval = setInterval(function () {\n if (\n window.MktoForms2\n ) {\n clearInterval(interval);\n trigger();\n }\n }, 50);\n setTimeout(function () {\n clearInterval(interval);\n }, 10000);\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 setCookie: function (name, value, days) {\n var expires = \"\";\n if (days) {\n var date = new Date();\n date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));\n expires = \"; expires=\" + date.toUTCString();\n }\n document.cookie = name + \"=\" + (value || \"\") + expires + \"; path=/\";\n },\n 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 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 }\n }, 30);\n setTimeout(function () {\n clearInterval(waitForFunnelEnvy);\n }, 8000);\n }\n };\n \n \n //pop up form\n var form = \n '
'+\n '
'+\n '
'+\n '
' +\n '
'+\n '

Thank you for your request. You will receive an email shortly.

'+\n '

Thank you. Check your email for details on your request.

'+\n '
'+\n '
'+\n '
'\n ;\n\n\n //bottom toaster\n var feToaster = '' +\n '
' +\n ' ' +\n '

' +\n '

Credit Outlook 2022

' +\n '

Our Credit Outlook series returns to explore what risks and trends will drive credit markets in 2022.

' +\n 'See the year ahead in full color   ➡' +\n '
';\n\n var formbg = '
';\n\n // function to modify and style according to design all Marketo forms\nvar modifyMarketoForm = {\n init: function() {\n var self = this; \n // custom event 'mktoFormLoaded' is invoked when forms are loaded\n $(document).on(\n 'mktoFormLoaded',\n function() {\n self\n ._removeMarketoCSS();\n });\n },\n _removeMarketoCSS: function() {\n // remove the external stylesheets var\n links = window.document.getElementsByTagName('link');\n $(links).each( function() {\n var thisLinkElement = $(this);\n var thisLinkURL = thisLinkElement.attr('href');\n // if (thisLinkURL.indexOf('marketo') > 1) {\n // thisLinkElement.remove();\n // }\n }); \n // and the inline styles\n var marketoForms =\n $(\n \"[id*='mktoForm']\");\n marketoForms.each(\n function() {\n $(this)\n .find(\n 'style'\n )\n .remove();\n }); \n //and the style attributes\n marketoForms.each(\n function() {\n $(this)\n .find(\n '[style]'\n )\n .removeAttr(\n 'style'\n );\n });\n }\n}; //the document ready function\n\n \nfunction init() {\n console.log('Element has loaded!');\n \n \n // create formpop up element \n // var feToast = document.createElement('div');\n // feToast.setAttribute('class', 'form');\n // feToast.setAttribute('id', 'form');\n // feToast.innerHTML = form;\n \n \n // document.body.appendChild(feToast);\n var placement = document.querySelector(\"#gatsby-focus-wrapper .header--overlay\");\nplacement.insertAdjacentHTML('beforeend', form);\n \n FEHelper.waitforMarketo(function () {\n //load mktoForm_3831 form\n MktoForms2.loadForm('//your.fitchratings.com', '732-CKH-767', 3750);\n modifyMarketoForm._removeMarketoCSS();\n MktoForms2.whenReady(function (form) {\n modifyMarketoForm._removeMarketoCSS();\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n var element = document.getElementById('mktoForm_3750');\n element.style.removeProperty(\"color\");\n element.style.removeProperty(\"width\");\n element.style.removeProperty(\"font-size\");\n element.style.removeProperty(\"font-family\");\n\n form.onSuccess(function (values, followUpUrl) {\n document.querySelector('#mktoForm_3750').style.display = 'none';\n document.querySelector('#confirmDemoForm').style.display = 'block';\n // FEHelper.fePushEvents(\"Newsletter Signup\");\n return false;\n });\n });\n });\n\n document.body.addEventListener('click', function (evt) {\n if (evt.target.className === 'overlay__close' || evt.target.className === 'fas fa-times') {\n var active = document.querySelector(\"#form .overlay-content-wrapper.active\");\n active.classList.remove(\"active\");\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader .overlay__bg\");\n bgplacement.remove();\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.add(\"active--action-bar\");\n headerClass.classList.remove(\"header--inverted\"); \n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.add(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.remove(\"active--search\"); \n\n }\n if (evt.target.id === 'linkto3750') {\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n bgplacement.insertAdjacentHTML('beforeend', formbg);\n\n var active = document.querySelector(\"#form .overlay-content-wrapper\");\n active.classList.add(\"active\");\n\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.remove(\"active--action-bar\");\n headerClass.classList.add(\"header--inverted\"); \n\n\n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.remove(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.add(\"active--search\"); \n\n }\n}, false);\n\n\n// create toaster element \nvar feToast = document.createElement('div');\nfeToast.setAttribute('class', 'fe-toaster');\nfeToast.setAttribute('id', 'fe-toaster');\nfeToast.innerHTML = feToaster;\n\ndocument.body.appendChild(feToast);\n\n//toaster toggle event added\nFEHelper.live('span.fe-arrow-close', 'click', function () {\ndocument.querySelector('.fe-toaster').classList.toggle('fe-toster-close');\n});\n\n \n };\n\n function removeScripts () {\n\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n };\n \n \n \n onLoadElement(\"body header\", init, 50, 10000);\n onLoadElement(\"body head mktoForms2BaseStyle\", removeScripts, 50, 10000);","lastChanged":"\"2021-11-26T12:59:32.042Z\"","selector":"body"}],"selector":"body"}]},"id":"6197821bb34cd7395d0172e6"},{"organization":"5c19de5ca98def372590dc5f","redirectUrl":"","name":"v3: Dark blue link & arrow","campaign":"6197763a10674573399d66c6","campaignType":"visual","isArchived":true,"isBaselineVariation":false,"slug":"V4438025","sourceId":"V4438025","redirectCode":false,"createdAt":"2021-11-19T10:56:09.051Z","updatedAt":"2022-01-20T16:58:14.761Z","customCSS":"html body .fe-toaster {\n position: fixed;\n width: 382px;\n bottom: 20px;\n right: 0px;\n z-index: 9999;\n /* max-height: 0px; */\n}\n\nhtml body .fe-bottom-toster {\n background: #003774;\n padding: 20px 25px;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n position: relative;\n}\n\nhtml body .fe-bottom-toster h2, \nhtml body .fe-bottom-toster p, \nhtml body .fe-bottom-toster a {\n color: #fff;\n}\n\nhtml body h2.fe-toster-heading {\n font-size: 31px;\n line-height: 1.2;\n}\n\nhtml body p.fe-toster-subheading {\n font-size: 15px;\n padding-right: 10px;\n}\n\nhtml body span.fe-arrow-close {\n position: absolute;\n width: 35px;\n height: 25px;\n background: #003774;\n top: -24px;\n right: 0px;\n cursor: pointer;\n}\n\nhtml body span.fe-arrow-close:after {\n position: absolute;\n border-top: 9px solid #fff;\n border-right: 9px solid transparent;\n border-left: 9px solid transparent;\n border-bottom: none;\n content: '';\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\nhtml body p.fe-toster-top svg {\n // width: 126px !important;\n display: none;\n}\n\nhtml body p.fe-toster-top .logo--color-2,\nhtml body p.fe-toster-top .logo--color-1 {\n fill: #fff;\n}\n\nhtml body .fe-bottom-toster a {\n text-transform: uppercase;\n color: #000;\n background: #fff;\n font-size: 13px;\n font-weight: bold;\n padding: 10px 20px;\n border-radius: 4px;\n display: inline-block;\n margin-bottom: 30px;\n font-family: Lato, arial, sans-serif;\n}\n\nhtml body .fe-toaster.fe-toster-close {\n transform: translateY(360px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\nhtml body .fe-toaster {\n transform: translateY(0px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\n\n#form.form .overlay-content-wrapper {\n display: none;\n}\n\n#form.form .overlay-content-wrapper.active {\n display: block;\n}","customJavascript":{"customJavascriptInstructions":[{"selector":"body","changes":[{"type":"jc","js":"function onLoadElement(selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (document && document.querySelectorAll(selector) && document.querySelectorAll(selector).length > 0) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n };\n \n \n var FEHelper = {\n onLoadDataLayer: function (trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (window && window.dataLayer && window.DataLayerHelper\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n },\n after: function (reference_selector, htmlString) {\n var reference_element = document.querySelectorAll(reference_selector);\n for (var i = 0; i < reference_element.length; i++) {\n reference_element[i].insertAdjacentHTML(\"afterend\", htmlString);\n }\n },\n waitforMarketo: function (trigger) {\n var interval = setInterval(function () {\n if (\n window.MktoForms2\n ) {\n clearInterval(interval);\n trigger();\n }\n }, 50);\n setTimeout(function () {\n clearInterval(interval);\n }, 10000);\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 setCookie: function (name, value, days) {\n var expires = \"\";\n if (days) {\n var date = new Date();\n date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));\n expires = \"; expires=\" + date.toUTCString();\n }\n document.cookie = name + \"=\" + (value || \"\") + expires + \"; path=/\";\n },\n 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 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 }\n }, 30);\n setTimeout(function () {\n clearInterval(waitForFunnelEnvy);\n }, 8000);\n }\n };\n \n \n //pop up form\n var form = \n '
'+\n '
'+\n '
'+\n '
' +\n '
'+\n '

Thank you for your request. You will receive an email shortly.

'+\n '

Thank you. Check your email for details on your request.

'+\n '
'+\n '
'+\n '
'\n ;\n\n\n //bottom toaster\n var feToaster = '' +\n '
' +\n ' ' +\n '

' +\n '

Credit Outlook 2022

' +\n '

As we begin to move forward from the uncertainty caused by the pandemic, new challenges and opportunities will arise in the year ahead. Our Credit Outlook series returns in 2022 to explore the next phase in credit markets.

' +\n 'See the year ahead in full color   ➡' +\n '
';\n\n var formbg = '
';\n\n // function to modify and style according to design all Marketo forms\nvar modifyMarketoForm = {\n init: function() {\n var self = this; \n // custom event 'mktoFormLoaded' is invoked when forms are loaded\n $(document).on(\n 'mktoFormLoaded',\n function() {\n self\n ._removeMarketoCSS();\n });\n },\n _removeMarketoCSS: function() {\n // remove the external stylesheets var\n links = window.document.getElementsByTagName('link');\n $(links).each( function() {\n var thisLinkElement = $(this);\n var thisLinkURL = thisLinkElement.attr('href');\n // if (thisLinkURL.indexOf('marketo') > 1) {\n // thisLinkElement.remove();\n // }\n }); \n // and the inline styles\n var marketoForms =\n $(\n \"[id*='mktoForm']\");\n marketoForms.each(\n function() {\n $(this)\n .find(\n 'style'\n )\n .remove();\n }); \n //and the style attributes\n marketoForms.each(\n function() {\n $(this)\n .find(\n '[style]'\n )\n .removeAttr(\n 'style'\n );\n });\n }\n}; //the document ready function\n\n \nfunction init() {\n console.log('Element has loaded!');\n \n \n // create formpop up element \n // var feToast = document.createElement('div');\n // feToast.setAttribute('class', 'form');\n // feToast.setAttribute('id', 'form');\n // feToast.innerHTML = form;\n \n \n // document.body.appendChild(feToast);\n var placement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader.header--overlay\");\nplacement.insertAdjacentHTML('beforeend', form);\n \n FEHelper.waitforMarketo(function () {\n //load mktoForm_3831 form\n MktoForms2.loadForm('//your.fitchratings.com', '732-CKH-767', 3750);\n modifyMarketoForm._removeMarketoCSS();\n MktoForms2.whenReady(function (form) {\n modifyMarketoForm._removeMarketoCSS();\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n var element = document.getElementById('mktoForm_3750');\n element.style.removeProperty(\"color\");\n element.style.removeProperty(\"width\");\n element.style.removeProperty(\"font-size\");\n element.style.removeProperty(\"font-family\");\n\n form.onSuccess(function (values, followUpUrl) {\n document.querySelector('#mktoForm_3750').style.display = 'none';\n document.querySelector('#confirmDemoForm').style.display = 'block';\n // FEHelper.fePushEvents(\"Newsletter Signup\");\n return false;\n });\n });\n });\n\n document.body.addEventListener('click', function (evt) {\n if (evt.target.className === 'overlay__close' || evt.target.className === 'fas fa-times') {\n var active = document.querySelector(\"#form .overlay-content-wrapper.active\");\n active.classList.remove(\"active\");\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader .overlay__bg\");\n bgplacement.remove();\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.add(\"active--action-bar\");\n headerClass.classList.remove(\"header--inverted\"); \n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.add(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.remove(\"active--search\"); \n\n }\n if (evt.target.id === 'linkto3750') {\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n bgplacement.insertAdjacentHTML('beforeend', formbg);\n\n var active = document.querySelector(\"#form .overlay-content-wrapper\");\n active.classList.add(\"active\");\n\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.remove(\"active--action-bar\");\n headerClass.classList.add(\"header--inverted\"); \n\n\n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.remove(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.add(\"active--search\"); \n\n }\n}, false);\n\n\n// create toaster element \nvar feToast = document.createElement('div');\nfeToast.setAttribute('class', 'fe-toaster');\nfeToast.setAttribute('id', 'fe-toaster');\nfeToast.innerHTML = feToaster;\n\ndocument.body.appendChild(feToast);\n\n//toaster toggle event added\nFEHelper.live('span.fe-arrow-close', 'click', function () {\ndocument.querySelector('.fe-toaster').classList.toggle('fe-toster-close');\n});\n\n \n };\n\n function removeScripts () {\n\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n };\n \n \n \n onLoadElement(\"body header\", init, 50, 10000);\n onLoadElement(\"body head mktoForms2BaseStyle\", removeScripts, 50, 10000);","lastChanged":"\"2021-11-19T10:56:33.971Z\"","selector":"body"}]}]},"id":"619782c94a4d586f0b6ed3e9"},{"organization":"5c19de5ca98def372590dc5f","redirectUrl":"","name":"v4: Mustard link & arrow","campaign":"6197763a10674573399d66c6","campaignType":"visual","isArchived":true,"isBaselineVariation":false,"slug":"V1482472","sourceId":"V1482472","redirectCode":false,"createdAt":"2021-11-19T10:57:39.829Z","updatedAt":"2022-01-20T16:58:14.761Z","customCSS":"html body .fe-toaster {\n position: fixed;\n width: 382px;\n bottom: 20px;\n right: 0px;\n z-index: 9999;\n /* max-height: 0px; */\n}\n\nhtml body .fe-bottom-toster {\n background: #ac8600;\n padding: 20px 25px;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n position: relative;\n}\n\nhtml body .fe-bottom-toster h2, \nhtml body .fe-bottom-toster p, \nhtml body .fe-bottom-toster a {\n color: #fff;\n}\n\nhtml body h2.fe-toster-heading {\n font-size: 31px;\n line-height: 1.2;\n}\n\nhtml body p.fe-toster-subheading {\n font-size: 15px;\n padding-right: 10px;\n}\n\nhtml body span.fe-arrow-close {\n position: absolute;\n width: 35px;\n height: 25px;\n background: #ac8600;\n top: -24px;\n right: 0px;\n cursor: pointer;\n}\n\nhtml body span.fe-arrow-close:after {\n position: absolute;\n border-top: 9px solid #fff;\n border-right: 9px solid transparent;\n border-left: 9px solid transparent;\n border-bottom: none;\n content: '';\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\nhtml body p.fe-toster-top svg {\n // width: 126px !important;\n display: none;\n}\n\nhtml body p.fe-toster-top .logo--color-2,\nhtml body p.fe-toster-top .logo--color-1 {\n fill: #fff;\n}\n\nhtml body .fe-bottom-toster a {\n text-transform: uppercase;\n color: #000;\n background: #fff;\n font-size: 13px;\n font-weight: bold;\n padding: 10px 20px;\n border-radius: 4px;\n display: inline-block;\n margin-bottom: 30px;\n font-family: Lato, arial, sans-serif;\n}\n\nhtml body .fe-toaster.fe-toster-close {\n transform: translateY(360px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\nhtml body .fe-toaster {\n transform: translateY(0px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\n\n#form.form .overlay-content-wrapper {\n display: none;\n}\n\n#form.form .overlay-content-wrapper.active {\n display: block;\n}","customJavascript":{"customJavascriptInstructions":[{"selector":"body","changes":[{"type":"jc","js":"function onLoadElement(selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (document && document.querySelectorAll(selector) && document.querySelectorAll(selector).length > 0) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n };\n \n \n var FEHelper = {\n onLoadDataLayer: function (trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (window && window.dataLayer && window.DataLayerHelper\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n },\n after: function (reference_selector, htmlString) {\n var reference_element = document.querySelectorAll(reference_selector);\n for (var i = 0; i < reference_element.length; i++) {\n reference_element[i].insertAdjacentHTML(\"afterend\", htmlString);\n }\n },\n waitforMarketo: function (trigger) {\n var interval = setInterval(function () {\n if (\n window.MktoForms2\n ) {\n clearInterval(interval);\n trigger();\n }\n }, 50);\n setTimeout(function () {\n clearInterval(interval);\n }, 10000);\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 setCookie: function (name, value, days) {\n var expires = \"\";\n if (days) {\n var date = new Date();\n date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));\n expires = \"; expires=\" + date.toUTCString();\n }\n document.cookie = name + \"=\" + (value || \"\") + expires + \"; path=/\";\n },\n 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 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 }\n }, 30);\n setTimeout(function () {\n clearInterval(waitForFunnelEnvy);\n }, 8000);\n }\n };\n \n \n //pop up form\n var form = \n '
'+\n '
'+\n '
'+\n '
' +\n '
'+\n '

Thank you for your request. You will receive an email shortly.

'+\n '

Thank you. Check your email for details on your request.

'+\n '
'+\n '
'+\n '
'\n ;\n\n\n //bottom toaster\n var feToaster = '' +\n '
' +\n ' ' +\n '

' +\n '

Credit Outlook 2022

' +\n '

As we begin to move forward from the uncertainty caused by the pandemic, new challenges and opportunities will arise in the year ahead. Our Credit Outlook series returns in 2022 to explore the next phase in credit markets.

' +\n 'See the year ahead in full color   ➡' +\n '
';\n\n var formbg = '
';\n\n // function to modify and style according to design all Marketo forms\nvar modifyMarketoForm = {\n init: function() {\n var self = this; \n // custom event 'mktoFormLoaded' is invoked when forms are loaded\n $(document).on(\n 'mktoFormLoaded',\n function() {\n self\n ._removeMarketoCSS();\n });\n },\n _removeMarketoCSS: function() {\n // remove the external stylesheets var\n links = window.document.getElementsByTagName('link');\n $(links).each( function() {\n var thisLinkElement = $(this);\n var thisLinkURL = thisLinkElement.attr('href');\n // if (thisLinkURL.indexOf('marketo') > 1) {\n // thisLinkElement.remove();\n // }\n }); \n // and the inline styles\n var marketoForms =\n $(\n \"[id*='mktoForm']\");\n marketoForms.each(\n function() {\n $(this)\n .find(\n 'style'\n )\n .remove();\n }); \n //and the style attributes\n marketoForms.each(\n function() {\n $(this)\n .find(\n '[style]'\n )\n .removeAttr(\n 'style'\n );\n });\n }\n}; //the document ready function\n\n \nfunction init() {\n console.log('Element has loaded!');\n \n \n // create formpop up element \n // var feToast = document.createElement('div');\n // feToast.setAttribute('class', 'form');\n // feToast.setAttribute('id', 'form');\n // feToast.innerHTML = form;\n \n \n // document.body.appendChild(feToast);\n var placement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader.header--overlay\");\nplacement.insertAdjacentHTML('beforeend', form);\n \n FEHelper.waitforMarketo(function () {\n //load mktoForm_3831 form\n MktoForms2.loadForm('//your.fitchratings.com', '732-CKH-767', 3750);\n modifyMarketoForm._removeMarketoCSS();\n MktoForms2.whenReady(function (form) {\n modifyMarketoForm._removeMarketoCSS();\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n var element = document.getElementById('mktoForm_3750');\n element.style.removeProperty(\"color\");\n element.style.removeProperty(\"width\");\n element.style.removeProperty(\"font-size\");\n element.style.removeProperty(\"font-family\");\n\n form.onSuccess(function (values, followUpUrl) {\n document.querySelector('#mktoForm_3750').style.display = 'none';\n document.querySelector('#confirmDemoForm').style.display = 'block';\n // FEHelper.fePushEvents(\"Newsletter Signup\");\n return false;\n });\n });\n });\n\n document.body.addEventListener('click', function (evt) {\n if (evt.target.className === 'overlay__close' || evt.target.className === 'fas fa-times') {\n var active = document.querySelector(\"#form .overlay-content-wrapper.active\");\n active.classList.remove(\"active\");\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader .overlay__bg\");\n bgplacement.remove();\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.add(\"active--action-bar\");\n headerClass.classList.remove(\"header--inverted\"); \n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.add(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.remove(\"active--search\"); \n\n }\n if (evt.target.id === 'linkto3750') {\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n bgplacement.insertAdjacentHTML('beforeend', formbg);\n\n var active = document.querySelector(\"#form .overlay-content-wrapper\");\n active.classList.add(\"active\");\n\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.remove(\"active--action-bar\");\n headerClass.classList.add(\"header--inverted\"); \n\n\n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.remove(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.add(\"active--search\"); \n\n }\n}, false);\n\n\n// create toaster element \nvar feToast = document.createElement('div');\nfeToast.setAttribute('class', 'fe-toaster');\nfeToast.setAttribute('id', 'fe-toaster');\nfeToast.innerHTML = feToaster;\n\ndocument.body.appendChild(feToast);\n\n//toaster toggle event added\nFEHelper.live('span.fe-arrow-close', 'click', function () {\ndocument.querySelector('.fe-toaster').classList.toggle('fe-toster-close');\n});\n\n \n };\n\n function removeScripts () {\n\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n };\n \n \n \n onLoadElement(\"body header\", init, 50, 10000);\n onLoadElement(\"body head mktoForms2BaseStyle\", removeScripts, 50, 10000);","lastChanged":"\"2021-11-19T10:58:10.946Z\"","selector":"body"}]}]},"id":"619783234a4d586f0b6ed3ea"},{"organization":"5c19de5ca98def372590dc5f","redirectUrl":"","name":"V1: Burgundy link","campaign":"6197763a10674573399d66c6","campaignType":"visual","isArchived":true,"isBaselineVariation":false,"slug":"V1462689","sourceId":"V1462689","redirectCode":false,"createdAt":"2021-11-19T10:59:22.629Z","updatedAt":"2022-01-20T16:58:14.761Z","customCSS":"html body .fe-toaster {\n position: fixed;\n width: 382px;\n bottom: 20px;\n right: 0px;\n z-index: 9999;\n /* max-height: 0px; */\n}\n\nhtml body .fe-bottom-toster {\n background: #a90000;\n padding: 20px 25px;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n position: relative;\n}\n\nhtml body .fe-bottom-toster h2, \nhtml body .fe-bottom-toster p, \nhtml body .fe-bottom-toster a {\n color: #fff;\n}\n\nhtml body h2.fe-toster-heading {\n font-size: 31px;\n line-height: 1.2;\n}\n\nhtml body p.fe-toster-subheading {\n font-size: 15px;\n padding-right: 10px;\n}\n\nhtml body span.fe-arrow-close {\n position: absolute;\n width: 35px;\n height: 25px;\n background: #a90000;\n top: -24px;\n right: 0px;\n cursor: pointer;\n}\n\nhtml body span.fe-arrow-close:after {\n position: absolute;\n border-top: 9px solid #fff;\n border-right: 9px solid transparent;\n border-left: 9px solid transparent;\n border-bottom: none;\n content: '';\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\nhtml body p.fe-toster-top svg {\n // width: 126px !important;\n display: none;\n}\n\nhtml body p.fe-toster-top .logo--color-2,\nhtml body p.fe-toster-top .logo--color-1 {\n fill: #fff;\n}\n\nhtml body .fe-bottom-toster a {\n text-transform: uppercase;\n color: #000;\n background: #fff;\n font-size: 13px;\n font-weight: bold;\n padding: 10px 20px;\n border-radius: 4px;\n display: inline-block;\n margin-bottom: 30px;\n font-family: Lato, arial, sans-serif;\n}\n\nhtml body .fe-toaster.fe-toster-close {\n transform: translateY(360px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\nhtml body .fe-toaster {\n transform: translateY(0px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\n\n#form.form .overlay-content-wrapper {\n display: none;\n}\n\n#form.form .overlay-content-wrapper.active {\n display: block;\n}","customJavascript":{"customJavascriptInstructions":[{"selector":"body","changes":[{"type":"jc","js":"function onLoadElement(selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (document && document.querySelectorAll(selector) && document.querySelectorAll(selector).length > 0) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n };\n \n \n var FEHelper = {\n onLoadDataLayer: function (trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (window && window.dataLayer && window.DataLayerHelper\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n },\n after: function (reference_selector, htmlString) {\n var reference_element = document.querySelectorAll(reference_selector);\n for (var i = 0; i < reference_element.length; i++) {\n reference_element[i].insertAdjacentHTML(\"afterend\", htmlString);\n }\n },\n waitforMarketo: function (trigger) {\n var interval = setInterval(function () {\n if (\n window.MktoForms2\n ) {\n clearInterval(interval);\n trigger();\n }\n }, 50);\n setTimeout(function () {\n clearInterval(interval);\n }, 10000);\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 setCookie: function (name, value, days) {\n var expires = \"\";\n if (days) {\n var date = new Date();\n date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));\n expires = \"; expires=\" + date.toUTCString();\n }\n document.cookie = name + \"=\" + (value || \"\") + expires + \"; path=/\";\n },\n 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 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 }\n }, 30);\n setTimeout(function () {\n clearInterval(waitForFunnelEnvy);\n }, 8000);\n }\n };\n \n \n //pop up form\n var form = \n '
'+\n '
'+\n '
'+\n '
' +\n '
'+\n '

Thank you for your request. You will receive an email shortly.

'+\n '

Thank you. Check your email for details on your request.

'+\n '
'+\n '
'+\n '
'\n ;\n\n\n //bottom toaster\n var feToaster = '' +\n '
' +\n ' ' +\n '

' +\n '

Credit Outlook 2022

' +\n '

As we begin to move forward from the uncertainty caused by the pandemic, new challenges and opportunities will arise in the year ahead. Our Credit Outlook series returns in 2022 to explore the next phase in credit markets.

' +\n 'See the year ahead in full color' +\n '
';\n\n var formbg = '
';\n\n // function to modify and style according to design all Marketo forms\nvar modifyMarketoForm = {\n init: function() {\n var self = this; \n // custom event 'mktoFormLoaded' is invoked when forms are loaded\n $(document).on(\n 'mktoFormLoaded',\n function() {\n self\n ._removeMarketoCSS();\n });\n },\n _removeMarketoCSS: function() {\n // remove the external stylesheets var\n links = window.document.getElementsByTagName('link');\n $(links).each( function() {\n var thisLinkElement = $(this);\n var thisLinkURL = thisLinkElement.attr('href');\n // if (thisLinkURL.indexOf('marketo') > 1) {\n // thisLinkElement.remove();\n // }\n }); \n // and the inline styles\n var marketoForms =\n $(\n \"[id*='mktoForm']\");\n marketoForms.each(\n function() {\n $(this)\n .find(\n 'style'\n )\n .remove();\n }); \n //and the style attributes\n marketoForms.each(\n function() {\n $(this)\n .find(\n '[style]'\n )\n .removeAttr(\n 'style'\n );\n });\n }\n}; //the document ready function\n\n \nfunction init() {\n console.log('Element has loaded!');\n \n \n // create formpop up element \n // var feToast = document.createElement('div');\n // feToast.setAttribute('class', 'form');\n // feToast.setAttribute('id', 'form');\n // feToast.innerHTML = form;\n \n \n // document.body.appendChild(feToast);\n var placement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader.header--overlay\");\nplacement.insertAdjacentHTML('beforeend', form);\n \n FEHelper.waitforMarketo(function () {\n //load mktoForm_3831 form\n MktoForms2.loadForm('//your.fitchratings.com', '732-CKH-767', 3750);\n modifyMarketoForm._removeMarketoCSS();\n MktoForms2.whenReady(function (form) {\n modifyMarketoForm._removeMarketoCSS();\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n var element = document.getElementById('mktoForm_3750');\n element.style.removeProperty(\"color\");\n element.style.removeProperty(\"width\");\n element.style.removeProperty(\"font-size\");\n element.style.removeProperty(\"font-family\");\n\n form.onSuccess(function (values, followUpUrl) {\n document.querySelector('#mktoForm_3750').style.display = 'none';\n document.querySelector('#confirmDemoForm').style.display = 'block';\n // FEHelper.fePushEvents(\"Newsletter Signup\");\n return false;\n });\n });\n });\n\n document.body.addEventListener('click', function (evt) {\n if (evt.target.className === 'overlay__close' || evt.target.className === 'fas fa-times') {\n var active = document.querySelector(\"#form .overlay-content-wrapper.active\");\n active.classList.remove(\"active\");\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader .overlay__bg\");\n bgplacement.remove();\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.add(\"active--action-bar\");\n headerClass.classList.remove(\"header--inverted\"); \n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.add(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.remove(\"active--search\"); \n\n }\n if (evt.target.id === 'linkto3750') {\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n bgplacement.insertAdjacentHTML('beforeend', formbg);\n\n var active = document.querySelector(\"#form .overlay-content-wrapper\");\n active.classList.add(\"active\");\n\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.remove(\"active--action-bar\");\n headerClass.classList.add(\"header--inverted\"); \n\n\n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.remove(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.add(\"active--search\"); \n\n }\n}, false);\n\n\n// create toaster element \nvar feToast = document.createElement('div');\nfeToast.setAttribute('class', 'fe-toaster');\nfeToast.setAttribute('id', 'fe-toaster');\nfeToast.innerHTML = feToaster;\n\ndocument.body.appendChild(feToast);\n\n//toaster toggle event added\nFEHelper.live('span.fe-arrow-close', 'click', function () {\ndocument.querySelector('.fe-toaster').classList.toggle('fe-toster-close');\n});\n\n \n };\n\n function removeScripts () {\n\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n };\n \n \n \n onLoadElement(\"body header\", init, 50, 10000);\n onLoadElement(\"body head mktoForms2BaseStyle\", removeScripts, 50, 10000);","lastChanged":"\"2021-11-19T11:00:14.865Z\"","selector":"body"}]}]},"id":"6197838a4a4d586f0b6ed3eb"},{"organization":"5c19de5ca98def372590dc5f","redirectUrl":"","name":"V3: Yellow & Dark CTA","campaign":"6197763a10674573399d66c6","campaignType":"visual","isArchived":true,"isBaselineVariation":false,"slug":"V1725292","sourceId":"V1725292","redirectCode":false,"createdAt":"2021-11-24T16:38:14.431Z","updatedAt":"2022-01-20T16:58:14.762Z","customCSS":"html body .fe-toaster {\n position: fixed;\n width: 382px;\n bottom: 20px;\n right: 0px;\n z-index: 9999;\n /* max-height: 0px; */\n}\n\nhtml body .fe-bottom-toster {\n background: #FFD500;\n padding: 20px 25px;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n position: relative;\n}\n\nhtml body .fe-bottom-toster h2, \nhtml body .fe-bottom-toster p, \nhtml body .fe-bottom-toster a {\n color: #333333;\n}\n\nhtml body h2.fe-toster-heading {\n font-size: 31px;\n line-height: 1.2;\n}\n\nhtml body p.fe-toster-subheading {\n font-size: 15px;\n padding-right: 10px;\n}\n\nhtml body span.fe-arrow-close {\n position: absolute;\n width: 35px;\n height: 25px;\n background: #FFD500;\n top: -24px;\n right: 0px;\n cursor: pointer;\n}\n\nhtml body span.fe-arrow-close:after {\n position: absolute;\n border-top: 9px solid #fff;\n border-right: 9px solid transparent;\n border-left: 9px solid transparent;\n border-bottom: none;\n content: '';\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\nhtml body p.fe-toster-top svg {\n // width: 126px !important;\n display: none;\n}\n\nhtml body p.fe-toster-top .logo--color-2,\nhtml body p.fe-toster-top .logo--color-1 {\n fill: #fff;\n}\n\nhtml body .fe-bottom-toster a {\n text-transform: uppercase;\n color: #fff;\n background: #333;\n font-size: 13px;\n font-weight: bold;\n padding: 10px 20px;\n border-radius: 4px;\n display: inline-block;\n margin-bottom: 30px;\n font-family: Lato, arial, sans-serif;\n}\n\nhtml body .fe-toaster.fe-toster-close {\n transform: translateY(360px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\nhtml body .fe-toaster {\n transform: translateY(0px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\n\n#form.form .overlay-content-wrapper {\n display: none;\n}\n\n#form.form .overlay-content-wrapper.active {\n display: block;\n}","customJavascript":{"customJavascriptInstructions":[{"selector":"body","changes":[{"type":"jc","js":"function onLoadElement(selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (document && document.querySelectorAll(selector) && document.querySelectorAll(selector).length > 0) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n };\n \n \n var FEHelper = {\n onLoadDataLayer: function (trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (window && window.dataLayer && window.DataLayerHelper\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n },\n after: function (reference_selector, htmlString) {\n var reference_element = document.querySelectorAll(reference_selector);\n for (var i = 0; i < reference_element.length; i++) {\n reference_element[i].insertAdjacentHTML(\"afterend\", htmlString);\n }\n },\n waitforMarketo: function (trigger) {\n var interval = setInterval(function () {\n if (\n window.MktoForms2\n ) {\n clearInterval(interval);\n trigger();\n }\n }, 50);\n setTimeout(function () {\n clearInterval(interval);\n }, 10000);\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 setCookie: function (name, value, days) {\n var expires = \"\";\n if (days) {\n var date = new Date();\n date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));\n expires = \"; expires=\" + date.toUTCString();\n }\n document.cookie = name + \"=\" + (value || \"\") + expires + \"; path=/\";\n },\n 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 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 }\n }, 30);\n setTimeout(function () {\n clearInterval(waitForFunnelEnvy);\n }, 8000);\n }\n };\n \n \n //pop up form\n var form = \n '
'+\n '
'+\n '
'+\n '
' +\n '
'+\n '

Thank you for your request. You will receive an email shortly.

'+\n '

Thank you. Check your email for details on your request.

'+\n '
'+\n '
'+\n '
'\n ;\n\n\n //bottom toaster\n var feToaster = '' +\n '
' +\n ' ' +\n '

' +\n '

Credit Outlook 2022

' +\n '

Our Credit Outlook series returns to explore what risks and trends will drive credit markets in 2022.

' +\n 'See the year ahead in full color   ➡' +\n '
';\n\n var formbg = '
';\n\n // function to modify and style according to design all Marketo forms\nvar modifyMarketoForm = {\n init: function() {\n var self = this; \n // custom event 'mktoFormLoaded' is invoked when forms are loaded\n $(document).on(\n 'mktoFormLoaded',\n function() {\n self\n ._removeMarketoCSS();\n });\n },\n _removeMarketoCSS: function() {\n // remove the external stylesheets var\n links = window.document.getElementsByTagName('link');\n $(links).each( function() {\n var thisLinkElement = $(this);\n var thisLinkURL = thisLinkElement.attr('href');\n // if (thisLinkURL.indexOf('marketo') > 1) {\n // thisLinkElement.remove();\n // }\n }); \n // and the inline styles\n var marketoForms =\n $(\n \"[id*='mktoForm']\");\n marketoForms.each(\n function() {\n $(this)\n .find(\n 'style'\n )\n .remove();\n }); \n //and the style attributes\n marketoForms.each(\n function() {\n $(this)\n .find(\n '[style]'\n )\n .removeAttr(\n 'style'\n );\n });\n }\n}; //the document ready function\n\n \nfunction init() {\n console.log('Element has loaded!');\n \n \n // create formpop up element \n // var feToast = document.createElement('div');\n // feToast.setAttribute('class', 'form');\n // feToast.setAttribute('id', 'form');\n // feToast.innerHTML = form;\n \n \n // document.body.appendChild(feToast);\n var placement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader.header--overlay\");\nplacement.insertAdjacentHTML('beforeend', form);\n \n FEHelper.waitforMarketo(function () {\n //load mktoForm_3831 form\n MktoForms2.loadForm('//your.fitchratings.com', '732-CKH-767', 3750);\n modifyMarketoForm._removeMarketoCSS();\n MktoForms2.whenReady(function (form) {\n modifyMarketoForm._removeMarketoCSS();\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n var element = document.getElementById('mktoForm_3750');\n element.style.removeProperty(\"color\");\n element.style.removeProperty(\"width\");\n element.style.removeProperty(\"font-size\");\n element.style.removeProperty(\"font-family\");\n\n form.onSuccess(function (values, followUpUrl) {\n document.querySelector('#mktoForm_3750').style.display = 'none';\n document.querySelector('#confirmDemoForm').style.display = 'block';\n // FEHelper.fePushEvents(\"Newsletter Signup\");\n return false;\n });\n });\n });\n\n document.body.addEventListener('click', function (evt) {\n if (evt.target.className === 'overlay__close' || evt.target.className === 'fas fa-times') {\n var active = document.querySelector(\"#form .overlay-content-wrapper.active\");\n active.classList.remove(\"active\");\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader .overlay__bg\");\n bgplacement.remove();\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.add(\"active--action-bar\");\n headerClass.classList.remove(\"header--inverted\"); \n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.add(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.remove(\"active--search\"); \n\n }\n if (evt.target.id === 'linkto3750') {\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n bgplacement.insertAdjacentHTML('beforeend', formbg);\n\n var active = document.querySelector(\"#form .overlay-content-wrapper\");\n active.classList.add(\"active\");\n\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.remove(\"active--action-bar\");\n headerClass.classList.add(\"header--inverted\"); \n\n\n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.remove(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.add(\"active--search\"); \n\n }\n}, false);\n\n\n// create toaster element \nvar feToast = document.createElement('div');\nfeToast.setAttribute('class', 'fe-toaster');\nfeToast.setAttribute('id', 'fe-toaster');\nfeToast.innerHTML = feToaster;\n\ndocument.body.appendChild(feToast);\n\n//toaster toggle event added\nFEHelper.live('span.fe-arrow-close', 'click', function () {\ndocument.querySelector('.fe-toaster').classList.toggle('fe-toster-close');\n});\n\n \n };\n\n function removeScripts () {\n\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n };\n \n \n \n onLoadElement(\"body header\", init, 50, 10000);\n onLoadElement(\"body head mktoForms2BaseStyle\", removeScripts, 50, 10000);","lastChanged":"\"2021-11-24T16:39:29.680Z\"","selector":"body"}]}]},"id":"619e6a764a4d586f0b6ed400"}],"organization":"5c19de5ca98def372590dc5f","holdbackVariation":null,"activeExperiment":null,"audience":null,"holdback":100,"holdbackMode":"random","trafficAllocation":100,"predictVariations":false,"decisionMode":"A/B/n Test","name":"LP MK 21 Nov Credit Outlooks","editorUrl":"https://www.fitchratings.com/topics/economics","pageTargets":[{"include":true,"url":"https://www.fitchratings.com/topics/economics","match":"simple"},{"include":true,"url":"https://www.fitchratings.com/sovereigns","match":"simple"},{"include":true,"url":"https://www.fitchratings.com/banks","match":"simple"},{"include":true,"url":"https://www.fitchratings.com/corporate-finance","match":"simple"},{"include":true,"url":"https://www.fitchratings.com/structured-finance","match":"simple"},{"include":true,"url":"https://www.fitchratings.com/entity/","match":"contains"}],"persistentDecisions":true,"source":"visual","sourceId":"C1175538","isArchived":false,"createdAt":"2021-09-28T23:43:29.800Z","updatedAt":"2022-01-20T16:58:14.754Z","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"","lastChanged":"2021-11-25T12:50:41.013Z"}]}]},"slug":"C1175538","status":"paused","runningFrom":"2021-11-22T10:58:56.720Z","pausedAt":"2022-01-20T16:58:14.659Z","id":"6197763a10674573399d66c6"},{"variations":[{"isBaselineVariation":true,"name":"Baseline variation","organization":"5c19de5ca98def372590dc5f","campaign":"619f8cedb34cd7395d0172ef","description":"","isArchived":true,"slug":"V127119649","sourceId":"V127119649","redirectUrl":"","redirectCode":false,"campaignType":"","createdAt":"2021-11-25T13:17:33.495Z","updatedAt":"2021-12-08T08:13:11.468Z","id":"619f8cedb34cd7395d0172f0"},{"organization":"5c19de5ca98def372590dc5f","redirectUrl":"","name":"v3: Dark blue link & arrow","campaignType":"visual","isArchived":true,"isBaselineVariation":false,"redirectCode":false,"customCSS":"html body .fe-toaster {\n position: fixed;\n width: 382px;\n bottom: 20px;\n right: 0px;\n z-index: 9999;\n /* max-height: 0px; */\n}\n\nhtml body .fe-bottom-toster {\n background: #003774;\n padding: 20px 25px;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n position: relative;\n}\n\nhtml body .fe-bottom-toster h2, \nhtml body .fe-bottom-toster p, \nhtml body .fe-bottom-toster a {\n color: #fff;\n}\n\nhtml body h2.fe-toster-heading {\n font-size: 31px;\n line-height: 1.2;\n}\n\nhtml body p.fe-toster-subheading {\n font-size: 15px;\n padding-right: 10px;\n}\n\nhtml body span.fe-arrow-close {\n position: absolute;\n width: 35px;\n height: 25px;\n background: #003774;\n top: -24px;\n right: 0px;\n cursor: pointer;\n}\n\nhtml body span.fe-arrow-close:after {\n position: absolute;\n border-top: 9px solid #fff;\n border-right: 9px solid transparent;\n border-left: 9px solid transparent;\n border-bottom: none;\n content: '';\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\nhtml body p.fe-toster-top svg {\n // width: 126px !important;\n display: none;\n}\n\nhtml body p.fe-toster-top .logo--color-2,\nhtml body p.fe-toster-top .logo--color-1 {\n fill: #fff;\n}\n\nhtml body .fe-bottom-toster a {\n text-transform: uppercase;\n color: #000;\n background: #fff;\n font-size: 13px;\n font-weight: bold;\n padding: 10px 20px;\n border-radius: 4px;\n display: inline-block;\n margin-bottom: 30px;\n font-family: Lato, arial, sans-serif;\n}\n\nhtml body .fe-toaster.fe-toster-close {\n transform: translateY(360px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\nhtml body .fe-toaster {\n transform: translateY(0px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\n\n#form.form .overlay-content-wrapper {\n display: none;\n}\n\n#form.form .overlay-content-wrapper.active {\n display: block;\n}","customJavascript":{"customJavascriptInstructions":[{"selector":"body","changes":[{"type":"jc","js":"function onLoadElement(selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (document && document.querySelectorAll(selector) && document.querySelectorAll(selector).length > 0) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n };\n \n \n var FEHelper = {\n onLoadDataLayer: function (trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (window && window.dataLayer && window.DataLayerHelper\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n },\n after: function (reference_selector, htmlString) {\n var reference_element = document.querySelectorAll(reference_selector);\n for (var i = 0; i < reference_element.length; i++) {\n reference_element[i].insertAdjacentHTML(\"afterend\", htmlString);\n }\n },\n waitforMarketo: function (trigger) {\n var interval = setInterval(function () {\n if (\n window.MktoForms2\n ) {\n clearInterval(interval);\n trigger();\n }\n }, 50);\n setTimeout(function () {\n clearInterval(interval);\n }, 10000);\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 setCookie: function (name, value, days) {\n var expires = \"\";\n if (days) {\n var date = new Date();\n date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));\n expires = \"; expires=\" + date.toUTCString();\n }\n document.cookie = name + \"=\" + (value || \"\") + expires + \"; path=/\";\n },\n 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 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 }\n }, 30);\n setTimeout(function () {\n clearInterval(waitForFunnelEnvy);\n }, 8000);\n }\n };\n \n \n //pop up form\n var form = \n '
'+\n '
'+\n '
'+\n '
' +\n '
'+\n '

Thank you for your request. You will receive an email shortly.

'+\n '

Thank you. Check your email for details on your request.

'+\n '
'+\n '
'+\n '
'\n ;\n\n\n //bottom toaster\n var feToaster = '' +\n '
' +\n ' ' +\n '

' +\n '

Credit Outlook 2022

' +\n '

As we begin to move forward from the uncertainty caused by the pandemic, new challenges and opportunities will arise in the year ahead. Our Credit Outlook series returns in 2022 to explore the next phase in credit markets.

' +\n 'See the year ahead in full color   ➡' +\n '
';\n\n var formbg = '
';\n\n // function to modify and style according to design all Marketo forms\nvar modifyMarketoForm = {\n init: function() {\n var self = this; \n // custom event 'mktoFormLoaded' is invoked when forms are loaded\n $(document).on(\n 'mktoFormLoaded',\n function() {\n self\n ._removeMarketoCSS();\n });\n },\n _removeMarketoCSS: function() {\n // remove the external stylesheets var\n links = window.document.getElementsByTagName('link');\n $(links).each( function() {\n var thisLinkElement = $(this);\n var thisLinkURL = thisLinkElement.attr('href');\n // if (thisLinkURL.indexOf('marketo') > 1) {\n // thisLinkElement.remove();\n // }\n }); \n // and the inline styles\n var marketoForms =\n $(\n \"[id*='mktoForm']\");\n marketoForms.each(\n function() {\n $(this)\n .find(\n 'style'\n )\n .remove();\n }); \n //and the style attributes\n marketoForms.each(\n function() {\n $(this)\n .find(\n '[style]'\n )\n .removeAttr(\n 'style'\n );\n });\n }\n}; //the document ready function\n\n \nfunction init() {\n console.log('Element has loaded!');\n \n \n // create formpop up element \n // var feToast = document.createElement('div');\n // feToast.setAttribute('class', 'form');\n // feToast.setAttribute('id', 'form');\n // feToast.innerHTML = form;\n \n \n // document.body.appendChild(feToast);\n var placement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader.header--overlay\");\nplacement.insertAdjacentHTML('beforeend', form);\n \n FEHelper.waitforMarketo(function () {\n //load mktoForm_3831 form\n MktoForms2.loadForm('//your.fitchratings.com', '732-CKH-767', 3750);\n modifyMarketoForm._removeMarketoCSS();\n MktoForms2.whenReady(function (form) {\n modifyMarketoForm._removeMarketoCSS();\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n var element = document.getElementById('mktoForm_3750');\n element.style.removeProperty(\"color\");\n element.style.removeProperty(\"width\");\n element.style.removeProperty(\"font-size\");\n element.style.removeProperty(\"font-family\");\n\n form.onSuccess(function (values, followUpUrl) {\n document.querySelector('#mktoForm_3750').style.display = 'none';\n document.querySelector('#confirmDemoForm').style.display = 'block';\n // FEHelper.fePushEvents(\"Newsletter Signup\");\n return false;\n });\n });\n });\n\n document.body.addEventListener('click', function (evt) {\n if (evt.target.className === 'overlay__close' || evt.target.className === 'fas fa-times') {\n var active = document.querySelector(\"#form .overlay-content-wrapper.active\");\n active.classList.remove(\"active\");\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader .overlay__bg\");\n bgplacement.remove();\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.add(\"active--action-bar\");\n headerClass.classList.remove(\"header--inverted\"); \n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.add(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.remove(\"active--search\"); \n\n }\n if (evt.target.id === 'linkto3750') {\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n bgplacement.insertAdjacentHTML('beforeend', formbg);\n\n var active = document.querySelector(\"#form .overlay-content-wrapper\");\n active.classList.add(\"active\");\n\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.remove(\"active--action-bar\");\n headerClass.classList.add(\"header--inverted\"); \n\n\n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.remove(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.add(\"active--search\"); \n\n }\n}, false);\n\n\n// create toaster element \nvar feToast = document.createElement('div');\nfeToast.setAttribute('class', 'fe-toaster');\nfeToast.setAttribute('id', 'fe-toaster');\nfeToast.innerHTML = feToaster;\n\ndocument.body.appendChild(feToast);\n\n//toaster toggle event added\nFEHelper.live('span.fe-arrow-close', 'click', function () {\ndocument.querySelector('.fe-toaster').classList.toggle('fe-toster-close');\n});\n\n \n };\n\n function removeScripts () {\n\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n };\n \n \n \n onLoadElement(\"body header\", init, 50, 10000);\n onLoadElement(\"body head mktoForms2BaseStyle\", removeScripts, 50, 10000);","lastChanged":"\"2021-11-19T10:56:33.971Z\"","selector":"body"}]}]},"campaign":"619f8cedb34cd7395d0172ef","slug":"V44380251","sourceId":"V44380251","createdAt":"2021-11-25T13:17:33.591Z","updatedAt":"2021-12-08T08:13:11.468Z","id":"619f8cedb34cd7395d0172f1"},{"organization":"5c19de5ca98def372590dc5f","redirectUrl":"","name":"V1: Burgundy link","campaignType":"visual","isArchived":true,"isBaselineVariation":false,"redirectCode":false,"customCSS":"html body .fe-toaster {\n position: fixed;\n width: 382px;\n bottom: 20px;\n right: 0px;\n z-index: 9999;\n /* max-height: 0px; */\n}\n\nhtml body .fe-bottom-toster {\n background: #a90000;\n padding: 20px 25px;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n position: relative;\n}\n\nhtml body .fe-bottom-toster h2, \nhtml body .fe-bottom-toster p, \nhtml body .fe-bottom-toster a {\n color: #fff;\n}\n\nhtml body h2.fe-toster-heading {\n font-size: 31px;\n line-height: 1.2;\n}\n\nhtml body p.fe-toster-subheading {\n font-size: 15px;\n padding-right: 10px;\n}\n\nhtml body span.fe-arrow-close {\n position: absolute;\n width: 35px;\n height: 25px;\n background: #a90000;\n top: -24px;\n right: 0px;\n cursor: pointer;\n}\n\nhtml body span.fe-arrow-close:after {\n position: absolute;\n border-top: 9px solid #fff;\n border-right: 9px solid transparent;\n border-left: 9px solid transparent;\n border-bottom: none;\n content: '';\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\nhtml body p.fe-toster-top svg {\n // width: 126px !important;\n display: none;\n}\n\nhtml body p.fe-toster-top .logo--color-2,\nhtml body p.fe-toster-top .logo--color-1 {\n fill: #fff;\n}\n\nhtml body .fe-bottom-toster a {\n text-transform: uppercase;\n color: #000;\n background: #fff;\n font-size: 13px;\n font-weight: bold;\n padding: 10px 20px;\n border-radius: 4px;\n display: inline-block;\n margin-bottom: 30px;\n font-family: Lato, arial, sans-serif;\n}\n\nhtml body .fe-toaster.fe-toster-close {\n transform: translateY(360px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\nhtml body .fe-toaster {\n transform: translateY(0px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\n\n#form.form .overlay-content-wrapper {\n display: none;\n}\n\n#form.form .overlay-content-wrapper.active {\n display: block;\n}","customJavascript":{"customJavascriptInstructions":[{"selector":"body","changes":[{"type":"jc","js":"function onLoadElement(selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (document && document.querySelectorAll(selector) && document.querySelectorAll(selector).length > 0) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n };\n \n \n var FEHelper = {\n onLoadDataLayer: function (trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (window && window.dataLayer && window.DataLayerHelper\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n },\n after: function (reference_selector, htmlString) {\n var reference_element = document.querySelectorAll(reference_selector);\n for (var i = 0; i < reference_element.length; i++) {\n reference_element[i].insertAdjacentHTML(\"afterend\", htmlString);\n }\n },\n waitforMarketo: function (trigger) {\n var interval = setInterval(function () {\n if (\n window.MktoForms2\n ) {\n clearInterval(interval);\n trigger();\n }\n }, 50);\n setTimeout(function () {\n clearInterval(interval);\n }, 10000);\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 setCookie: function (name, value, days) {\n var expires = \"\";\n if (days) {\n var date = new Date();\n date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));\n expires = \"; expires=\" + date.toUTCString();\n }\n document.cookie = name + \"=\" + (value || \"\") + expires + \"; path=/\";\n },\n 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 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 }\n }, 30);\n setTimeout(function () {\n clearInterval(waitForFunnelEnvy);\n }, 8000);\n }\n };\n \n \n //pop up form\n var form = \n '
'+\n '
'+\n '
'+\n '
' +\n '
'+\n '

Thank you for your request. You will receive an email shortly.

'+\n '

Thank you. Check your email for details on your request.

'+\n '
'+\n '
'+\n '
'\n ;\n\n\n //bottom toaster\n var feToaster = '' +\n '
' +\n ' ' +\n '

' +\n '

Credit Outlook 2022

' +\n '

As we begin to move forward from the uncertainty caused by the pandemic, new challenges and opportunities will arise in the year ahead. Our Credit Outlook series returns in 2022 to explore the next phase in credit markets.

' +\n 'See the year ahead in full color' +\n '
';\n\n var formbg = '
';\n\n // function to modify and style according to design all Marketo forms\nvar modifyMarketoForm = {\n init: function() {\n var self = this; \n // custom event 'mktoFormLoaded' is invoked when forms are loaded\n $(document).on(\n 'mktoFormLoaded',\n function() {\n self\n ._removeMarketoCSS();\n });\n },\n _removeMarketoCSS: function() {\n // remove the external stylesheets var\n links = window.document.getElementsByTagName('link');\n $(links).each( function() {\n var thisLinkElement = $(this);\n var thisLinkURL = thisLinkElement.attr('href');\n // if (thisLinkURL.indexOf('marketo') > 1) {\n // thisLinkElement.remove();\n // }\n }); \n // and the inline styles\n var marketoForms =\n $(\n \"[id*='mktoForm']\");\n marketoForms.each(\n function() {\n $(this)\n .find(\n 'style'\n )\n .remove();\n }); \n //and the style attributes\n marketoForms.each(\n function() {\n $(this)\n .find(\n '[style]'\n )\n .removeAttr(\n 'style'\n );\n });\n }\n}; //the document ready function\n\n \nfunction init() {\n console.log('Element has loaded!');\n \n \n // create formpop up element \n // var feToast = document.createElement('div');\n // feToast.setAttribute('class', 'form');\n // feToast.setAttribute('id', 'form');\n // feToast.innerHTML = form;\n \n \n // document.body.appendChild(feToast);\n var placement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader.header--overlay\");\nplacement.insertAdjacentHTML('beforeend', form);\n \n FEHelper.waitforMarketo(function () {\n //load mktoForm_3831 form\n MktoForms2.loadForm('//your.fitchratings.com', '732-CKH-767', 3750);\n modifyMarketoForm._removeMarketoCSS();\n MktoForms2.whenReady(function (form) {\n modifyMarketoForm._removeMarketoCSS();\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n var element = document.getElementById('mktoForm_3750');\n element.style.removeProperty(\"color\");\n element.style.removeProperty(\"width\");\n element.style.removeProperty(\"font-size\");\n element.style.removeProperty(\"font-family\");\n\n form.onSuccess(function (values, followUpUrl) {\n document.querySelector('#mktoForm_3750').style.display = 'none';\n document.querySelector('#confirmDemoForm').style.display = 'block';\n // FEHelper.fePushEvents(\"Newsletter Signup\");\n return false;\n });\n });\n });\n\n document.body.addEventListener('click', function (evt) {\n if (evt.target.className === 'overlay__close' || evt.target.className === 'fas fa-times') {\n var active = document.querySelector(\"#form .overlay-content-wrapper.active\");\n active.classList.remove(\"active\");\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader .overlay__bg\");\n bgplacement.remove();\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.add(\"active--action-bar\");\n headerClass.classList.remove(\"header--inverted\"); \n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.add(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.remove(\"active--search\"); \n\n }\n if (evt.target.id === 'linkto3750') {\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n bgplacement.insertAdjacentHTML('beforeend', formbg);\n\n var active = document.querySelector(\"#form .overlay-content-wrapper\");\n active.classList.add(\"active\");\n\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.remove(\"active--action-bar\");\n headerClass.classList.add(\"header--inverted\"); \n\n\n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.remove(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.add(\"active--search\"); \n\n }\n}, false);\n\n\n// create toaster element \nvar feToast = document.createElement('div');\nfeToast.setAttribute('class', 'fe-toaster');\nfeToast.setAttribute('id', 'fe-toaster');\nfeToast.innerHTML = feToaster;\n\ndocument.body.appendChild(feToast);\n\n//toaster toggle event added\nFEHelper.live('span.fe-arrow-close', 'click', function () {\ndocument.querySelector('.fe-toaster').classList.toggle('fe-toster-close');\n});\n\n \n };\n\n function removeScripts () {\n\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n };\n \n \n \n onLoadElement(\"body header\", init, 50, 10000);\n onLoadElement(\"body head mktoForms2BaseStyle\", removeScripts, 50, 10000);","lastChanged":"\"2021-11-19T11:00:14.865Z\"","selector":"body"}]}]},"campaign":"619f8cedb34cd7395d0172ef","slug":"V14626891","sourceId":"V14626891","createdAt":"2021-11-25T13:17:33.595Z","updatedAt":"2021-12-08T08:13:11.468Z","id":"619f8cedb34cd7395d0172f2"},{"organization":"5c19de5ca98def372590dc5f","redirectUrl":"","name":"v4: Mustard link & arrow","campaignType":"visual","isArchived":true,"isBaselineVariation":false,"redirectCode":false,"customCSS":"html body .fe-toaster {\n position: fixed;\n width: 382px;\n bottom: 20px;\n right: 0px;\n z-index: 9999;\n /* max-height: 0px; */\n}\n\nhtml body .fe-bottom-toster {\n background: #ac8600;\n padding: 20px 25px;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n position: relative;\n}\n\nhtml body .fe-bottom-toster h2, \nhtml body .fe-bottom-toster p, \nhtml body .fe-bottom-toster a {\n color: #fff;\n}\n\nhtml body h2.fe-toster-heading {\n font-size: 31px;\n line-height: 1.2;\n}\n\nhtml body p.fe-toster-subheading {\n font-size: 15px;\n padding-right: 10px;\n}\n\nhtml body span.fe-arrow-close {\n position: absolute;\n width: 35px;\n height: 25px;\n background: #ac8600;\n top: -24px;\n right: 0px;\n cursor: pointer;\n}\n\nhtml body span.fe-arrow-close:after {\n position: absolute;\n border-top: 9px solid #fff;\n border-right: 9px solid transparent;\n border-left: 9px solid transparent;\n border-bottom: none;\n content: '';\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\nhtml body p.fe-toster-top svg {\n // width: 126px !important;\n display: none;\n}\n\nhtml body p.fe-toster-top .logo--color-2,\nhtml body p.fe-toster-top .logo--color-1 {\n fill: #fff;\n}\n\nhtml body .fe-bottom-toster a {\n text-transform: uppercase;\n color: #000;\n background: #fff;\n font-size: 13px;\n font-weight: bold;\n padding: 10px 20px;\n border-radius: 4px;\n display: inline-block;\n margin-bottom: 30px;\n font-family: Lato, arial, sans-serif;\n}\n\nhtml body .fe-toaster.fe-toster-close {\n transform: translateY(360px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\nhtml body .fe-toaster {\n transform: translateY(0px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\n\n#form.form .overlay-content-wrapper {\n display: none;\n}\n\n#form.form .overlay-content-wrapper.active {\n display: block;\n}","customJavascript":{"customJavascriptInstructions":[{"selector":"body","changes":[{"type":"jc","js":"function onLoadElement(selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (document && document.querySelectorAll(selector) && document.querySelectorAll(selector).length > 0) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n };\n \n \n var FEHelper = {\n onLoadDataLayer: function (trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (window && window.dataLayer && window.DataLayerHelper\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n },\n after: function (reference_selector, htmlString) {\n var reference_element = document.querySelectorAll(reference_selector);\n for (var i = 0; i < reference_element.length; i++) {\n reference_element[i].insertAdjacentHTML(\"afterend\", htmlString);\n }\n },\n waitforMarketo: function (trigger) {\n var interval = setInterval(function () {\n if (\n window.MktoForms2\n ) {\n clearInterval(interval);\n trigger();\n }\n }, 50);\n setTimeout(function () {\n clearInterval(interval);\n }, 10000);\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 setCookie: function (name, value, days) {\n var expires = \"\";\n if (days) {\n var date = new Date();\n date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));\n expires = \"; expires=\" + date.toUTCString();\n }\n document.cookie = name + \"=\" + (value || \"\") + expires + \"; path=/\";\n },\n 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 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 }\n }, 30);\n setTimeout(function () {\n clearInterval(waitForFunnelEnvy);\n }, 8000);\n }\n };\n \n \n //pop up form\n var form = \n '
'+\n '
'+\n '
'+\n '
' +\n '
'+\n '

Thank you for your request. You will receive an email shortly.

'+\n '

Thank you. Check your email for details on your request.

'+\n '
'+\n '
'+\n '
'\n ;\n\n\n //bottom toaster\n var feToaster = '' +\n '
' +\n ' ' +\n '

' +\n '

Credit Outlook 2022

' +\n '

As we begin to move forward from the uncertainty caused by the pandemic, new challenges and opportunities will arise in the year ahead. Our Credit Outlook series returns in 2022 to explore the next phase in credit markets.

' +\n 'See the year ahead in full color   ➡' +\n '
';\n\n var formbg = '
';\n\n // function to modify and style according to design all Marketo forms\nvar modifyMarketoForm = {\n init: function() {\n var self = this; \n // custom event 'mktoFormLoaded' is invoked when forms are loaded\n $(document).on(\n 'mktoFormLoaded',\n function() {\n self\n ._removeMarketoCSS();\n });\n },\n _removeMarketoCSS: function() {\n // remove the external stylesheets var\n links = window.document.getElementsByTagName('link');\n $(links).each( function() {\n var thisLinkElement = $(this);\n var thisLinkURL = thisLinkElement.attr('href');\n // if (thisLinkURL.indexOf('marketo') > 1) {\n // thisLinkElement.remove();\n // }\n }); \n // and the inline styles\n var marketoForms =\n $(\n \"[id*='mktoForm']\");\n marketoForms.each(\n function() {\n $(this)\n .find(\n 'style'\n )\n .remove();\n }); \n //and the style attributes\n marketoForms.each(\n function() {\n $(this)\n .find(\n '[style]'\n )\n .removeAttr(\n 'style'\n );\n });\n }\n}; //the document ready function\n\n \nfunction init() {\n console.log('Element has loaded!');\n \n \n // create formpop up element \n // var feToast = document.createElement('div');\n // feToast.setAttribute('class', 'form');\n // feToast.setAttribute('id', 'form');\n // feToast.innerHTML = form;\n \n \n // document.body.appendChild(feToast);\n var placement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader.header--overlay\");\nplacement.insertAdjacentHTML('beforeend', form);\n \n FEHelper.waitforMarketo(function () {\n //load mktoForm_3831 form\n MktoForms2.loadForm('//your.fitchratings.com', '732-CKH-767', 3750);\n modifyMarketoForm._removeMarketoCSS();\n MktoForms2.whenReady(function (form) {\n modifyMarketoForm._removeMarketoCSS();\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n var element = document.getElementById('mktoForm_3750');\n element.style.removeProperty(\"color\");\n element.style.removeProperty(\"width\");\n element.style.removeProperty(\"font-size\");\n element.style.removeProperty(\"font-family\");\n\n form.onSuccess(function (values, followUpUrl) {\n document.querySelector('#mktoForm_3750').style.display = 'none';\n document.querySelector('#confirmDemoForm').style.display = 'block';\n // FEHelper.fePushEvents(\"Newsletter Signup\");\n return false;\n });\n });\n });\n\n document.body.addEventListener('click', function (evt) {\n if (evt.target.className === 'overlay__close' || evt.target.className === 'fas fa-times') {\n var active = document.querySelector(\"#form .overlay-content-wrapper.active\");\n active.classList.remove(\"active\");\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader .overlay__bg\");\n bgplacement.remove();\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.add(\"active--action-bar\");\n headerClass.classList.remove(\"header--inverted\"); \n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.add(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.remove(\"active--search\"); \n\n }\n if (evt.target.id === 'linkto3750') {\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n bgplacement.insertAdjacentHTML('beforeend', formbg);\n\n var active = document.querySelector(\"#form .overlay-content-wrapper\");\n active.classList.add(\"active\");\n\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.remove(\"active--action-bar\");\n headerClass.classList.add(\"header--inverted\"); \n\n\n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.remove(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.add(\"active--search\"); \n\n }\n}, false);\n\n\n// create toaster element \nvar feToast = document.createElement('div');\nfeToast.setAttribute('class', 'fe-toaster');\nfeToast.setAttribute('id', 'fe-toaster');\nfeToast.innerHTML = feToaster;\n\ndocument.body.appendChild(feToast);\n\n//toaster toggle event added\nFEHelper.live('span.fe-arrow-close', 'click', function () {\ndocument.querySelector('.fe-toaster').classList.toggle('fe-toster-close');\n});\n\n \n };\n\n function removeScripts () {\n\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n };\n \n \n \n onLoadElement(\"body header\", init, 50, 10000);\n onLoadElement(\"body head mktoForms2BaseStyle\", removeScripts, 50, 10000);","lastChanged":"\"2021-11-19T10:58:10.946Z\"","selector":"body"}]}]},"campaign":"619f8cedb34cd7395d0172ef","slug":"V14824721","sourceId":"V14824721","createdAt":"2021-11-25T13:17:33.610Z","updatedAt":"2021-12-08T08:13:11.468Z","id":"619f8cedb34cd7395d0172f3"},{"organization":"5c19de5ca98def372590dc5f","redirectUrl":"","name":"V2: Teal & Light CTA","campaignType":"visual","isArchived":false,"isBaselineVariation":false,"redirectCode":false,"customCSS":"html body .fe-toaster {\n position: fixed;\n width: 382px;\n bottom: 20px;\n right: 0px;\n z-index: 9999;\n /* max-height: 0px; */\n}\n\nhtml body .fe-bottom-toster {\n background: #275B9B;\n padding: 20px 25px;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n position: relative;\n}\n\nhtml body .fe-bottom-toster h2, \nhtml body .fe-bottom-toster p, \nhtml body .fe-bottom-toster a {\n color: #fff;\n}\n\nhtml body h2.fe-toster-heading {\n font-size: 31px;\n line-height: 1.2;\n}\n\nhtml body p.fe-toster-subheading {\n font-size: 15px;\n padding-right: 10px;\n}\n\nhtml body span.fe-arrow-close {\n position: absolute;\n width: 35px;\n height: 25px;\n background: #275B9B;\n top: -24px;\n right: 0px;\n cursor: pointer;\n}\n\nhtml body span.fe-arrow-close:after {\n position: absolute;\n border-top: 9px solid #fff;\n border-right: 9px solid transparent;\n border-left: 9px solid transparent;\n border-bottom: none;\n content: '';\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\nhtml body p.fe-toster-top svg {\n // width: 126px !important;\n display: none;\n}\n\nhtml body p.fe-toster-top .logo--color-2,\nhtml body p.fe-toster-top .logo--color-1 {\n fill: #fff;\n}\n\nhtml body .fe-bottom-toster a {\n text-transform: uppercase;\n color: #000;\n background: #fff;\n font-size: 13px;\n font-weight: bold;\n padding: 10px 20px;\n border-radius: 4px;\n display: inline-block;\n margin-bottom: 30px;\n font-family: Lato, arial, sans-serif;\n}\n\nhtml body .fe-toaster.fe-toster-close {\n transform: translateY(360px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\nhtml body .fe-toaster {\n transform: translateY(0px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\n\n#form.form .overlay-content-wrapper {\n display: none;\n}\n\n#form.form .overlay-content-wrapper.active {\n display: block;\n}","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"function onLoadElement(selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (document && document.querySelectorAll(selector) && document.querySelectorAll(selector).length > 0) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n };\n \n \n var FEHelper = {\n onLoadDataLayer: function (trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (window && window.dataLayer && window.DataLayerHelper\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n },\n after: function (reference_selector, htmlString) {\n var reference_element = document.querySelectorAll(reference_selector);\n for (var i = 0; i < reference_element.length; i++) {\n reference_element[i].insertAdjacentHTML(\"afterend\", htmlString);\n }\n },\n waitforMarketo: function (trigger) {\n var interval = setInterval(function () {\n if (\n window.MktoForms2\n ) {\n clearInterval(interval);\n trigger();\n }\n }, 50);\n setTimeout(function () {\n clearInterval(interval);\n }, 10000);\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 setCookie: function (name, value, days) {\n var expires = \"\";\n if (days) {\n var date = new Date();\n date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));\n expires = \"; expires=\" + date.toUTCString();\n }\n document.cookie = name + \"=\" + (value || \"\") + expires + \"; path=/\";\n },\n 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 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 }\n }, 30);\n setTimeout(function () {\n clearInterval(waitForFunnelEnvy);\n }, 8000);\n }\n };\n \n \n //pop up form\n var form = \n '
'+\n '
'+\n '
'+\n '
' +\n '
'+\n '

Thank you for your request. You will receive an email shortly.

'+\n '

Thank you. Check your email for details on your request.

'+\n '
'+\n '
'+\n '
'\n ;\n\n\n //bottom toaster\n var feToaster = '' +\n '
' +\n ' ' +\n '

' +\n '

Credit Outlook 2022

' +\n '

Our Credit Outlook series returns to explore what risks and trends will drive credit markets in 2022.

' +\n 'See the year ahead in full color' +\n '
';\n\n var formbg = '
';\n\n // function to modify and style according to design all Marketo forms\nvar modifyMarketoForm = {\n init: function() {\n var self = this; \n // custom event 'mktoFormLoaded' is invoked when forms are loaded\n $(document).on(\n 'mktoFormLoaded',\n function() {\n self\n ._removeMarketoCSS();\n });\n },\n _removeMarketoCSS: function() {\n // remove the external stylesheets var\n links = window.document.getElementsByTagName('link');\n $(links).each( function() {\n var thisLinkElement = $(this);\n var thisLinkURL = thisLinkElement.attr('href');\n // if (thisLinkURL.indexOf('marketo') > 1) {\n // thisLinkElement.remove();\n // }\n }); \n // and the inline styles\n var marketoForms =\n $(\n \"[id*='mktoForm']\");\n marketoForms.each(\n function() {\n $(this)\n .find(\n 'style'\n )\n .remove();\n }); \n //and the style attributes\n marketoForms.each(\n function() {\n $(this)\n .find(\n '[style]'\n )\n .removeAttr(\n 'style'\n );\n });\n }\n}; //the document ready function\n\n \nfunction init() {\n console.log('Element has loaded!');\n \n \n // create formpop up element \n // var feToast = document.createElement('div');\n // feToast.setAttribute('class', 'form');\n // feToast.setAttribute('id', 'form');\n // feToast.innerHTML = form;\n \n \n // document.body.appendChild(feToast);\n var placement = document.querySelector(\"#gatsby-focus-wrapper .header--overlay\");\nplacement.insertAdjacentHTML('beforeend', form);\n \n FEHelper.waitforMarketo(function () {\n //load mktoForm_3831 form\n MktoForms2.loadForm('//your.fitchratings.com', '732-CKH-767', 3750);\n modifyMarketoForm._removeMarketoCSS();\n MktoForms2.whenReady(function (form) {\n modifyMarketoForm._removeMarketoCSS();\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n var element = document.getElementById('mktoForm_3750');\n element.style.removeProperty(\"color\");\n element.style.removeProperty(\"width\");\n element.style.removeProperty(\"font-size\");\n element.style.removeProperty(\"font-family\");\n\n form.onSuccess(function (values, followUpUrl) {\n document.querySelector('#mktoForm_3750').style.display = 'none';\n document.querySelector('#confirmDemoForm').style.display = 'block';\n // FEHelper.fePushEvents(\"Newsletter Signup\");\n return false;\n });\n });\n });\n\n document.body.addEventListener('click', function (evt) {\n if (evt.target.className === 'overlay__close' || evt.target.className === 'fas fa-times') {\n var active = document.querySelector(\"#form .overlay-content-wrapper.active\");\n active.classList.remove(\"active\");\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader .overlay__bg\");\n bgplacement.remove();\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.add(\"active--action-bar\");\n headerClass.classList.remove(\"header--inverted\"); \n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.add(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.remove(\"active--search\"); \n\n }\n if (evt.target.id === 'linkto3750') {\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n bgplacement.insertAdjacentHTML('beforeend', formbg);\n\n var active = document.querySelector(\"#form .overlay-content-wrapper\");\n active.classList.add(\"active\");\n\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.remove(\"active--action-bar\");\n headerClass.classList.add(\"header--inverted\"); \n\n\n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.remove(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.add(\"active--search\"); \n\n }\n}, false);\n\n\n// create toaster element \nvar feToast = document.createElement('div');\nfeToast.setAttribute('class', 'fe-toaster');\nfeToast.setAttribute('id', 'fe-toaster');\nfeToast.innerHTML = feToaster;\n\ndocument.body.appendChild(feToast);\n\n//toaster toggle event added\nFEHelper.live('span.fe-arrow-close', 'click', function () {\ndocument.querySelector('.fe-toaster').classList.toggle('fe-toster-close');\n});\n\nFEHelper.live('span.fe-arrow-close', 'click', function () {\ndocument.querySelector('.fe-toaster').classList.toggle('fe-toster-close');\nFEHelper.setCookie(\"popupseen\",1,365)\n});\n\n \n };\n\n function removeScripts () {\n\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n };\n \n \n \n onLoadElement(\"body header\", init, 50, 10000);\n onLoadElement(\"body head mktoForms2BaseStyle\", removeScripts, 50, 10000);","lastChanged":"\"2021-12-06T15:35:47.961Z\"","selector":"body"}],"selector":"body"}]},"campaign":"619f8cedb34cd7395d0172ef","slug":"V2134488","sourceId":"V2134488","createdAt":"2021-11-25T13:17:33.635Z","updatedAt":"2021-12-08T08:13:11.469Z","id":"619f8cedb34cd7395d0172f4"},{"organization":"5c19de5ca98def372590dc5f","redirectUrl":"","name":"V1: Burgundy link & arrow","campaignType":"visual","isArchived":true,"isBaselineVariation":false,"redirectCode":false,"customCSS":"html body .fe-toaster {\n position: fixed;\n width: 382px;\n bottom: 20px;\n right: 0px;\n z-index: 9999;\n /* max-height: 0px; */\n}\n\nhtml body .fe-bottom-toster {\n background: #a90000;\n padding: 20px 25px;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n position: relative;\n}\n\nhtml body .fe-bottom-toster h2, \nhtml body .fe-bottom-toster p, \nhtml body .fe-bottom-toster a {\n color: #fff;\n}\n\nhtml body h2.fe-toster-heading {\n font-size: 31px;\n line-height: 1.2;\n}\n\nhtml body p.fe-toster-subheading {\n font-size: 15px;\n padding-right: 10px;\n}\n\nhtml body span.fe-arrow-close {\n position: absolute;\n width: 35px;\n height: 25px;\n background: #a90000;\n top: -24px;\n right: 0px;\n cursor: pointer;\n}\n\nhtml body span.fe-arrow-close:after {\n position: absolute;\n border-top: 9px solid #fff;\n border-right: 9px solid transparent;\n border-left: 9px solid transparent;\n border-bottom: none;\n content: '';\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\nhtml body p.fe-toster-top svg {\n // width: 126px !important;\n display: none;\n}\n\nhtml body p.fe-toster-top .logo--color-2,\nhtml body p.fe-toster-top .logo--color-1 {\n fill: #fff;\n}\n\nhtml body .fe-bottom-toster a {\n text-transform: uppercase;\n color: #000;\n background: #fff;\n font-size: 13px;\n font-weight: bold;\n padding: 10px 20px;\n border-radius: 4px;\n display: inline-block;\n margin-bottom: 30px;\n font-family: Lato, arial, sans-serif;\n}\n\nhtml body .fe-toaster.fe-toster-close {\n transform: translateY(360px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\nhtml body .fe-toaster {\n transform: translateY(0px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\n\n#form.form .overlay-content-wrapper {\n display: none;\n}\n\n#form.form .overlay-content-wrapper.active {\n display: block;\n}","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"function onLoadElement(selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (document && document.querySelectorAll(selector) && document.querySelectorAll(selector).length > 0) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n };\n \n \n var FEHelper = {\n onLoadDataLayer: function (trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (window && window.dataLayer && window.DataLayerHelper\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n },\n after: function (reference_selector, htmlString) {\n var reference_element = document.querySelectorAll(reference_selector);\n for (var i = 0; i < reference_element.length; i++) {\n reference_element[i].insertAdjacentHTML(\"afterend\", htmlString);\n }\n },\n waitforMarketo: function (trigger) {\n var interval = setInterval(function () {\n if (\n window.MktoForms2\n ) {\n clearInterval(interval);\n trigger();\n }\n }, 50);\n setTimeout(function () {\n clearInterval(interval);\n }, 10000);\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 setCookie: function (name, value, days) {\n var expires = \"\";\n if (days) {\n var date = new Date();\n date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));\n expires = \"; expires=\" + date.toUTCString();\n }\n document.cookie = name + \"=\" + (value || \"\") + expires + \"; path=/\";\n },\n 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 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 }\n }, 30);\n setTimeout(function () {\n clearInterval(waitForFunnelEnvy);\n }, 8000);\n }\n };\n \n \n //pop up form\n var form = \n '
'+\n '
'+\n '
'+\n '
' +\n '
'+\n '

Thank you for your request. You will receive an email shortly.

'+\n '

Thank you. Check your email for details on your request.

'+\n '
'+\n '
'+\n '
'\n ;\n\n\n //bottom toaster\n var feToaster = '' +\n '
' +\n ' ' +\n '

' +\n '

Credit Outlook 2022

' +\n '

As we begin to move forward from the uncertainty caused by the pandemic, new challenges and opportunities will arise in the year ahead. Our Credit Outlook series returns in 2022 to explore the next phase in credit markets.

' +\n 'See the year ahead in full color   ➡' +\n '
';\n\n var formbg = '
';\n\n // function to modify and style according to design all Marketo forms\nvar modifyMarketoForm = {\n init: function() {\n var self = this; \n // custom event 'mktoFormLoaded' is invoked when forms are loaded\n $(document).on(\n 'mktoFormLoaded',\n function() {\n self\n ._removeMarketoCSS();\n });\n },\n _removeMarketoCSS: function() {\n // remove the external stylesheets var\n links = window.document.getElementsByTagName('link');\n $(links).each( function() {\n var thisLinkElement = $(this);\n var thisLinkURL = thisLinkElement.attr('href');\n // if (thisLinkURL.indexOf('marketo') > 1) {\n // thisLinkElement.remove();\n // }\n }); \n // and the inline styles\n var marketoForms =\n $(\n \"[id*='mktoForm']\");\n marketoForms.each(\n function() {\n $(this)\n .find(\n 'style'\n )\n .remove();\n }); \n //and the style attributes\n marketoForms.each(\n function() {\n $(this)\n .find(\n '[style]'\n )\n .removeAttr(\n 'style'\n );\n });\n }\n}; //the document ready function\n\n \nfunction init() {\n console.log('Element has loaded!');\n \n \n // create formpop up element \n // var feToast = document.createElement('div');\n // feToast.setAttribute('class', 'form');\n // feToast.setAttribute('id', 'form');\n // feToast.innerHTML = form;\n \n \n // document.body.appendChild(feToast);\n var placement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader.header--overlay\");\nplacement.insertAdjacentHTML('beforeend', form);\n \n FEHelper.waitforMarketo(function () {\n //load mktoForm_3831 form\n MktoForms2.loadForm('//your.fitchratings.com', '732-CKH-767', 3750);\n modifyMarketoForm._removeMarketoCSS();\n MktoForms2.whenReady(function (form) {\n modifyMarketoForm._removeMarketoCSS();\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n var element = document.getElementById('mktoForm_3750');\n element.style.removeProperty(\"color\");\n element.style.removeProperty(\"width\");\n element.style.removeProperty(\"font-size\");\n element.style.removeProperty(\"font-family\");\n\n form.onSuccess(function (values, followUpUrl) {\n document.querySelector('#mktoForm_3750').style.display = 'none';\n document.querySelector('#confirmDemoForm').style.display = 'block';\n // FEHelper.fePushEvents(\"Newsletter Signup\");\n return false;\n });\n });\n });\n\n document.body.addEventListener('click', function (evt) {\n if (evt.target.className === 'overlay__close' || evt.target.className === 'fas fa-times') {\n var active = document.querySelector(\"#form .overlay-content-wrapper.active\");\n active.classList.remove(\"active\");\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader .overlay__bg\");\n bgplacement.remove();\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.add(\"active--action-bar\");\n headerClass.classList.remove(\"header--inverted\"); \n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.add(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.remove(\"active--search\"); \n\n }\n if (evt.target.id === 'linkto3750') {\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n bgplacement.insertAdjacentHTML('beforeend', formbg);\n\n var active = document.querySelector(\"#form .overlay-content-wrapper\");\n active.classList.add(\"active\");\n\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.remove(\"active--action-bar\");\n headerClass.classList.add(\"header--inverted\"); \n\n\n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.remove(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.add(\"active--search\"); \n\n }\n}, false);\n\n\n// create toaster element \nvar feToast = document.createElement('div');\nfeToast.setAttribute('class', 'fe-toaster');\nfeToast.setAttribute('id', 'fe-toaster');\nfeToast.innerHTML = feToaster;\n\ndocument.body.appendChild(feToast);\n\n//toaster toggle event added\nFEHelper.live('span.fe-arrow-close', 'click', function () {\ndocument.querySelector('.fe-toaster').classList.toggle('fe-toster-close');\n});\n\n \n };\n\n function removeScripts () {\n\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n };\n \n \n \n onLoadElement(\"body header\", init, 50, 10000);\n onLoadElement(\"body head mktoForms2BaseStyle\", removeScripts, 50, 10000);","lastChanged":"\"2021-11-19T10:48:23.819Z\"","selector":"body"}],"selector":"body"}]},"campaign":"619f8cedb34cd7395d0172ef","slug":"V6869171","sourceId":"V6869171","createdAt":"2021-11-25T13:17:33.643Z","updatedAt":"2021-12-08T08:13:11.469Z","id":"619f8cedb34cd7395d0172f5"},{"organization":"5c19de5ca98def372590dc5f","redirectUrl":"","name":"V3: Yellow & Dark CTA","campaignType":"visual","isArchived":true,"isBaselineVariation":false,"redirectCode":false,"customCSS":"html body .fe-toaster {\n position: fixed;\n width: 382px;\n bottom: 20px;\n right: 0px;\n z-index: 9999;\n /* max-height: 0px; */\n}\n\nhtml body .fe-bottom-toster {\n background: #FFD500;\n padding: 20px 25px;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n position: relative;\n}\n\nhtml body .fe-bottom-toster h2, \nhtml body .fe-bottom-toster p, \nhtml body .fe-bottom-toster a {\n color: #333333;\n}\n\nhtml body h2.fe-toster-heading {\n font-size: 31px;\n line-height: 1.2;\n}\n\nhtml body p.fe-toster-subheading {\n font-size: 15px;\n padding-right: 10px;\n}\n\nhtml body span.fe-arrow-close {\n position: absolute;\n width: 35px;\n height: 25px;\n background: #FFD500;\n top: -24px;\n right: 0px;\n cursor: pointer;\n}\n\nhtml body span.fe-arrow-close:after {\n position: absolute;\n border-top: 9px solid #fff;\n border-right: 9px solid transparent;\n border-left: 9px solid transparent;\n border-bottom: none;\n content: '';\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\nhtml body p.fe-toster-top svg {\n // width: 126px !important;\n display: none;\n}\n\nhtml body p.fe-toster-top .logo--color-2,\nhtml body p.fe-toster-top .logo--color-1 {\n fill: #fff;\n}\n\nhtml body .fe-bottom-toster a {\n text-transform: uppercase;\n color: #fff;\n background: #333;\n font-size: 13px;\n font-weight: bold;\n padding: 10px 20px;\n border-radius: 4px;\n display: inline-block;\n margin-bottom: 30px;\n font-family: Lato, arial, sans-serif;\n}\n\nhtml body .fe-toaster.fe-toster-close {\n transform: translateY(360px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\nhtml body .fe-toaster {\n transform: translateY(0px);\n transition: transform 750ms ease, opacity 750ms ease;\n}\n\n#form.form .overlay-content-wrapper {\n display: none;\n}\n\n#form.form .overlay-content-wrapper.active {\n display: block;\n}","customJavascript":{"customJavascriptInstructions":[{"selector":"body","changes":[{"type":"jc","js":"function onLoadElement(selector, trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (document && document.querySelectorAll(selector) && document.querySelectorAll(selector).length > 0) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n };\n \n \n var FEHelper = {\n onLoadDataLayer: function (trigger, delayInterval, delayTimeout) {\n var interval = setInterval(function () {\n if (window && window.dataLayer && window.DataLayerHelper\n ) {\n clearInterval(interval);\n trigger();\n }\n }, delayInterval);\n setTimeout(function () {\n clearInterval(interval);\n }, delayTimeout);\n },\n after: function (reference_selector, htmlString) {\n var reference_element = document.querySelectorAll(reference_selector);\n for (var i = 0; i < reference_element.length; i++) {\n reference_element[i].insertAdjacentHTML(\"afterend\", htmlString);\n }\n },\n waitforMarketo: function (trigger) {\n var interval = setInterval(function () {\n if (\n window.MktoForms2\n ) {\n clearInterval(interval);\n trigger();\n }\n }, 50);\n setTimeout(function () {\n clearInterval(interval);\n }, 10000);\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 setCookie: function (name, value, days) {\n var expires = \"\";\n if (days) {\n var date = new Date();\n date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));\n expires = \"; expires=\" + date.toUTCString();\n }\n document.cookie = name + \"=\" + (value || \"\") + expires + \"; path=/\";\n },\n 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 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 }\n }, 30);\n setTimeout(function () {\n clearInterval(waitForFunnelEnvy);\n }, 8000);\n }\n };\n \n \n //pop up form\n var form = \n '
'+\n '
'+\n '
'+\n '
' +\n '
'+\n '

Thank you for your request. You will receive an email shortly.

'+\n '

Thank you. Check your email for details on your request.

'+\n '
'+\n '
'+\n '
'\n ;\n\n\n //bottom toaster\n var feToaster = '' +\n '
' +\n ' ' +\n '

' +\n '

Credit Outlook 2022

' +\n '

Our Credit Outlook series returns to explore what risks and trends will drive credit markets in 2022.

' +\n 'See the year ahead in full color   ➡' +\n '
';\n\n var formbg = '
';\n\n // function to modify and style according to design all Marketo forms\nvar modifyMarketoForm = {\n init: function() {\n var self = this; \n // custom event 'mktoFormLoaded' is invoked when forms are loaded\n $(document).on(\n 'mktoFormLoaded',\n function() {\n self\n ._removeMarketoCSS();\n });\n },\n _removeMarketoCSS: function() {\n // remove the external stylesheets var\n links = window.document.getElementsByTagName('link');\n $(links).each( function() {\n var thisLinkElement = $(this);\n var thisLinkURL = thisLinkElement.attr('href');\n // if (thisLinkURL.indexOf('marketo') > 1) {\n // thisLinkElement.remove();\n // }\n }); \n // and the inline styles\n var marketoForms =\n $(\n \"[id*='mktoForm']\");\n marketoForms.each(\n function() {\n $(this)\n .find(\n 'style'\n )\n .remove();\n }); \n //and the style attributes\n marketoForms.each(\n function() {\n $(this)\n .find(\n '[style]'\n )\n .removeAttr(\n 'style'\n );\n });\n }\n}; //the document ready function\n\n \nfunction init() {\n console.log('Element has loaded!');\n \n \n // create formpop up element \n // var feToast = document.createElement('div');\n // feToast.setAttribute('class', 'form');\n // feToast.setAttribute('id', 'form');\n // feToast.innerHTML = form;\n \n \n // document.body.appendChild(feToast);\n var placement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader.header--overlay\");\nplacement.insertAdjacentHTML('beforeend', form);\n \n FEHelper.waitforMarketo(function () {\n //load mktoForm_3831 form\n MktoForms2.loadForm('//your.fitchratings.com', '732-CKH-767', 3750);\n modifyMarketoForm._removeMarketoCSS();\n MktoForms2.whenReady(function (form) {\n modifyMarketoForm._removeMarketoCSS();\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n var element = document.getElementById('mktoForm_3750');\n element.style.removeProperty(\"color\");\n element.style.removeProperty(\"width\");\n element.style.removeProperty(\"font-size\");\n element.style.removeProperty(\"font-family\");\n\n form.onSuccess(function (values, followUpUrl) {\n document.querySelector('#mktoForm_3750').style.display = 'none';\n document.querySelector('#confirmDemoForm').style.display = 'block';\n // FEHelper.fePushEvents(\"Newsletter Signup\");\n return false;\n });\n });\n });\n\n document.body.addEventListener('click', function (evt) {\n if (evt.target.className === 'overlay__close' || evt.target.className === 'fas fa-times') {\n var active = document.querySelector(\"#form .overlay-content-wrapper.active\");\n active.classList.remove(\"active\");\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader .overlay__bg\");\n bgplacement.remove();\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.add(\"active--action-bar\");\n headerClass.classList.remove(\"header--inverted\"); \n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.add(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.remove(\"active--search\"); \n\n }\n if (evt.target.id === 'linkto3750') {\n var bgplacement = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n bgplacement.insertAdjacentHTML('beforeend', formbg);\n\n var active = document.querySelector(\"#form .overlay-content-wrapper\");\n active.classList.add(\"active\");\n\n var headerClass = document.querySelector(\"#gatsby-focus-wrapper .hasHeader\");\n headerClass.classList.remove(\"active--action-bar\");\n headerClass.classList.add(\"header--inverted\"); \n\n\n var actionBar = document.querySelector(\".action-bar\");\n actionBar.classList.remove(\"active--action-bar\");\n\n var blur = document.querySelector(\".main\");\n var blur2 = blur.closest('div');\n blur2.classList.add(\"active--search\"); \n\n }\n}, false);\n\n\n// create toaster element \nvar feToast = document.createElement('div');\nfeToast.setAttribute('class', 'fe-toaster');\nfeToast.setAttribute('id', 'fe-toaster');\nfeToast.innerHTML = feToaster;\n\ndocument.body.appendChild(feToast);\n\n//toaster toggle event added\nFEHelper.live('span.fe-arrow-close', 'click', function () {\ndocument.querySelector('.fe-toaster').classList.toggle('fe-toster-close');\n});\n\n \n };\n\n function removeScripts () {\n\n document.getElementById(\"mktoForms2BaseStyle\").remove();\n document.getElementById(\"mktoForms2ThemeStyle\").remove();\n\n };\n \n \n \n onLoadElement(\"body header\", init, 50, 10000);\n onLoadElement(\"body head mktoForms2BaseStyle\", removeScripts, 50, 10000);","lastChanged":"\"2021-11-24T16:39:29.680Z\"","selector":"body"}]}]},"campaign":"619f8cedb34cd7395d0172ef","slug":"V17252921","sourceId":"V17252921","createdAt":"2021-11-25T13:17:33.644Z","updatedAt":"2021-12-08T08:13:11.469Z","id":"619f8cedb34cd7395d0172f6"}],"organization":"5c19de5ca98def372590dc5f","holdbackVariation":null,"activeExperiment":null,"audience":"619f5bc7b34cd7395d0172ee","holdback":100,"holdbackMode":"random","trafficAllocation":100,"predictVariations":false,"decisionMode":"A/B/n Test","name":"LP MK 21 Nov Credit Outlooks NRACs","editorUrl":"https://www.fitchratings.com/research/structured-finance/fitch-ratings-publishes-presale-on-silver-arrow-japan-series-2021-1-25-01-2021","pageTargets":[{"include":true,"url":"https://www.fitchratings.com/research/","match":"contains"}],"persistentDecisions":true,"source":"visual","sourceId":"C1276393","isArchived":false,"createdAt":"2021-09-28T23:43:29.800Z","updatedAt":"2021-12-08T08:13:11.463Z","customJavascript":{"customJavascriptInstructions":[{"changes":[{"type":"jc","js":"","lastChanged":"2021-12-06T16:46:47.511Z"}]}]},"slug":"C1276393","status":"paused","runningFrom":"2021-11-25T13:25:10.010Z","pausedAt":"2021-12-08T08:13:11.297Z","id":"619f8cedb34cd7395d0172ef"}],"conditions":[{"provider":"browser-info","name":"Sector - Corporate Finance","conditionGroups":[{"conditionList":[{"comparisonAttr":"function_is_evaluated","modifier":"equals","condition":"function isCorporateFinance() {\n function inSector(name) {\n var getCookie = function(cname) {\n var name = cname + \"=\";\n var decodedCookie = decodeURIComponent(document.cookie);\n var ca = decodedCookie.split(';');\n for(var i = 0; i 2){\nreturn true\n}else{\nreturn false\n}","dataType":"string"}]}],"experimental":{},"pageTargets":[{}],"slug":"A8143853","id":"5f7f1444009169d10c302e82"},{"provider":"browser-info","name":"Not a Marketo lead","conditionGroups":[{"conditionList":[{"comparisonAttr":"identity","modifier":"notEquals","condition":"marketo","dataType":"string"}]}],"experimental":{},"pageTargets":[{}],"slug":"A4534788","id":"5f92c7a65338d87435737e1a"},{"provider":"browser-info","name":"Marketo Lead","conditionGroups":[{"conditionList":[{"comparisonAttr":"identity","modifier":"equals","condition":"marketo","dataType":"string"}]}],"experimental":{},"pageTargets":[{}],"slug":"A8031917","id":"5fd9925d5338d87435737e93"},{"provider":"behavioral","name":"Feedback CTA Clicked","conditionGroups":[{"conditionList":[{"comparisonAttr":"Event","modifier":"has happened","condition":"Feedback_Click","dataType":"event"}]}],"experimental":{},"pageTargets":[{}],"slug":"A1209435","id":"5fdb36876f00541921fe7648"},{"provider":"behavioral","name":"Rating Report PV","conditionGroups":[{"conditionList":[{"comparisonAttr":"Event","modifier":"has happened","condition":"ratingReport","dataType":"event"}]}],"experimental":{},"pageTargets":[{}],"slug":"A1694348","id":"611e67f5725290f773b29460"},{"provider":"behavioral","name":"Canada paid traffic","conditionGroups":[{"conditionList":[{"comparisonAttr":"Page Visit","modifier":"has happened","condition":"","dataType":"event"}]}],"experimental":{},"pageTargets":[{"include":true,"url":"https://www.fitchratings.com/region/canada?utm_medium=referral&utm_source=GlobeAndMail&utm_campaign=ValueProposition&utm_content=Canada&utm_term=300x250","match":"exact"},{"include":true,"url":"https://www.fitchratings.com/region/canada?utm_medium=referral&utm_source=GlobeAndMail&utm_campaign=ValueProposition&utm_content=Canada&utm_term=728x90","match":"exact"}],"slug":"A1862073","id":"6140bbe2f1f349b8358501a3"},{"provider":"behavioral","name":"NRACs","conditionGroups":[{"conditionList":[{"comparisonAttr":"Event","modifier":"has happened","condition":"gaResearchNRACs","dataType":"event"},{"comparisonAttr":"Page Visit","modifier":"has happened","condition":"","dataType":"event"}]}],"experimental":{},"pageTargets":[{"include":true,"url":"https://www.fitchratings.com/research/","match":"contains"}],"slug":"A7454215","id":"619f5b74b34cd7395d0172ec"},{"provider":"browser-info","name":"Seen pop-up","conditionGroups":[{"conditionList":[{"comparisonAttr":"cookie","modifier":"equals","condition":"1","dataType":"string","key":"popupseen"}]}],"experimental":{},"pageTargets":[{}],"slug":"A7229052","id":"61ae30214a4d586f0b6ed40b"}],"org_raw":{"name":"Fitch Ratings","consentRequired":true,"orgJs":"\ntry {\n\n var reveal;\n var __feFN = {};\n __feFN.waitForDataLayer = function(callback) {\n var feCounter = 0;\n var fewaitFordataLayer = setInterval(function() {\n if (typeof window.dataLayer !== \"undefined\") {\n clearInterval(fewaitFordataLayer);\n callback();\n }\n feCounter++;\n if (feCounter > 30) {\n clearInterval(fewaitFordataLayer);\n }\n }, 200);\n },\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 __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 __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 }\n }, 30);\n setTimeout(function() {\n clearInterval(waitForFunnelEnvy);\n }, 8000);\n }\n __feFN.onDataHelperLoad = function(callback) {\n var waitForDatalayer = setInterval(function() {\n if (typeof window.dataLayer && window.DataLayerHelper) {\n clearInterval(waitForDatalayer);\n callback();\n }\n }, 30);\n setTimeout(function() {\n clearInterval(waitForDatalayer);\n }, 8000);\n };\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 __feFN.waitforMarketo= function(trigger) {\n var interval = setInterval(function() {\n if ( \n window.MktoForms2\n ) {\n clearInterval(interval); \n trigger(); \n }\n }, 50); \n setTimeout(function() {\n clearInterval(interval);\n }, 10000);\n }\n \n \n /*\n //port dataLayer Reveal to window.reveal \n __feFN.waitForDataLayer(function() {\n Object.keys(dataLayer).forEach(function(key) {\n if(typeof dataLayer[key].reveal != 'undefined'){\n reveal = dataLayer[key].reveal;\n }\n }); \t\n });*/\n \n // Reevaluate P13N Audience Conditions\n/* \n if (__feFN.getCookie('fitch_personalization') == null) {\n \n __feFN.waitForElement('.navigation__overlay.overlay-content-wrapper.active', function() {\n $('.navigation__overlay.overlay-content-wrapper.active .button').on('mousedown touchstart', function() {\n \n funnelEnvy.init({\n forceReloadCampaign:true\n });\n \n });\n });\n }\n */\n // QA MODE\n \n // if(__feFN.getCookie('QA') == 'true') {\n //Reevaluate on Route Changes\n\tif(typeof window.FERAN == 'undefined') { \n __feFN.onDataHelperLoad(function() { \n \twindow.FERAN = true; \n \tvar feListener = function(model, message) { \n if (message.event === \"gtm.historyChange\" && (message[\"gtm.historyChangeSource\"] == \"popstate\" || message[\"gtm.historyChangeSource\"] == \"pushState\") && message[\"gtm.newUrl\"] != message[\"gtm.oldUrl\"]) { \n console.log('chnage url');\n \tfunnelEnvy.init({\n forceReloadCampaign:true\n });\n } else if (message.event == \"gatsby-route-change\"){\n // console.log('chnage route');\n // funnelEnvy.init({\n // forceReloadCampaign:true\n // }); \n } \n } \n var feLayer = new DataLayerHelper(dataLayer, feListener, true); }); }\n \n \n //}\n //feedback CTA click event \n __feFN.waitForElement('#fe-fitch-3_button button',function(){\n document.querySelector('#fe-fitch-3_button button').addEventListener('click',function(){\n __feFN.fePushEvents('Feedback_Click');\n });\n });\n __feFN.live('.region-login a, .fe-fitch-subscribe , .fe-toaster a','click',function(){\n __feFN.fePushEvents('FITCH-6: CTA Click');\n });\n __feFN.waitforMarketo(function() {\n // console.log('mkto load');\n MktoForms2.whenReady(function (form) {\n //console.log('mkto load ready');\n form.onSuccess(function(values, followUpUrl) {\n //console.log('mkto load'+form);\n if(form.getId() == 4076 || form.getId() == \"4076\"){\n \t __feFN.fePushEvents('Newsletter Signup');\n }\n });\n });\n });\n \n if(window.location.pathname == '/products/subscribe') {\n MktoForms2.whenReady(function (form) {\n form.onSuccess(function (values, followUpUrl) {\n __feFN.fePushEvents('Fitch 6 Request a Demo Form Submit');\n });\n });\n }\n}\ncatch(e){\n console.log(e);\n}\n\n//user session count \ntry {\n (function() {\n function r(e, n, t) {\n function o(i, f) {\n if (!n[i]) {\n if (!e[i]) {\n var c = \"function\" == typeof require && require;\n if (!f && c) return c(i, !0);\n if (u) return u(i, !0);\n var a = new Error(\"Cannot find module '\" + i + \"'\");\n throw a.code = \"MODULE_NOT_FOUND\", a\n }\n var p = n[i] = {\n exports: {}\n };\n e[i][0].call(p.exports, function(r) {\n var n = e[i][1][r];\n return o(n || r)\n }, p, p.exports, r, e, n, t)\n }\n return n[i].exports\n }\n for (var u = \"function\" == typeof require && require, i = 0; i < t.length; i++) o(t[i]);\n return o\n }\n return r\n })()({\n 1: [function(require, module, exports) {\n 'use strict';\n\n // If obj.hasOwnProperty has been overridden, then calling\n // obj.hasOwnProperty(prop) will break.\n // See: https://github.com/joyent/node/issues/1707\n function hasOwnProperty(obj, prop) {\n return Object.prototype.hasOwnProperty.call(obj, prop);\n }\n\n module.exports = function(qs, sep, eq, options) {\n sep = sep || '&';\n eq = eq || '=';\n var obj = {};\n\n if (typeof qs !== 'string' || qs.length === 0) {\n return obj;\n }\n\n var regexp = /\\+/g;\n qs = qs.split(sep);\n\n var maxKeys = 1000;\n if (options && typeof options.maxKeys === 'number') {\n maxKeys = options.maxKeys;\n }\n\n var len = qs.length;\n // maxKeys <= 0 means that we should not limit keys count\n if (maxKeys > 0 && len > maxKeys) {\n len = maxKeys;\n }\n\n for (var i = 0; i < len; ++i) {\n var x = qs[i].replace(regexp, '%20'),\n idx = x.indexOf(eq),\n kstr, vstr, k, v;\n\n if (idx >= 0) {\n kstr = x.substr(0, idx);\n vstr = x.substr(idx + 1);\n } else {\n kstr = x;\n vstr = '';\n }\n\n k = decodeURIComponent(kstr);\n v = decodeURIComponent(vstr);\n\n if (!hasOwnProperty(obj, k)) {\n obj[k] = v;\n } else if (isArray(obj[k])) {\n obj[k].push(v);\n } else {\n obj[k] = [obj[k], v];\n }\n }\n\n return obj;\n };\n\n var isArray = Array.isArray || function(xs) {\n return Object.prototype.toString.call(xs) === '[object Array]';\n };\n\n }, {}],\n 2: [function(require, module, exports) {\n // Copyright Joyent, Inc. and other Node contributors.\n //\n // Permission is hereby granted, free of charge, to any person obtaining a\n // copy of this software and associated documentation files (the\n // \"Software\"), to deal in the Software without restriction, including\n // without limitation the rights to use, copy, modify, merge, publish,\n // distribute, sublicense, and/or sell copies of the Software, and to permit\n // persons to whom the Software is furnished to do so, subject to the\n // following conditions:\n //\n // The above copyright notice and this permission notice shall be included\n // in all copies or substantial portions of the Software.\n //\n // THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n // USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n 'use strict';\n\n var stringifyPrimitive = function(v) {\n switch (typeof v) {\n case 'string':\n return v;\n\n case 'boolean':\n return v ? 'true' : 'false';\n\n case 'number':\n return isFinite(v) ? v : '';\n\n default:\n return '';\n }\n };\n\n module.exports = function(obj, sep, eq, name) {\n sep = sep || '&';\n eq = eq || '=';\n if (obj === null) {\n obj = undefined;\n }\n\n if (typeof obj === 'object') {\n return map(objectKeys(obj), function(k) {\n var ks = encodeURIComponent(stringifyPrimitive(k)) + eq;\n if (isArray(obj[k])) {\n return map(obj[k], function(v) {\n return ks + encodeURIComponent(stringifyPrimitive(v));\n }).join(sep);\n } else {\n return ks + encodeURIComponent(stringifyPrimitive(obj[k]));\n }\n }).join(sep);\n\n }\n\n if (!name) return '';\n return encodeURIComponent(stringifyPrimitive(name)) + eq +\n encodeURIComponent(stringifyPrimitive(obj));\n };\n\n var isArray = Array.isArray || function(xs) {\n return Object.prototype.toString.call(xs) === '[object Array]';\n };\n\n function map(xs, f) {\n if (xs.map) return xs.map(f);\n var res = [];\n for (var i = 0; i < xs.length; i++) {\n res.push(f(xs[i], i));\n }\n return res;\n }\n\n var objectKeys = Object.keys || function(obj) {\n var res = [];\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) res.push(key);\n }\n return res;\n };\n\n }, {}],\n 3: [function(require, module, exports) {\n 'use strict';\n\n exports.decode = exports.parse = require('./decode');\n exports.encode = exports.stringify = require('./encode');\n\n }, {\n \"./decode\": 1,\n \"./encode\": 2\n }],\n 4: [function(require, module, exports) {\n 'use strict';\n\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n\n var _slicedToArray = function() {\n function sliceIterator(arr, i) {\n var _arr = [];\n var _n = true;\n var _d = false;\n var _e = undefined;\n try {\n for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i[\"return\"]) _i[\"return\"]();\n } finally {\n if (_d) throw _e;\n }\n }\n return _arr;\n }\n return function(arr, i) {\n if (Array.isArray(arr)) {\n return arr;\n } else if (Symbol.iterator in Object(arr)) {\n return sliceIterator(arr, i);\n } else {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");\n }\n };\n }();\n\n var _createClass = function() {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n return function(Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n }();\n\n var _querystring = require('querystring');\n\n var _querystring2 = _interopRequireDefault(_querystring);\n\n function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n }\n\n function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n }\n\n function isLocalStorageSupported() {\n var testKey = 'test',\n storage = window.localStorage;\n try {\n storage.setItem(testKey, '1');\n storage.removeItem(testKey);\n return true;\n } catch (error) {\n return false;\n }\n }\n\n var canUseLocalStorage = isLocalStorageSupported();\n\n var WebSessionCounter = function() {\n function WebSessionCounter() {\n _classCallCheck(this, WebSessionCounter);\n\n this.update();\n }\n\n _createClass(WebSessionCounter, [{\n key: 'update',\n value: function update() {\n if (canUseLocalStorage) {\n var count = this.count,\n time = this.lastActive;\n\n if (count === 0 || this.isNewSession()) {\n this.count = count + 1;\n this.lastActive = new Date();\n this.lastUtmCampaign = this.currentUtmCampaign;\n }\n }\n }\n }, {\n key: 'isNewSession',\n value: function isNewSession() {\n // use definition from https://support.google.com/analytics/answer/2731565?hl=en\n\n var time = this.lastActive,\n now = new Date();\n\n return [(now - time) / 1000 / 60 > 30, now.toDateString() !== time.toDateString(), this.lastUtmCampaign !== this.currentUtmCampaign].some(function(b) {\n return b;\n });\n }\n }, {\n key: 'count',\n get: function get() {\n if (canUseLocalStorage) {\n return Number(window.localStorage.getItem('fe-user_web_session_count'));\n } else {\n return NaN;\n }\n },\n set: function set(val) {\n window.localStorage.setItem('fe-user_web_session_count', val);\n }\n }, {\n key: 'lastActive',\n get: function get() {\n var time = window.localStorage.getItem('fe-user_web_session_last_active');\n\n if (time) {\n return new Date(time);\n } else {\n return new Date();\n }\n },\n set: function set(time) {\n window.localStorage.setItem('fe-user_web_session_last_active', time.toISOString());\n }\n }, {\n key: 'lastUtmCampaign',\n get: function get() {\n return window.localStorage.getItem('fe-user_web_session_utm_campaign');\n },\n set: function set(val) {\n window.localStorage.setItem('fe-user_web_session_utm_campaign', val);\n }\n }, {\n key: 'currentUtmCampaign',\n get: function get() {\n var _window$location$href = window.location.href.split('?'),\n _window$location$href2 = _slicedToArray(_window$location$href, 2),\n path = _window$location$href2[0],\n _window$location$href3 = _window$location$href2[1],\n query = _window$location$href3 === undefined ? '' : _window$location$href3,\n _querystring$parse = _querystring2.default.parse(query),\n _querystring$parse$ut = _querystring$parse.utm_campaign,\n utm_campaign = _querystring$parse$ut === undefined ? '' : _querystring$parse$ut;\n\n return utm_campaign;\n }\n }]);\n\n return WebSessionCounter;\n }();\n\n exports.default = new WebSessionCounter();\n }, {\n \"querystring\": 3\n }]\n }, {}, [4]);\n} catch (err) {\n console & console.log(err)\n}","hideContentUntilScriptsExecute":false,"integrations":{"browser-info":{"options":{"active":true}},"kickfire":{"options":{"active":false}},"universal-analytics":{"options":{"active":true}},"clearbitreveal":{"options":{"active":true}},"marketo":{"options":{"active":true}},"salesforce":{"options":{"active":true}},"idio":{"options":{"active":true}},"behavioral":{"options":{"active":true}}},"domains":"www.fitchratings.com, qa.fitchratings.com, your.fitchratings.com, events.fitchratings.com","id":"5c19de5ca98def372590dc5f"},"flags":{"enablePageViewTracking":true,"vpLambdaUrl":"https://cec.funnelenvy.com/visitor","vpSplitProbability":1,"vpTimeout":4000}};})()