Anfrage für eine Immobilienbesichtigung
Besichtigung einer Wohnung, eines Hauses oder einer Gewerbefläche anfragen.
Vorschau
Formularcode
<!doctype html>
<html lang="de">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Anfrage für eine Immobilienbesichtigung</title>
<style>
body { font-family: "Segoe UI", sans-serif; color: #12263a; margin: 0; background: #fff; }
main { max-width: 640px; margin: 0 auto; padding: 32px 20px 64px; }
h1 { font-size: 28px; font-weight: 650; letter-spacing: -0.02em; line-height: 1.2; }
h2 { font-size: 18px; margin: 18px 0 0; }
p { line-height: 1.5; }
form { display: grid; gap: 14px; position: relative; }
.field { display: grid; gap: 6px; }
label span, .check span { font-size: 14px; }
input, select, textarea { font: inherit; color: inherit; padding: 10px 12px; border: 1px solid #b4bdce; border-radius: 8px; width: 100%; box-sizing: border-box; background: #fff; }
textarea { min-height: 96px; }
.check { display: flex; gap: 8px; align-items: flex-start; }
.check input { width: auto; margin-top: 4px; }
button { background: #3c4ad8; color: #fff; border: 0; border-radius: 8px; padding: 12px 18px; font: inherit; cursor: pointer; }
.note { background: #fff6eb; padding: 12px 14px; border-radius: 8px; }
form [data-show-if] { display: none; }
form:has(select[name="intent"] option[value="rent"]:checked) [data-show-if="intent"][data-show-equals="rent"] { display: grid; }
</style>
</head>
<body>
<main>
<h1 data-i18n="title">Anfrage für eine Immobilienbesichtigung</h1>
<p data-i18n="lede">Besichtigung einer Wohnung, eines Hauses oder einer Gewerbefläche anfragen.</p>
<form id="fg-form" action="https://formgong.com/submit" method="POST" enctype="multipart/form-data" data-sitekey="" data-lang="de">
<input type="hidden" name="access_key" value="fk_your_access_key">
<input type="hidden" name="_lang" value="de">
<div aria-hidden="true" style="position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden"><label>Leave this field empty<input name="botcheck" tabindex="-1" autocomplete="off"></label></div>
<section><h2 data-i18n="section.search">Search</h2>
<div class="field"><label for="fg-intent"><span data-i18n="intent">I want to</span></label><select id="fg-intent" name="intent" required><option value="">—</option><option value="buy" data-i18n="intent.buy">Buy</option><option value="rent" data-i18n="intent.rent">Rent</option></select></div>
<div class="field"><label for="fg-property_type"><span data-i18n="property_type">Type</span></label><select id="fg-property_type" name="property_type" required><option value="">—</option><option value="apartment" data-i18n="property_type.apartment">Apartment</option><option value="house" data-i18n="property_type.house">House</option><option value="commercial" data-i18n="property_type.commercial">Commercial</option><option value="land" data-i18n="property_type.land">Land</option></select></div>
<div class="field"><label for="fg-city"><span data-i18n="city">City or area</span></label><input id="fg-city" name="city" type="text" required maxlength="80" autocomplete="address-level2"></div>
<div class="field"><label for="fg-rooms"><span data-i18n="rooms">Rooms</span></label><select id="fg-rooms" name="rooms"><option value="">—</option><option value="1" data-i18n="rooms.1">1</option><option value="2" data-i18n="rooms.2">2</option><option value="3" data-i18n="rooms.3">3</option><option value="4plus" data-i18n="rooms.4plus">4 or more</option></select></div>
<div class="field"><label for="fg-budget_max"><span data-i18n="budget_max">Budget up to</span></label><input id="fg-budget_max" name="budget_max" type="number" min="0" max="100000000"></div>
<div class="field" data-show-if="intent" data-show-equals="rent"><label for="fg-move_in"><span data-i18n="move_in">Move-in date</span></label><input id="fg-move_in" name="move_in" type="date"></div></section>
<section><h2 data-i18n="section.viewing">Viewing</h2>
<div class="field"><label for="fg-preferred_date"><span data-i18n="preferred_date">Preferred date</span></label><input id="fg-preferred_date" name="preferred_date" type="date"></div>
<div class="field"><label for="fg-preferred_time"><span data-i18n="preferred_time">Preferred time</span></label><select id="fg-preferred_time" name="preferred_time"><option value="">—</option><option value="morning" data-i18n="preferred_time.morning">Morning</option><option value="afternoon" data-i18n="preferred_time.afternoon">Afternoon</option><option value="evening" data-i18n="preferred_time.evening">Evening</option></select></div></section>
<section><h2 data-i18n="section.contact">Contact</h2>
<div class="field"><label for="fg-name"><span data-i18n="name">Name</span></label><input id="fg-name" name="name" type="text" required maxlength="80" autocomplete="name"></div>
<div class="field"><label for="fg-email"><span data-i18n="email">Email</span></label><input id="fg-email" name="email" type="email" required maxlength="120" autocomplete="email"></div>
<div class="field"><label for="fg-phone"><span data-i18n="phone">Phone</span></label><input id="fg-phone" name="phone" type="tel" required maxlength="40" autocomplete="tel"></div></section>
<section><h2 data-i18n="section.note">Note</h2>
<div class="field"><label for="fg-message"><span data-i18n="message">Anything else?</span></label><textarea id="fg-message" name="message" maxlength="600"></textarea></div></section>
<section><h2 data-i18n="section.consent">Consent</h2>
<div class="field"><label class="check"><input id="fg-consent_contact" name="consent_contact" type="checkbox" value="yes" required><span data-i18n="consent_contact">I agree to be contacted about this request.</span></label></div>
<div class="field"><label class="check"><input id="fg-consent_privacy" name="consent_privacy" type="checkbox" value="yes" required><span data-i18n="consent_privacy">I agree that these answers are stored so the request can be handled.</span></label></div></section>
<!-- Set data-sitekey on this form to YOUR_TURNSTILE_SITE_KEY. Required for attachments. -->
<div data-turnstile></div>
<button type="submit" data-i18n="submit">Senden</button>
<p data-status role="status"></p>
</form>
</main>
<script type="application/json" id="fg-labels">{"uk":{"title":"Форма запиту на перегляд нерухомості","lede":"Запит на перегляд житла або комерційного приміщення.","submit":"Надіслати","thanks":"Надіслано. Дякуємо.","file_too_big":"До 3 файлів, по 5 MiB, разом до 10 MiB.","error":"Не вдалося надіслати. Спробуйте ще раз.","section.search":"Пошук","intent":"Хочу","intent.buy":"Купити","intent.rent":"Орендувати","property_type":"Тип","property_type.apartment":"Квартира","property_type.house":"Будинок","property_type.commercial":"Комерційне","property_type.land":"Ділянка","city":"Місто або район","rooms":"Кімнати","rooms.1":"1","rooms.2":"2","rooms.3":"3","rooms.4plus":"4 або більше","budget_max":"Бюджет до","move_in":"Дата заселення","section.viewing":"Перегляд","preferred_date":"Бажана дата","preferred_time":"Бажаний час","preferred_time.morning":"Ранок","preferred_time.afternoon":"День","preferred_time.evening":"Вечір","section.contact":"Контакт","name":"Ім'я","email":"Електронна пошта","phone":"Телефон","section.note":"Примітка","message":"Щось ще?","section.consent":"Згода","consent_contact":"Погоджуюсь, щоб зі мною зв'язалися щодо цієї заявки.","consent_privacy":"Погоджуюсь, що ці відповіді зберігаються, щоб заявку можна було обробити."},"en":{"title":"Property viewing request","lede":"Ask to see a home or a commercial space.","submit":"Send","thanks":"Sent. Thank you.","file_too_big":"Up to 3 files, 5 MiB each and 10 MiB combined.","error":"Could not send. Please try again.","section.search":"Search","intent":"I want to","intent.buy":"Buy","intent.rent":"Rent","property_type":"Type","property_type.apartment":"Apartment","property_type.house":"House","property_type.commercial":"Commercial","property_type.land":"Land","city":"City or area","rooms":"Rooms","rooms.1":"1","rooms.2":"2","rooms.3":"3","rooms.4plus":"4 or more","budget_max":"Budget up to","move_in":"Move-in date","section.viewing":"Viewing","preferred_date":"Preferred date","preferred_time":"Preferred time","preferred_time.morning":"Morning","preferred_time.afternoon":"Afternoon","preferred_time.evening":"Evening","section.contact":"Contact","name":"Name","email":"Email","phone":"Phone","section.note":"Note","message":"Anything else?","section.consent":"Consent","consent_contact":"I agree to be contacted about this request.","consent_privacy":"I agree that these answers are stored so the request can be handled."},"pl":{"title":"Formularz zapytania o nieruchomość","lede":"Prośba o obejrzenie mieszkania, domu albo lokalu.","submit":"Wyślij","thanks":"Wysłano. Dziękujemy.","file_too_big":"Do 3 plików, po 5 MiB, łącznie 10 MiB.","error":"Nie udało się wysłać. Spróbuj ponownie.","section.search":"Szukam","intent":"Chcę","intent.buy":"Kupić","intent.rent":"Wynająć","property_type":"Rodzaj","property_type.apartment":"Mieszkanie","property_type.house":"Dom","property_type.commercial":"Lokal użytkowy","property_type.land":"Działka","city":"Miasto lub dzielnica","rooms":"Pokoje","rooms.1":"1","rooms.2":"2","rooms.3":"3","rooms.4plus":"4 lub więcej","budget_max":"Budżet do","move_in":"Data wprowadzenia","section.viewing":"Prezentacja","preferred_date":"Preferowana data","preferred_time":"Preferowana pora","preferred_time.morning":"Rano","preferred_time.afternoon":"Popołudnie","preferred_time.evening":"Wieczór","section.contact":"Kontakt","name":"Imię","email":"E-mail","phone":"Telefon","section.note":"Notatka","message":"Coś jeszcze?","section.consent":"Zgoda","consent_contact":"Zgadzam się na kontakt w sprawie tego zgłoszenia.","consent_privacy":"Zgadzam się, aby te odpowiedzi zostały zapisane w celu obsługi zgłoszenia."},"tr":{"title":"Emlak görüntüleme formu","lede":"Bir konut ya da işyeri görmek için talep.","submit":"Gönder","thanks":"Gönderildi. Teşekkürler.","file_too_big":"En fazla 3 dosya, dosya başına 5 MiB, toplam 10 MiB.","error":"Gönderilemedi. Lütfen tekrar deneyin.","section.search":"Arama","intent":"İstiyorum","intent.buy":"Satın almak","intent.rent":"Kiralamak","property_type":"Tür","property_type.apartment":"Daire","property_type.house":"Müstakil ev","property_type.commercial":"İşyeri","property_type.land":"Arsa","city":"Şehir ya da semt","rooms":"Oda sayısı","rooms.1":"1","rooms.2":"2","rooms.3":"3","rooms.4plus":"4 veya daha fazla","budget_max":"Bütçe üst sınırı","move_in":"Taşınma tarihi","section.viewing":"Görüntüleme","preferred_date":"Tercih edilen tarih","preferred_time":"Tercih edilen saat","preferred_time.morning":"Sabah","preferred_time.afternoon":"Öğleden sonra","preferred_time.evening":"Akşam","section.contact":"İletişim","name":"Ad","email":"E-posta","phone":"Telefon","section.note":"Not","message":"Başka bir şey?","section.consent":"Onay","consent_contact":"Bu talep hakkında benimle iletişime geçilmesini kabul ediyorum.","consent_privacy":"Bu yanıtların talebin işlenmesi için saklanmasını kabul ediyorum."},"ar":{"title":"طلب معاينة عقار","lede":"اطلب معاينة منزل أو مساحة تجارية.","submit":"إرسال","thanks":"تم الإرسال. شكرًا لك.","file_too_big":"حتى 3 ملفات، 5 MiB لكل ملف و10 MiB إجمالًا.","error":"تعذّر الإرسال. يُرجى المحاولة مرة أخرى.","section.search":"البحث","intent":"أريد","intent.buy":"الشراء","intent.rent":"الاستئجار","property_type":"النوع","property_type.apartment":"شقة","property_type.house":"منزل","property_type.commercial":"تجاري","property_type.land":"أرض","city":"المدينة أو المنطقة","rooms":"الغرف","rooms.1":"1","rooms.2":"2","rooms.3":"3","rooms.4plus":"4 أو أكثر","budget_max":"الميزانية حتى","move_in":"تاريخ الانتقال","section.viewing":"المعاينة","preferred_date":"التاريخ المفضل","preferred_time":"الوقت المفضل","preferred_time.morning":"صباحًا","preferred_time.afternoon":"بعد الظهر","preferred_time.evening":"مساءً","section.contact":"التواصل","name":"الاسم","email":"البريد الإلكتروني","phone":"الهاتف","section.note":"ملاحظة","message":"أي شيء آخر؟","section.consent":"الموافقة","consent_contact":"أوافق على التواصل معي بخصوص هذا الطلب.","consent_privacy":"أوافق على حفظ هذه الإجابات لمعالجة الطلب."},"he":{"title":"בקשה לצפייה בנכס","lede":"בקשו לראות דירה או שטח מסחרי.","submit":"שליחה","thanks":"נשלח. תודה.","file_too_big":"עד 3 קבצים, 5 MiB לכל קובץ ו-10 MiB בסך הכול.","error":"השליחה נכשלה. נסו שוב.","section.search":"חיפוש","intent":"אני רוצה","intent.buy":"לקנות","intent.rent":"לשכור","property_type":"סוג","property_type.apartment":"דירה","property_type.house":"בית","property_type.commercial":"מסחרי","property_type.land":"מגרש","city":"עיר או אזור","rooms":"חדרים","rooms.1":"1","rooms.2":"2","rooms.3":"3","rooms.4plus":"4 ומעלה","budget_max":"תקציב עד","move_in":"תאריך כניסה","section.viewing":"צפייה","preferred_date":"תאריך מועדף","preferred_time":"שעה מועדפת","preferred_time.morning":"בוקר","preferred_time.afternoon":"צהריים","preferred_time.evening":"ערב","section.contact":"פרטי קשר","name":"שם","email":"אימייל","phone":"טלפון","section.note":"הערה","message":"משהו נוסף?","section.consent":"הסכמה","consent_contact":"אני מסכים/ה שייצרו איתי קשר בנוגע לפנייה זו.","consent_privacy":"אני מסכים/ה שהתשובות יישמרו לצורך טיפול בפנייה."},"es":{"title":"Solicitud de visita a un inmueble","lede":"Pide ver una vivienda o un local comercial.","submit":"Enviar","thanks":"Enviado. Gracias.","file_too_big":"Hasta 3 archivos, 5 MiB cada uno y 10 MiB en total.","error":"No se pudo enviar. Inténtalo de nuevo.","section.search":"Búsqueda","intent":"Quiero","intent.buy":"Comprar","intent.rent":"Alquilar","property_type":"Tipo","property_type.apartment":"Apartamento","property_type.house":"Casa","property_type.commercial":"Local comercial","property_type.land":"Terreno","city":"Ciudad o zona","rooms":"Habitaciones","rooms.1":"1","rooms.2":"2","rooms.3":"3","rooms.4plus":"4 o más","budget_max":"Presupuesto máximo","move_in":"Fecha de entrada","section.viewing":"Visita","preferred_date":"Fecha preferida","preferred_time":"Hora preferida","preferred_time.morning":"Mañana","preferred_time.afternoon":"Tarde","preferred_time.evening":"Noche","section.contact":"Contacto","name":"Nombre","email":"Correo electrónico","phone":"Teléfono","section.note":"Nota","message":"¿Algo más?","section.consent":"Consentimiento","consent_contact":"Acepto que me contacten sobre esta solicitud.","consent_privacy":"Acepto que estas respuestas se guarden para tramitar la solicitud."},"fr":{"title":"Demande de visite d’un bien","lede":"Demandez à visiter un logement ou un local commercial.","submit":"Envoyer","thanks":"Envoyé. Merci.","file_too_big":"Jusqu’à 3 fichiers, 5 Mio chacun et 10 Mio au total.","error":"Envoi impossible. Veuillez réessayer.","section.search":"Recherche","intent":"Je souhaite","intent.buy":"Acheter","intent.rent":"Louer","property_type":"Type","property_type.apartment":"Appartement","property_type.house":"Maison","property_type.commercial":"Local commercial","property_type.land":"Terrain","city":"Ville ou quartier","rooms":"Pièces","rooms.1":"1","rooms.2":"2","rooms.3":"3","rooms.4plus":"4 ou plus","budget_max":"Budget maximum","move_in":"Date d’emménagement","section.viewing":"Visite","preferred_date":"Date souhaitée","preferred_time":"Moment souhaité","preferred_time.morning":"Matin","preferred_time.afternoon":"Après-midi","preferred_time.evening":"Soir","section.contact":"Contact","name":"Nom","email":"E-mail","phone":"Téléphone","section.note":"Remarque","message":"Autre chose ?","section.consent":"Consentement","consent_contact":"J’accepte d’être contacté au sujet de cette demande.","consent_privacy":"J’accepte que ces réponses soient conservées pour traiter la demande."},"pt":{"title":"Pedido de visita a imóvel","lede":"Peça para ver uma casa ou um espaço comercial.","submit":"Enviar","thanks":"Enviado. Obrigado.","file_too_big":"Até 3 ficheiros, 5 MiB cada e 10 MiB no total.","error":"Não foi possível enviar. Tente novamente.","section.search":"Procura","intent":"Pretendo","intent.buy":"Comprar","intent.rent":"Arrendar","property_type":"Tipo","property_type.apartment":"Apartamento","property_type.house":"Moradia","property_type.commercial":"Comercial","property_type.land":"Terreno","city":"Cidade ou zona","rooms":"Quartos","rooms.1":"1","rooms.2":"2","rooms.3":"3","rooms.4plus":"4 ou mais","budget_max":"Orçamento até","move_in":"Data de mudança","section.viewing":"Visita","preferred_date":"Data preferida","preferred_time":"Horário preferido","preferred_time.morning":"Manhã","preferred_time.afternoon":"Tarde","preferred_time.evening":"Noite","section.contact":"Contacto","name":"Nome","email":"Email","phone":"Telefone","section.note":"Nota","message":"Mais alguma coisa?","section.consent":"Consentimento","consent_contact":"Aceito ser contactado sobre este pedido.","consent_privacy":"Aceito que estas respostas sejam guardadas para tratar o pedido."},"hi":{"title":"प्रॉपर्टी देखने का अनुरोध","lede":"घर या कमर्शियल जगह देखने का अनुरोध करें।","submit":"भेजें","thanks":"भेज दिया गया। धन्यवाद।","file_too_big":"अधिकतम 3 फ़ाइलें, हर फ़ाइल 5 MiB तक और कुल 10 MiB।","error":"भेजा नहीं जा सका। कृपया फिर से कोशिश करें।","section.search":"खोज","intent":"मैं चाहता/चाहती हूँ","intent.buy":"खरीदना","intent.rent":"किराए पर लेना","property_type":"प्रकार","property_type.apartment":"अपार्टमेंट","property_type.house":"मकान","property_type.commercial":"कमर्शियल","property_type.land":"ज़मीन","city":"शहर या इलाका","rooms":"कमरे","rooms.1":"1","rooms.2":"2","rooms.3":"3","rooms.4plus":"4 या अधिक","budget_max":"अधिकतम बजट","move_in":"शिफ़्ट होने की तारीख","section.viewing":"विज़िट","preferred_date":"पसंदीदा तारीख","preferred_time":"पसंदीदा समय","preferred_time.morning":"सुबह","preferred_time.afternoon":"दोपहर","preferred_time.evening":"शाम","section.contact":"संपर्क","name":"नाम","email":"ईमेल","phone":"फ़ोन","section.note":"नोट","message":"और कुछ?","section.consent":"सहमति","consent_contact":"मैं इस अनुरोध के बारे में संपर्क किए जाने के लिए सहमत हूँ।","consent_privacy":"मैं सहमत हूँ कि अनुरोध पर काम करने के लिए ये जवाब सहेजे जाएँ।"},"ja":{"title":"物件見学の申し込み","lede":"住宅や店舗・事務所の見学を申し込みます。","submit":"送信","thanks":"送信しました。ありがとうございます。","file_too_big":"ファイルは3つまで、1つ5 MiB、合計10 MiBまでです。","error":"送信できませんでした。もう一度お試しください。","section.search":"ご希望の条件","intent":"目的","intent.buy":"購入","intent.rent":"賃貸","property_type":"種類","property_type.apartment":"マンション・アパート","property_type.house":"一戸建て","property_type.commercial":"商業物件","property_type.land":"土地","city":"市区町村・エリア","rooms":"部屋数","rooms.1":"1","rooms.2":"2","rooms.3":"3","rooms.4plus":"4以上","budget_max":"予算上限","move_in":"入居希望日","section.viewing":"見学","preferred_date":"希望日","preferred_time":"希望時間帯","preferred_time.morning":"午前","preferred_time.afternoon":"午後","preferred_time.evening":"夕方","section.contact":"連絡先","name":"お名前","email":"メールアドレス","phone":"電話番号","section.note":"備考","message":"その他","section.consent":"同意","consent_contact":"このお問い合わせについて連絡を受けることに同意します。","consent_privacy":"お問い合わせへの対応のため、これらの回答が保存されることに同意します。"},"de":{"title":"Anfrage für eine Immobilienbesichtigung","lede":"Besichtigung einer Wohnung, eines Hauses oder einer Gewerbefläche anfragen.","submit":"Senden","thanks":"Gesendet. Vielen Dank.","file_too_big":"Bis zu 3 Dateien, je 5 MiB und insgesamt 10 MiB.","error":"Senden fehlgeschlagen. Bitte versuchen Sie es erneut.","section.search":"Suche","intent":"Ich möchte","intent.buy":"Kaufen","intent.rent":"Mieten","property_type":"Typ","property_type.apartment":"Wohnung","property_type.house":"Haus","property_type.commercial":"Gewerbe","property_type.land":"Grundstück","city":"Stadt oder Region","rooms":"Zimmer","rooms.1":"1","rooms.2":"2","rooms.3":"3","rooms.4plus":"4 oder mehr","budget_max":"Budget bis","move_in":"Einzugstermin","section.viewing":"Besichtigung","preferred_date":"Wunschtermin","preferred_time":"Wunschuhrzeit","preferred_time.morning":"Vormittag","preferred_time.afternoon":"Nachmittag","preferred_time.evening":"Abend","section.contact":"Kontakt","name":"Name","email":"E-Mail","phone":"Telefon","section.note":"Hinweis","message":"Sonst noch etwas?","section.consent":"Einwilligung","consent_contact":"Ich bin damit einverstanden, bezüglich dieser Anfrage kontaktiert zu werden.","consent_privacy":"Ich stimme zu, dass diese Antworten gespeichert werden, damit die Anfrage bearbeitet werden kann."}}</script>
<script>
function mountCaptcha(node, siteKey) {
if (!node || !siteKey) return () => {};
let disposed = false;
let widget;
function render() {
if (disposed || !window.turnstile) return;
window.turnstile.ready(() => {
if (disposed) return;
widget = window.turnstile.render(node, { sitekey: siteKey, language: node.dataset.language || document.documentElement.lang || "auto" });
node.dataset.widgetId = widget;
});
}
if (window.turnstile) render();
else {
let script = document.querySelector('script[src^="https://challenges.cloudflare.com/turnstile/v0/api.js"]');
if (!script) {
script = document.createElement("script");
script.src = "https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit";
script.async = true;
document.head.appendChild(script);
}
script.addEventListener("load", render, { once: true });
}
return () => { disposed = true; if (widget !== undefined) window.turnstile?.remove(widget); };
}
function resetCaptcha(form) {
const widget = form.querySelector("[data-turnstile]")?.dataset.widgetId;
if (widget !== undefined) window.turnstile?.reset(widget);
}
(function () {
var MAX = 5242880;
var form = document.getElementById("fg-form");
var packNode = document.getElementById("fg-labels");
if (!form || !packNode) return;
var pack = JSON.parse(packNode.textContent);
function code() {
var q = new URLSearchParams(location.search).get("lang") || "";
// ?lang= preview override, then the form language chosen when copying, then the page and browser.
var raw = (q || form.getAttribute("data-lang") || document.documentElement.lang || (navigator.language || "en")).slice(0, 2).toLowerCase();
return pack[raw] ? raw : "en";
}
function apply() {
var dict = pack[code()];
document.querySelectorAll("[data-i18n]").forEach(function (node) {
var key = node.getAttribute("data-i18n");
if (key && typeof dict[key] === "string") node.textContent = dict[key];
});
}
apply();
var status = form.querySelector("[data-status]");
form.addEventListener("submit", function (event) {
event.preventDefault();
var dict = pack[code()];
var body = new FormData(form);
var files = Array.from(body.values()).filter(function (value) { return value instanceof File && value.size; });
if (files.length > 3 || files.some(function (file) { return file.size > MAX; }) || files.reduce(function (sum,file) { return sum + file.size; },0) > 10 * 1024 * 1024) {
if (status) status.textContent = dict.file_too_big;
return;
}
var button = form.querySelector("button[type=submit]");
if (button) button.disabled = true;
fetch(form.action, { method: "POST", headers: { Accept: "application/json" }, body: body })
.then(function (response) { return response.json(); }).then(function (result) {
if (status) status.textContent = result && result.success ? dict.thanks : ((result && result.message) || dict.error);
}).catch(function () { if (status) status.textContent = dict.error; })
.finally(function () { if (button) button.disabled = false; resetCaptcha(form); });
});
mountCaptcha(form.querySelector("[data-turnstile]"), form.dataset.sitekey);
})();
</script>
</body>
</html>
// Generated from src/content/industries.ts — npm run templates:write
import { useState, useEffect, useRef } from "react";
const ENDPOINT = "https://formgong.com/submit";
const FILE_MAX = 5242880;
const LABELS = {
"uk": {
"title": "Форма запиту на перегляд нерухомості",
"lede": "Запит на перегляд житла або комерційного приміщення.",
"submit": "Надіслати",
"thanks": "Надіслано. Дякуємо.",
"file_too_big": "До 3 файлів, по 5 MiB, разом до 10 MiB.",
"error": "Не вдалося надіслати. Спробуйте ще раз.",
"section.search": "Пошук",
"intent": "Хочу",
"intent.buy": "Купити",
"intent.rent": "Орендувати",
"property_type": "Тип",
"property_type.apartment": "Квартира",
"property_type.house": "Будинок",
"property_type.commercial": "Комерційне",
"property_type.land": "Ділянка",
"city": "Місто або район",
"rooms": "Кімнати",
"rooms.1": "1",
"rooms.2": "2",
"rooms.3": "3",
"rooms.4plus": "4 або більше",
"budget_max": "Бюджет до",
"move_in": "Дата заселення",
"section.viewing": "Перегляд",
"preferred_date": "Бажана дата",
"preferred_time": "Бажаний час",
"preferred_time.morning": "Ранок",
"preferred_time.afternoon": "День",
"preferred_time.evening": "Вечір",
"section.contact": "Контакт",
"name": "Ім'я",
"email": "Електронна пошта",
"phone": "Телефон",
"section.note": "Примітка",
"message": "Щось ще?",
"section.consent": "Згода",
"consent_contact": "Погоджуюсь, щоб зі мною зв'язалися щодо цієї заявки.",
"consent_privacy": "Погоджуюсь, що ці відповіді зберігаються, щоб заявку можна було обробити."
},
"en": {
"title": "Property viewing request",
"lede": "Ask to see a home or a commercial space.",
"submit": "Send",
"thanks": "Sent. Thank you.",
"file_too_big": "Up to 3 files, 5 MiB each and 10 MiB combined.",
"error": "Could not send. Please try again.",
"section.search": "Search",
"intent": "I want to",
"intent.buy": "Buy",
"intent.rent": "Rent",
"property_type": "Type",
"property_type.apartment": "Apartment",
"property_type.house": "House",
"property_type.commercial": "Commercial",
"property_type.land": "Land",
"city": "City or area",
"rooms": "Rooms",
"rooms.1": "1",
"rooms.2": "2",
"rooms.3": "3",
"rooms.4plus": "4 or more",
"budget_max": "Budget up to",
"move_in": "Move-in date",
"section.viewing": "Viewing",
"preferred_date": "Preferred date",
"preferred_time": "Preferred time",
"preferred_time.morning": "Morning",
"preferred_time.afternoon": "Afternoon",
"preferred_time.evening": "Evening",
"section.contact": "Contact",
"name": "Name",
"email": "Email",
"phone": "Phone",
"section.note": "Note",
"message": "Anything else?",
"section.consent": "Consent",
"consent_contact": "I agree to be contacted about this request.",
"consent_privacy": "I agree that these answers are stored so the request can be handled."
},
"pl": {
"title": "Formularz zapytania o nieruchomość",
"lede": "Prośba o obejrzenie mieszkania, domu albo lokalu.",
"submit": "Wyślij",
"thanks": "Wysłano. Dziękujemy.",
"file_too_big": "Do 3 plików, po 5 MiB, łącznie 10 MiB.",
"error": "Nie udało się wysłać. Spróbuj ponownie.",
"section.search": "Szukam",
"intent": "Chcę",
"intent.buy": "Kupić",
"intent.rent": "Wynająć",
"property_type": "Rodzaj",
"property_type.apartment": "Mieszkanie",
"property_type.house": "Dom",
"property_type.commercial": "Lokal użytkowy",
"property_type.land": "Działka",
"city": "Miasto lub dzielnica",
"rooms": "Pokoje",
"rooms.1": "1",
"rooms.2": "2",
"rooms.3": "3",
"rooms.4plus": "4 lub więcej",
"budget_max": "Budżet do",
"move_in": "Data wprowadzenia",
"section.viewing": "Prezentacja",
"preferred_date": "Preferowana data",
"preferred_time": "Preferowana pora",
"preferred_time.morning": "Rano",
"preferred_time.afternoon": "Popołudnie",
"preferred_time.evening": "Wieczór",
"section.contact": "Kontakt",
"name": "Imię",
"email": "E-mail",
"phone": "Telefon",
"section.note": "Notatka",
"message": "Coś jeszcze?",
"section.consent": "Zgoda",
"consent_contact": "Zgadzam się na kontakt w sprawie tego zgłoszenia.",
"consent_privacy": "Zgadzam się, aby te odpowiedzi zostały zapisane w celu obsługi zgłoszenia."
},
"tr": {
"title": "Emlak görüntüleme formu",
"lede": "Bir konut ya da işyeri görmek için talep.",
"submit": "Gönder",
"thanks": "Gönderildi. Teşekkürler.",
"file_too_big": "En fazla 3 dosya, dosya başına 5 MiB, toplam 10 MiB.",
"error": "Gönderilemedi. Lütfen tekrar deneyin.",
"section.search": "Arama",
"intent": "İstiyorum",
"intent.buy": "Satın almak",
"intent.rent": "Kiralamak",
"property_type": "Tür",
"property_type.apartment": "Daire",
"property_type.house": "Müstakil ev",
"property_type.commercial": "İşyeri",
"property_type.land": "Arsa",
"city": "Şehir ya da semt",
"rooms": "Oda sayısı",
"rooms.1": "1",
"rooms.2": "2",
"rooms.3": "3",
"rooms.4plus": "4 veya daha fazla",
"budget_max": "Bütçe üst sınırı",
"move_in": "Taşınma tarihi",
"section.viewing": "Görüntüleme",
"preferred_date": "Tercih edilen tarih",
"preferred_time": "Tercih edilen saat",
"preferred_time.morning": "Sabah",
"preferred_time.afternoon": "Öğleden sonra",
"preferred_time.evening": "Akşam",
"section.contact": "İletişim",
"name": "Ad",
"email": "E-posta",
"phone": "Telefon",
"section.note": "Not",
"message": "Başka bir şey?",
"section.consent": "Onay",
"consent_contact": "Bu talep hakkında benimle iletişime geçilmesini kabul ediyorum.",
"consent_privacy": "Bu yanıtların talebin işlenmesi için saklanmasını kabul ediyorum."
},
"ar": {
"title": "طلب معاينة عقار",
"lede": "اطلب معاينة منزل أو مساحة تجارية.",
"submit": "إرسال",
"thanks": "تم الإرسال. شكرًا لك.",
"file_too_big": "حتى 3 ملفات، 5 MiB لكل ملف و10 MiB إجمالًا.",
"error": "تعذّر الإرسال. يُرجى المحاولة مرة أخرى.",
"section.search": "البحث",
"intent": "أريد",
"intent.buy": "الشراء",
"intent.rent": "الاستئجار",
"property_type": "النوع",
"property_type.apartment": "شقة",
"property_type.house": "منزل",
"property_type.commercial": "تجاري",
"property_type.land": "أرض",
"city": "المدينة أو المنطقة",
"rooms": "الغرف",
"rooms.1": "1",
"rooms.2": "2",
"rooms.3": "3",
"rooms.4plus": "4 أو أكثر",
"budget_max": "الميزانية حتى",
"move_in": "تاريخ الانتقال",
"section.viewing": "المعاينة",
"preferred_date": "التاريخ المفضل",
"preferred_time": "الوقت المفضل",
"preferred_time.morning": "صباحًا",
"preferred_time.afternoon": "بعد الظهر",
"preferred_time.evening": "مساءً",
"section.contact": "التواصل",
"name": "الاسم",
"email": "البريد الإلكتروني",
"phone": "الهاتف",
"section.note": "ملاحظة",
"message": "أي شيء آخر؟",
"section.consent": "الموافقة",
"consent_contact": "أوافق على التواصل معي بخصوص هذا الطلب.",
"consent_privacy": "أوافق على حفظ هذه الإجابات لمعالجة الطلب."
},
"he": {
"title": "בקשה לצפייה בנכס",
"lede": "בקשו לראות דירה או שטח מסחרי.",
"submit": "שליחה",
"thanks": "נשלח. תודה.",
"file_too_big": "עד 3 קבצים, 5 MiB לכל קובץ ו-10 MiB בסך הכול.",
"error": "השליחה נכשלה. נסו שוב.",
"section.search": "חיפוש",
"intent": "אני רוצה",
"intent.buy": "לקנות",
"intent.rent": "לשכור",
"property_type": "סוג",
"property_type.apartment": "דירה",
"property_type.house": "בית",
"property_type.commercial": "מסחרי",
"property_type.land": "מגרש",
"city": "עיר או אזור",
"rooms": "חדרים",
"rooms.1": "1",
"rooms.2": "2",
"rooms.3": "3",
"rooms.4plus": "4 ומעלה",
"budget_max": "תקציב עד",
"move_in": "תאריך כניסה",
"section.viewing": "צפייה",
"preferred_date": "תאריך מועדף",
"preferred_time": "שעה מועדפת",
"preferred_time.morning": "בוקר",
"preferred_time.afternoon": "צהריים",
"preferred_time.evening": "ערב",
"section.contact": "פרטי קשר",
"name": "שם",
"email": "אימייל",
"phone": "טלפון",
"section.note": "הערה",
"message": "משהו נוסף?",
"section.consent": "הסכמה",
"consent_contact": "אני מסכים/ה שייצרו איתי קשר בנוגע לפנייה זו.",
"consent_privacy": "אני מסכים/ה שהתשובות יישמרו לצורך טיפול בפנייה."
},
"es": {
"title": "Solicitud de visita a un inmueble",
"lede": "Pide ver una vivienda o un local comercial.",
"submit": "Enviar",
"thanks": "Enviado. Gracias.",
"file_too_big": "Hasta 3 archivos, 5 MiB cada uno y 10 MiB en total.",
"error": "No se pudo enviar. Inténtalo de nuevo.",
"section.search": "Búsqueda",
"intent": "Quiero",
"intent.buy": "Comprar",
"intent.rent": "Alquilar",
"property_type": "Tipo",
"property_type.apartment": "Apartamento",
"property_type.house": "Casa",
"property_type.commercial": "Local comercial",
"property_type.land": "Terreno",
"city": "Ciudad o zona",
"rooms": "Habitaciones",
"rooms.1": "1",
"rooms.2": "2",
"rooms.3": "3",
"rooms.4plus": "4 o más",
"budget_max": "Presupuesto máximo",
"move_in": "Fecha de entrada",
"section.viewing": "Visita",
"preferred_date": "Fecha preferida",
"preferred_time": "Hora preferida",
"preferred_time.morning": "Mañana",
"preferred_time.afternoon": "Tarde",
"preferred_time.evening": "Noche",
"section.contact": "Contacto",
"name": "Nombre",
"email": "Correo electrónico",
"phone": "Teléfono",
"section.note": "Nota",
"message": "¿Algo más?",
"section.consent": "Consentimiento",
"consent_contact": "Acepto que me contacten sobre esta solicitud.",
"consent_privacy": "Acepto que estas respuestas se guarden para tramitar la solicitud."
},
"fr": {
"title": "Demande de visite d’un bien",
"lede": "Demandez à visiter un logement ou un local commercial.",
"submit": "Envoyer",
"thanks": "Envoyé. Merci.",
"file_too_big": "Jusqu’à 3 fichiers, 5 Mio chacun et 10 Mio au total.",
"error": "Envoi impossible. Veuillez réessayer.",
"section.search": "Recherche",
"intent": "Je souhaite",
"intent.buy": "Acheter",
"intent.rent": "Louer",
"property_type": "Type",
"property_type.apartment": "Appartement",
"property_type.house": "Maison",
"property_type.commercial": "Local commercial",
"property_type.land": "Terrain",
"city": "Ville ou quartier",
"rooms": "Pièces",
"rooms.1": "1",
"rooms.2": "2",
"rooms.3": "3",
"rooms.4plus": "4 ou plus",
"budget_max": "Budget maximum",
"move_in": "Date d’emménagement",
"section.viewing": "Visite",
"preferred_date": "Date souhaitée",
"preferred_time": "Moment souhaité",
"preferred_time.morning": "Matin",
"preferred_time.afternoon": "Après-midi",
"preferred_time.evening": "Soir",
"section.contact": "Contact",
"name": "Nom",
"email": "E-mail",
"phone": "Téléphone",
"section.note": "Remarque",
"message": "Autre chose ?",
"section.consent": "Consentement",
"consent_contact": "J’accepte d’être contacté au sujet de cette demande.",
"consent_privacy": "J’accepte que ces réponses soient conservées pour traiter la demande."
},
"pt": {
"title": "Pedido de visita a imóvel",
"lede": "Peça para ver uma casa ou um espaço comercial.",
"submit": "Enviar",
"thanks": "Enviado. Obrigado.",
"file_too_big": "Até 3 ficheiros, 5 MiB cada e 10 MiB no total.",
"error": "Não foi possível enviar. Tente novamente.",
"section.search": "Procura",
"intent": "Pretendo",
"intent.buy": "Comprar",
"intent.rent": "Arrendar",
"property_type": "Tipo",
"property_type.apartment": "Apartamento",
"property_type.house": "Moradia",
"property_type.commercial": "Comercial",
"property_type.land": "Terreno",
"city": "Cidade ou zona",
"rooms": "Quartos",
"rooms.1": "1",
"rooms.2": "2",
"rooms.3": "3",
"rooms.4plus": "4 ou mais",
"budget_max": "Orçamento até",
"move_in": "Data de mudança",
"section.viewing": "Visita",
"preferred_date": "Data preferida",
"preferred_time": "Horário preferido",
"preferred_time.morning": "Manhã",
"preferred_time.afternoon": "Tarde",
"preferred_time.evening": "Noite",
"section.contact": "Contacto",
"name": "Nome",
"email": "Email",
"phone": "Telefone",
"section.note": "Nota",
"message": "Mais alguma coisa?",
"section.consent": "Consentimento",
"consent_contact": "Aceito ser contactado sobre este pedido.",
"consent_privacy": "Aceito que estas respostas sejam guardadas para tratar o pedido."
},
"hi": {
"title": "प्रॉपर्टी देखने का अनुरोध",
"lede": "घर या कमर्शियल जगह देखने का अनुरोध करें।",
"submit": "भेजें",
"thanks": "भेज दिया गया। धन्यवाद।",
"file_too_big": "अधिकतम 3 फ़ाइलें, हर फ़ाइल 5 MiB तक और कुल 10 MiB।",
"error": "भेजा नहीं जा सका। कृपया फिर से कोशिश करें।",
"section.search": "खोज",
"intent": "मैं चाहता/चाहती हूँ",
"intent.buy": "खरीदना",
"intent.rent": "किराए पर लेना",
"property_type": "प्रकार",
"property_type.apartment": "अपार्टमेंट",
"property_type.house": "मकान",
"property_type.commercial": "कमर्शियल",
"property_type.land": "ज़मीन",
"city": "शहर या इलाका",
"rooms": "कमरे",
"rooms.1": "1",
"rooms.2": "2",
"rooms.3": "3",
"rooms.4plus": "4 या अधिक",
"budget_max": "अधिकतम बजट",
"move_in": "शिफ़्ट होने की तारीख",
"section.viewing": "विज़िट",
"preferred_date": "पसंदीदा तारीख",
"preferred_time": "पसंदीदा समय",
"preferred_time.morning": "सुबह",
"preferred_time.afternoon": "दोपहर",
"preferred_time.evening": "शाम",
"section.contact": "संपर्क",
"name": "नाम",
"email": "ईमेल",
"phone": "फ़ोन",
"section.note": "नोट",
"message": "और कुछ?",
"section.consent": "सहमति",
"consent_contact": "मैं इस अनुरोध के बारे में संपर्क किए जाने के लिए सहमत हूँ।",
"consent_privacy": "मैं सहमत हूँ कि अनुरोध पर काम करने के लिए ये जवाब सहेजे जाएँ।"
},
"ja": {
"title": "物件見学の申し込み",
"lede": "住宅や店舗・事務所の見学を申し込みます。",
"submit": "送信",
"thanks": "送信しました。ありがとうございます。",
"file_too_big": "ファイルは3つまで、1つ5 MiB、合計10 MiBまでです。",
"error": "送信できませんでした。もう一度お試しください。",
"section.search": "ご希望の条件",
"intent": "目的",
"intent.buy": "購入",
"intent.rent": "賃貸",
"property_type": "種類",
"property_type.apartment": "マンション・アパート",
"property_type.house": "一戸建て",
"property_type.commercial": "商業物件",
"property_type.land": "土地",
"city": "市区町村・エリア",
"rooms": "部屋数",
"rooms.1": "1",
"rooms.2": "2",
"rooms.3": "3",
"rooms.4plus": "4以上",
"budget_max": "予算上限",
"move_in": "入居希望日",
"section.viewing": "見学",
"preferred_date": "希望日",
"preferred_time": "希望時間帯",
"preferred_time.morning": "午前",
"preferred_time.afternoon": "午後",
"preferred_time.evening": "夕方",
"section.contact": "連絡先",
"name": "お名前",
"email": "メールアドレス",
"phone": "電話番号",
"section.note": "備考",
"message": "その他",
"section.consent": "同意",
"consent_contact": "このお問い合わせについて連絡を受けることに同意します。",
"consent_privacy": "お問い合わせへの対応のため、これらの回答が保存されることに同意します。"
},
"de": {
"title": "Anfrage für eine Immobilienbesichtigung",
"lede": "Besichtigung einer Wohnung, eines Hauses oder einer Gewerbefläche anfragen.",
"submit": "Senden",
"thanks": "Gesendet. Vielen Dank.",
"file_too_big": "Bis zu 3 Dateien, je 5 MiB und insgesamt 10 MiB.",
"error": "Senden fehlgeschlagen. Bitte versuchen Sie es erneut.",
"section.search": "Suche",
"intent": "Ich möchte",
"intent.buy": "Kaufen",
"intent.rent": "Mieten",
"property_type": "Typ",
"property_type.apartment": "Wohnung",
"property_type.house": "Haus",
"property_type.commercial": "Gewerbe",
"property_type.land": "Grundstück",
"city": "Stadt oder Region",
"rooms": "Zimmer",
"rooms.1": "1",
"rooms.2": "2",
"rooms.3": "3",
"rooms.4plus": "4 oder mehr",
"budget_max": "Budget bis",
"move_in": "Einzugstermin",
"section.viewing": "Besichtigung",
"preferred_date": "Wunschtermin",
"preferred_time": "Wunschuhrzeit",
"preferred_time.morning": "Vormittag",
"preferred_time.afternoon": "Nachmittag",
"preferred_time.evening": "Abend",
"section.contact": "Kontakt",
"name": "Name",
"email": "E-Mail",
"phone": "Telefon",
"section.note": "Hinweis",
"message": "Sonst noch etwas?",
"section.consent": "Einwilligung",
"consent_contact": "Ich bin damit einverstanden, bezüglich dieser Anfrage kontaktiert zu werden.",
"consent_privacy": "Ich stimme zu, dass diese Antworten gespeichert werden, damit die Anfrage bearbeitet werden kann."
}
};
export function IndustryForm({ lang = "de", accessKey = "fk_your_access_key", turnstileSiteKey = "" }) {
const t = LABELS[lang] || LABELS.en;
const [status, setStatus] = useState("");
const captcha = useRef(null);
useEffect(() => mountCaptcha(captcha.current, turnstileSiteKey), [turnstileSiteKey]);
const [values, setValues] = useState({ intent: "" });
function setField(name, value) {
setValues((current) => ({ ...current, [name]: value }));
}
async function onSubmit(event) {
const form = event.currentTarget;
event.preventDefault();
const body = new FormData(form);
body.set("_lang", lang);
const files = Array.from(body.values()).filter(value => value instanceof File && value.size);
if (files.length > 3 || files.some(file => file.size > FILE_MAX) || files.reduce((sum,file) => sum + file.size,0) > 10 * 1024 * 1024) {
setStatus(t.file_too_big);
return;
}
const button = form.querySelector("button[type=submit]");
if (button) button.disabled = true;
try {
const response = await fetch(ENDPOINT, { method: "POST", headers: { Accept: "application/json" }, body });
const result = await response.json();
setStatus(result.success ? t.thanks : (result.message || t.error));
} catch { setStatus(t.error); }
finally { if (button) button.disabled = false; resetCaptcha(form); }
}
return (
<form onSubmit={onSubmit}>
<h1>{t.title}</h1>
<p>{t.lede}</p>
<input type="hidden" name="access_key" value={accessKey} />
<div aria-hidden="true" style={{ position: "absolute", left: "-10000px", width: 1, height: 1, overflow: "hidden" }}>
<input name="botcheck" tabIndex={-1} autoComplete="off" />
</div>
<section><h2>{t["section.search"]}</h2>
<label><span>{t["intent"]}</span><select name="intent" required value={values["intent"]} onChange={(event) => setField("intent", event.target.value)}><option value="">—</option><option value="buy">{t["intent.buy"]}</option><option value="rent">{t["intent.rent"]}</option></select></label>
<label><span>{t["property_type"]}</span><select name="property_type" required><option value="">—</option><option value="apartment">{t["property_type.apartment"]}</option><option value="house">{t["property_type.house"]}</option><option value="commercial">{t["property_type.commercial"]}</option><option value="land">{t["property_type.land"]}</option></select></label>
<label><span>{t["city"]}</span><input name="city" type="text" required maxLength={80} autoComplete="address-level2" /></label>
<label><span>{t["rooms"]}</span><select name="rooms"><option value="">—</option><option value="1">{t["rooms.1"]}</option><option value="2">{t["rooms.2"]}</option><option value="3">{t["rooms.3"]}</option><option value="4plus">{t["rooms.4plus"]}</option></select></label>
<label><span>{t["budget_max"]}</span><input name="budget_max" type="number" min={0} max={100000000} /></label>
{values["intent"] === "rent" ? (<label><span>{t["move_in"]}</span><input name="move_in" type="date" /></label>) : null}</section>
<section><h2>{t["section.viewing"]}</h2>
<label><span>{t["preferred_date"]}</span><input name="preferred_date" type="date" /></label>
<label><span>{t["preferred_time"]}</span><select name="preferred_time"><option value="">—</option><option value="morning">{t["preferred_time.morning"]}</option><option value="afternoon">{t["preferred_time.afternoon"]}</option><option value="evening">{t["preferred_time.evening"]}</option></select></label></section>
<section><h2>{t["section.contact"]}</h2>
<label><span>{t["name"]}</span><input name="name" type="text" required maxLength={80} autoComplete="name" /></label>
<label><span>{t["email"]}</span><input name="email" type="email" required maxLength={120} autoComplete="email" /></label>
<label><span>{t["phone"]}</span><input name="phone" type="tel" required maxLength={40} autoComplete="tel" /></label></section>
<section><h2>{t["section.note"]}</h2>
<label><span>{t["message"]}</span><textarea name="message" maxLength={600} /></label></section>
<section><h2>{t["section.consent"]}</h2>
<label className="check"><input name="consent_contact" type="checkbox" value="yes" required /><span>{t["consent_contact"]}</span></label>
<label className="check"><input name="consent_privacy" type="checkbox" value="yes" required /><span>{t["consent_privacy"]}</span></label></section>
{/* Set turnstileSiteKey to YOUR_TURNSTILE_SITE_KEY. Required for attachments. */}
<div ref={captcha} data-turnstile />
<button type="submit">{t.submit}</button>
<p>{status}</p>
</form>
);
}
function mountCaptcha(node, siteKey) {
if (!node || !siteKey) return () => {};
let disposed = false;
let widget;
function render() {
if (disposed || !window.turnstile) return;
window.turnstile.ready(() => {
if (disposed) return;
widget = window.turnstile.render(node, { sitekey: siteKey, language: node.dataset.language || document.documentElement.lang || "auto" });
node.dataset.widgetId = widget;
});
}
if (window.turnstile) render();
else {
let script = document.querySelector('script[src^="https://challenges.cloudflare.com/turnstile/v0/api.js"]');
if (!script) {
script = document.createElement("script");
script.src = "https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit";
script.async = true;
document.head.appendChild(script);
}
script.addEventListener("load", render, { once: true });
}
return () => { disposed = true; if (widget !== undefined) window.turnstile?.remove(widget); };
}
function resetCaptcha(form) {
const widget = form.querySelector("[data-turnstile]")?.dataset.widgetId;
if (widget !== undefined) window.turnstile?.reset(widget);
}
<!-- Generated from src/content/industries.ts — npm run templates:write -->
<script setup>
import { reactive, ref, computed, onMounted, onBeforeUnmount } from "vue";
const props = defineProps({
lang: { type: String, default: "de" },
accessKey: { type: String, default: "fk_your_access_key" },
turnstileSiteKey: { type: String, default: "" },
});
const ENDPOINT = "https://formgong.com/submit";
const FILE_MAX = 5242880;
const LABELS = {
"uk": {
"title": "Форма запиту на перегляд нерухомості",
"lede": "Запит на перегляд житла або комерційного приміщення.",
"submit": "Надіслати",
"thanks": "Надіслано. Дякуємо.",
"file_too_big": "До 3 файлів, по 5 MiB, разом до 10 MiB.",
"error": "Не вдалося надіслати. Спробуйте ще раз.",
"section.search": "Пошук",
"intent": "Хочу",
"intent.buy": "Купити",
"intent.rent": "Орендувати",
"property_type": "Тип",
"property_type.apartment": "Квартира",
"property_type.house": "Будинок",
"property_type.commercial": "Комерційне",
"property_type.land": "Ділянка",
"city": "Місто або район",
"rooms": "Кімнати",
"rooms.1": "1",
"rooms.2": "2",
"rooms.3": "3",
"rooms.4plus": "4 або більше",
"budget_max": "Бюджет до",
"move_in": "Дата заселення",
"section.viewing": "Перегляд",
"preferred_date": "Бажана дата",
"preferred_time": "Бажаний час",
"preferred_time.morning": "Ранок",
"preferred_time.afternoon": "День",
"preferred_time.evening": "Вечір",
"section.contact": "Контакт",
"name": "Ім'я",
"email": "Електронна пошта",
"phone": "Телефон",
"section.note": "Примітка",
"message": "Щось ще?",
"section.consent": "Згода",
"consent_contact": "Погоджуюсь, щоб зі мною зв'язалися щодо цієї заявки.",
"consent_privacy": "Погоджуюсь, що ці відповіді зберігаються, щоб заявку можна було обробити."
},
"en": {
"title": "Property viewing request",
"lede": "Ask to see a home or a commercial space.",
"submit": "Send",
"thanks": "Sent. Thank you.",
"file_too_big": "Up to 3 files, 5 MiB each and 10 MiB combined.",
"error": "Could not send. Please try again.",
"section.search": "Search",
"intent": "I want to",
"intent.buy": "Buy",
"intent.rent": "Rent",
"property_type": "Type",
"property_type.apartment": "Apartment",
"property_type.house": "House",
"property_type.commercial": "Commercial",
"property_type.land": "Land",
"city": "City or area",
"rooms": "Rooms",
"rooms.1": "1",
"rooms.2": "2",
"rooms.3": "3",
"rooms.4plus": "4 or more",
"budget_max": "Budget up to",
"move_in": "Move-in date",
"section.viewing": "Viewing",
"preferred_date": "Preferred date",
"preferred_time": "Preferred time",
"preferred_time.morning": "Morning",
"preferred_time.afternoon": "Afternoon",
"preferred_time.evening": "Evening",
"section.contact": "Contact",
"name": "Name",
"email": "Email",
"phone": "Phone",
"section.note": "Note",
"message": "Anything else?",
"section.consent": "Consent",
"consent_contact": "I agree to be contacted about this request.",
"consent_privacy": "I agree that these answers are stored so the request can be handled."
},
"pl": {
"title": "Formularz zapytania o nieruchomość",
"lede": "Prośba o obejrzenie mieszkania, domu albo lokalu.",
"submit": "Wyślij",
"thanks": "Wysłano. Dziękujemy.",
"file_too_big": "Do 3 plików, po 5 MiB, łącznie 10 MiB.",
"error": "Nie udało się wysłać. Spróbuj ponownie.",
"section.search": "Szukam",
"intent": "Chcę",
"intent.buy": "Kupić",
"intent.rent": "Wynająć",
"property_type": "Rodzaj",
"property_type.apartment": "Mieszkanie",
"property_type.house": "Dom",
"property_type.commercial": "Lokal użytkowy",
"property_type.land": "Działka",
"city": "Miasto lub dzielnica",
"rooms": "Pokoje",
"rooms.1": "1",
"rooms.2": "2",
"rooms.3": "3",
"rooms.4plus": "4 lub więcej",
"budget_max": "Budżet do",
"move_in": "Data wprowadzenia",
"section.viewing": "Prezentacja",
"preferred_date": "Preferowana data",
"preferred_time": "Preferowana pora",
"preferred_time.morning": "Rano",
"preferred_time.afternoon": "Popołudnie",
"preferred_time.evening": "Wieczór",
"section.contact": "Kontakt",
"name": "Imię",
"email": "E-mail",
"phone": "Telefon",
"section.note": "Notatka",
"message": "Coś jeszcze?",
"section.consent": "Zgoda",
"consent_contact": "Zgadzam się na kontakt w sprawie tego zgłoszenia.",
"consent_privacy": "Zgadzam się, aby te odpowiedzi zostały zapisane w celu obsługi zgłoszenia."
},
"tr": {
"title": "Emlak görüntüleme formu",
"lede": "Bir konut ya da işyeri görmek için talep.",
"submit": "Gönder",
"thanks": "Gönderildi. Teşekkürler.",
"file_too_big": "En fazla 3 dosya, dosya başına 5 MiB, toplam 10 MiB.",
"error": "Gönderilemedi. Lütfen tekrar deneyin.",
"section.search": "Arama",
"intent": "İstiyorum",
"intent.buy": "Satın almak",
"intent.rent": "Kiralamak",
"property_type": "Tür",
"property_type.apartment": "Daire",
"property_type.house": "Müstakil ev",
"property_type.commercial": "İşyeri",
"property_type.land": "Arsa",
"city": "Şehir ya da semt",
"rooms": "Oda sayısı",
"rooms.1": "1",
"rooms.2": "2",
"rooms.3": "3",
"rooms.4plus": "4 veya daha fazla",
"budget_max": "Bütçe üst sınırı",
"move_in": "Taşınma tarihi",
"section.viewing": "Görüntüleme",
"preferred_date": "Tercih edilen tarih",
"preferred_time": "Tercih edilen saat",
"preferred_time.morning": "Sabah",
"preferred_time.afternoon": "Öğleden sonra",
"preferred_time.evening": "Akşam",
"section.contact": "İletişim",
"name": "Ad",
"email": "E-posta",
"phone": "Telefon",
"section.note": "Not",
"message": "Başka bir şey?",
"section.consent": "Onay",
"consent_contact": "Bu talep hakkında benimle iletişime geçilmesini kabul ediyorum.",
"consent_privacy": "Bu yanıtların talebin işlenmesi için saklanmasını kabul ediyorum."
},
"ar": {
"title": "طلب معاينة عقار",
"lede": "اطلب معاينة منزل أو مساحة تجارية.",
"submit": "إرسال",
"thanks": "تم الإرسال. شكرًا لك.",
"file_too_big": "حتى 3 ملفات، 5 MiB لكل ملف و10 MiB إجمالًا.",
"error": "تعذّر الإرسال. يُرجى المحاولة مرة أخرى.",
"section.search": "البحث",
"intent": "أريد",
"intent.buy": "الشراء",
"intent.rent": "الاستئجار",
"property_type": "النوع",
"property_type.apartment": "شقة",
"property_type.house": "منزل",
"property_type.commercial": "تجاري",
"property_type.land": "أرض",
"city": "المدينة أو المنطقة",
"rooms": "الغرف",
"rooms.1": "1",
"rooms.2": "2",
"rooms.3": "3",
"rooms.4plus": "4 أو أكثر",
"budget_max": "الميزانية حتى",
"move_in": "تاريخ الانتقال",
"section.viewing": "المعاينة",
"preferred_date": "التاريخ المفضل",
"preferred_time": "الوقت المفضل",
"preferred_time.morning": "صباحًا",
"preferred_time.afternoon": "بعد الظهر",
"preferred_time.evening": "مساءً",
"section.contact": "التواصل",
"name": "الاسم",
"email": "البريد الإلكتروني",
"phone": "الهاتف",
"section.note": "ملاحظة",
"message": "أي شيء آخر؟",
"section.consent": "الموافقة",
"consent_contact": "أوافق على التواصل معي بخصوص هذا الطلب.",
"consent_privacy": "أوافق على حفظ هذه الإجابات لمعالجة الطلب."
},
"he": {
"title": "בקשה לצפייה בנכס",
"lede": "בקשו לראות דירה או שטח מסחרי.",
"submit": "שליחה",
"thanks": "נשלח. תודה.",
"file_too_big": "עד 3 קבצים, 5 MiB לכל קובץ ו-10 MiB בסך הכול.",
"error": "השליחה נכשלה. נסו שוב.",
"section.search": "חיפוש",
"intent": "אני רוצה",
"intent.buy": "לקנות",
"intent.rent": "לשכור",
"property_type": "סוג",
"property_type.apartment": "דירה",
"property_type.house": "בית",
"property_type.commercial": "מסחרי",
"property_type.land": "מגרש",
"city": "עיר או אזור",
"rooms": "חדרים",
"rooms.1": "1",
"rooms.2": "2",
"rooms.3": "3",
"rooms.4plus": "4 ומעלה",
"budget_max": "תקציב עד",
"move_in": "תאריך כניסה",
"section.viewing": "צפייה",
"preferred_date": "תאריך מועדף",
"preferred_time": "שעה מועדפת",
"preferred_time.morning": "בוקר",
"preferred_time.afternoon": "צהריים",
"preferred_time.evening": "ערב",
"section.contact": "פרטי קשר",
"name": "שם",
"email": "אימייל",
"phone": "טלפון",
"section.note": "הערה",
"message": "משהו נוסף?",
"section.consent": "הסכמה",
"consent_contact": "אני מסכים/ה שייצרו איתי קשר בנוגע לפנייה זו.",
"consent_privacy": "אני מסכים/ה שהתשובות יישמרו לצורך טיפול בפנייה."
},
"es": {
"title": "Solicitud de visita a un inmueble",
"lede": "Pide ver una vivienda o un local comercial.",
"submit": "Enviar",
"thanks": "Enviado. Gracias.",
"file_too_big": "Hasta 3 archivos, 5 MiB cada uno y 10 MiB en total.",
"error": "No se pudo enviar. Inténtalo de nuevo.",
"section.search": "Búsqueda",
"intent": "Quiero",
"intent.buy": "Comprar",
"intent.rent": "Alquilar",
"property_type": "Tipo",
"property_type.apartment": "Apartamento",
"property_type.house": "Casa",
"property_type.commercial": "Local comercial",
"property_type.land": "Terreno",
"city": "Ciudad o zona",
"rooms": "Habitaciones",
"rooms.1": "1",
"rooms.2": "2",
"rooms.3": "3",
"rooms.4plus": "4 o más",
"budget_max": "Presupuesto máximo",
"move_in": "Fecha de entrada",
"section.viewing": "Visita",
"preferred_date": "Fecha preferida",
"preferred_time": "Hora preferida",
"preferred_time.morning": "Mañana",
"preferred_time.afternoon": "Tarde",
"preferred_time.evening": "Noche",
"section.contact": "Contacto",
"name": "Nombre",
"email": "Correo electrónico",
"phone": "Teléfono",
"section.note": "Nota",
"message": "¿Algo más?",
"section.consent": "Consentimiento",
"consent_contact": "Acepto que me contacten sobre esta solicitud.",
"consent_privacy": "Acepto que estas respuestas se guarden para tramitar la solicitud."
},
"fr": {
"title": "Demande de visite d’un bien",
"lede": "Demandez à visiter un logement ou un local commercial.",
"submit": "Envoyer",
"thanks": "Envoyé. Merci.",
"file_too_big": "Jusqu’à 3 fichiers, 5 Mio chacun et 10 Mio au total.",
"error": "Envoi impossible. Veuillez réessayer.",
"section.search": "Recherche",
"intent": "Je souhaite",
"intent.buy": "Acheter",
"intent.rent": "Louer",
"property_type": "Type",
"property_type.apartment": "Appartement",
"property_type.house": "Maison",
"property_type.commercial": "Local commercial",
"property_type.land": "Terrain",
"city": "Ville ou quartier",
"rooms": "Pièces",
"rooms.1": "1",
"rooms.2": "2",
"rooms.3": "3",
"rooms.4plus": "4 ou plus",
"budget_max": "Budget maximum",
"move_in": "Date d’emménagement",
"section.viewing": "Visite",
"preferred_date": "Date souhaitée",
"preferred_time": "Moment souhaité",
"preferred_time.morning": "Matin",
"preferred_time.afternoon": "Après-midi",
"preferred_time.evening": "Soir",
"section.contact": "Contact",
"name": "Nom",
"email": "E-mail",
"phone": "Téléphone",
"section.note": "Remarque",
"message": "Autre chose ?",
"section.consent": "Consentement",
"consent_contact": "J’accepte d’être contacté au sujet de cette demande.",
"consent_privacy": "J’accepte que ces réponses soient conservées pour traiter la demande."
},
"pt": {
"title": "Pedido de visita a imóvel",
"lede": "Peça para ver uma casa ou um espaço comercial.",
"submit": "Enviar",
"thanks": "Enviado. Obrigado.",
"file_too_big": "Até 3 ficheiros, 5 MiB cada e 10 MiB no total.",
"error": "Não foi possível enviar. Tente novamente.",
"section.search": "Procura",
"intent": "Pretendo",
"intent.buy": "Comprar",
"intent.rent": "Arrendar",
"property_type": "Tipo",
"property_type.apartment": "Apartamento",
"property_type.house": "Moradia",
"property_type.commercial": "Comercial",
"property_type.land": "Terreno",
"city": "Cidade ou zona",
"rooms": "Quartos",
"rooms.1": "1",
"rooms.2": "2",
"rooms.3": "3",
"rooms.4plus": "4 ou mais",
"budget_max": "Orçamento até",
"move_in": "Data de mudança",
"section.viewing": "Visita",
"preferred_date": "Data preferida",
"preferred_time": "Horário preferido",
"preferred_time.morning": "Manhã",
"preferred_time.afternoon": "Tarde",
"preferred_time.evening": "Noite",
"section.contact": "Contacto",
"name": "Nome",
"email": "Email",
"phone": "Telefone",
"section.note": "Nota",
"message": "Mais alguma coisa?",
"section.consent": "Consentimento",
"consent_contact": "Aceito ser contactado sobre este pedido.",
"consent_privacy": "Aceito que estas respostas sejam guardadas para tratar o pedido."
},
"hi": {
"title": "प्रॉपर्टी देखने का अनुरोध",
"lede": "घर या कमर्शियल जगह देखने का अनुरोध करें।",
"submit": "भेजें",
"thanks": "भेज दिया गया। धन्यवाद।",
"file_too_big": "अधिकतम 3 फ़ाइलें, हर फ़ाइल 5 MiB तक और कुल 10 MiB।",
"error": "भेजा नहीं जा सका। कृपया फिर से कोशिश करें।",
"section.search": "खोज",
"intent": "मैं चाहता/चाहती हूँ",
"intent.buy": "खरीदना",
"intent.rent": "किराए पर लेना",
"property_type": "प्रकार",
"property_type.apartment": "अपार्टमेंट",
"property_type.house": "मकान",
"property_type.commercial": "कमर्शियल",
"property_type.land": "ज़मीन",
"city": "शहर या इलाका",
"rooms": "कमरे",
"rooms.1": "1",
"rooms.2": "2",
"rooms.3": "3",
"rooms.4plus": "4 या अधिक",
"budget_max": "अधिकतम बजट",
"move_in": "शिफ़्ट होने की तारीख",
"section.viewing": "विज़िट",
"preferred_date": "पसंदीदा तारीख",
"preferred_time": "पसंदीदा समय",
"preferred_time.morning": "सुबह",
"preferred_time.afternoon": "दोपहर",
"preferred_time.evening": "शाम",
"section.contact": "संपर्क",
"name": "नाम",
"email": "ईमेल",
"phone": "फ़ोन",
"section.note": "नोट",
"message": "और कुछ?",
"section.consent": "सहमति",
"consent_contact": "मैं इस अनुरोध के बारे में संपर्क किए जाने के लिए सहमत हूँ।",
"consent_privacy": "मैं सहमत हूँ कि अनुरोध पर काम करने के लिए ये जवाब सहेजे जाएँ।"
},
"ja": {
"title": "物件見学の申し込み",
"lede": "住宅や店舗・事務所の見学を申し込みます。",
"submit": "送信",
"thanks": "送信しました。ありがとうございます。",
"file_too_big": "ファイルは3つまで、1つ5 MiB、合計10 MiBまでです。",
"error": "送信できませんでした。もう一度お試しください。",
"section.search": "ご希望の条件",
"intent": "目的",
"intent.buy": "購入",
"intent.rent": "賃貸",
"property_type": "種類",
"property_type.apartment": "マンション・アパート",
"property_type.house": "一戸建て",
"property_type.commercial": "商業物件",
"property_type.land": "土地",
"city": "市区町村・エリア",
"rooms": "部屋数",
"rooms.1": "1",
"rooms.2": "2",
"rooms.3": "3",
"rooms.4plus": "4以上",
"budget_max": "予算上限",
"move_in": "入居希望日",
"section.viewing": "見学",
"preferred_date": "希望日",
"preferred_time": "希望時間帯",
"preferred_time.morning": "午前",
"preferred_time.afternoon": "午後",
"preferred_time.evening": "夕方",
"section.contact": "連絡先",
"name": "お名前",
"email": "メールアドレス",
"phone": "電話番号",
"section.note": "備考",
"message": "その他",
"section.consent": "同意",
"consent_contact": "このお問い合わせについて連絡を受けることに同意します。",
"consent_privacy": "お問い合わせへの対応のため、これらの回答が保存されることに同意します。"
},
"de": {
"title": "Anfrage für eine Immobilienbesichtigung",
"lede": "Besichtigung einer Wohnung, eines Hauses oder einer Gewerbefläche anfragen.",
"submit": "Senden",
"thanks": "Gesendet. Vielen Dank.",
"file_too_big": "Bis zu 3 Dateien, je 5 MiB und insgesamt 10 MiB.",
"error": "Senden fehlgeschlagen. Bitte versuchen Sie es erneut.",
"section.search": "Suche",
"intent": "Ich möchte",
"intent.buy": "Kaufen",
"intent.rent": "Mieten",
"property_type": "Typ",
"property_type.apartment": "Wohnung",
"property_type.house": "Haus",
"property_type.commercial": "Gewerbe",
"property_type.land": "Grundstück",
"city": "Stadt oder Region",
"rooms": "Zimmer",
"rooms.1": "1",
"rooms.2": "2",
"rooms.3": "3",
"rooms.4plus": "4 oder mehr",
"budget_max": "Budget bis",
"move_in": "Einzugstermin",
"section.viewing": "Besichtigung",
"preferred_date": "Wunschtermin",
"preferred_time": "Wunschuhrzeit",
"preferred_time.morning": "Vormittag",
"preferred_time.afternoon": "Nachmittag",
"preferred_time.evening": "Abend",
"section.contact": "Kontakt",
"name": "Name",
"email": "E-Mail",
"phone": "Telefon",
"section.note": "Hinweis",
"message": "Sonst noch etwas?",
"section.consent": "Einwilligung",
"consent_contact": "Ich bin damit einverstanden, bezüglich dieser Anfrage kontaktiert zu werden.",
"consent_privacy": "Ich stimme zu, dass diese Antworten gespeichert werden, damit die Anfrage bearbeitet werden kann."
}
};
const t = computed(() => LABELS[props.lang] || LABELS.en);
const status = ref("");
const captcha = ref(null);
let disposeCaptcha;
onMounted(() => { disposeCaptcha = mountCaptcha(captcha.value, props.turnstileSiteKey); });
onBeforeUnmount(() => disposeCaptcha?.());
const values = reactive({ intent: "" });
function mountCaptcha(node, siteKey) {
if (!node || !siteKey) return () => {};
let disposed = false;
let widget;
function render() {
if (disposed || !window.turnstile) return;
window.turnstile.ready(() => {
if (disposed) return;
widget = window.turnstile.render(node, { sitekey: siteKey, language: node.dataset.language || document.documentElement.lang || "auto" });
node.dataset.widgetId = widget;
});
}
if (window.turnstile) render();
else {
let script = document.querySelector('script[src^="https://challenges.cloudflare.com/turnstile/v0/api.js"]');
if (!script) {
script = document.createElement("script");
script.src = "https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit";
script.async = true;
document.head.appendChild(script);
}
script.addEventListener("load", render, { once: true });
}
return () => { disposed = true; if (widget !== undefined) window.turnstile?.remove(widget); };
}
function resetCaptcha(form) {
const widget = form.querySelector("[data-turnstile]")?.dataset.widgetId;
if (widget !== undefined) window.turnstile?.reset(widget);
}
async function onSubmit(event) {
const form = event.currentTarget;
event.preventDefault();
const body = new FormData(form);
body.set("_lang", props.lang);
const files = Array.from(body.values()).filter(value => value instanceof File && value.size);
if (files.length > 3 || files.some(file => file.size > FILE_MAX) || files.reduce((sum,file) => sum + file.size,0) > 10 * 1024 * 1024) {
status.value = t.value.file_too_big;
return;
}
const button = form.querySelector("button[type=submit]");
if (button) button.disabled = true;
try {
const response = await fetch(ENDPOINT, { method: "POST", headers: { Accept: "application/json" }, body });
const result = await response.json();
status.value = result.success ? t.value.thanks : (result.message || t.value.error);
} catch { status.value = t.value.error; }
finally { if (button) button.disabled = false; resetCaptcha(form); }
}
</script>
<template>
<form @submit.prevent="onSubmit">
<h1>{{ t.title }}</h1>
<p>{{ t.lede }}</p>
<input type="hidden" name="access_key" :value="accessKey">
<div aria-hidden="true" style="position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden">
<input name="botcheck" tabindex="-1" autocomplete="off">
</div>
<section><h2>{{ t["section.search"] }}</h2>
<label><span>{{ t["intent"] }}</span><select name="intent" required v-model="values.intent"><option value="">—</option><option value="buy">{{ t["intent.buy"] }}</option><option value="rent">{{ t["intent.rent"] }}</option></select></label>
<label><span>{{ t["property_type"] }}</span><select name="property_type" required><option value="">—</option><option value="apartment">{{ t["property_type.apartment"] }}</option><option value="house">{{ t["property_type.house"] }}</option><option value="commercial">{{ t["property_type.commercial"] }}</option><option value="land">{{ t["property_type.land"] }}</option></select></label>
<label><span>{{ t["city"] }}</span><input name="city" type="text" required maxlength="80" autocomplete="address-level2"></label>
<label><span>{{ t["rooms"] }}</span><select name="rooms"><option value="">—</option><option value="1">{{ t["rooms.1"] }}</option><option value="2">{{ t["rooms.2"] }}</option><option value="3">{{ t["rooms.3"] }}</option><option value="4plus">{{ t["rooms.4plus"] }}</option></select></label>
<label><span>{{ t["budget_max"] }}</span><input name="budget_max" type="number" min="0" max="100000000"></label>
<template v-if="values["intent"] === 'rent'"><label><span>{{ t["move_in"] }}</span><input name="move_in" type="date"></label></template></section>
<section><h2>{{ t["section.viewing"] }}</h2>
<label><span>{{ t["preferred_date"] }}</span><input name="preferred_date" type="date"></label>
<label><span>{{ t["preferred_time"] }}</span><select name="preferred_time"><option value="">—</option><option value="morning">{{ t["preferred_time.morning"] }}</option><option value="afternoon">{{ t["preferred_time.afternoon"] }}</option><option value="evening">{{ t["preferred_time.evening"] }}</option></select></label></section>
<section><h2>{{ t["section.contact"] }}</h2>
<label><span>{{ t["name"] }}</span><input name="name" type="text" required maxlength="80" autocomplete="name"></label>
<label><span>{{ t["email"] }}</span><input name="email" type="email" required maxlength="120" autocomplete="email"></label>
<label><span>{{ t["phone"] }}</span><input name="phone" type="tel" required maxlength="40" autocomplete="tel"></label></section>
<section><h2>{{ t["section.note"] }}</h2>
<label><span>{{ t["message"] }}</span><textarea name="message" maxlength="600"></textarea></label></section>
<section><h2>{{ t["section.consent"] }}</h2>
<label class="check"><input name="consent_contact" type="checkbox" value="yes" required><span>{{ t["consent_contact"] }}</span></label>
<label class="check"><input name="consent_privacy" type="checkbox" value="yes" required><span>{{ t["consent_privacy"] }}</span></label></section>
<!-- Set turnstileSiteKey to YOUR_TURNSTILE_SITE_KEY. Required for attachments. -->
<div ref="captcha" data-turnstile></div>
<button type="submit">{{ t.submit }}</button>
<p>{{ status }}</p>
</form>
</template>
<!-- Generated from src/content/industries.ts — npm run templates:write -->
<script>
import { onMount } from "svelte";
let { lang = "de", accessKey = "fk_your_access_key", turnstileSiteKey = "" } = $props();
let captcha;
onMount(() => mountCaptcha(captcha, turnstileSiteKey));
const ENDPOINT = "https://formgong.com/submit";
const FILE_MAX = 5242880;
const LABELS = {
"uk": {
"title": "Форма запиту на перегляд нерухомості",
"lede": "Запит на перегляд житла або комерційного приміщення.",
"submit": "Надіслати",
"thanks": "Надіслано. Дякуємо.",
"file_too_big": "До 3 файлів, по 5 MiB, разом до 10 MiB.",
"error": "Не вдалося надіслати. Спробуйте ще раз.",
"section.search": "Пошук",
"intent": "Хочу",
"intent.buy": "Купити",
"intent.rent": "Орендувати",
"property_type": "Тип",
"property_type.apartment": "Квартира",
"property_type.house": "Будинок",
"property_type.commercial": "Комерційне",
"property_type.land": "Ділянка",
"city": "Місто або район",
"rooms": "Кімнати",
"rooms.1": "1",
"rooms.2": "2",
"rooms.3": "3",
"rooms.4plus": "4 або більше",
"budget_max": "Бюджет до",
"move_in": "Дата заселення",
"section.viewing": "Перегляд",
"preferred_date": "Бажана дата",
"preferred_time": "Бажаний час",
"preferred_time.morning": "Ранок",
"preferred_time.afternoon": "День",
"preferred_time.evening": "Вечір",
"section.contact": "Контакт",
"name": "Ім'я",
"email": "Електронна пошта",
"phone": "Телефон",
"section.note": "Примітка",
"message": "Щось ще?",
"section.consent": "Згода",
"consent_contact": "Погоджуюсь, щоб зі мною зв'язалися щодо цієї заявки.",
"consent_privacy": "Погоджуюсь, що ці відповіді зберігаються, щоб заявку можна було обробити."
},
"en": {
"title": "Property viewing request",
"lede": "Ask to see a home or a commercial space.",
"submit": "Send",
"thanks": "Sent. Thank you.",
"file_too_big": "Up to 3 files, 5 MiB each and 10 MiB combined.",
"error": "Could not send. Please try again.",
"section.search": "Search",
"intent": "I want to",
"intent.buy": "Buy",
"intent.rent": "Rent",
"property_type": "Type",
"property_type.apartment": "Apartment",
"property_type.house": "House",
"property_type.commercial": "Commercial",
"property_type.land": "Land",
"city": "City or area",
"rooms": "Rooms",
"rooms.1": "1",
"rooms.2": "2",
"rooms.3": "3",
"rooms.4plus": "4 or more",
"budget_max": "Budget up to",
"move_in": "Move-in date",
"section.viewing": "Viewing",
"preferred_date": "Preferred date",
"preferred_time": "Preferred time",
"preferred_time.morning": "Morning",
"preferred_time.afternoon": "Afternoon",
"preferred_time.evening": "Evening",
"section.contact": "Contact",
"name": "Name",
"email": "Email",
"phone": "Phone",
"section.note": "Note",
"message": "Anything else?",
"section.consent": "Consent",
"consent_contact": "I agree to be contacted about this request.",
"consent_privacy": "I agree that these answers are stored so the request can be handled."
},
"pl": {
"title": "Formularz zapytania o nieruchomość",
"lede": "Prośba o obejrzenie mieszkania, domu albo lokalu.",
"submit": "Wyślij",
"thanks": "Wysłano. Dziękujemy.",
"file_too_big": "Do 3 plików, po 5 MiB, łącznie 10 MiB.",
"error": "Nie udało się wysłać. Spróbuj ponownie.",
"section.search": "Szukam",
"intent": "Chcę",
"intent.buy": "Kupić",
"intent.rent": "Wynająć",
"property_type": "Rodzaj",
"property_type.apartment": "Mieszkanie",
"property_type.house": "Dom",
"property_type.commercial": "Lokal użytkowy",
"property_type.land": "Działka",
"city": "Miasto lub dzielnica",
"rooms": "Pokoje",
"rooms.1": "1",
"rooms.2": "2",
"rooms.3": "3",
"rooms.4plus": "4 lub więcej",
"budget_max": "Budżet do",
"move_in": "Data wprowadzenia",
"section.viewing": "Prezentacja",
"preferred_date": "Preferowana data",
"preferred_time": "Preferowana pora",
"preferred_time.morning": "Rano",
"preferred_time.afternoon": "Popołudnie",
"preferred_time.evening": "Wieczór",
"section.contact": "Kontakt",
"name": "Imię",
"email": "E-mail",
"phone": "Telefon",
"section.note": "Notatka",
"message": "Coś jeszcze?",
"section.consent": "Zgoda",
"consent_contact": "Zgadzam się na kontakt w sprawie tego zgłoszenia.",
"consent_privacy": "Zgadzam się, aby te odpowiedzi zostały zapisane w celu obsługi zgłoszenia."
},
"tr": {
"title": "Emlak görüntüleme formu",
"lede": "Bir konut ya da işyeri görmek için talep.",
"submit": "Gönder",
"thanks": "Gönderildi. Teşekkürler.",
"file_too_big": "En fazla 3 dosya, dosya başına 5 MiB, toplam 10 MiB.",
"error": "Gönderilemedi. Lütfen tekrar deneyin.",
"section.search": "Arama",
"intent": "İstiyorum",
"intent.buy": "Satın almak",
"intent.rent": "Kiralamak",
"property_type": "Tür",
"property_type.apartment": "Daire",
"property_type.house": "Müstakil ev",
"property_type.commercial": "İşyeri",
"property_type.land": "Arsa",
"city": "Şehir ya da semt",
"rooms": "Oda sayısı",
"rooms.1": "1",
"rooms.2": "2",
"rooms.3": "3",
"rooms.4plus": "4 veya daha fazla",
"budget_max": "Bütçe üst sınırı",
"move_in": "Taşınma tarihi",
"section.viewing": "Görüntüleme",
"preferred_date": "Tercih edilen tarih",
"preferred_time": "Tercih edilen saat",
"preferred_time.morning": "Sabah",
"preferred_time.afternoon": "Öğleden sonra",
"preferred_time.evening": "Akşam",
"section.contact": "İletişim",
"name": "Ad",
"email": "E-posta",
"phone": "Telefon",
"section.note": "Not",
"message": "Başka bir şey?",
"section.consent": "Onay",
"consent_contact": "Bu talep hakkında benimle iletişime geçilmesini kabul ediyorum.",
"consent_privacy": "Bu yanıtların talebin işlenmesi için saklanmasını kabul ediyorum."
},
"ar": {
"title": "طلب معاينة عقار",
"lede": "اطلب معاينة منزل أو مساحة تجارية.",
"submit": "إرسال",
"thanks": "تم الإرسال. شكرًا لك.",
"file_too_big": "حتى 3 ملفات، 5 MiB لكل ملف و10 MiB إجمالًا.",
"error": "تعذّر الإرسال. يُرجى المحاولة مرة أخرى.",
"section.search": "البحث",
"intent": "أريد",
"intent.buy": "الشراء",
"intent.rent": "الاستئجار",
"property_type": "النوع",
"property_type.apartment": "شقة",
"property_type.house": "منزل",
"property_type.commercial": "تجاري",
"property_type.land": "أرض",
"city": "المدينة أو المنطقة",
"rooms": "الغرف",
"rooms.1": "1",
"rooms.2": "2",
"rooms.3": "3",
"rooms.4plus": "4 أو أكثر",
"budget_max": "الميزانية حتى",
"move_in": "تاريخ الانتقال",
"section.viewing": "المعاينة",
"preferred_date": "التاريخ المفضل",
"preferred_time": "الوقت المفضل",
"preferred_time.morning": "صباحًا",
"preferred_time.afternoon": "بعد الظهر",
"preferred_time.evening": "مساءً",
"section.contact": "التواصل",
"name": "الاسم",
"email": "البريد الإلكتروني",
"phone": "الهاتف",
"section.note": "ملاحظة",
"message": "أي شيء آخر؟",
"section.consent": "الموافقة",
"consent_contact": "أوافق على التواصل معي بخصوص هذا الطلب.",
"consent_privacy": "أوافق على حفظ هذه الإجابات لمعالجة الطلب."
},
"he": {
"title": "בקשה לצפייה בנכס",
"lede": "בקשו לראות דירה או שטח מסחרי.",
"submit": "שליחה",
"thanks": "נשלח. תודה.",
"file_too_big": "עד 3 קבצים, 5 MiB לכל קובץ ו-10 MiB בסך הכול.",
"error": "השליחה נכשלה. נסו שוב.",
"section.search": "חיפוש",
"intent": "אני רוצה",
"intent.buy": "לקנות",
"intent.rent": "לשכור",
"property_type": "סוג",
"property_type.apartment": "דירה",
"property_type.house": "בית",
"property_type.commercial": "מסחרי",
"property_type.land": "מגרש",
"city": "עיר או אזור",
"rooms": "חדרים",
"rooms.1": "1",
"rooms.2": "2",
"rooms.3": "3",
"rooms.4plus": "4 ומעלה",
"budget_max": "תקציב עד",
"move_in": "תאריך כניסה",
"section.viewing": "צפייה",
"preferred_date": "תאריך מועדף",
"preferred_time": "שעה מועדפת",
"preferred_time.morning": "בוקר",
"preferred_time.afternoon": "צהריים",
"preferred_time.evening": "ערב",
"section.contact": "פרטי קשר",
"name": "שם",
"email": "אימייל",
"phone": "טלפון",
"section.note": "הערה",
"message": "משהו נוסף?",
"section.consent": "הסכמה",
"consent_contact": "אני מסכים/ה שייצרו איתי קשר בנוגע לפנייה זו.",
"consent_privacy": "אני מסכים/ה שהתשובות יישמרו לצורך טיפול בפנייה."
},
"es": {
"title": "Solicitud de visita a un inmueble",
"lede": "Pide ver una vivienda o un local comercial.",
"submit": "Enviar",
"thanks": "Enviado. Gracias.",
"file_too_big": "Hasta 3 archivos, 5 MiB cada uno y 10 MiB en total.",
"error": "No se pudo enviar. Inténtalo de nuevo.",
"section.search": "Búsqueda",
"intent": "Quiero",
"intent.buy": "Comprar",
"intent.rent": "Alquilar",
"property_type": "Tipo",
"property_type.apartment": "Apartamento",
"property_type.house": "Casa",
"property_type.commercial": "Local comercial",
"property_type.land": "Terreno",
"city": "Ciudad o zona",
"rooms": "Habitaciones",
"rooms.1": "1",
"rooms.2": "2",
"rooms.3": "3",
"rooms.4plus": "4 o más",
"budget_max": "Presupuesto máximo",
"move_in": "Fecha de entrada",
"section.viewing": "Visita",
"preferred_date": "Fecha preferida",
"preferred_time": "Hora preferida",
"preferred_time.morning": "Mañana",
"preferred_time.afternoon": "Tarde",
"preferred_time.evening": "Noche",
"section.contact": "Contacto",
"name": "Nombre",
"email": "Correo electrónico",
"phone": "Teléfono",
"section.note": "Nota",
"message": "¿Algo más?",
"section.consent": "Consentimiento",
"consent_contact": "Acepto que me contacten sobre esta solicitud.",
"consent_privacy": "Acepto que estas respuestas se guarden para tramitar la solicitud."
},
"fr": {
"title": "Demande de visite d’un bien",
"lede": "Demandez à visiter un logement ou un local commercial.",
"submit": "Envoyer",
"thanks": "Envoyé. Merci.",
"file_too_big": "Jusqu’à 3 fichiers, 5 Mio chacun et 10 Mio au total.",
"error": "Envoi impossible. Veuillez réessayer.",
"section.search": "Recherche",
"intent": "Je souhaite",
"intent.buy": "Acheter",
"intent.rent": "Louer",
"property_type": "Type",
"property_type.apartment": "Appartement",
"property_type.house": "Maison",
"property_type.commercial": "Local commercial",
"property_type.land": "Terrain",
"city": "Ville ou quartier",
"rooms": "Pièces",
"rooms.1": "1",
"rooms.2": "2",
"rooms.3": "3",
"rooms.4plus": "4 ou plus",
"budget_max": "Budget maximum",
"move_in": "Date d’emménagement",
"section.viewing": "Visite",
"preferred_date": "Date souhaitée",
"preferred_time": "Moment souhaité",
"preferred_time.morning": "Matin",
"preferred_time.afternoon": "Après-midi",
"preferred_time.evening": "Soir",
"section.contact": "Contact",
"name": "Nom",
"email": "E-mail",
"phone": "Téléphone",
"section.note": "Remarque",
"message": "Autre chose ?",
"section.consent": "Consentement",
"consent_contact": "J’accepte d’être contacté au sujet de cette demande.",
"consent_privacy": "J’accepte que ces réponses soient conservées pour traiter la demande."
},
"pt": {
"title": "Pedido de visita a imóvel",
"lede": "Peça para ver uma casa ou um espaço comercial.",
"submit": "Enviar",
"thanks": "Enviado. Obrigado.",
"file_too_big": "Até 3 ficheiros, 5 MiB cada e 10 MiB no total.",
"error": "Não foi possível enviar. Tente novamente.",
"section.search": "Procura",
"intent": "Pretendo",
"intent.buy": "Comprar",
"intent.rent": "Arrendar",
"property_type": "Tipo",
"property_type.apartment": "Apartamento",
"property_type.house": "Moradia",
"property_type.commercial": "Comercial",
"property_type.land": "Terreno",
"city": "Cidade ou zona",
"rooms": "Quartos",
"rooms.1": "1",
"rooms.2": "2",
"rooms.3": "3",
"rooms.4plus": "4 ou mais",
"budget_max": "Orçamento até",
"move_in": "Data de mudança",
"section.viewing": "Visita",
"preferred_date": "Data preferida",
"preferred_time": "Horário preferido",
"preferred_time.morning": "Manhã",
"preferred_time.afternoon": "Tarde",
"preferred_time.evening": "Noite",
"section.contact": "Contacto",
"name": "Nome",
"email": "Email",
"phone": "Telefone",
"section.note": "Nota",
"message": "Mais alguma coisa?",
"section.consent": "Consentimento",
"consent_contact": "Aceito ser contactado sobre este pedido.",
"consent_privacy": "Aceito que estas respostas sejam guardadas para tratar o pedido."
},
"hi": {
"title": "प्रॉपर्टी देखने का अनुरोध",
"lede": "घर या कमर्शियल जगह देखने का अनुरोध करें।",
"submit": "भेजें",
"thanks": "भेज दिया गया। धन्यवाद।",
"file_too_big": "अधिकतम 3 फ़ाइलें, हर फ़ाइल 5 MiB तक और कुल 10 MiB।",
"error": "भेजा नहीं जा सका। कृपया फिर से कोशिश करें।",
"section.search": "खोज",
"intent": "मैं चाहता/चाहती हूँ",
"intent.buy": "खरीदना",
"intent.rent": "किराए पर लेना",
"property_type": "प्रकार",
"property_type.apartment": "अपार्टमेंट",
"property_type.house": "मकान",
"property_type.commercial": "कमर्शियल",
"property_type.land": "ज़मीन",
"city": "शहर या इलाका",
"rooms": "कमरे",
"rooms.1": "1",
"rooms.2": "2",
"rooms.3": "3",
"rooms.4plus": "4 या अधिक",
"budget_max": "अधिकतम बजट",
"move_in": "शिफ़्ट होने की तारीख",
"section.viewing": "विज़िट",
"preferred_date": "पसंदीदा तारीख",
"preferred_time": "पसंदीदा समय",
"preferred_time.morning": "सुबह",
"preferred_time.afternoon": "दोपहर",
"preferred_time.evening": "शाम",
"section.contact": "संपर्क",
"name": "नाम",
"email": "ईमेल",
"phone": "फ़ोन",
"section.note": "नोट",
"message": "और कुछ?",
"section.consent": "सहमति",
"consent_contact": "मैं इस अनुरोध के बारे में संपर्क किए जाने के लिए सहमत हूँ।",
"consent_privacy": "मैं सहमत हूँ कि अनुरोध पर काम करने के लिए ये जवाब सहेजे जाएँ।"
},
"ja": {
"title": "物件見学の申し込み",
"lede": "住宅や店舗・事務所の見学を申し込みます。",
"submit": "送信",
"thanks": "送信しました。ありがとうございます。",
"file_too_big": "ファイルは3つまで、1つ5 MiB、合計10 MiBまでです。",
"error": "送信できませんでした。もう一度お試しください。",
"section.search": "ご希望の条件",
"intent": "目的",
"intent.buy": "購入",
"intent.rent": "賃貸",
"property_type": "種類",
"property_type.apartment": "マンション・アパート",
"property_type.house": "一戸建て",
"property_type.commercial": "商業物件",
"property_type.land": "土地",
"city": "市区町村・エリア",
"rooms": "部屋数",
"rooms.1": "1",
"rooms.2": "2",
"rooms.3": "3",
"rooms.4plus": "4以上",
"budget_max": "予算上限",
"move_in": "入居希望日",
"section.viewing": "見学",
"preferred_date": "希望日",
"preferred_time": "希望時間帯",
"preferred_time.morning": "午前",
"preferred_time.afternoon": "午後",
"preferred_time.evening": "夕方",
"section.contact": "連絡先",
"name": "お名前",
"email": "メールアドレス",
"phone": "電話番号",
"section.note": "備考",
"message": "その他",
"section.consent": "同意",
"consent_contact": "このお問い合わせについて連絡を受けることに同意します。",
"consent_privacy": "お問い合わせへの対応のため、これらの回答が保存されることに同意します。"
},
"de": {
"title": "Anfrage für eine Immobilienbesichtigung",
"lede": "Besichtigung einer Wohnung, eines Hauses oder einer Gewerbefläche anfragen.",
"submit": "Senden",
"thanks": "Gesendet. Vielen Dank.",
"file_too_big": "Bis zu 3 Dateien, je 5 MiB und insgesamt 10 MiB.",
"error": "Senden fehlgeschlagen. Bitte versuchen Sie es erneut.",
"section.search": "Suche",
"intent": "Ich möchte",
"intent.buy": "Kaufen",
"intent.rent": "Mieten",
"property_type": "Typ",
"property_type.apartment": "Wohnung",
"property_type.house": "Haus",
"property_type.commercial": "Gewerbe",
"property_type.land": "Grundstück",
"city": "Stadt oder Region",
"rooms": "Zimmer",
"rooms.1": "1",
"rooms.2": "2",
"rooms.3": "3",
"rooms.4plus": "4 oder mehr",
"budget_max": "Budget bis",
"move_in": "Einzugstermin",
"section.viewing": "Besichtigung",
"preferred_date": "Wunschtermin",
"preferred_time": "Wunschuhrzeit",
"preferred_time.morning": "Vormittag",
"preferred_time.afternoon": "Nachmittag",
"preferred_time.evening": "Abend",
"section.contact": "Kontakt",
"name": "Name",
"email": "E-Mail",
"phone": "Telefon",
"section.note": "Hinweis",
"message": "Sonst noch etwas?",
"section.consent": "Einwilligung",
"consent_contact": "Ich bin damit einverstanden, bezüglich dieser Anfrage kontaktiert zu werden.",
"consent_privacy": "Ich stimme zu, dass diese Antworten gespeichert werden, damit die Anfrage bearbeitet werden kann."
}
};
let status = $state("");
let values = $state({ intent: "" });
const t = $derived(LABELS[lang] || LABELS.en);
function mountCaptcha(node, siteKey) {
if (!node || !siteKey) return () => {};
let disposed = false;
let widget;
function render() {
if (disposed || !window.turnstile) return;
window.turnstile.ready(() => {
if (disposed) return;
widget = window.turnstile.render(node, { sitekey: siteKey, language: node.dataset.language || document.documentElement.lang || "auto" });
node.dataset.widgetId = widget;
});
}
if (window.turnstile) render();
else {
let script = document.querySelector('script[src^="https://challenges.cloudflare.com/turnstile/v0/api.js"]');
if (!script) {
script = document.createElement("script");
script.src = "https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit";
script.async = true;
document.head.appendChild(script);
}
script.addEventListener("load", render, { once: true });
}
return () => { disposed = true; if (widget !== undefined) window.turnstile?.remove(widget); };
}
function resetCaptcha(form) {
const widget = form.querySelector("[data-turnstile]")?.dataset.widgetId;
if (widget !== undefined) window.turnstile?.reset(widget);
}
async function onSubmit(event) {
const form = event.currentTarget;
event.preventDefault();
const body = new FormData(form);
body.set("_lang", lang);
const files = Array.from(body.values()).filter(value => value instanceof File && value.size);
if (files.length > 3 || files.some(file => file.size > FILE_MAX) || files.reduce((sum,file) => sum + file.size,0) > 10 * 1024 * 1024) {
status = t.file_too_big;
return;
}
const button = form.querySelector("button[type=submit]");
if (button) button.disabled = true;
try {
const response = await fetch(ENDPOINT, { method: "POST", headers: { Accept: "application/json" }, body });
const result = await response.json();
status = result.success ? t.thanks : (result.message || t.error);
} catch { status = t.error; }
finally { if (button) button.disabled = false; resetCaptcha(form); }
}
</script>
<form onsubmit={onSubmit}>
<h1>{t.title}</h1>
<p>{t.lede}</p>
<input type="hidden" name="access_key" value={accessKey}>
<div aria-hidden="true" style="position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden">
<input name="botcheck" tabindex="-1" autocomplete="off">
</div>
<section><h2>{t["section.search"]}</h2>
<label><span>{t["intent"]}</span><select name="intent" required bind:value={values.intent}><option value="">—</option><option value="buy">{t["intent.buy"]}</option><option value="rent">{t["intent.rent"]}</option></select></label>
<label><span>{t["property_type"]}</span><select name="property_type" required><option value="">—</option><option value="apartment">{t["property_type.apartment"]}</option><option value="house">{t["property_type.house"]}</option><option value="commercial">{t["property_type.commercial"]}</option><option value="land">{t["property_type.land"]}</option></select></label>
<label><span>{t["city"]}</span><input name="city" type="text" required maxlength="80"></label>
<label><span>{t["rooms"]}</span><select name="rooms"><option value="">—</option><option value="1">{t["rooms.1"]}</option><option value="2">{t["rooms.2"]}</option><option value="3">{t["rooms.3"]}</option><option value="4plus">{t["rooms.4plus"]}</option></select></label>
<label><span>{t["budget_max"]}</span><input name="budget_max" type="number" min="0" max="100000000"></label>
{#if values.intent === "rent"}<label><span>{t["move_in"]}</span><input name="move_in" type="date"></label>{/if}</section>
<section><h2>{t["section.viewing"]}</h2>
<label><span>{t["preferred_date"]}</span><input name="preferred_date" type="date"></label>
<label><span>{t["preferred_time"]}</span><select name="preferred_time"><option value="">—</option><option value="morning">{t["preferred_time.morning"]}</option><option value="afternoon">{t["preferred_time.afternoon"]}</option><option value="evening">{t["preferred_time.evening"]}</option></select></label></section>
<section><h2>{t["section.contact"]}</h2>
<label><span>{t["name"]}</span><input name="name" type="text" required maxlength="80"></label>
<label><span>{t["email"]}</span><input name="email" type="email" required maxlength="120"></label>
<label><span>{t["phone"]}</span><input name="phone" type="tel" required maxlength="40"></label></section>
<section><h2>{t["section.note"]}</h2>
<label><span>{t["message"]}</span><textarea name="message" maxlength="600"></textarea></label></section>
<section><h2>{t["section.consent"]}</h2>
<label class="check"><input name="consent_contact" type="checkbox" value="yes" required><span>{t["consent_contact"]}</span></label>
<label class="check"><input name="consent_privacy" type="checkbox" value="yes" required><span>{t["consent_privacy"]}</span></label></section>
<!-- Set turnstileSiteKey to YOUR_TURNSTILE_SITE_KEY. Required for attachments. -->
<div bind:this={captcha} data-turnstile></div>
<button type="submit">{t.submit}</button>
<p>{status}</p>
</form>