1import{j as l,L as p}from"./main-Bo0oayNO.js";import{D as b,a as g,b as x,c as T,d as m,e as f,f as L,g as k,h,i as C,j as A,k as y,l as v,m as I,n as S,I as d,M as P,A as B,B as H,o as R,R as U,p as j,C as D,q as M,Y as F,S as N,r as w}from"./HomepageSections-4WnTbsUT.js";const c={Text:{label:"Text",fields:{content:{type:"richtext"},alignment:{type:"select",label:"Alignment",options:[{label:"Left",value:"left"},{label:"Center",value:"center"},{label:"Right",value:"right"}]}},defaultProps:{content:"<p>Enter your text here...</p>",alignment:"left"},render:({content:t,alignment:o,puck:n})=>l.jsx("div",{className:"prose prose-lg max-w-none",style:{textAlign:o},dangerouslySetInnerHTML:{__html:typeof t=="string"?t:""}})},Heading:{label:"Heading",fields:{text:{type:"text",label:"Text"},level:{type:"select",label:"Level",options:[{label:"H1",value:"h1"},{label:"H2",value:"h2"},{label:"H3",value:"h3"},{label:"H4",value:"h4"}]},alignment:{type:"select",label:"Alignment",options:[{label:"Left",value:"left"},{label:"Center",value:"center"},{label:"Right",value:"right"}]}},defaultProps:{text:"Section Heading",level:"h2",alignment:"left"},render:({text:t,level:o,alignment:n,puck:r})=>{const i=o||"h2";return l.jsx(i,{className:"font-heading font-bold text-primary",style:{textAlign:n},children:t})}},Image:{label:"Image",fields:{src:{type:"text",label:"Image URL"},alt:{type:"text",label:"Alt Text"},caption:{type:"text",label:"Caption"},rounded:{type:"select",label:"Corners",options:[{label:"None",value:"none"},{label:"Small",value:"sm"},{label:"Medium",value:"md"},{label:"Large",value:"lg"},{label:"Full",value:"full"}]}},defaultProps:{src:"",alt:"",caption:"",rounded:"md"},render:({src:t,alt:o,caption:n,rounded:r,puck:i})=>{const s={none:"",sm:"rounded-xs",md:"rounded-md",lg:"rounded-lg",full:"rounded-full"};return l.jsxs("figure",{children:[t?l.jsx("img",{src:t,alt:o||"",className:`w-full ${s[r||"md"]||""}`}):l.jsx("div",{className:"w-full h-48 bg-gray-100 flex items-center justify-center rounded-md text-gray-400",children:"No image set"}),n&&l.jsx("figcaption",{className:"text-sm text-foreground-muted mt-2 text-center",children:n})]})}},Columns:{label:"Columns",fields:{layout:{type:"select",label:"Layout",options:[{label:"Equal",value:"equal"},{label:"Left Wide",value:"left-wide"},{label:"Right Wide",value:"right-wide"}]},gap:{type:"select",label:"Gap",options:[{label:"Small",value:"4"},{label:"Medium",value:"8"},{label:"Large",value:"12"}]},left:{type:"slot"},right:{type:"slot"}},defaultProps:{layout:"equal",gap:"8"},render:({layout:t,gap:o,left:n,right:r,puck:i})=>{const s=t==="left-wide"?"grid-cols-1 lg:grid-cols-[2fr_1fr]":t==="right-wide"?"grid-cols-1 lg:grid-cols-[1fr_2fr]":"grid-cols-1 lg:grid-cols-2";return l.jsxs("div",{className:`grid ${s} gap-${o||"8"}`,children:[l.jsx("div",{children:typeof n=="function"?n():n}),l.jsx("div",{children:typeof r=="function"?r():r})]})}},Container:{label:"Container",fields:{width:{type:"select",label:"Width",options:[{label:"Full",value:"full"},{label:"Wide",value:"wide"},{label:"Narrow",value:"narrow"}]},padding:{type:"select",label:"Padding",options:[{label:"None",value:"
10"},{label:"Small",value:"4"},{label:"Medium",value:"8"},{label:"Large",value:"16"}]},background:{type:"select",label:"Background",options:[{label:"None",value:"transparent"},{label:"White",value:"background"},{label:"Alternate",value:"background-alt"},{label:"Primary",value:"primary"}]},children:{type:"slot"}},defaultProps:{width:"wide",padding:"8",background:"transparent"},render:({width:t,padding:o,background:n,children:r,puck:i})=>{const s=t==="narrow"?"max-w-3xl mx-auto":t==="wide"?"max-w-layout mx-auto":"w-full",u=n==="background"?"bg-background":n==="background-alt"?"bg-background-alt":n==="primary"?"bg-primary":"";return l.jsx("section",{className:`${u} py-${o||"8"}`,children:l.jsx("div",{className:`${s} px-4 sm:px-6 lg:px-8`,children:typeof r=="function"?r():r})})}},Spacer:{label:"Spacer",fields:{size:{type:"select",label:"Size",options:[{label:"Small (16px)",value:"4"},{label:"Medium (32px)",value:"8"},{label:"Large (64px)",value:"16"},{label:"XL (96px)",value:"24"}]}},defaultProps:{size:"8"},render:({size:t,puck:o})=>{const n={4:"h-4",8:"h-8",16:"h-16",24:"h-24"};return l.jsx("div",{className:n[t||"8"]||"h-8","aria-hidden":"true"})}},Button:{label:"Button",fields:{text:{type:"text",label:"Text"},href:{type:"text",label:"Link URL"},variant:{type:"select",label:"Style",options:[{label:"CTA (Gold)",value:"cta"},{label:"Outline",value:"outline-solid"},{label:"Secondary",value:"secondary"}]},alignment:{type:"select",label:"Alignment",options:[{label:"Left",value:"left"},{label:"Center",value:"center"},{label:"Right",value:"right"}]}},defaultProps:{text:"Click Here",href:"/help-support",variant:"cta",alignment:"left"},render:({text:t,href:o,variant:n,alignment:r,puck:i})=>{const s=n==="outline-solid"?"btn-outline":n==="secondary"?"btn-secondary":"btn-cta",u=r==="center"?"justify-center":r==="right"?"justify-end":"justify-start";return l.jsx("div",{className:`flex ${u}`,children:l.jsx(p,{to:o||"/",className:s,children:t})})}},Divider:{label:"Divider",fields:{style:{type:"select",label:"Style",options:[{label:"Line",value:"line"},{label:"Thick",value:"thick"},{label:"Dashed",value:"dashed"},{label:"Gold Accent",value:"gold-accent"}]}},defaultProps:{style:"line"},render:({style:t,puck:o})=>{if(t==="gold-accent")return l.jsx("div",{className:"flex justify-center py-4",children:l.jsx("div",{className:"w-16 h-1 bg-accent rounded-full"})});const n=t==="thick"?"border-t-2 border-border":t==="dashed"?"border-t border-dashed border-border":"border-t border-border";return l.jsx("hr",{className:`my-4 ${n}`})}}},E={layout:{title:"Layout",defaultExpanded:!0},content:{title:"Content",defaultExpanded:!0}};function O(t={},o){const n={...E};return o?.categories&&Object.assign(n,o.categories),{categories:n,components:{...c,...t}}}function W(t={}){return{components:{...c,...t}}}function e(t){return{type:"text",label:t}}function a(t){return{type:"textarea",label:t}}const G={AboutSection:{label:"About / Intro",fields:{heading:e("Heading"),videoPlaceholder:e("Video Placeholder Text"),videoId:e("YouTube Video ID"),introParagraph1:a("Intro Paragraph 1"),introParagraph2:a("Intro Paragraph 2"),partnerBannerImage:e("Partner Banner Image URL"),partnerBannerLink:e("Partner Banner Link"),partnerBannerAlt:e("Partner Banner Alt Text"),rightHeading:e("Right Column Heading"),rightColumnHtml:a("Right Column HTML (overrides paragraphs/bullets)"),ctaText:e("CTA Text"),ctaLink:e("CTA Link")},defaultProps:S,render:t=>{const{puck:o,editMode:n,id:r,...i}=t;return l.jsx(w,{data:i})}},ServicesSection:{label:"Services & Countries",fields:{iconLabel:e("Icon Label"),heading:e("Heading"),sectionImage:e("Section Image URL"),description:a("Description"),descriptionSuffix:e("Description Suffix (e.g. 'We manage:')"),countries:a("Countries (Country|Flag|Link, visas, --- separator)"),countryCtaTemplate:e("Country CTA Template"),sideImageHeading:e("Side Image Heading (above the image)"),sideImage:e("Side Image URL (beside country selector)"),sideImageAlt:a("Side Image Alt Text"),sideImageLink:e("Side Image Link (opens in a new tab)")},defaultProps:I,render:t=>{const{puck:o,editMode:n,id:r,...i}=t;return l.jsx(N,{data:i})}},YouTubePlaylistSection:{label:"YouTube Playlist",fields:{heading:e("Heading"),description:a("Description"),videos:a("Videos (VideoID|Title, one per line)"),playlistId:e("Playlist ID"),ctaText:e("CTA Text")},defaultProps:v,render:t=>{const{puck:o,editMode:n,id:r,...i}=t;return l.jsx(F,{data:i})}},RecentVisaGrants:{label:"Recent Visa Grants",fields:{heading:e("Heading"),description:a("Description"),grants:a("Grants (Name|VisaType, one per line)"),ctaText:e("CTA Text"),ctaLink:e("CTA Link"),sideImage:e("Side Image URL (left of the cards; blank = cards only)"),sideImageAlt:a("Side Image Alt Text"),sideImageLink:e("Side Image Link (blank = not clickable)")},defaultProps:y,render:t=>{const{puck:o,editMode:n,id:r,...i}=t;return l.jsx(M,{data:i})}},CtaBand:{label:"CTA Band",fields:{title:e("Title"),subtitle:a("Subtitle"),ctaText:e("CTA Button Text"),ctaLink:e("CTA Link"),secondaryCtaText:e("Secondary Button Text"),secondaryCtaLink:e("Secondary Link"),attribution:e("Attribution")},defaultProps:A,render:t=>{const{puck:o,editMode:n,id:r,...i}=t;return l.jsx(D,{data:i})}},RfiS56Section:{label:"RFI s56 Section",fields:{heading:a("Heading"),description:a("Paragraph 1 (HTML allowed)"),description2:a("Paragraph 2"),description3:a("Paragraph 3"),warningTitle:e("Warning Title"),warningText:a("Warning Text"),imageSrc:e("Image URL (blank = no image)"),imageAlt:e("Image Alt Text"),description4:a("Paragraph 4 (after image)"),description5:a("Paragraph 5"),description6:a("Paragraph 6"),description7:a("Paragraph 7"),description8:a("Paragraph 8 (FAQ link)"),sideboxHeading:e("Sidebox Heading"),sideboxText:a("Sidebox Text"),sideboxCtaText:e("Sidebox Button Text"),sideboxCtaLink:e("Sidebox Button Link"),keyPoints:a("Key Points (one per line)"),disclaimer:a("Disclaimer (blank = hidden)")},defaultProps:C,render:t=>{const{puck:o,editMode:n,id:r,...i}=t;return l.jsx(j,{data:i})}},RfiCallout:{label:"RFI Callout",fields:{line0Text:a("Line 0 Text (blank = hidden; optional lead-in above Line 1)"),line1Text:a("Line 1 Text"),line1LinkText:e("Line 1 Link Text"),line1LinkUrl:e("Line 1 Link URL"),line2Text:a("Line 2 Text"),line2SubText:a("Line 2 Sub-text (blank = hidden; not bold, smaller)"),line2SubText2:a("Line 2 Sub-text, second line (blank = hidden)"),line2LinkText:e("Line 2 Link Text (blank = use banner only
1)"),line2LinkUrl:e("Line 2 Link URL"),buttonText:e("Button Text (blank = no button)"),buttonLink:e("Button Link"),bannerImage:e("Banner 1 Image URL (blank = no banner)"),bannerAlt:e("Banner 1 Alt Text"),bannerLink:e("Banner 1 Link"),bannerCaption:e("Banner 1 Caption (blank = hidden)"),banner2Image:e("Banner 2 Image URL (blank = no second button)"),banner2Alt:e("Banner 2 Alt Text"),banner2Link:e("Banner 2 Link"),banner2Caption:e("Banner 2 Caption (blank = hidden)"),line2SubText3:e("Sub-line 3 (blank = hidden)"),bannerTopImage:e("Top Banner Image URL, max 550px wide (blank = hidden)"),bannerTopAlt:e("Top Banner Alt Text"),bannerTopLink:e("Top Banner Link"),banner3Image:e("Banner 3 Image URL (blank = no third button)"),banner3Alt:e("Banner 3 Alt Text"),banner3Link:e("Banner 3 Link"),banner4Image:e("Banner 4 Image URL (blank = no fourth button)"),banner4Alt:e("Banner 4 Alt Text"),banner4Link:e("Banner 4 Link")},defaultProps:h,render:t=>{const{puck:o,editMode:n,id:r,...i}=t;return l.jsx(U,{data:i})}},AiWarning:{label:"AI Warning",fields:{heading:a("Heading (blank = hidden)"),ctaText:e("Button Text (blank = no button)"),ctaLink:e("Button Link (http⦠opens in a new tab)")},defaultProps:k,render:t=>{const{puck:o,editMode:n,id:r,...i}=t;return l.jsx(R,{data:i})}},BookCallout:{label:"Book Callout",fields:{label:e("Label above the title (blank = hidden)"),title:e("Book Title (blank = section hidden)"),subtitle:a("Subtitle"),text:a("Blurb"),coverImage:e("Cover Image URL (blank = no cover)"),coverAlt:e("Cover Alt Text"),ctaText:e("Button Text (blank = no button)"),ctaLink:e("Button Link")},defaultProps:L,render:t=>{const{puck:o,editMode:n,id:r,...i}=t;return l.jsx(H,{data:i})}},AppealsSection:{label:"Appeals Section",fields:{heading:e("Heading"),subtitle:e("Subtitle (red, under heading)"),description:a("Description"),description2:a("Description 2"),description3:a("Description 3 (Tourist visa note)"),warningTitle:e("Warning Title"),warningText:a("Warning Text"),naturalJusticeHeading:e("Natural Justice Heading (red)"),naturalJusticeHtml:a("Natural Justice Text (red, HTML)"),keyPoints:a("Key Points (one per line)"),ctaText:e("CTA Text"),ctaLink:e("CTA Link"),sideboxHeading:e("Side Box Heading"),sideboxText:a("Side Box Text"),sideboxCtaText:e("Side Box CTA Text"),sideboxCtaLink:e("Side Box CTA Link"),disclaimer:a("Disclaimer Text")},defaultProps:f,render:t=>{const{puck:o,editMode:n,id:r,...i}=t;return l.jsx(B,{data:i})}},MeetJeffSection:{label:"Meet Jeff",fields:{heading:e("Heading"),bioHtml:a("Bio HTML"),credentials:a("Credentials (one per line)"),ctaText:e("CTA Text"),ctaLink:e("CTA Link"),photoTitle:e("Photo Title"),photoImage:e("Photo Image URL"),photoLabel:e("Photo Label"),photoSubtitle:e("Photo Subtitle"),marnBadge:e("MARN Badge")},defaultProps:m,render:t=>{const{puck:o,editMode:n,id:r,...i}=t;return l.jsx(P,{data:i})}},InfoCountries:{label:"Info: Countries",fields:{heading:e("Heading"),contentHtml:a("Content HTML"),introVideoId:e("Intro YouTube Video ID"),introVideoLabel:e("Intro Video Label"),introVideoThumb:e("Intro Video Thumbnail URL"),infoBoxHtml:a("Info Box HTML"),preCtaTitle:e("Pre-CTA Title"),preCtaHeading:a("Pre-CTA Heading HTML"),preCtaText:e("Pre-CTA Button Text"),preCtaLink:e("Pre-CTA Button Link"),countries:a("Countries (Name|Flag|Link, one per line)")},defaultProps:T,render:t=>{const{puck:o,editMode:n,id:r,...i}=t;return l.jsx(d,{data:{countries:i},only:"countries"})}},InfoSpouseVisas:{label:"Info: Spouse Visas",fields:{heading:e("Heading"),contentHtml:a("Content HTML"),visaOptionsHeading:e("Visa Options Heading"),visaOptions:a("Visa Options (Name|Description, one per line)"),visaOptionsCta:e("Visa Options CTA"),visaOptionsCtaLink:e("Visa Options CTA Link"),visaOptionsExtraHtml:a("Right Column HTML (below CTA)"),sectionImage:e("Section Image URL"),comparisonTitle:e("Comparison Title"),comparisonText:a("Comparison Text"),comparisonCtaText:e("Comparison CTA Text"),comparisonCtaLink:e("Comparison CTA Link"),comparisonImage:e("Comparison Image URL")},defaultProps:x,render:t=>{const{puck:o,editMode:n,id:r,...i}=t;return l.jsx(d,{data:{spouseVisas:i},only:"spouseVisas"})}},InfoWhyDuv:{label:"Info: Why Down Under Visa",fields:{heading:e("Heading"),contentHtml:a("Content HTML"),sectionImage:e("Section Image URL"),differenceHeading:e("Difference Heading"),differencePointsHtml:a("Difference Points HTML"),differencePoints:a("Difference Points (fallback, one per line)")},defaultProps:g,render:t=>{const{puck:o,editMode:n,id:r,...i}=t;return l.jsx(d,{data:{whyDuv:i},only:"whyDuv"})}},InfoFacts:{label:"Info: Facts",fields:{heading:e("Heading"),facts:a("Facts (JSON array)"),factsImage:e("Facts Image URL"),ctaText:e("CTA Text"),ctaLink:e("CTA Link")},defaultProps:b,render:t=>{const{puck:o,editMode:n,id:r,...i}=t;return l.jsx(d,{data:{facts:i},only:"facts"})}}},J={categories:{theme:{title:"Theme Sections",defaultExpanded:!0}}};export{O as a,W as b,J as c,G as t};
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.