1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6278],{15347:function(t,e,r){r.d(e,{oT:function(){return k},s_:function(){return I},fQ:function(){return M},ZP:function(){return F},gC:function(){return a}});var n=r(2784),o=(0,n.createContext)({variant:"filled"}),i=o.Provider,a=function(){var t=(0,n.useContext)(o);if(!t)throw Error("useTabsContext must be used within a TabsContext.Provider");return t},l=r(52903),c=function(t){var e=t.variant,r=t.children;return(0,l.tZ)(i,{value:{variant:e},children:r})},u=r(95235),s=r(82269),p=r(98439),d=r(92952),b=r(48714),f=r(28165),v=(0,d.Z)("button",{target:"e1enw1t52"})("display:block;position:relative;white-space:nowrap;transition:color 0.2s ease-in;color:",function(t){return t.color},";cursor:pointer;",function(t){var e=t.variant,r=t.size,n=t.outlineColor,o=t.theme;return"filled"===e?(0,f.iv)("padding:","lg"===r?"16px 24px":"12px 24px",";","lg"===r&&(0,f.iv)(o.typography.textBoldSmall,";","","","")," ","sm"===r&&(0,f.iv)(o.typography.textTiny,";","","","")," &:hover{text-decoration:underline;text-underline-offset:4px;}&:focus-visible{outline:2px solid ",n,";outline-offset:2px;}","","",""):(0,f.iv)("padding:0 0 15px 0;",o.typography.textBoldSmall," ",o.breakpoints.up("sm"),"{",o.typography.textBold,";}","","","")}," &:hover{color:",function(t){return t.hoverColor},";}"),h=(0,d.Z)(b.m.div,{target:"e1enw1t51"})("position:absolute;right:0;bottom:0;left:0;",function(t){var e=t.variant,r=t.borderColor;return"filled"===e&&(0,f.iv)("top:0;border-radius:5px;border:","2px solid ".concat(r),";","","","")}," ",function(t){var e=t.variant,r=t.theme;return"lined"===e&&(0,f.iv)("height:2px;",r.breakpoints.up("sm"),"{height:1px;}","","","")}," background-color:",function(t){return t.backgroundColor},";border-radius:100px;"),g=(0,d.Z)("span",{target:"e1enw1t50"})({name:"179t5g5",styles:"position:relative;z-index:1"}),y=["tokens","active","variant","size","children"];function w(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function m(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?w(Object(r),!0).forEach(function(e){(0,u.Z)(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):w(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var O=(0,n.forwardRef)(function(t,e){var r=t.tokens,n=t.active,o=t.variant,i=t.size,c=t.children,u=(0,s.Z)(t,y),p=a().variant,d=null!=o?o:p;return(0,l.BX)(v,m(m(m({ref:e,variant:d,size:void 0===i?"lg":i},r.root),u),{},{children:[void 0!==n&&n&&(0,l.tZ)(h,m({variant:d,layoutId:"highlight"},r.highlight)),(0,l.tZ)(g,{children:c})]}))}),k=(0,p.Y)(O,function(){return{}},{light:function(t,e){var r=e.variant,n=e.active,o=a().variant,i=t.palette.twilio.gray[40];return(null!=r?r:o)==="filled"?{root:{color:t.palette.brand.boysenberry[500],hoverColor:t.palette.brand.boysenberry[600],outlineColor:t.palette.brand.boysenberry[400]},highlight:{backgroundColor:t.palette.neutrals.white[100],borderColor:t.palette.brand.boysenberry[500]}}:{root:{color:n?t.palette.brand.boysenberry[500]:i,hoverColor:t.palette.brand.boysenberry[600],outlineColor:"transparent"},highlight:{backgroundColor:t.palette.brand.boysenberry[500]}}},twilioLight:function(t,e){var r=e.variant,n=e.active,o=a().variant,i=t.palette.twilio.gray[40];return(null!=r?r:o)==="filled"?{root:{color:t.palette.twilio.blue[60],hoverColor:t.palette.twilio.blue[70],outlineColor:t.palette.twilio.blue[40]},highlight:{backgroundColor:t.palette.neutrals.white[100],borderColor:t.palette.twilio.blue[60]}}:{root:{color:n?t.palette.twilio.blue[60]:i,hoverColor:t.palette.twilio.blue[60],outlineColor:"transparent"},highlight:{backgroundColor:t.palette.twilio.blue[60]}}}}),x=(0,d.Z)(b.m.div,{target:"emvqar30"})({name:"1d3w5wq",styles:"width:100%"}),C=["children","active","tokens"];function j(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function P(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?j(Object(r),!0).forEach(function(e){(0,u.Z)(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):j(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var Z={opacity:1,zIndex:1,pointerEvents:"auto",y:0,visibility:"initial"},E={opacity:0,zIndex:0,pointerEvents:"none",y:-30,visibility:"hidden"},T={initial:{opacity:0,zIndex:0,pointerEvents:"none",y:-30,visibility:"initial"},animate:Z,exit:E,transition:{type:"tween",ease:"easeInOut",duration:.3}},D=(0,n.forwardRef)(function(t,e){var r=t.children,n=t.active,o=t.tokens,i=(0,s.Z)(t,C),a=void 0===n?T.animate:n?Z:E;return(0,l.tZ)(x,P(P(P(P({ref:e},T),{},{animate:a},o),i),{},{children:r}))}),I=(0,p.Y)(D,function(){return{}},{twilioLight:function(){return{}},dark:function(){return{}},light:function(){return{}}}),S=r(28957),N=r(63009),R={name:"mxpsp9",styles:"height:calc(100% - 8px)"},z=(0,d.Z)(b.m.div,{shouldForwardProp:function(t){return"lineColor"!==t},target:"eehbsdv2"})("position:relative;display:grid;place-content:center;width:fit-content;::before{content:'';position:absolute;background-color:",function(t){return t.backgroundColor},";border-radius:100px;width:calc(100% - 8px);left:4px;bottom:4px;",function(t){return"filled"===t.variant&&R}," ",function(t){var e=t.variant,r=t.theme;return"lined"===e&&(0,f.iv)("height:2px;",r.breakpoints.up("sm"),"{height:1px;}","","","")},";}"),A=(0,d.Z)(b.m.div,{target:"eehbsdv1"})(""),B={name:"1l0tq1w",styles:"gap:8px"},_=(0,d.Z)("div",{target:"eehbsdv0"})("position:relative;display:grid;grid-auto-flow:column;grid-auto-columns:min-content;width:100%;margin:0 auto;scroll-snap-type:x proximity;scrollbar-width:none;overflow-y:hidden;padding:4px;::-webkit-scrollbar{display:none;}",function(t){return"filled"===t.variant&&B},";",function(t){var e=t.variant,r=t.theme;return"lined"===e&&(0,f.iv)("gap:24px;",r.breakpoints.up("sm"),"{gap:48px;}","","","")},";"),L=["className","tokens","variant","children"];function q(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function Y(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?q(Object(r),!0).forEach(function(e){(0,u.Z)(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):q(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}var K=(0,n.forwardRef)(function(t,e){var r=t.className,o=t.tokens,i=t.variant,c=t.children,u=(0,s.Z)(t,L),p=(0,n.useRef)(null),d=(0,n.useId)(),b=a().variant,f=null!=i?i:b;(0,n.useImperativeHandle)(e,function(){return p.current});var v=(0,N.Z)({wrapper:p});return(0,l.tZ)(A,{className:r,style:{WebkitMaskImage:v,maskImage:v},children:(0,l.tZ)(z,Y(Y({},o),{},{variant:f,children:(0,l.tZ)(_,Y(Y({variant:f,ref:p,"data-testid":"Track[container]"},u),{},{children:(0,l.tZ)(S.S,{id:d,children:c})}))}))})}),M=(0,p.Y)(K,function(){return{}},{light:function(t,e){var r=e.variant,n=a().variant;return{backgroundColor:"lined"===(null!=r?r:n)?t.palette.brand.boysenberry[200]:t.palette.brand.boysenberry[100]}},twilioLight:function(t,e){var r=e.variant,n=a().variant;return{backgroundColor:"lined"===(null!=r?r:n)?t.palette.twilio.gray[20]:t.palette.twilio.blue[10]}}});c.displayName="Tab.Base",k.displayName="Tab.Control",I.displayName="Tab.Panel",M.displayName="Tab.Track";var F=c},53834:function(t,e,r){r.d(e,{Z:function(){return l}});var n=r(12741),o=r(2784),i=r(2095),a=r(32523),l=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,l=(0,o.useState)(t),c=l[0],u=l[1],s=(0,o.useRef)(null),p=(0,a.Z)(s),d=Array.from({length:e},function(){return(0,o.createRef)()}),b=(0,o.useRef)((0,n.Z)(Array(e)).map(function(){return"".concat(r,"-").concat((0,o.useId)())})),f=function(t){return d.some(function(e){return e.current===t.target})},v=(0,o.useCallback)(function(t){t>=0&&t<e&&u(t)},[]),h=(0,o.useCallback)(function(t){if(f(t)){var r=(c+1)%e;v(r),p(d[r])}},[c,e]),g=(0,o.useCallback)(function(t){if(f(t)){var r=(c-1+e)%e;v(r),p(d[r])}},[c,e]);(0,o.useEffect)(function(){var t,e=Object.values(d).some(function(t){return document.activeElement===t.current});d[c].current&&e&&(null===(t=d[c].current)||void 0===t||t.focus())},[c,d]);var y=(0,o.useCallback)(function(t){return t===c},[c]);(0,i.Z)("ArrowLeft",g,void 0,[c,e]),(0,i.Z)("ArrowRight",h,void 0,[c,e]);var w=(0,o.useCallback)(function(t,e){s.current||console.warn("[useTabs] trackRef is not passed to the DOM node!. Scroll will not work."),u(t),p(e)},[v]),m=(0,o.useCallback)(function(t){var e=d[t],r="tab-".concat(b.current[t]);return{ref:e,onClick:function(){return w(t,e)},"aria-selected":t===c,tabIndex:t===c?void 0:-1,role:"tab",id:r,active:y(t)}},[c,y]),O=(0,o.useCallback)(function(t){return{id:"tab-panel-".concat(b.current[t]),role:"tabpanel","aria-labelledby":"tab-".concat(b.current[t]),tabIndex:t===c?0:-1,key:t}},[c,y]);return{activeTabKey:c,setActiveTabKey:u,getControlProps:m,getPanelProps:O,isActive:y,getTrackProps:(0,o.useCallback)(function(){return{ref:s,role:"tablist"}},[s])}}}}]); 2//# sourceMappingURL=6278-dda86a9bee74e9af.js.map
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.