(()=>{"use strict";var e={23788:(e,r)=>{Object.defineProperty(r,"__esModule",{value:!0}), /** * Copyright since 2007 PrestaShop SA and Contributors * PrestaShop is an International Registered Trademark & Property of PrestaShop SA * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.md. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/OSL-3.0 * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to https://devdocs.prestashop.com/ for more information. * * @author PrestaShop SA and Contributors * @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ r.default={forwardCustomerThreadModal:"#forwardThreadModal",forwardSomeoneElseEmailInput:"#forward_customer_thread_someone_else_email",forwardEmployeeInput:"#forward_customer_thread_employee_id"}}},r={};function o(a){var t=r[a];if(void 0!==t)return t.exports;var d=r[a]={exports:{}};return e[a](d,d.exports,o),d.exports}var a,t,d,n;t=o(23788),d=(a=t)&&a.__esModule?a:{default:a}, /** * Copyright since 2007 PrestaShop SA and Contributors * PrestaShop is an International Registered Trademark & Property of PrestaShop SA * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.md. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/OSL-3.0 * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to https://devdocs.prestashop.com/ for more information. * * @author PrestaShop SA and Contributors * @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ (n=window.$)((function(){n(d.default.forwardEmployeeInput).on("change",(function(e){var r=n(d.default.forwardSomeoneElseEmailInput).closest(".form-group"),o=n(e.currentTarget).val();0===parseInt(o,10)?r.removeClass("d-none"):r.addClass("d-none")}))})),window.customer_thread_view={}})();