);c=b.indexOf("?");if(0>c||c>a){c=a;var e=""}else e=b.substring(c+1,a);b=[b.substr(0,c),e,b.substr(a)];a=b[1];b[1]=d?a?a+"&"+d:d:a;b=b[0]+(b[1]?"?"+b[1]:"")+b[2]}navigator.sendBeacon&&navigator.sendBeacon(b,"")}};window.bgz=function(a){if(a=document.getElementById(a)){var b=Q();var c=l(a.href,"bg","10");c=c instanceof r||!B.test(c)?c:w(c);"about:invalid#zClosurez"===(c instanceof r?c:v(c)).b()&&b(String(c));b=c instanceof r?c:v(c);a.href=b instanceof r&&b.constructor===r&&b.c===t?b.a:"type_error:SafeUrl"}};