Module 35086

690 characters · in 24159.16f64d32f019fb82.js
Dependencies
Required by (3)
Lazily required by (0)none
Lazily requires (0)none
Source Raw
function(e,t,n){let r;n.d(t,{_:()=>l});var i=n(873326);let o=n(978862).O;var a=n(690094),s=n(296438);function l(e){let t="history";(0,i.s5)(t,e),(0,i.AS)(t,c)}function c(){let e,t,n;if(t=(e=o.chrome)&&e.app&&e.app.runtime,n="history"in o&&!!o.history.pushState&&!!o.history.replaceState,t||!n)return;let l=s.j.onpopstate;function c(e){return function(...t){let n=t.length>2?t[2]:void 0;if(n){let e=r,t=String(n);r=t,(0,i.aj)("history",{from:e,to:t})}return e.apply(this,t)}}s.j.onpopstate=function(...e){let t=s.j.location.href,n=r;if(r=t,(0,i.aj)("history",{from:n,to:t}),l)try{return l.apply(this,e)}catch(e){}},(0,a.GS)(s.j.history,"pushState",c),(0,a.GS)(s.j.history,"replaceState",c)}}