1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="d7a95ba3-e1cd-409c-a968-4955eaa1691b",e._sentryDebugIdIdentifier="sentry-dbid-d7a95ba3-e1cd-409c-a968-4955eaa1691b")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"1.60.87"},(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[1655],{41845:(e,t,n)=>{n.r(t),n.d(t,{default:()=>D});var a=n(67294),l=n(16550),r=n(73727),c=n(37703),s=n(97779),o=n(76265),i=n(33052),u=n(52326),d=n(17114);const f="c8367cd6",g="f7df8342",m="f3d1f92f",E="b95886b3";var h=n(7278),p=n(52574),_=n(30425),y=n(75191),v=n(60694),b=n(94940);const A=e=>{var t;const{searchCategoryList:n,setLoadingState:c}=e,[s,d]=(0,a.useState)(!1),[D,N]=(0,a.useState)(n.filter(((e,t)=>t<40))),I=(0,a.useRef)(null),S=(0,a.useContext)(y.x0),L=(0,l.TH)(),C=(e,t)=>{const n=t.filter((t=>t.displayName.concat(t.nameEn).match(new RegExp(e,"i"))));return n.length>0&&d(!1),0===n.length&&d(!0),n.length>40&&(n.length=40),n},w=e=>{const{value:t}=e.target;I.current&&(I.current.value=t||"",I.current.focus());const a=C(t||"",n);N(a)};return(0,a.useEffect)((()=>{(0,_.Dk)(v.N.routeMetaData.search.metaTitle),S.tagCommonPages(L)}),[S,L]),(0,a.useEffect)((()=>{(0,_.k3)();const t=C("",n);N(t),0===n.length&&c("continuousStart"),A.getInitialProps(e).then((()=>{0===n.length&&c("complete")}));const a=I.current;return()=>{a&&a.value&&S.tagDiscoverEvent("Search Triggered",a.value)}}),[n.length]),a.createElement(a.Fragment,null,a.createElement(u.Z,{className:E}),a.createElement("div",{className:`${f} ${b.Z.disableUserSelectMobile}`},a.createElement("form",{onChange:w,onReset:w},a.createElement("fieldset",null,a.createElement("div",{className:g},a.createElement("input",{ref:I,type:"text",name:"",placeholder:o.Z.APNI_RUCKI_YA_SHAHER_KHOJAIN,onKeyPress:e=>"Enter"===e.key&&e.preventDefault()}),(null===(t=I.current)||void 0===t?void 0:t.value)&&a.createElement(i.sL,{className:m,onClick:()=>{I.current&&(I.current.value="",I.current.focus(),w({target:I.current}))},style:{width:"20px",height:"20px","--foreground-color":"#fff","--background-color":"#808080"}})),s&&n.length>0&&a.createElement("div",null,a.createElement("h2",null,o.Z.PARINAM_NAHI_MILA),a.createElement("h3",null,o.Z.KOI_RUCHI_JASE_MANORANJAN_SPORTS$$)),a.createElement("ul",null,D.map((e=>{let{id:t,displayName:n,listingUrl:l,nameEn:c}=e;return a.createElement("li",{key:t},a.createElement(r.rU,{to:{pathname:(0,p.C4)(l,c)},onClick:()=>{S.tagDiscoverEvent("Searched",c)}},n))})))))),a.createElement(h.Z,null))};A.initialPropsDependencies=[],A.getInitialProps=async e=>{let{dispatch:t,match:n}=e;const a=[t((0,d.Ax)()),...A.initialPropsDependencies.map((e=>e.getInitialProps({dispatch:t,match:n})))];return Promise.all(a)};const D=(0,c.$j)((e=>({searchCategoryList:e.common.searchCategoryList||[]})),(e=>({dispatch:e,setLoadingState:(0,s.DE)(d.ot,e)})))(A)}}]); 2//# sourceMappingURL=pages-Search-page-abc1d519.js.map
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.