;(function() {'use strict';
var _dd = {"targ":{"v":{"geo/cy":"FI","geo/ct":"EU","geo/dm":"i"}}};  var _d =  'A|G|T|conf|wa:ready|rt:spa-states|#init|rt:spa-states-m|js:preboot-eps|wax|dl:key-tr|conductrics_traits|event-queue:sqs-url|https://sqs.us-east-1.amazonaws.com/661082963978/conductrics-30-queue|admin-ui-server:url|https://console-v3.conductrics.com|js:debug-all|qa:v-qa|acc:code|ac-fAklXdWcPi|acc:env|p|rt:tr-ids|a:sd-ttl|targ:traits-agent-max|targ:sl-rate|targ:lookup-url|//api-v3.conductrics.com/ac-fAklXdWcPi/v3/agent-api/resolver|targ:ext-tms|acc:c-dom|US|targ:vid|qa:st-key|c-conductrics-qa|rt:a_codes|rt:g_codes|diag|module|root|items|entry|wax-pre|wa-entry|group|pre|features-profile|types|conds|mdn_only|api|api-steps|diags|flow|f-OZdNwLEeFD|acc|c|k|api-BBVMJySjXBhVratrxyse|rt|s|https:////api-v3.conductrics.com/ac-fAklXdWcPi/v3/agent-api/js/f-OZdNwLEeFD/dt-KMcFZ8tDyqfL1rUZS7jxuZZj2HQK3l?apikey=api-BBVMJySjXBhVratrxyse|ts|tt|geo/dm|ua/os|ua/br|ua/mo|dt/wp|cust/source|ds|b|mvt|v|3.6.2|0311.3|m|d|dt-KMcFZ8tDyqfL1rUZS7jxuZZj2HQK3l^1JK00|6Y|1|1JK|Q754VM|Q754V4^^$0|$]|1|$]|2|$]|3|$4|-3|5|@6]|7|@]|8|@9]|A|B|C|D|E|F|G|-2|H|-5|I|J|K|L|M|$]|N|26|O|27|P|28|Q|R|S|29|T|@U]|V|-5|W|X|Y|@]|Z|@]]|10|$11|12|13|@$11|14|14|15|13|@]]|$11|14|14|9|13|@$11|16|13|@$11|17|17|18|13|@$11|19|1A|@]|13|@]]]]]|1B|@]|1C|-1]]]|$11|14|14|1D|13|@$11|1E|13|@$11|17|17|18|13|@$11|19|1A|@]|13|@]]]]]|1F|$]]]]]|1G|1H]|1I|$1J|J|1K|@1L]]|1M|$1N|1O|L|-2|1P|2A|1Q|@1R|1S|1T|1U|1V|1W]|1X|1Y]|1Z|-3|20|$20|21|1Y|22|23|2B|24|25]]';   var _wa_js = {  }; // var console = (window && window.console) || {log: function(s) {}};
if (!Array.isArray) {Array.isArray = function(arg) {return Object.prototype.toString.call(arg) === '[object Array]'}};
if (!String.prototype.trim) {String.prototype.trim = function () {return this.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, '')}};
if (!Array.prototype.filter) {Array.prototype.filter = function(fn) { res = []; for (var i = 0; i < this.length; i++) { v = this[i]; if ( fn(v) ) { res.push(v); }} return res; }}
if (!Array.prototype.map) {Array.prototype.map = function(fn) { res = []; for (var i = 0; i < this.length; i++) { v = this[i]; res.push(fn(v)); } return res; }}
if (!Object.keys) {Object.keys = function(o) { var ar = []; for (var k in o) {ar.push(k)}; return ar; }}
if (!Object.assign) {Object.assign = function(r){for(var n=1;n<arguments.length;n++){var a=arguments[n];for(var f in a)r[f]=a[f]}return r};}  var require = undefined; var define = undefined; require=(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({"./modules/api-steps":[function(require,module,exports){
(function(){var t,e=function(t,e){function s(){this.constructor=t}for(var n in e)o.call(e,n)&&(t[n]=e[n]);return s.prototype=e.prototype,t.prototype=new s,t.__super__=e.prototype,t},o={}.hasOwnProperty;t=require("../diagrams").M,exports.m=function(t){function o(conf){this.conf=conf}return e(o,t),o.prototype.process=function(t,e){var o,s,n,r,i,l,u,p,c,m,a,f;if(f=null!=(l=null!=(u=t.steps)?u:e.r.steps)?l:[],f.length>0){for(null==t.items&&(t.items=[]),null==t._items&&(t._items=t.items.concat()),s={module:"group",items:[]},n=0,r=f.length;r>n;n++)a=f[n],s.items.push({module:"step-set",step:a}),o=t.diags[null!=(p=null!=(c=a.a)?c:a.g)?p:a.t],null!=o&&s.items.push(o);i=0,"pre"!==(null!=(m=t._items[i])?m.group:void 0)&&!0&&e.log("No prelude!"),t.items=t._items.concat(),t.items.splice(i+1,0,s)}},o}(t)}).call(this);
},{"../diagrams":11}],"./modules/decision":[function(require,module,exports){
(function(){var r,t=function(r,t){function n(){this.constructor=r}for(var e in t)o.call(t,e)&&(r[e]=t[e]);return n.prototype=t.prototype,r.prototype=new n,r.__super__=t.prototype,r},o={}.hasOwnProperty;r=require("../diagrams").M,exports.m=function(r){function o(){return o.__super__.constructor.apply(this,arguments)}return t(o,r),o}(r)}).call(this);
},{"../diagrams":11}],"./modules/entry":[function(require,module,exports){
(function(){var t,r=function(t,r){function o(){this.constructor=t}for(var e in r)n.call(r,e)&&(t[e]=r[e]);return o.prototype=r.prototype,t.prototype=new o,t.__super__=r.prototype,t},n={}.hasOwnProperty;t=require("../diagrams").M,exports.m=function(t){function n(){return n.__super__.constructor.apply(this,arguments)}return r(n,t),n.prototype.active=function(t,r){return r.data["d.ep"]===t.entry},n}(t)}).call(this);
},{"../diagrams":11}],"./modules/features-profile":[function(require,module,exports){
arguments[4]["./modules/decision"][0].apply(exports,arguments)
},{"../diagrams":11,"dup":"./modules/decision"}],"./modules/group":[function(require,module,exports){
arguments[4]["./modules/decision"][0].apply(exports,arguments)
},{"../diagrams":11,"dup":"./modules/decision"}],"./modules/reward":[function(require,module,exports){
(function(){var e,r,t,o=function(e,r){function t(){this.constructor=e}for(var o in r)a.call(r,o)&&(e[o]=r[o]);return t.prototype=r.prototype,e.prototype=new t,e.__super__=r.prototype,e},a={}.hasOwnProperty;e=require("../diagrams").M,t=require("../../../utils"),r=require("../../../rewards"),exports.m=function(e){function a(conf){this.conf=conf,this.rewarder=new r.Rewarder(this.conf),a.__super__.constructor.call(this,this.conf)}return o(a,e),a.prototype.process=function(e,r){var o,a,n,s,u,l,i,c,p,f;if(null==r.sess)throw"No session";for(r.reread(),f={goal:e.goal,value:function(){var t;switch(!1){case!((null!=(t=r.step)?t.g:void 0)===e.goal&&"number"==typeof r.step.v):return r.step.v;default:return parseFloat(e.value)}}(),agents:null!=(u=e.to)?u:null!=(l=r.step)?l.to:void 0},s={countMax:e.countMax,valueMin:e.valueMin,valueMax:e.valueMax,valueDef:e.valueDef,rw:e.rw},c=this.rewarder.handleStep(r,f,s),0===c.items.length&&r.log("No agents to reward for "+e.goal),p={g:e.goal,rs:[]},i=c.items,o=0,n=i.length;n>o;o++)a=i[o],null!=a&&(r.log("Reward of "+f.value+" ("+a.v+" accepted) to agent "+a.a+" for goal "+a.g),a=t.Obj.extend({},a,{t:"r",rts:t.Dates.stamp(),c:function(){switch(!1){case!Array.isArray(a.c):return a.c.join(",");default:return a.c}}(),s:void 0}),r.done(a),p.rs.push({a:a.a.split(":")[1],v:a.v}));return r.resp(p)},a}(e)}).call(this);
},{"../../../rewards":7,"../../../utils":15,"../diagrams":11}],"./modules/root":[function(require,module,exports){
arguments[4]["./modules/decision"][0].apply(exports,arguments)
},{"../diagrams":11,"dup":"./modules/decision"}],"./modules/step-set":[function(require,module,exports){
(function(){var t,r=function(t,r){function n(){this.constructor=t}for(var e in r)o.call(r,e)&&(t[e]=r[e]);return n.prototype=r.prototype,t.prototype=new n,t.__super__=r.prototype,t},o={}.hasOwnProperty;t=require("../diagrams").M,exports.m=function(t){function o(){return o.__super__.constructor.apply(this,arguments)}return r(o,t),o.prototype.process=function(t,r){r.stepSet(t.step)},o}(t)}).call(this);
},{"../diagrams":11}],"./modules/wa-entry":[function(require,module,exports){
(function(){var r,t=function(r,t){function n(){this.constructor=r}for(var e in t)o.call(t,e)&&(r[e]=t[e]);return n.prototype=t.prototype,r.prototype=new n,r.__super__=t.prototype,r},o={}.hasOwnProperty;r=require("../diagrams").M,exports.m=function(r){function o(){return o.__super__.constructor.apply(this,arguments)}return t(o,r),o.prototype.active=function(r,t){var o;return r.mdn_only&&"m"!==(o=t.mdn())?(t.log("Stopping because 'modern' browser features not available ("+o+")"),!1):!0},o}(r)}).call(this);
},{"../diagrams":11}],"./plugins/cust":[function(require,module,exports){
(function(){var t,n=function(t,n){function r(){this.constructor=t}for(var e in n)o.call(n,e)&&(t[e]=n[e]);return r.prototype=n.prototype,t.prototype=new r,t.__super__=n.prototype,t},o={}.hasOwnProperty;t=require("../targeting"),exports.p=function(t){function o(conf){this.conf=conf}return n(o,t),o.ns="cust",o.modes=["b"],o.prototype.resolve=function(t,n,o){return o(!1,null)},o}(t.Plugin)}).call(this);
},{"../targeting":14}],"./plugins/dt":[function(require,module,exports){
(function(){var t,r,o=function(t,r){function o(){this.constructor=t}for(var n in r)e.call(r,n)&&(t[n]=r[n]);return o.prototype=r.prototype,t.prototype=new o,t.__super__=r.prototype,t},e={}.hasOwnProperty;t=require("../targeting"),r=require("../dt-resolve")._resolve,exports.p=function(t){function e(conf){this.conf=conf}return o(e,t),e.ns="dt",e.modes=["s","b"],e.prototype.resolve=function(t,o,e){var n;return n=r(o,t.data["v.ts"],t.data["v.tzo"]),e(!1,n)},e}(t.Plugin)}).call(this);
},{"../dt-resolve":12,"../targeting":14}],"./plugins/geo":[function(require,module,exports){
(function(){var t,o=function(t,o){function r(){this.constructor=t}for(var e in o)n.call(o,e)&&(t[e]=o[e]);return r.prototype=o.prototype,t.prototype=new r,t.__super__=o.prototype,t},n={}.hasOwnProperty;t=require("../targeting"),exports.p=function(t){function n(conf){this.conf=conf}return o(n,t),n.ns="geo",n.modes=["b","s"],n.prototype.resolve=function(t,o,n){return n(!1,null)},n}(t.Plugin)}).call(this);
},{"../targeting":14}],"./plugins/ua":[function(require,module,exports){
(function(){var e,r,t=function(e,r){function t(){this.constructor=e}for(var n in r)a.call(r,n)&&(e[n]=r[n]);return t.prototype=r.prototype,e.prototype=new t,e.__super__=r.prototype,e},a={}.hasOwnProperty;r=require("ua-parser-js"),e=require("../targeting"),exports.p=function(e){function a(conf){this.conf=conf}return t(a,e),a.ns="ua",a.modes=["s","b"],a.prototype.resolve=function(e,t,a){var n,s,c,o,u,i;return null==(u=null!=(c=e.data["v.ua"])?c:null!=(o=e.r)?o.ua:void 0)?a(!1):(n=new r(u),s=n.getResult(),i=function(){switch(t){case"os":switch(s.os.name){case"Android":return"a";case"Blackberry":return"b";case"iOS":return"i";case"Mac OS":return"m";case"Windows":case"Windows Phone":case"Windows Mobile":return"w";default:return"o"}break;case"br":switch(s.browser.name){case"Chrome":return"c";case"Firefox":return"f";case"Safari":case"Mobile Safari":return"s";case"IE":case"IEMobile":case"Edge":return"i";default:return"o"}break;case"dv":switch(s.device.type){case"mobile":return"m";case"tablet":return"t";case void 0:case null:case"":return"d";default:return"o"}break;case"mo":switch(s.device.type){case"mobile":case"tablet":return"m";default:return"n"}break;case"vi":return e.mdn()}}(),a(!1,i))},a}(e.Plugin)}).call(this);
},{"../targeting":14,"ua-parser-js":6}],1:[function(require,module,exports){
(function(){exports.Bots=function(){function t(conf){this.conf=conf}var n;return t.prototype.detect=function(t){var r,o,e,i;if(!((null!=t?t.length:void 0)>0))return null;for(t=t.toLowerCase(),e=n(),r=0,o=e.length;o>r;r++)if(i=e[r],t.indexOf(i)>=0)return i;return null},n=function(){return["bot","spider","crawler","search","track","ping","monitor","google","twitter","yahoo","bing","akamai","y!j"]},t}()}).call(this);
},{}],2:[function(require,module,exports){
(function(){var n;n=exports,require("./data"),n.merged=function(n){return null==n&&(n=[]),_d.conf}}).call(this);
},{"./data":3}],3:[function(require,module,exports){
(function(){var c,t;if("string"==typeof _d)try{t=require,c=t("jsonpack"),_d=c.unpack(_d)}catch(a){}}).call(this);
},{}],4:[function(require,module,exports){

},{}],5:[function(require,module,exports){
function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}function runTimeout(e){if(cachedSetTimeout===setTimeout)return setTimeout(e,0);if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout)return cachedSetTimeout=setTimeout,setTimeout(e,0);try{return cachedSetTimeout(e,0)}catch(t){try{return cachedSetTimeout.call(null,e,0)}catch(t){return cachedSetTimeout.call(this,e,0)}}}function runClearTimeout(e){if(cachedClearTimeout===clearTimeout)return clearTimeout(e);if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout)return cachedClearTimeout=clearTimeout,clearTimeout(e);try{return cachedClearTimeout(e)}catch(t){try{return cachedClearTimeout.call(null,e)}catch(t){return cachedClearTimeout.call(this,e)}}}function cleanUpNextTick(){draining&&currentQueue&&(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var e=runTimeout(cleanUpNextTick);draining=!0;for(var t=queue.length;t;){for(currentQueue=queue,queue=[];++queueIndex<t;)currentQueue&&currentQueue[queueIndex].run();queueIndex=-1,t=queue.length}currentQueue=null,draining=!1,runClearTimeout(e)}}function Item(e,t){this.fun=e,this.array=t}function noop(){}var process=module.exports={},cachedSetTimeout,cachedClearTimeout;!function(){try{cachedSetTimeout="function"==typeof setTimeout?setTimeout:defaultSetTimout}catch(e){cachedSetTimeout=defaultSetTimout}try{cachedClearTimeout="function"==typeof clearTimeout?clearTimeout:defaultClearTimeout}catch(e){cachedClearTimeout=defaultClearTimeout}}();var queue=[],draining=!1,currentQueue,queueIndex=-1;process.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];queue.push(new Item(e,t)),1!==queue.length||draining||runTimeout(drainQueue)},Item.prototype.run=function(){this.fun.apply(null,this.array)},process.title="browser",process.browser=!0,process.env={},process.argv=[],process.version="",process.versions={},process.on=noop,process.addListener=noop,process.once=noop,process.off=noop,process.removeListener=noop,process.removeAllListeners=noop,process.emit=noop,process.prependListener=noop,process.prependOnceListener=noop,process.listeners=function(e){return[]},process.binding=function(e){throw new Error("process.binding is not supported")},process.cwd=function(){return"/"},process.chdir=function(e){throw new Error("process.chdir is not supported")},process.umask=function(){return 0};
},{}],6:[function(require,module,exports){
!function(i,s){"use strict";var e="0.7.20",o="",r="?",n="function",a="undefined",d="object",t="string",l="major",w="model",u="name",c="type",m="vendor",b="version",p="architecture",f="console",g="mobile",h="tablet",v="smarttv",x="wearable",k="embedded",y={extend:function(i,s){var e={};for(var o in i)s[o]&&s[o].length%2===0?e[o]=s[o].concat(i[o]):e[o]=i[o];return e},has:function(i,s){return"string"==typeof i?-1!==s.toLowerCase().indexOf(i.toLowerCase()):!1},lowerize:function(i){return i.toLowerCase()},major:function(i){return typeof i===t?i.replace(/[^\d\.]/g,"").split(".")[0]:s},trim:function(i){return i.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},T={rgx:function(i,e){for(var o,r,a,t,l,w,u=0;u<e.length&&!l;){var c=e[u],m=e[u+1];for(o=r=0;o<c.length&&!l;)if(l=c[o++].exec(i))for(a=0;a<m.length;a++)w=l[++r],t=m[a],typeof t===d&&t.length>0?2==t.length?typeof t[1]==n?this[t[0]]=t[1].call(this,w):this[t[0]]=t[1]:3==t.length?typeof t[1]!==n||t[1].exec&&t[1].test?this[t[0]]=w?w.replace(t[1],t[2]):s:this[t[0]]=w?t[1].call(this,w,t[2]):s:4==t.length&&(this[t[0]]=w?t[3].call(this,w.replace(t[1],t[2])):s):this[t]=w?w:s;u+=2}},str:function(i,e){for(var o in e)if(typeof e[o]===d&&e[o].length>0){for(var n=0;n<e[o].length;n++)if(y.has(e[o][n],i))return o===r?s:o}else if(y.has(e[o],i))return o===r?s:o;return i}},E={browser:{oldsafari:{version:{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}}},device:{amazon:{model:{"Fire Phone":["SD","KF"]}},sprint:{model:{"Evo Shift 4G":"7373KT"},vendor:{HTC:"APA",Sprint:"Sprint"}}},os:{windows:{version:{ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"}}}},S={browser:[[/(opera\smini)\/([\w\.-]+)/i,/(opera\s[mobiletab]+).+version\/([\w\.-]+)/i,/(opera).+version\/([\w\.]+)/i,/(opera)[\/\s]+([\w\.]+)/i],[u,b],[/(opios)[\/\s]+([\w\.]+)/i],[[u,"Opera Mini"],b],[/\s(opr)\/([\w\.]+)/i],[[u,"Opera"],b],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]*)/i,/(avant\s|iemobile|slim|baidu)(?:browser)?[\/\s]?([\w\.]*)/i,/(?:ms|\()(ie)\s([\w\.]+)/i,/(rekonq)\/([\w\.]*)/i,/(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon)\/([\w\.-]+)/i],[u,b],[/(konqueror)\/([\w\.]+)/i],[[u,"Konqueror"],b],[/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i],[[u,"IE"],b],[/(edge|edgios|edga|edg)\/((\d+)?[\w\.]+)/i],[[u,"Edge"],b],[/(yabrowser)\/([\w\.]+)/i],[[u,"Yandex"],b],[/(puffin)\/([\w\.]+)/i],[[u,"Puffin"],b],[/(focus)\/([\w\.]+)/i],[[u,"Firefox Focus"],b],[/(opt)\/([\w\.]+)/i],[[u,"Opera Touch"],b],[/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i],[[u,"UCBrowser"],b],[/(comodo_dragon)\/([\w\.]+)/i],[[u,/_/g," "],b],[/(windowswechat qbcore)\/([\w\.]+)/i],[[u,"WeChat(Win) Desktop"],b],[/(micromessenger)\/([\w\.]+)/i],[[u,"WeChat"],b],[/(brave)\/([\w\.]+)/i],[[u,"Brave"],b],[/(qqbrowserlite)\/([\w\.]+)/i],[u,b],[/(QQ)\/([\d\.]+)/i],[u,b],[/m?(qqbrowser)[\/\s]?([\w\.]+)/i],[u,b],[/(BIDUBrowser)[\/\s]?([\w\.]+)/i],[u,b],[/(2345Explorer)[\/\s]?([\w\.]+)/i],[u,b],[/(MetaSr)[\/\s]?([\w\.]+)/i],[u],[/(LBBROWSER)/i],[u],[/xiaomi\/miuibrowser\/([\w\.]+)/i],[b,[u,"MIUI Browser"]],[/;fbav\/([\w\.]+);/i],[b,[u,"Facebook"]],[/safari\s(line)\/([\w\.]+)/i,/android.+(line)\/([\w\.]+)\/iab/i],[u,b],[/headlesschrome(?:\/([\w\.]+)|\s)/i],[b,[u,"Chrome Headless"]],[/\swv\).+(chrome)\/([\w\.]+)/i],[[u,/(.+)/,"$1 WebView"],b],[/((?:oculus|samsung)browser)\/([\w\.]+)/i],[[u,/(.+(?:g|us))(.+)/,"$1 $2"],b],[/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i],[b,[u,"Android Browser"]],[/(sailfishbrowser)\/([\w\.]+)/i],[[u,"Sailfish Browser"],b],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i],[u,b],[/(dolfin)\/([\w\.]+)/i],[[u,"Dolphin"],b],[/((?:android.+)crmo|crios)\/([\w\.]+)/i],[[u,"Chrome"],b],[/(coast)\/([\w\.]+)/i],[[u,"Opera Coast"],b],[/fxios\/([\w\.-]+)/i],[b,[u,"Firefox"]],[/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i],[b,[u,"Mobile Safari"]],[/version\/([\w\.]+).+?(mobile\s?safari|safari)/i],[b,u],[/webkit.+?(gsa)\/([\w\.]+).+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[[u,"GSA"],b],[/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[u,[b,T.str,E.browser.oldsafari.version]],[/(webkit|khtml)\/([\w\.]+)/i],[u,b],[/(navigator|netscape)\/([\w\.-]+)/i],[[u,"Netscape"],b],[/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i,/(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([\w\.-]+)$/i,/(mozilla)\/([\w\.]+).+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i,/(links)\s\(([\w\.]+)/i,/(gobrowser)\/?([\w\.]*)/i,/(ice\s?browser)\/v?([\w\._]+)/i,/(mosaic)[\/\s]([\w\.]+)/i],[u,b]],cpu:[[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i],[[p,"amd64"]],[/(ia32(?=;))/i],[[p,y.lowerize]],[/((?:i[346]|x)86)[;\)]/i],[[p,"ia32"]],[/windows\s(ce|mobile);\sppc;/i],[[p,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],[[p,/ower/,"",y.lowerize]],[/(sun4\w)[;\)]/i],[[p,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+[;l]))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i],[[p,y.lowerize]]],device:[[/\((ipad|playbook);[\w\s\),;-]+(rim|apple)/i],[w,m,[c,h]],[/applecoremedia\/[\w\.]+ \((ipad)/],[w,[m,"Apple"],[c,h]],[/(apple\s{0,1}tv)/i],[[w,"Apple TV"],[m,"Apple"]],[/(archos)\s(gamepad2?)/i,/(hp).+(touchpad)/i,/(hp).+(tablet)/i,/(kindle)\/([\w\.]+)/i,/\s(nook)[\w\s]+build\/(\w+)/i,/(dell)\s(strea[kpr\s\d]*[\dko])/i],[m,w,[c,h]],[/(kf[A-z]+)\sbuild\/.+silk\//i],[w,[m,"Amazon"],[c,h]],[/(sd|kf)[0349hijorstuw]+\sbuild\/.+silk\//i],[[w,T.str,E.device.amazon.model],[m,"Amazon"],[c,g]],[/android.+aft([bms])\sbuild/i],[w,[m,"Amazon"],[c,v]],[/\((ip[honed|\s\w*]+);.+(apple)/i],[w,m,[c,g]],[/\((ip[honed|\s\w*]+);/i],[w,[m,"Apple"],[c,g]],[/(blackberry)[\s-]?(\w+)/i,/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]*)/i,/(hp)\s([\w\s]+\w)/i,/(asus)-?(\w+)/i],[m,w,[c,g]],[/\(bb10;\s(\w+)/i],[w,[m,"BlackBerry"],[c,g]],[/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone|p00c)/i],[w,[m,"Asus"],[c,h]],[/(sony)\s(tablet\s[ps])\sbuild\//i,/(sony)?(?:sgp.+)\sbuild\//i],[[m,"Sony"],[w,"Xperia Tablet"],[c,h]],[/android.+\s([c-g]\d{4}|so[-l]\w+)(?=\sbuild\/|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[w,[m,"Sony"],[c,g]],[/\s(ouya)\s/i,/(nintendo)\s([wids3u]+)/i],[m,w,[c,f]],[/android.+;\s(shield)\sbuild/i],[w,[m,"Nvidia"],[c,f]],[/(playstation\s[34portablevi]+)/i],[w,[m,"Sony"],[c,f]],[/(sprint\s(\w+))/i],[[m,T.str,E.device.sprint.vendor],[w,T.str,E.device.sprint.model],[c,g]],[/(htc)[;_\s-]+([\w\s]+(?=\)|\sbuild)|\w+)/i,/(zte)-(\w*)/i,/(alcatel|geeksphone|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]*)/i],[m,[w,/_/g," "],[c,g]],[/(nexus\s9)/i],[w,[m,"HTC"],[c,h]],[/d\/huawei([\w\s-]+)[;\)]/i,/(nexus\s6p)/i],[w,[m,"Huawei"],[c,g]],[/(microsoft);\s(lumia[\s\w]+)/i],[m,w,[c,g]],[/[\s\(;](xbox(?:\sone)?)[\s\);]/i],[w,[m,"Microsoft"],[c,f]],[/(kin\.[onetw]{3})/i],[[w,/\./g," "],[m,"Microsoft"],[c,g]],[/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?:?(\s4g)?)[\w\s]+build\//i,/mot[\s-]?(\w*)/i,/(XT\d{3,4}) build\//i,/(nexus\s6)/i],[w,[m,"Motorola"],[c,g]],[/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i],[w,[m,"Motorola"],[c,h]],[/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i],[[m,y.trim],[w,y.trim],[c,v]],[/hbbtv.+maple;(\d+)/i],[[w,/^/,"SmartTV"],[m,"Samsung"],[c,v]],[/\(dtv[\);].+(aquos)/i],[w,[m,"Sharp"],[c,v]],[/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n\d+|sgh-t8[56]9|nexus 10))/i,/((SM-T\w+))/i],[[m,"Samsung"],w,[c,h]],[/smart-tv.+(samsung)/i],[m,[c,v],w],[/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i,/(sam[sung]*)[\s-]*(\w+-?[\w-]*)/i,/sec-((sgh\w+))/i],[[m,"Samsung"],w,[c,g]],[/sie-(\w*)/i],[w,[m,"Siemens"],[c,g]],[/(maemo|nokia).*(n900|lumia\s\d+)/i,/(nokia)[\s_-]?([\w-]*)/i],[[m,"Nokia"],w,[c,g]],[/android[x\d\.\s;]+\s([ab][1-7]\-?[0178a]\d\d?)/i],[w,[m,"Acer"],[c,h]],[/android.+([vl]k\-?\d{3})\s+build/i],[w,[m,"LG"],[c,h]],[/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i],[[m,"LG"],w,[c,h]],[/(lg) netcast\.tv/i],[m,w,[c,v]],[/(nexus\s[45])/i,/lg[e;\s\/-]+(\w*)/i,/android.+lg(\-?[\d\w]+)\s+build/i],[w,[m,"LG"],[c,g]],[/(lenovo)\s?(s(?:5000|6000)(?:[\w-]+)|tab(?:[\s\w]+))/i],[m,w,[c,h]],[/android.+(ideatab[a-z0-9\-\s]+)/i],[w,[m,"Lenovo"],[c,h]],[/(lenovo)[_\s-]?([\w-]+)/i],[m,w,[c,g]],[/linux;.+((jolla));/i],[m,w,[c,g]],[/((pebble))app\/[\d\.]+\s/i],[m,w,[c,x]],[/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i],[m,w,[c,g]],[/crkey/i],[[w,"Chromecast"],[m,"Google"]],[/android.+;\s(glass)\s\d/i],[w,[m,"Google"],[c,x]],[/android.+;\s(pixel c)[\s)]/i],[w,[m,"Google"],[c,h]],[/android.+;\s(pixel( [23])?( xl)?)[\s)]/i],[w,[m,"Google"],[c,g]],[/android.+;\s(\w+)\s+build\/hm\1/i,/android.+(hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i,/android.+(mi[\s\-_]*(?:a\d|one|one[\s_]plus|note lte)?[\s_]*(?:\d?\w?)[\s_]*(?:plus)?)\s+build/i,/android.+(redmi[\s\-_]*(?:note)?(?:[\s_]*[\w\s]+))\s+build/i],[[w,/_/g," "],[m,"Xiaomi"],[c,g]],[/android.+(mi[\s\-_]*(?:pad)(?:[\s_]*[\w\s]+))\s+build/i],[[w,/_/g," "],[m,"Xiaomi"],[c,h]],[/android.+;\s(m[1-5]\snote)\sbuild/i],[w,[m,"Meizu"],[c,g]],[/(mz)-([\w-]{2,})/i],[[m,"Meizu"],w,[c,g]],[/android.+a000(1)\s+build/i,/android.+oneplus\s(a\d{4})\s+build/i],[w,[m,"OnePlus"],[c,g]],[/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i],[w,[m,"RCA"],[c,h]],[/android.+[;\/\s]+(Venue[\d\s]{2,7})\s+build/i],[w,[m,"Dell"],[c,h]],[/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i],[w,[m,"Verizon"],[c,h]],[/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i],[[m,"Barnes & Noble"],w,[c,h]],[/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i],[w,[m,"NuVision"],[c,h]],[/android.+;\s(k88)\sbuild/i],[w,[m,"ZTE"],[c,h]],[/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i],[w,[m,"Swiss"],[c,g]],[/android.+[;\/]\s*(zur\d{3})\s+build/i],[w,[m,"Swiss"],[c,h]],[/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i],[w,[m,"Zeki"],[c,h]],[/(android).+[;\/]\s+([YR]\d{2})\s+build/i,/android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(\w{5})\sbuild/i],[[m,"Dragon Touch"],w,[c,h]],[/android.+[;\/]\s*(NS-?\w{0,9})\sbuild/i],[w,[m,"Insignia"],[c,h]],[/android.+[;\/]\s*((NX|Next)-?\w{0,9})\s+build/i],[w,[m,"NextBook"],[c,h]],[/android.+[;\/]\s*(Xtreme\_)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i],[[m,"Voice"],w,[c,g]],[/android.+[;\/]\s*(LVTEL\-)?(V1[12])\s+build/i],[[m,"LvTel"],w,[c,g]],[/android.+;\s(PH-1)\s/i],[w,[m,"Essential"],[c,g]],[/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i],[w,[m,"Envizen"],[c,h]],[/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(\w{1,9})\s+build/i],[m,w,[c,h]],[/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i],[w,[m,"MachSpeed"],[c,h]],[/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i],[m,w,[c,h]],[/android.+[;\/]\s*TU_(1491)\s+build/i],[w,[m,"Rotor"],[c,h]],[/android.+(KS(.+))\s+build/i],[w,[m,"Amazon"],[c,h]],[/android.+(Gigaset)[\s\-]+(Q\w{1,9})\s+build/i],[m,w,[c,h]],[/\s(tablet|tab)[;\/]/i,/\s(mobile)(?:[;\/]|\ssafari)/i],[[c,y.lowerize],m,w],[/[\s\/\(](smart-?tv)[;\)]/i],[[c,v]],[/(android[\w\.\s\-]{0,9});.+build/i],[w,[m,"Generic"]]],engine:[[/windows.+\sedge\/([\w\.]+)/i],[b,[u,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)/i],[[u,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i,/(icab)[\/\s]([23]\.[\d\.]+)/i],[u,b],[/rv\:([\w\.]{1,9}).+(gecko)/i],[b,u]],os:[[/microsoft\s(windows)\s(vista|xp)/i],[u,b],[/(windows)\snt\s6\.2;\s(arm)/i,/(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s\w]*)/i,/(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i],[u,[b,T.str,E.os.windows.version]],[/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],[[u,"Windows"],[b,T.str,E.os.windows.version]],[/\((bb)(10);/i],[[u,"BlackBerry"],b],[/(blackberry)\w*\/?([\w\.]*)/i,/(tizen)[\/\s]([\w\.]+)/i,/(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|sailfish|contiki)[\/\s-]?([\w\.]*)/i],[u,b],[/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]*)/i],[[u,"Symbian"],b],[/\((series40);/i],[u],[/mozilla.+\(mobile;.+gecko.+firefox/i],[[u,"Firefox OS"],b],[/(nintendo|playstation)\s([wids34portablevu]+)/i,/(mint)[\/\s\(]?(\w*)/i,/(mageia|vectorlinux)[;\s]/i,/(joli|[kxln]?ubuntu|debian|suse|opensuse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?(?!chrom)([\w\.-]*)/i,/(hurd|linux)\s?([\w\.]*)/i,/(gnu)\s?([\w\.]*)/i],[u,b],[/(cros)\s[\w]+\s([\w\.]+\w)/i],[[u,"Chromium OS"],b],[/(sunos)\s?([\w\.\d]*)/i],[[u,"Solaris"],b],[/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]*)/i],[u,b],[/(haiku)\s(\w+)/i],[u,b],[/cfnetwork\/.+darwin/i,/ip[honead]{2,4}(?:.*os\s([\w]+)\slike\smac|;\sopera)/i],[[b,/_/g,"."],[u,"iOS"]],[/(mac\sos\sx)\s?([\w\s\.]*)/i,/(macintosh|mac(?=_powerpc)\s)/i],[[u,"Mac OS"],[b,/_/g,"."]],[/((?:open)?solaris)[\/\s-]?([\w\.]*)/i,/(aix)\s((\d)(?=\.|\)|\s)[\w\.])*/i,/(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms|fuchsia)/i,/(unix)\s?([\w\.]*)/i],[u,b]]},A=function(e,r){if("object"==typeof e&&(r=e,e=s),!(this instanceof A))return new A(e,r).getResult();var n=e||(i&&i.navigator&&i.navigator.userAgent?i.navigator.userAgent:o),a=r?y.extend(S,r):S;return this.getBrowser=function(){var i={name:s,version:s};return T.rgx.call(i,n,a.browser),i.major=y.major(i.version),i},this.getCPU=function(){var i={architecture:s};return T.rgx.call(i,n,a.cpu),i},this.getDevice=function(){var i={vendor:s,model:s,type:s};return T.rgx.call(i,n,a.device),i},this.getEngine=function(){var i={name:s,version:s};return T.rgx.call(i,n,a.engine),i},this.getOS=function(){var i={name:s,version:s};return T.rgx.call(i,n,a.os),i},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return n},this.setUA=function(i){return n=i,this},this};A.VERSION=e,A.BROWSER={NAME:u,MAJOR:l,VERSION:b},A.CPU={ARCHITECTURE:p},A.DEVICE={MODEL:w,VENDOR:m,TYPE:c,CONSOLE:f,MOBILE:g,SMARTTV:v,TABLET:h,WEARABLE:x,EMBEDDED:k},A.ENGINE={NAME:u,VERSION:b},A.OS={NAME:u,VERSION:b},typeof exports!==a?(typeof module!==a&&module.exports&&(exports=module.exports=A),exports.UAParser=A):"function"==typeof define&&define.amd?define(function(){return A}):i&&(i.UAParser=A);var N=i&&(i.jQuery||i.Zepto);if(typeof N!==a&&!N.ua){var z=new A;N.ua=z.getResult(),N.ua.get=function(){return z.getUA()},N.ua.set=function(i){z.setUA(i);var s=z.getResult();for(var e in s)N.ua[e]=s[e]}}}("object"==typeof window?window:this);
},{}],7:[function(require,module,exports){
(function(){var l,n,t,r=[].indexOf||function(l){for(var n=0,t=this.length;t>n;n++)if(n in this&&this[n]===l)return n;return-1};n=exports,t=require("./utils"),l=999999,n.Rewarder=function(){function n(conf){this.conf=conf}return n.prototype.handleStep=function(n,e,u){var s,a,o,i,v,f,g,p,c,d,h,w,y,x,M,m,A;for(-l<(h=e.value)&&l>h||(e.value=null!=(w=u.valueDef)?w:1),a=null!=(y=null!=(x=_d.G[e.goal])?x.a:void 0)?y:[],Array.isArray(e.agents)&&(a=e.agents.filter(function(l){return r.call(a,l)>=0})),f=this.selsFor(n,e,a),n.log("Goal '"+e.goal+"' mapped to agents: "+a+" ("+f.length+" have a selection)"),i=g=0,p=f.length;p>g;i=++g)v=f[i],v.g=e.goal,v.v=this.val(n,e,u,v),s=null!=(M=_d.A[v.a])?M.a.s:void 0,null!=v.v&&null!=v.fs&&"running"===s&&"p"!==(m=v.p)&&"b"!==m&&"x"!==m&&"p"!==v.s?(null==(o=n.sess.rwds)[c=v.a]&&(o[c]={}),A=this.getPrior(n,v.a,v.g),v.pr=A[0],v.ri=A[1],v.pr&&(d=t.Dates.stamp()-v.pr.ts)<u.rw?(n.log("Not rewarding "+v.a+" for "+v.g+" (within "+d+" secs)"),f[i]=null):n.rwdAdd(v.a,v.g,v.v)):(n.log("Not rewarding "+v.a+" for "+v.g+" (policy "+v.p+" - status "+s+" "+v.s+")"),f[i]=null);return{items:f}},n.prototype.selsFor=function(l,n,t){var r,e,u,s,a;for(u=[],s=0,a=t.length;a>s;s++)r=t[s],null!=(e=l.selGet(r))&&u.push({a:r,c:e.c,p:e.p,s:e.s,fs:e.fs.concat(),dts:e.ts});return u},n.prototype.getPrior=function(l,n,t){var r,e,u,s,a,o;a=0,e={v:0,gv:0,ts:0},o=null!=(s=l.sess.rwds[n])?s:{};for(r in o)u=o[r],null!=u&&"number"==typeof u.v&&(e.v+=u.v,r===t&&(e.gv+=u.v,a=u.n),u.ts>e.ts&&(e.ts=u.ts));return 0===e.ts&&(e=void 0),[e,a]},n.prototype.val=function(l,n,t,r){var e,u,s,a,o,i,v;switch(e=null!=(u=null!=(s=l.sess.rwds[r.a])?s[r.g]:void 0)?u:{},v=null!=(a=null!=(o=n.value)?o:t.valueDef)?a:1,!1){case!(e.n>=(null!=(i=t.countMax)?i:1)):return null;case!(null==t.valueMin&&null==t.valueMax):return 1;case!(null!=t.valueMin&&v<t.valueMin||null!=t.valueMax&&v>t.valueMax):return null;default:return v}},n}()}).call(this);
},{"./utils":15}],8:[function(require,module,exports){
(function(){var t,e,n,r,o,s,i,u,a,l,c,d,p,f,h=function(t,e){return function(){return t.apply(e,arguments)}},g=[].indexOf||function(t){for(var e=0,n=this.length;n>e;e++)if(e in this&&this[e]===t)return e;return-1};r=require("../diagrams/diagrams"),e=require("../../configuration"),s=require("../targeting/targeting"),n=require("data-layers").DL,o=require("loader").Loader,f=null!=f?f:require("harness"),u=null,i=null,p=[],c=null,a=null,d=f.single===!0,t=function(){function t(t){null==t&&(t={}),this._post=h(this._post,this),this.do_vs=h(this.do_vs,this),this["do"]=h(this["do"],this),this._do=h(this._do,this),this.o=t,this.conf=e.merged(),this.dl=null!=i?i:i=new n(this.conf,this,this.o.dataLayer)}var l,v,_,y,b;return t.loader=new o(_d,f),t.prototype.exec=function(t,e){return this.push({t:"e",steps:t,cb:e})},t.prototype.run=function(){return this.push({t:"r"})},t.prototype.push=function(t){var e;return e=p.push(t),this._do()},t.prototype._do=function(){var t;if(!a&&p.length)switch(a=t=p.shift(),t.t){case"e":this.do_exec(t.steps,t.cb);break;case"r":this.do_run();break;case"v":this.do_vs(t.vs)}},t.prototype["do"]=function(){return a=null,this._do()},t.prototype.select=function(t){return this.exec([{a:t}]).sels[t]},t.prototype.reward=function(t,e){this.exec([{g:t,v:e}])},t.prototype.listAgents=function(){return Object.keys(_d.A)},t.prototype.hasAgent=function(t){return g.call(this.listAgents(),t)>=0},t.prototype.do_exec=function(t,e){var n,o,s,i,u;return t=null!=(o=l(t))?o:[],b(t),s=this._req(),s.steps=t,u=new r.State(this.conf,s),this._ses(u),v(u),n=function(t){return function(){var e,n,r,o,s,i;for(t._process(u),o=u.out,i={items:o.res,sels:{},traits:u.tExt(),log:t.o.debug===!0?o.log.concat():void 0,ext:o.ext?o.ext:void 0},s=i.items,e=0,r=s.length;r>e;e++)n=s[e],null!=n.a&&(i.sels[n.a]=n.c);return null!=t.o.sess&&(i.sess=JSON.stringify(u.sess)),i}}(this),"function"==typeof e?this._init(u,function(t){return function(r){return e(!1,n()),t["do"]()}}(this)):(i=n(),setTimeout(this["do"],1),i)},t.prototype.do_run=function(t){var e,n,o;return null==t&&(t="#init"),e=this._req(this.o.entry+"-pre"),o=null!=u?u.state:new r.State(this.conf,e),this._ses(o),v(o),this.o.globalEvents===!0&&this._spaInit(o),n=new r.Runner(this.conf,function(t){return function(){return o.ep(t.o.entry),t._init(o,function(e){return y(t.conf["wa:ready"],function(){return t._process(o),o.log("(end)"),t["do"]()})})}}(this)),n.run(_d.diag,o)},t.prototype.discard=function(){return f.sess_del()},t.prototype.do_vs=function(t){var e,n,r;return null!=u?(n=u.state,r=null!=(e=this.conf["rt:spa-states"])?e:[],g.call(r,t)>=0?t!==n.vstate()||g.call(this.conf["rt:spa-states-m"],t)>=0?(n.vstate(t),this._process(n),n.log("(end vstate)")):n.log("Already at '"+t+"'"):n.log("Unknown view-state '"+t+"'"),this["do"]()):void 0},t.prototype._req=function(t){var e,n;return null==t&&(t="api"),e=this.o,n=f.env_get(),n.acc=_d.acc.c,n.ep=t,n.v.traits=e.traits,n.debug=n.debug||e.debug,n.ud=e.inputs,n},t.prototype._process=function(t){var e,n;return e=t.r,e._dl=this.dl,this._pre(t),n=new r.Runner(this.conf,this._post),void n.run(_d.diag,t)},t.prototype._init=function(t,e){this._preboot(t,function(n){return function(){return n._targ(t,e)}}(this))},t.prototype._preboot=function(t,e){var n,r,o,s,i,u;if("function"!=typeof _wa_preboot)return e();if(i=r=t.ep(),g.call(null!=(u=this.conf["js:preboot-eps"])?u:["wax"],i)<0)return t.log("Skipping preboot ("+r+")"),e();s=function(t,e,n){var r,o,s,i,u,a,l,c;switch(null==n&&(n="pre"),!1){case!Array.isArray(t):for(a=[],o=0,u=t.length;u>o;o++)r=t[o],a.push(e.tAdd(r,n));return a;case"object"!=typeof t:l=[];for(s in t)switch(c=t[s],i=g.call(s,":")>=0,!1){case!(i&&c):l.push(e.tAdd(""+s,n));break;case!(!i&&"string"==typeof c):l.push(e.tAdd(s+":"+c,n));break;default:l.push(void 0)}return l}},o=function(n,r){return null==r&&(r={}),"string"==typeof r&&(r={vstate:r}),s(n,t),"string"==typeof r.vstate&&t.vstate(r.vstate),"function"==typeof r.selection_callback&&(null!=t.handlers?t.handlers:t.handlers=[]).push(r.selection_callback),e()};try{t.log("Preboot"),_wa_preboot(o)}catch(a){n=a,t.log("Error executing preboot: "+n),e()}},t.prototype._targ=function(t,e){var n,r;return r=_d.rt.tt,r.length>0?(n=new s.Targeter(this.conf,f),t.log("Resolve targeting: "+r),void n.resolve(t,r,function(n,o){var s,i,u;if(n)return e(n);i=o.values;for(s in i)u=i[s],null!=u&&(g.call(r,s)>=0?t.tAdd(s+":"+u,"apply"):(t.log("Set value "+s+" to "+u),t.data["targ."+s]=u));return e()})):e()},t.prototype._pre=function(t){var e,n,r,o,s;if((e=t.r._dl).enabled()&&(s=e.get(this.conf["dl:key-tr"]),Array.isArray(s)))for(n=0,r=s.length;r>n;n++)o=s[n],t.tAdd(o,"dl");t.data["v.sels"]=t.sess.sels},t.prototype._ses=function(t){var e,n,r,o,s,i,u,a,l,p,h;if(h=null!=(s=t.r.v)?s:{},l=f.sess_get(),d&&null==l&&(c=null),a=t.sess=null!=c?c:{traits:null!=(i=null!=(u=h.traits)?u.cust:void 0)?i:[],sels:{},rwds:{}},r=function(){var t;try{return JSON.parse(null!=(t=this.o.sess)?t:l)}catch(e){}}.call(this),d&&(c=a),_(t.sess,r),Array.isArray(o=null!=r?r.traits:void 0))for(e=0,n=o.length;n>e;e++)p=o[e],t.tAdd(p,"init")},t.prototype._post=function(t){var e;t.dnt()||t.bot()||(e=t.sess,e.traits=t.tExt(),e.vals=t.targ,f.sess_set(JSON.stringify(e))),this._send(t)},t.prototype._send=function(t){var e,n;switch(e=t.out.work.splice(0),n=e.length,!1){case 0!==n:return;case!t.dnt():t.log("Not sending events ("+n+") due to DNT");break;case!t.bot():t.log("Not sending events ("+n+") because 'bot'");break;case!t.muted():t.log("Not sending events ("+n+") because 'muted'");break;default:t.log("Sending events ("+n+")"),f.beacon(this.conf["event-queue:sqs-url"]+"?Action=SendMessage&Version=2012-11-05&MessageBody="+encodeURIComponent(JSON.stringify(e)))}},_=function(t,e){return Object.assign(t,e)},t.prototype._spaInit=function(t){d&&(null==u&&window.addEventListener("ConductricsStateChange",function(t){return function(e){return t.on(e.type,e.detail)}}(this)),u={state:t})},t.prototype.on=function(t,e){var n,r;switch(t){case"ConductricsStateChange":if("wax"===this.o.entry&&(null!=(n=this.conf["rt:spa-states"])?n.length:void 0)>0)return this.push({t:"v",vs:e});break;case"ConductricsCommands":if(Array.isArray(r=null!=e?e.commands:void 0))return this.exec(r,function(t){return function(){}}(this))}},l=function(t){if("string"!=typeof t)return t;try{return JSON.parse(t)}catch(e){}},v=function(t){t.log(_d.v.v+" build "+_d.v.b+" ("+_d.v.d+" - "+new Date(1e3*_d.v.m).toUTCString()+")"),t.qa()&&t.log("QA visitor detected")},b=function(t){},y=function(t,e){switch(t){case"doc":return(document.attachEvent?"complete"===document.readyState:"loading"!==document.readyState)?e():document.addEventListener("DOMContentLoaded",e);default:return e()}},t}(),l=function(){return"undefined"!=typeof window&&null!==window?window:this}(),(null!=l.Conductrics?l.Conductrics:l.Conductrics={}).ClientApi=t,("undefined"!=typeof define&&null!==define?define.amd:void 0)&&define(["ClientApi"],t),("undefined"!=typeof module&&null!==module?module.exports:void 0)&&(module.exports.ClientApi=t),("undefined"!=typeof __module&&null!==__module?__module.exports:void 0)&&(__module.exports.ClientApi=t),null!=f&&(f.ClientApi=t)}).call(this);
},{"../../configuration":2,"../diagrams/diagrams":11,"../targeting/targeting":14,"data-layers":"data-layers","harness":"harness","loader":"loader"}],9:[function(require,module,exports){
(function(){var e,n,conf;e=require("../../configuration"),conf=e.merged(),(n=function(){var e,n,t;return null!=("undefined"!=typeof window&&null!==window&&null!=(t=window.opener)?t.postMessage:void 0)?(n=conf["admin-ui-server:url"],e=function(e){var n;return n=document.createElement("script"),n.src=e,document.getElementsByTagName("head")[0].appendChild(n)},window.addEventListener("message",function(t){var a;switch(null!=(a=t.data)?a.type:void 0){case"wa-author-load":return e(n+"/gen/wa-author-time.js"),e(n+"/js/mutation-summary.js"),e(n+"/js/css-parse.js")}}),window.opener.postMessage({type:"wa-rt-ready",pageUrl:document.location.href},"*")):void 0})()}).call(this);
},{"../../configuration":2}],10:[function(require,module,exports){
(function(){var e;require("../../data"),(e=function(){var e,n,t,c;return("undefined"!=typeof document&&null!==document?document.querySelector:void 0)?(n=function(e){var n;return null!=(n=/__c-token=([a-zA-Z0-9-]+)/.exec(e))?n[1]:void 0},c=_d.rt,null!=(t=n(document.location.href))&&null==document.querySelector("script[src*='&__c-token="+t+"']")?(e=document.createElement("script"),e.src=c.s+"&__c-token="+t,document.head.appendChild(e)):void 0):void 0})()}).call(this);
},{"../../data":3}],11:[function(require,module,exports){
(function(){var t,n,r,e,o=function(t,n){return function(){return t.apply(n,arguments)}},i=[].indexOf||function(t){for(var n=0,r=this.length;r>n;n++)if(n in this&&this[n]===t)return n;return-1};e=require("../../utils"),t=require("../../bots").Bots,n=module.exports,exports.M=r=function(){function t(conf){this.conf=conf}var n;return t.prototype.getNodes=function(t){var n;return null!=(n=t.items)?n:[]},t.prototype.active=function(t,n){return!0},t.prototype.process=function(t,n){},t.prototype.isId=e.Strings.isId,t.prototype.wait=function(t,n){return setTimeout(n,t)},t.prototype.clone=function(t){return JSON.parse(JSON.stringify(t))},t.prototype.sel=function(t){return n(t.selector,t.so)},n=function(t,n){var r,e,o,i,s,u;if(null==n&&(n={}),1){if(o=document.querySelectorAll(t),n.t){for(r=[],i=0,s=o.length;s>i;i++)e=o[i],(null!=(u=e.textContent)?u.indexOf(n.t):void 0)>=0&&r.push(e);o=r}(n.i>0||n.n>0)&&(o=Array.prototype.slice.call(o,n.i,n.n))}else o=$(t),n.t&&(o=o.filter(function(t,r){var e;return(null!=(e=r.textContent)?e.indexOf(n.t):void 0)>=0})),(n.i>0||n.n>0)&&(o=o.slice(n.i,n.n));return o},t}(),n.Runner=function(){function t(conf,t){this.conf=conf,this.ph=t,this.mf=new n.MFactory(this.conf)}var r;return t.prototype.run=function(t,n){return this.exec(t,n)},t.prototype.exec=function(t,n){return this.walk(t,n),this.ph(n)},t.prototype.walk=function(t,n){var e,o,i,s,u,l;if(null!=(u=this.mf.provide(t))&&r(u,t,n)&&(o=u.process(t,n,this),!o))for(l=u.getNodes(t),i=0,s=l.length;s>i;i++)e=l[i],this.walk(e,n)},t.prototype.find=function(t,n,e,o){var i,s,u,l,a;if(null==o&&(o=[]),null==(l=this.mf.provide(t)))return!1;if(!r(l,t,n))return!1;for(e(t)&&o.push(t),a=l.getNodes(t),s=0,u=a.length;u>s;s++)i=a[s],this.find(i,n,e,o);return o},t.prototype.resume=function(t,n){var r;return r={module:"root",items:t.items.concat()},this.exec(r,n)},r=function(t,n,r){var o;switch(!1){case!!t.active(n,r):return!1;case!((null!=(o=n.conds)?o.length:void 0)>0&&!e.Conds.evalConds(n.conds,r,n.module)):return!1;default:return!0}},t}(),exports.Conds=e.Conds,n.MFactory=function(){function t(conf){this.conf=conf}return t.prototype.provide=function(t){var n,r;r=t.module;try{return new(n=require("./modules/"+r).m)(this.conf)}catch(e){return console.log("Can't provide '"+r+"'"),null}},t}(),n.State=function(){function n(conf,n){var r,s,l,a,c,p,d,h,f,v,y,g,m;if(this.conf=conf,null==n&&(n={}),this.tAdd=o(this.tAdd,this),this.r=n,m=null!=(a=n.v)?a:{},l=null!=(c=m.loc)?c:{},this.debug=n.debug||this.conf["js:debug-all"],this.data={"v.ip":m.ip,"v.ua":m.ua,"v.vid":m.vid,"v.loc":l,"v.loc.path":l.pathname,"v.loc.qs":e.Strings.qs(l.search),"v.loc.qx":l.protocol+"//"+l.host+l.pathname,"v.ref":m.ref,"v.tzo":m.tzo,"v.ts":Math.floor(null!=(p=n.ts>9999999999?n.ts/1e3:n.ts)?p:(new Date).getTime()/1e3),"v.traits":["*"],"v.dnt":m.dnt,"v.qa":this.conf["qa:v-qa"]===!0||"true"===(d=m.qa)||d===!0,"v.bot":new t(this.conf).detect(m.ua),"d.ep":null!=(h=n.ep)?h:"wax","d.dc":function(){return _d.v.d},selex:function(t){return function(t){return document.querySelector(t)}}(this),dl:function(t){return function(t){var r;return null!=(r=n._dl)?r.get(t):void 0}}(this),st:function(t){return function(t){var n,r,o,s,u,l;try{return(o="="===t[0]&&i.call(t,":")>=0)&&(u=t.slice(1).split(":"),t=u[0],s=u[1]),r=null!=r?r:require("harness"),l="function"==typeof r.st_get?r.st_get(t):void 0,o&&(l=e.Obj.read(JSON.parse(l),s)),l}catch(a){n=a}}}(this)},this.data.ud=u(n.ud),this.out={status:200,res:[],sel:{},log:[],work:[]},(null!=(f=m.traits)?f.length:void 0)>0)for(v=m.traits,r=0,s=v.length;s>r;r++)g=v[r],this.tAdd(g,"api");this.dnt()&&this.log("DO-NOT-TRACK visitor detected; will not persist or send any data."),this.vstate(null!=(y=m.vstate)?y:"#init")}var r,s,u,l;return s=function(t,n){var r;return null!=(r=_d.A[t])?r.a.c[n]:void 0},n.prototype.stepSet=function(t){return this.step=t},n.prototype.resp=function(t){return this.out.res.push(t)},n.prototype.respGet=function(t){var n,r,e,o;for(o=this.out.res,r=0,e=o.length;e>r;r++)if(n=o[r],n.a===t)return n},n.prototype.done=function(t){var n;return null!=t.a&&(t.a=e.Strings.qualify(t.a,this.conf["acc:code"],this.conf["acc:env"])),null!=t.fs&&(n=this.conf["rt:tr-ids"],t.fs=t.fs.map(function(t){var r;return null!=(r=n[t])?r:t})),null==t.ds&&(t.ds=_d.rt.ds),this.out.work.push(t)},n.prototype.dnt=function(){return this.data["v.dnt"]},n.prototype.bot=function(){return null!=this.data["v.bot"]},n.prototype.ep=function(t){var n;return n=this.data,null!=t?(this.log("Entry point "+t),n["d.ep"]=t):n["d.ep"]},n.prototype.muted=function(){return this.r.muted},n.prototype.reread=function(){return this.data["v.sels"]=this.sess.sels},n.prototype.selAdd=function(t){var n,r;if(null!=(null!=t?t.a:void 0)&&null!=t.c)switch(r=this.data["v.sels"],this.out.sel[t.a]=t,t.p){case"s":if((n=r[t.a])&&n.s!==t.s)return n.s=t.s,this.dirty=!0;break;default:return r[t.a]=t,null!=this.sess.rwds[t.a]&&(this.sess.rwds[t.a]={}),this.dirty=!0}},n.prototype.selDel=function(t){return this.selHas(t)?(this.log("Discarding selection for agent "+t),delete this.data["v.sels"][t],this.sess.rwds[t]={},this.dirty=!0):void 0},n.prototype.selGet=function(t){var n,r,e,o;return o=null!=(r=s(t,"a:sd-ttl"))?r:this.conf["a:sd-ttl"],n=this.data["v.sels"][t],null!=n&&n.ts+o>=l()&&n.ts>=(null!=(e=_d.A[t])?e.drts:void 0)?(null==n.fs&&(n.fs=this.tr().concat()),n):void 0},n.prototype.selHas=function(t){return null!=this.data["v.sels"][t]},n.prototype.selRed=function(t,n){return n instanceof Array&&(this.data["a.sel-reduce:"+t]=n,!0)?this.log("Reducing choices for "+t+" to ["+n+"]"):void 0},n.prototype.rwdAdd=function(t,n,r){var e,o;return e=this.sess.rwds[t],Array.isArray(e[n])&&(e[n]=void 0),o=null!=e[n]?e[n]:e[n]={},null==o.n&&(o.n=0),o.n+=1,null==o.v&&(o.v=0),o.v+=r,o.ts=l(),this.dirty=!0},n.prototype.polSet=function(t,n){return"string"!=typeof t||"a"!==n&&"r"!==n&&"c"!==n&&"p"!==n&&"b"!==n&&"x"!==n||(this.data["a.sel-pol:"+t]=n,!1)?void 0:this.log("Setting policy for "+t+" to (policy "+n+")")},n.prototype.polHas=function(t){return null!=this.polGet(t)},n.prototype.polGet=function(t){return this.data["a.sel-pol:"+t]},n.prototype.vstate=function(t){var n,r,e,o,s;return r=this.data,0===arguments.length?r["v.vstate"]:(s=null!=(o=this.conf["rt:spa-states"])?o:"",n=this.vstate(),(e=i.call(s,t)>=0&&t!==n)&&(null!=r["v.vstate"]&&!0&&this.log("view-state is now '"+t+"' (was '"+n+"')"),r["v.vstate"]=t),e)},n.prototype.qa=function(){return this.data["v.qa"]===!0},n.prototype.tr=function(){return this.data["v.traits"]},n.prototype.tFor=function(t){var n,r,e;return n=null!=(r=null!=(e=_d.A[t])?e.fs:void 0)?r:this.tr(),this.tr().filter(function(t){var r;return"*"===t||(r=t.split(":")[0],i.call(n,r)>=0)}).slice(0,this.conf["targ:traits-agent-max"])},n.prototype.tExt=function(){return this.tr().filter(function(t){return 0===t.indexOf("cust/")})},n.prototype.tMap=function(t){var n,r,e,o,i,s,u;for(s={"*":1},e=this.conf["rt:tr-ids"],o=0,i=t.length;i>o;o++)n=t[o],r=null!=(u=e[n])?u:n,s[r]=1;return s},n.prototype.tHas=function(t){return t=r(t),i.call(this.data["v.traits"],t)>=0},n.prototype.tAdd=function(t,n){var e,o,i,s,u,l,a,c;if(t=r(t),u=t.split(":"),i=u[0],c=u[1],!c)return!1;if(t.indexOf(" ")>-1&&(i=i.trim(),c=c.trim(),t=i+":"+c),this.tHas(t))return!1;if(o="init"===n,null!=(e=this.data["targ."+i]))switch(s=null!=(l=null!=(a=_d.T[i])?a.me:void 0)?l:"l"){case"f":if(!o)return!1;this.tDel(i+":"+e);break;case"l":if(o)return!1;this.tDel(i+":"+e);break;case"a":}return this.data["targ."+i]=c,this.data["v.traits"].push(t),o||(this.dirty=!0),this.log("Added trait '"+t+"' ("+n+")"),!0},n.prototype.tDel=function(t){var n,e,o,i;return t=r(t),this.tHas(t)?(o=t.split(":"),n=o[0],i=o[1],null==n?!1:(this.data["targ."+n]=void 0,(e=this.data["v.traits"].indexOf(t))>-1&&this.data["v.traits"].splice(e,1),this.log("Removed trait '"+t+"'"),!0)):!1},r=function(t){switch(!1){case"*"!==t:return"*";case i.call(t,"/")>=0:return"cust/"+t;default:return t}},n.prototype.plAdd=function(t){var n,r,e;return n=null!=(r=null!=(e=this.data["v.pl"])?e.split(","):void 0)?r:[],i.call(n,t)<0&&n.push(t),this.data["v.pl"]=n.join(",")},n.prototype.log=function(t){return this.out.log.push(t),this.debug&&("undefined"!=typeof console&&null!==console?console.log:void 0)?console.log("C:\\ ["+this.out.log.length+"] "+t):void 0},n.prototype.mdn=function(){return this.r.mdn},n.prototype.qualify=function(t){return e.Strings.qualify(t,this.conf["acc:code"],this.conf["acc:env"])},l=function(){return e.Dates.stamp()},u=function(t){var n,r,e,o;if(t){e={};for(n in t)o=t[n],("string"==(r=typeof o)||"number"===r||"boolean"===r)&&(e[n]=o);return e}},n}(),exports.Reapplyer=function(){function t(t,n,r,e){this.cb=t,this.targets=null!=n?n:[],this.opts=null!=r?r:{characterData:!0,subtree:!0,attributes:!0,childList:!0},this.max=null!=e?e:100,this.on=o(this.on,this);try{this.o=new MutationObserver(this.on)}catch(i){}this.n=0}return t.prototype.start=function(){var t,n,r,e,o,i;for(r=this.targets,o=[],t=0,n=r.length;n>t;t++)i=r[t],o.push(null!=(e=this.o)?e.observe(i,this.opts):void 0);return o},t.prototype.stop=function(){var t;return null!=(t=this.o)?t.disconnect():void 0},t.prototype.on=function(t,n){return this.n++<=this.max?(this.stop(),this.cb(),this.start()):void 0},t}()}).call(this);
},{"../../bots":1,"../../utils":15,"harness":"harness"}],12:[function(require,module,exports){
(function(){exports._resolve=function(e,a,s){var c,r,t,n,u;return n=a+60*s,isFinite(n)?(r=new Date(1e3*n),c=r.getUTCDay(),t=r.getUTCHours(),u=function(){switch(e){case"wp":switch(c){case 0:case 6:return"we";default:return"wd"}break;case"dp":switch(t){case 6:case 7:case 8:case 9:case 10:case 11:return"m";case 12:case 13:case 14:case 15:case 16:return"a";case 17:case 18:case 19:case 20:return"e";default:return"n"}break;case"d":return u=["su","mo","tu","we","th","fr","sa"][c];case"h":return u=t;case"z":return u=Math.floor(s/60);case"ts":return u=a}}()):cb(!1,null)}}).call(this);
},{}],13:[function(require,module,exports){
(function(){exports.registry=function(){function n(conf){this.conf=conf}return n.prototype.getPlugin=function(n){var o,t;try{return new(t=require("./plugins/"+n).p)(this.conf)}catch(e){return o=e,"undefined"!=typeof console&&null!==console&&console.log("No plugin '"+n+"'"),null}},n}()}).call(this);
},{}],14:[function(require,module,exports){
(function(){var n,t,r,e,u=[].indexOf||function(n){for(var t=0,r=this.length;r>t;t++)if(t in this&&this[t]===n)return t;return-1};r=require("../../utils"),n=require("./registry"),t=exports,t.Plugin=function(){function n(){}return n.prototype.ttl=function(n){return 3600},n.prototype.as_code=function(n){return null!=n?n.replace(/[^A-Za-z0-9_-]/g,"-"):void 0},n.prototype.active=function(n){return!0},n.prototype.resolve=function(n,t,r){return r()},n}(),t.Targeter=function(){function t(t,r){this.conf=t,this.harness=r,this.registry=new n.registry(this.conf),this.mode="undefined"!=typeof window&&null!==window?"b":"s"}return t.prototype.resolve=function(n,t,l){var o,i,s,a,c,v;return(null!=t?t.length:void 0)>0?(a={values:{}},o=null!=n.targ?n.targ:n.targ=null!=(i=null!=(s=n.sess)?s.vals:void 0)?i:{},c=[],v=r.Dates.stamp(),e(t,function(t){return function(r,e){var l,i,s,d,f,g,h,p,y;return null!=(f="undefined"!=typeof _dd&&null!==_dd&&null!=(g=_dd.targ)?g.v[r]:void 0)?(a.values[r]=f,e(!1,a)):(h=r.split("/"),s=h[0],l=h[1],d=t.registry.getPlugin(s),d.harness=t.harness,(null!=d?d.active(n):void 0)?(y=d.ttl(),void 0!==o[r]&&y>0&&o[r].ts+y>v?(a.values[r]=o[r].v,e(!1,a)):(i=null!=(p=d.constructor.modes)?p:[],"b"===t.mode&&u.call(i,"b")<0&&u.call(i,"s")>=0?(c.push(r),e(!1,a)):d.resolve(n,l,function(n,l){return n?e(n):(a.values[r]=l,null!=l&&y>0?o[r]={v:l,ts:v}:o[r]=void 0,null===l&&"b"===t.mode&&u.call(i,"s")>=0&&c.push(r),e())}))):e())}}(this),function(e){return function(u){var i,conf,s,d,f,g,h,p,y,m,_;if(u)return l(u);if(0===c.length)return l(!1,a);if(conf=e.conf,y=conf["targ:sl-rate"],m=r.Rand.coin(y),n.log("Resolve ["+c+"] on server? "+m+" ("+y+")"),!m){for(d=0,g=c.length;g>d;d++)i=c[d],o[i]={v:null,ts:v};return l(!1,a)}for(_=conf["targ:lookup-url"]+"?codes="+c.join(",")+"&apikey="+_d.acc.k+"&vid="+n.data["v.vid"],p=["ua","ip"],f=0,h=p.length;h>f;f++)s=p[f],null!=n.data["v."+s]&&(_=_+"&"+s+"="+escape(n.data["v."+s]));return e.harness.http("GET",_,conf["targ:ext-tms"],function(r,e){var u,s,d,f,g,h,p;if(r)return n.log("Could not resolve: "+c+" ("+r+")"),l(!1,a);try{for(s=JSON.parse(e).data,h=[],d=0,f=t.length;f>d;d++)i=t[d],p=null!=(g=s.values[i])?g:null,n.log("Resolved on server: '"+i+"' ("+p+")"),null==(u=a.values)[i]&&(u[i]=p),h.push(o[i]={v:p,ts:v});return h}finally{return l(!1,a)}})}}(this))):l(!1,{})},t}(),t.geo_dm=function(conf,n){var t;switch(t=null!=conf?conf["acc:c-dom"]:void 0,!1){case void 0!==t:return"x";case null!==n&&void 0!==n&&""!==n:return"x";case u.call(t,n)<0:return"d";default:return"i"}},e=function(n,t,r){var e,u,l;return u=-1,l=n.length,(e=function(){return u++,u===l?r():t(n[u],function(n){return n&&r(n),e()})})()}}).call(this);
},{"../../utils":15,"./registry":13}],15:[function(require,module,exports){
(function (process){
(function(){var n,t=[].slice,e=[].indexOf||function(n){for(var t=0,e=this.length;e>t;t++)if(t in this&&this[t]===n)return t;return-1};switch(n={},!1){case"undefined"==typeof define||null===define:define(function(){return n});break;case"undefined"==typeof module||null===module:module.exports=n}n.Obj=function(){function n(){}return n.extend=function(){var n,e,r,i,u,o;for(n=arguments[0],o=2<=arguments.length?t.call(arguments,1):[],e=0,i=o.length;i>e;e++){u=o[e];for(r in u)n[r]=u[r]}return n},n.read=function(n,t){var e;for(e=t.split(".");e.length&&(n=n[e.shift()]););return n},n}(),n.Dates=function(){function n(){}return n.now=function(){var n;return null!=(n="function"==typeof Date.now?Date.now():void 0)?n:(new Date).getTime()},n.stamp=function(){return Math.floor(this.now()/1e3)},n}(),n.Rand=function(){function n(){}return n.pick=function(n,t){var e,r,i,u,o,f,l;for(o=0,r=0,i=t.length;i>r;r++)f=t[r],o+=f;0===o&&(t=n.map(function(n){return 1}),o=n.length),u=Math.random()*o,l=0;for(e in t)if(l+=t[e],l>u)return n[e]},n.coin=function(n){return n>1?!0:this.pick([!0,!1],[n,1-n])},n}(),n.Conds=function(){function t(){}return t.evalConds=function(n,e,r){var i,u,o,f,l,a,c,s,h;if(!((null!=n?n.length:void 0)>0))return!1;if(n=n.concat(),s=null!=n[n.length-1].mode?n.pop():{mode:"all"},0===n.length)return"all"===(h=s.mode)||"any"===h;switch(s.mode){case"all":for(u=0,o=n.length;o>u;u++)if(i=n[u],!t.evalCond(i,e,r))return!1;return!0;case"any":for(a=0,f=n.length;f>a;a++)if(i=n[a],t.evalCond(i,e,r))return!0;return!1;case"none":for(c=0,l=n.length;l>c;c++)if(i=n[c],t.evalCond(i,e,r))return!1;return!0;default:throw Error("Unknown conds mode '"+s.mode+"'")}},t.evalCond=function(e,r,i){var u,o,f,l,a,c;return null==i&&(i=""),o=e[0],f=e[1],c=e[2],o=n.Strings.interpolate(o,r.data),c=n.Strings.interpolate(c,r.data),("gt"===f||"gte"===f||"lt"===f||"lte"===f)&&("string"==typeof o&&(o=parseFloat(o)),"string"==typeof c&&(c=parseFloat(c))),l=null!=(a="function"==typeof(u=t.ops)[f]?u[f](o,c):void 0)?a:!1,"undefined"!=typeof process&&null!==process&&!0&&r.log("Condition "+l+": "+e+" ("+o+") ("+c+") ["+i+"]"),l},t.ops={is:function(n,t){return n===t},isnt:function(n,t){return n!==t},mp:function(t,e){return n.Strings.pmatch(t,e,!0)===!0},"mp-not":function(t,e){return n.Strings.pmatch(t,e,!0)===!1},gt:function(n,t){return n>t},lt:function(n,t){return t>n},gte:function(n,t){return n>=t},lte:function(n,t){return t>=n},"in":function(n,t){return""!==n&&t.indexOf(n)>=0},nin:function(n,t){return""!==n&&-1===t.indexOf(n)},sw:function(n,t){return n.slice(0,t.length)===t},ew:function(n,t){return n.slice(-t.length)===t},re:function(n,t){var e;try{return RegExp(t).test(n)}catch(r){return e=r,!1}},sub:function(n,t){return("function"==typeof n.indexOf?n.indexOf(t):void 0)>=0},"sub-not":function(n,t){return!(("function"==typeof n.indexOf?n.indexOf(t):void 0)>=0)},"has-any":function(n,t){var r,i,u;if(n=function(){switch(!1){case""!==n:return[];case"string"!=typeof n:return n.split(",");default:return n}}(),!(n.length>0&&t.length>0))return!1;for(r=0,i=t.length;i>r;r++)if(u=t[r],e.call(n,u)>=0)return!0;return!1},"has-all":function(n,t){var r,i,u;if(n=function(){switch(!1){case""!==n:return[];case"string"!=typeof n:return n.split(",");default:return n}}(),!(n.length>0&&t.length>0))return!1;for(r=0,i=t.length;i>r;r++)if(u=t[r],e.call(n,u)<0)return!1;return!0}},t}(),n.Strings=function(){function n(){}var t,e;return t=/^[A-Za-z0-9_-]+$/,e=/\$\{([A-Za-z0-9.:_=-]+)\}/g,n.isId=function(n,e){var r,i,u;if(null==e&&(e=!1),"undefined"===n||"string"!=typeof n)return!1;if(e){if(!((u=n.split(":")).length>1))return!1;for(r=0,i=u.length;i>r;r++)if(n=u[r],!this.isId(n))return!1;return!0}return"string"==typeof n&&n.length<=100&&t.test(n)},n.interpolate=function(t,e){var r,i,u,o,f,l;if(Array.isArray(t))return t;if(u=n.interkeys(""+t),0===u.length)return t;for(f=""+t,r=0,o=u.length;o>r;r++)i=u[r],l=n.propeval(i,e),f=f.replace("${"+i+"}",null!=l?l:"");return f},n.interkeys=function(n){var t,r;if("string"!=typeof n)return[];if(-1===n.indexOf("${"))return[];if("${"===n.slice(0,2)&&-1===n.indexOf("::")&&n.indexOf("}")===n.length-1)return[n.slice(2,-1)];for(r=[];null!=(t=e.exec(n));)r.push(""+t[1]);return r},n.propeval=function(n,t){var e,r,i,u,o,f,l;for(l=t,f=o=n.split("::"),e=r=0,u=f.length;u>r&&(i=f[e],null!=(l=l[i]));e=++r)if("function"==typeof l)return l(o[e+1]);return l},n.isNum=function(n){return""+ +n===n},n.parseUrl=function(n){var t,e,r,i,u,o,f,l;switch(!1){case!(null==n):return null;case"object"!=typeof n:return n;case"undefined"==typeof window||null===window:if(window.location.href===n)return window.location;try{return new window.URL(n)}catch(a){e=a;try{for(t=$("<a>",{href:n})[0],o={},f=["hash","hostname","href","pathname","port","protocol","search"],r=0,u=f.length;u>r;r++)i=f[r],o[i]=null!=(l=t[i])?""+l:void 0;return o.pathname.length>0&&"/"!==o.pathname[0]&&(o.pathname="/"+o.pathname),o}catch(a){return void(e=a)}}break;default:return require("url").parse(n)}},n.pmatch=function(n,t,e){return null==e&&(e=!1),e&&(n=this.pnorm(n),t=this.pnorm(t)),t=t.replace("*","[\\S]*"),RegExp("^"+t+"$").test(n)},n.pnorm=function(n){return n.length>1&&"/"!==n.slice(-1)&&"*"!==n.slice(-1)?n+"/":n},n.qualify=function(n,t,e){return-1===n.indexOf(":")?t+":"+n+":"+e:n},n.qs=function(n){var t,e,r,i,u,o,f,l;if(f={},"string"!=typeof n)return f;for(n=n.trim().replace(/^(\?|#|&)/,""),o=n.split("&"),t=0,r=o.length;r>t;t++)i=o[t],u=i.replace(/\+/g," ").split("="),e=u.shift(),l=u.length>0?u.join("="):void 0,f[decodeURIComponent(e)]=null!=l?decodeURIComponent(l):null;return f},n}()}).call(this);
}).call(this,require('_process'))
},{"_process":5,"url":4}],"data-layers":[function(require,module,exports){
(function(){exports.DL=function(){function t(){}return t.prototype.enabled=function(){return!1},t.prototype.get=function(t){},t.prototype.push=function(t,n){},t.prototype.sub=function(t){},t.prototype.unsub=function(t){},t}()}).call(this);
},{}],"harness":[function(require,module,exports){
(function(){var t,e,n,o,r,c,u;n="cp-sess",t=2e3,r=function(t){try{return localStorage.getItem(t)}catch(e){}},o=function(t){try{return decodeURIComponent(document.cookie.replace(RegExp("(?:(?:^|.*;)\\s*"+encodeURIComponent(t).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*([^;]*).*$)|^.*$"),"$1"))||null}catch(e){}},module.exports=e={single:!0,sess_get:function(){return r(n)},sess_set:function(t){try{localStorage.setItem(n,t)}catch(e){}},sess_del:function(){try{localStorage.removeItem(n)}catch(t){}},beacon:function(t){navigator.sendBeacon?navigator.sendBeacon(t):e.http("GET",t)},http:function(e,n,o,r){var c;null==o&&(o=t),c=new XMLHttpRequest,null!=r&&(c.onload=function(){return r(!1,c.responseText)},c.ontimeout=function(){return r("timeout")},c.onerror=function(){return r("HTTP error ("+c.status+")")}),c.open(e,n),c.timeout=o,c.send()},st_get:function(t){var e,n;if(t)try{return null!=(e=null!=(n=o(t))?n:sessionStorage.getItem(t))?e:localStorage.getItem(t)}catch(r){}},env_get:function(){var t,e;return{mdn:(t=c())?"m":"n",v:{ua:navigator.userAgent,loc:window.location,ref:window.document.referrer,ts:Date.now()/1e3,tzo:0-(new Date).getTimezoneOffset(),dnt:!t||1===(e=navigator.doNotTrack)||"1"===e||!u(),vid:this.st_get(_d.conf["targ:vid"]),qa:this.st_get(_d.conf["qa:st-key"])},debug:"true"===r("c-conductrics-debug"),muted:"true"===r("c-conductrics-muted")}},log:function(){return"undefined"!=typeof console&&null!==console?console.log.call(this,arguments):void 0}},c=function(){try{return null!=("undefined"!=typeof document&&null!==document?document.querySelector:void 0)&&null!=window.addEventListener&&null!=window.localStorage}catch(t){return!1}},u=function(){var t;try{return t="c-storage-check",localStorage.setItem(t,1),localStorage.removeItem(t),!0}catch(e){return!1}}}).call(this);
},{}],"jsonpack":[function(require,module,exports){
!function(e){e([],function(){var e=-1,r=-2,n=-3,t=-4,i=-5,s=function(s,a){a=a||{},s="string"==typeof s?this.JSON.parse(s):s;var u={strings:[],integers:[],floats:[]},p=function d(s){var a=typeof s;if(null===s)return{type:"null",index:n};if(void 0===s)return{type:"undefined",index:i};if(s instanceof Array){for(var p=["@"],h=0;h<s.length;h++)p.push(d(s[h]));return p}if("object"===a){var p=["$"];for(var c in s)s.hasOwnProperty(c)&&(p.push(d(c)),p.push(d(s[c])));return p}if(""===s)return{type:"empty",index:t};if("string"===a){var g=l.call(u.strings,s);return-1==g&&(u.strings.push(f(s)),g=u.strings.length-1),{type:"strings",index:g}}if("number"===a&&s%1===0){var g=l.call(u.integers,s);return-1==g&&(u.integers.push(o(s)),g=u.integers.length-1),{type:"integers",index:g}}if("number"===a){var g=l.call(u.floats,s);return-1==g&&(u.floats.push(s),g=u.floats.length-1),{type:"floats",index:g}}if("boolean"===a)return{type:"boolean",index:s?e:r};throw Error("Unpack type "+typeof s)}(s),h=u.strings.length,c=u.integers.length,g=(u.floats.length,u.strings.join("|"));return g+="^"+u.integers.join("|"),g+="^"+u.floats.join("|"),g+="^"+function v(e){if(e instanceof Array){for(var r=e.shift(),s=0;s<e.length;s++)r+=v(e[s])+"|";return("|"===r[r.length-1]?r.slice(0,-1):r)+"]"}var a=e.type,f=e.index;if("strings"===a)return o(f);if("integers"===a)return o(h+f);if("floats"===a)return o(h+c+f);if("boolean"===a)return e.index;if("null"===a)return n;if("undefined"===a)return i;if("empty"===a)return t;throw new TypeError("The item is alien!")}(p),a.debug?{dictionary:u,ast:p,packed:g}:g},a=function(s,a){if("string"!=typeof s)return s;a=a||{};var f=s.split("^"),o=[],l=f[0];if(""!==l){l=l.split("|");for(var h=0;h<l.length;h++)o.push(u(l[h]))}if(l=f[1],""!==l){l=l.split("|");for(var h=0;h<l.length;h++)o.push(p(l[h]))}if(l=f[2],""!==l){l=l.split("|");for(var h=0;h<l.length;h++)o.push(parseFloat(l[h]))}l=void 0;for(var c="",g=[],h=0;h<f[3].length;h++){var d=f[3][h];"|"===d||"$"===d||"@"===d||"]"===d?(c&&(g.push(p(c)),c=""),"|"!==d&&g.push(d)):c+=d}var v=g.length,y=0;return function b(){var s=g[y++];if("@"===s){for(var a=[];v>y;y++){var f=g[y];if("]"===f)return a;if("@"===f||"$"===f)a.push(b());else switch(f){case e:a.push(!0);break;case r:a.push(!1);break;case n:a.push(null);break;case i:a.push(void 0);break;case t:a.push("");break;default:a.push(o[f])}}return a}if("$"===s){for(var a={};v>y;y++){var u=g[y];if("]"===u)return a;u=u===t?"":o[u];var f=g[++y];if("@"===f||"$"===f)a[u]=b();else switch(f){case e:a[u]=!0;break;case r:a[u]=!1;break;case n:a[u]=null;break;case i:a[u]=void 0;break;case t:a[u]="";break;default:a[u]=o[f]}}return a}throw new TypeError("Bad token "+s+" isn't a type")}()},f=function(e){return"string"!=typeof e?e:e.replace(/[\+ \|\^\%]/g,function(e){return{" ":"+","+":"%2B","|":"%7C","^":"%5E","%":"%25","~":"%7E"}[e]})},u=function(e){return"string"!=typeof e?e:e.replace(/\+|%2B|%7C|%5E|%25/g,function(e){return{"+":" ","%2B":"+","%7C":"|","%5E":"^","%25":"%","%7E":"~"}[e]})},o=function(e){return Number.prototype.toString.call(e,36).toUpperCase()},p=function(e){return parseInt(e,36)},l=Array.prototype.indexOf||function(e,r){for(var n=r||0,t=this.length;t>n;n++)if(this[n]===e)return n;return-1};return{JSON:JSON,pack:s,unpack:a}})}("undefined"!=typeof define&&define.amd?define:function(e,r){var n=r();if("undefined"!=typeof exports)for(var t in n)exports[t]=n[t];else window.jsonpack=n});
},{}],"loader":[function(require,module,exports){
(function(){exports.Loader=function(){function n(){}return n}()}).call(this);

},{}]},{},[3,8,9,10]);
;
var run = (typeof window != 'undefined' && typeof window.name === 'string' && window.name != '__c-wa-ipe') && !( true && (window.location.search.indexOf('__c-token') >= 0) );
if (window.Conductrics && window.Conductrics.express == false) { run = false }
if (run) { new Conductrics.ClientApi({"entry":"wax","debug":false,"globalEvents":true}).run(); }(function(){var t,e,n,o=function(t,e){return function(){return t.apply(e,arguments)}},i=[].slice;e=function(){function e(e,n){switch(null==e&&(e={}),this.doc=null!=n?n:document,this.goalParser=o(this.goalParser,this),this.agentParser=o(this.agentParser,this),this.onEvent=o(this.onEvent,this),this.cq=new t(e.jQuery,this.doc),this.options=this.cq.defaults(e,{log:null!=("undefined"!=typeof console&&null!==console?console.log:void 0)&&"true"===("undefined"!=typeof localStorage&&null!==localStorage?localStorage.getItem("c-conductrics-debug"):void 0),events:"click mouseover change",agentAttribute:"data-agent",textAttribute:"data-text",swapAttribute:"data-frag",goalAttribute:"data-goal",goalOnAttribute:"data-goal-on",variationClass:"c-variation",defaultClass:"c-default",doneClass:"c-m-done",fallbackClass:"c-m-fallback",agentParser:this.agentParser,goalParser:this.goalParser,autoGoals:{a:{},g:{}},reapply:!1,reapplyWatchSelector:null,styleId:"c-ms",ajaxTimeout:3e3,cookies:!0,cookieName:"cp-id",api:"local"}),!1){case!(e.api instanceof Conductrics.ClientApi):this.exec=this._exec_local;break;case"local"!==e.api:this.exec=this._exec_local,e.api=new Conductrics.ClientApi;break;case"string"!=typeof e.api:this.exec=this._exec_ajax;break;default:throw Error("Unknown executor")}this.addListeners()}var s,l,a;return e.prototype.find=function(){return{agents:this.findAgents()}},e.prototype.findAgents=function(){var t,e,n,o,i,s,l,r,u,c,d,p,h,f,g,y,v,m,b;for(p=this.options,n={},f=[p.textAttribute+"-",p.swapAttribute+"-"],g=this.cq.select("["+p.agentAttribute+"]"),s=0,u=g.length;u>s;s++)if(i=g[s],y=p.agentParser(i),t=y.a,m=y.v,a(t)){for(e=null!=n[t]?n[t]:n[t]={variations:{}},b=function(t){var n,o,s;return s=null!=(n=e.variations)[o=t.toLowerCase()]?n[o]:n[o]={els:[]},s.els.push(i)},null!=m&&b(m),v=i.attributes,l=0,c=v.length;c>l;l++)for(o=v[l],r=0,d=f.length;d>r;r++)h=f[r],m=o.name.split(h)[1],a(m)&&b(m);this.cq.addClass(i,p.variationClass),this.log("Found element for agent "+t+":",i)}return n},e.prototype.process=function(t){var e;null==t&&(t=function(){}),e=this.options,0===this.cq.select("style#"+e.styleId).length&&this.cq.addStyleTag("."+e.variationClass+" {display: none !important}",e.styleId),this.cq.ready(function(o){return function(){var i,l;return o.cq.select("html."+e.fallbackClass).length>0?(o.log("Aborting due to "+e.fallbackClass),t()):(l=o.find(),i=s(l),o.exec(i,function(i,s){var a,r,u,c;return i?t(i):(o.applySelections(null!=s?s.sels:void 0,l),o.onDocLoad(l),o.cq.addClass(o.doc.documentElement,e.doneClass),e.reapply&&(r=e.reapplyWatchSelector)&&(c=o.cq.select(r),c.length>0&&(o.log("Will watch for changes to '"+r+"' ("+c.length+")"),a=function(){return o.applySelections(null!=s?s.sels:void 0,o.find())},u=new n(a,c),u.start())),t())}))}}(this))},e.prototype.addListeners=function(){var t,e,n,o;for(o=this.options.events.split(" "),e=0,n=o.length;n>e;e++)t=o[e],this.doc.addEventListener(t,this.onEvent)},e.prototype.removeListeners=function(){var t,e,n,o;for(o=this.options.events.split(" "),e=0,n=o.length;n>e;e++)t=o[e],this.doc.removeEventListener(t,this.onEvent)},e.prototype.onEvent=function(t){var e,n,o,i,s,l;null==t&&(t=window.event),i=this.options.goalParser(t.target),o=i.g,n=i.e,l=i.v,n===t.type&&a(o)&&("string"==typeof l&&(l=parseFloat(l)),isFinite(l)||(l=void 0),s=Object.keys(this.findAgents()),this.log("Goal '"+o+"' detected (value "+(null!=l?l:"default")+") ["+s+"]"),e=[{g:o,v:l,to:s}],this.exec(e,function(t){return function(t,e){}}(this)))},e.prototype.onDocLoad=function(t){var e,n,o,i,s,l;for(l="["+this.options.goalOnAttribute+"='load']",s=this.cq.select(l),o=0,i=s.length;i>o;o++)e=s[o],this.onEvent(n={type:"load",target:e})},e.prototype.applySelections=function(t,e){var n,o,i,s,a,r,u,c,d,p,h,f,g,y,v,m,b,q,x,C,w,j,k;null==t&&(t={}),v=this.options,m=e.agents;for(n in m)if(o=m[n],w=null!=(b=t[n])?b.toLowerCase():void 0,null==o.variations[w]&&(w=Object.keys(o.variations)[0],this.log("Using fallback variation '"+w+"' for '"+n+"'")),k=o.variations[w],a=v.autoGoals,r=null!=(q=a.a)?q[n]:void 0,u=null!=(x=a.g)?x[r]:void 0,null!=(d=k.els))for(h=0,g=d.length;g>h;h++){if(c=d[h],c.hasAttribute(s=v.textAttribute+"-"+w)&&this.cq.textSet(c,l(c,s)),c.hasAttribute(s=v.swapAttribute+"-"+w)&&null!=(p=document.getElementById(l(c,s)))&&this.cq.htmlSet(c,p.innerText),u&&(i=function(t){return t.hasAttribute(v.goalAttribute)?void 0:t.setAttribute(v.goalAttribute,r)},i(c),u.sel))for(C=this.cq.select(u.sel,c),f=0,y=C.length;y>f;f++)j=C[f],i(j);this.log("showing element",c),this.show(c)}},e.prototype.show=function(t){this.cq.removeClass(t,this.options.variationClass)},e.prototype._exec_local=function(t,e){var n,o;return 0===t.length?e():(n=null!=(o=this.options.api)?o:new Conductrics.ClientApi,void n.exec(t,e))},e.prototype._exec_ajax=function(t,e){var n,o,i;o=this.sessionId(),i=this.options.api+"&session="+escape(o),n=function(t){return e(!1,null!=t?t.data:void 0)},this.cq.ajax({method:"post",url:i,timeout:this.options.ajaxTimeout,data:JSON.stringify({commands:t}),contentType:"text/plain",dataType:"json",success:n,error:n})},e.prototype.sessionId=function(){var t,e,n;switch(e=this.options,!1){case null==e.session:return e.session;case e.cookies!==!0:return t=e.cookieName,n=this.cq.cookieGet(t),null!=n?n:(n="cs-"+Math.round(1e6*Math.random()),this.cq.cookieSet(t,n,e.cookiePath,e.cookieDomain,e.cookieMaxAge),n);default:return}},e.prototype.agentParser=function(t){var e,n,o,i;return null==t&&(t={}),n=l(t,this.options.agentAttribute,""),o=n.split(" "),e=o[0],i=o[1],{a:e,v:i}},e.prototype.goalParser=function(t){var e,n,o,i,s,a;return null==t&&(t={}),i=this.options,e=l(t,i.goalAttribute,""),s=e.split(" "),o=s[0],a=s[1],n=l(t,i.goalOnAttribute,"click"),{g:o,e:n,v:a}},l=function(t,e,n){var o;return null!=(o="function"==typeof t.getAttribute?t.getAttribute(e):void 0)?o:n},e.prototype.log=function(){var t;t=1<=arguments.length?i.call(arguments,0):[],this.options.log&&console.log.apply(this,["[Markup]"].concat(t))},a=function(t){return"string"==typeof t&&t.length>0},s=function(t){var e,n;n=[];for(e in t.agents)n.push({a:e});return n},e}(),t=function(){function t(t,e){this.doc=null!=e?e:document,this.jq=t===!1?void 0:null!=t?t:window.jQuery}return t.prototype.select=function(t,e){return null==e&&(e=this.doc),null!=this.jq?this.jq(t,e):e.querySelectorAll(t)},t.prototype.addClass=function(t,e){var n;if(null!=(n=t.classList)?!n.contains(e):!0)switch(!1){case null==this.jq:this.jq(t).addClass(e);break;case!t.classList:t.classList.add(e);break;case!t.className:t.className+=" "+e}},t.prototype.removeClass=function(t,e){switch(!1){case null==this.jq:this.jq(t).removeClass(e);break;case!t.classList:t.classList.remove(e);break;default:t.className=t.className.replace(RegExp("(^|\\b)"+e.split(" ").join("|")+"(\\b|$)","gi")," ")}},t.prototype.ready=function(t){var e,n;if(null==t&&(t=function(){}),null!=this.jq)this.jq(this.doc).ready(function(){return t()});else switch(e=this.doc,n=function(){var t;return"complete"===(t=e.readyState)||"interactive"===t},!1){case!n():return t();case null==e.attachEvent:e.attachEvent("onreadystatechange",function(){return n()?t():void 0});break;default:e.addEventListener("DOMContentLoaded",function(){return n()?t():void 0})}},t.prototype.addStyleTag=function(t,e){var n,o;null!=this.jq?this.jq("head").append("<style type='text/css' id='"+e+"'>"+t+"</style>"):(o=document.createElement("style"),o.id=e,o.type="text/css",null!=o.styleSheet?o.styleSheet.cssText=t:o.appendChild(document.createTextNode(t)),n=document.getElementsByTagName("head")[0],n.appendChild(o))},t.prototype.show=function(t){var e;null!=this.jq?this.jq(t).show():(e=getDefaultDisplay(t),styleSet(t,"display",e))},t.prototype.cookieGet=function(t){return decodeURIComponent(document.cookie.replace(RegExp("(?:(?:^|.*;)\\s*"+encodeURIComponent(t).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*([^;]*).*$)|^.*$"),"$1"))||null},t.prototype.cookieSet=function(t,e,n,o,i){var s;null==n&&(n="/"),null==o&&(o=31536e3),s=encodeURIComponent(t)+"="+encodeURIComponent(e)+";path="+n,null!=i&&(s+=";domain="+i),null!=o&&(s+=";max-age="+o),document.cookie=s},t.prototype.styleGet=function(t,e){var n,o,i,s;return null!=this.jq?this.jq(t).css(e):null!=(n=null!=(o="function"==typeof t.getComputedStyle?t.getComputedStyle(e):void 0)?o:null!=(i=t.currentStyle)?i[e]:void 0)?n:null!=(s=t.style)?s[e]:void 0},t.prototype.styleSet=function(t,e,n){var o;null!=this.jq?this.jq(t).css(e,n):null!=(o=t.style)&&(o[e]=n)},t.prototype.textSet=function(t,e){null!=this.jq?this.jq(t).text(e):t.innerText=e},t.prototype.htmlSet=function(t,e){null!=this.jq?this.jq(t).html(e):t.innerHTML=e},t.prototype.ajax=function(t){var e,n,o,i,s;return null==this.jq?(s=function(t){var e,n,o,i;for(i=["http:","https:"],e=0,n=i.length;n>e;e++)if(o=i[e],0===t.indexOf(o))return t.slice(o.length);return t},e=function(t,e){var n;return null==e&&(e="GET"),"undefined"!=typeof XMLHttpRequest&&null!==XMLHttpRequest&&(n=new XMLHttpRequest),null!=(null!=n?n.withCredentials:void 0)?n.open(e,t,!0):"undefined"!=typeof XDomainRequest&&null!==XDomainRequest?(n=new XDomainRequest,n.open(e,s(t))):n=null,n},i=e(t.url,null!=(o=t.method)?o:t.type),null!=t.success&&(i.onload=function(){return t.success}),null!=t.error&&(i.onerror=t.error,i.ontimeout=t.error),null!=t.timeout&&(i.timeout=t.timeout),i.send(JSON.stringify(t.data)),i):(null!=t.method&&(t.type=t.method),this.jq.ajax(t),n=function(t){var e,n,o,i;return n=t.ownerDocument,o=t.nodeName,(e=defaultDisplayMap[o])?e:(i=n.body.appendChild(n.createElement(o)),e=this.styleGet(t,"display"),i.parentNode.removeChild(i),"none"===e&&(e="block"),defaultDisplayMap[o]=e,e)})},t.prototype.defaults=function(t,e){var n;for(n in e)null==t[n]&&(t[n]=e[n]);return t},t}(),n=function(){function t(t,e,n,i){this.cb=t,this.targets=null!=e?e:[],this.opts=null!=n?n:{subtree:!0,childList:!0},this.max=null!=i?i:100,this.on=o(this.on,this);try{this.o=new MutationObserver(this.on)}catch(s){}this.n=0}return t.prototype.start=function(){var t,e,n,o,i,s;for(n=this.targets,i=[],t=0,e=n.length;e>t;t++)s=n[t],i.push(null!=(o=this.o)?o.observe(s,this.opts):void 0);return i},t.prototype.stop=function(){var t;return null!=(t=this.o)?t.disconnect():void 0},t.prototype.on=function(t,e){return this.n++<=this.max?(this.stop(),this.cb(),this.start()):void 0},t}(),"undefined"!=typeof window&&null!==window&&((null!=window.Conductrics?window.Conductrics:window.Conductrics={}).Comma=e),("undefined"!=typeof define&&null!==define?define.amd:void 0)&&define(["Comma"],e),("undefined"!=typeof module&&null!==module?module.exports:void 0)&&(module.exports=e)}).call(this);
new Conductrics.Comma({"variationClass":"c-variation"}).process();}() )