PageSourceSearch

https://bikebook.co.uk/_next/static/chunks/pages/admin/requested-google-accounts-6be4c8c69f0479c1.js

js bikebook.co.uk collected 2026-09-24 09:50:45 UTC 7,159 bytes, 2 lines download raw bytes

1try{!function(){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]="c8bbff44-4d37-41c9-a5e5-ad5d99e3fc6b",e._sentryDebugIdIdentifier="sentry-dbid-c8bbff44-4d37-41c9-a5e5-ad5d99e3fc6b")}()}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2881],{9171:(e,t,o)=>{"use strict";o.d(t,{IG:()=>i,KZ:()=>r,kB:()=>d,tm:()=>s}),o(68093);var n=o(1950),a=o.n(n);function r(e){return a()(e).format((Number.isInteger(e),"\xa30,0.00"))}function i(e){return a()(e/100).format("0.0%")}function d(e,t){return a()(e).format(t)}function s(e){return a()(e).format("0.0 b")}},24291:(e,t,o)=>{"use strict";o.d(t,{A:()=>f});var n=o(55729),a=o(28203),r=o(24432),i=o(4495),d=o(2498),s=o(74421),l=o(56990),c=o(46522);function u(e){return(0,c.Ay)("MuiCard",e)}(0,l.A)("MuiCard",["root"]);var g=o(6029);let m=(0,i.Ay)(s.A,{name:"MuiCard",slot:"Root"})({overflow:"hidden"}),f=n.forwardRef(function(e,t){let o=(0,d.b)({props:e,name:"MuiCard"}),{className:n,raised:i=!1,...s}=o,l={...o,raised:i},c=(e=>{let{classes:t}=e;return(0,r.A)({root:["root"]},u,t)})(l);return(0,g.jsx)(m,{className:(0,a.A)(c.root,n),elevation:i?8:void 0,ref:t,ownerState:l,...s})})},56485:(e,t)=>{t.A={width:24,height:24,body:'<g id="evaCheckmarkCircle2Outline0"><g id="evaCheckmarkCircle2Outline1"><g id="evaCheckmarkCircle2Outline2" fill="currentColor"><path d="M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2Zm0 18a8 8 0 1 1 8-8a8 8 0 0 1-8 8Z"/><path d="m14.7 8.39l-3.78 5l-1.63-2.11a1 1 0 0 0-1.58 1.23l2.43 3.11a1 1 0 0 0 .79.38a1 1 0 0 0 .79-.39l4.57-6a1 1 0 1 0-1.6-1.22Z"/></g></g></g>'}},89720:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>q});var n=o(6029),a=o(75155),r=o(55729),i=o(4495),d=o(43613),s=o(63860),l=o(24291),c=o(77620),u=o(60260),g=o(84473),m=o(56121),f=o.n(m),p=o(74158),h=o(60712),b=o(56485),I=o(29911),y=o(88768),A=o(46831),w=o(74312),x=o.n(w),_=o(66094);let P="RequestedGoogleAccounts",k={root:"".concat(P,"-root"),dialog:"".concat(P,"-dialog"),search:"".concat(P,"-search"),searchIcon:"".concat(P,"-searchIcon"),inputRoot:"".concat(P,"-inputRoot"),inputInput:"".concat(P,"-inputInput")},N=(0,i.Ay)(l.A)(e=>{let{theme:t}=e;return{["&.".concat(k.root)]:{},["& .".concat(k.dialog)]:{"& .MuiPaper-root":{maxWidth:891}},["& .".concat(k.search)]:{marginTop:15,borderRadius:t.shape.borderRadius,backgroundColor:(0,c.X4)(t.palette.common.white,.7),"&:hover":{borderColor:"rgba(223,225,229,0)",boxShadow:"0 1px 6px rgb(32 33 36 / 28%)"},width:"98.5%",display:"flex",alignItems:"center",border:1,borderColor:"#dfe1e5",borderStyle:"solid",marginBottom:15,marginLeft:"auto",marginRight:"auto"},["& .".concat(k.searchIcon)]:{pointerEvents:"none",paddingLeft:"10px",paddingTop:"3px"},["& .".concat(k.inputRoot)]:{width:"100%"},["& .".concat(k.inputInput)]:{padding:t.spacing(1.5,0,1.5,0),paddingLeft:"10px"}}}),C=e=>{let t,o,i,d,s,l,c,m,f,w,x,_,P,C,E,V,D,q,O,Z,X=(0,a.c)(30);X[0]!==e?({className:t,...o}=e,X[0]=e,X[1]=t,X[2]=o):(t=X[1],o=X[2]);let z=(0,p.wA)(),[F,W]=(0,r.useState)(null);X[3]!==z?(i=async e=>{await z((0,y.FS)({url:"/AdministrationItem/MarkGoogleAccountProcessed",values:{administrationItemId:e.administrationItemId},onSuccess:e=>{"success"==e.status?(z((0,A.kw)("success","Finished marking as processed")),W((0,I.A)())):z((0,A.kw)("error",err.message))}}))},X[3]=z,X[4]=i):i=X[4];let H=i;return X[5]!==t?(d=(0,u.A)(k.root,t),X[5]=t,X[6]=d):d=X[6],X[7]===Symbol.for("react.memo_cache_sentinel")?(c={field:"AdministrationItemId",type:"string",headerName:"Id",width:100,numeric:!0,disablePadding:!0,flex:1,getPropValue:S},m={field:"Created",type:"string",headerName:"Created",numeric:!1,width:180,disablePadding:!0,flex:1,getPropValue:v},f={field:"BusinessName",type:"string",headerName:"Google Business Name",sortable:!1,disablePadding:!0,flex:1,getPropValue:R},w={field:"BusinessLocation",type:"string",headerName:"Location",sortable:!1,disablePadding:!0,flex:1,getPropValue:T},x={field:"ShownInGoogle",type:"string",headerName:"Shown In Google",sortable:!1,disablePadding:!0,flex:1,getPropValue:j},_={field:"GoogleLink",type:"string",headerName:"Link",disablePadding:!0,sortable:!1,flex:1,getPropValue:B},P={field:"AdditionalInfo",type:"string",headerName:"Additional Information",numeric:!1,width:180,disablePadding:!0,flex:1,getPropValue:G},s={field:"BusinessId",type:"string",headerName:"Business Id",flex:1,disablePadding:!0,sortable:!1,getPropValue:L},l={field:"Processed",type:"boolean",headerName:"Processed",flex:1,disablePadding:!0,sortable:!1,getPropValue:M},X[7]=s,X[8]=l,X[9]=c,X[10]=m,X[11]=f,X[12]=w,X[13]=x,X[14]=_,X[15]=P):(s=X[7],l=X[8],c=X[9],m=X[10],f=X[11],w=X[12],x=X[13],_=X[14],P=X[15]),X[16]!==H?(C=e=>{H(e)},X[16]=H,X[17]=C):C=X[17],X[18]===Symbol.for("react.memo_cache_sentinel")?(E=(0,n.jsx)(h.In,{icon:b.A,width:20,height:20}),X[18]=E):E=X[18],X[19]!==C?(V=[c,m,f,w,x,_,P,s,l,{field:"action",type:"action",headerName:"",numeric:!1,flex:1,disablePadding:!0,options:[{label:"Mark as processed",onClick:C,icon:E}]}],X[19]=C,X[20]=V):V=X[20],X[21]===Symbol.for("react.memo_cache_sentinel")?(D={AdministrationItemType:"RequestedGoogleAccount"},X[21]=D):D=X[21],X[22]===Symbol.for("react.memo_cache_sentinel")?(q={field:"Created",sort:"Desc"}
1,X[22]=q):q=X[22],X[23]!==F||X[24]!==V?(O=(0,n.jsx)(g.A,{objectName:"AdministrationItem",defaultPageSize:20,tableId:"send-messages",refreshDataToken:F,columns:V,additionalReqProps:D,title:"Requested Google Accounts",url:"/AdministrationItem/Search",defaultSortModel:q}),X[23]=F,X[24]=V,X[25]=O):O=X[25],X[26]!==o||X[27]!==O||X[28]!==d?(Z=(0,n.jsx)(N,{className:d,...o,children:O}),X[26]=o,X[27]=O,X[28]=d,X[29]=Z):Z=X[29],Z};function S(e){return e.administrationItemId}function v(e){return e.created?(0,_.Gl)(x()(e.created),_.LN.DATE_TIME):"N/a"}function R(e){return e.googleBusinessName}function T(e){return e.googleBusinessLocation}function j(e){return e.googleShownInGoogle}function B(e){return e.googleLink}function G(e){return e.googleAdditionalInfo}function L(e){return e.googleBusinessId}function M(e){return e.processed}C.propTypes={className:f().string};var E=o(35298);let V={root:"".concat("Component","-root")},D=(0,i.Ay)("div")(e=>{let{theme:t}=e;return{["&.".concat(V.root)]:{width:"100%",backgroundColor:t.palette.background.dark,minHeight:"100%",paddingBottom:t.spacing(3)}}}),q=()=>{let e,t,o=(0,a.c)(2);return o[0]===Symbol.for("react.memo_cache_sentinel")?(e={marginTop:0},o[0]=e):e=o[0],o[1]===Symbol.for("react.memo_cache_sentinel")?(t=(0,n.jsx)(E.A,{adminAccount:!0,children:(0,n.jsx)(D,{className:V.root,title:"Logging",children:(0,n.jsx)(d.A,{maxWidth:!1,style:e,children:(0,n.jsx)(s.A,{container:!0,spacing:3,children:(0,n.jsx)(s.A,{size:{sm:12,xs:12},children:(0,n.jsx)(C,{})})})})})}),o[1]=t):t=o[1],t}},92370:(e,t,o)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/requested-google-accounts",function(){return o(89720)}])}},e=>{e.O(0,[1474,8600,9664,3652,7874,3834,4100,6593,636,8792],()=>e(e.s=92370)),_N_E=e.O()}]);
2//# sourceMappingURL=requested-google-accounts-6be4c8c69f0479c1.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.