{"product_id":"personalized-camp-direction-sign-set","title":"Personalized Camp Direction Sign Set","description":"\u003cstyle\u003e\n#product_form_10399522455600:not([data-explore-ready]) .ProductForm__AddToCart{interactivity:inert;pointer-events:none}\n#personalized-camp-direction-sign-set-body{max-width:100%;margin:0 0 24px;color:#292622;font:inherit;line-height:1.45;text-align:left}\n#personalized-camp-direction-sign-set-body [hidden]{display:none!important}\n#personalized-camp-direction-sign-set-body .rack-section{padding:14px 0;border-bottom:1px solid #d6cdc5}\n#personalized-camp-direction-sign-set-body .rack-heading{font-size:1.12em;margin:0 0 8px}\n#personalized-camp-direction-sign-set-body .rack-faq{margin:0 0 12px}\n#personalized-camp-direction-sign-set-body label{display:block;font-weight:600}\n#personalized-camp-direction-sign-set-body input,#personalized-camp-direction-sign-set-body select{box-sizing:border-box;width:100%;min-height:44px;padding:6px 9px;border:1px solid #978b7f;background:#fff;color:inherit;font:inherit}\n#personalized-camp-direction-sign-set-body [data-field],#personalized-camp-direction-sign-set-body [data-lake]{margin-top:9px}\n#personalized-camp-direction-sign-set-body input[aria-invalid=true]{border:2px solid #9e2922}\n#personalized-camp-direction-sign-set-body :is(button,input,select,a):focus-visible{outline:3px solid #805b39;outline-offset:2px}\n#personalized-camp-direction-sign-set-body .rack-first{background:none;color:inherit;border:0;text-decoration:underline;min-height:44px;font:inherit;cursor:pointer;padding:0}\n#personalized-camp-direction-sign-set-body .rack-preview{margin:12px 0;padding:10px;background:#f7f4f0}\n#personalized-camp-direction-sign-set-body [data-name-preview]{margin:7px 0;background:#272828;color:#f9edda;padding:9px;text-align:center;overflow-wrap:anywhere}\n#personalized-camp-direction-sign-set-body [data-preview-lake],#personalized-camp-direction-sign-set-body [data-preview-arrow]{display:block}\n#personalized-camp-direction-sign-set-body [data-preview-arrow]{background:#393938;margin:3px auto;padding:2px 13px;width:min(88%,19em);clip-path:polygon(0 0,92% 0,100% 50%,92% 100%,0 100%)}\n#personalized-camp-direction-sign-set-body [data-preview-arrow]:nth-of-type(even){clip-path:polygon(8% 0,100% 0,100% 100%,8% 100%,0 50%)}\n#personalized-camp-direction-sign-set-body canvas{display:block;width:100%;height:auto}\n#personalized-camp-direction-sign-set-body [data-buy-slot] .ProductForm__AddToCart{width:100%}\n\u003c\/style\u003e\n\u003cdiv id=\"personalized-camp-direction-sign-set-body\"\u003e\n  \u003cdiv class=\"rack-section\"\u003e\n\u003cdiv\u003ePoint guests to the dock and the parking spot. Put your camp name at the top.\u003c\/div\u003e\n\u003cdiv data-price\u003e\u003cstrong\u003e$349.95\u003c\/strong\u003e\u003c\/div\u003e\n\u003cdiv\u003eA named header, four reversible arrows and steel upright. The ground sleeve is in the box. For post mounting, you supply the post and screws.\u003c\/div\u003e\n\u003cdiv data-first-action\u003e\u003c\/div\u003e\n\u003c\/div\u003e\n  \u003cdiv class=\"rack-section\" data-controls hidden\u003e\n    \u003cdiv data-field=\"0\"\u003e\n\u003clabel for=\"personalized-camp-direction-sign-set-line-1\"\u003eFamily name (or camp name) (required)\u003c\/label\u003e\u003cinput type=\"text\" id=\"personalized-camp-direction-sign-set-line-1\" name=\"properties[Family name]\" form=\"product_form_10399522455600\" required maxlength=\"18\" pattern=\"(?=.*[A-Za-z])[A-Za-z '’\\-]+\" value=\"\" autocomplete=\"off\" enterkeyhint=\"next\" aria-describedby=\"personalized-camp-direction-sign-set-name-rules personalized-camp-direction-sign-set-state\"\u003e\n\u003c\/div\u003e\n\u003cdiv id=\"personalized-camp-direction-sign-set-name-rules\"\u003eUp to 18 characters. A to Z, spaces, apostrophes and hyphens.\u003c\/div\u003e\n    \u003cdiv id=\"personalized-camp-direction-sign-set-arrow-rules\"\u003eUp to 12 characters each. Also allows numbers and \u0026amp;.\u003c\/div\u003e\n\u003cdiv data-field=\"1\"\u003e\n\u003clabel for=\"personalized-camp-direction-sign-set-line-2\"\u003eArrow 1\u003c\/label\u003e\u003cinput type=\"text\" id=\"personalized-camp-direction-sign-set-line-2\" name=\"properties[Arrow 1]\" form=\"product_form_10399522455600\" required maxlength=\"12\" pattern=\"(?=.*[A-Za-z0-9])[A-Za-z0-9 \u0026amp;'’\\-]+\" value=\"Camp\" autocomplete=\"off\" enterkeyhint=\"next\" aria-describedby=\"personalized-camp-direction-sign-set-name-rules personalized-camp-direction-sign-set-arrow-rules personalized-camp-direction-sign-set-state\"\u003e\n\u003c\/div\u003e\n\u003cdiv data-field=\"2\"\u003e\n\u003clabel for=\"personalized-camp-direction-sign-set-line-3\"\u003eArrow 2\u003c\/label\u003e\u003cinput type=\"text\" id=\"personalized-camp-direction-sign-set-line-3\" name=\"properties[Arrow 2]\" form=\"product_form_10399522455600\" required maxlength=\"12\" pattern=\"(?=.*[A-Za-z0-9])[A-Za-z0-9 \u0026amp;'’\\-]+\" value=\"Dock\" autocomplete=\"off\" enterkeyhint=\"next\" aria-describedby=\"personalized-camp-direction-sign-set-name-rules personalized-camp-direction-sign-set-arrow-rules personalized-camp-direction-sign-set-state\"\u003e\n\u003c\/div\u003e\n\u003cdiv data-field=\"3\"\u003e\n\u003clabel for=\"personalized-camp-direction-sign-set-line-4\"\u003eArrow 3\u003c\/label\u003e\u003cinput type=\"text\" id=\"personalized-camp-direction-sign-set-line-4\" name=\"properties[Arrow 3]\" form=\"product_form_10399522455600\" required maxlength=\"12\" pattern=\"(?=.*[A-Za-z0-9])[A-Za-z0-9 \u0026amp;'’\\-]+\" value=\"Cabin\" autocomplete=\"off\" enterkeyhint=\"next\" aria-describedby=\"personalized-camp-direction-sign-set-name-rules personalized-camp-direction-sign-set-arrow-rules personalized-camp-direction-sign-set-state\"\u003e\n\u003c\/div\u003e\n\u003cdiv data-field=\"4\"\u003e\n\u003clabel for=\"personalized-camp-direction-sign-set-line-5\"\u003eArrow 4\u003c\/label\u003e\u003cinput type=\"text\" id=\"personalized-camp-direction-sign-set-line-5\" name=\"properties[Arrow 4]\" form=\"product_form_10399522455600\" required maxlength=\"12\" pattern=\"(?=.*[A-Za-z0-9])[A-Za-z0-9 \u0026amp;'’\\-]+\" value=\"Parking\" autocomplete=\"off\" enterkeyhint=\"done\" aria-describedby=\"personalized-camp-direction-sign-set-name-rules personalized-camp-direction-sign-set-arrow-rules personalized-camp-direction-sign-set-state\"\u003e\n\u003c\/div\u003e\n    \u003cdiv class=\"rack-preview\"\u003e\n\u003cstrong\u003eName preview\u003c\/strong\u003e\u003cdiv\u003eThe gallery shows Mercer Camp with the four standard labels.\u003c\/div\u003e\n\u003cdiv data-name-preview\u003e\n\u003cstrong data-preview-name\u003eFAMILY NAME\u003c\/strong\u003e\u003cspan data-preview-arrow\u003eCamp\u003c\/span\u003e\u003cspan data-preview-arrow\u003eDock\u003c\/span\u003e\u003cspan data-preview-arrow\u003eCabin\u003c\/span\u003e\u003cspan data-preview-arrow\u003eParking\u003c\/span\u003e\n\u003c\/div\u003e\n\u003cdiv\u003eCheck the spelling.\u003c\/div\u003e\n\u003cdiv id=\"personalized-camp-direction-sign-set-state\" data-state role=\"status\"\u003e\u003c\/div\u003e\n\u003c\/div\u003e\n    \u003cdiv data-buy-slot\u003e\u003c\/div\u003e\n  \u003c\/div\u003e\n  \u003cdiv data-pending\u003ePersonalization is loading.\u003c\/div\u003e\n  \u003cdiv class=\"nma-pdp-details\"\u003e\n  \u003cstyle\u003e\n.nma-pdp-details {\n  --nma-details-ready: 1;\n  --nma-ink: #25221e;\n  --nma-muted: #51463d;\n  --nma-paper: #f5efe7;\n  --nma-rule: #d9cdbf;\n  --nma-coal: #282520;\n  margin: 24px 0 0;\n  color: var(--nma-ink);\n  font: inherit;\n  line-height: 1.5;\n  text-align: left;\n}\n.nma-pdp-details *,\n.nma-pdp-details *::before,\n.nma-pdp-details *::after { box-sizing: border-box; }\n.nma-pdp-details p,\n.nma-pdp-details h2,\n.nma-pdp-details h3 { margin: 0; color: inherit; }\n.nma-pdp-details h2 {\n  font: 600 clamp(1.45rem, 1.25rem + .65vw, 1.7rem)\/1.14 Georgia, serif;\n  letter-spacing: -.02em;\n  text-transform: none;\n}\n.nma-pdp-details h3 {\n  font-family: inherit;\n  font-size: 1em;\n  font-weight: 700;\n  line-height: 1.3;\n  letter-spacing: normal;\n  text-transform: none;\n}\n.nma-pdp-details .nma-pdp-band {\n  display: flex;\n  flex-wrap: wrap;\n  gap: 4px 16px;\n  justify-content: space-between;\n  padding: 13px 15px;\n  background: var(--nma-coal);\n  color: #fff8ec;\n  font-size: .875rem;\n}\n.nma-pdp-details .nma-pdp-block { margin-top: 25px; }\n.nma-pdp-details .nma-pdp-fit { background: var(--nma-paper); }\n.nma-pdp-details .nma-pdp-fit-copy { padding: 16px 16px 14px; }\n.nma-pdp-details .nma-pdp-measures {\n  display: grid;\n  grid-template-columns: repeat(2, minmax(0, 1fr));\n  gap: 10px 12px;\n  margin: 12px 0 10px;\n}\n.nma-pdp-details .nma-pdp-measure {\n  min-width: 0;\n  padding-top: 7px;\n  border-top: 1px solid var(--nma-rule);\n  color: var(--nma-muted);\n  font-size: .875rem;\n}\n.nma-pdp-details .nma-pdp-measure strong {\n  display: block;\n  color: var(--nma-ink);\n  font-size: 1.18rem;\n  line-height: 1.25;\n  margin-bottom: 2px;\n  font-variant-numeric: tabular-nums;\n}\n.nma-pdp-details .nma-pdp-note { color: var(--nma-muted); }\n.nma-pdp-details img {\n  display: block;\n  width: 100%;\n  max-width: 100%;\n  height: auto;\n  margin: 0;\n  color: var(--nma-ink);\n  background: var(--nma-paper);\n}\n.nma-pdp-details .nma-pdp-caption {\n  margin: 0;\n  padding: 8px 12px;\n  background: var(--nma-paper);\n  color: var(--nma-muted);\n  font-size: .875rem;\n}\n.nma-pdp-details .nma-pdp-steps { margin-top: 8px; }\n.nma-pdp-details .nma-pdp-step {\n  display: grid;\n  grid-template-columns: 2rem minmax(0, 1fr);\n  gap: 10px;\n  padding: 10px 0;\n  border-bottom: 1px solid var(--nma-rule);\n}\n.nma-pdp-details .nma-pdp-step-num {\n  display: grid;\n  width: 2rem;\n  height: 2rem;\n  place-items: center;\n  background: var(--nma-paper);\n  font-weight: 700;\n}\n.nma-pdp-details .nma-pdp-step p { margin-top: 2px; }\n.nma-pdp-details .nma-pdp-mount { margin-top: 9px; }\n.nma-pdp-details .nma-pdp-mount p { margin-top: 4px; }\n.nma-pdp-details .nma-pdp-mount h3 { margin-top: 10px; }\n.nma-pdp-details .nma-pdp-figure { margin-top: 14px; }\n.nma-pdp-details .nma-pdp-timing {\n  padding: 15px 16px 6px;\n  background: var(--nma-paper);\n  border-top: 2px solid var(--nma-coal);\n}\n.nma-pdp-details .nma-pdp-timing p { margin-top: 8px; }\n.nma-pdp-details .nma-pdp-contact {\n  display: flex;\n  flex-wrap: wrap;\n  gap: 0 16px;\n  margin-top: 4px;\n}\n.nma-pdp-details .nma-pdp-contact \u003e * {\n  display: inline-flex;\n  align-items: center;\n  min-height: 44px;\n  font-weight: 700;\n  color: var(--nma-ink);\n  text-decoration: underline;\n  text-underline-offset: 3px;\n}\n.nma-pdp-details .nma-pdp-contact \u003e :focus-visible {\n  outline: 2px solid var(--nma-ink);\n  outline-offset: 2px;\n}\n  \u003c\/style\u003e\n  \u003cdiv class=\"nma-pdp-band\"\u003e\n    \u003cstrong\u003eMatte black powder-coated steel\u003c\/strong\u003e\n    \u003cspan\u003eBuilt in our Tennessee shop\u003c\/span\u003e\n  \u003c\/div\u003e\n  \u003cdiv class=\"nma-pdp-block nma-pdp-fit\"\u003e\n    \u003cdiv class=\"nma-pdp-fit-copy\"\u003e\n      \u003ch2\u003eSize and fit\u003c\/h2\u003e\n      \u003cdiv class=\"nma-pdp-measures\"\u003e\n        \u003cdiv class=\"nma-pdp-measure\"\u003e\n\u003cstrong\u003e40 in\u003c\/strong\u003eAssembled upright\u003c\/div\u003e\n        \u003cdiv class=\"nma-pdp-measure\"\u003e\n\u003cstrong\u003e36.5 in\u003c\/strong\u003eAbove ground in the sleeve\u003c\/div\u003e\n      \u003c\/div\u003e\n      \u003cp class=\"nma-pdp-note\"\u003eThe header is 13 × 3.125 in. Each arrow is 13.5 × 2.5 in.\u003c\/p\u003e\n    \u003c\/div\u003e\n    \u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0072\/9412\/4089\/files\/installed_209b02b8-6b4a-43e2-bd51-6a3ab4f8d976.jpg?v=1795377230\u0026amp;width=720\" srcset=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0072\/9412\/4089\/files\/installed_209b02b8-6b4a-43e2-bd51-6a3ab4f8d976.jpg?v=1795377230\u0026amp;width=360 360w, https:\/\/cdn.shopify.com\/s\/files\/1\/0072\/9412\/4089\/files\/installed_209b02b8-6b4a-43e2-bd51-6a3ab4f8d976.jpg?v=1795377230\u0026amp;width=540 540w, https:\/\/cdn.shopify.com\/s\/files\/1\/0072\/9412\/4089\/files\/installed_209b02b8-6b4a-43e2-bd51-6a3ab4f8d976.jpg?v=1795377230\u0026amp;width=720 720w, https:\/\/cdn.shopify.com\/s\/files\/1\/0072\/9412\/4089\/files\/installed_209b02b8-6b4a-43e2-bd51-6a3ab4f8d976.jpg?v=1795377230\u0026amp;width=1080 1080w\" sizes=\"(max-width: 640px) calc(100vw - 48px), 400px\" width=\"1080\" height=\"810\" alt=\"The Mercer Camp sign set mounted on a wood post beside a wooded cabin path.\" loading=\"lazy\" decoding=\"async\"\u003e\n    \u003cp class=\"nma-pdp-caption\"\u003eThe steel upright mounted on a customer-supplied wood post.\u003c\/p\u003e\n  \u003c\/div\u003e\n  \u003cdiv class=\"nma-pdp-block\"\u003e\n    \u003ch2\u003eHow to personalize\u003c\/h2\u003e\n    \u003cdiv class=\"nma-pdp-steps\" role=\"list\"\u003e\n      \u003cdiv class=\"nma-pdp-step\" role=\"listitem\"\u003e\n        \u003cspan class=\"nma-pdp-step-num\" aria-hidden=\"true\"\u003e1\u003c\/span\u003e\n        \u003cdiv\u003e\n          \u003ch3\u003eName the camp\u003c\/h3\u003e\n          \u003cp\u003eEnter up to 18 characters for the family or camp name.\u003c\/p\u003e\n        \u003c\/div\u003e\n      \u003c\/div\u003e\n      \u003cdiv class=\"nma-pdp-step\" role=\"listitem\"\u003e\n        \u003cspan class=\"nma-pdp-step-num\" aria-hidden=\"true\"\u003e2\u003c\/span\u003e\n        \u003cdiv\u003e\n          \u003ch3\u003eLabel all four arrows\u003c\/h3\u003e\n          \u003cp\u003eKeep Camp, Dock, Cabin and Parking, or enter up to 12 characters per arrow.\u003c\/p\u003e\n        \u003c\/div\u003e\n      \u003c\/div\u003e\n      \u003cdiv class=\"nma-pdp-step\" role=\"listitem\"\u003e\n        \u003cspan class=\"nma-pdp-step-num\" aria-hidden=\"true\"\u003e3\u003c\/span\u003e\n        \u003cdiv\u003e\n          \u003ch3\u003eCheck the preview\u003c\/h3\u003e\n          \u003cp\u003eConfirm all five lines before adding the set to your cart. We UV-print the text in uppercase.\u003c\/p\u003e\n        \u003c\/div\u003e\n      \u003c\/div\u003e\n    \u003c\/div\u003e\n  \u003c\/div\u003e\n  \u003cdiv class=\"nma-pdp-block\"\u003e\n    \u003ch2\u003eIn the box and how it mounts\u003c\/h2\u003e\n    \u003cdiv class=\"nma-pdp-mount\"\u003e\n      \u003cp\u003ePersonalized header, four reversible arrows, two steel upright sections, a splice, a header bracket, the ground sleeve and assembly hardware.\u003c\/p\u003e\n      \u003ch3\u003eIn the ground\u003c\/h3\u003e\n      \u003cp\u003eBolt the upright sections, header and arrows together. Set the sleeve in suitable soil and bolt the upright to it. Ask the shop about site-specific footing.\u003c\/p\u003e\n      \u003ch3\u003eOn a wood post\u003c\/h3\u003e\n      \u003cp\u003eUse the two mounting holes to screw the upright to a sound wood post. Supply the post and screws.\u003c\/p\u003e\n    \u003c\/div\u003e\n    \u003cdiv class=\"nma-pdp-figure\"\u003e\n      \u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0072\/9412\/4089\/files\/detail_5bce4809-12f9-4fcc-89fe-abdf7314e986.jpg?v=1795377228\u0026amp;width=540\" srcset=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0072\/9412\/4089\/files\/detail_5bce4809-12f9-4fcc-89fe-abdf7314e986.jpg?v=1795377228\u0026amp;width=360 360w, https:\/\/cdn.shopify.com\/s\/files\/1\/0072\/9412\/4089\/files\/detail_5bce4809-12f9-4fcc-89fe-abdf7314e986.jpg?v=1795377228\u0026amp;width=540 540w, https:\/\/cdn.shopify.com\/s\/files\/1\/0072\/9412\/4089\/files\/detail_5bce4809-12f9-4fcc-89fe-abdf7314e986.jpg?v=1795377228\u0026amp;width=565 565w\" sizes=\"(max-width: 640px) calc(100vw - 48px), 400px\" width=\"565\" height=\"605\" alt=\"Camp, Dock, Cabin and Parking blades pointing in alternating directions.\" loading=\"lazy\" decoding=\"async\"\u003e\n    \u003cp class=\"nma-pdp-caption\"\u003eTo change direction, unbolt the arrow and flip it sideways. The same label is printed on both faces.\u003c\/p\u003e\n    \u003c\/div\u003e\n  \u003c\/div\u003e\n  \u003cdiv class=\"nma-pdp-block nma-pdp-timing\"\u003e\n    \u003ch2\u003eBuild time and gift delivery\u003c\/h2\u003e\n    \u003cp\u003eAsk the shop about current build time for your header and arrow text. If it’s a gift, give us your ZIP code and the date you need it to check delivery timing.\u003c\/p\u003e\n    \u003cp\u003eFor outdoor placement and finish care, ask the shop.\u003c\/p\u003e\n    \u003cdiv class=\"nma-pdp-contact\"\u003e\n      \u003cspan data-link=\"\/pages\/contact-us\"\u003eContact the shop\u003c\/span\u003e\n      \u003cspan data-link=\"tel:+16158104910\"\u003e(615) 810-4910\u003c\/span\u003e\n    \u003c\/div\u003e\n  \u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cscript\u003e(function initialize(config) {\n  const root = document.getElementById(config.handle + '-body');\n  const formId = 'product_form_' + config.product;\n  const find = selector =\u003e root.querySelector(selector);\n  const child = (parent, tag, attributes = {}) =\u003e {\n    const element = document.createElement(tag);\n    for (const [key, value] of Object.entries(attributes)) element.setAttribute(key, value);\n    parent.append(element);\n    return element;\n  };\n  const normalize = value =\u003e value.replaceAll('\\u2019', \"'\").trim();\n\n  function blockUnready(event) {\n    const form = document.getElementById(formId);\n    if (!form || form.dataset.exploreReady) return;\n    const button = event.target.closest?.('button, input[type=\"submit\"]');\n    if (event.target !== form \u0026\u0026 !(button?.form === form \u0026\u0026\n      (button.type === 'submit' || button.matches('.ProductForm__AddToCart')))) return;\n    event.preventDefault();\n    event.stopImmediatePropagation();\n  }\n  window.addEventListener('click', blockUnready, true);\n  window.addEventListener('submit', blockUnready, true);\n\n  function mount() {\n    if (root?.dataset.ready) return;\n    const form = document.getElementById(formId);\n    const native = document.getElementById('product-select-' + config.product) ?? form?.querySelector('[name=\"id\"]');\n    const add = form?.querySelector('.ProductForm__AddToCart');\n    if (!add) return;\n    const wasDisabled = add.disabled;\n    add.disabled = true;\n    const variants = new Map(config.variants.map(({ label, id }) =\u003e [label, id]));\n    const selectedLabel = () =\u003e [...variants].find(([, value]) =\u003e value === native.value)?.[0];\n    if (!root || native?.form !== form || !selectedLabel()) return;\n\n    const fields = config.fields.map((_, index) =\u003e find('[data-field=\"' + index + '\"] input'));\n    if (fields.some(field =\u003e field?.form !== form || !field.required)) return;\n\n    let lake;\n    if (config.lakes.length) {\n      const lakeId = config.handle + '-lake';\n      child(find('[data-lake]'), 'label', { for: lakeId }).textContent = 'Lake';\n      lake = child(find('[data-lake]'), 'select', { id: lakeId, required: '' });\n      for (const label of variants.keys()) child(lake, 'option', { value: label }).textContent = label;\n      const popoverId = 'popover-' + config.product + '-product-template-lake';\n      const popover = document.getElementById(popoverId);\n      const nativeButton = form.querySelector('[aria-controls=\"' + popoverId + '\"]');\n      if (nativeButton) (nativeButton.closest('.ProductForm__Option') || nativeButton).hidden = true;\n      lake.addEventListener('change', () =\u003e {\n        const label = lake.value;\n        const choices = popover?.querySelectorAll('button[data-option-position=\"1\"][data-value]') || [];\n        [...choices].find(option =\u003e option.dataset.value === label)?.click();\n        native.value = variants.get(label);\n        native.dispatchEvent(new Event('change', { bubbles: true }));\n        refresh();\n      });\n    }\n\n    const propertyNames = new Set(fields.map(field =\u003e field.name));\n    for (const field of form.elements) {\n      if (propertyNames.has(field.name) \u0026\u0026 !fields.includes(field)) field.disabled = true;\n    }\n\n    for (const placeholder of root.querySelectorAll('[data-link]')) {\n      const anchor = document.createElement('a');\n      anchor.href = placeholder.dataset.link;\n      anchor.textContent = placeholder.textContent;\n      placeholder.replaceWith(anchor);\n    }\n\n    const name = find('[data-preview-name]');\n    const state = find('[data-state]');\n    const preview = find('[data-name-preview]');\n    const canvas = lake ? child(preview, 'canvas', { width: 560, height: 270, 'aria-hidden': 'true' }) : null;\n    const context = canvas?.getContext('2d');\n    const lakeName = find('[data-preview-lake]');\n    const arrowLabels = [...preview.querySelectorAll('[data-preview-arrow]')];\n    const valid = (field, index) =\u003e {\n      const value = normalize(field.value);\n      const pattern = index ? \/^[A-Za-z0-9 \u0026'’-]+$\/ : \/^[A-Za-z '’-]+$\/;\n      return field.value.length \u003c= config.fields[index].max_length \u0026\u0026 pattern.test(value)\n        \u0026\u0026 (index ? \/[A-Za-z0-9]\/ : \/[A-Za-z]\/).test(value);\n    };\n\n    function refresh(showErrors = false) {\n      const invalid = fields.findIndex((field, index) =\u003e !valid(field, index));\n      const blank = !normalize(fields[0].value);\n      const label = selectedLabel();\n      if (lake \u0026\u0026 label) lake.value = label;\n      const mode = !label ? 'lake' : blank ? 'blank' : invalid === -1 ? 'valid' : 'invalid';\n      state.textContent = config.states[mode];\n      preview.dataset.state = mode;\n      name.textContent = valid(fields[0], 0) ? normalize(fields[0].value).toUpperCase() : 'FAMILY NAME';\n      for (const [i, field] of fields.entries()) {\n        const bad = !valid(field, i) \u0026\u0026 (showErrors || Boolean(field.value));\n        if (bad) field.setAttribute('aria-invalid', 'true');\n        else field.removeAttribute('aria-invalid');\n        if (i \u003e 0) arrowLabels[i - 1].textContent = valid(field, i) ? normalize(field.value).toUpperCase() : '\\u00a0';\n      }\n      if (context) {\n        lakeName.textContent = label?.toUpperCase() || '';\n        context.clearRect(0, 0, 560, 270);\n        const shape = config.lakes.find(row =\u003e row.name === label)?.geometry;\n        if (shape) {\n          const polygons = shape.type === 'Polygon' ? [shape.coordinates] : shape.coordinates;\n          const points = polygons.flat(2);\n          const hi = Math.max(...points.map(([, y]) =\u003e Math.abs(y)));\n          const scale = Math.min(460, 123 \/ hi);\n          context.fillStyle = '#75afae';\n          context.beginPath();\n          for (const polygon of polygons) {\n            for (const ring of polygon) {\n              ring.forEach(([x, y], i) =\u003e context[i ? 'lineTo' : 'moveTo'](280 + x * scale, 135 - y * scale));\n              context.closePath();\n            }\n          }\n          context.fill('evenodd');\n        }\n      }\n      return { invalid, label };\n    }\n\n    function validate(event) {\n      const { invalid, label } = refresh(true);\n      if (invalid \u003c 0 \u0026\u0026 label) {\n        for (const field of fields) field.value = normalize(field.value);\n        return;\n      }\n      event.preventDefault();\n      event.stopImmediatePropagation();\n      (fields[invalid] || lake)?.focus();\n    }\n\n    fields.forEach((field, index) =\u003e {\n      field.addEventListener('input', () =\u003e refresh());\n      field.addEventListener('keydown', event =\u003e {\n        if (event.key !== 'Enter' || event.isComposing) return;\n        event.preventDefault();\n        (fields[index + 1] || add).focus();\n      });\n    });\n    form.addEventListener('formdata', event =\u003e {\n      for (const field of fields) event.formData.set(field.name, normalize(field.value));\n    });\n    window.addEventListener('click', event =\u003e {\n      const button = event.target.closest?.('button, input[type=\"submit\"]');\n      if (button?.form === form \u0026\u0026 (button.type === 'submit' || button === add)) validate(event);\n    }, true);\n    window.addEventListener('submit', event =\u003e {\n      if (event.target === form) validate(event);\n    }, true);\n    native.addEventListener('change', () =\u003e refresh());\n    form.addEventListener('variant:changed', () =\u003e refresh());\n    add.parentNode.insertBefore(root, add);\n    const nativePrice = form.closest('.Product__Info')?.querySelector('.ProductMeta__PriceList');\n    if (nativePrice?.textContent.includes(config.price)) find('[data-price]').hidden = true;\n    const quantity = form.querySelector('.ProductForm__QuantitySelector');\n    if (quantity) find('[data-buy-slot]').append(quantity);\n    find('[data-buy-slot]').append(add);\n    const firstAction = child(find('[data-first-action]'), 'button', { type: 'button', class: 'rack-first' });\n    firstAction.textContent = 'Personalize';\n    firstAction.addEventListener('click', () =\u003e fields[0].focus());\n    find('[data-controls]').hidden = false;\n    find('[data-pending]').hidden = true;\n    refresh();\n    root.dataset.ready = 'true';\n    form.dataset.exploreReady = 'true';\n    add.disabled = wasDisabled;\n  }\n\n  if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', mount, { once: true });\n  else mount();\n})({\"handle\":\"personalized-camp-direction-sign-set\",\"product\":\"10399522455600\",\"fields\":[{\"name\":\"Family name\",\"label\":\"Family name (or camp name)\",\"required\":true,\"max_length\":18},{\"name\":\"Arrow 1\",\"label\":\"Arrow 1\",\"required\":true,\"max_length\":12,\"default\":\"Camp\"},{\"name\":\"Arrow 2\",\"label\":\"Arrow 2\",\"required\":true,\"max_length\":12,\"default\":\"Dock\"},{\"name\":\"Arrow 3\",\"label\":\"Arrow 3\",\"required\":true,\"max_length\":12,\"default\":\"Cabin\"},{\"name\":\"Arrow 4\",\"label\":\"Arrow 4\",\"required\":true,\"max_length\":12,\"default\":\"Parking\"}],\"lakes\":[],\"states\":{\"blank\":\"Enter your family name.\",\"invalid\":\"Use the characters and length shown by each field.\",\"valid\":\"Your preview is ready.\",\"lake\":\"Choose a lake.\",\"pending\":\"Personalization is loading.\"},\"price\":\"$349.95\",\"variants\":[{\"label\":\"Default Title\",\"id\":\"51154197512240\"}]});\u003c\/script\u003e\n","brand":"Nashville Metal Art","offers":[{"title":"Default Title","offer_id":51154197512240,"sku":"EXP1122-SIGNS","price":349.95,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0072\/9412\/4089\/files\/hero_5e2e343f-579e-4d43-ab77-56d022a78e9c.jpg?v=1795377224","url":"https:\/\/nashvillemetalart.com\/products\/personalized-camp-direction-sign-set","provider":"Nashville Metal Art","version":"1.0","type":"link"}