1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="85a2a5d6-2e23-4138-a75b-7cb42df96820",e._sentryDebugIdIdentifier="sentry-dbid-85a2a5d6-2e23-4138-a75b-7cb42df96820")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2678],{1519:(e,t,o)=>{o.d(t,{E:()=>a});var r=o(57074),l=o(35677);let a=(0,r.I)(l.E,{name:"Text",color:"$textPrimary",fontFamily:"$body",variants:{variant:{heading1:{fontFamily:"$heading",fontSize:"$6",fontWeight:"bold",lineHeight:"$6",color:"$textPrimary"},heading2:{fontFamily:"$heading",fontSize:"$5",fontWeight:"600",lineHeight:"$5",color:"$textPrimary"},heading3:{fontFamily:"$heading",fontSize:"$4",fontWeight:"600",lineHeight:"$4",color:"$textPrimary"},body:{fontFamily:"$body",fontSize:"$3",lineHeight:"$3",color:"$textPrimary"},sub:{fontFamily:"$body",fontSize:"$2",lineHeight:"$2",color:"$textSecondary"},label:{fontFamily:"$body",fontSize:"$2",fontWeight:"500",color:"$textSecondary",textTransform:"uppercase",letterSpacing:1},caption:{fontFamily:"$body",fontSize:"$1",lineHeight:"$1",color:"$textMuted"}},weight:{bold:{fontWeight:"700"},semibold:{fontWeight:"600"},medium:{fontWeight:"500"},regular:{fontWeight:"400"}},align:{center:{textAlign:"center"},left:{textAlign:"left"},right:{textAlign:"right"}},status:{primary:{color:"$textPrimary"},secondary:{color:"$textSecondary"},muted:{color:"$textMuted"},inverted:{color:"$textInverted"},danger:{color:"$brandDanger"},success:{color:"$green10"},brand:{color:"$brand"}}},defaultVariants:{variant:"body"}})},16034:(e,t,o)=>{o.d(t,{G:()=>i});var r=o(56386),l=o(94245),a=o(59055);let n={flags:{},loaded:!1},i=(0,l.v)()((0,a.lt)((e,t)=>({...n,setFlags:t=>e({flags:Object.fromEntries(t.map(e=>[e.key,e.enabled])),loaded:!0},!1,"setFlags"),isEnabled:e=>t().flags[e]??!1,reset:()=>e(n,!1,"reset")}),{name:"FeatureFlagsStore"}));(0,r.w)(()=>i.getState().reset())},22678:(e,t,o)=>{o.d(t,{P:()=>I});var r=o(54568),l=o(41756),a=o(30770),n=o(88359),i=o(86694),s=o(99835),d=o(82487),c=o(29136),u=o(1519),g=o(31405),$=o(7620);function b(e){let{title:t}=e,{t:o}=(0,i.Bd)(),l=(0,s.jm)(),[n,b]=(0,$.useState)("");return(0,r.jsxs)(a.lW,{height:48,alignItems:"center",justifyContent:"space-between",paddingHorizontal:"$2",gap:"$4",borderBottomWidth:1,borderColor:"$borderSubtle",backgroundColor:"$background",children:[(0,r.jsxs)(a.lW,{alignItems:"center",gap:"$3",flex:1,flexBasis:"auto",children:[(0,r.jsx)(c.K,{icon:d.n,iconSize:18,onPress:()=>l.pushOrg("/home"),"aria-label":o("common.back")}),(0,r.jsxs)(a.lW,{alignItems:"center",gap:"$2",children:[(0,r.jsx)(u.E,{fontSize:"$3",color:"$textMuted",children:o("settings.breadcrumb")}),(0,r.jsx)(u.E,{fontSize:"$3",color:"$textMuted",opacity:.5,children:"/"}),(0,r.jsx)(u.E,{fontSize:"$3",fontWeight:"600",color:"$textPrimary",children:t})]})]}),(0,r.jsx)(a.Se,{width:180,children:(0,r.jsx)(g.D,{compact:!0,value:n,onChangeText:b,placeholder:o("settings.searchPlaceholder")})})]})}let h=(0,o(57074).I)(a.lW,{name:"NavItem",role:"button",paddingVertical:"$2",paddingHorizontal:"$3",borderRadius:"$4",borderWidth:0,alignItems:"center",gap:"$3",cursor:"pointer",backgroundColor:"transparent",hoverStyle:{backgroundColor:"$bgHover"},pressStyle:{backgroundColor:"$bgHover",opacity:.8},variants:{active:{true:{backgroundColor:"$bgHover"}},disabled:{true:{cursor:"not-allowed",opacity:.5,hoverStyle:{},pressStyle:{}}}}});function p(e){let{label:t,icon:o,active:l=!1,disabled:a=!1,onPress:n}=e;return(0,r.jsxs)(h,{"aria-label":t,"aria-disabled":a,"aria-current":l?"page":void 0,active:l&&!a,disabled:a,onPress:a?void 0:n,children:[o&&(0,r.jsx)(o,{size:18,color:l&&!a?"$textPrimary":"$textSecondary"}),(0,r.jsx)(u.E,{variant:"body",fontWeight:"400",color:l&&!a?"$textPrimary":"$textSecondary",flex:1,flexBasis:"auto",children:t})]})}var f=o(54278),y=o(34049),m=o(8585),v=o(80407),x=o(74923),S=o(32645),k=o(43641),C=o(77455),w=o(25956),z=o(18935),W=o(8684);let j=[{section:"account",titleKey:"settings.sections.account",items:[{slug:"profile",labelKey:"settings.nav.profile",icon:z.K},{slug:"security",labelKey:"settings.nav.security",icon:k.e},{slug:"authorized-apps",labelKey:"settings.nav.authorizedApps",icon:y.E}]},{section:"workspace",titleKey:"settings.sections.workspace",items:[{slug:"general",labelKey:"settings.nav.general",icon:S.w},{slug:"members",labelKey:"settings.nav.members",icon:W.z},{slug:"sso",labelKey:"settings.nav.authentication",icon:x.c},{slug:"brand-kit",labelKey:"settings.nav.brandKit",icon:C.s},{slug:"billing",labelKey:"settings.nav.billing",icon:v.y}]},{section:"data",titleKey:"settings.sections.data",items:[{slug:"tv-displays",labelKey:"settings.nav.tvDisplays",icon:w.Tv}]},{section:"developer",titleKey:"settings.sections.developer",items:[{slug:"api-keys",labelKey:"settings.nav.apiKeys",icon:m.C}]}];function H(e){return`/settings/${e}`}function K(e){let{active:t}=e,{t:o}=(0,i.Bd)(),l=(0,s.jm)(),n=(0,s.Ni)(),d=(0,f.u)("BILLING_ENABLED"),c=(0,f.u)("BRAND_KIT");return(0,r.jsx)(a.Se,{width:250,padding:"$3",gap:"$4",borderRightWidth:1,borderColor:"$borderSubtle",overflow:"scroll",children:j.map(e=>(0,r.jsxs)(a.Se,{gap:"$1",children:[(0,r.jsx)(u.E,{fontSize:11,fontWeight:"500",color:"$textMuted",opacity:.6,letterSpacing:.6,paddingHorizontal:"$3",paddingBottom:"$1",children:o(e.titleKey,{defaultValue:e.titleKey})}),e.items.map(e=>{let{slug:a,labelKey:i}=e;return("billing"!==a||d)&&("brand-kit"!==a||c)?(0,r.jsx)(p,{label:o(i,{defaultValue:i}),active:n===H(a)||t===a&&"/settings"===n,onPress:()=>l.pushOrg(H(a))},a):null})]},e.section))})}function I(e){let{active:t,title:o,children:i,padded:s=!0}=e;return(0,r.jsxs)(a.Se,{flex:1,flexBasis:"auto",backgroundColor:"$background",children:["web"===l.A.OS?(0,r.jsx)(b,{title:o}):null,(0,r.jsxs)(a.lW,{flex:1,flexBasis:"auto",overflow:"hidden",children:["web"===l.A.OS?(0,r.jsx)(K,{active:t}):null,(0,r.jsx)(n.B,{flex:1,flexBasis:"auto",backgroundColor:"$background",children:(0,r.jsx)(a.Se,{maxWidth:900,marginHorizontal:"auto",width:"100%",paddingTop:"$12",paddingHorizontal:s?"$2":0,paddingBottom:s?"$6":0,gap:s?"$5":0,children:i})})]})]})}Object.fromEntries(j.flatMap(e=>e.items.map(e=>[e.slug,e.labelKey])))},29136:(e,t,o)=>{o.d(t,{K:()=>c});var r=o(54568),l=o(92681),a=o(39714),n=o(57074),i=o(53363);let s=(0,n.I)(i.$,{name:"IconButton",backgroundColor:"transparent",borderRadius:"$5",alignItems:"center",justifyContent:"center",borderWidth:0,padding:0,color:"$color",hoverStyle:{backgroundColor:"$bgHover"},pressStyle:{backgroundColor:"$bgHover",opacity:.8,scale:.95},disabledStyle:{opacity:.5,cursor:"not-allowed"},variants:{variant:{ghost:{backgroundColor:"transparent"},filled:{backgroundColor:"$bgHover",color:"$white",hoverStyle:{backgroundColor:"$bgHover",opacity:.9}},primary:{backgroundColor:"$brand",color:"$white",hoverStyle:{backgroundColor:"$brand",opacity:.9}},onDark:{backgroundColor:"transparent",color:"$color",hoverStyle:{backgroundColor:"transparent",color:"$white"},pressStyle:{backgroundColor:"transparent",color:"$white",opacity:.8,scale:.95}},tableAdd:{backgroundColor:"$blue9",borderRadius:"$full",color:"$white",hoverStyle:{backgroundColor:"$blue10"},pressStyle:{backgroundColor:"$blue10",opacity:.9,scale:.95}},tableDelete:{backgroundColor:"$red9",borderRadius:"$full",color:"$white",hoverStyle:{backgroundColor:"$red10"},pressStyle:{backgroundColor:"$red10",opacity:.9,scale:.95}}},size:{$2:{width:"$4",height:"$4",fontSize:"$2"},$small:{width:"$8",height:"$8",fontSize:"$3"},$9:{width:"$9",height:"$9",fontSize:"$3"},$medium:{width:"$10",height:"$10",fontSize:"$4"},$large:{width:"$12",height:"$12",fontSize:"$5"}},circular:{true:{borderRadius:"$full"}}},defaultVariants:{variant:"ghost",size:"$small",circular:!1}}),d={ghost:"$color",onDark:"$color",filled:"$white",primary:"$white",tableAdd:"$white",tableDelete:"$white"},c=s.styleable((e,t)=>{let{icon:o,iconSize:n=18,title:i,color:c,variant:u,...g}=e,$=(0,l.D)(),b=c??d[u]??"$color",h="string"==typeof b&&b.startsWith("$")?(0,a.dn)($[b.slice(1)]):b;return(0,r.jsx)(s,{ref:t,color:c,variant:u,...g,children:(0,r.jsx)(o,{size:n,color:h})})})},31405:(e,t,o)=>{o.d(t,{D:()=>s});var r=o(54568),l=o(94030),a=o(60864),n=o(30770),i=o(81176);function s(e){let{value:t,onChangeText:o,placeholder:s="Search...",onClear:d,compact:c=!1,showSearchIcon:u=!0,autoFocus:g,onSubmitEditing:$}=e,b=c?14:18;return(0,r.jsxs)(n.lW,{backgroundColor:"$color5",borderRadius:"$5",height:c?30:"$10",alignItems:"center",paddingHorizontal:c?"$2":"$3",gap:c?"$1.5":"$2",width:"100%",children:[u&&(0,r.jsx)(l.v,{size:b,color:"$color10"}),(0,r.jsx)(i.p,{flex:1,flexBasis:"auto",borderWidth:0,backgroundColor:"transparent",paddingHorizontal:"$1",fontSize:c?"$2":"$4",placeholder:s,value:t,onChangeText:o,autoFocus:g,onSubmitEditing:$,height:"100%",focusStyle:{outlineWidth:0,borderWidth:0,backgroundColor:"transparent",shadowOpacity:0},hoverStyle:{borderColor:"transparent",backgroundColor:"transparent"}}),t.length>0&&(0,r.jsx)(n.lW,{onPress:()=>{o(""),null==d||d()},cursor:"pointer",pressStyle:{opacity:.7},hitSlop:8,"aria-label":"Clear search",role:"button",children:(0,r.jsx)(a.J,{size:b,color:"$white"})})]})}},54278:(e,t,o)=>{o.d(t,{h:()=>a,u:()=>l});var r=o(16034);function l(e){return(0,r.G)(t=>t.flags[e]??!1)}function a(){return{flags:(0,r.G)(e=>e.flags),loaded:(0,r.G)(e=>e.loaded)}}},81176:(e,t,o)=>{o.d(t,{p:()=>a});var r=o(57074),l=o(54862);let a=(0,r.I)(l.p,{name:"Input",borderWidth:0,backgroundColor:"$color5",borderRadius:"$5",paddingVertical:"$3",color:"$color",placeholderTextColor:"$textMuted",focusStyle:{outlineWidth:0,backgroundColor:"$color6"},hoverStyle:{backgroundColor:"$color6"},variants:{size:{$small:{height:"$8",fontSize:"$2",paddingHorizontal:"$3",borderRadius:"$5"},$medium:{height:"$10",fontSize:"$4",paddingHorizontal:"$5",borderRadius:"$5"},$large:{height:"$12",fontSize:"$5",paddingHorizontal:"$6",borderRadius:"$5"}},error:{true:{borderWidth:1,borderColor:"$brandDanger",backgroundColor:"$errorBackgroun
1d",focusStyle:{borderColor:"$brandDanger",borderWidth:1,outlineColor:"$brandDanger",outlineWidth:2,outlineStyle:"solid",outlineOffset:1,backgroundColor:"$errorBackground"}},false:{borderWidth:0,borderColor:"transparent",backgroundColor:"$color5",focusStyle:{outlineWidth:0,backgroundColor:"$color6"}}}},defaultVariants:{size:"$medium",error:!1}})},82487:(e,t,o)=>{o.d(t,{n:()=>r.n});var r=o(70540)},99835:(e,t,o)=>{o.d(t,{Ni:()=>s,jm:()=>u});var r=o(79748),l=o(7620),a=o(41756);let n=new Set(["login","register","auth","logout","home","explore","blog","docs","share","tv","w","p","i","accept-invitation","api","_next","en","ru","settings","templates"]);function i(){let e=(0,r.usePathname)();if(!e)return;let t=e.split("/").filter(Boolean)[0];if(!(!t||n.has(t)))return t}function s(){let e=(0,r.usePathname)()??"",t=i();if(!t)return e;let o=e.replace(`/${t}`,"");return""===o?"/":o}function d(e,t){if(!e||t.startsWith("http://")||t.startsWith("https://")||t.startsWith(`/${e}/`)||t===`/${e}`)return t;let o=t.startsWith("/")?t:`/${t}`;return`/${e}${o}`}function c(e,t,o){var r;let l=o?`#${o}`:"";if("web"!==a.A.OS)return`/d/${e.id}${l}`;let n=(null==(r=e.organization)?void 0:r.slug)??t;return n?`/${n}/d/${e.id}${l}`:`/d/${e.id}${l}`}function u(){let e=(0,r.useRouter)(),t=i(),o=(0,l.useCallback)(o=>{e.push(d(t,o))},[e,t]),a=(0,l.useCallback)(o=>{e.replace(d(t,o))},[e,t]),n=(0,l.useCallback)((o,r)=>{e.push(c(o,t,null==r?void 0:r.hash))},[e,t]),s=(0,l.useCallback)((o,r)=>{e.replace(c(o,t,null==r?void 0:r.hash))},[e,t]);return{push:e.push,replace:e.replace,back:e.back,pushOrg:o,replaceOrg:a,pushDashboard:n,replaceDashboard:s,orgSlug:t}}}}]);
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.