text: function policyBuilderGeneral(i){"platforms"==i&&($("#input_edit_wizard_platforms_mobile").prop("checked")||$("#input_edit_wizard_platforms_mobile_website").prop("checked")?$("#control_edit_wizard_mobile_name").show():$("#control_edit_wizard_mobile_name").hide(),$("#input_edit_wizard_platforms_website").prop("checked")||$("#input_edit_wizard_platforms_mobile_website").prop("checked")?$("#control_edit_wizard_website_url").show():$("#control_edit_wizard_website_url").hide()),"premium"==i&&($("#input_edit_wizard_premium_1").prop("checked")?($("#control_box_wizard_features_premium").show(),$("#control_box_wizard_features_basic").hide()):($("#input_edit_wizard_premium_0").prop("checked")&&$("#control_box_wizard_features_basic").show(),$("#control_box_wizard_features_premium").hide()))}function policyBuilderDigitalOnline(i){"trials"==i&&($("#input_edit_wizard_trials_1").prop("checked")?($("#control_edit_wizard_trials_days").show(),$("#control_edit_wizard_trials_functional").show()):($("#control_edit_wizard_trials_days").hide(),$("#control_edit_wizard_trials_functional").hide()))}function policyBuilderTangibleRefunds(i){"accept"==i&&($("#input_edit_wizard_accept_1").prop("checked")?($("#control_edit_wizard_days").show(),$("#control_edit_wizard_clearance").show()):($("#control_edit_wizard_days").hide(),$("#control_edit_wizard_clearance").hide())),"accept"!=i&&"money_back"!=i||($("#input_edit_wizard_accept_1").prop("checked")?($("#control_edit_wizard_money_back").show(),$("#input_edit_wizard_money_back_0").prop("checked")?($("#control_edit_wizard_conditions").show(),$("#control_edit_wizard_refuse").show()):($("#control_edit_wizard_conditions").hide(),$("#control_edit_wizard_refuse").hide())):($("#control_edit_wizard_money_back").hide(),$("#control_edit_wizard_conditions").hide(),$("#control_edit_wizard_refuse").hide())),"accept"!=i&&"receipt"!=i||($("#input_edit_wizard_accept_1").prop("checked")?($("#control_edit_wizard_receipt").show(),$("#input_edit_wizard_receipt_1").prop("checked")?$("#control_edit_wizard_credit").show():$("#control_edit_wizard_credit").hide()):($("#control_edit_wizard_receipt").hide(),$("#control_edit_wizard_credit").hide()))}function policyBuilderTangibleExchanges(i){"accept"==i&&($("#input_edit_wizard_accept_1").prop("checked")?($("#control_edit_wizard_days").show(),$("#control_edit_wizard_conditions").show(),$("#control_edit_wizard_refuse").show(),$("#control_edit_wizard_clearance").show()):($("#control_edit_wizard_days").hide(),$("#control_edit_wizard_conditions").hide(),$("#control_edit_wizard_refuse").hide(),$("#control_edit_wizard_clearance").hide())),"accept"!=i&&"receipt"!=i||($("#input_edit_wizard_accept_1").prop("checked")?($("#control_edit_wizard_receipt").show(),$("#input_edit_wizard_receipt_1").prop("checked")?$("#control_edit_wizard_credit").show():$("#control_edit_wizard_credit").hide()):($("#control_edit_wizard_receipt").hide(),$("#control_edit_wizard_credit").hide()))}function policyBuilderTangibleShipping(i){"contact"==i&&($("#input_edit_wizard_contact_1").prop("checked")?$("#control_edit_wizard_rma").show():$("#control_edit_wizard_rma").hide()),"shipping"==i&&($("#input_edit_wizard_shipping_fee_customer").prop("checked")?($("#control_edit_wizard_shipping_pay").hide(),$("#control_edit_wizard_shipping_address").show()):$("#input_edit_wizard_shipping_fee_company").prop("checked")?($("#control_edit_wizard_shipping_pay").show(),$("#control_edit_wizard_shipping_address").hide()):($("#control_edit_wizard_shipping_pay").hide(),$("#control_edit_wizard_shipping_address").hide())),"shipping"!=i&&"costs"!=i||($("#input_edit_wizard_shipping_fee_customer").prop("checked")||$("#input_edit_wizard_shipping_fee_company").prop("checked")&&$("#input_edit_wizard_shipping_pay_reimburse").prop("checked")?$("#control_edit_wizard_shipping_address").show():$("#control_edit_wizard_shipping_address").hide()),"restock"==i&&($("#input_edit_wizard_restock_pct").prop("checked")?($("#control_edit_wizard_restock_fee").show(),$("#input_edit_wizard_restock_currency").hide()):$("#input_edit_wizard_restock_fixed").prop("checked")?($("#control_edit_wizard_restock_fee").show(),$("#input_edit_wizard_restock_currency").show()):$("#control_edit_wizard_restock_fee").hide())}function policyBuilderDigitalRefunds(i){"accept"==i&&($("#input_edit_wizard_accept_1").prop("checked")?$("#control_edit_wizard_days").show():$("#control_edit_wizard_days").hide()),"accept"!=i&&"money_back"!=i||($("#input_edit_wizard_accept_1").prop("checked")?($("#control_edit_wizard_money_back").show(),$("#input_edit_wizard_money_back_0").prop("checked")?($("#control_edit_wizard_conditions").show(),$("#control_edit_wizard_refuse").show()):($("#control_edit_wizard_conditions").hide(),$("#control_edit_wizard_refuse").hide())):($("#control_edit_wizard_money_back").hide(),$("#control_edit_wizard_conditions").hide(),$("#control_edit_wizard_refuse").hide()))}function policyBuilderOnlineRefunds(i){"accept"==i&&($("#input_edit_wizard_accept_1").prop("checked")?($("#control_edit_wizard_days").show(),$("#control_edit_wizard_prorate").show()):($("#control_edit_wizard_days").hide(),$("#control_edit_wizard_prorate").hide())),"accept"!=i&&"money_back"!=i||($("#input_edit_wizard_accept_1").prop("checked")?($("#control_edit_wizard_money_back").show(),$("#input_edit_wizard_money_back_0").prop("checked")?($("#control_edit_wizard_conditions").show(),$("#control_edit_wizard_refuse").show()):($("#control_edit_wizard_conditions").hide(),$("#control_edit_wizard_refuse").hide())):($("#control_edit_wizard_money_back").hide(),$("#control_edit_wizard_conditions").hide(),$("#control_edit_wizard_refuse").hide()))}function policyBuilderServices(i){"offer"==i&&($("#input_edit_wizard_offer_1").prop("checked")?$("#control_edit_wizard_fee").show():$("#control_edit_wizard_fee").hide())}function policyBuilderContacts(i){"contacts"==i&&($("#input_edit_wizard_contacts_form").prop("checked")?$("#control_edit_wizard_contact_form").show():$("#control_edit_wizard_contact_form").hide(),$("#input_edit_wizard_contacts_email").prop("checked")?$("#control_edit_wizard_contact_email").show():$("#control_edit_wizard_contact_email").hide(),$("#input_edit_wizard_contacts_address").prop("checked")?$("#control_edit_wizard_contact_address").show():$("#control_edit_wizard_contact_address").hide())}$(function(){"general"==policyWizardStepKey?($("#control_edit_wizard_platforms input.checkbox").click(function(){policyBuilderGeneral("platforms")}),$("#control_edit_wizard_platforms input.radio").click(function(){policyBuilderGeneral("platforms")}),policyPremiumPaid||$("#control_edit_wizard_premium input.radio").click(function(){policyBuilderGeneral("premium")})):"tangiblerefunds"==policyWizardStepKey?($("#control_edit_wizard_accept input.radio").click(function(){policyBuilderTangibleRefunds("accept")}),$("#control_edit_wizard_money_back input.radio").click(function(){policyBuilderTangibleRefunds("money_back")}),$("#control_edit_wizard_receipt input.radio").click(function(){policyBuilderTangibleRefunds("receipt")})):"tangibleexchanges"==policyWizardStepKey?($("#control_edit_wizard_accept input.radio").click(function(){policyBuilderTangibleExchanges("accept")}),$("#control_edit_wizard_receipt input.radio").click(function(){policyBuilderTangibleExchanges("receipt")})):"tangibleshipping"==policyWizardStepKey?($("#control_edit_wizard_contact input.radio").click(function(){policyBuilderTangibleShipping("contact")}),$("#control_edit_wizard_shipping_fee input.radio").click(function(){policyBuilderTangibleShipping("shipping")}),$("#control_edit_wizard_shipping_pay input.radio").click(function(){policyBuilderTangibleShipping("costs")}),$("#control_edit_wizard_restock input.radio").click(function(){policyBuilderTangibleShipping("restock")})):"digitaltrials"==policyWizardStepKey||"onlinetrials"==policyWizardStepKey?$("#control_edit_wizard_trials input.radio").click(function(){policyBuilderDigitalOnline("trials")}):"digitalrefunds"==policyWizardStepKey?($("#control_edit_wizard_accept input.radio").click(function(){policyBuilderDigitalRefunds("accept")}),$("#control_edit_wizard_money_back input.radio").click(function(){policyBuilderDigitalRefunds("money_back")})):"onlinerefunds"==policyWizardStepKey?($("#control_edit_wizard_accept input.radio").click(function(){policyBuilderOnlineRefunds("accept")}),$("#control_edit_wizard_money_back input.radio").click(function(){policyBuilderOnlineRefunds("money_back")})):"services"==policyWizardStepKey?$("#control_edit_wizard_offer input.radio").click(function(){policyBuilderServices("offer")}):"contacts"==policyWizardStepKey&&$("#control_edit_wizard_contacts input.checkbox").click(function(){policyBuilderContacts("contacts")})});