PageSourceSearch

https://housesitmatch.com/static/js/3363.a6008c1e.chunk.js

js housesitmatch.com collected 2026-09-26 07:29:49 UTC 11,871 bytes, 2 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[3363],{13363:(e,t,a)=>{a.r(t),a.d(t,{InboxItem:()=>oe,InboxPageComponent:()=>ne,default:()=>ie});var s=a(72791),o=a(42789),n=a(47375),i=a(58272),r=a(41418),l=a.n(r),c=a(6639),d=a(29305),m=a(73665),u=a(53176),_=a(56030),p=a(25863),E=a(46902),N=a(60331),g=a(86134),v=a(53002),I=a(52745),b=a(67600),P=a(36963),S=a(59288);const D="InboxPage_mobileTopbar__x3LCm",x="InboxPage_desktopTopbar__ISIFG",T="InboxPage_navigation__+K383",R="InboxPage_title__16+Br",f="InboxPage_tabs__MVaip",h="InboxPage_tab__Jy+Mp",C="InboxPage_error__Cm2ew",O="InboxPage_noResults__H07im",A="InboxPage_itemList__tRd2F",M="InboxPage_listItemsLoading__7mjai",y="InboxPage_listItem__iJl9G",L="InboxPage_item__xCUBi",U="InboxPage_itemAvatar__Ss3Rn",k="InboxPage_itemLink__YpfJO",F="InboxPage_itemUsername__bdLeJ textSmall",Y="InboxPage_rowNotificationDot__eK-Og",H="InboxPage_notificationDot__QWd2G",B="InboxPage_itemTitle__5rvFh marketplaceTinyFontStyles",V="InboxPage_itemDetails__qV8bh marketplaceTinyFontStyles",G="InboxPage_itemState__CchSP marketplaceTinyFontStyles",Q="InboxPage_pagination__1LhIH",W="InboxPage_stateName__UPSr6",w="InboxPage_stateActionNeeded__rs1Hj",q="InboxPage_stateNoActionNeeded__J7-+G",K="InboxPage_stateConcluded__XrZaR",J="InboxPage_stateDeclined__Nq79f",Z="InboxPage_stateAccepted__eUENE",j="InboxPage_bannedUserLink__Jla7r",X="InboxPage_meetingButtonContainer__7-Zq2",$="InboxPage_meetingButton__1gtQU",z="InboxPage_mobile__Vrkvi";var ee=a(72426),te=a.n(ee),ae=a(63432);const se=e=>{var t,a,o,n,i,r,l,c;const{transaction:d,...p}=e,E=(0,_.b$)(null===d||void 0===d||null===(t=d.attributes)||void 0===t?void 0:t.processName),g=(0,_.Yt)(E);if(g.getState(d)===g.states.INQUIRY)return null;const v=(null===d||void 0===d||null===(a=d.attributes)||void 0===a||null===(o=a.lineItems)||void 0===o?void 0:o.length)>0?null===(n=d.attributes)||void 0===n||null===(i=n.lineItems)||void 0===i?void 0:i.find((e=>m.Y8.includes(e.code)&&!e.reversal)):null,I=v?v.code:null,b=I===m.PC?m.In:m.FJ,P=(null===d||void 0===d||null===(r=d.listing)||void 0===r||null===(l=r.attributes)||void 0===l||null===(c=l.availabilityPlan)||void 0===c?void 0:c.timezone)||"Etc/UTC",{bookingStart:S,bookingEnd:D}=((e,t,a)=>{var s;const{start:o,end:n,displayStart:i,displayEnd:r}=(null===e||void 0===e||null===(s=e.booking)||void 0===s?void 0:s.attributes)||{},l=i||o,c=r||n,d=t===m.mi,_=t===m.PC;return{bookingStart:l,bookingEnd:d||_?c:(0,u.U2)(c,1,"days",a)}})(d,I,P);return s.createElement(N.tn,Object.assign({startDate:S,endDate:D,dateType:b,timeZone:P},p))},oe=e=>{var t,a,o;const{transactionRole:n,tx:i,intl:r,stateData:c,isBooking:u,stockType:p=m.p9,routeConfiguration:E,history:g}=e,{customer:I,provider:b,listing:P,id:S,attributes:D}=i,{processName:x,processState:T,actionNeeded:R,isSaleNotification:f,isFinal:h,showMeetingButton:C,isDeclined:O,isAccepted:A}=c,M=n===_.AL,y=null===(t=i.attributes)||void 0===t?void 0:t.lineItems,Q=y.length>0,ee=(e=>null===e||void 0===e?void 0:e.find((e=>m.Y8.includes(e.code)&&!e.reversal)))(y),ae=Q&&!u?ee.quantity.toString():null,oe=p===m.p9||ae&&ee.quantity>1,ne=M?b:I,ie=s.createElement(N.GI,{user:ne,intl:r}),re=ne.attributes.banned,le=ne.attributes.deleted,ce=f?s.createElement("div",{className:H}):null,de=l()(k,{[j]:re}),me=l()(W,{[K]:h,[w]:R,[q]:!R,[J]:O,[Z]:A}),{protectedData:ue}=D||{};let _e;var pe;(null===ue||void 0===ue?void 0:ue.videoMeetingDate)&&(_e=te().tz("".concat(null===ue||void 0===ue||null===(pe=ue.videoMeetingDate)||void 0===pe?void 0:pe.split("T")[0]," ").concat(null===ue||void 0===ue?void 0:ue.videoMeetingTime),"YYYY-MM-DD HH:mm",null===ue||void 0===ue?void 0:ue.videoMeetingTimezone));const Ee=null===(a=_e)||void 0===a?void 0:a.format("ddd, D MMM [at] h:mm A");return s.createElement("div",{className:L},s.createElement("div",{className:U},!le&&s.createElement(N.qE,{user:ne})),s.createElement(N.RC,{className:de,name:M?"OrderDetailsPage":"SaleDetailsPage",params:{id:i.id.uuid}},s.createElement("div",{className:Y},ce),s.createElement("div",{className:F},ie),s.createElement("div",{className:B},null===P||void 0===P||null===(o=P.attributes)||void 0===o?void 0:o.title),s.createElement("div",{className:V},u?s.createElement(se,{transaction:i}):Q&&oe?s.createElement(d._H,{id:"InboxPage.quantity",values:{quantity:ae}}):null)),s.createElement("div",{className:G},s.createElement("div",{className:me},s.createElement(d._H,{id:"InboxPage.".concat(x,".").concat(T,".status"),values:{transactionRole:n}}
1)),C&&s.createElement("div",{className:l()(X,z)},s.createElement(N.KM,{className:$,onClick:e=>{e.preventDefault();const t=(0,v.XA)("MeetingPage",E,{id:S.uuid});g.push(t)}},s.createElement(d._H,{id:M?"TransactionPanel.joinMeeting":"TransactionPanel.hostMeeting"})),s.createElement("div",{className:V},Ee))))},ne=e=>{const t=(0,c.mX)(),a=(0,g.a5)(),{currentUser:o,fetchInProgress:n,fetchOrdersOrSalesError:i,intl:r,pagination:l,params:m,providerNotificationCount:u,scrollingDisabled:p,history:E,transactions:v}=e,{tab:L}=m;if(!("orders"===L||"sales"===L))return s.createElement(P.Z,{staticContext:e.staticContext});const U=(0,ae.KI)(o),k="orders"===L,F=!n&&0===v.length&&!i,Y=U?r.formatMessage({id:"InboxPage.housesittersDiscusionsTitle"}):r.formatMessage({id:"InboxPage.ordersTitle"}),H=U?r.formatMessage({id:"InboxPage.salesTitle"}):r.formatMessage({id:"InboxPage.homeOwnersDiscusionsTitle"}),B=k?Y:H,V=!n&&((e,t,a)=>{var s,o;return t?(null===a||void 0===a?void 0:a.id)&&e&&e.length>0&&e[0].customer.id.uuid===(null===a||void 0===a||null===(s=a.id)||void 0===s?void 0:s.uuid):(null===a||void 0===a?void 0:a.id)&&e&&e.length>0&&e[0].provider.id.uuid===(null===a||void 0===a||null===(o=a.id)||void 0===o?void 0:o.uuid)})(v,k,o),G=[{text:s.createElement("span",null,s.createElement(d._H,{id:U?"InboxPage.housesittersDiscussionsTabTitle":"InboxPage.housesitsBookingsTabTitle"})),selected:k,linkProps:{name:"InboxPage",params:{tab:"orders"}}},{text:s.createElement("span",null,s.createElement(d._H,{id:U?"InboxPage.housesittersBookingsTabTitle":"InboxPage.homwOwnersDiscussionsTabTitle"}),u>0?s.createElement(N.Cc,{count:u}):null),selected:!k,linkProps:{name:"InboxPage",params:{tab:"sales"}}}],W=U?G.slice().reverse():G;return s.createElement(N.T3,{title:B,scrollingDisabled:p},s.createElement(N.i_,{sideNavClassName:T,topbar:s.createElement(I.Z,{mobileRootClassName:D,desktopClassName:x}),sideNav:s.createElement(s.Fragment,null,s.createElement(N.H2,{as:"h1",className:R},s.createElement(d._H,{id:"InboxPage.title"})),s.createElement(N.KT,{rootClassName:f,tabRootClassName:h,tabs:W})),footer:s.createElement(b.Z,null)},i?s.createElement("p",{className:C},s.createElement(d._H,{id:"InboxPage.fetchFailed"})):null,s.createElement("ul",{className:A},n?s.createElement("li",{className:M},s.createElement(N.vM,null)):v.map((e=>{var o,n,i;const l=k?_.AL:_.Q;let c=null;try{c=(0,S.O)({transaction:e,transactionRole:l,intl:r})}catch(v){}const d=(e=>{var a;const s=null===(a=t.listing)||void 0===a?void 0:a.listingTypes,{listingType:o}=e||{};var n;return null===s||void 0===s?void 0:s.find((n=o,e=>e.listingType===n))})((null===e||void 0===e||null===(o=e.listing)||void 0===o||null===(n=o.attributes)||void 0===n?void 0:n.publicData)||{}),{transactionType:m,stockType:u}=d||{},p=(null===e||void 0===e||null===(i=e.attributes)||void 0===i?void 0:i.processName)||(null===m||void 0===m?void 0:m.transactionType),N=(0,_.b$)(p),g=(0,_.YL)(N);return c?s.createElement("li",{key:e.id.uuid,className:y},s.createElement(oe,{transactionRole:l,tx:e,intl:r,stateData:c,stockType:u,isBooking:g,routeConfiguration:a,history:E})):null})),F?s.createElement("li",{key:"noResults",className:O},s.createElement(d._H,{id:k?"InboxPage.noOrdersFound":"InboxPage.noSalesFound"})):null),V&&l&&l.totalPages>1?s.createElement(N.iE,{className:Q,pageName:"InboxPage",pagePathParams:m,pagination:l}):null))};ne.defaultProps={currentUser:null,fetchOrdersOrSalesError:null,pagination:null,providerNotificationCount:0,sendVerificationEmailError:null};const ie=(0,o.qC)(i.withRouter,(0,n.$j)((e=>{const{fetchInProgress:t,fetchOrdersOrSalesError:a,pagination:s,transactionRefs:o}=e.InboxPage,{currentUser:n,currentUserNotificationCount:i}=e.user;return{currentUser:n,fetchInProgress:t,fetchOrdersOrSalesError:a,pagination:s,providerNotificationCount:i,scrollingDisabled:(0,E.uS)(e),transactions:(0,p.EV)(e,o)}})),d.XN)(ne)},59288:(e,t,a)=>{a.d(t,{O:()=>n});var s=a(52007),o=a(56030);(0,s.shape)({processName:s.string.isRequired,processState:s.string.isRequired,actionNeeded:s.bool,isFinal:s.bool,isSaleNotification:s.bool});const n=e=>{var t;const{transaction:a}=e,s=(0,o.b$)(null===a||void 0===a||null===(t=a.attributes)||void 0===t?void 0:t.processName),n=(0,o.Yt)(s),i=()=>{const{getState:e,states:t}
1=n,o=e(a);return{processName:s,processState:o,states:t}};return s===o.fv?((e,t)=>{const{transactionRole:a}=e,{processName:s,processState:n,states:i}=t,r=o.h2;return new o.iW([n,a]).cond([i.INQUIRY,r],(()=>({processName:s,processState:n,actionNeeded:!0}))).cond([i.PENDING_PAYMENT,o.AL],(()=>({processName:s,processState:n,actionNeeded:!0}))).cond([i.PENDING_PAYMENT,o.Q],(()=>({processName:s,processState:n,actionNeeded:!0}))).cond([i.CANCELED,r],(()=>({processName:s,processState:n,isFinal:!0}))).cond([i.PURCHASED,o.Q],(()=>({processName:s,processState:n,actionNeeded:!0,isSaleNotification:!0}))).cond([i.DELIVERED,o.AL],(()=>({processName:s,processState:n,actionNeeded:!0}))).cond([i.DISPUTED,r],(()=>({processName:s,processState:n,actionNeeded:!0}))).cond([i.COMPLETED,r],(()=>({processName:s,processState:n,actionNeeded:!0}))).cond([i.REVIEWED_BY_PROVIDER,o.AL],(()=>({processName:s,processState:n,actionNeeded:!0}))).cond([i.REVIEWED_BY_CUSTOMER,o.Q],(()=>({processName:s,processState:n,actionNeeded:!0}))).cond([i.REVIEWED,r],(()=>({processName:s,processState:n,isFinal:!0}))).default((()=>({processName:s,processState:n}))).resolve()})(e,i()):s===o.j5?((e,t)=>{const{transactionRole:a}=e,{processName:s,processState:n,states:i}=t,r=o.h2;return new o.iW([n,a]).cond([i.INQUIRY,r],(()=>({processName:s,processState:n,actionNeeded:!0}))).cond([i.PENDING_PAYMENT,o.AL],(()=>({processName:s,processState:n,actionNeeded:!0}))).cond([i.CANCELED,r],(()=>({processName:s,processState:n,isFinal:!0}))).cond([i.PREAUTHORIZED,o.Q],(()=>({processName:s,processState:n,actionNeeded:!0,isSaleNotification:!0}))).cond([i.WAITING_FOR_HOUSESITTER_SIGNATURE,r],(()=>({processName:s,processState:n,isSaleNotification:!0}))).cond([i.WAITING_FOR_HOMEOWNER_SIGNATURE,r],(()=>({processName:s,processState:n,isSaleNotification:!0}))).cond([i.VIDEO_MEETING_REQUESTED,o.AL],(()=>({processName:s,processState:n,actionNeeded:!0,isSaleNotification:!0}))).cond([i.VIDEO_MEETING_BOOKED,r],(()=>({processName:s,processState:n,showMeetingButton:!0}))).cond([i.VIDEO_MEETING_DECLINED,o.Q],(()=>({processName:s,processState:n,actionNeeded:!0}))).cond([i.ACCEPTED,r],(()=>({processName:s,processState:n,showMeetingButton:!0,actionNeeded:!0,isAccepted:!0}))).cond([i.DECLINED,r],(()=>({processName:s,processState:n,isDeclined:!0}))).cond([i.EXPIRED,r],(()=>({processName:s,processState:n,isFinal:!0}))).cond([i.DELIVERED,r],(()=>({processName:s,processState:n,actionNeeded:!0}))).cond([i.REVIEWED_BY_PROVIDER,o.AL],(()=>({processName:s,processState:n,actionNeeded:!0}))).cond([i.REVIEWED_BY_CUSTOMER,o.Q],(()=>({processName:s,processState:n,actionNeeded:!0}))).cond([i.REVIEWED,r],(()=>({processName:s,processState:n,isFinal:!0}))).default((()=>({processName:s,processState:n}))).resolve()})(e,i()):s===o.N5?((e,t)=>{const{transactionRole:a}=e,{processName:s,processState:n,states:i}=t,r=o.h2;return new o.iW([n,a]).cond([i.FREE_INQUIRY,r],(()=>({processName:s,processState:n,actionNeeded:!0}))).default((()=>({processName:s,processState:n}))).resolve()})(e,i()):{}}}}]);
2//# sourceMappingURL=3363.a6008c1e.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.