'use strict';
import { routes } from './routes.js';

var __defProp=Object['defineProperty'],__name=(_0x50c2e1,_0x18016a)=>__defProp(_0x50c2e1,'name',{'value':_0x18016a,'configurable':!![]});const publicRoutes=[routes['login'],routes['register'],routes['forgotPassword'],routes['paymentPlans']];const onlyUnauthenticatedRoutes=[routes['login'],routes['register'],routes['forgotPassword']];function isPublicRoute(_0x3d5572,_0x51d8fb){const _0x2619f9=_0x3d5572['split']('/')[0x1c4f+-0x22a5+0x657]['toLowerCase']();return publicRoutes['some'](_0x58e2d5=>_0x58e2d5===_0x2619f9)||_0x51d8fb?.['includes'](_0x2619f9);}__name(isPublicRoute,'isPublicRoute');function isOnlyUnauthenticatedRoute(_0x234216){const _0x446902=_0x234216['split']('/')[-0x21c6*0x1+0x5e9*-0x6+0x453d]['toLowerCase']();return onlyUnauthenticatedRoutes['some'](_0x258271=>_0x258271===_0x446902);}__name(isOnlyUnauthenticatedRoute,'isOnlyUnauthenticatedRoute');

export { isOnlyUnauthenticatedRoute, isPublicRoute, onlyUnauthenticatedRoutes, publicRoutes };
