PageSourceSearch

https://cisilion.com/_nuxt/_...slug_.cf00daa9.js

js cisilion.com collected 2026-09-25 14:40:37 UTC 4,406 bytes, 47 lines download raw bytes

1import{a as U,v as V,N as k,g as C,w as E,n as $,h as e,c as p,b as n,e as m,i as J,j as d,y as o,f as b,l as L,H as K,_ as O,o as _,t as W,T as X,M as Y}from"./entry.467af7bd.js";import Z from"./Banner.1206bef9.js";import ee from"./ShareButton.dd85af51.js";import te from"./ApplicationForm.3c8e88cf.js";import oe from"./RelatedPosts.504c6b49.js";import"./index.7be1994d.js";const se=l=>`
2    query JobSingle {
3        job(id: "${l}", idType: SLUG) {
4            id
5            title
6            slug
7            date
8            job {
9                featured
10                location
11                closingDate
12                applicationRecipientEmail
13                shortDescription
14                jobDescription
15                jobPdf {
16                    mediaItemUrl
17                    title
18                }
19            }
20        }
21    }
22`,ne=(l=6)=>`query InternalPosts {
23        posts(where: {
24            tag: "internal",
25            offsetPagination: {size: ${l}, offset: 0}
26        }) {
27            nodes {
28                slug
29                title
30                date
31                post {
32                    excerpt
33                    featuredImage {
34                        sizes(size: LARGE)
35                        sourceUrl(size: LARGE)
36                        srcSet(size: LARGE)
37                    }
38                }
39                tags {
40                    nodes {
41                        name
42                    }
43                }
44            }
45        }
46    }`,ae={key:0,class:"o-site-main"},ie={class:"c-job-single c-job-single--article"},le={class:"grid-container"},re={class:"grid-x grid-margin-x"},ce={class:"small-12 medium-6 large-7 cell"},de={class:"c-job-single__content"},_e={class:"c-job-single__share"},ue=o("div",{class:"c-job-single__header"},[o("h4",{class:"c-job-single__title"},"About the Job")],-1),pe={class:"c-job-single__body"},me={key:0,class:"c-job-single__description s-wp-cms"},be=["innerHTML"],ge={key:1,class:"c-job-single__pdf"},je={class:"small-12 medium-6 large-5 cell"},he={class:"c-job-single__sidebar"},Pe={__name:"[...slug]",async setup(l){var f;let s,r;const u=U(),A=Array.isArray(u.params.slug)?u.params.slug[0]:u.params.slug,B=V(),R=k(()=>{var a,i,c;return((c=(i=(a=B.globalData)==null?void 0:a.globalContent)==null?void 0:i.globalContent)==null?void 0:c.jobsGravityFormId)||1}),S=C(se(A)),{data:g,error:T}=([s,r]=E(()=>L(S)),s=await s,r(),s);if(T.value||!((f=g.value)!=null&&f.job))throw $({statusCode:404,statusMessage:"Job Not Found"});const t=g.value.job,M=C(ne(6)),{data:j,error:h}=([s,r]=E(()=>L(M)),s=await s,r(),s);h.value&&console.error("❌ Related Posts Error:",h.value);const N=k(()=>{var a,i;return(i=(a=j.value)==null?void 0:a.posts)!=null&&i.nodes?j.value.posts.nodes.slice(0,6):[]});return(a,i)=>{var v,y,x,D,w;const c=X,I=Y,z=K,F=Z,G=ee,H=O,q=te,Q=oe;return e(t)?(_(),p("main",ae,[n(z,null,{default:m(()=>{var P;return[n(c,null,{default:m(()=>[b(W(e(t).title)+" | Cisilion",1)]),_:1}),n(I,{name:"description",content:(P=e(t).job)!=null&&P.jobDescription?e(t).job.jobDescription.substring(0,160):""},null,8,["content"])]}),_:1}),e(t)?(_(),J(F,{key:0,slides:[{title:e(t).title,theme:"obsidian-mineral",settings:{headingLevel:"h1"}}],settings:{enableShallowBanner:!0,enableExtraPadding:!1,disableCisilionLogo:!1,showComponentTitle:!1,spacing:"flush",showBackLink:!0}},null,8,["slides"])):d("",!0),o("div",ie,[o("div",le,[o("div",re,[o("div",ce,[o("div",de,[o("div",_e,[n(G,{"share-title":`${e(t).title} - Cisilion`},null,8,["share-title"])]),ue,o("div",pe,[(v=e(t).job)!=null&&v.jobDescription?(_(),p("div",me,[o("div",{innerHTML:e(t).job.jobDescription},null,8,be)])):d("",!0),(y=e(t).job)!=null&&y.jobPdf?(_(),p("div",ge,[b(" Download full job description / pdf "),n(H,{to:e(t).job.jobPdf.mediaItemUrl,class:"c-button .c-button--beta",target:"_blank",download:"",rel:"noopener noreferrer"},{default:m(()=>[b(" Download PDF ")]),_:1},8,["to"])])):d("",!0)])])]),o("div",je,[o("aside",he,[n(q,{"posted-date":e(t).date,location:(x=e(t).job)==null?void 0:x.location,"closing-date":(D=e(t).job)==null?void 0:D.closingDate,"form-id":e(R),"recipient-email":(w=e(t).job)==null?void 0:w.applicationRecipientEmail},null,8,["posted-date","location","closing-date","form-id","recipient-email"])])])])])]),n(Q,{posts:e(N)},null,8,["posts"])])):d("",!0)}}};export{Pe as default};
47//# sourceMappingURL=_...slug_.cf00daa9.js.map

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.