PageSourceSearch

https://esp.asebp.ca/static/js/440.b1929fed.chunk.js

js asebp.ca collected 2026-09-24 11:43:55 UTC 12,065 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkweb=self.webpackChunkweb||[]).push([[440],{3794:function(e,t,r){var n=r(18489),i=r(47313),s=r(16852),a=r(68945),o=r(86484),l=r(95405),c=r(46417);t.Z=function(e){return function(t){var r=(0,a.v9)((function(e){return e.auth.session.isAuthenticated})),u=(0,a.v9)((function(e){return e.auth.session.idle})),d=(0,a.v9)((function(e){return e.auth.login.isChecking})),h=(0,a.v9)((function(e){return e.auth.hasEverBeenChecked})),m=(0,s.TH)(),p=(0,a.I0)();return(0,i.useEffect)((function(){var e;h||d||p(o.cq.checkLogin(e))}),[h,d]),d||!h?(0,c.jsx)(l.Z,{}):!h||r||u?(0,c.jsx)(e,(0,n.Z)({},t)):(0,c.jsx)(s.l_,{to:"/login?returnUrl=".concat(m.pathname)})}}},46504:function(e,t,r){r.d(t,{B:function(){return d}});var n=r(27853),i=r(84531),s=r(81020),a=r(18334),o=r(47313),l=r(82937),c=r(42669),u=r(46417),d=function(e){(0,s.Z)(r,e);var t=(0,a.Z)(r);function r(){return(0,n.Z)(this,r),t.apply(this,arguments)}return(0,i.Z)(r,[{key:"render",value:function(){return this.props.errorMessage?(0,u.jsx)(l.ZP,{item:!0,xs:12,children:(0,u.jsx)(c.Z,{className:"errorMessage",variant:"body2",children:this.props.errorMessage})}):null}}]),r}(o.Component)},28647:function(e,t,r){r.d(t,{m:function(){return c}});var n=r(27853),i=r(84531),s=r(81020),a=r(18334),o=r(47313),l=r(46417),c=function(e){(0,s.Z)(r,e);var t=(0,a.Z)(r);function r(){return(0,n.Z)(this,r),t.apply(this,arguments)}return(0,i.Z)(r,[{key:"render",value:function(){return(0,l.jsx)("header",{className:"page-header",children:(0,l.jsx)("h1",{children:this.props.title})})}}]),r}(o.PureComponent)},49150:function(e,t,r){r.d(t,{c:function(){return s}});var n=r(90337),i=r(12722),s={getBusinessProcessDetail:function(e){return function(t,r){return t(n.cN({businessProcessId:e})),t(i.Z.documentation.getBusinessProcessDetail(e)).then((function(e){if(200===e.status)e.json().then((function(e){return t(n.oK({selectedBusinessProcess:e})),e}));else t(n.WC({error:"Failed to get business process detail"}))}))}},getBusinessProcesses:function(){return function(e,t){return e(n.Y()),e(i.Z.documentation.getBusinessProcesses()).then((function(t){if(200===t.status)t.json().then((function(t){return e(n.To({businessProcesses:t})),t}));else e(n.nm({error:"Failed to get business processes"}))}))}}}},40440:function(e,t,r){r.r(t),r.d(t,{DocumentationDetailPage:function(){return k},default:function(){return N}});var n=r(27853),i=r(84531),s=r(81020),a=r(18334),o=r(47313),l=r(68945),c=r(3794),u=r(46504),d=r(16852),h=r(73477),m=r(34940),p=r(82937),f=r(35672),v=r(84152),g=r(2983),x=r(46417),b=function(e){return e.split("\n").map((function(e,t){return(0,x.jsxs)(o.Fragment,{children:[e,(0,x.jsx)("br",{})]},"".concat(e,"-").concat(t))}))},Z=function(e){(0,s.Z)(r,e);var t=(0,a.Z)(r);function r(){return(0,n.Z)(this,r),t.apply(this,arguments)}return(0,i.Z)(r,[{key:"goBack",value:function(e){e.length>1?e.goBack():e.push("/documentation")}},{key:"render",value:function(){var e,t=this,r=this.props,n=r.businessProcess,i=r.isFetching,s=r.errorMessage;return(0,x.jsxs)("div",{className:"documentation-detail",children:[(0,x.jsxs)(f.Z,{className:"list",children:[i?null:((null===n||void 0===n?void 0:n.rules)||[]).map((function(e,t){return(0,x.jsx)(v.ZP,{divider:n.rules.length-1>t,children:(0,x.jsxs)(p.ZP,{className:"rule",container:!0,spacing:3,children:[(0,x.jsxs)(p.ZP,{item:!0,xs:12,className:"rule-title",children:[(0,x.jsxs)("span",{className:"rule-code",children:[e.code," "]})," -",(0,x.jsxs)("span",{className:"rule-name",children:[" ",e.requestName]})]}),e.isOverridable&&(0,x.jsx)(p.ZP,{item:!0,xs:12,children:(0,x.jsx)("span",{className:"overrideable",title:"Overrideable rules may be bypassed by an ASEBP employee after reviewing them on the result screen of a rejected transaction.\r If all the rules that rejected it are overrideable, the user can click to retry that transaction with those rules overridden.",children:"Overrideable"})}),e.isSkippable&&(0,x.jsx)(p.ZP,{item:!0,xs:12,children:(0,x.jsx)("span",{className:"skippable",title:"Skippable rules are automatically bypassed for transactions submitted by an ASEBP employee.\r The user will be informed which rule(s) were skipped on the result screen of that transaction.",children:"Skippable"})}),e.isResumable&&(0,x.jsx)(p.ZP,{item:!0,xs:12,children:(0,x.jsx)("span",{className:"resumable",title:"Resumable rules may be modified by an ASEBP employee after a transaction has been pended.",children:"Resumable"})}),e.requestSummary&&(0,x.jsx)(p.ZP,{item:!0,xs:12,children:(0,x.jsx)("span",{className:"request-summary",children:b(e.requestSummary)})}),e.handlerSummary&&(0,x.jsx)(p.ZP,{item:!0,xs:12,children:(0,x.jsx)("span",{className:"handler-summary",children:b(e.handlerSummary)})}),(e.requestRemarks||e.handlerRemarks)&&(0,x.jsx)(p.ZP,{item:!0,xs:12,children:(0,x.jsx)("label",{className:"form-label documentation-label",children:"Remarks"})}),e.requestRemarks&&(0,x.jsx)(p.ZP,{item:!0,xs:12,children:(0,x.jsx)("span",{className:"request-remarks",children:b(e.requestRemarks)})}),e.handlerRemarks&&(0,x.jsx)(p.ZP,{item:!0,xs:12,children:(0,x.jsx)("span",{className:"handler-remarks",children:b(e.handlerRemarks)})}),!e.requestSummary&&!e.requestRemarks&&!e.handlerSummary&&!e.handlerRemarks&&(0,x.jsx)(p.ZP,{item:!0,xs:12,children:(0,x.jsx)("span",{className:"no-documentation",children:"- No documentation available -"})}),e.userMessage&&(0,x.jsxs)(p.ZP,{item:!0,xs:12,children:[(0,x.jsx)("label",{className:"form-label documentation-label",title:"The error message attached to a pending or rejected result (or the information message that may be attached to an accepted result).\r These messages may have live data from the request substituted into them inline at spots denoted by {0}, {1}, etc.\r If there are many different messages a rule may return, this will be a dashed list of them.",children:"User Message(s)"}
1),(0,x.jsx)("div",{className:"user-message",children:e.userMessage})]})]})},t)})),i?(0,x.jsx)(x.Fragment,{children:[1,2,3,4,5].map((function(e){return(0,x.jsxs)("div",{children:[(0,x.jsx)(p.ZP,{container:!0,spacing:3,className:"skeleton-container",children:(0,x.jsx)(p.ZP,{item:!0,xs:12,sm:6,children:(0,x.jsx)(g.Z,{width:"100%",variant:"text"})})}),e<5?(0,x.jsx)(m.Z,{}):null]},e)}))}):null,i||0!==(null===n||void 0===n||null===(e=n.rules)||void 0===e?void 0:e.length)||s?null:(0,x.jsx)(v.ZP,{children:"No rules found"})]}),(0,x.jsx)(u.B,{errorMessage:s}),(0,x.jsx)(p.ZP,{className:"submit-cancel-footer",container:!0,direction:"row",spacing:4,children:(0,x.jsx)(p.ZP,{item:!0,xs:6,children:(0,x.jsx)(h.Z,{className:"form-orange-default",onClick:function(){return t.goBack(t.props.history)},children:"Back"})})})]})}}]),r}(o.Component),j=(0,d.EN)(Z),P=r(28647),w=r(11790),y=r(49150),k=function(e){(0,s.Z)(r,e);var t=(0,a.Z)(r);function r(){return(0,n.Z)(this,r),t.apply(this,arguments)}return(0,i.Z)(r,[{key:"componentDidMount",value:function(){"undefined"!==typeof window&&this.props.getBusinessProcessDetail(this.props.match.params.id)}},{key:"render",value:function(){var e=this.props,t=e.selectedBusinessProcess,r=e.isFetching,n=e.errorMessage;return(0,x.jsx)("div",{className:"page-columns-wrapper",children:(0,x.jsxs)(w.Z,{title:"ESP Business Rules",className:"page-container documentation-detail-page",children:[(0,x.jsx)(P.m,{title:"ESP Business Rules".concat(null!==t&&void 0!==t&&t.businessProcessName?" - "+t.businessProcessName:"")}),(0,x.jsx)(j,{businessProcess:t,isFetching:r,errorMessage:n})]})})}}]),r}(o.Component),N=(0,c.Z)((0,l.$j)((function(e){return{selectedBusinessProcess:e.documentation.selectedBusinessProcess,isFetching:e.documentation.isProcessingGetBusinessProcessDetail||e.documentation.isProcessingGetBusinessProcesses,errorMessage:e.documentation.errorMessage}}),{getBusinessProcessDetail:y.c.getBusinessProcessDetail})(k))},34940:function(e,t,r){var n=r(1048),i=r(32793),s=r(47313),a=r(83061),o=r(21921),l=r(17551),c=r(64164),u=r(11236),d=r(92310),h=r(46417),m=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],p=(0,c.ZP)("div",{name:"MuiDivider",slot:"Root",overridesResolver:function(e,t){var r=e.ownerState;return[t.root,r.absolute&&t.absolute,t[r.variant],r.light&&t.light,"vertical"===r.orientation&&t.vertical,r.flexItem&&t.flexItem,r.children&&t.withChildren,r.children&&"vertical"===r.orientation&&t.withChildrenVertical,"right"===r.textAlign&&"vertical"!==r.orientation&&t.textAlignRight,"left"===r.textAlign&&"vertical"!==r.orientation&&t.textAlignLeft]}})((function(e){var t=e.theme,r=e.ownerState;return(0,i.Z)({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(t.vars||t).palette.divider,borderBottomWidth:"thin"},r.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},r.light&&{borderColor:t.vars?"rgba(".concat(t.vars.palette.dividerChannel," / 0.08)"):(0,l.Fq)(t.palette.divider,.08)},"inset"===r.variant&&{marginLeft:72},"middle"===r.variant&&"horizontal"===r.orientation&&{marginLeft:t.spacing(2),marginRight:t.spacing(2)},"middle"===r.variant&&"vertical"===r.orientation&&{marginTop:t.spacing(1),marginBottom:t.spacing(1)},"vertical"===r.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},r.flexItem&&{alignSelf:"stretch",height:"auto"})}),(function(e){var t=e.theme,r=e.ownerState;return(0,i.Z)({},r.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{position:"relative",width:"100%",borderTop:"thin solid ".concat((t.vars||t).palette.divider),top:"50%",content:'""',transform:"translateY(50%)"}})}),(function(e){var t=e.theme,r=e.ownerState;return(0,i.Z)({},r.children&&"vertical"===r.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",top:"0%",left:"50%",borderTop:0,borderLeft:"thin solid ".concat((t.vars||t).palette.divider),transform:"translateX(0%)"}})}),(function(e){var t=e.ownerState;return(0,i.Z)({},"right"===t.textAlign&&"vertical"!==t.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===t.textAlign&&"vertical"!==t.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})})),f=(0,c.ZP)("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:function(e,t){var r=e.ownerState;return[t.wrapper,"vertical"===r.orientation&&t.wrapperVertical]}})((function(e){var t=e.theme,r=e.ownerState;return(0,i.Z)({display:"inline-block",paddingLeft:"calc(".concat(t.spacing(1)," * 1.2)"),paddingRight:"calc(".concat(t.spacing(1)," * 1.2)")},"vertical"===r.orientation&&{paddingTop:"calc(".concat(t.spacing(1)," * 1.2)"),paddingBottom:"calc(".concat(t.spacing(1)," * 1.2)")})})),v=s.forwardRef((function(e,t){var r=(0,u.Z)({props:e,name:"MuiDivider"}),s=r.absolute,l=void 0!==s&&s,c=r.children,v=r.className,g=r.component,x=void 0===g?c?"div":"hr":g,b=r.flexItem,Z=void 0!==b&&b,j=r.light,P=void 0!==j&&j,w=r.orientation,y=void 0===w?"horizontal":w,k=r.role,N=void 0===k?"hr"!==x?"separator":void 0:k,B=r.textAlign,S=void 0===B?"center":B,R=r.variant,A=void 0===R?"fullWidth":R,C=(0,n.Z)(r,m),M=(0,i.Z)({},r,{absolute:l,component:x,flexItem:Z,light:P,orientation:y,role:N,textAlign:S,variant:A}),D=function(e){var t=e.absolute,r=e.children,n=e.classes,i=e.flexItem,s=e.light,a=e.orientation,l=e.textAlign,c={root:["root",t&&"absolute",e.variant,s&&"light","vertical"===a&&"vertical",i&&"flexItem",r&&"withChildren",r&&"vertical"===a&&"withChildrenVertical","right"===l&&"vertical"!==a&&"textAlignRight","left"===l&&"vertical"!==a&&"textAlignLeft"],wrapper:["wrapper","vertical"===a&&"wrapperVertical"]};return(0,o.Z)(c,d.V,n)}(M);return(0,h.jsx)(p,(0,i.Z)({as:x,className:(0,a.Z)(D.root,v),role:N,ref:t,ownerState:M},C,{children:c?(0,h.jsx)(f,{className:D.wrapper,ownerState:M,children:c}):null}))}));t.Z=v},92310:function(e,t,r){r.d(t,{V:function(){return s}});var n=r(77430),i=r(32298);function s(e){return(0,i.Z)("MuiDivider",e)}var a=(0,n.Z)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);t.Z=a}}]);

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.