PageSourceSearch

https://www.anyplace.com/_next/static/chunks/pages/dashboard/service-requests-34b360ba9d6a95ed.js

js anyplace.com collected 2026-10-02 05:43:48 UTC 4,141 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},s=(new e.Error).stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="840c9ed4-a094-4812-959d-4ae9a76a2708",e._sentryDebugIdIdentifier="sentry-dbid-840c9ed4-a094-4812-959d-4ae9a76a2708")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1555],{52636:(e,s,a)=>{"use strict";a.r(s),a.d(s,{default:()=>b});var t=a(80263),r=a(6648),l=a(51867),i=a(54710),n=a(1775),d=a(13315),c=a.n(d),o=a(40307),u=a(552),h=a(17612);let x=({serviceRequest:e})=>{let s=(e=>{switch(e.toLowerCase()){case"submitted":return(0,t.jsx)(o.v,{className:"inline-flex",variant:"warning",children:"Submitted"});case"processing":return(0,t.jsx)(o.v,{className:"inline-flex",variant:"neutral",children:"Processing"});case"scheduled":return(0,t.jsx)(o.v,{className:"inline-flex bg-gray-200 text-green-700",variant:"positive",children:"Scheduled"});case"completed":return(0,t.jsx)(o.v,{className:"inline-flex",variant:"positive",children:"Completed"});case"cancelled":return(0,t.jsx)(o.v,{className:"inline-flex",variant:"danger",children:"Cancelled"});case"closed":return(0,t.jsx)(o.v,{className:"inline-flex text-gray-500",variant:"neutral",children:"Closed"});default:return(0,t.jsx)(o.v,{className:"inline-flex",variant:"neutral",children:e.charAt(0).toUpperCase()+e.slice(1)})}})(e.status);return(0,t.jsxs)("div",{className:"relative grid gap-4 pt-6 md:grid-cols-[230px,auto] md:grid-rows-[auto,auto] lg:grid-cols-[230px,auto,200px] lg:grid-rows-none",children:[(0,t.jsx)("div",{children:(0,t.jsx)("div",{className:"relative mb-4 flex w-full items-center justify-center overflow-hidden rounded-lg bg-gray-100 md:mb-0 md:h-[120px] md:w-[230px]",children:e.lease?.room?.hotel?.cover_photo?.url&&(0,t.jsx)(c(),{alt:e.lease.room.hotel.cover_photo.caption??"",className:"h-auto w-full rounded-lg object-cover",height:"120",sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw",src:e.lease.room.hotel.cover_photo.url,width:"230"})})}),(0,t.jsxs)("div",{children:[e.booking?.bcn&&(0,t.jsx)(r.E,{isQuiet:!0,as:"p",className:"mb-4",variant:"body-2xl",children:e.booking.bcn}),(0,t.jsx)(i.D,{className:"mb-1",level:6,children:(0,u.getRequestTypeLabel)(e.request_type)}),e.lease?.room&&(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(r.E,{as:"p",className:"mb-2",variant:"body-3xl",children:e.lease.room.hotel.name})}),(0,t.jsx)("div",{className:"mb-3",children:s}),(0,t.jsx)(h.N,{className:"font-semibold text-blue-600 hover:text-blue-800",href:`/dashboard/service-requests/${e.id}`,children:"More Details"})]})]})};var m=a(33822);let v=()=>{let{serviceRequests:e,error:s,isLoading:a}=(()=>{let{data:e,error:s,isLoading:a}=(0,n.Ay)("/your_service_requests");return{serviceRequests:e?.data,error:s,isLoading:a}})();return s?(0,t.jsx)("div",{className:"flex min-h-[400px] items-center justify-center",children:(0,t.jsx)(r.E,{children:"Failed to load contact history. Please try again later."})}):a?(0,t.jsx)("div",{className:"absolute inset-0 flex h-full w-full place-content-center place-items-center",children:(0,t.jsx)(l.y,{variant:"positive"})}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"mb-8",children:[(0,t.jsx)(i.D,{className:"mb-6",level:4,children:"Service Request History"}),(0,t.jsx)(r.E,{isQuiet:!0,variant:"body-xl",children:"View and track your contact history"})]}),e&&e.length>0?(0,t.jsx)("div",{className:"divide-line border-line mb-6 grid gap-y-6 divide-y-2 border-b-2 border-t-2 pb-6",children:e.map(e=>(0,t.jsx)(x,{serviceRequest:e},e.id))}):(0,t.jsxs)("div",{className:"flex min-h-[400px] flex-col items-center justify-center text-center",children:[(0,t.jsx)(i.D,{className:"mb-6",level:4,children:"No Contact Requests Yet"}),(0,t.jsx)(r.E,{isQuiet:!0,variant:"body-xl",children:"You haven't made any contact yet."})]})]})};v.getLayout=m.L;let b=v},60870:(e,s,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/dashboard/service-requests",function(){return a(52636)}])}},e=>{e.O(0,[7752,3315,4878,3257,1052,8600,2351,1775,6731,7684,636,6593,8792],()=>e(e.s=60870)),_N_E=e.O()}]);

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.