1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[456],{6184:function(e,t,r){r.d(t,{O:function(){return m}});var n=r(7294),o=r(9521),a=r(1755),i=r(975),l=r(5118),c=r(8087),s=r(9863),u=r(7187),d=r(6808),f=r(363),b=(0,o.css)(["&:hover{"," "," ",";}&:focus{z-index:1;}"],function(e){return e.theme.tab.hover.background&&(0,o.css)(["background:",";"],(0,d.ut)(e.theme.tab.hover.background,e.theme))},function(e){return e.theme.tab.hover.color&&(0,o.css)(["color:",";"],(0,d.ut)(e.theme.tab.hover.color,e.theme))},function(e){return e.theme.tab.hover.extend}),v=o.default.div.withConfig({displayName:"StyledTab",componentId:"sc-1nnwnsb-0"})(["white-space:nowrap;"," "," "," ",""],f.$G,function(e){return!e.plain&&!e.disabled&&e.theme.tab.hover&&b},function(e){return e.disabled&&e.theme.tab.disabled},function(e){return e.theme.tab.extend});v.defaultProps={},Object.setPrototypeOf(v.defaultProps,a.l);var h=r(2320),g=["active","disabled","children","icon","plain","title","onBlur","onFocus","onMouseOver","onMouseOut","reverse","onClick"];function p(){return(p=Object.assign?Object.assign.bind():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)}var m=(0,n.forwardRef)(function(e,t){e.active;var r,f,b=e.disabled,m=e.children,x=e.icon,y=e.plain,C=e.title,w=e.onBlur,E=e.onFocus,O=e.onMouseOver,k=e.onMouseOut,T=e.reverse,P=e.onClick,j=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,g),I=(0,n.useContext)(s.R),S=I.active,R=I.activeIndex,z=I.index,B=I.ref,A=I.onActivate,N=I.setActiveContent,_=I.setActiveTitle,M=I.setFocusIndex,F=(0,n.useContext)(o.ThemeContext)||a.l.theme,L=(0,n.useState)(void 0),W=L[0],$=L[1],G=C,D={},H=(0,u.t)(t);if((0,h.b)(function(){H.current&&B&&(B.current=H.current)}),(0,n.useEffect)(function(){S&&(N(m),_("string"==typeof C?C:R+1))},[S,R,m,N,_,C]),y||(G="string"!=typeof C?C:S?n.createElement(c.x,F.tab.active,C):b&&F.tab.disabled?n.createElement(c.x,F.tab.disabled,C):n.createElement(c.x,{color:W?F.tab.hover.color:F.tab.color},C)),S&&b&&console.warn("Warning: Tab props 'active' and 'disabled' have both been set to TRUE on the same Tab resulting in an interesting Tab state. Is this your intent?"),!y){if(G="string"!=typeof C?C:S?n.createElement(c.x,F.tab.active,C):b&&F.tab.disabled?n.createElement(c.x,F.tab.disabled,C):n.createElement(c.x,{color:W?F.tab.hover.color:F.tab.color},C),F.tab.border){var U=F.tab.border.color||F.global.control.border.color;S?U=F.tab.border.active.color||U:b&&F.tab.border.disabled?U=F.tab.border.disabled.color||U:W&&(U=F.tab.border.hover.color||U),U=(0,d.ut)(U,F),D.border={side:F.tab.border.side,size:F.tab.border.size,color:U}}D.background=S&&F.tab.active.background||F.tab.background,D.pad=F.tab.pad,D.margin=F.tab.margin}x&&(r=S?n.cloneElement(x,p({},F.tab.active)):b?n.cloneElement(x,p({},F.tab.disabled)):n.cloneElement(x,{color:W?F.tab.hover.color:F.tab.color}));var q=T?G:r,J=T?r:G;return q&&J&&(f={direction:"row",align:"center",justify:"center",gap:"small"}),n.createElement(l.z,p({ref:H,plain:!0,role:"tab","aria-selected":S,"aria-expanded":S,disabled:b},j,{onClick:function(e){e&&e.preventDefault(),A(),P&&P(e)},onMouseOver:function(e){$(!0),O&&O(e)},onMouseOut:function(e){$(void 0),k&&k(e)},onFocus:function(){E&&E(),M(z)},onBlur:function(){w&&w(),M(-1)}}),n.createElement(v,p({as:i.x,disabled:b,plain:y},f,D),q,J))});m.displayName="Tab",m.defaultProps={},Object.setPrototypeOf(m.defaultProps,a.l),m.propTypes={}},9213:function(e,t,r){r.d(t,{m:function(){return k}});var n,o=r(7294),a=r(7544),i=r(9420),l=r(9521),c=r(2320),s=r(1755),u=r(975),d=r(5118),f=r(9863),b=r(3523),v=r(363),h=l.default.div.withConfig({displayName:"StyledTabs__StyledTabsHeader",componentId:"sc-a4fwxl-0"})(["",";"],function(e){return e.theme.tabs.header.extend});h.defaultProps={},Object.setPrototypeOf(h.defaultProps,s.l);var g=((n={})[!0]="1 1",n[!1]="0 0",n.grow="1 0",n.shrink="0 1",n),p=(0,l.css)(["flex:",";"],function(e){return""+g[e.flex]+(!0!==e.flex?" auto":"")}),m=l.default.div.withConfig({displayName:"StyledTabs__StyledTabPanel",componentId:"sc-a4fwxl-1"})(["min-height:0;"," ",";"],function(e){return e.flex&&p},function(e){return e.theme.tabs.panel.extend});m.defaultProps={},Object.setPrototypeOf(m.defaultProps,s.l);var x=l.default.div.withConfig({displayName:"StyledTabs",componentId:"sc-a4fwxl-2"})([""," ",";"],v.$G,function(e){return e.theme.tabs.extend});x.defaultProps={},Object.setPrototypeOf(x.defaultProps,s.l);
1var y=r(6808),C=r(7598),w=r(7921),E=["alignControls","children","flex","justify","messages","responsive"];function O(){return(O=Object.assign?Object.assign.bind():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)}var k=(0,o.forwardRef)(function(e,t){var r,n=e.alignControls,v=e.children,g=e.flex,p=e.justify,k=e.messages,T=e.responsive,P=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,E),j=(0,o.useContext)(l.ThemeContext)||s.l.theme,I=(0,o.useContext)(C.E).format,S=P.activeIndex,R=P.onActive,z=(0,o.useState)(P.activeIndex||0),B=z[0],A=z[1],N=(0,o.useState)(),_=N[0],M=N[1],F=(0,o.useState)(),L=F[0],W=F[1],$=(0,o.useState)(),G=$[0],D=$[1],H=(0,o.useState)(),U=H[0],q=H[1],J=(0,o.useState)(),K=J[0],Q=J[1],V=(0,o.useState)(-1),X=V[0],Y=V[1],Z=(0,o.useRef)(),ee=(0,o.useContext)(b.b),et=(0,w.z$)();B!==S&&void 0!==S&&A(S);var er="undefined"==typeof window||/^((?!chrome|android).)*safari/i.test(window.navigator.userAgent);delete P.activeIndex,delete P.onActive;var en=(0,o.useMemo)(function(){return o.Children.map(v,function(){return o.createRef()})},[v]),eo=(0,o.useCallback)(function(e){if(en[e].current){var t,r=en[e].current.getBoundingClientRect(),n=null==(t=Z.current)?void 0:t.getBoundingClientRect();if(r&&n)return r.left>=n.left-1&&r.right<=n.right+1}},[Z,en]),ea=(0,o.useCallback)(function(){D(eo(0)),q(eo(en.length-1))},[en,eo]),ei=(0,o.useCallback)(function(e,t){var r=en[e].current.getBoundingClientRect(),n=Z.current.getBoundingClientRect(),o=0;if(r.left>=n.left&&r.left<=n.right?o=r.width-(n.right-r.left):r.right>=n.left&&r.right<=n.right?o=0-(o=r.width-(r.right-n.left)):r.left>=n.right?o=r.right-n.right:r.right<=n.left&&(o=0-(o=n.left-r.left)),t&&(o<0&&(o-=2),o>0&&(o+=2)),er?Z.current.scrollBy({left:o}):Z.current.scrollBy({left:o,behavior:"smooth"}),er)ea();else{var a=setInterval(function(){en[e].current&&eo(e)&&(ea(),clearInterval(a))},50);setTimeout(function(){ea(),clearInterval(a)},1e3)}},[en,Z,eo,ea,er]),el=function(e){for(var t,r="previous"===e,n="previous"===e?0:en.length-1,o=j.tabs.step[ee]-1||0;void 0===t&&(r&&n<en.length-1||!r&&n>0);)!eo(n)&&(r&&eo(n+1)||!r&&eo(n-1))&&(r?n-o>=0?(ei(n-o,!1),t=n-o):(ei(0,!1),t=0):n+o<en.length?(ei(n+o,!1),t=n+o):(ei(en.length-1,!1),t=en.length-1)),n=r?n+1:n-1};(0,o.useEffect)(function(){var e;K&&en&&null!=(e=en[B])&&e.current&&!eo(B)&&ei(B,!0)},[K,B,en,eo,ei]),(0,o.useEffect)(function(){if(K&&-1!==X&&!eo(X))ei(X,!0);else if(K&&-1!==X){var e=en[X].current.getBoundingClientRect(),t=Z.current.getBoundingClientRect(),r=0;e.left>=t.left&&e.right<=t.right&&e.right+2>=t.right?r=2:e.right<=t.right&&e.left>=t.left&&e.left-2<=t.left&&(r=-2),Z.current.scrollBy({left:r})}},[K,en,X,eo,ei]),(0,c.b)(function(){var e=function(){Z.current.scrollWidth>Z.current.offsetWidth?Q(!0):Q(!1),ea()};return e(),window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}},[en,G,U,B,Z,K,ea]);var ec=(0,o.useCallback)(function(e){var t=function(e){et({type:"activateTab",element:en[e].current}),void 0===S&&A(e),R&&R(e)};return{activeIndex:B,active:B===e,index:e,ref:en[e],onActivate:function(){return t(e)},setActiveContent:M,setActiveTitle:W,setFocusIndex:Y}},[B,R,S,et,en]),es=o.Children.map(v,function(e,t){return o.createElement(f.R.Provider,{value:ec(t)},e?o.cloneElement(e,{active:B===t}):e)}),eu={};if(j.tabs.header&&j.tabs.header.border){var ed=j.tabs.header.border.color||j.global.control.border.color;ed=(0,y.ut)(ed,j),eu.border={side:j.tabs.header.border.side,size:j.tabs.header.border.size,style:j.tabs.header.border.style,color:ed}}var ef=(L||"")+" "+I({id:"tabs.tabContents",messages:k});return o.createElement(x,O({ref:t,as:u.x,flex:g,responsive:void 0===T||T},P,{background:j.tabs.background}),o.createElement(u.x,O({alignSelf:n||(null==(r=j.tabs.header)?void 0:r.alignSelf),role:"tablist",flex:!1,direction:K?"row":"column"},eu),K&&o.createElement(d.z,{a11yTitle:"Previous Tab",disabled:G,tabIndex:-1,onClick:function(){return el("previous")}},o.createElement(u.x,{pad:{vertical:"xsmall",horizontal:"small"}},o.createElement(a.L,{color:G?j.button.disabled.color:j.global.colors.text}))),o.createElement(h,{ref:Z,as:u.x,direction:"row",justify:K?"start":void 0===p?"center":p,flex:!!K,wrap:!1,overflow:K?"hidden":"visible",background:j.tabs.header.background,gap:j.tabs.gap,pad:K?"2px":void 0,margin:K?"-2px":void 0},es),K&&o.createElement(d.z,{a11yTitle:"Next Tab",disabled:U,tabIndex:-1,onClick:function(){return el("next")}},o.createElement(u.x,{pad:{vertical:"xsmall",horizontal:"small"}},o.createElement(i.o,{color:U?j.button.disabled.color:j.global.colors.text})))),o.createElement(m,{flex:g,"aria-label":ef,role:"tabpanel"},_))});k.displayName="Tabs",k.propTypes={}},9863:function(e,t,r){r.d(t,{R:function(){return n}});var n=r(7294).createContext({})}}]);
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.