1(function(){'use strict';function buildFixedUrl(rawHref){if(!rawHref||rawHref.indexOf('t2csm_share=')===-1||rawHref.indexOf('t2csm_post_id=')===-1){return''} 2var queryStart=rawHref.indexOf('?');if(queryStart===-1){return''} 3var query=rawHref.slice(queryStart+1).split('#')[0];var params=new URLSearchParams(query);var network=params.get('t2csm_share');var postId=params.get('t2csm_post_id');if(!/^(facebook|x|linkedin|whatsapp|email|reddit|print)$/.test(network||'')||!/^\d+$/.test(postId||'')){return''} 4var fixedParams=new URLSearchParams();fixedParams.set('t2csm_share',network);fixedParams.set('t2csm_post_id',postId);return window.location.origin+window.location.pathname+'?'+fixedParams.toString()} 5function fixLink(link){var fixedUrl=buildFixedUrl(link.getAttribute('href')||'');if(fixedUrl){link.setAttribute('href',fixedUrl)}} 6function fixAllLinks(){var links=document.querySelectorAll('a[href*="t2csm_share="][href*="t2csm_post_id="]');for(var index=0;index<links.length;index+=1){fixLink(links[index])}} 7if(document.readyState==='loading'){document.addEventListener('DOMContentLoaded',fixAllLinks)}else{fixAllLinks()} 8document.addEventListener('click',function(event){var target=event.target;if(!target||!target.closest){return} 9var link=target.closest('a[href*="t2csm_share="][href*="t2csm_post_id="]');if(link){fixLink(link)}},!0)}()) 10;
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.