;(function() {'use strict';
var _dd = {"targ":{"v":{"geo/cy":"US","geo/ct":"NA","geo/dm":"i"}}};  var _d =  'A|rc_toutv_unsubscribe_v2|a|s|running|c|a:sd-ttl|fs|geo/dm|ua/os|ua/br|ua/mo|dt/wp|cust/toutv_feature|w|B|E|md|dc|drts|T|a-bml4Xq2BIM|paused|C|D|a-jYZDLRFfzp|a-Yl3fES42iM|a-AIjpawDXn7|a-AreEFMngeD|a-uoIkAhyJUH|ts|f|*|v|n|rank|overAll|var|mean|exp|sum|sqsum|perOption|q|left|right|depth|nodeCount|tabu|a-zpLFjAVmu1|section|sports/olympics/winter/highlights|headlineLink|https://www.cbc.ca/player/sports/olympics/winter/highlights|headlineText|Highlights|sports/olympics/winter/replays|https://www.cbc.ca/player/sports/olympics/winter/replays|Replays|a-qQarxT1cMH|a-k2y73xEBDd|F|a-WxDnYZcfBT|a-M1W2dFHUhj|G|g-9U3ooc8QdG|sec|ext|g-inf-click-rec|g-inf-click-chronique-analyse|g-inf-click-populaires|g-r9o3JNRGeZ|g-697OJOVwOb|g-tmEOI9LnHU|g-192FK4zOl8|me|l|al|cust/lotame-segment|cust/theme|cust/has_regions|cust/lotame-audience|cust/aud|conf|dl:key-sl|conductrics_selection|dl:cdl|dl:cdl-key|c_conductrics_data_layer|x-ga:wgi|wa:gpa-att|data-c-a|learning-agent:learning-exploration-rate|js:ps-q|wa:ready|rt:spa-states|#init|CLOSED|COMMENTED|LISTENED|LOADED|LOADED-MORE|OPENED|READ|SEARCHED|SELECTED|SIGNED-IN|SIGNED-OUT|STREAMED|SUBSCRIBED|SUBMITTED|UNSUBSCRIBED|WATCHED|lotame-loaded|rt:spa-states-m|js:preboot-eps|wax|rt:spa-states-pb|dl:key-tr|conductrics_traits|rt:av-sels|event-queue:sqs-url|https://sqs.us-east-1.amazonaws.com/661082963978/conductrics-30-cbc-queue|x-ga:gtm|x-ga:gat|x-ga:gao|admin-ui-server-d2:url|https://console-d2-cbc-v3.conductrics.com|admin-ui-server:url|https://console-cbc-v3.conductrics.com|qa:v-qa|js:debug-all|qa:env|acc:env|p|acc:code|ac-zNSqTXgWDt|rt:tr-ids|cust/toutv_feature:hd_premium|#f1|cust/toutv_feature:hd-premium_sans-pub|#f2|cust/toutv_feature:aucun-feature|#f3|cust/toutv_feature:unspecified|#f4|cust/toutv_feature:hd_premium_sans-pub|#f5|cust/lotame-segment:lotame-segment-id|#f6|cust/theme:dark|#f7|cust/theme:light|#f8|cust/has_regions:has_regions|#f9|cust/has_regions:no_regions|#f10|cust/lotame-audience:test|#f11|cust/lotame-audience:GroupA|#f12|cust/lotame-audience:GroupB|#f13|cust/lotame-audience:gre|#f14|cust/lotame-audience:GroupA2|#f15|cust/lotame-audience:11111|#f16|cust/lotame-audience:837028|#f17|cust/lotame-audience:123|#f18|cust/lotame-audience:patato|#f19|cust/lotame-audience:apple|#f20|cust/lotame-audience:berry|#f21|cust/lotame-audience:salad|#f22|cust/lotame-audience:tomato|#f23|cust/lotame-audience:821842|#f24|cust/lotame-audience:800101-test|#f25|cust/lotame-audience:338489|#f26|cust/lotame-audience:779956|#f27|cust/aud:508498|#f28|pass:ua|pass:ip|pass:loc|pass:vid|pass:sid|pass:qa|pass:qax|targ:traits-agent-max|a:vis-ttl|rt:sl-rate|targ:lookup-url|//api-cbc-v3.conductrics.com/ac-zNSqTXgWDt/v3/agent-api/resolver|targ:ext-tms|acc:c-dom|CA|dl:key-vs|conductrics_vstate|dl:key-ex|conductrics_commands|dl:past-events|targ:vid|qa:st-key|c-conductrics-qa|rt:a_codes|rt:g_codes|diag|module|root|items|entry|wax-pre|api|api-steps|group|pre|features-profile|types|diags|decision|agent|conds|select|choices|policy|api-selected-item|reward|goal|countMax|valueDef|rw|api-video-swimlane|api-serp-info-card|test-flowlet|api-task|task|wa-entry|wa-start|wa-decision|r|wa-await|selectors|one|ok|${v.sels::a-M1W2dFHUhj::c}|is|${v.loc.qx}|ew|cbc.ca/account/profile|condsName|vstates|wa-goal|${v.loc.path}|mp|ev_conds|event|click|eventSelector|.membership-local-logo|dl_eventName|dl_crit|wa-reward|.membership-local-link|mdn_only|flow|f-vBLHMPIjsJ|acc|k|api-tmcIKLoOJOCyesvewQIB|rt|https:////api-cbc-v3.conductrics.com/ac-zNSqTXgWDt/v3/agent-api/js/f-vBLHMPIjsJ/dt-j8cr9H0FLuClP05ufJyktE9whuke2M?apikey=api-tmcIKLoOJOCyesvewQIB|js|ds|b|eph|tt|ttt|mvt|3.7.6|211224.3|m|d|dt-j8cr9H0FLuClP05ufJyktE9whuke2M^PTB6JF|PZUIXW|R29SUI|R29SUP|R5LRWL|R5LRYK|R2SAUK|KYT4W9ZM|1|27MD|27MD|1EEO|66V2|DPJ|CPC|1O86|E01|CLC|1HRM|DSU|CIM|1GZG|DXR|CLE|1JVU|0|1|R3RFFN|R5PIWS|R68IXE|R5PJ45|R5YN6A|1JK00|6Y|1E0|0|1JK|2R|1|F|2R|1|F|2R|1|F|A|1|F|A|1|F|A|1|F|A|1|F|R68UY2|R68UXZ^3.1928899858016324|0.9090883789538136|3.5346977547387346|0.9266617887094051|3.0314949252615735|0.8994213281895839|3.0167845677236858|0.9069663423906966|3.193289443713204|0.9036151248408348|0.9247915501577728|0.9003546808903228|0.9071747937642416|0.904159430948413|0.014105579492176779|0.012926220492595104|0.012987854993896718|0.013296760715845693|0.2^$0|$1|$2|$3|4|5|$6|-5]]|7|@8|9|A|B|C|D]|E|$F|-5|G|-5]|H|$F|$]|G|$]]|I|F|J|88|K|-5]|L|$2|$3|M|5|$6|-5]]|7|@8|9|A|B|C]|E|$0|-5|F|-5|N|-5|O|-5]|H|$0|$]|F|$]|N|$]|O|$]]|I|0|J|89|K|-5]|P|$2|$3|M|5|$6|-5]]|7|@8|9|A|B|C]|E|$0|-5|F|-5]|H|$0|$]|F|$]]|I|F|J|8A|K|-5]|Q|$2|$3|M|5|$6|-5]]|7|@8|9|A|B|C]|E|$0|-5|F|-5]|H|$0|$]|F|$]]|I|F|J|8B|K|-5]|R|$2|$3|4|5|$6|-5]]|7|@8|9|A|B|C]|E|$0|-5|F|-5]|H|$0|$]|F|$]]|I|0|J|8C|K|-5]|S|$2|$3|4|5|$6|-5]]|7|@8|9|A|B|C]|E|$0|-5|F|-5]|H|$0|$]|F|$]]|I|0|J|8D|K|-5]|T|$2|$3|M|5|$6|-5]]|7|@8|9|A|B|C]|E|$0|-5|F|-5|N|-5|O|-5]|H|$0|$]|F|$]|N|$]|O|$]]|I|0|J|8E|K|$U|8F|V|W|X|8G|Y|8H|Z|@0|N|O|F]|10|$11|9W|12|9X|13|8I|14|8J|15|8K]|16|$0|$11|9Y|12|9Z|13|8L|14|8M|15|8N]|F|$11|A0|12|A1|13|8O|14|8P|15|8Q]|N|$11|A2|12|A3|13|8R|14|8S|15|8T]|O|$11|A4|12|A5|13|8U|14|8V|15|8W]]|17|$0|A6|F|A7|N|A8|O|A9]|11|$0|AA|F|AB|N|AC|O|AD]|18|-3|19|-3|1A|8X|1B|8Y|1C|@]]]|1D|$2|$3|4|5|$6|-5]]|7|@8|9|A|B|C]|E|$0|-5|F|-5]|H|$0|$1E|1F|1G|1H|1I|1J]|F|$1E|1K|1G|1L|1I|1M]]|I|0|J|8Z|K|-5]|1N|$2|$3|4|5|$6|-5]]|7|@8|9|A|B|C]|E|$0|-5|F|-5]|H|$0|$]|F|$]]|I|0|J|90|K|-5]|1O|$2|$3|4|5|$6|-5]]|7|@8|9|A|B|C]|E|$0|-5|F|-5|N|-5|O|-5|G|-5|1P|-5]|H|$0|$]|F|$]|N|$]|O|$]|G|$]|1P|$]]|I|0|J|91|K|-5]|1Q|$2|$3|4|5|$6|-5]]|7|@8|9|A|B|C]|E|$0|-5|F|-5]|H|$0|$]|F|$]]|I|0|J|92|K|-5]|1R|$2|$3|4|5|$6|-5]]|7|@8|9|A|B|C]|E|$0|-5|F|-5]|H|$0|$]|F|$]]|I|0|J|93|K|-5]]|1S|$1T|$2|@1]|1U|@]|1V|-5]|1W|$2|@R|S]|1U|@]|1V|-5]|1X|$2|@R]|1U|@]|1V|-5]|1Y|$2|@S]|1U|@]|1V|-5]|1Z|$2|@1D]|1U|@]|1V|-5]|20|$2|@1R]|1U|@]|1V|-5]|21|$2|@1R]|1U|@]|1V|-5]|22|$2|@1O]|1U|@]|1V|-5]]|K|$D|$23|24|25|$]]|26|$23|24|25|$]]|27|$23|24|25|$]]|28|$23|24|25|$]]|29|$23|2|25|$]]|2A|$23|2|25|$]]]|2B|$2C|2D|2E|-5|2F|2G|2H|-5|2I|2J|2K|AE|2L|-5|2M|-2|2N|@2O|2P|2Q|2R|2S|2T|2U|2V|2W|2X|2Y|2Z|30|31|32|33|34|35]|36|@2Q|2S|2T|2W|30|31|32|33]|37|@38]|39|@2O]|3A|3B|3C|-5|3D|3E|3F|-2|3G|-5|3H|-5|3I|3J|3K|3L|3M|-2|3N|-2|3O|17|3P|3Q|3R|3S|3T|$3U|3V|3W|3X|3Y|3Z|40|41|42|43|44|45|46|47|48|49|4A|4B|4C|4D|4E|4F|4G|4H|4I|4J|4K|4L|4M|4N|4O|4P|4Q|4R|4S|4T|4U|4V|4W|4X|4Y|4Z|50|51|52|53|54|55|56|57|58|59|5A|5B|5C|5D]|5E|-5|5F|-5|5G|-5|5H|-5|5I|-5|5J|-5|5K|-5|6|94|5L|95|5M|96|5N|97|5O|5P|5Q|98|5R|@5S]|5T|5U|5V|5W|5X|-5|5Y|-5|5Z|60|61|@1|R|S|1D|1N|1R|1O|1Q]|62|@1T|1W|1X|1Y|1Z|20|21|22]]|63|$64|65|66|@$64|67|67|68|66|@]]|$64|67|67|69|66|@$64|6A|66|@$64|6B|6B|6C|66|@$64|6D|6E|@]|66|@]]]]]|6F|$L|$64|6G|6H|L|6I|@]|66|@$64|6J|6H|L|6K|@0]|6L|3Q|66|@]]]]|T|$64|6G|6H|T|6I|@]|66|@$64|6J|6H|T|6K|@0]|6L|3Q|66|@]]]]|6M|$64|6N|6O|6M|6P|99|6Q|9A|6R|9B]|6S|$64|6N|6O|6S|6P|9C|6Q|9D|6R|9E]|6T|$64|6N|6O|6T|6P|9F|6Q|9G|6R|9H]|20|$64|6N|6O|20|6P|9I|6Q|9J|6R|9K]|21|$64|6N|6O|21|6P|9L|6Q|9M|6R|9N]|6U|$64|6V|6W|6U|66|@]]]]]]|$64|67|67|38|66|@$64|6X|66|@$64|6B|6B|6C|66|@$64|6D|6E|@]|66|@]]]]|$64|6Y|66|@$64|6Z|6H|1R|66|@$64|6G|6H|1R|66|@$64|6J|6H|1R|6K|@0|F]|6L|70|3|3Q|66|@]]|$64|71|72|@]|73|-2|66|@$64|6G|6H|1R|3|74|6I|@]|66|@$64|6J|6H|1R|6K|@0|F]|6L|70|3|74|66|@]]]]]|6I|@@75|76|0]]]|$64|71|72|@]|73|-2|66|@$64|6G|6H|1R|3|74|6I|@]|66|@$64|6J|6H|1R|6K|@0|F]|6L|70|3|74|66|@]]]]]|6I|@@75|76|F]]]]|3|3Q|6I|@]]]|6I|@@77|78|79]]|7A|79|7B|@2O]]]]|$64|7C|6O|20|6I|@@7D|7E|W]]|7F|@]|7G|7H|7I|7J|7K|-4|7L|@]|66|@$64|7M|6O|20|66|@$64|6N|6O|20|6P|9O|6Q|9P|6R|9Q]]]]]|$64|7C|6O|21|6I|@@7D|7E|W]]|7F|@]|7G|7H|7I|7N|7K|-4|7L|@]|66|@$64|7M|6O|21|66|@$64|6N|6O|21|6P|9R|6Q|9S|6R|9T]]]]]]|6I|@]|7O|-1]]]]|7P|7Q]|7R|$5|3S|7S|7T]|7U|$3|7V|7W|-5|3Q|-2|U|9U|7X|7Y|7Z|@]|80|@8|9|A|B|C]|81|@8|9|A|B|C]]|82|-3|X|$X|83|7Y|84|85|9V|86|87]]';  var _wa_preboot = function(visitor_callback) {visitor_callback({authenticated:CBC.APP.SC.DTM.DATA.authenticated===!0?"yes":"no"},{selection_callback:function(e,t){CBC.APP.AB.Experiments=CBC.APP.AB.Experiments||{},CBC.APP.AB.Experiments.ids=CBC.APP.AB.Experiments.ids||[],CBC.APP.AB.Experiments.variants=CBC.APP.AB.Experiments.variants||[],-1===CBC.APP.AB.Experiments.ids.indexOf(t)&&CBC.APP.AB.Experiments.ids.push(t),-1===CBC.APP.AB.Experiments.variants.indexOf(e[t].c)&&CBC.APP.AB.Experiments.variants.push(t+"|"+e[t].c),CBC.APP.AB.setUserPropertyExperiments&&"function"==typeof CBC.APP.AB.setUserPropertyExperiments&&CBC.APP.AB.setUserPropertyExperiments()}});}; var _wa_cjs = {  }; 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;if((a=null!=(i=null!=(l=t.steps)?l:e.r.steps)?i:[]).length>0){for(null==t.items&&(t.items=[]),null==t._items&&(t._items=t.items.concat()),s={module:"group",items:[]},n=0,r=a.length;r>n;n++)m=a[n],s.items.push({module:"step-set",step:m}),null!=(o=t.diags[null!=(u=null!=(p=m.a)?p:m.g)?u:m.t])&&s.items.push(o);0,"pre"!==(null!=(c=t._items[0])?c.group:void 0)&&e.log("No prelude!","e"),t.items=t._items.concat(),t.items.splice(1,0,s)}},o}(t)}).call(this);
},{"../diagrams":16}],"./modules/api-task":[function(require,module,exports){
(function(){var t,r=function(t,r){function n(){this.constructor=t}for(var p in r)o.call(r,p)&&(t[p]=r[p]);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.log("Task: '"+t.task+"'","a")},o}(t)}).call(this);
},{"../diagrams":16}],"./modules/condition":[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":16}],"./modules/decision":[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){var n;return!(t.qa&&(n=r.qa(),r.log("QA-only agent '"+t.agent+"' (QA visitor? "+n+")","q"),!n))},n.prototype.getConds=function(t,r){return r.selPre(t.agent)?(r.log("Skipping entry conditions for '"+t.agent+"'","q"),[]):t.conds},n}(t)}).call(this);
},{"../diagrams":16}],"./modules/entry":[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.active=function(t,r){return r.data["d.ep"]===t.entry},o}(t)}).call(this);
},{"../diagrams":16}],"./modules/features-profile":[function(require,module,exports){
arguments[4]["./modules/condition"][0].apply(exports,arguments)
},{"../diagrams":16,"dup":"./modules/condition"}],"./modules/group":[function(require,module,exports){
arguments[4]["./modules/condition"][0].apply(exports,arguments)
},{"../diagrams":16,"dup":"./modules/condition"}],"./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},0===(c=this.rewarder.handleStep(r,f,s)).items.length&&r.log("No agents to reward for "+e.goal,"g"),p={g:e.goal,rs:[]},o=0,n=(i=c.items).length;n>o;o++)null!=(a=i[o])&&(r.log("Reward of "+f.value+" ("+a.v+" accepted) to agent "+a.a+" for goal "+a.g,"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":10,"../../../utils":20,"../diagrams":16}],"./modules/root":[function(require,module,exports){
arguments[4]["./modules/condition"][0].apply(exports,arguments)
},{"../diagrams":16,"dup":"./modules/condition"}],"./modules/select":[function(require,module,exports){
(function(){var n,e,t=function(n,e){function t(){this.constructor=n}for(var o in e)s.call(e,o)&&(n[o]=e[o]);return t.prototype=e.prototype,n.prototype=new t,n.__super__=e.prototype,n},s={}.hasOwnProperty;n=require("../diagrams").M,require("../../../utils"),e=require("../../../selection"),exports.m=function(n){function s(n){this.conf=n,this.chooser=new e.Chooser(this.conf),s.__super__.constructor.call(this,this.conf)}return t(s,n),s.prototype.process=function(n,e){var t,conf,s,o,l,r,a,c,i,p,u,d,f,h,g,y,_,m,w,v,k,x,A,b,q,C,j,O,D,M,N,P;if(conf=this.conf,null==e.sess)throw"No session for dec";if(C=e.data,j=null!=(h=e.step)?h:{},t=null!=(g="undefined"!=typeof _d&&null!==_d?_d.A[n.agent]:void 0)?g:{a:{c:{}},md:{}},N="p"===(O=null!=(y=n.s)?y:j.s),P="ok"===O,!0!==j.discard||j.a!==n.agent)if(D={a:n.agent,c:function(){switch(!1){case!(j.a===n.agent&&null!=j.c):return j.c;default:return n.choices}}(),x:null!=(_=j.x)?_:[],p:n.policy,exr:n.exr,gdy:n.gdy,n:function(){var e,t;switch(typeof n.num){case"number":return null!=(e=null!=(t=j.n)?t:n.num)?e:1;default:return}}(),w:t.w},null!=(O=t.a.s)){if("running"!==O&&(D.p="p"),(b=this.chooser.handleStep(e,D)).s=N&&"ok"!==b.ps?"p":"ok",i=!N,c=P&&"p"===b.ps,A=null!=(m=b.pp)?m:b.p,"p"===n.rap&&(A=b.p=n.rap),e.selAdd(b),c?e.log("Confirming selection '"+b.c+"' for agent '"+n.agent+"'","a"):(e.log("selection '"+b.c+"' for agent '"+n.agent+"' (policy "+b.p+", traits ["+b.fs+"])","a"),"p"===b.s&&e.log("selection for '"+n.agent+"' is pending","a")),(!N&&"p"!==(w=b.p)&&"b"!==w&&"s"!==w&&"x"!==w||c)&&e.done({t:"d",a:D.a,c:Array.isArray(b.c)?b.c.join(","):b.c,p:A,fs:b.fs,dts:b.ts}),"api"===C["d.ep"]&&(n.silent||j.silent||e.resp({a:D.a,c:b.c,p:b.p,md:null!=(v=t.md[b.c])?v:{},s:b.s})),i&&null!=e.handlers){for(p in q={},k=C["v.sels"])M=k[p],q[p]={c:M.c,p:M.p};for(a=0,d=(x=e.handlers).length;d>a;a++){r=x[a];try{r(q,D.a)}catch(n){l=n,e.log("Could not call post-selection handler: "+l,"e")}}}if(i&&(s=function(){var n,e,t,s;return t={item:{t:"s",a:D.a,c:b.c,p:A,a_name:D.a,c_name:b.c},ep:C["d.ep"]},(e=(n=null!=(s=_d.A[D.a])?s:{}).cn)&&Object.assign(t.item,{a_name:n.n,c_name:e[b.c]}),t},(o=e.r._dl).enabled()&&(u=conf["dl:key-sl"],o.push(u,s())),conf["dl:cdl"]))try{return(null!=window[f=conf["dl:cdl-key"]]?window[f]:window[f]=[]).push(s())}catch(n){}}else e.log("Unknown agent '"+n.agent+"' or status '"+O+"'","a");else e.selDel(n.agent)},s}(n)}).call(this);
},{"../../../selection":11,"../../../utils":20,"../diagrams":16}],"./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":16}],"./modules/switch":[function(require,module,exports){
(function(){var t,o,r,n={}.hasOwnProperty;o=(r=require("../diagrams")).M,t=r.Conds,exports.m=function(o){function r(){return r.__super__.constructor.apply(this,arguments)}return function(t,o){function r(){this.constructor=t}for(var e in o)n.call(o,e)&&(t[e]=o[e]);r.prototype=o.prototype,t.prototype=new r,t.__super__=o.prototype}(r,o),r.prototype.process=function(o,r){var n,e,s,i;for(o.items=[],e=0,s=(i=o.cases).length;s>e;e++)if(n=i[e],t.evalConds(n.conds,r))return void(o.items=n.items)},r}(o)}).call(this);
},{"../diagrams":16}],"./modules/wa-await":[function(require,module,exports){
(function(){var r,e,t=function(r,e){function t(){this.constructor=r}for(var n in e)o.call(e,n)&&(r[n]=e[n]);return t.prototype=e.prototype,r.prototype=new t,r.__super__=e.prototype,r},o={}.hasOwnProperty;r=require("../diagrams").M,e=require("sentinel-js"),exports.m=function(r){function o(){return o.__super__.constructor.apply(this,arguments)}return t(o,r),o.prototype.process=function(r,t,o){var n,u,s,c,i,l,p;if(!(r.selectors.length>0))return!1;for(n=0,l=function(){return r.resumed?void 0:(t.log("Selector found ("+p+")","s"),o.resume(r,t),r.resumed=!0)},u=0,s=(i=r.selectors).length;s>u;u++){if(p=i[u],c=document.querySelectorAll(p).length>0,t.log("Selector matches? "+c+" ("+p+")","x"),c&&!0===r.one)return!1;c||(e.on(p,l),n++)}return n>0},o}(r)}).call(this);
},{"../diagrams":16,"sentinel-js":6}],"./modules/wa-decision":[function(require,module,exports){
(function(){var t,r=function(t,r){function e(){this.constructor=t}for(var o in r)n.call(r,o)&&(t[o]=r[o]);return e.prototype=r.prototype,t.prototype=new e,t.__super__=r.prototype,t},n={}.hasOwnProperty,e=[].indexOf||function(t){for(var r=0,n=this.length;n>r;r++)if(r in this&&this[r]===t)return r;return-1};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){var n,o,a;return!(t.qa&&(o=r.qa(),r.log("QA-only agent '"+t.agent+"' (QA visitor? "+o+")","q"),!o))&&(a=r.vstate(),n=e.call(t.vstates,a)>=0,r.log("Agent '"+t.agent+"' used at '"+r.vstate()+"'? "+n,"a"),n)},n}(t)}).call(this);
},{"../diagrams":16}],"./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+")","cf"),!1)},o}(r)}).call(this);
},{"../diagrams":16}],"./modules/wa-goal":[function(require,module,exports){
(function(){var e,t,n,r,o,i,u=function(e,t){function n(){this.constructor=e}for(var r in t)a.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},a={}.hasOwnProperty,l=[].indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(t in this&&this[t]===e)return t;return-1};n=require("../diagrams").M,t=require("../../client/ga").GA,i=require("../../../utils"),o=i.nested,e=i.Conds,r=require("../../../dom-utils").doc_ready,exports.m=function(n){function i(){return i.__super__.constructor.apply(this,arguments)}var a,c,s,v,f,d,g;return u(i,n),i.prototype.active=function(e){return!e._done},i.prototype.process=function(n,i,u){var s,d,p,h;switch(s=function(){var t,r;return!((t=null!=(r=n.ev_conds)?r:[]).length>0)||e.evalConds(t,i,"wa-goal ("+n.goal+" "+n.event+")","g")},p=function(e,t){if(s()){if(i.log(e+" triggered goal "+n.goal,"g"),t)try{n.items[0].items[0].to=t}catch(e){return void e}return u.resume(n,i)}},!1){case"load"!==n.event:r(function(){return p("Page load")});break;case"ga-ev"!==n.event:this.conf["x-ga:wgi"]&&t.init(this.conf),v(document,"ga.conductrics",function(e,r){return"event"===(null!=(r=null!=r?r:e.detail)?r.get("hitType"):void 0)&&t.eventApplies(n,r)?p("GA Event"):void 0});break;case"dl-ev"!==n.event:(d=i.r._dl).enabled()&&d.sub(function(e){return g(n,e,d)?p("Dl Event '"+n.dl_eventName+"'"):void 0});break;case"js-ev"!==n.event:i.log("Goal "+n.goal+" shall watch for JS event '"+n.js_ev+"'","g"),f(300,100,function(){return o(n.js_obj,window)},function(e){try{return e[n.js_fn](n.js_ev,function(){return p("JS Event '"+n.js_ev+"'")})}catch(e){}});break;case"vs"!==n.event:window.addEventListener("ConductricsStateChanged",function(e){var t;return t=e.detail,l.call(n.vs,t)>=0?p("View-state '"+e.detail+"'"):void 0});break;case!(null!=n.eventSelector&&null!=n.event):h=this,i.log("Goal "+n.goal+" will watch for DOM event '"+n.event+"' on '"+n.eventSelector+"'","g"),a(document,n.event,n.eventSelector,n.sel_i,n.sel_n,n.evuc,function(e){var t,r,o;return i.log(n.event+" from '"+n.eventSelector+"' triggered goal "+n.goal,"g"),n.gpa?(r=h.conf["wa:gpa-att"],(t=c(e.target,"["+r+"]"))?p("DOM event '"+n.event+"'",null!=(o=t.getAttribute(r))?o.split(" "):void 0):void 0):p("DOM event '"+n.event+"'")});break;default:i.log("Unknown trigger for "+n.goal,"g")}return n._done=!0,!0},g=function(e,t,n){var r,o;return r=e.dl_eventName,((t=null!=(o=t.eventInfo)?o:t).event===r||t.eventAction===r||t.eventName===r)&&d(e.dl_crit,t,n)},d=function(e,t,n){var r,o,i,u,a,c;if(null==e&&(e=[]),0===e.length)return!0;for(u=0,a=e.length;a>u;u++)if(r="."===(i=e[u]).k[0],o="/"===i.s[0]&&"/"===i.s[i.s.length-1],c=r?t[i.k.substr(1)]:n.get(i.k),o){if(!RegExp(i.s.slice(1,-1)).test(c))return!1}else if(l.call(i.s.split(","),c)<0)return!1;return!0},v=function(e,t,n){return e.addEventListener(t,n)},a=function(e,t,n,r,o,i,u){return null==i&&(i=!1),e.addEventListener(t,function(t){return s(e,n,t.target,r,o)?(i||t.stopPropagation(),u(t)):void 0},i)},s=function(e,t,n,r,o){var i,u,a,l,c;null==r&&(r=0),null==o&&(o=9999);try{for(c=e.querySelectorAll(t),u=a=0,l=c.length;l>a;u=++a)if(i=c[u],u>=r&&r+o>u&&i.contains(n))return!0}catch(e){}return!1},c=function(e,t){try{if(e.matches(t))return e;if(e.parentNode)return c(e.parentNode,t)}catch(e){return}},f=function(e,t,n,r){var o,i;i=0,(o=function(){var u;return i++,(u=n())?r(u):i>=t?void 0:setTimeout(o,e)})()},i}(n)}).call(this);
},{"../../../dom-utils":4,"../../../utils":20,"../../client/ga":13,"../diagrams":16}],"./modules/wa-pre-un":[function(require,module,exports){
(function(){var t,r=function(t,r){function n(){this.constructor=t}for(var o in r)e.call(r,o)&&(t[o]=r[o]);return n.prototype=r.prototype,t.prototype=new n,t.__super__=r.prototype,t},e={}.hasOwnProperty;t=require("../diagrams").M,exports.m=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return r(e,t),e.prototype.active=function(t,r){var e;switch(e=r.selHas(t.agent),!1){case!t.exists:return e;case!!e:return!0;case!t.qa:return!1===r.qa();default:return!1}},e.prototype.process=function(t,r){var e,n,o,u;for(r.log("un-pre-hiding for "+t.agent,"x"),u="style.__c-pre-"+t.agent,e=0,n=(o=document.querySelectorAll(u)).length;n>e;e++)o[e].disabled=!0},e}(t)}).call(this);
},{"../diagrams":16}],"./modules/wa-reward":[function(require,module,exports){
(function(){var e,t=function(e,t){function o(){this.constructor=e}for(var n in t)r.call(t,n)&&(e[n]=t[n]);return o.prototype=t.prototype,e.prototype=new o,e.__super__=t.prototype,e},r={}.hasOwnProperty;e=require("../diagrams").M,exports.m=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.process=function(e,t){var r,o,n,l,u,a;for(a=this.val(e,t),r=0,o=(l=e.items).length;o>r;r++)"reward"===(n=l[r]).module&&(u=n);null!=u?u.value=a:e.items=[]},r.prototype.val=function(e,t){var r,o,n;return(null!=(o=function(){var o,n;switch(e.valueSelectorType){case"dl":if((r=t.r._dl).enabled())return r.get(e.valueSelector)+"";break;case"dom":return null!=(o=document.querySelector(e.valueSelector))?o.textContent:void 0;case"meta":return null!=(n=document.querySelector("meta[name='"+e.valueSelector+"']"))?n.content:void 0;default:return""}}())?o.length:void 0)>0?(n=parseFloat(parseFloat(o.replace(/[^0-9. ]/g," ")).toFixed(2)),isFinite(n)||(n=null),n):null},r}(e)}).call(this);
},{"../diagrams":16}],"./modules/wa-start":[function(require,module,exports){
arguments[4]["./modules/condition"][0].apply(exports,arguments)
},{"../diagrams":16,"dup":"./modules/condition"}],"./plugins/dt":[function(require,module,exports){
(function(){var t,r,o=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("../targeting"),r=require("../dt-resolve")._resolve,exports.p=function(t){function n(conf){this.conf=conf}return o(n,t),n.ns="dt",n.modes=["s","b"],n.sync=!0,n.prototype.ttl=function(t){return 60},n.prototype.resolve=function(t,o,n,e){return e(!1,r(o,t.data["v.ts"],t.data["v.tzo"]))},n}(t.Plugin)}).call(this);
},{"../dt-resolve":17,"../targeting":19}],"./plugins/geo":[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="geo",o.modes=["b","s"],o.sync=!0,o.prototype.resolve=function(t,n,o,r){return r(!1,null)},o}(t.Plugin)}).call(this);
},{"../targeting":19}],"./plugins/ua":[function(require,module,exports){
(function(){var e,r,t=function(e,r){function t(){this.constructor=e}for(var a in r)n.call(r,a)&&(e[a]=r[a]);return t.prototype=r.prototype,e.prototype=new t,e.__super__=r.prototype,e},n={}.hasOwnProperty;r=require("ua-parser-js"),e=require("../targeting"),exports.p=function(e){function n(conf){this.conf=conf}var a,o,s;return t(n,e),n.ns="ua",n.modes=["s","b"],n.sync=!0,n.prototype.ttl=function(e){return s(e)?n.__super__.ttl.call(this):0},s=function(e){return"os"===e||"br"===e||"dv"===e||"mo"===e},o=function(){return"object"==typeof window&&"ontouchstart"in window},a=function(e){var r,t;return null!=(r=e.data["v.ua"])?r:null!=(t=e.r)?t.ua:void 0},n.prototype.resolve=function(e,t,n,u){var c,i,d,l;if(s(t)){if("string"!=typeof(l=a(e)))return u(!1);i=new r(l),d=i.getResult()}return u(!1,function(){switch(t){case"os":switch(d.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(d.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(d.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(d.device.type){case"mobile":case"tablet":return"m";default:return"n"}break;case"vi":return e.mdn();case"wi":return c="undefined"!=typeof window&&null!==window?window.innerWidth:void 0;case"wb":switch(c="undefined"!=typeof window&&null!==window?window.innerWidth:void 0,!1){case!(c>=1400):return"xxl";case!(c>=1200):return"xl";case!(c>=992):return"lg";case!(c>=768):return"md";case!(c>=576):return"sm";case!(576>c):return"xs"}break;case"te":return o()?"t":"n";case"ag":return a(e)}}())},n}(e.Plugin)}).call(this);
},{"../targeting":19,"ua-parser-js":9}],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(),r=0,o=(e=n()).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;if("string"==typeof _d)try{c=require("jsonpack"),_d=c.unpack(_d)}catch(c){}}).call(this);
},{"jsonpack":"jsonpack"}],4:[function(require,module,exports){
(function(){exports.doc_ready=function(t){return(document.attachEvent?"complete"===document.readyState:"loading"!==document.readyState)?t():document.addEventListener("DOMContentLoaded",t)}}).call(this);
},{}],5:[function(require,module,exports){
(function(){var n,e,l,o,i,t,r,u,c,f,d;switch(u=Math.min,o=Math.floor,c=Math.random,r=Math.log,n=Math.abs,d=function(n,e,l,o,i){return n&&!!e[n.f]==!!n.v?d(n.left,e,l,o,i)||d(n.right,e,l,o,i)||l(n,o,i):null},l=function(n,e,l){var i,t,r,f,d;for(r=null!=(f=null!=n?n.rank:void 0)?f:[],e||(e=r),e=e.slice(0),t=u(r.length,e.length,l),d=[];d.length<t&&e.length>0;)i=o(c()*e.length),d.push(e.splice(i,1)[0]);return d},t=function(n,e,l){var o,i,t;return i=null!=(t=null!=n?n.rank:void 0)?t:[],e||(e=i),e=e.slice(0),o=u(i.length,e.length,l),e.sort(function(e,l){return n.q[l]-n.q[e]}).slice(0,o)},f=function(n,e,l){var o,t,r,u,c,f,d;if(c=null!=(f=null!=n?n.rank:void 0)?f:[],e||(e=c),e=e.slice(0),o={},!(null!=n&&"q"in n&&"var"in n))return"undefined"!=typeof console&&null!==console&&"function"==typeof console.log&&console.log("Error: malformed node",n),null!=(d=null!=e?e.slice(0,l):void 0)?d:[];for(t=0,r=e.length;r>t;t++)u=e[t],o[u]=i(n.q[u],n.var[u]);return e.sort(function(n,e){return o[e]-o[n]}).slice(0,l)},i=function(e,l){var o,i,t,u,f;for(null==e&&(e=.5),null==l&&(l=.12);i=c(),t=1.7156*(c()-.5),(o=(u=i-.449871)*u+(f=n(t)+.386595)*(.196*f-.25472*u))>.27597&&(o>.27846||t*t>-4*r(i)*i*i););return e+l*t/i},e=function(n,e,o,i,r,u){var s;return null==u&&(u=!1),s=function(l){return d(n,e,l,o,i)},u?{type:"decision",policy:"exploit",decision:s(t)}:null==n||c()<r?{type:"decision",policy:"explore",decision:s(l)}:{type:"decision",policy:"exploit",decision:s(f)}},!1){case"undefined"==typeof define||null===define:define(function(){return{decide:e}});break;case"undefined"==typeof module||null===module:module.exports={decide:e}}}).call(this);
},{}],6:[function(require,module,exports){
!function(e,n){"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?module.exports=n():e.sentinel=n()}(this,function(){var e,n,t,i=Array.isArray,o={},r={};return{on:function(a,f){if(f){if(!e){var s=document,c=s.head;s.addEventListener("animationstart",function(e,n,t,i){if(n=r[e.animationName])for(e.stopImmediatePropagation(),t=n.length,i=0;t>i;i++)n[i](e.target)},!0);e=s.createElement("style");var l=function(){var e=document.querySelector("style[nonce]")||document.querySelector("script[nonce]");return e?e.nonce||e.getAttribute("nonce"):void 0}();l&&(e.nonce=l),c.insertBefore(e,c.firstChild),n=e.sheet,t=n.cssRules}(i(a)?a:[a]).map(function(e,i,a){(i=o[e])||(a="!"==e[0],o[e]=i=a?e.slice(1):"sentinel-"+Math.random().toString(16).slice(2),t[n.insertRule("@keyframes "+i+"{from{transform:none;}to{transform:none;}}",t.length)]._id=e,a||(t[n.insertRule(e+"{animation-duration:0.0001s;animation-name:"+i+";}",t.length)]._id=e),o[e]=i),(r[i]=r[i]||[]).push(f)})}},off:function(e,a){(i(e)?e:[e]).map(function(e,i,f,s){if(i=o[e]){if(f=r[i],a)for(s=f.length;s--;)f[s]===a&&f.splice(s,1);else f=[];if(!f.length){for(s=t.length;s--;)t[s]._id==e&&n.deleteRule(s);delete o[e],delete r[i]}}})},reset:function(){o={},r={},e&&e.parentNode.removeChild(e),e=0}}});
},{}],7:[function(require,module,exports){

},{}],8:[function(require,module,exports){
var cachedSetTimeout,cachedClearTimeout,process=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(){try{cachedSetTimeout="function"==typeof setTimeout?setTimeout:defaultSetTimout}catch(e){cachedSetTimeout=defaultSetTimout}try{cachedClearTimeout="function"==typeof clearTimeout?clearTimeout:defaultClearTimeout}catch(e){cachedClearTimeout=defaultClearTimeout}}();var currentQueue,queue=[],draining=!1,queueIndex=-1;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(){}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};
},{}],9:[function(require,module,exports){
!function(i,s){"use strict";var e="model",o="name",r="type",a="vendor",t="version",n="mobile",d="tablet",l="smarttv",w={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())},lowerize:function(i){return i.toLowerCase()},major:function(i){return"string"==typeof i?i.replace(/[^\d\.]/g,"").split(".")[0]:void 0},trim:function(i,s){return i=i.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),void 0===s?i:i.substring(0,255)}},b={rgx:function(i,s){for(var e,o,r,a,t,n,d=0;d<s.length&&!t;){var l=s[d],w=s[d+1];for(e=o=0;e<l.length&&!t;)if(t=l[e++].exec(i))for(r=0;r<w.length;r++)n=t[++o],"object"==typeof(a=w[r])&&a.length>0?2==a.length?"function"==typeof a[1]?this[a[0]]=a[1].call(this,n):this[a[0]]=a[1]:3==a.length?"function"!=typeof a[1]||a[1].exec&&a[1].test?this[a[0]]=n?n.replace(a[1],a[2]):void 0:this[a[0]]=n?a[1].call(this,n,a[2]):void 0:4==a.length&&(this[a[0]]=n?a[3].call(this,n.replace(a[1],a[2])):void 0):this[a]=n||void 0;d+=2}},str:function(i,s){for(var e in s)if("object"==typeof s[e]&&s[e].length>0){for(var o=0;o<s[e].length;o++)if(w.has(s[e][o],i))return"?"===e?void 0:e}else if(w.has(s[e],i))return"?"===e?void 0:e;return i}},u={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","?":"/"}},oldEdge:{version:{.1:"12.",21:"13.",31:"14.",39:"15.",41:"16.",42:"17.",44:"18."}}},os:{windows:{version:{ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2000:"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"}}}},c={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[t,[o,"Chrome"]],[/(?:edge|edgios|edga|edg)\/([\w\.]+)/i],[t,[o,"Edge"]],[/(opera\smini)\/([\w\.-]+)/i,/(opera\s[mobiletab]{3,6})\b.+version\/([\w\.-]+)/i,/(opera)(?:.+version\/|[\/\s]+)([\w\.]+)/i],[o,t],[/opios[\/\s]+([\w\.]+)/i],[t,[o,"Opera Mini"]],[/\sopr\/([\w\.]+)/i],[t,[o,"Opera"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]*)/i,/(avant\s|iemobile|slim)(?:browser)?[\/\s]?([\w\.]*)/i,/(ba?idubrowser)[\/\s]?([\w\.]+)/i,/(?:ms|\()(ie)\s([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon)\/([\w\.-]+)/i,/(rekonq|puffin|brave|whale|qqbrowserlite|qq)\/([\w\.]+)/i,/(weibo)__([\d\.]+)/i],[o,t],[/(?:[\s\/]uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i],[t,[o,"UCBrowser"]],[/(?:windowswechat)?\sqbcore\/([\w\.]+)\b.*(?:windowswechat)?/i],[t,[o,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[t,[o,"WeChat"]],[/konqueror\/([\w\.]+)/i],[t,[o,"Konqueror"]],[/trident.+rv[:\s]([\w\.]{1,9})\b.+like\sgecko/i],[t,[o,"IE"]],[/yabrowser\/([\w\.]+)/i],[t,[o,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[o,/(.+)/,"$1 Secure Browser"],t],[/focus\/([\w\.]+)/i],[t,[o,"Firefox Focus"]],[/opt\/([\w\.]+)/i],[t,[o,"Opera Touch"]],[/coc_coc_browser\/([\w\.]+)/i],[t,[o,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[t,[o,"Dolphin"]],[/coast\/([\w\.]+)/i],[t,[o,"Opera Coast"]],[/xiaomi\/miuibrowser\/([\w\.]+)/i],[t,[o,"MIUI Browser"]],[/fxios\/([\w\.-]+)/i],[t,[o,"Firefox"]],[/(qihu|qhbrowser|qihoobrowser|360browser)/i],[[o,"360 Browser"]],[/(oculus|samsung|sailfish)browser\/([\w\.]+)/i],[[o,/(.+)/,"$1 Browser"],t],[/(comodo_dragon)\/([\w\.]+)/i],[[o,/_/g," "],t],[/\s(electron)\/([\w\.]+)\ssafari/i,/(tesla)(?:\sqtcarbrowser|\/(20[12]\d\.[\w\.-]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/\s]?([\w\.]+)/i],[o,t],[/(MetaSr)[\/\s]?([\w\.]+)/i,/(LBBROWSER)/i],[o],[/;fbav\/([\w\.]+);/i],[t,[o,"Facebook"]],[/FBAN\/FBIOS|FB_IAB\/FB4A/i],[[o,"Facebook"]],[/safari\s(line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/\s]([\w\.-]+)/i],[o,t],[/\bgsa\/([\w\.]+)\s.*safari\//i],[t,[o,"GSA"]],[/headlesschrome(?:\/([\w\.]+)|\s)/i],[t,[o,"Chrome Headless"]],[/\swv\).+(chrome)\/([\w\.]+)/i],[[o,"Chrome WebView"],t],[/droid.+\sversion\/([\w\.]+)\b.+(?:mobile\ssafari|safari)/i],[t,[o,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i],[o,t],[/version\/([\w\.]+)\s.*mobile\/\w+\s(safari)/i],[t,[o,"Mobile Safari"]],[/version\/([\w\.]+)\s.*(mobile\s?safari|safari)/i],[t,o],[/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[o,[t,b.str,u.browser.oldSafari.version]],[/(webkit|khtml)\/([\w\.]+)/i],[o,t],[/(navigator|netscape)\/([\w\.-]+)/i],[[o,"Netscape"],t],[/ile\svr;\srv:([\w\.]+)\).+firefox/i],[t,[o,"Firefox Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(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,/(firefox)\/([\w\.]+)\s[\w\s\-]+\/[\w\.]+$/i,/(mozilla)\/([\w\.]+)\s.+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],[o,t]],cpu:[[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i],[["architecture","amd64"]],[/(ia32(?=;))/i],[["architecture",w.lowerize]],[/((?:i[346]|x)86)[;\)]/i],[["architecture","ia32"]],[/\b(aarch64|armv?8e?l?)\b/i],[["architecture","arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[["architecture","armhf"]],[/windows\s(ce|mobile);\sppc;/i],[["architecture","arm"]],[/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],[["architecture",/ower/,"",w.lowerize]],[/(sun4\w)[;\)]/i],[["architecture","sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?:64|(?=v(?:[1-7]|[5-7]1)l?|;|eabi))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[["architecture",w.lowerize]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[pt]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus\s10)/i],[e,[a,"Samsung"],[r,d]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy\snexus)/i,/\ssamsung[\s-]([\w-]+)/i,/sec-(sgh\w+)/i],[e,[a,"Samsung"],[r,n]],[/\((ip(?:hone|od)[\s\w]*);/i],[e,[a,"Apple"],[r,n]],[/\((ipad);[\w\s\),;-]+apple/i,/applecoremedia\/[\w\.]+\s\((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[e,[a,"Apple"],[r,d]],[/\b((?:agr|ags[23]|bah2?|sht?)-a?[lw]\d{2})/i],[e,[a,"Huawei"],[r,d]],[/d\/huawei([\w\s-]+)[;\)]/i,/\b(nexus\s6p|vog-[at]?l\d\d|ane-[at]?l[x\d]\d|eml-a?l\d\da?|lya-[at]?l\d[\dc]|clt-a?l\d\di?|ele-l\d\d)/i,/\b(\w{2,4}-[atu][ln][01259][019])[;\)\s]/i],[e,[a,"Huawei"],[r,n]],[/\b(poco[\s\w]+)(?:\sbuild|\))/i,/\b;\s(\w+)\sbuild\/hm\1/i,/\b(hm[\s\-_]?note?[\s_]?(?:\d\w)?)\sbuild/i,/\b(redmi[\s\-_]?(?:note|k)?[\w\s_]+)(?:\sbuild|\))/i,/\b(mi[\s\-_]?(?:a\d|one|one[\s_]plus|note lte)?[\s_]?(?:\d?\w?)[\s_]?(?:plus)?)\sbuild/i],[[e,/_/g," "],[a,"Xiaomi"],[r,n]],[/\b(mi[\s\-_]?(?:pad)(?:[\w\s_]+))(?:\sbuild|\))/i],[[e,/_/g," "],[a,"Xiaomi"],[r,d]],[/;\s(\w+)\sbuild.+\soppo/i,/\s(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007)\b/i],[e,[a,"OPPO"],[r,n]],[/\svivo\s(\w+)(?:\sbuild|\))/i,/\s(v[12]\d{3}\w?[at])(?:\sbuild|;)/i],[e,[a,"Vivo"],[r,n]],[/\s(rmx[12]\d{3})(?:\sbuild|;)/i],[e,[a,"Realme"],[r,n]],[/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?:?(\s4g)?)\b[\w\s]+build\//i,/\smot(?:orola)?[\s-](\w*)/i,/((?:moto[\s\w\(\)]+|xt\d{3,4}|nexus\s6)(?=\sbuild|\)))/i],[e,[a,"Motorola"],[r,n]],[/\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i],[e,[a,"Motorola"],[r,d]],[/((?=lg)?[vl]k\-?\d{3})\sbuild|\s3\.[\s\w;-]{10}lg?-([06cv9]{3,4})/i],[e,[a,"LG"],[r,d]],[/(lm-?f100[nv]?|nexus\s[45])/i,/lg[e;\s\/-]+((?!browser|netcast)\w+)/i,/\blg(\-?[\d\w]+)\sbuild/i],[e,[a,"LG"],[r,n]],[/(ideatab[\w\-\s]+)/i,/lenovo\s?(s(?:5000|6000)(?:[\w-]+)|tab(?:[\s\w]+)|yt[\d\w-]{6}|tb[\d\w-]{6})/i],[e,[a,"Lenovo"],[r,d]],[/(?:maemo|nokia).*(n900|lumia\s\d+)/i,/nokia[\s_-]?([\w\.-]*)/i],[[e,/_/g," "],[a,"Nokia"],[r,n]],[/droid.+;\s(pixel\sc)[\s)]/i],[e,[a,"Google"],[r,d]],[/droid.+;\s(pixel[\s\daxl]{0,6})(?:\sbuild|\))/i],[e,[a,"Google"],[r,n]],[/droid.+\s([c-g]\d{4}|so[-l]\w+|xq-a\w[4-7][12])(?=\sbuild\/|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[e,[a,"Sony"],[r,n]],[/sony\stablet\s[ps]\sbuild\//i,/(?:sony)?sgp\w+(?:\sbuild\/|\))/i],[[e,"Xperia Tablet"],[a,"Sony"],[r,d]],[/\s(kb2005|in20[12]5|be20[12][59])\b/i,/\ba000(1)\sbuild/i,/\boneplus\s(a\d{4})[\s)]/i],[e,[a,"OnePlus"],[r,n]],[/(alexa)webm/i,/(kf[a-z]{2}wi)(\sbuild\/|\))/i,/(kf[a-z]+)(\sbuild\/|\)).+silk\//i],[e,[a,"Amazon"],[r,d]],[/(sd|kf)[0349hijorstuw]+(\sbuild\/|\)).+silk\//i],[[e,"Fire Phone"],[a,"Amazon"],[r,n]],[/\((playbook);[\w\s\),;-]+(rim)/i],[e,a,[r,d]],[/((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10;\s(\w+)/i],[e,[a,"BlackBerry"],[r,n]],[/(?:\b|asus_)(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus\s7|padfone|p00[cj])/i],[e,[a,"ASUS"],[r,d]],[/\s(z[es]6[027][01][km][ls]|zenfone\s\d\w?)\b/i],[e,[a,"ASUS"],[r,n]],[/(nexus\s9)/i],[e,[a,"HTC"],[r,d]],[/(htc)[;_\s-]{1,2}([\w\s]+(?=\)|\sbuild)|\w+)/i,/(zte)-(\w*)/i,/(alcatel|geeksphone|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]*)/i],[a,[e,/_/g," "],[r,n]],[/droid[x\d\.\s;]+\s([ab][1-7]\-?[0178a]\d\d?)/i],[e,[a,"Acer"],[r,d]],[/droid.+;\s(m[1-5]\snote)\sbuild/i,/\bmz-([\w-]{2,})/i],[e,[a,"Meizu"],[r,n]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]*)/i,/(hp)\s([\w\s]+\w)/i,/(asus)-?(\w+)/i,/(microsoft);\s(lumia[\s\w]+)/i,/(lenovo)[_\s-]?([\w-]+)/i,/linux;.+(jolla);/i,/droid.+;\s(oppo)\s?([\w\s]+)\sbuild/i],[a,e,[r,n]],[/(archos)\s(gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/\s(nook)[\w\s]+build\/(\w+)/i,/(dell)\s(strea[kpr\s\d]*[\dko])/i,/[;\/]\s?(le[\s\-]+pan)[\s\-]+(\w{1,9})\sbuild/i,/[;\/]\s?(trinity)[\-\s]*(t\d{3})\sbuild/i,/\b(gigaset)[\s\-]+(q\w{1,9})\sbuild/i,/\b(vodafone)\s([\w\s]+)(?:\)|\sbuild)/i],[a,e,[r,d]],[/\s(surface\sduo)\s/i],[e,[a,"Microsoft"],[r,d]],[/droid\s[\d\.]+;\s(fp\du?)\sbuild/i],[e,[a,"Fairphone"],[r,n]],[/\s(u304aa)\sbuild/i],[e,[a,"AT&T"],[r,n]],[/sie-(\w*)/i],[e,[a,"Siemens"],[r,n]],[/[;\/]\s?(rct\w+)\sbuild/i],[e,[a,"RCA"],[r,d]],[/[;\/\s](venue[\d\s]{2,7})\sbuild/i],[e,[a,"Dell"],[r,d]],[/[;\/]\s?(q(?:mv|ta)\w+)\sbuild/i],[e,[a,"Verizon"],[r,d]],[/[;\/]\s(?:barnes[&\s]+noble\s|bn[rt])([\w\s\+]*)\sbuild/i],[e,[a,"Barnes & Noble"],[r,d]],[/[;\/]\s(tm\d{3}\w+)\sbuild/i],[e,[a,"NuVision"],[r,d]],[/;\s(k88)\sbuild/i],[e,[a,"ZTE"],[r,d]],[/;\s(nx\d{3}j)\sbuild/i],[e,[a,"ZTE"],[r,n]],[/[;\/]\s?(gen\d{3})\sbuild.*49h/i],[e,[a,"Swiss"],[r,n]],[/[;\/]\s?(zur\d{3})\sbuild/i],[e,[a,"Swiss"],[r,d]],[/[;\/]\s?((zeki)?tb.*\b)\sbuild/i],[e,[a,"Zeki"],[r,d]],[/[;\/]\s([yr]\d{2})\sbuild/i,/[;\/]\s(dragon[\-\s]+touch\s|dt)(\w{5})\sbuild/i],[[a,"Dragon Touch"],e,[r,d]],[/[;\/]\s?(ns-?\w{0,9})\sbuild/i],[e,[a,"Insignia"],[r,d]],[/[;\/]\s?((nxa|Next)-?\w{0,9})\sbuild/i],[e,[a,"NextBook"],[r,d]],[/[;\/]\s?(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05]))\sbuild/i],[[a,"Voice"],e,[r,n]],[/[;\/]\s?(lvtel\-)?(v1[12])\sbuild/i],[[a,"LvTel"],e,[r,n]],[/;\s(ph-1)\s/i],[e,[a,"Essential"],[r,n]],[/[;\/]\s?(v(100md|700na|7011|917g).*\b)\sbuild/i],[e,[a,"Envizen"],[r,d]],[/[;\/]\s?(trio[\s\w\-\.]+)\sbuild/i],[e,[a,"MachSpeed"],[r,d]],[/[;\/]\s?tu_(1491)\sbuild/i],[e,[a,"Rotor"],[r,d]],[/(shield[\w\s]+)\sbuild/i],[e,[a,"Nvidia"],[r,d]],[/(sprint)\s(\w+)/i],[a,e,[r,n]],[/(kin\.[onetw]{3})/i],[[e,/\./g," "],[a,"Microsoft"],[r,n]],[/droid\s[\d\.]+;\s(cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[e,[a,"Zebra"],[r,d]],[/droid\s[\d\.]+;\s(ec30|ps20|tc[2-8]\d[kx])\)/i],[e,[a,"Zebra"],[r,n]],[/\s(ouya)\s/i,/(nintendo)\s([wids3utch]+)/i],[a,e,[r,"console"]],[/droid.+;\s(shield)\sbuild/i],[e,[a,"Nvidia"],[r,"console"]],[/(playstation\s[345portablevi]+)/i],[e,[a,"Sony"],[r,"console"]],[/[\s\(;](xbox(?:\sone)?(?!;\sxbox))[\s\);]/i],[e,[a,"Microsoft"],[r,"console"]],[/smart-tv.+(samsung)/i],[a,[r,l]],[/hbbtv.+maple;(\d+)/i],[[e,/^/,"SmartTV"],[a,"Samsung"],[r,l]],[/(?:linux;\snetcast.+smarttv|lg\snetcast\.tv-201\d)/i],[[a,"LG"],[r,l]],[/(apple)\s?tv/i],[a,[e,"Apple TV"],[r,l]],[/crkey/i],[[e,"Chromecast"],[a,"Google"],[r,l]],[/droid.+aft([\w])(\sbuild\/|\))/i],[e,[a,"Amazon"],[r,l]],[/\(dtv[\);].+(aquos)/i],[e,[a,"Sharp"],[r,l]],[/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i],[[a,w.trim],[e,w.trim],[r,l]],[/[\s\/\(](android\s|smart[-\s]?|opera\s)tv[;\)\s]/i],[[r,l]],[/((pebble))app\/[\d\.]+\s/i],[a,e,[r,"wearable"]],[/droid.+;\s(glass)\s\d/i],[e,[a,"Google"],[r,"wearable"]],[/droid\s[\d\.]+;\s(wt63?0{2,3})\)/i],[e,[a,"Zebra"],[r,"wearable"]],[/(tesla)(?:\sqtcarbrowser|\/20[12]\d\.[\w\.-]+)/i],[a,[r,"embedded"]],[/droid .+?; ([^;]+?)(?: build|\) applewebkit).+? mobile safari/i],[e,[r,n]],[/droid .+?;\s([^;]+?)(?: build|\) applewebkit).+?(?! mobile) safari/i],[e,[r,d]],[/\s(tablet|tab)[;\/]/i,/\s(mobile)(?:[;\/]|\ssafari)/i],[[r,w.lowerize]],[/(android[\w\.\s\-]{0,9});.+build/i],[e,[a,"Generic"]],[/(phone)/i],[[r,n]]],engine:[[/windows.+\sedge\/([\w\.]+)/i],[t,[o,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[t,[o,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i,/(icab)[\/\s]([23]\.[\d\.]+)/i],[o,t],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[t,o]],os:[[/microsoft\s(windows)\s(vista|xp)/i],[o,t],[/(windows)\snt\s6\.2;\s(arm)/i,/(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s\w]*)/i,/(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)(?!.+xbox)/i],[o,[t,b.str,u.os.windows.version]],[/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],[[o,"Windows"],[t,b.str,u.os.windows.version]],[/ip[honead]{2,4}\b(?:.*os\s([\w]+)\slike\smac|;\sopera)/i,/cfnetwork\/.+darwin/i],[[t,/_/g,"."],[o,"iOS"]],[/(mac\sos\sx)\s?([\w\s\.]*)/i,/(macintosh|mac(?=_powerpc)\s)(?!.+haiku)/i],[[o,"Mac OS"],[t,/_/g,"."]],[/(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|sailfish|contiki)[\/\s-]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/\s]([\w\.]+)/i,/\((series40);/i],[o,t],[/\(bb(10);/i],[t,[o,"BlackBerry"]],[/(?:symbian\s?os|symbos|s60(?=;)|series60)[\/\s-]?([\w\.]*)/i],[t,[o,"Symbian"]],[/mozilla.+\(mobile;.+gecko.+firefox/i],[[o,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[t,[o,"webOS"]],[/crkey\/([\d\.]+)/i],[t,[o,"Chromecast"]],[/(cros)\s[\w]+\s([\w\.]+\w)/i],[[o,"Chromium OS"],t],[/(nintendo|playstation)\s([wids345portablevuch]+)/i,/(xbox);\s+xbox\s([^\);]+)/i,/(mint)[\/\s\(\)]?(\w*)/i,/(mageia|vectorlinux)[;\s]/i,/(joli|[kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?=\slinux)|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus|raspbian)(?:\sgnu\/linux)?(?:\slinux)?[\/\s-]?(?!chrom|package)([\w\.-]*)/i,/(hurd|linux)\s?([\w\.]*)/i,/(gnu)\s?([\w\.]*)/i,/\s([frentopc-]{0,4}bsd|dragonfly)\s?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku)\s(\w+)/i],[o,t],[/(sunos)\s?([\w\.\d]*)/i],[[o,"Solaris"],t],[/((?: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],[o,t]]},m=function(s,e){if("object"==typeof s&&(e=s,s=void 0),!(this instanceof m))return new m(s,e).getResult();var o=s||(void 0!==i&&i.navigator&&i.navigator.userAgent?i.navigator.userAgent:""),r=e?w.extend(c,e):c;return this.getBrowser=function(){var i={name:void 0,version:void 0};return b.rgx.call(i,o,r.browser),i.major=w.major(i.version),i},this.getCPU=function(){var i={architecture:void 0};return b.rgx.call(i,o,r.cpu),i},this.getDevice=function(){var i={vendor:void 0,model:void 0,type:void 0};return b.rgx.call(i,o,r.device),i},this.getEngine=function(){var i={name:void 0,version:void 0};return b.rgx.call(i,o,r.engine),i},this.getOS=function(){var i={name:void 0,version:void 0};return b.rgx.call(i,o,r.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 o},this.setUA=function(i){return o="string"==typeof i&&i.length>255?w.trim(i,255):i,this},this.setUA(o),this};m.VERSION="0.7.28",m.BROWSER={NAME:o,MAJOR:"major",VERSION:t},m.CPU={ARCHITECTURE:"architecture"},m.DEVICE={MODEL:e,VENDOR:a,TYPE:r,CONSOLE:"console",MOBILE:n,SMARTTV:l,TABLET:d,WEARABLE:"wearable",EMBEDDED:"embedded"},m.ENGINE={NAME:o,VERSION:t},m.OS={NAME:o,VERSION:t},"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=m),exports.UAParser=m):"function"==typeof define&&define.amd?define(function(){return m}):void 0!==i&&(i.UAParser=m);var p=void 0!==i&&(i.jQuery||i.Zepto);if(p&&!p.ua){var h=new m;p.ua=h.getResult(),p.ua.get=function(){return h.getUA()},p.ua.set=function(i){h.setUA(i);var s=h.getResult();for(var e in s)p.ua[e]=s[e]}}}("object"==typeof window?window:this);
},{}],10:[function(require,module,exports){
(function(){var n,l,t,e=[].indexOf||function(n){for(var l=0,t=this.length;t>l;l++)if(l in this&&this[l]===n)return l;return-1};l=exports,t=require("./utils"),n=999999,l.Rewarder=function(){function l(conf){this.conf=conf}var r;return l.prototype.handleStep=function(l,r,a){var u,s,o,i,g,v,c,f,d,p,h,w,x,y,M,G,m;for(-n<(h=r.value)&&n>h||(r.value=null!=(w=a.valueDef)?w:1),s=null!=(x=null!=(y=_d.G[r.goal])?y.a:void 0)?x:[],Array.isArray(r.agents)&&(s=r.agents.filter(function(n){return e.call(s,n)>=0})),v=this.selsFor(l,r,s),l.log("Goal '"+r.goal+"' mapped to agents: "+s+" ("+v.length+" have a selection)","g"),i=c=0,f=v.length;f>c;i=++c)(g=v[i]).g=r.goal,g.v=this.val(l,r,a,g),u=null!=(M=_d.A[g.a])?M.a.s:void 0,null!=g.v&&null!=g.fs&&"running"===u&&"p"!==(G=g.p)&&"b"!==G&&"x"!==G&&"p"!==g.s?(null==(o=l.sess.rwds)[d=g.a]&&(o[d]={}),m=this.getPrior(l,g.a,g.g),g.pr=m[0],g.ri=m[1],a.rw&&g.pr&&(p=t.Dates.stamp()-g.pr.gts)<a.rw?(l.log("Not rewarding "+g.a+" for "+g.g+" ("+p+" of "+a.rw+" secs)","g"),v[i]=null):l.rwdAdd(g.a,g.g,g.v)):(l.log("Not rewarding "+g.a+" for "+g.g+" (policy "+g.p+" - status "+u+" "+g.s+")","g"),v[i]=null);return{items:v}},l.prototype.selsFor=function(n,l,t){var e,r,a,u,s;for(a=[],u=0,s=t.length;s>u;u++)e=t[u],null!=(r=n.selGet(e))&&a.push({a:e,c:r.c,p:r.p,s:r.s,fs:r.fs.concat(),dts:r.ts});return a},l.prototype.getPrior=function(n,l,t){var e,a,u,s,o,i;for(e in o=0,a={v:0,n:0,gv:0,gn:0,gts:0,ts:0},i=null!=(s=n.sess.rwds[l])?s:{})null!=(u=i[e])&&"number"==typeof u.v&&(r(l,e)||(a.v+=u.v,a.n+=u.n),e===t&&(a.gv+=u.v,a.gn+=u.n,a.gts=u.ts,o=u.n),u.ts>a.ts&&(a.ts=u.ts));return 0===a.ts&&(a=void 0),[a,o]},l.prototype.val=function(n,l,t,e){var r,a,u,s,o,i,g;switch(r=null!=(a=null!=(u=n.sess.rwds[e.a])?u[e.g]:void 0)?a:{},g=null!=(s=null!=(o=l.value)?o:t.valueDef)?s:1,!1){case!(r.n>=(null!=(i=t.countMax)?i:1)):return n.log("Goal '"+e.g+"' already accepted "+r.n+"x for agent '"+e.a+"'","g"),null;case!(null==t.valueMin&&null==t.valueMax):return 1;case!(null!=t.valueMin&&g<t.valueMin||null!=t.valueMax&&g>t.valueMax):return n.log("Goal '"+e.g+"' not accepted (reward "+g+" not between "+t.valueMin+" and "+t.valueMax+")","g"),null;default:return g}},r=function(n,l){var t,r;return!!(r=null!=(t=_d.G[l])?t.sec:void 0)&&e.call(r,n)>=0},l}()}).call(this);
},{"./utils":20}],11:[function(require,module,exports){
(function(){var r,n,e,t=[].indexOf||function(r){for(var n=0,e=this.length;e>n;n++)if(n in this&&this[n]===r)return n;return-1};n=require("./utils"),r=exports,e=require("./lib/browser").decide,r.Chooser=function(){function r(conf){this.conf=conf}var l;return r.prototype.handleStep=function(r,l){var c,a,u,i,o,s,p,f,h,d,v,g,x,y,w,A,k,b;return h=this.priorChoice(r,l),A=r.tFor(l.a),w=r.polGet(l.a),u=function(){var n;switch(!1){case"p"!==w:return[];default:return null!=(n=r.data["a.sel-reduce:"+l.a])?n:[]}}(),k=Array.isArray(l.x)?l.x:[],(u.length>0||k.length>0)&&(l.c=l.c.filter(function(r){return(0===u.length||t.call(u,r)>=0)&&t.call(k,r)<0}),null!=h&&(v=h.c,t.call(l.c,v)<0)&&(h=null)),f=function(){var n,e;switch(!1){case"x"!==w&&"p"!==w:return w;case!r.dnt():return"p";case null==h:return"s";case!w:return w;case"ar"!==l.p:return"r";case 1!==u.length:return"f";case null==l.n:return"a";case"c"!==(n=l.p)&&"p"!==n&&"b"!==n&&"f"!==n&&"x"!==n:case"a"!==(e=l.p)&&"r"!==e:return l.p;default:return"r"}}(),c=null!=(g=_d.A[l.a])?g:{},"s"===f&&"p"===h.s&&(A=h.fs),"a"===f&&(null==(p=c.T)&&(f="r")),"a"===f?(d=function(){var n;switch(l.p){case"r":return 1;default:return null!=(n=l.exr)?n:r.conf["learning-agent:learning-exploration-rate"]}}(),i=function(){var r,n,e,a,u,i;for(i=[],r=0,n=(u=null!=(e=null!=(a=c.T)?a.rank:void 0)?e:l.c).length;n>r;r++)s=u[r],t.call(l.c,s)>=0&&i.push(s);return i}(),"explore"===(a=e(p,r.tMap(A),i,Math.max(null!=(x=l.n)?x:1,0),d,l.gdy)).policy&&(f="r"),0===a.decision.length?(f="p",o=c.dc):o=null!=l.n?a.decision:a.decision[0]):"s"===f?o=h.c:"p"===f?o=c.dc:"x"===f?o="":(b=(i=function(){var r,n,e,a,u,i;for(i=[],r=0,n=(u=null!=(e=null!=(a=c.T)?a.rank:void 0)?e:l.c).length;n>r;r++)s=u[r],t.call(l.c,s)>=0&&i.push(s);return i}()).map(function(r){var n,e;switch(f){case"r":return null!=(n=null!=(e=l.w)?e[r]:void 0)?n:1/i.length;case"c":case"f":return r===i[0]?1:0;default:throw Error("Unknown policy '"+f+"'")}}),o=n.Rand.pick(i,b)),{a:l.a,c:o,p:f,fs:A.concat(),ts:null!=(y=null!=h?h.ts:void 0)?y:n.Dates.stamp(),ps:null!=h?h.s:void 0,pp:null!=h?h.p:void 0}},r.prototype.priorChoice=function(r,n){var e,c;return e=null!=(c=r.selGet(n.a))?c:{},void 0===n.n&&Array.isArray(e.c)&&(e.c=e.c[0]),function(){var r;switch(!1){case!(null!=n.n&&Array.isArray(e.c)):return n.n===e.c.length&&l(e.c,n.c);default:return r=e.c,t.call(n.c,r)>=0}}()&&"p"!==e.p?e:null},l=function(r,n){var e,l,c;for(e=0,l=r.length;l>e;e++)if(c=r[e],t.call(n,c)<0)return!1;return!0},r}()}).call(this);
},{"./lib/browser":5,"./utils":20}],12:[function(require,module,exports){
(function (process){(function (){
(function(){var t,e,n,s,r,i,o,u,l,a,d,c,p,h,f,v,_=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};s=require("../diagrams/diagrams"),e=require("../../configuration"),i=require("../targeting/targeting"),n=require("data-layers").DL,r=require("loader").Loader,f=require("../../dom-utils").doc_ready,v=null!=v?v:require("harness"),u=null,o=null,h=[],c=null,l=null,p=!0===(null!=v?v.single:void 0),d=null,t=function(){function t(t){var s;null==t&&(t={}),this._post=_(this._post,this),this.do_vs=_(this.do_vs,this),this.do=_(this.do,this),this._do=_(this._do,this),this.o=t,this.h=null!=(s=t.harness)?s:v,this.conf=e.merged(),this.dl=null!=o?o:o=new n(this.conf,this,this.o.dataLayer),this.use_q=!0===this.conf["js:ps-q"]&&null!=this.h.q_add}var a,y,b,w,A,q;return t.loader=new r(_d,v),t.isRelevant=function(t){return Array.isArray(t)&&t.some(function(t){return t&&(null!=_d.A[t.a]||null!=_d.G[t.g])})},t.version=function(){return _d.v.v+" build "+_d.v.b+" ("+_d.v.d+" - "+new Date(1e3*_d.v.m).toUTCString()+")"},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){return h.push(t),this._do()},t.prototype._do=function(){var t;if(!l&&h.length)switch(l=t=h.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 l=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.version=function(){return t.version()},t.prototype.do_exec=function(t,e){var n,r,i,o,u;return i=this._req(),q(i)?"function"==typeof e?e():void 0:(t=null!=(r=a(t))?r:[],A(t),i.steps=t,this.o.qa&&i.v&&(i.v.qa=!0),(u=new s.State(this.conf,i)).log("Activating: Conductrics API","i"),this._ses(u),y(u),n=function(t){return function(){var e,n,s,r,i,o;for(t._process(u),e=0,s=(i=(o={items:(r=u.out).res,sels:{},traits:u.tExt(),log:!0===t.o.debug?r.log.concat():void 0,ext:r.ext?r.ext:void 0}).items).length;s>e;e++)null!=(n=i[e]).a&&(o.sels[n.a]=n.c);return null!=t.o.sess&&(o.sess=JSON.stringify(u.sess)),o}}(this),"function"==typeof e?this._init(u,function(t){return function(s){return e(!1,n()),t.do()}}(this)):(this._targ(u),o=n(),setTimeout(this.do,1),o))},t.prototype.do_run=function(t){var e,n;return null==t&&(t="#init"),e=this._req(this.o.entry+"-pre"),q(e)?void 0:(n=null!=u?u.state:new s.State(this.conf,e),"#init"===t?n.log("Activating: Conductrics Express","i"):n.log("Activating: Conductrics View-State '"+t+"'","i"),this._ses(n),y(n),!0===this.o.globalEvents&&this._spaInit(n),new s.Runner(this.conf,function(t){return function(){return n.ep(t.o.entry),t._init(n,function(e){return w(t.conf["wa:ready"],function(){return t._process(n),n.log("(end)","i"),t.do()})})}}(this)).run(_d.diag,n))},t.prototype.discard=function(){return v.sess_del()},t.prototype.do_vs=function(t){var e,n,s;return null==u?void this.do():(n=u.state,s=null!=(e=this.conf["rt:spa-states"])?e:[],g.call(s,t)>=0?t!==n.vstate()||g.call(this.conf["rt:spa-states-m"],t)>=0?(n.vstate(t),this._preboot(n,function(e){return function(){return e._process(n),n.log("(end vstate)","x"),window.dispatchEvent(new CustomEvent("ConductricsStateChanged",{detail:t}))}}(this))):n.log("Already at '"+t+"'","x"):n.log("Unknown view-state '"+t+"'","x"),this.do())},t.prototype._req=function(t){var e,n,s;return null==t&&(t="api"),n=this.o,(s=this.h.env_get()).acc=_d.acc.c,s.ep=t,s.v.traits=n.traits,s.debug=s.debug||n.debug,s.ud=n.inputs,null==(e=s.v).vid&&(e.vid=n.vid),s},t.prototype._process=function(t){t.r._dl=this.dl,this._pre(t),new s.Runner(this.conf,this._post).run(_d.diag,t)},t.prototype._init=function(t,e){var n;this._preboot(t,(n=this,function(){return n._q_send(t),n._targ(t,e)}))},t.prototype._preboot=function(t,e){var n,s,r,i,o,u,l,a,d;if("function"!=typeof _wa_preboot)return e();if(u=s=t.ep(),g.call(null!=(l=this.conf["js:preboot-eps"])?l:["wax"],u)<0)return t.log("Skipping preboot ("+s+")","s"),e();if(a=t.vstate(),!(d=g.call(this.conf["rt:spa-states-pb"],a)>=0))return t.log("Skipping preboot (view-state '"+d+"')","s"),e();o=function(t,e,n){var s,r,i,o,u,l,a,d;switch(null==n&&(n="pre"),!1){case!Array.isArray(t):for(l=[],r=0,u=t.length;u>r;r++)s=t[r],l.push(e.tAdd(s,n));return l;case"object"!=typeof t:for(i in a=[],t)switch(d=t[i],o=g.call(i,":")>=0,!1){case!(o&&d):a.push(e.tAdd(""+i,n));break;case!(!o&&"string"==typeof d):a.push(e.tAdd(i+":"+d,n));break;default:a.push(void 0)}return a}},i=null,r=function(n,s){return null==s&&(s={}),"string"==typeof s&&(s={vstate:s}),o(n,t),"string"==typeof s.vstate&&t.vstate(s.vstate),"string"==typeof s.vid&&(t.data["v.vid"]=s.vid),"object"==typeof s.inputs&&t.ud(s.inputs),"boolean"==typeof s.qa&&t.qa(s.qa),"function"==typeof s.selection_callback&&(null!=t.handlers?t.handlers:t.handlers=[]).push(s.selection_callback),"function"==typeof s.presend_callback&&(t.ps_cb=s.presend_callback),t.log("Preboot done ("+(Date.now()-i)+" ms elapsed)","s"),e()};try{i=Date.now(),t.log("Preboot running","s"),_wa_preboot(r)}catch(s){n=s,t.log("Preboot error: "+n,"e"),e()}},t.prototype._targ=function(t,e){var n,s,r,o;return t.dnt()?e():(o=_d.rt.tt,r=_d.rt.ttt,(n=void 0===e)&&(e=function(){}),o.length>0?(s=new i.Targeter(this.conf,this.h,n),t.log("Resolve targeting ("+o.length+")","t"),void s.resolve(t,o,function(n,s){var i,o,u;if(n)return e(n);for(i in o=s.values)null!=(u=o[i])&&(g.call(r,i)>=0?t.tAdd(i+":"+u,"apply"):(t.log("Set value '"+i+"' to "+u,"t"),t.data["targ."+i]=u));return e()})):e())},t.prototype._pre=function(t){var e,n,s,r,i;if((e=t.r._dl).enabled()&&(i=e.get(this.conf["dl:key-tr"]),Array.isArray(i)))for(n=0,s=i.length;s>n;n++)r=i[n],t.tAdd(r,"dl");t.data["v.sels"]=t.sess.sels},t.prototype._ses=function(t){var e,n,s,r,i,o,u,l,a,d,h;if(h=null!=(i=t.r.v)?i:{},a=this.h.sess_get(),process.env.C_SESS_FIX_652&&p&&null!=c&&(a={}),p&&null==a&&(c=null),t.r.newv&&(t.log("Treating as a new visitor","q"),c=this.o.sess=t.sess=a=null),l=t.sess=null!=c?c:{traits:null!=(o=null!=(u=h.traits)?u.cust:void 0)?o:[],sels:{},rwds:{}},s=function(){var t;try{return JSON.parse(null!=(t=this.o.sess)?t:a)}catch(t){}}.call(this),p&&(c=l),b(t.sess,s),t.vnAdv(),Array.isArray(r=null!=s?s.traits:void 0))for(e=0,n=r.length;n>e;e++)d=r[e],t.tAdd(d,"init")},t.prototype._post=function(t){var e,n;return e=t.out.work.splice(0),this.use_q&&e.length&&!t.dnt()&&this.h.q_add(e),this._presend(t,e,(n=this,function(){var s;return t.dnt()||t.bot()||(s=t.sess,p&&n.conf["rt:av-sels"]&&Object.assign(s.sels,t.data["v.sels"]),s.traits=t.tSti(),s.vals=t.targ,n.h.sess_set(JSON.stringify(s),t.dirty)),n._send(t,e),n.use_q?n.h.q_del():void 0}))},t.prototype._q_send=function(t){var e,n;if(this.use_q&&!d&&(e=this.h.q_get(),d=!0,e.length))return this._presend(t,e,(n=this,function(){return n._send(t,e),n.use_q?n.h.q_del():void 0}))},t.prototype._presend=function(t,e,n){return t.ps_cb&&Array.isArray(e)&&e.length?(t.log("Waiting for presend callback","s"),t.ps_cb({},function(s){var r,i,o;if(t.log("Presend callback returned "+typeof s,"s"),s)for(r=0,o=e.length;o>r;r++)(i=e[r]).ctx&&s.vid&&(t.log("Presend callback returned id '"+s.vid+"'","s"),i.ctx.vid=s.vid);return t.ps_cb=null,n()})):n()},t.prototype._send=function(t,e){var n;switch(n=e.length,!1){case 0!==n:return;case!t.dnt():t.log("Not sending events ("+n+") due to DNT","q");break;case!t.bot():t.log("Not sending events ("+n+") because 'bot'","q");break;case!t.muted():t.log("Not sending events ("+n+") because 'muted': "+JSON.stringify(e),"q");break;default:t.log("Sending events ("+n+")","i"),this.h.beacon(this.conf["event-queue:sqs-url"]+"?Action=SendMessage&Version=2012-11-05&MessageBody="+encodeURIComponent(JSON.stringify(e)))}},b=function(t,e){return Object.assign(t,e)},t.prototype._spaInit=function(t){p&&(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,s;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(s=null!=e?e.commands:void 0))return this.exec(s,function(){})}},a=function(t){if("string"!=typeof t)return t;try{return JSON.parse(t)}catch(t){}},y=function(t){t.log(_d.v.v+" build "+_d.v.b+" ("+_d.v.d+" - "+new Date(1e3*_d.v.m).toUTCString()+")","i"),t.qa()&&t.log("QA visitor detected","q")},A=function(t){},w=function(t,e){switch(t){case"doc":return f(e);default:return e()}},q=function(t){var e;if(e=!0===t.abort)try{console.log("C:\\ 'Abort' flag detected; stopping.")}catch(t){}return e},t}(),(null!=(a=function(){return"undefined"!=typeof window&&null!==window?window:this}()).Conductrics?a.Conductrics:a.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!=v&&(v.ClientApi=t)}).call(this);
}).call(this)}).call(this,require('_process'))
},{"../../configuration":2,"../../dom-utils":4,"../diagrams/diagrams":16,"../targeting/targeting":19,"_process":8,"data-layers":"data-layers","harness":"harness","loader":"loader"}],13:[function(require,module,exports){
(function(){exports.GA=function(){function t(){}var e,n,r;return t.get=function(conf){return window[n(conf)]},t.init=function(conf){var t,e,i,u,a,c,o,l;a=conf["x-ga:gtm"],t=window,c=n(conf),u="string"==typeof conf["x-ga:gat"],i=null!=(l=conf["x-ga:gat"])?l:"t0",a&&(null==t[c]&&(t[c]=function(){var e;return(null!=(e=t[c]).q?e.q:e.q=[]).push(arguments)}),null==(e=t[c]).l&&(e.l=1*new Date)),t[c]&&(t[c]._ci||(o=function(){var e,n;return(e=t[c]).getByName(i)?void r(e.getByName(i)):(n=e.create,e.create=function(){var t,a,c,o,l;if(o=n.apply(e,arguments),u)r(e.getByName(i));else for(t=0,a=(c=e.getAll()).length;a>t;t++)l=c[t],r(l);return o})},t[c](o),t[c]._ci=!0))},r=function(t){var n;t&&!t._ci&&(n=t.get("sendHitTask"),t.set("sendHitTask",function(t){var r;return r=n(t),e(document,"ga.conductrics",t),r}),t._ci=!0)},e=function(t,e,n){var r;window.CustomEvent?r=new CustomEvent(e,{detail:n}):(r=document.createEvent("CustomEvent")).initCustomEvent(e,!0,!0,n),t.dispatchEvent(r)},t.eventApplies=function(t,e){var n,r,i,u;if("event"!==e.get("hitType"))return!1;if("Conductrics"===e.get("eventCategory"))return!1;for(i=function(n){var r,i,u,a,c,o,l,g;if(r=e.get(n),"/"===(g=null!=(o=t["ga_"+n])?o:"")[0]&&"/"===g[g.length-1])return RegExp(g.slice(1,-1)).test(r);for(i=0,u=(l=g.split(",")).length;u>i;i++)switch(c=l[i],!1){case!("*"===c||c===r):return!0;case!(c.indexOf("*")>=0):return a=c.replace("*","[ \\S]*"),RegExp("^"+a+"$").test(r);default:return!1}},n=0,r=(u=["eventCategory","eventAction","eventLabel"]).length;r>n;n++)if(!i(u[n]))return!1;return!0},n=function(conf){var t,e;return null!=(t=null!=(e=conf["x-ga:gao"])?e:window.GoogleAnalyticsObject)?t:"ga"},t}()}).call(this);
},{}],14:[function(require,module,exports){
(function(){var e,conf;e=require("../../configuration"),conf=e.merged(),function(){var e,n,r;if(null!=("undefined"!=typeof window&&null!==window&&null!=(r=window.opener)?r.postMessage:void 0))e=function(e){var r,t;return(r=document.createElement("script")).src=e,(t=n())&&(r.nonce=t),document.getElementsByTagName("head")[0].appendChild(r)},n=function(){var e;return null!=(e=document.querySelector("script[nonce]"))?e.nonce:void 0},window.addEventListener("message",function(n){var r,t;switch(null!=(t=n.data)?t.type:void 0){case"wa-author-load":return r=n.data.d2?conf["admin-ui-server-d2:url"]:conf["admin-ui-server:url"],e(r+"/gen/wa-author-time.js"),e(r+"/js/mutation-summary.js"),e(r+"/js/css-parse.js")}}),window.opener.postMessage({type:"wa-rt-ready",pageUrl:document.location.href},"*")}()}).call(this);
},{"../../configuration":2}],15:[function(require,module,exports){
(function(){var e;require("../../data"),e=require("../../utils").Strings,function(){var t,n,o,c,r,i,u,d,l,a,s,f,m,p,g,h,q,v;if(("undefined"!=typeof document&&null!==document?document.querySelector:void 0)&&(f="c-conductrics",(m=window.location.search).indexOf(f)>=0||m.indexOf("__c-token")>=0)){for(s=e.qs(m),r=0,i=(p=["abort","muted","qa","debug","new"]).length;i>r;r++)if("true"===(g=v=s[u=f+"-"+(o=p[r])])||"false"===g)try{"abort"===o||"qa"===o?sessionStorage.setItem(u,v):localStorage.setItem(u,v),console.log("C:\\ set "+u+" to "+v)}catch(e){}(q=s[f+"-preview"])&&(a=atob(q),sessionStorage.setItem("c-conductrics-sels",a)),"true"===s[f+"-reload"]?function(){var e,t,n;for(e in n=""+window.location.href,s)0===e.indexOf(f)&&(t=e+"="+encodeURIComponent(s[e]),n=(n=n.replace("&"+t,"")).replace(""+t,""));"?"===n[n.length-1]&&(n=n.substr(0,n.length-1)),document.location.replace(n)}():(h=_d.rt,c=function(){var e,t;return(e=document.querySelector("script[nonce]"))?null!=(t=e.nonce)?t:e.getAttribute("nonce"):void 0},(l=s["__c-token"])&&(n="c-conductrics-preview-"+l,null==document.querySelector("script#"+n))&&((t=document.createElement("script")).id=n,t.src=h.s+"&__c-token="+l,(d=c())&&(t.nonce=d),document.head.appendChild(t)))}}()}).call(this);
},{"../../data":3,"../../utils":20}],16:[function(require,module,exports){
(function (process){(function (){
(function(){var t,n,e,r,s=function(t,n){return function(){return t.apply(n,arguments)}},i=[].indexOf||function(t){for(var n=0,e=this.length;e>n;n++)if(n in this&&this[n]===t)return n;return-1};e=require("../../utils"),t=require("../../bots").Bots,n=module.exports;try{r=require("log-styles").logger}catch(t){}exports.M=function(){function t(t){this.conf=t}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.getConds=function(t,n){return t.conds},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 e,r,s,i,o,u;if(null==n&&(n={}),s=document.querySelectorAll(t),n.t){for(e=[],i=0,o=s.length;o>i;i++)(null!=(u=(r=s[i]).textContent)?u.indexOf(n.t):void 0)>=0&&e.push(r);s=e}return(n.i>0||n.n>0)&&(s=Array.prototype.slice.call(s,n.i,n.n)),s},t.prototype.addCSS=function(t,n){var e,r;"undefined"!=typeof document&&null!==document&&((r=document.createElement("style")).type="text/css",r.className=n,null!=r.styleSheet?r.styleSheet.cssText=t:r.appendChild(document.createTextNode(t)),(e=this.getStyleNonce())&&(r.nonce=e),document.getElementsByTagName("head")[0].appendChild(r))},t.prototype.getStyleNonce=function(){var t,n;return void 0===_d.style_nonce&&(_d.style_nonce=null!=(t=null!=(n=document.querySelector("style[nonce]"))?n.nonce:void 0)?t:null),_d.style_nonce},t}(),n.Runner=function(){function t(t,e){this.conf=t,this.ph=e,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,s,i,o,u;if(null!=(o=this.mf.provide(t))&&r(o,t,n)&&!o.process(t,n,this))for(s=0,i=(u=o.getNodes(t)).length;i>s;s++)e=u[s],this.walk(e,n)},t.prototype.find=function(t,n,e,s){var i,o,u,a,l;if(null==s&&(s=[]),null==(a=this.mf.provide(t)))return!1;if(!r(a,t,n))return!1;for(e(t)&&s.push(t),o=0,u=(l=a.getNodes(t)).length;u>o;o++)i=l[o],this.find(i,n,e,s);return s},t.prototype.resume=function(t,n){var e;return e={module:"root",items:t.items.concat()},this.exec(e,n)},r=function(t,n,r){var s,i;switch(!1){case!!t.active(n,r):case!((null!=(i=s=t.getConds(n,r))?i.length:void 0)>0&&!e.Conds.evalConds(s,r,n.module)):return!1;default:return!0}},t}(),exports.Conds=e.Conds,n.MFactory=function(){function t(t){this.conf=t}return t.prototype.provide=function(t){var n;n=t.module;try{return new(0,require("./modules/"+n).m)(this.conf)}catch(t){return console.log("Can't provide '"+n+"'","e"),null}},t}(),n.State=function(){function n(n,r){var o,u,a,l,c,d,p,h,f,v,y,g,m,w,x,q,b,S,A,_;if(this.conf=n,null==r&&(r={}),this.tAdd=s(this.tAdd,this),this.r=r,A=null!=(h=r.v)?h:{},_=Array.isArray(A.vid)&&A.vid.length>0?A.vid.join("||"):A.vid,(a=!0===this.conf["qa:v-qa"]||"true"===(f=A.qa)||!0===f)&&(A.dnt=!1),this.debug=r.debug||this.conf["js:debug-all"],this.dirty={},this.data={"v.ip":A.ip,"v.ua":A.ua,"v.vid":_,"v.ref":A.ref,"v.tzo":A.tzo,"v.ts":Math.floor(null!=(v=r.ts>9999999999?r.ts/1e3:r.ts)?v:(new Date).getTime()/1e3),"v.traits":["*"],"v.dnt":A.dnt,"v.qa":a,"v.bot":new t(this.conf).detect(A.ua),ud:{},"d.ep":null!=(y=r.ep)?y:"wax","d.dc":function(){return _d.v.d},selex:function(t){try{return null!=document.querySelector(decodeURIComponent(t))}catch(t){}},gh:function(t){return function(n){return t.rwdHas(n)}}(this),wf:function(t){var n;try{return"function"==typeof(n=e.nested(t,window))?n():n}catch(t){}},dl:function(t){var n;return null!=(n=r._dl)?n.get(t):void 0},st:function(t){var n,r,s,o,u;try{return(r="="===t[0]&&i.call(t,":")>=0)&&(o=t.slice(1).split(":"),t=o[0],s=o[1]),u="function"==typeof(n=null!=n?n:require("harness")).st_get?n.st_get(t):void 0,r&&(u=e.Obj.read(JSON.parse(u),s)),u}catch(t){}}},this.loc(null!=(g=A.loc)?g:{}),this.data["v.sid"]=A.sid,this.ud(r.ud),this.out={status:200,res:[],sel:{},log:[],work:[]},"string"==typeof this.r.sels)for(l=0,d=(m=this.r.sels.split(",")).length;d>l;l++)o=(w=m[l].split(":"))[0],u=w[1],this.selPre(o,u);if((null!=(x=A.traits)?x.length:void 0)>0)for(c=0,p=(q=A.traits).length;p>c;c++)S=q[c],this.tAdd(S,"api");this.dnt()&&this.log("DO-NOT-TRACK visitor detected; will not persist or send any data.","e"),this.vstate(null!=(b=A.vstate)?b:"#init")}var o,u,a,l;return n.prototype._conf=function(t){return this.conf[t]},u=function(t,n){var e;return null!=(e=_d.A[t])?e.a.c[n]:void 0},n.prototype.loc=function(t){return t?Object.assign(this.data,{"v.loc":t,"v.loc.path":t.pathname,"v.loc.qs":e.Strings.qs(t.search),"v.loc.qx":t.protocol+"//"+t.host+t.pathname}):void 0},n.prototype.ud=function(t){return Object.assign(this.data.ud,a(t))},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,e,r,s;for(e=0,r=(s=this.out.res).length;r>e;e++)if((n=s[e]).a===t)return n},n.prototype.done=function(t){var conf,n,r,s,i;return conf=this.conf,s=this.qa()?conf["qa:env"]:conf["acc:env"],null!=t.a&&(t.a=e.Strings.qualify(t.a,conf["acc:code"],s)),null!=t.fs&&(r=conf["rt:tr-ids"],t.fs=t.fs.map(function(t){var n;return null!=(n=r[t])?n:t})),null==t.ds&&(t.ds=_d.rt.ds),process.env.C_SEND_CTX&&(n=t.ctx={},conf["pass:ua"]&&(n.ua=this.data["v.ua"]),conf["pass:ip"]&&(n.ip=this.data["v.ip"]),conf["pass:loc"]&&(n.loc=null!=(i=this.data["v.loc"])?i.href:void 0),conf["pass:vid"]&&(n.vid=this.data["v.vid"],!n.vid&&conf["pass:sid"]&&(n.vid=this.data["v.sid"])),(conf["pass:qa"]||conf["pass:qax"])&&(n.qa=this.qa())),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,"i"),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,e;if(null!=(null!=t?t.a:void 0)&&null!=t.c)switch(e=this.data["v.sels"],this.out.sel[t.a]=t,n=e[t.a],t.p){case"s":if(n&&n.s!==t.s)return n.s=t.s,this.dirty.s=!0;break;default:return e[t.a]=t,null!=this.sess.rwds[t.a]&&(this.sess.rwds[t.a]={}),this.dirty.s=!0}},n.prototype.selDel=function(t){return this.selHas(t)?(this.log("Discarding selection for agent "+t,"a"),delete this.data["v.sels"][t],this.sess.rwds[t]={},this.dirty.s=!0):void 0},n.prototype.selGet=function(t){var n,e,r,s;return s=null!=(e=u(t,"a:sd-ttl"))?e:this.conf["a:sd-ttl"],null!=(n=this.data["v.sels"][t])&&n.ts+s>=l()&&n.ts>=(null!=(r=_d.A[t])?r.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,1)?this.log("Reducing choices for "+t+" to ["+n+"]","a"):void 0},n.prototype.selPre=function(t,n){return"string"==typeof n?(this.data["a.sel-pre:"+t]=n,this.selRed(t,[n])):this.data["a.sel-pre:"+t]},n.prototype.rwdAdd=function(t,n,e){var r,s;return r=this.sess.rwds[t],Array.isArray(r[n])&&(r[n]=void 0),null==(s=null!=r[n]?r[n]:r[n]={}).n&&(s.n=0),s.n+=1,null==s.v&&(s.v=0),s.v+=e,s.ts=l(),this.dirty.r=!0},n.prototype.rwdHas=function(t){var n,e,r;for(n in e=this.sess.rwds)if((r=e[n][t])&&r.n>0)return!0;return!1},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,0)?void 0:this.log("Setting policy for "+t+" to (policy "+n+")","a")},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,e,r,s,o;return e=this.data,0===arguments.length?e["v.vstate"]:(o=null!=(s=this.conf["rt:spa-states"])?s:"",n=this.vstate(),(r=i.call(o,t)>=0&&t!==n)&&(null!=e["v.vstate"]&&this.log("view-state is now '"+t+"' (was '"+n+"')","x"),"#init"!==t&&this.mdn()&&this.loc(window.location),e["v.vstate"]=t),r)},n.prototype.qa=function(t){return"boolean"==typeof t?(this.log("QA Mode: "+t,"q"),this.data["v.qa"]=t):!0===this.data["v.qa"]},n.prototype.tr=function(){return this.data["v.traits"]},n.prototype.tFor=function(t){var n,e,r;return n=null!=(e=null!=(r=_d.A[t])?r.fs:void 0)?e:this.tr(),this.tr().filter(function(t){var e;return"*"===t||(e=t.split(":")[0],i.call(n,e)>=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.tSti=function(){return this.tExt().filter(function(t){var n;return n=t.split(":")[0],i.call(_d.rt.eph,n)<0})},n.prototype.tMap=function(t){var n,e,r,s,i,o;for(i={"*":1},e=this.conf["rt:tr-ids"],r=0,s=t.length;s>r;r++)i[null!=(o=e[n=t[r]])?o:n]=1;return i},n.prototype.tHas=function(t){return t=o(t),i.call(this.data["v.traits"],t)>=0},n.prototype.ttHas=function(t){return this.data["v.traits"].some(function(n){return n.split(":")[0]===t})},n.prototype.tAdd=function(t,n){var e,r,s,u,a,l,c,d,p,h;if(u=(a=(t=o(t)).split(":"))[0],h=a[1],"def"===n){if(this.ttHas(u))return}else if("init"===n&&i.call(_d.rt.eph,u)>=0)return;if(!h)return!1;if(t.indexOf(" ")>-1&&(t=(u=u.trim())+":"+(h=h.trim())),(e=null!=(c=(p=null!=(l=_d.T[u])?l:{}).al)?c:{})[h]&&(this.log("Trait alias '"+h+"' mapped to value '"+e[h]+"'","t"),t=u+":"+(h=e[h])),this.tHas(t))return!1;if(s="init"===n,null!=(r=this.data["targ."+u]))switch(null!=(d=p.me)?d:"l"){case"f":if(!s)return!1;this.tDel(u+":"+r);break;case"l":if(s)return!1;this.tDel(u+":"+r)}return this.data["targ."+u]=h,this.data["v.traits"].push(t),s||0===u.indexOf("cust/")&&(this.dirty.t=!0),this.log("Added trait '"+t+"' ("+n+")","t"),!0},n.prototype.tDel=function(t){var n,e,r;return t=o(t),!!this.tHas(t)&&(n=(r=t.split(":"))[0],r[1],null!=n&&(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+"'","t"),!0))},o=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,e,r;return n=null!=(e=null!=(r=this.data["v.pl"])?r.split(","):void 0)?e:[],i.call(n,t)<0&&n.push(t),this.data["v.pl"]=n.join(",")},n.prototype.vn=function(){var t;return null!=(t=this.sess.vn)?t:0},n.prototype.vnAdv=function(){var t,n,e,r,s;t=null!=(e=(s=this.sess).vts)?e:0,(n=l())>t+this.conf["a:vis-ttl"]&&(s.vn=(null!=(r=s.vn)?r:0)+1),s.vts=n},n.prototype.log=function(t,n){return this.out.log.push(t),this.debug?(t="C:\\ ["+this.out.log.length+"] "+t,r?r(t,n):console.log(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()},a=function(t){var n,e,r,s;if(t){for(n in r={},t)("string"==(e=typeof(s=t[n]))||"number"===e||"boolean"===e)&&(r[n]=s);return r}},n}(),exports.Reapplyer=function(){function t(t,n,e,r){this.cb=t,this.targets=null!=n?n:[],this.opts=null!=e?e:{characterData:!0,subtree:!0,attributes:!0,childList:!0},this.max=null!=r?r:100,this.on=s(this.on,this);try{this.o=new MutationObserver(this.on)}catch(t){}this.n=0}return t.prototype.start=function(){var t,n,e,r,s;for(t=0,n=(e=this.targets).length;n>t;t++)s=e[t],this.o&&1===s.nodeType&&null!=(r=this.o)&&r.observe(s,this.opts)},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);
}).call(this)}).call(this,require('_process'))
},{"../../bots":1,"../../utils":20,"_process":8,"harness":"harness","log-styles":"log-styles"}],17:[function(require,module,exports){
(function(){exports._resolve=function(e,a,s){var c,r,t,n;return n=a+60*s,isFinite(n)?(r=new Date(1e3*n),c=r.getUTCDay(),t=r.getUTCHours(),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["su","mo","tu","we","th","fr","sa"][c];case"h":return t;case"z":return Math.floor(s/60);case"ts":return a}}()):null}}).call(this);
},{}],18:[function(require,module,exports){
(function(){exports.registry=function(){function n(conf){this.conf=conf}return n.prototype.getPlugin=function(n,e,t){var o,r;try{if(o=require("./plugins/"+n).p,!0===e&&!0!==r.sync)return;return(r=new o(this.conf))&&(r.harness=t),r}catch(e){return e,"undefined"!=typeof console&&null!==console&&console.log("Plugin '"+n+"' unavailable","e"),null}},n}()}).call(this);
},{}],19:[function(require,module,exports){
(function(){var t,n,r,e,l=[].indexOf||function(t){for(var n=0,r=this.length;r>n;n++)if(n in this&&this[n]===t)return n;return-1};r=require("../../utils"),t=require("./registry"),(n=exports).Plugin=function(){function t(){}return t.prototype.ttl=function(t){return 3600},t.prototype.as_code=function(t){return null!=t?t.replace(/[^A-Za-z0-9_-]/g,"-"):void 0},t.prototype.active=function(t){return!0},t.prototype.resolve=function(t,n,r,e){return e()},t}(),n.Targeter=function(){function n(n,r,e){this.conf=n,this.harness=r,this.sync_only=e,this.registry=new t.registry(this.conf),this.mode=null!=this.harness?"b":"s",this.account=null}return n.prototype.resolve=function(t,n,u){var o,i,s,a,c,v;return(null!=n?n.length:void 0)>0?(a={values:{}},o=null!=t.targ?t.targ:t.targ=null!=(i=null!=(s=t.sess)?s.vals:void 0)?i:{},this.sync_only&&t.log("In sync mode; async targeting lookups will be skipped.","t"),c=[],v=r.Dates.stamp(),e(n,function(n){return function(r,e){var u,i,s,d,f,h,g,p,y;return null!=(f="undefined"!=typeof _dd&&null!==_dd&&null!=(h=_dd.targ)?h.v[r]:void 0)?(a.values[r]=f,e(!1,a)):(s=(g=r.split("/"))[0],u=g[1],(d=n.registry.getPlugin(s,n.sync_only,n.harness)).account=n.account,(null!=d&&"function"==typeof d.active?d.active(t):void 0)?(y=d.ttl(u),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"===n.mode&&l.call(i,"b")<0&&l.call(i,"s")>=0?(c.push(r),e(!1,a)):d.resolve(t,u,o[r],function(t,u){return t?e(t):(a.values[r]=u,o[r]=null!=u&&y>0?{v:u,ts:v}:void 0,null===u&&"b"===n.mode&&l.call(i,"s")>=0&&c.push(r),e())}))):e())}}(this),function(n){return function(e){var l,conf,i,s,d,f,h,g,p,y,_;if(e)return u(e);if(conf=n.conf,0===c.length)return u(!1,a);if(p=conf["rt:sl-rate"],y=r.Rand.coin(p),t.log("Resolve ["+c+"] on server? "+y+" ("+p+")","t"),!y){for(s=0,f=c.length;f>s;s++)l=c[s],o[l]={v:null,ts:v};return u(!1,a)}for(_=conf["targ:lookup-url"]+"?codes="+c.join(",")+"&apikey="+_d.acc.k+"&vid="+t.data["v.vid"],d=0,h=(g=["ua","ip"]).length;h>d;d++)i=g[d],null!=t.data["v."+i]&&(_=_+"&"+i+"="+escape(t.data["v."+i]));return n.harness.http("GET",_,conf["targ:ext-tms"],function(n,r){var e,i,s,d,f,h,g;if(n)return t.log("Could not resolve: "+c+" ("+n+")","t"),u(!1,a);try{for(i=JSON.parse(r).data,h=[],s=0,d=c.length;d>s;s++)l=c[s],g=null!=(f=i.values[l])?f:null,t.log("Resolved on server: '"+l+"' ("+g+")","t"),null==(e=a.values)[l]&&(e[l]=g),h.push(o[l]={v:g,ts:v});return h}finally{return u(!1,a)}})}}(this))):u(!1,{})},n}(),n.geo_dm=function(conf,t){var n;switch(n=null!=conf?conf["acc:c-dom"]:void 0,!1){case void 0!==n:case null!=t&&""!==t:return"x";case l.call(n,t)<0:return"d";default:return"i"}},e=function(t,n,r){var e,l,u;return l=-1,u=t.length,(e=function(){return++l===u?r():n(t[l],function(t){return t&&r(t),e()})})()}}).call(this);
},{"../../utils":20,"./registry":18}],20:[function(require,module,exports){
(function (process){(function (){
(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,o,u;for(n=arguments[0],e=0,i=(u=2<=arguments.length?t.call(arguments,1):[]).length;i>e;e++)for(r in o=u[e])n[r]=o[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,o,u,f;for(u=0,r=0,i=t.length;i>r;r++)u+=t[r];for(e in 0===u&&(t=n.map(function(n){return 1}),u=n.length),o=Math.random()*u,f=0,t)if((f+=t[e])>o)return n[e]},n.coin=function(n){return n>1||n>=0&&this.pick([!0,!1],[n,1-n])},n}(),n.Conds=function(){function t(){}var r;return t.evalConds=function(e,r,i){var o,u,f,l,c,a,s,d,h;if(!((null!=e?e.length:void 0)>0))return!1;if(d=null!=(e=e.concat())[e.length-1].mode?e.pop():{mode:"all"},0===e.length)return"all"===(h=d.mode)||"any"===h;if("sets"===d.mode)return e.length>0&&e.every(function(t){return n.Conds.evalConds(t,r,i)});if("setsor"===d.mode)return e.some(function(t){return n.Conds.evalConds(t,r,i)});switch(d.mode){case"all":for(u=0,f=e.length;f>u;u++)if(o=e[u],!t.evalCond(o,r,i))return!1;return!0;case"any":for(a=0,l=e.length;l>a;a++)if(o=e[a],t.evalCond(o,r,i))return!0;return!1;case"none":for(s=0,c=e.length;c>s;s++)if(o=e[s],t.evalCond(o,r,i))return!1;return!0;default:throw Error("Unknown conds mode '"+d.mode+"'")}},t.evalCond=function(e,r,i){var o,u,f,l,c,a,s;return null==i&&(i=""),u=e[0],l=e[1],s=e[2],u=n.Strings.interpolate(u,r.data),s=n.Strings.interpolate(s,r.data),("gt"===l||"gte"===l||"lt"===l||"lte"===l)&&("string"==typeof u&&(u=parseFloat(u)),"string"==typeof s&&(s=parseFloat(s))),c=null!=(a="function"==typeof(o=t.ops)[l]?o[l](u,s):void 0)&&a,"undefined"!=typeof process&&null!==process&&(f=c?"ct":"cf",r.log("Condition "+c+": "+e+" ("+u+") ("+s+") ["+i+"]",f)),c},t.ops={is:function(n,t){return n===t},isnt:function(n,t){return n!==t},mp:function(t,e){return!0===n.Strings.pmatch(t,e,!0)},"mp-not":function(t,e){return!1===n.Strings.pmatch(t,e,!0)},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){try{return RegExp(t).test(n)}catch(n){return n,!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 i,o,u;if(!((n=r(n)).length>0&&t.length>0))return!1;for(i=0,o=t.length;o>i;i++)if(u=t[i],e.call(n,u)>=0)return!0;return!1},"has-all":function(n,t){var i,o,u;if(!((n=r(n)).length>0&&t.length>0))return!1;for(i=0,o=t.length;o>i;i++)if(u=t[i],e.call(n,u)<0)return!1;return!0},"has-none":function(n,t){var i,o,u;if(!((n=r(n)).length>0&&t.length>0))return!0;for(i=0,o=t.length;o>i;i++)if(u=t[i],e.call(n,u)>=0)return!1;return!0}},r=function(n){switch(!1){case""!==n:return[];case"string"!=typeof n:return n.split(",");default:return n}},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,o;if(null==e&&(e=!1),"undefined"===n||"string"!=typeof n)return!1;if(e){if(!((o=n.split(":")).length>1))return!1;for(r=0,i=o.length;i>r;r++)if(n=o[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,o,u,f,l;if(Array.isArray(t))return t;if(0===(o=n.interkeys(""+t)).length)return t;for(f=""+t,r=0,u=o.length;u>r;r++)i=o[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,o,u,f;for(f=t,e=r=0,i=(u=o=n.split("::")).length;i>r&&null!=(f=f[u[e]]);e=++r)if("function"==typeof f)return f(o[e+1]);return f},n.isNum=function(n){return""+ +n===n},n.parseUrl=function(n){var t,e,r,i,o,u,f;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(l){l;try{for(t=$("<a>",{href:n})[0],o={},e=0,i=(u=["hash","hostname","href","pathname","port","protocol","search"]).length;i>e;e++)o[r=u[e]]=null!=(f=t[r])?""+f:void 0;return o.pathname.length>0&&"/"!==o.pathname[0]&&(o.pathname="/"+o.pathname),o}catch(n){return void n}}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,o,u,f;if(u={},"string"!=typeof n)return u;for(t=0,r=(o=(n=n.trim().replace(/^(\?|#|&)/,"")).split("&")).length;r>t;t++)e=(i=o[t].replace(/\+/g," ").split("=")).shift(),f=i.length>0?i.join("="):void 0,u[decodeURIComponent(e)]=null!=f?decodeURIComponent(f):null;return u},n}(),n.nested=function(n,t,e){return null==e&&(e="."),n.split(e).reduce(function(n,t){return null!=n?n[t]:void 0},t)}}).call(this);
}).call(this)}).call(this,require('_process'))
},{"_process":8,"url":7}],"data-layers":[function(require,module,exports){
(function(){var t=function(t,n){return function(){return t.apply(n,arguments)}},n=[].indexOf||function(t){for(var n=0,e=this.length;e>n;n++)if(n in this&&this[n]===t)return n;return-1};exports.DL=function(){function e(conf,n,e,s){this.conf=conf,this.listener=n,null==e&&(e="dataLayer"),null==s&&(s=window),this.sub=t(this.sub,this),this._on=t(this._on,this),this.subs=[],this.dl=function(){switch(typeof e){case"string":return null!=s[e]?s[e]:s[e]=[];case"object":return e;default:return}}(),this.enabled()&&(null==s.DataLayerHelper&&require("dl-helper"),this.dlh=new s.DataLayerHelper(this.dl,this._on,!0))}return e.prototype.enabled=function(){var t;return"function"==typeof(null!=(t=this.dl)?t.push:void 0)},e.prototype.get=function(t){return this.enabled()?this.dlh.get(t):void 0},e.prototype.push=function(t,n){var e;return this.enabled()?this.dl.push(((e={event:t})[""+t]=n,e)):void 0},e.prototype._on=function(t,n){var e,s,i,r,o,u,h;switch(!1){case"string"!=typeof(h=n[this.conf["dl:key-vs"]]):return this.listener.on("ConductricsStateChange",h);case!Array.isArray(e=n[this.conf["dl:key-ex"]]):return this.listener.on("ConductricsCommands",{commands:e});case"string"!=typeof n.event:for(u=[],i=0,r=(o=this.subs).length;r>i;i++)s=o[i],u.push(s(n));return u}},e.prototype.sub=function(t){var e,s,i,r;if(!(n.call(this.subs,t)>=0)){if(this.enabled()&&this.conf["dl:past-events"])for(e=0,s=(r=this.dl).length;s>e;e++)"string"==typeof(i=r[e]).event&&t(i);this.subs.push(t)}},e.prototype.unsub=function(t){return this.subs.splice(this.subs.indexOf(t),1)},e}()}).call(this);
},{"dl-helper":"dl-helper"}],"dl-helper":[function(require,module,exports){
!function(){function t(t){return null==t?t+"":(t=f.exec(Object.prototype.toString.call(Object(t))))?t[1].toLowerCase():"object"}function r(t,r){return Object.prototype.hasOwnProperty.call(Object(t),r)}function n(n){if(!n||"object"!=t(n)||n.nodeType||n==n.window)return!1;try{if(n.constructor&&!r(n,"constructor")&&!r(n.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}for(var e in n);return void 0===e||r(n,e)}function e(t,r,n){this.b=t,this.f=r||function(){},this.d=!1,this.a={},this.c=[],this.e=o(this),i(this,t,!n);var e=t.push,c=this;t.push=function(){var r=[].slice.call(arguments,0),n=e.apply(t,r);return i(c,r),n}}function i(r,e,i){for(r.c.push.apply(r.c,e);!1===r.d&&0<r.c.length;){if("array"==t(e=r.c.shift()))t:{var o=e,f=r.a;if("string"==t(o[0])){for(var u=o[0].split("."),s=u.pop(),p=(o=o.slice(1),0);p<u.length;p++){if(void 0===f[u[p]])break t;f=f[u[p]]}try{f[s].apply(f,o)}catch(t){}}}else if("function"==typeof e)try{e.call(r.e)}catch(t){}else{if(!n(e))continue;for(var l in e)a(c(l,e[l]),r.a)}i||(r.d=!0,r.f(r.a,e),r.d=!1)}}function o(t){return{set:function(r,n){a(c(r,n),t.a)},get:function(r){return t.get(r)}}}function c(t,r){for(var n={},e=n,i=t.split("."),o=0;o<i.length-1;o++)e=e[i[o]]={};return e[i[i.length-1]]=r,n}function a(e,i){for(var o in e)if(r(e,o)){var c=e[o];"array"==t(c)?("array"==t(i[o])||(i[o]=[]),a(c,i[o])):n(c)?(n(i[o])||(i[o]={}),a(c,i[o])):i[o]=c}}var f=/\[object (Boolean|Number|String|Function|Array|Date|RegExp)\]/;window.DataLayerHelper=e,e.prototype.get=function(t){var r=this.a;t=t.split(".");for(var n=0;n<t.length;n++){if(void 0===r[t[n]])return;r=r[t[n]]}return r},e.prototype.flatten=function(){this.b.splice(0,this.b.length),this.b[0]={},a(this.a,this.b[0])}}();
},{}],"harness":[function(require,module,exports){
(function(){var t,e,n,o,r,c,u;n="cp-sess",e="cp-hold",r=function(t){try{return localStorage.getItem(t)}catch(t){}},o=function(t){try{return decodeURIComponent(document.cookie.replace(RegExp("(?:(?:^|.*;)\\s*"+encodeURIComponent(t).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*([^;]*).*$)|^.*$"),"$1"))||null}catch(t){}},module.exports=t={single:!0,sess_get:function(){return r(n)},sess_set:function(t){try{localStorage.setItem(n,t)}catch(t){}},sess_del:function(){try{localStorage.removeItem(n)}catch(t){}},beacon:function(e){navigator.sendBeacon?navigator.sendBeacon(e):t.http("GET",e)},http:function(t,e,n,o){var r;null==n&&(n=2e3),r=new XMLHttpRequest,null!=o&&(r.onload=function(){return o(!1,r.responseText)},r.ontimeout=function(){return o("timeout")},r.onerror=function(){return o("HTTP error ("+r.status+")")}),r.open(t,e),r.timeout=n,r.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(t){}},env_get:function(){var t,e,n;if(t="true"===r("c-conductrics-new"))try{localStorage.removeItem("c-conductrics-new")}catch(t){}return{mdn:(e=c())?"m":"n",v:{ua:navigator.userAgent,loc:window.location,ref:window.document.referrer,ts:Date.now()/1e3,tzo:0-(new Date).getTimezoneOffset(),dnt:!e||1===(n=navigator.doNotTrack)||"1"===n||!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"),abort:"true"===r("c-conductrics-abort"),newv:t,sels:this.st_get("c-conductrics-sels")}},log:function(){return"undefined"!=typeof console&&null!==console?console.log.call(this,arguments):void 0},q_get:function(){var t;try{t=JSON.parse(sessionStorage.getItem(e))}catch(t){}return Array.isArray(t)||(t=[]),t},q_add:function(t){t.length>0&&sessionStorage.setItem(e,JSON.stringify(this.q_get().concat(t)))},q_del:function(){try{return sessionStorage.removeItem(e)}catch(t){}}},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(t){return!1}}}).call(this);
},{}],"jsonpack":[function(require,module,exports){
("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})([],function(){var e=function(e){return"string"!=typeof e?e:e.replace(/[\+ \|\^\%]/g,function(e){return{" ":"+","+":"%2B","|":"%7C","^":"%5E","%":"%25","~":"%7E"}[e]})},r=function(e){return"string"!=typeof e?e:e.replace(/\+|%2B|%7C|%5E|%25/g,function(e){return{"+":" ","%2B":"+","%7C":"|","%5E":"^","%25":"%","%7E":"~"}[e]})},n=function(e){return Number.prototype.toString.call(e,36).toUpperCase()},t=function(e){return parseInt(e,36)},i=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:function(r,t){t=t||{},r="string"==typeof r?this.JSON.parse(r):r;var s={strings:[],integers:[],floats:[]},f=function r(t){var f,u=typeof t;if(null===t)return{type:"null",index:-3};if(void 0===t)return{type:"undefined",index:-5};if(t instanceof Array){for(var a=["@"],o=0;o<t.length;o++)a.push(r(t[o]));return a}if("object"===u){for(var p in a=["$"],t)t.hasOwnProperty(p)&&(a.push(r(p)),a.push(r(t[p])));return a}if(""===t)return{type:"empty",index:-4};if("string"===u)return-1==(f=i.call(s.strings,t))&&(s.strings.push(e(t)),f=s.strings.length-1),{type:"strings",index:f};if("number"===u&&t%1==0)return-1==(f=i.call(s.integers,t))&&(s.integers.push(n(t)),f=s.integers.length-1),{type:"integers",index:f};if("number"===u)return-1==(f=i.call(s.floats,t))&&(s.floats.push(t),f=s.floats.length-1),{type:"floats",index:f};if("boolean"===u)return{type:"boolean",index:t?-1:-2};throw Error("Unpack type "+typeof t)}(r),u=s.strings.length,a=s.integers.length,o=(s.floats.length,s.strings.join("|"));return o+="^"+s.integers.join("|"),o+="^"+s.floats.join("|"),o+="^"+function e(r){if(r instanceof Array){for(var t=r.shift(),i=0;i<r.length;i++)t+=e(r[i])+"|";return("|"===t[t.length-1]?t.slice(0,-1):t)+"]"}var s=r.type,f=r.index;if("strings"===s)return n(f);if("integers"===s)return n(u+f);if("floats"===s)return n(u+a+f);if("boolean"===s)return r.index;if("null"===s)return-3;if("undefined"===s)return-5;if("empty"===s)return-4;throw new TypeError("The item is alien!")}(f),t.debug?{dictionary:s,ast:f,packed:o}:o},unpack:function(e,n){if("string"!=typeof e)return e;n=n||{};var i=e.split("^"),s=[],f=i[0];if(""!==f){f=f.split("|");for(var u=0;u<f.length;u++)s.push(r(f[u]))}if(""!==(f=i[1]))for(f=f.split("|"),u=0;u<f.length;u++)s.push(t(f[u]));if(""!==(f=i[2]))for(f=f.split("|"),u=0;u<f.length;u++)s.push(parseFloat(f[u]));f=void 0;var a="",o=[];for(u=0;u<i[3].length;u++){var p=i[3][u];"|"===p||"$"===p||"@"===p||"]"===p?(a&&(o.push(t(a)),a=""),"|"!==p&&o.push(p)):a+=p}var l=o.length,h=0;return function e(){var r=o[h++];if("@"===r){for(var n=[];l>h;h++){if("]"===(t=o[h]))return n;if("@"===t||"$"===t)n.push(e());else switch(t){case-1:n.push(!0);break;case-2:n.push(!1);break;case-3:n.push(null);break;case-5:n.push(void 0);break;case-4:n.push("");break;default:n.push(s[t])}}return n}if("$"===r){for(n={};l>h;h++){var t,i=o[h];if("]"===i)return n;if(i=-4===i?"":s[i],"@"===(t=o[++h])||"$"===t)n[i]=e();else switch(t){case-1:n[i]=!0;break;case-2:n[i]=!1;break;case-3:n[i]=null;break;case-5:n[i]=void 0;break;case-4:n[i]="";break;default:n[i]=s[t]}}return n}throw new TypeError("Bad token "+r+" isn't a type")}()}}});
},{}],"loader":[function(require,module,exports){
(function(){exports.Loader=function(){function n(){}return n}()}).call(this);

},{}],"log-styles":[function(require,module,exports){
(function(){var o;o={e:"color:#D50000;",a:"color:#2962FF;",g:"color:#2E7D32;",t:"color:#359996;",s:"color:#AA00FF;",x:"color:#6A1B9A;",ct:"color:#546E7A;",cf:"color:#607D8B;",q:"color:#FF6D00;",i:"color:#00BFA5;"},exports.logger=function(c,l){return console.log("%c"+c,o[l])}}).call(this);
},{}]},{},[3,12,14,15]);
;
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,"dataLayer":"conductricsDataLayer","globalEvents":true}).run(); }}() )