(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{721:function(e,t,a){"use strict";a.r(t);var n=a(74),l=a.n(n),o=a(12),r=a.n(o),i=a(3),c=a.n(i),s=a(6),u=a.n(s),E=a(0),m=a.n(E),p=a(75),g=a(11),S=a(21),d=a(14),f=a(117),b=a(2),T=a(4),k=a(10),v=a(703),N=a(698),C=a(702),P=function(e){var t=Object(E.useState)(null),a=t[0],n=t[1];return Object(E.useEffect)(function(){n(e.moreLessRef)},[e.moreLessRef]),m.a.createElement("li",null,m.a.createElement("h3",{className:"subheading subheading-sm subheading-flush"},m.a.createElement(N.a,{to:e.linkTo},m.a.createElement("strong",null,e.label)),a&&a.current&&m.a.createElement(C.a,{tagRef:a})),e.children)};function O(e){var t=Object(E.useContext)(S.c).createCaseState,a=Object(E.useContext)(p.c).attachmentState,n=Object(E.useContext)(g.c).appMetadataState,o=n.loggedInUsersAccount,i=n.caseGroups,s=n.loggedInUserJwtToken,N=Object(E.useContext)(d.a).routeState,C=N.activeSection,O=N.isSectionValid,L=N.appRouteSectionsSequence,_=Object(E.useContext)(d.c),h=Object(E.useRef)(null);Object(E.useEffect)(function(){if(C===b.a.REVIEW){var e=Object(f.f)(t,o.data.require_cgroup_on_create,s);O!==e&&_({type:b.b.setIsSectionValid,payload:{isSectionValid:e}})}},[t,C,o.data]);var A,y,I=r()(t,"entitlement.sla","");return m.a.createElement(m.a.Fragment,null,m.a.createElement("div",{className:"card card-light card-md"},m.a.createElement("ul",{className:"list-flat"},m.a.createElement(P,{linkTo:k.a.getNavigateToSectionLink(e.routeProps,b.a.PRODUCT_SELECTOR,L),label:"Environment"},m.a.createElement("p",null,t.product+" "+t.version)),m.a.createElement(P,{linkTo:k.a.getNavigateToSectionLink(e.routeProps,b.a.OPEN_CASE,L),label:"Issue statement"},m.a.createElement("p",null,t.summary)),m.a.createElement(P,{linkTo:k.a.getNavigateToSectionLink(e.routeProps,b.a.OPEN_CASE,L),label:"Case details",moreLessRef:h},m.a.createElement("pre",{ref:h},t.issue)),m.a.createElement(P,{linkTo:k.a.getNavigateToSectionLink(e.routeProps,b.a.OPEN_CASE,L),label:"Case type"},m.a.createElement("p",null,t.type)),m.a.createElement(P,{linkTo:k.a.getNavigateToSectionLink(e.routeProps,b.a.OPEN_CASE,L),label:"Severity level"},m.a.createElement("p",null,(c()(I)?"":I+" / ")+t.severity)),function(){if(T.a.showFts(r()(t,"entitlement.sla",""),t.severity))return m.a.createElement(m.a.Fragment,null,m.a.createElement(P,{linkTo:k.a.getNavigateToSectionLink(e.routeProps,b.a.OPEN_CASE,L),label:"24x7 Support"},m.a.createElement("p",null,t.fts?"true":"false")),t.fts&&t.contactInfo24X7&&m.a.createElement(P,{linkTo:k.a.getNavigateToSectionLink(e.routeProps,b.a.OPEN_CASE,L),label:"24x7 Contact"},m.a.createElement("p",null,t.contactInfo24X7)))}(),o.data.has_enhanced_sla&&m.a.createElement(P,{linkTo:k.a.getNavigateToSectionLink(e.routeProps,b.a.OPEN_CASE,L),label:"Enhanced SLA"},m.a.createElement("p",null,t.enhancedSLA?"true":"false")),o.data.require_cgroup_on_create&&m.a.createElement(P,{linkTo:k.a.getNavigateToSectionLink(e.routeProps,b.a.OPEN_CASE,L),label:"Case Group"},m.a.createElement("p",null,l()(i.data,function(e){return e.number===t.folderNumber}).name)),a.caseFiles.selectedLocalFiles.length>0&&m.a.createElement(P,{linkTo:k.a.getNavigateToSectionLink(e.routeProps,b.a.IMPROVE_CASE,L),label:"File upload"},m.a.createElement("p",null,(y=[],u()(a.caseFiles.selectedLocalFiles,function(e){y.push(e.name)}),y).join(", "))),t.environment&&m.a.createElement(P,{linkTo:k.a.getNavigateToSectionLink(e.routeProps,b.a.IMPROVE_CASE,L),label:"Environment"},m.a.createElement("p",null,t.environment)),t.periodicityOfIssue&&m.a.createElement(P,{linkTo:k.a.getNavigateToSectionLink(e.routeProps,b.a.IMPROVE_CASE,L),label:"Frequency of the issue"},m.a.createElement("p",null,t.periodicityOfIssue)),t.timeFramesAndUrgency&&m.a.createElement(P,{linkTo:k.a.getNavigateToSectionLink(e.routeProps,b.a.IMPROVE_CASE,L),label:"Timeframe and business impact"},m.a.createElement("p",null,t.timeFramesAndUrgency)),t.notifiedUsers.user.length>0&&m.a.createElement(P,{linkTo:k.a.getNavigateToSectionLink(e.routeProps,b.a.CASE_MGM,L),label:"Send notifications"},m.a.createElement("p",null,(A=[],u()(t.selectedNotificationContacts,function(e){A.push(e.firstName+" "+e.lastName+" ("+e.ssoUsername+")")}),A).join(", "))),t.language&&m.a.createElement(P,{linkTo:k.a.getNavigateToSectionLink(e.routeProps,b.a.CASE_MGM,L),label:"Case language"},m.a.createElement("p",null,v.a.languagesMap[t.language])))))}a.d(t,"default",function(){return O})}}]);
//# sourceMappingURL=Review.8181b359.chunk.js.map