PageSourceSearch

https://www.tapmad.com/_next/static/chunks/6339.cc8cc6ab02f0962e.js

js tapmad.com collected 2026-10-01 12:40:19 UTC 6,257 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6339],{36339:function(e,n,t){t.r(n),t.d(n,{default:function(){return M}});var o=t(85893),a=t(67294),r=t(5152),l=t.n(r),i=t(62057),u=t(15606),c=t.n(u),s=function(){return(0,o.jsx)("div",{className:c().dropdownSkeleton})},d=l()((function(){return t.e(2665).then(t.bind(t,62665))}),{loadableGenerated:{webpack:function(){return[62665]}},ssr:!1,loading:s}),v=l()((function(){return t.e(9079).then(t.bind(t,79079))}),{loadableGenerated:{webpack:function(){return[79079]}},ssr:!1,loading:s}),f=function(){var e=(0,i.useAuthStore)((function(e){return e.initiate})),n=(0,i.useAuthStore)((function(e){return e.authenticated}));return e?(0,o.jsx)(a.Suspense,{fallback:(0,o.jsx)(s,{}),children:n?(0,o.jsx)(v,{}):(0,o.jsx)(d,{})}):(0,o.jsx)(s,{})},g=(0,a.memo)(f),m=t(56757),h=t(93141),p=t(47568),b=t(97582),w=t(97842),x=t(98138),S=t(11163),y=[{label:"English",value:"en",countryCode:"US"},{label:"\u09ac\u09be\u0982\u09b2\u09be",value:"bn",countryCode:"BD"}],E="google-translate-script",C=function(e,n){var t=0===n?"Thu, 01 Jan 1970 00:00:00 GMT":new Date(Date.now()+1e3*n).toUTCString();(function(){var e=window.location.hostname,n=e.split("."),t=n.length>2?n.slice(-2).join("."):e;return Array.from(new Set([void 0,e,".".concat(e),t,".".concat(t)]))})().forEach((function(o){var a=o?";domain=".concat(o):"";document.cookie="".concat(x.XA,"=").concat(e,";path=/;max-age=").concat(n,";expires=").concat(t).concat(a)}))},j=function(){try{var e;return null===(e=window.localStorage)||void 0===e?void 0:e.getItem(x.VG)}catch(n){return null}},k=function(e){try{var n;null===(n=window.localStorage)||void 0===n||n.setItem(x.VG,e)}catch(t){}},_=function(){return new Promise((function(e){var n=document.querySelector(".goog-te-combo");if(n)e(n);else var t=0,o=window.setInterval((function(){t+=1;var n=document.querySelector(".goog-te-combo");(n||t>=20)&&(window.clearInterval(o),e(n))}),250)}))},I=function(e){var n,t=e.forceShow,r=void 0!==t&&t,l=(0,a.useState)("en"),i=l[0],u=l[1],c=(0,a.useState)(!1),s=c[0],d=c[1],v=(0,a.useRef)(s),f=(0,S.useRouter)(),g=f.asPath,h=f.pathname,I=(0,m.useMainStore)((function(e){var t,o;return null!==(n=null===e||void 0===e||null===(t=e.appSetting)||void 0===t||null===(o=t.AppSettings)||void 0===o?void 0:o.CountryCode)&&void 0!==n?n:"PK"})),N=(0,m.useMainStore)((function(e){var n;return null===e||void 0===e||null===(n=e.appSetting)||void 0===n?void 0:n.initiate})),A=(0,x.QJ)()===x.Cj,M=g.startsWith("/legal-center/bd")||h.startsWith("/legal-center/bd"),T=r||N&&"BD"===I||A||M;(0,a.useEffect)((function(){v.current=s}),[s]);var D,G=(0,a.useMemo)((function(){return y.filter((function(e){return"US"===e.countryCode||e.countryCode===I}))}),[I]),W=(0,a.useMemo)((function(){var e;return null!==(D=null===(e=y.find((function(e){return e.value===i})))||void 0===e?void 0:e.label)&&void 0!==D?D:"Language"}),[i]),B=(0,a.useCallback)((function(){var e,n,t=document.getElementById("google_translate_element"),o=null===(e=window.google)||void 0===e||null===(n=e.translate)||void 0===n?void 0:n.TranslateElement;t&&o&&!t.childNodes.length&&new o({pageLanguage:x.iC,autoDisplay:!1},"google_translate_element")}),[]),L=(0,a.useCallback)((function(e){document.documentElement.lang=e;var n=new Event("app-language-change");n.detail={language:e},window.dispatchEvent(n)}),[]),P=(0,a.useCallback)((function(){if(window.googleTranslateElementInit=B,B(),!document.getElementById(E)){var e=document.createElement("script");e.id=E,e.src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit",e.async=!0,e.onload=B,document.body.appendChild(e)}}),[B]),q=(0,a.useCallback)(function(){var e=(0,p.Z)((function(e){var n,t,o=arguments;return(0,b.__generator)(this,(function(a){switch(a.label){case 0:return o.length>1&&void 0!==o[1]&&o[1],e===x.iC?(C("",0),(n=document.querySelector(".goog-te-combo"))&&(n.value="",n.dispatchEvent(new Event("change",{bubbles:!0}))),window.location.reload(),[2]):((0,w.x)(),C("/".concat(x.iC,"/").concat(e),31556926),P(),[4,_()]);case 1:return(t=a.sent())?(t.value=e,t.dispatchEvent(new Event("change",{bubbles:!0})),L(e),[2]):(L(e),[2])}}))}));return function(n){return e.apply(this,arguments)}}(),[L,P]);(0,a.useEffect)((function(){T&&P()}),[T,P]),(0,a.useEffect)((function(){if(N||A){if(!T){var e=j(),n=document.cookie.includes("".concat(x.XA,"="));return e&&e!==x.iC&&k(x.iC),void(n&&(C("",0),window.location.reload()))}var t=j();t&&t!==x.iC&&(u(t),q(t))}}),[q,N,T,A]),(0,a.useEffect)((function(){var e=function(e){var n,t=e.target;(null===t||void 0===t||null===(n=t.closest)||void 0===n?void 0:n.call(t,".translate-btn"))?d((function(e){return!e})):v.current&&(t.closest(".translate-list")||d(!1))};return document.body.addEventListener("click",e),function(){return document.body.removeEventListener("click",e)}}),[]);var z=(0,a.useCallback)((function(e){u(e),d(!1),k(e),q(e,!0)}),[q]);return T?(0,o.jsxs)("div",{style:{position:"relative",display:"inline-block"},children:[(0,o.jsx)("div",{id:"google_translate_element"}),(0,o.jsxs)("button",{className:"translate-btn",children:[W,(0,o.jsx)("span",{style:{fontSize:"10px"},children:s?"\u25b2":"\u25bc"})]}),s&&(0,o.jsx)("ul",{className:"absolute top-full left-0 z-9999 bg-[#1a1a1a] border-1 border-[#444] rounded-[6px] list-none min-w-[130px] py-2 px-0 m-0 translate-list",children:G.map((function(e){return(0,o.jsx)("li",{onClick:function(){return z(e.value)},style:{padding:"8px 14px",cursor:"pointer",fontSize:"14px"},className:"notranslate ".concat(i===e.value?"text-primary bg-[#2a2a2a]":""),translate:"no",children:e.label},e.value)}))})]}):(0,o.jsx)(o.Fragment,{})},N=(0,a.memo)(I),A=function(){var e=(0,S.useRouter)(),n=e.asPath,t=e.pathname,r=(0,a.useState)(!1),l=r[0],i=r[1],u=l||n.startsWith("/legal-center/bd")||t.startsWith("/legal-center/bd");(0,a.useEffect)((function(){i(window.location.pathname.startsWith("/legal-center/bd"))}),[n]);var s=(0,m.useMainStore)((function(e){var n,t;return 1===(null===(n=e.appSetting)||void 0===n||null===(t=n.AppSettings)||void 0===t?void 0:t.Tabsub)}));return(0,o.jsxs)("div",{className:"".concat(c().hrght," hrght"),children:[(0,o.jsx)(N,{forceShow:u}),(0,o.jsx)(h.Z,{isMobile:!0}),!s&&(0,o.jsx)(g,{})]})},M=(0,a.memo)(A)}}]);

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.