Flags gaps in on-site staffing coverage against peak inquiry and tour hours.

This detail page is a placeholder — swap in the full script walkthrough, sample output, and setup steps once the script is finalized.

Prompt

← Back to the AI Script Library

Ready For An Occupancy Boost?

Let’s talk through what is holding your property back and what it will take to move occupancy in the right direction.

(function () { function esc(s) { return s.replace(/&/g, '&').replace(//g, '>'); } function highlightLine(line) { if (/^\s{0,3}#{1,6}\s/.test(line)) { return '' + esc(line) + ''; } var out = esc(line); out = out.replace(/^(\s*(?:[-*+]|\d+\.)\s)/, '$1'); out = out.replace(/\*\*([^*]+?)\*\*/g, '**$1**'); out = out.replace(/(^|[^*])\*([^*\s][^*]*?)\*(?!\*)/g, '$1*$2*'); out = out.replace(/`([^`]+?)`/g, '`$1`'); out = out.replace(/\[([^\]]+)\]\(([^)]+)\)/g, '[$1]($2)'); return out; } function fallbackCopy(text) { try { var ta = document.createElement('textarea'); ta.value = text; ta.setAttribute('readonly', ''); ta.style.position = 'fixed'; ta.style.top = '-9999px'; ta.style.left = '-9999px'; document.body.appendChild(ta); ta.focus(); ta.select(); ta.setSelectionRange(0, text.length); var ok = false; try { ok = document.execCommand('copy'); } catch (err) { ok = false; } document.body.removeChild(ta); return ok; } catch (err) { return false; } } function copyText(text, onDone) { try { if (navigator.clipboard && navigator.clipboard.writeText && window.isSecureContext) { navigator.clipboard.writeText(text).then( function () { onDone(true); }, function () { onDone(fallbackCopy(text)); } ); return; } } catch (err) { /* fall through to fallback */ } onDone(fallbackCopy(text)); } function initPrompt() { var codeEl = document.querySelector('.prompt-code-block'); var raw = codeEl ? (codeEl.textContent || '') : ''; if (codeEl && raw.trim()) { try { codeEl.innerHTML = raw.split('\n').map(highlightLine).join('\n'); } catch (err) { /* leave plain text if highlighting fails */ } } var btn = document.querySelector('.prompt-copy-button'); if (btn) { btn.addEventListener('click', function (e) { e.preventDefault(); if (!raw.trim()) return; try { copyText(raw, function (success) { var original = btn.textContent; btn.textContent = success ? 'Copied!' : 'Copy failed'; btn.classList.add(success ? 'is-copied' : 'is-error'); setTimeout(function () { btn.textContent = original; btn.classList.remove('is-copied', 'is-error'); }, 1800); }); } catch (err) { if (window.console && console.error) console.error('Prompt copy failed:', err); btn.textContent = 'Copy failed'; btn.classList.add('is-error'); setTimeout(function () { btn.textContent = 'Copy'; btn.classList.remove('is-error'); }, 1800); } }); } } if (document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', initPrompt); } else { initPrompt(); } })();