=== SyncBooking ===
Tags: booking, hotel, BNB, vacation, reservations  
Requires at least: 5.0  
Tested up to: 6.8  
Stable tag: 1.28.0  
Requires PHP: 7.2  
Contributors: automaticbnb  
License: GPLv2 or later  
License URI: http://www.gnu.org/licenses/gpl-2.0.html  

SyncBooking simplifies hotel and BNB reservations with a real-time availability calendar and WooCommerce integration.

== Description ==

SyncBooking simplifies hotel and BNB reservations with a real-time availability calendar and WooCommerce integration.

== External Services ==

This plugin connects to external services to validate API keys, retrieve booking data, render UI assets and provide media functionality.

1. **SyncBooking API**  
   Used to send email reminders or retrieve booking details.  

   * **What**: API service to send messages or retrieve bookings  
   * **Data sent**: User email address and booking code  
   * **When**: When a user clicks the “Send Email” or “Retrieve Booking” button  
   * **Where**: `https://booking.syncbooking.com/api-send-email/`  
   * **Provider**: SyncBooking.com  
   * **Terms**: <https://syncbooking.com/terms>  
   * **Privacy**: <https://syncbooking.com/privacy>  

2. **Webflow Fonts**  
   Loads UI font resources (base64-embedded) exported from Webflow.  

   * **What**: Font files only (no user data)  
   * **Data sent**: None – fonts are embedded locally  
   * **When**: On pages using Webflow-styled components  
   * **Provider**: Webflow Inc.  
   * **Terms**: <https://webflow.com/legal/terms>  
   * **Privacy**: <https://webflow.com/legal/privacy>  

3. **Cloudflare Turnstile**  
   Provides CAPTCHA protection for forms built with Webflow components.  

   * **What**: CAPTCHA JavaScript (`https://challenges.cloudflare.com/turnstile/v0/api.js`)  
   * **Data sent**: IP address and browser metadata for anti-bot analysis  
   * **When**: When a form protected by Turnstile is displayed or submitted  
   * **Provider**: Cloudflare Inc.  
   * **Terms**: <https://www.cloudflare.com/terms/>  
   * **Privacy**: <https://www.cloudflare.com/privacypolicy/>  

4. **Google IMA SDK**  
   Enables ad-supported video playback inside the bundled Plyr player.  

   * **What**: Loads ad SDK script (`https://imasdk.googleapis.com/js/sdkloader/ima3.js`)  
   * **Data sent**: IP address and basic interaction data when videos are played  
   * **When**: Only when a video using IMA ads is loaded or played  
   * **Provider**: Google LLC  
   * **Terms**: <https://policies.google.com/terms>  
   * **Privacy**: <https://policies.google.com/privacy>  

These services are essential for core plugin features.  
No personal data is transmitted unless triggered by explicit user actions (e.g., submitting a form or playing a video).

== Source Code ==

This plugin bundles both custom and third-party JavaScript files.  
For compliance with WordPress.org guidelines, the original (non-minified) source is included or referenced.

**Third-party library**

* `php/theme-sync/js/webfont.js` → Web Font Loader v1.6.26  
  * License: Apache 2.0 (see file header)  

**Webflow-generated assets**

* `php/theme-sync/js/webflow.js` & `php/theme-sync/js/webflow-touch.js`  
  * Exported from Webflow.com  
  * Original versions: `webflow-uncompressed.js`, `webflow-touch-uncompressed.js`  
* `php/bar-sync/js/webflow.js`  
  * Same origin; source: `webflow-uncompressed.js`

**Custom scripts**

* `php/bar-sync/js/form.js` – custom, not minified.

No build tools (npm, webpack, etc.) are required to use or extend this plugin.  
Developers may edit the provided readable source files directly.