prasi-bun/static-temp/logout.150df938.js

3 lines
1.5 KiB
JavaScript

!function(e,o,r,n,t){var i="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},l="function"==typeof i[n]&&i[n],u=l.cache||{},f="undefined"!=typeof module&&"function"==typeof module.require&&module.require.bind(module);function s(o,r){if(!u[o]){if(!e[o]){var t="function"==typeof i[n]&&i[n];if(!r&&t)return t(o,!0);if(l)return l(o,!0);if(f&&"string"==typeof o)return f(o);var a=Error("Cannot find module '"+o+"'");throw a.code="MODULE_NOT_FOUND",a}d.resolve=function(r){var n=e[o][1][r];return null!=n?n:r},d.cache={};var c=u[o]=new s.Module(o);e[o][0].call(c.exports,d,c,c.exports,this)}return u[o].exports;function d(e){var o=d.resolve(e);return!1===o?{}:s(o)}}s.isParcelRequire=!0,s.Module=function(e){this.id=e,this.bundle=s,this.exports={}},s.modules=e,s.cache=u,s.parent=l,s.register=function(o,r){e[o]=[function(e,o){o.exports=r},{}]},Object.defineProperty(s,"root",{get:function(){return i[n]}}),i[n]=s;for(var a=0;a<o.length;a++)s(o[a])}({"1NKJn":[function(e,o,r){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(r);var n=e("react/jsx-runtime"),t=e("web-utils"),i=e("../../../utils/ui/loading");r.default=(0,t.page)({url:"/logout",component:({})=>(localStorage.clear(),_api.logout().then(()=>{location.href="/login"}),(0,n.jsx)(i.Loading,{}))})},{"react/jsx-runtime":"f4Tol","web-utils":"ccU4J","../../../utils/ui/loading":"loFlS","@parcel/transformer-js/src/esmodule-helpers.js":"2GYoY"}]},[],0,"parcelRequire2d1f");
//# sourceMappingURL=logout.150df938.js.map