PageSourceSearch

https://hachyderm.io/packs/router-DyLRbCnX.js

js hachyderm.io collected 2026-09-24 08:25:58 UTC 1,010 bytes, 2 lines download raw bytes

1import{t as e}from"./jsx-runtime-BdxMnOeJ.js";import{f as t,u as n}from"./initial_state-DnZ5UeDQ.js";import{t as r}from"./environment-a85louTd.js";import{m as i,r as a,s as o}from"./react-router-BkmJBoOP.js";var s=e(),c=i(),l=c.push.bind(c),u=c.replace.bind(c);function d(){return o()}function f(e,i){let a=typeof e==`string`?{pathname:e}:{...e};return a.state===void 0&&i!==void 0?a.state=i:a.state!==void 0&&i!==void 0&&r()&&console.log(`You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored`),!n&&t&&a.pathname&&!a.pathname.startsWith(`/deck`)&&(a.pathname=`/deck${a.pathname}`),a}c.push=(e,t)=>{let n=f(e,t);n.state=n.state??{},n.state.fromMastodon=!0,l(n)},c.replace=(e,t)=>{let n=f(e,t);n.pathname&&(c.location.state?.fromMastodon&&(n.state=n.state??{},n.state.fromMastodon=!0),u(n))};var p=({children:e})=>(0,s.jsx)(a,{history:c,children:e});export{c as n,d as r,p as t};
2//# sourceMappingURL=router-DyLRbCnX.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.