PageSourceSearch

https://www.infectiousdiseaseadvisor.com/wp-content/mu-plugins/hm-utils/dist/hm-utils.min.js?ver=0.3.31

js infectiousdiseaseadvisor.com collected 2026-10-02 18:16:38 UTC 27,057 bytes, 3 lines download raw bytes

1/*! For license information please see hm-utils.min.js.LICENSE.txt */
2(()=>{var e={28:function(e,t){!function(){"use strict";ArrayBuffer.prototype.slice||(ArrayBuffer.prototype.slice=function(e,t){var r,n=new Uint8Array(this);void 0===t&&(t=n.length);var i=new ArrayBuffer(t-e),o=new Uint8Array(i);for(r=0;r<o.length;r++)o[r]=n[r+e];return i})}(),function(t){"use strict";function r(){}function n(){}function i(){}r.prototype.processBlock=function(e){var t,r=this.current[0],n=this.current[1],i=this.current[2],o=this.current[3],s=e[3]<<24|e[2]<<16|e[1]<<8|e[0],u=e[7]<<24|e[6]<<16|e[5]<<8|e[4],c=e[11]<<24|e[10]<<16|e[9]<<8|e[8],a=e[15]<<24|e[14]<<16|e[13]<<8|e[12],h=e[19]<<24|e[18]<<16|e[17]<<8|e[16],l=e[23]<<24|e[22]<<16|e[21]<<8|e[20],d=e[27]<<24|e[26]<<16|e[25]<<8|e[24],f=e[31]<<24|e[30]<<16|e[29]<<8|e[28],p=e[35]<<24|e[34]<<16|e[33]<<8|e[32],g=e[39]<<24|e[38]<<16|e[37]<<8|e[36],w=e[43]<<24|e[42]<<16|e[41]<<8|e[40],y=e[47]<<24|e[46]<<16|e[45]<<8|e[44],m=e[51]<<24|e[50]<<16|e[49]<<8|e[48],b=e[55]<<24|e[54]<<16|e[53]<<8|e[52],A=e[59]<<24|e[58]<<16|e[57]<<8|e[56],v=e[63]<<24|e[62]<<16|e[61]<<8|e[60];n=(i=(o=(r=(n=(i=(o=(r=(n=(i=(o=(r=(n=(i=(o=(r=(n=(i=(o=(r=(n=(i=(o=(r=(n=(i=(o=(r=(n=(i=(o=(r=(n=(i=(o=(r=(n=(i=(o=(r=(n=(i=(o=(r=(n=(i=(o=(r=(n=(i=(o=(r=(n=(i=(o=(r=(n=(i=(o=(r=(n=(i=(o=(r=n+((t=r+s+3614090360+(n&i|~n&o)|0)<<7|t>>>25)|0)+((t=o+u+3905402710+(r&n|~r&i)|0)<<12|t>>>20)|0)+((t=i+c+606105819+(o&r|~o&n)|0)<<17|t>>>15)|0)+((t=n+a+3250441966+(i&o|~i&r)|0)<<22|t>>>10)|0)+((t=r+h+4118548399+(n&i|~n&o)|0)<<7|t>>>25)|0)+((t=o+l+1200080426+(r&n|~r&i)|0)<<12|t>>>20)|0)+((t=i+d+2821735955+(o&r|~o&n)|0)<<17|t>>>15)|0)+((t=n+f+4249261313+(i&o|~i&r)|0)<<22|t>>>10)|0)+((t=r+p+1770035416+(n&i|~n&o)|0)<<7|t>>>25)|0)+((t=o+g+2336552879+(r&n|~r&i)|0)<<12|t>>>20)|0)+((t=i+w+4294925233+(o&r|~o&n)|0)<<17|t>>>15)|0)+((t=n+y+2304563134+(i&o|~i&r)|0)<<22|t>>>10)|0)+((t=r+m+1804603682+(n&i|~n&o)|0)<<7|t>>>25)|0)+((t=o+b+4254626195+(r&n|~r&i)|0)<<12|t>>>20)|0)+((t=i+A+2792965006+(o&r|~o&n)|0)<<17|t>>>15)|0)+((t=n+v+1236535329+(i&o|~i&r)|0)<<22|t>>>10)|0)+((t=r+u+4129170786+(o&n|~o&i)|0)<<5|t>>>27)|0)+((t=o+d+3225465664+(i&r|~i&n)|0)<<9|t>>>23)|0)+((t=i+y+643717713+(n&o|~n&r)|0)<<14|t>>>18)|0)+((t=n+s+3921069994+(r&i|~r&o)|0)<<20|t>>>12)|0)+((t=r+l+3593408605+(o&n|~o&i)|0)<<5|t>>>27)|0)+((t=o+w+38016083+(i&r|~i&n)|0)<<9|t>>>23)|0)+((t=i+v+3634488961+(n&o|~n&r)|0)<<14|t>>>18)|0)+((t=n+h+3889429448+(r&i|~r&o)|0)<<20|t>>>12)|0)+((t=r+g+568446438+(o&n|~o&i)|0)<<5|t>>>27)|0)+((t=o+A+3275163606+(i&r|~i&n)|0)<<9|t>>>23)|0)+((t=i+a+4107603335+(n&o|~n&r)|0)<<14|t>>>18)|0)+((t=n+p+1163531501+(r&i|~r&o)|0)<<20|t>>>12)|0)+((t=r+b+2850285829+(o&n|~o&i)|0)<<5|t>>>27)|0)+((t=o+c+4243563512+(i&r|~i&n)|0)<<9|t>>>23)|0)+((t=i+f+1735328473+(n&o|~n&r)|0)<<14|t>>>18)|0)+((t=n+m+2368359562+(r&i|~r&o)|0)<<20|t>>>12)|0)+((t=r+l+4294588738+(n^i^o)|0)<<4|t>>>28)|0)+((t=o+p+2272392833+(r^n^i)|0)<<11|t>>>21)|0)+((t=i+y+1839030562+(o^r^n)|0)<<16|t>>>16)|0)+((t=n+A+4259657740+(i^o^r)|0)<<23|t>>>9)|0)+((t=r+u+2763975236+(n^i^o)|0)<<4|t>>>28)|0)+((t=o+h+1272893353+(r^n^i)|0)<<11|t>>>21)|0)+((t=i+f+4139469664+(o^r^n)|0)<<16|t>>>16)|0)+((t=n+w+3200236656+(i^o^r)|0)<<23|t>>>9)|0)+((t=r+b+681279174+(n^i^o)|0)<<4|t>>>28)|0)+((t=o+s+3936430074+(r^n^i)|0)<<11|t>>>21)|0)+((t=i+a+3572445317+(o^r^n)|0)<<16|t>>>16)|0)+((t=n+d+76029189+(i^o^r)|0)<<23|t>>>9)|0)+((t=r+g+3654602809+(n^i^o)|0)<<4|t>>>28)|0)+((t=o+m+3873151461+(r^n^i)|0)<<11|t>>>21)|0)+((t=i+v+530742520+(o^r^n)|0)<<16|t>>>16)|0)+((t=n+c+3299628645+(i^o^r)|0)<<23|t>>>9)|0)+((t=r+s+4096336452+(i^(n|~o))|0)<<6|t>>>26)|0)+((t=o+f+1126891415+(n^(r|~i))|0)<<10|t>>>22)|0)+((t=i+A+2878612391+(r^(o|~n))|0)<<15|t>>>17)|0)+((t=n+l+4237533241+(o^(i|~r))|0)<<21|t>>>11)|0)+((t=r+m+1700485571+(i^(n|~o))|0)<<6|t>>>26)|0)+((t=o+a+2399980690+(n^(r|~i))|0)<<10|t>>>22)|0)+((t=i+w+4293915773+(r^(o|~n))|0)<<15|t>>>17)|0)+((t=n+u+2240044497+(o^(i|~r))|0)<<21|t>>>11)|0)+((t=r+p+1873313359+(i^(n|~o))|0)<<6|t>>>26)|0)+((t=o+v+4264355552+(n^(r|~i))|0)<<10|t>>>22)|0)+((t=i+d+2734768916+(r^(o|~n))|0)<<15|t>>>17)|0)+((t=n+b+1309151649+(o^(i|~r))|0)<<21|t>>>11)|0)+((t=r+h+4149444226+(i^(n|~o))|0)<<6|t>>>26)|0)+((t=o+y+3174756917+(n^(r|~i))|0)<<10|t>>>22)|0)+((t=i+c+718787259+(r^(o|~n))|0)<<15|t>>>17)|0)+((t=n+g+3951481745+(o^(i|~r))|0)<<21|t>>>11)|0,this.current[0]+=r,this.current[1]+=n,this.current[2]+=i,this.current[3]+=o,this.currentLen+=64},r.prototype.doPadding=function(){var e=4294967295&8*(this.inLen+this.currentLen),t=this.inLen<=55?55-this.inLen:119-this.inLen,r=new 
2Uint8Array(new ArrayBuffer(t+1+8));return r[0]=128,r[r.length-8]=255&e,r[r.length-7]=e>>>8&255,r[r.length-6]=e>>>16&255,r[r.length-5]=e>>>24&255,r[r.length-4]=0,r[r.length-3]=0,r[r.length-2]=0,r[r.length-1]=0,r},r.prototype.getDigest=function(){var e=new Uint8Array(new ArrayBuffer(16));return e[0]=255&this.current[0],e[1]=this.current[0]>>>8&255,e[2]=this.current[0]>>>16&255,e[3]=this.current[0]>>>24&255,e[4]=255&this.current[1],e[5]=this.current[1]>>>8&255,e[6]=this.current[1]>>>16&255,e[7]=this.current[1]>>>24&255,e[8]=255&this.current[2],e[9]=this.current[2]>>>8&255,e[10]=this.current[2]>>>16&255,e[11]=this.current[2]>>>24&255,e[12]=255&this.current[3],e[13]=this.current[3]>>>8&255,e[14]=this.current[3]>>>16&255,e[15]=this.current[3]>>>24&255,e.buffer},r.prototype.reset=function(){this.currentLen=0,this.inLen=0,this.current=new Uint32Array(new ArrayBuffer(16)),this.current[0]=1732584193,this.current[1]=4023233417,this.current[2]=2562383102,this.current[3]=271733878},r.prototype.blockLen=64,r.prototype.digestLen=16,n.prototype.processBlock=function(e){var t,r,n=this.current[0],i=this.current[1],o=this.current[2],s=this.current[3],u=this.current[4],c=[e[0]<<24|e[1]<<16|e[2]<<8|e[3],e[4]<<24|e[5]<<16|e[6]<<8|e[7],e[8]<<24|e[9]<<16|e[10]<<8|e[11],e[12]<<24|e[13]<<16|e[14]<<8|e[15],e[16]<<24|e[17]<<16|e[18]<<8|e[19],e[20]<<24|e[21]<<16|e[22]<<8|e[23],e[24]<<24|e[25]<<16|e[26]<<8|e[27],e[28]<<24|e[29]<<16|e[30]<<8|e[31],e[32]<<24|e[33]<<16|e[34]<<8|e[35],e[36]<<24|e[37]<<16|e[38]<<8|e[39],e[40]<<24|e[41]<<16|e[42]<<8|e[43],e[44]<<24|e[45]<<16|e[46]<<8|e[47],e[48]<<24|e[49]<<16|e[50]<<8|e[51],e[52]<<24|e[53]<<16|e[54]<<8|e[55],e[56]<<24|e[57]<<16|e[58]<<8|e[59],e[60]<<24|e[61]<<16|e[62]<<8|e[63]];for(r=16;80>r;r++)c.push((c[r-3]^c[r-8]^c[r-14]^c[r-16])<<1|(c[r-3]^c[r-8]^c[r-14]^c[r-16])>>>31);for(r=0;80>r;r++)t=(n<<5|n>>>27)+u+c[r],t+=20>r?1518500249+(i&o|~i&s)|0:40>r?1859775393+(i^o^s)|0:60>r?2400959708+(i&o|i&s|o&s)|0:3395469782+(i^o^s)|0,u=s,s=o,o=i<<30|i>>>2,i=n,n=t;this.current[0]+=n,this.current[1]+=i,this.current[2]+=o,this.current[3]+=s,this.current[4]+=u,this.currentLen+=64},n.prototype.doPadding=function(){var e=4294967295&8*(this.inLen+this.currentLen),t=this.inLen<=55?55-this.inLen:119-this.inLen,r=new Uint8Array(new ArrayBuffer(t+1+8));return r[0]=128,r[r.length-1]=255&e,r[r.length-2]=e>>>8&255,r[r.length-3]=e>>>16&255,r[r.length-4]=e>>>24&255,r[r.length-5]=0,r[r.length-6]=0,r[r.length-7]=0,r[r.length-8]=0,r},n.prototype.getDigest=function(){var e=new Uint8Array(new ArrayBuffer(20));return e[3]=255&this.current[0],e[2]=this.current[0]>>>8&255,e[1]=this.current[0]>>>16&255,e[0]=this.current[0]>>>24&255,e[7]=255&this.current[1],e[6]=this.current[1]>>>8&255,e[5]=this.current[1]>>>16&255,e[4]=this.current[1]>>>24&255,e[11]=255&this.current[2],e[10]=this.current[2]>>>8&255,e[9]=this.current[2]>>>16&255,e[8]=this.current[2]>>>24&255,e[15]=255&this.current[3],e[14]=this.current[3]>>>8&255,e[13]=this.current[3]>>>16&255,e[12]=this.current[3]>>>24&255,e[19]=255&this.current[4],e[18]=this.current[4]>>>8&255,e[17]=this.current[4]>>>16&255,e[16]=this.current[4]>>>24&255,e.buffer},n.prototype.reset=function(){this.currentLen=0,this.inLen=0,this.current=new Uint32Array(new ArrayBuffer(20)),this.current[0]=1732584193,this.current[1]=4023233417,this.current[2]=2562383102,this.current[3]=271733878,this.current[4]=3285377520},n.prototype.blockLen=64,n.prototype.digestLen=20,i.prototype.processBlock=function(e){for(var t,r,n=this.current[0],i=this.current[1],o=this.current[2],s=this.current[3],u=this.current[4],c=this.current[5],a=this.current[6],h=this.current[7],l=[e[0]<<24|e[1]<<16|e[2]<<8|e[3],e[4]<<24|e[5]<<16|e[6]<<8|e[7],e[8]<<24|e[9]<<16|e[10]<<8|e[11],e[12]<<24|e[13]<<16|e[14]<<8|e[15],e[16]<<24|e[17]<<16|e[18]<<8|e[19],e[20]<<24|e[21]<<16|e[22]<<8|e[23],e[24]<<24|e[25]<<16|e[26]<<8|e[27],e[28]<<24|e[29]<<16|e[30]<<8|e[31],e[32]<<24|e[33]<<16|e[34]<<8|e[35],e[36]<<24|e[37]<<16|e[38]<<8|e[39],e[40]<<24|e[41]<<16|e[42]<<8|e[43],e[44]<<24|e[45]<<16|e[46]<<8|e[47],e[48]<<24|e[49]<<16|e[50]<<8|e[51],e[52]<<24|e[53]<<16|e[54]<<8|e[55],e[56]<<24|e[57]<<16|e[58]<<8|e[59],e[60]<<24|e[61]<<16|e[62]<<8|e[63]],d=16;64>d;d++)l.push(((l[d-2]>
2>>17|l[d-2]<<15)^(l[d-2]>>>19|l[d-2]<<13)^l[d-2]>>>10)+l[d-7]+((l[d-15]>>>7|l[d-15]<<25)^(l[d-15]>>>18|l[d-15]<<14)^l[d-15]>>>3)+l[d-16]|0);for(var f=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],p=0;64>p;p++)t=h+((u>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7))+(u&c^~u&a)+f[p]+l[p]|0,r=((n>>>2|n<<30)^(n>>>13|n<<19)^(n>>>22|n<<10))+(n&i^i&o^n&o)|0,h=a,a=c,c=u,u=s+t|0,s=o,o=i,i=n,n=t+r|0;this.current[0]+=n,this.current[1]+=i,this.current[2]+=o,this.current[3]+=s,this.current[4]+=u,this.current[5]+=c,this.current[6]+=a,this.current[7]+=h,this.currentLen+=64},i.prototype.doPadding=function(){var e=0|8*(this.inLen+this.currentLen),t=this.inLen<=55?55-this.inLen:119-this.inLen,r=new Uint8Array(new ArrayBuffer(t+1+8));return r[0]=128,r[r.length-1]=255&e,r[r.length-2]=e>>>8&255,r[r.length-3]=e>>>16&255,r[r.length-4]=e>>>24&255,r[r.length-5]=0,r[r.length-6]=0,r[r.length-7]=0,r[r.length-8]=0,r},i.prototype.getDigest=function(){var e=new Uint8Array(new ArrayBuffer(32));return e[3]=255&this.current[0],e[2]=this.current[0]>>>8&255,e[1]=this.current[0]>>>16&255,e[0]=this.current[0]>>>24&255,e[7]=255&this.current[1],e[6]=this.current[1]>>>8&255,e[5]=this.current[1]>>>16&255,e[4]=this.current[1]>>>24&255,e[11]=255&this.current[2],e[10]=this.current[2]>>>8&255,e[9]=this.current[2]>>>16&255,e[8]=this.current[2]>>>24&255,e[15]=255&this.current[3],e[14]=this.current[3]>>>8&255,e[13]=this.current[3]>>>16&255,e[12]=this.current[3]>>>24&255,e[19]=255&this.current[4],e[18]=this.current[4]>>>8&255,e[17]=this.current[4]>>>16&255,e[16]=this.current[4]>>>24&255,e[23]=255&this.current[5],e[22]=this.current[5]>>>8&255,e[21]=this.current[5]>>>16&255,e[20]=this.current[5]>>>24&255,e[27]=255&this.current[6],e[26]=this.current[6]>>>8&255,e[25]=this.current[6]>>>16&255,e[24]=this.current[6]>>>24&255,e[31]=255&this.current[7],e[30]=this.current[7]>>>8&255,e[29]=this.current[7]>>>16&255,e[28]=this.current[7]>>>24&255,e.buffer},i.prototype.reset=function(){this.currentLen=0,this.inLen=0,this.current=new Uint32Array(new ArrayBuffer(32)),this.current[0]=1779033703,this.current[1]=3144134277,this.current[2]=1013904242,this.current[3]=2773480762,this.current[4]=1359893119,this.current[5]=2600822924,this.current[6]=528734635,this.current[7]=1541459225},i.prototype.blockLen=64,i.prototype.digestLen=32;var o=function(e){if(e.constructor===Uint8Array)return e;if(e.constructor===ArrayBuffer)return new Uint8Array(e);if(e.constructor===String)return function(e){var t,r=new ArrayBuffer(e.length),n=new Uint8Array(r);for(t=0;t<e.length;t++)n[t]=e.charCodeAt(t);return n}(e);if(e.constructor===Number){if(e>255)throw"For more than one byte, use an array buffer";if(0>e)throw"Input value must be positive";return function(e){var t=new ArrayBuffer(1),r=new Uint8Array(t);return r[0]=e,r}(e)}throw"Unsupported type"},s=function(e){var t=function(e){for(var t=e.length,r=0;t>0;){var n=this.blockLen-this.inLen;n>t&&(n=t);var i=e.subarray(r,r+n);this.inbuf.set(i,this.inLen),r+=n,t-=n,this.inLen+=n,this.inLen===this.blockLen&&(this.processBlock(this.inbuf),this.inLen=0)}},r=function(){var e=this.doPadding();this.update(e);var t=this.getDigest();return this.reset(),t},n=function(){if(!e)throw"Unsupported algorithm: "+e.toString();e.prototype.update=t,e.prototype.finalize=r;var n=new e;return n.inbuf=new Uint8Array(new ArrayBuffer(n.blockLen)),n.reset(),n}();return{update:function(e){n.update(o(e))},finalize:function(){return n.finalize()},digest:function(e){return n.update(o(e)),n.finalize()},reset:function(){n.reset()},digestLength:function(){return n.digestLen}}},u=function(e){var t,r,n,i=!1,s=function(){var o,s;if(!i){if(void 0===t)throw"MAC key is not defined";for(s=t.byteLength>64?new Uint8Array(e.digest(t)):new Uint8Array(t),r=new Uint8Array(new ArrayBuffer(64)),o=0;o<s.length;o++)r[o]=54^s[o];for(o=s.length;64>o;o++)r[o]=54;
2for(n=new Uint8Array(new ArrayBuffer(64)),o=0;o<s.length;o++)n[o]=92^s[o];for(o=s.length;64>o;o++)n[o]=92;i=!0,e.update(r.buffer)}},u=function(){i=!1,t=void 0,r=void 0,n=void 0,e.reset()};return{setKey:function(e){(function(e){t=e})(o(e)),s()},update:function(t){e.update(t)},finalize:function(){return function(){var t=e.finalize();return e.reset(),e.update(n.buffer),e.update(t),t=e.finalize(),u(),t}()},mac:function(e){return this.update(e),this.finalize()},reset:function(){u()},hmacLength:function(){return e.digestLength()}}},c=function(e,t){var r=function(r,n,i){var o,s;if(i>e.digestLength())throw"Key length larger than digest length";for(e.reset(),e.update(r),e.update(n),s=e.finalize(),o=1;t>o;o++)s=e.digest(s);return s.slice(0,i)};return{deriveKey:function(e,t,n){return r(o(e),o(t),n)}}},a=function(e,t){var r=function(e,t){var r;for(r=0;r<e.length;r++)e[r]=e[r]^t[r];return e},n=function(t,n,i,o){var s,u=new Uint8Array(new ArrayBuffer(e.hmacLength())),c=new Uint8Array(new ArrayBuffer(n.length+4));for(c.set(n,0),c.set(function(e){var t=new Uint8Array(new ArrayBuffer(4));return t[0]=(4278190080&e)>>24,t[1]=(16711680&e)>>16,t[2]=(65280&e)>>8,t[3]=255&e,t}(o),n.length),s=1;i>=s;s++)e.setKey(t),e.update(c),c=new Uint8Array(e.finalize()),u=r(u,c);return u},i=function(r,i,o){var s,u,c;if(o>4294967295*e.hmacLength())throw"Derived key length too long";for(u=Math.ceil(o/e.hmacLength()),c=new Uint8Array(new ArrayBuffer(o*e.hmacLength())),s=1;u>=s;s++)c.set(n(r,i,t,s),e.hmacLength()*(s-1));return c.buffer.slice(0,o)};return{deriveKey:function(e,t,r){return i(o(e),o(t),r)}}},h={SHA1:function(){return s(n)},MD5:function(){return s(r)},SHA256:function(){return s(i)},HMAC_SHA1:function(){return u(s(n))},HMAC_MD5:function(){return u(s(r))},HMAC_SHA256:function(){return u(s(i))},PBKDF1_SHA1:function(e){return c(s(n),e)},PBKDF1_MD5:function(e){return c(s(r),e)},PBKDF2_HMAC_SHA1:function(e){return a(u(s(n)),e)},PBKDF2_HMAC_SHA256:function(e){return a(u(s(i)),e)}};e.exports&&(e.exports=h)}()}},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var o=t[n]={exports:{}};return e[n].call(o.exports,o,o.exports,r),o.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";function e(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}var t=function t(r,n){function i(t,i,o){if("undefined"!=typeof document){"number"==typeof(o=e({},n,o)).expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var s="";for(var u in o)o[u]&&(s+="; "+u,!0!==o[u]&&(s+="="+o[u].split(";")[0]));return document.cookie=t+"="+r.write(i,t)+s}}return Object.create({set:i,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var t=document.cookie?document.cookie.split("; "):[],n={},i=0;i<t.length;i++){var o=t[i].split("="),s=o.slice(1).join("=");try{var u=decodeURIComponent(o[0]);if(n[u]=r.read(s,u),e===u)break}catch(e){}}return e?n[e]:n}},remove:function(t,r){i(t,"",e({},r,{expires:-1}))},withAttributes:function(r){return t(this.converter,e({},this.attributes,r))},withConverter:function(r){return t(e({},this.converter,r),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(r)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"}),n=r(28),i=r.n(n);class o{reject=null;cancelCB=null;constructor(e){this.promise=new Promise(((t,r)=>{this.reject=r,e(t,r,this.onCancel)}))}then(){return this.promise.then.apply(this.promise,arguments)}catch(){return this.promise.catch.apply(this.promise,arguments)}cancel(){this.cancelCB&&this.cancelCB(),this.reject()}onCancel=e=>{this.cancelCB=e}}const s={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let u;const c=new Uint8Array(16);function a(){if(!u&&(u="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!u))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return u(c)}const h=[];for(let e=0;e<256;++e)h.push((e+256).toString(16).slice(1));const l=function(e,t,r){if(s.randomUUID&&!t&&!e)return s.randomUUID();const n=(e=e||{}).random||(e.rng||a)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t){r=r||0;for(let e=0;e<16;++e)t[r+e]=n[e];return t}return function(e,t=0){return h[e[t+0]]+h[e[t+1]]+h[e[t+2]]+h[e[t+3]]+"-"+h[e[t+4]]+h[e[t+5]]+"-"+h[e[t+6]]+h[e[t+7]]+"-"+h[e[t+8]]+h[e[t+9]]+"-"+h[e[t+10]]+h[e[t+11]]+h[e[t+12]]+h[e[t+13]]+h[e[t+14]]+h[e[t+15]]}(n)};var d={helpersVersion:"0.0.1",setDFPTarget:(e,t)=>{if(googletag&&t){let e=Array.isArray(t)?t.map(String):String(t);googletag.cmd.push((function(){googletag.setConfig({targeting:e})}))}},handleExternalLinks:()=>{document.querySelectorAll('a[href^="http"]').forEach((e=>{if(window.location.hostname!==new URL(e.href).hostname)if(e.hasAttribute("target")||e.setAttribute("target","_blank"),e.hasAttribute("rel")){let t=e.getAttribute("rel");t.includes("noopener")||(t+=" noopener"),e.setAttribute("rel",t)}else e.setAttribute("rel","noopener")}))},setDataLayerTarget:e=>{window.dataLayer=window.dataLayer||[],window.dataLayer.push(e)},getUserData:()=>{const e=t.get("globalActData");return!!e&&JSON.parse(decodeURIComponent(e))},retrieveLocalStorage:function(e){if("undefined"!=typeof Storage&&window.localStorage.getItem(e))return window.localStorage.getItem(e)},setUserTargeting:()=>{let e=void 0!==d&&d.getUserData?d.getUserData():"",t=(e&&e.medicalData,{log:"
20"});if(e&&Object.prototype.hasOwnProperty.call(e,"subscriber")){const r=e.subscriber.email?d.sha256(e.subscriber.email):"";t.log="1",t.subid=e.subscriber.subscriberId.toString(),t.usrc="haymarket",t.eid=r}let r=new CustomEvent("setGAMTargeting",{detail:t});document.dispatchEvent(r)},headerLoginState:()=>{if(!window.hmOIDCRegistration){let e=document.querySelectorAll(".sso-buttons");if(document.getElementsByClassName("-business").length&&(e=document.querySelector(".login-nav-buttons")),document.body.classList.contains("logged-in")){const t=document.getElementById("template-login-buttons");if(t){const r=t.innerHTML;e.forEach(((e,t)=>{e.classList.add("logged-in"),e.innerHTML=r}))}document.dispatchEvent(new CustomEvent("hideSubscriptionNav",{}))}const t=document.getElementById("template-login-nav");if(t){const r=t.innerHTML;e.innerHTML=r}"undefined"==typeof proxyEnabled&&document.querySelectorAll(".buttonlogout").forEach((e=>{e.addEventListener("click",d.logoutUser)}))}},logoutUser:e=>{e&&e.preventDefault(),document.cookie="globalAct=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="globalActData=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="globalActStatus=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="hmDisqusAuth=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",d.xhrGET(mainLocalized.sso.ssoLogout,!1,{withCredentials:!0}).then((()=>window.location.href=mainLocalized.home_url)).catch((e=>console.error(e)))},setUserDataLayer:()=>{const e=d.getUserData(),r=e&&e.hasOwnProperty("subscriber"),n=(e&&e.hasOwnProperty("medicalData"),d.isFullUser());let i=d.urlDecode,o={};o["User.LoggedIn"]=n?"true":"false",o["User.Eid"]=r?d.sha256(e.subscriber.email):"",o["User.SubscriberId"]=r?e.subscriber.subscriberId.toString():"",o["User.JobTitle"]=e&&e.hasOwnProperty("business")&&e.business.jobTitle?i(e.business.jobTitle):"",o["User.CampaignCodes"]=r&&t.get("adcpn2")?t.get("adcpn2"):"",o["User.IsHaymarket"]=r?"true":"false",d.setDataLayerTarget(o)},cleanTargetingValue:e=>e.replace(/["'=!+#*~;^()<>[\]{},&]/g,"").split(" ").join("_"),isFullUser:()=>{const e=d.getUserData();return"full"===t.get("globalActStatus")&&e&&e.hasOwnProperty("subscriber")},isAUser:()=>window.hmOIDCRegistration?window.Cookies&&window.Cookies.get("user_profile_id"):"full"===t.get("globalActStatus")||!!t.get("globalActData"),urlDecode:e=>decodeURIComponent(e.replace(/\+/g," ")),toHexString:e=>Array.from(e,(function(e){return("0"+(255&e).toString(16)).slice(-2)})).join(""),sha256:e=>{var t=(new(i().SHA256)).digest(e),r=new Uint8Array(t);return d.toHexString(r)},getCookieUserData:()=>{if(t.get("globalActData")&&t.get("globalActStatus")&&"full"==t.get("globalActStatus")){let e=document.cookie.replace(/(?:(?:^|.*;\s*)globalActData\s*\=\s*([^;]*).*$)|^.*$/,"$1");return JSON.parse(decodeURIComponent(e))}return null},xhrGET:(e,t=!1,r={})=>(t&&(e+="?"+d.getQueryString(t)),r.method="GET",r.url=e,d.xhrRequest(r)),xhrPOST:(e,t=!1,r={})=>(r.method="POST",r.url=e,r.params=JSON.stringify(t),r.headers={...r.headers,"Content-type":"application/json"},d.xhrRequest(r)),xhrRequest:e=>new o(((t,r,n)=>{var i=new XMLHttpRequest;n(i.abort.bind(i)),i.open(e.method,e.url),i.onload=function(){if(200===this.status){const e=i.getResponseHeader("Content-Type");if(e&&-1!==e.indexOf("application/json")&&i.responseText.length)try{t(JSON.parse(i.responseText))}catch(e){console.error(e),t(i.responseText)}else t(i.responseText)}else r({status:this.status,statusText:i.statusText,responseText:i.responseText||""})},i.onerror=function(){r({status:this.status,statusText:i.statusText})},e.headers&&Object.keys(e.headers).forEach((function(t){i.setRequestHeader(t,e.headers[t])}));let o=e.params;o&&"object"==typeof o&&(o=d.getQueryString(o)),e.withCredentials&&(i.withCredentials=!0),i.send(o)})),getQueryString:e=>Object.keys(e).map((t=>encodeURIComponent(t)+"="+encodeURIComponent(e[t]))).join("&"),debounce:function(e,t=300,r){var n;return function(){var i=this,o=arguments,s=r&&!n;clearTimeout(n),n=setTimeout((function(){n=null,r||e.apply(i,o)}),t),s&&e.apply(i,o)}},throttle:(e,t)=>
2{let r=!1,n=null;function i(){null==n?r=!1:(e(...n),n=null,setTimeout(i,t))}return(...o)=>{r?n=o:(e(...o),r=!0,setTimeout(i,t))}},onDomContentLoad:e=>{"function"==typeof e&&("loading"==document.readyState?document.addEventListener("DOMContentLoaded",e):e())},getParameterByName:(e,t)=>{t||(t=window.location.href),e=e.replace(/[[\]]/g,"\\$&");const r=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)","i").exec(t);return r&&r[2]?decodeURIComponent(r[2].replace(/\+/g," ")):""},isArticle:()=>{const e=document.querySelector("body"),t=document.querySelector(".post-container");return!(!e.classList.contains("single-post")||!t)},isMedicalLogin:()=>{let e=d.getCookieUserData();return!(!e||!e.medicalData)},redirectAnonymousUsers:()=>{d.isFullUser()||(window.location.href=window.mainLocalized&&window.mainLocalized.home_url)},getHashedEmail:()=>{const e=d.getParameterByName("email_hash"),r=t.get("globalActData"),n=r?JSON.parse(r).subscriber.email:"",i=n?d.sha256(n):"";return e||i},getBrowserName:function(){var e,t=navigator.userAgent,r=t.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i)||[];return/trident/i.test(r[1])?"IE "+((e=/\brv[ :]+(\d+)/g.exec(t)||[])[1]||""):"Chrome"===r[1]&&null!=(e=t.match(/\b(OPR|Edge)\/(\d+)/))?e.slice(1).join(" ").replace("OPR","Opera"):(r=r[2]?[r[1],r[2]]:[navigator.appName,navigator.appVersion,"-?"],null!=(e=t.match(/version\/(\d+)/i))&&r.splice(1,1,e[1]),r.join(" "))},isMobile:function(){return Math.min(window.screen.width,window.screen.height)<640||navigator.userAgent.indexOf("Mobi")>-1},isMobileBrowserSize:function(){return window.innerWidth<768||navigator.userAgent.indexOf("Mobi")>-1},isMobileNavigation:function(){return window.screen.width<768||window.screen.width>1260&&window.screen.height<768||window.screen.width>811&&window.screen.width<916&&"landscape-primary"===window.screen.orientation.type},truncateNPIHash:e=>e.substring(0,12),generateUUID:()=>l(),hasUserEnabledOneTrust(){let e=!0;return void 0===window.OptanonActiveGroups||window.OptanonActiveGroups.includes("C0004")||(e=!1),e},getCPNValue:()=>d.getUrlAndCookieValue("cpn","adcpn2"),getOracleCookieId(){const e=window.Cookies&&window.Cookies.get("ORA_FPC");let t=e?e.split("id="):"";return t.length>1?t[1]:t},getNavigationAPIPerfEntries(){const e=performance.getEntriesByType("navigation"),[t]=e;return t.toJSON()},redirectLoggedInUsers(){d.isFullUser()&&(window.location.href=window.mainLocalized&&window.mainLocalized.sso&&window.mainLocalized.sso.accountUrl)},getUrlAndCookieValue(e="",r=""){const n=new URLSearchParams(window.location.search).get(e);let i=t.get(r);if(n){const e=window.hmUtils.cleanTargetingValue(n),t=i?i.split(","):[];t.includes(e)||(t.push(e),i=t.join(","))}return i??""},getUserProfileData(){const e=window.Cookies?.get("user_profile");if(!e)return!1;try{return JSON.parse(decodeURIComponent(e))}catch(e){return console.error("Error parsing user profile cookie:",e),!1}},getKnownUserDetails:(()=>{let e=null;return function(){return e||(e=new Promise(((e,t)=>{const r=t=>{e({success:!1,data:[],error:`Could not retrieve user details - ${t}`})};try{const t=window.ismData;if(!t?.enabled)return r("ISM is not enabled");t.cmd=t.cmd||[],t.cmd.push((function(){try{const r=t.getTargetingInfo();e({success:!0,data:{npiVerified:!!r?.npi,firstName:r?.userDetails?.firstName||"",lastName:r?.userDetails?.lastName||"",specialty:r?.sprText||r?.specialty||"",profession:r?.profession||"",npi:r?.npi},error:null})}catch(e){r(e)}}))}catch(e){r(e)}})),e)}})()};window.hmUtils=d,d.getHashedString=async function(e){const t=(new TextEncoder).encode(e),r=await window.crypto.subtle.digest("SHA-256",t);return Array.from(new Uint8Array(r)).map((e=>e.toString(16).padStart(2,"0"))).join("")},window.Cookies=t})()})();
3//# sourceMappingURL=hm-utils.min.js.map

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.