PageSourceSearch

https://www.antoniospizzafl.com/_next/static/chunks/pages/admin-ff22421f6e4cb6e5.js

js antoniospizzafl.com collected 2026-10-02 01:23:26 UTC 2,680 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[964],{80577:function(e,n,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin",function(){return s(74298)}])},20743:function(e,n,s){"use strict";s.d(n,{T:function(){return c}});var a=s(85893),l=s(67294),t=s(94184),i=s.n(t),r=s(79127);let c=e=>{var n,s;let{brand:t}=(0,l.useContext)(r.I),c=null!==(s=null!==(n=e.url)&&void 0!==n?n:t.background)&&void 0!==s?s:"/images/default-brand-background.png";return(0,a.jsxs)("div",{className:i()("text-white flex flex-col text-3xl z-10 relative w-full",e.className),style:{...e.style,backgroundImage:"url(".concat(c,")"),backgroundSize:"cover",zIndex:1,backgroundPosition:"center"},children:[(0,a.jsx)("div",{className:"absolute top-0 left-0 bg-black bg-opacity-60 z-20 w-full h-full",style:{zIndex:-1}}),(0,a.jsx)("div",{className:"relative z-30 flex justify-center items-center flex-grow",children:e.children})]})}},74298:function(e,n,s){"use strict";s.r(n),s.d(n,{__N_SSP:function(){return u}});var a=s(85893),l=s(50948),t=s(67294),i=s(11163),r=s(82849),c=s(20743),o=s(79127),d=s(36203),u=!0;n.default=e=>{let{brand:n}=e,{user:s,setUser:u}=(0,t.useContext)(o.I),h=(0,i.useRouter)();if(!s||!s.is_pizzamico_team)return null;let m=async e=>{u(await (0,l.enhancedFetch)("/api/admin/impersonate",{method:"POST",body:{user_hash_id:e.hash_id}})),await h.push("/")};return(0,a.jsxs)(r.n,{brand:n,title:"Admin",description:"Admin panel.",className:"full-screen",children:[(0,a.jsx)(c.T,{className:"h-40",children:(0,a.jsx)("h2",{className:"text-3xl z-20 font-bold",children:"Admin"})}),(0,a.jsx)("div",{className:"p-2 flex justify-center",children:(0,a.jsxs)(l.Card,{className:"max-w-[1080px] space-y-4",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"font-bold",children:"Impersonate User"}),(0,a.jsxs)(l.Search,{paginateProps:(e,s)=>({url:"/api/admin/search-users?name_search=".concat(e,"&brand_hash_id=").concat(n.hash_id),isAllowed:e.length>0&&s,key:"name"}),children:[(0,a.jsx)(l.SearchBox,{placeholder:"Search user....",className:"min-h-0 h-10 text-black"}),(0,a.jsx)(l.SearchResults,{children:e=>e.map(e=>(0,a.jsx)(l.Button,{className:"flush",onClick:()=>m(e),children:e.name},e.name))})]})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"font-bold",children:"Simulate Google Ad Conversion"}),(0,a.jsx)(l.Button,{onClick:()=>{if(!n.google_tag_conversion_id){alert("No google tag converison id set on brand.");return}d.S.conversion(n.google_tag_conversion_id,"r4mkr8lroxx2hmpdq7wq2ly7sk5",999),alert("Sent conversion!")},children:"Send Conversion Event"})]})]})})]})}}},function(e){e.O(0,[849,888,774,179],function(){return e(e.s=80577)}),_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.