PageSourceSearch

https://www.bluemountainsgazette.com.au/assets/_next/static/chunks/97.fbacc067262cda12.js

js bluemountainsgazette.com.au collected 2026-10-02 06:15:15 UTC 10,866 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[97],{3388:(e,r,t)=>{t.d(r,{A:()=>s});var o=t(76367),i=t(91167),a=t(60143),c=t(29722);t(45159);var n=t(62715),l=t(31817);let s=function(e){var r=e.alt,t=e.desktopHeight,s=e.desktopWidth,d=e.fitMode,h=e.fixedSize,p=e.height,f=void 0===p?0:p,u=e.highPriority,m=e.ignoreCrop,x=e.image,g=e.imageClassName,w=e.lazyLoad,v=void 0===w||w,y=e.noTransformUrl,j=void 0!==y&&y,b=e.resize,z=void 0!==b&&b,N=e.sourceFixedSize,W=e.style,P=e.tabletHeight,_=e.tabletWidth,F=e.title,M=void 0===F?"":F,S=e.width,X=void 0===S?0:S,C=(0,n.GV)(function(e){return e.settings}).transformUrl;if(!(0,l.j6)(x))return null;var Y=(0,i._)((0,l.vX)({fit:d,height:f,image:x,size:N,useFocalPoint:!1,width:X}),2),A=Y[0],E=Y[1],H=function(e,r,t,o){return"".concat((0,l.WO)({fit:d,height:t,ignoreCrop:m,image:r,outputFormat:e,transformUrl:C,width:o})," 1x, ").concat((0,l.WO)({fit:d,height:2*t,ignoreCrop:m,image:r,outputFormat:e,transformUrl:C,width:2*o})," 2x")},I=h?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("source",{media:"(max-width: 767px)",srcSet:"".concat((0,l.WO)({fit:d,height:f,ignoreCrop:m,image:x,outputFormat:l.py.WEBP,size:N,transformUrl:C,useFocalPoint:!1,width:X})," 1x")}),(0,a.jsx)("source",{media:"(max-width: 767px)",srcSet:"".concat((0,l.WO)({fit:d,height:f,ignoreCrop:m,image:x,size:N,transformUrl:C,useFocalPoint:!1,width:X})," 1x")}),(0,a.jsx)("source",{srcSet:"".concat((0,l.WO)({fit:d,height:f,ignoreCrop:m,image:x,outputFormat:l.py.WEBP,size:h,transformUrl:C,useFocalPoint:!1,width:X})," 1x"),type:"image/webp"}),(0,a.jsx)("img",{alt:r,className:(0,c.A)("mx-auto",g,{"w-full":z||A>=E}),fetchPriority:void 0!==u&&u?"high":void 0,loading:v?"lazy":void 0,src:j?x.uri:(0,l.WO)({fit:d,height:f,ignoreCrop:m,image:x,size:h,transformUrl:C,useFocalPoint:!1,width:X}),style:W,title:M})]}):(0,a.jsxs)(a.Fragment,{children:[!j&&s&&t&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("source",{media:"(min-width: 835px)",srcSet:H(l.py.WEBP,x,t,s),type:"image/webp"}),(0,a.jsx)("source",{media:"(min-width: 835px)",srcSet:H(l.py.JPG,x,t,s),type:"image/jpeg"})]}),!j&&_&&P&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("source",{media:"(min-width: 768px) and (max-width: 834px)",srcSet:H(l.py.WEBP,x,P,_),type:"image/webp"}),(0,a.jsx)("source",{media:"(min-width: 768px) and (max-width: 834px)",srcSet:H(l.py.JPG,x,P,_),type:"image/jpeg"})]}),(0,a.jsx)("source",{srcSet:j?x.uri:H(l.py.WEBP,x,f,X),type:j?void 0:"image/webp"}),(0,a.jsx)("img",{alt:r,className:(0,c.A)("mx-auto",g,{"w-full":z||A>=E}),height:z?void 0:f,loading:v?"lazy":void 0,src:j?x.uri:(0,l.WO)({fit:d,height:f,image:x,transformUrl:C,width:X}),srcSet:j?x.uri:"".concat((0,l.WO)({fit:d,height:2*f,ignoreCrop:m,image:x,transformUrl:C,width:2*X})," 2x"),style:(0,o._)({height:z?"auto":"".concat(f,"px")},W),title:M,width:z?void 0:X})]});return(0,a.jsx)("picture",{children:I})}},31817:(e,r,t)=>{t.d(r,{$8:()=>u,GI:()=>j,Ix:()=>s,JE:()=>v,Pz:()=>n,Sz:()=>p,WO:()=>g,es:()=>h,gf:()=>w,j6:()=>y,py:()=>f,vX:()=>x});var o,i,a=t(76367),c=t(91167),n=((o={}).CROP="crop",o.SCALE="scale",o.MAX="max",o),l={landscape:"aspect-w-16 aspect-h-9",portrait:"",square:"aspect-w-1 aspect-h-1",strap:""};function s(e){return l[function(e){var r="landscape";if(e){var t=e.cropHeight,o=e.cropWidth;void 0!==t&&void 0!==o&&(Math.min(o,t)/Math.max(o,t)>.8?r="square":t/o<.3?r="strap":t>o&&(r="portrait"))}return r}(e)]}var d={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 h(e){var r,t,o=e.sourceHeight,i=e.sourceWidth,a={cropHeight:o,cropWidth:i,cropX:0,cropY:0,focalX:Math.round(i/2),focalY:Math.round(o/2),scale:1};return i>=o&&(i/o>16/9?(a.cropHeight=o,a.cropWidth=16*o/9):i/o<16/9&&(a.cropWidth=i,a.cropHeight=9*i/16),a.cropX=(i-(null!=(r=a.cropWidth)?r:0))/2,a.cropY=(o-(null!=(t=a.cropHeight)?t:0))/2),a.cropX<0&&(a.cropX=0),a.cropY<0&&(a.cropY=0),a}function p(e){var r=e.aspect,t=e.focalX,o=e.focalY,i=e.height,a=void 0===i?1:i,c=e.scale,n=void 0===c?1:c,l=e.width,s=void 0===l?1:l,d=s/n,h=a/n;r>s/a?h=d/r:d=h*r;var p=o-o/a*h;return{height:Math.round(h),topX:Math.round(t-t/s*d),topY:Math.round(p),width:Math.round(d)}}var f=((i={}).JPG="jpg",i.WEBP="webp",i);function u(e){var r=e.fit,t=e.height,o=e.ignoreCrop,i=void 0!==o&&o,n=e.image,l=e.outputFormat,s=void 0===l?"jpg":l,h=e.size,f=e.useFocalPoint,u=void 0===f||f,m=e.width,x="cropConfig"in n?n.cropConfig:void 0,g={f:"crop",h:t,w:m};if(h&&!(g=(0,a._)({},d[h])))throw Error("Unsupported transform size ".concat(h));if(r&&(g.f=r),g.path=n.uri.replace(/^\/+|\/+$/g,""),void 0===g.h&&(g.h=0),void 0===g.w&&(g.w=0),void 0===g.f&&(g.f="crop"),i||!((w="cropConfig"in n?n.cropConfig:void 0)&&w.cropWidth))g.transform="resize",g.request=0!==g.h?"w".concat(g.w,"_h").concat(g.h,"_f").concat(i?"max":g.f,".").concat(s):"w".concat(g.w,"_h").concat(g.h,".").concat(s,"?resize_filter=lanczos2&quality=100");else{var w,v,y,j,b=function(e,r){var t=!(arguments.length>2)||void 0===arguments[2]||arguments[2],o="cropConfig"in e?e.cropConfig:void 0;if(!o)return[];if(t&&void 0!==o.focalX&&void 0!==o.focalY){var i=p({aspect:r,focalX:o.focalX-o.cropX,focalY:o.focalY-o.cropY,height:o.cropHeight,width:o.cropWidth}),a=Math.round(i.topX+o.cropX),c=Math.round(i.topY+o.cropY);return[[a,c],[Math.round(a+i.width),Math.round(c+i.height)]]}return[[Math.round(o.cropX),Math.round(o.cropY)],[Math.round(o.cropX+(o.cropWidth||0)),Math.round(o.cropY+(o.cropHeight||0))]]}(n,0===g.h?1:g.w/g.h,u);g.transform="crop",v=(0,c._)(b,2),y=(0,c._)(v[0],2),g.x1=y[0],g.y1=y[1],j=(0,c._)(v[1],2),g.x2=j[0],g.y2=j[1],u&&(null==x?void 0:x.focalX)!==void 0&&(g.f="max"),g.request="r".concat(g.x1,"_").concat(g.y1,"_").concat(g.x2,"_").concat(g.y2,"_")+"w".concat(g.w,"_h").concat(g.h,"_f").concat(g.f,".").concat(s)}return g}function m(e){var r=u(e),t="transform/v1/".concat(r.transform,"/frm/").concat(r.path,"/");return"".concat(t).concat(r.request)}function x(e){var r=u(e);return[r.x1+r.x2,r.y1+r.y2]}function g(e){var r=e.fit,t=e.height,o=e.ignoreCrop,i=e.image,a=e.outputFormat,c=e.size,n=e.transformUrl,l=e.useFocalPoint,s=e.width;if(c&&(s||t))throw Error("Cannot use fixedSize and dimensions together");return"".concat(n).concat(m({fit:r,height:t,ignoreCrop:o,image:i,outputFormat:a,size:c,useFocalPoint:l,width:s}))}function w(e){var r=e.fit,t=e.height,o=e.image,i=e.outputFormat,a=e.transformUrl,c=e.width;return"".concat(a).concat(m({fit:void 0===r?"crop":r,height:t,ignoreCrop:!1,image:o,outputFormat:i,useFocalPoint:!1,width:c}))}function v(e){var r=e.height,t=e.image,o=e.outputFormat,i=e.transformUrl,a=e.width;return"".concat(i).concat(m({height:r,ignoreCrop:!0,image:t,outputFormat:void 0===o?"jpg":o,useFocalPoint:!1,width:a}))}function y(e){return"uri"in e&&!!e.uri}function j(e){return new Promise(function(r){var t=new Image;t.onload=function(){return r(!0)},t.onerror=function(){return r(!1)},t.src=e})}},50097:(e,r,t)=>{t.r(r),t.d(r,{default:()=>d});var o=t(60143),i=t(92584),a=t(29722),c=t(54166),n=t(65019),l=t(3388),s=function(e){var r=e.story;return(0,o.jsxs)("div",{className:"mb-4 flex flex-col gap-2 border-b-1 border-gray-300 pb-4 last:mb-0 last:border-b-0 last:pb-0",children:[(0,o.jsx)(n.A,{href:r.storyUrl,noStyle:!0,children:(0,o.jsx)("h3",{className:"line-clamp-2 font-playfair text-base/[26px] font-medium text-gray-900 hover:underline",children:r.title})}),r.byline&&(0,o.jsx)("span",{className:"font-inter text-xs/[18px] font-medium text-gray-500",children:r.byline})]})};let d=function(e){var r,t=e.zoneItemData,d=t.dpeData,h=t.limit,p=t.popularStories,f=t.stories,u=null==d?void 0:d.coverImg,m=f.slice(0,null!=h?h:3),x=null!=(r=null==p?void 0:p.slice(0,4))?r:[],g=null==d?void 0:d.issue;return(0,o.jsxs)("div",{className:"flex w-full flex-col gap-10 lg:flex-row lg:gap-20",children:[(0,o.jsx)("div",{className:"w-full rounded border-1 border-gray-200 bg-gray-50 p-5 shadow md:h-[494px] md:p-10 lg:w-2/3",children:(0,o.jsxs)("div",{className:"flex size-full flex-col gap-5",children:[(0,o.jsx)(n.A,{href:"/travel/explore-magazine/",noStyle:!0,children:(0,o.jsx)("h2",{"aria-label":"Latest Issue",className:"text-center font-inter text-2xl font-semibold text-gray-900 hover:underline md:text-left",children:"Latest Issue"})}),(0,o.jsxs)("div",{className:"flex size-full flex-col justify-center gap-10 md:flex-row md:justify-between md:gap-20",children:[(0,o.jsx)("div",{className:(0,a.A)("order-2 w-full md:order-1 md:h-88 md:overflow-y-auto",{"md:w-2/3":!!d}),children:m.map(function(e){return(0,o.jsx)(s,{story:e},e.id)})}),(0,o.jsxs)("div",{className:(0,a.A)("order-1 flex w-full flex-col items-center gap-5 md:order-2 md:w-1/3",{hidden:!d}),children:[(0,o.jsx)("div",{className:"w-[200px] shadow-2xl hover:shadow-3xl",children:(0,o.jsx)(n.A,{href:g,noStyle:!0,target:"_blank",children:(0,o.jsx)("img",{alt:"Explore Magazine cover",className:"object-cover",loading:"lazy",src:u})})}),(0,o.jsx)(n.A,{href:g,noStyle:!0,target:"_blank",children:(0,o.jsxs)("span",{className:"flex flex-row items-center gap-2 hover:underline",children:["Read the magazine\xa0",(0,o.jsx)(c.y,{icon:i.XkK})]})})]})]})]})}),(0,o.jsxs)("div",{className:"w-full lg:h-[494px] lg:w-1/3",children:[(0,o.jsx)("h2",{className:"-mt-1 mb-7 font-inter text-lg font-semibold md:mb-4",children:"Most Viewed"}),(0,o.jsx)("ol",{"aria-label":"Most Viewed Travel Articles",className:"flex flex-col gap-4",children:x.map(function(e,r){return(0,o.jsx)("li",{className:"border-b-1 border-gray-200 pb-4 last:border-b-0 last:pb-0",children:(0,o.jsxs)(n.A,{className:"group flex items-start gap-3",href:e.url,noStyle:!0,children:[(0,o.jsx)("div",{className:"w-6 font-playfair text-[28px]/[26px] font-medium text-gray-900",children:r+1}),(0,o.jsx)("h3",{className:"line-clamp-3 flex-1 font-inter text-base/[26px] font-normal text-gray-900 hover:underline",children:e.title}),e.leadImage&&(0,o.jsx)("div",{className:"size-[90px] overflow-hidden rounded-md",children:(0,o.jsx)(l.A,{alt:e.leadImage.t
1itle||e.title,height:90,image:e.leadImage,imageClassName:"size-full object-cover",width:90})})]})},e.id)})})]})]})}}}]);

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.