PageSourceSearch

https://www.redlandcitybulletin.com.au/assets/_next/static/chunks/312.97e81658c909b520.js

js redlandcitybulletin.com.au collected 2026-10-02 10:53:04 UTC 10,049 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[312],{10312:(t,r,o)=>{o.r(r),o.d(r,{default:()=>i});var e=o(60143);o(45159);var a=o(28696);let i=function(t){var r=t.zoneItemData,o=r.title,i=r.ugc;return i.length?(0,e.jsx)("div",{className:"@container",children:(0,e.jsx)(a.A,{photos:i,title:o})}):null}},28696:(t,r,o)=>{o.d(r,{A:()=>s});var e=o(98952),a=o(60143),i=o(45159),c=o(65019),n=o(62096),l=o(71045);function u(t){var r=t.id,o=t.imageUrl,e=t.isLast,u=t.isStory,s=void 0!==u&&u,d=t.itemUrl,h=t.onClick,p=t.title,f=(0,i.useCallback)(function(){null==h||h(),s?(0,l.xN)({action:"click",category:"articles",label:p,section:"Featured Galleries"},"article_interaction"):(0,l.xN)({action:"click",label:p,section:"photos",ugc_id:r},"ugc_interaction")},[r,s,h,p]);return void 0!==e&&e?(0,a.jsxs)(c.A,{className:"group relative block size-full",href:"/notice-board/photos/",children:[(0,a.jsx)(n.A,{alt:"More items",className:"block aspect-square size-full object-cover",url:o,width:200}),(0,a.jsx)("div",{className:"absolute inset-0 bg-black opacity-30"}),(0,a.jsx)("span",{className:"absolute inset-0 flex items-center justify-center font-semibold text-white",children:"+ View More"})]}):(0,a.jsxs)("div",{className:"group relative",children:[(0,a.jsx)(c.A,{className:"absolute flex size-full flex-col items-center justify-center bg-black opacity-30 transition-opacity duration-300 group-hover:opacity-0",href:d,onClick:f},r),(0,a.jsx)(n.A,{alt:p,className:"aspect-square size-full min-h-6 object-cover",url:o,width:200}),(0,a.jsx)("span",{className:"absolute bottom-4 left-4 z-10 mr-2 line-clamp-2 text-sm font-semibold leading-5 text-white underline opacity-100 transition-opacity duration-300 group-hover:opacity-0",children:p})]})}function s(t){var r=t.onClick,o=t.photos,c=t.title,n=(0,i.useMemo)(function(){if(o.length<4)return[];for(var t=(0,e._)(o),r=t.length-1;r>0;r--){var a,i=Math.floor(Math.random()*(r+1));a=[t[i],t[r]],t[r]=a[0],t[i]=a[1]}return t.slice(0,4)},[o]);return 0===n.length?null:(0,a.jsxs)("div",{className:"mb-5 rounded-md border border-gray-300 px-4 py-6 font-inter shadow-sm @md:px-10 @md:py-7",children:[!!c&&(0,a.jsx)("h2",{className:"mb-6 text-xl font-semibold @md:mb-0",children:c}),(0,a.jsx)("div",{className:"mt-2 grid w-full grid-cols-2 items-start gap-1 @md:mt-3 @md:grid-cols-4",children:n.map(function(t,e){var i,c,l="summary"in t,s=l?null==(i=t.leadImage)?void 0:i.uri:null==(c=t.images)?void 0:c[0],d=l?t.storyUrl:t.canonicalUrl;return s?(0,a.jsx)(u,{id:t.id,imageUrl:s,isLast:o.length>4&&e===n.length-1,isStory:l,itemUrl:d,onClick:r&&function(){return r(t)},title:t.title},t.id):null})})]})}},31817:(t,r,o)=>{o.d(r,{$8:()=>f,GI:()=>b,Ix:()=>u,JE:()=>x,Pz:()=>n,Sz:()=>h,WO:()=>v,es:()=>d,gf:()=>w,j6:()=>y,py:()=>p,vX:()=>m});var e,a,i=o(76367),c=o(91167),n=((e={}).CROP="crop",e.SCALE="scale",e.MAX="max",e),l={landscape:"aspect-w-16 aspect-h-9",portrait:"",square:"aspect-w-1 aspect-h-1",strap:""};function u(t){return l[function(t){var r="landscape";if(t){var o=t.cropHeight,e=t.cropWidth;void 0!==o&&void 0!==e&&(Math.min(e,o)/Math.max(e,o)>.8?r="square":o/e<.3?r="strap":o>e&&(r="portrait"))}return r}(t)]}var s={c100x66:{f:"crop",h:66,w:100},c105x70:{f:"crop",h:70,w:105},c200x132:{f:"crop",h:132,w:200},c284x270:{f:"crop",h:270,w:284},c370x246:{f:"crop",h:246,w:370},c370x270:{f:"crop",h:270,w:370},c576x298:{f:"crop",h:298,w:576},c627x561:{f:"crop",h:561,w:627},c700x400:{f:"crop",h:400,w:770},c800x561:{f:"crop",h:561,w:800},c1200x678:{f:"crop",h:678,w:1200},cartoon:{f:"crop",h:365,w:500},cartoonLarge:{f:"crop",h:730,w:1e3},deep:{f:"crop",h:630,w:470},exploreTravel:{f:"crop",h:651,w:980},feature:{f:"crop",h:300,w:850},iphone:{f:"crop",h:320,w:320},iphone2x:{f:"scale",h:640,w:640},large:{f:"crop",h:678,w:1200},medium:{f:"crop",h:298,w:576},postcard:{f:"crop",h:180,w:270},small:{f:"crop",h:246,w:370},square:{f:"crop",h:320,w:470},thumbnail:{f:"crop",h:90,w:130},thumbnailLarge:{f:"crop",h:145,w:215},thumbnailSmall:{f:"crop",h:60,w:90},tiny:{f:"crop",h:132,w:200},wide:{f:"crop",h:210,w:370}};
1function d(t){var r,o,e=t.sourceHeight,a=t.sourceWidth,i={cropHeight:e,cropWidth:a,cropX:0,cropY:0,focalX:Math.round(a/2),focalY:Math.round(e/2),scale:1};return a>=e&&(a/e>16/9?(i.cropHeight=e,i.cropWidth=16*e/9):a/e<16/9&&(i.cropWidth=a,i.cropHeight=9*a/16),i.cropX=(a-(null!=(r=i.cropWidth)?r:0))/2,i.cropY=(e-(null!=(o=i.cropHeight)?o:0))/2),i.cropX<0&&(i.cropX=0),i.cropY<0&&(i.cropY=0),i}function h(t){var r=t.aspect,o=t.focalX,e=t.focalY,a=t.height,i=void 0===a?1:a,c=t.scale,n=void 0===c?1:c,l=t.width,u=void 0===l?1:l,s=u/n,d=i/n;r>u/i?d=s/r:s=d*r;var h=e-e/i*d;return{height:Math.round(d),topX:Math.round(o-o/u*s),topY:Math.round(h),width:Math.round(s)}}var p=((a={}).JPG="jpg",a.WEBP="webp",a);function f(t){var r=t.fit,o=t.height,e=t.ignoreCrop,a=void 0!==e&&e,n=t.image,l=t.outputFormat,u=void 0===l?"jpg":l,d=t.size,p=t.useFocalPoint,f=void 0===p||p,g=t.width,m="cropConfig"in n?n.cropConfig:void 0,v={f:"crop",h:o,w:g};if(d&&!(v=(0,i._)({},s[d])))throw Error("Unsupported transform size ".concat(d));if(r&&(v.f=r),v.path=n.uri.replace(/^\/+|\/+$/g,""),void 0===v.h&&(v.h=0),void 0===v.w&&(v.w=0),void 0===v.f&&(v.f="crop"),a||!((w="cropConfig"in n?n.cropConfig:void 0)&&w.cropWidth))v.transform="resize",v.request=0!==v.h?"w".concat(v.w,"_h").concat(v.h,"_f").concat(a?"max":v.f,".").concat(u):"w".concat(v.w,"_h").concat(v.h,".").concat(u,"?resize_filter=lanczos2&quality=100");else{var w,x,y,b,_=function(t,r){var o=!(arguments.length>2)||void 0===arguments[2]||arguments[2],e="cropConfig"in t?t.cropConfig:void 0;if(!e)return[];if(o&&void 0!==e.focalX&&void 0!==e.focalY){var a=h({aspect:r,focalX:e.focalX-e.cropX,focalY:e.focalY-e.cropY,height:e.cropHeight,width:e.cropWidth}),i=Math.round(a.topX+e.cropX),c=Math.round(a.topY+e.cropY);return[[i,c],[Math.round(i+a.width),Math.round(c+a.height)]]}return[[Math.round(e.cropX),Math.round(e.cropY)],[Math.round(e.cropX+(e.cropWidth||0)),Math.round(e.cropY+(e.cropHeight||0))]]}(n,0===v.h?1:v.w/v.h,f);v.transform="crop",x=(0,c._)(_,2),y=(0,c._)(x[0],2),v.x1=y[0],v.y1=y[1],b=(0,c._)(x[1],2),v.x2=b[0],v.y2=b[1],f&&(null==m?void 0:m.focalX)!==void 0&&(v.f="max"),v.request="r".concat(v.x1,"_").concat(v.y1,"_").concat(v.x2,"_").concat(v.y2,"_")+"w".concat(v.w,"_h").concat(v.h,"_f").concat(v.f,".").concat(u)}return v}function g(t){var r=f(t),o="transform/v1/".concat(r.transform,"/frm/").concat(r.path,"/");return"".concat(o).concat(r.request)}function m(t){var r=f(t);return[r.x1+r.x2,r.y1+r.y2]}function v(t){var r=t.fit,o=t.height,e=t.ignoreCrop,a=t.image,i=t.outputFormat,c=t.size,n=t.transformUrl,l=t.useFocalPoint,u=t.width;if(c&&(u||o))throw Error("Cannot use fixedSize and dimensions together");return"".concat(n).concat(g({fit:r,height:o,ignoreCrop:e,image:a,outputFormat:i,size:c,useFocalPoint:l,width:u}))}function w(t){var r=t.fit,o=t.height,e=t.image,a=t.outputFormat,i=t.transformUrl,c=t.width;return"".concat(i).concat(g({fit:void 0===r?"crop":r,height:o,ignoreCrop:!1,image:e,outputFormat:a,useFocalPoint:!1,width:c}))}function x(t){var r=t.height,o=t.image,e=t.outputFormat,a=t.transformUrl,i=t.width;return"".concat(a).concat(g({height:r,ignoreCrop:!0,image:o,outputFormat:void 0===e?"jpg":e,useFocalPoint:!1,width:i}))}function y(t){return"uri"in t&&!!t.uri}function b(t){return new Promise(function(r){var o=new Image;o.onload=function(){return r(!0)},o.onerror=function(){return r(!1)},o.src=t})}},62096:(t,r,o)=>{o.d(r,{A:()=>c});var e=o(60143),a=o(62715),i=o(31817);function c(t){var r=t.alt,o=t.className,c=t.height,n=t.url,l=t.width,u=(0,a.GV)(function(t){return t.settings.transformUrl});if(!n)return null;var s={uri:n};return(0,e.jsxs)("picture",{children:[(0,e.jsx)("source",{srcSet:"".concat((0,i.WO)({fit:i.Pz.MAX,height:c,image:s,outputFormat:i.py.WEBP,transformUrl:u,width:l})," 1x, ").concat((0,i.WO)({fit:i.Pz.MAX,height:c?2*c:void 0,image:s,outputFormat:i.py.WEBP,transformUrl:u,width:l?2*l:void 0})," 2x"),type:"image/webp"}),(0,e.jsx)("img",{alt:r,"aria-hidden":"true",className:o,src:(0,i.WO)({fit:i.Pz.MAX,height:c,image:s,transformUrl:u,width:l}),srcSet:"".concat((0,i.WO)({fit:i.Pz.MAX,height:c,image:s,transformUrl:u,width:l})," 1x, ").concat((0,i.WO)({fit:i.Pz.MAX,height:c?2*c:void 0,image:s,transformUrl:u,width:l?2*l:void 0})," 2x")})]})}},71045:(t,r,o)=>{o.d(r,{SQ:()=>f,X_:()=>h,bp:()=>s,rF:()=>p,xN:()=>d});var e=o(76367),a=o(30694),i=o(73321),c=o(62715),n=o(70044),l=o(63233),u=o(42696);function s(t,r){(0,l.CI)({data:{ad_category:t.categoryText||t.category.name,ad_date:t.publicationDate,ad_id:t.id,ad_title:t.title},event:r})}
1function d(t,r,o){var i,c,n,u,s;(0,l.CI)({data:(0,a._)((0,e._)({},t),{ad_category:void 0,ad_date:void 0,ad_id:void 0,ad_title:void 0,businessCategory:null!=(i=t.businessCategory)?i:void 0,businessName:null!=(c=t.businessName)?c:void 0,category:null!=(n=t.category)?n:void 0,signPost:null!=(u=t.signPost)?u:void 0,ugc_id:null!=(s=t.ugc_id)?s:void 0}),event:r,storyTags:null!=o?o:void 0})}function h(t,r){return r===n.It?t.images[1]:t.logo}function p(t){if(t.dateBorn){var r,o,e,a=new Date(t.dateBorn);if(t.dateDeceased){var i=new Date(t.dateDeceased);e=i.getFullYear();var c=Math.floor((i.getTime()-a.getTime())/1e3/60/60/24);r=0;for(var n=a.getFullYear();n<=i.getFullYear();n+=1){var l,s=(l=n)%4==0&&(l%100!=0||l%400==0)?366:365;c>=s&&(c-=s,r+=1)}}o=a.getFullYear()}else t.yearDeceased&&(e=t.yearDeceased,t.yearBorn&&(o=t.yearBorn));var d=[];return e&&(o?d.push("".concat(o," - ").concat(e)):d.push(e.toString())),void 0!==r&&d.push("Aged ".concat(r," year").concat((0,u.LS)(r))),d}function f(){var t,r,o,e,a,n=(0,i.useSearchParams)(),l=null!=(t=null==n||null==(e=n.get("q"))?void 0:e.trim())?t:"",u=null!=(r=null==n||null==(a=n.get("date"))?void 0:a.trim())?r:"",s=null!=(o=null==n?void 0:n.get("location"))?o:"",d=(0,c.GV)(function(t){return t.features.ugc.enabled&&t.features.ugc.data.useRegion}),h=null==n?void 0:n.get("region");return{date:u,isSearching:!!(l||u||s),location:s,query:l,region:null===h?d:"1"===h,regionDefault:d}}}}]);

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.