1(this.webpackJsonpgorilladesk=this.webpackJsonpgorilladesk||[]).push([[67],{2542:function(e,t,c){"use strict";c.r(t);var s=c(1),a=c(11),i=c.n(a),n=(c(2),c(60)),b=c(6),o=c(156),r=c(15),l=c(24),u=c(37),j=c(306),O=c(170),d=c(182),m=c(272),E=c(259),_=c(270),v=c(303),I=c(349),A=c(245),h=c(138),p=c(149),T=c(291),N=c(104),k=c(116),D=c(0);t.default=function(e){var t=e.markData,c=Object(b.c)(),a=Object(o.useHistory)(),f=Object(n.a)().t,x=t.type,L=t.data||{},J=L.id,S=L.oldData,B=L.name,C=L.customer,y=L.status,M=L.schedule,g=L.event,w=L.recurrence,V=L.location,P=L.invoice,R=(S||{}).status;var H=function(e){var t=e.className,c=void 0===t?"":t,s=e.color;return Object(D.jsx)("div",{className:i()("job-item__detail status-btn ".concat(c),{"--job-status":!c}),style:{"--bg-job-status":s,"--color-job-status":Object(N.b)(s)},children:B})};return Object(D.jsxs)("div",{className:"job-item items",onClick:function(){switch(x){case j.b.JOB:a.location.pathname!==r.CALENDAR&&a.push(Object(l.d)(r.CALENDAR)),k.a.emit(u.c.OPEN_PREVIEW_JOB,{id:J,name:B,customer:C,schedule:M,event:g,status:y,recurrence:w,location:V,invoice:P});break;case j.b.SMS:c(Object(T.b)(Object(s.a)({},C)));break;case j.b.JOB_DETAIL:c(Object(p.c)({id:J}));break;case j.b.INVOICE_DETAIL:c(Object(h.c)(S));break;case j.b.ESTIMATE_DETAIL:c(Object(A.c)(S))}},children:[x===j.b.JOB&&Object(D.jsx)("div",{className:"job-item__icon",children:Object(D.jsx)(O.a,{isMenuActive:!0})}),function(){switch(x){case j.b.JOB_DETAIL:case j.b.JOB:return Object(D.jsx)(v.a,{type:"bookmark_job"});case j.b.ESTIMATE_DETAIL:return Object(D.jsx)(m.a,{type:"setting"});case j.b.INVOICE_DETAIL:return Object(D.jsx)(E.a,{type:"setting"});case j.b.SMS:return Object(D.jsx)(_.a,{type:"custom"});default:return null}}(),Object(D.jsx)("p",{className:"job-item__label",children:C.full_name}),function(){var e;switch(x){case j.b.JOB_DETAIL:case j.b.JOB:return H({color:null===(e=Object(N.c)(y))||void 0===e?void 0:e.color});case j.b.ESTIMATE_DETAIL:case j.b.INVOICE_DETAIL:return H({className:null===R||void 0===R?void 0:R.toLowerCase()});case j.b.SMS:return Object(D.jsx)("div",{className:"job-item__detail",children:f("customers:sms")});default:return!1}}(),Object(D.jsx)("div",{className:"icons-close",onClick:function(e){return function(e){e.stopPropagation(),c(Object(I.d)({id:t.id}))}(e)},children:Object(D.jsx)(d.a,{})})]})}}}]); 2//# sourceMappingURL=67.e5b6dff1.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.