PageSourceSearch

https://www.wellingtontimes.com.au/assets/_next/static/chunks/1920.926fc53829e41498.js

js wellingtontimes.com.au collected 2026-10-02 11:51:54 UTC 7,563 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1920],{9175:(e,t,s)=>{s.d(t,{MV:()=>n,c4:()=>i,w1:()=>r});var i="mostViewedNavBarMobile",r="mostViewedNavBarDesktop",n="mostViewedNavBar"},34098:(e,t,s)=>{s.d(t,{e:()=>r});var i,r=((i={}).LEADING_ISSUE_LAYOUT="leading_layout",i.LIST_LAYOUT="list_layout",i)},49850:(e,t,s)=>{s.d(t,{A:()=>j});var i=s(91167),r=s(60143),n=s(29722),a=s(45159),o=s(62715),d=s(65019),l=s(65389),c=s(26748),u=s(3522),m=s(92584),x=s(54166),b=s(90508),h=s(37942),g=s(68075),f="344px";function p(){var e=(0,g.XY)(g.jM),t=e.handleClick,s=e.isLoading,i=e.isSubscribed,a=e.newsletter,o=e.setEnabled;return((0,g.Qs)(function(){a&&o(a.id,!0)},{groupId:null==a?void 0:a.id,isLoading:s}),!a||i)?null:(0,r.jsx)("div",{className:"md:border-r md:px-10 lg:px-12",children:(0,r.jsxs)("div",{style:{maxWidth:f},children:[(0,r.jsx)("h2",{className:"pb-4 text-center font-inter text-xl font-bold",children:"Get Today's Paper in your inbox"}),(0,r.jsx)("p",{className:"mb-3 text-center text-sm text-gray-500",children:"Find out when the latest digital edition is ready to read."}),(0,r.jsx)("button",{className:(0,n.A)("border border-transparent p-3 text-sm font-medium","rounded-md bg-red-600 text-white shadow-sm","hover:bg-red-700 focus:outline-none focus:ring-2","w-full focus:ring-red-500 focus:ring-offset-2"),onClick:t,type:"button",children:"Add me to the newsletter"})]})})}let v=function(e){var t=e.dateFormat,s=void 0===t?l.db.DATE_W_D_M_Y:t,c=e.hasAccess,g=e.hideLeadingIssue,v=e.hideSubscriptionSection,y=e.issues,j=e.leadingIssueTitle,w=void 0===j?null:j,N=e.noAccessHref,_=e.startDate,k=(0,o.GV)(function(e){return e.features.dpe}),A=(0,i._)((0,a.useState)(!1),2),L=A[0],S=A[1];if((0,a.useEffect)(function(){var e=function(e){"Escape"===e.key&&S(!1)};return L?window.addEventListener("keyup",e):window.removeEventListener("keyup",e),function(){return window.removeEventListener("keyup",e)}},[L]),!k.enabled)return null;var I=!_,E=I&&y.length>0&&y[0],T=k.data.dpeHowtoVideoId.trim(),D={description:"",embed:"https://dailymotion.com/embed/video/".concat(T),service:h.kl.Dailymotion,serviceId:T,serviceType:h.C0.Video,title:"",type:h.iP.Generic};return(0,r.jsxs)(r.Fragment,{children:[!(void 0===g||g)&&E&&(0,r.jsxs)(r.Fragment,{children:[w&&(0,r.jsx)("h2",{className:"mb-9 text-center font-inter text-4xl font-extrabold md:mb-14",children:w}),(0,r.jsx)("div",{className:"mb-6 flex justify-center border-b pb-10 md:mb-14 md:border-b-0 md:pb-0",children:(0,r.jsx)(d.A,{className:"group mr-2 block text-center","data-testid":"latest-edition-link",href:c?E.issue:N,noStyle:!0,style:{maxWidth:"400px"},target:c?"_blank":void 0,children:(0,r.jsxs)("figure",{children:[(0,r.jsxs)("div",{className:"relative mb-5 md:mb-4",children:[(0,r.jsx)("div",{className:"absolute inset-0 z-10 hidden bg-black opacity-20 group-hover:block"}),(0,r.jsx)("img",{alt:"",className:"shadow-lg group-hover:shadow-xl","data-testid":"latest-edition-image",loading:"lazy",src:E.coverImg})]}),(0,r.jsx)("figcaption",{className:"text-center text-lg font-semibold",children:(0,u.R4)(E.issueDate,s)})]})})})]}),!(void 0===v||v)&&!!T&&I&&(0,r.jsxs)("div",{className:"mb-14 flex w-full flex-col-reverse items-center justify-center md:flex-row md:items-start",children:[(0,r.jsx)(p,{}),(0,r.jsx)("div",{className:"mb-6 border-b pb-6 md:mb-0 md:border-b-0 md:px-10 md:pb-0 lg:px-12",children:(0,r.jsxs)("div",{style:{maxWidth:f},children:[(0,r.jsx)("h2",{className:"pb-4 text-center font-inter text-xl font-bold",children:"How to use Today’s Paper"}),(0,r.jsx)("p",{className:"mb-3 text-center text-sm text-gray-500",children:"Having trouble using our digital paper? Watch our 2 minute tutorial on ‘how to use Today’s Paper’ now"}),(0,r.jsx)("button",{className:(0,n.A)("border border-transparent p-3 text-sm font-medium","rounded-md bg-red-600 text-white shadow-sm","hover:bg-red-700 focus:outline-none focus:ring-2","w-full focus:ring-red-500 focus:ring-offset-2"),"data-testid":"open-video-button",onClick:function(){return S(!0)},type:"button",children:"Watch the video"}),L&&(0,r.jsx)("div",{className:"fixed inset-0 z-20 flex items-center justify-center bg-black/80",children:(0,r.jsxs)("div",{className:"relative z-20 m-6 w-full md:w-3/4 lg:w-1/2",children:[(0,r.jsx)("button",{"aria-label":"Close",className:"absolute -right-2 -top-2 flex size-6 -translate-y-1/2 translate-x-1/2 items-center justify-center rounded-full border-2 border-gray-800 bg-white","data-testid":"close-video-button",onClick:function(){return S(!1)},type:"button",children:(0,r.jsx)(x.y,{className:"text-gray-800",icon:m.GRI})}),(0,r.jsx)(b.A,{element:D,ignorePaywall:!0})]})})]})})]})]})};var y=s(34098);let j=function(e){var t,s=e.dateFormat,m=void 0===s?l.db.DATE_W_D_M_Y:s,x=e.dpeListLayout,b=void 0===x?y.e.LIST_LAYOUT:x,h=e.hidePagination,g=e.issues,f=e.limit,p=e.startDate,j=(0,o.GV)(function(e){return e.page.url}),w=(0,o.GV)(function(e){return e.features.piano}),N=(0,o.GV)(function(e){return e.piano.hasDPEAccess}),_=(0,o.GV)(function(e){return e.piano.initialized}),k=(0,o.GV)(function(e){return e.piano.user}),A=w.enabled&&N,L=(0,i._)((0,a.useState)(""),2),S=L[0],I=L[1];(0,a.useEffect)(function(){var e=new URLSearchParams({channel:"host_page_subs_clicks",referrer:window.location.href}).toString(),t="/subscribe/?".concat(encodeURIComponent(e));I((null==k?void 0:k.valid)?t:"/register/?return=".concat(t))},[k]);var E=!0,T=!1,D=null,V=null;switch(b){case y.e.LIST_LAYOUT:E=!0,T=!0;break;case y.e.LEADING_ISSUE_LAYOUT:E=!1,T=!1,D="Latest Edition",V="Previous Editions"}var G=!p;if(E)t=g;else{var U=+!!G;t=U>0?g.slice(U):g}return(0,r.jsxs)("div",{className:(0,n.A)("mx-6 transition-opacity duration-1000",_?"opacity-100":"pointer-events-none opacity-0",{"my-6":b===y.e.LIST_LAYOUT}),children:[!E&&G&&(0,r.jsx)(v,{hasAccess:A,hideLeadingIssue:E,hideSubscriptionSection:T,issues:g,leadingIssueTitle:D,noAccessHref:S,startDate:p}),!!t.length&&(0,r.jsxs)(r.Fragment,{children:[G&&V&&(0,r.jsx)("h2",{className:"mb-8 text-center text-2xl font-extrabold",children:V}),(0,r.jsx)("ul",{className:"mb-4 space-y-10 sm:grid sm:grid-cols-2 sm:gap-6 sm:space-y-0 md:gap-y-8 lg:grid-cols-3 lg:gap-x-8",children:t.map(function(e){return(0,r.jsx)("li",{className:"group relative text-center","data-testid":"prev-edition",children:(0,r.jsx)(d.A,{className:"block",href:A?e.issue:S,noStyle:!0,target:A?"_blank":void 0,children:(0,r.jsxs)("figure",{children:[(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("div",{className:"absolute inset-0 z-10 hidden bg-black opacity-20 group-hover:block"}),(0,r.jsx)("img",{alt:"",className:"mb-4 shadow-lg group-hover:shadow-xl",loading:"lazy",src:e.coverImg})]}),(0,r.jsx)("figcaption",{className:"text-center text-base font-semibold",children:(0,u.R4)(e.issueDate,m)})]})})},e.issueDate)})})]}),!(void 0!==h&&h)&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("hr",{className:"mb-4"}),(0,r.jsxs)("div",{className:"mb-4 text-right",children:[!G&&(0,r.jsx)(d.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:(0,c.sv)(j),noStyle:!0,children:"Back to start"}),g.length===f&&(0,r.jsx)(d.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:"".concat((0,c.sv)(j),"?dpe_start_page=").concat(g[g.length-1].issueDate),noStyle:!0,children:"Next"})]})]})]})}}}]);

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.