PageSourceSearch

https://www.monkey-adventurekart.com/static/js/8227.f4eac496.chunk.js

js monkey-adventurekart.com collected 2026-10-09 23:14:57 UTC 3,893 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkmy_app=self.webpackChunkmy_app||[]).push([[8227],{1869(e,a,s){e.exports=s.p+"static/media/logo.de32a08775caed3aea63.webp"},8227(e,a,s){s.r(a),s.d(a,{default:()=>d});var t=s(5043),n=s(7874),l=s(1869),i=s(184),o=s(579);const r=e=>{let{openedSidebar:a}=e;const s=(0,n.zy)(),t=[{label:"Dashboard",path:"/admin/dashboard",icon:(0,o.jsx)(i.x7F,{})},{label:"Bookings",path:"/admin/bookings",icon:(0,o.jsx)(i.bfZ,{})},{label:"Mt Fuji Bookings",path:"/admin/mt-fuji-bookings",icon:(0,o.jsx)(i.bfZ,{})},{label:"Coupons",path:"/admin/coupons",icon:(0,o.jsx)(i.tVd,{})},{label:"Inventory",path:"/admin/inventory",icon:(0,o.jsx)(i.TXh,{})},{label:"Blogs",path:"/admin/blogs",icon:(0,o.jsx)(i.Nhm,{})},{label:"Contact",path:"/admin/contact",icon:(0,o.jsx)(i.maD,{})},{label:"Jdm",path:"/admin/jdm",icon:(0,o.jsx)(i.Y4E,{})},{label:"Vip",path:"/admin/vip",icon:(0,o.jsx)(i.Hu1,{})},{label:"Backup",path:"/admin/backup",icon:(0,o.jsx)(i.nBS,{})}];return(0,o.jsxs)("div",{className:"absolute left-0 top-0 z-[99] h-full bg-white border-r border-[#ccc] pt-[15px] sidebar-menu",children:[(0,o.jsx)("div",{className:"h-20 flex items-center justify-center border-b border-gray-100",children:(0,o.jsx)("img",{src:l,alt:"Monkey Adventure Kart",className:"lg:h-10 h-12 object-contain"})}),(0,o.jsx)("nav",{className:"flex-1 overflow-y-auto overflow-x-hidden py-6 lg:px-4 px-3 space-y-2  ".concat(a?"px-0":"px-4"),children:t.map((e,a)=>{const t=s.pathname===e.path;return(0,o.jsxs)(n.N_,{to:e.path,className:"flex items-center gap-4 px-6 py-3 rounded-full text-sm font-semibold transition-colors duration-200 link ".concat(t?"bg-[#fbba00] text-[#442202]":"text-[#442202] hover:bg-gray-100"),children:[(0,o.jsx)("span",{className:"text-lg",children:e.icon}),(0,o.jsx)("span",{className:"label-text",children:e.label})]},a)})})]})},c=e=>{let{openedSidebar:a,setOpenedSidebar:s}=e;const t=JSON.parse(localStorage.getItem("user"))||{role:"Admin",name:"Admin"};return(0,o.jsxs)("header",{className:"h-20 bg-white border-b border-gray-200 flex items-center justify-between px-8 sticky top-0 z-10",children:[(0,o.jsxs)("div",{className:"flex items-center gap-4",children:[(0,o.jsxs)("button",{className:"text-[#fbba00] text-xl cursor-pointer nav-btn",onClick:()=>s(e=>!e),children:[(0,o.jsx)("span",{}),(0,o.jsx)("span",{}),(0,o.jsx)("span",{})]}),(0,o.jsxs)("div",{children:[(0,o.jsxs)("div",{className:"flex items-center text-xs text-gray-500 gap-1 font-semibold",children:[(0,o.jsx)(i.rQ8,{})," / ",(0,o.jsx)("span",{className:"text-[#3F4254]",children:"Dashboard"})]}),(0,o.jsx)("h1",{className:"text-lg font-bold text-[#fbba00]",children:"Dashboard"})]})]}),(0,o.jsxs)("div",{className:"flex items-center gap-3",children:[(0,o.jsxs)("div",{className:"text-right",children:[(0,o.jsx)("p",{className:"text-sm font-bold text-gray-800",children:t.name}),(0,o.jsx)("p",{className:"text-xs text-gray-500",children:t.role})]}),(0,o.jsx)("div",{className:"h-10 w-10 rounded-full bg-gray-200 overflow-hidden",children:(0,o.jsx)("img",{src:"https://ui-avatars.com/api/?name=".concat(t.name,"&background=random"),alt:"Avatar",className:"h-full w-full object-cover",onClick:()=>{localStorage.removeItem("user"),localStorage.removeItem("token"),window.location.href="/admin/login"}})})]})]})},d=()=>{const[e,a]=(0,t.useState)(!1),s=(0,n.zy)();return(0,t.useEffect)(()=>{a(!1)},[s.pathname]),(0,o.jsxs)("div",{className:" w-full h-full min-h-screen page-container transition-[padding-left] duration-300 ease-in-out ".concat(e?"sidebar_collapsed":""),children:[(0,o.jsx)(r,{openedSidebar:e}),(0,o.jsxs)("div",{className:"w-full h-full min-h-screen transition-[padding-left] duration-300 ease-in-out ",children:[(0,o.jsx)(c,{setOpenedSidebar:a,openedSidebar:e}),(0,o.jsx)("main",{className:"flex-1 overflow-x-hidden",children:(0,o.jsx)(n.sv,{})})]})]})}}}]);
2//# sourceMappingURL=8227.f4eac496.chunk.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.