"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([["8482"],{29311:function(e,i,n){n.d(i,{Z:()=>eu});var t=n(52322),o=n(56111),r=n(58491),a=n(78943);let l=a.ZP.div.withConfig({componentId:"sc-31015855-0"})(["padding:8px 0;"]),s=a.ZP.a.withConfig({componentId:"sc-31015855-1"})(["color:",";font-size:13px;text-decoration:none;&:focus,&:hover{text-decoration:underline;}&:visited{color:",";}"],e=>e.theme.colorLabelAlt,e=>e.theme.colorLinkVisited),c=["Fairfax Media Australia"],d=["brisbane-times","canberra-times","fairfax-media-australia","goodfood-com-au","sydney-morning-herald","the-age","traveller-com-au","watoday-com-au"],p=({asset:{byline:e,dates:i,headlines:n,sources:a,urls:p}})=>{let m=e.some(e=>!!e?.author)?e.map(e=>e?.author?.name).filter(e=>!!e):c,u=n?.headline,h=p?.canonical,{brand:{copyrightName:x,shortSiteName:g}}=(0,o.Z)(),f={author:m.length?m.join(" and "):"",publication:x,publicationdate:i?.published,publisher:"fxj",title:u,url:`https://www.${h?.brand.key}.com.au${h?.path||""}`};if(!(a?.length&&a.every(e=>d.includes(e.name))))return null;let b="smh"===g||"theage"===g?"https://professional.licensing-publishing.nine.com.au/C.aspx?VP3=CMS3&VF=FXJFXT_3":`https://rightsportal.copyright.com.au/pages/republicationpage.aspx?${r.Z.stringify(f)}`;return(0,t.jsx)(l,{children:(0,t.jsx)(s,{href:b,children:"License this article"})})};var m=n(6838),u=n(89217),h=n(41865),x=n(98051),g=n(53299),f=n(43798),b=n(81924),y=n(76597),k=n(2784),v=n(79644);let N=a.ZP.div.withConfig({componentId:"sc-a0f3dae5-0"})(["background-color:",";bottom:0;color:",";font-family:",";left:0;overflow:hidden;position:fixed;right:0;width:100%;z-index:",";"],e=>e.theme.colorBackgroundRetentionNotification,e=>e.theme.colorTextRetentionNotification,e=>e.theme.fontPrimary,v.Z.zIndex.paywall.overlay),j=(0,a.ZP)(v.Z.Content).withConfig({componentId:"sc-a0f3dae5-1"})(["align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between;padding:24px 20px 37px;"]),w=a.ZP.h3.withConfig({componentId:"sc-a0f3dae5-2"})(["display:inline-block;font-size:17px;font-weight:bold;line-height:22px;text-align:left;text-transform:uppercase;vertical-align:top;width:100%;"]),Z=a.ZP.p.withConfig({componentId:"sc-a0f3dae5-3"})(["font-size:16px;line-height:24px;padding-top:8px;@media ","{max-width:70%;}"],v.Z.query.medium),I=a.ZP.div.withConfig({componentId:"sc-a0f3dae5-4"})(["display:flex;justify-content:space-between;margin:24px 0 0;width:100%;@media ","{flex-direction:column;margin:0 0 0 auto;margin-right:10px;width:auto;}@media ","{flex-direction:row;margin-right:0;}"],v.Z.query.medium,v.Z.query.large),S=(0,a.iv)(["flex:1 1 50%;font-size:13px;line-height:16px;"]),C=a.ZP.button.withConfig({componentId:"sc-a0f3dae5-5"})([""," background:none;border:0;color:",";cursor:pointer;font-weight:bold;padding:12px 0;text-decoration:underline;@media ","{order:2;}@media ","{margin-right:40px;}&:hover,&:visited{color:",";}"],S,e=>e.theme.colorTextRetentionNotification,v.Z.query.mediumOnly,v.Z.query.large,e=>e.theme.colorTextRetentionNotification),A=a.ZP.a.withConfig({componentId:"sc-a0f3dae5-6"})([""," background-color:",";border-radius:4px;color:",";cursor:pointer;display:inline-block;font-weight:bold;letter-spacing:1.3px;padding:12px 24px;text-align:center;text-transform:uppercase;white-space:nowrap;@media ","{margin:0 0 10px;order:1;}&:active,&:hover,&:visited{color:",";text-decoration:none;}"],S,e=>e.theme.colorCtaBackgroundRetentionNotification,e=>e.theme.colorCtaTextRetentionNotification,v.Z.query.mediumOnly,e=>e.theme.colorCtaTextRetentionNotification),P={kind:"Document",definitions:[{kind:"OperationDefinition",name:{kind:"Name",value:"SubscriberNotification"},directives:[],variableDefinitions:[{kind:"VariableDefinition",directives:[],variable:{kind:"Variable",name:{kind:"Name",value:"brand"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Brand"}}}},{kind:"VariableDefinition",directives:[],variable:{kind:"Variable",name:{kind:"Name",value:"category"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"NotificationCategory"}}}},{kind:"VariableDefinition",directives:[],variable:{kind:"Variable",name:{kind:"Name",value:"channel"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"NotificationChannel"}}}}],operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"notificationsPending"},arguments:[{kind:"Argument",name:{kind:"Name",value:"brand"},value:{kind:"Variable",name:{kind:"Name",value:"brand"}}},{kind:"Argument",name:{kind:"Name",value:"category"},value:{kind:"Variable",name:{kind:"Name",value:"category"}}},{kind:"Argument",name:{kind:"Name",value:"channel"},value:{kind:"Variable",name:{kind:"Name",value:"channel"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"notifications"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"event"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"error"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:221,source:{body:"query SubscriberNotification($brand:Brand!,$category:NotificationCategory!,$channel:NotificationChannel!){notificationsPending(brand:$brand,category:$category,channel:$channel){notifications{message event}error{message}}}"}}};var E=n(23539),L=n(17845),T=n(19510),_=n(28067),O=n(69414),D=n(83949),F=n(17741),R=n(28191),M=n(31106);let B="ffx-subscriber-notifications",{SUBSCRIPTION_NOTIFICATIONS:{SESSION_EXPIRY_IN_MS:q}}=M.Z,V={SUBSCRIBER_NOTIFICATION_SESSION_STORAGE_NAME:B},U=()=>new Date().toISOString(),G=()=>{try{let e=R.Yb.getItem(B,V);if(!e)return null;return JSON.parse(e)}catch(e){return null}},$=(e=U())=>{let i=G();if(i){let{value:n}=i,t=new Date(e),o=new Date(t.setTime(t.getTime()+q));return R.Yb.setItem(B,JSON.stringify({expires:o.toISOString(),value:{...n,remindMeLater:!0}}),V),!0}return!1},z=()=>{let{brand:{shortSiteName:e},IDENTIFICATION:{ACCOUNT_BILLING_URL:i}}=(0,o.Z)(),{notifications:n,buttonOnClick:r}=(()=>{let e=(0,D.aF)(),{brand:{shortSiteName:i}}=(0,o.Z)(),n=(()=>{let e=G();return!e?.expires||U()>e.expires})(),{data:t,error:r}=(0,E.a)(P,{context:{clientName:"api-front"},skip:!(0,T.kk)(e)||!n||!(()=>{let e=G();return!e?.keepSilenceExpiration||U()>e.keepSilenceExpiration})(),ssr:!1,variables:{brand:(0,F.w)(i),category:_.mN.Payment,channel:_.dm.Web}}),a={buttonOnClick:$};if(r)return O.Y.error("Error fetching subscriber notifications",L.log.Error(r)),{...a,notifications:[]};if(t?.notificationsPending?.error)return O.Y.error("Error in notificationsPending response",L.log.Error(t.notificationsPending.error)),{...a,notifications:[]};if(!n&&(0,T.kk)(e)){let{value:{notifications:e,remindMeLater:i}}=G();return i?{...a,notifications:[]}:{...a,notifications:e}}let{notifications:l}=t?.notificationsPending||{};return l?.length>0&&((e,i=U())=>{if(!e||0===e.length)return;let n=new Date(i),t=new Date(n.setTime(n.getTime()+q));R.Yb.setItem(B,JSON.stringify({expires:t.toISOString(),value:{notifications:e,remindMeLater:!1}}),V)})(l),Array.isArray(l)&&0===l.length&&((e=U())=>{let i=new Date(e),n=new Date(i.setTime(i.getTime()+q));R.Yb.setItem(B,JSON.stringify({keepSilenceExpiration:n.toISOString()}),V)})(),{...a,notifications:l}})(),[a,l]=(0,k.useState)(!0),{event:s,message:c}=n?.[0]||{},d="PAYMENT"===s&&c&&a;if((0,k.useEffect)(()=>{d&&(0,b.NN)()},[d]),!d)return null;let p=new URL(i);return p.searchParams.set("callback_uri",`https://www.${e}.com.au`),(0,t.jsx)(N,{children:(0,t.jsxs)(j,{children:[(0,t.jsx)(w,{children:"Important payment notice"}),(0,t.jsx)(Z,{children:c}),(0,t.jsxs)(I,{children:[(0,t.jsx)(C,{onClick:()=>{(0,b.Qb)(),l(!1),r()},type:"button",children:"Remind me later"}),(0,t.jsx)(A,{as:y.Z,onClick:()=>{(0,b.Z1)(),l(!1),r()},url:p.toString(),children:"Update now"})]})]})})};var Y=n(90152),H=n(55742),J=n(95731),X=n(2596),K=n(84641),Q=n(21971),W=n(28513);let ee=a.ZP.div.withConfig({componentId:"sc-780f6c39-0"})(["border-top:1px solid ",";margin-top:40px;padding-top:4px;@media ","{padding-top:8px;}@media ","{margin-top:48px;}"],({theme:e})=>e.colorLightAccent,v.Z.query.medium,v.Z.query.large),ei=a.ZP.div.withConfig({componentId:"sc-780f6c39-1"})(["border-bottom:1px solid ",";display:flex;justify-content:space-between;margin-bottom:4px;padding-bottom:4px;@media ","{margin-bottom:8px;padding-bottom:8px;}"],({theme:e})=>e.colorLightAccent,v.Z.query.medium),en=a.ZP.div.withConfig({componentId:"sc-780f6c39-2"})(["align-items:center;display:flex;> span:not(:last-child){padding-right:16px;position:relative;&::after{border-left:1px solid ",";content:'';height:24px;position:absolute;right:8px;top:8px;}}> span:last-child{padding-right:0;}@media ","{justify-content:space-between;button{width:52px;}","{display:none;}}"],({theme:e})=>e.colorLightAccent,v.Z.query.smallMax,Q.oD),et=a.ZP.button.withConfig({componentId:"sc-780f6c39-3"})(["","{left:20px;}"],W.u),eo=a.ZP.div.withConfig({componentId:"sc-780f6c39-4"})(["background-color:",";display:inline-block;height:20px;margin:8px;width:1px;@media ","{display:none;}"],e=>e.theme.colorLightAccent,v.Z.query.smallMax),er=a.ZP.div.withConfig({componentId:"sc-780f6c39-5"})(["margin-top:",";"],({$hasAuthor:e})=>e?"24px":"0px");var ea=n(52232);let el=a.ZP.div.withConfig({componentId:"sc-21b7e376-0"})(["column-gap:24px;display:flex;font-size:13px;line-height:32px;"]),es=a.ZP.p.withConfig({componentId:"sc-21b7e376-1"})(["font-weight:bold;letter-spacing:1px;text-transform:uppercase;"]),ec=a.ZP.ul.withConfig({componentId:"sc-21b7e376-2"})(["column-gap:24px;display:inline-flex;flex-wrap:wrap;margin-bottom:24px;@media ","{margin-bottom:32px;}"],v.Z.query.medium),ed=(0,a.ZP)(ea.Z).withConfig({componentId:"sc-21b7e376-3"})(["text-decoration:underline;&:hover,&:focus{text-decoration:none;transition:color .2s ease-out;}"]),ep=({tags:e})=>{let{primary:i,secondary:n}=e||{secondary:[]};return i||0!==n.length?(0,t.jsxs)(el,{children:[(0,t.jsx)(es,{children:"More:"}),(0,t.jsxs)(ec,{children:[i?.urls&&(0,t.jsx)("li",{children:(0,t.jsx)(ed,{tag:i})}),n.length>0&&n.map(e=>e.urls&&(0,t.jsx)("li",{children:(0,t.jsx)(ed,{tag:e})},e.id))]})]}):null};var em=n(11111);let eu=({asset:e,className:i})=>{let{byline:n,tags:o,type:r}=e,a=(0,h.Z)(),l=(0,J.j7)(e)&&a[X.TEMP_FEATURE_FLAG_ARTICLE_GIFTING],s=(0,k.useRef)(null),c=!a[X.PERM_FEATURE_FLAG_COMMENTS_DISABLED]&&a[X.PERM_FEATURE_FLAG_PIANO_ENABLED]&&a[X.TEMP_FEATURE_FLAG_PIANO_COMMENTS_REG_ENABLED]&&r!==K.h3.Recipe;return(0,t.jsxs)(ee,{className:i,"data-testid":"article-footer",children:[(0,t.jsx)(m.ZP,{}),(0,t.jsxs)(ei,{className:"noPrint",children:[(0,t.jsxs)(en,{children:[(0,t.jsx)(et,{as:Y.Z,asset:e}),(0,t.jsx)(eo,{}),r===K.h3.Recipe&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(f.Z,{}),(0,t.jsx)(eo,{})]}),l&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(u.Z,{asset:e,bottom:!0,giftButtonRef:s}),(0,t.jsx)(eo,{})]}),(0,t.jsx)(H.Z,{asset:e,onGiftClick:()=>s.current?.click(),position:"bottom"})]}),(0,t.jsx)(p,{asset:e})]}),(0,t.jsx)(ep,{tags:o}),(0,t.jsx)(em.ZP,{byline:n}),c&&(0,t.jsx)(er,{$hasAuthor:0!==n.length,children:(0,t.jsx)(g.x,{assetType:x.ru,pianoId:x.ru})}),(0,t.jsx)(g.x,{assetType:e.type,pianoId:x.yy}),(0,t.jsx)(g.x,{assetType:e.type,pianoId:x.Nk}),(0,t.jsx)(z,{})]})}},11111:function(e,i,n){n.d(i,{O8:()=>P,oO:()=>A,$J:()=>E,ZP:()=>L});var t={};n.r(t),n.d(t,{AuthorBio:()=>v,AuthorLink:()=>k,AuthorSummary:()=>y,AuthorSummaryContainer:()=>b,IconLabel:()=>w,SocialIcons:()=>Z,SocialLink:()=>j,SocialLinks:()=>N});var o={};n.r(o),n.d(o,{AuthorBio:()=>v,AuthorLink:()=>k,AuthorSummary:()=>I,AuthorSummaryContainer:()=>b,IconLabel:()=>w,SocialIcons:()=>Z,SocialLink:()=>j,SocialLinks:()=>N});var r=n(52322),a=n(76526),l=n(70793),s=n(47075),c=n(45027),d=n(16036),p=n(84641),m=n(53896),u=n(79916),h=n(57200),x=n(79644),g=n(76597),f=n(78943);let b=f.ZP.div.withConfig({componentId:"sc-b5b9fd03-0"})(["margin-bottom:48px;"]),y=f.ZP.div.withConfig({componentId:"sc-b5b9fd03-1"})(["display:flex;font-size:14px;gap:16px;line-height:22px;margin-bottom:8px;",",svg{flex-shrink:0;}"],h.E),k=(0,f.ZP)(g.Z).withConfig({componentId:"sc-b5b9fd03-2"})(["color:",";font-weight:bold;text-decoration:underline;transition:color .2s ease-out;&:hover,&:focus{color:",";text-decoration:none;}"],e=>e.theme.colorLink,e=>e.theme.colorLinkHoverAlt),v=f.ZP.span.withConfig({componentId:"sc-b5b9fd03-3"})(["color:",";"],e=>e.theme.colorDark),N=f.ZP.span.withConfig({componentId:"sc-b5b9fd03-4"})(["color:",";margin-left:8px;"],e=>e.theme.colorMidDark),j=(0,f.ZP)(g.Z).withConfig({componentId:"sc-b5b9fd03-5"})(["color:",";text-decoration:underline;transition:color .2s ease-out;&:focus,&:hover{color:",";}"],e=>e.theme.colorMidDark,e=>e.theme.colorDarkAccent),w=f.ZP.span.withConfig({componentId:"sc-b5b9fd03-6"})(["",""],x.Z.visuallyHidden),Z=f.ZP.ul.withConfig({componentId:"sc-b5b9fd03-7"})(["padding:4px 0;li{display:inline-block;&:not(:last-child){margin-right:24px;@media ","{margin-right:32px;}}}"],x.Z.query.medium),I=(0,f.ZP)(y).withConfig({componentId:"sc-8e0b31c0-0"})(["font-size:15px;line-height:20px;"]),S=t,C=(e,i)=>(0,r.jsx)(S.AuthorLink,{url:(0,c.yT)(e,i),children:e.name}),A=e=>{let{profile:{email:i,socials:n}={}}=e,{facebook:t,twitter:o}=n||{},a=[];o&&a.push((0,r.jsx)(S.SocialLink,{url:(0,c.LG)(o),children:"X"},"twitter")),t&&a.push((0,r.jsx)(S.SocialLink,{url:(0,c.sm)(t),children:"Facebook"},"facebook")),i&&a.push((0,r.jsx)(S.SocialLink,{url:(0,c.Fr)(i),children:"email"},"email"));let l=a.length;return 0===l?null:(l>1&&a.splice(a.length-1,0,(0,r.jsx)("span",{children:" or "},"or")),l>2&&a.splice(1,0,(0,r.jsx)("span",{children:", "},"comma")),(0,r.jsxs)(S.SocialLinks,{children:["Connect via ",a,"."]}))},P=e=>{let{profile:{email:i,socials:n}={}}=e,{facebook:t,twitter:o}=n||{},d=[];return(t&&d.push((0,r.jsx)("li",{children:(0,r.jsxs)(S.SocialLink,{url:(0,c.sm)(t),children:[(0,r.jsx)(S.IconLabel,{children:"Facebook"}),(0,r.jsx)(l.Z,{})]})},"facebook")),o&&d.push((0,r.jsx)("li",{children:(0,r.jsxs)(S.SocialLink,{url:(0,c.LG)(o),children:[(0,r.jsx)(S.IconLabel,{children:"X"}),(0,r.jsx)(s.Z,{})]})},"twitter")),i&&d.push((0,r.jsx)("li",{children:(0,r.jsxs)(S.SocialLink,{url:(0,c.Fr)(i),children:[(0,r.jsx)(S.IconLabel,{children:"Email"}),(0,r.jsx)(a.Z,{})]})},"email")),d.length>0)?(0,r.jsx)(S.SocialIcons,{children:d}):null},E=(e,i,n=!1)=>{let{name:t,profile:{bio:o}={}}=e;if(n)return(0,r.jsx)("span",{children:o||t},"bio");if(!o)return(0,r.jsx)("span",{children:C(e,i)},"bio");let a=o.split(t);return 1===a.length?(0,r.jsxs)("span",{children:[C(e,i)," – ",o]},"bio"):(0,r.jsxs)("span",{children:[a[0],C(e,i),a.slice(1).join(t)]},"bio")},L=({byline:e})=>{let i=(0,u.Un)((0,m.TH)().pathname);return(S=i?o:t,0===e.length)?null:(0,r.jsx)(S.AuthorSummaryContainer,{children:e.map(e=>{let n=e.type===p.tF.Author?e.author:void 0;return n&&(0,r.jsxs)(S.AuthorSummary,{children:[(0,r.jsx)(d.Z,{author:n,lazyLoad:!0,width:40}),(0,r.jsxs)(S.AuthorBio,{"data-testid":"author-bio",children:[E(n,i),A(n)]})]},n.id)})})}},47741:function(e,i,n){n.d(i,{Vr:()=>a,hJ:()=>o,iv:()=>r});let t={advertorial:"Advertorial for",broughttoyouby:"Brought to you by",default:"Sponsored content",partner:"In partnership with",presented:"Presented by",sponsor:"Sponsored by"},o=e=>t[e]||t.sponsor,r=e=>"Explainer"===e,a=(e,i)=>{let n=e&&e.primary&&["Column 8","Editorial","Letters"].includes(e.primary.displayName);return"Opinion"===i&&!n||"Editorial"===i}},6838:function(e,i,n){n.d(i,{ZP:()=>d});var t=n(52322),o=n(11402),r=n(72671),a=n(81924),l=n(2784),s=n(70992),c=n(40966);let d=()=>{let{inView:e,ref:i}=(0,s.YD)({triggerOnce:!0}),{contentWallVisible:n}=(0,r.Z)(),d=(0,o.ZP)(),p=(0,c.G)();return(0,l.useEffect)(()=>{p&&!n&&e&&((0,a.S2)(p?.headlines?.headline||"Unknown Article"),d.pushAnalyticsEvent({event:d.EVENTS.END_OF_ARTICLE_HIT_EVENT,...d.mappers.assetInfo(p)}))},[p,n,e,d]),(0,t.jsx)("div",{id:"eoa-sentinel",ref:i})}},52232:function(e,i,n){n.d(i,{Z:()=>p});var t=n(52322),o=n(56111),r=n(72761),a=n(53896),l=n(79916),s=n(79644),c=n(76597);let d=(0,n(78943).ZP)(c.Z).withConfig({componentId:"sc-1e67fef7-0"})(["&&{color:",";@media ","{text-decoration:none;}}"],e=>e.theme.colorLabelTag,s.Z.query.printOnly),p=({className:e,tag:i})=>{let{brand:{shortSiteName:n}}=(0,o.Z)(),s=(0,t.jsx)("span",{children:i.displayName}),c=(0,l.Un)((0,a.TH)().pathname),p=(0,r.g)(c,i,n);return p?(0,t.jsx)(d,{className:e,url:p,children:i.displayName}):s}}}]);