PageSourceSearch

https://www.stockandland.com.au/assets/_next/static/chunks/2605.84f7731cf65a6dc2.js

js stockandland.com.au collected 2026-10-02 06:04:50 UTC 8,527 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2605],{62605:(e,t,s)=>{s.r(t),s.d(t,{default:()=>S});var r=s(98952),a=s(60143),n=s(92932),l=s(14606),i=s(16321),o=s(48284),c=s(81905),d=s(29722),m=s(73321);s(45159);var u=s(62715),x=s(90330),g=s(65019),h=s(26748),f=s(3522),p="oldest",b=[{code:"recent",label:"Most Recent"},{code:p,label:"Oldest First"}],j=b[0],v={code:"",label:"All publications"},y=(0,d.A)("inline-flex justify-center px-4 py-2","w-full bg-white text-sm text-gray-700","rounded-md border border-gray-300 hover:bg-gray-50","focus:outline-none focus:ring-2 focus:ring-indigo-500","shadow-sm focus:ring-offset-2 focus:ring-offset-gray-100"),N=(0,a.jsxs)("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",children:[(0,a.jsx)("path",{clipRule:"evenodd",d:"M13.3091 1.87483C13.5233 1.63101 13.5748 1.28432 13.4408 0.988758C13.3067 0.693199 13.0119 0.503588 12.6874 0.504152H2.28839C1.96415 0.504238 1.66996 0.694091 1.53631 0.989511C1.40266 1.28493 1.45428 1.63123 1.66829 1.87483L6.25179 7.10982V11.7594C6.25175 12.064 6.41939 12.3439 6.68796 12.4875C6.95653 12.6312 7.28239 12.6154 7.53577 12.4464L8.36147 11.8956C8.59108 11.7424 8.72896 11.4846 8.72891 11.2086V7.10982L13.3091 1.87483Z",fillRule:"evenodd",stroke:"#059669",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M14.5088 12.0657H17.8116",stroke:"#059669",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M12.8574 14.5432H17.8117",stroke:"#059669",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M12.8574 17.0198H17.8117",stroke:"#059669",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{clipRule:"evenodd",d:"M11.2051 10.4129C11.2051 9.95684 11.5748 9.58716 12.0308 9.58716H18.6365C19.0925 9.58716 19.4622 9.95684 19.4622 10.4129V18.6699C19.4622 19.126 19.0925 19.4957 18.6365 19.4957H12.0308C11.5748 19.4957 11.2051 19.126 11.2051 18.6699V10.4129Z",fillRule:"evenodd",stroke:"#059669",strokeLinecap:"round",strokeLinejoin:"round"})]}),w=function(e,t,s){var r;return null!=(r=t.find(function(t){return t.code===e}))?r:s};function k(e){var t=e.issue,s=e.title,r=(0,u.GV)(function(e){return e.features.piano.enabled}),n=(0,u.GV)(function(e){return e.piano.hasAccess}),l=!r||n?t.link:void 0;return(0,a.jsxs)(g.A,{className:"emag-link-issue flex flex-col",href:l,noStyle:!0,target:"_blank",children:[(0,a.jsxs)("figure",{className:"group relative aspect-[0.7] cursor-pointer overflow-hidden shadow-lg hover:shadow-xl",children:[(0,a.jsx)("div",{className:"absolute top-0 z-10 hidden size-full bg-black opacity-20 group-hover:block"}),(0,a.jsx)("img",{alt:s,className:"relative flex size-full min-h-0 min-w-0 flex-1 items-center object-fill",src:t.image})]}),(0,a.jsx)("div",{className:"mt-4 font-semibold text-gray-900",children:s}),(0,a.jsxs)("div",{className:"mt-2 text-sm text-gray-500",children:["Date: ",(0,f.l)(t.date)]})]})}function A(e){var t=e.href,s=e.label,r=e.selected;return(0,a.jsx)(n.Dr,{children:function(e){var n=e.focus;return(0,a.jsx)(g.A,{className:(0,d.A)("block w-full px-4 py-2 text-left text-sm",{"bg-gray-100 text-gray-900":n,"font-bold":r,"text-gray-700":!n}),href:t,noStyle:!0,children:s})}})}function L(e){var t=e.children,s=e.className,r=e.getUrl,o=e.icon,c=e.label,m=e.menuDirection,u=void 0===m?"left":m,x=e.options,g=e.selected;return(0,a.jsxs)(n.W1,{as:"div",className:(0,d.A)("relative inline-block text-left",void 0===s?"":s),children:[(0,a.jsx)("div",{className:"z-[15]",children:(0,a.jsx)(n.IU,{className:y,children:t||(0,a.jsxs)(a.Fragment,{children:[o&&(0,a.jsx)("span",{className:"mr-2",children:o}),(0,a.jsxs)("span",{children:[c,(0,a.jsx)("span",{className:"ml-1 font-medium",children:g.label})]}),(0,a.jsx)(i.A,{className:"-mr-1 ml-3 size-5"})]})})}),(0,a.jsx)(l.e,{enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:(0,a.jsx)(n.c,{className:(0,d.A)("absolute z-[16] mt-2 w-max overflow-auto","max-h-52 rounded-md bg-white focus:outline-none","origin-top-right shadow-lg ring-1 ring-black/5",{"left-0":"right"!==u,"right-0":"right"===u}),children:(0,a.jsx)("div",{className:"py-1",children:x.map(function(e){return(0,a.jsx)(A,{href:r(e.code),label:e.label,selected:g.code===e.code},e.code)})})})})]})}let S=function(e){var t,s,n,l,i=e.zoneItemData,d=i.issues,f=i.limit,y=i.publicationFilterOptions,A=i.totalIssues,S=(0,m.usePathname)()||"",C=(0,u.GV)(function(e){return e.runtime.isClientSide}),_=(0,u.GV)(function(e){return e.page.url}),U=(0,u.GV)(function(e){return e.page.name}),R=(0,u.GV)(function(e){return e.features.emags});if(!C||!R.enabled)return null;var V=f||20,z=y?Object.fromEntries(y.map(function(e){return[e.code,e.label]})):{}
1,F=null!=(l=S.split("?")[1])?l:"",G=new URLSearchParams(F),M=w(G.get("order"),b,j),D=w(G.get("publication"),y,v),H=[v].concat((0,r._)(y)),P=parseInt(G.get("page")||"1",10),I=d.length===V?P*V:A,O=d.slice(-1)[0],T=function(e){var t=new URLSearchParams(F);return e!==j.code?t.set("order",e):t.delete("order"),t.delete("page"),t.delete("start_page"),"".concat((0,h.sv)(_),"?").concat(t.toString())};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"bg-white shadow-[0_2px_2px_-1px_rgba(0,0,0,0.1)]",children:[(0,a.jsx)("div",{className:"border-b-1 border-solid border-gray-200 py-6 text-gray-900",children:(0,a.jsxs)(x.A,{children:[(0,a.jsx)("h1",{className:"text-4xl font-semibold",children:U}),(0,a.jsx)("div",{className:"pt-3 text-gray-500",children:"Use the filter to search our collection of special publications, past and present."})]})}),(0,a.jsx)("div",{className:"py-4",children:(0,a.jsxs)(x.A,{className:"flex items-center justify-between",children:[(0,a.jsx)(L,{className:"grow md:grow-0",getUrl:function(e){var t=new URLSearchParams(F);return e?t.set("publication",e):t.delete("publication"),t.delete("page"),t.delete("start_page"),"".concat((0,h.sv)(_),"?").concat(t.toString())},icon:N,label:(0,a.jsx)("span",{className:"sr-only sm:not-sr-only",children:"Filter by: "}),options:H,selected:D}),(0,a.jsx)(L,{className:"hidden md:block",getUrl:T,label:"Order: ",menuDirection:"right",options:b,selected:M}),(0,a.jsx)(L,{className:"ml-2 md:hidden",getUrl:T,label:"Order: ",menuDirection:"right",options:b,selected:M,children:M.code===p?(0,a.jsx)(o.A,{className:"size-5"}):(0,a.jsx)(c.A,{className:"size-5"})})]})})]}),(0,a.jsx)("div",{className:"pt-8",children:(0,a.jsx)(x.A,{children:d.length?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("ul",{className:"mb-4 grid grid-cols-2 gap-6 justify-self-center md:grid-cols-3 md:gap-y-12 lg:grid-cols-5 lg:gap-x-12",children:d.map(function(e){return(0,a.jsx)("li",{className:"relative text-center","data-testid":"emag-issue-container",children:(0,a.jsx)(k,{issue:e,title:z[e.emagType||""]})},"".concat(e.date))})}),(0,a.jsx)("hr",{className:"mb-4 mt-20 w-full"}),(0,a.jsxs)("div",{className:"mb-4 flex w-full items-center justify-between text-sm",children:[(0,a.jsxs)("div",{className:"text-gray-700",children:["Showing ",(P-1)*V+1," of ",I," of ",A," results"]}),(0,a.jsxs)("div",{className:"place-self-end",children:[1!==P&&(0,a.jsx)(g.A,{className:"relative ml-3 inline-flex items-center rounded-md border border-gray-300 bg-white px-4 py-2 text-sm font-medium text-gray-700 hover:bg-gray-50","data-testid":"back-to-start",href:((t=new URLSearchParams(F)).delete("page"),t.delete("start_page"),"".concat((0,h.sv)(_),"?").concat(t.toString())),noStyle:!0,children:"Back to start"}),I<A&&(0,a.jsx)(g.A,{className:"relative ml-3 inline-flex items-center rounded-md border border-gray-300 bg-white px-4 py-2 text-sm font-medium text-gray-700 hover:bg-gray-50","data-testid":"next-page",href:(n=parseInt((s=new URLSearchParams(F)).get("page")||"1",10)+1,s.set("page",n.toString()),s.set("start_page",O.date.replace(/[^\d]/g,"")),"".concat((0,h.sv)(_),"?").concat(s.toString())),noStyle:!0,children:"Next"})]})]})]}):(0,a.jsx)("div",{className:"mb-32 mt-20 text-center text-3xl font-bold",children:"No special publications found"})})})]})}},90330:(e,t,s)=>{s.d(t,{A:()=>n});var r=s(60143),a=s(29722);function n(e){var t=e.children,s=e.className,n=e.dataTestid,l=e.maxWidthMd,i=e.maxWidthSm,o=e.noGutter;return(0,r.jsx)("div",{className:(0,a.A)("mx-auto w-full",void 0===i?"max-w-sm":i,void 0===l?"md:max-w-lg":l,{"px-4 md:px-6 xl:px-0":!(void 0!==o&&o)},s),"data-testid":n,children:t})}s(45159)}}]);

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.