1(window.webpackJsonp=window.webpackJsonp||[]).push([[142],{GTV5:function(e,t,r){"use strict";r.d(t,"d",function(){return P}),r.d(t,"b",function(){return w}),r.d(t,"a",function(){return k}),r.d(t,"c",function(){return S});var n=r("q1tI"),a=r.n(n);function o(e){return function(t){return!!t.type&&t.type.tabsRole===e}}var s=o("Tab"),c=o("TabList"),l=o("TabPanel");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){d(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e,t){return n.Children.map(e,function(e){return null===e?null:function(e){return s(e)||c(e)||l(e)}(e)?t(e):e.props&&e.props.children&&"object"==typeof e.props.children?Object(n.cloneElement)(e,u(u({},e.props),{},{children:p(e.props.children,t)})):e})}function f(e,t){return n.Children.forEach(e,function(e){null!==e&&(s(e)||l(e)?t(e):e.props&&e.props.children&&"object"==typeof e.props.children&&(c(e)&&t(e),f(e.props.children,t)))})}function b(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(r=b(e[t]))&&(n&&(n+=" "),n+=r);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}var h,y=function(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=b(e))&&(n&&(n+=" "),n+=t);return n},v=0;function m(){return"react-tabs-"+v++}function g(e){var t=0;return f(e,function(e){s(e)&&t++}),t}function T(){return(T=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function C(e){return e&&"getAttribute"in e}function O(e){return C(e)&&"tab"===e.getAttribute("role")}function N(e){return C(e)&&"true"===e.getAttribute("aria-disabled")}try{h=!("undefined"==typeof window||!window.document||!window.document.activeElement)}catch(e){h=!1}var I=function(e){var t,r;function o(){for(var t,r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];return(t=e.call.apply(e,[this].concat(n))||this).tabNodes=[],t.handleKeyDown=function(e){var r=t.props.direction;if(t.isTabFromContainer(e.target)){var n=t.props.selectedIndex,a=!1,o=!1;32!==e.keyCode&&13!==e.keyCode||(a=!0,o=!1,t.handleClick(e)),37===e.keyCode||38===e.keyCode?(n="rtl"===r?t.getNextTab(n):t.getPrevTab(n),a=!0,o=!0):39===e.keyCode||40===e.keyCode?(n="rtl"===r?t.getPrevTab(n):t.getNextTab(n),a=!0,o=!0):35===e.keyCode?(n=t.getLastTab(),a=!0,o=!0):36===e.keyCode&&(n=t.getFirstTab(),a=!0,o=!0),a&&e.preventDefault(),o&&t.setSelected(n,e)}},t.handleClick=function(e){var r=e.target;do{if(t.isTabFromContainer(r)){if(N(r))return;var n=[].slice.call(r.parentNode.children).filter(O).indexOf(r);return void t.setSelected(n,e)}}while(null!=(r=r.parentNode))},t}r=e,(t=o).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r;var i=o.prototype;return i.setSelected=function(e,t){if(!(e<0||e>=this.getTabsCount())){var r=this.props;(0,r.onSelect)(e,r.selectedIndex,t)}},i.getNextTab=function(e){for(var t=this.getTabsCount(),r=e+1;r<t;r++)if(!N(this.getTab(r)))return r;for(var n=0;n<e;n++)if(!N(this.getTab(n)))return n;return e},i.getPrevTab=function(e){for(var t=e;t--;)if(!N(this.getTab(t)))return t;for(t=this.getTabsCount();t-- >e;)if(!N(this.getTab(t)))return t;return e},i.getFirstTab=function(){for(var e=this.getTabsCount(),t=0;t<e;t++)if(!N(this.getTab(t)))return t;return null},i.getLastTab=function(){for(var e=this.getTabsCount();e--;)if(!N(this.getTab(e)))return e;return null},i.getTabsCount=function(){return g(this.props.children)},i.getPanelsCount=function(){return function(e){var t=0;return f(e,function(e){l(e)&&t++}),t}(this.props.children)},i.getTab=function(e){return this.tabNodes["tabs-"+e]},i.getChildren=function(){var e=this,t=0,r=this.props,o=r.children,i=r.disabledTabClassName,u=r.focus,d=r.forceRenderTabPanel,f=r.selectedIndex,b=r.selectedTabClassName,y=r.selectedTabPanelClassName;this.tabIds=this.tabIds||[],this.panelIds=this.panelIds||[];for(var v=this.tabIds.length-this.getTabsCount();v++<0;)this.tabIds.push(m()),this.panelIds.push(m());return p(o,function(r){var o=r;if(c(r)){var v=0,m=!1;h&&(m=a.a.Children.toArray(r.props.children).filter(s).some(function(t,r){return document.activeElement===e.getTab(r)})),o=Object(n.cloneElement)(r,{children:p(r.props.children,function(t){var r="tabs-"+v,a=f===v,o={tabRef:function(t){e.tabNodes[r]=t},id:e.tabIds[v],panelId:e.panelIds[v],selected:a,focus:a&&(u||m)};return b&&(o.selectedClassName=b),i&&(o.disabledClassName=i),v++,Object(n.cloneElement)(t,o)})})}else if(l(r)){var g={id:e.panelIds[t],tabId:e.tabIds[t],selected:f===t};d&&(g.forceRender=d),y&&(g.selectedClassName=y),t++,o=Object(n.cloneElement)(r,g)}return o}
1)},i.isTabFromContainer=function(e){if(!O(e))return!1;var t=e.parentElement;do{if(t===this.node)return!0;if(t.getAttribute("data-tabs"))break;t=t.parentElement}while(t);return!1},i.render=function(){var e=this,t=this.props,r=(t.children,t.className),n=(t.disabledTabClassName,t.domRef),o=(t.focus,t.forceRenderTabPanel,t.onSelect,t.selectedIndex,t.selectedTabClassName,t.selectedTabPanelClassName,function(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(t,["children","className","disabledTabClassName","domRef","focus","forceRenderTabPanel","onSelect","selectedIndex","selectedTabClassName","selectedTabPanelClassName"]));return a.a.createElement("div",T({},o,{className:y(r),onClick:this.handleClick,onKeyDown:this.handleKeyDown,ref:function(t){e.node=t,n&&n(t)},"data-tabs":!0}),this.getChildren())},o}(n.Component);I.defaultProps={className:"react-tabs",focus:!1},I.propTypes={};var j=1,P=function(e){var t,r;function n(t){var r;return(r=e.call(this,t)||this).handleSelected=function(e,t,n){var a=r.props.onSelect,o=r.state.mode;if("function"!=typeof a||!1!==a(e,t,n)){var s={focus:"keydown"===n.type};o===j&&(s.selectedIndex=e),r.setState(s)}},r.state=n.copyPropsToState(r.props,{},t.defaultFocus),r}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r,n.getDerivedStateFromProps=function(e,t){return n.copyPropsToState(e,t)},n.getModeFromProps=function(e){return null===e.selectedIndex?j:0},n.copyPropsToState=function(e,t,r){void 0===r&&(r=!1);var a={focus:r,mode:n.getModeFromProps(e)};if(a.mode===j){var o=g(e.children)-1,s=null;s=null!=t.selectedIndex?Math.min(t.selectedIndex,o):e.defaultIndex||0,a.selectedIndex=s}return a},n.prototype.render=function(){var e=this.props,t=e.children,r=(e.defaultIndex,e.defaultFocus,function(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,["children","defaultIndex","defaultFocus"])),n=this.state,o=n.focus,s=n.selectedIndex;return r.focus=o,r.onSelect=this.handleSelected,null!=s&&(r.selectedIndex=s),a.a.createElement(I,r,t)},n}(n.Component);function _(){return(_=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}P.defaultProps={defaultFocus:!1,forceRenderTabPanel:!1,selectedIndex:null,defaultIndex:null},P.propTypes={},P.tabsRole="Tabs";var w=function(e){var t,r;function n(){return e.apply(this,arguments)||this}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r,n.prototype.render=function(){var e=this.props,t=e.children,r=e.className,n=function(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,["children","className"]);return a.a.createElement("ul",_({},n,{className:y(r),role:"tablist"}),t)},n}(n.Component);function x(){return(x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}w.defaultProps={className:"react-tabs__tab-list"},w.propTypes={},w.tabsRole="TabList";var k=function(e){var t,r;function n(){return e.apply(this,arguments)||this}r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r;var o=n.prototype;return o.componentDidMount=function(){this.checkFocus()},o.componentDidUpdate=function(){this.checkFocus()},o.checkFocus=function(){var e=this.props,t=e.selected,r=e.focus;t&&r&&this.node.focus()},o.render=function(){var e,t=this,r=this.props,n=r.children,o=r.className,s=r.disabled,c=r.disabledClassName,l=(r.focus,r.id),i=r.panelId,u=r.selected,d=r.selectedClassName,p=r.tabIndex,f=r.tabRef,b=function(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(r,["children","className","disabled","disabledClassName","focus","id","panelId","selected","selectedClassName","tabIndex","tabRef"]);return a.a.createElement("li",x({},b,{className:y(o,(e={},e[d]=u,e[c]=s,e)),ref:function(e){t.node=e,f&&f(e)},role:"tab",id:l,"aria-selected":u?"true":"false","aria-disabled":s?"true":"false","aria-controls":i,tabIndex:p||(u?"0":null)}),n)},n}(n.Component);function R(){return(R=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}k.defaultProps={className:"react-tabs__tab",disabledClassName:"react-tabs__tab--disabled",focus:!1,id:null,panelId:null,selected:!1,selectedClassName:"react-tabs__tab--selected"},k.propTypes={},k.tabsRole="Tab";var S=function(e){var t,r;function n(){return e.apply(this,arguments)||this}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r,n.prototype.render=function(){var e,t=this.props,r=t.children,n=t.className,o=t.forceRender,s=t.id,c=t.selected,l=t.selectedClassName,i=t.tabId,u=function(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(t,["children","className","forceRender","id","selected","selectedClassName","tabId"]);return a.a.createElement("div",R({},u,{className:y(n,(e={},e[l]=c,e)),role:"tabpanel",id:s,"aria-labelledby":i}),o||c?r:null)},n}(n.Component);S.defaultProps={className:"react-tabs__tab-panel",forceRender:!1,selectedClassName:"react-tabs__tab-panel--selected"},S.propTypes={},S.tabsRole="TabPanel"}}]);
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.