PageSourceSearch

https://support.roku.com/_next/static/chunks/5787-804c0c3f1539fdb8.js

js roku.com collected 2026-09-24 07:02:17 UTC 13,304 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5787],{44305:(t,e,n)=>{n.d(e,{e:()=>r});let r=t=>{var e;let{templateString:n,data:r}=t,l=null!=(e=n.match(/{{\s*[\w.]+\s*}}/g))?e:[],i=[],o=l.reduce((t,e)=>{var n,l;let o=e.replace(/{{\s*|\s*}}/g,""),s=o.split(".").reduce((t,e)=>t&&"object"==typeof t&&!Array.isArray(t)&&e in t?t[e]:t&&"object"==typeof t&&Array.isArray(t)&&t.length>=parseInt(e,10)-1?t[parseInt(e,10)]:(i.push(e),""),r);return t.replace(e,((t,e)=>{let n={updated_at:t=>"".concat(new Date(t).toLocaleDateString()," ").concat(new Date(t).toLocaleTimeString())};return n[t]?n[t](e):e})(null!=(n=o.split(".").pop())?n:o,null!=(l=null==s?void 0:s.toString())?l:""))},n);return i.length>0&&console.warn("There were missing data while rendering template string ".concat(n," on keys:"),i),o}},95787:(t,e,n)=>{n.d(e,{FaqArticle:()=>ti});var r,l={};n.r(l),n.d(l,{StyledTab:()=>J,StyledTabAnchor:()=>K,StyledTabsContainer:()=>Z});var i={};n.r(i),n.d(i,{StyledTab:()=>$,StyledTabAnchor:()=>tt,StyledTabsContainer:()=>Q});var o=n(54568),s=n(27314),a=n(67918),c=n(84141),h=n(96442),d=n(7620),p=n(72595),u=n(34879),g=n(79045),m=n(19295),x=n(88830),b=n(87151),f=n(33696),y=n(66020),j=n(76246),S=n(88110),A=n(39497),v=n(20373),_=n(77083);let E=(0,S.Ay)(t=>{let{children:e,href:n,variant:r,...l}=t;return(0,o.jsx)(y.A,{role:"link",href:n,variant:r,...l,children:e})})(t=>{let{theme:e}=t;return{margin:e.spacing(3,0,3,0),[e.breakpoints.down("tablet")]:{marginTop:3},width:"100%",fontWeight:e.typography.fontWeightMedium}}),T=(0,S.Ay)(v.default)(t=>{let{theme:e}=t;return{fontSize:e.typography.body1.fontSize,fontWeight:e.typography.fontWeightRegular}});function W(t){var e;let{ctaGroup:n,rteContent:r}=t,l=(0,A.A)(),i=(0,_.A)(l.breakpoints.down("tablet")),{url:a,short_title:c}=null!=(e=n.cta[0])?e:{};return(0,o.jsxs)(s.default,{sx:{display:"flex",flexDirection:i?"column":"row",alignItems:"stretch",px:5,pb:5,gap:2*!i},children:[(0,o.jsxs)(s.default,{sx:{flex:i?1:"0 0 40%",pr:0,display:"flex",flexDirection:"column"},children:[(0,o.jsx)(T,{sx:{fontWeight:l.typography.fontWeightMedium,mb:3},children:n.header}),a&&c&&(0,o.jsx)(E,{href:a,variant:"outlined",children:c})]}),i?(0,o.jsx)(o.Fragment,{children:(0,o.jsx)(j.A,{orientation:"horizontal",sx:{borderColor:l.palette.grey[300],width:"100%",marginBottom:5,marginTop:5}})}):(0,o.jsx)(j.A,{orientation:"vertical",flexItem:!0,sx:{mx:4,alignSelf:"stretch",borderColor:l.palette.grey[300],borderRightWidth:1}}),(0,o.jsx)(s.default,{sx:{flex:1,pl:0},children:(0,o.jsx)(g.d,{entry:r})})]})}let w=t=>{let{call_to_action:e,card_title:n,content:r}=t;return(0,o.jsxs)(f.ee,{children:[(0,o.jsx)(f.aR,{card_title:n}),(0,o.jsx)(W,{ctaGroup:e,rteContent:r})]})};var M=n(90686),k=n(95147);let C=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=0xdeadbeef^e,r=0x41c6ce57^e;for(let e=0,l;e<t.length;e++)n=Math.imul(n^(l=t.charCodeAt(e)),0x9e3779b1),r=Math.imul(r^l,0x5f356495);return n=Math.imul(n^n>>>16,0x85ebca6b)^Math.imul(r^r>>>13,0xc2b2ae35),0x100000000*(2097151&(r=Math.imul(r^r>>>16,0x85ebca6b)^Math.imul(n^n>>>13,0xc2b2ae35)))+(n>>>0)},B=t=>t.replace(/[^a-zA-Z0-9]/g,"-").toLowerCase(),I=t=>B(t),H=t=>{let e=I(t);return{tab_anchor_text:t,hash:C(B(t)).toString(16),anchor:e}},R=(0,S.Ay)(t=>{let{children:e,...n}=t;return(0,o.jsx)(s.default,{component:"section",...n,children:e})})(t=>{let{theme:e}=t;return{marginTop:e.spacing(10),marginBottom:e.spacing(10),fontWeight:e.typography.fontWeightLight}}),N=(0,S.Ay)(t=>{let{children:e,...n}=t;return(0,o.jsx)(v.default,{component:"h2",...n,children:e})})(t=>{let{theme:e}=t;return{fontSize:e.typography.h5.fontSize,fontWeight:e.typography.fontWeightMedium,[e.breakpoints.down("tablet")]:{scrollMarginTop:"".concat(String(54),"px")}}}),z=(0,S.Ay)(j.A)(t=>{let{theme:e}=t;return{margin:e.spacing(3,0,5,0),borderColor:e.palette.divider,borderWidth:"1px 0 0 0"}}),L=t=>{let{title:e,short_title:n,content:r,className:l}=t,i=H(n||e);return(0,o.jsxs)(R,{className:l,"data-testid":k.p.contentSection,children:[(0,o.jsx)(N,{id:I(i.tab_anchor_text),children:e}),(0,o.jsx)(z,{}),(0,o.jsx)(g.d,{entry:r})]})};var P=n(44305);let D=t=>{let{last_updated_template_text:e,entry:n}=t,r=(0,A.A)();return(0,o.jsx)(v.default,{"data-testid":k.p.lastUpdated,sx:{paddingTop:r.spacing(5)},color:"text.secondary",suppressHydrationWarning:!0,children:(0,o.jsx)(P.e,{templateString:e,data:{entry:n}})})},F=(0,S.Ay)(s.default)(t=>{let{theme:e}=t;return{marginBottom:e.spacing(3)}}),G=(0,S.Ay)(t=>{let{children:e,...n}=t;return(0,o.jsx)(v.default,{component:"h1",variant:"h2",...n,children:e})})();function O(t){let{heading:e,className:n}=t;return(0,o.jsx)(F,{className:n,children:(0,o.jsx)(G,{children:e})})}var V=n(85787);class U{setScrollEventSource(t){if(this.scrollEventSource=t,this.scrollSubscription&&this.scrollSubscription.unsubscribe(),"undefined"!=typeof Window&&t instanceof Window||"undefined"!=typeof HTMLElement&&t instanceof HTMLElement){this.scrollElementsMetrics.container.height=t instanceof Window?t.innerHe
1ight:t.getBoundingClientRect().height,this.scrollElementsMetrics.content.height=t instanceof Window?document.documentElement.scrollHeight:t.scrollHeight;let e=(0,V.fromEvent)(t,"scroll").pipe((0,V.throttleTime)(300,void 0,{trailing:!0}));this.scrollSubscription=e.subscribe(e=>{this.scrollElementsMetrics.scroll.top=t instanceof Window?document.documentElement.scrollTop:t.scrollTop,this.pauseEvents||this.scrollSubject.next(e)}),this.scrollPaddingTop=t instanceof HTMLElement?parseFloat(window.getComputedStyle(t).scrollPaddingTop.replace("px","")):0}}setTabAnchors(t){this.tabAnchors=[...t],this.refreshMeasurements()}refreshMeasurements(){this.setScrollEventSource(this.scrollEventSource)}constructor(t){this.scrollPaddingTop=0,this.pauseEvents=!1,this.scrollEventSource=null,this.scrollSubscription=null,this.scrollSubject=new V.Subject,this.subscriptions=new Map,this.tabAnchors=[],this.scrollElementsMetrics={container:{height:0},content:{height:0},scroll:{top:0}},this.calculateActiveAnchor=()=>{let{container:{height:t},content:{height:e},scroll:{top:n}}=this.scrollElementsMetrics;if(t<1||e<1||n<0||this.tabAnchors.length<1)return 0;let r=e-2*t,l=n<r?0:(n-r)/t*t,i=0;return this.tabAnchors.forEach((t,e)=>{var n,r;(null!=(r=null==(n=document.querySelector("#".concat(t.anchor)))?void 0:n.getBoundingClientRect())?r:new DOMRect).y<l+(this.scrollPaddingTop+54+10)&&(i=e)}),i},this.addScrollHandler=t=>{let e=this.scrollSubject.subscribe(t);this.subscriptions.set(t,e)},this.removeScrollHandler=t=>{if(this.subscriptions.has(t)){var e;null==(e=this.subscriptions.get(t))||e.unsubscribe(),this.subscriptions.delete(t)}},this.pauseEventsWhileBrowserScrolls=()=>{this.scrollEventSource&&(this.pauseEvents=!0,(0,V.fromEvent)(this.scrollEventSource,"scroll").pipe((0,V.debounceTime)(100)).pipe((0,V.first)()).subscribe(()=>{this.pauseEvents=!1}),this.scrollEventSource.dispatchEvent(new Event("scroll")))},this.getScrollEventSource=()=>this.scrollEventSource,this.getScrollElementsMetrics=()=>this.scrollElementsMetrics,this.setScrollEventSource(t)}}null!=(r=globalThis).articleScrollWatch||(r.articleScrollWatch=new U(window));var X=n(24646),q=n(58317),Y=n(52114);let Z=(0,S.Ay)(X.default)(t=>{let{theme:e}=t;return{display:"flex-column",margin:0,paddingBottom:e.spacing(8),backgroundColor:e.palette.background.paper}}),J=(0,S.Ay)(q.default)(t=>{let{theme:e,isActive:n}=t;return{display:"flex",padding:e.spacing(3,4),margin:0,width:"auto",borderLeft:n?"2px solid ".concat(e.palette.primary.main):"1px solid ".concat(e.palette.grey[300])}}),K=(0,S.Ay)(Y.c)(t=>{let{theme:e,isActive:n}=t;return{textDecoration:"none",color:"".concat(e.palette.text.primary,"!important"),fontWeight:n?e.typography.fontWeightMedium:e.typography.fontWeightRegular,"&:hover":{textDecoration:"none",fontWeight:e.typography.fontWeightMedium},"&:focus":{padding:0}}}),Q=(0,S.Ay)(X.default)(t=>{let{theme:e}=t;return{overflowX:"auto",overflowY:"hidden",textWrap:"nowrap",zIndex:1e3,"&::-webkit-scrollbar":{display:"none"},[e.breakpoints.up("tablet")]:{display:"none"},padding:0,margin:0,marginBottom:e.spacing(8),backgroundColor:e.palette.background.paper}}),$=(0,S.Ay)(q.default)(t=>{let{theme:e,isActive:n}=t;return{display:"inline-block",padding:e.spacing(3,4),margin:0,width:"auto",borderBottom:n?"2px solid ".concat(e.palette.primary.main):"1px solid ".concat(e.palette.grey[300])}}),tt=(0,S.Ay)(Y.c)(t=>{let{theme:e,isActive:n}=t;return{textDecoration:"none",color:"".concat(e.palette.text.primary,"!important"),fontWeight:n?e.typography.fontWeightMedium:e.typography.fontWeightRegular,"&:hover":{textDecoration:"none",fontWeight:e.typography.fontWeightMedium},"&:focus":{padding:0}}}),te=t=>{let{isActive:e,tabAnchor:n,onClick:r,components:{StyledTab:l,StyledTabAnchor:i},breakpoint:s,scrollParentRef:a}=t,c=(0,d.useRef)(null);return(0,d.useEffect)(()=>{let t=c.current,n=a.current;e&&t&&function(t){return t instanceof HTMLUListElement&&"scrollTo"in t}(n)&&"mobile"===s&&t.scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"})},[e,a,s]),(0,o.jsx)(l,{isActive:e,ref:c,children:(0,o.jsx)(i,{isActive:e,href:"#".concat(n.anchor),
1className:"tab-anchor",onClick:r,children:n.tab_anchor_text},n.hash)})},tn=t=>{let{breakpoint:e,tabAnchors:n,heading:r}=t,a=(0,A.A)(),c=(0,b.j)(),h=(0,d.useRef)(null),{StyledTab:p,StyledTabAnchor:u,StyledTabsContainer:g}="mobile"===e?i:l,[m,f]=(0,d.useState)(0);return(0,d.useEffect)(()=>{let t=globalThis.articleScrollWatch;if(!t)return;t.setTabAnchors(n);let e=()=>{let e=t.calculateActiveAnchor();e!==m&&f(e)};return t.addScrollHandler(e),()=>{t.removeScrollHandler(e)}},[n,m]),n.length>0?(0,o.jsxs)(s.default,{component:"nav","aria-label":r,"data-testid":k.p.tabAnchors,sx:{top:0,position:"sticky",zIndex:10,..."mobile"!==e&&{paddingTop:a.spacing(5)}},children:["mobile"!==e&&(0,o.jsx)(v.default,{variant:"h6",component:"h2",fontWeight:a.typography.fontWeightBold,sx:{marginBottom:a.spacing(4)},children:r}),(0,o.jsx)(g,{ref:h,disablePadding:!0,children:n.map((t,n)=>(0,o.jsx)(te,{tabAnchor:t,isActive:n===m,onClick:()=>{articleScrollWatch&&articleScrollWatch.pauseEventsWhileBrowserScrolls(),f(n),c({event:x.BX.APP_EVENT,class:x.zC.ARTICLE_TAB_ANCHOR,action:x.hB.OPEN_SECTION_FROM_ARTICLE_PAGE,sectionIndex:n,sectionId:t.anchor,sectionTitle:t.tab_anchor_text})},components:{StyledTab:p,StyledTabAnchor:u},breakpoint:e,scrollParentRef:h},t.hash))})]}):null},tr=(0,h.default)(()=>n.e(7413).then(n.bind(n,87413)),{loadableGenerated:{webpack:()=>[87413]},ssr:!1});function tl(t){let{entry:e}=t;return(0,o.jsx)(m.Highlight,{path:"subtitle",children:e&&(0,o.jsx)(s.default,{className:"cs-entry-page-content",sx:{paddingBottom:2,"& > p:not(:last-child)":{display:"block",marginBlockEnd:"1em !important"},"& > p:not(:first-child)":{display:"block",marginBlockStart:"1em !important"}},children:(0,o.jsx)(g.d,{entry:e})})})}function ti(t){var e,n,r;let{entry:l,alert:i=null,locale:s="en-us"}=t,h=l.content_sections.map(t=>H(t.short_title)),g=(0,b.j)();return(0,d.useEffect)(()=>{g({event:x.BX.APP_EVENT,action:x.hB.VIEW_ARTICLE_PAGE,class:x.zC.ARTICLE_PAGE,categoryId:l.parent_page[0].url.replace(/^.*\//,"")||l.parent_page[0].url,articleId:l.url.replace(/^.*\/article\//,"")||l.url,articleTitle:l.title,category:l.parent_page[0].short_title})},[l.url]),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(a.A,{container:!0,sx:{justifyContent:"center",alignItems:"flex-start",padding:c.NI.spacing(0,5,10),maxWidth:"1200px"},children:[(0,o.jsxs)(a.A,{size:12,children:[(0,o.jsx)(p.F,{alert:i,locale:s,overrideStyles:{paddingRight:0,paddingLeft:0,paddingBottom:0}}),(0,o.jsx)(u.B,{short_title:l.parent_page[0].short_title,url:l.parent_page[0].url,parent_page:null!=(r=l.parent_page[0].parent_page)?r:[]})]}),(0,o.jsxs)(a.A,{container:!0,spacing:"100px",size:12,children:[(0,o.jsxs)(a.A,{size:{mobile:12,tablet:8},children:[(0,o.jsx)(m.Highlight,{path:"title",children:(0,o.jsx)(O,{heading:l.title,className:"cs-entry-page-content"})}),!!(null==(e=l.subtitle)?void 0:e.children.length)&&(0,o.jsx)(tl,{entry:l.subtitle}),null==(n=l.cards)?void 0:n.map((t,e)=>(0,o.jsx)("div",{children:(0,o.jsx)(w,{...t})},"".concat(t.card_title.title,"-").concat(e.toString()))),(0,o.jsx)(tn,{breakpoint:"mobile",tabAnchors:h,heading:l.titled_section_tab_anchors[0].short_title}),(0,o.jsx)(m.Highlight,{path:"content_sections",children:l.content_sections.map((t,e)=>(0,o.jsx)(L,{title:t.title,short_title:t.short_title,content:t.content,className:"cs-entry-page-content"},"".concat(e.toString(),"-").concat(t.short_title)))}),(0,o.jsx)(D,{last_updated_template_text:l.last_updated_template_text,entry:l}),(0,o.jsx)(m.Highlight,{path:"closing_sections",children:(0,o.jsx)(M.D,{articleTitle:l.title,articleUrl:l.url,closingSections:l.closing_sections,locale:s})})]}),(0,o.jsx)(a.A,{size:{mobile:0,tablet:4},sx:{display:{mobile:"none",tablet:"block"},alignSelf:"stretch"},children:(0,o.jsx)(tn,{heading:l.titled_section_tab_anchors[0].short_title,breakpoint:"desktop",tabAnchors:h})})]}),(0,o.jsx)(a.A,{size:12,"data-testid":k.p.needMoreHelp,sx:{marginTop:c.NI.spacing(10),padding:{tablet:c.NI.spacing(25,0)}},children:(0,o.jsx)(m.Highlight,{path:"closing_sections",children:(0,o.jsx)(M.FullWidthClosingSections,{closingSections:l.closing_sections})})})]}),(0,o.jsx)(tr,{})]})}}}]);

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.