mirror of
https://github.com/GMWalletApp/epusdt.git
synced 2026-07-07 10:16:15 +00:00
1 line
484 B
JavaScript
1 line
484 B
JavaScript
var e=3600*24*7;function t(e){typeof document<`u`&&(document.cookie=e)}function n(e){if(typeof document>`u`)return;let t=`; ${document.cookie}`.split(`; ${encodeURIComponent(e)}=`);if(t.length===2){let e=t.pop()?.split(`;`).shift();return e?decodeURIComponent(e):void 0}}function r(n,r,i=e){t(`${encodeURIComponent(n)}=${encodeURIComponent(r)}; path=/; max-age=${i}; SameSite=Lax`)}function i(e){t(`${encodeURIComponent(e)}=; path=/; max-age=0; SameSite=Lax`)}export{i as n,r,n as t}; |