<?php
/**
 * Bundled BFB template: 20-Minute Time Slots Booking Wizard.
 *
 * @package Booking Calendar
 * @file ../includes/page-form-builder/assets/template-records/time_slots_20_min_2_steps_wizard.php
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

$wpbc_time_slots_20_min_2_steps_wizard_structure_json = trim(
	stripcslashes(
<<<'WPBC_BFB_TEMPLATE_STRUCTURE'
[{\"page\":1,\"content\":[{\"type\":\"section\",\"data\":{\"id\":\"section-22-1773220565981\",\"label\":\"Section\",\"html_id\":\"\",\"cssclass\":\"\",\"col_styles\":\"\",\"columns\":[{\"width\":\"100%\",\"items\":[{\"type\":\"field\",\"data\":{\"type\":\"steps_timeline\",\"usage_key\":\"steps_timeline\",\"steps_count\":2,\"active_step\":1,\"color\":\"#619d40\",\"label\":\"Steps_timeline\",\"cssclass_extra\":\"\",\"steps_scope_suffix\":1360,\"id\":\"steps-timeline-yuslc\",\"name\":\"steps-timeline-yuslc\",\"html_id\":\"\"}}]}]}},{\"type\":\"section\",\"data\":{\"id\":\"section-11-1773137021920\",\"label\":\"Section\",\"html_id\":\"\",\"cssclass\":\"\",\"col_styles\":\"[{},{\\\"aself\\\":\\\"stretch\\\"},{\\\"jc\\\":\\\"space-between\\\",\\\"aself\\\":\\\"stretch\\\"}]\",\"columns\":[{\"width\":\"42.3457%\",\"items\":[{\"type\":\"field\",\"data\":{\"id\":\"calendar\",\"type\":\"calendar\",\"usage_key\":\"calendar\",\"usagenumber\":1,\"resource_id\":1,\"months\":1,\"label\":\"Select Date\",\"min_width\":\"250px\",\"name\":\"calendar\",\"wpbc-cal-init\":1,\"wpbc-cal-loaded-rid\":1}}]},{\"width\":\"6.04202%\",\"items\":[{\"type\":\"field\",\"data\":{\"id\":\"divider_vertical\",\"type\":\"divider\",\"usage_key\":\"divider_vertical\",\"orientation\":\"vertical\",\"line_style\":\"solid\",\"thickness_px\":1,\"length\":\"88%\",\"align\":\"middle\",\"color\":\"#e0e0e0\",\"label\":\"Divider_vertical\",\"name\":\"divider_vertical\",\"margin_top_px\":2,\"margin_bottom_px\":2,\"margin_left_px\":2,\"margin_right_px\":2,\"cssclass_extra\":\"\",\"html_id\":\"\"}}]},{\"width\":\"45.6123%\",\"items\":[{\"type\":\"field\",\"data\":{\"id\":\"rangetime\",\"type\":\"rangetime\",\"usage_key\":\"rangetime\",\"usagenumber\":1,\"min_width\":\"240px\",\"label\":\"Time slots\",\"name\":\"rangetime\",\"required\":true,\"options\":[{\"label\":\"10:00 AM - 10:20 AM\",\"value\":\"10:00 - 10:20\",\"selected\":false},{\"label\":\"10:20 AM - 10:40 AM\",\"value\":\"10:20 - 10:40\",\"selected\":false},{\"label\":\"10:40 AM - 11:00 AM\",\"value\":\"10:40 - 11:00\",\"selected\":false},{\"label\":\"11:00 AM - 11:20 AM\",\"value\":\"11:00 - 11:20\",\"selected\":false},{\"label\":\"11:20 AM - 11:40 AM\",\"value\":\"11:20 - 11:40\",\"selected\":false},{\"label\":\"11:40 AM - 12:00 PM\",\"value\":\"11:40 - 12:00\",\"selected\":false},{\"label\":\"12:00 PM - 12:20 PM\",\"value\":\"12:00 - 12:20\",\"selected\":false},{\"label\":\"12:20 PM - 12:40 PM\",\"value\":\"12:20 - 12:40\",\"selected\":false},{\"label\":\"12:40 PM - 1:00 PM\",\"value\":\"12:40 - 13:00\",\"selected\":false},{\"label\":\"1:00 PM - 1:20 PM\",\"value\":\"13:00 - 13:20\",\"selected\":false},{\"label\":\"1:20 PM - 1:40 PM\",\"value\":\"13:20 - 13:40\",\"selected\":false},{\"label\":\"1:40 PM - 2:00 PM\",\"value\":\"13:40 - 14:00\",\"selected\":false}],\"gen_step_m\":20,\"gen_end_ampm_t\":\"14:00\",\"gen_start_ampm_t\":\"10:00\"}}]}]}},{\"type\":\"section\",\"data\":{\"id\":\"section-13-1773062424786\",\"label\":\"Section\",\"html_id\":\"\",\"cssclass\":\"\",\"col_styles\":\"[{\\\"dir\\\":\\\"row\\\",\\\"wrap\\\":\\\"wrap\\\",\\\"jc\\\":\\\"flex-end\\\",\\\"ai\\\":\\\"flex-end\\\",\\\"gap\\\":\\\"10px\\\",\\\"aself\\\":\\\"flex-end\\\"}]\",\"columns\":[{\"width\":\"100%\",\"items\":[{\"type\":\"field\",\"data\":{\"id\":\"divider_horizontal-3\",\"type\":\"divider\",\"usage_key\":\"divider_horizontal\",\"orientation\":\"horizontal\",\"line_style\":\"solid\",\"thickness_px\":1,\"length\":\"100%\",\"align\":\"center\",\"color\":\"#e0e0e0\",\"label\":\"Divider_horizontal\",\"name\":\"divider_horizontal-3\",\"margin_top_px\":2,\"margin_bottom_px\":2,\"margin_left_px\":2,\"margin_right_px\":2,\"cssclass_extra\":\"\",\"html_id\":\"\"}},{\"type\":\"field\",\"data\":{\"id\":\"wizard_nav_next-3\",\"type\":\"wizard_nav\",\"usage_key\":\"wizard_nav_next\",\"direction\":\"next\",\"target_step\":2,\"label\":\"Next\",\"name\":\"wizard_nav_next-3\",\"cssclass_extra\":\"\",\"html_id\":\"\"}}]}]}}]},{\"page\":2,\"content\":[{\"type\":\"field\",\"data\":{\"type\":\"steps_timeline\",\"usage_key\":\"steps_timeline\",\"steps_count\":2,\"active_step\":2,\"color\":\"#619d40\",\"label\":\"Steps_timeline\",\"cssclass_extra\":\"\",\"steps_scope_suffix\":1360,\"id\":\"steps-timeline-sl4yc\",\"name\":\"steps-timeline-sl4yc\",\"html_id\":\"\"}},{\"type\":\"section\",\"data\":{\"id\":\"section-14-1773062762472\",\"label\":\"Section\",\"html_id\":\"\",\"cssclass\":\"\",\"col_styles\":\"\",\"columns\":[{\"width\":\"48.5%\",\"items\":[{\"type\":\"field\",\"data\":{\"id\":\"text-firstname\",\"type\":\"text\",\"usage_key\":\"text-firstname\",\"label\":\"First Name\",\"name\":\"firstname\",\"placeholder\":\"Example: \\\"John\\\"\",\"required\":1,\"help\":\"Enter your first name.\",\"cssclass\":\"firstname\",\"min_width\":\"8em\",\"html_id\":\"\"}}]},{\"width\":\"48.5%\",\"items\":[{\"type\":\"field\",\"data\":{\"id\":\"text-secondname\",\"type\":\"text\",\"usage_key\":\"text-secondname\",\"label\":\"Last Name\",\"name\":\"secondname\",\"placeholder\":\"Example: \\\"Smith\\\"\",\"required\":1,\"help\":\"Enter your last name.\",\"cssclass\":\"secondname lastname\",\"min_width\":\"8em\",\"html_id\":\"\"}}]}]}},{\"type\":\"section\",\"data\":{\"id\":\"section-16-1773062802362\",\"label\":\"Section\",\"html_id\":\"\",\"cssclass\":\"\",\"col_styles\":\"\",\"columns\":[{\"width\":\"48.5%\",\"items\":[{\"type\":\"field\",\"data\":{\"id\":\"email\",\"type\":\"email\",\"usage_key\":\"email\",\"label\":\"Email\",\"usagenumber\":1,\"name\":\"email\",\"html_id\":\"\",\"cssclass\":\"\",\"required\":true,\"help\":\"Enter your email address.\"}}]},{\"width\":\"48.5%\",\"items\":[{\"type\":\"field\",\"data\":{\"id\":\"text\",\"type\":\"text\",\"usage_key\":\"text\",\"label\":\"Phone\",\"name\":\"phone\",\"cssclass\":\"\",\"html_id\":\"\",\"placeholder\":\"(000)  999 - 10 - 20\",\"help\":\"Enter contact phone number\"}}]}]}},{\"type\":\"section\",\"data\":{\"id\":\"section-17-1773062914950\",\"label\":\"Section\",\"html_id\":\"\",\"cssclass\":\"\",\"col_styles\":\"\",\"columns\":[{\"width\":\"100%\",\"items\":[{\"type\":\"field\",\"data\":{\"id\":\"textarea\",\"type\":\"textarea\",\"usage_key\":\"textarea\",\"min_width\":\"260px\",\"label\":\"Details\",\"name\":\"details\",\"cssclass\":\"\",\"html_id\":\"\"}}]}]}},{\"type\":\"section\",\"data\":{\"id\":\"section-21-1773063061362\",\"label\":\"Section\",\"html_id\":\"\",\"cssclass\":\"\",\"col_styles\":\"\",\"columns\":[{\"width\":\"100%\",\"items\":[{\"type\":\"field\",\"data\":{\"id\":\"accept_terms\",\"type\":\"accept_terms\",\"usage_key\":\"accept_terms\",\"label\":\"Accept Terms\",\"name\":\"accept_terms\",\"required\":1,\"links\":[{\"key\":\"terms\",\"text\":\"terms\",\"link_type\":\"url\",\"destination\":\"https://server.com/terms/\",\"target\":\"_blank\",\"cssclass\":\"\"},{\"key\":\"conditions\",\"text\":\"conditions\",\"link_type\":\"url\",\"destination\":\"https://server.com/conditions/\",\"target\":\"_blank\",\"cssclass\":\"\"}]}}]}]}},{\"type\":\"section\",\"data\":{\"id\":\"section-13-1773062424785\",\"label\":\"Section\",\"html_id\":\"\",\"cssclass\":\"\",\"col_styles\":\"[{\\\"dir\\\":\\\"row\\\",\\\"wrap\\\":\\\"wrap\\\",\\\"jc\\\":\\\"flex-end\\\",\\\"ai\\\":\\\"flex-end\\\",\\\"gap\\\":\\\"10px\\\",\\\"aself\\\":\\\"flex-end\\\"}]\",\"columns\":[{\"width\":\"100%\",\"items\":[{\"type\":\"field\",\"data\":{\"id\":\"divider_horizontal-2\",\"type\":\"divider\",\"usage_key\":\"divider_horizontal\",\"orientation\":\"horizontal\",\"line_style\":\"solid\",\"thickness_px\":1,\"length\":\"100%\",\"align\":\"center\",\"color\":\"#e0e0e0\",\"label\":\"Divider_horizontal\",\"name\":\"divider_horizontal-2\",\"margin_top_px\":2,\"margin_bottom_px\":2,\"margin_left_px\":2,\"margin_right_px\":2,\"cssclass_extra\":\"\",\"html_id\":\"\"}},{\"type\":\"field\",\"data\":{\"id\":\"wizard_nav_next-2\",\"type\":\"wizard_nav\",\"usage_key\":\"wizard_nav_next\",\"direction\":\"back\",\"target_step\":1,\"label\":\"Back\",\"name\":\"wizard_nav_next-2\",\"cssclass_extra\":\"\",\"html_id\":\"\"}},{\"type\":\"field\",\"data\":{\"id\":\"submit\",\"type\":\"submit\",\"usage_key\":\"submit\",\"usagenumber\":1,\"label\":\"Send\",\"name\":\"submit\",\"cssclass\":\"wpbc_bfb__btn wpbc_bfb__btn--primary\",\"html_id\":\"\"}}]}]}}]}]
WPBC_BFB_TEMPLATE_STRUCTURE
	)
);

$wpbc_time_slots_20_min_2_steps_wizard_settings_json = trim(
	stripcslashes(
<<<'WPBC_BFB_TEMPLATE_SETTINGS'
{\"options\":{\"booking_form_theme\":\"\",\"booking_form_layout_width\":\"100%\",\"booking_type_of_day_selections\":\"\"},\"css_vars\":[],\"bfb_options\":{\"advanced_mode_source\":\"builder\"}}
WPBC_BFB_TEMPLATE_SETTINGS
	)
);

$wpbc_time_slots_20_min_2_steps_wizard_advanced_form = trim(
	stripcslashes(
<<<'WPBC_BFB_TEMPLATE_ADVANCED_FORM'
<div class=\"wpbc_bfb_form wpbc_wizard__border_container\">\n	<div class=\"wpbc_wizard_step wpbc__form__div wpbc_wizard_step1\">\n		<r>\n			<c style=\"flex-basis: 100%\">\n				<item>\n					[steps_timeline steps_count=\"2\" active_step=\"1\" color=\"#619d40\"]\n				</item>\n			</c>\n		</r>\n		<r>\n			<c style=\"flex-basis: 42.3457%;--wpbc-col-min: 0px\">\n				<item>\n					<l>Select Date</l>\n					<br>[calendar]\n				</item>\n			</c>\n			<c style=\"flex-basis: 6.04202%;--wpbc-bfb-col-aself: stretch;--wpbc-col-min: 0px\">\n				<item>\n					<div class=\"wpbc_bfb_divider_wrap\" data-bfb-type=\"divider\" data-orientation=\"vertical\" style=\"margin:2px 2px 2px 2px;display:flex;align-self:stretch\"><div name=\"divider_vertical\" class=\"wpbc_bfb_divider wpbc_bfb_divider--v\" role=\"separator\" aria-orientation=\"vertical\" style=\"border-left:1px solid #e0e0e0;height:88%;padding-left:0;position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%)\"></div></div>\n				</item>\n			</c>\n			<c style=\"flex-basis: 45.6123%;--wpbc-bfb-col-jc: space-between;--wpbc-bfb-col-aself: stretch;--wpbc-col-min: 0px\">\n				<item>\n					<l>Time slots</l>\n					<br>[selectbox* rangetime \"10:00 AM - 10:20 AM@@10:00 - 10:20\" \"10:20 AM - 10:40 AM@@10:20 - 10:40\" \"10:40 AM - 11:00 AM@@10:40 - 11:00\" \"11:00 AM - 11:20 AM@@11:00 - 11:20\" \"11:20 AM - 11:40 AM@@11:20 - 11:40\" \"11:40 AM - 12:00 PM@@11:40 - 12:00\" \"12:00 PM - 12:20 PM@@12:00 - 12:20\" \"12:20 PM - 12:40 PM@@12:20 - 12:40\" \"12:40 PM - 1:00 PM@@12:40 - 13:00\" \"1:00 PM - 1:20 PM@@13:00 - 13:20\" \"1:20 PM - 1:40 PM@@13:20 - 13:40\" \"1:40 PM - 2:00 PM@@13:40 - 14:00\"]\n				</item>\n			</c>\n		</r>\n		<r>\n			<c style=\"flex-basis: 100%;--wpbc-bfb-col-dir: row;--wpbc-bfb-col-wrap: wrap;--wpbc-bfb-col-jc: flex-end;--wpbc-bfb-col-ai: flex-end;--wpbc-bfb-col-gap: 10px;--wpbc-bfb-col-aself: flex-end;--wpbc-col-min: 0px\">\n				<item>\n					<div class=\"wpbc_bfb_divider_wrap\" data-bfb-type=\"divider\" data-orientation=\"horizontal\" style=\"margin:2px 2px 2px 2px\"><hr name=\"divider_horizontal-3\" class=\"wpbc_bfb_divider wpbc_bfb_divider--h\" style=\"border:none;height:0;border-top:1px solid #e0e0e0;width:100%;margin-left:auto;margin-right:auto\"></div>\n				</item>\n				<item>\n					<a class=\"wpbc_button_light wpbc_wizard_step_button wpbc_wizard_step_2\">Next</a>\n				</item>\n			</c>\n		</r>\n	</div>\n	<div class=\"wpbc_wizard_step wpbc__form__div wpbc_wizard_step2 wpbc_wizard_step_hidden\" style=\"display:none;clear:both\">\n		<r>\n			<c>\n				<item>\n					[steps_timeline steps_count=\"2\" active_step=\"2\" color=\"#619d40\"]\n				</item>\n			</c>\n		</r>\n		<r>\n			<c style=\"flex-basis: 48.5%\">\n				<item>\n					<l>First Name</l>\n					<br>[text* firstname class:firstname placeholder:\"Example: \'John\'\"]\n					<div class=\"wpbc_field_description\">Enter your first name.</div>\n				</item>\n			</c>\n			<c style=\"flex-basis: 48.5%\">\n				<item>\n					<l>Last Name</l>\n					<br>[text* secondname class:secondname class:lastname placeholder:\"Example: \'Smith\'\"]\n					<div class=\"wpbc_field_description\">Enter your last name.</div>\n				</item>\n			</c>\n		</r>\n		<r>\n			<c style=\"flex-basis: 48.5%\">\n				<item>\n					<l>Email</l>\n					<br>[email* email]\n					<div class=\"wpbc_field_description\">Enter your email address.</div>\n				</item>\n			</c>\n			<c style=\"flex-basis: 48.5%\">\n				<item>\n					<l>Phone</l>\n					<br>[text phone placeholder:\"(000)  999 - 10 - 20\"]\n					<div class=\"wpbc_field_description\">Enter contact phone number</div>\n				</item>\n			</c>\n		</r>\n		<r>\n			<c style=\"flex-basis: 100%\">\n				<item>\n					<l>Details</l>\n					<br>[textarea details]\n				</item>\n			</c>\n		</r>\n		<r>\n			<c style=\"flex-basis: 100%\">\n				<item>\n					<p class=\"wpbc_row_inline wpdev-form-control-wrap \">\n\t\t\t\t\t<l class=\"wpbc_inline_checkbox\">[checkbox* accept_terms \"I accept\"] the <a href=\"https://server.com/terms/\" target=\"_blank\" rel=\"noopener noreferrer\">terms</a> and <a href=\"https://server.com/conditions/\" target=\"_blank\" rel=\"noopener noreferrer\">conditions</a></l>\n\t\t\t\t\t</p>\n				</item>\n			</c>\n		</r>\n		<r>\n			<c style=\"flex-basis: 100%;--wpbc-bfb-col-dir: row;--wpbc-bfb-col-wrap: wrap;--wpbc-bfb-col-jc: flex-end;--wpbc-bfb-col-ai: flex-end;--wpbc-bfb-col-gap: 10px;--wpbc-bfb-col-aself: flex-end;--wpbc-col-min: 0px\">\n				<item>\n					<div class=\"wpbc_bfb_divider_wrap\" data-bfb-type=\"divider\" data-orientation=\"horizontal\" style=\"margin:2px 2px 2px 2px\"><hr name=\"divider_horizontal-2\" class=\"wpbc_bfb_divider wpbc_bfb_divider--h\" style=\"border:none;height:0;border-top:1px solid #e0e0e0;width:100%;margin-left:auto;margin-right:auto\"></div>\n				</item>\n				<item>\n					<a class=\"wpbc_button_light wpbc_wizard_step_button wpbc_wizard_step_1\">Back</a>\n				</item>\n				<item>\n					<span class=\"wpbc_bfb__btn wpbc_bfb__btn--primary\" style=\"flex:1\">[submit \"Send\"]</span>\n				</item>\n			</c>\n		</r>\n	</div>\n</div>
WPBC_BFB_TEMPLATE_ADVANCED_FORM
	)
);

$wpbc_time_slots_20_min_2_steps_wizard_content_form = trim(
	stripcslashes(
<<<'WPBC_BFB_TEMPLATE_CONTENT_FORM'
<div class=\"standard-content-form\">\n	<b>Time slots</b>: <f>[rangetime]</f><br>\n	<b>First Name</b>: <f>[firstname]</f><br>\n	<b>Last Name</b>: <f>[secondname]</f><br>\n	<b>Email</b>: <f>[email]</f><br>\n	<b>Phone</b>: <f>[phone]</f><br>\n	<b>Details</b>: <f>[details]</f><br>\n	<b>Accept Terms</b>: <f>[accept_terms]</f><br>\n</div>
WPBC_BFB_TEMPLATE_CONTENT_FORM
	)
);

return array(
	'template_key' => 'time_slots_20_min_2_steps_wizard',
	'seed_version' => '10.15',
	'sync_mode'    => 'insert_only', // 'insert_only' = insert once if missing, never overwrite existing row. | 'upsert' = insert if missing, update existing row when seed_version increases.
	'record'       => array(
		'form_slug'           => 'time_slots_20_min_2_steps_wizard',
		'status'              => 'template',
		'scope'               => 'global',
		'version'             => 1,
		'booking_resource_id' => null,
		'owner_user_id'       => 0,
		'engine'              => 'bfb',
		'engine_version'      => '1.0',
		'structure_json'      => $wpbc_time_slots_20_min_2_steps_wizard_structure_json,
		'settings_json'       => $wpbc_time_slots_20_min_2_steps_wizard_settings_json,
		'advanced_form'       => $wpbc_time_slots_20_min_2_steps_wizard_advanced_form,
		'content_form'        => $wpbc_time_slots_20_min_2_steps_wizard_content_form,
		'is_default'          => 0,
		'title'               => '20-Minute Time Slots Booking Wizard',
		'description'         => '20-Minute Time Slots, Two-step booking form with date and time selection on the first step, followed by contact details on the second step.',
		'picture_url'         => 'time_slots_20_min_2_steps_wizard_01.png',
	),
);