PageSourceSearch

https://www.tamiltshirts.in/_next/static/chunks/5401.70d9307e27f91ef9.js

js tamiltshirts.in collected 2026-10-02 00:37:52 UTC 3,294 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="8047839d-f3a3-449f-b43b-7609809fca91",e._sentryDebugIdIdentifier="sentry-dbid-8047839d-f3a3-449f-b43b-7609809fca91")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5401],{25401:(e,t,i)=>{i.r(t),i.d(t,{default:()=>u});var n=i(95155),a=i(12115),o=i(83790);let r=(0,i(52078).Wp)({apiKey:"AIzaSyCECdFDKt0LkgfV4NV3-Z1UyXO1FmDm-Uo",authDomain:"ecomsaas-a2791.firebaseapp.com",projectId:"ecomsaas-a2791",storageBucket:"ecomsaas-a2791.firebasestorage.app",messagingSenderId:"798828669804",appId:"1:798828669804:web:49a63acbfe917a238d6149",measurementId:"G-YJ6WCMXLHV"}),s=()=>(0,o.dG)(r);var d=i(22663),c=i(64796),l=i(90081),f=i(263);function u(){let{showPrompt:e,requestPermission:t}=function(){let{fcmToken:e,requestPermission:t,showPrompt:i}=function(){let{permission:e,requestPermission:t,showPrompt:i}=function(){let[e,t]=(0,a.useState)("default"),[i,n]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{"Notification"in window&&(t(Notification.permission),"default"===Notification.permission&&Notification.requestPermission().then(e=>{t(e),"granted"===e?d.Ay.success("Notifications enabled!"):"denied"===e?d.Ay.error("Notifications blocked – enable in browser settings."):n(!0)}).catch(()=>n(!0)))},[]),{permission:e,requestPermission:()=>{"default"===e&&Notification.requestPermission().then(e=>{t(e),n(!1),"granted"===e?d.Ay.success("Notifications enabled! You’ll get order & deal updates."):"denied"===e&&d.Ay.error("Notifications blocked – enable in browser settings.")}).catch(()=>d.Ay.error("Failed to request permission."))},showPrompt:i}}(),[n,r]=(0,a.useState)(null);return(0,a.useEffect)(()=>{"serviceWorker"in navigator&&(async()=>{if("granted"===e&&await (0,o.TT)())try{let e=await (0,o.gf)(s(),{vapidKey:"BNpfqkcZEWQHFBjH5H-K8p7okFPicusCKk30WbPpMFBR8sPcmOmJPv57hzpZHEw78-WSX-tACMufnYOoiy3uB_k"});r(e),await (0,c.q7)(f.AK.FCMPUSHAPI,{fcm_token:e,user_id:(0,l.B)()})}catch(e){console.error("FCM token error:",e)}})()},[e]),{fcmToken:n,requestPermission:t,showPrompt:i}}(),[n,r]=(0,a.useState)([]);return(0,a.useEffect)(()=>{let e;if(!("serviceWorker"in navigator)||!("Notification"in window))return;let t=s(),i=e=>{var t,i;(0,d.Ay)(null!=(i=null==(t=e.notification)?void 0:t.title)?i:"New Notification"),r(t=>[...t,e])};return(async()=>{try{e=(0,o.xD)(t,i)}catch(e){console.error("FCM onMessage subscription failed:",e)}})(),()=>null==e?void 0:e()},[e]),{fcmToken:e,messages:n,requestPermission:t,showPrompt:i}}();return e?(0,n.jsxs)("div",{role:"region","aria-label":"Enable notifications",className:"!fixed !top-4 !right-2 !z-[99999998] !max-w-[300px] !rounded-[12px] !border-[2px] !border-[#E9F0FF] !bg-white !p-4 !shadow-lg !flex !flex-col !gap-3",children:[(0,n.jsx)("p",{className:"!text-[#00021F] !text-[14px] !leading-[140%]",children:"Get notified about your orders and exclusive deals."}),(0,n.jsx)("button",{type:"button",onClick:t,className:"!rounded-[8px] !bg-primary !px-4 !py-2 !text-white !text-[14px] !font-semibold !self-start",children:"Enable Notifications"})]}):null}}}]);

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.