1/*! For license information please see ruf-8b4b69e9b7b511364fac.js.LICENSE.txt */ 2try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="287a5856-7dc5-43cc-8175-98eddb6b68af",e._sentryDebugIdIdentifier="sentry-dbid-287a5856-7dc5-43cc-8175-98eddb6b68af")}catch(e){}("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"4a98e45e4d0bf7bfd31dcbc25e6a54e31b44f943"};(self.webpackChunk=self.webpackChunk||[]).push([[4585],{572:(e,t,n)=>{"use strict";e.exports=n.p+"59cbc090d903fb81dad6.gif"},1747:(e,t,n)=>{"use strict";n.d(t,{A:()=>j});var r=n(69873),o=n(3949),i=n(41623);function a(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 c(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=s(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==s(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e){return s="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},s(e)}var u=["_avast_submit","Abgebrochen","annulleret","anulat","atomicFindClose","avbruten","avbrutt","Blocked a frame with origin","bmi_SafeAddOnload","Can't find variable: ZiteReader",/^cancelled$/,"cannot parse response","canvas.contentDocument","ComboSearch is not defined","conduitPage","Could not connect to the server.","EBCallBackMessageReceived","Failed to fetch","fb_xd_fragment","geannuleerd","http://loading.retry.widdit.com/","http://tt.epicplay.com","Interruption de la connexion","jigsaw is not defined","Load failed","MyApp_RemoveAllHighlights","NetworkError when attempting to fetch resource","Netzwerkverbindung","originalCreateNotification","ResizeObserver","Script error.","The Internet connection appears to be offline","The network connection was lost","The operation was aborted","top.GLOBALS","Type error","Unexpected end of input","Unexpected end of script","Unexpected EOF","Unexpected identifier","Unexpected token","window.ethereum.selectedAddress"],l=[/pagead\/js/i,/graph\.facebook\.com/i,/connect\.facebook\.net\/en_US\/all\.js/i,/eatdifferent\.com\.woopra-ns\.com/i,/static\.woopra\.com\/js\/woopra\.js/i,/extensions\//i,/^chrome:\/\//i,/127\.0\.0\.1:4001\/isrunning/i,/webappstoolbarba\.texthelp\.com\//i,/metrics\.itunes\.apple\.com\.edgesuite\.net\//i];function f(e){var t=e.chunkFailureProbeUrl;return function(e,r){var o=r.originalException;if(!window.Object||"function"!=typeof window.Object.entries)return null;if(p())return null;if(o&&"object"===s(o)&&!(o instanceof Error)&&(null!=o.message||null!=o.code)){var a=null!=o.code?String(o.code):"",c="string"==typeof o.message?o.message:null!=o.message?function(e){var t=new WeakSet;try{return JSON.stringify(e,function(e,n){if("undefined"!=typeof Node&&n instanceof Node)return"[DOM "+n.nodeName+"]";if(n&&"object"===s(n)){if(t.has(n))return"[Circular]";t.add(n)}return n})}catch(t){return String(e)}}(o.message):"Non-Error promise rejection";e.exception={values:[{type:a?"RejectedPromise ("+a+")":"RejectedPromise",value:c}]},e.fingerprint=["promise-rejection",a||c],e.extra=Object.assign({},e.extra,{rejectionCode:o.code,rejectionStack:o.stack})}if(!e.extra||!e.extra.chunkLoadVerified){var u=o&&"string"==typeof o.message&&o.message||"string"==typeof e.message&&e.message||"",l=new RegExp("Loading CSS","i"),f=new RegExp("Loading chunk","i");if(u.match(l)||u.match(f))return i.A.get(t).then(function(e){e.rufP&&function(e,t){n.e(404).then(n.bind(n,5367)).then(function(n){n.captureException(e||new Error(t),{extra:{chunkLoadVerified:!0}})}).catch(function(){})}(o,u)}
2).catch(function(e){!function(e){n.e(404).then(n.bind(n,5367)).then(function(t){t.captureException(e)}).catch(function(){})}(e)}),null}return e}}var p=function(){var e=navigator.userAgent;return e&&(/rv:11.0/.test(e)||/MSIE 10.0/.test(e))};void 0===Element.prototype.getAttributeNames&&(Element.prototype.getAttributeNames=function(){for(var e=this.attributes,t=e.length,n=new Array(t),r=0;r<t;r++)n[r]=e[r].name;return n});var d,h,m,b,y,v,g,w,O,E,S,k,P={addons:["ruf_oauth"],dataDomain:"undefined"==typeof document?"":"trafficadbar.test"===document.location.host?"http://data.trafficadbar.test:8083":""};h=(d={dsn:"https://[email protected]/1844126",allowUrls:[/:\/\/trafadb1.com/,/:\/\/trafadb2.com/,/:\/\/www.trafadb1.com/,/:\/\/www.trafadb2.com/,/:\/\/2\-tab.com/,/:\/\/trafficadbar.com/,/:\/\/www.trafficadbar.com/,/:\/\/t\-adbar.com/,/:\/\/www.t\-adbar.com/,/:\/\/t\-adbar1.com/,/:\/\/www.t\-adbar1.com/,/:\/\/t\-adbar2.com/,/:\/\/www.t\-adbar2.com/,/:\/\/t\-adbar3.com/,/:\/\/www.t\-adbar3.com/,/:\/\/t\-adbar4.com/,/:\/\/www.t\-adbar4.com/,/:\/\/t\-adbar5.com/,/:\/\/www.t\-adbar5.com/,/:\/\/t\-adbar6.com/,/:\/\/www.t\-adbar6.com/,/:\/\/t\-adbar7.com/,/:\/\/www.t\-adbar7.com/,/:\/\/t\-adbar8.com/,/:\/\/www.t\-adbar8.com/,/:\/\/t\-adbar9.com/,/:\/\/www.t\-adbar9.com/,/:\/\/t\-adbar10.com/,/:\/\/www.t\-adbar10.com/],denyUrls:[/stage\.trafficadbar\.com/,/trafficadbar\.test/]}).dsn,m=d.allowUrls,b=void 0===m?[]:m,y=d.denyUrls,v=void 0===y?[]:y,g=d.ignoreErrors,w=void 0===g?[]:g,O=d.chunkFailureProbeUrl,E=void 0===O?"/data/start":O,S=d.sentryOptions,k=void 0===S?{}:S,"_self"in r.createElement("div")||(0,o.T)(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach(function(t){c(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({dsn:h,ignoreErrors:u.concat(w),beforeSend:f({chunkFailureProbeUrl:E}),allowUrls:b,denyUrls:v.concat(l),replaysSessionSampleRate:.1,replaysOnErrorSampleRate:1},k));const j=P},1888:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=null;const o={get:function(){return r},set:function(e){return r=e||null,!0},clear:function(){r=null}}},4972:(e,t,n)=>{"use strict";var r=n(69873),o=n(47689),i=(n(56074),n(572)),a=n(88837),c=n(95533),s=n(54617),u=n(1888),l=n(41623);function f(e){return f="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},f(e)}function p(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,d(r.key),r)}}function d(e){var t=function(e,t){if("object"!=f(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=f(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==f(t)?t:t+""}function h(e,t,n){return t=b(t),function(e,t){if(t&&("object"==f(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,m()?Reflect.construct(t,n||[],b(e).constructor):t.apply(e,n))}function m(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(m=function(){return!!e})()}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}function y(e,t){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},y(e,t)}const v=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=h(this,t)).state={hasError:!1},e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y(e,t)}(t,e),n=t,i=[{key:"getDerivedStateFromError",value:function(e){return{hasError:!0}}}],(o=[{key:"componentDidCatch",value:function(e,t){l.A.post("/data/log_error",{stacktrace:e.toString()+"\n"+e.stack,url:window.location.href,type:"client"})}},{key:"render",value:function(){return this.state.hasError?window.MSInputMethodContext&&document.documentMode?r.createElement("h3",null,r.createElement("center",null,r.createElement("a",{href:"http://outdatedbrowser.com"},"Unfortunately your browser is too old to work with our website.",r.createElement("br",null),"We recommend you install one of the latest browsers by clicking here."),".")):r.createElement("div",{className:"container"},r.createElement("div",{className:"jumbotron mt-3"},r.createElement("h1",null,"Error"),r.createElement("p",{className:"lead"},"Sorry, you've found an error and we'll work on getting it fixed."),r.createElement("a",{className:"btn btn-lg btn-primary",href:"/",role:"button"},"Home"))):this.props.children}}])&&p(n.prototype,o),i&&p(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,o,i}(r.Component);var g=n(54152),w=n(57798),O=n(70842),E=n(41202);function S(e){return S="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},S(e)}function k(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,A(r.key),r)}}function P(e,t,n){return t=_(t),function(e,t){if(t&&("object"==S(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,j()?Reflect.construct(t,n||[],_(e).constructor):t.apply(e,n))}function j(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(j=function(){return!!e})()}function _(e){return _=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},_(e)}function T(e,t){return T=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},T(e,t)}function A(e){var t=function(e,t){if("object"!=S(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=S(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==S(t)?t:t+""}var C=function(e){function t(){var e,n,r,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=new Array(i),c=0;c<i;c++)a[c]=arguments[c];return e=P(this,t,[].concat(a)),n=e,o=function(){var t=e.props,n=t.globalStuff.banners;l.A.get("/data/click_on_banner?bid="+n[t.bid].id)},(r=A(r="banner_click"))in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&T(e,t)}(t,e),n=t,(o=[{key:"render",value:function(){var e=this.props,t=e.globalStuff.banners;if(!t)return null;var n=t[e.bid];
2if(!n.id)return null;var o=e.location;return o.pathname.match(/^\/_/)||o.pathname.match(/^\/admin/)?null:r.createElement("div",{className:"text-center mt-3 mb-3 flex-shrink-1"},r.createElement("div",{className:"d-flex justify-content-center"},r.createElement("div",{className:"text-center",style:{marginRight:"10px"}},r.createElement(g.N_,{to:"/website_traffic/home/user_profile.php?uid="+n.u},r.createElement("img",{src:(0,w.A)(n.image,50),style:{width:"45px",borderRadius:"8px",marginRight:"5px"}}),r.createElement("br",null),r.createElement("span",null,n.name))),r.createElement("div",null,r.createElement("a",{href:n.url,target:"_blank",onClick:this.banner_click},r.createElement("img",{src:"/i/"+n.u+"-"+n.id+"-b.jpg",style:{maxWidth:"468px",width:"100%",maxHeight:"60px"}})),r.createElement("br",null),"One of our ",r.createElement(g.N_,{to:"/website_traffic/home/upgrade"},"upgraded")," ","members banners.")))}}])&&k(n.prototype,o),i&&k(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,o,i}(r.Component);const x=(0,E.y)((0,O.A)(C,{globalStuff:"globalStuff"}));var N=n(14981),R=n.n(N);const D=n.p+"30a9f646395bf72b6eee.png";function L(e){return L="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},L(e)}function U(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,H(r.key),r)}}function B(e,t,n){return t=M(t),function(e,t){if(t&&("object"==L(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,I()?Reflect.construct(t,n||[],M(e).constructor):t.apply(e,n))}function I(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(I=function(){return!!e})()}function M(e){return M=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},M(e)}function F(e,t){return F=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},F(e,t)}function W(e,t,n){return(t=H(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function H(e){var t=function(e,t){if("object"!=L(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=L(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==L(t)?t:t+""}const G=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),W(e=B(this,t),"countDownDate",function(t){var n=e.getEndDate().getTime()-(new Date).getTime();if(n<0)return clearInterval(e.interval),e.setState({launched:!0}),void(!t&&e.props.onCountdownZero&&e.props.onCountdownZero());var r=Math.floor(n/864e5),o=Math.floor(n%864e5/36e5),i=Math.floor(n%36e5/6e4),a=Math.floor(n%6e4/100)/10;e.setState({days:r,hours:o,minutes:i,seconds:a}),e.interval||(e.interval=setInterval(e.countDownDate,90))}),W(e,"getLaunchDate",function(){var t=e.getEndDate(),n=t.getFullYear(),r=t.getDate(),o=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"][t.getMonth()],i=t.getHours().toString().padStart(2,"0"),a=t.getMinutes().toString().padStart(2,"0");return"".concat(o," ").concat(r," ").concat(n," ").concat(i,":").concat(a)}),e.state={days:"",hours:"",launched:!1,minutes:"",seconds:""},e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&F(e,t)}(t,e),n=t,(o=[{key:"componentDidMount",value:function(){this.countDownDate(!0)}},{key:"getEndDate",value:function(){var e="2023-06-09 18:00:00".split(" "),t=e[0].split("-"),n=e[1].split(":");return new Date(Date.UTC(t[0],t[1]-1,t[2],n[0],n[1],n[2]))}},{key:"render",value:function(){var e=this.state,t=e.seconds.toFixed&&e.seconds.toFixed(1),n=this.props;return this.getEndDate().getTime()<=(new Date).getTime()?null:r.createElement("a",{href:"https://cashjuice.com/blog/73",style:{textDecoration:"none"},target:"_blank"},r.createElement("div",{className:R()("NewPlanCountdown d-flex justify-content-center text-white",n.className),style:n.style},r.createElement("img",{src:D,style:{width:"154px",height:"48px"},className:"d-none d-sm-block"}),r.createElement("div",{className:"countdown d-flex justify-content-center"},r.createElement("div",null,r.createElement("div",null,e.days),r.createElement("div",null,"Days")),r.createElement("div",null,r.createElement("div",null,e.hours),r.createElement("div",null,"Hrs")),r.createElement("div",null,r.createElement("div",null,e.minutes),r.createElement("div",null,"Mins")),r.createElement("div",null,!!t&&r.createElement("div",{className:"text-sm-right d-flex",style:{marginRight:"2px"}},r.createElement("div",{className:"flex-grow-1",style:{width:"40px"}},t.split(".")[0]),r.createElement("div",{className:"d-none d-sm-block",style:{width:"5px"}},"."),r.createElement("div",{className:"d-none d-sm-block",style:{width:"20px"}},t.split(".")[1])),r.createElement("div",null,"Secs")))))}}])&&U(n.prototype,o),i&&U(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,o,i}(r.Component);function J(e){return J="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},J(e)}function z(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,q(r.key),r)}}function q(e){var t=function(e,t){if("object"!=J(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=J(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==J(t)?t:t+""}
2function V(e,t,n){return t=Y(t),function(e,t){if(t&&("object"==J(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,K()?Reflect.construct(t,n||[],Y(e).constructor):t.apply(e,n))}function K(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(K=function(){return!!e})()}function Y(e){return Y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Y(e)}function X(e,t){return X=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},X(e,t)}var Z=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=V(this,t)).state={firstPage:0},e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&X(e,t)}(t,e),n=t,(o=[{key:"componentDidUpdate",value:function(e,t){var n=this.props;this.state.firstPage<=2&&n.user.id&&n.location.pathname!=e.location.pathname&&!n.location.pathname.match(/^\/getStarted/)&&this.setState({firstPage:this.state.firstPage+1})}},{key:"render",value:function(){return this.state.firstPage>2?null:r.createElement("div",null,this.props.user.id&&!location.pathname.match(/^\/getStarted/)&&r.createElement(G,null),r.createElement(x,{bid:0}))}}])&&z(n.prototype,o),i&&z(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,o,i}(r.Component);const $=(0,E.y)((0,O.A)(Z,{user:"user"}));function Q(e){return Q="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},Q(e)}function ee(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,te(r.key),r)}}function te(e){var t=function(e,t){if("object"!=Q(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Q(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Q(t)?t:t+""}function ne(e,t,n){return t=oe(t),function(e,t){if(t&&("object"==Q(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,re()?Reflect.construct(t,n||[],oe(e).constructor):t.apply(e,n))}function re(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(re=function(){return!!e})()}function oe(e){return oe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},oe(e)}function ie(e,t){return ie=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ie(e,t)}const ae=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),ne(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ie(e,t)}(t,e),n=t,(r=[{key:"render",value:function(){return null}}])&&ee(n.prototype,r),o&&ee(n,o),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,o}(r.Component);function ce(e){return ce="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},ce(e)}function se(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,ue(r.key),r)}}function ue(e){var t=function(e,t){if("object"!=ce(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=ce(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ce(t)?t:t+""}function le(e,t,n){return t=pe(t),function(e,t){if(t&&("object"==ce(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,fe()?Reflect.construct(t,n||[],pe(e).constructor):t.apply(e,n))}function fe(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(fe=function(){return!!e})()}function pe(e){return pe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},pe(e)}function de(e,t){return de=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},de(e,t)}var he=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),le(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&de(e,t)}(t,e),r=t,(o=[{key:"componentDidMount",value:function(){var e=this,t=this.props;window.trackerId=t.id,window._paq=[],window.sj_cmds=[],new Promise(function(e,t){window.URL&&"function"==typeof URL?e():n.e(819).then(n.t.bind(n,64846,23)).then(function(t){e()})}).then(function(r){t.user.id&&(window._paq.push(["setUserId",t.user.id+""]),window.sj_cmds.push(["setUserName",t.user.id+""])),e.recordHit(),n.e(7290).then(n.t.bind(n,93471,23))})}},{key:"componentDidUpdate",value:function(e){var t=this.props;e.user.id!==t.user.id&&(window._paq.push(["setUserId",t.user.id+""]),window.sj_cmds.push(["setUserName",t.user.id+""])),e.location!==t.location?this.recordHit():e.user.id!==t.user.id&&this.recordSJHit()}},{key:"recordHit",value:function(){window._paq.push(["setCustomUrl",this.getURL()]),window._paq.push(["trackPageView"]),this.recordSJHit()}},{key:"recordSJHit",value:function(){window.sj_cmds.push(["trackPageView"])}},{key:"getURL",value:function(){var e,t=this.props;
2return e=t.getURL?t.getURL(t):document.URL,this.removeParams(e)}},{key:"removeParams",value:function(e){var t=new URL(e),n=new URLSearchParams(t.search);return t.pathname.match(/^\/login/)&&n.delete("redi"),t.search=n.toString(),t.toString()}},{key:"render",value:function(){return null}}])&&se(r.prototype,o),i&&se(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,o,i}(r.Component);const me=(0,E.y)((0,O.A)(he,{user:"user"}));var be=n(35532),ye=n(77280),ve=n(80299);function ge(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var s=r&&r.prototype instanceof c?r:c,u=Object.create(s.prototype);return we(u,"_invoke",function(n,r,o){var i,c,s,u=0,l=o||[],f=!1,p={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(t,n){return i=t,c=0,s=e,p.n=n,a}};function d(n,r){for(c=n,s=r,t=0;!f&&u&&!o&&t<l.length;t++){var o,i=l[t],d=p.p,h=i[2];n>3?(o=h===r)&&(s=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=n<2&&d<i[1])?(c=0,p.v=r,p.n=i[1]):d<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,p.n=h,c=0))}if(o||n>1)return a;throw f=!0,r}return function(o,l,h){if(u>1)throw TypeError("Generator is already running");for(f&&1===l&&d(l,h),c=l,s=h;(t=c<2?e:s)||!f;){i||(c?c<3?(c>1&&(p.n=-1),d(c,s)):p.n=s:p.v=s);try{if(u=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,c<2&&(c=0)}else 1===c&&(t=i.return)&&t.call(i),c<2&&(s=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e}else if((t=(f=p.n<0)?s:n.call(r,p))!==a)break}catch(t){i=e,c=1,s=t}finally{u=1}}return{value:t,done:f}}}(n,o,i),!0),u}var a={};function c(){}function s(){}function u(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(we(t={},r,function(){return this}),t),f=u.prototype=c.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,we(e,o,"GeneratorFunction")),e.prototype=Object.create(f),e}return s.prototype=u,we(f,"constructor",u),we(u,"constructor",s),s.displayName="GeneratorFunction",we(u,o,"GeneratorFunction"),we(f),we(f,o,"Generator"),we(f,r,function(){return this}),we(f,"toString",function(){return"[object Generator]"}),(ge=function(){return{w:i,m:p}})()}function we(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}we=function(e,t,n,r){function i(t,n){we(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},we(e,t,n,r)}function Oe(e,t,n,r,o,i,a){try{var c=e[i](a),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,o)}function Ee(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){Oe(i,r,o,a,c,"next",e)}function c(e){Oe(i,r,o,a,c,"throw",e)}a(void 0)})}}var Se=-1,ke={},Pe=Se,je={matching_objects:0,number:0};function _e(){return(_e=Ee(ge().m(function e(t){var n,r,o;return ge().w(function(e){for(;;)switch(e.n){case 0:return n=t.id,r=t.testFunction,e.n=1,r(n);case 1:return o=e.v,ke[n]&&(ke[n].result=o),e.a(2,o)}},e)}))).apply(this,arguments)}function Te(e,t){ke[e]={text:t}}function Ae(){return(Ae=Ee(ge().m(function e(t){var n,r;return ge().w(function(e){for(;;)switch(e.n){case 0:if(navigator.permissions){e.n=1;break}return Ce(t,n,r),e.a(2,Se);case 1:return e.n=2,navigator.permissions.query({name:"notifications"});case 2:if(n=e.v,r=window.Notification?Notification.permission:void 0,Ce(t,n,r),"denied"!==r||"prompt"!==n.state){e.n=3;break}return e.a(2,1);case 3:return e.a(2,0)}},e)}))).apply(this,arguments)}function Ce(e,t,n){Te(e,t&&n?'Permission status is "'.concat(t.state,'" and notification permission is "').concat(n,'"'):"Object navigator.permissions is undefined")}var xe=[{name:"User Agent",id:"user-agent",testFunction:function(e){var t=navigator.userAgent;return Te(e,t),/headless/i.test(t)?1:0}},{name:"testCdpDetection",id:"cdp",testFunction:function(e){var t=!1,n=new Error;return Object.defineProperty(n,"stack",{get:function(){return t=!0,""}}),console.log(n),Te(e,t?"CDP Detected":"No CDP Detected"),t?1:0}}
2,{name:"App Version",id:"app-version",testFunction:function(e){var t=navigator.appVersion;return Te(e,t),/headless/i.test(t)?1:0}},{name:"Plugins",id:"plugins",testFunction:function(e){var t=navigator.plugins.length;return Te(e,"Detected ".concat(t," plugins")),0===t?Se:0}},{name:"Plugins Prototype",id:"plugins-prototype",testFunction:function(e){var t=PluginArray.prototype===Object.getPrototypeOf(navigator.plugins);return navigator.plugins.length>0&&(t&=Plugin.prototype===Object.getPrototypeOf(navigator.plugins[0])),function(e,t){Te(e,t?"PluginArray and Plugin prototype are consistent":"PluginArray or Plugin prototype aren't consistent")}(e,t),t||je.matching_objects++,t?0:1}},{name:"Mime",id:"mime",testFunction:function(e){var t=navigator.mimeTypes.length;return Te(e,"Detected ".concat(t," mime types")),0===t?Se:0}},{name:"Mime Prototype",id:"mime-prototype",testFunction:function(e){var t=MimeTypeArray.prototype===Object.getPrototypeOf(navigator.mimeTypes);return navigator.mimeTypes.length>0&&(t&=MimeType.prototype===Object.getPrototypeOf(navigator.mimeTypes[0])),function(e,t){Te(e,t?"MimeTypeArray and MimeType prototype are consistent":"MimeTypeArray or MimeType prototype aren't consistent")}(e,t),t||je.matching_objects++,t?0:1}},{name:"Languages",id:"languages",testFunction:function(e){var t=navigator.language,n=navigator.languages.length;return Te(e,"Detected ".concat(n," languages and using ").concat(t)),t&&0!==n?0:1}},{name:"Webdriver",id:"webdriver",testFunction:function(e){var t=navigator.webdriver;return function(e,t){Te(e,t?"Webdriver present":"Missing webdriver")}(e,t),t?1:0}},{name:"Chrome",id:"chrome-element",testFunction:function(e){var t=Se;return 33===eval.toString().length&&(t=window.chrome?0:1),function(e,t){Te(e,t?"Chrome element present":"Chrome element not present")}(e,1!==t),t}},{name:"Permission",id:"permission",testFunction:function(e){return Ae.apply(this,arguments)}},{name:"Devtool Protocol",id:"devtool",testFunction:function(e){var t=/./,n=0,r=t.toString;t.toString=function(){return n++,"any"},console.log(t);var o=n>1;return function(e,t){Te(e,t?"Using devtools protocol":"Not using devtools protocol")}(e,o),t.toString=r,o?Se:0}},{name:"Outer dimensions",id:"outer",testFunction:function(e){var t=window.outerHeight,n=window.outerWidth;return Te(e,"Outerheight: ".concat(t," and outerwidth: ").concat(n," Innerheight: ").concat(window.innerHeight," and Innerwidth: ").concat(window.innerWidth)),0===t&&0===n?1:0}},{name:"Connection Rtt",id:"connection-rtt",testFunction:function(e){var t=navigator.connection,n=t?t.rtt:void 0;return function(e,t){Te(e,void 0===t?"Connection-rtt not defined":"Connection-rtt: ".concat(t))}(e,n),void 0===n?Se:0===n?1:0}}];function Ne(){var e=[];return xe.forEach(function(t){e.push(function(e){return _e.apply(this,arguments)}(t).then(function(e){switch(e){case 1:Pe=1,je.number++;break;case 0:Pe===Se&&(Pe=0)}}).catch(function(e){(0,ve.Cp)(e)}))}),Promise.all(e).then(function(){return{number:je.number+(2===je.matching_objects?-1:0),state:Pe,results:ke}})}function Re(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var s=r&&r.prototype instanceof c?r:c,u=Object.create(s.prototype);return De(u,"_invoke",function(n,r,o){var i,c,s,u=0,l=o||[],f=!1,p={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(t,n){return i=t,c=0,s=e,p.n=n,a}};function d(n,r){for(c=n,s=r,t=0;!f&&u&&!o&&t<l.length;t++){var o,i=l[t],d=p.p,h=i[2];n>3?(o=h===r)&&(s=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=n<2&&d<i[1])?(c=0,p.v=r,p.n=i[1]):d<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,p.n=h,c=0))}if(o||n>1)return a;throw f=!0,r}return function(o,l,h){if(u>1)throw TypeError("Generator is already running");for(f&&1===l&&d(l,h),c=l,s=h;(t=c<2?e:s)||!f;){i||(c?c<3?(c>1&&(p.n=-1),d(c,s)):p.n=s:p.v=s);try{if(u=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,c<2&&(c=0)}else 1===c&&(t=i.return)&&t.call(i),c<2&&(s=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e}else if((t=(f=p.n<0)?s:n.call(r,p))!==a)break}catch(t){i=e,c=1,s=t}finally{u=1}}return{value:t,done:f}}}(n,o,i),!0),u}var a={};function c(){}function s(){}function u(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(De(t={},r,function(){return this}),t),f=u.prototype=c.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,De(e,o,"GeneratorFunction")),e.prototype=Object.create(f),e}return s.prototype=u,De(f,"constructor",u),De(u,"constructor",s),s.displayName="GeneratorFunction",De(u,o,"GeneratorFunction"),De(f),De(f,o,"Generator"),De(f,r,function(){return this}),De(f,"toString",function(){return"[object Generator]"}),(Re=function(){return{w:i,m:p}})()}function De(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}De=function(e,t,n,r){function i(t,n){De(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},De(e,t,n,r)}function Le(e,t,n,r,o,i,a){try{var c=e[i](a),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,o)}function Ue(){var e;return e=Re().m(function e(){return Re().w(function(e){for(;;)if(0===e.n)return e.a(2,n.e(404).then(n.bind(n,5367)))},e)}),Ue=function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){Le(i,r,o,a,c,"next",e)}function c(e){Le(i,r,o,a,c,"throw",e)}a(void 0)})},Ue.apply(this,arguments)}const Be=function(){return Ue.apply(this,arguments)};var Ie=n(4381),Me=n(18507);function Fe(e){return Fe="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},Fe(e)}function We(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,Ve(r.key),r)}}function He(e,t,n){return t=Je(t),function(e,t){if(t&&("object"==Fe(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Ge()?Reflect.construct(t,n||[],Je(e).constructor):t.apply(e,n))}function Ge(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ge=function(){return!!e})()}function Je(e){return Je=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Je(e)}function ze(e,t){return ze=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ze(e,t)}function qe(e,t,n){return(t=Ve(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ve(e){var t=function(e,t){if("object"!=Fe(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Fe(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Fe(t)?t:t+""}var Ke=(0,ye.A)(function(){return n.e(5583).then(n.bind(n,58582))}),Ye=!1,Xe=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),qe(e=He(this,t),"pageChanged",function(t,n){if(!t.pathname.match(/^\/_/)){var r={title:"Free Traffic Exchange | Free Advertising | Traffic Ad Bar",description:"Traffic Ad Bar is a free traffic exchange and advertising platform. Earn free website traffic, promote your site, and connect with online marketers worldwide.",imageURL:"https://trafficadbar.com/assets/og_social_1200x630.png",twitterImageURL:"https://trafficadbar.com/assets/og_social_1200x675.png",url:"https://trafficadbar.com"+t.pathname};t.pathname.match(/^\/login/)&&(r.title="Login | Free Traffic Exchange | Free Advertising | Traffic Ad Bar",r.description="Log in to Traffic Ad Bar to earn free website traffic, collect advertising credits, and promote your site through our traffic exchange network."),t.pathname.match(/^\/terms/)&&(r.title="Terms of Service | Free Traffic Exchange | Traffic Ad Bar",r.description="Read the Traffic Ad Bar terms of service governing use of our free traffic exchange and online advertising platform."),t.pathname.match(/^\/contact/)&&(r.title="Contact Us | Free Traffic Exchange | Traffic Ad Bar",r.description="Get in touch with the Traffic Ad Bar team for support, questions about our free traffic exchange, or advertising platform inquiries."),t.pathname.match(/^\/privacy/)&&(r.title="Privacy Policy | Free Traffic Exchange | Traffic Ad Bar",r.description="Read the Traffic Ad Bar privacy policy to understand how we handle your data on our free traffic exchange and advertising platform."),t.pathname.match(/^\/signup/)&&(r.title="Join Free | Traffic Exchange & Free Website Advertising | Traffic Ad Bar",r.description="Sign up for Traffic Ad Bar and get instant free website traffic. Join thousands of online marketers using our traffic exchange to grow their audience for free."),t.pathname.match(/^\/blog/)&&(r.title="Blog | Free Traffic Exchange Tips & Online Advertising | Traffic Ad Bar",r.description="The Traffic Ad Bar blog â tips and guides on free website traffic, traffic exchange strategies, and online advertising to help grow your site."),t.pathname.match(/^\/website_traffic\/home\/user_profile.php/)&&(r.title="Member Profile | Targeted Website Traffic | Traffic Ad Bar",r.description="View Traffic Ad Bar member profiles. Connect with website owners and online marketers earning free website traffic through our traffic exchange.",r.url="https://trafficadbar.com"+t.pathname+t.search),t.pathname.match(/^\/index.php/)&&(r.url="https://trafficadbar.com/"),e.setState({meta:r})}}),qe(e,"setSentryUser",function(t){e.getSentry().then(function(e){e.setUser({id:t.
2id,username:t.first_name,email:t.email})})}),qe(e,"getSentry",function(){return Be().then(function(e){return e})}),qe(e,"receivedData",function(t){var n=e.state.last_update;if((t=t.data).time&&t.time>n)for(var r in t.data){var o=t.data[r],i=e.state.last_update;o.live&&o.uid==e.props.user.id&&i<o.t&&(i=o.t,delete o.uid,delete o.t,o.live.lt<e.props.liveData.lt&&(delete o.live.lt,delete o.live.lps),e.props.dispatch({type:"STORE_LIVE_DATA",data:o.live}),e.unmounted||e.setState({last_update:i}))}}),e.state={last_update:0,meta:{description:"",imageURL:"",twitterImageURL:"",title:"",url:""}},e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ze(e,t)}(t,e),n=t,o=[{key:"componentDidMount",value:function(){var e=this.props;this.unlisten=this.props.history.listen(this.pageChanged),this.pageChanged(this.props.location),e.user.id&&(this.startPusher(),this.setSentryUser(e.user),Ne().then(function(e){1===e.state&&e.number>1&&!Ye&&(Ye=!0,l.A.post("/data/rbsc",{a:79,params2:e,path:window.location.pathname,x:0,y:0}))}))}},{key:"componentDidUpdate",value:function(e){var t=this.props.user;t.id!==e.user.id&&(this.startPusher(),this.setSentryUser(t))}},{key:"startPusher",value:function(){var e=this;this.props.liveData.lh||l.A.get("/data/live").then(function(t){t.rufP&&e.props.dispatch({type:"STORE_LIVE_DATA",data:t.live})}).catch(function(t){e.getSentry().then(function(e){e.captureException(t)})}),Me.A.private("USER_"+this.props.user.id).listen(".d1",this.receivedData);var t=new Date;l.A.post("/data/save_user_details",{ww:screen.width,wh:screen.height,timezone:t.getTimezoneOffset(),timezone2:new Date(t.getFullYear(),0,1).getTimezoneOffset()}).then(function(e){e.popup&&(0,be.A)("save_user_details",e.popup.title,e.popup.message)}).catch(function(t){e.getSentry().then(function(e){e.captureException(t)})})}},{key:"componentWillUnmount",value:function(){this.unmounted=!0,this.unlisten()}},{key:"getURL",value:function(e){var t=e.location,n=new URLSearchParams(t.search);t.pathname.match(/^\/_/)&&(n.delete("h"),n.delete("z")),t.pathname.match(/^\/login/)&&n.delete("redi");var r=n.toString();return document.location.origin+t.pathname+"?"+r+t.hash}},{key:"render",value:function(){var e=this.state.meta,t=e.description,n=e.title,o=e.imageURL,i=e.twitterImageURL,a=e.url,c=JSON.stringify({"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://trafficadbar.com/#organization",name:"Traffic Ad Bar",url:"https://trafficadbar.com",logo:{"@type":"ImageObject",url:"https://trafficadbar.com/assets/home_logo.png"},sameAs:[]},{"@type":"WebSite","@id":"https://trafficadbar.com/#website",url:"https://trafficadbar.com",name:"Traffic Ad Bar",publisher:{"@id":"https://trafficadbar.com/#organization"}}]});return[r.createElement(Ie.m,{key:0},r.createElement("meta",{charSet:"utf-8"}),r.createElement("title",null,n),r.createElement("link",{rel:"canonical",href:a}),r.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),r.createElement("meta",{name:"description",content:t}),r.createElement("meta",{property:"og:site_name",content:"Traffic Ad Bar"}),r.createElement("meta",{property:"og:type",content:"website"}),r.createElement("meta",{property:"og:title",content:n}),r.createElement("meta",{property:"og:description",content:t}),r.createElement("meta",{property:"og:image",content:o}),r.createElement("meta",{property:"og:image:width",content:"1200"}),r.createElement("meta",{property:"og:image:height",content:"630"}),r.createElement("meta",{property:"og:url",content:a}),r.createElement("meta",{name:"twitter:site",content:"@trafficadbar"}),r.createElement("meta",{name:"twitter:title",content:n}),r.createElement("meta",{name:"twitter:description",content:t}),r.createElement("meta",{name:"twitter:image",content:i}),r.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),r.createElement("script",{type:"application/ld+json"},c)),r.createElement(Ke,{key:1}),r.createElement(me,{getURL:this.getURL,key:2,id:"1"})]}}],i=[{key:"getDerivedStateFromProps",value:function(e,t){return e.location.pathname,null}}],o&&We(n.prototype,o),i&&We(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,o,i}(r.Component);const Ze=(0,E.y)((0,O.A)(Xe,{user:"user",liveData:"liveData"}));function $e(e){return $e="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(e)}function Qe(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,et(r.key),r)}}function et(e){var t=function(e,t){if("object"!=$e(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=$e(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==$e(t)?t:t+""}function tt(e,t,n){return t=rt(t),function(e,t){if(t&&("object"==$e(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,nt()?Reflect.construct(t,n||[],rt(e).constructor):t.apply(e,n))}function nt(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(nt=function(){return!!e})()}function rt(e){return rt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},rt(e)}function ot(e,t){return ot=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ot(e,t)}var it=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=tt(this,t,[e]),e.user.id&&n.loadBrands(),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ot(e,t)}(t,e),o=t,(i=[{key:"loadBrands",value:function(){Promise.all([n.e(9691),n.e(4453)]).then(n.bind(n,3316))}},{key:"render",value:function(){var e="col-4 col-md-4";return r.createElement("div",{style:{flexGrow:1}},r.createElement("div",{className:"d-flex"},r.createElement("div",{className:"row text-center mx-auto"},r.createElement("div",{className:e},r.createElement(g.N_,{to:"/contact",className:"text-white"},"Contact")),r.createElement("div",{className:e},r.createElement(g.N_,{to:"/terms",className:"text-white"},"Terms")),r.createElement("div",{className:e},r.createElement(g.N_,{to:"/privacy",className:"text-white"},"Privacy")),!!this.props.user.id&&r.createElement("div",{className:"text-white col-12",style:{whiteSpace:"nowrap"}},r.createElement("a",{href:"https://www.facebook.com/trafficadbar/",className:"text-white d-inline-block mr-4",target:"_blank"},r.createElement("i",{className:"fab fa-facebook-f"})),r.createElement("a",{href:"https://twitter.com/_trafficadbar_",className:"text-white d-inline-block mr-4",target:"_blank"},r.createElement("i",{className:"fab fa-twitter"})),r.createElement("a",{href:"https://www.youtube.com/channel/UCKG5F6OrsyY7ZTczqHgFCXw",className:"text-white d-inline-block",target:"_blank"},r.createElement("i",{className:"fab fa-youtube"}))))),r.createElement("div",{className:"text-center mx-auto"},r.createElement("small",{style:{color:"#ffffff"}},"Copyright © Z5 Internet Ltd 2009-",(new Date).getFullYear()," ","incorporated under the laws of the United Kingdom.")))}}
2])&&Qe(o.prototype,i),a&&Qe(o,a),Object.defineProperty(o,"prototype",{writable:!1}),o;var o,i,a}(r.Component);const at=(0,O.A)(it,{user:"user"});function ct(e){return ct="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},ct(e)}function st(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,ut(r.key),r)}}function ut(e){var t=function(e,t){if("object"!=ct(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=ct(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ct(t)?t:t+""}function lt(e,t,n){return t=pt(t),function(e,t){if(t&&("object"==ct(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,ft()?Reflect.construct(t,n||[],pt(e).constructor):t.apply(e,n))}function ft(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ft=function(){return!!e})()}function pt(e){return pt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},pt(e)}function dt(e,t){return dt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},dt(e,t)}var ht=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),lt(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&dt(e,t)}(t,e),n=t,(o=[{key:"render",value:function(){var e=this.props,t=(e.user,e.location);return r.createElement("nav",{className:"navbarBottom navbar navbar-dark"},t.pathname.match(/^\/getStarted/)?r.createElement("ul",{className:"nav navbar-nav"},r.createElement("li",null,"Â ")):r.createElement(at,null))}}])&&st(n.prototype,o),i&&st(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,o,i}(r.Component);const mt=(0,E.y)(ht);var bt=n(5325);function yt(e){return yt="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},yt(e)}function vt(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,gt(r.key),r)}}function gt(e){var t=function(e,t){if("object"!=yt(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=yt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==yt(t)?t:t+""}function wt(e,t,n){return t=Et(t),function(e,t){if(t&&("object"==yt(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Ot()?Reflect.construct(t,n||[],Et(e).constructor):t.apply(e,n))}function Ot(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ot=function(){return!!e})()}function Et(e){return Et=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Et(e)}function St(e,t){return St=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},St(e,t)}var kt={link:{fontWeight:200}},Pt=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),wt(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&St(e,t)}(t,e),n=t,(o=[{key:"render",value:function(){var e=this.props,t=e.website;return e.match,r.createElement("div",{className:"navbarTop topBarLoggedOut navbar navbar-dark fixed-top"},r.createElement("div",{style:{flexGrow:2}},r.createElement(bt.A,null)),r.createElement("ul",{className:"nav"},t.signups?r.createElement("li",{className:"nav-item"},r.createElement(g.N_,{className:"nav-link",style:kt.link,to:"/signup",rel:"nofollow"},"Signup")):"",r.createElement("li",{className:"nav-item"},r.createElement(g.N_,{className:"nav-link",style:kt.link,to:"/login",rel:"nofollow"},"Login"))))}}])&&vt(n.prototype,o),i&&vt(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,o,i}(r.Component);const jt=(0,E.y)((0,O.A)(Pt,{website:"website"}));var _t,Tt=n(54843);function At(e){return At="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},At(e)}!function(e){if(!e.hasInitialised){var t={escapeRegExp:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},hasClass:function(e,t){var n=" ";return 1===e.nodeType&&(n+e.className+n).replace(/[\n\t]/g,n).indexOf(n+t+n)>=0},addClass:function(e,t){e.className+=" "+t},removeClass:function(e,t){var n=new RegExp("\\b"+this.escapeRegExp(t)+"\\b");e.className=e.className.replace(n,"")},interpolateString:function(e,t){return e.replace(/{{([a-z][a-z0-9\-_]*)}}/gi,function(e){return t(arguments[1])||""})},getCookie:function(e){return _t},setCookie:function(e,t,n,r,o,i){l.A.post("/data/cookieconsent",{value:t})},deepExtend:function(e,t){for(var n in t)t.hasOwnProperty(n)&&(n in e&&this.isPlainObject(e[n])&&this.isPlainObject(t[n])?this.deepExtend(e[n],t[n]):e[n]=t[n]);return e},throttle:function(e,t){var n=!1;return function(){n||(e.apply(this,arguments),n=!0,setTimeout(function(){n=!1},t))}},hash:function(e){var t,n,r=0;if(0===e.length)return r;for(t=0,n=e.length;t<n;++t)r=(r<<5)-r+e.charCodeAt(t),r|=0;return r},normaliseHex:function(e){return"#"==e[0]&&(e=e.substr(1)),3==e.length&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]),e},getContrast:function(e){return e=this.normaliseHex(e),(299*parseInt(e.substr(0,2),16)+587*parseInt(e.substr(2,2),16)+114*parseInt(e.substr(4,2),16))/1e3>=128?"#000":"#fff"},getLuminance:function(e){var t=parseInt(this.normaliseHex(e),16),n=38+(t>>16),r=38+(t>>8&255),o=38+(255&t);return"#"+(16777216+65536*(n<255?n<1?0:n:255)+256*(r<255?r<1?0:r:255)+(o<255?o<1?0:o:255)).toString(16).slice(1)},isMobile:function(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)},isPlainObject:function(e){return"object"===At(e)&&null!==e&&e.constructor==Object},traverseDOMPath:function(e,n){return e&&e.parentNode?t.hasClass(e,n)?e:this.traverseDOMPath(e.parentNode,n):null}};
2e.status={deny:"deny",allow:"allow",dismiss:"dismiss"},e.transitionEnd=function(){var e=document.createElement("div"),t={t:"transitionend",OT:"oTransitionEnd",msT:"MSTransitionEnd",MozT:"transitionend",WebkitT:"webkitTransitionEnd"};for(var n in t)if(t.hasOwnProperty(n)&&void 0!==e.style[n+"ransition"])return t[n];return""}(),e.hasTransition=!!e.transitionEnd;var n=Object.keys(e.status).map(t.escapeRegExp);e.customStyles={},e.Popup=function(){var r={enabled:!0,container:null,cookie:{name:"cookieconsent_status",path:"/",domain:"",expiryDays:365,secure:!1},onPopupOpen:function(){},onPopupClose:function(){},onInitialise:function(e){},onStatusChange:function(e,t){},onRevokeChoice:function(){},onNoCookieLaw:function(e,t){},content:{header:"Cookies used on the website!",message:"This website uses cookies to ensure you get the best experience on our website.",dismiss:"Got it!",allow:"Allow cookies",deny:"Decline",link:"Learn more",href:"https://www.cookiesandyou.com",close:"❌",target:"_blank",policy:"Cookie Policy"},elements:{header:'<span class="cc-header">{{header}}</span> ',message:'<span id="cookieconsent:desc" class="cc-message">{{message}}</span>',messagelink:'<span id="cookieconsent:desc" class="cc-message">{{message}} <a aria-label="learn more about cookies" role=button tabindex="0" class="cc-link" href="{{href}}" rel="noopener noreferrer nofollow" target="{{target}}">{{link}}</a></span>',dismiss:'<a aria-label="dismiss cookie message" role=button tabindex="0" class="cc-btn cc-dismiss">{{dismiss}}</a>',allow:'<a aria-label="allow cookies" role=button tabindex="0" class="cc-btn cc-allow">{{allow}}</a>',deny:'<a aria-label="deny cookies" role=button tabindex="0" class="cc-btn cc-deny">{{deny}}</a>',link:'<a aria-label="learn more about cookies" role=button tabindex="0" class="cc-link" href="{{href}}" rel="noopener noreferrer nofollow" target="{{target}}">{{link}}</a>',close:'<span aria-label="dismiss cookie message" role=button tabindex="0" class="cc-close">{{close}}</span>'},window:'<div role="dialog" aria-live="polite" aria-label="cookieconsent" aria-describedby="cookieconsent:desc" class="cc-window {{classes}}">\x3c!--googleoff: all--\x3e{{children}}\x3c!--googleon: all--\x3e</div>',revokeBtn:'<div class="cc-revoke {{classes}}">{{policy}}</div>',compliance:{info:'<div class="cc-compliance">{{dismiss}}</div>',"opt-in":'<div class="cc-compliance cc-highlight">{{deny}}{{allow}}</div>',"opt-out":'<div class="cc-compliance cc-highlight">{{deny}}{{allow}}</div>'},type:"info",layouts:{basic:"{{messagelink}}{{compliance}}","basic-close":"{{messagelink}}{{compliance}}{{close}}","basic-header":"{{header}}{{message}}{{link}}{{compliance}}"},layout:"basic",position:"bottom",theme:"block",static:!1,palette:null,revokable:!1,animateRevokable:!0,showLink:!0,dismissOnScroll:!1,dismissOnTimeout:!1,dismissOnWindowClick:!1,ignoreClicksFrom:["cc-revoke","cc-btn"],autoOpen:!0,autoAttach:!0,whitelistPage:[],blacklistPage:[],overrideHTML:null};function o(){this.initialise.apply(this,arguments)}function i(e){this.openingTimeout=null,t.removeClass(e,"cc-invisible")}function a(t){t.style.display="none",t.removeEventListener(e.transitionEnd,this.afterTransition),this.afterTransition=null}function c(){var t=this.options.onInitialise.bind(this);if(!window.navigator.cookieEnabled)return t(e.status.deny),!0;if(window.CookiesOK||window.navigator.CookiesOK)return t(e.status.allow),!0;var n=Object.keys(e.status),r=this.getStatus(),o=n.indexOf(r)>=0;return o&&t(r),o}function s(){var e=this.options.position.split("-"),t=[];return e.forEach(function(e){t.push("cc-"+e)}),t}function u(){var e=this.options,n="top"==e.position||"bottom"==e.position?"banner":"floating";t.isMobile()&&(n="floating");var r=["cc-"+n,"cc-type-"+e.type,"cc-theme-"+e.theme];e.static&&r.push("cc-static"),r.push.apply(r,s.call(this));d.call(this,this.options.palette);return this.customStyleSelector&&r.push(this.customStyleSelector),r}function l(){var e={},n=this.options;n.showLink||(n.elements.link="",n.elements.messagelink=n.elements.message),Object.keys(n.elements).forEac
vendor: 13,966 bytes, line 2
2h(function(r){e[r]=t.interpolateString(n.elements[r],function(e){var t=n.content[e];return e&&"string"==typeof t&&t.length?t:""})});var r=n.compliance[n.type];r||(r=n.compliance.info),e.compliance=t.interpolateString(r,function(t){return e[t]});var o=n.layouts[n.layout];return o||(o=n.layouts.basic),t.interpolateString(o,function(t){return e[t]})}function f(n){var r=this.options,o=document.createElement("div"),i=r.container&&1===r.container.nodeType?r.container:document.body;o.innerHTML=n;var a=o.children[0];return a.style.display="none",t.hasClass(a,"cc-window")&&e.hasTransition&&t.addClass(a,"cc-invisible"),this.onButtonClick=p.bind(this),a.addEventListener("click",this.onButtonClick),r.autoAttach&&(i.firstChild?i.insertBefore(a,i.firstChild):i.appendChild(a)),a}function p(r){var o=t.traverseDOMPath(r.target,"cc-btn")||r.target;if(t.hasClass(o,"cc-btn")){var i=o.className.match(new RegExp("\\bcc-("+n.join("|")+")\\b")),a=i&&i[1]||!1;a&&(this.setStatus(a),this.close(!0))}t.hasClass(o,"cc-close")&&(this.setStatus(e.status.dismiss),this.close(!0)),t.hasClass(o,"cc-revoke")&&this.revokeChoice()}function d(n){var r=t.hash(JSON.stringify(n)),o="cc-color-override-"+r,i=t.isPlainObject(n);return this.customStyleSelector=i?o:null,i&&function(n,r,o){if(e.customStyles[n])return void++e.customStyles[n].references;var i={},a=r.popup,c=r.button,s=r.highlight;a&&(a.text=a.text?a.text:t.getContrast(a.background),a.link=a.link?a.link:a.text,i[o+".cc-window"]=["color: "+a.text,"background-color: "+a.background],i[o+".cc-revoke"]=["color: "+a.text,"background-color: "+a.background],i[o+" .cc-link,"+o+" .cc-link:active,"+o+" .cc-link:visited"]=["color: "+a.link],c&&(c.text=c.text?c.text:t.getContrast(c.background),c.border=c.border?c.border:"transparent",i[o+" .cc-btn"]=["color: "+c.text,"border-color: "+c.border,"background-color: "+c.background],c.padding&&i[o+" .cc-btn"].push("padding: "+c.padding),"transparent"!=c.background&&(i[o+" .cc-btn:hover, "+o+" .cc-btn:focus"]=["background-color: "+(c.hover||h(c.background))]),s?(s.text=s.text?s.text:t.getContrast(s.background),s.border=s.border?s.border:"transparent",i[o+" .cc-highlight .cc-btn:first-child"]=["color: "+s.text,"border-color: "+s.border,"background-color: "+s.background]):i[o+" .cc-highlight .cc-btn:first-child"]=["color: "+a.text]));var u=document.createElement("style");document.head.appendChild(u),e.customStyles[n]={references:1,element:u.sheet};var l=-1;for(var f in i)i.hasOwnProperty(f)&&u.sheet.insertRule(f+"{"+i[f].join(";")+"}",++l)}(r,n,"."+o),i}function h(e){return"000000"==(e=t.normaliseHex(e))?"#222":t.getLuminance(e)}function m(e,t){for(var n=0,r=e.length;n<r;++n){var o=e[n];if(o instanceof RegExp&&o.test(t)||"string"==typeof o&&o.length&&o===t)return!0}return!1}function b(){var n=this.setStatus.bind(this),r=this.close.bind(this),o=this.options.dismissOnTimeout;"number"==typeof o&&o>=0&&(this.dismissTimeout=window.setTimeout(function(){n(e.status.dismiss),r(!0)},Math.floor(o)));var i=this.options.dismissOnScroll;if("number"==typeof i&&i>=0){var a=function(t){window.pageYOffset>Math.floor(i)&&(n(e.status.dismiss),r(!0),window.removeEventListener("scroll",a),this.onWindowScroll=null)};this.options.enabled&&(this.onWindowScroll=a,window.addEventListener("scroll",a))}var c=this.options.dismissOnWindowClick,s=this.options.ignoreClicksFrom;if(c){var u=function(o){for(var i=!1,a=o.path.length,c=s.length,l=0;l<a;l++)if(!i)for(var f=0;f<c;f++)i||(i=t.hasClass(o.path[l],s[f]));i||(n(e.status.dismiss),r(!0),window.removeEventListener("click",u),window.removeEventListener("touchend",u),this.onWindowClick=null)}.bind(this);this.options.enabled&&(this.onWindowClick=u,window.addEventListener("click",u),window.addEventListener("touchend",u))}}function y(){if("info"!=this.options.type&&(this.options.revokable=!0),t.isMobile()&&(this.options.animateRevokable=!1),this.options.revokable){var e=s.call(this);this.options.animateRevokable&&e.push("cc-animate"),this.customStyleSelector&&e.push(this.customStyleSelector);var n=this.options.revokeBtn.replace("{{classes}}",e.join(" ")).replace("{{policy}}",this.options.content.policy);this.revokeBtn=f.call(this,n);var r=this.revokeBtn;if(this.options.animateRevokable){var o=t.throttle(function(e){var n=!1,o=window.innerHeight-20;t.hasClass(r,"cc-top")&&e.clientY<20&&(n=!0),t.hasClass(r,"cc-bottom")&&e.clientY>o&&(n=!0),n?t.hasClass(r,"cc-active")||t.addClass(r,"cc-active"):t.hasClass(r,"cc-active")&&t.removeClass(r,"cc-active")},200);this.onMouseMove=o,window.addEventListener("mousemove",o)}}}return o.prototype.initialise=function(e){this.options&&this.destroy(),t.deepExtend(this.options={},r),t.isPlainObject(e)&&t.deepExtend(this.options,e),c.call(this)&&(this.options.enabled=!1),m(this.options.blacklistPage,location.pathname)&&(this.options.enabled=!1),m(this.options.whitelistPage,location.pathname)&&(this.options.enabled=!0);var n=this.options.window.replace("{{classes}}",u.call(this).join(" ")).replace("{{children}}",l.call(this)),o=this.options.overrideHTML;if("string"==typeof o&&o.length&&(n=o),this.options.static){var i=f.call(this,'<div class="cc-grower">'+n+"</div>");i.style.display="",this.element=i.firstChild,this.element.style.display="none",t.addClass(this.element,"cc-invisible")}else this.element=f.call(this,n);b.call(this),y.call(this),this.options.autoOpen&&this.autoOpen()},o.prototype.destroy=function(){this.onButtonClick&&this.element&&(this.element.removeEventListener("click",this.onButtonClick),this.onButtonClick=null),this.dismissTimeout&&(clearTimeout(this.dismissTimeout),this.dismissTimeout=null),this.onWindowScroll&&(window.removeEventListener("scroll",this.onWindowScroll),this.onWindowScroll=null),this.onWindowClick&&(window.removeEventListener("click",this.onWindowClick),this.onWindowClick=null),this.onMouseMove&&(window.removeEventListener("mousemove",this.onMouseMove),this.onMouseMove=null),this.element&&this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.element=null,this.revokeBtn&&this.revokeBtn.parentNode&&this.revokeBtn.parentNode.removeChild(this.revokeBtn),this.revokeBtn=null,function(n){if(t.isPlainObject(n)){var r=t.hash(JSON.stringify(n)),o=e.customStyles[r];if(o&&! --o.references){var i=o.element.ownerNode;i&&i.parentNode&&i.parentNode.removeChild(i),e.customStyles[r]=null}}}(this.options.palette),this.options=null},o.prototype.open=function(t){if(this.element)return this.isOpen()||(e.hasTransition?this.fadeIn():this.element.style.display="",this.options.revokable&&this.toggleRevokeButton(),this.options.onPopupOpen.call(this)),this},o.prototype.close=function(t){if(this.element)return this.isOpen()&&(e.hasTransition?this.fadeOut():this.element.style.display="none",t&&this.options.revokable&&this.toggleRevokeButton(!0),this.options.onPopupClose.call(this)),this},o.prototype.fadeIn=function(){var n=this.element;if(e.hasTransition&&n&&(this.afterTransition&&a.call(this,n),t.hasClass(n,"cc-invisible"))){if(n.style.display="",this.options.static){var r=this.element.clientHeight;this.element.parentNode.style.maxHeight=r+"px"}this.openingTimeout=setTimeout(i.bind(this,n),20)}},o.prototype.fadeOut=function(){var n=this.element;e.hasTransition&&n&&(this.openingTimeout&&(clearTimeout(this.openingTimeout),i.bind(this,n)),t.hasClass(n,"cc-invisible")||(this.options.static&&(this.element.parentNode.style.maxHeight=""),this.afterTransition=a.bind(this,n),n.addEventListener(e.transitionEnd,this.afterTransition),t.addClass(n,"cc-invisible")))},o.prototype.isOpen=function(){return this.element&&""==this.element.style.display&&(!e.hasTransition||!t.hasClass(this.element,"cc-invisible"))},o.prototype.toggleRevokeButton=function(e){this.revokeBtn&&(this.revokeBtn.style.display=e?"":"none")},o.prototype.revokeChoice=function(e){this.options.enabled=!0,this.clearStatus(),this.options.onRevokeChoice.call(this),e||this.autoOpen()},o.prototype.hasAnswered=function(t){return Object.keys(e.status).indexOf(this.getStatus())>=0},o.prototype.hasConsented=function(t){var n=this.getStatus();return n==e.status.allow||n==e.status.dismiss},o.prototype.autoOpen=function(e){this.options.enabled?this.open():this.hasAnswered()&&this.options.revokable&&this.toggleRevokeButton(!0)},o.prototype.setStatus=function(n){var r=this.options.cookie,o=t.getCookie(r.name),i=Object.keys(e.status).indexOf(o)>=0;Object.keys(e.status).indexOf(n)>=0?(t.setCookie(r.name,n,r.expiryDays,r.domain,r.path,r.secure),this.options.onStatusChange.call(this,n,i)):this.clearStatus()},o.prototype.getStatus=function(){return t.getCookie(this.options.cookie.name)},o.prototype.clearStatus=function(){var e=this.options.cookie;t.setCookie(e.name,"",-1,e.domain,e.path)},o}(),e.Location=function(){var e={timeout:5e3,services:["ipinfo"],serviceDefinitions:{ipinfo:function(){return{url:"//ipinfo.io",headers:["Accept: application/json"],callback:function(e,t){try{var n=JSON.parse(t);return n.error?i(n):{code:n.country}}catch(e){return i({error:"Invalid response ("+e+")"})}}}},ipinfodb:function(e){return{url:"//api.ipinfodb.com/v3/ip-country/?key={api_key}&format=json&callback={callback}",isScript:!0,callback:function(e,t){try{var n=JSON.parse(t);return"ERROR"==n.statusCode?i({error:n.statusMessage}):{code:n.countryCode}}catch(e){return i({error:"Invalid response ("+e+")"})}}}},maxmind:function(){return{url:"//js.maxmind.com/js/apis/geoip2/v2.1/geoip2.js",isScript:!0,callback:function(e){window.geoip2?geoip2.country(function(t){try{e({code:t.country.iso_code})}catch(t){e(i(t))}},function(t){e(i(t))}):e(new Error("Unexpected response format. The downloaded script should have exported `geoip2` to the global scope"))}}}}};function n(n){t.deepExtend(this.options={},e),t.isPlainObject(n)&&t.deepExtend(this.options,n),this.currentServiceIndex=-1}function r(e,t,n){var r,o=document.createElement("script");o.type="text/"+(e.type||"javascript"),o.src=e.src||e,o.async=!1,o.onreadystatechange=o.onload=function(){var e=o.readyState;clearTimeout(r),t.done||e&&!/loaded|complete/.test(e)||(t.done=!0,t(),o.onreadystatechange=o.onload=null)},document.body.appendChild(o),r=setTimeout(function(){t.done=!0,t(),o.onreadystatechange=o.onload=null},n)}function o(e,t,n,r,o){var i=new(window.XMLHttpRequest||window.ActiveXObject)("MSXML2.XMLHTTP.3.0");if(i.open(r?"POST":"GET",e,1),i.setRequestHeader("Content-type","application/x-www-form-urlencoded"),Array.isArray(o))for(var a=0,c=o.length;a<c;++a){var s=o[a].split(":",2);i.setRequestHeader(s[0].replace(/^\s+|\s+$/g,""),s[1].replace(/^\s+|\s+$/g,""))}"function"==typeof t&&(i.onreadystatechange=function(){i.readyState>3&&t(i)}),i.send(r)}function i(e){return new Error("Error ["+(e.code||"UNKNOWN")+"]: "+e.error)}return n.prototype.getNextService=function(){var e;do{e=this.getServiceByIdx(++this.currentServiceIndex)}while(this.currentServiceIndex<this.options.services.length&&!e);return e},n.prototype.getServiceByIdx=function(e){var n=this.options.services[e];if("function"==typeof n){var r=n();return r.name&&t.deepExtend(r,this.options.serviceDefinitions[r.name](r)),r}return"string"==typeof n?this.options.serviceDefinitions[n]():t.isPlainObject(n)?this.options.serviceDefinitions[n.name](n):null},n.prototype.locate=function(e,t){var n=this.getNextService();n?(this.callbackComplete=e,this.callbackError=t,this.runService(n,this.runNextServiceOnError.bind(this))):t(new Error("No services to run"))},n.prototype.setupUrl=function(e){var t=this.getCurrentServiceOpts();return e.url.replace(/\{(.*?)\}/g,function(n,r){if("callback"===r){var o="callback"+Date.now();return window[o]=function(t){e.__JSONP_DATA=JSON.stringify(t)},o}if(r in t.interpolateUrl)return t.interpolateUrl[r]})},n.prototype.runService=function(e,t){var n=this;e&&e.url&&e.callback&&(e.isScript?r:o)(this.setupUrl(e),function(r){var o=r?r.responseText:"";e.__JSONP_DATA&&(o=e.__JSONP_DATA,delete e.__JSONP_DATA),n.runServiceCallback.call(n,t,e,o)},this.options.timeout,e.data,e.headers)},n.prototype.runServiceCallback=function(e,t,n){var r=this,o=t.callback(function(t){o||r.onServiceResult.call(r,e,t)},n);o&&this.onServiceResult.call(this,e,o)},n.prototype.onServiceResult=function(e,t){t instanceof Error||t&&t.error?e.call(this,t,null):e.call(this,null,t)},n.prototype.runNextServiceOnError=function(e,t){if(e){this.logError(e);var n=this.getNextService();n?this.runService(n,this.runNextServiceOnError.bind(this)):this.completeService.call(this,this.callbackError,new Error("All services failed"))}else this.completeService.call(this,this.callbackComplete,t)},n.prototype.getCurrentServiceOpts=function(){var e=this.options.services[this.currentServiceIndex];return"string"==typeof e?{name:e}:"function"==typeof e?e():t.isPlainObject(e)?e:{}},n.prototype.completeService=function(e,t){this.currentServiceIndex=-1,e&&e(t)},n.prototype.logError=function(e){var t=this.currentServiceIndex,n=this.getServiceByIdx(t);console.warn("The service["+t+"] ("+n.url+") responded with the following error",e)},n}(),e.Law=function(){var e={regionalLaw:!0,hasLaw:["AT","BE","BG","HR","CZ","CY","DK","EE","FI","FR","DE","EL","HU","IE","IT","LV","LT","LU","MT","NL","PL","PT","SK","ES","SE","GB","UK","GR","EU"],revokable:["HR","CY","DK","EE","FR","DE","LV","LT","NL","PT","ES"],explicitAction:["HR","IT","ES"]};function n(e){this.initialise.apply(this,arguments)}return n.prototype.initialise=function(n){t.deepExtend(this.options={},e),t.isPlainObject(n)&&t.deepExtend(this.options,n)},n.prototype.get=function(e){var t=this.options;return{hasLaw:t.hasLaw.indexOf(e)>=0,revokable:t.revokable.indexOf(e)>=0,explicitAction:t.explicitAction.indexOf(e)>=0}},n.prototype.applyLaw=function(e,t){var n=this.get(t);return n.hasLaw||(e.enabled=!1,"function"==typeof e.onNoCookieLaw&&e.onNoCookieLaw(t,n)),this.options.regionalLaw&&(n.revokable&&(e.revokable=!0),n.explicitAction&&(e.dismissOnScroll=!1,e.dismissOnTimeout=!1)),e},n}(),e.initialise=function(t,n,r){l.A.get("/data/cookieconsent").then(function(o){if
2(o.rufP){_t=o.answer,t.law||(t.law={}),t.law.countryCode=o.countryCode;var i=new e.Law(t.law);n||(n=function(){}),r||(r=function(){}),Object.keys(e.status).indexOf(_t)>=0&&n(new e.Popup(t)),e.getCountryCode(t,function(r){delete t.law,delete t.location,r.code&&(t=i.applyLaw(t,r.code)),n(new e.Popup(t))},function(n){delete t.law,delete t.location,r(n,new e.Popup(t))})}})},e.getCountryCode=function(t,n,r){t.law&&t.law.countryCode?n({code:t.law.countryCode}):t.location?new e.Location(t.location).locate(function(e){n(e||{})},r):n({})},e.utils=t,e.hasInitialised=!0,window.cookieconsent=e}}(window.cookieconsent||{});const Ct=[{path:"/oauth/request",component:(0,ye.A)(function(){return n.e(5837).then(n.bind(n,76332))})}];var xt=(0,ye.A)(function(){return Promise.all([n.e(1082),n.e(5922),n.e(760),n.e(9208),n.e(3344),n.e(7475),n.e(7514),n.e(9763),n.e(3052),n.e(4941),n.e(4226)]).then(n.bind(n,50274))}),Nt=(0,ye.A)(function(){return Promise.all([n.e(4934),n.e(1050)]).then(n.bind(n,72625))}),Rt=(0,ye.A)(function(){return Promise.all([n.e(1082),n.e(5922),n.e(760),n.e(9208),n.e(3344),n.e(7475),n.e(7514),n.e(9763),n.e(3052),n.e(4941),n.e(4226)]).then(n.bind(n,57421))}),Dt=(0,ye.A)(function(){return Promise.all([n.e(1082),n.e(760),n.e(862),n.e(2394)]).then(n.bind(n,2436))}),Lt=(0,ye.A)(function(){return Promise.all([n.e(1082),n.e(760),n.e(862),n.e(2394)]).then(n.bind(n,87338))}),Ut=(0,ye.A)(function(){return Promise.all([n.e(1082),n.e(3413),n.e(5922),n.e(3564),n.e(9208),n.e(3344),n.e(3074),n.e(6944)]).then(n.bind(n,13457))}),Bt=(0,ye.A)(function(){return Promise.all([n.e(1082),n.e(5922),n.e(760),n.e(3564),n.e(6626),n.e(8611)]).then(n.bind(n,47752))}),It=(0,ye.A)(function(){return n.e(5902).then(n.bind(n,59203))}),Mt=(0,ye.A)(function(){return Promise.all([n.e(1082),n.e(3413),n.e(5922),n.e(760),n.e(3564),n.e(4974),n.e(8825),n.e(6711),n.e(5630),n.e(6626),n.e(9586)]).then(n.bind(n,35197))}),Ft=(0,ye.A)(function(){return Promise.all([n.e(1082),n.e(3413),n.e(5922),n.e(760),n.e(3564),n.e(4974),n.e(8825),n.e(6711),n.e(5630),n.e(6626),n.e(9586)]).then(n.bind(n,25211))}),Wt=(0,ye.A)(function(){return Promise.all([n.e(1082),n.e(3413),n.e(5922),n.e(760),n.e(3564),n.e(4974),n.e(8825),n.e(6711),n.e(5630),n.e(6626),n.e(9586)]).then(n.bind(n,79690))}),Ht=(0,ye.A)(function(){return Promise.all([n.e(1082),n.e(3413),n.e(5922),n.e(760),n.e(3564),n.e(4974),n.e(8825),n.e(6711),n.e(5630),n.e(6626),n.e(9586)]).then(n.bind(n,16339))}),Gt=(0,ye.A)(function(){return Promise.all([n.e(1082),n.e(3413),n.e(5922),n.e(760),n.e(3564),n.e(4974),n.e(8825),n.e(6711),n.e(5630),n.e(6626),n.e(9586)]).then(n.bind(n,64100))}),Jt=(0,ye.A)(function(){return Promise.all([n.e(1082),n.e(3413),n.e(5922),n.e(760),n.e(3564),n.e(4974),n.e(8825),n.e(6711),n.e(5630),n.e(6626),n.e(9586)]).then(n.bind(n,48185))}),zt=(0,ye.A)(function(){return Promise.all([n.e(760),n.e(367)]).then(n.bind(n,93727))}),qt=(0,ye.A)(function(){return n.e(6462).then(n.bind(n,51667))}),Vt=(0,ye.A)(function(){return Promise.all([n.e(1082),n.e(3413),n.e(5922),n.e(760),n.e(3564),n.e(9208),n.e(3344),n.e(7475),n.e(4974),n.e(7514),n.e(7466),n.e(3052),n.e(3414)]).then(n.bind(n,32089))}),Kt=(0,ye.A)(function(){return Promise.all([n.e(1082),n.e(3413),n.e(5922),n.e(760),n.e(3564),n.e(9208),n.e(3344),n.e(7475),n.e(4974),n.e(7514),n.e(7466),n.e(3052),n.e(3414)]).then(n.bind(n,85944))}),Yt=(0,ye.A)(function(){return Promise.all([n.e(1082),n.e(3413),n.e(5922),n.e(3564),n.e(9208),n.e(3344),n.e(960),n.e(3074),n.e(688),n.e(7820),n.e(807),n.e(943)]).then(n.bind(n,4164))}),Xt=(0,ye.A)(function(){return Promise.all([n.e(3413),n.e(9208),n.e(1933),n.e(6135),n.e(4085),n.e(697),n.e(1778)]).then(n.bind(n,32))}),Zt=(0,ye.A)(function(){return Promise.all([n.e(1082),n.e(3413),n.e(5922),n.e(3564),n.e(9208),n.e(3344),n.e(3074),n.e(8656),n.e(7706)]).then(n.bind(n,82196))}),$t=(0,ye.A)(function(){return Promise.all([n.e(1082),n.e(760),n.e(2320)]).then(n.bind(n,33023))}),Qt=(0,ye.A)(function(){return Promise.all([n.e(1082),n.e(5922),n.e(760),n.e(3564),n.e(6626),n.e(8611)]).then(n.bind(n,13272))}),en=(0,ye.A)(function(){return Promise.all([n.e(1082),n.e(5922),n.e(760),n.e(3564),n.e(6626),n.e(8611)]).then(n.bind(n,77422))}),tn=(0,ye.A)(function(){return Promise.all([n.e(1082),n.e(5922),n.e(760),n.e(3564),n.e(6626),n.e(8611)]).then(n.bind(n,2850))}),nn=(0,ye.A)(function(){return Promise.all([n.e(960),n.e(5128),n.e(9978),n.e(862),n.e(3353),n.e(4738)]).then(n.bind(n,92694))}),rn=(0,ye.A)(function(){return Promise.all([n.e(960),n.e(5128),n.e(9978),n.e(862),n.e(3353),n.e(4738)]).then(n.bind(n,72511))}),on=(0,ye.A)(function(){return n.e(6462).then(n.bind(n,65137))});const an=Ct.concat([{path:"/_:path",component:Xt},{path:"/home/CancelSubscription",component:Nt},{path:"/home/testimonial",component:Zt},{path:"/home/upgrade/update_card",component:$t},{path:"/settings/commissionSettings",component:Yt},{path:"/settings/deleteAccount",component:Yt},{path:"/settings/emailSettings",component:Yt},{path:"/settings/profileSettings",component:Yt},{path:"/website_traffic/home",component:Rt},{path:"/website_traffic/home/admin/feedback.php",component:Ut},{path:"/website_traffic/home/websites/level_report.php",component:Ft},{path:"/website_traffic/home/websites/points5days.php",component:Wt},{path:"/website_traffic/home/websites/websites_viewed.php",component:Gt},{path:"/website_traffic/home/websites/level_ladder",component:It},{path:"/website_traffic/home/websites/level_ladder/levels_on_ladder.php",component:Mt},{path:"/website_traffic/home/read/ad_guide.php",component:xt},{path:"/website_traffic/home/read/faqs",component:Dt},{path:"/website_traffic/home/websites/favorites.php",component:Lt},{path:"/website_traffic/home/websites/:tab?",component:Ht},{path:"/website_traffic/home/referring",component:zt},{path:"/website_traffic/home/referring/leagues.php",component:qt},{path:"/website_traffic/home/referring/report.php",component:Vt},{path:"/home/stats/:tab1?",component:Kt},{path:"/website_traffic/home/upgrade",component:Qt},{path:"/website_traffic/home/upgrade/switch",component:en},{path:"/website_traffic/home/upgrade/payment_failed",component:Jt},{path:"/website_traffic/home/upgrade/commission.php",component:tn},{path:"/website_traffic/home/upgrade/invoice",component:Bt},{path:"/website_traffic/home/read/support",component:nn},{path:"/website_traffic/home/admin/verify_email.php",component:rn},{path:"/website_traffic/home/powerlink",component:on}]);for(var cn=(0,ye.A)(function(){return Promise.all([n.e(1082),n.e(3413),n.e(5922),n.e(3564),n.e(9208),n.e(3344),n.e(960),n.e(3074),n.e(688),n.e(7820),n.e(807),n.e(943)]).then(n.bind(n,4164))}),sn=[{path:"/home",component:(0,ye.A)(function(){return Promise.all([n.e(1082),n.e(5922),n.e(760),n.e(9208),n.e(3344),n.e(7475),n.e(7514),n.e(9763),n.e(3052),n.e(4941),n.e(75)]).then(n.bind(n,37910))})},{path:"/settings",component:cn},{path:"/settings/profile",component:cn},{path:"/settings/security",component:cn}
2,{path:"/settings/changeEmail",component:cn},{path:"/settings/multiAccounts",component:cn},{path:"/settings/multiAccounts/:team",component:cn},{path:"/settings/multiAccounts/:team/:teamTab",component:cn},{path:"/settings/payments",component:cn},{path:"/getStarted/:page?",component:(0,ye.A)(function(){return Promise.all([n.e(1082),n.e(5922),n.e(3564),n.e(4974),n.e(8825),n.e(5128),n.e(5630),n.e(4795)]).then(n.bind(n,38716))})},{path:"/setupExistingUser",component:(0,ye.A)(function(){return n.e(5805).then(n.bind(n,35159))})},{path:"/referrals",component:(0,ye.A)(function(){return Promise.all([n.e(1082),n.e(3346)]).then(n.bind(n,71463))})},{path:"/admin/:tab?/:uid?/:tab2?",component:(0,ye.A)(function(){return Promise.all([n.e(1082),n.e(3413),n.e(760),n.e(960),n.e(8636),n.e(8508)]).then(n.bind(n,42042))})},{path:"/notifications",component:(0,ye.A)(function(){return Promise.all([n.e(1082),n.e(232),n.e(2020)]).then(n.bind(n,15395))})},{path:"/billing",component:(0,ye.A)(function(){return Promise.all([n.e(1082),n.e(760),n.e(6977)]).then(n.bind(n,58790))})}].concat(an),un=0;un<sn.length;un++)sn[un].auth=!0;const ln=sn;var fn=(0,ye.A)(function(){return Promise.all([n.e(1933),n.e(697),n.e(4472)]).then(n.bind(n,31058))}),pn=(0,ye.A)(function(){return Promise.all([n.e(1082),n.e(3413),n.e(1933),n.e(9691),n.e(8019)]).then(n.bind(n,22935))}),dn=(0,ye.A)(function(){return Promise.all([n.e(1082),n.e(3413),n.e(760),n.e(960),n.e(8636),n.e(8508)]).then(n.bind(n,42042))}),hn=(0,ye.A)(function(){return n.e(953).then(n.bind(n,70723))}),mn=(0,ye.A)(function(){return Promise.all([n.e(960),n.e(7962)]).then(n.bind(n,92852))});const bn=[{path:"/website_traffic/home/user_profile.php",component:fn},{path:"/blog",component:pn},{path:"/blog/:bid",component:pn},{path:"/admin/:service/:tab",component:dn},{path:"/website_traffic/home/upgrade/thank_you.php",component:hn},{path:"/website_traffic/home/read/videos",component:(0,ye.A)(function(){return Promise.all([n.e(5128),n.e(6701)]).then(n.bind(n,74243))})},{path:"*",exact:!1,component:mn}];const yn=[{path:"/",component:(0,ye.A)(function(){return Promise.all([n.e(960),n.e(7962)]).then(n.bind(n,92852))})},{path:"/password/reset",component:(0,ye.A)(function(){return Promise.all([n.e(1082),n.e(3413),n.e(5922),n.e(3564),n.e(9208),n.e(3344),n.e(3074),n.e(807),n.e(5642)]).then(n.bind(n,33536))})},{path:"/password/reset/:token",component:(0,ye.A)(function(){return Promise.all([n.e(1082),n.e(3413),n.e(5922),n.e(3564),n.e(9208),n.e(3344),n.e(3074),n.e(807),n.e(5642)]).then(n.bind(n,71101))})},{path:"/terms",component:(0,ye.A)(function(){return n.e(2164).then(n.bind(n,35012))})},{path:"/privacy",component:(0,ye.A)(function(){return n.e(1957).then(n.bind(n,84315))})},{path:"/upgrade/complete",component:(0,ye.A)(function(){return n.e(5804).then(n.bind(n,60692))})},{path:"/login",component:(0,ye.A)(function(){return Promise.all([n.e(960),n.e(6966)]).then(n.bind(n,98278))})},{path:"/login/multi",component:(0,ye.A)(function(){return Promise.all([n.e(1082),n.e(760),n.e(6977)]).then(n.bind(n,98701))})},{path:"/logout",component:(0,ye.A)(function(){return n.e(2113).then(n.bind(n,85053))})},{path:"/maintenance",component:(0,ye.A)(function(){return n.e(2113).then(n.bind(n,6496))})},{path:"/signup",component:(0,ye.A)(function(){return Promise.all([n.e(960),n.e(3787)]).then(n.bind(n,24910))})},{path:"/contact",component:(0,ye.A)(function(){return Promise.all([n.e(960),n.e(9978),n.e(3353)]).then(n.bind(n,44580))})},{path:"/setup",component:(0,ye.A)(function(){return Promise.all([n.e(688),n.e(7820),n.e(6930)]).then(n.bind(n,37754))})},{path:"/setup/:id/:code",component:(0,ye.A)(function(){return Promise.all([n.e(688),n.e(7820),n.e(6930)]).then(n.bind(n,37754))})}].concat(bn);function vn(e){return vn="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},vn(e)}function gn(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,wn(r.key),r)}}function wn(e){var t=function(e,t){if("object"!=vn(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=vn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==vn(t)?t:t+""}function On(e,t,n){return t=Sn(t),function(e,t){if(t&&("object"==vn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,En()?Reflect.construct(t,n||[],Sn(e).constructor):t.apply(e,n))}function En(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(En=function(){return!!e})()}
2function Sn(e){return Sn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Sn(e)}function kn(e,t){return kn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},kn(e,t)}var Pn=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=On(this,t)).state={path:null},e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&kn(e,t)}(t,e),n=t,o=[{key:"componentDidMount",value:function(){this.runCheck()}},{key:"componentDidUpdate",value:function(e){this.props.location===e.location&&this.state.path||this.runCheck()}},{key:"runCheck",value:function(){var e=this.props,t=e.user,n=e.location.pathname;!t.id||t.finishedGetStarted||n.match(/\/getStarted/)?(this.setState({path:n}),window.scrollTo(0,0)):window.location.href="/getStarted"}},{key:"render",value:function(){var e=this.props.user;if(!this.state.path)return null;var t=ln.concat(yn),n=this.props.heightOfInnerInnerWindow||"";return r.createElement("div",{style:{height:n,maxHeight:n},id:"routerRoot"},r.createElement(E.dO,null,t.map(function(t,n){return r.createElement(E.qh,{key:n,exact:void 0===t.exact||t.exact,path:t.path,render:function(n){if(t.auth&&!e.id){var o=n.location,i=o.pathname;if(o.search){var a=o.search;i+=a=a.replace("noLogin=1","")}return r.createElement(E.rd,{to:"/login?redi="+encodeURIComponent(i)})}var c=t.component;return r.createElement(c,n)}})})))}}],o&&gn(n.prototype,o),i&&gn(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,o,i}(r.Component);const jn=(0,E.y)((0,O.A)(Pn,{heightOfInnerInnerWindow:"heightOfInnerInnerWindow",user:"user"}));var _n=n(1747);const Tn=(0,E.y)((0,O.A)(function(e){var t=e.user,n=t.announcements,o=[];n&&n.map(function(e,n){var r=window.location.pathname;void 0!==e.auth&&e.auth!==!!t.id||(e.except&&e.except.length>0&&e.except.includes(r)||e.only&&e.only.length>0&&!e.only.includes(r)||o.push(e))}),(0,r.useEffect)(function(){o.map(function(e,t){if(e.types&&e.types.includes("modal")>-1){var n="announcements"+e.heading,r=i(e,t,function(){return Tt.default.close(n)});(0,Tt.default)({id:n,header:e.heading,body:r})}})},[]);var i=function(e,t,n){var o=r.createElement("div",{key:t},r.createElement("div",{className:"alert alert-"+e.classContext},!!e.heading&&r.createElement("h4",{className:"alert-heading"},e.heading),!!e.content&&r.createElement("div",null,e.content),!!e.footer&&!!e.content&&r.createElement("hr",{className:"mt-2 mb-2"}),!!e.footer&&r.createElement("div",null,e.footer)));return e.link?r.createElement(g.N_,{to:e.link,key:t,style:{textDecoration:"none"},onClick:function(){return n&&n()}},o):o};return o.map(function(e,t){return e.types&&-1==e.types.includes("announcement")?null:i(e,t)})},{user:"user"}));function An(e){return An="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},An(e)}function Cn(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,xn(r.key),r)}}function xn(e){var t=function(e,t){if("object"!=An(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=An(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==An(t)?t:t+""}function Nn(e,t,n){return t=Dn(t),function(e,t){if(t&&("object"==An(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Rn()?Reflect.construct(t,n||[],Dn(e).constructor):t.apply(e,n))}function Rn(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Rn=function(){return!!e})()}
2function Dn(e){return Dn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Dn(e)}function Ln(e,t){return Ln=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ln(e,t)}var Un=function(e){function t(e,n){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(r=Nn(this,t,[e,n])).state={user:e.user.id,loaded:!1,path:null,TopNavAuth:void 0},r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ln(e,t)}(t,e),o=t,a=[{key:"componentDidMount",value:function(){window.cookieconsent.initialise({animateRevokable:!1,cookie:{secure:"https:"===location.protocol},theme:"ruf",position:"bottom-right"});var e=new URLSearchParams(this.props.location.search).get("dem_rf0");e&&this.props.dispatch({type:"RECORD_REFERER_USERNAME",referer:e}),this.props.user.id?this.loadAuthFiles():this.setState({loaded:!0})}},{key:"componentDidUpdate",value:function(){this.props.user.id&&!this.state.user&&(this.setState({user:this.props.user.id}),this.loadAuthFiles())}},{key:"loadAuthFiles",value:function(){var e=this;Promise.all([Promise.all([n.e(1082),n.e(3413),n.e(232),n.e(1462)]).then(n.bind(n,2852)),Promise.all([n.e(9691),n.e(4453)]).then(n.bind(n,3316)),n.e(776).then(n.bind(n,4131))]).then(function(t){e.setState({TopNavAuth:t[0].default,loaded:!0})}).catch(function(e){throw e})}},{key:"render",value:function(){var e=this.state,t=location.pathname.replace(/[^a-z0-9_]/gi,"_");if(!e.loaded)return r.createElement("div",{className:"text-center"},r.createElement("img",{src:i,style:{maxWidth:"250px"}}),r.createElement("br",null),r.createElement("h3",null,"Loading"));this.props.user.id&&(t+=" authorisedUser");var n=e.TopNavAuth;return r.createElement("div",{id:"appContainer"},r.createElement(Ze,null),r.createElement("div",{className:t},n?r.createElement(n,null):r.createElement(jt,null),r.createElement("div",{id:"pageContent"},r.createElement($,null),r.createElement(Tn,null),r.createElement(jn,null)),r.createElement(mt,null),Tt.default.show()),r.createElement(ae,null))}}],c=[{key:"getDerivedStateFromProps",value:function(e,t){var n={},r=e.location,o=r.pathname+"?"+r.search;if(o!==t.path){n.path=o;var i=document.getElementsByTagName("body")[0];_n.A.hideHeader&&_n.A.hideHeader(r)?i.classList.add("hide-header"):i.classList.remove("hide-header"),_n.A.hideFooter&&_n.A.hideFooter(r)?i.classList.add("hide-footer"):i.classList.remove("hide-footer")}return e.user.id&&!t.user&&(n.loaded=!1),0==Object.keys(n).length?null:n}}],a&&Cn(o.prototype,a),c&&Cn(o,c),Object.defineProperty(o,"prototype",{writable:!1}),o;var o,a,c}(r.Component);const Bn=(0,E.y)((0,O.A)(Un,{modals:"modals",user:"user"}));function In(e){return In="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},In(e)}function Mn(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,Fn(r.key),r)}}function Fn(e){var t=function(e,t){if("object"!=In(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=In(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==In(t)?t:t+""}function Wn(e,t,n){return t=Gn(t),function(e,t){if(t&&("object"==In(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Hn()?Reflect.construct(t,n||[],Gn(e).constructor):t.apply(e,n))}function Hn(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Hn=function(){return!!e})()}
2function Gn(e){return Gn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Gn(e)}function Jn(e,t){return Jn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Jn(e,t)}var zn=function(e){function t(e,n){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(r=Wn(this,t,[e,n])).store=(0,c.y$)(s.default),window.reduxStore=r.store,r.state={loaded:!1},r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Jn(e,t)}(t,e),o=t,f=[{key:"componentDidMount",value:function(){var e=this;try{window.top==window&&window.console&&(setTimeout(console.log.bind(console,"%c%s","color: red; background: yellow; font-size: 24px;","WARNING!")),setTimeout(console.log.bind(console,"%c%s","font-size: 18px;","Using this console may allow attackers to impersonate you and steal your information using an attack called Self-XSS.\nDo not enter or paste code that you do not understand.")))}catch(e){}var t=[];if(window.fetch||t.push(n.e(811).then(n.bind(n,41811))),window.URLSearchParams&&(new URLSearchParams).get||t.push(n.e(385).then(n.t.bind(n,51385,23))),Promise.all(t).then(function(t){e.loadStart()}).catch(function(e){throw e}),"function"==typeof Node&&Node.prototype){var r=Node.prototype.removeChild;Node.prototype.removeChild=function(e){return e.parentNode!==this?(console&&console.error("Cannot remove a child from a different parent",e,this),e):r.apply(this,arguments)};var o=Node.prototype.insertBefore;Node.prototype.insertBefore=function(e,t){return t&&t.parentNode!==this?(console&&console.error("Cannot insert before a reference node from a different parent",t,this),e):o.apply(this,arguments)}}}},{key:"loadStart",value:function(){var e=this,t=new URLSearchParams(location.search).get("ec");if(t)l.A.post("/data/loginAs/exchange",{code:t}).then(function(t){t.token&&u.A.set(t.token);var n=new URLSearchParams(location.search);n.delete("ec");var r=n.toString();history.replaceState(null,"",location.pathname+(r?"?"+r:"")+location.hash),e.loadStart()}).catch(function(e){throw e});else{var n=new URLSearchParams(location.search).get("utm_source"),r=[];document.referrer&&r.push("docref="+encodeURIComponent(document.referrer)),n&&r.push("utm_source="+encodeURIComponent(n));var o="/data/start";r.length&&(o+="?"+r.join("&")),l.A.get(o).then(function(t){t.rufP&&(t.token&&u.A.set(t.token),t.website&&(document.title=t.website.name,e.store.dispatch({type:"STORE_WEBSITE",website:t.website})),e.store.dispatch({type:"STORE_USER",user:t.user}),(t.users||t.uiNotifications)&&e.store.dispatch({type:"addUiNotifications",data:t}),e.setState({loaded:!0}))}).catch(function(e){throw e})}}},{key:"render",value:function(){return this.state.loaded?r.createElement(a.Kq,{store:this.store},r.createElement(g.Kd,null,r.createElement(Bn,null))):r.createElement("div",{className:"text-center"},r.createElement("img",{src:i,style:{maxWidth:"250px"}}),r.createElement("br",null),r.createElement("h3",null,"Loading"))}}],f&&Mn(o.prototype,f),p&&Mn(o,p),Object.defineProperty(o,"prototype",{writable:!1}),o;var o,f,p}(r.Component);(0,o.H)(document.getElementById("appRoot")).render(r.createElement(v,null,r.createElement(zn,null)))},5226:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={get:function(e){try{return window.localStorage.getItem(e)}catch(e){return null}},set:function(e,t){try{return window.localStorage.setItem(e,t),!0}catch(e){return!1}},remove:function(e){try{return window.localStorage.removeItem(e),!0}catch(e){return!1}}}},5325:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(69873),o=n(94853);function i(e){return i="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},i(e)}function a(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,c(r.key),r)}}function c(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:t+""}function s(e,t,n){return t=l(t),function(e,t){if(t&&("object"==i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,u()?Reflect.construct(t,n||[],l(e).constructor):t.apply(e,n))}function u(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(u=function(){return!!e})()}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function f(e,t){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},f(e,t)}const p=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),s(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}(t,e),n=t,(i=[{key:"render",value:function(){return r.createElement(o.A,{href:"/"},r.createElement("img",{style:{position:"absolute",top:"3px"},src:"/assets/home_logo.png",alt:"Traffic Ad Bar"}))}}
2])&&a(n.prototype,i),c&&a(n,c),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,i,c}(r.Component)},18507:(e,t,n)=>{"use strict";n.d(t,{A:()=>_});var r,o,i,a,c,s,u,l,f,p,d,h,m=n(73783),b=n.n(m);function y(e){return y="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},y(e)}const v=(r=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},o=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+y(t));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},c=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==y(t)&&"function"!=typeof t?e:t},s=function(){function e(t){r(this,e),this._defaultOptions={auth:{headers:{}},host:"http://127.0.0.1:6001",path:"/livePusher",key:null,namespace:"App.Events",authChannel:function(e,t){alert("Need to do this")}},this.setOptions(t),this.connect()}return o(e,[{key:"setOptions",value:function(e){return this.options=i(this._defaultOptions,e),e}}]),e}(),u=function(){function e(){r(this,e)}return o(e,[{key:"notification",value:function(e){return this.listen(".Illuminate\\Notifications\\Events\\BroadcastNotificationCreated",e)}},{key:"listenForWhisper",value:function(e,t){return this.listen(".client-"+e,t)}}]),e}(),l=function(){function e(t){r(this,e),this.setNamespace(t)}return o(e,[{key:"format",value:function(e){return"."===e.charAt(0)||"\\"===e.charAt(0)?e.substr(1):(this.namespace&&(e=this.namespace+"."+e),e.replace(/\./g,"\\"))}},{key:"setNamespace",value:function(e){this.namespace=e}}]),e}(),f=function(e){function t(e,n,o){r(this,t);var i=c(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return i.events={},i.name=n,i.socket=e,i.options=o,i.eventFormatter=new l(i.options.namespace),i.subscribe(),i.configureReconnector(),i}return a(t,e),o(t,[{key:"subscribe",value:function(){var e=this,t=this.t=(new Date).getTime();this.socket.id?this.emitSubscribe():this.socket.on("connect",function(n){t==e.t&&e.emitSubscribe()})}},{key:"emitSubscribe",value:function(){var e=this,t=e.socket.id,n=e.name;e.options.authPrivate(t,n).then(function(r){r&&t==e.socket.id&&e.socket.emit("subscribe",{channel:n,appId:e.options.appId,authHash:r,auth:e.options.auth||{}})}).catch(function(e){throw e})}},{key:"unsubscribe",value:function(){this.unbind(),this.socket.emit("unsubscribe",{channel:this.name,auth:this.options.auth||{}})}},{key:"listen",value:function(e,t){return this.on(this.eventFormatter.format(e),t),this}},{key:"on",value:function(e,t){var n=this,r=function(e,r){n.name==e&&t(r)};this.socket.on(e,r),this.bind(e,r)}},{key:"configureReconnector",value:function(){var e=this,t=function(){e.subscribe()};this.socket.on("reconnect",t),this.bind("reconnect",t)}},{key:"bind",value:function(e,t){this.events[e]=this.events[e]||[],this.events[e].push(t)}},{key:"unbind",value:function(){var e=this;Object.keys(this.events).forEach(function(t){e.events[t].forEach(function(n){e.socket.removeListener(t,n)}),delete e.events[t]})}}]),t}(u),p=function(e){function t(){return r(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return a(t,e),o(t,[{key:"whisper",value:function(e,t){return this.socket.emit("client event",{channel:this.name,event:"client-"+e,data:t}),this}}]),t}(f),d=function(e){function t(){return r(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return a(t,e),o(t,[{key:"here",value:function(e){return this.on("presence:subscribed",function(t){e(t.map(function(e){return e.user_info}))}),this}},{key:"joining",value:function(e){return this.on("presence:joining",function(t){return e(t.user_info)}),this}},{key:"leaving",value:function(e){return this.on("presence:leaving",function(t){return e(t.user_info)}),this}}]),t}(p),h=function(e){function t(){var e;r(this,t);for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];var a=c(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o)));return a.channels={},a}
2return a(t,e),o(t,[{key:"connect",value:function(){return this.socket=window.io(this.options.host,this.options),this.socket}},{key:"listen",value:function(e,t,n){return this.channel(e).listen(t,n)}},{key:"channel",value:function(e){return this.channels[e]||(this.channels[e]=new f(this.socket,e,this.options)),this.channels[e]}},{key:"privateChannel",value:function(e){return this.channels["private-"+e]||(this.channels["private-"+e]=new p(this.socket,"private-"+e,this.options)),this.channels["private-"+e]}},{key:"presenceChannel",value:function(e){return this.channels["presence-"+e]||(this.channels["presence-"+e]=new d(this.socket,"presence-"+e,this.options)),this.channels["presence-"+e]}},{key:"leave",value:function(e){var t=this;[e,"private-"+e,"presence-"+e].forEach(function(e){t.channels[e]&&(t.channels[e].unsubscribe(),delete t.channels[e])})}},{key:"socketId",value:function(){return this.socket.id}},{key:"disconnect",value:function(){this.socket.disconnect()}}]),t}(s),function(){function e(t){r(this,e),this.options=t,this.connector=new h(this.options)}return o(e,[{key:"channel",value:function(e){return this.connector.channel(e)}},{key:"private",value:function(e){return e=this.options.appId+"-"+e,this.connector.privateChannel(e)}},{key:"join",value:function(e){return e=this.options.appId+"-"+e,this.connector.presenceChannel(e)}},{key:"listen",value:function(e,t){return this.connector.listen(e,t)}},{key:"leave",value:function(e){this.connector.leave(e)}},{key:"socketId",value:function(){return this.connector.socketId()}},{key:"disconnect",value:function(){this.connector.disconnect()}}]),e}());var g=n(41623);function w(e){return w="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},w(e)}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,S(r.key),r)}}function E(e,t,n){return(t=S(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function S(e){var t=function(e,t){if("object"!=w(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=w(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==w(t)?t:t+""}var k=0,P={},j=new(function(){return e=function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),E(this,"livePusherChannel",function(e){return t.livePusherListen("channel",e)}),E(this,"livePusherPrivate",function(e){return t.livePusherListen("private",e)}),E(this,"livePusherPresence",function(e){return t.livePusherListen("presence",e)}),E(this,"livePusherLeave",function(e,n){t.livepusher&&t.livepusher.leave(e)}),E(this,"livePusherListen",function(e,n){return{action:e,channel:n,whisper:function(e,n){return t.eee(t,e,n,"whisper")},listenForWhisper:function(e,n){return t.eee(t,e,n,"listenForWhisper")},listen:function(r,o){return t.eee(e,n,r,o,"listen")}}}),E(this,"eee",function(e,n,r,o,i){var a=window.reduxStore.getState().website.livePusher;return a&&a.app_id&&(t.cipns?t.cipns.then(function(){t.gotCIPNS(e,n,r,o,i)}).catch(function(){}):t.cipns=t.checkIfPusherNeedsStarting().then(function(){t.gotCIPNS(e,n,r,o,i)}).catch(function(){})),t.livePusherListen(e,n)}),E(this,"checkIfPusherNeedsStarting",function(){return new Promise(function(e,n){t.livepusher?e(!0):t.loadjs(e)}).catch(function(e){throw e})}),E(this,"loadjs",function(e){var n="https://api.livepusher.com:6001";b()(n+"/livePusher/socket.io.js",{success:function(){if(window.io){var r=window.reduxStore.getState(),o=(r.user,r.website);t.livepusher=new v({broadcaster:"socket.io",host:n,path:"/livePusher",auth:{},appId:o.livePusher.app_id,authPrivate:function(e,n){if(P[n])return new Promise(function(e,t){});P[n]=1,t.currentSocketId=e,t.gettingAuth[n]&&0!=t.gettingAuth[n].length||(t.gettingAuth[n]=[],g.A.post("/data/broadcasting/auth",{socket_id:e,channel_name:n}).then(function(e){t.gettingAuth[n].map(function(n){t.currentSocketId==n.socketId&&n.resolve(e.auth)}),t.gettingAuth[n]=[]}).catch(function(e){throw e}));var r=new Promise(function(r,o){t.gettingAuth[n].push({resolve:r,reject:o,socketId:e})});return r.catch(function(e){throw e})}}),e(!0)}else++k<4&&setTimeout(function(){t.loadjs(e)},3e3)},error:function(e){},numRetries:99})}),this.cipns=null,this.currentSocketId=null,this.gettingAuth={}},(t=[{key:"gotCIPNS",value:function(e,t,n,r,o){return this.livepusher[e](t)[o](n,r)}},{key:"saveSocketId",value:function(e){window.reduxStore.dispatch({type:"STORE_USER",user:{socketId:e}})}}])&&O(e.prototype,t),n&&O(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}());const _={channel:j.livePusherChannel,private:j.livePusherPrivate,leave:j.livePusherLeave,presence:j.livePusherPresence}},20478:(e,t,n)=>{var r={"./demora/src/resources/assets/js/src/reducers.js":54617,"./ruf_oauth/src/resources/assets/js/src/reducers.js":37963};function o(e){var t=i(e);return n(t)}function i(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=i,e.exports=o,o.id=20478},35532:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(69873),o=n(54843);const i=function(e,t,n){var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];(0,o.default)({id:e,header:t||null,body:n?r.createElement("div",null,n,i&&r.createElement("div",{className:"text-center mt-2"},r.createElement("span",{className:"btn btn-primary",onClick:function(){o.default.close(e)}},"Ok"))):null,dontAllowClose:!0,noFooter:!0})}},37963:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={}}
2,41623:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(69873),o=n(1747),i=n(1888),a=n(5226);function c(e,t,c,u,l){u||(u={}),o.A&&o.A.dataDomain&&(e=o.A.dataDomain+e);var f,p={"X-Requested-With":"XMLHttpRequest"},d={};try{d=window.reduxStore.getState().user||{}}catch(e){}if(d.currentTeam)f=d.currentTeam.id;else if("https:"===location.protocol)try{f=JSON.parse(a.A.get("currentTeam"))[d.id]}catch(e){}f&&(p["X-Current-Team"]=f),p["X-Socket-ID"]=d.socketId;var h=i.A.get();if(h&&(p.Authorization="Bearer "+h),p.Accept="application/json","GET"!=t&&c&&(p["Content-Type"]="application/json"),c&&l)throw new Error("Can not have both json and formdata in a request");if(c?c=JSON.stringify(c):l instanceof FormData&&(c=l),new URLSearchParams(document.location.search).get("noLogin")){var m=e.split("?");m[1]||(m[1]=""),m[1]="noLogin=1&"+m[1],e=m.join("?",m)}return fetch(e,{method:t,headers:p,credentials:"include",body:c}).then(function(e){var t=e.headers.get("Authorization");if(t&&h&&i.A.set(t.replace(/^Bearer\s+/i,"")),401==e.status){i.A.clear();var o=window.location.search;return o=o.replace("noLogin=1",""),document.location="/login?redi="+encodeURIComponent(document.location.pathname+o),{}}return 406==e.status?(i.A.clear(),document.location="/logout",{}):4==Math.floor(e.status/100)?{}:u.returnResponse?e:e.ok?u.returnAllData?s(e):function(e){return s(e).then(function(e){return e&&e.errors&&e.errors.map(function(e){Promise.resolve().then(n.bind(n,54843)).then(function(t){var n,o=null!==(n=e.heading)&&void 0!==n?n:"Error";e.link&&(e.message=r.createElement("div",null,e.message,r.createElement("br",null),r.createElement("br",null),r.createElement("div",{className:"text-center"},r.createElement("a",{href:e.link,className:"btn btn-primary"},"Click here")))),t.default({id:o,header:o,body:e.message})})}),e.maintenance&&"/maintenance"!==document.location.pathname?(document.location="/maintenance",{}):e.data})}(e):{}}).catch(function(e){throw e})}function s(e){return e.text().then(function(e){try{return JSON.parse(e)}catch(e){return{data:{}}}})}const u={get:function(e,t,n,r){return c(e,"GET",t,n,r)},post:function(e,t,n,r){return c(e,"POST",t,n,r)},put:function(e,t,n,r){return c(e,"PUT",t,n,r)},delete:function(e,t,n,r){return c(e,"DELETE",t,n,r)}}},54617:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>O});var r=n(95533),o=n(1747),i=n(32030),a=n.n(i);const c={ccCode:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"STORE_LIVE_DATA"===t.type&&t.data.cc&&(!e.live_time||t.data.live_time>e.live_time)?{cc:t.data.cc,live_time:t.data.live_time}:e},countdown:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_SURFBAR_COUNTDOWN_TIMER":e=t.countdown;break;case"REDUCE_SURFBAR_COUNTDOWN_TIMER":e>0&&e--}return e},globalStuff:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SAVE_BANNER":e.banners=t.banners;break;case"SHOW_SURF_BANNER_PROFILE":e.surf_bar_profile=t.profileId}return JSON.parse(JSON.stringify(e))},liveData:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"STORE_LIVE_DATA"===t.type?((!e.live_time||t.data.live_time>e.live_time)&&(e=Object.assign(e,t.data)),Object.assign({},e)):e},websites:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("SAVE_WEBSITES"===t.type){var n=t.data;if(n.countries&&!a()(n.countries)){var r=[];for(var o in n.countries)n.countries[o]&&r.push({code:o,name:n.countries[o].country,credits:n.countries[o].credits});n.countries=r}if(n.languages&&!a()(n.languages)){var i=[];for(var c in n.languages)i.push({value:c,label:n.languages[c].language+" ("+c.toUpperCase()+") "});n.languages=i}if(n.timer_lengths&&!a()(n.timer_lengths)){var s=[];for(var u in n.timer_lengths)s.push({timer:u,credits:n.timer_lengths[u].credits});n.timer_lengths=s}for(var l in(n=Object.assign(e,n)).websites){n.websites[l].websiteURLSecure=!!n.websites[l].website_url.match(/^https/),n.websites[l].isWebsiteSecure=n.websites[l].websiteURLSecure&&n.websites[l].mixed_http_https<=10,n.websites[l].showSSLStuff=!n.websites[l].suspend&&n.websites[l].mixed_http_https>0,n.websites[l].timer_length||(n.websites[l].timer_length=10),n.websites[l].days_to_show||(n.websites[l].days_to_show=[]),n.websites[l].countries||(n.websites[l].countries=[])}e=Object.assign({},n)}return e}};var s=n(54639),u=function(e){var t=document.getElementsByClassName(e)[0];return t?t.offsetHeight+14:0};var l=n(81387),f=n.n(l),p=n(44788),d=n.n(p),h=n(5226),m={},b=n(20478);if(o.A&&o.A.addons)for(var y=0;y<o.A.addons.length;y++){var v=b("./"+o.A.addons[y]+"/src/resources/assets/js/src/reducers.js").default;for(var g in v)m[g]=v[g]}if(c)for(var w in c)m[w]=c[w];m.user=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"STORE_USER":if(e=(0,s.A)(e,t.user),t.user&&t.user.id){var n={};try{n=JSON.parse(h.A.get("currentTeam")),d()(n)||(n={})}catch(e){}n[t.user.id]=t.user.currentTeam.id,h.A.set("currentTeam",JSON.stringify(n))}return Object.assign({},e);case"REPLACE_USER":return e=t.user,Object.assign({},e);case"LOGOUT":return{};case"STORE_TEAM":return e.multiAccounts[t.team.id]=t.team,Object.assign({},e);case"DELETE_TEAM":return delete e.multiAccounts[t.tid],Object.assign({},e);case"DELETE_TEAM_USER":return delete e.multiAccounts[t.tid].members[t.memberType][t.id],Object.assign({},e);case"STORE_TEAM_MEMBERS":for(var r in{active:1,invited:1})for(var o in t.users[r]){var i=t.users[r][o],a=i.tid,c=e.multiAccounts[a];c.members||(c.members={}),c.members[r]||(c.members[r]={}),c.members[r][i.uid]=i}return Object.assign({},e);default:return e}},m.users=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"STORE_FEED":case"STORE_USERS":case"UPDATE_FEED":case"addUiNotifications":case"addUsers":return t.data.users?((0,s.A)(e,t.data.users),Object.assign({},e)):e;default:return e}},m.usersByUsernames=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"STORE_FEED":case"addUiNotifications":var n=t.data.users;if(n)for(var r=Object.keys(n),o=0;o<r.length;o++){var i=r[o];n[i]&&(e[n[i].u]=i)}return Object.assign({},e);default:return e}},m.website=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"STORE_WEBSITE":return Object.assign({},t.website);case"STORE_WEBSITE_CONFIG":return Object.assign({},e,t.website);default:return e}},m.toastr=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return"TOASTR"===t.type?t.message.slice(0):e},m.modals=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"addModal":return e[t.modal.id]=t.modal,Object.assign({},e);case"closeModal":return e[t.modal]&&(e[t.modal].close=!0),Object.assign({},e);default:return e}},m.referrals=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("saveReferralData"===t.type){var n=t.data;for(var r in n)"data"!=r&&(e[r]=n[r]);e.data||(e.data=[]);for(var o=0;o<n.data.length;o++)e.data[n.from+o-1]=n.data[o];return Object.assign({},e)}return e},m.referer=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return"RECORD_REFERER_USERNAME"===t.type?t.referer:e},m.uiNotifications=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"addUiNotifications":return e=(0,s.A)(e,t.data.uiNotifications),Object.assign({},e);case"resetUiNotifications":return{};case"modifyUiNotifications":return Object.keys(t.data.uiNotifications).map(function(n){Object.keys(e.notifications).map(function(r,o){if(r==n){var i=!e.notifications[r].r;
2e.notifications[r]=Object.assign(e.notifications[r],t.data.uiNotifications[n]);var a=!e.notifications[r].r;"number"!=typeof t.unreadDelta&&(i&&!a&&e.unreadCount>0?e.unreadCount-=1:!i&&a&&(e.unreadCount=(e.unreadCount||0)+1))}})}),"number"==typeof t.unreadDelta&&(e.unreadCount=Math.max(0,(e.unreadCount||0)+t.unreadDelta)),Object.assign({},e);case"removeUiNotification":if(e.notifications&&e.notifications[t.nid]){var n=!e.notifications[t.nid].r,r=Object.assign({},e.notifications);delete r[t.nid],e=Object.assign({},e,{notifications:r}),"number"!=typeof t.unreadDelta&&n&&e.unreadCount>0&&(e.unreadCount-=1)}return"number"==typeof t.unreadDelta&&(e.unreadCount=Math.max(0,(e.unreadCount||0)+t.unreadDelta)),Object.assign({},e);case"removeUiNotifications":if(e.notifications){var o=Object.assign({},e.notifications);(t.nids||[]).map(function(n){o[n]&&("number"!=typeof t.unreadDelta&&!o[n].r&&e.unreadCount>0&&(e.unreadCount-=1),delete o[n])}),e=Object.assign({},e,{notifications:o})}return"number"==typeof t.unreadDelta&&(e.unreadCount=Math.max(0,(e.unreadCount||0)+t.unreadDelta)),Object.assign({},e);case"markUiNotificationsUnread":return e.notifications&&(t.nids||[]).map(function(n){var r=e.notifications[n];"number"!=typeof t.unreadDelta&&r&&r.r&&(e.unreadCount=(e.unreadCount||0)+1),r&&(r.r=0)}),"number"==typeof t.unreadDelta&&(e.unreadCount=(e.unreadCount||0)+t.unreadDelta),Object.assign({},e);case"markAllUiNotificationsRead":return e.notifications?t.nids?(t.nids.map(function(n){var r=e.notifications[n];"number"!=typeof t.unreadDelta&&r&&!r.r&&e.unreadCount>0&&(e.unreadCount-=1),r&&(r.r=1)}),"number"==typeof t.unreadDelta&&(e.unreadCount=Math.max(0,(e.unreadCount||0)+t.unreadDelta))):(Object.keys(e.notifications).map(function(t){e.notifications[t].r=1}),e.unreadCount=0):t.nids||(e.unreadCount=0),Object.assign({},e);default:return e}},m.heightOfInnerInnerWindow=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";switch((arguments.length>1?arguments[1]:void 0).type){case"SET_WINDOW_HEIGHT_100":var t=document.getElementById("routerRoot");if(!t)return"";var n=f()()-t.getBoundingClientRect().top-(u("navbarTop"),u("navbarBottom"))+14,r=document.getElementsByTagName("body")[0];return r.style.minHeight="auto",r.style.position="fixed",r.style.width="100vw",n+"px";case"CLEAR_WINDOW_HEIGHT":var o=document.getElementsByTagName("body")[0];return o.style.minHeight="",o.style.position="",o.style.width="","";default:return e}};const O=(0,r.HY)(m)},54639:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=Object.prototype.hasOwnProperty,o=Object.prototype.toString,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===o.call(e)},a=function(e){if(!e||"[object Object]"!==o.call(e))return!1;var t,n=r.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&r.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!i)return!1;for(t in e);return void 0===t||r.call(e,t)};function c(){for(var e,t,n,r,o,s,u=arguments[0],l=1,f=arguments.length;l<f;++l)if(null!=(e=arguments[l]))for(t in e)n=u[t],u!==(r=e[t])&&(r&&(a(r)||(o=i(r)))?(o?(o=!1,s=n&&i(n)?n:[]):s=n&&a(n)?n:{},u[t]=c(s,r)):void 0!==r&&(u[t]=r));return u}}
2,54843:(e,t,n)=>{"use strict";n.d(t,{default:()=>y});var r=n(69873),o=n(48079),i=n(32130),a=n(5663),c=n(99604);function s(e){return s="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},s(e)}function u(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,h(r.key),r)}}function l(e,t,n){return t=p(t),function(e,t){if(t&&("object"==s(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,f()?Reflect.construct(t,n||[],p(e).constructor):t.apply(e,n))}function f(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(f=function(){return!!e})()}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function d(e,t){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},d(e,t)}function h(e){var t=function(e,t){if("object"!=s(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==s(t)?t:t+""}const m=function(e){function t(){var e,n,r,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),e=l(this,t),n=e,o=function(){e.props.onClose&&e.props.onClose(e.props.id)},(r=h(r="onClosed"))in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,e.state={isOpen:!0},e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(t,e),n=t,f=[{key:"getDerivedStateFromProps",value:function(e,t){return t.isOpen!==!e.close?{isOpen:!e.close}:null}}],(s=[{key:"toggle",value:function(){var e=!0;this.props.dontAllowClose||(e=!this.state.isOpen),this.setState({isOpen:e}),e||this.props.m.close(this.props.id)}},{key:"render",value:function(){return r.createElement(o.A,{isOpen:this.state.isOpen,toggle:this.toggle.bind(this),className:this.props.className,zIndex:1e4,onClosed:this.onClosed},this.props.header&&r.createElement(i.A,{toggle:this.props.dontAllowClose?null:this.toggle.bind(this)},this.props.header),this.props.body&&r.createElement(a.A,null,this.props.body),!this.props.noFooter&&r.createElement(c.A,null,!this.props.dontAllowClose&&(this.props.footer?this.props.footer:r.createElement("button",{type:"button",className:"btn btn-default",onClick:this.toggle.bind(this)},"Close"))))}}])&&u(n.prototype,s),f&&u(n,f),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,s,f}(r.Component);var b=function(e){window.reduxStore.dispatch({type:"addModal",modal:e})};b.close=function(e){window.reduxStore.dispatch({type:"closeModal",modal:e})},b.show=function(){var e=window.reduxStore.getState().modals;return Object.keys(e).map(function(t,n){var o=e[t];return r.createElement(m,{key:n,header:o.header,body:o.body,footer:o.footer,close:o.close,onClose:o.onClose,dontAllowClose:o.dontAllowClose,id:t,noFooter:o.noFooter,className:o.className,m:b})})};const y=b},57798:(e,t,n)=>{"use strict";function r(e,t){return e.u?(e.p?e.p:"")+""+t+"-"+e.u+"-"+e.m+"."+e.e:e.match&&e.match(/^http/)?e:"/assets/blank"+t+".png"}n.d(t,{A:()=>r})},70842:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(88837);const o=function(e,t){var n;return(0,r.Ng)(function(e){var n={};for(var r in t)n[r]=e[t[r]];return n},function(e){return n=e,{}},function(e,t,r){return delete r.key,Object.assign({dispatch:n},e,r)})(e)}},77280:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(69873);function o(e){return o="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},o(e)}function i(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,f(r.key),r)}}function a(e,t,n){return t=s(t),function(e,t){if(t&&("object"==o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(c=function(){return!!e})()}
2function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function u(e,t){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},u(e,t)}function l(e,t,n){return(t=f(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e){var t=function(e,t){if("object"!=o(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==o(t)?t:t+""}function p(e){var t=function(t){function n(){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return l(t=a(this,n,[].concat(o)),"state",{attempts:0,Component:n.Component}),l(t,"getComponent",function(){var r=t.state;r.Component||e().then(function(e){return e.default}).then(function(e){n.Component=e,t.setState({Component:e})}).catch(function(e){var n=r.attempts;if(!t.unmounted){if(t.setState({attempts:n+1}),10===n)throw e;n<10&&setTimeout(t.getComponent,1e3*r.attempts)}})}),t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}(n,t),o=n,(c=[{key:"componentDidMount",value:function(){this.getComponent()}},{key:"componentWillUnmount",value:function(){this.unmounted=!0}},{key:"render",value:function(){var e=this.state.Component;return e?r.createElement(e,this.props):null}}])&&i(o.prototype,c),s&&i(o,s),Object.defineProperty(o,"prototype",{writable:!1}),o;var o,c,s}(r.Component);return l(t,"Component",null),t}}},e=>{e.O(0,[427],()=>{return t=4972,e(e.s=t);var t});e.O()}]); 3//# sourceMappingURL=ruf-8b4b69e9b7b511364fac.js.map
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.