1import{u as i,a as n}from"./D6RzhbgH.js";import{g as s,a7 as l}from"./CtanTX2Z.js";function d(){const e=l(),{query:t}=n(),o={navigationCopy:{salesLabel:"",logoFallbackText:"",geoSelectorDesktopLabel:"",geoSelectorMobileHeading:"",geoSelectorLoadingText:"",geoSelectorErrorText:""},industriesGrid:{eyebrowLabel:"",defaultHeading:"",defaultSubheading:"",ctaLabel:"",loadingText:"",errorText:"",emptyStateText:""},genericPageMessages:{genericLoading:"",networkError:"",graphqlError:"",missingPageMessage:""},benefitsGrid:{benefitsEyebrow:"",benefitsTitle:""},farmerStoriesCopy:{eyebrow:"",heading:"",ctaLabel:""},contactPageCopy:{title:"",subheading:"",marketDetailsTitle:"",marketDetailsDescription:"",contactMenuEyebrow:"",formPanelEyebrow:"",salesText:"",salesSubText:"",supportText:"",supportSubText:"",servicingAndPartsText:"",servicingAndPartsSubText:"",findContractorsText:"",findContractorsSubText:"",findContractorsButtonText:"",needToCallCard:{title:"",copy:""},afterFormText:"",submitButtonLabel:""},archivePageSeo:null,solutionCtaCopy:null,toolsAndLinks:null,mediaCard:null,resourcesPageCopy:null,marketHintBanner:{heading:"",body:"",visitButtonText:"",dismissButtonText:""},savingsCalculator:null,playbookForm:null,featureComparison:null,preferenceCentre:null},r=` 2 query TemplateEditor { 3 templateEditor { 4 templateEditorOptionPage { 5 navigationCopy { 6 salesLabel 7 logoFallbackText 8 geoSelectorDesktopLabel 9 geoSelectorMobileHeading 10 geoSelectorLoadingText 11 geoSelectorErrorText 12 footerMark { node { mediaItemUrl altText } } 13 } 14 industriesGrid { 15 eyebrowLabel 16 defaultHeading 17 defaultSubheading 18 ctaLabel 19 loadingText 20 errorText 21 emptyStateText 22 } 23 genericPageMessages { 24 genericLoading 25 networkError 26 graphqlError 27 missingPageMessage 28 } 29 benefitsGrid { 30 benefitsEyebrow 31 benefitsTitle 32 } 33 farmerStoriesCopy { 34 eyebrow 35 heading 36 ctaLabel 37 } 38 contactPageCopy { 39 title 40 subheading 41 marketDetailsTitle 42 marketDetailsDescription 43 contactMenuEyebrow 44 formPanelEyebrow 45 salesText 46 salesSubText 47 supportText 48 supportSubText 49 servicingAndPartsText 50 servicingAndPartsSubText 51 findContractorsText 52 findContractorsSubText 53 findContractorsButtonText 54 needToCallCard { 55 title 56 copy 57 } 58 afterFormText 59 submitButtonLabel 60 } 61 archivePageSeo { 62 resources { 63 seoTitle 64 seoDescription 65 ogImage { node { mediaItemUrl } } 66 marketOverrides { 67 marketCode 68 seoTitle 69 seoDescription 70 ogImage { node { mediaItemUrl } } 71 } 72 } 73 farmerStories { 74 seoTitle 75 seoDescription 76 ogImage { node { mediaItemUrl } } 77 marketOverrides { 78 marketCode 79 seoTitle 80 seoDescription 81 ogImage { node { mediaItemUrl } } 82 } 83 } 84 product { 85 seoTitle 86 seoDescription 87 ogImage { node { mediaItemUrl } } 88 marketOverrides { 89 marketCode 90 seoTitle 91 seoDescription 92 ogImage { node { mediaItemUrl } } 93 } 94 } 95 solutions { 96 seoTitle 97 seoDescription 98 ogImage { node { mediaItemUrl } } 99 marketOverrides { 100 marketCode 101 seoTitle 102 seoDescription 103 ogImage { node { mediaItemUrl } } 104 } 105 } 106 finance { 107 seoTitle 108 seoDescription 109 ogImage { node { mediaItemUrl } } 110 marketOverrides { 111 marketCode 112 seoTitle 113 seoDescription 114 ogImage { node { mediaItemUrl } } 115 } 116 } 117 contact { 118 seoTitle 119 seoDescription 120 ogImage { node { mediaItemUrl } } 121 marketOverrides { 122 marketCode 123 seoTitle 124 seoDescription 125 ogImage { node { mediaItemUrl } } 126 } 127 } 128 ureaCalculator { 129 seoTitle 130 seoDescription 131 ogImage { node { mediaItemUrl } } 132 marketOverrides { 133 marketCode 134 seoTitle 135 seoDescription 136 ogImage { node { mediaItemUrl } } 137 } 138 } 139 } 140 toolsAndLinks { 141 heading 142 description 143 links { 144 label 145 url 146 openInNewTab 147 } 148 } 149 mediaCard { 150 heading 151 description 152 contactName 153 contactRole 154 contactEmail 155 contactPhone 156 } 157 resourcesPageCopy { 158 hero { 159 eyebrow 160 heading 161 subheading 162 primaryCtaLabel 163 secondaryCtaLabel 164 } 165 library { 166 eyebrow 167 heading 168 subheading 169 } 170 buckets { 171 science { title description badge } 172 userManuals { title description badge } 173 handoverVideo { title description badge } 174 stories { title description badge } 175 } 176 latest { 177 eyebrow 178 heading 179 tagline 180 loadingText 181 errorText 182 emptyText 183 } 184 quickLinks { 185 eyebrow 186 heading 187 tagline 188 loadingText 189 errorText 190 emptyText 191 } 192 farmerStoriesViewAllLabel 193 } 194 solutionCtaCopy { 195 topCta { 196 heading 197 subheading 198 primaryButtonLabel 199 secondaryButtonLabel 200 } 201 midCta { 202 eyebrow 203 heading 204 subheading 205 primaryButtonLabel 206 secondaryButtonLabel 207 } 208 finalCta { 209 heading 210 subheading 211 primaryButtonLabel 212 secondaryButtonLabel 213 } 214 } 215 marketHintBanner { 216 heading 217 body 218 visitButtonText
219 dismissButtonText 220 } 221 savingsCalculator { 222 header { 223 eyebrow 224 heading 225 intro 226 } 227 inputs { 228 marketLabel 229 farmSizeLabel 230 annualUreaLabel 231 annualUreaHelper 232 ureaPriceLabelTemplate 233 ureaPriceHelperTemplate 234 savingLabel 235 savingRangeHint 236 savingHelper 237 } 238 result { 239 eyebrow 240 headlineSuffix 241 emptyStatePrompt 242 tonnesChipTemplate 243 fiveYearChipTemplate 244 currentSpendLabel 245 withTowAndFertLabel 246 caveat 247 } 248 ctas { 249 demoLabel 250 infoPackLabel 251 } 252 disclaimer 253 } 254 playbookForm { 255 form { 256 heading 257 subheading 258 emailLabel 259 emailPlaceholder 260 firstNameLabel 261 firstNamePlaceholder 262 consentLabel 263 submitButton 264 submittingButton 265 } 266 errors { 267 invalidEmail 268 generic 269 } 270 success { 271 heading 272 subtext 273 downloadButton 274 resetLink 275 } 276 } 277 featureComparison { 278 header { 279 eyebrow 280 title 281 subheading 282 } 283 columnLabels { 284 featureLabel 285 towAndFertLabel 286 competitorLabel 287 } 288 rows { 289 featureTitle 290 featureSubtitle 291 towAndFertState 292 competitorState 293 } 294 } 295 preferenceCentre { 296 header { 297 heading 298 intro 299 } 300 form { 301 emailLabel 302 toggleLabel 303 toggleSub 304 saveButton 305 unsubscribeButton 306 footerNote 307 } 308 success { 309 saved 310 unsubscribed 311 expiredLinkPrompt 312 verificationSent 313 } 314 } 315 } 316 } 317 } 318 `;return{fetchTemplateEditor:async()=>{if(!e.public.enableTemplateEditor)return o;const a=await t(r);return a?.errors?.length&&console.warn("Template editor query errors",a.errors),a?.data?.templateEditor?.templateEditorOptionPage??o}}}async function u(){const{fetchTemplateEditor:e}=d(),{data:t}=await i("template-editor",()=>e());return s(()=>t.value??null)}export{u};
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.