PageSourceSearch

https://portal.liquidweb.com/static/js/8360.76a6ada4.chunk.js

js liquidweb.com collected 2026-10-02 02:17:43 UTC 21,404 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkwallaby=self.webpackChunkwallaby||[]).push([[8360],{25230:(e,t,n)=>{n.d(t,{A:()=>p});var s=n(65043),i=n(22778),r=n.n(i),a=n(64528),o=n.n(a),l=n(48630),d=n.n(l),c=n(48591),u=n(70579);const p=function(e){const{children:t,sx:n,...i}=e,a=e=>"string"===typeof e?e:"number"===typeof e?e.toString():s.isValidElement(e)&&e.props.children?s.Children.toArray(e.props.children).map((e=>a(e))).join(""):"";return(0,u.jsxs)(o(),{sx:(0,c.default)({position:"relative"},n),...i,children:[(0,u.jsx)(r(),{iconButtonProps:{variant:"barebones",sx:{position:"absolute",top:8,right:8}},onClick:async()=>{try{const e=s.Children.toArray(t).map((e=>a(e))).join("");await navigator.clipboard.writeText(e)}catch(e){console.error("Failed to copy text: ",e)}}}),(0,u.jsx)(d(),{component:"pre",fontType:"monospace",variant:"label-lg",sx:{padding:300,background:e=>{let{vars:t}=e;return t.palette.uc.bg.weak},display:"block",borderRadius:e=>{let{borderRadius:t}=e;return t.roundedSm},overflowX:"auto","*":{fontFamily:"monospace",whiteSpace:"pre-wrap",wordBreak:"break-word"}},children:t})]})}},22038:(e,t,n)=>{n.d(t,{A:()=>d});var s=n(48630),i=n.n(s),r=n(87977),a=n(80229),o=n(25230),l=n(70579);const d=e=>{let{content:t,domPurifyConfig:n}=e;if(!t)return null;const s=r.A.sanitize(t,{FORBID_TAGS:["style"],...n}),d={replace:e=>"tag"===e.type&&"pre"===e.name?(0,l.jsx)(o.A,{sx:{marginY:200},children:(0,a.zd)(e.children,d)}):"tag"===e.type&&"h1"===e.name?(0,l.jsx)(i(),{component:"h1",variant:"title-md",sx:{fontWeight:500,marginY:200},...(0,a.$5)(e.attribs),children:(0,a.zd)(e.children,d)}):"tag"===e.type&&"h2"===e.name?(0,l.jsx)(i(),{component:"h2",variant:"title-sm",sx:{fontWeight:500,marginY:200},...(0,a.$5)(e.attribs),children:(0,a.zd)(e.children,d)}):"tag"===e.type&&"h3"===e.name?(0,l.jsx)(i(),{component:"h3",variant:"title-xs",sx:{fontWeight:500,marginY:150},...(0,a.$5)(e.attribs),children:(0,a.zd)(e.children,d)}):"tag"!==e.type||"h4"!==e.name&&"h5"!==e.name&&"h6"!==e.name?"tag"===e.type&&"p"===e.name?(0,l.jsx)(i(),{component:"p",variant:"body-md",...(0,a.$5)(e.attribs),children:(0,a.zd)(e.children,d)}):e:(0,l.jsx)(i(),{component:e.name,variant:"body-md",sx:{fontWeight:500,marginY:150},...(0,a.$5)(e.attribs),children:(0,a.zd)(e.children,d)})};return(0,l.jsx)(i(),{children:(0,a.Ay)(s,d)})}},82356:(e,t,n)=>{n.d(t,{A:()=>c});var s=n(90833),i=n(10142),r=n.n(i),a=n(44874),o=n.n(a),l=n(48591),d=n(70579);const c=e=>{let{variant:t,width:n=16,height:i=16,sx:a,...c}=e;const{fill:u,stroke:p}=(e=>{const t=(0,s.useTheme)(),{vars:n}=t;switch(e){case"success":return{fill:n.palette.uc.success.bg.hover,stroke:n.palette.uc.success.border.strong};case"warning":return{fill:n.palette.uc.warning.bg.hover,stroke:n.palette.uc.warning.border.strong};case"danger":return{fill:n.palette.uc.danger.bg.hover,stroke:n.palette.uc.danger.border.strong};default:return{fill:n.palette.uc.bg.medium,stroke:n.palette.uc.border.medium}}})(t);return"loading"===t?(0,d.jsx)(o(),{...c,sx:(0,l.default)({width:n,height:i,scale:1.2},a),strokeWidth:2}):(0,d.jsx)(r(),{width:n,height:i,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",sx:(0,l.default)((e=>{let{size:t}=e;return{fill:"none",height:t.xS,width:t.xS}}),a),...c,children:(0,d.jsx)("g",{id:"circle",children:(0,d.jsxs)("g",{id:"Vector",opacity:"0.8",children:[(0,d.jsx)("path",{d:"M8.00586 13.8813C7.20117 13.8813 6.44336 13.7271 5.73242 13.4185C5.02539 13.1138 4.40039 12.6919 3.85742 12.1528C3.31836 11.6099 2.89453 10.9849 2.58594 10.2778C2.28125 9.56689 2.12891 8.80908 2.12891 8.00439C2.12891 7.19971 2.28125 6.44385 2.58594 5.73682C2.89453 5.02588 3.31836 4.40088 3.85742 3.86182C4.39648 3.31885 5.01953 2.89502 5.72656 2.59033C6.4375 2.28174 7.19531 2.12744 8 2.12744C8.80469 2.12744 9.5625 2.28174 10.2734 2.59033C10.9844 2.89502 11.6094 3.31885 12.1484 3.86182C12.6875 4.40088 13.1113 5.02588 13.4199 5.73682C13.7285 6.44385 13.8828 7.19971 13.8828 8.00439C13.8828 8.80908 13.7285 9.56689 13.4199 10.2778C13.1113 10.9849 12.6875 11.6099 12.1484 12.1528C11.6094 12.6919 10.9844 13.1138 10.2734 13.4185C9.56641 13.7271 8.81055 13.8813 8.00586 13.8813Z",fill:u}
1),(0,d.jsx)("path",{d:"M5.3296 1.6725C4.50704 2.02715 3.77809 2.5227 3.14904 3.15599C2.52023 3.78511 2.02616 4.51495 1.66863 5.33864L1.66862 5.33864L1.66758 5.34106C1.3066 6.17872 1.12891 7.06988 1.12891 8.00439C1.12891 8.93893 1.3066 9.83131 1.66679 10.6718L1.66677 10.6718L1.66943 10.6779C2.02712 11.4974 2.52077 12.2258 3.14777 12.8574L3.14775 12.8574L3.15287 12.8625C3.78501 13.4901 4.51447 13.9823 5.33532 14.3362C6.17643 14.7012 7.06994 14.8813 8.00586 14.8813C8.94105 14.8813 9.83271 14.7014 10.6705 14.3363C11.4953 13.9823 12.226 13.4895 12.8555 12.8599L12.8581 12.8574C13.4851 12.2258 13.9787 11.4974 14.3364 10.6779L14.3372 10.676C14.7025 9.83458 14.8828 8.94071 14.8828 8.00439C14.8828 7.06844 14.7026 6.17609 14.3368 5.33772C13.9793 4.51441 13.4854 3.78488 12.8568 3.15599C12.2271 2.52203 11.4957 2.02653 10.6695 1.67212C9.82871 1.30749 8.93554 1.12744 8 1.12744C7.06413 1.12744 6.17067 1.30762 5.3296 1.6725Z",stroke:p,strokeOpacity:"0.5",strokeWidth:"2"})]})})})}},38625:(e,t,n)=>{n.d(t,{Ay:()=>ve});var s=n(65043),i=n(91688),r=n(60446),a=n.n(r),o=n(58769),l=n(45597),d=n.n(l),c=n(11704),u=n(22514),p=n.n(u),x=n(10941),h=n.n(x),m=n(42632),v=n.n(m),g=n(40920),j=n.n(g),y=n(85292),b=n.n(y),w=n(63587),f=n.n(w),C=n(69142),k=n.n(C),A=n(6568),_=n.n(A),S=n(3297),L=n.n(S),W=n(67322),R=n.n(W),I=n(48630),T=n.n(I),z=n(5424),q=n.n(z),D=n(48591),B=n(29923),M=n.n(B),$=n(4050),P=n.n($),F=n(25),N=n(30394),Y=n(59822),G=n(14443),H=n.n(G),O=n(29097),E=n(93378),K=n(40201),V=n(20520),Q=n.n(V),U=n(31819),X=n.n(U),Z=n(70579);a().extend(H());const J=e=>{let{label:t,children:n,sx:s}=e;return(0,Z.jsxs)(L(),{sx:[{gap:50},...Array.isArray(s)?s:[s]],children:[(0,Z.jsx)(T(),{variant:"label-lg",sx:{color:e=>{let{vars:t}=e;return t.palette.uc.text.weak}},children:t}),n]})},ee=e=>{let{onClose:t,status:n,subject:s,createdDate:i,ticketNumber:r,caseId:o,description:l,respondable:d,subaccntHashRef:c,desiredLwTeam:u,subType:p,ccList:x,path:h,...m}=e;const{data:v}=(0,O.Ay)({uniq_id:(null===c||void 0===c?void 0:c.uniq_id)||"",alsowith:["product"]},{enabled:Boolean(null===c||void 0===c?void 0:c.uniq_id)}),g=null===v||void 0===v?void 0:v.product,j=(null===g||void 0===g?void 0:g.title)||(null===g||void 0===g?void 0:g.sub_title),{data:y,isLoading:b}=(0,E.A)({ticket_number:r,alsowith:["comments","customComments","emailsWithAttachmentDetails"]},{enabled:Boolean(r)});return(0,Z.jsxs)(P(),{anchor:"right",onClose:t,...m,children:[(0,Z.jsx)(X(),{onClose:t,description:`Case number ${r}`,children:s}),(0,Z.jsxs)(Q(),{sx:{gap:300},children:[(0,Z.jsxs)(L(),{direction:"row",sx:{gap:300},children:[(0,Z.jsx)(J,{label:"Status",children:(0,Z.jsx)(N.A,{status:n})}),j&&(0,Z.jsx)(J,{label:"Product",sx:{minWidth:0},children:(0,Z.jsx)(q(),{variant:"body-sm",children:j})}),(0,Z.jsx)(J,{label:"Created",children:(0,Z.jsx)(T(),{variant:"body-sm",children:a()(i).format("l")})})]}
1),!d&&(0,Z.jsx)(Y.A,{id:o,subject:s,desired_lw_team:u,sub_type:p,cc_list:x,subaccntHashRef:c}),(0,Z.jsx)(F.A,{caseId:o,comments:null===y||void 0===y?void 0:y.comments,createdDate:i,customComments:null===y||void 0===y?void 0:y.customComments,emailsWithAttachmentDetails:null===y||void 0===y?void 0:y.emailsWithAttachmentDetails,description:l,respondable:d,onCancelReply:t,isLoading:b}),(0,Z.jsx)(M(),{component:K.N_,to:"migration-center"===h?`/support/mycases/${r}?fromMigrationList=true`:`/support/mycases/${r}`,variant:"secondary",size:"large",children:"View case"})]})]})},te={"Not Started":"Request received, awaiting assignment to team.",Assessment:"Requirements are being reviewed.","Initial Sync":"We are copying data from your source environment to the destination environment.","Testing Phase":"Your migrated environment is ready for you or your team to review for issues.","Final Scheduled":"Your final sync or go-live activity has been scheduled.","Post-Go Live":"We are completing the final validation.","Migration Completed":"Your migration is complete, the destination environment is now live.","Migration Cancelled":"This migration has been cancelled and will need to be resubmitted."},ne=e=>{let{children:t,onClose:n,...s}=e;return(0,Z.jsxs)(P(),{anchor:"right",onClose:n,...s,children:[(0,Z.jsx)(X(),{onClose:n,description:(0,Z.jsx)(T(),{sx:{color:e=>{let{vars:t}=e;return t.palette.uc.text.medium}},children:"What each one means for you"}),children:(0,Z.jsx)(T(),{variant:"title-xs",sx:{fontWeight:500},children:"Migration Statuses"})}),t]})},se=e=>{let{migrationStatuses:t,onClose:n,...i}=e;const r=(0,s.useMemo)((()=>t?null===t||void 0===t?void 0:t.statuses.map((e=>({...e,description:te[e.key]}))):[]),[t]);return(0,Z.jsx)(ne,{onClose:n,...i,children:(0,Z.jsx)(Q(),{children:(0,Z.jsx)(L(),{direction:"column",sx:{gap:300},children:r.map((e=>(0,Z.jsxs)(T(),{variant:"body-md",children:[(0,Z.jsx)(T(),{component:"span",sx:e=>{let{palette:t}=e;return{color:t.uc.text.main,fontWeight:700}},children:e.value})," \u2014 ",(0,Z.jsx)(T(),{component:"span",children:e.description})]},e.key)))})})})};var ie=n(82356),re=n(72526),ae=n(35436);const oe=e=>(0,re.I)({queryKey:["/support/request/migrationStatusPicklistOptions"],queryFn:()=>ae.Ay.support.request.apiRaw.migrationStatusPicklistOptions(),...e}),le=e=>{let{sx:t,children:n,to:s,...r}=e;const a=(0,i.W6)();return(0,Z.jsx)(j(),{sx:{":hover, &:has(*:focus-visible)":{".cases-list-item-preview-button":{opacity:1}},...t},...r,children:(0,Z.jsx)(b(),{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:100},onClick:()=>{s&&a.push(s)},children:n})})},de=e=>{let{lastReply:t}=e;return(0,Z.jsx)(R(),{title:`Last reply ${a()(t).format("l LT")}`,children:(0,Z.jsx)(d(),{icon:(0,Z.jsx)(v(),{}),label:a()(t).fromNow()})})},ce=e=>{let{createdDate:t}=e;return(0,Z.jsx)(R(),{title:`Created ${a()(t).format("l LT")}`,children:(0,Z.jsx)(T(),{variant:"label-md",sx:{color:e=>{let{vars:t}=e;return t.palette.uc.text.weak}},children:a()(t).format("l")})})},ue=e=>{let{domain:t}=e;return(0,Z.jsx)(R(),{title:t,children:(0,Z.jsx)(d(),{label:t,sx:(0,D.default)((()=>({maxWidth:"150px"})))})})},pe=e=>{let{onClick:t}=e;return(0,Z.jsx)(R(),{title:"Preview",children:(0,Z.jsx)(p(),{variant:"barebones",size:"large",className:"cases-list-item-preview-button",sx:{opacity:0,transition:"opacity 0.1s ease-in-out",padding:0,":focus-visible":{opacity:1},display:{xs:"none",md:"inline-flex"}},onClick:t,children:(0,Z.jsx)(h(),{sx:{color:e=>{let{vars:t}=e;return t.palette.uc.icon.main},[c.pseudoClasses.important]:{height:e=>{let{size:t}=e;return t.sm},width:e=>{let{size:t}=e;return t.sm}}}})})})},xe=e=>{let{sx:t,...n}=e;return(0,Z.jsx)(L(),{direction:"row",sx:(0,D.default)({display:{xs:"none",md:"flex"},gap:100,alignItems:"center"},t),...n})},he=e=>{let{...t}=e;return(0,Z.jsx)(L(),{direction:"row",...t,sx:[{gap:200,alignItems:"center",minWidth:0},...Array.isArray(t.sx)?t.sx:[t.sx]]})},me=e=>{let{...t}=e;return(0,Z.jsx)(L(),{direction:"row",...t,sx:[{gap:100,alignItems:"center",minWidth:0},...Array.isArray(t.sx)?t.sx:[t.sx]]})},ve=e=>{let{title:t,items:n,path:i}=e;
1const[r,a]=(0,s.useState)(""),[l,c]=(0,s.useState)(!1),{data:u,isLoading:x}=oe({enabled:n.length>0}),h=(null===u||void 0===u?void 0:u.statuses)||[],m=(0,s.useMemo)((()=>{if(r)return n.find((e=>{let{ticket_number:t}=e;return(null===t||void 0===t?void 0:t.toString())===r}))}),[n,r]),v=e=>{switch(e){case"Closed":return"neutral";case"Waiting on Customer":return"warning";default:return"success"}},g=e=>{switch(j(e)){case"Testing":return"highlight";case"Cancelled":case"Migration Cancelled":return"warning";case"Migration Completed":case"Completed":case"Success":return"success";default:return"default"}},j=e=>{var t;return null===e?"Not Started":(null===h||void 0===h||null===(t=h.find((t=>t.key.toLowerCase()===(null===e||void 0===e?void 0:e.toLowerCase()))))||void 0===t?void 0:t.value)||e},y=["Migrations","Windows"],b=e=>y.includes((null===e||void 0===e?void 0:e.trim())||"");return(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsxs)(L(),{children:[(0,Z.jsx)(k(),{children:(0,Z.jsxs)(T(),{variant:"body-sm",children:[t," ",(0,Z.jsx)(T(),{variant:"body-sm",component:"span",sx:{color:e=>{let{vars:t}=e;return t.palette.uc.text.weak}},children:n.length})]})}),n.map((e=>{let{id:t,status:n,subject:s,ticket_number:r,last_outbound_email:o,created_date:l,subaccntHashRef:u,case_origin:h,desired_lw_team:m,migration_status:y}=e;return(0,Z.jsxs)(le,{to:"migration-center"===i?`/support/mycases/${r}?fromMigrationList=true`:`/support/mycases/${r}`,children:[(0,Z.jsxs)(he,{children:[(0,Z.jsx)(R(),{title:n,children:(0,Z.jsx)(p(),{variant:"barebones",size:"large",children:(0,Z.jsx)(ie.A,{variant:v(n)})})}),(0,Z.jsxs)(me,{children:[(0,Z.jsx)(f(),{primary:(0,Z.jsx)(q(),{children:s}),secondary:r,slotProps:{primary:{sx:{minWidth:0}}}}),(0,Z.jsx)(pe,{onClick:e=>{e.stopPropagation(),a(String(r))}})]})]}),(0,Z.jsxs)(xe,{children:["Community"===h&&b(m)&&(0,Z.jsx)(Z.Fragment,{children:x?(0,Z.jsx)(_(),{variant:"rounded",sx:e=>{let{size:t}=e;return{width:t.xXL,height:t.sm}}}):(0,Z.jsx)(d(),{color:g(y),label:j(y),size:"small",onClick:e=>{e.stopPropagation(),c(!0)}})}),(null===u||void 0===u?void 0:u.domain)&&(0,Z.jsx)(ue,{domain:u.domain}),"migration-center"!==i&&o&&(0,Z.jsx)(de,{lastReply:o}),l&&(0,Z.jsx)(ce,{createdDate:l})]})]},t)}))]}),(0,Z.jsx)(ee,{onClose:()=>a(""),open:Boolean(r),ticketNumber:r,status:(null===m||void 0===m?void 0:m.status)||"",subject:(null===m||void 0===m?void 0:m.subject)||"",createdDate:(null===m||void 0===m?void 0:m.created_date)||"",caseId:(null===m||void 0===m?void 0:m.id)||"",description:(null===m||void 0===m?void 0:m.description)||"",respondable:(0,o.fromApiBoolean)(null===m||void 0===m?void 0:m.respondable),subaccntHashRef:null===m||void 0===m?void 0:m.subaccntHashRef,desiredLwTeam:null===m||void 0===m?void 0:m.desired_lw_team,subType:null===m||void 0===m?void 0:m.sub_type,ccList:null===m||void 0===m?void 0:m.cc_list,path:i}),(0,Z.jsx)(se,{open:l,migrationStatuses:u,onClose:()=>c(!1)})]})}},30267:(e,t,n)=>{n.d(t,{A:()=>d});n(65043);var s=n(40920),i=n.n(s),r=n(6568),a=n.n(r),o=n(34317),l=n(70579);const d=e=>{let{header:t}=e;return(0,l.jsxs)(o.A,{children:[t,(0,l.jsx)(i(),{children:(0,l.jsx)(a(),{variant:"rounded",width:"100%"})}),(0,l.jsx)(i(),{children:(0,l.jsx)(a(),{variant:"rounded",width:"100%"})}),(0,l.jsx)(i(),{children:(0,l.jsx)(a(),{variant:"rounded",width:"100%"})})]})}},34317:(e,t,n)=>{n.d(t,{A:()=>a});var s=n(32451),i=n.n(s),r=n(70579);const a=e=>{let{children:t,sx:n,...s}=e;return(0,r.jsx)(i(),{sx:{display:"flex",flexDirection:"column",borderColor:e=>{let{vars:t}=e;return t.palette.uc.border.weak},maxHeight:"none",flexGrow:1,...n},...s,children:t})}},25:(e,t,n)=>{n.d(t,{A:()=>N});var s=n(65043),i=n(51311),r=n.n(i),a=n(6568),o=n.n(a),l=n(3297),d=n.n(l),c=n(48630),u=n.n(c),p=n(22038),x=n(70579);const h=e=>{let{children:t}=e;return(0,x.jsx)("div",{style:{whiteSpace:"pre-wrap"},children:t})};var m=n(60446),v=n.n(m),g=n(14443),j=n.n(g),y=n(86866),b=n.n(y),w=n(11806),f=n.n(w),C=n(86675),k=n(93596),A=n(72342),_=n(18402),S=n.n(_),L=n(59781),W=n(12836),R=n(35436),I=n(81828),T=n(93378),z=n(80058);const q=()=>{const e=(0,L.jE)(),t=(0,I.A)();return(0,W.n)({mutationFn:e=>R.Ay.support.request.apiRaw.reply(e),onSuccess:t=>{var n;S().success("Reply saved");const s=null===(n=t.case_details)||void 0===n?void 0:n.ticket_number;s&&(e.invalidateQueries({queryKey:[T.U,{ticket_number:s}]}),e.setQueriesData({queryKey:[T.U,{ticket_number:s}]},(e=>e?{...e,...t.case_details}
1:e))),e.invalidateQueries({queryKey:[z.qS]})},onError:t})};var D=n(29923),B=n.n(D);const M=e=>{let{onCancel:t,caseId:n}=e;const[i,r]=(0,s.useState)({message:""}),[a,o]=(0,s.useState)({}),{mutate:l,isLoading:c}=q();return(0,x.jsx)(C.Ay,{errors:a,onErrorsChange:o,onSubmit:()=>{i.message&&l({id:n,comment:i.message,return_case_alsowiths:["customComments"]},{onSuccess:()=>{r({message:""})}})},onValuesChange:r,values:i,children:(0,x.jsxs)(d(),{sx:{gap:200},children:[(0,x.jsx)(A.A,{multiline:!0,minRows:5,name:"message",placeholder:"Reply here",fullWidth:!0}),(0,x.jsxs)(d(),{direction:"row",sx:{gap:100},children:[(0,x.jsx)(k.A,{sx:{flexGrow:{"@500/support-conversation":0,"@0/support-conversation":1}},loading:c,size:"large",children:"Reply"}),(0,x.jsx)(B(),{sx:{flexGrow:{"@500/support-conversation":0,"@0/support-conversation":1}},variant:"secondary",onClick:()=>{r({message:""}),null===t||void 0===t||t()},size:"large",children:"Cancel"})]})]})})};v().extend(j());const $=e=>{let{children:t}=e;return(0,x.jsx)(r(),{elevation:1,sx:{padding:200,display:"flex",flexDirection:"column",gap:200,overflowWrap:"anywhere",img:{display:"block",maxWidth:"100%"}},children:t})},P=e=>{let{date:t,sx:n}=e;return(0,x.jsxs)(d(),{direction:"row",sx:[{gap:50,alignItems:"center"},...Array.isArray(n)?n:[n]],children:[(0,x.jsx)(f(),{}),(0,x.jsx)(u(),{variant:"label-md",sx:{color:e=>{let{vars:t}=e;return t.palette.uc.text.weak}},children:v()(t).format("l LTS")})]})},F=e=>{let{children:t}=e;return(0,x.jsxs)(d(),{sx:{gap:200,container:"support-conversation",containerType:"inline-size"},children:[(0,x.jsx)(u(),{variant:"title-xs",sx:{fontWeight:500},children:"Conversation"}),t]})},N=e=>{let{caseId:t,comments:n=[],createdDate:s,customComments:i=[],emailsWithAttachmentDetails:r=[],description:a,respondable:l,onCancelReply:c,isLoading:m}=e;if(m)return(0,x.jsxs)(F,{children:[(0,x.jsx)(o(),{variant:"rounded",width:"100%",height:"134px"}),(0,x.jsxs)(d(),{direction:"row",sx:{gap:100},children:[(0,x.jsx)(o(),{variant:"rounded",height:"40px",sx:{width:{"@500/support-conversation":"70px","@0/support-conversation":"100%"},flexGrow:{"@500/support-conversation":0,"@0/support-conversation":1}}}),(0,x.jsx)(o(),{variant:"rounded",height:"40px",sx:{width:{"@500/support-conversation":"70px","@0/support-conversation":"100%"},flexGrow:{"@500/support-conversation":0,"@0/support-conversation":1}}})]}),(0,x.jsx)(o(),{variant:"rounded",width:"100%",height:"200px"})]});const g=[...n.map((e=>{let{created_date:t,comment:n,id:s}=e;return{htmlBody:"",body:n,date:v()(t).format("l LTS"),dateRaw:t,id:s,user:""}})),...i.map((e=>{let{id:t,body:n,contact_email:s,created_date:i}=e;return{htmlBody:"",body:n,date:v()(i).format("l LTS"),dateRaw:i,id:t,user:s}})),...r.map((e=>{let{html_body:t,body:n,message_date:s,id:i,from_address:r}=e;return{htmlBody:t,body:n,date:v()(s).format("l LTS"),dateRaw:s,id:i,user:r}}))].sort(((e,t)=>v()(t.dateRaw).diff(v()(e.dateRaw))));return(0,x.jsxs)(F,{children:[l&&t&&(0,x.jsx)(M,{onCancel:c,caseId:t}),g.map((e=>{let{body:t,htmlBody:n,date:s,user:i,id:r}=e;return(0,x.jsxs)($,{children:[(0,x.jsxs)(d(),{direction:"row",sx:{justifyContent:"space-between",alignItems:"center"},children:[(0,x.jsxs)(d(),{direction:"row",sx:{gap:150,alignItems:"center"},children:[i&&(0,x.jsx)(b(),{sx:{margin:0},children:i[0]}),(0,x.jsx)(u(),{variant:"label-xl",sx:{fontWeight:500},children:i})]}),(0,x.jsx)(P,{date:s,sx:{display:{"@500/support-conversation":"flex","@0/support-conversation":"none"}}})]}),(0,x.jsx)(u(),{variant:"body-md",children:n?(0,x.jsx)(p.A,{content:n}):(0,x.jsx)(h,{children:t})}),(0,x.jsx)(P,{date:s,sx:{display:{"@500/support-conversation":"none","@0/support-conversation":"flex"}}})]},r)})),a&&(0,x.jsxs)($,{children:[(0,x.jsxs)(d(),{direction:"row",sx:{justifyContent:"space-between",alignItems:"center"},children:[(0,x.jsx)(u(),{variant:"label-xl",sx:{fontWeight:500},children:"Case Description"}),s&&(0,x.jsx)(P,{date:s,sx:{display:{"@500/support-conversation":"flex","@0/support-conversation":"none"}}})]}),(0,x.jsx)(u(),{variant:"body-md",children:(0,x.jsx)(h,{children:a})}),s&&(0,x.jsx)(P,{date:s,sx:{display:{"@500/support-conversation":"none","@0/support-conversation":"flex"}}})]})]})}},30394:(e,t,n)=>{n.d(t,{A:()=>c});n(65043);var s=n(45597),i=n.n(s),r=n(11704),a=n(4807),o=n.n(a),l=n(70579);const d=e=>{switch(e.toLowerCase()){case"waiting on customer":return"warning";case"new":case"open":return"success";default:return"default"}},c=e=>{let{status:t}=e;return(0,l.jsx)(i(),{label:"waiting on customer"===t.toLowerCase()?"Needs attention":t,color:d(t),icon:(0,l.jsx)(o(),{sx:{[r.pseudoClasses.important]:{color:e=>{let{vars:n}=e;const s=d(t);return"default"===s?n.palette.uc.bg.strong:n.palette.uc[s].icon.strong}}}})})}},59822:(e,t,n)=>{n.d(t,{A:()=>h});var s=n(65043),i=n(24871),r=n.n(i),a=n(48630),o=n.n(a),l=n(63659),d=n(18150),c=n.n(d),u=n(15195),p=n.n(u),x=n(70579);const h=e=>{let{id:t,subject:n,desired_lw_team:i,sub_type:a,cc_list:d,subaccntHashRef:u}=e;
1const[h,m]=(0,s.useState)(!1);return(0,x.jsxs)(x.Fragment,{children:[(0,x.jsxs)(p(),{icon:(0,x.jsx)(c(),{sx:{flexShrink:0}}),children:[(0,x.jsxs)(o(),{component:"span",variant:"body-sm",children:["It looks like this case is closed and archived. If you still need help with this issue,"," "]}),(0,x.jsx)(r(),{component:"button",sx:{verticalAlign:"baseline"},onClick:()=>m(!0),children:(0,x.jsx)(o(),{variant:"body-sm",children:"open a new case"})}),(0,x.jsx)(o(),{variant:"body-sm",children:"."})]}),(0,x.jsx)(l.A,{open:h,relatedTicketId:t,initSubject:n,initDepartment:i,initCategory:a,initAssetOption:null!==u&&void 0!==u&&u.uniq_id?{uniqId:null===u||void 0===u?void 0:u.uniq_id,label:(0,l.J)({domain:null===u||void 0===u?void 0:u.domain,type:null===u||void 0===u?void 0:u.type})}:void 0,initRecipients:d,onClose:()=>m(!1)})]})}}}]);
2//# sourceMappingURL=8360.76a6ada4.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.