DISQUS.define("strings",function(){var b=DISQUS.settings.get("disqus.debug"),e=DISQUS.settings.get("disqus.urls.media")+"/build/lang/",d={},a="en",f={},c=function(){this.value=(this.ie=DISQUS.isBrowser("ie"))?[]:""};c.prototype={put:function(a){this.ie?this.value.push(a):this.value+=a},esc:function(a){return a},compile:function(){if(this.ie)this.value=this.value.join("");return this.value}};return{translations:f,setGlobalContext:function(a){DISQUS.extend(d,a)},get:function(a){return f[a]||a},interpolate:function(a,
b){var c=[b||{},d];return a.replace(/%\(\w+\)s/g,function(a){a:{for(var a=a.slice(2,-2),b=0,g=c.length;b<g;b++)if(c[b][a]!==void 0){a=c[b][a].toString();break a}throw"Key "+a+" not found in context";}return a})},pluralize:function(a,b,c){return a!=1?c||"s":b||""},trim:function(a){for(var a=a.replace(/^\s\s*/,""),b=/\s/,c=a.length;b.test(a.charAt(--c)););return a.slice(0,c+1)},capitalize:function(a){return a.charAt(0).toUpperCase()+a.slice(1)},isUTF8:function(a){for(var b=0,c=a.length;b<c;b++)if(a.charCodeAt(b)>
256)return!0;return!1},Builder:c,loadLang:function(c,f){DISQUS.require(e+c+".js",{},b,f);a=c},getCurrentLang:function(){return a}}});DISQUS.define("dtpl",function(){var b=function(){};b.prototype={container:function(){return this._container},textareaContainer:function(){return this._textareaContainer},show:function(){var a=this.container();if(a)a.style.display="block";this.rpc.show&&this.rpc.show()},hide:function(){var a=this.container();if(a)a.style.display="none"}};var e=function(a,b){var c=this;c.id=a;c.rpcReady=!1;c.focusCalled=!1;c._container=null;var d;d=a?c.render(b):DISQUS.jsonData.forum.template.api=="1.0"?DISQUS.nodes.get("#dsq-textarea-wrapper"):
DISQUS.nodes.get(".dsq-textarea-wrapper",DISQUS.nodes.get("#dsq-reply"))[0];c.rpc=DISQUS.comm.Reply.create(d,a,function(){DISQUS.dtpl.actions.fire("comments.reply.new.onLoadingEnd",a);c.rpcReady=!0;c.focusCalled&&setTimeout(function(){c.focus()},0)});var e=DISQUS.nodes.get(".dsq-attach-media-container",c.container())[0];if(e&&DISQUS.dtpl.actions.registered("comments.reply.media.upload.onSuccess")&&DISQUS.jsonData.context.switches.upload_media)c.uploadrpc=DISQUS.comm.Upload.create(e,a);c._textareaContainer=
d;DISQUS.dtpl.actions.fire("comments.reply.new.onLoadingStart",a)};e.instances={};e.create=function(a,b){var c=new e(a,b);return e.instances[a]=c};e.get=function(a){return e.instances[a]};DISQUS.extend(e.prototype,b.prototype,{focus:function(){this.rpcReady?this.rpc.focus():this.focusCalled=!0},render:function(a){var b=this.id;if(typeof a==="string"){var c=document.createElement("div");c.innerHTML=a;a=c}c=DISQUS.nodes.get(DISQUS.dtpl.APPEND_REPLY_ID(this.id));this._container=a;DISQUS.jsonData.forum.template.api==
"1.0"?(c.appendChild(a),a=DISQUS.nodes.get("#dsq-textarea-wrapper"+(b?"-"+b:""))):(DISQUS.nodes.insertAfter(c,a),a=DISQUS.nodes.get(".dsq-textarea-wrapper",a)[0]);return a}});var d=function(a,b){var c=this;if(typeof b==="string"){var d=document.createElement("div");d.innerHTML=b;b=d}if(DISQUS.jsonData.forum.template.api=="1.0")d=document.createElement("div"),d.appendChild(b),b=d,b.id="dsq-edit-"+a,b.className="dsq-edit dsq-textarea";d=DISQUS.nodes.get(DISQUS.dtpl.APPEND_EDIT_ID(a));DISQUS.jsonData.forum.template.api==
"1.0"?(d.appendChild(b),d=DISQUS.nodes.get("#dsq-edit-iframe-"+a)):(DISQUS.nodes.insertAfter(d,b),d=DISQUS.nodes.get(".dsq-textarea-wrapper",b)[0]);c.rpc=DISQUS.comm.Edit.create(d,a,function(){c.rpc.focus()});c._container=b;c._textareaContainer=d};d.instances={};d.create=function(a,b){var c=new d(a,b);return d.instances[a]=c};d.get=function(a){return d.instances[a]};DISQUS.extend(d.prototype,e.prototype,{focus:function(){}});DISQUS.once("thread.onReady",function(){var a=DISQUS.jsonData;DISQUS.dtpl.actions.fire("messagesx.render",
a.messagesx);DISQUS.dtpl.actions.fire("messagesx.init",a.request);a.context.switches.embed_labs&&DISQUS.requireSet(a.labs.files,!0,function(){DISQUS.trigger("labs.onReady")})});DISQUS.once("loader.onActionsReady",function(){DISQUS.dtpl.actions.fire("mentions.render",DISQUS.jsonData.posts);DISQUS.bind("loader.onDataReady",function(){DISQUS.dtpl.actions.fire("mentions.render",DISQUS.jsonData.posts)})});DISQUS.bind("data.onPostUpdate",function(a){var b={};typeof a.data.message==="string"&&(b[a.id]=DISQUS.jsonData.posts[a.id],
DISQUS.dtpl.actions.fire("mentions.render",b))});return{getAction:function(a,b){function c(){var a=Array.prototype.slice.call(arguments);a.unshift(DISQUS.dtpl.actions.fire);return DISQUS.partial.apply({},a)}function d(b){return a.getAttribute("data-dsq-"+b)}var e=a.getAttribute("data-dsq-action"),i=DISQUS.jsonData.posts[a.getAttribute("data-dsq-comment")]||null,k=DISQUS.jsonData.request;if(b.type!="click"){if(b.type=="change"&&e=="thread:sort")return c("thread.sort",a.value)}else switch(e){case "media:expand":return c("thread.expandMediaEmbed",
d("media"));case "reactions:showRetweets":return c("reactions.showRetweets",d("reaction"));case "reactions:hide":return c("reactions.hide",d("reaction"));case "reactions:more":return c("reactions.loadMore");case "thread:subscribe":return c("thread.subscribe");case "thread:unsubscribe":return c("thread.unsubscribe");case "thread:paginate":return c("thread.paginate",d("page"));case "session:login":return c("auth.login");case "session:help":return c("help.login");case "user:showProfile":return c("profile.show",
i&&i.id,d("username"));case "comments:edit":return c("comments.edit",i.id);case "comments:edit:send":return c("comments.edit.send",i.id);case "comments:edit:cancel":return c("comments.edit.cancel",i.id);case "comments:reply":return c("comments.reply",i.id);case "comments:reply:send":if(k.is_authenticated)return c("comments.send",i&&i.id,a);return c("comments.validate",i&&i.id,a);case "comments:reply:toggleSharing":return e=a.getAttribute("type"),c("share.toggle",a,e,i&&i.id);case "comments:text:collapse":return c("comments.text.collapse",
i.id);case "comments:text:expand":return c("comments.text.expand",i.id);case "comments:like":return c("comments.like",a,i.id);case "comments:showParent":return c("comments.showParent",i.parent_post_id);case "comments:showLikes":return c("comments.showUserVotes",i.id);case "comments:permalink":return c("comments.permalink",i.id);case "comments:moderate":return c("comments.moderate.options",i.id);case "comments:report":return c("comments.report",i.id);case "comments:collapse":return c("comments.collapse",
i.id);case "comments:expand":return c("comments.expand",i.id)}},append:function(a,b){a.innerHTML=b},replaceHtml:function(a,b){a.innerHTML=b},getGuestFields:function(a){function b(c){return DISQUS.nodes.get("#"+c+(a?"-"+a:""))}return{name:b("dsq-field-name"),email:b("dsq-field-email"),website:b("dsq-field-website"),username:b("dsq-field-username"),password:b("dsq-field-password"),subscribe:b("dsq-subscribe-on-post")}},ReplyBox:e,EditBox:d}});DISQUS.define("dtpl.actions",function(){function b(a,b,c){var d;typeof b==="string"?(d=b,b=c):d=">= "+r[0];p[a]||(p[a]={});p[a][d]=b}function e(a,b,c){if(DISQUS.settings.get("disqus.debug"))return a.apply({},b);try{return a.apply({},b)}catch(d){return window.console&&window.console.log&&(c&&window.console.log("Exception in "+c),window.console.log(d),typeof printStackTrace!=="undefined"&&window.console.log(printStackTrace({e:d}).join("\n"))),!1}}function d(a,b){if(o[a])if(typeof b==="undefined")return delete o[a],
!0;else DISQUS.lang.forEach(o[a],function(c,d){if(b.guid&&b.guid==c.guid)return delete o[a][d],!0});return!1}function a(a,b){b=b||t;if(!p[a])return!1;var c=null;DISQUS.each(p[a],function(a,q){var d=q.match(/(=|>=)\s*([0-9\.]+)/),e=d[1],d=d[2];e=="="&&b==d?c=a:e==">="&&b>=d&&(c=a)});return c}function f(q,b){return!!a(q,b)}function c(a,b,c){return!!o[a]||(b?!1:f(a,c))}function g(){var q=arguments[0],b=[],d=!0,m;if(DISQUS.jsonData!=null)if(DISQUS.status=="ready"&&DISQUS.jsonData.ready!==!1)m=DISQUS.jsonData.forum.template.api;
else return;typeof q==="object"&&(m=q[1],q=q[0]);if(!c(q,!1,m))throw"Action "+q+" not found";for(var g=1;g<arguments.length;g++)b.push(arguments[g]);o[q]&&DISQUS.lang.forEach(o[q],function(a){d=d&&!!e(a,b,q)});f(q,m)&&d&&e(a(q,m),b,q);return!1}function h(a){var b=function(b){return"#"+a+(b?"-"+b:"")};b.toString=function(){return b()};return b}function i(a){var a=DISQUS.nodes.get("li",a),b;for(b=0;b<a.length;++b)if(DISQUS.nodes.hasClass(a[b],"dsq-mentions-highlighted"))return a[b];return null}function k(a,
b){if(!a)return!1;if(a.hasAttribute)return a.hasAttribute(b);else if(a.attributes)return!!a.attributes[b];return!1}function n(a,b,c){if(b=b?c=="up"?b.previousSibling:b.nextSibling:a.firstChild){do if(k(b,"data-dsq-username"))return b;while(b=c=="up"?b.previousSibling:b.nextSibling)}}var p={},o={},j=null,s=[],r=["1.0","1.1"],t=r[r.length-1];b("__.comments.reply.media.upload",function(a){g("comments.reply.media.upload.onLoadingStart",a)});b("__.comments.reply.media.upload.onResponse",function(a,b){if(a&&
a.constructor===Array)for(var c=a.length-1;c>=0;--c)g("comments.reply.media.upload.onLoadingEnd",b),g("comments.reply.media.upload.onSuccess",a[c],b);else a&&a.success&&a.media?(b=b||"",c=DISQUS.comm.Upload.recover(b),a.forum_id=DISQUS.jsonData.forum.id,a.thread_id=DISQUS.jsonData.thread.id,a.id=b,c.media("set",a),g("comments.reply.media.upload.onLoadingEnd",b),g("comments.reply.media.upload.onSuccess",a.media,b)):a.silence||(a.message&&g("message.error",a.message,a.title||"Error"),g("comments.reply.media.upload.onLoadingEnd",
b))});b("comments.reply.media.remove",function(a,b){var c={id:b,media:DISQUS.json.stringify(a.media)};DISQUS.request.get(DISQUS.jsonData.urls.upload_remove+"?ts="+ +new Date,c)});b("__.comments.reply.media.remove.onResponse",function(a){delete a.success;a.id=a.id||"";a.forum_id=DISQUS.jsonData.forum.id;a.thread_id=DISQUS.jsonData.thread.id;DISQUS.comm.Upload.recover(a.id).media("remove",a,a.id);g("comments.reply.media.remove.onSuccess",a)});b("__.comments.reply.media.upload.clear",function(a){var b=
DISQUS.comm.Upload.recover(a);b&&(b.media("clear",{forum_id:DISQUS.jsonData.forum.id,thread_id:DISQUS.jsonData.thread.id,id:a||""}),g("comments.reply.media.upload.clear",a))});b("message.error",function(a,b){DISQUS.popup.popModal(a,b||DISQUS.strings.get("Error"))});b("message.error.onField",function(a,b){if(DISQUS.jsonData.forum.revert_new_login_flow)g("message.error",DISQUS.strings.get(a),DISQUS.strings.get("Oops..."));else if(b){var c=DISQUS.nodes.get("#"+b+"-label");if(c)DISQUS.nodes.addClass(c,
"dsq-error"),c.innerHTML=DISQUS.strings.get(a)}else alert(DISQUS.strings.get(a))});b("comments.reply.onCookieFailure","= 1.0",function(a){var b=document.createElement("div");b.innerHTML=DISQUS.renderBlock("cookieFailure");DISQUS.nodes.insertBefore(DISQUS.nodes.get("#dsq-form-area"+(a?"-"+a:"")),b)});b("comments.reply.onCookieFailure",">= 1.1",function(){});b("message.unapprovedComment",function(a,b){DISQUS.popup.popModal(DISQUS.renderBlock("unapprovedCommentMessage",{mustVerify:a}),DISQUS.strings.get("Comment awaiting approval"),
b,!0,"dsq-popup-unapproved")});b("share.toggle",function(a,b,c){DISQUS.nodes.hasClass(a,"dsq-share-toggled")?DISQUS.nodes.removeClass(a,"dsq-share-toggled"):DISQUS.nodes.addClass(a,"dsq-share-toggled");c=c||null;DISQUS.cache.postSharing[c]=DISQUS.cache.postSharing[c]||{twitter:null,facebook:null};a=DISQUS.cache.postSharing[c];a[b]=!a[b]});b("private.setLoadingButton",function(a,b){var c=b?"-"+b:"",d;if(a){d=document.createElement("button");d.id=a.id+"-loading";d.className=a.className+" dsq-post-loading";
d.innerHTML=DISQUS.strings.get("Just a moment...");a.style.display="none";a.parentNode.appendChild(d);if(c=DISQUS.nodes.get("#dsq-cancel-button"+c))c.style.display="none";DISQUS.cache.buttonsToRestore.push(a)}else DISQUS.lang.forEach(DISQUS.cache.buttonsToRestore,function(a){a.style.display="inline";DISQUS.nodes.remove(DISQUS.nodes.get("#"+a.id+"-loading"))})});b("comments.validate",function(a){DISQUS.comm.Reply.recover(a).validate(function(b){b?DISQUS.comm.ensureLoggedIn(function(){g("comments.send",
a)},"postas",{onGuest:function(){g("comments.send",a,null,{fields:DISQUS.dtpl.getGuestFields(null)})}}):(g("message.error",DISQUS.strings.get("Please enter a comment to post.")),g("private.setLoadingButton"))})});b("auth.login",function(){DISQUS.comm.ensureLoggedIn(function(){DISQUS.redraw()})});b("auth.disqus",function(){DISQUS.comm.ensureLoggedIn(function(){DISQUS.redraw()},"disqus")});b("auth.twitter",function(){DISQUS.comm.ensureLoggedIn(function(){DISQUS.redraw()},"twitter")});b("auth.yahoo",
function(){DISQUS.comm.ensureLoggedIn(function(){DISQUS.redraw()},"yahoo")});b("auth.openid",function(){DISQUS.comm.ensureLoggedIn(function(){DISQUS.redraw()},"openid")});b("auth.google",function(){DISQUS.comm.ensureLoggedIn(function(){DISQUS.redraw()},"google")});b("auth.facebook",function(){DISQUS.comm.ensureLoggedIn(function(){DISQUS.redraw()},"facebook")});b("auth.sso",function(){var a=window.open(DISQUS.config.sso.url,"ssoWindow","location=0,status=0,width="+(DISQUS.config.sso.width||800)+",height="+
(DISQUS.config.sso.height||400)),b=setInterval(function(){DISQUS.window.isClosed(a)&&(clearInterval(b),window.location.reload())},500)});b("comments.text.expand",function(a){var b=DISQUS.nodes.get("#dsq-comment-message-"+a),c=DISQUS.nodes.get("#dsq-comment-text-"+a),d=DISQUS.nodes.get(".dsq-comment-truncate-expand",b)[0],b=DISQUS.nodes.get(".dsq-comment-truncate-collapse",b)[0];d.style.display="none";b.style.display="inline";c.innerHTML=DISQUS.jsonData.posts[a].message;return!1});b("comments.text.collapse",
function(a){var b=DISQUS.nodes.get("#dsq-comment-message-"+a),a=DISQUS.nodes.get("#dsq-comment-text-"+a),c=DISQUS.nodes.get(".dsq-comment-truncate-expand",b)[0],b=DISQUS.nodes.get(".dsq-comment-truncate-collapse",b)[0],d=DISQUS.jsonData.forum.comment_max_words;if(!a||d===0)return!1;if(DISQUS.nodes.truncateComment(a,d,"...")&&c&&b)c.style.display="inline",b.style.display="none";return!1});b("comments.insert",function(a,b,c){var d={};DISQUS.redraw();var e=DISQUS.nodes.get("#dsq-comments"),f=document.createElement("div");
d.comment=DISQUS.jsonData.posts[b];d.comment.id=b;d.comment.author=DISQUS.jsonData.users[d.comment.user_key];if(c&&c.length)d.comment.media=c,DISQUS.jsonData.mediaembed=DISQUS.jsonData.mediaembed.concat(c);if(d.comment.parent_post_id){d.comment.parent=DISQUS.jsonData.posts[d.comment.parent_post_id];d.comment.parent.author=DISQUS.jsonData.users[d.comment.parent.user_key];c=DISQUS.nodes.get("#dsq-comment-"+d.comment.parent_post_id);DISQUS.nodes.addClass(c,"dsq-comment-is-parent");c=d.comment.parent;
do c.num_replies+=1,c=DISQUS.jsonData.posts[c.parent_post_id];while(c!==void 0)}d.comment.stripped=function(a){var b=d.comment.message.replace(/<.*?>/g,"");if(b.length>a)return b.substring(0,a);return null};DISQUS.dtpl.replaceHtml(f,DISQUS.renderBlock("comment",d));a===-1?e.appendChild(f):a?DISQUS.nodes.get("dsq-comment-"+a)&&(e=DISQUS.nodes.get(DISQUS.dtpl.APPEND_COMMENT_ID(a)),DISQUS.nodes.insertAfter(e,f)):e.insertBefore(f,e.firstChild);e=DISQUS.nodes.get("#dsq-avatar-"+b);e=DISQUS.nodes.get("img.dsq-deferred-avatar",
e);DISQUS.lang.forEach(e,function(a){a.setAttribute("src",a.getAttribute("data-src"));DISQUS.nodes.removeClass(a,"dsq-deferred-avatar")});g("comments.text.collapse",b);DISQUS.ui.applyTooltips(f);DISQUS.dtpl.actions.fire("__.comments.insert.onSuccess",a,b)});b("comments.insert.onSuccess",function(){});b("__.comments.insert.onSuccess",function(a,b){DISQUS.dtpl.actions.fire("comments.insert.onSuccess",a,b)});b("comments.insert.onSuccess",function(){});b("comments.blacklist",function(a,b){var c={forum:DISQUS.jsonData.forum.url},
d={"dsq-blacklist-username":"user","dsq-blacklist-email":"email","dsq-blacklist-ip":"ip","dsq-blacklist-retroactive":"retroactive"},e=0;if(b)if(DISQUS.lang.forEach(d,function(a,b){var q=DISQUS.nodes.get("#"+b);if(q&&q.checked)c[a]=q.value,e++}),e<1)alert(DISQUS.strings.get("Please select something to add to the blacklist."));else{if(c.user)c.user="username:"+c.user;DISQUS.api("blacklists/add",{data:c,type:"POST",success:function(){DISQUS.popup.close(null,!0)},failure:function(){DISQUS.popup.close(null,
!0)}})}else d=DISQUS.jsonData.posts[a],DISQUS.popup.close(null,!0),DISQUS.popup.popModal(DISQUS.renderBlock("blacklistPopup",{comment:d,user:DISQUS.jsonData.users[d.user_key]}),DISQUS.strings.get("Add to Blacklist"))});b("comments.outline",function(a){var b=DISQUS.nodes.get("#dsq-comment-"+a);b&&(DISQUS.nodes.addClass(b,"dsq-comment-outline"),setTimeout(function(){DISQUS.nodes.removeClass(b,"dsq-comment-outline")},3E3))});b("comments.permalink",function(a){DISQUS.popup.popModal(DISQUS.renderBlock("permalinkPopup",
{postId:a}),DISQUS.strings.get("Link to this comment"),a)});b("comments.send",function(a,b,c){if(!DISQUS.cache.postboxBusy[a||null]){DISQUS.cache.postboxBusy[a||null]=!0;var d=DISQUS.comm.Reply.recover(a),c=c||{},e=function(b){try{return+(DISQUS.cache.postSharing[a||null][b]||0)}catch(c){return 0}},f={tw:e("twitter"),fb:e("facebook"),tr:e("tumblr"),wp:e("wordpress"),mt:e("movabletype"),tp:e("typepad"),yh:e("yahoo")};DISQUS.trigger("comments.share",f);var e=function(b){DISQUS.dtpl.actions.fire("comments.send.onSuccess",
b,a)},i=function(d){d=d.data;d.sendArguments={postId:a,element:b,options:c};DISQUS.dtpl.actions.fire("comments.send.onFailure",d)};b&&g("private.setLoadingButton",b,a);DISQUS.jsonData.request.is_authenticated?d.post(f,c.captcha||null,e,i):(f=c.fields||DISQUS.dtpl.getGuestFields(a),DISQUS.dtpl.validators.guestFields(f)&&(DISQUS.trigger("comments.onGuestPost"),d.postAsGuest(f.name.value,f.email.value,f.website?f.website.value:"",f.subscribe&&f.subscribe.checked,c.captcha||null,e,i)));c.force&&DISQUS.cookies.create("skipped_auth",
!0)}});b("comments.send.onSuccess",function(a,b){var c=DISQUS.jsonData.users,d=a.message.post_meta.user_key;DISQUS.cache.postboxBusy[b||null]=!1;a.succeeded&&g("__.comments.reply.media.upload.clear",a.message.post_meta.parent_post_id);DISQUS.updatePost(a.message.id,a.message.post_meta);if(!c[d])c[d]=a.message.user_meta;c=typeof disqus_insert_wrt_sort=="undefined"?DISQUS.jsonData.forum.reply_position?-1:null:DISQUS.jsonData.request.sort=="newest"?null:-1;a.message.post_meta.approved&&g("comments.insert",
a.message.post_meta.parent_post_id||c,a.message.id,a.message.media_embed);b&&g("comments.reply.cancel",b);DISQUS.popup.close(null,!0);a.message.post_meta.approved?(g("thread.incrementCommentsCount"),g("comments.outline",a.message.id)):(g("message.unapprovedComment",DISQUS.jsonData.request.missing_perm=="verify",a.message.id),DISQUS.redraw());a.message.fb_callback&&a.message.fb_callback[0]&&DISQUS.FB.init(function(){DISQUS.FB.streamPublish("",a.message.fb_callback[1])});g("private.setLoadingButton");
DISQUS.trigger("comment.onCreate",{id:a.message.id,text:a.message.post_meta.message})});b("comments.showUserVotes",function(a){DISQUS.request.get(DISQUS.jsonData.urls.show_user_votes,{post_id:a},!0)});b("comments.highlight",function(a){DISQUS.api("posts/highlight",{data:{post:a},type:"POST",success:function(a){DISQUS.dtpl.actions.fire("comments.highlight.onSuccess",a[0])}})});b("comments.highlight.onSuccess",function(){});b("comments.unhighlight",function(a){DISQUS.api("posts/unhighlight",{data:{post:a},
type:"POST",success:function(a){DISQUS.dtpl.actions.fire("comments.unhighlight.onSuccess",a[0])}})});b("comments.unhighlight.onSuccess",function(){});b("comments.showParent",function(a){var b=DISQUS.jsonData.posts[a],c=DISQUS.renderBlock("commentMessage",{comment:b,cls:""});c+='<br/><br/><a href="#comment-'+a+'">'+DISQUS.strings.get("Jump to comment")+"</a>";DISQUS.popup.popModal(c,b.author.display_name+" "+DISQUS.strings.get("said")+"&hellip;",a)});b("captcha.init",function(a){window.Recaptcha||
DISQUS.require("http://www.google.com/recaptcha/api/js/recaptcha_ajax.js");DISQUS.addJob(function(){return!!window.Recaptcha},a)});b("captcha.open",function(a){function b(){var c=DISQUS.lang.partial(DISQUS.dtpl.actions.fire,"captcha.submit",a),d=DISQUS.nodes.get("button",DISQUS.nodes.get("#dsq-captcha"))[0];DISQUS.events.add(d,"click",c);d=DISQUS.nodes.get("#recaptcha_response_field");DISQUS.events.add(d,"keypress",function(a){(a.keyCode||a.which)==13&&c()});DISQUS.nodes.get("#dsq-captcha-loading").style.display=
"none";DISQUS.nodes.get("#dsq-captcha-container").style.display="block";Recaptcha.focus_response_field()}DISQUS.popup.popModal(DISQUS.renderBlock("recaptcha"),DISQUS.strings.get("One More Step ..."),null,null,null,{onReady:function(){Recaptcha.create(DISQUS.jsonData.settings.recaptcha_public_key,"dsq-captcha-form",{theme:"clean",callback:b})},onClose:function(){Recaptcha.destroy();g("private.setLoadingButton")}})});b("captcha.submit",function(a){var b=a.options,c=DISQUS.nodes.get;b.captcha={recaptcha_challenge_field:c("#recaptcha_challenge_field").value,
recaptcha_response_field:c("#recaptcha_response_field").value};g("comments.send",a.postId,a.element,b);DISQUS.popup.close(null,!0)});b("comments.send.onFailure",function(a){a.sendArguments&&(DISQUS.cache.postboxBusy[a.sendArguments.postId||null]=!1);a.code=="captcha-required"?DISQUS.dtpl.actions.fire("captcha.init",DISQUS.lang.partial(DISQUS.dtpl.actions.fire,"captcha.open",a.sendArguments)):(g("message.error",a.message),g("private.setLoadingButton"))});b("comments.edit",function(a){DISQUS.states.edit[a]?
g("comments.edit.cancel",a):g("comments.edit.new",a);DISQUS.states.edit[a]=!DISQUS.states.edit[a]});b("comments.edit.new",function(a){DISQUS.comm.Edit.recover(a)||g("comments.edit.render",a);g(["comments.edit.show","1.1"],a)});b("comments.edit.render",function(a){var b=DISQUS.renderBlock("editArea",{comment:DISQUS.jsonData.posts[a]});DISQUS.dtpl.EditBox.create(a,b)});b("comments.edit.show",">= 1.1",function(a){DISQUS.popup.close(null,!0);DISQUS.nodes.get("#dsq-comment-message-"+a).style.display="none";
var b=DISQUS.nodes.get("#dsq-media-embed-"+a);if(b)b.style.display="none";b=DISQUS.nodes.get("#dsq-comment-"+a);b=DISQUS.nodes.get(".dsq-editedtxt",b);b.length&&DISQUS.nodes.remove(b[0]);DISQUS.dtpl.EditBox.get(a).show()});b("comments.edit.show","= 1.0",function(a){return g("comments.edit",a)});b("comments.edit.cancel",function(a){var b=DISQUS.nodes.get("#dsq-comment-message-"+a),c=DISQUS.nodes.get("#dsq-media-embed-"+a);b.style.display="block";if(c)c.style.display="block";DISQUS.dtpl.EditBox.get(a).hide()});
b("comments.edit.send",function(a){DISQUS.comm.Edit.recover(a).save(function(b){DISQUS.updatePost(a,b.message);g("comments.edit.onSuccess",b,a)},function(b){g("comments.edit.onFailure",b,a)})});b("comments.edit.onSuccess",function(a,b){var c=DISQUS.nodes.get("#dsq-comment-message-"+b);DISQUS.dtpl.replaceHtml(c,DISQUS.renderBlock("commentMessage",{comment:DISQUS.jsonData.posts[b],cls:"dsq-comment-message"}));for(var d=c.childNodes,e=d.length-1;e>=0;--e)if(RegExp("^dsq-comment-message-"+b).test(d[e].id)){c.innerHTML=
d[e].innerHTML;break}g("comments.edit.cancel",b);a.message.approved||g("message.error",DISQUS.renderBlock("unapprovedEditedComment"),DISQUS.strings.get("Comment awaiting approval"),b)});b("comments.edit.onFailure",function(a,b){var c=DISQUS.strings.get("Can't post this comment.");a.message&&a.message=="empty"?g("message.error",DISQUS.strings.get("Comment can't be empty."),c,b):g("message.error",DISQUS.strings.get("Something went wrong, try again later."),c,b)});b("comments.spam",function(a){DISQUS.popup.close(null,
!0);DISQUS.api("posts/spam",{data:{post:a},type:"POST",success:function(a){DISQUS.dtpl.actions.fire("comments.spam.onSuccess",a[0].id)}})});b("comments.spam.onSuccess","= 1.0",function(a){DISQUS.nodes.get("#comment-"+a).innerHTML=DISQUS.strings.get("Comment marked as spam.");DISQUS.nodes.get("#comment-"+a).className="dsq-remove-message";DISQUS.nodes.get("#dsq-comment-"+a).style.display="none"});b("comments.spam.onSuccess",">= 1.1",function(){});b("comments.reply.onResize",function(){});b("comments.dislike",
function(a){var b=DISQUS.jsonData,c=b.posts[a].down_voted?0:-1;b.request.is_authenticated||b.forum.allow_anon_votes?(g("comments.dislike.onLoadingStart",a),DISQUS.request.get(b.urls.embed_vote,{post_id:a,vote:c},!0)):g("auth.disqus",DISQUS.strings.get("To vote please login"))});b("comments.dislike.onLoadingStart",function(){});b("comments.dislike.onLoadingEnd",function(){});b("comments.dislike.onSuccess",function(){});b("__.comments.dislike.onSuccess",function(a,b,c){var d=DISQUS.jsonData.posts[a].dislikes,
e=c==-1;DISQUS.updatePost(a,{user_voted:c!==0,down_voted:e,dislikes:e?d+1:d-1,points:b});g("comments.dislike.onLoadingEnd",a);g("comments.dislike.onSuccess",a,b)});b("comments.like.loading","= 1.0",function(a){a=DISQUS.nodes.get("#dsq-like-"+a);DISQUS.nodes.get("button",a)[0].style.display="none";var b=document.createElement("img");b.src=DISQUS.jsonData.settings.media_url+"/images/loading-small.gif";a.appendChild(b)});b("comments.like.onLoadingStart","= 1.0",function(a){g("comments.like.loading",
a)});b("comments.like.onLoadingStart",">= 1.1",function(){});b("comments.like.onLoadingEnd",function(){});b("comments.like",function(a,b){var c=+!DISQUS.jsonData.posts[b].up_voted,d=DISQUS.jsonData,e=DISQUS.dtpl.actions.fire;d.request.is_authenticated||d.forum.allow_anon_votes?(e("comments.like.onLoadingStart",b),DISQUS.api("posts/vote",{data:{post:b,vote:c},type:"POST",success:function(a){a=a.post;e("__.comments.like.onSuccess",a.id,a.points,c);e("comments.like.updateCache",a.id,a.points,c)}})):
e("auth.disqus",DISQUS.strings.get("To like please login"))});b("comments.like.updateCache",function(a,b,c){DISQUS.updatePost(a,{up_voted:!!c})});b("comments.like.onSuccess",">= 1.1",function(){});b("comments.like.onSuccess","= 1.0",function(a,b){var c=DISQUS.nodes.get("#dsq-like-pts-"+a),d;d=DISQUS.jsonData.posts[a].user_voted?" and "+(b-1||1)+" more":b+DISQUS.strings.pluralize(b," person"," people");if(c)c.innerHTML=d;DISQUS.nodes.get("#dsq-like-"+a).innerHTML=DISQUS.strings.get("You liked this.")+
"&nbsp;&nbsp;"});b("__.comments.like.onSuccess",function(a,b,c){g("comments.like.onLoadingEnd",a);g("comments.like.onSuccess",a,b,c)});b("comments.report",function(a,b){function c(){DISQUS.popup.popModal(DISQUS.strings.get("Thank you. This comment has been flagged for moderator attention."),DISQUS.strings.get("Successfully flagged"));DISQUS.nodes.remove(DISQUS.nodes.get("#dsq-post-report-"+a))}b?DISQUS.api("posts/report",{data:{post:a},type:"POST",success:c}):DISQUS.popup.popModal(DISQUS.renderBlock("reportConfirmation",
{id:a}),DISQUS.strings.get("Report this comment to a moderator?"),a)});b("comments.reply",function(a,b){DISQUS.cache.toggledReplies[a]?(DISQUS.dtpl.actions.fire("comments.reply.cancel",a,b),DISQUS.cache.toggledReplies[a]=!1):(DISQUS.dtpl.actions.fire("comments.reply.new",a,b),DISQUS.cache.toggledReplies[a]=!0)});b("comments.reply.new",function(a){DISQUS.comm.Reply.recover(a)||g("comments.reply.render",a);g("comments.reply.show",a)});b("comments.reply.new.onLoadingStart",function(){});b("comments.reply.new.onLoadingEnd",
function(){});b("comments.reply.render",function(a){var b=DISQUS.renderBlock("postbox",{comment:DISQUS.jsonData.posts[a]});DISQUS.dtpl.ReplyBox.create(a,b)});b("comments.reply.show",function(a){var b=DISQUS.dtpl.ReplyBox.get(a);b.show();var c=b.container();DISQUS.nodes.addClass(c,"dsq-append-post");(a=DISQUS.nodes.get("#dsq-comment-footer-reply-"+a))&&DISQUS.nodes.addClass(a,"dsq-comment-footer-reply-active");b.focus()});b("comments.reply.cancel",function(a){var b=DISQUS.dtpl.ReplyBox.get(a);b.hide();
b=b.container();DISQUS.nodes.removeClass(b,"dsq-append-post");(a=DISQUS.nodes.get("#dsq-comment-footer-reply-"+a))&&DISQUS.nodes.removeClass(a,"dsq-comment-footer-reply-active")});b("comments.moderate.options",function(a){var b=DISQUS.jsonData.posts[a];b.author=DISQUS.jsonData.users[b.user_key];DISQUS.jsonData.request.is_moderator&&DISQUS.popup.popModal(DISQUS.renderBlock("moderateOptionsPopup",{comment:b}),DISQUS.strings.get("Moderate Options"),a)});b("comments.delete",function(a){DISQUS.popup.close(null,
!0);DISQUS.api("posts/remove",{data:{post:a},type:"POST",success:function(a){DISQUS.each(a,function(a){g("comments.delete.onSuccess",a.id)})},failure:function(){var b=DISQUS.strings.get("Oops, something went wrong"),c=DISQUS.strings.get("We couldn't delete this post. Please try again later.");DISQUS.popup.popModal(c,b,a)}})});b("comments.delete.onSuccess","= 1.0",function(a){if(DISQUS.nodes.get("#comment-"+a)&&DISQUS.nodes.get("#dsq-comment-"+a))DISQUS.nodes.get("#comment-"+a).innerHTML=DISQUS.strings.get("Comment removed.")+
' <a href="#" onclick="return DISQUS.dtpl.actions.fire(\'comments.restore\', '+a+');">'+DISQUS.strings.get("Undo")+"</a>",DISQUS.nodes.get("#comment-"+a).className="dsq-remove-message",DISQUS.nodes.get("#dsq-comment-"+a).style.display="none"});b("comments.delete.onSuccess",">= 1.1",function(){});b("comments.restore",function(a){DISQUS.api("posts/restore",{data:{post:a},type:"POST",success:function(a){DISQUS.each(a,function(a){g("comments.restore.onSuccess",a.id)})}})});b("comments.restore.onSuccess",
"= 1.0",function(a){if(DISQUS.nodes.get("#comment-"+a)&&DISQUS.nodes.get("#dsq-comment-"+a))DISQUS.nodes.get("#comment-"+a).innerHTML="",DISQUS.nodes.get("#comment-"+a).className="",DISQUS.nodes.get("#dsq-comment-"+a).style.display="block"});b("comments.restore.onSuccess",">= 1.1",function(){});b("cookies.onFailure",function(a){DISQUS.states.noThirdPartyCookies=!0;if(DISQUS.browser.ie)DISQUS.states.useLoginWindow=!0;else if(DISQUS.browser.gecko||DISQUS.browser.opera){var b=DISQUS.jsonData.request.is_authenticated,
c=DISQUS.jsonData.request.is_remote;if(DISQUS.browser.gecko&&(!b||c))DISQUS.states.loginDisabled=!0,g("comments.reply.onCookieFailure",a)}else if(DISQUS.browser.webkit&&DISQUS.jsonData.request.is_sso&&(a=DISQUS.nodes.get("#dsq-sso-iframe"),!a)){a=document.createElement("div");a.id="dsq-sso-iframe";a.style.display="none";DISQUS.nodes.get("body")[0].appendChild(a);var d=DISQUS.comm.SSO.create(function(){var a={forum_url:DISQUS.jsonData.forum.url},b=DISQUS.config.page;b.remote_auth_s2?a.remote_auth_s2=
b.remote_auth_s2:b.remote_auth_s3&&DISQUS.extend(a,{remote_auth_s3:b.remote_auth_s3,api_key:b.api_key});d.authenticate(a)})}});b("user.newUser.onSuccess",function(){function a(){if(DISQUS.getBlock("editProfileSuggestion")){var b=document.createElement("div");b.innerHTML=DISQUS.renderBlock("editProfileSuggestion");var c=DISQUS.nodes.get("#dsq-comments"),e=DISQUS.nodes.get(".dsq-comment",c);c.insertBefore(b,e);(new DISQUS.tooltip.ManualTooltip(DISQUS.nodes.get(".dsq-avatar")[0],{contentId:"dsq-edit-profile-suggestion",
trigger:null})).show()}d("comments.insert",a);return!0}b("comments.insert",a)});b("user.remoteAccountSettings",function(){var a=DISQUS.nodes.createIframe(DISQUS.jsonData.urls.remote_settings,{},{id:"dsq-popup-account-settings"}),b=document.createElement("div");b.appendChild(a);DISQUS.popup.popModal(b.innerHTML,DISQUS.strings.get("Account Settings"))});b("profile.show",function(a,b,c){c===void 0&&(c=a==null?DISQUS.jsonData.request.is_moderator:DISQUS.jsonData.posts[a].author_is_moderator);DISQUS.comm.Default.recover().log("profile:view",
1);return DISQUS.popup.popProfile(a,b,c)});b("profile.dashboard",function(){window.location.href="http://disqus.com/dashboard"});b("profile.edit",function(){(new (DISQUS.states.noThirdPartyCookies?DISQUS.ui.ProfileEditNewWindow:DISQUS.ui.ProfileEditModal)).open({lang:DISQUS.jsonData.forum.language})});b("profile.displayDeferredAvatars",function(){function a(b){var d=DISQUS.nodes.getPosition(b),q=d[1];return d[1]+b.offsetHeight<=g-c?-1:q>=g+i+c?1:0}function b(c){c=e[c];if(a(c)===0)return c.setAttribute("src",
c.getAttribute("data-src")),DISQUS.nodes.removeClass(c,"dsq-deferred-avatar"),c.removeAttribute("data-src"),!0;return!1}for(var c=200,d=DISQUS.nodes.get("img.dsq-deferred-avatar"),e=[],f=0;f<d.length;f++)d[f].offsetParent&&e.push(d[f]);if(e.length){var g,i;DISQUS.browser.ie?function(){var a=document.documentElement;g=a.scrollTop;i=a.clientHeight}():(g=window.pageYOffset,i=window.innerHeight);d=function(){for(var b=e.length,c=0,d,f;c<b;)if(f=parseInt((c+b)/2,10),d=a(e[f]),d===-1)c=f+1;else if(d===
1)b=f;else return f;return-1}();if(d!==-1){for(f=d;f>=0&&b(f);f--);for(f=d+1;f<e.length&&b(f);f++);}}});b("mentions.render",function(a){var b=/@[\w\-]+:\w+/g,c,d={disqus:"mentions.render.disqus",twitter:"mentions.render.twitter"};DISQUS.each(a,function(a){a&&a.message&&(c=a.message.match(b))&&DISQUS.each(c,function(b){var c=b.slice(1).split(":"),q=c[0].toLowerCase(),c=c[1].toLowerCase();d.hasOwnProperty(c)||(c="disqus");g(d[c],a,b,q)})})});b("mentions.render.disqus",function(a,b,c){var d=DISQUS.jsonData.users[c],
c='<span class="dsq-mention dsq-tt dsq-mention-disqus"original-title="Expand '+(d?d.display_name:c)+'\'s profile" data-dsq-username="'+c+'" data-dsq-remote="disqus"><a class="" href="'+DISQUS.settings.get("disqus.urls.main")+"/"+c+'" target="_blank" onclick="DISQUS.dtpl.actions.fire(\'profile.show\', undefined, \''+c+"');return false;\">"+(d?d.display_name:c)+"</a></span>";a.message=a.message.replace(b,c)});b("mentions.render.twitter",function(a,b,c){a.message=a.message.replace(b,'<span class="dsq-mention dsq-tt dsq-mention-twitter"original-title="Expand @'+
c+'\'s profile" data-dsq-username="'+c+'" data-dsq-remote="twitter"><a class="twitter-account" href="http://twitter.com/'+c+'" onclick="window.open(\''+("http://twitter.com/intent/user?screen_name="+c)+"', 'Twitter Mention', 'height=420, width=550');return false;\">@"+c+"</a></span>")});b("messagesx.init",function(){var a=DISQUS.jsonData,b=DISQUS.comm.Default.recover();DISQUS.cache.messagesx={count:a.messagesx.count,unread:a.messagesx.unread};if(a.context.switches.realtime&&a.request.is_authenticated){var c=
!1,d=function(){c||(c=!0,b.realtimePoll(a.thread.id))};document.readyState!="complete"?DISQUS.bean.add(window,"load",d):d();setTimeout(function(){d()},15E3)}});b("messagesx.toggleBar",function(){var a=DISQUS.nodes.get("#dsq-messagesx-toolbar-icon"),b=DISQUS.nodes.get("#dsq-messagesx-toolbar-dropdown"),c=DISQUS.cache.messagesx;DISQUS.nodes.addClass(DISQUS.nodes.get("#dsq-alert"),"dsq-alert-hidden");DISQUS.nodes.hasClass(a,"dsq-dropdown-tab-active")?(DISQUS.nodes.removeClass(b,"dsq-dropdown-visible"),
DISQUS.nodes.removeClass(a,"dsq-dropdown-tab-active")):(c&&c.unread.length>0&&DISQUS.dtpl.actions.fire("messagesx.markRead"),DISQUS.nodes.addClass(a,"dsq-dropdown-tab-active"),DISQUS.nodes.addClass(b,"dsq-dropdown-visible"));return!1});b("messagesx.newEvent",function(a){a.type=="message"&&g("messagesx.newMessage",a.message)});b("messagesx.newMessage",function(a){var b=DISQUS.nodes.get("#dsq-messagesx-count"),c=DISQUS.nodes.get("#dsq-messagesx-toolbar-icon");if(b)DISQUS.cache.messagesx.unread.push(a),
b.innerHTML=++DISQUS.cache.messagesx.count,a.theme=="achievement"&&DISQUS.nodes.removeClass(DISQUS.nodes.get("#dsq-alert"),"dsq-alert-hidden"),DISQUS.cache.messagesx.count>0?DISQUS.nodes.addClass(c,"dsq-unread"):DISQUS.nodes.removeClass(c,"dsq-unread"),g("messagesx.renderMessage",a)});b("messagesx.renderMessage",function(a){DISQUS.nodes.hide(DISQUS.nodes.get("#dsq-inbox-no-messages"));var b=document.createElement("li");b.id="dsq-messagesx-message-"+a.id;DISQUS.nodes.addClass(b,"dsq-messagesx");DISQUS.nodes.addClass(b,
"dsq-messagesx-"+a.theme);b.innerHTML=DISQUS.renderBlock("messagesxPopup",{message:a});DISQUS.nodes.get("#dsq-messagesx-inbox").appendChild(b)});b("messagesx.render",function(a){if(DISQUS.nodes.get("#dsq-messagesx-count")){var b=!1;DISQUS.each(a.unread,function(a){a.theme=="achievement"&&(b=!0);g("messagesx.renderMessage",a)});b&&DISQUS.nodes.removeClass(DISQUS.nodes.get("#dsq-alert"),"dsq-alert-hidden")}});b("messagesx.markRead",function(){var a="",b=DISQUS.nodes.get("#dsq-messagesx-count"),c=DISQUS.nodes.get("#dsq-messagesx-toolbar-icon");
DISQUS.each(DISQUS.cache.messagesx.unread,function(b){a=a+","+b.id});DISQUS.api("messagesx/markRead",{data:{messages:a},type:"POST",success:function(){}});DISQUS.cache.messagesx.count=0;DISQUS.cache.messagesx.unread=[];b.innerHTML=DISQUS.cache.messagesx.count;DISQUS.nodes.removeClass(c,"dsq-unread");return!1});b("thread.initialize",function(){DISQUS.jsonData.forum.template.api=="1.1"?DISQUS.extend(DISQUS.dtpl,{APPEND_REPLY_ID:h("dsq-append-reply"),APPEND_EDIT_ID:h("dsq-append-edit"),APPEND_COMMENT_ID:h("dsq-append-post")}):
DISQUS.extend(DISQUS.dtpl,{APPEND_REPLY_ID:h("dsq-append-post"),APPEND_EDIT_ID:h("dsq-comment-body"),APPEND_COMMENT_ID:h("dsq-append-post")});DISQUS.jsonData.context.forum_facebook_key&&DISQUS.FB.init();g("toolbar.initialize");DISQUS.dtpl.actions.fire("profile.displayDeferredAvatars");DISQUS.events.debounce(window,"scroll",function(){DISQUS.dtpl.actions.fire("profile.displayDeferredAvatars")},250);if(DISQUS.jsonData.context.show_reply){DISQUS.comm.Reply.reset();DISQUS.dtpl.ReplyBox.create();DISQUS.jsonData.realtime_enabled&&
c("realtime.initialize")&&g("realtime.initialize");var a=document.createElement("div");a.innerHTML=DISQUS.renderBlock("pageInfo");var b=DISQUS.nodes.get("#disqus_thread");b.appendChild(a);DISQUS.ui.truncateComments(b);DISQUS.cache.toggledReplies={}}});b("thread.ready",function(){setTimeout(function(){g("profile.displayDeferredAvatars");DISQUS.ui.applyTooltips()},0);DISQUS.defer(function(){var a=DISQUS.comm.Reply.recover();return DISQUS.comm.Default.recover().isReady&&(typeof a=="undefined"||a.isReady)},
function(){DISQUS.trigger("thread.onReady")})});b("thread.incrementCommentsCount",function(){var a=DISQUS.nodes.get("#dsq-num-posts"),b=DISQUS.nodes.get("#dsq-total-posts");if(a){var c=a.innerHTML.split("-");a.innerHTML=c.length==1?parseInt(c[0],10)+1:c[0]+"-"+(parseInt(c[1],10)+1)}if(b)b.innerHTML=parseInt(b.innerHTML,10)+1});b("thread.paginate",function(a,b,c){a={slug:DISQUS.jsonData.thread.slug,sort:DISQUS.jsonData.request.sort,p:a,per_page:c||DISQUS.config.page.per_page};DISQUS.dtpl.actions.fire("thread.paginate.onLoadingStart");
if(b)b.style.display="none";DISQUS.request.get(DISQUS.jsonData.urls.embed_thread,a,!0)});b("thread.paginate.onLoadingStart","= 1.0",function(){DISQUS.jsonData.thread.pagination_type=="num"?(DISQUS.window.anchor("disqus_thread"),DISQUS.nodes.get("#dsq-comments").innerHTML='<img src="'+DISQUS.jsonData.settings.media_url+'/images/loading.gif"/>'):DISQUS.nodes.get("#dsq-pagination").innerHTML='<img src="'+DISQUS.jsonData.settings.media_url+'/images/loading-small.gif"/>'});b("thread.paginate.onLoadingStart",
">= 1.1",function(){});b("thread.paginate.onLoadingEnd",function(){});b("thread.update",function(){function a(b){if(c)c.innerHTML=b}var b=DISQUS.nodes.get("#dsq-comments"),c=DISQUS.nodes.get("#dsq-num-posts"),d=DISQUS.nodes.get("#dsq-pagination"),e,f=DISQUS.jsonData.thread.num_posts;DISQUS.trigger("loader.onDataReady");if(DISQUS.jsonData.thread.pagination_type=="num")DISQUS.dtpl.replaceHtml(b,DISQUS.renderBlock("comments")),DISQUS.ui.applyTooltips(b),DISQUS.jsonData.thread.total_posts>f?(e=DISQUS.jsonData.thread.offset_posts,
a(e+1+"-"+(e+f))):a(f);else if(DISQUS.jsonData.thread.pagination_type=="append")DISQUS.jsonData.request.page==1?(b.innerHTML=DISQUS.renderBlock("comments"),a(f)):(e=document.createElement("div"),e.innerHTML=DISQUS.renderBlock(function(a){var b="";DISQUS.each(a.comments,function(a){b+=DISQUS.renderBlock("comment",{comment:a})});return b}),b.appendChild(e),DISQUS.ui.applyTooltips(e),e=c?parseInt(c.innerHTML,10):0,a(e+f));d.innerHTML=DISQUS.renderBlock("pagination");DISQUS.trigger("thread.onPaginate");
DISQUS.ui.truncateComments(b);DISQUS.dtpl.actions.fire("profile.displayDeferredAvatars");DISQUS.dtpl.actions.fire("thread.paginate.onLoadingEnd")});b("thread.sort.onLoadingStart","= 1.0",function(){DISQUS.nodes.get("#dsq-comments").innerHTML='<img src="'+DISQUS.jsonData.settings.media_url+'/images/loading.gif"/>'});b("thread.sort.onLoadingStart",">= 1.1",function(){});b("thread.sort.onLoadingEnd",function(){});b("thread.sort",function(a){var b;/hot|best|newest|oldest|highlighted/.test(a)&&(b={slug:DISQUS.jsonData.thread.slug,
sort:a,p:1},DISQUS.dtpl.actions.fire("thread.sort.onLoadingStart"),DISQUS.dtpl.actions.fire("realtime.updateState",a),DISQUS.request.get(DISQUS.jsonData.urls.embed_thread,b,!0))});b("thread.subscribe",function(a){var b=DISQUS.jsonData.urls.embed_subscribe,c=DISQUS.jsonData.request;c.is_authenticated&&c.has_email||a?(a&&DISQUS.popup.close(null,!0),DISQUS.request.get(b,{status:1,slug:DISQUS.jsonData.thread.slug,email:a||""},!0)):a||(DISQUS.popup.popModal(DISQUS.renderBlock("subscribeForm"),DISQUS.strings.get("Get notified of new comments by email")),
DISQUS.nodes.get("input",DISQUS.nodes.get("#dsq-popup-message"))[0].focus())});b("__.thread.subscribe.onChange",function(a){a=!!parseInt(a,10);(DISQUS.jsonData.context.subscribed=a)?g("thread.subscribe.onSuccess"):g("thread.unsubscribe.onSuccess")});b("thread.subscribe.onSuccess","= 1.0",function(){var a=DISQUS.strings.get("Subscribed"),b=DISQUS.strings.get("You have subscribed to this comment thread. New comments will be sent directly to your email inbox, where you may read and respond by email.");
DISQUS.nodes.get("#dsq-subscribe").innerHTML='<a href="#" onclick="return DISQUS.dtpl.actions.fire(\'thread.unsubscribe\');">'+DISQUS.strings.get("Unsubscribe")+"</a>";DISQUS.popup.popModal(b,a)});b("thread.subscribe.onSuccess",">= 1.1",function(){});b("thread.unsubscribe",function(){var a=DISQUS.jsonData.urls.embed_subscribe;DISQUS.jsonData.request.is_authenticated&&DISQUS.request.get(a,{status:0,slug:DISQUS.jsonData.thread.slug},!0)});b("thread.unsubscribe.onSuccess","= 1.0",function(){var a=DISQUS.strings.get("Unsubscribed"),
b=DISQUS.strings.get("You have unsubscribed from this comment thread. New comments will no longer be sent to your email inbox.");DISQUS.nodes.get("#dsq-subscribe").innerHTML='<a href="#" onclick="return DISQUS.dtpl.actions.fire(\'thread.subscribe\');">'+DISQUS.strings.get("Subscribe by email")+"</a>";DISQUS.popup.popModal(b,a)});b("thread.unsubscribe.onSuccess",">= 1.1",function(){});b("thread.vote",function(a){function b(c,d){var e=DISQUS.nodes;e.hasClass(c,"dsq-toggled")?(a=0,e.removeClass(c,"dsq-toggled")):
e.addClass(c,"dsq-toggled");e.removeClass(d,"dsq-toggled")}var c=DISQUS.jsonData;if(c.request.is_authenticated||c.forum.allow_anon_votes){var d=DISQUS.nodes.get("#dsq-like-thread-button"),e=DISQUS.nodes.get("#dsq-dislike-thread-button");a>0?b(d,e):b(e,d);DISQUS.api("threads/vote",{data:{thread:c.thread.id,vote:a},type:"POST",success:function(b){DISQUS.dtpl.actions.fire("thread.vote.onSuccess",a,b.thread.likes)}})}else DISQUS.dtpl.actions.fire("auth.disqus",DISQUS.strings.get("To like please login"))});
b("thread.vote.onSuccess",function(a,b){a>0?g("thread.share.new"):g("thread.share.cancel");DISQUS.jsonData.thread.user_vote=a;DISQUS.jsonData.thread.likes=b;if(DISQUS.jsonData.request.is_authenticated){var c=DISQUS.jsonData.request.username;if(a==1){var d={};d[c]={username:c,avatar:DISQUS.jsonData.urls.request_user_avatar,url:DISQUS.jsonData.urls.request_user_profile,name:DISQUS.jsonData.request.display_username};DISQUS.jsonData.thread.voters=DISQUS.lang.extend(d,DISQUS.jsonData.thread.voters)}else delete DISQUS.jsonData.thread.voters[c]}DISQUS.db.available()&&
(c=DISQUS.db.get("thread_votes")||{},c[DISQUS.jsonData.thread.id]={value:a,timestamp:DISQUS.jsonData.request.timestamp},DISQUS.db.set("thread_votes",c));c=DISQUS.nodes.get("#dsq-content");if(c=DISQUS.nodes.get("ul.dsq-like-faces",c)[0])c.innerHTML=DISQUS.renderBlock("likeActivity"),DISQUS.ui.applyTooltips(c)});b("thread.help",function(){DISQUS.jsonData.request.is_moderator&&DISQUS.popup.popModal(DISQUS.renderBlock("moderatorHelpPopup"),DISQUS.strings.get("Help"))});b("thread.settings",function(){DISQUS.jsonData.request.is_moderator&&
DISQUS.popup.popModal(DISQUS.renderBlock("threadSettingsPopup"),DISQUS.strings.get("Moderator Settings"))});b("thread.moderatorActions",function(){DISQUS.jsonData.request.is_moderator&&DISQUS.popup.popModal(DISQUS.renderBlock("moderatorActionsPopup"),DISQUS.strings.get("Moderate Options"))});b("thread.close",function(){var a=DISQUS.jsonData;DISQUS.api("threads/close",{data:{forum:a.forum.url,thread:a.thread.id},type:"POST",success:function(){DISQUS.ui.Modal.closeAll();DISQUS.reload(function(){DISQUS.redraw()})}})});
b("thread.open",function(){var a=DISQUS.jsonData;DISQUS.api("threads/open",{data:{forum:a.forum.url,thread:a.thread.id},type:"POST",success:function(){DISQUS.ui.Modal.closeAll();DISQUS.reload(function(){DISQUS.redraw()})}})});b("thread.updateModerationSettings",function(a){var b=DISQUS.jsonData,b={forum:b.forum.url,thread:b.thread.id};DISQUS.extend(b,a);DISQUS.api("threads/updateModerationSettings",{data:b,type:"POST",success:function(a){DISQUS.dtpl.actions.fire("thread.updateModerationSettings.onSuccess",
a)}})});b("thread.updateModerationSettings.onSuccess",function(){});b("thread.updateDaysAlive",function(){var a=DISQUS.nodes.get("#dsq-thread-settings-status"),b=DISQUS.nodes.get("#dsq-thread-days-alive").value;DISQUS.dtpl.actions.fire("thread.updateModerationSettings",{lifespan:b});a.innerHTML=DISQUS.strings.get("Saved!");setTimeout(function(){a.innerHTML=""},1E3)});b("thread.updateModerateAll",function(){var a=DISQUS.nodes.get("#dsq-thread-settings-status"),b=+!!DISQUS.nodes.get("#dsq-thread-moderate-all").checked;
DISQUS.dtpl.actions.fire("thread.updateModerationSettings",{moderate:b});a.innerHTML=DISQUS.strings.get("Saved!");setTimeout(function(){a.innerHTML=""},1E3)});b("thread.expandMediaEmbed",function(a){var b;DISQUS.lang.forEach(DISQUS.jsonData.mediaembed,function(c){c.id==a&&(b=c)});DISQUS.popup.popModal(DISQUS.renderBlock("mediaEmbedPopup",{media:b}),DISQUS.strings.get("Attached File"),null,!0,"dsq-media-embed")});b("thread.share.send",function(){function a(b){if(typeof b==="object")b=b.url;DISQUS.popup.popModal('<div id="dsq-tweetbox-container" style="width:520px;height:160px"></div>',
"Share on Twitter",null,null,null,{onClose:function(){DISQUS.dtpl.actions.fire("thread.share.nextJob")},onReady:function(){var a=DISQUS.nodes.get("#dsq-tweetbox-container"),c=new DISQUS.TweetFrame(a,{onReady:function(){c.setContent(e+": "+b)},onSuccess:function(){DISQUS.popup.close(null,!0);DISQUS.dtpl.actions.fire("thread.share.nextJob")}});c.init()}})}if(j){var b=DISQUS.nodes.get("#dsq-share-thread-twitter"),c=DISQUS.nodes.get("#dsq-share-thread-facebook"),b={facebook:c&&c.checked,twitter:b&&b.checked};
DISQUS.trigger("thread.onShare",b);if(b.twitter||b.facebook){c=DISQUS.nodes.get("#dsq-share-step-1");DISQUS.nodes.hide(c,!0);c=DISQUS.nodes.get("#dsq-share-step-2");DISQUS.nodes.show(c,!0);j.reposition();s=[];var d={},e=DISQUS.settings.get("thread.title")||document.title;if(DISQUS.jsonData.request.is_authenticated)c=DISQUS.jsonData.request.sharing,d={tw:+(b.twitter&&c.twitter.enabled),fb:+(b.facebook&&c.facebook.enabled&&!DISQUS.jsonData.request.is_remote)};(d.tw||d.fb)&&s.push(function(){DISQUS.request.get(DISQUS.jsonData.urls.embed_thread_share,
DISQUS.lang.extend({},d,{title:e,thread:DISQUS.jsonData.thread.id}),!0)});b.facebook&&!d.fb&&s.push(function(){var a=window.open("http://www.facebook.com/sharer.php?u="+encodeURIComponent(window.location),"_blank","width=600,height=400");DISQUS.addJob(function(){return!a||a.closed},function(){DISQUS.dtpl.actions.fire("thread.share.nextJob")})});b.twitter&&!d.tw&&s.push(function(){DISQUS.api("shortener/create",{data:{url:window.location.href,forum:DISQUS.jsonData.forum.url,thread:DISQUS.jsonData.thread.id},
type:"POST",success:a,failure:function(){a(window.location.href)}})});DISQUS.dtpl.actions.fire("thread.share.nextJob")}}});b("thread.share",function(){g("thread.share.send")});b("thread.share.new",function(){if(j){var a=DISQUS.nodes.get("div.dsq-share-step",j.container);DISQUS.lang.forEach(a,function(a){DISQUS.nodes.hide(a,!0)});DISQUS.nodes.show(a[0],!0);j.show()}});b("thread.share.cancel",function(){j&&j.hide()});b("thread.share.nextJob",function(a){j&&(a?DISQUS.FB.init(function(){DISQUS.FB.streamShare("",
a,function(){DISQUS.dtpl.actions.fire("thread.share.nextJob")})}):s.length?s.shift()():DISQUS.dtpl.actions.fire("thread.share.onSuccess"))});b("thread.share.onSuccess",function(){if(j){var a=DISQUS.nodes.get("#dsq-share-step-2");DISQUS.nodes.hide(a,!0);a=DISQUS.nodes.get("#dsq-share-step-3");DISQUS.nodes.show(a,!0);j.reposition()}});b("thread.share.onFailure",function(){if(j){var a=DISQUS.nodes.get("#dsq-share-step-3");DISQUS.nodes.hide(a,!0);a=DISQUS.nodes.get("#dsq-share-step-2");DISQUS.nodes.show(a,
!0);j.reposition()}});b("realtime.initialize",function(){var a=DISQUS.nodes.get("#dsq-realtime-toggle");if(!DISQUS.states.realtime&&a)DISQUS.states.realtime=!0,DISQUS.cache.realtime.last_checked=DISQUS.jsonData.request.timestamp,a.onclick=function(){DISQUS.cache.realtime.interval?g("realtime.disable"):g("realtime.enable");return!1},DISQUS.jsonData.forum.streaming_realtime||g("realtime.updateCount"),DISQUS.jsonData.thread.realtime_rate===0||DISQUS.jsonData.realtime_paused?g("realtime.disable",DISQUS.jsonData.request.sort!=
"oldest"):g("realtime.enable")});b("realtime.enable",function(){var a=DISQUS.nodes.get("#dsq-realtime-toggle"),b=DISQUS.nodes.get("#dsq-realtime-status"),c=setInterval(function(){var a=DISQUS.cache.realtime,b=DISQUS.jsonData.urls.realtime;b+="?timestamp="+a.last_checked+"&thread_id="+DISQUS.jsonData.thread.id+"&f="+DISQUS.jsonData.forum.url+"&";if(!a.ongoing_request&&DISQUS.jsonData.realtime_enabled)a.prev_script&&a.prev_script.parentNode&&DISQUS.nodes.remove(a.prev_script),a.ongoing_request=!0,a.prev_script=
DISQUS.request.get(b,void 0,!0)},DISQUS.jsonData.context.realtime_speed);DISQUS.cache.realtime.interval=c;b.innerHTML=DISQUS.strings.get("enabled");a.innerHTML="("+DISQUS.strings.get("Pause")+")"});b("realtime.disable",function(){var a=DISQUS.nodes.get("#dsq-realtime-toggle"),b=DISQUS.nodes.get("#dsq-realtime-status"),c=DISQUS.cache.realtime.interval;if(c)clearInterval(c),DISQUS.cache.realtime.interval=null;b.innerHTML=DISQUS.strings.get("paused");a.innerHTML="("+DISQUS.strings.get("Resume")+")"});
b("realtime.updateState",function(a){if(DISQUS.states.realtime){var b=!!DISQUS.cache.realtime.interval;a=="oldest"?DISQUS.dtpl.actions.fire("realtime.disable",!1):DISQUS.jsonData.realtime_was_on&&!b?DISQUS.dtpl.actions.fire("realtime.enable"):DISQUS.dtpl.actions.fire("realtime.toggleResume");DISQUS.jsonData.realtime_was_on=b}});b("realtime.toggleResume",function(){var a=!DISQUS.cache.realtime.interval;DISQUS.nodes.get("#dsq-realtime-toggle").innerHTML=a?"("+DISQUS.strings.get("Resume")+")":"("+DISQUS.strings.get("Pause")+
")"});b("realtime.updateCount",function(){var a=DISQUS.nodes.get("#dsq-content"),a=DISQUS.nodes.get("div.dsq-realtime-alert",a),b=DISQUS.cache.realtime.newPosts.length;if(function(){var a=0,b;for(b in DISQUS.jsonData.posts)if(DISQUS.jsonData.posts.hasOwnProperty(b)&&++a>5)return!1;return!0}())for(;a.length>1;)a.pop();DISQUS.lang.forEach(a,function(a){a.style.display=b?"block":"none";var c=DISQUS.strings.get("new comment was just posted."),d=DISQUS.strings.get("new comments were just posted.");a.innerHTML=
b>1?b+" "+d+" ":b+" "+c+" ";c=document.createElement("A");c.href="#";DISQUS.events.add(c,"click",function(a){a.preventDefault();return g("realtime.show")});c.innerHTML=DISQUS.strings.get("Show");a.appendChild(c)})});b("realtime.insertNewPosts",function(){var a=null,b=DISQUS.nodes.get("#dsq-sort-select");if(!b&&DISQUS.jsonData.request.sort=="hot"||b&&b.value=="oldest")a=-1;DISQUS.lang.forEach(DISQUS.cache.realtime.newPosts,function(b){g("comments.insert",a,b);g("thread.incrementCommentsCount");g("comments.outline",
b)});DISQUS.jsonData.forum.streaming_realtime||(a?(b=DISQUS.nodes.get(".dsq-comment",DISQUS.nodes.get("#disqus_thread")),DISQUS.nodes.scrollTo(b[b.length-1])):DISQUS.nodes.scrollTo("#disqus_thread"));DISQUS.cache.realtime.newPosts=[]});b("realtime.show",function(){g("realtime.insertNewPosts");g("realtime.updateCount")});b("realtime.update",function(a,b,c){var d=DISQUS.cache.realtime;d.ongoing_request=null;d.last_checked=a;c&&DISQUS.lang.forEach(c,function(a,b){DISQUS.jsonData.users[b]||(DISQUS.jsonData.users[b]=
a)});b&&(DISQUS.lang.forEach(b,function(a,b){DISQUS.jsonData.posts[b]||(DISQUS.updatePost(b,a),d.newPosts.push(b))}),DISQUS.jsonData.forum.streaming_realtime?g("realtime.insertNewPosts"):g("realtime.updateCount"))});b("community.show",function(){(new DISQUS.ui.ForumCommunityModal).open({url:DISQUS.jsonData.urls.community,lang:DISQUS.jsonData.forum.language})});b("reactions.hide",function(a){DISQUS.api("reactions/remove",{data:{reaction:a,forum:DISQUS.jsonData.forum.url},type:"POST",success:function(a){DISQUS.dtpl.actions.fire("reactions.hide.onSuccess",
a[0].id)}})});b("reactions.hide.onSuccess",function(a){DISQUS.nodes.hide(DISQUS.nodes.get("#dsq-reaction-"+a))});b("reactions.hide.onSuccess",function(a){DISQUS.nodes.get("#dsq-reaction-"+a).style.display="none"});b("reactions.loadMore",function(){DISQUS.request.get(DISQUS.jsonData.urls.embed_more_reactions,{t:DISQUS.jsonData.thread.id,s:DISQUS.jsonData.reactions_start,l:DISQUS.jsonData.reactions_limit},!0)});b("reactions.insert",function(a){var b=DISQUS.nodes.get("#dsq-reactions"),c=DISQUS.nodes.get("#dsq-show-more-reactions");
DISQUS.lang.forEach(a,function(a){var a={reaction:a},c=document.createElement("div"),d=a.reaction.get_service_name;a.reaction.service_icon=d=="trackback"||d=="pingback"?"rss":d.replace(" ","");c.innerHTML=DISQUS.renderBlock("reaction",a);b.appendChild(DISQUS.nodes.children(c)[0])});DISQUS.ui.applyTooltips(b);if(!DISQUS.jsonData.has_more_reactions)c.style.display="none"});b("reactions.reportMissing",function(){var a=DISQUS.jsonData.urls.embed_queueurl;DISQUS.jsonData.request.is_moderator&&DISQUS.jsonData.forum.reactions_enabled&&
(DISQUS.jsonData.thread.queued?DISQUS.popup.popModal(DISQUS.strings.get("The system will automatically search for new reactions. If any are found, they will displayed on this comment thread."),DISQUS.strings.get("Thank you")):DISQUS.request.get(a,{},!0))});b("reactions.showRetweets",function(a){var b;DISQUS.lang.forEach(DISQUS.jsonData.reactions,function(c){c.id==a&&(b=c)});DISQUS.popup.popModal(DISQUS.renderBlock("retweetsPopup",{reaction:b}),DISQUS.strings.get("Retweets"))});b("toolbar.initialize",
function(){if(DISQUS.nodes.get("#dsq-global-toolbar")){var a=DISQUS.nodes.get("#dsq-like-thread-button");j=new DISQUS.tooltip.ManualTooltip(a,{trigger:null,contentId:"dsq-like-tooltip"});var b=[DISQUS.nodes.get("#dsq-share-thread-twitter"),DISQUS.nodes.get("#dsq-share-thread-facebook")],c=function(){var a=!1;DISQUS.lang.forEach(b,function(b){b&&(a=a||b.checked)});var c=DISQUS.nodes.get(".dsq-primary-action",j.content)[0];a?(c.removeAttribute("disabled"),DISQUS.nodes.removeClass(c,"dsq-tooltip-disabled-button")):
(c.setAttribute("disabled","disabled"),DISQUS.nodes.addClass(c,"dsq-tooltip-disabled-button"))};DISQUS.lang.forEach(b,function(a){a&&DISQUS.events.add(a,"click",c)});var a=DISQUS.nodes.get("#dsq-toolbar-dropdown"),a=DISQUS.nodes.get("a",a)[0],d=DISQUS.nodes.get("#dsq-toolbar-dropdown-wrap");DISQUS.events.add(a,"click",function(a){a.preventDefault();d.style.display=d.style.display=="none"?"block":"none"})}});b("help.login",function(){DISQUS.popup.popModal(DISQUS.renderBlock("helpLogin"),DISQUS.strings.get("Help: Enabling cookies"))});
b("comments.reply.mentions.selectUser",function(a,b){var c=DISQUS.jsonData.users[b],d=DISQUS.comm.Reply.recover(a);c.identifier=b;d.selectUser(c);DISQUS.dtpl.actions.fire("comments.reply.mentions.clear",a)});b("comments.reply.mentions.selectActive",function(a){var b=DISQUS.dtpl.ReplyBox.get(a).textareaContainer();if(b=DISQUS.nodes.get(".dsq-mentions",b.parentNode)[0])b=i(b).getAttribute("data-dsq-username"),DISQUS.dtpl.actions.fire("comments.reply.mentions.selectUser",a,b)});b("comments.reply.mentions.suggest",
function(a,b){function c(a){a=DISQUS.nodes.get("li",a);DISQUS.each(a,function(a){DISQUS.events.add(a,"click",function(a){if((a=a.target||a.srcElement)&&!DISQUS.nodes.hasClass(a,"dsq-mentions"))if(a=k(a,"data-dsq-username")?a:DISQUS.nodes.closest(a,"li"))(a=a.getAttribute("data-dsq-username"))&&DISQUS.dtpl.actions.fire("comments.reply.mentions.selectUser",b,a)});DISQUS.events.add(a,"mouseover",function(a){var a=a.target||a.srcElement,b;if(a&&!DISQUS.nodes.hasClass(a,"dsq-mentions")&&(a=k(a,"data-dsq-username")?
a:DISQUS.nodes.closest(a,"li"))&&k(a,"data-dsq-username"))b=DISQUS.nodes.get("li",a.parentNode),DISQUS.each(b,function(a){DISQUS.nodes.removeClass(a,"dsq-mentions-highlighted")}),DISQUS.nodes.addClass(a,"dsq-mentions-highlighted")})})}function d(a){var b=a.remote_domain_name.toLowerCase()||"disqus";return'<li data-dsq-username="'+a.identifier+'" class="dsq-mentions-'+b+'">  <img class="dsq-mentions-avatar" src="'+a.avatar+'" />  <p class="dsq-mentions-name"><span>'+a.display_name+"</span></p></li>"}
function e(a,b){var d=DISQUS.dtpl.ReplyBox.get(b).textareaContainer(),f=DISQUS.nodes.get(".dsq-mentions",d.parentNode)[0];if(!f)f=document.createElement("ul"),f.className="dsq-mentions",DISQUS.nodes.insertAfter(d,f);a?(f.innerHTML=a,c(f),DISQUS.nodes.show(f),(d=n(f,null,"down"))&&DISQUS.nodes.addClass(d,"dsq-mentions-highlighted")):DISQUS.nodes.hide(f)}if(!a||!a.sections)DISQUS.dtpl.actions.fire("comments.reply.mentions.clear",b);else{var f=!1,g="",i,j,o,h;for(o=0;o<a.sections.length;++o)if(i=a.sections[o],
(j=a[i])&&j.length){g+='<li class="dsq-mention-section"><h5>'+i+"</h5></li>";for(h=0;h<j.length;++h)f||(f=!0),g+=d(a[i][h]),DISQUS.jsonData.users[j[h].identifier]||(DISQUS.jsonData.users[j[h].identifier]=j[h])}f?e(g,b):DISQUS.dtpl.actions.fire("comments.reply.mentions.clear",b)}});b("comments.reply.mentions.move",function(a,b){var c=DISQUS.dtpl.ReplyBox.get(b).textareaContainer(),d=DISQUS.nodes.get(".dsq-mentions",c.parentNode)[0],c=i(d);if(d=n(d,c,a))DISQUS.nodes.removeClass(c,"dsq-mentions-highlighted"),
DISQUS.nodes.addClass(d,"dsq-mentions-highlighted")});b("comments.reply.mentions.clear",function(a){a=DISQUS.dtpl.ReplyBox.get(a).textareaContainer();(a=DISQUS.nodes.get(".dsq-mentions",a.parentNode)[0])&&DISQUS.nodes.hide(a)});return{def:b,callAction:e,register:function(a,b){o[a]=o[a]||[];b.guid=DISQUS.getGuid();o[a].push(b);return b},remove:d,getDefault:a,hasDefault:f,registered:c,fire:g}});DISQUS.define("dtpl.validators",function(){return{email:function(b){if(!/^[a-z0-9\-\_\+]+(\.[a-z0-9\-\_\+]+)*\@(([a-z0-9\-\_\+]+(\.[a-z0-9\-\_\+]+)*)+\.[a-z]{2,}|([0-9]+\.){3}[0-9]+)$/i.test(b.value))return DISQUS.dtpl.actions.fire("message.error.onField",DISQUS.strings.get("Please enter a valid email to comment."),b.id),!1;return!0},name:function(b){var e=DISQUS.strings.get("Name");if(b.value==e||b.value.length<=1)return DISQUS.dtpl.actions.fire("message.error.onField",DISQUS.strings.get("Please enter a name to comment."),
b.id),!1;return!0},website:function(b){var e=DISQUS.strings.get("Website")+" ("+DISQUS.strings.get("Optional")+")";if(!b||!b.value)return!0;else if(b.value==e)return b.value="",!0;if(b.value.indexOf(".")==-1)return DISQUS.dtpl.actions.fire("message.error.onField",DISQUS.strings.get("Please check your website URL (this field is optional)."),b.id),!1;return!0},guestFields:function(b){b=b&&typeof b==="object"?b:DISQUS.dtpl.getGuestFields(b);if(DISQUS.jsonData.request.is_authenticated)return!0;if(!DISQUS.dtpl.validators.email(b.email))return!1;
if(!DISQUS.dtpl.validators.name(b.name))return!1;if(!DISQUS.dtpl.validators.website(b.website))return!1;return!0}}});DISQUS.define("cookies",function(){return{create:function(b,e){document.cookie=b+"="+e+"; path=/"},read:function(b){b+="=";for(var e,d=document.cookie.split(";"),a=0;a<d.length;a++){for(e=d[a];e.charAt(0)==" ";)e=e.substring(1,e.length);if(e.indexOf(b)===0)return e.substring(b.length,e.length)}return null},erase:function(b){var e=new Date;e.setTime(e.getTime()+-864E5);document.cookie=b+"=;expires="+e.toGMTString()+"; path=/"}}});
DISQUS.define("events",function(){function b(){if(e.ready)return!0;if(document&&document.getElementsByTagName&&document.getElementById&&document.body){if(e.timer)clearInterval(e.timer),e.timer=null;for(var b=0;b<e.queue.length;b++)e.queue[b]();e.queue=[];return e.ready=!0}return!1}var e={ready:!1,timer:null,queue:[]};return{execOnReady:function(d){b()?d():e.timer?e.queue.push(d):(DISQUS.events.add(window,"load",b),e.queue.push(d),e.timer=setInterval(b,13))}}});
DISQUS.define("request",function(){return{get:function(b,e,d,a){var f=document.createElement("script");f.src=DISQUS.getResourceURL(b,e,d);f.charset="UTF-8";(a||DISQUS.nodes.body()).appendChild(f);return f},post:function(b,e,d){var a,f,c,g;a=document.createElement("div");c="dsq-temp-iframe"+(new Date).getTime();f=document.createElement("form");f.method="POST";f.action=b;if(!d)f.target=c;try{g=document.createElement('<iframe name="'+c+'">')}catch(h){g=document.createElement("iframe"),g.name=c}g.style.display=
"none";g.id=c;a.appendChild(g);DISQUS.lang.forEach(e,function(a,b){var c=document.createElement("input");c.name=b;c.type="hidden";c.value=a;f.appendChild(c)});DISQUS.nodes.body().appendChild(a);DISQUS.nodes.body().appendChild(f);f.submit()}}});
DISQUS.define("popup",function(){return{popModal:function(b,e,d,a,f,c){DISQUS.ui.Modal.closeAll();d=new DISQUS.ui.Modal;b={title:e,body:b,extra:f};DISQUS.lang.extend(b,c||{});d.open(b)},popProfile:function(b,e,d){var a=DISQUS.jsonData.posts[b];if(a){if(a.has_been_anonymized){DISQUS.popup.popModal(DISQUS.strings.get("This message was anonymized by its previous owner"),DISQUS.strings.get("Anonymized"),b);return}else if(a.killed){DISQUS.popup.popModal(DISQUS.strings.get("This comment was removed by a moderator"),
DISQUS.strings.get("Comment Removed"),b);return}e=DISQUS.jsonData.posts[b].user_key}b={username:e,anonymous:!!e.match(/^[0-9a-f]{32}/i),isModerator:d,forum:DISQUS.getShortname(),lang:DISQUS.jsonData.forum.language};(new DISQUS.ui.ProfileModal).open(b);return!1},close:function(){DISQUS.ui.Modal.closeAll()},adjustPosition:function(){var b=DISQUS.ui.Modal.last();b&&b.reposition()}}});
DISQUS.define("window",function(){return{anchor:function(b){window.location.hash=b},isClosed:function(b){if(!b)return!0;try{return b.closed||b.closed===void 0}catch(e){return!0}}}});DISQUS.define("hacks.ie",function(){return{fixIframes:function(b){var e=DISQUS.nodes.get("#"+DISQUS.config.container_id).getElementsByTagName("iframe");if(b=b?DISQUS.nodes.get("#"+b):DISQUS.nodes.container)for(var d=0;d<e.length;d++)e[d].style.width=b.offsetWidth}}});
DISQUS.define("db",function(){function b(){var b=localStorage.getItem("disqus_embed");return b?DISQUS.json.parse(b):{}}function e(){try{return!!window.localStorage}catch(b){return!1}}return{available:e,set:function(d,a){if(!e())return!1;var f=b();f[d]=a;try{localStorage.setItem("disqus_embed",DISQUS.json.stringify(f))}catch(c){}return!0},get:function(d){if(!e())return null;return b()[d]}}});DISQUS.define("nodes",function(){function b(a){return RegExp("(^|\\s)"+a+"(\\s|$)")}function e(a,b){var c=DISQUS.qwery(a,b);return a.slice(0,1)=="#"&&a.indexOf(" ")===-1?c[0]:c}function d(a){for(var b=[];a;a=a.nextSibling)a.nodeType===1&&b.push(a);return b}function a(a,c){return a.nodeType!==1?!1:c.slice(0,1)=="#"?a.id==c.slice(1):c.indexOf(".")!=-1?b(c.slice(1)).test(a.className):a.tagName.toLowerCase().indexOf(c)!=-1}function f(a,b,c){var d;if(a===document)return"";window.getComputedStyle?d=document.defaultView.getComputedStyle(a,
null).getPropertyValue(b):a.currentStyle&&(d=a.currentStyle[b]?a.currentStyle[b]:a.currentStyle[c]);return d=="transparent"||d===""||d=="rgba(0, 0, 0, 0)"?f(a.parentNode,b,c):d||""}function c(){var a;a=e("body")[0];if(j)return j;j={backgroundColor:null,fontColor:null,fontFamily:null,anchorColor:null,direction:null};a=e("#"+DISQUS.config.container_id)||a;j.fontColor=f(a,"color");j.backgroundColor=f(a,"background-color","backgroundColor");j.fontFamily=f(a,"font-family","fontFamily").replace(/['"]/g,
"");j.direction=f(a,"direction");if(a=e("a")[0])j.anchorColor=f(a,"color");return j}function g(){var a=c(),a={to_redirect:window.location,ff:a.fontFamily,fc:a.fontColor,ac:a.anchorColor};DISQUS.jsonData&&DISQUS.lang.extend(a,{f:DISQUS.jsonData.forum.url,t:DISQUS.jsonData.thread.slug,cbp:DISQUS.config.callback_params,default_text:DISQUS.config.def_text});return a}function h(a,c){return b(c).test(a.className)}function i(a,b){var c=(b||"").split(t);if(a.className){for(var d=" "+a.className+" ",e=a.className,
f=0,g=c.length;f<g;f++)d.indexOf(" "+c[f]+" ")<0&&(e+=" "+c[f]);a.className=DISQUS.lang.trim(e)}else a.className=b}function k(a,b){var c=(b||"").split(t);if(b){for(var d=(" "+a.className+" ").replace(r," "),e=0,f=c.length;e<f;e++)d=d.replace(" "+c[e]+" "," ");a.className=DISQUS.lang.trim(d)}else a.className=""}function n(a){var b,c;if(a){b=a.childNodes;for(var d=b.length-1;d>=0;)c=b[d],c.hasChildNodes()&&n(c),typeof c.outerHTML!="undefined"?c.outerHTML="":a.removeChild(c),d-=1}}var p=DISQUS.qwery("#dsq-content")[0],
o=DISQUS.qwery("head")[0]||DISQUS.qwery("#disqus_thread")[0],j,s=null,r=/[\n\t]/g,t=/\s+/;return{container:p,head:o,query:DISQUS.qwery,get:e,siblings:d,children:function(a){return d(a.firstChild)},is:a,body:function(){if(s)return s;var a=DISQUS.qwery("body");a&&a.length&&(s=a[0]);return s},closest:function(b,c){for(var d=b.parentNode;d;){if(a(d,c))return d;d=d.parentNode}return null},createIframe:function(a,b,c){var d,e,f;f=g();b&&DISQUS.lang.forEach(b,function(a,b){f[b]=a});e={marginwidth:0,marginheight:0,
hspace:0,vspace:0,frameborder:0,allowtransparency:"true",src:DISQUS.getResourceURL(a,f,!0)};c&&DISQUS.lang.forEach(c,function(a,b){e[b]=a});d=document.createElement("iframe");DISQUS.lang.forEach(e,function(a,b){d.setAttribute(b,a)});return d},getPosition:function(a){var b=0,c=0;if(a.offsetParent){do b+=a.offsetLeft,c+=a.offsetTop,a=a.offsetParent;while(a)}return[b,c]},getStyle:f,getBasicStyles:c,hasClass:h,addClass:i,removeClass:k,toggleClass:function(a,b){h(a,b)?k(a,b):i(a,b)},remove:function(a){if(a)n(a),
typeof a.outerHTML!="undefined"?a.outerHTML="":a.parentNode&&a.parentNode.removeChild(a)},removeChildren:n,insertBefore:function(a,b){a.parentNode.insertBefore(b,a)},insertAfter:function(a,b){a.parentNode.insertBefore(b,a.nextSibling)},firstChild:function(a){var a=a.childNodes,b;for(b=0;b<a.length;b++)if(a[b].nodeType===1)return a[b];return null},toHTML:function(a){var b;b=document.createElement("div");b.appendChild(a);return b.innerHTML},hide:function(a,b){b?a.style.cssText="display:none !important":
a.style.display="none"},show:function(a,b){b?a.style.cssText="display:block !important":a.style.display="block"},scrollTo:function(a){typeof a==="string"&&(a=e(a));a&&(a=DISQUS.nodes.getPosition(a),window.scrollTo(0,a[1]))},truncateComment:function(a,b,c){for(var d=a.childNodes[0],e=0;d!==null;){if(d.nodeType==3&&(e+=d.nodeValue.replace(/^\s+|\s+$/g,"").split(" ").length,e>b))break;if(d.childNodes.length>0)d=d.childNodes[0];else if(d.nextSibling!==null)d=d.nextSibling;else if(d.parentNode===a)break;
else{for(d=d.parentNode;d.parentNode.nextSibling===null&&d!==a;)d=d.parentNode;d=d==a?null:d.nextSibling}}if(e<=b)return!1;var f=d.nodeValue.replace(/^\s+|\s+$/g,"").split(" "),f=f.slice(0,f.length-(e-b));if(d.nodeType===3)d.nodeValue=f.join(" ")+c;for(;d!==a;){for(;d.nextSibling!==null;)d.nextSibling.parentNode.removeChild(d.nextSibling);d=d.parentNode}return!0},slide:function(a,b,c,d){var d=250,e=(new Date).getTime(),f=Math.max(b,c),g=c<b,i=g?Math.max:Math.min;a.style.height=b+"px";a.style.overflow=
"hidden";a.style.display="block";var j=setInterval(function(){var b=(new Date).getTime()-e,o=b/d;g&&(o=1-o);o=parseInt(f*o,10);o=i(o,c);a.style.height=o+"px";if(b>=d){if(o<=0)a.style.display="none",a.style.height="";clearInterval(j)}},13)},getIframeDefaults:g}});DISQUS.define("sandbox",function(){function b(){var a={DISQUS:null,browser:DISQUS.browser,config:DISQUS.config,urls:{},lang:{forEach:DISQUS.lang.forEach,interpolate:DISQUS.strings.interpolate,contains:function(a,b){for(var c=0,d=a.length;c<d;c++)if(a[c]==b)return!0;return!1},pluralize:DISQUS.strings.pluralize,capitalize:DISQUS.strings.capitalize,extend:DISQUS.lang.extend},states:DISQUS.states,trans:DISQUS.strings.get,settings:{}},b={debug:"disqus.debug",minify_js:"disqus.minified",read_only:"disqus.readonly",
disqus_url:"disqus.urls.main",media_url:"disqus.urls.media",ssl_media_url:"disqus.urls.sslMedia",realtime_url:"disqus.urls.realtime",uploads_url:"disqus.urls.uploads",recaptcha_public_key:"disqus.recaptcha.key",facebook_app_id:"disqus.facebook.appId",facebook_api_key:"disqus.facebook.apiKey"};if(DISQUS.jsonData&&DISQUS.jsonData.context.switches.realtime_setting_change)b.realtimeHost="realtime.host",b.realtimePort="realtime.port";for(var d in b)b.hasOwnProperty(d)&&(a.settings[d]=DISQUS.settings.get(b[d]));
if(!DISQUS.jsonData)return a;var e=DISQUS.jsonData,b=e.settings.media_url;DISQUS.lang.extend(a,{context:e.context,messagesx:e.messagesx,comments:[],highlighted:[],unapproved:[],comment:null,forum:e.forum,integration:e.integration,loginOptions:[{name:"disqus",button_url:b+"/images/themes/narcissus/login-disqus.gif",enabled:!e.forum.disqus_auth_disabled,action:"auth.disqus"},{name:"facebook",button_url:b+"/images/themes/narcissus/login-facebook.gif",enabled:e.context.use_fb_connect,action:"auth.facebook"},
{name:"twitter",button_url:b+"/images/themes/narcissus/login-twitter.gif",enabled:e.context.use_twitter_signin,action:"auth.twitter"},{name:"google",button_url:b+"/images/themes/narcissus/login-twitter.gif",enabled:e.context.use_google_signin,action:"auth.google"},{name:"openid",button_url:b+"/images/themes/narcissus/login-openid.gif",enabled:e.context.use_openid,action:"auth.openid"},{name:"yahoo",button_url:b+"/images/themes/narcissus/login-yahoo.png",enabled:e.context.use_yahoo,action:"auth.yahoo"}],
ranks:e.ranks,request:e.request,reactions:e.reactions,session:e.session,sorting:[{value:"hot",label:DISQUS.strings.get("Popular now"),selected:e.request.sort=="hot"},{value:"best",label:DISQUS.strings.get("Best rating"),selected:e.request.sort=="best"},{value:"newest",label:DISQUS.strings.get("Newest first"),selected:e.request.sort=="newest"},{value:"oldest",label:DISQUS.strings.get("Oldest first"),selected:e.request.sort=="oldest"}],thread:e.thread,urls:e.urls});DISQUS.config.sso&&a.loginOptions.push({name:DISQUS.config.sso.name,
button_url:DISQUS.config.sso.button,action:"auth.sso",enabled:!0,userDefined:!0});DISQUS.lang.extend(a.settings,e.settings);if(DISQUS.db.available()&&(d=DISQUS.db.get("thread_votes"))&&d[e.thread.id])b=d[e.thread.id],b.timestamp>=e.request.timestamp?(d=b.value-a.thread.user_vote,a.thread.likes+=d<0?0:d,a.thread.user_vote=b.value):(delete d[e.thread.id],DISQUS.db.set("thread_votes",d));a.context.realtime_enabled=e.realtime_enabled;a.context.has_more_reactions=e.has_more_reactions;DISQUS.config.trackback_url&&
DISQUS.config.trackbacks?(a.context.trackback_url=DISQUS.config.trackback_url,a.context.trackbacks=DISQUS.config.trackbacks):(a.context.trackback_url=e.settings.disqus_url+"/forums/"+e.forum.url+"/"+e.thread.slug+"/trackback/",a.context.trackbacks=e.trackbacks);a.context.sharing=[];DISQUS.lang.forEach(a.request.sharing,function(b,d){if(!(a.request.is_remote&&a.request.remote_domain!=d))b.key=d,b.checked=b.auto===!0||a.request.remote_domain==d,a.context.sharing.push(b)});a.request.display_sharing_options=
e.request.is_authenticated;if(e.request.is_remote&&!e.request.sharing.hasOwnProperty(e.request.remote_domain))a.request.display_sharing_options=!1;if(a.reactions&&a.reactions.length>0){for(f=0;f<a.reactions.length;f++)b=a.reactions[f].get_service_name,a.reactions[f].service_icon=b=="trackback"||b=="pingback"?"rss":b.replace(" ","");if(a.reactions.retweets&&a.reactions.retweets.length===0)a.reactions.retweets=null}else a.reactions=null;DISQUS.lang.forEach(e.mediaembed,function(a){a.thumbnailURL=e.settings.media_url+
"/images/mediaembed-thumbnail.png";switch(a.type){case 1:case 5:if(a.metadata.thumbnail)a.thumbnailURL=e.settings.media_url.replace(/\/$/,"")+"/uploads/"+a.metadata.thumbnail.replace(/^\//,"");break;case 2:case 4:if(a.metadata.thumbnail)a.thumbnailURL=a.metadata.thumbnail}if(!e.posts[a.post].media)e.posts[a.post].media=[];e.posts[a.post].media.push(a)});var k={avatar:DISQUS.jsonData.forum.default_avatar_url,display_name:"Guest"};DISQUS.each(e.ordered_highlighted,function(b){var d=e.highlighted[b];
d.author=e.users[d.user_key]||k;d.id=b;d.stripped=function(a){var b=d.message.replace(/<.*?>/g,"");if(b.length>a)return b.substring(0,a);return null};a.highlighted.push(d)});if(e&&e.context.switches.show_unapproved){var n=e.request;DISQUS.each(n.ordered_unapproved_posts,function(b){var d=n.unapproved_posts[b];d.author=e.users[d.user_key]||k;d.id=b;a.unapproved.push(d)})}var p=0;DISQUS.lang.forEach(e.ordered_posts,function(b){var d=e.posts[b];d.isFirst=!1;d.isLast=!1;d.id=b;d.author=e.users[d.user_key]||
k;d.even=p%2===0;if(d.parent_post_id&&e.posts[d.parent_post_id])d.parent=e.posts[d.parent_post_id],d.parent.author=e.users[d.parent.user_key]||k;d.stripped=function(a){var b=d.message.replace(/<.*?>/g,"");if(b.length>a)return b.substring(0,a);return null};if(p===0)d.isFirst=!0;else if(b=a.comments[p-1],b.depth<d.depth)d.isFirst=!0;else if(b.depth>d.depth)b.isLast=!0;a.comments.push(d);p++});if(p>0)a.comments[p-1].isLast=!0;a.thread.page_numbers=[];for(f=a.request.page-2;f<a.request.page+2;f++)f>0&&
f<=a.thread.num_pages&&a.thread.page_numbers.push(f);a.thread.page_numbers[0]==2&&a.thread.page_numbers.unshift(1);a.thread.page_numbers[a.thread.page_numbers.length-1]==a.thread.num_pages-1&&a.thread.page_numbers.push(a.thread.num_pages);return a}function e(){var b={};DISQUS.lang.forEach(a,function(a){typeof a!="undefined"&&DISQUS.lang.extend(b,a)});return b}var d,a={},f;return{wrap:function(c,f,h){typeof d=="undefined"&&(d=b());h&&(a[c]=h);h=e();f=f(d,h);a[c]&&(a[c]=void 0);return f},invalidateGlobals:function(){d=
void 0}}});DISQUS.define("tooltip",function(){var b=function(d,a){a=DISQUS.lang.extend({},b.defaults,a===void 0?{}:a);this.element=d;this.options=a;this.returnTo=this.content=null;this.enabled=!0;this.init()};b.prototype={init:function(){var b=this,a=this.element,e=this.options;if(e.trigger==="click"){var c,g,h,i;h=function(){b.enter();DISQUS.events.remove(a,"click",c);setTimeout(function(){g=DISQUS.events.add(document,"click",i)},0)};c=DISQUS.events.add(a,"click",h);i=function(e){e=e||window.event;DISQUS.nodes.closest(e.target||
e.srcElement,".dsq-tooltip-outer")||(b.hide(),DISQUS.events.remove(document,"click",g),c=DISQUS.events.add(a,"click",h))}}else e.trigger&&(DISQUS.events.add(a,"mouseout",function(){b.leave()}),DISQUS.events.add(a,"mouseover",function(){b.enter()}))},show:function(){var b=this.getTitle();if(this.enabled&&(b||this.options.contentId)){var a=this.outer(),e=DISQUS.nodes.get(".dsq-tooltip-inner",a)[0],c;this.options.contentId?(c="big",this.content=DISQUS.nodes.get("#"+this.options.contentId),this.returnTo=
this.content.parentNode,e.appendChild(this.content),this.content.setAttribute("style","display:block !important")):(c="small",DISQUS.nodes.addClass(a,"dsq-tooltip-small"),this.options.html?e.innerHTML=b:typeof e.innerText!=="string"?e.textContent=b:e.textText=b);a.className="";DISQUS.nodes.addClass(a,"dsq-tooltip-outer");DISQUS.nodes.addClass(a,"dsq-tooltip-"+c);a.style.visibility="hidden";a.style.top="0";a.style.left="0";a.style.display="block";document.getElementsByTagName("body")[0].appendChild(a);
this.reposition()}},reposition:function(){var b=this.outer(),a=DISQUS.nodes.getPosition(this.element),a={left:a[0],top:a[1],width:this.element.offsetWidth,height:this.element.offsetHeight};b.style.top=a.top-b.offsetHeight+"px";b.style.left=a.left+"px";b.style.backgroundPosition=a.width/2+"px bottom";if(!this.options.fade)b.style.visibility="visible",b.style.opacity=this.options.opacity},hide:function(){if(!this.options.fade)this.content&&(this.content.setAttribute("style","display:none !important"),
this.returnTo.appendChild(this.content)),this.outer().style.visibility="hidden"},getTitle:function(){var b,a=this.element,e=this.options;a.title&&(a.setAttribute("original-title",a.title),a.removeAttribute("title"));typeof e.title=="string"?b=a.getAttribute(e.title=="title"?"original-title":e.title):typeof e.title=="function"&&(b=e.title.call(a));return(b=b&&b.replace(/(^\s*|\s*$)/,""))||e.fallback},outer:function(){if(!this._outer){var b=this._outer=document.createElement("div");b.className="dsq-tooltip-outer";
b.style.position="absolute";b.style.zIndex="9999";b.innerHTML='<div class="dsq-tooltip dsq-cleanslate">  <div class="dsq-tooltip-notch"></div>  <div class="dsq-tooltip-inner"></div></div>'}return this._outer},validate:function(){this.$element[0].parentNode||this.hide()},enable:function(){this.enabled=!0},disable:function(){this.enabled=!1},toggleEnabled:function(){this.enabled=!this.enabled},leave:function(){if(this.hoverState!=="out")this.hoverState="out",this.options.delayOut===0?this.hide():setTimeout(function(){this.hoverState==
"out"&&this.hide()},this.options.delayOut)},enter:function(){if(this.hoverState!=="in")this.hoverState="in",this.options.delayIn===0?this.show():setTimeout(function(){this.hoverState=="in"&&this.show()},this.options.delayIn)}};b.defaults={delayIn:0,delayOut:0,fade:!1,fallback:"",gravity:"n",html:!1,live:!1,opacity:0.95,title:"title",trigger:"hover",contentId:null,noclip:!1};var e=function(d,a){b.call(this,d,a)};e.prototype=DISQUS.lang.extend({},b.prototype);e.prototype.show=function(){var d=this,
a;b.prototype.show.call(this);a=DISQUS.events.add(document,"click",function(b){b=b||window.event;DISQUS.nodes.closest(b.target||b.srcElement,".dsq-tooltip-outer")||(d.hide(),DISQUS.events.remove(document,"click",a))})};return{Tooltip:b,ManualTooltip:e}});DISQUS.define("comm",function(){var b,e,d={Default:null,Facebook:null,SSO:null,Reply:{},Auth:{},Edit:{},Twitter:{},Upload:{}};return{Default:{create:function(a){if(d.Default!==null)return d.Default;var b,c={remote:DISQUS.settings.get("disqus.debug")?DISQUS.jsonData.urls.channels.def:DISQUS.settings.get("disqus.urls.media")+"/build/system/def.html#",onReady:function(){b.isReady=!0;a&&a()}};b=DISQUS.net.rpc(c,{local:{realtimeNotify:function(a){DISQUS.dtpl.actions.fire("messagesx.newEvent",a)}},remote:{api:{},
echo:{},enable:{},flushLog:{},addMeta:{},log:{},setApiKey:{},realtimePoll:{},gaPush:{}}});return d.Default=b},recover:function(){return d.Default}},Reply:{create:function(){var a=Array.prototype.slice.call(arguments),f=a.length,c=a[f-1],g=arguments[0],h=Object.prototype.toString.call(c)=="[object Function]"?c:null,i=f>0&&a[1]!=h?a[1]:0,i=i||null,a={},f=!1;if((!DISQUS.browser.ie||!DISQUS.browser.quirks)&&!DISQUS.browser.ie6&&!DISQUS.browser.ie7&&DISQUS.dtpl.actions.registered("comments.reply.onResize",
!0))a.scrolling="no",f=!0;if(typeof b=="undefined")b=DISQUS.jsonData,e=DISQUS.nodes.getBasicStyles();c={f:b.forum.url,t:b.thread.slug,ff:e.fontFamily,d:e.direction,p:DISQUS.config.def_text,upload_media:DISQUS.jsonData.context.switches.upload_media,mentions:DISQUS.jsonData.context.switches.mentions&&DISQUS.jsonData.forum.mentions_enabled};DISQUS.config.absorbStyles&&DISQUS.extend(c,{fc:e.fontColor,bg:e.backgroundColor});c=b.urls.channels.reply+"#"+DISQUS.serializeArgs(c);if(DISQUS.browser.ie&&window.postMessage==
null){var k=!1;if(typeof window.ActiveXObject!="undefined")try{var n=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");if(n){var p=n.GetVariable("$version");p&&(p=p.split(" ")[1].split(","),parseInt(p[0],10)==10&&(k=!0))}}catch(o){}if(!k&&!DISQUS.nodes.get("#dsq-old-flash-notice"))n=DISQUS.nodes.get("#disqus_thread"),p=document.createElement("div"),p.id="dsq-old-flash-notice",p.className="dsq-notice",p.innerHTML=DISQUS.renderBlock("oldFlashMessage"),n.insertBefore(p,n.firstChild)}var j=DISQUS.net.rpc({remote:c,
container:g,props:a,onReady:function(){var a=DISQUS.nodes.get(".dsq-iframe-loading",g);a.length&&g.removeChild(a[0]);a=b.posts[i]||{};j.setState(a.id||null,a.depth===void 0?null:a.depth,DISQUS.jsonData.forum.id,DISQUS.jsonData.thread.id);j.setData({users:DISQUS.jsonData.users,browser:DISQUS.browser,media_url:DISQUS.jsonData.media_url});j.isReady=!0;h&&h();if(DISQUS.browser.ie&&DISQUS.browser.quirks&&this.container)a=DISQUS.nodes.get("iframe",g)[0],a.style.width=parseInt(a.parentNode.offsetWidth,10)+
"px"},appendElement:!0},{local:{cookieFailure:function(){DISQUS.dtpl.actions.fire("cookies.onFailure")},resizeFrame:function(a,b){DISQUS.dtpl.actions.fire("comments.reply.onResize",b,a)},onFocus:function(){DISQUS.dtpl.actions.fire("comments.reply.onFocus",i)},onBlur:function(){DISQUS.dtpl.actions.fire("comments.reply.onBlur",i)},onUploadAdd:function(a){DISQUS.dtpl.actions.fire("__.comments.reply.media.upload.onResponse",a,i)},onUploadRemove:function(a){DISQUS.dtpl.actions.fire("__.comments.reply.media.remove.onResponse",
a,i)},onSuggest:function(a,b){DISQUS.dtpl.actions.fire("comments.reply.mentions.suggest",a,b||void 0)},onSuggestMove:function(a,b){DISQUS.dtpl.actions.fire("comments.reply.mentions.move",a,b||void 0)},onSuggestSelect:function(a){DISQUS.dtpl.actions.fire("comments.reply.mentions.selectActive",a||void 0)},onSuggestClear:function(a){DISQUS.dtpl.actions.fire("comments.reply.mentions.clear",a||void 0)}},remote:{show:{},post:{},postAsGuest:{},validate:{},setState:{},focus:{},setupResize:{},setData:{},selectUser:{}}});
f&&j.setupResize();return d.Reply[i]=j},recover:function(a){return d.Reply[a||null]},reset:function(){d.Reply={}}},Auth:{create:function(a,f,c){if(typeof b=="undefined")b=DISQUS.jsonData,e=DISQUS.nodes.getBasicStyles();var g={f:b.forum.url,t:b.thread.slug,to_redirect:window.location,cbp:DISQUS.config.callback_params,ff:e.fontFamily,fc:e.fontColor,ac:e.anchorColor,lang:b.forum.language};if(DISQUS.config.frame_theme)g.theme=DISQUS.config.frame_theme;var g=DISQUS.getResourceURL(b.urls.channels.auth,
g,!0),h=DISQUS.net.rpc({remote:g,onReady:function(){h.isReady=!0;c&&c()},container:a},{local:{onAuth:function(a){DISQUS.states.loginDisabled?DISQUS.popup.close(null,!0):DISQUS.reload(function(){f(a)})},onSignupViewed:function(){DISQUS.trigger("signup.viewed")}},remote:{focus:{}}});return d.Auth.def=h},recover:function(){return d.Auth.def}},Edit:{create:function(a,f,c){if(typeof b=="undefined")b=DISQUS.jsonData,e=DISQUS.nodes.getBasicStyles();var g=DISQUS.getResourceURL(b.urls.channels.edit,{f:b.forum.url,
t:b.thread.slug,p:f,ff:e.fontFamily},!0),h=DISQUS.net.rpc({remote:g,container:a,onReady:function(){h.isReady=!0;c&&c()}},{local:{},remote:{save:{},focus:{}}});d.Edit[f]=h;if(a=DISQUS.nodes.get("#dsq-edit-textarea-"+f))if(a.style.display="none",f=DISQUS.nodes.get("#dsq-edit-iframe-"+f))f.style.display="block",a.parentNode.appendChild(f);return h},recover:function(a){return d.Edit[a]}},Twitter:{create:function(a,b,c){var e=DISQUS.net.rpc({remote:DISQUS.jsonData.urls.channels.tweetbox,container:a,onReady:function(){e.isReady=
!0;b&&b()}},{local:{onTweet:function(){c&&c()}},remote:{setContent:{}}});return d.Twitter=e},recover:function(){return d.Twitter}},Facebook:{create:function(a,b){var c=DISQUS.jsonData.urls.channels.facebook;c+="#"+DISQUS.serializeArgs({f:DISQUS.jsonData.forum.url});var e=DISQUS.net.rpc({remote:c,container:a,props:{scrolling:"no"},onReady:function(){e.isReady=!0;if(b.onReady)b.onReady()}},{local:{onSuccess:function(){if(b.onSuccess)b.onSuccess()},onBusy:function(){if(b.onBusy)b.onBusy()},onFailure:function(){if(b.onFailure)b.onFailure()}},
remote:{authenticatePublisherSession:{},authenticatePublicSessionData:{},init:{},streamPublish:{}}});return d.Facebook=e},recover:function(){return d.Facebook}},SSO:{create:function(a,b){var c=DISQUS.net.rpc({remote:DISQUS.jsonData.urls.channels.sso,onReady:function(){c.isReady=!0;a!==void 0&&a()}},{local:{onSuccess:function(){b!==void 0&&b()}},remote:{authenticate:{}}});return d.SSO=c},recover:function(){return d.SSO}},Upload:{create:function(a,e){if(a){DISQUS.jsonData.request.display_sharing_options&&
DISQUS.nodes.addClass(a,"dsq-attach-media-border");var e=e||null,c=DISQUS.jsonData.urls.channels.upload;c+="#"+DISQUS.serializeArgs({f:b.forum.url,t:b.thread.slug});var g=new DISQUS.net.rpc({remote:c,container:a,props:{scrolling:"no",allowTransparency:"true"},onReady:function(){g.setupUpload(e||"",DISQUS.jsonData.forum.id,DISQUS.jsonData.thread.id);g.isReady=!0}},{local:{onUploadStart:function(){DISQUS.dtpl.actions.fire("__.comments.reply.media.upload",e)},onUpload:function(a){DISQUS.dtpl.actions.fire("__.comments.reply.media.upload.onResponse",
a,e)}},remote:{setupUpload:{},media:{}}});return d.Upload[e]=g}},recover:function(a){return d.Upload[a||null]}},reset:function(a){function f(a){a&&a.destroy()}DISQUS.each(d,function(b,d){d==="Default"&&a||b!==null&&(b.origin&&b.destroy?f(b):DISQUS.each(b,f))});b=e=void 0},ensureLoggedIn:function(a,b,c){c=c||{};if(DISQUS.jsonData.request.is_authenticated)a();else{switch(b){case "disqus":b=new DISQUS.ui.DisqusLoginBox;break;case "twitter":b=new DISQUS.ui.TwitterLoginBox;break;case "yahoo":b=new DISQUS.ui.YahooLoginBox;
break;case "openid":b=new DISQUS.ui.OpenIDLoginBox;break;case "google":b=new DISQUS.ui.GoogleLoginBox;break;case "facebook":b=DISQUS.FB.publisherKeySupported()?new DISQUS.ui.PublisherFacebookLoginBox:new DISQUS.ui.DefaultFacebookLoginBox;break;case "sso":b=new DISQUS.ui.SSOLoginBox;break;case "postas":b=new DISQUS.ui.LoginBox(c,{title:"Before we post this, who are you?",guestTab:!0});break;default:b=new DISQUS.ui.LoginBox(c)}b.onClose=function(){if(DISQUS.jsonData.request.is_authenticated)a();else if(typeof c.onFailure==
"function")c.onFailure()};b.open()}}}});DISQUS.define("ui",function(){var b={},e=0,d=function(){this.guid=++e;b[this.guid]=this};DISQUS.extend(d,{closeAll:function(){DISQUS.lang.forEach(b,function(a){a.close()})},last:function(){return b[e]}});d.prototype={init:function(){var a=this,b=a.container;b.className="dsq-popup dsq-popup-message "+(a.extra||"");DISQUS.browser.ie6||DISQUS.browser.ie7?DISQUS.events.execOnReady(function(){a._onContentReady()}):a._onContentReady();(b=DISQUS.nodes.get(".dsq-popup-close",b))&&b.length&&DISQUS.events.add(b[0],
"mouseup",function(){a.close()});a.mouseUpListener=function(b){DISQUS.nodes.closest(b.target||b.srcElement,"#"+a.container.id)||a.close()};a.keyUpListener=function(b){b.keyCode==27&&a.close()};DISQUS.bean.add(document,"mouseup",a.mouseUpListener);DISQUS.bean.add(document,"keyup",a.keyUpListener)},_onContentReady:function(){var a=this.container;DISQUS.nodes.body().appendChild(a);a.style.display="block";this.reposition();if(this.onReady)this.onReady()},open:function(a){d.closeAll();DISQUS.extend(this,
a||{});var b=this.title||"",c=this.body||"",e=this.container=document.createElement("div");e.id="dsq-popup-message";e.innerHTML=DISQUS.renderBlock("popup",{strict:a.strict,popupHeader:b,popupBody:c,popupClass:"",footer:typeof a.footer!=="undefined"?a.footer:!0});this.init();return e},close:function(){var a=this.container;if(a){if(this.mouseUpListener)DISQUS.bean.remove(document,"mouseup",this.mouseUpListener),this.mouseUpListener=null;if(this.keyUpListener)DISQUS.bean.remove(document,"keyup",this.keyUpListener),
this.keyUpListener=null;var c=DISQUS.nodes.get("#dsq-overlay");c&&DISQUS.nodes.remove(c);try{DISQUS.nodes.remove(a)}catch(d){for(var c=a.getElementsByTagName("IFRAME"),e=0;e<c.length;e++)c[e].parentNode.removeChild(c[e]);a.parentNode.removeChild(a)}this.container=null;if(this.onClose)this.onClose();b[this.guid]=null;delete b[this.guid]}},reposition:function(){var a=this.container;if(!a)return!1;var b=DISQUS.window.getSize(),c=(b[0]-a.offsetWidth)/2,b=(b[1]-a.offsetHeight)/2;DISQUS.browser.ie6&&(b=
DISQUS.window.getScrollPosition()[1]);a.style.left=c+"px";a.style.top=b+"px";return!0}};var a=function(){d.call(this)};DISQUS.extend(a.prototype,d.prototype,{open:function(a){DISQUS.extend(this,a||{});this.body='<div class="dsq-border" style="width:'+a.width+"px; height:"+a.height+'px"><a href="#" class="dsq-modal-close-btn" onclick="DISQUS.popup.close(null, true); return false">Close</a><div class="dsq-popup-raw-container"></div></div>';var b=this.container=document.createElement("div");b.id="dsq-popup-message";
b.innerHTML=this.body;this.extra="dsq-popup-raw";this.init();var c=DISQUS.nodes.createIframe(a.url,{},{width:"100%",height:"100%",scrolling:"no",frameBorder:"0",frameSpacing:"0",style:"visibility:hidden"}),b=DISQUS.nodes.get(".dsq-popup-raw-container",this.container)[0];b.appendChild(c);c.onreadystatechange=c.onload=function(){c.style.visibility="visible"};return b}});var f=function(){d.call(this)};DISQUS.extend(f.prototype,a.prototype,{open:function(b){b=b||{};typeof b==="string"&&(b={username:b});
var c=DISQUS.config&&DISQUS.config.domain?"http://"+DISQUS.config.domain:DISQUS.settings.get("disqus.urls.main");c+=(b.anonymous?"/embed/guest/":"/embed/")+b.username;var c=DISQUS.getResourceURL(c,{is_moderator:b.isModerator,forum:b.forum,lang:b.lang}),d=570,e=525,f=DISQUS.jsonData&&DISQUS.jsonData.context.active_gargoyle_switches;f&&DISQUS.contains(f,"new_embed_profile")&&(d=710,e=399);a.prototype.open.call(this,{url:c,width:d,height:e,onClose:b.onClose})}});var c=function(){this.tabs={};this.enabledTab=
null};DISQUS.extend(c.prototype,d.prototype,{open:function(a){var b=this,a=a||{};DISQUS.extend(a,{strict:!0,title:DISQUS.strings.get("Edit your profile"),extra:"dsq-profile-edit-modal",onClose:b.onClose,onReady:function(){b.onContentReady(a.selectedTab)}});b.lang=a.lang||"en";DISQUS.request.get(DISQUS.settings.get("disqus.urls.unmerged")||DISQUS.jsonData.urls.unmerged_profiles,{},!0);var c=function(e){DISQUS.dtpl.actions.remove("profile.getUnmerged.onSuccess",c);b.has_unmerged_users=e;d.prototype.open.call(b,
DISQUS.extend(a,{body:DISQUS.renderBlock("profileEdit",{has_unmerged_users:e})}))};DISQUS.dtpl.actions.register("profile.getUnmerged.onSuccess",c)},onContentReady:function(a){var b=this.tabs,c=this.lang,d=DISQUS.ui,e=DISQUS.settings.get("disqus.urls.main"),f=DISQUS.config.page?encodeURIComponent(DISQUS.config.page.url):"";if(this.has_unmerged_users)b.merge=new d.LoginBoxTab(this,"dsq-tab-profile-merge",new d.iFrameContent("dsq-profile-merge",e+"/embed/profile/merge?thread_url="+f+"&lang="+c));b.edit=
new d.LoginBoxTab(this,"dsq-tab-profile-edit",new d.iFrameContent("dsq-profile-edit",e+"/embed/profile/info?thread_url="+f+"&lang="+c));b.avatar=new d.LoginBoxTab(this,"dsq-tab-profile-avatar",new d.iFrameContent("dsq-profile-avatar",e+"/embed/profile/avatar?thread_url="+f+"&lang="+c));b.services=new d.LoginBoxTab(this,"dsq-tab-profile-services",new d.iFrameContent("dsq-profile-services",e+"/embed/profile/connections?thread_url="+f+"&lang="+c));b.notifications=new d.LoginBoxTab(this,"dsq-tab-profile-notifications",
new d.iFrameContent("dsq-profile-notifications",e+"/embed/account/notifications?thread_url="+f+"&lang="+c));b.account=new d.LoginBoxTab(this,"dsq-tab-profile-account",new d.iFrameContent("dsq-profile-account",e+"/embed/account?thread_url="+f+"&lang="+c));b.apps=new d.LoginBoxTab(this,"dsq-tab-profile-apps",new d.iFrameContent("dsq-profile-apps",e+"/embed/account/apps/?lang="+c));a&&b[a]?b[a].enable():(b.merge||b.edit).enable()}});var g=function(){d.call(this)};DISQUS.extend(g.prototype,a.prototype,
{open:function(b){b=b||{url:DISQUS.jsonData.urls.community};typeof b==="string"&&(b={url:b});var c=DISQUS.getResourceURL(b.url,{lang:b.lang});a.prototype.open.call(this,{url:c,width:700,height:525,onClose:b.onClose})}});var h=function(){this.name="disqus_edit_profile_"+DISQUS.getGuid()};h.prototype={open:function(a){a=DISQUS.getResourceURL(DISQUS.jsonData.urls.edit_profile_window,{lang:a.lang});this.window=window.open(a,"_blank","location=no,status=no,width=650,height=440,menubar=no")}};var i=function(a){this.name=
"disqus_"+DISQUS.getGuid();DISQUS.extend(this,a||{})};i.prototype={open:function(){var a=this;a.window=window.open(a.url,a.name,"location=0,status=0,width="+(a.width||800)+",height="+(a.height||400));a.window&&DISQUS.defer(function(){return DISQUS.window.isClosed(a.window)},function(){a.reload()})},reload:function(){var a=this;DISQUS.reload(function(){a.onClose()})},close:function(){this.window&&window.close()}};var k=function(a,b){this.opts=b||{};this.container=DISQUS.nodes.get("#"+a)};k.prototype=
{show:function(){DISQUS.nodes.show(this.container,!0);var a=DISQUS.nodes.get("input",this.container);a.length&&!this.opts.noAutoFocus&&a[0].focus()},hide:function(){DISQUS.nodes.hide(this.container,!0)}};var n=function(a,b,c){var d=a?"-"+a:"";k.call(this,"dsq-login-guest"+d,c);DISQUS.events.add(DISQUS.nodes.get("#dsq-field-email"+d),"keyup",function(a){var b=(a.target||a.srcElement).value,a="";if(b){for(var b=b.split("@")[0].split("."),c=0;c<b.length;c++)a+=b[c].charAt(0).toUpperCase()+b[c].slice(1)+
" ";a=DISQUS.lang.trim(a)}else a=void 0;if(a)DISQUS.nodes.get("#dsq-field-name"+d).value=a});var e=DISQUS.nodes.get("a",DISQUS.nodes.get(".dsq-login-add-url")[0])[0];e&&DISQUS.events.add(e,"click",function(a){DISQUS.nodes.hide(e.parentNode.parentNode,!0);DISQUS.nodes.show(DISQUS.nodes.get("#dsq-optional-field-website"),!0);a.preventDefault()});c=DISQUS.nodes.get("#dsq-submit-guest"+d);DISQUS.events.add(c,"click",function(){DISQUS.dtpl.validators.guestFields(a)&&b(this)})};DISQUS.extend(n.prototype,
k.prototype);var p=function(a,b,c){var d=this;a?parseInt(a,10)&&(a="dsq-login-disqus-"+a):a="dsq-login-disqus";k.call(d,a,c);d.iframeReady=!1;d.focusOnReady=!1;var e=DISQUS.comm.Auth.create(d.container,b,function(){d.iframeReady=!0;d.focusOnReady&&e.focus()})};DISQUS.extend(p.prototype,k.prototype,{show:function(){k.prototype.show.call(this);this.iframeReady?this.opts.noAutoFocus||DISQUS.comm.Auth.recover().focus():this.focusOnReady=!0}});var o=function(a,b){var c=this,d=DISQUS.nodes.get,e=DISQUS.nodes.hide,
f=DISQUS.nodes.show;k.call(this,b||"dsq-login-facebook-content");var g=DISQUS.nodes.get("#dsq-login-facebook-frame");c.rpc=DISQUS.comm.Facebook.create(g,{onReady:function(){c.rpc.init()},onBusy:function(){e(d(".dsq-connect-msg",c.container)[0],!0);f(d(".dsq-remote-authentication",c.container)[0],!0)},onFailure:function(){f(d(".dsq-connect-msg",c.container)[0],!0);e(d(".dsq-remote-authentication",c.container)[0],!0)},onSuccess:function(){DISQUS.reload(function(){a.close()})}})};DISQUS.extend(o.prototype,
k.prototype);var j=function(a,b){k.call(this,"dsq-login-"+b);var c=this,d=DISQUS.nodes.get(".dsq-external-launcher",this.container)[0];DISQUS.events.add(d,"click",function(){DISQUS.nodes.hide(DISQUS.nodes.get(".dsq-connect-msg",c.container)[0],!0);DISQUS.nodes.show(DISQUS.nodes.get(".dsq-remote-authentication",c.container)[0],!0);DISQUS.comm.ensureLoggedIn(function(){a.close()},b,{onFailure:function(){DISQUS.nodes.hide(DISQUS.nodes.get(".dsq-remote-authentication",c.container)[0],!0);DISQUS.nodes.show(DISQUS.nodes.get(".dsq-connect-msg",
c.container)[0],!0)}})})};DISQUS.extend(j.prototype,k.prototype);var s=function(a){j.call(this,a,"yahoo")};DISQUS.extend(s.prototype,j.prototype);var r=function(a){j.call(this,a,"twitter")};DISQUS.extend(r.prototype,j.prototype);var t=function(a){j.call(this,a,"facebook")};DISQUS.extend(t.prototype,j.prototype);var q=function(a){j.call(this,a,"google")};DISQUS.extend(q.prototype,j.prototype);var C=function(a){k.call(this,"dsq-login-openid");var b=DISQUS.nodes.get("#dsq-openid-submit-button");DISQUS.events.add(b,
"click",function(){var b,c,d=DISQUS.jsonData.urls.openid_connect,e=DISQUS.nodes.get("#dsq-openid-url").value;/^\s*$/.test(e)||(d=DISQUS.getResourceURL(d,{url:e,username:DISQUS.nodes.get("#dsq-openid-username").value}),b=window.open(d,"openidWindow","location=0,status=0,width=800,height=500"),c=setInterval(function(){DISQUS.window.isClosed(b)&&(clearInterval(c),DISQUS.reload(function(){a.close()}))},500))})};DISQUS.extend(C.prototype,k.prototype);var u=function(a){j.call(this,a,"sso")};DISQUS.extend(u.prototype,
j.prototype);var m=function(a,b){k.call(this,a);this.url=DISQUS.serialize(b,{},!0);this.iframe=null};DISQUS.extend(m.prototype,k.prototype,{show:function(){var a=this;if(!this.iframe)this.iframe=DISQUS.nodes.createIframe(this.url,{},{style:"display:none !important;",frameBorder:"0",frameSpacing:"0",height:"100%",width:"100%"}),DISQUS.events.add(this.iframe,"load",function(){DISQUS.nodes.hide(a.spinner,!0);DISQUS.nodes.show(a.iframe,!0)}),this.spinner=document.createElement("img"),this.spinner.src=
DISQUS.settings.get("disqus.urls.media")+"/images/dsq-loader.gif",this.container.appendChild(this.spinner),this.container.appendChild(this.iframe);k.prototype.show.call(this)}});var I=function(a,b,c){var d=this;d.parent=a;d.tabNode=DISQUS.nodes.get("#"+b);d.content=c;a=DISQUS.nodes.get("a",d.tabNode)[0];DISQUS.events.add(a,"click",function(a){d.enable();a.preventDefault();return!1})};I.prototype={enable:function(){this.parent.enabledTab&&this.parent.enabledTab.disable();DISQUS.nodes.addClass(this.tabNode,
"dsq-active");this.content.show();this.parent.enabledTab=this},disable:function(){DISQUS.nodes.removeClass(this.tabNode,"dsq-active");this.content.hide()}};var A=function(a,b){this.events=a;this.tabs={};this.tabsArray=[];this.enabledTab=null;b=b||{};this.title=DISQUS.strings.get(b.title||"Login or Register");this.guestTab=b.guestTab||!1};DISQUS.extend(A.prototype,d.prototype,{open:function(a){var b=this,a=a||{};DISQUS.extend(a,{strict:!0,title:b.title,body:DISQUS.renderBlock("loginPopup",{guestTab:b.guestTab}),
extra:"dsq-login-box",onClose:b.onClose,onReady:function(){b.onContentReady(a.selectedTab)}});d.prototype.open.call(b,a)},onContentReady:function(){var a=this,b=DISQUS.ui;DISQUS.jsonData.forum.allow_anon_post&&a.guestTab&&a.add("guest",new b.LoginBoxTab(this,"dsq-login-tab-guest",new b.GuestLoginContent(null,function(){a.events.onGuest();a.close()})));var c;if(DISQUS.config.sso&&(a.add("sso",new b.LoginBoxTab(this,"dsq-login-tab-sso",new b.SSOLoginContent(this))),DISQUS.config.sso.icon))c=DISQUS.nodes.get("span",
DISQUS.nodes.get("#dsq-login-tab-sso"))[0],c.style.cssText="background: url("+DISQUS.config.sso.icon+") !important;";DISQUS.jsonData.forum.disqus_auth_disabled||a.add("disqus",new b.LoginBoxTab(this,"dsq-login-tab-disqus",DISQUS.states.useLoginWindow?new b.ExternalLoginContent(this,"disqus"):new b.DisqusLoginContent(null,function(b){b.newUser&&DISQUS.dtpl.actions.fire("user.newUser.onSuccess");a.close()})));c=null;(c=DISQUS.FB.publisherKeySupported()?new b.PublisherFacebookLoginContent(this):new b.DefaultFacebookLoginContent(this,
"dsq-login-facebook"))&&a.add("facebook",new b.LoginBoxTab(this,"dsq-login-tab-facebook",c));a.add("google",new b.LoginBoxTab(this,"dsq-login-tab-google",new b.GoogleLoginContent(this)));a.add("twitter",new b.LoginBoxTab(this,"dsq-login-tab-twitter",new b.TwitterLoginContent(this)));a.add("yahoo",new b.LoginBoxTab(this,"dsq-login-tab-yahoo",new b.YahooLoginContent(this)));a.add("openid",new b.LoginBoxTab(this,"dsq-login-tab-openid",new b.OpenIdLoginContent(this)));this.tabsArray[0].enable()},add:function(a,
b){this.tabs[a]=b;this.tabsArray.push(b)}});var G=function(){};DISQUS.extend(G.prototype,d.prototype,{open:function(a){var b=this,a=a||{};if(DISQUS.states.useLoginWindow){a=DISQUS.nodes.getIframeDefaults();a.is_popup=!0;var c=window.open(DISQUS.getResourceURL(DISQUS.jsonData.urls.channels.auth,a,!0),"_blank","height=420,width=400");window.focus&&c.focus();var e=setInterval(function(){DISQUS.window.isClosed(c)&&(clearInterval(e),DISQUS.reload(function(){b.onClose()}))},500)}else DISQUS.extend(a,{strict:!1,
title:DISQUS.strings.get("Login or Register"),body:'<div id="dsq-login-iframe-wrapper" style="height:320px;"></div>',extra:"dsq-popup-login",onClose:b.onClose,onReady:function(){b.content=new p("dsq-login-iframe-wrapper",function(a){a.newUser&&DISQUS.dtpl.actions.fire("user.newUser.onSuccess");b.close()});b.content.show()}}),d.prototype.open.call(b,a)}});var H=function(){i.call(this,{url:DISQUS.jsonData.urls.twitter_connect,width:800,height:698})};DISQUS.extend(H.prototype,i.prototype);var J=function(){i.call(this,
{url:DISQUS.jsonData.urls.googleConnect,width:800,height:400})};DISQUS.extend(J.prototype,i.prototype);var z=function(){i.call(this,{url:DISQUS.jsonData.urls.yahoo_connect,width:800,height:400})};DISQUS.extend(z.prototype,i.prototype);var l=function(){var a=DISQUS.config.sso;i.call(this,{url:a.url,width:a.width||800,height:a.height||400})};DISQUS.extend(l.prototype,i.prototype,{reload:function(){window.location.reload()}});var K=function(){};DISQUS.extend(K.prototype,d.prototype,{open:function(){var a=
this,b={title:DISQUS.strings.get("Sign in with OpenID"),body:DISQUS.renderBlock("openidForm"),onClose:a.onClose,onReady:function(){a.content=new C(a)}};d.prototype.open.call(a,b)}});var w=function(){};DISQUS.extend(w.prototype,d.prototype,{open:function(){var a=this;d.prototype.open.call(this,{title:DISQUS.strings.get("Sign in using Facebook"),body:DISQUS.renderBlock("facebookLoginForm",{title:!1}),onClose:a.onClose,onReady:function(){a.content=new o(a)}})}});var D=function(){};D.prototype.open=function(){var a=
this;DISQUS.FB.init(function(){DISQUS.FB.login(function(){DISQUS.FB.authenticateViaPublisherKey(function(){DISQUS.reload(function(){if(a.onClose)a.onClose()})})},function(){if(a.onClose)a.onClose()})})};return{Modal:d,IframeModal:a,ProfileModal:f,ProfileEditModal:c,ProfileEditNewWindow:h,ForumCommunityModal:g,NewWindowModal:i,ContentBase:k,GuestLoginContent:n,DisqusLoginContent:p,DefaultFacebookLoginContent:o,ExternalLoginContent:j,YahooLoginContent:s,TwitterLoginContent:r,PublisherFacebookLoginContent:t,
GoogleLoginContent:q,OpenIdLoginContent:C,SSOLoginContent:u,iFrameContent:m,LoginBoxTab:I,LoginBox:A,DisqusLoginBox:G,TwitterLoginBox:H,GoogleLoginBox:J,YahooLoginBox:z,SSOLoginBox:l,OpenIDLoginBox:K,DefaultFacebookLoginBox:w,PublisherFacebookLoginBox:D,applyTooltips:function(a){typeof a==="undefined"&&(a=DISQUS.nodes.get("#disqus_thread"));a=DISQUS.nodes.get(".dsq-tt",a);DISQUS.lang.forEach(a,function(a){new DISQUS.tooltip.Tooltip(a,{gravity:"s",trigger:"hover",opacity:0.96,html:!0,contentId:a.getAttribute("data-dsq-content-id")})})},
truncateComments:function(a){var a=DISQUS.nodes.get(".dsq-comment-message",a),b=DISQUS.jsonData.forum.comment_max_words;DISQUS.lang.forEach(a,function(a){(a=a.id.match(/\d+$/))&&a.length&&b>0&&DISQUS.dtpl.actions.fire("comments.text.collapse",a[0])})}}});(function(){DISQUS.ui.PublisherFacebookLoginBox.prototype.show=DISQUS.ui.PublisherFacebookLoginBox.prototype.open;DISQUS.ui.FacebookLoginBox=DISQUS.ui.PublisherFacebookLoginBox;DISQUS.api=DISQUS.api||{};DISQUS.api.FacebookLoginBox=DISQUS.ui.FacebookLoginBox})();DISQUS.define("sso",function(){return{auth:function(b){var e=DISQUS.comm.SSO.create(function(){e.authenticate(b)},function(){if(b.onSuccess)b.onSuccess()})}}});DISQUS.ReplyFrame=function(b,e){this.frame=null;this.container=b;this.id=e;this._type=b.id&&b.id.match(/edit/)?"edit":"reply"};DISQUS.ReplyFrame.prototype={setState:function(){},init:function(){this.frame=this._type=="edit"?DISQUS.comm.Edit.create(this.container.id,this.id):DISQUS.comm.Reply.create(this.container.id,this.id)}};DISQUS.TweetFrame=function(b,e){var d=DISQUS.comm.Twitter.create(b,e.onReady,e.onSuccess);this.init=function(){};this.setContent=function(a){d.setContent(a)}};DISQUS.define("FB",function(){function b(){if(!DISQUS.nodes.get("#fb-root")){var a=document.createElement("div");a.id="fb-root";DISQUS.nodes.get("#disqus_thread").appendChild(a)}}function e(b){return function(){a[b].apply(a,arguments)}}var d=[],a=null,f=function(){this.authResponse=null};f.prototype={init:function(a,b){FB.init({apiKey:a,channelUrl:b,status:!0,cookie:!0,oauth:!0})},login:function(a,b){var c=this;FB.login(function(d){d.authResponse?(c.authResponse=d.authResponse,a()):(c.session=null,
b())})},authenticateViaPublisherKey:function(a){FB.login(function(b){var c=DISQUS.comm.Facebook.create(null,{onReady:function(){c.authenticatePublisherSession(b.authResponse)},onSuccess:a})})},streamPublish:function(a,b,c){FB.ui({method:"stream.publish",message:a,attachment:b},function(a,b){typeof c==="function"&&c(a,b)})},streamShare:function(a,b,c){FB.ui({method:"stream.share",u:b.href},function(a){typeof c==="function"&&c(a.post_id)})}};var c=function(a){this.rpc=a};c.prototype={init:function(){this.rpc.init()},
streamPublish:function(a,b,c){this.rpc.streamPublish(a,b,c)},streamShare:function(a,b,c){this.rpc.streamPublish(a,b,c)},authenticateViaPublisherKey:function(){}};return{init:function(){DISQUS.FB.init=function(b){typeof b==="function"&&d.push(b);if(a)for(;d.length;)d.shift()()};DISQUS.FB.init();if(DISQUS.FB.publisherKeySupported())b(),window.FB||DISQUS.require("http://connect.facebook.net/en_US/all.js"),DISQUS.addJob(function(){return window.FB&&FB.init},function(){a=new f;a.init(DISQUS.config.facebook_key||
DISQUS.jsonData.context.forum_facebook_key,window.facebookXdReceiverPath||null);DISQUS.FB.init()});else var e=DISQUS.comm.Facebook.create(null,{onReady:function(){a=new c(e);a.init();DISQUS.FB.init()}})},publisherKeySupported:function(){return(DISQUS.config.facebook_key||DISQUS.jsonData.context.forum_facebook_key)&&!(window.FB&&FB.dynData)},authenticateViaPublisherKey:e("authenticateViaPublisherKey"),login:e("login"),streamShare:e("streamShare"),streamPublish:e("streamPublish")}});(function(){function b(){var a=DISQUS.jsonData.request;g=a.is_authenticated?a.remote_domain||"disqus":"not_logged_in"}function e(a,b){k(["_trackEvent",f,a,c,b])}function d(a){if(a.length){for(var b=0,d=a.length;b<d;b++)a[b]=["_trackEvent",f,a[b][0],c,a[b][1]];k.apply(null,a)}}function a(){var a=function(a,b){DISQUS.dtpl.actions.register(a,function(){b.apply(this,arguments);return!0})};a("thread.vote",function(a){a==1?e("like_thread",1):a==-1&&e("dislike_thread",1)});a("comments.like",function(){e("like_comment",
1)});a("comments.report",function(a,b){b&&e("flag_comment",1)});a("comments.send",function(a){e(a===null?"post_comment":"post_comment_reply",1)});DISQUS.bind("thread.onShare",function(a){var b=[];DISQUS.each(a,function(a,c){a&&b.push(["share_thread_"+c,1])});d(b)});DISQUS.bind("comments.share",function(a){var b=[],c={tw:"twitter",fb:"facebook",tr:"tumblr",wp:"wordpress",mt:"movabletype",tp:"typepad",yh:"yahoo"};DISQUS.each(a,function(a,d){a&&b.push(["share_comment_"+c[d],1])});d(b)});DISQUS.once("thread.bottomViewed",
function(){e("view_bottom_embed",1)});a("realtime.show",function(){e("load_rtcomments",1)});a("comments.moderate.options",function(){e("moderate_comment_open",1)});a("profile.show",function(){e("open_profile",1)});a("community.show",function(){e("open_community",1)});a("auth.login",function(){e("open_login",1)});DISQUS.bind("signup.viewed",function(){e("open_signup",1)});a("thread.paginate",function(){e("load_comments",1)});a("comments.edit.send",function(){e("edit_comment",1)});a("thread.subscribe",
function(a){(a||DISQUS.jsonData.request.is_authenticated)&&e("subscribe_thread",1)})}var f,c,g,h,i,k;DISQUS.once("thread.topViewed",function(){DISQUS.defer(function(){return k&&f&&c},function(){e("view_embed",1)})});DISQUS.once("loader.onFilesReady",function(){a()});DISQUS.once("loader.onDataReady",function(){c=DISQUS.jsonData.forum.url||"?";var a=DISQUS.jsonData.forum.features;h=a.support_preferred?"plus":a.support_priority?"pro":a.support_vip?"vip":"free";b()});DISQUS.once("loader.onLibraryReady",
function(){var a=DISQUS.jsonData.forum.template.name;f=a=DISQUS.states.isMobile?"mobile":a=="Discovery Preview"?"houdini_discovery":a=="Houdini"?"houdini":a=="Narcissus"?"narcissus":"custom"});DISQUS.once("loader.onDefaultChannelReady",function(){i=DISQUS.comm.Default.recover();k=i.gaPush;DISQUS.once("comments.onGuestPost",function(){g="guest";k(["_setCustomVar",5,"userType",g])});DISQUS.dtpl.actions.register("thread.initialize",function(){b();k(["_setCustomVar",5,"userType",g]);return!0});DISQUS.once("discovery.onDisplay",
function(){e("view_discovery",1)});DISQUS.defer(function(){return f&&c&&g&&h},function(){k(["_setCustomVar",1,"component","embed"],["_setCustomVar",2,"package",h],["_setCustomVar",3,"forum",c],["_setCustomVar",4,"version",f],["_setCustomVar",5,"userType",g],["_trackPageview"])})})})();(function(b,e,d,a,f,c){function g(a,b){var c=typeof a[b];return c=="function"||!!(c=="object"&&a[b])||c=="unknown"}function h(){h=A;F=!0;for(var a=0;a<L.length;a++)L[a]();L.length=0}function i(a,b){F?a.call(b):L.push(function(){a.call(b)})}function k(){var a=parent;if(z!=="")for(var b=0,c=z.split(".");b<c.length;b++)a=a[c[b]];return a.easyXDM}function n(a){var b=a.match(G),a=b[2],c=b[3],b=b[4]||"";if(a=="http:"&&b==":80"||a=="https:"&&b==":443")b="";return a+"//"+c+b}function p(a){a=a.replace(J,"$1/");
if(!a.match(/^(http||https):\/\//)){var b=a.substring(0,1)==="/"?"":d.pathname;b.substring(b.length-1)!=="/"&&(b=b.substring(0,b.lastIndexOf("/")+1));a=d.protocol+"//"+d.host+b+a}for(;H.test(a);)a=a.replace(H,"");return a}function o(a,b){var d="",e=a.indexOf("#");e!==-1&&(d=a.substring(e).replace("#","&"),a=a.substring(0,e));var e=[],f;for(f in b)b.hasOwnProperty(f)&&e.push(f+"="+c(b[f]));return a+(O?"#":a.indexOf("?")==-1?"?":"&")+e.join("&")+d}function j(a){return typeof a==="undefined"}function s(){var a=
{},b={a:[1,2,3]};if(typeof JSON!="undefined"&&typeof JSON.stringify==="function"&&JSON.stringify(b).replace(/\s/g,"")==='{"a":[1,2,3]}')return JSON;if(Object.toJSON&&Object.toJSON(b).replace(/\s/g,"")==='{"a":[1,2,3]}')a.stringify=Object.toJSON;if(typeof String.prototype.evalJSON==="function"&&(b='{"a":[1,2,3]}'.evalJSON(),b.a&&b.a.length===3&&b.a[2]===3))a.parse=function(a){return a.evalJSON()};if(a.stringify&&a.parse)return s=function(){return a},a;return null}function r(a,b,c){var d,e;for(e in b)b.hasOwnProperty(e)&&
(e in a?(d=b[e],typeof d==="object"?r(a[e],d,c):c||(a[e]=b[e])):a[e]=b[e]);return a}function t(a){if(j(D)){var c=e.createElement("iframe");c.name=w+"TEST";r(c.style,{position:"absolute",left:"-2000px",top:"0px"});e.body.appendChild(c);D=c.contentWindow!==b.frames[c.name];e.body.removeChild(c)}D&&!~navigator.userAgent.indexOf("Firefox")?c=e.createElement('<iframe name="'+a.props.name+'"/>'):(c=e.createElement("IFRAME"),c.name=a.props.name);c.id=c.name=a.props.name;delete a.props.name;a.onLoad&&y(c,
"load",a.onLoad);if(typeof a.container=="string")a.container=e.getElementById(a.container);if(!a.container)c.style.position="absolute",c.style.top="-2000px",c.style.left="0px",a.container=e.body;var d=a.props.src;delete a.props.src;r(c,a.props);c.border=c.frameBorder=0;a.container.appendChild(c);c.src=d;a.props.src=d;return c}function q(a){var c=a.protocol,f;a.isHost=a.isHost||j(x.xdm_p);O=a.hash||!1;if(!a.props)a.props={};if(a.isHost){if(a.remote=p(a.remote),a.channel=a.channel||"default"+I++,a.secret=
Math.random().toString(16).substring(2),j(c))if(m.parent==m&&n(d.href)==n(a.remote))c="4";else if(g(b,"postMessage")||g(e,"postMessage"))c="1";else{if(c=g(b,"ActiveXObject"))try{new ActiveXObject("ShockwaveFlash.ShockwaveFlash"),c=!0}catch(U){c=!1}c?c="6":navigator.product==="Gecko"&&"frameElement"in b&&navigator.userAgent.indexOf("WebKit")==-1?c="5":a.remoteHelper?(a.remoteHelper=p(a.remoteHelper),c="2"):c="0"}}else{a.channel=x.xdm_c;a.secret=x.xdm_s;a.remote=x.xdm_e;var c=x.xdm_p,i;if(i=a.acl){a:{i=
a.acl;var h=a.remote;typeof i=="string"&&(i=[i]);for(var v,P=i.length;P--;)if(v=i[P],v=RegExp(v.substr(0,1)=="^"?v:"^"+v.replace(/(\*)/g,".$1").replace(/\?/g,".")+"$"),v.test(h)){i=!0;break a}i=!1}i=!i}if(i)throw Error("Access denied for "+a.remote);}switch(c){case "0":r(a,{interval:100,delay:2E3,useResize:!0,useParent:!1,usePolling:!1},!0);if(a.isHost){if(!a.local){f=d.protocol+"//"+d.host;c=e.body.getElementsByTagName("img");for(h=c.length;h--;)if(i=c[h],i.src.substring(0,f.length)===f){a.local=
i.src;break}if(!a.local)a.local=b}f={xdm_c:a.channel,xdm_p:0};a.local===b?(a.usePolling=!0,a.useParent=!0,a.local=d.protocol+"//"+d.host+d.pathname+d.search,f.xdm_e=a.local,f.xdm_pa=1):f.xdm_e=p(a.local);if(a.container)a.useResize=!1,f.xdm_po=1;a.remote=o(a.remote,f)}else r(a,{channel:x.xdm_c,remote:x.xdm_e,useParent:!j(x.xdm_pa),usePolling:!j(x.xdm_po),useResize:a.useParent?!1:a.useResize});f=[new l.stack.HashTransport(a),new l.stack.ReliableBehavior({}),new l.stack.QueueBehavior({encode:!0,maxLength:4E3-
a.remote.length}),new l.stack.VerifyBehavior({initiate:a.isHost})];break;case "1":f=[new l.stack.PostMessageTransport(a)];break;case "2":f=[new l.stack.NameTransport(a),new l.stack.QueueBehavior,new l.stack.VerifyBehavior({initiate:a.isHost})];break;case "3":f=[new l.stack.NixTransport(a)];break;case "4":f=[new l.stack.SameOriginTransport(a)];break;case "5":f=[new l.stack.FrameElementTransport(a)];break;case "6":if(!a.swf)a.swf="../../tools/easyxdm.swf";f=[new l.stack.FlashTransport(a)]}f.push(new l.stack.QueueBehavior({lazy:a.lazy,
remove:!0}));return f}function C(a){for(var b,c={incoming:function(a,b){this.up.incoming(a,b)},outgoing:function(a,b){this.down.outgoing(a,b)},callback:function(a){this.up.callback(a)},init:function(){this.down.init()},destroy:function(){this.down.destroy()}},d=0,e=a.length;d<e;d++){b=a[d];r(b,c,!0);if(d!==0)b.down=a[d-1];if(d!==e-1)b.up=a[d+1]}return b}function u(a){a.up.down=a.down;a.down.up=a.up;a.up=a.down=null}var m=this,I=Math.floor(Math.random()*1E4),A=Function.prototype,G=/^((http.?:)\/\/([^:\/\s]+)(:\d+)*)/,
H=/[\-\w]+\/\.\.\//,J=/([^:])\/\//g,z="",l={},K=b.easyXDM,w="easyXDM_",D,O=!1,y,E;if(g(b,"addEventListener"))y=function(a,b,c){a.addEventListener(b,c,!1)},E=function(a,b,c){a.removeEventListener(b,c,!1)};else if(g(b,"attachEvent"))y=function(a,b,c){a.attachEvent("on"+b,c)},E=function(a,b,c){a.detachEvent("on"+b,c)};else throw Error("Browser not supported");var F=!1,L=[],M;"readyState"in e?(M=e.readyState,F=M=="complete"||~navigator.userAgent.indexOf("AppleWebKit/")&&(M=="loaded"||M=="interactive")):
F=!!e.body;F||(g(b,"addEventListener")?y(e,"DOMContentLoaded",h):(y(e,"readystatechange",function(){e.readyState=="complete"&&h()}),e.documentElement.doScroll&&b===top&&function Q(){if(!F){try{e.documentElement.doScroll("left")}catch(b){a(Q,1);return}h()}}()),y(b,"load",h));var x=function(a){for(var a=a.substring(1).split("&"),b={},c,d=a.length;d--;)c=a[d].split("="),b[c[0]]=f(c[1]);return b}(/xdm_e=/.test(d.search)?d.search:d.hash);r(l,{version:"2.4.12.1",query:x,stack:{},apply:r,getJSONObject:s,
whenReady:i,noConflict:function(a){b.easyXDM=K;(z=a)&&(w="easyXDM_"+z.replace(".","_")+"_");return l}});l.DomHelper={on:y,un:E,requiresJSON:function(a){typeof b.JSON=="object"&&b.JSON||e.write('<script type="text/javascript" src="'+a+'"><\/script>')}};(function(){var a={};l.Fn={set:function(b,c){a[b]=c},get:function(b,c){var d=a[b];c&&delete a[b];return d}}})();l.Socket=function(a){var b=C(q(a).concat([{incoming:function(b,c){a.onMessage(b,c)},callback:function(b){if(a.onReady)a.onReady(b)}}])),c=
n(a.remote);this.origin=n(a.remote);this.destroy=function(){b.destroy()};this.postMessage=function(a){b.outgoing(a,c)};b.init()};l.Rpc=function(a,b){if(b.local)for(var c in b.local)if(b.local.hasOwnProperty(c)){var d=b.local[c];typeof d==="function"&&(b.local[c]={method:d})}var e=C(q(a).concat([new l.stack.RpcBehavior(this,b),{callback:function(b){if(a.onReady)a.onReady(b)}}]));this.origin=n(a.remote);this.destroy=function(){e.destroy()};e.init()};l.stack.SameOriginTransport=function(b){var c,e,f,
g;return c={outgoing:function(a,b,c){f(a);c&&c()},destroy:function(){e&&(e.parentNode.removeChild(e),e=null)},onDOMReady:function(){g=n(b.remote);b.isHost?(r(b.props,{src:o(b.remote,{xdm_e:d.protocol+"//"+d.host+d.pathname,xdm_c:b.channel,xdm_p:4}),name:w+b.channel+"_provider"}),e=t(b),l.Fn.set(b.channel,function(b){f=b;a(function(){c.up.callback(!0)},0);return function(a){c.up.incoming(a,g)}})):(f=k().Fn.get(b.channel,!0)(function(a){c.up.incoming(a,g)}),a(function(){c.up.callback(!0)},0))},init:function(){i(c.onDOMReady,
c)}}};l.stack.FlashTransport=function(b){function c(b){a(function(){f.up.incoming(b,j)},0)}function d(a){var c=b.swf,f="easyXDM_swf_"+Math.floor(Math.random()*1E4);l.Fn.set("flash_loaded",function(){l.stack.FlashTransport.__swf=h=B.firstChild;a()});B=e.createElement("div");r(B.style,{height:"1px",width:"1px",postition:"absolute",left:0,top:0});e.body.appendChild(B);var g="proto="+m.location.protocol+"&domain="+m.location.href.match(G)[3]+"&ns="+z;B.innerHTML="<object height='1' width='1' type='application/x-shockwave-flash' id='"+
f+"' data='"+c+"'><param name='allowScriptAccess' value='always'></param><param name='wmode' value='transparent'><param name='movie' value='"+c+"'></param><param name='flashvars' value='"+g+"'></param><embed type='application/x-shockwave-flash' FlashVars='"+g+"' allowScriptAccess='always' wmode='transparent' src='"+c+"' height='1' width='1'></embed></object>"}var f,g,j,h,B;return f={outgoing:function(a,c,d){h.postMessage(b.channel,a);d&&d()},destroy:function(){try{h.destroyChannel(b.channel)}catch(a){}h=
null;g&&(g.parentNode.removeChild(g),g=null)},onDOMReady:function(){j=b.remote;h=l.stack.FlashTransport.__swf;l.Fn.set("flash_"+b.channel+"_init",function(){a(function(){f.up.callback(!0)})});l.Fn.set("flash_"+b.channel+"_onMessage",c);var e=function(){h.createChannel(b.channel,b.secret,n(b.remote),b.isHost);b.isHost&&(r(b.props,{src:o(b.remote,{xdm_e:n(m.location.href),xdm_c:b.channel,xdm_p:6,xdm_s:b.secret}),name:w+b.channel+"_provider"}),g=t(b))};h?e():d(e)},init:function(){i(f.onDOMReady,f)}}};
l.stack.PostMessageTransport=function(c){function e(a){var b;if(a.origin)b=n(a.origin);else if(a.uri)b=n(a.uri);else if(a.domain)b=d.protocol+"//"+a.domain;else throw"Unable to retrieve the origin of the event";b==j&&a.data.substring(0,c.channel.length+1)==c.channel+" "&&f.up.incoming(a.data.substring(c.channel.length+1),b)}var f,g,h,j;return f={outgoing:function(a,b,d){h.postMessage(c.channel+" "+a,b||j);d&&d()},destroy:function(){E(b,"message",e);g&&(h=null,g.parentNode.removeChild(g),g=null)},
onDOMReady:function(){j=n(c.remote);c.isHost?(y(b,"message",function B(d){d.data==c.channel+"-ready"&&(h="postMessage"in g.contentWindow?g.contentWindow:g.contentWindow.document,E(b,"message",B),y(b,"message",e),a(function(){f.up.callback(!0)},0))}),r(c.props,{src:o(c.remote,{xdm_e:n(d.href),xdm_c:c.channel,xdm_p:1}),name:w+c.channel+"_provider"}),g=t(c)):(y(b,"message",e),h="postMessage"in b.parent?b.parent:b.parent.document,h.postMessage(c.channel+"-ready",j),a(function(){f.up.callback(!0)},0))},
init:function(){i(f.onDOMReady,f)}}};l.stack.FrameElementTransport=function(c){var f,g,h,j;return f={outgoing:function(a,b,c){h.call(this,a);c&&c()},destroy:function(){g&&(g.parentNode.removeChild(g),g=null)},onDOMReady:function(){j=n(c.remote);if(c.isHost)r(c.props,{src:o(c.remote,{xdm_e:n(d.href),xdm_c:c.channel,xdm_p:5}),name:w+c.channel+"_provider"}),g=t(c),g.fn=function(b){delete g.fn;h=b;a(function(){f.up.callback(!0)},0);return function(a){f.up.incoming(a,j)}};else{if(e.referrer&&n(e.referrer)!=
x.xdm_e)b.top.location=x.xdm_e;h=b.frameElement.fn(function(a){f.up.incoming(a,j)});f.up.callback(!0)}},init:function(){i(f.onDOMReady,f)}}};l.stack.NixTransport=function(c){var f,h,j,k,v;return f={outgoing:function(a,b,c){j(a);c&&c()},destroy:function(){v=null;h&&(h.parentNode.removeChild(h),h=null)},onDOMReady:function(){k=n(c.remote);if(c.isHost){try{g(b,"getNixProxy")||b.execScript("Class NixProxy\n    Private m_parent, m_child, m_Auth\n\n    Public Sub SetParent(obj, auth)\n        If isEmpty(m_Auth) Then m_Auth = auth\n        SET m_parent = obj\n    End Sub\n    Public Sub SetChild(obj)\n        SET m_child = obj\n        m_parent.ready()\n    End Sub\n\n    Public Sub SendToParent(data, auth)\n        If m_Auth = auth Then m_parent.send(CStr(data))\n    End Sub\n    Public Sub SendToChild(data, auth)\n        If m_Auth = auth Then m_child.send(CStr(data))\n    End Sub\nEnd Class\nFunction getNixProxy()\n    Set GetNixProxy = New NixProxy\nEnd Function\n",
"vbscript"),v=getNixProxy(),v.SetParent({send:function(a){f.up.incoming(a,k)},ready:function(){a(function(){f.up.callback(!0)},0)}},c.secret),j=function(a){v.SendToChild(a,c.secret)}}catch(i){throw Error("Could not set up VBScript NixProxy:"+i.message);}r(c.props,{src:o(c.remote,{xdm_e:n(d.href),xdm_c:c.channel,xdm_s:c.secret,xdm_p:3}),name:w+c.channel+"_provider"});h=t(c);h.contentWindow.opener=v}else{if(e.referrer&&n(e.referrer)!=x.xdm_e)b.top.location=x.xdm_e;try{v=b.opener}catch(l){throw Error("Cannot access window.opener");
}v.SetChild({send:function(a){m.setTimeout(function(){f.up.incoming(a,k)},0)}});j=function(a){v.SendToParent(a,c.secret)};a(function(){f.up.callback(!0)},0)}},init:function(){i(f.onDOMReady,f)}}};l.stack.NameTransport=function(b){function c(a){j.contentWindow.sendMessage(a,b.remoteHelper+(h?"#_3":"#_2")+b.channel)}function d(){h?(++m===2||!h)&&g.up.callback(!0):(c("ready"),g.up.callback(!0))}function e(a){g.up.incoming(a,s)}function f(){N&&a(function(){N(!0)},0)}var g,h,j,k,m,N,s,q;return g={outgoing:function(a,
b,d){N=d;c(a)},destroy:function(){j.parentNode.removeChild(j);j=null;h&&(k.parentNode.removeChild(k),k=null)},onDOMReady:function(){h=b.isHost;m=0;s=n(b.remote);b.local=p(b.local);h?(l.Fn.set(b.channel,function(a){h&&a==="ready"&&(l.Fn.set(b.channel,e),d())}),q=o(b.remote,{xdm_e:b.local,xdm_c:b.channel,xdm_p:2}),r(b.props,{src:q+"#"+b.channel,name:w+b.channel+"_provider"}),k=t(b)):(b.remoteHelper=b.remote,l.Fn.set(b.channel,e));j=t({props:{src:b.local+"#_4"+b.channel},onLoad:function R(){var c=j||
this;E(c,"load",R);l.Fn.set(b.channel+"_load",f);(function T(){typeof c.contentWindow.sendMessage=="function"?d():a(T,50)})()}})},init:function(){i(g.onDOMReady,g)}}};l.stack.HashTransport=function(c){function d(){if(k){var a=k.location.href,b="",c=a.indexOf("#");c!=-1&&(b=a.substring(c));b&&b!=j&&(j=b,e.up.incoming(j.substring(j.indexOf("_")+1),s))}}var e,f,g,h,j,o,k,m,l,s;return e={outgoing:function(a){if(m)a=c.remote+"#"+o++ +"_"+a,(f||!l?m.contentWindow:m).location=a},destroy:function(){b.clearInterval(g);
(f||!l)&&m.parentNode.removeChild(m);m=null},onDOMReady:function(){f=c.isHost;h=c.interval;j="#"+c.channel;o=0;l=c.useParent;s=n(c.remote);if(f){c.props={src:c.remote,name:w+c.channel+"_provider"};if(l)c.onLoad=function(){k=b;g=setInterval(d,h);e.up.callback(!0)};else{var i=0,q=c.delay/50;(function S(){if(++i>q)throw Error("Unable to reference listenerwindow");try{k=m.contentWindow.frames[w+c.channel+"_consumer"]}catch(b){}k?(g=setInterval(d,h),e.up.callback(!0)):a(S,50)})()}m=t(c)}else k=b,g=setInterval(d,
h),l?(m=parent,e.up.callback(!0)):(r(c,{props:{src:c.remote+"#"+c.channel+new Date,name:w+c.channel+"_consumer"},onLoad:function(){e.up.callback(!0)}}),m=t(c))},init:function(){i(e.onDOMReady,e)}}};l.stack.ReliableBehavior=function(){var a,b,c=0,d=0,e="";return a={incoming:function(f,g){var h=f.indexOf("_"),i=f.substring(0,h).split(","),f=f.substring(h+1);i[0]==c&&(e="",b&&b(!0));f.length>0&&(a.down.outgoing(i[1]+","+c+"_"+e,g),d!=i[1]&&(d=i[1],a.up.incoming(f,g)))},outgoing:function(f,g,h){e=f;b=
h;a.down.outgoing(d+","+ ++c+"_"+f,g)}}};l.stack.QueueBehavior=function(b){function d(){if(b.remove&&g.length===0)u(e);else if(!h&&!(g.length===0||o)){h=!0;var c=g.shift();e.down.outgoing(c.data,c.origin,function(b){h=!1;c.callback&&a(function(){c.callback(b)},0);d()})}}var e,g=[],h=!0,i="",o,k=0,m=!1,l=!1;return e={init:function(){j(b)&&(b={});if(b.maxLength)k=b.maxLength,l=!0;b.lazy?m=!0:e.down.init()},callback:function(a){h=!1;var b=e.up;d();b.callback(a)},incoming:function(a,c){if(l){var d=a.indexOf("_"),
g=parseInt(a.substring(0,d),10);i+=a.substring(d+1);g===0&&(b.encode&&(i=f(i)),e.up.incoming(i,c),i="")}else e.up.incoming(a,c)},outgoing:function(a,f,h){b.encode&&(a=c(a));var i=[],j;if(l){for(;a.length!==0;)j=a.substring(0,k),a=a.substring(j.length),i.push(j);for(;j=i.shift();)g.push({data:i.length+"_"+j,origin:f,callback:i.length===0?h:null})}else g.push({data:a,origin:f,callback:h});m?e.down.init():d()},destroy:function(){o=!0;e.down.destroy()}}};l.stack.VerifyBehavior=function(a){function b(){d=
Math.random().toString(16).substring(2);c.down.outgoing(d)}var c,d,e;return c={incoming:function(f,g){var h=f.indexOf("_");h===-1?f===d?c.up.callback(!0):e||(e=f,a.initiate||b(),c.down.outgoing(f)):f.substring(0,h)===e&&c.up.incoming(f.substring(h+1),g)},outgoing:function(a,b,e){c.down.outgoing(d+"_"+a,b,e)},callback:function(){a.initiate&&b()}}};l.stack.RpcBehavior=function(a,b){function c(a){a.jsonrpc="2.0";f.down.outgoing(g.stringify(a))}function d(a,b){var e=Array.prototype.slice;return function(){var d=
arguments.length,f,g={method:b};d>0&&typeof arguments[d-1]==="function"?(d>1&&typeof arguments[d-2]==="function"?(f={success:arguments[d-2],error:arguments[d-1]},g.params=e.call(arguments,0,d-2)):(f={success:arguments[d-1]},g.params=e.call(arguments,0,d-1)),i[""+ ++h]=f,g.id=h):g.params=e.call(arguments,0);if(a.namedParams&&g.params.length===1)g.params=g.params[0];c(g)}}function e(a,b,d,f){if(d){var g,h;b?(g=function(a){g=A;c({id:b,result:a})},h=function(a,d){h=A;var e={id:b,error:{code:-32099,message:a}};
if(d)e.error.data=d;c(e)}):g=h=A;Object.prototype.toString.call(f)==="[object Array]"||(f=[f]);try{var i=d.method.apply(d.scope,f.concat([g,h]));j(i)||g(i)}catch(o){h(o.message)}}else b&&c({id:b,error:{code:-32601,message:"Procedure not found."}})}var f,g=b.serializer||s(),h=0,i={};return f={incoming:function(a){a=g.parse(a);if(a.method)b.handle?b.handle(a,c):e(a.method,a.id,b.local[a.method],a.params);else{var d=i[a.id];a.error?d.error&&d.error(a.error):d.success&&d.success(a.result);delete i[a.id]}},
init:function(){if(b.remote)for(var c in b.remote)b.remote.hasOwnProperty(c)&&(a[c]=d(b.remote[c],c));f.down.init()},destroy:function(){for(var c in b.remote)b.remote.hasOwnProperty(c)&&a.hasOwnProperty(c)&&delete a[c];f.down.destroy()}}};m.easyXDM=l})(window,document,location,window.setTimeout,decodeURIComponent,encodeURIComponent);
DISQUS.net={easyXDM:easyXDM.noConflict("DISQUS.net"),rpc:function(b,e){if(!b.swf)b.swf=DISQUS.settings.get("disqus.debug")?DISQUS.settings.get("disqus.urls.main")+"/xdm.swf":DISQUS.settings.get("disqus.urls.media")+"/xdm.swf";if(typeof b.hash=="undefined")b.hash=!DISQUS.settings.get("disqus.debug");DISQUS.extend(e,{serializer:{parse:DISQUS.json.parse,stringify:DISQUS.json.stringify}});var d=new DISQUS.net.easyXDM.Rpc(b,e);d.isReady=!1;return d}};(function(){function b(a){return a<10?"0"+a:a}function e(a){g.lastIndex=0;return g.test(a)?'"'+a.replace(g,function(a){var b=k[a];return typeof b==="string"?b:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+a+'"'}function d(a,b){var c,g,k,q,p=h,u,m=b[a];m&&typeof m==="object"&&typeof m.toJSON==="function"&&!f&&(m=m.toJSON(a));typeof n==="function"&&(m=n.call(b,a,m));switch(typeof m){case "string":return e(m);case "number":return isFinite(m)?String(m):"null";case "boolean":case "null":return String(m);
case "object":if(!m)return"null";h+=i;u=[];if(Object.prototype.toString.apply(m)==="[object Array]"){q=m.length;for(c=0;c<q;c+=1)u[c]=d(c,m)||"null";k=u.length===0?"[]":h?"[\n"+h+u.join(",\n"+h)+"\n"+p+"]":"["+u.join(",")+"]";h=p;return k}if(n&&typeof n==="object"){q=n.length;for(c=0;c<q;c+=1)g=n[c],typeof g==="string"&&(k=d(g,m))&&u.push(e(g)+(h?": ":":")+k)}else for(g in m)Object.hasOwnProperty.call(m,g)&&(k=d(g,m))&&u.push(e(g)+(h?": ":":")+k);k=u.length===0?"{}":h?"{\n"+h+u.join(",\n"+h)+"\n"+
p+"}":"{"+u.join(",")+"}";h=p;return k}}var a={},f=!1;if(typeof Date.prototype.toJSON!=="function")Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+b(this.getUTCMonth()+1)+"-"+b(this.getUTCDate())+"T"+b(this.getUTCHours())+":"+b(this.getUTCMinutes())+":"+b(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()};var c=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
g=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,h,i,k={"\u0008":"\\b","\t":"\\t","\n":"\\n","\u000c":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},n;a.stringify=function(a,b,c){var e;i=h="";if(typeof c==="number")for(e=0;e<c;e+=1)i+=" ";else typeof c==="string"&&(i=c);if((n=b)&&typeof b!=="function"&&(typeof b!=="object"||typeof b.length!=="number"))throw Error("JSON.stringify");return d("",{"":a})};a.parse=function(a,b){function d(a,
c){var e,f,g=a[c];if(g&&typeof g==="object")for(e in g)Object.hasOwnProperty.call(g,e)&&(f=d(g,e),f!==void 0?g[e]=f:delete g[e]);return b.call(a,c,g)}var e,a=String(a);c.lastIndex=0;c.test(a)&&(a=a.replace(c,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)}));if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return e=eval("("+a+")"),
typeof b==="function"?d({"":e},""):e;throw new SyntaxError("JSON.parse");};DISQUS.json={};var p={a:[1,2,3]};if(Object.toJSON&&Object.toJSON(p).replace(/\s/g,"")==='{"a":[1,2,3]}')DISQUS.json.stringify=Object.toJSON;if(typeof String.prototype.evalJSON==="function"&&(p='{"a":[1,2,3]}'.evalJSON(),p.a&&p.a.length===3&&p.a[2]===3))DISQUS.json.parse=function(a){return a.evalJSON()};(function(){var a=[1,2,3];typeof a.toJSON==="function"&&(a=a.toJSON(),f=!(a&&a.length===3&&a[2]===3))})();if(!DISQUS.json.stringify||
!DISQUS.json.parse)DISQUS.json={stringify:a.stringify,parse:a.parse}})();DISQUS.sdk.add("getThread","1.0",function(b){var e=DISQUS.jsonData,d=[];DISQUS.each(e.ordered_posts,function(a){var a=e.posts[a],b=e.users[a.user_key];d.push({id:a.id,date:a.real_date,prettyDate:a.date,contents:a.message,likesCount:a.likes,isApproved:a.approved,isDeleted:a.killed,isEdited:a.edited,author:{username:b.username,displayName:b.display_name,points:b.points||0,isRegistered:b.registered,isModerator:a.author_is_moderator,isVerified:b.verified}})});b({id:e.thread.id,slug:e.thread.slug,isClosed:e.thread.closed,
isDeleted:e.thread.killed,posts:d,forum:{id:e.forum.id,name:e.forum.name,shortname:e.forum.url,language:e.forum.language,apiKey:e.forum.apiKey}})});DISQUS.sdk.add("getSession","1.0",function(b){var e=DISQUS.jsonData;b({user:{username:e.request.username,profileUrl:e.request.profile_url,displayName:e.request.display_username,points:e.request.points,isAuthenticated:e.request.is_authenticated,isModerator:e.request.is_moderator,isVerified:e.request.is_verified}})});DISQUS.addBlocks("defaults")(function(b){b.blocks.comment=function(e,d){var a=new b.Builder,f=DISQUS.extend({},e,d);with(f)return a.put("    "),a.compile()};b.blocks.postSharingOptions=function(e,d){var a=new b.Builder,f=DISQUS.extend({},e,d);with(f){a.put("  ");if(request.is_authenticated){a.put('<div class="dsq-sharing-options dsq-tt"');request.display_sharing_options||a.put('style="display:none;"');a.put('title="');a.put(trans("Toggle to share your comment"));a.put('">');if(request.sharing.twitter.enabled||
request.sharing.facebook.enabled)a.put('<span class="dsq-sharing-options-label">'),a.put(trans("Share on")),a.put("</span>"),request.sharing.twitter.enabled&&(a.put('<button type="button" class="dsq-share-toggle" id="dsq-share-twitter" onclick="DISQUS.dtpl.actions.fire(\'share.toggle\', this, \'twitter\''),comment&&(a.put(","),a.put((a.esc||function(a){return a})(comment.id))),a.put(');"><span class="dsq-share-icon"></span><span class="dsq-share-status"></span></button>')),request.sharing.facebook.enabled&&
(a.put('<button type="button" class="dsq-share-toggle" id="dsq-share-facebook"onclick="DISQUS.dtpl.actions.fire(\'share.toggle\', this, \'facebook\''),comment&&(a.put(","),a.put((a.esc||function(a){return a})(comment.id))),a.put(');"><span class="dsq-share-icon"></span><span class="dsq-share-status"></span></button>')),a.put('<input style="display: none" type="checkbox" id="dsq-sharing-twitter'),comment&&(a.put("-"),a.put((a.esc||function(a){return a})(comment.id))),a.put('" />    <input style="display: none" type="checkbox" id="dsq-sharing-facebook'),
comment&&(a.put("-"),a.put((a.esc||function(a){return a})(comment.id))),a.put('" />');a.put("</div>")}return a.compile()}};b.blocks.messagesxNotice=function(e,d){var a=new b.Builder,f=DISQUS.extend({},e,d);with(f)return a.put('    <div class="dsq-messagesx-icon">    </div>    <p>        '),a.put((a.esc||function(a){return a})(message.formatted.text)),a.put("    </p>"),a.compile()};b.blocks.googleForm=function(e,d){var a=new b.Builder,f=DISQUS.extend({},e,d);with(f)return a.put('  <div id="dsq-login-google-content" class="dsq-auth-form">    <div class="dsq-connect-msg">      <h3>'),
a.put(trans("Sign in with your Google account")),a.put("</h3>      <p>"),a.put(trans("Click the button below to continue.")),a.put('</p>      <p><span class="dsq-google-connect dsq-external-launcher"></span></p>    </div>    <div class="dsq-remote-authentication" style="display:none !important">      <img src="'),a.put((a.esc||function(a){return a})(settings.media_url)),a.put('/images/dsq-loader.gif">      <p>'),a.put(trans("Connecting to Google")),a.put("</p>    </div>    <p><small>"),a.put(trans("You might need to disable your popup blocker to sign in.")),
a.put("</small></p>  </div>"),a.compile()};b.blocks.facebookLoginForm=function(e,d){var a=new b.Builder,f=DISQUS.extend({},e,d);with(f){a.put('  <div id="dsq-login-facebook-content" class="dsq-auth-form">    <div class="dsq-connect-msg">      ');if(typeof title==="undefined"||title)a.put("      <h3>"),a.put(trans("Sign in with your Facebook account")),a.put("</h3>      ");a.put("      <p>");a.put(trans("Click the button below to continue."));a.put('</p>      <p id="dsq-login-facebook-frame">        <\!-- frame goes here --\>      </p>    </div>    <div class="dsq-remote-authentication" style="display:none !important">      <img src="');
a.put((a.esc||function(a){return a})(settings.media_url));a.put('/images/dsq-loader.gif" />      <p>');a.put(trans("Connecting to Facebook"));a.put("</p>    </div>    <p><small>");a.put(trans("You might need to disable your popup blocker to sign in."));a.put("</small></p>  </div>");return a.compile()}};b.blocks.reportConfirmation=function(e,d){var a=new b.Builder,f=DISQUS.extend({},e,d);with(f)return a.put('  <div style="text-align: center">  <button type="button" class="dsq-button" onclick="DISQUS.dtpl.actions.fire(\'comments.report\', '),
a.put((a.esc||function(a){return a})(id)),a.put(', true);">     '),a.put(trans("Yes, flag as inappropriate")),a.put('  </button>  <a href="#" onclick="DISQUS.popup.close(null, true); return false;" style="margin: 0 0 0 10px">    '),a.put(trans("Cancel")),a.put("  </a>  <br/><br/>  </div>  "),a.put(trans("This will flag comments for moderators to take action.")),a.compile()};b.blocks.globalToolbarDropdown=function(e,d){var a=new b.Builder,f=DISQUS.extend({},e,d);with(f)return a.put("  "),a.put('  <div id="dsq-toolbar-dropdown">    <a href="#" class="dsq-toolbar-logo dsq-toolbar-item dsq-clearfix"><span class="dsq-toolbar-icon">Disqus</span></a>    <div id="dsq-toolbar-dropdown-wrap" style="display: none">      <ul class="dsq-clearfix">        '),
request.is_authenticated?(a.put("            "),!request.is_remote&&!forum.disqus_auth_disabled?(a.put('                <li class="dsq-dashboard-link"><a href="#" onclick="DISQUS.dtpl.actions.fire(\'profile.dashboard\'); return false"><span class="dsq-toolbar-icon"></span><span class="dsq-toolbar-label">'),a.put(trans("Dashboard")),a.put('</span></a></li>                <li class="dsq-editprofile-link"><a href="#" onclick="DISQUS.dtpl.actions.fire(\'profile.edit\'); return false"><span class="dsq-toolbar-icon"></span><span class="dsq-toolbar-label">'),
a.put(trans("Edit Profile")),a.put("</span></a></li>            ")):request.is_remote&&request.has_email&&(a.put('                <li class="dsq-editprofile-link"><a href="#" onclick="return DISQUS.dtpl.actions.fire(\'user.remoteAccountSettings\');"><span class="dsq-toolbar-icon"></span><span class="dsq-toolbar-label">'),a.put(trans("Settings")),a.put("</span></a></li>            ")),a.put("            "),request.is_sso&&config.sso&&config.sso.logout?(a.put('              <li class="dsq-logout-link"><a href="'),
a.put((a.esc||function(a){return a})(config.sso.logout))):(a.put('              <li class="dsq-logout-link"><a href="'),a.put((a.esc||function(a){return a})(urls.logout)),a.put("?ctkn="),a.put((a.esc||function(a){return a})(context.csrf_token))),a.put('"><span class="dsq-toolbar-icon"></span><span class="dsq-toolbar-label">'),a.put(trans("Logout")),a.put("</span></a></li>            "),a.put("        ")):(a.put('            <li class="dsq-login-link"><a href="#" onclick="DISQUS.dtpl.actions.fire(\'auth.login\'); return false"><span class="dsq-toolbar-icon"></span><span class="dsq-toolbar-label">'),
a.put(trans("Login")),a.put("</span></a></li>        ")),a.put('            <li class="dsq-about-link"><a href="http://disqus.com" target="_blank"><span class="dsq-toolbar-icon"></span><span class="dsq-toolbar-label">'),a.put(trans("About Disqus")),a.put("</span></a></li>      </ul>    </div>  </div>"),a.compile()};b.blocks.messagesxReply=function(e,d){var a=new b.Builder,f=DISQUS.extend({},e,d);with(f)return a.put('    <div class="dsq-messagesx-icon">        <img src="'),a.put((a.esc||function(a){return a})(settings.media_url)),
a.put('/img/disqus-bar/icons/reply.png" />    </div>   <p>        '),a.put((a.esc||function(a){return a})(message.formatted.text)),a.put("    </p>"),a.compile()};b.blocks.moderatorActionsPopup=function(e,d){var a=new b.Builder,f=DISQUS.extend({},e,d);with(f)return a.put("  "),a.put('<div class="dsq-moderate-options">    <table>      <tr>        <th>'),a.put(trans("Actions")),a.put("</th>        <td>          <ul>            <li>"),thread.closed?(a.put('<a href="#" onclick="return DISQUS.dtpl.actions.fire(\'thread.open\');">'),
a.put(trans("Open thread"))):(a.put('<a href="#" onclick="return DISQUS.dtlp.actions.fire(\'thread.close\');">'),a.put(trans("Close thread"))),a.put("</a>"),a.put("</li>          </ul>        </td>      </tr>    </table>  </div>  <p>"),a.put(trans("Go to the full")),a.put('<a href="'),a.put((a.esc||function(a){return a})(urls.moderate_threads)),a.put('" target="_blank">'),a.put(trans("moderate panel")),a.put("</a>"),a.put(trans("for more options")),a.put(".</p>"),a.put("  "),a.compile()};b.blocks.comments=
function(e,d){var a=new b.Builder,f=DISQUS.extend({},e,d);with(f)return a.put('    <div id="dsq-edit-profile-suggestion" style="display:none">        <p>'),a.put(trans("Thanks for posting.")),a.put(" "),a.put(trans("Would you like to")),a.put(' <a href="#" onclick="DISQUS.dtpl.actions.fire(\'profile.edit\'); return false">edit your profile</a>?</p>    </div>    '),b.each(comments,function(c,d){var e={comment:c,index:d};a.put("        ");(function(){var c={};b.extend(c,e);b.extend(c,{});a.put(b.renderBlock("comment",
c))})();a.put("    ")}),a.compile()};b.blocks.oldFlashMessage=function(e,d){var a=new b.Builder,f=DISQUS.extend({},e,d);with(f)return a.put(trans("You are using an older browser. In order to comment, please upgrade to either Flash 10 or Internet Explorer 8.")),a.compile()};b.blocks.publisherFacebookLoginForm=function(e,d){var a=new b.Builder,f=DISQUS.extend({},e,d);with(f)return a.put('    <div id="dsq-login-facebook-content" class="dsq-auth-form">      <div class="dsq-connect-msg">        <h3>'),
a.put(trans("Sign in with your Facebook account")),a.put("</h3>        <p>"),a.put(trans("Click the button below to continue.")),a.put('</p>        <p><span class="dsq-facebook-connect dsq-external-launcher"></span></p>      </div>      <div class="dsq-remote-authentication" style="display:none !important">        <img src="'),a.put((a.esc||function(a){return a})(settings.media_url)),a.put('/images/dsq-loader.gif" />        <p>'),a.put(trans("Connecting to Facebook")),a.put("</p>      </div>      <p><small>"),
a.put(trans("You might need to disable your popup blocker to sign in.")),a.put("</small></p>    </div>"),a.compile()};b.blocks.permalinkPopup=function(e,d){var a=new b.Builder,f=DISQUS.extend({},e,d);with(f)return a.put('<div class="dsq-field">    <label>'),a.put(trans("You are anchored to")),a.put('</label>    <input type="text" readonly="true" class="dsq-anchored-to"       value="'),a.put((a.esc||function(a){return a})(document.location.protocol)),a.put("//"),a.put((a.esc||function(a){return a})(document.location.host)),
a.put((a.esc||function(a){return a})(document.location.pathname)),a.put((a.esc||function(a){return a})(document.location.search)),a.put("#comment-"),a.put((a.esc||function(a){return a})(postId)),a.put('"/></div>'),a.compile()};b.blocks.openidForm=function(e,d){var a=new b.Builder,f=DISQUS.extend({},e,d);with(f)return a.put('  <div class="dsq-auth-form">    <p class="dsq-field">      <label for="dsq-openid-url">'),a.put(trans("OpenID URL")),a.put('</label>      <input type="text" id="dsq-openid-url" value="http://"/>    </p>    <p class="dsq-field">      <label for="dsq-openid-url">'),
a.put(trans("Your name")),a.put('</label>      <input type="text" id="dsq-openid-username"/>    </p>    <p><button class="dsq-button" id="dsq-openid-submit-button">'),a.put(trans("Sign in")),a.put("</button></p>  </div>"),a.compile()};b.blocks.loginPopup=function(e,d){var a=new b.Builder,f=DISQUS.extend({},e,d);with(f)return a.put('  <div class="dsq-tabbed-modal" id="dsq-tabbed-login-modal">    <ul class="dsq-modal-tabs">      '),guestTab&&(a.put('      <li id="dsq-login-tab-guest"><a href="#dsq-login-guest" '),
forum.allow_anon_post||a.put(' style="display: none !important"'),a.put("><span></span>"),a.put(trans("Guest")),a.put("</a></li>      ")),a.put("      "),config.sso&&(a.put('<li id="dsq-login-tab-sso"><a href="#dsq-login-sso"><span></span>'),a.put((a.esc||function(a){return a})(config.sso.name)),a.put("</a></li>")),a.put("      "),forum.disqus_auth_disabled||a.put('      <li id="dsq-login-tab-disqus"><a href="#dsq-login-disqus"><span></span>Disqus</a></li>      '),a.put('      <li id="dsq-login-tab-google"><a href="#dsq-login-google"><span></span>Google</a></li>      <li id="dsq-login-tab-twitter"><a href="#dsq-login-twitter"><span></span>Twitter</a></li>      <li id="dsq-login-tab-facebook"><a href="#dsq-login-facebook"><span></span>Facebook</a></li>      <li id="dsq-login-tab-yahoo"><a href="#dsq-login-yahoo"><span></span>Yahoo</a></li>      <li id="dsq-login-tab-openid"><a href="#dsq-login-openid"><span></span>OpenID</a></li>    </ul>    <div class="dsq-tab-container">      <div id="dsq-login-guest" class="dsq-tab-content dsq-auth-form" style="display: none !important">        <p class="dsq-field">          <label for="dsq-field-email" id="dsq-field-email-label">'),
a.put(trans("Your email")),a.put('</label>          <input type="text"            value="'),config.def_email?a.put((a.esc||function(a){return a})(config.def_email)):session.email&&a.put((a.esc||function(a){return a})(session.email)),a.put('" id="dsq-field-email"/>          </span>        <p class="dsq-field">          <label for="dsq-field-name" id="dsq-field-name-label">'),a.put(trans("Your name")),a.put('</label>          <input type="text"            value="'),config.def_name?a.put((a.esc||function(a){return a})(config.def_name)):
session.name?a.put((a.esc||function(a){return a})(session.name)):a.put(trans("Guest")),a.put('" id="dsq-field-name" />        </p>        <p>          <span class="dsq-login-add-url">'),a.put(trans("Optional")),a.put(': <a href="#">'),a.put(trans("Link to your website")),a.put('</a></span>        </p>        <p class="dsq-field" style="display:none !important" id="dsq-optional-field-website">          <label for="dsq-field-website" id="dsq-field-website-label">'),a.put(trans("Your website")),a.put('</label>          <input type="text" value="'),
session.url&&a.put((a.esc||function(a){return a})(session.url)),a.put('" id="dsq-field-website" />        </p>        <p class="dsq-login-subscribe">          <span>            <input id="dsq-subscribe-on-post'),comment&&(a.put("-"),a.put((a.esc||function(a){return a})(comment.id))),a.put('" type="checkbox"              '),request.subscribe_on_post&&a.put('checked="true"'),a.put('/>          </span>          <label for="dsq-subscribe-on-post'),comment&&(a.put("-"),a.put((a.esc||function(a){return a})(comment.id))),
a.put('">'),a.put(trans("Subscribe to all comments by email")),a.put('</label>        </p>        <p>          <button type="button" id="dsq-submit-guest" class="dsq-button">'),a.put(trans("Post comment")),a.put("</button>        </p>      </div>        "),a.put("        "),typeof states.useLoginWindow!=="undefined"&&!states.useLoginWindow?a.put('            <div id="dsq-login-disqus" class="dsq-tab-content dsq-auth-form" style="display: none !important">              <\!-- disqus iframe gets inserted here dynamically --\>            </div>        '):
(a.put('        <div id="dsq-login-disqus" class="dsq-tab-content dsq-auth-form" style="display: none !important">              <div class="dsq-connect-msg">                <h3>'),a.put(trans("Sign in with your Disqus account")),a.put("</h3>                <p>"),a.put(trans("Click the button below to continue.")),a.put('</p>                <p><span class="dsq-disqus-connect dsq-external-launcher"></span></p>              </div>            <div class="dsq-remote-authentication" style="display:none !important">              <img src="'),
a.put((a.esc||function(a){return a})(settings.media_url)),a.put('/images/dsq-loader.gif" />              <p>'),a.put(trans("Connecting to Disqus")),a.put("</p>            </div>            <p><small>"),a.put(trans("You might need to disable your popup blocker to sign in.")),a.put("</small></p>        </div>        ")),a.put('        <div id="dsq-login-facebook" class="dsq-tab-content" style="display:none !important">            '),a.put("            "),context.forum_facebook_key&&(!window.FB||!window.FB.dynData)?
(a.put("                "),function(){var c={};b.extend(c,d);b.extend(c,{});a.put(b.renderBlock("publisherFacebookLoginForm",c))}()):(a.put(" "),a.put("                "),function(){var c={};b.extend(c,d);b.extend(c,{});a.put(b.renderBlock("facebookLoginForm",c))}()),a.put("            "),a.put('        </div>        <div id="dsq-login-twitter" class="dsq-tab-content dsq-auth-form" style="display:none !important">          <div class="dsq-connect-msg">            <h3>'),a.put(trans("Sign in with your Twitter account")),
a.put("</h3>            <p>"),a.put(trans("Click the button below to continue.")),a.put('</p>            <p><span class="dsq-twitter-connect dsq-external-launcher"></span></p>          </div>          <div class="dsq-remote-authentication" style="display:none !important">            <img src="'),a.put((a.esc||function(a){return a})(settings.media_url)),a.put('/images/dsq-loader.gif" />            <p>'),a.put(trans("Connecting to Twitter")),a.put("</p>          </div>          <p><small>"),a.put(trans("You might need to disable your popup blocker to sign in.")),
a.put('</small></p>        </div>        <div id="dsq-login-openid" class="dsq-tab-content" style="display:none !important">          '),function(){var c={};b.extend(c,d);b.extend(c,{});a.put(b.renderBlock("openidForm",c))}(),a.put('        </div>        <div id="dsq-login-google" class="dsq-tab-content" style="display:none !important">          '),function(){var c={};b.extend(c,d);b.extend(c,{});a.put(b.renderBlock("googleForm",c))}(),a.put('        </div>        <div id="dsq-login-yahoo" class="dsq-tab-content dsq-auth-form" style="display: none !important">          <div class="dsq-connect-msg">            <h3>'),
a.put(trans("Sign in with your Yahoo account")),a.put("</h3>            <p>"),a.put(trans("Click the button below to continue.")),a.put('</p>            <p><span class="dsq-yahoo-connect dsq-external-launcher"></span></p>          </div>          <div class="dsq-remote-authentication" style="display:none !important">            <img src="'),a.put((a.esc||function(a){return a})(settings.media_url)),a.put('/images/dsq-loader.gif" />            <p>'),a.put(trans("Connecting to Yahoo")),a.put("</p>          </div>          <p><small>"),
a.put(trans("You might need to disable your popup blocker to sign in.")),a.put("</small></p>        </div>        "),config.sso&&(a.put('        <div id="dsq-login-sso" class="dsq-tab-content dsq-auth-form" style="display:none !important">          <div class="dsq-connect-msg">            <h3>'),a.put(b.interpolate(trans("Sign in with your %(account)s account"),{account:config.sso.name})),a.put("</h3>            <p>"),a.put(trans("Click the button below to continue.")),a.put('</p>            <p><span class="dsq-sso-connect dsq-external-launcher"><img src="'),
a.put((a.esc||function(a){return a})(config.sso.button)),a.put('"/></span></p>          </div>          <div class="dsq-remote-authentication" style="display:none !important">            <img src="'),a.put((a.esc||function(a){return a})(settings.media_url)),a.put('/images/dsq-loader.gif" />            <p>'),a.put(b.interpolate(trans("Connecting to %(account)s"),{account:config.sso.name})),a.put("</p>          </div>          <p><small>"),a.put(trans("You might need to disable your popup blocker to sign in.")),
a.put("</small></p>        </div>        ")),a.put("    </div>  </div>"),a.compile()};b.blocks.profileEdit=function(e,d){var a=new b.Builder,f=DISQUS.extend({},e,d);with(f)return a.put('  <div class="dsq-tabbed-modal" id="dsq-profile-edit-modal">    <ul class="dsq-modal-tabs">      '),has_unmerged_users&&(a.put('      <li id="dsq-tab-profile-merge">        <a href="#dsq-profile-merge">          <span></span>'),a.put(trans("Merging")),a.put("        </a>      </li>      ")),a.put('      <li id="dsq-tab-profile-edit">        <a href="#dsq-profile-edit">          <span></span>'),
a.put(trans("Profile")),a.put('        </a>      </li>      <li id="dsq-tab-profile-avatar">        <a href="#dsq-profile-avatar">          <span></span>'),a.put(trans("Avatar")),a.put('        </a>      </li>      <li id="dsq-tab-profile-services">        <a href="#dsq-profile-services">          <span></span>'),a.put(trans("Services")),a.put('        </a>      </li>      <li id="dsq-tab-profile-notifications">        <a href="#dsq-profile-notifications">          <span></span>'),a.put(trans("Notifications")),
a.put('        </a>      </li>      <li id="dsq-tab-profile-account">        <a href="#dsq-profile-account">          <span></span>'),a.put(trans("Account")),a.put('        </a>      </li>      <li id="dsq-tab-profile-apps">        <a href="#dsq-profile-apps">          <span></span>'),a.put(trans("Applications")),a.put('        </a>      </li>    </ul>    <div class="dsq-tab-container" style="height:90% !important;">        '),has_unmerged_users&&a.put('        <div id="dsq-profile-merge" class="dsq-tab-content"></div>        '),
a.put('        <div id="dsq-profile-edit" class="dsq-tab-content dsq-auth-form"></div>        <div id="dsq-profile-avatar" class="dsq-tab-content dsq-auth-form"></div>        <div id="dsq-profile-services" class="dsq-tab-content dsq-auth-form"></div>        <div id="dsq-profile-notifications" class="dsq-tab-content dsq-auth-form"></div>        <div id="dsq-profile-account" class="dsq-tab-content dsq-auth-form"></div>        <div id="dsq-profile-apps" class="dsq-tab-content dsq-auth-form"></div>    </div>  </div>'),
a.compile()};b.blocks.commentMessage=function(e,d){var a=new b.Builder,f=DISQUS.extend({},e,d);with(f)return a.put('  <div class="'),a.put((a.esc||function(a){return a})(cls)),a.put('" id="dsq-comment-message-'),a.put((a.esc||function(a){return a})(comment.id)),a.put('">    '),comment.killed?(a.put("      <em>"),a.put(trans("Comment removed.")),a.put("</em>    ")):comment.approved?(a.put("      "),a.put((a.esc||function(a){return a})(comment.message)),a.put("      "),comment.last_modified_by=="moderator"?
(a.put('        <p class="dsq-editedtxt">('),a.put(trans("Edited by a moderator")),a.put(")</p>      ")):comment.last_modified_by=="author"&&comment.has_replies&&(a.put('        <p class="dsq-editedtxt">('),a.put(trans("Edited by author")),a.put(" "),a.put((a.esc||function(a){return a})(comment.last_modified_date)),a.put(")</p>      ")),a.put("    ")):(a.put("      <em>"),a.put(trans("This comment was flagged for review.")),a.put("</em>    ")),a.put("  </div>"),a.compile()};b.blocks.popup=function(e,
d){var a=new b.Builder,f=DISQUS.extend({},e,d);with(f)return a.put('  <div class="dsq-popup-container '),strict&&a.put("dsq-cleanslate "),a.put('">    <table>      <tbody>        <tr>          <td class="dsq-popup-tl"></td>          <td class="dsq-popup-b"></td>          <td class="dsq-popup-tr"></td>        </tr>        <tr>          <td class="dsq-popup-b"></td>          <td class="dsq-popup-body">            <div class="dsq-popup-wrapper">                <div class="dsq-popup-title">                    <button type="button" class="dsq-popup-close dsq-button-small" style="float:right; color: #fff">'),
a.put(trans("Close")),a.put("</button>                    <h3>"),a.put((a.esc||function(a){return a})(popupHeader)),a.put('</h3>                </div>                <div class="dsq-popup-content">                  '),a.put((a.esc||function(a){return a})(popupBody)),a.put("                </div>                "),footer&&(a.put('                <div class="powered-by">                  <a href="'),a.put((a.esc||function(a){return a})(settings.disqus_url)),a.put('">                    <img src="'),
a.put((a.esc||function(a){return a})(settings.media_url)),a.put('/images/embed/disqus-logo-noborder.png" alt="Disqus Comments" style="margin-bottom:-5px;"/>                  </a>                </div>                ')),a.put('            </div>          </td>          <td class="dsq-popup-b"></td>        </tr>        <tr>          <td class="dsq-popup-bl"></td>          <td class="dsq-popup-b"></td>          <td class="dsq-popup-br"></td>        </tr>      </tbody>    </table>  </div>'),a.compile()};
b.blocks.globalToolbar=function(e,d){var a=new b.Builder,f=DISQUS.extend({},e,d);with(f)return a.put('    <div id="dsq-global-toolbar" class="dsq-clearfix">        <ul class="dsq-global-toolbar-right dsq-clearfix">        '),request.is_authenticated&&(a.put('            <li class="dsq-messages">                <div id="dsq-messagesx-toolbar-icon" class="'),messagesx.count>0&&a.put(" dsq-unread "),a.put(' dsq-dropdown-tab dsq-toolbar-item dsq-clearfix" onclick="DISQUS.dtpl.actions.fire(\'messagesx.toggleBar\'); return false;">                    <a href="#" class="dsq-message-count dsq-toolbar-label" id="dsq-messagesx-count">'),
a.put((a.esc||function(a){return a})(messagesx.count)),a.put('</a>                </div>                <div id="dsq-messagesx-toolbar-dropdown" class="dsq-dropdown">                    <h4>'),a.put(trans("Notifications")),a.put('</h4>                    <ul class="dsq-inbox" id="dsq-messagesx-inbox">                      <li id="dsq-inbox-no-messages">'),a.put(trans("You have no messages")),a.put('</li>                    </ul>                </div>                <div id="dsq-alert" class="dsq-alert dsq-alert-hidden">                  <div class="dsq-alert-notch"></div>                  <p>'),
a.put(trans("You've received a new rank!")),a.put("</p>                </div>            </li>        ")),a.put("        "),context.switches.community_icon&&(a.put('            <li class="dsq-community-box">                <a href="#" class="dsq-toolbar-item dsq-tt" onclick="DISQUS.dtpl.actions.fire(\'community.show\'); return false" title="'),a.put(trans("Expand Community Box")),a.put('"><span class="dsq-toolbar-icon"></span></a>            </li>        ')),a.put("        "),request.is_moderator&&
(a.put('            <li class="dsq-admin-settings">                <a href="#" class="dsq-toolbar-item dsq-tt" onclick="DISQUS.dtpl.actions.fire(\'thread.settings\'); return false;"  title="'),a.put(trans("Settings")),a.put('"><span class="dsq-toolbar-icon"></span></a>            </li>        ')),a.put('            <li class="dsq-global-toolbar-dropdown-container">                '),function(){var c={};b.extend(c,d);b.extend(c,{});a.put(b.renderBlock("globalToolbarDropdown",c))}(),a.put("            </li>        </ul>        "),
forum.thread_votes_disabled||(a.put('        <ul class="dsq-global-toolbar-left dsq-clearfix">            <li class="dsq-like-thread">                <a href="#" id="dsq-like-thread-button" class="dsq-toolbar-item dsq-clearfix '),thread.user_vote==1&&a.put("dsq-toggled"),a.put(' dsq-tt" onclick="DISQUS.dtpl.actions.fire(\'thread.vote\', 1); return false;" title="'),a.put(trans("I like this page")),a.put('">                    <span class="dsq-toolbar-icon"></span>                    <span class="dsq-toolbar-label">'),
a.put(trans("Like")),a.put('</span>                </a>            </li>            <li class="dsq-dislike-thread">                <a href="#" id="dsq-dislike-thread-button" class="dsq-toolbar-item dsq-clearfix '),thread.user_vote==-1&&a.put("dsq-toggled"),a.put(' dsq-tt" onclick="DISQUS.dtpl.actions.fire(\'thread.vote\', -1); return false" title="'),a.put(trans("I don&#39;t like this page")),a.put('">                    <span class="dsq-toolbar-icon">'),a.put(trans("Dislike")),a.put('</span>                </a>            </li>            <li class="dsq-like-panel">                <ul class="dsq-like-faces dsq-clearfix">                    '),
function(){var c={};b.extend(c,d);b.extend(c,{});a.put(b.renderBlock("likeActivity",c))}(),a.put("                </ul>            </li>        </ul>        ")),a.put('    </div>    <div id="dsq-like-tooltip">      <div id="dsq-share-step-1" class="dsq-share-step">        <h3>'),a.put(trans("Glad you liked it. Would you like to share?")),a.put('</h3>        <p class="dsq-tooltip-checkbox"><input type="checkbox" id="dsq-share-thread-facebook" value="Facebook" /><label for="dsq-share-thread-facebook"><span class="dsq-facebook">Facebook</span></label></p>        <p class="dsq-tooltip-checkbox"><input type="checkbox" id="dsq-share-thread-twitter" value="Twitter" /><label for="dsq-share-thread-twitter"><span class="dsq-twitter">Twitter</span></label></p>        <ul id="dsq-tooltip-actions">          '),
forum.template.api=="1.0"?a.put('              <li><a href="#" onclick="DISQUS.dtpl.actions.fire(\'thread.share\'); return false" class="dsq-primary-action">'):a.put('              <li><a href="#" onclick="DISQUS.dtpl.actions.fire(\'thread.share.send\'); return false" class="dsq-primary-action">'),a.put(trans("Share")),a.put("</a></li>          "),a.put('          <li><a href="#" onclick="DISQUS.dtpl.actions.fire(\'thread.share.cancel\'); return false" class="dsq-secondary-action">'),a.put(trans("No thanks")),
a.put('</a></li>        </ul>      </div>      <div id="dsq-share-step-2" class="dsq-share-step" style="display:none !important">        <p>'),a.put(trans("Sharing this page")),a.put(' &hellip;</p>      </div>      <div id="dsq-share-step-3" class="dsq-share-step" style="display:none !important">        <p>'),a.put(trans("Thanks!")),a.put(' <a href="#" class="dsq-tooltip-decline" onclick="DISQUS.dtpl.actions.fire(\'thread.share.cancel\'); return false">Close</a></p>      </div>    </div>    '),context.switches.show_unapproved&&
unapproved.length&&(a.put('    <div id="dsq-unapproved">      <h4>        '),unapproved.length>1?(a.put("          "),a.put(b.interpolate(trans("You have %(unapproved)s unapproved comments"),{unapproved:unapproved.length}))):(a.put("          "),a.put(trans("You have 1 unapproved comment"))),a.put("        "),a.put("      </h4>      <ul>      "),b.each(unapproved,function(b){a.put('        <li><img src="');a.put((a.esc||function(a){return a})(b.author.avatar));a.put('"/> ');a.put((a.esc||function(a){return a})(b.raw_message.replace(/\n/,
"")));a.put("</li>      ")}),a.put("      </ul>      <p>        "),unapproved.length>1?(a.put("          "),a.put(trans("A moderator needs to approve these comments before they will be published."))):(a.put("          "),a.put(trans("A moderator needs to approve this comment before it will be published."))),a.put("        "),a.put("      </p>    </div>    ")),a.compile()};b.blocks.recaptcha=function(e,d){var a=new b.Builder,f=DISQUS.extend({},e,d);with(f)return a.put('  <div id="dsq-captcha">      <div id="dsq-captcha-loading">          '),
a.put('          <img src="'),a.put((a.esc||function(a){return a})(settings.media_url)),a.put('/images/loading.gif"/>      </div>      <div id="dsq-captcha-container" style="display:none">          <p>'),a.put(trans("Please type in the following words to finish posting.")),a.put("</p>          "),a.put('          <div id="dsq-captcha-form"></div>          <button type="button" class="dsq-button">'),a.put(trans("Continue")),a.put("</button>      </div>  </div>"),a.compile()};b.blocks.messagesxPopup=
function(e,d){var a=new b.Builder,f=DISQUS.extend({},e,d);with(f)return a.put("    "),message.theme=="notice"?(a.put("        "),function(){var c={};b.extend(c,d);b.extend(c,{});a.put(b.renderBlock("messagesxNotice",c))}(),a.put("    ")):message.theme=="reply"?(a.put("        "),function(){var c={};b.extend(c,d);b.extend(c,{});a.put(b.renderBlock("messagesxReply",c))}(),a.put("    ")):message.theme=="achievement"&&(a.put("        "),function(){var c={};b.extend(c,d);b.extend(c,{});a.put(b.renderBlock("messagesxAchievement",
c))}(),a.put("    ")),a.compile()};b.blocks.unapprovedEditedComment=function(e,d){var a=new b.Builder,f=DISQUS.extend({},e,d);with(f)return a.put("  <p>"),a.put(trans("Your comment must be approved by a moderator.")),a.put("</p>  <p>"),a.put(trans("Moderators of this website chose to explicitly approve all edits made by a comment's author.")),a.put("</p>"),a.compile()};b.blocks.likeActivity=function(e,d){var a=new b.Builder,f=DISQUS.extend({},e,d);with(f)return a.put("  "),b.each(thread.voters,function(b){a.put('    <li class="dsq-tt" title="');
a.put((a.esc||function(a){return a})(b.name));a.put('"><a href="');a.put((a.esc||function(a){return a})(b.url));a.put("\" onclick=\"return DISQUS.dtpl.actions.fire('profile.show', null, '");a.put((a.esc||function(a){return a})(b.username));a.put("', ");a.put((a.esc||function(a){return a})(b.is_moderator));a.put('); return false"><img src="');a.put((a.esc||function(a){return a})(b.avatar));a.put('"/></a></li>  ')}),a.put('  <li class="dsq-like-activity">  '),thread.voters_count>0?(a.put("      "),
thread.likes-thread.voters_count>0?(a.put("          "),a.put(b.interpolate(trans("and %(count)s %(other)s liked this."),{count:thread.likes-thread.voters_count,other:lang.pluralize(thread.likes-thread.voters_count,"other","others")}))):(a.put("          "),a.put((a.esc||function(a){return a})("liked this."))),a.put("      "),a.put("  ")):thread.likes>0&&(a.put("      "),a.put(b.interpolate(trans("%(count)s %(person)s liked this."),{count:thread.likes,person:lang.pluralize(thread.likes,"person","people")})),
a.put("  ")),a.put("  </li>"),a.compile()};b.blocks.threadSettingsPopup=function(e,d){var a=new b.Builder,f=DISQUS.extend({},e,d);with(f)return a.put('  <span id="dsq-thread-settings-status" class="dsq-options-status"></span>  <p>'),a.put(trans("These settings only apply to this thread. To change settings site-wide,  visit the main")),a.put(' <a href="'),a.put((a.esc||function(a){return a})(urls.settings)),a.put('" target="_blank">'),a.put(trans("settings page")),a.put('</a>.</p>  <div class="dsq-moderate-options">    <table class="dsq-moderator-settings">      <tr>        <td>          <h4>            '),
thread.closed?(a.put('            <a href="#" class="dsq-toggle-thread"               onclick="return DISQUS.dtpl.actions.fire(\'thread.open\');">'),a.put(trans("Open thread"))):(a.put('            <a href="#" class="dsq-toggle-thread"               onclick="return DISQUS.dtpl.actions.fire(\'thread.close\');">'),a.put(trans("Close thread"))),a.put("</a>            "),a.put("          </h4>        </td>      </tr>      <tr>        <td>          <h4>"),a.put(trans("Automatic Closing")),a.put("</h4>          <p>"),
a.put(trans("Do not allow comments after")),a.put('          <input size="3" id="dsq-thread-days-alive" value="'),a.put((a.esc||function(a){return a})(thread.days_alive)),a.put('"                 type="text" /> '),a.put(trans("days")),a.put(".           "),a.put(trans("Using 0 days will disable this feature.")),a.put('</p>          <p class="dsq-form-actions">            <button type="button" onclick="DISQUS.dtpl.actions.fire(\'thread.updateDaysAlive\');" class="dsq-button-small">              <span>'),
a.put(trans("Save")),a.put("</span>            </button>          </p>        </td>      </tr>      <tr>        <td>          <h4>"),a.put(trans("Moderate all comments")),a.put('</h4>          <ul class="dsq-moderator-radios">            <li><label><input type="radio" id="dsq-thread-moderate-all"                 name="moderate_all_comments" value="1" '),thread.moderate_all&&a.put('checked="true" '),a.put("/>          "),a.put(trans("<strong>Yes</strong>, moderators must approve all comments before they are published.")),
a.put('          </label></li>            <li><label><input type="radio" name="moderate_all_comments" value="0" '),thread.moderate_none&&a.put('checked="true"'),a.put("/>          "),a.put(trans("<strong>No</strong>, comments don't need to be approved before they are published.")),a.put('</label></li>            <li><label><input type="radio" name="moderate_all_comments" value="2" '),!thread.moderate_all&&!thread.moderate_none&&a.put('checked="true"'),a.put("/>          "),a.put(trans("Use the <strong>default</strong> forum setting:")),
a.put("&nbsp;"),forum.moderate_all?a.put(trans("moderate all comments")):a.put(trans("don't require moderation")),a.put('</label></li>          </ul>          <p class="dsq-form-actions">            <button type="button" onclick="DISQUS.dtpl.actions.fire(\'thread.updateModerateAll\');" class="dsq-button-small">              <span>'),a.put(trans("Save")),a.put("</span>            </button>          </p>        </td>      </tr>      "),thread.identifiers&&(a.put("      <tr>        <td "),forum.reactions_enabled||
a.put('class="last"'),a.put(">          <h4>"),a.put(trans("Thread information:")),a.put("</h4>          <p><strong>"),a.put(trans("Shortname:")),a.put("</strong> "),a.put((a.esc||function(a){return a})(forum.url)),a.put("</p>          <p><strong>"),a.put(trans("Thread ID:")),a.put("</strong> "),a.put((a.esc||function(a){return a})(thread.id)),a.put('</p>          <p class="dsq-thread-identifiers">            <strong>'),thread.identifiers.length==1?a.put(trans("Identifier:")):a.put(trans("Identifiers:")),
a.put("</strong> "),a.put((a.esc||function(a){return a})(thread.identifiers.join(", "))),a.put("          </p>        </td>      </tr>      ")),a.put("      "),forum.reactions_enabled&&(a.put('      <tr>        <td class="last">          <h4>'),a.put(trans("Manually scan reactions")),a.put("</h4>          <p>"),a.put(trans("Are you expecting Reactions for this thread, but do not see them? Click here to tell the system to search again.")),a.put('</p>          <p class="dsq-form-actions">            <button type="button" onclick="DISQUS.dtpl.actions.fire(\'reactions.reportMissing\');" class="dsq-button-small">              <span>'),
a.put(trans("Scan")),a.put("</span>            </button>          </p>        </td>      </tr>      ")),a.put("    </table>  </div>"),a.compile()};b.blocks.moderatorOptions=function(e,d){var a=new b.Builder,f=DISQUS.extend({},e,d);with(f)return a.put("  "),request.is_moderator&&(a.put('    <div id="dsq-thread-settings" class="dsq-thread-settings">'),a.put(trans("Moderator options")),a.put(':      <a href="#" onclick="return DISQUS.dtpl.actions.fire(\'thread.settings\');">'),a.put(trans("Settings")),
a.put('</a>      <a href="#" onclick="return DISQUS.dtpl.actions.fire(\'thread.moderatorActions\');">'),a.put(trans("Moderate")),a.put('</a>      <a href="#" onclick="return DISQUS.dtpl.actions.fire(\'thread.help\');">'),a.put(trans("Help")),a.put("</a>    </div>  ")),a.compile()};b.blocks.subscribeForm=function(e,d){var a=new b.Builder,f=DISQUS.extend({},e,d);with(f)return a.put('  <div style="width:350px">    <div class="dsq-field">        <label for="dsq-subscribe-email">'),a.put(trans("Your email")),
a.put('</label>        <input type="text" id="dsq-subscribe-email"/>    </div>    <button type="button" class="dsq-button"            onclick="DISQUS.dtpl.actions.fire(\'thread.subscribe\', DISQUS.nodes.get(\'#dsq-subscribe-email\').value);">      '),a.put(trans("Subscribe")),a.put("    </button>  </div>"),a.compile()};b.blocks.moderateOptionsPopup=function(e,d){var a=new b.Builder,f=DISQUS.extend({},e,d);with(f)return a.put('  <div class="dsq-moderate-options">    <table>      '),comment.email&&
(a.put("      <tr>        <th>"),a.put(trans("Email")),a.put("</th>        <td>"),a.put((a.esc||function(a){return a})(comment.email)),a.put("</td>      </tr>      ")),a.put("      "),comment.ip&&(a.put("      <tr>        <th>"),a.put(trans("IP address")),a.put("</th>        <td>"),a.put((a.esc||function(a){return a})(comment.ip)),a.put("</td>      </tr>      ")),a.put("      <tr>        <th>"),a.put(trans("Actions")),a.put("</th>        <td>          <ul>            "),request.moderator_can_edit&&
(a.put('            <li>              <a href="#" onclick="return DISQUS.dtpl.actions.fire(\'comments.edit.new\', '),a.put((a.esc||function(a){return a})(comment.id)),a.put(');">'),a.put(trans("Edit Comment")),a.put("</a>            </li>            ")),a.put('            <li>              <a href="#" onclick="return DISQUS.dtpl.actions.fire(\'comments.delete\', '),a.put((a.esc||function(a){return a})(comment.id)),a.put(');">'),a.put(trans("Delete Comment")),a.put('</a>            </li>            <li>              <a href="#" onclick="return DISQUS.dtpl.actions.fire(\'comments.spam\', '),
a.put((a.esc||function(a){return a})(comment.id)),a.put(');">'),a.put(trans("Mark Spam")),a.put('</a>            </li>            <li>              <a href="#" onclick="return DISQUS.dtpl.actions.fire(\'comments.blacklist\', '),a.put((a.esc||function(a){return a})(comment.id)),a.put(');">'),a.put(trans("Add to Blacklist")),a.put("</a>            </li>          </ul>        </td>      </tr>    </table>  </div>  <p>"),a.put(trans("Go to the full")),a.put(' <a href="'),a.put((a.esc||function(a){return a})(urls.moderate)),
a.put('" target="_blank">'),a.put(trans("moderate panel")),a.put("</a> "),a.put(trans("for more options.")),a.put("</p>"),a.compile()};b.blocks.pageInfo=function(e,d){var a=new b.Builder,f=DISQUS.extend({},e,d);with(f)return a.put("  "),request.is_global_moderator&&(a.put('    <div class="dsq-global-moderator-extras"         style="display: block; margin-top: 10px; line-height: 20px; font-size: 14px; list-style-type: none; margin-left: 0;">      <strong>Shortname:</strong> '),a.put((a.esc||function(a){return a})(forum.url)),
a.put("<br/>      <strong>Thread ID:</strong> "),a.put((a.esc||function(a){return a})(thread.id)),a.put("<br/>      <strong>Thread slug:</strong> "),a.put((a.esc||function(a){return a})(thread.slug)),a.put("<br/>      <strong>Switches (Legacy):</strong> "),context.active_switches?b.each(context.active_switches,function(b){a.put(" ");a.put((a.esc||function(a){return a})(b));a.put(", ")}):a.put("<em>none</em>"),a.put("<br/>      <strong>Switches (Gargoyle):</strong> "),context.active_gargoyle_switches?
b.each(context.active_gargoyle_switches,function(b){a.put(" ");a.put((a.esc||function(a){return a})(b));a.put(", ")}):a.put("<em>none</em>"),a.put("<br/>      "),thread.topics&&(a.put("        <strong>Thread topics:</strong> "),thread.topics.length?b.each(thread.topics,function(b){a.put(" ");a.put((a.esc||function(a){return a})(b));a.put(", ")}):a.put("<em>not classified</em>"),a.put("<br/>      ")),a.put("      "),forum.packages&&(a.put("        <strong>Packages:</strong> "),forum.packages.length?
b.each(forum.packages,function(b){a.put(" ");a.put((a.esc||function(a){return a})(b));a.put(", ")}):a.put("<em>no packages</em>"),a.put("<br/>      ")),a.put("    </div>  ")),a.compile()};b.blocks.editProfileSuggestion=function(e,d){var a=new b.Builder,f=DISQUS.extend({},e,d);with(f)return a.put('  <div id="dsq-edit-profile-suggestion" style="display:none">    <p>'),a.put(trans("Thanks for posting.")),a.put(" "),a.put(trans("Would you like to")),a.put(' <a href="#" onclick="DISQUS.dtpl.actions.fire(\'profile.edit\'); return false">edit your profile</a>?  </div>'),
a.compile()};b.blocks.editArea=function(e,d){var a=new b.Builder,f=DISQUS.extend({},e,d);with(f)return a.put('  <div class="dsq-textarea-wrapper">    <textarea class="dsq-edit-textarea" id="dsq-edit-textarea-'),a.put((a.esc||function(a){return a})(comment.id)),a.put('">      '),a.put((a.esc||function(a){return a})(comment.message)),a.put('    </textarea>    <div id="dsq-edit-iframe-'),a.put((a.esc||function(a){return a})(comment.id)),a.put('" style="display: none;"></div>  </div>  <div class="dsq-save-edit">    <button type="button" class="dsq-button"      onclick="DISQUS.dtpl.actions.fire(\'comments.edit.send\', '),
a.put((a.esc||function(a){return a})(comment.id)),a.put(', this);">      <span>'),a.put(trans("Save Edit")),a.put("</span>    </button>  </div>"),a.compile()};b.blocks.retweetsPopup=function(e,d){var a=new b.Builder,f=DISQUS.extend({},e,d);with(f)return a.put("  <p><strong>"),a.put((a.esc||function(a){return a})(reaction.author_name)),a.put(":</strong> "),a.put((a.esc||function(a){return a})(reaction.body)),a.put('<br/><a href="'),a.put((a.esc||function(a){return a})(reaction.url)),a.put('">'),a.put((a.esc||
function(a){return a})(reaction.url)),a.put('<br/></p>  <ul class="dsq-retweets">    '),b.each(reaction.retweets,function(b){a.put('    <li><a href="');a.put((a.esc||function(a){return a})(b.url));a.put('">by ');a.put((a.esc||function(a){return a})(b.author_name));a.put("</a></li>    ")}),a.put("  </ul>  "),a.compile()};b.blocks.mediaEmbedPopup=function(e,d){var a=new b.Builder,f=DISQUS.extend({},e,d);with(f)return a.put("  "),media.type==1||media.type==5?(a.put('  <p><img src="'),a.put((a.esc||function(a){return a})(media.location)),
a.put('" onload="DISQUS.popup.adjustPosition();"/></p>  <p><a href="'),a.put((a.esc||function(a){return a})(media.location)),a.put('" target="_blank">'),a.put(trans("Original")),a.put("</a></p>  ")):media.type==2?(a.put('  <div style="width:480px !important;height:385px !important;">    <object width="480" height="385">      <param name="movie" value="http://www.youtube.com/v/'),a.put((a.esc||function(a){return a})(media.location)),a.put('&hl=en_US&fs=1&"></param>      <param name="allowFullScreen" value="true"></param>      <param name="allowscriptaccess" value="always"></param>      <embed src="http://www.youtube.com/v/'),
a.put((a.esc||function(a){return a})(media.location)),a.put('&hl=en_US&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed>    </object>  </div>  ')):media.type==4&&(a.put('  <p><img src="'),a.put((a.esc||function(a){return a})(media.metadata.medium)),a.put('" onload="DISQUS.popup.adjustPosition();"/></p>  <p><a href="'),a.put((a.esc||function(a){return a})(media.metadata.url)),a.put('" target="_blank">'),a.put(trans("Original")),
a.put("</a></p>  ")),a.compile()};b.blocks.postbox_login_options_dropdown=function(e,d){var a=new b.Builder,f=DISQUS.extend({},e,d);with(f)return a.put('  <ul class="dsq-login-buttons">    '),b.each(loginOptions,function(b){a.put("      ");b.enabled&&(a.put("        "),b.userDefined?(a.put('          <li class="dsq-login-button">            <a href="#" onclick="return DISQUS.dtpl.actions.fire(\''),a.put((a.esc||function(a){return a})(b.action)),a.put('\');">              <img src="'),a.put((a.esc||
function(a){return a})(b.button_url)),a.put('">            </a>          </li>        ')):(a.put('          <li class="dsq-login-button dsq-login-button-'),a.put((a.esc||function(a){return a})(b.name)),a.put('">            <a href="#" onclick="return DISQUS.dtpl.actions.fire(\''),a.put((a.esc||function(a){return a})(b.action)),a.put("');\"></a>          </li>        ")),a.put("      "));a.put("    ")}),a.put('    <li style="clear:both"></li>  </ul>'),a.compile()};b.blocks.unapprovedCommentMessage=
function(e,d){var a=new b.Builder,f=DISQUS.extend({},e,d);with(f)return a.put("  "),mustVerify?(a.put("  "),a.put(trans("You must finish verifying your Disqus Profile email address in order for your comment to appear here.")),a.put('<br/><br/>  <a href="'),a.put((a.esc||function(a){return a})(urls.verify_email)),a.put('">'),a.put(trans("Click here to verify your email address")),a.put("</a>  ")):(a.put("  "),a.put(trans("Your comment must be approved by a moderator before appearing here.")),a.put("  ")),
a.compile()};b.blocks.userVotesPopup=function(e,d){var a=new b.Builder,f=DISQUS.extend({},e,d);with(f)return a.put("  <ul>    "),b.each(users,function(b){a.put('    <li class="dsq-liked-by-user">      <a href="');a.put((a.esc||function(a){return a})(settings.disqus_url));a.put("/");a.put((a.esc||function(a){return a})(b.username));a.put('" target="_blank">        <img src="');a.put((a.esc||function(a){return a})(b.avatar_url));a.put('" alt=""/>        ');b.display_name?a.put((a.esc||function(a){return a})(b.display_name)):
a.put((a.esc||function(a){return a})(b.username));a.put("      </a>    </li>    ")}),a.put("  </ul>  "),anon_likes>0&&(a.put("  <p>    "),users.length>0?(a.put("      "),anon_likes<2?(a.put("      "),a.put(b.interpolate(trans("and %(anon_likes)s guest"),{anon_likes:anon_likes}))):(a.put("      "),a.put(b.interpolate(trans("and %(anon_likes)s guests"),{anon_likes:anon_likes})))):(a.put("      "),anon_likes<2?(a.put("      "),a.put(b.interpolate(trans("%(anon_likes)s guest"),{anon_likes:anon_likes}))):
(a.put("      "),a.put(b.interpolate(trans("%(anon_likes)s guests"),{anon_likes:anon_likes})))),a.put("      "),a.put("    "),a.put("  </p>  ")),a.compile()};b.blocks.helpLogin=function(e,d){var a=new b.Builder,f=DISQUS.extend({},e,d);with(f)return a.put("<p>"),a.put(trans("In order to properly log you in, your browser needs to accept cookies from all domains.")),a.put("</p><p>"),a.put(trans("Open up Settings > Privacy. Then, make sure <strong>Accept cookies from sites</strong> is checked. Also, make sure <strong>Accept third-party</strong> is checked as well.")),
a.put("</p><p>"),a.put(trans("After closing your settings, you may try logging in again.")),a.put("</p><p>"),a.put(trans("Optional: If you would rather add an exception just for Disqus, click &ldquo;Exceptions...&rdquo; and add disqus.com as an allowed domain.")),a.put("</p>"),a.compile()};b.blocks.moderatorHelpPopup=function(e,d){var a=new b.Builder,f=DISQUS.extend({},e,d);with(f)return a.put('<ul class="dsq-thread-help">  '),forum.reactions_enabled&&(a.put('  <li>    <a href="#" onclick="return DISQUS.dtpl.actions.fire(\'reactions.reportMissing\');">'),
a.put(trans("Report missing reactions")),a.put("</a>    <p>"),a.put(trans("Are you expecting Reactions for this thread, but do not see them? Select this option to tell the system to search again.")),a.put("</p>  </li>  ")),a.put('  <li>    <a href="http://help.disqus.com/forums/" target="_blank">'),a.put(trans("Knowledge Base")),a.put("</a>    <p>"),a.put(trans("Our Knowledge Base has the answers to the most common questions.")),a.put("</p>  </li></ul>"),a.compile()};b.blocks.messagesxAchievement=
function(e,d){var a=new b.Builder,f=DISQUS.extend({},e,d);with(f)return a.put('    <div class="dsq-messagesx-icon">        '),message.formatted.icon?(a.put('        <img src="'),a.put((a.esc||function(a){return a})(message.formatted.icon)),a.put('" alt="" />        ')):(a.put('        <img src="'),a.put((a.esc||function(a){return a})(settings.media_url)),a.put('/img/disqus-bar/icons/trophey.png" alt="" />        ')),a.put("    </div>   <p>        "),a.put((a.esc||function(a){return a})(message.formatted.text)),
a.put("    </p>"),a.compile()};b.blocks.loadingPopup=function(e,d){var a=new b.Builder,f=DISQUS.extend({},e,d);with(f)return a.put('<div style="text-align: center; padding: 5px 0 10px 0;">  <img src="'),a.put((a.esc||function(a){return a})(settings.media_url)),a.put('/images/loading.gif" alt=""/></div>'),a.compile()};b.blocks.blacklistPopup=function(e,d){var a=new b.Builder,f=DISQUS.extend({},e,d);with(f)return a.put("  <p>    "),a.put(trans("Adding this person to the blacklist will block him or her from commenting on this site. Check the following types that you would like to add to the blacklist")),
a.put(":  </p>  "),user.registered&&(a.put('  <div class="dsq-blacklist-option">    <input id="dsq-blacklist-username" type="checkbox" checked="true" value="'),a.put((a.esc||function(a){return a})(user.username)),a.put('"/>    <label for="dsq-blacklist-username"><strong>'),a.put(trans("Username")),a.put("</strong>: "),a.put((a.esc||function(a){return a})(user.username)),a.put("</label>  </div>  ")),a.put("  "),comment.email&&(a.put('  <div class="dsq-blacklist-option">    <input id="dsq-blacklist-email" type="checkbox" checked="true" value="'),
a.put((a.esc||function(a){return a})(comment.email)),a.put('"/>    <label for="dsq-blacklist-email"><strong>'),a.put(trans("Email address")),a.put("</strong>: "),a.put((a.esc||function(a){return a})(comment.email)),a.put("</label>  </div>  ")),a.put('  <div class="dsq-blacklist-option">    <input id="dsq-blacklist-ip" type="checkbox" onclick="DISQUS.nodes.get(\'#dsq-blacklist-ip-warning\').style.display=\'block\';" value="'),a.put((a.esc||function(a){return a})(comment.ip)),a.put('"/>    <label for="dsq-blacklist-ip"><strong>'),
a.put(trans("IP address")),a.put("</strong>: "),a.put((a.esc||function(a){return a})(comment.ip)),a.put('</label>    <p id="dsq-blacklist-ip-warning" style="display:none">      '),a.put(trans("Note: Blocking this person's IP address may also unintentionally      prevent others, who share his/her IP address, from commenting on      this site. This may include people who are sharing the same      computer, living in the same house, or using the same Internet      provider. Only block an IP address as a last resort.")),
a.put('    </p>  </div>  <div class="dsq-blacklist-submit">    <span>      <input id="dsq-blacklist-retroactive" type="checkbox" value="1"/>      <label for="dsq-blacklist-retroactive">Also apply to existing comments</label>    </span>    <button class="dsq-button" type="button" onclick="DISQUS.dtpl.actions.fire(\'comments.blacklist\', '),a.put((a.esc||function(a){return a})(comment.id)),a.put(', true);">        '),a.put(trans("Add to Blacklist")),a.put("    </button>  </div>"),a.compile()}});