()
| 1896 | // src/core/runtime/cookies.js |
| 1897 | var CookieJar = class { |
| 1898 | #parseCookies() { |
| 1899 | if (!document.cookie) return []; |
| 1900 | return document.cookie.split("; ").map((entry) => { |
| 1901 | var eq = entry.indexOf("="); |
| 1902 | return { name: entry.slice(0, eq), value: decodeURIComponent(entry.slice(eq + 1)) }; |
| 1903 | }); |
| 1904 | } |
| 1905 | get(target, prop) { |
| 1906 | if (prop === "then") { |
| 1907 | return null; |