PageSourceSearch

https://www.letstalkmonmouthshire.co.uk/_next/static/chunks/77211-d8eb528a696e101d.js

js letstalkmonmouthshire.co.uk collected 2026-09-29 03:17:58 UTC 14,212 bytes, 2 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ab7536d7-d559-49ca-970e-51a7ab4035e0",e._sentryDebugIdIdentifier="sentry-dbid-ab7536d7-d559-49ca-970e-51a7ab4035e0")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[77211],{1861:(e,t,n)=>{n.d(t,{A:()=>l});var o=n(44478),i=n(44739),r=n(30528),a=n(34626),s=n(37876),c={width:{xs:"100%",sm:280},flexShrink:0};function l(e){var t=e.value,n=e.onChange,l=e.onKeyDown,d=e.placeholder,u=e.disabled,g=e.id,x=e.name,p=e.autoComplete,h=e["data-testid"],m=e["data-intercomid"],f=e["data-tname"],b=e.sx;return(0,s.jsx)(a.A,{value:t,onChange:n,onKeyDown:l,placeholder:d,disabled:u,id:g,name:x,autoComplete:p,"data-testid":h,"data-intercomid":m,"data-tname":f,variant:"standard",size:"small",margin:"none",sx:[c].concat((0,o.A)(Array.isArray(b)?b:b?[b]:[])),slotProps:{htmlInput:{"aria-label":d},input:{sx:{minHeight:40,boxSizing:"border-box"},startAdornment:(0,s.jsx)(r.A,{position:"start",children:(0,s.jsx)(i.A,{sx:{fontSize:20,color:"text.disabled"}})})}}})}},37900:(e,t,n)=>{n.d(t,{A:()=>R});var o=n(42969),i=n(59234),r=n(46783),a=n(14232),s=n(7194),c=n(63857),l=n(60180),d=n.n(l),u=n(40259),g=n(14221),x=n(79753),p=n(60578),h=n(73614),m=n(98512),f=n(21471),b=n(50225),y=n(66035),w=n(40553),j=n(45911),v=n(31123);let S=function(e,t,n){var o="";switch(e){case"twitter":return"https://twitter.com/intent/tweet?url=".concat(t,"&text=").concat(n);case"facebook":return"https://www.facebook.com/sharer/sharer.php?u=".concat(t,"&quote=").concat(n);case"mail":return"mailto:?body=".concat(n," ").concat(t);case"linkedin":return"https://www.linkedin.com/sharing/share-offsite/?url=".concat(t);default:return o}};var A=n(54237),k=n(17580),C=n(37876),O=n(31777),P=n(83129);let M=(0,O.Ng)(null,function(e){return(0,P.zH)({fetchSite:s.Cc,launchSite:s.$p},e)})(function(e){var t,n=e.fetchSite,o=e.launchSite,s=e.showBanner,l=(0,A.useTranslation)(["common","site-settings","errors"]).t,O=(0,k.Sf)(),P=(0,a.useState)(!1),M=P[0],D=P[1],I=(0,a.useState)(!1),R=I[0],T=I[1],W=(0,a.useId)(),z=(0,a.useId)(),H=window.location.origin,B=function(e){var t=l("site-settings:siteSettings.socialShareLink"),n=S(e,window.location.origin,t);window.open(n)},E=function(){var e=S("mail",window.location.origin,l("site-settings:siteSettings.mailLinkText"));window.open(e)},L=(t=(0,c.A)(d().mark(function e(){return d().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o();case 2:if(e.sent){e.next=6;break}return O.error(l("errors:errors.500.title")),e.abrupt("return");case 6:return e.next=8,n();case 8:D(!1),T(!0);case 10:case"end":return e.stop()}},e)})),function(){return t.apply(this,arguments)});return(0,C.jsxs)(C.Fragment,{children:[(void 0===s||s)&&(0,C.jsxs)(m.A,{severity:"info",sx:{mx:3,mt:2,mb:0,alignItems:"center"},action:(0,C.jsx)(f.A,{variant:"contained","data-testid":"confirm-modal-button",onClick:function(){return D(!0)},children:l("site-settings:siteSettings.launchYourSite")}),children:[(0,C.jsx)(r.A,{variant:"body1",sx:{fontWeight:500},children:l("site-settings:siteSettings.launchSite.title")}),(0,C.jsx)(r.A,{variant:"body2",color:"text.secondary",children:l("site-settings:siteSettings.launchSite.descriptionTwo")})]}),(0,C.jsxs)(b.A,{open:M,onClose:function(){return D(!1)},maxWidth:"sm",fullWidth:!0,role:"alertdialog","aria-labelledby":W,children:[(0,C.jsx)(j.A,{id:W,children:l("site-settings:siteSettings.launchSite")}),(0,C.jsxs)(w.A,{children:[(0,C.jsx)(r.A,{variant:"body2",sx:{mb:2},children:l("site-settings:siteSettings.launchSiteDescription")}),(0,C.jsx)(r.A,{variant:"body2",children:l("site-settings:siteSettings.launchSitePrompt")})]}),(0,C.jsxs)(y.A,{children:[(0,C.jsx)(f.A,{onClick:function(){return D(!1)},children:l("site-settings:siteSettings.no")}),(0,C.jsx)(f.A,{variant:"contained","data-testid":"launch-button",onClick:function(){L()},children:l("site-settings:siteSettings.yes")})]})]}),(0,C.jsxs)(b.A,{open:R,onClose:function(){return T(!1)},maxWidth:!1,fullWidth:!0,"aria-labelledby":z,slotProps:{paper:{sx:{maxWidth:4
110,width:"100%",p:3.5}}},children:[(0,C.jsxs)(j.A,{id:z,sx:{display:"flex",alignItems:"center",gap:1,p:0},children:[(0,C.jsx)(g.A,{color:"info",fontSize:"small","aria-hidden":!0}),l("site-settings:siteSettings.congratulations")]}),(0,C.jsxs)(w.A,{sx:{p:3.5},children:[(0,C.jsx)(r.A,{variant:"body2",component:"h3",fontWeight:500,sx:{mt:2,mb:1},children:l("site-settings:siteSettings.launchSite.paraOne")}),(0,C.jsx)(i.A,{sx:{bgcolor:"grey.50",px:1,py:1,minHeight:40,display:"flex",alignItems:"center",borderRadius:1},children:(0,C.jsx)(r.A,{variant:"body2",children:H})}),(0,C.jsx)(f.A,{variant:"outlined","data-testid":"visit-site",onClick:function(){return window.open(H)},sx:{mt:1,minWidth:136},children:l("site-settings:siteSettings.visitSite")}),(0,C.jsx)(r.A,{variant:"body2",component:"h3",fontWeight:500,sx:{mt:3,mb:1},children:l("site-settings:siteSettings.launchSite.paraTwo")}),(0,C.jsx)(f.A,{"data-testid":"create-project",variant:"outlined",onClick:function(){return window.open("/admin/projects")},children:l("site-settings:siteSettings.createAProject")}),(0,C.jsx)(r.A,{variant:"body2",component:"h3",fontWeight:500,sx:{mt:3,mb:1},children:l("site-settings:siteSettings.launchSite.paraThree")}),(0,C.jsxs)(i.A,{sx:{display:"flex",flexWrap:"wrap",gap:1},children:[(0,C.jsx)(v.A,{"data-testid":"twitter","aria-label":"Twitter",onClick:function(){return B("twitter")},sx:{width:40,height:40,color:"#1da1f2",bgcolor:"rgba(29, 161, 242, 0.12)"},children:(0,C.jsx)(h.A,{})}),(0,C.jsx)(v.A,{"data-testid":"facebook","aria-label":"Facebook",onClick:function(){return B("facebook")},sx:{width:40,height:40,color:"#4267b2",bgcolor:"rgba(66, 103, 178, 0.12)"},children:(0,C.jsx)(u.A,{})}),(0,C.jsx)(v.A,{"data-testid":"linkedin","aria-label":"LinkedIn",onClick:function(){return B("linkedin")},sx:{width:40,height:40,color:"#0e76a8",bgcolor:"rgba(14, 118, 168, 0.12)"},children:(0,C.jsx)(x.A,{})}),(0,C.jsx)(v.A,{"data-testid":"mail","aria-label":"Email",onClick:function(){return E()},sx:{width:40,height:40,color:"text.secondary",bgcolor:"rgba(89, 89, 89, 0.12)"},children:(0,C.jsx)(p.A,{})})]})]}),(0,C.jsx)(y.A,{sx:{pr:1.5},children:(0,C.jsx)(f.A,{variant:"outlined",onClick:function(){return T(!1)},children:l("site-settings:siteSettings.close")})})]})]})});function D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function I(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?D(Object(n),!0).forEach(function(t){(0,o.default)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}let R=function(e){var t=e.title,n=e.actions,o=e.filters,s=e.navigation,c=e.bulkActions,l=e.content,d=e.isSiteSettingsPage,u=void 0!==d&&d,g=e.isSiteLaunched,x=e.stretchContentHeight,p=void 0!==x&&x,h=e.contentCardMaxWidth,m=e.contentCardAlign,f=e.contentSx,b=u&&void 0!==g&&g,y=a.Children.toArray(n).some(Boolean);return(0,C.jsxs)(i.A,{sx:I({height:"100%"},p&&{flex:1,minHeight:0,display:"flex",flexDirection:"column"}),children:[(0,C.jsxs)(i.A,{component:"header",display:"flex",flexDirection:{xs:"column",sm:"row"},alignItems:{xs:"stretch",sm:"center"},justifyContent:"space-between",gap:{xs:1.5,sm:2},bgcolor:"background.paper",px:{xs:2,sm:3},py:2,children:[(0,C.jsx)(r.A,{component:"h1",variant:"h5",color:"text.primary",fontWeight:500,minWidth:0,py:.5,children:t}),y&&(0,C.jsx)(i.A,{display:"flex",alignItems:"center",justifyContent:{xs:"flex-start",sm:"flex-end"},flexWrap:"wrap",flexShrink:0,gap:1,width:{xs:"100%",sm:"auto"},children:n})]}),o&&(0,C.jsx)(i.A,{sx:{px:{xs:2,sm:3},bgcolor:"background.paper"},children:o}),s&&(0,C.jsx)(i.A,{sx:{bgcolor:"background.paper"},children:s}),u&&(0,C.jsx)(M,{showBanner:b}),c?(0,C.jsx)(i.A,{flexShrink:0,children:c}):null,(0,C.jsx)(i.A,{sx:I(I(I(I({bgcolor:"background.paper",p:{xs:1.5,sm:"18px 24px"},position:"relative",boxSizing:"border-box"},null!=h&&h>0?I({maxWidth:h,width:"100%"},"left"===(void 0===m?"center":m)?p?{marginTop:0,marginBottom:0,marginLeft:{xs:1.5,sm:3},marginRight:"auto",alignSelf:"flex-start"}:{marginTop:{xs:1.5,sm:3},marginBottom:{xs:1.5,sm:3},marginLeft:{xs:1.5,sm:3},marginRight:"auto"}:{marginTop:p?0:{xs:1.5,sm:3},marginBottom:p?0:{xs:1.5,sm:3},marginLeft:"auto",marginRight:"auto"}):{m:{xs:1.5,sm:3}}),p?{flex:1,minHeight:0,display:"flex",flexDirection:"column"}
1:{minHeight:{xs:"calc(100dvh - 140px)",sm:"calc(100vh - 140px)"}}),b?{mt:2}:{}),f),children:l})]})}},46700:(e,t,n)=>{n.d(t,{u:()=>a});var o=n(42969),i=n(34637),r=["name","subject","login","owner"].map(function(e){return"& .".concat(i.x.cell,'[data-field="').concat(e,'"]')}).join(", "),a=(0,o.default)((0,o.default)((0,o.default)((0,o.default)((0,o.default)((0,o.default)((0,o.default)((0,o.default)({border:"none",minHeight:0,height:"100%",width:"100%"},r,{py:2,px:2}),"& .".concat(i.x.columnHeaders),{borderRadius:0,borderBottom:"1px solid",borderColor:"divider",bgcolor:function(e){return"dark"===e.palette.mode?"rgba(255,255,255,0.03)":"grey.50"}}),"& .".concat(i.x.columnHeader),{py:1.5,px:1.25}),"& .".concat(i.x.cell),{borderColor:"divider",py:1.75,px:1.25}),"& .".concat(i.x.columnHeaderCheckbox,", & .").concat(i.x.cellCheckbox),{p:0,justifyContent:"center",alignItems:"center"}),"& .".concat(i.x.columnHeaderCheckbox," .").concat(i.x.columnHeaderTitleContainer),{justifyContent:"center",width:"100%",p:0,m:0}),"& .".concat(i.x.row),{"&:hover":{bgcolor:function(e){return"dark"===e.palette.mode?"rgba(255,255,255,0.04)":"grey.50"}}}),"& .".concat(i.x.footerContainer),{borderTop:"1px solid",borderColor:"divider"})},54228:(e,t,n)=>{n.d(t,{m:()=>b});var o=n(44478),i=n(42969),r=n(59234),a=n(99343),s=n(71886),c=n(18269),l=n(54237),d=n(14232),u=n(46700),g=n(37876);function x(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?x(Object(n),!0).forEach(function(t){(0,i.default)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var h=["asc","desc",null];function m(e){var t=e.message,n=e.overlay;return(0,g.jsx)(r.A,{sx:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",height:"100%",typography:"body2",color:"text.secondary",px:2,textAlign:"center"},children:null!=n?n:t})}function f(e){var t=e.summary,n=e.dataTestId,o=null!=t&&!1!==t,i=d.useMemo(function(){var e;return e=n?"".concat(n,"-pagination"):void 0,{root:{sx:{display:"block",width:"100%",overflow:"visible",typography:"caption",color:"text.secondary"}},toolbar:{sx:p({alignItems:"center",flexWrap:"nowrap",boxSizing:"border-box"},o?{pl:0}:{})},selectLabel:{sx:{typography:"caption",color:"text.secondary",m:0,alignSelf:"center"}},displayedRows:{sx:{typography:"caption",color:"text.secondary",m:0,alignSelf:"center"}},select:p({sx:{typography:"caption",color:"text.primary",alignSelf:"center"}},e?{inputProps:{"data-testid":"".concat(e,"-pageSize")}}:{}),actions:{previousButton:p({sx:{color:"text.secondary"}},e?{"data-testid":"".concat(e,"-prev")}:{}),nextButton:p({sx:{color:"text.secondary"}},e?{"data-testid":"".concat(e,"-next")}:{}),firstButton:p({sx:{color:"text.secondary"}},e?{"data-testid":"".concat(e,"-first")}:{}),lastButton:p({sx:{color:"text.secondary"}},e?{"data-testid":"".concat(e,"-last")}:{})}}},[o,n]);return(0,g.jsxs)(a.J,{sx:p({pr:6,bgcolor:"background.paper"},o?{flexWrap:"wrap",rowGap:1,columnGap:2,pl:1}:{}),children:[o&&(0,g.jsx)(r.A,{component:"span",sx:{typography:"body2",color:"text.secondary",alignSelf:"center"},children:t}),(0,g.jsx)(s.h,{slotProps:i,sx:o?{flex:1,minWidth:0,border:0,margin:0}:void 0})]})}function b(e){var t=e.rows,n=e.columns,i=e.getRowId,r=e.loading,a=e.rowCount,s=e.page,x=e.pageSize,p=e.pageSizeOptions,b=e.onPageChange,y=e.onPageSizeChange,w=e.sortModel,j=e.onSortModelChange,v=e.emptyMessage,S=e.emptyOverlay,A=e.checkboxSelection,k=e.keepNonExistentRowsSelected,C=e.rowSelectionModel,O=e.onRowSelectionModelChange,P=e.paginationSummary,M=e.className,D=e.sx,I=e.dataTestId,R=e.slotProps,T=e.disableColumnMenu,W=e.getRowHeight,z=(0,l.useTranslation)(),H=z.t,B=z.i18n,E=d.useMemo(function(){return{MuiTablePagination:{labelRowsPerPage:H("common.rowsPerPage"),labelDisplayedRows:function(e){var t=e.from,n=e.to,o=e.count;return -1!==o?H("common.tablePaginationDisplayedRows",{from:t,to:n,count:o}):H("common.tablePaginationDisplayedRowsMoreThan",{from:t,to:n})}}}},[B.language]),L=Math.min(x,100),_=d.useMemo(function(){return{page:Math.max(0,s-1),pageSize:L}},[s,L]),N=d.useCallback(function(e,t){var n=Math.max(0,s-1);e.pageSize!==L?y(e.pageSize,e.page+1):e.page!==n&&b(e.page+1)},[s,L,b,y]),F=d.useCallback(function(){return(0,g.jsx)(m,{message:v,overlay:S})},[v,S]),G=d.useCallback(function(){return(0,g.jsx)(f,{summary:P,dataTestId:I})},[P,I]);return(0,g.jsx)(c.z,{className:M,rows:t,columns:n,getRowId:i,loading:r,rowCount:a,paginationModel:_,onPaginationModelChange:N,pageSizeOptions:void 0===p?[10,20,25,50,100]:p,paginationMode:"server",sortingMode:"server",sortModel:void 0===w?[]:w,onSortModelChange:void 0===j?function(){}:j,sortingOrder:h,disableRowSelectionOnClick:!0,checkboxSelection:A,keepNonExistentRowsSelected:k,rowSelectionModel:C,onRowSelectionModelChange:O,disableColumnMenu:void 0===T||T,hideFooterSelectedRowCount:!0,slots:{noRowsOverlay:F,footer:G},slotProps:R,localeText:E,getRowHeight:W,sx:[u.u,{minHeight:360}].concat((0,o.A)(Array.isArray(D)?D:D?[D]:[]))})}}}]);
2//# sourceMappingURL=77211-d8eb528a696e101d.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.