{"version":3,"sources":["../../lib/assets/javascripts/os-time.js","../../lib/assets/javascripts/os-shared.js","../../lib/assets/javascripts/os-notifications.js","../../lib/assets/javascripts/os-actions.js","../../lib/assets/javascripts/main_front.js","../../lib/assets/javascripts/os-payments-braintree.js","../../lib/assets/javascripts/os-payments-paypal.js"],"names":["latepoint_is_timeframe_in_periods","timeframe_start","timeframe_end","periods_arr","is_inside","arguments","length","undefined","i","period_start","period_end","buffer_before","buffer_after","period_info","split","parseFloat","latepoint_is_period_inside_another","latepoint_is_period_overlapping","period_one_start","period_one_end","period_two_start","period_two_end","latepoint_minutes_to_hours_preferably","time","army_clock","latepoint_is_army_clock","hours","Math","floor","minutes","latepoint_minutes_to_hours","latepoint_am_or_pm","latepoint_hours_and_minutes_to_minutes","hours_and_minutes","ampm","hours_and_minutes_arr","parseInt","latepoint_get_time_system","latepoint_helper","time_system","latepoint_minutes_to_hours_and_minutes","format","sprintf","latepoint_mask_timefield","$elem","jQuery","inputmask","mask","placeholder","latepoint_mask_phone","latepoint_is_phone_masking_enabled","latepoint_get_phone_format","phone_format","enable_phone_masking","latepoint_show_booking_end_time","show_booking_end_time","latepoint_init_form_masks","latepoint_get_paypal_payment_amount","$booking_form_wrapper","payment_portion","payment_amount","find","val","data","latepoint_add_notification","message","message_type","wrapper","append","remove","latepoint_generate_form_message_html","messages","status","message_html","Array","isArray","forEach","latepoint_clear_form_messages","$form","latepoint_show_data_in_lightbox","extra_classes","lightbox_css_classes","addClass","show_next_btn","removeClass","clear_service_sub_values","$item","closest","latepoint_update_summary_field","hide_next_btn","show_prev_btn","hide_prev_btn","latepoint_show_capacity_selector","max_capacity","text","latepoint_show_durations","latepoint_apply_coupon","$coupon_input","form_params","serialize","action","route_name","params","layout","return_format","ajax","type","dataType","url","ajaxurl","success","latepoint_show_message_inside_element","latepoint_reload_step","latepoint_coupon_removed","fadeOut","submit","latepoint_get_new_prev_payment_class","$payment_step","new_current_payment_step_class","new_prev_payment_step_class","latepoint_reset_password_from_booking_init","hide","on","html","show","field_name","value","$summary_holder","String","trim","hasClass","slideDown","fadeIn","slideUp","latepoint_password_changed_show_login","response","latepoint_hide_message_inside_element","prepend","latepoint_clear_step_vars","step_name","latepoint_set_payment_token_and_submit","token","$booking_form","document","ready","$","e","$this","this","confirm","location","reload","window","replace","before","after","func_name","alert","preventDefault","form_data","record_id","form_values_to_update","each","name","documentElement","body","animate","scrollTop","offset","top","OsPaymentsBraintree","button","braintree","client","create","authorization","braintree_paypal_client_auth","then","clientInstance","paypalCheckout","paypalCheckoutInstance","paypal","Button","render","style","label","size","shape","tagline","color","env","braintree_paypal_environment_name","payment","createPayment","flow","amount","currency","paypal_payment_currency","intent","onAuthorize","actions","tokenizePayment","payload","nonce","onCancel","onError","err","console","error","catch","zip","additionalData","hostedFieldsInstance","tokenize","tokenizeErr","code","details","invalidFields","key","field","braintree_tokenization_key","hostedFields","styles","input","font-size","font-family","body_font_family","font-weight",":focus","::placeholder",".valid",".invalid","fields","number","selector","cvv","expirationDate","OsPaymentsPaypal","Buttons","createOrder","order","purchase_units","currency_code","application_context","shipping_preference","onApprove","authorize","authorizationID","payments","authorizations","id","orderID","latepoint_register_stripe_card_elements","elements","element","event","latepoint_stripe_create_token","address_zip","latepoint_stripe","createToken","latepoint_stripe_elements_card_number","result","latepoint_init_stripe_form","Stripe","stripe_key","latepoint_stripe_elements","elementStyles","base","fontFamily","fontSize","fontWeight","elementClasses","focus","empty","invalid","classes","mount","latepoint_stripe_elements_card_expiry","latepoint_stripe_elements_card_cvc","latepoint_init_step","latepoint_init_step_selectable_items","latepoint_init_step_items_with_price","latepoint_init_step_datepicker","latepoint_init_step_contact","latepoint_init_step_agents","latepoint_init_step_services","latepoint_init_step_payment","latepoint_init_step_verify","latepoint_init_step_confirmation","day_timeslots","$day","service_duration","interval","work_start_minutes","work_end_minutes","total_work_minutes","available_minutes","toString","map","Number","day_minutes","$timeslots","prev_minutes","current_minutes","off_label","off_width","timeslot_class","includes","tick_html","timeslot_label","end_minutes","end_minutes_ampm","msg_not_available","os_init_timeslots","selected_timeslot_time","os_init_monthly_calendar_navigation","next_month_route_name","next","latepoint_calendar_set_month_label","$btn","$calendar_element","last","calendar_year","calendar_month","booking_info","target_date_string","location_id","agent_id","service_id","duration","total_attendies","latepoint_calendar_show_or_hide_prev_next_buttons","prev","$scrollable_wrapper","stop","scrollHeight","latepoint_init_paypal_button","$booking_form_element","is_braintree_paypal_active","create_paypal_button","is_paypal_native_active","latepoint_init_cc_form","is_braintree_active","init_cc_form","is_stripe_active","latepoint_format_price","which","current_payment_step_class","portion","off","latepoint_selectable_item_clicked","latepoint_priced_item_clicked","operator","latepoint_update_booking_component_price","latepoint_calculate_total_price","total_price","toFixed","item_type","item_type_class","price","summary_value","toggleClass","ids","get","trigger_next_or_show_next_button","currency_symbol_before","currency_symbol_after","add_value","current_value","new_value","max","min","trigger","$category_wrapper","$main_parent","parent","manual_next_step","latepoint_init_step_locations","account_nonse","password","password_confirmation","param","latepoint_init_customer_dashboard_login","$login_form_wrapper","FB","login","authResponse","accessToken","latepoint_step_content_change_start","latepoint_step_content_change_end","scope","googleUser","$login_form_wrappers","gapi","load","auth2","init","client_id","attr","cookiepolicy","attachClickHandler","getAuthResponse","id_token","latepoint_init_facebook_login","latepoint_init_google_login","customer_name","latepoint_validate_fields","email","new_content","replaceWith","setTimeout","$booking_form_wrappers","latepoint_change_step_desc","$step_progress","prevAll","nextAll","side_panel_desc","top_header_desc","latepoint_progress_prev","latepoint_progress_next","latepoint_next_step_description","latepoint_prev_step_description","$fields","is_valid","index","latepoint_init_booking_form","$select_box","timezone_name","is_timezone_selected","tzid","Intl","DateTimeFormat","resolvedOptions","timeZone","change","className","match","join","is_pre_last_step","is_last_step","css","demo_mode","create_token","current_step","$services_step","parents","cancel_booking_prompt","$booking_box","route","target","$tabs_wrapper","booking_button_route","restrictions","show_service_categories","show_locations","show_services","show_agents","selected_location","selected_agent","selected_service","selected_service_category","calendar_start_date","isEmptyObject","lightbox_class","step"],"mappings":"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,EAAMpF,KAAK,sBAAqBqY,EAAaO,iBAAmBxT,EAAMpF,KAAK,qBAC3EoF,EAAMpF,KAAK,+BAA8BqY,EAAaQ,0BAA4BzT,EAAMpF,KAAK,8BAC7FoF,EAAMpF,KAAK,yBAAwBqY,EAAaS,oBAAsB1T,EAAMpF,KAAK,wBAEhD,GAAjCkF,EAAE6T,cAAcV,KAAwB9V,EAAO8V,aAAeA,GAEjE,IAAIrY,EAAO,CAAEqC,OAAQ,uBAAwBC,WAAY2V,EAAO1V,OAAQA,EAAQC,OAAQ,OAAQC,cAAe,QAyB/G,OAxBA2C,EAAMjE,SAAS,cACf+D,EAAExC,KAAK,CACLC,KAAO,OACPC,SAAW,OACXC,IAAMtE,iBAAiBuE,QACvB9C,KAAOA,EACP+C,QAAS,SAAAA,EAAS/C,GAChB,GAAmB,YAAhBA,EAAKS,OAAqB,CAC3B,IAAIuY,EAAiB,GACY,OAA9B5T,EAAMpF,KAAK,kBAA0BgZ,GAAiB,2BACrB,OAAjC5T,EAAMpF,KAAK,qBAA6BgZ,GAAiB,8BAC5DhY,gCAAgChB,EAAKE,QAAS8Y,GAC9CtC,IACAlJ,EAAoBxN,EAAKiZ,MACzB/T,EAAE,QAAQ/D,SAAS,6BACnBiE,EAAM/D,YAAY,mBAGlB+D,EAAM/D,YAAY,kBAMjB,QApxCb,CA4xCKvC","sourcesContent":["function latepoint_is_timeframe_in_periods(timeframe_start, timeframe_end, periods_arr) {\n var is_inside = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;\n\n for (var i = 0; i < periods_arr.length; i++) {\n\n var period_start = 0;\n var period_end = 0;\n var buffer_before = 0;\n var buffer_after = 0;\n\n var period_info = periods_arr[i].split(':');\n if (period_info.length == 2) {\n period_start = period_info[0];\n period_end = period_info[1];\n } else {\n buffer_before = period_info[2];\n buffer_after = period_info[3];\n period_start = parseFloat(period_info[0]) - parseFloat(buffer_before);\n period_end = parseFloat(period_info[1]) + parseFloat(buffer_after);\n }\n if (is_inside) {\n if (latepoint_is_period_inside_another(timeframe_start, timeframe_end, period_start, period_end)) {\n return true;\n }\n } else {\n if (latepoint_is_period_overlapping(timeframe_start, timeframe_end, period_start, period_end)) {\n return true;\n }\n }\n };\n return false;\n}\n\nfunction latepoint_is_period_overlapping(period_one_start, period_one_end, period_two_start, period_two_end) {\n // https://stackoverflow.com/questions/325933/determine-whether-two-date-ranges-overlap/\n return period_one_start < period_two_end && period_two_start < period_one_end;\n}\nfunction latepoint_is_period_inside_another(period_one_start, period_one_end, period_two_start, period_two_end) {\n return period_one_start >= period_two_start && period_one_end <= period_two_end;\n}\n\n\n// Converts time in minutes to hours if possible, if minutes also exists - shows minutes too\nfunction latepoint_minutes_to_hours_preferably(time) {\n var army_clock = latepoint_is_army_clock();\n\n var hours = Math.floor(time / 60);\n if (!army_clock && hours > 12) hours = hours - 12;\n\n var minutes = time % 60;\n if(minutes > 0) hours = hours + ':' + minutes;\n return hours;\n}\n\n\nfunction latepoint_minutes_to_hours(time) {\n var army_clock = latepoint_is_army_clock();\n\n var hours = Math.floor(time / 60);\n if (!army_clock && hours > 12) hours = hours - 12;\n return hours;\n}\n\n\nfunction latepoint_am_or_pm(minutes) {\n if(latepoint_is_army_clock()) return '';\n return (minutes < 720) ? 'am' : 'pm';\n}\n\nfunction latepoint_hours_and_minutes_to_minutes(hours_and_minutes, ampm) {\n var hours_and_minutes_arr = hours_and_minutes.split(':');\n var hours = hours_and_minutes_arr[0];\n var minutes = hours_and_minutes_arr[1];\n if(ampm == \"pm\" && hours<12) hours = parseInt(hours)+12;\n if(ampm == \"am\" && hours==12) hours = 0;\n minutes = parseInt(minutes) + (hours * 60);\n return minutes;\n}\n\nfunction latepoint_get_time_system(){\n return latepoint_helper.time_system;\n}\n\nfunction latepoint_is_army_clock(){\n return (latepoint_get_time_system() == '24');\n}\n\nfunction latepoint_minutes_to_hours_and_minutes(time) {\n var army_clock = latepoint_is_army_clock();\n var format = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '%02d:%02d';\n\n var hours = Math.floor(time / 60);\n if(!army_clock && (hours > 12)) hours = hours - 12;\n var minutes = time % 60;\n return sprintf(format, hours, minutes);\n}\n","function latepoint_mask_timefield($elem){\n\tif(jQuery().inputmask){\n\t $elem.inputmask({\n\t 'mask': '99:99',\n\t 'placeholder': 'HH:MM'\n\t });\n\t}\n}\n\nfunction latepoint_mask_phone($elem){\n\tif(latepoint_is_phone_masking_enabled() && jQuery().inputmask) $elem.inputmask(latepoint_get_phone_format());\n}\n\n\nfunction latepoint_get_phone_format(){\n return latepoint_helper.phone_format;\n}\n\nfunction latepoint_is_phone_masking_enabled(){\n\treturn (latepoint_helper.enable_phone_masking == 'yes');\n}\n\nfunction latepoint_show_booking_end_time(){\n\treturn (latepoint_helper.show_booking_end_time == 'yes');\n}\n\nfunction latepoint_init_form_masks(){\n\tif(latepoint_is_phone_masking_enabled()) latepoint_mask_phone(jQuery('.os-mask-phone'));\n}\n\nfunction latepoint_get_paypal_payment_amount($booking_form_wrapper){\n\tvar payment_portion = $booking_form_wrapper.find('input[name=\"booking[payment_portion]\"]').val();\n\tvar payment_amount = (payment_portion == 'deposit') ? $booking_form_wrapper.find('.lp-paypal-btn-trigger').data('deposit-amount') : $booking_form_wrapper.find('.lp-paypal-btn-trigger').data('full-amount');\n\treturn payment_amount;\n}","function latepoint_add_notification(message, message_type = 'success'){\n\tvar wrapper = jQuery('body').find('.os-notifications');\n\tif(!wrapper.length){\n\t\tjQuery('body').append('
');\n\t\twrapper = jQuery('body').find('.os-notifications');\n\t}\n\tif(wrapper.find('.item').length > 0) wrapper.find('.item:first-child').remove();\n\twrapper.append('