!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},r=(new e.Error).stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="248efc20-7191-42ab-87a4-3617091d4fc0",e._sentryDebugIdIdentifier="sentry-dbid-248efc20-7191-42ab-87a4-3617091d4fc0")}catch(e){}}(),(self.webpackChunktwitch_twilight=self.webpackChunktwitch_twilight||[]).push([[12684],{945005:function(e,r,t){t.d(r,{H:function(){return d}});var n=t(58168),o=t(198587),i=t(593954),a=t(474848),l=["title","titleId"],c=function(e){var r=e.title,t=e.titleId,i=(0,o.A)(e,l);return(0,a.jsxs)("svg",(0,n.A)({width:24,height:24,viewBox:"0 0 24 24","aria-labelledby":t},i,{children:[r?(0,a.jsx)("title",{id:t,children:r}):null,(0,a.jsx)("path",{fillRule:"evenodd",d:"M6 8a6 6 0 1 1 7.025 5.913l.012.036A3 3 0 0 0 15.883 16H17a4 4 0 0 1 4 4v2h-2v-2a2 2 0 0 0-2-2h-1.117A5 5 0 0 1 12 16.15 5 5 0 0 1 8.117 18H7a2 2 0 0 0-2 2v2H3v-2a4 4 0 0 1 4-4h1.117a3 3 0 0 0 2.846-2.051l.012-.036A6.002 6.002 0 0 1 6 8Zm6 4a4 4 0 1 1 0-8 4 4 0 0 1 0 8Z",clipRule:"evenodd"})]}))};c.displayName="SourceIconAccount";var d=(0,i.S)(c)},779115:function(e,r,t){t.d(r,{R:function(){return d}});var n=t(58168),o=t(198587),i=t(593954),a=t(474848),l=["title","titleId"],c=function(e){var r=e.title,t=e.titleId,i=(0,o.A)(e,l);return(0,a.jsxs)("svg",(0,n.A)({width:24,height:24,viewBox:"0 0 24 24","aria-labelledby":t},i,{children:[r?(0,a.jsx)("title",{id:t,children:r}):null,(0,a.jsx)("path",{d:"M13.793 12.207 8 6.414 9.414 5l7.207 7.207-7.207 7.207L8 18l5.793-5.793Z"})]}))};c.displayName="SourceIconAngleRight";var d=(0,i.S)(c)},466377:function(e,r,t){t.d(r,{P:function(){return d}});var n=t(58168),o=t(198587),i=t(593954),a=t(474848),l=["title","titleId"],c=function(e){var r=e.title,t=e.titleId,i=(0,o.A)(e,l);return(0,a.jsxs)("svg",(0,n.A)({width:24,height:24,viewBox:"0 0 24 24","aria-labelledby":t},i,{children:[r?(0,a.jsx)("title",{id:t,children:r}):null,(0,a.jsx)("path",{fillRule:"evenodd",d:"M12 23c6.075 0 11-4.925 11-11S18.075 1 12 1 1 5.925 1 12s4.925 11 11 11Zm5-12H7v2h10v-2Z",clipRule:"evenodd"})]}))};c.displayName="SourceIconNotificationError";var d=(0,i.S)(c)},392395:function(e,r,t){t.d(r,{h:function(){return d}});var n=t(58168),o=t(198587),i=t(593954),a=t(474848),l=["title","titleId"],c=function(e){var r=e.title,t=e.titleId,i=(0,o.A)(e,l);return(0,a.jsxs)("svg",(0,n.A)({width:24,height:24,viewBox:"0 0 24 24","aria-labelledby":t},i,{children:[r?(0,a.jsx)("title",{id:t,children:r}):null,(0,a.jsx)("path",{fillRule:"evenodd",d:"M12 1C5.925 1 1 5.925 1 12s4.925 11 11 11 11-4.925 11-11S18.075 1 12 1Zm1 5v2h-2V6h2Zm0 4v8h-2v-8h2Z",clipRule:"evenodd"})]}))};c.displayName="SourceIconNotificationInfo";var d=(0,i.S)(c)},853296:function(e,r,t){t.d(r,{i:function(){return d}});var n=t(58168),o=t(198587),i=t(593954),a=t(474848),l=["title","titleId"],c=function(e){var r=e.title,t=e.titleId,i=(0,o.A)(e,l);return(0,a.jsxs)("svg",(0,n.A)({width:24,height:24,viewBox:"0 0 24 24","aria-labelledby":t},i,{children:[r?(0,a.jsx)("title",{id:t,children:r}):null,(0,a.jsx)("path",{fillRule:"evenodd",d:"M12 23c6.075 0 11-4.925 11-11S18.075 1 12 1 1 5.925 1 12s4.925 11 11 11Zm-1.793-6.586 7.207-7.207L16 7.793l-5.793 5.793-2.793-2.793L6 12.207l4.207 4.207Z",clipRule:"evenodd"})]}))};c.displayName="SourceIconNotificationSuccess";var d=(0,i.S)(c)},671835:function(e,r,t){t.d(r,{l:function(){return d}});var n=t(58168),o=t(198587),i=t(593954),a=t(474848),l=["title","titleId"],c=function(e){var r=e.title,t=e.titleId,i=(0,o.A)(e,l);return(0,a.jsxs)("svg",(0,n.A)({width:24,height:24,viewBox:"0 0 24 24","aria-labelledby":t},i,{children:[r?(0,a.jsx)("title",{id:t,children:r}):null,(0,a.jsx)("path",{fillRule:"evenodd",d:"M13.226 2.72a1.404 1.404 0 0 0-2.452 0L2.192 17.84c-.545.96.136 2.16 1.226 2.16h17.164c1.09 0 1.771-1.2 1.226-2.16L13.226 2.72ZM13 7h-2v7h2V7Zm0 9h-2v2h2v-2Z",clipRule:"evenodd"})]}))};c.displayName="SourceIconNotificationWarning";var d=(0,i.S)(c)},922311:function(e,r,t){t.d(r,{b:function(){return d}});var n=t(58168),o=t(198587),i=t(593954),a=t(474848),l=["title","titleId"],c=function(e){var r=e.title,t=e.titleId,i=(0,o.A)(e,l);return(0,a.jsxs)("svg",(0,n.A)({width:12,height:12,viewBox:"0 0 12 12","aria-labelledby":t},i,{children:[r?(0,a.jsx)("title",{id:t,children:r}):null,(0,a.jsx)("path",{d:"m6 2 1 1.586 1.828-.414L8.414 5 10 6 8.414 7l.414 1.828L7 8.414 6 10 5 8.414l-1.829.414L3.586 7 2 6l1.586-1-.415-1.828L5 3.586 6 2z"})]}))};c.displayName="SourceIconXsmallasterisk";var d=(0,i.S)(c)},947322:function(e,r,t){t.d(r,{e:function(){return z}});var n,o=t(58168),i=t(198587),a=t(693523),l=t(275451),c=t(97774),d=t(72127),s=t(27346),u=t(296540),p=t(959340),b=t(914421),f=t(305528),h=t(375276),v=t(945005),g=t(441427),m=t(153477),y=t(474848),x=["size","alt","titleId"],w=["color-deprecated-brand-accent-carrot","color-deprecated-brand-accent-dragonfruit","color-deprecated-brand-accent-eggplant","color-deprecated-brand-accent-grape","color-deprecated-brand-accent-lime","color-deprecated-brand-accent-marine","color-deprecated-brand-accent-seafoam","color-deprecated-brand-accent-sun","color-deprecated-brand-accent-turquoise","color-deprecated-brand-accent-wine","color-deprecated-brand-muted-emerald","color-deprecated-brand-muted-ice","color-deprecated-brand-muted-mustard"],k={"color-deprecated-brand-accent-carrot":"color-black","color-deprecated-brand-accent-dragonfruit":"color-white","color-deprecated-brand-accent-eggplant":"color-white","color-deprecated-brand-accent-grape":"color-white","color-deprecated-brand-accent-lime":"color-black","color-deprecated-brand-accent-marine":"color-white","color-deprecated-brand-accent-seafoam":"color-black","color-deprecated-brand-accent-sun":"color-black","color-deprecated-brand-accent-turquoise":"color-black","color-deprecated-brand-accent-wine":"color-white","color-deprecated-brand-muted-emerald":"color-black","color-deprecated-brand-muted-ice":"color-black","color-deprecated-brand-muted-mustard":"color-black"},I=a.I4.div.withConfig({displayName:"ScDefaultAvatar",componentId:"sc-1l54leb-0"})(["display:flex;align-items:center;justify-content:center;overflow:hidden;height:100%;"," ",""],c.R,(function(e){var r,t,o=e.$userLogin;return r=o.split("").reduce((function(e,r){return e+r.charCodeAt(0)}),0),t=w[r%w.length],(0,a.AH)(n||(n=(0,h.A)(["\n background-color: ",";\n color: ",";\n "])),(0,m.C)(t),(0,m.C)(k[t]))})),A=a.I4.div.withConfig({displayName:"ScDefaultAvatarIcon",componentId:"sc-1l54leb-1"})(["width:calc(2 / 3 * 100%);height:calc(2 / 3 * 100%);"]),C=function(e){var r=e.size,t=e.alt,n=e.titleId,o=(0,i.A)(e,x),a=(0,g.$)(n);return(0,y.jsx)(I,{$userLogin:o.userLogin,$borderRadius:o.borderRadius,children:(0,y.jsx)(A,{className:"tw-default-avatar__icon",children:r>=20&&(0,y.jsx)(v.H,{fill:!0,title:t,titleId:a+"-default-avatar"})})})};C.displayName="DefaultAvatarComponent";var j=(0,u.memo)(C);j.displayName="DefaultAvatar";var N=t(973474),R=t(216042),S=function(e,r){return(0,y.jsx)(R.S,{display:b.nl.Block,borderRadius:e.borderRadius,width:"100%",height:"100%",children:(0,y.jsx)(N.L,(0,o.A)({className:"tw-image-avatar",src:e.src||"",alt:e.alt,srcSet:e.srcSet,sizes:e.sizes,onLoad:e.onLoad,onError:e.onError,ref:r,style:{objectFit:"cover"}},(0,d.g)(e)))})};S.displayName="ImageAvatar";var $=(0,u.forwardRef)(S);$.displayName=S.displayName;var _=["borderRadius","size","svgTitleId"],E=a.I4.div.withConfig({displayName:"ScAvatar",componentId:"sc-144b42z-0"})(["position:relative;background-color:inherit;max-height:100%;",""],(function(e){return{width:(0,l.D)(e.$size),height:(0,l.D)(e.$size)}})),D=function(e,r){var t,n,a,l=e.borderRadius,u=void 0===l?c.Z.Rounded:l,h=e.size,v=e.svgTitleId,g=(0,i.A)(e,_);return t=!g.src&&!g.srcSet||(n=g.src||g.srcSet,a="","string"==typeof n?a=n:n&&"object"==typeof n&&(a=n[Object.keys(n)[0]]),a.match(/user-default-pictures\/[a-z0-9-]+?-profile_image-.+\.jpg$/i))?g.userLogin?(0,y.jsx)(j,(0,o.A)({borderRadius:u,size:h},g,{userLogin:g.userLogin,titleId:v})):(0,y.jsx)(p.P,{borderRadius:u,overflow:b.nE.Hidden,maxHeight:"100%",children:(0,y.jsx)(f.Or,{width:h,height:h,"aria-label":g.alt})}):(0,y.jsx)($,(0,o.A)({borderRadius:u,ref:r,size:h},g)),(0,y.jsx)(E,(0,o.A)({$size:h,className:"tw-avatar"},(0,d.g)(g),(0,s.Fh)(g),{children:t}))};D.displayName="Avatar";var z=(0,u.forwardRef)(D);z.displayName=D.displayName},70931:function(e,r,t){t.d(r,{Cb:function(){return _},KD:function(){return c}});var n,o,i,a,l,c,d=t(58168),s=t(198587),u=t(375276),p=t(657659),b=t(693523),f=t(922267),h=t(659480),v=t(261413),g=t(288794),m=t(111742),y=t(28974),x=t(296540),w=t(792486),k=t(906719),I=t(784905),A=t(882197),C=t(474848),j=["className","disabled","underline","variant","hoverUnderlineNone","hoverColorInherit","externalLinkIcon"];!function(e){e.Default="default",e.Inherit="inherit",e.Overlay="overlay"}(c||(c={}));var N=(0,b.I4)(w.M).withConfig({displayName:"ScCoreLink",componentId:"sc-16kq0mq-0"})(["text-decoration:",";color:",";&:visited{color:",";}"," "," "," ",""],(function(e){return e.$underline?"underline":"none"}),(function(e){var r,t=e.$inherit;return e.$type?(0,f.H)("$type",((r={})[k._.Error]=(0,h.b)("color-text-error"),r[k._.Info]=(0,h.b)("color-text-info"),r[k._.Success]=(0,h.b)("color-text-success"),r[k._.Warning]=(0,h.b)("color-text-warn"),r)):t?"inherit":(0,h.b)("color-text-link")}),(function(e){return e.$inherit?"inherit":(0,h.b)("color-text-link-visited")}),(function(e){return!e.$disabled&&(0,b.AH)(n||(n=(0,u.A)(["\n &:active {\n outline: ",";\n color: ",";\n }\n "])),e.$button?"none":void 0,(0,h.b)("color-text-link-active"))}),(0,v.ND)(o||(o=(0,u.A)(["\n color: ",";\n "])),(function(e){return e.$hoverColorInherit?"inherit":(0,h.b)("color-text-link-focus")})),(function(e){return!e.$disabled&&(0,g.k)(i||(i=(0,u.A)(["\n text-decoration: ",";\n color: ",";\n "])),(function(e){return e.$hoverUnderlineNone?"none":"underline"}),(function(e){var r=e.$hoverColorInherit;return e.$type?(0,h.b)("color-text-base"):r?"inherit":(0,h.b)("color-text-link-hover")}))}),(function(e){return e.$disabled&&(0,b.AH)(a||(a=(0,u.A)(["\n opacity: 0.5;\n ","\n "])),(0,g.k)(l||(l=(0,u.A)(["\n cursor: not-allowed;\n "]))))})),R="1.33em",S=b.I4.div.withConfig({displayName:"ScLinkIconWrapper",componentId:"sc-16kq0mq-1"})(["display:inline-flex;width:",";height:0.75em;position:relative;top:0.25em;"],R),$=function(e,r){var t=e.className,n=e.disabled,o=e.underline,i=void 0===o||o,a=e.variant,l=e.hoverUnderlineNone,u=e.hoverColorInherit,b=e.externalLinkIcon,f=(0,s.A)(e,j),h=(0,m.DP)().theme,v=(0,I.M)(),g={$button:!f.linkTo,$disabled:n,$hoverColorInherit:u,$hoverUnderlineNone:l,$inherit:a===c.Inherit,$overlay:a===c.Overlay||"overlay"===h,$underline:i,$type:v},x=(0,C.jsxs)(N,(0,d.A)({},f,g,{disabled:n,ref:r,className:(0,y.cn)("tw-link",t),children:[f.children,b&&(0,C.jsx)(S,{children:(0,C.jsx)(p.d,{size:R})})]}));return a===c.Overlay&&"overlay"!==h?(0,C.jsx)(A.e,{theme:"overlay",display:"inline",disableDefaultLayoutProps:!0,children:x}):x};$.displayName="CoreLink";var _=(0,x.forwardRef)($);_.displayName=$.displayName},336220:function(e,r,t){t.d(r,{b:function(){return y}});var n=t(198587),o=t(58168),i=t(28974),a=t(693523),l=t(296540),c=t(900626),d=t(67813),s=t(723319),u=t(493637),p=t(918752),b=t(153477),f=t(659480),h=a.I4.div.attrs({className:"tw-tooltip-popper-arrow"}).withConfig({displayName:"TooltipPopperArrow",componentId:"sc-fyv9gh-0"})(["width:6px;height:6px;transform:rotate(45deg);z-index:",';&::after{content:" ";position:absolute;transform:rotate(45deg);width:6px;height:6px;background-color:',';box-shadow:-1px -1px 1px rgba(0,0,0,0.1);}[data-popper-placement^="top"] &{bottom:-3px;}[data-popper-placement^="top"] &::after{border-radius:0 0 ',' 0;}[data-popper-placement^="bottom"] &{top:-3px;}[data-popper-placement^="bottom"] &::after{border-radius:',' 0 0 0;}[data-popper-placement^="left"] &{right:-3px;}[data-popper-placement^="left"] &::after{border-radius:0 ',' 0 0;}[data-popper-placement^="right"] &{left:-3px;}[data-popper-placement^="right"] &::after{border-radius:0 0 0 ',";}"],(0,b.C)("z-index-below"),(0,f.b)("color-background-tooltip"),(0,b.C)("border-radius-small"),(0,b.C)("border-radius-small"),(0,b.C)("border-radius-small"),(0,b.C)("border-radius-small")),v=t(474848),g=["popperRef","anchorRef"],m=10,y=function(e){var r=(0,p.c)(e.show,e.onExitComplete),t=r.isMounted,n=r.onExitComplete;return t?(0,v.jsx)(x,(0,o.A)({},e,{onExitComplete:n})):null};y.displayName="TooltipLayer";var x=function(e){var r,t=e.popperRef,a=e.anchorRef,p=(0,n.A)(e,g),b=(0,l.useState)(null),f=b[0],y=b[1],x=(0,l.useState)(null),I=x[0],A=x[1],C=(0,c.E)(a,f,(0,o.A)({},p.options,{modifiers:[{name:"arrow",options:{element:I,padding:8}},{name:"offset",options:{offset:[0,m]}}].concat((null==(r=p.options)?void 0:r.modifiers)||[])}));return(0,l.useEffect)((function(){t&&(t.current=C)}),[C,t]),(0,v.jsx)(u.b,{ariaHideApp:!1,role:"tooltip",aria:{modal:void 0},isOpen:!0,shouldCloseOnEsc:!1,shouldCloseOnOverlayClick:!1,shouldFocusAfterRender:!1,shouldReturnFocusAfterClose:!1,style:w,portalClassName:(0,i.cn)(p.portalClassName,"tw-tooltip-layer"),useThemeFromNearestContext:!0,children:(0,v.jsxs)("div",(0,o.A)({id:p.id,ref:y,style:C.styles.popper},C.attributes.popper,{onMouseEnter:p.onMouseEnter,onMouseLeave:p.onMouseLeave,children:[(0,v.jsx)(k,{}),(0,v.jsxs)(d.e,{type:p.transitionType||s.ES.ScaleOver,duration:p.transitionDuration||s.Cf.Short,show:p.show,transitionInitialMount:!0,onExitComplete:p.onExitComplete,onEnterComplete:p.onEnterComplete,children:[(0,v.jsx)(h,{ref:A,style:C.styles.arrow}),p.children]})]}))})};x.displayName="PortaledPopperWithTransition";var w={overlay:{position:"fixed",top:0,left:0,width:"100%",height:"100%",pointerEvents:"none"},content:{pointerEvents:"auto"}},k=a.I4.div.withConfig({displayName:"ScMouseHoverHelper",componentId:"sc-1l6xyzd-0"})(['width:100%;height:100%;position:absolute;[data-popper-placement="top"] &{bottom:-','px;}[data-popper-placement="bottom"] &{top:-','px;}[data-popper-placement="left"] &{right:-','px;}[data-popper-placement="right"] &{left:-',"px;}"],m,m,m,m)},552400:function(e,r,t){t.d(r,{m:function(){return f}});var n=t(58168),o=t(198587),i=t(296540),a=t(914421),l=t(216042),c=t(336220),d=t(703064),s=t(941737),u=t(474848),p=["label","children","disabled","show","options","display","popperRef","onEnterComplete","onExitComplete","transitionType","transitionDuration","enterDelay","leaveDelay","id"],b=["aria-describedby"],f=function(e){var r,t=e.label,f=e.children,h=e.disabled,v=e.show,g=e.options,m=e.display,y=void 0===m?a.nl.InlineFlex:m,x=e.popperRef,w=e.onEnterComplete,k=e.onExitComplete,I=e.transitionType,A=e.transitionDuration,C=e.enterDelay,j=e.leaveDelay,N=e.id,R=(0,o.A)(e,p),S=(0,d.i)({enterDelay:C,leaveDelay:j,id:N}),$=S.anchorProps,_=S.tooltipProps;r=!0===v||!1!==v&&!h&&_.show;var E=$["aria-describedby"],D=(0,o.A)($,b);return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(l.S,{display:y,children:(0,u.jsx)("div",(0,n.A)({},D,{children:(0,i.isValidElement)(f)&&void 0===f.props["aria-describedby"]&&f.props["aria-label"]!==t&&r?(0,i.cloneElement)(f,{"aria-describedby":E}):f}))}),(0,u.jsx)(c.b,(0,n.A)({},_,{show:r,options:g,popperRef:x,onEnterComplete:w,onExitComplete:k,transitionType:I,transitionDuration:A,children:(0,u.jsx)(s.T,(0,n.A)({},R,{children:t}))}))]})};f.displayName="Tooltip"},941737:function(e,r,t){t.d(r,{T:function(){return h}});var n=t(58168),o=t(198587),i=t(693523),a=t(153477),l=t(659480),c=t(275451),d=t(97774),s=t(959340),u=t(914421),p=t(474848),b=["children","width","maxWidth"],f=(0,i.I4)(s.P).withConfig({displayName:"ScTooltipWrapper",componentId:"sc-31h4d9-0"})(["display:inline-block;font-weight:",";line-height:",";color:",";background-color:",";"],(0,a.C)("font-weight-semibold"),(0,a.C)("line-height-body"),(0,l.b)("color-text-tooltip"),(0,l.b)("color-background-tooltip")),h=function(e){var r=e.children,t=e.width,i=e.maxWidth,a=void 0===i?(0,c.D)(300):i,l=(0,o.A)(e,b);return(0,p.jsx)(f,(0,n.A)({className:"tw-tooltip-wrapper",fontSize:u.Z4.Size4,borderRadius:d.Z.Medium,padding:.75},l,{width:t,maxWidth:a,children:r}))};h.displayName="TooltipWrapper"},703064:function(e,r,t){t.d(r,{i:function(){return l}});var n=t(265631),o=t(441427),i=t(261413),a=t(296540),l=function(e){var r=void 0===e?{}:e,t=r.initialValue,l=void 0!==t&&t,c=r.enterDelay,d=void 0===c?200:c,s=r.leaveDelay,u=void 0===s?200:s,p=r.id,b=(0,o.$)(p),f=(0,a.useState)(l),h=f[0],v=f[1],g=(0,a.useState)(null),m=g[0],y=g[1],x=(0,a.useRef)(null),w=(0,a.useRef)(),k=(0,a.useRef)(),I=(0,n.Ik)().setIsTooltipVisible;function A(){w.current&&window.clearTimeout(w.current)}function C(){k.current&&window.clearTimeout(k.current)}(0,a.useEffect)((function(){I(h);var e=function(e){h&&"Escape"===e.key&&(e.preventDefault(),v(!1),I(!1))};return document.addEventListener("keydown",e),function(){document.removeEventListener("keydown",e)}}),[h,I]);var j=(0,a.useCallback)((function(){A(),C(),v(!0)}),[]),N=(0,a.useCallback)((function(){A(),C(),w.current=window.setTimeout((function(){v(!0)}),d)}),[d]),R=(0,a.useCallback)((function(){A(),C(),v(!1)}),[]),S=(0,a.useCallback)((function(){A(),C(),k.current=window.setTimeout((function(){v(!1)}),u)}),[u]),$=(0,a.useCallback)((function(e){(null===document.querySelector("html[data-js-focus-visible]")||null!==e.currentTarget.querySelector(i.A7)||e.currentTarget.matches(i.A7))&&v(!0)}),[]);return{isOpen:h,setIsOpen:v,anchorRef:m,setAnchorRef:y,popperRef:x,anchorProps:{ref:y,onMouseEnter:N,onMouseLeave:S,onFocus:$,onBlur:R,"aria-describedby":h?b:void 0},tooltipProps:{show:h,anchorRef:m,popperRef:x,id:b,onMouseEnter:j,onMouseLeave:S}}}},674602:function(e,r,t){t.d(r,{JZ:function(){return o},K7:function(){return f}});var n,o,i=t(58168),a=t(198587),l=t(779115),c=t(693523),d=t(153477),s=t(922267),u=t(474848),p=["open","openDirection","closedDirection"];!function(e){e.Up="up",e.Right="right",e.Down="down",e.Left="left"}(o||(o={}));var b=c.I4.div.withConfig({displayName:"ScExpandableIndicator",componentId:"sc-f0maby-0"})(["display:inline-flex;align-items:center;transition:"," transform ease;transform:",";"],(0,d.C)("timing-short"),(0,s.H)("$direction",((n={})[o.Up]="rotate(-90deg)",n[o.Right]="rotate(0deg)",n[o.Down]="rotate(90deg)",n[o.Left]="rotate(-180deg)",n))),f=function(e){var r=e.open,t=e.openDirection,n=void 0===t?o.Down:t,c=e.closedDirection,d=void 0===c?o.Right:c,s=(0,a.A)(e,p),f=!r;return(0,u.jsx)(b,(0,i.A)({$direction:r&&n===o.Up||f&&d===o.Up?o.Up:r&&n===o.Right||f&&d===o.Right?o.Right:r&&n===o.Down||f&&d===o.Down?o.Down:o.Left,className:"expandable-indicator__wrapper"},s,{children:(0,u.jsx)(l.R,{})}))};f.displayName="ExpandableIndicator"},379831:function(e,r,t){t.d(r,{o:function(){return j}});var n,o=t(58168),i=t(198587),a=t(693523),l=t(922267),c=t(659480),d=t(153477),s=t(441427),u=t(28974),p=t(27346),b=t(72127),f=t(296540),h=t(955522),v=t(959340),g=t(914421),m=t(529747),y=t(292644),x=t(474848),w=["error","id","indeterminate","label","size","alignLabel"],k=(0,a.I4)(v.P).withConfig({displayName:"ScCheckboxLayout",componentId:"sc-1wg5med-0"})(["font-size:",";"],(0,l.H)("$size",((n={})[y.Y.Default]=(0,c.b)("input-text-default"),n[y.Y.Large]=(0,c.b)("input-text-large"),n))),I=(0,a.I4)(m.VS).withConfig({displayName:"ScCheckBoxLabel",componentId:"sc-1wg5med-1"})(["&::before{border-radius:",";}",":indeterminate + &&{&::before{border-style:solid;border-width:",";border-color:",";background-color:",";}&::after{background-color:",";display:block;position:absolute;top:50%;left:calc("," / 4);width:calc("," / 2);height:calc(",' / 8);transform:translateY(-50%);content:"";}}',":indeterminate:disabled + &&{&::before{background-color:transparent;border-color:",";}&::after{background-color:",";}}"],(0,d.C)("border-radius-small"),m.P0,(0,d.C)("border-width-checkbox"),(0,c.b)("color-border-input-checkbox-checked"),(0,c.b)("color-background-input-checkbox-checked-background"),(0,c.b)("color-background-input-checkbox-checked"),(0,c.b)("checkbox-size"),(0,c.b)("checkbox-size"),(0,c.b)("checkbox-size"),m.P0,(0,c.b)("color-border-input-checkbox"),(0,c.b)("color-border-input-checkbox")),A=function(e,r){var t=e.error,n=e.id,a=e.indeterminate,l=e.label,c=e.size,d=void 0===c?y.Y.Default:c,f=e.alignLabel,h=void 0===f?"middle":f,A=(0,i.A)(e,w),C=(0,s.$)(n),j={"tw-checkbox":!0,"tw-checkbox--error":t};return(0,x.jsxs)(k,(0,o.A)({className:(0,u.cn)(j),position:g.yX.Relative},(0,p.Fh)(A),{$size:d,children:[(0,x.jsx)(m.P0,(0,o.A)({},(0,p.cI)(A),(0,b.g)(A),{className:"tw-checkbox__input",type:"checkbox","data-a-target":"tw-checkbox",id:C,ref:function(e){e&&(e.indeterminate=!!a),"function"==typeof r?r(e):r&&(r.current=e)}})),(0,x.jsx)(I,{className:"tw-checkbox__label",htmlFor:C,$error:t,$alignLabel:h,$disabled:A.disabled,$labelIsHidden:!l,children:l&&(0,x.jsx)(v.P,{margin:{left:l?1:void 0},children:l})})]}))};A.displayName="CheckBox";var C=(0,f.forwardRef)(A);C.displayName=A.displayName;var j=(0,h.i)(C)},757170:function(e,r,t){t.d(r,{j:function(){return u}});var n=t(58168),o=t(198587),i=t(955522),a=t(906719),l=t(653187),c=t(474848),d=["errorMessage"],s=function(e){var r=e.errorMessage,t=(0,o.A)(e,d);return(0,c.jsx)(l.C5,(0,n.A)({status:a._.Error},t,{children:r}))};s.displayName="FormErrorComponent";var u=(0,i.i)(s)},950962:function(e,r,t){t.d(r,{aG:function(){return n},gE:function(){return A}});var n,o=t(58168),i=t(198587),a=t(693523),l=t(659480),c=t(153477),d=t(441427),s=t(644035),u=t(296540),p=t(843004),b=t(312663),f=t(959340),h=t(914421),v=t(757170),g=t(982599),m=t(829086),y=t(923088),x=t(504358),w=t(474848),k=["children","error","errorIconTitle","errorMessage","hint","id","label","labelOptional","required","orientation","showCharacterCount"];!function(e){e.Auto="auto",e.Vertical="vertical",e.Horizontal="horizontal"}(n||(n={}));var I=a.I4.span.withConfig({displayName:"ScFormGroupOptional",componentId:"sc-nepqe0-0"})(["color:",";padding-inline-start:",";font-weight:",";"],(0,l.b)("color-text-label-optional"),(0,c.C)("space-05"),(0,c.C)("font-weight-normal")),A=function(e){var r,t,n=e.children,a=e.error,l=e.errorIconTitle,c=e.errorMessage,A=e.hint,C=e.id,j=e.label,N=e.labelOptional,R=e.required,S=e.orientation,$=void 0===S?"auto":S,_=e.showCharacterCount,E=(0,i.A)(e,k),D=(0,d.$)(C),z=(0,s.t)().formatMessage,L=(0,u.useState)(),P=L[0],T=L[1],H=(0,u.useCallback)((function(e){T(e)}),[]),M=(0,u.useMemo)((function(){return{inputId:D,labelId:D+"-label",hintId:A&&!a?D+"-hint":void 0,errorId:a?D+"-error":void 0,characterCountId:_?D+"-character-count":void 0,showCharacterCount:_,currentValue:P,setCurrentValue:H}}),[D,a,A,_,P,H]),F=(null==P?void 0:P.length)||0,O=_&&"boolean"!=typeof _?_.maxLength:void 0;N&&(r=(0,w.jsxs)(I,{children:["(",N,")"]})),A&&M.hintId?t=(0,u.isValidElement)(A)?(0,u.cloneElement)(A,{id:M.hintId}):(0,w.jsx)(g.m,{hint:A,id:M.hintId}):a&&M.errorId&&(t=(0,u.isValidElement)(a)?(0,u.cloneElement)(a,{id:M.errorId}):!0===a&&c?(0,w.jsx)(v.j,{errorMessage:c,id:M.errorId,iconTitle:l}):"string"==typeof a?(0,w.jsx)(v.j,{errorMessage:a,id:M.errorId,iconTitle:l}):a);var W=j?(0,w.jsxs)(f.P,{margin:{bottom:.5},children:[(0,u.isValidElement)(j)?(0,u.cloneElement)(j,{id:M.labelId}):"string"==typeof j?(0,w.jsx)(m.lR,{required:R,label:j}):j,"string"==typeof j&&r]}):void 0,q="container-"+D;return(0,w.jsx)(x.LP.Provider,{value:M,children:(0,w.jsx)(f.P,(0,o.A)({flexGrow:1},"auto"===$?{containerName:q,containerType:"inline-size",width:"100%"}:void 0,{children:(0,w.jsxs)(f.P,(0,o.A)({className:"tw-form-group",position:"relative",flexGrow:1,fontSize:h.Z4.Size4,display:"flex",flexWrap:"nowrap",flexDirection:"horizontal"===$?"row":"column",containerQueries:"auto"===$?[{containerName:q,minWidth:"768px",props:{flexDirection:"row",gap:1}}]:void 0},E,{children:[(0,w.jsx)(f.P,{"data-test-selector":y.w,flexShrink:0,padding:{right:"horizontal"===$?2:void 0},width:"horizontal"===$?y.e:void 0,containerQueries:"auto"===$?[{containerName:q,minWidth:"768px",props:{width:y.e}}]:void 0,children:W}),(0,w.jsxs)(f.P,{flexGrow:1,children:[n,(t||_&&O)&&(0,w.jsxs)(f.P,{display:"grid",gridTemplateColumns:"1fr auto",style:{alignItems:"start"},margin:{top:.5},children:[(0,w.jsx)("div",{children:t}),_&&O&&(0,w.jsxs)(w.Fragment,{children:[(0,w.jsxs)(b.N,{fontSize:h.Z4.Size5,as:"span",color:a?"error":"alt-2",children:[F,"/",O]}),(0,w.jsx)(p.L,{as:"span",id:M.characterCountId,children:z("{maxLength} characters allowed",{maxLength:O},"FormGroup")})]})]})]})]}))}))})};A.displayName="FormGroup"},923088:function(e,r,t){t.d(r,{e:function(){return n},w:function(){return o}});var n="18rem",o="tw-form-group__label-container"},982599:function(e,r,t){t.d(r,{m:function(){return m}});var n=t(58168),o=t(198587),i=t(853296),a=t(671835),l=t(466377),c=t(693523),d=t(153477),s=t(922267),u=t(659480),p=t(955522),b=t(474848),f=["hint","status","id"],h=c.I4.div.withConfig({displayName:"ScFormHint",componentId:"sc-e0rl6f-0"})(["display:flex;align-items:center;gap:",";color:",";"],(0,d.C)("space-05"),(function(e){return e.$status?(0,s.H)("$status",{success:(0,u.b)("color-text-success"),warning:(0,u.b)("color-text-warn"),error:(0,u.b)("color-text-error")}):(0,u.b)("color-text-alt-2")})),v=c.I4.p.withConfig({displayName:"ScFormHintMessage",componentId:"sc-e0rl6f-1"})(["font-size:",";"],(0,u.b)("font-size-5")),g=function(e){var r=e.hint,t=e.status,c=e.id,d=(0,o.A)(e,f),s={success:(0,b.jsx)(i.i,{}),warning:(0,b.jsx)(a.l,{}),error:(0,b.jsx)(l.P,{})};return(0,b.jsxs)(h,(0,n.A)({$status:t},d,{children:[t&&s[t],(0,b.jsx)(v,{id:c,children:r})]}))};g.displayName="FormHintComponent";var m=(0,p.i)(g)},829086:function(e,r,t){t.d(r,{ZS:function(){return f},lR:function(){return v}});var n=t(58168),o=t(198587),i=t(693523),a=t(659480),l=t(153477),c=t(296540),d=t(955522),s=t(504358),u=t(312383),p=t(474848),b=["id","label","required"],f=i.I4.label.withConfig({displayName:"ScFormLabel",componentId:"sc-1p4hav0-0"})(["color:",";font-weight:",";"],(0,a.b)("color-text-label"),(0,l.C)("font-weight-bold")),h=function(e){var r=e.id,t=e.label,i=e.required,a=(0,o.A)(e,b),l=(0,c.useContext)(s.LP),d=l.inputId,h=l.labelId;return(0,p.jsxs)(f,(0,n.A)({id:h,htmlFor:d||r,className:"tw-form-label"},a,{children:[i&&(0,p.jsx)(u.s,{}),t]}))};h.displayName="FormLabelComponent";var v=(0,d.i)(h)},653187:function(e,r,t){t.d(r,{C5:function(){return C}});var n,o=t(58168),i=t(198587),a=t(466377),l=t(671835),c=t(392395),d=t(853296),s=t(693523),u=t(922267),p=t(659480),b=t(153477),f=t(955522),h=t(959340),v=t(311248),g=t(906719),m=t(474848),y=["count","indicator","status","children","iconTitle"],x=s.I4.div.withConfig({displayName:"ScFormMessage",componentId:"sc-1agptzy-0"})(["color:",";display:flex;font-size:",";"],(function(e){var r;return e.$status?(0,u.H)("$status",((r={})[g._.Error]=(0,p.b)("color-text-error"),r[g._.Warning]=(0,p.b)("color-text-warn"),r[g._.Info]=(0,p.b)("color-text-info"),r[g._.Success]=(0,p.b)("color-text-success"),r)):(0,p.b)("color-text-label")}),(0,p.b)("font-size-5")),w=s.I4.div.withConfig({displayName:"ScFormMessageIndicator",componentId:"sc-1agptzy-1"})(["margin-inline-end:",";display:flex;flex-shrink:0;align-items:baseline;"],(0,b.C)("space-05")),k=s.I4.div.withConfig({displayName:"ScFormMessageCount",componentId:"sc-1agptzy-2"})(["margin-inline-start:",";flex-shrink:0;color:",";"],(0,b.C)("space-05"),(0,p.b)("color-text-alt-2")),I=((n={})[g._.Error]=a.P,n[g._.Warning]=l.l,n[g._.Info]=c.h,n[g._.Success]=d.i,n),A=function(e){var r=e.count,t=e.indicator,n=e.status,a=e.children,l=e.iconTitle,c=(0,i.A)(e,y),d=(0,v.P)(n),s=n&&I[n];return(0,m.jsxs)(x,(0,o.A)({$status:n},c,{children:[t||n&&(0,m.jsx)(w,{children:s&&(0,m.jsx)(s,{title:!1===l?void 0:null!=l?l:d,size:14})}),(0,m.jsx)(h.P,{flexGrow:1,children:a}),r&&(0,m.jsxs)(k,{children:[r.currentCount||0,"/",r.maxCount]})]}))};A.displayName="FormMessageComponent";var C=(0,f.i)(A)},312383:function(e,r,t){t.d(r,{s:function(){return i}});var n=t(922311),o=t(474848),i=function(){return(0,o.jsx)(n.b,{size:"1em"})};i.displayName="FormRequired"},407590:function(e,r,t){t.d(r,{l:function(){return R}});var n,o=t(58168),i=t(198587),a=t(375276),l=t(693523),c=t(659480),d=t(153477),s=t(288794),u=t(261413),p=t(441427),b=t(27346),f=t(72127),h=t(296540),v=t(955522),g=t(843004),m=t(529747),y=t(504358),x=t(474848),w=["error","id","label"],k=["aria-labelledby"],I=l.I4.div.withConfig({displayName:"ScToggle",componentId:"sc-iguyno-0"})(["position:relative;display:flex;align-items:center;min-height:1lh;"]),A=l.I4.input.withConfig({displayName:"ScToggleInput",componentId:"sc-iguyno-1"})(["cursor:pointer;position:absolute;width:",";height:",";opacity:0;"],(0,c.b)("toggle-width"),(0,c.b)("toggle-height")),C=l.I4.div.withConfig({displayName:"ScToggleButton",componentId:"sc-iguyno-2"})(["pointer-events:none;position:relative;width:",";height:",";border-width:2px;border-style:solid;border-radius:",";transition-property:background-color;transition-timing-function:ease;transition-duration:",";border-color:",";background-color:",';&::after{content:"";display:block;position:absolute;transform:translate3d(0,-50%,0);top:50%;left:',";width:",";height:",";transition-property:transform;transition-timing-function:ease;transition-duration:",";border-radius:",";box-shadow:",";background-color:",";}"," ",""," + &&{border-color:",";outline-offset:3px;}"," ",":checked + &&{border-color:",";background-color:",";&::before{/*! @noflip */ border-width:0 0 2px 2px;border-style:solid;border-color:",';display:block;position:absolute;top:calc(50% - 1px);left:0.8rem;width:0.7rem;height:0.3rem;transform:translate3d(-50%,-50%,0) rotate(-45deg);content:"";}&::after{transform:translate3d( calc( '," - "," - (2 * ",") - 4px ),-50%,0 );background-color:",';}[dir="rtl"] &::after{transform:translate3d( calc( -1 * ( '," - "," - (2 * ",") - 4px ) ),-50%,0 );}}",":disabled + &&{opacity:0.5;pointer-events:none;}",":checked:disabled + &&{background-color:",";border-color:",";&::before{border-color:",";}&::after{background-color:",";}}"],(0,c.b)("toggle-width"),(0,c.b)("toggle-height"),(0,c.b)("toggle-handle-size"),(0,d.C)("timing-short"),(function(e){return(0,c.b)(e.$error?"color-border-input-error":"color-border-toggle")}),(0,c.b)("color-background-toggle"),(0,c.b)("toggle-handle-offset"),(0,c.b)("toggle-handle-size"),(0,c.b)("toggle-handle-size"),(0,d.C)("timing-short"),(0,d.C)("border-radius-rounded"),(0,c.b)("toggle-handle-shadow"),(0,c.b)("color-background-toggle-handle"),(0,s.h)(A+":hover + &&")(n||(n=(0,a.A)(["\n border-color: ",";\n\n "])),(function(e){var r=e.$error;return(0,c.b)(r?"color-border-input-error":"color-border-toggle-hover")})),A,u.A7,(0,c.b)("color-border-toggle-focus"),(0,m.eJ)(A),A,(0,c.b)("color-border-toggle-checked"),(0,c.b)("color-background-toggle-checked"),(0,c.b)("color-text-toggle-checked-icon"),(0,c.b)("toggle-width"),(0,c.b)("toggle-handle-size"),(0,c.b)("toggle-handle-offset"),(0,c.b)("color-background-toggle-handle-checked"),(0,c.b)("toggle-width"),(0,c.b)("toggle-handle-size"),(0,c.b)("toggle-handle-offset"),A,A,(0,c.b)("color-background-toggle-checked"),(0,c.b)("color-border-toggle"),(0,c.b)("color-border-toggle"),(0,c.b)("color-background-toggle-handle-checked-disabled")),j=function(e,r){var t,n,a=e.error,l=e.id,c=e.label,d=(0,i.A)(e,w),s=(0,p.$)(l),u=(0,y.l7)(s),v=u["aria-labelledby"],m=(0,i.A)(u,k),j=(0,p.$)(v),N=!v&&c,R=N||v,S=(0,h.useState)(null!=(t=null!=(n=d.checked)?n:d.defaultChecked)&&t),$=S[0],_=S[1],E=void 0!==d.checked?d.checked:$;return(0,x.jsxs)(I,(0,o.A)({className:"tw-toggle"},(0,b.Fh)(d),{children:[(0,x.jsx)(A,(0,o.A)({},(0,b.cI)(d),{ref:r,className:"tw-toggle__input",type:"checkbox",role:"switch","aria-checked":E,onChange:function(e){void 0===d.checked&&_(e.target.checked),null==d.onChange||d.onChange(e)},"data-a-target":"tw-toggle","aria-labelledby":R&&j},m,(0,f.g)(d))),(0,x.jsx)(C,{className:"tw-toggle__button",$error:a}),N&&(0,x.jsx)(g.L,{id:j,children:c})]}))};j.displayName="Toggle";var N=(0,h.forwardRef)(j);N.displayName=j.displayName;var R=(0,v.i)(N)},636367:function(e,r,t){t.d(r,{hJ:function(){return $},tD:function(){return oe}});var n,o,i,a,l,c,d,s,u,p,b,f,h,v,g,m,y,x,w,k,I,A,C,j,N,R,S,$,_=t(58168),E=t(198587),D=t(375276),z=t(791907),L=t(693523),P=t(288794),T=t(261413),H=t(153477),M=t(97774),F=t(659480),O=t(296540),W=t(955522),q=t(792486),Z=t(474848),V=["children"],B=["border","borderRadius","children","disabled","hover","selected","selectableText","variant"];!function(e){e.Default="default",e.Overlay="overlay",e.Alert="alert",e.Inverted="inverted",e.Alpha="alpha"}($||($={}));var G=function(e){return function(r){return(0,L.AH)(n||(n=(0,D.A)(["\n ","\n ","\n"])),!r.$selected&&void 0===r.$hover&&(0,P.k)(o||(o=(0,D.A)(["",""])),e),r.$hoverForced&&e)}},K=function(e){return function(r){return!r.$selected&&(0,T.ND)(i||(i=(0,D.A)(["",""])),e)}},U=function(e){return function(r){return!r.$selected&&(0,L.AH)(a||(a=(0,D.A)(["\n &:active {\n ","\n }\n ","\n "])),e,(0,P.k)(l||(l=(0,D.A)(["\n &:active {\n ","\n }\n "])),e))}},Q=function(e){return function(r){return r.$selected&&(0,L.AH)(c||(c=(0,D.A)(["\n ","\n ","\n "])),e,(0,P.k)(d||(d=(0,D.A)(["",""])),e))}},X=function(e){var r="\n opacity: 0.5;\n pointer-events: none;\n ";return(0,L.AH)(s||(s=(0,D.A)(["\n ","\n &:disabled {\n ","\n }\n "])),e.$disabled&&r,r)},Y=function(e){return function(r){return r.$border&&(0,L.AH)(u||(u=(0,D.A)(["\n border-style: solid;\n border-width: ",";\n ","\n "])),(0,H.C)("border-width-default"),e)}},J=(0,L.I4)(q.M).withConfig({shouldForwardProp:function(e){return!["borderRadius"].includes(e)||(0,z.A)(e)}}).withConfig({displayName:"ScInteractableBase",componentId:"sc-ofisyf-0"})([""," display:block;width:100%;color:inherit;&:hover{text-decoration:none;}"," ",""],M.R,X,(function(e){return e.$userSelectableText&&{userSelect:"text"}})),ee=(0,L.I4)(J).withConfig({displayName:"ScInteractableDefault",componentId:"sc-ofisyf-1"})([""," "," "," "," "," ",""],(0,P.k)(p||(p=(0,D.A)(["\n color: ",";\n "])),(function(e){return e.$selected?(0,F.b)("color-text-overlay"):"inherit"})),G((0,L.AH)(b||(b=(0,D.A)(["\n background-color: ",";\n "])),(0,F.b)("color-background-interactable-hover"))),K((0,L.AH)(f||(f=(0,D.A)(["\n background-color: ",";\n "])),(0,F.b)("color-background-interactable-hover"))),U((0,L.AH)(h||(h=(0,D.A)(["\n background-color: ",";\n "])),(0,F.b)("color-background-interactable-active"))),Q((0,L.AH)(v||(v=(0,D.A)(["\n background-color: ",";\n color: ",";\n "])),(0,F.b)("color-background-interactable-selected"),(0,F.b)("color-text-interactable-selected"))),Y((0,L.AH)(g||(g=(0,D.A)(["\n border-color: ",";\n "])),(0,F.b)("color-border-base")))),re=(0,L.I4)(J).withConfig({displayName:"ScInteractableOverlay",componentId:"sc-ofisyf-2"})([""," "," "," "," "," ",""],(0,P.k)(m||(m=(0,D.A)(["\n color: ",";\n "])),(function(e){return e.$selected?(0,F.b)("color-text-interactable-overlay-selected"):"inherit"})),G((0,L.AH)(y||(y=(0,D.A)(['\n color: "inherit";\n background-color: ',";\n "])),(0,F.b)("color-background-interactable-overlay-hover"))),K((0,L.AH)(x||(x=(0,D.A)(["\n background-color: ",";\n "])),(0,F.b)("color-background-interactable-overlay-hover"))),U((0,L.AH)(w||(w=(0,D.A)(["\n background-color: ",";\n "])),(0,F.b)("color-background-interactable-overlay-active"))),Q((0,L.AH)(k||(k=(0,D.A)(["\n background-color: ",";\n color: ",";\n "])),(0,F.b)("color-background-interactable-overlay-selected"),(0,F.b)("color-text-interactable-overlay-selected"))),Y((0,L.AH)(I||(I=(0,D.A)(["\n border-color: ",";\n "])),(0,F.b)("color-border-overlay")))),te=(0,L.I4)(J).withConfig({displayName:"ScInteractableAlert",componentId:"sc-ofisyf-3"})(["color:",";"," "," "," "," "," ",""],(0,F.b)("color-text-alert"),(0,P.k)(A||(A=(0,D.A)(["\n color: ",";\n "])),(function(e){return e.$selected||e.$hoverForced?(0,F.b)("color-text-interactable-inverted"):(0,F.b)("color-text-alert")})),G((0,L.AH)(C||(C=(0,D.A)(["\n background-color: ",";\n color: ",";\n "])),(0,F.b)("color-background-interactable-destructive-hover"),(0,F.b)("color-text-interactable-inverted"))),K((0,L.AH)(j||(j=(0,D.A)(["\n background-color: ",";\n color: ",";\n "])),(0,F.b)("color-background-interactable-destructive-hover"),(0,F.b)("color-text-interactable-inverted"))),U((0,L.AH)(N||(N=(0,D.A)(["\n background-color: ",";\n color: ",";\n "])),(0,F.b)("color-background-interactable-destructive-active"),(0,F.b)("color-text-interactable-inverted"))),Q((0,L.AH)(R||(R=(0,D.A)(["\n background-color: ",";\n color: ",";\n "])),(0,F.b)("color-background-interactable-destructive-active"),(0,F.b)("color-text-interactable-inverted"))),Y((0,L.AH)(S||(S=(0,D.A)(["\n border-color: ",";\n "])),(0,F.b)("color-border-base")))),ne=function(e,r){var t=e.border,n=e.borderRadius,o=e.children,i=e.disabled,a=e.hover,l=e.selected,c=e.selectableText,d=e.variant,s=void 0===d?$.Default:d,u=(0,E.A)(e,B),p=(0,O.useContext)(W.e),b=(0,_.A)({borderRadius:n,children:o,className:"tw-interactable",$border:t,$disabled:i,$hover:a,$hoverForced:!0===a,$selected:l,$userSelectableText:c,ref:r,disabled:i},u);return function(e,r){var t=r.children,n=(0,E.A)(r,V);return e===$.Overlay?(0,Z.jsx)(re,(0,_.A)({},n,{children:t})):e===$.Alert?(0,Z.jsx)(te,(0,_.A)({},n,{children:t})):(0,Z.jsx)(ee,(0,_.A)({},n,{children:t}))}(p?$.Overlay:s,b)};ne.displayName="Interactable";var oe=(0,O.forwardRef)(ne);oe.displayName=ne.displayName},311248:function(e,r,t){t.d(r,{P:function(){return i}});var n=t(644035),o=t(906719),i=function(e){var r,t=(0,n.t)().formatMessage;if(e)return((r={})[o._.Error]=t("Error","NotificationFigure"),r[o._.Info]=t("Info","NotificationFigure"),r[o._.Success]=t("Success","NotificationFigure"),r[o._.Warning]=t("Warning","NotificationFigure"),r)[e]}},784905:function(e,r,t){t.d(r,{M:function(){return i},V:function(){return o}});var n=t(296540),o=(0,n.createContext)(void 0),i=function(){return(0,n.useContext)(o)}},906719:function(e,r,t){var n,o;t.d(r,{_:function(){return n},v:function(){return o}}),function(e){e.Error="error",e.Info="info",e.Success="success",e.Warning="warning"}(n||(n={})),function(e){e.InfoLoading="InfoLoading"}(o||(o={}))},305528:function(e,r,t){t.d(r,{Or:function(){return m}});var n=t(58168),o=t(198587),i=t(693523),a=t(275451),l=t(153477),c=t(659480),d=t(97774),s=t(955522),u=t(474848),p=["animated","borderRadius","lineCount","height","width"],b=(0,i.i7)(["0%{transform:translateX(-100%);}100%{transform:translateX(0%);}"]),f=i.I4.span.withConfig({displayName:"ScPlaceholderWrapper",componentId:"sc-wb1w3c-0"})(["width:100%;height:100%;"]),h=i.I4.span.withConfig({displayName:"ScPlaceholder",componentId:"sc-wb1w3c-1"})(["display:flex;align-items:center;max-width:100%;width:",";height:",";min-height:",";&:not(:first-of-type){margin-block-start:-0.1em;}"],(function(e){return e.$width?(0,a.D)(e.$width):"100%"}),(function(e){return e.$height?(0,a.D)(e.$height):"100%"}),(function(e){return e.$height?"0":"1.7em"})),v=i.I4.span.withConfig({displayName:"ScPlaceholderFill",componentId:"sc-wb1w3c-2"})(["position:relative;border-radius:",";display:block;width:100%;max-width:100%;min-height:",";height:",";overflow:hidden;background-color:",";"," ",";"],(0,l.C)("border-radius-medium"),(function(e){return e.$height?"0":"calc(1em)"}),(function(e){return 1===e.$lineCount?"100%":""}),(0,c.b)("color-background-placeholder"),(function(e){return 1===e.$lineCount&&(0,d.R)(e)}),(function(e){return e.$animated&&(0,i.AH)(['&::before{content:"";position:absolute;top:0;left:100%;width:calc(100% + ',"px);min-width:","px;height:100%;background-image:linear-gradient( to right,transparent,",",transparent );background-size:","px 100%;background-repeat:no-repeat;animation:"," 2s ","ms ease-out 10 forwards;}"],115,115,(0,c.b)("color-background-placeholder"),115,b,300)})),g=function(e){for(var r=e.animated,t=void 0===r||r,i=e.borderRadius,a=e.lineCount,l=void 0===a?1:a,c=e.height,d=e.width,s=(0,o.A)(e,p),b=[],g=0;g0&&(l.variables=f(t,a)),i.createElement(g,(0,o.__assign)({ignoreResults:!0},l,{mutation:e}),(function(e,t){var l,c,d=t.data,s=(0,o.__rest)(t,["data"]),u=Object.assign(s,d||{}),p=r.name||"mutate",b=r.name?"".concat(p,"Result"):"result",f=((l={})[p]=e,l[b]=u,l);if(r.props){var h=((c={})[p]=e,c[b]=u,c.ownProps=a,c);f=r.props(h)}return i.createElement(n,(0,o.__assign)({},a,f))}))},c.displayName=l,c.WrappedComponent=n,c}(h);return a(c,n,{})}}(e,r);case n.KG.Subscription:return function(e,r){void 0===r&&(r={});var t=(0,n.K3)(e),l=r.options,c=void 0===l?u:l,d=r.skip,s=void 0===d?p:d,v=r.alias,g=void 0===v?"Apollo":v,m=r.shouldResubscribe,y=c;"function"!=typeof y&&(y=function(){return c});var w,k=s;return"function"!=typeof k&&(k=function(){return s}),function(n){var l="".concat(g,"(").concat(b(n),")"),c=function(a){function c(e){var r=a.call(this,e)||this;return r.state={resubscribe:!1},r}return(0,o.__extends)(c,a),c.prototype.updateResubscribe=function(e){this.setState({resubscribe:e})},c.prototype.componentDidUpdate=function(e){var r=!(!m||!m(e,this.props));this.state.resubscribe!==r&&this.updateResubscribe(r)},c.prototype.render=function(){var a=this,c=this.props,d=k(c),s=d?Object.create(null):y(c);return!d&&!s.variables&&t.variables.length>0&&(s.variables=f(t,c)),i.createElement(x,(0,o.__assign)({},s,{displayName:l,skip:d,subscription:e,shouldResubscribe:this.state.resubscribe}),(function(e){var t,l,s=e.data,u=(0,o.__rest)(e,["data"]);if(r.withRef&&(a.withRef=!0,c=Object.assign({},c,{ref:a.setWrappedInstance})),d)return i.createElement(n,(0,o.__assign)({},c,{}));var p=Object.assign(u,s||{}),b=r.name||"data",f=((t={})[b]=p,t);if(r.props){var h=((l={})[b]=p,l.ownProps=c,l);f=w=r.props(h,w)}return i.createElement(n,(0,o.__assign)({},c,f))}))},c.displayName=l,c.WrappedComponent=n,c}(h);return a(c,n,{})}}(e,r);case n.KG.Query:default:return function(e,r){void 0===r&&(r={});var t=(0,n.K3)(e),l=r.options,c=void 0===l?u:l,s=r.skip,v=void 0===s?p:s,g=r.alias,m=void 0===g?"Apollo":g,y=c;"function"!=typeof y&&(y=function(){return c});var x,w=v;return"function"!=typeof w&&(w=function(){return v}),function(n){var l="".concat(m,"(").concat(b(n),")"),c=function(a){function c(){return null!==a&&a.apply(this,arguments)||this}return(0,o.__extends)(c,a),c.prototype.render=function(){var a=this,c=this.props,s=w(c),u=s?Object.create(null):(0,o.__assign)({},y(c));return!s&&!u.variables&&t.variables.length>0&&(u.variables=f(t,c)),i.createElement(d,(0,o.__assign)({},u,{displayName:l,skip:s,query:e}),(function(e){var l,d,u=e.client,p=e.data,b=(0,o.__rest)(e,["client","data"]);if(r.withRef&&(a.withRef=!0,c=Object.assign({},c,{ref:a.setWrappedInstance})),s)return i.createElement(n,(0,o.__assign)({},c,{}));var f=Object.assign(b,p||{});u.maybeWrapResultInProxy&&(f=u.maybeWrapResultInProxy(f,t.name));var h=r.name||"data",v=((l={})[h]=f,l);if(r.props){var g=((d={})[h]=f,d.ownProps=c,d);v=x=r.props(g,x)}return i.createElement(n,(0,o.__assign)({},c,v))}))},c.displayName=l,c.WrappedComponent=n,c}(h);return a(c,n,{})}}(e,r)}}x.propTypes={subscription:l.object.isRequired,variables:l.object,children:l.func,onSubscriptionData:l.func,onData:l.func,onSubscriptionComplete:l.func,onComplete:l.func,shouldResubscribe:l.oneOfType([l.func,l.bool])}}}]);