!function e(t,n,r){function o(a,s){if(!n[a]){if(!t[a]){var c="function"==typeof require&&require;if(!s&&c)return c(a,!0);if(i)return i(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var f=n[a]={exports:{}};t[a][0].call(f.exports,function(e){var n=t[a][1][e];return o(n?n:e)},f,f.exports,e,t,n,r)}return n[a].exports}for(var i="function"==typeof require&&require,a=0;a0&&(v.log(o,e,n),g[t]=void 0)}function f(e){var t=i.getEnvironment(),n=0,r={publisherId:b,pageUrl:t.pageUrl,referrer:t.referrer,timeZoneOffset:t.timeZone,lang:t.lang,pageWidth:t.width,pageHeight:t.height,slots:[]};for(var o in e)if(e.hasOwnProperty(o)){var a={slotId:o,sizes:e[o].sizes,winner:e[o].winner||"",winCpm:e[o].winCpm||0,bidders:[]};if(e[o].hasOwnProperty("bidders")){for(var s in e[o].bidders)if(e[o].bidders.hasOwnProperty(s))for(n=0;n0}return t&&(n&&e.winner||!n)}function h(e){var t,n,r;if(e.slot)for(r in g){t=g[r];for(n in t)t[e.slot.getAdUnitPath()]&&(t[e.slot.getAdUnitPath()].adServerRendered=!0),t[e.slot.getSlotElementId()]&&(t[e.slot.getSlotElementId()].adServerRendered=!0)}var o=!0;for(r in g){t=g[r],o=!0;for(n in t)t.hasOwnProperty(n)&&(o=o&&t[n].adServerRendered);o&&setTimeout(p(r),O)}}function p(e){return function(){u("dfpRender",e,!1)}}var g={},v=e.logger||new r(e),b=e.pubId||-1,y="pulse",w={},m=["close","unload","beforeunload","pagehide"],O=e.postDfpEventWaitMs||5e3;this.bidRequested=function(e,n,r,o,i,a){var s=t(e,o,r);s[o].sizes=i,0===r.indexOf(y)&&(w[n]=a,w[o]=a)},this.bidResponse=function(e,r,i,a,s,u,f){var d=t(e,a,i),l={cpm:s,timeTaken:u,status:0===s?o.PASSBACK:o.BID,filterReason:f?f:c.NONE};0===i.indexOf(y)&&(w[r]?l.tagId=w[r].ct:w[a]&&(l.tagId=w[r].ct)),l.tagId=l.tagId||"",d[a].bidders[i].push(l),n()},this.allSlotsTimeout=function(e,t){var r=g[e];if(r)for(var o in r)r.hasOwnProperty(o)&&r[o].bidders&&r[o].bidders[t]&&this.timeout(e,t,o);n()},this.timeout=function(e,r,i){var a=t(e,i,r),s={cpm:0,timeTaken:0,status:o.TIMEOUT,tagId:""};if(0===a[i].bidders[r].length)a[i].bidders[r].push(s);else for(var c=0;c=0))throw new Error("Document does not have head or body");var r=document.createElement("script");r.async=!0,r.src=e,r.type="text/javascript",r.addEventListener?r.addEventListener("load",t,!1):r.attachEvent("onreadystatechange",function(){("loaded"===r.readyState||"complete"===r.readyState)&&(r.onreadystatechange=null,t())}),n[0].appendChild(r)}};t.exports=r},{}],8:[function(e,t,n){var r={getEnvironment:function(){return{pageUrl:this.getPageUrl(),referrer:this.getReferrer(),width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,timeZone:(new Date).getTimezoneOffset(),lang:navigator.language||navigator.browserLanguage||navigator.userLanguage||navigator.systemLanguage}},getPageUrl:function(){var e=function(e,t){try{return t?e.document.referrer||e.location.href:e.location.href}catch(n){}},t=e(top,!1);if(!t)for(var n=window;n!==top;){var r=e(n,!0);r&&(t=r),n=n.parent}return t},getReferrer:function(){try{return top.document.referrer}catch(e){return""}}};t.exports=r},{}],9:[function(e,t,n){var r={attachEvent:function(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent?e.attachEvent("on"+t,n):e["on"+etype]=n},fireEvent:function(e,t,n){if(e.createEvent&&t.dispatchEvent){var r=e.createEvent("UIEvents");r.initEvent(n,!0,!1),t.dispatchEvent(r)}else t.fireEvent&&t.fireEvent("on"+n)},onDocumentLoaded:function(e,t,n){"complete"===t.readyState?n():this.attachEvent(e,"load",function(e){n()})}};t.exports=r},{}],10:[function(e,t,n){var r=e(11),o=e(7),i={makeRequest:function(e){try{e.method=e.method||"GET",e.success=e.success||function(e){},e.error=e.error||function(e,t){},e.cors=e.cors||!1;var t=null;window.XMLHttpRequest?t=new XMLHttpRequest:window.ActiveXObject&&(t=new ActiveXObject("Microsoft.XMLHTTP")),t.open(e.method||"GET",e.url,1),t.onreadystatechange=function(){4===t.readyState&&i.handleResponse(e,t)},e.cors&&(t.withCredentials=!0,t.setRequestHeader("Content-type","text/plain")),t.send(e.body||null)}catch(n){e.error(n,null)}},handleResponse:function(e,t){var n=t.responseText;try{if(200==t.status){if(n){var r=t.getResponseHeader("Content-type");return r&&r.indexOf("application/json")>-1?void e.success(JSON.parse(n),t.status):void e.success(n,t.status)}}else if(t.status>300||0===t.status)return void e.error(new Error("Response code:"+t.status),n,t.status);e.success(null,t.status)}catch(o){e.error(o,n,t.status)}},sendDataOnUnload:function(e,t){var n=JSON.stringify(t),i=r.buildUri(e,{data:n}),a=navigator.sendBeacon;a&&(a=navigator.sendBeacon(e,n)),a||(void 0!==window.Image?new window.Image(1,1).src=i:o.createPixel(i))}};t.exports=i},{11:11,7:7}],11:[function(e,t,n){var r={buildUri:function(e,t,n){var r="";if(t)for(var o in t)t.hasOwnProperty(o)&&(r+=o+"="+encodeURIComponent(t[o])+"&");return n===!0?e+"#"+r:e+(e.indexOf("?")>0?"&"+r:"?"+r)},urlToQueryMap:function(e,t){var n=e;e.indexOf("?")>=0&&(n=e.substring(e.indexOf("?")+1));var r=function(e,t){for(var n=t.split("&"),r=0;r=0&&(hashFragment=e.substring(e.indexOf("#")+1),o=r(o,hashFragment)),o}};t.exports=r},{}],12:[function(e,t,n){var r={forEachProperty:function(e,t){if(null!==e&&void 0!==e&&"object"==typeof e)for(var n in e)e.hasOwnProperty(n)&&t(n,e[n])},forEach:function(e,t){if(null!==e&&void 0!==e&&"object"==typeof e&&void 0!==e.length)for(var n=0;n1)))/4)-U((e-1901+t)/100)+U((e-1601+t)/400)};if((p=b.hasOwnProperty)||(p=function(e){var t,n={};return(n.__proto__=null,n.__proto__={toString:1},n).toString!=y?p=function(e){var t=this.__proto__,n=e in(this.__proto__=null,this);return this.__proto__=t,n}:(t=n.constructor,p=function(e){var n=(this.constructor||t).prototype;return e in this&&!(e in n&&this[e]===n[e])}),n=null,p.call(this,e)}),g=function(e,t){var n,r,o,a=0;(n=function(){this.valueOf=0}).prototype.valueOf=0,r=new n;for(o in r)p.call(r,o)&&a++;return n=r=null,a?g=2==a?function(e,t){var n,r={},o=y.call(e)==O;for(n in e)o&&"prototype"==n||p.call(r,n)||!(r[n]=1)||!p.call(e,n)||t(n)}:function(e,t){var n,r,o=y.call(e)==O;for(n in e)o&&"prototype"==n||!p.call(e,n)||(r="constructor"===n)||t(n);(r||p.call(e,n="constructor"))&&t(n)}:(r=["valueOf","toString","toLocaleString","propertyIsEnumerable","isPrototypeOf","hasOwnProperty","constructor"],g=function(e,t){var n,o,a=y.call(e)==O,s=!a&&"function"!=typeof e.constructor&&i[typeof e.hasOwnProperty]&&e.hasOwnProperty||p;for(n in e)a&&"prototype"==n||!s.call(e,n)||t(n);for(o=r.length;n=r[--o];s.call(e,n)&&t(n));}),g(e,t)},!n("json-stringify")){var P={92:"\\\\",34:'\\"',8:"\\b",12:"\\f",10:"\\n",13:"\\r",9:"\\t"},R="000000",I=function(e,t){return(R+(t||0)).slice(-e)},_="\\u00",D=function(e){for(var t='"',n=0,r=e.length,o=!j||r>10,i=o&&(j?e.split(""):e);r>n;n++){var a=e.charCodeAt(n);switch(a){case 8:case 9:case 10:case 12:case 13:case 34:case 92:t+=P[a];break;default:if(32>a){t+=_+I(2,a.toString(16));break}t+=o?i[n]:e.charAt(n)}}return t+'"'},J=function(e,t,n,r,o,i,a){var s,c,u,f,l,h,b,w,m,O,j,A,P,R,_,L;try{s=t[e]}catch(M){}if("object"==typeof s&&s)if(c=y.call(s),c!=E||p.call(s,"toJSON"))"function"==typeof s.toJSON&&(c!=C&&c!=S&&c!=T||p.call(s,"toJSON"))&&(s=s.toJSON(e));else if(s>-1/0&&1/0>s){if(N){for(l=U(s/864e5),u=U(l/365.2425)+1970-1;N(u+1,0)<=l;u++);for(f=U((l-N(u,0))/30.42);N(u,f+1)<=l;f++);l=1+l-N(u,f),h=(s%864e5+864e5)%864e5,b=U(h/36e5)%24,w=U(h/6e4)%60,m=U(h/1e3)%60,O=h%1e3}else u=s.getUTCFullYear(),f=s.getUTCMonth(),l=s.getUTCDate(),b=s.getUTCHours(),w=s.getUTCMinutes(),m=s.getUTCSeconds(),O=s.getUTCMilliseconds();s=(0>=u||u>=1e4?(0>u?"-":"+")+I(6,0>u?-u:u):I(4,u))+"-"+I(2,f+1)+"-"+I(2,l)+"T"+I(2,b)+":"+I(2,w)+":"+I(2,m)+"."+I(3,O)+"Z"}else s=null;if(n&&(s=n.call(t,e,s)),null===s)return"null";if(c=y.call(s),c==x)return""+s;if(c==C)return s>-1/0&&1/0>s?""+s:"null";if(c==S)return D(""+s);if("object"==typeof s){for(R=a.length;R--;)if(a[R]===s)throw d();if(a.push(s),j=[],_=i,i+=o,c==T){for(P=0,R=s.length;R>P;P++)A=J(P,s,n,r,o,i,a),j.push(A===v?"null":A);L=j.length?o?"[\n"+i+j.join(",\n"+i)+"\n"+_+"]":"["+j.join(",")+"]":"[]"}else g(r||s,function(e){var t=J(e,s,n,r,o,i,a);t!==v&&j.push(D(e)+":"+(o?" ":"")+t)}),L=j.length?o?"{\n"+i+j.join(",\n"+i)+"\n"+_+"}":"{"+j.join(",")+"}":"{}";return a.pop(),L}};t.stringify=function(e,t,n){var r,o,a,s;if(i[typeof t]&&t)if((s=y.call(t))==O)o=t;else if(s==T){a={};for(var c,u=0,f=t.length;f>u;c=t[u++],s=y.call(c),(s==S||s==C)&&(a[c]=1));}if(n)if((s=y.call(n))==C){if((n-=n%1)>0)for(r="",n>10&&(n=10);r.lengthL;)switch(o=i.charCodeAt(L)){case 9:case 10:case 13:case 32:L++;break;case 123:case 125:case 91:case 93:case 58:case 44:return e=j?i.charAt(L):i[L],L++,e;case 34:for(e="@",L++;a>L;)if(o=i.charCodeAt(L),32>o)z();else if(92==o)switch(o=i.charCodeAt(++L)){case 92:case 34:case 47:case 98:case 116:case 110:case 102:case 114:e+=k[o],L++;break;case 117:for(t=++L,n=L+4;n>L;L++)o=i.charCodeAt(L),o>=48&&57>=o||o>=97&&102>=o||o>=65&&70>=o||z();e+=q("0x"+i.slice(t,L));break;default:z()}else{if(34==o)break;for(o=i.charCodeAt(L),t=L;o>=32&&92!=o&&34!=o;)o=i.charCodeAt(++L);e+=i.slice(t,L)}if(34==i.charCodeAt(L))return L++,e;z();default:if(t=L,45==o&&(r=!0,o=i.charCodeAt(++L)),o>=48&&57>=o){for(48==o&&(o=i.charCodeAt(L+1),o>=48&&57>=o)&&z(),r=!1;a>L&&(o=i.charCodeAt(L),o>=48&&57>=o);L++);if(46==i.charCodeAt(L)){for(n=++L;a>n&&(o=i.charCodeAt(n),o>=48&&57>=o);n++);n==L&&z(),L=n}if(o=i.charCodeAt(L),101==o||69==o){for(o=i.charCodeAt(++L),(43==o||45==o)&&L++,n=L;a>n&&(o=i.charCodeAt(n),o>=48&&57>=o);n++);n==L&&z(),L=n}return+i.slice(t,L)}if(r&&z(),"true"==i.slice(L,L+4))return L+=4,!0;if("false"==i.slice(L,L+5))return L+=5,!1;if("null"==i.slice(L,L+4))return L+=4,null;z()}return"$"},H=function(e){var t,n;if("$"==e&&z(),"string"==typeof e){if("@"==(j?e.charAt(0):e[0]))return e.slice(1);if("["==e){for(t=[];e=F(),"]"!=e;n||(n=!0))n&&(","==e?(e=F(),"]"==e&&z()):z()),","==e&&z(),t.push(H(e));return t}if("{"==e){for(t={};e=F(),"}"!=e;n||(n=!0))n&&(","==e?(e=F(),"}"==e&&z()):z()),(","==e||"string"!=typeof e||"@"!=(j?e.charAt(0):e[0])||":"!=F())&&z(),t[e.slice(1)]=H(F());return t}z()}return e},B=function(e,t,n){var r=W(e,t,n);r===v?delete e[t]:e[t]=r},W=function(e,t,n){var r,o=e[t];if("object"==typeof o&&o)if(y.call(o)==T)for(r=o.length;r--;)B(o,r,n);else g(o,function(e){B(o,e,n)});return n.call(e,t,o)};t.parse=function(e,t){var n,r;return L=0,M=""+e,n=H(F()),"$"!=F()&&z(),L=M=null,t&&y.call(t)==O?W((r={},r[""]=n,r),"",t):n}}}return t.runInContext=r,t}var o="function"==typeof define&&define.amd,i={"function":!0,object:!0},a=i[typeof n]&&n&&!n.nodeType&&n,s=i[typeof window]&&window||this,c=a&&i[typeof t]&&t&&!t.nodeType&&"object"==typeof e&&e;if(!c||c.global!==c&&c.window!==c&&c.self!==c||(s=c),a&&!o)r(s,a);else{var u=s.JSON,f=s.JSON3,d=!1,l=r(s,s.JSON3={noConflict:function(){return d||(d=!0,s.JSON=u,s.JSON3=f,u=f=null),l}});s.JSON={parse:l.parse,stringify:l.stringify}}o&&define(function(){return l})}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[5]);