1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9477],{19477:function(a,b,c){"use strict";c.r(b),c.d(b,{default:function(){return u}});var d,e,f=c(14924),g=c(85893),h=c(67294),i=c(9198),j=c.n(i),k=c(94184),l=c.n(k),m=c(36808),n=c.n(m);c(18698);var o=c(14321),p=c.n(o);function q(){return new Date}function r(a){for(var b=[],c=14;c>0;c--){var d=new Date(a);d.setDate(a.getDate()-c),b.push(d)}for(var e=0;e<14;e++){var f=new Date(a);f.setDate(a.getDate()+e),b.push(f)}return b}function s(a,b){var c;return parseInt((b.getTime()-a.getTime())/864e5)}var t=!1;function u(a){var b=a.fetch,c=function(){document.getElementsByClassName("react-datepicker__input-container")[0].childNodes[0].click()},i=function(a){t=!0,d=a.pageX-N.current.offsetLeft,e=N.current.scrollLeft},k=function(){t=!1},m=function(){N.current.scrollTo({left:N.current.scrollLeft+400,behavior:"smooth"})},o=function(){N.current.scrollTo({left:N.current.scrollLeft-400,behavior:"smooth"})},u=function(a){if(a.preventDefault(),t){var b=a.pageX-N.current.offsetLeft-d;N.current.scrollLeft=e-b}},z=function(){Math.abs(s(L[14],q()))>14?M(r(q())):window.innerWidth<767?N.current.scrollLeft=830:N.current.scrollLeft=750,J(q()),b(q())},A=function(a){e===N.current.scrollLeft&&(J(a),b(a))},B=function(a){var c=s(L[0],a);if(Math.abs(s(L[14],a))>14)M(r(a));else{var d=c;(c<4||c<24)&&(d=window.innerWidth>767?c-2:c-1),N.current.scrollLeft=64*d}J(a),b(a)},C=n().get("date"),D=C?new Date(C):q(),E=(0,h.useState)(!1),F=E[0],G=E[1],H=(0,h.useState)(D),I=H[0],J=H[1],K=(0,h.useState)(r(D)),L=K[0],M=K[1],N=(0,h.useRef)();return(0,h.useEffect)(function(){var a=setTimeout(function(){window.innerWidth<767?N.current.scrollLeft=840:N.current.scrollLeft=750,console.log("__slider.current.scrollLeft",N.current.scrollLeft)},300);return function(){clearTimeout(a)}},[L]),(0,h.useEffect)(function(){return window&&(document.getElementsByClassName("react-datepicker__input-container")[0].childNodes[0].style.display="none",G(!0)),t=!1,window.addEventListener("beforeunload",function(){n().remove("date")}),function(){return window.removeEventListener("beforeunload",null)}},[]),(0,g.jsxs)("div",{children:[(0,g.jsx)("div",{className:"flex justify-between",children:(0,g.jsxs)("div",{className:"flex items-center mb-4",children:[(0,g.jsx)("div",{className:"mr-4 text-2xl text-darker font-bold items-center flex",children:"LIVESCORE "}),(0,g.jsxs)("div",{className:p().s2,children:[(0,g.jsx)("div",{className:p().s3}),(0,g.jsx)("div",{className:p().s4})]})]})}),(0,g.jsxs)("div",{className:"flex w-full",children:[(0,g.jsx)("div",{className:"flex items-center justify-center",children:(0,g.jsx)("button",{onClick:z,className:l()("border border-gray-300 text-basic rounded text-xs p-1 px-2 mr-2 md:mr-8",{"bg-gray-200":I.getDate()===q().getDate()}),children:"H\xd4M NAY"})}),(0,g.jsxs)("div",{className:p().f_w,children:[(0,g.jsx)("div",{className:p().actionLeft,children:(0,g.jsx)("button",{className:p().action,onClick:o,children:w})}),(0,g.jsx)("div",{className:p().boxLive1,onMouseDown:i,onMouseMove:u,onMouseLeave:k,onMouseUp:k,tabIndex:"0",role:"button",ref:N,children:L.map(function(a,b){return(0,g.jsxs)("button",{className:l()("text-sm p-2 text-center",(0,f.Z)({},"font-bold",a.getDate()===I.getDate())),onClick:function(){return A(a)},children:[(0,g.jsx)("div",{className:"w-12",children:y(a.getDay())}),(0,g.jsxs)("div",{children:[a.getDate(),"/",a.getMonth()+1]})]},b)})}),(0,g.jsx)("div",{className:p().actionRight,children:(0,g.jsx)("button",{className:p().action,onClick:m,children:x})})]}),(0,g.jsx)("button",{onClick:c,className:"ml-2 md:ml-8",children:v}),(0,g.jsx)("div",{id:"id",style:{display:F?"block":"none"},children:(0,g.jsx)(j(),{dateFormat:"dd/MM/yyy",selected:I,onChange:B})})]})]})}var v=(0,g.jsxs)("svg",{width:"48",height:"28.8",viewBox:"0 0 40 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,g.jsx)("path",{d:"M18.1386 3.53645H17.3926V2.78125C17.3926 2.34977 17.043 2 16.6117 2C16.1804 2 15.8308 2.34977 15.8308 2.78125V3.53645H8.16913V2.78125C8.16913 2.34977 7.81952 2 7.38823 2C6.95693 2 6.60732 2.34977 6.60732 2.78125V3.53645H5.86137C3.7322 3.53645 2 5.26941 2 7.39949V18.1369C2 20.267 3.7322 22 5.86137 22H18.1387C20.2678 22 22 20.267 22 18.1369V7.39949C22 5.26941 20.2678 3.53645 18.1386 3.53645ZM5.86137 5.09895H6.60732V6.62238C6.60732 7.05387 6.95693 7.40363 7.38823 7.40363C7.81952 7.40363 8.16913 7.05387 8.16913 6.62238V5.09895H15.8309V6.62238C15.8309 7.05387 16.1805 7.40363 16.6118 7.40363C17.0431 7.40363 17.3927 7.05387 17.3927 6.62238V5.09895H18.1387C19.4066 5.09895 20.4382 6.13098 20.4382 7.39949V8.14582H3.5618V7.39949C3.5618 6.13098 4.59338 5.09895 5.86137 5.09895ZM18.1386 20.4375H5.86137C4.59338 20.4375 3.5618 19.4055 3.5618 18.1369V9.70832H20.4382V18.1369C20.4382 19.4055 19.4066 20.4375 18.138
16 20.4375ZM8.93703 12.7812C8.93703 13.2127 8.58742 13.5625 8.15613 13.5625H6.62036C6.18907 13.5625 5.83946 13.2127 5.83946 12.7812C5.83946 12.3498 6.18907 12 6.62036 12H8.15613C8.58738 12 8.93703 12.3498 8.93703 12.7812ZM18.1606 12.7812C18.1606 13.2127 17.811 13.5625 17.3797 13.5625H15.8439C15.4126 13.5625 15.063 13.2127 15.063 12.7812C15.063 12.3498 15.4126 12 15.8439 12H17.3797C17.8109 12 18.1606 12.3498 18.1606 12.7812ZM13.5444 12.7812C13.5444 13.2127 13.1947 13.5625 12.7634 13.5625H11.2277C10.7964 13.5625 10.4468 13.2127 10.4468 12.7812C10.4468 12.3498 10.7964 12 11.2277 12H12.7634C13.1947 12 13.5444 12.3498 13.5444 12.7812ZM8.93703 17.3906C8.93703 17.8221 8.58742 18.1719 8.15613 18.1719H6.62036C6.18907 18.1719 5.83946 17.8221 5.83946 17.3906C5.83946 16.9591 6.18907 16.6094 6.62036 16.6094H8.15613C8.58738 16.6094 8.93703 16.9591 8.93703 17.3906ZM18.1606 17.3906C18.1606 17.8221 17.811 18.1719 17.3797 18.1719H15.8439C15.4126 18.1719 15.063 17.8221 15.063 17.3906C15.063 16.9591 15.4126 16.6094 15.8439 16.6094H17.3797C17.8109 16.6094 18.1606 16.9591 18.1606 17.3906ZM13.5444 17.3906C13.5444 17.8221 13.1947 18.1719 12.7634 18.1719H11.2277C10.7964 18.1719 10.4468 17.8221 10.4468 17.3906C10.4468 16.9591 10.7964 16.6094 11.2277 16.6094H12.7634C13.1947 16.6094 13.5444 16.9591 13.5444 17.3906Z",fill:"#303B50"}),(0,g.jsx)("path",{d:"M35.1999 9.33325H28.7999C28.6327 9.35115 28.4739 9.41524 28.3411 9.51835C28.2083 9.62146 28.1068 9.75951 28.0481 9.91703C27.9893 10.0746 27.9756 10.2453 28.0084 10.4102C28.0412 10.5751 28.1193 10.7276 28.2339 10.8506L31.4339 14.4059C31.5038 14.4879 31.5907 14.5538 31.6885 14.5989C31.7864 14.6441 31.8928 14.6675 32.0006 14.6675C32.1083 14.6675 32.2148 14.6441 32.3126 14.5989C32.4105 14.5538 32.4973 14.4879 32.5672 14.4059L35.7672 10.8506C35.8819 10.7275 35.96 10.5749 35.9927 10.4099C36.0255 10.2449 36.0116 10.0741 35.9527 9.9165C35.8938 9.75895 35.7922 9.62092 35.6592 9.5179C35.5262 9.41488 35.3672 9.35094 35.1999 9.33325ZM31.9999 13.7779L28.7999 10.2226H35.1999L31.9999 13.7779Z",fill:"#303B50"})]}),w=(0,g.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-4 w-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,g.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M15 19l-7-7 7-7"})}),x=(0,g.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-4 w-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,g.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M9 5l7 7-7 7"})});function y(a){return 0===a?"CN":"THỨ "+(a+1)}},14321:function(a){a.exports={f_w:"BoxTimeLive_f_w__Guv_c",boxLive1:"BoxTimeLive_boxLive1__EtpaG",actionLeft:"BoxTimeLive_actionLeft__cIALx",actionRight:"BoxTimeLive_actionRight__B5_Mq",action:"BoxTimeLive_action__l5WCj",s2:"BoxTimeLive_s2__jAxbw",s3:"BoxTimeLive_s3__h_mKf",s4:"BoxTimeLive_s4__5CyO_",textColor:"BoxTimeLive_textColor__LcQcB"}}}])
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.