PageSourceSearch

https://chatfuel.com/cf-analytics/sites/next-landing.js

js chatfuel.com collected 2026-10-01 08:34:19 UTC 13,757 bytes, 1 lines download raw bytes

1!function(){"use strict";function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function t(t){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?e(Object(r),!0).forEach((function(e){c(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):e(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}!function(){var e,o;function a(e,t,n,r){return Object.values(e.attributes).reduce((function(t,o){if(!o.name.startsWith("data-"))return t;if(o.name.startsWith("data-category-"))return t.category=o.name.replace("data-category-",""),t;if(o.name.startsWith("data-bag-")){var i=o.name.replace("data-bag-","");return Object.assign(t.propertyBag,c({},i,o.value)),t}return"data-action"===o.name?(t.action=o.value,n&&Object.assign(t.propertyBag,function(e,t,n){if(!n[e])return{};var r=t.innerText.toLowerCase(),o=n[e].find((function(e){return-1!==r.indexOf(e.text.toLowerCase())}));return null==o?void 0:o.propertyBag}(o.value,e,n)),r&&Object.assign(t.propertyBag,function(e,t){if(!t[e])return{};var n=window.location.href,r=t[e].find((function(e){return-1!==n.indexOf(e.url)}));return null==r?void 0:r.propertyBag}(o.value,r)),t):t}),{category:t,action:"",propertyBag:{}})}var l,s=function(e,t,n){for(var r=-1,o=Object(e),i=n(e),c=i.length;c--;){var u=i[l?c:++r];if(!1===t(o[u],u,o))break}return e};var f="object"==("undefined"==typeof global?"undefined":n(global))&&global&&global.Object===Object&&global,d="object"==("undefined"==typeof self?"undefined":n(self))&&self&&self.Object===Object&&self,v=f||d||Function("return this")(),y=v.Symbol,h=Object.prototype,p=h.hasOwnProperty,b=h.toString,g=y?y.toStringTag:void 0;var m=Object.prototype.toString;var w=y?y.toStringTag:void 0;function j(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":w&&w in Object(e)?function(e){var t=p.call(e,g),n=e[g];try{e[g]=void 0;var r=!0}catch(e){}var o=b.call(e);return r&&(t?e[g]=n:delete e[g]),o}(e):function(e){return m.call(e)}(e)}function O(e){return null!=e&&"object"==n(e)}function A(e){return O(e)&&"[object Arguments]"==j(e)}var S=Object.prototype,T=S.hasOwnProperty,k=S.propertyIsEnumerable,q=A(function(){return arguments}())?A:function(e){return O(e)&&T.call(e,"callee")&&!k.call(e,"callee")},E=Array.isArray;var P="object"==("undefined"==typeof exports?"undefined":n(exports))&&exports&&!exports.nodeType&&exports,_=P&&"object"==("undefined"==typeof module?"undefined":n(module))&&module&&!module.nodeType&&module,x=_&&_.exports===P?v.Buffer:void 0,B=(x?x.isBuffer:void 0)||function(){return!1},I=/^(?:0|[1-9]\d*)$/;function L(e,t){var r=n(e);return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&I.test(e))&&e>-1&&e%1==0&&e<t}function C(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}var N={};
1N["[object Float32Array]"]=N["[object Float64Array]"]=N["[object Int8Array]"]=N["[object Int16Array]"]=N["[object Int32Array]"]=N["[object Uint8Array]"]=N["[object Uint8ClampedArray]"]=N["[object Uint16Array]"]=N["[object Uint32Array]"]=!0,N["[object Arguments]"]=N["[object Array]"]=N["[object ArrayBuffer]"]=N["[object Boolean]"]=N["[object DataView]"]=N["[object Date]"]=N["[object Error]"]=N["[object Function]"]=N["[object Map]"]=N["[object Number]"]=N["[object Object]"]=N["[object RegExp]"]=N["[object Set]"]=N["[object String]"]=N["[object WeakMap]"]=!1;var H,D="object"==("undefined"==typeof exports?"undefined":n(exports))&&exports&&!exports.nodeType&&exports,R=D&&"object"==("undefined"==typeof module?"undefined":n(module))&&module&&!module.nodeType&&module,F=R&&R.exports===D&&f.process,W=function(){try{var e=R&&R.require&&R.require("util").types;return e||F&&F.binding&&F.binding("util")}catch(e){}}(),Q=W&&W.isTypedArray,U=Q?(H=Q,function(e){return H(e)}):function(e){return O(e)&&C(e.length)&&!!N[j(e)]},z=Object.prototype.hasOwnProperty;function M(e,t){var n=E(e),r=!n&&q(e),o=!n&&!r&&B(e),i=!n&&!r&&!o&&U(e),c=n||r||o||i,u=c?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],a=u.length;for(var l in e)!t&&!z.call(e,l)||c&&("length"==l||o&&("offset"==l||"parent"==l)||i&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||L(l,a))||u.push(l);return u}var J=Object.prototype;var $=function(e,t){return function(n){return e(t(n))}}(Object.keys,Object),G=Object.prototype.hasOwnProperty;function K(e){if(n=(t=e)&&t.constructor,t!==("function"==typeof n&&n.prototype||J))return $(e);var t,n,r=[];for(var o in Object(e))G.call(e,o)&&"constructor"!=o&&r.push(o);return r}function V(e){if(!function(e){var t=n(e);return null!=e&&("object"==t||"function"==t)}(e))return!1;var t=j(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function X(e){return null!=(t=e)&&C(t.length)&&!V(t)?M(e):K(e);var t}function Y(e,t,n,r){return function(e,t){e&&s(e,t,X)}(e,(function(e,o,i){t(r,n(e),o,i)})),r}var Z,ee,te,ne,re=Object.prototype.toString,oe=(Z=function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=re.call(t)),e[t]=n},te=function(e){return e},ee=function(){return te},function(e,t){return Y(e,Z,ee(t),{})}),ie=function(e,t){return"function"==typeof navigator.sendBeacon&&e.startsWith("https:")?function(e,t){return new Promise((function(n,r){navigator.sendBeacon(e,t)?n():r()}))}(e,t):function(e,t){return new Promise((function(n,r){fetch(e,{method:"POST",body:t}).then((function(e){200!==e.status?r():n()}))}))}(e,t)},ce=new(function(){function e(t){r(this,e),c(this,"storage",void 0),this.storage=t}return i(e,[{key:"get",value:function(e){try{var t=this.storage.getItem(e);return null!==t?JSON.parse(t):void 0}catch(e){return}}},{key:"getRaw",value:function(e){return this.storage.getItem(e)}},{key:"set",value:function(e,t){this.storage.setItem(e,JSON.stringify(t))}},{key:"setRaw",value:function(e,t){this.storage.setItem(e,t)}},{key:"has",value:function(e){return null!==this.storage.getItem(e)}},{key:"remove",value:function(e){this.storage.removeItem(e)}}]),e}())(window.localStorage),ue=["chatfuel.com","chatfuel.space"],ae=["wl.chatfuel.com","wl.chatfuel.space"],le=function(e){if(ae.includes(e)||ce.getRaw("WL_DOMAIN_MOCK"))return!0;var t=e.split(".").slice(-2).join(".");return"localhost"!==t&&!ue.includes(t)},se=function(){function e(t){var n,o,i,u,a;r(this,e),c(this,"retries",void 0),c(this,"threshold",void 0),c(this,"queueSize",void 0),c(this,"retryTimeout",void 0),c(this,"processTimeout",void 0),c(this,"retryThreshold",void 0),c(this,"processQueue",void 0),c(this,"eventsHandlers",{}),c(this,"queue",[]),c(this,"syncTimeout",null),this.processQueue=t.processQueue,this.threshold=null!==(n=t.threshold)&&void 0!==n?n:2,this.queueSize=null!==(o=t.queueSize)&&void 0!==o?o:10,this.retryTimeout=null!==(i=t.retryTimeout)&&void 0!==i?i:1e3,this.processTimeout=null!==(u=t.processTimeout)&&void 0!==u?u:5e3,this.retryThreshold=null!==(a=t.retryThreshold)&&void 0!==a?a:2,this.retries=this.threshold}return i(e,[{key:"process",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.retryThreshold;if(e.length){var r,o,i;if(this.retries<=0&&this.clear(),n<=0)return(r=this.queue).push.apply(r,u(e)),this.retries-=1,void(null===(o=(i=this.eventsHandlers).onReturnToQueue)||void 0===o||o.call(i));this.processQueue(e).then((function(){var e,n;return null===(e=(n=t.eventsHandlers).onProcessed)||void 0===e?void 0:e.call(n,!1)})).catch((function(){var r,o;null===(r=(o=t.eventsHandlers).onProcessed)||void 0===r||r.call(o,!0),setTimeout((function(){var r,o;t.process(e,n-1),null===(r=(o=t.eventsHandlers).onRetry)||void 0===r||r.call(o)}),t.retryTimeout)}))}}},{key:"clear",value:function(){var e,t,n=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.syncTimeout&&clearTimeout(this.syncTimeout),this.queue=[],n&&(this.retries=this.threshold),null===(e=(t=this.eventsHandlers).onClear)||void 0===e||e.call(t)}},{key:"push",value:function(e,t){var n=this;if(t)this.process([e]);else{var r,o;
1if(this.syncTimeout&&clearTimeout(this.syncTimeout),this.queue.push(e),this.queue.length>=this.queueSize)return this.process(this.queue),this.clear(!1),void(null===(r=(o=this.eventsHandlers).onFilled)||void 0===r||r.call(o));this.syncTimeout=window.setTimeout((function(){var e,t;n.process(n.queue),n.clear(!1),null===(e=(t=n.eventsHandlers).onPassedToProcessor)||void 0===e||e.call(t)}),this.processTimeout)}}},{key:"processRest",value:function(){this.process(this.queue),this.clear()}},{key:"initEventHandlers",value:function(e){this.eventsHandlers=null!=e?e:{}}}]),e}(),fe="undefined"!=typeof window&&ce.get("cf-debug");window.location.hostname.endsWith("chatfuel.space"),"undefined"!=typeof window&&ce.getRaw("cf-local-monitoring"),"undefined"!=typeof window&&navigator.userAgent.includes("Chrome");!function(e){e[e.error=0]="error",e[e.warn=1]="warn",e[e.info=2]="info",e[e.verbose=3]="verbose",e[e.debug=4]="debug",e[e.silly=5]="silly"}(ne||(ne={}));var de,ve,ye=oe(ne),he=(ve=window.location.hostname.endsWith("chatfuel.space")?3:2,"".concat(window.location.protocol,"//").concat(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:2,t=window.location.hostname;return le(t)?t:t.split(".").slice(-1*e).join(".")}(ve)).concat((de=window.location.port,"".concat(de?":".concat(de):""))));new se({threshold:1,queueSize:25,processQueue:function(e){return ie("".concat(he,"/frontend_monitoring/logs"),JSON.stringify(e.map((function(e){return t(t({},e),{},{level:ye[e.level]})}))))}});Object.keys(ne).filter((function(e){return Number.isNaN(Number(e))})).forEach((function(e){}));var pe=function(){return document.querySelectorAll('[data-cf-button="demo"]').forEach((function(e){e.href&&e.addEventListener("click",(function(){var e;null===(e=window.__cf_conversion)||void 0===e||e.requestDemoEvent()}))}))};null===(e=window.__cf_analytics)||void 0===e||null===(o=e.runOnDocumentReady)||void 0===o||o.call(e,(function(){var e="landing page";!function(e,t,n){document.querySelectorAll("[data-action]").forEach((function(r){r.addEventListener("click",(function(){var o,i;return null===(o=window.__cf_analytics)||void 0===o||null===(i=o.sendEvent)||void 0===i?void 0:i.call(o,a(r,e,t,n))}))})),document.querySelectorAll("[data-ga-label]").forEach((function(e){e.addEventListener("click",(function(){var t,n;null===(t=(n=window).ga)||void 0===t||t.call(n,"send",{hitType:"event",eventCategory:"button",eventAction:"click",eventLabel:e.getAttribute("data-ga-label")})}))})),document.querySelectorAll("[data-fbq-name]").forEach((function(e){e.addEventListener("click",(function(){var t,n=e.getAttribute("data-fbq-type")||"track",r=e.getAttribute("data-fbq-name");try{t=JSON.parse(e.getAttribute("data-fbq-params")||"null")||void 0}catch(e){t=void 0}window.fbq&&window.fbq(n,r,t)}))}))}(e),function(e){document.querySelectorAll('[data-cf-block="footer"] a:not([data-action])').forEach((function(t){var n=t.href;n&&t.addEventListener("click",(function(){var t,r;return null===(t=window.__cf_analytics)||void 0===t||null===(r=t.sendEvent)||void 0===r?void 0:r.call(t,{action:"click footer",category:e,propertyBag:{button:n}})}))}))}(e),document.querySelectorAll("a:not([data-action])").forEach((function(e){e.addEventListener("click",(function(){var t,n,r,o,i=e.href,c=e.innerText;null===(t=window.__cf_analytics)||void 0===t||null===(n=t.sendEvent)||void 0===n||n.call(t,{category:"lp-link-click",action:"click chatfuel link",propertyBag:{link:i,label:c}}),null===(r=(o=window).ga)||void 0===r||r.call(o,"send",{hitType:"event",eventCategory:"link",eventAction:c,eventLabel:"".concat(window.location.href,", ").concat(i)})}))})),document.querySelectorAll("button:not([data-action])").forEach((function(e){e.addEventListener("click",(function(){var t,n,r,o,i=e.innerText;null===(t=window.__cf_analytics)||void 0===t||null===(n=t.sendEvent)||void 0===n||n.call(t,{category:"lp-button-click",action:"click chatfuel button",propertyBag:{label:i}}),null===(r=(o=window).ga)||void 0===r||r.call(o,"send",{hitType:"event",eventCategory:"button",eventAction:i,eventLabel:"".concat(window.location.href,", button")})}))})),pe()}))}()}();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.