PageSourceSearch

https://www.premier.vic.gov.au/_nuxt/C2_oiRpG.js

js premier.vic.gov.au collected 2026-10-02 02:22:53 UTC 4,551 bytes, 1 lines download raw bytes

1import{d as b,o as i,c,bw as C,y as P,l as h,aa as R,h as n,i as v,t as f,p as d,s as q,q as k,a9 as F,v as r,_ as T,b as g,D as $,F as N,C as _,n as j}from"./Cczv7Mxh.js";import{_ as w}from"./Bq325G6z.js";import{_ as S,a as E}from"./C0O80sIU.js";import{_ as O}from"./D8SbnBB4.js";import"./D4LjqYXv.js";const V=b({__name:"TideProfileBreadcrumbs",props:{pageTitle:{},besideQuickExit:{type:Boolean,default:!1}},setup(e){const o=e,a=P("featureFlags"),s=h(()=>[{text:"Home",url:"/"},{text:a?.profileListingLabel,url:a?.profileListingUrl},{text:o.pageTitle,url:""}]);return(m,t)=>{const u=C;return i(),c(u,{items:s.value,"beside-quick-exit":e.besideQuickExit,"data-cy":"breadcrumbs"},null,8,["items","beside-quick-exit"])}}}),H=Object.assign(V,{__name:"TideProfileBreadcrumbs"}),I={class:"rpl-type-h2"},Q=b({__name:"TideProfileLinks",props:{id:{},title:{},items:{}},setup(e){return(o,a)=>{const s=q,m=w;return i(),c(m,{class:R(`tide-profile__links-${e.id}`)},{default:n(()=>[v("h2",I,f(e.title),1),d(s,{items:e.items,"container-class":"rpl-u-margin-t-3","item-class":"tide-profile__links-item rpl-type-p"},null,8,["items"])]),_:1},8,["class"])}}}),U=Object.assign(Q,{__name:"TideProfileLinks"}),z={key:1,class:"tide-profile__electorate rpl-type-h3 rpl-u-margin-t-5"},A=b({__name:"TideProfileBody",props:{content:{}},setup(e){const o=P("featureFlags"),a=e,s=h(()=>{const t=[];return a.content.contact.profile&&t.push({text:"Parliamentary Profile",url:a.content.contact.profile?.url,icon:"icon-user-circle-filled"}),a.content.contact.email&&t.push({text:a.content.contact.email,url:`mailto:${a.content.contact.email}`,icon:"icon-mail"}),a.content.contact.website&&t.push({text:a.content.contact.website?.url,url:a.content.contact.website?.url,icon:"icon-browser"}),t}),m=h(()=>a.content.social.map(t=>{if(!t.name||!t.link?.url)return null;const u=t.name==="twitter",p=u?"x":t.name,l=u?"X (formerly Twitter)":t.name;return{text:l.charAt(0).toUpperCase()+l.slice(1),url:t.link?.url,icon:`icon-${p}`}}).filter(Boolean));return(t,u)=>{const p=F,l=T,x=w,y=U,B=E,L=S;return i(),k(N,null,[d(x,null,{default:n(()=>[e.content.image?(i(),c(p,{key:0,src:e.content.image.src,width:e.content.image.width,height:e.content.image.height,alt:e.content.image.alt,aspect:{xs:"square"},sizes:"xs:400px",class:"tide-profile__image"},null,8,["src","width","height","alt"])):r("",!0),e.content.electorate?(i(),k("h3",z,f(e.content.electorate),1)):r("",!0),e.content.position?(i(),c(l,{key:2,html:e.content.position,class:"tide-profile__position rpl-u-margin-t-3"},null,8,["html"])):r("",!0)]),_:1}),g(s).length?(i(),c(y,{key:0,id:"contact",title:"About and contact",items:g(s)},null,8,["items"])):r("",!0),g(m).length?(i(),c(y,{key:1,id:"social",title:"Social media",items:g(m)},null,8,["items"])):r("",!0),d(x,null,{default:n(()=>[e.content.detail?(i(),c(l,{key:0,html:e.content.detail,class:"rpl-u-margin-t-3"},null,8,["html"])):r("",!0)]),_:1}),d(L,{class:"rpl-u-padding-t-4"},{default:n(()=>[d(B,{url:g(o)?.profileListingUrl,label:"Go back",direction:"prev"},{default:n(()=>[$(f(g(o)?.profileListingReturnLabel),1)]),_:1},8,["url"])]),_:1})],64)}}}),D=Object.assign(A,{__name:"TideProfileBody"}),G=b({__name:"TideProfile",props:{site:{},page:{}},setup(e){return(o,a)=>{const s=H,m=D,t=T,u=O,p=j;return i(),c(p,{site:e.site,page:e.page,"site-section":e.page.siteSection,"page-title":e.page.title,"page-language":e.page.lang,"updated-date":e.page.changed||e.page.created,"show-content-rating":e.page.showContentRating},{aboveHeader:n(()=>[_(o.$slots,"aboveHeader")]),primaryNav:n(()=>[_(o.$slots,"primaryNav")]),breadcrumbs:n(()=>[d(s,{"page-title":e.page.title,"beside-quick-exit":e.site?.showQuickExit},null,8,["page-title","beside-quick-exit"])]),aboveBody:n(({hasBreadcrumbs:l})=>[_(o.$slots,"aboveBody",{hasBreadcrumbs:l})]),body:n(({hasSidebar:l})=>[d(m,{content:e.page.content,"has-sidebar":l},null,8,["content","has-sidebar"])]),belowBody:n(()=>[e.page.campaign?(i(),c(u,{key:0,title:e.page.campaign.title,link:e.page.campaign.cta,image:e.page.campaign.image,"data-cy":"secondary-campaign"},{meta:n(()=>[$(f(e.page.campaign.imageCaption),1)]),default:n(()=>[e.page.campaign.content?(i(),c(t,{key:0,html:e.page.campaign.content,"data-cy":"summary"},null,8,["html"])):r("",!0)]),_:1},8,["title","link","image"])):r("",!0)]),sidebar:n(()=>[_(o.$slots,"sidebar")]),footer:n(()=>[_(o.$slots,"footer")]),_:3},8,["site","page","site-section","page-title","page-language","updated-date","show-content-rating"])}}}),Y=Object.assign(G,{__name:"TideProfile"});export{Y as default};

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.