PageSourceSearch

https://www.goulburnpost.com.au/assets/_next/static/chunks/861.2e3b1c8a755d2b03.js

js goulburnpost.com.au collected 2026-10-02 05:06:47 UTC 7,480 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[861],{31817:(o,r,t)=>{t.d(r,{$8:()=>s,GI:()=>C,Ix:()=>f,JE:()=>x,Pz:()=>i,Sz:()=>l,WO:()=>m,es:()=>p,gf:()=>g,j6:()=>_,py:()=>d,vX:()=>w});var n,c,e=t(76367),a=t(91167),i=((n={}).CROP="crop",n.SCALE="scale",n.MAX="max",n),u={landscape:"aspect-w-16 aspect-h-9",portrait:"",square:"aspect-w-1 aspect-h-1",strap:""};function f(o){return u[function(o){var r="landscape";if(o){var t=o.cropHeight,n=o.cropWidth;void 0!==t&&void 0!==n&&(Math.min(n,t)/Math.max(n,t)>.8?r="square":t/n<.3?r="strap":t>n&&(r="portrait"))}return r}(o)]}var h={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}};function p(o){var r,t,n=o.sourceHeight,c=o.sourceWidth,e={cropHeight:n,cropWidth:c,cropX:0,cropY:0,focalX:Math.round(c/2),focalY:Math.round(n/2),scale:1};return c>=n&&(c/n>16/9?(e.cropHeight=n,e.cropWidth=16*n/9):c/n<16/9&&(e.cropWidth=c,e.cropHeight=9*c/16),e.cropX=(c-(null!=(r=e.cropWidth)?r:0))/2,e.cropY=(n-(null!=(t=e.cropHeight)?t:0))/2),e.cropX<0&&(e.cropX=0),e.cropY<0&&(e.cropY=0),e}function l(o){var r=o.aspect,t=o.focalX,n=o.focalY,c=o.height,e=void 0===c?1:c,a=o.scale,i=void 0===a?1:a,u=o.width,f=void 0===u?1:u,h=f/i,p=e/i;r>f/e?p=h/r:h=p*r;var l=n-n/e*p;return{height:Math.round(p),topX:Math.round(t-t/f*h),topY:Math.round(l),width:Math.round(h)}}var d=((c={}).JPG="jpg",c.WEBP="webp",c);function s(o){var r=o.fit,t=o.height,n=o.ignoreCrop,c=void 0!==n&&n,i=o.image,u=o.outputFormat,f=void 0===u?"jpg":u,p=o.size,d=o.useFocalPoint,s=void 0===d||d,v=o.width,w="cropConfig"in i?i.cropConfig:void 0,m={f:"crop",h:t,w:v};if(p&&!(m=(0,e._)({},h[p])))throw Error("Unsupported transform size ".concat(p));if(r&&(m.f=r),m.path=i.uri.replace(/^\/+|\/+$/g,""),void 0===m.h&&(m.h=0),void 0===m.w&&(m.w=0),void 0===m.f&&(m.f="crop"),c||!((g="cropConfig"in i?i.cropConfig:void 0)&&g.cropWidth))m.transform="resize",m.request=0!==m.h?"w".concat(m.w,"_h").concat(m.h,"_f").concat(c?"max":m.f,".").concat(f):"w".concat(m.w,"_h").concat(m.h,".").concat(f,"?resize_filter=lanczos2&quality=100");else{var g,x,_,C,b=function(o,r){var t=!(arguments.length>2)||void 0===arguments[2]||arguments[2],n="cropConfig"in o?o.cropConfig:void 0;if(!n)return[];if(t&&void 0!==n.focalX&&void 0!==n.focalY){var c=l({aspect:r,focalX:n.focalX-n.cropX,focalY:n.focalY-n.cropY,height:n.cropHeight,width:n.cropWidth}),e=Math.round(c.topX+n.cropX),a=Math.round(c.topY+n.cropY);return[[e,a],[Math.round(e+c.width),Math.round(a+c.height)]]}return[[Math.round(n.cropX),Math.round(n.cropY)],[Math.round(n.cropX+(n.cropWidth||0)),Math.round(n.cropY+(n.cropHeight||0))]]}(i,0===m.h?1:m.w/m.h,s);m.transform="crop",x=(0,a._)(b,2),_=(0,a._)(x[0],2),m.x1=_[0],m.y1=_[1],C=(0,a._)(x[1],2),m.x2=C[0],m.y2=C[1],s&&(null==w?void 0:w.focalX)!==void 0&&(m.f="max"),m.request="r".concat(m.x1,"_").concat(m.y1,"_").concat(m.x2,"_").concat(m.y2,"_")+"w".concat(m.w,"_h").concat(m.h,"_f").concat(m.f,".").concat(f)}return m}function v(o){var r=s(o),t="transform/v1/".concat(r.transform,"/frm/").concat(r.path,"/");return"".concat(t).concat(r.request)}function w(o){var r=s(o);return[r.x1+r.x2,r.y1+r.y2]}function m(o){var r=o.fit,t=o.height,n=o.ignoreCrop,c=o.image,e=o.outputFormat,a=o.size,i=o.transformUrl,u=o.useFocalPoint,f=o.width;if(a&&(f||t))throw Error("Cannot use fixedSize and dimensions together");
1return"".concat(i).concat(v({fit:r,height:t,ignoreCrop:n,image:c,outputFormat:e,size:a,useFocalPoint:u,width:f}))}function g(o){var r=o.fit,t=o.height,n=o.image,c=o.outputFormat,e=o.transformUrl,a=o.width;return"".concat(e).concat(v({fit:void 0===r?"crop":r,height:t,ignoreCrop:!1,image:n,outputFormat:c,useFocalPoint:!1,width:a}))}function x(o){var r=o.height,t=o.image,n=o.outputFormat,c=o.transformUrl,e=o.width;return"".concat(c).concat(v({height:r,ignoreCrop:!0,image:t,outputFormat:void 0===n?"jpg":n,useFocalPoint:!1,width:e}))}function _(o){return"uri"in o&&!!o.uri}function C(o){return new Promise(function(r){var t=new Image;t.onload=function(){return r(!0)},t.onerror=function(){return r(!1)},t.src=o})}},50172:(o,r,t)=>{t.d(r,{A:()=>h,m:()=>f});var n=t(76367),c=t(30694),e=t(91167),a=t(60143),i=t(45159),u=t(62715),f=(0,i.createContext)({addStory(){},forStory:()=>null});function h(o){var r=o.children,t=(0,u.GV)(function(o){return o.features.viafoura}),h=(0,e._)((0,i.useState)({}),2),p=h[0],l=h[1];(0,i.useEffect)(function(){t.enabled&&Object.entries(p).forEach(function(o){var r=(0,e._)(o,2),t=r[0],a=Object.entries(r[1]).filter(function(o){return void 0===(0,e._)(o,2)[1]}).map(function(o){return(0,e._)(o,1)[0]});0!==a.length&&(l(function(o){var r=(0,n._)({},o);return a.forEach(function(o){r[t][o]=null}),r}),fetch("https://livecomments.viafoura.co/v4/livecomments/"+"".concat(t,"/content-containers/")+"comment-count-and-status/by-container-ids",{body:JSON.stringify(a),method:"POST"}).then(function(o){if(!o.ok)throw l(function(o){var r=(0,n._)({},o);return a.forEach(function(o){r[t][o]=0}),r}),Error("Viafoura comment count response error");return o}).then(function(o){return o.json()}).then(function(o){l(function(r){var e,a=!1,i=null!=(e=r[t])?e:{};return(o.forEach(function(o){var r=o.commentCount,t=o.containerId;i[t]!==r&&(a=!0,i[t]=r)}),a)?(0,c._)((0,n._)({},r),{[t]:i}):r})}).catch(function(o){console.error(o)}))})},[p,t]);var d=t.enabled?t.data.sectionUuid:"",s=(0,i.useCallback)(function(o){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d;t.enabled&&l(function(t){return t[r]&&o in t[r]?t:(0,c._)((0,n._)({},t),{[r]:(0,c._)((0,n._)({},t[r]),{[o]:void 0})})})},[d,t.enabled]),v=(0,i.useCallback)(function(o){var r,t,n;return null!=(t=null==(n=p[null!=(r=o.viafouraSyndicationSectionUuid)?r:d])?void 0:n[o.id])?t:null},[p,d]),w=(0,i.useMemo)(function(){return{addStory:s,forStory:v}},[s,v]);return t.enabled?(0,a.jsx)(f.Provider,{value:w,children:r}):(0,a.jsx)(a.Fragment,{children:r})}},75144:(o,r,t)=>{t.r(r),t.d(r,{default:()=>u});var n=t(60143),c=t(45159),e=t(65389),a=t(69274),i=t(94232);let u=function(o){var r=o.zoneItemData,t=r.enableOrder,u=void 0===t||t,f=r.label,h=r.limit,p=r.listType,l=r.offset,d=r.showCanonicalSite,s=r.stories,v=r.storyListId,w=r.summaryOptions,m=r.useCanonicalUrl,g=o.zoneItemId,x=(0,c.useMemo)(function(){return{enableOrder:u,label:f,storyListId:v,summaryOptions:w,useCanonicalUrl:m,zoneItemId:g}},[u,f,v,w,m,g]),_=null!=h?h:20,C=s;if(s.length>_){var b=l-1;C=s.slice(b,b+_)}if(0===C.length)return null;var y=C.map(function(o,r){return{index:l+r,story:o}});return(0,n.jsx)(a.A.Provider,{value:x,children:(0,n.jsx)("div",{className:"border-gray-300",children:(0,n.jsx)(i.u_,{showAll:p===e.m1.Dailymotion,showCanonicalSite:d,stories:y})})})}}}]);

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.