import{c as a,u as l,j as e,H as n}from"./app-BiexncSX.js";import{A as c}from"./app-layout-BB5SDrLz.js";import{I as d}from"./IndexPageLayout-vH6paYeM.js";/* empty css            */import"./sonner-8z7PTnwf.js";import"./index-BphRgCCf.js";import"./loader-circle-C36m3ppM.js";import"./createLucideIcon-CiyItOCI.js";import"./triangle-alert-Dp60wOMH.js";import"./index-BLf-KPWz.js";import"./button-Cwvd_D5X.js";import"./utils-DvRnx1Xn.js";import"./index-Bx9iUFeV.js";import"./index-BKRdUh5V.js";import"./index-DRVc8jnD.js";import"./index-CqDcnRSI.js";import"./x-Cp4MPESs.js";import"./tooltip-CFZPZp2b.js";import"./index-B9bcoF29.js";import"./index-3q7cNFQn.js";import"./index-vCsTGnV6.js";import"./index-BxgPClSG.js";import"./index-CW_Do8vH.js";import"./index-BzyVuPsA.js";import"./sun-D646Bdfj.js";import"./index-jmbesBs1.js";import"./index-Dql7-O7m.js";import"./index-DDBh_SM-.js";import"./chevrons-up-down-B23gAN10.js";import"./bed-double-DlbqgL2k.js";import"./utensils-CU7nxPop.js";import"./globe-CZ3jv1ui.js";import"./chevron-right-D-bIFB2o.js";import"./house-CmuRWHdh.js";import"./lucide-react-C-jOYeYF.js";import"./send-D-Y6pdiK.js";import"./wifi-yGaHKi1T.js";import"./phone-Bieilqj-.js";import"./check-Do_LJdyj.js";import"./chevron-up-D0SwuXIU.js";import"./chevron-left-CfTNJLZd.js";import"./shield-check-BcGX3gbR.js";import"./youtube-C8R3zjo2.js";import"./plus-Cm0TKlUw.js";import"./clock-CXI9z3-R.js";import"./credit-card-DrNFemOT.js";import"./ellipsis-BcGSaUdp.js";import"./key-Dw2ORQjm.js";import"./loader-uls-v5oU.js";import"./minus-BQGRvjuE.js";import"./monitor-4BAY-8Q0.js";import"./save-BnaHUyyd.js";import"./search-DVB94mIy.js";import"./sparkles-duG_NONK.js";import"./trash-2-B8EoOc8P.js";import"./users-B6ln6dzh.js";import"./Icon-DEKRlUi3.js";const x=[{title:"Settings",href:"dashboard/settings"}];function ft(t){const r=a.c(6),{settings:i}=t;console.log(i),console.log(l().props);let p;r[0]===Symbol.for("react.memo_cache_sentinel")?(p=e.jsx(n,{title:"Settings"}),r[0]=p):p=r[0];let m;r[1]===Symbol.for("react.memo_cache_sentinel")?(m=e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("th",{className:"border px-4 py-2",children:"Key"}),e.jsx("th",{className:"border px-4 py-2",children:"Value"}),e.jsx("th",{className:"border px-4 py-2",children:"Description"}),e.jsx("th",{className:"border px-4 py-2",children:"Type"})]})}),r[1]=m):m=r[1];let o;r[2]!==i?(o=i.map(h),r[2]=i,r[3]=o):o=r[3];let s;return r[4]!==o?(s=e.jsxs(c,{breadcrumbs:x,children:[p,e.jsx(d,{title:"Settings",description:"Manage hotel details and default settings",path:"/dashboard/settings",children:e.jsxs("table",{className:"table-auto border-collapse border border-gray-300 bg-card text-sm",children:[m,e.jsx("tbody",{children:o})]})})]}),r[4]=o,r[5]=s):s=r[5],s}function h(t){if(t.type==="json")try{const r=JSON.parse(t.value);Array.isArray(r)?t.value=r.map(u).join(", "):t.value=String(r)}catch{t.value=t.value}return e.jsxs("tr",{children:[e.jsx("td",{className:"border px-4 py-2",children:t.key}),e.jsxs("td",{className:"border px-4 py-2",children:["  ",Array.isArray(t.value)?t.value.join(", "):t.value.toString()," "]}),e.jsx("td",{className:"border px-4 py-2",children:t.description}),e.jsx("td",{className:"border px-4 py-2",children:t.type})]},t.key)}function u(t){return typeof t=="object"?t.code:t}export{ft as default};
