PageSourceSearch

https://policy.nz/_next/static/chunks/pages/privacy-policy-7cf232179ae48cf2.js

js policy.nz collected 2026-10-02 08:04:32 UTC 5,322 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[947],{2115:e=>{e.exports={card:"HowToVotePanel_card__OkuLm",standfirst:"HowToVotePanel_standfirst__1AXCy",columns:"HowToVotePanel_columns__Qk2aK",toc:"HowToVotePanel_toc__8huwH",tocLink:"HowToVotePanel_tocLink__OsvfA",tocLinkActive:"HowToVotePanel_tocLinkActive__MagdZ",article:"HowToVotePanel_article__v_oUn",heading2:"HowToVotePanel_heading2__EzECx",heading3:"HowToVotePanel_heading3__DvO8F",paragraph:"HowToVotePanel_paragraph__fiqhz"}},2949:(e,t,r)=>{"use strict";r.d(t,{k:()=>l});var n=r(7876);r(4232);var a=r(7328),o=r.n(a),i=r(9099),s=r(9868);let l=({host:e,title:t,campaign:r,description:a,image:l,type:c="website"})=>{let d=s.Pg.TITLE,h=t?[t,r,d].filter(Boolean).join(" - "):[d,r].filter(Boolean).join(" - "),p=a||s.Pg.DESCRIPTION,_=(0,i.useRouter)(),g=`https://${e}${_.asPath}`;return(0,n.jsxs)(o(),{children:[(0,n.jsx)("title",{children:h}),(0,n.jsx)("link",{rel:"canonical",href:g}),(0,n.jsx)("meta",{name:"description",content:p}),(0,n.jsx)("meta",{property:"og:type",content:c}),(0,n.jsx)("meta",{property:"og:url",content:g}),(0,n.jsx)("meta",{property:"og:site_name",content:d}),(0,n.jsx)("meta",{property:"og:title",content:h}),(0,n.jsx)("meta",{property:"og:description",content:p}),l?(0,n.jsx)("meta",{property:"og:image",content:l}):(0,n.jsx)("meta",{property:"og:image",content:`https://${e}${s.Pg.IMAGE}`}),(0,n.jsx)("link",{rel:"icon",href:"/favicon.ico"})]})}},3762:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/privacy-policy",function(){return r(6219)}])},6219:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__N_SSP:()=>o,default:()=>i});var n=r(7876),a=r(8171),o=!0;let i=e=>(0,n.jsx)(a.A,{...e.page,...e})},7119:e=>{e.exports={hero:"HowToVoteHero_hero__UX_NQ",inner:"HowToVoteHero_inner__NEJym",title:"HowToVoteHero_title__xPk2Y"}},7737:(e,t,r)=>{"use strict";r.d(t,{s:()=>_});var n=r(7876),a=r(1727),o=r(5039),i=r.n(o),s=r(4232);let l=e=>!!e&&"object"==typeof e&&"block"===e._type,c=e=>(e.children??[]).map(e=>"text"in e?String(e.text):"").join("").trim(),d=e=>e?Array.isArray(e)?e:[e]:[];var h=r(2115),p=r.n(h);let _=({standfirst:e,body:t})=>{let r=e?"string"==typeof e?e:d(e).map(e=>l(e)?c(e):"").filter(Boolean).join(" "):"",o=(0,s.useMemo)(()=>d(t),[t]),h=(0,s.useMemo)(()=>{let e,t,r,n;return r=(t=(e=d(o).filter(l)).filter(e=>"h2"===e.style)).length?t:e.filter(e=>"h3"===e.style),n=new Map,r.flatMap((e,t)=>{let r=c(e);if(!r)return[];let a=r.toLowerCase().normalize("NFKD").replace(/[\u0300-\u036f]/g,"").replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"")||"section",o=n.get(a)??0;n.set(a,o+1);let i=0===o?a:`${a}-${o+1}`;return[{id:i,key:e._key||`${i}-${t}`,label:r}]})},[o]),_=(0,s.useMemo)(()=>new Map(h.map(e=>[e.key,e.id])),[h]),[g,m]=(0,s.useState)(""),u=g||h[0]?.id||"";return(0,s.useEffect)(()=>{if(!h.length)return;let e=h.map(e=>document.getElementById(e.id)).filter(e=>!!e);if(!e.length)return;let t=new IntersectionObserver(e=>{let t=e.filter(e=>e.isIntersecting).sort((e,t)=>e.boundingClientRect.top-t.boundingClientRect.top);t[0]?.target.id&&m(t[0].target.id)},{rootMargin:"-20% 0px -65% 0px",threshold:0});return e.forEach(e=>t.observe(e)),()=>t.disconnect()},[h]),(0,n.jsxs)("div",{className:p().card,children:[r&&(0,n.jsx)("p",{className:p().standfirst,children:r}),(0,n.jsxs)("div",{className:p().columns,children:[h.length>0&&(0,n.jsx)("nav",{className:p().toc,"aria-label":"On this page",children:h.map(e=>(0,n.jsx)("a",{className:i()(p().tocLink,{[p().tocLinkActive]:e.id===u}),href:`#${e.id}`,onClick:t=>{var r;return r=e.id,void(t.preventDefault(),document.getElementById(r)?.scrollIntoView({behavior:"smooth"}),m(r),window.history.replaceState(null,"",`#${r}`))},children:e.label},e.key))}),o.length>0&&(0,n.jsx)("div",{className:p().article,children:(0,n.jsx)(a.RK,{value:o,components:{block:{h2:({value:e,children:t})=>(0,n.jsx)("h2",{className:p().heading2,id:e._key?_.get(e._key):void 0,children:t}),h3:({value:e,children:t})=>(0,n.jsx)("h3",{className:p().heading3,id:e._key?_.get(e._key):void 0,children:t}),h4:({children:e})=>(0,n.jsx)("h4",{className:p().heading3,children:e}),h5:({children:e})=>(0,n.jsx)("h5",{className:p().heading3,children:e}),normal:({children:e})=>(0,n.jsx)("p",{className:p().paragraph,children:e})},marks:{fileLink:({value:e,children:t})=>(0,n.jsx)("a",{href:`${e?.url}?dl`,children:t})}}})})]})]})}},7846:(e,t,r)=>{"use strict";r.d(t,{i:()=>s});var n=r(7876);r(4232);var a=r(315),o=r(7119),i=r.n(o);let s=({title:e})=>(0,n.jsx)("section",{className:i().hero,children:(0,n.jsx)(a.mc,{children:(0,n.jsx)("div",{className:i().inner,children:(0,n.jsx)("h1",{className:i().title,children:e})})})})},8171:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var n=r(7876),a=r(7846),o=r(7737),i=r(7365),s=r(2949),l=r(8993),c=r.n(l);let d=({host:e,campaign:t,tags:r,resources:l,title:d,standfirst:h,body:p,children:_})=>{let g={host:e,campaign:t.name,title:d};return(0,n.jsxs)(i.P,{campaign:t,tags:r,resources:l,children:[(0,n.jsx)(s.k,{...g}),(0,n.jsxs)("div",{className:c().pageTop,children:[(0,n.jsx)(a.i,{title:d||""}),(0,n.jsxs)("div",{className:c().cardWrap,children:[(0,n.jsx)(o.s,{standfirst:h,body:p}),_]})]})]})}},8993:e=>{e.exports={pageTop:"HowToVotePage_pageTop__1GC0L",cardWrap:"HowToVotePage_cardWrap__Nc03g"}}},e=>{e.O(0,[946,727,365,636,593,792],()=>e(e.s=3762)),_N_E=e.O()}]);

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.