cdata.mpio.io
Open in
urlscan Pro
2600:9000:2057:dc00:14:9bdc:b240:93a1
Public Scan
URL:
https://cdata.mpio.io/js/E31BDE47166540.js
Submission: On March 28 via api from LU — Scanned from DE
Submission: On March 28 via api from LU — Scanned from DE
Form analysis
0 forms found in the DOMText Content
(function(n,t,i){n._MGX_LU=function(n){this.url=n;this.addParam=function(n,t){return typeof t=="undefined"||t===null||t===""?this:(this.url+=this.url.indexOf("?")<0?"?":"&",this.url+=n+"="+encodeURIComponent(t),this)}};n._MGX_LG=function(n,i,r,u,f,e){try{var o=t.createElement("img"),s=t.getElementsByTagName("body")[0],h=new _MGX_LU("https://rdata.mpio.io/v1/visitaction/pxLogMessage");h.addParam("k",n).addParam("v",i).addParam("p",r).addParam("rr",u).addParam("ms",f.replace(/(\r\n|\n|\r|&[a-z]+;)/g," ").replace(/[\s\uFEFF\xA0]+/g," ")).addParam("st",e.replace(/(\r\n|\n|\r|&[a-z]+;)/g," ").replace(/[\s\uFEFF\xA0]+/g," "));o.style="display:none";o.src=h.url;s&&s.appendChild(o)}catch(c){}};try{if(/(googlebot|bingbot)/i.test(n.navigator.userAgent))return;i(n,t)}catch(r){_MGX_LG("1BDE47166540",null,null,"100",r.message,r.stack)}})(window,document,function(n,t){if(t.cookie.indexOf("MGX_Dev=")>-1&&typeof n._MGX_Dev=="undefined"){n._MGX_Dev=unescape(t.cookie.split("MGX_Dev=")[1].split(";")[0]);var i=_MGX_Dev.split("|"),u=new n._MGX_LU(i[3]+"C11BDE47166540.js").addParam("seq",typeof i[0]!="undefined"?i[0]:"").addParam("ver",typeof i[1]!="undefined"?i[1]:"").addParam("wrp",typeof i[2]!="undefined"?i[2]:""),r=t.createElement("script");r.type="text/javascript";r.src=u.url;t.body.appendChild(r);console.log("Loading MGX Dev Library "+_MGX_Dev)}else!function(n){function t(r){if(i[r])return i[r].exports;var u=i[r]={i:r,l:!1,exports:{}};return n[r].call(u.exports,u,u.exports,t),u.l=!0,u.exports}var i={};t.m=n;t.c=i;t.d=function(n,i,r){t.o(n,i)||Object.defineProperty(n,i,{enumerable:!0,get:r})};t.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});Object.defineProperty(n,"__esModule",{value:!0})};t.t=function(n,i){var r,u;if((1&i&&(n=t(n)),8&i)||4&i&&"object"==typeof n&&n&&n.__esModule)return n;if(r=Object.create(null),t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:n}),2&i&&"string"!=typeof n)for(u in n)t.d(r,u,function(t){return n[t]}.bind(null,u));return r};t.n=function(n){var i=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(i,"a",i),i};t.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)};t.p="";t(t.s=1)}([function(n,t,i){"use strict";function r(){[Element.prototype,CharacterData.prototype,DocumentType.prototype].forEach(function(n){n.hasOwnProperty("remove")||Object.defineProperty(n,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){null!==this.parentNode&&this.parentNode.removeChild(this)}})})}i.d(t,"a",function(){return r})},function(i,r,u){"use strict";var h,o,e,c,f,s;if(u.r(r),h=u(0),o="undefined"==typeof MGXnamespace?"MGX":MGXnamespace,e=n,c=function(n,t,i,r){var f,u=function(){};return{Info:"MGX Version 2.07.xxx(see MGX.Version for subversion)",TimeOut:1e4,Delay:1e3,ProspectingInterval:3e3,LoopInterval:1e3,CommitType:"jsonp",BaseApi:"https://rdata.mpio.io/v1/C/RawData/",PixelApi:"https://rdata.mpio.io/v1/C/Pixel/",ProspectingString:"",SingleCookie:!1,Debug:!1,FrameRef:!1,ForgetMe:!1,OverrideHost:!1,SyncVisitor:!1,SyncUrl:[],Def:{pageload:{Label:"PageLoad"}},Version:"3.03.002",AccessKey:"1BDE47166540",Prospecting:"166540",BulkParam:"cohcid",BaseUrl:function(){try{return["ringcentral.com"]}catch(n){return"['ringcentral.com']"}}(),SuppressUrl:[],PageLoadId:"",VisitorId:"",MgxVisitorId:"",SessionId:"",NewSession:"",Sequence:1,VisitSequence:1,RunOnce:0,Keycode:"",Cid:"",Uid:"",Eid:"",Sid:"",Xid:"",Csi:"",JSON:t.JSON,Title:i.title,Domain:2===t.location.hostname.split(".").length?"."+t.location.hostname:t.location.hostname.slice(t.location.hostname.indexOf(".")),Url:t.location.href,Protocol:t.location.protocol,Host:t.location.hostname,Path:t.location.pathname,Search:t.location.search,Hash:t.location.hash,Referrer:i.referrer,EmailParams:{RestrictedFields:"",RestrictedValues:""},EmSent:[],Em:"",UtmSource:"",UtmMedium:"",UtmCampaign:"",regex:{Guid:/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i,Email:/([\w-\.]+@[\w-\.]+\.[a-z]{1,3})/i,Money:/\$?(\d{1,3}\,?)*\.?\d{2}?/i},pg:"pageload",restrict:["identifier","priority","altFunction","preProcess","postProcess","waitFor"],procs:["setPageType","setUid","handleEm","handlePageLoad","handleEvents"],cd:[],rs:[],sessionLength:30,ck:{},main:function(n){var t=this;t.RunOnce||(t.RunOnce=1,t.FrameRef&&t.setFrame(),t.pg="pageload",t.checkHost()&&(t.Delay?setTimeout(function(){t.__main(n)},t.Delay):t.__main(n)))},__main:function(n){var r=this;r.each(n,function(n,i){try{r.log.add("BEGIN["+i+"]",r.Debug);r[i]();r.log.add("END["+i+"]",r.Debug)}catch(n){t._MGX_LG(r.AccessKey,r.VisitorId,r.PageLoadId,"200",n.message,n.stack);r.log.add("ERROR["+i+"]: "+n.message,r.getCallStack(n),r.Debug)}});"function"==typeof r.completed&&r.completed();"function"==typeof t.MGX_Ready&&t.MGX_Ready();""!==r.getCookie("MGX_Analyze")&&setTimeout(function(){if(void 0===t._MGXA){var n=i.createElement("script");n.src=r.getCookie("MGX_Analyze");n.type="text/javascript";i.body.appendChild(n)}else t._MGXA()},2e3)},init:function(){this.log.add("INFO[init]: Start MGX Init function",this.Debug);var t=this.getCookie("MGX_P"),n=this.getCookie("MGX_PX"),i=this.getCookie("MGX_CID"),r=this.getCookie("MGX_EID",!0);this.NewSession=""===n?"1":"0";this.checkForgetMeCommited();this.ForgetMe||(this.regex.Guid.test(t)||(t=this.uuid()),this.setCookie("MGX_P",t,365),this.VisitorId=t,this.regex.Guid.test(n)||(n=this.uuid()),this.setCookie("MGX_PX",n),this.SessionId=n,this.regex.Guid.test(i)||(i=this.uuid()),this.setCookie("MGX_CID",i,365),this.Cid=i,/ns_seg_\d{3}/i.test(r)&&(this.Eid=r),this.PageLoadId=this.uuid(),this.setUtm());this.log.add("INFO[init]: End MGX Init function",this.Debug)},reset:function(){var n=this;n.cd=[];n.rs=[];n.RunOnce=0;n.Referrer=n.Url;n.Url=t.location.href;n.Protocol=t.location.protocol;n.Host=t.location.hostname;n.Path=t.location.pathname;n.Search=t.location.search;n.Hash=t.location.hash;n.Title=i.title;n.Sequence=1;n.init()},run:function(){this.RunOnce?(this.reset(),this.main(["setPageType","handleEm","handlePageLoad","handleEvents"])):this.main(this.procs)},error:function(){},trim:function(n){return"string"==typeof n?n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""):""},getPageText:function(){return this.getText(i.getElementsByTagName("body")[0])},cleanText:function(n){return"string"==typeof n?n.replace(/(\r\n|\n|\r|&[a-z]+;)/g," ").replace(/[\s\uFEFF\xA0]+/g," "):""},getText:function(n){if(void 0===n)return"";var t="";try{t=n.innerText||n.textContent}catch(n){this.log.add("ERROR[getText]: "+n.message,this.getCallStack(n),this.Debug)}return this.trim(this.cleanText(t))},getValue:function(n){var t="";if(void 0===n)return t;switch(n.nodeName){case"INPUT":switch(n.type){case"text":case"hidden":case"password":case"button":case"reset":case"submit":case"color":case"date":case"datetime":case"datetime-local":case"month":case"week":case"time":case"email":case"number":case"range":case"search":case"tel":case"url":t=n.value;break;case"checkbox":case"radio":n.checked&&(t=n.value)}break;case"TEXTAREA":t=n.value;break;case"SELECT":switch(n.type){case"select-one":t=n.value;break;case"select-multiple":for(j=n.options.length-1;j>=0;j-=1)n.options[j].selected&&(t+=""!=t?":"+n.options[j].value:n.options[j].value)}break;case"BUTTON":switch(n.type){case"reset":case"submit":case"button":t=n.value}}return this.trim(t)},getRegex:function(n,t){if("string"!=typeof t)return"";var i=n.exec(t);return null!==i?this.isDefined(i[0]):""},elems:function(n,t){return"string"==typeof n?this.szl(n,t):"function"==this.type(n)?n(t):"array"==this.type(n)||"htmlcollection"==this.type(n)?n:[n]},sText:function(n,t){var i=this,r="",u=i.elems(n,t);return u.length&&i.each(u,function(n,t){var u=i.getText(t);""!=u&&(r+=""!=r?","+u:u)}),r},sRegex:function(n,t,i){var r=this,u="",f=r.elems(t,i);return f.length&&r.each(f,function(t,i){var f=r.getRegex(n,r.getText(i));""!=f&&(u+=""!=u?","+f:f)}),u},sNumeric:function(n,t){return this.sText(n,t).replace(/[^0-9\.]/g,"").trim()},sMoney:function(n,t){return this.sNumeric(n,t)},sValue:function(n,t){var r=this,i="",u=r.elems(n,t);try{u.length&&r.each(u,function(n,t){var u=r.getValue(t);""!=u&&(i+=""!=i?","+u:u)})}catch(n){i=n.message}return i},sAttribute:function(n,t,i){var r="",u=this.elems(t,i);try{u.length&&this.each(u,function(t,i){if(""!=typeof i.getAttribute(n)){var u=i.getAttribute(n);null!==u&&""!=u&&(r+=""!=r?","+u:u)}})}catch(n){r=n.message}return r},sPathName:function(n,t){var i="",r=this.elems(n,t);try{r.length&&this.each(r,function(n,t){if("string"==typeof t.pathname){var r=t.pathname;""!=r&&(i+=""!=i?","+r:r)}})}catch(n){i=n.message}return i},sSearch:function(n,t){var i="",r=this.elems(n,t);try{r.length&&this.each(r,function(n,t){if("string"==typeof t.search){var r=t.search;""!=r&&(i+=""!=i?","+r:r)}})}catch(n){i=n.message}return i},sSource:function(n,t){return this.sAttribute("src",n,t)},type:function(n){return Object.prototype.toString.call(n).slice(8,-1).toLowerCase()},each:function(n,t){if("object"==typeof n){var i=0;if(void 0!==n.length)for(;i<n.length&&!1!==t.call(n[i],i,n[i]);i++);else for(i in n)if(!1===t.call(n[i],i,n[i]))break}},filter:function(n,t){var i=0,r=[];if("object"==typeof n&&void 0!==n.length)for(;i<n.length;i++)t(n[i])&&r.push(n[i]);return r},extend:function(n,t){var i=this,r=void 0!==t?t:this;this.each(n,function(n,t){i.log.add("INFO[extend]: "+n,t,i.Debug);r[n]=t})},importDefinition:function(i){t[n].extend(i)},parse:function(n){var i=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,r,t=String(n);return i.lastIndex=0,i.test(t)&&(t=t.replace(i,function(n){return"\\u"+("0000"+n.charCodeAt(0).toString(16)).slice(-4)})),/^[\],:{}\s]*$/.test(t.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))?(r=eval("("+t+")"),r):{}},stringify:function(n){var e={"\b":"\\b","\t":"","\n":"","\f":"\\f","\r":"",'"':'\\"',"\\":"\\\\"},t="",i,r,f,u;if(void 0===n)return'"undefined"';if(null===n)return'"null"';if("string"==typeof n)t+='"'+n.replace(/[\\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,function(n){var t=e[n];return"string"==typeof t?t:"\\u"+("0000"+n.charCodeAt(0).toString(16)).slice(-4)})+'"';else if("number"==typeof n)t+=n;else if("boolean"==typeof n)t+=n.toString();else if("function"==typeof n)t+=this.stringify(n.toString());else if(void 0!==n.length){for(t+="[",i=0,r=[];i<n.length;i++)"object"==typeof n[i]?r.push(this.stringify(n[i])):"string"==typeof n[i]?r.push(this.stringify(n[i])):r.push(n[i]);t+=r.join(",");t+="]"}else{for(f in t+="{",r=[],n)u="",u+='"'+f+'":',u+=this.stringify(n[f]),r.push(u);t+=r.join(",");t+="}"}return t},log:{msg:["New log started on "+navigator.userAgent],add:function(){var i=!1,t=arguments.length,n=0;for("boolean"==typeof arguments[t-1]&&(i=arguments[--t]);n<t;n++)this.msg.push(arguments[n]),i&&console.log(arguments[n])},display:function(n,t){for(var i=void 0!==n&&n>=0&&n<this.msg.length-1?n:0,r=void 0!==t?t+1>this.msg.length?this.msg.length:t+1:void 0!==n?n+1:this.msg.length;i<r;i++)console.log("("+i+") ",this.msg[i])}},getCallStack:function(n){return void 0!==n.stack?n.stack:void 0!==n.message?n.message:"stack trace undefined"},qLoop:function(n,i,r,u,f){var o=-1,e=this,s;try{s=0;o=setInterval(function(){try{!1===r.call()?clearInterval(o):++s>=i&&(clearInterval(o),"function"==typeof u&&u.call())}catch(n){clearInterval(o);"function"==typeof f&&f.call();t._MGX_LG(e.AccessKey,e.VisitorId,e.PageLoadId,"701",n.message,n.stack);e.log.add("ERROR[qLoop]: "+n.message,e.getCallStack(n),e.Debug)}},n)}catch(n){t._MGX_LG(e.AccessKey,e.VisitorId,e.PageLoadId,"700",n.message,n.stack);e.log.add("ERROR[qLoop]: "+n.message,e.getCallStack(n),e.Debug)}return o},clearCookies:function(){var t=this,n=t.getAllCookies();["MGX_Dev","MGX_Analyze","MGX_P"].forEach(function(t){for(let i=0;i<n.length;i++)n[i]===t&&n.splice(i,1)});n.forEach(function(n){t.setCookie(n,"",-1)})},getAllCookies:function(){var n=i.cookie.match(/MGX.*?(?==)/g),t=i.cookie.match(/_mgx.*?(?==)/g);return n&&t?n.concat(t):n&&!t?n:!n&&t?t:[]},expireCookies:function(){var n={},t=Date.now(),i=6e4*this.sessionLength;this.each(this.ck,function(r,u){u.e>t&&(u.s&&(u.e=t+i),n[r]=u)});this.ck=n},handleExistingCookie:function(n,t){var i=this._getCookie(n,t);""!==i&&(this._setCookie(n,"",-1),this.setCookieToSingle(n,i))},getSingleCookie:function(){var n=this._getCookie("MGX_UC",!0);""!==n&&(this.ck=this.parse(n));this.expireCookies()},getCookieFromSingle:function(n){return this.getSingleCookie(),void 0===this.ck[n]?"":this.ck[n].v},setCookieToSingle:function(n,t,i){this.getSingleCookie();var r={},u=Date.now();r.v=t;"number"==typeof i?r.e=u+144e4*i:(r.s=!0,r.e=u+6e4*this.sessionLength);this.ck[n]=r;this._setCookie("MGX_UC",this.stringify(this.ck),365,!0)},_getCookie:function(n,t){for(var r,u=n+"=",e=i.cookie.split(";"),f=0;f<e.length;f++){for(r=e[f];" "==r.charAt(0);)r=r.substring(1);if(0===r.indexOf(u))return t?unescape(this.base64.decode(r.substring(u.length,r.length))):unescape(r.substring(u.length,r.length))}return""},_setCookie:function(n,t,r,u){var f=new Date,e;f.setDate(f.getDate()+r);e=(u?this.base64.encode(escape(t)):escape(t))+"; path=/"+(""!=this.isDefined(this.Domain)?"; domain="+this.Domain:"")+(null==r?"":"; expires="+f.toUTCString());i.cookie=n+"="+e},getCookie:function(n,t){return this.SingleCookie?(this.handleExistingCookie(n,t),this.getCookieFromSingle(n)):this._getCookie(n,t)},GetCookie:function(n,t){return this.getCookie(n,t)},setCookie:function(n,t,i,r){if(this.SingleCookie)return this.setCookieToSingle(n,t,i);this._setCookie(n,t,i,r)},SetCookie:function(n,t,i){return this.setCookie(n,t,i,encode)},storeData:u,retrieveData:u,getParameter:function(n,i){for(var r,f=n+"=",e=i||t.location.search,o=e.slice(e.indexOf("?")+1).split("&"),u=0;u<o.length;u++){for(r=o[u];" "==r.charAt(0);)r=r.substring(1);if(0===r.indexOf(f))return unescape(r.substring(f.length,r.length))}return""},GetParameter:function(n){return this.getParameter(n)},getClientParameter:function(n){return this.getParameter(n,this.getClientQueryString(n))},getClientQueryString:function(n){var r=void 0!==n?'[src*="'+n+'="]':"",t=this.sAttribute("src",'script[src*="cdata.mpio.io/js"]'+r+":first"),i="";return t.indexOf("?")>-1&&(i=decodeURIComponent(t.slice(t.indexOf("?")+1))),i},getHashParameter:function(n){var e=n+"=",u=t.location.hash,f,r,i;if(""===u||-1==u.indexOf("?"))return"";for(f=u.substring(1).split("?")[1].split("&"),r=0;r<f.length;r++){for(i=f[r];" "==i.charAt(0);)i=i.substring(1);if(0===i.indexOf(e))return unescape(i.substring(e.length,i.length))}return""},serialize:function(n){if(n&&"FORM"===n.nodeName){for(var r,i={},t=n.elements.length-1;t>=0;t-=1)if(""!==n.elements[t].name)switch(n.elements[t].nodeName){case"INPUT":switch(n.elements[t].type){case"text":case"hidden":case"password":case"button":case"reset":case"submit":case"color":case"date":case"datetime":case"datetime-local":case"month":case"week":case"time":case"email":case"number":case"range":case"search":case"tel":case"url":i[n.elements[t].name]=n.elements[t].value;break;case"checkbox":case"radio":n.elements[t].checked&&(i[n.elements[t].name]=n.elements[t].value)}break;case"TEXTAREA":i[n.elements[t].name]=n.elements[t].value;break;case"SELECT":switch(n.elements[t].type){case"select-one":i[n.elements[t].name]=n.elements[t].value;break;case"select-multiple":for(r=n.elements[t].options.length-1;r>=0;r-=1)n.elements[t].options[r].selected&&(i[n.elements[t].name]=n.elements[t].value)}break;case"BUTTON":switch(n.elements[t].type){case"reset":case"submit":case"button":i[n.elements[t].name]=n.elements[t].value}}return i}},strDefine:function(n){return null!=n?n:""},objDefined:function(n){return null!=n},isDefined:function(n){return"string"!=typeof n?"":n},IsDefined:function(n){return this.isDefined(n)},getElementPath:function(n){try{for(var t=[n],i=n.parentElement;null!==i;)t.push(i),i=t[t.length-1].parentElement;return t}catch(t){return this.log.add("ERROR[getElementPath]: "+t.message,this.getCallStack(t),this.Debug),[n]}},getClosest:function(n,t){for(var i=t.parentElement,r=this.szl(n);null!==i;){if(r.indexOf(i)>-1)return i;i=i.parentElement}return i},getElementsWith:function(n,t){var i,r=this,u=[],e=n.split(","),f=void 0===t?r.szl("*"):"string"==typeof t?r.szl(t):"array"==r.type(t)?t:[t];return r.each(e,function(n,t){r.each(f,function(n,r){var f=r.childNodes;for(i=0;i<f.length;i++)if(3==f[i].nodeType&&f[i].nodeValue.toLowerCase().indexOf(t.toLowerCase())>-1){u.push(r);break}});r.each(f,function(n,r){for(i=0;i<r.attributes.length;i++)if(r.attributes[i].nodeValue.toLowerCase().indexOf(t.toLowerCase())>-1&&u.indexOf(r)<0){u.push(r);break}})}),u},setUtm:function(){this.UtmSource=this.getParameter("utm_source");this.UtmMedium=this.getParameter("utm_medium");this.UtmCampaign=this.getParameter("utm_campaign")},setUid:function(){var n=this;n.Uid=n.BulkParam!==r&&""!==n.BulkParam&&"string"==typeof n.BulkParam?""!=n.getParameter(n.BulkParam)?n.getParameter(n.BulkParam):n.getParameter("uid"):n.getParameter("uid");""===n.Uid&&"undefined"!=typeof _MGX&&void 0!==_MGX.Uid&&""!==_MGX.Uid&&(n.Uid=_MGX.Uid,n.log.add(n.Debug,"INFO[setUid]: Uid found in _MGX with value "+n.Uid))},setEid:function(){var n=this,e=this.getCookie("MGX_EID",!0),o=0,f,u,r;if(""==e){if("string"==typeof this.Prospecting&&6==this.Prospecting.length){t.neustarResponse=function(i){try{n.Seg1=i.adadvisor.seg1;n.Eid="ns_seg_"+i.adadvisor.segment;n.setCookie("MGX_EID",n.Eid,null,!0);f()}catch(i){t._MGX_LG(n.AccessKey,n.VisitorId,n.PageLoadId,"neustarResponse",i.message,i.stack);n.log.add("ERROR[neustarResponse]: "+i.message,n.getCallStack(i),n.Debug)}};f=function(){++o>5||n.commit("action",{n:"Eid",l:n.Eid},function(t){"false"==t.Status?setTimeout(f,n.ProspectingInterval):n.commit("action",{n:"Es1",l:n.Seg1})})};u=i.createElement("script");u.async=!0;u.src="//aa.agkn.com/adscores/g.jsonp?sid=9202274878&userid="+n.Prospecting.toUpperCase()+"-"+n.VisitorId.toUpperCase();i.body.appendChild(u);try{(r=i.createElement("img")).style.display="none";r.src="https://i.liadm.com/s/63537?bidder_id=242861&bidder_uuid="+n.Prospecting.toUpperCase()+"-"+n.VisitorId.toUpperCase();i.body.appendChild(r)}catch(e){}try{(r=i.createElement("img")).style.display="none";r.src="https://aa.agkn.com/adscores/g.pixel?sid=9202283468&_userID="+n.Prospecting.toUpperCase()+"-"+n.VisitorId.toUpperCase()+"&_takID="+n.AccessKey;i.body.appendChild(r)}catch(e){}}}else n.Eid=e},stringCheck:function(n,t){for(var i=0;i<t.length;i++)if("regexp"==this.type(t[i])){if(t[i].test(n))return!0}else if("string"==this.type(t[i])&&this.isDefined(n).toLowerCase().indexOf(t[i].toLowerCase())>-1)return!0;return!1},isMobile:function(n){return""!=this.isDefined(n)?this.stringCheck(t.location.href,[n]):""!=this.isDefined(this.MobileUrl)&&this.stringCheck(t.location.href,[this.MobileUrl])},hashString:function(n,t){var f,e,i,r,u;for(f=3&n.length,e=n.length-f,i=t||256,u=0;u<e;)r=255&n.charCodeAt(u)|(255&n.charCodeAt(++u))<<8|(255&n.charCodeAt(++u))<<16|(255&n.charCodeAt(++u))<<24,++u,i=27492+(65535&(i=5*(65535&(i=(i^=r=461845907*(65535&(r=(r=3432918353*(65535&r)+((3432918353*(r>>>16)&65535)<<16)&4294967295)<<15|r>>>17))+((461845907*(r>>>16)&65535)<<16)&4294967295)<<13|i>>>19))+((5*(i>>>16)&65535)<<16)&4294967295))+((58964+(i>>>16)&65535)<<16);switch(r=0,f){case 3:r^=(255&n.charCodeAt(u+2))<<16;case 2:r^=(255&n.charCodeAt(u+1))<<8;case 1:i^=461845907*(65535&(r=(r=3432918353*(65535&(r^=255&n.charCodeAt(u)))+((3432918353*(r>>>16)&65535)<<16)&4294967295)<<15|r>>>17))+((461845907*(r>>>16)&65535)<<16)&4294967295}return i^=n.length,i=2246822507*(65535&(i^=i>>>16))+((2246822507*(i>>>16)&65535)<<16)&4294967295,((i=3266489909*(65535&(i^=i>>>13))+((3266489909*(i>>>16)&65535)<<16)&4294967295)^i>>>16)>>>0},md5:function(n){var e=function(n,t,i,r,u,e){return f(o(f(f(t,n),f(r,e)),u),i)},t=function(n,t,i,r,u,f,o){return e(t&i|~t&r,n,t,u,f,o)},i=function(n,t,i,r,u,f,o){return e(t&r|i&~r,n,t,u,f,o)},r=function(n,t,i,r,u,f,o){return e(t^i^r,n,t,u,f,o)},u=function(n,t,i,r,u,f,o){return e(i^(t|~r),n,t,u,f,o)},f=function(n,t){var i=(65535&n)+(65535&t);return(n>>16)+(t>>16)+(i>>16)<<16|65535&i},o=function(n,t){return n<<t|n>>>32-t};try{return result=function(n){for(var t,r="0123456789ABCDEF",u="",i=0;i<n.length;i++)t=n.charCodeAt(i),u+=r.charAt(t>>>4&15)+r.charAt(15&t);return u}(function(n){for(var i="",t=0;t<32*n.length;t+=8)i+=String.fromCharCode(n[t>>5]>>>t%32&255);return i}(function(n,e){n[e>>5]|=128<<e%32;n[14+(e+64>>>9<<4)]=e;for(var s=1732584193,o=-271733879,h=-1732584194,c=271733878,l=0;l<n.length;l+=16){var a=s,v=o,y=h,p=c;o=u(o=u(o=u(o=u(o=r(o=r(o=r(o=r(o=i(o=i(o=i(o=i(o=t(o=t(o=t(o=t(o,h=t(h,c=t(c,s=t(s,o,h,c,n[l+0],7,-680876936),o,h,n[l+1],12,-389564586),s,o,n[l+2],17,606105819),c,s,n[l+3],22,-1044525330),h=t(h,c=t(c,s=t(s,o,h,c,n[l+4],7,-176418897),o,h,n[l+5],12,1200080426),s,o,n[l+6],17,-1473231341),c,s,n[l+7],22,-45705983),h=t(h,c=t(c,s=t(s,o,h,c,n[l+8],7,1770035416),o,h,n[l+9],12,-1958414417),s,o,n[l+10],17,-42063),c,s,n[l+11],22,-1990404162),h=t(h,c=t(c,s=t(s,o,h,c,n[l+12],7,1804603682),o,h,n[l+13],12,-40341101),s,o,n[l+14],17,-1502002290),c,s,n[l+15],22,1236535329),h=i(h,c=i(c,s=i(s,o,h,c,n[l+1],5,-165796510),o,h,n[l+6],9,-1069501632),s,o,n[l+11],14,643717713),c,s,n[l+0],20,-373897302),h=i(h,c=i(c,s=i(s,o,h,c,n[l+5],5,-701558691),o,h,n[l+10],9,38016083),s,o,n[l+15],14,-660478335),c,s,n[l+4],20,-405537848),h=i(h,c=i(c,s=i(s,o,h,c,n[l+9],5,568446438),o,h,n[l+14],9,-1019803690),s,o,n[l+3],14,-187363961),c,s,n[l+8],20,1163531501),h=i(h,c=i(c,s=i(s,o,h,c,n[l+13],5,-1444681467),o,h,n[l+2],9,-51403784),s,o,n[l+7],14,1735328473),c,s,n[l+12],20,-1926607734),h=r(h,c=r(c,s=r(s,o,h,c,n[l+5],4,-378558),o,h,n[l+8],11,-2022574463),s,o,n[l+11],16,1839030562),c,s,n[l+14],23,-35309556),h=r(h,c=r(c,s=r(s,o,h,c,n[l+1],4,-1530992060),o,h,n[l+4],11,1272893353),s,o,n[l+7],16,-155497632),c,s,n[l+10],23,-1094730640),h=r(h,c=r(c,s=r(s,o,h,c,n[l+13],4,681279174),o,h,n[l+0],11,-358537222),s,o,n[l+3],16,-722521979),c,s,n[l+6],23,76029189),h=r(h,c=r(c,s=r(s,o,h,c,n[l+9],4,-640364487),o,h,n[l+12],11,-421815835),s,o,n[l+15],16,530742520),c,s,n[l+2],23,-995338651),h=u(h,c=u(c,s=u(s,o,h,c,n[l+0],6,-198630844),o,h,n[l+7],10,1126891415),s,o,n[l+14],15,-1416354905),c,s,n[l+5],21,-57434055),h=u(h,c=u(c,s=u(s,o,h,c,n[l+12],6,1700485571),o,h,n[l+3],10,-1894986606),s,o,n[l+10],15,-1051523),c,s,n[l+1],21,-2054922799),h=u(h,c=u(c,s=u(s,o,h,c,n[l+8],6,1873313359),o,h,n[l+15],10,-30611744),s,o,n[l+6],15,-1560198380),c,s,n[l+13],21,1309151649),h=u(h,c=u(c,s=u(s,o,h,c,n[l+4],6,-145523070),o,h,n[l+11],10,-1120210379),s,o,n[l+2],15,718787259),c,s,n[l+9],21,-343485551);s=f(s,a);o=f(o,v);h=f(h,y);c=f(c,p)}return Array(s,o,h,c)}(function(n){for(var i=Array(n.length>>2),t=0;t<i.length;t++)i[t]=0;for(t=0;t<8*n.length;t+=8)i[t>>5]|=(255&n.charCodeAt(t/8))<<t%32;return i}(n),8*n.length))),result.toLowerCase()}catch(n){return"md5 hash failed"}},drl:function(n,t){t=void 0!==t?t:3;var i=0,r=function(n){var e,u,o,f;if("string"==typeof n)return""!=n?n:"empty";if("number"==typeof n||"boolean"==typeof n)return""+n;if(void 0===n)return"undefined";if(null===n)return"null";if(i>=t)return"";i++;u=[];for(e in n)o=r(n[e]),u.push("["+typeof n[e]+"]"+e+(""!=o?":"+o:""));return f="",u.length&&(f+="{",f+=u.length?u.join(", "):"",f+="}"),i--,f};try{return r(n)}catch(n){return n.message}},csi:u,setCsi:u,uuid:function(){var n=(new Date).getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){var i=(n+16*Math.random())%16|0;return n=Math.floor(n/16),("x"==t?i:3&i|8).toString(16)})},checkHost:function(){for(var r=!!this.OverrideHost,n,i=0;i<this.BaseUrl.length;i++)if(n=this.BaseUrl[i],"regexp"==this.type(n)){if(t.location.href.search(n)>-1){r=!0;break}}else if("string"==this.type(n)&&t.location.href.toLowerCase().indexOf(n.toLowerCase())>-1){r=!0;break}for(i=0;i<this.SuppressUrl.length;i++)if(n=this.SuppressUrl[i],"regexp"==this.type(n)){if(t.location.href.search(n)>-1){r=!1;break}}else if("string"==this.type(n)&&t.location.href.toLowerCase().indexOf(n.toLowerCase())>-1){r=!1;break}return r},handleEvents:function(){var n=this;void 0===n.evset&&(n.evset=!0,n.each(n.Def,function(t,i){t.indexOf("_event")>-1&&(void 0===i.pages||i.pages.indexOf(n.pg)>-1)&&(n.log.add("INFO[handleEvents]: Adding event "+t,"INFO[handleEvents]: Event object:",i,n.Debug),n.setEvent(i.type,i.elements,i.target,i.handler,i.debug))}))},setEvent:function(n,i,r,u,f){var e=this,c=function(n){if(n=n||t.event,null===(r=r||null)){if("function"==typeof f)try{f(n)}catch(n){e.log.add("ERROR[event]: Event debug error!",e.Debug)}try{u(n)}catch(n){t._MGX_LG(e.AccessKey,e.VisitorId,e.PageLoadId,"301",n.message,n.stack);e.log.add("ERROR[event]: "+n.message,e.getCallStack(n),e.Debug)}}else{var i=e.elems(r),o=e.getElementPath(n.target||n.srcElement);if("function"==typeof f)try{f(n,i,o)}catch(n){e.log.add("ERROR[event]: Event debug error!",e.Debug)}e.each(i,function(n,i){if(o.indexOf(i)>-1){try{e.log.add("INFO[event]: Firing event on element",i,e.Debug);u(i)}catch(n){t._MGX_LG(e.AccessKey,e.VisitorId,e.PageLoadId,"302",n.message,n.stack);e.log.add("ERROR[event]: "+n.message,e.getCallStack(n),e.Debug)}return!1}})}},h=e.elems(i),s,o;for(e.log.add("INFO[event]: elements",h,e.Debug),s=0;s<h.length;s++)o=h[s],o.addEventListener?(o.addEventListener(n,c),e.log.add("INFO[setEvent]: addEventListener on:",o,e.Debug)):o.attachEvent&&(o.attachEvent(n,c),e.log.add("INFO[setEvent]: attachEvent on:",o,e.Debug))},setPageType:function(){var n=this,i,r;n.log.add("BEGIN[setPageType]",n.Debug);i=0;r="pageload";n.each(n.Def,function(u,f){if("object"==typeof f)try{if(void 0!==f.identifier){n.log.add("INFO[setPageType]: checking page type "+u,n.Debug);var e="number"==typeof f.priority?f.priority:0;("function"==typeof f.identifier?f.identifier():f.identifier)&&(n.log.add("INFO[setPageType]: Page type "+u+" evaluated true","Priority: "+e+" Current Priority: "+i,n.Debug),e>=i&&(r=u,i=e,n.log.add("INFO[setPageType]: Page type "+u+" is current",n.Debug)))}}catch(i){t._MGX_LG(n.AccessKey,n.VisitorId,n.PageLoadId,"400",i.message,i.stack);n.log.add("ERROR[setPageType]: "+i.message,n.getCallStack(i),n.Debug)}});n.pg=r;n.log.add("END[setPageType]",n.Debug)},incrementVisitSequence:function(){var n=parseInt(this.getCookie("MGX_VS"));isNaN(n)||(this.VisitSequence=n+1);this.setCookie("MGX_VS",this.VisitSequence)},handlePageLoad:function(){var n=this,i=!1,t;n.incrementVisitSequence();"checkoutcomplete"==n.pg&&("1"==n.getCookie("mgx_dupe")?(n.log.add("ALERT[__main]: Duplicate page load, process aborted"),i=!0):n.setCookie("mgx_dupe","1",10/1440));t=n.Def[n.pg];"function"==typeof t.waitFor?n.qLoop(1e3,10,function(){if(t.waitFor())return n.PageObject=n.processDefinition(t),n.handleDefProcs(),i||n.commit("page",n.PageObject),!1},function(){n.commit("page",{Label:"PageLoad"})}):(n.PageObject=n.processDefinition(t),n.handleDefProcs(),i||n.commit("page",n.PageObject))},handleDefProcs:function(){var n=this;n.each(n.Def,function(i,r){if(i.indexOf("_proc")>-1&&"function"==typeof r.handler&&(void 0===r.pages||r.pages.indexOf(n.pg)>-1))try{r.handler()}catch(r){t._MGX_LG(n.AccessKey,n.VisitorId,n.PageLoadId,"500",r.message,r.stack);n.log.add("ALERT[handleDefProcs]:Error in def proc "+i)}})},processDefinition:function(n,r){var u=this,f=(r=r||i,{}),e,o;if(void 0===n&&u.log.add("ERROR[processDefinition]: The definition is not defined",u.Debug),void 0!==n.preProcess)try{e=n.preProcess(r);void 0!==e&&u.each(e,function(n,t){f[n]=t})}catch(n){t._MGX_LG(u.AccessKey,u.VisitorId,u.PageLoadId,"501",n.message,n.stack);u.log.add("ERROR[processDefinition]: "+u.pg+" preProcess: "+n.message,u.getCallStack(n),u.Debug)}if(void 0!==n.altFunction)try{o=n.altFunction(r);void 0!==o&&u.each(o,function(n,t){f[n]=t})}catch(n){t._MGX_LG(u.AccessKey,u.VisitorId,u.PageLoadId,"502",n.message,n.stack);f={Label:"Error",Message:n.message};u.log.add("ERROR[processDefinition]: "+u.pg+" altFunction: "+n.message,u.getCallStack(n),u.Debug)}if(u.each(n,function(n,i){if(u.restrict.indexOf(n)<0)try{f[n]="function"==typeof i?i(r):i}catch(r){t._MGX_LG(u.AccessKey,u.VisitorId,u.PageLoadId,"503",r.message,r.stack);f[n]=r.message;u.log.add("ERROR[processDefinition]: "+u.pg+": "+n+": "+r,u.getCallStack(r),u.Debug)}}),void 0!==n.postProcess)try{n.postProcess(f)}catch(n){t._MGX_LG(u.AccessKey,u.VisitorId,u.PageLoadId,"504",n.message,n.stack);u.log.add("ERROR[processDefinition]: "+u.pg+" postProcess: "+n.message,u.getCallStack(n),u.Debug)}return u.log.add("INFO[processDefinition]: Completed with:",f,u.Debug),f},getContactData:u,commitContactData:u,getEm:function(){var n=this,t,i;n.SuppressEm||(n.each(n.szl("input"),function(t,i){if(n.isValidEmFld(i)){var r=n.getRegex(n.regex.Email,i.value.toLowerCase());n.isValidEm(r)&&(n.log.add("INFO[getContactData]: Found valid email "+r,n.Debug),n.setCookie("MGX_C","1",null,!0))}}),t=n.getPageText().match(/([\w-\.]+@[\w-\.]+\.[a-z]{1,3})/gi),i=n.getRegex(n.regex.Email,n.Url),""!==i&&(t?t.push(i):t=[i]),t&&n.each(t,function(t,i){var r=i.toLowerCase();n.isValidEm(r)&&(n.log.add("INFO[getContactData]: Found valid email "+r+" on page"),n.setCookie("MGX_C","1",null,!0))}))},commitEm:u,getEmSrc:function(n){if(!n)return this.pg;var t="";return n&&(nm=n.name,t=n.id),this.pg+(""!=t?":"+t:"")+(""!=nm?":"+nm:"")},handleEm:function(){this.getEm();this.setEmEvt()},isEm:function(n){return"string"==typeof n&&this.regex.Email.test(n)},isValidEm:function(n){if(!this.isEm(n)||this.EmSent.indexOf(n.toLowerCase())>-1)return!1;var t=!0,i="string"==typeof this.EmailParams.RestrictedValues?""!=this.EmailParams.RestrictedValues?this.EmailParams.RestrictedValues.split(","):[]:this.EmailParams.RestrictedValues;return this.each(i,function(i,r){if(n.toLowerCase().indexOf(r)>-1)return t=!1,!1}),t},isValidEmFld:function(n){if(!n)return!1;var i=this,r=!0,t=[];return n.name&&t.push(n.name),n.id&&t.push(n.id),n.className&&t.concat(n.className.split(" ")),i.log.add("INFO[getContactData.cf]: field data:",t,i.Debug),i.each(t,function(n,t){if(i.EmailParams.RestrictedFields.toLowerCase().indexOf(t.toLowerCase())>-1)return r=!1,!1}),r},hasEm:function(){var n=this,t=n.szl("input");n.log.add("INFO[hasEm]: Checking em",n.Debug);n.each(t,function(t,i){if(n.isValidEmFld(i)){var r=i.value;n.log.add("INFO[hasEm]: Input val is "+r,n.Debug);n.isValidEm(r)&&(n.log.add("INFO[hasEm]: Found valid em "+r,n.Debug),n.setCookie("MGX_C","1",null,!0))}})},setEmEvt:function(){var n=this;void 0===t.__MGX_E__&&(t.__MGX_E__=!0,this.setEvent("change",i.body,"input",function(){n.hasEm()}))},orderInfo:function(n,t){var i=this,r=i.getCookie("_mgxtot",!0),u=i.getCookie("_mgxord",!0);return(n.indexOf("checkoutvisit")>-1||n.indexOf("cart")>-1)&&(""==u&&i.setCookie("_mgxord","true",null,!0),void 0!==t.OrderTotal&&i.regex.Money.test(t.OrderTotal)&&r!=t.OrderTotal&&(i.setCookie("_mgxtot",t.OrderTotal,null,!0),i.log.add("INFO[orderInfo]: Checkoutvisit/Cart order total found and cookied",i.Debug))),"checkoutcomplete"==n&&("true"==u&&(void 0!==t.OrderTotal&&(i.regex.Money.test(t.OrderTotal)||""==r||(t.OrderTotal=r,i.setCookie("_mgxtot","",-1),i.log.add("INFO[orderInfo]: Checkoutcomplete order total restored from cookie",i.Debug))),i.setCookie("_mgxord","",-1)),"string"==typeof t.OrderId&&""==t.OrderId&&(t.OrderId=i.SessionId)),t},checkForgetMeCommited:function(){"FM"===this.getCookie("MGX_P")&&(this.ForgetMe=!0,this.VisitorId="FM")},handleProspecting:function(){},commit:function(n,t,i){"action"==n&&(t.Label="Action");"variable"==n&&(t.version2=!0);this.commit20(this.CommitType,t,i);this.Sequence++},commit20:function(n,i,r){var l,a,o,s,c,v,h;try{var u=this,e=[],p=this.SyncUrl||[],w=u.getCookie("MGX_C",!0),y=!0,f={};if(null!=i&&!0!==i.version2&&"Contact"===i.Label&&(y=!1),y){if(f.v=u.VisitorId,f.m=u.uuid(),u.stringCheck(u.Url,p)&&(f.sync=1),""!==u.Em?f.e=u.Em:""!==w&&(f.e="1"),f.csi=u.Csi,f.se=u.SessionId,"1"===u.NewSession&&(f.n=1,u.NewSession="0"),f.p=u.PageLoadId,f.u=u.Url,f.pn=u.Path,f.r=u.Referrer,f.t=u.Title,l=u.getCanonical(),""!==l&&(f.c=l),f.pr=u.Prospecting,""!==u.Eid&&(f.eid=u.Eid),""!==u.Uid&&(f.uid=u.Uid),""!==u.Sid&&(f.sid=u.Sid),""!==u.Xid&&(f.xid=u.Xid),""!==u.UtmSource&&(f.utm_s=u.UtmSource),""!==u.UtmMedium&&(f.utm_m=u.UtmMedium),""!==u.UtmCampaign&&(f.utm_c=u.UtmCampaign),""!==u.Keycode&&(f.kc=u.Keycode),f.s="number"!=typeof u.Sequence?1:u.Sequence,f.vs=u.VisitSequence,!0===u.HasCart?f.hc=1:!1===u.HasCart&&(f.hc=0),u.ItemAdded&&(f.ia=1),f.l="PageLoad",null!=i)if(i.Label&&""!==i.Label&&(f.l=i.Label),i.ContentType&&""!==i.ContentType&&(f.ct=i.ContentType),u.each(["s01","s02","s03","s04","s05"],function(n,t){if(void 0!==i[t])f[t]=i[t],u.setCookie("mgx_"+t,f[t],null,!0);else if(void 0!==u[t])f[t]=u[t],u.setCookie("mgx_"+t,f[t],null,!0);else{var r=u.getCookie("mgx_"+t,null,!0);""!==r&&(f[t]=r)}}),u.each(["x01","x02","x03","x04","x05"],function(n,t){void 0!==i[t]?f[t]=i[t]:void 0!==u[t]&&(f[t]=u[t])}),a=u.getClientQueryString(),void 0===f.x01&&""!==a&&(f.x01=a),u.each(["v01","v02","v03","v04","v05","v06","v07","v08","v09","v10","v11","v12","v13","v14","v15","v16","v17","v18","v19","v20"],function(n,t){void 0!==i[t]?f[t]=i[t]:void 0!==u[t]&&(f[t]=u[t])}),i.version2)e.push(u.stringify(f));else switch(f.l.toLowerCase()){case"category":f.v01=i.CategoryId||"";f.v02=i.CategoryName||"";e.push(u.stringify(f));break;case"product":f.v01=i.ProductId||"";f.v02=i.ProductName||"";f.v03=i.Sku||"";f.v04=i.ImagePath||"";f.v05=i.StockStatus||"";f.v06=i.Price||"";e.push(u.stringify(f));break;case"cart":if(o=u.getCookie("MGX_OT",!0),i.OrderTotal&&""!==i.OrderTotal?""!=o&&o==i.OrderTotal||u.setCookie("MGX_OT",i.OrderTotal,null,!0):""!=o&&(i.OrderTotal=o),f.v01=u.Cid,f.v02=i.CartId,f.v03=i.OrderTotal,e.push(u.stringify(f)),i.CartItems.length)for(s=0;s<i.CartItems.length;s++)c=i.CartItems[s],f.l=c.Label,f.v04=c.ProductId||"",f.v05=c.Sku||"",f.v06=c.ProductName||"",f.v07=c.ImagePath||"",f.v08=c.Quantity||"",f.v09=c.UnitPrice||"",f.v12=1,f.s=++u.Sequence,e.push(u.stringify(f));break;case"cartitem":o=u.getCookie("MGX_OT",!0);i.CartValue&&""!==i.CartValue?""!=o&&o==i.CartValue||u.setCookie("MGX_OT",i.CartValue,null,!0):""!=o&&(i.CartValue=o);f.v01=u.Cid;f.v02=i.CartId||"";f.v03=i.CartValue||"";f.v04=i.ProductId||"";f.v05=i.Sku||"";f.v06=i.ProductName||"";f.v07=i.ImagePath||"";f.v08=i.Quantity||"";f.v09=i.UnitPrice||"";f.v10=i.Details||"";f.v11=i.Attributes||"";e.push(u.stringify(f));break;case"checkoutvisit":o=u.getCookie("MGX_OT",!0);i.OrderTotal&&""!==i.OrderTotal?""!=o&&o==i.OrderTotal||u.setCookie("MGX_OT",i.OrderTotal,null,!0):""!=o&&(i.OrderTotal=o);f.v01=i.ShippingCost||"";f.v02=i.OrderTotal||"";e.push(u.stringify(f));break;case"checkoutcomplete":void 0!==i.OrderTotal&&""!==i.OrderTotal||""!==(o=u.getCookie("MGX_OT",!0))&&(i.OrderTotal=o);void 0!==i.OrderId&&""!=i.OrderId||(i.OrderId=u.SessionId);f.v01=i.OrderId||"";f.v02=i.OrderTotal||"";f.v03=u.Cid;void 0!==i.Content&&(f.v20=i.Content);e.push(u.stringify(f));u.setCookie("MGX_CID","",-1);u.setCookie("MGX_OT","",-1);break;case"search":f.v01=i.SearchPhrase||"";f.v02=i.ItemCount||"";e.push(u.stringify(f));break;case"action":if(i.n&&(f.v01=i.n),i.l&&(f.v02=i.l),i.Action&&(f.v01=i.Action),i.Data&&i.Action){if("object"==typeof i.Data){v=!1;u.each(i.Data,function(n,t){f.v03=n;f.v04=t;v&&(f.s=++u.Sequence);e.push(u.stringify(f));v=!0});break}f.v02=i.Data}e.push(u.stringify(f));break;case"cust":u.each(i.Data);break;case"forgetme":u.clearCookies();u.ForgetMe=!0;e.push(u.stringify(f));break;default:"string"==typeof i.PageType&&""!=i.PageType&&(f.v01=i.PageType);e.push(u.stringify(f))}if(e.length&&"FM"!==u.VisitorId)for(s=0;s<e.length;s++){u.cd.push(e[s]);h=new u.ajax(("pixel"===n?u.PixelApi:u.BaseApi)+u.AccessKey);switch(h.addUrlParam("v",u.VisitorId),h.addUrlParam("m",u.MgxVisitorId),h.addUrlParam("se",u.SessionId),h.addUrlParam("d",u.base64.encode(e[s])),(u.SyncVisitor||u.stringCheck(t.location.href,u.SyncUrl))&&h.addUrlParam("sync","1"),u.ForgetMe&&h.addUrlParam("fm","1"),n){case"jsonp":h.jsonp(function(n){u.log.add("INFO[commit]: Commit received response",u.Debug);u.rs.push(u.stringify(n));"true"==n.Status&&(u.log.add("INFO[commit]: Response received - request string="+s,n,u.Debug),void 0!==n.VisitorId&&u.regex.Guid.test(n.VisitorId)&&n.VisitorId!==u.VisitorId&&(u.VisitorId=n.VisitorId,u.setCookie("MGX_P",n.VisitorId,365)),void 0!==n.SessionId&&u.regex.Guid.test(n.SessionId)&&n.SessionId!==u.SessionId&&(u.SessionId=n.SessionId,u.setCookie("MGX_PX",n.SessionId)),u.ForgetMe?(u.VisitorId="FM",u.setCookie("MGX_P","FM",365)):u.eidRunOnce||(u.eidRunOnce=!0,u.setEid()));"function"==typeof r&&r(n)});break;case"pixel":h.pixel();u.rs.push('{"Pixel":"commit"}')}}}}catch(n){t._MGX_LG(this.AccessKey,this.VisitorId,this.PageLoadId,"504",n.message,n.stack);this.log.add("[ERROR]commitV: "+n.message,u.Debug)}},showCommits:function(){var t=this,n;return this.cd.length&&(n=[],this.each(this.cd,function(i,r){n.push(t.parse(r))})),n},getCanonical:function(){var t=i.getElementsByTagName("link"),n;for(f=0;f<t.length;f++)if(n=t[f],"canonical"===n.rel)return n.href;return i.URL},ajax:function(u,f){this.url=u||"";this.params=f||{};this.postJSON=!1;this.JSONPCallback="callback";this.readyState=-1;this.status=-1;this.callback=function(){};this.addUrlParam=function(n,t){return null!=t&&""!==t&&(this.url+=this.url.indexOf("?")<0?"?":"&",this.url+=n+"="+encodeURIComponent(t)),this};this.addPostParam=function(n,t){return null!=t&&""!==t&&(this.params[n]=t),this};this.get=function(n){var i=this,t=new XMLHttpRequest||new ActiveXObject("Microsoft.XMLHTTP");if(!t)return i.status=-2,i;try{t.open("GET",i.url,!0);t.send()}finally{t.onreadystatechange=function(){i.readyState=t.readyState;i.status=t.status;4==t.readyState&&200==t.status&&(n?n(t.responseText):i.callback(t.responseText))}}return i};this.post=function(i){var f=this,u=new XMLHttpRequest||new ActiveXObject("Microsoft.XMLHTTP");if(!u)return f.status=-2,f;i="function"==typeof arguments[arguments.length-1]?arguments[arguments.length-1]:r;"object"==typeof arguments[0]&&(f.params=arguments[0]);try{u.open("POST",f.url,!0);u.postJSON?u.setRequestHeader("Content-type","application/json"):u.setRequestHeader("Content-type","application/x-www-form-urlencoded");u.send(t[n].stringify(f.params))}finally{u.onreadystatechange=function(){f.readyState=u.readyState;f.status=u.status;4==u.readyState&&200==u.status&&(i?i(u.responseText):f.callback(u.responseText))}}return f};this.jsonp=function(n){var u=this,f=i.createElement("script"),e=Math.random().toString(16).slice(2);return f.async=!0,u.url+=u.url.indexOf("?")<0?"?":"&",u.url+=u.JSONPCallback+"=cb"+e,f.src=this.url,t["cb"+e]=function(i){try{u.readyState=4;u.status=200;n?n(i):u.callback(i)}finally{t["cb"+e]=r;f.parentNode&&f.parentNode.removeChild(f)}},i.body.appendChild(f),this};this.pixel=function(){var n=i.createElement("img");return n.style.display="none",n.src=this.url,i.body.appendChild(n),this}},get:function(n,t){new this.ajax(n).get(t)},jsonp:function(n,t){new this.ajax(n).jsonp(t)},sizzle:function(n){function f(n,t,r,u){var f,p,h,a,w,b,g,y=t&&t.ownerDocument,v=t?t.nodeType:9;if(r=r||[],"string"!=typeof n||!n||1!==v&&9!==v&&11!==v)return r;if(!u&&((t?t.ownerDocument||t:l)!==i&&k(t),t=t||i,c)){if(11!==v&&(w=lr.exec(n)))if(f=w[1]){if(9===v){if(!(h=t.getElementById(f)))return r;if(h.id===f)return r.push(h),r}else if(y&&(h=y.getElementById(f))&&ot(t,h)&&h.id===f)return r.push(h),r}else{if(w[2])return d.apply(r,t.getElementsByTagName(n)),r;if((f=w[3])&&o.getElementsByClassName&&t.getElementsByClassName)return d.apply(r,t.getElementsByClassName(f)),r}if(o.qsa&&!at[n+" "]&&(!s||!s.test(n))){if(1!==v)y=t,g=n;else if("object"!==t.nodeName.toLowerCase()){for((a=t.getAttribute("id"))?a=a.replace(yi,pi):t.setAttribute("id",a=e),p=(b=et(n)).length;p--;)b[p]="#"+a+" "+pt(b[p]);g=b.join(",");y=ti.test(n)&&ui(t.parentNode)||t}if(g)try{return d.apply(r,y.querySelectorAll(g)),r}catch(n){}finally{a===e&&t.removeAttribute("id")}}}return hi(n.replace(vt,"$1"),t,r,u)}function ii(){var n=[];return function i(r,u){return n.push(r+" ")>t.cacheLength&&delete i[n.shift()],i[r+" "]=u}}function a(n){return n[e]=!0,n}function v(n){var t=i.createElement("fieldset");try{return!!n(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t);t=null}}function ri(n,i){for(var r=n.split("|"),u=r.length;u--;)t.attrHandle[r[u]]=i}function bi(n,t){var i=t&&n,r=i&&1===n.nodeType&&1===t.nodeType&&n.sourceIndex-t.sourceIndex;if(r)return r;if(i)for(;i=i.nextSibling;)if(i===t)return-1;return n?1:-1}function vr(n){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===n}}function yr(n){return function(t){var i=t.nodeName.toLowerCase();return("input"===i||"button"===i)&&t.type===n}}function ki(n){return function(t){return"label"in t&&t.disabled===n||"form"in t&&t.disabled===n||"form"in t&&!1===t.disabled&&(t.isDisabled===n||t.isDisabled!==!n&&("label"in t||!ar(t))!==n)}}function rt(n){return a(function(t){return t=+t,a(function(i,r){for(var u,f=n([],i.length,t),e=f.length;e--;)i[u=f[e]]&&(i[u]=!(r[u]=i[u]))})})}function ui(n){return n&&void 0!==n.getElementsByTagName&&n}function di(){}function pt(n){for(var t=0,r=n.length,i="";t<r;t++)i+=n[t].value;return i}function wt(n,t,i){var r=t.dir,u=t.next,f=u||r,o=i&&"parentNode"===f,s=gi++;return t.first?function(t,i,u){for(;t=t[r];)if(1===t.nodeType||o)return n(t,i,u)}:function(t,i,h){var c,l,v,a=[y,s];if(h){for(;t=t[r];)if((1===t.nodeType||o)&&n(t,i,h))return!0}else for(;t=t[r];)if(1===t.nodeType||o)if(l=(v=t[e]||(t[e]={}))[t.uniqueID]||(v[t.uniqueID]={}),u&&u===t.nodeName.toLowerCase())t=t[r]||t;else{if((c=l[f])&&c[0]===y&&c[1]===s)return a[2]=c[2];if(l[f]=a,a[2]=n(t,i,h))return!0}}}function fi(n){return n.length>1?function(t,i,r){for(var u=n.length;u--;)if(!n[u](t,i,r))return!1;return!0}:n[0]}function bt(n,t,i,r,u){for(var e,o=[],f=0,s=n.length,h=null!=t;f<s;f++)(e=n[f])&&(i&&!i(e,r,u)||(o.push(e),h&&t.push(f)));return o}function ei(n,t,i,r,u,o){return r&&!r[e]&&(r=ei(r)),u&&!u[e]&&(u=ei(u,o)),a(function(e,o,s,h){var a,l,v,w=[],p=[],b=o.length,k=e||function(n,t,i){for(var r=0,u=t.length;r<u;r++)f(n,t[r],i);return i}(t||"*",s.nodeType?[s]:s,[]),y=!n||!e&&t?k:bt(k,w,n,s,h),c=i?u||(e?n:b||r)?[]:o:y;if(i&&i(y,c,s,h),r)for(a=bt(c,p),r(a,[],s,h),l=a.length;l--;)(v=a[l])&&(c[p[l]]=!(y[p[l]]=v));if(e){if(u||n){if(u){for(a=[],l=c.length;l--;)(v=c[l])&&a.push(y[l]=v);u(null,c=[],a,h)}for(l=c.length;l--;)(v=c[l])&&(a=u?tt(e,v):w[l])>-1&&(e[a]=!(o[a]=v))}}else c=bt(c===o?c.splice(b,c.length):c),u?u(null,o,c,h):d.apply(o,c)})}function oi(n){for(var o,u,r,s=n.length,h=t.relative[n[0].type],c=h||t.relative[" "],i=h?1:0,l=wt(function(n){return n===o},c,!0),a=wt(function(n){return tt(o,n)>-1},c,!0),f=[function(n,t,i){var r=!h&&(i||t!==ct)||((o=t).nodeType?l(n,t,i):a(n,t,i));return o=null,r}];i<s;i++)if(u=t.relative[n[i].type])f=[wt(fi(f),u)];else{if((u=t.filter[n[i].type].apply(null,n[i].matches))[e]){for(r=++i;r<s&&!t.relative[n[r].type];r++);return ei(i>1&&fi(f),i>1&&pt(n.slice(0,i-1).concat({value:" "===n[i-2].type?"*":""})).replace(vt,"$1"),u,i<r&&oi(n.slice(i,r)),r<s&&oi(n=n.slice(r)),r<s&&pt(n))}f.push(u)}return fi(f)}var ut,o,t,ht,si,et,kt,hi,ct,b,ft,k,i,h,c,s,g,lt,ot,e="sizzle"+1*new Date,l=n.document,y=0,gi=0,ci=ii(),li=ii(),at=ii(),dt=function(n,t){return n===t&&(ft=!0),0},nr={}.hasOwnProperty,nt=[],tr=nt.pop,ir=nt.push,d=nt.push,ai=nt.slice,tt=function(n,t){for(var i=0,r=n.length;i<r;i++)if(n[i]===t)return i;return-1},gt="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",u="[\\x20\\t\\r\\n\\f]",it="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",vi="\\["+u+"*("+it+")(?:"+u+"*([*^$|!~]?=)"+u+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+it+"))|)"+u+"*\\]",ni=":("+it+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+vi+")*)|.*)\\)|)",rr=new RegExp(u+"+","g"),vt=new RegExp("^"+u+"+|((?:^|[^\\\\])(?:\\\\.)*)"+u+"+$","g"),ur=new RegExp("^"+u+"*,"+u+"*"),fr=new RegExp("^"+u+"*([>+~]|"+u+")"+u+"*"),er=new RegExp("="+u+"*([^\\]'\"]*?)"+u+"*\\]","g"),or=new RegExp(ni),sr=new RegExp("^"+it+"$"),yt={ID:new RegExp("^#("+it+")"),CLASS:new RegExp("^\\.("+it+")"),TAG:new RegExp("^("+it+"|[*])"),ATTR:new RegExp("^"+vi),PSEUDO:new RegExp("^"+ni),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+u+"*(even|odd|(([+-]|)(\\d*)n|)"+u+"*(?:([+-]|)"+u+"*(\\d+)|))"+u+"*\\)|)","i"),bool:new RegExp("^(?:"+gt+")$","i"),needsContext:new RegExp("^"+u+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+u+"*((?:-\\d)?\\d*)"+u+"*\\)|)(?=[^-]|$)","i")},hr=/^(?:input|select|textarea|button)$/i,cr=/^h\d$/i,st=/^[^{]+\{\s*\[native \w/,lr=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ti=/[+~]/,p=new RegExp("\\\\([\\da-f]{1,6}"+u+"?|("+u+")|.)","ig"),w=function(n,t,i){var r="0x"+t-65536;return r!=r||i?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},yi=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,pi=function(n,t){return t?"\0"===n?"?":n.slice(0,-1)+"\\"+n.charCodeAt(n.length-1).toString(16)+" ":"\\"+n},wi=function(){k()},ar=wt(function(n){return!0===n.disabled},{dir:"parentNode",next:"legend"});try{d.apply(nt=ai.call(l.childNodes),l.childNodes);nt[l.childNodes.length].nodeType}catch(n){d={apply:nt.length?function(n,t){ir.apply(n,ai.call(t))}:function(n,t){for(var i=n.length,r=0;n[i++]=t[r++];);n.length=i-1}}}for(ut in o=f.support={},si=f.isXML=function(n){var t=n&&(n.ownerDocument||n).documentElement;return!!t&&"HTML"!==t.nodeName},k=f.setDocument=function(n){var a,r,f=n?n.ownerDocument||n:l;return f!==i&&9===f.nodeType&&f.documentElement?(h=(i=f).documentElement,c=!si(i),l!==i&&(r=i.defaultView)&&r.top!==r&&(r.addEventListener?r.addEventListener("unload",wi,!1):r.attachEvent&&r.attachEvent("onunload",wi)),o.attributes=v(function(n){return n.className="i",!n.getAttribute("className")}),o.getElementsByTagName=v(function(n){return n.appendChild(i.createComment("")),!n.getElementsByTagName("*").length}),o.getElementsByClassName=st.test(i.getElementsByClassName),o.getById=v(function(n){return h.appendChild(n).id=e,!i.getElementsByName||!i.getElementsByName(e).length}),o.getById?(t.filter.ID=function(n){var t=n.replace(p,w);return function(n){return n.getAttribute("id")===t}},t.find.ID=function(n,t){if(void 0!==t.getElementById&&c){var i=t.getElementById(n);return i?[i]:[]}}):(t.filter.ID=function(n){var t=n.replace(p,w);return function(n){var i=void 0!==n.getAttributeNode&&n.getAttributeNode("id");return i&&i.value===t}},t.find.ID=function(n,t){if(void 0!==t.getElementById&&c){var r,u,f,i=t.getElementById(n);if(i){if((r=i.getAttributeNode("id"))&&r.value===n)return[i];for(f=t.getElementsByName(n),u=0;i=f[u++];)if((r=i.getAttributeNode("id"))&&r.value===n)return[i]}return[]}}),t.find.TAG=o.getElementsByTagName?function(n,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(n):o.qsa?t.querySelectorAll(n):void 0}:function(n,t){var i,r=[],f=0,u=t.getElementsByTagName(n);if("*"===n){for(;i=u[f++];)1===i.nodeType&&r.push(i);return r}return u},t.find.CLASS=o.getElementsByClassName&&function(n,t){if(void 0!==t.getElementsByClassName&&c)return t.getElementsByClassName(n)},g=[],s=[],(o.qsa=st.test(i.querySelectorAll))&&(v(function(n){h.appendChild(n).innerHTML="<a id='"+e+"'><\/a><select id='"+e+"-\r\\' msallowcapture=''><option selected=''><\/option><\/select>";n.querySelectorAll("[msallowcapture^='']").length&&s.push("[*^$]="+u+"*(?:''|\"\")");n.querySelectorAll("[selected]").length||s.push("\\["+u+"*(?:value|"+gt+")");n.querySelectorAll("[id~="+e+"-]").length||s.push("~=");n.querySelectorAll(":checked").length||s.push(":checked");n.querySelectorAll("a#"+e+"+*").length||s.push(".#.+[+~]")}),v(function(n){n.innerHTML="<a href='' disabled='disabled'><\/a><select disabled='disabled'><option/><\/select>";var t=i.createElement("input");t.setAttribute("type","hidden");n.appendChild(t).setAttribute("name","D");n.querySelectorAll("[name=d]").length&&s.push("name"+u+"*[*^$|!~]?=");2!==n.querySelectorAll(":enabled").length&&s.push(":enabled",":disabled");h.appendChild(n).disabled=!0;2!==n.querySelectorAll(":disabled").length&&s.push(":enabled",":disabled");n.querySelectorAll("*,:x");s.push(",.*:")})),(o.matchesSelector=st.test(lt=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&v(function(n){o.disconnectedMatch=lt.call(n,"*");lt.call(n,"[s!='']:x");g.push("!=",ni)}),s=s.length&&new RegExp(s.join("|")),g=g.length&&new RegExp(g.join("|")),a=st.test(h.compareDocumentPosition),ot=a||st.test(h.contains)?function(n,t){var r=9===n.nodeType?n.documentElement:n,i=t&&t.parentNode;return n===i||!(!i||1!==i.nodeType||!(r.contains?r.contains(i):n.compareDocumentPosition&&16&n.compareDocumentPosition(i)))}:function(n,t){if(t)for(;t=t.parentNode;)if(t===n)return!0;return!1},dt=a?function(n,t){if(n===t)return ft=!0,0;var r=!n.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(n.ownerDocument||n)===(t.ownerDocument||t)?n.compareDocumentPosition(t):1)||!o.sortDetached&&t.compareDocumentPosition(n)===r?n===i||n.ownerDocument===l&&ot(l,n)?-1:t===i||t.ownerDocument===l&&ot(l,t)?1:b?tt(b,n)-tt(b,t):0:4&r?-1:1)}:function(n,t){if(n===t)return ft=!0,0;var r,u=0,o=n.parentNode,s=t.parentNode,f=[n],e=[t];if(!o||!s)return n===i?-1:t===i?1:o?-1:s?1:b?tt(b,n)-tt(b,t):0;if(o===s)return bi(n,t);for(r=n;r=r.parentNode;)f.unshift(r);for(r=t;r=r.parentNode;)e.unshift(r);for(;f[u]===e[u];)u++;return u?bi(f[u],e[u]):f[u]===l?-1:e[u]===l?1:0},i):i},f.matches=function(n,t){return f(n,null,null,t)},f.matchesSelector=function(n,t){if((n.ownerDocument||n)!==i&&k(n),t=t.replace(er,"='$1']"),o.matchesSelector&&c&&!at[t+" "]&&(!g||!g.test(t))&&(!s||!s.test(t)))try{var r=lt.call(n,t);if(r||o.disconnectedMatch||n.document&&11!==n.document.nodeType)return r}catch(n){}return f(t,i,null,[n]).length>0},f.contains=function(n,t){return(n.ownerDocument||n)!==i&&k(n),ot(n,t)},f.attr=function(n,u){(n.ownerDocument||n)!==i&&k(n);var e=t.attrHandle[u.toLowerCase()],f=e&&nr.call(t.attrHandle,u.toLowerCase())?e(n,u,!c):r;return f!==r?f:o.attributes||!c?n.getAttribute(u):(f=n.getAttributeNode(u))&&f.specified?f.value:null},f.escape=function(n){return(n+"").replace(yi,pi)},f.error=function(n){throw new Error("Syntax error, unrecognized expression: "+n);},f.uniqueSort=function(n){var r,u=[],t=0,i=0;if(ft=!o.detectDuplicates,b=!o.sortStable&&n.slice(0),n.sort(dt),ft){for(;r=n[i++];)r===n[i]&&(t=u.push(i));for(;t--;)n.splice(u[t],1)}return b=null,n},ht=f.getText=function(n){var r,i="",u=0,t=n.nodeType;if(t){if(1===t||9===t||11===t){if("string"==typeof n.textContent)return n.textContent;for(n=n.firstChild;n;n=n.nextSibling)i+=ht(n)}else if(3===t||4===t)return n.nodeValue}else for(;r=n[u++];)i+=ht(r);return i},(t=f.selectors={cacheLength:50,createPseudo:a,match:yt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(n){return n[1]=n[1].replace(p,w),n[3]=(n[3]||n[4]||n[5]||"").replace(p,w),"~="===n[2]&&(n[3]=" "+n[3]+" "),n.slice(0,4)},CHILD:function(n){return n[1]=n[1].toLowerCase(),"nth"===n[1].slice(0,3)?(n[3]||f.error(n[0]),n[4]=+(n[4]?n[5]+(n[6]||1):2*("even"===n[3]||"odd"===n[3])),n[5]=+(n[7]+n[8]||"odd"===n[3])):n[3]&&f.error(n[0]),n},PSEUDO:function(n){var i,t=!n[6]&&n[2];return yt.CHILD.test(n[0])?null:(n[3]?n[2]=n[4]||n[5]||"":t&&or.test(t)&&(i=et(t,!0))&&(i=t.indexOf(")",t.length-i)-t.length)&&(n[0]=n[0].slice(0,i),n[2]=t.slice(0,i)),n.slice(0,3))}},filter:{TAG:function(n){var t=n.replace(p,w).toLowerCase();return"*"===n?function(){return!0}:function(n){return n.nodeName&&n.nodeName.toLowerCase()===t}},CLASS:function(n){var t=ci[n+" "];return t||(t=new RegExp("(^|"+u+")"+n+"("+u+"|$)"))&&ci(n,function(n){return t.test("string"==typeof n.className&&n.className||void 0!==n.getAttribute&&n.getAttribute("class")||"")})},ATTR:function(n,t,i){return function(r){var u=f.attr(r,n);return null==u?"!="===t:!t||(u+="","="===t?u===i:"!="===t?u!==i:"^="===t?i&&0===u.indexOf(i):"*="===t?i&&u.indexOf(i)>-1:"$="===t?i&&u.slice(-i.length)===i:"~="===t?(" "+u.replace(rr," ")+" ").indexOf(i)>-1:"|="===t&&(u===i||u.slice(0,i.length+1)===i+"-"))}},CHILD:function(n,t,i,r,u){var s="nth"!==n.slice(0,3),o="last"!==n.slice(-4),f="of-type"===t;return 1===r&&0===u?function(n){return!!n.parentNode}:function(t,i,h){var p,d,v,c,a,w,b=s!==o?"nextSibling":"previousSibling",k=t.parentNode,nt=f&&t.nodeName.toLowerCase(),g=!h&&!f,l=!1;if(k){if(s){for(;b;){for(c=t;c=c[b];)if(f?c.nodeName.toLowerCase()===nt:1===c.nodeType)return!1;w=b="only"===n&&!w&&"nextSibling"}return!0}if(w=[o?k.firstChild:k.lastChild],o&&g){for(l=(a=(p=(d=(v=(c=k)[e]||(c[e]={}))[c.uniqueID]||(v[c.uniqueID]={}))[n]||[])[0]===y&&p[1])&&p[2],c=a&&k.childNodes[a];c=++a&&c&&c[b]||(l=a=0)||w.pop();)if(1===c.nodeType&&++l&&c===t){d[n]=[y,a,l];break}}else if(g&&(l=a=(p=(d=(v=(c=t)[e]||(c[e]={}))[c.uniqueID]||(v[c.uniqueID]={}))[n]||[])[0]===y&&p[1]),!1===l)for(;(c=++a&&c&&c[b]||(l=a=0)||w.pop())&&((f?c.nodeName.toLowerCase()!==nt:1!==c.nodeType)||!++l||(g&&((d=(v=c[e]||(c[e]={}))[c.uniqueID]||(v[c.uniqueID]={}))[n]=[y,l]),c!==t)););return(l-=u)===r||l%r==0&&l/r>=0}}},PSEUDO:function(n,i){var u,r=t.pseudos[n]||t.setFilters[n.toLowerCase()]||f.error("unsupported pseudo: "+n);return r[e]?r(i):r.length>1?(u=[n,n,"",i],t.setFilters.hasOwnProperty(n.toLowerCase())?a(function(n,t){for(var e,u=r(n,i),f=u.length;f--;)n[e=tt(n,u[f])]=!(t[e]=u[f])}):function(n){return r(n,0,u)}):r}},pseudos:{not:a(function(n){var t=[],r=[],i=kt(n.replace(vt,"$1"));return i[e]?a(function(n,t,r,u){for(var e,o=i(n,null,u,[]),f=n.length;f--;)(e=o[f])&&(n[f]=!(t[f]=e))}):function(n,u,f){return t[0]=n,i(t,null,f,r),t[0]=null,!r.pop()}}),has:a(function(n){return function(t){return f(n,t).length>0}}),contains:a(function(n){return n=n.replace(p,w),function(t){return(t.textContent||t.innerText||ht(t)).indexOf(n)>-1}}),lang:a(function(n){return sr.test(n||"")||f.error("unsupported lang: "+n),n=n.replace(p,w).toLowerCase(),function(t){var i;do if(i=c?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(i=i.toLowerCase())===n||0===i.indexOf(n+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var i=n.location&&n.location.hash;return i&&i.slice(1)===t.id},root:function(n){return n===h},focus:function(n){return n===i.activeElement&&(!i.hasFocus||i.hasFocus())&&!!(n.type||n.href||~n.tabIndex)},enabled:ki(!1),disabled:ki(!0),checked:function(n){var t=n.nodeName.toLowerCase();return"input"===t&&!!n.checked||"option"===t&&!!n.selected},selected:function(n){return n.parentNode&&n.parentNode.selectedIndex,!0===n.selected},empty:function(n){for(n=n.firstChild;n;n=n.nextSibling)if(n.nodeType<6)return!1;return!0},parent:function(n){return!t.pseudos.empty(n)},header:function(n){return cr.test(n.nodeName)},input:function(n){return hr.test(n.nodeName)},button:function(n){var t=n.nodeName.toLowerCase();return"input"===t&&"button"===n.type||"button"===t},text:function(n){var t;return"input"===n.nodeName.toLowerCase()&&"text"===n.type&&(null==(t=n.getAttribute("type"))||"text"===t.toLowerCase())},first:rt(function(){return[0]}),last:rt(function(n,t){return[t-1]}),eq:rt(function(n,t,i){return[i<0?i+t:i]}),even:rt(function(n,t){for(var i=0;i<t;i+=2)n.push(i);return n}),odd:rt(function(n,t){for(var i=1;i<t;i+=2)n.push(i);return n}),lt:rt(function(n,t,i){for(var r=i<0?i+t:i;--r>=0;)n.push(r);return n}),gt:rt(function(n,t,i){for(var r=i<0?i+t:i;++r<t;)n.push(r);return n})}}).pseudos.nth=t.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})t.pseudos[ut]=vr(ut);for(ut in{submit:!0,reset:!0})t.pseudos[ut]=yr(ut);return di.prototype=t.filters=t.pseudos,t.setFilters=new di,et=f.tokenize=function(n,i){var e,u,s,o,r,h,c,l=li[n+" "];if(l)return i?0:l.slice(0);for(r=n,h=[],c=t.preFilter;r;){for(o in e&&!(u=ur.exec(r))||(u&&(r=r.slice(u[0].length)||r),h.push(s=[])),e=!1,(u=fr.exec(r))&&(e=u.shift(),s.push({value:e,type:u[0].replace(vt," ")}),r=r.slice(e.length)),t.filter)(u=yt[o].exec(r))&&(!c[o]||(u=c[o](u)))&&(e=u.shift(),s.push({value:e,type:o,matches:u}),r=r.slice(e.length));if(!e)break}return i?r.length:r?f.error(n):li(n,h).slice(0)},kt=f.compile=function(n,r){var o,s=[],h=[],u=at[n+" "];if(!u){for(r||(r=et(n)),o=r.length;o--;)(u=oi(r[o]))[e]?s.push(u):h.push(u);(u=at(n,function(n,r){var u=r.length>0,e=n.length>0,o=function(o,s,h,l,a){var v,nt,b,g=0,p="0",tt=o&&[],w=[],it=ct,rt=o||e&&t.find.TAG("*",a),ut=y+=null==it?1:Math.random()||.1,ft=rt.length;for(a&&(ct=s===i||s||a);p!==ft&&null!=(v=rt[p]);p++){if(e&&v){for(nt=0,s||v.ownerDocument===i||(k(v),h=!c);b=n[nt++];)if(b(v,s||i,h)){l.push(v);break}a&&(y=ut)}u&&((v=!b&&v)&&g--,o&&tt.push(v))}if(g+=p,u&&p!==g){for(nt=0;b=r[nt++];)b(tt,w,s,h);if(o){if(g>0)for(;p--;)tt[p]||w[p]||(w[p]=tr.call(l));w=bt(w)}d.apply(l,w);a&&!o&&w.length>0&&g+r.length>1&&f.uniqueSort(l)}return a&&(y=ut,ct=it),tt};return u?a(o):o}(h,s))).selector=n}return u},hi=f.select=function(n,i,r,u){var o,f,e,l,a,h="function"==typeof n&&n,s=!u&&et(n=h.selector||n);if(r=r||[],1===s.length){if((f=s[0]=s[0].slice(0)).length>2&&"ID"===(e=f[0]).type&&9===i.nodeType&&c&&t.relative[f[1].type]){if(!(i=(t.find.ID(e.matches[0].replace(p,w),i)||[])[0]))return r;h&&(i=i.parentNode);n=n.slice(f.shift().value.length)}for(o=yt.needsContext.test(n)?0:f.length;o--&&(e=f[o],!t.relative[l=e.type]);)if((a=t.find[l])&&(u=a(e.matches[0].replace(p,w),ti.test(f[0].type)&&ui(i.parentNode)||i))){if(f.splice(o,1),!(n=u.length&&pt(f)))return d.apply(r,u),r;break}}return(h||kt(n,s))(u,i,!c,r,!i||ti.test(n)&&ui(i.parentNode)||i),r},o.sortStable=e.split("").sort(dt).join("")===e,o.detectDuplicates=!!ft,k(),o.sortDetached=v(function(n){return 1&n.compareDocumentPosition(i.createElement("fieldset"))}),v(function(n){return n.innerHTML="<a href='#'><\/a>","#"===n.firstChild.getAttribute("href")})||ri("type|href|height|width",function(n,t,i){if(!i)return n.getAttribute(t,"type"===t.toLowerCase()?1:2)}),o.attributes&&v(function(n){return n.innerHTML="<input/>",n.firstChild.setAttribute("value",""),""===n.firstChild.getAttribute("value")})||ri("value",function(n,t,i){if(!i&&"input"===n.nodeName.toLowerCase())return n.defaultValue}),v(function(n){return null==n.getAttribute("disabled")})||ri(gt,function(n,t,i){var r;if(!i)return!0===n[t]?t.toLowerCase():(r=n.getAttributeNode(t))&&r.specified?r.value:null}),f}(t),szl:function(n,t,i){var r=this,u=r.sizzle(n,t,i);return u.txt=function(){var n="";return this.length&&r.each(this,function(t,i){var u=r.getText(i);""!=u&&(n+=""!=n?","+u:u)}),n},u.mny=function(){var n="";return this.length&&r.each(this,function(t,i){var u=r.getText(i).replace(/[^0-9\.]/g,"").trim();""!=u&&(n+=""!=n?","+u:u)}),n},u.reg=function(n){var t="";return this.length&&r.each(this,function(i,u){var f=r.getRegex(n,r.getText(u));""!=f&&(t+=""!=t?","+f:f)}),t},u.val=function(){var n="";return this.length&&r.each(this,function(t,i){var u=r.getValue(i);""!=u&&(n+=""!=n?","+u:u)}),n},u.attr=function(n){var t="";return this.length&&r.each(this,function(i,r){if(r.hasAttribute(n)){var u=r.getAttribute(n);""!=u&&(t+=""!=t?","+u:u)}}),t},u.first=function(){return void 0!==this[0]?this[0]:null},u.last=function(){return void 0!==this[this.length-1]?this[this.length-1]:null},u.eq=function(n){return void 0!==this[n]?this[n]:null},u},base64:{_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(n){var o,r,u,s,h,f,t,e="",i=0;for(n=this._utf8_encode(n);i<n.length;)s=(o=n.charCodeAt(i++))>>2,h=(3&o)<<4|(r=n.charCodeAt(i++))>>4,f=(15&r)<<2|(u=n.charCodeAt(i++))>>6,t=63&u,isNaN(r)?f=t=64:isNaN(u)&&(t=64),e=e+this._keyStr.charAt(s)+this._keyStr.charAt(h)+this._keyStr.charAt(f)+this._keyStr.charAt(t);return e},decode:function(n){var u,f,e,o,r,s,i="",t=0;for(n=n.replace(/[^A-Za-z0-9\+\/\=]/g,"");t<n.length;)u=this._keyStr.indexOf(n.charAt(t++))<<2|(o=this._keyStr.indexOf(n.charAt(t++)))>>4,f=(15&o)<<4|(r=this._keyStr.indexOf(n.charAt(t++)))>>2,e=(3&r)<<6|(s=this._keyStr.indexOf(n.charAt(t++))),i+=String.fromCharCode(u),64!=r&&(i+=String.fromCharCode(f)),64!=s&&(i+=String.fromCharCode(e));return this._utf8_decode(i)},_utf8_encode:function(n){var i,r,t;for(n=n.replace(/\r\n/g,"\n"),i="",r=0;r<n.length;r++)t=n.charCodeAt(r),t<128?i+=String.fromCharCode(t):t>127&&t<2048?(i+=String.fromCharCode(t>>6|192),i+=String.fromCharCode(63&t|128)):(i+=String.fromCharCode(t>>12|224),i+=String.fromCharCode(t>>6&63|128),i+=String.fromCharCode(63&t|128));return i},_utf8_decode:function(n){for(var r,f,u="",t=0,i=r=f=0;t<n.length;)(i=n.charCodeAt(t))<128?(u+=String.fromCharCode(i),t++):i>191&&i<224?(r=n.charCodeAt(t+1),u+=String.fromCharCode((31&i)<<6|63&r),t+=2):(r=n.charCodeAt(t+1),f=n.charCodeAt(t+2),u+=String.fromCharCode((15&i)<<12|(63&r)<<6|63&f),t+=3);return u}},docReady:function(){var n=[],u=!1,f=!1,r=function(){if(!u){u=!0;for(var i=0;i<n.length;i++)n[i].fn.call(t,n[i].ctx);n=[]}},e=function(){"complete"===i.readyState&&r()};return function(o,s){u?setTimeout(function(){o(s)},1):(n.push({fn:o,ctx:s}),"complete"===i.readyState||!i.attachEvent&&"interactive"===i.readyState?setTimeout(r,1):f||(i.addEventListener?(i.addEventListener("DOMContentLoaded",r,!1),t.addEventListener("load",r,!1)):(i.attachEvent("onreadystatechange",e),t.attachEvent("onload",r)),f=!0))}}()}},void 0===e[o]?(e[o]=new c(o,e,e.document),Object(h.a)()):e[o].noDupes||e[o].run(),void 0===n.__MGX__){n.__MGX__=n["undefined"==typeof MGXnamespace?"MGX":MGXnamespace];f=n.__MGX__;try{MGX.importDefinition({Info:"Modern Postcard Base - 1.0 cache",Delay:500,EmailParams:{RestrictedValues:["example","support","domain"].concat(MGX.BaseUrl),RestrictedFields:""},NC:!1,SuppressEm:!1,HashEmail:!0,OverrideHost:!0,SingleCookie:!0,Def:{homepage:{identifier:function(){return n.location.pathname=="/"||MGX.stringCheck(n.location.pathname,["/default","/index"])},priority:0,Label:"Category",CategoryId:"0",CategoryName:"Homepage",Canonical:function(){return MGX.getCanonical()}},category:{identifier:function(){return MGX.stringCheck(n.location.pathname,["/c/","/c-","category"])||MGX.szl(".catalog-category-view").length},priority:0,Label:"Category",CategoryId:function(){return n.location.pathname},CategoryName:function(){return t.title},Canonical:function(){return MGX.getCanonical()}},product:{identifier:function(){return MGX.stringCheck(n.location.pathname,["/p/","/p-","product"])||MGX.szl(".catalog-product-view").length},priority:0,Label:"Product",Sku:function(){var n=MGX.sText('.sku:first,#sku,[itemprop="sku"]:first,[itemprop="productID"]:first');return n===""&&(n=MGX.sValue('.sku:first,#sku,[itemprop="sku"]:first,[itemprop="productID"]:first')),MGX.sText('.sku,#sku,[itemprop="sku"],[itemprop="productID"]')},ProductId:function(){return n.location.pathname},ProductName:function(){var n=MGX.sText('[itemprop="name"]:first');return n!==""?n:t.title},ImagePath:function(){return MGX.sSource('[itemprop="image"]:first')},Price:function(){return MGX.sMoney(".price:first")},StockStatus:function(){return MGX.sText("")},Canonical:function(){return MGX.getCanonical()}},cart:{identifier:function(){return MGX.stringCheck(n.location.pathname,["cart","basket"])},priority:1,Label:"PageLoad",postProcess:function(){MGX.HasCart=!0}},checkoutvisit:{identifier:function(){return MGX.stringCheck(MGX.Path,["checkout","onepage"])},priority:2,Label:"PageLoad",postProcess:function(){MGX.HasCart=!0}},checkoutcomplete:{identifier:function(){return MGX.stringCheck(n.location.href,"office-v5.0%2Fthank-you".replace(/\s/g,"").split(","))||MGX.getClientParameter("orderId")!==""&&MGX.getClientParameter("orderTotal")!==""||MGX.getClientParameter("conversion")==="true"},priority:3,Label:"CheckoutComplete",OrderId:function(){var n=MGX.getClientParameter("orderId");return n===""&&(n=MGX.SessionId),n},OrderTotal:function(){var n=MGX.getClientParameter("orderTotal");return n===""&&(n="0"),n}},pageload:{Label:"PageLoad",Title:t.title},addtocart_event:{pages:["homepage","product","category","search","pageload"],type:"click",elements:t,target:function(){var n=MGX.getElementsWith("book,cart,basket,bag","input,button,img");return MGX.getElementsWith("now,add",n)},handler:function(){MGX.commit("action",{Action:"AddToCart",Data:{CartClick:n.location.pathname}})}},click_event:{type:"click",elements:"body",handler:function(n){var i="",t=n.target;t&&(i=(typeof t.tagName=="string"&&t.tagName!==""?t.tagName.toLowerCase():"")+(typeof t.id=="string"&&t.id!=""?"#"+t.id:"")+(typeof t.className=="string"&&t.className!=""?"."+t.className.split(/\s+/).join("."):"")+(typeof t.href=="string"?'[href="'+t.href+'"]':""));MGX.commit("action",{Action:"Click",Data:{Click:i===""?"unknown":i}})}},change_event:{type:"change",elements:"body",handler:function(n){var i="",t=n.target;t&&(i=(typeof t.tagName=="string"&&t.tagName!==""?t.tagName.toLowerCase():"")+(typeof t.id=="string"&&t.id!=""?"#"+t.id:"")+(typeof t.className=="string"&&t.className!=""?"."+t.className.split(/\s+/).join("."):""));MGX.commit("action",{Action:"Change",Data:{Change:i===""?"unknown":i}})}}}});MGX.docReady(function(){MGX.log.add("INFO[docReady]: Dom content has loaded, firing MGX.main",MGX.Debug);MGX.main(MGX.procs)})}catch(l){}if(f.init(),f.extend({send:{homepage:function(){f.reset();f.incrementVisitSequence();f.commit("page",{Label:"Category",CategoryId:"0",CategoryName:"Homepage",Cannonical:f.getCanonical()})},category:function(t,i){f.reset();f.incrementVisitSequence();f.commit("page",{Label:"Category",CategoryId:""!==f.strDefine(t)?t:n.location.pathname,CategoryName:f.strDefine(i),Cannonical:f.getCanonical()})},forgetme:function(){f.commit("page",{Label:"ForgetMe"})},product:function(t,i,r,u,e,o){f.reset();f.incrementVisitSequence();f.commit("page",{Label:"Product",ProductId:""!==f.strDefine(t)?t:n.location.pathname,ProductName:f.strDefine(i),Sku:f.strDefine(r),Price:f.strDefine(u),StockStatus:f.strDefine(e),ImagePath:f.strDefine(o),Cannonical:f.getCanonical()})},cart:function(n,t,i){f.reset();f.incrementVisitSequence();f.commit("page",{Label:"Cart",CartId:f.strDefine(n),OrderTotal:f.strDefine(CartValue),CartItems:f.objDefined(i)?i:[]})},cartitem:function(n,t,i,r,u,e,o,s,h,c){f.commit("page",{Label:"CartItem",CartId:f.strDefine(n),CartValue:f.strDefine(t),ProductId:f.strDefine(i),ProductName:f.strDefine(r),Sku:f.strDefine(u),Quantity:f.strDefine(e),Price:f.strDefine(o),ImageUrl:f.strDefine(s),Attributes:f.strDefine(h),Details:f.strDefine(c)})},checkoutvisit:function(n,t){f.reset();f.incrementVisitSequence();f.commit("page",{Label:"CheckoutVisit",ShippingCost:f.strDefine(n),OrderTotal:f.strDefine(t)})},checkoutcomplete:function(n,t){f.reset();f.incrementVisitSequence();f.commit("page",{Label:"CheckoutComplete",OrderId:f.strDefine(n),OrderTotal:f.strDefine(t)})},search:function(n,t){f.reset();f.incrementVisitSequence();f.commit("page",{Label:"Search",SearchPhrase:f.strDefine(n),ItemCount:f.strDefine(t)})},pageload:function(n){f.reset();f.incrementVisitSequence();f.commit("page",{Label:"PageLoad",ContentType:f.strDefine(n)})},conversion:function(n,t){f.reset();f.incrementVisitSequence();f.commit("page",{Label:"CheckoutComplete",OrderId:f.strDefine(n),OrderTotal:f.strDefine(t)})},action:function(n,t){if(f.isDefined(n)&&f.isDefined(t)){var i={};i[n]=t;f.commit("action",{Action:"ClientAction",Data:i})}},commit:function(n){f.objDefined(n)&&("string"==typeof n.Label&&-1===["action","contact","cartitem"].indexOf(n.Label.toLowerCase())&&(f.reset(),f.incrementVisitSequence()),f.commit(void 0===n.Label||"action"!==n.Label.toLowerCase()?"page":"action",n))}},create:{homepage:function(){return{Label:"Category",CategoryId:"0",CategoryName:"Homepage",Cannonical:f.getCanonical()}},category:function(n,t){return{Label:"Category",CategoryId:f.strDefine(n),CategoryName:f.strDefine(t),Cannonical:f.getCanonical()}},product:function(t,i,r,u,e,o){return{Label:"Product",ProductId:""!==f.strDefine(productId)?productId:n.location.pathname,ProductName:f.strDefine(productName),Sku:f.strDefine(r),Price:f.strDefine(u),StockStatus:f.strDefine(e),ImagePath:f.strDefine(o),Cannonical:f.getCanonical()}},cartitem:function(n,t,i,r,u,e,o,s){return{Label:"CartItem",ProductId:f.strDefine(n),ProductName:f.strDefine(t),Sku:f.strDefine(i),Quantity:f.strDefine(r),Price:f.strDefine(u),ImagePath:f.strDefine(e),Attributes:f.strDefine(o),Details:f.strDefine(s)}},cart:function(n,t,i){return{Label:"Cart",CartId:f.strDefine(n),OrderTotal:f.strDefine(t),CartItems:f.objDefined(i)?i:[]}},checkoutvisit:function(n,t){return{Label:"CheckoutVisit",ShippingCost:f.strDefine(n),OrderTotal:f.strDefine(t)}},checkoutcomplete:function(n,t){return{Label:"CheckoutComplete",OrderId:f.strDefine(n),OrderTotal:f.strDefine(t)}},search:function(n,t){return{Label:"Search",SearchPhrase:f.strDefine(n),ItemCount:f.strDefine(t)}},pageload:function(n){return{Label:"PageLoad",ContentType:f.strDefine(n)}},action:function(n,t){return{Label:"Action",Action:"ClientAction",Data:{type:t}}}}}),n.MGX_API={send:f.send,create:f.create},!f.dl){if(f.dl=!0,n.MGX_DATA=n.MGX_DATA||[],void 0!==n.MGX_DATA)for(;n.MGX_DATA.length;)s=n.MGX_DATA.shift(),"string"==typeof s.Label&&-1===["action","contact","cartitem"].indexOf(s.Label.toLowerCase())&&(f.reset(),f.incrementVisitSequence()),f.commit20(f.CommitType,s);n.MGX_DATA.push=function(n){"string"==typeof n.Label&&-1===["action","contact","cartitem"].indexOf(n.Label.toLowerCase())&&(f.reset(),f.incrementVisitSequence());f.commit20(f.CommitType,n)}}}}])})