(function(window){window.ringba_known_numbers = [{"int":"+18312044457","loc":"(831) 204-4457","jstag":"JSa9aae843939241fd8dda70c6e8bd4aef","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+17252379875","loc":"(725) 237-9875","jstag":"JS48ec97f2ad9546a889c0cf1ba225c0e0","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+16198537644","loc":"(619) 853-7644","jstag":"JS3fe3f757c04345e3b96259fdfd9c1688","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+16198537640","loc":"(619) 853-7640","jstag":"JS0ab927bd87bf427f80dcd6751e07a25d","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+16075978059","loc":"(607) 597-8059","jstag":"JS47dde965599b4a96a577d694fcab9d33","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+18584283154","loc":"(858) 428-3154","jstag":"JS8cfbf2c1d8c744eab43ebf70fa913546","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+16198537680","loc":"(619) 853-7680","jstag":"JSe974ad86b226469d9670a8fef8b6d3fe","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+13217325386","loc":"(321) 732-5386","jstag":"JSedc613a441f94ccea9e24e0d02669632","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+18319460452","loc":"(831) 946-0452","jstag":"JSf329c75d212a4384be5e09bd5549b565","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+13802272129","loc":"(380) 227-2129","jstag":"JS7c0530c67f094bd489230462e401f2bc","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+16147560341","loc":"(614) 756-0341","jstag":"JSb8f9b2b275fe4cf1b4fb0849d8219953","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+17256778695","loc":"(725) 677-8695","jstag":"JSfddfbb323a304b1ebe5e280b1692166f","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+16149649782","loc":"(614) 964-9782","jstag":"JS44dc07c3143d4281966212443ca829c1","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+18584283597","loc":"(858) 428-3597","jstag":"JS9cc67a4b51e64f4088f074b4d1b5d835","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+13214858921","loc":"(321) 485-8921","jstag":"JS5abb1c7d0fc24da0912848e2e3d3a0bb","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+17733372173","loc":"(773) 337-2173","jstag":"JSae2155068b0143e1a0221e5d3e4cce56","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+16075871003","loc":"(607) 587-1003","jstag":"JS5e78a9fb64d9409ea1673ea4d50fbba8","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+16199324112","loc":"(619) 932-4112","jstag":"JS7ef546de73ac4db4ace0b7a8be65369f","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+13802470872","loc":"(380) 247-0872","jstag":"JSe13fe552257d43d4b055eaa49e158387","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+18318215442","loc":"(831) 821-5442","jstag":"JS51a37024d90a4142a0b83d659cee31ba","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+18314280996","loc":"(831) 428-0996","jstag":"JS8d4da43dac294fa294d8e0a4933dcd25","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+17733022885","loc":"(773) 302-2885","jstag":"JS6a11043506b84cd99fd59b78dc127d2a","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+13238801520","loc":"(323) 880-1520","jstag":"JSc8b98e3b93b94fc9b95c6fd563de45bf","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+18312150317","loc":"(831) 215-0317","jstag":"JSfaa852e386c04817b07d32122891df1c","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+16076004487","loc":"(607) 600-4487","jstag":"JSda0be6397f564bf8b0dbf761bea7d3d4","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+16076004462","loc":"(607) 600-4462","jstag":"JS68202226d9c844efac1813438987e9cb","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+18313021446","loc":"(831) 302-1446","jstag":"JSa7686a7b3ed8405fab7ea7c23503637b","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+16195039161","loc":"(619) 503-9161","jstag":"JSad375080645e4a01810673c2e6a28ef7","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+18312904992","loc":"(831) 290-4992","jstag":"JS8e7cacb471014a99ab06284422238856","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+13802570570","loc":"(380) 257-0570","jstag":"JSa610eeed0d38416989981fa07e97ed0e","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+13214251696","loc":"(321) 425-1696","jstag":"JS9cc88c9422ec412ea7b539a1a79a6005","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+13802048850","loc":"(380) 204-8850","jstag":"JSd621bd457d7f45a0aa39d5f1b950ecd0","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+13802272156","loc":"(380) 227-2156","jstag":"JSe630ab90f845465a8386a670a2db1a89","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+16074009455","loc":"(607) 400-9455","jstag":"JSfb65ef6e94984baa966486512d071b30","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+17732070945","loc":"(773) 207-0945","jstag":"JSf8afb158ede7408083d404249bef9ee3","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+13802051785","loc":"(380) 205-1785","jstag":"JS633213aa2ca84436b7c67ac59dfe30ab","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+16199270524","loc":"(619) 927-0524","jstag":"JS3a4077ad0e36417d9f04dd5c5195a0b3","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+13802210014","loc":"(380) 221-0014","jstag":"JS723da40a838c40c6a55bb6e174d6d951","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+16074782817","loc":"(607) 478-2817","jstag":"JSed93d685b854440eb2fe066865d613f1","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+13213860347","loc":"(321) 386-0347","jstag":"JSb82a6b1e9ef3455aae860711504c2c4d","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+16192150920","loc":"(619) 215-0920","jstag":"JS641f18819f3040608c2669366f65dd68","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+16075759373","loc":"(607) 575-9373","jstag":"JS5b16df12d83f44ec857881f31f9f299e","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+17024781950","loc":"(702) 478-1950","jstag":"JS4dd240598bba4679b34950f2da9397e4","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+12132212657","loc":"(213) 221-2657","jstag":"JS16c6a5829df74a2d996dca233d867b59","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+17732070355","loc":"(773) 207-0355","jstag":"JS69f3bce062684cd1946e3084d932e16a","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+13802330876","loc":"(380) 233-0876","jstag":"JSea8bff46003f460da988acb33e4aabec","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+13802330005","loc":"(380) 233-0005","jstag":"JS52dfbc8ec1934e93bb4e95bb0126f908","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+17732856282","loc":"(773) 285-6282","jstag":"JSedafa743b2b144009b6d4e6f2749b117","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+18317313326","loc":"(831) 731-3326","jstag":"JSf908512879434ac5a965e89566bd4ce3","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+17027601914","loc":"(702) 760-1914","jstag":"JS2874304fba2e4e19b84129105ef5c45a","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+17732490647","loc":"(773) 249-0647","jstag":"JS43bbcf394af04a3ea0c6488deb18f1d2","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+13232208118","loc":"(323) 220-8118","jstag":"JS3400f6ac5f774e099e304ba035316d89","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+13213980388","loc":"(321) 398-0388","jstag":"JSd89f01089cf44c84b51d19fbd43246d2","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+13803330077","loc":"(380) 333-0077","jstag":"JS9df29f2e44f84b29b1fe2af7cb9bd060","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+13806001284","loc":"(380) 600-1284","jstag":"JS2e3f71067b5a4fc99c701a0444d88732","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+13802051549","loc":"(380) 205-1549","jstag":"JSb2a1e9e2337740419f2f594424e15766","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+16264128588","loc":"(626) 412-8588","jstag":"JSac964972bc174081acda1197ee541797","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":false},{"int":"+17084439543","loc":"(708) 443-9543","jstag":"JSad1f42fa056a478e9f4ea51c224de837","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+13809990613","loc":"(380) 999-0613","jstag":"JSaace5f062d92412b97488a02d5c21d73","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+16143505975","loc":"(614) 350-5975","jstag":"JS4011a6ec5c1c4410904ae47392a2c186","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+12137339158","loc":"(213) 733-9158","jstag":"JS9db737a1cacc4e978c7c9cadc89bd62e","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true},{"int":"+16147844406","loc":"(614) 784-4406","jstag":"JS8f2fb8664a004674963c0b275aca65aa","replaceWithInt":null,"replaceWithLoc":null,"replaceLeftToRight":true}];!function(e){function t(){this.tagId="",this.id="",this.displayNumber="",this.phoneNumber="",this.impressionQueryPath="",this.maxEpoch=0,this.timeBetweenTicks=0,this.heartBeatMs=0,this.exp=0,this.displayFmt=0,this.heartBeatTimeout=null,this.ready=!0}var n=function(){function t(e){return JSON.stringify(e)}return{postRequest:function(n,r,a,i){if("XDomainRequest"in e&&null!==e.XDomainRequest){var o=new XDomainRequest;o.open("POST",n),o.onload=function(){result=o.responseText,a(result)},o.onerror=function(){i&&i()},o.send(t(r))}else{if(navigator.userAgent.indexOf("MSIE")!=-1&&parseInt(navigator.userAgent.match(/MSIE ([\d.]+)/)[1],10)<8)return!1;var u=new XMLHttpRequest;u.onreadystatechange=function(){4==u.readyState&&(200==u.status?a(u.responseText):i&&i())},u.open("POST",n,!0),u.setRequestHeader("Content-type","text/plain"),u.send(t(r))}}}};"undefined"!=typeof e.localStorage&&"undefined"!=typeof e.sessionStorage||function(){var t=function(t){function n(e,t,n){var r,a;n?(r=new Date,r.setTime(r.getTime()+24*n*60*60*1e3),a="; expires="+r.toGMTString()):a="",document.cookie=e+"="+t+a+"; path=/"}function r(e){var t,n,r=e+"=",a=document.cookie.split(";");for(t=0;t-1&&t>-1;i--){var r=e.charAt(i);n="n"==r||"N"==r?this.phoneNumber.charAt(t--)+n:r+n}return n}return this.displayNumber},t.prototype.save=function(){var e=JSON.parse(JSON.stringify(this));delete e.ready,delete e.heartBeatTimeout,localStorage.setItem("ringbaNumber_"+this.tagId,JSON.stringify(e))},t.prototype.isExpired=function(){var e=(new Date).getTime();return e>this.exp||this.maxEpoch>0&&e>this.maxEpoch},t.prototype.incrementExp=function(){this.exp=(new Date).getTime()+this.timeBetweenTicks,this.save()};var r=function(r){function a(e){if(""==e)return{};for(var t=[],n=0;n0&&!D&&p();null!=e&&e.length>0;){var t=e.pop();o(t)}k.length?N():l()}function s(e,t){if(e&&e.length){var n=JSON.parse(t);e.forEach(function(e){var t=n[e];t&&(c(e,t),A.push(e))})}l()}function l(){if(A&&A.length){var e=[];F&&A.forEach(function(t){var n=x[t];n&&e.push({tagId:t,number:n.phoneNumber,numberLocal:n.phoneNumberLocal,displayNumber:n.displayNumber})}),A=[],F&&setTimeout(function(){F(e)},0)}}function c(e,n){var r=t.getNumberFromResult(e,n);r.save(),x[e]=r,h(r),w(r)}function f(e,t){return e.getFmtNumber(t)}function h(e){var t=e.tagId,n=L[t];if(null!=n)for(var r=0;r0?(l=t[r],r+=n?1:-1,a--,u==i&&n&&a>0&&(l+=t.slice(-a))):l=" "),o=n?o+l:l+o}return o}function u(e){var t={replacement:null,foundMatch:!1,missingReplacements:!1,missingNumbers:null};if(!e)return t;var n=a(e);return n.forEach(function(n){var r=s(t.replacement||e,n);r?t.replacement=r:(t.missingReplacements=!0,(t.missingNumbers=t.missingNumbers||[]).push(n))}),t.foundMatch=n.length>0,t}function s(e,t){var n=t.isInternational,r=n?t.number.replaceWithInt:t.number.replaceWithLoc,a=null;return r&&(r=r.replace("+",""),r=o(t.format,r,t.number.replaceLeftToRight),a=e.replace(t.str,r)),a}function l(){return{Text_Data:{get:function(e){return e&&e.data},set:function(e,t){e&&e.data!=t&&(e.data=t)}},IMG_Alt:{get:function(e){return e&&e.alt},set:function(e,t){e&&e.alt!=t&&(e.alt=t)}},Anchor_HRef:{get:function(e){return e&&e.href},set:function(e,t){e&&e.href!=t&&(e.href=t)}}}}function c(e,t){var n=t.get(e),r=u(n);return r.replacement&&t.set(e,r.replacement),r.missingNumbers}function f(e,t,n){this.node=e,this.actionsGetSet=t,this.missingNumbers=n}function h(e,t){var n=c(e,t);return n&&n.length>0?new f(e,t,n):null}function p(e){var t=[],n=null;if(e){var r=e.nodeType;if(8==r)return t;if(3==r)n=h(e,O.Text_Data);else if(1==r&&!(e.className&&e.className.toString().indexOf("rb-ignore-number")>=0)){"IMG"==e.tagName?n=h(e,O.IMG_Alt):"A"==e.tagName&&(n=h(e,O.Anchor_HRef));var a=e.childNodes;if(a)for(var i=a.length;i--;i>=0){var o=a[i],u=p(o);u.forEach(function(e){t.push(e)})}}return n&&t.push(n),t}}function g(e){var t=[];return e?(e.forEach(function(e){var n=h(e.node,e.actionsGetSet);n&&t.push(n)}),t):t}function m(e){var t={},n=[];return e.forEach(function(e){e.missingNumbers.forEach(function(e){var r=e.number.jstag;t[r]||(t[r]=!0,n.push(e.number.jstag))})}),n}function d(e){return D=p(e||t.body),T(D)}function b(){return D=g(D),T(D)}function v(e){y(e),b()}function y(e){e.forEach(function(e){N(e)})}function N(e){if(!(e instanceof n))throw"'numberInfo' should be an instance of 'JSTagNumberInfo'";var t=_[e.jstag];if(!t)throw"Unknown jstag";t.replaceWithInt=i(e.numberInternational,!0),t.replaceWithLoc=i(e.numberLocal),t.replaceLeftToRight=e.formatLeftToRight}function T(e){if(!e)return null;var t=m(e);return w(t),t}function w(e){e&&e.forEach(function(e){I(e)}),S()}function I(e){var t=_[e];t&&(t.infoRequested||(t.infoRequested=!0,M.push(e)))}function S(){M.length>0&&R&&(R(M),M=[])}function E(e){if(null!=e&&"function"!=typeof e)throw"'cbFunction' should be a function";R=e,S()}var L=[];r&&r.length&&r.forEach(function(e){L.push({"int":i(e["int"],!0),loc:i(e.loc),jstag:e.jstag,replaceWithInt:i(e.replaceWithInt,!0),replaceWithLoc:i(e.replaceWithLoc),replaceLeftToRight:e.replaceLeftToRight})});var x={},_={},D=null,R=null,M=[];L.forEach(function(e){x[e["int"].replace("+","")]={number:e,isInternational:!0},x[e.loc]={number:e,isInternational:!1},_[e.jstag]=e});var O=l(),q=function(){var t=e.MutationObserver||e.WebKitMutationObserver||e.MozMutationObserver,n=e.addEventListener;return function(e,r){var a=!1,i=function(){a||(a=!0,setTimeout(function(){a=!1,r()},0))};if(t){var o=new t(function(e,t){(e[0].addedNodes.length||e[0].removedNodes.length||e[0].target)&&i()});o.observe(e,{childList:!0,subtree:!0,characterData:!0,attributes:!0})}else n&&(e.addEventListener("DOMNodeInserted",i,!1),e.addEventListener("DOMNodeRemoved",i,!1),e.addEventListener("DOMCharacterDataModified",i,!1),e.addEventListener("DOMAttrModified",i,!1))}}();return{InitialPass:d,FollowUp:b,SetNumberInfoAndFollowup:v,SetNewTagCallback:E,SetupObserver:function(e){q(e||t.body,function(){d()})}}};e.ringba&&(e.ringba.SetupNumberReplacement=i),t&&t.body?i():t.addEventListener("DOMContentLoaded",i)}(window,document);})(window);