/*1358551661,178142511*/

if (self.CavalryLogger) { CavalryLogger.start_js(["i6W2s"]); }

__d("ad-logging",["Arbiter","AsyncRequest","Banzai","collectDataAttributes","UFITrackingNodes"],function(a,b,c,d,e,f){var g='ssinfeed',h=b('Arbiter'),i=b('AsyncRequest'),j=b('Banzai'),k=b('collectDataAttributes'),l=b('UFITrackingNodes'),m={};function n(q){return (q.getAttribute&&(q.getAttribute('ajaxify')||q.getAttribute('data-endpoint'))||q.action||q.href||q.name);}function o(q){var r=q.ei||q.ai;if(!r&&q.mei)r=q.mf_story_key;if(q!==null&&typeof(r)==="string"){if(q.tn){var s=q.tn.charAt(0),t=l.decodeTrackingInfo(s);if((t==l.types.LIKE_LINK)||(t==l.types.UNLIKE_LINK)||(t==l.types.COMMENT)||(t==l.types.ADD_COMMENT_BOX)||(t==l.types.SHARE_LINK))return;}var u=Date.now(),v=500;q.duplicate_click=!!m[r]&&(u-m[r]<v);m[r]=u;if(j.isEnabled('ssinfeed')){j.post(g,q,j.VITAL);}else new i('/ajax/ssinfeed/end/').setData(q).setAllowCrossPageTransition(true).setMethod('POST').send();}}function p(q,r){if(!r.node)return;var s=n(r.node);if(!s||!r.event||r.event.type!=='click')return;var t=k(r.node,['ft','ad']);t.ft.href=s;o(t.ft);}h.subscribe("ClickRefAction/new",p);});