| 60411 | displayOperationId: !1, |
| 60412 | displayRequestDuration: !1, |
| 60413 | } |
| 60414 | mapStateToProps(s, o) { |
| 60415 | const { op: i, layoutSelectors: a, getConfigs: u } = o, |
| 60416 | { |
| 60417 | docExpansion: _, |
| 60418 | deepLinking: w, |
| 60419 | displayOperationId: x, |
| 60420 | displayRequestDuration: C, |
| 60421 | supportedSubmitMethods: j, |
| 60422 | } = u(), |
| 60423 | L = a.showSummary(), |
| 60424 | B = |
| 60425 | i.getIn(['operation', '__originalOperationId']) || |
| 60426 | i.getIn(['operation', 'operationId']) || |
| 60427 | opId(i.get('operation'), o.path, o.method) || |
| 60428 | i.get('id'), |
| 60429 | $ = ['operations', o.tag, B], |
| 60430 | U = |
| 60431 | j.indexOf(o.method) >= 0 && |
| 60432 | (void 0 === o.allowTryItOut |
| 60433 | ? o.specSelectors.allowTryItOutFor(o.path, o.method) |
| 60434 | : o.allowTryItOut), |
| 60435 | V = i.getIn(['operation', 'security']) || o.specSelectors.security() |
| 60436 | return { |
| 60437 | operationId: B, |
| 60438 | isDeepLinkingEnabled: w, |
| 60439 | showSummary: L, |
| 60440 | displayOperationId: x, |
| 60441 | displayRequestDuration: C, |
| 60442 | allowTryItOut: U, |
| 60443 | security: V, |
| 60444 | isAuthorized: o.authSelectors.isAuthorized(V), |
| 60445 | isShown: a.isShown($, 'full' === _), |
| 60446 | jumpToKey: `paths.${o.path}.${o.method}`, |
| 60447 | response: o.specSelectors.responseFor(o.path, o.method), |
| 60448 | request: o.specSelectors.requestFor(o.path, o.method), |
| 60449 | } |
| 60450 | } |
| 60451 | componentDidMount() { |
| 60452 | const { isShown: s } = this.props, |