PageSourceSearch

https://bravara.com/_next/static/chunks/pages/basketball-scoreboard/display-49fe28176c56e7e0.js

js bravara.com collected 2026-10-09 22:46:02 UTC 6,344 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5312],{19620:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/basketball-scoreboard/display",function(){return n(79346)}])},67516:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(67294),o=n(28964),i=n(44085);function a(){let{shouldBlockAnalytics:e,isLoading:t}=(0,i.U)();(0,r.useEffect)(()=>{if(t)return;let n=async()=>{try{await (0,o.B)(e)}catch(e){console.error("Failed to load analytics:",e)}};if("complete"===document.readyState){n();return}return window.addEventListener("load",n),()=>window.removeEventListener("load",n)},[e,t])}},79346:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return w}});var r=n(85893),o=n(75119),i=n(67516),a=n(67294),s=n(41664),c=n.n(s),l=n(4269),u=n.n(l),d=n(99155),h=n(67554),f=n(47592);function m(){let{state:e,now:t}=(0,h.Bl)(),[n,o]=(0,a.useState)(!1),[i,s]=(0,a.useState)(!1);(0,a.useEffect)(()=>{let e;let t=()=>{o(!1),clearTimeout(e),e=setTimeout(()=>o(!0),2500)};t(),window.addEventListener("mousemove",t),window.addEventListener("touchstart",t);let n=()=>s(!!document.fullscreenElement);return document.addEventListener("fullscreenchange",n),()=>{clearTimeout(e),window.removeEventListener("mousemove",t),window.removeEventListener("touchstart",t),document.removeEventListener("fullscreenchange",n)}},[]);let l=()=>{try{var e,t,n,r;document.fullscreenElement?document.exitFullscreen():null===(t=(e=document.documentElement).requestFullscreen)||void 0===t||null===(n=t.call(e))||void 0===n||null===(r=n.catch)||void 0===r||r.call(n,()=>{})}catch(e){}},m=()=>{window.close(),setTimeout(()=>{window.location.href="/basketball-scoreboard"},250)};return(0,r.jsxs)("div",{className:"".concat(u().theme," ").concat(u().display," ").concat(n?u().displayIdle:""),onDoubleClick:l,children:[(0,r.jsx)("div",{className:u().displayStage,children:e?(0,r.jsx)(d.Z,{state:e,now:t}):(0,r.jsxs)("div",{className:u().displayWait,children:[(0,r.jsx)("h1",{children:"No game on this device yet"}),(0,r.jsxs)("p",{children:["This window shows the game you are scoring in another tab or window of this browser. Open the ",(0,r.jsx)(c(),{href:"/basketball-scoreboard",children:"basketball scoreboard"}),", then press TV display."]})]})}),(0,r.jsxs)("div",{className:u().displayFoot,children:[(null==e?void 0:e.share)?(0,r.jsxs)("span",{children:["Follow live on your phone \xb7 ",(0,r.jsx)("b",{children:(0,f.LL)(e.share.id).replace(/^https?:\/\//,"")})]}):(0,r.jsxs)("span",{children:["Free basketball scoreboard \xb7 ",(0,r.jsx)("b",{children:"bravara.com/basketball-scoreboard"})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("button",{type:"button",onClick:l,children:i?"Exit full screen":"Full screen"}),(0,r.jsx)("button",{type:"button",onClick:m,children:"Close TV display"})]})]})]})}var p=n(61153);function w(){return(0,i.Z)(),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.Z,{headTitle:"Basketball Scoreboard TV Display | Bravara",metaDescription:"The TV display for the free Bravara basketball scoreboard.",canonicalUrl:(0,p.GR)("/basketball-scoreboard"),robots:"noindex,follow"}),(0,r.jsx)(m,{})]})}},28964:function(e,t,n){"use strict";n.d(t,{B:function(){return o},L:function(){return a}});let r=!1;async function o(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(r||e)return;r=!0;let t="GTM-PH5PZQH8",n=document.createElement("script");n.innerHTML="\n    (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n    new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\n    j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;
1j.src=\n    'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\n    })(window,document,'script','dataLayer','".concat(t,"');\n  "),document.head.appendChild(n);let o=document.createElement("noscript");o.innerHTML='<iframe src="https://www.googletagmanager.com/ns.html?id='.concat(t,'" height="0" width="0" style="display:none;visibility:hidden"></iframe>'),document.body.appendChild(o)}let i=["play","action","format","kind","level","muted","grade","score","schedule_grader_action","percent","seconds_watched","furthest_seconds","percent_watched","duration","end_reason"];function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=String(e).trim().toLowerCase().replace(/[^a-z0-9]+/g,"_").replace(/^_+|_+$/g,"").slice(0,40),r=Object.fromEntries(i.map(e=>[e,void 0]));window.dataLayer=window.dataLayer||[],window.dataLayer.push({...r,...t,event:"ga4_event",ga4_event_name:n})}},11163:function(e,t,n){e.exports=n(96885)},34155:function(e){var t,n,r,o=e.exports={};function i(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var c=[],l=!1,u=-1;function d(){l&&r&&(l=!1,r.length?c=r.concat(c):u=-1,c.length&&h())}function h(){if(!l){var e=s(d);l=!0;for(var t=c.length;t;){for(r=c,c=[];++u<t;)r&&r[u].run();u=-1,t=c.length}r=null,l=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function m(){}o.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new f(e,t)),1!==c.length||l||s(h)},f.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(e){return[]},o.binding=function(e){throw Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw Error("process.chdir is not supported")},o.umask=function(){return 0}}},function(e){e.O(0,[3996,5119,9155,7554,9774,2888,179],function(){return e(e.s=19620)}),_N_E=e.O()}]);

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.