diff --git a/code/China _ Data.html b/code/China _ Data.html new file mode 100644 index 00000000..ae5b4a4a --- /dev/null +++ b/code/China _ Data.html @@ -0,0 +1,70 @@ + + +China | Data + +

China 

196019802000Trillion 012China
+
China (1992)
+
426.916 Billion
+
196019802000Billion 0.71.4China
+
China (1972)
+
862,030,000
+
196019802000 100130China
+
China (1976)
+
121.58
+
196019802000 08China
+
China (2014)
+
7.544
+
196019802000 218China
196019802000 4080China
196019802000Thousand 09China
196019802000 5880China

Global Economic Prospects - Forecasts

Projects & Operations

Finances

Surveys

\ No newline at end of file diff --git a/code/China _ Data_files/1458892451075570 b/code/China _ Data_files/1458892451075570 new file mode 100644 index 00000000..1f4a73d8 --- /dev/null +++ b/code/China _ Data_files/1458892451075570 @@ -0,0 +1,23 @@ +/** +* Copyright (c) 2017-present, Facebook, Inc. All rights reserved. +* +* You are hereby granted a non-exclusive, worldwide, royalty-free license to use, +* copy, modify, and distribute this software in source code or binary form for use +* in connection with the web services and APIs provided by Facebook. +* +* As with any software that integrates with the Facebook platform, your use of +* this software is subject to the Facebook Platform Policy +* [http://developers.facebook.com/policy/]. This copyright notice shall be +* included in all copies or substantial portions of the software. +* +* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +*/ + +(function(a,b,c,d){var e={exports:{}};e.exports;(function(){var f=a.fbq;f.execStart=a.performance&&a.performance.now&&a.performance.now();if(!function(){var b=a.postMessage||function(){};if(!f){b({action:"FB_LOG",logType:"Facebook Pixel Error",logMessage:"Pixel code is not installed correctly on this page"},"*");"error"in console&&console.error("Facebook Pixel Error: Pixel code is not installed correctly on this page");return!1}return!0}())return;var g=typeof Symbol==="function"&&typeof (typeof Symbol==="function"?Symbol.iterator:"@@iterator")==="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol==="function"&&a.constructor===Symbol&&a!==(typeof Symbol==="function"?Symbol.prototype:"@@prototype")?"symbol":typeof a},h=function(){function a(a,b){for(var c=0;c1?c-1:0),e=1;e1?e-1:0),g=1;g1&&arguments[1]!==undefined?arguments[1]:0,e=arguments.length>2&&arguments[2]!==undefined?arguments[2]:!1;if(!e&&!j)return;try{var f=new d(null);f.append("v",g.fbq&&g.fbq.version?g.fbq.version:"unknown");f.append("rs",i);f.append("e",event);f.append("p",b);c(f,"https://connect.facebook.net/log/fbevents_telemetry/")}catch(b){a.logError(b)}}function l(){k("COALESCE_INIT")}function m(a){k("COALESCE_COMPLETE",a)}function n(a){k("FBMQ_FORWARDED",a,!0)}e.exports={logStartBatch:l,logEndBatch:m,logMobileNativeForwarding:n}})();return e.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsUtils",function(){return function(a,b,c,d){var e={exports:{}};e.exports;(function(){"use strict";var c=f.getFbeventsModules("SignalsFBEventsProxyState"),d=Object.prototype.toString,j=!("addEventListener"in b);function k(a,b){return typeof b==="function"&&a instanceof b}function l(a){return Array.isArray?Array.isArray(a):d.call(a)==="[object Array]"}function m(a){return typeof a==="number"||typeof a==="string"&&/^\d+$/.test(a)}var n=Number.isInteger||function(a){return typeof a==="number"&&isFinite(a)&&Math.floor(a)===a};function o(a,b,c){var d=j?"on"+b:b;b=j?a.attachEvent:a.addEventListener;var e=j?a.detachEvent:a.removeEventListener,f=function b(){e&&e.call(a,d,b,!1),c()};b&&b.call(a,d,f,!1)}var p=Object.prototype.hasOwnProperty,q=!{toString:null}.propertyIsEnumerable("toString"),r=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],s=r.length;function t(a){if(Object.keys)return Object.keys(a);if((typeof a==="undefined"?"undefined":g(a))!=="object"&&(typeof a!=="function"||a===null))throw new TypeError("Object.keys called on non-object");var b=[];for(var c in a)p.call(a,c)&&b.push(c);if(q)for(var d=0;d>>0;if(typeof b!=="function")throw new TypeError(b+" is not a function");c=new Array(e);d=0;while(d>>0,d=arguments.length>=2?arguments[1]:void 0;for(var e=0;e>>0;if(typeof a!=="function")throw new TypeError();var d=[],e=arguments.length>=2?arguments[1]:void 0;for(var f=0;fb?a.substr(0,b):a}l={isArray:l,isEmptyObject:w,isNumber:m,isInteger:n,isInstanceOf:k,keys:t,listenOnce:o,map:u,truncate:E,sendGET:A,sendPOST:B,sendBeacon:C,FBSet:y,each:function(a,b){u.call(this,a,b)},some:function(a,b){return v.call(a,b)},filter:function(a,b){return x.call(a,b)},castTo:D};e.exports=l})();return e.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsParamList",function(){return function(f,b,c,d){var e={exports:{}};e.exports;(function(){"use strict";var a="deep",b="shallow";function c(a){if(JSON===undefined||JSON===null||!JSON.stringify)return Object.prototype.toString.call(a);else return JSON.stringify(a)}function d(a){if(a===null||a===undefined)return!0;a=typeof a==="undefined"?"undefined":g(a);return a==="number"||a==="boolean"||a==="string"}var f=function(){function e(a){i(this,e),this._params=[],this._piiTranslator=a}h(e,[{key:"containsKey",value:function(a){for(var b=0;b2&&arguments[2]!==undefined?arguments[2]:!1;this._append(encodeURIComponent(b),c,a,d);return this}},{key:"appendHash",value:function(b){var c=arguments.length>1&&arguments[1]!==undefined?arguments[1]:!1;for(var d in b)Object.prototype.hasOwnProperty.call(b,d)&&this._append(encodeURIComponent(d),b[d],a,c);return this}},{key:"_append",value:function(b,e,f,g){d(e)?this._appendPrimitive(b,e,g):f===a?this._appendObject(b,e,g):this._appendPrimitive(b,c(e),g)}},{key:"_translateValue",value:function(a,b,c){if(typeof b==="boolean")return b?"true":"false";if(!c)return""+b;if(!this._piiTranslator)throw new Error();return this._piiTranslator(a,""+b)}},{key:"_appendPrimitive",value:function(a,b,c){if(b!=null){b=this._translateValue(a,b,c);b!=null&&this._params.push({name:a,value:b})}}},{key:"_appendObject",value:function(a,c,d){var e=null;for(var f in c)if(Object.prototype.hasOwnProperty.call(c,f)){var g=a+"["+encodeURIComponent(f)+"]";try{this._append(g,c[f],b,d)}catch(a){e==null&&(e=a)}}if(e!=null)throw e}},{key:"each",value:function(a){for(var b=0;b-1;b=b.userAgent.match("CriOS");return!b&&a!==null&&a!==undefined&&c==="Google Inc."&&d===!1&&e===!1}function v(a,b,c,e,f){if(g.navigator&&g.navigator.sendBeacon){f=new l(f);q(f,a,b,c);e&&f.addRange(e);d(f,n.ENDPOINT)}}e.exports={CONFIG:n,sendEvent:t,sendBeaconPII:v,setUseBeacon:c}})();return e.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEvents.plugins.iwlbootstrapper",function(){return function(g,h,i,d){var e={exports:{}};e.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsPlugin"),b=f.getFbeventsModules("SignalsPixelEndpoint"),c=function(a,b,c){return"https://"+["www",c,"facebook","com"].filter(function(a){return a.length!==0}).join(".")+"/signals/iwl.js?pixel_id="+a+(b?"&js_debug=1":"")},d=/^https:\/\/.*\.facebook\.com$/i,i=/^https:\/\/www\.([A-Za-z0-9\.]+)\.facebook\.com\/tr$/,j=b.CONFIG.ENDPOINT!=="https://www.facebook.com/tr"&&i.test(b.CONFIG.ENDPOINT),k=j?i.exec(b.CONFIG.ENDPOINT)[1]:"",l="FB_IWL_BOOTSTRAPPER_STORAGE",m=g.sessionStorage?g.sessionStorage:{getItem:function(a){return null},setItem:function(a,b){},removeItem:function(a){}},n=!1;function o(){var a=m.getItem(l);if(!a)return;a=JSON.parse(a);var b=a.pixelID,d=a.graphToken,e=a.debug,f=a.permissionLevel,i=a.showFlow,o=a.gks;if(n||!b)return;n=!0;a=h.createElement("script");a.async=!0;a.onload=function(){g.FacebookIWL&&g.FacebookIWL.init&&(g.FacebookIWLSessionEnd=function(){m.removeItem(l),g.location.reload()},j&&g.FacebookIWL.set&&g.FacebookIWL.set("tier",k),g.FacebookIWL.init(b,d,f,i,o))};a.src=c(b,e,k);h.body&&h.body.appendChild(a)}function p(event){if(m.getItem(l)||!d.test(event.origin)||!(event.data&&event.data.msg_type==="FACEBOOK_IWL_BOOTSTRAP"))return;event.source.postMessage("FACEBOOK_IWL_BOOTSTRAP_ACK",event.origin);var a=event.data,b=a.pixelID,c=a.graphToken,e=a.debug,f=a.permissionLevel,g=a.showFlow;a=a.gks;m.setItem(l,JSON.stringify({pixelID:b,graphToken:c,debug:e,permissionLevel:f,showFlow:g,gks:a}));o()}e.exports=new a(function(a,b){if(m.getItem(l)){o();return}g.opener&&g.addEventListener("message",p)})})();return e.exports}(a,b,c,d)});e.exports=f.getFbeventsModules("SignalsFBEvents.plugins.iwlbootstrapper");f.registerPlugin&&f.registerPlugin("fbevents.plugins.iwlbootstrapper",e.exports);f.ensureModuleRegistered("fbevents.plugins.iwlbootstrapper",function(){return e.exports})})()})(window,document,location,history); +fbq.registerPlugin("1458892451075570", {__fbEventsPlugin: 1, plugin: function(fbq, instance, config) { fbq.loadPlugin("iwlbootstrapper"); +instance.optIn("1458892451075570", "IWLBootstrapper", true);instance.configLoaded("1458892451075570"); }}); \ No newline at end of file diff --git a/code/China _ Data_files/WebStatsUtil.js.download b/code/China _ Data_files/WebStatsUtil.js.download new file mode 100644 index 00000000..71ff7b71 --- /dev/null +++ b/code/China _ Data_files/WebStatsUtil.js.download @@ -0,0 +1,57 @@ +//Created for WBS_51 Process omniture cookie information webStatsUtil.js +//newFunction +function getCookieValueByName(name){ + var cookieContent=''; + var allCookies = document.cookie; + if(allCookies!=null){ + var cPos = allCookies.indexOf(name+'='); + if(cPos != -1){ + var cdstart = cPos + name.length+1; + var cdend = allCookies.indexOf(";", cdstart); + if(cdend == -1) cdend = allCookies.length; + cookieContent = allCookies.substring(cdstart,cdend); + } + } + return cookieContent ; +} + +function getVPU(cookieContent,my_Stats_type){ + var vpu='Not Available'; + if(cookieContent!=null && cookieContent!=''){ + var array = cookieContent.split(':'); + try{vpu=array[0]; + }catch(e){} + } + else + { + if(my_Stats_type == "H") + vpu='-'; + } + return vpu; +} + + + +function getDutyStation(cookieContent,my_Stats_type){ + var dutystation='Not Available'; + if(cookieContent!=null && cookieContent!=''){ + var array = cookieContent.split(':'); + try{ + dutystation=array[array.length-1]; + }catch(e){} + } + else + { + if(my_Stats_type == "H") + dutystation='-'; + } + return dutystation; +} + +function getUserType(cookieContent){ + var userType='U'; + if(cookieContent!=null && cookieContent!=''){ + userType='I'; + } + return userType; +} diff --git a/code/China _ Data_files/XzQsWhTqmnE8dYDOJ0HjJQ.js.download b/code/China _ Data_files/XzQsWhTqmnE8dYDOJ0HjJQ.js.download new file mode 100644 index 00000000..41755b6f --- /dev/null +++ b/code/China _ Data_files/XzQsWhTqmnE8dYDOJ0HjJQ.js.download @@ -0,0 +1,3 @@ +window.UserVoice = {events:window.UserVoice||[],push:function(x){window.UserVoice.events.push(x)},account:{"active_widgets":[],"campaign":null,"name":"World Bank Data","white_labeled":true,"widget2_domain":"widget.uservoice.com","subdomain_ssl_host":"datahelpdesk.worldbank.org","subdomain_site_host":"datahelpdesk.worldbank.org","subdomain_key":"worldbankdata","subdomain_id":136660,"client_key":"XzQsWhTqmnE8dYDOJ0HjJQ","client_options":null,"smartvote_autoprompt_enabled":true,"satisfaction_autoprompt_enabled":true,"messages":{"Loading":"Loading"},"has_ticketing_system":true,"has_feedback_system":true,"has_smartvote":true,"has_satisfaction":true,"source_version":1537894883,"deactivated":false},client_widgets:{},manifest:{"tab-left-dark-no-bullhorn":"/pkg/clients/widget2/tab-left-dark-no-bullhorn-9669fb4a9d79416e9dc17618c9ed226faf8171ce461449f1282d6fcc2d6aa338.png","tab-left-light-no-bullhorn":"/pkg/clients/widget2/tab-left-light-no-bullhorn-22005a1309b6593c2eafb9f5321f3e77834963069451d85657c9373b1513d47f.png","tab-right-dark-no-bullhorn":"/pkg/clients/widget2/tab-right-dark-no-bullhorn-6c8fc4d589a9d68b16c89b8bd810aee48f11a826d292d22d2b5491cd2a072495.png","tab-right-light-no-bullhorn":"/pkg/clients/widget2/tab-right-light-no-bullhorn-5d328c32f884bd477a82e24e95355e2ef41eed9a98f0a393e1354d2089dbc995.png","tab-horizontal-dark-no-bullhorn":"/pkg/clients/widget2/tab-horizontal-dark-no-bullhorn-ae2f0f4ee5366ac297a76055000da8256a23b7ff3ed9bd6c24317e3cf350139d.png","tab-horizontal-light-no-bullhorn":"/pkg/clients/widget2/tab-horizontal-light-no-bullhorn-32b202e4d461169a377f8750d26bef3947f3c24e9ef3bdce25a317e4e773148d.png","close":"/pkg/clients/widget2/close-88877208b604c275adc17eac27513230d68cc0222e3a4cb147bbc0feba5d267c.png","pb":"/pkg/clients/widget2/UserVoice-logo-light-c40af2f05c5f1dfe06de1a83875730553d9b6c8c663f980e700e1c5a1f1fac56.svg","screenshot":"/pkg/clients/omnibox/screenshot-e7753ef39bd767a7c877dbee778dde8d93f4d9b9bf5b6471341eb8482c4825db.js"},kombucha_domain:'https://by2.uservoice.com'};"undefined"!=typeof UserVoice&&UserVoice.showLightbox||!function(t,e,o){function i(t){E("Error: "+t+" See https://www.uservoice.com/o/javascript-sdk for more help.")}function s(t){for(var e=[],o=0;on-s&&(n=o+s),n+e+s>i&&(n=i-e-s),n}function r(e){if("getComputedStyle"in t){for(var i=["transitionDuration","MozTransitionDuration","WebkitTransitionDuration","OTransitionDuration","msTransitionDuration"],s=0,n=0,r=i.length;r>n;n++){var a=i[n],l=L.getComputedStyle(e)[a]||e.style[a];if(l){s=1e3*parseFloat(l);break}}if(0!==s){var p=L.data(e,"transition-timer"),c=L.data(e,"transition-timeout-at"),d=+new Date+s;L.addClass(e,"uv-is-transitioning"),e.offsetWidth,(p===o||d>c)&&(clearTimeout(p),L.data(e,"transition-timer",setTimeout(function(){L.removeClass(e,"uv-is-transitioning"),e.offsetWidth},s)),L.data(e,"transition-timeout-at",d))}}}function a(t){meta=e.createElement("meta"),meta.setAttribute("name","viewport"),meta.setAttribute("content",t),e.head.appendChild(meta)}function l(){for(var t,o=e.getElementsByTagName("meta"),i=0;i/g,">")}function g(t,e){e||(e=function(t){return t});var o=[];for(var i in t)if(t.hasOwnProperty(i)){var s=e(i)+"="+e(t[i]);o.push(s)}return o.join("&")}function m(t){for(var e=Array.prototype.slice.call(arguments,1),o=e.length,i=0;o>i;i++)for(var s in e[i])e[i].hasOwnProperty(s)&&("object"==typeof t[s]&&"object"==typeof e[i][s]?m(t[s],e[i][s]):t[s]=e[i][s]);return t}function f(t,o){var i=e.createElement("style");i.type="text/css",i.media=o||"screen",i.styleSheet?i.styleSheet.cssText=t:i.appendChild(e.createTextNode(t)),e.getElementsByTagName("head")[0].appendChild(i)}function b(){M||(f("#uvTab,.uv-tray,.uv-icon,.uv-popover,.uv-bubble{display:none!important}","print"),M=!0)}function v(){X||(f(".uv-icon:hover{opacity:1}"),X=!0)}function x(){return e.getElementsByTagName("html")[0]}function y(){var o=e.documentElement,i=o&&o.clientWidth||e.body.clientWidth,s=t.innerHeight||o&&o.clientHeight||e.body.clientHeight;return{width:i,height:s}}function _(t){return((new Date).getTime()-t)/1e3/60/60/24}function w(t){return t&&(t.tab_color!==o&&(t.trigger_background_color=t.tab_color),t.tab_position!==o&&(t.trigger_position=t.tab_position)),t||{}}function k(t,e){return e&&("support"===e.mode?e.post_suggestion_enabled=!1:"feedback"===e.mode&&(e.contact_enabled=!1),delete e.mode,e.default_mode!==o&&(e.classic_default_mode=e.default_mode),w(e)),T({mode:t},e||{})}function C(t,e){if(et.hasOwnProperty(t)||(et[t]={}),et[t].hasOwnProperty(e))return et[t][e];var o=t.split("*");if(1===o.length)return et[t][e]=t===e;var i=o.shift();if(!e.startsWith(i))return et[t][e]=!1;var s=e.substr(i.length),n=o.pop();if(!s.endsWith(n))return et[t][e]=!1;s=s.substr(0,s.length-n.length);for(var r=0;ro;return i?1e3*o:o}var i;switch(e){case"boolean":i="true"===t||t===!0?!0:!1;break;case"timestamp":i=o(t);break;case"int":i=parseInt(t,10),isNaN(i)&&(i=0);break;case"float":i=parseFloat(t),isNaN(i)&&(i=0);break;case"string":i=[t].toString();break;default:i=t}return i},U.isValidSize=function(t,e){if("int32cents"===e){var o=2147483647,i=-2147483648,s=100*t;return o>=s&&s>=i}return t.length<=e},U.uTF8Encode=function(t){t=t.replace(/\x0d\x0a/g,"\n");for(var e="",o=0;oi?e+=String.fromCharCode(i):i>127&&2048>i?(e+=String.fromCharCode(i>>6|192),e+=String.fromCharCode(63&i|128)):(e+=String.fromCharCode(i>>12|224),e+=String.fromCharCode(i>>6&63|128),e+=String.fromCharCode(63&i|128))}return e},U.base64Encode=function(t){var e,o,i,s,n,r,a,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",p="",c=0;for(t=U.uTF8Encode(t);c>2,n=(3&e)<<4|o>>4,r=(15&o)<<2|i>>6,a=63&i,isNaN(o)?r=a=64:isNaN(i)&&(a=64),p=p+l.charAt(s)+l.charAt(n)+l.charAt(r)+l.charAt(a);return p},U.extend=function(t){for(var e=Array.prototype.slice.call(arguments,1),o=e.length,i=0;o>i;i++)for(var s in e[i])e[i].hasOwnProperty(s)&&(t[s]=e[i][s]);return t},U.values=function(t){var e,o=[];if(null==t)return o;for(e in t)t.hasOwnProperty(e)&&o.push(t[e]);return o},U.setCookie=function(t,o,i){i=U.extend({path:"/",domain:"",expires:new Date},i||{});var s=[t,"=",encodeURIComponent(o),"; path=",i.path,"; domain=",i.domain];return i.expires&&(i.expires.setFullYear(i.expires.getFullYear()+1),s.push("; expires="),s.push(i.expires.toUTCString())),"https:"==e.location.protocol&&s.push("; Secure"),e.cookie=s.join(""),o},U.getCookie=function(t){for(var o,i=(e.cookie||"").split(";"),s=i.length,n=0;s>n;n++)if(o=U.trim(i[n]),o.substr(0,t.length+1)===t+"=")return decodeURIComponent(o.substr(t.length+1))},U.deleteCookie=function(t,e){var o=new Date;o.setFullYear(o.getFullYear()-30),e=U.extend({expires:o},e||{}),U.setCookie(t,"",e)},U.trim=function(t){var e=String.prototype.trim;return e?e.apply(t):t.replace(/^\s+|\s+$/g,"")},U.isSpider=function(){return/(google web preview|baiduspider|yandexbot)/i.test(t.navigator.userAgent)},U.log=function(){"undefined"!=typeof console&&"undefined"!=typeof console.log&&"undefined"!=typeof console.log.apply&&console.log.apply(console,arguments)},function(){function e(t){return 10>t?"0"+t:t}function o(t){return a.lastIndex=0,a.test(t)?'"'+t.replace(a,function(t){var e=l[t];return"string"==typeof e?e:"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+t+'"'}function i(t,e){var a,l,p,c,d,h=s,u=e[t];switch(u&&"object"==typeof u&&"function"==typeof u.toJSON&&(u=u.toJSON(t)),"function"==typeof r&&(u=r.call(e,t,u)),typeof u){case"string":return o(u);case"number":return isFinite(u)?String(u):"null";case"boolean":case"null":return String(u);case"object":if(!u)return"null";if(s+=n,d=[],"[object Array]"===Object.prototype.toString.apply(u)){for(c=u.length,a=0;c>a;a+=1)d[a]=i(a,u)||"null";return p=0===d.length?"[]":s?"[\n"+s+d.join(",\n"+s)+"\n"+h+"]":"["+d.join(",")+"]",s=h,p}if(r&&"object"==typeof r)for(c=r.length,a=0;c>a;a+=1)"string"==typeof r[a]&&(l=r[a],p=i(l,u),p&&d.push(o(l)+(s?": ":":")+p));else for(l in u)Object.prototype.hasOwnProperty.call(u,l)&&(p=i(l,u),p&&d.push(o(l)+(s?": ":":")+p));return p=0===d.length?"{}":s?"{\n"+s+d.join(",\n"+s)+"\n"+h+"}":"{"+d.join(",")+"}",s=h,p}}"object"!=typeof JSON&&(t.JSON={}),"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+e(this.getUTCMonth()+1)+"-"+e(this.getUTCDate())+"T"+e(this.getUTCHours())+":"+e(this.getUTCMinutes())+":"+e(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()});var s,n,r,a=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,l={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};"function"!=typeof JSON.stringify&&(JSON.stringify=function(t,e,o){var a;if(s="",n="","number"==typeof o)for(a=0;o>a;a+=1)n+=" ";else"string"==typeof o&&(n=o);if(r=e,e&&"function"!=typeof e&&("object"!=typeof e||"number"!=typeof e.length))throw new Error("JSON.stringify");return i("",{"":t})})}();var z,O=function(t,o){function i(e,o){var s=this;this.subdomain=e,this.config=U.extend({},i.default_config,o||{}),this.kombuchaId=a++,this.sessionCallbackName="__uvSessionData"+this.kombuchaId,t[this.sessionCallbackName]=function(t){s.sync(t)},this.tracks=[],this.identity=null,this.session=null,this.uvts=null,this.isReady=!1,this.needsIdentityFlush=!1,this.needsSessionFlush=!1,this.firedUvts=!1,this.firedSession=!1,this.syncedSession=!0,this.cookieable=null,this.initFromCookie(),t.__kombuchas.push(this)}function s(t){this.props={},!t===Object(t)&&(t={}),this.set(U.extend({},t,{o:(new Date).getTimezoneOffset()}))}function n(){this.store=new r,this.recurrent=this.store.get("r"),this.store.set("r",!0)}function r(){var e="x";this.storage=null;try{this.storage="sessionStorage"in t&&t.sessionStorage,this.set(e,e),this.get(e)!==e?this.storage=null:this.remove(e)}catch(o){this.storage=null}}var a=0;t.__kombuchas=t.__kombuchas||[],i.prototype.initFromCookie=function(){var t=U.getCookie(this.config.cookie_name);this.log("Kombucha#initFromCookie: %s",t),t&&this.setUvts(t)},i.prototype.identify=function(t,e){this.log("Kombucha#identify: %O",t);var e="undefined"!=typeof e?e:!1;try{this.identity?(e===!0&&(this.identity.props={}),this.identity.set(t)):this.identity=new s(t),this.needsIdentityFlush=!0,this.flush()}catch(o){console.log("not sending traits due to client identify error: ",o)}},i.prototype.getIdentity=function(t){return this.identity?this.identity.toJSON():void 0},i.prototype.syncSession=function(){this.syncedSession=!1,this.identify({})},i.prototype.updateSession=function(t){this.log("Kombucha#updateSession: %O",t),this.needsSessionFlush=U.extend({},this.needsSessionFlush||{},this.session.set(t)),this.flush()},i.prototype.getSession=function(t){return this.session.get(t)},i.prototype.dumpSession=function(){return this.session.toJSON()},i.prototype.sync=function(t){this.log("Kombucha#sync: %O",t),t===Object(t)&&(this.session.set(t),t.uvts&&this.setUvts(t.uvts),this.syncCreatedAt(),this.fireSession())},i.prototype.syncCreatedAt=function(){var t=this.identity&&this.identity.get("created_at");t&&(this.log("Kombucha#syncCreatedAt: %O",t),this.session.set({created_at:t}))},i.prototype.fireSession=function(){this.session.isEnabled()&&(this.firedSession?this.syncedSession||("function"==typeof this.config.onSync&&this.config.onSync(),this.syncedSession=!0):("function"==typeof this.config.onSession&&this.config.onSession(),this.firedSession=!0))},i.prototype.setUvts=function(t){this.uvts=t,U.setCookie(this.config.cookie_name,t,{domain:this.cookieDomain()}),this.firedUvts||("function"==typeof this.config.onUvts&&this.config.onUvts(t),this.firedUvts=!0)},i.prototype.setConfig=function(t){this.config=U.extend(this.config,t)},i.prototype.setChannel=function(t){this.setConfig({channel:t})},i.prototype.track=function(t,e,o){var i={evt:t,props:e};o&&(i.channel=o),this.tracks.push(i),this.flush()},i.prototype.trackExternalView=function(){this.log("Kombucha#trackExternalView: %s",this.config.channel),"external"===this.config.channel&&this.track("view_page",{u:e.location.toString(),r:e.referrer})},i.prototype.flush=function(){if(this.isReady&&this.config.enabled){var t=0,e=this.tracks.length;if(this.log("Kombucha#flush: %s",e),this.uvts||this.shouldTrack())for((0===e&&this.needsIdentityFlush||this.needsSessionFlush)&&this.sendTrack({evt:"identify"});e>t;t+=1)this.sendTrack(this.tracks.shift())}},i.prototype.sendTrack=function(t){var o,i={},s=!this.syncedSession||!this.session.recurrent&&!this.firedSession;o=this.config.v2&&"autoprompt"!==t.evt?[this.config.domain,"/t2/",this.subdomain,"/",this.normalizeV2Channel(t.channel||this.config.channel)]:[this.config.domain,"/t/",this.subdomain,"/",l[t.channel||this.config.channel]||"_","/",p[t.evt]||"_"],this.uvts&&(o.push("/"),o.push(this.uvts)),o.push("/track.js?_="+(new Date).getTime()),o.push("&s="+(s?"0":"1")),o=o.join(""),this.needsIdentityFlush&&(i.u=this.identity.toJSON(),this.needsIdentityFlush=!1),this.needsSessionFlush===Object(this.needsSessionFlush)&&(i.u=U.extend({},i.u||{},this.needsSessionFlush),this.needsSessionFlush=!1),t.props&&U.values(t.props).length>0&&(i.e=t.props),this.log("Kombucha#sendTrack: %s, %O",o,i),i=U.values(i).length>0?encodeURIComponent(U.base64Encode(JSON.stringify(i))):null;var n,r,a;a=["&c=",this.sessionCallbackName],i&&(a.push("&d="),a.push(i)),n=e.getElementsByTagName("script")[0],r=e.createElement("script"),r.type="application/javascript",r.async=!0,r.defer=!0,r.src=o+a.join(""),n.parentNode.insertBefore(r,n)},i.prototype.ready=function(){this.log("Kombucha#ready: %s",this.isReady),this.isReady||(this.isReady=!0,this.session=new n,this.flush(),this.afterReady())},i.prototype.afterReady=function(){},i.prototype.shouldTrack=function(){return!U.isSpider()&&this.haveCookies()},i.prototype.haveCookies=function(){return null===this.cookieable&&(U.setCookie("__uvt","1",{domain:this.cookieDomain()}),this.cookieable=!!U.getCookie("__uvt"),U.deleteCookie("__uvt",{domain:this.cookieDomain()})),this.log("Kombucha#haveCookies: %s",this.cookieable),this.cookieable},i.prototype.log=function(){this.config.logging_enabled&&U.log.apply(null,arguments)},i.prototype.cookieDomain=function(e){return e||t.location.hostname},i.prototype.normalizeV2Channel=function(t){switch(t=(t||"").toLowerCase()){case"web":case"omnibox":case"portal":case"ios_app":case"android_app":case"ios_sdk":case"adnroid_sdk":case"classic_widget":return t;case"smartvote_widget":case"instant_answers_widget":case"satisfaction_widget":return"omnibox";case"site2":return"portal";case"external":return"web";case"admin":return"web"}return"_"},s.prototype.set=function(t){var e,o;if(!t===Object(t)&&(t={}),t.account){e=t.account,delete t.account;for(o in e)e.hasOwnProperty(o)&&(t["account_"+o]=e[o])}for(o in t){var i=0===o.indexOf("cf_")||0===o.indexOf("account_cf_");if((s.keys.hasOwnProperty(o)||i)&&(this.props[o]=U.sanitizeValue(t[o],s.keys[o]),s.sizeLimits[o]&&!U.isValidSize(this.props[o],s.sizeLimits[o]))){var n=o+" value "+this.props[o]+" overflow type "+s.keys[o]+"("+s.sizeLimits[o]+")";throw new Error(n)}}return this.props},s.prototype.get=function(t){return this.props[t]},s.prototype.toJSON=function(){return this.props},s.keys={o:"int",name:"string",email:"string",id:"string",type:"string",created_at:"timestamp",account_name:"string",account_id:"string",account_monthly_rate:"float",account_ltv:"float",account_plan:"string",account_created_at:"timestamp"},s.sizeLimits={name:255,email:255,id:255,account_id:255,type:255,account_name:255,account_monthly_rate:"int32cents",account_ltv:"int32cents",account_plan:255},n.prototype.set=function(t){var e,o={};for(e in t)n.keys.hasOwnProperty(e)&&(o[e]=U.sanitizeValue(t[e],n.keys[e]));for(e in o)o.hasOwnProperty(e)&&this.store.set(e,o[e]);return o},n.prototype.get=function(t){return this.store.get(t)},n.prototype.toJSON=function(){var t,e={};for(var i in n.keys)n.keys.hasOwnProperty(i)&&(t=this.get(i),t!==o&&(e[i]=t));return e},n.prototype.isEnabled=function(){return this.store.isEnabled()},n.keys={created_at:"timestamp",active_days:"int",autoprompt_disabled:"boolean",smartvote:"boolean",satisfaction:"boolean",last_smartvote_autoprompt_at:"timestamp",last_satisfaction_autoprompt_at:"timestamp",last_sat_at:"timestamp",last_smartvote_at:"timestamp",dismissed_smartvote_at:"timestamp",dismissed_sat_at:"timestamp",autoprompted_satisfaction_at:"timestamp",autoprompted_smartvote_at:"timestamp"},r.prototype.isEnabled=function(){return!!this.storage},r.prototype.get=function(t){if(this.storage){var e,o=this.storage.getItem(this.makeKey(t));try{e=JSON.parse(o)}catch(i){}return e}},r.prototype.set=function(t,e){this.storage&&this.storage.setItem(this.makeKey(t),JSON.stringify(e))},r.prototype.remove=function(t){this.storage&&this.storage.removeItem(this.makeKey(t))},r.prototype.makeKey=function(t){return r.namespace+t},r.namespace="__uv_";var l={external:"x",classic_widget:"w",smartvote_widget:"e",instant_answers_widget:"o",satisfaction_widget:"t",site2:"s",admin:"a"},p={view_page:"p",view_forum:"m",view_topic:"c",view_kb:"k",view_channel:"o",view_idea:"i",view_article:"f",view_comparison:"a",authenticate:"u",search_ideas:"s",search_articles:"r",vote_idea:"v",vote_article:"z",submit_ticket:"t",submit_idea:"d",subscribe_idea:"b",rate_satisfaction:"e",identify:"y",comment_idea:"h",dismiss:"w",autoprompt:"x",pick_idea:"1",view_tweet_button:"2",clicked_tweet_button:"3",posted_tweet:"4"};return i.default_config={cookie_name:"uvts",domain:t.UserVoice.kombucha_domain,channel:"external",enabled:!0,logging_enabled:!1},i}(this),V=U.base64Encode,T=U.extend,E=(U.values,U.setCookie,U.getCookie,U.lpad,U.trim,U.log),F=".uv-icon{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;display:inline-block;cursor:pointer;position:relative;-moz-transition:all 300ms;-o-transition:all 300ms;-webkit-transition:all 300ms;transition:all 300ms;width:39px;height:39px;position:fixed;z-index:100002;opacity:0.8;-moz-transition:opacity 100ms;-o-transition:opacity 100ms;-webkit-transition:opacity 100ms;transition:opacity 100ms}.uv-icon.uv-bottom-right{bottom:10px;right:12px}.uv-icon.uv-top-right{top:10px;right:12px}.uv-icon.uv-bottom-left{bottom:10px;left:12px}.uv-icon.uv-top-left{top:10px;left:12px}.uv-icon.uv-is-selected{opacity:1}.uv-icon svg{width:39px;height:39px}.uv-icon-trigger{display:block;width:39px;height:39px}.uv-popover{font-family:sans-serif;font-weight:100;font-size:13px;color:black;position:fixed;z-index:100001}.uv-popover-content{-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;background:white;border:1px solid transparent;position:relative;width:325px;height:325px;-moz-transition:background 200ms;-o-transition:background 200ms;-webkit-transition:background 200ms;transition:background 200ms}.uv-bottom .uv-popover-content{-moz-box-shadow:rgba(0,0,0,0.3) 0 -10px 60px,rgba(0,0,0,0.1) 0 0 20px;-webkit-box-shadow:rgba(0,0,0,0.3) 0 -10px 60px,rgba(0,0,0,0.1) 0 0 20px;box-shadow:rgba(0,0,0,0.3) 0 -10px 60px,rgba(0,0,0,0.1) 0 0 20px}.uv-top .uv-popover-content{-moz-box-shadow:rgba(0,0,0,0.3) 0 10px 60px,rgba(0,0,0,0.1) 0 0 20px;-webkit-box-shadow:rgba(0,0,0,0.3) 0 10px 60px,rgba(0,0,0,0.1) 0 0 20px;box-shadow:rgba(0,0,0,0.3) 0 10px 60px,rgba(0,0,0,0.1) 0 0 20px}.uv-left .uv-popover-content{-moz-box-shadow:rgba(0,0,0,0.3) 10px 0 60px,rgba(0,0,0,0.1) 0 0 20px;-webkit-box-shadow:rgba(0,0,0,0.3) 10px 0 60px,rgba(0,0,0,0.1) 0 0 20px;box-shadow:rgba(0,0,0,0.3) 10px 0 60px,rgba(0,0,0,0.1) 0 0 20px}.uv-right .uv-popover-content{-moz-box-shadow:rgba(0,0,0,0.3) -10px 0 60px,rgba(0,0,0,0.1) 0 0 20px;-webkit-box-shadow:rgba(0,0,0,0.3) -10px 0 60px,rgba(0,0,0,0.1) 0 0 20px;box-shadow:rgba(0,0,0,0.3) -10px 0 60px,rgba(0,0,0,0.1) 0 0 20px}.uv-ie8 .uv-popover-content{position:relative}.uv-ie8 .uv-popover-content .uv-popover-content-shadow{display:block;background:black;content:'';position:absolute;left:-15px;top:-15px;width:100%;height:100%;filter:progid:DXImageTransform.Microsoft.Blur(PixelRadius=15,MakeShadow=true,ShadowOpacity=0.30);z-index:-1}.uv-popover-tail{border:9px solid transparent;width:0;z-index:10;position:absolute;-moz-transition:border-top-color 200ms;-o-transition:border-top-color 200ms;-webkit-transition:border-top-color 200ms;transition:border-top-color 200ms}.uv-top .uv-popover-tail{bottom:-20px;border-top:11px solid white}.uv-bottom .uv-popover-tail{top:-20px;border-bottom:11px solid white}.uv-left .uv-popover-tail{right:-20px;border-left:11px solid white}.uv-right .uv-popover-tail{left:-20px;border-right:11px solid white}.uv-popover-loading{background:white;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;position:absolute;width:100%;height:100%;left:0;top:0}.uv-popover-loading-text{position:absolute;top:50%;margin-top:-0.5em;width:100%;text-align:center}.uv-popover-iframe-container{height:100%}.uv-popover-iframe{-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;overflow:hidden}.uv-is-hidden{display:none}.uv-is-invisible{display:block !important;visibility:hidden !important}.uv-is-transitioning{display:block !important}.uv-no-transition{-moz-transition:none !important;-webkit-transition:none !important;-o-transition:color 0 ease-in !important;transition:none !important}.uv-fade{opacity:1;-moz-transition:opacity 200ms ease-out;-o-transition:opacity 200ms ease-out;-webkit-transition:opacity 200ms ease-out;transition:opacity 200ms ease-out}.uv-fade.uv-is-hidden{opacity:0}.uv-scale-top,.uv-scale-top-left,.uv-scale-top-right,.uv-scale-bottom,.uv-scale-bottom-left,.uv-scale-bottom-right,.uv-scale-right,.uv-scale-right-top,.uv-scale-right-bottom,.uv-scale-left,.uv-scale-left-top,.uv-scale-left-bottom,.uv-slide-top,.uv-slide-bottom,.uv-slide-left,.uv-slide-right{opacity:1;-moz-transition:all 80ms ease-out;-o-transition:all 80ms ease-out;-webkit-transition:all 80ms ease-out;transition:all 80ms ease-out}.uv-scale-top.uv-is-hidden{opacity:0;-moz-transform:scale(0.8) translateY(-15%);-ms-transform:scale(0.8) translateY(-15%);-webkit-transform:scale(0.8) translateY(-15%);transform:scale(0.8) translateY(-15%)}.uv-scale-top-left.uv-is-hidden{opacity:0;-moz-transform:scale(0.8) translateY(-15%) translateX(-10%);-ms-transform:scale(0.8) translateY(-15%) translateX(-10%);-webkit-transform:scale(0.8) translateY(-15%) translateX(-10%);transform:scale(0.8) translateY(-15%) translateX(-10%)}.uv-scale-top-right.uv-is-hidden{opacity:0;-moz-transform:scale(0.8) translateY(-15%) translateX(10%);-ms-transform:scale(0.8) translateY(-15%) translateX(10%);-webkit-transform:scale(0.8) translateY(-15%) translateX(10%);transform:scale(0.8) translateY(-15%) translateX(10%)}.uv-scale-bottom.uv-is-hidden{opacity:0;-moz-transform:scale(0.8) translateY(15%);-ms-transform:scale(0.8) translateY(15%);-webkit-transform:scale(0.8) translateY(15%);transform:scale(0.8) translateY(15%)}.uv-scale-bottom-left.uv-is-hidden{opacity:0;-moz-transform:scale(0.8) translateY(15%) translateX(-10%);-ms-transform:scale(0.8) translateY(15%) translateX(-10%);-webkit-transform:scale(0.8) translateY(15%) translateX(-10%);transform:scale(0.8) translateY(15%) translateX(-10%)}.uv-scale-bottom-right.uv-is-hidden{opacity:0;-moz-transform:scale(0.8) translateY(15%) translateX(10%);-ms-transform:scale(0.8) translateY(15%) translateX(10%);-webkit-transform:scale(0.8) translateY(15%) translateX(10%);transform:scale(0.8) translateY(15%) translateX(10%)}.uv-scale-right.uv-is-hidden{opacity:0;-moz-transform:scale(0.8) translateX(15%);-ms-transform:scale(0.8) translateX(15%);-webkit-transform:scale(0.8) translateX(15%);transform:scale(0.8) translateX(15%)}.uv-scale-right-top.uv-is-hidden{opacity:0;-moz-transform:scale(0.8) translateX(15%) translateY(-10%);-ms-transform:scale(0.8) translateX(15%) translateY(-10%);-webkit-transform:scale(0.8) translateX(15%) translateY(-10%);transform:scale(0.8) translateX(15%) translateY(-10%)}.uv-scale-right-bottom.uv-is-hidden{opacity:0;-moz-transform:scale(0.8) translateX(15%) translateY(10%);-ms-transform:scale(0.8) translateX(15%) translateY(10%);-webkit-transform:scale(0.8) translateX(15%) translateY(10%);transform:scale(0.8) translateX(15%) translateY(10%)}.uv-scale-left.uv-is-hidden{opacity:0;-moz-transform:scale(0.8) translateX(-15%);-ms-transform:scale(0.8) translateX(-15%);-webkit-transform:scale(0.8) translateX(-15%);transform:scale(0.8) translateX(-15%)}.uv-scale-left-top.uv-is-hidden{opacity:0;-moz-transform:scale(0.8) translateX(-15%) translateY(-10%);-ms-transform:scale(0.8) translateX(-15%) translateY(-10%);-webkit-transform:scale(0.8) translateX(-15%) translateY(-10%);transform:scale(0.8) translateX(-15%) translateY(-10%)}.uv-scale-left-bottom.uv-is-hidden{opacity:0;-moz-transform:scale(0.8) translateX(-15%) translateY(10%);-ms-transform:scale(0.8) translateX(-15%) translateY(10%);-webkit-transform:scale(0.8) translateX(-15%) translateY(10%);transform:scale(0.8) translateX(-15%) translateY(10%)}.uv-slide-top.uv-is-hidden{-moz-transform:translateY(-100%);-ms-transform:translateY(-100%);-webkit-transform:translateY(-100%);transform:translateY(-100%)}.uv-slide-bottom.uv-is-hidden{-moz-transform:translateY(100%);-ms-transform:translateY(100%);-webkit-transform:translateY(100%);transform:translateY(100%)}.uv-slide-left.uv-is-hidden{-moz-transform:translateX(-100%);-ms-transform:translateX(-100%);-webkit-transform:translateX(-100%);transform:translateX(-100%)}.uv-slide-right.uv-is-hidden{-moz-transform:translateX(100%);-ms-transform:translateX(100%);-webkit-transform:translateX(100%);transform:translateX(100%)}\n",N=function(){function e(t){this.events=t,this.timer=null,this.last_hash=null}return e.prototype.listen=function(){var e=this;return"postMessage"in t&&("addEventListener"in t?t.addEventListener("message",function(t){e.dispatchEvent.apply(e,[t])},!1):t.attachEvent("onmessage",function(t){e.dispatchEvent.apply(e,[t])})),this},e.prototype.dispatchEvent=function(t){var e=t.data;try{e=JSON.parse(e)}catch(o){}if(e===Object(e))for(var i in e)e.hasOwnProperty(i)&&this.events.hasOwnProperty(i)&&this.events[i](e[i],t.source,t.origin);else this.events.hasOwnProperty(e)&&this.events[e]()},e.getHash=function(){var e=t.location.href.match(/#(.*)$/);return e?e[1]:""},e}(),I={};I.match=function(t){return t.test(navigator.userAgent)},I.match(/IEMobile/i)?I.ieMobile=!0:I.match(/msie (\d+\.\d+);/i)?(I.ie=!0,I.version=parseInt(RegExp.$1,10),I["ie"+I.version]=!0,I.ieCompatibility=7===I.version&&I.match(/Trident/i),I.ieQuirks=e.compatMode&&"BackCompat"===e.compatMode):I.match(/Trident.*rv:(\d+)/i)&&(I.ie=!0,I.version=parseInt(RegExp.$1,10),I["ie"+I.version]=!0),I.touch="ontouchstart"in t,I.mobile=I.match(/Android.*Mobile|iPhone|IEMobile/i),I.tablet=!I.mobile&&I.match(/Android|iOS/i),I.iOS="ontouchstart"in t&&I.match(/like Mac OS X/i);var A,j=function(t){return UserVoice.account.messages[t]},L=function(){var o=function(){var t,o,i;if(1===arguments.length?(t=e,o="div",i=arguments[0]):2===arguments.length?(t=arguments[0],o="div",i=arguments[1]):(t=arguments[0],o=arguments[1],i=arguments[2]),t.querySelector)return t.querySelector(o+"."+i);for(var s=t.getElementsByTagName(o),n=new RegExp("\b"+i+"\b","gmi"),r=0;r2?e[n][i]=s:e[n][i]}var e={};return t}(),o.addClass=function(t,e){new RegExp("(^|\\s+)"+e+"(\\s+|$)").test(t.className)||(t.className+=(t.className?" ":"")+e)},o.removeClass=function(t,e){t.className=t.className.replace(new RegExp("(?:^|\\s+)"+e+"(?:\\s+|$)","g")," ")},o.hasClass=function(t,e){return t.className.indexOf(e)>-1},o.dimensions=function(t){var e=t.display;if("none"!==e&&null!==e)return{width:t.offsetWidth,height:t.offsetHeight};var o=t.style,i=o.visibility,s=o.position,n=o.display;o.visibility="hidden",o.position="absolute",o.display="block";var r=t.clientWidth,a=t.clientHeight;return o.display=n,o.position=s,o.visibility=i,{width:r,height:a}},o.offset=function(t){for(var e=t,o={top:0,left:0};e;)o.top+=e.offsetTop,o.left+=e.offsetLeft,e=e.offsetParent;return o},o.on=function(e,o,i){"addEventListener"in e?e.addEventListener(o,i,!1):e.attachEvent("on"+o,function(){return i.call(e,t.event)})},o.off=function(t,e,o){"removeEventListener"in t?t.removeEventListener(e,o,!1):t.detachEvent(e,o)},o.one=function(t,e,i){var s=function(){i(arguments),o.off(t,e,s)};o.on(t,e,s)},o.ready=function(o){if(e.addEventListener)"complete"===e.readyState?o():(e.addEventListener("DOMContentLoaded",o,!1),t.addEventListener("load",o,!1));else if(e.attachEvent){e.attachEvent("onreadystatechange",o),t.attachEvent("onload",o);var i=!1;try{i=null===t.frameElement}catch(s){}e.documentElement.doScroll&&i}},o.element=function(t){return t.nodeName?t:e.getElementById(t.substr(1))},o.getComputedStyle=function(e){var o=t.getComputedStyle(e);return o?o:{}},o}(),Y=!1,M=!1,X=!1,W=["https:"===e.location.protocol?"https://":"http://","widget.uservoice.com"].join(""),D={"tab-light-bottom-right":"background:red url(#{bgImage}) 0 50% no-repeat;border:1px solid red;border-bottom:none;-moz-border-radius:4px 4px 0 0;-webkit-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0;-moz-box-shadow:inset rgba(255,255,255,.9) 1px 1px 1px, rgba(0,0,0,.5) 0 1px 2px;-webkit-box-shadow:inset rgba(255,255,255,.9) 1px 1px 1px, rgba(0,0,0,.5) 0 1px 2px;box-shadow:inset rgba(255,255,255,.9) 1px 1px 1px, rgba(0,0,0,.5) 0 1px 2px;font:normal normal bold 14px/1em Arial, sans-serif;position:fixed;right:10px;bottom:0;z-index:9999;background-color:##{color};border-color:##{color};","tab-dark-bottom-right":"background:red url(#{bgImage}) 0 50% no-repeat;border:1px solid #FFF;border-bottom:none;-moz-border-radius:4px 4px 0 0;-webkit-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0;-moz-box-shadow:inset rgba(255,255,255,.25) 1px 1px 1px, rgba(0,0,0,.5) 0 1px 2px;-webkit-box-shadow:inset rgba(255,255,255,.25) 1px 1px 1px, rgba(0,0,0,.5) 0 1px 2px;box-shadow:inset rgba(255,255,255,.25) 1px 1px 1px, rgba(0,0,0,.5) 0 1px 2px;font:normal normal bold 14px/1em Arial, sans-serif;position:fixed;right:10px;bottom:0;z-index:9999;background-color:##{color};","tab-light-top-right":"background:red url(#{bgImage}) 0 50% no-repeat;border:1px solid red;border-top:none;-moz-border-radius:0 0 4px 4px;-webkit-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px;-moz-box-shadow:inset rgba(255,255,255,.9) 1px 1px 1px, rgba(0,0,0,.5) 0 1px 2px;-webkit-box-shadow:inset rgba(255,255,255,.9) 1px 1px 1px, rgba(0,0,0,.5) 0 1px 2px;box-shadow:inset rgba(255,255,255,.9) 1px 1px 1px, rgba(0,0,0,.5) 0 1px 2px;font:normal normal bold 14px/1em Arial, sans-serif;position:fixed;right:10px;top:0;z-index:9999;background-color:##{color};border-color:##{color};","tab-dark-top-right":"background:red url(#{bgImage}) 0 50% no-repeat;border:1px solid #FFF;border-top:none;-moz-border-radius:0 0 4px 4px;-webkit-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px;-moz-box-shadow:inset rgba(255,255,255,.25) 1px 1px 1px, rgba(0,0,0,.5) 0 1px 2px;-webkit-box-shadow:inset rgba(255,255,255,.25) 1px 1px 1px, rgba(0,0,0,.5) 0 1px 2px;box-shadow:inset rgba(255,255,255,.25) 1px 1px 1px, rgba(0,0,0,.5) 0 1px 2px;font:normal normal bold 14px/1em Arial, sans-serif;position:fixed;right:10px;top:0;z-index:9999;background-color:##{color};","tab-light-bottom-left":"background:red url(#{bgImage}) 0 50% no-repeat;border:1px solid red;border-bottom:none;-moz-border-radius:4px 4px 0 0;-webkit-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0;-moz-box-shadow:inset rgba(255,255,255,.9) 1px 1px 1px, rgba(0,0,0,.5) 0 1px 2px;-webkit-box-shadow:inset rgba(255,255,255,.9) 1px 1px 1px, rgba(0,0,0,.5) 0 1px 2px;box-shadow:inset rgba(255,255,255,.9) 1px 1px 1px, rgba(0,0,0,.5) 0 1px 2px;font:normal normal bold 14px/1em Arial, sans-serif;position:fixed;left:10px;bottom:0;z-index:9999;background-color:##{color};border-color:##{color};","tab-dark-bottom-left":"background:red url(#{bgImage}) 0 50% no-repeat;border:1px solid #FFF;border-bottom:none;-moz-border-radius:4px 4px 0 0;-webkit-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0;-moz-box-shadow:inset rgba(255,255,255,.25) 1px 1px 1px, rgba(0,0,0,.5) 0 1px 2px;-webkit-box-shadow:inset rgba(255,255,255,.25) 1px 1px 1px, rgba(0,0,0,.5) 0 1px 2px;box-shadow:inset rgba(255,255,255,.25) 1px 1px 1px, rgba(0,0,0,.5) 0 1px 2px;font:normal normal bold 14px/1em Arial, sans-serif;position:fixed;left:10px;bottom:0;z-index:9999;background-color:##{color};","tab-light-top-left":"background:red url(#{bgImage}) 0 50% no-repeat;border:1px solid red;border-top:none;-moz-border-radius:0 0 4px 4px;-webkit-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px;-moz-box-shadow:inset rgba(255,255,255,.9) 1px 1px 1px, rgba(0,0,0,.5) 0 1px 2px;-webkit-box-shadow:inset rgba(255,255,255,.9) 1px 1px 1px, rgba(0,0,0,.5) 0 1px 2px;box-shadow:inset rgba(255,255,255,.9) 1px 1px 1px, rgba(0,0,0,.5) 0 1px 2px;font:normal normal bold 14px/1em Arial, sans-serif;position:fixed;left:10px;top:0;z-index:9999;background-color:##{color};border-color:##{color};","tab-dark-top-left":"background:red url(#{bgImage}) 0 50% no-repeat;border:1px solid #FFF;border-top:none;-moz-border-radius:0 0 4px 4px;-webkit-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px;-moz-box-shadow:inset rgba(255,255,255,.25) 1px 1px 1px, rgba(0,0,0,.5) 0 1px 2px;-webkit-box-shadow:inset rgba(255,255,255,.25) 1px 1px 1px, rgba(0,0,0,.5) 0 1px 2px;box-shadow:inset rgba(255,255,255,.25) 1px 1px 1px, rgba(0,0,0,.5) 0 1px 2px;font:normal normal bold 14px/1em Arial, sans-serif;position:fixed;left:10px;top:0;z-index:9999;background-color:##{color};", +"tab-light-middle-left":"background:red url(#{bgImage}) 50% 0 no-repeat;border:1px solid red;border-left:none;-moz-border-radius:0 4px 4px 0;-webkit-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0;-moz-box-shadow:inset rgba(255,255,255,.9) 1px 1px 1px, rgba(0,0,0,.5) 0 1px 2px;-webkit-box-shadow:inset rgba(255,255,255,.9) 1px 1px 1px, rgba(0,0,0,.5) 0 1px 2px;box-shadow:inset rgba(255,255,255,.9) 1px 1px 1px, rgba(0,0,0,.5) 0 1px 2px;font:normal normal bold 14px/1em Arial, sans-serif;position:fixed;left:0;top:50%;z-index:9999;background-color:##{color};border-color:##{color};","tab-dark-middle-left":"background:red url(#{bgImage}) 50% 0 no-repeat;border:1px solid #FFF;border-left:none;-moz-border-radius:0 4px 4px 0;-webkit-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0;-moz-box-shadow:inset rgba(255,255,255,.25) 1px 1px 1px, rgba(0,0,0,.5) 0 1px 2px;-webkit-box-shadow:inset rgba(255,255,255,.25) 1px 1px 1px, rgba(0,0,0,.5) 0 1px 2px;box-shadow:inset rgba(255,255,255,.25) 1px 1px 1px, rgba(0,0,0,.5) 0 1px 2px;font:normal normal bold 14px/1em Arial, sans-serif;position:fixed;left:0;top:50%;z-index:9999;background-color:##{color};","tab-light-middle-right":"background:red url(#{bgImage}) 50% 0 no-repeat;border:1px solid red;border-right:none;-moz-border-radius:4px 0 0 4px;-webkit-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px;-moz-box-shadow:inset rgba(255,255,255,.9) 1px 1px 1px, rgba(0,0,0,.5) 0 1px 2px;-webkit-box-shadow:inset rgba(255,255,255,.9) 1px 1px 1px, rgba(0,0,0,.5) 0 1px 2px;box-shadow:inset rgba(255,255,255,.9) 1px 1px 1px, rgba(0,0,0,.5) 0 1px 2px;font:normal normal bold 14px/1em Arial, sans-serif;position:fixed;right:0;top:50%;z-index:9999;background-color:##{color};border-color:##{color};","tab-dark-middle-right":"background:red url(#{bgImage}) 50% 0 no-repeat;border:1px solid #FFF;border-right:none;-moz-border-radius:4px 0 0 4px;-webkit-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px;-moz-box-shadow:inset rgba(255,255,255,.25) 1px 1px 1px, rgba(0,0,0,.5) 0 1px 2px;-webkit-box-shadow:inset rgba(255,255,255,.25) 1px 1px 1px, rgba(0,0,0,.5) 0 1px 2px;box-shadow:inset rgba(255,255,255,.25) 1px 1px 1px, rgba(0,0,0,.5) 0 1px 2px;font:normal normal bold 14px/1em Arial, sans-serif;position:fixed;right:0;top:50%;z-index:9999;background-color:##{color};","link-vertical":"display:block;padding:39px 5px 10px 5px;text-decoration:none;","link-horizontal":"display:block;padding:6px 10px 2px 42px;text-decoration:none;","link-vertical-no-bullhorn":"display:block;padding:10px 5px 10px 5px;text-decoration:none;","link-horizontal-no-bullhorn":"display:block;padding:6px 10px 2px 10px;text-decoration:none;"},P=" html.uvw-dialog-open object, html.uvw-dialog-open iframe, html.uvw-dialog-open embed { visibility: hidden; } html.uvw-dialog-open iframe.uvw-dialog-iframe { visibility: visible; } ",R=function(){function t(t){this.template='
#{tab_label}
',this.widgets=[],this.options=t,this.processOptions()}return t.prototype.push=function(t){this.widget=t,this.widgets.push(t)},t.prototype.pop=function(){1!==this.widgets.length&&(this.widgets.pop(),this.widget=this.widgets[this.widgets.length-1])},t.prototype.render=function(){this.el&&this.el.parentNode&&this.el.parentNode.removeChild(this.el);var t=new Image,e=this;L.on(t,"load",function(){e.createElement(),e.show(),G.pendingAutoprompt&&(G.pendingAutoprompt=!1,G.autoprompt())}),t.src=this.options.imgSrc,b()},t.prototype.createElement=function(){var t=this.el=h(d(this.template,this.options)),e=this.btnEl=t.getElementsByTagName("a")[0],o=this;L.addClass(t,"uv-tab uv-slide-"+this.edge),t.setAttribute("aria-label","Open Feedback Widget"),this.dimensions=L.dimensions(t),this.hide(!1),this.rotation&&(t.style.marginTop=["-",Math.round(this.dimensions.height/2),"px"].join("")),L.on(e,"click",function(t){return t.preventDefault&&t.preventDefault(),o.visibleWidget?o.visibleWidget.hide():o.widget.show(),!1}),this.onCreateElement&&this.onCreateElement(this)},t.prototype.remove=function(){this.el&&(this.widget.hide(),this.hide())},t.prototype.hide=function(t){t=t===o?!0:t,t&&r(this.el),L.addClass(this.el,"uv-is-hidden"),this.el.offsetWidth},t.prototype.show=function(){r(this.el),L.removeClass(this.el,"uv-is-hidden"),this.el.offsetWidth},t.prototype.processOptions=function(){var t={trigger_position:"right",trigger_background_color:"CC6D00",tab_label:"feedback",tab_inverted:!1},e=T({},t,this.options);e.trigger_position.match(/^((top|bottom|middle)-(left|right)|left|right)$/)||(e.trigger_position=t.trigger_position),e.trigger_position.match(/^(right|left)$/)&&(e.trigger_position="middle-"+e.trigger_position),"string"==typeof e.trigger_background_color&&e.trigger_background_color.match(/^#/)&&(e.trigger_background_color=e.trigger_background_color.substring(1));var o=/([^\-]+)-([^\-]+)/.exec(e.trigger_position),i=o[1],s=o[2],n="middle"===o[1]?90:0,r=["tab-",e.inverted?"light-":"dark-",e.trigger_position].join(""),a=[n?"link-vertical":"link-horizontal","-no-bullhorn"].join(""),l=[W,"/dcache","/widget/feedback-tab.png?t=",encodeURIComponent(e.tab_label),"&c=",e.tab_inverted?encodeURIComponent(e.trigger_background_color):"ffffff","&r=",encodeURIComponent(n),e.tab_inverted?"&i=yes":""].join(""),p=e.trigger_position.replace(/middle-/,"").replace(/(bottom|top)-(right|left)/,"horizontal");p=["tab-",p,e.tab_inverted?"-light":"-dark","-no-bullhorn"].join(""),p=[W,UserVoice.manifest[p]].join(""),e.bgImage=p,e.imgSrc=l,e.tab_label=u(e.tab_label),r=D[r],a=D[a],(I.ie6||I.ieQuirks)&&(r+="position:absolute !important;","top"===i?r+="top: expression(((document.documentElement.scrollTop || document.body.scrollTop) + (!this.offsetHeight && 0)) + 'px');":"middle"===i?r+="top: expression(((document.documentElement.scrollTop || document.body.scrollTop) + ((((document.documentElement.clientHeight || document.body.clientHeight) + (!this.offsetHeight && 0)) / 2) >> 0)) + 'px');":"bottom"===i&&(r+="top: expression(((document.documentElement.scrollTop || document.body.scrollTop) + (document.documentElement.clientHeight || document.body.clientHeight) - this.offsetHeight) + 'px');")),e.tabStyle=d(r,{color:e.trigger_background_color,bgImage:e.bgImage}),e.linkStyle=a,"top"===i?this.edge="top":"bottom"===i?this.edge="bottom":"left"===s?this.edge="left":"right"===s&&(this.edge="right"),this.rotation=n,this.options=e},t}(),B=function(){function i(){}return i.template='
',i.prototype.show=function(t){t=t===o?!0:t,G.hideActive(),G.active=this,this.el||this.render(),this.trigger&&(this.trigger.visibleWidget=this),this.trigger&&this.trigger.popoverWillShow&&this.trigger.popoverWillShow(),t?this.animateIn():L.removeClass(this.el,"uv-is-hidden"),this.iframe.poke({show:!0}),this.iframe.poke({focus:null})},i.prototype.hide=function(t){if(t=t===o?!0:t,G.active=null,this.el||this.render(),this.trigger&&(this.trigger.visibleWidget=null),this.trigger&&this.trigger.popoverWillHide&&this.trigger.popoverWillHide(),t?this.animateOut():L.addClass(this.el,"uv-is-hidden"),this.temp){var e=this.el;setTimeout(function(){e.parentNode.removeChild(e)},500)}},i.prototype.toggle=function(t){this.el||this.render(),this.visible()?this.hide(t):this.show(t)},i.prototype.animateIn=function(){this.position(),r(this.el),L.removeClass(this.el,"uv-is-hidden"),this.el.offsetWidth,this.createIframe()},i.prototype.animateOut=function(){r(this.el),L.addClass(this.el,"uv-is-hidden")},i.prototype.visible=function(){return!L.hasClass(this.el,"uv-is-hidden")},i.prototype.paneOpened=function(t,e){e.needsReload&&(this.needsReload=!0)},i.prototype.position=function(){var t=this.visible();L.addClass(this.el,"uv-no-transition"),t||(L.addClass(this.el,"uv-is-invisible"),this.el.style.left="-1000px"),L.removeClass(this.el,"uv-scale-\\S+"),this.el.offsetWidth,this.calculatePosition(),this.el.offsetWidth,t||L.removeClass(this.el,"uv-is-invisible"),L.removeClass(this.el,"uv-no-transition"),this.el.offsetWidth},i.prototype.createIframe=function(){var e=L(this.el,"uv-popover-iframe-container"),o=L(this.el,"uv-popover-loading"),i=this;(!this.iframe||this.needsReload)&&(this.iframe&&(e.removeChild(this.iframe.el),this.needsReload=!1),this.iframe=new q("popover",this.options.widgetType,T({height:"100%"},UserVoice.globalOptions,this.options)),this.iframe.render(),L.addClass(this.iframe.el,"uv-popover-iframe"),e.appendChild(this.iframe.el),I.ie8&&L.addClass(this.el,"uv-ie8"),L.on(t,"resize",function(){i.visible()&&i.calculatePosition()}),o&&o.parentNode&&(this.iframe.loaded||I.ie&&I.version<10?o.parentNode.removeChild(o):L.one(this.iframe.el,"load",function(t){o.parentNode.removeChild(o)})))},i.prototype.createElement=function(t){var o=this.el=e.createElement("div");o.innerHTML=this.template,o.setAttribute("data-html2canvas-ignore","true"),o.setAttribute("aria-label","Feedback Widget"),this.options.width&&!I.mobile&&(L(o,"uv-popover-content").style.width=this.options.width),this.options.height&&!I.mobile&&(L(o,"uv-popover-content").style.height=this.options.height),L.addClass(this.el,"uv-popover uv-is-hidden"),t.appendChild(o)},i}(),J=function(){function o(t){this.template=B.template,this.options=t,b()}return o.prototype=T({},B.prototype),o.prototype.render=function(){this.createElement(e.body)},o.prototype.show=function(){var e,o,i;I.mobile&&p(),B.prototype.show.apply(this,arguments),I.match(/iPhone OS 7/)&&(e=this,(i=function(){e.visible()&&(o!==y().height?(t.scrollBy(0),o=y().height,setTimeout(i,80)):setTimeout(i,800))})())},o.prototype.hide=function(){B.prototype.hide.apply(this,arguments),I.mobile&&(c(),this.needsReload=!0)},o.prototype.calculatePosition=function(){var e=this.options.position.match(/^(top|bottom)-(left|right)$/)?this.options.position:"bottom-right",o=/(\w+)-(\w+)/.exec(e);if(this.el.style.zIndex=100003,I.mobile){var i=L(this.el,"uv-popover-content"),s=t.innerWidth,n=325,r=10,a=s/(n+2*r),l=Math.round(a*r);i.style.width="100%",i.style.height="100%",this.el.style.position="fixed",this.el.style.top=l+"px",this.el.style.left=l+"px",this.el.style.bottom=l+"px",this.el.style.right=l+"px"}else{var r=20;this.el.style.left="",this.el.style[o[1]]=r+"px",this.el.style[o[2]]=r+"px"}L.addClass(this.el,"uv-"+("bottom"===o[1]?"top":"bottom")),L.addClass(this.el,"uv-scale-"+e)},o}(),H=function(){function t(t,e){this.template=B.template+'
',this.options=t,this.trigger=e,b()}return t.prototype=T({},B.prototype),t.prototype.render=function(){this.target="self"===this.options.target?this.trigger.el:L.element(this.options.target),G.systemTrigger&&this.target===G.systemTrigger.el?(this.container=this.target,this.isContained=!0):this.container=e.body,this.createElement(this.container)},t.prototype.paneOpened=function(t,e){B.prototype.paneOpened.apply(this,arguments),this.setTailColor(e.backgroundColor)},t.prototype.defaultPosition=function(){var t=this.target,o=L.offset(t),i=L.dimensions(t),s=t.currentStyle?t.currentStyle.position:L.getComputedStyle(t,null).position,n=100;return"fixed"!==s&&(o.top-=e.body.scrollTop,o.left-=e.body.scrollLeft),o.topy().height?"top":o.lefty().width?"left":o.top>o.top+i.height-y().height?"bottom":"top"},t.prototype.calculatePosition=function(){var t=L(this.el,"uv-popover-tail"),e=this.target,o="automatic"===this.options.position?this.defaultPosition():this.options.position,i="top"===o?"bottom":"right"===o?"left":"left"===o?"right":"top",s="top"===o||"bottom"===o?"left":"top",r="left"===s?"width":"height",a="left"===s?"top":"left",l="width"===r?"height":"width",p=L.dimensions(this.el),c=L.dimensions(e),d=L.offset(e),h=n(d[s]+c[r]/2,p[r],0,y()[r],10),u=n(d[s]-h+c[r]/2,L.dimensions(t)[r],0,p[r],15),g=1*(u-L.dimensions(t)[r]/2)/p[r],m=1/3>=g?"left"===s?"-left":"-top":2/3>=g?"":"left"===s?"-right":"-bottom",f=e.currentStyle?e.currentStyle.position:L.getComputedStyle(e,null).position;this.currentPosition=o,this.el.style.position="fixed"!==f||this.isContained?"absolute":"fixed",this.el.style[s]=h-(this.isContained?d[s]:0)+"px",t.style[s]=u+"px",L.removeClass(this.el,"uv-(bottom|top|left|right)"),L.addClass(this.el,"uv-"+o),L.addClass(this.el,"uv-scale-"+i+m),"top"===o||"left"===o?this.el.style[a]=(this.isContained?0:d[a])-p[l]-14+"px":("bottom"===o||"right"===o)&&(this.el.style[a]=(this.isContained?0:d[a])+c[l]+14+"px")},t.prototype.setTailColor=function(t){"transparent"!==t&&("#ffffff"===t||"rgb(255, 255, 255)"===t||"white"===t||""===t?L.removeClass(this.el,"uv-reversed"):L.addClass(this.el,"uv-reversed"),L(this.el,"uv-popover-content").style.backgroundColor=t,L(this.el,"uv-popover-tail").style["border"+this.currentPosition[0].toUpperCase()+this.currentPosition.slice(1)+"Color"]=t)},t}(),K=function(){function t(t){var e={trigger_background_color:"rgba(46, 49, 51, 0.6)",trigger_position:"bottom-right"};this.options=T({},e,t),this.options.trigger_position.match(/^(bottom|top)-(left|right)$/)||(this.options.trigger_position=e.trigger_position),this.widgets=[],I.touch||v(),b()}return t.icon_images={contact:'\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n',feedback:'\n\n \n\n\n \n \n \n\n\n',simple_feedback:'\n\n \n\n\n \n \n \n\n\n',post_suggestion:'\n\n \n\n\n \n \n \n\n\n',smartvote:'\n\n \n\n\n \n \n \n\n\n',satisfaction:'\r\n\r\n \r\n\r\n\r\n \r\n \r\n \r\n\r\n\r\n'},t.prototype.remove=function(){this.widget.hide();try{e.body.removeChild(this.el)}catch(t){}},t.prototype.push=function(t){this.widget=t,this.widgets.push(t)},t.prototype.pop=function(){1!==this.widgets.length&&(this.widgets.pop(),this.widget=this.widgets[this.widgets.length-1])},t.prototype.render=function(){var e=this,o="classic_widget"===this.widget.options.mode?"contact":this.widget.options.mode;this.el||this.createElement(),this.btnEl.innerHTML=t.icon_images[o],I.ie8||(this.options.trigger_color&&(L(this.el,"path","uv-bubble-foreground").style.fill=this.options.trigger_color),this.options.trigger_background_color&&(L(this.el,"path","uv-bubble-background").style.fill=this.options.trigger_background_color)),L.on(this.el,"click",function(){e.visibleWidget?e.visibleWidget.hide():e.widget.show()})},t.prototype.createElement=function(){var t=this,o=this.el=e.createElement("div"),i=this.btnEl=e.createElement("a");i.className="uv-icon-trigger",i.href="javascript:void(0);",i.setAttribute("aria-label","Open Feedback Widget"),i.addEventListener("keydown",function(e){13===e.keyCode&&(e.preventDefault(),t.visibleWidget?t.visibleWidget.hide():t.widget.show())}),o.appendChild(i),o.setAttribute("data-html2canvas-ignore","true"),L.addClass(this.el,"uv-icon uv-"+this.options.trigger_position),I.ie8&&L.addClass(this.el,"uv-ie8"),e.body.appendChild(this.el),this.onCreateElement&&this.onCreateElement(this)},t.prototype.popoverWillShow=function(){L.addClass(this.el,"uv-is-selected")},t.prototype.popoverWillHide=function(){L.removeClass(this.el,"uv-is-selected")},t}(),$=function(){function t(t,e){this.el=t,this.options=e,L.data(this.el,"trigger",this)}return t.prototype.render=function(){var t=this;this.clickHandler=function(e){return t.options.trigger_prevent_default_enabled&&e.preventDefault&&e.preventDefault(),t.widget.toggle(),t.options.trigger_prevent_default_enabled?!1:void 0},L.on(this.el,"click",this.clickHandler)},t.prototype.remove=function(){this.removed=!0,L.off(this.el,"click",this.clickHandler)},t}(),q=function(){function i(t,e,o){this.options=T({css:"display: block; background: transparent; padding: none; margin: none; border: none; width: #{width}; height: #{height}",cdn:"omnibox"===e,embed_type:t,type:e,width:"100%",height:"100%"},o),this.options.mode.match(/contact|instant/)?this.options.mode="contact":this.options.mode.match(/post_idea|post_suggestion/)?this.options.mode="feedback":"satisfaction"===this.options.mode&&(this.options.survey_lockout=!1),this.pokes=[],this.loaded=!1,this.setLocation(),this.src=[this.location.baseUrl,this.queryString()].join("?"),"object"==typeof o.config&&this.poke({event:"config",data:o.config}),this.sendUserData(),i.all.push(this)}return i.all=[],i.prototype.setLocation=function(){var t="https";UserVoice.account.deactivated?this.location={host:UserVoice.account.widget2_domain,protocol:t,baseUrl:t+"://"+UserVoice.account.widget2_domain+"/widget_environment/deactivated"}:this.options.src?this.location={host:UserVoice.account.subdomain_ssl_host,protocol:t,baseUrl:t+"://"+UserVoice.account.subdomain_ssl_host+this.options.src}:this.options.cdn?this.location={host:UserVoice.account.widget2_domain,protocol:t,baseUrl:[t,"://",UserVoice.account.widget2_domain,"/",this.options.type,"/",encodeURIComponent(this.options.locale||"0"),"/",encodeURIComponent(this.options.accent_color||"0"),"/",UserVoice.account.client_key].join("")}:this.location={host:UserVoice.account.subdomain_ssl_host,protocol:t,baseUrl:t+"://"+UserVoice.account.subdomain_ssl_host+"/clients/widgets/"+this.options.type},this.location.origin=[this.location.protocol,"://",this.location.host].join("")},i.prototype.doLoad=function(){this.loaded=!0;var t=this.el.contentWindow;setTimeout(function(){t.focus()},0),this.poke()},i.prototype.poke=function(e){if(e&&("object"==typeof e&&(e=JSON.stringify(e)),this.pokes.push(e)),this.loaded&&this.el&&this.el.contentWindow){for(var o=this.el.contentWindow,i=0,s=this.pokes.length;s>i;i++)if("postMessage"in t)o.postMessage(this.pokes[i],this.location.origin);else try{o.location.href=[this.src,(+new Date).toString()+"&"+this.pokes[i]].join("#")}catch(n){}this.pokes=[]}},i.prototype.render=function(){this.loaded=!1,this.options.startIframeLoad=+new Date;var t=this.el=e.createElement("iframe"),o=this,i={height:this.options.height,width:this.options.width},s=d(this.options.css,i);if(t.attachEvent?t.attachEvent("onload",function(){o.doLoad()}):t.onload=function(){o.doLoad()},t.name="uvw-iframe-"+this.options.id,L.addClass(t,"uvw-dialog-iframe"),I.ie?t.style.setAttribute("cssText",s,0):t.setAttribute("style",s),t.setAttribute("allowtransparency","true"),t.setAttribute("frameBorder","0"),t.frameBorder=0,!(I.ie&&I.version<9)){t.style.visibility="hidden";var n=t.onload;t.onload=function(){"function"==typeof n&&n(),t.style.visibility="visible"}}return t.src=this.src,t},i.prototype.queryString=function(){var e={},i=["sess","mode","locale","link_color","topic_id","forum_id","article_id","suggestion_id","feedback_tab_name","support_tab_name","contact_us","email","name","status_ids","smartvote_status_ids","states","category_ids","smartvote_category_ids","survey_lockout","primary_color","accent_color","trigger_color","trigger_background_color","header","border","custom_template_id","design_settings_id","allow_tests","demo","startIframeLoad","org_name","post_idea_title","contact_title","smartvote_title","context","embed_type","trigger_method","menu","screenshot_enabled","mobile","twitter_demo","twitter_demo_username","twitter_demo_message","twitter_demo_satisfaction_thanks_mode","twitter_demo_satisfaction_thanks_message","permalinks_enabled","strings","instant_answers","smartvote","satisfaction","contact_enabled","feedback_enabled"];"classic_widget"===this.options.type&&i.push("sso");for(var s=0;so?"325px":"100%",contact_enabled:!0,post_suggestion_enabled:!0,smartvote_enabled:!0,feedback_enabled:!0},s=G.processModeOptions(T(i,UserVoice.globalOptions,e)),n=new q("inline",s.widgetType,s),r=t.currentStyle?t.currentStyle.position:L.getComputedStyle(t,null).position;for("static"===r&&(t.style.position="relative");t.firstChild;)t.removeChild(t.firstChild);t.appendChild(n.render()),n.poke({show:!0})}return t}(),Z=function(){function o(t,e){this.iframe=new q("lightbox",t.widgetType,T({css:"display: block; border: none; -moz-border-radius: 3px; -webkit-border-radius: 3px; height: 100%; padding: none; position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%;-webkit-transform: translate3d(0,0,0);"},t)),this.template='",this.id=L.uniqId(),this.dialog_id="uvw-dialog-"+this.id,this.dialog_close_id="uvw-dialog-close-"+this.id,this.dialog_content_id="uvw-dialog-content-"+this.id,this.options=t}return o.prototype.toggle=function(){this.show()},o.prototype.show=function(){I.ie6||I.touch||I.ieMobile||I.iOS||I.ieQuirks?t.open(this.iframe.src,"uservoice_widget","height=500,width=888,resizable=yes,scrollbars=1"):(this.initPopup(),this.overlay.style.visibility="visible",this.overlay.style.display="block",this.dialog.focus(),L.addClass(x(),"uvw-dialog-open"))},o.prototype.hide=function(){this.iframe.poke("reset"),this.overlay&&(this.overlay.style.display="none"),L.removeClass(x(),"uvw-dialog-open")},o.prototype.initPopup=function(){if(this.overlay||(f(P),this.overlay=h(d(this.template,this))),this.iframe.poke("opened"),!this.dialog||this.dialog.getAttribute("data-widget-key")!==this.id){for(this.iframe.render(),this.dialogContent=e.getElementById(this.dialog_content_id);this.dialogContent.firstChild;)this.dialogContent.removeChild(this.dialogContent.firstChild);this.dialogContent.appendChild(this.iframe.el),this.dialog=e.getElementById(this.dialog_id), +this.dialog.setAttribute("data-widget-key",this.id);var t=this;L.on(e.getElementById(this.dialog_close_id),"click",function(e){return t.hide()})}},o}(),G=function(){var i={session:!1,syncedSession:!1};return i.setUvts=function(t){i.uvts=t,q.sendUserData()},i.setEmail=function(t){i.email=t,q.sendUserData()},i.setName=function(t){i.name=t,q.sendUserData()},i.setSSO=function(t){i.sso=t,q.sendUserData()},i.addExternalUserId=function(t){i.external_user_ids||(i.external_user_ids=[]),i.external_user_ids.push(t),q.sendUserData()},i.setSession=function(){i.session=!0,i.pendingAutoprompt&&(i.pendingAutoprompt=!1,i.autoprompt())},i.syncSession=function(){i.syncedSession=!0,i.pendingAutoprompt&&(i.pendingAutoprompt=!1,i.autoprompt())},i.tracker=new O(UserVoice.account.subdomain_id,{channel:e.location.host===UserVoice.account.subdomain_site_host?"site2":"external",onUvts:i.setUvts,onSession:i.setSession,onSync:i.syncSession,v2:!0}),i.jsonp=function(){var o={},i=0;return o.send=function(o,s,n,r){var a="__uvJSONP"+i++;t[a]=r;var l=[];for(var p in s)l.push(p+"="+encodeURIComponent(s[p]));l.push(n+"="+a);var c=e.createElement("script");c.src=o+"?"+l.join("&"),c.type="application/javascript",c.async=!0,c.defer=!0;var d=e.getElementsByTagName("script")[0];d.parentNode.insertBefore(c,d)},o}(),i.autoprompt=function(){if(I.mobile||UserVoice.account.deactivated)return void(this.pendingAutoprompt=!1);if(this.session===!1||this.systemTrigger&&this.systemTrigger.el===o)return void(this.pendingAutoprompt=!0);var t=this.tracker.dumpSession(),e=this.shouldShowSatisfactionPrompt(t),s=this.shouldShowSmartVotePrompt(t);if(e||s){if(this.syncedSession===!1)return this.pendingAutoprompt=!0,void this.tracker.syncSession();var n={};if(this.tracker.identity)for(var r=["id","account_id","email"],a=0;a=60&&_(o)>=21:!1},i.shouldShowSmartVotePrompt=function(t){if(!UserVoice.account.smartvote_autoprompt_enabled)return!1;if(t.autoprompt_disabled)return!1;var e=t.last_smartvote_autoprompt_at||0,o=t.last_satisfaction_autoprompt_at||0;return 0!==e?_(e)>=42&&_(o)>=21:7===t.active_days&&_(o)>=21},i.scan=function(){var t,o=s(e.getElementsByTagName("*"));t=function(t,e,o){var s=t.getAttribute(e);t.hasAttribute&&t.hasAttribute(e)&&!t.getAttribute("data-uv-scanned")&&(t.setAttribute("data-uv-scanned","true"),o(t,s,i.extractOptions(t)))};for(var n=0;n0||t.forEach(function(t,o){if(t.target_urls&&t.target_urls.length>0){var i=!1;t.target_urls.forEach(function(t){C(t,e.location.href)&&(i=!0)}),i&&!ot[o]?ot[o]=G.createSystemTrigger(t):!i&&ot[o]&&(ot[o].remove(),delete ot[o])}})},st=function(t,e,o){var i,s,n,r,a=0;o||(o={});var l=function(){a=o.leading===!1?0:(new Date).getTime(),i=null,r=t.apply(s,n),i||(s=n=null)},p=function(){var p=(new Date).getTime();a||o.leading!==!1||(a=p);var c=e-(p-a);return s=this,n=arguments,0>=c||c>e?(i&&(clearTimeout(i),i=null),a=p,r=t.apply(s,n),i||(s=n=null)):i||o.trailing===!1||(i=setTimeout(l,c)),r};return p.cancel=function(){clearTimeout(i),a=0,i=s=n=null},p};UserVoice.account.active_widgets&&UserVoice.account.active_widgets.length>0&&(t.MutationObserver&&(pageObserver=new MutationObserver(st(it,200)),pageObserver.observe(e.body,{childList:!0,subtree:!0})),t.addEventListener("popstate",it),t.addEventListener("hashchange",it),it()),L.ready(S)}(window,document); \ No newline at end of file diff --git a/code/China _ Data_files/adsct b/code/China _ Data_files/adsct new file mode 100644 index 00000000..b3af27c3 --- /dev/null +++ b/code/China _ Data_files/adsct @@ -0,0 +1 @@ +twttr.conversion.loadPixels({}) \ No newline at end of file diff --git a/code/China _ Data_files/adsct(1) b/code/China _ Data_files/adsct(1) new file mode 100644 index 00000000..b3af27c3 --- /dev/null +++ b/code/China _ Data_files/adsct(1) @@ -0,0 +1 @@ +twttr.conversion.loadPixels({}) \ No newline at end of file diff --git a/code/China _ Data_files/adsct(2) b/code/China _ Data_files/adsct(2) new file mode 100644 index 00000000..b3af27c3 --- /dev/null +++ b/code/China _ Data_files/adsct(2) @@ -0,0 +1 @@ +twttr.conversion.loadPixels({}) \ No newline at end of file diff --git a/code/China _ Data_files/adsct(3) b/code/China _ Data_files/adsct(3) new file mode 100644 index 00000000..b3af27c3 --- /dev/null +++ b/code/China _ Data_files/adsct(3) @@ -0,0 +1 @@ +twttr.conversion.loadPixels({}) \ No newline at end of file diff --git a/code/China _ Data_files/analytics.js.download b/code/China _ Data_files/analytics.js.download new file mode 100644 index 00000000..c2ddeb75 --- /dev/null +++ b/code/China _ Data_files/analytics.js.download @@ -0,0 +1,66 @@ +(function(){function La(a){var b=1,c;if(a)for(b=0,c=a.length-1;0<=c;c--){var d=a.charCodeAt(c);b=(b<<6&268435455)+d+(d<<14);d=b&266338304;b=0!=d?b^d>>21:b}return b};(function(){function a(){for(var a=k,b={},c=0;c>4);64!=ze&&(e+=String.fromCharCode(l<<4&240|ze>>2),64!=ve&&(e+=String.fromCharCode(ze<<6&192|ve)))}},ue,Ge=/(.*?)\*(.*?)\*(.*)/,ye=/(.*?)(^|&)_gl=([^&]*)&?(.*)/,Ie=function(a){return function(b){var c=g.location.href,d=document.createElement("a");c&&(e.test(c),d.href=c);c=d.pathname;"/"!==c[0]&&(c="/"+c);var Nd=d.hostname.replace(ca,"");d={href:d.href,protocol:d.protocol,host:d.host,hostname:Nd,pathname:c,search:d.search,hash:d.hash,port:d.port};c=d.search.replace("?","");a:{Nd=c.split("&");for(var we= +0;weg;g++){for(var k=g,da=0;8>da;da++)k=k&1?k>>>1^3988292384:k>>>1;w[g]=k}l=w}ue=l;g=4294967295;for(k=0;k>>8^ue[(g^ +ca.charCodeAt(k))&255];c=(g^-1)>>>0;if(d===c.toString(36)){var te=!0;break a}}te=!1}if(te){b={};var ve=e?e.split("*"):[];for(e=0;e\x3c/script>')):(c=M.createElement("script"), +c.type="text/javascript",c.async=!0,c.src=a,b&&(c.id=b),a=M.getElementsByTagName("script")[0],a.parentNode.insertBefore(c,a)))},be=function(a,b){return E(M.location[b?"href":"search"],a)},E=function(a,b){return(a=a.match("(?:&|#|\\?)"+K(b).replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1")+"=([^&#]*)"))&&2==a.length?a[1]:""},xa=function(){var a=""+M.location.hostname;return 0==a.indexOf("www.")?a.substring(4):a},de=function(a,b){var c=a.indexOf(b);if(5==c||6==c)if(a=a.charAt(c+b.length),"/"==a||"?"==a|| +""==a||":"==a)return!0;return!1},ya=function(a,b){var c=M.referrer;if(/^(https?|android-app):\/\//i.test(c)){if(a)return c;a="//"+M.location.hostname;if(!de(c,a))return b&&(b=a.replace(/\./g,"-")+".cdn.ampproject.org",de(c,b))?void 0:c}},za=function(a,b){if(1==b.length&&null!=b[0]&&"object"===typeof b[0])return b[0];for(var c={},d=Math.min(a.length+1,b.length),e=0;e=b.length)wc(a,b,c);else if(8192>=b.length)x(a,b,c)||wd(a,b,c)||wc(a,b,c);else throw ge("len",b.length),new Da(b.length);},pe=function(a,b,c,d){d=d||ua;wd(a+"?"+b,"",d,c)},wc=function(a,b,c){var d=ta(a+"?"+b);d.onload=d.onerror=function(){d.onload=null;d.onerror=null;c()}},wd=function(a,b,c,d){var e=O.XMLHttpRequest; +if(!e)return!1;var g=new e;if(!("withCredentials"in g))return!1;a=a.replace(/^http:/,"https:");g.open("POST",a,!0);g.withCredentials=!0;g.setRequestHeader("Content-Type","text/plain");g.onreadystatechange=function(){if(4==g.readyState){if(d)try{var a=g.responseText;if(1>a.length)ge("xhr","ver","0"),c();else if("1"!=a.charAt(0))ge("xhr","ver",String(a.length)),c();else if(3=100*R(a,Ka))throw"abort";}function Ma(a){if(G(P(a,Na)))throw"abort";}function Oa(){var a=M.location.protocol;if("http:"!=a&&"https:"!=a)throw"abort";} +function Pa(a){try{O.navigator.sendBeacon?J(42):O.XMLHttpRequest&&"withCredentials"in new O.XMLHttpRequest&&J(40)}catch(c){}a.set(ld,Td(a),!0);a.set(Ac,R(a,Ac)+1);var b=[];Qa.map(function(c,d){d.F&&(c=a.get(c),void 0!=c&&c!=d.defaultValue&&("boolean"==typeof c&&(c*=1),b.push(d.F+"="+K(""+c))))});b.push("z="+Bd());a.set(Ra,b.join("&"),!0)} +function Sa(a){var b=P(a,gd)||oe()+"/collect",c=a.get(qe),d=P(a,fa);!d&&a.get(Vd)&&(d="beacon");if(c)pe(b,P(a,Ra),c,a.get(Ia));else if(d){c=d;d=P(a,Ra);var e=a.get(Ia);e=e||ua;"image"==c?wc(b,d,e):"xhr"==c&&wd(b,d,e)||"beacon"==c&&x(b,d,e)||ba(b,d,e)}else ba(b,P(a,Ra),a.get(Ia));b=a.get(Na);b=h(b);c=b.hitcount;b.hitcount=c?c+1:1;b=a.get(Na);delete h(b).pending_experiments;a.set(Ia,ua,!0)} +function Hc(a){(O.gaData=O.gaData||{}).expId&&a.set(Nc,(O.gaData=O.gaData||{}).expId);(O.gaData=O.gaData||{}).expVar&&a.set(Oc,(O.gaData=O.gaData||{}).expVar);var b=a.get(Na);if(b=h(b).pending_experiments){var c=[];for(d in b)b.hasOwnProperty(d)&&b[d]&&c.push(encodeURIComponent(d)+"."+encodeURIComponent(b[d]));var d=c.join("!")}else d=void 0;d&&a.set(m,d,!0)}function cd(){if(O.navigator&&"preview"==O.navigator.loadPurpose)throw"abort";} +function yd(a){var b=O.gaDevIds;ka(b)&&0!=b.length&&a.set("&did",b.join(","),!0)}function vb(a){if(!a.get(Na))throw"abort";};var hd=function(){return Math.round(2147483647*Math.random())},Bd=function(){try{var a=new Uint32Array(1);O.crypto.getRandomValues(a);return a[0]&2147483647}catch(b){return hd()}};function Ta(a){var b=R(a,Ua);500<=b&&J(15);var c=P(a,Va);if("transaction"!=c&&"item"!=c){c=R(a,Wa);var d=(new Date).getTime(),e=R(a,Xa);0==e&&a.set(Xa,d);e=Math.round(2*(d-e)/1E3);0=c)throw"abort";a.set(Wa,--c)}a.set(Ua,++b)};var Ya=function(){this.data=new ee},Qa=new ee,Za=[];Ya.prototype.get=function(a){var b=$a(a),c=this.data.get(a);b&&void 0==c&&(c=ea(b.defaultValue)?b.defaultValue():b.defaultValue);return b&&b.Z?b.Z(this,a,c):c};var P=function(a,b){a=a.get(b);return void 0==a?"":""+a},R=function(a,b){a=a.get(b);return void 0==a||""===a?0:1*a};Ya.prototype.set=function(a,b,c){if(a)if("object"==typeof a)for(var d in a)a.hasOwnProperty(d)&&ab(this,d,a[d],c);else ab(this,a,b,c)}; +var ab=function(a,b,c,d){if(void 0!=c)switch(b){case Na:wb.test(c)}var e=$a(b);e&&e.o?e.o(a,b,c,d):a.data.set(b,c,d)},bb=function(a,b,c,d,e){this.name=a;this.F=b;this.Z=d;this.o=e;this.defaultValue=c},$a=function(a){var b=Qa.get(a);if(!b)for(var c=0;c=b?!1:!0},gc=function(a){var b={};if(Ec(b)||Fc(b)){var c=b[Eb];void 0==c||Infinity==c||isNaN(c)||(0c)a[b]=void 0},Fd=function(a){return function(b){if("pageview"==b.get(Va)&& +!a.I){a.I=!0;var c=aa(b),d=0a.length)J(12);else{for(var d=[],e=0;e=a&&d.push({hash:ca[0],R:e[g],O:ca})}if(0!=d.length)return 1==d.length?d[0]:Zc(b,d)||Zc(c,d)||Zc(null,d)||d[0]}function Zc(a,b){if(null==a)var c=a=1;else c=La(a),a=La(D(a,".")?a.substring(1):"."+a);for(var d=0;d=ca[0]||0>=ca[1]?"":ca.join("x");a.set(rb,c);a.set(tb,fc());a.set(ob,M.characterSet||M.charset);a.set(sb,b&&"function"===typeof b.javaEnabled&&b.javaEnabled()||!1);a.set(nb,(b&&(b.language||b.browserLanguage)||"").toLowerCase());a.data.set(ce,be("gclid",!0));a.data.set(ie,be("gclsrc",!0));a.data.set(fe,Math.round((new Date).getTime()/1E3));if(d&&a.get(cc)&&(b=M.location.hash)){b=b.split(/[?&#]+/);d=[];for(c=0;carguments.length)){if("string"===typeof arguments[0]){var b=arguments[0];var c=[].slice.call(arguments,1)}else b=arguments[0]&&arguments[0][Va],c=arguments;b&&(c=za(qc[b]||[],c),c[Va]=b,this.b.set(c,void 0,!0),this.filters.D(this.b),this.b.data.m={})}};pc.prototype.ma=function(a,b){var c=this;u(a,c,b)||(v(a,function(){u(a,c,b)}),y(String(c.get(V)),a,void 0,b,!0))};var rc=function(a){if("prerender"==M.visibilityState)return!1;a();return!0},z=function(a){if(!rc(a)){J(16);var b=!1,c=function(){if(!b&&rc(a)){b=!0;var d=c,e=M;e.removeEventListener?e.removeEventListener("visibilitychange",d,!1):e.detachEvent&&e.detachEvent("onvisibilitychange",d)}};L(M,"visibilitychange",c)}};var td=/^(?:(\w+)\.)?(?:(\w+):)?(\w+)$/,sc=function(a){if(ea(a[0]))this.u=a[0];else{var b=td.exec(a[0]);null!=b&&4==b.length&&(this.c=b[1]||"t0",this.K=b[2]||"",this.C=b[3],this.a=[].slice.call(a,1),this.K||(this.A="create"==this.C,this.i="require"==this.C,this.g="provide"==this.C,this.ba="remove"==this.C),this.i&&(3<=this.a.length?(this.X=this.a[1],this.W=this.a[2]):this.a[1]&&(qa(this.a[1])?this.X=this.a[1]:this.W=this.a[1])));b=a[1];a=a[2];if(!this.C)throw"abort";if(this.i&&(!qa(b)||""==b))throw"abort"; +if(this.g&&(!qa(b)||""==b||!ea(a)))throw"abort";if(ud(this.c)||ud(this.K))throw"abort";if(this.g&&"t0"!=this.c)throw"abort";}};function ud(a){return 0<=a.indexOf(".")||0<=a.indexOf(":")};var Yd,Zd,$d,A;Yd=new ee;$d=new ee;A=new ee;Zd={ec:45,ecommerce:46,linkid:47}; +var u=function(a,b,c){b==N||b.get(V);var d=Yd.get(a);if(!ea(d))return!1;b.plugins_=b.plugins_||new ee;if(b.plugins_.get(a))return!0;b.plugins_.set(a,new d(b,c||{}));return!0},y=function(a,b,c,d,e){if(!ea(Yd.get(b))&&!$d.get(b)){Zd.hasOwnProperty(b)&&J(Zd[b]);if(p.test(b)){J(52);a=N.j(a);if(!a)return!0;c=d||{};d={id:b,B:c.dataLayer||"dataLayer",ia:!!a.get("anonymizeIp"),sync:e,G:!1};a.get(">m")==b&&(d.G=!0);var g=String(a.get("name"));"t0"!=g&&(d.target=g);G(String(a.get("trackingId")))||(d.clientId= +String(a.get(Q)),d.ka=Number(a.get(n)),c=c.palindrome?r:q,c=(c=M.cookie.replace(/^|(; +)/g,";").match(c))?c.sort().join("").substring(1):void 0,d.la=c,d.qa=E(a.b.get(kb)||"","gclid"));a=d.B;c=(new Date).getTime();O[a]=O[a]||[];c={"gtm.start":c};e||(c.event="gtm.js");O[a].push(c);c=t(d)}!c&&Zd.hasOwnProperty(b)?(J(39),c=b+".js"):J(43);c&&(c&&0<=c.indexOf("/")||(c=(Ba||"https:"==M.location.protocol?"https:":"http:")+"//www.google-analytics.com/plugins/ua/"+c),d=ae(c),a=d.protocol,c=M.location.protocol, +("https:"==a||a==c||("http:"!=a?0:"http:"==c))&&B(d)&&(wa(d.url,void 0,e),$d.set(b,!0)))}},v=function(a,b){var c=A.get(a)||[];c.push(b);A.set(a,c)},C=function(a,b){Yd.set(a,b);b=A.get(a)||[];for(var c=0;ca.split("/")[0].indexOf(":")&&(a=ca+e[2].substring(0,e[2].lastIndexOf("/"))+"/"+a);c.href=a;d=b(c);return{protocol:(c.protocol||"").toLowerCase(),host:d[0],port:d[1],path:d[2],query:c.search||"",url:a||""}};var Z={ga:function(){Z.f=[]}};Z.ga();Z.D=function(a){var b=Z.J.apply(Z,arguments);b=Z.f.concat(b);for(Z.f=[];0c;c++){var d=b[c].src;if(d&&0==d.indexOf("https://www.google-analytics.com/analytics")){b= +!0;break a}}b=!1}b&&(Ba=!0)}(O.gaplugins=O.gaplugins||{}).Linker=Dc;b=Dc.prototype;C("linker",Dc);X("decorate",b,b.ca,20);X("autoLink",b,b.S,25);C("displayfeatures",fd);C("adfeatures",fd);a=a&&a.q;ka(a)?Z.D.apply(N,a):J(50)}};N.da=function(){for(var a=N.getAll(),b=0;b=200&&e.status<300)return e;var t=new Error(e.statusText);throw t.response=e,t}Object.defineProperty(t,"__esModule",{value:!0}),t.ROOT=t.SERVER_ROOT=void 0,t.checkStatus=r;var n=a(115),l=a(9),i=a(59);o(i),t.SERVER_ROOT=n.isLocal?"http://localhost:"+n.port:l.ENV_LOCALE_LINKS_MAP[n.env][l.DEFAULT_LOCALE],t.ROOT=""},137:function(e,t,a){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}function r(e,t){var a=c.ROOT+"/config/"+e+".json";return t=t||e,function(e,o){var r=(0,m.configSelector)(o()).get(t);return r?i["default"].resolve():(0,u["default"])(a).then(c.checkStatus).then(function(e){return e.json()}).then(function(a){return e({type:d.CONFIG_UPDATE_CONFIG,payload:{data:a,key:t}})})["catch"](function(o){return 404==o.response.status?console.error("Fetching "+a+" 404ed"):console.error("Fetching "+a+" failed",o),e({type:d.CONFIG_UPDATE_CONFIG,payload:{data:{},key:t}})})}}function n(){return function(e,t){var a=(0,f.localeSelector)(t());return i["default"].all([e(r("front_page/"+a+"_front_page_config")),e(r("front_page/"+a+"_front_page_featured")),e(r("front_page/"+a+"_front_page_blog_posts")),e(r("front_page/"+a+"_front_page_blog_posts_rss"))])}}Object.defineProperty(t,"__esModule",{value:!0});var l=a(39),i=o(l);t.fetchConfig=r,t.fetchFrontPageConfig=n;var s=a(59),u=o(s),d=a(70),c=a(117),m=a(36),f=a(15)},144:function(e,t){!function(e){"use strict";function t(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function a(e){return"string"!=typeof e&&(e=String(e)),e}function o(e){this.map={},e instanceof o?e.forEach(function(e,t){this.append(t,e)},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function r(e){return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function n(e){return new Promise(function(t,a){e.onload=function(){t(e.result)},e.onerror=function(){a(e.error)}})}function l(e){var t=new FileReader;return t.readAsArrayBuffer(e),n(t)}function i(e){var t=new FileReader;return t.readAsText(e),n(t)}function s(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,"string"==typeof e)this._bodyText=e;else if(h.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(h.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(e){if(!h.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e))throw new Error("unsupported BodyInit type")}else this._bodyText="";this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type&&this.headers.set("content-type",this._bodyBlob.type))},h.blob?(this.blob=function(){var e=r(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this.blob().then(l)},this.text=function(){var e=r(this);if(e)return e;if(this._bodyBlob)return i(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)}):this.text=function(){var e=r(this);return e?e:Promise.resolve(this._bodyText)},h.formData&&(this.formData=function(){return this.text().then(c)}),this.json=function(){return this.text().then(JSON.parse)},this}function u(e){var t=e.toUpperCase();return p.indexOf(t)>-1?t:e}function d(e,t){t=t||{};var a=t.body;if(d.prototype.isPrototypeOf(e)){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new o(e.headers)),this.method=e.method,this.mode=e.mode,a||(a=e._bodyInit,e.bodyUsed=!0)}else this.url=e;if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new o(t.headers)),this.method=u(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&a)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(a)}function c(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var a=e.split("="),o=a.shift().replace(/\+/g," "),r=a.join("=").replace(/\+/g," ");t.append(decodeURIComponent(o),decodeURIComponent(r))}}),t}function m(e){var t=new o,a=e.getAllResponseHeaders().trim().split("\n");return a.forEach(function(e){var a=e.trim().split(":"),o=a.shift().trim(),r=a.join(":").trim();t.append(o,r)}),t}function f(e,t){t||(t={}),this.type="default",this.status=t.status,this.ok=this.status>=200&&this.status<300,this.statusText=t.statusText,this.headers=t.headers instanceof o?t.headers:new o(t.headers),this.url=t.url||"",this._initBody(e)}if(!e.fetch){o.prototype.append=function(e,o){e=t(e),o=a(o);var r=this.map[e];r||(r=[],this.map[e]=r),r.push(o)},o.prototype["delete"]=function(e){delete this.map[t(e)]},o.prototype.get=function(e){var a=this.map[t(e)];return a?a[0]:null},o.prototype.getAll=function(e){return this.map[t(e)]||[]},o.prototype.has=function(e){return this.map.hasOwnProperty(t(e))},o.prototype.set=function(e,o){this.map[t(e)]=[a(o)]},o.prototype.forEach=function(e,t){Object.getOwnPropertyNames(this.map).forEach(function(a){this.map[a].forEach(function(o){e.call(t,o,a,this)},this)},this)};var h={blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e},p=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];d.prototype.clone=function(){return new d(this)},s.call(d.prototype),s.call(f.prototype),f.prototype.clone=function(){return new f(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new o(this.headers),url:this.url})},f.error=function(){var e=new f(null,{status:0,statusText:""});return e.type="error",e};var v=[301,302,303,307,308];f.redirect=function(e,t){if(v.indexOf(t)===-1)throw new RangeError("Invalid status code");return new f(null,{status:t,headers:{location:e}})},e.Headers=o,e.Request=d,e.Response=f,e.fetch=function(e,t){return new Promise(function(a,o){function r(){return"responseURL"in l?l.responseURL:/^X-Request-URL:/m.test(l.getAllResponseHeaders())?l.getResponseHeader("X-Request-URL"):void 0}var n;n=d.prototype.isPrototypeOf(e)&&!t?e:new d(e,t);var l=new XMLHttpRequest;l.onload=function(){var e=1223===l.status?204:l.status;if(e<100||e>599)return void o(new TypeError("Network request failed"));var t={status:e,statusText:l.statusText,headers:m(l),url:r()},n="response"in l?l.response:l.responseText;a(new f(n,t))},l.onerror=function(){o(new TypeError("Network request failed"))},l.open(n.method,n.url,!0),"include"===n.credentials&&(l.withCredentials=!0),"responseType"in l&&h.blob&&(l.responseType="blob"),n.headers.forEach(function(e,t){l.setRequestHeader(t,e)}),l.send("undefined"==typeof n._bodyInit?null:n._bodyInit)})},e.fetch.polyfill=!0}}("undefined"!=typeof self?self:this)},319:function(e,t,a){!function(t,a){e.exports=a()}(this,function(){"use strict";return[{locale:"ar",pluralRuleFunction:function(e,t){var a=String(e).split("."),o=Number(a[0])==e&&a[0].slice(-2);return t?"other":0==e?"zero":1==e?"one":2==e?"two":o>=3&&o<=10?"few":o>=11&&o<=99?"many":"other"},fields:{year:{displayName:"السنة",relative:{0:"السنة الحالية",1:"السنة القادمة","-1":"السنة الماضية"},relativeTime:{future:{zero:"خلال {0} سنة",one:"خلال سنة واحدة",two:"خلال سنتين",few:"خلال {0} سنوات",many:"خلال {0} سنة",other:"خلال {0} سنة"},past:{zero:"قبل {0} سنة",one:"قبل سنة واحدة",two:"قبل سنتين",few:"قبل {0} سنوات",many:"قبل {0} سنة",other:"قبل {0} سنة"}}},month:{displayName:"الشهر",relative:{0:"هذا الشهر",1:"الشهر القادم","-1":"الشهر الماضي"},relativeTime:{future:{zero:"خلال {0} شهر",one:"خلال شهر واحد",two:"خلال شهرين",few:"خلال {0} أشهر",many:"خلال {0} شهرًا",other:"خلال {0} شهر"},past:{zero:"قبل {0} شهر",one:"قبل شهر واحد",two:"قبل شهرين",few:"قبل {0} أشهر",many:"قبل {0} شهرًا",other:"قبل {0} شهر"}}},day:{displayName:"يوم",relative:{0:"اليوم",1:"غدًا",2:"بعد الغد","-2":"أول أمس","-1":"أمس"},relativeTime:{future:{zero:"خلال {0} يوم",one:"خلال يوم واحد",two:"خلال يومين",few:"خلال {0} أيام",many:"خلال {0} يومًا",other:"خلال {0} يوم"},past:{zero:"قبل {0} يوم",one:"قبل يوم واحد",two:"قبل يومين",few:"قبل {0} أيام",many:"قبل {0} يومًا",other:"قبل {0} يوم"}}},hour:{displayName:"الساعات",relative:{0:"الساعة الحالية"},relativeTime:{future:{zero:"خلال {0} ساعة",one:"خلال ساعة واحدة",two:"خلال ساعتين",few:"خلال {0} ساعات",many:"خلال {0} ساعة",other:"خلال {0} ساعة"},past:{zero:"قبل {0} ساعة",one:"قبل ساعة واحدة",two:"قبل ساعتين",few:"قبل {0} ساعات",many:"قبل {0} ساعة",other:"قبل {0} ساعة"}}},minute:{displayName:"الدقائق",relative:{0:"هذه الدقيقة"},relativeTime:{future:{zero:"خلال {0} دقيقة",one:"خلال دقيقة واحدة",two:"خلال دقيقتين",few:"خلال {0} دقائق",many:"خلال {0} دقيقة",other:"خلال {0} دقيقة"},past:{zero:"قبل {0} دقيقة",one:"قبل دقيقة واحدة",two:"قبل دقيقتين",few:"قبل {0} دقائق",many:"قبل {0} دقيقة",other:"قبل {0} دقيقة"}}},second:{displayName:"الثواني",relative:{0:"الآن"},relativeTime:{future:{zero:"خلال {0} ثانية",one:"خلال ثانية واحدة",two:"خلال ثانيتين",few:"خلال {0} ثوانٍ",many:"خلال {0} ثانية",other:"خلال {0} ثانية"},past:{zero:"قبل {0} ثانية",one:"قبل ثانية واحدة",two:"قبل ثانيتين",few:"قبل {0} ثوانِ",many:"قبل {0} ثانية",other:"قبل {0} ثانية"}}}}},{locale:"ar-AE",parentLocale:"ar",fields:{year:{displayName:"السنة",relative:{0:"هذه السنة",1:"السنة التالية","-1":"السنة الماضية"},relativeTime:{future:{zero:"خلال {0} سنة",one:"خلال سنة واحدة",two:"خلال سنتين",few:"خلال {0} سنوات",many:"خلال {0} سنة",other:"خلال {0} سنة"},past:{zero:"قبل {0} سنة",one:"قبل سنة واحدة",two:"قبل سنتين",few:"قبل {0} سنوات",many:"قبل {0} سنة",other:"قبل {0} سنة"}}},month:{displayName:"الشهر",relative:{0:"هذا الشهر",1:"الشهر القادم","-1":"الشهر الماضي"},relativeTime:{future:{zero:"خلال {0} شهر",one:"خلال شهر واحد",two:"خلال شهرين",few:"خلال {0} أشهر",many:"خلال {0} شهرًا",other:"خلال {0} شهر"},past:{zero:"قبل {0} شهر",one:"قبل شهر واحد",two:"قبل شهرين",few:"قبل {0} أشهر",many:"قبل {0} شهرًا",other:"قبل {0} شهر"}}},day:{displayName:"يوم",relative:{0:"اليوم",1:"غدًا",2:"بعد الغد","-2":"أول أمس","-1":"أمس"},relativeTime:{future:{zero:"خلال {0} يوم",one:"خلال يوم واحد",two:"خلال يومين",few:"خلال {0} أيام",many:"خلال {0} يومًا",other:"خلال {0} يوم"},past:{zero:"قبل {0} يوم",one:"قبل يوم واحد",two:"قبل يومين",few:"قبل {0} أيام",many:"قبل {0} يومًا",other:"قبل {0} يوم"}}},hour:{displayName:"الساعات",relative:{0:"الساعة الحالية"},relativeTime:{future:{zero:"خلال {0} ساعة",one:"خلال ساعة واحدة",two:"خلال ساعتين",few:"خلال {0} ساعات",many:"خلال {0} ساعة",other:"خلال {0} ساعة"},past:{zero:"قبل {0} ساعة",one:"قبل ساعة واحدة",two:"قبل ساعتين",few:"قبل {0} ساعات",many:"قبل {0} ساعة",other:"قبل {0} ساعة"}}},minute:{displayName:"الدقائق",relative:{0:"هذه الدقيقة"},relativeTime:{future:{zero:"خلال {0} دقيقة",one:"خلال دقيقة واحدة",two:"خلال دقيقتين",few:"خلال {0} دقائق",many:"خلال {0} دقيقة",other:"خلال {0} دقيقة"},past:{zero:"قبل {0} دقيقة",one:"قبل دقيقة واحدة",two:"قبل دقيقتين",few:"قبل {0} دقائق",many:"قبل {0} دقيقة",other:"قبل {0} دقيقة"}}},second:{displayName:"الثواني",relative:{0:"الآن"},relativeTime:{future:{zero:"خلال {0} ثانية",one:"خلال ثانية واحدة",two:"خلال ثانيتين",few:"خلال {0} ثوانٍ",many:"خلال {0} ثانية",other:"خلال {0} ثانية"},past:{zero:"قبل {0} ثانية",one:"قبل ثانية واحدة",two:"قبل ثانيتين",few:"قبل {0} ثوانِ",many:"قبل {0} ثانية",other:"قبل {0} ثانية"}}}}},{locale:"ar-BH",parentLocale:"ar"},{locale:"ar-DJ",parentLocale:"ar"},{locale:"ar-DZ",parentLocale:"ar"},{locale:"ar-EG",parentLocale:"ar"},{locale:"ar-EH",parentLocale:"ar"},{locale:"ar-ER",parentLocale:"ar"},{locale:"ar-IL",parentLocale:"ar"},{locale:"ar-IQ",parentLocale:"ar"},{locale:"ar-JO",parentLocale:"ar"},{locale:"ar-KM",parentLocale:"ar"},{locale:"ar-KW",parentLocale:"ar"},{locale:"ar-LB",parentLocale:"ar"},{locale:"ar-LY",parentLocale:"ar"},{locale:"ar-MA",parentLocale:"ar"},{locale:"ar-MR",parentLocale:"ar"},{locale:"ar-OM",parentLocale:"ar"},{locale:"ar-PS",parentLocale:"ar"},{locale:"ar-QA",parentLocale:"ar"},{locale:"ar-SA",parentLocale:"ar"},{locale:"ar-SD",parentLocale:"ar"},{locale:"ar-SO",parentLocale:"ar"},{locale:"ar-SS",parentLocale:"ar"},{locale:"ar-SY",parentLocale:"ar"},{locale:"ar-TD",parentLocale:"ar"},{locale:"ar-TN",parentLocale:"ar"},{locale:"ar-YE",parentLocale:"ar"}]})},320:function(e,t,a){!function(t,a){e.exports=a()}(this,function(){"use strict";return[{locale:"bg",pluralRuleFunction:function(e,t){return t?"other":1==e?"one":"other"},fields:{year:{displayName:"година",relative:{0:"тази година",1:"следващата година","-1":"миналата година"},relativeTime:{future:{one:"след {0} година",other:"след {0} години"},past:{one:"преди {0} година",other:"преди {0} години"}}},month:{displayName:"месец",relative:{0:"този месец",1:"следващ месец","-1":"предходен месец"},relativeTime:{future:{one:"след {0} месец",other:"след {0} месеца"},past:{one:"преди {0} месец",other:"преди {0} месеца"}}},day:{displayName:"ден",relative:{0:"днес",1:"утре",2:"вдругиден","-2":"онзи ден","-1":"вчера"},relativeTime:{future:{one:"след {0} ден",other:"след {0} дни"},past:{one:"преди {0} ден",other:"преди {0} дни"}}},hour:{displayName:"час",relative:{0:"в този час"},relativeTime:{future:{one:"след {0} час",other:"след {0} часа"},past:{one:"преди {0} час",other:"преди {0} часа"}}},minute:{displayName:"минута",relative:{0:"в тази минута"},relativeTime:{future:{one:"след {0} минута",other:"след {0} минути"},past:{one:"преди {0} минута",other:"преди {0} минути"}}},second:{displayName:"секунда",relative:{0:"сега"},relativeTime:{future:{one:"след {0} секунда",other:"след {0} секунди"},past:{one:"преди {0} секунда",other:"преди {0} секунди"}}}}}]})},321:function(e,t,a){!function(t,a){e.exports=a()}(this,function(){"use strict";return[{locale:"de",pluralRuleFunction:function(e,t){var a=!String(e).split(".")[1];return t?"other":1==e&&a?"one":"other"},fields:{year:{displayName:"Jahr",relative:{0:"dieses Jahr",1:"nächstes Jahr","-1":"letztes Jahr"},relativeTime:{future:{one:"in {0} Jahr",other:"in {0} Jahren"},past:{one:"vor {0} Jahr",other:"vor {0} Jahren"}}},month:{displayName:"Monat",relative:{0:"diesen Monat",1:"nächsten Monat","-1":"letzten Monat"},relativeTime:{future:{one:"in {0} Monat",other:"in {0} Monaten"},past:{one:"vor {0} Monat",other:"vor {0} Monaten"}}},day:{displayName:"Tag",relative:{0:"heute",1:"morgen",2:"übermorgen","-2":"vorgestern","-1":"gestern"},relativeTime:{future:{one:"in {0} Tag",other:"in {0} Tagen"},past:{one:"vor {0} Tag",other:"vor {0} Tagen"}}},hour:{displayName:"Stunde",relative:{0:"in dieser Stunde"},relativeTime:{future:{one:"in {0} Stunde",other:"in {0} Stunden"},past:{one:"vor {0} Stunde",other:"vor {0} Stunden"}}},minute:{displayName:"Minute",relative:{0:"in dieser Minute"},relativeTime:{future:{one:"in {0} Minute",other:"in {0} Minuten"},past:{one:"vor {0} Minute",other:"vor {0} Minuten"}}},second:{displayName:"Sekunde",relative:{0:"jetzt"},relativeTime:{future:{one:"in {0} Sekunde",other:"in {0} Sekunden"},past:{one:"vor {0} Sekunde",other:"vor {0} Sekunden"}}}}},{locale:"de-AT",parentLocale:"de"},{locale:"de-BE",parentLocale:"de"},{locale:"de-CH",parentLocale:"de"},{locale:"de-IT",parentLocale:"de"},{locale:"de-LI",parentLocale:"de"},{locale:"de-LU",parentLocale:"de"}]})},322:function(e,t,a){!function(t,a){e.exports=a()}(this,function(){"use strict";return[{locale:"en",pluralRuleFunction:function(e,t){var a=String(e).split("."),o=!a[1],r=Number(a[0])==e,n=r&&a[0].slice(-1),l=r&&a[0].slice(-2);return t?1==n&&11!=l?"one":2==n&&12!=l?"two":3==n&&13!=l?"few":"other":1==e&&o?"one":"other"},fields:{year:{displayName:"year",relative:{0:"this year",1:"next year","-1":"last year"},relativeTime:{future:{one:"in {0} year",other:"in {0} years"},past:{one:"{0} year ago",other:"{0} years ago"}}},month:{displayName:"month",relative:{0:"this month",1:"next month","-1":"last month"},relativeTime:{future:{one:"in {0} month",other:"in {0} months"},past:{one:"{0} month ago",other:"{0} months ago"}}},day:{displayName:"day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}}},hour:{displayName:"hour",relative:{0:"this hour"},relativeTime:{future:{one:"in {0} hour",other:"in {0} hours"},past:{one:"{0} hour ago",other:"{0} hours ago"}}},minute:{displayName:"minute",relative:{0:"this minute"},relativeTime:{future:{one:"in {0} minute",other:"in {0} minutes"},past:{one:"{0} minute ago",other:"{0} minutes ago"}}},second:{displayName:"second",relative:{0:"now"},relativeTime:{future:{one:"in {0} second",other:"in {0} seconds"},past:{one:"{0} second ago",other:"{0} seconds ago"}}}}},{locale:"en-001",parentLocale:"en"},{locale:"en-150",parentLocale:"en-001"},{locale:"en-AG",parentLocale:"en-001"},{locale:"en-AI",parentLocale:"en-001"},{locale:"en-AS",parentLocale:"en"},{locale:"en-AT",parentLocale:"en-150"},{locale:"en-AU",parentLocale:"en-001"},{locale:"en-BB",parentLocale:"en-001"},{locale:"en-BE",parentLocale:"en-001"},{locale:"en-BI",parentLocale:"en"},{locale:"en-BM",parentLocale:"en-001"},{locale:"en-BS",parentLocale:"en-001"},{locale:"en-BW",parentLocale:"en-001"},{locale:"en-BZ",parentLocale:"en-001"},{locale:"en-CA",parentLocale:"en-001"},{locale:"en-CC",parentLocale:"en-001"},{locale:"en-CH",parentLocale:"en-150"},{locale:"en-CK",parentLocale:"en-001"},{locale:"en-CM",parentLocale:"en-001"},{locale:"en-CX",parentLocale:"en-001"},{locale:"en-CY",parentLocale:"en-001"},{locale:"en-DE",parentLocale:"en-150"},{locale:"en-DG",parentLocale:"en-001"},{locale:"en-DK",parentLocale:"en-150"},{locale:"en-DM",parentLocale:"en-001"},{locale:"en-Dsrt",pluralRuleFunction:function(e,t){return"other"},fields:{year:{displayName:"Year",relative:{0:"this year",1:"next year","-1":"last year"},relativeTime:{future:{other:"+{0} y"},past:{other:"-{0} y"}}},month:{displayName:"Month",relative:{0:"this month",1:"next month","-1":"last month"},relativeTime:{future:{other:"+{0} m"},past:{other:"-{0} m"}}},day:{displayName:"Day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{other:"+{0} d"},past:{other:"-{0} d"}}},hour:{displayName:"Hour",relative:{0:"this hour"},relativeTime:{future:{other:"+{0} h"},past:{other:"-{0} h"}}},minute:{displayName:"Minute",relative:{0:"this minute"},relativeTime:{future:{other:"+{0} min"},past:{other:"-{0} min"}}},second:{displayName:"Second",relative:{0:"now"},relativeTime:{future:{other:"+{0} s"},past:{other:"-{0} s"}}}}},{locale:"en-ER",parentLocale:"en-001"},{locale:"en-FI",parentLocale:"en-150"},{locale:"en-FJ",parentLocale:"en-001"},{locale:"en-FK",parentLocale:"en-001"},{locale:"en-FM",parentLocale:"en-001"},{locale:"en-GB",parentLocale:"en-001"},{locale:"en-GD",parentLocale:"en-001"},{locale:"en-GG",parentLocale:"en-001"},{locale:"en-GH",parentLocale:"en-001"},{locale:"en-GI",parentLocale:"en-001"},{locale:"en-GM",parentLocale:"en-001"},{locale:"en-GU",parentLocale:"en"},{locale:"en-GY",parentLocale:"en-001"},{locale:"en-HK",parentLocale:"en-001"},{locale:"en-IE",parentLocale:"en-001"},{locale:"en-IL",parentLocale:"en-001"},{locale:"en-IM",parentLocale:"en-001"},{locale:"en-IN",parentLocale:"en-001"},{locale:"en-IO",parentLocale:"en-001"},{locale:"en-JE",parentLocale:"en-001"},{locale:"en-JM",parentLocale:"en-001"},{locale:"en-KE",parentLocale:"en-001"},{locale:"en-KI",parentLocale:"en-001"},{locale:"en-KN",parentLocale:"en-001"},{locale:"en-KY",parentLocale:"en-001"},{locale:"en-LC",parentLocale:"en-001"},{locale:"en-LR",parentLocale:"en-001"},{locale:"en-LS",parentLocale:"en-001"},{locale:"en-MG",parentLocale:"en-001"},{locale:"en-MH",parentLocale:"en"},{locale:"en-MO",parentLocale:"en-001"},{locale:"en-MP",parentLocale:"en"},{locale:"en-MS",parentLocale:"en-001"},{locale:"en-MT",parentLocale:"en-001"},{locale:"en-MU",parentLocale:"en-001"},{locale:"en-MW",parentLocale:"en-001"},{locale:"en-MY",parentLocale:"en-001"},{locale:"en-NA",parentLocale:"en-001"},{locale:"en-NF",parentLocale:"en-001"},{locale:"en-NG",parentLocale:"en-001"},{locale:"en-NL",parentLocale:"en-150"},{locale:"en-NR",parentLocale:"en-001"},{locale:"en-NU",parentLocale:"en-001"},{locale:"en-NZ",parentLocale:"en-001"},{locale:"en-PG",parentLocale:"en-001"},{locale:"en-PH",parentLocale:"en-001"},{locale:"en-PK",parentLocale:"en-001"},{locale:"en-PN",parentLocale:"en-001"},{locale:"en-PR",parentLocale:"en"},{locale:"en-PW",parentLocale:"en-001"},{locale:"en-RW",parentLocale:"en-001"},{locale:"en-SB",parentLocale:"en-001"},{locale:"en-SC",parentLocale:"en-001"},{locale:"en-SD",parentLocale:"en-001"},{locale:"en-SE",parentLocale:"en-150"},{locale:"en-SG",parentLocale:"en-001"},{locale:"en-SH",parentLocale:"en-001"},{locale:"en-SI",parentLocale:"en-150"},{locale:"en-SL",parentLocale:"en-001"},{locale:"en-SS",parentLocale:"en-001"},{locale:"en-SX",parentLocale:"en-001"},{locale:"en-SZ",parentLocale:"en-001"},{locale:"en-Shaw",pluralRuleFunction:function(e,t){return"other"},fields:{year:{displayName:"Year",relative:{0:"this year",1:"next year","-1":"last year"},relativeTime:{future:{other:"+{0} y"},past:{other:"-{0} y"}}},month:{displayName:"Month",relative:{0:"this month",1:"next month","-1":"last month"},relativeTime:{future:{other:"+{0} m"},past:{other:"-{0} m"}}},day:{displayName:"Day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{other:"+{0} d"},past:{other:"-{0} d"}}},hour:{displayName:"Hour",relative:{0:"this hour"},relativeTime:{future:{other:"+{0} h"},past:{other:"-{0} h"}}},minute:{displayName:"Minute",relative:{0:"this minute"},relativeTime:{future:{other:"+{0} min"},past:{other:"-{0} min"}}},second:{displayName:"Second",relative:{0:"now"},relativeTime:{future:{other:"+{0} s"},past:{other:"-{0} s"}}}}},{locale:"en-TC",parentLocale:"en-001"},{locale:"en-TK",parentLocale:"en-001"},{locale:"en-TO",parentLocale:"en-001"},{locale:"en-TT",parentLocale:"en-001"},{locale:"en-TV",parentLocale:"en-001"},{locale:"en-TZ",parentLocale:"en-001"},{locale:"en-UG",parentLocale:"en-001"},{locale:"en-UM",parentLocale:"en"},{locale:"en-US",parentLocale:"en"},{locale:"en-VC",parentLocale:"en-001"},{locale:"en-VG",parentLocale:"en-001"},{locale:"en-VI",parentLocale:"en"},{locale:"en-VU",parentLocale:"en-001"},{locale:"en-WS",parentLocale:"en-001"},{locale:"en-ZA",parentLocale:"en-001"},{locale:"en-ZM",parentLocale:"en-001"},{locale:"en-ZW",parentLocale:"en-001"}]})},323:function(e,t,a){!function(t,a){e.exports=a()}(this,function(){"use strict";return[{locale:"es",pluralRuleFunction:function(e,t){return t?"other":1==e?"one":"other"},fields:{year:{displayName:"año",relative:{0:"este año",1:"el próximo año","-1":"el año pasado"},relativeTime:{future:{one:"dentro de {0} año",other:"dentro de {0} años"},past:{one:"hace {0} año",other:"hace {0} años"}}},month:{displayName:"mes",relative:{0:"este mes",1:"el próximo mes","-1":"el mes pasado"},relativeTime:{future:{one:"dentro de {0} mes",other:"dentro de {0} meses"},past:{one:"hace {0} mes",other:"hace {0} meses"}}},day:{displayName:"día",relative:{0:"hoy",1:"mañana",2:"pasado mañana","-2":"anteayer","-1":"ayer"},relativeTime:{future:{one:"dentro de {0} día",other:"dentro de {0} días"},past:{one:"hace {0} día",other:"hace {0} días"}}},hour:{displayName:"hora",relative:{0:"esta hora"},relativeTime:{future:{one:"dentro de {0} hora",other:"dentro de {0} horas"},past:{one:"hace {0} hora",other:"hace {0} horas"}}},minute:{displayName:"minuto",relative:{0:"este minuto"},relativeTime:{future:{one:"dentro de {0} minuto",other:"dentro de {0} minutos"},past:{one:"hace {0} minuto",other:"hace {0} minutos"}}},second:{displayName:"segundo",relative:{0:"ahora"},relativeTime:{future:{one:"dentro de {0} segundo",other:"dentro de {0} segundos"},past:{one:"hace {0} segundo",other:"hace {0} segundos"}}}}},{locale:"es-419",parentLocale:"es"},{locale:"es-AR",parentLocale:"es-419"},{locale:"es-BO",parentLocale:"es-419"},{locale:"es-BR",parentLocale:"es-419"},{locale:"es-BZ",parentLocale:"es-419"},{locale:"es-CL",parentLocale:"es-419"},{locale:"es-CO",parentLocale:"es-419"},{locale:"es-CR",parentLocale:"es-419",fields:{year:{displayName:"año",relative:{0:"este año",1:"el próximo año","-1":"el año pasado"},relativeTime:{future:{one:"dentro de {0} año",other:"dentro de {0} años"},past:{one:"hace {0} año",other:"hace {0} años"}}},month:{displayName:"mes",relative:{0:"este mes",1:"el próximo mes","-1":"el mes pasado"},relativeTime:{future:{one:"dentro de {0} mes",other:"dentro de {0} meses"},past:{one:"hace {0} mes",other:"hace {0} meses"}}},day:{displayName:"día",relative:{0:"hoy",1:"mañana",2:"pasado mañana","-2":"antier","-1":"ayer"},relativeTime:{future:{one:"dentro de {0} día",other:"dentro de {0} días"},past:{one:"hace {0} día",other:"hace {0} días"}}},hour:{displayName:"hora",relative:{0:"esta hora"},relativeTime:{future:{one:"dentro de {0} hora",other:"dentro de {0} horas"},past:{one:"hace {0} hora",other:"hace {0} horas"}}},minute:{displayName:"minuto",relative:{0:"este minuto"},relativeTime:{future:{one:"dentro de {0} minuto",other:"dentro de {0} minutos"},past:{one:"hace {0} minuto",other:"hace {0} minutos"}}},second:{displayName:"segundo",relative:{0:"ahora"},relativeTime:{future:{one:"dentro de {0} segundo",other:"dentro de {0} segundos"},past:{one:"hace {0} segundo",other:"hace {0} segundos"}}}}},{locale:"es-CU",parentLocale:"es-419"},{locale:"es-DO",parentLocale:"es-419",fields:{year:{displayName:"Año",relative:{0:"este año",1:"el próximo año","-1":"el año pasado"},relativeTime:{future:{one:"dentro de {0} año",other:"dentro de {0} años"},past:{one:"hace {0} año",other:"hace {0} años"}}},month:{displayName:"Mes",relative:{0:"este mes",1:"el próximo mes","-1":"el mes pasado"},relativeTime:{future:{one:"dentro de {0} mes",other:"dentro de {0} meses"},past:{one:"hace {0} mes",other:"hace {0} meses"}}},day:{displayName:"Día",relative:{0:"hoy",1:"mañana",2:"pasado mañana","-2":"anteayer","-1":"ayer"},relativeTime:{future:{one:"dentro de {0} día",other:"dentro de {0} días"},past:{one:"hace {0} día",other:"hace {0} días"}}},hour:{displayName:"hora",relative:{0:"esta hora"},relativeTime:{future:{one:"dentro de {0} hora",other:"dentro de {0} horas"},past:{one:"hace {0} hora",other:"hace {0} horas"}}},minute:{displayName:"Minuto",relative:{0:"este minuto"},relativeTime:{future:{one:"dentro de {0} minuto",other:"dentro de {0} minutos"},past:{one:"hace {0} minuto",other:"hace {0} minutos"}}},second:{displayName:"Segundo",relative:{0:"ahora"},relativeTime:{future:{one:"dentro de {0} segundo",other:"dentro de {0} segundos"},past:{one:"hace {0} segundo",other:"hace {0} segundos"}}}}},{locale:"es-EA",parentLocale:"es"},{locale:"es-EC",parentLocale:"es-419"},{locale:"es-GQ",parentLocale:"es"},{locale:"es-GT",parentLocale:"es-419",fields:{year:{displayName:"año",relative:{0:"este año",1:"el próximo año","-1":"el año pasado"},relativeTime:{future:{one:"dentro de {0} año",other:"dentro de {0} años"},past:{one:"hace {0} año",other:"hace {0} años"}}},month:{displayName:"mes",relative:{0:"este mes",1:"el próximo mes","-1":"el mes pasado"},relativeTime:{future:{one:"dentro de {0} mes",other:"dentro de {0} meses"},past:{one:"hace {0} mes",other:"hace {0} meses"}}},day:{displayName:"día",relative:{0:"hoy",1:"mañana",2:"pasado mañana","-2":"antier","-1":"ayer"},relativeTime:{future:{one:"dentro de {0} día",other:"dentro de {0} días"},past:{one:"hace {0} día",other:"hace {0} días"}}},hour:{displayName:"hora",relative:{0:"esta hora"},relativeTime:{future:{one:"dentro de {0} hora",other:"dentro de {0} horas"},past:{one:"hace {0} hora",other:"hace {0} horas"}}},minute:{displayName:"minuto",relative:{0:"este minuto"},relativeTime:{future:{one:"dentro de {0} minuto",other:"dentro de {0} minutos"},past:{one:"hace {0} minuto",other:"hace {0} minutos"}}},second:{displayName:"segundo",relative:{0:"ahora"},relativeTime:{future:{one:"dentro de {0} segundo",other:"dentro de {0} segundos"},past:{one:"hace {0} segundo",other:"hace {0} segundos"}}}}},{locale:"es-HN",parentLocale:"es-419",fields:{year:{displayName:"año",relative:{0:"este año",1:"el próximo año","-1":"el año pasado"},relativeTime:{future:{one:"dentro de {0} año",other:"dentro de {0} años"},past:{one:"hace {0} año",other:"hace {0} años"}}},month:{displayName:"mes",relative:{0:"este mes",1:"el próximo mes","-1":"el mes pasado"},relativeTime:{future:{one:"dentro de {0} mes",other:"dentro de {0} meses"},past:{one:"hace {0} mes",other:"hace {0} meses"}}},day:{displayName:"día",relative:{0:"hoy",1:"mañana",2:"pasado mañana","-2":"antier","-1":"ayer"},relativeTime:{future:{one:"dentro de {0} día",other:"dentro de {0} días"},past:{one:"hace {0} día",other:"hace {0} días"}}},hour:{displayName:"hora",relative:{0:"esta hora"},relativeTime:{future:{one:"dentro de {0} hora",other:"dentro de {0} horas"},past:{one:"hace {0} hora",other:"hace {0} horas"}}},minute:{displayName:"minuto",relative:{0:"este minuto"},relativeTime:{future:{one:"dentro de {0} minuto",other:"dentro de {0} minutos"},past:{one:"hace {0} minuto",other:"hace {0} minutos"}}},second:{displayName:"segundo",relative:{0:"ahora"},relativeTime:{future:{one:"dentro de {0} segundo",other:"dentro de {0} segundos"},past:{one:"hace {0} segundo",other:"hace {0} segundos"}}}}},{locale:"es-IC",parentLocale:"es"},{locale:"es-MX",parentLocale:"es-419",fields:{year:{displayName:"año",relative:{0:"este año",1:"el año próximo","-1":"el año pasado"},relativeTime:{future:{one:"dentro de {0} año",other:"dentro de {0} años"},past:{one:"hace {0} año",other:"hace {0} años"}}},month:{displayName:"mes",relative:{0:"este mes",1:"el mes próximo","-1":"el mes pasado"},relativeTime:{future:{one:"en {0} mes",other:"en {0} meses"},past:{one:"hace {0} mes",other:"hace {0} meses"}}},day:{displayName:"día",relative:{0:"hoy",1:"mañana",2:"pasado mañana","-2":"antier","-1":"ayer"},relativeTime:{future:{one:"dentro de {0} día",other:"dentro de {0} días"},past:{one:"hace {0} día",other:"hace {0} días"}}},hour:{displayName:"hora",relative:{0:"esta hora"},relativeTime:{future:{one:"dentro de {0} hora",other:"dentro de {0} horas"},past:{one:"hace {0} hora",other:"hace {0} horas"}}},minute:{displayName:"minuto",relative:{0:"este minuto"},relativeTime:{future:{one:"dentro de {0} minuto",other:"dentro de {0} minutos"},past:{one:"hace {0} minuto",other:"hace {0} minutos"}}},second:{displayName:"segundo",relative:{0:"ahora"},relativeTime:{future:{one:"dentro de {0} segundo",other:"dentro de {0} segundos"},past:{one:"hace {0} segundo",other:"hace {0} segundos"}}}}},{locale:"es-NI",parentLocale:"es-419",fields:{year:{displayName:"año",relative:{0:"este año",1:"el próximo año","-1":"el año pasado"},relativeTime:{future:{one:"dentro de {0} año",other:"dentro de {0} años"},past:{one:"hace {0} año",other:"hace {0} años"}}},month:{displayName:"mes",relative:{0:"este mes",1:"el próximo mes","-1":"el mes pasado"},relativeTime:{future:{one:"dentro de {0} mes",other:"dentro de {0} meses"},past:{one:"hace {0} mes",other:"hace {0} meses"}}},day:{displayName:"día",relative:{0:"hoy",1:"mañana",2:"pasado mañana","-2":"antier","-1":"ayer"},relativeTime:{future:{one:"dentro de {0} día",other:"dentro de {0} días"},past:{one:"hace {0} día",other:"hace {0} días"}}},hour:{displayName:"hora",relative:{0:"esta hora"},relativeTime:{future:{one:"dentro de {0} hora",other:"dentro de {0} horas"},past:{one:"hace {0} hora",other:"hace {0} horas"}}},minute:{displayName:"minuto",relative:{0:"este minuto"},relativeTime:{future:{one:"dentro de {0} minuto",other:"dentro de {0} minutos"},past:{one:"hace {0} minuto",other:"hace {0} minutos"}}},second:{displayName:"segundo",relative:{0:"ahora"},relativeTime:{future:{one:"dentro de {0} segundo",other:"dentro de {0} segundos" +},past:{one:"hace {0} segundo",other:"hace {0} segundos"}}}}},{locale:"es-PA",parentLocale:"es-419",fields:{year:{displayName:"año",relative:{0:"este año",1:"el próximo año","-1":"el año pasado"},relativeTime:{future:{one:"dentro de {0} año",other:"dentro de {0} años"},past:{one:"hace {0} año",other:"hace {0} años"}}},month:{displayName:"mes",relative:{0:"este mes",1:"el próximo mes","-1":"el mes pasado"},relativeTime:{future:{one:"dentro de {0} mes",other:"dentro de {0} meses"},past:{one:"hace {0} mes",other:"hace {0} meses"}}},day:{displayName:"día",relative:{0:"hoy",1:"mañana",2:"pasado mañana","-2":"antier","-1":"ayer"},relativeTime:{future:{one:"dentro de {0} día",other:"dentro de {0} días"},past:{one:"hace {0} día",other:"hace {0} días"}}},hour:{displayName:"hora",relative:{0:"esta hora"},relativeTime:{future:{one:"dentro de {0} hora",other:"dentro de {0} horas"},past:{one:"hace {0} hora",other:"hace {0} horas"}}},minute:{displayName:"minuto",relative:{0:"este minuto"},relativeTime:{future:{one:"dentro de {0} minuto",other:"dentro de {0} minutos"},past:{one:"hace {0} minuto",other:"hace {0} minutos"}}},second:{displayName:"segundo",relative:{0:"ahora"},relativeTime:{future:{one:"dentro de {0} segundo",other:"dentro de {0} segundos"},past:{one:"hace {0} segundo",other:"hace {0} segundos"}}}}},{locale:"es-PE",parentLocale:"es-419"},{locale:"es-PH",parentLocale:"es"},{locale:"es-PR",parentLocale:"es-419"},{locale:"es-PY",parentLocale:"es-419",fields:{year:{displayName:"año",relative:{0:"este año",1:"el próximo año","-1":"el año pasado"},relativeTime:{future:{one:"dentro de {0} año",other:"dentro de {0} años"},past:{one:"hace {0} año",other:"hace {0} años"}}},month:{displayName:"mes",relative:{0:"este mes",1:"el próximo mes","-1":"el mes pasado"},relativeTime:{future:{one:"dentro de {0} mes",other:"dentro de {0} meses"},past:{one:"hace {0} mes",other:"hace {0} meses"}}},day:{displayName:"día",relative:{0:"hoy",1:"mañana",2:"pasado mañana","-2":"antes de ayer","-1":"ayer"},relativeTime:{future:{one:"dentro de {0} día",other:"dentro de {0} días"},past:{one:"hace {0} día",other:"hace {0} días"}}},hour:{displayName:"hora",relative:{0:"esta hora"},relativeTime:{future:{one:"dentro de {0} hora",other:"dentro de {0} horas"},past:{one:"hace {0} hora",other:"hace {0} horas"}}},minute:{displayName:"minuto",relative:{0:"este minuto"},relativeTime:{future:{one:"dentro de {0} minuto",other:"dentro de {0} minutos"},past:{one:"hace {0} minuto",other:"hace {0} minutos"}}},second:{displayName:"segundo",relative:{0:"ahora"},relativeTime:{future:{one:"dentro de {0} segundo",other:"dentro de {0} segundos"},past:{one:"hace {0} segundo",other:"hace {0} segundos"}}}}},{locale:"es-SV",parentLocale:"es-419",fields:{year:{displayName:"año",relative:{0:"este año",1:"el próximo año","-1":"el año pasado"},relativeTime:{future:{one:"dentro de {0} año",other:"dentro de {0} años"},past:{one:"hace {0} año",other:"hace {0} años"}}},month:{displayName:"mes",relative:{0:"este mes",1:"el próximo mes","-1":"el mes pasado"},relativeTime:{future:{one:"dentro de {0} mes",other:"dentro de {0} meses"},past:{one:"hace {0} mes",other:"hace {0} meses"}}},day:{displayName:"día",relative:{0:"hoy",1:"mañana",2:"pasado mañana","-2":"antier","-1":"ayer"},relativeTime:{future:{one:"dentro de {0} día",other:"dentro de {0} días"},past:{one:"hace {0} día",other:"hace {0} días"}}},hour:{displayName:"hora",relative:{0:"esta hora"},relativeTime:{future:{one:"dentro de {0} hora",other:"dentro de {0} horas"},past:{one:"hace {0} hora",other:"hace {0} horas"}}},minute:{displayName:"minuto",relative:{0:"este minuto"},relativeTime:{future:{one:"dentro de {0} minuto",other:"dentro de {0} minutos"},past:{one:"hace {0} minuto",other:"hace {0} minutos"}}},second:{displayName:"segundo",relative:{0:"ahora"},relativeTime:{future:{one:"dentro de {0} segundo",other:"dentro de {0} segundos"},past:{one:"hace {0} segundo",other:"hace {0} segundos"}}}}},{locale:"es-US",parentLocale:"es-419"},{locale:"es-UY",parentLocale:"es-419"},{locale:"es-VE",parentLocale:"es-419"}]})},324:function(e,t,a){!function(t,a){e.exports=a()}(this,function(){"use strict";return[{locale:"fr",pluralRuleFunction:function(e,t){return t?1==e?"one":"other":e>=0&&e<2?"one":"other"},fields:{year:{displayName:"année",relative:{0:"cette année",1:"l’année prochaine","-1":"l’année dernière"},relativeTime:{future:{one:"dans {0} an",other:"dans {0} ans"},past:{one:"il y a {0} an",other:"il y a {0} ans"}}},month:{displayName:"mois",relative:{0:"ce mois-ci",1:"le mois prochain","-1":"le mois dernier"},relativeTime:{future:{one:"dans {0} mois",other:"dans {0} mois"},past:{one:"il y a {0} mois",other:"il y a {0} mois"}}},day:{displayName:"jour",relative:{0:"aujourd’hui",1:"demain",2:"après-demain","-2":"avant-hier","-1":"hier"},relativeTime:{future:{one:"dans {0} jour",other:"dans {0} jours"},past:{one:"il y a {0} jour",other:"il y a {0} jours"}}},hour:{displayName:"heure",relative:{0:"cette heure-ci"},relativeTime:{future:{one:"dans {0} heure",other:"dans {0} heures"},past:{one:"il y a {0} heure",other:"il y a {0} heures"}}},minute:{displayName:"minute",relative:{0:"cette minute-ci"},relativeTime:{future:{one:"dans {0} minute",other:"dans {0} minutes"},past:{one:"il y a {0} minute",other:"il y a {0} minutes"}}},second:{displayName:"seconde",relative:{0:"maintenant"},relativeTime:{future:{one:"dans {0} seconde",other:"dans {0} secondes"},past:{one:"il y a {0} seconde",other:"il y a {0} secondes"}}}}},{locale:"fr-BE",parentLocale:"fr"},{locale:"fr-BF",parentLocale:"fr"},{locale:"fr-BI",parentLocale:"fr"},{locale:"fr-BJ",parentLocale:"fr"},{locale:"fr-BL",parentLocale:"fr"},{locale:"fr-CA",parentLocale:"fr",fields:{year:{displayName:"année",relative:{0:"cette année",1:"l’année prochaine","-1":"l’année dernière"},relativeTime:{future:{one:"Dans {0} an",other:"Dans {0} ans"},past:{one:"Il y a {0} an",other:"Il y a {0} ans"}}},month:{displayName:"mois",relative:{0:"ce mois-ci",1:"le mois prochain","-1":"le mois dernier"},relativeTime:{future:{one:"dans {0} mois",other:"dans {0} mois"},past:{one:"il y a {0} mois",other:"il y a {0} mois"}}},day:{displayName:"jour",relative:{0:"aujourd’hui",1:"demain",2:"après-demain","-2":"avant-hier","-1":"hier"},relativeTime:{future:{one:"dans {0} jour",other:"dans {0} jours"},past:{one:"il y a {0} jour",other:"il y a {0} jours"}}},hour:{displayName:"heure",relative:{0:"cette heure-ci"},relativeTime:{future:{one:"dans {0} heure",other:"dans {0} heures"},past:{one:"il y a {0} heure",other:"il y a {0} heures"}}},minute:{displayName:"minute",relative:{0:"cette minute-ci"},relativeTime:{future:{one:"dans {0} minute",other:"dans {0} minutes"},past:{one:"il y a {0} minute",other:"il y a {0} minutes"}}},second:{displayName:"seconde",relative:{0:"maintenant"},relativeTime:{future:{one:"dans {0} seconde",other:"dans {0} secondes"},past:{one:"il y a {0} seconde",other:"il y a {0} secondes"}}}}},{locale:"fr-CD",parentLocale:"fr"},{locale:"fr-CF",parentLocale:"fr"},{locale:"fr-CG",parentLocale:"fr"},{locale:"fr-CH",parentLocale:"fr"},{locale:"fr-CI",parentLocale:"fr"},{locale:"fr-CM",parentLocale:"fr"},{locale:"fr-DJ",parentLocale:"fr"},{locale:"fr-DZ",parentLocale:"fr"},{locale:"fr-GA",parentLocale:"fr"},{locale:"fr-GF",parentLocale:"fr"},{locale:"fr-GN",parentLocale:"fr"},{locale:"fr-GP",parentLocale:"fr"},{locale:"fr-GQ",parentLocale:"fr"},{locale:"fr-HT",parentLocale:"fr"},{locale:"fr-KM",parentLocale:"fr"},{locale:"fr-LU",parentLocale:"fr"},{locale:"fr-MA",parentLocale:"fr"},{locale:"fr-MC",parentLocale:"fr"},{locale:"fr-MF",parentLocale:"fr"},{locale:"fr-MG",parentLocale:"fr"},{locale:"fr-ML",parentLocale:"fr"},{locale:"fr-MQ",parentLocale:"fr"},{locale:"fr-MR",parentLocale:"fr"},{locale:"fr-MU",parentLocale:"fr"},{locale:"fr-NC",parentLocale:"fr"},{locale:"fr-NE",parentLocale:"fr"},{locale:"fr-PF",parentLocale:"fr"},{locale:"fr-PM",parentLocale:"fr"},{locale:"fr-RE",parentLocale:"fr"},{locale:"fr-RW",parentLocale:"fr"},{locale:"fr-SC",parentLocale:"fr"},{locale:"fr-SN",parentLocale:"fr"},{locale:"fr-SY",parentLocale:"fr"},{locale:"fr-TD",parentLocale:"fr"},{locale:"fr-TG",parentLocale:"fr"},{locale:"fr-TN",parentLocale:"fr"},{locale:"fr-VU",parentLocale:"fr"},{locale:"fr-WF",parentLocale:"fr"},{locale:"fr-YT",parentLocale:"fr"}]})},325:function(e,t,a){!function(t,a){e.exports=a()}(this,function(){"use strict";return[{locale:"hi",pluralRuleFunction:function(e,t){return t?1==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other"},fields:{year:{displayName:"वर्ष",relative:{0:"इस वर्ष",1:"अगला वर्ष","-1":"पिछला वर्ष"},relativeTime:{future:{one:"{0} वर्ष में",other:"{0} वर्ष में"},past:{one:"{0} वर्ष पहले",other:"{0} वर्ष पहले"}}},month:{displayName:"माह",relative:{0:"इस माह",1:"अगला माह","-1":"पिछला माह"},relativeTime:{future:{one:"{0} माह में",other:"{0} माह में"},past:{one:"{0} माह पहले",other:"{0} माह पहले"}}},day:{displayName:"दिन",relative:{0:"आज",1:"कल",2:"परसों","-2":"बीता परसों","-1":"कल"},relativeTime:{future:{one:"{0} दिन में",other:"{0} दिन में"},past:{one:"{0} दिन पहले",other:"{0} दिन पहले"}}},hour:{displayName:"घंटा",relative:{0:"यह घंटा"},relativeTime:{future:{one:"{0} घंटे में",other:"{0} घंटे में"},past:{one:"{0} घंटे पहले",other:"{0} घंटे पहले"}}},minute:{displayName:"मिनट",relative:{0:"यह मिनट"},relativeTime:{future:{one:"{0} मिनट में",other:"{0} मिनट में"},past:{one:"{0} मिनट पहले",other:"{0} मिनट पहले"}}},second:{displayName:"सेकंड",relative:{0:"अब"},relativeTime:{future:{one:"{0} सेकंड में",other:"{0} सेकंड में"},past:{one:"{0} सेकंड पहले",other:"{0} सेकंड पहले"}}}}}]})},326:function(e,t,a){!function(t,a){e.exports=a()}(this,function(){"use strict";return[{locale:"id",pluralRuleFunction:function(e,t){return"other"},fields:{year:{displayName:"Tahun",relative:{0:"tahun ini",1:"tahun depan","-1":"tahun lalu"},relativeTime:{future:{other:"Dalam {0} tahun"},past:{other:"{0} tahun yang lalu"}}},month:{displayName:"Bulan",relative:{0:"bulan ini",1:"Bulan berikutnya","-1":"bulan lalu"},relativeTime:{future:{other:"Dalam {0} bulan"},past:{other:"{0} bulan yang lalu"}}},day:{displayName:"Hari",relative:{0:"hari ini",1:"besok",2:"lusa","-2":"kemarin dulu","-1":"kemarin"},relativeTime:{future:{other:"Dalam {0} hari"},past:{other:"{0} hari yang lalu"}}},hour:{displayName:"Jam",relative:{0:"jam ini"},relativeTime:{future:{other:"Dalam {0} jam"},past:{other:"{0} jam yang lalu"}}},minute:{displayName:"Menit",relative:{0:"menit ini"},relativeTime:{future:{other:"Dalam {0} menit"},past:{other:"{0} menit yang lalu"}}},second:{displayName:"Detik",relative:{0:"sekarang"},relativeTime:{future:{other:"Dalam {0} detik"},past:{other:"{0} detik yang lalu"}}}}}]})},327:function(e,t,a){!function(t,a){e.exports=a()}(this,function(){"use strict";return[{locale:"ja",pluralRuleFunction:function(e,t){return"other"},fields:{year:{displayName:"年",relative:{0:"今年",1:"翌年","-1":"昨年"},relativeTime:{future:{other:"{0} 年後"},past:{other:"{0} 年前"}}},month:{displayName:"月",relative:{0:"今月",1:"翌月","-1":"先月"},relativeTime:{future:{other:"{0} か月後"},past:{other:"{0} か月前"}}},day:{displayName:"日",relative:{0:"今日",1:"明日",2:"明後日","-2":"一昨日","-1":"昨日"},relativeTime:{future:{other:"{0} 日後"},past:{other:"{0} 日前"}}},hour:{displayName:"時",relative:{0:"1 時間以内"},relativeTime:{future:{other:"{0} 時間後"},past:{other:"{0} 時間前"}}},minute:{displayName:"分",relative:{0:"1 分以内"},relativeTime:{future:{other:"{0} 分後"},past:{other:"{0} 分前"}}},second:{displayName:"秒",relative:{0:"今"},relativeTime:{future:{other:"{0} 秒後"},past:{other:"{0} 秒前"}}}}}]})},328:function(e,t,a){!function(t,a){e.exports=a()}(this,function(){"use strict";return[{locale:"km",pluralRuleFunction:function(e,t){return"other"},fields:{year:{displayName:"ឆ្នាំ",relative:{0:"ឆ្នាំ​នេះ",1:"ឆ្នាំ​ក្រោយ","-1":"ឆ្នាំ​មុន"},relativeTime:{future:{other:"{0} ឆ្នាំទៀត"},past:{other:"{0} ឆ្នាំ​មុន"}}},month:{displayName:"ខែ",relative:{0:"ខែ​នេះ",1:"ខែ​ក្រោយ","-1":"ខែ​មុន"},relativeTime:{future:{other:"{0} ខែទៀត"},past:{other:"{0} ខែមុន"}}},day:{displayName:"ថ្ងៃ",relative:{0:"ថ្ងៃ​នេះ",1:"ថ្ងៃ​ស្អែក",2:"​ខាន​ស្អែក","-2":"ម្សិល​ម៉្ងៃ","-1":"ម្សិលមិញ"},relativeTime:{future:{other:"{0} ថ្ងៃទៀត"},past:{other:"{0} ថ្ងៃ​មុន"}}},hour:{displayName:"ម៉ោង",relative:{0:"ម៉ោងនេះ"},relativeTime:{future:{other:"ក្នុង​រយៈ​ពេល {0} ម៉ោង"},past:{other:"{0} ម៉ោង​មុន"}}},minute:{displayName:"នាទី",relative:{0:"នាទីនេះ"},relativeTime:{future:{other:"{0} នាទីទៀត"},past:{other:"{0} នាទី​មុន"}}},second:{displayName:"វិនាទី",relative:{0:"ឥឡូវ"},relativeTime:{future:{other:"{0} វិនាទីទៀត"},past:{other:"{0} វិនាទី​មុន"}}}}}]})},329:function(e,t,a){!function(t,a){e.exports=a()}(this,function(){"use strict";return[{locale:"ko",pluralRuleFunction:function(e,t){return"other"},fields:{year:{displayName:"년",relative:{0:"올해",1:"내년","-1":"작년"},relativeTime:{future:{other:"{0}년 후"},past:{other:"{0}년 전"}}},month:{displayName:"월",relative:{0:"이번 달",1:"다음 달","-1":"지난달"},relativeTime:{future:{other:"{0}개월 후"},past:{other:"{0}개월 전"}}},day:{displayName:"일",relative:{0:"오늘",1:"내일",2:"모레","-2":"그저께","-1":"어제"},relativeTime:{future:{other:"{0}일 후"},past:{other:"{0}일 전"}}},hour:{displayName:"시",relative:{0:"현재 시간"},relativeTime:{future:{other:"{0}시간 후"},past:{other:"{0}시간 전"}}},minute:{displayName:"분",relative:{0:"현재 분"},relativeTime:{future:{other:"{0}분 후"},past:{other:"{0}분 전"}}},second:{displayName:"초",relative:{0:"지금"},relativeTime:{future:{other:"{0}초 후"},past:{other:"{0}초 전"}}}}},{locale:"ko-KP",parentLocale:"ko"}]})},330:function(e,t,a){!function(t,a){e.exports=a()}(this,function(){"use strict";return[{locale:"mk",pluralRuleFunction:function(e,t){var a=String(e).split("."),o=a[0],r=a[1]||"",n=!a[1],l=o.slice(-1),i=o.slice(-2),s=r.slice(-1);return t?1==l&&11!=i?"one":2==l&&12!=i?"two":7!=l&&8!=l||17==i||18==i?"other":"many":n&&1==l||1==s?"one":"other"},fields:{year:{displayName:"година",relative:{0:"оваа година",1:"следната година","-1":"минатата година"},relativeTime:{future:{one:"за {0} година",other:"за {0} години"},past:{one:"пред {0} година",other:"пред {0} години"}}},month:{displayName:"месец",relative:{0:"овој месец",1:"следниот месец","-1":"минатиот месец"},relativeTime:{future:{one:"за {0} месец",other:"за {0} месеци"},past:{one:"пред {0} месец",other:"пред {0} месеци"}}},day:{displayName:"ден",relative:{0:"денес",1:"утре",2:"задутре","-2":"завчера","-1":"вчера"},relativeTime:{future:{one:"за {0} ден",other:"за {0} дена"},past:{one:"пред {0} ден",other:"пред {0} дена"}}},hour:{displayName:"час",relative:{0:"часов"},relativeTime:{future:{one:"за {0} час",other:"за {0} часа"},past:{one:"пред {0} час",other:"пред {0} часа"}}},minute:{displayName:"минута",relative:{0:"оваа минута"},relativeTime:{future:{one:"за {0} минута",other:"за {0} минути"},past:{one:"пред {0} минута",other:"пред {0} минути"}}},second:{displayName:"секунда",relative:{0:"сега"},relativeTime:{future:{one:"за {0} секунда",other:"за {0} секунди"},past:{one:"пред {0} секунда",other:"пред {0} секунди"}}}}}]})},331:function(e,t,a){!function(t,a){e.exports=a()}(this,function(){"use strict";return[{locale:"mn",pluralRuleFunction:function(e,t){return t?"other":1==e?"one":"other"},fields:{year:{displayName:"жил",relative:{0:"энэ жил",1:"ирэх жил","-1":"өнгөрсөн жил"},relativeTime:{future:{one:"{0} жилийн дараа",other:"{0} жилийн дараа"},past:{one:"{0} жилийн өмнө",other:"{0} жилийн өмнө"}}},month:{displayName:"сар",relative:{0:"энэ сар",1:"ирэх сар","-1":"өнгөрсөн сар"},relativeTime:{future:{one:"{0} сарын дараа",other:"{0} сарын дараа"},past:{one:"{0} сарын өмнө",other:"{0} сарын өмнө"}}},day:{displayName:"өдөр",relative:{0:"өнөөдөр",1:"маргааш",2:"нөгөөдөр","-2":"уржигдар","-1":"өчигдөр"},relativeTime:{future:{one:"{0} өдрийн дараа",other:"{0} өдрийн дараа"},past:{one:"{0} өдрийн өмнө",other:"{0} өдрийн өмнө"}}},hour:{displayName:"цаг",relative:{0:"энэ цаг"},relativeTime:{future:{one:"{0} цагийн дараа",other:"{0} цагийн дараа"},past:{one:"{0} цагийн өмнө",other:"{0} цагийн өмнө"}}},minute:{displayName:"минут",relative:{0:"энэ минут"},relativeTime:{future:{one:"{0} минутын дараа",other:"{0} минутын дараа"},past:{one:"{0} минутын өмнө",other:"{0} минутын өмнө"}}},second:{displayName:"секунд",relative:{0:"одоо"},relativeTime:{future:{one:"{0} секундын дараа",other:"{0} секундын дараа"},past:{one:"{0} секундын өмнө",other:"{0} секундын өмнө"}}}}},{locale:"mn-Mong",pluralRuleFunction:function(e,t){return"other"},fields:{year:{displayName:"Year",relative:{0:"this year",1:"next year","-1":"last year"},relativeTime:{future:{other:"+{0} y"},past:{other:"-{0} y"}}},month:{displayName:"Month",relative:{0:"this month",1:"next month","-1":"last month"},relativeTime:{future:{other:"+{0} m"},past:{other:"-{0} m"}}},day:{displayName:"Day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{other:"+{0} d"},past:{other:"-{0} d"}}},hour:{displayName:"Hour",relative:{0:"this hour"},relativeTime:{future:{other:"+{0} h"},past:{other:"-{0} h"}}},minute:{displayName:"Minute",relative:{0:"this minute"},relativeTime:{future:{other:"+{0} min"},past:{other:"-{0} min"}}},second:{displayName:"Second",relative:{0:"now"},relativeTime:{future:{other:"+{0} s"},past:{other:"-{0} s"}}}}}]})},332:function(e,t,a){!function(t,a){e.exports=a()}(this,function(){"use strict";return[{locale:"pl",pluralRuleFunction:function(e,t){var a=String(e).split("."),o=a[0],r=!a[1],n=o.slice(-1),l=o.slice(-2);return t?"other":1==e&&r?"one":r&&n>=2&&n<=4&&(l<12||l>14)?"few":r&&1!=o&&(0==n||1==n)||r&&n>=5&&n<=9||r&&l>=12&&l<=14?"many":"other"},fields:{year:{displayName:"rok",relative:{0:"w tym roku",1:"w przyszłym roku","-1":"w zeszłym roku"},relativeTime:{future:{one:"za {0} rok",few:"za {0} lata",many:"za {0} lat",other:"za {0} roku"},past:{one:"{0} rok temu",few:"{0} lata temu",many:"{0} lat temu",other:"{0} roku temu"}}},month:{displayName:"miesiąc",relative:{0:"w tym miesiącu",1:"w przyszłym miesiącu","-1":"w zeszłym miesiącu"},relativeTime:{future:{one:"za {0} miesiąc",few:"za {0} miesiące",many:"za {0} miesięcy",other:"za {0} miesiąca"},past:{one:"{0} miesiąc temu",few:"{0} miesiące temu",many:"{0} miesięcy temu",other:"{0} miesiąca temu"}}},day:{displayName:"dzień",relative:{0:"dzisiaj",1:"jutro",2:"pojutrze","-2":"przedwczoraj","-1":"wczoraj"},relativeTime:{future:{one:"za {0} dzień",few:"za {0} dni",many:"za {0} dni",other:"za {0} dnia"},past:{one:"{0} dzień temu",few:"{0} dni temu",many:"{0} dni temu",other:"{0} dnia temu"}}},hour:{displayName:"godzina",relative:{0:"ta godzina"},relativeTime:{future:{one:"za {0} godzinę",few:"za {0} godziny",many:"za {0} godzin",other:"za {0} godziny"},past:{one:"{0} godzinę temu",few:"{0} godziny temu",many:"{0} godzin temu",other:"{0} godziny temu"}}},minute:{displayName:"minuta",relative:{0:"ta minuta"},relativeTime:{future:{one:"za {0} minutę",few:"za {0} minuty",many:"za {0} minut",other:"za {0} minuty"},past:{one:"{0} minutę temu",few:"{0} minuty temu",many:"{0} minut temu",other:"{0} minuty temu"}}},second:{displayName:"sekunda",relative:{0:"teraz"},relativeTime:{future:{one:"za {0} sekundę",few:"za {0} sekundy",many:"za {0} sekund",other:"za {0} sekundy"},past:{one:"{0} sekundę temu",few:"{0} sekundy temu",many:"{0} sekund temu",other:"{0} sekundy temu"}}}}}]})},333:function(e,t,a){!function(t,a){e.exports=a()}(this,function(){"use strict";return[{locale:"pt",pluralRuleFunction:function(e,t){var a=String(e).split(".")[0];return t?"other":0==a||1==a?"one":"other"},fields:{year:{displayName:"ano",relative:{0:"este ano",1:"próximo ano","-1":"ano passado"},relativeTime:{future:{one:"em {0} ano",other:"em {0} anos"},past:{one:"há {0} ano",other:"há {0} anos"}}},month:{displayName:"mês",relative:{0:"este mês",1:"próximo mês","-1":"mês passado"},relativeTime:{future:{one:"em {0} mês",other:"em {0} meses"},past:{one:"há {0} mês",other:"há {0} meses"}}},day:{displayName:"dia",relative:{0:"hoje",1:"amanhã",2:"depois de amanhã","-2":"anteontem","-1":"ontem"},relativeTime:{future:{one:"em {0} dia",other:"em {0} dias"},past:{one:"há {0} dia",other:"há {0} dias"}}},hour:{displayName:"hora",relative:{0:"esta hora"},relativeTime:{future:{one:"em {0} hora",other:"em {0} horas"},past:{one:"há {0} hora",other:"há {0} horas"}}},minute:{displayName:"minuto",relative:{0:"este minuto"},relativeTime:{future:{one:"em {0} minuto",other:"em {0} minutos"},past:{one:"há {0} minuto",other:"há {0} minutos"}}},second:{displayName:"segundo",relative:{0:"agora"},relativeTime:{future:{one:"em {0} segundo",other:"em {0} segundos"},past:{one:"há {0} segundo",other:"há {0} segundos"}}}}},{locale:"pt-AO",parentLocale:"pt-PT"},{locale:"pt-PT",parentLocale:"pt",fields:{year:{displayName:"ano",relative:{0:"este ano",1:"próximo ano","-1":"ano passado"},relativeTime:{future:{one:"dentro de {0} ano",other:"dentro de {0} anos"},past:{one:"há {0} ano",other:"há {0} anos"}}},month:{displayName:"mês",relative:{0:"este mês",1:"próximo mês","-1":"mês passado"},relativeTime:{future:{one:"dentro de {0} mês",other:"dentro de {0} meses"},past:{one:"há {0} mês",other:"há {0} meses"}}},day:{displayName:"dia",relative:{0:"hoje",1:"amanhã",2:"depois de amanhã","-2":"anteontem","-1":"ontem"},relativeTime:{future:{one:"dentro de {0} dia",other:"dentro de {0} dias"},past:{one:"há {0} dia",other:"há {0} dias"}}},hour:{displayName:"hora",relative:{0:"esta hora"},relativeTime:{future:{one:"dentro de {0} hora",other:"dentro de {0} horas"},past:{one:"há {0} hora",other:"há {0} horas"}}},minute:{displayName:"minuto",relative:{0:"este minuto"},relativeTime:{future:{one:"dentro de {0} minuto",other:"dentro de {0} minutos"},past:{one:"há {0} minuto",other:"há {0} minutos"}}},second:{displayName:"segundo",relative:{0:"agora"},relativeTime:{future:{one:"dentro de {0} segundo",other:"dentro de {0} segundos"},past:{one:"há {0} segundo",other:"há {0} segundos"}}}}},{locale:"pt-CH",parentLocale:"pt-PT"},{locale:"pt-CV",parentLocale:"pt-PT"},{locale:"pt-GQ",parentLocale:"pt-PT"},{locale:"pt-GW",parentLocale:"pt-PT"},{locale:"pt-LU",parentLocale:"pt-PT"},{locale:"pt-MO",parentLocale:"pt-PT"},{locale:"pt-MZ",parentLocale:"pt-PT"},{locale:"pt-ST",parentLocale:"pt-PT"},{locale:"pt-TL",parentLocale:"pt-PT"}]})},334:function(e,t,a){!function(t,a){e.exports=a()}(this,function(){"use strict";return[{locale:"ro",pluralRuleFunction:function(e,t){var a=String(e).split("."),o=!a[1],r=Number(a[0])==e&&a[0].slice(-2);return t?1==e?"one":"other":1==e&&o?"one":!o||0==e||1!=e&&r>=1&&r<=19?"few":"other"},fields:{year:{displayName:"an",relative:{0:"anul acesta",1:"anul viitor","-1":"anul trecut"},relativeTime:{future:{one:"peste {0} an",few:"peste {0} ani",other:"peste {0} de ani"},past:{one:"acum {0} an",few:"acum {0} ani",other:"acum {0} de ani"}}},month:{displayName:"lună",relative:{0:"luna aceasta",1:"luna viitoare","-1":"luna trecută"},relativeTime:{future:{one:"peste {0} lună",few:"peste {0} luni",other:"peste {0} de luni"},past:{one:"acum {0} lună",few:"acum {0} luni",other:"acum {0} de luni"}}},day:{displayName:"zi",relative:{0:"azi",1:"mâine",2:"poimâine","-2":"alaltăieri","-1":"ieri"},relativeTime:{future:{one:"peste {0} zi",few:"peste {0} zile",other:"peste {0} de zile"},past:{one:"acum {0} zi",few:"acum {0} zile",other:"acum {0} de zile"}}},hour:{displayName:"oră",relative:{0:"ora aceasta"},relativeTime:{future:{one:"peste {0} oră",few:"peste {0} ore",other:"peste {0} de ore"},past:{one:"acum {0} oră",few:"acum {0} ore",other:"acum {0} de ore"}}},minute:{displayName:"minut",relative:{0:"minutul acesta"},relativeTime:{future:{one:"peste {0} minut",few:"peste {0} minute",other:"peste {0} de minute"},past:{one:"acum {0} minut",few:"acum {0} minute",other:"acum {0} de minute"}}},second:{displayName:"secundă",relative:{0:"acum"},relativeTime:{future:{one:"peste {0} secundă",few:"peste {0} secunde",other:"peste {0} de secunde"},past:{one:"acum {0} secundă",few:"acum {0} secunde",other:"acum {0} de secunde"}}}}},{locale:"ro-MD",parentLocale:"ro"}]})},335:function(e,t,a){!function(t,a){e.exports=a()}(this,function(){"use strict";return[{locale:"ru",pluralRuleFunction:function(e,t){var a=String(e).split("."),o=a[0],r=!a[1],n=o.slice(-1),l=o.slice(-2);return t?"other":r&&1==n&&11!=l?"one":r&&n>=2&&n<=4&&(l<12||l>14)?"few":r&&0==n||r&&n>=5&&n<=9||r&&l>=11&&l<=14?"many":"other"},fields:{year:{displayName:"год",relative:{0:"в этом году",1:"в следующем году","-1":"в прошлом году"},relativeTime:{future:{one:"через {0} год",few:"через {0} года",many:"через {0} лет",other:"через {0} года"},past:{one:"{0} год назад",few:"{0} года назад",many:"{0} лет назад",other:"{0} года назад"}}},month:{displayName:"месяц",relative:{0:"в этом месяце",1:"в следующем месяце","-1":"в прошлом месяце"},relativeTime:{future:{one:"через {0} месяц",few:"через {0} месяца",many:"через {0} месяцев",other:"через {0} месяца"},past:{one:"{0} месяц назад",few:"{0} месяца назад",many:"{0} месяцев назад",other:"{0} месяца назад"}}},day:{displayName:"день",relative:{0:"сегодня",1:"завтра",2:"послезавтра","-2":"позавчера","-1":"вчера"},relativeTime:{future:{one:"через {0} день",few:"через {0} дня",many:"через {0} дней",other:"через {0} дня"},past:{one:"{0} день назад",few:"{0} дня назад",many:"{0} дней назад",other:"{0} дня назад"}}},hour:{displayName:"час",relative:{0:"в этом часе"},relativeTime:{future:{one:"через {0} час",few:"через {0} часа",many:"через {0} часов",other:"через {0} часа"},past:{one:"{0} час назад",few:"{0} часа назад",many:"{0} часов назад",other:"{0} часа назад"}}},minute:{displayName:"минута",relative:{0:"в эту минуту"},relativeTime:{future:{one:"через {0} минуту",few:"через {0} минуты",many:"через {0} минут",other:"через {0} минуты"},past:{one:"{0} минуту назад",few:"{0} минуты назад",many:"{0} минут назад",other:"{0} минуты назад"}}},second:{displayName:"секунда",relative:{0:"сейчас"},relativeTime:{future:{one:"через {0} секунду",few:"через {0} секунды",many:"через {0} секунд",other:"через {0} секунды"},past:{one:"{0} секунду назад",few:"{0} секунды назад",many:"{0} секунд назад",other:"{0} секунды назад"}}}}},{locale:"ru-BY",parentLocale:"ru"},{locale:"ru-KG",parentLocale:"ru"},{locale:"ru-KZ",parentLocale:"ru"},{locale:"ru-MD",parentLocale:"ru"},{locale:"ru-UA",parentLocale:"ru"}]})},336:function(e,t,a){!function(t,a){e.exports=a()}(this,function(){"use strict";return[{locale:"sq",pluralRuleFunction:function(e,t){var a=String(e).split("."),o=Number(a[0])==e,r=o&&a[0].slice(-1),n=o&&a[0].slice(-2);return t?1==e?"one":4==r&&14!=n?"many":"other":1==e?"one":"other"},fields:{year:{displayName:"vit",relative:{0:"këtë vit",1:"vitin e ardhshëm","-1":"vitin e kaluar"},relativeTime:{future:{one:"pas {0} viti",other:"pas {0} vjetësh"},past:{one:"{0} vit më parë",other:"{0} vjet më parë"}}},month:{displayName:"muaj",relative:{0:"këtë muaj",1:"muajin e ardhshëm","-1":"muajin e kaluar"},relativeTime:{future:{one:"pas {0} muaji",other:"pas {0} muajsh"},past:{one:"{0} muaj më parë",other:"{0} muaj më parë"}}},day:{displayName:"ditë",relative:{0:"sot",1:"nesër","-1":"dje"},relativeTime:{future:{one:"pas {0} dite",other:"pas {0} ditësh"},past:{one:"{0} ditë më parë",other:"{0} ditë më parë"}}},hour:{displayName:"orë",relative:{0:"këtë orë"},relativeTime:{future:{one:"pas {0} ore",other:"pas {0} orësh"},past:{one:"{0} orë më parë",other:"{0} orë më parë"}}},minute:{displayName:"minutë",relative:{0:"këtë minutë"},relativeTime:{future:{one:"pas {0} minute",other:"pas {0} minutash"},past:{one:"{0} minutë më parë",other:"{0} minuta më parë"}}},second:{displayName:"sekondë",relative:{0:"tani"},relativeTime:{future:{one:"pas {0} sekonde",other:"pas {0} sekondash"},past:{one:"{0} sekondë më parë",other:"{0} sekonda më parë"}}}}},{locale:"sq-MK",parentLocale:"sq"},{locale:"sq-XK",parentLocale:"sq"}]})},337:function(e,t,a){!function(t,a){e.exports=a()}(this,function(){"use strict";return[{locale:"th",pluralRuleFunction:function(e,t){return"other"},fields:{year:{displayName:"ปี",relative:{0:"ปีนี้",1:"ปีหน้า","-1":"ปีที่แล้ว"},relativeTime:{future:{other:"ในอีก {0} ปี"},past:{other:"{0} ปีที่แล้ว"}}},month:{displayName:"เดือน",relative:{0:"เดือนนี้",1:"เดือนหน้า","-1":"เดือนที่แล้ว"},relativeTime:{future:{other:"ในอีก {0} เดือน"},past:{other:"{0} เดือนที่ผ่านมา"}}},day:{displayName:"วัน",relative:{0:"วันนี้",1:"พรุ่งนี้",2:"มะรืนนี้","-2":"เมื่อวานซืน","-1":"เมื่อวาน"},relativeTime:{future:{other:"ในอีก {0} วัน"},past:{other:"{0} วันที่ผ่านมา"}}},hour:{displayName:"ชั่วโมง",relative:{0:"ชั่วโมงนี้"},relativeTime:{future:{other:"ในอีก {0} ชั่วโมง"},past:{other:"{0} ชั่วโมงที่ผ่านมา"}}},minute:{displayName:"นาที",relative:{0:"นาทีนี้"},relativeTime:{future:{other:"ในอีก {0} นาที"},past:{other:"{0} นาทีที่ผ่านมา"}}},second:{displayName:"วินาที",relative:{0:"ขณะนี้"},relativeTime:{future:{other:"ในอีก {0} วินาที"},past:{other:"{0} วินาทีที่ผ่านมา"}}}}}]})},338:function(e,t,a){!function(t,a){e.exports=a()}(this,function(){"use strict";return[{locale:"tr",pluralRuleFunction:function(e,t){return t?"other":1==e?"one":"other"},fields:{year:{displayName:"yıl",relative:{0:"bu yıl",1:"gelecek yıl","-1":"geçen yıl"},relativeTime:{future:{one:"{0} yıl sonra",other:"{0} yıl sonra"},past:{one:"{0} yıl önce",other:"{0} yıl önce"}}},month:{displayName:"ay",relative:{0:"bu ay",1:"gelecek ay","-1":"geçen ay"},relativeTime:{future:{one:"{0} ay sonra",other:"{0} ay sonra"},past:{one:"{0} ay önce",other:"{0} ay önce"}}},day:{displayName:"gün",relative:{0:"bugün",1:"yarın",2:"öbür gün","-2":"evvelsi gün","-1":"dün"},relativeTime:{future:{one:"{0} gün sonra",other:"{0} gün sonra"},past:{one:"{0} gün önce",other:"{0} gün önce"}}},hour:{displayName:"saat",relative:{0:"bu saat"},relativeTime:{future:{one:"{0} saat sonra",other:"{0} saat sonra"},past:{one:"{0} saat önce",other:"{0} saat önce"}}},minute:{displayName:"dakika",relative:{0:"bu dakika"},relativeTime:{future:{one:"{0} dakika sonra",other:"{0} dakika sonra"},past:{one:"{0} dakika önce",other:"{0} dakika önce"}}},second:{displayName:"saniye",relative:{0:"şimdi"},relativeTime:{future:{one:"{0} saniye sonra",other:"{0} saniye sonra"},past:{one:"{0} saniye önce",other:"{0} saniye önce"}}}}},{locale:"tr-CY",parentLocale:"tr"}]})},339:function(e,t,a){!function(t,a){e.exports=a()}(this,function(){"use strict";return[{locale:"uk",pluralRuleFunction:function(e,t){var a=String(e).split("."),o=a[0],r=!a[1],n=Number(a[0])==e,l=n&&a[0].slice(-1),i=n&&a[0].slice(-2),s=o.slice(-1),u=o.slice(-2);return t?3==l&&13!=i?"few":"other":r&&1==s&&11!=u?"one":r&&s>=2&&s<=4&&(u<12||u>14)?"few":r&&0==s||r&&s>=5&&s<=9||r&&u>=11&&u<=14?"many":"other"},fields:{year:{displayName:"рік",relative:{0:"цього року",1:"наступного року","-1":"торік"},relativeTime:{future:{one:"через {0} рік",few:"через {0} роки",many:"через {0} років",other:"через {0} року"},past:{one:"{0} рік тому",few:"{0} роки тому",many:"{0} років тому",other:"{0} року тому"}}},month:{displayName:"місяць",relative:{0:"цього місяця",1:"наступного місяця","-1":"минулого місяця"},relativeTime:{future:{one:"через {0} місяць",few:"через {0} місяці",many:"через {0} місяців",other:"через {0} місяця"},past:{one:"{0} місяць тому",few:"{0} місяці тому",many:"{0} місяців тому",other:"{0} місяця тому"}}},day:{displayName:"день",relative:{0:"сьогодні",1:"завтра",2:"післязавтра","-2":"позавчора","-1":"учора"},relativeTime:{future:{one:"через {0} день",few:"через {0} дні",many:"через {0} днів",other:"через {0} дня"},past:{one:"{0} день тому",few:"{0} дні тому",many:"{0} днів тому",other:"{0} дня тому"}}},hour:{displayName:"година",relative:{0:"цієї години"},relativeTime:{future:{one:"через {0} годину",few:"через {0} години",many:"через {0} годин",other:"через {0} години"},past:{one:"{0} годину тому",few:"{0} години тому",many:"{0} годин тому",other:"{0} години тому"}}},minute:{displayName:"хвилина",relative:{0:"цієї хвилини"},relativeTime:{future:{one:"через {0} хвилину",few:"через {0} хвилини",many:"через {0} хвилин",other:"через {0} хвилини"},past:{one:"{0} хвилину тому",few:"{0} хвилини тому",many:"{0} хвилин тому",other:"{0} хвилини тому"}}},second:{displayName:"секунда",relative:{ +0:"зараз"},relativeTime:{future:{one:"через {0} секунду",few:"через {0} секунди",many:"через {0} секунд",other:"через {0} секунди"},past:{one:"{0} секунду тому",few:"{0} секунди тому",many:"{0} секунд тому",other:"{0} секунди тому"}}}}}]})},340:function(e,t,a){!function(t,a){e.exports=a()}(this,function(){"use strict";return[{locale:"vi",pluralRuleFunction:function(e,t){return t&&1==e?"one":"other"},fields:{year:{displayName:"Năm",relative:{0:"năm nay",1:"năm sau","-1":"năm ngoái"},relativeTime:{future:{other:"sau {0} năm nữa"},past:{other:"{0} năm trước"}}},month:{displayName:"Tháng",relative:{0:"tháng này",1:"tháng sau","-1":"tháng trước"},relativeTime:{future:{other:"sau {0} tháng nữa"},past:{other:"{0} tháng trước"}}},day:{displayName:"Ngày",relative:{0:"Hôm nay",1:"Ngày mai",2:"Ngày kia","-2":"Hôm kia","-1":"Hôm qua"},relativeTime:{future:{other:"sau {0} ngày nữa"},past:{other:"{0} ngày trước"}}},hour:{displayName:"Giờ",relative:{0:"giờ này"},relativeTime:{future:{other:"sau {0} giờ nữa"},past:{other:"{0} giờ trước"}}},minute:{displayName:"Phút",relative:{0:"phút này"},relativeTime:{future:{other:"sau {0} phút nữa"},past:{other:"{0} phút trước"}}},second:{displayName:"Giây",relative:{0:"bây giờ"},relativeTime:{future:{other:"sau {0} giây nữa"},past:{other:"{0} giây trước"}}}}}]})},341:function(e,t,a){!function(t,a){e.exports=a()}(this,function(){"use strict";return[{locale:"zh",pluralRuleFunction:function(e,t){return"other"},fields:{year:{displayName:"年",relative:{0:"今年",1:"明年","-1":"去年"},relativeTime:{future:{other:"{0}年后"},past:{other:"{0}年前"}}},month:{displayName:"月",relative:{0:"本月",1:"下个月","-1":"上个月"},relativeTime:{future:{other:"{0}个月后"},past:{other:"{0}个月前"}}},day:{displayName:"日",relative:{0:"今天",1:"明天",2:"后天","-2":"前天","-1":"昨天"},relativeTime:{future:{other:"{0}天后"},past:{other:"{0}天前"}}},hour:{displayName:"小时",relative:{0:"这一时间 / 此时"},relativeTime:{future:{other:"{0}小时后"},past:{other:"{0}小时前"}}},minute:{displayName:"分钟",relative:{0:"此刻"},relativeTime:{future:{other:"{0}分钟后"},past:{other:"{0}分钟前"}}},second:{displayName:"秒",relative:{0:"现在"},relativeTime:{future:{other:"{0}秒钟后"},past:{other:"{0}秒钟前"}}}}},{locale:"zh-Hans",parentLocale:"zh"},{locale:"zh-Hans-HK",parentLocale:"zh-Hans",fields:{year:{displayName:"年",relative:{0:"今年",1:"明年","-1":"去年"},relativeTime:{future:{other:"{0}年后"},past:{other:"{0}年前"}}},month:{displayName:"月",relative:{0:"本月",1:"下个月","-1":"上个月"},relativeTime:{future:{other:"{0}个月后"},past:{other:"{0}个月前"}}},day:{displayName:"日",relative:{0:"今天",1:"明天",2:"后天","-2":"前天","-1":"昨天"},relativeTime:{future:{other:"{0}天后"},past:{other:"{0}天前"}}},hour:{displayName:"小时",relative:{0:"这一时间 / 此时"},relativeTime:{future:{other:"{0}小时后"},past:{other:"{0}小时前"}}},minute:{displayName:"分钟",relative:{0:"此刻"},relativeTime:{future:{other:"{0}分钟后"},past:{other:"{0}分钟前"}}},second:{displayName:"秒",relative:{0:"现在"},relativeTime:{future:{other:"{0}秒后"},past:{other:"{0}秒前"}}}}},{locale:"zh-Hans-MO",parentLocale:"zh-Hans",fields:{year:{displayName:"年",relative:{0:"今年",1:"明年","-1":"去年"},relativeTime:{future:{other:"{0}年后"},past:{other:"{0}年前"}}},month:{displayName:"月",relative:{0:"本月",1:"下个月","-1":"上个月"},relativeTime:{future:{other:"{0}个月后"},past:{other:"{0}个月前"}}},day:{displayName:"日",relative:{0:"今天",1:"明天",2:"后天","-2":"前天","-1":"昨天"},relativeTime:{future:{other:"{0}天后"},past:{other:"{0}天前"}}},hour:{displayName:"小时",relative:{0:"这一时间 / 此时"},relativeTime:{future:{other:"{0}小时后"},past:{other:"{0}小时前"}}},minute:{displayName:"分钟",relative:{0:"此刻"},relativeTime:{future:{other:"{0}分钟后"},past:{other:"{0}分钟前"}}},second:{displayName:"秒",relative:{0:"现在"},relativeTime:{future:{other:"{0}秒后"},past:{other:"{0}秒前"}}}}},{locale:"zh-Hans-SG",parentLocale:"zh-Hans",fields:{year:{displayName:"年",relative:{0:"今年",1:"明年","-1":"去年"},relativeTime:{future:{other:"{0}年后"},past:{other:"{0}年前"}}},month:{displayName:"月",relative:{0:"本月",1:"下个月","-1":"上个月"},relativeTime:{future:{other:"{0}个月后"},past:{other:"{0}个月前"}}},day:{displayName:"日",relative:{0:"今天",1:"明天",2:"后天","-2":"前天","-1":"昨天"},relativeTime:{future:{other:"{0}天后"},past:{other:"{0}天前"}}},hour:{displayName:"小时",relative:{0:"这一时间 / 此时"},relativeTime:{future:{other:"{0}小时后"},past:{other:"{0}小时前"}}},minute:{displayName:"分钟",relative:{0:"此刻"},relativeTime:{future:{other:"{0}分钟后"},past:{other:"{0}分钟前"}}},second:{displayName:"秒",relative:{0:"现在"},relativeTime:{future:{other:"{0}秒后"},past:{other:"{0}秒前"}}}}},{locale:"zh-Hant",pluralRuleFunction:function(e,t){return"other"},fields:{year:{displayName:"年",relative:{0:"今年",1:"明年","-1":"去年"},relativeTime:{future:{other:"{0} 年後"},past:{other:"{0} 年前"}}},month:{displayName:"月",relative:{0:"本月",1:"下個月","-1":"上個月"},relativeTime:{future:{other:"{0} 個月後"},past:{other:"{0} 個月前"}}},day:{displayName:"日",relative:{0:"今天",1:"明天",2:"後天","-2":"前天","-1":"昨天"},relativeTime:{future:{other:"{0} 天後"},past:{other:"{0} 天前"}}},hour:{displayName:"小時",relative:{0:"這一小時"},relativeTime:{future:{other:"{0} 小時後"},past:{other:"{0} 小時前"}}},minute:{displayName:"分鐘",relative:{0:"這一分鐘"},relativeTime:{future:{other:"{0} 分鐘後"},past:{other:"{0} 分鐘前"}}},second:{displayName:"秒",relative:{0:"現在"},relativeTime:{future:{other:"{0} 秒後"},past:{other:"{0} 秒前"}}}}},{locale:"zh-Hant-HK",parentLocale:"zh-Hant",fields:{year:{displayName:"年",relative:{0:"今年",1:"下年","-1":"上年"},relativeTime:{future:{other:"{0} 年後"},past:{other:"{0} 年前"}}},month:{displayName:"月",relative:{0:"本月",1:"下個月","-1":"上個月"},relativeTime:{future:{other:"{0} 個月後"},past:{other:"{0} 個月前"}}},day:{displayName:"日",relative:{0:"今日",1:"明日",2:"後日","-2":"前日","-1":"昨日"},relativeTime:{future:{other:"{0} 日後"},past:{other:"{0} 日前"}}},hour:{displayName:"小時",relative:{0:"這個小時"},relativeTime:{future:{other:"{0} 小時後"},past:{other:"{0} 小時前"}}},minute:{displayName:"分鐘",relative:{0:"這分鐘"},relativeTime:{future:{other:"{0} 分鐘後"},past:{other:"{0} 分鐘前"}}},second:{displayName:"秒",relative:{0:"現在"},relativeTime:{future:{other:"{0} 秒後"},past:{other:"{0} 秒前"}}}}},{locale:"zh-Hant-MO",parentLocale:"zh-Hant-HK"}]})},379:function(e,t,a){"use strict";function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t["default"]=e,t}function r(e){return e&&e.__esModule?e:{"default":e}}function n(e,t){var a=e.length?e:[e];return 0===H["default"].difference(a.map(function(e){return e.id}),t.map(function(e){return e.id})).length&&0===H["default"].difference(t.map(function(e){return e.id}),a.map(function(e){return e.id})).length&&t.length>0}function l(){this&&this.isMounted&&this.setState({value:"",opened:!1,highlightedItem:null})}function i(e,t){var a=e.option,o=a.label,r=a.matches,n=void 0===r?[]:r;return c(n,o,t)}function s(e){var t=e.getBoundingClientRect(),a=window.innerWidth||document.documentElement.clientWidth,o=window.innerHeight||document.documentElement.clientHeight,r=function(e,t){return document.elementFromPoint(e,t)};return!(t.right<0||t.bottom<0||t.left>a||t.top>o)&&(e.contains(r(t.left,t.top))||e.contains(r(t.right,t.top))||e.contains(r(t.right,t.bottom))||e.contains(r(t.left,t.bottom)))}function u(e){return H["default"].deburr(H["default"].toLower(e).replace(/[\(\).,’'"&\*+;:-]/g," ").replace(/’/g,"").replace(/\s+/g," ").trim())}function d(e,t,a){var o=e.length;if(0==o)return[];var r,n=0,l=[];for(a||(t=t.toLowerCase(),e=e.toLowerCase());(r=t.indexOf(e,n))>-1;)l.push(r),n=r+o;return l}function c(e,t,a){var o=H["default"].flatten(u(a).toLowerCase().split(" ").map(function(e){return d(e,t).map(function(t){return{from:t,till:t+e.length,fat:!0}})}));o=G["default"].values(G["default"].uniqBy(function(e){var t=e.from,a=e.to;return t+" - "+a},H["default"].sortBy(o,"from").filter(function(e){return!o.filter(function(t){return!(t.from===e.from&&t.till===e.till)}).some(function(t){return e.from>=t.from&&e.till<=t.till})})));var r=[];H["default"].reduce(o,function(e,t){return r.push({from:e.till,till:t.from,fat:!1}),t}),H["default"].head(o)&&0!==H["default"].head(o).from&&(r=[{from:0,till:H["default"].head(o).from,fat:!1}].concat(r)),H["default"].last(o)&&H["default"].last(o).till!==t.length&&(r=r.concat([{from:H["default"].last(o).till,till:t.length,fat:!1}]),o.push({dummyForExhaustingInterleave:!0,from:0,till:0,fat:!1})),r.length0?n:t}function m(e,t){return{allSearches:e.indicators.get("searchResults"),locale:(0,$.localeSelector)(e,t),results:(0,X.latestSearchResultsSelector)(e).map(function(e){return e.map(h)}),selected:(0,ee.getSelectionIds)((0,X.multiSelectionSelector)(e,t)),values:(0,X.multiSelectionMetaSelector)(e,t)}}function f(e){return(0,P.bindActionCreators)({changeSelection:V.changeSelection,search:K.search,updateUrlNameMappings:K.updateUrlNameMappings,clearCache:K.clearCache},e)}function h(e){return{id:e.value,option:e}}Object.defineProperty(t,"__esModule",{value:!0});var p,v,y,g,w,E=a(77),N=r(E),T=a(7),b=r(T),L=a(4),k=r(L),_=a(8),x=r(_),C=a(6),S=r(C),M=a(5),I=r(M),O=a(2),D=r(O),R=a(111),A=a(12),F=a(19),P=a(26),z=a(182),U=r(z),B=a(3),H=r(B),j=a(41),G=r(j),W=a(138),K=o(W),q=a(32),V=o(q),J=a(118),Y=a(9),Z=a(86),Q=r(Z),X=a(18),$=a(15),ee=a(100),te=a(99),ae=r(te),oe=a(118),re=(D["default"].createElement(A.FormattedMessage,{defaultMessage:"Search data e.g. GDP, population, Indonesia",id:"multiselect-placeholder"}),function(e,t){return void 0!==e.get(t)&&null!==e.get(t)&&(e.get(t)||[]).length>0||void 0!==e.get(t.trim())&&null!==e.get(t.trim())&&(e.get(t.trim())||[]).length>0}),ne=function(e,t){return"pending"===e.get(t)};t["default"]=(0,A.injectIntl)((p=(0,F.connect)(m,f),v=(0,Q["default"])(["onfocus","onclick","click"]),p(y=v((w=g=function(e){function t(){(0,k["default"])(this,t);var e=(0,S["default"])(this,(0,b["default"])(t).call(this));return e.onDefocus=e.onDefocus.bind(e),e.onInputChange=e.onInputChange.bind(e),e.state={value:""},e}return(0,I["default"])(t,e),(0,x["default"])(t,[{key:"componentWillMount",value:function(){var e=this;this.notify=H["default"].debounce(function(t){(0,oe.SearchboxQuery)(t);var a=(0,B.flatten)((0,B.values)(e.props.selected)).join("-"),o=H["default"].trim(t);o.length>0&&"zh"==e.props.intl.locale?e.props.search(o,a,e.props.locale):o.length>2&&e.props.search(o,a,e.props.locale)},300),this.setState({selected:this.props.values})}},{key:"componentWillUnmount",value:function(){this.notify.cancel&&this.notify.cancel()}},{key:"componentDidUpdate",value:function(){var e=this._highlightedElement;if(e&&!s(e)){var t=e.parentNode;t.scrollTop=e.offsetTop-t.offsetTop}}},{key:"componentWillReceiveProps",value:function(e){var t=this.state,a=t.selected,o=t.value;a!==e.values&&this.setState({selected:e.values}),this._input&&o!==this._input.value&&this.onInputChange(this._input.value)}},{key:"onDefocus",value:function(e){(0,R.findDOMNode)(this).contains(e.target)||this.setState({opened:!1})}},{key:"onInputChange",value:function(e){var t=this;this.setState({opened:0!==e.length,value:e},function(a){t.notify(e)})}},{key:"navigateIfStaticPage",value:function(e){var t=e.filter(function(e){return"staticPage"===e.category})[0];if(t&&((0,J.NavigationViaSearchbox)(location.origin+t.value.slice(2)),window.location=t.value.slice(2),setTimeout(function(){return window.location=t.value.slice(2)},1e3)),t)return!0}},{key:"onSelectionChange",value:function(e){0===e.length&&this.props.clearCache();var t=this.navigateIfStaticPage(e);t||(this.props.updateUrlNameMappings(e),this.props.changeSelection(e))}},{key:"compare",value:function(e,t){if(e.length>1||"undefined"==typeof e.option||"undefined"==typeof t.option||"undefined"==typeof e.option.category||"undefined"==typeof t.option.category)return 0;var a=Y.CATEGORIES_PRIORITY.indexOf(e.option.category),o=Y.CATEGORIES_PRIORITY.indexOf(t.option.category);return ao?1:0}},{key:"render",value:function(){var e=this,t=this.props,a=t.intl.formatMessage,o=t.results,r=this.state,n=r.highlightedItem,i=r.opened,s=r.selected,u=r.value,d=[],c=o.map(function(e){return 1===e.length?e[0]:e});c.sort(this.compare);var m=D["default"].createElement("div",{className:"status"},"No results, try to search for different terms or:"),f=D["default"].createElement("div",{className:"searching spinning"});i&&u.length>0&&!function(){var t=function(e){var t=e.id;return H["default"].find(s,{value:t})};c.forEach(function(a,o){a.length?e.addMultipleOptionsOption(d,a,o,c,t,n):e.addSingleOption(d,a,o,c,t,n)}),d=D["default"].createElement("div",null,ne(e.props.allSearches,u)?f:null,D["default"].createElement("ol",null,void 0===e.props.allSearches.get(u)||ne(e.props.allSearches,u)||re(e.props.allSearches,u)?"":m,d))}();var h=s.map(function(t){var a=(0,U["default"])((0,N["default"])({aggregate:t.isAggregate},t.category,!0));return D["default"].createElement("span",{className:a,key:t.value},t.fullname||t.shortname||t.name||t.label||t.value,D["default"].createElement("button",{onClick:function(){e.remove(t),e.props.onInputFocus(!1)}}))});return D["default"].createElement("div",{className:"search-bar multiSelector"},D["default"].createElement("div",{className:"selector-box",onClick:function(){e._input.focus(),e.props.onInputFocus(!0)}},D["default"].createElement("div",{className:"scroll-box"},h,D["default"].createElement("input",{autoCapitalize:"off",autoComplete:"off",autoCorrect:"off",id:"selector",onBlur:function(){setTimeout(function(){e.props.onInputFocus(!1),e.setState({opened:!1}),l()},1e3)},onChange:function(t){t.persist(),e.onInputChange(t.target.value),e.setState({opened:!0}),e.props.onInputFocus(!0)},onKeyDown:function(t){e.handleKeyDown(c,t),e.setState({opened:!0}),e.props.onInputFocus(!0)},placeholder:a({id:"multiselect-placeholder",defaultMessage:"Search data e.g. GDP, population, Indonesia"}),ref:function(t){return e._input=t},spellCheck:"false",tabIndex:0,type:"text",value:u,className:(0,U["default"])({focus:this.state.opened})}))),s.length>0&&D["default"].createElement("button",{className:"clear",onClick:function(){return e.onSelectionChange([])}}),D["default"].createElement("button",{className:(0,U["default"])({open:i}),onClick:function(){e.setState({opened:!i}),e.props.onInputFocus(!i)}}),D["default"].createElement("div",{className:"dropdownBox"},D["default"].createElement("div",{className:"control"},D["default"].createElement("button",{className:"close button secondary",onClick:function(){e.props.onInputFocus(!1),e.setState({opened:!i})}},"Close")),d,D["default"].createElement("p",null,D["default"].createElement(A.FormattedMessage,{defaultMessage:"Browse by",id:"multiselector.browseby"}),D["default"].createElement(ae["default"],{className:"country",to:{pathname:Y.LOCATION_PATH},dataCustomLink:"nl:body content",dataText:"country data"},D["default"].createElement(A.FormattedMessage,{defaultMessage:"Country",id:"multiselector.country"})),D["default"].createElement(A.FormattedMessage,{defaultMessage:"or",id:"multiselector.or"}),D["default"].createElement(ae["default"],{to:{pathname:Y.INDICATOR_PATH},dataCustomLink:"nl:body content",dataText:"indicator data"},D["default"].createElement(A.FormattedMessage,{defaultMessage:"Indicator",id:"multiselector.indicator"})))))}},{key:"addSingleOption",value:function(e,t,a,o,r,n){var l=this,s=t.id,u=t.option,d=u.category,c=u.isAggregate,m=!!n,f=m&&s===n.id,h=H["default"].find(o,function(e){return!r(e)}),p=h===t,v=f||!m&&p,y=(0,U["default"])((0,N["default"])({aggregate:c,"highlighted-selection":v,"select-item":!0},d,!0));e.push(D["default"].createElement("li",{className:y,key:a,onClick:function(){return l.select(t)},ref:v?function(e){return l._highlightedElement=e}:null,"data-customlink":"sr:searchResults","data-text":this.state.value},D["default"].createElement("div",null,i(t,this.state.value))))}},{key:"addMultipleOptionsOption",value:function(e,t,a,o,r){var n=this,l=arguments.length<=5||void 0===arguments[5]?[]:arguments[5];l=l&&l.length?l:[];var s=l.length>0,u=0===H["default"].difference(t.map(function(e){return e.id}),l.map(function(e){return e.id})).length&&s||!s&&0===a,d=(0,U["default"])({combined:!0,"highlighted-selection":u,"select-item":!0});e.push(D["default"].createElement("li",{className:d,key:a,onClick:function(){return n.select(t)},ref:u?function(e){return n._highlightedElement=e}:null},D["default"].createElement("ul",null,t.map(function(e,t){return D["default"].createElement("li",{className:(0,U["default"])((0,N["default"])({aggregate:e.option.isAggregate},e.option.category,!0)),key:t,"data-customlink":"sr:searchResults","data-text":n.state.value},D["default"].createElement("div",null,i(e,n.state.value)))}))))}},{key:"handleKeyDown",value:function(e,t){var a=this.state,o=a.highlightedItem,r=a.selected,n=a.value;switch(t.which){case 38:this.setState({opened:!0}),this.moveUp(e,o),t.preventDefault();break;case 40:this.setState({opened:!0}),this.moveDown(e,o),t.preventDefault();break;case 13:o?(this.select(o),this.setState({highlightedItem:null,value:""})):(this.setState({value:""}),this.select(H["default"].head(e)));break;case 8:this.setState({highlightedItem:null}),r.length>0&&0===n.length&&(this.remove(r[r.length-1]),t.preventDefault());break;case 37:break;case 39:break;default:var l=t.keyCode;9===l||91===l||16===l||37===l||18===l||39===l||20===l||17===t.which||t.altKey||t.metaKey||t.ctrlKey||this.props.clearCache(),this.setState({highlightedItem:null})}}},{key:"select",value:function(e){if(e){if(e.option&&"dataset"==e.option.category)return void window.open(e.option.url,"_blank");e.length?this.selectMultipleOptions(e):this.selectSingleOption(e),this.setState({value:"",opened:!1})}}},{key:"selectSingleOption",value:function(e){var t=this.state.selected,a=e.option,o=a.category,r=a.value;if(!(0,H["default"])(t).map("value").includes(r)){var n="indicator"===o||"topic"===o,l=n?H["default"].filter(t,{category:"location"}):t;this.onSelectionChange(l.concat(e.option))}}},{key:"selectMultipleOptions",value:function(e){var t=this.state.selected,a=e.map(function(e){return e.option.category});(H["default"].find(t,{category:"topic"})||H["default"].find(t,{category:"indicator"}))&&(H["default"].includes(a,"topic")||H["default"].includes(a,"indicator"))||!H["default"].find(t,{category:"topic"})&&!H["default"].find(t,{category:"indicator"})?this.onSelectionChange(t.filter(function(e){return"location"===e.category}).concat(e.map(function(e){return e.option}))):this.onSelectionChange(t.concat(e.map(function(e){return e.option})))}},{key:"remove",value:function(e){var t=this.state.selected.filter(function(t){var a=t.category,o=t.id;return!(e.category===a&&e.id===o)});this.setState({selected:t}),this.onSelectionChange(t)}},{key:"moveUp",value:function(e,t){if(t){var a=t.length?H["default"].findIndex(e,function(e){return n(e,t)}):H["default"].findIndex(e,{id:t.id});0===a?this.setState({highlightedItem:H["default"].last(e)}):this.setState({highlightedItem:H["default"].get(e,a-1)})}else this.setState({highlightedItem:H["default"].last(e)})}},{key:"moveDown",value:function(e,t){if(t){var a=t.length?H["default"].findIndex(e,function(e){return n(e,t)}):H["default"].findIndex(e,{id:t.id}),o=e.length-1;a===o?this.setState({highlightedItem:H["default"].head(e)}):this.setState({highlightedItem:H["default"].get(e,a+1)})}else this.setState({highlightedItem:H["default"].get(e,1,H["default"].head(e))})}}]),t}(O.Component),g.propTypes={changeSelection:O.PropTypes.func.isRequired,clearCache:O.PropTypes.func.isRequired,intl:O.PropTypes.object.isRequired,results:O.PropTypes.array.isRequired,updateUrlNameMappings:O.PropTypes.func.isRequired,values:O.PropTypes.array.isRequired},g.defaultProps={config:{height:500}},y=w))||y)||y)),e.exports=t["default"]},381:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.wbNormal={delimiters:{thousands:".",decimal:"."},abbreviations:{thousand:"k",million:"mm",billion:"b",trillion:"t"},ordinal:function(e){var t=e%10;return 1===t||3===t?"er":2===t?"do":7===t||0===t?"mo":8===t?"vo":9===t?"no":"to"},currency:{symbol:"$"}},t.wbFinance={delimiters:{thousands:".",decimal:"."},abbreviations:{thousand:"thousand",million:"million",billion:"billion",trillion:"trillion"},ordinal:function(e){var t=e%10;return 1===t||3===t?"er":2===t?"do":7===t||0===t?"mo":8===t?"vo":9===t?"no":"to"},currency:{symbol:"$"}}},386:function(e,t,a){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}var r=a(12),n=a(322),l=o(n),i=a(323),s=o(i),u=a(324),d=o(u),c=a(319),m=o(c),f=a(335),h=o(f),p=a(341),v=o(p),y=a(331),g=o(y),w=a(329),E=o(w),N=a(320),T=o(N),b=a(333),L=o(b),k=a(330),_=o(k),x=a(340),C=o(x),S=a(327),M=o(S),I=a(334),O=o(I),D=a(326),R=o(D),A=a(338),F=o(A),P=a(336),z=o(P),U=a(328),B=o(U),H=a(337),j=o(H),G=a(321),W=o(G),K=a(339),q=o(K),V=a(325),J=o(V),Y=a(332),Z=o(Y);(0,r.addLocaleData)(l["default"]),(0,r.addLocaleData)(s["default"]),(0,r.addLocaleData)(d["default"]),(0,r.addLocaleData)(m["default"]),(0,r.addLocaleData)(h["default"]),(0,r.addLocaleData)(v["default"]),(0,r.addLocaleData)(g["default"]),(0,r.addLocaleData)(E["default"]),(0,r.addLocaleData)(T["default"]),(0,r.addLocaleData)(L["default"]),(0,r.addLocaleData)(_["default"]),(0,r.addLocaleData)(C["default"]),(0,r.addLocaleData)(M["default"]),(0,r.addLocaleData)(O["default"]),(0,r.addLocaleData)(R["default"]),(0,r.addLocaleData)(F["default"]),(0,r.addLocaleData)(z["default"]),(0,r.addLocaleData)(B["default"]),(0,r.addLocaleData)(j["default"]),(0,r.addLocaleData)(W["default"]),(0,r.addLocaleData)(q["default"]),(0,r.addLocaleData)(J["default"]),(0,r.addLocaleData)(Z["default"])},556:function(e,t,a){"use strict";function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t["default"]=e,t}function r(e){return e&&e.__esModule?e:{"default":e}}function n(e){var t=["country","pays","pais"],a=["region"],o=["income-level","nivel-de-ingresos","niveau-de-revenu"];return(0,j.any)(function(t){return H["default"].includes(e,t)},t)?"country":(0,j.any)(function(t){return H["default"].includes(e,t)},a)?"region":(0,j.any)(function(t){return H["default"].includes(e,t)},o)?"income-level":"country"}function l(e,t,a,o,r,l,i){if(r&&o[G.DEFAULT_LOCALE]&&o[G.DEFAULT_LOCALE][r]){var s=n(a);if(s){var u=J.localizeStrings[s][t]||J.localizeStrings[s][G.DEFAULT_LOCALE],d=H["default"].get(o[t],r)||H["default"].get(o[G.DEFAULT_LOCALE],r)||r,c=(0,Y.formatURLName)(d);a="/"+u+"/"+c+i}}if(l&&o[G.DEFAULT_LOCALE]&&o[G.DEFAULT_LOCALE][l]){var m=J.localizeStrings.topic[t]||J.localizeStrings.topic[G.DEFAULT_LOCALE],f=H["default"].get(o[t],l)||H["default"].get(o[G.DEFAULT_LOCALE],l)||H["default"].get(o.en,l)||l,h=(0,Y.formatURLName)(f);a="/"+m+"/"+h+i}return H["default"].startsWith(e,"http")?e+a:"http://"+e+a}function i(e){var t=["indicator","indicateur","indicador","country","pays","pais","topic","tema","theme","income-level","nivel-de-ingresos","niveau-de-revenu","region","data-catalog"];return!(0,j.any)(function(t){return H["default"].startsWith(e,"/"+t)})(t)&&"/"!==e}function s(e){return H["default"].map(e,function(e,t){return(0,N["default"])({en:t},e)})}function u(e){var t={};return e.forEach(function(e){return H["default"].map(e,function(a){return t[a]=e})}),t}function d(e,t,a){var o=e[t]||e[t.substr(1)]||e[H["default"].trim(t,"/")]||e[c(t)]||e[c(t).substr(1)]||e[(0,Y.removeFromIndexOfMatch)(t,"#")]||e[(0,Y.removeFromIndexOfMatch)(t.substr(1),"#")]||e[(0,Y.removeFromIndexOfMatch)(c(t),"#")]||e[(0,Y.removeFromIndexOfMatch)(c(t).substr(1),"#")];return H["default"].get(o,a)||null}function c(e){return H["default"].endsWith(e,".html")?e:H["default"].endsWith(e,"/")?e+"index.html":e+"/index.html"}function m(e){var t=e.indexOf("locale=");if(t!==-1){var a=e.substr(0,t);return H["default"].endsWith(a,"?")?a.substr(0,a.length-1):a}return e}function f(e,t){var a=(0,Q.multiSelectionSelector)(e,t),o=1===a.length&&a[0].category===G.CATEGORY_LOCATION,r=o?a[0].value:void 0,n=(0,Q.selectedTopicIdSelector)(e,t),l=r||n,i={};return l&&!function(){var t=r?Z.locationMetaSelector:Z.topicMetaSelector,a=t(e)[l]||{},o=[G.DEFAULT_LOCALE].concat(G.LOCALES_WITH_TRANSLATED_URL_NAMES);o.forEach(function(e){i[e]=(0,w["default"])({},l,H["default"].get(a[e],"name")||a.name)})}(),{locale:(0,X.localeSelector)(e,t),localeIdNameObject:i,selection:a,onlyLocationId:r,onlyTopicId:n,selectedLocalLanguages:(0,Q.selectedLocalLanguagesSelector)(e,t)}}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var h,p,v,y,g=a(77),w=r(g),E=a(11),N=r(E),T=a(57),b=r(T),L=a(7),k=r(L),_=a(4),x=r(_),C=a(8),S=r(C),M=a(6),I=r(M),O=a(5),D=r(O),R=a(2),A=r(R),F=a(19),P=a(182),z=r(P),U=a(12),B=a(3),H=r(B),j=a(41),G=a(9),W=a(23),K=o(W),q=a(940),V=r(q),J=a(171),Y=a(170),Z=a(42),Q=a(18),X=a(15),$=(h=(0,F.connect)(f),h((y=v=function(e){function t(){return(0,x["default"])(this,t),(0,I["default"])(this,(0,k["default"])(t).apply(this,arguments))}return(0,D["default"])(t,e),(0,S["default"])(t,[{key:"render",value:function(){var e=this.props,t=e.locale,a=e.localeIdNameObject,o=e.location,r=o.pathname,n=o.search,c=e.onlyLocationId,f=e.onlyTopicId,h=e.selectedLocalLanguages,p=e.selection,v=void 0;if(v="production",i(r)&&!p.length>0){var y=function(){var e=u(s(V["default"])),a=(0,H["default"])(G.LOCALES_IDS).map(function(t){return[t,d(e,r,t)]}).filter(function(e){return e[1]}).fromPairs().value();return{v:(0,j.isEmpty)(a)?A["default"].createElement("span",null):A["default"].createElement("div",{className:"lang-switcher"},A["default"].createElement("span",null,A["default"].createElement(U.FormattedMessage,{defaultMessage:"This page in:",id:"localeswitcher.thispagein"})),A["default"].createElement("ul",{className:"lang"},H["default"].map(G.LOCALES_IDS,function(e,o){var r=G.ENV_LOCALE_LINKS_MAP[v][e];return a[e]?A["default"].createElement("li",{key:o},A["default"].createElement("a",{className:(0,z["default"])({current:e===t}),href:l(r,t,"/"+a[e]),"data-customlink":"nl: header","data-text":(H["default"].find(G.LOCALES,{code:e})||{}).language},(H["default"].find(G.LOCALES,{code:e})||{}).language)):A["default"].createElement("span",{key:o})})))}}();if("object"===("undefined"==typeof y?"undefined":(0,b["default"])(y)))return y.v}return A["default"].createElement("div",{className:"lang-switcher"},A["default"].createElement("span",null,A["default"].createElement(U.FormattedMessage,{defaultMessage:"This page in:",id:"localeswitcher.thispagein"})),A["default"].createElement("ul",{className:"lang"},H["default"].map(G.LOCALES_IDS,function(e,o){var i=G.ENV_LOCALE_LINKS_MAP[v][e],s=m(l(i,e,(0,J.localizePath)(r+n,e),a,c,f,n));return A["default"].createElement("li",{key:o},A["default"].createElement("a",{href:s,className:(0,z["default"])({current:e===t}),"data-customlink":"nl: header","data-text":(H["default"].find(G.LOCALES,{code:e})||{}).language},(H["default"].find(G.LOCALES,{code:e})||{}).language))}),1===p.length&&h.map(function(e){return A["default"].createElement("li",null,A["default"].createElement("a",{className:(0,z["default"])({current:e.code===t}),key:e.code,href:G.ENV_LOCALE_LINKS_MAP[v].en+"/country/"+p[0].value+"?locale="+e.code,"data-customlink":"nl: header","data-text":(H["default"].find(G.LOCAL_LOCALES,{code:e.code})||{}).language},(H["default"].find(G.LOCAL_LOCALES,{code:e.code})||{}).language))})))}}]),t}(R.Component),v.propTypes={locale:R.PropTypes.string.isRequired,localeIdNameObject:R.PropTypes.object.isRequired,location:K.historyLocation.isRequired},p=y))||p);t["default"]=$,e.exports=t["default"]},940:function(e,t){e.exports={about:{ar:"about",es:"quienes-somos",fr:"a-propos",zh:"about"},"about/contact":{ar:"about/contact",es:"quienes-somos/contacto",fr:"a-propos/contacts",zh:"about/contact"},"about/data-programs":{ar:"about/data-programs",es:"quienes-somos/programas-sobre-datos",fr:"a-propos/programmes-de-donnees",zh:"about/data-programs"},"about/get-started":{ar:"about/get-started",es:"quienes-somos/comenzar",fr:"a-propos/commencer",zh:"about/get-started"},products:{ar:"products",es:"productos",fr:"produits",zh:"products"},"products/data-books":{ar:"products/data-books",es:"productos/libros-de-datos",fr:"produits/recueils-de-donnees",zh:"products/data-books"},"products/mobile-apps":{ar:"products/mobile-apps",es:"productos/aplicaciones-para-moviles",fr:"produits/applications-pour-mobiles",zh:"products/mobile-apps"},"summary-terms-of-use":{ar:"summary-terms-of-use",es:"terminos-de-uso",fr:"conditions-utilisation",zh:"summary-terms-of-use"}}},994:function(e,t,a){!function(t,o){e.exports=o(a(2))}(this,function(e){return function(e){function t(o){if(a[o])return a[o].exports;var r=a[o]={exports:{},id:o,loaded:!1};return e[o].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var a={};return t.m=e,t.c=a,t.p="",t(0)}([function(e,t,a){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t0?C["default"].createElement("ul",{className:"col",key:t},C["default"].createElement("li",{className:"hasItem"},e.titleList.map(function(e,t){return C["default"].createElement("a",{href:(0,v["default"])(e)[0],key:t,onClick:function(){return l()},"data-customlink":"nl: header","data-text":(0,h["default"])(e)[0]},(0,h["default"])(e)[0])}),C["default"].createElement("ul",null,e.innerList.map(i)))):C["default"].createElement("ul",{className:"col",key:t},e.titleList.map(function(e,t){return C["default"].createElement("li",{key:t},C["default"].createElement("a",{href:(0,v["default"])(e)[0],onClick:function(){return l()},"data-customlink":"nl: header","data-text":(0,h["default"])(e)[0]},(0,h["default"])(e)[0]))}))}Object.defineProperty(t,"__esModule",{value:!0}),t.NavBar=void 0;var u,d,c,m,f=a(271),h=o(f),p=a(175),v=o(p),y=a(7),g=o(y),w=a(4),E=o(w),N=a(8),T=o(N),b=a(6),L=o(b),k=a(5),_=o(k);t.menuToJsx=n,t.listItemLink=i,t.colToJsx=s;var x=a(2),C=o(x),S=a(12),M=a(19),I=a(3),O=o(I),D=a(556),R=o(D),A=a(379),F=o(A),P=a(9),z=a(99),U=o(z),B=a(86),H=o(B),j=a(116),G=a(36),W=a(18),K=(C["default"].createElement(S.FormattedMessage,{defaultMessage:"/about/get-started",id:"navbar.startherepath"}),"menu"),q=t.NavBar=(u=(0,H["default"])(),(0,S.injectIntl)(d=u((m=c=function(e){function t(){(0,E["default"])(this,t);var e=(0,L["default"])(this,(0,g["default"])(t).call(this));return e.onDefocus=e.onDefocus.bind(e),e.state={focus:!1},e}return(0,_["default"])(t,e),(0,T["default"])(t,[{key:"onInputFocus",value:function(e){this.setState({focus:e})}},{key:"onDefocus",value:function(e){if(e.target.className!==K){var t=this.refs.menuContainer;t&&!t.contains(e.target)&&(0,j.changeAppNavMenuOpenState)(!1)}}},{key:"getOldSiteAlert",value:function(e){var t=e.beforeLink,a=e.link,o=e.linkText;return C["default"].createElement("span",{className:"alert right"},t," ",C["default"].createElement("a",{href:a},o))}},{key:"render",value:function(){var e=this.props,t=e.intl.formatMessage,a=e.location,o=e.megaMenu,r=e.selectedIndicator,l=e.selectedLocations,i=e.selectedTopic,s=(O["default"].startsWith(a.pathname,P.DATA_CATALOG_PATH),a.pathname===P.APP_PATH),u=C["default"].createElement(F["default"],{onInputFocus:this.onInputFocus.bind(this),id:"select-box",location:a,name:"locations-indicators"}),d=C["default"].createElement("span",{className:"tip"},C["default"].createElement("span",null,C["default"].createElement(S.FormattedMessage,{defaultMessage:"New to this site?",id:"navbar.newhere"})),C["default"].createElement("a",{href:t({id:"navbar.startherepath",defaultMessage:"/about/get-started"}),"data-customlink":"nl: header","data-text":"Start Here"},C["default"].createElement(S.FormattedMessage,{defaultMessage:"Start Here",id:"navbar.starthere"}))),c=s&&!(r||i||l.length),m=c?d:u,f=o.headerMenu||[];return C["default"].createElement("div",null,C["default"].createElement("nav",{id:"nav",className:this.state.focus?"focused":""},C["default"].createElement("div",{className:"wrapper"},C["default"].createElement("div",{className:"search"},m),C["default"].createElement("nav",{className:"links"},C["default"].createElement(U["default"],{className:"nav-item datapage",to:{pathname:"/"}}),f.map(function(e,t){return C["default"].createElement("a",{className:"nav-item","data-customlink":"nl: header","data-text":e.name,href:e.link,key:t,target:"Data Catalog"==e.name&&"_self"},e.name)}),C["default"].createElement("div",{className:"megamenu"},C["default"].createElement("button",{className:K,id:"navBarMenu",onClick:function(){return(0,j.changeAppNavMenuOpenState)()}},C["default"].createElement("span",null,"Menu")),C["default"].createElement("div",{className:"menuContainer",ref:"menuContainer"},C["default"].createElement("div",{className:"box"},C["default"].createElement(R["default"],{location:a}),C["default"].createElement("ul",{className:"featured"},C["default"].createElement("li",null,C["default"].createElement("a",{href:"http://microdata.worldbank.org/index.php/home",target:"new","data-customlink":"nl: header","data-text":"Microdata"},"Microdata")),C["default"].createElement("li",null,C["default"].createElement("a",{href:"http://datacatalog.worldbank.org",target:"_self","data-customlink":"nl: header","data-text":"Data Catalog"},"Data Catalog")),C["default"].createElement("li",null,C["default"].createElement("a",{href:"http://databank.worldbank.org/data/home.aspx",target:"new","data-customlink":"nl: header","data-text":"Data Bank"},C["default"].createElement(S.FormattedMessage,{defaultMessage:"DataBank",id:"databank"})))),C["default"].createElement("div",{className:"wrapper "},C["default"].createElement("div",{className:"dropdownBox"},C["default"].createElement(S.FormattedMessage,{defaultMessage:"Browse by",id:"multiselector.browseby"}),C["default"].createElement(U["default"],{className:"country",onClick:function(){return(0,j.changeAppNavMenuOpenState)(!1)},to:{pathname:"/country"},dataCustomLink:"nl: header",dataText:"Country"},C["default"].createElement(S.FormattedMessage,{defaultMessage:"Country",id:"multiselector.country"})),C["default"].createElement(U["default"],{onClick:function(){return(0,j.changeAppNavMenuOpenState)(!1)},to:{pathname:"/indicator"},dataCustomLink:"nl: header",dataText:"Indicator"},C["default"].createElement(S.FormattedMessage,{defaultMessage:"Indicator",id:"multiselector.indicator"}))),n(o)))))))))}}]),t}(x.Component),c.propTypes={intl:x.PropTypes.object.isRequired,location:x.PropTypes.object.isRequired,megaMenu:x.PropTypes.object.isRequired,selectedIndicator:x.PropTypes.string,selectedLocations:x.PropTypes.array},d=m))||d)||d);t["default"]=(0,M.connect)(r)(q)}}); \ No newline at end of file diff --git a/code/China _ Data_files/dest5.html b/code/China _ Data_files/dest5.html new file mode 100644 index 00000000..7b7cc233 --- /dev/null +++ b/code/China _ Data_files/dest5.html @@ -0,0 +1,17 @@ + + +Adobe AudienceManager \ No newline at end of file diff --git a/code/China _ Data_files/f(1).txt b/code/China _ Data_files/f(1).txt new file mode 100644 index 00000000..e8b8520c --- /dev/null +++ b/code/China _ Data_files/f(1).txt @@ -0,0 +1 @@ +(function(){var s = {};(function(){var c=/#|$/,f=function(d){var g=d.search(c),a;a:{for(a=0;0<=(a=d.indexOf("fmt",a))&&aa)return null;b=d.indexOf("&",a);if(0>b||b>g)b=g;a+=4;return decodeURIComponent(d.substr(a,b-a).replace(/\+/g," "))};var k=function(d,g,a){for(var b=a.length+1,n=function(){--b;if(0>=b){var a;(a=d.GooglebQhCsO)||(a={});var e=a[g];e&&(delete a[g],(a=e[0])&&a.call&&a())}},l=0;la?0:a};var ea=n("0.20"),fa=n("0.00"),ha=n("0.00"),ia=n("0.0");var p;a:{var q=k.navigator;if(q){var r=q.userAgent;if(r){p=r;break a}}p=""};var t=function(a){t[" "](a);return a};t[" "]=function(){};var u=function(a){var b=!1,d;return function(){b||(d=a(),b=!0);return d}};var w=function(){this.a="";this.c=v},v={},ja=function(a){var b=new w;b.a=a;return b};var ka=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i;var la=function(a,b){a.src=b instanceof w&&b.constructor===w&&b.c===v?b.a:"type_error:TrustedResourceUrl";if(null===m){a:{b=k.document;if((b=b.querySelector&&b.querySelector("script[nonce]"))&&(b=b.nonce||b.getAttribute("nonce"))&&da.test(b))break a;b=null}m=b||""}(b=m)&&a.setAttribute("nonce",b)};var ma=function(){if(!k.crypto)return Math.random();try{var a=new Uint32Array(1);k.crypto.getRandomValues(a);return a[0]/65536/65536}catch(b){return Math.random()}},x=function(a,b){if(a)for(var d in a)Object.prototype.hasOwnProperty.call(a,d)&&b.call(void 0,a[d],d,a)},na=u(function(){return-1!=p.indexOf("Google Web Preview")||1E-4>Math.random()}),oa=u(function(){return-1!=p.indexOf("MSIE")});var pa=/^true$/.test("false"),y=/^true$/.test("false"),qa=/^true$/.test("true");var z=null,sa=function(){var a=ra,b=[],d=0,c;for(c in a)b[d++]=a[c];this.c={};this.a={};a=b||[];b=0;for(d=a.length;b>=8);b[d++]=e}if(!J)for(J={},K={},a=0;65>a;a++)J[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(a),K[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a);a=K;d=[];for(c=0;c>2;f=(f&3)<<4|g>>4;g=(g&15)<<2|l>>6;l&=63;h||(l=64,e||(g=64));d.push(a[E], +a[f],a[g],a[l])}return d.join("")};var Qa=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,Ra=function(a){var b=a.match(Qa);a=b[5];var d=b[6];b=b[7];var c="";a&&(c+=a);d&&(c+="?"+d);b&&(c+="#"+b);return c},L=function(a,b,d,c){for(var e=d.length;0<=(b=a.indexOf(d,b))&&bc)return null;var e= +a.indexOf("&",c);if(0>e||e>d)e=d;c+=b.length+1;return decodeURIComponent(a.substr(c,e-c).replace(/\+/g," "))},Sa=/[?&]($|#)/,O=function(a,b,d){for(var c=a.search(M),e=0,f,g=[];0<=(f=L(a,e,b,c));)g.push(a.substring(e,f)),e=Math.min(a.indexOf("&",f)+1||c,c);g.push(a.substr(e));a=g.join("").replace(Sa,"$1");d=null!=d?"="+encodeURIComponent(String(d)):"";(b+=d)?(d=a.indexOf("#"),0>d&&(d=a.length),c=a.indexOf("?"),0>c||c>d?(c=d,e=""):e=a.substring(c+1,d),d=[a.substr(0,c),e,a.substr(d)],a=d[1],d[1]=b?a? +a+"&"+b:b:a,b=d[0]+(d[1]?"?"+d[1]:"")+d[2]):b=a;return b};var Ta=function(a,b,d,c){var e=N(d,"fmt");if(c){var f=N(d,"random"),g=N(d,"label")||"";if(!f)return!1;f=Pa(decodeURIComponent(g.replace(/\+/g," "))+":"+decodeURIComponent(f.replace(/\+/g," "))).replace(/[.]*$/,"");if(!Oa(a,f,c))return!1}e&&4!=e&&(d=O(d,"rfmt",e));e=O(d,"fmt",4);d=document.createElement("SCRIPT");e=ja(e);la(d,e);d.onload=function(){a.google_noFurtherRedirects&&c&&c.call&&(a.google_noFurtherRedirects=null,c())};b.getElementsByTagName("script")[0].parentElement.appendChild(d);return!0};var Ua={id:!0,origin:!0,destination:!0,start_date:!0,end_date:!0,location_id:!0},Va="google_conversion_id google_conversion_format google_conversion_type google_conversion_order_id google_conversion_language google_conversion_value google_conversion_evaluemrc google_conversion_currency google_conversion_domain google_conversion_label google_conversion_color google_disable_viewthrough google_enable_display_cookie_match google_gtag_event_data google_remarketing_only google_remarketing_for_search google_conversion_linker google_tag_for_child_directed_treatment google_tag_for_under_age_of_consent google_allow_ad_personalization_signals google_conversion_items google_conversion_merchant_id google_user_id google_custom_params google_conversion_date google_conversion_time google_conversion_js_version onload_callback opt_image_generator google_conversion_page_url google_conversion_referrer_url google_gtm google_gcl_cookie_prefix google_read_gcl_cookie_opt_out google_basket_feed_country google_basket_feed_language google_basket_discount google_basket_transaction_type google_disable_merchant_reported_conversions".split(" "), +P=function(a){return null!=a?encodeURIComponent(String(a)):""},Wa=function(a){if(null!=a){a=String(a).substring(0,512);var b=a.indexOf("#");return-1==b?a:a.substring(0,b)}return""},Q=function(a,b){b=P(b);return""!=b&&(a=P(a),""!=a)?"&".concat(a,"=",b):""},R=function(a){var b=typeof a;return null==a||"object"==b||"function"==b?null:String(a).replace(/,/g,"\\,").replace(/;/g,"\\;").replace(/=/g,"\\=")},Xa=function(a){if(!a||"object"!=typeof a||"function"==typeof a.join)return"";var b=[],d;for(d in a)if(Object.prototype.hasOwnProperty.call(a, +d)){var c=a[d];if(c&&"function"==typeof c.join){for(var e=[],f=0;f=h&&g()}}c.onload_callback=f;for(f=0;f=c){var d=Na(a,!1),e=d[b];e&&(delete d[b],(d=e[0])&&d.call&&d())}},f=function(a,b){var c=new Image;c.onload=a;c.src=b};if(2==d.length){var g=d[0],h=d[1];0<=L(g,0,"rmt_tld",g.search(M))&&0<=L(g,0,"ipr",g.search(M))&&!h.match(Qa)[6]&&(h+=Ra(g),d[1]=O(h,"rmt_tld","1"))}for(g=0;g1?c-1:0),e=1;e1?e-1:0),g=1;g1&&arguments[1]!==undefined?arguments[1]:{};if(!a)return m({type:"NO_EVENT_NAME"});var c=h[a];return!c?n([{type:"NONSTANDARD_EVENT",eventName:a}]):q(a,b,c)}function q(a,b,f){f=f.validationSchema;var h=[];for(var i in f)if(j.call(f,i)){var k=f[i],l=b[i];if(k){if(k.isRequired&&!j.call(b,i))return m({type:"REQUIRED_PARAM_MISSING",param:i,eventName:a});if(k.type&&typeof k.type==="string"){var o=!0;switch(k.type){case d:k=(typeof l==="string"||typeof l==="number")&&c.test(""+l);k&&Number(l)<0&&h.push({type:"NEGATIVE_EVENT_PARAM",param:i,eventName:a?a:"null"});o=k;break;case e:o=typeof l==="string"&&!!g[l.toUpperCase()];break}if(!o)return m({type:"INVALID_PARAM",param:i,eventName:a})}}}return n(h)}function r(a,c){a=p(a,c);a.error&&b(a.error);if(a.warnings)for(var c=0;c2&&arguments[2]!==undefined?arguments[2]:!1;if(typeof b!=="string"||!y(b))throw new Error('Invalid Argument: "'+b+'" is not a valid opt-in feature');y(b)&&(this.optIns.optIn(a,b,d),p([b].concat(j(w[b]||[])),function(a){x[a]&&p(x[a],function(a){return c.fbq.loadPlugin(a)})}));return this}},{key:"optOut",value:function(a,b){this.optIns.optOut(a,b);return this}},{key:"consent",value:function(a){a=="revoke"?this.locks.lockConsent():a=="grant"?this.locks.unlockConsent():u({type:"INVALID_CONSENT_ACTION",action:a});return this}},{key:"setUserProperties",value:function(a,b){this.ensurePixel(a);var c=this.getDefaultSendData(a,"UserProperties");c.customData=b;c.customParameters={es:"userProperties"};this.trackSingleSystem("user_properties",a,"UserProperties",b)}},{key:"trackSingle",value:function(b,c,d){a.validateEventAndLog(c,d);return this.trackSingleCustom(b,c,d)}},{key:"trackSingleCustom",value:function(a,b,c){a=typeof a==="string"?a:a.id;a=this.getDefaultSendData(a,b);a.customData=c;this.fire(a,!1);return this}},{key:"trackSingleSystem",value:function(a,b,c,d){b=typeof b==="string"?b:b.id;b=this.getDefaultSendData(b,c);b.customData=d;b.customParameters={es:a};this.fire(b,!1);return this}},{key:"_validateSend",value:function(b,c){if(!b.eventName||!b.eventName.length)throw new Error("Event name not specified");if(!b.pixelId||!b.pixelId.length)throw new Error("PixelId not specified");b.set&&p(r(q(b.set),function(b){return a.validateMetadata(b)}),function(a){if(a.error)throw new Error(a.error);a.warnings.length&&p(a.warnings,u)});if(c){c=a.validateEvent(b.eventName,b.customData||{});if(c.error)throw new Error(c.error);c.warnings&&c.warnings.length&&p(c.warnings,u)}return this}},{key:"fire",value:function(a){var b=arguments.length>1&&arguments[1]!==undefined?arguments[1]:!1;this._validateSend(a,b);if(a.userData&&q(a.userData).length>0&&!this.fbq.loadPlugin("identity")){g.fbq("fire",a);return this}var c=this.fbq.getEventCustomParameters(this.getPixel(a.pixelId)),d=a.customParameters;d&&p(q(d),function(a){if(c.containsKey(a))throw new Error("Custom parameter "+a+" already specified.");else c.append(a,d[a])});o.sendEvent(a.pixelId,a.eventName,a.customData,c);return this}},{key:"callMethod",value:function(a){var b=a[0];a=Array.prototype.slice.call(a,1);if(typeof b!=="string"){u({type:"FBQ_NO_METHOD_NAME"});return}if(typeof this[b]==="function")try{this[b].apply(this,a)}catch(a){t(a)}else u({type:"INVALID_FBQ_METHOD",method:b})}},{key:"getDefaultSendData",value:function(a,b){var c=this.getPixel(a);a={pixelId:a,eventName:b};c&&(c.userData&&(a.userData=c.userData),c.agent?a.set={agent:c.agent}:this.fbq.agent&&(a.set={agent:this.fbq.agent}));return a}},{key:"getOptedInPixels",value:function(a){var b=this;return this.optIns.listPixelIds(a).map(function(a){return b.pixelsByID[a]})}},{key:"ensurePixel",value:function(a){if(!Object.prototype.hasOwnProperty.call(this.pixelsByID,a))throw new Error('Pixel "'+a+'" not found')}},{key:"getPixel",value:function(a){this.ensurePixel(a);return this.pixelsByID[a]}},{key:"loadConfig",value:function(a){if(this.fbq.disableConfigLoading||Object.prototype.hasOwnProperty.call(this.configsLoaded,a))return;this.locks.lockConfig(a);(!this.fbq.pendingConfigs||s(this.fbq.pendingConfigs,function(b){return b===a})==!1)&&z(a,this.VERSION,this.RELEASE_SEGMENT!=null?this.RELEASE_SEGMENT:"stable")}},{key:"setExperiments",value:function(a){this._defaultExperiments=new m(a)}},{key:"getExperiments",value:function(){return this._defaultExperiments}},{key:"configLoaded",value:function(a){this.configsLoaded[a]=!0,this.locks.releaseConfig(a),this.fbq.trigger("configLoaded",a)}}]);return d}();e.exports=h})();return e.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsFireLock",function(){return function(g,h,j,d){var e={exports:{}};e.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsUtils"),b=a.each,c=a.keys;a=function(){function a(){k(this,a),this._locks={},this._callbacks=[]}i(a,[{key:"lock",value:function(a){this._locks[a]=!0}},{key:"release",value:function(a){Object.prototype.hasOwnProperty.call(this._locks,a)&&(delete this._locks[a],c(this._locks).length===0&&b(this._callbacks,function(b){return b(a)}))}},{key:"onUnlocked",value:function(a){this._callbacks.push(a)}},{key:"isLocked",value:function(){return c(this._locks).length>0}},{key:"lockPlugin",value:function(a){this.lock("plugin:"+a)}},{key:"releasePlugin",value:function(a){this.release("plugin:"+a)}},{key:"lockConfig",value:function(a){this.lock("config:"+a)}},{key:"releaseConfig",value:function(a){this.release("config:"+a)}},{key:"lockConsent",value:function(){this.lock("consent")}},{key:"unlockConsent",value:function(){this.release("consent")}}]);return a}();a.global=new a();e.exports=a})();return e.exports}(a,b,c,d)});f.ensureModuleRegistered("signalsFBEventsInjectMethod",function(){return function(g,h,i,j){var k={exports:{}};k.exports;(function(){"use strict";var a=f.getFbeventsModules("signalsFBEventsMakeSafe");function b(b,c,d){var e=b[c],f=a(d);b[c]=function(){var a=e.apply(this,arguments);f.apply(this,arguments);return a}}k.exports=b})();return k.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsJSLoader",function(){return function(f,g,h,i){var j={exports:{}};j.exports;(function(){"use strict";var a={CDN_BASE_URL:"https://connect.facebook.net/"};function b(){var b=g.getElementsByTagName("script");for(var c=0;c0}function p(a){return Object.prototype.hasOwnProperty.call(i,a)?i[a]:a}function q(a){return Object.prototype.hasOwnProperty.call(j,a)?j[a]:a}function r(a){if(typeof a==="string")return a;if(typeof a==="number")return isNaN(a)?undefined:a;try{return JSON.stringify(a)}catch(a){}return a.toString&&a.toString.call?a.toString():undefined}function s(a){var b={};if(a!=null&&(typeof a==="undefined"?"undefined":h(a))==="object")for(var c in a)if(Object.prototype.hasOwnProperty.call(a,c)){var d=r(a[c]);d!=null&&(b[q(c)]=d)}return b}var t=0;function u(){var b=t;t=0;a.logMobileNativeForwarding(b)}function v(a,b,d,e){c(n(a),function(c){return c.sendEvent(a.id,p(b),JSON.stringify(s(d)))}),t++,setTimeout(u,0)}e.exports={pixelHasActiveBridge:o,registerBridge:m,sendEvent:v}})();return e.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsOptIn",function(){return function(g,h,c,d){var e={exports:{}};e.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsUtils"),b=a.each,c=a.filter,d=a.keys,g=a.some;function h(a){b(d(a),function(b){if(g(a[b],function(b){return Object.prototype.hasOwnProperty.call(a,b)}))throw new Error("Circular subOpts are not allowed. "+b+" depends on another subOpt")})}a=function(){function a(){var b=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};k(this,a);this._opts={};this._subOpts=b;h(this._subOpts)}i(a,[{key:"_getOpts",value:function(a){return[].concat(j(Object.prototype.hasOwnProperty.call(this._subOpts,a)?this._subOpts[a]:[]),[a])}},{key:"_setOpt",value:function(a,b,c){b=this._opts[b]||(this._opts[b]={});b[a]=c}},{key:"optIn",value:function(a,c){var d=this,e=arguments.length>2&&arguments[2]!==undefined?arguments[2]:!1;b(this._getOpts(c),function(b){var f=e==!0&&d.isOptedOut(a,c);f||d._setOpt(a,b,!0)});return this}},{key:"optOut",value:function(a,c){var d=this;b(this._getOpts(c),function(b){return d._setOpt(a,b,!1)});return this}},{key:"isOptedIn",value:function(a,b){return this._opts[b]!=null&&this._opts[b][a]===!0}},{key:"isOptedOut",value:function(a,b){return this._opts[b]!=null&&this._opts[b][a]===!1}},{key:"listPixelIds",value:function(a){var b=this._opts[a];return b!=null?c(d(b),function(a){return b[a]===!0}):[]}}]);return a}();e.exports=a})();return e.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsProxyState",function(){return function(f,g,h,i){var j={exports:{}};j.exports;(function(){"use strict";var a=!1;j.exports={getShouldProxy:function(){return a},setShouldProxy:function(b){a=b}}})();return j.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsQE",function(){return function(f,h,j,d){var e={exports:{}};e.exports;(function(){"use strict";var a=function(){return Math.random()};function b(c){var b=a();for(var d=0;d1)throw new Error("passRate should be between 0 and 1 in "+e.name);if(b>=i&&b1&&arguments[1]!==undefined?arguments[1]:0,e=arguments.length>2&&arguments[2]!==undefined?arguments[2]:!1;if(!e&&!i)return;try{var f=new d(null);f.append("v",g.fbq&&g.fbq.version?g.fbq.version:"unknown");f.append("rs",h);f.append("e",event);f.append("p",b);c(f,"https://connect.facebook.net/log/fbevents_telemetry/")}catch(b){a.logError(b)}}function l(){j("COALESCE_INIT")}function m(a){j("COALESCE_COMPLETE",a)}function n(a){j("FBMQ_FORWARDED",a,!0)}k.exports={logStartBatch:l,logEndBatch:m,logMobileNativeForwarding:n}})();return k.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEventsUtils",function(){return function(g,j,c,d){var e={exports:{}};e.exports;(function(){"use strict";var a=f.getFbeventsModules("SignalsFBEventsProxyState"),b=Object.prototype.toString,c=!("addEventListener"in j);function d(a,b){return typeof b==="function"&&a instanceof b}function l(a){return Array.isArray?Array.isArray(a):b.call(a)==="[object Array]"}function m(a){return typeof a==="number"||typeof a==="string"&&/^\d+$/.test(a)}var n=Number.isInteger||function(a){return typeof a==="number"&&isFinite(a)&&Math.floor(a)===a};function o(a,b,d){var e=c?"on"+b:b;b=c?a.attachEvent:a.addEventListener;var f=c?a.detachEvent:a.removeEventListener,g=function b(){f&&f.call(a,e,b,!1),d()};b&&b.call(a,e,g,!1)}var p=Object.prototype.hasOwnProperty,q=!{toString:null}.propertyIsEnumerable("toString"),r=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],s=r.length;function t(a){if(Object.keys)return Object.keys(a);if((typeof a==="undefined"?"undefined":h(a))!=="object"&&(typeof a!=="function"||a===null))throw new TypeError("Object.keys called on non-object");var b=[];for(var c in a)p.call(a,c)&&b.push(c);if(q)for(var d=0;d>>0;if(typeof b!=="function")throw new TypeError(b+" is not a function");c=new Array(e);d=0;while(d>>0,d=arguments.length>=2?arguments[1]:void 0;for(var e=0;e>>0;if(typeof a!=="function")throw new TypeError();var d=[],e=arguments.length>=2?arguments[1]:void 0;for(var f=0;fb?a.substr(0,b):a}l={isArray:l,isEmptyObject:w,isNumber:m,isInteger:n,isInstanceOf:d,keys:t,listenOnce:o,map:u,truncate:E,sendGET:A,sendPOST:B,sendBeacon:C,FBSet:y,each:function(a,b){u.call(this,a,b)},some:function(a,b){return v.call(a,b)},filter:function(a,b){return x.call(a,b)},castTo:D};e.exports=l})();return e.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsParamList",function(){return function(f,g,j,d){var e={exports:{}};e.exports;(function(){"use strict";var a="deep",b="shallow";function c(a){if(JSON===undefined||JSON===null||!JSON.stringify)return Object.prototype.toString.call(a);else return JSON.stringify(a)}function d(a){if(a===null||a===undefined)return!0;a=typeof a==="undefined"?"undefined":h(a);return a==="number"||a==="boolean"||a==="string"}var f=function(){function e(a){k(this,e),this._params=[],this._piiTranslator=a}i(e,[{key:"containsKey",value:function(a){for(var b=0;b2&&arguments[2]!==undefined?arguments[2]:!1;this._append(encodeURIComponent(b),c,a,d);return this}},{key:"appendHash",value:function(b){var c=arguments.length>1&&arguments[1]!==undefined?arguments[1]:!1;for(var d in b)Object.prototype.hasOwnProperty.call(b,d)&&this._append(encodeURIComponent(d),b[d],a,c);return this}},{key:"_append",value:function(b,e,f,g){d(e)?this._appendPrimitive(b,e,g):f===a?this._appendObject(b,e,g):this._appendPrimitive(b,c(e),g)}},{key:"_translateValue",value:function(a,b,c){if(typeof b==="boolean")return b?"true":"false";if(!c)return""+b;if(!this._piiTranslator)throw new Error();return this._piiTranslator(a,""+b)}},{key:"_appendPrimitive",value:function(a,b,c){if(b!=null){b=this._translateValue(a,b,c);b!=null&&this._params.push({name:a,value:b})}}},{key:"_appendObject",value:function(a,c,d){var e=null;for(var f in c)if(Object.prototype.hasOwnProperty.call(c,f)){var g=a+"["+encodeURIComponent(f)+"]";try{this._append(g,c[f],b,d)}catch(a){e==null&&(e=a)}}if(e!=null)throw e}},{key:"each",value:function(a){for(var b=0;b-1;b=b.userAgent.match("CriOS");return!b&&a!==null&&a!==undefined&&c==="Google Inc."&&d===!1&&e===!1}function v(a,b,c,e,f){if(g.navigator&&g.navigator.sendBeacon){f=new l(f);q(f,a,b,c);e&&f.addRange(e);d(f,n.ENDPOINT)}}k.exports={CONFIG:n,sendEvent:t,sendBeaconPII:v,setUseBeacon:c}})();return k.exports}(a,b,c,d)});f.ensureModuleRegistered("SignalsFBEvents",function(){return function(g,h,i,j){var k={exports:{}};k.exports;(function(){"use strict";var a=g.fbq;a.execStart=g.performance&&typeof g.performance.now==="function"?g.performance.now():null;var b=a.getFbeventsModules("SignalsParamList"),c=a.getFbeventsModules("SignalsPixelEndpoint"),d=a.getFbeventsModules("SignalsEvents"),e=a.getFbeventsModules("SignalsFBEventsUtils"),l=a.getFbeventsModules("SignalsFBEventsLogging"),m=a.getFbeventsModules("SignalsEventValidation"),n=a.getFbeventsModules("SignalsFBEventsFBQ"),o=a.getFbeventsModules("SignalsFBEventsJSLoader"),p=a.getFbeventsModules("SignalsFBEventsFireLock"),q=a.getFbeventsModules("SignalsFBEventsMobileAppBridge"),r=a.getFbeventsModules("signalsFBEventsInjectMethod"),s=a.getFbeventsModules("signalsFBEventsMakeSafe"),t=a.getFbeventsModules("SignalsFBEventsConfigStore"),u=d.on,v=d.once,w=d.trigger,x=e.each;d=e.FBSet;var y=e.isArray,z=e.isInteger,A=e.isEmptyObject,B=e.isNumber,C=e.keys,D=l.logError,E=l.logUserError,F=p.global;function aa(b){return a.getFbeventsModules(b)}function ba(b){return a.fbIsModuleLoaded(b)}var G={},H=-1,ca=Array.prototype.slice,I=Object.prototype.hasOwnProperty,J=i.href,K=!1,L=!1,M=[],N={},O;h.referrer;var P={PageView:new d(),PixelInitialized:new d()},Q=new n(a,N);function da(a){for(var b in a)I.call(a,b)&&(this[b]=a[b]);return this}function R(b){try{var c=ca.call(arguments);if(F.isLocked()&&c[0]!=="consent"){a.queue.push(arguments);return}var d=c.length===1&&y(c[0]);d&&(c=c[0]);typeof c[0]!=="string"&&E({type:"FBQ_NO_METHOD_NAME"});if(b.slice(0,6)==="report"){var e=b.slice(6);e==="CustomEvent"?(e=(c[1]||{}).event||e,c=["trackCustom",e].concat(c.slice(1))):c=["track",e].concat(c.slice(1))}b=c.shift();switch(b){case"addPixelId":K=!0;T.apply(this,c);break;case"init":L=!0;T.apply(this,c);break;case"set":S.apply(this,c);break;case"track":if(B(c[0])){ha.apply(this,c);break}if(d){V.apply(this,c);break}ga.apply(this,c);break;case"trackCustom":V.apply(this,c);break;case"send":W.apply(this,c);break;case"on":u.apply(null,c);break;case"loadPlugin":$(c[0]);break;default:Q.callMethod(arguments);break}}catch(a){D(a)}}function S(b){for(var d=arguments.length,e=Array(d>1?d-1:0),f=1;f=0&&a<=Number.MAX_SAFE_INTEGER};function T(a,b,c){H=H===-1?Date.now():H;if(typeof a==="number")ea(a)||E({type:"INVALID_PIXEL_ID",pixelID:a.toString()}),a=a.toString();else if(typeof a==="string"){var d=/^[1-9][0-9]{0,25}$/;d.test(a)||E({type:"INVALID_PIXEL_ID",pixelID:a})}else if(a===undefined)E({type:"INVALID_PIXEL_ID",pixelID:"undefined"});else if(a===null)E({type:"INVALID_PIXEL_ID",pixelID:"null"});else{typeof a.toString==="function"?E({type:"INVALID_PIXEL_ID",pixelID:a.toString()}):E({type:"INVALID_PIXEL_ID",pixelID:"[no toString]"});return}if(I.call(N,a)){b&&A(N[a].userData)?(N[a].userData=b,$("identity")):E({type:"DUPLICATE_PIXEL_ID",pixelID:a});return}d={agent:c?c.agent:null,id:a,userData:b||{},eventCount:0};M.push(d);N[a]=d;b!=null&&$("identity");U();Q.loadConfig(a)}function U(){for(var b=0;b1&&E({type:"MULTIPLE_PIXELS"});function ka(){if(a.disablePushState===!0)return;if(!j.pushState||!j.replaceState)return;var b=s(function(){O=J;J=i.href;if(J===O)return;var a=new da({allowDuplicatePageViews:!0});R.call(a,"trackCustom","PageView")});r(j,"pushState",b);r(j,"replaceState",b);g.addEventListener("popstate",b,!1)}v("fired",function(){return ka()});function la(b){a._initHandlers.push(b),U()}function ma(){return{pixelInitializationTime:H,pixels:M}}function na(a){a.instance=Q,a.callMethod=R,a.loadPlugin=$,a.registerPlugin=ja,a._initHandlers=[],a._initsDone={},a.on=u,a.once=v,a.send=W,a.trigger=w,a.getEventCustomParameters=X,a.addInitHandler=la,a.getState=ma,a.init=T,a.set=S}na(g.fbq);Z();k.exports={doExport:na};w("execEnd");w("initialized",a)})();return k.exports}(a,b,c,d)});e.exports=f.getFbeventsModules("SignalsFBEvents");f.registerPlugin&&f.registerPlugin("fbevents",e.exports);f.ensureModuleRegistered("fbevents",function(){return e.exports})})()})(window,document,location,history); +fbq.registerPlugin("global_config", {__fbEventsPlugin: 1, plugin: function(fbq, instance, config) { fbq.loadPlugin("opttracking"); +fbq.set("experiments", {"0":{"name":"beacon","range":[0,0],"code":"b","passRate":0.5},"1":{"name":"logDataLayer","range":[0,0],"code":"d","passRate":0},"2":{"name":"button_click_send_beacon","range":[0,0.1],"code":"e","passRate":0.5},"3":{"name":"button_click_send_beacon_all_browser","range":[0.11,0.12],"code":"f","passRate":0.5},"4":{"name":"all_event_send_beacon","range":[0.12,0.13],"code":"g","passRate":0.5},"5":{"name":"send_coalescence_telemetry","range":[0,0],"code":"h","passRate":0.5}});instance.configLoaded("global_config"); }}); \ No newline at end of file diff --git a/code/China _ Data_files/fs.frame.html b/code/China _ Data_files/fs.frame.html new file mode 100644 index 00000000..d7cfe909 --- /dev/null +++ b/code/China _ Data_files/fs.frame.html @@ -0,0 +1,12 @@ + + + + + + ForeSee Cloud Services Storage Utility Frame + + + +

This frame is used to deliver ForeSee functionality to your website.

+ + \ No newline at end of file diff --git a/code/China _ Data_files/fs.frame.js.download b/code/China _ Data_files/fs.frame.js.download new file mode 100644 index 00000000..f1e3b9c4 --- /dev/null +++ b/code/China _ Data_files/fs.frame.js.download @@ -0,0 +1,8 @@ +/*************************************** +* @preserve +* ForeSee Web SDK: Storage Frame +* Built May 18, 17 12:15:47 +* Code version: 19.3.4 +* Template version: 19.3.4 +***************************************/ +_fsDefine(["require","fs",_fsNormalizeUrl("fs.utils.js")],function(t,s,e){e.preventUnloadFlag=!0;var i=function(t,s){this.br=t,this.useAlt=t.isIE||"Safari"==t.browser.name||!t.supportsLocalStorage,this._bidID=1,this._id=s,this._stgLimit=900,this._trnsInterval=25,this.altBits=[],this._localSets=[],this.channelOpen=new e.FSEvent};i.prototype.init=function(){if(this.useAlt){var t=s.toLowerCase(window.location.host.toString()).replace(/www\./gi,"");t.indexOf(":")>-1&&(t=t.substr(0,t.indexOf(":"))),this._stg={};var i=new Date;i.setTime(i.getTime()+31536e6);var r={path:"/",domain:t,secure:!1,encode:!0,expires:i.toGMTString()};this._ck=new e.Cookie(r)}this._transportTimer=setInterval(s.proxy(function(){var t;this._ck?(this._ck.set("_fsuid",this._id),t=this._ck.get("_fruid")):(localStorage.setItem("_fsuid",this._id),t=localStorage.getItem("_fruid")),t==this._id&&this._finishInit()},this),5*this._trnsInterval)},i.prototype._finishInit=function(){var t,e=!1;clearInterval(this._transportTimer),this._ck?this._transportTimer=setInterval(s.proxy(function(){if(this.altBits.length>0){!this._ck.get("fsmsgrec")&&e||(e=!0,this._ck.kill("fsmsgrec"),t=JSON.stringify(this.altBits.shift()),this._ck.set("fsmsg",t))}},this),this._trnsInterval):this.br.supportsLocalStorage&&(this._transportTimer=setInterval(s.proxy(function(){for(;this._localSets.length>0;){var t=this._localSets.pop();this.br.supportsLocalStorage&&localStorage.setItem("__fsFr__"+t.key,t.val)}},this),150)),this.channelOpen.fire()},i.prototype.set=function(t,i,r){"string"!=typeof i&&(i=JSON.stringify({v:i,x:r})),this._localSets.push({key:t,val:i,exp:r}),this._ck&&this.channelOpen.subscribe(s.proxy(function(){this._stg[t]=i;for(var s=e.Compress.compress(i),r="_"+Math.round(9999999*Math.random());s.length>0;)this.altBits.push({id:this._bidID++,t:r,k:t,d:s.substr(0,Math.min(this._stgLimit,s.length)),f:s.length<=this._stgLimit}),s=s.substr(Math.min(this._stgLimit,s.length))},this),!0,!0)},i.prototype.get=function(t){var s;return this._ck&&(s=this._ck.get(t)),!s&&this.br.supportsLocalStorage&&(s=localStorage.getItem(t)),s},i.prototype.kill=function(t){this._ck&&this._ck.kill(t),this.br.supportsLocalStorage&&localStorage.removeItem(t)};var r=function(t){this.br=t,this.securityError=new e.FSEvent,this.securityError.subscribe(s.proxy(function(){this._postMessage("securityerror",{})},this),!0),this.messageReceived=new e.FSEvent,e.Bind(window,"message",s.proxy(function(t){this._onMessage(t)},this),"*"),this._postMessage("ready",{});var i=!1;setInterval(s.proxy(function(){this._postMessage("ready",{}),i||document.cookie.toString().indexOf("fsIce=broke")>-1&&(i=!0,this._postMessage("trackerready",1))},this),250)};r.prototype._onMessage=function(t){var s,i,r,n,o;try{if(s=JSON.parse(t.data),o=s.method,i=s.params,void 0===o||void 0===i)return}catch(t){return}switch(r=i.skipencode,n=i.contenttype,o){case"broadcast":i&&i.key&&i.value&&this.messageReceived.fire(i.key,i.value,i.x);break;case"ajax":new e.AjaxTransport({url:i.url,method:i.method,skipEncode:r,contentType:n,success:function(t,s){return function(t){s._postMessage("ajaxreturn",{params:i,res:t,success:!0})}}(0,this),failure:function(t,s){return function(t){s._postMessage("ajaxreturn",{params:i,success:!1,res:t})}}(0,this),data:i.data}).send()}},r.prototype._postMessage=function(t,s){var e=JSON.stringify({src:"fsframe",method:t,params:s});window.parent.postMessage(e,"*")},s.winReady(function(){var t=new e.Browser;t.ready.subscribe(function(){var e=s.getParam("uid"),n=new r(t),o=new i(t,e);n.messageReceived.subscribe(s.proxy(o.set,o),!1,!1),o.init()},!0,!0)})}); \ No newline at end of file diff --git a/code/China _ Data_files/fs.gateway.js.download b/code/China _ Data_files/fs.gateway.js.download new file mode 100644 index 00000000..879da5e3 --- /dev/null +++ b/code/China _ Data_files/fs.gateway.js.download @@ -0,0 +1,12 @@ +"use strict"; +/** +* @preserve +* ForeSee Gateway Script v2.0.4. Thursday, May 18th, 2017, 9:26:12 AM +* (c) Copyright 2016, ForeSee. http://www.foresee.com +* Patents pending. +**/ +!function(){function trimDots(ary){var i,part;for(i=0;i0&&(ary.splice(i-1,2),i-=2)}}function __eB(element,type,handler){element.addEventListener?element.addEventListener(type,handler,!1):element.attachEvent("on"+type,handler)}function getAllScripts(){return _D.getElementsByTagName("script")}function mixin(target,source,force,deepStringMixin){return source&&eachProp(source,function(value,prop){!force&&hasProp(target,prop)||(!deepStringMixin||"object"!=typeof value||!value||isArray(value)||isFunction(value)||value instanceof RegExp?target[prop]=value:(target[prop]||(target[prop]={}),mixin(target[prop],value,force,deepStringMixin)))}),target}function each(ary,func){if(ary){var i;for(i=0;i-1&&(!ary[i]||!func(ary[i],i,ary));i-=1);}}function defaultOnError(err){}function getGlobal(value){if(!value)return value;var g=global;return each(value.split("."),function(part){g=g[part]}),g}function newContext(contextName){function normalize(name,baseName,applyMap){var pkgMain,mapValue,nameParts,i,j,nameSegment,lastIndex,foundMap,foundI,foundStarMap,starI,normalizedBaseParts,baseParts=baseName&&baseName.split("/"),map=config.map,starMap=map&&map["*"];if(name&&(name=name.split("/"),lastIndex=name.length-1,config.nodeIdCompat&&jsSuffixRegExp.test(name[lastIndex])&&(name[lastIndex]=name[lastIndex].replace(jsSuffixRegExp,"")),"."===name[0].charAt(0)&&baseParts&&(normalizedBaseParts=baseParts.slice(0,baseParts.length-1),name=normalizedBaseParts.concat(name)),trimDots(name),name=name.join("/")),applyMap&&map&&(baseParts||starMap)){nameParts=name.split("/");outerLoop:for(i=nameParts.length;i>0;i-=1){if(nameSegment=nameParts.slice(0,i).join("/"),baseParts)for(j=baseParts.length;j>0;j-=1)if(mapValue=getOwn(map,baseParts.slice(0,j).join("/")),mapValue&&(mapValue=getOwn(mapValue,nameSegment))){foundMap=mapValue,foundI=i;break outerLoop}!foundStarMap&&starMap&&getOwn(starMap,nameSegment)&&(foundStarMap=getOwn(starMap,nameSegment),starI=i)}!foundMap&&foundStarMap&&(foundMap=foundStarMap,foundI=starI),foundMap&&(nameParts.splice(0,foundI,foundMap),name=nameParts.join("/"))}return pkgMain=getOwn(config.pkgs,name),pkgMain?pkgMain:name}function removeScript(name){each(getAllScripts(),function(scriptNode){if(attr(scriptNode,"data-requiremodule")===name&&attr(scriptNode,"data-requirecontext")===context.contextName)return scriptNode.parentNode.removeChild(scriptNode),!0})}function hasPathFallback(id){var pathConfig=getOwn(config.paths,id);if(pathConfig&&isArray(pathConfig)&&pathConfig.length>1)return pathConfig.shift(),context.require.undef(id),context.makeRequire(null,{skipMap:!0})([id]),!0}function splitPrefix(name){var prefix,index=name?name.indexOf("!"):-1;return index>-1&&(prefix=name.substring(0,index),name=name.substring(index+1,name.length)),[prefix,name]}function makeModuleMap(name,parentModuleMap,isNormalized,applyMap){var url,pluginModule,suffix,nameParts,prefix=null,parentName=parentModuleMap?parentModuleMap.name:null,originalName=name,isDefine=!0,normalizedName="";return name||(isDefine=!1,name="_@r"+(requireCounter+=1)),nameParts=splitPrefix(name),prefix=nameParts[0],name=nameParts[1],prefix&&(prefix=normalize(prefix,parentName,applyMap),pluginModule=getOwn(defined,prefix)),name&&(prefix?normalizedName=pluginModule&&pluginModule.normalize?pluginModule.normalize(name,function(name){return normalize(name,parentName,applyMap)}):name.indexOf("!")===-1?normalize(name,parentName,applyMap):name:(normalizedName=normalize(name,parentName,applyMap),nameParts=splitPrefix(normalizedName),prefix=nameParts[0],normalizedName=nameParts[1],isNormalized=!0,url=context.nameToUrl(normalizedName))),suffix=!prefix||pluginModule||isNormalized?"":"_unnormalized"+(unnormalizedCounter+=1),{prefix:prefix,name:normalizedName,parentMap:parentModuleMap,unnormalized:!!suffix,url:url,originalName:originalName,isDefine:isDefine,id:(prefix?prefix+"!"+normalizedName:normalizedName)+suffix}}function getModule(depMap){var id=depMap.id,mod=getOwn(registry,id);return mod||(mod=registry[id]=new context.Module(depMap)),mod}function on(depMap,name,fn){var id=depMap.id,mod=getOwn(registry,id);!hasProp(defined,id)||mod&&!mod.defineEmitComplete?(mod=getModule(depMap),mod.error&&"error"===name?fn(mod.error):mod.on(name,fn)):"defined"===name&&fn(defined[id])}function onError(err,errback){err.requireModules;errback&&errback(err)}function takeGlobalQueue(){globalDefQueue.length&&(apsp.apply(defQueue,[defQueue.length,0].concat(globalDefQueue)),globalDefQueue=[])}function cleanRegistry(id){delete registry[id],delete enabledRegistry[id]}function breakCycle(mod,traced,processed){var id=mod.map.id;mod.error?mod.emit("error",mod.error):(traced[id]=!0,each(mod.depMaps,function(depMap,i){var depId=depMap.id,dep=getOwn(registry,depId);!dep||mod.depMatched[i]||processed[depId]||(getOwn(traced,depId)?(mod.defineDep(i,defined[depId]),mod.check()):breakCycle(dep,traced,processed))}),processed[id]=!0)}function checkLoaded(){var usingPathFallback,waitInterval=1e3*config.waitSeconds,expired=waitInterval&&context.startTime+waitInterval<(new Date).getTime(),noLoads=[],reqCalls=[],stillLoading=!1,needCycleCheck=!0;inCheckLoaded||(inCheckLoaded=!0,eachProp(enabledRegistry,function(mod){var map=mod.map,modId=map.id;if(mod.enabled&&(map.isDefine||reqCalls.push(mod),!mod.error))if(!mod.inited&&expired)hasPathFallback(modId)?(usingPathFallback=!0,stillLoading=!0):(noLoads.push(modId),removeScript(modId));else if(!mod.inited&&mod.fetched&&map.isDefine&&(stillLoading=!0,!map.prefix))return needCycleCheck=!1}),expired&&noLoads.length||(needCycleCheck&&each(reqCalls,function(mod){breakCycle(mod,{},{})}),expired&&!usingPathFallback||!stillLoading||checkLoadedTimeoutId||(checkLoadedTimeoutId=setTimeout(function(){checkLoadedTimeoutId=0,checkLoaded()},50)),inCheckLoaded=!1))}function callGetModule(args){hasProp(defined,args[0])||getModule(makeModuleMap(args[0],null,!0)).init(args[1],args[2])}function removeListener(node,func,name,ieName){node.detachEvent&&!isOpera?ieName&&node.detachEvent(ieName,func):node.removeEventListener(name,func,!1)}function getScriptData(evt){var node=evt.currentTarget||evt.srcElement;return removeListener(node,context.onScriptLoad,"load","onreadystatechange"),removeListener(node,context.onScriptError,"error"),{node:node,id:node&&attr(node,"data-requiremodule")}}function intakeDefines(){var args;for(takeGlobalQueue();defQueue.length;){if(args=defQueue.shift(),null===args[0])return;callGetModule(args)}}var inCheckLoaded,Module,context,handlers,checkLoadedTimeoutId,config={waitSeconds:7,baseUrl:"./",paths:{},bundles:{},pkgs:{},shim:{},config:{}},registry={},enabledRegistry={},undefEvents={},defQueue=[],defined={},urlFetched={},bundlesMap={},requireCounter=1,unnormalizedCounter=1;return handlers={require:function(mod){return mod.require?mod.require:mod.require=context.makeRequire(mod.map)},exports:function(mod){if(mod.usingExports=!0,mod.map.isDefine)return mod.exports?defined[mod.map.id]=mod.exports:mod.exports=defined[mod.map.id]={}},module:function(mod){return mod.module?mod.module:mod.module={id:mod.map.id,uri:mod.map.url,config:function(){return getOwn(config.config,mod.map.id)||{}},exports:mod.exports||(mod.exports={})}}},Module=function(map){this.events=getOwn(undefEvents,map.id)||{},this.map=map,this.shim=getOwn(config.shim,map.id),this.depExports=[],this.depMaps=[],this.depMatched=[],this.pluginMaps={},this.depCount=0},Module.prototype={init:function(depMaps,factory,errback,options){options=options||{},this.inited||(this.factory=factory,errback?this.on("error",errback):this.events.error&&(errback=proxy(function(err){this.emit("error",err)},this)),this.depMaps=depMaps&&depMaps.slice(0),this.errback=errback,this.inited=!0,this.ignore=options.ignore,options.enabled||this.enabled?this.enable():this.check())},defineDep:function(i,depExports){this.depMatched[i]||(this.depMatched[i]=!0,this.depCount-=1,this.depExports[i]=depExports)},fetch:function(){if(!this.fetched){this.fetched=!0,context.startTime=(new Date).getTime();var map=this.map;return this.shim?void context.makeRequire(this.map,{enableBuildCallback:!0})(this.shim.deps||[],proxy(function(){return map.prefix?this.callPlugin():this.load()},this)):map.prefix?this.callPlugin():this.load()}},load:function(){var url=this.map.url;urlFetched[url]||(urlFetched[url]=!0,context.load(this.map.id,url))},check:function(){if(this.enabled&&!this.enabling){var err,cjsModule,id=this.map.id,depExports=this.depExports,exports=this.exports,factory=this.factory;if(this.inited){if(this.error)this.emit("error",this.error);else if(!this.defining){if(this.defining=!0,this.depCount<1&&!this.defined){if(isFunction(factory)){if(this.events.error&&this.map.isDefine||req.onError!==defaultOnError)try{exports=context.execCb(id,factory,depExports,exports)}catch(e){err=e}else exports=context.execCb(id,factory,depExports,exports);if(this.map.isDefine&&void 0===exports&&(cjsModule=this.module,cjsModule?exports=cjsModule.exports:this.usingExports&&(exports=this.exports)),err)return err.requireMap=this.map,err.requireModules=this.map.isDefine?[this.map.id]:null,err.requireType=this.map.isDefine?"define":"require",onError(this.error=err)}else exports=factory;this.exports=exports,this.map.isDefine&&!this.ignore&&(defined[id]=exports,req.onResourceLoad&&req.onResourceLoad(context,this.map,this.depMaps)),cleanRegistry(id),this.defined=!0}this.defining=!1,this.defined&&!this.defineEmitted&&(this.defineEmitted=!0,this.emit("defined",this.exports),this.defineEmitComplete=!0)}}else this.fetch()}},callPlugin:function(){var map=this.map,id=map.id,pluginMap=makeModuleMap(map.prefix);this.depMaps.push(pluginMap),on(pluginMap,"defined",proxy(function(plugin){var load,normalizedMap,normalizedMod,bundleId=getOwn(bundlesMap,this.map.id),name=this.map.name,parentName=this.map.parentMap?this.map.parentMap.name:null,localRequire=context.makeRequire(map.parentMap,{enableBuildCallback:!0});return this.map.unnormalized?(plugin.normalize&&(name=plugin.normalize(name,function(name){return normalize(name,parentName,!0)})||""),normalizedMap=makeModuleMap(map.prefix+"!"+name,this.map.parentMap),on(normalizedMap,"defined",proxy(function(value){this.init([],function(){return value},null,{enabled:!0,ignore:!0})},this)),normalizedMod=getOwn(registry,normalizedMap.id),void(normalizedMod&&(this.depMaps.push(normalizedMap),this.events.error&&normalizedMod.on("error",proxy(function(err){this.emit("error",err)},this)),normalizedMod.enable()))):bundleId?(this.map.url=context.nameToUrl(bundleId),void this.load()):(load=proxy(function(value){this.init([],function(){return value},null,{enabled:!0})},this),load.error=proxy(function(err){this.inited=!0,this.error=err,err.requireModules=[id],eachProp(registry,function(mod){0===mod.map.id.indexOf(id+"_unnormalized")&&cleanRegistry(mod.map.id)}),onError(err)},this),load.fromText=proxy(function(text,textAlt){var moduleName=map.name,moduleMap=makeModuleMap(moduleName),hasInteractive=useInteractive;textAlt&&(text=textAlt),hasInteractive&&(useInteractive=!1),getModule(moduleMap),hasProp(config.config,id)&&(config.config[moduleName]=config.config[id]);try{req.exec(text)}catch(e){return}hasInteractive&&(useInteractive=!0),this.depMaps.push(moduleMap),context.completeLoad(moduleName),localRequire([moduleName],load)},this),void plugin.load(map.name,localRequire,load,config))},this)),context.enable(pluginMap,this),this.pluginMaps[pluginMap.id]=pluginMap},enable:function(){enabledRegistry[this.map.id]=this,this.enabled=!0,this.enabling=!0,each(this.depMaps,proxy(function(depMap,i){var id,mod,handler;if("string"==typeof depMap){if(depMap=makeModuleMap(depMap,this.map.isDefine?this.map:this.map.parentMap,!1,!this.skipMap),this.depMaps[i]=depMap,handler=getOwn(handlers,depMap.id))return void(this.depExports[i]=handler(this));this.depCount+=1,on(depMap,"defined",proxy(function(depExports){this.defineDep(i,depExports),this.check()},this)),this.errback&&on(depMap,"error",proxy(this.errback,this))}id=depMap.id,mod=registry[id],hasProp(handlers,id)||!mod||mod.enabled||context.enable(depMap,this)},this)),eachProp(this.pluginMaps,proxy(this,function(pluginMap){var mod=getOwn(registry,pluginMap.id);mod&&!mod.enabled&&context.enable(pluginMap,this)},this)),this.enabling=!1,this.check()},on:function(name,cb){var cbs=this.events[name];cbs||(cbs=this.events[name]=[]),cbs.push(cb)},emit:function(name,evt){each(this.events[name],function(cb){cb(evt)}),"error"===name&&delete this.events[name]}},context={config:config,contextName:contextName,registry:registry,defined:defined,urlFetched:urlFetched,defQueue:defQueue,Module:Module,makeModuleMap:makeModuleMap,nextTick:req.nextTick,onError:onError,configure:function(cfg){cfg.baseUrl&&"/"!==cfg.baseUrl.charAt(cfg.baseUrl.length-1)&&(cfg.baseUrl+="/");var shim=config.shim,objs={paths:!0,bundles:!0,config:!0,map:!0};eachProp(cfg,function(value,prop){objs[prop]?(config[prop]||(config[prop]={}),mixin(config[prop],value,!0,!0)):config[prop]=value}),cfg.bundles&&eachProp(cfg.bundles,function(value,prop){each(value,function(v){v!==prop&&(bundlesMap[v]=prop)})}),cfg.shim&&(eachProp(cfg.shim,function(value,id){isArray(value)&&(value={deps:value}),!value.exports&&!value.init||value.exportsFn||(value.exportsFn=context.makeShimExports(value)),shim[id]=value}),config.shim=shim),cfg.packages&&each(cfg.packages,function(pkgObj){var location,name;pkgObj="string"==typeof pkgObj?{name:pkgObj}:pkgObj,name=pkgObj.name,location=pkgObj.location,location&&(config.paths[name]=pkgObj.location),config.pkgs[name]=pkgObj.name+"/"+(pkgObj.main||"main").replace(currDirRegExp,"").replace(jsSuffixRegExp,"")}),eachProp(registry,function(mod,id){mod.inited||mod.map.unnormalized||(mod.map=makeModuleMap(id))}),(cfg.deps||cfg.callback)&&context.require(cfg.deps||[],cfg.callback)},makeShimExports:function(value){function fn(){var ret;return value.init&&(ret=value.init.apply(global,arguments)),ret||value.exports&&getGlobal(value.exports)}return fn},makeRequire:function(relMap,options){function localRequire(deps,callback,errback){var id,map,requireMod;if(options.enableBuildCallback&&callback&&isFunction(callback)&&(callback.__requireJsBuild=!0),"string"==typeof deps){if(isFunction(callback))return;if(relMap&&hasProp(handlers,deps))return handlers[deps](registry[relMap.id]);if(req.get)return req.get(context,deps,relMap,localRequire);if(map=makeModuleMap(deps,relMap,!1,!0),id=map.id,!hasProp(defined,id))return;return defined[id]}return intakeDefines(),context.nextTick(function(){intakeDefines(),requireMod=getModule(makeModuleMap(null,relMap)),requireMod.skipMap=options.skipMap,requireMod.init(deps,callback,errback,{enabled:!0}),checkLoaded()}),localRequire}return options=options||{},mixin(localRequire,{toUrl:function(moduleNamePlusExt){var ext,index=moduleNamePlusExt.lastIndexOf("."),segment=moduleNamePlusExt.split("/")[0],isRelative="."===segment||".."===segment;return index!==-1&&(!isRelative||index>1)&&(ext=moduleNamePlusExt.substring(index,moduleNamePlusExt.length),moduleNamePlusExt=moduleNamePlusExt.substring(0,index)),context.nameToUrl(normalize(moduleNamePlusExt,relMap&&relMap.id,!0),ext,!0)},defined:function(id){return hasProp(defined,makeModuleMap(id,relMap,!1,!0).id)},specified:function(id){return id=makeModuleMap(id,relMap,!1,!0).id,hasProp(defined,id)||hasProp(registry,id)}}),relMap||(localRequire.undef=function(id){takeGlobalQueue();var map=makeModuleMap(id,relMap,!0),mod=getOwn(registry,id);removeScript(id),delete defined[id],delete urlFetched[map.url],delete undefEvents[id],eachReverse(defQueue,function(args,i){args[0]===id&&defQueue.splice(i,1)}),mod&&(mod.events.defined&&(undefEvents[id]=mod.events),cleanRegistry(id))}),localRequire},enable:function(depMap){var mod=getOwn(registry,depMap.id);mod&&getModule(depMap).enable()},completeLoad:function(moduleName){var found,args,mod,shim=getOwn(config.shim,moduleName)||{},shExports=shim.exports;for(takeGlobalQueue();defQueue.length;){if(args=defQueue.shift(),null===args[0]){if(args[0]=moduleName,found)break;found=!0}else args[0]===moduleName&&(found=!0);callGetModule(args)}if(mod=getOwn(registry,moduleName),!found&&!hasProp(defined,moduleName)&&mod&&!mod.inited){if(!(!config.enforceDefine||shExports&&getGlobal(shExports)))return hasPathFallback(moduleName),void 0;callGetModule([moduleName,shim.deps||[],shim.exportsFn])}checkLoaded()},nameToUrl:function(moduleName,ext,skipExt){var paths,syms,i,parentModule,url,parentPath,bundleId,pkgMain=getOwn(config.pkgs,moduleName);if(pkgMain&&(moduleName=pkgMain),bundleId=getOwn(bundlesMap,moduleName))return context.nameToUrl(bundleId,ext,skipExt);if(req.jsExtRegExp.test(moduleName))url=moduleName+(ext||"");else{for(paths=config.paths,syms=moduleName.split("/"),i=syms.length;i>0;i-=1)if(parentModule=syms.slice(0,i).join("/"),parentPath=getOwn(paths,parentModule)){isArray(parentPath)&&(parentPath=parentPath[0]),syms.splice(0,i,parentPath);break}url=syms.join("/"),url+=ext||(/^data\:|\?/.test(url)||skipExt?"":".js"),url=("/"===url.charAt(0)||url.match(/^[\w\+\.\-]+:/)?"":config.baseUrl)+url}return config.urlArgs?url+((url.indexOf("?")===-1?"?":"&")+config.urlArgs):url},load:function(id,url){req.load(context,id,url)},execCb:function(name,callback,args,exports){return callback.apply(exports,args)},onScriptLoad:function(evt){if("load"===evt.type||readyRegExp.test((evt.currentTarget||evt.srcElement).readyState)){interactiveScript=null;var data=getScriptData(evt);context.completeLoad(data.id)}},onScriptError:function(evt){var data=getScriptData(evt);!hasPathFallback(data.id)}},context.require=context.makeRequire(),context}function getInteractiveScript(){return interactiveScript&&"interactive"===interactiveScript.readyState?interactiveScript:(eachReverse(getAllScripts(),function(script){if("interactive"===script.readyState)return interactiveScript=script}),interactiveScript)}function subtractFromURL(base,notches){var pref=base.substr(0,base.indexOf("//"))+"//",suff=base.substr(pref.length),dom=suff.substr(suff.indexOf("/")+1),tail=dom.substr(dom.lastIndexOf("/")+1);dom=dom.substr(0,dom.length-tail.length-1),suff=suff.substr(0,suff.indexOf("/"));var bits=dom.split("/");return bits.length-=Math.min(bits.length,notches),(pref+suff+"/"+bits.join("/")+tail).replace(/\/\/\//g,"//")}var _moduleLocationOverride,_W=window,_D=_W.document,supportsDomStorage=!!_W.sessionStorage,skipInit=!1,_HD=_D.getElementsByTagName("head"),isOpera="undefined"!=typeof opera&&"[object Opera]"===opera.toString(),gatewayVersion=2.03;if(!isOpera){_HD=_HD&&_HD.length>0?_HD[0]:_D.body;try{supportsDomStorage&&sessionStorage.setItem("_","")}catch(e){supportsDomStorage=!1}var globalConfig={},productConfig={};/** + * @preserve + * [GENERAL_CONFIG] + */ +if("undefined"==typeof _W._fsDefine&&JSON&&!(document.documentMode<10)){var stg=function(){};stg.prototype.has=function(itm){return null!==this.get(itm)},stg.prototype.get=function(itm){var res=null;return supportsDomStorage&&(res=localStorage.getItem(itm),res||(res=sessionStorage.getItem(itm))),res},stg.prototype.set=function(itm,val){if(supportsDomStorage)try{localStorage.setItem(itm,val.toString())}catch(e){try{sessionStorage.setItem(itm,val.toString())}catch(e){}}};var require,define,req,s,head,baseElement,interactiveScript,currentlyAddingScript,op=Object.prototype,hasOwn=(op.toString,op.hasOwnProperty),ap=Array.prototype,hasProp=function(obj,prop){return hasOwn.call(obj,prop)},getOwn=function(obj,prop){return hasProp(obj,prop)&&obj[prop]},eachProp=function(obj,func){var prop;for(prop in obj)if(hasProp(obj,prop)&&func(obj[prop],prop))break},isDefined=function(obj){return null!==obj&&"undefined"!=typeof obj},isFunction=function(obj){return"function"==typeof obj},isObject=function(obj){return"object"==typeof obj},isArray=function(obj){return"[object Array]"==Object.prototype.toString.call(obj)},isDate=function(obj){return obj instanceof Date},isString=function(obj){return"string"==typeof obj},isPlainObject=function(obj){if(!obj||"[object Object]"!==Object.prototype.toString.call(obj)||obj.nodeType||obj.setInterval)return!1;if(obj.constructor&&!hasOwnProperty.call(obj,"constructor")&&!hasOwnProperty.call(obj.constructor.prototype,"isPrototypeOf"))return!1;var key;for(key in obj);return void 0===key||hasOwnProperty.call(obj,key)||!hasOwnProperty.call(obj,key)&&hasOwnProperty.call(Object.prototype,key)},proxy=function(func,context){var args,bound,nativeBind=Function.prototype.bind,slice=Array.prototype.slice;return nativeBind&&func.bind===nativeBind?nativeBind.apply(func,slice.call(arguments,1)):(args=slice.call(arguments,2),bound=function(){if(!(this instanceof bound))return func.apply(context,args.concat(slice.call(arguments)));ctor.prototype=func.prototype;var self=ctor();ctor.prototype=null;var result=func.apply(self,args.concat(slice.call(arguments)));return Object(result)===result?result:self})},dispose=function(obj){if(obj){if(obj.length)for(var i=obj.length-1;i>=0;i--)obj[i]=null;for(var prop in obj){var tob=typeof obj[prop];"function"!=tob&&"object"!=tob||(obj[prop]=null)}}obj=null},getParam=function(parm){var vars={},vrl=(_W.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi,function(m,key,value){vars[key]=value}),vars[parm]);return vrl?decodeURIComponent(vrl):vrl},nextTick=function(cb){setTimeout(cb||function(){},20)},ext=function(){var options,name,copy,a=arguments,target=a[0]||{},i=1,lnt=a.length,surface=arguments[arguments.length-1]===!1;for("object"==typeof target||isFunction(target)||(target={}),lnt===i&&(target=this,--i);i-1?"&":"?"):"";if(params)for(var nm in params)pm=params[nm],isString(pm)||(pm=JSON.stringify(pm)),pList+=encodeURIComponent(nm)+"="+encodeURIComponent(pm)+"&";return pList},compute=function(vstr){var f=new[].constructor.constructor(vstr);return f.call(_W)},toLowerCase=function(str){return isString(str)?str.toLowerCase():""},winload=function(cb){"complete"===_D.readyState?nextTick(cb):__eB(_W,"load",cb)},ap=Array.prototype,apsp=ap.splice,global=_W,readyRegExp="PLAYSTATION 3"===navigator.platform?/^complete$/:/^(complete|loaded)$/,defContextName="_",commentRegExp=/(\/\*([\s\S]*?)\*\/|([^:]|^)\/\/(.*)$)/gm,cjsRequireRegExp=/[^.]\s*require\s*\(\s*["']([^'"\s]+)["']\s*\)/g,jsSuffixRegExp=/\.js$/,currDirRegExp=/^\.\//,contexts={},cfg={},globalDefQueue=[],useInteractive=!1;req=function(deps,callback,errback,optional){var context,config,contextName=defContextName;return isArray(deps)||"string"==typeof deps||(config=deps,isArray(callback)?(deps=callback,callback=errback,errback=optional):deps=[]),config&&config.context&&(contextName=config.context),context=getOwn(contexts,contextName),context||(context=contexts[contextName]=req.s.newContext(contextName)),config&&context.configure(config),context.require(deps,callback,errback)},req.config=function(config){return req(config)},req.nextTick="undefined"!=typeof setTimeout?function(fn){setTimeout(fn,4)}:function(fn){fn()},require=req,req.jsExtRegExp=/^\/|:|\?|\.js$/,s=req.s={contexts:contexts,newContext:newContext},req({}),each(["toUrl","undef","defined","specified"],function(prop){req[prop]=function(){var ctx=contexts[defContextName];return ctx.require[prop].apply(ctx,arguments)}}),head=s.head=_HD,baseElement=_D.getElementsByTagName("base")[0],baseElement&&(head=s.head=baseElement.parentNode),req.onError=defaultOnError,req.createNode=function(config,moduleName,url){var node=config.xhtml?_D.createElementNS("http://www.w3.org/1999/xhtml","html:script"):_D.createElement("script");return node.type=config.scriptType||"text/javascript",node.charset="utf-8",node.async=!0,node},req.load=function(context,moduleName,url){var node,config=context&&context.config||{};return node=req.createNode(config,moduleName,url),node.setAttribute("data-requirecontext",context.contextName),node.setAttribute("data-requiremodule",moduleName),!node.attachEvent||node.attachEvent.toString&&node.attachEvent.toString().indexOf("[native code")<0||isOpera?(node.addEventListener("load",context.onScriptLoad,!1),node.addEventListener("error",context.onScriptError,!1)):(useInteractive=!0,node.attachEvent("onreadystatechange",context.onScriptLoad)),node.src=url,currentlyAddingScript=node,baseElement?head.insertBefore(node,baseElement):head.appendChild(node),currentlyAddingScript=null,node},define=function(name,deps,callback){var node,context;"string"!=typeof name&&(callback=deps,deps=name,name=null),isArray(deps)||(callback=deps,deps=null),!deps&&isFunction(callback)&&(deps=[],callback.length&&callback.toString&&(callback.toString().replace(commentRegExp,"").replace(cjsRequireRegExp,function(match,dep){deps.push(dep)}),deps=(1===callback.length?["require"]:["require","exports","module"]).concat(deps))),useInteractive&&(node=currentlyAddingScript||getInteractiveScript(),node&&(name||(name=attr(node,"data-requiremodule")),context=contexts[attr(node,"data-requirecontext")])),(context?context.defQueue:globalDefQueue).push([name,deps,callback])},req.exec=function(text){return new Function(text)()},req(cfg),_W._fsDefine=_W._acsDefine=define,_W._fsRequire=_W._acsRequire=function(){globalConfig.deferredLoading?winload(function(args){return function(){require.apply(window,args)}}(arguments)):require.apply(window,arguments)};var API={_enforceGlobalNS:function(){_W.FSR||(_W.FSR={}),_W.FSFB||(_W.FSFB={})},expose:function(name,obj){API._enforceGlobalNS(),_W.FSR[name]=_W.FSFB[name]=obj},retrieveFromAPI:function(name){return API._enforceGlobalNS(),_W.FSR[name]}},domReady=function(ready){function flush(f){loaded=1;do f=fns.shift(),f&&f();while(f)}var fn,fns=[],f=!1,doc=document,testEl=doc.documentElement,hack=testEl.doScroll,domContentLoaded="DOMContentLoaded",addEventListener="addEventListener",onreadystatechange="onreadystatechange",readyState="readyState",loadedRgx=hack?/^loaded|^c/:/^loaded|c/,loaded=loadedRgx.test(doc[readyState]);return doc[addEventListener]&&doc[addEventListener](domContentLoaded,fn=function(){doc.removeEventListener(domContentLoaded,fn,f),flush()},f),hack&&doc.attachEvent(onreadystatechange,fn=function(){/^c/.test(doc[readyState])&&(doc.detachEvent(onreadystatechange,fn),flush())}),ready=hack?function(fn){self!=top?loaded?fn():fns.push(fn):function(){try{testEl.doScroll("left")}catch(e){return setTimeout(function(){ready(fn)},50)}fn()}()}:function(fn){loaded?fn():fns.push(fn)}}(),fsCmd=function(commandName){var hv=(location.hash+"").toLowerCase();return commandName=(commandName||"").toLowerCase(),!!(/fscommand|fscmd|acscmd|acscommand/.test(hv)&&hv.indexOf(commandName)>-1)};fsCmd("");var locator={};locator.tagVersionString="${versionTag}",locator.environment="production",locator.gatewayLocation=function(){var gwScr,pgwScr,src,tm,gwl,cv,vt,au,svu,asso,rovr,prodcfg,isself,hasssl,scrs=_D.getElementsByTagName("script"),g="gateway",s="/";if(_HD&&(skipInit="true"==attr(_HD,"data-skipfsinit"),gwl=attr(_HD,"data-fsgatewaylocparam"),cv=attr(_HD,"data-codeversion"),vt=attr(_HD,"data-versiontag"),au=attr(_HD,"data-analyticsurl"),svu=attr(_HD,"data-surveyurl"),asso=attr(_HD,"data-product-assets"),rovr=attr(_HD,"data-codelocation"),prodcfg=attr(_HD,"data-productconfig"),isself=attr(_HD,"data-isselfhosted"),hasssl=attr(_HD,"data-hasssl"),gwl&&(gwl=getParam(gwl)),locator.isSelfHosted=!1,isself&&(locator.isSelfHosted="true"==getParam(isself)),locator.hasSSL=!0,hasssl&&(locator.hasSSL="true"!=getParam(hasssl)),rovr&&(locator.rootOverride=getParam(rovr)),asso&&(locator.assetOverride=getParam(asso)),prodcfg&&(locator.productCfgOverride=getParam(prodcfg)),cv&&("undefined"!=typeof globalConfig?globalConfig.codeVer=getParam(cv):globalConfig={codeVer:getParam(cv)}),vt&&(locator.tagVersionString=getParam(vt)),au&&("undefined"!=typeof globalConfig?globalConfig.analyticsUrl=getParam(au):globalConfig={analyticsUrl:getParam(au)}),svu&&("undefined"!=typeof globalConfig?globalConfig.surveyUrl=getParam(svu):globalConfig={surveyUrl:getParam(svu)})),eachProp(scrs,function(scr,prop){if("length"!==prop){src=attr(scr,"src")||"";var dv=attr(scr,"data-vendor");"fs"!=dv&&"acs"!=dv||attr(scr,"data-role")!=g?src.indexOf(g)>-1&&(pgwScr=scr):(gwScr=scr,tm=attr(scr,"timing"))}}),gwScr||(gwScr=pgwScr),gwScr)return locator.gwScript=gwScr,src=gwl||attr(gwScr,"src"),locator.environment=attr(gwScr,"data-environment")||locator.environment,locator.rootOverride=attr(gwScr,"data-codelocation")||locator.rootOverride,locator.assetOverride=attr(gwScr,"data-product-assets")||locator.assetOverride,locator.isSelfHosted=attr(gwScr,"data-isselfhosted")||locator.isSelfHosted,locator.hasSSL=attr(gwScr,"data-hasssl")||locator.hasSSL,src.indexOf(":/")==-1&&src.substr(0,1)!=s&&(scrs=(_W.location.href+"").split(s),scrs[scrs.length-1].indexOf(".")>-1&&scrs[scrs.length-1].toLowerCase()!=_W.location.hostname.toLowerCase()&&scrs.pop(),src=scrs.join(s)+(src.substr(0,1)==s?"":s)+src),src=src.split(s),src.pop(),trimDots(src),src.join(s)+s}(),locator.isProduction=locator.gatewayLocation.toLowerCase().indexOf("production")>-1,locator.normalizeUrl=function(url){url=url.replace("foresee/","trigger/");var suff,addm,rooturl=locator.gatewayLocation||"",tagver=locator.tagVersionString;return url.indexOf("v=")>-1?url:"$"==url.substr(0,1)?locator.rootOverride?url.replace("$",locator.rootOverride):(suff=(_moduleLocationOverride||"code/"+globalConfig.codeVer+"/")+url.replace("$",""),"/"==rooturl?rooturl+suff:subtractFromURL(rooturl,3)+suff):(addm="v="+encodeURIComponent(locator.tagVersionString),url.indexOf("//")==-1&&(url="/"==rooturl.substr(rooturl.length-1,1)&&"/"==url.substr(0,1)?rooturl+url.substr(1):rooturl+url),url+(url.indexOf("?")>-1?"&":"?")+"v="+encodeURIComponent(tagver))},locator.normalizeAssetUrl=function(url){return locator.assetOverride?locator.assetOverride+url:locator.normalizeUrl(url)},_W._fsNormalizeUrl=_W._acsNormalizeUrl=locator.normalizeUrl,_W._fsNormalizeAssetUrl=locator.normalizeAssetUrl;var extMod={supportsDomStorage:supportsDomStorage,hasProp:hasProp,fsCmd:fsCmd,eachProp:eachProp,isDefined:isDefined,isFunction:isFunction,isObject:isObject,isArray:isArray,isDate:isDate,isString:isString,isPlainObject:isPlainObject,proxy:proxy,dispose:dispose,ext:ext,attr:attr,makeURI:locator.normalizeUrl,makeAssetURI:locator.normalizeAssetUrl,home:locator.gatewayLocation,isProduction:locator.isProduction,getParam:getParam,nextTick:nextTick,toQueryString:toQueryString,isSelfHosted:locator.isSelfHosted,hasSSL:locator.hasSSL,compute:compute,config:globalConfig,productConfig:productConfig,gwConfigOverride:locator.productCfgOverride,domReady:domReady,winReady:winload,tagVersion:"${versionTag}",toLowerCase:toLowerCase,enc:encodeURIComponent,assetLocation:locator.assetOverride,codeLocation:locator.rootOverride,startTS:_W.performance&&_W.performance.timing?_W.performance.timing.responseStart:(new Date).getTime(),API:API};define("fs",function(){return extMod}),define("_acs",function(){return extMod}),domReady(function(){nextTick(function(){var dm,i,fsrd="fsReady";if(locator.gwScript&&(dm=attr(locator.gwScript,"data-module")),isDefined(_W.acsReady)&&(_W[fsrd]=_W.acsReady),!isDefined(_W.acsReady)){var altR=function(){var aT="__"+fsrd+"_stk__";_W[aT]=_W[aT]||[],_W[aT].push(arguments)};_W.acsReady=_W[fsrd]||altR}var dependencies=[],finalSetup=function(){if(!(globalConfig.minGatewayVersion&&gatewayVersion&&globalConfig.minGatewayVersion>gatewayVersion))if(eachProp(productConfig,function(obj,prop){isDefined(globalConfig.products[prop.toLowerCase()])&&globalConfig.products[prop.toLowerCase()]===!1&&(obj.check=!1),isFunction(obj.check)&&(obj.check=obj.check.call(obj)),isDefined(obj.check)||(obj.check=!0),isDefined(obj.dependencies)||(obj.dependencies=[]),obj.check&&(dependencies=dependencies.concat(obj.dependencies))}),dm)dm&&nextTick(function(){_fsRequire([_fsNormalizeUrl(dm)],function(){})});else{for(i=0;i0)for(r=0;r-1)return!1;return!0},v.prototype._match=function(e,t,i){var r=e.include,s=e[i||"globalExclude"];if(e.criteria){if(!e.criteria.supportsSmartPhones&&!t.isTablet&&t.isMobile)return!1;if(!e.criteria.supportsTablets&&t.isTablet)return!1;if(!e.criteria.supportsDesktop&&!t.isMobile)return!1}var n=o.location.href.toString(),a=document.referrer.toString();o.navigator.userAgent;if(s){if(this.runAllTests(s,t,!1,!0))return!1}return!r||this.runAllTests(r,t,!1,!0)},v.prototype.runAllTests=function(e,r,s,n){var a,c=new i.Cookie({}),f=o.location.href.toString(),u=document.referrer.toString(),l={urls:f,referrers:u,userAgents:o.navigator.userAgent};for(var d in e){var p=e[d];if(p.length>0){if(a=!1,l[d])a=function(e,r){t.isArray(r)||(r=[r]);for(var s=0,n=r.length;s-1&&(p[v].comparison?"lt"==p[v].comparison&&gp[v].version&&(a=!0):a=!0);else if("cookies"==d)for(var y=0;y0))){c=!1;for(var f=0;f-1){c=!0;break}}c&&i.Bind(a,"trigger:click",function(e,t,r){return function(s){t.preventDefault&&i.preventDefault(s),r.call(e,t)}}(this,e,r))}},y.prototype.performBindings=function(e){if(e&&this.cfg){var t,i=this.cfg;if(i.cancel&&i.cancel.length>0){var r=function(){e.cancelTracker(),e.jrny.addEventString(s.LINKS_CANCEL)};for(t=0;t0){var n=function(){e.popSurvey()};for(t=0;t0){var o=function(){e.popTracker()};for(t=0;ts.length-1&&(n=void 0),t.isDefined(n)&&"default"!=s[parseInt(n)].selectMode&&"pin"!=s[parseInt(n)].selectMode){if(t.isDefined(n)||"lock"==s[parseInt(n)].selectMode)return r=s[parseInt(n)],this.cfg.active_surveydef=r,this.surveydef=r,this._setupTrueConversionIfRequired(),this.locale=this._initLocale(),this.cpps.set("locale",this.locale),r.section&&this.cpps.set("section",r.section),r}else for(e=0;e<(t.isDefined(n)&&"default"!=s[parseInt(n)].selectMode?parseInt(n)+1:s.length);e++)if(r=s[e],t.isDefined(n)&&n==e&&"default"!=s[parseInt(n)].selectMode||this.crit._match(r,this.browser))return"x"===this.stg.get("i")&&this.stg.set("def",e),r.index=e,this.cfg.active_surveydef=r,this.surveydef=r,this._setupTrueConversionIfRequired(),this.locale=this._initLocale(),this.cpps.set("locale",this.locale),r.section&&this.cpps.set("section",r.section),this.inviteIndex=e,r;return!1},D.prototype._initLocale=function(){var e,r=this.surveydef,s=r.language;if(t.isDefined(s.src)&&t.isDefined(s.locales)){switch(s.src){case"variable":t.isDefined(s.name)&&(e=window[s.name]);break;case"cookie":if(t.isDefined(s.name)){e=new i.Cookie({}).get(s.name)}break;case"url":var n=s.locales;if(t.isDefined(n))for(var o=0,a=n.length;o=e.criteria.lf&&s<=r},D.prototype.decodeReferrer=function(){var e,t,i=document.referrer||"",r=null,s=["q","p","query"];for(t=0;t-1)){var k={hash:o.location.hash,href:o.location.href,pathname:o.location.pathname},A=function(){if(!(k.href.indexOf("fs.tracker.html")>-1)){var e=new i.Browser;e.ready.subscribe(function(){var s,n=i.getGlobalStore(e),c=new v(n,config),f=new i.CPPS(n,config.config.cppsResetTimeout);f.addToBlacklist(config.config.disable_default_cpps||config.config.disable_cpps||[]),n.ready.subscribe(t.proxy(function(){n.upgradeOldStorage(function(){var u=r._journey=new i.Journey(config.config.id,config.config.site_id,n.uid,e);S(n,c,f,u,e);var l=n.get("i");setTimeout(t.proxy(function(){if(f.set("url",o.location.toString()),config.config.cpps){var h,v=config.config.cpps;for(var m in v){var b=v[m];if(t.isObject(b))switch(b.source){case"param":var w=t.getParam(b.val)||b.init||null;if(t.isDefined(b.mode)&&"append"==b.mode){var E=b.delimiter||",",S=f.get(m),D=S?S.split(E):[];w=w||"",D[D.length-1]!==w&&(D.push(w),D.join(E),f.set(m,D))}else t.isDefined(w)&&null!==w?f.set(m,w):f.get(m)||f.set(m,"");break;case"variable":if(t.isDefined(b.name)){for(var T=o,k=b.name.split("."),A=0;A-1,r.state.inviteSituation={x:"ACCEPTED",d:"DECLINED",a:"ABANDONED"}[l],"a"==l){parseInt(n.get("rw"))2?t[0]+t[1]:e.replace(/#/gi,"")},s=r(k.hash),n=r(t.hash);(i&&s!=n||k.pathname!=t.pathname)&&fsReady(function(){clearTimeout(x),x=setTimeout(function(){i.pageReset()},1500)})},!1,!1)}}); \ No newline at end of file diff --git a/code/China _ Data_files/fs.utils.js(1).download b/code/China _ Data_files/fs.utils.js(1).download new file mode 100644 index 00000000..b9b71ac4 --- /dev/null +++ b/code/China _ Data_files/fs.utils.js(1).download @@ -0,0 +1,10 @@ +/*************************************** +* @preserve +* ForeSee Web SDK: Utils Library +* Built May 18, 17 12:15:47 +* Code version: 19.3.4 +* Template version: 19.3.4 +***************************************/ +_fsDefine(["require","fs"],function(t,e){function r(t,e){var r=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(r>>16)<<16|65535&r}function i(t,e){return t<>>32-e}function n(t,e,n,s,a,o){return r(i(r(r(e,t),r(s,o)),a),n)}function a(t,e,r,i,s,a,o){return n(e&r|~e&i,t,e,s,a,o)}function o(t,e,r,i,s,a,o){return n(e&i|r&~i,t,e,s,a,o)}function h(t,e,r,i,s,a,o){return n(e^r^i,t,e,s,a,o)}function f(t,e,r,i,s,a,o){return n(r^(e|~i),t,e,s,a,o)}function u(t,e){t[e>>5]|=128<>>9<<4)]=e;var i,n,s,u,l,c=1732584193,p=-271733879,d=-1732584194,g=271733878;for(i=0;i>5]>>>e%32&255);return r}function p(t){var e,r=[];for(r[(t.length>>2)-1]=void 0,e=0;e>5]|=(255&t.charCodeAt(e/8))<16&&(n=u(n,8*t.length)),r=0;r<16;r+=1)s[r]=909522486^n[r],a[r]=1549556828^n[r];return i=u(s.concat(p(e)),512+8*e.length),c(u(a.concat(i),640))}function y(t){var e,r,i="0123456789abcdef",n="";for(r=0;r>>4&15)+i.charAt(15&e);return n}function w(t){return decodeURIComponent(e.enc(t))}function b(t){return d(w(t))}function m(t){return y(b(t))}function v(t,e){return g(w(t),w(e))}function x(t,e){return y(v(t,e))}var _="undefined"!=typeof Uint8Array,S=window,B={siteKey:"global"};if(e&&e.home&&(e.home.indexOf("production")>-1||e.home.indexOf("staging")>-1)){var k;k=e.home.indexOf("production")>-1?e.home.split("production")[0]:e.home.split("staging")[0],k.indexOf("//")>-1&&(k=k.split("//")[1]),k=k.replace(/\\/g,"/").split("/"),k.length>=3&&(k=e.toLowerCase(k[1])),k&&k.length>1&&(B.siteKey=k)}B.getSize=function(t){var e=0,r=0,i=t.document,n=i.documentElement;return"number"==typeof t.innerWidth?(e=t.innerWidth,r=t.innerHeight):n&&(n.clientWidth||n.clientHeight)?(e=n.clientWidth,r=n.clientHeight):i.body&&(i.body.clientWidth||i.body.clientHeight)&&(e=i.body.clientWidth,r=i.body.clientHeight),{w:e,h:r}},B.getScroll=function(t){var e=0,r=0,i=t.document,n=i.documentElement;return"number"==typeof t.pageYOffset?(r=t.pageYOffset,e=t.pageXOffset):i.body&&(i.body.scrollLeft||i.body.scrollTop)?(r=i.body.scrollTop,e=i.body.scrollLeft):n&&(n.scrollLeft||n.scrollTop)&&(r=n.scrollTop,e=n.scrollLeft),{x:e,y:r}},B.setScroll=function(t,e,r){t.scrollTo(e,r)},B.getScreenResolution=function(){var t=window.screen;return e.isDefined(t)&&e.isDefined(t.width)&&"number"==typeof t.width?{w:t.width,h:t.height}:{w:0,h:0}},B.getFrameWindow=function(t){var e;return t&&t.contentWindow?e=t.contentWindow:t&&t.contentDocument&&t.contentDocument.defaultView&&(e=t.contentDocument.defaultView),e&&e!=e.top?e:null},B.escapeRegExp=function(t){return(t||"").toString().replace(/([-.*+?^${}()|[\]\/\\])/g,"\\$1")},B.trim=function(t){return(t||"").toString().replace(/\s+/g," ").replace(/^\s+|\s+$/g,"")},B.stripHTML=function(t){return(t||"").replace(/(<([^>]+)>)/gi,"")},B.merge=function(){var t,r,i,n,s,a={},o=arguments;for(t=0,r=o.length;t-1){var r=t.split(":");e=r[0],t=r[1]}return T[e]||(T[e]={}),T[e][t]||(T[e][t]=[]),{ns:e,en:t}};B.Bind=function(t,r,i,n){if(t&&r){r=e.toLowerCase(r);var s=I(r);if(T[s.ns][s.en].push({elem:t,cb:i,ub:!!n}),r.indexOf("unload")>-1)return void R.push(i);"propertychange"!=s.en&&t.addEventListener?t.addEventListener(s.en,i,!n):t.attachEvent&&t.attachEvent("on"+s.en,i)}},B.BindOnce=function(t,e,r){if(t&&e){var i=I(e);if(t["_acsEvent"+i.en])return;t["_acsEvent"+i.en]=!0,B.Bind(t,e,r)}};var E=function(t,e,r,i){e&&(e.parentNode||e.window||9==e.nodeType)&&("propertychange"!=t&&e.removeEventListener?e.removeEventListener(t,r,!i):e.detachEvent&&e.detachEvent("on"+t,r))};B.Unbind=function(t,e,r,i){var n,s,a,o;if(e&&e.indexOf("unload")>-1){for(o=0;o=0;t--)try{R[t].call()}catch(t){}e.dispose(R),B.Unbind()}},document.addEventListener?(window.addEventListener("beforeunload",B.HandleUnload,!0),window.addEventListener("pagehide",B.HandleUnload,!0),document.addEventListener("unload",B.HandleUnload,!0)):document.attachEvent&&window.attachEvent("onunload",B.HandleUnload),B.FSEvent=function(){this.id="_"+Math.round(99999*Math.random()),this.subscriptions=[],this.didFire=!1},B.FSEvent.prototype.subscribe=function(t,e,r){return this.subscriptions.push({once:!!e,cb:t}),r&&this.didFire&&(this.prevArgs?this.fire.apply(this,this.prevArgs):this.fire()),{unsubscribe:function(t,e){return function(){t.unsubscribe(e)}}(this,t)}},B.FSEvent.prototype.unsubscribe=function(t){for(var e=0;e 1.0";return t.width=250,t.height=30,e.textBaseline="top",e.font="14px 'Arial'",e.textBaseline="alphabetic",e.fillStyle="#f60",e.fillRect(125,1,62,20),e.fillStyle="#069",e.fillText(r,2,15),e.fillStyle="rgba(102, 204, 0, 0.7)",e.fillText(r,4,17),t.toDataURL()}catch(t){return"nocanvas"}},B.Fingerprint=O;var L;B.Frame=function(t){this.frameId="_fsCtrlFr";var r=_fsNormalizeUrl("$fs.frame.html?d="+e.enc(document.domain)+"&_cv_="+e.enc(e.config.codeVer)+"&_vt_="+e.enc(e.tagVersion))+"&uid="+e.enc(t.fp||"");"false"!==e.hasSSL&&("//"==r.substr(0,2)?r="https:"+r:"http"!=r.substr(0,4)&&/^\//.test(r)&&(r="https://"+S.location.host+r)),this.isSSL=e.toLowerCase(r).indexOf("https")>-1,"localhost"===S.location.hostname?r=r.replace(/:8080/gi,":443"):this.isSSL&&(r=r.replace(/:[0-9]+/gi,"")),this.iframeSrc=r,L||(L=new B.FSEvent),this.ready=L,this.trackerReady=new B.FSEvent,this._ajaxCalls={},this._ensureFrame(),B.Bind(window,"message",e.proxy(function(t){this._onMessage(t)},this))},B.Frame.prototype._ensureFrame=function(){if(this._iframeElement=document.getElementById(this.frameId),!this._iframeElement){var t=document.createElement("iframe");t.src=this.iframeSrc,t.id=this.frameId,t.className="_FSFRAME_",t._csrf=!0,t.style.display="none",t.setAttribute("title","ForeSee Control Frame"),t.setAttribute("_fsrB","true"),t.setAttribute("aria-hidden","true"),document&&document.body&&document.body.appendChild(t),this._iframeElement=t,this.ready.didFire&&(this.ready=new B.FSEvent)}},B.Frame.prototype._postMessage=function(t,r){this._ensureFrame();var i=JSON.stringify({src:"fstop",method:t,params:r||{}}),n=e.proxy(function(){this._iframeElement.contentWindow.postMessage(i,"*")},this);this.ready.didFire?n():this.ready.subscribe(n)},B.Frame.prototype._onMessage=function(t){var e;if(t.data&&-1!=(t.data+"").indexOf("frame")){try{e=JSON.parse(t.data)}catch(t){return}if("fsframe"==e.src)switch(this.ready.didFire||this.ready.fire(),e.method){case"ajaxreturn":var r=e.params.params.ajaxid;this._ajaxCalls[r]&&this._ajaxCalls[r].cb&&(this._ajaxCalls[r].cb(!!e.params.success,e.params.res||""),delete this._ajaxCalls[r]);break;case"trackerready":this.trackerReady.didFire||this.trackerReady.fire();break;case"securityerror":this._3pDisabled=__3pDataDisabled=!0}}},B.Frame.prototype.ajax=function(t,e,r,i,n,s){var a="_"+Math.round(99999999*Math.random());return n=!!n,s=s||"application/x-www-form-urlencoded",this._ajaxCalls[a]={payload:{method:t,url:e,data:r,ajaxid:a,skipencode:n,contenttype:s},cb:i},this._postMessage("ajax",this._ajaxCalls[a].payload)},B.Frame.prototype.broadcast=function(t,e,r){return this._postMessage("broadcast",{key:t,value:e,x:r})};var D=function(t){this.browser=t,this.ready=new B.FSEvent,t.isIE&&t.browser.version<11&&"https:"!=location.protocol?(this.fstg=new B.Frame(t),e.nextTick(e.proxy(function(){this.fstg.ready.subscribe(e.proxy(function(){this.ready.fire()},this),!0,!0)},this))):(this.ajax=new B.AjaxTransport,e.nextTick(e.proxy(function(){this.ready.fire()},this)))};D.prototype.send=function(t){this.ready.subscribe(e.proxy(function(){if(this.ajax)this.ajax.send(t);else{var r=e.ext({method:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",success:function(){},failure:function(){}},t);this.fstg.ajax(r.method,r.url,r.data,function(t){return function(e,r){e?t.success(r):t.failure(r)}}(r),!e.isDefined(t.skipEncode)||!!t.skipEncode,r.contentType)}},this),!0,!0)},D.prototype.dispose=function(){this.ajax&&this.ajax.dispose()},B.CORS=D,B.INT={},B.AjaxTransport=function(t){var r={method:"POST",data:{},contentType:"application/x-www-form-urlencoded",success:function(){},failure:function(){}};this.options=e.ext(r,t)},B.AjaxTransport.prototype.send=function(t){var r=e.ext({},this.options,t||{});window.XDomainRequest&&-1==window.navigator.userAgent.indexOf("MSIE 10")?this._sendViaXDR(r):window.XMLHttpRequest&&this._sendViaXHR(r),r=null},B.AjaxTransport.prototype.dispose=function(){e.dispose(this.options)},B.AjaxTransport.isSupported=function(){return!0},B.AjaxTransport.initialize=function(t){t.call(B.AjaxTransport)},B.AjaxTransport.prototype._sendViaXHR=function(t){var r=new window.XMLHttpRequest,i=t.contentType?e.toLowerCase(t.contentType).indexOf("json")>-1?"application/json; charset=utf-8":t.contentType:"application/x-www-form-urlencoded",n=e.toLowerCase(i).indexOf("json")>-1,s=n?"GET"==t.method?e.enc(JSON.stringify(t.data)):JSON.stringify(t.data):e.isDefined(t.skipEncode)&&!0===t.skipEncode?t.data:e.toQueryString(t.data),a=t.url;t.failure=t.failure||function(){},"GET"==t.method&&s&&s.length>0&&(a.indexOf("?")>-1?a+="&":a+="?",a+=s);try{r.open(t.method,a,!0)}catch(t){return}r.setRequestHeader("Accept","*/*"),r.setRequestHeader("Content-Type",i),r.timeout=t.timeout||0,r.onreadystatechange=function(t,e){return function(){4==e.readyState&&200==e.status?t.success&&t.success.apply(t,[e.responseText]):4==e.readyState&&200!=e.status&&t.failure&&t.failure.apply(t,[e.responseText])}}(t,r),r.send(s)},B.AjaxTransport.prototype._sendViaXDR=function(t){var r=e.isDefined(t.skipEncode)&&!0===t.skipEncode&&"GET"!==t.method.toUpperCase()?t.data:e.toQueryString(t.data,null,!1),i=t.url;t.failure=t.failure||function(){},"GET"==t.method&&r&&r.length>0&&(r=r.replace("?",""),i.indexOf("?")>-1?i+="&":i+="?",i+=r);var n=new window.XDomainRequest;n.onerror=t.failure||function(){},n.ontimeout=t.failure||function(){},n.onprogress=function(){},n.onload=function(t,e){return function(){e.success(t.responseText),t=null,e=null}}(n,t),n.timeout=6e4;try{n.open(t.method,i)}catch(e){return void(t.failure&&t.failure(e))}e.nextTick(function(){r?(e.isString(r)||(r=JSON.stringify(r)),n.send(r)):n.send()})},B.testSameDomain=function(t,r){var i=document.createElement("a");i.href=location.href;var n=i.hostname,s=i.protocol;i.href=t;var a=i.hostname||n,o=0===i.protocol.indexOf("http")?i.protocol:s;i.href=r;var h=i.hostname||n,f=0===i.protocol.indexOf("http")?i.protocol:s;return e.toLowerCase(a)==e.toLowerCase(h)&&e.toLowerCase(o)==e.toLowerCase(f)},B.addParameterToURL=function(t,e){return t+=(t.split("?")[1]?"&":"?")+e},B.hash=function(t){var e=t.split("_");return 3*e[0]+1357+""+(9*e[1]+58)},B.hashCode=function(t){var e,r=0,i="";if(0===t.length)return r;for(e=0;e-1;var i,n,s;if(t=e.toLowerCase(t.replace(/^\s+|\s+$/g,"").replace(/[\*]{2,}/g,"*")),r=e.toLowerCase(r),"*"==t)return!0;for(n=[];t.indexOf("*")>-1;)t.indexOf("*")>0&&n.push(t.substr(0,t.indexOf("*"))),n.push("*"),t=t.substr(t.indexOf("*")+1);for(t.length>0&&n.push(t),i=0!==n.length,s=0;ss+1){if(s++,-1==r.indexOf(n[s])){i=!1;break}r=r.substr(r.indexOf(n[s])+n[s].length)}if(s==n.length-1&&"*"!==n[s]&&r!=n[s]&&r!=n[s]+"/"&&n[s]!=r+"/"&&r.length>0&&"/"!=r){i=!1;break}}else{if(r.substr(0,t.length)!=t&&r!=t+"/"&&t!=r+"/"){i=!1;break}if(r=r.substr(t.length),s==n.length-1&&r.length>0&&"/"!=r){i=!1;break}}return!!i},B.getRootDomain=function(t){t=e.toLowerCase(t||document.domain).replace("https://","").replace("http://","");for(var r,i=["/","?",":"],n=i.length,s=0;s-1&&(t=t.substr(0,r));if(t.indexOf("localhost")>-1||0===t.replace(/[0-9\.]/g,"").length)return t;var a=t.split("."),o=a.length;return o>2&&(function(t){return["com","co","org","gov","edu","net"].indexOf(t)>-1}(a[o-2])||function(t){return t.indexOf("qc.ca")>-1}(t))?a[o-3]+"."+a[o-2]+"."+a[o-1]:o>1?a[o-2]+"."+a[o-1]:t},B.FULL_DAY=864e5,B.now=function(){return+new Date},B.startTime=B.now(),B.storageTypes={CK:"COOKIE",MC:"MICROCOOKIE",CL:"COOKIELESS",DS:"DOMSTORAGE"},B.persistDataType={GENERAL:"GENERAL",TRACKER:"TRACKER"};var F=function(t,r){var i=B.storageTypes,n=this.pers=e.config.storage.toUpperCase(),s=new Date,a={path:"/",domain:B.getRootDomain(),secure:!1,encode:!0,expires:new Date(s.getFullYear()+2,s.getMonth(),s.getDate()).toGMTString()};e.ext(this,{_storageKey:"_4c_",isReady:!1,_healthyServices:["brain"],_lastMaint:B.now(),_lastSave:B.now(),_lastSync:B.now(),defaultExpire:7776e6,ready:new B.FSEvent,onCommit:new B.FSEvent,onSync:new B.FSEvent,maxExpire:-1,_data:{when:B.now(),keys:{}},_keyEvents:{},isStale:!1,_cThreshold:2e3,_updateTimeout:6e4,isSyncing:!1,_serverFails:0}),this.browser=t,t.ready.subscribe(e.proxy(function(){t.supportsLocalStorage||n!=i.DS?t.isMobile&&n==i.CL&&(n=i.MC):n=i.CK,n==i.CK?(this.ckie=new B.Cookie(a),this.fr=new B.Frame(t)):n==i.MC?(this.ckie=new B.Cookie(a),this.uid=r||this.ckie.get(this._storageKey+"mc_"),this.uid&&(this.uid.length>64||this.uid.indexOf("{")>-1)&&(this.uid=B.generateGUID(),this.ckie.set(this._storageKey+"mc_",this.uid)),this.uid||(this.uid=B.generateGUID(),this.ckie.set(this._storageKey+"mc_",this.uid)),this.cors=new B.CORS(t)):n==i.CL?(this.uid=r||t.fp,this.cors=new B.CORS(t)):n==i.DS&&(this._cThreshold=500,this._updateTimeout=1e4),this._sync(e.proxy(function(){this.get("rid")||(this.uid=this.uid||B.generateGUID(),this.set("rid",this.uid)),this.uid=this.get("rid"),this.setUpdateInterval(this._updateTimeout),this.pers!=B.storageTypes.CK&&this.pers!=B.storageTypes.DS||this._maint(!0),this.fr?this.fr.ready.subscribe(e.proxy(function(){this.ready.fire(this)},this),!0,!0):this.ready.fire(this)},this))},this),!0,!0),B.Bind(window,"unload",e.proxy(function(){this.save(!0)},this))};F.prototype.upgradeOldStorage=function(r){for(var i=this.ckie,n=["fsr.r","fsr.s","_fsspl_","fsr.t","acs.t"],s=!1,a=0;at&&this._sync()},this),Math.min(t/2,5e3))},F.prototype._sync=function(t){if(!this.isSyncing){this.isSyncing=!0,t=t||function(){};var r,i;if(this.pers==B.storageTypes.CK){if(r=this.ckie.get(this._storageKey))return r=z.decompress(r),this._lastSync=B.now(),i=JSON.parse(r),this._fireChangeEvents(i.keys),i.keys=i.keys||{},this._data=i,this.onSync.fire(this),this.isSyncing=!1,void e.nextTick(t);this.isSyncing=!1,e.nextTick(t)}else if(this.pers==B.storageTypes.DS){if(r=localStorage.getItem(this._storageKey)){if(r=z.decompress(r),this._lastSync=B.now(),i=JSON.parse(r),i.keys=i.keys||{},this._fireChangeEvents(i.keys),this._data=i,e.nextTick(e.proxy(function(){this.onSync.fire(this)},this)),B.now()-this._data.when<3e5)return this.isSyncing=!1,void e.nextTick(t);this._lastSync=B.now(),this._data={when:B.now(),keys:{}}}this.isSyncing=!1,e.nextTick(t)}else{if(this._serverFails>5)return;B.Healthy(this.browser,this._healthyServices,e.proxy(function(){this.cors.send({method:"GET",url:e.config.brainUrl+"/state/"+B.siteKey+"/"+this.uid,success:e.proxy(function(r){this._lastSync=B.now();var i=JSON.parse(r);this._fireChangeEvents(i.keys),this._data=i,this.isSyncing=!1,e.nextTick(e.proxy(function(){this.onSync.fire(this)},this)),t()},this),failure:function(){this._lastSync=B.now(),this.isSyncing=!1,this._serverFails++}})},this))}}},F.prototype._fireChangeEvents=function(t){var r=this;for(var i in t)(!this._data.keys[i]||this._data.keys[i].t5)return;B.Healthy(this.browser,this._healthyServices,e.proxy(function(){this.cors.send({method:"POST",url:e.config.brainUrl+"/state/"+B.siteKey+"/"+this.uid,data:this._data,contentType:"application/json",success:e.proxy(function(t){this._lastSync=B.now(),this._data=JSON.parse(t),this.onCommit.fire(this._data)},this),failure:e.proxy(function(){this._serverFails++},this)})},this))}this.isStale=!1},F.prototype._maint=function(t){var e,r=B.now(),i=this._data.keys,n=!1;if(r-this._lastMaint>5e3||t){for(var s in i)e=i[s],r>e.x&&(delete i[s],n=!0);this._lastMaint=r}!n||this.pers!=B.storageTypes.CK&&this.pers!=B.storageTypes.DS||this._commit()},F.prototype.set=function(t,r,i,n,s,a){this._data.keys||(this._data.keys={});var o=this._data.keys[t],h=B.now(),f=null;if(s||(s=B.persistDataType.GENERAL),i)if("number"==typeof i)f=i,this.maxExpire>0&&this.maxExpire0)){var u=i-h;u>this.maxExpire&&(f=i=this.maxExpire,i=h+i)}if(this.pers!=B.storageTypes.CK&&this.pers!=B.storageTypes.DS||s!=B.persistDataType.TRACKER){if(o){var l={};l[t]={v:r,x:i||o.x,t:h},this._fireChangeEvents(l),o.v=r,o.x=i||o.x,f&&(o.ttl=f),o.t=h}else{var c={};c[t]={v:r,x:i||this.defaultExpire+h,t:h},f&&(c[t].ttl=f),this._fireChangeEvents(c),this._data.keys[t]=c[t]}this.isStale=!0,a&&this.onCommit.subscribe(a,!0,!1),this._maint(),this.save(!!n)}else this.fr&&this.fr.trackerReady.subscribe(e.proxy(function(){this.fr.broadcast(t,r,i)},this),!0,!0)},F.prototype.get=function(t){if(e.isArray(t)){for(var r={},i=0;it||e.ttl>t)&&(e.ttl=t,e.x&&(e.x-=s-t))}this.save(!0)},F.prototype.getMaxKeyExpiration=function(){var t=B.now(),e=this._data.keys,r=0;for(var i in e)r=Math.max(r,e[i].x-t);return r};var N;B.getGlobalStore=function(t,e){return N||(N=new F(t,e)),N};var U=function(t,e){this.loadSuccess=new B.FSEvent,this.loadFailure=new B.FSEvent,this.st=document.createElement("script"),this.st.type="text/javascript",this.st.src=t,e&&(this.st.id=e),this.br=new B.Browser,void 0!==this.st.addEventListener?this._loadOnOthers():void 0!==this.st.attachEvent&&this._loadOnIE()};if(U.prototype._loadOnIE=function(){var t=this,e=this.st;e.onreadystatechange=function(){3==e.readyState&&(e.onreadystatechange=function(){t.loadSuccess.fire(e.src),t.loadFailure=null},t.loadFailure&&t.loadFailure.fire(e.src))},document.body.appendChild(e)},U.prototype._loadOnOthers=function(){this.st.addEventListener("load",e.proxy(function(){this.loadSuccess.fire(this.st.src)},this),!1),this.st.addEventListener("error",e.proxy(function(){this.loadFailure.fire(this.st.src)},this),!1),document.body.appendChild(this.st)},!window.btoa){var M="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",j=new Array(-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-1,-1,-1,-1,-1);window.btoa=function(t){var e,r,i,n,s,a;for(i=t.length,r=0,e="";i>r;){if(n=255&t.charCodeAt(r++),r==i){e+=M.charAt(n>>2),e+=M.charAt((3&n)<<4),e+="==";break}if(s=t.charCodeAt(r++),r==i){e+=M.charAt(n>>2),e+=M.charAt((3&n)<<4|(240&s)>>4),e+=M.charAt((15&s)<<2),e+="=";break}a=t.charCodeAt(r++),e+=M.charAt(n>>2),e+=M.charAt((3&n)<<4|(240&s)>>4),e+=M.charAt((15&s)<<2|(192&a)>>6),e+=M.charAt(63&a)}return e},window.atob=function(t){var e,r,i,n,s,a,o;for(a=t.length,s=0,o="";a>s;){do{e=j[255&t.charCodeAt(s++)]}while(a>s&&-1==e);if(-1==e)break;do{r=j[255&t.charCodeAt(s++)]}while(a>s&&-1==r);if(-1==r)break;o+=String.fromCharCode(e<<2|(48&r)>>4);do{if(61==(i=255&t.charCodeAt(s++)))return o;i=j[i]}while(a>s&&-1==i);if(-1==i)break;o+=String.fromCharCode((15&r)<<4|(60&i)>>2);do{if(61==(n=255&t.charCodeAt(s++)))return o;n=j[n]}while(a>s&&-1==n);if(-1==n)break;o+=String.fromCharCode((3&i)<<6|n)}return o}}B.b64EncodeUnicode=function(t){return btoa(e.enc(t).replace(/%([0-9A-F]{2})/g,function(t,e){return String.fromCharCode("0x"+e)}))},B.b64DecodeUnicode=function(t){return decodeURIComponent(Array.prototype.map.call(atob(t).split(""),function(t){return"%"+("00"+t.charCodeAt(0).toString(16)).slice(-2)}).join(""))};var P={Util:{stringToByteArray:function(t){var e,r,i=t.split("");for(e=0,r=i.length;e>>0;return i}}};P.CompressionMethod={DEFLATE:8,RESERVED:15},P.BitStream=function(t,e){if(this.index="number"==typeof e?e:0,this.bitindex=0,this.buffer=t instanceof(_?Uint8Array:Array)?t:new(_?Uint8Array:Array)(P.BitStream.DefaultBlockSize),2*this.buffer.length<=this.index)throw new Error("invalid index");this.buffer.length<=this.index&&this.expandBuffer()},P.BitStream.DefaultBlockSize=32768,P.BitStream.prototype.expandBuffer=function(){var t,e=this.buffer,r=e.length,i=new(_?Uint8Array:Array)(r<<1);if(_)i.set(e);else for(t=0;t1&&(t=e>8?function(t){return P.BitStream.ReverseTable[255&t]<<24|P.BitStream.ReverseTable[t>>>8&255]<<16|P.BitStream.ReverseTable[t>>>16&255]<<8|P.BitStream.ReverseTable[t>>>24&255]}(t)>>32-e:P.BitStream.ReverseTable[t]>>8-e),e+a<8)o=o<>e-i-1&1,8==++a&&(a=0,n[s++]=P.BitStream.ReverseTable[o],o=0,s===n.length&&(n=this.expandBuffer()));n[s]=o,this.buffer=n,this.bitindex=a,this.index=s},P.BitStream.prototype.finish=function(){var t,e=this.buffer,r=this.index;return this.bitindex>0&&(e[r]<<=8-this.bitindex,e[r]=P.BitStream.ReverseTable[e[r]],r++),_?t=e.subarray(0,r):(e.length=r,t=e),t},P.BitStream.ReverseTable=function(t){return t}(function(){var t,e=new(_?Uint8Array:Array)(256);for(t=0;t<256;++t)e[t]=function(t){var e=t,r=7;for(t>>>=1;t;t>>>=1)e<<=1,e|=1&t,--r;return(e<>>0}(t);return e}()),P.Huffman={},P.Huffman.buildHuffmanTable=function(t){var e,r,i,n,s,a,o,h,f,u,l,c=t.length,p=0,d=Number.POSITIVE_INFINITY;for(h=0,f=c;hp&&(p=t[h]),t[h]>=1;for(l=i<<16|h,u=a;u0&&(i=this.getParent(r),s[r]>s[i]);)n=s[r],s[r]=s[i],s[i]=n,n=s[r+1],s[r+1]=s[i+1],s[i+1]=n,r=i;return this.length},P.Heap.prototype.pop=function(){var t,e,r,i,n,s=this.buffer;for(e=s[0],t=s[1],this.length-=2,s[0]=s[this.length],s[1]=s[this.length+1],n=0;;){if((i=this.getChild(n))>=this.length)break;if(i+2s[i]&&(i+=2),!(s[i]>s[n]))break;r=s[n],s[n]=s[i],s[i]=r,r=s[n+1],s[n+1]=s[i+1],s[i+1]=r,n=i}return{index:t,value:e,length:this.length}},P.RawDeflate=function(t,e){this.compressionType=P.RawDeflate.CompressionType.DYNAMIC,this.lazy=0,this.freqsLitLen,this.freqsDist,this.input=_&&t instanceof Array?new Uint8Array(t):t,this.output,this.op=0,e&&(e.lazy&&(this.lazy=e.lazy),"number"==typeof e.compressionType&&(this.compressionType=e.compressionType), +e.outputBuffer&&(this.output=_&&e.outputBuffer instanceof Array?new Uint8Array(e.outputBuffer):e.outputBuffer),"number"==typeof e.outputIndex&&(this.op=e.outputIndex)),this.output||(this.output=new(_?Uint8Array:Array)(32768))},P.RawDeflate.CompressionType={NONE:0,FIXED:1,DYNAMIC:2,RESERVED:3},P.RawDeflate.Lz77MinLength=3,P.RawDeflate.Lz77MaxLength=258,P.RawDeflate.WindowSize=32768,P.RawDeflate.MaxCodeLength=16,P.RawDeflate.HUFMAX=286,P.RawDeflate.FixedHuffmanTable=function(){var t,e=[];for(t=0;t<288;t++)switch(!0){case t<=143:e.push([t+48,8]);break;case t<=255:e.push([t-144+400,9]);break;case t<=279:e.push([t-256+0,7]);break;case t<=287:e.push([t-280+192,8]);break;default:throw"invalid literal: "+t}return e}(),P.RawDeflate.prototype.compress=function(){var t,e,r,i=this.input;switch(this.compressionType){case P.RawDeflate.CompressionType.NONE:for(e=0,r=i.length;e>>8&255,h[f++]=255&s,h[f++]=s>>>8&255,_)h.set(t,f),f+=t.length,h=h.subarray(0,f);else{for(a=0,o=t.length;a257&&0===h[s-1];s--);for(a=30;a>1&&0===u[a-1];a--);for(c=this.getTreeSymbols_(s,h,a,u),p=this.getLengths_(c.freqs,7),w=0;w<19;w++)x[w]=p[v[w]];for(o=19;o>4&&0===x[o-1];o--);for(d=this.getCodesFromLengths_(p),m.writeBits(s-257,5,!0),m.writeBits(a-1,5,!0),m.writeBits(o-4,4,!0),w=0;w=16){switch(w++,g){case 16:y=2;break;case 17:y=3;break;case 18:y=7;break;default:throw"invalid code: "+g}m.writeBits(c.codes[w],y,!0)}return this.dynamicHuffman(n,[f,h],[l,u],m),m.finish()},P.RawDeflate.prototype.dynamicHuffman=function(t,e,r,i){var n,s,a,o,h,f,u,l;for(h=e[0],f=e[1],u=r[0],l=r[1],n=0,s=t.length;n256)i.writeBits(t[++n],t[++n],!0),o=t[++n],i.writeBits(u[o],l[o],!0),i.writeBits(t[++n],t[++n],!0);else if(256===a)break;return i},P.RawDeflate.prototype.fixedHuffman=function(t,e){var r,i,n;for(r=0,i=t.length;r256)e.writeBits(t[++r],t[++r],!0),e.writeBits(t[++r],5),e.writeBits(t[++r],t[++r],!0);else if(256===n)break;return e},P.RawDeflate.Lz77Match=function(t,e){this.length=t,this.backwardDistance=e},P.RawDeflate.Lz77Match.LengthCodeTable=function(t){return _?new Uint32Array(t):t}(function(){var t,e,r=[];for(t=3;t<=258;t++)e=function(t){switch(!0){case 3===t:return[257,t-3,0];case 4===t:return[258,t-4,0];case 5===t:return[259,t-5,0];case 6===t:return[260,t-6,0];case 7===t:return[261,t-7,0];case 8===t:return[262,t-8,0];case 9===t:return[263,t-9,0];case 10===t:return[264,t-10,0];case t<=12:return[265,t-11,1];case t<=14:return[266,t-13,1];case t<=16:return[267,t-15,1];case t<=18:return[268,t-17,1];case t<=22:return[269,t-19,2];case t<=26:return[270,t-23,2];case t<=30:return[271,t-27,2];case t<=34:return[272,t-31,2];case t<=42:return[273,t-35,3];case t<=50:return[274,t-43,3];case t<=58:return[275,t-51,3];case t<=66:return[276,t-59,3];case t<=82:return[277,t-67,4];case t<=98:return[278,t-83,4];case t<=114:return[279,t-99,4];case t<=130:return[280,t-115,4];case t<=162:return[281,t-131,5];case t<=194:return[282,t-163,5];case t<=226:return[283,t-195,5];case t<=257:return[284,t-227,5];case 258===t:return[285,t-258,0];default:throw"invalid length: "+t}}(t),r[t]=e[2]<<24|e[1]<<16|e[0];return r}()),P.RawDeflate.Lz77Match.prototype.getDistanceCode_=function(t){var e;switch(!0){case 1===t:e=[0,t-1,0];break;case 2===t:e=[1,t-2,0];break;case 3===t:e=[2,t-3,0];break;case 4===t:e=[3,t-4,0];break;case t<=6:e=[4,t-5,1];break;case t<=8:e=[5,t-7,1];break;case t<=12:e=[6,t-9,2];break;case t<=16:e=[7,t-13,2];break;case t<=24:e=[8,t-17,3];break;case t<=32:e=[9,t-25,3];break;case t<=48:e=[10,t-33,4];break;case t<=64:e=[11,t-49,4];break;case t<=96:e=[12,t-65,5];break;case t<=128:e=[13,t-97,5];break;case t<=192:e=[14,t-129,6];break;case t<=256:e=[15,t-193,6];break;case t<=384:e=[16,t-257,7];break;case t<=512:e=[17,t-385,7];break;case t<=768:e=[18,t-513,8];break;case t<=1024:e=[19,t-769,8];break;case t<=1536:e=[20,t-1025,9];break;case t<=2048:e=[21,t-1537,9];break;case t<=3072:e=[22,t-2049,10];break;case t<=4096:e=[23,t-3073,10];break;case t<=6144:e=[24,t-4097,11];break;case t<=8192:e=[25,t-6145,11];break;case t<=12288:e=[26,t-8193,12];break;case t<=16384:e=[27,t-12289,12];break;case t<=24576:e=[28,t-16385,13];break;case t<=32768:e=[29,t-24577,13];break;default:throw"invalid distance"}return e},P.RawDeflate.Lz77Match.prototype.toLz77Array=function(){var t,e=this.length,r=this.backwardDistance,i=[],n=0;return t=P.RawDeflate.Lz77Match.LengthCodeTable[e],i[n++]=65535&t,i[n++]=t>>16&255,i[n++]=t>>24,t=this.getDistanceCode_(r),i[n++]=t[0],i[n++]=t[1],i[n++]=t[2],i},P.RawDeflate.prototype.lz77=function(t){function e(t,e){var r,i,n=t.toLz77Array();for(r=0,i=n.length;r0)o.push(r);else{for(;o.length>0&&r-o[0]>c;)o.shift();if(r+P.RawDeflate.Lz77MinLength>=i){for(f&&e(f,-1),n=0,s=i-r;n0?(h=this.searchLongestMatch_(t,r,o),f?f.lengthP.RawDeflate.Lz77MinLength){for(o=f;o>P.RawDeflate.Lz77MinLength;o--)if(t[i+o-1]!==t[e+o-1])continue t;s=f}for(;sf&&(n=i,f=s),s===P.RawDeflate.Lz77MaxLength)break}return new P.RawDeflate.Lz77Match(f,e-n)},P.RawDeflate.prototype.getTreeSymbols_=function(t,e,r,i){var n,s,a,o,h,f,u=new(_?Uint32Array:Array)(t+r),l=new(_?Uint32Array:Array)(316),c=new(_?Uint8Array:Array)(19);for(s=0,n=0;n0;)l[h++]=0,c[0]++;else for(;a>0;)f=a<138?a:138,f>a-3&&f0;)l[h++]=u[n],c[u[n]]++;else for(;a>0;)f=a<6?a:6,f>a-3&&f0&&h.push(s,t[s]);if(r=new Array(h.length/2),i=new(_?Uint32Array:Array)(h.length/2),1===r.length)return f[h.pop().index]=1,f;for(s=0,a=h.length/2;s2*f[s-1]+u[s]&&(f[s]=2*f[s-1]+u[s]),c[s]=new Array(f[s]),p[s]=new Array(f[s]);for(n=0;n=0;--s){for(n=0,o=0,h=d[s+1],a=0;at[n]?(c[s][a]=o,p[s][a]=e,h+=2):(c[s][a]=t[n],p[s][a]=n,++n);d[s]=0,1===u[s]&&i(s)}return l},P.RawDeflate.prototype.getCodesFromLengths_=function(t){var e,r,i,n,s=new(_?Uint16Array:Array)(t.length),a=[],o=[],h=0;for(e=0,r=t.length;e>>=1;return s};var H=P.Huffman.buildHuffmanTable;P.RawInflate=function(t,e){switch(this.buffer,this.blocks=[],this.bufferSize=ZLIB_RAW_INFLATE_BUFFER_SIZE,this.totalpos=0,this.ip=0,this.bitsbuf=0,this.bitsbuflen=0,this.input=_?new Uint8Array(t):t,this.output,this.op,this.bfinal=!1,this.bufferType=P.RawInflate.BufferType.ADAPTIVE,this.resize=!1,this.prev,!e&&(e={})||(e.index&&(this.ip=e.index),e.bufferSize&&(this.bufferSize=e.bufferSize),e.bufferType&&(this.bufferType=e.bufferType),e.resize&&(this.resize=e.resize)),this.bufferType){case P.RawInflate.BufferType.BLOCK:this.op=P.RawInflate.MaxBackwardLength,this.output=new(_?Uint8Array:Array)(P.RawInflate.MaxBackwardLength+this.bufferSize+P.RawInflate.MaxCopyLength);break;case P.RawInflate.BufferType.ADAPTIVE:this.op=0,this.output=new(_?Uint8Array:Array)(this.bufferSize),this.expandBuffer=this.expandBufferAdaptive,this.concatBuffer=this.concatBufferDynamic,this.decodeHuffman=this.decodeHuffmanAdaptive;break;default:throw new Error("invalid inflate mode")}},P.RawInflate.BufferType={BLOCK:0,ADAPTIVE:1},P.RawInflate.prototype.decompress=function(){for(;!this.bfinal;)this.parseBlock();return this.concatBuffer()},P.RawInflate.MaxBackwardLength=32768,P.RawInflate.MaxCopyLength=258,P.RawInflate.Order=function(t){return _?new Uint16Array(t):t}([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),P.RawInflate.LengthCodeTable=function(t){return _?new Uint16Array(t):t}([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,258,258]),P.RawInflate.LengthExtraTable=function(t){return _?new Uint8Array(t):t}([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0]),P.RawInflate.DistCodeTable=function(t){return _?new Uint16Array(t):t}([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577]),P.RawInflate.DistExtraTable=function(t){return _?new Uint8Array(t):t}([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),P.RawInflate.FixedLiteralLengthTable=function(t){return t}(function(){var t,e,r=new(_?Uint8Array:Array)(288);for(t=0,e=r.length;t>>=1){case 0:this.parseUncompressedBlock();break;case 1:this.parseFixedHuffmanBlock();break;case 2:this.parseDynamicHuffmanBlock();break;default:throw new Error("unknown BTYPE: "+t)}},P.RawInflate.prototype.readBits=function(t){for(var e,r=this.bitsbuf,i=this.bitsbuflen,n=this.input,s=this.ip,a=n.length;i=a)throw new Error("input buffer is broken");r|=n[s++]<>>=t,i-=t,this.bitsbuf=r,this.bitsbuflen=i,this.ip=s,e},P.RawInflate.prototype.readCodeByTable=function(t){for(var e,r,i=this.bitsbuf,n=this.bitsbuflen,s=this.input,a=this.ip,o=s.length,h=t[0],f=t[1];n=o);)i|=s[a++]<>>16,this.bitsbuf=i>>r,this.bitsbuflen=n-r,this.ip=a,65535&e},P.RawInflate.prototype.parseUncompressedBlock=function(){var t,e,r,i=this.input,n=this.ip,s=this.output,a=this.op,o=i.length,h=s.length;if(this.bitsbuf=0,this.bitsbuflen=0,n+1>=o)throw new Error("invalid uncompressed block header: LEN");if(t=i[n++]|i[n++]<<8,n+1>=o)throw new Error("invalid uncompressed block header: NLEN");if(e=i[n++]|i[n++]<<8,t===~e)throw new Error("invalid uncompressed block header: length verify");if(n+t>i.length)throw new Error("input buffer is broken");switch(this.bufferType){case P.RawInflate.BufferType.BLOCK:for(;a+t>s.length;){if(r=h-a,t-=r,_)s.set(i.subarray(n,n+r),a),a+=r,n+=r;else for(;r--;)s[a++]=i[n++];this.op=a,s=this.expandBuffer(),a=this.op}break;case P.RawInflate.BufferType.ADAPTIVE:for(;a+t>s.length;)s=this.expandBuffer({fixRatio:2});break;default:throw new Error("invalid inflate mode")}if(_)s.set(i.subarray(n,n+t),a),a+=t,n+=t;else for(;t--;)s[a++]=i[n++];this.ip=n,this.op=a,this.output=s},P.RawInflate.prototype.parseFixedHuffmanBlock=function(){this.decodeHuffman(P.RawInflate.FixedLiteralLengthTable,P.RawInflate.FixedDistanceTable)},P.RawInflate.prototype.parseDynamicHuffmanBlock=function(){function t(t,e,r){var i,n,s,a=this.prev;for(s=0;s=h&&(this.op=i,r=this.expandBuffer(),i=this.op),r[i++]=n;else for(s=n-257,o=P.RawInflate.LengthCodeTable[s],P.RawInflate.LengthExtraTable[s]>0&&(o+=this.readBits(P.RawInflate.LengthExtraTable[s])),n=this.readCodeByTable(e),a=P.RawInflate.DistCodeTable[n],P.RawInflate.DistExtraTable[n]>0&&(a+=this.readBits(P.RawInflate.DistExtraTable[n])),i>=h&&(this.op=i,r=this.expandBuffer(),i=this.op);o--;)r[i]=r[i++-a];for(;this.bitsbuflen>=8;)this.bitsbuflen-=8,this.ip--;this.op=i},P.RawInflate.prototype.decodeHuffmanAdaptive=function(t,e){var r=this.output,i=this.op;this.currentLitlenTable=t;for(var n,s,a,o,h=r.length;256!==(n=this.readCodeByTable(t));)if(n<256)i>=h&&(r=this.expandBuffer(),h=r.length),r[i++]=n;else for(s=n-257,o=P.RawInflate.LengthCodeTable[s],P.RawInflate.LengthExtraTable[s]>0&&(o+=this.readBits(P.RawInflate.LengthExtraTable[s])),n=this.readCodeByTable(e),a=P.RawInflate.DistCodeTable[n],P.RawInflate.DistExtraTable[n]>0&&(a+=this.readBits(P.RawInflate.DistExtraTable[n])),i+o>h&&(r=this.expandBuffer(),h=r.length);o--;)r[i]=r[i++-a];for(;this.bitsbuflen>=8;)this.bitsbuflen-=8,this.ip--;this.op=i},P.RawInflate.prototype.expandBuffer=function(t){var e,r,i=new(_?Uint8Array:Array)(this.op-P.RawInflate.MaxBackwardLength),n=this.op-P.RawInflate.MaxBackwardLength,s=this.output;if(_)i.set(s.subarray(P.RawInflate.MaxBackwardLength,i.length));else for(e=0,r=i.length;ee&&(this.output.length=e),t=this.output),this.buffer=t,this.buffer},P.RawInflate=function(t,e){switch(this.buffer,this.blocks=[],this.bufferSize=32768,this.totalpos=0,this.ip=0,this.bitsbuf=0,this.bitsbuflen=0,this.input=_?new Uint8Array(t):t,this.output,this.op,this.bfinal=!1,this.bufferType=P.RawInflate.BufferType.ADAPTIVE,this.resize=!1,this.prev,!e&&(e={})||(e.index&&(this.ip=e.index),e.bufferSize&&(this.bufferSize=e.bufferSize),e.bufferType&&(this.bufferType=e.bufferType),e.resize&&(this.resize=e.resize)),this.bufferType){case P.RawInflate.BufferType.BLOCK:this.op=P.RawInflate.MaxBackwardLength,this.output=new(_?Uint8Array:Array)(P.RawInflate.MaxBackwardLength+this.bufferSize+P.RawInflate.MaxCopyLength);break;case P.RawInflate.BufferType.ADAPTIVE:this.op=0,this.output=new(_?Uint8Array:Array)(this.bufferSize),this.expandBuffer=this.expandBufferAdaptive,this.concatBuffer=this.concatBufferDynamic,this.decodeHuffman=this.decodeHuffmanAdaptive}},P.RawInflate.BufferType={BLOCK:0,ADAPTIVE:1},P.RawInflate.prototype.decompress=function(){for(;!this.bfinal;)this.parseBlock();return this.concatBuffer()},P.RawInflate.MaxBackwardLength=32768,P.RawInflate.MaxCopyLength=258,P.RawInflate.Order=function(t){return _?new Uint16Array(t):t}([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),P.RawInflate.LengthCodeTable=function(t){return _?new Uint16Array(t):t}([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,258,258]),P.RawInflate.LengthExtraTable=function(t){return _?new Uint8Array(t):t}([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0]),P.RawInflate.DistCodeTable=function(t){return _?new Uint16Array(t):t}([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577]),P.RawInflate.DistExtraTable=function(t){return _?new Uint8Array(t):t}([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),P.RawInflate.FixedLiteralLengthTable=function(t){return t}(function(){var t,e,r=new(_?Uint8Array:Array)(288);for(t=0,e=r.length;t>>=1){case 0:this.parseUncompressedBlock();break;case 1:this.parseFixedHuffmanBlock();break;case 2:this.parseDynamicHuffmanBlock();break;default:throw new Error("unknown BTYPE: "+t)}},P.RawInflate.prototype.readBits=function(t){for(var e,r=this.bitsbuf,i=this.bitsbuflen,n=this.input,s=this.ip,a=n.length;i=a)throw new Error("input buffer is broken");r|=n[s++]<>>=t,i-=t,this.bitsbuf=r,this.bitsbuflen=i,this.ip=s,e},P.RawInflate.prototype.readCodeByTable=function(t){for(var e,r,i=this.bitsbuf,n=this.bitsbuflen,s=this.input,a=this.ip,o=s.length,h=t[0],f=t[1];n=o);)i|=s[a++]<>>16,this.bitsbuf=i>>r,this.bitsbuflen=n-r,this.ip=a,65535&e},P.RawInflate.prototype.parseUncompressedBlock=function(){var t,e,r,i=this.input,n=this.ip,s=this.output,a=this.op,o=i.length,h=s.length;if(this.bitsbuf=0,this.bitsbuflen=0,n+1>=o)throw new Error("invalid uncompressed block header: LEN");if(t=i[n++]|i[n++]<<8,n+1>=o)throw new Error("invalid uncompressed block header: NLEN");if(e=i[n++]|i[n++]<<8,t===~e)throw new Error("invalid uncompressed block header: length verify");if(n+t>i.length)throw new Error("input buffer is broken");switch(this.bufferType){case P.RawInflate.BufferType.BLOCK:for(;a+t>s.length;){if(r=h-a,t-=r,_)s.set(i.subarray(n,n+r),a),a+=r,n+=r;else for(;r--;)s[a++]=i[n++];this.op=a,s=this.expandBuffer(),a=this.op}break;case P.RawInflate.BufferType.ADAPTIVE:for(;a+t>s.length;)s=this.expandBuffer({fixRatio:2});break;default:throw new Error("invalid inflate mode")}if(_)s.set(i.subarray(n,n+t),a),a+=t,n+=t;else for(;t--;)s[a++]=i[n++];this.ip=n,this.op=a,this.output=s},P.RawInflate.prototype.parseFixedHuffmanBlock=function(){this.decodeHuffman(P.RawInflate.FixedLiteralLengthTable,P.RawInflate.FixedDistanceTable)},P.RawInflate.prototype.parseDynamicHuffmanBlock=function(){function t(t,e,r){var i,n,s,a=this.prev;for(s=0;s=h&&(this.op=i,r=this.expandBuffer(),i=this.op),r[i++]=n;else for(s=n-257,o=P.RawInflate.LengthCodeTable[s],P.RawInflate.LengthExtraTable[s]>0&&(o+=this.readBits(P.RawInflate.LengthExtraTable[s])),n=this.readCodeByTable(e),a=P.RawInflate.DistCodeTable[n],P.RawInflate.DistExtraTable[n]>0&&(a+=this.readBits(P.RawInflate.DistExtraTable[n])),i>=h&&(this.op=i,r=this.expandBuffer(),i=this.op);o--;)r[i]=r[i++-a];for(;this.bitsbuflen>=8;)this.bitsbuflen-=8,this.ip--;this.op=i},P.RawInflate.prototype.decodeHuffmanAdaptive=function(t,e){var r=this.output,i=this.op;this.currentLitlenTable=t;for(var n,s,a,o,h=r.length;256!==(n=this.readCodeByTable(t));)if(n<256)i>=h&&(r=this.expandBuffer(),h=r.length),r[i++]=n;else for(s=n-257,o=P.RawInflate.LengthCodeTable[s],P.RawInflate.LengthExtraTable[s]>0&&(o+=this.readBits(P.RawInflate.LengthExtraTable[s])),n=this.readCodeByTable(e),a=P.RawInflate.DistCodeTable[n],P.RawInflate.DistExtraTable[n]>0&&(a+=this.readBits(P.RawInflate.DistExtraTable[n])),i+o>h&&(r=this.expandBuffer(),h=r.length);o--;)r[i]=r[i++-a];for(;this.bitsbuflen>=8;)this.bitsbuflen-=8,this.ip--;this.op=i},P.RawInflate.prototype.expandBuffer=function(t){var e,r,i=new(_?Uint8Array:Array)(this.op-P.RawInflate.MaxBackwardLength),n=this.op-P.RawInflate.MaxBackwardLength,s=this.output;if(_)i.set(s.subarray(P.RawInflate.MaxBackwardLength,i.length));else for(e=0,r=i.length;ee&&(this.output.length=e),t=this.output),this.buffer=t,this.buffer},B.Async=function(t,e,r){this.isParallel=!!t,this._queue=[],this.success=e,this.fail=r,this.isPending=!0},B.Async.prototype.enqueue=function(t){this._queue.push({fn:t,resolved:!1}),(this.isParallel||1==this._queue.length)&&t.apply(this,[{resolve:e.proxy(function(){e.nextTick(e.proxy(function(){this.ctx.resolve(this.cb)},this))},{cb:t,ctx:this}),error:e.proxy(function(){this.ctx.error(this.cb)},{cb:t,ctx:this})}])},B.Async.prototype.resolve=function(t){if(this.isPending){if(!t)throw new Error("Missing caller argument.");var r,i,n=!1;for(r=0;r-1},a=function(t,e){return"IE"!=t?e:e>6&&e<10?s("Trident")||7!=e?s("Trident/5.0")&&e<=9?9:s("Trident/4.0")&&e<9?s("WOW64")?8:7==e?e:8:e:7:e},o=function(t,r){return r?s("Windows Phone")?"Winphone":s("iPod")?"iPod":s("iPad")?"iPad":s("iPhone")?"iPhone":(s("blackberry")||s("playbook")||s("BB10"))&&s("applewebkit")?"Blackberry":s("Kindle")||s("Silk")?"Kindle":s("BNTV")||s("Nook")?"Nook":s("Android")?"Android":e.isDefined(window.orientation)?"Mobile":"Other":s("Windows")?"Windows":s("OS X")?"Mac":s("Linux")||s("Googlebot")?"Linux":s("Mac")?"Mac":void 0},h=function(t,e){for(;t>=e;)t/=10;return t},f=function(t,r){var i,n,a,o,f,u;return s("windows phone")||!s("ipad")&&!s("iphone")?s("googlebot")?1:s("mac os x")?(i=/OS X ([0-9_]*)/gi.exec(t),n=i[1].split("_"),a=parseInt(n[0]),f=parseInt(n[1]),u=parseInt(n[2]),f+=h(u,1),a+h(f,1)):s("Windows NT")?(i=/Windows NT ([0-9\.]*)/gi.exec(t),n=i[1].split("."),a=parseInt(n[0]),f=parseInt(n[1]),a+h(f,1)):(i=t.match(/Windows Phone OS[\/\s](\d+\.?\d+)/)||t.match(/Windows Phone[\/\s](\d+\.?\d+)/)||t.match(/Android[\/\s](\d+\.?\d+)/),a=e.isDefined(i)?i[1]:1,o=parseFloat(a),!isNaN(o)&&o>0?o:a):(i=/OS ([0-9_]*) like/gi.exec(t),n=i[1].split("_"),a=parseInt(n[0]),f=parseInt(n[1]),a+h(f,1))},u=function(){if("Winphone"!=r.os.name){var t=document.querySelectorAll("head meta[name=viewport],head meta[name=VIEWPORT],head meta[name=Viewport]")||[];if(e.isArray(t)||(t=[t]),t.length>0){for(var i=function(t,e){var r=new RegExp("[\\w\\W]*"+e+"[\\s]*=[\\s]*([^\\s,;]*)[\\w\\W]*","i");return t?t.match(r):null},n=0;n1&&("0"==a[1]||"no"==e.toLowerCase(a[1])))return!1;if(o&&h)return!(o.length>1&&h.length>1&&1==parseFloat(o[1])&&1==parseFloat(h[1]))}return!0}return!0}return!1},l=B._getBrowserNameAndVersion(i),c=function(){r.browser.name=l.name,r.browser.version=l.version,r.browser.actualVersion=a(r.browser.name,r.browser.version),r.os.name=o(0,r.isMobile),r.os.version=f(i,r.isMobile)},p=function(){r.isZoomable=u(),r.isReady=!0,r._internalReady.fire()},d=function(){c()};if(r.isMobile)if(r.isIos||""===r.servUrl||r.isTablet||r.isWinPhone)d(),p();else{var g,y=function(t){var e=JSON.parse(t);r.browser.name=e.browser.name,r.browser.version=r.browser.actualVersion=e.browser.version,r.os.name=e.os.name,r.os.version=e.os.version,r.isMobile=e.isMobile,r.isTablet=e.isTablet,p()},w=this.supportsLocalStorage;if(w&&!t&&(g=sessionStorage.getItem("ACS_BROWSER")),g)y(g);else{var b=function(t){w&&sessionStorage.setItem("ACS_BROWSER",t),y(t)},m=function(){d(),p()},v=function(){var t=new Date,e=t.getFullYear().toString(),r=(t.getMonth()+1).toString(),i=t.getDate().toString();return e+(r[1]?r:"0"+r[0])+(i[1]?i:"0"+i[0])},x={method:"GET",url:r.servUrl+function(){var t=v()+"ForeSee"+(location.origin||"null");return B.hashCode(t)}()+"&ua="+i,type:"*/*",contentType:"application/x-www-form-urlencoded",success:b,failure:m};new B.AjaxTransport(x,!0).send()}}else c(),r.isReady=!0,r.isIE="IE"==r.browser.name,r._internalReady.fire()},B._getBrowserNameAndVersion=function(t){var e,r,i="Unknown";return null!==(r=t.match(/Opera[\/\s](\d+\.\d+)/))?i="Opera":null!==(r=t.match(/Edge\/([0-9\.]*)/))?i="IE":null!==(r=t.match(/opr[\/\s](\d+\.\d+)/i))?i="Opera":null!==(r=t.match(/Windows Phone[\/\s](\d+\.\d+)/))?i="IEMobile":null!==(r=t.match(/MSIE (\d+\.\d+)/))?i="IE":null!==(r=t.match(/Navigator[\/\s](\d+\.\d+)/))?i="Netscape":null!==(r=t.match(/Chrome[\/\s](\d+\.\d+)/))?i="Chrome":null!==(r=t.match(/CriOS[\/\s](\d+\.\d+)/))?i="Chrome":null!==(r=t.match(/Version\/([0-9\.]*)[\w\W]*Safari/i))?i="Safari":null!==(r=t.match(/Firefox[\/\s](\d+\.\d+)/))?i="Firefox":null!==(r=t.match(/googlebot/gi))?(i="Chrome",e=44):Object.hasOwnProperty.call(window,"ActiveXObject")&&!window.ActiveXObject&&(i="IE", +e=11),{name:i,version:e||(null!==r?parseFloat(r[1]):void 0)}},B.sign=function(t){var r=(new Date).getTime(),i=t.substr(t.indexOf("/rec/")),n=B.md5((i+r).toString());return-1==t.indexOf("?")?t+="?":t+="&",t+"token="+r+"&sig="+e.enc(n)},B.WindowStorage=function(t,r){t||(t="STORAGE"),this.guid="FSR_"+t.replace(/[- _.&]/g,"").toUpperCase(),this.storageLimit=5e6,this.StorageFull=new B.FSEvent,this.kill(),this.sync(),e.isDefined(r)&&!r||setTimeout(e.proxy(function(){B.Bind(window,"unload",e.proxy(function(){this.commit()},this))},this),100)},B.WindowStorage.prototype.testStorageLimit=function(){return this.storageBytesObj+this.storageBytesBlob>=this.storageLimit&&(this.StorageFull.fire(this),!0)},B.WindowStorage.prototype.dispose=function(t){this._data_obj[t]&&(delete this._data_obj[t],this.storageBytesObj=JSON.stringify(this._data_obj).length)},B.WindowStorage.prototype.kill=function(){this.storageBytesObj=0,this.storageBytesBlob=0,this._data_obj={},this._data_blob="",this.isNewStorage=!0},B.WindowStorage.prototype.get=function(t){return this._data_obj[t]},B.WindowStorage.prototype.getBlob=function(){return this._data_blob},B.WindowStorage.prototype.erase=function(t){delete this._data_obj[t],this.storageBytesObj=JSON.stringify(this._data_obj).length,this.isNewStorage=!1,this.testStorageLimit()},B.WindowStorage.prototype.set=function(t,e){e&&(this._data_obj[t]=e,this.storageBytesObj=JSON.stringify(this._data_obj).length,this.isNewStorage=!1,this.testStorageLimit())},B.WindowStorage.prototype.setBlob=function(t){this._data_blob=t,this.storageBytesBlob=this._data_blob.length,this.isNewStorage=!1,this.testStorageLimit()},B.WindowStorage.prototype.isNew=function(){return this.isNewStorage},B.WindowStorage.initialize=function(t){t.apply(B.WindowStorage)},B.WindowStorage.isSupported=function(){return!0},B.WindowStorage.prototype.sync=function(){var t=B.nameBackup||window.name||"",e=this.guid+"_",r="",i=t.indexOf(e+"BEGIN_OBJ");i>-1&&(r=t.substr(i+(e+"BEGIN_OBJ").length,t.indexOf(e+"END_OBJ")-(i+(e+"BEGIN_OBJ").length)));try{r.length>0&&(this._data_obj=JSON.parse(r),this.storageBytesObj=r.length,this.isNewStorage=!1)}catch(t){}r="",(i=t.indexOf(e+"BEGIN_BLOB"))>-1&&(r=t.substr(i+(e+"BEGIN_BLOB").length,t.indexOf(e+"END_BLOB")-(i+(e+"BEGIN_BLOB").length)));try{r.length>0&&(this._data_blob=r,this.storageBytesBlob=r.length,this.isNewStorage=!1)}catch(t){}},B.WindowStorage.prototype.commit=function(){var t=window.name;e.isDefined(t)||(t="");var r=this.guid+"_",i=t.indexOf(r+"BEGIN_OBJ"),n=JSON.stringify(this._data_obj),s=r+"BEGIN_OBJ"+n+r+"END_OBJ";i>-1?t=t.substr(0,i)+s+t.substr(t.indexOf(r+"END_OBJ")+(r+"END_OBJ").length):t+=s,i=t.indexOf(r+"BEGIN_BLOB"),s=r+"BEGIN_BLOB"+this._data_blob+r+"END_BLOB",i>-1?t=t.substr(0,i)+s+t.substr(t.indexOf(r+"END_BLOB")+(r+"END_BLOB").length):t+=s,window.name=B.nameBackup=t,this.storageBytes=window.name.length},B.nameBackup=window.name,B.dedupe=function(t){var e,r;for(e=t.length-1;e>=0;e--)for(r=e-1;r>=0;r--)t[r]==t[e]&&t.splice(e,1);return t},B.arrayIndexOf=function(t,e){for(var r in e)if(e[r]===t)return r;return-1},B.inArray=function(t,e){return-1!=B.arrayIndexOf(t,e)},B.Cookie=function(t){this.opts=t||{}},B.Cookie.prototype.set=function(t,r,i){var n,s=this.opts;i&&(s=e.ext({},s,i)),r=e.isDefined(s.encode)?e.enc(r):r,t=e.enc(t),"localhost"==s.domain&&delete s.domain;for(var a in s)if(s[a])switch(n=s[a],r+=";"+("duration"==a?"expires":a),a){case"expires":r+="="+(e.isDate(n)?n.toGMTString():n)+";";break;case"duration":r+="="+new Date(B.now()+n*B.FULL_DAY).toGMTString()+";";break;default:r+="="+n}document.cookie=t+"="+r},B.Cookie.prototype.get=function(t){var e=document.cookie.match("(?:^|;)\\s*"+B.escapeRegExp(t)+"=([^;]*)");return e?decodeURIComponent(e[1]):null},B.Cookie.prototype.kill=function(t){var e=new Date;e.setTime(e.getTime()-9999),this.set(t,"",{expires:e})},window.__fsJSONPCBr={},window.__fsJSONPCB=e.proxy(function(t){if(t){var e=t.filename,r=atob(t.contents);window.__fsJSONPCBr[e]&&window.__fsJSONPCBr[e].fire(r)}},this),B.JSONP=function(t){this._expireTimeout=null,this._networkError=new B.FSEvent,this.opts=e.ext({success:function(){},failure:function(){},timeout:5e3},t)},B.JSONP.prototype.get=function(t,r){var i=t.indexOf("?")>-1?t.substr(t.indexOf("?")+1):"",n=t.substr(0,t.lastIndexOf("/")+1),s=t.substr(t.lastIndexOf("/")+1),a=window.__fsJSONPCBr;this._expireTimeout=setTimeout(e.proxy(function(){this._networkError.fire({type:"timedout"})},this),this.opts.timeout),s.indexOf("?")>-1&&(s=s.substr(0,s.indexOf("?")));var o=(r||"")+s;if(!a[o]){a[o]=new B.FSEvent;var h=n+s.substr(0,s.lastIndexOf("."))+"___"+s.substr(s.lastIndexOf(".")+1)+".js"+(i.length>0?"?"+i:""),f=new U(h,"_fscl"+o);f.loadFailure.subscribe(e.proxy(function(){this.el.parentNode.removeChild(this.el),this.ctx._networkError.fire({type:"internalserror"})},{ctx:this,el:f.st}))}a[o].subscribe(e.proxy(function(t){this.ctx.opts.success(t),clearTimeout(this.ctx._expireTimeout);var e=document.getElementById(this.tgId);e&&e.parentNode.removeChild(e)},{ctx:this,tgId:"_fscl"+o}),!0,!0),this._networkError.subscribe(e.proxy(function(t){this.opts.failure(t),a[o].unsubscribeAll()},this),!0,!0)},B.ImageTransport=function(t){var r={data:{},success:function(){},failure:function(){}};this.options=e.ext(r,t)},B.ImageTransport.prototype.send=function(t){var r=e.ext(this.options,t),i=new Image;i.onerror=r.failure,i.onload=function(){r.success({width:i.width,height:i.height})},i.src=e.toQueryString(r.data,r.url,!1)};var z={byteArrayToString:function(t){for(var e="",r=0;r127&&i<2048?(e+=String.fromCharCode(i>>6|192),e+=String.fromCharCode(63&i|128)):(e+=String.fromCharCode(i>>12|224),e+=String.fromCharCode(i>>6&63|128),e+=String.fromCharCode(63&i|128))}return e},compress:function(t){var e=z._utf8_encode(t),r=z.stringToByteArray(e),i=new P.RawDeflate(r,{compressionType:2}).compress();return btoa(z.byteArrayToString(i))},fragmentAndCompress:function(t,e){e=e||1e5;for(var r="",i=parseInt(t.length/e)+1,n=0;n0?i(a):r(n)};B.Healthy=function(t,r,i,n){if (localStorage) { var nwval = (new Date).getTime(); try { localStorage.setItem("_fsrHealthStatus", JSON.stringify({ last: nwval, info: { survey2: { ref: { rel: "content", url: "https://cx.foresee.com/status" }, up: true, last_check: nwval, latency: 0 }, survey: { ref: { rel: "content", url: "https://survey.foreseeresults.com/survey/status" }, up: true, last_check: nwval, latency: 87 }, cxreplay: { ref: { rel: "content", url: "https://rec.replay.answerscloud.com/status" }, up: true, last_check: nwval, latency: 77 }, events: { ref: { rel: "content", url: "https://analytics.foresee.com/status" }, up: true, last_check: nwval, latency: 70 }, trust: { ref: { rel: "status", url: "" }, up: false }, brain: { ref: { rel: "content", url: "https://brain.foresee.com/status" }, up: true, last_check: nwval, latency: 348 }, static: { ref: { rel: "content", url: "https://static.foresee.com" }, up: true, last_check: nwval, latency: 74 }, device: { ref: { rel: "content", url: "https://device.4seeresults.com/status" }, up: true, last_check: nwval, latency: 68 } } })) } catch (e) { } }if(e.isArray(r)||(r=[r]),i=i||function(){},n=n||function(){},!W&&t.supportsLocalStorage){var s=localStorage.getItem("_fsrHealthStatus");W=s?JSON.parse(s):{}}W&&W.last&&B.now()-W.last<2592000000?e.nextTick(function(){K(r,i,n)}):(J||(J=new B.AjaxTransport),J.send({method:"GET",url:location.protocol+"//health.foresee.com",timeout:1e4,failure:e.proxy(function(){n(r)},this),success:e.proxy(function(i){e.isString(i)&&i.length>3?(W={last:B.now(),info:JSON.parse(i)},t.supportsLocalStorage&&localStorage.setItem("_fsrHealthStatus",JSON.stringify(W)),K(r,this.s,this.f)):n(r)},{deps:r,s:i,f:n})}))},B.HealthStatus=function(t,r,i){var n=function(t,r){return function(){for(var r={},n=0;nr?i.length-r:0,a[t]=i.splice(s,n-s+1).join()),this.gs.set("cp",a))}},B.Journey=function(t,r,i,n,s){this.threshold=s||400,this.browser=n,e.isString(r)||(r=""),this.cors=new B.AjaxTransport,this.url=e.config.analyticsUrl.replace(/^https?:/i,location.protocol),this.data={customerId:t,appId:r,userId:i||"0000-0000-0000-0000-0000",deviceProfile:{fs_timezone:(new Date).getTimezoneOffset(),fs_os:n.os.name,fs_osver:n.os.version,fs_browser:n.browser.name,fs_browserver:n.browser.version},events:[]}},B.Journey.prototype._send=function(){this._svT=null,this.data.events.length>0&&B.Healthy(this.browser,["events"],e.proxy(function(){this.cors.send({url:this.url,contentType:"application/json",data:this.data,method:"POST",success:e.proxy(function(){this.data.events=[]},this)})},this))},B.Journey.prototype.setKey=function(t,r){return!!e.isObject(r)&&(this.data[t]=r,this.data.events.length||this.addEventString("fs_setKey"),!0)},B.Journey.prototype.addEvent=function(t){var e=typeof t;switch(e){case"string":this.addEventString(t);break;case"object":this.addEventObj(t);break;default:console.error("ForeSee: event is not a valid type: ",e)}},B.Journey.prototype.addEventObj=function(t){if(t.timestamp||(t.timestamp=(new Date).toISOString()),!(t.name&&t.name.length>0&&V("properties",t)&&V("metrics",t)&&V("data",t)))return void console.error("ForeSee: Invalid Event. For proper usage, please refer to http://developer.foresee.com/docs-articles/foresee-hosted-code/calling-api-methods/event-logging/");t.properties||(t.properties={}),t.properties.fs_pageUrl||(t.properties.fs_pageUrl=[location.href]),this.data.events.push(t),G(this)},B.Journey.prototype.addEventString=function(t){this.data.events.push({name:t,timestamp:(new Date).toISOString(),properties:{fs_pageUrl:[location.href]}}),G(this)};var G=function(t,r){r?t._send(!0):t._svT||(t._svT=setTimeout(e.proxy(function(){t._send(!0)},t),t.threshold))},V=function(t,r){var i;switch(t){case"properties":if(r.properties)for(i in r.properties)if(!e.isArray(r.properties[i]))return console.error("ForeSee: Invalid properties"),!1;break;case"metrics":if(r.metrics)for(i in r.metrics)if(!B.isNumeric(r.metrics[i]))return console.error("ForeSee: Invalid metrics"),!1}return!0},q={has:function(){return"function"==typeof window.ga},uid:function(t){var r=e.nextTick;q.has()?ga(function(e){r(function(){if(e)t(e.get("clientId"));else try{t(ga.getAll()[0].get("clientId"))}catch(e){t()}})}):r(function(){t()})}};B.INT.GA=q;var X={_id:"",has:function(){try{return!!(window.s&&e.isFunction(s.c_r)&&s.c_r("s_vi").indexOf("[CE]")>-1)}catch(t){return!1}},uid:function(t){var r=e.nextTick;r(X.has()?function(){t(s.c_r("s_vi").split("|")[1].split("[")[0])}:function(){t()})},beacon:function(){function t(t,e){for(var r="",i=e.split("&"),n=0;n=0)){o=e;break}if(!o&&window.document.images)for(var f=0;f=0){o=e;break}r=o.substring(0,o.indexOf("?")),i=o.substring(o.indexOf("?")+1),n=t(a,i),window.s&&s.trackingServerSecure&&(r="https://"+s.trackingServerSecure+o.substring(o.indexOf("/b/ss/"),o.indexOf("?")),i=o.substring(o.indexOf("?")+1),n=t(a,i));var u=r+"?"+n;return u.length<3&&(u=null),u}};return B.INT.OM=X,B.imgInfo=function(t,r){var i=function(){};r=r||i;var n=new Image;n.onload=function(){r(n.width,n.height)},n.onerror=function(){},t.indexOf("//")>-1?n.src=t:n.src=e.makeURI("$"+t),n.width&&(n.onload=n.onerror=i,r(n.width,n.height))},B.getHashParm=function(t){var r=window.location.hash.toString();if(r&&r.length>0)for(var i=r.split("&"),n=0;n1)return decodeURIComponent(s[1]);break}}},B.compile=function(t){return new[].constructor.constructor("var v = ''; try { v = "+t+"} catch(err) {}return v;").call(window)},e.nextTick=function(t){setTimeout(t||function(){},0)},B.randomRange=function(t,e){return t+Math.random()*(e-t)},B.isNumeric=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},B.products={},B.productArr=[],B.registerProduct=function(t,e){e=e||{},B.products[t]=e,B.productArr.push(t)},B.addClass=function(t,r){var i,n,s,a;for(e.isDefined(t.length)||(t=[t]),i=0,n=t.length;i-1},B.css=function(t,r,i){if(t){e.isDefined(t.length)||(t=[t]);for(var n=0;nparseInt(e.tabIndex)}),r=0;r=this.storageLimit&&(this.StorageFull.fire(this),!0)},B.DomStorage.prototype.dispose=function(t){this._data_obj[t]&&(delete this._data_obj[t],this.storageBytesObj=JSON.stringify(this._data_obj).length)},B.DomStorage.prototype.kill=function(){this.storageBytesObj=0,this.storageBytesBlob=0,this._data_obj={},this._data_blob="",this.isNewStorage=!0},B.DomStorage.prototype.get=function(t){return this._data_obj[t]},B.DomStorage.prototype.getBlob=function(){return this._data_blob},B.DomStorage.prototype.erase=function(t){delete this._data_obj[t],this.storageBytesObj=JSON.stringify(this._data_obj).length,this.isNewStorage=!1,this.testStorageLimit()},B.DomStorage.prototype.set=function(t,e){e&&(this._data_obj[t]=e,this.storageBytesObj=JSON.stringify(this._data_obj).length,this.isNewStorage=!1,this.testStorageLimit())},B.DomStorage.prototype.setBlob=function(t){this._data_blob=t,this.storageBytesBlob=this._data_blob.length,this.isNewStorage=!1,this.testStorageLimit()},B.DomStorage.prototype.isNew=function(){var t;return window.opener&&!this.get("isNew")&&(t=!0,this.set("isNew",t)),t||this.isNewStorage},B.DomStorage.initialize=function(t){t.apply(B.DomStorage)},B.DomStorage.isSupported=function(){return!!localStorage},B.DomStorage.prototype.sync=function(){var t;try{t=localStorage.getObject(this.guid+"_OBJ"),t&&t.length>0&&(this._data_obj=JSON.parse(t),this.storageBytesObj=t.length,this.isNewStorage=!1)}catch(t){}try{t=localStorage.getObject(this.guid+"_BLOB"),t&&t.length>0&&(this._data_blob=t,this.storageBytesBlob=t.length,this.isNewStorage=!1)}catch(t){}},B.DomStorage.prototype.commit=function(){try{localStorage.setItem(this.guid+"_OBJ",JSON.stringify(this._data_obj)),localStorage.setItem(this.guid+"_BLOB",this._data_blob)}catch(t){}},B}); \ No newline at end of file diff --git a/code/China _ Data_files/fs.utils.js.download b/code/China _ Data_files/fs.utils.js.download new file mode 100644 index 00000000..b9b71ac4 --- /dev/null +++ b/code/China _ Data_files/fs.utils.js.download @@ -0,0 +1,10 @@ +/*************************************** +* @preserve +* ForeSee Web SDK: Utils Library +* Built May 18, 17 12:15:47 +* Code version: 19.3.4 +* Template version: 19.3.4 +***************************************/ +_fsDefine(["require","fs"],function(t,e){function r(t,e){var r=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(r>>16)<<16|65535&r}function i(t,e){return t<>>32-e}function n(t,e,n,s,a,o){return r(i(r(r(e,t),r(s,o)),a),n)}function a(t,e,r,i,s,a,o){return n(e&r|~e&i,t,e,s,a,o)}function o(t,e,r,i,s,a,o){return n(e&i|r&~i,t,e,s,a,o)}function h(t,e,r,i,s,a,o){return n(e^r^i,t,e,s,a,o)}function f(t,e,r,i,s,a,o){return n(r^(e|~i),t,e,s,a,o)}function u(t,e){t[e>>5]|=128<>>9<<4)]=e;var i,n,s,u,l,c=1732584193,p=-271733879,d=-1732584194,g=271733878;for(i=0;i>5]>>>e%32&255);return r}function p(t){var e,r=[];for(r[(t.length>>2)-1]=void 0,e=0;e>5]|=(255&t.charCodeAt(e/8))<16&&(n=u(n,8*t.length)),r=0;r<16;r+=1)s[r]=909522486^n[r],a[r]=1549556828^n[r];return i=u(s.concat(p(e)),512+8*e.length),c(u(a.concat(i),640))}function y(t){var e,r,i="0123456789abcdef",n="";for(r=0;r>>4&15)+i.charAt(15&e);return n}function w(t){return decodeURIComponent(e.enc(t))}function b(t){return d(w(t))}function m(t){return y(b(t))}function v(t,e){return g(w(t),w(e))}function x(t,e){return y(v(t,e))}var _="undefined"!=typeof Uint8Array,S=window,B={siteKey:"global"};if(e&&e.home&&(e.home.indexOf("production")>-1||e.home.indexOf("staging")>-1)){var k;k=e.home.indexOf("production")>-1?e.home.split("production")[0]:e.home.split("staging")[0],k.indexOf("//")>-1&&(k=k.split("//")[1]),k=k.replace(/\\/g,"/").split("/"),k.length>=3&&(k=e.toLowerCase(k[1])),k&&k.length>1&&(B.siteKey=k)}B.getSize=function(t){var e=0,r=0,i=t.document,n=i.documentElement;return"number"==typeof t.innerWidth?(e=t.innerWidth,r=t.innerHeight):n&&(n.clientWidth||n.clientHeight)?(e=n.clientWidth,r=n.clientHeight):i.body&&(i.body.clientWidth||i.body.clientHeight)&&(e=i.body.clientWidth,r=i.body.clientHeight),{w:e,h:r}},B.getScroll=function(t){var e=0,r=0,i=t.document,n=i.documentElement;return"number"==typeof t.pageYOffset?(r=t.pageYOffset,e=t.pageXOffset):i.body&&(i.body.scrollLeft||i.body.scrollTop)?(r=i.body.scrollTop,e=i.body.scrollLeft):n&&(n.scrollLeft||n.scrollTop)&&(r=n.scrollTop,e=n.scrollLeft),{x:e,y:r}},B.setScroll=function(t,e,r){t.scrollTo(e,r)},B.getScreenResolution=function(){var t=window.screen;return e.isDefined(t)&&e.isDefined(t.width)&&"number"==typeof t.width?{w:t.width,h:t.height}:{w:0,h:0}},B.getFrameWindow=function(t){var e;return t&&t.contentWindow?e=t.contentWindow:t&&t.contentDocument&&t.contentDocument.defaultView&&(e=t.contentDocument.defaultView),e&&e!=e.top?e:null},B.escapeRegExp=function(t){return(t||"").toString().replace(/([-.*+?^${}()|[\]\/\\])/g,"\\$1")},B.trim=function(t){return(t||"").toString().replace(/\s+/g," ").replace(/^\s+|\s+$/g,"")},B.stripHTML=function(t){return(t||"").replace(/(<([^>]+)>)/gi,"")},B.merge=function(){var t,r,i,n,s,a={},o=arguments;for(t=0,r=o.length;t-1){var r=t.split(":");e=r[0],t=r[1]}return T[e]||(T[e]={}),T[e][t]||(T[e][t]=[]),{ns:e,en:t}};B.Bind=function(t,r,i,n){if(t&&r){r=e.toLowerCase(r);var s=I(r);if(T[s.ns][s.en].push({elem:t,cb:i,ub:!!n}),r.indexOf("unload")>-1)return void R.push(i);"propertychange"!=s.en&&t.addEventListener?t.addEventListener(s.en,i,!n):t.attachEvent&&t.attachEvent("on"+s.en,i)}},B.BindOnce=function(t,e,r){if(t&&e){var i=I(e);if(t["_acsEvent"+i.en])return;t["_acsEvent"+i.en]=!0,B.Bind(t,e,r)}};var E=function(t,e,r,i){e&&(e.parentNode||e.window||9==e.nodeType)&&("propertychange"!=t&&e.removeEventListener?e.removeEventListener(t,r,!i):e.detachEvent&&e.detachEvent("on"+t,r))};B.Unbind=function(t,e,r,i){var n,s,a,o;if(e&&e.indexOf("unload")>-1){for(o=0;o=0;t--)try{R[t].call()}catch(t){}e.dispose(R),B.Unbind()}},document.addEventListener?(window.addEventListener("beforeunload",B.HandleUnload,!0),window.addEventListener("pagehide",B.HandleUnload,!0),document.addEventListener("unload",B.HandleUnload,!0)):document.attachEvent&&window.attachEvent("onunload",B.HandleUnload),B.FSEvent=function(){this.id="_"+Math.round(99999*Math.random()),this.subscriptions=[],this.didFire=!1},B.FSEvent.prototype.subscribe=function(t,e,r){return this.subscriptions.push({once:!!e,cb:t}),r&&this.didFire&&(this.prevArgs?this.fire.apply(this,this.prevArgs):this.fire()),{unsubscribe:function(t,e){return function(){t.unsubscribe(e)}}(this,t)}},B.FSEvent.prototype.unsubscribe=function(t){for(var e=0;e 1.0";return t.width=250,t.height=30,e.textBaseline="top",e.font="14px 'Arial'",e.textBaseline="alphabetic",e.fillStyle="#f60",e.fillRect(125,1,62,20),e.fillStyle="#069",e.fillText(r,2,15),e.fillStyle="rgba(102, 204, 0, 0.7)",e.fillText(r,4,17),t.toDataURL()}catch(t){return"nocanvas"}},B.Fingerprint=O;var L;B.Frame=function(t){this.frameId="_fsCtrlFr";var r=_fsNormalizeUrl("$fs.frame.html?d="+e.enc(document.domain)+"&_cv_="+e.enc(e.config.codeVer)+"&_vt_="+e.enc(e.tagVersion))+"&uid="+e.enc(t.fp||"");"false"!==e.hasSSL&&("//"==r.substr(0,2)?r="https:"+r:"http"!=r.substr(0,4)&&/^\//.test(r)&&(r="https://"+S.location.host+r)),this.isSSL=e.toLowerCase(r).indexOf("https")>-1,"localhost"===S.location.hostname?r=r.replace(/:8080/gi,":443"):this.isSSL&&(r=r.replace(/:[0-9]+/gi,"")),this.iframeSrc=r,L||(L=new B.FSEvent),this.ready=L,this.trackerReady=new B.FSEvent,this._ajaxCalls={},this._ensureFrame(),B.Bind(window,"message",e.proxy(function(t){this._onMessage(t)},this))},B.Frame.prototype._ensureFrame=function(){if(this._iframeElement=document.getElementById(this.frameId),!this._iframeElement){var t=document.createElement("iframe");t.src=this.iframeSrc,t.id=this.frameId,t.className="_FSFRAME_",t._csrf=!0,t.style.display="none",t.setAttribute("title","ForeSee Control Frame"),t.setAttribute("_fsrB","true"),t.setAttribute("aria-hidden","true"),document&&document.body&&document.body.appendChild(t),this._iframeElement=t,this.ready.didFire&&(this.ready=new B.FSEvent)}},B.Frame.prototype._postMessage=function(t,r){this._ensureFrame();var i=JSON.stringify({src:"fstop",method:t,params:r||{}}),n=e.proxy(function(){this._iframeElement.contentWindow.postMessage(i,"*")},this);this.ready.didFire?n():this.ready.subscribe(n)},B.Frame.prototype._onMessage=function(t){var e;if(t.data&&-1!=(t.data+"").indexOf("frame")){try{e=JSON.parse(t.data)}catch(t){return}if("fsframe"==e.src)switch(this.ready.didFire||this.ready.fire(),e.method){case"ajaxreturn":var r=e.params.params.ajaxid;this._ajaxCalls[r]&&this._ajaxCalls[r].cb&&(this._ajaxCalls[r].cb(!!e.params.success,e.params.res||""),delete this._ajaxCalls[r]);break;case"trackerready":this.trackerReady.didFire||this.trackerReady.fire();break;case"securityerror":this._3pDisabled=__3pDataDisabled=!0}}},B.Frame.prototype.ajax=function(t,e,r,i,n,s){var a="_"+Math.round(99999999*Math.random());return n=!!n,s=s||"application/x-www-form-urlencoded",this._ajaxCalls[a]={payload:{method:t,url:e,data:r,ajaxid:a,skipencode:n,contenttype:s},cb:i},this._postMessage("ajax",this._ajaxCalls[a].payload)},B.Frame.prototype.broadcast=function(t,e,r){return this._postMessage("broadcast",{key:t,value:e,x:r})};var D=function(t){this.browser=t,this.ready=new B.FSEvent,t.isIE&&t.browser.version<11&&"https:"!=location.protocol?(this.fstg=new B.Frame(t),e.nextTick(e.proxy(function(){this.fstg.ready.subscribe(e.proxy(function(){this.ready.fire()},this),!0,!0)},this))):(this.ajax=new B.AjaxTransport,e.nextTick(e.proxy(function(){this.ready.fire()},this)))};D.prototype.send=function(t){this.ready.subscribe(e.proxy(function(){if(this.ajax)this.ajax.send(t);else{var r=e.ext({method:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",success:function(){},failure:function(){}},t);this.fstg.ajax(r.method,r.url,r.data,function(t){return function(e,r){e?t.success(r):t.failure(r)}}(r),!e.isDefined(t.skipEncode)||!!t.skipEncode,r.contentType)}},this),!0,!0)},D.prototype.dispose=function(){this.ajax&&this.ajax.dispose()},B.CORS=D,B.INT={},B.AjaxTransport=function(t){var r={method:"POST",data:{},contentType:"application/x-www-form-urlencoded",success:function(){},failure:function(){}};this.options=e.ext(r,t)},B.AjaxTransport.prototype.send=function(t){var r=e.ext({},this.options,t||{});window.XDomainRequest&&-1==window.navigator.userAgent.indexOf("MSIE 10")?this._sendViaXDR(r):window.XMLHttpRequest&&this._sendViaXHR(r),r=null},B.AjaxTransport.prototype.dispose=function(){e.dispose(this.options)},B.AjaxTransport.isSupported=function(){return!0},B.AjaxTransport.initialize=function(t){t.call(B.AjaxTransport)},B.AjaxTransport.prototype._sendViaXHR=function(t){var r=new window.XMLHttpRequest,i=t.contentType?e.toLowerCase(t.contentType).indexOf("json")>-1?"application/json; charset=utf-8":t.contentType:"application/x-www-form-urlencoded",n=e.toLowerCase(i).indexOf("json")>-1,s=n?"GET"==t.method?e.enc(JSON.stringify(t.data)):JSON.stringify(t.data):e.isDefined(t.skipEncode)&&!0===t.skipEncode?t.data:e.toQueryString(t.data),a=t.url;t.failure=t.failure||function(){},"GET"==t.method&&s&&s.length>0&&(a.indexOf("?")>-1?a+="&":a+="?",a+=s);try{r.open(t.method,a,!0)}catch(t){return}r.setRequestHeader("Accept","*/*"),r.setRequestHeader("Content-Type",i),r.timeout=t.timeout||0,r.onreadystatechange=function(t,e){return function(){4==e.readyState&&200==e.status?t.success&&t.success.apply(t,[e.responseText]):4==e.readyState&&200!=e.status&&t.failure&&t.failure.apply(t,[e.responseText])}}(t,r),r.send(s)},B.AjaxTransport.prototype._sendViaXDR=function(t){var r=e.isDefined(t.skipEncode)&&!0===t.skipEncode&&"GET"!==t.method.toUpperCase()?t.data:e.toQueryString(t.data,null,!1),i=t.url;t.failure=t.failure||function(){},"GET"==t.method&&r&&r.length>0&&(r=r.replace("?",""),i.indexOf("?")>-1?i+="&":i+="?",i+=r);var n=new window.XDomainRequest;n.onerror=t.failure||function(){},n.ontimeout=t.failure||function(){},n.onprogress=function(){},n.onload=function(t,e){return function(){e.success(t.responseText),t=null,e=null}}(n,t),n.timeout=6e4;try{n.open(t.method,i)}catch(e){return void(t.failure&&t.failure(e))}e.nextTick(function(){r?(e.isString(r)||(r=JSON.stringify(r)),n.send(r)):n.send()})},B.testSameDomain=function(t,r){var i=document.createElement("a");i.href=location.href;var n=i.hostname,s=i.protocol;i.href=t;var a=i.hostname||n,o=0===i.protocol.indexOf("http")?i.protocol:s;i.href=r;var h=i.hostname||n,f=0===i.protocol.indexOf("http")?i.protocol:s;return e.toLowerCase(a)==e.toLowerCase(h)&&e.toLowerCase(o)==e.toLowerCase(f)},B.addParameterToURL=function(t,e){return t+=(t.split("?")[1]?"&":"?")+e},B.hash=function(t){var e=t.split("_");return 3*e[0]+1357+""+(9*e[1]+58)},B.hashCode=function(t){var e,r=0,i="";if(0===t.length)return r;for(e=0;e-1;var i,n,s;if(t=e.toLowerCase(t.replace(/^\s+|\s+$/g,"").replace(/[\*]{2,}/g,"*")),r=e.toLowerCase(r),"*"==t)return!0;for(n=[];t.indexOf("*")>-1;)t.indexOf("*")>0&&n.push(t.substr(0,t.indexOf("*"))),n.push("*"),t=t.substr(t.indexOf("*")+1);for(t.length>0&&n.push(t),i=0!==n.length,s=0;ss+1){if(s++,-1==r.indexOf(n[s])){i=!1;break}r=r.substr(r.indexOf(n[s])+n[s].length)}if(s==n.length-1&&"*"!==n[s]&&r!=n[s]&&r!=n[s]+"/"&&n[s]!=r+"/"&&r.length>0&&"/"!=r){i=!1;break}}else{if(r.substr(0,t.length)!=t&&r!=t+"/"&&t!=r+"/"){i=!1;break}if(r=r.substr(t.length),s==n.length-1&&r.length>0&&"/"!=r){i=!1;break}}return!!i},B.getRootDomain=function(t){t=e.toLowerCase(t||document.domain).replace("https://","").replace("http://","");for(var r,i=["/","?",":"],n=i.length,s=0;s-1&&(t=t.substr(0,r));if(t.indexOf("localhost")>-1||0===t.replace(/[0-9\.]/g,"").length)return t;var a=t.split("."),o=a.length;return o>2&&(function(t){return["com","co","org","gov","edu","net"].indexOf(t)>-1}(a[o-2])||function(t){return t.indexOf("qc.ca")>-1}(t))?a[o-3]+"."+a[o-2]+"."+a[o-1]:o>1?a[o-2]+"."+a[o-1]:t},B.FULL_DAY=864e5,B.now=function(){return+new Date},B.startTime=B.now(),B.storageTypes={CK:"COOKIE",MC:"MICROCOOKIE",CL:"COOKIELESS",DS:"DOMSTORAGE"},B.persistDataType={GENERAL:"GENERAL",TRACKER:"TRACKER"};var F=function(t,r){var i=B.storageTypes,n=this.pers=e.config.storage.toUpperCase(),s=new Date,a={path:"/",domain:B.getRootDomain(),secure:!1,encode:!0,expires:new Date(s.getFullYear()+2,s.getMonth(),s.getDate()).toGMTString()};e.ext(this,{_storageKey:"_4c_",isReady:!1,_healthyServices:["brain"],_lastMaint:B.now(),_lastSave:B.now(),_lastSync:B.now(),defaultExpire:7776e6,ready:new B.FSEvent,onCommit:new B.FSEvent,onSync:new B.FSEvent,maxExpire:-1,_data:{when:B.now(),keys:{}},_keyEvents:{},isStale:!1,_cThreshold:2e3,_updateTimeout:6e4,isSyncing:!1,_serverFails:0}),this.browser=t,t.ready.subscribe(e.proxy(function(){t.supportsLocalStorage||n!=i.DS?t.isMobile&&n==i.CL&&(n=i.MC):n=i.CK,n==i.CK?(this.ckie=new B.Cookie(a),this.fr=new B.Frame(t)):n==i.MC?(this.ckie=new B.Cookie(a),this.uid=r||this.ckie.get(this._storageKey+"mc_"),this.uid&&(this.uid.length>64||this.uid.indexOf("{")>-1)&&(this.uid=B.generateGUID(),this.ckie.set(this._storageKey+"mc_",this.uid)),this.uid||(this.uid=B.generateGUID(),this.ckie.set(this._storageKey+"mc_",this.uid)),this.cors=new B.CORS(t)):n==i.CL?(this.uid=r||t.fp,this.cors=new B.CORS(t)):n==i.DS&&(this._cThreshold=500,this._updateTimeout=1e4),this._sync(e.proxy(function(){this.get("rid")||(this.uid=this.uid||B.generateGUID(),this.set("rid",this.uid)),this.uid=this.get("rid"),this.setUpdateInterval(this._updateTimeout),this.pers!=B.storageTypes.CK&&this.pers!=B.storageTypes.DS||this._maint(!0),this.fr?this.fr.ready.subscribe(e.proxy(function(){this.ready.fire(this)},this),!0,!0):this.ready.fire(this)},this))},this),!0,!0),B.Bind(window,"unload",e.proxy(function(){this.save(!0)},this))};F.prototype.upgradeOldStorage=function(r){for(var i=this.ckie,n=["fsr.r","fsr.s","_fsspl_","fsr.t","acs.t"],s=!1,a=0;at&&this._sync()},this),Math.min(t/2,5e3))},F.prototype._sync=function(t){if(!this.isSyncing){this.isSyncing=!0,t=t||function(){};var r,i;if(this.pers==B.storageTypes.CK){if(r=this.ckie.get(this._storageKey))return r=z.decompress(r),this._lastSync=B.now(),i=JSON.parse(r),this._fireChangeEvents(i.keys),i.keys=i.keys||{},this._data=i,this.onSync.fire(this),this.isSyncing=!1,void e.nextTick(t);this.isSyncing=!1,e.nextTick(t)}else if(this.pers==B.storageTypes.DS){if(r=localStorage.getItem(this._storageKey)){if(r=z.decompress(r),this._lastSync=B.now(),i=JSON.parse(r),i.keys=i.keys||{},this._fireChangeEvents(i.keys),this._data=i,e.nextTick(e.proxy(function(){this.onSync.fire(this)},this)),B.now()-this._data.when<3e5)return this.isSyncing=!1,void e.nextTick(t);this._lastSync=B.now(),this._data={when:B.now(),keys:{}}}this.isSyncing=!1,e.nextTick(t)}else{if(this._serverFails>5)return;B.Healthy(this.browser,this._healthyServices,e.proxy(function(){this.cors.send({method:"GET",url:e.config.brainUrl+"/state/"+B.siteKey+"/"+this.uid,success:e.proxy(function(r){this._lastSync=B.now();var i=JSON.parse(r);this._fireChangeEvents(i.keys),this._data=i,this.isSyncing=!1,e.nextTick(e.proxy(function(){this.onSync.fire(this)},this)),t()},this),failure:function(){this._lastSync=B.now(),this.isSyncing=!1,this._serverFails++}})},this))}}},F.prototype._fireChangeEvents=function(t){var r=this;for(var i in t)(!this._data.keys[i]||this._data.keys[i].t5)return;B.Healthy(this.browser,this._healthyServices,e.proxy(function(){this.cors.send({method:"POST",url:e.config.brainUrl+"/state/"+B.siteKey+"/"+this.uid,data:this._data,contentType:"application/json",success:e.proxy(function(t){this._lastSync=B.now(),this._data=JSON.parse(t),this.onCommit.fire(this._data)},this),failure:e.proxy(function(){this._serverFails++},this)})},this))}this.isStale=!1},F.prototype._maint=function(t){var e,r=B.now(),i=this._data.keys,n=!1;if(r-this._lastMaint>5e3||t){for(var s in i)e=i[s],r>e.x&&(delete i[s],n=!0);this._lastMaint=r}!n||this.pers!=B.storageTypes.CK&&this.pers!=B.storageTypes.DS||this._commit()},F.prototype.set=function(t,r,i,n,s,a){this._data.keys||(this._data.keys={});var o=this._data.keys[t],h=B.now(),f=null;if(s||(s=B.persistDataType.GENERAL),i)if("number"==typeof i)f=i,this.maxExpire>0&&this.maxExpire0)){var u=i-h;u>this.maxExpire&&(f=i=this.maxExpire,i=h+i)}if(this.pers!=B.storageTypes.CK&&this.pers!=B.storageTypes.DS||s!=B.persistDataType.TRACKER){if(o){var l={};l[t]={v:r,x:i||o.x,t:h},this._fireChangeEvents(l),o.v=r,o.x=i||o.x,f&&(o.ttl=f),o.t=h}else{var c={};c[t]={v:r,x:i||this.defaultExpire+h,t:h},f&&(c[t].ttl=f),this._fireChangeEvents(c),this._data.keys[t]=c[t]}this.isStale=!0,a&&this.onCommit.subscribe(a,!0,!1),this._maint(),this.save(!!n)}else this.fr&&this.fr.trackerReady.subscribe(e.proxy(function(){this.fr.broadcast(t,r,i)},this),!0,!0)},F.prototype.get=function(t){if(e.isArray(t)){for(var r={},i=0;it||e.ttl>t)&&(e.ttl=t,e.x&&(e.x-=s-t))}this.save(!0)},F.prototype.getMaxKeyExpiration=function(){var t=B.now(),e=this._data.keys,r=0;for(var i in e)r=Math.max(r,e[i].x-t);return r};var N;B.getGlobalStore=function(t,e){return N||(N=new F(t,e)),N};var U=function(t,e){this.loadSuccess=new B.FSEvent,this.loadFailure=new B.FSEvent,this.st=document.createElement("script"),this.st.type="text/javascript",this.st.src=t,e&&(this.st.id=e),this.br=new B.Browser,void 0!==this.st.addEventListener?this._loadOnOthers():void 0!==this.st.attachEvent&&this._loadOnIE()};if(U.prototype._loadOnIE=function(){var t=this,e=this.st;e.onreadystatechange=function(){3==e.readyState&&(e.onreadystatechange=function(){t.loadSuccess.fire(e.src),t.loadFailure=null},t.loadFailure&&t.loadFailure.fire(e.src))},document.body.appendChild(e)},U.prototype._loadOnOthers=function(){this.st.addEventListener("load",e.proxy(function(){this.loadSuccess.fire(this.st.src)},this),!1),this.st.addEventListener("error",e.proxy(function(){this.loadFailure.fire(this.st.src)},this),!1),document.body.appendChild(this.st)},!window.btoa){var M="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",j=new Array(-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-1,-1,-1,-1,-1);window.btoa=function(t){var e,r,i,n,s,a;for(i=t.length,r=0,e="";i>r;){if(n=255&t.charCodeAt(r++),r==i){e+=M.charAt(n>>2),e+=M.charAt((3&n)<<4),e+="==";break}if(s=t.charCodeAt(r++),r==i){e+=M.charAt(n>>2),e+=M.charAt((3&n)<<4|(240&s)>>4),e+=M.charAt((15&s)<<2),e+="=";break}a=t.charCodeAt(r++),e+=M.charAt(n>>2),e+=M.charAt((3&n)<<4|(240&s)>>4),e+=M.charAt((15&s)<<2|(192&a)>>6),e+=M.charAt(63&a)}return e},window.atob=function(t){var e,r,i,n,s,a,o;for(a=t.length,s=0,o="";a>s;){do{e=j[255&t.charCodeAt(s++)]}while(a>s&&-1==e);if(-1==e)break;do{r=j[255&t.charCodeAt(s++)]}while(a>s&&-1==r);if(-1==r)break;o+=String.fromCharCode(e<<2|(48&r)>>4);do{if(61==(i=255&t.charCodeAt(s++)))return o;i=j[i]}while(a>s&&-1==i);if(-1==i)break;o+=String.fromCharCode((15&r)<<4|(60&i)>>2);do{if(61==(n=255&t.charCodeAt(s++)))return o;n=j[n]}while(a>s&&-1==n);if(-1==n)break;o+=String.fromCharCode((3&i)<<6|n)}return o}}B.b64EncodeUnicode=function(t){return btoa(e.enc(t).replace(/%([0-9A-F]{2})/g,function(t,e){return String.fromCharCode("0x"+e)}))},B.b64DecodeUnicode=function(t){return decodeURIComponent(Array.prototype.map.call(atob(t).split(""),function(t){return"%"+("00"+t.charCodeAt(0).toString(16)).slice(-2)}).join(""))};var P={Util:{stringToByteArray:function(t){var e,r,i=t.split("");for(e=0,r=i.length;e>>0;return i}}};P.CompressionMethod={DEFLATE:8,RESERVED:15},P.BitStream=function(t,e){if(this.index="number"==typeof e?e:0,this.bitindex=0,this.buffer=t instanceof(_?Uint8Array:Array)?t:new(_?Uint8Array:Array)(P.BitStream.DefaultBlockSize),2*this.buffer.length<=this.index)throw new Error("invalid index");this.buffer.length<=this.index&&this.expandBuffer()},P.BitStream.DefaultBlockSize=32768,P.BitStream.prototype.expandBuffer=function(){var t,e=this.buffer,r=e.length,i=new(_?Uint8Array:Array)(r<<1);if(_)i.set(e);else for(t=0;t1&&(t=e>8?function(t){return P.BitStream.ReverseTable[255&t]<<24|P.BitStream.ReverseTable[t>>>8&255]<<16|P.BitStream.ReverseTable[t>>>16&255]<<8|P.BitStream.ReverseTable[t>>>24&255]}(t)>>32-e:P.BitStream.ReverseTable[t]>>8-e),e+a<8)o=o<>e-i-1&1,8==++a&&(a=0,n[s++]=P.BitStream.ReverseTable[o],o=0,s===n.length&&(n=this.expandBuffer()));n[s]=o,this.buffer=n,this.bitindex=a,this.index=s},P.BitStream.prototype.finish=function(){var t,e=this.buffer,r=this.index;return this.bitindex>0&&(e[r]<<=8-this.bitindex,e[r]=P.BitStream.ReverseTable[e[r]],r++),_?t=e.subarray(0,r):(e.length=r,t=e),t},P.BitStream.ReverseTable=function(t){return t}(function(){var t,e=new(_?Uint8Array:Array)(256);for(t=0;t<256;++t)e[t]=function(t){var e=t,r=7;for(t>>>=1;t;t>>>=1)e<<=1,e|=1&t,--r;return(e<>>0}(t);return e}()),P.Huffman={},P.Huffman.buildHuffmanTable=function(t){var e,r,i,n,s,a,o,h,f,u,l,c=t.length,p=0,d=Number.POSITIVE_INFINITY;for(h=0,f=c;hp&&(p=t[h]),t[h]>=1;for(l=i<<16|h,u=a;u0&&(i=this.getParent(r),s[r]>s[i]);)n=s[r],s[r]=s[i],s[i]=n,n=s[r+1],s[r+1]=s[i+1],s[i+1]=n,r=i;return this.length},P.Heap.prototype.pop=function(){var t,e,r,i,n,s=this.buffer;for(e=s[0],t=s[1],this.length-=2,s[0]=s[this.length],s[1]=s[this.length+1],n=0;;){if((i=this.getChild(n))>=this.length)break;if(i+2s[i]&&(i+=2),!(s[i]>s[n]))break;r=s[n],s[n]=s[i],s[i]=r,r=s[n+1],s[n+1]=s[i+1],s[i+1]=r,n=i}return{index:t,value:e,length:this.length}},P.RawDeflate=function(t,e){this.compressionType=P.RawDeflate.CompressionType.DYNAMIC,this.lazy=0,this.freqsLitLen,this.freqsDist,this.input=_&&t instanceof Array?new Uint8Array(t):t,this.output,this.op=0,e&&(e.lazy&&(this.lazy=e.lazy),"number"==typeof e.compressionType&&(this.compressionType=e.compressionType), +e.outputBuffer&&(this.output=_&&e.outputBuffer instanceof Array?new Uint8Array(e.outputBuffer):e.outputBuffer),"number"==typeof e.outputIndex&&(this.op=e.outputIndex)),this.output||(this.output=new(_?Uint8Array:Array)(32768))},P.RawDeflate.CompressionType={NONE:0,FIXED:1,DYNAMIC:2,RESERVED:3},P.RawDeflate.Lz77MinLength=3,P.RawDeflate.Lz77MaxLength=258,P.RawDeflate.WindowSize=32768,P.RawDeflate.MaxCodeLength=16,P.RawDeflate.HUFMAX=286,P.RawDeflate.FixedHuffmanTable=function(){var t,e=[];for(t=0;t<288;t++)switch(!0){case t<=143:e.push([t+48,8]);break;case t<=255:e.push([t-144+400,9]);break;case t<=279:e.push([t-256+0,7]);break;case t<=287:e.push([t-280+192,8]);break;default:throw"invalid literal: "+t}return e}(),P.RawDeflate.prototype.compress=function(){var t,e,r,i=this.input;switch(this.compressionType){case P.RawDeflate.CompressionType.NONE:for(e=0,r=i.length;e>>8&255,h[f++]=255&s,h[f++]=s>>>8&255,_)h.set(t,f),f+=t.length,h=h.subarray(0,f);else{for(a=0,o=t.length;a257&&0===h[s-1];s--);for(a=30;a>1&&0===u[a-1];a--);for(c=this.getTreeSymbols_(s,h,a,u),p=this.getLengths_(c.freqs,7),w=0;w<19;w++)x[w]=p[v[w]];for(o=19;o>4&&0===x[o-1];o--);for(d=this.getCodesFromLengths_(p),m.writeBits(s-257,5,!0),m.writeBits(a-1,5,!0),m.writeBits(o-4,4,!0),w=0;w=16){switch(w++,g){case 16:y=2;break;case 17:y=3;break;case 18:y=7;break;default:throw"invalid code: "+g}m.writeBits(c.codes[w],y,!0)}return this.dynamicHuffman(n,[f,h],[l,u],m),m.finish()},P.RawDeflate.prototype.dynamicHuffman=function(t,e,r,i){var n,s,a,o,h,f,u,l;for(h=e[0],f=e[1],u=r[0],l=r[1],n=0,s=t.length;n256)i.writeBits(t[++n],t[++n],!0),o=t[++n],i.writeBits(u[o],l[o],!0),i.writeBits(t[++n],t[++n],!0);else if(256===a)break;return i},P.RawDeflate.prototype.fixedHuffman=function(t,e){var r,i,n;for(r=0,i=t.length;r256)e.writeBits(t[++r],t[++r],!0),e.writeBits(t[++r],5),e.writeBits(t[++r],t[++r],!0);else if(256===n)break;return e},P.RawDeflate.Lz77Match=function(t,e){this.length=t,this.backwardDistance=e},P.RawDeflate.Lz77Match.LengthCodeTable=function(t){return _?new Uint32Array(t):t}(function(){var t,e,r=[];for(t=3;t<=258;t++)e=function(t){switch(!0){case 3===t:return[257,t-3,0];case 4===t:return[258,t-4,0];case 5===t:return[259,t-5,0];case 6===t:return[260,t-6,0];case 7===t:return[261,t-7,0];case 8===t:return[262,t-8,0];case 9===t:return[263,t-9,0];case 10===t:return[264,t-10,0];case t<=12:return[265,t-11,1];case t<=14:return[266,t-13,1];case t<=16:return[267,t-15,1];case t<=18:return[268,t-17,1];case t<=22:return[269,t-19,2];case t<=26:return[270,t-23,2];case t<=30:return[271,t-27,2];case t<=34:return[272,t-31,2];case t<=42:return[273,t-35,3];case t<=50:return[274,t-43,3];case t<=58:return[275,t-51,3];case t<=66:return[276,t-59,3];case t<=82:return[277,t-67,4];case t<=98:return[278,t-83,4];case t<=114:return[279,t-99,4];case t<=130:return[280,t-115,4];case t<=162:return[281,t-131,5];case t<=194:return[282,t-163,5];case t<=226:return[283,t-195,5];case t<=257:return[284,t-227,5];case 258===t:return[285,t-258,0];default:throw"invalid length: "+t}}(t),r[t]=e[2]<<24|e[1]<<16|e[0];return r}()),P.RawDeflate.Lz77Match.prototype.getDistanceCode_=function(t){var e;switch(!0){case 1===t:e=[0,t-1,0];break;case 2===t:e=[1,t-2,0];break;case 3===t:e=[2,t-3,0];break;case 4===t:e=[3,t-4,0];break;case t<=6:e=[4,t-5,1];break;case t<=8:e=[5,t-7,1];break;case t<=12:e=[6,t-9,2];break;case t<=16:e=[7,t-13,2];break;case t<=24:e=[8,t-17,3];break;case t<=32:e=[9,t-25,3];break;case t<=48:e=[10,t-33,4];break;case t<=64:e=[11,t-49,4];break;case t<=96:e=[12,t-65,5];break;case t<=128:e=[13,t-97,5];break;case t<=192:e=[14,t-129,6];break;case t<=256:e=[15,t-193,6];break;case t<=384:e=[16,t-257,7];break;case t<=512:e=[17,t-385,7];break;case t<=768:e=[18,t-513,8];break;case t<=1024:e=[19,t-769,8];break;case t<=1536:e=[20,t-1025,9];break;case t<=2048:e=[21,t-1537,9];break;case t<=3072:e=[22,t-2049,10];break;case t<=4096:e=[23,t-3073,10];break;case t<=6144:e=[24,t-4097,11];break;case t<=8192:e=[25,t-6145,11];break;case t<=12288:e=[26,t-8193,12];break;case t<=16384:e=[27,t-12289,12];break;case t<=24576:e=[28,t-16385,13];break;case t<=32768:e=[29,t-24577,13];break;default:throw"invalid distance"}return e},P.RawDeflate.Lz77Match.prototype.toLz77Array=function(){var t,e=this.length,r=this.backwardDistance,i=[],n=0;return t=P.RawDeflate.Lz77Match.LengthCodeTable[e],i[n++]=65535&t,i[n++]=t>>16&255,i[n++]=t>>24,t=this.getDistanceCode_(r),i[n++]=t[0],i[n++]=t[1],i[n++]=t[2],i},P.RawDeflate.prototype.lz77=function(t){function e(t,e){var r,i,n=t.toLz77Array();for(r=0,i=n.length;r0)o.push(r);else{for(;o.length>0&&r-o[0]>c;)o.shift();if(r+P.RawDeflate.Lz77MinLength>=i){for(f&&e(f,-1),n=0,s=i-r;n0?(h=this.searchLongestMatch_(t,r,o),f?f.lengthP.RawDeflate.Lz77MinLength){for(o=f;o>P.RawDeflate.Lz77MinLength;o--)if(t[i+o-1]!==t[e+o-1])continue t;s=f}for(;sf&&(n=i,f=s),s===P.RawDeflate.Lz77MaxLength)break}return new P.RawDeflate.Lz77Match(f,e-n)},P.RawDeflate.prototype.getTreeSymbols_=function(t,e,r,i){var n,s,a,o,h,f,u=new(_?Uint32Array:Array)(t+r),l=new(_?Uint32Array:Array)(316),c=new(_?Uint8Array:Array)(19);for(s=0,n=0;n0;)l[h++]=0,c[0]++;else for(;a>0;)f=a<138?a:138,f>a-3&&f0;)l[h++]=u[n],c[u[n]]++;else for(;a>0;)f=a<6?a:6,f>a-3&&f0&&h.push(s,t[s]);if(r=new Array(h.length/2),i=new(_?Uint32Array:Array)(h.length/2),1===r.length)return f[h.pop().index]=1,f;for(s=0,a=h.length/2;s2*f[s-1]+u[s]&&(f[s]=2*f[s-1]+u[s]),c[s]=new Array(f[s]),p[s]=new Array(f[s]);for(n=0;n=0;--s){for(n=0,o=0,h=d[s+1],a=0;at[n]?(c[s][a]=o,p[s][a]=e,h+=2):(c[s][a]=t[n],p[s][a]=n,++n);d[s]=0,1===u[s]&&i(s)}return l},P.RawDeflate.prototype.getCodesFromLengths_=function(t){var e,r,i,n,s=new(_?Uint16Array:Array)(t.length),a=[],o=[],h=0;for(e=0,r=t.length;e>>=1;return s};var H=P.Huffman.buildHuffmanTable;P.RawInflate=function(t,e){switch(this.buffer,this.blocks=[],this.bufferSize=ZLIB_RAW_INFLATE_BUFFER_SIZE,this.totalpos=0,this.ip=0,this.bitsbuf=0,this.bitsbuflen=0,this.input=_?new Uint8Array(t):t,this.output,this.op,this.bfinal=!1,this.bufferType=P.RawInflate.BufferType.ADAPTIVE,this.resize=!1,this.prev,!e&&(e={})||(e.index&&(this.ip=e.index),e.bufferSize&&(this.bufferSize=e.bufferSize),e.bufferType&&(this.bufferType=e.bufferType),e.resize&&(this.resize=e.resize)),this.bufferType){case P.RawInflate.BufferType.BLOCK:this.op=P.RawInflate.MaxBackwardLength,this.output=new(_?Uint8Array:Array)(P.RawInflate.MaxBackwardLength+this.bufferSize+P.RawInflate.MaxCopyLength);break;case P.RawInflate.BufferType.ADAPTIVE:this.op=0,this.output=new(_?Uint8Array:Array)(this.bufferSize),this.expandBuffer=this.expandBufferAdaptive,this.concatBuffer=this.concatBufferDynamic,this.decodeHuffman=this.decodeHuffmanAdaptive;break;default:throw new Error("invalid inflate mode")}},P.RawInflate.BufferType={BLOCK:0,ADAPTIVE:1},P.RawInflate.prototype.decompress=function(){for(;!this.bfinal;)this.parseBlock();return this.concatBuffer()},P.RawInflate.MaxBackwardLength=32768,P.RawInflate.MaxCopyLength=258,P.RawInflate.Order=function(t){return _?new Uint16Array(t):t}([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),P.RawInflate.LengthCodeTable=function(t){return _?new Uint16Array(t):t}([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,258,258]),P.RawInflate.LengthExtraTable=function(t){return _?new Uint8Array(t):t}([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0]),P.RawInflate.DistCodeTable=function(t){return _?new Uint16Array(t):t}([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577]),P.RawInflate.DistExtraTable=function(t){return _?new Uint8Array(t):t}([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),P.RawInflate.FixedLiteralLengthTable=function(t){return t}(function(){var t,e,r=new(_?Uint8Array:Array)(288);for(t=0,e=r.length;t>>=1){case 0:this.parseUncompressedBlock();break;case 1:this.parseFixedHuffmanBlock();break;case 2:this.parseDynamicHuffmanBlock();break;default:throw new Error("unknown BTYPE: "+t)}},P.RawInflate.prototype.readBits=function(t){for(var e,r=this.bitsbuf,i=this.bitsbuflen,n=this.input,s=this.ip,a=n.length;i=a)throw new Error("input buffer is broken");r|=n[s++]<>>=t,i-=t,this.bitsbuf=r,this.bitsbuflen=i,this.ip=s,e},P.RawInflate.prototype.readCodeByTable=function(t){for(var e,r,i=this.bitsbuf,n=this.bitsbuflen,s=this.input,a=this.ip,o=s.length,h=t[0],f=t[1];n=o);)i|=s[a++]<>>16,this.bitsbuf=i>>r,this.bitsbuflen=n-r,this.ip=a,65535&e},P.RawInflate.prototype.parseUncompressedBlock=function(){var t,e,r,i=this.input,n=this.ip,s=this.output,a=this.op,o=i.length,h=s.length;if(this.bitsbuf=0,this.bitsbuflen=0,n+1>=o)throw new Error("invalid uncompressed block header: LEN");if(t=i[n++]|i[n++]<<8,n+1>=o)throw new Error("invalid uncompressed block header: NLEN");if(e=i[n++]|i[n++]<<8,t===~e)throw new Error("invalid uncompressed block header: length verify");if(n+t>i.length)throw new Error("input buffer is broken");switch(this.bufferType){case P.RawInflate.BufferType.BLOCK:for(;a+t>s.length;){if(r=h-a,t-=r,_)s.set(i.subarray(n,n+r),a),a+=r,n+=r;else for(;r--;)s[a++]=i[n++];this.op=a,s=this.expandBuffer(),a=this.op}break;case P.RawInflate.BufferType.ADAPTIVE:for(;a+t>s.length;)s=this.expandBuffer({fixRatio:2});break;default:throw new Error("invalid inflate mode")}if(_)s.set(i.subarray(n,n+t),a),a+=t,n+=t;else for(;t--;)s[a++]=i[n++];this.ip=n,this.op=a,this.output=s},P.RawInflate.prototype.parseFixedHuffmanBlock=function(){this.decodeHuffman(P.RawInflate.FixedLiteralLengthTable,P.RawInflate.FixedDistanceTable)},P.RawInflate.prototype.parseDynamicHuffmanBlock=function(){function t(t,e,r){var i,n,s,a=this.prev;for(s=0;s=h&&(this.op=i,r=this.expandBuffer(),i=this.op),r[i++]=n;else for(s=n-257,o=P.RawInflate.LengthCodeTable[s],P.RawInflate.LengthExtraTable[s]>0&&(o+=this.readBits(P.RawInflate.LengthExtraTable[s])),n=this.readCodeByTable(e),a=P.RawInflate.DistCodeTable[n],P.RawInflate.DistExtraTable[n]>0&&(a+=this.readBits(P.RawInflate.DistExtraTable[n])),i>=h&&(this.op=i,r=this.expandBuffer(),i=this.op);o--;)r[i]=r[i++-a];for(;this.bitsbuflen>=8;)this.bitsbuflen-=8,this.ip--;this.op=i},P.RawInflate.prototype.decodeHuffmanAdaptive=function(t,e){var r=this.output,i=this.op;this.currentLitlenTable=t;for(var n,s,a,o,h=r.length;256!==(n=this.readCodeByTable(t));)if(n<256)i>=h&&(r=this.expandBuffer(),h=r.length),r[i++]=n;else for(s=n-257,o=P.RawInflate.LengthCodeTable[s],P.RawInflate.LengthExtraTable[s]>0&&(o+=this.readBits(P.RawInflate.LengthExtraTable[s])),n=this.readCodeByTable(e),a=P.RawInflate.DistCodeTable[n],P.RawInflate.DistExtraTable[n]>0&&(a+=this.readBits(P.RawInflate.DistExtraTable[n])),i+o>h&&(r=this.expandBuffer(),h=r.length);o--;)r[i]=r[i++-a];for(;this.bitsbuflen>=8;)this.bitsbuflen-=8,this.ip--;this.op=i},P.RawInflate.prototype.expandBuffer=function(t){var e,r,i=new(_?Uint8Array:Array)(this.op-P.RawInflate.MaxBackwardLength),n=this.op-P.RawInflate.MaxBackwardLength,s=this.output;if(_)i.set(s.subarray(P.RawInflate.MaxBackwardLength,i.length));else for(e=0,r=i.length;ee&&(this.output.length=e),t=this.output),this.buffer=t,this.buffer},P.RawInflate=function(t,e){switch(this.buffer,this.blocks=[],this.bufferSize=32768,this.totalpos=0,this.ip=0,this.bitsbuf=0,this.bitsbuflen=0,this.input=_?new Uint8Array(t):t,this.output,this.op,this.bfinal=!1,this.bufferType=P.RawInflate.BufferType.ADAPTIVE,this.resize=!1,this.prev,!e&&(e={})||(e.index&&(this.ip=e.index),e.bufferSize&&(this.bufferSize=e.bufferSize),e.bufferType&&(this.bufferType=e.bufferType),e.resize&&(this.resize=e.resize)),this.bufferType){case P.RawInflate.BufferType.BLOCK:this.op=P.RawInflate.MaxBackwardLength,this.output=new(_?Uint8Array:Array)(P.RawInflate.MaxBackwardLength+this.bufferSize+P.RawInflate.MaxCopyLength);break;case P.RawInflate.BufferType.ADAPTIVE:this.op=0,this.output=new(_?Uint8Array:Array)(this.bufferSize),this.expandBuffer=this.expandBufferAdaptive,this.concatBuffer=this.concatBufferDynamic,this.decodeHuffman=this.decodeHuffmanAdaptive}},P.RawInflate.BufferType={BLOCK:0,ADAPTIVE:1},P.RawInflate.prototype.decompress=function(){for(;!this.bfinal;)this.parseBlock();return this.concatBuffer()},P.RawInflate.MaxBackwardLength=32768,P.RawInflate.MaxCopyLength=258,P.RawInflate.Order=function(t){return _?new Uint16Array(t):t}([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),P.RawInflate.LengthCodeTable=function(t){return _?new Uint16Array(t):t}([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,258,258]),P.RawInflate.LengthExtraTable=function(t){return _?new Uint8Array(t):t}([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0]),P.RawInflate.DistCodeTable=function(t){return _?new Uint16Array(t):t}([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577]),P.RawInflate.DistExtraTable=function(t){return _?new Uint8Array(t):t}([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),P.RawInflate.FixedLiteralLengthTable=function(t){return t}(function(){var t,e,r=new(_?Uint8Array:Array)(288);for(t=0,e=r.length;t>>=1){case 0:this.parseUncompressedBlock();break;case 1:this.parseFixedHuffmanBlock();break;case 2:this.parseDynamicHuffmanBlock();break;default:throw new Error("unknown BTYPE: "+t)}},P.RawInflate.prototype.readBits=function(t){for(var e,r=this.bitsbuf,i=this.bitsbuflen,n=this.input,s=this.ip,a=n.length;i=a)throw new Error("input buffer is broken");r|=n[s++]<>>=t,i-=t,this.bitsbuf=r,this.bitsbuflen=i,this.ip=s,e},P.RawInflate.prototype.readCodeByTable=function(t){for(var e,r,i=this.bitsbuf,n=this.bitsbuflen,s=this.input,a=this.ip,o=s.length,h=t[0],f=t[1];n=o);)i|=s[a++]<>>16,this.bitsbuf=i>>r,this.bitsbuflen=n-r,this.ip=a,65535&e},P.RawInflate.prototype.parseUncompressedBlock=function(){var t,e,r,i=this.input,n=this.ip,s=this.output,a=this.op,o=i.length,h=s.length;if(this.bitsbuf=0,this.bitsbuflen=0,n+1>=o)throw new Error("invalid uncompressed block header: LEN");if(t=i[n++]|i[n++]<<8,n+1>=o)throw new Error("invalid uncompressed block header: NLEN");if(e=i[n++]|i[n++]<<8,t===~e)throw new Error("invalid uncompressed block header: length verify");if(n+t>i.length)throw new Error("input buffer is broken");switch(this.bufferType){case P.RawInflate.BufferType.BLOCK:for(;a+t>s.length;){if(r=h-a,t-=r,_)s.set(i.subarray(n,n+r),a),a+=r,n+=r;else for(;r--;)s[a++]=i[n++];this.op=a,s=this.expandBuffer(),a=this.op}break;case P.RawInflate.BufferType.ADAPTIVE:for(;a+t>s.length;)s=this.expandBuffer({fixRatio:2});break;default:throw new Error("invalid inflate mode")}if(_)s.set(i.subarray(n,n+t),a),a+=t,n+=t;else for(;t--;)s[a++]=i[n++];this.ip=n,this.op=a,this.output=s},P.RawInflate.prototype.parseFixedHuffmanBlock=function(){this.decodeHuffman(P.RawInflate.FixedLiteralLengthTable,P.RawInflate.FixedDistanceTable)},P.RawInflate.prototype.parseDynamicHuffmanBlock=function(){function t(t,e,r){var i,n,s,a=this.prev;for(s=0;s=h&&(this.op=i,r=this.expandBuffer(),i=this.op),r[i++]=n;else for(s=n-257,o=P.RawInflate.LengthCodeTable[s],P.RawInflate.LengthExtraTable[s]>0&&(o+=this.readBits(P.RawInflate.LengthExtraTable[s])),n=this.readCodeByTable(e),a=P.RawInflate.DistCodeTable[n],P.RawInflate.DistExtraTable[n]>0&&(a+=this.readBits(P.RawInflate.DistExtraTable[n])),i>=h&&(this.op=i,r=this.expandBuffer(),i=this.op);o--;)r[i]=r[i++-a];for(;this.bitsbuflen>=8;)this.bitsbuflen-=8,this.ip--;this.op=i},P.RawInflate.prototype.decodeHuffmanAdaptive=function(t,e){var r=this.output,i=this.op;this.currentLitlenTable=t;for(var n,s,a,o,h=r.length;256!==(n=this.readCodeByTable(t));)if(n<256)i>=h&&(r=this.expandBuffer(),h=r.length),r[i++]=n;else for(s=n-257,o=P.RawInflate.LengthCodeTable[s],P.RawInflate.LengthExtraTable[s]>0&&(o+=this.readBits(P.RawInflate.LengthExtraTable[s])),n=this.readCodeByTable(e),a=P.RawInflate.DistCodeTable[n],P.RawInflate.DistExtraTable[n]>0&&(a+=this.readBits(P.RawInflate.DistExtraTable[n])),i+o>h&&(r=this.expandBuffer(),h=r.length);o--;)r[i]=r[i++-a];for(;this.bitsbuflen>=8;)this.bitsbuflen-=8,this.ip--;this.op=i},P.RawInflate.prototype.expandBuffer=function(t){var e,r,i=new(_?Uint8Array:Array)(this.op-P.RawInflate.MaxBackwardLength),n=this.op-P.RawInflate.MaxBackwardLength,s=this.output;if(_)i.set(s.subarray(P.RawInflate.MaxBackwardLength,i.length));else for(e=0,r=i.length;ee&&(this.output.length=e),t=this.output),this.buffer=t,this.buffer},B.Async=function(t,e,r){this.isParallel=!!t,this._queue=[],this.success=e,this.fail=r,this.isPending=!0},B.Async.prototype.enqueue=function(t){this._queue.push({fn:t,resolved:!1}),(this.isParallel||1==this._queue.length)&&t.apply(this,[{resolve:e.proxy(function(){e.nextTick(e.proxy(function(){this.ctx.resolve(this.cb)},this))},{cb:t,ctx:this}),error:e.proxy(function(){this.ctx.error(this.cb)},{cb:t,ctx:this})}])},B.Async.prototype.resolve=function(t){if(this.isPending){if(!t)throw new Error("Missing caller argument.");var r,i,n=!1;for(r=0;r-1},a=function(t,e){return"IE"!=t?e:e>6&&e<10?s("Trident")||7!=e?s("Trident/5.0")&&e<=9?9:s("Trident/4.0")&&e<9?s("WOW64")?8:7==e?e:8:e:7:e},o=function(t,r){return r?s("Windows Phone")?"Winphone":s("iPod")?"iPod":s("iPad")?"iPad":s("iPhone")?"iPhone":(s("blackberry")||s("playbook")||s("BB10"))&&s("applewebkit")?"Blackberry":s("Kindle")||s("Silk")?"Kindle":s("BNTV")||s("Nook")?"Nook":s("Android")?"Android":e.isDefined(window.orientation)?"Mobile":"Other":s("Windows")?"Windows":s("OS X")?"Mac":s("Linux")||s("Googlebot")?"Linux":s("Mac")?"Mac":void 0},h=function(t,e){for(;t>=e;)t/=10;return t},f=function(t,r){var i,n,a,o,f,u;return s("windows phone")||!s("ipad")&&!s("iphone")?s("googlebot")?1:s("mac os x")?(i=/OS X ([0-9_]*)/gi.exec(t),n=i[1].split("_"),a=parseInt(n[0]),f=parseInt(n[1]),u=parseInt(n[2]),f+=h(u,1),a+h(f,1)):s("Windows NT")?(i=/Windows NT ([0-9\.]*)/gi.exec(t),n=i[1].split("."),a=parseInt(n[0]),f=parseInt(n[1]),a+h(f,1)):(i=t.match(/Windows Phone OS[\/\s](\d+\.?\d+)/)||t.match(/Windows Phone[\/\s](\d+\.?\d+)/)||t.match(/Android[\/\s](\d+\.?\d+)/),a=e.isDefined(i)?i[1]:1,o=parseFloat(a),!isNaN(o)&&o>0?o:a):(i=/OS ([0-9_]*) like/gi.exec(t),n=i[1].split("_"),a=parseInt(n[0]),f=parseInt(n[1]),a+h(f,1))},u=function(){if("Winphone"!=r.os.name){var t=document.querySelectorAll("head meta[name=viewport],head meta[name=VIEWPORT],head meta[name=Viewport]")||[];if(e.isArray(t)||(t=[t]),t.length>0){for(var i=function(t,e){var r=new RegExp("[\\w\\W]*"+e+"[\\s]*=[\\s]*([^\\s,;]*)[\\w\\W]*","i");return t?t.match(r):null},n=0;n1&&("0"==a[1]||"no"==e.toLowerCase(a[1])))return!1;if(o&&h)return!(o.length>1&&h.length>1&&1==parseFloat(o[1])&&1==parseFloat(h[1]))}return!0}return!0}return!1},l=B._getBrowserNameAndVersion(i),c=function(){r.browser.name=l.name,r.browser.version=l.version,r.browser.actualVersion=a(r.browser.name,r.browser.version),r.os.name=o(0,r.isMobile),r.os.version=f(i,r.isMobile)},p=function(){r.isZoomable=u(),r.isReady=!0,r._internalReady.fire()},d=function(){c()};if(r.isMobile)if(r.isIos||""===r.servUrl||r.isTablet||r.isWinPhone)d(),p();else{var g,y=function(t){var e=JSON.parse(t);r.browser.name=e.browser.name,r.browser.version=r.browser.actualVersion=e.browser.version,r.os.name=e.os.name,r.os.version=e.os.version,r.isMobile=e.isMobile,r.isTablet=e.isTablet,p()},w=this.supportsLocalStorage;if(w&&!t&&(g=sessionStorage.getItem("ACS_BROWSER")),g)y(g);else{var b=function(t){w&&sessionStorage.setItem("ACS_BROWSER",t),y(t)},m=function(){d(),p()},v=function(){var t=new Date,e=t.getFullYear().toString(),r=(t.getMonth()+1).toString(),i=t.getDate().toString();return e+(r[1]?r:"0"+r[0])+(i[1]?i:"0"+i[0])},x={method:"GET",url:r.servUrl+function(){var t=v()+"ForeSee"+(location.origin||"null");return B.hashCode(t)}()+"&ua="+i,type:"*/*",contentType:"application/x-www-form-urlencoded",success:b,failure:m};new B.AjaxTransport(x,!0).send()}}else c(),r.isReady=!0,r.isIE="IE"==r.browser.name,r._internalReady.fire()},B._getBrowserNameAndVersion=function(t){var e,r,i="Unknown";return null!==(r=t.match(/Opera[\/\s](\d+\.\d+)/))?i="Opera":null!==(r=t.match(/Edge\/([0-9\.]*)/))?i="IE":null!==(r=t.match(/opr[\/\s](\d+\.\d+)/i))?i="Opera":null!==(r=t.match(/Windows Phone[\/\s](\d+\.\d+)/))?i="IEMobile":null!==(r=t.match(/MSIE (\d+\.\d+)/))?i="IE":null!==(r=t.match(/Navigator[\/\s](\d+\.\d+)/))?i="Netscape":null!==(r=t.match(/Chrome[\/\s](\d+\.\d+)/))?i="Chrome":null!==(r=t.match(/CriOS[\/\s](\d+\.\d+)/))?i="Chrome":null!==(r=t.match(/Version\/([0-9\.]*)[\w\W]*Safari/i))?i="Safari":null!==(r=t.match(/Firefox[\/\s](\d+\.\d+)/))?i="Firefox":null!==(r=t.match(/googlebot/gi))?(i="Chrome",e=44):Object.hasOwnProperty.call(window,"ActiveXObject")&&!window.ActiveXObject&&(i="IE", +e=11),{name:i,version:e||(null!==r?parseFloat(r[1]):void 0)}},B.sign=function(t){var r=(new Date).getTime(),i=t.substr(t.indexOf("/rec/")),n=B.md5((i+r).toString());return-1==t.indexOf("?")?t+="?":t+="&",t+"token="+r+"&sig="+e.enc(n)},B.WindowStorage=function(t,r){t||(t="STORAGE"),this.guid="FSR_"+t.replace(/[- _.&]/g,"").toUpperCase(),this.storageLimit=5e6,this.StorageFull=new B.FSEvent,this.kill(),this.sync(),e.isDefined(r)&&!r||setTimeout(e.proxy(function(){B.Bind(window,"unload",e.proxy(function(){this.commit()},this))},this),100)},B.WindowStorage.prototype.testStorageLimit=function(){return this.storageBytesObj+this.storageBytesBlob>=this.storageLimit&&(this.StorageFull.fire(this),!0)},B.WindowStorage.prototype.dispose=function(t){this._data_obj[t]&&(delete this._data_obj[t],this.storageBytesObj=JSON.stringify(this._data_obj).length)},B.WindowStorage.prototype.kill=function(){this.storageBytesObj=0,this.storageBytesBlob=0,this._data_obj={},this._data_blob="",this.isNewStorage=!0},B.WindowStorage.prototype.get=function(t){return this._data_obj[t]},B.WindowStorage.prototype.getBlob=function(){return this._data_blob},B.WindowStorage.prototype.erase=function(t){delete this._data_obj[t],this.storageBytesObj=JSON.stringify(this._data_obj).length,this.isNewStorage=!1,this.testStorageLimit()},B.WindowStorage.prototype.set=function(t,e){e&&(this._data_obj[t]=e,this.storageBytesObj=JSON.stringify(this._data_obj).length,this.isNewStorage=!1,this.testStorageLimit())},B.WindowStorage.prototype.setBlob=function(t){this._data_blob=t,this.storageBytesBlob=this._data_blob.length,this.isNewStorage=!1,this.testStorageLimit()},B.WindowStorage.prototype.isNew=function(){return this.isNewStorage},B.WindowStorage.initialize=function(t){t.apply(B.WindowStorage)},B.WindowStorage.isSupported=function(){return!0},B.WindowStorage.prototype.sync=function(){var t=B.nameBackup||window.name||"",e=this.guid+"_",r="",i=t.indexOf(e+"BEGIN_OBJ");i>-1&&(r=t.substr(i+(e+"BEGIN_OBJ").length,t.indexOf(e+"END_OBJ")-(i+(e+"BEGIN_OBJ").length)));try{r.length>0&&(this._data_obj=JSON.parse(r),this.storageBytesObj=r.length,this.isNewStorage=!1)}catch(t){}r="",(i=t.indexOf(e+"BEGIN_BLOB"))>-1&&(r=t.substr(i+(e+"BEGIN_BLOB").length,t.indexOf(e+"END_BLOB")-(i+(e+"BEGIN_BLOB").length)));try{r.length>0&&(this._data_blob=r,this.storageBytesBlob=r.length,this.isNewStorage=!1)}catch(t){}},B.WindowStorage.prototype.commit=function(){var t=window.name;e.isDefined(t)||(t="");var r=this.guid+"_",i=t.indexOf(r+"BEGIN_OBJ"),n=JSON.stringify(this._data_obj),s=r+"BEGIN_OBJ"+n+r+"END_OBJ";i>-1?t=t.substr(0,i)+s+t.substr(t.indexOf(r+"END_OBJ")+(r+"END_OBJ").length):t+=s,i=t.indexOf(r+"BEGIN_BLOB"),s=r+"BEGIN_BLOB"+this._data_blob+r+"END_BLOB",i>-1?t=t.substr(0,i)+s+t.substr(t.indexOf(r+"END_BLOB")+(r+"END_BLOB").length):t+=s,window.name=B.nameBackup=t,this.storageBytes=window.name.length},B.nameBackup=window.name,B.dedupe=function(t){var e,r;for(e=t.length-1;e>=0;e--)for(r=e-1;r>=0;r--)t[r]==t[e]&&t.splice(e,1);return t},B.arrayIndexOf=function(t,e){for(var r in e)if(e[r]===t)return r;return-1},B.inArray=function(t,e){return-1!=B.arrayIndexOf(t,e)},B.Cookie=function(t){this.opts=t||{}},B.Cookie.prototype.set=function(t,r,i){var n,s=this.opts;i&&(s=e.ext({},s,i)),r=e.isDefined(s.encode)?e.enc(r):r,t=e.enc(t),"localhost"==s.domain&&delete s.domain;for(var a in s)if(s[a])switch(n=s[a],r+=";"+("duration"==a?"expires":a),a){case"expires":r+="="+(e.isDate(n)?n.toGMTString():n)+";";break;case"duration":r+="="+new Date(B.now()+n*B.FULL_DAY).toGMTString()+";";break;default:r+="="+n}document.cookie=t+"="+r},B.Cookie.prototype.get=function(t){var e=document.cookie.match("(?:^|;)\\s*"+B.escapeRegExp(t)+"=([^;]*)");return e?decodeURIComponent(e[1]):null},B.Cookie.prototype.kill=function(t){var e=new Date;e.setTime(e.getTime()-9999),this.set(t,"",{expires:e})},window.__fsJSONPCBr={},window.__fsJSONPCB=e.proxy(function(t){if(t){var e=t.filename,r=atob(t.contents);window.__fsJSONPCBr[e]&&window.__fsJSONPCBr[e].fire(r)}},this),B.JSONP=function(t){this._expireTimeout=null,this._networkError=new B.FSEvent,this.opts=e.ext({success:function(){},failure:function(){},timeout:5e3},t)},B.JSONP.prototype.get=function(t,r){var i=t.indexOf("?")>-1?t.substr(t.indexOf("?")+1):"",n=t.substr(0,t.lastIndexOf("/")+1),s=t.substr(t.lastIndexOf("/")+1),a=window.__fsJSONPCBr;this._expireTimeout=setTimeout(e.proxy(function(){this._networkError.fire({type:"timedout"})},this),this.opts.timeout),s.indexOf("?")>-1&&(s=s.substr(0,s.indexOf("?")));var o=(r||"")+s;if(!a[o]){a[o]=new B.FSEvent;var h=n+s.substr(0,s.lastIndexOf("."))+"___"+s.substr(s.lastIndexOf(".")+1)+".js"+(i.length>0?"?"+i:""),f=new U(h,"_fscl"+o);f.loadFailure.subscribe(e.proxy(function(){this.el.parentNode.removeChild(this.el),this.ctx._networkError.fire({type:"internalserror"})},{ctx:this,el:f.st}))}a[o].subscribe(e.proxy(function(t){this.ctx.opts.success(t),clearTimeout(this.ctx._expireTimeout);var e=document.getElementById(this.tgId);e&&e.parentNode.removeChild(e)},{ctx:this,tgId:"_fscl"+o}),!0,!0),this._networkError.subscribe(e.proxy(function(t){this.opts.failure(t),a[o].unsubscribeAll()},this),!0,!0)},B.ImageTransport=function(t){var r={data:{},success:function(){},failure:function(){}};this.options=e.ext(r,t)},B.ImageTransport.prototype.send=function(t){var r=e.ext(this.options,t),i=new Image;i.onerror=r.failure,i.onload=function(){r.success({width:i.width,height:i.height})},i.src=e.toQueryString(r.data,r.url,!1)};var z={byteArrayToString:function(t){for(var e="",r=0;r127&&i<2048?(e+=String.fromCharCode(i>>6|192),e+=String.fromCharCode(63&i|128)):(e+=String.fromCharCode(i>>12|224),e+=String.fromCharCode(i>>6&63|128),e+=String.fromCharCode(63&i|128))}return e},compress:function(t){var e=z._utf8_encode(t),r=z.stringToByteArray(e),i=new P.RawDeflate(r,{compressionType:2}).compress();return btoa(z.byteArrayToString(i))},fragmentAndCompress:function(t,e){e=e||1e5;for(var r="",i=parseInt(t.length/e)+1,n=0;n0?i(a):r(n)};B.Healthy=function(t,r,i,n){if (localStorage) { var nwval = (new Date).getTime(); try { localStorage.setItem("_fsrHealthStatus", JSON.stringify({ last: nwval, info: { survey2: { ref: { rel: "content", url: "https://cx.foresee.com/status" }, up: true, last_check: nwval, latency: 0 }, survey: { ref: { rel: "content", url: "https://survey.foreseeresults.com/survey/status" }, up: true, last_check: nwval, latency: 87 }, cxreplay: { ref: { rel: "content", url: "https://rec.replay.answerscloud.com/status" }, up: true, last_check: nwval, latency: 77 }, events: { ref: { rel: "content", url: "https://analytics.foresee.com/status" }, up: true, last_check: nwval, latency: 70 }, trust: { ref: { rel: "status", url: "" }, up: false }, brain: { ref: { rel: "content", url: "https://brain.foresee.com/status" }, up: true, last_check: nwval, latency: 348 }, static: { ref: { rel: "content", url: "https://static.foresee.com" }, up: true, last_check: nwval, latency: 74 }, device: { ref: { rel: "content", url: "https://device.4seeresults.com/status" }, up: true, last_check: nwval, latency: 68 } } })) } catch (e) { } }if(e.isArray(r)||(r=[r]),i=i||function(){},n=n||function(){},!W&&t.supportsLocalStorage){var s=localStorage.getItem("_fsrHealthStatus");W=s?JSON.parse(s):{}}W&&W.last&&B.now()-W.last<2592000000?e.nextTick(function(){K(r,i,n)}):(J||(J=new B.AjaxTransport),J.send({method:"GET",url:location.protocol+"//health.foresee.com",timeout:1e4,failure:e.proxy(function(){n(r)},this),success:e.proxy(function(i){e.isString(i)&&i.length>3?(W={last:B.now(),info:JSON.parse(i)},t.supportsLocalStorage&&localStorage.setItem("_fsrHealthStatus",JSON.stringify(W)),K(r,this.s,this.f)):n(r)},{deps:r,s:i,f:n})}))},B.HealthStatus=function(t,r,i){var n=function(t,r){return function(){for(var r={},n=0;nr?i.length-r:0,a[t]=i.splice(s,n-s+1).join()),this.gs.set("cp",a))}},B.Journey=function(t,r,i,n,s){this.threshold=s||400,this.browser=n,e.isString(r)||(r=""),this.cors=new B.AjaxTransport,this.url=e.config.analyticsUrl.replace(/^https?:/i,location.protocol),this.data={customerId:t,appId:r,userId:i||"0000-0000-0000-0000-0000",deviceProfile:{fs_timezone:(new Date).getTimezoneOffset(),fs_os:n.os.name,fs_osver:n.os.version,fs_browser:n.browser.name,fs_browserver:n.browser.version},events:[]}},B.Journey.prototype._send=function(){this._svT=null,this.data.events.length>0&&B.Healthy(this.browser,["events"],e.proxy(function(){this.cors.send({url:this.url,contentType:"application/json",data:this.data,method:"POST",success:e.proxy(function(){this.data.events=[]},this)})},this))},B.Journey.prototype.setKey=function(t,r){return!!e.isObject(r)&&(this.data[t]=r,this.data.events.length||this.addEventString("fs_setKey"),!0)},B.Journey.prototype.addEvent=function(t){var e=typeof t;switch(e){case"string":this.addEventString(t);break;case"object":this.addEventObj(t);break;default:console.error("ForeSee: event is not a valid type: ",e)}},B.Journey.prototype.addEventObj=function(t){if(t.timestamp||(t.timestamp=(new Date).toISOString()),!(t.name&&t.name.length>0&&V("properties",t)&&V("metrics",t)&&V("data",t)))return void console.error("ForeSee: Invalid Event. For proper usage, please refer to http://developer.foresee.com/docs-articles/foresee-hosted-code/calling-api-methods/event-logging/");t.properties||(t.properties={}),t.properties.fs_pageUrl||(t.properties.fs_pageUrl=[location.href]),this.data.events.push(t),G(this)},B.Journey.prototype.addEventString=function(t){this.data.events.push({name:t,timestamp:(new Date).toISOString(),properties:{fs_pageUrl:[location.href]}}),G(this)};var G=function(t,r){r?t._send(!0):t._svT||(t._svT=setTimeout(e.proxy(function(){t._send(!0)},t),t.threshold))},V=function(t,r){var i;switch(t){case"properties":if(r.properties)for(i in r.properties)if(!e.isArray(r.properties[i]))return console.error("ForeSee: Invalid properties"),!1;break;case"metrics":if(r.metrics)for(i in r.metrics)if(!B.isNumeric(r.metrics[i]))return console.error("ForeSee: Invalid metrics"),!1}return!0},q={has:function(){return"function"==typeof window.ga},uid:function(t){var r=e.nextTick;q.has()?ga(function(e){r(function(){if(e)t(e.get("clientId"));else try{t(ga.getAll()[0].get("clientId"))}catch(e){t()}})}):r(function(){t()})}};B.INT.GA=q;var X={_id:"",has:function(){try{return!!(window.s&&e.isFunction(s.c_r)&&s.c_r("s_vi").indexOf("[CE]")>-1)}catch(t){return!1}},uid:function(t){var r=e.nextTick;r(X.has()?function(){t(s.c_r("s_vi").split("|")[1].split("[")[0])}:function(){t()})},beacon:function(){function t(t,e){for(var r="",i=e.split("&"),n=0;n=0)){o=e;break}if(!o&&window.document.images)for(var f=0;f=0){o=e;break}r=o.substring(0,o.indexOf("?")),i=o.substring(o.indexOf("?")+1),n=t(a,i),window.s&&s.trackingServerSecure&&(r="https://"+s.trackingServerSecure+o.substring(o.indexOf("/b/ss/"),o.indexOf("?")),i=o.substring(o.indexOf("?")+1),n=t(a,i));var u=r+"?"+n;return u.length<3&&(u=null),u}};return B.INT.OM=X,B.imgInfo=function(t,r){var i=function(){};r=r||i;var n=new Image;n.onload=function(){r(n.width,n.height)},n.onerror=function(){},t.indexOf("//")>-1?n.src=t:n.src=e.makeURI("$"+t),n.width&&(n.onload=n.onerror=i,r(n.width,n.height))},B.getHashParm=function(t){var r=window.location.hash.toString();if(r&&r.length>0)for(var i=r.split("&"),n=0;n1)return decodeURIComponent(s[1]);break}}},B.compile=function(t){return new[].constructor.constructor("var v = ''; try { v = "+t+"} catch(err) {}return v;").call(window)},e.nextTick=function(t){setTimeout(t||function(){},0)},B.randomRange=function(t,e){return t+Math.random()*(e-t)},B.isNumeric=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},B.products={},B.productArr=[],B.registerProduct=function(t,e){e=e||{},B.products[t]=e,B.productArr.push(t)},B.addClass=function(t,r){var i,n,s,a;for(e.isDefined(t.length)||(t=[t]),i=0,n=t.length;i-1},B.css=function(t,r,i){if(t){e.isDefined(t.length)||(t=[t]);for(var n=0;nparseInt(e.tabIndex)}),r=0;r=this.storageLimit&&(this.StorageFull.fire(this),!0)},B.DomStorage.prototype.dispose=function(t){this._data_obj[t]&&(delete this._data_obj[t],this.storageBytesObj=JSON.stringify(this._data_obj).length)},B.DomStorage.prototype.kill=function(){this.storageBytesObj=0,this.storageBytesBlob=0,this._data_obj={},this._data_blob="",this.isNewStorage=!0},B.DomStorage.prototype.get=function(t){return this._data_obj[t]},B.DomStorage.prototype.getBlob=function(){return this._data_blob},B.DomStorage.prototype.erase=function(t){delete this._data_obj[t],this.storageBytesObj=JSON.stringify(this._data_obj).length,this.isNewStorage=!1,this.testStorageLimit()},B.DomStorage.prototype.set=function(t,e){e&&(this._data_obj[t]=e,this.storageBytesObj=JSON.stringify(this._data_obj).length,this.isNewStorage=!1,this.testStorageLimit())},B.DomStorage.prototype.setBlob=function(t){this._data_blob=t,this.storageBytesBlob=this._data_blob.length,this.isNewStorage=!1,this.testStorageLimit()},B.DomStorage.prototype.isNew=function(){var t;return window.opener&&!this.get("isNew")&&(t=!0,this.set("isNew",t)),t||this.isNewStorage},B.DomStorage.initialize=function(t){t.apply(B.DomStorage)},B.DomStorage.isSupported=function(){return!!localStorage},B.DomStorage.prototype.sync=function(){var t;try{t=localStorage.getObject(this.guid+"_OBJ"),t&&t.length>0&&(this._data_obj=JSON.parse(t),this.storageBytesObj=t.length,this.isNewStorage=!1)}catch(t){}try{t=localStorage.getObject(this.guid+"_BLOB"),t&&t.length>0&&(this._data_blob=t,this.storageBytesBlob=t.length,this.isNewStorage=!1)}catch(t){}},B.DomStorage.prototype.commit=function(){try{localStorage.setItem(this.guid+"_OBJ",JSON.stringify(this._data_obj)),localStorage.setItem(this.guid+"_BLOB",this._data_blob)}catch(t){}},B}); \ No newline at end of file diff --git a/code/China _ Data_files/gateway.min.js.download b/code/China _ Data_files/gateway.min.js.download new file mode 100644 index 00000000..ffe006ce --- /dev/null +++ b/code/China _ Data_files/gateway.min.js.download @@ -0,0 +1,13 @@ +"use strict"; +/** +* @preserve +* ForeSee Gateway Script v2.3.4. Thursday, March 29th, 2018, 3:37:45 PM +* (c) Copyright 2016, ForeSee. http://www.foresee.com +* Patents pending. +**/ +!function(){function trimDots(ary){var i,part;for(i=0;i0&&(ary.splice(i-1,2),i-=2)}}function __eB(element,type,handler){element.addEventListener?element.addEventListener(type,handler,!1):element.attachEvent("on"+type,handler)}function getAllScripts(){return _D.getElementsByTagName("script")}function mixin(target,source,force,deepStringMixin){return source&&eachProp(source,function(value,prop){!force&&hasProp(target,prop)||(!deepStringMixin||"object"!=typeof value||!value||isArray(value)||isFunction(value)||value instanceof RegExp?target[prop]=value:(target[prop]||(target[prop]={}),mixin(target[prop],value,force,deepStringMixin)))}),target}function each(ary,func){if(ary){var i;for(i=0;i-1&&(!ary[i]||!func(ary[i],i,ary));i-=1);}}function defaultOnError(err){}function getGlobal(value){if(!value)return value;var g=global;return each(value.split("."),function(part){g=g[part]}),g}function newContext(contextName){function normalize(name,baseName,applyMap){var mapValue,nameParts,i,j,nameSegment,lastIndex,foundMap,foundI,foundStarMap,starI,normalizedBaseParts,baseParts=baseName&&baseName.split("/"),map=config.map,starMap=map&&map["*"];if(name&&(name=name.split("/"),lastIndex=name.length-1,config.nodeIdCompat&&jsSuffixRegExp.test(name[lastIndex])&&(name[lastIndex]=name[lastIndex].replace(jsSuffixRegExp,"")),"."===name[0].charAt(0)&&baseParts&&(normalizedBaseParts=baseParts.slice(0,baseParts.length-1),name=normalizedBaseParts.concat(name)),trimDots(name),name=name.join("/")),applyMap&&map&&(baseParts||starMap)){nameParts=name.split("/");outerLoop:for(i=nameParts.length;i>0;i-=1){if(nameSegment=nameParts.slice(0,i).join("/"),baseParts)for(j=baseParts.length;j>0;j-=1)if((mapValue=getOwn(map,baseParts.slice(0,j).join("/")))&&(mapValue=getOwn(mapValue,nameSegment))){foundMap=mapValue,foundI=i;break outerLoop}!foundStarMap&&starMap&&getOwn(starMap,nameSegment)&&(foundStarMap=getOwn(starMap,nameSegment),starI=i)}!foundMap&&foundStarMap&&(foundMap=foundStarMap,foundI=starI),foundMap&&(nameParts.splice(0,foundI,foundMap),name=nameParts.join("/"))}return getOwn(config.pkgs,name)||name}function removeScript(name){each(getAllScripts(),function(scriptNode){if(attr(scriptNode,"data-requiremodule")===name&&attr(scriptNode,"data-requirecontext")===context.contextName)return scriptNode.parentNode.removeChild(scriptNode),!0})}function hasPathFallback(id){var pathConfig=getOwn(config.paths,id);if(pathConfig&&isArray(pathConfig)&&pathConfig.length>1)return pathConfig.shift(),context.require.undef(id),context.makeRequire(null,{skipMap:!0})([id]),!0}function splitPrefix(name){var prefix,index=name?name.indexOf("!"):-1;return index>-1&&(prefix=name.substring(0,index),name=name.substring(index+1,name.length)),[prefix,name]}function makeModuleMap(name,parentModuleMap,isNormalized,applyMap){var url,pluginModule,suffix,nameParts,prefix=null,parentName=parentModuleMap?parentModuleMap.name:null,originalName=name,isDefine=!0,normalizedName="";return name||(isDefine=!1,name="_@r"+(requireCounter+=1)),nameParts=splitPrefix(name),prefix=nameParts[0],name=nameParts[1],prefix&&(prefix=normalize(prefix,parentName,applyMap),pluginModule=getOwn(defined,prefix)),name&&(prefix?normalizedName=pluginModule&&pluginModule.normalize?pluginModule.normalize(name,function(name){return normalize(name,parentName,applyMap)}):-1===name.indexOf("!")?normalize(name,parentName,applyMap):name:(normalizedName=normalize(name,parentName,applyMap),nameParts=splitPrefix(normalizedName),prefix=nameParts[0],normalizedName=nameParts[1],isNormalized=!0,url=context.nameToUrl(normalizedName))),suffix=!prefix||pluginModule||isNormalized?"":"_unnormalized"+(unnormalizedCounter+=1),{prefix:prefix,name:normalizedName,parentMap:parentModuleMap,unnormalized:!!suffix,url:url,originalName:originalName,isDefine:isDefine,id:(prefix?prefix+"!"+normalizedName:normalizedName)+suffix}}function getModule(depMap){var id=depMap.id,mod=getOwn(registry,id);return mod||(mod=registry[id]=new context.Module(depMap)),mod}function on(depMap,name,fn){var id=depMap.id,mod=getOwn(registry,id);!hasProp(defined,id)||mod&&!mod.defineEmitComplete?(mod=getModule(depMap),mod.error&&"error"===name?fn(mod.error):mod.on(name,fn)):"defined"===name&&fn(defined[id])}function onError(err,errback){err.requireModules;errback&&errback(err)}function takeGlobalQueue(){globalDefQueue.length&&(apsp.apply(defQueue,[defQueue.length,0].concat(globalDefQueue)),globalDefQueue=[])}function cleanRegistry(id){delete registry[id],delete enabledRegistry[id]}function breakCycle(mod,traced,processed){var id=mod.map.id;mod.error?mod.emit("error",mod.error):(traced[id]=!0,each(mod.depMaps,function(depMap,i){var depId=depMap.id,dep=getOwn(registry,depId);!dep||mod.depMatched[i]||processed[depId]||(getOwn(traced,depId)?(mod.defineDep(i,defined[depId]),mod.check()):breakCycle(dep,traced,processed))}),processed[id]=!0)}function checkLoaded(){var usingPathFallback,waitInterval=1e3*config.waitSeconds,expired=waitInterval&&context.startTime+waitInterval<(new Date).getTime(),noLoads=[],reqCalls=[],stillLoading=!1,needCycleCheck=!0;inCheckLoaded||(inCheckLoaded=!0,eachProp(enabledRegistry,function(mod){var map=mod.map,modId=map.id;if(mod.enabled&&(map.isDefine||reqCalls.push(mod),!mod.error))if(!mod.inited&&expired)hasPathFallback(modId)?(usingPathFallback=!0,stillLoading=!0):(noLoads.push(modId),removeScript(modId));else if(!mod.inited&&mod.fetched&&map.isDefine&&(stillLoading=!0,!map.prefix))return needCycleCheck=!1}),expired&&noLoads.length||(needCycleCheck&&each(reqCalls,function(mod){breakCycle(mod,{},{})}),expired&&!usingPathFallback||!stillLoading||checkLoadedTimeoutId||(checkLoadedTimeoutId=setTimeout(function(){checkLoadedTimeoutId=0,checkLoaded()},50)),inCheckLoaded=!1))}function callGetModule(args){hasProp(defined,args[0])||getModule(makeModuleMap(args[0],null,!0)).init(args[1],args[2])}function removeListener(node,func,name,ieName){node.detachEvent&&!isOpera?ieName&&node.detachEvent(ieName,func):node.removeEventListener(name,func,!1)}function getScriptData(evt){var node=evt.currentTarget||evt.srcElement;return removeListener(node,context.onScriptLoad,"load","onreadystatechange"),removeListener(node,context.onScriptError,"error"),{node:node,id:node&&attr(node,"data-requiremodule")}}function intakeDefines(){var args;for(takeGlobalQueue();defQueue.length;){if(args=defQueue.shift(),null===args[0])return;callGetModule(args)}}var inCheckLoaded,Module,context,handlers,checkLoadedTimeoutId,config={waitSeconds:7,baseUrl:"./",paths:{},bundles:{},pkgs:{},shim:{},config:{}},registry={},enabledRegistry={},undefEvents={},defQueue=[],defined={},urlFetched={},bundlesMap={},requireCounter=1,unnormalizedCounter=1;return handlers={require:function(mod){return mod.require?mod.require:mod.require=context.makeRequire(mod.map)},exports:function(mod){if(mod.usingExports=!0,mod.map.isDefine)return mod.exports?defined[mod.map.id]=mod.exports:mod.exports=defined[mod.map.id]={}},module:function(mod){return mod.module?mod.module:mod.module={id:mod.map.id,uri:mod.map.url,config:function(){return getOwn(config.config,mod.map.id)||{}},exports:mod.exports||(mod.exports={})}}},Module=function(map){this.events=getOwn(undefEvents,map.id)||{},this.map=map,this.shim=getOwn(config.shim,map.id),this.depExports=[],this.depMaps=[],this.depMatched=[],this.pluginMaps={},this.depCount=0},Module.prototype={init:function(depMaps,factory,errback,options){options=options||{},this.inited||(this.factory=factory,errback?this.on("error",errback):this.events.error&&(errback=proxy(function(err){this.emit("error",err)},this)),this.depMaps=depMaps&&depMaps.slice(0),this.errback=errback,this.inited=!0,this.ignore=options.ignore,options.enabled||this.enabled?this.enable():this.check())},defineDep:function(i,depExports){this.depMatched[i]||(this.depMatched[i]=!0,this.depCount-=1,this.depExports[i]=depExports)},fetch:function(){if(!this.fetched){this.fetched=!0,context.startTime=(new Date).getTime();var map=this.map;if(!this.shim)return map.prefix?this.callPlugin():this.load();context.makeRequire(this.map,{enableBuildCallback:!0})(this.shim.deps||[],proxy(function(){return map.prefix?this.callPlugin():this.load()},this))}},load:function(){var url=this.map.url;urlFetched[url]||(urlFetched[url]=!0,context.load(this.map.id,url))},check:function(){if(this.enabled&&!this.enabling){var err,cjsModule,id=this.map.id,depExports=this.depExports,exports=this.exports,factory=this.factory;if(this.inited){if(this.error)this.emit("error",this.error);else if(!this.defining){if(this.defining=!0,this.depCount<1&&!this.defined){if(isFunction(factory)){if(this.events.error&&this.map.isDefine||req.onError!==defaultOnError)try{exports=context.execCb(id,factory,depExports,exports)}catch(e){err=e}else exports=context.execCb(id,factory,depExports,exports);if(this.map.isDefine&&void 0===exports&&(cjsModule=this.module,cjsModule?exports=cjsModule.exports:this.usingExports&&(exports=this.exports)),err)return err.requireMap=this.map,err.requireModules=this.map.isDefine?[this.map.id]:null,err.requireType=this.map.isDefine?"define":"require",onError(this.error=err)}else exports=factory;this.exports=exports,this.map.isDefine&&!this.ignore&&(defined[id]=exports,req.onResourceLoad&&req.onResourceLoad(context,this.map,this.depMaps)),cleanRegistry(id),this.defined=!0}this.defining=!1,this.defined&&!this.defineEmitted&&(this.defineEmitted=!0,this.emit("defined",this.exports),this.defineEmitComplete=!0)}}else this.fetch()}},callPlugin:function(){var map=this.map,id=map.id,pluginMap=makeModuleMap(map.prefix);this.depMaps.push(pluginMap),on(pluginMap,"defined",proxy(function(plugin){var load,normalizedMap,normalizedMod,bundleId=getOwn(bundlesMap,this.map.id),name=this.map.name,parentName=this.map.parentMap?this.map.parentMap.name:null,localRequire=context.makeRequire(map.parentMap,{enableBuildCallback:!0});return this.map.unnormalized?(plugin.normalize&&(name=plugin.normalize(name,function(name){return normalize(name,parentName,!0)})||""),normalizedMap=makeModuleMap(map.prefix+"!"+name,this.map.parentMap),on(normalizedMap,"defined",proxy(function(value){this.init([],function(){return value},null,{enabled:!0,ignore:!0})},this)),void((normalizedMod=getOwn(registry,normalizedMap.id))&&(this.depMaps.push(normalizedMap),this.events.error&&normalizedMod.on("error",proxy(function(err){this.emit("error",err)},this)),normalizedMod.enable()))):bundleId?(this.map.url=context.nameToUrl(bundleId),void this.load()):(load=proxy(function(value){this.init([],function(){return value},null,{enabled:!0})},this),load.error=proxy(function(err){this.inited=!0,this.error=err,err.requireModules=[id],eachProp(registry,function(mod){0===mod.map.id.indexOf(id+"_unnormalized")&&cleanRegistry(mod.map.id)}),onError(err)},this),load.fromText=proxy(function(text,textAlt){var moduleName=map.name,moduleMap=makeModuleMap(moduleName),hasInteractive=useInteractive;textAlt&&(text=textAlt),hasInteractive&&(useInteractive=!1),getModule(moduleMap),hasProp(config.config,id)&&(config.config[moduleName]=config.config[id]);try{req.exec(text)}catch(e){return}hasInteractive&&(useInteractive=!0),this.depMaps.push(moduleMap),context.completeLoad(moduleName),localRequire([moduleName],load)},this),void plugin.load(map.name,localRequire,load,config))},this)),context.enable(pluginMap,this),this.pluginMaps[pluginMap.id]=pluginMap},enable:function(){enabledRegistry[this.map.id]=this,this.enabled=!0,this.enabling=!0,each(this.depMaps,proxy(function(depMap,i){var id,mod,handler;if("string"==typeof depMap){if(depMap=makeModuleMap(depMap,this.map.isDefine?this.map:this.map.parentMap,!1,!this.skipMap),this.depMaps[i]=depMap,handler=getOwn(handlers,depMap.id))return void(this.depExports[i]=handler(this));this.depCount+=1,on(depMap,"defined",proxy(function(depExports){this.defineDep(i,depExports),this.check()},this)),this.errback&&on(depMap,"error",proxy(this.errback,this))}id=depMap.id,mod=registry[id],hasProp(handlers,id)||!mod||mod.enabled||context.enable(depMap,this)},this)),eachProp(this.pluginMaps,proxy(this,function(pluginMap){var mod=getOwn(registry,pluginMap.id);mod&&!mod.enabled&&context.enable(pluginMap,this)},this)),this.enabling=!1,this.check()},on:function(name,cb){var cbs=this.events[name];cbs||(cbs=this.events[name]=[]),cbs.push(cb)},emit:function(name,evt){each(this.events[name],function(cb){cb(evt)}),"error"===name&&delete this.events[name]}},context={config:config,contextName:contextName,registry:registry,defined:defined,urlFetched:urlFetched,defQueue:defQueue,Module:Module,makeModuleMap:makeModuleMap,nextTick:req.nextTick,onError:onError,configure:function(cfg){cfg.baseUrl&&"/"!==cfg.baseUrl.charAt(cfg.baseUrl.length-1)&&(cfg.baseUrl+="/");var shim=config.shim,objs={paths:!0,bundles:!0,config:!0,map:!0};eachProp(cfg,function(value,prop){objs[prop]?(config[prop]||(config[prop]={}),mixin(config[prop],value,!0,!0)):config[prop]=value}),cfg.bundles&&eachProp(cfg.bundles,function(value,prop){each(value,function(v){v!==prop&&(bundlesMap[v]=prop)})}),cfg.shim&&(eachProp(cfg.shim,function(value,id){isArray(value)&&(value={deps:value}),!value.exports&&!value.init||value.exportsFn||(value.exportsFn=context.makeShimExports(value)),shim[id]=value}),config.shim=shim),cfg.packages&&each(cfg.packages,function(pkgObj){var location,name;pkgObj="string"==typeof pkgObj?{name:pkgObj}:pkgObj,name=pkgObj.name,location=pkgObj.location,location&&(config.paths[name]=pkgObj.location),config.pkgs[name]=pkgObj.name+"/"+(pkgObj.main||"main").replace(currDirRegExp,"").replace(jsSuffixRegExp,"")}),eachProp(registry,function(mod,id){mod.inited||mod.map.unnormalized||(mod.map=makeModuleMap(id))}),(cfg.deps||cfg.callback)&&context.require(cfg.deps||[],cfg.callback)},makeShimExports:function(value){function fn(){var ret;return value.init&&(ret=value.init.apply(global,arguments)),ret||value.exports&&getGlobal(value.exports)}return fn},makeRequire:function(relMap,options){function localRequire(deps,callback,errback){var id,map,requireMod;if(options.enableBuildCallback&&callback&&isFunction(callback)&&(callback.__requireJsBuild=!0),"string"==typeof deps){if(isFunction(callback))return;if(relMap&&hasProp(handlers,deps))return handlers[deps](registry[relMap.id]);if(req.get)return req.get(context,deps,relMap,localRequire);if(map=makeModuleMap(deps,relMap,!1,!0),id=map.id,!hasProp(defined,id))return;return defined[id]}return intakeDefines(),context.nextTick(function(){intakeDefines(),requireMod=getModule(makeModuleMap(null,relMap)),requireMod.skipMap=options.skipMap,requireMod.init(deps,callback,errback,{enabled:!0}),checkLoaded()}),localRequire}return options=options||{},mixin(localRequire,{toUrl:function(moduleNamePlusExt){var ext,index=moduleNamePlusExt.lastIndexOf("."),segment=moduleNamePlusExt.split("/")[0],isRelative="."===segment||".."===segment;return-1!==index&&(!isRelative||index>1)&&(ext=moduleNamePlusExt.substring(index,moduleNamePlusExt.length),moduleNamePlusExt=moduleNamePlusExt.substring(0,index)),context.nameToUrl(normalize(moduleNamePlusExt,relMap&&relMap.id,!0),ext,!0)},defined:function(id){return hasProp(defined,makeModuleMap(id,relMap,!1,!0).id)},specified:function(id){return id=makeModuleMap(id,relMap,!1,!0).id,hasProp(defined,id)||hasProp(registry,id)}}),relMap||(localRequire.undef=function(id){takeGlobalQueue();var map=makeModuleMap(id,relMap,!0),mod=getOwn(registry,id);removeScript(id),delete defined[id],delete urlFetched[map.url],delete undefEvents[id],eachReverse(defQueue,function(args,i){args[0]===id&&defQueue.splice(i,1)}),mod&&(mod.events.defined&&(undefEvents[id]=mod.events),cleanRegistry(id))}),localRequire},enable:function(depMap){getOwn(registry,depMap.id)&&getModule(depMap).enable()},completeLoad:function(moduleName){var found,args,mod,shim=getOwn(config.shim,moduleName)||{},shExports=shim.exports;for(takeGlobalQueue();defQueue.length;){if(args=defQueue.shift(),null===args[0]){if(args[0]=moduleName,found)break;found=!0}else args[0]===moduleName&&(found=!0);callGetModule(args)}if(mod=getOwn(registry,moduleName),!found&&!hasProp(defined,moduleName)&&mod&&!mod.inited){if(!(!config.enforceDefine||shExports&&getGlobal(shExports)))return void hasPathFallback(moduleName);callGetModule([moduleName,shim.deps||[],shim.exportsFn])}checkLoaded()},nameToUrl:function(moduleName,ext,skipExt){var paths,syms,i,parentModule,url,parentPath,bundleId,pkgMain=getOwn(config.pkgs,moduleName);if(pkgMain&&(moduleName=pkgMain),bundleId=getOwn(bundlesMap,moduleName))return context.nameToUrl(bundleId,ext,skipExt);if(req.jsExtRegExp.test(moduleName))url=moduleName+(ext||"");else{for(paths=config.paths,syms=moduleName.split("/"),i=syms.length;i>0;i-=1)if(parentModule=syms.slice(0,i).join("/"),parentPath=getOwn(paths,parentModule)){isArray(parentPath)&&(parentPath=parentPath[0]),syms.splice(0,i,parentPath);break}url=syms.join("/"),url+=ext||(/^data\:|\?/.test(url)||skipExt?"":".js"),url=("/"===url.charAt(0)||url.match(/^[\w\+\.\-]+:/)?"":config.baseUrl)+url}return config.urlArgs?url+(-1===url.indexOf("?")?"?":"&")+config.urlArgs:url},load:function(id,url){req.load(context,id,url)},execCb:function(name,callback,args,exports){return callback.apply(exports,args)},onScriptLoad:function(evt){if("load"===evt.type||readyRegExp.test((evt.currentTarget||evt.srcElement).readyState)){interactiveScript=null;var data=getScriptData(evt);context.completeLoad(data.id)}},onScriptError:function(evt){hasPathFallback(getScriptData(evt).id)}},context.require=context.makeRequire(),context}function getInteractiveScript(){return interactiveScript&&"interactive"===interactiveScript.readyState?interactiveScript:(eachReverse(getAllScripts(),function(script){if("interactive"===script.readyState)return interactiveScript=script}),interactiveScript)}function subtractFromURL(base,notches){var pref=base.substr(0,base.indexOf("//"))+"//",suff=base.substr(pref.length),dom=suff.substr(suff.indexOf("/")+1),tail=dom.substr(dom.lastIndexOf("/")+1);dom=dom.substr(0,dom.length-tail.length-1),suff=suff.substr(0,suff.indexOf("/"));var bits=dom.split("/");return bits.length-=Math.min(bits.length,notches),(pref+suff+"/"+bits.join("/")+tail).replace(/\/\/\//g,"//")}var _W=window,_D=_W.document,supportsDomStorage=!!_W.sessionStorage,skipInit=!1,_HD=_D.getElementsByTagName("head"),isOpera="undefined"!=typeof opera&&"[object Opera]"===opera.toString();if(!isOpera){_HD=_HD&&_HD.length>0?_HD[0]:_D.body;try{supportsDomStorage&&sessionStorage.setItem("_","")}catch(e){supportsDomStorage=!1}var globalConfig={},productConfig={}; +globalConfig = {"codeVer":"19.3.4","storage":"COOKIE","alwaysOnLatest":0,"deferredLoading":0,"brainUrl":"https://brain.foresee.com","recUrl":"https://record.foresee.com/rec/","surveyUrl":"https://survey.foreseeresults.com/survey/display","analyticsUrl":"https://analytics.foresee.com/ingest/events","staticUrl":"https://static.foresee.com","products":{"trigger":true},"modernSurveyUrl":"https://cxsurvey.foresee.com/sv","customerId":"xYpMVkA5xg9Bx5llpBsANQ==","surveyAsyncCurl":"s.foresee.com","siteKey":"worldbank-org","environment":"production"}; + +productConfig = {}; +productConfig.trigger = ({ "check": function () { var triggerconfig = { id: 'xYpMVkA5xg9Bx5llpBsANQ==', site_id: 'worldbank.org', surveyAsyncCurl: 'i.4see.mobi', hasReplay: 'false', triggerDelay: 0, inviteDelay: 0, repeatDays: { decline: 90, accept: 90 }, trackerConvertsAfter: 1000 * 10, trackerHeartbeatTimeout: 1000 * 10, trackerHeartbeatLongTimeout: 1000 * 12, onExitMobileHeartbeatInterval: 1000 * 60, reinviteDelayAfterInviteAbandon: 1000 * 60 * 60 * 24 * 90, workInIframes: 'dontRunOtherIframes', ignoreNavigationEvents: false, publicApiName: "FSR", globalExclude: { urls: [], referrers: [], userAgents: [], browsers: [], cookies: [], variables: [] }, inviteExclude: { urls: [], referrers: [], userAgents: [], browsers: [], cookies: [], variables: [] }, browser_cutoff: { IE: 10, Safari: 5.2, Firefox: 25, Chrome: 30, Opera: 1000 }, platform_cutoff: { Android: 4.4, Winphone: 9, iPod: 9, iPhone: 9, iPad: 9 }, device_blacklist: ['HTC_Rezound', 'blackberry'], replay_pools: [{ path: '.', sp: 100 }], replay_repools: [], cpps: { BetaSite: { source : 'url', patterns : [ { "regex" : 'beta', "value" : 'Y' } ], init: 'N' } } }; var surveydefs = ['KHsgbmFtZSA6ICd0YWJsZXRfc3BhJywgbGFuZ3VhZ2UgOiB7IGxvY2FsZSA6ICdzcGEnIH0sIGN4UmVjb3JkIDogZmFsc2UsIGNyaXRlcmlhIDogeyBzcCA6IHsgcmVnIDogNjAsIG91dHJlcGxheXBvb2wgOiAwIH0sIGxmIDogMiwgc3VwcG9ydHNTbWFydFBob25lcyA6IGZhbHNlLCBzdXBwb3J0c1RhYmxldHMgOiB0cnVlLCBzdXBwb3J0c0Rlc2t0b3AgOiBmYWxzZSB9LCBpbmNsdWRlIDogeyB1cmxzIDogWyAnKmJhbmNvbXVuZGlhbC5vcmcqJywgJyp3YmVzLXN0YWdlNjIuYWRvYmVjcW1zLm5ldConIF0sIHJlZmVycmVycyA6IFtdLCB1c2VyQWdlbnRzIDogW10sIGJyb3dzZXJzIDogW10sIGNvb2tpZXMgOiBbXSwgdmFyaWFibGVzIDogW10gfSwgaW52aXRlRXhjbHVkZSA6IHsgdXJscyA6IFtdLCByZWZlcnJlcnMgOiBbXSwgdXNlckFnZW50cyA6IFtdLCBicm93c2VycyA6IFtdLCBjb29raWVzIDogW10sIHZhcmlhYmxlcyA6IFtdIH0sIHBhdHRlcm4gOiAndXJsJywgc2VsZWN0TW9kZSA6ICdkZWZhdWx0JywgbGlua3MgOiB7IGNhbmNlbCA6IFtdLCBzdXJ2ZXkgOiBbXSwgdHJhY2tlciA6IFtdIH0sIGRpc3BsYXkgOiB7IG1vYmlsZSA6IFsgeyBkaXNwbGF5bmFtZSA6ICdkZWZhdWx0JywgdGVtcGxhdGUgOiAnbW9iaWxlJywgaW52aXRlTG9nbyA6ICJ3Yi1nbG9iZS5qcGciLCB0cmFja2VyTG9nbyA6ICJ3Yi1nbG9iZS5qcGciLCBzaXRlTG9nb1RpdGxlVGV4dCA6ICIiLCBzaXRlTG9nb0FsdFRleHQgOiAiIiwgdmVuZG9yTG9nbyA6ICJmc2xvZ28uc3ZnIiwgdmVuZG9yTG9nb1BORyA6ICJmc2xvZ28ucG5nIiwgdmVuZG9yVGl0bGVUZXh0IDogIkZvcmVTZWUiLCB2ZW5kb3JBbHRUZXh0IDogIkZvcmVTZWUgTG9nbyIsIGhpZGVGb3JlU2VlTG9nb01vYmlsZSA6IGZhbHNlLCB0cnVzdGVMb2dvQWx0VGV4dCA6ICJWYWxpZGF0ZSBUUlVTVGUgUHJpdmFjeSBDZXJ0aWZpY2F0aW9uIiwgaW52aXRlVHlwZSA6ICdFTUFJTCcsIGRpYWxvZyA6IHsgaGVhZGxpbmUgOiAiTm9zIGludGVyZXNhIHN1IG9waW5pw7NuOiIsIHN1YmhlYWRsaW5lIDogIkVuIHJlbGFjacOzbiBhIHN1IGV4cGVyaWVuY2lhIGVuIG51ZXN0cm8gc2l0aW8gd2ViLCBudWVzdHJvIHRyYWJham8sIHkgc3VzIHByaW9yaWRhZGVzIHJlbGF0aXZhcyBhbCBkZXNhcnJvbGxvLiA8c3BhbiBzdHlsZT0nZm9udC13ZWlnaHQ6IGJvbGQnPlN1cyBjb21lbnRhcmlvcyBub3MgYXl1ZGFuIGEgbWVqb3Jhci48L3NwYW4+IiwgZGVjbGluZUJ1dHRvbiA6ICJObywgZ3JhY2lhcyIsIGFjY2VwdEJ1dHRvbiA6ICJTw60sIGVudsOtZW5tZSB1bmEgZW5jdWVzdGEgYnJldmUiLCBlbWFpbEJ1dHRvbiA6ICJTw60sIGVudsOtZW5tZSB1bmEgZW5jdWVzdGEgYnJldmUiLCB0ZXh0QnV0dG9uIDogIlRleHQgbWUiLCBwb3dlcmVkYnlMaW5rIDogImh0dHA6Ly93d3cuZm9yZXNlZS5jb20iLCBwb3dlcmVkYnlUZXh0IDogIlBhdHJvY2luYWRvIHBvciBGb3JlU2VlIiwgZW1haWxQbGFjZWhvbGRlciA6ICJTdSBjb3JyZW8gZWxlY3Ryw7NuaWNvLi4uIiwgdGV4dFBsYWNlaG9sZGVyIDogIlN1IG7Dum1lcm8gZGUgdGVsw6lmb25vIG3Ds3ZpbC4uLiIsIHN1Ym1pdEJ1dHRvbiA6ICJFbnZpYXIiLCB0ZXh0RGlzY2xhaW1lciA6ICJBbCBwcm9wb3JjaW9uYXIgc3UgbsO6bWVybywgdXN0ZWQgYWN1ZXJkYSBwYXJ0aWNpcGFyIGVuIHVuYSBlbmN1ZXN0YSBkZSBGb3JlU2VlLiBQb2Ryw61hbiBhcGxpY2Fyc2UgY2FyZ29zIHBvciBtZW5zYWplIGRlIHRleHRvIHkgdHJhbnNtaXNpw7NuIGRlIGRhdG9zLiAyIG1lbnNhamVzIHBvciBlbmN1ZXN0YS4iLCBlbWFpbERpc2NsYWltZXIgOiAiIiwgdGVybXNBbmRDb25kaXRpb25UZXh0IDogIlTDqXJtaW5vcyB5IGNvbmRpY2lvbmVzIiwgcHJpdmFjeVBvbGljeUxpbmsgOiAiaHR0cDovL3d3dy5mb3Jlc2VlLmNvbS9zbXMtdGVybXMtYW5kLWNvbmRpdGlvbnMiLCBwcml2YWN5UG9saWN5VGV4dCA6ICJUw6lybWlub3MgeSBjb25kaWNpb25lcyIsIGVtYWlsSW52YWxpZGF0aW9uIDogIkluZ3Jlc2UgdW4gY29ycmVvIGVsZWN0csOzbmljbyB2w6FsaWRvIiwgdGV4dEludmFsaWRhdGlvbiA6ICJJbmdyZXNlIHVuIG7Dum1lcm8gZGUgdGVsw6lmb25vIG3Ds3ZpbCB2w6FsaWRvIiwgb25leGl0aGVhZGxpbmUgOiAiwqFNdWNoYXMgZ3JhY2lhcyEiLCBvbmV4aXRzdWJoZWFkbGluZSA6ICJOb3MgY29tdW5pY2FyZW1vcyBjb24gdXN0ZWQgY3VhbmRvIHRlcm1pbmUgc3UgdmlzaXRhIGEgbnVlc3RyYSB3ZWIuIiwgb25leGl0Y291bnRlcnRhZyA6ICJSZWdyZXNhbmRvIGEgbGEgd2ViIGVuICIsIG9uZXhpdGNvdW50ZXJ2YWwgOiAiOCIsIHRoZW1lIDogIm1haW4iIH0gfSBdIH0sIHF1YWxpZmllciA6IHsgdXNlUXVhbGlmaWVyIDogZmFsc2UgfSwgcmVtaW5kZXIgOiB7IHVzZVJlbWluZGVyIDogZmFsc2UgfSB9KSA=', 'KHsgbmFtZSA6ICdtb2JpbGVfd2ViX3NwYScsIGxhbmd1YWdlIDogeyBsb2NhbGUgOiAnc3BhJyB9LCBjeFJlY29yZCA6IGZhbHNlLCBjcml0ZXJpYSA6IHsgc3AgOiB7IHJlZyA6IDYwLCBvdXRyZXBsYXlwb29sIDogMCB9LCBsZiA6IDIsIHN1cHBvcnRzU21hcnRQaG9uZXMgOiB0cnVlLCBzdXBwb3J0c1RhYmxldHMgOiBmYWxzZSwgc3VwcG9ydHNEZXNrdG9wIDogZmFsc2UgfSwgaW5jbHVkZSA6IHsgdXJscyA6IFsgJypiYW5jb211bmRpYWwub3JnKicsICcqd2Jlcy1zdGFnZTYyLmFkb2JlY3Ftcy5uZXQqJyBdLCByZWZlcnJlcnMgOiBbXSwgdXNlckFnZW50cyA6IFtdLCBicm93c2VycyA6IFtdLCBjb29raWVzIDogW10sIHZhcmlhYmxlcyA6IFtdIH0sIGludml0ZUV4Y2x1ZGUgOiB7IHVybHMgOiBbXSwgcmVmZXJyZXJzIDogW10sIHVzZXJBZ2VudHMgOiBbXSwgYnJvd3NlcnMgOiBbXSwgY29va2llcyA6IFtdLCB2YXJpYWJsZXMgOiBbXSB9LCBwYXR0ZXJuIDogJ3VybCcsIHNlbGVjdE1vZGUgOiAnZGVmYXVsdCcsIGxpbmtzIDogeyBjYW5jZWwgOiBbXSwgc3VydmV5IDogW10sIHRyYWNrZXIgOiBbXSB9LCBkaXNwbGF5IDogeyBtb2JpbGUgOiBbIHsgZGlzcGxheW5hbWUgOiAnZGVmYXVsdCcsIHRlbXBsYXRlIDogJ21vYmlsZScsIGludml0ZUxvZ28gOiAid2ItZ2xvYmUuanBnIiwgdHJhY2tlckxvZ28gOiAid2ItZ2xvYmUuanBnIiwgc2l0ZUxvZ29UaXRsZVRleHQgOiAiIiwgc2l0ZUxvZ29BbHRUZXh0IDogIiIsIHZlbmRvckxvZ28gOiAiZnNsb2dvLnN2ZyIsIHZlbmRvckxvZ29QTkcgOiAiZnNsb2dvLnBuZyIsIHZlbmRvclRpdGxlVGV4dCA6ICJGb3JlU2VlIiwgdmVuZG9yQWx0VGV4dCA6ICJGb3JlU2VlIExvZ28iLCBoaWRlRm9yZVNlZUxvZ29Nb2JpbGUgOiBmYWxzZSwgdHJ1c3RlTG9nb0FsdFRleHQgOiAiVmFsaWRhdGUgVFJVU1RlIFByaXZhY3kgQ2VydGlmaWNhdGlvbiIsIGludml0ZVR5cGUgOiAnRU1BSUwnLCBkaWFsb2cgOiB7IGhlYWRsaW5lIDogIk5vcyBpbnRlcmVzYSBzdSBvcGluacOzbjoiLCBzdWJoZWFkbGluZSA6ICJFbiByZWxhY2nDs24gYSBzdSBleHBlcmllbmNpYSBlbiBudWVzdHJvIHNpdGlvIHdlYiwgbnVlc3RybyB0cmFiYWpvLCB5IHN1cyBwcmlvcmlkYWRlcyByZWxhdGl2YXMgYWwgZGVzYXJyb2xsby4gPHNwYW4gc3R5bGU9J2ZvbnQtd2VpZ2h0OiBib2xkJz5TdXMgY29tZW50YXJpb3Mgbm9zIGF5dWRhbiBhIG1lam9yYXIuPC9zcGFuPiIsIGRlY2xpbmVCdXR0b24gOiAiTm8sIGdyYWNpYXMiLCBhY2NlcHRCdXR0b24gOiAiU8OtLCBlbnbDrWVubWUgdW5hIGVuY3Vlc3RhIGJyZXZlIiwgZW1haWxCdXR0b24gOiAiU8OtLCBlbnbDrWVubWUgdW5hIGVuY3Vlc3RhIGJyZXZlIiwgdGV4dEJ1dHRvbiA6ICJUZXh0IG1lIiwgcG93ZXJlZGJ5TGluayA6ICJodHRwOi8vd3d3LmZvcmVzZWUuY29tIiwgcG93ZXJlZGJ5VGV4dCA6ICJQYXRyb2NpbmFkbyBwb3IgRm9yZVNlZSIsIGVtYWlsUGxhY2Vob2xkZXIgOiAiU3UgY29ycmVvIGVsZWN0csOzbmljby4uLiIsIHRleHRQbGFjZWhvbGRlciA6ICJTdSBuw7ptZXJvIGRlIHRlbMOpZm9ubyBtw7N2aWwuLi4iLCBzdWJtaXRCdXR0b24gOiAiRW52aWFyIiwgdGV4dERpc2NsYWltZXIgOiAiQWwgcHJvcG9yY2lvbmFyIHN1IG7Dum1lcm8sIHVzdGVkIGFjdWVyZGEgcGFydGljaXBhciBlbiB1bmEgZW5jdWVzdGEgZGUgRm9yZVNlZS4gUG9kcsOtYW4gYXBsaWNhcnNlIGNhcmdvcyBwb3IgbWVuc2FqZSBkZSB0ZXh0byB5IHRyYW5zbWlzacOzbiBkZSBkYXRvcy4gMiBtZW5zYWplcyBwb3IgZW5jdWVzdGEuIiwgZW1haWxEaXNjbGFpbWVyIDogIiIsIHRlcm1zQW5kQ29uZGl0aW9uVGV4dCA6ICJUw6lybWlub3MgeSBjb25kaWNpb25lcyIsIHByaXZhY3lQb2xpY3lMaW5rIDogImh0dHA6Ly93d3cuZm9yZXNlZS5jb20vc21zLXRlcm1zLWFuZC1jb25kaXRpb25zIiwgcHJpdmFjeVBvbGljeVRleHQgOiAiVMOpcm1pbm9zIHkgY29uZGljaW9uZXMiLCBlbWFpbEludmFsaWRhdGlvbiA6ICJJbmdyZXNlIHVuIGNvcnJlbyBlbGVjdHLDs25pY28gdsOhbGlkbyIsIHRleHRJbnZhbGlkYXRpb24gOiAiSW5ncmVzZSB1biBuw7ptZXJvIGRlIHRlbMOpZm9ubyBtw7N2aWwgdsOhbGlkbyIsIG9uZXhpdGhlYWRsaW5lIDogIsKhTXVjaGFzIGdyYWNpYXMhIiwgb25leGl0c3ViaGVhZGxpbmUgOiAiTm9zIGNvbXVuaWNhcmVtb3MgY29uIHVzdGVkIGN1YW5kbyB0ZXJtaW5lIHN1IHZpc2l0YSBhIG51ZXN0cmEgd2ViLiIsIG9uZXhpdGNvdW50ZXJ0YWcgOiAiUmVncmVzYW5kbyBhIGxhIHdlYiBlbiAiLCBvbmV4aXRjb3VudGVydmFsIDogIjgiLCB0aGVtZSA6ICJtYWluIiB9IH0gXSB9LCBxdWFsaWZpZXIgOiB7IHVzZVF1YWxpZmllciA6IGZhbHNlIH0sIHJlbWluZGVyIDogeyB1c2VSZW1pbmRlciA6IGZhbHNlIH0gfSkg', 'KHsgbmFtZSA6ICd0YWJsZXRfZnJlJywgbGFuZ3VhZ2UgOiB7IGxvY2FsZSA6ICdmcmUnIH0sIGN4UmVjb3JkIDogZmFsc2UsIGNyaXRlcmlhIDogeyBzcCA6IHsgcmVnIDogMTAwLCBvdXRyZXBsYXlwb29sIDogMCB9LCBsZiA6IDIsIHN1cHBvcnRzU21hcnRQaG9uZXMgOiBmYWxzZSwgc3VwcG9ydHNUYWJsZXRzIDogdHJ1ZSwgc3VwcG9ydHNEZXNrdG9wIDogZmFsc2UgfSwgaW5jbHVkZSA6IHsgdXJscyA6IFsgJypiYW5xdWVtb25kaWFsZS5vcmcqJywgJyp3YmZyLXN0YWdlNjIuYWRvYmVjcW1zLm5ldConIF0sIHJlZmVycmVycyA6IFtdLCB1c2VyQWdlbnRzIDogW10sIGJyb3dzZXJzIDogW10sIGNvb2tpZXMgOiBbXSwgdmFyaWFibGVzIDogW10gfSwgaW52aXRlRXhjbHVkZSA6IHsgdXJscyA6IFtdLCByZWZlcnJlcnMgOiBbXSwgdXNlckFnZW50cyA6IFtdLCBicm93c2VycyA6IFtdLCBjb29raWVzIDogW10sIHZhcmlhYmxlcyA6IFtdIH0sIHBhdHRlcm4gOiAndXJsJywgc2VsZWN0TW9kZSA6ICdkZWZhdWx0JywgbGlua3MgOiB7IGNhbmNlbCA6IFtdLCBzdXJ2ZXkgOiBbXSwgdHJhY2tlciA6IFtdIH0sIGRpc3BsYXkgOiB7IG1vYmlsZSA6IFsgeyBkaXNwbGF5bmFtZSA6ICdkZWZhdWx0JywgdGVtcGxhdGUgOiAnbW9iaWxlJywgaW52aXRlTG9nbyA6ICJ3Yi1nbG9iZS5qcGciLCB0cmFja2VyTG9nbyA6ICJ3Yi1nbG9iZS5qcGciLCBzaXRlTG9nb1RpdGxlVGV4dCA6ICIiLCBzaXRlTG9nb0FsdFRleHQgOiAiIiwgdmVuZG9yTG9nbyA6ICJmc2xvZ28uc3ZnIiwgdmVuZG9yTG9nb1BORyA6ICJmc2xvZ28ucG5nIiwgdmVuZG9yVGl0bGVUZXh0IDogIkZvcmVTZWUiLCB2ZW5kb3JBbHRUZXh0IDogIkZvcmVTZWUgTG9nbyIsIGhpZGVGb3JlU2VlTG9nb01vYmlsZSA6IGZhbHNlLCB0cnVzdGVMb2dvQWx0VGV4dCA6ICJWYWxpZGF0ZSBUUlVTVGUgUHJpdmFjeSBDZXJ0aWZpY2F0aW9uIiwgaW52aXRlVHlwZSA6ICdFTUFJTCcsIGRpYWxvZyA6IHsgaGVhZGxpbmU6ICJWb3RyZSBhdmlzIG5vdXMgaW50w6lyZXNzZToiLCBzdWJoZWFkbGluZTogIlN1ciBsYSBuYXZpZ2F0aW9uIGRlcHVpcyB2b3RyZSB0w6lsw6lwaG9uZS90YWJsZXR0ZSwgc3VyIG5vcyBhY3Rpdml0w6lzIGV0IG5vcyBwcmlvcml0w6lzIGVuIGZhdmV1ciBkdSBkw6l2ZWxvcHBlbWVudC4gPHNwYW4gc3R5bGU9J2ZvbnQtd2VpZ2h0OiBib2xkJz5Wb3RyZSBhdmlzIG5vdXMgYWlkZSDDoCBub3VzIGFtw6lsaW9yZXIuPC9zcGFuPiIsIGRlY2xpbmVCdXR0b246ICJOb24gbWVyY2kiLCBhY2NlcHRCdXR0b246ICJPdWksIGVudm95ZXotbW9pIGxlIHNvbmRhZ2UiLCBlbWFpbEJ1dHRvbjogIk91aSwgZW52b3llei1tb2kgbGUgc29uZGFnZSIsIHRleHRCdXR0b246ICJFbnZveWV6LW1vaSB1biB0ZXh0byIsIHBvd2VyZWRieUxpbms6ICJodHRwOi8vd3d3LmZvcmVzZWUuY29tIiwgcG93ZXJlZGJ5VGV4dDogIkTDqXZlbG9wcMOpIHBhciBGb3JlU2VlIiwgZW1haWxQbGFjZWhvbGRlcjogIlZvdHJlIGFkcmVzc2Ugw6lsZWN0cm9uaXF1ZS4uLiIsIHN1Ym1pdEJ1dHRvbjogIlNvdW1ldHRyZSIsIHRleHREaXNjbGFpbWVyOiAiRW4gZm91cm5pc3NhbnQgdm90cmUgbnVtw6lybywgdm91cyBjb25zZW50ZXogw6AgcGFydGljaXBlciDDoCB1biBzb25kYWdlIEZvcmVzZWUuIERlcyB0YXJpZnMgZGUgbWVzc2FnZXJpZSBldCBkZSB0cmFuc2ZlcnQgZGUgZG9ubsOpZXMgcGV1dmVudCBz4oCZYXBwbGlxdWVyLiBEZXV4IG1lc3NhZ2VzIHBhciBzb25kYWdlLiIsIGVtYWlsRGlzY2xhaW1lcjogIiIsIHByaXZhY3lQb2xpY3lMaW5rOiAiaHR0cDovL3d3dy5mb3Jlc2VlLmNvbS9hYm91dC11cy9wcml2YWN5LXBvbGljeS9mcmFuY2UvIiwgcHJpdmFjeVBvbGljeVRleHQ6ICJUZXJtZXMgZXQgY29uZGl0aW9ucyIsIHRlcm1zQW5kQ29uZGl0aW9uVGV4dDogIlRlcm1lcyBldCBjb25kaXRpb25zIiwgZW1haWxJbnZhbGlkYXRpb246ICJWZXVpbGxleiBlbnRyZXIgdW5lIGFkcmVzc2UgZGUgY291cnJpZWwgdmFsaWRlIiwgdGV4dEludmFsaWRhdGlvbjogIlZldWlsbGV6IGVudHJlciB1biBudW3DqXJvIGRlIGNlbGx1bGFpcmUgdmFsaWRlIiwgb25leGl0aGVhZGxpbmU6ICJNZXJjaSEiLCBvbmV4aXRzdWJoZWFkbGluZTogIk5vdXMgY29tbXVuaXF1ZXJvbnMgYXZlYyB2b3VzIGFwcsOocyBsYSB2aXNpdGUgZGUgbm90cmUgc2l0ZS4iLCBvbmV4aXRjb3VudGVydGFnOiAiUmV2ZW5pciBkYW5zICIsIG9uZXhpdGNvdW50ZXJ2YWwgOiAiOCIsIHRoZW1lIDogIm1haW4iIH0gfSBdIH0sIHF1YWxpZmllciA6IHsgdXNlUXVhbGlmaWVyIDogZmFsc2UgfSwgcmVtaW5kZXIgOiB7IHVzZVJlbWluZGVyIDogZmFsc2UgfSB9KSA=', 'KHsgbmFtZSA6ICdtb2JpbGVfd2ViX2ZyZScsIGxhbmd1YWdlIDogeyBsb2NhbGUgOiAnZnJlJyB9LCBjeFJlY29yZCA6IGZhbHNlLCBjcml0ZXJpYSA6IHsgc3AgOiB7IHJlZyA6IDEwMCwgb3V0cmVwbGF5cG9vbCA6IDAgfSwgbGYgOiAyLCBzdXBwb3J0c1NtYXJ0UGhvbmVzIDogdHJ1ZSwgc3VwcG9ydHNUYWJsZXRzIDogZmFsc2UsIHN1cHBvcnRzRGVza3RvcCA6IGZhbHNlIH0sIGluY2x1ZGUgOiB7IHVybHMgOiBbICcqYmFucXVlbW9uZGlhbGUub3JnKicsICcqd2Jmci1zdGFnZTYyLmFkb2JlY3Ftcy5uZXQqJyBdLCByZWZlcnJlcnMgOiBbXSwgdXNlckFnZW50cyA6IFtdLCBicm93c2VycyA6IFtdLCBjb29raWVzIDogW10sIHZhcmlhYmxlcyA6IFtdIH0sIGludml0ZUV4Y2x1ZGUgOiB7IHVybHMgOiBbXSwgcmVmZXJyZXJzIDogW10sIHVzZXJBZ2VudHMgOiBbXSwgYnJvd3NlcnMgOiBbXSwgY29va2llcyA6IFtdLCB2YXJpYWJsZXMgOiBbXSB9LCBwYXR0ZXJuIDogJ3VybCcsIHNlbGVjdE1vZGUgOiAnZGVmYXVsdCcsIGxpbmtzIDogeyBjYW5jZWwgOiBbXSwgc3VydmV5IDogW10sIHRyYWNrZXIgOiBbXSB9LCBkaXNwbGF5IDogeyBtb2JpbGUgOiBbIHsgZGlzcGxheW5hbWUgOiAnZGVmYXVsdCcsIHRlbXBsYXRlIDogJ21vYmlsZScsIGludml0ZUxvZ28gOiAid2ItZ2xvYmUuanBnIiwgdHJhY2tlckxvZ28gOiAid2ItZ2xvYmUuanBnIiwgc2l0ZUxvZ29UaXRsZVRleHQgOiAiIiwgc2l0ZUxvZ29BbHRUZXh0IDogIiIsIHZlbmRvckxvZ28gOiAiZnNsb2dvLnN2ZyIsIHZlbmRvckxvZ29QTkcgOiAiZnNsb2dvLnBuZyIsIHZlbmRvclRpdGxlVGV4dCA6ICJGb3JlU2VlIiwgdmVuZG9yQWx0VGV4dCA6ICJGb3JlU2VlIExvZ28iLCBoaWRlRm9yZVNlZUxvZ29Nb2JpbGUgOiBmYWxzZSwgdHJ1c3RlTG9nb0FsdFRleHQgOiAiVmFsaWRhdGUgVFJVU1RlIFByaXZhY3kgQ2VydGlmaWNhdGlvbiIsIGludml0ZVR5cGUgOiAnRU1BSUwnLCBkaWFsb2cgOiB7IGhlYWRsaW5lOiAiVm90cmUgYXZpcyBub3VzIGludMOpcmVzc2U6Iiwgc3ViaGVhZGxpbmU6ICJTdXIgbGEgbmF2aWdhdGlvbiBkZXB1aXMgdm90cmUgdMOpbMOpcGhvbmUvdGFibGV0dGUsIHN1ciBub3MgYWN0aXZpdMOpcyBldCBub3MgcHJpb3JpdMOpcyBlbiBmYXZldXIgZHUgZMOpdmVsb3BwZW1lbnQuIDxzcGFuIHN0eWxlPSdmb250LXdlaWdodDogYm9sZCc+Vm90cmUgYXZpcyBub3VzIGFpZGUgw6Agbm91cyBhbcOpbGlvcmVyLjwvc3Bhbj4iLCBkZWNsaW5lQnV0dG9uOiAiTm9uIG1lcmNpIiwgYWNjZXB0QnV0dG9uOiAiT3VpLCBlbnZveWV6LW1vaSBsZSBzb25kYWdlIiwgZW1haWxCdXR0b246ICJPdWksIGVudm95ZXotbW9pIGxlIHNvbmRhZ2UiLCB0ZXh0QnV0dG9uOiAiRW52b3llei1tb2kgdW4gdGV4dG8iLCBwb3dlcmVkYnlMaW5rOiAiaHR0cDovL3d3dy5mb3Jlc2VlLmNvbSIsIHBvd2VyZWRieVRleHQ6ICJEw6l2ZWxvcHDDqSBwYXIgRm9yZVNlZSIsIGVtYWlsUGxhY2Vob2xkZXI6ICJWb3RyZSBhZHJlc3NlIMOpbGVjdHJvbmlxdWUuLi4iLCBzdWJtaXRCdXR0b246ICJTb3VtZXR0cmUiLCB0ZXh0RGlzY2xhaW1lcjogIkVuIGZvdXJuaXNzYW50IHZvdHJlIG51bcOpcm8sIHZvdXMgY29uc2VudGV6IMOgIHBhcnRpY2lwZXIgw6AgdW4gc29uZGFnZSBGb3Jlc2VlLiBEZXMgdGFyaWZzIGRlIG1lc3NhZ2VyaWUgZXQgZGUgdHJhbnNmZXJ0IGRlIGRvbm7DqWVzIHBldXZlbnQgc+KAmWFwcGxpcXVlci4gRGV1eCBtZXNzYWdlcyBwYXIgc29uZGFnZS4iLCBlbWFpbERpc2NsYWltZXI6ICIiLCBwcml2YWN5UG9saWN5TGluazogImh0dHA6Ly93d3cuZm9yZXNlZS5jb20vYWJvdXQtdXMvcHJpdmFjeS1wb2xpY3kvZnJhbmNlLyIsIHByaXZhY3lQb2xpY3lUZXh0OiAiVGVybWVzIGV0IGNvbmRpdGlvbnMiLCB0ZXJtc0FuZENvbmRpdGlvblRleHQ6ICJUZXJtZXMgZXQgY29uZGl0aW9ucyIsIGVtYWlsSW52YWxpZGF0aW9uOiAiVmV1aWxsZXogZW50cmVyIHVuZSBhZHJlc3NlIGRlIGNvdXJyaWVsIHZhbGlkZSIsIHRleHRJbnZhbGlkYXRpb246ICJWZXVpbGxleiBlbnRyZXIgdW4gbnVtw6lybyBkZSBjZWxsdWxhaXJlIHZhbGlkZSIsIG9uZXhpdGhlYWRsaW5lOiAiTWVyY2khIiwgb25leGl0c3ViaGVhZGxpbmU6ICJOb3VzIGNvbW11bmlxdWVyb25zIGF2ZWMgdm91cyBhcHLDqHMgbGEgdmlzaXRlIGRlIG5vdHJlIHNpdGUuIiwgb25leGl0Y291bnRlcnRhZzogIlJldmVuaXIgZGFucyAiLCBvbmV4aXRjb3VudGVydmFsIDogIjgiLCB0aGVtZSA6ICJtYWluIiB9IH0gXSB9LCBxdWFsaWZpZXIgOiB7IHVzZVF1YWxpZmllciA6IGZhbHNlIH0sIHJlbWluZGVyIDogeyB1c2VSZW1pbmRlciA6IGZhbHNlIH0gfSkg', 'KHsgbmFtZSA6ICd0YWJsZXRfYXJhJywgbGFuZ3VhZ2UgOiB7IGxvY2FsZSA6ICdhcmEnIH0sIGN4UmVjb3JkIDogZmFsc2UsIGNyaXRlcmlhIDogeyBzcCA6IHsgcmVnIDogNjAsIG91dHJlcGxheXBvb2wgOiAwIH0sIGxmIDogMiwgc3VwcG9ydHNTbWFydFBob25lcyA6IGZhbHNlLCBzdXBwb3J0c1RhYmxldHMgOiB0cnVlLCBzdXBwb3J0c0Rlc2t0b3AgOiBmYWxzZSB9LCBpbmNsdWRlIDogeyB1cmxzIDogWyAnKmFsYmFua2FsZGF3bGkub3JnKicsICcqaHR0cDovL3diYXItc3RhZ2U2Mi5hZG9iZWNxbXMubmV0KicgXSwgcmVmZXJyZXJzIDogW10sIHVzZXJBZ2VudHMgOiBbXSwgYnJvd3NlcnMgOiBbXSwgY29va2llcyA6IFtdLCB2YXJpYWJsZXMgOiBbXSB9LCBpbnZpdGVFeGNsdWRlIDogeyB1cmxzIDogW10sIHJlZmVycmVycyA6IFtdLCB1c2VyQWdlbnRzIDogW10sIGJyb3dzZXJzIDogW10sIGNvb2tpZXMgOiBbXSwgdmFyaWFibGVzIDogW10gfSwgcGF0dGVybiA6ICd1cmwnLCBzZWxlY3RNb2RlIDogJ2RlZmF1bHQnLCBsaW5rcyA6IHsgY2FuY2VsIDogW10sIHN1cnZleSA6IFtdLCB0cmFja2VyIDogW10gfSwgZGlzcGxheSA6IHsgbW9iaWxlIDogWyB7IGRpc3BsYXluYW1lIDogJ2RlZmF1bHQnLCB0ZW1wbGF0ZSA6ICdAbW9iaWxlX2FyJywgaW52aXRlTG9nbyA6ICJ3Yi1nbG9iZS5qcGciLCB0cmFja2VyTG9nbyA6ICJ3Yi1nbG9iZS5qcGciLCBzaXRlTG9nb1RpdGxlVGV4dCA6ICIiLCBzaXRlTG9nb0FsdFRleHQgOiAiIiwgdmVuZG9yTG9nbyA6ICJmc2xvZ28uc3ZnIiwgdmVuZG9yTG9nb1BORyA6ICJmc2xvZ28ucG5nIiwgdmVuZG9yVGl0bGVUZXh0IDogIkZvcmVTZWUiLCB2ZW5kb3JBbHRUZXh0IDogIkZvcmVTZWUgTG9nbyIsIGhpZGVGb3JlU2VlTG9nb01vYmlsZSA6IGZhbHNlLCB0cnVzdGVMb2dvQWx0VGV4dCA6ICJWYWxpZGF0ZSBUUlVTVGUgUHJpdmFjeSBDZXJ0aWZpY2F0aW9uIiwgaW52aXRlVHlwZSA6ICdFTUFJTCcsIGRpYWxvZyA6IHsgaGVhZGxpbmU6ICLZhtmI2K8g2LHYo9mK2YPZhTomcmxtOyIsIHN1YmhlYWRsaW5lOiAi2LnZhNmJINiq2KzYsdio2Kkg2KfZhNiq2LXZgditINio2KfZhNis2YfYp9iyINin2YTZhdit2YXZiNmEINin2YTYrtin2LUg2KjZg9iMINi52YXZhNmG2Kcg2KfZhNil2YbZhdin2KbZitiMINmI2KPZiNmE2YjZitin2KrZg9mFINmB2YrZhdinINmK2KrYudmE2YIg2KjYp9mE2KrZhtmF2YrYqS4mcmxtOyDYqtiz2KfYudiv2YbYpyDYqti52YTZitmC2KfYqtmD2YUg2YHZiiDYqtit2LPZitmGINi52YXZhNmG2KcuJnJsbTsiLCBkZWNsaW5lQnV0dG9uOiAi2YTYp9iMINi02YPYsdmL2KciLCBhY2NlcHRCdXR0b246ICLZhti52YXYjCDYs9ij2LPYp9i52K8iLCBlbWFpbEJ1dHRvbjogItmG2LnZhdiMINij2LHYs9mEINmE2Yog2YXYs9itINin2LPYqtmC2LXYp9im2Yog2YXZiNis2LLYpyIsIHBvd2VyZWRieUxpbms6ICJodHRwOi8vd3d3LmZvcmVzZWUuY29tIiwgcG93ZXJlZGJ5VGV4dDogItmF2K/YudmI2YUg2YXZhiBGb3JlU2VlIiwgZW1haWxQbGFjZWhvbGRlcjogIti52YbZiNin2YYg2KjYsdmK2K/ZgyDYp9mE2KXZhNmD2KrYsdmI2YbZiuKApiZybG07Iiwgc3VibWl0QnV0dG9uOiAi2KXYsdiz2KfZhCIsIGVtYWlsRGlzY2xhaW1lcjogIiIsIHRlcm1zQW5kQ29uZGl0aW9uVGV4dDogItin2YTYtNix2YjYtyDZiNin2YTYqNmG2YjYryIsIHByaXZhY3lQb2xpY3lMaW5rOiAiaHR0cDovL3d3dy5mb3Jlc2VlLmNvbS9hYm91dC11cy9wcml2YWN5LXBvbGljeS8iLCBwcml2YWN5UG9saWN5VGV4dDogItiz2YrYp9iz2Kkg2K7YtdmI2LXZitipIiwgZW1haWxJbnZhbGlkYXRpb246ICLZitmP2LHYrNmJINil2K/Yrtin2YQg2LnZhtmI2KfZhiDYqNix2YrYryDYpdmE2YPYqtix2YjZhtmKINi12KfZhNitIiwgb25leGl0aGVhZGxpbmU6ICLYtNmD2LHZi9inISZybG07Iiwgb25leGl0c3ViaGVhZGxpbmU6ICLYs9mG2KrYtdmEINio2YMg2KjYudivINij2YYg2KrZhtiq2YfZii/YqtmG2KrZh9mK2YYg2YXZhiDZhdmI2YLYudmG2KcuJnJsbTsiLCBvbmV4aXRjb3VudGVydGFnOiAi2KfZhNi52YjYr9ipINmB2Yog2LjYsdmBICIsIG9uZXhpdGNvdW50ZXJ2YWwgOiAiOCIsIHRoZW1lIDogIm1haW4iIH0gfSBdIH0sIHF1YWxpZmllciA6IHsgdXNlUXVhbGlmaWVyIDogZmFsc2UgfSwgcmVtaW5kZXIgOiB7IHVzZVJlbWluZGVyIDogZmFsc2UgfSB9KSA=', 'KHsgbmFtZSA6ICdtb2JpbGVfd2ViX2FyYScsIGxhbmd1YWdlIDogeyBsb2NhbGUgOiAnYXJhJyB9LCBjeFJlY29yZCA6IGZhbHNlLCBjcml0ZXJpYSA6IHsgc3AgOiB7IHJlZyA6IDYwLCBvdXRyZXBsYXlwb29sIDogMCB9LCBsZiA6IDIsIHN1cHBvcnRzU21hcnRQaG9uZXMgOiB0cnVlLCBzdXBwb3J0c1RhYmxldHMgOiBmYWxzZSwgc3VwcG9ydHNEZXNrdG9wIDogZmFsc2UgfSwgaW5jbHVkZSA6IHsgdXJscyA6IFsgJyphbGJhbmthbGRhd2xpLm9yZyonLCAnKmh0dHA6Ly93YmFyLXN0YWdlNjIuYWRvYmVjcW1zLm5ldConIF0sIHJlZmVycmVycyA6IFtdLCB1c2VyQWdlbnRzIDogW10sIGJyb3dzZXJzIDogW10sIGNvb2tpZXMgOiBbXSwgdmFyaWFibGVzIDogW10gfSwgaW52aXRlRXhjbHVkZSA6IHsgdXJscyA6IFtdLCByZWZlcnJlcnMgOiBbXSwgdXNlckFnZW50cyA6IFtdLCBicm93c2VycyA6IFtdLCBjb29raWVzIDogW10sIHZhcmlhYmxlcyA6IFtdIH0sIHBhdHRlcm4gOiAndXJsJywgc2VsZWN0TW9kZSA6ICdkZWZhdWx0JywgbGlua3MgOiB7IGNhbmNlbCA6IFtdLCBzdXJ2ZXkgOiBbXSwgdHJhY2tlciA6IFtdIH0sIGRpc3BsYXkgOiB7IG1vYmlsZSA6IFsgeyBkaXNwbGF5bmFtZSA6ICdkZWZhdWx0JywgdGVtcGxhdGUgOiAnQG1vYmlsZV9hcicsIGludml0ZUxvZ28gOiAid29ybGRiYW5rX2xvZ29fMzE1MjAxOC5qcGciLCB0cmFja2VyTG9nbyA6ICJ3b3JsZGJhbmtfbG9nb18zMTUyMDE4LmpwZyIsIHNpdGVMb2dvVGl0bGVUZXh0IDogIiIsIHNpdGVMb2dvQWx0VGV4dCA6ICIiLCB2ZW5kb3JMb2dvIDogImZzbG9nby5zdmciLCB2ZW5kb3JMb2dvUE5HIDogImZzbG9nby5wbmciLCB2ZW5kb3JUaXRsZVRleHQgOiAiRm9yZVNlZSIsIHZlbmRvckFsdFRleHQgOiAiRm9yZVNlZSBMb2dvIiwgaGlkZUZvcmVTZWVMb2dvTW9iaWxlIDogZmFsc2UsIHRydXN0ZUxvZ29BbHRUZXh0IDogIlZhbGlkYXRlIFRSVVNUZSBQcml2YWN5IENlcnRpZmljYXRpb24iLCBpbnZpdGVUeXBlIDogJ0VNQUlMJywgZGlhbG9nIDogeyBoZWFkbGluZTogItmG2YjYryDYsdij2YrZg9mFOiZybG07Iiwgc3ViaGVhZGxpbmU6ICLYudmE2Ykg2KrYrNix2KjYqSDYp9mE2KrYtdmB2K0g2KjYp9mE2KzZh9in2LIg2KfZhNmF2K3ZhdmI2YQg2KfZhNiu2KfYtSDYqNmD2Iwg2LnZhdmE2YbYpyDYp9mE2KXZhtmF2KfYptmK2Iwg2YjYo9mI2YTZiNmK2KfYqtmD2YUg2YHZitmF2Kcg2YrYqti52YTZgiDYqNin2YTYqtmG2YXZitipLiZybG07INiq2LPYp9i52K/ZhtinINiq2LnZhNmK2YLYp9iq2YPZhSDZgdmKINiq2K3Ys9mK2YYg2LnZhdmE2YbYpy4mcmxtOyIsIGRlY2xpbmVCdXR0b246ICLZhNin2Iwg2LTZg9ix2YvYpyIsIGFjY2VwdEJ1dHRvbjogItmG2LnZhdiMINiz2KPYs9in2LnYryIsIGVtYWlsQnV0dG9uOiAi2YbYudmF2Iwg2KPYsdiz2YQg2YTZiiDZhdiz2K0g2KfYs9iq2YLYtdin2KbZiiDZhdmI2KzYstinIiwgcG93ZXJlZGJ5TGluazogImh0dHA6Ly93d3cuZm9yZXNlZS5jb20iLCBwb3dlcmVkYnlUZXh0OiAi2YXYr9i52YjZhSDZhdmGIEZvcmVTZWUiLCBlbWFpbFBsYWNlaG9sZGVyOiAi2LnZhtmI2KfZhiDYqNix2YrYr9mDINin2YTYpdmE2YPYqtix2YjZhtmK4oCmJnJsbTsiLCBzdWJtaXRCdXR0b246ICLYpdix2LPYp9mEIiwgZW1haWxEaXNjbGFpbWVyOiAiIiwgdGVybXNBbmRDb25kaXRpb25UZXh0OiAi2KfZhNi02LHZiNi3INmI2KfZhNio2YbZiNivIiwgcHJpdmFjeVBvbGljeUxpbms6ICJodHRwOi8vd3d3LmZvcmVzZWUuY29tL2Fib3V0LXVzL3ByaXZhY3ktcG9saWN5LyIsIHByaXZhY3lQb2xpY3lUZXh0OiAi2LPZitin2LPYqSDYrti12YjYtdmK2KkiLCBlbWFpbEludmFsaWRhdGlvbjogItmK2Y/Ysdis2Ykg2KXYr9iu2KfZhCDYudmG2YjYp9mGINio2LHZitivINil2YTZg9iq2LHZiNmG2Yog2LXYp9mE2K0iLCBvbmV4aXRoZWFkbGluZTogIti02YPYsdmL2KchJnJsbTsiLCBvbmV4aXRzdWJoZWFkbGluZTogItiz2YbYqti12YQg2KjZgyDYqNi52K8g2KPZhiDYqtmG2KrZh9mKL9iq2YbYqtmH2YrZhiDZhdmGINmF2YjZgti52YbYpy4mcmxtOyIsIG9uZXhpdGNvdW50ZXJ0YWc6ICLYp9mE2LnZiNiv2Kkg2YHZiiDYuNix2YEgIiwgb25leGl0Y291bnRlcnZhbCA6ICI4IiwgdGhlbWUgOiAibWFpbiIgfSB9IF0gfSwgcXVhbGlmaWVyIDogeyB1c2VRdWFsaWZpZXIgOiBmYWxzZSB9LCByZW1pbmRlciA6IHsgdXNlUmVtaW5kZXIgOiBmYWxzZSB9IH0pIA==', 'KHsgbmFtZSA6ICd0YWJsZXQnLCBsYW5ndWFnZSA6IHsgbG9jYWxlIDogJ2VuZycgfSwgY3hSZWNvcmQgOiBmYWxzZSwgY3JpdGVyaWEgOiB7IHNwIDogeyByZWcgOiA0MCwgb3V0cmVwbGF5cG9vbCA6IDAgfSwgbGYgOiAyLCBzdXBwb3J0c1NtYXJ0UGhvbmVzIDogZmFsc2UsIHN1cHBvcnRzVGFibGV0cyA6IHRydWUsIHN1cHBvcnRzRGVza3RvcCA6IGZhbHNlIH0sIGluY2x1ZGUgOiB7IHVybHMgOiBbICcqd29ybGRiYW5rLm9yZyonLCAnKmh0dHA6Ly93Yi1zdGFnZTYyLmFkb2JlY3Ftcy5uZXQvKicsICcqaHR0cDovL25saXZlLmV4dGNjLmNvbS8qJywgJypodHRwOi8vd2JydS1zdGFnZTYyLmFkb2JlY3Ftcy5uZXQqJywgJypodHRwOi8vd2J6aC1zdGFnZTYyLmFkb2JlY3Ftcy5uZXQqJyBdLCByZWZlcnJlcnMgOiBbXSwgdXNlckFnZW50cyA6IFtdLCBicm93c2VycyA6IFtdLCBjb29raWVzIDogW10sIHZhcmlhYmxlcyA6IFtdIH0sIGludml0ZUV4Y2x1ZGUgOiB7IHVybHMgOiBbXSwgcmVmZXJyZXJzIDogW10sIHVzZXJBZ2VudHMgOiBbXSwgYnJvd3NlcnMgOiBbXSwgY29va2llcyA6IFtdLCB2YXJpYWJsZXMgOiBbXSB9LCBwYXR0ZXJuIDogJ3VybCcsIHNlbGVjdE1vZGUgOiAnZGVmYXVsdCcsIGxpbmtzIDogeyBjYW5jZWwgOiBbXSwgc3VydmV5IDogW10sIHRyYWNrZXIgOiBbXSB9LCBkaXNwbGF5IDogeyBtb2JpbGUgOiBbIHsgZGlzcGxheW5hbWUgOiAnZGVmYXVsdCcsIHRlbXBsYXRlIDogJ21vYmlsZScsIGludml0ZUxvZ28gOiAid2ItZ2xvYmUuanBnIiwgdHJhY2tlckxvZ28gOiAid2ItZ2xvYmUuanBnIiwgc2l0ZUxvZ29UaXRsZVRleHQgOiAiIiwgc2l0ZUxvZ29BbHRUZXh0IDogIiIsIHZlbmRvckxvZ28gOiAiZnNsb2dvLnN2ZyIsIHZlbmRvckxvZ29QTkcgOiAiZnNsb2dvLnBuZyIsIHZlbmRvclRpdGxlVGV4dCA6ICJGb3JlU2VlIiwgdmVuZG9yQWx0VGV4dCA6ICJGb3JlU2VlIExvZ28iLCBoaWRlRm9yZVNlZUxvZ29Nb2JpbGUgOiBmYWxzZSwgdHJ1c3RlTG9nb0FsdFRleHQgOiAiVmFsaWRhdGUgVFJVU1RlIFByaXZhY3kgQ2VydGlmaWNhdGlvbiIsIGludml0ZVR5cGUgOiAnRU1BSUwnLCBkaWFsb2cgOiB7IGhlYWRsaW5lIDogIldlJ2QgbGlrZSB5b3VyIG9waW5pb246Iiwgc3ViaGVhZGxpbmUgOiAiT24geW91ciBtb2JpbGUgYnJvd3NpbmcgZXhwZXJpZW5jZSwgb3VyIGRldmVsb3BtZW50IHdvcmssIHlvdXIgZGV2ZWxvcG1lbnQgcHJpb3JpdGllcy4gPHNwYW4gc3R5bGU9J2ZvbnQtd2VpZ2h0OiBib2xkJz5Zb3VyIGZlZWRiYWNrIGhlbHBzIHVzIGltcHJvdmUgb3VyIHdvcmsuPC9zcGFuPiIsIGRlY2xpbmVCdXR0b24gOiAiTm8sIHRoYW5rcyIsIGFjY2VwdEJ1dHRvbiA6ICJZZXMsIEknbGwgaGVscCIsIGVtYWlsQnV0dG9uIDogIlllcywgZW1haWwgbWUgYSBicmllZiBzdXJ2ZXkiLCB0ZXh0QnV0dG9uIDogIlRleHQgbWUiLCBwb3dlcmVkYnlMaW5rIDogImh0dHA6Ly93d3cuZm9yZXNlZS5jb20iLCBwb3dlcmVkYnlUZXh0IDogIlBvd2VyZWQgYnkgRm9yZVNlZSIsIGVtYWlsUGxhY2Vob2xkZXIgOiAiWW91ciBlbWFpbC4uLiIsIHRleHRQbGFjZWhvbGRlciA6ICJZb3VyIGNlbGxwaG9uZSBudW1iZXIuLi4iLCBzdWJtaXRCdXR0b24gOiAiU3VibWl0IiwgdGV4dERpc2NsYWltZXIgOiAiUHJvdmlkaW5nIHlvdXIgbnVtYmVyIG1lYW5zIHlvdSBhcmUgcGFydGljaXBhdGluZyBpbiBhIEZvcmVTZWUgc3VydmV5LiBNZXNzYWdlICZhbXA7IGRhdGEgcmF0ZXMgbWF5IGFwcGx5LiAyIG1lc3NhZ2VzIHBlciBzdXJ2ZXkuIiwgZW1haWxEaXNjbGFpbWVyIDogIiIsIHRlcm1zQW5kQ29uZGl0aW9uVGV4dCA6ICJUZXJtcyBhbmQgQ29uZGl0aW9ucyIsIHByaXZhY3lQb2xpY3lMaW5rIDogImh0dHA6Ly93d3cuZm9yZXNlZS5jb20vc21zLXRlcm1zLWFuZC1jb25kaXRpb25zIiwgcHJpdmFjeVBvbGljeVRleHQgOiAiUHJpdmFjeSBQb2xpY3kiLCBlbWFpbEludmFsaWRhdGlvbiA6ICJQbGVhc2UgZW50ZXIgYSB2YWxpZCBlbWFpbCIsIHRleHRJbnZhbGlkYXRpb24gOiAiUGxlYXNlIGVudGVyIGEgdmFsaWQgY2VsbHBob25lIG51bWJlciIsIG9uZXhpdGhlYWRsaW5lIDogIlRoYW5rIHlvdSEiLCBuZXhpdHN1YmhlYWRsaW5lIDogIldlJ2xsIHJlYWNoIG91dCB0byB5b3UgYWZ0ZXIgeW91IGZpbmlzaCBvbiBvdXIgc2l0ZS4iLCBvbmV4aXRjb3VudGVydGFnIDogIlJldHVybmluZyBpbiAiLCBvbmV4aXRjb3VudGVydmFsIDogIjgiLCB0aGVtZSA6ICJtYWluIiB9IH0gXSB9LCBxdWFsaWZpZXIgOiB7IHVzZVF1YWxpZmllciA6IGZhbHNlIH0sIHJlbWluZGVyIDogeyB1c2VSZW1pbmRlciA6IGZhbHNlIH0gfSkg', 'KHsgbmFtZSA6ICdtb2JpbGVfd2ViJywgbGFuZ3VhZ2UgOiB7IGxvY2FsZSA6ICdlbmcnIH0sIGN4UmVjb3JkIDogZmFsc2UsIGNyaXRlcmlhIDogeyBzcCA6IHsgcmVnIDogNDAsIG91dHJlcGxheXBvb2wgOiAwIH0sIGxmIDogMiwgc3VwcG9ydHNTbWFydFBob25lcyA6IHRydWUsIHN1cHBvcnRzVGFibGV0cyA6IGZhbHNlLCBzdXBwb3J0c0Rlc2t0b3AgOiBmYWxzZSB9LCBpbmNsdWRlIDogeyB1cmxzIDogWyAnKndvcmxkYmFuay5vcmcqJywgJypodHRwOi8vd2Itc3RhZ2U2Mi5hZG9iZWNxbXMubmV0LyonLCAnKmh0dHA6Ly9ubGl2ZS5leHRjYy5jb20vKicsICcqaHR0cDovL3dicnUtc3RhZ2U2Mi5hZG9iZWNxbXMubmV0KicsICcqaHR0cDovL3diemgtc3RhZ2U2Mi5hZG9iZWNxbXMubmV0KicgXSwgcmVmZXJyZXJzIDogW10sIHVzZXJBZ2VudHMgOiBbXSwgYnJvd3NlcnMgOiBbXSwgY29va2llcyA6IFtdLCB2YXJpYWJsZXMgOiBbXSB9LCBpbnZpdGVFeGNsdWRlIDogeyB1cmxzIDogW10sIHJlZmVycmVycyA6IFtdLCB1c2VyQWdlbnRzIDogW10sIGJyb3dzZXJzIDogW10sIGNvb2tpZXMgOiBbXSwgdmFyaWFibGVzIDogW10gfSwgcGF0dGVybiA6ICd1cmwnLCBzZWxlY3RNb2RlIDogJ2RlZmF1bHQnLCBsaW5rcyA6IHsgY2FuY2VsIDogW10sIHN1cnZleSA6IFtdLCB0cmFja2VyIDogW10gfSwgZGlzcGxheSA6IHsgbW9iaWxlIDogWyB7IGRpc3BsYXluYW1lIDogJ2RlZmF1bHQnLCB0ZW1wbGF0ZSA6ICdtb2JpbGUnLCBpbnZpdGVMb2dvIDogIndiLWdsb2JlLmpwZyIsIHRyYWNrZXJMb2dvIDogIndiLWdsb2JlLmpwZyIsIHNpdGVMb2dvVGl0bGVUZXh0IDogIiIsIHNpdGVMb2dvQWx0VGV4dCA6ICIiLCB2ZW5kb3JMb2dvIDogImZzbG9nby5zdmciLCB2ZW5kb3JMb2dvUE5HIDogImZzbG9nby5wbmciLCB2ZW5kb3JUaXRsZVRleHQgOiAiRm9yZVNlZSIsIHZlbmRvckFsdFRleHQgOiAiRm9yZVNlZSBMb2dvIiwgaGlkZUZvcmVTZWVMb2dvTW9iaWxlIDogZmFsc2UsIHRydXN0ZUxvZ29BbHRUZXh0IDogIlZhbGlkYXRlIFRSVVNUZSBQcml2YWN5IENlcnRpZmljYXRpb24iLCBpbnZpdGVUeXBlIDogJ0VNQUlMJywgZGlhbG9nIDogeyBoZWFkbGluZSA6ICJXZSdkIGxpa2UgeW91ciBvcGluaW9uOiIsIHN1YmhlYWRsaW5lIDogIk9uIHlvdXIgbW9iaWxlIGJyb3dzaW5nIGV4cGVyaWVuY2UsIG91ciBkZXZlbG9wbWVudCB3b3JrLCB5b3VyIGRldmVsb3BtZW50IHByaW9yaXRpZXMuIDxzcGFuIHN0eWxlPSdmb250LXdlaWdodDogYm9sZCc+WW91ciBmZWVkYmFjayBoZWxwcyB1cyBpbXByb3ZlIG91ciB3b3JrLjwvc3Bhbj4iLCBkZWNsaW5lQnV0dG9uIDogIk5vLCB0aGFua3MiLCBhY2NlcHRCdXR0b24gOiAiWWVzLCBJJ2xsIGhlbHAiLCBlbWFpbEJ1dHRvbiA6ICJZZXMsIGVtYWlsIG1lIGEgYnJpZWYgc3VydmV5IiwgdGV4dEJ1dHRvbiA6ICJUZXh0IG1lIiwgcG93ZXJlZGJ5TGluayA6ICJodHRwOi8vd3d3LmZvcmVzZWUuY29tIiwgcG93ZXJlZGJ5VGV4dCA6ICJQb3dlcmVkIGJ5IEZvcmVTZWUiLCBlbWFpbFBsYWNlaG9sZGVyIDogIllvdXIgZW1haWwuLi4iLCB0ZXh0UGxhY2Vob2xkZXIgOiAiWW91ciBjZWxscGhvbmUgbnVtYmVyLi4uIiwgc3VibWl0QnV0dG9uIDogIlN1Ym1pdCIsIHRleHREaXNjbGFpbWVyIDogIlByb3ZpZGluZyB5b3VyIG51bWJlciBtZWFucyB5b3UgYXJlIHBhcnRpY2lwYXRpbmcgaW4gYSBGb3JlU2VlIHN1cnZleS4gTWVzc2FnZSAmYW1wOyBkYXRhIHJhdGVzIG1heSBhcHBseS4gMiBtZXNzYWdlcyBwZXIgc3VydmV5LiIsIGVtYWlsRGlzY2xhaW1lciA6ICIiLCB0ZXJtc0FuZENvbmRpdGlvblRleHQgOiAiVGVybXMgYW5kIENvbmRpdGlvbnMiLCBwcml2YWN5UG9saWN5TGluayA6ICJodHRwOi8vd3d3LmZvcmVzZWUuY29tL3Ntcy10ZXJtcy1hbmQtY29uZGl0aW9ucyIsIHByaXZhY3lQb2xpY3lUZXh0IDogIlByaXZhY3kgUG9saWN5IiwgZW1haWxJbnZhbGlkYXRpb24gOiAiUGxlYXNlIGVudGVyIGEgdmFsaWQgZW1haWwiLCB0ZXh0SW52YWxpZGF0aW9uIDogIlBsZWFzZSBlbnRlciBhIHZhbGlkIGNlbGxwaG9uZSBudW1iZXIiLCBvbmV4aXRoZWFkbGluZSA6ICJUaGFuayB5b3UhIiwgbmV4aXRzdWJoZWFkbGluZSA6ICJXZSdsbCByZWFjaCBvdXQgdG8geW91IGFmdGVyIHlvdSBmaW5pc2ggb24gb3VyIHNpdGUuIiwgb25leGl0Y291bnRlcnRhZyA6ICJSZXR1cm5pbmcgaW4gIiwgb25leGl0Y291bnRlcnZhbCA6ICI4IiwgdGhlbWUgOiAibWFpbiIgfSB9IF0gfSwgcXVhbGlmaWVyIDogeyB1c2VRdWFsaWZpZXIgOiBmYWxzZSB9LCByZW1pbmRlciA6IHsgdXNlUmVtaW5kZXIgOiBmYWxzZSB9IH0pIA==', 'KHsgbmFtZSA6ICd3b3JsZGJhbmtfc3BhJywgbGFuZ3VhZ2UgOiB7IGxvY2FsZSA6ICdzcGEnIH0sIGN4UmVjb3JkIDogZmFsc2UsIGNyaXRlcmlhIDogeyBzcCA6IHsgcmVnIDogMTUsIG91dHJlcGxheXBvb2wgOiAwIH0sIGxmIDogNCwgc3VwcG9ydHNTbWFydFBob25lcyA6IGZhbHNlLCBzdXBwb3J0c1RhYmxldHMgOiBmYWxzZSwgc3VwcG9ydHNEZXNrdG9wIDogdHJ1ZSB9LCBpbmNsdWRlIDogeyB1cmxzIDogWyAnKmJhbmNvbXVuZGlhbC5vcmcqJywgJypodHRwOi8vd2Jlcy1zdGFnZTYyLmFkb2JlY3Ftcy5uZXQqJyBdLCByZWZlcnJlcnMgOiBbXSwgdXNlckFnZW50cyA6IFtdLCBicm93c2VycyA6IFtdLCBjb29raWVzIDogW10sIHZhcmlhYmxlcyA6IFtdIH0sIGludml0ZUV4Y2x1ZGUgOiB7IHVybHMgOiBbXSwgcmVmZXJyZXJzIDogW10sIHVzZXJBZ2VudHMgOiBbXSwgYnJvd3NlcnMgOiBbXSwgY29va2llcyA6IFtdLCB2YXJpYWJsZXMgOiBbXSB9LCBwYXR0ZXJuIDogJ3VybCcsIHNlbGVjdE1vZGUgOiAnZGVmYXVsdCcsIGxpbmtzIDogeyBjYW5jZWwgOiBbXSwgc3VydmV5IDogW10sIHRyYWNrZXIgOiBbXSB9LCBkaXNwbGF5IDogeyBkZXNrdG9wIDogWyB7IGRpc3BsYXluYW1lIDogJ2RlZmF1bHQtQScsIHRlbXBsYXRlIDogJ2NsYXNzaWNkZXNrdG9wJywgaW52aXRlTG9nbyA6ICJzaXRlbG9nb19zcGEuZ2lmIiwgdHJhY2tlckxvZ28gOiAic2l0ZWxvZ29fc3BhLmdpZiIsIHNpdGVMb2dvVGl0bGVUZXh0IDogIiIsIHNpdGVMb2dvQWx0VGV4dCA6ICIiLCB2ZW5kb3JUaXRsZVRleHQgOiAiRm9yZVNlZSIsIHZlbmRvckFsdFRleHQgOiAiRm9yZVNlZSIsIGhpZGVGb3JlU2VlTG9nb0Rlc2t0b3AgOiB0cnVlLCB0cnVzdGVMb2dvQWx0VGV4dCA6ICJWYWxpZGF0ZSBvdXIgVHJ1c3QgQ2VydGlmaWNhdGlvbiIsIGludml0ZVR5cGUgOiAnSU5TRVNTSU9OJywgY2xvc2VDbGlja09uQmFja2Ryb3AgOiB0cnVlLCByZW1vdmVTdXJ2ZXlBbGVydHMgOiBmYWxzZSwgZGlhbG9nIDogeyBoZWFkbGluZSA6ICI8c3BhbiBzdHlsZT0nZm9udC1zaXplOjE2cHgnPkVsIEJhbmNvIE11bmRpYWwgYWdyYWRlY2Vyw61hIHN1IG9waW5pw7NuIHNvYnJlOjwvc3Bhbj4iLCBibHVyYiA6ICImIzgyMjY7IE51ZXN0cm8gdHJhYmFqbyBlbiBmYXZvciBkZWwgZGVzYXJyb2xsbyw8YnIvPiYjODIyNjsgU3VzIHByaW9yaWRhZGVzIHJlbGF0aXZhcyBhbCBkZXNhcnJvbGxvLDxici8+JiM4MjI2OyBTdSBleHBlcmllbmNpYSBlbiBudWVzdHJhIHDDoWdpbmEgd2ViLjxici8+PGJyLz5WYWxvcmFtb3MgbGFzIG9waW5pb25lcyBxdWUgcmVjaWJpbW9zIGRlIG51ZXN0cmEgYXVkaWVuY2lhLiA8c3BhbiBzdHlsZT0nZm9udC13ZWlnaHQ6IGJvbGQnPkdyYWNpYXMgcG9yIGF5dWRhcm5vcyBhIG1lam9yYXIgbnVlc3RybyB0cmFiYWpvLjwvc3Bhbj4iLCBub3RpY2VBYm91dFN1cnZleSA6ICIiLCBhdHRyaWJ1dGlvbiA6ICI8c3BhbiBzdHlsZT0nZm9udC1zaXplOiA5cHgnPkVzdGEgZW5jdWVzdGEgZXN0w6EgcmVhbGl6YWRhIHBvciBGb3JlU2VlLCBlbiBub21icmUgZGVsIEJhbmNvIE11bmRpYWwuPC9zcGFuPiIsIGNsb3NlSW52aXRlQnV0dG9uVGV4dCA6ICJIYWdhIGNsaWMgcGFyYSBjZXJyYXIuIiwgZGVjbGluZUJ1dHRvbiA6ICJObywgZ3JhY2lhcy4iLCBhY2NlcHRCdXR0b24gOiAiU8OtLCBkYXLDqSBtaSBvcGluacOzbi4iLCBhY2NlcHRCdXR0b25UaXRsZVRleHQgOiAiU8OtLCBkYXLDqSBtaSBvcGluacOzbiAoU2UgYWJyaXLDoSBlbiB1bmEgbnVldmEgdmVudGFuYSkiLCBlcnJvciA6ICJFcnJvciIsIHdhcm5MYXVuY2ggOiAiZXN0byBhYnJpcsOhIHVuYSBudWV2YSB2ZW50YW5hIiwgYWxsb3djbG9zZSA6IHRydWUsIHN1cnZleWF2YWlsYWJsZSA6ICJTdSBlbmN1ZXN0YSB5YSBlc3TDoSBkaXNwb25pYmxlIiwgdHJhY2tlclRpdGxlIDogJ0ZvcmVTZWUgLSBWZW50YW5hIFJhc3RyZWFkb3IgZW5jdWVzdGEnLCB0cmFja2VyQ2xpY2tUb1ZpZXcgOiAnSGFnYSBjbGljIHBhcmEgdmVyIGxhIGVuY3Vlc3RhLicsIHRyYWNrZXJQbHNMZWF2ZU9wZW4gOiAnRGVqZSBlc3RhIHZlbnRhbmEgYWJpZXJ0YS4nLCB0cmFja2VyQXRFbmQgOiAnQWwgZmluYWwgZGUgbGEgc2VzacOzbiwgaGFnYSBjbGljIGFxdcOtIHBhcmEgY29tZW56YXIgbGEgZW5jdWVzdGEuJywgdHJhY2tlckRlc2MxIDogIkxhIHZlbnRhbmEgZm9ybWEgcGFydGUgZGUgbGEgZW5jdWVzdGEgZGUgc2F0aXNmYWNjacOzbiBhbCBjbGllbnRlIHF1ZSB1c3RlZCBoYSBhY2NlZGlkbyBhIGNvbXBsZXRhciBlbiBlc3RlIHNpdGlvLiBQdWVkZSBoYWNlciBjbGljIGFxdcOtIGN1YW5kbyBlc3TDqSBwcmVwYXJhZG8gcGFyYSByZWFsaXphciBsYSBlbmN1ZXN0YSwgYXVucXVlIGRlYmVyw61hIGFjdGl2YXJzZSBwb3Igc8OtIG1pc21hIHBhc2Fkb3MgdW5vcyBtb21lbnRvcywgdW5hIHZleiBoYXlhIGFiYW5kb25hZG8gbGEgd2ViLiIsIHRyYWNrZXJEZXNjMiA6ICJEZWplIGVzdGEgdmVudGFuYSBhYmllcnRhIGhhc3RhIHF1ZSBoYXlhIGZpbmFsaXphZG8gc3UgdmlzaXRhIGEgZXN0YSB3ZWIuIEVzdGEgdmVudGFuYSBmb3JtYSBwYXJ0ZSBkZSBsYSBlbmN1ZXN0YSBkZSBzYXRpc2ZhY2Npw7NuIGFsIGNsaWVudGUgcXVlIHVzdGVkIGhhIGFjY2VkaWRvIGEgY29tcGxldGFyIGVuIGVzdGEgd2ViLiBQdWVkZSBoYWNlciBjbGljIGFxdcOtIGN1YW5kbyBlc3TDqSBwcmVwYXJhZG8gcGFyYSByZWFsaXphciBsYSBlbmN1ZXN0YSwgYXVucXVlIGRlYmVyw61hIGFjdGl2YXJzZSBwb3Igc8OtIG1pc21hIHBhc2Fkb3MgdW5vcyBtb21lbnRvcywgdW5hIHZleiBoYXlhIGFiYW5kb25hZG8gbGEgd2ViLiIsIHRyYWNrZXJEZXNjMyA6ICJMZSBhZ3JhZGVjZW1vcyBxdWUgbm9zIGF5dWRlIGEgbWVqb3JhciBzdSBleHBlcmllbmNpYSBlbiBlc3RhIHdlYi4gRXN0YSBlbmN1ZXN0YSBzZSByZWFsaXphIGEgdHJhdsOpcyBkZSB1bmEgZW1wcmVzYSBpbmRlcGVuZGllbnRlLCBGb3JlU2VlLCBlbiBub21icmUgZGUgbGEgd2ViIHF1ZSB1c3RlZCBlc3TDoSB2aXNpdGFuZG8uIiwgdHJhY2tlckNvcnAgOiAnRm9yZVNlZS4gVG9kb3MgbG9zIGRlcmVjaG9zIHJlc2VydmFkb3MuJywgdHJhY2tlclByaXZhY3kgOiAnUHJpdmFjaWRhZCcgfSB9IF0gfSwgcXVhbGlmaWVyIDogeyB1c2VRdWFsaWZpZXIgOiBmYWxzZSB9LCByZW1pbmRlciA6IHsgdXNlUmVtaW5kZXIgOiBmYWxzZSB9IH0pIA==', 'KHsgbmFtZSA6ICd3b3JsZGJhbmtfZnJlJywgbGFuZ3VhZ2UgOiB7IGxvY2FsZSA6ICdmcmUnIH0sIGN4UmVjb3JkIDogZmFsc2UsIGNyaXRlcmlhIDogeyBzcCA6IHsgcmVnIDogMTUsIG91dHJlcGxheXBvb2wgOiAwIH0sIGxmIDogNCwgc3VwcG9ydHNTbWFydFBob25lcyA6IGZhbHNlLCBzdXBwb3J0c1RhYmxldHMgOiBmYWxzZSwgc3VwcG9ydHNEZXNrdG9wIDogdHJ1ZSB9LCBpbmNsdWRlIDogeyB1cmxzIDogWyAnKmJhbnF1ZW1vbmRpYWxlLm9yZyonLCAnKmh0dHA6Ly93YmZyLXN0YWdlNjIuYWRvYmVjcW1zLm5ldConIF0sIHJlZmVycmVycyA6IFtdLCB1c2VyQWdlbnRzIDogW10sIGJyb3dzZXJzIDogW10sIGNvb2tpZXMgOiBbXSwgdmFyaWFibGVzIDogW10gfSwgaW52aXRlRXhjbHVkZSA6IHsgdXJscyA6IFtdLCByZWZlcnJlcnMgOiBbXSwgdXNlckFnZW50cyA6IFtdLCBicm93c2VycyA6IFtdLCBjb29raWVzIDogW10sIHZhcmlhYmxlcyA6IFtdIH0sIHBhdHRlcm4gOiAndXJsJywgc2VsZWN0TW9kZSA6ICdkZWZhdWx0JywgbGlua3MgOiB7IGNhbmNlbCA6IFtdLCBzdXJ2ZXkgOiBbXSwgdHJhY2tlciA6IFtdIH0sIGRpc3BsYXkgOiB7IGRlc2t0b3AgOiBbIHsgZGlzcGxheW5hbWUgOiAnZGVmYXVsdC1BJywgdGVtcGxhdGUgOiAnY2xhc3NpY2Rlc2t0b3AnLCBpbnZpdGVMb2dvIDogInNpdGVsb2dvX2ZyZS5naWYiLCB0cmFja2VyTG9nbyA6ICJzaXRlbG9nb19mcmUuZ2lmIiwgc2l0ZUxvZ29UaXRsZVRleHQgOiAiIiwgc2l0ZUxvZ29BbHRUZXh0IDogIiIsIHZlbmRvclRpdGxlVGV4dCA6ICJGb3JlU2VlIiwgdmVuZG9yQWx0VGV4dCA6ICJGb3JlU2VlIiwgaGlkZUZvcmVTZWVMb2dvRGVza3RvcCA6IHRydWUsIHRydXN0ZUxvZ29BbHRUZXh0IDogIlZhbGlkYXRlIG91ciBUcnVzdCBDZXJ0aWZpY2F0aW9uIiwgaW52aXRlVHlwZSA6ICdJTlNFU1NJT04nLCBjbG9zZUNsaWNrT25CYWNrZHJvcCA6IHRydWUsIHJlbW92ZVN1cnZleUFsZXJ0cyA6IGZhbHNlLCBkaWFsb2cgOiB7IGhlYWRsaW5lIDogIjxzcGFuIHN0eWxlPSdmb250LXNpemU6MTRweCc+TGEgQmFucXVlIG1vbmRpYWxlIHNvdWhhaXRlIGNvbm5hw650cmUgdm90cmUgYXZpcyBzdXI6PC9zcGFuPiIsIGJsdXJiIDogIiYjODIyNjsgTm9zIGFjdGl2aXTDqXMgZW4gZmF2ZXVyIGR1IGTDqXZlbG9wcGVtZW50LDxici8+JiM4MjI2OyBWb3MgcHJpb3JpdMOpcyBlbiBtYXRpw6hyZSBkZSBkw6l2ZWxvcHBlbWVudCw8YnIvPiYjODIyNjsgVm90cmUgZXhww6lyaWVuY2Ugc3VyIG5vdHJlIHNpdGUgd2ViIGF1am91cmQnaHVpLjxici8+PGJyLz5Ob3VzIHNvbW1lcyByZWNvbm5haXNzYW50cyBwb3VyIHRvdXRlcyBsZXMgY29udHJpYnV0aW9ucyBxdWUgdm91cyBub3VzIGZhaXRlcyBwYXJ2ZW5pciBldCA8c3BhbiBzdHlsZT0nZm9udC13ZWlnaHQ6IGJvbGQnPnF1aSBub3VzIGFpZGVudCDDoCBhbcOpbGlvcmVyIG5vdHJlIHRyYXZhaWwuPC9zcGFuPiIsIG5vdGljZUFib3V0U3VydmV5IDogIiIsIGF0dHJpYnV0aW9uIDogIjxzcGFuIHN0eWxlPSdmb250LXNpemU6IDlweCc+Q2V0dGUgZW5xdcOqdGUgZXN0IG1lbsOpZSBwYXIgRm9yZVNlZSwgcG91ciBsYSBCYW5xdWUgbW9uZGlhbGUuPC9zcGFuPiIsIGNsb3NlSW52aXRlQnV0dG9uVGV4dCA6ICJDbGlxdWV6IHBvdXIgZmVybWVyLiIsIGRlY2xpbmVCdXR0b24gOiAiTm9uLCBtZXJjaS4iLCBhY2NlcHRCdXR0b24gOiAiT3VpLCBqJ2FjY2VwdGUuIiwgYWNjZXB0QnV0dG9uVGl0bGVUZXh0OiAiT3VpLCBqZSB2YWlzIHBhcnRpY2lwZXIgKE91dnJlIGRhbnMgdW5lIG5vdXZlbGxlIGZlbsOqdHJlKSIsIGVycm9yOiAiRXJyZXVyIiwgd2FybkxhdW5jaDogImNlbGEgdmEgbGFuY2VyIHVuZSBub3V2ZWxsZSBmZW7DqnRyZSIsIGFsbG93Y2xvc2U6IHRydWUsIHN1cnZleWF2YWlsYWJsZTogIkxlIHF1ZXN0aW9ubmFpcmUgZXN0IGTDqXNvcm1haXMgZGlzcG9uaWJsZS4iLCB0cmFja2VyVGl0bGU6ICdGb3JlU2VlIC0gRW5xdcOqdGUgVHJhY2tlciBGZW7DqnRyZScsIHRyYWNrZXJDbGlja1RvVmlldzogIkNsaXF1ZXogcG91ciB2b2lyIGwnZW5xdcOqdGUuIiwgdHJhY2tlclBsc0xlYXZlT3BlbjogJ1ZldWlsbGV6IGxhaXNzZXIgY2V0dGUgZmVuw6p0cmUgb3V2ZXJ0ZS4nLCB0cmFja2VyQXRFbmQgOiAnw4AgbGEgZmluIGRlIGxhIHNlc3Npb24sIGNsaXF1ZXogaWNpIHBvdXIgY29tbWVuY2VyIGxlIHF1ZXN0aW9ubmFpcmUuJywgdHJhY2tlckRlc2MxIDogIkNldHRlIGZlbsOqdHJlIGZhaXQgcGFydGllIGRlIGwnZW5xdcOqdGUgZGUgc2F0aXNmYWN0aW9uIGNsaWVudCDDoCBsYXF1ZWxsZSB2b3VzIGF2ZXogYWNjZXB0w6kgZGUgcsOpcG9uZHJlIHN1ciBjZSBzaXRlLiBWb3VzIHBvdXZleiBjbGlxdWVyIGljaSBsb3JzcXVlIHZvdXMgc2VyZXogcHLDqnQoZSkgw6AgcsOpcG9uZHJlIGF1IHF1ZXN0aW9ubmFpcmUgbWFpcyBlbGxlIGRldnJhaXQgc+KAmWFjdGl2ZXIgZOKAmWVsbGUtbcOqbWUgYXUgYm91dCBkZSBxdWVscXVlcyBpbnN0YW50cyBhcHLDqHMgcXVlIHZvdXMgYXlleiBxdWl0dMOpIGxlIHNpdGUuIiwgdHJhY2tlckRlc2MyIDogIlZldWlsbGV6IGxhaXNzZXIgY2V0dGUgZmVuw6p0cmUgb3V2ZXJ0ZSB0YW50IHF1ZSB2b3VzIG7igJlhdmV6IHBhcyB0ZXJtaW7DqSBjZSBxdWUgdm91cyBhdmlleiDDoCBmYWlyZSBzdXIgY2Ugc2l0ZS4gQ2V0dGUgZmVuw6p0cmUgZmFpdCBwYXJ0aWUgZGUgbCdlbnF1w6p0ZSBkZSBzYXRpc2ZhY3Rpb24gY2xpZW50IMOgIGxhcXVlbGxlIHZvdXMgYXZleiBhY2NlcHTDqSBkZSByw6lwb25kcmUgc3VyIGNlIHNpdGUuIFZvdXMgcG91dmV6IGNsaXF1ZXIgaWNpIGxvcnNxdWUgdm91cyBzZXJleiBwcsOqdChlKSDDoCByw6lwb25kcmUgYXUgcXVlc3Rpb25uYWlyZSBtYWlzIGVsbGUgZGV2cmFpdCBz4oCZYWN0aXZlciBk4oCZZWxsZS1tw6ptZSBhdSBib3V0IGRlIHF1ZWxxdWVzIGluc3RhbnRzIGFwcsOocyBxdWUgdm91cyBheWV6IHF1aXR0w6kgbGUgc2l0ZS4iLCB0cmFja2VyRGVzYzMgOiAnTWVyY2kgZGUgbm91cyBhaWRlciDDoCBhbcOpbGlvcmVyIHZvdHJlIGV4cMOpcmllbmNlIGRlIGNlIHNpdGUgV2ViLiBDZXR0ZSBlbnF1w6p0ZSBlc3QgcsOpYWxpc8OpZSBwYXIgRm9yZVNlZSwgdW5lIHNvY2nDqXTDqSBpbmTDqXBlbmRhbnRlLCBwb3VyIGxlIGNvbXB0ZSBkdSBzaXRlIHF1ZSB2b3VzIHZpc2l0ZXouJywgdHJhY2tlckNvcnAgOiAnRm9yZVNlZS4gVG91cyBkcm9pdHMgcsOpc2VydsOpcy4nLCB0cmFja2VyUHJpdmFjeSA6ICdDb25maWRlbnRpYWxpdMOpJyB9IH0gXSB9LCBxdWFsaWZpZXIgOiB7IHVzZVF1YWxpZmllciA6IGZhbHNlIH0sIHJlbWluZGVyIDogeyB1c2VSZW1pbmRlciA6IGZhbHNlIH0gfSkg', 'KHsgbmFtZSA6ICd3b3JsZGJhbmtfYXJhJywgbGFuZ3VhZ2UgOiB7IGxvY2FsZSA6ICdhcmEnIH0sIGN4UmVjb3JkIDogZmFsc2UsIGNyaXRlcmlhIDogeyBzcCA6IHsgcmVnIDogMjUsIG91dHJlcGxheXBvb2wgOiAwIH0sIGxmIDogNCwgc3VwcG9ydHNTbWFydFBob25lcyA6IGZhbHNlLCBzdXBwb3J0c1RhYmxldHMgOiBmYWxzZSwgc3VwcG9ydHNEZXNrdG9wIDogdHJ1ZSB9LCBpbmNsdWRlIDogeyB1cmxzIDogWyAnKmFsYmFua2FsZGF3bGkub3JnKicsICcqaHR0cDovL3diYXItc3RhZ2U2Mi5hZG9iZWNxbXMubmV0KicgXSwgcmVmZXJyZXJzIDogW10sIHVzZXJBZ2VudHMgOiBbXSwgYnJvd3NlcnMgOiBbXSwgY29va2llcyA6IFtdLCB2YXJpYWJsZXMgOiBbXSB9LCBpbnZpdGVFeGNsdWRlIDogeyB1cmxzIDogW10sIHJlZmVycmVycyA6IFtdLCB1c2VyQWdlbnRzIDogW10sIGJyb3dzZXJzIDogW10sIGNvb2tpZXMgOiBbXSwgdmFyaWFibGVzIDogW10gfSwgcGF0dGVybiA6ICd1cmwnLCBzZWxlY3RNb2RlIDogJ2RlZmF1bHQnLCBsaW5rcyA6IHsgY2FuY2VsIDogW10sIHN1cnZleSA6IFtdLCB0cmFja2VyIDogW10gfSwgZGlzcGxheSA6IHsgZGVza3RvcCA6IFsgeyBkaXNwbGF5bmFtZSA6ICdkZWZhdWx0LUEnLCB0ZW1wbGF0ZSA6ICdAY2xhc3NpY2Rlc2t0b3BfYXInLCBpbnZpdGVMb2dvIDogInNpdGVsb2dvX2FyYS5wbmciLCB0cmFja2VyTG9nbyA6ICJzaXRlbG9nb19hcmEucG5nIiwgc2l0ZUxvZ29UaXRsZVRleHQgOiAiIiwgc2l0ZUxvZ29BbHRUZXh0IDogIiIsIHZlbmRvclRpdGxlVGV4dCA6ICJGb3JlU2VlIiwgdmVuZG9yQWx0VGV4dCA6ICJGb3JlU2VlIiwgaGlkZUZvcmVTZWVMb2dvRGVza3RvcCA6IHRydWUsIHRydXN0ZUxvZ29BbHRUZXh0IDogIlZhbGlkYXRlIG91ciBUcnVzdCBDZXJ0aWZpY2F0aW9uIiwgaW52aXRlVHlwZSA6ICdJTlNFU1NJT04nLCBjbG9zZUNsaWNrT25CYWNrZHJvcCA6IHRydWUsIHJlbW92ZVN1cnZleUFsZXJ0cyA6IGZhbHNlLCBkaWFsb2cgOiB7IGhlYWRsaW5lOiAi2KfZhNio2YbZgyDYp9mE2K/ZiNmE2Yog2YrYsdit2Kgg2KjYqti52YTZitmC2KfYqtmD2YUg2KfZhNiq2YLZitmK2YXZitipOiZybG07IiwgYmx1cmI6ICImIzgyMjY7INio2LTZgNmA2KPZhiDYudmF2YTZhyDYp9mE2KXZhtmF2KfYptmK2IwmcmxtOyA8YnIvPiYjODIyNjsg2KPZiNmE2YjZitin2KrZg9mFINmB2YrZhdinINmK2KrYudmE2YIg2KjYp9mE2KrZhtmF2YrYqdiMJnJsbTs8YnIvPiYjODIyNjsg2YjYqtis2LHYqNiq2YPZhSDZgdmKINin2YTYqti52KfZhdmEINmF2Lkg2YXZiNmC2LnZhtinINin2YTYpdmE2YPYqtix2YjZhtmKINin2YTZitmI2YUuJnJsbTsgPGJyLz48YnIvPjxzcGFuIHN0eWxlPSdmb250LXdlaWdodDogYm9sZCc+2LTZg9ix2Kcg2LnZhNmJINmF2LPYp9i52K/YqtmG2Kcg2LnZhNmJINiq2K3Ys9mK2YYg2LnZhdmE2YbYpy4mcmxtOzwvc3Bhbj4g2YbYrdmGINmF2YXYqtmG2YjZhiDZhNiq2LnZhNmK2YLYp9iq2YPZhSDYp9mE2YrZiNmF2YrYqSDYp9mE2KrZiiDZhtiq2YTZgtin2YfYpyDZhdmGINij2LXZiNin2Kog2YHZiiDZhdiu2KrZhNmBINij2YbYrdin2KEg2KfZhNi52KfZhNmFLiZybG07Iiwgbm90aWNlQWJvdXRTdXJ2ZXkgOiAiIiwgYXR0cmlidXRpb246ICJGb3JlU2VlINij2KzYsdiqINmH2LDYpyDYp9mE2YXYs9itINin2YTYp9iz2KrZgti12KfYptmK2Iwg2YTYrdiz2KfYqCDYp9mE2KjZhtmDINin2YTYr9mI2YTZii4mcmxtOyIsIGNsb3NlSW52aXRlQnV0dG9uVGV4dDogItin2YbZgtixINmE2YTYpdi62YTYp9mCLiZybG07IiwgZGVjbGluZUJ1dHRvbjogItmD2YTYp9iMINi02YPYsdinLiZybG07IiwgYWNjZXB0QnV0dG9uOiAi2YbYudmF2Iwg2LPYo9mC2K/ZhSDYqti52YTZitmC2KfYqiDYqtmC2YrZitmF2YrYqS4mcmxtOyIsIGFjY2VwdEJ1dHRvblRpdGxlVGV4dDogItmG2LnZhdiMINiz2KPZgtiv2YUg2YXZhNin2K3YuNin2KrZiiAo2YrZj9mB2KrYrSDZgdmKINil2LfYp9ixINis2K/ZitivKSIsIGVycm9yOiAi2K7Yt9ijIiwgd2FybkxhdW5jaDogItiz2YrYpNiv2Yog2YfYsNinINil2YTZiSDYudix2LYg2KXYt9in2LEg2KzYr9mK2K8iLCBhbGxvd2Nsb3NlOiB0cnVlLCBzdXJ2ZXlhdmFpbGFibGU6ICLYp9mE2KfYs9iq2YLYtdin2KEg2KfZhNiu2KfYtSDYqNmDINmF2KrYp9itINin2YTYotmGIiwgdHJhY2tlclRpdGxlOiAnRm9yZVNlZSAtINil2LfYp9ixINiq2KrYqNmR2Lkg2KfZhNin2LPYqtmC2LXYp9ihJywgdHJhY2tlckNsaWNrVG9WaWV3OiAn2KPZhtmC2LEg2YTYudix2LYg2KfZhNin2LPYqtmC2LXYp9ihLicsIHRyYWNrZXJQbHNMZWF2ZU9wZW46ICfZitmP2LHYrNmJINiq2LHZgyDZh9iw2Kcg2KfZhNil2LfYp9ixINmF2YHYqtmI2K3Zi9inLicsIHRyYWNrZXJBdEVuZDogJ9mB2Yog2YbZh9in2YrYqSDYrNmE2LPYqtmD2Iwg2KfZhtmC2LEg2YfZhtinINmE2KjYr9ihINin2YTYp9iz2KrZgti12KfYoS4nLCB0cmFja2VyRGVzYzE6ICfYpdmG2Ycg2KzYstihINmF2YYg2KfYs9iq2YLYtdin2KEg2LHYttinINin2YTYudmF2YrZhCDYp9mE2LDZiiDZiNin2YHZgtiqINi52YTZiSDYp9mE2YXYtNin2LHZg9ipINmB2YrZhyDYudmE2Ykg2YfYsNinINin2YTZhdmI2YLYuS4g2YrZhdmD2YbZgyDYp9mE2YbZgtixINmH2YbYpyDYudmG2K/ZhdinINiq2YPZiNmGINis2KfZh9iy2YvYpyDZhNin2LPYqtmD2YXYp9mEINin2YTYp9iz2KrZgti12KfYodiMINil2YTYpyDYo9mG2Ycg2YXZhiDYp9mE2YXZgdiq2LHYtiDYo9mGINmK2YbYtNi3INmF2YYg2KrZhNmC2KfYoSDZhtmB2LPZhyDYqNi52K8g2KjYtti5INmE2K3YuNin2Kog2YXZhiDZhdi62KfYr9ix2KrZgyDZhNmE2YXZiNmC2LkuJywgdHJhY2tlckRlc2MyOiAn2LHYrNin2KEg2KrYsdmDINmH2LDYpyDYp9mE2KXYt9in2LEg2YXZgdiq2YjYrdmL2Kcg2KXZhNmJINij2YYg2KrZg9mF2YQg2YXYr9iq2YMg2LnZhNmJINmH2LDYpyDYp9mE2YXZiNmC2LkuINmK2Y/Yudiq2KjYsSDZh9iw2Kcg2KfZhNil2LfYp9ixINis2LLYodmL2Kcg2YXZhiDYp9iz2KrZgti12KfYoSDYsdi22Kcg2KfZhNi52YXZitmEINin2YTYsNmKINmI2KfZgdmC2Kog2LnZhNmJINin2YTZhdi02KfYsdmD2Kkg2YHZitmHINi52YTZiSDZh9iw2Kcg2KfZhNmF2YjZgti5LiDZitmF2YPZhtmDINin2YTZhtmC2LEg2YfZhtinINi52YbYr9mF2Kcg2KrZg9mI2YYg2KzYp9mH2LLZi9inINmE2KfYs9iq2YPZhdin2YQg2KfZhNin2LPYqtmC2LXYp9ih2Iwg2KXZhNinINij2YbZhyDZhdmGINin2YTZhdmB2KrYsdi2INij2YYg2YrZhti02Lcg2YXZhiDYqtmE2YLYp9ihINmG2YHYs9mHINio2LnYryDYqNi22Lkg2YTYrdi42KfYqiDZhdmGINmF2LrYp9iv2LHYqtmDINmE2YTZhdmI2YLYuS4nLCB0cmFja2VyRGVzYzM6ICfYtNmD2LHZi9inINmE2YMg2LnZhNmJINmF2LPYp9i52K/YqtmG2Kcg2YHZiiDYqtit2LPZitmGINiq2KzYsdio2KrZgyDZgdmKINin2LPYqtiu2K/Yp9mFINmF2YjZgti52YbYpyDYp9mE2KXZhNmD2KrYsdmI2YbZii4g2YrZgtmI2YUg2KjYpdis2LHYp9ihINmH2LDYpyDYp9mE2KfYs9iq2YLYtdin2KEg2LTYsdmD2Kkg2YXYs9iq2YLZhNipINmH2YogRm9yZVNlZdiMINmI2LDZhNmDINio2KfZhNmG2YrYp9io2Kkg2LnZhiDYp9mE2YXZiNmC2Lkg2KfZhNiw2Yog2KrZgtmI2YUg2KjYstmK2KfYsdiq2YcuJywgdHJhY2tlckNvcnA6ICdGb3JlU2VlLiDYrNmF2YrYuSDYp9mE2K3ZgtmI2YIg2YXYrdmB2YjYuNipLicsIHRyYWNrZXJQcml2YWN5OiAn2KfZhNiu2LXZiNi12YrYqScgfSB9IF0gfSwgcXVhbGlmaWVyIDogeyB1c2VRdWFsaWZpZXIgOiBmYWxzZSB9LCByZW1pbmRlciA6IHsgdXNlUmVtaW5kZXIgOiBmYWxzZSB9IH0pIA==', 'KHsgbmFtZSA6ICd3b3JsZGJhbmtfZW5nJywgbGFuZ3VhZ2UgOiB7IGxvY2FsZSA6ICdlbmcnIH0sIGN4UmVjb3JkIDogZmFsc2UsIGNyaXRlcmlhIDogeyBzcCA6IHsgcmVnIDogMTIsIG91dHJlcGxheXBvb2wgOiAwIH0sIGxmIDogNCwgc3VwcG9ydHNTbWFydFBob25lcyA6IGZhbHNlLCBzdXBwb3J0c1RhYmxldHMgOiBmYWxzZSwgc3VwcG9ydHNEZXNrdG9wIDogdHJ1ZSB9LCBpbmNsdWRlIDogeyB1cmxzIDogWyAnKndvcmxkYmFuay5vcmcqJywgJypodHRwOi8vd2Itc3RhZ2U2Mi5hZG9iZWNxbXMubmV0LyonLCAnKmh0dHA6Ly9ubGl2ZS5leHRjYy5jb20vKicsICcqaHR0cDovL3dicnUtc3RhZ2U2Mi5hZG9iZWNxbXMubmV0KicsICcqaHR0cDovL3diemgtc3RhZ2U2Mi5hZG9iZWNxbXMubmV0KicgXSwgcmVmZXJyZXJzIDogW10sIHVzZXJBZ2VudHMgOiBbXSwgYnJvd3NlcnMgOiBbXSwgY29va2llcyA6IFtdLCB2YXJpYWJsZXMgOiBbXSB9LCBpbnZpdGVFeGNsdWRlIDogeyB1cmxzIDogW10sIHJlZmVycmVycyA6IFtdLCB1c2VyQWdlbnRzIDogW10sIGJyb3dzZXJzIDogW10sIGNvb2tpZXMgOiBbXSwgdmFyaWFibGVzIDogW10gfSwgcGF0dGVybiA6ICd1cmwnLCBzZWxlY3RNb2RlIDogJ2RlZmF1bHQnLCBsaW5rcyA6IHsgY2FuY2VsIDogW10sIHN1cnZleSA6IFtdLCB0cmFja2VyIDogW10gfSwgZGlzcGxheSA6IHsgZGVza3RvcCA6IFsgeyBkaXNwbGF5bmFtZSA6ICdkZWZhdWx0LUEnLCB0ZW1wbGF0ZSA6ICdjbGFzc2ljZGVza3RvcCcsIGludml0ZUxvZ28gOiAic2l0ZWxvZ28uZ2lmIiwgdHJhY2tlckxvZ28gOiAic2l0ZWxvZ28uZ2lmIiwgc2l0ZUxvZ29UaXRsZVRleHQgOiAiIiwgc2l0ZUxvZ29BbHRUZXh0IDogIiIsIHZlbmRvclRpdGxlVGV4dCA6ICJGb3JlU2VlIiwgdmVuZG9yQWx0VGV4dCA6ICJGb3JlU2VlIiwgaGlkZUZvcmVTZWVMb2dvRGVza3RvcCA6IHRydWUsIHRydXN0ZUxvZ29BbHRUZXh0IDogIlZhbGlkYXRlIG91ciBUcnVzdCBDZXJ0aWZpY2F0aW9uIiwgaW52aXRlVHlwZSA6ICdJTlNFU1NJT04nLCBjbG9zZUNsaWNrT25CYWNrZHJvcCA6IHRydWUsIHJlbW92ZVN1cnZleUFsZXJ0cyA6IGZhbHNlLCBkaWFsb2cgOiB7IGhlYWRsaW5lIDogIjxzcGFuIHN0eWxlPSdmb250LXNpemU6MTVweCc+VGhlIFdvcmxkIEJhbmsgd291bGQgd2VsY29tZSB5b3VyIGZlZWRiYWNrIG9uOjwvc3Bhbj4iLCBibHVyYiA6ICImIzgyMjY7IE91ciBkZXZlbG9wbWVudCB3b3JrLDxici8+JiM4MjI2OyBZb3VyIGRldmVsb3BtZW50IHByaW9yaXRpZXMsPGJyLz4mIzgyMjY7IFlvdXIgZXhwZXJpZW5jZSBvbiBvdXIgd2Vic2l0ZSB0b2RheS48YnIvPjxici8+V2UgYXJlIGdyYXRlZnVsIGZvciB0aGUgZGFpbHkgZmVlZGJhY2sgd2UgcmVjZWl2ZSBmcm9tIHZvaWNlcyBhcm91bmQgdGhlIGdsb2JlLiA8c3BhbiBzdHlsZT0nZm9udC13ZWlnaHQ6IGJvbGQnPlRoYW5rIHlvdSBmb3IgaGVscGluZyB1cyBpbXByb3ZlIG91ciB3b3JrLjwvc3Bhbj4iLCBub3RpY2VBYm91dFN1cnZleSA6ICIiLCBhdHRyaWJ1dGlvbiA6ICI8c3BhbiBzdHlsZT0nZm9udC1zaXplOiA5cHgnPlN1cnZleSBjb25kdWN0ZWQgYnkgRm9yZVNlZSwgb24gYmVoYWxmIG9mIHRoZSBXb3JsZCBCYW5rPC9zcGFuPiIsIGNsb3NlSW52aXRlQnV0dG9uVGV4dCA6ICJDbGljayB0byBjbG9zZS4iLCBkZWNsaW5lQnV0dG9uIDogIk5vLCB0aGFua3MuIiwgYWNjZXB0QnV0dG9uIDogIlllcywgSSdsbCBnaXZlIGZlZWRiYWNrLiIsIGFjY2VwdEJ1dHRvblRpdGxlVGV4dCA6ICJZZXMsIEknbGwgZ2l2ZSBmZWVkYmFjayAoT3BlbnMgaW4gYSBuZXcgd2luZG93KSIsIGVycm9yIDogIkVycm9yIiwgd2FybkxhdW5jaCA6ICJ0aGlzIHdpbGwgbGF1bmNoIGEgbmV3IHdpbmRvdyIsIGFsbG93Y2xvc2UgOiB0cnVlLCBzdXJ2ZXlhdmFpbGFibGUgOiAiWW91ciBzdXJ2ZXkgaXMgbm93IGF2YWlsYWJsZSIsIHRyYWNrZXJUaXRsZSA6ICdGb3JlU2VlIC0gU3VydmV5IFRyYWNrZXIgV2luZG93JywgdHJhY2tlckNsaWNrVG9WaWV3IDogJ0NsaWNrIHRvIHZpZXcgdGhlIHN1cnZleS4nLCB0cmFja2VyUGxzTGVhdmVPcGVuIDogJ1BsZWFzZSBsZWF2ZSB0aGlzIHdpbmRvdyBvcGVuLicsIHRyYWNrZXJBdEVuZCA6ICdBdCB0aGUgZW5kIG9mIHlvdXIgc2Vzc2lvbiwgY2xpY2sgaGVyZSB0byBiZWdpbiB0aGUgc3VydmV5LicsIHRyYWNrZXJEZXNjMSA6ICdJdCBpcyBwYXJ0IG9mIHRoZSBjdXN0b21lciBzYXRpc2ZhY3Rpb24gc3VydmV5IHlvdSBhZ3JlZWQgdG8gdGFrZSBvbiB0aGlzIHNpdGUuIFlvdSBtYXkgY2xpY2sgaGVyZSB3aGVuIHJlYWR5IHRvIGNvbXBsZXRlIHRoZSBzdXJ2ZXksIGFsdGhvdWdoIGl0IHNob3VsZCBhY3RpdmF0ZSBvbiBpdHMgb3duIGFmdGVyIGEgZmV3IG1vbWVudHMgd2hlbiB5b3UgaGF2ZSBsZWZ0IHRoZSBzaXRlLicsIHRyYWNrZXJEZXNjMiA6ICdQbGVhc2UgbGVhdmUgdGhpcyB3aW5kb3cgb3BlbiB1bnRpbCB5b3UgaGF2ZSBjb21wbGV0ZWQgeW91ciB0aW1lIG9uIHRoaXMgc2l0ZS4gVGhpcyB3aW5kb3cgaXMgcGFydCBvZiB0aGUgY3VzdG9tZXIgc2F0aXNmYWN0aW9uIHN1cnZleSB5b3UgYWdyZWVkIHRvIHRha2Ugb24gdGhpcyBzaXRlLiBZb3UgbWF5IGNsaWNrIGhlcmUgd2hlbiByZWFkeSB0byBjb21wbGV0ZSB0aGUgc3VydmV5LCBhbHRob3VnaCBpdCBzaG91bGQgYWN0aXZhdGUgb24gaXRzIG93biBhZnRlciBhIGZldyBtb21lbnRzIHdoZW4geW91IGhhdmUgbGVmdCB0aGUgc2l0ZS4nLCB0cmFja2VyRGVzYzMgOiAnVGhhbmsgeW91IGZvciBoZWxwaW5nIHVzIGltcHJvdmUgeW91ciB3ZWJzaXRlIGV4cGVyaWVuY2UuIFRoaXMgc3VydmV5IGlzIGNvbmR1Y3RlZCBieSBhbiBpbmRlcGVuZGVudCBjb21wYW55LCBGb3JlU2VlLCBvbiBiZWhhbGYgb2YgdGhlIHNpdGUgeW91IHZpc2l0ZWQuJywgdHJhY2tlckNvcnAgOiAnRm9yZVNlZS4gQWxsIHJpZ2h0cyByZXNlcnZlZC4nLCB0cmFja2VyUHJpdmFjeSA6ICdQcml2YWN5JyB9IH0gXSB9LCBxdWFsaWZpZXIgOiB7IHVzZVF1YWxpZmllciA6IGZhbHNlIH0sIHJlbWluZGVyIDogeyB1c2VSZW1pbmRlciA6IGZhbHNlIH0gfSkg']; _fsDefine('triggerconfig', function () { return {config: triggerconfig, surveydefs: surveydefs}; }); if (triggerconfig.hasReplay == "true") { if (!productConfig.record) { triggerconfig.hasReplay = "false"; } else { this["dependencies"].push("$fs.record.js"); } } return true; }, "dependencies": ["$fs.utils.js", "$fs.trigger.js"] }) ; +if(void 0===_W._fsDefine&&JSON&&!(document.documentMode<10)){var stg=function(){};stg.prototype.has=function(itm){return null!==this.get(itm)},stg.prototype.get=function(itm){var res=null;return supportsDomStorage&&((res=localStorage.getItem(itm))||(res=sessionStorage.getItem(itm))),res},stg.prototype.set=function(itm,val){if(supportsDomStorage)try{localStorage.setItem(itm,val.toString())}catch(e){try{sessionStorage.setItem(itm,val.toString())}catch(e){}}};var require,define,req,s,head,baseElement,interactiveScript,currentlyAddingScript,op=Object.prototype,hasOwn=(op.toString,op.hasOwnProperty),ap=Array.prototype,hasProp=function(obj,prop){return hasOwn.call(obj,prop)},getOwn=function(obj,prop){return hasProp(obj,prop)&&obj[prop]},eachProp=function(obj,func){var prop;for(prop in obj)if(hasProp(obj,prop)&&func(obj[prop],prop))break},isDefined=function(obj){return null!==obj&&void 0!==obj},isFunction=function(obj){return"function"==typeof obj},isObject=function(obj){return"object"==typeof obj},isArray=function(obj){return"[object Array]"==Object.prototype.toString.call(obj)},isDate=function(obj){return obj instanceof Date},isString=function(obj){return"string"==typeof obj},isPlainObject=function(obj){if(!obj||"[object Object]"!==Object.prototype.toString.call(obj)||obj.nodeType||obj.setInterval)return!1;if(obj.constructor&&!hasOwnProperty.call(obj,"constructor")&&!hasOwnProperty.call(obj.constructor.prototype,"isPrototypeOf"))return!1;var key;for(key in obj);return void 0===key||hasOwnProperty.call(obj,key)||!hasOwnProperty.call(obj,key)&&hasOwnProperty.call(Object.prototype,key)},proxy=function(func,context){var args,bound,nativeBind=Function.prototype.bind,slice=Array.prototype.slice;return nativeBind&&func.bind===nativeBind?nativeBind.apply(func,slice.call(arguments,1)):(args=slice.call(arguments,2),bound=function(){if(!(this instanceof bound))return func.apply(context,args.concat(slice.call(arguments)));ctor.prototype=func.prototype;var self=ctor();ctor.prototype=null;var result=func.apply(self,args.concat(slice.call(arguments)));return Object(result)===result?result:self})},dispose=function(obj){if(obj){if(obj.length)for(var i=obj.length-1;i>=0;i--)obj[i]=null;for(var prop in obj){var tob=typeof obj[prop];"function"!=tob&&"object"!=tob||(obj[prop]=null)}}obj=null},getParam=function(parm){var vars={},vrl=(_W.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi,function(m,key,value){vars[key]=value}),vars[parm]);return vrl?decodeURIComponent(vrl):vrl},getQueryString=function(parm){var vars={},vrl=(_W.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi,function(m,key,value){value.indexOf("#")>-1?vars[key]=value.substring(0,value.indexOf("#")):vars[key]=value}),vars[parm]);return vrl?decodeURIComponent(vrl):vrl},nextTick=function(cb){setTimeout(cb||function(){},20)},ext=function(){var options,name,copy,a=arguments,target=a[0]||{},i=1,lnt=a.length,surface=!1===arguments[arguments.length-1];for("object"==typeof target||isFunction(target)||(target={}),lnt===i&&(target=this,--i);i0)&&(oDiff[name]=childDiff),stackCache.pop()}else oDiff[name]=copy;return oDiff},attr=function(elm,atr,val){return isDefined(val)&&elm.setAttribute(atr,val),elm&&elm.getAttribute?elm.getAttribute(atr):null},toQueryString=function(params,base){var pm,pList=isDefined(base)?base+(base.indexOf("?")>-1?"&":"?"):"";if(params)for(var nm in params)pm=params[nm],isString(pm)||(pm=JSON.stringify(pm)),pList+=encodeURIComponent(nm)+"="+encodeURIComponent(pm)+"&";return pList},compute=function(vstr){return new[].constructor.constructor(vstr).call(_W)},toLowerCase=function(str){return isString(str)?str.toLowerCase():""},setFSRVisibility=function(isVisible){var htmlClassList=document.documentElement.classList;isVisible?htmlClassList.add("_fsrclientInvokedHide"):htmlClassList.remove("_fsrclientInvokedHide")},winload=function(cb){"complete"===_D.readyState?nextTick(cb):__eB(_W,"load",cb)},ap=Array.prototype,apsp=ap.splice,global=_W,readyRegExp="PLAYSTATION 3"===navigator.platform?/^complete$/:/^(complete|loaded)$/,commentRegExp=/(\/\*([\s\S]*?)\*\/|([^:]|^)\/\/(.*)$)/gm,cjsRequireRegExp=/[^.]\s*require\s*\(\s*["']([^'"\s]+)["']\s*\)/g,jsSuffixRegExp=/\.js$/,currDirRegExp=/^\.\//,contexts={},cfg={},globalDefQueue=[],useInteractive=!1;req=function(deps,callback,errback,optional){var context,config,contextName="_";return isArray(deps)||"string"==typeof deps||(config=deps,isArray(callback)?(deps=callback,callback=errback,errback=optional):deps=[]),config&&config.context&&(contextName=config.context),context=getOwn(contexts,contextName),context||(context=contexts[contextName]=req.s.newContext(contextName)),config&&context.configure(config),context.require(deps,callback,errback)},req.config=function(config){return req(config)},req.nextTick="undefined"!=typeof setTimeout?function(fn){setTimeout(fn,4)}:function(fn){fn()},require=req,req.jsExtRegExp=/^\/|:|\?|\.js$/,s=req.s={contexts:contexts,newContext:newContext},req({}),each(["toUrl","undef","defined","specified"],function(prop){req[prop]=function(){var ctx=contexts._;return ctx.require[prop].apply(ctx,arguments)}}),head=s.head=_HD,baseElement=_D.getElementsByTagName("base")[0],baseElement&&(head=s.head=baseElement.parentNode),req.onError=defaultOnError,req.createNode=function(config,moduleName,url){var node=config.xhtml?_D.createElementNS("http://www.w3.org/1999/xhtml","html:script"):_D.createElement("script");return node.type=config.scriptType||"text/javascript",node.charset="utf-8",node.async=!0,node},req.load=function(context,moduleName,url){var node,config=context&&context.config||{};return node=req.createNode(config,moduleName,url),node.setAttribute("data-requirecontext",context.contextName),node.setAttribute("data-requiremodule",moduleName),!node.attachEvent||node.attachEvent.toString&&node.attachEvent.toString().indexOf("[native code")<0||isOpera?(node.addEventListener("load",context.onScriptLoad,!1),node.addEventListener("error",context.onScriptError,!1)):(useInteractive=!0,node.attachEvent("onreadystatechange",context.onScriptLoad)),node.src=url,currentlyAddingScript=node,baseElement?head.insertBefore(node,baseElement):head.appendChild(node),currentlyAddingScript=null,node},define=function(name,deps,callback){var node,context;"string"!=typeof name&&(callback=deps,deps=name,name=null),isArray(deps)||(callback=deps,deps=null),!deps&&isFunction(callback)&&(deps=[],callback.length&&callback.toString&&(callback.toString().replace(commentRegExp,"").replace(cjsRequireRegExp,function(match,dep){deps.push(dep)}),deps=(1===callback.length?["require"]:["require","exports","module"]).concat(deps))),useInteractive&&(node=currentlyAddingScript||getInteractiveScript())&&(name||(name=attr(node,"data-requiremodule")),context=contexts[attr(node,"data-requirecontext")]),(context?context.defQueue:globalDefQueue).push([name,deps,callback])},req.exec=function(text){return new Function(text)()},req(cfg),_W._fsDefine=_W._acsDefine=define,_W._fsRequire=_W._acsRequire=function(){globalConfig.deferredLoading?winload(function(args){return function(){require.apply(window,args)}}(arguments)):require.apply(window,arguments)};var API={_enforceGlobalNS:function(){_W.FSR||(_W.FSR={}),_W.FSFB||(_W.FSFB={})},expose:function(name,obj){API._enforceGlobalNS(),_W.FSR[name]=_W.FSFB[name]=obj},retrieveFromAPI:function(name){return API._enforceGlobalNS(),_W.FSR[name]}};API.expose("setFSRVisibility",setFSRVisibility);var domReady=function(ready){function flush(f){loaded=1;do{(f=fns.shift())&&f()}while(f)}var fn,fns=[],doc=document,testEl=doc.documentElement,hack=testEl.doScroll,loadedRgx=hack?/^loaded|^c/:/^loaded|c/,loaded=loadedRgx.test(doc.readyState);return doc.addEventListener&&doc.addEventListener("DOMContentLoaded",fn=function(){doc.removeEventListener("DOMContentLoaded",fn,!1),flush()},!1),hack&&doc.attachEvent("onreadystatechange",fn=function(){/^c/.test(doc.readyState)&&(doc.detachEvent("onreadystatechange",fn),flush())}),ready=hack?function(fn){self!=top?loaded?fn():fns.push(fn):function(){try{testEl.doScroll("left")}catch(e){return setTimeout(function(){ready(fn)},50)}fn()}()}:function(fn){loaded?fn():fns.push(fn)}}(),fsCmd=function(commandName){var hv=(location.hash+"").toLowerCase();return commandName=(commandName||"").toLowerCase(),!!(/fscommand|fscmd|acscmd|acscommand/.test(hv)&&hv.indexOf(commandName)>-1)},acsCmd=fsCmd;fsCmd(""),acsCmd("");var locator={};locator.environment="production",locator.gatewayLocation=function(){var gwScr,pgwScr,src,tm,gwl,cv,au,svu,asso,rovr,prodcfg,isself,hasssl,scrs=_D.getElementsByTagName("script"),g="gateway",s="/";if(_HD&&(skipInit="true"==attr(_HD,"data-skipfsinit"),gwl=attr(_HD,"data-fsgatewaylocparam"),cv=attr(_HD,"data-codeversion"),au=attr(_HD,"data-analyticsurl"),svu=attr(_HD,"data-surveyurl"),asso=attr(_HD,"data-product-assets"),rovr=attr(_HD,"data-codelocation"),prodcfg=attr(_HD,"data-productconfig"),isself=attr(_HD,"data-isselfhosted"),hasssl=attr(_HD,"data-hasssl"),gwl&&(gwl=getParam(gwl)),locator.isSelfHosted=!1,isself&&(locator.isSelfHosted="true"==getParam(isself)),locator.hasSSL=!0,hasssl&&(locator.hasSSL="true"!=getParam(hasssl)),rovr&&(locator.rootOverride=getParam(rovr)),asso&&(locator.assetOverride=getParam(asso)),prodcfg&&(locator.productCfgOverride=getParam(prodcfg)),cv&&(void 0!==globalConfig?globalConfig.codeVer=getParam(cv):globalConfig={codeVer:getParam(cv)}),au&&(void 0!==globalConfig?globalConfig.analyticsUrl=getParam(au):globalConfig={analyticsUrl:getParam(au)}),svu&&(void 0!==globalConfig?globalConfig.surveyUrl=getParam(svu):globalConfig={surveyUrl:getParam(svu)})),globalConfig||(globalConfig={}),("string"!=typeof globalConfig.siteKey||globalConfig.siteKey.length<1)&&(globalConfig.siteKey=getParam("sitekey")),eachProp(scrs,function(scr,prop){if("length"!==prop){src=attr(scr,"src")||"";var dv=attr(scr,"data-vendor");"fs"!=dv&&"acs"!=dv||attr(scr,"data-role")!=g?src.indexOf(g)>-1&&(pgwScr=scr):(gwScr=scr,tm=attr(scr,"timing"))}}),gwScr||(gwScr=pgwScr),gwScr)return locator.gwScript=gwScr,src=gwl||attr(gwScr,"src"),locator.environment=attr(gwScr,"data-environment")||locator.environment,locator.rootOverride=attr(gwScr,"data-codelocation")||locator.rootOverride,locator.assetOverride=attr(gwScr,"data-product-assets")||locator.assetOverride,locator.isSelfHosted=attr(gwScr,"data-isselfhosted")||locator.isSelfHosted,locator.hasSSL=attr(gwScr,"data-hasssl")||locator.hasSSL,-1==src.indexOf(":/")&&src.substr(0,1)!=s&&(scrs=(_W.location.href+"").split(s),scrs[scrs.length-1].indexOf(".")>-1&&scrs[scrs.length-1].toLowerCase()!=_W.location.hostname.toLowerCase()&&scrs.pop(),src=scrs.join(s)+(src.substr(0,1)==s?"":s)+src),src=src.split(s),src.pop(),trimDots(src),src.join(s)+s}(),locator.isProduction=locator.gatewayLocation.toLowerCase().indexOf("production")>-1,locator.normalizeUrl=function(url){url=url.replace("foresee/","trigger/");var suff,rooturl=locator.gatewayLocation||"";return url.indexOf("v=")>-1?url:"$"==url.substr(0,1)?locator.rootOverride?url.replace("$",locator.rootOverride):(suff="code/"+globalConfig.codeVer+"/"+url.replace("$",""),"/"==rooturl?rooturl+suff:subtractFromURL(rooturl,3)+suff):(-1==url.indexOf("//")&&(url="/"==rooturl.substr(rooturl.length-1,1)&&"/"==url.substr(0,1)?rooturl+url.substr(1):rooturl+url),url)},locator.normalizeAssetUrl=function(url){return locator.assetOverride?locator.assetOverride+url:locator.normalizeUrl(url)},_W._fsNormalizeUrl=_W._acsNormalizeUrl=locator.normalizeUrl,_W._fsNormalizeAssetUrl=locator.normalizeAssetUrl;var extMod={supportsDomStorage:supportsDomStorage,hasProp:hasProp,fsCmd:fsCmd,eachProp:eachProp,isDefined:isDefined,isFunction:isFunction,isObject:isObject,isArray:isArray,isDate:isDate,isString:isString,isPlainObject:isPlainObject,proxy:proxy,dispose:dispose,ext:ext,diff:diff,attr:attr,makeURI:locator.normalizeUrl,makeAssetURI:locator.normalizeAssetUrl,home:locator.gatewayLocation,isProduction:locator.isProduction,getParam:getParam,nextTick:nextTick,toQueryString:toQueryString,getQueryString:getQueryString,isSelfHosted:locator.isSelfHosted,hasSSL:locator.hasSSL,compute:compute,config:globalConfig,productConfig:productConfig,setFSRVisibility:setFSRVisibility,gwConfigOverride:locator.productCfgOverride,domReady:domReady,winReady:winload,tagVersion:"4sk340t",toLowerCase:toLowerCase,enc:encodeURIComponent,dec:decodeURIComponent,assetLocation:locator.assetOverride,codeLocation:locator.rootOverride,startTS:_W.performance&&_W.performance.timing?_W.performance.timing.responseStart:(new Date).getTime(),API:API};define("fs",function(){return extMod}),define("_acs",function(){return extMod}),domReady(function(){nextTick(function(){var dm,i,fsrd="fsReady";if(locator.gwScript&&(dm=attr(locator.gwScript,"data-module")),isDefined(_W.acsReady)&&(_W[fsrd]=_W.acsReady),!isDefined(_W.acsReady)){var altR=function(){var aT="__fsReady_stk__";_W[aT]=_W[aT]||[],_W[aT].push(arguments)};_W.acsReady=_W[fsrd]||altR}var dependencies=[],finalSetup=function(){if(!(globalConfig.minGatewayVersion&&globalConfig.minGatewayVersion>2.03))if(eachProp(productConfig,function(obj,prop){isDefined(globalConfig.products[prop.toLowerCase()])&&!1===globalConfig.products[prop.toLowerCase()]&&(obj.check=!1),isFunction(obj.check)&&(obj.check=obj.check.call(obj)),isDefined(obj.check)||(obj.check=!0),isDefined(obj.dependencies)||(obj.dependencies=[]),obj.check&&(dependencies=dependencies.concat(obj.dependencies))}),dm)dm&&nextTick(function(){_fsRequire([_fsNormalizeUrl(dm)],function(){})});else{for(i=0;ib[a].max)throw Error("Quota exceeded");b[a].Oa+=c}}var b={},c=void 0,d=void 0,e={je:function(a){c=a},Wb:function(){c&&a(c,1)},ke:function(a){d=a},X:function(b){d&&a(d,b)},Ge:function(a,c){b[a]=b[a]||{Oa:0};b[a].max=c},Id:function(a){return b[a]&&b[a].Oa||0},reset:function(){b={}},qd:a};e.onFnConsume=e.je;e.consumeFn=e.Wb;e.onStorageConsume=e.ke;e.consumeStorage=e.X;e.setMax=e.Ge;e.getConsumed=e.Id;e.reset=e.reset;e.consume=e.qd;return e};var va=function(a,b,c){this.M=a;this.H=b;this.aa=c;this.h=new ra};va.prototype.add=function(a,b){this.h.Aa||(this.M.X(("string"===typeof a?a.length:1)+("string"===typeof b?b.length:1)),this.h.set(a,b))};va.prototype.add=va.prototype.add;va.prototype.set=function(a,b){this.h.Aa||(this.aa&&this.aa.has(a)?this.aa.set(a,b):(this.M.X(("string"===typeof a?a.length:1)+("string"===typeof b?b.length:1)),this.h.set(a,b)))};va.prototype.set=va.prototype.set; +va.prototype.get=function(a){return this.h.has(a)?this.h.get(a):this.aa?this.aa.get(a):void 0};va.prototype.get=va.prototype.get;va.prototype.has=function(a){return!!this.h.has(a)||!(!this.aa||!this.aa.has(a))};va.prototype.has=va.prototype.has;va.prototype.K=function(){return this.M};va.prototype.L=function(){this.h.L()};var xa=function(){},ya=function(a){return"function"==typeof a},Aa=function(a){return"string"==typeof a},Ba=function(a){return"number"==typeof a&&!isNaN(a)},Ca=function(a){return"[object Array]"==Object.prototype.toString.call(Object(a))},Da=function(a,b){if(Array.prototype.indexOf){var c=a.indexOf(b);return"number"==typeof c?c:-1}for(var d=0;db)a=0,b=2147483647;return Math.floor(Math.random()*(b-a+1)+a)},Fa=function(a){return Math.round(Number(a))|| +0},Ga=function(a){return"false"==String(a).toLowerCase()?!1:!!a},Ha=function(a){var b=[];if(Ca(a))for(var c=0;ce&&(e=Math.max(d+e,0));for(var f=e;fc?d+c:Math.min(c,e));for(var f=e;0<=f;f--)if(this.has(f)&&this.get(f)===b)return f;return-1},map:function(a,b){for(var c=this.length(),d=[],e=0;ed)throw"TypeError: ReduceRight on List with no elements.";}for(h=f;0<=h;h--)this.has(h)&&(e=b.m(a,e,this.get(h),h,this));return e},reverse:function(){for(var a=Za(this),b=a.length-1,c=0;0<=b;b--,c++)a.hasOwnProperty(b)?this.set(c,a[b]):this.remove(c);return this},shift:function(){return this.shift()},slice:function(a,b,c){var d=this.length();void 0===b&&(b=0);b=0>b?Math.max(d+b,0):Math.min(b,d);c=void 0===c?d:0>c?Math.max(d+c,0):Math.min(c,d);c=Math.max(b, +c);for(var e=[],f=b;fthis.evaluate(b)};y.Ld=function(a,b){return this.evaluate(a)>=this.evaluate(b)};y.Sd=function(a,b){return this.evaluate(a)===this.evaluate(b)};y.Td=function(a,b){return this.evaluate(a)!==this.evaluate(b)}; +y["if"]=function(a,b,c){var d=[];this.evaluate(a)?d=this.evaluate(b):c&&(d=this.evaluate(c));var e=this.xa(d);if(e instanceof g)return e};y.ae=function(a,b){return this.evaluate(a)"+a+"";b=b.lastChild;for(var c=[];b.firstChild;)c.push(b.removeChild(b.firstChild));return c},tb=function(a){hb.sendBeacon&&hb.sendBeacon(a)||C(a)};var ub=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i;var vb=/:[0-9]+$/,wb=function(a,b,c){for(var d=a.split("&"),e=0;eDa(c,k))if(l&&0Da(c,l[p])){n=!1;break a}}else{n=!1;break a}n=!0}m=n}var q=!1;if(d){var r;if(!(r=0<= +Da(e,k)))a:{for(var u=l||[],t=new Ja,A=0;Ard){rd++;try{B.documentElement.doScroll("left"),td()}catch(a){z.setTimeout(ud,50)}}}var vd=function(a){qd?a():sd.push(a)};var wd=!1,xd=function(){return z.GoogleAnalyticsObject&&z[z.GoogleAnalyticsObject]};var yd=function(a){z.GoogleAnalyticsObject||(z.GoogleAnalyticsObject=a||"ga");var b=z.GoogleAnalyticsObject;if(!z[b]){var c=function(){c.q=c.q||[];c.q.push(arguments)};c.l=Number(Ia());z[b]=c}return z[b]},zd=function(a,b,c,d){b=String(b).replace(/\s+/g,"").split(",");var e=xd();e(a+"require","linker");e(a+"linker:autoLink",b,c,d)}; +var Dd=function(){return"&tc="+uc.filter(function(a){return a}).length},Ed="0.005000">Math.random(),Fd=function(){var a=0,b=0;return{$d:function(){if(2>a)return!1;1E3<=Ia().getTime()-b&&(a=0);return 2<=a},ye:function(){1E3<=Ia().getTime()-b&&(a=0);a++;b=Ia().getTime()}}},Gd="",Hd=function(){Gd=[Pc,"&v=3&t=t","&pid="+Ea(),"&rv=9h"].join("")},Id={},Jd="",Kd=void 0,Ld={},Md={},Nd=void 0,Od=null,Pd=1E3,Qd=function(){var a=Kd;return void 0===a?"":[Gd,Id[a]?"":"&es=1", +Ld[a],Dd(),Jd,"&z=0"].join("")},Rd=function(){Nd&&(z.clearTimeout(Nd),Nd=void 0);void 0===Kd||Id[Kd]&&!Jd||(Md[Kd]||Od.$d()||0>=Pd--?Md[Kd]=!0:(Od.ye(),C(Qd()),Id[Kd]=!0,Jd=""))},Sd=function(a,b,c){if(Ed&&!Md[a]&&b){a!==Kd&&(Rd(),Kd=a);var d=c+String(b[P.N]||"").replace(/_/g,"");Jd=Jd?Jd+"."+d:"&tr="+d;Nd||(Nd=z.setTimeout(Rd,500));2022<=Qd().length&&Rd()}};function Td(a,b,c,d,e,f){var h=uc[a],k=Ud(a,b,c,d,e,f);if(!k)return null;var l=Dc(h[P.Qb],f.Z,[],Vd());if(l&&l.length){var m=l[0];k=Td(m.index,b,k,1===m.ac?e:k,e,f)}return k} +function Ud(a,b,c,d,e,f){function h(){var b=Ec(k,f.Z,[],l);b.vtp_gtmOnSuccess=function(){Sd(f.id,uc[a],"5");c()};b.vtp_gtmOnFailure=function(){Sd(f.id,uc[a],"6");d()};b.vtp_gtmTagId=k.tag_id;if(k[P.Mc])d();else{Sd(f.id,k,"1");try{Cc(b)}catch(D){Sd(f.id, +k,"7");e()}}}var k=uc[a];if(f.Z(k))return null;var l=Vd(),m=Dc(k[P.Rb],f.Z,[],l);if(m&&m.length){var n=m[0],p=Td(n.index,b,c,d,e,f);if(!p)return null;c=p;d=2===n.ac?e:p}if(k[P.Pb]||k[P.Nc]){var q=k[P.Pb]?vc:b,r=c,u=d;if(!q[a]){h=La(h);var t=Wd(a,q,h);c=t.V;d=t.la}return function(){q[a](r,u)}}return h} +function Wd(a,b,c){var d=[],e=[];b[a]=Xd(d,e,c);return{V:function(){b[a]=Yd;for(var c=0;c=c&&a()})},$c:function(){d=!0;b>=c&&a()}}}function ae(a,b){if(!Ed)return;var c=function(a){var d=b.Z(uc[a])?"3":"4",f=Dc(uc[a][P.Qb],b.Z,[],xa);f&&f.length&&c(f[0].index);Sd(b.id,uc[a],d);var h=Dc(uc[a][P.Rb],b.Z,[],xa);h&&h.length&&c(h[0].index)};c(a);}var be=!1;var ce=function(a,b){var c={};c[P.N]="__"+a;for(var d in b)b.hasOwnProperty(d)&&(c["vtp_"+d]=b[d]);for(d in void 0)(void 0).hasOwnProperty(d)&&(c[d]=(void 0)[d]);uc.push(c);return uc.length-1};var de="allow_ad_personalization_signals cookie_domain cookie_expires cookie_name cookie_path custom_params event_callback event_timeout groups send_to send_page_view session_duration user_properties".split(" ");var ee=/[A-Z]+/,fe=/\s/,ge=function(a){if(Aa(a)&&(a=a.trim(),!fe.test(a))){var b=a.indexOf("-");if(!(0>b)){var c=a.substring(0,b);if(ee.test(c)){for(var d=a.substring(b+1).split("/"),e=0;ea.length||!Aa(a[1])||!Ua(b))return;var c=ge(a[1]);if(!c)return;le()?ne(c):oe();var d=c.id,e;for(e in ie)if(ie.hasOwnProperty(e)){var f=Da(ie[e],d);0<=f&&ie[e].splice(f,1)}var h=c.id,k=b.groups||"default";k=k.toString().split(","); +for(var l=0;l=Number(c); +case "_gt":return Number(b)>Number(c);case "_lc":var m;m=String(b).split(",");return 0<=Da(m,String(c));case "_le":return Number(b)<=Number(c);case "_lt":return Number(b)')[0].href}function Re(a){return Fa(Wa(a))}function Se(a){return null===a?"null":void 0===a?"undefined":a.toString()}function Te(a,b){return Ea(a,b)}function Ue(a,b,c){if(!(a instanceof v))return null;for(var d=new Qa,e=!1,f=0;fd.length){if(0==d.length)continue;return}Ye.R(d)}var e=function(a){throw Ze({permissionId:a,debugString:"The requested permission does not exist."});};Ye.oa(e);var f=Xe(),h;for(h in b)if(b.hasOwnProperty(h)){var k= +b[h],l=!1,m;for(m in k)if(k.hasOwnProperty(m)){l=!0;var n=f(m,k[m],Ze);Ye.Ma(h,m,n)}l||Ye.Ma(h,"default",e)}};function Ze(a){return new jd(a)};var af=function(a,b){var c=function(){};c.prototype=a.prototype;var d=new c;a.apply(d,Array.prototype.slice.call(arguments,1));return d};var bf=function(a){return encodeURIComponent(a)},cf=function(a,b){if(!a)return!1;var c=xb(N(a),"host");if(!c)return!1;for(var d=0;b&&d>21:d;return[Math.round(2147483647*Math.random())^d&2147483647,Math.round(Date.now()/1E3)].join(".")},Af=function(a,b,c,d){var e=yf(b);return rf(a,e,zf(c),d)}; +function yf(a){if(!a)return 1;a=0===a.indexOf(".")?a.substr(1):a;return a.split(".").length}function zf(a){if(!a||"/"===a)return 1;"/"!==a[0]&&(a="/"+a);"/"!==a[a.length-1]&&(a+="/");return a.split("/").length-1}function Bf(a,b){var c=""+yf(a),d=zf(b);1>2,m=(f&3)<<4|h>>4,n=(h&15)<<2|k>>6,p=k&63;e||(p=64,d||(n=64));b.push(Jf[l],Jf[m],Jf[n],Jf[p])}return b.join("")},Nf=function(a){function b(b){for(;d>4);64!=h&&(c+=String.fromCharCode(f<<4&240|h>>2),64!=k&&(c+=String.fromCharCode(h<<6&192|k)))}};var Of;function Pf(a,b){if(!a||b===B.location.hostname)return!1;for(var c=0;cf;f++){for(var h=f,k=0;8>k;k++)h=h&1?h>>>1^3988292384:h>>>1;e[f]=h}d=e}Of=d;for(var l=4294967295,m=0;m>>8^Of[(l^c.charCodeAt(m))&255];return((l^-1)>>>0).toString(36)},Xf=function(){return function(a){var b=N(z.location.href),c=b.search.replace("?",""),d=wb(c,"_gl",!0)||"";a.query=Wf(d)||{};var e=xb(b,"fragment").match(Tf);a.fragment=Wf(e&&e[3]||"")||{}}},Wf=function(a){var b;b=void 0===b?3:b;try{if(a){var c=Rf.exec(a);if(c&& +"1"===c[1]){var d=c[3],e;a:{for(var f=c[2],h=0;hu){r=!0;break b}r=!1}r||uf(n,p,void 0,void 0,new Date(q+7776E6),!0)}}}}, +ch=function(a,b,c,d,e){ng(a,b,c,d,e);},dh=function(a,b){var c;a:{var d;d=100;for(var e={},f=0;ff;f++){var h=e[f].src;if(h){h=h.toLowerCase();if(0===h.indexOf(c))return 3;1===d&&0===h.indexOf(b)&&(d=2)}}return d};var ph=function(a,b){return Zc(a,b,void 0)}; +var qh=function(a,b,c){var d=(void 0===c?0:c)?"www.googletagmanager.com/gtag/js":Sg;d+="?id="+encodeURIComponent(a)+"&l=dataLayer";if(b)for(var e in b)b[e]&&b.hasOwnProperty(e)&&(d+="&"+e+"="+encodeURIComponent(b[e]));T(X("https://","http://",d))};var sh=function(a,b,c){a instanceof ze.Pc&&(a=a.resolve(ze.ze(b,c)),b=xa);return{lb:a,V:b}};var th=function(a,b,c){this.n=a;this.t=b;this.p=c},uh=function(){this.c=1;this.e=[];this.p=null};function vh(a){var b=Nc,c=b.gss=b.gss||{};return c[a]=c[a]||new uh}var wh=function(a,b){vh(a).p=b},xh=function(a,b,c){var d=Math.floor(Ia().getTime()/1E3);vh(a).e.push(new th(b,d,c))},yh=function(a){};var Rh=window,Sh=document,Th=function(a){var b=Rh._gaUserPrefs;if(b&&b.ioo&&b.ioo()||a&&!0===Rh["ga-disable-"+a])return!0;try{var c=Rh.external;if(c&&c._gaUserPrefs&&"oo"==c._gaUserPrefs)return!0}catch(f){}for(var d=of("AMP_TOKEN",Sh.cookie,!0),e=0;e + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/code/China _ Data_files/logo-wbg-footer-en.svg b/code/China _ Data_files/logo-wbg-footer-en.svg new file mode 100644 index 00000000..f19eb672 --- /dev/null +++ b/code/China _ Data_files/logo-wbg-footer-en.svg @@ -0,0 +1,95 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/code/China _ Data_files/main-bd31d0076822ad71282b.js.download b/code/China _ Data_files/main-bd31d0076822ad71282b.js.download new file mode 100644 index 00000000..fb5b2b0f --- /dev/null +++ b/code/China _ Data_files/main-bd31d0076822ad71282b.js.download @@ -0,0 +1,40 @@ +webpackJsonp([5],[function(t,e,n){(function(t){"use strict";function e(t){return t&&t.__esModule?t:{"default":t}}var r=n(57),o=e(r);n(570);var a=n(3),i=e(a),s=n(2),u=e(s),l=n(111),c=e(l),d=n(317),p=e(d),f=n(19),h=n(496),g=n(228),m=n(53);n(835),n(834);var y=n(1175),v=n(1184),_=e(v),b=n(1190),E=e(b),A=n(1176),S=e(A),T=n(382),M=n(384);p["default"].initialize("UA-68125313-3");var L=function(){p["default"].pageview(window.location.pathname)};window.onload=function(){window.pageLoaded=!0},setTimeout(function(){window.pageLoaded=!0},9e3);var C=window.navigator.userAgent.toLowerCase();(i["default"].includes(C,"samsung")||i["default"].includes(C,"safari"))&&S["default"].call("object"===("undefined"==typeof window?"undefined":(0,o["default"])(window))&&window||"object"===("undefined"==typeof self?"undefined":(0,o["default"])(self))&&self||"object"===("undefined"==typeof t?"undefined":(0,o["default"])(t))&&t||{});var O=document.getElementById("app"),w=(0,y.unpackInitialState)(window.__data),D=w.cache,P=w.initialState,x=(0,_["default"])(h.browserHistory,P),I=x.store,R=x.model,k=(0,g.syncHistoryWithStore)(h.browserHistory,I,{selectLocationState:function(t){return t.router}});window.store=I,I.subscribe(function(){(0,T.CollectMacroData)(),(0,M.CollectMacroDTMData)()}),R.setCache(D);var N=u["default"].createElement(h.Router,{history:k,onUpdate:L,render:function(t){return u["default"].createElement(m.ReduxAsyncConnect,t)}},E["default"]),B=window.location,U=B.pathname,j=B.search,F=B.hash,H=""+U+j+F;(0,h.match)({routes:E["default"],location:H},function(){c["default"].render(u["default"].createElement(f.Provider,{key:"provider",store:I},N),O)}),window.env="production"}).call(e,function(){return this}())},function(t,e,n){var r=n(20),o=n(88),a=n(47),i=n(48),s=n(89),u="prototype",l=function(t,e,n){var c,d,p,f,h=t&l.F,g=t&l.G,m=t&l.S,y=t&l.P,v=t&l.B,_=g?r:m?r[e]||(r[e]={}):(r[e]||{})[u],b=g?o:o[e]||(o[e]={}),E=b[u]||(b[u]={});g&&(n=e);for(c in n)d=!h&&_&&void 0!==_[c],p=(d?_:n)[c],f=v&&d?s(p,r):y&&"function"==typeof p?s(Function.call,p):p,_&&i(_,c,p,t&l.U),b[c]!=p&&a(b,c,f),y&&E[c]!=p&&(E[c]=p)};r.core=o,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},,,function(t,e){"use strict";e.__esModule=!0,e["default"]=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=n(756),a=r(o),i=n(418),s=r(i),u=n(57),l=r(u);e["default"]=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+("undefined"==typeof e?"undefined":(0,l["default"])(e)));t.prototype=(0,s["default"])(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(a["default"]?(0,a["default"])(t,e):t.__proto__=e)}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=n(57),a=r(o);e["default"]=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==("undefined"==typeof e?"undefined":(0,a["default"])(e))&&"function"!=typeof e?t:e}},function(t,e,n){t.exports={"default":n(773),__esModule:!0}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=n(270),a=r(o);e["default"]=function(){function t(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:[],e=Array.isArray(t)?t:[t];e.forEach(function(t){t&&t.locale&&(D.__addLocaleData(t),P.__addLocaleData(t))})}function a(t){for(var e=(t||"").split("-");e.length>0;){if(i(e.join("-")))return!0;e.pop()}return!1}function i(t){var e=t&&t.toLowerCase();return!(!D.__localeData__[e]||!P.__localeData__[e])}function s(t){return(""+t).replace(gt,function(t){return ht[t]})}function u(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.reduce(function(e,r){return t.hasOwnProperty(r)?e[r]=t[r]:n.hasOwnProperty(r)&&(e[r]=n[r]),e},{})}function l(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.intl;k(e,"[React Intl] Could not find required `intl` object. needs to exist in the component ancestry.")}function c(t,e){if(t===e)return!0;if("object"!==("undefined"==typeof t?"undefined":U(t))||null===t||"object"!==("undefined"==typeof e?"undefined":U(e))||null===e)return!1;var n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!1;for(var o=Object.prototype.hasOwnProperty.bind(e),a=0;a3&&void 0!==arguments[3]?arguments[3]:{},l=i.intl,d=void 0===l?{}:l,p=s.intl,f=void 0===p?{}:p;return!c(e,r)||!c(n,o)||!(f===d||c(u(f,ft),u(d,ft)))}function p(t){return t.displayName||t.name||"Component"}function f(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.intlPropName,r=void 0===n?"intl":n,o=e.withRef,a=void 0!==o&&o,i=function(e){function n(t,e){j(this,n);var r=G(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,t,e));return l(e),r}return z(n,e),F(n,[{key:"getWrappedInstance",value:function(){return k(a,"[React Intl] To access the wrapped instance, the `{withRef: true}` option must be set when calling: `injectIntl()`"),this.refs.wrappedInstance}},{key:"render",value:function(){return R.createElement(t,W({},this.props,H({},r,this.context.intl),{ref:a?"wrappedInstance":null}))}}]),n}(I.Component);return i.displayName="InjectIntl("+p(t)+")",i.contextTypes={intl:ut},i.WrappedComponent=t,i}function h(t){return t}function g(t){return D.prototype._resolveLocale(t)}function m(t){return D.prototype._findPluralRuleFunction(t)}function y(t){var e=P.thresholds;e.second=t.second,e.minute=t.minute,e.hour=t.hour,e.day=t.day,e.month=t.month}function v(t,e,n){var r=t&&t[e]&&t[e][n];if(r)return r}function _(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=t.locale,a=t.formats,i=r.format,s=new Date(n),l=i&&v(a,"date",i),c=u(r,yt,l);try{return e.getDateTimeFormat(o,c).format(s)}catch(d){}return String(s)}function b(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=t.locale,a=t.formats,i=r.format,s=new Date(n),l=i&&v(a,"time",i),c=u(r,yt,l);c.hour||c.minute||c.second||(c=W({},c,{hour:"numeric",minute:"numeric"}));try{return e.getDateTimeFormat(o,c).format(s)}catch(d){}return String(s)}function E(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=t.locale,a=t.formats,i=r.format,s=new Date(n),l=new Date(r.now),c=i&&v(a,"relative",i),d=u(r,_t,c),p=W({},P.thresholds);y(Et);try{return e.getRelativeFormat(o,d).format(s,{now:isFinite(l)?l:e.now()})}catch(f){}finally{y(p)}return String(s)}function A(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=t.locale,a=t.formats,i=r.format,s=i&&v(a,"number",i),l=u(r,vt,s);try{return e.getNumberFormat(o,l).format(n)}catch(c){}return String(n)}function S(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=t.locale,a=u(r,bt);try{return e.getPluralFormat(o,a).format(n)}catch(i){}return"other"}function T(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=t.locale,a=t.formats,i=t.messages,s=t.defaultLocale,u=t.defaultFormats,l=n.id,c=n.defaultMessage;k(l,"[React Intl] An `id` must be provided to format a message.");var d=i&&i[l],p=Object.keys(r).length>0;if(!p)return d||c||l;var f=void 0;if(d)try{var h=e.getMessageFormat(d,o,a);f=h.format(r)}catch(g){}if(!f&&c)try{var m=e.getMessageFormat(c,s,u);f=m.format(r)}catch(g){}return f||d||c||l}function M(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=Object.keys(r).reduce(function(t,e){var n=r[e];return t[e]="string"==typeof n?s(n):n,t},{});return T(t,e,n,o)}function L(t){var e=Math.abs(t);return e=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n},G=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e},V=function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e":">","<":"<",'"':""","'":"'"},gt=/[&><"']/g,mt=function jt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};j(this,jt);var n="ordinal"===e.style,r=m(g(t));this.format=function(t){return r(t,n)}},yt=Object.keys(lt),vt=Object.keys(ct),_t=Object.keys(dt),bt=Object.keys(pt),Et={second:60,minute:60,hour:24,day:30,month:12},At=Object.freeze({formatDate:_,formatTime:b,formatRelative:E,formatNumber:A,formatPlural:S,formatMessage:T,formatHTMLMessage:M}),St=Object.keys(it),Tt=Object.keys(st),Mt={formats:{},messages:{},textComponent:"span",defaultLocale:"en",defaultFormats:{}},Lt=function(t){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};j(this,e);var r=G(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));k("undefined"!=typeof Intl,"[React Intl] The `Intl` APIs must be available in the runtime, and do not appear to be built-in. An `Intl` polyfill should be loaded.\nSee: http://formatjs.io/guides/runtime-environments/");var o=n.intl,a=void 0;a=isFinite(t.initialNow)?Number(t.initialNow):o?o.now():Date.now();var i=o||{},s=i.formatters,u=void 0===s?{getDateTimeFormat:N(Intl.DateTimeFormat),getNumberFormat:N(Intl.NumberFormat),getMessageFormat:N(D),getRelativeFormat:N(P),getPluralFormat:N(mt)}:s;return r.state=W({},u,{now:function(){return r._didDisplay?Date.now():a}}),r}return z(e,t),F(e,[{key:"getConfig",value:function(){var t=this.context.intl,e=u(this.props,St,t);for(var n in Mt)void 0===e[n]&&(e[n]=Mt[n]);if(!a(e.locale)){var r=e,o=(r.locale,r.defaultLocale),i=r.defaultFormats;e=W({},e,{locale:o,formats:i,messages:Mt.messages})}return e}},{key:"getBoundFormatFns",value:function(t,e){return Tt.reduce(function(n,r){return n[r]=At[r].bind(null,t,e),n},{})}},{key:"getChildContext",value:function(){var t=this.getConfig(),e=this.getBoundFormatFns(t,this.state),n=this.state,r=n.now,o=q(n,["now"]);return{intl:W({},t,e,{formatters:o,now:r})}}},{key:"shouldComponentUpdate",value:function(){for(var t=arguments.length,e=Array(t),n=0;n1?o-1:0),i=1;i0;if(h){var g=Math.floor(1099511627776*Math.random()).toString(16),m=function(){var t=0;return function(){return"ELEMENT-"+g+"-"+(t+=1)}}();d="@__"+g+"__@",p={},f={},Object.keys(s).forEach(function(t){var e=s[t];if(I.isValidElement(e)){var n=m();p[t]=d+n+d,f[n]=e}else p[t]=e})}var y={id:o,description:a,defaultMessage:i},v=e(y,p||s),_=void 0,b=f&&Object.keys(f).length>0;return _=b?v.split(d).filter(function(t){return!!t}).map(function(t){return f[t]||t}):[v],"function"==typeof c?c.apply(void 0,V(_)):I.createElement.apply(void 0,[l,null].concat(V(_)))}}]),e}(I.Component);Bt.displayName="FormattedMessage",Bt.contextTypes={intl:ut},Bt.defaultProps={values:{}};var Ut=function(t){function e(t,n){j(this,e);var r=G(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return l(n),r}return z(e,t),F(e,[{key:"shouldComponentUpdate",value:function(t){var e=this.props.values,n=t.values;if(!c(n,e))return!0;for(var r=W({},t,{values:e}),o=arguments.length,a=Array(o>1?o-1:0),i=1;i0){var l=y["default"].find(u,{id:e})||y["default"].find(u,"isDefault"),c=y["default"].findIndex(u,{id:y["default"].get(l,"id")});u[Math.max(c,0)].selected=!0}return(0,f["default"])({name:y["default"].get(o[t],"name")},i,{id:t,indicators:u})}}),R=(e.selectedTopicEmptyDefaultQuery=(0,h.createSelector)([x,D,A.indicatorMetaSelector,A.dataSelector,A.topicMetaSelector,M.localeSelector],function(t,e,n,r,o,a){if(0===e.length){var i=(0,L.getLocalized)(o[t],a)||{},s=i.indicators||[];return s.filter(function(t){return n[t.id]&&n[t.id].last_year}).map(function(t){return t.lastYear=n[t.id]?n[t.id].last_year:[],t}).filter(function(t){return!r["1W"][t.id]}).map(function(t){return[t.id,t.lastYear[1]]})}}),e.topicDefaultLocationsSelector=(0,h.createSelector)([I],function(t){return t&&t.defaultLocations?t.defaultLocations.locations||t.defaultLocations.fallback:["1W"]})),k=(e.defaultLocationsSelector=(0,h.createSelector)([A.indicatorMetaSelector,P,R],function(t,e,n){return n}),e.defaultLocationMetaSelector=(0,h.createSelector)([A.locationMetaSelector,M.localeSelector],function(t,e){var n=(0,L.getLocalized)(t[_.DEFAULT_USER_COUNTRY]||{},e);return{color:_.CHART_HOVER_COLOR,id:_.DEFAULT_USER_COUNTRY,iso3:n.id,locations:n.locations||[],name:n.name||_.DEFAULT_USER_COUNTRY}}),e.detailsCardLocationsSelector=(0,h.createSelector)([T.locationsListSelector,D],function(t,e){return e.length>0?(0,y["default"])(e).flatMap(function(t){return(t.locations||[]).concat(t.id)}).uniq().value():y["default"].map(t,"id")}),e.isAggregateSelector=(0,h.createSelector)([D,P],function(t,e){return!e&&1===t.length&&!!t[0].isAggregate}),e.hasDetailsSelector=(0,h.createSelector)([P],function(t){return t}),e.groupChartIndicatorSelector=(0,h.createSelector)([P,I,M.selectedContextualSelector,E.indicatorsGroupsSelector],function(t,e,n,r){if(n)return r[n]&&r[n].codes||[];if(t)return t;if(e){var o=e.indicators;return(y["default"].find(o,"selected")||y["default"].head(o)||{}).id}}),e.chartIndicatorSelector=(0,h.createSelector)([P,I],function(t,e){if(t)return t;if(e){var n=e.indicators;return(y["default"].find(n,"selected")||y["default"].head(n)||{}).id}}));e.chartIndicatorMetaSelector=(0,h.createSelector)([k,A.indicatorMetaSelector,M.localeSelector],function(t,e,n){return(0,L.getIndicatorMeta)(t,e,n)}),e.relatedIndicatorsIdSelector=(0,h.createSelector)([P,A.indicatorMetaSelector],function(t,e){return y["default"].get(e[t],"relatedIndicators")||[]})},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0,e.connect=e.Provider=void 0;var o=n(997),a=r(o),i=n(998),s=r(i);e.Provider=a["default"],e.connect=s["default"]},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(211)("wks"),o=n(124),a=n(20).Symbol,i="function"==typeof a;t.exports=function(t){return r[t]||(r[t]=i&&a[t]||(i?a:o)("Symbol."+t))}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0}),e.locationDetailsItem=e.featuredIndicator=e.chartIndicator=e.chart=e.yearRange=e.topic=e.range=e.location=e.region=e.locationGroups=e.indicatorMeta=e.incomeLevel=e.mapData=e.historyLocation=e.dataSet=e.chartOptions=e.chartDomain=e.chartData=e.numOrStr=void 0;var o=n(2),a=n(988),i=(r(a),e.numOrStr=o.PropTypes.oneOfType([o.PropTypes.string,o.PropTypes.number])),s=e.chartData=o.PropTypes.shape({id:i.isRequired,highlighted:o.PropTypes.bool,location:o.PropTypes.shape({color:o.PropTypes.string.isRequired,id:o.PropTypes.string.isRequired,value:o.PropTypes.string.isRequired}).isRequired,values:o.PropTypes.arrayOf(o.PropTypes.shape({date:i.isRequired,value:i.isRequired})).isRequired}),u=e.chartDomain=o.PropTypes.shape({x:o.PropTypes.arrayOf(i),y:o.PropTypes.arrayOf(i)}),l=e.chartOptions=o.PropTypes.object,c=(e.dataSet=o.PropTypes.shape({name:o.PropTypes.string.isRequired,description:o.PropTypes.string.isRequired,id:o.PropTypes.string.isRequired,sidebarContent:o.PropTypes.string,url:o.PropTypes.string}),e.historyLocation=o.PropTypes.shape({hash:o.PropTypes.string.isRequired,pathname:o.PropTypes.string.isRequired,query:o.PropTypes.object.isRequired,search:o.PropTypes.string.isRequired}),e.mapData=o.PropTypes.objectOf(o.PropTypes.number),e.incomeLevel=o.PropTypes.shape({id:o.PropTypes.string.isRequired,name:o.PropTypes.string})),d=(e.indicatorMeta=o.PropTypes.shape({id:o.PropTypes.string.isRequired,licenseType:o.PropTypes.string,licenseUrl:o.PropTypes.string,fullname:o.PropTypes.string,shortname:o.PropTypes.string,source:o.PropTypes.string,sourceNote:o.PropTypes.string,sourceOrganization:o.PropTypes.string,sourceURL:o.PropTypes.string,unit:o.PropTypes.string,WDITable:o.PropTypes.string}),e.locationGroups=o.PropTypes.arrayOf(o.PropTypes.shape({locations:o.PropTypes.arrayOf(o.PropTypes.shape({id:o.PropTypes.string.isRequired,name:o.PropTypes.string.isRequired})),type:o.PropTypes.string.isRequired})),e.region=o.PropTypes.shape({id:o.PropTypes.string.isRequired,name:o.PropTypes.string})),p=(e.location=o.PropTypes.shape({adminRegion:d,color:o.PropTypes.string.isRequired,id:o.PropTypes.string.isRequired,incomeLevel:c,isAggregate:o.PropTypes.bool,iso3:o.PropTypes.string,locationType:o.PropTypes.string,name:o.PropTypes.string,region:d}),e.range=o.PropTypes.shape({start:o.PropTypes.object.isRequired,end:o.PropTypes.object.isRequired}),e.topic=o.PropTypes.shape({id:o.PropTypes.string.isRequired,indicators:o.PropTypes.arrayOf(o.PropTypes.shape({id:o.PropTypes.string.isRequired})).isRequired,name:o.PropTypes.string,source:o.PropTypes.string}),e.yearRange=o.PropTypes.shape({start:o.PropTypes.number.isRequired,end:o.PropTypes.number.isRequired}),e.chart=o.PropTypes.shape({data:o.PropTypes.arrayOf(s).isRequired,domain:u.isRequired,options:l}));e.chartIndicator=o.PropTypes.shape({id:o.PropTypes.string.isRequired,fullname:o.PropTypes.string,shortname:o.PropTypes.string,data:o.PropTypes.arrayOf(s).isRequired}),e.featuredIndicator=o.PropTypes.shape({chart:p.isRequired,fullname:o.PropTypes.string,id:o.PropTypes.string.isRequired,selected:o.PropTypes.bool,shortname:o.PropTypes.string}),e.locationDetailsItem=o.PropTypes.shape({chart:p,data:o.PropTypes.oneOfType([o.PropTypes.object,o.PropTypes.arrayOf(o.PropTypes.object)]),link:o.PropTypes.string.isRequired,title:o.PropTypes.string.isRequired,type:o.PropTypes.string})},,function(t,e){var n=t.exports={version:"2.2.2"};"number"==typeof __e&&(__e=n)},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0,e.compose=e.applyMiddleware=e.bindActionCreators=e.combineReducers=e.createStore=void 0;var o=n(538),a=r(o),i=n(1105),s=r(i),u=n(1104),l=r(u),c=n(1103),d=r(c),p=n(537),f=r(p),h=n(539);r(h);e.createStore=a["default"],e.combineReducers=s["default"],e.bindActionCreators=l["default"],e.applyMiddleware=d["default"],e.compose=f["default"]},function(t,e,n){t.exports=!n(16)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(14),o=n(398),a=n(76),i=Object.defineProperty;e.f=n(27)?Object.defineProperty:function(t,e,n){if(r(t),e=a(e,!0),r(n),o)try{return i(t,e,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){"use strict";function r(t){for(var e;e=t._renderedComponent;)t=e;return t}function o(t,e){var n=r(t);n._hostNode=e,e[g]=n}function a(t){var e=t._hostNode;e&&(delete e[g],t._hostNode=null)}function i(t,e){if(!(t._flags&h.hasCachedChildNodes)){var n=t._renderedChildren,a=e.firstChild;t:for(var i in n)if(n.hasOwnProperty(i)){var s=n[i],u=r(s)._domID;if(null!=u){for(;null!==a;a=a.nextSibling)if(1===a.nodeType&&a.getAttribute(f)===String(u)||8===a.nodeType&&a.nodeValue===" react-text: "+u+" "||8===a.nodeType&&a.nodeValue===" react-empty: "+u+" "){o(s,a);continue t}c("32",u)}}t._flags|=h.hasCachedChildNodes}}function s(t){if(t[g])return t[g];for(var e=[];!t[g];){if(e.push(t),!t.parentNode)return null;t=t.parentNode}for(var n,r;t&&(r=t[g]);t=e.pop())n=r,e.length&&i(r,t);return n}function u(t){var e=s(t);return null!=e&&e._hostNode===t?e:null}function l(t){if(void 0===t._hostNode?c("33"):void 0,t._hostNode)return t._hostNode;for(var e=[];!t._hostNode;)e.push(t),t._hostParent?void 0:c("34"),t=t._hostParent;for(;e.length;t=e.pop())i(t,t._hostNode);return t._hostNode}var c=n(13),d=n(168),p=n(511),f=(n(10),d.ID_ATTRIBUTE_NAME),h=p,g="__reactInternalInstance$"+Math.random().toString(36).slice(2),m={getClosestInstanceFromNode:s,getInstanceFromNode:u,getNodeFromInstance:l,precacheChildNodes:i,precacheNode:o,uncacheNode:a};t.exports=m},,function(t,e,n){var r=n(43),o=n(25),a=n(104),i=n(92),s="prototype",u=function(t,e,n){var l,c,d,p=t&u.F,f=t&u.G,h=t&u.S,g=t&u.P,m=t&u.B,y=t&u.W,v=f?o:o[e]||(o[e]={}),_=v[s],b=f?r:h?r[e]:(r[e]||{})[s];f&&(n=e);for(l in n)c=!p&&b&&void 0!==b[l],c&&l in v||(d=c?b[l]:n[l],v[l]=f&&"function"!=typeof b[l]?n[l]:m&&c?a(d,r):y&&b[l]==d?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e[s]=t[s],e}(d):g&&"function"==typeof d?a(Function.call,d):d,g&&((v.virtual||(v.virtual={}))[l]=d,t&u.R&&_&&!_[l]&&i(_,l,d)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){return function(e,n){var r=(0,T.parseLocale)((0,L.localeSelector)(n())),o=(0,M.selectionToPath)([{value:t,category:"indicator"}],(0,C.urlIdMappingSelector)(n()),r);(0,L.locationSelector)(n()).query;return(0,S.NavigationViaSearchbox)(o),e((0,v.push)({pathname:o,query:{}}))}}function a(t){return function(e,n){var r=(0,T.parseLocale)((0,L.localeSelector)(n())),o=(0,M.selectionToPath)(t,(0,C.urlIdMappingSelector)(n()),r),a=(0,L.locationSelector)(n()).query,i=b["default"].omit((0,y["default"])({},a,(0,M.selectionToQuery)(t)),(0,M.selectionToOmitList)(t,r));(0,S.NavigationViaSearchbox)(o);var s=(window.env,"production");if(E.isLocal||!b["default"].includes(o,A.DATA_CATALOG_PATH))return e((0,v.push)({pathname:o,query:i}));var u=A.ENV_LOCALE_LINKS_MAP[s][A.DEFAULT_LOCALE],l=b["default"].startsWith(u,"http")?"":"http://";window.location=""+l+u+o}}function i(t){return function(e,n){var r=(0,L.locationSelector)(n()).query;b["default"].isEmpty((0,O.indicatorsGroupsSelector)(n())[t])&&(r=b["default"].omit(r,"contextual")),e((0,v.push)({pathname:(0,M.indicatorIdToPath)(t),query:r}))}}function s(t,e,n,r){var o=(0,C.multiSelectionSelector)(e()),i=function(t){return t.category===A.CATEGORY_LOCATION&&t.value===n},s=b["default"].find(o,i);if(!r&&s)return g["default"].resolve();var u=s?o.filter(function(t){return!i(t)}):o.concat({category:A.CATEGORY_LOCATION,value:n});return t(a(u))}function u(t){return function(e,n){return s(e,n,t,!0)}}function l(t){return function(e,n){return s(e,n,t,!1)}}function c(t){return function(e,n){var r=(0,C.multiSelectionSelector)(n()),o=r.concat({category:A.CATEGORY_INDICATOR,value:t});return e(a(o))}}function d(t){return function(e,n){var r=(0,L.locationSelector)(n()),o=r.pathname,a=r.query;e((0,v.push)({pathname:o,query:(0,y["default"])({},a,t)}))}}function p(t,e){return function(n,r){var o=(0,L.locationSelector)(r()),a=o.pathname,i=o.query;e&&(i=b["default"].omit(i,e)),n((0,v.replace)({pathname:a,query:(0,y["default"])({},i,t)}))}}function f(t){return function(e,n){e((0,v.push)({pathname:t}))}}Object.defineProperty(e,"__esModule",{value:!0});var h=n(39),g=r(h),m=n(11),y=r(m);e.toIndicatorOnly=o,e.changeSelection=a,e.changeSelectedIndicator=i,e.toggleLocation=u,e.addLocation=l,e.addIndicator=c,e.updateQuery=d,e.replaceQuery=p,e.updatePathname=f;var v=n(228),_=n(3),b=r(_),E=n(115),A=n(9),S=n(118),T=n(241),M=n(171),L=n(15),C=n(18),O=n(36)},function(t,e,n){var r=n(103),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},,function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){if(e.indexOf("deprecated")!==-1){if(u[e])return;u[e]=!0}e="[react-router] "+e;for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o"+o+""};t.exports=function(t,e){var n={};n[t]=e(s),r(r.P+r.F*o(function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}),"String",n)}},function(t,e,n){var r=n(173),o=n(61);t.exports=function(t){return r(o(t))}},,,function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0,e.reducer=e.loadOnServer=e.asyncConnect=e.ReduxAsyncConnect=void 0;var o=n(1097);Object.defineProperty(e,"asyncConnect",{enumerable:!0,get:function(){return o.asyncConnect}});var a=n(369);Object.defineProperty(e,"loadOnServer",{enumerable:!0,get:function(){return a.loadOnServer}});var i=n(237);Object.defineProperty(e,"reducer",{enumerable:!0,get:function(){return i.reducer}});var s=n(1096),u=r(s);e.ReduxAsyncConnect=u["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){return function(e){return e((0,Y.retrievePaths)([["datasets"],[t]]))}}function a(t){return function(e,n){return e((0,Y.retrievePaths)([["datasetContent"],[t],[N(n())]]))}}function i(){return function(t){var e=[[["related"],["datasets"]]];return t(Y.retrievePaths.apply(void 0,e))}}function s(){return function(t){return t((0,Y.retrievePaths)(["banner"]))}}function u(){return function(t){var e=[[["lists"],["datasets"]]];return t(Y.retrievePaths.apply(void 0,e))}}function l(){return function(t,e){var n=k(e()),r=n.indicators,o=n.locations,a=(0,tt.defaultLocationsSelector)(e()),i=J["default"].isEmpty(o)?a:o;if(r.length>0&&i.length>0){var s=(0,it.selectedViewSelector)(e());return s===Q.VIEW_MAP?V["default"].all([t(y(["countries"])),t(b(i,r))]).then(function(){return t(M(r[0]))}):t(b(i,r))}}}function c(){return function(t){var e=[["globalConfig"],Q.GLOBAL_CONFIG_META_FIELDS];return t((0,Y.retrievePaths)(e))}}function d(){return function(t,e){return t(x()).then(function(){var n=k(e()),r=n.indicators,o=J["default"].head(r)||(0,tt.chartIndicatorSelector)(e());if(o){var a=(0,ut.selectedRelatedLocationsSelector)(e());if(a)return t(b(a,[o]))}return V["default"].resolve()})}}function p(t,e,n){var r=(0,tt.selectedLocationsSelector)(e()),o=(0,tt.defaultLocationsSelector)(e()),a=J["default"].isEmpty(r)?o:r,i=(0,it.selectedViewSelector)(e());return V["default"].all([t(y(["countries","sources"])),t(b(a,[n])),i!==Q.VIEW_MAP?t(d()):void 0]).then(function(){return V["default"].all([t(h((0,tt.selectedLocationsMetaSelector)(e()).map(function(t){return t.iso3}),n))]).then(function(){return V["default"].all([t(T()),t((0,Y.retrievePaths)([["extraData"],["templateUrls"],[n]])),t(D()),i===Q.VIEW_MAP?t(M(n)):void 0])})})}function f(){return function(t,e){var n=(0,tt.groupChartIndicatorSelector)(e())||[],r=0==n.length?[(0,tt.selectedIndicatorSelector)(e())]:n;return V["default"].all(r.map(function(n){return p(t,e,n)}))}}function h(t,e){return function(n,r){var o=!J["default"].isEmpty(t),a=J["default"].isArray(e)?X["default"].flatten(e.map(function(e){ +return t.map(function(t){return t+"~"+e})})):t.map(function(t){return t+"~"+e}),i=J["default"].compact([o?[["locationSeriesMeta"],a,["countrySeries"]]:void 0]);return n(Y.retrievePaths.apply(void 0,(0,q["default"])(i)))}}function g(t){return function(e){var n=[["indicatorMeta"],[t],Q.INDICATOR_EXTRA_META_FIELDS];return e((0,Y.retrievePaths)(n))}}function m(){return function(t){return t((0,Y.retrievePaths)(["indicatorsByTopic"]))}}function y(){var t=arguments.length<=0||void 0===arguments[0]?Q.LIST_FIELDS:arguments[0];return function(e,n){var r=[[["lists"],t,[N(n())]]];return e(Y.retrievePaths.apply(void 0,r))}}function v(){return function(t,e){var n=(0,tt.selectedLocationsSelector)(e()),r=1===n.length;(0,tt.selectedIndicatorSelector)(e());return V["default"].all([t(c()).then(function(){var r=(0,nt.locationIndicatorsIdSelector)(e());t(b(n,r))}),t(y(["countries","sources"])),r?t(_("countryMeta",n[0])):void 0]).then(function(){return V["default"].all([t(S()),t(T()),t(E())])}).then(function(){return V["default"].all((0,nt.locationIndicatorsIdSelector)(e()).map(function(n){return t(h((0,tt.selectedLocationsMetaSelector)(e()).map(function(t){return t.iso3}),n))}))})}}function _(t,e){return function(n){var r=[[t],[e],Q.LOCALES_WITH_TRANSLATED_URL_NAMES];return n((0,Y.retrievePaths)(r))}}function b(t,e){return function(n,r){var o=!J["default"].isEmpty(t),a=N(r()),i=J["default"].compact([o?[["indicatorData"],t,e,[Q.INDICATOR_RANGE]]:void 0,o?[["countryMeta"],t,Q.LOCATION_META_FIELDS.concat(a).concat("en")]:void 0,[["indicatorMeta"],e,Q.INDICATOR_META_FIELDS.concat(a)]]),s=J["default"].compact([o?[["locationSeriesMeta"],X["default"].flatten(e.map(function(e){return t.map(function(t){return t+"~"+e})})),["countrySeries"]]:void 0]);return n(Y.retrievePaths.apply(void 0,(0,q["default"])(i))).then(function(){return Y.retrievePaths.apply(void 0,(0,q["default"])(s))})}}function E(){return function(t,e){return t(A()).then(function(){var n=(0,ot.locationDetailsTargetSelector)(e());if(n){var r=[["extraData"],Q.EXTRA_DATA_CATEGORIES[n.category],[n.key]];return t((0,Y.retrievePaths)(r))}return V["default"].resolve()})}}function A(){return function(t,e){var n=k(e()),r=n.locations;if(!J["default"].isEmpty(r)){var o=[["countryMeta"],r,Q.LOCATION_META_FIELDS.concat(N(e())).concat("en")];return t((0,Y.retrievePaths)(o))}return V["default"].resolve()}}function S(){return function(t,e){return t(A()).then(function(){var n=k(e()),r=n.locations,o=(0,et.locationMetaSelector)(e()),a=(0,J["default"])(r).flatMap(function(t){var e=J["default"].get(o,t,{}),n=e.incomelevel,r=e.adminregion,a=e.region;return J["default"].compact([n,r,a])}).uniq().value();if(!J["default"].isEmpty(a)){var i=[["countryMeta"],a,Q.LOCATION_META_FIELDS.concat(N(e()))];return t((0,Y.retrievePaths)(i))}return V["default"].resolve()})}}function T(){return function(t,e){var n=(0,tt.selectedIndicatorSelector)(e()),r=(0,rt.locationsListSelector)(e()).map(function(t){return t.id});if(n&&r){var o=[["indicatorData"],r,[n],[Q.INDICATOR_RANGE]];return t((0,Y.retrievePaths)(o))}return V["default"].resolve()}}function M(t){return function(e,n){var r=J["default"].map((0,rt.locationsListSelector)(n()),"id");if(r.length>0){var o=R(n()),a={from:o,to:o},i=[["indicatorData"],r,[t],[a]];return e((0,Y.retrievePaths)(i))}return V["default"].resolve()}}function L(){return function(t){return t((0,Y.retrievePaths)(["locGroupsByCategory"]))}}function C(){return function(t){return t(O()).then(function(){return V["default"].all([t(S()).then(function(){return t(E())}),t(d()),t(w())])})}}function O(){return function(t,e){var n=k(e()),r=n.topics;if(!J["default"].isEmpty(r)){var o=J["default"].uniq([N(e())].concat(Q.LOCALES_WITH_TRANSLATED_URL_NAMES)),a=[["topicMeta"],r,Q.TOPIC_META_FIELDS.concat(o)];return t((0,Y.retrievePaths)(a))}return V["default"].resolve()}}function w(){return function(t,e){var n=(0,tt.selectedTopicSelector)(e()).indicators;return t(I(n.map(X["default"].prop("id")))).then(function(){return t(P((0,tt.selectedTopicEmptyDefaultQuery)(e())))})}}function D(){return function(t,e){var n=(0,tt.relatedIndicatorsIdSelector)(e());return t(I(n))}}function P(t){return function(e,n){var r=(k(n()),N(n())),o=(0,J["default"])(t).flatMap(function(t){var e=(0,W["default"])(t,2),n=e[0],o=e[1];return o.length>0&&n.length>0?[[["countryMeta"],o,Q.LOCATION_META_FIELDS.concat(r)],[["indicatorData"],o,[n],[Q.INDICATOR_RANGE]],[["indicatorMeta"],[n],Q.INDICATOR_META_FIELDS.concat(r)]]:[]}).value();return e(Y.retrievePaths.apply(void 0,(0,q["default"])(o)))}}function x(){return function(t,e){var n=k(e()),r=n.locations,o=n.indicators,a=J["default"].head(o)||(0,tt.chartIndicatorSelector)(e()),i=(0,it.selectedContextualSelector)(e()),s=i!==Q.CONTEXTUAL_MODE_NONE;if(a&&r.length>0&&s){var u=[[["relatedLocations"],[a],r,[i]]];return t(Y.retrievePaths.apply(void 0,u))}return V["default"].resolve()}}function I(t){return function(e,n){var r=k(n()),o=N(n()),a=r.locations.length>0?r.locations:r.defaultLocations;if(a.length>0&&t.length>0){var i=function(){var r=[[["countryMeta"],a,Q.LOCATION_META_FIELDS.concat(o)],[["indicatorData"],a,t,[Q.INDICATOR_RANGE]],[["indicatorMeta"],t,Q.INDICATOR_META_FIELDS.concat(o)]],i=t.map(function(t){return e(h((0,tt.selectedLocationsMetaSelector)(n()).map(function(t){return t.iso3}),t))});return{v:e(Y.retrievePaths.apply(void 0,r)).then(function(){return V["default"].all(i)})}}();if("object"===("undefined"==typeof i?"undefined":(0,F["default"])(i)))return i.v}return V["default"].resolve()}}function R(t){var e=(0,it.selectedYearSelector)(t)||J["default"].get((0,at.chartSelectedRangeSelector)(t),"end")||J["default"].get((0,at.chartRangeSelector)(t),"end")||Q.DEFAULT_RANGE.end;return J["default"].isFunction(J["default"].get(e,"getFullYear"))?e.getFullYear():J["default"].parseInt(e)}function k(t){return(0,U["default"])({},(0,st.getSelectionIds)((0,tt.multiSelectionSelector)(t)),{defaultLocations:(0,tt.defaultLocationsSelector)(t)})}function N(t){return(0,$.getAPILocale)((0,it.localeSelector)(t))}Object.defineProperty(e,"__esModule",{value:!0});var B=n(11),U=r(B),j=n(57),F=r(j),H=n(63),W=r(H),z=n(272),q=r(z),G=n(39),V=r(G);e.fetchDataSet=o,e.fetchDataSetContent=a,e.fetchRelatedDataSets=i,e.fetchBanner=s,e.fetchDataSets=u,e.fetchEmbed=l,e.fetchContextualData=d,e.fetchIndicatorCard=f,e.fetchLocationIndicatorMetaData=h,e.fetchIndicatorExtraMetaFields=g,e.fetchIndicatorsByTopic=m,e.fetchLists=y,e.fetchLocationsCard=v,e.fetchLocationData=b,e.fetchLocationsMeta=A,e.fetchAggregatesMeta=S,e.fetchDetailsCardData=T,e.fetchMapData=M,e.fetchLocationGroupsByCategory=L,e.fetchTopicCard=C,e.fetchTopicMeta=O,e.fetchTopicIndicators=w,e.fetchRelatedIndicators=D,e.fetchRelatedLocations=x,e.getSelection=k;var K=n(3),J=r(K),Y=n(371),Z=n(41),X=r(Z),Q=n(9),$=n(241),tt=n(18),et=n(42),nt=n(387),rt=n(87),ot=n(242),at=n(143),it=n(15),st=n(100),ut=n(568)},function(t,e,n){var r=n(174),o=n(102),a=n(50),i=n(76),s=n(38),u=n(398),l=Object.getOwnPropertyDescriptor;e.f=n(27)?l:function(t,e){if(t=a(t),e=i(e,!0),u)try{return l(t,e)}catch(n){}if(s(t,e))return o(!r.f.call(t,e),t[e])}},function(t,e,n){var r=n(38),o=n(37),a=n(258)("IE_PROTO"),i=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,a)?t[a]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?i:null}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=n(759),a=r(o),i=n(758),s=r(i),u="function"==typeof s["default"]&&"symbol"==typeof a["default"]?function(t){return typeof t}:function(t){return t&&"function"==typeof s["default"]&&t.constructor===s["default"]?"symbol":typeof t};e["default"]="function"==typeof s["default"]&&"symbol"===u(a["default"])?function(t){return"undefined"==typeof t?"undefined":u(t)}:function(t){return t&&"function"==typeof s["default"]&&t.constructor===s["default"]?"symbol":"undefined"==typeof t?"undefined":u(t)}},,,function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(16);t.exports=function(t,e){return!!t&&r(function(){e?t.call(null,function(){},1):t.call(null)})}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=n(751),a=r(o),i=n(750),s=r(i);e["default"]=function(){function t(t,e){var n=[],r=!0,o=!1,a=void 0;try{for(var i,u=(0,s["default"])(t);!(r=(i=u.next()).done)&&(n.push(i.value),!e||n.length!==e);r=!0);}catch(l){o=!0,a=l}finally{try{!r&&u["return"]&&u["return"]()}finally{if(o)throw a}}return n}return function(e,n){if(Array.isArray(e))return e;if((0,a["default"])(Object(e)))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},,,,,function(t,e,n){"use strict";function r(){C.ReactReconcileTransaction&&E?void 0:c("123")}function o(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=p.getPooled(),this.reconcileTransaction=C.ReactReconcileTransaction.getPooled(!0)}function a(t,e,n,o,a,i){r(),E.batchedUpdates(t,e,n,o,a,i)}function i(t,e){return t._mountOrder-e._mountOrder}function s(t){var e=t.dirtyComponentsLength;e!==y.length?c("124",e,y.length):void 0,y.sort(i),v++;for(var n=0;n1?e-1:0),o=1;o2?r-2:0),a=2;aE;E++)if((p||E in v)&&(g=v[E],m=_(g,E,y),t))if(n)A[E]=m;else if(m)switch(t){case 3:return!0;case 5:return g;case 6:return E;case 2:A.push(g)}else if(c)return!1;return d?-1:l||c?c:A}}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(1),o=n(88),a=n(16);t.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],i={};i[t]=e(n),r(r.S+r.F*a(function(){n(1)}),"Object",i)}},function(t,e,n){var r=n(21);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=n(270),a=r(o);e["default"]=function(t,e,n){return e in t?(0,a["default"])(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},function(t,e,n){var r=n(93);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){t.exports=!n(105)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(78),o=n(420),a=n(287),i=Object.defineProperty;e.f=n(79)?Object.defineProperty:function(t,e,n){if(r(t),e=a(e,!0),r(n),o)try{return i(t,e,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},,,,,function(t,e){"use strict";function n(t,e){if(!e||!e.length)return!1;for(var n=0;n/g,"")},lbounds:function(t){return new L.LatLngBounds([[t[1],t[0]],[t[3],t[2]]])}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(11),a=r(o),i=n(7),s=r(i),u=n(4),l=r(u),c=n(8),d=r(c),p=n(6),f=r(p),h=n(5),g=r(h),m=n(2),y=r(m),v=["onclick","click"];e["default"]=function(){var t=arguments.length<=0||void 0===arguments[0]?v:arguments[0];return function(e){var n,r;return r=n=function(n){function r(){return(0,l["default"])(this,r),(0,f["default"])(this,(0,s["default"])(r).apply(this,arguments))}return(0,g["default"])(r,n),(0,d["default"])(r,[{key:"componentDidMount",value:function(){var e=this.refs.inner.onDefocus;t.forEach(function(t){return document.addEventListener(t,e,!1)})}},{key:"componentWillUnmount",value:function(){var e=this;!function(){var n=e.refs.inner.onDefocus;t.forEach(function(t){return document.removeEventListener(t,n,!1)})}()}},{key:"render",value:function(){return y["default"].createElement(e,(0,a["default"])({ref:"inner"},this.props,this.state))}}]),r}(m.Component),n.displayName="ComponentEnhancedWithHandleDefocusHOC",r}},t.exports=e["default"]},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sourcesListSelector=e.topicsListSelector=e.locationsListSelector=e.indicatorsListSelector=void 0;var r=n(69),o=n(42),a=n(15),i=n(100);e.indicatorsListSelector=(0,r.createSelector)([o.listsSelector,a.localeSelector],function(t,e){return(0,i.getLocalizedList)(t.indicators,e)}),e.locationsListSelector=(0,r.createSelector)([o.listsSelector,a.localeSelector],function(t,e){return(0,i.getLocalizedList)(t.countries,e)}),e.topicsListSelector=(0,r.createSelector)([o.listsSelector,a.localeSelector],function(t,e){return(0,i.getLocalizedList)(t.topics,e)}),e.sourcesListSelector=(0,r.createSelector)([o.listsSelector,a.localeSelector],function(t,e){return(0,i.getLocalizedList)(t.sources,e)})},function(t,e){var n=t.exports={version:"2.2.2"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(60);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var r=n(412),o=n(1),a=n(211)("metadata"),i=a.store||(a.store=new(n(415))),s=function(t,e,n){var o=i.get(t);if(!o){if(!n)return;i.set(t,o=new r)}var a=o.get(e);if(!a){if(!n)return;o.set(e,a=new r)}return a},u=function(t,e,n){var r=s(e,n,!1);return void 0!==r&&r.has(t)},l=function(t,e,n){var r=s(e,n,!1);return void 0===r?void 0:r.get(t)},c=function(t,e,n,r){s(n,r,!0).set(t,e)},d=function(t,e){var n=s(t,e,!1),r=[];return n&&n.forEach(function(t,e){r.push(e)}),r},p=function(t){return void 0===t||"symbol"==typeof t?t:String(t)},f=function(t){o(o.S,"Reflect",t)};t.exports={store:i,map:s,has:u,get:l,set:c,keys:d,key:p,exp:f}},function(t,e,n){"use strict";if(n(27)){var r=n(147),o=n(20),a=n(16),i=n(1),s=n(212),u=n(265),l=n(89),c=n(119),d=n(102),p=n(47),f=n(149),h=(n(253),n(103)),g=n(33),m=n(123),y=n(76),v=n(38),_=n(410),b=n(146),E=n(21),A=n(37),S=n(251),T=n(121),M=n(56),L=n(122).f,C=(n(580),n(266)),O=n(124),w=n(22),D=n(73),P=n(201),x=n(259),I=n(267),R=n(120),k=n(207),N=n(150),B=n(244),U=n(391),j=n(28),F=n(55),H=j.f,W=F.f,z=o.RangeError,q=o.TypeError,G=o.Uint8Array,V="ArrayBuffer",K="Shared"+V,J="BYTES_PER_ELEMENT",Y="prototype",Z=Array[Y],X=u.ArrayBuffer,Q=u.DataView,$=D(0),tt=D(2),et=D(3),nt=D(4),rt=D(5),ot=D(6),at=P(!0),it=P(!1),st=I.values,ut=I.keys,lt=I.entries,ct=Z.lastIndexOf,dt=Z.reduce,pt=Z.reduceRight,ft=Z.join,ht=Z.sort,gt=Z.slice,mt=Z.toString,yt=Z.toLocaleString,vt=w("iterator"),_t=w("toStringTag"),bt=O("typed_constructor"),Et=O("def_constructor"),At=s.CONSTR,St=s.TYPED,Tt=s.VIEW,Mt="Wrong length!",Lt=D(1,function(t,e){return xt(x(t,t[Et]),e)}),Ct=a(function(){return 1===new G(new Uint16Array([1]).buffer)[0]}),Ot=!!G&&!!G[Y].set&&a(function(){new G(1).set({})}),wt=function(t,e){if(void 0===t)throw q(Mt);var n=+t,r=g(t);if(e&&!_(n,r))throw z(Mt);return r},Dt=function(t,e){var n=h(t);if(n<0||n%e)throw z("Wrong offset!");return n},Pt=function(t){if(E(t)&&St in t)return t;throw q(t+" is not a typed array!")},xt=function(t,e){if(!(E(t)&&bt in t))throw q("It is not a typed array constructor!");return new t(e)},It=function(t,e){return Rt(x(t,t[Et]),e)},Rt=function(t,e){for(var n=0,r=e.length,o=xt(t,r);r>n;)o[n]=e[n++];return o},kt=function(t,e,n){H(t,e,{get:function(){return this._d[n]}})},Nt=function(t){var e,n,r,o,a,i,s=A(t),u=arguments.length,c=u>1?arguments[1]:void 0,d=void 0!==c,p=C(s);if(void 0!=p&&!S(p)){for(i=p.call(s),r=[],e=0;!(a=i.next()).done;e++)r.push(a.value);s=r}for(d&&u>2&&(c=l(c,arguments[2],2)),e=0,n=g(s.length),o=xt(this,n);n>e;e++)o[e]=d?c(s[e],e):s[e];return o},Bt=function(){for(var t=0,e=arguments.length,n=xt(this,e);e>t;)n[t]=arguments[t++];return n},Ut=!!G&&a(function(){yt.call(new G(1))}),jt=function(){return yt.apply(Ut?gt.call(Pt(this)):Pt(this),arguments)},Ft={copyWithin:function(t,e){return U.call(Pt(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return nt(Pt(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return B.apply(Pt(this),arguments)},filter:function(t){return It(this,tt(Pt(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return rt(Pt(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return ot(Pt(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){$(Pt(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return it(Pt(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return at(Pt(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return ft.apply(Pt(this),arguments)},lastIndexOf:function(t){return ct.apply(Pt(this),arguments)},map:function(t){return Lt(Pt(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return dt.apply(Pt(this),arguments)},reduceRight:function(t){return pt.apply(Pt(this),arguments)},reverse:function(){for(var t,e=this,n=Pt(e).length,r=Math.floor(n/2),o=0;o1?arguments[1]:void 0)},sort:function(t){return ht.call(Pt(this),t)},subarray:function(t,e){var n=Pt(this),r=n.length,o=m(t,r);return new(x(n,n[Et]))(n.buffer,n.byteOffset+o*n.BYTES_PER_ELEMENT,g((void 0===e?r:m(e,r))-o))}},Ht=function(t,e){return It(this,gt.call(Pt(this),t,e))},Wt=function(t){Pt(this);var e=Dt(arguments[1],1),n=this.length,r=A(t),o=g(r.length),a=0;if(o+e>n)throw z(Mt);for(;a255?255:255&r),o.v[h](n*e+o.o,r,Ct)},w=function(t,e){H(t,e,{get:function(){return C(this,e)},set:function(t){return O(this,e,t)},enumerable:!0})};_?(m=n(function(t,n,r,o){c(t,m,l,"_d");var a,i,s,u,d=0,f=0;if(E(n)){if(!(n instanceof X||(u=b(n))==V||u==K))return St in n?Rt(m,n):Nt.call(m,n);a=n,f=Dt(r,e);var h=n.byteLength;if(void 0===o){if(h%e)throw z(Mt);if(i=h-f,i<0)throw z(Mt)}else if(i=g(o)*e,i+f>h)throw z(Mt);s=i/e}else s=wt(n,!0),i=s*e,a=new X(i);for(p(t,"_d",{b:a,o:f,l:i,e:s,v:new Q(a)});d=c&&e<=d})})}).filter(function(t){var e=t.values;return!n||e.length>0});return{data:f,domain:{x:[c,d]}}}function u(t){var e=S["default"].map(S["default"].flatMap(t,"values"),"date"),n=[T.DEFAULT_RANGE.start,T.DEFAULT_RANGE.end];return(0,E.extent)(e.length>0?e:n).map(function(t){return(0,M.yearToDate)(t)})}function l(t){var e=(0,S["default"])(t).groupBy("category").map(function(t,e){return[e,S["default"].uniq(S["default"].map(t,"value"))]}).fromPairs().value(),n=e.dataset,r=e.indicator,o=e.location,a=e.topic;return{dataSets:n||[],indicators:r||[],locations:o||[],topics:a||[]}}function c(t){return(0,_.falcorKeys)(t).map(function(e){return{date:e,value:t[e]}}).filter(function(t){var e=t.value;return void 0!==e})}Object.defineProperty(e,"__esModule",{value:!0}),e.createIndicatorDataSelector=e.createMemoizedSelector=e.createDeepEqualSelector=void 0;var d=n(63),p=r(d),f=n(11),h=r(f),g=n(57),m=r(g),y=n(268),v=r(y);e.getIndicatorMeta=o,e.getLocalized=a,e.getLocalizedList=i,e.getRangedDataAndDomain=s,e.getSelectionIds=l,e.transformDataValues=c;var _=n(567),b=n(69),E=n(51),A=n(3),S=r(A),T=n(9),M=n(200),L=n(241),C=n(170);e.createDeepEqualSelector=(0,b.createSelectorCreator)(b.defaultMemoize,S["default"].isEqual),e.createMemoizedSelector=(0,b.createSelectorCreator)(S["default"].memoize,function(){for(var t=arguments.length,e=Array(t),n=0;n0?r:n)(t)}},function(t,e,n){var r=n(273);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},function(t,e,n){var r=n(277),o=n(177);t.exports=function(t){return r(o(t))}},,,,,function(t,e,n){"use strict";t.exports=n(1040)},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){return null==t||f["default"].isValidElement(t)}function a(t){return o(t)||Array.isArray(t)&&t.every(o)}function i(t,e,n){t=t||"UnknownComponent";for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var o=e[r](n,r,t);o instanceof Error}}function s(t,e){return d({},t,e)}function u(t){var e=t.type,n=s(e.defaultProps,t.props);if(e.propTypes&&i(e.displayName||e.name,e.propTypes,n),n.children){var r=l(n.children,n);r.length&&(n.childRoutes=r),delete n.children}return n}function l(t,e){var n=[];return f["default"].Children.forEach(t,function(t){if(f["default"].isValidElement(t))if(t.type.createRouteFromReactElement){var r=t.type.createRouteFromReactElement(t,e);r&&n.push(r)}else n.push(u(t))}),n}function c(t){return a(t)?t=l(t):t&&!Array.isArray(t)&&(t=[t]),t}e.__esModule=!0;var d=Object.assign||function(t){for(var e=1;e"+(a&&a.indicatorName?a.indicatorName+" - ":"")+" "+(r.value||r.id)+" ("+n+")\n
"+(0,i.valueWithUnitName)(o,l,u)+"
\n "},ratio:5/3,sparklineMaxWidth:150,sparklineMargin:{left:10,right:10,top:10,bottom:10},tooltipAlwaysTop:!1,tooltipFollowMouse:!1,tooltipMarginV:14});e.BAR_CHART_PROPS=(0,a["default"])({},s,{labelMarginBottom:6,margin:{left:34,right:20,top:20,bottom:80},miniChartMargin:{left:34,right:20,top:20,bottom:20},miniChartMaxWidth:500,tickMarginTop:12,tickRotation:45,tooltipAlwaysTop:!0,sortBarsBy:"value"}),e.LINE_CHART_PROPS=(0,a["default"])({},s,{dash:{width:1,separatorWidth:3},interpolation:"linear",margin:{left:34,right:20,top:20,bottom:42},miniChartMargin:{left:34,right:20,top:20,bottom:10},miniChartMaxWidth:500,missingDataBehaviour:"blank",pointRadius:2.5,showLabelOnHover:!1,tickCountY:9,tickCountX:9,voronoiTickInterval:40,sparklineDash:{width:1,separatorWidth:3},sparklineHighlightEnd:!0,sparklineHighlightStart:!1,sparklineInterpolation:"basis",xTickFormat:function(t){return t+""}})},function(t,e,n){"use strict";var r="production",o="undefined"!=typeof window&&!!window.document,a=o?"localhost"===window.location.hostname:"true"==={NODE_ENV:"production",SERVER:"production"}.IS_LOCAL;t.exports={development:{env:r,isLocal:a,isProduction:!1,port:{NODE_ENV:"production",SERVER:"production"}.PORT||8080,app:{name:"data.worldbank DEV"}},dev:{env:r,isLocal:a,isProduction:!0,port:{NODE_ENV:"production",SERVER:"production"}.PORT,app:{name:"dev.data.worldbank"}},staging:{env:r,isLocal:a,isProduction:!0,port:{NODE_ENV:"production",SERVER:"production"}.PORT,app:{name:"staging.data.worldbank"}},production:{env:r,isLocal:a,isProduction:!0,port:{NODE_ENV:"production",SERVER:"production"}.PORT||8080,app:{name:"data.worldbank"}}}[r]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){if(""===e||!t)return t;var n=x["default"].deburr(t.toLowerCase()).indexOf(e);return n>=0?L["default"].createElement("span",null,t.substring(0,n),L["default"].createElement("span",{className:"highlight"},t.substring(n,n+e.length)),t.substring(n+e.length)):void 0}function a(){document.body.classList.add(B)}function i(){document.body.classList.remove(B)}function s(t){var e=document.querySelector("#app").classList,n="menu-open";void 0===t?e.toggle(n):t?e.add(n):e.remove(n)}function u(t){return t&&"string"==typeof t&&(t=document.querySelector(t)),t?t.offsetTop:void 0}function l(){return u("#"+R.FOOTER_ID)}function c(t){if(window&&"function"==typeof window.open){var e=window.open(t,"_blank");"function"==typeof window.focus&&e.focus()}}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var d,p,f=n(175),h=r(f),g=n(7),m=r(g),y=n(4),v=r(y),_=n(8),b=r(_),E=n(6),A=r(E),S=n(5),T=r(S);e.generateHighlightLink=o,e.openModal=a,e.closeModal=i,e.changeAppNavMenuOpenState=s,e.calcDomOffsetTop=u,e.calcDistanceToFooter=l,e.openNewPage=c;var M=n(2),L=r(M),C=n(484),O=r(C),w=n(318),D=r(w),P=n(3),x=r(P),I=n(115),R=n(9),k=n(384),N=(p=d=function(t){function e(){return(0,v["default"])(this,e),(0,A["default"])(this,(0,m["default"])(e).apply(this,arguments))}return(0,T["default"])(e,t),(0,b["default"])(e,[{key:"render",value:function(){var t=this.props,e=t.assets,n=t.initialState,r=t.component,o=t.isWidgetPage,a=L["default"].createElement("span",null,L["default"].createElement("script",{dangerouslySetInnerHTML:{__html:"s_account = 'wbglobalext, wbnispddataext'"}}),L["default"].createElement("script",{src:"/config/WebStatsUtil.js"}),L["default"].createElement("script",{src:"/config/s_code.js"}),L["default"].createElement("script",{src:"//widget.uservoice.com/"+R.USERVOICE_ID+".js"})),i=r?O["default"].renderToString(r):"",s=D["default"].rewind(),u="";return L["default"].createElement("html",{lang:"en-us"},L["default"].createElement("head",null,L["default"].createElement("meta",{charSet:"utf-8"}),s.title.toComponent(),L["default"].createElement("meta",{content:"width=device-width, initial-scale=1, minimal-ui",name:"viewport"}),L["default"].createElement("meta",{content:"IE=Edge",httpEquiv:"X-UA-Compatible"}),s.meta.toComponent(),L["default"].createElement("link",{href:"/favicon.ico?v=1.1",rel:"shortcut icon"}),L["default"].createElement("meta",{name:"google-site-verification",content:"ByFDZmo3VoJURCHrA3WHjth6IAISYQEbe20bfzTPCPo"}),(0,h["default"])(e.styles).map(function(t,n){return L["default"].createElement("link",{href:e.styles[t],key:n,media:"screen, projection",rel:"stylesheet",type:"text/css"})}),!o&&L["default"].createElement("script",{src:""+R.DTM_URL[I.env]})),L["default"].createElement("body",null,L["default"].createElement("script",{dangerouslySetInnerHTML:{__html:k.initialDTMData}}),L["default"].createElement("span",{dangerouslySetInnerHTML:{__html:u},style:{paddingTop:"15px"}}),L["default"].createElement("div",{dangerouslySetInnerHTML:{__html:i},id:"app"}),L["default"].createElement("script",{dangerouslySetInnerHTML:{__html:"window.__data="+n}}),!o&&a,L["default"].createElement("script",{src:e.javascript.vendor}),L["default"].createElement("script",{src:e.javascript.main}),!o&&L["default"].createElement("script",null,"_satellite.pageBottom()")))}}]),e}(M.Component),d.propTypes={assets:M.PropTypes.object,component:M.PropTypes.object,initialState:M.PropTypes.string.isRequired,isWidgetPage:M.PropTypes.bool},p);e["default"]=N;var B="modal-open"},,function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0}),e.SearchboxQueryNoResults=e.SearchboxQuery=e.ContextualInteraction=e.NavigationViaRelatedLink=e.NavigationViaSearchbox=e.TimeInteraction=e.ChartInteraction=e.MapInteraction=e.DownloadXLSData=e.DownloadXMLData=e.DownloadCSVData=void 0;var o=n(317),a=r(o);e.DownloadCSVData=function(t){a["default"].event({category:"Download",action:"Downloaded CSV Data",label:t})},e.DownloadXMLData=function(t){a["default"].event({category:"Download",action:"Downloaded XML Data",label:t})},e.DownloadXLSData=function(t){a["default"].event({category:"Download",action:"Downloaded XLS Data",label:t})},e.MapInteraction=function(){a["default"].event({category:"Interaction",action:"Map Interaction"})},e.ChartInteraction=function(){a["default"].event({category:"Interaction",action:"Chart Interaction"})},e.TimeInteraction=function(){a["default"].event({category:"Interaction",action:"Time-slider Interaction"})},e.NavigationViaSearchbox=function(t){a["default"].event({category:"Navigation",action:"Navigation via Searchbox",label:t})},e.NavigationViaRelatedLink=function(t){a["default"].event({category:"Navigation",action:"Navigation via Related Link",label:t})},e.ContextualInteraction=function(t){a["default"].event({category:"Navigation",action:"Contextual Link ("+t+")",label:t})},e.SearchboxQuery=function(t){a["default"].event({category:"Search",action:"Searchbox Query",label:t})},e.SearchboxQueryNoResults=function(t,e){a["default"].event({category:"Search",action:"Searchbox Query With No Results: "+t+" - "+(e?"with these ids excluded from the results: "+e:""),label:t})}},function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e){t.exports={}},function(t,e,n){var r=n(14),o=n(403),a=n(247),i=n(258)("IE_PROTO"),s=function(){},u="prototype",l=function(){var t,e=n(246)("iframe"),r=a.length,o=">";for(e.style.display="none",n(249).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(" \ No newline at end of file diff --git a/code/China _ Data_files/placeholder.png b/code/China _ Data_files/placeholder.png new file mode 100644 index 00000000..d7989b39 Binary files /dev/null and b/code/China _ Data_files/placeholder.png differ diff --git a/code/China _ Data_files/s-code-contents-9b42223dafd4df6973d5b69c61714e0542e49a91.js.download b/code/China _ Data_files/s-code-contents-9b42223dafd4df6973d5b69c61714e0542e49a91.js.download new file mode 100644 index 00000000..d9b983c8 --- /dev/null +++ b/code/China _ Data_files/s-code-contents-9b42223dafd4df6973d5b69c61714e0542e49a91.js.download @@ -0,0 +1,988 @@ +/* Set Report Suite Id for the s-code */ +//var s_account; +if(_satellite.settings.isStaging){ + s_account="wbgglobal"; +}else{ + s_account="wbgglobalprod"; +} + +//s.account=s_account; +var wb = s_gi(s_account); +/* +s = new AppMeasurement(); +if(_satellite.settings.isStaging==true) +{s.account="wbgglobal"}else{s.account="wbgglobalprod"} +*/ +/************************** CONFIG SECTION **************************/ +wb.trackDownloadLinks = true +wb.trackExternalLinks = true +wb.trackInlineStats = true +wb.linkDownloadFileTypes = "exe,zip,wav,mp3,mov,mpg,avi,wmv,doc,pdf,xls,docx,xlsx,ppt,pptx,pps,rm,txt,rtf" +wb.linkInternalFilters = "javascript:,www.worldbank.org" +wb.linkLeaveQueryString = false +wb.linkTrackVars = "channel,eVar1,eVar13,eVar15,eVar17,eVar18,eVar19,eVar20,eVar22,eVar25,eVar26,eVar38,eVar39,eVar41,eVar48,eVar53,eVar61,prop14,prop39,prop11,prop41,prop18,prop20" +wb.linkTrackEvents = "None" +wb.gmt='-4'; //hour difference from GMT for time parting set for partner time zone +wb.usePlugins = true + +//Performance Timing Variables +wb.pte = 'event23,event24,event25,event26,event27,event28,event29,event30,event31,event32'; +wb.ptc = false; + +function s_doPlugins(s) { + +// Timestamp +wb.timestamp = Math.round((new Date()).getTime() / 1000); + +//If the Page is an Error Page +if(_satellite.getVar("PageType") == "errorPage"){ + wb.pageType = "errorPage"; +}else{ + // Set Page Name + wb.pageName = langMappingToCodes(_satellite.getVar('SiteLanguage'))+":"+_satellite.getVar('PNameDomainMap')+":"+_satellite.getVar('SiteType'); + if(_satellite.getVar('RelativeURL') != ""){wb.pageName = wb.pageName+":"+_satellite.getVar('RelativeURL');} + //wb.prop1 = wb.pageName; +} +wb.eVar1 = wb.pageName; + +//Site Language & Browser Language +wb.eVar13 = langMapping(_satellite.getVar("SiteLanguage")); +wb.prop14 = "D=v13"; +wb.eVar28 = langMapping(_satellite.getVar("BrowserLanguage")); + +//set channel/section +if(_satellite.getVar("ChannelInfo") == ""){ + wb.channel = _satellite.getVar('SiteType')+"|"+(_satellite.getVar('SiteSection') != ""? _satellite.getVar('SiteSection'):"uncategorized")+"|"+ + langMappingToCodes(_satellite.getVar('SiteLanguage'))+"|"+(_satellite.getVar('BusinessVPUnit') != ""? _satellite.getVar('BusinessVPUnit'):"uncategorized"); +}else{ + wb.channel = _satellite.getVar("ChannelInfo"); +} +// Time Parting Plugin +wb.eVar34 = wb.getTimePartingNew('n', wb.gmt); + +// AppMeasurement version +wb.eVar49 = wb.version; + +// VisitNum Plugin +wb.eVar31 = wb.getVisitNum(365); + +//Visitor Status- 30 days +wb.eVar23 = wb.getNewRepeat(730); + +//Days Since Last Visits +wb.eVar24 = wb.getDaysSinceLastVisit('s_lv'); + +//Campaign Tracking +var intCpmnId = wb.Util.getQueryParam('intcid').toLowerCase() || wb.Util.getQueryParam('INTCID').toLowerCase() || wb.Util.getQueryParam('IntCid').toLowerCase(); +//if(cmpnId.split('_').length >= 5 && cmpnId.split('_')[4].indexOf('int') == 0){ + //Internal Campaign Tracking + wb.eVar7 = intCpmnId; + if(typeof _satellite.readCookie('cidcookie_int') != 'undefined' && intCpmnId.charAt(unescape(_satellite.readCookie('cidcookie_int')).length) == '#' && + intCpmnId.substr(0,unescape(_satellite.readCookie('cidcookie_int')).length) == unescape(_satellite.readCookie('cidcookie_int'))){ + //console.log("internal campaign repeated"); + wb.eVar7 = intCpmnId.substr(0,unescape(_satellite.readCookie('cidcookie_int')).length); + } + wb.eVar7 = wb.getValOnce(wb.eVar7,'cidcookie_int'); +//}else{ + //External Campaign Tracking +var cmpnId = wb.Util.getQueryParam('cid').toLowerCase() || wb.Util.getQueryParam('CID').toLowerCase() || wb.Util.getQueryParam('Cid').toLowerCase(); + wb.campaign = cmpnId; + if(typeof _satellite.readCookie('new_cidcookie') != 'undefined' && cmpnId.charAt(unescape(_satellite.readCookie('new_cidcookie')).length) == '#' && + cmpnId.substr(0,unescape(_satellite.readCookie('new_cidcookie')).length) == unescape(_satellite.readCookie('new_cidcookie'))){ + //console.log("external campaign repeated"); + wb.campaign = cmpnId.substr(0,unescape(_satellite.readCookie('new_cidcookie')).length); + } + wb.campaign = wb.getValOnce(wb.campaign,'new_cidcookie'); +//} + +// Percent page View +wb.eVar9 = wb.prop7 = wb.getPreviousValue(wb.pageName,'s_ppn'); +if (wb.pageName) { + var ppv = wb.getPercentPageViewed(wb.pageName); +} +if (ppv && typeof ppv == 'object' && typeof ppv.length == 'number' && ppv.length > 1 && ppv[0] == wb.prop7) { + var initalPercentViewed = ppv[1]; + var finalPercentViewed = ppv[2]; + wb.prop16 = initalPercentViewed + '|' + finalPercentViewed; +} + +//Performance Timing +wb.performanceTiming(); + +//PageLoad time +s_getLoadTime(); + +//Get page load time +var pageLoadTime = s_getLoadTime()/10; +if(pageLoadTime >0 && pageLoadTime <= 90){ + wb.prop25=pageLoadTime; +}else if(pageLoadTime > 90){ + wb.prop25 = 90; +}else{ + wb.prop25 = '0'; +} + +//set device type +if (navigator.userAgent.match(/mobile/i) && navigator.userAgent.indexOf('iPad') == -1) { + wb.eVar30 = 'mobile'; +} else if (navigator.userAgent.match(/iPad|Android|Touch/i)) { + wb.eVar30 = 'tablet'; +} else { + wb.eVar30 = 'desktop'; +} + +//Screen Orientation +if(wb.eVar30 != "desktop"){ + if (screen.height < screen.width) { + wb.eVar27 = "landscape" + } else { + wb.eVar27 = "portrait" + } +} + +// Customized Link Tracking + +customLinkObject = wb.linkObject; +linkType = wb.linkType; +if(customLinkObject !== undefined && wb.linkType == "e"){ + //linkType = wb.linkType; + _satellite.getVar('CustomLinkClick'); +}else if(wb.linkType == "d"){ + //linkType = wb.linkType; + _satellite.getVar('DownloadClick'); + _satellite.getVar('FBPixelDownload'); + _satellite.getVar('TwitterPixelDownload'); + _satellite.getVar('GAdwordsTagDownload'); +} + +/* convert all the values to lowercase for consistent reporting purpose*/ +var hasNumber = /\d/; +for (var a = 1; a <= 100; a++) { + if (hasNumber.test(wb["prop" + a]) == false) { + wb["prop" + a] && (wb["prop" + a] = wb["prop" + a].toLowerCase().replace(/^d=/, 'D=')); + } + if (hasNumber.test(wb["eVar" + a]) == false) { + wb["eVar" + a] && (wb["eVar" + a] = wb["eVar" + a].toLowerCase().replace(/^d=/, 'D=')); + } + if (hasNumber.test(wb["hier" + a]) == false) { + wb["hier" + a] && (wb["hier" + a] = wb["hier" + a].toLowerCase().replace(/^d=/, 'D=')); + } +}; +for (var b = ["products", "pageName", "channel", "campaign"], a = 0; a < b.length; a++) { + if (hasNumber.test(wb[b[a]]) == false) { + wb[b[a]] && (wb[b[a]] = wb[b[a]].toLowerCase().replace(/^d=/, "D=")); + } +}; + +} +wb.doPlugins = s_doPlugins +wb.trackingServer="worldbankgroup.sc.omtrdc.net"; +//wb.trackingServerSecure="wbgroup.omtrdc.net"; + + +/* +===============Plugin section Start============ +*/ + +/* plugin: //Page load time definition */ + +function s_getLoadTime() +{ +if(!window.s_loadT) +{ +var b=new Date().getTime(), +o=window.performance?performance.timing:0,a=o?o.requestStart:window.inHeadTS||0; +s_loadT=a?Math.round((b-a)/100):'' +} +return s_loadT +} + +/* + * Plugin: downloadLinkHandler 0.8 - identify and report download links + */ +wb.downloadLinkHandler=new Function("p","e","" ++"var s=this,o=s.p_gh(),h=o.href,n='linkDownloadFileTypes',i,t;if(!h|" ++"|(s.linkType&&(h||s.linkName)))return'';i=h.indexOf('?');t=s[n];s[n" ++"]=p?p:t;if(s.lt(h)=='d')s.linkType='d';else h='';s[n]=t;return e?o:" ++"h;"); +wb.p_gh=new Function("","" ++"var s=this;if(!s.eo&&!s.lnk)return'';var o=s.eo?s.eo:s.lnk,y=s.ot(o" ++"),n=s.oid(o),x=o.s_oidt;if(s.eo&&o==s.eo){while(o&&!n&&y!='BODY'){o" ++"=o.parentElement?o.parentElement:o.parentNode;if(!o)return'';y=s.ot" ++"(o);n=s.oid(o);x=o.s_oidt;}}return o?o:'';"); + +/* + * Plugin: getTimeParting 3.4 + */ +wb.getTimePartingNew=new Function("h","z","" ++"var s=this,od;od=new Date('1/1/2000');if(od.getDay()!=6||od.getMont" ++"h()!=0){return'Data Not Available';}else{var H,M,D,U,ds,de,tm,da=['" ++"Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturda" ++"y'],d=new Date();z=z?z:0;z=parseFloat(z);if(s._tpDST){var dso=s._tp" ++"DST[d.getFullYear()].split(/,/);ds=new Date(dso[0]+'/'+d.getFullYea" ++"r());de=new Date(dso[1]+'/'+d.getFullYear());if(h=='n'&&d>ds&&dde||d=12){U=' P" ++"M';H=H-12;}if(H==0){H=12;}D=da[D];tm=H+':'+M+U;return(tm+'|'+D);}"); + + +/* + * Plugin: getNewRepeat 1.2 - Returns whether user is new or repeat + */ +wb.getNewRepeat=new Function("d","cn","" ++"var s=this,e=new Date(),cval,sval,ct=e.getTime();d=d?d:30;cn=cn?cn:" ++"'s_nr';e.setTime(ct+d*24*60*60*1000);cval=s.c_r(cn);if(cval.length=" ++"=0){s.c_w(cn,ct+'-New',e);return'New';}sval=s.split(cval,'-');if(ct" ++"-sval[0]<30*60*1000&&sval[1]=='New'){s.c_w(cn,ct+'-New',e);return'N" ++"ew';}else{s.c_w(cn,ct+'-Repeat',e);return'Repeat';}"); + + +/* + * Plugin: getAndPersistValue 0.3 - get a value on every page + */ +wb.getAndPersistValue=new Function("v","c","e","" ++"var s=this,a=new Date;e=e?e:0;a.setTime(a.getTime()+e*86400000);if(" ++"v)s.c_w(c,v,e?a:0);return s.c_r(c);"); + + +/* Utility Function: split v1.5 - split a string (JS 1.0 compatible) */ +wb.split = new Function("l", "d", "" ++ "var i,x=0,a=new Array;while(l){i=l.indexOf(d);i=i>-1?i:l.length;a[x" ++ "++]=l.substring(0,i);l=l.substring(i+d.length);}return a"); + +/* + * Plugin Utility: Append to List v1.2 + */ +wb.apl=new Function("l","v","d","u","" ++"var s=this,m=0;if(!l)l='';if(u){var i,n,a=l.split(d),al=a.length;fo" ++"r(i=0;i=0){x=x.substring(0,i)+n+x." ++ "substring(i+o.length);i=x.indexOf(o,i+l)}return x"); + +/* + * Plugin Utility: Join v1.0 + */ +wb.join=new Function("v","p","" ++"var s=this;var f,b,d,w;if(p){f=p.front?p.front:'';b=p.back?p.back" ++":'';d=p.delim?p.delim:'';w=p.wrap?p.wrap:'';}var str='';for(var x=0" ++";x-1?c.split(',',10):[''],i;a" ++"[0]=o?unescape(a[0]||''):I;for(i=1;i<9&&(i9||!o)a[9]=a[9]&&a[9]!='L'&&a[9" ++"]!='LP'&&a[9]!='PL'?'P':a[9];return a};s.c_w(P,s.c_r(K)||'');s.c_w(" ++"K,escape(I)+',0,0,0,0,0,0,0,0');W.s_PPVevent=function(e){var W=wind" ++"ow,D=document||{},B=D.body,E=D.documentElement||{},S=window.screen|" ++"|{},Ho='offsetHeight',Hs='scrollHeight',Ts='scrollTop',Wc='clientWi" ++"dth',Hc='clientHeight',M=Math,C=100,J='object',N='number',Z=',',s=W" ++".s_Obj||W.s||0;e=e&&typeof e==J?e.type||'':'';if(!e.indexOf('on'))e" ++"=e.substring(2);if(W.s_PPVt&&!e){clearTimeout(s_PPVt);s_PPVt=0}if(s" ++"&&typeof s==J&&B&&typeof B==J){var h=M.max(B[Hs]||E[Hs],B[Ho]||E[Ho" ++"],B[Hc]||E[Hc]||1),X=W.innerWidth||E[Wc]||B[Wc]||1,Y=W.innerHeight|" ++"|E[Hc]||B[Hc]||1,x=S.width||1,y=S.height||1,r=M.round(C*(W.devicePi" ++"xelRatio||1))/C,b=(D.pageYOffset||E[Ts]||B[Ts]||0)+Y,p=h>0&&b>0?M.r" ++"ound(C*b/h):1,O=W.orientation,o=!isNaN(O)?M.abs(o)%180:Y>X?0:90,a=s" ++".s_PPVg(n),L=(e=='load')||(a[1]<1),t,V=function(u,v,f,n){v=typeof v" ++"!=N?u:v;v=f||(u>v)?u:v;return n?v:v>C?C:v<0?0:v};if(new RegExp('(iP" ++"od|iPad|iPhone)').exec((window.navigator&&navigator.userAgent)||'')" ++"&&o){t=x;x=y;y=t}o=o?'L':'P';a[9]=L||!a[9]?o:a[9].substring(0,1);if" ++"(a[9]!='L'&&a[9]!='P')a[9]=o;s.c_w(K,escape(a[0])+Z+V(a[1],p,!L)+Z+" ++"V(a[2],p,L)+Z+V(a[3],b,L,1)+Z+X+Z+Y+Z+x+Z+y+Z+r+Z+a[9]+(a[9]==o?'':" ++"o))}if(!W.s_PPVt&&e!='unload')W.s_PPVt=setTimeout(W.s_PPVevent,333)" ++"};for(var f=W.s_PPVevent,i=0;i-1)return n?n:'[[';}" ++ "return 0;"); + +/* + * Plugin Utility: pt - runs function in f argument against list of + * variables declared in x (delimited by d), with a as an optional + * argument to be included in f function call + */ +wb.pt=new Function("x","d","f","a","" ++"var s=this,t=x,z=0,y,r;while(t){y=t.indexOf(d);y=y<0?t.length:y;t=t" ++".substring(0,y);r=s[f](t,a);if(r)return r;z+=y+d.length;t=x.substri" ++"ng(z,x.length);t=z30*60*1000){if(d>30*da" ++"y){s.c_w(c,ct,e);s.c_w(c+'_s',f2,es);}else if(d<30*day+1 && d>7*day" ++"){s.c_w(c,ct,e);s.c_w(c+'_s',f3,es);}else if(d<7*day+1 && d>day){s." ++"c_w(c,ct,e);s.c_w(c+'_s',f4,es);}else if(d-1)return n?n:'[[';}" ++ "return 0;"); + + + /* + * Plugin: getVisitNum - version 3.0 + */ + wb.getVisitNum=new Function("tp","c","c2","" + +"var s=this,e=new Date,cval,cvisit,ct=e.getTime(),d;if(!tp){tp='m';}" + +"if(tp=='m'||tp=='w'||tp=='d'){eo=s.endof(tp),y=eo.getTime();e.setTi" + +"me(y);}else {d=tp*86400000;e.setTime(ct+d);}if(!c){c='s_vnum';}if(!" + +"c2){c2='s_invisit';}cval=s.c_r(c);if(cval){var i=cval.indexOf('&vn=" + +"'),str=cval.substring(i+4,cval.length),k;}cvisit=s.c_r(c2);if(cvisi" + +"t){if(str){e.setTime(ct+1800000);s.c_w(c2,'true',e);return str;}els" + +"e {return 'unknown visit number';}}else {if(str){str++;k=cval.substri" + +"ng(0,i);e.setTime(k);s.c_w(c,k+'&vn='+str,e);e.setTime(ct+1800000);" + +"s.c_w(c2,'true',e);return str;}else {s.c_w(c,e.getTime()+'&vn=1',e)" + +";e.setTime(ct+1800000);s.c_w(c2,'true',e);return 1;}}"); + wb.dimo=new Function("m","y","" + +"var d=new Date(y,m+1,0);return d.getDate();"); + wb.endof=new Function("x","" + +"var t=new Date;t.setHours(0);t.setMinutes(0);t.setSeconds(0);if(x==" + +"'m'){d=s.dimo(t.getMonth(),t.getFullYear())-t.getDate()+1;}else if(" + +"x=='w'){d=7-t.getDay();}else {d=1;}t.setDate(t.getDate()+d);return " + +"t;"); + + +/* Plugin: Performance Timing Tracking - 0.11 BETA */ +wb.performanceTiming=new Function("v","" ++"var s=this;if(v)s.ptv=v;if(typeof performance!='undefined'){if(perf" ++"ormance.timing.loadEventEnd==0){s.pi=setInterval(function(){s.perfo" ++"rmanceWrite()},250);}if(!s.ptc||s.linkType=='e'){s.performanceRead(" ++");}else{s.rfe();s[s.ptv]='';}}"); +wb.performanceWrite=new Function("","" ++"var s=this;if(performance.timing.loadEventEnd>0)clearInterval(s.pi)" ++";try{if(s.c_r('s_ptc')==''&&performance.timing.loadEventEnd>0){try{" ++"var pt=performance.timing;var pta='';pta=s.performanceCheck(pt.fetc" ++"hStart,pt.navigationStart);pta+='^^'+s.performanceCheck(pt.domainLo" ++"okupStart,pt.fetchStart);pta+='^^'+s.performanceCheck(pt.domainLook" ++"upEnd,pt.domainLookupStart);pta+='^^'+s.performanceCheck(pt.connect" ++"End,pt.connectStart);pta+='^^'+s.performanceCheck(pt.responseStart," ++"pt.connectEnd);pta+='^^'+s.performanceCheck(pt.responseEnd,pt.respo" ++"nseStart);pta+='^^'+s.performanceCheck(pt.loadEventStart,pt.domLoad" ++"ing);pta+='^^'+s.performanceCheck(pt.loadEventEnd,pt.loadEventStart" ++");pta+='^^'+s.performanceCheck(pt.loadEventEnd,pt.navigationStart);" ++"s.c_w('s_ptc',pta);if(sessionStorage&&navigator.cookieEnabled&&s.pt" ++"v!='undefined'){var pe=performance.getEntries();var tempPe='';for(v" ++"ar i=0;i-1?pe[i].name.split('?')[0]:pe[i].name;tempPe+='|'+(Math.round(pe[" ++"i].startTime)/1000).toFixed(1)+'|'+(Math.round(pe[i].duration)/1000" ++").toFixed(1)+'|'+pe[i].initiatorType;}sessionStorage.setItem('s_pec" ++"',tempPe);}}catch(err){return;}}}catch(err){return;}"); +wb.performanceCheck=new Function("a","b","" ++"if(a>=0&&b>=0){if((a-b)<60000&&((a-b)>=0)){return((a-b)/1000).toFix" ++"ed(2);}else{return 600;}}"); +wb.performanceRead=new Function("","" ++"var s=this;if(performance.timing.loadEventEnd>0)clearInterval(s.pi)" ++";var cv=s.c_r('s_ptc');if(s.pte){var ela=s.pte.split(',');}if(cv!='" ++"'){var cva=s.split(cv,'^^');if(cva[1]!=''){for(var x=0;x<(ela.lengt" ++"h-1);x++){s.events=s.apl(s.events,ela[x]+'='+cva[x],',',2);}}s.even" ++"ts=s.apl(s.events,ela[ela.length-1],',',2);}s.linkTrackEvents=s.apl" ++"(s.linkTrackEvents,s.pte,',',2);s.c_w('s_ptc','',0);if(sessionStora" ++"ge&&navigator.cookieEnabled&&s.ptv!='undefined'){s[s.ptv]=sessionSt" ++"orage.getItem('s_pec');sessionStorage.setItem('s_pec','',0);}else{s" ++"[s.ptv]='sessionStorage Unavailable';}s.ptc=true;"); +/* Remove from Events 0.1 - Performance Specific, +removes all performance events from s.events once being tracked. */ +wb.rfe=new Function("","" ++"var s=this;var ea=s.split(s.events,',');var pta=s.split(s.pte,',');" ++"try{for(x in pta){s.events=s.rfl(s.events,pta[x]);s.contextData['ev" ++"ents']=s.events;}}catch(e){return;}"); +/* Plugin Utility - RFL (remove from list) 1.0*/ +wb.rfl=new Function("l","v","d1","d2","ku","" ++"var s=this,R=new Array(),C='',d1=!d1?',':d1,d2=!d2?',':d2,ku=!ku?0:" ++"1;if(!l)return'';L=l.split(d1);for(i=0;i-1){C=L[i].split(':');C[1]=C[0]+':'+C[1];L[i]=C[0];}if(L[i" ++"].indexOf('=')>-1){C=L[i].split('=');C[1]=C[0]+'='+C[1];L[i]=C[0];}" ++"if(L[i]!=v&&C)R.push(C[1]);else if(L[i]!=v)R.push(L[i]);else if(L[i" ++"]==v&&ku){ku=0;if(C)R.push(C[1]);else R.push(L[i]);}C='';}return s." ++"join(R,{delim:d2})"); + +/*utility function to map language code with language*/ +function langMapping(langCode) { + var mappedLang; + var paramMap = { + 'ab': 'abkhazian', + 'aa': 'afar', + 'af': 'afrikaans', + 'ak': 'akan', + 'sq': 'albanian', + 'am': 'amharic', + 'ar': 'arabic', + 'an': 'aragonese', + 'hy': 'armenian', + 'as': 'assamese', + 'av': 'avaric', + 'ae': 'avestan', + 'ay': 'aymara', + 'az': 'azerbaijani', + 'bm': 'bambara', + 'ba': 'bashkir', + 'eu': 'basque', + 'be': 'belarusian', + 'bn': 'bengali', + 'bh': 'bihari languages', + 'bi': 'bislama', + 'bs': 'bosnian', + 'br': 'breton', + 'bg': 'bulgarian', + 'my': 'burmese', + 'ca': 'catalan', + 'ch': 'chamorro', + 'ce': 'chechen', + 'ny': 'chichewa', + 'zh': 'chinese', + 'cv': 'chuvash', + 'kw': 'cornish', + 'co': 'corsican', + 'cr': 'cree', + 'hr': 'croatian', + 'cs': 'czech', + 'da': 'danish', + 'dv': 'divehi', + 'nl': 'dutch', + 'dz': 'dzongkha', + 'en': 'english', + 'eo': 'esperanto', + 'et': 'estonian', + 'ee': 'ewe', + 'fo': 'faroese', + 'fj': 'fijian', + 'fi': 'finnish', + 'fr': 'french', + 'ff': 'fulah', + 'gl': 'galician', + 'ka': 'georgian', + 'de': 'german', + 'el': 'greek (modern)', + 'gn': 'guaraní', + 'gu': 'gujarati', + 'ht': 'haitian', + 'ha': 'hausa', + 'he': 'hebrew (modern)', + 'hz': 'herero', + 'hi': 'hindi', + 'ho': 'hiri motu', + 'hu': 'hungarian', + 'ia': 'interlingua', + 'id': 'indonesian', + 'ie': 'interlingue', + 'ga': 'irish', + 'ig': 'igbo', + 'ik': 'inupiaq', + 'io': 'ido', + 'is': 'icelandic', + 'it': 'italian', + 'iu': 'inuktitut', + 'ja': 'japanese', + 'jv': 'javanese', + 'kl': 'kalaallisut', + 'kn': 'kannada', + 'kr': 'kanuri', + 'ks': 'kashmiri', + 'kk': 'kazakh', + 'km': 'central khmer', + 'ki': 'kikuyu', + 'rw': 'kinyarwanda', + 'ky': 'kirghiz', + 'kv': 'komi', + 'kg': 'kongo', + 'ko': 'korean', + 'ku': 'kurdish', + 'kj': 'kuanyama', + 'la': 'latin', + 'lb': 'luxembourgish', + 'lg': 'ganda', + 'li': 'limburgan', + 'ln': 'lingala', + 'lo': 'lao', + 'lt': 'lithuanian', + 'lu': 'luba-katanga', + 'lv': 'latvian', + 'gv': 'manx', + 'mk': 'macedonian', + 'mg': 'malagasy', + 'ms': 'malay', + 'ml': 'malayalam', + 'mt': 'maltese', + 'mi': 'maori', + 'mr': 'marathi', + 'mh': 'marshallese', + 'mn': 'mongolian', + 'na': 'nauru', + 'nv': 'navajo', + 'nd': 'north ndebele', + 'ne': 'nepali', + 'ng': 'ndonga', + 'nb': 'norwegian bokmål', + 'nn': 'norwegian nynorsk', + 'no': 'norwegian', + 'ii': 'sichuan yi', + 'nr': 'south ndebele', + 'oc': 'occitan', + 'oj': 'ojibwa', + 'cu': 'church slavic', + 'om': 'oromo', + 'or': 'oriya', + 'os': 'ossetian', + 'pa': 'panjabi', + 'pi': 'pali', + 'fa': 'persian', + 'pl': 'polish', + 'ps': 'pashto', + 'pt': 'portuguese', + 'qu': 'quechua', + 'rm': 'romansh', + 'rn': 'rundi', + 'ro': 'romanian', + 'ru': 'russian', + 'sa': 'sanskrit', + 'sc': 'sardinian', + 'sd': 'sindhi', + 'se': 'northern sami', + 'sm': 'samoan', + 'sg': 'sango', + 'sr': 'serbian', + 'gd': 'gaelic', + 'sn': 'shona', + 'si': 'sinhala', + 'sk': 'slovak', + 'sl': 'slovenian', + 'so': 'somali', + 'st': 'southern sotho', + 'es': 'spanish', + 'su': 'sundanese', + 'sw': 'swahili', + 'ss': 'swati', + 'sv': 'swedish', + 'ta': 'tamil', + 'te': 'telugu', + 'tg': 'tajik', + 'th': 'thai', + 'ti': 'tigrinya', + 'bo': 'tibetan', + 'tk': 'turkmen', + 'tl': 'tagalog', + 'tn': 'tswana', + 'to': 'tonga (tonga islands)', + 'tr': 'turkish', + 'ts': 'tsonga', + 'tt': 'tatar', + 'tw': 'twi', + 'ty': 'tahitian', + 'ug': 'uighur', + 'uk': 'ukrainian', + 'ur': 'urdu', + 'uz': 'uzbek', + 've': 'venda', + 'vi': 'vietnamese', + 'vo': 'volapük', + 'wa': 'walloon', + 'cy': 'welsh', + 'wo': 'wolof', + 'fy': 'western frisian', + 'xh': 'xhosa', + 'yi': 'yiddish', + 'yo': 'yoruba', + 'za': 'zhuang', + 'zu': 'zulu' + + }; + + if(typeof paramMap[langCode] !== "undefined"){ + mappedLang = paramMap[langCode]; + }else{ + mappedLang = langCode; + } + return mappedLang; +} +/* Utility function to map the language name to its language code */ +function langMappingToCodes(language) { + var mappedLang; + var paramMap = { + 'abkhazian': 'ab', + 'afar': 'aa', + 'afrikaans': 'af', + 'akan': 'ak', + 'albanian': 'sq', + 'amharic': 'am', + 'arabic': 'ar', + 'aragonese': 'an', + 'armenian': 'hy', + 'assamese': 'as', + 'avaric': 'av', + 'avestan': 'ae', + 'aymara': 'ay', + 'azerbaijani': 'az', + 'bambara': 'bm', + 'bashkir': 'ba', + 'basque': 'eu', + 'belarusian': 'be', + 'bengali': 'bn', + 'biharilanguages': 'bh', + 'bislama': 'bi', + 'bosnian': 'bs', + 'breton': 'br', + 'bulgarian': 'bg', + 'burmese': 'my', + 'catalan': 'ca', + 'chamorro': 'ch', + 'chechen': 'ce', + 'chichewa': 'ny', + 'chinese': 'zh', + 'chuvash': 'cv', + 'cornish': 'kw', + 'corsican': 'co', + 'cree': 'cr', + 'croatian': 'hr', + 'czech': 'cs', + 'danish': 'da', + 'divehi': 'dv', + 'dutch': 'nl', + 'dzongkha': 'dz', + 'english': 'en', + 'esperanto': 'eo', + 'estonian': 'et', + 'ewe': 'ee', + 'faroese': 'fo', + 'fijian': 'fj', + 'finnish': 'fi', + 'french': 'fr', + 'fulah': 'ff', + 'galician': 'gl', + 'georgian': 'ka', + 'german': 'de', + 'greek(modern)': 'el', + 'guaraní': 'gn', + 'gujarati': 'gu', + 'haitian': 'ht', + 'hausa': 'ha', + 'hebrew(modern)': 'he', + 'herero': 'hz', + 'hindi': 'hi', + 'hirimotu': 'ho', + 'hungarian': 'hu', + 'interlingua': 'ia', + 'indonesian': 'id', + 'interlingue': 'ie', + 'irish': 'ga', + 'igbo': 'ig', + 'inupiaq': 'ik', + 'ido': 'io', + 'icelandic': 'is', + 'italian': 'it', + 'inuktitut': 'iu', + 'japanese': 'ja', + 'javanese': 'jv', + 'kalaallisut': 'kl', + 'kannada': 'kn', + 'kanuri': 'kr', + 'kashmiri': 'ks', + 'kazakh': 'kk', + 'centralkhmer': 'km', + 'kikuyu': 'ki', + 'kinyarwanda': 'rw', + 'kirghiz': 'ky', + 'komi': 'kv', + 'kongo': 'kg', + 'korean': 'ko', + 'kurdish': 'ku', + 'kuanyama': 'kj', + 'latin': 'la', + 'luxembourgish': 'lb', + 'ganda': 'lg', + 'limburgan': 'li', + 'lingala': 'ln', + 'lao': 'lo', + 'lithuanian': 'lt', + 'luba-katanga': 'lu', + 'latvian': 'lv', + 'manx': 'gv', + 'macedonian': 'mk', + 'malagasy': 'mg', + 'malay': 'ms', + 'malayalam': 'ml', + 'maltese': 'mt', + 'maori': 'mi', + 'marathi': 'mr', + 'marshallese': 'mh', + 'mongolian': 'mn', + 'nauru': 'na', + 'navajo': 'nv', + 'northndebele': 'nd', + 'nepali': 'ne', + 'ndonga': 'ng', + 'norwegianbokmål': 'nb', + 'norwegiannynorsk': 'nn', + 'norwegian': 'no', + 'sichuanyi': 'ii', + 'southndebele': 'nr', + 'occitan': 'oc', + 'ojibwa': 'oj', + 'church slavic': 'cu', + 'oromo': 'om', + 'oriya': 'or', + 'ossetian': 'os', + 'panjabi': 'pa', + 'pali': 'pi', + 'persian': 'fa', + 'polish': 'pl', + 'pashto': 'ps', + 'portuguese': 'pt', + 'quechua': 'qu', + 'romansh': 'rm', + 'rundi': 'rn', + 'romanian': 'ro', + 'russian': 'ru', + 'sanskrit': 'sa', + 'sardinian': 'sc', + 'sindhi': 'sd', + 'northernsami': 'se', + 'samoan': 'sm', + 'sango': 'sg', + 'serbian': 'sr', + 'gaelic': 'gd', + 'shona': 'sn', + 'sinhala': 'si', + 'slovak': 'sk', + 'slovenian': 'sl', + 'somali': 'so', + 'southernsotho': 'st', + 'spanish': 'es', + 'sundanese': 'su', + 'swahili': 'sw', + 'swati': 'ss', + 'swedish': 'sv', + 'tamil': 'ta', + 'telugu': 'te', + 'tajik': 'tg', + 'thai': 'th', + 'tigrinya': 'ti', + 'tibetan': 'bo', + 'turkmen': 'tk', + 'tagalog': 'tl', + 'tswana': 'tn', + 'tonga(tongaislands)': 'to', + 'turkish': 'tr', + 'tsonga': 'ts', + 'tatar': 'tt', + 'twi': 'tw', + 'tahitian': 'ty', + 'uighur': 'ug', + 'ukrainian': 'uk', + 'urdu': 'ur', + 'uzbek': 'uz', + 'venda': 've', + 'vietnamese': 'vi', + 'volapük': 'vo', + 'walloon': 'wa', + 'welsh': 'cy', + 'wolof': 'wo', + 'westernfrisian': 'fy', + 'xhosa': 'xh', + 'yiddish': 'yi', + 'yoruba': 'yo', + 'zhuang': 'za', + 'zulu': 'zu' + + }; + + if(typeof paramMap[language] !== "undefined"){ + mappedLang = paramMap[language]; + }else{ + mappedLang = language; + } + return mappedLang; +} + +//function to hash long string to numeric unique code +function hashCodeStr(str) { + try{ + return str.split('').reduce((prevHash, currVal) => + (((prevHash << 5) - prevHash) + currVal.charCodeAt(0))|0, 0); + }catch(e){ + return str.replace(/[^A-Za-z0-9 ]/gi, ''); + } +} + + +/* +===============Plugin section End============ +*/ + + + + +/* + Start ActivityMap Module + + The following module enables ActivityMap tracking in Adobe Analytics. ActivityMap + allows you to view data overlays on your links and content to understand how + users engage with your web site. If you do not intend to use ActivityMap, you + can remove the following block of code from your AppMeasurement.js file. + Additional documentation on how to configure ActivityMap is available at: + https://marketing.adobe.com/resources/help/en_US/analytics/activitymap/getting-started-admins.html +*/ +function AppMeasurement_Module_ActivityMap(f){function g(a,d){var b,c,n;if(a&&d&&(b=e.c[d]||(e.c[d]=d.split(","))))for(n=0;ne.length&&h.substring(0,e.length)==e?h.substring(e.length):"";l=b.contextDataMapping[h];if("string"==typeof l)for(q=l.split(","),s=0;se&&(e=1==a.k&&0e&&(e=0),a.offset=e,0a.c&&(a.c=e),y=a.D,m.name=d,m.ad=a.l,m.length=a.length,m.openTime=new Date,m.openTime.setTime(1E3*a.timestamp),m.offset=a.offset,m.percent=a.e,m.playerName=a.playerName,m.mediaEvent=0>a.g?"OPEN":1==c?"PLAY":2==c?"STOP":3==c?"MONITOR": +4==c?"TRACK":5==c?"COMPLETE":7==c?"CLICK":"CLOSE",2=c||5<=c)&&0<=a.g&&(r=!1,q=s="None",a.g!=e)){h=a.g;h>e&&(h=a.c,h>e&&(h=e));p=u?u.split(","):0;if(0=h)for(n=0;n=g&&(r=!0,n=p.length,m.mediaEvent="MILESTONE",a.p=m.milestone=g);if((p=v?v.split(","):0)&&e>=h)for(n=0;n=g&&(r=!0,n=p.length,m.mediaEvent= +"OFFSET_MILESTONE",a.q=m.offsetMilestone=g)}if(a.L||!f){if(w&&u&&0=c||3==c&&!a.k)a.n+=(1==c||3==c?"S":"E")+Math.floor(e),a.k=3==c?1:c;!r&&0<=a.g&&3>=c&&(t=t?t:0)&&a.a>=t&&(r=!0,m.mediaEvent="SECONDS");a.u=l;a.c=e}if(!c||3>=c&&100<=a.e)2!=a.k&&(a.n+="E"+Math.floor(e)),c=0,q=s="None",m.mediaEvent="CLOSE";7==c&&(r=m.clicked=a.r=!0);if(5==c||b.completeByCloseOffset&&(!c||100<=a.e)&&0=a.length-b.completeCloseOffsetThreshold)r=m.complete=a.complete=!0;l=m.mediaEvent;"MILESTONE"==l?l+="_"+m.milestone:"OFFSET_MILESTONE"==l&&(l+= +"_"+m.offsetMilestone);a.I[l]?m.eventFirstTime=!1:(m.eventFirstTime=!0,a.I[l]=1);m.event=m.mediaEvent;m.timePlayed=a.C;m.segmentNum=a.m;m.segment=a.f;m.segmentLength=a.B;b.monitor&&4!=c&&b.monitor(b.s,m);b.Heartbeat&&b.Heartbeat.enabled&&0<=a.g&&(r=!1);0==c&&b.M(d);r&&a.D==y&&(d={contextData:{}},d.linkTrackVars=q,d.linkTrackEvents=s,d.linkTrackVars||(d.linkTrackVars=""),d.linkTrackEvents||(d.linkTrackEvents=""),b.P(d,a),d.linkTrackVars||(d["!linkTrackVars"]=1),d.linkTrackEvents||(d["!linkTrackEvents"]= +1),b.s.track(d),a.F?(a.m=k,a.f=f,a.A=!0,a.F=!1):0d&&(d=c.currentTime),b.O(e,h,a, +d,c))}),c=function(){b.o(d,1,-1)},e=function(){b.o(d,1,-1)},b.j(d,"play",c),b.j(d,"pause",e),b.j(d,"seeking",e),b.j(d,"seeked",c),b.j(d,"ended",function(){b.o(d,0,-1)}),b.j(d,"timeupdate",c),k=function(){d.paused||d.ended||d.seeking||b.o(d,3,-1);setTimeout(k,1E3)},k())};b.j=function(b,c,e){b.attachEvent?b.attachEvent("on"+c,e):b.addEventListener&&b.addEventListener(c,e,!1)};void 0==b.completeByCloseOffset&&(b.completeByCloseOffset=1);void 0==b.completeCloseOffsetThreshold&&(b.completeCloseOffsetThreshold= +1);b.Heartbeat={};b.N=function(){var d,c;if(b.autoTrack&&(d=b.s.d.getElementsByTagName("VIDEO")))for(c=0;ca.indexOf(b)?a:a.split(b).join(d)};a.escape=function(c){var b,d;if(!c)return c;c=encodeURIComponent(c);for(b=0;7>b;b++)d="+~!*()'".substring(b,b+1),0<=c.indexOf(d)&&(c=a.replace(c,d,"%"+d.charCodeAt(0).toString(16).toUpperCase()));return c};a.unescape=function(c){if(!c)return c;c=0<=c.indexOf("+")?a.replace(c,"+"," "):c;try{return decodeURIComponent(c)}catch(b){}return unescape(c)};a.tb=function(){var c=k.location.hostname,b=a.fpCookieDomainPeriods,d;b||(b=a.cookieDomainPeriods);if(c&&!a.ya&&!/^[0-9.]+$/.test(c)&& +(b=b?parseInt(b):2,b=2d?"":a.unescape(b.substring(d+2+c.length,0>f?b.length:f));return"[[B]]"!=c?c:""};a.c_w=a.cookieWrite=function(c,b,d){var f=a.tb(),e=a.cookieLifetime,g;b=""+b;e=e?(""+e).toUpperCase():"";d&&"SESSION"!=e&&"NONE"!=e&&((g=""!=b?parseInt(e?e:0):-60)? +(d=new Date,d.setTime(d.getTime()+1E3*g)):1==d&&(d=new Date,g=d.getYear(),d.setYear(g+5+(1900>g?1900:0))));return c&&"NONE"!=e?(a.d.cookie=a.escape(c)+"="+a.escape(""!=b?b:"[[B]]")+"; path=/;"+(d&&"SESSION"!=e?" expires="+d.toUTCString()+";":"")+(f?" domain="+f+";":""),a.cookieRead(c)==b):0};a.qb=function(){var c=a.Util.getIeVersion();"number"===typeof c&&10>c&&(a.unsupportedBrowser=!0,a.fb(a,function(){}))};a.fb=function(a,b){for(var d in a)a.hasOwnProperty(d)&&"function"===typeof a[d]&&(a[d]=b)}; +a.L=[];a.ba=function(c,b,d){if(a.za)return 0;a.maxDelay||(a.maxDelay=250);var f=0,e=(new Date).getTime()+a.maxDelay,g=a.d.visibilityState,h=["webkitvisibilitychange","visibilitychange"];g||(g=a.d.webkitVisibilityState);if(g&&"prerender"==g){if(!a.ca)for(a.ca=1,d=0;dc){a.L.unshift(d);setTimeout(a.delayReady,parseInt(a.maxDelay/2));break}a.za=1;a[d.m].apply(a,d.a);a.za=0}};a.setAccount=a.sa=function(c){var b,d;if(!a.ba("setAccount",arguments))if(a.account=c,a.allAccounts)for(b=a.allAccounts.concat(c.split(",")),a.allAccounts=[],b.sort(),d=0;de.indexOf(".contextData."))switch(k=h.substring(0,4),q=h.substring(4),h){case "transactionID":h="xact";break;case "channel":h="ch";break;case "campaign":h="v0";break;default:a.Ga(q)&&("prop"==k?h="c"+q:"eVar"==k?h="v"+q:"list"==k?h="l"+q:"hier"==k&&(h="h"+q,l=l.substring(0,255)))}g+="&"+a.escape(h)+"="+a.escape(l)}}""!=g&&(g+="&."+c)}return g};a.usePostbacks=0;a.wb=function(){var c="",b,d,f,e,g,h,l,k,q="",m="",n=e="";if(a.lightProfileID)b=a.P,(q=a.lightTrackVars)&&(q=","+q+","+a.ga.join(",")+ +",");else{b=a.g;if(a.pe||a.linkType)q=a.linkTrackVars,m=a.linkTrackEvents,a.pe&&(e=a.pe.substring(0,1).toUpperCase()+a.pe.substring(1),a[e]&&(q=a[e].Kb,m=a[e].Jb));q&&(q=","+q+","+a.G.join(",")+",");m&&(m=","+m+",",q&&(q+=",events,"));a.events2&&(n+=(""!=n?",":"")+a.events2)}if(a.visitor&&a.visitor.getCustomerIDs){e=p;if(g=a.visitor.getCustomerIDs())for(d in g)Object.prototype[d]||(f=g[d],"object"==typeof f&&(e||(e={}),f.id&&(e[d+".id"]=f.id),f.authState&&(e[d+".as"]=f.authState)));e&&(c+=a.q("cid", +e))}a.AudienceManagement&&a.AudienceManagement.isReady()&&(c+=a.q("d",a.AudienceManagement.getEventCallConfigParams()));for(d=0;df||0<=e&&f>e||0<=g&&f>g)&&(e=a.protocol&&1f?0:f)+"/":"")+d);return d};a.M=function(c){var b=a.C(c),d,f,e="",g=0;return b&&(d=c.protocol,f=c.onclick,!c.href||"A"!=b&&"AREA"!=b||f&&d&&!(0>d.toLowerCase().indexOf("javascript"))?f?(e=a.replace(a.replace(a.replace(a.replace(""+ +f,"\r",""),"\n",""),"\t","")," ",""),g=2):"INPUT"==b||"SUBMIT"==b?(c.value?e=c.value:c.innerText?e=c.innerText:c.textContent&&(e=c.textContent),g=3):"IMAGE"==b&&c.src&&(e=c.src):e=a.Ca(c),e)?{id:e.substring(0,100),type:g}:0};a.Nb=function(c){for(var b=a.C(c),d=a.M(c);c&&!d&&"BODY"!=b;)if(c=c.parentElement?c.parentElement:c.parentNode)b=a.C(c),d=a.M(c);d&&"BODY"!=b||(c=0);c&&(b=c.onclick?""+c.onclick:"",0<=b.indexOf(".tl(")||0<=b.indexOf(".trackLink("))&&(c=0);return c};a.Eb=function(){var c,b,d=a.linkObject, +f=a.linkType,e=a.linkURL,g,h;a.ha=1;d||(a.ha=0,d=a.clickObject);if(d){c=a.C(d);for(b=a.M(d);d&&!b&&"BODY"!=c;)if(d=d.parentElement?d.parentElement:d.parentNode)c=a.C(d),b=a.M(d);b&&"BODY"!=c||(d=0);if(d&&!a.linkObject){var l=d.onclick?""+d.onclick:"";if(0<=l.indexOf(".tl(")||0<=l.indexOf(".trackLink("))d=0}}else a.ha=1;!e&&d&&(e=a.Ca(d));e&&!a.linkLeaveQueryString&&(g=e.indexOf("?"),0<=g&&(e=e.substring(0,g)));if(!f&&e){var m=0,q=0,n;if(a.trackDownloadLinks&&a.linkDownloadFileTypes)for(l=e.toLowerCase(), +g=l.indexOf("?"),h=l.indexOf("#"),0<=g?0<=h&&hb)return 0}return 1};a.R=function(c,b){var d,f,e,g,h,l;for(d=0;2>d;d++)for(f=0d;d++)for(f=0c.indexOf("-")){for(c=0;16>c;c++)f=Math.floor(Math.random()*f),b+="0123456789ABCDEF".substring(f,f+1),f=Math.floor(Math.random()*e),d+="0123456789ABCDEF".substring(f,f+1),f=e=16;c=b+"-"+d}a.cookieWrite("s_fid",c,1)||(c=0);return c};a.t=a.track=function(c,b){var d,f=new Date,e="s"+Math.floor(f.getTime()/108E5)%10+Math.floor(1E13*Math.random()),g=f.getYear(),g="t="+a.escape(f.getDate()+"/"+f.getMonth()+"/"+(1900>g?g+1900:g)+" "+f.getHours()+":"+f.getMinutes()+":"+f.getSeconds()+ +" "+f.getDay()+" "+f.getTimezoneOffset());a.visitor&&a.visitor.getAuthState&&(a.authState=a.visitor.getAuthState());a.o("_s");a.ab(c)||(b&&a.R(b),c&&(d={},a.Qa(d,0),a.R(c)),a.Bb()&&!a.visitorOptedOut&&(a.analyticsVisitorID||a.marketingCloudVisitorID||(a.fid=a.ub()),a.Eb(),a.usePlugins&&a.doPlugins&&a.doPlugins(a),a.account&&(a.abort||(a.trackOffline&&!a.timestamp&&(a.timestamp=Math.floor(f.getTime()/1E3)),f=k.location,a.pageURL||(a.pageURL=f.href?f.href:f),a.referrer||a.Ra||(f=a.Util.getQueryParam("adobe_mc_ref", +null,null,!0),a.referrer=f||void 0===f?void 0===f?"":f:n.document.referrer),a.Ra=1,a.referrer=a.sb(a.referrer),a.o("_g")),a.xb()&&!a.abort&&(a.visitor&&!a.supplementalDataID&&a.visitor.getSupplementalDataID&&(a.supplementalDataID=a.visitor.getSupplementalDataID("AppMeasurement:"+a._in,a.expectSupplementalData?!1:!0)),a.yb(),g+=a.wb(),a.cb(e,g),a.o("_t"),a.referrer=""))),c&&a.R(d,1));a.abort=a.supplementalDataID=a.timestamp=a.pageURLRest=a.linkObject=a.clickObject=a.linkURL=a.linkName=a.linkType=k.s_objectID= +a.pe=a.pev1=a.pev2=a.pev3=a.e=a.lightProfileID=0};a.ta=[];a.registerPreTrackCallback=function(c){for(var b=[],d=1;da.O&&a.La(a.i),a.ma(500);else{var c=a.lb();if(0=a.offlineThrottleDelay)return 0;c=a.B()-a.Ja;return a.offlineThrottleDelaya.O&&a.La(a.i);a.Z();a.ma(500)};b.onreadystatechange=function(){4==b.readyState&&(200==b.status?b.na():b.Ba())};a.Ja=a.B();if(1==d||2==d){var e=c.indexOf("?");f=c.substring(0,e);e=c.substring(e+1);e=e.replace(/&callback=[a-zA-Z0-9_.\[\]]+/,"");1==d?(b.open("POST",f,!0),b.send(e)):2==d&&(b.open("POST",f),b.send(e))}else if(b.src=c,3==d){if(a.Ha)try{f.removeChild(a.Ha)}catch(g){}f.firstChild?f.insertBefore(b, +f.firstChild):f.appendChild(b);a.Ha=a.A}b.F=setTimeout(function(){b.F&&(b.complete?b.na():(a.trackOffline&&b.abort&&b.abort(),b.Ba()))},5E3);a.ob=c;a.A=k["s_i_"+a.replace(a.account,",","_")]=b;if(a.useForcedLinkTracking&&a.K||a.v)a.forcedLinkTrackingTimeout||(a.forcedLinkTrackingTimeout=250),a.aa=setTimeout(a.Z,a.forcedLinkTrackingTimeout)};a.pb=function(){if(a.ka()&&!(a.Ia>a.O))try{k.localStorage.removeItem(a.ia()),a.Ia=a.B()}catch(c){}};a.La=function(c){if(a.ka()){a.Na();try{k.localStorage.setItem(a.ia(), +k.JSON.stringify(c)),a.O=a.B()}catch(b){}}};a.Na=function(){if(a.trackOffline){if(!a.offlineLimit||0>=a.offlineLimit)a.offlineLimit=10;for(;a.i.length>a.offlineLimit;)a.Aa()}};a.forceOffline=function(){a.ja=!0};a.forceOnline=function(){a.ja=!1};a.ia=function(){return a.offlineFilename+"-"+a.visitorNamespace+a.account};a.B=function(){return(new Date).getTime()};a.Fa=function(a){a=a.toLowerCase();return 0!=a.indexOf("#")&&0!=a.indexOf("about:")&&0!=a.indexOf("opera:")&&0!=a.indexOf("javascript:")?!0: +!1};a.setTagContainer=function(c){var b,d,f;a.Hb=c;for(b=0;b(""+f[b]).indexOf("s_c_il"))&&(c[b]=f[b]);if(d.mmq)for(b=0;be)return g;b=d+b.substring(e+1)+d;if(!f||!(0<=b.indexOf(d+c+d)||0<=b.indexOf(d+c+"="+d))){e=b.indexOf("#");0<=e&&(b=b.substr(0,e)+d);e=b.indexOf(d+c+"=");if(0>e)return g;b=b.substring(e+d.length+c.length+1);e=b.indexOf(d); +0<=e&&(b=b.substring(0,e));0=m;m++)76>m&&(a.g.push("prop"+m),a.P.push("prop"+m)),a.g.push("eVar"+m),a.P.push("eVar"+m),6>m&&a.g.push("hier"+m),4>m&&a.g.push("list"+m);m="pe pev1 pev2 pev3 latitude longitude resolution colorDepth javascriptVersion javaEnabled cookiesEnabled browserWidth browserHeight connectionType homepage pageURLRest marketingCloudOrgID".split(" ");a.g=a.g.concat(m);a.G=a.G.concat(m);a.ssl=0<=k.location.protocol.toLowerCase().indexOf("https");a.charSet="UTF-8";a.contextData={};a.offlineThrottleDelay= +0;a.offlineFilename="AppMeasurement.offline";a.Ja=0;a.ea=0;a.O=0;a.Ia=0;a.linkDownloadFileTypes="exe,zip,wav,mp3,mov,mpg,avi,wmv,pdf,doc,docx,xls,xlsx,ppt,pptx";a.w=k;a.d=k.document;try{if(a.Oa=!1,navigator){var v=navigator.userAgent;if("Microsoft Internet Explorer"==navigator.appName||0<=v.indexOf("MSIE ")||0<=v.indexOf("Trident/")&&0<=v.indexOf("Windows NT 6"))a.Oa=!0}}catch(x){}a.Z=function(){a.aa&&(k.clearTimeout(a.aa),a.aa=p);a.k&&a.K&&a.k.dispatchEvent(a.K);a.v&&("function"==typeof a.v?a.v(): +a.k&&a.k.href&&(a.d.location=a.k.href));a.k=a.K=a.v=0};a.Ma=function(){a.b=a.d.body;a.b?(a.u=function(c){var b,d,f,e,g;if(!(a.d&&a.d.getElementById("cppXYctnr")||c&&c["s_fe_"+a._in])){if(a.wa)if(a.useForcedLinkTracking)a.b.removeEventListener("click",a.u,!1);else{a.b.removeEventListener("click",a.u,!0);a.wa=a.useForcedLinkTracking=0;return}else a.useForcedLinkTracking=0;a.clickObject=c.srcElement?c.srcElement:c.target;try{if(!a.clickObject||a.N&&a.N==a.clickObject||!(a.clickObject.tagName||a.clickObject.parentElement|| +a.clickObject.parentNode))a.clickObject=0;else{var h=a.N=a.clickObject;a.da&&(clearTimeout(a.da),a.da=0);a.da=setTimeout(function(){a.N==h&&(a.N=0)},1E4);f=a.Da();a.track();if(f -1) s.events=s.apl(s.events,"event8",",",2); + + /* Download Tracking */ + var url=s.downloadLinkHandler(); if(url){ + s.prop21 = url.substring(url.lastIndexOf("/")+1,url.length); + s.eVar21 = url; + s.events=s.apl(s.events,"event12",",",2); + s.prop22 = "D=pageName"; + s.prop23 = s.prevPageName; + s.linkTrackVars="prop1,prop4,prop6,prop7,prop10,prop14,prop17,prop21,prop22,prop23,prop24,prop25,prop26,prop27,prop53,prop54,prop57,prop60,prop69,prop70,prop75,eVar4,eVar6,eVar7,eVar12,eVar17,eVar21,eVar23,eVar24,eVar25,eVar26,eVar47,eVar58,products"; + s.linkTrackEvents="event12,event19"; + } + else { + if(s.events.match(/,*?event12\b/)==null) s.prevPageName = s.getPreviousValue(s.pageName,'gpv_p5',''); + } + + s.prop27 = s.getNewRepeat(); + //Determine bounce rate for all visits + s.visitstart=s.getVisitStart('s_vs'); + if(s.visitstart&&s.visitstart==1){ + s.firstPage='firstpage'; + } + s.clickPast(s.firstPage,'event23','event24'); + + /* S_Code version */ + s.prop55 = SCODEVERSION; + + /* Campaign Pathing */ + if(s.campaign) + s.prop61 = 'D=v0+"|"+pageName'; + else + s.prop61 = "D=pageName"; + + /* URL */ + s.eVar75 = "D=g"; + + var tpA = s.getTimeParting('n','-5'); + s.prop59 = tpA[2]; + + s.prop72 = 'D=c53+":"+pageName'; + s.prop73 = 'D=c53+":"+c4+":"+pageName' + s.prop74 = 'D=c53+":"+c4'; + s.prop75 = 'D=g'; + + /*prop to eVar copies */ + s.eVar1="D=c1"; + s.eVar2="D=c15"; + s.eVar4="D=c4"; + s.eVar5="D=c5"; + s.eVar6="D=c6"; + s.eVar7="D=c7"; + s.eVar8="D=c8"; + s.eVar9="D=c9"; + s.eVar12="D=c60"; + s.eVar13="D=c13"; + s.eVar15="D=c2"; + s.eVar16="D=c16"; + s.eVar17="D=c17"; + s.eVar18="D=c18"; + s.eVar19="D=c19"; + s.eVar20="D=c20"; + + s.eVar23="D=c14"; // Section + s.eVar24="D=c24"; + s.eVar25="D=c25"; + s.eVar26="D=c26"; + s.eVar27="D=c71"; // Multimedia type + //s.eVar29=""; // Hold + + s.eVar30="D=pageName"; + + + s.eVar36="D=c27"; // New vs repeat + + s.eVar43 = "D=c59"; // Day of week + + s.eVar50="D=c50"; + s.eVar51="D=c51"; + s.eVar52="D=c52"; + + //s.eVar54 = "D=c54"; + + if(s.prop53) s.eVar53 = "D=c53"; + + s.eVar72 = 'D=c53+":"+pageName'; + s.eVar73 = 'D=c53+":"+c4+":"+pageName' + s.eVar74 = 'D=c53+":"+c4'; + s.eVar75 = 'D=g'; + + /* copy eVars to props */ + s.prop62 = "D=v39"; + if(s.eVar35) { + s.prop63 = "D=v34"; + s.linkTrackVars=s.apl(s.linkTrackVars,"prop63",",",2); + } + + /* Page view count */ + s.events=s.apl(s.events,"event11",",",2); + + /* Engagement Score */ + s.engagementScore = 0; + if(s.events.match(/,*?event13\b/)!=null) s.engagementScore += s.engagementScoreMap['event13']; + if(s.events.match(/,*?event32\b/)!=null) s.engagementScore += s.engagementScoreMap['event32']; + if(s.events.match(/,*?event14\b/)!=null) s.engagementScore += s.engagementScoreMap['event14']; + if(s.events.match(/,*?event33\b/)!=null) s.engagementScore += s.engagementScoreMap['event33']; + if(s.events.match(/,*?event15\b/)!=null) s.engagementScore += s.engagementScoreMap['event15']; + if(s.events.match(/,*?event1\b/)!=null) s.engagementScore += s.engagementScoreMap['event1']; + if(s.events.match(/,*?event2\b/)!=null) s.engagementScore += s.engagementScoreMap['event2']; + if(s.events.match(/,*?event4\b/)!=null) s.engagementScore += s.engagementScoreMap['event4']; + if(s.events.match(/,*?event5\b/)!=null) s.engagementScore += s.engagementScoreMap['event5']; + if(s.events.match(/,*?event6\b/)!=null) s.engagementScore += s.engagementScoreMap['event6']; + if(s.events.match(/,*?event7\b/)!=null) s.engagementScore += s.engagementScoreMap['event7']; + if(s.events.match(/,*?event10\b/)!=null) s.engagementScore += s.engagementScoreMap['event10']; + if(s.events.match(/,*?event11\b/)!=null) s.engagementScore += s.engagementScoreMap['event11']; + if(s.events.match(/,*?event12\b/)!=null) s.engagementScore += s.engagementScoreMap['event12']; + if(s.events.match(/,*?event18\b/)!=null) s.engagementScore += s.engagementScoreMap['event18']; + //if(s.events.match(/,*?event20\b/)!=null) s.engagementScore += s.engagementScoreMap['event20']; + //if(s.events.match(/,*?event22\b/)!=null) s.engagementScore += s.engagementScoreMap['event22']; + //if(s.events.match(/,*?event23\b/)!=null) s.engagementScore += s.engagementScoreMap['event23']; + //if(s.events.match(/,*?event24\b/)!=null) s.engagementScore += s.engagementScoreMap['event24']; + + + if(s.events.match(/,*?event11\b/)!=null){ + if(s.linkTrackEvents.match(/,*?event11\b/) == null) + if(s.linkTrackEvents != "event19") s.engagementScore--; + } + s.eVar47 = "+"+s.engagementScore; + s.products = ";;;;event19="+s.engagementScore; + s.events=s.apl(s.events,"event19",",",2); + s.linkTrackVars=s.apl(s.linkTrackVars,"events",",",2); + s.linkTrackVars=s.apl(s.linkTrackVars,"products",",",2); + s.linkTrackVars=s.apl(s.linkTrackVars,"evar47",",",2); + s.linkTrackEvents=s.apl(s.linkTrackEvents,"event19",",",2); + + /* event List ContextData */ + s.contextData['eventList'] = s.events; + s.linkTrackVars=s.apl(s.linkTrackVars,"contextData.eventList",",",2); + +} +s.doPlugins=s_doPlugins; + + + +/* PLUGINS */ +/* + * Plugin: getNewRepeat 1.2 - Returns whether user is new or repeat + */ +s.getNewRepeat=new Function("d","cn","" ++"var s=this,e=new Date(),cval,sval,ct=e.getTime();d=d?d:30;cn=cn?cn:" ++"'s_nr';e.setTime(ct+d*24*60*60*1000);cval=s.c_r(cn);if(cval.length=" ++"=0){s.c_w(cn,ct+'-New',e);return'New';}sval=s.split(cval,'-');if(ct" ++"-sval[0]<30*60*1000&&sval[1]=='New'){s.c_w(cn,ct+'-New',e);return'N" ++"ew';}else{s.c_w(cn,ct+'-Repeat',e);return'Repeat';}"); + +/* + * Utility Function: split v1.5 (JS 1.0 compatible) + */ +s.split=new Function("l","d","" ++"var i,x=0,a=new Array;while(l){i=l.indexOf(d);i=i>-1?i:l.length;a[x" ++"++]=l.substring(0,i);l=l.substring(i+d.length);}return a"); + +/* + * Plugin: getVisitStart v2.0 - returns 1 on first page of visit + * otherwise 0 + */ +s.getVisitStart=new Function("c","" ++"var s=this,v=1,t=new Date;t.setTime(t.getTime()+1800000);if(s.c_r(c" ++")){v=0}if(!s.c_w(c,1,t)){s.c_w(c,1,0)}if(!s.c_r(c)){v=0}return v;"); + +/* +* Plugin: clickPast - version 1.0 +*/ +s.clickPast=new Function("scp","ct_ev","cp_ev","cpc","" ++"var s=this,scp,ct_ev,cp_ev,cpc,ev,tct;if(s.p_fo(ct_ev)==1){if(!cpc)" ++"{cpc='s_cpc';}ev=s.events?s.events+',':'';if(scp){s.events=ev+ct_ev" ++";s.c_w(cpc,1,0);}else{if(s.c_r(cpc)>=1){s.events=ev+cp_ev;s.c_w(cpc" ++",0,0);}}}"); + +s.p_fo=new Function("n","" ++"var s=this;if(!s.__fo){s.__fo=new Object;}if(!s.__fo[n]){s.__fo[n]=" ++"new Object;return 1;}else {return 0;}"); + +/* + * Plugin Utility: apl v1.1 + */ +s.apl=new Function("l","v","d","u","" ++"var s=this,m=0;if(!l)l='';if(u){var i,n,a=s.split(l,d);for(i=0;i-1?t.substring(0,t.indexOf('#')):t;}if(t)v+=v?d+t:t;p=p.substrin" ++"g(i==p.length?i:i+1)}return v"); +s.p_gpv=new Function("k","u","h","" ++"var s=this,v='',q;j=h==1?'#':'?';i=u.indexOf(j);if(k&&i>-1){q=u.sub" ++"string(i+1);v=s.pt(q,'&','p_gvf',k)}return v"); +s.p_gvf=new Function("t","k","" ++"if(t){var s=this,i=t.indexOf('='),p=i<0?t:t.substring(0,i),v=i<0?'T" ++"rue':t.substring(i+1);if(p.toLowerCase()==k.toLowerCase())return s." ++"epa(v)}return''"); + +/* + * Plugin: getTimeParting 3.3 + */ +s.getTimeParting=new Function("h","z","" ++"var s=this,od;od=new Date('1/1/2000');if(od.getDay()!=6||od.getMont" ++"h()!=0){return'Data Not Available';}else{var H,M,D,W,U,ds,de,tm,tt," ++"da=['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Sa" ++"turday'],d=new Date(),a=[];z=z?z:0;z=parseFloat(z);if(s._tpDST){var" ++" dso=s._tpDST[d.getFullYear()].split(/,/);ds=new Date(dso[0]+'/'+d." ++"getFullYear());de=new Date(dso[1]+'/'+d.getFullYear());if(h=='n'&&d" ++">ds&&dde||d=12){U='PM';H=H-12;}if(H==0){H=12;}if(D==6||D==0){W='Wee" ++"kend';}D=da[D];tm=H+':'+M+U;tt=H+':'+((M>30)?'30':'00')+U;a=[tm,tt," ++"D,W];return a;}"); + +/* + * Plugin: linkHandler 0.8 - identify and report custom links + */ +s.linkHandler=new Function("p","t","e","" ++"var s=this,o=s.p_gh(),h=o.href,i,l;t=t?t:'o';if(!h||(s.linkType&&(h" ++"||s.linkName)))return'';i=h.indexOf('?');h=s.linkLeaveQueryString||" ++"i<0?h:h.substring(0,i);l=s.pt(p,'|','p_gn',h.toLowerCase());if(l){s" ++".linkName=l=='[['?'':l;s.linkType=t;return e?o:h;}return'';"); +s.p_gh=new Function("","" ++"var s=this;if(!s.eo&&!s.lnk)return'';var o=s.eo?s.eo:s.lnk,y=s.ot(o" ++"),n=s.oid(o),x=o.s_oidt;if(s.eo&&o==s.eo){while(o&&!n&&y!='BODY'){o" ++"=o.parentElement?o.parentElement:o.parentNode;if(!o)return'';y=s.ot" ++"(o);n=s.oid(o);x=o.s_oidt;}}return o?o:'';"); +s.p_gn=new Function("t","h","" ++"var i=t?t.indexOf('~'):-1,n,x;if(t&&h){n=i<0?'':t.substring(0,i);x=" ++"t.substring(i+1);if(h.indexOf(x.toLowerCase())>-1)return n?n:'[[';}" ++"return 0;"); + +/* + * Utility manageVars v1.4 - clear variable values (requires split 1.5) + */ +s.manageVars=new Function("c","l","f","" ++"var s=this,vl,la,vla;l=l?l:'';f=f?f:1 ;if(!s[c])return false;vl='pa" ++"geName,purchaseID,channel,server,pageType,campaign,state,zip,events" ++",products,transactionID';for(var n=1;n<76;n++){vl+=',prop'+n+',eVar" ++"'+n+',hier'+n;}if(l&&(f==1||f==2)){if(f==1){vl=l;}if(f==2){la=s.spl" ++"it(l,',');vla=s.split(vl,',');vl='';for(x in la){for(y in vla){if(l" ++"a[x]==vla[y]){vla[y]='';}}}for(y in vla){vl+=vla[y]?','+vla[y]:'';}" ++"}s.pt(vl,',',c,0);return true;}else if(l==''&&f==1){s.pt(vl,',',c,0" ++");return true;}else{return false;}"); +s.clearVars=new Function("t","var s=this;s[t]='';"); +s.lowercaseVars=new Function("t","" ++"var s=this;if(s[t]&&t!='events'){s[t]=s[t].toString();if(s[t].index" ++"Of('D=')!=0){s[t]=s[t].toLowerCase();}}"); + +/* + * channelManager v2.85 - Tracking External Traffic + */ +s.channelManager=new Function("a","b","c","d","e","f","g","" ++"var s=this,h=new Date,i=0,j,k,l,m,n,o,p,q,r,t,u,v,w,x,y,z,A,B,C,D,E" ++",F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T;h.setTime(h.getTime()+1800000);if(e)" ++"{i=1;if(s.c_r(e))i=0;if(!s.c_w(e,1,h))s.c_w(e,1,0);if(!s.c_r(e))i=0" ++";if(f&&s.c_r('s_tbm'+f))i=0;}j=s.referrer?s.referrer:document.refer" ++"rer;j=unescape(j.toLowerCase());if(!j)k=1;else {l=j.indexOf('?')>-1" ++"?j.indexOf('?'):j.length;m=j.substring(0,l);n=s.split(j,'/');n=s.sp" ++"lit(n[2],'?');o=n[0].toLowerCase();p=s.linkInternalFilters.toLowerC" ++"ase();p=s.split(p,',');for(q=0;q'+s._extraSearchEngines;if(d==1){m=s.repl(m,'oogle'," ++"'%');m=s.repl(m,'ahoo','^');j=s.repl(j,'as_q','*');}y=s.split(x,'>'" ++");for(z=0;z-1){if(A[2])E=v=A" ++"[2];else E=o;if(d==1){E=s.repl(E,'#',' - ');j=s.repl(j,'*','as_q');" ++"E=s.repl(E,'^','ahoo');E=s.repl(E,'%','oogle');}F=s.split(A[1],',')" ++";for(G=0;G-1||j.indexOf('http" ++"s://www.google.')==0||j.indexOf('http://r.search.yahoo.com')==0)H=1" ++";I=s.getQueryParam(F[G],'',j).toLowerCase();if(H||I)break;}}if(H||I" ++")break;}if(H||I)break;}}if(!r||g!='1'){J=s.split(a,',');K=0;while(!" ++"T&&K');for(L=0;L-1){w=M[0];break;}}if(R>-1)break;}}" ++"J=s._channelParameter;if(J){K=s.split(J,'>');for(L=0;L');for(L=0;Lyahoo.com,yahoo.co.jp|p,va|Yahoo!>bing.com|q|Bing>altavista." ++"co,altavista.de|q,r|AltaVista>.aol.,suche.aolsvc.de|q,query|AOL>ask" ++".jp,ask.co|q,ask|Ask>www.baidu.com|wd|Baidu>daum.net,search.daum.ne" ++"t|q|Daum>icqit.com|q|icq>myway.com|searchfor|MyWay.com>naver.com,se" ++"arch.naver.com|query|Naver>netscape.com|query,search|Netscape Searc" ++"h>reference.com|q|Reference.com>seznam|w|Seznam.cz>abcsok.no|q|Star" ++"tsiden>tiscali.it,www.tiscali.co.uk|key,query|Tiscali>virgilio.it|q" ++"s|Virgilio>yandex|text|Yandex.ru>search.cnn.com|query|CNN Web Searc" ++"h>search.earthlink.net|q|Earthlink Search>search.comcast.net|q|Comc" ++"ast Search>search.rr.com|qs|RoadRunner Search>optimum.net|q|Optimum" ++" Search"; +s._channelDomain='Social Networks|google.co.jp,plus.url.google.com,google.ru,answers.yahoo.com,163.com,alexa.com,ameba.jp,anonymouse.org,appspot.com,archive.org,blogspot.com,blogspot.com.ar,blogspot.com.au,blogspot.com.br,blogspot.com.es,blogspot.com.tr,cafemom.com,care2.com,cloob.com,cyworld.co.kr,dailymotion.com,daum.net,delicious.com,deviantart.com,digg.com,diigo.com,disqus.com,doubleclick.net,draugiem.lv,facebook.com,fc2.com,feedly.com,flickr.com,foursquare.com,friendfeed.com,friendsreunited.com,gaiaonline.com,goodreads.com,gvirabi.com,hatena.ne.jp,hi5.com,ibibo.com,identi.ca,iwiw.hu,kaixin001.com,kakaku.com,kompas.com,kproxy.com,linkedin.com,livejournal.com,meetup.com,mixi.jp,mumsnet.com,myspace.com,naver.jp,netlog.com,netvibes.com,nicovideo.jp,ning.com,odnoklassniki.ru,orkut.com,orkut.com.br,pinterest.com,plurk.com,qq.com,ranksignals.com,reddit.com,renren.com,saveinter.net,seesaa.jp,semrush.com,skyrock.com,slideshare.net,sohu.com,sonico.com,squider.org,stumbleupon.com,t.co,tagged.com,taringa.net,topsy.com,tsinghua.edu.cn,tuenti.com,tumblr.com,twitter.com,unc.edu,up.ac.za,viadeo.com,vimeo.com,vk.com,vox.com,wayn.com,webwarper.net,weibo.com,woorank.com,wordpress.com,xing.com,yammer.com,yelp.com,yelp.com.au,youtube.com,yuku.com>Search Engines|google.com,google.co.uk,google.com.mx,google.co.in,google.fr,google.ca,google.com.co,google.es,google.com.au,bing.com,google.com.ph,google.de,google.com.pe,google.com.ar,google.com.pk,google.com.hk,google.co.jp,google.co.za,google.com.vn,google.com.sg,google.com.br,google.it,google.nl,google.com.tr,google.cl,google.com.ec,google.ru,google.co.th,yahoo.com,google.be,google.ch,google.com.eg,google.co.ve,baidu.com,google.com.ng,google.com.bd,google.ae,google.com.my,google.com.sa,google.co.kr,google.pl,ask.com,google.se,google.com.gt,google.co.ke,google.lk,yahoo.co.jp,google.com.ua,google.co.nz,google.dk,google.ro,google.pt,google.com.do,google.com.bo,google.com.tw,google.ie,google.com.sv,google.tn,google.at,google.com.gh,google.com.et,google.co.tz,google.com.np,google.gr,google.dz,google.cz,google.hn,google.com.kh,google.no,google.sn,google.co.il,google.co.id,yandex.ru,google.co.cr,mywebsearch.com,google.com.uy,google.fi,google.com.ni,google.jo,google.com.jm,google.hu,google.mn,google.ci,google.tt,google.bg,google.co.zw,google.lt,google.hr,google.cm,google.rs,google.mu,avg.com,google.kz,google.co.ma,google.co.zm,google.sk,google.com.pr,google.rw,google.com.py,google.com.lb,google.iq,google.ps,google.ba,google.lv,google.mg,naver.com,google.ge,google.am,google.si,google.md,google.com.af,google.co.bw,so.360.cn,google.az,google.ht,google.com.qa,google.la,google.com.bh,google.com.na,google.com.kw,google.ee,google.cd,google.by,search-results.com,google.lu,google.co.ug,aol.com,google.com.ly,google.co.mz,google.com.mt,sogou.com,google.bj,google.com.mm,google.tg,google.com.bn,google.co.ls,google.gy,google.mv,google.com.cy,google.com.pg,mail.ru,google.bi,google.ml,google.is,so.com,google.bs,google.com.bz,google.com.sl,google.me,google.com.om,daum.net,google.com.pa,google.gm,google.com.vc,google.dj,comcast.net,google.com.cu,google.kg,google.com.tj,google.co.uz,google.cg,google.com.ag,google.dm,yandex.ua,dogpile.com,google.mw,google.gp,google.com.sb,google.sc,yandex.com.tr,google.ws,google.cat,docomo.ne.jp,reference.com,yandex.by,yandex.kz,rambler.ru,google.to,google.com.fj,goo.ne.jp,google.as,biglobe.ne.jp,google.vg,soso.com,google.com.ai,blekko.com,google.st,seznam.cz,google.li,rakuten.co.jp,websiteforever.com,earthlink.net,google.co.ao,startpagina.nl,nifty.com,google.com.gi,recherche.aol.fr,auone.jp,google.fm,youdao.com,google.co.vi,virgilio.it,fenrir-inc.com,yandex.com,google.ki,google.com.iq,chatzum.com,voila.fr,libero.it,fmworld.net,kvasir.no,ocn.ne.jp,google.co.ck,uol.com.br,icq.com,webalta.ru,sony.jp,sensis.com.au,google.im,myway.com,google.tm,google.com.tn,suche.aol.de,harvard.edu,google.sh,suche.web.de,google.vu,google.gl,library.uu.nl,zensearch.com,googlesyndication.com,search.aol.ca,toile.com,auckland.ac.nz,lycos.com,up.ac.za,virginia.edu,georgetown.edu,uct.ac.za,centrum.cz,rmit.edu.au,walla.co.il,myjcom.jp,aol.co.uk,google.gg,usyd.edu.au,eniro.se,excite.co.jp,google.je,yandex.net,searchalot.com,mq.edu.au,sci-hub.org,monash.edu.au,adelaide.edu.au,unimelb.edu.au,zhongsou.com,liv.ac.uk,uts.edu.au,unc.edu,umn.edu,massey.ac.nz,library.wur.nl,google.nr,wrlc.org,google.tk,so-net.ne.jp,wisc.edu,columbia.edu,queensu.ca,uwc.ac.za,thefreedictionary.com,nwu.ac.za,proxy-ub.rug.nl,mcmaster.ca,teoma.com,umich.edu,korea.ac.kr,asu.edu,unimaas.nl,terra.es,luna.tv,lib.sfu.ca,indiana.edu,fjernadgang.kb.dk,flinders.edu.au,oclc.org,polyu.edu.hk,msn.com,sixxs.org,usc.edu,google.ms,seals.ac.za,google.nu,jcu.edu.au,uvic.ca,ukzn.ac.za,vinden.nl,uq.edu.au,umanitoba.ca,ixquick.com,sfsu.edu,nd.edu,yorku.ca,usf.edu,aut.ac.nz,arizona.edu,google.cn,wustl.edu,unisa.edu.au,kent.ac.uk,pdx.edu,une.edu.au,duke.edu,nova.edu,cuny.edu,google.sm,bu.edu,umuc.edu,lincoln.ac.nz,timbo.org.uy,o2suche.aol.de,ucsc.edu,umass.edu,bath.ac.uk,ubn.ru.nl,panguso.com,library.ubc.ca,anonymouse.org,swin.edu.au,washington.edu,lycos.fr,live.com,proxy.mah.se,royalroads.ca,cambridge.org,wits.ac.za,fireball.de,uga.edu,isearchinfo.com,vodafone.in,uwinnipeg.ca,snu.ac.kr,hawaii.edu,csu.edu.au,clemson.edu,idrc.ca,lub.lu.se,uws.edu.au,7search.com,lib.uwo.ca,sun.ac.za,ucl.ac.uk,iastate.edu,lib.ul.ie,umd.edu,ucalgary.ca,library.dal.ca,shu.ac.uk,spu.edu,bluewin.ch,utexas.edu,aolrecherche.aol.fr,livedoor.com,ucsb.edu,baidu.jp,zdroje.vse.cz,uconn.edu,otago.ac.nz,sfasu.edu,student.hig.se,lycos.co.uk,newschool.edu,hispavista.com,tufts.edu,tamu.edu,marmara-elibrary.com,tmc.edu,baidu.com.cn,anu.edu.au,chinaso.com,nate.com,vanderbilt.edu,ezproxy.hec.fr,conexcol.com,utsa.edu,acu.edu.au,myunion.edu,delta-search.com,utoronto.ca,libproxy.cbu.ca,apollolibrary.com,capella.edu,wayne.edu,rutgers.edu,zoeken.nl,up.edu,macmillandictionary.com,ohio-state.edu,vuw.ac.nz,ku.edu,yonsei.ac.kr,trentu.ca,cornell.edu,utah.edu,shef.ac.uk,umdnj.edu,emory.edu,idc.ac.il,urbandictionary.com,5ask.com,oakland.edu,murdoch.edu.au,usfca.edu,norwich.edu,essec.fr,cuni.cz,google.com.by,uchicago.edu,albany.edu,google.pn,jianso.com,bing.com.cn,kobson.nb.rs,uni-lj.si,uni-muenchen.de,regis.edu,dictionaryofeconomics.com,nau.edu,lycos.es,waseda.ac.jp,lehigh.edu,fullerton.edu,uwaterloo.ca,wku.edu,uic.edu,lycos.com.mx,google.com.nf,yzu.edu.tw,library.bi.no,uark.edu,tau.ac.il,ua.edu,cau.ac.kr,naver.net,bib.mdh.se,altavista.com,ufl.edu,citypopulation.de,kaist.ac.kr,msu.edu,sub.su.se,bibproxy.du.se,carleton.ca,bham.ac.uk,bangor.ac.uk,calpoly.edu,nokia.com,csuchico.edu,iwon.com,binghamton.edu,colman.ac.il,uni-goettingen.de,brandeis.edu,athensams.net,capilanou.ca,google.com.ve,regent.edu,vt.edu,lsu.edu,ualberta.ca,helsinki.fi,sage.edu,3145.com,unblocksit.es,proxy.lnu.se,acadiau.ca,afrogoogle.com,portal.ttu.ee,mcgill.ca,wncln.org,flyproxy.com,ou.edu,bentley.edu,csueastbay.edu,umb.edu,khu.ac.kr,calstate.edu,rice.edu,ung.edu,fiu.edu,umkc.edu,sc.edu,369pet.com,brown.edu,googleadservices.com,lib.cas.cz,my-addr.org,uludag.edu.tr,alliant.edu,hofstra.edu,tiscali.it,metasuche.ch,usask.ca,linyanti.ub.bw,london.edu,ezproxy.uis.no,keio.ac.jp,temple.edu,radford.edu,uottawa.ca,shimane-u.ac.jp,miun.se,biblextern.sh.se,waikato.ac.nz,langreiter.com,lycos.com.co,tjpjjg.com,uvm.edu,archive.org,unm.edu,pva.uib.no,sndl1.arn.dz,netscape.com,lycos.com.ar,brocku.ca,utk.edu'; + +/* Add metrics event */ +s.addMetricsEvent=function(elem, eventName, func) { + if (elem) { + if (elem.addEventListener) + elem.addEventListener(eventName, func, true); + else if (elem.attachEvent) + elem.attachEvent("on" + eventName, func); + else + elem["on" + eventName] = func; + } +}; + + +/* custom download for a particular scenario */ + try{ + var allLinks = document.getElementsByTagName('a'); + for (var i=allLinks.length-1; i>=0; i--) { + if(allLinks[i].getAttribute('href').indexOf("pubdocs.worldbank.org/pubdocs/genericServlet") > -1){ + s.addMetricsEvent(allLinks[i],"click",function(){s.events=s.apl(s.events,"event12",",",2);s.prop21=this.href.substring(this.href.lastIndexOf("/")+1,this.href.length);s.eVar21=this.href;s.prop22 = "D=pageName";s.prop23 = s.prevPageName;s.linkTrackVars="prop1,prop4,prop6,prop7,prop10,prop14,prop17,prop21,prop22,prop23,prop24,prop25,prop26,prop27,prop53,prop54,prop57,prop60,prop69,prop70,prop75,eVar4,eVar6,eVar7,eVar12,eVar17,eVar21,eVar23,eVar24,eVar25,eVar26,eVar47,eVar58,products";s.linkTrackEvents="event19,event12";s.tl(this,'d',this.href)}); + } + } + } catch(e){} + + + +/****************************** MODULES *****************************/ +/* Module: Media */ +s.m_Media_c="var m=s.m_i('Media');if(m.completeByCloseOffset==undefined)m.completeByCloseOffset=1;if(m.completeCloseOffsetThreshold==undefined)m.completeCloseOffsetThreshold=1;m.cn=function(n){var m=" ++"this;return m.s.rep(m.s.rep(m.s.rep(n,\"\\n\",''),\"\\r\",''),'--**--','')};m.open=function(n,l,p,b){var m=this,i=new Object,tm=new Date,a='',x;n=m.cn(n);if(!l)l=-1;if(n&&p){if(!m.l)m.l=new Object;" ++"if(m.l[n])m.close(n);if(b&&b.id)a=b.id;if(a)for (x in m.l)if(m.l[x]&&m.l[x].a==a)m.close(m.l[x].n);i.n=n;i.l=l;i.o=0;i.x=0;i.p=m.cn(m.playerName?m.playerName:p);i.a=a;i.t=0;i.ts=0;i.s=Math.floor(tm" ++".getTime()/1000);i.lx=0;i.lt=i.s;i.lo=0;i.e='';i.to=-1;i.tc=0;i.fel=new Object;i.vt=0;i.sn=0;i.sx=\"\";i.sl=0;i.sg=0;i.sc=0;i.us=0;i.ad=0;i.adpn;i.adpp;i.adppp;i.clk;i.CPM;i.co=0;i.cot=0;i.lm=0;i.l" ++"om=0;m.l[n]=i}};m.openAd=function(n,l,p,pn,pp,ppp,CPM,b){var m=this,i=new Object;n=m.cn(n);m.open(n,l,p,b);i=m.l[n];if(i){i.ad=1;i.adpn=m.cn(pn);i.adpp=pp;i.adppp=ppp;i.CPM=CPM}};m._delete=function" ++"(n){var m=this,i;n=m.cn(n);i=m.l[n];m.l[n]=0;if(i&&i.m)clearTimeout(i.m.i)};m.close=function(n){this.e(n,0,-1)};m.play=function(n,o,sn,sx,sl){var m=this,i;i=m.e(n,1,o,sn,sx,sl);if(i&&!i.m){i.m=new " ++"Object;i.m.m=new Function('var m=s_c_il['+m._in+'],i;if(m.l){i=m.l[\"'+m.s.rep(i.n,'\"','\\\\\"')+'\"];if(i){if(i.lx==1)m.e(i.n,3,-1);i.m.i=setTimeout(i.m.m,1000)}}');i.m.m()}};m.click=function(n,o" ++"){this.e(n,7,o)};m.complete=function(n,o){this.e(n,5,o)};m.stop=function(n,o){this.e(n,2,o)};m.track=function(n){this.e(n,4,-1)};m.bcd=function(vo,i){var m=this,ns='a.media.',v=vo.linkTrackVars,e=v" ++"o.linkTrackEvents,pe='m_i',pev3,c=vo.contextData,x;if(i.ad){ns+='ad.';if(i.adpn){c['a.media.name']=i.adpn;c[ns+'pod']=i.adpp;c[ns+'podPosition']=i.adppp;}if(!i.vt)c[ns+'CPM']=i.CPM;}if (i.clk) {c[n" ++"s+'clicked']=true;i.clk=0}c['a.contentType']='video'+(i.ad?'Ad':'');c['a.media.channel']=m.channel;c[ns+'name']=i.n;c[ns+'playerName']=i.p;if(i.l>0)c[ns+'length']=i.l;if(Math.floor(i.ts)>0)c[ns+'ti" ++"mePlayed']=Math.floor(i.ts);if(!i.vt){c[ns+'view']=true;pe='m_s';i.vt=1}if(i.sx){c[ns+'segmentNum']=i.sn;c[ns+'segment']=i.sx;if(i.sl>0)c[ns+'segmentLength']=i.sl;if(i.sc&&i.ts>0)c[ns+'segmentView'" ++"]=true}if(!i.cot&&i.co){c[ns+\"complete\"]=true;i.cot=1}if(i.lm>0)c[ns+'milestone']=i.lm;if(i.lom>0)c[ns+'offsetMilestone']=i.lom;if(v)for(x in c)v+=',contextData.'+x;pev3=c['a.contentType'];vo.pe=" ++"pe;vo.pev3=pev3;var d=m.contextDataMapping,y,a,l,n;if(d){vo.events2='';if(v)v+=',events';for(x in d){if(x.substring(0,ns.length)==ns)y=x.substring(ns.length);else y=\"\";a=d[x];if(typeof(a)=='strin" ++"g'){l=m.s.sp(a,',');for(n=0;n0?i.l:1)+d+m.s.ape(i.p)+d+Math.floor(i.t)+d+i.s+d+(i.to>=0?'L'+Math.floor(i.to):'')+i.e+(x!=0&&x!" ++"=2?'L'+Math.floor(o):'');vo.pe=pe;vo.pev3=pev3};m.e=function(n,x,o,sn,sx,sl,pd){var m=this,i,tm=new Date,ts=Math.floor(tm.getTime()/1000),c,l,v=m.trackVars,e=m.trackEvents,ti=m.trackSeconds,tp=m.tr" ++"ackMilestones,to=m.trackOffsetMilestones,sm=m.segmentByMilestones,so=m.segmentByOffsetMilestones,z=new Array,j,t=1,w=new Object,x,ek,tc,vo=new Object;if(!m.channel)m.channel=m.s.wd.location.hostnam" ++"e;n=m.cn(n);i=n&&m.l&&m.l[n]?m.l[n]:0;if(i){if(i.ad){ti=m.adTrackSeconds;tp=m.adTrackMilestones;to=m.adTrackOffsetMilestones;sm=m.adSegmentByMilestones;so=m.adSegmentByOffsetMilestones}if(o<0){if(i" ++".lx==1&&i.lt>0)o=(ts-i.lt)+i.lo;else o=i.lo}if(i.l>0)o=o0){i.x=(i.o/i.l)*100;i.x=i.x>100?100:i.x}if(i.lo<0)i.lo=o;tc=i.tc;w.name=n;w.ad=i.ad;w.length=i.l;w.openTi" ++"me=new Date;w.openTime.setTime(i.s*1000);w.offset=i.o;w.percent=i.x;w.playerName=i.p;if(i.to<0)w.mediaEvent=w.event='OPEN';else w.mediaEvent=w.event=(x==1?'PLAY':(x==2?'STOP':(x==3?'MONITOR':(x==4?" ++"'TRACK':(x==5?'COMPLETE':(x==7?'CLICK':('CLOSE')))))));if(!pd){if(i.pd)pd=i.pd}else i.pd=pd;w.player=pd;if(x>2||(x!=i.lx&&(x!=2||i.lx==1))) {if(!sx){sn=i.sn;sx=i.sx;sl=i.sl}if(x){if(x==1)i.lo=o;if(" ++"(x<=3||x>=5)&&i.to>=0){t=0;v=e=\"None\";if(i.to!=o){l=i.to;if(l>o){l=i.lo;if(l>o)l=o}z=tp?m.s.sp(tp,','):0;if(i.l>0&&z&&o>=l)for(j=0;j=c){t=1;j=z.length;w.mediaEvent=w.event='MILESTONE';i.lm=w.milestone=c}}z=to?m.s.sp(to,','):0;if(z&&o>=l)for(j=0;j=c){t=1;j=z.length;w" ++".mediaEvent=w.event='OFFSET_MILESTONE';i.lom=w.offsetMilestone=c}}}}if(i.sg||!sx){if(sm&&tp&&i.l>0){z=m.s.sp(tp,',');if(z){z[z.length]='100';l=0;for(j=0;j0?i.l:'E');l=0;for(j=0;j=0)t=1}if((x>=2||i.x>=100)&&i.lo=0&&x<=3){ti=ti?ti:0;if(ti&&i.ts>=ti){t=1;w.mediaEvent=w.event='SECONDS'}}i.lt=ts;i.lo=o}if(!x||(" ++"x<=3&&i.x>=100)){if(i.lx!=2)i.e+='E'+Math.floor(o);x=0;v=e=\"None\";w.mediaEvent=w.event=\"CLOSE\"}if(x==7){w.clicked=i.clk=1;t=1}if(x==5||(m.completeByCloseOffset&&(!x||i.x>=100)&&i.l>0&&o>=i.l-m." ++"completeCloseOffsetThreshold)){w.complete=i.co=1;t=1}ek=w.mediaEvent;if(ek=='MILESTONE')ek+='_'+w.milestone;else if(ek=='OFFSET_MILESTONE')ek+='_'+w.offsetMilestone;if(!i.fel[ek]) {w.eventFirstTime" ++"=true;i.fel[ek]=1}else w.eventFirstTime=false;w.timePlayed=i.t;w.segmentNum=i.sn;w.segment=i.sx;w.segmentLength=i.sl;if(m.monitor&&x!=4)m.monitor(m.s,w);if(x==0)m._delete(n);if(t&&i.tc==tc){vo=new " ++"Object;vo.contextData=new Object;vo.linkTrackVars=v;vo.linkTrackEvents=e;if(!vo.linkTrackVars)vo.linkTrackVars='';if(!vo.linkTrackEvents)vo.linkTrackEvents='';if(m.trackUsingContextData)m.bcd(vo,i)" ++";else m.bpe(vo,i,x,o);m.s.t(vo);if(i.us){i.sn=sn;i.sx=sx;i.sc=1;i.us=0}else if(i.ts>0)i.sc=0;i.e=\"\";i.lm=i.lom=0;i.ts-=Math.floor(i.ts);i.to=o;i.tc++}}}return i};m.ae=function(n,l,p,x,o,sn,sx,sl," ++"pd,b){var m=this,r=0;if(n&&(!m.autoTrackMediaLengthRequired||(length&&length>0)) &&p){if(!m.l||!m.l[n]){if(x==1||x==3){m.open(n,l,p,b);r=1}}else r=1;if(r)m.e(n,x,o,sn,sx,sl,pd)}};m.a=function(o,t){" ++"var m=this,i=o.id?o.id:o.name,n=o.name,p=0,v,c,c1,c2,xc=m.s.h,x,e,f1,f2='s_media_'+m._in+'_oc',f3='s_media_'+m._in+'_t',f4='s_media_'+m._in+'_s',f5='s_media_'+m._in+'_l',f6='s_media_'+m._in+'_m',f7" ++"='s_media_'+m._in+'_c',tcf,w;if(!i){if(!m.c)m.c=0;i='s_media_'+m._in+'_'+m.c;m.c++}if(!o.id)o.id=i;if(!o.name)o.name=n=i;if(!m.ol)m.ol=new Object;if(m.ol[i])return;m.ol[i]=o;if(!xc)xc=m.s.b;tcf=new" ++" Function('o','var e,p=0;try{if(o.versionInfo&&o.currentMedia&&o.controls)p=1}catch(e){p=0}return p');p=tcf(o);if(!p){tcf=new Function('o','var e,p=0,t;try{t=o.GetQuickTimeVersion();if(t)p=2}catch(" ++"e){p=0}return p');p=tcf(o);if(!p){tcf=new Function('o','var e,p=0,t;try{t=o.GetVersionInfo();if(t)p=3}catch(e){p=0}return p');p=tcf(o)}}v=\"var m=s_c_il[\"+m._in+\"],o=m.ol['\"+i+\"']\";if(p==1){p=" ++"'Windows Media Player '+o.versionInfo;c1=v+',n,p,l,x=-1,cm,c,mn;if(o){cm=o.currentMedia;c=o.controls;if(cm&&c){mn=cm.name?cm.name:c.URL;l=cm.duration;p=c.currentPosition;n=o.playState;if(n){if(n==8" ++")x=0;if(n==3)x=1;if(n==1||n==2||n==4||n==5||n==6)x=2;}';c2='if(x>=0)m.ae(mn,l,\"'+p+'\",x,x!=2?p:-1,0,\"\",0,0,o)}}';c=c1+c2;if(m.s.isie&&xc){x=m.s.d.createElement('script');x.language='jscript';x." ++"type='text/javascript';x.htmlFor=i;x.event='PlayStateChange(NewState)';x.defer=true;x.text=c;xc.appendChild(x);o[f6]=new Function(c1+'if(n==3){x=3;'+c2+'}setTimeout(o.'+f6+',5000)');o[f6]()}}if(p==" ++"2){p='QuickTime Player '+(o.GetIsQuickTimeRegistered()?'Pro ':'')+o.GetQuickTimeVersion();f1=f2;c=v+',n,x,t,l,p,p2,mn;if(o){mn=o.GetMovieName()?o.GetMovieName():o.GetURL();n=o.GetRate();t=o.GetTime" ++"Scale();l=o.GetDuration()/t;p=o.GetTime()/t;p2=o.'+f5+';if(n!=o.'+f4+'||p5){x=2;if(n!=0)x=1;else if(p>=l)x=0;if(p5)m.ae(mn,l,\"'+p+'\",2,p2,0,\"\",0,0,o);m.ae(mn,l,\"'+p+'\",x,x" ++"!=2?p:-1,0,\"\",0,0,o)}if(n>0&&o.'+f7+'>=10){m.ae(mn,l,\"'+p+'\",3,p,0,\"\",0,0,o);o.'+f7+'=0}o.'+f7+'++;o.'+f4+'=n;o.'+f5+'=p;setTimeout(\"'+v+';o.'+f2+'(0,0)\",500)}';o[f1]=new Function('a','b',c" ++");o[f4]=-1;o[f7]=0;o[f1](0,0)}if(p==3){p='RealPlayer '+o.GetVersionInfo();f1=n+'_OnPlayStateChange';c1=v+',n,x=-1,l,p,mn;if(o){mn=o.GetTitle()?o.GetTitle():o.GetSource();n=o.GetPlayState();l=o.GetL" ++"ength()/1000;p=o.GetPosition()/1000;if(n!=o.'+f4+'){if(n==3)x=1;if(n==0||n==2||n==4||n==5)x=2;if(n==0&&(p>=l||p==0))x=0;if(x>=0)m.ae(mn,l,\"'+p+'\",x,x!=2?p:-1,0,\"\",0,0,o)}if(n==3&&(o.'+f7+'>=10|" ++"|!o.'+f3+')){m.ae(mn,l,\"'+p+'\",3,p,0,\"\",0,0,o);o.'+f7+'=0}o.'+f7+'++;o.'+f4+'=n;';c2='if(o.'+f2+')o.'+f2+'(o,n)}';if(m.s.wd[f1])o[f2]=m.s.wd[f1];m.s.wd[f1]=new Function('a','b',c1+c2);o[f1]=new" ++" Function('a','b',c1+'setTimeout(\"'+v+';o.'+f1+'(0,0)\",o.'+f3+'?500:5000);'+c2);o[f4]=-1;if(m.s.isie)o[f3]=1;o[f7]=0;o[f1](0,0)}};m.as=new Function('e','var m=s_c_il['+m._in+'],l,n;if(m.autoTrack" ++"&&m.s.d.getElementsByTagName){l=m.s.d.getElementsByTagName(m.s.isie?\"OBJECT\":\"EMBED\");if(l)for(n=0;n=0)y+=n}retur" ++"n y};s.fl=function(x,l){return x?(''+x).substring(0,l):x};s.co=function(o){return o};s.num=function(x){x=''+x;for(var p=0;p=0)x=s.rep(x,n,\"%\"+n.charCodeAt(0).toString(16).toUpperCase())}}else if(c=='AUTO'&&('').charCodeAt){for(i=0;i127){l=0;e='';while(n||l<4){e=h.substring(n%16,n%16+1)+e;n=(n-n%16)/16;l++}y+='%u'+e}else if(c=='+')y+='%2B';else y+=escape(c)}x=y}else x=s.rep(escape(''+x),'+" ++"','%2B');if(c&&c!='AUTO'&&s.em==1&&x.indexOf('%u')<0&&x.indexOf('%U')<0){i=x.indexOf('%');while(i>=0){i++;if(h.substring(8).indexOf(x.substring(i,i+1).toUpperCase())>=0)return x.substring(0,i)+'u00" ++"'+x.substring(i);i=x.indexOf('%',i)}}}return x};s.epa=function(x){var s=this,y,tcf;if(x){x=s.rep(''+x,'+',' ');if(s.em==3){tcf=new Function('x','var y,e;try{y=decodeURIComponent(x)}catch(e){y=unesc" ++"ape(x)}return y');return tcf(x)}else return unescape(x)}return y};s.pt=function(x,d,f,a){var s=this,t=x,z=0,y,r;while(t){y=t.indexOf(d);y=y<0?t.length:y;t=t.substring(0,y);r=s[f](t,a);if(r)return r" ++";z+=y+d.length;t=x.substring(z,x.length);t=z=0)a=a.substring(0,c);c=a.indexOf('=');if(c>=0)a=a.substring(0,c);if(t.substring(" ++"0,2)=='s_')t=t.substring(2);return (t!=''&&t==a)};s.fsf=function(t,a){var s=this;if(s.pt(a,',','isf',t))s.fsg+=(s.fsg!=''?',':'')+t;return 0};s.fs=function(x,f){var s=this;s.fsg='';s.pt(x,',','fsf'" ++",f);return s.fsg};s.mpc=function(m,a){var s=this,c,l,n,v;v=s.d.visibilityState;if(!v)v=s.d.webkitVisibilityState;if(v&&v=='prerender'){if(!s.mpq){s.mpq=new Array;l=s.sp('webkitvisibilitychange,visi" ++"bilitychange',',');for(n=0;n0){c=s.mpq.shift();s[c.m].apply(s,c.a)}s.mpq=0}'),false)}}c=new Object;c.m=m;c.a=a;s.mpq.push(c);return 1}return 0};s.si=function(){var s=this,i,k,v,c=s_gi+'var s=s_gi(\"'+s.oun+'\")" ++";s.sa(\"'+s.un+'\");';for(i=0;i2?n:2;p=d.lastIndexOf('.');if(p>=0){while(p>=0&&n>1){p=d.lastIndexOf('.',p-1);n--}s.c_d=p>0&&s.pt(d,'" ++".','c_gdf',0)?d.substring(p):d}}return s.c_d};s.c_r=function(k){var s=this;k=s.ape(k);var c=' '+s.d.cookie,i=c.indexOf(' '+k+'='),e=i<0?i:c.indexOf(';',i),v=i<0?'':s.epa(c.substring(i+2+k.length,e<" ++"0?c.length:e));return v!='[[B]]'?v:''};s.c_w=function(k,v,e){var s=this,d=s.c_gd(),l=s.cookieLifetime,t;v=''+v;l=l?(''+l).toUpperCase():'';if(e&&l!='SESSION'&&l!='NONE'){t=(v!=''?parseInt(l?l:0):-6" ++"0);if(t){e=new Date;e.setTime(e.getTime()+(t*1000))}}if(k&&l!='NONE'){s.d.cookie=k+'='+s.ape(v!=''?v:'[[B]]')+'; path=/;'+(e&&l!='SESSION'?' expires='+e.toGMTString()+';':'')+(d?' domain='+d+';':''" ++");return s.c_r(k)==v}return 0};s.eh=function(o,e,r,f){var s=this,b='s_'+e+'_'+s._in,n=-1,l,i,x;if(!s.ehl)s.ehl=new Array;l=s.ehl;for(i=0;i=5&&(!s.isopera||s.apv>=7)){tc" ++"f=new Function('s','f','a','t','var e,r;try{r=s[f](a)}catch(e){r=s[t](e)}return r');r=tcf(s,f,a,t)}else{if(s.ismac&&s.u.indexOf('MSIE 4')>=0)r=s[b](a);else{s.eh(s.wd,'onerror',0,o);r=s[f](a);s.eh(s" ++".wd,'onerror',1)}}return r};s.gtfset=function(e){var s=this;return s.tfs};s.gtfsoe=new Function('e','var s=s_c_il['+s._in+'],c;s.eh(window,\"onerror\",1);s.etfs=1;c=s.t();if(c)s.d.write(c);s.etfs=0" ++";return true');s.gtfsfb=function(a){return window};s.gtfsf=function(w){var s=this,p=w.parent,l=w.location;s.tfs=w;if(p&&p.location!=l&&p.location.host==l.host){s.tfs=p;return s.gtfsf(s.tfs)}return " ++"s.tfs};s.gtfs=function(){var s=this;if(!s.tfs){s.tfs=s.wd;if(!s.etfs)s.tfs=s.cet('gtfsf',s.tfs,'gtfset',s.gtfsoe,'gtfsfb')}return s.tfs};s.mrq=function(u){var s=this,l=s.rl[u],n,r;s.rl[u]=0;if(l)fo" ++"r(n=0;n=3&&(!s.isopera||s.apv>=7)&&(s.ns6<0||s.apv>=6.1)){if(!s.rc)s.rc=new Object;if" ++"(!s.rc[un]){s.rc[un]=1;if(!s.rl)s.rl=new Object;s.rl[un]=new Array;setTimeout('if(window.s_c_il)window.s_c_il['+s._in+'].mrq(\"'+un+'\")',750)}else{l=s.rl[un];if(l){r.t=ta;r.u=un;r.r=rs;l[l.length]" ++"=r;return ''}imn+='_'+s.rc[un];s.rc[un]++}if(s.debugTracking){var d='AppMeasurement Debug: '+rs,dl=s.sp(rs,'&'),dln;for(dln=0;dln'};s.gg=function(v){var s=this;if(!s.wd['s_'+v])s.wd['s_'+v]='';return s.wd['s_'" ++"+v]};s.glf=function(t,a){if(t.substring(0,2)=='s_')t=t.substring(2);var s=this,v=s.gg(t);if(v)s[t]=v};s.gl=function(v){var s=this;if(s.pg)s.pt(v,',','glf',0)};s.rf=function(x){var s=this,y,i,j,h,p," ++"l=0,q,a,b='',c='',t;if(x&&x.length>255){y=''+x;i=y.indexOf('?');if(i>0){q=y.substring(i+1);y=y.substring(0,i);h=y.toLowerCase();j=0;if(h.substring(0,7)=='http://')j+=7;else if(h.substring(0,8)=='ht" ++"tps://')j+=8;i=h.indexOf(\"/\",j);if(i>0){h=h.substring(j,i);p=y.substring(i);y=y.substring(0,i);if(h.indexOf('google')>=0)l=',q,ie,start,search_key,word,kw,cd,';else if(h.indexOf('yahoo.co')>=0)l=" ++"',p,ei,';if(l&&q){a=s.sp(q,'&');if(a&&a.length>1){for(j=0;j0&&l.indexOf(','+t.substring(0,i)+',')>=0)b+=(b?'&':'')+t;else c+=(c?'&':'')+t}if(b&&c)q=b+'&'" ++"+c;else c=''}i=253-(q.length-c.length)-y.length;x=y+(i>0?p.substring(0,i):'')+'?'+q}}}}return x};s.s2q=function(k,v,vf,vfp,f){var s=this,qs='',sk,sv,sp,ss,nke,nk,nf,nfl=0,nfn,nfm;if(k==\"contextDat" ++"a\")k=\"c\";if(v){for(sk in v)if((!f||sk.substring(0,f.length)==f)&&v[sk]&&(!vf||vf.indexOf(','+(vfp?vfp+'.':'')+sk+',')>=0)&&(!Object||!Object.prototype||!Object.prototype[sk])){nfm=0;if(nfl)for(n" ++"fn=0;nfn0){nke=sk.indexOf('.');if(nke>0){n" ++"k=sk.substring(0,nke);nf=(f?f:'')+nk+'.';if(!nfl)nfl=new Array;nfl[nfl.length]=nf;qs+=s.s2q(nk,v,vf,vfp,nf)}else{if(typeof(sv)=='boolean'){if(sv)sv='true';else sv='false'}if(sv){if(vfp=='retrieveLi" ++"ghtData'&&f.indexOf('.contextData.')<0){sp=sk.substring(0,4);ss=sk.substring(4);if(sk=='transactionID')sk='xact';else if(sk=='channel')sk='ch';else if(sk=='campaign')sk='v0';else if(s.num(ss)){if(s" ++"p=='prop')sk='c'+ss;else if(sp=='eVar')sk='v'+ss;else if(sp=='list')sk='l'+ss;else if(sp=='hier'){sk='h'+ss;sv=sv.substring(0,255)}}}qs+='&'+s.ape(sk)+'='+s.ape(sv)}}}}}if(qs!='')qs+='&.'+k}return " ++"qs};s.hav=function(){var s=this,qs='',l,fv='',fe='',mn,i,e;if(s.lightProfileID){l=s.va_m;fv=s.lightTrackVars;if(fv)fv=','+fv+','+s.vl_mr+','}else{l=s.va_t;if(s.pe||s.linkType){fv=s.linkTrackVars;fe" ++"=s.linkTrackEvents;if(s.pe){mn=s.pe.substring(0,1).toUpperCase()+s.pe.substring(1);if(s[mn]){fv=s[mn].trackVars;fe=s[mn].trackEvents}}}if(fv)fv=','+fv+','+s.vl_l+','+s.vl_l2;if(fe){fe=','+fe+',';if" ++"(fv)fv+=',events,'}if (s.events2)e=(e?',':'')+s.events2}for(i=0;i=0)&&k!='linkName'&&k!='linkType'){if(k=='timestamp')q='ts';else if(k=='dynamicVariablePrefix')q='D';else if(k=='visitorID')q='vid';else if(k=='pageURL'){q='g';if(v.length>25" ++"5){s.pageURLRest=v.substring(255);v=v.substring(0,255);}}else if(k=='pageURLRest')q='-g';else if(k=='referrer'){q='r';v=s.fl(s.rf(v),255)}else if(k=='vmk'||k=='visitorMigrationKey')q='vmt';else if(" ++"k=='visitorMigrationServer'){q='vmf';if(s.ssl&&s.visitorMigrationServerSecure)v=''}else if(k=='visitorMigrationServerSecure'){q='vmf';if(!s.ssl&&s.visitorMigrationServer)v=''}else if(k=='charSet'){" ++"q='ce';if(v.toUpperCase()=='AUTO')v='ISO8859-1';else if(s.em==2||s.em==3)v='UTF-8'}else if(k=='visitorNamespace')q='ns';else if(k=='cookieDomainPeriods')q='cdp';else if(k=='cookieLifetime')q='cl';e" ++"lse if(k=='variableProvider')q='vvp';else if(k=='currencyCode')q='cc';else if(k=='channel')q='ch';else if(k=='transactionID')q='xact';else if(k=='campaign')q='v0';else if(k=='resolution')q='s';else" ++" if(k=='colorDepth')q='c';else if(k=='javascriptVersion')q='j';else if(k=='javaEnabled')q='v';else if(k=='cookiesEnabled')q='k';else if(k=='browserWidth')q='bw';else if(k=='browserHeight')q='bh';el" ++"se if(k=='connectionType')q='ct';else if(k=='homepage')q='hp';else if(k=='plugins')q='p';else if(k=='events'){if(e)v+=(v?',':'')+e;if(fe)v=s.fs(v,fe)}else if(k=='events2')v='';else if(k=='contextDa" ++"ta'){qs+=s.s2q('c',s[k],fv,k,0);v=''}else if(k=='lightProfileID')q='mtp';else if(k=='lightStoreForSeconds'){q='mtss';if(!s.lightProfileID)v=''}else if(k=='lightIncrementBy'){q='mti';if(!s.lightProf" ++"ileID)v=''}else if(k=='retrieveLightProfiles')q='mtsr';else if(k=='deleteLightProfiles')q='mtsd';else if(k=='retrieveLightData'){if(s.retrieveLightProfiles)qs+=s.s2q('mts',s[k],fv,k,0);v=''}else if" ++"(s.num(x)){if(b=='prop')q='c'+n;else if(b=='eVar')q='v'+n;else if(b=='list')q='l'+n;else if(b=='hier'){q='h'+n;v=s.fl(v,255)}}if(v)qs+='&'+s.ape(q)+'='+(k.substring(0,3)!='pev'?s.ape(v):v)}}return " ++"qs};s.ltdf=function(t,h){t=t?t.toLowerCase():'';h=h?h.toLowerCase():'';var qi=h.indexOf('?'),hi=h.indexOf('#');if(qi>=0){if(hi>=0&&hi=0?h.substring(0,qi):h;if(t&&h.substr" ++"ing(h.length-(t.length+1))=='.'+t)return 1;return 0};s.ltef=function(t,h){t=t?t.toLowerCase():'';h=h?h.toLowerCase():'';if(t&&h.indexOf(t)>=0)return 1;return 0};s.lt=function(h){var s=this,lft=s.li" ++"nkDownloadFileTypes,lef=s.linkExternalFilters,lif=s.linkInternalFilters;lif=lif?lif:s.wd.location.hostname;h=h.toLowerCase();if(s.trackDownloadLinks&&lft&&s.pt(lft,',','ltdf',h))return 'd';if(s.tra" ++"ckExternalLinks&&h.indexOf('#')!=0&&h.indexOf('about:')!=0&&h.indexOf('javascript:')!=0&&(lef||lif)&&(!lef||s.pt(lef,',','ltef',h))&&(!lif||!s.pt(lif,',','ltef',h)))return 'e';return ''};s.lc=new F" ++"unction('e','var s=s_c_il['+s._in+'],b=s.eh(this,\"onclick\");s.lnk=this;s.t();s.lnk=0;if(b)return this[b](e);return true');s.bcr=function(){var s=this;if(s.bct&&s.bce)s.bct.dispatchEvent(s.bce);if" ++"(s.bcf){if(typeof(s.bcf)=='function')s.bcf();else if(s.bct&&s.bct.href)s.d.location=s.bct.href}s.bct=s.bce=s.bcf=0};s.bc=new Function('e','if(e&&e.s_fe)return;var s=s_c_il['+s._in+'],f,tcf,t,n,nrs," ++"a,h;if(s.d&&s.d.all&&s.d.all.cppXYctnr)return;if(!s.bbc)s.useForcedLinkTracking=0;else if(!s.useForcedLinkTracking){s.b.removeEventListener(\"click\",s.bc,true);s.bbc=s.useForcedLinkTracking=0;retu" ++"rn}else s.b.removeEventListener(\"click\",s.bc,false);s.eo=e.srcElement?e.srcElement:e.target;nrs=s.nrs;s.t();s.eo=0;if(s.nrs>nrs&&s.useForcedLinkTracking&&e.target){a=e.target;while(a&&a!=s.b&&a.t" ++"agName.toUpperCase()!=\"A\"&&a.tagName.toUpperCase()!=\"AREA\")a=a.parentNode;if(a){h=a.href;if(h.indexOf(\"#\")==0||h.indexOf(\"about:\")==0||h.indexOf(\"javascript:\")==0)h=0;t=a.target;if(e.targ" ++"et.dispatchEvent&&h&&(!t||t==\"_self\"||t==\"_top\"||t==\"_parent\"||(s.wd.name&&t==s.wd.name))){tcf=new Function(\"s\",\"var x;try{n=s.d.createEvent(\\\\\"MouseEvents\\\\\")}catch(x){n=new MouseEv" ++"ent}return n\");n=tcf(s);if(n){tcf=new Function(\"n\",\"e\",\"var x;try{n.initMouseEvent(\\\\\"click\\\\\",e.bubbles,e.cancelable,e.view,e.detail,e.screenX,e.screenY,e.clientX,e.clientY,e.ctrlKey,e" ++".altKey,e.shiftKey,e.metaKey,e.button,e.relatedTarget)}catch(x){n=0}return n\");n=tcf(n,e);if(n){n.s_fe=1;e.stopPropagation();if (e.stopImmediatePropagation) {e.stopImmediatePropagation();}e.preven" ++"tDefault();s.bct=e.target;s.bce=n}}}}}');s.oh=function(o){var s=this,l=s.wd.location,h=o.href?o.href:'',i,j,k,p;i=h.indexOf(':');j=h.indexOf('?');k=h.indexOf('/');if(h&&(i<0||(j>=0&&i>j)||(k>=0&&i>" ++"k))){p=o.protocol&&o.protocol.length>1?o.protocol:(l.protocol?l.protocol:'');i=l.pathname.lastIndexOf('/');h=(p?p+'//':'')+(o.host?o.host:(l.host?l.host:''))+(h.substring(0,1)!='/'?l.pathname.subst" ++"ring(0,i<0?0:i)+'/':'')+h}return h};s.ot=function(o){var t=o.tagName;if(o.tagUrn||(o.scopeName&&o.scopeName.toUpperCase()!='HTML'))return '';t=t&&t.toUpperCase?t.toUpperCase():'';if(t=='SHAPE')t=''" ++";if(t){if((t=='INPUT'||t=='BUTTON')&&o.type&&o.type.toUpperCase)t=o.type.toUpperCase();else if(!t&&o.href)t='A';}return t};s.oid=function(o){var s=this,t=s.ot(o),p,c,n='',x=0;if(t&&!o.s_oid){p=o.pr" ++"otocol;c=o.onclick;if(o.href&&(t=='A'||t=='AREA')&&(!c||!p||p.toLowerCase().indexOf('javascript')<0))n=s.oh(o);else if(c){n=s.rep(s.rep(s.rep(s.rep(''+c,\"\\r\",''),\"\\n\",''),\"\\t\",''),' ','');" ++"x=2}else if(t=='INPUT'||t=='SUBMIT'){if(o.value)n=o.value;else if(o.innerText)n=o.innerText;else if(o.textContent)n=o.textContent;x=3}else if(o.src&&t=='IMAGE')n=o.src;if(n){o.s_oid=s.fl(n,100);o.s" ++"_oidt=x}}return o.s_oid};s.rqf=function(t,un){var s=this,e=t.indexOf('='),u=e>=0?t.substring(0,e):'',q=e>=0?s.epa(t.substring(e+1)):'';if(u&&q&&(','+u+',').indexOf(','+un+',')>=0){if(u!=s.un&&s.un." ++"indexOf(',')>=0)q='&u='+u+q+'&u=0';return q}return ''};s.rq=function(un){if(!un)un=this.un;var s=this,c=un.indexOf(','),v=s.c_r('s_sq'),q='';if(c<0)return s.pt(v,'&','rqf',un);return s.pt(un,',','r" ++"q',0)};s.sqp=function(t,a){var s=this,e=t.indexOf('='),q=e<0?'':s.epa(t.substring(e+1));s.sqq[q]='';if(e>=0)s.pt(t.substring(0,e),',','sqs',q);return 0};s.sqs=function(un,q){var s=this;s.squ[un]=q;" ++"return 0};s.sq=function(q){var s=this,k='s_sq',v=s.c_r(k),x,c=0;s.sqq=new Object;s.squ=new Object;s.sqq[q]='';s.pt(v,'&','sqp',0);s.pt(s.un,',','sqs',q);v='';for(x in s.squ)if(x&&(!Object||!Object." ++"prototype||!Object.prototype[x]))s.sqq[s.squ[x]]+=(s.sqq[s.squ[x]]?',':'')+x;for(x in s.sqq)if(x&&(!Object||!Object.prototype||!Object.prototype[x])&&s.sqq[x]&&(x==q||c<2)){v+=(v?'&':'')+s.sqq[x]+'" ++"='+s.ape(x);c++}return s.c_w(k,v,0)};s.wdl=new Function('e','var s=s_c_il['+s._in+'],r=true,b=s.eh(s.wd,\"onload\"),i,o,oc;if(b)r=this[b](e);for(i=0;i=0)&&oc.indexOf(\".tl(\")<0)s.eh(o,\"onclick\",0,s.lc);}return r');s.wds=function(){var s=this;if(s.apv>3&&(!s.isie||!s.i" ++"smac||s.apv>=5)){if(s.b&&s.b.attachEvent)s.b.attachEvent('onclick',s.bc);else if(s.b&&s.b.addEventListener){if(s.n&&((s.n.userAgent.indexOf('WebKit')>=0&&s.d.createEvent)||(s.n.userAgent.indexOf('F" ++"irefox/2')>=0&&s.wd.MouseEvent))){s.bbc=1;s.useForcedLinkTracking=1;s.b.addEventListener('click',s.bc,true)}s.b.addEventListener('click',s.bc,false)}else s.eh(s.wd,'onload',0,s.wdl)}};s.vs=function" ++"(x){var s=this,v=s.visitorSampling,g=s.visitorSamplingGroup,k='s_vsn_'+s.un+(g?'_'+g:''),n=s.c_r(k),e=new Date,y=e.getYear();e.setYear(y+10+(y<1900?1900:0));if(v){v*=100;if(!n){if(!s.c_w(k,x,e))ret" ++"urn 0;n=x}if(n%10000>v)return 0}return 1};s.dyasmf=function(t,m){if(t&&m&&m.indexOf(t)>=0)return 1;return 0};s.dyasf=function(t,m){var s=this,i=t?t.indexOf('='):-1,n,x;if(i>=0&&m){var n=t.substring" ++"(0,i),x=t.substring(i+1);if(s.pt(x,',','dyasmf',m))return n}return 0};s.uns=function(){var s=this,x=s.dynamicAccountSelection,l=s.dynamicAccountList,m=s.dynamicAccountMatch,n,i;s.un=s.un.toLowerCas" ++"e();if(x&&l){if(!m)m=s.wd.location.host;if(!m.toLowerCase)m=''+m;l=l.toLowerCase();m=m.toLowerCase();n=s.pt(l,';','dyasf',m);if(n)s.un=n}i=s.un.indexOf(',');s.fun=i<0?s.un:s.un.substring(0,i)};s.sa" ++"=function(un){var s=this;if(s.un&&s.mpc('sa',arguments))return;s.un=un;if(!s.oun)s.oun=un;else if((','+s.oun+',').indexOf(','+un+',')<0)s.oun+=','+un;s.uns()};s.m_i=function(n,a){var s=this,m,f=n.s" ++"ubstring(0,1),r,l,i;if(!s.m_l)s.m_l=new Object;if(!s.m_nl)s.m_nl=new Array;m=s.m_l[n];if(!a&&m&&m._e&&!m._i)s.m_a(n);if(!m){m=new Object,m._c='s_m';m._in=s.wd.s_c_in;m._il=s._il;m._il[m._in]=m;s.wd" ++".s_c_in++;m.s=s;m._n=n;m._l=new Array('_c','_in','_il','_i','_e','_d','_dl','s','n','_r','_g','_g1','_t','_t1','_x','_x1','_rs','_rr','_l');s.m_l[n]=m;s.m_nl[s.m_nl.length]=n}else if(m._r&&!m._m){r" ++"=m._r;r._m=m;l=m._l;for(i=0;i=0)x(s);else s.m_m(\"x\",n,x,e)}m=s.m_i(n,1);if(m._dl)m._dl=m._d=0;s.dlt();return f');s.m_m=function(t,n,d,e){t='_" ++"'+t;var s=this,i,x,m,f='_'+t,r=0,u;if(s.m_l&&s.m_nl)for(i=0;i=0){if(d&&e)u=m[t](d,e);else if(d)u=m" ++"[t](d);else u=m[t]()}}if(u)r=1;u=m[t+1];if(u&&!m[f]){if((''+u).indexOf('function')>=0){if(d&&e)u=m[t+1](d,e);else if(d)u=m[t+1](d);else u=m[t+1]()}}m[f]=1;if(u)r=1}}return r};s.m_ll=function(){var " ++"s=this,g=s.m_dl,i,o;if(g)for(i=0;i=0){g=n.substring(i+1);n=n.substring(0,i)}else g=\"m_\"+n;m=s.m_i(n)}if((l||(n&&!s.m_a(n,g)))&&u&&s.d&&c&&s.d.createElement){if(d){m._d=1;m._dl=1}if(ln){if(s.ssl)u=s.rep(u,'ht" ++"tp:','https:');i='s_s:'+s._in+':'+n+':'+g;b='var s=s_c_il['+s._in+'],o=s.d.getElementById(\"'+i+'\");if(s&&o){if(!o.l&&s.wd.'+g+'){o.l=1;if(o.i)clearTimeout(o.i);o.i=0;s.m_a(\"'+n+'\",\"'+g+'\"'+(e" ++"?',\"'+e+'\"':'')+')}';f2=b+'o.c++;if(!s.maxDelay)s.maxDelay=250;if(!o.l&&o.c<(s.maxDelay*2)/100)o.i=setTimeout(o.f2,100)}';f1=new Function('e',b+'}');tcf=new Function('s','c','i','u','f1','f2','va" ++"r e,o=0;try{o=s.d.createElement(\"script\");if(o){o.type=\"text/javascript\";'+(n?'o.id=i;o.defer=true;o.onload=o.onreadystatechange=f1;o.f2=f2;o.l=0;':'')+'o.src=u;c.appendChild(o);'+(n?'o.c=0;o.i" ++"=setTimeout(f2,100)':'')+'}}catch(e){o=0}return o');o=tcf(s,c,i,u,f1,f2)}else{o=new Object;o.n=n+':'+g;o.u=u;o.d=d;o.l=l;o.e=e;g=s.m_dl;if(!g)g=s.m_dl=new Array;i=0;while(i=s.maxDelay){s.dll[i]=0;s.t(vo)}else f=1}}if(s.dli)clearTimeout(s.dli);s." ++"dli=0;if(f){if(!s.dli)s.dli=setTimeout(s.dlt,s.maxDelay)}else s.dll=0');s.dl=function(vo){var s=this,d=new Date;if(!vo)vo=new Object;s.vob(vo);vo._t=d.getTime();if(!s.dll)s.dll=new Array;s.dll[s.dl" ++"l.length]=vo;if(!s.maxDelay)s.maxDelay=250;s.dlt()};s.gfid=function(){var s=this,d='0123456789ABCDEF',k='s_fid',fid=s.c_r(k),h='',l='',i,j,m=8,n=4,e=new Date,y;if(!fid||fid.indexOf('-')<0){for(i=0;" ++"i<16;i++){j=Math.floor(Math.random()*m);h+=d.substring(j,j+1);j=Math.floor(Math.random()*n);l+=d.substring(j,j+1);m=n=16}fid=h+'-'+l;}y=e.getYear();e.setYear(y+2+(y<1900?1900:0));if(!s.c_w(k,fid,e)" ++")fid=0;return fid};s.track=s.t=function(vo){var s=this,trk=1,tm=new Date,sed=Math&&Math.random?Math.floor(Math.random()*10000000000000):tm.getTime(),sess='s'+Math.floor(tm.getTime()/10800000)%10+se" ++"d,y=tm.getYear(),vt=tm.getDate()+'/'+tm.getMonth()+'/'+(y<1900?y+1900:y)+' '+tm.getHours()+':'+tm.getMinutes()+':'+tm.getSeconds()+' '+tm.getDay()+' '+tm.getTimezoneOffset(),tcf,tfs=s.gtfs(),ta=-1," ++"q='',qs='',code='',vb=new Object;if(s.mpc('t',arguments))return;s.gl(s.vl_g);s.uns();s.m_ll();if(!s.td){var tl=tfs.location,a,o,i,x='',c='',v='',p='',bw='',bh='',j='1.0',k=s.c_w('s_cc','true',0)?'Y" ++"':'N',hp='',ct='',pn=0,ps;if(String&&String.prototype){j='1.1';if(j.match){j='1.2';if(tm.setUTCDate){j='1.3';if(s.isie&&s.ismac&&s.apv>=5)j='1.4';if(pn.toPrecision){j='1.5';a=new Array;if(a.forEach" ++"){j='1.6';i=0;o=new Object;tcf=new Function('o','var e,i=0;try{i=new Iterator(o)}catch(e){}return i');i=tcf(o);if(i&&i.next){j='1.7';if(a.reduce){j='1.8';if(j.trim){j='1.8.1';if(Date.parse){j='1.8." ++"2';if(Object.create)j='1.8.5'}}}}}}}}}if(s.apv>=4)x=screen.width+'x'+screen.height;if(s.isns||s.isopera){if(s.apv>=3){v=s.n.javaEnabled()?'Y':'N';if(s.apv>=4){c=screen.pixelDepth;bw=s.wd.innerWidth" ++";bh=s.wd.innerHeight}}s.pl=s.n.plugins}else if(s.isie){if(s.apv>=4){v=s.n.javaEnabled()?'Y':'N';c=screen.colorDepth;if(s.apv>=5){bw=s.d.documentElement.offsetWidth;bh=s.d.documentElement.offsetHeig" ++"ht;if(!s.ismac&&s.b){tcf=new Function('s','tl','var e,hp=0;try{s.b.addBehavior(\"#default#homePage\");hp=s.b.isHomePage(tl)?\"Y\":\"N\"}catch(e){}return hp');hp=tcf(s,tl);tcf=new Function('s','var " ++"e,ct=0;try{s.b.addBehavior(\"#default#clientCaps\");ct=s.b.connectionType}catch(e){}return ct');ct=tcf(s)}}}else r=''}if(s.pl)while(pn=0&&oc.indexOf('" ++".s_oc(')<0)||oc.indexOf('.tl(')>=0)o=0}}if(o){if(n)ta=o.target;h=s.oh(o);i=h.indexOf('?');h=s.linkLeaveQueryString||i<0?h:h.substring(0,i);l=s.linkName;t=s.linkType?s.linkType.toLowerCase():s.lt(h)" ++";if(t&&(h||l)){s.pe='lnk_'+(t=='d'||t=='e'?t:'o');s.pev1=(h?s.ape(h):'');s.pev2=(l?s.ape(l):'')}else trk=0;if(s.trackInlineStats){if(!p){p=s.pageURL;w=0}t=s.ot(o);i=o.sourceIndex;if(o.dataset&&o.da" ++"taset.sObjectId){s.wd.s_objectID=o.dataset.sObjectId;}else if(o.getAttribute&&o.getAttribute('data-s-object-id')){s.wd.s_objectID=o.getAttribute('data-s-object-id');}else if(s.useForcedLinkTracking" ++"){s.wd.s_objectID='';oc=o.onclick?''+o.onclick:'';if(oc){var ocb=oc.indexOf('s_objectID'),oce,ocq,ocx;if(ocb>=0){ocb+=10;while(ocb=0)ocb++;if(o" ++"cb=0);s.d=document;s.b=s.d.body;if(s.d.getElementsByTagName){s.h=s.d.getElementsByTagName('HEAD');if(s.h)s.h=s.h[0]}s.n=navigator;s.u=s.n.userAgent;s.ns6=s.u.indexOf('Netscape" ++"6/');var apn=s.n.appName,v=s.n.appVersion,ie=v.indexOf('MSIE '),o=s.u.indexOf('Opera '),i;if(v.indexOf('Opera')>=0||o>0)apn='Opera';s.isie=(apn=='Microsoft Internet Explorer');s.isns=(apn=='Netscap" ++"e');s.isopera=(apn=='Opera');s.ismac=(s.u.indexOf('Mac')>=0);if(o>0)s.apv=parseFloat(s.u.substring(o+6));else if(ie>0){s.apv=parseInt(i=v.substring(ie+5));if(s.apv>3)s.apv=parseFloat(i)}else if(s.n" ++"s6>0)s.apv=parseFloat(s.u.substring(s.ns6+10));else s.apv=parseFloat(v);s.em=0;if(s.em.toPrecision)s.em=3;else if(String.fromCharCode){i=escape(String.fromCharCode(256)).toUpperCase();s.em=(i=='%C4" ++"%80'?2:(i=='%U0100'?1:0))}if(s.oun)s.sa(s.oun);s.sa(un);s.vl_l='timestamp,dynamicVariablePrefix,visitorID,fid,vmk,visitorMigrationKey,visitorMigrationServer,visitorMigrationServerSecure,ppu,charSet" ++",visitorNamespace,cookieDomainPeriods,cookieLifetime,pageName,pageURL,referrer,contextData,currencyCode,lightProfileID,lightStoreForSeconds,lightIncrementBy,retrieveLightProfiles,deleteLightProfile" ++"s,retrieveLightData';s.va_l=s.sp(s.vl_l,',');s.vl_mr=s.vl_m='timestamp,charSet,visitorNamespace,cookieDomainPeriods,cookieLifetime,contextData,lightProfileID,lightStoreForSeconds,lightIncrementBy';" ++"s.vl_t=s.vl_l+',variableProvider,channel,server,pageType,transactionID,purchaseID,campaign,state,zip,events,events2,products,linkName,linkType';var n;for(n=1;n<=75;n++){s.vl_t+=',prop'+n+',eVar'+n;" ++"s.vl_m+=',prop'+n+',eVar'+n}for(n=1;n<=5;n++)s.vl_t+=',hier'+n;for(n=1;n<=3;n++)s.vl_t+=',list'+n;s.va_m=s.sp(s.vl_m,',');s.vl_l2=',tnt,pe,pev1,pev2,pev3,resolution,colorDepth,javascriptVersion,jav" ++"aEnabled,cookiesEnabled,browserWidth,browserHeight,connectionType,homepage,pageURLRest,plugins';s.vl_t+=s.vl_l2;s.va_t=s.sp(s.vl_t,',');s.vl_g=s.vl_t+',trackingServer,trackingServerSecure,trackingS" ++"erverBase,fpCookieDomainPeriods,disableBufferedRequests,mobile,visitorSampling,visitorSamplingGroup,dynamicAccountSelection,dynamicAccountList,dynamicAccountMatch,trackDownloadLinks,trackExternalLi" ++"nks,trackInlineStats,linkLeaveQueryString,linkDownloadFileTypes,linkExternalFilters,linkInternalFilters,linkTrackVars,linkTrackEvents,linkNames,lnk,eo,lightTrackVars,_1_referrer,un';s.va_g=s.sp(s.v" ++"l_g,',');s.pg=pg;s.gl(s.vl_g);s.contextData=new Object;s.retrieveLightData=new Object;if(!ss)s.wds();if(pg){s.wd.s_co=function(o){return o};s.wd.s_gs=function(un){s_gi(un,1,1).t()};s.wd.s_dc=functi" ++"on(un){s_gi(un,1).t()}}", +w=window,l=w.s_c_il,n=navigator,u=n.userAgent,v=n.appVersion,e=v.indexOf('MSIE '),m=u.indexOf('Netscape6/'),a,i,j,x,s;if(un){un=un.toLowerCase();if(l)for(j=0;j<2;j++)for(i=0;i0&&x=='s_l'))&&(s.oun==un||(s.fs&&s.sa&&s.fs(s.oun,un)))){if(s.sa)s.sa(un);if(x=='s_c')return s}else s=0}}w.s_an='0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'; +w.s_sp=new Function("x","d","var a=new Array,i=0,j;if(x){if(x.split)a=x.split(d);else if(!d)for(i=0;i=0){j=x.indexOf(d,i);a[a.length]=x.subst" ++"ring(i,j<0?x.length:j);i=j;if(i>=0)i+=d.length}}return a"); +w.s_jn=new Function("a","d","var x='',i,j=a.length;if(a&&j>0){x=a[0];if(j>1){if(a.join)x=a.join(d);else for(i=1;i0){d=x.substring(0,i);x=x.substring(i+2);l=s_sp(l,'');for(i=0;i<62;i++)l2[l[i]]=i;t=s_sp(t,'');d" ++"=s_sp(d,'~');i=0;while(i<5){v=0;if(x.indexOf(t[i])>=0) {x2=s_sp(x,t[i]);for(j=1;j=0)x=s_rep(x,w,t[i]);i++;b+=62}}}return x"); +w.s_fe=new Function("c","return s_rep(s_rep(s_rep(c,'\\\\','\\\\\\\\'),'\"','\\\\\"'),\"\\n\",\"\\\\n\")"); +w.s_fa=new Function("f","var s=f.indexOf('(')+1,e=f.indexOf(')'),a='',c;while(s>=0&&s=0){s++;d=1;q='';x=0;f=c.substring(s);a=s_fa(f);e=o=c.indexOf('{',s);e++;while(d>0){h=c.substring(e,e+1);if(q){i" ++"f(h==q&&!x)q='';if(h=='\\\\')x=x?0:1;else x=0}else{if(h=='\"'||h==\"'\")q=h;if(h=='{')d++;if(h=='}')d--}if(d>0)e++}c=c.substring(0,s)+'new Function('+(a?a+',':'')+'\"'+s_fe(c.substring(o+1,e))+'\")" ++"'+c.substring(e+1);s=c.indexOf('=function(')}return c;"); +c=s_d(c);if(e>0){a=parseInt(i=v.substring(e+5));if(a>3)a=parseFloat(i)}else if(m>0)a=parseFloat(u.substring(m+10));else a=parseFloat(v);if(a<5||v.indexOf('Opera')>=0||u.indexOf('Opera')>=0)c=s_ft(c);if(!s){s=new Object;if(!w.s_c_in){w.s_c_il=new Array;w.s_c_in=0}s._il=w.s_c_il;s._in=w.s_c_in;s._il[s._in]=s;w.s_c_in++;}s._c='s_c';(new Function("s","un","pg","ss",c))(s,un,pg,ss);return s} +function s_giqf(){var w=window,q=w.s_giq,i,t,s;if(q)for(i=0;i -1) { + + if (src.indexOf('?') > -1) { + if (src.indexOf('enablejsapi') == -1) { + src = src + '&enablejsapi=1'; + } + } else { + src = src + '?enablejsapi=1'; + } + + jQuery(this).attr('src', src); + jQuery(this).attr('id', 'ytplayer' + n); + n++ + } + } + +}); +}else{ + var iFrames = document.getElementsByTagName('iframe'); + for(i=0;i -1){ + if (src.indexOf('?') > -1) { + if (src.indexOf('enablejsapi') == -1) { + src = src + '&enablejsapi=1'; + } + }else{ + src = src + '?enablejsapi=1'; + } + + iFrames[i].setAttribute('src', src); + iFrames[i].setAttribute('id', 'ytplayer' + n); + n++ + } + } + } +} + +if (n > 0) { + /* Loads IFrame Player API Code asynchronously */ + var tag = document.createElement('script'); + tag.src = "https://www.youtube.com/iframe_api"; + var firstScriptTag = document.getElementsByTagName('script')[0]; + firstScriptTag.parentNode.insertBefore(tag, firstScriptTag); + /* End YoutTube Player Mapping */ + + /* YouTube Player Mapping (https://developers.google.com/youtube/iframe_api_reference) */ + var playerInfoList = new Array(); + + if (document.getElementsByTagName('iframe')) { + for (i = 0; i < document.getElementsByTagName('iframe').length; i++) { + if (document.getElementsByTagName('iframe')[i].id.indexOf('ytplayer') > -1) { + playerInfoList.push(document.getElementsByTagName('iframe')[i]); + } + } + } + + var players = new Array(); + window.playersaem = players; + window.onYouTubeIframeAPIReady = function () { + for (x = 0; x < playerInfoList.length; x++) { + players[x] = new YT.Player(playerInfoList[x], { + events: { + onStateChange: onPlayerStateChange + } + }); + } + } + + //Player state change handler and video analytics tracker + function onPlayerStateChange(event) { + + var videoPlayer = "YouTube"; + var mediaOffset = Math.floor(event.target.getCurrentTime()); + var mediaLength = Math.floor(event.target.getDuration()); + console.log("event: "+event.data); + console.log("YT.PlayerState.PLAYING: "+YT.PlayerState.PLAYING); + console.log("YT.PlayerState.PAUSED: "+YT.PlayerState.PAUSED); + console.log("mediaOffset: "+mediaOffset); + console.log("media length: "+mediaLength) + var videoTitle = event.target.getVideoData().title; + + //console.log("media length: "+mediaLength); + //console.log("mediaOffset: "+mediaOffset); + //console.log("event.data: "+event.data); + //console.log("YT.PlayerState.PLAYING: "+YT.PlayerState.PLAYING); + //console.log("YT.PlayerState.PAUSED: "+YT.PlayerState.PAUSED); + //console.log("YT.PlayerState.BUFFERING: "+YT.PlayerState.BUFFERING); + //console.log("YT.PlayerState.ENDED: "+YT.PlayerState.ENDED); + + //wb.Media.playerName = videoPlayer; + /* + if (event.data == YT.PlayerState.PLAYING && mediaLength == 0) { + videoContentType = "live:youtube video"; + wb.media.trackSeconds = 60; + wb.Media.open(videoTitle, mediaLength, videoPlayer); + console.log("60 seconds tracking set"); + }*/ + if (event.data == 3 && mediaOffset == 0 && mediaLength == 0) { + videoContentType = "live:youtube video"; + wb.Media.trackSeconds = 60; + wb.Media.open(videoTitle, mediaLength, videoPlayer); + wb.Media.play(videoTitle, mediaOffset); + //console.log("60 seconds tracking set"); + } + + if (event.data == YT.PlayerState.PLAYING) { + if (mediaOffset == 0 && mediaLength > 0) { + videoContentType = "replay:youtube video"; + wb.Media.segmentByMilestones = true; + wb.Media.trackMilestones = '25,50,75'; + //console.log("milestone tracking set"); + wb.Media.open(videoTitle, mediaLength, videoPlayer); + wb.Media.play(videoTitle, mediaOffset); + _satellite.getVar('FBPixelVideoReplay'); + _satellite.getVar('TwitterPixelVideoReplay'); + _satellite.getVar('GAdwordsTagVideoReplay'); + } else { + wb.Media.play(videoTitle, mediaOffset); + }; + }else if (event.data == YT.PlayerState.PAUSED) { + wb.Media.stop(videoTitle, mediaOffset); + }else if (event.data == YT.PlayerState.BUFFERING) { + wb.Media.stop(videoTitle, mediaOffset); + }else if (event.data == YT.PlayerState.ENDED) { + wb.Media.stop(videoTitle, mediaOffset); + wb.Media.close(videoTitle); + mediaOffset = 0; + } + } +} +}); diff --git a/code/China _ Data_files/satellite-5a0b584c64746d703f006e37.js.download b/code/China _ Data_files/satellite-5a0b584c64746d703f006e37.js.download new file mode 100644 index 00000000..9d4ecb4d --- /dev/null +++ b/code/China _ Data_files/satellite-5a0b584c64746d703f006e37.js.download @@ -0,0 +1,77 @@ +_satellite.pushAsyncScript(function(event, target, $variables){ + if (typeof kWidget !== "undefined") { + kWidget.addReadyCallback(function (playerId) { + var kdp = document.getElementById(playerId); + + //console.log("player "+kdp); + //console.log("Name "+kdp.evaluate('{mediaProxy.entry.name}')); + //console.log("Duration "+kdp.evaluate('{duration}')); + //console.log("Current Time "+kdp.evaluate('{video.player.currentTime}')); + /* + kdp.kBind('playerStateChange', function (event) { + console.log("event "+event); + kulturaPlayerHandler("playing", kdp.evaluate('{mediaProxy.entry.name}'), kdp.evaluate('{duration}'), kdp.evaluate('{video.player.currentTime}')); + });*/ + kdp.kBind("playerPlayed", function (MediaPlayerState) { + kulturaPlayerHandler("playing", kdp.evaluate('{mediaProxy.entry.name}'), kdp.evaluate('{duration}'), kdp.evaluate('{video.player.currentTime}')); + }); + kdp.kBind("seek", function (MediaPlayerState) { + kulturaPlayerHandler("seeking", kdp.evaluate('{mediaProxy.entry.name}'), kdp.evaluate('{duration}'), kdp.evaluate('{video.player.currentTime}')); + }); + kdp.kBind("seeked", function (MediaPlayerState) { + kulturaPlayerHandler("seeked", kdp.evaluate('{mediaProxy.entry.name}'), kdp.evaluate('{duration}'), kdp.evaluate('{video.player.currentTime}')); + }); + kdp.kBind("playerPaused", function (MediaPlayerState) { + kulturaPlayerHandler("paused", kdp.evaluate('{mediaProxy.entry.name}'), kdp.evaluate('{duration}'), kdp.evaluate('{video.player.currentTime}')); + }); + kdp.kBind("playerPlayEnd", function (MediaPlayerState) { + kulturaPlayerHandler("ended", kdp.evaluate('{mediaProxy.entry.name}'), kdp.evaluate('{duration}'), kdp.evaluate('{video.player.currentTime}')); + }); + }); +} + +function kulturaPlayerHandler(playerState,mediaName,videoDuration,videoCurrentTime){ + var videoPlayer = "Kaltura"; + var mediaOffset = videoCurrentTime>0?Math.floor(videoCurrentTime):0; + var mediaLength = Math.floor(videoDuration); + + wb.Media.playerName = videoPlayer; + + //console.log("mediaOffset - "+mediaOffset); + //console.log("mediaLength - "+mediaLength); + //console.log("playerState - "+playerState); + + if(playerState == "playing" && mediaLength == 0){ + videoContentType = "live:kaltura video"; + wb.Media.trackSeconds = 60; + wb.Media.open(mediaName, mediaLength, videoPlayer); + //wb.Media.play(mediaName, mediaOffset);*/ + } + + if(playerState == "playing"){ + if (mediaOffset == 0 && mediaLength > 0){ + videoContentType = "replay:kaltura video"; + wb.Media.segmentByMilestones = true; + wb.Media.trackMilestones = '25,50,75'; + //console.log("milestone tracking set"); + wb.Media.open(mediaName, mediaLength, videoPlayer); + wb.Media.play(mediaName, mediaOffset); + _satellite.getVar('FBPixelVideoReplay'); + _satellite.getVar('TwitterPixelVideoReplay'); + _satellite.getVar('GAdwordsTagVideoReplay'); + }else{ + wb.Media.play(mediaName, mediaOffset); + } + }else if(playerState == "seeking"){ + wb.Media.stop(mediaName, mediaOffset); + }else if(playerState == "seeked"){ + wb.Media.play(mediaName, mediaOffset); + }else if(playerState == "paused"){ + wb.Media.stop(mediaName, mediaOffset); + }else if(playerState == "ended"){ + wb.Media.stop(mediaName, mediaOffset); + wb.Media.close(mediaName); + mediaOffset = 0; + } +} +}); diff --git a/code/China _ Data_files/satellite-5abd109d64746d01bc00b52f.js.download b/code/China _ Data_files/satellite-5abd109d64746d01bc00b52f.js.download new file mode 100644 index 00000000..1ddc23da --- /dev/null +++ b/code/China _ Data_files/satellite-5abd109d64746d01bc00b52f.js.download @@ -0,0 +1,23 @@ +_satellite.pushAsyncScript(function(event, target, $variables){ + // +!function(f,b,e,v,n,t,s) +{if(f.fbq)return;n=f.fbq=function(){n.callMethod? +n.callMethod.apply(n,arguments):n.queue.push(arguments)}; +if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; +n.queue=[];t=b.createElement(e);t.async=!0; +t.src=v;s=b.getElementsByTagName(e)[0]; +s.parentNode.insertBefore(t,s)}(window,document,'script', +'https://connect.facebook.net/en_US/fbevents.js'); +fbq('init', '1458892451075570'); +fbq('track', 'PageView'); +fbq('track', 'ViewContent'); +// + +}); diff --git a/code/China _ Data_files/satellite-5abd109d64746d01bc00b530.html b/code/China _ Data_files/satellite-5abd109d64746d01bc00b530.html new file mode 100644 index 00000000..7f63d9ad --- /dev/null +++ b/code/China _ Data_files/satellite-5abd109d64746d01bc00b530.html @@ -0,0 +1,48 @@ + + + + + + + \ No newline at end of file diff --git a/code/China _ Data_files/satellite-5abd109d64746d01bc00b54e.js.download b/code/China _ Data_files/satellite-5abd109d64746d01bc00b54e.js.download new file mode 100644 index 00000000..140a2f31 --- /dev/null +++ b/code/China _ Data_files/satellite-5abd109d64746d01bc00b54e.js.download @@ -0,0 +1,11 @@ +_satellite.pushAsyncScript(function(event, target, $variables){ + +!function(e,t,n,s,u,a){e.twq||(s=e.twq=function(){s.exe?s.exe.apply(s,arguments):s.queue.push(arguments); +},s.version='1.1',s.queue=[],u=t.createElement(n),u.async=!0,u.src='//static.ads-twitter.com/uwt.js', +a=t.getElementsByTagName(n)[0],a.parentNode.insertBefore(u,a))}(window,document,'script'); +// Insert Twitter Pixel ID and Standard Event data below +twq('init','nwaxc'); +twq('track','PageView'); + + +}); diff --git a/code/China _ Data_files/satellite-5abd109d64746d01bc00b54f.js.download b/code/China _ Data_files/satellite-5abd109d64746d01bc00b54f.js.download new file mode 100644 index 00000000..531d7228 --- /dev/null +++ b/code/China _ Data_files/satellite-5abd109d64746d01bc00b54f.js.download @@ -0,0 +1,8 @@ +_satellite.pushAsyncScript(function(event, target, $variables){ + !function(e,t,n,s,u,a){e.twq||(s=e.twq=function(){s.exe?s.exe.apply(s,arguments):s.queue.push(arguments); +},s.version='1.1',s.queue=[],u=t.createElement(n),u.async=!0,u.src='//static.ads-twitter.com/uwt.js', +a=t.getElementsByTagName(n)[0],a.parentNode.insertBefore(u,a))}(window,document,'script'); +// Insert Twitter Pixel ID and Standard Event data below +twq('init','ny9zz'); +twq('track','PageView'); +}); diff --git a/code/China _ Data_files/satellite-5abd109d64746d01bc00b550.js.download b/code/China _ Data_files/satellite-5abd109d64746d01bc00b550.js.download new file mode 100644 index 00000000..0b36912d --- /dev/null +++ b/code/China _ Data_files/satellite-5abd109d64746d01bc00b550.js.download @@ -0,0 +1,9 @@ +_satellite.pushAsyncScript(function(event, target, $variables){ + !function(e,t,n,s,u,a){e.twq||(s=e.twq=function(){s.exe?s.exe.apply(s,arguments):s.queue.push(arguments); +},s.version='1.1',s.queue=[],u=t.createElement(n),u.async=!0,u.src='//static.ads-twitter.com/uwt.js', +a=t.getElementsByTagName(n)[0],a.parentNode.insertBefore(u,a))}(window,document,'script'); +// Insert Twitter Pixel ID and Standard Event data below + +twq('init','nya03'); +twq('track','PageView'); +}); diff --git a/code/China _ Data_files/satellite-5abd109d64746d01bc00b551.js.download b/code/China _ Data_files/satellite-5abd109d64746d01bc00b551.js.download new file mode 100644 index 00000000..2f095a06 --- /dev/null +++ b/code/China _ Data_files/satellite-5abd109d64746d01bc00b551.js.download @@ -0,0 +1,8 @@ +_satellite.pushAsyncScript(function(event, target, $variables){ + !function(e,t,n,s,u,a){e.twq||(s=e.twq=function(){s.exe?s.exe.apply(s,arguments):s.queue.push(arguments); +},s.version='1.1',s.queue=[],u=t.createElement(n),u.async=!0,u.src='//static.ads-twitter.com/uwt.js', +a=t.getElementsByTagName(n)[0],a.parentNode.insertBefore(u,a))}(window,document,'script'); +// Insert Twitter Pixel ID and Standard Event data below +twq('init','nyz9o'); +twq('track','PageView'); +}); diff --git a/code/China _ Data_files/satellite-5ac5fe4564746d2458008f32.js.download b/code/China _ Data_files/satellite-5ac5fe4564746d2458008f32.js.download new file mode 100644 index 00000000..2dd01b52 --- /dev/null +++ b/code/China _ Data_files/satellite-5ac5fe4564746d2458008f32.js.download @@ -0,0 +1,65 @@ +_satellite.pushAsyncScript(function(event, target, $variables){ + if(_satellite.settings.isStaging){ + if (typeof FSR!="object"){ + // Instructions: please embed this snippet directly into every page of your website template. + // For optimal performance, this must be embedded directly into the template, not referenced + // as an external file. + + // ForeSee Embed Script v2.00 + // DO NOT MODIFY BELOW THIS LINE ***************************************** + ;(function (g) { + var d = document, am = d.createElement('script'), h = d.head || d.getElementsByTagName("head")[0], fsr = 'fsReady', + aex = { + "src": "//gateway.answerscloud.com/worldbank-org/staging/gateway.min.js", + "type": "text/javascript", + "async": "true", + "data-vendor": "fs", + "data-role": "gateway" + }; + for (var attr in aex){am.setAttribute(attr, aex[attr]);}h.appendChild(am);g[fsr] = function () {var aT = '__' + fsr+ '_stk__';g[aT] = g[aT] || [];g[aT].push(arguments);}; + })(window); + // DO NOT MODIFY ABOVE THIS LINE ***************************************** + } + //ForeSee Page Level Code + var WorldBank = {lang: _satellite.getVar('SiteLanguage')}; + + fsReady(function() { + //FSR.CPPS.set('S_channel variable:',wb.channel); + FSR.CPPS.set('S_Channel Variable',_satellite.getVar('ChannelInfo').toLowerCase()); + //if (_satellite.getVar('o:subSection3')!=undefined){ + // FSR.CPPS.set('s.prop26 variable:',_satellite.getVar('o:subSection3').toLowerCase());} + }); + +} + +else { + if (typeof FSR!="object"){ + // Instructions: please embed this snippet directly into every page of your website template. + // For optimal performance, this must be embedded directly into the template, not referenced + // as an external file. + + // ForeSee Embed Script v2.00 + // DO NOT MODIFY BELOW THIS LINE ***************************************** + ;(function (g) { + var d = document, am = d.createElement('script'), h = d.head || d.getElementsByTagName("head")[0], fsr = 'fsReady', + aex = { + "src": "//gateway.answerscloud.com/worldbank-org/production/gateway.min.js", + "type": "text/javascript", + "async": "true", + "data-vendor": "fs", + "data-role": "gateway" + }; + for (var attr in aex){am.setAttribute(attr, aex[attr]);}h.appendChild(am);g[fsr] = function () {var aT = '__' + fsr + '_stk__';g[aT] = g[aT] || [];g[aT].push(arguments);}; + })(window); + // DO NOT MODIFY ABOVE THIS LINE ***************************************** +} + //ForeSee Page Level Code + var WorldBank = {lang: _satellite.getVar('SiteLanguage')}; + fsReady(function() { + //FSR.CPPS.set('S_channel variable:',wb.channel); + FSR.CPPS.set('S_Channel Variable',_satellite.getVar('ChannelInfo').toLowerCase()); + //if (_satellite.getVar('o:subSection3')!=undefined){ + // FSR.CPPS.set('s.prop26 variable',_satellite.getVar('o:subSection3').toLowerCase());} + }); +} +}); diff --git a/code/China _ Data_files/satellite-5b32978d64746d60500041fa.js.download b/code/China _ Data_files/satellite-5b32978d64746d60500041fa.js.download new file mode 100644 index 00000000..0e6c5a2a --- /dev/null +++ b/code/China _ Data_files/satellite-5b32978d64746d60500041fa.js.download @@ -0,0 +1,128 @@ +_satellite.pushAsyncScript(function(event, target, $variables){ + var n = 0; + +if(typeof JQuery != 'undefined'){ +jQuery('iframe').each(function () { + + var src = jQuery(this).attr('src'); + if (src) { + if (src.indexOf('ustream.tv') > -1) { + jQuery(this).attr('src', src); + jQuery(this).attr('id', 'UstreamIframe' + n); + n++ + } + } + +}); +}else{ + var iFrames = document.getElementsByTagName('iframe'); + for(i=0;i -1){ + iFrames[i].setAttribute('src', src); + iFrames[i].setAttribute('id', 'UstreamIframe' + n); + n++ + } + } + } +} + +if(n>0){ + /** include the ustream player API **/ + + var UstreamEmbed=function(){function a(a){return b(a)}function b(a){var b=c(a),m=function(a){function b(b){if("socialstream"!==b){if(!v)return x||(x=[]),x.push(arguments),void 0;var d=i(arguments).slice(1);d[0]&&"function"==typeof d[0]&&(y[b]||(y[b]=[]),y[b].push(d[0])),g(a,s,{cmd:b,args:d})}else if(j(window,"message",n),u=c(arguments[1]),t=h(u.getAttribute("src")),w=!0,A.length)for(var e=0,k=A.length;k>e;e++)f(A[e])}function m(){if(x){for(;x.length;)b.apply(this,x.shift());x=null}}function n(a){var b=u;b&&b.contentWindow&&b.contentWindow===a.source?r.onmessage(a):a.source===u.id&&r.onmessage(a)}function o(a){var c,d=JSON.parse(a.data);return d.cmd&&"ready"==d.cmd?(g(u,t,{cmd:"ready"}),void 0):(c=[d.cmd],c=c.concat(d.args),b.apply(this,c),void 0)}function p(){v=!0,m()}function q(){b.apply(this,arguments)}var r,s,t,u,v=!1,w=!1,x=[],y={},z={},A=[];return s=h(a.getAttribute("src")),r={host:s,callMethod:q,getProperty:function(){q.apply(this,arguments)},addListener:function(a,b){z[a]||(z[a]=[]),z[a].push(b)},removeListener:function(a,b){if(b)for(var c=0,d=z[a].length;d>c;c++)z[a][c]===b&&z[a].splice(c,1);else z[a]=null},onmessage:function(a){var b;if(s||t||A.push({origin:a.origin,data:a.data}),a.origin==s){try{b=JSON.parse(a.data)}catch(c){return}if(b.sstream)return o(a),void 0;if(b.event&&b.event.ready&&(p(),d(z,"ready")),b.event&&b.event.live===!0)return d(z,"live"),void 0;if(b.event&&b.event.live===!1)return d(z,"offline"),void 0;if(b.event&&!b.event.ready)if(k)Object.keys(b.event).forEach(function(a){d(z,a,b.event[a])});else for(var f in b.event)b.event.hasOwnProperty(f)&&d(z,f,b.event[f]);if(b.property)if(k)Object.keys(b.property).forEach(function(a){e(y,a,b.property[a])});else for(var f in b.property)b.property.hasOwnProperty(f)&&e(y,f,b.property[f])}else if(w&&a.origin==t)return o(a),void 0},destroy:function(){v=!1,s="",w=!1,t="",u=null,x=[],y={},z={},A=[],l[a.id]&&(l[a.id]=null),a=null}}}(b);return b.id||(b.id="UstreamEmbed"+Math.ceil(1e5*Math.random())),m.id=b.id,l[b.id]=m,m}function c(a){return"string"==typeof a&&(a=document.getElementById(a)),a}function d(a,b,c){for(var d in a[b])a[b].hasOwnProperty(d)&&a[b][d].call(window,b,c)}function e(a,b,c){if(a[b]){for(var d in a[b])a[b].hasOwnProperty(d)&&a[b][d].call(window,c);a[b]=null,delete a[b]}}function f(a){var b,c;for(b in l)l.hasOwnProperty(b)&&l[b]&&(c=document.getElementById(b),c&&c.contentWindow?c.contentWindow===a.source&&l[b].onmessage(a):"string"==typeof a.source&&a.source==b&&l[b].onmessage(a))}function g(a,b,c){a.contentWindow.postMessage(JSON.stringify(c),b)}function h(a){return a.indexOf("http")<0&&(a=location.protocol+a),a.match(m)[1].toString()}function i(a){return Array.prototype.slice.call(a,0)}function j(a,b,c){a.addEventListener?a.addEventListener(b,c,!1):a.attachEvent("on"+b,c)}var k="undefined"!=typeof Object.keys,l={},m=new RegExp("^(http(?:s)?://[^/]+)","im");return j(window,"message",f),window.UstreamEmbed=a}(); + + /** check for the multiple players and assign the event listners to each **/ + if (document.getElementsByTagName('iframe')) { + for (i = 0; i < document.getElementsByTagName('iframe').length; i++) { + if (document.getElementsByTagName('iframe')[i].id.indexOf('UstreamIframe') > -1) { + var iFrame = document.getElementsByTagName('iframe')[i].id; + + var viewer = UstreamEmbed(document.getElementsByTagName('iframe')[i].id); + var videoType = "channels"; + var videoTitle; + var mediaLength; + var mediaOffset = 0; + viewer.getProperty('content', function (content) { + if(content[0] === "recorded"){videoType = "videos";} + else if(content[0] === "channels"){videoType = "channels";} + var videoId = content[1]; + videoTitle = getVideoTitle(videoId,videoType)[0]; + mediaLength = getVideoTitle(videoId,videoType)[1]; + }); + + + /** set event listeners for the ustream player **/ + viewer.addListener('playing', onEmbedEvent); + viewer.addListener('finished', onEmbedEvent); + viewer.addListener('offline', onEmbedEvent); + } + } + } + + var prevEvent = ""; + var startTime=0; + + /** Ustream Media Tracking handler **/ + function onEmbedEvent(event, data){ + var videoPlayer = "ustream tv"; + + if(data && event === 'playing' && prevEvent != event){ + if(prevEvent !== "paused"){ + + if(videoType === 'channels'){ + videoContentType = "live:ustream video"; + wb.Media.trackSeconds = 60; + } + else if(videoType === 'videos'){ + videoContentType = "replay:ustream video"; + wb.Media.segmentByMilestones = true; + wb.Media.trackMilestones = '25,50,75'; + _satellite.getVar('FBPixelVideoReplay'); + _satellite.getVar('TwitterPixelVideoReplay'); + _satellite.getVar('GAdwordsTagVideoReplay'); + } + wb.Media.open(videoTitle, mediaLength, videoPlayer); + wb.Media.play(videoTitle, mediaOffset); + startTime = new Date(); + }else if(prevEvent === "paused" ){ + wb.Media.play(videoTitle, mediaOffset); + startTime = new Date(); + } + prevEvent = event; + }else if(!data && event === 'playing' && prevEvent != "paused"){ + mediaOffset += Math.round((new Date() - startTime)/1000); + wb.Media.stop(videoTitle, mediaOffset); + prevEvent = "paused"; + }else if(data && (event === 'finished' || event === 'offline')){ + mediaOffset += Math.round((new Date() - startTime)/1000); + wb.Media.stop(videoTitle, mediaOffset); + wb.Media.close(videoTitle); + mediaOffset = 0; + prevEvent = event; + } + } + /** Get the video title by calling ustream RESTful service **/ + function getVideoTitle(videoId,videoType){ + var videoTitle = videoId; + var videoLength = 0; + var xhr = new XMLHttpRequest(); + + xhr.onreadystatechange = function(){ + if(this.readyState == 4 && this.status == 200){ + var response = JSON.parse(xhr.responseText); + if(videoType === 'videos'){ + videoTitle = response.video.title; + videoLength = Math.round(response.video.length); + } + else if(videoType === 'channels'){videoTitle = response.channel.title;} + } + } + xhr.open("GET", "https://api.ustream.tv/"+videoType+"/"+videoId+".json", false); + xhr.send(); + + return [videoTitle, videoLength]; + } +} +}); diff --git a/code/China _ Data_files/satellite-5b329bb964746d604a005110.js.download b/code/China _ Data_files/satellite-5b329bb964746d604a005110.js.download new file mode 100644 index 00000000..e8dfc411 --- /dev/null +++ b/code/China _ Data_files/satellite-5b329bb964746d604a005110.js.download @@ -0,0 +1,55 @@ +_satellite.pushAsyncScript(function(event, target, $variables){ + if (document.getElementsByTagName('video').length > 0){console.log("html5 video found"); + var playerInfoList = new Array(); + + if (document.getElementsByTagName('video')) { + for (i = 0; i < document.getElementsByTagName('video').length; i++) { + //if (document.getElementsByTagName('video')[i].id.indexOf('html5player') > -1) { + playerInfoList.push(document.getElementsByTagName('video')[i]); + //} + } + } + + for (x = 0; x < playerInfoList.length; x++) { + playerInfoList[x].addEventListener("play", AnalyticsHandler); + playerInfoList[x].addEventListener("seeked", AnalyticsHandler); + playerInfoList[x].addEventListener("seeking", AnalyticsHandler); + playerInfoList[x].addEventListener("pause", AnalyticsHandler); + playerInfoList[x].addEventListener("ended", AnalyticsHandler); + } + + //HTML5 Video Event Handler and Tracker + function AnalyticsHandler(e){ + var video = e.target; + var vSrc = video.currentSrc; + //console.log("vSrc: "+vSrc); + var mediaName = vSrc.split("/")[vSrc.split("/").length-1].split(".")[0]; + var mediaLength = Math.floor(video.duration); + var mediaOffset = video.currentTime>0?Math.floor(video.currentTime):0; + var mediaPlayername = "html5 video player"; + + if(e.type === "play"){ + if(mediaOffset == 0){ + videoContentType = "replay:dynamic media video"; + wb.Media.segmentByMilestones = true; + wb.Media.trackMilestones = '25,50,75'; + wb.Media.open(mediaName,mediaLength,mediaPlayername); + wb.Media.play(mediaName,mediaOffset); + _satellite.getVar('FBPixelVideoReplay'); + _satellite.getVar('TwitterPixelVideoReplay'); + _satellite.getVar('GAdwordsTagVideoReplay'); + }else{ + wb.Media.play(mediaName,mediaOffset); + } + }else if(e.type === "seeking" || e.type === "pause"){ + wb.Media.stop(mediaName,mediaOffset); + }else if(e.type === "seeked"){ + wb.Media.play(mediaName,mediaOffset); + }else if(e.type === "ended"){ + wb.Media.stop(mediaName,mediaOffset); + wb.Media.close(mediaName); + mediaOffset = 0; + } + } +} +}); diff --git a/code/China _ Data_files/satelliteLib-efd6120a6f6ed94da49cf49e2ba626ac110c7e3c.js.download b/code/China _ Data_files/satelliteLib-efd6120a6f6ed94da49cf49e2ba626ac110c7e3c.js.download new file mode 100644 index 00000000..39e78f38 --- /dev/null +++ b/code/China _ Data_files/satelliteLib-efd6120a6f6ed94da49cf49e2ba626ac110c7e3c.js.download @@ -0,0 +1,13 @@ +!function e(t,n,i){function a(o,s){if(!n[o]){if(!t[o]){var c="function"==typeof require&&require;if(!s&&c)return c(o,!0);if(r)return r(o,!0);var l=new Error("Cannot find module '"+o+"'");throw l.code="MODULE_NOT_FOUND",l}var u=n[o]={exports:{}};t[o][0].call(u.exports,function(e){var n=t[o][1][e];return a(n||e)},u,u.exports,e,t,n,i)}return n[o].exports}for(var r="function"==typeof require&&require,o=0;o=0,S.loadTimeout=3e4,S.CORSErrors=[],S.marketingCloudServer=S.audienceManagerServer="dpm.demdex.net",S.sdidParamExpiry=30;var k=D.document,C=null,I="MC",T="MCMID",E="MCORGID",L="MCCIDH",V="MCSYNCSOP",A="MCIDTS",P="MCOPTOUT",M="A",O="MCAID",x="AAM",R="MCAAMLH",N="MCAAMB",j="NONE",B=function(e){return!Object.prototype[e]},F=g(S,z);S.FIELDS=c.FIELDS,S.cookieRead=function(e){e=encodeURIComponent(e);var t=(";"+k.cookie).split(" ").join(";"),n=t.indexOf(";"+e+"="),i=n<0?n:t.indexOf(";",n+1);return n<0?"":decodeURIComponent(t.substring(n+2+e.length,i<0?t.length:i))},S.cookieWrite=function(e,t,n){var i,a=S.cookieLifetime;if(t=""+t,a=a?(""+a).toUpperCase():"",n&&"SESSION"!==a&&"NONE"!==a){if(i=""!==t?parseInt(a||0,10):-60)(n=new Date).setTime(n.getTime()+1e3*i);else if(1===n){var r=(n=new Date).getYear();n.setYear(r+2+(r<1900?1900:0))}}else n=0;return e&&"NONE"!==a?(k.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)+"; path=/;"+(n?" expires="+n.toGMTString()+";":"")+(S.cookieDomain?" domain="+S.cookieDomain+";":""),S.cookieRead(e)===t):0},S.resetState=function(e){e?S._mergeServerState(e):b()},S._isAllowedDone=!1,S._isAllowedFlag=!1,S.isAllowed=function(){return S._isAllowedDone||(S._isAllowedDone=!0,(S.cookieRead(S.cookieName)||S.cookieWrite(S.cookieName,"T",1))&&(S._isAllowedFlag=!0)),S._isAllowedFlag},S.setMarketingCloudVisitorID=function(e){S._setMarketingCloudFields(e)},S._use1stPartyMarketingCloudServer=!1,S.getMarketingCloudVisitorID=function(e,t){if(S.isAllowed()){S.marketingCloudServer&&S.marketingCloudServer.indexOf(".demdex.net")<0&&(S._use1stPartyMarketingCloudServer=!0);var n=S._getAudienceManagerURLData("_setMarketingCloudFields"),i=n.url;return S._getRemoteField(T,i,e,t,n)}return""},S.getVisitorValues=function(e,t){var n={MCMID:{fn:S.getMarketingCloudVisitorID,args:[!0],context:S},MCOPTOUT:{fn:S.isOptedOut,args:[void 0,!0],context:S},MCAID:{fn:S.getAnalyticsVisitorID,args:[!0],context:S},MCAAMLH:{fn:S.getAudienceManagerLocationHint,args:[!0],context:S},MCAAMB:{fn:S.getAudienceManagerBlob,args:[!0],context:S}},i=t&&t.length?U.pluck(n,t):n;s(i,e)},S._currentCustomerIDs={},S._customerIDsHashChanged=!1,S._newCustomerIDsHash="",S.setCustomerIDs=function(e){function t(){S._customerIDsHashChanged=!1}if(S.isAllowed()&&e){var n,i;for(n in S._readVisitor(),e)if(B(n)&&(i=e[n]))if("object"==typeof i){var a={};i.id&&(a.id=i.id),null!=i.authState&&(a.authState=i.authState),S._currentCustomerIDs[n]=a}else S._currentCustomerIDs[n]={id:i};var r=S.getCustomerIDs(),o=S._getField(L),s="";for(n in o||(o=0),r)B(n)&&(s+=(s?"|":"")+n+"|"+((i=r[n]).id?i.id:"")+(i.authState?i.authState:""));S._newCustomerIDsHash=S._hash(s),S._newCustomerIDsHash!==o&&(S._customerIDsHashChanged=!0,S._mapCustomerIDs(t))}},S.getCustomerIDs=function(){S._readVisitor();var e,t,n={};for(e in S._currentCustomerIDs)B(e)&&(t=S._currentCustomerIDs[e],n[e]||(n[e]={}),t.id&&(n[e].id=t.id),null!=t.authState?n[e].authState=t.authState:n[e].authState=_.AuthState.UNKNOWN);return n},S.setAnalyticsVisitorID=function(e){S._setAnalyticsFields(e)},S.getAnalyticsVisitorID=function(e,t,n){if(!U.isTrackingServerPopulated()&&!n)return S._callCallback(e,[""]),"";if(S.isAllowed()){var i="";if(n||(i=S.getMarketingCloudVisitorID(function(){S.getAnalyticsVisitorID(e,!0)})),i||n){var a=n?S.marketingCloudServer:S.trackingServer,r="";S.loadSSL&&(n?S.marketingCloudServerSecure&&(a=S.marketingCloudServerSecure):S.trackingServerSecure&&(a=S.trackingServerSecure));var o={};if(a){var s="http"+(S.loadSSL?"s":"")+"://"+a+"/id",c="d_visid_ver="+S.version+"&mcorgid="+encodeURIComponent(S.marketingCloudOrgID)+(i?"&mid="+encodeURIComponent(i):"")+(S.idSyncDisable3rdPartySyncing||S.disableThirdPartyCookies?"&d_coppa=true":""),l=["s_c_il",S._in,"_set"+(n?"MarketingCloud":"Analytics")+"Fields"];r=s+"?"+c+"&callback=s_c_il%5B"+S._in+"%5D._set"+(n?"MarketingCloud":"Analytics")+"Fields",o.corsUrl=s+"?"+c,o.callback=l}return o.url=r,S._getRemoteField(n?T:O,r,e,t,o)}}return""},S.getAudienceManagerLocationHint=function(e,t){if(S.isAllowed()&&S.getMarketingCloudVisitorID(function(){S.getAudienceManagerLocationHint(e,!0)})){var n=S._getField(O);if(!n&&U.isTrackingServerPopulated()&&(n=S.getAnalyticsVisitorID(function(){S.getAudienceManagerLocationHint(e,!0)})),n||!U.isTrackingServerPopulated()){var i=S._getAudienceManagerURLData(),a=i.url;return S._getRemoteField(R,a,e,t,i)}}return""},S.getLocationHint=S.getAudienceManagerLocationHint,S.getAudienceManagerBlob=function(e,t){if(S.isAllowed()&&S.getMarketingCloudVisitorID(function(){S.getAudienceManagerBlob(e,!0)})){var n=S._getField(O);if(!n&&U.isTrackingServerPopulated()&&(n=S.getAnalyticsVisitorID(function(){S.getAudienceManagerBlob(e,!0)})),n||!U.isTrackingServerPopulated()){var i=S._getAudienceManagerURLData(),a=i.url;return S._customerIDsHashChanged&&S._setFieldExpire(N,-1),S._getRemoteField(N,a,e,t,i)}}return""},S._supplementalDataIDCurrent="",S._supplementalDataIDCurrentConsumed={},S._supplementalDataIDLast="",S._supplementalDataIDLastConsumed={},S.getSupplementalDataID=function(e,t){S._supplementalDataIDCurrent||t||(S._supplementalDataIDCurrent=S._generateID(1));var n=S._supplementalDataIDCurrent;return S._supplementalDataIDLast&&!S._supplementalDataIDLastConsumed[e]?(n=S._supplementalDataIDLast,S._supplementalDataIDLastConsumed[e]=!0):n&&(S._supplementalDataIDCurrentConsumed[e]&&(S._supplementalDataIDLast=S._supplementalDataIDCurrent,S._supplementalDataIDLastConsumed=S._supplementalDataIDCurrentConsumed,S._supplementalDataIDCurrent=n=t?"":S._generateID(1),S._supplementalDataIDCurrentConsumed={}),n&&(S._supplementalDataIDCurrentConsumed[e]=!0)),n},S.getOptOut=function(e,t){if(S.isAllowed()){var n=S._getAudienceManagerURLData("_setMarketingCloudFields"),i=n.url;return S._getRemoteField(P,i,e,t,n)}return""},S.isOptedOut=function(e,t,n){if(S.isAllowed()){t||(t=_.OptOut.GLOBAL);var i=S.getOptOut(function(n){var i=n===_.OptOut.GLOBAL||n.indexOf(t)>=0;S._callCallback(e,[i])},n);return i?i===_.OptOut.GLOBAL||i.indexOf(t)>=0:null}return!1},S._fields=null,S._fieldsExpired=null,S._hash=function(e){var t,n=0;if(e)for(t=0;t0;)S._callCallback(n.shift(),t)}},S._addQuerystringParam=function(e,t,n,i){var a=encodeURIComponent(t)+"="+encodeURIComponent(n),r=U.parseHash(e),o=U.hashlessUrl(e);if(-1===o.indexOf("?"))return o+"?"+a+r;var s=o.split("?"),c=s[0]+"?",l=s[1];return c+U.addQueryParamAtLocation(l,a,i)+r},S._extractParamFromUri=function(e,t){var n=new RegExp("[\\?&#]"+t+"=([^&#]*)").exec(e);if(n&&n.length)return decodeURIComponent(n[1])},S._parseAdobeMcFromUrl=a(m.ADOBE_MC),S._parseAdobeMcSdidFromUrl=a(m.ADOBE_MC_SDID),S._attemptToPopulateSdidFromUrl=function(t){var n=S._parseAdobeMcSdidFromUrl(t),i=1e9;n&&n.TS&&(i=U.getTimestampInSeconds()-n.TS),n&&n.SDID&&n[E]===e&&im.ADOBE_MC_TTL_IN_MIN||t[E]!==e)return;v(t)}},S._mergeServerState=function(e){function t(e){U.isObject(e)&&S.setCustomerIDs(e)}function n(e){return U.isObject(e)?e:JSON.parse(e)}if(e)try{if((e=n(e))[S.marketingCloudOrgID]){var i=e[S.marketingCloudOrgID];t(i.customerIDs),b(i.sdid)}}catch(e){throw new Error("`serverState` has an invalid format.")}},S._timeout=null,S._loadData=function(e,t,n,i){var a="d_fieldgroup";t=S._addQuerystringParam(t,a,e,1),i.url=S._addQuerystringParam(i.url,a,e,1),i.corsUrl=S._addQuerystringParam(i.corsUrl,a,e,1),q.fieldGroupObj[e]=!0,i===Object(i)&&i.corsUrl&&"XMLHttpRequest"===F.corsMetadata.corsType&&F.fireCORS(i,n,e)},S._clearTimeout=function(e){null!=S._timeout&&S._timeout[e]&&(clearTimeout(S._timeout[e]),S._timeout[e]=0)},S._settingsDigest=0,S._getSettingsDigest=function(){if(!S._settingsDigest){var e=S.version;S.audienceManagerServer&&(e+="|"+S.audienceManagerServer),S.audienceManagerServerSecure&&(e+="|"+S.audienceManagerServerSecure),S._settingsDigest=S._hash(e)}return S._settingsDigest},S._readVisitorDone=!1,S._readVisitor=function(){if(!S._readVisitorDone){S._readVisitorDone=!0;var e,t,n,i,a,r,o=S._getSettingsDigest(),s=!1,c=S.cookieRead(S.cookieName),l=new Date;if(null==S._fields&&(S._fields={}),c&&"T"!==c)for((c=c.split("|"))[0].match(/^[\-0-9]+$/)&&(parseInt(c[0],10)!==o&&(s=!0),c.shift()),c.length%2==1&&c.pop(),e=0;e1?(a=parseInt(t[1],10),r=t[1].indexOf("s")>0):(a=0,r=!1),s&&(n===L&&(i=""),a>0&&(a=l.getTime()/1e3-60)),n&&i&&(S._setField(n,i,1),a>0&&(S._fields["expire"+n]=a+(r?"s":""),(l.getTime()>=1e3*a||r&&!S.cookieRead(S.sessionCookieName))&&(S._fieldsExpired||(S._fieldsExpired={}),S._fieldsExpired[n]=!0)));!S._getField(O)&&U.isTrackingServerPopulated()&&((c=S.cookieRead("s_vi"))&&((c=c.split("|")).length>1&&c[0].indexOf("v1")>=0&&((e=(i=c[1]).indexOf("["))>=0&&(i=i.substring(0,e)),i&&i.match(m.VALID_VISITOR_ID_REGEX)&&S._setField(O,i))))}},S._appendVersionTo=function(e){var t="vVersion|"+S.version,n=e?S._getCookieVersion(e):null;return n?d.areVersionsDifferent(n,S.version)&&(e=e.replace(m.VERSION_REGEX,t)):e+=(e?"|":"")+t,e},S._writeVisitor=function(){var e,t,n=S._getSettingsDigest();for(e in S._fields)B(e)&&S._fields[e]&&"expire"!==e.substring(0,6)&&(t=S._fields[e],n+=(n?"|":"")+e+(S._fields["expire"+e]?"-"+S._fields["expire"+e]:"")+"|"+t);n=S._appendVersionTo(n),S.cookieWrite(S.cookieName,n,1)},S._getField=function(e,t){return null==S._fields||!t&&S._fieldsExpired&&S._fieldsExpired[e]?null:S._fields[e]},S._setField=function(e,t,n){null==S._fields&&(S._fields={}),S._fields[e]=t,n||S._writeVisitor()},S._getFieldList=function(e,t){var n=S._getField(e,t);return n?n.split("*"):null},S._setFieldList=function(e,t,n){S._setField(e,t?t.join("*"):"",n)},S._getFieldMap=function(e,t){var n=S._getFieldList(e,t);if(n){var i,a={};for(i=0;i0?e.substr(t):""},hashlessUrl:function(e){var t=e.indexOf("#");return t>0?e.substr(0,t):e},addQueryParamAtLocation:function(e,t,n){var i=e.split("&");return n=null!=n?n:i.length,i.splice(n,0,t),i.join("&")},isFirstPartyAnalyticsVisitorIDCall:function(e,t,n){return e===O&&(t||(t=S.trackingServer),n||(n=S.trackingServerSecure),!("string"!=typeof(i=S.loadSSL?n:t)||!i.length)&&i.indexOf("2o7.net")<0&&i.indexOf("omtrdc.net")<0);var i},isObject:function(e){return Boolean(e&&e===Object(e))},removeCookie:function(e){document.cookie=encodeURIComponent(e)+"=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;"+(S.cookieDomain?" domain="+S.cookieDomain+";":"")},isTrackingServerPopulated:function(){return!!S.trackingServer||!!S.trackingServerSecure},getTimestampInSeconds:function(){return Math.round((new Date).getTime()/1e3)},parsePipeDelimetedKeyValues:function(e){return e.split("|").reduce(function(e,t){var n=t.split("=");return e[n[0]]=decodeURIComponent(n[1]),e},{})},generateRandomString:function(e){e=e||5;for(var t="",n="abcdefghijklmnopqrstuvwxyz0123456789";e--;)t+=n[Math.floor(Math.random()*n.length)];return t},parseBoolean:function(e){return"true"===e||"false"!==e&&null},replaceMethodsWithFunction:function(e,t){for(var n in e)e.hasOwnProperty(n)&&"function"==typeof e[n]&&(e[n]=t);return e},pluck:function(e,t){return t.reduce(function(t,n){return e[n]&&(t[n]=e[n]),t},Object.create(null))}};S._helpers=U;var H=h(S,_);S._destinationPublishing=H,S.timeoutMetricsLog=[];var z,q={isClientSideMarketingCloudVisitorID:null,MCIDCallTimedOut:null,AnalyticsIDCallTimedOut:null,AAMIDCallTimedOut:null,fieldGroupObj:{},setState:function(e,t){switch(e){case I:!1===t?!0!==this.MCIDCallTimedOut&&(this.MCIDCallTimedOut=!1):this.MCIDCallTimedOut=t;break;case M:!1===t?!0!==this.AnalyticsIDCallTimedOut&&(this.AnalyticsIDCallTimedOut=!1):this.AnalyticsIDCallTimedOut=t;break;case x:!1===t?!0!==this.AAMIDCallTimedOut&&(this.AAMIDCallTimedOut=!1):this.AAMIDCallTimedOut=t}}};S.isClientSideMarketingCloudVisitorID=function(){return q.isClientSideMarketingCloudVisitorID},S.MCIDCallTimedOut=function(){return q.MCIDCallTimedOut},S.AnalyticsIDCallTimedOut=function(){return q.AnalyticsIDCallTimedOut},S.AAMIDCallTimedOut=function(){return q.AAMIDCallTimedOut},S.idSyncGetOnPageSyncInfo=function(){return S._readVisitor(),S._getField(V)},S.idSyncByURL=function(e){var t=w(e||{});if(t.error)return t.error;var n,i,a=e.url,r=encodeURIComponent,o=H;return a=a.replace(/^https:/,"").replace(/^http:/,""),n=l.encodeAndBuildRequest(["",e.dpid,e.dpuuid||""],","),i=["ibs",r(e.dpid),"img",r(a),t.ttl,"",n],o.addMessage(i.join("|")),o.requestToProcess(),"Successfully queued"},S.idSyncByDataSource=function(e){return e===Object(e)&&"string"==typeof e.dpuuid&&e.dpuuid.length?(e.url="//dpm.demdex.net/ibs:dpid="+e.dpid+"&dpuuid="+e.dpuuid,S.idSyncByURL(e)):"Error: config or config.dpuuid is empty"},S._getCookieVersion=function(e){e=e||S.cookieRead(S.cookieName);var t=m.VERSION_REGEX.exec(e);return t&&t.length>1?t[1]:null},S._resetAmcvCookie=function(e){var t=S._getCookieVersion();t&&!d.isLessThan(t,e)||U.removeCookie(S.cookieName)},S.setAsCoopSafe=function(){C=!0},S.setAsCoopUnsafe=function(){C=!1},S.init=function(){function n(){if(t&&"object"==typeof t){for(var e in S.configs=Object.create(null),t)B(e)&&(S[e]=t[e],S.configs[e]=t[e]);S.idSyncContainerID=S.idSyncContainerID||0,C="boolean"==typeof S.isCoopSafe?S.isCoopSafe:U.parseBoolean(S.isCoopSafe),S.resetBeforeVersion&&S._resetAmcvCookie(S.resetBeforeVersion),S._attemptToPopulateIdsFromUrl(),S._attemptToPopulateSdidFromUrl(),S._readVisitor();var n=S._getField(A),i=Math.ceil((new Date).getTime()/m.MILLIS_PER_DAY);S.idSyncDisableSyncs||S.disableIdSyncs||!H.canMakeSyncIDCall(n,i)||(S._setFieldExpire(N,-1),S._setField(A,i)),S.getMarketingCloudVisitorID(),S.getAudienceManagerLocationHint(),S.getAudienceManagerBlob(),S._mergeServerState(S.serverState)}else S._attemptToPopulateIdsFromUrl(),S._attemptToPopulateSdidFromUrl()}function i(){if(!S.idSyncDisableSyncs&&!S.disableIdSyncs){H.checkDPIframeSrc();var e=function(){var e=H;e.readyToAttachIframe()&&e.attachIframe()};D.addEventListener("load",function(){_.windowLoaded=!0,e()});try{p.receiveMessage(function(e){H.receiveMessage(e.data)},H.iframeHost)}catch(e){}}}function a(){S.whitelistIframeDomains&&m.POST_MESSAGE_ENABLED&&(S.whitelistIframeDomains=S.whitelistIframeDomains instanceof Array?S.whitelistIframeDomains:[S.whitelistIframeDomains],S.whitelistIframeDomains.forEach(function(t){var n=new r(e,t),i=o(S,n);p.receiveMessage(i,t)}))}n(),i(),a()}};v.getInstance=function(e,t){function i(){var t=n.s_c_il;if(t)for(var i=0;i0&&(i=!1)),{corsType:n,corsCookiesEnabled:i}),getCORSInstance:function(){return"none"===this.corsMetadata.corsType?null:new e[this.corsMetadata.corsType]},fireCORS:function(n,i){function a(t){var i;try{if((i=JSON.parse(t))!==Object(i))return void r.handleCORSError(n,null,"Response is not JSON")}catch(e){return void r.handleCORSError(n,e,"Error parsing response as JSON")}try{for(var a=n.callback,o=e,s=0;s=r&&(e.splice(a,1),a--);return{dataPresent:o,dataValid:s}},manageSyncsSize:function(e){if(e.join("*").length>this.MAX_SYNCS_LENGTH)for(e.sort(function(e,t){return parseInt(e.split("-")[1],10)-parseInt(t.split("-")[1],10)});e.join("*").length>this.MAX_SYNCS_LENGTH;)e.shift()},fireSync:function(t,n,i,a,r,o){var s=this;if(t){if("img"===n.tag){var c,l,u,d,p=n.url,f=e.loadSSL?"https:":"http:";for(c=0,l=p.length;ci.DAYS_BETWEEN_SYNC_ID_CALLS},attachIframeASAP:function(){function e(){t.startedAttachingIframe||(l.body?t.attachIframe():setTimeout(e,30))}var t=this;e()}}}}).call(this,"undefined"!=typeof window&&"undefined"!=typeof global&&window.global===global?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../utils/constants":14,"../utils/utils":18,"./crossDomain":8}],11:[function(e,t){function n(e){for(var t=/^\d+$/,n=0,i=e.length;na)return 1;if(a>i)return-1}return 0}function r(e,t){if(e===t)return 0;var r=e.toString().split("."),o=t.toString().split(".");return n(r.concat(o))?(i(r,o),a(r,o)):NaN}t.exports={compare:r,isLessThan:function(e,t){return r(e,t)<0},areVersionsDifferent:function(e,t){return 0!==r(e,t)},isGreaterThan:function(e,t){return r(e,t)>0},isEqual:function(e,t){return 0===r(e,t)}}},{}],12:[function(e,t){t.exports=function(e,t){function n(e){return function(n){i[e]=n,++a===r&&t(i)}}var i={},a=0,r=Object.keys(e).length;Object.keys(e).forEach(function(t){var i=e[t];if(i.fn){var a=i.args||[];a.unshift(n(t)),i.fn.apply(i.context||null,a)}})}},{}],13:[function(e,t){function n(){return{callbacks:{},add:function(e,t){this.callbacks[e]=this.callbacks[e]||[];var n=this.callbacks[e].push(t)-1;return function(){this.callbacks[e].splice(n,1)}},execute:function(e,t){if(this.callbacks[e]){t=(t=void 0===t?[]:t)instanceof Array?t:[t];try{for(;this.callbacks[e].length;){var n=this.callbacks[e].shift();"function"==typeof n?n.apply(null,t):n instanceof Array&&n[1].apply(n[0],t)}delete this.callbacks[e]}catch(e){}}},executeAll:function(e,t){(t||e&&!i.isObjectEmpty(e))&&Object.keys(this.callbacks).forEach(function(t){var n=void 0!==e[t]?e[t]:"";this.execute(t,n)},this)},hasCallbacks:function(){return Boolean(Object.keys(this.callbacks).length)}}}var i=e("./utils");t.exports=n},{"./utils":18}],14:[function(e,t){(function(e){t.exports={POST_MESSAGE_ENABLED:!!e.postMessage,DAYS_BETWEEN_SYNC_ID_CALLS:1,MILLIS_PER_DAY:864e5,ADOBE_MC:"adobe_mc",ADOBE_MC_SDID:"adobe_mc_sdid",VALID_VISITOR_ID_REGEX:/^[0-9a-fA-F\-]+$/,ADOBE_MC_TTL_IN_MIN:5,VERSION_REGEX:/vVersion\|((\d+\.)?(\d+\.)?(\*|\d+))(?=$|\|)/}}).call(this,"undefined"!=typeof window&&"undefined"!=typeof global&&window.global===global?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],15:[function(e,t,n){n.MESSAGES={HANDSHAKE:"HANDSHAKE",GETSTATE:"GETSTATE",PARENTSTATE:"PARENTSTATE"},n.STATE_KEYS_MAP={MCMID:"MCMID",MCAID:"MCAID",MCAAMB:"MCAAMB",MCAAMLH:"MCAAMLH",MCOPTOUT:"MCOPTOUT",CUSTOMERIDS:"CUSTOMERIDS"},n.ASYNC_API_MAP={MCMID:"getMarketingCloudVisitorID",MCAID:"getAnalyticsVisitorID",MCAAMB:"getAudienceManagerBlob",MCAAMLH:"getAudienceManagerLocationHint",MCOPTOUT:"getOptOut"},n.SYNC_API_MAP={CUSTOMERIDS:"getCustomerIDs"},n.ALL_APIS={MCMID:"getMarketingCloudVisitorID",MCAAMB:"getAudienceManagerBlob",MCAAMLH:"getAudienceManagerLocationHint",MCOPTOUT:"getOptOut",MCAID:"getAnalyticsVisitorID",CUSTOMERIDS:"getCustomerIDs"},n.FIELDGROUP_TO_FIELD={MC:"MCMID",A:"MCAID",AAM:"MCAAMB"},n.FIELDS={MCMID:"MCMID",MCOPTOUT:"MCOPTOUT",MCAID:"MCAID",MCAAMLH:"MCAAMLH",MCAAMB:"MCAAMB"},n.AUTH_STATE={UNKNOWN:0,AUTHENTICATED:1,LOGGED_OUT:2},n.OPT_OUT={GLOBAL:"global"}},{}],16:[function(e,t){(function(e){t.exports=function(t){var n;if(!t&&e.location&&(t=e.location.hostname),n=t)if(/^[0-9.]+$/.test(n))n="";else{var i=",ac,ad,ae,af,ag,ai,al,am,an,ao,aq,ar,as,at,au,aw,ax,az,ba,bb,be,bf,bg,bh,bi,bj,bm,bo,br,bs,bt,bv,bw,by,bz,ca,cc,cd,cf,cg,ch,ci,cl,cm,cn,co,cr,cu,cv,cw,cx,cz,de,dj,dk,dm,do,dz,ec,ee,eg,es,et,eu,fi,fm,fo,fr,ga,gb,gd,ge,gf,gg,gh,gi,gl,gm,gn,gp,gq,gr,gs,gt,gw,gy,hk,hm,hn,hr,ht,hu,id,ie,im,in,io,iq,ir,is,it,je,jo,jp,kg,ki,km,kn,kp,kr,ky,kz,la,lb,lc,li,lk,lr,ls,lt,lu,lv,ly,ma,mc,md,me,mg,mh,mk,ml,mn,mo,mp,mq,mr,ms,mt,mu,mv,mw,mx,my,na,nc,ne,nf,ng,nl,no,nr,nu,nz,om,pa,pe,pf,ph,pk,pl,pm,pn,pr,ps,pt,pw,py,qa,re,ro,rs,ru,rw,sa,sb,sc,sd,se,sg,sh,si,sj,sk,sl,sm,sn,so,sr,st,su,sv,sx,sy,sz,tc,td,tf,tg,th,tj,tk,tl,tm,tn,to,tp,tr,tt,tv,tw,tz,ua,ug,uk,us,uy,uz,va,vc,ve,vg,vi,vn,vu,wf,ws,yt,",a=n.split("."),r=a.length-1,o=r-1;if(r>1&&a[r].length<=2&&(2===a[r-1].length||i.indexOf(","+a[r]+",")<0)&&o--,o>0)for(n="";r>=o;)n=a[r]+(n?".":"")+n,r--}return n}}).call(this,"undefined"!=typeof window&&"undefined"!=typeof global&&window.global===global?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],17:[function(){Object.assign=Object.assign||function(e){for(var t,n,i=1;i4;e--){var t=document.createElement("div");if(t.innerHTML="",t.getElementsByTagName("span").length)return t=null,e;t=null}return null},n.encodeAndBuildRequest=function(e,t){return e.map(encodeURIComponent).join(t)}},{}],19:[function(e,t){t.exports=function(e){var t,n,i="0123456789",a="",r="",o=8,s=10,c=10;if(1==e){for(i+="ABCDEF",t=0;16>t;t++)n=Math.floor(Math.random()*o),a+=i.substring(n,n+1),n=Math.floor(Math.random()*o),r+=i.substring(n,n+1),o=16;return a+"-"+r}for(t=0;19>t;t++)n=Math.floor(Math.random()*s),a+=i.substring(n,n+1),0===t&&9==n?s=3:(1==t||2==t)&&10!=s&&2>n?s=10:2n?c=10:20&&E.domReady(E.bind(this.initialize,this))}function a(t){E.domReady(E.bind(function(){this.twttr=t||e.twttr,this.initialize()},this))}function r(){this.lastURL=E.URL(),this._fireIfURIChanged=E.bind(this.fireIfURIChanged,this),this._onPopState=E.bind(this.onPopState,this),this._onHashChange=E.bind(this.onHashChange,this),this._pushState=E.bind(this.pushState,this),this._replaceState=E.bind(this.replaceState,this),this.initialize()}function o(){var e=E.filter(E.rules,function(e){return 0===e.event.indexOf("dataelementchange")});this.dataElementsNames=E.map(e,function(e){return e.event.match(/dataelementchange\((.*)\)/i)[1]},this),this.initPolling()}function c(){E.addEventHandler(e,"orientationchange",c.orientationChange)}function l(){this.rules=E.filter(E.rules,function(e){return"videoplayed"===e.event.substring(0,11)}),this.eventHandler=E.bind(this.onUpdateTime,this)}function u(){this.defineEvents(),this.visibilityApiHasPriority=!0,t.addEventListener?this.setVisibilityApiPriority(!1):this.attachDetachOlderEventListeners(!0,t,"focusout");E.bindEvent("aftertoolinit",function(){E.fireEvent(E.visibility.isHidden()?"tabblur":"tabfocus")})}function d(t){t=t||E.rules,this.rules=E.filter(t,function(e){return"inview"===e.event}),this.elements=[],this.eventHandler=E.bind(this.track,this),E.addEventHandler(e,"scroll",this.eventHandler),E.addEventHandler(e,"load",this.eventHandler)}function p(){this.rules=E.filter(E.rules,function(e){return"elementexists"===e.event})}function f(e){this.delay=250,this.FB=e,E.domReady(E.bind(function(){E.poll(E.bind(this.initialize,this),this.delay,8)},this))}function g(){var e=this.eventRegex=/^hover\(([0-9]+)\)$/,t=this.rules=[];E.each(E.rules,function(n){n.event.match(e)&&t.push([Number(n.event.match(e)[1]),n.selector])})}function h(e){E.BaseTool.call(this,e),this.defineListeners(),this.beaconMethod="plainBeacon",this.adapt=new h.DataAdapters,this.dataProvider=new h.DataProvider.Aggregate}function m(e){E.BaseTool.call(this,e),this.styleElements={},this.targetPageParamsStore={}}function v(){E.BaseTool.call(this),this.asyncScriptCallbackQueue=[],this.argsForBlockingScripts=[]}function b(e){E.BaseTool.call(this,e),this.varBindings={},this.events=[],this.products=[],this.customSetupFuns=[]}function y(e){E.BaseTool.call(this,e),this.name=e.name||"Basic"}function w(e){E.BaseTool.call(this,e)}function S(e){E.BaseTool.call(this,e)}function D(e){E.BaseTool.call(this,e),this.name=e.name||"VisitorID",this.initialize()}var _,k,C,I=Object.prototype.toString,T=e._satellite&&e._satellite.override,E={initialized:!1,$data:function(e,t,i){if(e){var a="__satellite__",r=E.dataCache,o=e[a];o||(o=e[a]=E.uuid++);var s=r[o];if(s||(s=r[o]={}),i===n)return s[t];s[t]=i}},uuid:1,dataCache:{},keys:function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t},values:function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(e[n]);return t},isArray:Array.isArray||function(e){return"[object Array]"===I.apply(e)},isObject:function(e){return null!=e&&!E.isArray(e)&&"object"==typeof e},isString:function(e){return"string"==typeof e},isNumber:function(e){return"[object Number]"===I.apply(e)&&!E.isNaN(e)},isNaN:function(e){return e!=e},isRegex:function(e){return e instanceof RegExp},isLinkTag:function(e){return!(!e||!e.nodeName||"a"!==e.nodeName.toLowerCase())},each:function(e,t,n){for(var i=0,a=e.length;i";t.push(e)}if(E.isArray(e))return"["+E.map(e,function(e){return E.stringify(e,t)}).join(",")+"]";if(E.isString(e))return'"'+String(e)+'"';if(E.isObject(e)){var n=[];for(var i in e)e.hasOwnProperty(i)&&n.push(i+": "+E.stringify(e[i],t));return"{"+n.join(", ")+"}"}return String(e)},trim:function(e){return null==e?null:e.trim?e.trim():e.replace(/^ */,"").replace(/ *$/,"")},bind:function(e,t){return function(){return e.apply(t,arguments)}},throttle:function(e,t){var n=null;return function(){var i=this,a=arguments;clearTimeout(n),n=setTimeout(function(){e.apply(i,a)},t)}},domReady:function(e){function n(e){for(p=1;e=a.shift();)e()}var i,a=[],r=!1,o=t,s=o.documentElement,c=s.doScroll,l="DOMContentLoaded",u="addEventListener",d="onreadystatechange",p=/^loade|^c/.test(o.readyState);return o[u]&&o[u](l,i=function(){o.removeEventListener(l,i,r),n()},r),c&&o.attachEvent(d,i=function(){/^c/.test(o.readyState)&&(o.detachEvent(d,i),n())}),e=c?function(t){self!=top?p?t():a.push(t):function(){try{s.doScroll("left")}catch(n){return setTimeout(function(){e(t)},50)}t()}()}:function(e){p?e():a.push(e)}}(),loadScript:function(e,n){var i=t.createElement("script");E.scriptOnLoad(e,i,n),i.src=e,t.getElementsByTagName("head")[0].appendChild(i)},scriptOnLoad:function(e,t,n){function i(e){e&&E.logError(e),n&&n(e)}"onload"in t?(t.onload=function(){i()},t.onerror=function(){i(new Error("Failed to load script "+e))}):"readyState"in t&&(t.onreadystatechange=function(){var e=t.readyState;"loaded"!==e&&"complete"!==e||(t.onreadystatechange=null,i())})},loadScriptOnce:function(e,t){E.loadedScriptRegistry[e]||E.loadScript(e,function(n){n||(E.loadedScriptRegistry[e]=!0),t&&t(n)})},loadedScriptRegistry:{},loadScriptSync:function(e){t.write?E.domReadyFired?E.notify('Cannot load sync the "'+e+'" script after DOM Ready.',1):(e.indexOf('"')>-1&&(e=encodeURI(e)),t.write('')):E.notify('Cannot load sync the "'+e+'" script because "document.write" is not available',1)},pushAsyncScript:function(e){E.tools["default"].pushAsyncScript(e)},pushBlockingScript:function(e){E.tools["default"].pushBlockingScript(e)},addEventHandler:e.addEventListener?function(e,t,n){e.addEventListener(t,n,!1)}:function(e,t,n){e.attachEvent("on"+t,n)},removeEventHandler:e.removeEventListener?function(e,t,n){e.removeEventListener(t,n,!1)}:function(e,t,n){e.detachEvent("on"+t,n)},preventDefault:e.addEventListener?function(e){e.preventDefault()}:function(e){e.returnValue=!1},stopPropagation:function(e){e.cancelBubble=!0,e.stopPropagation&&e.stopPropagation()},containsElement:function(e,t){return e.contains?e.contains(t):!!(16&e.compareDocumentPosition(t))},matchesCss:function(n){function i(e,t){var n=t.tagName;return!!n&&e.toLowerCase()===n.toLowerCase()}var a=n.matchesSelector||n.mozMatchesSelector||n.webkitMatchesSelector||n.oMatchesSelector||n.msMatchesSelector;return a?function(n,i){if(i===t||i===e)return!1;try{return a.call(i,n)}catch(r){return!1}}:n.querySelectorAll?function(e,t){if(!t.parentNode)return!1;if(e.match(/^[a-z]+$/i))return i(e,t);try{for(var n=t.parentNode.querySelectorAll(e),a=n.length;a--;)if(n[a]===t)return!0}catch(r){}return!1}:function(e,t){if(e.match(/^[a-z]+$/i))return i(e,t);try{return E.Sizzle.matches(e,[t]).length>0}catch(n){return!1}}}(t.documentElement),cssQuery:(_=t,_.querySelectorAll?function(e,t){var n;try{n=_.querySelectorAll(e)}catch(i){n=[]}t(n)}:function(e,t){if(E.Sizzle){var n;try{n=E.Sizzle(e)}catch(i){n=[]}t(n)}else E.sizzleQueue.push([e,t])}),hasAttr:function(e,t){return e.hasAttribute?e.hasAttribute(t):e[t]!==n},inherit:function(e,t){var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e},extend:function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},toArray:function(){try{var e=Array.prototype.slice;return e.call(t.documentElement.childNodes,0)[0].nodeType,function(t){return e.call(t,0)}}catch(n){return function(e){for(var t=[],n=0,i=e.length;n=n||e()||setTimeout(i,t)}var a=0;t=t||1e3,i()},escapeForHtml:function(e){return e?String(e).replace(/\&/g,"&").replace(/\/g,">").replace(/\"/g,""").replace(/\'/g,"'").replace(/\//g,"/"):e}};E.availableTools={},E.availableEventEmitters=[],E.fireOnceEvents=["condition","elementexists"],E.initEventEmitters=function(){E.eventEmitters=E.map(E.availableEventEmitters,function(e){return new e})},E.eventEmitterBackgroundTasks=function(){E.each(E.eventEmitters,function(e){"backgroundTasks"in e&&e.backgroundTasks()})},E.initTools=function(e){var t={"default":new v},n=E.settings.euCookieName||"sat_track";for(var i in e)if(e.hasOwnProperty(i)){var a,r,o;if((a=e[i]).euCookie)if("true"!==E.readCookie(n))continue;if(!(r=E.availableTools[a.engine])){var s=[];for(var c in E.availableTools)E.availableTools.hasOwnProperty(c)&&s.push(c);throw new Error("No tool engine named "+a.engine+", available: "+s.join(",")+".")}(o=new r(a)).id=i,t[i]=o}return t},E.preprocessArguments=function(e,t,n,i,a){function r(e){return i&&E.isString(e)?e.toLowerCase():e}function o(e){var c={};for(var l in e)if(e.hasOwnProperty(l)){var u=e[l];E.isObject(u)?c[l]=o(u):E.isArray(u)?c[l]=s(u,i):c[l]=r(E.replace(u,t,n,a))}return c}function s(e){for(var i=[],a=0,s=e.length;athis.keepLimit&&this.messages.shift(),this.outputEnabled&&this.echo(n,e)},getHistory:function(){return this.messages},clearHistory:function(){this.messages=[]},setOutputState:function(e){this.outputEnabled!=e&&(this.outputEnabled=e,e?this.flush():this.flushed=!1)},echo:function(t,n){e.console&&e.console[t]("SATELLITE: "+n)},flush:function(){this.flushed||(E.each(this.messages,function(e){!0!==e[2]&&(this.echo(e[0],e[1]),e[2]=!0)},this),this.flushed=!0)}},E.notify=E.bind(E.Logger.message,E.Logger),E.cleanText=function(e){return null==e?null:E.trim(e).replace(/\s+/g," ")},E.cleanText.legacy=function(e){return null==e?null:E.trim(e).replace(/\s{2,}/g," ").replace(/[^\000-\177]*/g,"")},E.text=function(e){return e.textContent||e.innerText},E.specialProperties={text:E.text,cleanText:function(e){return E.cleanText(E.text(e))}},E.getObjectProperty=function(e,t,i){for(var a,r=t.split("."),o=e,s=E.specialProperties,c=0,l=r.length;c2){var n=arguments[2];"pageview"===t?E.dataElementSafe.pageviewCache[e]=n:"session"===t?E.setCookie("_sdsat_"+e,n):"visitor"===t&&E.setCookie("_sdsat_"+e,n,730)}else{if("pageview"===t)return E.dataElementSafe.pageviewCache[e];if("session"===t||"visitor"===t)return E.readCookie("_sdsat_"+e)}},E.dataElementSafe.pageviewCache={},E.realGetDataElement=function(t){var n;return t.selector?E.hasSelector&&E.cssQuery(t.selector,function(e){if(e.length>0){var i=e[0];"text"===t.property?n=i.innerText||i.textContent:t.property in i?n=i[t.property]:E.hasAttr(i,t.property)&&(n=i.getAttribute(t.property))}}):t.queryParam?n=t.ignoreCase?E.getQueryParamCaseInsensitive(t.queryParam):E.getQueryParam(t.queryParam):t.cookie?n=E.readCookie(t.cookie):t.jsVariable?n=E.getObjectProperty(e,t.jsVariable):t.customJS?n=t.customJS():t.contextHub&&(n=t.contextHub()),E.isString(n)&&t.cleanText&&(n=E.cleanText(n)),n},E.getDataElement=function(e,t,i){if(null==(i=i||E.dataElements[e]))return E.settings.undefinedVarsReturnEmpty?"":null;var a=E.realGetDataElement(i);return a===n&&i.storeLength?a=E.dataElementSafe(e,i.storeLength):a!==n&&i.storeLength&&E.dataElementSafe(e,i.storeLength,a),a||t||(a=i["default"]||""),E.isString(a)&&i.forceLowerCase&&(a=a.toLowerCase()),a},E.getVar=function(i,a,r){var o,s,c=E.data.customVars,l=r?r.target||r.srcElement:null,u={uri:E.URI(),protocol:t.location.protocol,hostname:t.location.hostname};if(E.dataElements&&i in E.dataElements)return E.getDataElement(i);if((s=u[i.toLowerCase()])===n)if("this."===i.substring(0,5))i=i.slice(5),s=E.getObjectProperty(a,i,!0);else if("event."===i.substring(0,6))i=i.slice(6),s=E.getObjectProperty(r,i);else if("target."===i.substring(0,7))i=i.slice(7),s=E.getObjectProperty(l,i);else if("window."===i.substring(0,7))i=i.slice(7),s=E.getObjectProperty(e,i);else if("param."===i.substring(0,6))i=i.slice(6),s=E.getQueryParam(i);else if(o=i.match(/^rand([0-9]+)$/)){var d=Number(o[1]),p=(Math.random()*(Math.pow(10,d)-1)).toFixed(0);s=Array(d-p.length+1).join("0")+p}else s=E.getObjectProperty(c,i);return s},E.getVars=function(e,t,n){var i={};return E.each(e,function(e){i[e]=E.getVar(e,t,n)}),i},E.replace=function(e,t,n,i){return"string"!=typeof e?e:e.replace(/%(.*?)%/g,function(e,a){var r=E.getVar(a,t,n);return null==r?E.settings.undefinedVarsReturnEmpty?"":e:i?E.escapeForHtml(r):r})},E.escapeHtmlParams=function(e){return e.escapeHtml=!0,e},E.searchVariables=function(e,t,n){if(!e||0===e.length)return"";for(var i=[],a=0,r=e.length;a0)return!1;if(e.expired)return!1;if("inview"===s&&t.inviewDelay!==e.inviewDelay)return!1;if(!u&&(!1===e.bubbleFireIfParent||0!==i&&!1===e.bubbleFireIfChildFired))return!1;if(e.selector&&!E.matchesCss(e.selector,n))return!1;if(!E.propertiesMatch(o,n))return!1;if(null!=c)if("string"==typeof c){if(c!==n.value)return!1}else if(!c.test(n.value))return!1;if(a)try{if(!a.call(n,t,l))return E.notify('Condition for rule "'+e.name+'" not met.',1),!1}catch(p){return E.notify('Condition for rule "'+e.name+'" not met. Error: '+p.message,1),!1}if(r){var d=E.find(r,function(i){try{return!i.call(n,t,l)}catch(p){return E.notify('Condition for rule "'+e.name+'" not met. Error: '+p.message,1),!0}});if(d)return E.notify("Condition "+d.toString()+' for rule "'+e.name+'" not met.',1),!1}return!0},E.evtHandlers={},E.bindEvent=function(e,t){var n=E.evtHandlers;n[e]||(n[e]=[]),n[e].push(t)},E.whenEvent=E.bindEvent,E.unbindEvent=function(e,t){var n=E.evtHandlers;if(n[e]){var i=E.indexOf(n[e],t);n[e].splice(i,1)}},E.bindEventOnce=function(e,t){var n=function(){E.unbindEvent(e,n),t.apply(null,arguments)};E.bindEvent(e,n)},E.isVMLPoisoned=function(e){if(!e)return!1;try{e.nodeName}catch(t){if("Attribute only valid on v:image"===t.message)return!0}return!1},E.handleEvent=function(e){if(!E.$data(e,"eventProcessed")){var t=e.type.toLowerCase(),n=e.target||e.srcElement,i=0,a=E.rules,r=(E.tools,E.evtHandlers[e.type]);if(E.isVMLPoisoned(n))E.notify("detected "+t+" on poisoned VML element, skipping.",1);else{r&&E.each(r,function(t){t(e)}),n&&n.nodeName?E.notify("detected "+t+" on "+n.nodeName,1):E.notify("detected "+t,1);for(var o=n;o;o=o.parentNode){var s=!1;if(E.each(a,function(t){E.ruleMatches(t,e,o,i)&&(E.notify('Rule "'+t.name+'" fired.',1),E.fireRule(t,o,e),i++,t.bubbleStop&&(s=!0))}),s)break}E.$data(e,"eventProcessed",!0)}}},E.onEvent=t.querySelectorAll?function(e){E.handleEvent(e)}:(k=[],(C=function(e){e.selector?k.push(e):E.handleEvent(e)}).pendingEvents=k,C),E.fireEvent=function(e,t){E.onEvent({type:e,target:t})},E.registerEvents=function(e,t){for(var n=t.length-1;n>=0;n--){var i=t[n];E.$data(e,i+".tracked")||(E.addEventHandler(e,i,E.onEvent),E.$data(e,i+".tracked",!0))}},E.registerEventsForTags=function(e,n){for(var i=e.length-1;i>=0;i--)for(var a=e[i],r=t.getElementsByTagName(a),o=r.length-1;o>=0;o--)E.registerEvents(r[o],n)},E.setListeners=function(){var e=["click","submit"];E.each(E.rules,function(t){"custom"===t.event&&t.hasOwnProperty("customEvent")&&!E.contains(e,t.customEvent)&&e.push(t.customEvent)}),E.registerEvents(t,e)},E.getUniqueRuleEvents=function(){return E._uniqueRuleEvents||(E._uniqueRuleEvents=[],E.each(E.rules,function(e){-1===E.indexOf(E._uniqueRuleEvents,e.event)&&E._uniqueRuleEvents.push(e.event)})),E._uniqueRuleEvents},E.setFormListeners=function(){if(!E._relevantFormEvents){var e=["change","focus","blur","keypress"];E._relevantFormEvents=E.filter(E.getUniqueRuleEvents(),function(t){return-1!==E.indexOf(e,t)})}E._relevantFormEvents.length&&E.registerEventsForTags(["input","select","textarea","button"],E._relevantFormEvents)},E.setVideoListeners=function(){if(!E._relevantVideoEvents){var e=["play","pause","ended","volumechange","stalled","loadeddata"];E._relevantVideoEvents=E.filter(E.getUniqueRuleEvents(),function(t){return-1!==E.indexOf(e,t)})}E._relevantVideoEvents.length&&E.registerEventsForTags(["video"],E._relevantVideoEvents)},E.readStoredSetting=function(t){try{return t="sdsat_"+t,e.localStorage.getItem(t)}catch(n){return E.notify("Cannot read stored setting from localStorage: "+n.message,2),null}},E.loadStoredSettings=function(){var e=E.readStoredSetting("debug"),t=E.readStoredSetting("hide_activity");e&&(E.settings.notifications="true"===e),t&&(E.settings.hideActivity="true"===t)},E.isRuleActive=function(e,t){function n(e,t){return t=a(t,{hour:e[f](),minute:e[g]()}),Math.floor(Math.abs((e.getTime()-t.getTime())/864e5))}function i(e,t){function n(e){return 12*e[d]()+e[p]()}return Math.abs(n(e)-n(t))}function a(e,t){var n=new Date(e.getTime());for(var i in t)if(t.hasOwnProperty(i)){var a=t[i];switch(i){case"hour":n[h](a);break;case"minute":n[m](a);break;case"date":n[v](a)}}return n}function r(e,t){return 60*e[f]()+e[g]()>60*t[f]()+t[g]()}function o(e,t){return 60*e[f]()+e[g]()<60*t[f]()+t[g]()}var s=e.schedule;if(!s)return!0;var c=s.utc,l=c?"getUTCDate":"getDate",u=c?"getUTCDay":"getDay",d=c?"getUTCFullYear":"getFullYear",p=c?"getUTCMonth":"getMonth",f=c?"getUTCHours":"getHours",g=c?"getUTCMinutes":"getMinutes",h=c?"setUTCHours":"setHours",m=c?"setUTCMinutes":"setMinutes",v=c?"setUTCDate":"setDate";if(t=t||new Date,s.repeat){if(r(s.start,t))return!1;if(o(s.end,t))return!1;if(t=s.endRepeat)return!1;if("daily"===s.repeat){if(s.repeatEvery)if(n(s.start,t)%s.repeatEvery!=0)return!1}else if("weekly"===s.repeat){if(s.days){if(!E.contains(s.days,t[u]()))return!1}else if(s.start[u]()!==t[u]())return!1;if(s.repeatEvery)if(n(s.start,t)%(7*s.repeatEvery)!=0)return!1}else if("monthly"===s.repeat){if(s.repeatEvery)if(i(s.start,t)%s.repeatEvery!=0)return!1;if(s.nthWeek&&s.mthDay){if(s.mthDay!==t[u]())return!1;var b=Math.floor((t[l]()-t[u]()+1)/7);if(s.nthWeek!==b)return!1}else if(s.start[l]()!==t[l]())return!1}else if("yearly"===s.repeat){if(s.start[p]()!==t[p]())return!1;if(s.start[l]()!==t[l]())return!1;if(s.repeatEvery)if(Math.abs(s.start[d]()-t[d]())%s.repeatEvery!=0)return!1}}else{if(s.start>t)return!1;if(s.end0&&E.equalsIgnoreCase(e.substring(n),t)},E.getVisitorId=function(){var e=E.getToolsByType("visitor_id");return 0===e.length?null:e[0].getInstance()},E.URI=function(){var e=t.location.pathname+t.location.search;return E.settings.forceLowerCase&&(e=e.toLowerCase()),e},E.URL=function(){var e=t.location.href;return E.settings.forceLowerCase&&(e=e.toLowerCase()),e},E.filterRules=function(){function e(e){return!!E.isRuleActive(e)}E.rules=E.filter(E.rules,e),E.pageLoadRules=E.filter(E.pageLoadRules,e)},E.ruleInScope=function(e,n){function i(e,t){function n(e){return t.match(e)}var i=e.include,r=e.exclude;if(i&&a(i,t))return!0;if(r){if(E.isString(r)&&r===t)return!0;if(E.isArray(r)&&E.any(r,n))return!0;if(E.isRegex(r)&&n(r))return!0}return!1}function a(e,t){function n(e){return t.match(e)}return!(!E.isString(e)||e===t)||(!(!E.isArray(e)||E.any(e,n))||!(!E.isRegex(e)||n(e)))}n=n||t.location;var r=e.scope;if(!r)return!0;var o=r.URI,s=r.subdomains,c=r.domains,l=r.protocols,u=r.hashes;return(!o||!i(o,n.pathname+n.search))&&((!s||!i(s,n.hostname))&&((!c||!a(c,n.hostname))&&((!l||!a(l,n.protocol))&&(!u||!i(u,n.hash)))))},E.backgroundTasks=function(){new Date;E.setFormListeners(),E.setVideoListeners(),E.loadStoredSettings(),E.registerNewElementsForDynamicRules(),E.eventEmitterBackgroundTasks();new Date},E.registerNewElementsForDynamicRules=function(){function e(t,n){var i=e.cache[t];if(i)return n(i);E.cssQuery(t,function(i){e.cache[t]=i,n(i)})}e.cache={},E.each(E.dynamicRules,function(t){e(t.selector,function(e){E.each(e,function(e){var n="custom"===t.event?t.customEvent:t.event;E.$data(e,"dynamicRules.seen."+n)||(E.$data(e,"dynamicRules.seen."+n,!0),E.propertiesMatch(t.property,e)&&E.registerEvents(e,[n]))})})})},E.ensureCSSSelector=function(){t.querySelectorAll?E.hasSelector=!0:(E.loadingSizzle=!0,E.sizzleQueue=[],E.loadScript(E.basePath()+"selector.js",function(){if(E.Sizzle){var e=E.onEvent.pendingEvents;E.each(e,function(e){E.handleEvent(e)},this),E.onEvent=E.handleEvent,E.hasSelector=!0,delete E.loadingSizzle,E.each(E.sizzleQueue,function(e){E.cssQuery(e[0],e[1])}),delete E.sizzleQueue}else E.logError(new Error("Failed to load selector.js"))}))},E.errors=[],E.logError=function(e){E.errors.push(e),E.notify(e.name+" - "+e.message,5)},E.pageBottom=function(){E.initialized&&(E.pageBottomFired=!0,E.firePageLoadEvent("pagebottom"))},E.stagingLibraryOverride=function(){if("true"===E.readStoredSetting("stagingLibrary")){for(var e,n,i,a=t.getElementsByTagName("script"),r=/^(.*)satelliteLib-([a-f0-9]{40})\.js$/,o=/^(.*)satelliteLib-([a-f0-9]{40})-staging\.js$/,s=0,c=a.length;s');else{var u=t.createElement("script");u.src=l,t.head.appendChild(u)}return!0}}return!1},E.checkAsyncInclude=function(){e.satellite_asyncLoad&&E.notify('You may be using the async installation of Satellite. In-page HTML and the "pagebottom" event will not work. Please update your Satellite installation for these features.',5)},E.hasMultipleDomains=function(){return!!E.settings.domainList&&E.settings.domainList.length>1},E.handleOverrides=function(){if(T)for(var e in T)T.hasOwnProperty(e)&&(E.data[e]=T[e])},E.privacyManagerParams=function(){var e={};E.extend(e,E.settings.privacyManagement);var t=[];for(var n in E.tools)if(E.tools.hasOwnProperty(n)){var i=E.tools[n],a=i.settings;if(!a)continue;"sc"===a.engine&&t.push(i)}var r=E.filter(E.map(t,function(e){return e.getTrackingServer()}),function(e){return null!=e});e.adobeAnalyticsTrackingServers=r;for(var o=["bannerText","headline","introductoryText","customCSS"],s=0;si+a||n+t=0;e--)this.checkInView(this.elements[e])},processRules:function(e,t,n){var i=this.rules;n&&(i=E.filter(this.rules,function(e){return e.inviewDelay==n})),E.each(i,function(n,i){var a=n.inviewDelay?"viewed_"+n.inviewDelay:"viewed",r="inview_timeout_id_"+i;E.$data(e,a)||E.matchesCss(n.selector,e)&&t(n,a,r)})}},E.availableEventEmitters.push(d),p.prototype.backgroundTasks=function(){E.each(this.rules,function(e){E.cssQuery(e.selector,function(e){if(e.length>0){var t=e[0];if(E.$data(t,"elementexists.seen"))return;E.$data(t,"elementexists.seen",!0),E.onEvent({type:"elementexists",target:t})}})})},E.availableEventEmitters.push(p),f.prototype={initialize:function(){if(this.FB=this.FB||e.FB,this.FB&&this.FB.Event&&this.FB.Event.subscribe)return this.bind(),!0},bind:function(){this.FB.Event.subscribe("edge.create",function(){E.notify("tracking a facebook like",1),E.onEvent({type:"facebook.like",target:t})}),this.FB.Event.subscribe("edge.remove",function(){E.notify("tracking a facebook unlike",1),E.onEvent({type:"facebook.unlike",target:t})}),this.FB.Event.subscribe("message.send",function(){E.notify("tracking a facebook share",1),E.onEvent({type:"facebook.send",target:t})})}},E.availableEventEmitters.push(f),g.prototype={backgroundTasks:function(){var e=this;E.each(this.rules,function(t){var n=t[1],i=t[0];E.cssQuery(n,function(t){E.each(t,function(t){e.trackElement(t,i)})})},this)},trackElement:function(e,t){var n=this,i=E.$data(e,"hover.delays");i?E.contains(i,t)||i.push(t):(E.addEventHandler(e,"mouseover",function(t){n.onMouseOver(t,e)}),E.addEventHandler(e,"mouseout",function(t){n.onMouseOut(t,e)}),E.$data(e,"hover.delays",[t]))},onMouseOver:function(e,t){var n=e.target||e.srcElement,i=e.relatedTarget||e.fromElement;(t===n||E.containsElement(t,n))&&!E.containsElement(t,i)&&this.onMouseEnter(t)},onMouseEnter:function(e){var t=E.$data(e,"hover.delays"),n=E.map(t,function(t){return setTimeout(function(){E.onEvent({type:"hover("+t+")",target:e})},t)});E.$data(e,"hover.delayTimers",n)},onMouseOut:function(e,t){var n=e.target||e.srcElement,i=e.relatedTarget||e.toElement;(t===n||E.containsElement(t,n))&&!E.containsElement(t,i)&&this.onMouseLeave(t)},onMouseLeave:function(e){var t=E.$data(e,"hover.delayTimers");t&&E.each(t,function(e){clearTimeout(e)})}},E.availableEventEmitters.push(g),E.inherit(h,E.BaseTool),E.extend(h.prototype,{name:"Nielsen",endPLPhase:function(e){switch(e){case"pagetop":this.initialize();break;case"pagebottom":this.enableTracking&&(this.queueCommand({command:"sendFirstBeacon",arguments:[]}),this.flushQueueWhenReady())}},defineListeners:function(){this.onTabFocus=E.bind(function(){this.notify("Tab visible, sending view beacon when ready",1),this.tabEverVisible=!0,this.flushQueueWhenReady()},this),this.onPageLeave=E.bind(function(){this.notify("isHuman? : "+this.isHuman(),1),this.isHuman()&&this.sendDurationBeacon()},this),this.onHumanDetectionChange=E.bind(function(e){this==e.target.target&&(this.human=e.target.isHuman)},this)},initialize:function(){this.initializeTracking(),this.initializeDataProviders(),this.initializeNonHumanDetection(),this.tabEverVisible=E.visibility.isVisible(),this.tabEverVisible?this.notify("Tab visible, sending view beacon when ready",1):E.bindEventOnce("tabfocus",this.onTabFocus),this.initialized=!0},initializeTracking:function(){this.initialized||(this.notify("Initializing tracking",1),this.addRemovePageLeaveEvent(this.enableTracking),this.addRemoveHumanDetectionChangeEvent(this.enableTracking),this.initialized=!0)},initializeDataProviders:function(){var e,t=this.getAnalyticsTool();this.dataProvider.register(new h.DataProvider.VisitorID(E.getVisitorId())),t?(e=new h.DataProvider.Generic("rsid",function(){return t.settings.account}),this.dataProvider.register(e)):this.notify("Missing integration with Analytics: rsid will not be sent.")},initializeNonHumanDetection:function(){E.nonhumandetection?(E.nonhumandetection.init(),this.setEnableNonHumanDetection(0!=this.settings.enableNonHumanDetection),this.settings.nonHumanDetectionDelay>0&&this.setNonHumanDetectionDelay(1e3*parseInt(this.settings.nonHumanDetectionDelay))):this.notify("NHDM is not available.")},getAnalyticsTool:function(){if(this.settings.integratesWith)return E.tools[this.settings.integratesWith]},flushQueueWhenReady:function(){this.enableTracking&&this.tabEverVisible&&E.poll(E.bind(function(){if(this.isReadyToTrack())return this.flushQueue(),!0},this),100,20)},isReadyToTrack:function(){return this.tabEverVisible&&this.dataProvider.isReady()},$setVars:function(e,t,n){for(var i in n){var a=n[i];"function"==typeof a&&(a=a()),this.settings[i]=a}this.notify("Set variables done",2),this.prepareContextData()},$setEnableTracking:function(e,t,n){this.notify("Will"+(n?"":" not")+" track time on page",1),this.enableTracking!=n&&(this.addRemovePageLeaveEvent(n),this.addRemoveHumanDetectionChangeEvent(n),this.enableTracking=n)},$sendFirstBeacon:function(){this.sendViewBeacon()},setEnableNonHumanDetection:function(e){e?E.nonhumandetection.register(this):E.nonhumandetection.unregister(this)},setNonHumanDetectionDelay:function(e){E.nonhumandetection.register(this,e)},addRemovePageLeaveEvent:function(e){this.notify((e?"Attach onto":"Detach from")+" page leave event",1),E[0==e?"unbindEvent":"bindEvent"]("leave",this.onPageLeave)},addRemoveHumanDetectionChangeEvent:function(e){this.notify((e?"Attach onto":"Detach from")+" human detection change event",1),E[0==e?"unbindEvent":"bindEvent"]("humandetection.change",this.onHumanDetectionChange)},sendViewBeacon:function(){this.notify("Tracked page view.",1),this.sendBeaconWith()},sendDurationBeacon:function(){if(E.timetracking&&"function"==typeof E.timetracking.timeOnPage&&null!=E.timetracking.timeOnPage()){this.notify("Tracked close",1),this.sendBeaconWith({timeOnPage:Math.round(E.timetracking.timeOnPage()/1e3),duration:"D",timer:"timer"});var e;for(e=0;e0&&a&&r.shift().call(e,t,o);var c=n.shift();if(c){var l=E.data.host,u=s.scriptURL(c.src);l&&(u=E.basePath()+u),a=c,E.loadScript(u,i)}}try{n=n.slice(0);var a,r=this.asyncScriptCallbackQueue,o=t.target||t.srcElement,s=this}catch(c){console.error("scripts is",E.stringify(n))}i()},$loadBlockingScript:function(e,t,n){var i=n.scripts;n.loadOn;E.bind(function(){E.each(i,function(n){this.loadBlockingScript(e,t,n)},this)},this)()},loadBlockingScript:function(e,t,n){var i=this.scriptURL(n.src),a=E.data.host,r=t.target||t.srcElement;a&&(i=E.basePath()+i),this.argsForBlockingScripts.push([e,t,r]),E.loadScriptSync(i)},pushAsyncScript:function(e){this.asyncScriptCallbackQueue.push(e)},pushBlockingScript:function(e){var t=this.argsForBlockingScripts.shift(),n=t[0];e.apply(n,t.slice(1))},$writeHTML:E.escapeHtmlParams(function(e,n){if(!E.domReadyFired&&t.write)if("pagebottom"===n.type||"pagetop"===n.type)for(var i=2,a=arguments.length;i0&&(t.events=r.join(",")),E.getVisitorId()&&(t.visitor=E.getVisitorId()),t},onSCodeLoaded:function(e){this.initialized=!0,this.initializing=!1;var t=["Adobe Analytics: loaded",e?" (manual)":"","."];E.notify(t.join(""),1),E.fireEvent(this.id+".load",this.getS()),e||(this.flushQueueExceptTrackLink(),this.sendBeacon()),this.flushQueue()},getAccount:function(t){return e.s_account?e.s_account:t&&this.settings.accountByHost&&this.settings.accountByHost[t]||this.settings.account},getTrackingServer:function(){var t=this,n=t.getS();if(n){if(n.ssl&&n.trackingServerSecure)return n.trackingServerSecure;if(n.trackingServer)return n.trackingServer}var i,a=t.getAccount(e.location.hostname);if(!a)return null;var r,o,s="",c=n&&n.dc;return(r=(i=a).indexOf(","))>=0&&(i=i.gb(0,r)),i=i.replace(/[^A-Za-z0-9]/g,""),s||(s="2o7.net"),c=c?(""+c).toLowerCase():"d1","2o7.net"==s&&("d1"==c?c="112":"d2"==c&&(c="122"),o=""),r=i+"."+c+"."+o+s},sendBeacon:function(){var t=this.getS(e[this.settings.renameS||"s"]);t?this.settings.customInit&&!1===this.settings.customInit(t)?E.notify("Adobe Analytics: custom init suppressed beacon",1):(this.settings.executeCustomPageCodeFirst&&this.applyVarBindingsOnTracker(t,this.varBindings),this.executeCustomSetupFuns(t),t.t(),this.clearVarBindings(),this.clearCustomSetup(),E.notify("Adobe Analytics: tracked page view",1)):E.notify("Adobe Analytics: page code not loaded",1)},pollForSC:function(){E.poll(E.bind(function(){if("function"==typeof e.s_gi)return this.onSCodeLoaded(!0),!0},this))},flushQueueExceptTrackLink:function(){if(this.pending){for(var e=[],t=0;t0&&u.push("events"),s.products&&u.push("products"),u=this.mergeTrackLinkVars(s.linkTrackVars,u),o=this.mergeTrackLinkVars(s.linkTrackEvents,o),s.linkTrackVars=this.getCustomLinkVarsList(u);var d=E.map(o,function(e){return e.split(":")[0]});s.linkTrackEvents=this.getCustomLinkVarsList(d),s.tl(!0,i||"o",a),E.notify(["Adobe Analytics: tracked link ","using: linkTrackVars=",E.stringify(s.linkTrackVars),"; linkTrackEvents=",E.stringify(s.linkTrackEvents)].join(""),1),s.linkTrackVars=c,s.linkTrackEvents=l}else E.notify("Adobe Analytics: page code not loaded",1)},mergeTrackLinkVars:function(e,t){return e&&(t=e.split(",").concat(t)),t},getCustomLinkVarsList:function(e){var t=E.indexOf(e,"None");return t>-1&&e.length>1&&e.splice(t,1),e.join(",")},definedVarNames:function(e){e=e||this.varBindings;var t=[];for(var n in e)e.hasOwnProperty(n)&&/^(eVar[0-9]+)|(prop[0-9]+)|(hier[0-9]+)|campaign|purchaseID|channel|server|state|zip|pageType$/.test(n)&&t.push(n);return t},$trackPageView:function(e,t,n){var i=n&&n.setVars,a=n&&n.addEvent||[],r=this.getS(null,{setVars:i,addEvent:a});r?(r.linkTrackVars="",r.linkTrackEvents="",this.executeCustomSetupFuns(r),n&&n.customSetup&&n.customSetup.call(e,t,r),r.t(),this.clearVarBindings(),this.clearCustomSetup(),E.notify("Adobe Analytics: tracked page view",1)):E.notify("Adobe Analytics: page code not loaded",1)},$postTransaction:function(t,n,i){var a=E.data.transaction=e[i],r=this.varBindings,o=this.settings.fieldVarMapping;if(E.each(a.items,function(e){this.products.push(e)},this),r.products=E.map(this.products,function(e){var t=[];if(o&&o.item)for(var n in o.item)if(o.item.hasOwnProperty(n)){var i=o.item[n];t.push(i+"="+e[n]),"event"===i.substring(0,5)&&this.events.push(i)}var a=["",e.product,e.quantity,e.unitPrice*e.quantity];return t.length>0&&a.push(t.join("|")),a.join(";")},this).join(","),o&&o.transaction){var s=[];for(var c in o.transaction)if(o.transaction.hasOwnProperty(c)){i=o.transaction[c];s.push(i+"="+a[c]),"event"===i.substring(0,5)&&this.events.push(i)}r.products.length>0&&(r.products+=","),r.products+=";;;;"+s.join("|")}},$addEvent:function(){for(var e=2,t=arguments.length;e1?" with parameters ["+i.slice(1).join(", ")+"]":"")+".",1):E.notify("GA: sent command "+e+(i.length>1?" with parameters ["+i.slice(1).join(", ")+"]":"")+".",1)}},$missing$:function(e,t,n,i){this.call(e,t,n,i)},$postTransaction:function(t,n,i){var a=E.data.customVars.transaction=e[i];this.call("addTrans",t,n,[a.orderID,a.affiliation,a.total,a.tax,a.shipping,a.city,a.state,a.country]),E.each(a.items,function(e){this.call("addItem",t,n,[e.orderID,e.sku,e.product,e.category,e.unitPrice,e.quantity])},this),this.call("trackTrans",t,n)},delayLink:function(e,t){var n=this;if(L.allowLinker()&&e.hostname.match(this.settings.linkerDomains)&&!E.isSubdomainOf(e.hostname,location.hostname)){E.preventDefault(t);var i=E.settings.linkDelay||100;setTimeout(function(){n.call("link",e,t,[e.href])},i)}},popupLink:function(t,n){if(e._gat){E.preventDefault(n);var i=this.settings.account,a=e._gat._createTracker(i)._getLinkerUrl(t.href);e.open(a)}},$link:function(e,t){"_blank"===e.getAttribute("target")?this.popupLink(e,t):this.delayLink(e,t)},$trackEvent:function(e,t){var n=Array.prototype.slice.call(arguments,2);if(n.length>=4&&null!=n[3]){var i=parseInt(n[3],10);E.isNaN(i)&&(i=1),n[3]=i}this.call("trackEvent",e,t,n)}}),E.availableTools.ga=w;var L={allowLinker:function(){return E.hasMultipleDomains()},cookieDomain:function(){var t=E.settings.domainList,n=E.find(t,function(t){var n=e.location.hostname;return E.equalsIgnoreCase(n.slice(n.length-t.length),t)});return n?"."+n:"auto"}};E.inherit(S,E.BaseTool),E.extend(S.prototype,{name:"GAUniversal",endPLPhase:function(e){e===this.settings.loadOn&&(E.notify("GAU: Initializing at "+e,1),this.initialize(),this.flushQueue(),this.trackInitialPageView())},getTrackerName:function(){return this.settings.trackerSettings.name||""},isPageCodeLoadSuppressed:function(){return!1===this.settings.initTool||!0===this._cancelToolInit},initialize:function(){if(this.isPageCodeLoadSuppressed())return this.initialized=!0,void E.notify("GAU: Page code not loaded (suppressed).",1);var t="ga";e[t]=e[t]||this.createGAObject(),e.GoogleAnalyticsObject=t,E.notify("GAU: Page code loaded.",1),E.loadScriptOnce(this.getToolUrl());var n=this.settings;(L.allowLinker()&&!1!==n.allowLinker?this.createAccountForLinker():this.createAccount(),this.executeInitCommands(),n.customInit)&&(!1===(0,n.customInit)(e[t],this.getTrackerName())&&(this.suppressInitialPageView=!0));this.initialized=!0},createGAObject:function(){var e=function(){e.q.push(arguments)};return e.q=[],e.l=1*new Date,e},createAccount:function(){this.create()},createAccountForLinker:function(){var e={};L.allowLinker()&&(e.allowLinker=!0),this.create(e),this.call("require","linker"),this.call("linker:autoLink",this.autoLinkDomains(),!1,!0)},create:function(e){var t=this.settings.trackerSettings;(t=E.preprocessArguments([t],location,null,this.forceLowerCase)[0]).trackingId=E.replace(this.settings.trackerSettings.trackingId,location),t.cookieDomain||(t.cookieDomain=L.cookieDomain()),E.extend(t,e||{}),this.call("create",t)},autoLinkDomains:function(){var e=location.hostname;return E.filter(E.settings.domainList,function(t){return t!==e})},executeInitCommands:function(){var e=this.settings;e.initCommands&&E.each(e.initCommands,function(e){var t=e.splice(2,e.length-2);e=e.concat(E.preprocessArguments(t,location,null,this.forceLowerCase)),this.call.apply(this,e)},this)},trackInitialPageView:function(){this.suppressInitialPageView||this.isPageCodeLoadSuppressed()||this.call("send","pageview")},call:function(){"function"==typeof ga?this.isCallSuppressed()||(arguments[0]=this.cmd(arguments[0]),this.log(E.toArray(arguments)),ga.apply(e,arguments)):E.notify("GA Universal function not found!",4)},isCallSuppressed:function(){return!0===this._cancelToolInit},$missing$:function(e,t,n,i){i=i||[],i=[e].concat(i),this.call.apply(this,i)},getToolUrl:function(){var e=this.settings,t=E.isHttps();return e.url?t?e.url.https:e.url.http:(t?"https://ssl":"http://www")+".google-analytics.com/analytics.js"},cmd:function(e){var t=["send","set","get"],n=this.getTrackerName();return n&&-1!==E.indexOf(t,e)?n+"."+e:e},log:function(e){var t="GA Universal: sent command "+e[0]+" to tracker "+(this.getTrackerName()||"default");if(e.length>1){E.stringify(e.slice(1));t+=" with parameters "+E.stringify(e.slice(1))}t+=".",E.notify(t,1)}}),E.availableTools.ga_universal=S,E.extend(D.prototype,{getInstance:function(){return this.instance},initialize:function(){var e,t=this.settings;E.notify("Visitor ID: Initializing tool",1),null!==(e=this.createInstance(t.mcOrgId,t.initVars))&&(t.customerIDs&&this.applyCustomerIDs(e,t.customerIDs),t.autoRequest&&e.getMarketingCloudVisitorID(),this.instance=e)},createInstance:function(e,t){if(!E.isString(e))return E.notify('Visitor ID: Cannot create instance using mcOrgId: "'+e+'"',4),null;e=E.replace(e),E.notify('Visitor ID: Create instance using mcOrgId: "'+e+'"',1),t=this.parseValues(t);var n=Visitor.getInstance(e,t);return E.notify("Visitor ID: Set variables: "+E.stringify(t),1),n},applyCustomerIDs:function(e,t){var n=this.parseIds(t);e.setCustomerIDs(n),E.notify("Visitor ID: Set Customer IDs: "+E.stringify(n),1)},parseValues:function(e){if(!1===E.isObject(e))return{};var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=E.replace(e[n]));return t},parseIds:function(e){var t={};if(!1===E.isObject(e))return{};for(var n in e)if(e.hasOwnProperty(n)){var i=E.replace(e[n].id);i!==e[n].id&&i&&(t[n]={},t[n].id=i,t[n].authState=Visitor.AuthState[e[n].authState])}return t}}),E.availableTools.visitor_id=D,_satellite.init({tools:{"83f212b87c3b4767a248d590e5161190":{engine:"sc",loadOn:"pagebottom",account:"wbgglobalprod",euCookie:!1,sCodeURL:"572ee9d70241b5c796ae15c773eaaee4365408ec/s-code-contents-9b42223dafd4df6973d5b69c61714e0542e49a91.js",renameS:"wb",initVars:{charSet:"UTF-8",server:"%ServerOrHost%",currencyCode:"USD",trackingServer:"worldbankgroup.sc.omtrdc.net",channel:"%ChannelInfo%",trackInlineStats:!0,trackDownloadLinks:!0,linkDownloadFileTypes:"avi,css,csv,doc,docx,eps,exe,jpg,js,m4v,mov,mp3,pdf,png,ppt,pptx,rar,svg,tab,txt,vsd,vxd,wav,wma,wmv,xls,xlsx,xml,zip",trackExternalLinks:!0,linkInternalFilters:"*.worldbank.org,addtocalendar.com,albankaldawli.org,api.worldbank.org,banquemondiale.org,beta.live.worldbank.org,blogs.worldbank.org,cgap.org,cscdev.prod.acquia-sites.com,data.worldbank.org,doingbusiness.org,govdata360-staging.assyst.in,govdata360.worldbank.org,ida.worldbank.org,ifc.org,javascript:,live.worldbank.org,mailto:,microfinancegateway.org,miga.org,newblogs.extcc.com,newdatacatalogstg.worldbank.org,nlive.extcc.com,nlive.extcc.com/#,pdu.worldbankgroup.org,pdudev.prod.acquia-sites.com,scorecard.worldbank.org,shihang.org,tcdata360-staging.assyst.in,tcdata360.worldbank.org,tel:,vsemirnyjbank.org,worldbankgroup.org,www.bancomundial.org,www.worldbank.org",linkLeaveQueryString:!1,dynamicVariablePrefix:"D=",eVar2:"D=c2",eVar3:"D=c3",eVar4:"D=c4",eVar5:"D=c5",eVar6:"D=c6",eVar8:"D=c8",eVar13:"%SiteLanguage%",eVar15:"%SiteEnvironment%",eVar17:"%TopicTag%",eVar19:"D=g",eVar20:"%ContentType%",eVar22:"%SiteCountry%",eVar26:"%VisitorMarketingCloudID%",eVar28:"%BrowserLanguage%",eVar29:"%PageUid%",eVar37:"%ErrorMessage%",eVar38:"%EventType%",eVar39:"%EventStatus%",eVar48:"%CmsType%",eVar50:"%SiteSearchSection%",eVar53:"%SiteRegion%",eVar60:"D=c40",eVar61:"%WebPackage%",eVar18:"%BusinessInfoDetail%",eVar16:"%PagePublishModified%",eVar12:"%DocumentLanguage%",eVar65:"D=c27",eVar66:"D=c28",eVar67:"D=c29",eVar68:"D=c30",eVar69:"D=c31",eVar70:"D=c32",eVar64:"D=c26",prop2:"%SiteSection%",prop3:"%SiteSectionLevel1%",prop4:"%SiteSectionLevel2%",prop5:"%SiteSectionLevel3%",prop6:"%SiteSectionLevel4%",prop8:"%PageTitle%",prop9:"%PageCategory%",prop11:"D=v22",prop12:"D=v20",prop13:"D=g",prop14:"D=v13",prop18:"D=v39",prop20:"D=v38",prop39:"D=v17",prop40:"%SubTopicTag%",prop41:"D=v61",prop1:"D=v1",prop33:"D=v12",prop26:"%DocumentTitle%",prop27:"%Document Author %",prop28:"%DocumentPublishDate%",prop29:"%DocumentTopic%",prop30:"%DocumentSubTopic%",prop31:"%DocumentRegion%",prop32:"%DocumentCountry%",prop23:"%DataDocType%",prop24:"%DataDocMDK%",hier1:"%PageHierarchy%"},skipSetAccount:!0,customInit:function(){if("n"==_satellite.getVar("PageloadRule"))return!1;videoContentType="video",wb.loadModule("Media"),wb.enableVideoTracking=!0,wb.enableVideoTracking&&(wb.loadModule("Media"),wb.Media.autoTrack=!1,wb.Media.trackWhilePlaying=!0,wb.Media.trackUsingContextData=!0,wb.Media.contextDataMapping={"a.contentType":"eVar58","a.media.name":"eVar57,prop22","a.media.segment":"eVar59","a.media.view":"event35","a.media.complete":"event39","a.media.segmentView":"event41","a.media.timePlayed":"event40","a.media.milestones":{25:"event36",50:"event37",75:"event38"}},wb.Media.monitor=function(e,t){"OPEN"==t.mediaEvent&&(wb.events="event65:"+hashCodeStr(t.name+_satellite.getVar("VisitorMarketingCloudID")),wb.Media.track(t.name)),"MILESTONE"==t.mediaEvent&&t.eventFirstTime||"CLOSE"==t.mediaEvent?wb.Media.track(t.name):"SECONDS"==t.mediaEvent&&wb.Media.track(t.name),wb.Media.segmentByMilestones&&"MONITOR"==t.mediaEvent&&300==parseInt(t.timePlayed)&&(wb.events="event51",wb.Media.track(t.name),wb.events=""),e.Media.segmentByMilestones||60!=parseInt(t.timePlayed)||(_satellite.getVar("FBPixelLiveVideo60Sec"),_satellite.getVar("TwitterPixelLiveVideo60Sec"),_satellite.getVar("GAdwordsTagLiveVideo60Sec"))},wb.Media.trackVars="channel,eVar1,prop1,eVar13,eVar15,eVar17,eVar18,eVar22,eVar25,eVar26,eVar38,eVar39,eVar48,eVar53,eVar61,eVar57,eVar58,eVar59,prop22,prop14,prop39,prop11,prop41,prop18,prop20,events",wb.Media.trackEvents="event35,event36,event37,event38,event39,event40,event41,event51,event65"),""!==_satellite.getVar("SiteSearchTerm")&&(_satellite.readCookie("wb_searches")&&""!==_satellite.readCookie("wb_searches")?-1==_satellite.readCookie("wb_searches").indexOf(_satellite.getVar("SiteSearchTerm"))&&_satellite.setCookie("wb_searches",_satellite.readCookie("wb_searches")+":"+_satellite.getVar("SiteSearchTerm")):_satellite.setCookie("wb_searches",_satellite.getVar("SiteSearchTerm")))}},"018e5b28d20f7fb32800bcdba483be453fe11972":{engine:"visitor_id",loadOn:"pagetop",name:"VisitorID",mcOrgId:"1E7B833554B8360D0A4C98A5@AdobeOrg",autoRequest:!0,initVars:{trackingServer:"worldbankgroup.sc.omtrdc.net",trackingServerSecure:"worldbankgroup.sc.omtrdc.net"}}},pageLoadRules:[{name:"Blogs Comment Count",trigger:[{engine:"sc",command:"customSetup",arguments:[function(){wb.events="event22="+t.getElementsByClassName("comment-reply").length,t.getElementById("page-title")?wb.eVar32=t.getElementById("page-title").innerText:t.getElementById("page-title")&&(wb.eVar32=t.getElementsByClassName("page-header")[0].innerText)}]}],conditions:[function(){if("blogs.worldbank.org"===_satellite.getVar("ServerOrHost")||"newblogs.extcc.com"===_satellite.getVar("ServerOrHost")||"dec data catalog ext"===_satellite.getVar("ChannelInfo"))return!0}],event:"domready"},{name:"Business Info",trigger:[{tool:["527290af1743c72906f56752dbe60b31"],command:"customSetup",arguments:[function(){var e=(""!=_satellite.getVar("SiteType")?_satellite.getVar("SiteType"):"uncategorized")+"|"+(""!=_satellite.getVar("BusinessAgency")?_satellite.getVar("BusinessAgency"):"uncategorized")+"|"+(""!=_satellite.getVar("BusinessUnit")?_satellite.getVar("BusinessUnit"):"uncategorized")+"|"+(""!=_satellite.getVar("BusinessUserGroup")?_satellite.getVar("BusinessUserGroup"):"uncategorized")+"|"+(""!=_satellite.getVar("BusinessVPUnit")?_satellite.getVar("BusinessVPUnit"):"uncategorized");wb.eVar18=e}]}],event:"pagebottom"},{name:"FBSDK Load",trigger:[{command:"loadScript",arguments:[{sequential:!1,scripts:[{src:"satellite-59c3dcc364746d520200e048.js"}]}]}],event:"pagetop"},{name:"Facebook Universal Pixel",trigger:[{command:"loadScript",arguments:[{sequential:!1,scripts:[{src:"satellite-5abd109d64746d01bc00b52f.js"}]}]},{command:"loadIframe",arguments:[{pages:[{src:"satellite-5abd109d64746d01bc00b530.html",data:[]}]}]}],scope:{domains:[/worldbank\.org$/i]},event:"pagebottom"},{name:"Foresee (3rd Party Tag)",trigger:[{command:"loadScript",arguments:[{sequential:!1,scripts:[{src:"satellite-5ac5fe4564746d2458008f32.js"}]}]}],event:"windowload"},{name:"Google Adwords Global Site Tag",trigger:[{command:"writeHTML",arguments:[{html:"\n\n"}]}],scope:{domains:[/worldbank\.org$/i]},event:"pagetop"},{name:"Search Tracking",trigger:[{engine:"sc",command:"setVars",arguments:[{eVar41:"%SiteSearchTerm%",eVar42:"%SiteSearchType%",eVar43:"%SiteSearchResultCount%",eVar44:"%SiteSearchTab%",eVar45:"%SiteSearchPagination%",eVar46:"%SiteSearchSort%",eVar50:"%SiteSearchSection%",prop21:"D=v41"}]},{engine:"sc",command:"customSetup",arguments:[function(){var e=_satellite.getVar("SiteSearchResultCount");wb.events=e>0?"event17,event16="+e:"event18",""!=_satellite.getVar("SiteSearchFilter")&&(wb.list1=_satellite.getVar("SiteSearchFilter"))}]}],conditions:[function(){if(""!==_satellite.getVar("SiteSearchTerm"))return!0}],event:"pagebottom"},{name:"Twitter Universal Pixel",trigger:[{command:"loadScript",arguments:[{sequential:!1,scripts:[{src:"satellite-5abd109d64746d01bc00b54e.js"},{src:"satellite-5abd109d64746d01bc00b54f.js"},{src:"satellite-5abd109d64746d01bc00b550.js"},{src:"satellite-5abd109d64746d01bc00b551.js"}]}]}],scope:{domains:[/worldbank\.org$/i]},event:"pagebottom"},{name:"Video Tracking - Dynamic Media",trigger:[{command:"loadScript",arguments:[{sequential:!1,scripts:[{src:"satellite-5b329bb964746d604a005110.js"}]}]}],event:"windowload"},{name:"Video Tracking - FBLive",trigger:[{command:"loadScript",arguments:[{sequential:!1,scripts:[{src:"satellite-5a0b584c64746d703f006e4d.js"}]}]}],conditions:[function(){if(t.getElementsByClassName("fb-video").length>0)return!0}],event:"pagebottom"},{name:"Video Tracking - Kaltura",trigger:[{command:"loadScript",arguments:[{sequential:!1,scripts:[{src:"satellite-5a0b584c64746d703f006e37.js"}]}]}],event:"pagebottom"},{name:"Video Tracking - Ustream",trigger:[{command:"loadScript",arguments:[{sequential:!1,scripts:[{src:"satellite-5b32978d64746d60500041fa.js"}]}]}],event:"windowload"},{name:"Video Tracking - YouTube",trigger:[{command:"loadScript",arguments:[{sequential:!1,scripts:[{src:"satellite-5a0b584c64746d703f006e23.js"}]}]}],event:"domready"}],rules:[{name:"Blogs Commented",conditions:[function(){""!=t.getElementById("edit-comment-body-und-0-value").value&&(wb.events="event1",wb.eVar32=t.getElementById("page-title").innerText,wb.linkTrackVars=wb.apl(wb.linkTrackVars,"eVar32",",",1),wb.linkTrackEvents=wb.apl(wb.linkTrackEvents,"event1",",",1),wb.tl(!0,"o","Blog Comment"))}],selector:"form#comment-form",event:"submit",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0,bubbleStop:!1},{name:"BlogsEmailSubscription",trigger:[{command:"loadScript",arguments:[{sequential:!1,scripts:[{src:"satellite-5a5ed3a164746d16f6004416.js"},{src:"satellite-5a95b22664746d1543007d5c.js"},{src:"satellite-5aaad02d64746d3291000bec.js"},{src:"satellite-5abd164364746d01bc00b58b.js"}]}]}],conditions:[function(){if(""!==t.getElementById("edit-subscriber").value)return!0}],selector:"#wb-subscribe-block-form",event:"submit",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0,bubbleStop:!1},{name:"Custom Link Tracking",trigger:[{command:"delayActivateLink"}],conditions:[function(){"e"!==linkType&&"d"!==linkType&&this.getAttribute("data-customlink")?(customLinkObject=this,linkType="o",_satellite.getVar("CustomLinkClick"),wb.tl(customLinkObject,linkType,wb.linkName)):(0!==this.getAttribute("data-customlink")&&"custom_email"==this.className||"print_html"==this.className&&("blogs.worldbank.org"===_satellite.getVar("ServerOrHost")||"newblogs.extcc.com"===_satellite.getVar("ServerOrHost")))&&(customLinkObject=this,_satellite.getVar("CustomLinkClick"),wb.tl(customLinkObject,"o",wb.linkName))}],selector:"a,div,img,li,input,button,i,I,span,label",eventHandlerOnElement:!0,event:"click",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0,bubbleStop:!1},{name:"Data-site Browse by Link",trigger:[{command:"loadScript",arguments:[{sequential:!1,scripts:[{src:"satellite-5ac3cb9564746d3291008e92.js"}]}]}],conditions:[function(){return _satellite.textMatch(_satellite.getVar("SiteType"),/^datamain$/i)}],selector:".dropdownBox .select-item",eventHandlerOnElement:!0,event:"click",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0,bubbleStop:!1},{name:"Tweetable Sentences",trigger:[{tool:["527290af1743c72906f56752dbe60b31"],command:"trackLink",arguments:[{type:"o",linkName:"twitter share"}]}],conditions:[function(){s.linkTrackVars=s.apl(s.linkTrackVars,"eVar36,prop15",",",1),s.linkTrackEvents=s.apl(s.linkTrackEvents,"event8",",",1);var e=jQuery(".tweetable").attr("data-text")||jQuery(".views-field.views-field-field-tweetable.tweetable a").text();s.prop15=e+"::tweetable sentence",s.eVar36="D=c15",s.events="event8",s.tl(this,"o")}],selector:"span.tweetable,div.views-field.views-field-field-tweetable.tweetable a",event:"click",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0,bubbleStop:!1}],directCallRules:[{name:"dynamicdata",trigger:[{engine:"sc",command:"trackPageView",arguments:[{setVars:{eVar12:"%DocumentLanguage%",eVar13:"%SiteLanguage%",eVar15:"%SiteEnvironment%",eVar16:"%PagePublishModified%",eVar17:"%TopicTag%",eVar18:"%BusinessInfoDetail%",eVar19:"D=g",eVar2:"D=c2",eVar20:"%ContentType%",eVar22:"%SiteCountry%",eVar26:"%VisitorMarketingCloudID%",eVar28:"%BrowserLanguage%",eVar29:"%PageUid%",eVar3:"D=c3",eVar37:"%ErrorMessage%",eVar38:"%EventType%",eVar39:"%EventStatus%",eVar4:"D=c4",eVar48:"%CmsType%",eVar5:"D=c5",eVar50:"%SiteSearchSection%",eVar53:"%SiteRegion%",eVar6:"D=c6",eVar60:"D=c40",eVar61:"%WebPackage%",eVar64:"D=c26",eVar65:"D=c27",eVar66:"D=c28",eVar67:"D=c29",eVar68:"D=c30",eVar69:"D=c31",eVar70:"D=c32",eVar8:"D=c8",prop1:"D=v1",prop11:"D=v22",prop12:"D=v20",prop13:"D=g",prop14:"D=v13",prop18:"D=v39",prop2:"%SiteSection%",prop20:"D=v38",prop21:"D=v41",prop23:"%DataDocType%",prop24:"%DataDocMDK%",prop26:"%DocumentTitle%",prop27:"%Document Author %",prop28:"%DocumentPublishDate%",prop29:"%DocumentTopic%",prop3:"%SiteSectionLevel1%",prop30:"%DocumentSubTopic%",prop31:"%DocumentRegion%",prop32:"%DocumentCountry%",prop33:"D=v12",prop39:"D=v17",prop4:"%SiteSectionLevel2%",prop40:"%SubTopicTag%",prop41:"D=v61",prop5:"%SiteSectionLevel3%",prop6:"%SiteSectionLevel4%",prop8:"%PageTitle%",prop9:"%PageCategory%",hier1:"%PageHierarchy%"},customSetup:function(){""==_satellite.getVar("ChannelInfo")?wb.channel=_satellite.getVar("SiteType")+"|"+(""!=_satellite.getVar("SiteSection")?_satellite.getVar("SiteSection"):"uncategorized")+"|"+_satellite.getVar("SiteLanguage")+"|"+(""!=_satellite.getVar("BusinessVPUnit")?_satellite.getVar("BusinessVPUnit"):"uncategorized"):wb.channel=_satellite.getVar("ChannelInfo"),""!=_satellite.getVar("SPageFirstPublished")&&""!=_satellite.getVar("SPageLastModified")&&(wb.eVar16=_satellite.getVar("SPageLastModified")+"|"+_satellite.getVar("SPageFirstPublished"));var e=(""!=_satellite.getVar("SiteType")?_satellite.getVar("SiteType"):"uncategorized")+"|"+(""!=_satellite.getVar("BusinessAgency")?_satellite.getVar("BusinessAgency"):"uncategorized")+"|"+(""!=_satellite.getVar("BusinessUnit")?_satellite.getVar("BusinessUnit"):"uncategorized")+"|"+(""!=_satellite.getVar("BusinessUserGroup")?_satellite.getVar("BusinessUserGroup"):"uncategorized")+"|"+(""!=_satellite.getVar("BusinessVPUnit")?_satellite.getVar("BusinessVPUnit"):"uncategorized");if(wb.eVar18=e,wb.linkTrackVars=wb.apl(wb.linkTrackVars,"channel,eVar1,eVar13,eVar15,eVar17,eVar18,eVar19,eVar20,eVar22,eVar25,eVar26,eVar38,eVar39,eVar41,eVar48,eVar53,eVar61,prop1,prop13,prop14,prop39,prop11,prop41,prop18,prop20",1),""!==_satellite.getVar("SiteSearchTerm")){var t=_satellite.getVar("SiteSearchResultCount"),n="event16="+t;wb.eVar41=_satellite.getVar("SiteSearchTerm"),wb.eVar42=_satellite.getVar("SiteSearchType"),wb.eVar43=_satellite.getVar("SiteSearchResultCount"),wb.eVar44=_satellite.getVar("SiteSearchTab"),wb.eVar45=_satellite.getVar("SiteSearchPagination"),wb.eVar46=_satellite.getVar("SiteSearchSort"),wb.eVar50=_satellite.getVar("SiteSearchSection"),""!=_satellite.getVar("SiteSearchFilter")&&(wb.list1=_satellite.getVar("SiteSearchFilter")),t>0?n+=",event17":n="event18",wb.events=wb.apl(wb.events,n,",",2)}}}]}]}],settings:{trackInternalLinks:!0,libraryName:"satelliteLib-efd6120a6f6ed94da49cf49e2ba626ac110c7e3c",isStaging:!1,allowGATTcalls:!1,downloadExtensions:/\.(?:doc|docx|eps|jpg|png|svg|xls|ppt|pptx|pdf|xlsx|tab|csv|zip|txt|vsd|vxd|xml|js|css|rar|exe|wma|mov|avi|wmv|mp3|wav|m4v)($|\&|\?)/i,notifications:!1,utilVisible:!1,domainList:["worldbank.org"],scriptDir:"572ee9d70241b5c796ae15c773eaaee4365408ec/scripts/",undefinedVarsReturnEmpty:!0,tagTimeout:3e3},data:{URI:t.location.pathname+t.location.search,browser:{},cartItems:[],revenue:"",host:{http:"assets.adobedtm.com",https:"assets.adobedtm.com"}},dataElements:{BrowserLanguage:{customJS:function(){return-1!==navigator.appVersion.indexOf("MSIE 10")?navigator.browserLanguage.substr(0,2):e.navigator.language.substr(0,2)},storeLength:"pageview",forceLowerCase:!0,cleanText:!0},BusinessAgency:{jsVariable:"wbgData.site.techInfo.bussAgency","default":"uncategorized",storeLength:"pageview",forceLowerCase:!0,cleanText:!0},BusinessInfoDetail:{customJS:function(){return _satellite.getVar("SiteType")+"|"+_satellite.getVar("BusinessAgency")+"|"+_satellite.getVar("BusinessUnit")+"|"+_satellite.getVar("BusinessUserGroup")+"|"+_satellite.getVar("BusinessVPUnit")},storeLength:"pageview",forceLowerCase:!0,cleanText:!0},BusinessUnit:{customJS:function(){var e="uncategorized";return"undefined"!=typeof wbgData?"undefined"!=typeof wbgData.site&&"undefined"!=typeof wbgData.site.techInfo&&"undefined"!=typeof wbgData.site.techInfo.bussUnit&&""!=wbgData.site.techInfo.bussUnit.trim()&&(e=wbgData.site.techInfo.bussUnit):"undefined"!=typeof s_prop13&&""!==s_prop13&&"Not Available"!==s_prop13&&"not available"!==s_prop13?e=s_prop13:"undefined"!=typeof s&&"undefined"!=typeof s.prop13&&""!==s.prop13&&"Not Available"!==s.prop13&&"not available"!==s.prop13&&(e=s.prop13),e},storeLength:"pageview",forceLowerCase:!0,cleanText:!0},BusinessUserGroup:{jsVariable:"wbgData.site.techInfo.bussUserGroup","default":"uncategorized",storeLength:"pageview",forceLowerCase:!0,cleanText:!0},BusinessVPUnit:{customJS:function(){var e="uncategorized";return"undefined"!=typeof wbgData?"undefined"!=typeof wbgData.site&&"undefined"!=typeof wbgData.site.techInfo&&"undefined"!=typeof wbgData.site.techInfo.bussVPUnit&&""!=wbgData.site.techInfo.bussVPUnit.trim()&&(e=wbgData.site.techInfo.bussVPUnit):"undefined"!=typeof s_prop18&&""!==s_prop18&&"Not Available"!==s_prop18&&"not available"!==s_prop18?e=s_prop18:"undefined"!=typeof s&&"undefined"!=typeof s.prop18&&""!==s.prop18&&"Not Available"!==s.prop18&&"not available"!==s.prop18&&(e=s.prop18),e},storeLength:"pageview",forceLowerCase:!0,cleanText:!0},ChannelInfo:{customJS:function(){var e="";return"undefined"!=typeof wbgData?"undefined"!=typeof wbgData.page&&"undefined"!=typeof wbgData.page.pageInfo&&"undefined"!=typeof wbgData.page.pageInfo.channel&&""!=wbgData.page.pageInfo.channel.trim()&&(e=wbgData.page.pageInfo.channel):"undefined"!=typeof s_channel&&""!==s_channel&&"Not Available"!==s_channel&&"not available"!==s_channel?e=s_channel:"undefined"!=typeof s&&"undefined"!=typeof s.channel&&""!==s.channel&&"Not Available"!==s.channel&&"not available"!==s.channel&&(e=s.channel),e},storeLength:"pageview",forceLowerCase:!0,cleanText:!0},CmsType:{customJS:function(){var e="";return"undefined"!=typeof wbgData?"undefined"!=typeof wbgData.site&&"undefined"!=typeof wbgData.site.techInfo&&"undefined"!=typeof wbgData.site.techInfo.cmsType&&""!=wbgData.site.techInfo.cmsType.trim()&&(e=wbgData.site.techInfo.cmsType):"undefined"!=typeof s_prop11&&""!==s_prop11&&"Not Available"!==s_prop11&&"not available"!==s_prop11?e=s_prop11:"undefined"!=typeof s&&"undefined"!=typeof s.prop11&&""!==s.prop11&&"Not Available"!==s.prop11&&"not available"!==s.prop11&&(e=s.prop11),e},storeLength:"pageview",forceLowerCase:!0,cleanText:!0},ContentAuthor:{customJS:function(){var e="";return"undefined"!=typeof wbgData?"undefined"!=typeof wbgData.page&&"undefined"!=typeof wbgData.page.pageInfo&&"undefined"!=typeof wbgData.page.pageInfo.author&&""!=wbgData.page.pageInfo.author.trim()&&(e=wbgData.page.pageInfo.author):"undefined"!=typeof s_prop2&&""!==s_prop2&&"Not Available"!==s_prop2&&"not available"!==s_prop2?e=s_prop2:"undefined"!=typeof s&&"undefined"!=typeof s.prop2&&""!==s.prop2&&"Not Available"!==s.prop2&&"not available"!==s.prop2&&(e=s.prop2),e},storeLength:"pageview",forceLowerCase:!0,cleanText:!0},ContentType:{customJS:function(){var e="";return"undefined"!=typeof wbgData?"undefined"!=typeof wbgData.page&&"undefined"!=typeof wbgData.page.pageInfo&&"undefined"!=typeof wbgData.page.pageInfo.contentType&&""!=wbgData.page.pageInfo.contentType.trim()&&(e=wbgData.page.pageInfo.contentType):"undefined"!=typeof s_prop8&&""!==s_prop8&&"Not Available"!==s_prop8&&"not available"!==s_prop8?e=s_prop8:"undefined"!=typeof s&&"undefined"!=typeof s.prop8&&""!==s.prop8&&"Not Available"!==s.prop8&&"not available"!==s.prop8&&(e=s.prop8),e},storeLength:"pageview",forceLowerCase:!0,cleanText:!0},CustomLinkClick:{customJS:function(){if(customLinkObject!==n){var e,t="uncategorized",i="",a="";if(customLinkObject.hasAttribute("data-customlink")){customLinkObject.hasAttribute("data-text")&&""!==customLinkObject.hasAttribute("data-text")?t=customLinkObject.getAttribute("data-text"):""!==customLinkObject.innerText&&(t=customLinkObject.innerText);var r=customLinkObject.getAttribute("data-customlink").split(":")[0],o=customLinkObject.getAttribute("data-customlink").split(":")[1]?customLinkObject.getAttribute("data-customlink").split(":")[1]:"";switch(r){case"sm":e="social media",i="eVar36,prop15,prop33",a="event4,event8";break;case"fd":return _satellite.getVar("DownloadClick"),!1;case"sw":e="social media share",wb.eVar11=t,wb.eVar35="social",i="eVar36,prop15,eVar35,eVar11,prop33",a="event5,event8";break;case"rs":e="rss feed",i="eVar36,prop15,prop33",a="event4,event8";break;case"em":e="email",wb.eVar35="email",wb.eVar11=t,i="eVar36,prop15,eVar35,eVar11,prop33",a="event3,event8";break;case"pr":e="print",wb.eVar11=t,wb.eVar35="print",i="eVar36,prop15,eVar11,eVar35,prop33",a="event3,event8";break;case"tb":e="tab",wb.eVar52=t,i="eVar36,prop15,eVar52",a="event43,event8";break;case"au":e="audio media",i="eVar36,prop15",a="event42,event8";break;case"sr":e="search result",wb.eVar41=_satellite.getVar("SiteSearchTerm"),wb.eVar47=_satellite.readCookie("wb_searches"),_satellite.removeCookie("wb_searches"),i="eVar36,prop15,eVar41,eVar47",a="event19,event8";break;case"ss":e="search sort",wb.eVar41=_satellite.getVar("SiteSearchTerm"),i="eVar36,prop15,eVar41",a="event21,event8";break;case"sp":e="search pagination",wb.eVar41=_satellite.getVar("SiteSearchTerm"),i="eVar36,prop15,eVar41",a="event20,event8";break;case"nl":e="normal link",i="eVar36,prop15,prop33",a="event8";break;case"bc":e="blog comment",i="eVar32",wb.eVar32=t,a="event1";break;case"mr":e="map link",i="eVar36,prop15",a="event8,event45";break;case"bb":e="browse-by-search-term",i="eVar36,prop15",a="event8";break;default:return!1}wb.prop15=unescape(t.trim())+"::"+e,wb.eVar36="D=c15",wb.prop33=o,wb.linkName=unescape(t.trim()),wb.linkTrackVars=wb.apl(wb.linkTrackVars,i,",",1),wb.linkTrackEvents=wb.apl(wb.linkTrackEvents,a,",",1),wb.events=a}else if("blogs.worldbank.org"===_satellite.getVar("ServerOrHost")||"newblogs.extcc.com"===_satellite.getVar("ServerOrHost")){switch(customLinkObject.className){case"service-links-facebook":t="facebook",e="social media share",wb.eVar11=t,wb.eVar35="social",a="event5,event8";break;case"service-links-twitter":t="twitter",e="social media share",wb.eVar11=t,wb.eVar35="social",a="event5,event8";break;case"service-links-linkedin":t="linkedin",e="social media share",wb.eVar11=t,wb.eVar35="social",a="event5,event8";break;case"print-page":case"print_html":t="print",e="print",wb.eVar11=t,wb.eVar35="print",a="event3,event8";break;case"custom_email":t="email",e="email",wb.eVar35="email",wb.eVar11=t,a="event3,event8";break;case"popup":t=customLinkObject.innerText,e="tweetable sentence",a="event8"}i="eVar36,prop15,eVar35,eVar11",wb.prop15=unescape(t.trim())+"::"+e,wb.eVar36="D=c15",wb.linkName=unescape(t.trim()),wb.linkTrackVars=wb.apl(wb.linkTrackVars,i,",",1),wb.linkTrackEvents=wb.apl(wb.linkTrackEvents,a,",",1),wb.events=a}}},storeLength:"pageview"},DataDocMDK:{customJS:function(){var e="";return"undefined"!=typeof wbgData&&"undefined"!=typeof wbgData.page&&"undefined"!=typeof wbgData.page.documentInfo&&"undefined"!=typeof wbgData.page.documentInfo.dataDocMDK&&""!=wbgData.page.documentInfo.dataDocMDK.trim()&&(e=wbgData.page.documentInfo.dataDocMDK),e},storeLength:"pageview",forceLowerCase:!0,cleanText:!0},DataDocType:{customJS:function(){var e="";return"undefined"!=typeof wbgData&&"undefined"!=typeof wbgData.page&&"undefined"!=typeof wbgData.page.documentInfo&&"undefined"!=typeof wbgData.page.documentInfo.dataDocType&&""!=wbgData.page.documentInfo.dataDocType.trim()&&(e=wbgData.page.documentInfo.dataDocType),e},storeLength:"pageview",forceLowerCase:!0,cleanText:!0},"Document Author ":{customJS:function(){var e="";return"undefined"!=typeof wbgData&&"undefined"!=typeof wbgData.page&&"undefined"!=typeof wbgData.page.documentInfo&&"undefined"!=typeof wbgData.page.documentInfo.documentAuthor&&""!=wbgData.page.documentInfo.documentAuthor.trim()&&(e=wbgData.page.documentInfo.documentAuthor),e},storeLength:"pageview",forceLowerCase:!0,cleanText:!0},DocumentCountry:{customJS:function(){var e="";return"undefined"!=typeof wbgData&&"undefined"!=typeof wbgData.page&&"undefined"!=typeof wbgData.page.documentInfo&&"undefined"!=typeof wbgData.page.documentInfo.documentCountry&&""!=wbgData.page.documentInfo.documentCountry.trim()&&(e=wbgData.page.documentInfo.documentCountry),e},storeLength:"pageview",forceLowerCase:!0,cleanText:!0},DocumentLanguage:{customJS:function(){var e="";return"undefined"!=typeof wbgData&&"undefined"!=typeof wbgData.page&&"undefined"!=typeof wbgData.page.documentInfo&&"undefined"!=typeof wbgData.page.documentInfo.documentLang&&""!=wbgData.page.documentInfo.documentLang.trim()&&(e=wbgData.page.documentInfo.documentLang),e},storeLength:"pageview",forceLowerCase:!0,cleanText:!0},DocumentPublishDate:{customJS:function(){var e="";return"undefined"!=typeof wbgData&&"undefined"!=typeof wbgData.page&&"undefined"!=typeof wbgData.page.documentInfo&&"undefined"!=typeof wbgData.page.documentInfo.documentPublishDate&&""!=wbgData.page.documentInfo.documentPublishDate.trim()&&(e=wbgData.page.documentInfo.documentPublishDate),e},storeLength:"pageview",forceLowerCase:!0,cleanText:!0},DocumentRegion:{customJS:function(){var e="";return"undefined"!=typeof wbgData&&"undefined"!=typeof wbgData.page&&"undefined"!=typeof wbgData.page.documentInfo&&"undefined"!=typeof wbgData.page.documentInfo.documentRegion&&""!=wbgData.page.documentInfo.documentRegion.trim()&&(e=wbgData.page.documentInfo.documentRegion),e},storeLength:"pageview",forceLowerCase:!0,cleanText:!0},DocumentSubTopic:{customJS:function(){var e="";return"undefined"!=typeof wbgData&&"undefined"!=typeof wbgData.page&&"undefined"!=typeof wbgData.page.documentInfo&&"undefined"!=typeof wbgData.page.documentInfo.documentSubTopic&&""!=wbgData.page.documentInfo.documentSubTopic.trim()&&(e=wbgData.page.documentInfo.documentSubTopic),e},storeLength:"pageview",forceLowerCase:!0,cleanText:!0},DocumentTitle:{customJS:function(){var e="";return"undefined"!=typeof wbgData&&"undefined"!=typeof wbgData.page&&"undefined"!=typeof wbgData.page.documentInfo&&"undefined"!=typeof wbgData.page.documentInfo.documentTitle&&""!=wbgData.page.documentInfo.documentTitle.trim()&&(e=wbgData.page.documentInfo.documentTitle),e},storeLength:"pageview",forceLowerCase:!0,cleanText:!0},DocumentTopic:{customJS:function(){var e="";return"undefined"!=typeof wbgData&&"undefined"!=typeof wbgData.page&&"undefined"!=typeof wbgData.page.documentInfo&&"undefined"!=typeof wbgData.page.documentInfo.documentTopic&&""!=wbgData.page.documentInfo.documentTopic.trim()&&(e=wbgData.page.documentInfo.documentTopic),e},storeLength:"pageview"},DownloadClick:{customJS:function(){ +if(customLinkObject.hasAttribute("data-customlink")&&customLinkObject.hasAttribute("data-text")&&"rs"===customLinkObject.getAttribute("data-customlink").split(":")[0])_satellite.getVar("CustomLinkClick");else{var e="uncategorized";customLinkObject.getAttribute("data-text")?e=customLinkObject.getAttribute("data-text"):customLinkObject.getAttribute("href")&&"#"!=customLinkObject.getAttribute("href")?e=customLinkObject.getAttribute("href").split("/").pop().split(".").shift():customLinkObject.innerText?e=customLinkObject.innerText:customLinkObject.getAttribute("title")?e=customLinkObject.getAttribute("title"):customLinkObject.getAttribute("alt")?e=customLinkObject.getAttribute("alt"):customLinkObject.getAttribute("id")&&(e=customLinkObject.getAttribute("id"));var t="uncategorized";customLinkObject.getAttribute("href")&&""!==customLinkObject.getAttribute("href")&&"#"!==customLinkObject.getAttribute("href")?t=customLinkObject.getAttribute("href").split("/").pop().split("?").shift().split(".").pop().split(/\#|\?/g)[0]:customLinkObject.hasAttribute("data-customlink")&&4==customLinkObject.getAttribute("data-customlink").split(":").length&&(t=customLinkObject.getAttribute("data-customlink").split(":")[3]);var n=unescape(e)+"::file download",i=unescape(e)+"::"+t;wb.prop15=n.trim(),wb.eVar36="D=c15",wb.eVar21=i.trim(),wb.events="event2,event8",wb.linkTrackVars=wb.apl(wb.linkTrackVars,"prop15,eVar36,eVar21,events",",",1),wb.linkTrackEvents=wb.apl(wb.linkTrackEvents,"event2,event8",",",1),wb.linkName=e}},storeLength:"pageview"},ErrorMessage:{jsVariable:"wbgData.errorInfo.errorMessage",storeLength:"pageview",forceLowerCase:!0,cleanText:!0},ErrorPageLoadRule:{jsVariable:"wbgData.errorInfo.pageloadRule",storeLength:"pageview",forceLowerCase:!0,cleanText:!0},EventStatus:{jsVariable:"wbgData.misc.eventstatus",storeLength:"pageview",cleanText:!0},EventType:{jsVariable:"wbgData.misc.eventtype",storeLength:"pageview",cleanText:!0},FBPixelDownload:{customJS:function(){"function"==typeof fbq&&fbq("track","Lead",{content_category:"download"})},storeLength:"pageview"},FBPixelLiveVideo60Sec:{customJS:function(){"function"==typeof fbq&&fbq("track","Lead",{content_category:"live video 60 seconds"})},storeLength:"pageview"},FBPixelNewsletterFormView:{customJS:function(){"function"==typeof fbq&&fbq("track","Lead",{content_category:"newsletter form view"})},storeLength:"pageview"},FBPixelVideoReplay:{customJS:function(){"function"==typeof fbq&&fbq("track","Lead",{content_category:"video replay"})},storeLength:"pageview"},"Filter Section ":{customJS:function(){if(e.location.search){var t,n=[],i=e.location.search;if(i){for(var a=i.slice(1).split("&"),r=0;r=2?t.location.hostname.split(".")[1]:t.location.hostname.split(".")[0];switch(e.toLowerCase()){case"worldbank":e="wb";break;case"ifc":e="ifc";break;case"miga":e="mig";break;case"cgap":e="cga"}return e},storeLength:"pageview",forceLowerCase:!0,cleanText:!0},RelativeURL:{customJS:function(){var t=e.location.pathname.toLowerCase();return"/"!=t?t:"home"},storeLength:"pageview",cleanText:!0},ServerOrHost:{customJS:function(){return e.location.hostname},storeLength:"pageview",forceLowerCase:!0,cleanText:!0},SiteCountry:{customJS:function(){var e="";return"undefined"!=typeof wbgData?"undefined"!=typeof wbgData.site&&"undefined"!=typeof wbgData.site.siteInfo&&"undefined"!=typeof wbgData.site.siteInfo.siteCountry&&""!=wbgData.site.siteInfo.siteCountry.trim()&&(e=wbgData.site.siteInfo.siteCountry):"undefined"!=typeof s_prop7&&""!==s_prop7&&"Not Available"!==s_prop7&&"not available"!==s_prop7?e=s_prop7:"undefined"!=typeof s&&"undefined"!=typeof s.prop7&&""!==s.prop7&&"Not Available"!==s.prop7&&"not available"!==s.prop7&&(e=s.prop7),e},storeLength:"pageview",forceLowerCase:!0,cleanText:!0},SiteEnvironment:{jsVariable:"wbgData.site.siteInfo.siteEnv",storeLength:"pageview",cleanText:!0},SiteLanguage:{customJS:function(){var e=_satellite.getVar("BrowserLanguage");return"undefined"!=typeof wbgData?"undefined"!=typeof wbgData.site&&"undefined"!=typeof wbgData.site.siteInfo&&"undefined"!=typeof wbgData.site.siteInfo.siteLanguage&&""!=wbgData.site.siteInfo.siteLanguage.trim()&&(e=wbgData.site.siteInfo.siteLanguage):"undefined"!=typeof s_prop17&&""!==s_prop17&&"Not Available"!==s_prop17&&"not available"!==s_prop17?e=s_prop17:"undefined"!=typeof s&&"undefined"!=typeof s.prop17&&""!==s.prop17&&"Not Available"!==s.prop17&&"not available"!==s.prop17&&(e=s.prop17),e},storeLength:"pageview",forceLowerCase:!0,cleanText:!0},SiteRegion:{customJS:function(){function e(e){var t={africa:"afr","south asia":"sar","latin america and the caribbean":"lac","latin america & caribbean":"lac","latin america":"lac","east asia pacific":"eap","europe and central asia":"eca","middle east and north africa":"mena","n/a":""};return"undefined"!=typeof t[e]?t[e]:e}var t="";return"undefined"!=typeof wbgData?"undefined"!=typeof wbgData.site&&"undefined"!=typeof wbgData.site.siteInfo&&"undefined"!=typeof wbgData.site.siteInfo.siteRegion&&""!=wbgData.site.siteInfo.siteRegion.trim()&&(t=wbgData.site.siteInfo.siteRegion):"undefined"!=typeof s_prop6&&""!==s_prop6&&"Not Available"!==s_prop6&&"not available"!==s_prop6?t=s_prop6:"undefined"!=typeof s&&"undefined"!=typeof s.prop6&&""!==s.prop6&&"Not Available"!==s.prop6&&"not available"!==s.prop6&&(t=s.prop6),e(t.toLowerCase())},storeLength:"pageview",forceLowerCase:!0,cleanText:!0},SiteSearchFilter:{jsVariable:"wbgData.siteSearch.searchFilters",storeLength:"pageview",cleanText:!0},SiteSearchPagination:{jsVariable:"wbgData.siteSearch.pagination",storeLength:"pageview",cleanText:!0},SiteSearchResultCount:{jsVariable:"wbgData.siteSearch.searchResults",storeLength:"pageview",cleanText:!0},SiteSearchSection:{jsVariable:"wbgData.siteSearch.section",storeLength:"pageview",cleanText:!0},SiteSearchSort:{jsVariable:"wbgData.siteSearch.sortBy",storeLength:"pageview",cleanText:!0},SiteSearchTab:{jsVariable:"wbgData.siteSearch.tab",storeLength:"pageview",cleanText:!0},SiteSearchTerm:{jsVariable:"wbgData.siteSearch.searchTerm",storeLength:"pageview",cleanText:!0},SiteSearchType:{jsVariable:"wbgData.siteSearch.searchType",storeLength:"pageview",cleanText:!0},SiteSection:{customJS:function(){var e="";return"undefined"!=typeof wbgData?"undefined"!=typeof wbgData.page&&"undefined"!=typeof wbgData.page.sectionInfo&&"undefined"!=typeof wbgData.page.sectionInfo.siteSection&&""!=wbgData.page.sectionInfo.siteSection.trim()&&(e=wbgData.page.sectionInfo.siteSection):"undefined"!=typeof s_prop24&&""!==s_prop24&&"Not Available"!==s_prop24&&"not available"!==s_prop24?e=s_prop24:"undefined"!=typeof s&&"undefined"!=typeof s.prop5&&""!==s.prop5&&"Not Available"!==s.prop5&&"not available"!==s.prop5&&(e=s.prop24),e},storeLength:"pageview",cleanText:!0},SiteSectionLevel1:{customJS:function(){"undefined"!=typeof wbgData?"undefined"!=typeof wbgData.page&&"undefined"!=typeof wbgData.page.sectionInfo&&"undefined"!=typeof wbgData.page.sectionInfo.siteSection&&""!=wbgData.page.sectionInfo.siteSection.trim()&&wbgData.page.sectionInfo.siteSection:"undefined"!=typeof s_prop24&&""!==s_prop24&&"Not Available"!==s_prop24&&"not available"!==s_prop24?s_prop24:"undefined"!=typeof s&&"undefined"!=typeof s.prop24&&""!==s.prop24&&"Not Available"!==s.prop24&&"not available"!==s.prop24&&s.prop24;var e="";return"undefined"!=typeof wbgData?"undefined"!=typeof wbgData.page&&"undefined"!=typeof wbgData.page.sectionInfo&&"undefined"!=typeof wbgData.page.sectionInfo.siteSection1&&""!=wbgData.page.sectionInfo.siteSection1.trim()&&(e=wbgData.page.sectionInfo.siteSection1):"undefined"!=typeof S_prop25&&""!==S_prop25&&"Not Available"!==S_prop25&&"not available"!==S_prop25?e=S_prop25:"undefined"!=typeof s&&"undefined"!=typeof s.prop25&&""!==s.prop25&&"Not Available"!==s.prop25&&"not available"!==s.prop25&&(e=s.prop25),e},storeLength:"pageview",cleanText:!0},SiteSectionLevel2:{customJS:function(){"undefined"!=typeof wbgData?"undefined"!=typeof wbgData.page&&"undefined"!=typeof wbgData.page.sectionInfo&&"undefined"!=typeof wbgData.page.sectionInfo.siteSection1&&""!=wbgData.page.sectionInfo.siteSection1.trim()&&wbgData.page.sectionInfo.siteSection1:"undefined"!=typeof S_prop25&&""!==S_prop25&&"Not Available"!==S_prop25&&"not available"!==S_prop25?S_prop25:"undefined"!=typeof s&&"undefined"!=typeof s.prop25&&""!==s.prop25&&"Not Available"!==s.prop25&&"not available"!==s.prop25&&s.prop25;var e="";return"undefined"!=typeof wbgData?"undefined"!=typeof wbgData.page&&"undefined"!=typeof wbgData.page.sectionInfo&&"undefined"!=typeof wbgData.page.sectionInfo.siteSection2&&""!=wbgData.page.sectionInfo.siteSection2.trim()&&(e=wbgData.page.sectionInfo.siteSection2):"undefined"!=typeof S_prop26&&""!==S_prop26&&"Not Available"!==S_prop26&&"not available"!==S_prop26?S_prop26:"undefined"!=typeof s&&"undefined"!=typeof s.prop26&&""!==s.prop26&&"Not Available"!==s.prop26&&"not available"!==s.prop26&&s.prop26,e},storeLength:"pageview",cleanText:!0},SiteSectionLevel3:{jsVariable:"wbgData.page.sectionInfo.subsectionP4",storeLength:"pageview",cleanText:!0},SiteSectionLevel4:{jsVariable:"wbgData.page.sectionInfo.subsectionP5",storeLength:"pageview",cleanText:!0},SiteType:{customJS:function(){var t=e.location.hostname.split(".")[0];return"undefined"!=typeof wbgData&&"undefined"!=typeof wbgData.site&&"undefined"!=typeof wbgData.site.siteInfo&&"undefined"!=typeof wbgData.site.siteInfo.siteType&&""!=wbgData.site.siteInfo.siteType.trim()&&(t=wbgData.site.siteInfo.siteType),t},storeLength:"pageview",forceLowerCase:!0,cleanText:!0},"Social share Icons":{customJS:function(){return $(".s03v2-icon.sharebox div a")[0].title},storeLength:"pageview",forceLowerCase:!0,cleanText:!0},SPageFirstPublished:{customJS:function(){var e="";return"undefined"!=typeof wbgData?"undefined"!=typeof wbgData.page&&"undefined"!=typeof wbgData.page.pageInfo&&"undefined"!=typeof wbgData.page.pageInfo.pageFirstPub&&""!=wbgData.page.pageInfo.pageFirstPub.trim()&&(e=wbgData.page.pageInfo.pageFirstPub):"undefined"!=typeof s_prop3&&""!==s_prop3&&"Not Available"!==s_prop3&&"not available"!==s_prop3?e=s_prop3.replace(/\//g,"-"):"undefined"!=typeof s&&"undefined"!=typeof s.prop3&&""!==s.prop3&&"Not Available"!==s.prop3&&"not available"!==s.prop3&&(e=s.prop3.replace(/\//g,"-")),e},storeLength:"pageview",forceLowerCase:!0,cleanText:!0},SPageLastModified:{customJS:function(){var e="";return"undefined"!=typeof wbgData?"undefined"!=typeof wbgData.page&&"undefined"!=typeof wbgData.page.pageInfo&&"undefined"!=typeof wbgData.page.pageInfo.pageLastMod&&""!=wbgData.page.pageInfo.pageLastMod.trim()&&(e=wbgData.page.pageInfo.pageLastMod):"undefined"!=typeof s_prop3&&""!==s_prop3&&"Not Available"!==s_prop3&&"not available"!==s_prop3?e=s_prop3.replace(/\//g,"-"):"undefined"!=typeof s&&"undefined"!=typeof s.prop3&&""!==s.prop3&&"Not Available"!==s.prop3&&"not available"!==s.prop3&&(e=s.prop3.replace(/\//g,"-")),e},storeLength:"pageview",forceLowerCase:!0,cleanText:!0},SubTopicTag:{customJS:function(){var e="";return"undefined"!=typeof wbgData?"undefined"!=typeof wbgData.page&&"undefined"!=typeof wbgData.page.pageInfo&&"undefined"!=typeof wbgData.page.pageInfo.subtopicTag&&""!=wbgData.page.pageInfo.subtopicTag.trim()&&(e=wbgData.page.pageInfo.subtopicTag):"undefined"!=typeof s_prop5&&""!==s_prop5&&"Not Available"!==s_prop5&&"not available"!==s_prop5?e=s_prop5:"undefined"!=typeof s&&"undefined"!=typeof s.prop5&&""!==s.prop5&&"Not Available"!==s.prop5&&"not available"!==s.prop5&&(e=s.prop5),e},storeLength:"pageview",forceLowerCase:!0,cleanText:!0},TopicTag:{customJS:function(){var e="";return"undefined"!=typeof wbgData?"undefined"!=typeof wbgData.page&&"undefined"!=typeof wbgData.page.pageInfo&&"undefined"!=typeof wbgData.page.pageInfo.topicTag&&""!=wbgData.page.pageInfo.topicTag.trim()&&(e=wbgData.page.pageInfo.topicTag):"undefined"!=typeof s_prop4&&""!==s_prop4&&"Not Available"!==s_prop4&&"not available"!==s_prop4?e=s_prop4:"undefined"!=typeof s&&"undefined"!=typeof s.prop4&&""!==s.prop4&&"Not Available"!==s.prop4&&"not available"!==s.prop4&&(e=s.prop4),e},storeLength:"pageview",forceLowerCase:!0,cleanText:!0},TwitterPixelDownload:{customJS:function(){"object"==typeof twttr&&twttr.conversion.trackPid("nz5nn",{tw_sale_amount:0,tw_order_quantity:0})},storeLength:"pageview"},TwitterPixelLiveVideo60Sec:{customJS:function(){"object"==typeof twttr&&twttr.conversion.trackPid("nz6sf",{tw_sale_amount:0,tw_order_quantity:0})},storeLength:"pageview"},TwitterPixelVideoReplay:{customJS:function(){"object"==typeof twttr&&twttr.conversion.trackPid("nz5ns",{tw_sale_amount:0,tw_order_quantity:0})},storeLength:"pageview"},UserIPAddress:{jsVariable:"wbgData.site.siteInfo.userIpaddressType",storeLength:"pageview"},VisitorIpAddress:{customJS:function(){console.log(ipaddress_dtm),$.get("http://ipinfo.io",function(e){var t="/wbg/aem/service/checkipdtm.html?ipaddr="+e.ip;$.ajax({url:t,success:function(e){return console.log(e.trim()),e.trim()}})},"jsonp")},storeLength:"pageview"},VisitorMarketingCloudID:{customJS:function(){return Visitor.getInstance("1E7B833554B8360D0A4C98A5@AdobeOrg").getMarketingCloudVisitorID()},storeLength:"pageview"},WebPackage:{customJS:function(){var e="";return"undefined"!=typeof wbgData?"undefined"!=typeof wbgData.site&&"undefined"!=typeof wbgData.site.packageInfo&&"undefined"!=typeof wbgData.site.packageInfo.webpackage&&""!=wbgData.site.packageInfo.webpackage.trim()&&(e=wbgData.site.packageInfo.webpackage):"undefined"!=typeof s_prop41&&""!==s_prop41&&"Not Available"!==s_prop41&&"not available"!==s_prop41?e=s_prop41:"undefined"!=typeof s&&"undefined"!=typeof s.prop41&&""!==s.prop41&&"Not Available"!==s.prop41&&"not available"!==s.prop41&&(e=s.prop41),e},storeLength:"pageview",forceLowerCase:!0,cleanText:!0}},appVersion:"7QN",buildDate:"2018-09-10 19:53:46 UTC",publishDate:"2018-09-10 19:52:17 UTC"})}(window,document); \ No newline at end of file diff --git a/code/China _ Data_files/sdk.js.download b/code/China _ Data_files/sdk.js.download new file mode 100644 index 00000000..b997f06e --- /dev/null +++ b/code/China _ Data_files/sdk.js.download @@ -0,0 +1,218 @@ +/*1537903327,,JIT Construction: v4349184,en_US*/ + +/** + * Copyright (c) 2017-present, Facebook, Inc. All rights reserved. + * + * You are hereby granted a non-exclusive, worldwide, royalty-free license to use, + * copy, modify, and distribute this software in source code or binary form for use + * in connection with the web services and APIs provided by Facebook. + * + * As with any software that integrates with the Facebook platform, your use of + * this software is subject to the Facebook Platform Policy + * [http://developers.facebook.com/policy/]. This copyright notice shall be + * included in all copies or substantial portions of the software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS + * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR + * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER + * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ +try {window.FB|| (function(window, fb_fif_window) { var apply = Function.prototype.apply; function bindContext(fn, thisArg) { return function _sdkBound() { return apply.call(fn, thisArg, arguments); }; } var global = { __type: 'JS_SDK_SANDBOX', window: window, document: window.document }; var sandboxWhitelist = [ 'setTimeout', 'setInterval', 'clearTimeout', 'clearInterval' ]; for (var i = 0; i < sandboxWhitelist.length; i++) { global[sandboxWhitelist[i]] = bindContext( window[sandboxWhitelist[i]], window ); } (function() { var self = window; var __DEV__ = 0; function emptyFunction() {}; var __transform_includes = {}; var __annotator, __bodyWrapper; var __w, __t; var undefined; var __p; with (this) { (function(){var a={},b=function(a,b){if(!a&&!b)return null;var c={};typeof a!=="undefined"&&(c.type=a);typeof b!=="undefined"&&(c.signature=b);return c},c=function(a,c){return b(a&&/^[A-Z]/.test(a)?a:undefined,c&&(c.params&&c.params.length||c.returns)?"function("+(c.params?c.params.map(function(a){return/\?/.test(a)?"?"+a.replace("?",""):a}).join(","):"")+")"+(c.returns?":"+c.returns:""):undefined)},d=function(a,b,c){return a},e=function(a,b,d){"sourcemeta"in __transform_includes&&(a.__SMmeta=b);if("typechecks"in __transform_includes){b=c(b?b.name:undefined,d);b&&__w(a,b)}return a},f=function(a,b,c){return c.apply(a,b)},g=function(a,b,c,d){d&&d.params&&__t.apply(a,d.params);c=c.apply(a,b);d&&d.returns&&__t([c,d.returns]);return c},h=function(b,c,d,e,f){if(f){f.callId||(f.callId=f.module+":"+(f.line||0)+":"+(f.column||0));e=f.callId;a[e]=(a[e]||0)+1}return d.apply(b,c)};typeof __transform_includes==="undefined"?(__annotator=d,__bodyWrapper=f):(__annotator=e,"codeusage"in __transform_includes?(__annotator=d,__bodyWrapper=h,__bodyWrapper.getCodeUsage=function(){return a},__bodyWrapper.clearCodeUsage=function(){a={}}):"typechecks"in __transform_includes?__bodyWrapper=g:__bodyWrapper=f)})(); +__t=function(a){return a[0]},__w=function(a){return a}; +var require,__d;(function(a){var b={},c={},d=["global","require","requireDynamic","requireLazy","module","exports"];require=function(d,e){if(Object.prototype.hasOwnProperty.call(c,d))return c[d];if(!Object.prototype.hasOwnProperty.call(b,d)){if(e)return null;throw new Error("Module "+d+" has not been defined")}e=b[d];var f=e.deps,g=e.factory.length,h,i=[];for(var j=0;j1?Number(arguments[1]):0;isNaN(c)&&(c=0);var d=Math.min(Math.max(c,0),b.length);return b.indexOf(String(a),c)==d};a.endsWith=function(a){var b=String(this);if(this==null)throw new TypeError("String.prototype.endsWith called on null or undefined");var c=b.length,d=String(a),e=arguments.length>1?Number(arguments[1]):c;isNaN(e)&&(e=0);var f=Math.min(Math.max(e,0),c),g=f-d.length;return g<0?!1:b.lastIndexOf(d,g)==g};a.includes=function(a){if(this==null)throw new TypeError("String.prototype.contains called on null or undefined");var b=String(this),c=arguments.length>1?Number(arguments[1]):0;isNaN(c)&&(c=0);return b.indexOf(String(a),c)!=-1};a.contains=a.includes;a.repeat=function(a){__p&&__p();if(this==null)throw new TypeError("String.prototype.repeat called on null or undefined");var b=String(this);a=a?Number(a):0;isNaN(a)&&(a=0);if(a<0||a===Infinity)throw RangeError();if(a===1)return b;if(a===0)return"";var c="";while(a)a&1&&(c+=b),(a>>=1)&&(b+=b);return c};e.exports=a}),null); +__d("ES6Array",[],(function(a,b,c,d,e,f){"use strict";__p&&__p();a={from:function(a){__p&&__p();if(a==null)throw new TypeError("Object is null or undefined");var b=arguments[1],c=arguments[2],d=this,e=Object(a),f=typeof Symbol==="function"?typeof Symbol==="function"?Symbol.iterator:"@@iterator":"@@iterator",g=typeof b==="function",h=typeof e[f]==="function",i=0,j,k;if(h){j=typeof d==="function"?new d():[];var l=e[f](),m;while(!(m=l.next()).done)k=m.value,g&&(k=b.call(c,k,i)),j[i]=k,i+=1;j.length=i;return j}var n=e.length;(isNaN(n)||n<0)&&(n=0);j=typeof d==="function"?new d(n):new Array(n);while(i>>0;for(var e=0;e>>0,d=arguments[1],e=d>>0,f=e<0?Math.max(c+e,0):Math.min(e,c),g=arguments[2],h=g===undefined?c:g>>0,i=h<0?Math.max(c+h,0):Math.min(h,c);while(f9999?"+":"")+("00000"+Math.abs(a)).slice(0<=a&&a<=9999?-4:-6);return a+"-"+g(this.getUTCMonth()+1)+"-"+g(this.getUTCDate())+"T"+g(this.getUTCHours())+":"+g(this.getUTCMinutes())+":"+g(this.getUTCSeconds())+"."+(this.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"}};e.exports=a}),null); +__d("ES6Number",[],(function(a,b,c,d,e,f){__p&&__p();a=Math.pow(2,-52);b=Math.pow(2,53)-1;c=-1*b;d={isFinite:function(a){function b(b){return a.apply(this,arguments)}b.toString=function(){return a.toString()};return b}(function(a){return typeof a==="number"&&isFinite(a)}),isNaN:function(a){function b(b){return a.apply(this,arguments)}b.toString=function(){return a.toString()};return b}(function(a){return typeof a==="number"&&isNaN(a)}),isInteger:function(a){return this.isFinite(a)&&Math.floor(a)===a},isSafeInteger:function(a){return this.isFinite(a)&&a>=this.MIN_SAFE_INTEGER&&a<=this.MAX_SAFE_INTEGER&&Math.floor(a)===a},EPSILON:a,MAX_SAFE_INTEGER:b,MIN_SAFE_INTEGER:c};e.exports=d}),null); +__d("ES6Object",["ie8DontEnum"],(function(a,b,c,d,e,f,g){__p&&__p();var h={}.hasOwnProperty;a={assign:function(a){__p&&__p();if(a==null)throw new TypeError("Object.assign target cannot be null or undefined");a=Object(a);for(var b=0;b<(arguments.length<=1?0:arguments.length-1);b++){var c=b+1<1||arguments.length<=b+1?undefined:arguments[b+1];if(c==null)continue;c=Object(c);for(var d in c)h.call(c,d)&&(a[d]=c[d]);g(c,function(b){return a[b]=c[b]})}return a},is:function(a,b){if(a===b)return a!==0||1/a===1/b;else return a!==a&&b!==b}};e.exports=a}),null); +__d("ES7ArrayPrototype",["ES5Array","ES5ArrayPrototype"],(function(a,b,c,d,e,f,g,h){__p&&__p();var i=g.isArray,j=h.indexOf;function k(a){return Math.min(Math.max(l(a),0),Number.MAX_SAFE_INTEGER)}function l(a){a=Number(a);return isFinite(a)&&a!==0?m(a)*Math.floor(Math.abs(a)):a}function m(a){return a>=0?1:-1}a={includes:function(a){"use strict";__p&&__p();if(a!==undefined&&i(this)&&!(typeof a==="number"&&isNaN(a)))return j.apply(this,arguments)!==-1;var b=Object(this),c=b.length?k(b.length):0;if(c===0)return!1;var d=arguments.length>1?l(arguments[1]):0,e=d<0?Math.max(c+d,0):d,f=isNaN(a)&&typeof a==="number";while(e1)))/4)-A((a-1901+b)/100)+A((a-1601+b)/400)};(o=b.hasOwnProperty)||(o=function(a){var b={},c;(b.__proto__=null,b.__proto__={toString:1},b).toString!=n?o=function(a){var b=this.__proto__;a=a in(this.__proto__=null,this);this.__proto__=b;return a}:(c=b.constructor,o=function(a){var b=(this.constructor||c).prototype;return a in this&&!(a in b&&this[a]===b[a])});return o.call(this,a)});p=function(a,b){__p&&__p();var d=0,e,f;(e=function(){this.valueOf=0}).prototype.valueOf=0;f=new e();for(e in f)o.call(f,e)&&d++;f=null;!d?(f=["valueOf","toString","toLocaleString","propertyIsEnumerable","isPrototypeOf","hasOwnProperty","constructor"],p=function(a,b){var d=n.call(a)==t,e,g=!d&&typeof a.constructor!="function"&&c[typeof a.hasOwnProperty]&&a.hasOwnProperty||o;for(e in a)!(d&&e=="prototype")&&g.call(a,e)&&b(e);for(d=f.length;e=f[--d];g.call(a,e)&&b(e));}):d==2?p=function(a,b){var c={},d=n.call(a)==t,e;for(e in a)!(d&&e=="prototype")&&!o.call(c,e)&&(c[e]=1)&&o.call(a,e)&&b(e)}:p=function(a,b){var c=n.call(a)==t,d,e;for(d in a)!(c&&d=="prototype")&&o.call(a,d)&&!(e=d==="constructor")&&b(d);(e||o.call(a,d="constructor"))&&b(d)};return p(a,b)};if(!s("json-stringify")){var D={92:"\\\\",34:'\\"',8:"\\b",12:"\\f",10:"\\n",13:"\\r",9:"\\t"},E="000000",F=function(a,b){return(E+(b||0)).slice(-a)},G="\\u00",H=function(a){__p&&__p();var b='"',c=0,d=a.length,e=!z||d>10,f=e&&(z?a.split(""):a);for(;c-1/0&&h<1/0){if(C){m=A(h/864e5);for(j=A(m/365.2425)+1970-1;C(j+1,0)<=m;j++);for(k=A((m-C(j,0))/30.42);C(j,k+1)<=m;k++);m=1+m-C(j,k);r=(h%864e5+864e5)%864e5;s=A(r/36e5)%24;t=A(r/6e4)%60;z=A(r/1e3)%60;r=r%1e3}else j=h.getUTCFullYear(),k=h.getUTCMonth(),m=h.getUTCDate(),s=h.getUTCHours(),t=h.getUTCMinutes(),z=h.getUTCSeconds(),r=h.getUTCMilliseconds();h=(j<=0||j>=1e4?(j<0?"-":"+")+F(6,j<0?-j:j):F(4,j))+"-"+F(2,k+1)+"-"+F(2,m)+"T"+F(2,s)+":"+F(2,t)+":"+F(2,z)+"."+F(3,r)+"Z"}else h=null;else typeof h.toJSON=="function"&&(i!=v&&i!=w&&i!=x||o.call(h,"toJSON"))&&(h=h.toJSON(a))}c&&(h=c.call(b,a,h));if(h===null)return"null";i=n.call(h);if(i==y)return""+h;else if(i==v)return h>-1/0&&h<1/0?""+h:"null";else if(i==w)return H(""+h);if(typeof h=="object"){for(j=g.length;j--;)if(g[j]===h)throw l();g.push(h);B=[];k=f;f+=e;if(i==x){for(m=0,j=h.length;m0)for(e="",d>10&&(d=10);e.length=48&&g<=57||g>=97&&g<=102||g>=65&&g<=70||N();c+=J("0x"+a.slice(d,L));break;default:N()}}else{if(g==34)break;g=a.charCodeAt(L);d=L;while(g>=32&&g!=92&&g!=34)g=a.charCodeAt(++L);c+=a.slice(d,L)}}if(a.charCodeAt(L)==34){L++;return c}N();default:d=L;g==45&&(f=!0,g=a.charCodeAt(++L));if(g>=48&&g<=57){g==48&&(g=a.charCodeAt(L+1),g>=48&&g<=57)&&N();f=!1;for(;L=48&&g<=57);L++);if(a.charCodeAt(L)==46){e=++L;for(;e=48&&g<=57);e++);e==L&&N();L=e}g=a.charCodeAt(L);if(g==101||g==69){g=a.charCodeAt(++L);(g==43||g==45)&&L++;for(e=L;e=48&&g<=57);e++);e==L&&N();L=e}return+a.slice(d,L)}f&&N();if(a.slice(L,L+4)=="true"){L+=4;return!0}else if(a.slice(L,L+5)=="false"){L+=5;return!1}else if(a.slice(L,L+4)=="null"){L+=4;return null}N()}}return"$"},P=function(a){__p&&__p();var b,c;a=="$"&&N();if(typeof a=="string"){if((z?a.charAt(0):a[0])=="@")return a.slice(1);if(a=="["){b=[];for(;;c||(c=!0)){a=O();if(a=="]")break;c&&(a==","?(a=O(),a=="]"&&N()):N());a==","&&N();b.push(P(a))}return b}else if(a=="{"){b={};for(;;c||(c=!0)){a=O();if(a=="}")break;c&&(a==","?(a=O(),a=="}"&&N()):N());(a==","||typeof a!="string"||(z?a.charAt(0):a[0])!="@"||O()!=":")&&N();b[a.slice(1)]=P(O())}return b}N()}return a},Q=function(a,b,c){c=R(a,b,c);c===q?delete a[b]:a[b]=c},R=function(a,b,c){var d=a[b],e;if(typeof d=="object"&&d)if(n.call(d)==x)for(e=d.length;e--;)Q(d,e,c);else p(d,function(a){Q(d,a,c)});return c.call(a,b,d)};a.parse=function(a,b){var c;L=0;M=""+a;a=P(O());O()!="$"&&N();L=M=null;return b&&n.call(b)==t?R((c={},c[""]=a,c),"",b):a}}}a.runInContext=k;return a}if(d&&!b)k(e,d);else{var l=e.JSON,m=e.JSON3,n=!1,o=k(e,e.JSON3={noConflict:function(){n||(n=!0,e.JSON=l,e.JSON3=m,l=m=null);return o}});e.JSON={parse:o.parse,stringify:o.stringify}}b&&i(function(){return o})}).call(this)}var k=!1,l=function(){k||(k=!0,j());return h.exports};b=function(a){switch(a){case undefined:return l()}};e.exports=b}),null); +__d("json3",["json3-3.3.2"],(function(a,b,c,d,e,f){e.exports=b("json3-3.3.2")()}),null); +__d("ES",["ES5Array","ES5ArrayPrototype","ES5Date","ES5FunctionPrototype","ES5Object","ES5StringPrototype","ES6Array","ES6ArrayPrototype","ES6DatePrototype","ES6Number","ES6Object","ES7ArrayPrototype","ES7Object","ES7StringPrototype","json3"],(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u){__p&&__p();var v={}.toString,w={"JSON.stringify":u.stringify,"JSON.parse":u.parse};c={"Array.prototype":h,"Function.prototype":j,"String.prototype":l,Object:k,Array:g,Date:i};d={Object:q,"Array.prototype":n,"Date.prototype":o,Number:p,Array:m};f={Object:s,"String.prototype":t,"Array.prototype":r};function a(a){__p&&__p();for(var b in a){if(!Object.prototype.hasOwnProperty.call(a,b))continue;var c=a[b],d=b.split(".");if(d.length===2){var e=d[0],f=d[1];if(!e||!f||!window[e]||!window[e][f]){var g=e?window[e]:"-",h=e&&window[e]&&f?window[e][f]:"-";throw new Error("Unexpected state (t11975770): "+(e+", "+f+", "+g+", "+h+", "+b))}}e=d.length===2?window[d[0]][d[1]]:window[b];for(var i in c){if(!Object.prototype.hasOwnProperty.call(c,i))continue;if(typeof c[i]!=="function"){w[b+"."+i]=c[i];continue}f=e[i];w[b+"."+i]=f&&/\{\s+\[native code\]\s\}/.test(f)?f:c[i]}}}a(c);a(d);a(f);function b(a,b,c){var d=c?v.call(a).slice(8,-1)+".prototype":a,e=w[d+"."+b]||a[b];if(typeof e==="function"){for(var f=arguments.length,g=new Array(f>3?f-3:0),h=3;h=0)continue;c[d]=a[d]}return c};a.taggedTemplateLiteralLoose=function(a,b){a.raw=b;return a};a.bind=g.bind;e.exports=a}),null); var ES = require('ES'); var babelHelpers = require('sdk.babelHelpers'); (function(a,b){var c="keys",d="values",e="entries",f=function(){var a=h(Array),f;a||(f=function(){function a(a,b){"use strict";this.$1=a,this.$2=b,this.$3=0}a.prototype.next=function(){"use strict";if(this.$1==null)return{value:b,done:!0};var a=this.$1,f=this.$1.length,g=this.$3,h=this.$2;if(g>=f){this.$1=b;return{value:b,done:!0}}this.$3=g+1;if(h===c)return{value:g,done:!1};else if(h===d)return{value:a[g],done:!1};else if(h===e)return{value:[g,a[g]],done:!1}};a.prototype[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]=function(){"use strict";return this};return a}());return{keys:a?function(a){return a.keys()}:function(a){return new f(a,c)},values:a?function(a){return a.values()}:function(a){return new f(a,d)},entries:a?function(a){return a.entries()}:function(a){return new f(a,e)}}}(),g=function(){var a=h(String),c;a||(c=function(){function a(a){"use strict";this.$1=a,this.$2=0}a.prototype.next=function(){"use strict";if(this.$1==null)return{value:b,done:!0};var a=this.$2,c=this.$1,d=c.length;if(a>=d){this.$1=b;return{value:b,done:!0}}var e=c.charCodeAt(a);if(e<55296||e>56319||a+1===d)e=c[a];else{d=c.charCodeAt(a+1);d<56320||d>57343?e=c[a]:e=c[a]+c[a+1]}this.$2=a+e.length;return{value:e,done:!1}};a.prototype[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]=function(){"use strict";return this};return a}());return{keys:function(){throw TypeError("Strings default iterator doesn't implement keys.")},values:a?function(a){return a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]()}:function(a){return new c(a)},entries:function(){throw TypeError("Strings default iterator doesn't implement entries.")}}}();function h(a){return typeof a.prototype[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]==="function"&&typeof a.prototype.values==="function"&&typeof a.prototype.keys==="function"&&typeof a.prototype.entries==="function"}function i(a,b){"use strict";this.$1=a,this.$2=b,this.$3=ES("Object","keys",!1,a),this.$4=0}i.prototype.next=function(){"use strict";var a=this.$3.length,f=this.$4,g=this.$2,h=this.$3[f];if(f>=a){this.$1=b;return{value:b,done:!0}}this.$4=f+1;if(g===c)return{value:h,done:!1};else if(g===d)return{value:this.$1[h],done:!1};else if(g===e)return{value:[h,this.$1[h]],done:!1}};i.prototype[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]=function(){"use strict";return this};var j={keys:function(a){return new i(a,c)},values:function(a){return new i(a,d)},entries:function(a){return new i(a,e)}};function k(a,b){if(typeof a==="string")return g[b||d](a);else if(ES("Array","isArray",!1,a))return f[b||d](a);else if(a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"])return a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();else return j[b||e](a)}ES("Object","assign",!1,k,{KIND_KEYS:c,KIND_VALUES:d,KIND_ENTRIES:e,keys:function(a){return k(a,c)},values:function(a){return k(a,d)},entries:function(a){return k(a,e)},generic:j.entries});a.FB_enumerate=k})(typeof global==="undefined"?this:global); +(function(a,b){var c=a.window||a;function d(){return"f"+(Math.random()*(1<<30)).toString(16).replace(".","")}function e(a){var b=a?a.ownerDocument||a:document;b=b.defaultView||c;return!!(a&&(typeof b.Node==="function"?a instanceof b.Node:typeof a==="object"&&typeof a.nodeType==="number"&&typeof a.nodeName==="string"))}function f(a){a=c[a];if(a==null)return!0;if(typeof c.Symbol!=="function")return!0;var b=a.prototype;return a==null||typeof a!=="function"||typeof b.clear!=="function"||new a().size!==0||typeof b.keys!=="function"||typeof b.forEach!=="function"}var g=a.FB_enumerate,h=function(){if(!f("Map"))return c.Map;var i="key",j="value",k="key+value",l="$map_",m,n="IE_HASH_";function a(a){"use strict";if(!s(this))throw new TypeError("Wrong map object type.");r(this);if(a!=null){a=g(a);var b;while(!(b=a.next()).done){if(!s(b.value))throw new TypeError("Expected iterable items to be pair objects.");this.set(b.value[0],b.value[1])}}}a.prototype.clear=function(){"use strict";r(this)};a.prototype.has=function(a){"use strict";a=p(this,a);return!!(a!=null&&this._mapData[a])};a.prototype.set=function(a,b){"use strict";var c=p(this,a);c!=null&&this._mapData[c]?this._mapData[c][1]=b:(c=this._mapData.push([a,b])-1,q(this,a,c),this.size+=1);return this};a.prototype.get=function(a){"use strict";a=p(this,a);if(a==null)return b;else return this._mapData[a][1]};a.prototype["delete"]=function(a){"use strict";var c=p(this,a);if(c!=null&&this._mapData[c]){q(this,a,b);this._mapData[c]=b;this.size-=1;return!0}else return!1};a.prototype.entries=function(){"use strict";return new o(this,k)};a.prototype.keys=function(){"use strict";return new o(this,i)};a.prototype.values=function(){"use strict";return new o(this,j)};a.prototype.forEach=function(a,c){"use strict";if(typeof a!=="function")throw new TypeError("Callback must be callable.");a=ES(a,"bind",!0,c||b);c=this._mapData;for(var d=0;ddiv{overflow:hidden}.fb_link img{border:none}\u0040keyframes fb_transform{from{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.fb_animate{animation:fb_transform .3s forwards}\n.fb_dialog{background:rgba(82, 82, 82, .7);position:absolute;top:-10000px;z-index:10001}.fb_reset .fb_dialog_legacy{overflow:visible}.fb_dialog_advanced{padding:10px;border-radius:8px}.fb_dialog_content{background:#fff;color:#333}.fb_dialog_close_icon{background:url(https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yq\/r\/IE9JII6Z1Ys.png) no-repeat scroll 0 0 transparent;cursor:pointer;display:block;height:15px;position:absolute;right:18px;top:17px;width:15px}.fb_dialog_mobile .fb_dialog_close_icon{top:5px;left:5px;right:auto}.fb_dialog_padding{background-color:transparent;position:absolute;width:1px;z-index:-1}.fb_dialog_close_icon:hover{background:url(https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yq\/r\/IE9JII6Z1Ys.png) no-repeat scroll 0 -15px transparent}.fb_dialog_close_icon:active{background:url(https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yq\/r\/IE9JII6Z1Ys.png) no-repeat scroll 0 -30px transparent}.fb_dialog_loader{background-color:#f5f6f7;border:1px solid #606060;font-size:24px;padding:20px}.fb_dialog_top_left,.fb_dialog_top_right,.fb_dialog_bottom_left,.fb_dialog_bottom_right{height:10px;width:10px;overflow:hidden;position:absolute}.fb_dialog_top_left{background:url(https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/ye\/r\/8YeTNIlTZjm.png) no-repeat 0 0;left:-10px;top:-10px}.fb_dialog_top_right{background:url(https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/ye\/r\/8YeTNIlTZjm.png) no-repeat 0 -10px;right:-10px;top:-10px}.fb_dialog_bottom_left{background:url(https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/ye\/r\/8YeTNIlTZjm.png) no-repeat 0 -20px;bottom:-10px;left:-10px}.fb_dialog_bottom_right{background:url(https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/ye\/r\/8YeTNIlTZjm.png) no-repeat 0 -30px;right:-10px;bottom:-10px}.fb_dialog_vert_left,.fb_dialog_vert_right,.fb_dialog_horiz_top,.fb_dialog_horiz_bottom{position:absolute;background:#525252;filter:alpha(opacity=70);opacity:.7}.fb_dialog_vert_left,.fb_dialog_vert_right{width:10px;height:100\u0025}.fb_dialog_vert_left{margin-left:-10px}.fb_dialog_vert_right{right:0;margin-right:-10px}.fb_dialog_horiz_top,.fb_dialog_horiz_bottom{width:100\u0025;height:10px}.fb_dialog_horiz_top{margin-top:-10px}.fb_dialog_horiz_bottom{bottom:0;margin-bottom:-10px}.fb_dialog_iframe{line-height:0}.fb_dialog_content .dialog_title{background:#6d84b4;border:1px solid #365899;color:#fff;font-size:14px;font-weight:bold;margin:0}.fb_dialog_content .dialog_title>span{background:url(https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yd\/r\/Cou7n-nqK52.gif) no-repeat 5px 50\u0025;float:left;padding:5px 0 7px 26px}body.fb_hidden{-webkit-transform:none;height:100\u0025;margin:0;overflow:visible;position:absolute;top:-10000px;left:0;width:100\u0025}.fb_dialog.fb_dialog_mobile.loading{background:url(https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/ya\/r\/3rhSv5V8j3o.gif) white no-repeat 50\u0025 50\u0025;min-height:100\u0025;min-width:100\u0025;overflow:hidden;position:absolute;top:0;z-index:10001}.fb_dialog.fb_dialog_mobile.loading.centered{width:auto;height:auto;min-height:initial;min-width:initial;background:none}.fb_dialog.fb_dialog_mobile.loading.centered #fb_dialog_loader_spinner{width:100\u0025}.fb_dialog.fb_dialog_mobile.loading.centered .fb_dialog_content{background:none}.loading.centered #fb_dialog_loader_close{color:#fff;display:block;padding-top:20px;clear:both;font-size:18px}#fb-root #fb_dialog_ipad_overlay{background:rgba(0, 0, 0, .45);position:absolute;bottom:0;left:0;right:0;top:0;width:100\u0025;min-height:100\u0025;z-index:10000}#fb-root #fb_dialog_ipad_overlay.hidden{display:none}.fb_dialog.fb_dialog_mobile.loading iframe{visibility:hidden}.fb_dialog_mobile .fb_dialog_iframe{position:-webkit-sticky;top:0}.fb_dialog_content .dialog_header{-webkit-box-shadow:white 0 1px 1px -1px inset;background:-webkit-gradient(linear, 0\u0025 0\u0025, 0\u0025 100\u0025, from(#738ABA), to(#2C4987));border-bottom:1px solid;border-color:#1d4088;color:#fff;font:14px Helvetica, sans-serif;font-weight:bold;text-overflow:ellipsis;text-shadow:rgba(0, 30, 84, .296875) 0 -1px 0;vertical-align:middle;white-space:nowrap}.fb_dialog_content .dialog_header table{-webkit-font-smoothing:subpixel-antialiased;height:43px;width:100\u0025}.fb_dialog_content .dialog_header td.header_left{font-size:12px;padding-left:5px;vertical-align:middle;width:60px}.fb_dialog_content .dialog_header td.header_right{font-size:12px;padding-right:5px;vertical-align:middle;width:60px}.fb_dialog_content .touchable_button{background:-webkit-gradient(linear, 0\u0025 0\u0025, 0\u0025 100\u0025, from(#4966A6), color-stop(.5, #355492), to(#2A4887));border:1px solid #29487d;-webkit-background-clip:padding-box;-webkit-border-radius:3px;-webkit-box-shadow:rgba(0, 0, 0, .117188) 0 1px 1px inset, rgba(255, 255, 255, .167969) 0 1px 0;display:inline-block;margin-top:3px;max-width:85px;line-height:18px;padding:4px 12px;position:relative}.fb_dialog_content .dialog_header .touchable_button input{border:none;background:none;color:#fff;font:12px Helvetica, sans-serif;font-weight:bold;margin:2px -12px;padding:2px 6px 3px 6px;text-shadow:rgba(0, 30, 84, .296875) 0 -1px 0}.fb_dialog_content .dialog_header .header_center{color:#fff;font-size:16px;font-weight:bold;line-height:18px;text-align:center;vertical-align:middle}.fb_dialog_content .dialog_content{background:url(https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/y9\/r\/jKEcVPZFk-2.gif) no-repeat 50\u0025 50\u0025;border:1px solid #555;border-bottom:0;border-top:0;height:150px}.fb_dialog_content .dialog_footer{background:#f5f6f7;border:1px solid #555;border-top-color:#ccc;height:40px}#fb_dialog_loader_close{float:left}.fb_dialog.fb_dialog_mobile .fb_dialog_close_button{text-shadow:rgba(0, 30, 84, .296875) 0 -1px 0}.fb_dialog.fb_dialog_mobile .fb_dialog_close_icon{visibility:hidden}#fb_dialog_loader_spinner{animation:rotateSpinner 1.2s linear infinite;background-color:transparent;background-image:url(https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yD\/r\/t-wz8gw1xG1.png);background-repeat:no-repeat;background-position:50\u0025 50\u0025;height:24px;width:24px}\u0040keyframes rotateSpinner{0\u0025{transform:rotate(0deg)}100\u0025{transform:rotate(360deg)}}\n.fb_iframe_widget{display:inline-block;position:relative}.fb_iframe_widget span{display:inline-block;position:relative;text-align:justify}.fb_iframe_widget iframe{position:absolute}.fb_iframe_widget_fluid_desktop,.fb_iframe_widget_fluid_desktop span,.fb_iframe_widget_fluid_desktop iframe{max-width:100\u0025}.fb_iframe_widget_fluid_desktop iframe{min-width:220px;position:relative}.fb_iframe_widget_lift{z-index:1}.fb_hide_iframes iframe{position:relative;left:-10000px}.fb_iframe_widget_loader{position:relative;display:inline-block}.fb_iframe_widget_fluid{display:inline}.fb_iframe_widget_fluid span{width:100\u0025}.fb_iframe_widget_loader iframe{min-height:32px;z-index:2;zoom:1}.fb_iframe_widget_loader .FB_Loader{background:url(https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/y9\/r\/jKEcVPZFk-2.gif) no-repeat;height:32px;width:32px;margin-left:-16px;position:absolute;left:50\u0025;z-index:4}\n.fb_customer_chat_bounce_in_v2{animation-duration:300ms;animation-name:fb_bounce_in_v2;transition-timing-function:ease-in}.fb_customer_chat_bounce_out_v2{animation-duration:300ms;animation-name:fb_bounce_out_v2;transition-timing-function:ease-in}.fb_customer_chat_bounce_in_v2_mobile_chat_started{animation-duration:300ms;animation-name:fb_bounce_in_v2_mobile_chat_started;transition-timing-function:ease-in}.fb_customer_chat_bounce_out_v2_mobile_chat_started{animation-duration:300ms;animation-name:fb_bounce_out_v2_mobile_chat_started;transition-timing-function:ease-in}.fb_customer_chat_bubble_pop_in{animation-duration:250ms;animation-name:fb_customer_chat_bubble_bounce_in_animation}.fb_customer_chat_bubble_animated_no_badge{box-shadow:0 3px 12px rgba(0, 0, 0, .15);transition:box-shadow 150ms linear}.fb_customer_chat_bubble_animated_no_badge:hover{box-shadow:0 5px 24px rgba(0, 0, 0, .3)}.fb_customer_chat_bubble_animated_with_badge{box-shadow:-5px 4px 14px rgba(0, 0, 0, .15);transition:box-shadow 150ms linear}.fb_customer_chat_bubble_animated_with_badge:hover{box-shadow:-5px 8px 24px rgba(0, 0, 0, .2)}.fb_invisible_flow{display:inherit;height:0;overflow-x:hidden;width:0}.fb_mobile_overlay_active{background-color:#fff;height:100\u0025;overflow:hidden;position:fixed;visibility:hidden;width:100\u0025}\u0040keyframes fb_bounce_in_v2{0\u0025{opacity:0;transform:scale(0, 0);transform-origin:bottom right}50\u0025{transform:scale(1.03, 1.03);transform-origin:bottom right}100\u0025{opacity:1;transform:scale(1, 1);transform-origin:bottom right}}\u0040keyframes fb_bounce_in_v2_mobile_chat_started{0\u0025{opacity:0;top:20px}100\u0025{opacity:1;top:0}}\u0040keyframes fb_bounce_out_v2{0\u0025{opacity:1;transform:scale(1, 1);transform-origin:bottom right}100\u0025{opacity:0;transform:scale(0, 0);transform-origin:bottom right}}\u0040keyframes fb_bounce_out_v2_mobile_chat_started{0\u0025{opacity:1;top:0}100\u0025{opacity:0;top:20px}}\u0040keyframes fb_customer_chat_bubble_bounce_in_animation{0\u0025{bottom:6pt;opacity:0;transform:scale(0, 0);transform-origin:center}70\u0025{bottom:18pt;opacity:1;transform:scale(1.2, 1.2)}100\u0025{transform:scale(1, 1)}}","components":["css:fb.css.base","css:fb.css.dialog","css:fb.css.iframewidget","css:fb.css.customer_chat_plugin_iframe"]});__d("ApiClientConfig",[],{"FlashRequest":{"swfUrl":"https:\/\/connect.facebook.net\/rsrc.php\/v2\/yd\/r\/mxzow1Sdmxr.swf"}});__d("JSSDKCanvasPrefetcherConfig",[],{"blacklist":[144959615576466,768691303149786,320528941393723],"sampleRate":500}); __d("DOMWrapper",[],(function(a,b,c,d,e,f){var g,h;a={setRoot:function(a){g=a},getRoot:function(){return g||document.body},setWindow:function(a){h=a},getWindow:function(){return h||self}};e.exports=a}),null); +__d("dotAccess",[],(function(a,b,c,d,e,f){function a(a,b,c){b=b.split(".");do{var d=b.shift();a=a[d]||c&&(a[d]={})}while(b.length&&a);return a}e.exports=a}),null); +__d("guid",[],(function(a,b,c,d,e,f){function a(){return"f"+(Math.random()*(1<<30)).toString(16).replace(".","")}e.exports=a}),null); +__d("wrapFunction",[],(function(a,b,c,d,e,f){__p&&__p();var g={};a=function(a,b,c){return function(){var d=b in g?g[b](a,c):a;for(var e=arguments.length,f=new Array(e),h=0;h1?b-1:0),d=1;d=b&&e[a in e?a:"log"](d)}var h={level:-1,Level:b,debug:ES(a,"bind",!0,null,"debug",b.DEBUG),info:ES(a,"bind",!0,null,"info",b.INFO),warn:ES(a,"bind",!0,null,"warn",b.WARNING),error:ES(a,"bind",!0,null,"error",b.ERROR),log:a};e.exports=h}),null); +__d("OAuthControllerParameterName",[],(function(a,b,c,d,e,f){e.exports=ES("Object","freeze",!1,{ANDROID_KEY:"android_key",API_KEY:"api_key",APP_ID:"app_id",AUTH_TOKEN:"auth_token",AUTH_TYPE:"auth_type",CLIENT_ID:"client_id",DISPLAY:"display",DOMAIN:"domain",FORCE_CONFIRMATION:"force_confirmation",NEXT:"next",ORIGIN:"origin",PERMS:"perms",REDIRECT_URI:"redirect_uri",REF:"ref",RESPONSE_TYPE:"response_type",RETURN_SCOPES:"return_scopes",SAVED_TOKEN:"saved_token",SCOPE:"scope",SDK:"sdk",STATE:"state",SSO:"sso",SSO_KEY:"sso_key",VERSION:"version",ANCESTOR_ORIGINS:"ancestor_origins"})}),null); +__d("ObservableMixin",[],(function(a,b,c,d,e,f){__p&&__p();function a(){this.__observableEvents={}}a.prototype={inform:function(a){__p&&__p();var b=Array.prototype.slice.call(arguments,1),c=Array.prototype.slice.call(this.getSubscribers(a));for(var d=0;d1?b-1:0),d=1;d1?b-1:0),d=1;d2?d-2:0),f=2;f",EVAL_FRAME_PATTERN_CHROME:/^at .*eval eval (at .*\:\d+\:\d+), .*$/,GLOBAL_ERROR_HANDLER_TAG:typeof window==="undefined"?"":"",GLOBAL_REACT_ERROR_HANDLER_TAG:"",IE_AND_OTHER_FRAME_PATTERN:/(.*)[@\s][^\s]+$/,IE_STACK_TRACE_REFERENCES:["Unknown script code","Function code","eval code"]};e.exports=a}),null); +__d("CometErrorUtils",["ErrorConstants"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();Error.stackTraceLimit!=null&&Error.stackTraceLimit<40&&(Error.stackTraceLimit=40);var h={getColumn:function(a){a=(a=a.columnNumber)!=null?a:"";return String(a)},getColumnFromStackData:function(a){return a[0]&&a[0].column||""},getIEFrame:function(a){for(var b=0;b:]+:\s/,"");a=a!=null&&ES(c,"startsWith",!0,a)?c.substr(a.length+1):c!==b?c.replace(/^.*?\n/,""):b;return ES(a.split(/\n\n/)[0].replace(/[\(\)]|\[.*?\]/g,"").split("\n"),"map",!0,function(a){__p&&__p();a=ES(a,"trim",!0);var b=a.match(g.EVAL_FRAME_PATTERN_CHROME);b&&(a=b[1]);var c,d;b=a.match(/:(\d+)(?::(\d+))?$/);b&&(c=b[1],d=b[2],a=a.slice(0,-b[0].length));var e;b=h.getIEFrame(a)||a.match(g.IE_AND_OTHER_FRAME_PATTERN);if(b){a=a.substring(b[1].length+1);b=b[1].match(/(?:at)?\s*(.*)(?:[^\s]+|$)/);e=b?b[1]:""}ES(a,"includes",!0,"charset=utf-8;base64,")&&(a="");b={column:d,identifier:e,line:c,script:a};var f=e!=null&&e!==""?" "+e+" (":" ",i=f.length>1?")":"",j=c!=null&&c!==""?":"+c:"",k=d!=null&&d!==""?":"+d:"";f=" at"+f+a+j+k+i;return babelHelpers["extends"]({},b,{text:f})})}};e.exports=h}),null); +__d("Env",[],(function(a,b,c,d,e,f){b={start:ES("Date","now",!1),nocatch:!1,ajaxpipe_token:null};a.Env&&ES("Object","assign",!1,b,a.Env);a.Env=b;e.exports=b}),null); +__d("ManagedError",[],(function(a,b,c,d,e,f){var g;b=babelHelpers.inherits(a,Error);g=b&&b.prototype;function a(a,b){"use strict";g.constructor.call(this,a!==null&&a!==undefined?a:""),a!==null&&a!==undefined?this.message=a:this.message="",this.innerError=b}e.exports=a}),null); +__d("LogviewForcedKeyError",["ManagedError"],(function(a,b,c,d,e,f,g){__p&&__p();var h;b=babelHelpers.inherits(a,g);h=b&&b.prototype;function a(a,b){"use strict";h.constructor.call(this,b,a)}a.prototype.getCause=function(){"use strict";return this.innerError};a.prototype.getForcedCategoryKey=function(){"use strict";return this.message};e.exports=a}),null); +__d("erx",["ex"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();function a(a){__p&&__p();if(typeof a!=="string")return a;var b=ES(a,"indexOf",!0,g._prefix),c=a.lastIndexOf(g._suffix);if(b<0||c<0)return[a];var d=b+g._prefix.length,e=c+g._suffix.length;if(d>=c)return["erx slice failure: %s",a];b=a.substring(0,b);e=a.substring(e);a=a.substring(d,c);try{d=ES("JSON","parse",!1,a);d[0]=b+d[0]+e;return d}catch(b){return["erx parse failure: %s because %s",a,b.message]}}e.exports=a}),null); +__d("removeFromArray",[],(function(a,b,c,d,e,f){function a(a,b){b=ES(a,"indexOf",!0,b);b!==-1&&a.splice(b,1)}e.exports=a}),null); +__d("ErrorUtils",["CometErrorUtils","Env","ErrorConstants","LogviewForcedKeyError","eprintf","erx","removeFromArray","sprintf"],(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){"use strict";__p&&__p();var o="",p=/^https?:\/\//i,q=/^Type Mismatch for/,r=[],s,t=[],u=50,v=[],w=!1,x=!1,y=!1,z=/\bnocatch\b/.test(location.search);function A(a){a=a.columnNumber||a.column;return a!=null?String(a):""}function B(a){return a[0]&&a[0].column||""}function C(a){a=a.lineNumber||a.line;return a!=null?String(a):""}function D(a){return a[0]&&a[0].line||""}function E(a){a=a.fileName||a.sourceURL;return a!=null?String(a):""}function F(a){return a[0]&&a[0].script||""}function G(a){__p&&__p();var b=a.stackTrace||a.stack;if(b==null)return[];a=a.message;var c=b.replace(/^[\w \.\<\>:]+:\s/,"");a=a!=null&&ES(c,"startsWith",!0,a)?c.substr(a.length+1):c!==b?c.replace(/^.*?\n/,""):b;return ES(a.split(/\n\n/)[0].replace(/[\(\)]|\[.*?\]/g,"").split("\n"),"map",!0,function(a){__p&&__p();a=ES(a,"trim",!0);var b=a.match(i.EVAL_FRAME_PATTERN_CHROME);b&&(a=b[1]);var c,d;b=a.match(/:(\d+)(?::(\d+))?$/);b&&(c=b[1],d=b[2],a=a.slice(0,-b[0].length));var e;b=g.getIEFrame(a)||a.match(i.IE_AND_OTHER_FRAME_PATTERN);if(b){a=a.substring(b[1].length+1);b=b[1].match(/(?:at)?\s*(.*)(?:[^\s]+|$)/);e=b?b[1]:""}ES(a,"includes",!0,"charset=utf-8;base64,")&&(a="");b={column:d,identifier:e,line:c,script:a};s&&s(b);a=" at"+(b.identifier?" "+b.identifier+" (":" ")+b.script+(b.line?":"+b.line:"")+(b.column?":"+b.column:"")+(b.identifier?")":"");return babelHelpers["extends"]({},b,{text:a})})}function H(a){v.unshift(a),w=!0}function I(){v.shift(),w=v.length!==0}var J={ANONYMOUS_GUARD_TAG:i.ANONYMOUS_GUARD_TAG,GENERATED_GUARD_TAG:o,GLOBAL_ERROR_HANDLER_TAG:i.GLOBAL_ERROR_HANDLER_TAG,history:t,addListener:function(a,b){b===void 0&&(b=!1),r.push(a),b||ES(t,"forEach",!0,function(b){return a(b.error,b.loggingType)})},removeListener:function(a){m(r,a)},setSourceResolver:function(a){s=a},applyWithGuard:function(b,c,d,e,f,g){__p&&__p();H(f||i.ANONYMOUS_GUARD_TAG);h.nocatch&&(z=!0);if(z){try{f=b.apply(c,d||[])}finally{I()}return f}try{return Function.prototype.apply.call(b,c,d||[])}catch(h){f=h;if(f==null)try{var j=c,k=function(a){__p&&__p();if(a==null)return"";else if(typeof a==="object"&&a.toString)return a.toString();else if(typeof a==="boolean"&&a.toString)return a.toString();else if(typeof a==="number"&&a.toString)return a.toString();else if(typeof a==="string")return a;else if(typeof a==="symbol"&&a.toString)return a.toString();else if(typeof a==="function"&&a.toString)return a.toString();return""};if(c!=null)if(c==window)j="[The window object]";else if(c==a)j="[The global object]";else{var l=c,m={};ES(ES("Object","keys",!1,l),"map",!0,function(a,b){b=l[a];m[a]=k(b)});j=m}c=ES(d||[],"map",!0,k);var o="applyWithGuard threw null or undefined:\nFunc: %s\nContext: %s\nArgs: %s",p=b.toString&&b.toString().substr(0,1024);j=ES("JSON","stringify",!1,j).substr(0,1024);c=ES("JSON","stringify",!1,c).substr(0,1024);var q=n(o,p?p:"this function does not support toString",j,c);f=new Error(q);f.messageWithParams=[o,p?p:"this function does not support toString",j,c]}catch(a){q="applyWithGuard threw null or undefined with unserializable data:\nFunc: %s\nMetaEx: %s";o=b.toString&&b.toString().substr(0,1024);p=n(q,o?o:"this function does not support toString",a.message);f=new Error(p);f.messageWithParams=[p,o?o:"this function does not support toString",a.message]}g&&g.deferredSource&&(f.deferredSource=g.deferredSource);j=J.normalizeError(f);e&&e(j);j.extra||(j.extra={});if(b)try{j.extra[b.toString().substring(0,100)]="function"}catch(a){}d&&(j.extra[ES("Array","from",!1,d).toString().substring(0,100)]="args");j.guard=v[0];j.guardList=v.slice();J.reportError(j,!1,"GUARDED")}finally{I()}},guard:function(a,b,c){b=b||a.name||o;function d(){return J.applyWithGuard(a,c||this,[].concat(Array.prototype.slice.call(arguments)),null,b)}a.__SMmeta&&(d.__SMmeta=a.__SMmeta);return d},inGuard:function(){return w},normalizeError:function(a){__p&&__p();var b=a;a=a!=null?a:{};if(Object.prototype.hasOwnProperty.call(a,"_originalError"))return a;var c=G(a),d=!1;if(a.framesToPop){var e=a.framesToPop,f;while(e>0&&c.length>0)f=c.shift(),e--,d=!0;q.test(a.message)&&a.framesToPop===2&&f&&(p.test(f.script)&&(a.message+=" at "+f.script+(f.line?":"+f.line:"")+(f.column?":"+f.column:"")))}e=g.getReactComponentStack(a.reactComponentStackForLogging);var h=a instanceof j?a.getForcedCategoryKey():null;b={_originalError:b,cerror:!1,column:d?B(c):A(a)||B(c),deferredSource:a.deferredSource,extra:a.extra,fbloggerMetadata:a.fbloggerMetadata,forcedLogviewKey:h,guard:a.guard,guardList:a.guardList,line:d?D(c):C(a)||D(c),message:a.message,messageWithParams:a.messageWithParams,name:a.name,reactComponentStack:e,script:d?F(c):E(a)||F(c),serverHash:a.serverHash,snapshot:a.snapshot,stack:ES(c,"map",!0,function(a){return a.text}).join("\n"),stackFrames:c,type:a.type};typeof b.message==="string"?b.messageWithParams=b.messageWithParams||l(b.message):(b.messageObject=b.message,b.message=String(b.message)+" ("+typeof b.message+")");b.messageWithParams&&(b.message=k.apply(undefined,b.messageWithParams));typeof window!=="undefined"&&window&&window.location&&(b.windowLocationURL=window.location.href);s&&s(b);for(var i in b)b[i]==null&&delete b[i];return b},onerror:function(a,b,c,d,e){e=e||{},e.message=e.message||a,e.script=e.script||b,e.line=e.line||c,e.column=e.column||d,e.guard=i.GLOBAL_ERROR_HANDLER_TAG,e.guardList=[i.GLOBAL_ERROR_HANDLER_TAG],J.reportError(e,!0,"FATAL")},reportError:function(b,c,d){__p&&__p();c===void 0&&(c=!1);d===void 0&&(d="DEPRECATED");if(x){!1;return!1}b.reactComponentStack&&H(i.GLOBAL_REACT_ERROR_HANDLER_TAG);v.length>0&&(b.guard=b.guard||v[0],b.guardList=v.slice());b.reactComponentStack&&I();b=J.normalizeError(b);if(!c){c=a.console;var e=b._originalError;e=e!=null?""+e.message:"";if((!c[b.type]||b.type==="error")&&!y){e=e.length>80?e.slice(0,77)+"...":e;c.error('ErrorUtils caught an error: "'+e+"\". Subsequent errors won't be logged; see https://fburl.com/debugjs.");y=!0}}t.length>u&&t.splice(u/2,1);t.push({error:b,loggingType:d});x=!0;for(var c=0;c0){var e;b.guard=(e=b.guard)!=null?e:o.guardList[0];b.guardList=o.guardList.slice()}b.reactComponentStack&&o.popGuard();if(!c){e=a.console;c=""+b.message;if((!e[b.type]||b.type==="error")&&!k){c=c.length>80?c.slice(0,77)+"...":c;e.error('ErrorUtils caught an error: "'+c+"\". Subsequent errors won't be logged; see https://fburl.com/debugjs.");k=!0}}l.length>m&&l.splice(m/2,1);l.push({error:b,loggingType:d});j=!0;for(var e=0;e1?b-1:0),d=1;d2?d-2:0),f=2;f "+n;var o=g.normalizeError(c);o.type=i[a];h.reportError(o,!1,"FBLOGGER")};k.prototype.mustfix=function(a){for(var b=arguments.length,c=new Array(b>1?b-1:0),d=1;d1?b-1:0),d=1;d-1});if(c.length>0){a.push(b);return!1}return!0});return{invalidMetadata:a,validMetadata:b}};a.addGlobalMetadata=function(a,b,c){g.push([a,b,c])};e.exports=a}),null); +__d("FBLogMessage",["ErrorUtils","FBLoggerMetadata","FBLogMessageCore","TAAL","TAALOpcodes","erx","ex","sprintf"],(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){"use strict";__p&&__p();var o,p={mustfix:"error",warn:"warn",info:"log"},q=m,r=function a(b){return function(c){b>0&&(c(),a(b-1)(c))}};a=babelHelpers.inherits(s,i);o=a&&a.prototype;function s(a){o.constructor.call(this,a),this.metadata=new h(),this.taalOpcodes=[]}s.prototype.$FBLogMessage1=function(a,b){__p&&__p();var c=2;if(b===undefined){var d=new s("fblogger");r(c)(function(){return d.blameToPreviousFrame()});d.mustfix("You provided an undefined format string to FBLogger, dropping log line");return}var e;for(var f=arguments.length,h=new Array(f>2?f-2:0),i=2;i %s",a,this.project,u);e=g.normalizeError(e);if(!this.metadata.isEmpty()){var v=this.metadata.getAll(),w=v.invalidMetadata,x=v.validMetadata;if(w.length>0){var y=new s("fblogger");r(c)(function(){return y.blameToPreviousFrame()});y.warn("Metadata cannot contain colon %s",ES(w,"map",!0,function(a){return a.join(":")}).join(" "))}e.fbloggerMetadata=ES(x,"map",!0,function(a){return a.join(":")})}var z=p[a];e.type=z;if(this.error&&(this.taalOpcodes&&this.taalOpcodes.length)){var A=new s("fblogger");r(c)(function(){return A.blameToPreviousFrame()});A.warn("Blame helpers do not work with catching")}g.reportError(e,!1,"FBLOGGER")};s.prototype.mustfix=function(a){for(var b=arguments.length,c=new Array(b>1?b-1:0),d=1;d1?b-1:0),d=1;d';a.root.innerHTML='';b=!0;setTimeout(function(){a.root.innerHTML=f,a.root.firstChild.src=a.url,a.onInsert&&a.onInsert(a.root.firstChild)},0)}else{e=document.createElement("iframe");e.id=a.id;e.name=a.name;e.onload=d;e.scrolling="no";e.style.border="none";e.style.overflow="hidden";a.title&&(e.title=a.title);a.className&&(e.className=a.className);a.height!==undefined&&(e.style.height=a.height+"px");a.width!==undefined&&(a.width=="100%"?e.style.width=a.width:e.style.width=a.width+"px");a.root.appendChild(e);b=!0;e.src=a.url;a.onInsert&&a.onInsert(e)}}e.exports=a}),null); +__d("sdk.domReady",[],(function(a,b,c,d,e,f){__p&&__p();var g;b="readyState"in document?/loaded|complete/.test(document.readyState):!!document.body;function h(){if(!g)return;var a;while(a=g.shift())a();g=null}function a(a){if(g){g.push(a);return}else a()}if(!b){g=[];document.addEventListener?(document.addEventListener("DOMContentLoaded",h,!1),window.addEventListener("load",h,!1)):document.attachEvent&&(document.attachEvent("onreadystatechange",h),window.attachEvent("onload",h));if(document.documentElement.doScroll&&window===window.top){c=function a(){try{document.documentElement.doScroll("left")}catch(b){setTimeout(a,0);return}h()};c()}}e.exports=a}),3); +__d("sdk.Content",["Log","sdk.domReady","sdk.UA"],(function(a,b,c,d,e,f,g,h,i){__p&&__p();var j,k={append:function(a,b){b||(!j?(j=b=document.getElementById("fb-root"),b||(g.warn('The "fb-root" div has not been created, auto-creating'),j=b=document.createElement("div"),b.id="fb-root",i.ie()||!document.body?h(function(){document.body.appendChild(b)}):document.body.appendChild(b)),b.className+=" fb_reset"):b=j);if(typeof a==="string"){var c=document.createElement("div");b.appendChild(c).innerHTML=a;return c}else return b.appendChild(a)},appendHidden:function(a){if(!b){var b=document.createElement("div"),c=b.style;c.position="absolute";c.top="-10000px";c.width=c.height=0;b=k.append(b)}return k.append(a,b)},submitToTarget:function(a,b){__p&&__p();var c=document.createElement("form");c.action=a.url;c.target=a.target;c.method=b?"GET":"POST";k.appendHidden(c);for(var d in a.params)if(Object.prototype.hasOwnProperty.call(a.params,d)){b=a.params[d];if(b!==null&&b!==undefined){var e=document.createElement("input");e.name=d;e.value=b;c.appendChild(e)}}c.submit();c.parentNode.removeChild(c)}};e.exports=k}),null); +__d("sdk.Impressions",["Miny","QueryString","UrlMap","getBlankIframeSrc","guid","insertIframe","sdk.Content","sdk.Runtime"],(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){__p&&__p();function o(a){__p&&__p();var b=n.getClientID();!a.api_key&&b&&(a.api_key=b);a.kid_directed_site=n.getKidDirectedSite();b=i.resolve("www",!0)+"/impression.php/"+k()+"/";var c=h.appendToUrl(b,a);if(c.length>2e3&&(a.payload&&typeof a.payload==="string")){var d=g.encode(a.payload);d&&d.length>>18),g.charCodeAt(a>>>12&63),g.charCodeAt(a>>>6&63),g.charCodeAt(a&63))}var i=">___?456789:;<=_______\0\x01\x02\x03\x04\x05\x06\x07\b\t\n\v\f\r\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19______\x1a\x1b\x1c\x1d\x1e\x1f !\"#$%&'()*+,-./0123";function j(a){a=i.charCodeAt(a.charCodeAt(0)-43)<<18|i.charCodeAt(a.charCodeAt(1)-43)<<12|i.charCodeAt(a.charCodeAt(2)-43)<<6|i.charCodeAt(a.charCodeAt(3)-43);return String.fromCharCode(a>>>16,a>>>8&255,a&255)}var k={encode:function(a){a=unescape(encodeURI(a));var b=(a.length+2)%3;a=(a+"\0\0".slice(b)).replace(/[\s\S]{3}/g,h);return a.slice(0,a.length+b-2)+"==".slice(b)},decode:function(a){a=a.replace(/[^A-Za-z0-9+\/]/g,"");var b=a.length+3&3;a=(a+"AAA".slice(b)).replace(/..../g,j);a=a.slice(0,a.length+b-3);try{return decodeURIComponent(escape(a))}catch(a){throw new Error("Not valid UTF-8")}},encodeObject:function(a){return k.encode(ES("JSON","stringify",!1,a))},decodeObject:function(a){return ES("JSON","parse",!1,k.decode(a))},encodeNums:function(a){return String.fromCharCode.apply(String,ES(a,"map",!0,function(a){return g.charCodeAt((a|-(a>63?1:0))&-(a>0?1:0)&63)}))}};e.exports=k}),null); +__d("sdk.SignedRequest",["Base64"],(function(a,b,c,d,e,f,g){function a(a){if(!a)return null;a=a.split(".",2)[1].replace(/\-/g,"+").replace(/\_/g,"/");return g.decodeObject(a)}b={parse:a};e.exports=b}),null); +__d("URIRFC3986",[],(function(a,b,c,d,e,f){__p&&__p();var g=new RegExp("^([^:/?#]+:)?(//([^\\\\/?#@]*@)?(\\[[A-Fa-f0-9:.]+\\]|[^\\/?#:]*)(:[0-9]*)?)?([^?#]*)(\\?[^#]*)?(#.*)?");a={parse:function(a){__p&&__p();if(ES(a,"trim",!0)==="")return null;a=a.match(g);if(a==null)return null;var b={};b.uri=a[0]?a[0]:null;b.scheme=a[1]?a[1].substr(0,a[1].length-1):null;b.authority=a[2]?a[2].substr(2):null;b.userinfo=a[3]?a[3].substr(0,a[3].length-1):null;b.host=a[2]?a[4]:null;b.port=a[5]?a[5].substr(1)?parseInt(a[5].substr(1),10):null:null;b.path=a[6]?a[6]:null;b.query=a[7]?a[7].substr(1):null;b.fragment=a[8]?a[8].substr(1):null;b.isGenericURI=b.authority===null&&!!b.scheme;return b}};e.exports=a}),null); +__d("createObjectFrom",[],(function(a,b,c,d,e,f){__p&&__p();function g(a,b){if(b===undefined)return g(a,!0);var c={};if(ES("Array","isArray",!1,b))for(var d=a.length-1;d>=0;d--)c[a[d]]=b[d];else for(var d=a.length-1;d>=0;d--)c[a[d]]=b;return c}e.exports=g}),null); +__d("URISchemes",["createObjectFrom"],(function(a,b,c,d,e,f,g){var h=g(["blob","cmms","fb","fba","fbatwork","fb-ama","fb-workchat","fb-workchat-secure","fb-messenger","fb-messenger-public","fb-messenger-group-thread","fb-page-messages","fb-pma","fbcf","fbconnect","fbinternal","fbmobilehome","fbrpc","file","ftp","http","https","mailto","ms-app","intent","itms","itms-apps","itms-services","market","svn+ssh","fbstaging","tel","sms","pebblejs","sftp","whatsapp","moments","flash","fblite","chrome-extension","webcal","fb124024574287414","fb124024574287414rc","fb124024574287414master","fb1576585912599779","fb929757330408142","designpack","fbpixelcloud","fbapi20130214","fb1196383223757595","tbauth","oculus","oculus.store","skype","callto","workchat","fb236786383180508","fb1775440806014337","data"]);a={isAllowed:function(a){return!a?!0:Object.prototype.hasOwnProperty.call(h,a.toLowerCase())}};e.exports=a}),null); +__d("setHostSubdomain",[],(function(a,b,c,d,e,f){function a(a,b){a=a.split(".");a.length<3?a.unshift(b):a[0]=b;return a.join(".")}e.exports=a}),null); +__d("URIBase",["FBLogger","URIRFC3986","URISchemes","ex","invariant","setHostSubdomain"],(function(a,b,c,d,e,f,g,h,i,j,k,l){__p&&__p();var m=new RegExp("[\\x00-\\x2c\\x2f\\x3b-\\x40\\x5c\\x5e\\x60\\x7b-\\x7f\\uFDD0-\\uFDEF\\uFFF0-\\uFFFF\\u2047\\u2048\\uFE56\\uFE5F\\uFF03\\uFF0F\\uFF1F]"),n=new RegExp("^(?:[^/]*:|[\\x00-\\x1f]*/[\\x00-\\x1f]*/)");function o(a,b,c,d){__p&&__p();if(!b)return!0;if(b instanceof q){a.setProtocol(b.getProtocol());a.setDomain(b.getDomain());a.setPort(b.getPort());a.setPath(b.getPath());a.setQueryData(d.deserialize(d.serialize(b.getQueryData())));a.setFragment(b.getFragment());a.setIsGeneric(b.getIsGeneric());a.setForceFragmentSeparator(b.getForceFragmentSeparator());return!0}b=ES(b.toString(),"trim",!0);var e=h.parse(b)||{fragment:null,scheme:null};if(!c&&!i.isAllowed(e.scheme))return!1;a.setProtocol(e.scheme||"");if(!c&&m.test(e.host||""))return!1;a.setDomain(e.host||"");a.setPort(e.port||"");a.setPath(e.path||"");if(c)a.setQueryData(d.deserialize(e.query||"")||{});else try{a.setQueryData(d.deserialize(e.query||"")||{})}catch(a){return!1}a.setFragment(e.fragment||"");e.fragment===""&&a.setForceFragmentSeparator(!0);a.setIsGeneric(e.isGenericURI||!1);if(e.userinfo!==null)if(c)throw new Error(j("URI.parse: invalid URI (userinfo is not allowed in a URI): %s",a.toString()));else return!1;if(!a.getDomain()&&ES(a.getPath(),"indexOf",!0,"\\")!==-1)if(c)throw new Error(j("URI.parse: invalid URI (no domain but multiple back-slashes): %s",a.toString()));else return!1;if(!a.getProtocol()&&n.test(b))if(c)throw new Error(j("URI.parse: invalid URI (unsafe protocol-relative URLs): %s",a.toString()));else return!1;if(a.getDomain()&&a.getPath()&&!ES(a.getPath(),"startsWith",!0,"/"))if(c)throw new Error(j("URI.parse: invalid URI (domain and path where path lacks leading slash): %s",a.toString()));else return!1;return!0}var p=[];q.tryParse=function(a,b){"use strict";var c=new q(null,b);return o(c,a,!1,b)?c:null};q.isValid=function(a,b){"use strict";return!!q.tryParse(a,b)};function q(a,b){"use strict";b||k(0,undefined),this.$9=b,this.$7="",this.$1="",this.$6="",this.$5="",this.$3="",this.$4=!1,this.$8={},this.$2=!1,o(this,a,!0,b)}q.prototype.setProtocol=function(a){"use strict";i.isAllowed(a)||(g("uri").mustfix("You attempted to set the protocol of a URI to `%s`. That protocol does not pass the `URISchemes.isAllowed` test.",a),k(0,undefined,a));this.$7=a;return this};q.prototype.getProtocol=function(){"use strict";return(this.$7||"").toLowerCase()};q.prototype.setSecure=function(a){"use strict";return this.setProtocol(a?"https":"http")};q.prototype.isSecure=function(){"use strict";return this.getProtocol()==="https"};q.prototype.setDomain=function(a){"use strict";if(m.test(a))throw new Error(j("URI.setDomain: unsafe domain specified: %s for url %s",a,this.toString()));this.$1=a;return this};q.prototype.getDomain=function(){"use strict";return this.$1};q.prototype.setPort=function(a){"use strict";this.$6=a;return this};q.prototype.getPort=function(){"use strict";return this.$6};q.prototype.setPath=function(a){"use strict";this.$5=a;return this};q.prototype.getPath=function(){"use strict";return this.$5};q.prototype.addQueryData=function(a,b){"use strict";Object.prototype.toString.call(a)==="[object Object]"?ES("Object","assign",!1,this.$8,a):this.$8[a]=b;return this};q.prototype.setQueryData=function(a){"use strict";this.$8=a;return this};q.prototype.getQueryData=function(){"use strict";return this.$8};q.prototype.removeQueryData=function(a){"use strict";ES("Array","isArray",!1,a)||(a=[a]);for(var b=0,c=a.length;b0||this.getFragment())};q.prototype.toString=function(){"use strict";var a=this;for(var b=0;bh},ie64:function(){return x.ie()&&r},firefox:function(){return w()||i},opera:function(){return w()||j},webkit:function(){return w()||k},safari:function(){return x.webkit()},chrome:function(){return w()||l},windows:function(){return w()||o},osx:function(){return w()||n},linux:function(){return w()||p},iphone:function(){return w()||s},mobile:function(){return w()||s||t||q||v},nativeApp:function(){return w()||u},android:function(){return w()||q},ipad:function(){return w()||t}};e.exports=x}),null); +__d("htmlSpecialChars",[],(function(a,b,c,d,e,f){__p&&__p();var g=/&/g,h=//g,j=/\"/g,k=/\'/g;function a(a){if(typeof a==="undefined"||a===null||!a.toString)return"";if(a===!1)return"0";else if(a===!0)return"1";return a.toString().replace(g,"&").replace(j,""").replace(k,"'").replace(h,"<").replace(i,">")}e.exports=a}),null); +__d("emptyFunction",[],(function(a,b,c,d,e,f){__p&&__p();function a(a){return function(){return a}}b=function(){};b.thatReturns=a;b.thatReturnsFalse=a(!1);b.thatReturnsTrue=a(!0);b.thatReturnsNull=a(null);b.thatReturnsThis=function(){return this};b.thatReturnsArgument=function(a){return a};e.exports=b}),null); +__d("sdk.DOMEventListener",["emptyFunction","invariant","wrapFunction"],(function(a,b,c,d,e,f,g,h,i){__p&&__p();var j=!1;try{a=Object.defineProperty({},"passive",{get:function(){j=!0}});window.addEventListener("test",null,a)}catch(a){}var k,l;window.addEventListener?(k=function(a,b,c,d){d===void 0&&(d=!1),c.wrapper=i(c,"entry","DOMEventListener.add "+b),a.addEventListener(b,c.wrapper,j?d:!1)},l=function(a,b,c,d){d===void 0&&(d=!1),a.removeEventListener(b,c.wrapper,j?d:!1)}):window.attachEvent?(k=function(a,b,c){c.wrapper=i(c,"entry","DOMEventListener.add "+b),a.attachEvent||h(0,undefined),a.attachEvent("on"+b,c.wrapper)},l=function(a,b,c){a.detachEvent||h(0,undefined),a.detachEvent("on"+b,c.wrapper)}):l=k=g;b={add:function(a,b,c,d){d===void 0&&(d=!1);k(a,b,c,d);return{remove:function(){l(a,b,c,d)}}},remove:l};e.exports=b}),null); +__d("Flash",["DOMWrapper","QueryString","UserAgent_DEPRECATED","guid","htmlSpecialChars","sdk.DOMEventListener"],(function(a,b,c,d,e,f,g,h,i,j,k,l){__p&&__p();var m={},n,o=g.getWindow().document;function p(a){var b=o.getElementById(a);b&&b.parentNode.removeChild(b);delete m[a]}function q(){for(var a in m)Object.prototype.hasOwnProperty.call(m,a)&&p(a)}function r(a){return a.replace(/\d+/g,function(a){return"000".substring(a.length)+a})}function s(a){n||(i.ie()>=9&&l.add(window,"unload",q),n=!0),m[a]=a}var t={embed:function(a,b,c,d){__p&&__p();var e=j();a=k(a).replace(/&/g,"&");c=babelHelpers["extends"]({allowscriptaccess:"always",flashvars:d,movie:a},c);typeof c.flashvars==="object"&&(c.flashvars=h.encode(c.flashvars));d=[];for(var f in c)Object.prototype.hasOwnProperty.call(c,f)&&c[f]&&d.push('');b=b.appendChild(o.createElement("span"));a="'+d.join("")+"";b.innerHTML=a;c=b.firstChild;s(e);return c},remove:p,getVersion:function(){var a="Shockwave Flash",b="application/x-shockwave-flash",c="ShockwaveFlash.ShockwaveFlash",d;if(navigator.plugins&&typeof navigator.plugins[a]==="object"){a=navigator.plugins[a].description;a&&navigator.mimeTypes&&navigator.mimeTypes[b]&&navigator.mimeTypes[b].enabledPlugin&&(d=a.match(/\d+/g))}if(!d)try{d=new ActiveXObject(c).GetVariable("$version").match(/(\d+),(\d+),(\d+),(\d+)/),d=Array.prototype.slice.call(d,1)}catch(a){}return d},getVersionString:function(){var a=t.getVersion();return a?a.join("."):""},checkMinVersion:function(a){var b=t.getVersion();return!b?!1:r(b.join("."))>=r(a)},isAvailable:function(){return!!t.getVersion()}};e.exports=t}),null); +__d("XDM",["DOMWrapper","Flash","GlobalCallback","Log","UserAgent_DEPRECATED","emptyFunction","guid","sdk.DOMEventListener","wrapFunction"],(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){__p&&__p();var p={},q={transports:[]},r=g.getWindow();function s(a){__p&&__p();var b={},c=a.length,d=q.transports;while(c--)b[a[c]]=1;c=d.length;while(c--){a=d[c];var e=p[a];if(!b[a]&&e.isAvailable())return a}}a={register:function(a,b){j.debug("Registering %s as XDM provider",a),q.transports.push(a),p[a]=b},create:function(a){__p&&__p();if(!a.whenReady&&!a.onMessage){j.error("An instance without whenReady or onMessage makes no sense");throw new Error("An instance without whenReady or onMessage makes no sense")}a.channel||(j.warn("Missing channel name, selecting at random"),a.channel=m());a.whenReady||(a.whenReady=l);a.onMessage||(a.onMessage=l);var b=a.transport||s(a.blacklist||[]),c=p[b];if(c&&c.isAvailable()){j.debug("%s is available",b);c.init(a);return b}}};a.register("flash",function(){__p&&__p();var a=!1,b,c=!1,d=15e3,e;return{isAvailable:function(){return h.checkMinVersion("8.0.24")},init:function(f){__p&&__p();j.debug("init flash: "+f.channel);var g={send:function(a,c,d,e){j.debug("sending to: %s (%s)",c,e),b.postMessage(a,c,e)}};if(a){f.whenReady(g);return}var k=f.root.appendChild(r.document.createElement("div")),l=i.create(function(){i.remove(l);clearTimeout(e);j.info("xdm.swf called the callback");var a=i.create(function(a,b){a=decodeURIComponent(a),b=decodeURIComponent(b),j.debug("received message %s from %s",a,b),f.onMessage(a,b)},"xdm.swf:onMessage");b.init(f.channel,a);f.whenReady(g)},"xdm.swf:load");b=h.embed(f.flashUrl,k,null,{protocol:location.protocol.replace(":",""),host:location.host,callback:l,log:c});e=setTimeout(function(){j.warn("The Flash component did not load within %s ms - verify that the container is not set to hidden or invisible using CSS as this will cause some browsers to not load the components",d)},d);a=!0}}}());var t=/\.facebook\.com(\/|$)/;a.register("postmessage",function(){__p&&__p();var a=!1;return{isAvailable:function(){return!!r.postMessage},init:function(b){__p&&__p();j.debug("init postMessage: "+b.channel);var c="_FB_"+b.channel,d={send:function(a,b,c,d){if(r===c){j.error("Invalid windowref, equal to window (self)");throw new Error()}j.debug("sending to: %s (%s)",b,d);var e=function(){c.postMessage("_FB_"+d+a,b)};k.ie()==8||k.ieCompatibilityMode()?setTimeout(e,0):e()}};if(a){b.whenReady(d);return}n.add(r,"message",o(function(event){__p&&__p();var a=event.data,d=event.origin||"native";if(!/^(https?:\/\/|native$)/.test(d)){j.debug("Received message from invalid origin type: %s",d);return}if(d!=="native"&&!(t.test(location.hostname)||t.test(event.origin)))return;if(typeof a!=="string"){j.warn("Received message of type %s from %s, expected a string",typeof a,d);return}j.debug("received message %s from %s",a,d);a.substring(0,c.length)==c&&(a=a.substring(c.length));b.onMessage(a,d)},"entry","onMessage"));b.whenReady(d);a=!0}}}());e.exports=a}),null); +__d("isFacebookURI",[],(function(a,b,c,d,e,f){var g=null,h=["http","https"];function a(a){g||(g=new RegExp("(^|\\.)facebook\\.com$","i"));if(a.isEmpty()&&a.toString()!=="#")return!1;return!a.getDomain()&&!a.getProtocol()?!0:ES(h,"indexOf",!0,a.getProtocol())!==-1&&g.test(a.getDomain())}a.setRegex=function(a){g=a};e.exports=a}),null); +__d("sdk.Event",[],(function(a,b,c,d,e,f){"use strict";__p&&__p();a={SUBSCRIBE:"event.subscribe",UNSUBSCRIBE:"event.unsubscribe",subscribers:function(){this._subscribersMap||(this._subscribersMap={});return this._subscribersMap},subscribe:function(a,b){var c=this.subscribers();!c[a]?c[a]=[b]:ES(c[a],"indexOf",!0,b)==-1&&c[a].push(b);a!=this.SUBSCRIBE&&a!=this.UNSUBSCRIBE&&this.fire(this.SUBSCRIBE,a,c[a])},unsubscribe:function(a,b){var c=this.subscribers()[a];c&&ES(c,"forEach",!0,function(a,d){a===b&&c.splice(d,1)});a!=this.SUBSCRIBE&&a!=this.UNSUBSCRIBE&&this.fire(this.UNSUBSCRIBE,a,c)},monitor:function(a,b){if(!b()){var c=this,d=function d(){b.apply(b,arguments)&&c.unsubscribe(a,d)};this.subscribe(a,d)}},clear:function(a){delete this.subscribers()[a]},fire:function(a){for(var b=arguments.length,c=new Array(b>1?b-1:0),d=1;d'):(b=document.createElement("iframe"),b.name=c);delete a.style;delete a.name;delete a.url;delete a.root;delete a.onload;delete a.onerror;c=ES("Object","assign",!1,{frameBorder:0,allowTransparency:!0,allowFullscreen:!0,scrolling:"no",allow:"encrypted-media"},a);c.width&&j(c.width)&&(b.width=c.width+"px");c.height&&j(c.height)&&(b.height=c.height+"px");delete c.height;delete c.width;for(var n in c)Object.prototype.hasOwnProperty.call(c,n)&&b.setAttribute(n,c[n]);ES("Object","assign",!1,b.style,e);b.src=g();d.appendChild(b);if(l)var o=k.add(b,"load",function(){o.remove(),l()});if(m)var p=k.add(b,"error",function(){p.remove(),m()});b.src=f;return b}e.exports=a}),null); +__d("sdk.FeatureFunctor",["invariant"],(function(a,b,c,d,e,f,g){__p&&__p();function h(a,b,c){if(a.features&&b in a.features){a=a.features[b];if(typeof a==="object"&&typeof a.rate==="number")if(a.rate&&Math.random()*100<=a.rate)return a.value||!0;else return a.value?null:!1;else return a}return c}function a(a){return function(){for(var b=arguments.length,c=new Array(b),d=0;d=2||g(0,undefined);var e=c[0],f=c[1];return h(a,e,f)}}e.exports={create:a}}),null); +__d("sdk.feature",["JSSDKConfig","sdk.FeatureFunctor"],(function(a,b,c,d,e,f,g,h){e.exports=h.create(g)}),null); +__d("sdk.XD",["JSSDKXDConfig","Log","QueryString","Queue","UrlMap","XDM","guid","isFacebookURI","sdk.Content","sdk.createIframe","sdk.Event","sdk.feature","sdk.RPC","sdk.Runtime","sdk.Scribe","sdk.URI"],(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v){__p&&__p();var w=new j(),x=new j(),y=m(),z="https";a=g.useCdn?"cdn":"www";b=r("use_bundle",!1)?g.XdBundleUrl:g.XdUrl;var A=k.resolve(a)+b;c=function(){if("origin"in location)if(location.origin&&location.origin!=="null")return location.origin;else if(window!==window.parent)try{var a=parent.location.origin;if(a&&a!=="null")return a}catch(a){}return location.protocol+"//"+location.host};var B=m(),C=c(),D,E,F=!1,G="Facebook Cross Domain Communication Frame",H={},I=new j();s.setInQueue(I);function J(a){h.info("Remote XD can talk to facebook.com (%s)",a),t.setEnvironment(a==="canvas"?t.ENVIRONMENTS.CANVAS:t.ENVIRONMENTS.PAGETAB)}function K(a,b){__p&&__p();if(!b){h.error("No senderOrigin");throw new Error()}switch(a.xd_action){case"proxy_ready":var c,d;c=x;d=E;t.setLoggedIntoFacebook(a.logged_in==="true");a.registered&&(J(a.registered),w=c.merge(w));h.info("Proxy ready, starting queue containing %s messages",c.getLength());c.start(function(a){D.send(typeof a==="string"?a:i.encode(a),b,d.contentWindow,B+"_"+z)});break;case"plugin_ready":h.info("Plugin %s ready, protocol: %s",a.name,z);H[a.name]={protocol:z};if(j.exists(a.name)){c=j.get(a.name);h.debug("Enqueuing %s messages for %s in %s",c.getLength(),a.name,z+"ProxyQueue");x.merge(c)}break}a.data&&L(a.data,b)}function L(a,b){__p&&__p();if(b&&b!=="native"&&!n(new v(b)))return;if(typeof a==="string"){if(/^FB_RPC:/.test(a)){I.enqueue(a.substring(7));return}if(a.substring(0,1)=="{")try{a=ES("JSON","parse",!1,a)}catch(b){h.warn("Failed to decode %s as JSON",a);return}else a=i.decode(a)}b||a.xd_sig==y&&(b=a.xd_origin);if(a.xd_action){K(a,b);return}if(a.cb){b=O._callbacks[a.cb];O._forever[a.cb]||delete O._callbacks[a.cb];b&&b(a)}}function M(a,b){if(a=="facebook")b.relation="parent.parent",w.enqueue(b);else{b.relation='parent.frames["'+a+'"]';var c=H[a];c?(h.debug("Enqueuing message for plugin %s in %s",a,c.protocol+"ProxyQueue"),x.enqueue(b)):(h.debug("Buffering message for plugin %s",a),j.get(a).enqueue(b))}}s.getOutQueue().start(function(a){M("facebook","FB_RPC:"+a)});function N(a){if(F)return;var b=o.appendHidden(document.createElement("div")),c=l.create({blacklist:null,root:b,channel:B,flashUrl:g.Flash.path,whenReady:function(d){D=d;d={channel:B,origin:C,transport:c,xd_name:a};d="#"+i.encode(d);E=p({url:A+d,name:"fb_xdm_frame_https",id:"fb_xdm_frame_https",root:b,"aria-hidden":!0,title:G,tabindex:-1})},onMessage:L});c||u.log("jssdk_error",{appId:t.getClientID(),error:"XD_TRANSPORT",extra:{message:"Failed to create a valid transport"}});F=!0}var O={rpc:s,_callbacks:{},_forever:{},_channel:B,_origin:C,onMessage:L,recv:L,init:N,sendToFacebook:M,inform:function(a,b,c,d){M("facebook",{method:a,params:ES("JSON","stringify",!1,b||{}),behavior:d||"p",relation:c})},handler:function(a,b,c,d){a="#"+i.encode({cb:this.registerCallback(a,c,d),origin:C+"/"+B,domain:location.hostname,relation:b||"opener"});return A+a},registerCallback:function(a,b,c){c=c||m();b&&(O._forever[c]=!0);O._callbacks[c]=a;return c},getXDArbiterURL:function(){return A}};q.subscribe("init:post",function(a){N(a.xdProxyName);var b=r("xd_timeout",!1);b&&setTimeout(function(){var a=E&&!!E==x.isStarted();a||u.log("jssdk_error",{appId:t.getClientID(),error:"XD_INITIALIZATION",extra:{message:"Failed to initialize in "+b+"ms"}})},b)});e.exports=O}),null); +__d("sdk.getContextType",["sdk.Runtime","sdk.UA"],(function(a,b,c,d,e,f,g,h){function a(){if(h.nativeApp())return 3;if(h.mobile())return 2;return g.isEnvironment(g.ENVIRONMENTS.CANVAS)?5:1}e.exports=a}),null); +__d("sdk.Auth",["DOMWrapper","Log","OAuthControllerParameterName","ObservableMixin","UrlMap","WebStorage","guid","sdk.Cookie","sdk.createIframe","sdk.feature","sdk.getContextType","sdk.Impressions","sdk.Runtime","sdk.Scribe","sdk.SignedRequest","sdk.URI","sdk.XD"],(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w){__p&&__p();var x="fblst_",y="fblo_",z=365*24*60*60*1e3,A,B,C=new j();function D(a,b){__p&&__p();var c=s.getUserID(),d="";if(a)if(a.userID)d=a.userID;else if(a.signedRequest){var e=u.parse(a.signedRequest);e&&e.user_id&&(d=e.user_id)}e=s.getLoginStatus();var f=e==="unknown"&&a||s.getUseCookie()&&s.getCookieUserID()!==d,g=c&&!a;c=a&&c&&c!=d;var h=a!=A;e=b!=(e||"unknown");s.setLoginStatus(b);s.setAccessToken(a&&a.accessToken||null);s.setUserID(d);A=a;d={authResponse:a,status:b};(g||c)&&C.inform("logout",d);(f||c)&&C.inform("login",d);h&&C.inform("authresponse.change",d);e&&C.inform("status.change",d);return d}function E(){return A}function F(a,b,c){__p&&__p();return function(d){__p&&__p();var e=!1;if(d&&d.access_token){var f=u.parse(d.signed_request);b={accessToken:d.access_token,userID:f.user_id,expiresIn:parseInt(d.expires_in,10),signedRequest:d.signed_request};d.granted_scopes&&(b=babelHelpers["extends"]({},b,{grantedScopes:d.granted_scopes}));d.reauthorize_required_in&&(b=babelHelpers["extends"]({},b,{reauthorize_required_in:parseInt(d.reauthorize_required_in,10)}));d.data_access_expiration_time&&(b=babelHelpers["extends"]({},b,{data_access_expiration_time:Number(d.data_access_expiration_time)}));d.enforce_https&&(e=!0);if(s.getUseLocalStorage()&&location.protocol==="https:"&&d.long_lived_token){f=l.getLocalStorage();f&&f.setItem(x+s.getClientID(),d.long_lived_token)}if(s.getUseCookie()){f=b.expiresIn===0?0:ES("Date","now",!1)+b.expiresIn*1e3;var g=n.getDomain();!g&&d.base_domain&&n.setDomain("."+d.base_domain);n.setSignedRequestCookie(d.signed_request,f,e)}G();g="connected";D(b,g)}else(c==="logout"||c==="login_status")&&(d&&d.error&&d.error==="not_authorized"?(g="not_authorized",D(null,g)):d&&d.error&&d.error==="authorization_expired"?(g="authorization_expired",D(null,g)):(g="unknown",D(null,g)),s.getUseCookie()&&n.clearSignedRequestCookie(),c==="logout"&&(H(),t.log("jssdk_error",{appId:s.getClientID(),error:"PLATFORM_AUTH_LOGOUT",extra:{args:{fblo:!0}}})));if(a){f={authResponse:b,status:s.getLoginStatus()};a(f)}return b}}function G(){n.setRaw(y,"",0,!1)}function H(){n.setRaw(y,"y",ES("Date","now",!1)+z,!1)}function I(a){__p&&__p();var b,c=ES("Date","now",!1);B&&(clearTimeout(B),B=null);var d=n.getRaw(y)==="y";if(d){d="unknown";D(null,d);a&&a({authResponse:null,status:d});return}var e=F(a,A,"login_status");d=new v(k.resolve("www")+"/connect/ping").addQueryData(i.CLIENT_ID,s.getClientID()).addQueryData(i.RESPONSE_TYPE,"token,signed_request").addQueryData(i.DOMAIN,location.hostname).addQueryData(i.ORIGIN,q()).addQueryData(i.REDIRECT_URI,w.handler(function(a){if(p("e2e_ping_tracking",!0)){var d={init:c,close:ES("Date","now",!1),method:"ping"};h.debug("e2e: %s",ES("JSON","stringify",!1,d));r.log(114,{payload:d})}b.parentNode.removeChild(b);e(a)&&(B=setTimeout(function(){I(function(){})},12e5))},"parent")).addQueryData(i.SDK,"joey").addQueryData(i.VERSION,s.getIsVersioned()?s.getVersion():null);if(window.location.ancestorOrigins){a=window.location.ancestorOrigins;if(a.length>0){var f="";for(var j=0;j=0}function c(a,b){g.isTruthy(a,"element not specified"),g.isString(b),m(a,b)||(a.className=l(a,"className")+" "+b)}function d(a,b){g.isTruthy(a,"element not specified");g.isString(b);b=new RegExp("\\s*"+b,"g");a.className=ES(l(a,"className").replace(b,""),"trim",!0)}function f(a,b,c){__p&&__p();g.isString(a);b=b||document.body;c=c||"*";if(b.querySelectorAll)return ES("Array","from",!1,b.querySelectorAll(c+"."+a));b=b.getElementsByTagName(c);c=[];for(var d=0,e=b.length;d30?k.log("warn",-1,"The method FB.%s will stop working when called from http pages in %s days. Please update your site to use https for Facebook Login. %s",b,Math.floor((z-ES("Date","now",!1))/864e5),A):k.log("error",-1,"The method FB.%s will stop working when called from http pages in %s days. Please update your site to use https for Facebook Login. %s",b,Math.floor((z-ES("Date","now",!1))/864e5),A);r("https_only_scribe_logging",!0)&&!Object.prototype.hasOwnProperty.call(B,b)&&(u.log("jssdk_error",{appId:t.getClientID(),error:"HttpsOnly",extra:{message:b}}),B[b]=!0)}e==="warn"&&(k.warn("The method FB.%s is not officially supported by Facebook and access to it will soon be removed.",b),Object.prototype.hasOwnProperty.call(B,b)||(s.log(s.TYPE.WARNING,s.CATEGORY.DEPRECATED,"FB."+b),u.log("jssdk_error",{appId:t.getClientID(),error:"Private method used",extra:{message:b}}),B[b]=!0));function g(a){if(ES("Array","isArray",!1,a))return ES(a,"map",!0,g);return a&&typeof a==="object"&&a.__wrapped?a.__wrapped:typeof a==="function"&&/^function/.test(a.toString())?q.unguard(a):a}var h=ES(Array.prototype.slice.call(arguments),"map",!0,g),i=a.apply(d,h),j,l=!0;if(i&&typeof i==="object"){j=ES("Object","create",!1,i);j.__wrapped=i;for(var c in i){var m=i[c];if(typeof m!=="function"||c==="constructor")continue;l=!1;j[c]=D(m,b+":"+c,c,i)}}return!l?j:l?i:j},b)}}function a(a,b){var c=a?l(v,a,!0):v;ES(ES("Object","keys",!1,b),"forEach",!0,function(d){var e=b[d];if(typeof e==="function"){var f=(a?a+".":"")+d,g=D(e,f,d,b);g&&(c[d]=g)}else(typeof e==="object"||typeof e==="number")&&(f=(a?a+".":"")+d,w&&w[f]&&(c[d]=e))})}ES("Object","assign",!1,b,{provide:a});e.exports=b}),null); +__d("ArgumentError",["ManagedError"],(function(a,b,c,d,e,f,g){var h;b=babelHelpers.inherits(a,g);h=b&&b.prototype;function a(a,b){"use strict";h.constructor.call(this,a,b)}e.exports=a}),null); +__d("flattenObject",[],(function(a,b,c,d,e,f){"use strict";__p&&__p();a=function(a){var b={};for(var c in a)if(Object.prototype.hasOwnProperty.call(a,c)){var d=a[c];if(null===d||undefined===d)continue;else typeof d==="string"?b[c]=d:b[c]=ES("JSON","stringify",!1,d)}return b};e.exports=a}),null); +__d("ApiClientUtils",["ArgumentError","Assert","Log","flattenObject","sdk.URI","sprintf"],(function(a,b,c,d,e,f,g,h,i,j,k,l){__p&&__p();var m={get:!0,post:!0,"delete":!0,put:!0};function a(a){__p&&__p();var b=a.shift();h.isString(b,"Invalid path");!/^https?/.test(b)&&b.charAt(0)!=="/"&&(b="/"+b);var c={};try{b=new k(b)}catch(a){throw new g(a.message,a)}ES(a,"forEach",!0,function(a){return c[typeof a]=a});a=(c.string||"get").toLowerCase();h.isTrue(Object.prototype.hasOwnProperty.call(m,a),l("Invalid method passed to ApiClient: %s",a));var d=c["function"];d||i.warn("No callback passed to the ApiClient");c.object&&b.addQueryData(j(c.object));var e=b.getQueryData();e.method=a;return{uri:b,callback:d,params:e}}e.exports={parseCallDataFromArgs:a}}),null); +__d("errorCode",[],(function(a,b,c,d,e,f){"use strict";function a(a){throw new Error('errorCode("'+a+'"): This should not happen. Oh noes!')}e.exports=a}),null); +__d("nullthrows",[],(function(a,b,c,d,e,f){a=function(a,b){b===void 0&&(b="Got unexpected null or undefined");if(a!=null)return a;a=new Error(b);a.framesToPop=1;throw a};e.exports=a}),null); +__d("sdk.safelyParseResponse",["errorCode","nullthrows"],(function(a,b,c,d,e,f,g,h){"use strict";__p&&__p();b=function(a,b,c){return i};function a(a,c){c===void 0&&(c=null);try{return a===null?i:ES("JSON","parse",!1,h(a))}catch(d){return b(d,a,c)}}var i={error:{code:1,error_subcode:1357046,message:"Received Invalid JSON reply.",type:"http"}};a.ERROR=i;a.setErrorHandler=function(a){b=a};e.exports=a}),null); +__d("ApiBatcher",["ApiClientUtils","QueryString","invariant","sdk.safelyParseResponse"],(function(a,b,c,d,e,f,g,h,i,j){"use strict";__p&&__p();var k=50,l=105440539523;function m(a,b){this.$1=[],this.$2=[],this.$4=null,this.executeRequest=a,this.$3=b}m.prototype.scheduleBatchCall=function(){for(var a=arguments.length,b=new Array(a),c=0;c0||i(0,undefined);this.$1.length===this.$2.length||i(0,undefined);var a=this.$1,b=this.$2;this.$1=[];this.$2=[];this.$4=null;if(a.length===1){var c=a[0],d=b[0],e=c.body?h.decode(c.body):null;this.executeRequest(c.relative_url,c.method,e,d);return}this.executeRequest("/","POST",{batch:a,include_headers:!1,batch_app_id:this.$3||l},function(a){ES("Array","isArray",!1,a)?ES(a,"forEach",!0,function(a,c){b[c](j(a&&a.body))}):ES(b,"forEach",!0,function(a){return a({error:{message:"Fatal: batch call failed."}})})})};e.exports=m}),null); +__d("RequestConstants",["errorCode"],(function(a,b,c,d,e,f,g){a={code:1,error_subcode:1357045,message:"unknown error (empty response)",type:"http",status:0};e.exports={PARSE_ERROR_TEMPLATE:a}}),null); +__d("CORSRequest",["QueryString","RequestConstants","sdk.safelyParseResponse","wrapFunction"],(function(a,b,c,d,e,f,g,h,i,j){__p&&__p();function k(a,b){__p&&__p();if(!self.XMLHttpRequest)return null;var c=new XMLHttpRequest(),d=function(){};if("withCredentials"in c)c.open(a,b,!0),c.setRequestHeader("Content-type","application/x-www-form-urlencoded");else if(self.XDomainRequest){c=new XDomainRequest();try{c.open(a,b),c.onprogress=c.ontimeout=d}catch(a){return null}}else return null;var e={send:function(a){c.send(a)}},f=j(function(){f=d,"onload"in e&&e.onload(c)},"entry","XMLHttpRequest:load"),g=j(function(){g=d,"onerror"in e&&e.onerror(c)},"entry","XMLHttpRequest:error");c.onload=function(){f()};c.onerror=function(){g()};c.onreadystatechange=function(){c.readyState==4&&(c.status==200?f():g())};return e}function a(a,b,c,d){__p&&__p();c.suppress_http_code=1;c=g.encode(c);b!="post"&&(a=g.appendToUrl(a,c),c="");b=k(b,a);if(!b)return!1;b.onload=function(b){d(i(b.responseText,a))};b.onerror=function(b){b.responseText?d(i(b.responseText,a)):d({error:babelHelpers["extends"]({},h.PARSE_ERROR_TEMPLATE,{status:b.status})})};b.send(c);return!0}b={execute:a};e.exports=b}),null); +__d("GraphBatchConstants",[],(function(a,b,c,d,e,f){e.exports=ES("Object","freeze",!1,{FLUSH_DELIMITER:"\r\n"})}),null); +__d("ChunkedRequest",["GraphBatchConstants","QueryString","RequestConstants","sdk.safelyParseResponse","wrapFunction"],(function(a,b,c,d,e,f,g,h,i,j,k){__p&&__p();var l="{}";function m(a){a===void 0&&(a=g.FLUSH_DELIMITER),this.offset=0,this.delimiter=g.FLUSH_DELIMITER,this.delimiter=a}m.prototype.parse=function(a,b){__p&&__p();b===void 0&&(b=!1);var c=[],d=a.substring(this.offset),e=0,f=ES(d,"indexOf",!0,this.delimiter,e);f===0&&(e=this.delimiter.length,f=ES(d,"indexOf",!0,this.delimiter,e));while(f>-1){var g=d.substring(e,f);g&&c.push(g);e=f+this.delimiter.length;f=ES(d,"indexOf",!0,this.delimiter,e)}this.offset+=e;if(b&&d&&f===-1){g=a.substring(this.offset);c.push(g)}return c};function n(a,b){__p&&__p();if(!self.XMLHttpRequest)return null;var c=new XMLHttpRequest();if(!("withCredentials"in c))return null;c.open(a,b,!0);c.setRequestHeader("Content-type","application/x-www-form-urlencoded");var d=new m(),e={send:function(a){c.send(a)}},f=k(function(a,b){if(e.onchunk){a=d.parse(a);ES(a,"forEach",!0,function(a){return e.onchunk(a,b)});b&&e.onchunk(l,b)}},"entry","XMLHttpRequest:onchunk"),g=k(function(){e.onerror&&e.onerror(c)},"entry","XMLHttpRequest:error");c.onerror=g;c.onreadystatechange=function(){c.readyState==4?c.status===200?f(c.responseText,!0):g():c.readyState==3&&f(c.responseText,!1)};return e}function a(a,b,c,d){__p&&__p();c.suppress_http_code=1;c=h.encode(c);b!="post"&&(a=h.appendToUrl(a,c),c="");b=n(b,a);if(!b)return!1;b.onchunk=function(a,b){d(j(a),b)};b.onerror=function(a){a.responseText?d(j(a.responseText)):d({error:babelHelpers["extends"]({},i.PARSE_ERROR_TEMPLATE,{status:a.status})})};b.send(c);return!0}b={execute:a};e.exports=b}),null); +__d("FlashRequest",["DOMWrapper","Flash","GlobalCallback","QueryString","Queue"],(function(a,b,c,d,e,f,g,h,i,j,k){__p&&__p();var l,m={},n,o;function p(){__p&&__p();if(!n)throw new Error("swfUrl has not been set");var a=i.create(function(){l.start(function(a){var b=o.execute(a.method,a.url,a.body);if(!b)throw new Error("Could create request");m[b]=a.callback})}),b=i.create(function(a,b,c){var d;try{d=ES("JSON","parse",!1,decodeURIComponent(c))}catch(a){d={error:{type:"SyntaxError",message:a.message,status:b,raw:c}}}m[a](d);delete m[a]});o=h.embed(n,g.getRoot(),null,{log:!1,initCallback:a,requestCallback:b})}function a(a,b,c,d){__p&&__p();c.suppress_http_code=1;c.method||(c.method=b);c=j.encode(c);b==="get"&&a.length+c.length<2e3?(a=j.appendToUrl(a,c),c=""):b="post";if(!l){if(!h.isAvailable())return!1;l=new k();p()}l.enqueue({method:b,url:a,body:c,callback:d});return!0}b={setSwfUrl:function(a){n=a},execute:a};e.exports=b}),null); +__d("JSONPRequest",["DOMWrapper","GlobalCallback","QueryString"],(function(a,b,c,d,e,f,g,h,i){__p&&__p();var j=2e3,k=!1;function a(a,b,c,d){__p&&__p();var e=document.createElement("script"),f=function(a){f=function(){},h.remove(c.callback),d(a),e.parentNode.removeChild(e)};c.callback=h.create(f);c.method||(c.method=b);a=i.appendToUrl(a,c);if(!k&&a.length>j){h.remove(c.callback);return!1}e.onerror=function(){f({error:{type:"http",message:"unknown error"}})};var l=function(){setTimeout(function(){f({error:{type:"http",message:"unknown error"}})},0)};e.addEventListener?e.addEventListener("load",l,!1):e.onreadystatechange=function(){/loaded|complete/.test(this.readyState)&&l()};e.src=a;g.getRoot().appendChild(e);return!0}function b(){k=!0}c={execute:a,ignoreMaxQuerystringLength:b,MAX_QUERYSTRING_LENGTH:j};e.exports=c}),null); +__d("ApiClient",["ApiBatcher","ApiClientConfig","ApiClientUtils","Assert","ChunkedRequest","CORSRequest","FlashRequest","JSONPRequest","Log","ObservableMixin","QueryString","UrlMap","flattenObject"],(function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s){__p&&__p();var t,u,v,w=n.MAX_QUERYSTRING_LENGTH,x={fql_query:!0,fql_multiquery:!0,friends_get:!0,notifications_get:!0,stream_get:!0,users_getinfo:!0},y=["cors","jsonp","flash"],z=0,A=[],B=0,C=0,D;function E(a,b,c,d){__p&&__p();var e=B!==0&&z>=B;if(e){A.push(function(){return E(a,b,c,d)});H.inform("request.queued",a,b,c);return}z++;v&&(c=ES("Object","assign",!1,{},v,c));c.pretty=c.pretty||0;c=s(c);e={jsonp:n,cors:l,flash:m,chunked:k};var f={},g=c.access_token||t;g&&(f.access_token=g);g=ES("Object","keys",!1,f);g.length>0&&(a=q.appendToUrl(a,f),ES(g,"forEach",!0,function(a){return delete c[a]}));c.transport?(f=[c.transport],delete c.transport):f=y;for(var g=0;g0&&zw&&b==="get"}m.setSwfUrl(h.FlashRequest.swfUrl);e.exports=H}),null); +__d("sdk.PlatformVersioning",["ManagedError","sdk.Runtime"],(function(a,b,c,d,e,f,g,h){var i=/^v\d+\.\d\d?$/;a={REGEX:i,assertVersionIsSet:function(){if(!h.getVersion())throw new g("init not called with valid version")},assertValidVersion:function(a){if(!i.test(a))throw new g("invalid version specified")}};e.exports=a}),null); +__d("sdk.api",["ApiClient","sdk.feature","sdk.PlatformVersioning","sdk.Runtime","sdk.Scribe","sdk.URI"],(function(a,b,c,d,e,f,g,h,i,j,k,l){__p&&__p();var m=h("should_log_response_error",!1),n;j.subscribe("ClientID.change",function(a){return g.setClientID(a)});j.subscribe("AccessToken.change",function(a){n=a,g.setAccessToken(a)});g.setDefaultParams({sdk:"joey"});g.subscribe("request.complete",function(a,b,c,d){a=!1;d&&typeof d==="object"&&(d.error?(d.error=="invalid_token"||d.error.type=="OAuthException"&&d.error.code==190)&&(a=!0):d.error_code&&(d.error_code=="190"&&(a=!0)));a&&n===j.getAccessToken()&&j.setAccessToken(null)});g.subscribe("request.complete",function(a,b,c,d){(a=="/me/permissions"&&b==="delete"||a=="/restserver.php"&&c.method=="Auth.revokeAuthorization")&&d===!0&&j.setAccessToken(null)});g.subscribe("request.error",function(a,b,c,d){m&&d.error.type==="http"&&k.log("jssdk_error",{appId:j.getClientID(),error:"transport",extra:{name:"transport",message:ES("JSON","stringify",!1,d.error)}})});function a(a){__p&&__p();if(typeof a==="string")if(j.getIsVersioned()){i.assertVersionIsSet();!/https?/.test(a)&&a.charAt(0)!=="/"&&(a="/"+a);a=new l(a).setDomain(null).setProtocol(null).toString();i.REGEX.test(a.substring(1,ES(a,"indexOf",!0,"/",1)))||(a="/"+j.getVersion()+a);var b=[a].concat(Array.prototype.slice.call(arguments,1));g.graph.apply(g,b)}else g.graph.apply(g,arguments);else g.rest.apply(g,arguments)}e.exports=a}),null); +__d("legacy:fb.api",["FB","sdk.api"],(function(a,b,c,d,e,f,g,h){g.provide("",{api:h})}),3); +__d("AppUserPropertyAPIBuiltinField",[],(function(a,b,c,d,e,f){e.exports={GENDER:"$gender",CITY:"$city",STATE:"$state",ZIPCODE:"$zipcode",COUNTRY:"$country",LANGUAGE:"$language",CURRENCY:"$currency",INSTALL_SOURCE:"$install_source",USER_TYPE:"$user_type",ACCOUNT_CREATED_TIME:"$account_created_time",APP_ID:"$app_id"}}),null); +__d("FBEventsParamList",[],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g="deep",h="shallow";function a(){this.list=[]}a.prototype={append:function(a,b){this._append(encodeURIComponent(a),b,g)},_append:function(a,b,c){Object(b)!==b?this._appendPrimitive(a,b):c===g?this._appendObject(a,b):this._appendPrimitive(a,i(b))},_appendPrimitive:function(a,b){b!=null&&this.list.push([a,b])},_appendObject:function(a,b){for(var c in b)if(Object.prototype.hasOwnProperty.call(b,c)){var d=a+"["+encodeURIComponent(c)+"]";this._append(d,b[c],h)}},each:function(a){var b=this.list;for(var c=0,d=b.length;c(i+"?"+b).length?n(i,b):o(i,a)}function n(a,b){var c=new Image();c.src=a+"?"+b}function o(a,b){__p&&__p();var c="fb"+Math.random().toString().replace(".",""),d=document.createElement("form");d.method="post";d.action=a;d.target=c;d.acceptCharset="utf-8";d.style.display="none";a=!!(window.attachEvent&&!window.addEventListener);a=a?'