{"version":3,"file":"FAQSchema.Db9RzAea.mjs","names":[],"sources":["https:/framerusercontent.com/modules/9pYK9OOUAW4PQY2m01sn/sNjz4LIseLkuxmHsN9dS/FAQSchema.js"],"sourcesContent":["// Invisible code component that injects FAQ structured data (JSON-LD) into the page head\n// for Google rich results. Also cleans up orphan SVG elements from Framer component variants.\n// Renders nothing visible.\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function FAQSchema(props){const{faqs}=props;useEffect(()=>{const id=\"faq-schema-jsonld\";let script=document.getElementById(id);if(!script){script=document.createElement(\"script\");script.id=id;script.type=\"application/ld+json\";document.head.appendChild(script);}const schema={\"@context\":\"https://schema.org\",\"@type\":\"FAQPage\",mainEntity:faqs.map(faq=>({\"@type\":\"Question\",name:faq.question,acceptedAnswer:{\"@type\":\"Answer\",text:faq.answer}}))};script.textContent=JSON.stringify(schema);return()=>{script?.remove();};},[faqs]);// Robust cleanup: find and hide orphan empty divs with SVG background images\n// These are artifacts from Framer component responsive variants\nuseEffect(()=>{const cleanup=()=>{// Find the page wrapper (first div child of #main or body with framer classes)\nconst mainEl=document.getElementById(\"main\");if(!mainEl)return;const wrapper=mainEl.querySelector(\"div[class*='framer-']\");if(!wrapper)return;const children=Array.from(wrapper.children);children.forEach(child=>{// Target empty divs with SVG background-image data URIs\nif(child.tagName===\"DIV\"&&child.children.length===0&&child.textContent?.trim()===\"\"){const bg=getComputedStyle(child).backgroundImage;if(bg&&bg.includes(\"data:image/svg+xml\")){child.style.display=\"none\";}}});};// Run cleanup after render and after a short delay for hydration\ncleanup();const timer=setTimeout(cleanup,500);return()=>clearTimeout(timer);},[]);return /*#__PURE__*/_jsx(\"div\",{style:{...props.style,display:\"none\"}});}addPropertyControls(FAQSchema,{faqs:{type:ControlType.Array,title:\"FAQ Items\",control:{type:ControlType.Object,controls:{question:{type:ControlType.String,title:\"Question\",defaultValue:\"What is this product?\"},answer:{type:ControlType.String,title:\"Answer\",defaultValue:\"This is the answer.\",displayTextArea:true}}},defaultValue:[{question:\"How do I know when my Schlage Encode batteries are low?\",answer:\"The Schlage Encode will flash red and beep when batteries are low. You'll also get a low battery notification in the Schlage Home app. Most users get several weeks of warning before the lock stops working, but it's best to replace batteries as soon as you see the alert to avoid a lockout.\"},{question:\"Can I use lithium batteries in my Schlage Encode?\",answer:\"Schlage officially recommends standard 1.5V AA alkaline batteries and does not recommend lithium AA batteries. While some users report success with lithium AAs, the higher initial voltage (1.7V vs 1.5V) can cause erratic behavior. Energizer Ultimate Lithium AAs are the most commonly used, but proceed at your own risk.\"},{question:\"Why does my Schlage Encode drain batteries so fast?\",answer:\"The most common culprit is WiFi activity. The Schlage Encode maintains a constant WiFi connection for remote access, which draws significantly more power than Bluetooth-only locks. Other factors include frequent locking and unlocking, weak WiFi signal forcing the lock to boost its radio, cold temperatures, and the auto-lock feature if enabled.\"},{question:\"What happens during a power outage?\",answer:\"The receiver module has a built-in 2,500 mAh rechargeable battery. If the transmitter loses power, the internal battery keeps your lock running — similar to a fresh set of AAs. When power returns, charging resumes automatically.\"},{question:\"How long does the internal battery last without the transmitter?\",answer:\"The 2,500 mAh battery will power your lock for an extended period comparable to a new set of AA batteries. It's a backup, not the primary power source — under normal operation, the transmitter keeps it topped off continuously.\"},{question:\"Does the transmitter need line of sight to the lock?\",answer:\"Yes. The infrared beam can't pass through walls or furniture. Place the transmitter in the same room as your lock, facing it directly, between 3 and 33 feet away. It has an 80-degree field of view, so precise aiming isn't necessary.\"},{question:\"What's in the box?\",answer:\"The kit includes: the R1 wireless power transmitter with stand, the drop-in receiver module (with internal rechargeable battery), a 12V power adapter and cable, mounting hardware, and a quick install guide.\"}]}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FAQSchema\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayout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