PageSourceSearch

https://www.itweb.co.za/_nuxt/Bt33cPlW.js

js itweb.co.za collected 2026-09-24 08:28:10 UTC 3,980 bytes, 1 lines download raw bytes

1import{u as B,H as N,I as P,s as E,x as F,t as K,r as h,o as O,aK as U,y as z,z as b,k as e,c as i,w as r,Y,n as d,d as o,m as f,e as n,V as j,f as A,E as D,aT as q,K as G,C as H,F as V,P as y,h as _,j as L,cx as M}from"./DHGTtAq-.js";import{_ as J}from"./50dhHVui.js";import{_ as Q}from"./Cwqjo5jo.js";import{_ as W}from"./C2nvWRWv.js";import{s as X}from"./Dm3hKkcr.js";import{u as Z}from"./LfdApe36.js";import{c as ee}from"./CnRXGRCA.js";import{u as te}from"./CsLWVD8V.js";import{V as ae,a as se,b as re}from"./CKyHcaV6.js";import{V as oe,a as g}from"./DZl7YBif.js";import"./BosuxZz1.js";import"./DGSkRdLu.js";import"./m2BY_hTd.js";import"./C-GTDzx5.js";import"./DY7PVvcf.js";import"./D8-Z9hzA.js";import"./CvGg_jgd.js";import"./BH_KmG51.js";import"./Dv0hkofe.js";const ne={key:0,style:{position:"sticky",top:"100px"}},he={__name:"[id]",async setup(le){let m,S;ee();const x=B(),{device:C}=N(P()),R=Z(),{fetchSurvey:$}=X(),k=E(),{data:t}=([m,S]=F(()=>te("survey",()=>$(k.params.id))),m=await m,S(),m);t.value||K({name:"404"},{redirectCode:404});const u=h({desktop:{leaderboard:{}}}),p=h(0);O(()=>{w()});const w=()=>{u.value=U(t.value.name),x.setAdUnit(u.value.desktop.leaderboard),x.addPageDesktopAds([u.value.desktop.leaderboard,u.value.desktop.rectangle_0])},T=z(()=>{var s,c,v,l;const a=(l=(v=(c=(s=t==null?void 0:t.value)==null?void 0:s.agreement)==null?void 0:c.params)==null?void 0:v.path)==null?void 0:l.logo;return a?{logo:a,text:"Survey sponsored by"}:null}),I=z(()=>{let a=[{title:"Surveys",to:{name:"survey"}}];return t.value&&a.push({title:t.value.name,to:{name:"survey-id",params:{id:t.value.id}}}),a});return b(()=>T,()=>{R.setSurveySponsor(T.value)},{immediate:!0}),b(()=>k.name,a=>{setTimeout(()=>{w()},100),a.name==="survey-id"&&(p.value=0)}),b(()=>k.params.page,a=>{}),(a,s)=>{const c=M,v=J;return e(t)&&e(t).agreement?(o(),i(e(Q),{key:0,breadcrumbs:e(I),class:Y(e(C).isDesktop?"mt-6":"")},{pane:r(()=>[e(C).isDesktop&&e(u).desktop.rectangle_0?(o(),f("div",ne,[n(v,null,{default:r(()=>[n(e(W),{size:e(u).desktop.rectangle_0.size,id:e(u).desktop.rectangle_0.divId},null,8,["size","id"])]),_:1})])):d("",!0)]),default:r(()=>[n(L,null,{default:r(()=>[n(j,{cols:"12",class:"px-0"},{default:r(()=>[n(ae,{flat:"",rounded:"0"},{default:r(()=>[n(se,null,{default:r(()=>[A("h1",null,D(e(t).name),1)]),_:1}),e(t).header?(o(),i(q,{key:0,class:"elevation-1",width:"100%",src:e(t).header},null,8,["src"])):d("",!0),n(re,{class:"pb-0"},{default:r(()=>[n(oe,{"background-color":"transparent",color:"primary",modelValue:e(p),"onUpdate:modelValue":s[0]||(s[0]=l=>G(p)?p.value=l:null)},{default:r(()=>[s[4]||(s[4]=A("div",{class:"line"},null,-1)),(o(!0),f(V,null,H(e(t).agreement.content||[],l=>(o(),f(V,null,[l?(o(),i(g,{key:0,"exact-active-class":"bg-primary text-white",exact:"",to:{name:"survey-id-content-page",params:{id:(a._.provides[y]||a.$route).params.id,page:l.id}}},{default:r(()=>
1[_(D(l.title),1)]),_:2},1032,["to"])):d("",!0)],64))),256)),e(t).forms&&e(t).forms[0]?(o(),f(V,{key:0},[[1,3].includes(e(t).state)?(o(),i(g,{key:0,"exact-active-class":"bg-primary text-white",exact:"",to:{name:"survey-id-questionnaire",params:{id:(a._.provides[y]||a.$route).params.id}}},{default:r(()=>s[1]||(s[1]=[_(" Complete the Survey ")])),_:1},8,["to"])):e(t).state===2||e(t).id==="1gxnklOvzw74Ymz5"?(o(),i(g,{key:1,exact:"",to:{name:"survey-id-graphs",params:{id:(a._.provides[y]||a.$route).params.id,page:e(t).forms[0].id}}},{default:r(()=>s[2]||(s[2]=[_(" Graphs ")])),_:1},8,["to"])):d("",!0)],64)):d("",!0),e(t).related?(o(),i(g,{key:1,exact:"",to:{name:"survey-id-related",params:{id:(a._.provides[y]||a.$route).params.id}}},{default:r(()=>s[3]||(s[3]=[_(" Related Articles ")])),_:1},8,["to"])):d("",!0)]),_:1},8,["modelValue"]),n(c,{"page-id":e(t).agreement.content&&e(t).agreement.content[0].id,survey:e(t),related:e(t).content},null,8,["page-id","survey","related"])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["breadcrumbs","class"])):d("",!0)}}};export{he 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.