var v=245;"undefined"!=typeof jQuery?define("jquery",[],function(){return jQuery}):gRcfg.paths.jquery=["//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min","//d2e70e9yced57e.cloudfront.net/wallethub/js/v1/jquery/1.11.2/jquery.min_Ve6a051d_.js.gz"],gRcfg.paths["jquery-migrate"]="//d2e70e9yced57e.cloudfront.net/wallethub/js/v1/wh2015/lib/jquery-migrate_Ve5505b1_.js.gz",define("old-jq",["jquery"],function(e){return e.migrateMute=!0,window.jq=e,e}),gRcfg.shim["jquery-migrate"]={deps:["old-jq"]},gRcfg.paths["facebook-sdk"]="//connect.facebook.net/en_US/sdk",gRcfg.paths["twitter-sdk"]="//platform.twitter.com/widgets",gRcfg.paths["google-sdk"]="//apis.google.com/js/plusone",gRcfg.paths["wh.overlay.login"]="//d2e70e9yced57e.cloudfront.net/wallethub/js/v1/wh2015/overlay/login_V2686c2b_.js.gz",gRcfg.paths["wh.overlay.email-share"]="//d2e70e9yced57e.cloudfront.net/wallethub/js/v1/wh2015/overlay/email-share_V496c243_.js.gz",gRcfg.paths["wh.overlay.post-question"]="//d2e70e9yced57e.cloudfront.net/wallethub/js/v1/wh2015/overlay/post-question_V4034e0b_.js.gz",gRcfg.paths["wh.overlay.post-question-new"]="//d2e70e9yced57e.cloudfront.net/wallethub/js/v1/wh2015/overlay/post-question-new_V4ecc0df_.js.gz",gRcfg.paths["wh.overlay.post-question-sidebar"]="//d2e70e9yced57e.cloudfront.net/wallethub/js/v1/wh2015/overlay/post-question-sidebar_V6e9e1ad_.js.gz",gRcfg.paths["wh.overlay.social-share"]="//d2e70e9yced57e.cloudfront.net/wallethub/js/v1/wh2015/overlay/social-share_V5c9bc462_.js.gz",gRcfg.paths["jquery-ui"]=["//ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/jquery-ui.min","//d2e70e9yced57e.cloudfront.net/wallethub/js/v1/jquery-ui/1.11.3/jquery-ui.min_V8d396aa_.js.gz"],gRcfg.paths["jquery-intoView"]="//d2e70e9yced57e.cloudfront.net/wallethub/js/v1/wh2015/lib/jquery-scrollintoview_V5efdef7_.js.gz",gRcfg.paths["jquery-autonumeric"]="//d2e70e9yced57e.cloudfront.net/wallethub/js/v1/wh2015/lib/jquery-autonumeric_V88233df_.js.gz",gRcfg.paths["jquery-ui-touch"]="//d2e70e9yced57e.cloudfront.net/wallethub/js/v1/wh2015/lib/jquery-ui-touch_V7cf22d0_.js.gz",gRcfg.paths["jquery-mix-plugins"]="//d2e70e9yced57e.cloudfront.net/wallethub/js/v1/wh2015/lib/jquery-mix_V32d9218_.js.gz",gRcfg.paths["jquery-tablesorter"]="//d2e70e9yced57e.cloudfront.net/wallethub/js/v1/jquery/jquery.tablesorter.min_Vd3ff430_.js.gz",gRcfg.paths["jquery-touchswipe"]="//d2e70e9yced57e.cloudfront.net/wallethub/js/v1/jquery/jquery.touchswipe.min_V95c5166_.js.gz",gRcfg.paths["jquery-nicescroll"]="//d2e70e9yced57e.cloudfront.net/wallethub/js/v1/wh2015/lib/jquery.nicescroll_V55c39dd_.js.gz",gRcfg.paths["infinite-scroll"]="//d2e70e9yced57e.cloudfront.net/wallethub/js/v1/wh2015/lib/infinite-scroll_V39460bf_.js.gz",gRcfg.paths.knockout="//d2e70e9yced57e.cloudfront.net/wallethub/js/v1/wh2015/lib/knockout_Vd1af860_.js.gz",gRcfg.paths.pitBindHandlers="//d2e70e9yced57e.cloudfront.net/wallethub/js/v1/wh2015/lib/bindHandlers_Vfc62e84_.js.gz",gRcfg.paths.Spinner="//d2e70e9yced57e.cloudfront.net/wallethub/js/v1/wh2015/lib/spinner_V79f0868_.js.gz",gRcfg.paths.SpinnerSett="//d2e70e9yced57e.cloudfront.net/wallethub/js/v1/wh2015/lib/spinner_sett_V7c7b988_.js.gz",gRcfg.paths.router="//d2e70e9yced57e.cloudfront.net/wallethub/js/v1/wh2015/lib/grapnel_V83281d4_.js.gz",gRcfg.paths.mustache="//d2e70e9yced57e.cloudfront.net/wallethub/js/v1/wh2015/lib/mustache_Va4c15e1_.js.gz",gRcfg.paths["local-storage"]="//d2e70e9yced57e.cloudfront.net/wallethub/js/v1/wh2015/localStorage_V9ad8c50_.js.gz",gRcfg.paths.fastclick="//d2e70e9yced57e.cloudfront.net/wallethub/js/v1/wh2015/lib/fastclick_Vcf06427_.js.gz",gRcfg.paths.json="//d2e70e9yced57e.cloudfront.net/wallethub/js/v1/wh2015/lib/json2_Ve717b45_.js.gz",gRcfg.paths.autosize="//d2e70e9yced57e.cloudfront.net/wallethub/js/v1/wh2015/lib/autosize_V7c1ba51_.js.gz",gRcfg.paths.base64="//d2e70e9yced57e.cloudfront.net/wallethub/js/v1/wh2015/lib/base64_Vbafc482_.js.gz",gRcfg.paths["blog-comments"]="//d2e70e9yced57e.cloudfront.net/wallethub/js/v1/wh2015/blog-comments_Vdc801ef_.js.gz",gRcfg.paths["blog-experts"]="//d2e70e9yced57e.cloudfront.net/wallethub/js/v1/wh2015/blog-experts_V5abae88_.js.gz",gRcfg.paths["blog-voting"]="//d2e70e9yced57e.cloudfront.net/wallethub/js/v1/wh2015/blog/voting_Vcec5bf5_.js.gz",gRcfg.paths.common="//d2e70e9yced57e.cloudfront.net/wallethub/js/v1/common_Vee72eb2_.js.gz",gRcfg.paths.register="//d2e70e9yced57e.cloudfront.net/wallethub/js/v1/wh2015/register_V16ca7b2_.js.gz",gRcfg.paths["login-validate"]="//d2e70e9yced57e.cloudfront.net/wallethub/js/v1/wh2015/login.validate_Vb392762_.js.gz",gRcfg.paths["answers-comments"]="//d2e70e9yced57e.cloudfront.net/wallethub/js/v1/wh2015/answers-comments_Vb3219d3_.js.gz",gRcfg.paths["answers-vote"]="//d2e70e9yced57e.cloudfront.net/wallethub/js/v1/wh2015/answers-vote_Vee2fded_.js.gz",gRcfg.paths["ckeditor-simple"]="//cdn.ckeditor.com/4.4.7/basic/ckeditor.js",gRcfg.paths["jq-ckeditor-simple"]="//cdn.ckeditor.com/4.4.7/basic/adapters/jquery.js",gRcfg.paths["ckeditor-base-path"]="/js/v1/wh2015/ckeditor/",gRcfg.paths["ckeditor-config-path"]="//d2e70e9yced57e.cloudfront.net/wallethub/js/v1/wh2015/ckeditor/config_V5256f93_.js.gz",gRcfg.paths["ckeditor-simplelink-path"]="//d2e70e9yced57e.cloudfront.net/wallethub/js/v1/wh2015/ckeditor/plugins/SimpleLink/plugin_Vac1e83d_.js.gz",gRcfg.paths["details-email"]="//d2e70e9yced57e.cloudfront.net/wallethub/js/v1/detailsCC-email_Vce8bd34_.js.gz",function(){var e=["jquery","jq-ckeditor-simple"];"object"!=typeof gck_deps&&(gck_deps=[]),gck_deps=e.concat(gck_deps),window.requireToUrlHTML=function(e,t){var i=require.toUrl(e),a=i.indexOf(".")>-1?i.split(".").pop():!1;return a&&"html"==a?(t?"text!":"")+i:(t?"text!":"")+i+".html"}}(),define("app-ckedit-simple",gck_deps,function(e){CKEDITOR.disableAutoInline=!0,CKEDITOR.plugins.basePath="//cdn.ckeditor.com/4.4.7/full-all/plugins/",CKEDITOR.env.isCompatible=!0,CKEDITOR.skin.ua_dialog="",CKEDITOR.skin.ua_editor="",CKEDITOR.plugins.addExternal("SimpleLink",gRcfg.paths["ckeditor-simplelink-path"],""),CKEDITOR.config.customConfig=gRcfg.paths["ckeditor-config-path"],CKEDITOR.on("instanceReady",function(){e('link[href*="moono/editor"]').after(e('link[href*="minimalist/editor"]'))}),CKEDITOR.on("dialogDefinition",function(t){var i=t.data.definition.dialog;i.on("load",function(){e('link[href*="moono/dialog"]').remove();var t=this.parts.footer.$,i=this.parts.title.$;e(t).find("a.cke_dialog_ui_button").attr("data-touch",!0).find("span").removeClass("cke_dialog_ui_button"),e(t).find("a.cke_dialog_ui_button_ok").attr("class","btn blue no-decoration apply-bt fixed-w").parents(".cke_reset_all").removeClass("cke_reset_all"),e(t).find("a.cke_dialog_ui_button").attr("data-touch",!0).attr("class","btn grey no-decoration cancel-bt fixed-w"),e(i).replaceWith(e(i).clone());var a=e(t).find(".apply-bt").parent(),o=e(t).find(".cancel-bt").parent();o.append(e(t).find(".apply-bt")),a.append(e(t).find(".cancel-bt"))})})}),define("recaptcha",["async!https://www.google.com/recaptcha/api.js?render=explicit!onload"],function(){return window.grecaptcha}),gRcfg.deps.push("jquery"),gRcfg.deps.push("//d2e70e9yced57e.cloudfront.net/wallethub/js/v1/wh2015/common_Vc4bb0c4_.js.gz"),gRcfg.deps.push("//d2e70e9yced57e.cloudfront.net/wallethub/js/v1/wh2015/header_Va2f9d59_.js.gz"),gRcfg.shim.jquery={exports:"jQuery"},gRcfg.shim["jquery-autonumeric"]={deps:["jquery"]},gRcfg.shim["jquery-ui"]={deps:["jquery"]},gRcfg.shim["jquery-ui-touch"]={deps:["jquery-ui"]},gRcfg.shim["jquery-intoView"]={deps:["jquery"]},gRcfg.shim["jquery-mix-plugins"]={deps:["jquery"]},gRcfg.shim["jquery-tablesorter"]={deps:["jquery"]},gRcfg.shim["jquery-touchswipe"]={deps:["jquery"]},gRcfg.shim["jquery-nicescroll"]={deps:["jquery"]},gRcfg.shim["infinite-scroll"]={deps:["jquery"]},gRcfg.shim.mustache={exports:"Mustache"},gRcfg.shim["facebook-sdk"]={exports:"FB"},gRcfg.shim.json={exports:"JSON"},gRcfg.shim.autosize={deps:["jquery"]},gRcfg.shim.common={deps:["jquery"]},gRcfg.shim["jq-ckeditor-simple"]={deps:["jquery","ckeditor-simple"]};for(var i in gRcfg.paths){var search=/\.(js|gz)$/,replace=".$1?";if("string"==typeof gRcfg.paths[i])gRcfg.paths[i]=gRcfg.paths[i].replace(search,replace);else for(var j in gRcfg.paths[i])gRcfg.paths[i][j]=gRcfg.paths[i][j].replace(search,replace)}if("dev"in gRcfg&&gRcfg.dev===!0){var search=/^(\/js\/v1\/)/,replace="/js/v0/";for(i in gRcfg.paths)if("string"==typeof gRcfg.paths[i])gRcfg.paths[i]=gRcfg.paths[i].replace(search,replace);else for(j in gRcfg.paths[i])gRcfg.paths[i][j]=gRcfg.paths[i][j].replace(search,replace);for(i in gRcfg.deps)gRcfg.deps[i]=gRcfg.deps[i].replace(search,replace)}gRcfg.waitSeconds=0,requirejs.config(gRcfg),Object.deepExtend=function(e,t){var i=JSON.parse(JSON.stringify(e));for(var a in t)t[a]&&t[a].constructor&&t[a].constructor===Object?(i[a]=e[a]||{},i[a]=Object.deepExtend(i[a],t[a])):i[a]=t[a];return i},window.location.origin||(window.location.origin=window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:"")),String.prototype.toNumber=function(){var e=this.trim(),t=e.replace(/[^0-9.]/g,"");return 0==e.indexOf("-")&&(t="-"+t),parseFloat(t)},String.prototype.isEmpty=function(){return""==this.replace(/\s/g,"")},Number.prototype.toNumber=function(){return this.valueOf()};var transitionEnd=function(){var e,t,i=document.createElement("div"),a={transition:"transitionend",OTransition:"otransitionend",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"},o=!1;for(e in a)if(a.hasOwnProperty(e)&&i.style[e]!==t){o=a[e];break}return delete i,o},unserialize=function(e){for(var t,i,a=decodeURI(e),o=a.split("&"),n={},r=0,s=o.length;s>r;r++)if(t=o[r].split("="),i=t[0],i.indexOf("[]")==i.length-2){var c=i.substring(0,i.length-2);void 0===n[c]&&(n[c]=[]),n[c].push(decodeURIComponent(t[1]))}else n[i]=decodeURIComponent(t[1]);return n},get_html_translation_table=function(e,t){var i,a={},o={},n={},r={},s={},c={};if(n[0]="HTML_SPECIALCHARS",n[1]="HTML_ENTITIES",r[0]="ENT_NOQUOTES",r[2]="ENT_COMPAT",r[3]="ENT_QUOTES",s=isNaN(e)?e?e.toUpperCase():"HTML_SPECIALCHARS":n[e],c=isNaN(t)?t?t.toUpperCase():"ENT_COMPAT":r[t],"HTML_SPECIALCHARS"!==s&&"HTML_ENTITIES"!==s)throw new Error("Table: "+s+" not supported");a[38]="&amp;","HTML_ENTITIES"===s&&(a[160]="&nbsp;",a[161]="&iexcl;",a[162]="&cent;",a[163]="&pound;",a[164]="&curren;",a[165]="&yen;",a[166]="&brvbar;",a[167]="&sect;",a[168]="&uml;",a[169]="&copy;",a[170]="&ordf;",a[171]="&laquo;",a[172]="&not;",a[173]="&shy;",a[174]="&reg;",a[175]="&macr;",a[176]="&deg;",a[177]="&plusmn;",a[178]="&sup2;",a[179]="&sup3;",a[180]="&acute;",a[181]="&micro;",a[182]="&para;",a[183]="&middot;",a[184]="&cedil;",a[185]="&sup1;",a[186]="&ordm;",a[187]="&raquo;",a[188]="&frac14;",a[189]="&frac12;",a[190]="&frac34;",a[191]="&iquest;",a[192]="&Agrave;",a[193]="&Aacute;",a[194]="&Acirc;",a[195]="&Atilde;",a[196]="&Auml;",a[197]="&Aring;",a[198]="&AElig;",a[199]="&Ccedil;",a[200]="&Egrave;",a[201]="&Eacute;",a[202]="&Ecirc;",a[203]="&Euml;",a[204]="&Igrave;",a[205]="&Iacute;",a[206]="&Icirc;",a[207]="&Iuml;",a[208]="&ETH;",a[209]="&Ntilde;",a[210]="&Ograve;",a[211]="&Oacute;",a[212]="&Ocirc;",a[213]="&Otilde;",a[214]="&Ouml;",a[215]="&times;",a[216]="&Oslash;",a[217]="&Ugrave;",a[218]="&Uacute;",a[219]="&Ucirc;",a[220]="&Uuml;",a[221]="&Yacute;",a[222]="&THORN;",a[223]="&szlig;",a[224]="&agrave;",a[225]="&aacute;",a[226]="&acirc;",a[227]="&atilde;",a[228]="&auml;",a[229]="&aring;",a[230]="&aelig;",a[231]="&ccedil;",a[232]="&egrave;",a[233]="&eacute;",a[234]="&ecirc;",a[235]="&euml;",a[236]="&igrave;",a[237]="&iacute;",a[238]="&icirc;",a[239]="&iuml;",a[240]="&eth;",a[241]="&ntilde;",a[242]="&ograve;",a[243]="&oacute;",a[244]="&ocirc;",a[245]="&otilde;",a[246]="&ouml;",a[247]="&divide;",a[248]="&oslash;",a[249]="&ugrave;",a[250]="&uacute;",a[251]="&ucirc;",a[252]="&uuml;",a[253]="&yacute;",a[254]="&thorn;",a[255]="&yuml;"),"ENT_NOQUOTES"!==c&&(a[34]="&quot;"),"ENT_QUOTES"===c&&(a[39]="&#39;"),a[60]="&lt;",a[62]="&gt;";for(i in a)a.hasOwnProperty(i)&&(o[String.fromCharCode(i)]=a[i]);return o},html_entity_decode=function(e,t){var i={},a="",o="",n="";if(o=e.toString(),!1===(i=this.get_html_translation_table("HTML_ENTITIES",t)))return!1;delete i["&"],i["&"]="&amp;";for(a in i)n=i[a],o=o.split(n).join(a);return o=o.split("&#039;").join("'")},urlParameters={hash:!1,vars:{},queue:{},set:function(e,t){this.loadVars(),e&&(this.vars[e]=t,this.queue[e]=t),null===t&&(e?(delete this.vars[e],delete this.queue[e]):(this.vars={},this.queue={}));var i=this.toURLVars();this.hash?window.location.hash=this.hash+i:window.location.search="?"+i,this.queue={}},qs:function(e,t){this.queue[e]=t},get:function(e,t){var i=Object.deepExtend(this.vars,this.queue);return t?this.vars[e]:i[e]},s_query_get:function(e,t){this.loadVars(!0);var i=Object.deepExtend(this.vars,this.queue);return t?this.vars[e]:i[e]},qr:function(e){this.loadVars(),e?delete this.queue[e]:this.queue={}},toURLVars:function(){var e=[],t=Object.deepExtend(this.vars,this.queue);for(var i in t)e.push(encodeURIComponent(i)+"="+encodeURIComponent(t[i]));return e=e.join("&")},loadVars:function(e){var t,i=this.hash,a=!i||e?window.location.search:window.location.hash;if(a=a.substring(!i||e?1:i.length),a.length>0){try{t=JSON.parse('{"'+a.replace(/&/g,'","').replace(/=/g,'":"')+'"}',function(e,t){return""===e?t:decodeURIComponent(t)})}catch(o){t={}}this.vars=t}else this.vars={}}},getURLParameter=function(e){var t=decodeURIComponent((new RegExp("[?|&]"+e+"=([^&;]+?)(&|#|;|$)").exec(location.search)||[,""])[1].replace(/\+/g,"%20"))||null;return t?(t.lastIndexOf("/")>-1&&(t=t.substring(0,t.lastIndexOf("/"))),t):null};require(["jquery"],function(e){e(document).on("touchstart","*[data-touch]",function(){e(this).addClass("touch").removeClass("mob")}).on("touchmove","*[data-touch]",function(t){var i=this;setTimeout(function(){e(i).removeClass("touch").addClass("mob")}),t.stopPropagation()}),e(document).on("touchend touchmove touchcancel",function(){setTimeout(function(){e("[data-touch]").removeClass("touch").addClass("mob")})}),e.fn.charlimit=function(t,i){return e(this).each(function(){e(this).data("char-limit",t),e(this).keypress(function(){var a=this;setTimeout(function(){var o=e(a).val().length;o>t?e(i).css("color","#f00"):e(i).css("color","#63CA84"),e(i).html(t-o)})}).keyup(function(t){(8==t.keyCode||46==t.keyCode)&&e(this).keypress()}).trigger("keypress")}),this},e.fn.charlimit_new=function(t,i){return e(this).each(function(){e(this).data("char-limit",t),e(this).keypress(function(){var a=this;setTimeout(function(){var o=e(a).val().length;o>t?e(i).addClass("invalid"):e(i).removeClass("invalid"),e(i).html(t-o)})}).bind("paste cut",function(){e(this).keypress()}).keyup(function(t){(8==t.keyCode||46==t.keyCode)&&e(this).keypress()}).trigger("keypress")}),this},function(){function t(){new Date-i<o?setTimeout(t,o):(a=!1,e(window).trigger("resizeEnd"))}var i=new Date(1,1,2e3,12,0,0),a=!1,o=200;e(window).resize(function(){i=new Date,a===!1&&(a=!0,setTimeout(t,o))})}(),e.fn.serializeForm=function(){for(var e=function(e,t,i){for(var a=t.split("."),o=e,n=a.length-1,r=0;n>r;r++)o[a[r]]=o[a[r]]||{},o=o[a[r]];if(0<a[r].indexOf("[]")){var s=a[r].replace("[]","");o[s]=o[s]||[],o[s].push(i)}else o[a[r]]=i;return e},t={},i=this.serializeArray(),a=0,o=i.length;o>a;a++)t=e(t,i[a].name,i[a].value);return t},e.fn.WHTooltipL=function(t){var i='<div class="uinfo-tooltip-shadow"><div class="uinfo-tooltip-shadow-container" style="width:100%;height:100%"><div class="uinfo-tooltip-shadow-tail">&nbsp;</div></div></div><div class="uinfo-tooltip"><div class="uinfo-tooltip-content" style="min-height:50px;width:100px"><p style="padding:10px 10px;margin:0px;font-size:12px"></p><div class="uinfo-tooltip-content-tail"></div></div></div>',a=e.extend({root:"/",json:!1},t);e(this).each(function(){e(this).click(function(){var t=new Date;if(!(e(this).data("tool-tip-timeout")&&e(this).data("tool-tip-timeout")>t.getTime()+2e3)){e(this).data("tool-tip-timeout",t.getTime());var o=e(i),n=e(o).filter(function(){return e(this).is(".uinfo-tooltip-shadow")}),r=e(o).filter(function(){return e(this).is(".uinfo-tooltip")}),s=e(r).find(".uinfo-tooltip-content p");pos=e(this).offset(),_this=this,remove=function(){e(o).remove(),e(this).unbind("mousedown",remove)},e("body").append(o),e(o).css({left:e(_this).offset().left+e(_this).width()+10,top:e(_this).offset().top-e(_this).height()/2-1,display:"block","z-index":"40"}),n.css({left:e(r).offset().left-4,top:e(r).offset().top-4,width:e(r).width()+8,height:e(r).height()+8}),e(r).addClass("uinfo-tooltip-loading");var c=function(t){var i=e(_this).attr("data-tooltip");if(t){if(!t[i])return console.log(i," field not found"),void e(o).remove();e(s).empty().append(t[i]),e(r).removeClass("uinfo-tooltip-loading"),e(r).find(".uinfo-tooltip-content").width(250),n.css({width:e(r).width()+8,height:e(r).height()+8}),e(document).mousedown(remove)}};return a.json?void c(a.json):void e.ajax({url:a.root,dataType:"text",success:function(t){{var i=!1;e(_this).attr("data-tooltip")}try{i=JSON.parse(t)}catch(a){console.log(a.message),e(o).remove()}c(i)},error:function(t,i){console.log(i),e(o).remove()}})}})})}}),require(["domReady",function(){!function(e,t,i){var a=(t.className+"").split(/\s+/);if(1==a.length&&""==a[0]&&(a=[]),i.indexOf("mac")>-1&&a.push("mac"),i.indexOf("firefox/")>-1&&a.push("ff"),e.all&&!e.querySelector){a.push("ie7");var o=e.createElement("div");o.className="browserupgrade",o.innerHTML='You are using a very old and unsupported browser. Please <a href="http://www.getfirefox.com/" target="_blank">upgrade</a> to correctly view the page.',t.appendChild(o)}if(window.devicePixelRatio&&devicePixelRatio>=2){var n=e.createElement("div");n.style.border=".5px solid transparent",t.appendChild(n),1==n.offsetHeight&&a.push("retina"),e.body.removeChild(n)}t.className=a.join(" ")}(document,document.getElementsByTagName("body")[0],(navigator.userAgent+"").toLowerCase())}]),define("fb-init",["jquery","facebook-sdk"],function(e){var t=e('meta[property="fb:app_id"][content]').attr("content");t||"undefined"==typeof window.gFBAppId||(t=gFBAppId),t&&(FB.init({appId:t,version:"v2.0",xfbml:!0}),window.gFBLoaded=!0,"function"==typeof window.fbLoadedCallback&&window.fbLoadedCallback.apply())}),define("cookie-helper","parse"in JSON?[]:["json"],function(){return{read:function(e){for(var t,i=document.cookie.split(";"),a=0;a<i.length;a++){for(t=i[a].split("=",2);" "==t[0].charAt(0);)t[0]=t[0].substring(1,t[0].length);if(t[0]==e)return decodeURIComponent(t[1])}return null},is_logged_in:function(){return null!==this.read("mw_signon")||null!==this.read("mw_signon_temp")},get_signon_data:function(){var e=this.read("mw_signon");if(null==e&&(e=this.read("mw_signon_temp")),null!=e)try{e=JSON.parse(e)}catch(t){e=null}return e},create:function(e,t,i,a){var o="";if(null!=i){var n=new Date;i=60*(a?i:24*i)*60*1e3,n.setTime(n.getTime()+i),o="; expires="+n.toGMTString()}document.cookie=e+"="+encodeURIComponent(t)+o+"; path=/; secure"},"delete":function(e){this.create(e,"",-1)}}}),require(["jquery"],function(e){function t(e){if(e in r.style)return e;for(var t=["Moz","Webkit","O","ms"],i=e.charAt(0).toUpperCase()+e.substr(1),a=0;a<t.length;++a){var o=t[a]+i;if(o in r.style)return o}}function i(){return r.style[s.transform]="",r.style[s.transform]="rotateY(90deg)",""!==r.style[s.transform]}function a(e){return e.replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()})}var o,n={transition:"transitionend",MozTransition:"transitionend",OTransition:"oTransitionEnd",WebkitTransition:"webkitTransitionEnd",msTransition:"MSTransitionEnd"},r=document.createElement("div"),s={};s.transition=t("transition"),s.transitionDelay=t("transitionDelay"),s.transform=t("transform"),s.transformOrigin=t("transformOrigin"),s.filter=t("Filter"),s.transform3d=i();var o=n[s.transition]||null;e.transitionEnd=o,r=null;var c=0;e.fn.addTransition=function(t,i,o){var t=t||"all",i=i||"0.2s",o=o||"cubic-bezier(0.86, 0, 0.07, 1)",n=e(this);t in s&&(t=a(s[t]));var r=n.data("id");void 0===r&&(r=++c),n.data("id",r);var l=n.data("transprops");return void 0===l&&(l=[]),l.push(t+" "+i+" "+o),n.data("transprops",l),this.each(function(){this.offsetWidth,s.transition in this.style&&(this.style[s.transition]=l.join(", ")),e(this).off(e.transitionEnd).on(e.transitionEnd,function(t){s.transition in this.style&&(e(this).removeData("transprops"),this.style[s.transition]=null),e(this).trigger("endTransitionCallback_"+r),t.stopPropagation()})}),this},e.fn.endTransition=function(t){if(t.constructor!==Function)return this;var i=e(this),a=i.data("id"),o="endTransitionCallback_"+a;return void 0===a&&(a=++c),this.off(o).one(o,function(){t()})}}),define("wh.overlay",["jquery"],function(e){var t={cache:{},paramscache:{},xhrs:{},manual_hide:!1,resize_close:!0,docClose:!0},i={};t.show_login_overlay=function(t){t=e.extend({type:"login",deps:["wh.overlay.login"],"class":"loginscreen loginform-show",closebtn:!0,callbacks:[]},t),this.show_overlay(t)},t.show_email_share_overlay=function(t){var i=this;t=e.extend({type:"email-share",deps:["wh.overlay.email-share"],closebtn:!0,"class":"legacy emailshare",callbacks:[function(){i.cache.overlay_frame.find("[name=sender]").focus()}]},t),this.show_overlay(t)},t.show_social_share_overlay=function(t){var i=this;t=Object.deepExtend({ajax:{type:"POST",data:{}},render:{submit:"Submit"}},t),t=e.extend({type:"social-share",deps:["wh.overlay.social-share"],"class":"social-share-screen",closebtn:!0,callbacks:[function(){i.cache.overlay_frame.find("[name=message]").focus(),i.cache.overlay_frame.find("input[type=submit]").val(t.render.submit)}]},t),this.show_overlay(t)},t.show_question_overlay=function(t){t=e.extend({type:"post-question",deps:["wh.overlay.post-question"]},t),this.show_overlay(t)},t.show_question_new_overlay=function(t){t=e.extend({type:"post-question-new","class":"multiscreen ask-question-screen",multiscreen_parent:"form",closebtn:!0,deps:["wh.overlay.post-question-new"]},t),this.show_overlay(t)},t.show_overlay=function(a){var o=this;a=e.extend({},a),this.cache.overlay_frame.addClass("loading"),this.cache.overlay_frame.addTransition("opacity"),this.cache.overlay.addTransition("opacity").endTransition(function(){o.cache.overlay.one("click",function(){a.docClose&&(window.innerWidth<751||o.manual_hide||o.hide_overlay())})}),this.cache.body.addClass("so"),"type"in a&&(a.type in t.paramscache&&"overlay_frame_coords"in this.paramscache[a.type]?(this.cache.overlay_frame.removeAttr("class").css({transform:"none",top:Math.round(this.paramscache[a.type].overlay_frame_coords.top),left:Math.round(this.paramscache[a.type].overlay_frame_coords.left)}),i=t.paramscache[a.type]):"deps"in a?require(a.deps,function(e){e.init(a)}):"init"in a&&a.init(a))},t.morph_overlay=function(t){var i=[this.cache.overlay_frame.width(),this.cache.overlay_frame.height()],a=[],o=this;this.cache.overlay_frame.css({left:"",top:"",transform:""}),t.html&&this.cache.overlay_frame.html('<div id="overlay-frame-content">'+t.html+"</div>"),t.element&&this.cache.overlay_frame.empty().append('<div id="overlay-frame-content"></div>').children("#overlay-frame-content").append(t.element),this.cache.overlay_frame.attr("class",""),"class"in t&&this.cache.overlay_frame.addClass(t.class),this.cache.overlay_frame_content=e("#overlay-frame-content"),a=[this.cache.overlay_frame.outerWidth(),this.cache.overlay_frame.outerHeight()],this.cache.overlay_frame.empty(),this.cache.overlay_frame.attr("class","morphing").css({width:i[0],height:i[1]}),this.cache.overlay_frame.removeData("transprops").addTransition("transform","0.4s","cubic-bezier(1, 0, 0, 1)").endTransition(function(){o.cache.overlay_frame.trigger("finalform",t)}),this.cache.overlay_frame.css({transform:"translate(-50%,-50%) translateZ(0) scale("+a[0]/i[0]+","+a[1]/i[1]+")",transformOrigin:"center top"})},t.transit=function(e,t,i,a){if(e instanceof jQuery&&t instanceof jQuery&&0!=e.length&&0!=t.length){var o=this,n=e.outerWidth(),r=e.outerHeight(),s=t.outerWidth(),c=t.outerHeight(),l=function(){o.cache.overlay_frame.children("a.closebtn").hide(),e.hide(),o.cache.overlay_frame.css({width:n,height:r}).endTransition(h).addTransition("transform","0.4s","cubic-bezier(1, 0, 0, 1)").css({transform:"translateZ(0) scale("+s/n+","+c/r+")",transformOrigin:"center top"})},h=function(){o.cache.overlay_frame.css({transform:"none",left:o.cache.overlay_frame.position().left,width:s,height:c}),o.cache.overlay_frame.children("a.closebtn").show(),t.show().css({opacity:0}).addTransition("opacity","0.2s","linear").endTransition(function(){o.cache.overlay_frame.css({width:"",height:""}),"function"==typeof a&&a()}).css({opacity:1})};i?(e.css({opacity:0}),n=o.cache.overlay_frame.width(),r=o.cache.overlay_frame.height(),l()):e.addTransition("opacity","0.2s","linear").endTransition(l).css({opacity:0})}},t.load_content=function(e,t){t.html=e||null,this.morph_overlay(t)},t.loading=function(t){var i=this,a=[],o=[],n=[];this.cache.overlay_frame_content.addTransition("opacity","0.2s","linear").endTransition(function(){e({}).queue("O",function(t){a=i.cache.overlay_frame.offset(),e(window).scrollTop()>0&&(a.top-=e(window).scrollTop()),o=[i.cache.overlay_frame.width(),i.cache.overlay_frame.height()],i.cache.overlay_frame.empty(),i.cache.overlay_frame.removeAttr("style").attr("class","loading"),n=[i.cache.overlay_frame.width(),i.cache.overlay_frame.height()],i.cache.overlay_frame.removeAttr("class").width(o[0]).height(o[1]).css({transform:"none",left:a.left,top:Math.max(15,a.top)}),t()}).delay(0,"O").queue("O",function(){i.cache.overlay_frame.addTransition("transform","0.4s","cubic-bezier(1, 0, 0, 1)").endTransition(function(){var e={type:"loading"};"function"==typeof t&&(e.callbacks=[t]),i.cache.overlay_frame.trigger("finalform",e)}),i.cache.overlay_frame.css({transform:"translateZ(0) scale("+n[0]/o[0]+","+n[1]/o[1]+")",transformOrigin:"center top"})}).dequeue("O")}).css({opacity:0})},t.hide_overlay=function(t){var i=this;this.cache.overlay_frame.addTransition("opacity"),this.cache.overlay.css({right:0,bottom:0}).addTransition("opacity").endTransition(function(){i.cache.overlay.removeAttr("style"),i.cache.overlay_frame.removeAttr("style"),t?t():i.hide_overlay_callback&&i.hide_overlay_callback(),e(window).unbind("resize",a)}),this.cache.body.removeClass("so");for(var n in this.xhrs)null!=this.xhrs[n]&&this.xhrs[n].abort();e(window).off("resize",o)},t.nail_overlay_position=function(){var t=this.cache.overlay_frame.position(),i=e(window).scrollTop();this.cache.overlay_frame.css({top:t.top+i,position:"absolute"})},t.next_screen=function(){this.multiscreen_navigate()},t.prev_screen=function(){this.multiscreen_navigate(-1)},t.multiscreen_navigate=function(e,a,o){var n=i;if(!this.cache.overlay_frame.hasClass("multiscreen"))return!1;var r="section:visible",s="";if(s=void 0===e?"next":-1==e?"prev":"exact",n.multiscreen_parent)var c=this.cache.overlay_frame_content.find(n.multiscreen_parent).children(r);else var c=this.cache.overlay_frame_content.children(r);if(0!=c.length){var l;"next"==s?l=c.next("section"):"prev"==s?l=c.prev("section"):"exact"==s&&(l=n.multiscreen_parent?this.cache.overlay_frame_content.find(n.multiscreen_parent).children("section:eq("+e+")"):this.cache.overlay_frame_content.children("section:eq("+e+")")),0!=l.length&&(l=l.filter(":first"),t.transit(c,l,a,o))}},t.init=function(){var t=this;this.cache.body=e(document.body),this.cache.overlay=e('<div id="overlay" />').appendTo(this.cache.body),this.cache.overlay_frame=e('<div id="overlay-frame" />').appendTo(this.cache.body),this.cache.overlay_frame.on("finalform",function(a,n){var r=t.cache.overlay_frame.position();if(e(window).scrollTop()>0&&(r.top+=e(window).scrollTop()),t.cache.overlay_frame.removeAttr("class").removeAttr("style").css({transform:"none",left:Math.round(r.left),top:Math.max(15,Math.round(r.top)),position:"absolute"}),"loading"==n.type){if(t.cache.overlay_frame.attr("class","loading"),"callbacks"in n)for(var s in n.callbacks)"function"==typeof n.callbacks[s]&&n.callbacks[s].call(t,n)}else n.html&&t.cache.overlay_frame.html('<div id="overlay-frame-content">'+n.html+"</div>"),n.element&&t.cache.overlay_frame.empty().append('<div id="overlay-frame-content"></div>').children("#overlay-frame-content").append(n.element),"class"in n&&t.cache.overlay_frame.addClass(n.class),"closebtn"in n&&t.cache.overlay_frame.prepend('<a href="#" class="closebtn"></a>').children("a.closebtn").css({right:-1*(t.cache.overlay_frame.children("a.closebtn").outerWidth()/2),top:-1*(t.cache.overlay_frame.children("a.closebtn").outerHeight()/2)}).one("click",function(){return t.hide_overlay(),!1}),t.paramscache[n.type]=e.extend({},n),i=t.paramscache[n.type],t.cache.overlay_frame_content=e("#overlay-frame-content").css({opacity:0}),t.cache.overlay_frame_content.trigger("reveal",n),e(window).on("resize",o)}).on("reveal",function(e,i){if("callbacks"in i)for(var a in i.callbacks)"function"==typeof i.callbacks[a]&&i.callbacks[a].call(t,i);t.cache.overlay_frame_content.addTransition("opacity","0.2s","linear").endTransition(function(){t.cache.overlay_frame_content.removeAttr("style")}).css({opacity:1})}),e("#header .nosession a[data-menu=user]").on("click",function(){return t.show_login_overlay(),this.blur(),!1})};var a=function(){t.manual_hide||t.hide_overlay()},o=function(){var i=e("#overlay").outerWidth(),a=t.cache.overlay_frame.outerWidth();t.cache.overlay_frame.css({left:(i-a)/2})};return t}),requireDone();