From 268bde4a501608602417845b7566ccf11811706e Mon Sep 17 00:00:00 2001 From: vegim carkaxhija Date: Tue, 2 Jul 2024 14:15:48 +0200 Subject: [PATCH 01/51] update returnHandler --- controllers/IdinController.php | 36 +++++++++++++++++++--------------- 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/controllers/IdinController.php b/controllers/IdinController.php index 77fb493a4..ff7aa8b94 100644 --- a/controllers/IdinController.php +++ b/controllers/IdinController.php @@ -6,32 +6,36 @@ class IdinController { public function returnHandler() { - Buckaroo_Logger::log( __METHOD__ . '|1|', wc_clean( $_POST ) ); + Buckaroo_Logger::log(__METHOD__ . '|1|', wc_clean($_POST)); - $response = new BuckarooResponseDefault( wc_clean( $_POST ) ); + $response = new BuckarooResponseDefault(wc_clean($_POST)); - if ( $response && $response->isValid() && $response->hasSucceeded() ) { - $bin = ! empty( $response->brq_service_idin_consumerbin ) ? $response->brq_service_idin_consumerbin : 0; - $isEighteen = $response->brq_service_idin_iseighteenorolder === 'True' ? 1 : 0; - Buckaroo_Logger::log( __METHOD__ . '|5|', $bin ); - if ( $isEighteen ) { - BuckarooIdin::setCurrentUserIsVerified( $bin ); - wc_add_notice( __( 'You have been verified successfully', 'wc-buckaroo-bpe-gateway' ), 'success' ); + if ($response && $response->isValid() && $response->hasSucceeded()) { + Buckaroo_Logger::log(__METHOD__ . '|2|', $response); + + $bin = !empty($response->brq_service_idin_consumerbin) ? $response->brq_service_idin_consumerbin : 0; + $isEighteen = isset($response->brq_service_idin_iseighteenorolder) && $response->brq_service_idin_iseighteenorolder === 'True'; + Buckaroo_Logger::log(__METHOD__ . '|5| ConsumerBIN:', $bin); + Buckaroo_Logger::log(__METHOD__ . '|6| IsEighteenOrOlder:', $isEighteen); + + if ($isEighteen) { + BuckarooIdin::setCurrentUserIsVerified($bin); + wc_add_notice(__('You have been verified successfully', 'wc-buckaroo-bpe-gateway'), 'success'); } else { - wc_add_notice( __( 'According to iDIN you are under 18 years old', 'wc-buckaroo-bpe-gateway' ), 'error' ); + wc_add_notice(__('According to iDIN you are under 18 years old', 'wc-buckaroo-bpe-gateway'), 'error'); } } else { - Buckaroo_Logger::log( __METHOD__ . '|10|' ); + Buckaroo_Logger::log(__METHOD__ . '|10|'); wc_add_notice( - empty( $response->statusmessage ) ? - __( 'Verification has been failed', 'wc-buckaroo-bpe-gateway' ) : stripslashes( $response->statusmessage ), + empty($response->statusmessage) ? + __('Verification has been failed', 'wc-buckaroo-bpe-gateway') : stripslashes($response->statusmessage), 'error' ); } - if ( ! empty( $_REQUEST['bk_redirect'] ) && is_string( $_REQUEST['bk_redirect'] ) ) { - Buckaroo_Logger::log( __METHOD__ . '|15|' ); - wp_safe_redirect( $_REQUEST['bk_redirect'] ); + if (!empty($_REQUEST['bk_redirect']) && is_string($_REQUEST['bk_redirect'])) { + Buckaroo_Logger::log(__METHOD__ . '|15|'); + wp_safe_redirect($_REQUEST['bk_redirect']); exit; } } From 8448a9b7cc47453b65bca9d094a090e4ba99dfe1 Mon Sep 17 00:00:00 2001 From: vegim carkaxhija Date: Tue, 2 Jul 2024 14:38:11 +0200 Subject: [PATCH 02/51] update returnHandler --- controllers/IdinController.php | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/controllers/IdinController.php b/controllers/IdinController.php index ff7aa8b94..38a08e9a9 100644 --- a/controllers/IdinController.php +++ b/controllers/IdinController.php @@ -8,13 +8,16 @@ class IdinController { public function returnHandler() { Buckaroo_Logger::log(__METHOD__ . '|1|', wc_clean($_POST)); - $response = new BuckarooResponseDefault(wc_clean($_POST)); + $post_data = wc_clean($_POST); + Buckaroo_Logger::log(__METHOD__ . '|2| POST Data:', $post_data); + + $response = new BuckarooResponseDefault($post_data); + Buckaroo_Logger::log(__METHOD__ . '|3| Response Object:', $response); if ($response && $response->isValid() && $response->hasSucceeded()) { - Buckaroo_Logger::log(__METHOD__ . '|2|', $response); + $bin = !empty($post_data['brq_SERVICE_idin_ConsumerBIN']) ? $post_data['brq_SERVICE_idin_ConsumerBIN'] : 0; + $isEighteen = isset($post_data['brq_SERVICE_idin_IsEighteenOrOlder']) && $post_data['brq_SERVICE_idin_IsEighteenOrOlder'] === 'True'; - $bin = !empty($response->brq_service_idin_consumerbin) ? $response->brq_service_idin_consumerbin : 0; - $isEighteen = isset($response->brq_service_idin_iseighteenorolder) && $response->brq_service_idin_iseighteenorolder === 'True'; Buckaroo_Logger::log(__METHOD__ . '|5| ConsumerBIN:', $bin); Buckaroo_Logger::log(__METHOD__ . '|6| IsEighteenOrOlder:', $isEighteen); @@ -40,6 +43,7 @@ public function returnHandler() { } } + public function identify() { Buckaroo_Logger::log( __METHOD__ . '|1|' ); From 36f87141889b67afb8e5af190a2471c1c0ec408f Mon Sep 17 00:00:00 2001 From: vegim carkaxhija Date: Tue, 2 Jul 2024 14:46:10 +0200 Subject: [PATCH 03/51] update returnHandler --- controllers/IdinController.php | 8 +++++++- library/api/idin.php | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/controllers/IdinController.php b/controllers/IdinController.php index 38a08e9a9..e2c9fe1a3 100644 --- a/controllers/IdinController.php +++ b/controllers/IdinController.php @@ -6,6 +6,9 @@ class IdinController { public function returnHandler() { + wc_add_notice(__('Debug Notice: Return handler initiated', 'wc-buckaroo-bpe-gateway'), 'success'); + Buckaroo_Logger::log(__METHOD__ . '|0| Debug Notice added'); + Buckaroo_Logger::log(__METHOD__ . '|1|', wc_clean($_POST)); $post_data = wc_clean($_POST); @@ -23,9 +26,12 @@ public function returnHandler() { if ($isEighteen) { BuckarooIdin::setCurrentUserIsVerified($bin); + Buckaroo_Logger::log(__METHOD__ . '|7| User Verified'); wc_add_notice(__('You have been verified successfully', 'wc-buckaroo-bpe-gateway'), 'success'); + Buckaroo_Logger::log(__METHOD__ . '|8| Notice Added: You have been verified successfully'); } else { wc_add_notice(__('According to iDIN you are under 18 years old', 'wc-buckaroo-bpe-gateway'), 'error'); + Buckaroo_Logger::log(__METHOD__ . '|9| Notice Added: According to iDIN you are under 18 years old'); } } else { Buckaroo_Logger::log(__METHOD__ . '|10|'); @@ -34,6 +40,7 @@ public function returnHandler() { __('Verification has been failed', 'wc-buckaroo-bpe-gateway') : stripslashes($response->statusmessage), 'error' ); + Buckaroo_Logger::log(__METHOD__ . '|11| Notice Added: Verification has been failed'); } if (!empty($_REQUEST['bk_redirect']) && is_string($_REQUEST['bk_redirect'])) { @@ -43,7 +50,6 @@ public function returnHandler() { } } - public function identify() { Buckaroo_Logger::log( __METHOD__ . '|1|' ); diff --git a/library/api/idin.php b/library/api/idin.php index 83b468d94..6b46b2aa7 100644 --- a/library/api/idin.php +++ b/library/api/idin.php @@ -83,7 +83,7 @@ public static function setCurrentUserIsVerified( $bin ) { add_user_meta( $currentIserId, 'buckaroo_idin_bin', $bin, true ); } else { WC()->session->set( 'buckaroo_idin', 1 ); - WC()->session->set( 'buckaroo_idin', $bin ); + WC()->session->set( 'buckaroo_idin_bin', $bin ); } } From 328d6e0827d97e414a8b2f158d260646d556a939 Mon Sep 17 00:00:00 2001 From: vegim carkaxhija Date: Tue, 2 Jul 2024 15:27:57 +0200 Subject: [PATCH 04/51] fix deprecated warnings --- .../api/paymentmethods/responsedefault.php | 2 +- library/api/soap.php | 44 ++++++++++--------- library/common.php | 9 ++-- 3 files changed, 29 insertions(+), 26 deletions(-) diff --git a/library/api/paymentmethods/responsedefault.php b/library/api/paymentmethods/responsedefault.php index e35f960e3..ea87a2a38 100644 --- a/library/api/paymentmethods/responsedefault.php +++ b/library/api/paymentmethods/responsedefault.php @@ -3,7 +3,7 @@ * @package Buckaroo */ class BuckarooResponseDefault extends BuckarooResponse { - + public $transactionId; protected function _parseSoapResponseChild() { } diff --git a/library/api/soap.php b/library/api/soap.php index 36d5b01d4..7827b0f4c 100644 --- a/library/api/soap.php +++ b/library/api/soap.php @@ -345,31 +345,32 @@ protected function _addCustomFields( &$TransactionRequest, $key, $name ) { protected function _addCustomParameters( &$TransactionRequest ) { $requestParameters = array(); - foreach ( $this->_vars['customParameters'] as $fieldName => $value ) { - if ( - ( is_null( $value ) || $value === '' ) - || ( - is_array( $value ) - && ( is_null( $value['value'] ) || $value['value'] === '' ) - ) - ) { - continue; - } - $requestParameter = new RequestParameter(); - $requestParameter->Name = $fieldName; - if ( is_array( $value ) ) { - $requestParameter->Group = $value['group']; - $requestParameter->_ = $value['value']; - } else { - $requestParameter->_ = $value; - } + // Ensure customParameters is set and is an array + if (isset($this->_vars['customParameters']) && is_array($this->_vars['customParameters'])) { + foreach ($this->_vars['customParameters'] as $fieldName => $value) { + if ( + (is_null($value) || $value === '') || + (is_array($value) && (is_null($value['value']) || $value['value'] === '')) + ) { + continue; + } + + $requestParameter = new RequestParameter(); + $requestParameter->Name = $fieldName; + if (is_array($value)) { + $requestParameter->Group = $value['group']; + $requestParameter->_ = $value['value']; + } else { + $requestParameter->_ = $value; + } - $requestParameters[] = $requestParameter; + $requestParameters[] = $requestParameter; + } } - if ( empty( $requestParameters ) ) { - unset( $TransactionRequest->AdditionalParameters ); + if (empty($requestParameters)) { + unset($TransactionRequest->AdditionalParameters); return; } else { $TransactionRequest->AdditionalParameters = $requestParameters; @@ -572,6 +573,7 @@ private function signDomDocument( $domDocument ) { } class Header { public $MessageControlBlock; + public $Security; } class SecurityType { diff --git a/library/common.php b/library/common.php index 4d4c6c03b..8991adac3 100644 --- a/library/common.php +++ b/library/common.php @@ -656,13 +656,14 @@ function getUniqInvoiceId($order_id, $mode = 'live') */ function getOrderIdFromInvoiceId($invoice_id, $mode = 'live') { - if ($mode == 'test') { - $invoice_id = str_replace("WP_", "", $invoice_id); - } + if ($mode == 'test' && is_string($invoice_id)) { + $invoice_id = str_replace("WP_", "", $invoice_id); + } - return $invoice_id; + return $invoice_id; } + /** * Checks if WooCommerce Version 3 or greater is installed * From d48ffc330325d13d3a9f3b24c2f333882926052d Mon Sep 17 00:00:00 2001 From: vegim carkaxhija Date: Tue, 2 Jul 2024 15:30:08 +0200 Subject: [PATCH 05/51] fix deprecated warnings --- library/common.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/library/common.php b/library/common.php index 8991adac3..3fe4f653f 100644 --- a/library/common.php +++ b/library/common.php @@ -580,6 +580,10 @@ function fn_buckaroo_get_address_components($address) $result['house_number'] = ''; $result['number_addition'] = ''; + if (is_null($address)) { + $address = ''; + } + $address = str_replace(array('?', '*', '[', ']', ',', '!'), ' ', $address); $address = preg_replace('/\s\s+/', ' ', $address); From 8b5c35d4ce36793a6e56836ccdcf17b97d0d510d Mon Sep 17 00:00:00 2001 From: vegim carkaxhija Date: Tue, 2 Jul 2024 15:35:10 +0200 Subject: [PATCH 06/51] fix deprecated warnings --- library/api/paymentmethods/ideal/ideal.php | 1 + library/api/paymentmethods/ideal/idealresponse.php | 2 ++ library/api/soap.php | 1 + 3 files changed, 4 insertions(+) diff --git a/library/api/paymentmethods/ideal/ideal.php b/library/api/paymentmethods/ideal/ideal.php index c7c2957b5..2e37cf2f5 100644 --- a/library/api/paymentmethods/ideal/ideal.php +++ b/library/api/paymentmethods/ideal/ideal.php @@ -8,6 +8,7 @@ class BuckarooIDeal extends BuckarooPaymentMethod { public $issuer; protected $data; + public $channel; /** * @access public diff --git a/library/api/paymentmethods/ideal/idealresponse.php b/library/api/paymentmethods/ideal/idealresponse.php index 6a8171a2f..45f4ddb7b 100644 --- a/library/api/paymentmethods/ideal/idealresponse.php +++ b/library/api/paymentmethods/ideal/idealresponse.php @@ -12,6 +12,8 @@ class BuckarooIDealResponse extends BuckarooResponse { public $consumerName; public $consumerAccountNumber; public $consumerCity; + public $order; + public $transactionId; /** * @access protected diff --git a/library/api/soap.php b/library/api/soap.php index 7827b0f4c..10eec4b57 100644 --- a/library/api/soap.php +++ b/library/api/soap.php @@ -628,6 +628,7 @@ class MessageControlBlock { } class Body { + public $AdditionalParameters; public $Currency; public $AmountDebit; public $AmountCredit; From 077d1c698d6aebf64d7ba3c03d96ed68af66feb6 Mon Sep 17 00:00:00 2001 From: "g.prenaj" Date: Tue, 2 Jul 2024 15:41:12 +0200 Subject: [PATCH 07/51] check if is also numeric when rounding --- library/common.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/common.php b/library/common.php index 4d4c6c03b..5d98237f5 100644 --- a/library/common.php +++ b/library/common.php @@ -829,7 +829,7 @@ function getClientIpBuckaroo() } function roundAmount($amount) { - if(is_scalar($amount)) { + if(is_scalar($amount) && is_numeric($amount)) { return (float) number_format($amount, 2, '.', ''); } return 0; From 7d6e98f620e56eabfe02d80de7ce03515543f2b9 Mon Sep 17 00:00:00 2001 From: vegim carkaxhija Date: Tue, 2 Jul 2024 15:51:07 +0200 Subject: [PATCH 08/51] add log --- library/api/idin.php | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/library/api/idin.php b/library/api/idin.php index 6b46b2aa7..f8095a447 100644 --- a/library/api/idin.php +++ b/library/api/idin.php @@ -69,8 +69,8 @@ public static function checkCurrentUserIsVerified() { return true; } - if ( $currentIserId = get_current_user_id() ) { - return get_user_meta( $currentIserId, 'buckaroo_idin', true ); + if ( $currentUserId = get_current_user_id() ) { + return get_user_meta( $currentUserId, 'buckaroo_idin', true ); } else { return WC()->session->get( 'buckaroo_idin' ); } @@ -78,9 +78,11 @@ public static function checkCurrentUserIsVerified() { } public static function setCurrentUserIsVerified( $bin ) { - if ( $currentIserId = get_current_user_id() ) { - add_user_meta( $currentIserId, 'buckaroo_idin', 1, true ); - add_user_meta( $currentIserId, 'buckaroo_idin_bin', $bin, true ); + if ( $currentUserId = get_current_user_id() ) { + Buckaroo_Logger::log('get_current_user_id:', $currentUserId); + + add_user_meta( $currentUserId, 'buckaroo_idin', 1, true ); + add_user_meta( $currentUserId, 'buckaroo_idin_bin', $bin, true ); } else { WC()->session->set( 'buckaroo_idin', 1 ); WC()->session->set( 'buckaroo_idin_bin', $bin ); @@ -88,9 +90,9 @@ public static function setCurrentUserIsVerified( $bin ) { } public static function setCurrentUserIsNotVerified() { - if ( $currentIserId = get_current_user_id() ) { - delete_user_meta( $currentIserId, 'buckaroo_idin' ); - delete_user_meta( $currentIserId, 'buckaroo_idin_bin' ); + if ( $currentUserId = get_current_user_id() ) { + delete_user_meta( $currentUserId, 'buckaroo_idin' ); + delete_user_meta( $currentUserId, 'buckaroo_idin_bin' ); } else { WC()->session->set( 'buckaroo_idin', 0 ); WC()->session->set( 'buckaroo_idin_bin', 0 ); From d93eac1d90cd48752ede1af8e1195687ae1e0411 Mon Sep 17 00:00:00 2001 From: vegim carkaxhija Date: Tue, 2 Jul 2024 15:56:39 +0200 Subject: [PATCH 09/51] add log --- library/api/idin.php | 30 +++++++++++++++++++++++------- 1 file changed, 23 insertions(+), 7 deletions(-) diff --git a/library/api/idin.php b/library/api/idin.php index f8095a447..3a28fcc7b 100644 --- a/library/api/idin.php +++ b/library/api/idin.php @@ -78,22 +78,38 @@ public static function checkCurrentUserIsVerified() { } public static function setCurrentUserIsVerified( $bin ) { - if ( $currentUserId = get_current_user_id() ) { - Buckaroo_Logger::log('get_current_user_id:', $currentUserId); + $currentUserId = get_current_user_id(); + Buckaroo_Logger::log('get_current_user_id result:', $currentUserId); - add_user_meta( $currentUserId, 'buckaroo_idin', 1, true ); - add_user_meta( $currentUserId, 'buckaroo_idin_bin', $bin, true ); + if ( $currentUserId ) { + Buckaroo_Logger::log('Setting user meta for user ID:', $currentUserId); + if (!add_user_meta( $currentUserId, 'buckaroo_idin', 1, true )) { + Buckaroo_Logger::log('Failed to add user meta for buckaroo_idin'); + } + if (!add_user_meta( $currentUserId, 'buckaroo_idin_bin', $bin, true )) { + Buckaroo_Logger::log('Failed to add user meta for buckaroo_idin_bin'); + } } else { + Buckaroo_Logger::log('Setting session data as no user ID found'); WC()->session->set( 'buckaroo_idin', 1 ); WC()->session->set( 'buckaroo_idin_bin', $bin ); } } public static function setCurrentUserIsNotVerified() { - if ( $currentUserId = get_current_user_id() ) { - delete_user_meta( $currentUserId, 'buckaroo_idin' ); - delete_user_meta( $currentUserId, 'buckaroo_idin_bin' ); + $currentUserId = get_current_user_id(); + Buckaroo_Logger::log('get_current_user_id result:', $currentUserId); + + if ( $currentUserId ) { + Buckaroo_Logger::log('Deleting user meta for user ID:', $currentUserId); + if (!delete_user_meta( $currentUserId, 'buckaroo_idin' )) { + Buckaroo_Logger::log('Failed to delete user meta for buckaroo_idin'); + } + if (!delete_user_meta( $currentUserId, 'buckaroo_idin_bin' )) { + Buckaroo_Logger::log('Failed to delete user meta for buckaroo_idin_bin'); + } } else { + Buckaroo_Logger::log('Setting session data as no user ID found'); WC()->session->set( 'buckaroo_idin', 0 ); WC()->session->set( 'buckaroo_idin_bin', 0 ); } From 35f059c2e4f25a92096429467b0a679fe2e68e98 Mon Sep 17 00:00:00 2001 From: vegim carkaxhija Date: Tue, 2 Jul 2024 16:03:31 +0200 Subject: [PATCH 10/51] remove log --- controllers/IdinController.php | 11 ----------- library/api/idin.php | 22 ++++------------------ 2 files changed, 4 insertions(+), 29 deletions(-) diff --git a/controllers/IdinController.php b/controllers/IdinController.php index e2c9fe1a3..ec3824f06 100644 --- a/controllers/IdinController.php +++ b/controllers/IdinController.php @@ -7,15 +7,10 @@ class IdinController { public function returnHandler() { wc_add_notice(__('Debug Notice: Return handler initiated', 'wc-buckaroo-bpe-gateway'), 'success'); - Buckaroo_Logger::log(__METHOD__ . '|0| Debug Notice added'); - Buckaroo_Logger::log(__METHOD__ . '|1|', wc_clean($_POST)); $post_data = wc_clean($_POST); - Buckaroo_Logger::log(__METHOD__ . '|2| POST Data:', $post_data); - $response = new BuckarooResponseDefault($post_data); - Buckaroo_Logger::log(__METHOD__ . '|3| Response Object:', $response); if ($response && $response->isValid() && $response->hasSucceeded()) { $bin = !empty($post_data['brq_SERVICE_idin_ConsumerBIN']) ? $post_data['brq_SERVICE_idin_ConsumerBIN'] : 0; @@ -26,25 +21,19 @@ public function returnHandler() { if ($isEighteen) { BuckarooIdin::setCurrentUserIsVerified($bin); - Buckaroo_Logger::log(__METHOD__ . '|7| User Verified'); wc_add_notice(__('You have been verified successfully', 'wc-buckaroo-bpe-gateway'), 'success'); - Buckaroo_Logger::log(__METHOD__ . '|8| Notice Added: You have been verified successfully'); } else { wc_add_notice(__('According to iDIN you are under 18 years old', 'wc-buckaroo-bpe-gateway'), 'error'); - Buckaroo_Logger::log(__METHOD__ . '|9| Notice Added: According to iDIN you are under 18 years old'); } } else { - Buckaroo_Logger::log(__METHOD__ . '|10|'); wc_add_notice( empty($response->statusmessage) ? __('Verification has been failed', 'wc-buckaroo-bpe-gateway') : stripslashes($response->statusmessage), 'error' ); - Buckaroo_Logger::log(__METHOD__ . '|11| Notice Added: Verification has been failed'); } if (!empty($_REQUEST['bk_redirect']) && is_string($_REQUEST['bk_redirect'])) { - Buckaroo_Logger::log(__METHOD__ . '|15|'); wp_safe_redirect($_REQUEST['bk_redirect']); exit; } diff --git a/library/api/idin.php b/library/api/idin.php index 3a28fcc7b..e521cb075 100644 --- a/library/api/idin.php +++ b/library/api/idin.php @@ -79,18 +79,11 @@ public static function checkCurrentUserIsVerified() { public static function setCurrentUserIsVerified( $bin ) { $currentUserId = get_current_user_id(); - Buckaroo_Logger::log('get_current_user_id result:', $currentUserId); if ( $currentUserId ) { - Buckaroo_Logger::log('Setting user meta for user ID:', $currentUserId); - if (!add_user_meta( $currentUserId, 'buckaroo_idin', 1, true )) { - Buckaroo_Logger::log('Failed to add user meta for buckaroo_idin'); - } - if (!add_user_meta( $currentUserId, 'buckaroo_idin_bin', $bin, true )) { - Buckaroo_Logger::log('Failed to add user meta for buckaroo_idin_bin'); - } + add_user_meta( $currentUserId, 'buckaroo_idin', 1, true ); + add_user_meta( $currentUserId, 'buckaroo_idin_bin', $bin, true ); } else { - Buckaroo_Logger::log('Setting session data as no user ID found'); WC()->session->set( 'buckaroo_idin', 1 ); WC()->session->set( 'buckaroo_idin_bin', $bin ); } @@ -98,18 +91,11 @@ public static function setCurrentUserIsVerified( $bin ) { public static function setCurrentUserIsNotVerified() { $currentUserId = get_current_user_id(); - Buckaroo_Logger::log('get_current_user_id result:', $currentUserId); if ( $currentUserId ) { - Buckaroo_Logger::log('Deleting user meta for user ID:', $currentUserId); - if (!delete_user_meta( $currentUserId, 'buckaroo_idin' )) { - Buckaroo_Logger::log('Failed to delete user meta for buckaroo_idin'); - } - if (!delete_user_meta( $currentUserId, 'buckaroo_idin_bin' )) { - Buckaroo_Logger::log('Failed to delete user meta for buckaroo_idin_bin'); - } + delete_user_meta( $currentUserId, 'buckaroo_idin' ); + delete_user_meta( $currentUserId, 'buckaroo_idin_bin' ); } else { - Buckaroo_Logger::log('Setting session data as no user ID found'); WC()->session->set( 'buckaroo_idin', 0 ); WC()->session->set( 'buckaroo_idin_bin', 0 ); } From 67c648d79007881285256a95eff269e74be27132 Mon Sep 17 00:00:00 2001 From: "v.carkaxhija" Date: Tue, 9 Jul 2024 11:20:50 +0200 Subject: [PATCH 11/51] update idin --- controllers/IdinController.php | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/controllers/IdinController.php b/controllers/IdinController.php index ec3824f06..3eec80eca 100644 --- a/controllers/IdinController.php +++ b/controllers/IdinController.php @@ -6,9 +6,6 @@ class IdinController { public function returnHandler() { - wc_add_notice(__('Debug Notice: Return handler initiated', 'wc-buckaroo-bpe-gateway'), 'success'); - Buckaroo_Logger::log(__METHOD__ . '|1|', wc_clean($_POST)); - $post_data = wc_clean($_POST); $response = new BuckarooResponseDefault($post_data); @@ -16,9 +13,6 @@ public function returnHandler() { $bin = !empty($post_data['brq_SERVICE_idin_ConsumerBIN']) ? $post_data['brq_SERVICE_idin_ConsumerBIN'] : 0; $isEighteen = isset($post_data['brq_SERVICE_idin_IsEighteenOrOlder']) && $post_data['brq_SERVICE_idin_IsEighteenOrOlder'] === 'True'; - Buckaroo_Logger::log(__METHOD__ . '|5| ConsumerBIN:', $bin); - Buckaroo_Logger::log(__METHOD__ . '|6| IsEighteenOrOlder:', $isEighteen); - if ($isEighteen) { BuckarooIdin::setCurrentUserIsVerified($bin); wc_add_notice(__('You have been verified successfully', 'wc-buckaroo-bpe-gateway'), 'success'); @@ -40,8 +34,6 @@ public function returnHandler() { } public function identify() { - Buckaroo_Logger::log( __METHOD__ . '|1|' ); - if ( ! BuckarooConfig::isIdin( BuckarooIdin::getCartProductIds() ) ) { $this->sendError( esc_html__( 'iDIN is disabled' ) ); } @@ -72,11 +64,11 @@ public function identify() { $response = BuckarooResponseFactory::getResponse( $soap->transactionRequest( 'DataRequest' ) ); - Buckaroo_Logger::log( __METHOD__ . '|5|', $response ); +// Buckaroo_Logger::log( __METHOD__ . '|5|', $response ); $processedResponse = fn_buckaroo_process_response( null, $response ); - Buckaroo_Logger::log( __METHOD__ . '|10|', $processedResponse ); +// Buckaroo_Logger::log( __METHOD__ . '|10|', $processedResponse ); wp_send_json( $processedResponse ); } From aaa4658c97e8a1389c6802ca9bfddef86e144844 Mon Sep 17 00:00:00 2001 From: "v.carkaxhija" Date: Tue, 9 Jul 2024 15:48:58 +0200 Subject: [PATCH 12/51] add Blik payment method --- Buckaroo_Load_Gateways.php | 4 ++ buckaroo-exodus.php | 1 + gateway-buckaroo-blik.php | 49 ++++++++++++++++++ library/api/paymentmethods/blik/blik.php | 16 ++++++ .../paymentmethods/paymentrequestfactory.php | 2 + library/buckaroo_images/24x24/blik.png | Bin 0 -> 3712 bytes library/common.php | 1 + library/config.php | 5 ++ readme.txt | 1 + 9 files changed, 79 insertions(+) create mode 100644 gateway-buckaroo-blik.php create mode 100644 library/api/paymentmethods/blik/blik.php create mode 100644 library/buckaroo_images/24x24/blik.png diff --git a/Buckaroo_Load_Gateways.php b/Buckaroo_Load_Gateways.php index 5d7b54961..ae06383f1 100644 --- a/Buckaroo_Load_Gateways.php +++ b/Buckaroo_Load_Gateways.php @@ -39,6 +39,10 @@ class Buckaroo_Load_Gateways { 'filename' => 'gateway-buckaroo-transfer.php', 'classname' => 'WC_Gateway_Buckaroo_Transfer', ), + 'Blik' => array( + 'filename' => 'gateway-buckaroo-blik.php', + 'classname' => 'WC_Gateway_Buckaroo_Blik', + ), 'Belfius' => array( 'filename' => 'gateway-buckaroo-belfius.php', 'classname' => 'WC_Gateway_Buckaroo_Belfius', diff --git a/buckaroo-exodus.php b/buckaroo-exodus.php index d9c58f341..03cb60d41 100644 --- a/buckaroo-exodus.php +++ b/buckaroo-exodus.php @@ -45,6 +45,7 @@ public function exodus_actions() { 'woocommerce_buckaroo_postepay_settings', 'woocommerce_buckaroo_giftcard_settings', 'woocommerce_buckaroo_sofortbanking_settings', + 'woocommerce_buckaroo_blik_settings', 'woocommerce_buckaroo_belfius_settings', 'woocommerce_buckaroo_giropay_settings', 'woocommerce_buckaroo_sepadirectdebit_settings', diff --git a/gateway-buckaroo-blik.php b/gateway-buckaroo-blik.php new file mode 100644 index 000000000..93322551a --- /dev/null +++ b/gateway-buckaroo-blik.php @@ -0,0 +1,49 @@ +id = 'buckaroo_blik'; + $this->title = 'Blik'; + $this->has_fields = false; + $this->method_title = 'Buckaroo Blik'; + $this->setIcon( '24x24/blik.png', 'svg/blik.svg' ); + + parent::__construct(); + $this->addRefundSupport(); + } + + /** + * Can the order be refunded + * + * @param integer $order_id + * @param integer $amount defaults to null + * @param string $reason + * @return callable|string function or error + */ + public function process_refund( $order_id, $amount = null, $reason = '' ) { + return $this->processDefaultRefund( $order_id, $amount, $reason ); + } + + /** + * Process payment + * + * @param integer $order_id + * @return callable fn_buckaroo_process_response() + */ + public function process_payment( $order_id ) { + $order = getWCOrder( $order_id ); + /** @var BuckarooBelfius */ + $blik = $this->createDebitRequest( $order ); + + $response = $blik->Pay(); + + return fn_buckaroo_process_response( $this, $response ); + } +} diff --git a/library/api/paymentmethods/blik/blik.php b/library/api/paymentmethods/blik/blik.php new file mode 100644 index 000000000..66e2d2a16 --- /dev/null +++ b/library/api/paymentmethods/blik/blik.php @@ -0,0 +1,16 @@ +type = 'blik'; + $this->version = 0; + } +} diff --git a/library/api/paymentmethods/paymentrequestfactory.php b/library/api/paymentmethods/paymentrequestfactory.php index 896cf7477..5c2fea6de 100644 --- a/library/api/paymentmethods/paymentrequestfactory.php +++ b/library/api/paymentmethods/paymentrequestfactory.php @@ -19,6 +19,7 @@ class BuckarooPaymentRequestFactory { const REQUEST_TYPE_EMAESTRO = 'maestro'; const REQUEST_TYPE_SOFORTBANKING = 'sofortueberweisung'; const REQUEST_TYPE_BELFIUS = 'belfius'; + const REQUEST_TYPE_BLIK = 'blik'; const REQUEST_TYPE_GIFTCARD = 'giftcard'; const REQUEST_TYPE_CREDITCARD = 'creditcard'; const REQUEST_TYPE_TRANSFER = 'transfer'; @@ -35,6 +36,7 @@ class BuckarooPaymentRequestFactory { self::REQUEST_TYPE_EMAESTRO => 'EMaestro', self::REQUEST_TYPE_SOFORTBANKING => 'Sofortbanking', self::REQUEST_TYPE_BELFIUS => 'Belfius', + self::REQUEST_TYPE_BLIK => 'Blik', self::REQUEST_TYPE_GIFTCARD => 'GiftCard', self::REQUEST_TYPE_CREDITCARD => 'CreditCard', self::REQUEST_TYPE_TRANSFER => 'Transfer', diff --git a/library/buckaroo_images/24x24/blik.png b/library/buckaroo_images/24x24/blik.png new file mode 100644 index 0000000000000000000000000000000000000000..f3795bb9db3980baf9f8b139e567355eaa98c7e8 GIT binary patch literal 3712 zcmaJ^c|25m8$V;GRFtI!)1Xje77Q~?k+Do!vLsQMm5DK$8D<7aQb|Hlp)83k*%f7J zXhD~3B_bKzF3FmZEWM*!_kI7kpZA>4IltvR-{<*0+voE;mk!%m$;xb#0RTW2Z;f*l zj$XpYT1rCrmiC?|35Tt03s<%igUaR*m=wT_%pg+0csjwG;z%Kod8b}dOaMSMlIHBn zcD1#^kQj7b!kUaOmmVNQ1AxhXZUBMgOJReF6mOb87BW@Mhk$8hEaa$xE!;N1oZ>^X z4rWrEg6*71!M-Fk8M1#L*o2D_Dxg!?1TdHG=g-1$v5=p7F~a%UHVgv(DZ=)}LjES@ zYI_)L&R|l&Xk9pz1c$@HhG<=cA%cW7q!NgG!ALj~34_XafY4Kp-Naa3g&()QDn8g_02jBoRe~QxSU9-+KNHZ>WF39Byca zgBuu_BM=sr2aHgt14c-+#Q_5Z9F8;mjm7)3*aUwP<+p8`(DpB^`TxaY%$XDdo56Hu zF#LWO!eJiK&dizHJAQ&^;o$V)~vweJX-l zVn~MB`VJ-J9y7Z%bUH;ZkR6?A{$eBTV_V2{KxW5Pf^TQmrNOO?fhVcKb7LRBELPC_ zM&CbXRe|rVlGbM@UXVwp#J^JYurjso-}Aw{@oi_%k5K!d>e~9b9J|!ad$zZ#z8ZSB z?g*YAPwtM?+_kGSN=}_U;^OA^{Rcf_mrassDkhM*XtHO|<<>OpXOSUK5^2%V?l>caJ+s&}ml5%}`@_O?KczLqF z+HXBb+8hD8t0QkPIyRqoZu3hAx2%FyrbTm)FMVZC*Ye_ObtK<-X_^fS+s|m2D)M{* z8EviiJjs=8deB{Q$-D06=c3TLrMDKEonk&OQGOxf-A(e86lr8tmx-**fbY@+W1TUV zstu#93!{})HD+pM3&;e(b4eBh3Ki6-czB+_a5(Gkaq+6cG%@#c3kuM_ts($@*(@Bk zA`uCw-7QR8Rnp9e+`Dvd|#X)d;|VnN`(B8Le;PK&>M!>atpqJrk~RBXHC7S5E- zx-&hmie#mw2|9X;jI;8u`i>IMZ4-Zdc}GKPOJ)r0yEZ`rt*(Z{J#@y~4`j`ImNCwZ;XbyZW;Xc#Kg1=tf zqK)^IZc$M9h&&sow%^gxQi9%7a+b+rZ7(3!ro=jk6rHHH?62l!ww_UuC6XWrRJfNV;fvcyw3JbxmWn%?^<3V1`jvL9>nAC zeEGuM*<&ef`Xji*35SbZ2S@I*z9Jia1~R?V)mdmcD8=d6aoe~EGG$s&&z|~#J!owW zhq}p0*A*8O_#HMzb}}3tmz}&3dGTWT7%eok zW-ugAr6i|fgJ#Y7Hiyau=XFC9DF(g`Hc8e+o_xD<>MLRfY2R%?lq(SjP(>BW1BRYU zk5m{iVaG(i_Ez~8`p&`A4IzRqS|I`q!A9YjrMCSQ*N@e0=0<&vMf`rtZ70WjXvM)Ag zFV2pXPe?WP)bLpIU#0KlT3<^@IA;8{@X5{H@#Nkw^GKFpWrGSP(WU6P_BdlzXJRg@ME3?7`H=zCMmVNho+HhY$lFE#5<-;|b@Yp)9Q zb*o})Z|A3NQB>?q)OH$OUYzyw@QG9LYM(UjdIR4gn420%e`i%7vwpqCv{g*{zSEgo z^{6G}Y;(zO&$^+R;ogV7?^>@GR&7IE9{ckkTlT=KmkGN+haEkB+(uYFSm`B`5%aJ2TVhX$_!U@kVNG}-$ zf7KFI%Xr4%$;~7Ui{eBY#WK*-%DLY$lO=X(CfY4orH4$z3r-we0wt>q=M`2vDJt(b zZ5%q;m4CgQ`T256m1s$@8Ib6m8XTQ;T%*QPBSG@pHN7Y)Q@oi*)WS`eXR8bUs9fAJ zg3qyI$&&!#M`?8b**5j{96_@QZ}zBaz-ar<;ML{FCFzvr8>P=3YOO`=>R#vA2TB?; z|Fj;dU~{lzI>BEi`;9;8w9Q6N zNv3b(mF-s8koh;Ys*=@@isNTMt4*R@ty=C3u`2NMjgs6)fuCIzCumEuQ5zp|XCT#& zwW50}8EPy?*`X8S&g9rVE(M$HLRY@ewNx-iR9YOx8p3Dlia))~FgxeUyp&;9%;5h8 zQhr}bYV`U3^;6Zr!bIOqbh#4DqrI<^k^FkB_u-yuI}PC(ko{xz^bNJ9MApMyFPhGR zk|mMtnVFCq0asM9Zc3sWu{<8n`S9V4kgzTW5AcsY_vk(KvWvq=Yigc-`o1knN+XJ) z8UaR(KlHrQYIx=mEyIrQ+%^T#-Q2c?WajMd=;$Z_cV{0`a+#7z+9;S=en5L|qS#9& zcVt?O6C~=o-yVq=6n(H#B9=D8)M>V6Wj{T7N& z6jU+>(t0cC%~1x`H3D1rz>pS&#d=|zMRsSf`wQI-UBV2lBNh;QiNtUTJ$4K6{R7@re>Piw=sejT)s-Pc4httxG4g?~rp#aMST)~f7)QEy6VwL5iRoKTk^XT*8@0b613?s6P#)9+3t&=`SjXWw{%P*>;-M#l6*) ziUwxY%z%S2PPvo(t`ZH?3ce~!GA?5JR) '', 'process_refund' => '', ), + 'blik' => array( + 'process_payment' => '', + 'process_capture' => '', + 'process_refund' => '', + ), 'transfer' => array( 'process_payment' => '', 'process_capture' => '', diff --git a/readme.txt b/readme.txt index 18b458784..c53061fd7 100644 --- a/readme.txt +++ b/readme.txt @@ -41,6 +41,7 @@ Payment method support list: 22.Multibanco 23.MB Way 24.Knaken Settle +24.Blik == Installation == From ab087dc94cc0ab11dc6086a8ac272dfb628c3ca1 Mon Sep 17 00:00:00 2001 From: "v.carkaxhija" Date: Thu, 11 Jul 2024 10:28:18 +0200 Subject: [PATCH 13/51] remove meta-boxes --- includes/admin/class-wc-admin-meta-boxes.php | 126 - includes/admin/class-wc-admin-post-types.php | 61 - includes/admin/class-wc-admin.php | 41 - .../class-wc-meta-box-order-capture.php | 50 - .../views/html-order-capture-blocked.php | 12 - .../meta-boxes/views/html-order-capture.php | 518 --- .../meta-boxes/views/html-order-captured.php | 54 - .../admin/meta-boxes/views/html-order-fee.php | 85 - .../meta-boxes/views/html-order-item-meta.php | 65 - .../meta-boxes/views/html-order-item.php | 181 - .../meta-boxes/views/html-order-shipping.php | 110 - includes/class-buckaroo.php | 101 - includes/class-wc-ajax.php | 2917 ----------------- index.php | 20 - 14 files changed, 4341 deletions(-) delete mode 100755 includes/admin/class-wc-admin-meta-boxes.php delete mode 100755 includes/admin/class-wc-admin-post-types.php delete mode 100755 includes/admin/class-wc-admin.php delete mode 100755 includes/admin/meta-boxes/class-wc-meta-box-order-capture.php delete mode 100644 includes/admin/meta-boxes/views/html-order-capture-blocked.php delete mode 100755 includes/admin/meta-boxes/views/html-order-capture.php delete mode 100644 includes/admin/meta-boxes/views/html-order-captured.php delete mode 100755 includes/admin/meta-boxes/views/html-order-fee.php delete mode 100755 includes/admin/meta-boxes/views/html-order-item-meta.php delete mode 100755 includes/admin/meta-boxes/views/html-order-item.php delete mode 100755 includes/admin/meta-boxes/views/html-order-shipping.php delete mode 100755 includes/class-buckaroo.php delete mode 100755 includes/class-wc-ajax.php diff --git a/includes/admin/class-wc-admin-meta-boxes.php b/includes/admin/class-wc-admin-meta-boxes.php deleted file mode 100755 index 141f260bb..000000000 --- a/includes/admin/class-wc-admin-meta-boxes.php +++ /dev/null @@ -1,126 +0,0 @@ -'; - - foreach ( $errors as $error ) { - echo '

' . wp_kses_post( $error ) . '

'; - } - - echo ''; - - // Clear - delete_option( 'woocommerce_meta_box_errors' ); - } - } - - /** - * Add WC Meta boxes. - */ - public function add_meta_boxes( $post ) { - $screen = get_current_screen(); - $order = wc_get_order( $post->ID ); - if ( $order->get_payment_method() === 'buckaroo_klarnakp' ) { - return; - } - // Orders. - foreach ( wc_get_order_types( 'order-meta-boxes' ) as $type ) { - $order_type_object = get_post_type_object( $type ); - add_meta_box( 'buckaroo-order-capture', __( 'Capture order', 'woocommerce' ), 'BK_Meta_Box_Order_Items::output', $type, 'normal', 'low' ); - } - } -} - -new BK_Admin_Meta_Boxes(); diff --git a/includes/admin/class-wc-admin-post-types.php b/includes/admin/class-wc-admin-post-types.php deleted file mode 100755 index 9b55f4e7d..000000000 --- a/includes/admin/class-wc-admin-post-types.php +++ /dev/null @@ -1,61 +0,0 @@ -ID ), wc_get_order_types( 'order-meta-boxes' ), true ) ) { - wp_dequeue_script( 'autosave' ); - } - } - - /** - * Hidden default Meta-Boxes. - * - * @param array $hidden Hidden boxes. - * @param object $screen Current screen. - * @return array - */ - public function hidden_meta_boxes( $hidden, $screen ) { - if ( 'product' === $screen->post_type && 'post' === $screen->base ) { - $hidden = array_merge( $hidden, array( 'postcustom' ) ); - } - - return $hidden; - } -} - -new BK_Admin_Post_Types(); diff --git a/includes/admin/class-wc-admin.php b/includes/admin/class-wc-admin.php deleted file mode 100755 index 6ac2bf84a..000000000 --- a/includes/admin/class-wc-admin.php +++ /dev/null @@ -1,41 +0,0 @@ -ID; - } - - if ( ! is_object( $theorder ) ) { - $theorder = wc_get_order( $thepostid ); - } - - $order = $theorder; - $data = get_post_meta( $post->ID ); - - if ( get_post_meta( $order->get_id(), '_wc_order_authorized', true ) ) { - include 'views/html-order-capture.php'; - } else { - include 'views/html-order-capture-blocked.php'; - } - } - - /** - * Save meta box data. - * - * @param int $post_id - */ - public static function save( $post_id ) { - /** - * This $_POST variable's data has been validated and escaped - * inside `wc_save_order_items()` function. - */ - wc_save_order_items( $post_id, $_POST ); - } -} diff --git a/includes/admin/meta-boxes/views/html-order-capture-blocked.php b/includes/admin/meta-boxes/views/html-order-capture-blocked.php deleted file mode 100644 index ebf2bbf67..000000000 --- a/includes/admin/meta-boxes/views/html-order-capture-blocked.php +++ /dev/null @@ -1,12 +0,0 @@ - -

Payment method does not support captures

\ No newline at end of file diff --git a/includes/admin/meta-boxes/views/html-order-capture.php b/includes/admin/meta-boxes/views/html-order-capture.php deleted file mode 100755 index 75ca99593..000000000 --- a/includes/admin/meta-boxes/views/html-order-capture.php +++ /dev/null @@ -1,518 +0,0 @@ -get_items( apply_filters( 'woocommerce_admin_order_item_types', 'line_item' ) ); -$discounts = $order->get_items( 'discount' ); -$line_items_fee = $order->get_items( 'fee' ); -$line_items_shipping = $order->get_items( 'shipping' ); - -if ( wc_tax_enabled() ) { - $order_taxes = $order->get_taxes(); - $tax_classes = WC_Tax::get_tax_classes(); - $classes_options = wc_get_product_tax_class_options(); - $show_tax_columns = count( $order_taxes ) === 1; -} -?> - - - -
- - - - - - - - - $tax_item ) : - $tax_class = wc_get_tax_class_by_tax_id( $tax_item['rate_id'] ); - $tax_class_name = isset( $classes_options[ $tax_class ] ) ? $classes_options[ $tax_class ] : __( 'Tax', 'woocommerce' ); - $column_label = ! empty( $tax_item['label'] ) ? $tax_item['label'] : __( 'Tax', 'woocommerce' ); - /* translators: %1$s: tax item name %2$s: tax class name */ - $column_tip = sprintf( esc_html__( '%1$s (%2$s)', 'woocommerce' ), $tax_item['name'], $tax_class_name ); - ?> - - - - - - - get_id(), '_wc_order_captures' ) ? get_post_meta( $order->get_id(), '_wc_order_captures' ) : false; - - foreach ( $line_items as $item_id => $item ) { - do_action( 'woocommerce_before_order_item_' . $item->get_type() . '_html', $item_id, $item, $order ); - - include 'html-order-item.php'; - - do_action( 'woocommerce_order_item_' . $item->get_type() . '_html', $item_id, $item, $order ); - } - - do_action( 'woocommerce_admin_order_items_after_line_items', $order->get_id() ); - ?> - - - - - - shipping() ? WC()->shipping()->load_shipping_methods() : array(); - foreach ( $line_items_shipping as $item_id => $item ) { - include 'html-order-shipping.php'; - } - do_action( 'woocommerce_admin_order_items_after_shipping', $order->get_id() ); - ?> - - - - $item ) { - include 'html-order-fee.php'; - } - do_action( 'woocommerce_admin_order_items_after_fees', $order->get_id() ); - ?> - - - - - - - - - get_id() ); - } - ?> - - -
- - - -  
 
 
- -
 
-
-
- get_items( 'coupon' ); - if ( $coupons ) : - ?> -
-
    -
  • - $item ) : - $cp_post_id = $wpdb->get_var( $wpdb->prepare( "SELECT ID FROM {$wpdb->posts} WHERE post_title = %s AND post_type = 'shop_coupon' AND post_status = 'publish' LIMIT 1;", $item->get_code() ) ); // phpcs:disable WordPress.WP.GlobalVariablesOverride.OverrideProhibited - $class = $order->is_editable() ? 'code editable' : 'code'; - ?> -
  • - - $cp_post_id, - 'action' => 'edit', - ), - admin_url( 'post.php' ) - ), - $item, - $order - ); - ?> - - get_code() ); ?> - - - - get_code() ); ?> - - - is_editable() ) : ?> - - -
  • - -
-
- - - get_total_discount() ) : ?> - - - - - - - - get_id() ); ?> - - get_shipping_methods() ) : ?> - - - - - - - - get_id() ); ?> - - - get_tax_totals() as $code => $tax_total ) : ?> - - - - - - - - - get_id() ); ?> - - - - - - - - get_id() ); ?> - - - - - - - - - - get_id() ); ?> - -
- get_total_discount(), array( 'currency' => $order->get_currency() ) ) ); ?> -
- 0 ) { - echo '' . wp_kses_post( wc_price( $order->get_shipping_total(), array( 'currency' => $order->get_currency() ) ) ) . ' ' . wp_kses_post( wc_price( $order->get_shipping_total() - $captured, array( 'currency' => $order->get_currency() ) ) ) . ''; - } else { - echo wp_kses_post( wc_price( $order->get_shipping_total(), array( 'currency' => $order->get_currency() ) ) ); - } - ?> -
label ); ?>: - 0 ) { - echo '' . wp_kses_post( $tax_total->formatted_amount ) . ' ' . wp_kses_post( wc_price( roundAmount( $tax_total->amount ) - roundAmount( $captured ), array( 'currency' => $order->get_currency() ) ) ) . ''; - } else { - echo wp_kses_post( $tax_total->formatted_amount ); - } - ?> -
: - get_formatted_order_total() ); ?> -
:- $order->get_currency() ) ) ); ?>
-
-
-
-

- get_total() - $amountAlreadyCaptured || 0 < absint( $order->get_item_count() - $order->get_item_count_captured() ) ) : - ?> - - - - -

-
- -get_id(), '_wc_order_amount_captured', true ) ? (float) str_replace( ',', '.', get_post_meta( $order->get_id(), '_wc_order_amount_captured', true ) ) : 0; - -if ( $order->get_total() - $amountAlreadyCaptured > 0 ) : - - ?> - - - - - - diff --git a/includes/admin/meta-boxes/views/html-order-captured.php b/includes/admin/meta-boxes/views/html-order-captured.php deleted file mode 100644 index 7437c5cd4..000000000 --- a/includes/admin/meta-boxes/views/html-order-captured.php +++ /dev/null @@ -1,54 +0,0 @@ - - -
- - - - - - -   -   - - -
- $singleCapture['currency'] ) ) - ); - ?> -
- - - - - - - - - -
- -
- - diff --git a/includes/admin/meta-boxes/views/html-order-fee.php b/includes/admin/meta-boxes/views/html-order-fee.php deleted file mode 100755 index d39937e6a..000000000 --- a/includes/admin/meta-boxes/views/html-order-fee.php +++ /dev/null @@ -1,85 +0,0 @@ - - -
- - -
- get_name() ? $item->get_name() : __( 'Fee', 'woocommerce' ) ); ?> -
- - - - - - -   -   - - -
- get_total(), array( 'currency' => $order->get_currency() ) ) ); - - if ( $refunded = $order->get_total_refunded_for_item( $item_id, 'fee' ) ) { - echo '-' . wp_kses_post( wc_price( $refunded, array( 'currency' => $order->get_currency() ) ) ) . ''; - } - ?> -
- - - - - get_taxes() ) && wc_tax_enabled() ) { - foreach ( $order_taxes as $tax_item ) { - $tax_item_id = $tax_item->get_rate_id(); - $tax_item_total = isset( $tax_data['total'][ $tax_item_id ] ) ? $tax_data['total'][ $tax_item_id ] : ''; - ?> - -
- $order->get_currency() ) ) ) : '–'; - - if ( $refunded = $order->get_tax_refunded_for_item( $item_id, $tax_item_id, 'fee' ) ) { - echo '-' . wp_kses_post( wc_price( $refunded, array( 'currency' => $order->get_currency() ) ) ) . ''; - } - ?> -
- - - - - - is_editable() ) : ?> -
- -
- - - diff --git a/includes/admin/meta-boxes/views/html-order-item-meta.php b/includes/admin/meta-boxes/views/html-order-item-meta.php deleted file mode 100755 index ceb33b450..000000000 --- a/includes/admin/meta-boxes/views/html-order-item-meta.php +++ /dev/null @@ -1,65 +0,0 @@ -
- get_formatted_meta_data( '' ) ) : ?> - - $meta ) : - if ( in_array( $meta->key, $hidden_order_itemmeta, true ) ) { - continue; - } - ?> - - - - - -
display_key ); ?>:display_value ) ); ?>
- -
- diff --git a/includes/admin/meta-boxes/views/html-order-item.php b/includes/admin/meta-boxes/views/html-order-item.php deleted file mode 100755 index 4fe2a7f79..000000000 --- a/includes/admin/meta-boxes/views/html-order-item.php +++ /dev/null @@ -1,181 +0,0 @@ -get_product(); -$product_link = $product ? admin_url( 'post.php?post=' . $item->get_product_id() . '&action=edit' ) : ''; -$thumbnail = $product ? apply_filters( 'woocommerce_admin_order_item_thumbnail', $product->get_image( 'thumbnail', array( 'title' => '' ), false ), $item_id, $item ) : ''; -$row_class = apply_filters( 'woocommerce_admin_html_order_item_class', ! empty( $class ) ? $class : '', $item, $order ); -?> - - - ' . wp_kses_post( $thumbnail ) . ''; ?> - - - ' . wp_kses_post( $item->get_name() ) . '' : '
' . wp_kses_post( $item->get_name() ) . '
'; - - if ( $product && $product->get_sku() ) { - echo '
' . esc_html__( 'SKU:', 'woocommerce' ) . ' ' . esc_html( $product->get_sku() ) . '
'; - } - - if ( $item->get_variation_id() ) { - echo '
' . esc_html__( 'Variation ID:', 'woocommerce' ) . ' '; - if ( 'product_variation' === get_post_type( $item->get_variation_id() ) ) { - echo esc_html( $item->get_variation_id() ); - } else { - /* translators: %s: variation id */ - printf( esc_html__( '%s (No longer exists)', 'woocommerce' ), esc_html( $item->get_variation_id() ) ); - } - echo '
'; - } - ?> - - - - - - - - - - - -
- get_item_total( $item, false, true ), array( 'currency' => $order->get_currency() ) ) ); - ?> -
- - -
- × ' . esc_html( $item->get_quantity() ); - - $captured_qty = 0; - $amountLeft = $item->get_quantity(); - - if ( $captures != false ) { - - foreach ( $captures as $capture ) { - $itemsCaptureedArray = json_decode( $capture['line_item_qtys'], true ); - - if ( array_key_exists( $item_id, $itemsCaptureedArray ) ) { - $captured_qty += $itemsCaptureedArray[ $item_id ]; - } - } - - $amountLeft = $item->get_quantity() - $captured_qty; - } - - if ( $captured_qty ) { - echo ' (-' . esc_html( $captured_qty * 1 ) . ')'; - } - ?> -
- - - - -
- get_total(), array( 'currency' => $order->get_currency() ) ) ); - - if ( $item->get_subtotal() !== $item->get_total() ) { - /* translators: %s: discount amount */ - echo '' . sprintf( esc_html__( '%s discount', 'woocommerce' ), wp_kses_post( wc_price( wc_format_decimal( $item->get_subtotal() - $item->get_total() ), '' ), array( 'currency' => $order->get_currency() ) ) ) . ''; - } - - $captured = false; - - if ( $captured ) { - echo '-' . wp_kses_post( wc_price( $captured, array( 'currency' => $order->get_currency() ) ) ) . ''; - } - ?> -
- - - - - get_taxes() : false; - - if ( $tax_data ) { - foreach ( $order_taxes as $tax_item ) { - $tax_item_id = $tax_item->get_rate_id(); - $tax_item_total = isset( $tax_data['total'][ $tax_item_id ] ) ? $tax_data['total'][ $tax_item_id ] : ''; - $tax_item_subtotal = isset( $tax_data['subtotal'][ $tax_item_id ] ) ? $tax_data['subtotal'][ $tax_item_id ] : ''; - ?> - -
- $order->get_currency() ) ) ); - } else { - echo '–'; - } - - $captured = false; - - if ( $captured ) { - echo '-' . esc_hwp_kses_posttml( wc_price( $captured, array( 'currency' => $order->get_currency() ) ) ) . ''; - } - ?> -
- - - - - -
- is_editable() ) : ?> - - -
- - diff --git a/includes/admin/meta-boxes/views/html-order-shipping.php b/includes/admin/meta-boxes/views/html-order-shipping.php deleted file mode 100755 index 70df132ae..000000000 --- a/includes/admin/meta-boxes/views/html-order-shipping.php +++ /dev/null @@ -1,110 +0,0 @@ - - -
- - -
- get_name() ? $item->get_name() : __( 'Shipping', 'woocommerce' ) ); ?> -
- - - - - - - - - -   -   - - -
- get_total(), array( 'currency' => $order->get_currency() ) ) ); - $captured = false; - if ( $captured ) { - echo '-' . wp_kses_post( wc_price( $captured, array( 'currency' => $order->get_currency() ) ) ) . ''; - } - ?> -
- - - - - get_taxes() ) && wc_tax_enabled() ) { - foreach ( $order_taxes as $tax_item ) { - $tax_item_id = $tax_item->get_rate_id(); - $tax_item_total = isset( $tax_data['total'][ $tax_item_id ] ) ? $tax_data['total'][ $tax_item_id ] : ''; - ?> - -
- $order->get_currency() ) ) ) : '–'; - $captured = false; - if ( $captured ) { - echo '-' . wp_kses_post( wc_price( $captured, array( 'currency' => $order->get_currency() ) ) ) . ''; - } - ?> -
- - - - - - is_editable() ) : ?> -
- -
- - - diff --git a/includes/class-buckaroo.php b/includes/class-buckaroo.php deleted file mode 100755 index 065fa873d..000000000 --- a/includes/class-buckaroo.php +++ /dev/null @@ -1,101 +0,0 @@ -define_constants(); - $this->includes(); - } - - /** - * Main Buckaroo Instance. - * - * Ensures only one instance of Buckaroo is loaded or can be loaded. - * - * @since 2.1 - * @static - * @return Buckaroo - Main instance. - */ - public static function instance() { - if ( is_null( self::$_instance ) ) { - self::$_instance = new self(); - } - return self::$_instance; - } - - /** - * Include required core files used in admin and on the frontend. - */ - public function includes() { - - include_once BK_ABSPATH . 'includes/class-wc-ajax.php'; - - if ( $this->is_request( 'admin' ) ) { - include_once BK_ABSPATH . 'includes/admin/class-wc-admin.php'; - } - } - - /** - * Define Buckaroo Constants. - */ - private function define_constants() { - - $this->define( 'BK_ABSPATH', dirname( BK_PLUGIN_FILE ) . '/' ); - } - - /** - * Define constant if not already set. - * - * @param string $name Constant name. - * @param string|bool $value Constant value. - */ - private function define( $name, $value ) { - if ( ! defined( $name ) ) { - define( $name, $value ); - } - } - - /** - * What type of request is this? - * - * @param string $type admin, ajax, cron or frontend. - * @return bool - */ - private function is_request( $type ) { - - switch ( $type ) { - case 'admin': - return is_admin(); - case 'ajax': - return defined( 'DOING_AJAX' ); - case 'cron': - return defined( 'DOING_CRON' ); - case 'frontend': - return ( ! is_admin() || defined( 'DOING_AJAX' ) ) && ! defined( 'DOING_CRON' ) && ! $this->is_rest_api_request(); - } - } -} diff --git a/includes/class-wc-ajax.php b/includes/class-wc-ajax.php deleted file mode 100755 index 53ac6a36c..000000000 --- a/includes/class-wc-ajax.php +++ /dev/null @@ -1,2917 +0,0 @@ -hide_errors(); - } - // phpcs:enable - } - - /** - * Send headers for WC Ajax Requests. - * - * @since 2.5.0 - */ - private static function wc_ajax_headers() { - if ( ! headers_sent() ) { - send_origin_headers(); - send_nosniff_header(); - wc_nocache_headers(); - header( 'Content-Type: text/html; charset=' . get_option( 'blog_charset' ) ); - header( 'X-Robots-Tag: noindex' ); - status_header( 200 ); - } elseif ( defined( 'WP_DEBUG' ) && WP_DEBUG ) { - headers_sent( $file, $line ); - trigger_error( "wc_ajax_headers cannot set headers - headers already sent by {$file} on line {$line}", E_USER_NOTICE ); // @codingStandardsIgnoreLine - } - } - - /** - * Check for WC Ajax request and fire action. - */ - public static function do_wc_ajax() { - global $wp_query; - - // phpcs:disable WordPress.Security.NonceVerification.NoNonceVerification - if ( ! empty( $_GET['wc-ajax'] ) ) { - $wp_query->set( 'wc-ajax', sanitize_text_field( wp_unslash( $_GET['wc-ajax'] ) ) ); - } - - $action = $wp_query->get( 'wc-ajax' ); - - if ( $action ) { - self::wc_ajax_headers(); - $action = sanitize_text_field( $action ); - do_action( 'wc_ajax_' . $action ); - wp_die(); - } - // phpcs:enable - } - - /** - * Hook in methods - uses WordPress ajax handlers (admin-ajax). - */ - public static function add_ajax_events() { - $ajax_events_nopriv = array( - 'get_refreshed_fragments', - 'apply_coupon', - 'remove_coupon', - 'update_shipping_method', - 'get_cart_totals', - 'update_order_review', - 'add_to_cart', - 'remove_from_cart', - 'checkout', - 'get_variation', - 'get_customer_location', - ); - - foreach ( $ajax_events_nopriv as $ajax_event ) { - add_action( 'wp_ajax_woocommerce_' . $ajax_event, array( __CLASS__, $ajax_event ) ); - add_action( 'wp_ajax_nopriv_woocommerce_' . $ajax_event, array( __CLASS__, $ajax_event ) ); - - // WC AJAX can be used for frontend ajax requests. - add_action( 'wc_ajax_' . $ajax_event, array( __CLASS__, $ajax_event ) ); - } - - $ajax_events = array( - 'capture_line_items', - ); - - foreach ( $ajax_events as $ajax_event ) { - add_action( 'wp_ajax_woocommerce_' . $ajax_event, array( __CLASS__, $ajax_event ) ); - } - } - - /** - * Get a refreshed cart fragment, including the mini cart HTML. - */ - public static function get_refreshed_fragments() { - ob_start(); - - woocommerce_mini_cart(); - - $mini_cart = ob_get_clean(); - - if ( method_exists( WC()->cart, 'get_cart_hash' ) ) { - $cart_hash = WC()->cart->get_cart_hash(); - } else { - $cart_hash = apply_filters( 'woocommerce_add_to_cart_hash', WC()->cart->get_cart_for_session() ? md5( json_encode( WC()->cart->get_cart_for_session() ) ) : '', WC()->cart->get_cart_for_session() ); - } - - $data = array( - 'fragments' => apply_filters( - 'woocommerce_add_to_cart_fragments', - array( - 'div.widget_shopping_cart_content' => '
' . $mini_cart . '
', - ) - ), - 'cart_hash' => $cart_hash, - ); - - wp_send_json( $data ); - } - - /** - * AJAX apply coupon on checkout page. - */ - public static function apply_coupon() { - - check_ajax_referer( 'apply-coupon', 'security' ); - - if ( ! empty( $_POST['coupon_code'] ) ) { - WC()->cart->add_discount( wc_format_coupon_code( wp_unslash( $_POST['coupon_code'] ) ) ); - } else { - wc_add_notice( WC_Coupon::get_generic_coupon_error( WC_Coupon::E_WC_COUPON_PLEASE_ENTER ), 'error' ); - } - - wc_print_notices(); - wp_die(); - } - - /** - * AJAX remove coupon on cart and checkout page. - */ - public static function remove_coupon() { - check_ajax_referer( 'remove-coupon', 'security' ); - - $coupon = isset( $_POST['coupon'] ) ? wc_format_coupon_code( wp_unslash( $_POST['coupon'] ) ) : false; - - if ( empty( $coupon ) ) { - wc_add_notice( __( 'Sorry there was a problem removing this coupon.', 'woocommerce' ), 'error' ); - } else { - WC()->cart->remove_coupon( $coupon ); - wc_add_notice( __( 'Coupon has been removed.', 'woocommerce' ) ); - } - - wc_print_notices(); - wp_die(); - } - - /** - * AJAX update shipping method on cart page. - */ - public static function update_shipping_method() { - check_ajax_referer( 'update-shipping-method', 'security' ); - - wc_maybe_define_constant( 'WOOCOMMERCE_CART', true ); - - self::setChosenShippingMethods(); - - self::get_cart_totals(); - } - - private static function setChosenShippingMethods() { - $chosen_shipping_methods = WC()->session->get( 'chosen_shipping_methods' ); - $posted_shipping_methods = isset( $_POST['shipping_method'] ) ? wc_clean( wp_unslash( $_POST['shipping_method'] ) ) : array(); - - if ( is_array( $posted_shipping_methods ) ) { - foreach ( $posted_shipping_methods as $i => $value ) { - $chosen_shipping_methods[ $i ] = $value; - } - } - - WC()->session->set( 'chosen_shipping_methods', $chosen_shipping_methods ); - } - - /** - * AJAX receive updated cart_totals div. - */ - public static function get_cart_totals() { - wc_maybe_define_constant( 'WOOCOMMERCE_CART', true ); - WC()->cart->calculate_totals(); - woocommerce_cart_totals(); - wp_die(); - } - - /** - * Session has expired. - */ - private static function update_order_review_expired() { - wp_send_json( - array( - 'fragments' => apply_filters( - 'woocommerce_update_order_review_fragments', - array( - 'form.woocommerce-checkout' => '
' . __( 'Sorry, your session has expired.', 'woocommerce' ) . ' ' . __( 'Return to shop', 'woocommerce' ) . '
', - ) - ), - ) - ); - } - - /** - * AJAX update order review on checkout. - */ - public static function update_order_review() { - check_ajax_referer( 'update-order-review', 'security' ); - - wc_maybe_define_constant( 'WOOCOMMERCE_CHECKOUT', true ); - - if ( WC()->cart->is_empty() && ! is_customize_preview() && apply_filters( 'woocommerce_checkout_update_order_review_expired', true ) ) { - self::update_order_review_expired(); - } - - do_action( 'woocommerce_checkout_update_order_review', isset( $_POST['post_data'] ) ? wp_unslash( $_POST['post_data'] ) : '' ); - - self::setChosenShippingMethods(); - WC()->session->set( 'chosen_payment_method', empty( $_POST['payment_method'] ) ? '' : wc_clean( wp_unslash( $_POST['payment_method'] ) ) ); - WC()->customer->set_props( - array( - 'billing_country' => isset( $_POST['country'] ) ? wc_clean( wp_unslash( $_POST['country'] ) ) : null, - 'billing_state' => isset( $_POST['state'] ) ? wc_clean( wp_unslash( $_POST['state'] ) ) : null, - 'billing_postcode' => isset( $_POST['postcode'] ) ? wc_clean( wp_unslash( $_POST['postcode'] ) ) : null, - 'billing_city' => isset( $_POST['city'] ) ? wc_clean( wp_unslash( $_POST['city'] ) ) : null, - 'billing_address_1' => isset( $_POST['address'] ) ? wc_clean( wp_unslash( $_POST['address'] ) ) : null, - 'billing_address_2' => isset( $_POST['address_2'] ) ? wc_clean( wp_unslash( $_POST['address_2'] ) ) : null, - ) - ); - - if ( wc_ship_to_billing_address_only() ) { - WC()->customer->set_props( - array( - 'shipping_country' => isset( $_POST['country'] ) ? wc_clean( wp_unslash( $_POST['country'] ) ) : null, - 'shipping_state' => isset( $_POST['state'] ) ? wc_clean( wp_unslash( $_POST['state'] ) ) : null, - 'shipping_postcode' => isset( $_POST['postcode'] ) ? wc_clean( wp_unslash( $_POST['postcode'] ) ) : null, - 'shipping_city' => isset( $_POST['city'] ) ? wc_clean( wp_unslash( $_POST['city'] ) ) : null, - 'shipping_address_1' => isset( $_POST['address'] ) ? wc_clean( wp_unslash( $_POST['address'] ) ) : null, - 'shipping_address_2' => isset( $_POST['address_2'] ) ? wc_clean( wp_unslash( $_POST['address_2'] ) ) : null, - ) - ); - } else { - WC()->customer->set_props( - array( - 'shipping_country' => isset( $_POST['s_country'] ) ? wc_clean( wp_unslash( $_POST['s_country'] ) ) : null, - 'shipping_state' => isset( $_POST['s_state'] ) ? wc_clean( wp_unslash( $_POST['s_state'] ) ) : null, - 'shipping_postcode' => isset( $_POST['s_postcode'] ) ? wc_clean( wp_unslash( $_POST['s_postcode'] ) ) : null, - 'shipping_city' => isset( $_POST['s_city'] ) ? wc_clean( wp_unslash( $_POST['s_city'] ) ) : null, - 'shipping_address_1' => isset( $_POST['s_address'] ) ? wc_clean( wp_unslash( $_POST['s_address'] ) ) : null, - 'shipping_address_2' => isset( $_POST['s_address_2'] ) ? wc_clean( wp_unslash( $_POST['s_address_2'] ) ) : null, - ) - ); - } - - if ( isset( $_POST['has_full_address'] ) && wc_string_to_bool( wc_clean( wp_unslash( $_POST['has_full_address'] ) ) ) ) { - WC()->customer->set_calculated_shipping( true ); - } else { - WC()->customer->set_calculated_shipping( false ); - } - - WC()->customer->save(); - - // Calculate shipping before totals. This will ensure any shipping methods that affect things like taxes are chosen prior to final totals being calculated. Ref: #22708. - WC()->cart->calculate_shipping(); - WC()->cart->calculate_totals(); - - // Get order review fragment. - ob_start(); - woocommerce_order_review(); - $woocommerce_order_review = ob_get_clean(); - - // Get checkout payment fragment. - ob_start(); - woocommerce_checkout_payment(); - $woocommerce_checkout_payment = ob_get_clean(); - - // Get messages if reload checkout is not true. - $reload_checkout = isset( WC()->session->reload_checkout ) ? true : false; - if ( ! $reload_checkout ) { - $messages = wc_print_notices( true ); - } else { - $messages = ''; - } - - unset( WC()->session->refresh_totals, WC()->session->reload_checkout ); - - wp_send_json( - array( - 'result' => empty( $messages ) ? 'success' : 'failure', - 'messages' => $messages, - 'reload' => $reload_checkout ? 'true' : 'false', - 'fragments' => apply_filters( - 'woocommerce_update_order_review_fragments', - array( - '.woocommerce-checkout-review-order-table' => $woocommerce_order_review, - '.woocommerce-checkout-payment' => $woocommerce_checkout_payment, - ) - ), - ) - ); - } - - /** - * AJAX add to cart. - */ - public static function add_to_cart() { - ob_start(); - - // phpcs:disable WordPress.Security.NonceVerification.NoNonceVerification - if ( ! isset( $_POST['product_id'] ) ) { - return; - } - - $product_id = apply_filters( 'woocommerce_add_to_cart_product_id', absint( $_POST['product_id'] ) ); - $product = wc_get_product( $product_id ); - $quantity = empty( $_POST['quantity'] ) ? 1 : wc_stock_amount( wp_unslash( $_POST['quantity'] ) ); - $passed_validation = apply_filters( 'woocommerce_add_to_cart_validation', true, $product_id, $quantity ); - $product_status = get_post_status( $product_id ); - $variation_id = 0; - $variation = array(); - - if ( $product && 'variation' === $product->get_type() ) { - $variation_id = $product_id; - $product_id = $product->get_parent_id(); - $variation = $product->get_variation_attributes(); - } - - if ( $passed_validation && false !== WC()->cart->add_to_cart( $product_id, $quantity, $variation_id, $variation ) && 'publish' === $product_status ) { - - do_action( 'woocommerce_ajax_added_to_cart', $product_id ); - - if ( 'yes' === get_option( 'woocommerce_cart_redirect_after_add' ) ) { - wc_add_to_cart_message( array( $product_id => $quantity ), true ); - } - - self::get_refreshed_fragments(); - - } else { - - // If there was an error adding to the cart, redirect to the product page to show any errors. - $data = array( - 'error' => true, - 'product_url' => apply_filters( 'woocommerce_cart_redirect_after_error', get_permalink( $product_id ), $product_id ), - ); - - wp_send_json( $data ); - } - // phpcs:enable - } - - /** - * AJAX remove from cart. - */ - public static function remove_from_cart() { - ob_start(); - - $cart_item_key = wc_clean( isset( $_POST['cart_item_key'] ) ? wp_unslash( $_POST['cart_item_key'] ) : '' ); - - if ( $cart_item_key && false !== WC()->cart->remove_cart_item( $cart_item_key ) ) { - self::get_refreshed_fragments(); - } else { - wp_send_json_error(); - } - } - - /** - * Process ajax checkout form. - */ - public static function checkout() { - wc_maybe_define_constant( 'WOOCOMMERCE_CHECKOUT', true ); - WC()->checkout()->process_checkout(); - wp_die( 0 ); - } - - /** - * Get a matching variation based on posted attributes. - */ - public static function get_variation() { - ob_start(); - - // phpcs:disable WordPress.Security.NonceVerification.NoNonceVerification - if ( empty( $_POST['product_id'] ) ) { - wp_die(); - } - - $variable_product = wc_get_product( absint( $_POST['product_id'] ) ); - - if ( ! $variable_product ) { - wp_die(); - } - - $data_store = WC_Data_Store::load( 'product' ); - $variation_id = $data_store->find_matching_product_variation( $variable_product, wp_unslash( $_POST ) ); - $variation = $variation_id ? $variable_product->get_available_variation( $variation_id ) : false; - wp_send_json( $variation ); - // phpcs:enable - } - - /** - * Locate user via AJAX. - */ - public static function get_customer_location() { - $location_hash = WC_Cache_Helper::geolocation_ajax_get_location_hash(); - wp_send_json_success( array( 'hash' => $location_hash ) ); - } - - /** - * Toggle Featured status of a product from admin. - */ - public static function feature_product() { - if ( current_user_can( 'edit_products' ) && check_admin_referer( 'woocommerce-feature-product' ) && isset( $_GET['product_id'] ) ) { - $product = wc_get_product( absint( $_GET['product_id'] ) ); - - if ( $product ) { - $product->set_featured( ! $product->get_featured() ); - $product->save(); - } - } - - wp_safe_redirect( wp_get_referer() ? remove_query_arg( array( 'trashed', 'untrashed', 'deleted', 'ids' ), wp_get_referer() ) : admin_url( 'edit.php?post_type=product' ) ); - exit; - } - - /** - * Mark an order with a status. - */ - public static function mark_order_status() { - if ( current_user_can( 'edit_shop_orders' ) && check_admin_referer( 'woocommerce-mark-order-status' ) && isset( $_GET['status'], $_GET['order_id'] ) ) { - $status = sanitize_text_field( wp_unslash( $_GET['status'] ) ); - $order = wc_get_order( absint( wp_unslash( $_GET['order_id'] ) ) ); - - if ( wc_is_order_status( 'wc-' . $status ) && $order ) { - // Initialize payment gateways in case order has hooked status transition actions. - WC()->payment_gateways(); - - $order->update_status( $status, '', true ); - do_action( 'woocommerce_order_edit_status', $order->get_id(), $status ); - } - } - - wp_safe_redirect( wp_get_referer() ? wp_get_referer() : admin_url( 'edit.php?post_type=shop_order' ) ); - exit; - } - - /** - * Get order details. - */ - public static function get_order_details() { - check_admin_referer( 'woocommerce-preview-order', 'security' ); - - if ( ! current_user_can( 'edit_shop_orders' ) || ! isset( $_GET['order_id'] ) ) { - wp_die( -1 ); - } - - $order = wc_get_order( absint( $_GET['order_id'] ) ); // WPCS: sanitization ok. - - if ( $order ) { - include_once 'admin/list-tables/class-wc-admin-list-table-orders.php'; - - wp_send_json_success( WC_Admin_List_Table_Orders::order_preview_get_order_details( $order ) ); - } - wp_die(); - } - - /** - * Add an attribute row. - */ - public static function add_attribute() { - ob_start(); - - check_ajax_referer( 'add-attribute', 'security' ); - - if ( ! current_user_can( 'edit_products' ) || ! isset( $_POST['taxonomy'], $_POST['i'] ) ) { - wp_die( -1 ); - } - - $i = absint( $_POST['i'] ); - $metabox_class = array(); - $attribute = new WC_Product_Attribute(); - - $attribute->set_id( wc_attribute_taxonomy_id_by_name( sanitize_text_field( wp_unslash( $_POST['taxonomy'] ) ) ) ); - $attribute->set_name( sanitize_text_field( wp_unslash( $_POST['taxonomy'] ) ) ); - $attribute->set_visible( apply_filters( 'woocommerce_attribute_default_visibility', 1 ) ); - $attribute->set_variation( apply_filters( 'woocommerce_attribute_default_is_variation', 0 ) ); - - if ( $attribute->is_taxonomy() ) { - $metabox_class[] = 'taxonomy'; - $metabox_class[] = $attribute->get_name(); - } - - include 'admin/meta-boxes/views/html-product-attribute.php'; - wp_die(); - } - - /** - * Add a new attribute via ajax function. - */ - public static function add_new_attribute() { - check_ajax_referer( 'add-attribute', 'security' ); - - if ( current_user_can( 'manage_product_terms' ) && isset( $_POST['taxonomy'], $_POST['term'] ) ) { - $taxonomy = esc_attr( wp_unslash( $_POST['taxonomy'] ) ); - $term = wc_clean( wp_unslash( $_POST['term'] ) ); - - if ( taxonomy_exists( $taxonomy ) ) { - - $result = wp_insert_term( $term, $taxonomy ); - - if ( is_wp_error( $result ) ) { - wp_send_json( - array( - 'error' => $result->get_error_message(), - ) - ); - } else { - $term = get_term_by( 'id', $result['term_id'], $taxonomy ); - wp_send_json( - array( - 'term_id' => $term->term_id, - 'name' => $term->name, - 'slug' => $term->slug, - ) - ); - } - } - } - wp_die( -1 ); - } - - /** - * Delete variations via ajax function. - */ - public static function remove_variations() { - check_ajax_referer( 'delete-variations', 'security' ); - - if ( current_user_can( 'edit_products' ) && isset( $_POST['variation_ids'] ) ) { - $variation_ids = array_map( 'absint', (array) wp_unslash( $_POST['variation_ids'] ) ); - - foreach ( $variation_ids as $variation_id ) { - if ( 'product_variation' === get_post_type( $variation_id ) ) { - $variation = wc_get_product( $variation_id ); - $variation->delete( true ); - } - } - } - - wp_die( -1 ); - } - - /** - * Save attributes via ajax. - */ - public static function save_attributes() { - check_ajax_referer( 'save-attributes', 'security' ); - - if ( ! current_user_can( 'edit_products' ) || ! isset( $_POST['data'], $_POST['post_id'] ) ) { - wp_die( -1 ); - } - - $response = array(); - - try { - parse_str( wp_unslash( $_POST['data'] ), $data ); - - $attributes = WC_Meta_Box_Product_Data::prepare_attributes( $data ); - $product_id = absint( wp_unslash( $_POST['post_id'] ) ); - $product_type = ! empty( $_POST['product_type'] ) ? wc_clean( wp_unslash( $_POST['product_type'] ) ) : 'simple'; - $classname = WC_Product_Factory::get_product_classname( $product_id, $product_type ); - $product = new $classname( $product_id ); - - $product->set_attributes( $attributes ); - $product->save(); - - ob_start(); - $attributes = $product->get_attributes( 'edit' ); - $i = -1; - if ( ! empty( $data['attribute_names'] ) ) { - foreach ( $data['attribute_names'] as $attribute_name ) { - $attribute = isset( $attributes[ sanitize_title( $attribute_name ) ] ) ? $attributes[ sanitize_title( $attribute_name ) ] : false; - if ( ! $attribute ) { - continue; - } - ++$i; - $metabox_class = array(); - - if ( $attribute->is_taxonomy() ) { - $metabox_class[] = 'taxonomy'; - $metabox_class[] = $attribute->get_name(); - } - - include 'admin/meta-boxes/views/html-product-attribute.php'; - } - } - - $response['html'] = ob_get_clean(); - } catch ( Exception $e ) { - wp_send_json_error( array( 'error' => $e->getMessage() ) ); - } - - // wp_send_json_success must be outside the try block not to break phpunit tests. - wp_send_json_success( $response ); - } - - /** - * Add variation via ajax function. - */ - public static function add_variation() { - check_ajax_referer( 'add-variation', 'security' ); - - if ( ! current_user_can( 'edit_products' ) || ! isset( $_POST['post_id'], $_POST['loop'] ) ) { - wp_die( -1 ); - } - - // global $post; // Set $post global so its available, like within the admin screens. - - $product_id = intval( $_POST['post_id'] ); - $post = get_post( $product_id ); - $loop = intval( $_POST['loop'] ); - $product_object = new WC_Product_Variable( $product_id ); // Forces type to variable in case product is unsaved. - $variation_object = new WC_Product_Variation(); - $variation_object->set_parent_id( $product_id ); - $variation_object->set_attributes( array_fill_keys( array_map( 'sanitize_title', array_keys( $product_object->get_variation_attributes() ) ), '' ) ); - $variation_id = $variation_object->save(); - $variation = get_post( $variation_id ); - $variation_data = array_merge( get_post_custom( $variation_id ), wc_get_product_variation_attributes( $variation_id ) ); // kept for BW compatibility. - include 'admin/meta-boxes/views/html-variation-admin.php'; - wp_die(); - } - - /** - * Link all variations via ajax function. - */ - public static function link_all_variations() { - check_ajax_referer( 'link-variations', 'security' ); - - if ( ! current_user_can( 'edit_products' ) ) { - wp_die( -1 ); - } - - wc_maybe_define_constant( 'WC_MAX_LINKED_VARIATIONS', 49 ); - wc_set_time_limit( 0 ); - - $post_id = isset( $_POST['post_id'] ) ? intval( $_POST['post_id'] ) : 0; - - if ( ! $post_id ) { - wp_die(); - } - - $product = wc_get_product( $post_id ); - $attributes = wc_list_pluck( array_filter( $product->get_attributes(), 'wc_attributes_array_filter_variation' ), 'get_slugs' ); - - if ( ! empty( $attributes ) ) { - // Get existing variations so we don't create duplicates. - $existing_variations = array_map( 'wc_get_product', $product->get_children() ); - $existing_attributes = array(); - - foreach ( $existing_variations as $existing_variation ) { - $existing_attributes[] = $existing_variation->get_attributes(); - } - - $added = 0; - $possible_attributes = array_reverse( wc_array_cartesian( $attributes ) ); - - foreach ( $possible_attributes as $possible_attribute ) { - if ( in_array( $possible_attribute, $existing_attributes, true ) ) { - continue; - } - $variation = new WC_Product_Variation(); - $variation->set_parent_id( $post_id ); - $variation->set_attributes( $possible_attribute ); - - do_action( 'product_variation_linked', $variation->save() ); - - if ( ( $added++ ) > WC_MAX_LINKED_VARIATIONS ) { - break; - } - } - - echo esc_html( $added ); - } - - $data_store = $product->get_data_store(); - $data_store->sort_all_product_variations( $product->get_id() ); - wp_die(); - } - - /** - * Delete download permissions via ajax function. - */ - public static function revoke_access_to_download() { - check_ajax_referer( 'revoke-access', 'security' ); - - if ( ! current_user_can( 'edit_shop_orders' ) || ! isset( $_POST['download_id'], $_POST['product_id'], $_POST['order_id'], $_POST['permission_id'] ) ) { - wp_die( -1 ); - } - $download_id = wc_clean( wp_unslash( $_POST['download_id'] ) ); - $product_id = intval( $_POST['product_id'] ); - $order_id = intval( $_POST['order_id'] ); - $permission_id = absint( $_POST['permission_id'] ); - $data_store = WC_Data_Store::load( 'customer-download' ); - $data_store->delete_by_id( $permission_id ); - - do_action( 'woocommerce_ajax_revoke_access_to_product_download', $download_id, $product_id, $order_id, $permission_id ); - - wp_die(); - } - - /** - * Grant download permissions via ajax function. - */ - public static function grant_access_to_download() { - - check_ajax_referer( 'grant-access', 'security' ); - - if ( ! current_user_can( 'edit_shop_orders' ) || ! isset( $_POST['loop'], $_POST['order_id'], $_POST['product_ids'] ) ) { - wp_die( -1 ); - } - - global $wpdb; - - $wpdb->hide_errors(); - - $order_id = intval( $_POST['order_id'] ); - $product_ids = array_filter( array_map( 'absint', (array) wp_unslash( $_POST['product_ids'] ) ) ); - $loop = intval( $_POST['loop'] ); - $file_counter = 0; - $order = wc_get_order( $order_id ); - - foreach ( $product_ids as $product_id ) { - $product = wc_get_product( $product_id ); - $files = $product->get_downloads(); - - if ( ! $order->get_billing_email() ) { - wp_die(); - } - - if ( ! empty( $files ) ) { - foreach ( $files as $download_id => $file ) { - $inserted_id = wc_downloadable_file_permission( $download_id, $product_id, $order ); - if ( $inserted_id ) { - $download = new WC_Customer_Download( $inserted_id ); - ++$loop; - ++$file_counter; - - if ( $file->get_name() ) { - $file_count = $file->get_name(); - } else { - /* translators: %d file count */ - $file_count = sprintf( __( 'File %d', 'woocommerce' ), $file_counter ); - } - include 'admin/meta-boxes/views/html-order-download-permission.php'; - } - } - } - } - wp_die(); - } - - /** - * Get customer details via ajax. - */ - public static function get_customer_details() { - check_ajax_referer( 'get-customer-details', 'security' ); - - if ( ! current_user_can( 'edit_shop_orders' ) || ! isset( $_POST['user_id'] ) ) { - wp_die( -1 ); - } - - $user_id = absint( $_POST['user_id'] ); - $customer = new WC_Customer( $user_id ); - - if ( has_filter( 'woocommerce_found_customer_details' ) ) { - wc_deprecated_function( 'The woocommerce_found_customer_details filter', '3.0', 'woocommerce_ajax_get_customer_details' ); - } - - $data = $customer->get_data(); - $data['date_created'] = $data['date_created'] ? $data['date_created']->getTimestamp() : null; - $data['date_modified'] = $data['date_modified'] ? $data['date_modified']->getTimestamp() : null; - - $customer_data = apply_filters( 'woocommerce_ajax_get_customer_details', $data, $customer, $user_id ); - wp_send_json( $customer_data ); - } - - /** - * Add order item via ajax. Used on the edit order screen in WP Admin. - * - * @throws Exception If order is invalid. - */ - public static function add_order_item() { - check_ajax_referer( 'order-item', 'security' ); - - if ( ! current_user_can( 'edit_shop_orders' ) ) { - wp_die( -1 ); - } - - $response = array(); - - try { - if ( ! isset( $_POST['order_id'] ) ) { - throw new Exception( __( 'Invalid order', 'woocommerce' ) ); - } - - $order_id = absint( wp_unslash( $_POST['order_id'] ) ); // WPCS: input var ok. - $order = wc_get_order( $order_id ); - - if ( ! $order ) { - throw new Exception( __( 'Invalid order', 'woocommerce' ) ); - } - - // If we passed through items it means we need to save first before adding a new one. - $items = ( ! empty( $_POST['items'] ) ) ? wp_unslash( $_POST['items'] ) : ''; - - if ( ! empty( $items ) ) { - $save_items = array(); - parse_str( $items, $save_items ); - wc_save_order_items( $order->get_id(), $save_items ); - } - - $items_to_add = isset( $_POST['data'] ) ? array_filter( wp_unslash( (array) $_POST['data'] ) ) : array(); - - // Add items to order. - $order_notes = array(); - - foreach ( $items_to_add as $item ) { - if ( ! isset( $item['id'], $item['qty'] ) || empty( $item['id'] ) ) { - continue; - } - $product_id = absint( $item['id'] ); - $qty = wc_stock_amount( $item['qty'] ); - $product = wc_get_product( $product_id ); - - if ( ! $product ) { - throw new Exception( __( 'Invalid product ID', 'woocommerce' ) . ' ' . $product_id ); - } - - $item_id = $order->add_product( $product, $qty ); - $item = apply_filters( 'woocommerce_ajax_order_item', $order->get_item( $item_id ), $item_id ); - $added_items[ $item_id ] = $item; - $order_notes[ $item_id ] = $product->get_formatted_name(); - - if ( $product->managing_stock() ) { - $new_stock = wc_update_product_stock( $product, $qty, 'decrease' ); - $order_notes[ $item_id ] = $product->get_formatted_name() . ' – ' . ( $new_stock + $qty ) . '→' . $new_stock; - $item->add_meta_data( '_reduced_stock', $qty, true ); - $item->save(); - } - - do_action( 'woocommerce_ajax_add_order_item_meta', $item_id, $item, $order ); - } - - /* translators: %s item name. */ - $order->add_order_note( sprintf( __( 'Added line items: %s', 'woocommerce' ), implode( ', ', $order_notes ) ), false, true ); - - do_action( 'woocommerce_ajax_order_items_added', $added_items, $order ); - - $data = get_post_meta( $order_id ); - - // Get HTML to return. - ob_start(); - include 'admin/meta-boxes/views/html-order-items.php'; - $items_html = ob_get_clean(); - - ob_start(); - $notes = wc_get_order_notes( array( 'order_id' => $order_id ) ); - include 'admin/meta-boxes/views/html-order-notes.php'; - $notes_html = ob_get_clean(); - - wp_send_json_success( - array( - 'html' => $items_html, - 'notes_html' => $notes_html, - ) - ); - } catch ( Exception $e ) { - wp_send_json_error( array( 'error' => $e->getMessage() ) ); - } - - // wp_send_json_success must be outside the try block not to break phpunit tests. - wp_send_json_success( $response ); - } - - /** - * Add order fee via ajax. - * - * @throws Exception If order is invalid. - */ - public static function add_order_fee() { - check_ajax_referer( 'order-item', 'security' ); - - if ( ! current_user_can( 'edit_shop_orders' ) ) { - wp_die( -1 ); - } - - $response = array(); - - try { - $order_id = isset( $_POST['order_id'] ) ? absint( $_POST['order_id'] ) : 0; - $order = wc_get_order( $order_id ); - - if ( ! $order ) { - throw new Exception( __( 'Invalid order', 'woocommerce' ) ); - } - - $amount = isset( $_POST['amount'] ) ? wc_clean( wp_unslash( $_POST['amount'] ) ) : 0; - - $calculate_tax_args = self::calculateTaxArgs(); - - if ( strstr( $amount, '%' ) ) { - $formatted_amount = $amount; - $percent = floatval( trim( $amount, '%' ) ); - $amount = $order->get_total() * ( $percent / 100 ); - } else { - $amount = floatval( $amount ); - $formatted_amount = wc_price( $amount, array( 'currency' => $order->get_currency() ) ); - } - - $fee = new WC_Order_Item_Fee(); - $fee->set_amount( $amount ); - $fee->set_total( $amount ); - /* translators: %s fee amount */ - $fee->set_name( sprintf( __( '%s fee', 'woocommerce' ), wc_clean( $formatted_amount ) ) ); - - $order->add_item( $fee ); - $order->calculate_taxes( $calculate_tax_args ); - $order->calculate_totals( false ); - $order->save(); - - ob_start(); - include 'admin/meta-boxes/views/html-order-items.php'; - $response['html'] = ob_get_clean(); - } catch ( Exception $e ) { - wp_send_json_error( array( 'error' => $e->getMessage() ) ); - } - - // wp_send_json_success must be outside the try block not to break phpunit tests. - wp_send_json_success( $response ); - } - - private static function calculateTaxArgs() { - return array( - 'country' => isset( $_POST['country'] ) ? wc_strtoupper( wc_clean( wp_unslash( $_POST['country'] ) ) ) : '', - 'state' => isset( $_POST['state'] ) ? wc_strtoupper( wc_clean( wp_unslash( $_POST['state'] ) ) ) : '', - 'postcode' => isset( $_POST['postcode'] ) ? wc_strtoupper( wc_clean( wp_unslash( $_POST['postcode'] ) ) ) : '', - 'city' => isset( $_POST['city'] ) ? wc_strtoupper( wc_clean( wp_unslash( $_POST['city'] ) ) ) : '', - ); - } - - /** - * Add order shipping cost via ajax. - * - * @throws Exception If order is invalid. - */ - public static function add_order_shipping() { - check_ajax_referer( 'order-item', 'security' ); - - if ( ! current_user_can( 'edit_shop_orders' ) ) { - wp_die( -1 ); - } - - $response = array(); - - try { - $order_id = isset( $_POST['order_id'] ) ? absint( $_POST['order_id'] ) : 0; - $order = wc_get_order( $order_id ); - - if ( ! $order ) { - throw new Exception( __( 'Invalid order', 'woocommerce' ) ); - } - - $order_taxes = $order->get_taxes(); - $shipping_methods = WC()->shipping() ? WC()->shipping()->load_shipping_methods() : array(); - - // Add new shipping. - $item = new WC_Order_Item_Shipping(); - $item->set_shipping_rate( new WC_Shipping_Rate() ); - $item->set_order_id( $order_id ); - $item_id = $item->save(); - - ob_start(); - include 'admin/meta-boxes/views/html-order-shipping.php'; - $response['html'] = ob_get_clean(); - } catch ( Exception $e ) { - wp_send_json_error( array( 'error' => $e->getMessage() ) ); - } - - // wp_send_json_success must be outside the try block not to break phpunit tests. - wp_send_json_success( $response ); - } - - /** - * Add order tax column via ajax. - * - * @throws Exception If order or tax rate is invalid. - */ - public static function add_order_tax() { - check_ajax_referer( 'order-item', 'security' ); - - if ( ! current_user_can( 'edit_shop_orders' ) ) { - wp_die( -1 ); - } - - $response = array(); - - try { - $order_id = isset( $_POST['order_id'] ) ? absint( $_POST['order_id'] ) : 0; - $order = wc_get_order( $order_id ); - - if ( ! $order ) { - throw new Exception( __( 'Invalid order', 'woocommerce' ) ); - } - - $rate_id = isset( $_POST['rate_id'] ) ? absint( $_POST['rate_id'] ) : ''; - - if ( ! $rate_id ) { - throw new Exception( __( 'Invalid rate', 'woocommerce' ) ); - } - - $data = get_post_meta( $order_id ); - - // Add new tax. - $item = new WC_Order_Item_Tax(); - $item->set_rate( $rate_id ); - $item->set_order_id( $order_id ); - $item->save(); - - ob_start(); - include 'admin/meta-boxes/views/html-order-items.php'; - $response['html'] = ob_get_clean(); - } catch ( Exception $e ) { - wp_send_json_error( array( 'error' => $e->getMessage() ) ); - } - - // wp_send_json_success must be outside the try block not to break phpunit tests. - wp_send_json_success( $response ); - } - - /** - * Add order discount via ajax. - * - * @throws Exception If order or coupon is invalid. - */ - public static function add_coupon_discount() { - check_ajax_referer( 'order-item', 'security' ); - - if ( ! current_user_can( 'edit_shop_orders' ) ) { - wp_die( -1 ); - } - - $response = array(); - - try { - $order_id = isset( $_POST['order_id'] ) ? absint( $_POST['order_id'] ) : 0; - $order = wc_get_order( $order_id ); - $calculate_tax_args = self::calculateTaxArgs(); - - if ( ! $order ) { - throw new Exception( __( 'Invalid order', 'woocommerce' ) ); - } - - if ( empty( $_POST['coupon'] ) ) { - throw new Exception( __( 'Invalid coupon', 'woocommerce' ) ); - } - - // Add user ID so validation for coupon limits works. - $user_id_arg = isset( $_POST['user_id'] ) ? absint( $_POST['user_id'] ) : 0; - - if ( $user_id_arg ) { - $order->set_customer_id( $user_id_arg ); - } - - $result = $order->apply_coupon( wc_format_coupon_code( wp_unslash( $_POST['coupon'] ) ) ); - - if ( is_wp_error( $result ) ) { - throw new Exception( html_entity_decode( wp_strip_all_tags( $result->get_error_message() ) ) ); - } - - $order->calculate_taxes( $calculate_tax_args ); - $order->calculate_totals( false ); - - ob_start(); - include 'admin/meta-boxes/views/html-order-items.php'; - $response['html'] = ob_get_clean(); - } catch ( Exception $e ) { - wp_send_json_error( array( 'error' => $e->getMessage() ) ); - } - - // wp_send_json_success must be outside the try block not to break phpunit tests. - wp_send_json_success( $response ); - } - - /** - * Remove coupon from an order via ajax. - * - * @throws Exception If order or coupon is invalid. - */ - public static function remove_order_coupon() { - check_ajax_referer( 'order-item', 'security' ); - - if ( ! current_user_can( 'edit_shop_orders' ) ) { - wp_die( -1 ); - } - - $response = array(); - - try { - $order_id = isset( $_POST['order_id'] ) ? absint( $_POST['order_id'] ) : 0; - $order = wc_get_order( $order_id ); - $calculate_tax_args = self::calculateTaxArgs(); - - if ( ! $order ) { - throw new Exception( __( 'Invalid order', 'woocommerce' ) ); - } - - if ( empty( $_POST['coupon'] ) ) { - throw new Exception( __( 'Invalid coupon', 'woocommerce' ) ); - } - - $order->remove_coupon( wc_format_coupon_code( wp_unslash( $_POST['coupon'] ) ) ); - $order->calculate_taxes( $calculate_tax_args ); - $order->calculate_totals( false ); - - ob_start(); - include 'admin/meta-boxes/views/html-order-items.php'; - $response['html'] = ob_get_clean(); - } catch ( Exception $e ) { - wp_send_json_error( array( 'error' => $e->getMessage() ) ); - } - - // wp_send_json_success must be outside the try block not to break phpunit tests. - wp_send_json_success( $response ); - } - - /** - * Remove an order item. - * - * @throws Exception If order is invalid. - */ - public static function remove_order_item() { - check_ajax_referer( 'order-item', 'security' ); - - if ( ! current_user_can( 'edit_shop_orders' ) || ! isset( $_POST['order_id'], $_POST['order_item_ids'] ) ) { - wp_die( -1 ); - } - - $response = array(); - - try { - $order_id = absint( $_POST['order_id'] ); - $order = wc_get_order( $order_id ); - - if ( ! $order ) { - throw new Exception( __( 'Invalid order', 'woocommerce' ) ); - } - - if ( ! isset( $_POST['order_item_ids'] ) ) { - throw new Exception( __( 'Invalid items', 'woocommerce' ) ); - } - - $order_item_ids = wp_unslash( $_POST['order_item_ids'] ); - $items = ( ! empty( $_POST['items'] ) ) ? wp_unslash( $_POST['items'] ) : ''; - $calculate_tax_args = self::calculateTaxArgs(); - - if ( ! is_array( $order_item_ids ) && is_numeric( $order_item_ids ) ) { - $order_item_ids = array( $order_item_ids ); - } - - // If we passed through items it means we need to save first before deleting. - if ( ! empty( $items ) ) { - $save_items = array(); - parse_str( $items, $save_items ); - wc_save_order_items( $order->get_id(), $save_items ); - } - - if ( ! empty( $order_item_ids ) ) { - $order_notes = array(); - - foreach ( $order_item_ids as $item_id ) { - $item_id = absint( $item_id ); - $item = $order->get_item( $item_id ); - - // Before deleting the item, adjust any stock values already reduced. - if ( $item->is_type( 'line_item' ) ) { - $changed_stock = wc_maybe_adjust_line_item_product_stock( $item, 0 ); - - if ( $changed_stock && ! is_wp_error( $changed_stock ) ) { - /* translators: %1$s: item name %2$s: stock change */ - $order->add_order_note( sprintf( __( 'Deleted %1$s and adjusted stock (%2$s)', 'woocommerce' ), $item->get_name(), $changed_stock['from'] . '→' . $changed_stock['to'] ), false, true ); - } else { - /* translators: %s item name. */ - $order->add_order_note( sprintf( __( 'Deleted %s', 'woocommerce' ), $item->get_name() ), false, true ); - } - } - - wc_delete_order_item( $item_id ); - } - } - - $order = wc_get_order( $order_id ); - $order->calculate_taxes( $calculate_tax_args ); - $order->calculate_totals( false ); - - // Get HTML to return. - ob_start(); - include 'admin/meta-boxes/views/html-order-items.php'; - $items_html = ob_get_clean(); - - ob_start(); - $notes = wc_get_order_notes( array( 'order_id' => $order_id ) ); - include 'admin/meta-boxes/views/html-order-notes.php'; - $notes_html = ob_get_clean(); - - wp_send_json_success( - array( - 'html' => $items_html, - 'notes_html' => $notes_html, - ) - ); - } catch ( Exception $e ) { - wp_send_json_error( array( 'error' => $e->getMessage() ) ); - } - - // wp_send_json_success must be outside the try block not to break phpunit tests. - wp_send_json_success( $response ); - } - - /** - * Remove an order tax. - * - * @throws Exception If there is an error whilst deleting the rate. - */ - public static function remove_order_tax() { - check_ajax_referer( 'order-item', 'security' ); - - if ( ! current_user_can( 'edit_shop_orders' ) || ! isset( $_POST['order_id'], $_POST['rate_id'] ) ) { - wp_die( -1 ); - } - - $response = array(); - - try { - $order_id = absint( $_POST['order_id'] ); - $rate_id = absint( $_POST['rate_id'] ); - - wc_delete_order_item( $rate_id ); - - $order = wc_get_order( $order_id ); - $order->calculate_totals( false ); - - ob_start(); - include 'admin/meta-boxes/views/html-order-items.php'; - $response['html'] = ob_get_clean(); - } catch ( Exception $e ) { - wp_send_json_error( array( 'error' => $e->getMessage() ) ); - } - - // wp_send_json_success must be outside the try block not to break phpunit tests. - wp_send_json_success( $response ); - } - - /** - * Calc line tax. - */ - public static function calc_line_taxes() { - check_ajax_referer( 'calc-totals', 'security' ); - - if ( ! current_user_can( 'edit_shop_orders' ) || ! isset( $_POST['order_id'], $_POST['items'] ) ) { - wp_die( -1 ); - } - - $order_id = absint( $_POST['order_id'] ); - $calculate_tax_args = self::calculateTaxArgs(); - - // Parse the jQuery serialized items. - $items = array(); - parse_str( wp_unslash( $_POST['items'] ), $items ); - - // Save order items first. - wc_save_order_items( $order_id, $items ); - - // Grab the order and recalculate taxes. - $order = wc_get_order( $order_id ); - $order->calculate_taxes( $calculate_tax_args ); - $order->calculate_totals( false ); - include 'admin/meta-boxes/views/html-order-items.php'; - wp_die(); - } - - /** - * Save order items via ajax. - */ - public static function save_order_items() { - check_ajax_referer( 'order-item', 'security' ); - - if ( ! current_user_can( 'edit_shop_orders' ) || ! isset( $_POST['order_id'], $_POST['items'] ) ) { - wp_die( -1 ); - } - - if ( isset( $_POST['order_id'], $_POST['items'] ) ) { - $order_id = absint( $_POST['order_id'] ); - - // Parse the jQuery serialized items. - $items = array(); - parse_str( wp_unslash( $_POST['items'] ), $items ); - - // Save order items. - wc_save_order_items( $order_id, $items ); - - // Return HTML items. - $order = wc_get_order( $order_id ); - - // Get HTML to return. - ob_start(); - include 'admin/meta-boxes/views/html-order-items.php'; - $items_html = ob_get_clean(); - - ob_start(); - $notes = wc_get_order_notes( array( 'order_id' => $order_id ) ); - include 'admin/meta-boxes/views/html-order-notes.php'; - $notes_html = ob_get_clean(); - - wp_send_json_success( - array( - 'html' => $items_html, - 'notes_html' => $notes_html, - ) - ); - } - wp_die(); - } - - /** - * Load order items via ajax. - */ - public static function load_order_items() { - check_ajax_referer( 'order-item', 'security' ); - - if ( ! current_user_can( 'edit_shop_orders' ) || ! isset( $_POST['order_id'] ) ) { - wp_die( -1 ); - } - - // Return HTML items. - $order_id = absint( $_POST['order_id'] ); - $order = wc_get_order( $order_id ); - include 'admin/meta-boxes/views/html-order-items.php'; - wp_die(); - } - - /** - * Add order note via ajax. - */ - public static function add_order_note() { - check_ajax_referer( 'add-order-note', 'security' ); - - if ( ! current_user_can( 'edit_shop_orders' ) || ! isset( $_POST['post_id'], $_POST['note'], $_POST['note_type'] ) ) { - wp_die( -1 ); - } - - $post_id = absint( $_POST['post_id'] ); - $note = wp_kses_post( trim( wp_unslash( $_POST['note'] ) ) ); - $note_type = wc_clean( wp_unslash( $_POST['note_type'] ) ); - - $is_customer_note = ( 'customer' === $note_type ) ? 1 : 0; - - if ( $post_id > 0 ) { - $order = wc_get_order( $post_id ); - $comment_id = $order->add_order_note( $note, $is_customer_note, true ); - $note = wc_get_order_note( $comment_id ); - - $note_classes = array( 'note' ); - $note_classes[] = $is_customer_note ? 'customer-note' : ''; - $note_classes = apply_filters( 'woocommerce_order_note_class', array_filter( $note_classes ), $note ); - ?> -
  • -
    - content ) ) ) ); ?> -
    -

    - - date_created->date_i18n( wc_date_format() ) ), esc_html( $note->date_created->date_i18n( wc_time_format() ) ) ); - ?> - - added_by ) : - /* translators: %s: note author */ - printf( ' ' . esc_html__( 'by %s', 'woocommerce' ), esc_html( $note->added_by ) ); - endif; - ?> - -

    -
  • - 0 ) { - wc_delete_order_note( $note_id ); - } - wp_die(); - } - - /** - * Search for products and echo json. - * - * @param string $term (default: '') Term to search for. - * @param bool $include_variations in search or not. - */ - public static function json_search_products( $term = '', $include_variations = false ) { - check_ajax_referer( 'search-products', 'security' ); - - if ( empty( $term ) && isset( $_GET['term'] ) ) { - $term = (string) wc_clean( wp_unslash( $_GET['term'] ) ); - } - - if ( empty( $term ) ) { - wp_die(); - } - - if ( ! empty( $_GET['limit'] ) ) { - $limit = absint( $_GET['limit'] ); - } else { - $limit = absint( apply_filters( 'woocommerce_json_search_limit', 30 ) ); - } - - $data_store = WC_Data_Store::load( 'product' ); - $ids = $data_store->search_products( $term, '', (bool) $include_variations, false, $limit ); - - if ( ! empty( $_GET['exclude'] ) ) { - $ids = array_diff( $ids, array_map( 'absint', (array) wp_unslash( $_GET['exclude'] ) ) ); - } - - if ( ! empty( $_GET['include'] ) ) { - $ids = array_intersect( $ids, array_map( 'absint', (array) wp_unslash( $_GET['include'] ) ) ); - } - - $product_objects = array_filter( array_map( 'wc_get_product', $ids ), 'wc_products_array_filter_readable' ); - $products = array(); - - foreach ( $product_objects as $product_object ) { - $formatted_name = $product_object->get_formatted_name(); - $managing_stock = $product_object->managing_stock(); - - if ( $managing_stock && ! empty( $_GET['display_stock'] ) ) { - $stock_amount = $product_object->get_stock_quantity(); - /* Translators: %d stock amount */ - $formatted_name .= ' – ' . sprintf( __( 'Stock: %d', 'woocommerce' ), wc_format_stock_quantity_for_display( $stock_amount, $product_object ) ); - } - - $products[ $product_object->get_id() ] = rawurldecode( $formatted_name ); - } - - wp_send_json( apply_filters( 'woocommerce_json_search_found_products', $products ) ); - } - - /** - * Search for product variations and return json. - * - * @see BK_AJAX::json_search_products() - */ - public static function json_search_products_and_variations() { - self::json_search_products( '', true ); - } - - /** - * Search for downloadable product variations and return json. - * - * @see BK_AJAX::json_search_products() - */ - public static function json_search_downloadable_products_and_variations() { - check_ajax_referer( 'search-products', 'security' ); - - $term = isset( $_GET['term'] ) ? (string) wc_clean( wp_unslash( $_GET['term'] ) ) : ''; - $data_store = WC_Data_Store::load( 'product' ); - $ids = $data_store->search_products( $term, 'downloadable', true ); - - if ( ! empty( $_GET['exclude'] ) ) { - $ids = array_diff( $ids, array_map( 'absint', (array) wp_unslash( $_GET['exclude'] ) ) ); - } - - if ( ! empty( $_GET['include'] ) ) { - $ids = array_intersect( $ids, array_map( 'absint', (array) wp_unslash( $_GET['include'] ) ) ); - } - - if ( ! empty( $_GET['limit'] ) ) { - $ids = array_slice( $ids, 0, absint( $_GET['limit'] ) ); - } - - $product_objects = array_filter( array_map( 'wc_get_product', $ids ), 'wc_products_array_filter_readable' ); - $products = array(); - - foreach ( $product_objects as $product_object ) { - $products[ $product_object->get_id() ] = rawurldecode( $product_object->get_formatted_name() ); - } - - wp_send_json( $products ); - } - - /** - * Search for customers and return json. - */ - public static function json_search_customers() { - ob_start(); - - check_ajax_referer( 'search-customers', 'security' ); - - if ( ! current_user_can( 'edit_shop_orders' ) ) { - wp_die( -1 ); - } - - $term = isset( $_GET['term'] ) ? (string) wc_clean( wp_unslash( $_GET['term'] ) ) : ''; - $limit = 0; - - if ( empty( $term ) ) { - wp_die(); - } - - $ids = array(); - // Search by ID. - if ( is_numeric( $term ) ) { - $customer = new WC_Customer( intval( $term ) ); - - // Customer does not exists. - if ( 0 !== $customer->get_id() ) { - $ids = array( $customer->get_id() ); - } - } - - // Usernames can be numeric so we first check that no users was found by ID before searching for numeric username, this prevents performance issues with ID lookups. - if ( empty( $ids ) ) { - $data_store = WC_Data_Store::load( 'customer' ); - - // If search is smaller than 3 characters, limit result set to avoid - // too many rows being returned. - if ( 3 > strlen( $term ) ) { - $limit = 20; - } - $ids = $data_store->search_customers( $term, $limit ); - } - - $found_customers = array(); - - if ( ! empty( $_GET['exclude'] ) ) { - $ids = array_diff( $ids, array_map( 'absint', (array) wp_unslash( $_GET['exclude'] ) ) ); - } - - foreach ( $ids as $id ) { - $customer = new WC_Customer( $id ); - /* translators: 1: user display name 2: user ID 3: user email */ - $found_customers[ $id ] = sprintf( - /* translators: $1: customer name, $2 customer id, $3: customer email */ - esc_html__( '%1$s (#%2$s – %3$s)', 'woocommerce' ), - $customer->get_first_name() . ' ' . $customer->get_last_name(), - $customer->get_id(), - $customer->get_email() - ); - } - - wp_send_json( apply_filters( 'woocommerce_json_search_found_customers', $found_customers ) ); - } - - /** - * Search for categories and return json. - */ - public static function json_search_categories() { - ob_start(); - - check_ajax_referer( 'search-categories', 'security' ); - - if ( ! current_user_can( 'edit_products' ) ) { - wp_die( -1 ); - } - - $search_text = isset( $_GET['term'] ) ? wc_clean( wp_unslash( $_GET['term'] ) ) : ''; - - if ( ! $search_text ) { - wp_die(); - } - - $found_categories = array(); - $args = array( - 'taxonomy' => array( 'product_cat' ), - 'orderby' => 'id', - 'order' => 'ASC', - 'hide_empty' => true, - 'fields' => 'all', - 'name__like' => $search_text, - ); - - $terms = get_terms( $args ); - - if ( $terms ) { - foreach ( $terms as $term ) { - $term->formatted_name = ''; - - if ( $term->parent ) { - $ancestors = array_reverse( get_ancestors( $term->term_id, 'product_cat' ) ); - foreach ( $ancestors as $ancestor ) { - $ancestor_term = get_term( $ancestor, 'product_cat' ); - if ( $ancestor_term ) { - $term->formatted_name .= $ancestor_term->name . ' > '; - } - } - } - - $term->formatted_name .= $term->name . ' (' . $term->count . ')'; - $found_categories[ $term->term_id ] = $term; - } - } - - wp_send_json( apply_filters( 'woocommerce_json_search_found_categories', $found_categories ) ); - } - - /** - * Ajax request handling for categories ordering. - */ - public static function term_ordering() { - // phpcs:disable WordPress.Security.NonceVerification.NoNonceVerification - if ( ! current_user_can( 'edit_products' ) || empty( $_POST['id'] ) ) { - wp_die( -1 ); - } - - $id = (int) $_POST['id']; - $next_id = isset( $_POST['nextid'] ) && (int) $_POST['nextid'] ? (int) $_POST['nextid'] : null; - $taxonomy = isset( $_POST['thetaxonomy'] ) ? sanitize_text_field( esc_attr( wp_unslash( $_POST['thetaxonomy'] ) ) ) : null; - $term = get_term_by( 'id', $id, $taxonomy ); - - if ( ! $id || ! $term || ! $taxonomy ) { - wp_die( 0 ); - } - - wc_reorder_terms( $term, $next_id, $taxonomy ); - - $children = get_terms( $taxonomy, "child_of=$id&menu_order=ASC&hide_empty=0" ); - - if ( $term && count( $children ) ) { - echo 'children'; - wp_die(); - } - // phpcs:enable - } - - /** - * Ajax request handling for product ordering. - * - * Based on Simple Page Ordering by 10up (https://wordpress.org/plugins/simple-page-ordering/). - */ - public static function product_ordering() { - global $wpdb; - - // phpcs:disable WordPress.Security.NonceVerification.NoNonceVerification - if ( ! current_user_can( 'edit_products' ) || empty( $_POST['id'] ) ) { - wp_die( -1 ); - } - - $sorting_id = absint( $_POST['id'] ); - $previd = absint( isset( $_POST['previd'] ) ? $_POST['previd'] : 0 ); - $nextid = absint( isset( $_POST['nextid'] ) ? $_POST['nextid'] : 0 ); - $menu_orders = wp_list_pluck( $wpdb->get_results( "SELECT ID, menu_order FROM {$wpdb->posts} WHERE post_type = 'product' ORDER BY menu_order ASC, post_title ASC" ), 'menu_order', 'ID' ); - $index = 0; - - foreach ( $menu_orders as $id => $menu_order ) { - $id = absint( $id ); - - if ( $sorting_id === $id ) { - continue; - } - if ( $nextid === $id ) { - ++$index; - } - ++$index; - $menu_orders[ $id ] = $index; - $wpdb->update( $wpdb->posts, array( 'menu_order' => $index ), array( 'ID' => $id ) ); - - /** - * When a single product has gotten it's ordering updated. - * $id The product ID - * $index The new menu order - */ - do_action( 'woocommerce_after_single_product_ordering', $id, $index ); - } - - if ( isset( $menu_orders[ $previd ] ) ) { - $menu_orders[ $sorting_id ] = $menu_orders[ $previd ] + 1; - } elseif ( isset( $menu_orders[ $nextid ] ) ) { - $menu_orders[ $sorting_id ] = $menu_orders[ $nextid ] - 1; - } else { - $menu_orders[ $sorting_id ] = 0; - } - - $wpdb->update( $wpdb->posts, array( 'menu_order' => $menu_orders[ $sorting_id ] ), array( 'ID' => $sorting_id ) ); - - do_action( 'woocommerce_after_product_ordering', $sorting_id, $menu_orders ); - wp_send_json( $menu_orders ); - // phpcs:enable - } - - /** - * Handle a refund via the edit order screen. - * - * @throws Exception To return errors. - */ - public static function capture_line_items() { - ob_start(); - - check_ajax_referer( 'order-item', 'security' ); - - if ( ! current_user_can( 'edit_shop_orders' ) ) { - wp_die( -1 ); - } - - $order_id = isset( $_POST['order_id'] ) ? absint( $_POST['order_id'] ) : 0; - $refund_amount = isset( $_POST['refund_amount'] ) ? wc_format_decimal( sanitize_text_field( wp_unslash( $_POST['refund_amount'] ) ), wc_get_price_decimals() ) : 0; - $captured_amount = isset( $_POST['captured_amount'] ) ? wc_format_decimal( sanitize_text_field( wp_unslash( $_POST['captured_amount'] ) ), wc_get_price_decimals() ) : 0; - $refund_reason = isset( $_POST['refund_reason'] ) ? sanitize_text_field( wp_unslash( $_POST['refund_reason'] ) ) : ''; - $line_item_qtys = buckaroo_request_sanitized_json( 'line_item_qtys' ); - $line_item_totals = buckaroo_request_sanitized_json( 'line_item_totals' ); - $line_item_tax_totals = buckaroo_request_sanitized_json( 'line_item_tax_totals' ); - $api_refund = isset( $_POST['api_refund'] ) && 'true' === $_POST['api_refund']; - $restock_refunded_items = isset( $_POST['restock_refunded_items'] ) && 'true' === $_POST['restock_refunded_items']; - $refund = false; - $response = array(); - - try { - $order = wc_get_order( $order_id ); - $order_items = $order->get_items(); - $max_refund = wc_format_decimal( $order->get_total() - $order->get_total_refunded(), wc_get_price_decimals() ); - - if ( ! $refund_amount || $max_refund < $refund_amount || 0 > $refund_amount ) { - throw new Exception( __( 'Invalid refund amount', 'woocommerce' ) ); - } - - if ( wc_format_decimal( $order->get_total_refunded(), wc_get_price_decimals() ) !== $captured_amount ) { - throw new Exception( __( 'Error processing refund. Please try again.', 'woocommerce' ) ); - } - - // Prepare line items which we are refunding. - $line_items = array(); - $item_ids = array_unique( array_merge( array_keys( $line_item_qtys ), array_keys( $line_item_totals ) ) ); - - foreach ( $item_ids as $item_id ) { - $line_items[ $item_id ] = array( - 'qty' => 0, - 'refund_total' => 0, - 'refund_tax' => array(), - ); - } - foreach ( $line_item_qtys as $item_id => $qty ) { - $line_items[ $item_id ]['qty'] = max( $qty, 0 ); - } - foreach ( $line_item_totals as $item_id => $total ) { - $line_items[ $item_id ]['refund_total'] = wc_format_decimal( $total ); - } - foreach ( $line_item_tax_totals as $item_id => $tax_totals ) { - $line_items[ $item_id ]['refund_tax'] = array_filter( array_map( 'wc_format_decimal', $tax_totals ) ); - } - - // Create the refund object. - $refund = wc_create_refund( - array( - 'amount' => $refund_amount, - 'reason' => $refund_reason, - 'order_id' => $order_id, - 'line_items' => $line_items, - 'refund_payment' => $api_refund, - 'restock_items' => $restock_refunded_items, - ) - ); - - if ( is_wp_error( $refund ) ) { - throw new Exception( $refund->get_error_message() ); - } - - if ( did_action( 'woocommerce_order_fully_refunded' ) ) { - $response['status'] = 'fully_refunded'; - } - } catch ( Exception $e ) { - wp_send_json_error( array( 'error' => $e->getMessage() ) ); - } - - // wp_send_json_success must be outside the try block not to break phpunit tests. - wp_send_json_success( $response ); - } - - /** - * Delete a refund. - */ - public static function delete_refund() { - check_ajax_referer( 'order-item', 'security' ); - - if ( ! current_user_can( 'edit_shop_orders' ) || ! isset( $_POST['refund_id'] ) ) { - wp_die( -1 ); - } - - $refund_ids = array_map( 'absint', is_array( $_POST['refund_id'] ) ? wp_unslash( $_POST['refund_id'] ) : array( wp_unslash( $_POST['refund_id'] ) ) ); - foreach ( $refund_ids as $refund_id ) { - if ( $refund_id && 'shop_order_refund' === get_post_type( $refund_id ) ) { - $refund = wc_get_order( $refund_id ); - $order_id = $refund->get_parent_id(); - $refund->delete( true ); - do_action( 'woocommerce_refund_deleted', $refund_id, $order_id ); - } - } - wp_die(); - } - - /** - * Triggered when clicking the rating footer. - */ - public static function rated() { - if ( ! current_user_can( 'manage_woocommerce' ) ) { - wp_die( -1 ); - } - update_option( 'woocommerce_admin_footer_text_rated', 1 ); - wp_die(); - } - - /** - * Create/Update API key. - * - * @throws Exception On invalid or empty description, user, or permissions. - */ - public static function update_api_key() { - ob_start(); - - global $wpdb; - - check_ajax_referer( 'update-api-key', 'security' ); - - if ( ! current_user_can( 'manage_woocommerce' ) ) { - wp_die( -1 ); - } - - $response = array(); - - try { - if ( empty( $_POST['description'] ) ) { - throw new Exception( __( 'Description is missing.', 'woocommerce' ) ); - } - if ( empty( $_POST['user'] ) ) { - throw new Exception( __( 'User is missing.', 'woocommerce' ) ); - } - if ( empty( $_POST['permissions'] ) ) { - throw new Exception( __( 'Permissions is missing.', 'woocommerce' ) ); - } - - $key_id = isset( $_POST['key_id'] ) ? absint( $_POST['key_id'] ) : 0; - $description = sanitize_text_field( wp_unslash( $_POST['description'] ) ); - $permissions = ( in_array( wp_unslash( $_POST['permissions'] ), array( 'read', 'write', 'read_write' ), true ) ) ? sanitize_text_field( wp_unslash( $_POST['permissions'] ) ) : 'read'; - $user_id = absint( $_POST['user'] ); - - // Check if current user can edit other users. - if ( $user_id && ! current_user_can( 'edit_user', $user_id ) ) { - if ( get_current_user_id() !== $user_id ) { - throw new Exception( __( 'You do not have permission to assign API Keys to the selected user.', 'woocommerce' ) ); - } - } - - if ( 0 < $key_id ) { - $data = array( - 'user_id' => $user_id, - 'description' => $description, - 'permissions' => $permissions, - ); - - $wpdb->update( - $wpdb->prefix . 'woocommerce_api_keys', - $data, - array( 'key_id' => $key_id ), - array( - '%d', - '%s', - '%s', - ), - array( '%d' ) - ); - - $response = $data; - $response['consumer_key'] = ''; - $response['consumer_secret'] = ''; - $response['message'] = __( 'API Key updated successfully.', 'woocommerce' ); - } else { - $consumer_key = 'ck_' . wc_rand_hash(); - $consumer_secret = 'cs_' . wc_rand_hash(); - - $data = array( - 'user_id' => $user_id, - 'description' => $description, - 'permissions' => $permissions, - 'consumer_key' => wc_api_hash( $consumer_key ), - 'consumer_secret' => $consumer_secret, - 'truncated_key' => substr( $consumer_key, -7 ), - ); - - $wpdb->insert( - $wpdb->prefix . 'woocommerce_api_keys', - $data, - array( - '%d', - '%s', - '%s', - '%s', - '%s', - '%s', - ) - ); - - $key_id = $wpdb->insert_id; - $response = $data; - $response['consumer_key'] = $consumer_key; - $response['consumer_secret'] = $consumer_secret; - $response['message'] = __( 'API Key generated successfully. Make sure to copy your new keys now as the secret key will be hidden once you leave this page.', 'woocommerce' ); - $response['revoke_url'] = '' . __( 'Revoke key', 'woocommerce' ) . ''; - } - } catch ( Exception $e ) { - wp_send_json_error( array( 'message' => $e->getMessage() ) ); - } - - // wp_send_json_success must be outside the try block not to break phpunit tests. - wp_send_json_success( $response ); - } - - /** - * Load variations via AJAX. - */ - public static function load_variations() { - ob_start(); - - check_ajax_referer( 'load-variations', 'security' ); - - if ( ! current_user_can( 'edit_products' ) || empty( $_POST['product_id'] ) ) { - wp_die( -1 ); - } - - // Set $post global so its available, like within the admin screens. - // global $post; - - $loop = 0; - $product_id = absint( $_POST['product_id'] ); - $post = get_post( $product_id ); - $product_object = wc_get_product( $product_id ); - $per_page = ! empty( $_POST['per_page'] ) ? absint( $_POST['per_page'] ) : 10; - $page = ! empty( $_POST['page'] ) ? absint( $_POST['page'] ) : 1; - $variations = wc_get_products( - array( - 'status' => array( 'private', 'publish' ), - 'type' => 'variation', - 'parent' => $product_id, - 'limit' => $per_page, - 'page' => $page, - 'orderby' => array( - 'menu_order' => 'ASC', - 'ID' => 'DESC', - ), - 'return' => 'objects', - ) - ); - - if ( $variations ) { - foreach ( $variations as $variation_object ) { - $variation_id = $variation_object->get_id(); - $variation = get_post( $variation_id ); - $variation_data = array_merge( get_post_custom( $variation_id ), wc_get_product_variation_attributes( $variation_id ) ); // kept for BW compatibility. - include 'admin/meta-boxes/views/html-variation-admin.php'; - ++$loop; - } - } - wp_die(); - } - - /** - * Save variations via AJAX. - */ - public static function save_variations() { - ob_start(); - - check_ajax_referer( 'save-variations', 'security' ); - - // Check permissions again and make sure we have what we need. - if ( ! current_user_can( 'edit_products' ) || empty( $_POST ) || empty( $_POST['product_id'] ) ) { - wp_die( -1 ); - } - - $product_id = absint( $_POST['product_id'] ); - BK_Admin_Meta_Boxes::$meta_box_errors = array(); - WC_Meta_Box_Product_Data::save_variations( $product_id, get_post( $product_id ) ); - - do_action( 'woocommerce_ajax_save_product_variations', $product_id ); - - $errors = BK_Admin_Meta_Boxes::$meta_box_errors; - - if ( $errors ) { - echo '
    '; - - foreach ( $errors as $error ) { - echo '

    ' . wp_kses_post( $error ) . '

    '; - } - - echo ''; - echo '
    '; - - delete_option( 'woocommerce_meta_box_errors' ); - } - - wp_die(); - } - - /** - * Bulk action - Toggle Enabled. - * - * @param array $variations List of variations. - * @param array $data Data to set. - * - * @used-by bulk_edit_variations - */ - private static function variation_bulk_action_toggle_enabled( $variations, $data ) { - foreach ( $variations as $variation_id ) { - $variation = wc_get_product( $variation_id ); - $variation->set_status( 'private' === $variation->get_status( 'edit' ) ? 'publish' : 'private' ); - $variation->save(); - } - } - - /** - * Bulk action - Toggle Downloadable Checkbox. - * - * @param array $variations List of variations. - * @param array $data Data to set. - * - * @used-by bulk_edit_variations - */ - private static function variation_bulk_action_toggle_downloadable( $variations, $data ) { - self::variation_bulk_toggle( $variations, 'downloadable' ); - } - - /** - * Bulk action - Toggle Virtual Checkbox. - * - * @param array $variations List of variations. - * @param array $data Data to set. - * - * @used-by bulk_edit_variations - */ - private static function variation_bulk_action_toggle_virtual( $variations, $data ) { - self::variation_bulk_toggle( $variations, 'virtual' ); - } - - /** - * Bulk action - Toggle Manage Stock Checkbox. - * - * @param array $variations List of variations. - * @param array $data Data to set. - * - * @used-by bulk_edit_variations - */ - private static function variation_bulk_action_toggle_manage_stock( $variations, $data ) { - self::variation_bulk_toggle( $variations, 'manage_stock' ); - } - - /** - * Bulk action - Set Regular Prices. - * - * @param array $variations List of variations. - * @param array $data Data to set. - * - * @used-by bulk_edit_variations - */ - private static function variation_bulk_action_variable_regular_price( $variations, $data ) { - self::variation_bulk_set( $variations, 'regular_price', $data['value'] ); - } - - /** - * Bulk action - Set Sale Prices. - * - * @param array $variations List of variations. - * @param array $data Data to set. - * - * @used-by bulk_edit_variations - */ - private static function variation_bulk_action_variable_sale_price( $variations, $data ) { - self::variation_bulk_set( $variations, 'sale_price', $data['value'] ); - } - - /** - * Bulk action - Set Stock Status as In Stock. - * - * @param array $variations List of variations. - * @param array $data Data to set. - * - * @used-by bulk_edit_variations - */ - private static function variation_bulk_action_variable_stock_status_instock( $variations, $data ) { - self::variation_bulk_set( $variations, 'stock_status', 'instock' ); - } - - /** - * Bulk action - Set Stock Status as Out of Stock. - * - * @param array $variations List of variations. - * @param array $data Data to set. - * - * @used-by bulk_edit_variations - */ - private static function variation_bulk_action_variable_stock_status_outofstock( $variations, $data ) { - self::variation_bulk_set( $variations, 'stock_status', 'outofstock' ); - } - - /** - * Bulk action - Set Stock Status as On Backorder. - * - * @param array $variations List of variations. - * @param array $data Data to set. - * - * @used-by bulk_edit_variations - */ - private static function variation_bulk_action_variable_stock_status_onbackorder( $variations, $data ) { - self::variation_bulk_set( $variations, 'stock_status', 'onbackorder' ); - } - - /** - * Bulk action - Set Stock. - * - * @param array $variations List of variations. - * @param array $data Data to set. - * - * @used-by bulk_edit_variations - */ - private static function variation_bulk_action_variable_stock( $variations, $data ) { - if ( ! isset( $data['value'] ) ) { - return; - } - - $quantity = wc_stock_amount( wc_clean( $data['value'] ) ); - - foreach ( $variations as $variation_id ) { - $variation = wc_get_product( $variation_id ); - if ( $variation->managing_stock() ) { - $variation->set_stock_quantity( $quantity ); - } else { - $variation->set_stock_quantity( null ); - } - $variation->save(); - } - } - - /** - * Bulk action - Set Weight. - * - * @param array $variations List of variations. - * @param array $data Data to set. - * - * @used-by bulk_edit_variations - */ - private static function variation_bulk_action_variable_weight( $variations, $data ) { - self::variation_bulk_set( $variations, 'weight', $data['value'] ); - } - - /** - * Bulk action - Set Length. - * - * @param array $variations List of variations. - * @param array $data Data to set. - * - * @used-by bulk_edit_variations - */ - private static function variation_bulk_action_variable_length( $variations, $data ) { - self::variation_bulk_set( $variations, 'length', $data['value'] ); - } - - /** - * Bulk action - Set Width. - * - * @param array $variations List of variations. - * @param array $data Data to set. - * - * @used-by bulk_edit_variations - */ - private static function variation_bulk_action_variable_width( $variations, $data ) { - self::variation_bulk_set( $variations, 'width', $data['value'] ); - } - - /** - * Bulk action - Set Height. - * - * @param array $variations List of variations. - * @param array $data Data to set. - * - * @used-by bulk_edit_variations - */ - private static function variation_bulk_action_variable_height( $variations, $data ) { - self::variation_bulk_set( $variations, 'height', $data['value'] ); - } - - /** - * Bulk action - Set Download Limit. - * - * @param array $variations List of variations. - * @param array $data Data to set. - * - * @used-by bulk_edit_variations - */ - private static function variation_bulk_action_variable_download_limit( $variations, $data ) { - self::variation_bulk_set( $variations, 'download_limit', $data['value'] ); - } - - /** - * Bulk action - Set Download Expiry. - * - * @param array $variations List of variations. - * @param array $data Data to set. - * - * @used-by bulk_edit_variations - */ - private static function variation_bulk_action_variable_download_expiry( $variations, $data ) { - self::variation_bulk_set( $variations, 'download_expiry', $data['value'] ); - } - - /** - * Bulk action - Delete all. - * - * @param array $variations List of variations. - * @param array $data Data to set. - * - * @used-by bulk_edit_variations - */ - private static function variation_bulk_action_delete_all( $variations, $data ) { - if ( isset( $data['allowed'] ) && 'true' === $data['allowed'] ) { - foreach ( $variations as $variation_id ) { - $variation = wc_get_product( $variation_id ); - $variation->delete( true ); - } - } - } - - /** - * Bulk action - Sale Schedule. - * - * @param array $variations List of variations. - * @param array $data Data to set. - * - * @used-by bulk_edit_variations - */ - private static function variation_bulk_action_variable_sale_schedule( $variations, $data ) { - if ( ! isset( $data['date_from'] ) && ! isset( $data['date_to'] ) ) { - return; - } - - foreach ( $variations as $variation_id ) { - $variation = wc_get_product( $variation_id ); - - if ( 'false' !== $data['date_from'] ) { - $variation->set_date_on_sale_from( wc_clean( $data['date_from'] ) ); - } - - if ( 'false' !== $data['date_to'] ) { - $variation->set_date_on_sale_to( wc_clean( $data['date_to'] ) ); - } - - $variation->save(); - } - } - - /** - * Bulk action - Increase Regular Prices. - * - * @param array $variations List of variations. - * @param array $data Data to set. - * - * @used-by bulk_edit_variations - */ - private static function variation_bulk_action_variable_regular_price_increase( $variations, $data ) { - self::variation_bulk_adjust_price( $variations, 'regular_price', '+', wc_clean( $data['value'] ) ); - } - - /** - * Bulk action - Decrease Regular Prices. - * - * @param array $variations List of variations. - * @param array $data Data to set. - * - * @used-by bulk_edit_variations - */ - private static function variation_bulk_action_variable_regular_price_decrease( $variations, $data ) { - self::variation_bulk_adjust_price( $variations, 'regular_price', '-', wc_clean( $data['value'] ) ); - } - - /** - * Bulk action - Increase Sale Prices. - * - * @param array $variations List of variations. - * @param array $data Data to set. - * - * @used-by bulk_edit_variations - */ - private static function variation_bulk_action_variable_sale_price_increase( $variations, $data ) { - self::variation_bulk_adjust_price( $variations, 'sale_price', '+', wc_clean( $data['value'] ) ); - } - - /** - * Bulk action - Decrease Sale Prices. - * - * @param array $variations List of variations. - * @param array $data Data to set. - * - * @used-by bulk_edit_variations - */ - private static function variation_bulk_action_variable_sale_price_decrease( $variations, $data ) { - self::variation_bulk_adjust_price( $variations, 'sale_price', '-', wc_clean( $data['value'] ) ); - } - - /** - * Bulk action - Set Price. - * - * @param array $variations List of variations. - * @param string $field price being adjusted _regular_price or _sale_price. - * @param string $operator + or -. - * @param string $value Price or Percent. - * - * @used-by bulk_edit_variations - */ - private static function variation_bulk_adjust_price( $variations, $field, $operator, $value ) { - foreach ( $variations as $variation_id ) { - $variation = wc_get_product( $variation_id ); - $field_value = $variation->{"get_$field"}( 'edit' ); - - if ( '%' === substr( $value, -1 ) ) { - $percent = wc_format_decimal( substr( $value, 0, -1 ) ); - $field_value += roundAmount( ( $field_value / 100 ) * $percent ) * "{$operator}1"; - } else { - $field_value += $value * "{$operator}1"; - } - - $variation->{"set_$field"}( $field_value ); - $variation->save(); - } - } - - /** - * Bulk set convenience function. - * - * @param array $variations List of variations. - * @param string $field Field to set. - * @param string $value to set. - */ - private static function variation_bulk_set( $variations, $field, $value ) { - foreach ( $variations as $variation_id ) { - $variation = wc_get_product( $variation_id ); - $variation->{ "set_$field" }( wc_clean( $value ) ); - $variation->save(); - } - } - - /** - * Bulk toggle convenience function. - * - * @param array $variations List of variations. - * @param string $field Field to toggle. - */ - private static function variation_bulk_toggle( $variations, $field ) { - foreach ( $variations as $variation_id ) { - $variation = wc_get_product( $variation_id ); - $prev_value = $variation->{ "get_$field" }( 'edit' ); - $variation->{ "set_$field" }( ! $prev_value ); - $variation->save(); - } - } - - /** - * Bulk edit variations via AJAX. - * - * @uses BK_AJAX::variation_bulk_set() - * @uses BK_AJAX::variation_bulk_adjust_price() - * @uses BK_AJAX::variation_bulk_action_variable_sale_price_decrease() - * @uses BK_AJAX::variation_bulk_action_variable_sale_price_increase() - * @uses BK_AJAX::variation_bulk_action_variable_regular_price_decrease() - * @uses BK_AJAX::variation_bulk_action_variable_regular_price_increase() - * @uses BK_AJAX::variation_bulk_action_variable_sale_schedule() - * @uses BK_AJAX::variation_bulk_action_delete_all() - * @uses BK_AJAX::variation_bulk_action_variable_download_expiry() - * @uses BK_AJAX::variation_bulk_action_variable_download_limit() - * @uses BK_AJAX::variation_bulk_action_variable_height() - * @uses BK_AJAX::variation_bulk_action_variable_width() - * @uses BK_AJAX::variation_bulk_action_variable_length() - * @uses BK_AJAX::variation_bulk_action_variable_weight() - * @uses BK_AJAX::variation_bulk_action_variable_stock() - * @uses BK_AJAX::variation_bulk_action_variable_sale_price() - * @uses BK_AJAX::variation_bulk_action_variable_regular_price() - * @uses BK_AJAX::variation_bulk_action_toggle_manage_stock() - * @uses BK_AJAX::variation_bulk_action_toggle_virtual() - * @uses BK_AJAX::variation_bulk_action_toggle_downloadable() - * @uses BK_AJAX::variation_bulk_action_toggle_enabled - */ - public static function bulk_edit_variations() { - ob_start(); - - check_ajax_referer( 'bulk-edit-variations', 'security' ); - - // Check permissions again and make sure we have what we need. - if ( ! current_user_can( 'edit_products' ) || empty( $_POST['product_id'] ) || empty( $_POST['bulk_action'] ) ) { - wp_die( -1 ); - } - - $product_id = absint( $_POST['product_id'] ); - $bulk_action = wc_clean( wp_unslash( $_POST['bulk_action'] ) ); - $data = ! empty( $_POST['data'] ) ? wc_clean( wp_unslash( $_POST['data'] ) ) : array(); - $variations = array(); - - if ( apply_filters( 'woocommerce_bulk_edit_variations_need_children', true ) ) { - $variations = get_posts( - array( - 'post_parent' => $product_id, - 'posts_per_page' => -1, - 'post_type' => 'product_variation', - 'fields' => 'ids', - 'post_status' => array( 'publish', 'private' ), - ) - ); - } - - if ( method_exists( __CLASS__, "variation_bulk_action_$bulk_action" ) ) { - call_user_func( array( __CLASS__, "variation_bulk_action_$bulk_action" ), $variations, $data ); - } else { - do_action( 'woocommerce_bulk_edit_variations_default', $bulk_action, $data, $product_id, $variations ); - } - - do_action( 'woocommerce_bulk_edit_variations', $bulk_action, $data, $product_id, $variations ); - WC_Product_Variable::sync( $product_id ); - wc_delete_product_transients( $product_id ); - wp_die(); - } - - /** - * Handle submissions from assets/js/settings-views-html-settings-tax.js Backbone model. - */ - public static function tax_rates_save_changes() { - // phpcs:disable WordPress.Security.NonceVerification.NoNonceVerification - if ( ! isset( $_POST['wc_tax_nonce'], $_POST['changes'] ) ) { - wp_send_json_error( 'missing_fields' ); - wp_die(); - } - - $current_class = ! empty( $_POST['current_class'] ) ? wp_unslash( $_POST['current_class'] ) : ''; - - if ( ! wp_verify_nonce( wp_unslash( $_POST['wc_tax_nonce'] ), 'wc_tax_nonce-class:' . $current_class ) ) { - wp_send_json_error( 'bad_nonce' ); - wp_die(); - } - - $current_class = WC_Tax::format_tax_rate_class( $current_class ); - - // Check User Caps. - if ( ! current_user_can( 'manage_woocommerce' ) ) { - wp_send_json_error( 'missing_capabilities' ); - wp_die(); - } - - $changes = wp_unslash( sanitize_text_field( $_POST['changes'] ) ); - foreach ( $changes as $tax_rate_id => $data ) { - if ( isset( $data['deleted'] ) ) { - if ( isset( $data['newRow'] ) ) { - // So the user added and deleted a new row. - // That's fine, it's not in the database anyways. NEXT! - continue; - } - WC_Tax::_delete_tax_rate( $tax_rate_id ); - } - - $tax_rate = array_intersect_key( - $data, - array( - 'tax_rate_country' => 1, - 'tax_rate_state' => 1, - 'tax_rate' => 1, - 'tax_rate_name' => 1, - 'tax_rate_priority' => 1, - 'tax_rate_compound' => 1, - 'tax_rate_shipping' => 1, - 'tax_rate_order' => 1, - ) - ); - - if ( isset( $tax_rate['tax_rate'] ) ) { - $tax_rate['tax_rate'] = wc_format_decimal( $tax_rate['tax_rate'] ); - } - - if ( isset( $data['newRow'] ) ) { - $tax_rate['tax_rate_class'] = $current_class; - $tax_rate_id = WC_Tax::_insert_tax_rate( $tax_rate ); - } elseif ( ! empty( $tax_rate ) ) { - WC_Tax::_update_tax_rate( $tax_rate_id, $tax_rate ); - } - - if ( isset( $data['postcode'] ) ) { - $postcode = array_map( 'wc_clean', $data['postcode'] ); - $postcode = array_map( 'wc_normalize_postcode', $postcode ); - WC_Tax::_update_tax_rate_postcodes( $tax_rate_id, $postcode ); - } - if ( isset( $data['city'] ) ) { - WC_Tax::_update_tax_rate_cities( $tax_rate_id, array_map( 'wc_clean', array_map( 'wp_unslash', $data['city'] ) ) ); - } - } - - WC_Cache_Helper::incr_cache_prefix( 'taxes' ); - WC_Cache_Helper::get_transient_version( 'shipping', true ); - - wp_send_json_success( - array( - 'rates' => WC_Tax::get_rates_for_tax_class( $current_class ), - ) - ); - // phpcs:enable - } - - /** - * Handle submissions from assets/js/wc-shipping-zones.js Backbone model. - */ - public static function shipping_zones_save_changes() { - if ( ! isset( $_POST['wc_shipping_zones_nonce'], $_POST['changes'] ) ) { - wp_send_json_error( 'missing_fields' ); - wp_die(); - } - - if ( ! wp_verify_nonce( wp_unslash( $_POST['wc_shipping_zones_nonce'] ), 'wc_shipping_zones_nonce' ) ) { - wp_send_json_error( 'bad_nonce' ); - wp_die(); - } - - // Check User Caps. - if ( ! current_user_can( 'manage_woocommerce' ) ) { - wp_send_json_error( 'missing_capabilities' ); - wp_die(); - } - - $changes = wp_unslash( sanitize_text_field( $_POST['changes'] ) ); - foreach ( $changes as $zone_id => $data ) { - if ( isset( $data['deleted'] ) ) { - if ( isset( $data['newRow'] ) ) { - // So the user added and deleted a new row. - // That's fine, it's not in the database anyways. NEXT! - continue; - } - WC_Shipping_Zones::delete_zone( $zone_id ); - continue; - } - - $zone_data = array_intersect_key( - $data, - array( - 'zone_id' => 1, - 'zone_order' => 1, - ) - ); - - if ( isset( $zone_data['zone_id'] ) ) { - $zone = new WC_Shipping_Zone( $zone_data['zone_id'] ); - - if ( isset( $zone_data['zone_order'] ) ) { - $zone->set_zone_order( $zone_data['zone_order'] ); - } - - $zone->save(); - } - } - - wp_send_json_success( - array( - 'zones' => WC_Shipping_Zones::get_zones( 'json' ), - ) - ); - } - - /** - * Handle submissions from assets/js/wc-shipping-zone-methods.js Backbone model. - */ - public static function shipping_zone_add_method() { - if ( ! isset( $_POST['wc_shipping_zones_nonce'], $_POST['zone_id'], $_POST['method_id'] ) ) { - wp_send_json_error( 'missing_fields' ); - wp_die(); - } - - if ( ! wp_verify_nonce( wp_unslash( $_POST['wc_shipping_zones_nonce'] ), 'wc_shipping_zones_nonce' ) ) { - wp_send_json_error( 'bad_nonce' ); - wp_die(); - } - - // Check User Caps. - if ( ! current_user_can( 'manage_woocommerce' ) ) { - wp_send_json_error( 'missing_capabilities' ); - wp_die(); - } - - $zone_id = wc_clean( wp_unslash( $_POST['zone_id'] ) ); - $zone = new WC_Shipping_Zone( $zone_id ); - $instance_id = $zone->add_shipping_method( wc_clean( wp_unslash( $_POST['method_id'] ) ) ); - - wp_send_json_success( - array( - 'instance_id' => $instance_id, - 'zone_id' => $zone->get_id(), - 'zone_name' => $zone->get_zone_name(), - 'methods' => $zone->get_shipping_methods( false, 'json' ), - ) - ); - } - - /** - * Handle submissions from assets/js/wc-shipping-zone-methods.js Backbone model. - */ - public static function shipping_zone_methods_save_changes() { - if ( ! isset( $_POST['wc_shipping_zones_nonce'], $_POST['zone_id'], $_POST['changes'] ) ) { - wp_send_json_error( 'missing_fields' ); - wp_die(); - } - - if ( ! wp_verify_nonce( wp_unslash( $_POST['wc_shipping_zones_nonce'] ), 'wc_shipping_zones_nonce' ) ) { - wp_send_json_error( 'bad_nonce' ); - wp_die(); - } - - if ( ! current_user_can( 'manage_woocommerce' ) ) { - wp_send_json_error( 'missing_capabilities' ); - wp_die(); - } - - global $wpdb; - - $zone_id = wc_clean( wp_unslash( $_POST['zone_id'] ) ); - $zone = new WC_Shipping_Zone( $zone_id ); - $changes = wp_unslash( $_POST['changes'] ); - - if ( isset( $changes['zone_name'] ) ) { - $zone->set_zone_name( wc_clean( $changes['zone_name'] ) ); - } - - if ( isset( $changes['zone_locations'] ) ) { - $zone->clear_locations( array( 'state', 'country', 'continent' ) ); - $locations = array_filter( array_map( 'wc_clean', (array) $changes['zone_locations'] ) ); - foreach ( $locations as $location ) { - // Each posted location will be in the format type:code. - $location_parts = explode( ':', $location ); - switch ( $location_parts[0] ) { - case 'state': - $zone->add_location( $location_parts[1] . ':' . $location_parts[2], 'state' ); - break; - case 'country': - $zone->add_location( $location_parts[1], 'country' ); - break; - case 'continent': - $zone->add_location( $location_parts[1], 'continent' ); - break; - } - } - } - - if ( isset( $changes['zone_postcodes'] ) ) { - $zone->clear_locations( 'postcode' ); - $postcodes = array_filter( array_map( 'strtoupper', array_map( 'wc_clean', explode( "\n", $changes['zone_postcodes'] ) ) ) ); - foreach ( $postcodes as $postcode ) { - $zone->add_location( $postcode, 'postcode' ); - } - } - - if ( isset( $changes['methods'] ) ) { - foreach ( $changes['methods'] as $instance_id => $data ) { - $method_id = $wpdb->get_var( $wpdb->prepare( "SELECT method_id FROM {$wpdb->prefix}woocommerce_shipping_zone_methods WHERE instance_id = %d", $instance_id ) ); - - if ( isset( $data['deleted'] ) ) { - $shipping_method = WC_Shipping_Zones::get_shipping_method( $instance_id ); - $option_key = $shipping_method->get_instance_option_key(); - if ( $wpdb->delete( "{$wpdb->prefix}woocommerce_shipping_zone_methods", array( 'instance_id' => $instance_id ) ) ) { - delete_option( $option_key ); - do_action( 'woocommerce_shipping_zone_method_deleted', $instance_id, $method_id, $zone_id ); - } - continue; - } - - $method_data = array_intersect_key( - $data, - array( - 'method_order' => 1, - 'enabled' => 1, - ) - ); - - if ( isset( $method_data['method_order'] ) ) { - $wpdb->update( "{$wpdb->prefix}woocommerce_shipping_zone_methods", array( 'method_order' => absint( $method_data['method_order'] ) ), array( 'instance_id' => absint( $instance_id ) ) ); - } - - if ( isset( $method_data['enabled'] ) ) { - $is_enabled = absint( 'yes' === $method_data['enabled'] ); - if ( $wpdb->update( "{$wpdb->prefix}woocommerce_shipping_zone_methods", array( 'is_enabled' => $is_enabled ), array( 'instance_id' => absint( $instance_id ) ) ) ) { - do_action( 'woocommerce_shipping_zone_method_status_toggled', $instance_id, $method_id, $zone_id, $is_enabled ); - } - } - } - } - - $zone->save(); - - wp_send_json_success( - array( - 'zone_id' => $zone->get_id(), - 'zone_name' => $zone->get_zone_name(), - 'methods' => $zone->get_shipping_methods( false, 'json' ), - ) - ); - } - - /** - * Save method settings - */ - public static function shipping_zone_methods_save_settings() { - if ( ! isset( $_POST['wc_shipping_zones_nonce'], $_POST['instance_id'], $_POST['data'] ) ) { - wp_send_json_error( 'missing_fields' ); - wp_die(); - } - - if ( ! wp_verify_nonce( wp_unslash( $_POST['wc_shipping_zones_nonce'] ), 'wc_shipping_zones_nonce' ) ) { - wp_send_json_error( 'bad_nonce' ); - wp_die(); - } - - if ( ! current_user_can( 'manage_woocommerce' ) ) { - wp_send_json_error( 'missing_capabilities' ); - wp_die(); - } - - $instance_id = absint( $_POST['instance_id'] ); - $zone = WC_Shipping_Zones::get_zone_by( 'instance_id', $instance_id ); - $shipping_method = WC_Shipping_Zones::get_shipping_method( $instance_id ); - $shipping_method->set_post_data( wp_unslash( $_POST['data'] ) ); - $shipping_method->process_admin_options(); - - WC_Cache_Helper::get_transient_version( 'shipping', true ); - - wp_send_json_success( - array( - 'zone_id' => $zone->get_id(), - 'zone_name' => $zone->get_zone_name(), - 'methods' => $zone->get_shipping_methods( false, 'json' ), - 'errors' => $shipping_method->get_errors(), - ) - ); - } - - /** - * Handle submissions from assets/js/wc-shipping-classes.js Backbone model. - */ - public static function shipping_classes_save_changes() { - if ( ! isset( $_POST['wc_shipping_classes_nonce'], $_POST['changes'] ) ) { - wp_send_json_error( 'missing_fields' ); - wp_die(); - } - - if ( ! wp_verify_nonce( wp_unslash( $_POST['wc_shipping_classes_nonce'] ), 'wc_shipping_classes_nonce' ) ) { - wp_send_json_error( 'bad_nonce' ); - wp_die(); - } - - if ( ! current_user_can( 'manage_woocommerce' ) ) { - wp_send_json_error( 'missing_capabilities' ); - wp_die(); - } - - $changes = wp_unslash( $_POST['changes'] ); - - foreach ( $changes as $term_id => $data ) { - $term_id = absint( $term_id ); - - if ( isset( $data['deleted'] ) ) { - if ( isset( $data['newRow'] ) ) { - // So the user added and deleted a new row. - // That's fine, it's not in the database anyways. NEXT! - continue; - } - wp_delete_term( $term_id, 'product_shipping_class' ); - continue; - } - - $update_args = array(); - - if ( isset( $data['name'] ) ) { - $update_args['name'] = wc_clean( $data['name'] ); - } - - if ( isset( $data['slug'] ) ) { - $update_args['slug'] = wc_clean( $data['slug'] ); - } - - if ( isset( $data['description'] ) ) { - $update_args['description'] = wc_clean( $data['description'] ); - } - - if ( isset( $data['newRow'] ) ) { - $update_args = array_filter( $update_args ); - if ( empty( $update_args['name'] ) ) { - continue; - } - $inserted_term = wp_insert_term( $update_args['name'], 'product_shipping_class', $update_args ); - $term_id = is_wp_error( $inserted_term ) ? 0 : $inserted_term['term_id']; - } else { - wp_update_term( $term_id, 'product_shipping_class', $update_args ); - } - - do_action( 'woocommerce_shipping_classes_save_class', $term_id, $data ); - } - - $wc_shipping = WC_Shipping::instance(); - - wp_send_json_success( - array( - 'shipping_classes' => $wc_shipping->get_shipping_classes(), - ) - ); - } - - /** - * Toggle payment gateway on or off via AJAX. - * - * @since 3.4.0 - */ - public static function toggle_gateway_enabled() { - if ( current_user_can( 'manage_woocommerce' ) && check_ajax_referer( 'woocommerce-toggle-payment-gateway-enabled', 'security' ) && isset( $_POST['gateway_id'] ) ) { - // Load gateways. - $payment_gateways = WC()->payment_gateways->payment_gateways(); - - // Get posted gateway. - $gateway_id = wc_clean( wp_unslash( $_POST['gateway_id'] ) ); - - foreach ( $payment_gateways as $gateway ) { - if ( ! in_array( $gateway_id, array( $gateway->id, sanitize_title( get_class( $gateway ) ) ), true ) ) { - continue; - } - - $enabled = $gateway->get_option( 'enabled', 'no' ); - - if ( ! wc_string_to_bool( $enabled ) ) { - if ( $gateway->needs_setup() ) { - wp_send_json_error( 'needs_setup' ); - wp_die(); - - continue; - } - - $gateway->update_option( 'enabled', 'yes' ); - continue; - } - - // Disable the gateway. - $gateway->update_option( 'enabled', 'no' ); - - wp_send_json_success( ! wc_string_to_bool( $enabled ) ); - wp_die(); - } - } - - wp_send_json_error( 'invalid_gateway_id' ); - wp_die(); - } -} - -BK_AJAX::init(); diff --git a/index.php b/index.php index d2b180815..f66540d50 100755 --- a/index.php +++ b/index.php @@ -361,26 +361,6 @@ function buckaroo_test_credentials() { } } -require plugin_dir_path( __FILE__ ) . 'includes/admin/meta-boxes/class-wc-meta-box-order-capture.php'; - - -// Include the main Buckaroo class. -if ( ! class_exists( 'Buckaroo' ) ) { - include_once __DIR__ . '/includes/class-buckaroo.php'; -} - -/** - * Returns the main instance of WC. - * - * @return Buckaroo - */ -function BK() { - return Buckaroo::instance(); -} - -// Global for backwards compatibility. -$GLOBALS['buckaroo'] = BK(); - register_activation_hook( __FILE__, array( 'WC_Buckaroo_Install', 'install' ) ); register_deactivation_hook( __FILE__, 'buckaroo_deactivation' ); From a72971927b3935f282e6645ac562e7db02ce4ec3 Mon Sep 17 00:00:00 2001 From: "v.carkaxhija" Date: Thu, 11 Jul 2024 10:38:27 +0200 Subject: [PATCH 14/51] add missing parameters --- gateway-buckaroo.php | 1 + library/api/paymentmethods/blik/blik.php | 1 + library/api/paymentmethods/responsedefault.php | 2 ++ 3 files changed, 4 insertions(+) diff --git a/gateway-buckaroo.php b/gateway-buckaroo.php index fce9b9976..c5b3707b4 100644 --- a/gateway-buckaroo.php +++ b/gateway-buckaroo.php @@ -17,6 +17,7 @@ class WC_Gateway_Buckaroo extends WC_Payment_Gateway { public $currency; public $mode; public $country; + public $channel; public function __construct() { if ( ( ! is_admin() && ! checkCurrencySupported( $this->id ) ) || ( defined( 'DOING_AJAX' ) && ! checkCurrencySupported( $this->id ) ) ) { diff --git a/library/api/paymentmethods/blik/blik.php b/library/api/paymentmethods/blik/blik.php index 66e2d2a16..a5f423f18 100644 --- a/library/api/paymentmethods/blik/blik.php +++ b/library/api/paymentmethods/blik/blik.php @@ -5,6 +5,7 @@ * @package Buckaroo */ class BuckarooBlik extends BuckarooPaymentMethod { + public $channel; /** * @access public diff --git a/library/api/paymentmethods/responsedefault.php b/library/api/paymentmethods/responsedefault.php index ea87a2a38..fd95044b9 100644 --- a/library/api/paymentmethods/responsedefault.php +++ b/library/api/paymentmethods/responsedefault.php @@ -4,6 +4,8 @@ */ class BuckarooResponseDefault extends BuckarooResponse { public $transactionId; + public $order; + protected function _parseSoapResponseChild() { } From 1e525120c4b21edab74b30ea09118edbf2d797ea Mon Sep 17 00:00:00 2001 From: Sander <37146557+SandervdHulst@users.noreply.github.com> Date: Wed, 31 Jul 2024 08:51:42 +0200 Subject: [PATCH 15/51] BP-3661-Fix: Error 404 on blocks.js #277 (#278) --- index.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/index.php b/index.php index d2b180815..e2d51acb0 100755 --- a/index.php +++ b/index.php @@ -109,7 +109,11 @@ function buckaroo_payment_setup_scripts() { ) ); } - wp_enqueue_script( 'buckaroo-block-script', 'assets/js/dist/blocks.js', array( 'wp-blocks', 'wp-element' ) ); + wp_enqueue_script( + 'buckaroo-block-script', + plugin_dir_url( __FILE__ ) . 'assets/js/dist/blocks.js', + array( 'wp-blocks', 'wp-element' ) + ); } function get_type() { From 3b7779e73b27fdcb9f6e153cc0a6fbc6a168e08b Mon Sep 17 00:00:00 2001 From: Sander <37146557+SandervdHulst@users.noreply.github.com> Date: Mon, 26 Aug 2024 11:29:03 +0200 Subject: [PATCH 16/51] BP-3671-Adjust the default Riverty name for WooCommerce (#279) --- .../blocks/partials/buckaroo_afterpay_tos.js | 2 +- .../partials/buckaroo_terms_and_condition.js | 2 +- assets/js/dist/363.js | 2 +- assets/js/dist/377.js | 2 +- assets/js/dist/714.js | 2 +- gateway-buckaroo-afterpay.php | 10 ++--- gateway-buckaroo-afterpaynew.php | 12 +++--- languages/wc-buckaroo-bpe-gateway-de_DE.po | 24 ++++++------ languages/wc-buckaroo-bpe-gateway-fr_FR.po | 24 ++++++------ languages/wc-buckaroo-bpe-gateway-nl_NL.po | 39 +++++++++---------- languages/wc-buckaroo-bpe-gateway.pot | 22 +++++------ library/common.php | 6 +-- templates/gateways/partial_afterpay_tos.php | 8 ++-- 13 files changed, 77 insertions(+), 78 deletions(-) diff --git a/assets/js/blocks/partials/buckaroo_afterpay_tos.js b/assets/js/blocks/partials/buckaroo_afterpay_tos.js index beb519b17..da9c1f1b2 100644 --- a/assets/js/blocks/partials/buckaroo_afterpay_tos.js +++ b/assets/js/blocks/partials/buckaroo_afterpay_tos.js @@ -4,7 +4,7 @@ import { __ } from '@wordpress/i18n'; function AfterPayTos({ field }) { return (
    - {__('Accept Riverty | AfterPay conditions:', 'wc-buckaroo-bpe-gateway')} + {__('Accept Riverty conditions:', 'wc-buckaroo-bpe-gateway')} * {r.r(t),r.d(t,{default:()=>d});var n=r(1609),a=r.n(n),o=r(7723),c=r(1912),l=r(1471),i=r(1688),u=r(5591),m=r(6384),f=r(1288);function y(e){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y(e)}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.d(t,{A:()=>u});var n=r(1609);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.d(t,{A:()=>c});var n=r(1609),a=r.n(n),o=r(7723);const c=function(e){var t=e.methodName,r=e.handleChange;return a().createElement("p",{className:"form-row form-row-wide validate-required"},a().createElement("label",{htmlFor:"".concat(t,"-company-coc-registration")},(0,o.__)("CoC-number:","wc-buckaroo-bpe-gateway"),a().createElement("span",{className:"required"},"*")),a().createElement("input",{id:"".concat(t,"-company-coc-registration"),name:"".concat(t,"-company-coc-registration"),className:"input-text",type:"text",maxLength:"250",autoComplete:"off",onChange:r}))}},1688:(e,t,r)=>{r.d(t,{A:()=>c});var n=r(1609),a=r.n(n),o=r(7723);const c=function(e){return e.title,a().createElement("div",{style:{display:"block",fontSize:".8rem",clear:"both"}},(0,o.__)("Je moet minimaal 18+ zijn om deze dienst te gebruiken. Als je op tijd betaalt, voorkom je extra kosten en zorg je dat je in de toekomst nogmaals gebruik kunt maken van de diensten van {title}. Door verder te gaan, accepteer je de Algemene Voorwaarden en bevestig je dat je de Privacyverklaring en Cookieverklaring hebt gelezen.","wc-buckaroo-bpe-gateway"))}},1471:(e,t,r)=>{r.d(t,{A:()=>l});var n=r(1609),a=r.n(n),o=r(7723);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.d(t,{A:()=>u});var n=r(1609),a=r.n(n),o=r(9386),c=r.n(o),l=(r(596),r(7723));function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.d(t,{A:()=>l});var n=r(1609),a=r.n(n),o=r(7723);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r1&&void 0!==arguments[1]&&arguments[1]?"b2b_invoice":"invoice";return"".concat("https://documents.riverty.com/terms_conditions/payment_methods/").concat(r,"/").concat(t,"/")}(d,i);return"buckaroo-billink"===l&&(p=(0,o.__)("Accept terms of use","wc-buckaroo-bpe-gateway"),h="https://www.billink.nl/app/uploads/2021/05/Gebruikersvoorwaarden-Billink_V11052021.pdf"),a().createElement("div",null,a().createElement("a",{href:"".concat(h),target:"_blank",rel:"noreferrer"},p),a().createElement("span",{className:"required"},"*"),a().createElement("input",{id:"".concat(b,"-accept"),name:"".concat(b,"-accept"),type:"checkbox",checked:y,onChange:function(){s(!y),u(!y)}}),a().createElement("p",{className:"required",style:{float:"right"}},"* Required"))}}}]); \ No newline at end of file +"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[363],{1744:(e,t,r)=>{r.r(t),r.d(t,{default:()=>d});var n=r(1609),a=r.n(n),o=r(7723),c=r(1912),l=r(1471),i=r(1688),u=r(5591),m=r(6384),f=r(1288);function y(e){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y(e)}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.d(t,{A:()=>u});var n=r(1609);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.d(t,{A:()=>c});var n=r(1609),a=r.n(n),o=r(7723);const c=function(e){var t=e.methodName,r=e.handleChange;return a().createElement("p",{className:"form-row form-row-wide validate-required"},a().createElement("label",{htmlFor:"".concat(t,"-company-coc-registration")},(0,o.__)("CoC-number:","wc-buckaroo-bpe-gateway"),a().createElement("span",{className:"required"},"*")),a().createElement("input",{id:"".concat(t,"-company-coc-registration"),name:"".concat(t,"-company-coc-registration"),className:"input-text",type:"text",maxLength:"250",autoComplete:"off",onChange:r}))}},1688:(e,t,r)=>{r.d(t,{A:()=>c});var n=r(1609),a=r.n(n),o=r(7723);const c=function(e){return e.title,a().createElement("div",{style:{display:"block",fontSize:".8rem",clear:"both"}},(0,o.__)("Je moet minimaal 18+ zijn om deze dienst te gebruiken. Als je op tijd betaalt, voorkom je extra kosten en zorg je dat je in de toekomst nogmaals gebruik kunt maken van de diensten van {title}. Door verder te gaan, accepteer je de Algemene Voorwaarden en bevestig je dat je de Privacyverklaring en Cookieverklaring hebt gelezen.","wc-buckaroo-bpe-gateway"))}},1471:(e,t,r)=>{r.d(t,{A:()=>l});var n=r(1609),a=r.n(n),o=r(7723);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.d(t,{A:()=>u});var n=r(1609),a=r.n(n),o=r(9386),c=r.n(o),l=(r(596),r(7723));function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.d(t,{A:()=>l});var n=r(1609),a=r.n(n),o=r(7723);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r1&&void 0!==arguments[1]&&arguments[1]?"b2b_invoice":"invoice";return"".concat("https://documents.riverty.com/terms_conditions/payment_methods/").concat(r,"/").concat(t,"/")}(d,i);return"buckaroo-billink"===l&&(p=(0,o.__)("Accept terms of use","wc-buckaroo-bpe-gateway"),h="https://www.billink.nl/app/uploads/2021/05/Gebruikersvoorwaarden-Billink_V11052021.pdf"),a().createElement("div",null,a().createElement("a",{href:"".concat(h),target:"_blank",rel:"noreferrer"},p),a().createElement("span",{className:"required"},"*"),a().createElement("input",{id:"".concat(b,"-accept"),name:"".concat(b,"-accept"),type:"checkbox",checked:y,onChange:function(){s(!y),u(!y)}}),a().createElement("p",{className:"required",style:{float:"right"}},"* Required"))}}}]); \ No newline at end of file diff --git a/assets/js/dist/377.js b/assets/js/dist/377.js index 3d4fac67c..dff8cce2c 100644 --- a/assets/js/dist/377.js +++ b/assets/js/dist/377.js @@ -1 +1 @@ -"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[377],{8377:(e,t,r)=>{r.r(t),r.d(t,{default:()=>p});var n=r(1609),a=r.n(n),o=r(7723),c=r(1912),i=r(1688),l=r(5591),u=r(404),m=r(6384),f=r(1288);function y(e){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y(e)}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.d(t,{A:()=>u});var n=r(1609);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.d(t,{A:()=>c});var n=r(1609),a=r.n(n),o=r(7723);const c=function(e){var t=e.methodName,r=e.handleChange;return a().createElement("p",{className:"form-row form-row-wide validate-required"},a().createElement("label",{htmlFor:"".concat(t,"-company-coc-registration")},(0,o.__)("CoC-number:","wc-buckaroo-bpe-gateway"),a().createElement("span",{className:"required"},"*")),a().createElement("input",{id:"".concat(t,"-company-coc-registration"),name:"".concat(t,"-company-coc-registration"),className:"input-text",type:"text",maxLength:"250",autoComplete:"off",onChange:r}))}},1688:(e,t,r)=>{r.d(t,{A:()=>c});var n=r(1609),a=r.n(n),o=r(7723);const c=function(e){return e.title,a().createElement("div",{style:{display:"block",fontSize:".8rem",clear:"both"}},(0,o.__)("Je moet minimaal 18+ zijn om deze dienst te gebruiken. Als je op tijd betaalt, voorkom je extra kosten en zorg je dat je in de toekomst nogmaals gebruik kunt maken van de diensten van {title}. Door verder te gaan, accepteer je de Algemene Voorwaarden en bevestig je dat je de Privacyverklaring en Cookieverklaring hebt gelezen.","wc-buckaroo-bpe-gateway"))}},1912:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(1609),a=r.n(n),o=r(9386),c=r.n(o),i=(r(596),r(7723));function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.d(t,{A:()=>c});var n=r(1609),a=r.n(n),o=r(7723);const c=function(e){var t=e.paymentMethod,r=e.formState,n=e.handlePhoneChange;return a().createElement("div",{className:"form-row validate-required"},a().createElement("label",{htmlFor:"".concat(t,"-phone")},(0,o.__)("Phone Number:","wc-buckaroo-bpe-gateway"),a().createElement("span",{className:"required"},"*")),a().createElement("input",{id:"".concat(t,"-phone"),name:"".concat(t,"-phone"),className:"input-text",type:"tel",autoComplete:"off",value:r["".concat(t,"-phone")]||"",onChange:function(e){var t=e.target.value;n(t)}}))}},5591:(e,t,r)=>{r.d(t,{A:()=>i});var n=r(1609),a=r.n(n),o=r(7723);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r1&&void 0!==arguments[1]&&arguments[1]?"b2b_invoice":"invoice";return"".concat("https://documents.riverty.com/terms_conditions/payment_methods/").concat(r,"/").concat(t,"/")}(p,l);return"buckaroo-billink"===i&&(b=(0,o.__)("Accept terms of use","wc-buckaroo-bpe-gateway"),h="https://www.billink.nl/app/uploads/2021/05/Gebruikersvoorwaarden-Billink_V11052021.pdf"),a().createElement("div",null,a().createElement("a",{href:"".concat(h),target:"_blank",rel:"noreferrer"},b),a().createElement("span",{className:"required"},"*"),a().createElement("input",{id:"".concat(d,"-accept"),name:"".concat(d,"-accept"),type:"checkbox",checked:y,onChange:function(){s(!y),u(!y)}}),a().createElement("p",{className:"required",style:{float:"right"}},"* Required"))}}}]); \ No newline at end of file +"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[377],{8377:(e,t,r)=>{r.r(t),r.d(t,{default:()=>p});var n=r(1609),a=r.n(n),o=r(7723),c=r(1912),i=r(1688),l=r(5591),u=r(404),m=r(6384),f=r(1288);function y(e){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y(e)}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.d(t,{A:()=>u});var n=r(1609);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.d(t,{A:()=>c});var n=r(1609),a=r.n(n),o=r(7723);const c=function(e){var t=e.methodName,r=e.handleChange;return a().createElement("p",{className:"form-row form-row-wide validate-required"},a().createElement("label",{htmlFor:"".concat(t,"-company-coc-registration")},(0,o.__)("CoC-number:","wc-buckaroo-bpe-gateway"),a().createElement("span",{className:"required"},"*")),a().createElement("input",{id:"".concat(t,"-company-coc-registration"),name:"".concat(t,"-company-coc-registration"),className:"input-text",type:"text",maxLength:"250",autoComplete:"off",onChange:r}))}},1688:(e,t,r)=>{r.d(t,{A:()=>c});var n=r(1609),a=r.n(n),o=r(7723);const c=function(e){return e.title,a().createElement("div",{style:{display:"block",fontSize:".8rem",clear:"both"}},(0,o.__)("Je moet minimaal 18+ zijn om deze dienst te gebruiken. Als je op tijd betaalt, voorkom je extra kosten en zorg je dat je in de toekomst nogmaals gebruik kunt maken van de diensten van {title}. Door verder te gaan, accepteer je de Algemene Voorwaarden en bevestig je dat je de Privacyverklaring en Cookieverklaring hebt gelezen.","wc-buckaroo-bpe-gateway"))}},1912:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(1609),a=r.n(n),o=r(9386),c=r.n(o),i=(r(596),r(7723));function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.d(t,{A:()=>c});var n=r(1609),a=r.n(n),o=r(7723);const c=function(e){var t=e.paymentMethod,r=e.formState,n=e.handlePhoneChange;return a().createElement("div",{className:"form-row validate-required"},a().createElement("label",{htmlFor:"".concat(t,"-phone")},(0,o.__)("Phone Number:","wc-buckaroo-bpe-gateway"),a().createElement("span",{className:"required"},"*")),a().createElement("input",{id:"".concat(t,"-phone"),name:"".concat(t,"-phone"),className:"input-text",type:"tel",autoComplete:"off",value:r["".concat(t,"-phone")]||"",onChange:function(e){var t=e.target.value;n(t)}}))}},5591:(e,t,r)=>{r.d(t,{A:()=>i});var n=r(1609),a=r.n(n),o=r(7723);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r1&&void 0!==arguments[1]&&arguments[1]?"b2b_invoice":"invoice";return"".concat("https://documents.riverty.com/terms_conditions/payment_methods/").concat(r,"/").concat(t,"/")}(p,l);return"buckaroo-billink"===i&&(b=(0,o.__)("Accept terms of use","wc-buckaroo-bpe-gateway"),h="https://www.billink.nl/app/uploads/2021/05/Gebruikersvoorwaarden-Billink_V11052021.pdf"),a().createElement("div",null,a().createElement("a",{href:"".concat(h),target:"_blank",rel:"noreferrer"},b),a().createElement("span",{className:"required"},"*"),a().createElement("input",{id:"".concat(d,"-accept"),name:"".concat(d,"-accept"),type:"checkbox",checked:y,onChange:function(){s(!y),u(!y)}}),a().createElement("p",{className:"required",style:{float:"right"}},"* Required"))}}}]); \ No newline at end of file diff --git a/assets/js/dist/714.js b/assets/js/dist/714.js index bf5b179df..9b51b0a58 100644 --- a/assets/js/dist/714.js +++ b/assets/js/dist/714.js @@ -1 +1 @@ -"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[714],{1714:(e,t,r)=>{r.r(t),r.d(t,{default:()=>d});var n=r(1609),a=r.n(n),o=r(7723),c=r(1912),i=r(1688),l=r(5591);const u=function(e){var t=e.handleChange;return a().createElement("span",{id:"showB2BBuckaroo"},a().createElement("p",{className:"form-row form-row-wide validate-required"},(0,o.__)("Fill required fields if bill in on the company:","wc-buckaroo-bpe-gateway")),a().createElement("p",{className:"form-row form-row-wide validate-required"},a().createElement("label",{htmlFor:"buckaroo-afterpay-company-coc-registration"},(0,o.__)("COC (KvK) number:","wc-buckaroo-bpe-gateway"),a().createElement("span",{className:"required"},"*")),a().createElement("input",{id:"buckaroo-afterpay-company-coc-registration",name:"buckaroo-afterpay-company-coc-registration",className:"input-text",type:"text",maxLength:"250",autoComplete:"off",onChange:t})),a().createElement("p",{className:"form-row form-row-wide validate-required"},a().createElement("label",{htmlFor:"buckaroo-afterpay-company-name"},(0,o.__)("Name of the organization:","wc-buckaroo-bpe-gateway"),a().createElement("span",{className:"required"},"*")),a().createElement("input",{id:"buckaroo-afterpay-company-name",name:"buckaroo-afterpay-company-name",className:"input-text",type:"text",maxLength:"250",autoComplete:"off",onChange:t})))};var m=r(404),f=r(6384),p=r(1288);function y(e){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y(e)}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.d(t,{A:()=>u});var n=r(1609);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.d(t,{A:()=>c});var n=r(1609),a=r.n(n),o=r(7723);const c=function(e){var t=e.methodName,r=e.handleChange;return a().createElement("p",{className:"form-row form-row-wide validate-required"},a().createElement("label",{htmlFor:"".concat(t,"-company-coc-registration")},(0,o.__)("CoC-number:","wc-buckaroo-bpe-gateway"),a().createElement("span",{className:"required"},"*")),a().createElement("input",{id:"".concat(t,"-company-coc-registration"),name:"".concat(t,"-company-coc-registration"),className:"input-text",type:"text",maxLength:"250",autoComplete:"off",onChange:r}))}},1688:(e,t,r)=>{r.d(t,{A:()=>c});var n=r(1609),a=r.n(n),o=r(7723);const c=function(e){return e.title,a().createElement("div",{style:{display:"block",fontSize:".8rem",clear:"both"}},(0,o.__)("Je moet minimaal 18+ zijn om deze dienst te gebruiken. Als je op tijd betaalt, voorkom je extra kosten en zorg je dat je in de toekomst nogmaals gebruik kunt maken van de diensten van {title}. Door verder te gaan, accepteer je de Algemene Voorwaarden en bevestig je dat je de Privacyverklaring en Cookieverklaring hebt gelezen.","wc-buckaroo-bpe-gateway"))}},1912:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(1609),a=r.n(n),o=r(9386),c=r.n(o),i=(r(596),r(7723));function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.d(t,{A:()=>c});var n=r(1609),a=r.n(n),o=r(7723);const c=function(e){var t=e.paymentMethod,r=e.formState,n=e.handlePhoneChange;return a().createElement("div",{className:"form-row validate-required"},a().createElement("label",{htmlFor:"".concat(t,"-phone")},(0,o.__)("Phone Number:","wc-buckaroo-bpe-gateway"),a().createElement("span",{className:"required"},"*")),a().createElement("input",{id:"".concat(t,"-phone"),name:"".concat(t,"-phone"),className:"input-text",type:"tel",autoComplete:"off",value:r["".concat(t,"-phone")]||"",onChange:function(e){var t=e.target.value;n(t)}}))}},5591:(e,t,r)=>{r.d(t,{A:()=>i});var n=r(1609),a=r.n(n),o=r(7723);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r1&&void 0!==arguments[1]&&arguments[1]?"b2b_invoice":"invoice";return"".concat("https://documents.riverty.com/terms_conditions/payment_methods/").concat(r,"/").concat(t,"/")}(b,l);return"buckaroo-billink"===i&&(d=(0,o.__)("Accept terms of use","wc-buckaroo-bpe-gateway"),h="https://www.billink.nl/app/uploads/2021/05/Gebruikersvoorwaarden-Billink_V11052021.pdf"),a().createElement("div",null,a().createElement("a",{href:"".concat(h),target:"_blank",rel:"noreferrer"},d),a().createElement("span",{className:"required"},"*"),a().createElement("input",{id:"".concat(s,"-accept"),name:"".concat(s,"-accept"),type:"checkbox",checked:p,onChange:function(){y(!p),u(!p)}}),a().createElement("p",{className:"required",style:{float:"right"}},"* Required"))}}}]); \ No newline at end of file +"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[714],{1714:(e,t,r)=>{r.r(t),r.d(t,{default:()=>d});var n=r(1609),a=r.n(n),o=r(7723),c=r(1912),i=r(1688),l=r(5591);const u=function(e){var t=e.handleChange;return a().createElement("span",{id:"showB2BBuckaroo"},a().createElement("p",{className:"form-row form-row-wide validate-required"},(0,o.__)("Fill required fields if bill in on the company:","wc-buckaroo-bpe-gateway")),a().createElement("p",{className:"form-row form-row-wide validate-required"},a().createElement("label",{htmlFor:"buckaroo-afterpay-company-coc-registration"},(0,o.__)("COC (KvK) number:","wc-buckaroo-bpe-gateway"),a().createElement("span",{className:"required"},"*")),a().createElement("input",{id:"buckaroo-afterpay-company-coc-registration",name:"buckaroo-afterpay-company-coc-registration",className:"input-text",type:"text",maxLength:"250",autoComplete:"off",onChange:t})),a().createElement("p",{className:"form-row form-row-wide validate-required"},a().createElement("label",{htmlFor:"buckaroo-afterpay-company-name"},(0,o.__)("Name of the organization:","wc-buckaroo-bpe-gateway"),a().createElement("span",{className:"required"},"*")),a().createElement("input",{id:"buckaroo-afterpay-company-name",name:"buckaroo-afterpay-company-name",className:"input-text",type:"text",maxLength:"250",autoComplete:"off",onChange:t})))};var m=r(404),f=r(6384),p=r(1288);function y(e){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y(e)}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.d(t,{A:()=>u});var n=r(1609);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.d(t,{A:()=>c});var n=r(1609),a=r.n(n),o=r(7723);const c=function(e){var t=e.methodName,r=e.handleChange;return a().createElement("p",{className:"form-row form-row-wide validate-required"},a().createElement("label",{htmlFor:"".concat(t,"-company-coc-registration")},(0,o.__)("CoC-number:","wc-buckaroo-bpe-gateway"),a().createElement("span",{className:"required"},"*")),a().createElement("input",{id:"".concat(t,"-company-coc-registration"),name:"".concat(t,"-company-coc-registration"),className:"input-text",type:"text",maxLength:"250",autoComplete:"off",onChange:r}))}},1688:(e,t,r)=>{r.d(t,{A:()=>c});var n=r(1609),a=r.n(n),o=r(7723);const c=function(e){return e.title,a().createElement("div",{style:{display:"block",fontSize:".8rem",clear:"both"}},(0,o.__)("Je moet minimaal 18+ zijn om deze dienst te gebruiken. Als je op tijd betaalt, voorkom je extra kosten en zorg je dat je in de toekomst nogmaals gebruik kunt maken van de diensten van {title}. Door verder te gaan, accepteer je de Algemene Voorwaarden en bevestig je dat je de Privacyverklaring en Cookieverklaring hebt gelezen.","wc-buckaroo-bpe-gateway"))}},1912:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(1609),a=r.n(n),o=r(9386),c=r.n(o),i=(r(596),r(7723));function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.d(t,{A:()=>c});var n=r(1609),a=r.n(n),o=r(7723);const c=function(e){var t=e.paymentMethod,r=e.formState,n=e.handlePhoneChange;return a().createElement("div",{className:"form-row validate-required"},a().createElement("label",{htmlFor:"".concat(t,"-phone")},(0,o.__)("Phone Number:","wc-buckaroo-bpe-gateway"),a().createElement("span",{className:"required"},"*")),a().createElement("input",{id:"".concat(t,"-phone"),name:"".concat(t,"-phone"),className:"input-text",type:"tel",autoComplete:"off",value:r["".concat(t,"-phone")]||"",onChange:function(e){var t=e.target.value;n(t)}}))}},5591:(e,t,r)=>{r.d(t,{A:()=>i});var n=r(1609),a=r.n(n),o=r(7723);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r1&&void 0!==arguments[1]&&arguments[1]?"b2b_invoice":"invoice";return"".concat("https://documents.riverty.com/terms_conditions/payment_methods/").concat(r,"/").concat(t,"/")}(b,l);return"buckaroo-billink"===i&&(d=(0,o.__)("Accept terms of use","wc-buckaroo-bpe-gateway"),h="https://www.billink.nl/app/uploads/2021/05/Gebruikersvoorwaarden-Billink_V11052021.pdf"),a().createElement("div",null,a().createElement("a",{href:"".concat(h),target:"_blank",rel:"noreferrer"},d),a().createElement("span",{className:"required"},"*"),a().createElement("input",{id:"".concat(s,"-accept"),name:"".concat(s,"-accept"),type:"checkbox",checked:p,onChange:function(){y(!p),u(!p)}}),a().createElement("p",{className:"required",style:{float:"right"}},"* Required"))}}}]); \ No newline at end of file diff --git a/gateway-buckaroo-afterpay.php b/gateway-buckaroo-afterpay.php index c1fc4ccb0..7f769bc9c 100644 --- a/gateway-buckaroo-afterpay.php +++ b/gateway-buckaroo-afterpay.php @@ -18,9 +18,9 @@ class WC_Gateway_Buckaroo_Afterpay extends WC_Gateway_Buckaroo { public function __construct() { $this->id = 'buckaroo_afterpay'; - $this->title = 'Riverty | AfterPay'; + $this->title = 'Riverty'; $this->has_fields = false; - $this->method_title = 'Buckaroo Riverty | AfterPay'; + $this->method_title = 'Buckaroo Riverty'; $this->setIcon( 'afterpay.png', 'svg/afterpay.svg' ); $this->setCountry(); @@ -409,7 +409,7 @@ public function init_form_fields() { $this->add_financial_warning_field(); $this->form_fields['service'] = array( - 'title' => __( 'Select afterpay service', 'wc-buckaroo-bpe-gateway' ), + 'title' => __( 'Select Riverty service', 'wc-buckaroo-bpe-gateway' ), 'type' => 'select', 'description' => __( 'Please select the service', 'wc-buckaroo-bpe-gateway' ), 'options' => array( @@ -420,7 +420,7 @@ public function init_form_fields() { ); $this->form_fields['enable_bb'] = array( - 'title' => __( 'Enable B2B option for Riverty | AfterPay', 'wc-buckaroo-bpe-gateway' ), + 'title' => __( 'Enable B2B option for Riverty', 'wc-buckaroo-bpe-gateway' ), 'type' => 'select', 'description' => __( 'Enables or disables possibility to pay using company credentials', 'wc-buckaroo-bpe-gateway' ), 'options' => array( @@ -445,7 +445,7 @@ public function init_form_fields() { ); $this->form_fields['afterpaypayauthorize'] = array( - 'title' => __( 'AfterPay Pay or Capture', 'wc-buckaroo-bpe-gateway' ), + 'title' => __( 'Riverty Pay or Capture', 'wc-buckaroo-bpe-gateway' ), 'type' => 'select', 'description' => __( 'Choose to execute Pay or Capture call', 'wc-buckaroo-bpe-gateway' ), 'options' => array( diff --git a/gateway-buckaroo-afterpaynew.php b/gateway-buckaroo-afterpaynew.php index cb67bd0c1..0b327abab 100644 --- a/gateway-buckaroo-afterpaynew.php +++ b/gateway-buckaroo-afterpaynew.php @@ -23,9 +23,9 @@ class WC_Gateway_Buckaroo_Afterpaynew extends WC_Gateway_Buckaroo { public function __construct() { $this->id = 'buckaroo_afterpaynew'; - $this->title = 'Riverty | AfterPay'; + $this->title = 'Riverty'; $this->has_fields = false; - $this->method_title = 'Buckaroo Riverty | AfterPay New'; + $this->method_title = 'Buckaroo Riverty New'; $this->setIcon( 'afterpay.png', 'svg/afterpay.svg' ); $this->setCountry(); @@ -192,7 +192,7 @@ public function process_partial_refunds( $order_id, $amount = null, $reason = '' } if ( ! ( count( $products ) > 0 ) ) { - return new WP_Error( 'error_refund_afterpay_no_products', __( 'To refund an Riverty | AfterPay transaction you need to refund at least one product.' ) ); + return new WP_Error( 'error_refund_afterpay_no_products', __( 'To refund an Riverty transaction you need to refund at least one product.' ) ); } try { @@ -488,7 +488,7 @@ public function init_form_fields() { parent::init_form_fields(); $this->add_financial_warning_field(); $this->form_fields['afterpaynewpayauthorize'] = array( - 'title' => __( 'Riverty | AfterPay Pay or Capture', 'wc-buckaroo-bpe-gateway' ), + 'title' => __( 'Riverty Pay or Capture', 'wc-buckaroo-bpe-gateway' ), 'type' => 'select', 'description' => __( 'Choose to execute Pay or Capture call', 'wc-buckaroo-bpe-gateway' ), 'options' => array( @@ -510,9 +510,9 @@ public function init_form_fields() { 'desc_tip' => 'Product images are only shown when they are available in JPG or PNG format', ); $this->form_fields['customer_type'] = array( - 'title' => __( 'Riverty | AfterPay customer type', 'wc-buckaroo-bpe-gateway' ), + 'title' => __( 'Riverty customer type', 'wc-buckaroo-bpe-gateway' ), 'type' => 'select', - 'description' => __( 'This setting determines whether you accept Riverty | AfterPay payments for B2C, B2B or both customer types. When B2B is selected, this method is only shown when a company name is entered in the checkout process.', 'wc-buckaroo-bpe-gateway' ), + 'description' => __( 'This setting determines whether you accept Riverty payments for B2C, B2B or both customer types. When B2B is selected, this method is only shown when a company name is entered in the checkout process.', 'wc-buckaroo-bpe-gateway' ), 'options' => array( self::CUSTOMER_TYPE_BOTH => __( 'Both' ), self::CUSTOMER_TYPE_B2C => __( 'B2C (Business-to-consumer)' ), diff --git a/languages/wc-buckaroo-bpe-gateway-de_DE.po b/languages/wc-buckaroo-bpe-gateway-de_DE.po index 503b96817..1e028d7bf 100755 --- a/languages/wc-buckaroo-bpe-gateway-de_DE.po +++ b/languages/wc-buckaroo-bpe-gateway-de_DE.po @@ -52,7 +52,7 @@ msgstr "" #: templates/gateways/partial_afterpay_tos.php:53 #: templates/gateways/partial_afterpay_tos.php:57 -msgid "Accept Riverty | AfterPay conditions:" +msgid "Accept Riverty conditions:" msgstr "" #: templates/gateways/billink.php:57 templates/gateways/billink.php:81 @@ -64,7 +64,7 @@ msgid "According to iDIN you are under 18 years old" msgstr "Laut iDIN sind sie unter 18 jahre alt" #: gateway-buckaroo-afterpay.php:449 -msgid "AfterPay Pay or Capture" +msgid "Riverty Pay or Capture" msgstr "" #: templates/idin/checkout.php:8 templates/idin/checkout.php:26 @@ -361,7 +361,7 @@ msgid "Enable %s Payment Method" msgstr "" #: gateway-buckaroo-afterpay.php:430 -msgid "Enable B2B option for Riverty | AfterPay" +msgid "Enable B2B option for Riverty" msgstr "" #: gateway-buckaroo-paypal.php:117 @@ -773,11 +773,11 @@ msgid "Required" msgstr "" #: gateway-buckaroo-afterpaynew.php:520 -msgid "Riverty | AfterPay customer type" +msgid "Riverty customer type" msgstr "" #: gateway-buckaroo-afterpaynew.php:504 -msgid "Riverty | AfterPay Pay or Capture" +msgid "Riverty Pay or Capture" msgstr "" #: gateway-buckaroo-mastersettings.php:59 @@ -789,7 +789,7 @@ msgid "Select a credit or debit card." msgstr "Wählen Sie eine Kreditkarte." #: gateway-buckaroo-afterpay.php:423 -msgid "Select afterpay service" +msgid "Select Riverty service" msgstr "" #: gateway-buckaroo.php:433 @@ -1034,7 +1034,7 @@ msgstr "" #: gateway-buckaroo-afterpaynew.php:522 msgid "" -"This setting determines whether you accept Riverty | AfterPay payments for " +"This setting determines whether you accept Riverty payments for " "B2C, B2B or both customer types. When B2B is selected, this method is only " "shown when a company name is entered in the checkout process." msgstr "" @@ -1095,11 +1095,11 @@ msgstr "" #: library/common.php:281 library/common.php:304 library/common.php:471 msgid "" -"We are sorry to inform you that the request to pay afterwards with Riverty | " -"AfterPay is not possible at this time. This can be due to various (temporary)" -" reasons. For questions about your rejection you can contact the customer " -"service of Riverty | AfterPay. Or you can visit the website of Riverty | " -"AfterPay and check the 'Frequently asked questions' through this link. We advise you to choose another payment method " "to complete your order." diff --git a/languages/wc-buckaroo-bpe-gateway-fr_FR.po b/languages/wc-buckaroo-bpe-gateway-fr_FR.po index 7bcfc53c8..3b5cb94f0 100755 --- a/languages/wc-buckaroo-bpe-gateway-fr_FR.po +++ b/languages/wc-buckaroo-bpe-gateway-fr_FR.po @@ -52,7 +52,7 @@ msgstr "" #: templates/gateways/partial_afterpay_tos.php:53 #: templates/gateways/partial_afterpay_tos.php:57 -msgid "Accept Riverty | AfterPay conditions:" +msgid "Accept Riverty conditions:" msgstr "" #: templates/gateways/billink.php:57 templates/gateways/billink.php:81 @@ -64,7 +64,7 @@ msgid "According to iDIN you are under 18 years old" msgstr "Selon iDIN, vous avez moins de 18 ans" #: gateway-buckaroo-afterpay.php:449 -msgid "AfterPay Pay or Capture" +msgid "Riverty Pay or Capture" msgstr "" #: templates/idin/checkout.php:8 templates/idin/checkout.php:26 @@ -360,7 +360,7 @@ msgid "Enable %s Payment Method" msgstr "" #: gateway-buckaroo-afterpay.php:430 -msgid "Enable B2B option for Riverty | AfterPay" +msgid "Enable B2B option for Riverty" msgstr "" #: gateway-buckaroo-paypal.php:117 @@ -772,11 +772,11 @@ msgid "Required" msgstr "" #: gateway-buckaroo-afterpaynew.php:520 -msgid "Riverty | AfterPay customer type" +msgid "Riverty customer type" msgstr "" #: gateway-buckaroo-afterpaynew.php:504 -msgid "Riverty | AfterPay Pay or Capture" +msgid "Riverty Pay or Capture" msgstr "" #: gateway-buckaroo-mastersettings.php:59 @@ -788,7 +788,7 @@ msgid "Select a credit or debit card." msgstr "Sélectionnez une carte de crédit ou de débit" #: gateway-buckaroo-afterpay.php:423 -msgid "Select afterpay service" +msgid "Select Riverty service" msgstr "" #: gateway-buckaroo.php:433 @@ -1034,7 +1034,7 @@ msgstr "" #: gateway-buckaroo-afterpaynew.php:522 msgid "" -"This setting determines whether you accept Riverty | AfterPay payments for " +"This setting determines whether you accept Riverty payments for " "B2C, B2B or both customer types. When B2B is selected, this method is only " "shown when a company name is entered in the checkout process." msgstr "" @@ -1095,11 +1095,11 @@ msgstr "" #: library/common.php:281 library/common.php:304 library/common.php:471 msgid "" -"We are sorry to inform you that the request to pay afterwards with Riverty | " -"AfterPay is not possible at this time. This can be due to various (temporary)" -" reasons. For questions about your rejection you can contact the customer " -"service of Riverty | AfterPay. Or you can visit the website of Riverty | " -"AfterPay and check the 'Frequently asked questions' through this link. We advise you to choose another payment method " "to complete your order." diff --git a/languages/wc-buckaroo-bpe-gateway-nl_NL.po b/languages/wc-buckaroo-bpe-gateway-nl_NL.po index b6cd4558e..544fe5757 100755 --- a/languages/wc-buckaroo-bpe-gateway-nl_NL.po +++ b/languages/wc-buckaroo-bpe-gateway-nl_NL.po @@ -55,8 +55,8 @@ msgstr "" #: templates/gateways/partial_afterpay_tos.php:53 #: templates/gateways/partial_afterpay_tos.php:57 -msgid "Accept Riverty | AfterPay conditions:" -msgstr "Riverty | AfterPay voorwaarden accepteren:" +msgid "Accept Riverty conditions:" +msgstr "Riverty voorwaarden accepteren:" #: templates/gateways/billink.php:57 templates/gateways/billink.php:81 msgid "Accept terms of use" @@ -67,7 +67,7 @@ msgid "According to iDIN you are under 18 years old" msgstr "Volgens iDIN ben je jonger dan 18 jaar" #: gateway-buckaroo-afterpay.php:449 -msgid "AfterPay Pay or Capture" +msgid "Riverty Pay or Capture" msgstr "" #: templates/idin/checkout.php:8 templates/idin/checkout.php:26 @@ -377,8 +377,8 @@ msgid "Enable %s Payment Method" msgstr "Betaalmethode %s inschakelen" #: gateway-buckaroo-afterpay.php:430 -msgid "Enable B2B option for Riverty | AfterPay" -msgstr "Zet B2B aan voor Riverty | AfterPay" +msgid "Enable B2B option for Riverty" +msgstr "Zet B2B aan voor Riverty" #: gateway-buckaroo-paypal.php:117 msgid "Enable PayPal express for the following pages." @@ -760,7 +760,7 @@ msgstr "Kies standaard BTW type voor uw producten" #: gateway-buckaroo-afterpay.php:425 msgid "Please select the service" -msgstr "Kies de gewenste Riverty | AfterPay service" +msgstr "Kies de gewenste Riverty service" #: gateway-buckaroo-paypal.php:120 msgid "Product page" @@ -805,12 +805,12 @@ msgid "Required" msgstr "Verplicht" #: gateway-buckaroo-afterpaynew.php:520 -msgid "Riverty | AfterPay customer type" +msgid "Riverty customer type" msgstr "" #: gateway-buckaroo-afterpaynew.php:504 -msgid "Riverty | AfterPay Pay or Capture" -msgstr "Riverty | AfterPay Pay of Capture" +msgid "Riverty Pay or Capture" +msgstr "Riverty Pay of Capture" #: gateway-buckaroo-mastersettings.php:59 msgid "Secret key" @@ -821,8 +821,8 @@ msgid "Select a credit or debit card." msgstr "Selecteer een CreditCard." #: gateway-buckaroo-afterpay.php:423 -msgid "Select afterpay service" -msgstr "Kies Riverty | AfterPay service" +msgid "Select Riverty service" +msgstr "Kies Riverty service" #: gateway-buckaroo.php:433 msgid "Select Certificate" @@ -1085,7 +1085,7 @@ msgstr "Deze betaalmethode wordt niet ondersteund voor de geselecteerde valuta" #: gateway-buckaroo-afterpaynew.php:522 msgid "" -"This setting determines whether you accept Riverty | AfterPay payments for " +"This setting determines whether you accept Riverty payments for " "B2C, B2B or both customer types. When B2B is selected, this method is only " "shown when a company name is entered in the checkout process." msgstr "" @@ -1146,20 +1146,19 @@ msgstr "WC Buckaroo BPE Gateway" #: library/common.php:281 library/common.php:304 library/common.php:471 msgid "" -"We are sorry to inform you that the request to pay afterwards with Riverty | " -"AfterPay is not possible at this time. This can be due to various (temporary)" -" reasons. For questions about your rejection you can contact the customer " -"service of Riverty | AfterPay. Or you can visit the website of Riverty | " -"AfterPay and check the 'Frequently asked questions' through this link. We advise you to choose another payment method " "to complete your order." msgstr "" "Het spijt ons u te moeten mededelen dat het verzoek om achteraf te betalen " -"met Riverty | AfterPay op dit moment niet mogelijk is. Dit kan verschillende " +"met Riverty op dit moment niet mogelijk is. Dit kan verschillende " "(tijdelijke) redenen hebben. Voor vragen over uw afwijzing kunt u contact " -"opnemen met de klantenservice van Riverty | AfterPay. Of bezoek de website " -"van Riverty | AfterPay en bekijk de 'Veelgestelde vragen' via deze link . Wij adviseren u om een ​​andere betaalmethode " "te kiezen om uw bestelling af te ronden." diff --git a/languages/wc-buckaroo-bpe-gateway.pot b/languages/wc-buckaroo-bpe-gateway.pot index d4fc142fa..c05e1fe8d 100755 --- a/languages/wc-buckaroo-bpe-gateway.pot +++ b/languages/wc-buckaroo-bpe-gateway.pot @@ -54,7 +54,7 @@ msgstr "" #: templates/gateways/partial_afterpay_tos.php:53 #: templates/gateways/partial_afterpay_tos.php:57 -msgid "Accept Riverty | AfterPay conditions:" +msgid "Accept Riverty conditions:" msgstr "" #: templates/gateways/billink.php:57 templates/gateways/billink.php:81 @@ -66,7 +66,7 @@ msgid "According to iDIN you are under 18 years old" msgstr "" #: gateway-buckaroo-afterpay.php:449 -msgid "AfterPay Pay or Capture" +msgid "Riverty Pay or Capture" msgstr "" #: templates/idin/checkout.php:8 templates/idin/checkout.php:26 @@ -359,7 +359,7 @@ msgid "Enable %s Payment Method" msgstr "" #: gateway-buckaroo-afterpay.php:430 -msgid "Enable B2B option for Riverty | AfterPay" +msgid "Enable B2B option for Riverty" msgstr "" #: gateway-buckaroo-paypal.php:117 @@ -767,11 +767,11 @@ msgid "Required" msgstr "" #: gateway-buckaroo-afterpaynew.php:520 -msgid "Riverty | AfterPay customer type" +msgid "Riverty customer type" msgstr "" #: gateway-buckaroo-afterpaynew.php:504 -msgid "Riverty | AfterPay Pay or Capture" +msgid "Riverty Pay or Capture" msgstr "" #: gateway-buckaroo-mastersettings.php:59 @@ -783,7 +783,7 @@ msgid "Select a credit or debit card." msgstr "" #: gateway-buckaroo-afterpay.php:423 -msgid "Select afterpay service" +msgid "Select Riverty service" msgstr "" #: gateway-buckaroo.php:433 @@ -1024,7 +1024,7 @@ msgstr "" #: gateway-buckaroo-afterpaynew.php:522 msgid "" -"This setting determines whether you accept Riverty | AfterPay payments for " +"This setting determines whether you accept Riverty payments for " "B2C, B2B or both customer types. When B2B is selected, this method is only " "shown when a company name is entered in the checkout process." msgstr "" @@ -1085,11 +1085,11 @@ msgstr "" #: library/common.php:281 library/common.php:304 library/common.php:471 msgid "" -"We are sorry to inform you that the request to pay afterwards with Riverty | " -"AfterPay is not possible at this time. This can be due to various (temporary)" +"We are sorry to inform you that the request to pay afterwards with Riverty " +"is not possible at this time. This can be due to various (temporary)" " reasons. For questions about your rejection you can contact the customer " -"service of Riverty | AfterPay. Or you can visit the website of Riverty | " -"AfterPay and check the 'Frequently asked questions' through this link. We advise you to choose another payment method " "to complete your order." diff --git a/library/common.php b/library/common.php index 2e008a78c..1f4f13f37 100644 --- a/library/common.php +++ b/library/common.php @@ -284,7 +284,7 @@ function fn_buckaroo_process_response_push($payment_method = null, $response = ' if ($response->payment_method == 'afterpaydigiaccept' && $response->statuscode == BuckarooAbstract::CODE_REJECTED) { wc_add_notice( __( - "We are sorry to inform you that the request to pay afterwards with Riverty | AfterPay is not possible at this time. This can be due to various (temporary) reasons. For questions about your rejection you can contact the customer service of Riverty | AfterPay. Or you can visit the website of Riverty | AfterPay and check the 'Frequently asked questions' through this link. We advise you to choose another payment method to complete your order.", + "We are sorry to inform you that the request to pay afterwards with Riverty is not possible at this time. This can be due to various (temporary) reasons. For questions about your rejection you can contact the customer service of Riverty. Or you can visit the website of Riverty and check the 'Frequently asked questions' through this link. We advise you to choose another payment method to complete your order.", 'wc-buckaroo-bpe-gateway' ), 'error' @@ -307,7 +307,7 @@ function fn_buckaroo_process_response_push($payment_method = null, $response = ' if ($response->payment_method == 'afterpaydigiaccept' && $response->statuscode == BuckarooAbstract::CODE_REJECTED) { wc_add_notice( __( - "We are sorry to inform you that the request to pay afterwards with Riverty | AfterPay is not possible at this time. This can be due to various (temporary) reasons. For questions about your rejection you can contact the customer service of Riverty | AfterPay. Or you can visit the website of Riverty | AfterPay and check the 'Frequently asked questions' through this link. We advise you to choose another payment method to complete your order.", + "We are sorry to inform you that the request to pay afterwards with Riverty is not possible at this time. This can be due to various (temporary) reasons. For questions about your rejection you can contact the customer service of Riverty. Or you can visit the website of Riverty and check the 'Frequently asked questions' through this link. We advise you to choose another payment method to complete your order.", 'wc-buckaroo-bpe-gateway' ), 'error' @@ -474,7 +474,7 @@ function fn_buckaroo_process_response($payment_method = null, $response = '', $m if ($response->payment_method == 'afterpaydigiaccept' && $response->statuscode == BuckarooAbstract::CODE_REJECTED) { wc_add_notice( __( - "We are sorry to inform you that the request to pay afterwards with Riverty | AfterPay is not possible at this time. This can be due to various (temporary) reasons. For questions about your rejection you can contact the customer service of Riverty | AfterPay. Or you can visit the website of Riverty | AfterPay and check the 'Frequently asked questions' through this link. We advise you to choose another payment method to complete your order.", + "We are sorry to inform you that the request to pay afterwards with Riverty is not possible at this time. This can be due to various (temporary) reasons. For questions about your rejection you can contact the customer service of Riverty. Or you can visit the website of Riverty and check the 'Frequently asked questions' through this link. We advise you to choose another payment method to complete your order.", 'wc-buckaroo-bpe-gateway' ), 'error' diff --git a/templates/gateways/partial_afterpay_tos.php b/templates/gateways/partial_afterpay_tos.php index cdeeae386..bebf6f6a8 100644 --- a/templates/gateways/partial_afterpay_tos.php +++ b/templates/gateways/partial_afterpay_tos.php @@ -20,11 +20,11 @@ 'BE' => array( array( 'link' => 'https://documents.myafterpay.com/consumer-terms-conditions/nl_be/', - 'label' => 'Riverty | AfterPay conditions (Dutch)', + 'label' => 'Riverty conditions (Dutch)', ), array( 'link' => 'https://documents.myafterpay.com/consumer-terms-conditions/fr_be/', - 'label' => 'Riverty | AfterPay conditions (French)', + 'label' => 'Riverty conditions (French)', ), ), 'DE' => 'https://documents.myafterpay.com/consumer-terms-conditions/de_at/', @@ -50,11 +50,11 @@ - + * From de6ff47f72d3b284f238b408b76d9d1610ed8ed5 Mon Sep 17 00:00:00 2001 From: "g.prenaj" Date: Wed, 18 Sep 2024 14:03:09 +0200 Subject: [PATCH 17/51] change afterpay logo to new logo --- library/buckaroo_images/afterpay.png | Bin 4039 -> 2166 bytes library/buckaroo_images/svg/afterpay.svg | 341 ++++++++++++----------- 2 files changed, 185 insertions(+), 156 deletions(-) diff --git a/library/buckaroo_images/afterpay.png b/library/buckaroo_images/afterpay.png index eacc17e3ffcb4a91c810b97941dea4e31c14fbcb..a0b35ae168df90f734568192272f8979156aecf1 100644 GIT binary patch delta 1366 zcmZ{jeLT|%9LKjA*R5QVmlClTF0O0rx0!8DY;2xRrjkh~jf~VP56g=7^Az1^R6E_c zMdQ#R4}~lb(GW2T5ixnV?mR~^X6M`={c(Tv{pbCCeLkPp>-*35(`vM=mHv7^(E^PM zM5ED2JkbKc1A!PklM!$Li9us9mS}<{V2#3HY_K>RE1&|(fFg<3RIHOD6=#hnS_1%; z>OcUzF=Wc^IGDlbkkuDMbufnM=AF|FCZ2#|5CHk;cx&70Pr{h zmO&)o0+_cQ)Y8Gp75*~_1b*F>LiXYe&WJ#F0o$Ne9u*u{$nyS4n7Y_h*zF-fCbkKx zdNdwiQ;~jtz1=TUxATo9j~LFfDa@}RmVZjt3UGx@ntJndV6O1?a{{l7M1v6CI-zWQ zjcb(sWcVdnqt(xTq;wX0S83O^@{ZFmryO4$Pulk_h=p2&P!F1h))ekO+=v{>IqD@U zJSbk~?FrX>8%Or4D>OdbwoP6HFB0nB*V9khnyy(XcJByn0`4EzH-J5wD(lATXWye^ z``Z_eQiq$}WB47m#}F>Tx?B^#7qkX{zzy1u`D&v?-IqB^kJK3rHjjmw$9h84wGcTF z2PmjR+7z~^dqVC(5J(*oH1V^mxPUoxK*a3a;y5P}8FrPl9ZHz2?rHxpJ-ry#lbSU= zXthVPidlO@*m#c<)c;ViTu>^yI-f#oewIRKfNTI^KR9`g#`8;R)y`g2DA$VXT;z{> zOIU8BUNf@&OB`0uihqDJ__uz0c|v?~I9%Oh^@Xx4duN*F3w)E!K$_-dnpowY^{U2zcmv}BKbV4VHRt(YmhfSBq$|Cj}b`2$+%U!M>nkD$qlYVKV1-1?UD1znfj)<%X zuOGW8Y^^u*s2mkc=A9UNN}aymaQ0L;Z!oa$&dHG2>&Km>yc`=DSe0A0hE3)HENafX#?|diIJwwsED)CM0>ShS=5zU?$pE? zj%`@UQYA3+YK1mv1L`eBSHIyp&)uarf0XRJSxxzl1rDvS8r%3r8-6JZje|#mB!IIS zW9`vdE%u26TwPFFZj|XXgXM&2)u|4i531gNgQJ>=MVhwc6TYW_xfL3M{@NcNtZ=KI zY*nAy)7O2ZAT=c0qG^OA6Ly;MPmRo&pSD$KNBW9<^xd3iO`O~1!gz`FxlaS@cTB+r z-%tBM2Wb*3?^~1&5w4 zPzTuGMENfy3zTkEb=7)V^!M*xM)!{vy>|M|I|{uq{XVv3eo90(2rcxygv#BatIfX_ zl{xI@R%75h{$9gNfIB@V)-syb<4 zd6^5;c@rTSFvKRz(_uU!Vm-d2)(4R;znH!uZESLn!LJkvw-YasOT+ zt+4j8rlj1G*DFz^-qP?aX>ChGpHANcW@bL~?G#}(8KMRmalOpRN%U7iHpi9fL3!YC GD*j*D<9^8i delta 3254 zcmV;n3`z6$5XT>o)+#qHF)d>-FfbrDIWA>nVKQPfW?^G2ATlsAF)uMOFEKYQF*iCg zGdeLjvH@WMAUH-jH!?LtI5IRfIWaLsL^v}L53IW=P~GBaW^EjVN}Vl81Z zG&C(WH#KHCV`4NgH!)(9LIaS0$^-=W000ZwNkl@g_jNh!#mDn^$V&i_b380R1tl0=#wK!}fw(ch-Kv@zNdcroX z20e+*mC5*Stl0{iv^vP_V&_mdv?P`ItutA%mgCL-dAqWrz z2m%BI0naWvKJ6RTR8%m3-o_SYeGE}lT8fibA`z34+^#Rys8=sI+Ss9srY7Rk({bd& zd6ZRDH2ZlBpL-5zIXS3$@Zhmyl?Kdnec0F&m@=dLtzH9z9`aj=oqvSkgTU{e=)|qQ z<(xDb>lVDsbl;<(&&Ns}h78qe^iKxURPH?lQAo6^F|F_~cMEm?>)Uw?&eojcS zG+o#$qp-LHN=i>SzWcxz-fzqaCJz~kS)<2b>&_qq9zKN9@^aiMEX3iz&%=4-C|H>c z!1srL<74|i*Apv$U0vbf`Dp1dXl%roH>{$CHtfa{Y8s6a}+JkL8Qh>Cy#z zKH9{e=M)rRkckN<+YiB-?O$T=nbVxeihGp^J$a&DPx^4tVm@D0RTVPx^U*_F8#6|X z#QX`4ShCfBm)9PO$e-TZ05d~F6ciV6g2q}8W?tWyr$a(NeSO?#b0kT~mqJRCK1-z? zI&{E)yq0rARQ~8wZrVOD>5BnV~36OC}mhX*fo`TxN3PAHDE59F}=vtoJeu@mP$2-wwitMTO5&Pd@I&VGi8*pN8zhP>&@T z?&*Pu*ci-roCp(x-h2#sF%{dIQ9~F!z?45y!Sr%|i5s6BVhEdu);r8|DYoz3!=w7c zg^Oi>DY*I?<=5YlMU(VcyO5!l{Y`K?EfvQjF7wxk85!7p>IAxKb%rrhBMp+QqRMK? zG$drCW5pMrA&(J9pmgUG^b^9uFJc1oOygeq>^%MXu^*2f;c23zybS&a_VYd)GqXn* zs;mS9U0t58dUfy4Q_QPVrgGz7jgMn#Whzg9hwpv+4WENhURjAxf`3KWrEpn_X*V)- zf9Wk{39_^G3$JDFTt7TUb!09m+Pav?ss4xe@>|=F*B2sPEjR2 z$G!Vi3g?p+TQy1gZ5IT%eXv31$x@Ji)T7Xrg1mkKQyz*?R9eE1Q*o2xqeV-2!E;>o zCMW3ZwX0mG*9H|;B8N+OjhkVEIsam7LV3Z)u<1#ccx zK!Zjpy=OirCat{y3MdgK8CF)|heV z%m`?e2%xmW^RR+kS+kF%ZjWd_%W?lP}lglwV0!cFp)!~fgk`-_B zlUNQWxk&p3(%}hAC2jd72zyVTk|~hAXHIeX*hf!~Z|Vw*ixCud3~T*=wzE`FB$K|$ z*;xpWj;?pj#Vl3Dq^2M;Hn!d|WIWoRkU_h5(dLFH*}Q|PE86jsbl$_(M(ZMZOGH%M zzsJcxbpAY7W8_E&|2o?!0-ox#pl2DhL5v6p0o*|Z z0WAy?3LDwRtY&Q@>AQG;%Vt@MZgCa#EF<{%pSYQjfHBtAtZu0x@^&o#WSh0e)fquR zGvY>K0&h))_(rUaAqWrz2m%BI0naWvcDQ^+SV2U9AV5G6AP5i;1PB5I1Ob8o0YShs zv=e^XHyRrmL0en9PJd=rCNeXt@4?j7?EwRQ1Ei&=At&dKY>Y{N|NhX@(n3OFA_@x& zW&NtEs<1FOM|nj#qN8ug`gL@4VA!XR!gW+uR^nzc?CtEZc+uLnT!b!8Tw8U$#zJipLRCstTLn+;?J8~pG*svad**Q7z_~){gkARUQ959G2 zBt1QY8@o0luUviX90z_o2=@i^Fv-yo-}ndc3n344adzUje(c_}r(R8LQi1F2*|4^@!la3g2o4G5{b}jxSh4D@YBCJ;v3lhST)%Mx0pA76B0!2A zKL??I|9;$m=7XASNSi5F5U&Hzh?;}4yzvT%aU9%g>(>7ZeqViw z&YiV*B>jFYto4gdd97sR?VVLC9swr=e6xu&^*kceX!?h`fT5l9JXVKtOyHAqWr<1PB6u z1Ox$s00BXOAV5G6@V|^IBH)g&Lz^L+2nZK;Xfs?P0(J;Hv>A2~0Xsz$v_uuY5OlEl_=wPh%E&>!EK$Jznb=o^$OVXvl3 oP1Z6bHk~iAvFuik{|Ybwd4=HB#}7*lMF0Q*07*qoM6N<$g8z>yg#Z8m diff --git a/library/buckaroo_images/svg/afterpay.svg b/library/buckaroo_images/svg/afterpay.svg index 2b28dc73d..78097aa99 100644 --- a/library/buckaroo_images/svg/afterpay.svg +++ b/library/buckaroo_images/svg/afterpay.svg @@ -1,166 +1,195 @@ + viewBox="0 0 94.45 70.92" style="enable-background:new 0 0 94.45 70.92;" xml:space="preserve"> - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + From d0a7ec27af170acbee152b377bbb070289394e4b Mon Sep 17 00:00:00 2001 From: gentiprenaj Date: Wed, 18 Sep 2024 12:03:51 +0000 Subject: [PATCH 18/51] Apply logo changes from media repository --- library/buckaroo_images/svg/afterpay.svg | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/library/buckaroo_images/svg/afterpay.svg b/library/buckaroo_images/svg/afterpay.svg index 78097aa99..9a5f0d199 100644 --- a/library/buckaroo_images/svg/afterpay.svg +++ b/library/buckaroo_images/svg/afterpay.svg @@ -150,11 +150,11 @@ .st144{fill-rule:evenodd;clip-rule:evenodd;fill:#12A260;} .st145{fill-rule:evenodd;clip-rule:evenodd;fill:#EE272D;} - - - + - - - - - - - - + - + From d1d1bebbe8bf4aaee8dd2f953da764bf6521b096 Mon Sep 17 00:00:00 2001 From: "g.prenaj" Date: Thu, 19 Sep 2024 10:09:54 +0200 Subject: [PATCH 19/51] change Riverty name to Riverty old for admin side --- gateway-buckaroo-afterpay.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gateway-buckaroo-afterpay.php b/gateway-buckaroo-afterpay.php index 7f769bc9c..fdaaba0a4 100644 --- a/gateway-buckaroo-afterpay.php +++ b/gateway-buckaroo-afterpay.php @@ -20,7 +20,7 @@ public function __construct() { $this->id = 'buckaroo_afterpay'; $this->title = 'Riverty'; $this->has_fields = false; - $this->method_title = 'Buckaroo Riverty'; + $this->method_title = 'Buckaroo Riverty Old'; $this->setIcon( 'afterpay.png', 'svg/afterpay.svg' ); $this->setCountry(); From d7b74dea90f8c254da37312b15029eca3c41b50a Mon Sep 17 00:00:00 2001 From: "g.prenaj" Date: Thu, 19 Sep 2024 10:12:06 +0200 Subject: [PATCH 20/51] change naming for Riverty New to only Riverty --- gateway-buckaroo-afterpaynew.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gateway-buckaroo-afterpaynew.php b/gateway-buckaroo-afterpaynew.php index 0b327abab..c7f32457e 100644 --- a/gateway-buckaroo-afterpaynew.php +++ b/gateway-buckaroo-afterpaynew.php @@ -25,7 +25,7 @@ public function __construct() { $this->id = 'buckaroo_afterpaynew'; $this->title = 'Riverty'; $this->has_fields = false; - $this->method_title = 'Buckaroo Riverty New'; + $this->method_title = 'Buckaroo Riverty'; $this->setIcon( 'afterpay.png', 'svg/afterpay.svg' ); $this->setCountry(); From 5ec616f0df844d5dad48dfbde3fdc186ac081471 Mon Sep 17 00:00:00 2001 From: "g.prenaj" Date: Thu, 19 Sep 2024 10:14:04 +0200 Subject: [PATCH 21/51] change naming for Riverty Old --- gateway-buckaroo-afterpay.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gateway-buckaroo-afterpay.php b/gateway-buckaroo-afterpay.php index fdaaba0a4..d9b9c2726 100644 --- a/gateway-buckaroo-afterpay.php +++ b/gateway-buckaroo-afterpay.php @@ -20,7 +20,7 @@ public function __construct() { $this->id = 'buckaroo_afterpay'; $this->title = 'Riverty'; $this->has_fields = false; - $this->method_title = 'Buckaroo Riverty Old'; + $this->method_title = 'Buckaroo Riverty (Old)'; $this->setIcon( 'afterpay.png', 'svg/afterpay.svg' ); $this->setCountry(); From 0b56c616cd66c779db9f0dc09b5f2c4a03f7671a Mon Sep 17 00:00:00 2001 From: "g.prenaj" Date: Thu, 19 Sep 2024 10:38:56 +0200 Subject: [PATCH 22/51] remove GiroPay --- Buckaroo_Load_Gateways.php | 5 -- buckaroo-exodus.php | 1 - gateway-buckaroo-giropay.php | 54 ------------------- gateway-buckaroo-payperemail.php | 3 +- .../api/paymentmethods/giropay/giropay.php | 15 ------ .../paymentmethods/paymentrequestfactory.php | 2 - library/config.php | 5 -- 7 files changed, 1 insertion(+), 84 deletions(-) delete mode 100644 gateway-buckaroo-giropay.php delete mode 100644 library/api/paymentmethods/giropay/giropay.php diff --git a/Buckaroo_Load_Gateways.php b/Buckaroo_Load_Gateways.php index ae06383f1..5597809ac 100644 --- a/Buckaroo_Load_Gateways.php +++ b/Buckaroo_Load_Gateways.php @@ -64,11 +64,6 @@ class Buckaroo_Load_Gateways { 'gateway-buckaroo-giftcard.php', 'classname' => 'WC_Gateway_Buckaroo_Giftcard', ), - 'Giropay' => array( - 'filename' => - 'gateway-buckaroo-giropay.php', - 'classname' => 'WC_Gateway_Buckaroo_Giropay', - ), 'iDeal' => array( 'filename' => 'gateway-buckaroo-ideal.php', diff --git a/buckaroo-exodus.php b/buckaroo-exodus.php index 03cb60d41..c59288381 100644 --- a/buckaroo-exodus.php +++ b/buckaroo-exodus.php @@ -47,7 +47,6 @@ public function exodus_actions() { 'woocommerce_buckaroo_sofortbanking_settings', 'woocommerce_buckaroo_blik_settings', 'woocommerce_buckaroo_belfius_settings', - 'woocommerce_buckaroo_giropay_settings', 'woocommerce_buckaroo_sepadirectdebit_settings', 'woocommerce_buckaroo_payperemail_settings', ); diff --git a/gateway-buckaroo-giropay.php b/gateway-buckaroo-giropay.php deleted file mode 100644 index ebda979a6..000000000 --- a/gateway-buckaroo-giropay.php +++ /dev/null @@ -1,54 +0,0 @@ -id = 'buckaroo_giropay'; - $this->title = 'Giropay'; - $this->has_fields = true; - $this->method_title = 'Buckaroo Giropay'; - $this->setIcon( '24x24/giropay.gif', 'svg/giropay.svg' ); - - parent::__construct(); - $this->addRefundSupport(); - apply_filters( 'buckaroo_init_payment_class', $this ); - } - - /** - * Can the order be refunded - * - * @param integer $order_id - * @param integer $amount defaults to null - * @param string $reason - * @return callable|string function or error - */ - public function process_refund( $order_id, $amount = null, $reason = '' ) { - return $this->processDefaultRefund( $order_id, $amount, $reason ); - } - - - /** - * Process payment - * - * @param integer $order_id - * @return callable fn_buckaroo_process_response() - */ - public function process_payment( $order_id ) { - $order = getWCOrder( $order_id ); - /** @var BuckarooGiropay */ - $giropay = $this->createDebitRequest( $order ); - $response = $this->apply_filters_or_error( 'buckaroo_before_payment_request', $order, $giropay ); - if ( $response ) { - return $response; - } - - $response = $giropay->Pay(); - return fn_buckaroo_process_response( $this, $response ); - } -} diff --git a/gateway-buckaroo-payperemail.php b/gateway-buckaroo-payperemail.php index 97b620516..a8b07306e 100644 --- a/gateway-buckaroo-payperemail.php +++ b/gateway-buckaroo-payperemail.php @@ -182,7 +182,6 @@ public function init_form_fields() { 'bancontactmrcash' => 'Bancontact / Mr Cash', 'transfer' => 'Bank Transfer', 'giftcard' => 'Giftcards', - 'giropay' => 'Giropay', 'ideal' => 'iDEAL', 'paypal' => 'PayPal', 'sepadirectdebit' => 'SEPA Direct Debit', @@ -191,7 +190,7 @@ public function init_form_fields() { 'Przelewy24' => 'P24', ), 'description' => __( 'Select which methods appear to the customer', 'wc-buckaroo-bpe-gateway' ), - 'default' => array( 'amex', 'cartebancaire', 'cartebleuevisa', 'dankort', 'mastercard', 'postepay', 'visa', 'visaelectron', 'vpay', 'maestro', 'bancontactmrcash', 'transfer', 'giftcard', 'giropay', 'ideal', 'paypal', 'sepadirectdebit', 'sofortueberweisung', 'belfius', 'Przelewy24' ), + 'default' => array( 'amex', 'cartebancaire', 'cartebleuevisa', 'dankort', 'mastercard', 'postepay', 'visa', 'visaelectron', 'vpay', 'maestro', 'bancontactmrcash', 'transfer', 'giftcard', 'ideal', 'paypal', 'sepadirectdebit', 'sofortueberweisung', 'belfius', 'Przelewy24' ), ); } } diff --git a/library/api/paymentmethods/giropay/giropay.php b/library/api/paymentmethods/giropay/giropay.php deleted file mode 100644 index bf1c84554..000000000 --- a/library/api/paymentmethods/giropay/giropay.php +++ /dev/null @@ -1,15 +0,0 @@ -type = 'giropay'; - $this->version = 2; - } -} diff --git a/library/api/paymentmethods/paymentrequestfactory.php b/library/api/paymentmethods/paymentrequestfactory.php index 5c2fea6de..870034246 100644 --- a/library/api/paymentmethods/paymentrequestfactory.php +++ b/library/api/paymentmethods/paymentrequestfactory.php @@ -12,7 +12,6 @@ class BuckarooPaymentRequestFactory { const REQUEST_TYPE_EMPAYMENT = 'empayment'; const REQUEST_TYPE_IDEAL = 'ideal'; const REQUEST_TYPE_PAYCONIQ = 'payconiq'; - const REQUEST_TYPE_GIROPAY = 'giropay'; const REQUEST_TYPE_DIRECTDEBIT = 'directdebit'; const REQUEST_TYPE_SEPADIRECTDEBIT = 'sepadirectdebit'; const REQUEST_TYPE_MISTERCASH = 'bancontactmrcash'; @@ -31,7 +30,6 @@ class BuckarooPaymentRequestFactory { self::REQUEST_TYPE_DIRECTDEBIT => 'DirectDebit', self::REQUEST_TYPE_SEPADIRECTDEBIT => 'SepaDirectDebit', self::REQUEST_TYPE_PAYCONIQ => 'Payconiq', - self::REQUEST_TYPE_GIROPAY => 'Giropay', self::REQUEST_TYPE_MISTERCASH => 'MisterCash', self::REQUEST_TYPE_EMAESTRO => 'EMaestro', self::REQUEST_TYPE_SOFORTBANKING => 'Sofortbanking', diff --git a/library/config.php b/library/config.php index bf89b06b8..cfdb36799 100644 --- a/library/config.php +++ b/library/config.php @@ -158,11 +158,6 @@ public static function getChannel( $payment_type = null, $method = null ) { 'process_capture' => '', 'process_refund' => '', ), - 'giropay' => array( - 'process_payment' => '', - 'process_capture' => '', - 'process_refund' => '', - ), 'ideal' => array( 'process_payment' => '', 'process_capture' => '', From 9bfe78678c2776d4cf7d5a0dbc0ec9ee98927537 Mon Sep 17 00:00:00 2001 From: "v.carkaxhija" Date: Fri, 27 Sep 2024 14:04:26 +0200 Subject: [PATCH 23/51] add max width for img --- library/css/buckaroo-custom.css | 1 + 1 file changed, 1 insertion(+) diff --git a/library/css/buckaroo-custom.css b/library/css/buckaroo-custom.css index 282ebc472..e99d839bf 100644 --- a/library/css/buckaroo-custom.css +++ b/library/css/buckaroo-custom.css @@ -266,6 +266,7 @@ label[for^="payment_method_buckaroo_"] img { } .bk-paybybank-selector .bank-method-label img { padding: 10px 20px; + max-width: 120px; } .bk-paybybank-selector .bank-method-input { From 3148f41c5ebf802fdd4fc52c6f01c07928d1a47d Mon Sep 17 00:00:00 2001 From: "v.carkaxhija" Date: Thu, 3 Oct 2024 13:18:21 +0200 Subject: [PATCH 24/51] add action for afterpay --- index.php | 1 + 1 file changed, 1 insertion(+) diff --git a/index.php b/index.php index 08be0421c..609d593fc 100755 --- a/index.php +++ b/index.php @@ -533,6 +533,7 @@ function buckaroo_create_paylink( $order ) { add_action( 'woocommerce_api_wc_gateway_buckaroo_idin-identify', array( $idinController, 'identify' ) ); add_action( 'woocommerce_api_wc_gateway_buckaroo_idin-reset', array( $idinController, 'reset' ) ); add_action( 'woocommerce_api_wc_gateway_buckaroo_idin-return', array( $idinController, 'returnHandler' ) ); + add_action( 'woocommerce_api_wc_gateway_buckaroo_afterpaynew', array( $idinController, 'returnHandler' ) ); // do a install if the plugin was installed prior to 2.24.1 // make sure we have all our plugin files loaded From b305f2a41cc1f29040b33e2dd0062e1b070e524c Mon Sep 17 00:00:00 2001 From: "v.carkaxhija" Date: Thu, 3 Oct 2024 14:05:35 +0200 Subject: [PATCH 25/51] add action for afterpay --- controllers/RivertyController.php | 25 +++++++++++++++++++++++++ index.php | 4 +++- 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 controllers/RivertyController.php diff --git a/controllers/RivertyController.php b/controllers/RivertyController.php new file mode 100644 index 000000000..c0abab797 --- /dev/null +++ b/controllers/RivertyController.php @@ -0,0 +1,25 @@ +isValid() && $response->hasSucceeded()) { + wc_add_notice(__('You have been verified successfully', 'wc-buckaroo-bpe-gateway'), 'success'); + } else { + wc_add_notice( + empty($response->statusmessage) ? + __('Verification has been failed', 'wc-buckaroo-bpe-gateway') : stripslashes($response->statusmessage), + 'error' + ); + } + + if (!empty($_REQUEST['bk_redirect']) && is_string($_REQUEST['bk_redirect'])) { + wp_safe_redirect($_REQUEST['bk_redirect']); + exit; + } + } +} diff --git a/index.php b/index.php index 609d593fc..ea4426a17 100755 --- a/index.php +++ b/index.php @@ -523,8 +523,10 @@ function buckaroo_create_paylink( $order ) { add_action( 'woocommerce_order_action_buckaroo_create_paylink', 'buckaroo_create_paylink', 10, 1 ); require_once __DIR__ . '/controllers/IdinController.php'; + require_once __DIR__ . '/controllers/RivertyController.php'; $idinController = new IdinController(); + $afterpayController = new RivertyController(); add_action( 'woocommerce_before_single_product', 'buckaroo_idin_product' ); add_action( 'woocommerce_before_cart', 'buckaroo_idin_cart' ); @@ -533,7 +535,7 @@ function buckaroo_create_paylink( $order ) { add_action( 'woocommerce_api_wc_gateway_buckaroo_idin-identify', array( $idinController, 'identify' ) ); add_action( 'woocommerce_api_wc_gateway_buckaroo_idin-reset', array( $idinController, 'reset' ) ); add_action( 'woocommerce_api_wc_gateway_buckaroo_idin-return', array( $idinController, 'returnHandler' ) ); - add_action( 'woocommerce_api_wc_gateway_buckaroo_afterpaynew', array( $idinController, 'returnHandler' ) ); + add_action( 'woocommerce_api_wc_gateway_buckaroo_afterpaynew', array( $afterpayController, 'returnHandler' ) ); // do a install if the plugin was installed prior to 2.24.1 // make sure we have all our plugin files loaded From 32d0d684a29cebbf38127e16af5a3761ebddafd6 Mon Sep 17 00:00:00 2001 From: "v.carkaxhija" Date: Thu, 3 Oct 2024 15:40:19 +0200 Subject: [PATCH 26/51] remove action --- controllers/RivertyController.php | 25 ------------------------- index.php | 3 --- 2 files changed, 28 deletions(-) delete mode 100644 controllers/RivertyController.php diff --git a/controllers/RivertyController.php b/controllers/RivertyController.php deleted file mode 100644 index c0abab797..000000000 --- a/controllers/RivertyController.php +++ /dev/null @@ -1,25 +0,0 @@ -isValid() && $response->hasSucceeded()) { - wc_add_notice(__('You have been verified successfully', 'wc-buckaroo-bpe-gateway'), 'success'); - } else { - wc_add_notice( - empty($response->statusmessage) ? - __('Verification has been failed', 'wc-buckaroo-bpe-gateway') : stripslashes($response->statusmessage), - 'error' - ); - } - - if (!empty($_REQUEST['bk_redirect']) && is_string($_REQUEST['bk_redirect'])) { - wp_safe_redirect($_REQUEST['bk_redirect']); - exit; - } - } -} diff --git a/index.php b/index.php index ea4426a17..08be0421c 100755 --- a/index.php +++ b/index.php @@ -523,10 +523,8 @@ function buckaroo_create_paylink( $order ) { add_action( 'woocommerce_order_action_buckaroo_create_paylink', 'buckaroo_create_paylink', 10, 1 ); require_once __DIR__ . '/controllers/IdinController.php'; - require_once __DIR__ . '/controllers/RivertyController.php'; $idinController = new IdinController(); - $afterpayController = new RivertyController(); add_action( 'woocommerce_before_single_product', 'buckaroo_idin_product' ); add_action( 'woocommerce_before_cart', 'buckaroo_idin_cart' ); @@ -535,7 +533,6 @@ function buckaroo_create_paylink( $order ) { add_action( 'woocommerce_api_wc_gateway_buckaroo_idin-identify', array( $idinController, 'identify' ) ); add_action( 'woocommerce_api_wc_gateway_buckaroo_idin-reset', array( $idinController, 'reset' ) ); add_action( 'woocommerce_api_wc_gateway_buckaroo_idin-return', array( $idinController, 'returnHandler' ) ); - add_action( 'woocommerce_api_wc_gateway_buckaroo_afterpaynew', array( $afterpayController, 'returnHandler' ) ); // do a install if the plugin was installed prior to 2.24.1 // make sure we have all our plugin files loaded From eb418ea310a9368fd93eb5aad6e7ed7f88d324e3 Mon Sep 17 00:00:00 2001 From: "v.carkaxhija" Date: Thu, 3 Oct 2024 15:50:08 +0200 Subject: [PATCH 27/51] $response->status --- library/common.php | 1 + 1 file changed, 1 insertion(+) diff --git a/library/common.php b/library/common.php index 1f4f13f37..4b86106ab 100644 --- a/library/common.php +++ b/library/common.php @@ -422,6 +422,7 @@ function fn_buckaroo_process_response($payment_method = null, $response = '', $m ); addSepaDirectOrderNote($response, $order); + Buckaroo_Logger::log('||| $response->status ' . $response->status); switch ($response->status) { case 'completed': From 1c6c911f0d3872686c4a7bee826bd73006ed800e Mon Sep 17 00:00:00 2001 From: "v.carkaxhija" Date: Thu, 3 Oct 2024 15:51:21 +0200 Subject: [PATCH 28/51] $response->status --- library/common.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/common.php b/library/common.php index 4b86106ab..02481ac55 100644 --- a/library/common.php +++ b/library/common.php @@ -423,6 +423,8 @@ function fn_buckaroo_process_response($payment_method = null, $response = '', $m addSepaDirectOrderNote($response, $order); Buckaroo_Logger::log('||| $response->status ' . $response->status); + Buckaroo_Logger::log('||| $payment_method ' . print_r($payment_method)); + Buckaroo_Logger::log('||| $payment_method ' . $payment_method->get_return_url($order)); switch ($response->status) { case 'completed': From 72d9bed93773b5537120655058642ec999adfc63 Mon Sep 17 00:00:00 2001 From: "v.carkaxhija" Date: Thu, 3 Oct 2024 15:52:36 +0200 Subject: [PATCH 29/51] $response->status --- library/common.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/common.php b/library/common.php index 02481ac55..f79fa77d1 100644 --- a/library/common.php +++ b/library/common.php @@ -423,8 +423,6 @@ function fn_buckaroo_process_response($payment_method = null, $response = '', $m addSepaDirectOrderNote($response, $order); Buckaroo_Logger::log('||| $response->status ' . $response->status); - Buckaroo_Logger::log('||| $payment_method ' . print_r($payment_method)); - Buckaroo_Logger::log('||| $payment_method ' . $payment_method->get_return_url($order)); switch ($response->status) { case 'completed': @@ -433,6 +431,8 @@ function fn_buckaroo_process_response($payment_method = null, $response = '', $m case 'on-hold': if (!is_null($payment_method)) { $woocommerce->cart->empty_cart(); + Buckaroo_Logger::log('||| $payment_method ' . $payment_method->get_return_url($order)); + return array( 'result' => 'success', 'redirect' => $payment_method->get_return_url($order), From 51a9db4047943a7c32f5b99cf2a7e83e0b5fb823 Mon Sep 17 00:00:00 2001 From: "v.carkaxhija" Date: Thu, 3 Oct 2024 16:10:51 +0200 Subject: [PATCH 30/51] channel --- library/api/paymentmethods/afterpaynew/afterpaynew.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/api/paymentmethods/afterpaynew/afterpaynew.php b/library/api/paymentmethods/afterpaynew/afterpaynew.php index ad96c535c..81d1f4241 100644 --- a/library/api/paymentmethods/afterpaynew/afterpaynew.php +++ b/library/api/paymentmethods/afterpaynew/afterpaynew.php @@ -41,6 +41,8 @@ class BuckarooAfterPayNew extends BuckarooPaymentMethod { public $CostCentre; public $VatNumber; + public $channel; + /** * @access public * @param string $type From 69a566c62ff151e564a98f08997cff257642c55c Mon Sep 17 00:00:00 2001 From: "v.carkaxhija" Date: Thu, 3 Oct 2024 16:15:24 +0200 Subject: [PATCH 31/51] channel --- library/common.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/common.php b/library/common.php index f79fa77d1..05797753a 100644 --- a/library/common.php +++ b/library/common.php @@ -514,7 +514,7 @@ function fn_buckaroo_process_response($payment_method = null, $response = '', $m Buckaroo_Logger::log('wc session after: ' . var_export(WC()->session, true)); if (WooV3Plus()) { if ($order->get_billing_country() == 'NL') { - if (strrpos($response->ChannelError, ': ') !== false) { + if (!empty($response->ChannelError) && is_string($response->ChannelError) && strrpos($response->ChannelError, ': ') !== false) { $error_description = str_replace(':', '', substr($response->ChannelError, strrpos($response->ChannelError, ': '))); Buckaroo_Logger::log('||| failed status message: ' . $error_description); wc_add_notice(__($error_description, 'wc-buckaroo-bpe-gateway'), 'error'); @@ -522,7 +522,7 @@ function fn_buckaroo_process_response($payment_method = null, $response = '', $m } } else { if ($order->billing_country == 'NL') { - if (strrpos($response->ChannelError, ': ') !== false) { + if (!empty($response->ChannelError) && is_string($response->ChannelError) && strrpos($response->ChannelError, ': ') !== false) { $error_description = str_replace(':', '', substr($response->ChannelError, strrpos($response->ChannelError, ': '))); wc_add_notice(__($error_description, 'wc-buckaroo-bpe-gateway'), 'error'); } From 127e0cbf8b0219ae1e1f11f739cbfb52a79ee881 Mon Sep 17 00:00:00 2001 From: "v.carkaxhija" Date: Tue, 15 Oct 2024 14:25:38 +0200 Subject: [PATCH 32/51] change Capture.php --- library/klarnakp/Capture.php | 138 ++++++++++++++++++----------------- 1 file changed, 72 insertions(+), 66 deletions(-) diff --git a/library/klarnakp/Capture.php b/library/klarnakp/Capture.php index 4b440cf46..4d8878c1c 100644 --- a/library/klarnakp/Capture.php +++ b/library/klarnakp/Capture.php @@ -13,76 +13,82 @@ * @link https://www.buckaroo.eu/ */ -class Buckaroo_Capture_Form { +class Buckaroo_Capture_Form +{ + public function __construct() + { + add_action('add_meta_boxes', array($this, 'add_meta_box_form'), 10, 2); + } - public function __construct() { - add_action( 'add_meta_boxes_shop_order', array( $this, 'add_meta_box_form' ) ); - } + public function output($order) + { + $order_capture = new Buckaroo_Order_Capture( + new Buckaroo_Order_Details( $order ), + new Buckaroo_Http_Request() + ); + include 'capture-form.php'; + } - public function output( WP_POST $post ) { + public function add_meta_box_form($post_type, $order) + { + if ($post_type != 'woocommerce_page_wc-orders') { + return; + } - $order = wc_get_order( $post->ID ); + if ( + $order->get_payment_method() === 'buckaroo_klarnakp' && + get_post_meta($order->get_id(), 'buckaroo_is_reserved', true) === 'yes' + ) { + add_meta_box( + 'buckaroo-order-klarnakp-capture', + __('Capture & refund order', 'woocommerce'), + array($this, 'output'), + 'woocommerce_page_wc-orders', + 'normal', + 'default' + ); + } + } - $order_capture = new Buckaroo_Order_Capture( - new Buckaroo_Order_Details( $order ), - new Buckaroo_Http_Request() - ); - include 'capture-form.php'; - } + /** + * Get items available to capture by type + * + * @param Buckaroo_Order_Capture $order_capture + * + * @return array + */ + protected function get_available_to_capture_by_type(Buckaroo_Order_Capture $order_capture) + { + $available_to_capture = $order_capture->get_available_to_capture(); - public function add_meta_box_form( $post ) { - $order = wc_get_order( $post->ID ); - if ( - $order->get_payment_method() === 'buckaroo_klarnakp' && - get_post_meta( $order->get_id(), 'bukaroo_is_reserved', true ) === 'yes' - ) { - add_meta_box( - 'buckaroo-order-klarnakp-capture', - __( 'Capture & refund order', 'woocommerce' ), - array( $this, 'output' ), - 'shop_order', - 'normal', - 'low' - ); - } - } + $available_to_capture_by_type = array(); + foreach ($available_to_capture as $item) { + $item_type = $item->get_type(); + if (!isset($available_to_capture_by_type[$item_type])) { + $available_to_capture_by_type[$item_type] = array(); + } + $available_to_capture_by_type[$item_type][] = $item; + } + return $available_to_capture_by_type; + } - /** - * Get items available to capture by type - * - * @param Buckaroo_Order_Capture $order_capture - * - * @return array - */ - protected function get_available_to_capture_by_type( Buckaroo_Order_Capture $order_capture ) { - $available_to_capture = $order_capture->get_available_to_capture(); - - $available_to_capture_by_type = array(); - foreach ( $available_to_capture as $item ) { - $item_type = $item->get_type(); - if ( ! isset( $available_to_capture_by_type[ $item_type ] ) ) { - $available_to_capture_by_type[ $item_type ] = array(); - } - $available_to_capture_by_type[ $item_type ][] = $item; - } - return $available_to_capture_by_type; - } - /** - * Get refunded captures for $order_id - * - * @param integer $order_id - * - * @return array - */ - protected function get_refunded_captures( int $order_id ) { - $refunded_captures = get_post_meta( $order_id, 'buckaroo_captures_refunded', true ); - if ( is_string( $refunded_captures ) ) { - $refunded_captures_decoded = json_decode( $refunded_captures ); - if ( is_array( $refunded_captures_decoded ) ) { - return $refunded_captures_decoded; - } - } - return array(); - } -} + /** + * Get refunded captures for $order_id + * + * @param integer $order_id + * + * @return array + */ + protected function get_refunded_captures(int $order_id) + { + $refunded_captures = get_post_meta($order_id, 'buckaroo_captures_refunded', true); + if (is_string($refunded_captures)) { + $refunded_captures_decoded = json_decode($refunded_captures); + if (is_array($refunded_captures_decoded)) { + return $refunded_captures_decoded; + } + } + return array(); + } +} \ No newline at end of file From 7da43ebcd9e7c2570b59abbc4e29bdbc330ef66f Mon Sep 17 00:00:00 2001 From: "v.carkaxhija" Date: Tue, 15 Oct 2024 15:02:41 +0200 Subject: [PATCH 33/51] change Capture.php --- library/common.php | 2 +- library/klarnakp/Cancel_Reservation.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/library/common.php b/library/common.php index 05797753a..01fb6bbf2 100644 --- a/library/common.php +++ b/library/common.php @@ -933,7 +933,7 @@ function processPushTransactionSucceeded($order_id, $order, $response, $payment_ $order->add_order_note( "Payment succesfully reserved" ); - add_post_meta($order->get_id(), 'bukaroo_is_reserved', 'yes'); + add_post_meta($order->get_id(), 'buckaroo_is_reserved', 'yes'); return; } diff --git a/library/klarnakp/Cancel_Reservation.php b/library/klarnakp/Cancel_Reservation.php index 6bad2679b..67a90c69e 100644 --- a/library/klarnakp/Cancel_Reservation.php +++ b/library/klarnakp/Cancel_Reservation.php @@ -39,7 +39,7 @@ public function add_cancel_option( $actions, $order = null ) { if ( $order->get_payment_method() === 'buckaroo_klarnakp' && - get_post_meta( $order->get_id(), 'bukaroo_is_reserved', true ) === 'yes' + get_post_meta( $order->get_id(), 'buckaroo_is_reserved', true ) === 'yes' ) { $actions['buckaroo_klarnakp_cancel_reservation'] = esc_html__( 'Cancel reservation', 'woocommerce' ); } From c073abe03d49ded2724b16924f171d306df41307 Mon Sep 17 00:00:00 2001 From: "v.carkaxhija" Date: Tue, 15 Oct 2024 15:40:52 +0200 Subject: [PATCH 34/51] change Capture.php --- library/klarnakp/Capture.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/library/klarnakp/Capture.php b/library/klarnakp/Capture.php index 4d8878c1c..2fde2a918 100644 --- a/library/klarnakp/Capture.php +++ b/library/klarnakp/Capture.php @@ -37,8 +37,12 @@ public function add_meta_box_form($post_type, $order) } if ( - $order->get_payment_method() === 'buckaroo_klarnakp' && - get_post_meta($order->get_id(), 'buckaroo_is_reserved', true) === 'yes' + (($order->get_payment_method() === 'buckaroo_klarnakp') && + get_post_meta($order->get_id(), 'buckaroo_is_reserved', true) === 'yes') || + ( + $order->get_payment_method() === 'buckaroo_afterpay' && + get_post_meta($order->get_id(), '_wc_order_authorized', true) + ) ) { add_meta_box( 'buckaroo-order-klarnakp-capture', From 6dba55a064abb18c5d228ecc9123392ec8883fd0 Mon Sep 17 00:00:00 2001 From: "v.carkaxhija" Date: Tue, 15 Oct 2024 15:50:35 +0200 Subject: [PATCH 35/51] change Capture.php --- index.php | 1 + library/afterpay/Capture.php | 94 ++++++ library/afterpay/Refund.php | 176 ++++++++++++ library/afterpay/capture-form.php | 457 ++++++++++++++++++++++++++++++ library/klarnakp/Capture.php | 8 +- 5 files changed, 730 insertions(+), 6 deletions(-) create mode 100644 library/afterpay/Capture.php create mode 100644 library/afterpay/Refund.php create mode 100644 library/afterpay/capture-form.php diff --git a/index.php b/index.php index 08be0421c..22afa1d99 100755 --- a/index.php +++ b/index.php @@ -69,6 +69,7 @@ new Buckaroo_Capture_Form(); new Buckaroo_Cancel_Reservation(); new Buckaroo_KlarnaKP_Refund(); +new Buckaroo_Afterpay_Refund(); add_action( 'admin_enqueue_scripts', 'buckaroo_payment_setup_scripts' ); diff --git a/library/afterpay/Capture.php b/library/afterpay/Capture.php new file mode 100644 index 000000000..5776e8a50 --- /dev/null +++ b/library/afterpay/Capture.php @@ -0,0 +1,94 @@ + + * @copyright 2021 Copyright (c) Buckaroo B.V. + * @license MIT https://tldrlegal.com/license/mit-license + * @version GIT: 3.3.0 + * @link https://www.buckaroo.eu/ + */ + +class Buckaroo_Capture_Form +{ + + public function __construct() + { + add_action('add_meta_boxes', array($this, 'add_meta_box_form'), 10, 2); + } + + public function output($order) + { + $order_capture = new Buckaroo_Order_Capture( + new Buckaroo_Order_Details( $order ), + new Buckaroo_Http_Request() + ); + include 'capture-form.php'; + } + + public function add_meta_box_form($post_type, $order) + { + if ($post_type != 'woocommerce_page_wc-orders') { + return; + } + + if ( + $order->get_payment_method() === 'buckaroo_afterpay' && + get_post_meta($order->get_id(), '_wc_order_authorized', true) + ) { + add_meta_box( + 'buckaroo-order-afterpay-capture', + __('Capture & refund order', 'woocommerce'), + array($this, 'output'), + 'woocommerce_page_wc-orders', + 'normal', + 'default' + ); + } + } + + /** + * Get items available to capture by type + * + * @param Buckaroo_Order_Capture $order_capture + * + * @return array + */ + protected function get_available_to_capture_by_type(Buckaroo_Order_Capture $order_capture) + { + $available_to_capture = $order_capture->get_available_to_capture(); + + $available_to_capture_by_type = array(); + foreach ($available_to_capture as $item) { + $item_type = $item->get_type(); + if (!isset($available_to_capture_by_type[$item_type])) { + $available_to_capture_by_type[$item_type] = array(); + } + $available_to_capture_by_type[$item_type][] = $item; + } + return $available_to_capture_by_type; + } + + /** + * Get refunded captures for $order_id + * + * @param integer $order_id + * + * @return array + */ + protected function get_refunded_captures(int $order_id) + { + $refunded_captures = get_post_meta($order_id, 'buckaroo_captures_refunded', true); + if (is_string($refunded_captures)) { + $refunded_captures_decoded = json_decode($refunded_captures); + if (is_array($refunded_captures_decoded)) { + return $refunded_captures_decoded; + } + } + return array(); + } +} \ No newline at end of file diff --git a/library/afterpay/Refund.php b/library/afterpay/Refund.php new file mode 100644 index 000000000..7384c2289 --- /dev/null +++ b/library/afterpay/Refund.php @@ -0,0 +1,176 @@ + + * @copyright 2021 Copyright (c) Buckaroo B.V. + * @license MIT https://tldrlegal.com/license/mit-license + * @version GIT: 3.3.0 + * @link https://www.buckaroo.eu/ + */ + +class Buckaroo_Afterpay_Refund { + + + public function __construct() { + add_action( 'wp_ajax_bl_refund_afterpay_capture', array( $this, 'refund_capture' ) ); + } + + /** + * Refund a capture + * + * @return void + */ + public function refund_capture() { + $request = new Buckaroo_Http_Request(); + if ( $request->request( 'order_id' ) === null ) { + wp_send_json( + array( + 'error' => __( 'A order id is required', 'wc-buckaroo-bpe-gateway' ), + ) + ); + } + if ( $request->request( 'capture_id' ) === null ) { + wp_send_json( + array( + 'error' => __( 'A capture id is required', 'wc-buckaroo-bpe-gateway' ), + ) + ); + } + + $order_id = absint( $request->request( 'order_id' ) ); + $capture_id = $request->request( 'capture_id' ); + $capture = $this->get_capture_transaction_by_id( $order_id, $capture_id ); + + $successful_refund = false; + + if ( $capture !== null && isset( $capture['transaction_id'] ) ) { + $successful_refund = ( new WC_Gateway_Buckaroo_Afterpay() )->process_refund( + $order_id, + $capture['amount'], + '', + $capture['transaction_id'] + ); + } + + if ( is_object( $successful_refund ) && $successful_refund instanceof WP_Error ) { + wp_send_json( + array( + 'error' => $successful_refund->get_error_message(), + ) + ); + } + + if ( $successful_refund !== true ) { + wp_send_json( + array( + 'error' => __( 'Cannot process refund', 'wc-buckaroo-bpe-gateway' ), + ) + ); + } + + $this->refund_in_woocommerce( $request, $order_id, $capture ); + $this->set_refunded_capture( $order_id, $capture_id ); + } + + public function set_refunded_capture( int $order_id, string $capture_id ) { + $refunded_captures = $this->get_refunded_captures( $order_id ); + array_push( $refunded_captures, $capture_id ); + return update_post_meta( + $order_id, + 'buckaroo_captures_refunded', + json_encode( $refunded_captures ) + ); + } + /** + * Get refunded captures for $order_id + * + * @param integer $order_id + * + * @return array + */ + protected function get_refunded_captures( int $order_id ) { + $refunded_captures = get_post_meta( $order_id, 'buckaroo_captures_refunded', true ); + if ( is_string( $refunded_captures ) ) { + $refunded_captures_decoded = json_decode( $refunded_captures ); + if ( is_array( $refunded_captures_decoded ) ) { + return $refunded_captures_decoded; + } + } + return array(); + } + /** + * Get a stored capture by its id + * + * @param integer $order_id + * @param string $id + * + * @return array|null + */ + protected function get_capture_transaction_by_id( int $order_id, string $id ) { + $captures = get_post_meta( $order_id, '_wc_order_captures' ); + foreach ( $captures as $capture ) { + if ( $capture['id'] == $id ) { + return $capture; + } + } + } + + /** + * Refund items in woocommerce + * + * @param Buckaroo_Http_Request $request + * @param integer $order_id + * @param array $capture + * + * @return void + */ + protected function refund_in_woocommerce( Buckaroo_Http_Request $request, int $order_id, array $capture ) { + $order = wc_get_order( $order_id ); + $capture_transaction = new Buckaroo_Capture_Transaction( $capture, $order ); + wc_create_refund( + array( + 'amount' => $capture_transaction->get_total_amount(), + 'reason' => $request->request( 'reason' ) ?? '', + 'order_id' => $order_id, + 'line_items' => $this->get_refund_items( $capture_transaction ), + 'refund_payment' => false, + 'restock_items' => $request->request( 'restock' ) == 'true', + ) + ); + } + + protected function get_refund_items( Buckaroo_Capture_Transaction $capture_transaction ) { + $items_for_refund = array( + 'qty' => array(), + 'refund_total' => array(), + 'refund_tax' => array(), + ); + foreach ( $capture_transaction->get_items() as $item ) { + $qty = $capture_transaction->get_qty( $item->get_line_item_id() ); + $items_for_refund['qty'][ $item->get_line_item_id() ] = $qty; + $items_for_refund['refund_total'][ $item->get_line_item_id() ] = $this->get_refund_item_total( $item, $qty ); + $items_for_refund['refund_tax'][ $item->get_line_item_id() ] = $this->get_refund_item_tax_total( $item, $qty ); + } + return $items_for_refund; + } + protected function get_refund_item_total( Buckaroo_Order_Item $item, $qty ) { + return $item->get_unit_price( false ) * $qty; + } + public function get_refund_item_tax_total( Buckaroo_Order_Item $item, $qty ) { + $item_tax_total = array(); + + $taxes = $item->get_taxes(); + + if ( isset( $taxes['total'] ) ) { + foreach ( $taxes['total'] as $tax_id => $tax ) { + $item_tax_total[ $tax_id ] = $tax / $item->get_quantity() * $qty; + } + } + return $item_tax_total; + } +} diff --git a/library/afterpay/capture-form.php b/library/afterpay/capture-form.php new file mode 100644 index 000000000..a2702a1f6 --- /dev/null +++ b/library/afterpay/capture-form.php @@ -0,0 +1,457 @@ +get_previous_captures(); +$items_to_capture = $this->get_available_to_capture_by_type( $order_capture ); +$refunded_capture_ids = $this->get_refunded_captures( $order->get_id() ); +?> + + + + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + + +
      + + +
    • +
      + get_title() ); ?> +
      +
      + get_unit_price(), array( 'currency' => $order_capture->get_order_details()->get_currency() ) ) + ?> +
      +
      + × get_quantity(); ?> +
      +
      + +
      +
      + get_total_amount(), array( 'currency' => $order_capture->get_order_details()->get_currency() ) ) + ?> +
      +
    • + +
    + + +
      + + +
    • +
      + get_title() ); ?> +
      +
      + +
      +
      + get_unit_price(), array( 'currency' => $order_capture->get_order_details()->get_currency() ) ) + ?> +
      +
    • + +
    + + +
      + + +
    • +
      + get_title() ); ?> +
      +
      + +
      +
      + get_unit_price(), array( 'currency' => $order_capture->get_order_details()->get_currency() ) ) + ?> +
      +
    • + +
    + + +
      + +
    • +
      + get_id() ) + ); + ?> +
      +
      +
      + get_total_amount() ), array( 'currency' => $capture->get_currency() ) ) + ?> +
      + get_id(), $refunded_capture_ids ) ) { + ?> +
      + +
      + +
      + +
    • + get_id(), $refunded_capture_ids ) ) { + ?> + + + +
    + + +
    + : + +

    + +

    +
    + get_payment_method() === 'buckaroo_klarnakp') && - get_post_meta($order->get_id(), 'buckaroo_is_reserved', true) === 'yes') || - ( - $order->get_payment_method() === 'buckaroo_afterpay' && - get_post_meta($order->get_id(), '_wc_order_authorized', true) - ) + $order->get_payment_method() === 'buckaroo_klarnakp' && + get_post_meta($order->get_id(), 'buckaroo_is_reserved', true) === 'yes' ) { add_meta_box( 'buckaroo-order-klarnakp-capture', From 089689a7056e30c69ca4131bd98c7ad22ced38c9 Mon Sep 17 00:00:00 2001 From: "v.carkaxhija" Date: Tue, 15 Oct 2024 15:51:46 +0200 Subject: [PATCH 36/51] change Capture.php --- index.php | 1 + library/afterpay/Capture.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/index.php b/index.php index 22afa1d99..492e8dfd0 100755 --- a/index.php +++ b/index.php @@ -67,6 +67,7 @@ ); new Buckaroo_Capture_Form(); +new Buckaroo_Afterpay_Capture_Form(); new Buckaroo_Cancel_Reservation(); new Buckaroo_KlarnaKP_Refund(); new Buckaroo_Afterpay_Refund(); diff --git a/library/afterpay/Capture.php b/library/afterpay/Capture.php index 5776e8a50..68f4b5895 100644 --- a/library/afterpay/Capture.php +++ b/library/afterpay/Capture.php @@ -13,7 +13,7 @@ * @link https://www.buckaroo.eu/ */ -class Buckaroo_Capture_Form +class Buckaroo_Afterpay_Capture_Form { public function __construct() From 2a314fa619d5caa94defd503bb273443de438724 Mon Sep 17 00:00:00 2001 From: "v.carkaxhija" Date: Tue, 15 Oct 2024 15:53:44 +0200 Subject: [PATCH 37/51] change Capture.php --- index.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.php b/index.php index 492e8dfd0..857975f1c 100755 --- a/index.php +++ b/index.php @@ -32,6 +32,8 @@ require_once __DIR__ . '/library/Buckaroo_Capture_Transaction.php'; require_once __DIR__ . '/library/Buckaroo_Http_Request.php'; require_once __DIR__ . '/library/Buckaroo_Item_For_Capture.php'; +require_once __DIR__ . '/library/afterpay/Capture.php'; +require_once __DIR__ . '/library/afterpay/Refund.php'; require_once __DIR__ . '/library/klarnakp/Capture.php'; require_once __DIR__ . '/library/klarnakp/Refund.php'; require_once __DIR__ . '/library/klarnakp/Cancel_Reservation.php'; From da24c81600336badee8b7463767e232fb5bf44b5 Mon Sep 17 00:00:00 2001 From: "v.carkaxhija" Date: Tue, 15 Oct 2024 16:02:51 +0200 Subject: [PATCH 38/51] change Capture.php --- gateway-buckaroo-afterpay.php | 22 ++++++++++++++++++++++ library/afterpay/Refund.php | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/gateway-buckaroo-afterpay.php b/gateway-buckaroo-afterpay.php index d9b9c2726..c11bf0c6f 100644 --- a/gateway-buckaroo-afterpay.php +++ b/gateway-buckaroo-afterpay.php @@ -35,6 +35,28 @@ protected function setProperties() { $this->b2b = $this->get_option( 'enable_bb' ); $this->vattype = $this->get_option( 'vattype' ); } + + /** + * Process order + * + * @param integer $order_id + * @param integer $amount defaults to null + * @param string $reason + * @return callable|string function or error + */ + public function process_capture_refund( $order_id, $amount = null, $reason = '', $transaction_id = null ) { + return $this->processDefaultRefund( + $order_id, + $amount, + $reason, + false, + function ( $request ) use ( $transaction_id ) { + if ( $transaction_id != null ) { + $request->OriginalTransactionKey = $transaction_id; + } + } + ); + } /** * Can the order be refunded * diff --git a/library/afterpay/Refund.php b/library/afterpay/Refund.php index 7384c2289..31fb6ed85 100644 --- a/library/afterpay/Refund.php +++ b/library/afterpay/Refund.php @@ -49,7 +49,7 @@ public function refund_capture() { $successful_refund = false; if ( $capture !== null && isset( $capture['transaction_id'] ) ) { - $successful_refund = ( new WC_Gateway_Buckaroo_Afterpay() )->process_refund( + $successful_refund = ( new WC_Gateway_Buckaroo_Afterpay() )->process_capture_refund( $order_id, $capture['amount'], '', From eee19e6964e5fa96e22e0b21bb9fe739620a6e7a Mon Sep 17 00:00:00 2001 From: "v.carkaxhija" Date: Wed, 16 Oct 2024 09:43:46 +0200 Subject: [PATCH 39/51] fix react --- .../js/blocks/gateways/buckaroo_creditcard.js | 289 +- .../gateways/buckaroo_separate_credit_card.js | 284 +- assets/js/blocks/index.js | 0 assets/js/dist/154.js | 2 +- assets/js/dist/162.js | 2 +- assets/js/dist/259.js | 2 +- assets/js/dist/363.js | 2 +- assets/js/dist/377.js | 2 +- assets/js/dist/426.js | 2 +- assets/js/dist/441.js | 2 +- assets/js/dist/495.js | 2 +- assets/js/dist/714.js | 2 +- assets/js/dist/744.js | 2 +- assets/js/dist/751.js | 2 +- assets/js/dist/762.js | 2 +- assets/js/dist/792.js | 2 +- assets/js/dist/993.js | 2 +- assets/js/dist/applepay.asset.php | 2 +- assets/js/dist/applepay.js | 2 +- assets/js/dist/blocks.asset.php | 2 +- assets/js/dist/blocks.js | 2 +- assets/js/dist/checkout.asset.php | 2 +- assets/js/dist/checkout.js | 2 +- assets/js/package-lock.json | 6663 +++++++++++++++++ 24 files changed, 6969 insertions(+), 307 deletions(-) mode change 100755 => 100644 assets/js/blocks/index.js create mode 100644 assets/js/package-lock.json diff --git a/assets/js/blocks/gateways/buckaroo_creditcard.js b/assets/js/blocks/gateways/buckaroo_creditcard.js index c38f96b09..e22db52af 100644 --- a/assets/js/blocks/gateways/buckaroo_creditcard.js +++ b/assets/js/blocks/gateways/buckaroo_creditcard.js @@ -1,165 +1,164 @@ -import React, { useEffect } from 'react'; -import { __ } from '@wordpress/i18n'; +import React, {useEffect} from 'react'; +import {__} from '@wordpress/i18n'; import DefaultDropdown from '../partials/buckaroo_creditcard_dropdown'; import encryptCardData from '../services/BuckarooClientSideEncryption'; import useFormData from '../hooks/useFormData'; function CreditCard({ - onStateChange, - methodName, - gateway: { - paymentMethodId, creditCardIssuers, creditCardMethod, creditCardIsSecure, - }, -}) { - const initialState = { - [`${paymentMethodId}-creditcard-issuer`]: '', - [`${paymentMethodId}-cardname`]: '', - [`${paymentMethodId}-cardnumber`]: '', - [`${paymentMethodId}-cardmonth`]: '', - [`${paymentMethodId}-cardyear`]: '', - [`${paymentMethodId}-cardcvc`]: '', - [`${paymentMethodId}-encrypted-data`]: '', - }; + onStateChange, + methodName, + gateway: {paymentMethodId, creditCardIssuers, creditCardMethod, creditCardIsSecure,} + }) { - const { formState, handleChange, updateFormState } = useFormData(initialState, onStateChange); + const initialState = { + [`${paymentMethodId}-creditcard-issuer`]: '', + [`${paymentMethodId}-cardname`]: '', + [`${paymentMethodId}-cardnumber`]: '', + [`${paymentMethodId}-cardmonth`]: '', + [`${paymentMethodId}-cardyear`]: '', + [`${paymentMethodId}-cardcvc`]: '', + [`${paymentMethodId}-encrypted-data`]: '', + }; - const handleEncryption = async () => { - try { - const cardData = { - cardName: formState[`${paymentMethodId}-cardname`], - cardNumber: formState[`${paymentMethodId}-cardnumber`], - cardMonth: formState[`${paymentMethodId}-cardmonth`], - cardYear: formState[`${paymentMethodId}-cardyear`], - cardCVC: formState[`${paymentMethodId}-cardcvc`], - }; - const encryptedData = await encryptCardData(cardData); + const {formState, handleChange, updateFormState} = useFormData(initialState, onStateChange); - updateFormState(`${paymentMethodId}-encrypted-data`, encryptedData); - } catch (error) { - console.error('Encryption error:', error); - } - }; + const handleEncryption = async () => { + try { + const cardData = { + cardName: formState[`${paymentMethodId}-cardname`], + cardNumber: formState[`${paymentMethodId}-cardnumber`], + cardMonth: formState[`${paymentMethodId}-cardmonth`], + cardYear: formState[`${paymentMethodId}-cardyear`], + cardCVC: formState[`${paymentMethodId}-cardcvc`], + }; + const encryptedData = await encryptCardData(cardData); - useEffect(() => { - if (creditCardMethod === 'encrypt' && creditCardIsSecure === true) { - handleEncryption(); - } - }, [ - formState[`${paymentMethodId}-cardname`], - formState[`${paymentMethodId}-cardnumber`], - formState[`${paymentMethodId}-cardmonth`], - formState[`${paymentMethodId}-cardyear`], - formState[`${paymentMethodId}-cardcvc`], - creditCardMethod, - creditCardIsSecure, - ]); + updateFormState(`${paymentMethodId}-encrypted-data`, encryptedData); + } catch (error) { + console.error('Encryption error:', error); + } + }; - return ( -
    -

    - -

    + useEffect(() => { + if (creditCardMethod === 'encrypt' && creditCardIsSecure === true) { + handleEncryption(); + } + }, [ + formState[`${paymentMethodId}-cardname`], + formState[`${paymentMethodId}-cardnumber`], + formState[`${paymentMethodId}-cardmonth`], + formState[`${paymentMethodId}-cardyear`], + formState[`${paymentMethodId}-cardcvc`], + creditCardMethod, + creditCardIsSecure, + ]); - {creditCardMethod === 'encrypt' && creditCardIsSecure === true && ( -
    -
    - - -
    + return ( +
    +

    + +

    -
    - - -
    + {creditCardMethod === 'encrypt' && creditCardIsSecure === true && ( +
    +
    + + +
    -
    - - -
    +
    + + +
    -
    - - -
    +
    + + +
    -
    - - -
    +
    + + +
    + +
    + + +
    -
    -
    - * - {__('Required', 'wc-buckaroo-bpe-gateway')} +
    +
    + * + {__('Required', 'wc-buckaroo-bpe-gateway')} +
    +
    + )}
    -
    - )} -
    - ); + ); } export default CreditCard; diff --git a/assets/js/blocks/gateways/buckaroo_separate_credit_card.js b/assets/js/blocks/gateways/buckaroo_separate_credit_card.js index 18a8c5dc8..ec72b9b58 100644 --- a/assets/js/blocks/gateways/buckaroo_separate_credit_card.js +++ b/assets/js/blocks/gateways/buckaroo_separate_credit_card.js @@ -1,160 +1,160 @@ -import React, { useEffect } from 'react'; -import { __ } from '@wordpress/i18n'; +import React, {useEffect} from 'react'; +import {__} from '@wordpress/i18n'; import encryptCardData from '../services/BuckarooClientSideEncryption'; import useFormData from '../hooks/useFormData'; -function SeparateCreditCard({ onStateChange, gateway: { paymentMethodId, creditCardMethod, creditCardIsSecure } }) { - const initialState = { - [`${paymentMethodId}-creditcard-issuer`]: paymentMethodId.replace('buckaroo_creditcard_', ''), - [`${paymentMethodId}-cardname`]: '', - [`${paymentMethodId}-cardnumber`]: '', - [`${paymentMethodId}-cardmonth`]: '', - [`${paymentMethodId}-cardyear`]: '', - [`${paymentMethodId}-cardcvc`]: '', - [`${paymentMethodId}-encrypted-data`]: '', - }; +function SeparateCreditCard({onStateChange, gateway}) { + const {paymentMethodId, creditCardMethod, creditCardIsSecure} = gateway; + const initialState = { + [`${paymentMethodId}-creditcard-issuer`]: paymentMethodId.replace('buckaroo_creditcard_', ''), + [`${paymentMethodId}-cardname`]: '', + [`${paymentMethodId}-cardnumber`]: '', + [`${paymentMethodId}-cardmonth`]: '', + [`${paymentMethodId}-cardyear`]: '', + [`${paymentMethodId}-cardcvc`]: '', + [`${paymentMethodId}-encrypted-data`]: '', + }; + // Destructure the object returned by useFormData + const {formState, handleChange, updateFormState} = useFormData(initialState, onStateChange); - // Destructure the object returned by useFormData - const { formState, handleChange, updateFormState } = useFormData(initialState, onStateChange); + useEffect(() => { + updateFormState(`${paymentMethodId}-creditcard-issuer`, initialState[`${paymentMethodId}-creditcard-issuer`]); + }, [`${paymentMethodId}-creditcard-issuer`]); - useEffect(() => { - updateFormState(`${paymentMethodId}-creditcard-issuer`, initialState[`${paymentMethodId}-creditcard-issuer`]); - }, [`${paymentMethodId}-creditcard-issuer`]); + const handleEncryption = async () => { + if (creditCardMethod !== 'encrypt' || !creditCardIsSecure) return; - const handleEncryption = async () => { - if (creditCardMethod !== 'encrypt' || !creditCardIsSecure) return; + try { + const encryptedData = await encryptCardData({ + cardName: formState[`${paymentMethodId}-cardname`], + cardNumber: formState[`${paymentMethodId}-cardnumber`], + cardMonth: formState[`${paymentMethodId}-cardmonth`], + cardYear: formState[`${paymentMethodId}-cardyear`], + cardCVC: formState[`${paymentMethodId}-cardcvc`], + }); + onStateChange({...formState, [`${paymentMethodId}-encrypted-data`]: encryptedData}); + } catch (error) { + console.error('Encryption error:', error); + } + }; - try { - const encryptedData = await encryptCardData({ - cardName: formState[`${paymentMethodId}-cardname`], - cardNumber: formState[`${paymentMethodId}-cardnumber`], - cardMonth: formState[`${paymentMethodId}-cardmonth`], - cardYear: formState[`${paymentMethodId}-cardyear`], - cardCVC: formState[`${paymentMethodId}-cardcvc`], - }); - onStateChange({ ...formState, [`${paymentMethodId}-encrypted-data`]: encryptedData }); - } catch (error) { - console.error('Encryption error:', error); - } - }; + useEffect(() => { + handleEncryption(); + }, [ + formState[`${paymentMethodId}-cardname`], + formState[`${paymentMethodId}-cardnumber`], + formState[`${paymentMethodId}-cardmonth`], + formState[`${paymentMethodId}-cardyear`], + formState[`${paymentMethodId}-cardcvc`], + ]); - useEffect(() => { - handleEncryption(); - }, [ - formState[`${paymentMethodId}-cardname`], - formState[`${paymentMethodId}-cardnumber`], - formState[`${paymentMethodId}-cardmonth`], - formState[`${paymentMethodId}-cardyear`], - formState[`${paymentMethodId}-cardcvc`], - ]); - - return ( -
    -
    - - {creditCardIsSecure === true && ( + return (
    -
    - - -
    +
    + + {creditCardIsSecure === true && ( +
    +
    + + +
    -
    - - -
    +
    + + +
    -
    - - -
    +
    + + +
    -
    - - -
    +
    + + +
    -
    - - -
    +
    + + +
    -
    -
    - * - {__('Required', 'wc-buckaroo-bpe-gateway')} -
    +
    +
    + * + {__('Required', 'wc-buckaroo-bpe-gateway')} +
    +
    + )} +
    - )} -
    -
    - ); + ); } export default SeparateCreditCard; diff --git a/assets/js/blocks/index.js b/assets/js/blocks/index.js old mode 100755 new mode 100644 diff --git a/assets/js/dist/154.js b/assets/js/dist/154.js index 719d5a5fb..92b4e2cbd 100644 --- a/assets/js/dist/154.js +++ b/assets/js/dist/154.js @@ -1 +1 @@ -"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[154],{3154:(e,t,n)=>{n.r(t),n.d(t,{default:()=>i});var a=n(1609),r=n.n(a);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,o,l,c=[],i=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;i=!1}else for(;!(i=(a=o.call(n)).done)&&(c.push(a.value),c.length!==t);i=!0);}catch(e){u=!0,r=e}finally{try{if(!i&&null!=n.return&&(l=n.return(),Object(l)!==l))return}finally{if(u)throw r}}return c}}(e,t)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n{n.r(t),n.d(t,{default:()=>i});var a=n(1609),r=n.n(a);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,o,l,c=[],i=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;i=!1}else for(;!(i=(a=o.call(n)).done)&&(c.push(a.value),c.length!==t);i=!0);}catch(e){u=!0,r=e}finally{try{if(!i&&null!=n.return&&(l=n.return(),Object(l)!==l))return}finally{if(u)throw r}}return c}}(e,t)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n{r.r(t),r.d(t,{default:()=>i});var n=r(1609),a=r.n(n),o=r(1471),c=r(1688);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}const i=function(e){var t=e.onStateChange,r=e.methodName,n=e.gateway.genders;return a().createElement("div",{id:"buckaroo_klarnapay"},a().createElement(o.A,{paymentMethod:r,genders:n,handleChange:function(e){var n=e.target.value;t(function(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=l(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==l(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}({},"".concat(r,"-gender"),n))}}),a().createElement(c.A,null))}},1688:(e,t,r)=>{r.d(t,{A:()=>c});var n=r(1609),a=r.n(n),o=r(7723);const c=function(e){return e.title,a().createElement("div",{style:{display:"block",fontSize:".8rem",clear:"both"}},(0,o.__)("Je moet minimaal 18+ zijn om deze dienst te gebruiken. Als je op tijd betaalt, voorkom je extra kosten en zorg je dat je in de toekomst nogmaals gebruik kunt maken van de diensten van {title}. Door verder te gaan, accepteer je de Algemene Voorwaarden en bevestig je dat je de Privacyverklaring en Cookieverklaring hebt gelezen.","wc-buckaroo-bpe-gateway"))}},1471:(e,t,r)=>{r.d(t,{A:()=>l});var n=r(1609),a=r.n(n),o=r(7723);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.r(t),r.d(t,{default:()=>i});var n=r(1609),a=r.n(n),o=r(1471),c=r(1688);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}const i=function(e){var t=e.onStateChange,r=e.methodName,n=e.gateway.genders;return a().createElement("div",{id:"buckaroo_klarnapay"},a().createElement(o.A,{paymentMethod:r,genders:n,handleChange:function(e){var n=e.target.value;t(function(e,t,r){return(t=function(e){var t=function(e){if("object"!=l(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==l(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}({},"".concat(r,"-gender"),n))}}),a().createElement(c.A,null))}},1688:(e,t,r)=>{r.d(t,{A:()=>c});var n=r(1609),a=r.n(n),o=r(7723);const c=function(e){return e.title,a().createElement("div",{style:{display:"block",fontSize:".8rem",clear:"both"}},(0,o.__)("Je moet minimaal 18+ zijn om deze dienst te gebruiken. Als je op tijd betaalt, voorkom je extra kosten en zorg je dat je in de toekomst nogmaals gebruik kunt maken van de diensten van {title}. Door verder te gaan, accepteer je de Algemene Voorwaarden en bevestig je dat je de Privacyverklaring en Cookieverklaring hebt gelezen.","wc-buckaroo-bpe-gateway"))}},1471:(e,t,r)=>{r.d(t,{A:()=>l});var n=r(1609),a=r.n(n),o=r(7723);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.d(t,{A:()=>s});var n=r(1601),a=r.n(n),o=r(6314),i=r.n(o)()(a());i.push([e.id,'@charset "UTF-8";\n.react-datepicker__year-read-view--down-arrow,\n.react-datepicker__month-read-view--down-arrow,\n.react-datepicker__month-year-read-view--down-arrow, .react-datepicker__navigation-icon::before {\n border-color: #ccc;\n border-style: solid;\n border-width: 3px 3px 0 0;\n content: "";\n display: block;\n height: 9px;\n position: absolute;\n top: 6px;\n width: 9px;\n}\n.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle, .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle {\n margin-left: -4px;\n position: absolute;\n width: 0;\n}\n.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle::before, .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle::before, .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle::after, .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle::after {\n box-sizing: content-box;\n position: absolute;\n border: 8px solid transparent;\n height: 0;\n width: 1px;\n content: "";\n z-index: -1;\n border-width: 8px;\n left: -8px;\n}\n.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle::before, .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle::before {\n border-bottom-color: #aeaeae;\n}\n\n.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle {\n top: 0;\n margin-top: -8px;\n}\n.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle::before, .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle::after {\n border-top: none;\n border-bottom-color: #f0f0f0;\n}\n.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle::after {\n top: 0;\n}\n.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle::before {\n top: -1px;\n border-bottom-color: #aeaeae;\n}\n\n.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle {\n bottom: 0;\n margin-bottom: -8px;\n}\n.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle::before, .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle::after {\n border-bottom: none;\n border-top-color: #fff;\n}\n.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle::after {\n bottom: 0;\n}\n.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle::before {\n bottom: -1px;\n border-top-color: #aeaeae;\n}\n\n.react-datepicker-wrapper {\n display: inline-block;\n padding: 0;\n border: 0;\n}\n\n.react-datepicker {\n font-family: "Helvetica Neue", helvetica, arial, sans-serif;\n font-size: 0.8rem;\n background-color: #fff;\n color: #000;\n border: 1px solid #aeaeae;\n border-radius: 0.3rem;\n display: inline-block;\n position: relative;\n}\n\n.react-datepicker--time-only .react-datepicker__triangle {\n left: 35px;\n}\n.react-datepicker--time-only .react-datepicker__time-container {\n border-left: 0;\n}\n.react-datepicker--time-only .react-datepicker__time,\n.react-datepicker--time-only .react-datepicker__time-box {\n border-bottom-left-radius: 0.3rem;\n border-bottom-right-radius: 0.3rem;\n}\n\n.react-datepicker__triangle {\n position: absolute;\n left: 50px;\n}\n\n.react-datepicker-popper {\n z-index: 1;\n}\n.react-datepicker-popper[data-placement^=bottom] {\n padding-top: 10px;\n}\n.react-datepicker-popper[data-placement=bottom-end] .react-datepicker__triangle, .react-datepicker-popper[data-placement=top-end] .react-datepicker__triangle {\n left: auto;\n right: 50px;\n}\n.react-datepicker-popper[data-placement^=top] {\n padding-bottom: 10px;\n}\n.react-datepicker-popper[data-placement^=right] {\n padding-left: 8px;\n}\n.react-datepicker-popper[data-placement^=right] .react-datepicker__triangle {\n left: auto;\n right: 42px;\n}\n.react-datepicker-popper[data-placement^=left] {\n padding-right: 8px;\n}\n.react-datepicker-popper[data-placement^=left] .react-datepicker__triangle {\n left: 42px;\n right: auto;\n}\n\n.react-datepicker__header {\n text-align: center;\n background-color: #f0f0f0;\n border-bottom: 1px solid #aeaeae;\n border-top-left-radius: 0.3rem;\n padding: 8px 0;\n position: relative;\n}\n.react-datepicker__header--time {\n padding-bottom: 8px;\n padding-left: 5px;\n padding-right: 5px;\n}\n.react-datepicker__header--time:not(.react-datepicker__header--time--only) {\n border-top-left-radius: 0;\n}\n.react-datepicker__header:not(.react-datepicker__header--has-time-select) {\n border-top-right-radius: 0.3rem;\n}\n\n.react-datepicker__year-dropdown-container--select,\n.react-datepicker__month-dropdown-container--select,\n.react-datepicker__month-year-dropdown-container--select,\n.react-datepicker__year-dropdown-container--scroll,\n.react-datepicker__month-dropdown-container--scroll,\n.react-datepicker__month-year-dropdown-container--scroll {\n display: inline-block;\n margin: 0 15px;\n}\n\n.react-datepicker__current-month,\n.react-datepicker-time__header,\n.react-datepicker-year-header {\n margin-top: 0;\n color: #000;\n font-weight: bold;\n font-size: 0.944rem;\n}\n\n.react-datepicker-time__header {\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n}\n\n.react-datepicker__navigation {\n align-items: center;\n background: none;\n display: flex;\n justify-content: center;\n text-align: center;\n cursor: pointer;\n position: absolute;\n top: 2px;\n padding: 0;\n border: none;\n z-index: 1;\n height: 32px;\n width: 32px;\n text-indent: -999em;\n overflow: hidden;\n}\n.react-datepicker__navigation--previous {\n left: 2px;\n}\n.react-datepicker__navigation--next {\n right: 2px;\n}\n.react-datepicker__navigation--next--with-time:not(.react-datepicker__navigation--next--with-today-button) {\n right: 85px;\n}\n.react-datepicker__navigation--years {\n position: relative;\n top: 0;\n display: block;\n margin-left: auto;\n margin-right: auto;\n}\n.react-datepicker__navigation--years-previous {\n top: 4px;\n}\n.react-datepicker__navigation--years-upcoming {\n top: -4px;\n}\n.react-datepicker__navigation:hover *::before {\n border-color: #a6a6a6;\n}\n\n.react-datepicker__navigation-icon {\n position: relative;\n top: -1px;\n font-size: 20px;\n width: 0;\n}\n.react-datepicker__navigation-icon--next {\n left: -2px;\n}\n.react-datepicker__navigation-icon--next::before {\n transform: rotate(45deg);\n left: -7px;\n}\n.react-datepicker__navigation-icon--previous {\n right: -2px;\n}\n.react-datepicker__navigation-icon--previous::before {\n transform: rotate(225deg);\n right: -7px;\n}\n\n.react-datepicker__month-container {\n float: left;\n}\n\n.react-datepicker__year {\n margin: 0.4rem;\n text-align: center;\n}\n.react-datepicker__year-wrapper {\n display: flex;\n flex-wrap: wrap;\n max-width: 180px;\n}\n.react-datepicker__year .react-datepicker__year-text {\n display: inline-block;\n width: 4rem;\n margin: 2px;\n}\n\n.react-datepicker__month {\n margin: 0.4rem;\n text-align: center;\n}\n.react-datepicker__month .react-datepicker__month-text,\n.react-datepicker__month .react-datepicker__quarter-text {\n display: inline-block;\n width: 4rem;\n margin: 2px;\n}\n\n.react-datepicker__input-time-container {\n clear: both;\n width: 100%;\n float: left;\n margin: 5px 0 10px 15px;\n text-align: left;\n}\n.react-datepicker__input-time-container .react-datepicker-time__caption {\n display: inline-block;\n}\n.react-datepicker__input-time-container .react-datepicker-time__input-container {\n display: inline-block;\n}\n.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input {\n display: inline-block;\n margin-left: 10px;\n}\n.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input {\n width: auto;\n}\n.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-inner-spin-button,\n.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-outer-spin-button {\n -webkit-appearance: none;\n margin: 0;\n}\n.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time] {\n -moz-appearance: textfield;\n}\n.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__delimiter {\n margin-left: 5px;\n display: inline-block;\n}\n\n.react-datepicker__time-container {\n float: right;\n border-left: 1px solid #aeaeae;\n width: 85px;\n}\n.react-datepicker__time-container--with-today-button {\n display: inline;\n border: 1px solid #aeaeae;\n border-radius: 0.3rem;\n position: absolute;\n right: -87px;\n top: 0;\n}\n.react-datepicker__time-container .react-datepicker__time {\n position: relative;\n background: white;\n border-bottom-right-radius: 0.3rem;\n}\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box {\n width: 85px;\n overflow-x: hidden;\n margin: 0 auto;\n text-align: center;\n border-bottom-right-radius: 0.3rem;\n}\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list {\n list-style: none;\n margin: 0;\n height: calc(195px + 1.7rem / 2);\n overflow-y: scroll;\n padding-right: 0;\n padding-left: 0;\n width: 100%;\n box-sizing: content-box;\n}\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item {\n height: 30px;\n padding: 5px 10px;\n white-space: nowrap;\n}\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item:hover {\n cursor: pointer;\n background-color: #f0f0f0;\n}\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected {\n background-color: #216ba5;\n color: white;\n font-weight: bold;\n}\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected:hover {\n background-color: #216ba5;\n}\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled {\n color: #ccc;\n}\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled:hover {\n cursor: default;\n background-color: transparent;\n}\n\n.react-datepicker__week-number {\n color: #ccc;\n display: inline-block;\n width: 1.7rem;\n line-height: 1.7rem;\n text-align: center;\n margin: 0.166rem;\n}\n.react-datepicker__week-number.react-datepicker__week-number--clickable {\n cursor: pointer;\n}\n.react-datepicker__week-number.react-datepicker__week-number--clickable:not(.react-datepicker__week-number--selected,\n.react-datepicker__week-number--keyboard-selected):hover {\n border-radius: 0.3rem;\n background-color: #f0f0f0;\n}\n.react-datepicker__week-number--selected {\n border-radius: 0.3rem;\n background-color: #216ba5;\n color: #fff;\n}\n.react-datepicker__week-number--selected:hover {\n background-color: #1d5d90;\n}\n.react-datepicker__week-number--keyboard-selected {\n border-radius: 0.3rem;\n background-color: #2a87d0;\n color: #fff;\n}\n.react-datepicker__week-number--keyboard-selected:hover {\n background-color: #1d5d90;\n}\n\n.react-datepicker__day-names {\n white-space: nowrap;\n margin-bottom: -8px;\n}\n\n.react-datepicker__week {\n white-space: nowrap;\n}\n\n.react-datepicker__day-name,\n.react-datepicker__day,\n.react-datepicker__time-name {\n color: #000;\n display: inline-block;\n width: 1.7rem;\n line-height: 1.7rem;\n text-align: center;\n margin: 0.166rem;\n}\n\n.react-datepicker__day,\n.react-datepicker__month-text,\n.react-datepicker__quarter-text,\n.react-datepicker__year-text {\n cursor: pointer;\n}\n.react-datepicker__day:hover,\n.react-datepicker__month-text:hover,\n.react-datepicker__quarter-text:hover,\n.react-datepicker__year-text:hover {\n border-radius: 0.3rem;\n background-color: #f0f0f0;\n}\n.react-datepicker__day--today,\n.react-datepicker__month-text--today,\n.react-datepicker__quarter-text--today,\n.react-datepicker__year-text--today {\n font-weight: bold;\n}\n.react-datepicker__day--highlighted,\n.react-datepicker__month-text--highlighted,\n.react-datepicker__quarter-text--highlighted,\n.react-datepicker__year-text--highlighted {\n border-radius: 0.3rem;\n background-color: #3dcc4a;\n color: #fff;\n}\n.react-datepicker__day--highlighted:hover,\n.react-datepicker__month-text--highlighted:hover,\n.react-datepicker__quarter-text--highlighted:hover,\n.react-datepicker__year-text--highlighted:hover {\n background-color: #32be3f;\n}\n.react-datepicker__day--highlighted-custom-1,\n.react-datepicker__month-text--highlighted-custom-1,\n.react-datepicker__quarter-text--highlighted-custom-1,\n.react-datepicker__year-text--highlighted-custom-1 {\n color: magenta;\n}\n.react-datepicker__day--highlighted-custom-2,\n.react-datepicker__month-text--highlighted-custom-2,\n.react-datepicker__quarter-text--highlighted-custom-2,\n.react-datepicker__year-text--highlighted-custom-2 {\n color: green;\n}\n.react-datepicker__day--holidays,\n.react-datepicker__month-text--holidays,\n.react-datepicker__quarter-text--holidays,\n.react-datepicker__year-text--holidays {\n position: relative;\n border-radius: 0.3rem;\n background-color: #ff6803;\n color: #fff;\n}\n.react-datepicker__day--holidays .holiday-overlay,\n.react-datepicker__month-text--holidays .holiday-overlay,\n.react-datepicker__quarter-text--holidays .holiday-overlay,\n.react-datepicker__year-text--holidays .holiday-overlay {\n position: absolute;\n bottom: 100%;\n left: 50%;\n transform: translateX(-50%);\n background-color: #333;\n color: #fff;\n padding: 4px;\n border-radius: 4px;\n white-space: nowrap;\n visibility: hidden;\n opacity: 0;\n transition: visibility 0s, opacity 0.3s ease-in-out;\n}\n.react-datepicker__day--holidays:hover,\n.react-datepicker__month-text--holidays:hover,\n.react-datepicker__quarter-text--holidays:hover,\n.react-datepicker__year-text--holidays:hover {\n background-color: #cf5300;\n}\n.react-datepicker__day--holidays:hover .holiday-overlay,\n.react-datepicker__month-text--holidays:hover .holiday-overlay,\n.react-datepicker__quarter-text--holidays:hover .holiday-overlay,\n.react-datepicker__year-text--holidays:hover .holiday-overlay {\n visibility: visible;\n opacity: 1;\n}\n.react-datepicker__day--selected, .react-datepicker__day--in-selecting-range, .react-datepicker__day--in-range,\n.react-datepicker__month-text--selected,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__month-text--in-range,\n.react-datepicker__quarter-text--selected,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__quarter-text--in-range,\n.react-datepicker__year-text--selected,\n.react-datepicker__year-text--in-selecting-range,\n.react-datepicker__year-text--in-range {\n border-radius: 0.3rem;\n background-color: #216ba5;\n color: #fff;\n}\n.react-datepicker__day--selected:hover, .react-datepicker__day--in-selecting-range:hover, .react-datepicker__day--in-range:hover,\n.react-datepicker__month-text--selected:hover,\n.react-datepicker__month-text--in-selecting-range:hover,\n.react-datepicker__month-text--in-range:hover,\n.react-datepicker__quarter-text--selected:hover,\n.react-datepicker__quarter-text--in-selecting-range:hover,\n.react-datepicker__quarter-text--in-range:hover,\n.react-datepicker__year-text--selected:hover,\n.react-datepicker__year-text--in-selecting-range:hover,\n.react-datepicker__year-text--in-range:hover {\n background-color: #1d5d90;\n}\n.react-datepicker__day--keyboard-selected,\n.react-datepicker__month-text--keyboard-selected,\n.react-datepicker__quarter-text--keyboard-selected,\n.react-datepicker__year-text--keyboard-selected {\n border-radius: 0.3rem;\n background-color: #bad9f1;\n color: rgb(0, 0, 0);\n}\n.react-datepicker__day--keyboard-selected:hover,\n.react-datepicker__month-text--keyboard-selected:hover,\n.react-datepicker__quarter-text--keyboard-selected:hover,\n.react-datepicker__year-text--keyboard-selected:hover {\n background-color: #1d5d90;\n}\n.react-datepicker__day--in-selecting-range:not(.react-datepicker__day--in-range,\n.react-datepicker__month-text--in-range,\n.react-datepicker__quarter-text--in-range,\n.react-datepicker__year-text--in-range),\n.react-datepicker__month-text--in-selecting-range:not(.react-datepicker__day--in-range,\n.react-datepicker__month-text--in-range,\n.react-datepicker__quarter-text--in-range,\n.react-datepicker__year-text--in-range),\n.react-datepicker__quarter-text--in-selecting-range:not(.react-datepicker__day--in-range,\n.react-datepicker__month-text--in-range,\n.react-datepicker__quarter-text--in-range,\n.react-datepicker__year-text--in-range),\n.react-datepicker__year-text--in-selecting-range:not(.react-datepicker__day--in-range,\n.react-datepicker__month-text--in-range,\n.react-datepicker__quarter-text--in-range,\n.react-datepicker__year-text--in-range) {\n background-color: rgba(33, 107, 165, 0.5);\n}\n.react-datepicker__month--selecting-range .react-datepicker__day--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range), .react-datepicker__year--selecting-range .react-datepicker__day--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range),\n.react-datepicker__month--selecting-range .react-datepicker__month-text--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range),\n.react-datepicker__year--selecting-range .react-datepicker__month-text--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range),\n.react-datepicker__month--selecting-range .react-datepicker__quarter-text--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range),\n.react-datepicker__year--selecting-range .react-datepicker__quarter-text--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range),\n.react-datepicker__month--selecting-range .react-datepicker__year-text--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range),\n.react-datepicker__year--selecting-range .react-datepicker__year-text--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range) {\n background-color: #f0f0f0;\n color: #000;\n}\n.react-datepicker__day--disabled,\n.react-datepicker__month-text--disabled,\n.react-datepicker__quarter-text--disabled,\n.react-datepicker__year-text--disabled {\n cursor: default;\n color: #ccc;\n}\n.react-datepicker__day--disabled:hover,\n.react-datepicker__month-text--disabled:hover,\n.react-datepicker__quarter-text--disabled:hover,\n.react-datepicker__year-text--disabled:hover {\n background-color: transparent;\n}\n\n.react-datepicker__input-container {\n position: relative;\n display: inline-block;\n width: 100%;\n}\n.react-datepicker__input-container .react-datepicker__calendar-icon {\n position: absolute;\n padding: 0.5rem;\n box-sizing: content-box;\n}\n\n.react-datepicker__view-calendar-icon input {\n padding: 6px 10px 5px 25px;\n}\n\n.react-datepicker__year-read-view,\n.react-datepicker__month-read-view,\n.react-datepicker__month-year-read-view {\n border: 1px solid transparent;\n border-radius: 0.3rem;\n position: relative;\n}\n.react-datepicker__year-read-view:hover,\n.react-datepicker__month-read-view:hover,\n.react-datepicker__month-year-read-view:hover {\n cursor: pointer;\n}\n.react-datepicker__year-read-view:hover .react-datepicker__year-read-view--down-arrow,\n.react-datepicker__year-read-view:hover .react-datepicker__month-read-view--down-arrow,\n.react-datepicker__month-read-view:hover .react-datepicker__year-read-view--down-arrow,\n.react-datepicker__month-read-view:hover .react-datepicker__month-read-view--down-arrow,\n.react-datepicker__month-year-read-view:hover .react-datepicker__year-read-view--down-arrow,\n.react-datepicker__month-year-read-view:hover .react-datepicker__month-read-view--down-arrow {\n border-top-color: #b3b3b3;\n}\n.react-datepicker__year-read-view--down-arrow,\n.react-datepicker__month-read-view--down-arrow,\n.react-datepicker__month-year-read-view--down-arrow {\n transform: rotate(135deg);\n right: -16px;\n top: 0;\n}\n\n.react-datepicker__year-dropdown,\n.react-datepicker__month-dropdown,\n.react-datepicker__month-year-dropdown {\n background-color: #f0f0f0;\n position: absolute;\n width: 50%;\n left: 25%;\n top: 30px;\n z-index: 1;\n text-align: center;\n border-radius: 0.3rem;\n border: 1px solid #aeaeae;\n}\n.react-datepicker__year-dropdown:hover,\n.react-datepicker__month-dropdown:hover,\n.react-datepicker__month-year-dropdown:hover {\n cursor: pointer;\n}\n.react-datepicker__year-dropdown--scrollable,\n.react-datepicker__month-dropdown--scrollable,\n.react-datepicker__month-year-dropdown--scrollable {\n height: 150px;\n overflow-y: scroll;\n}\n\n.react-datepicker__year-option,\n.react-datepicker__month-option,\n.react-datepicker__month-year-option {\n line-height: 20px;\n width: 100%;\n display: block;\n margin-left: auto;\n margin-right: auto;\n}\n.react-datepicker__year-option:first-of-type,\n.react-datepicker__month-option:first-of-type,\n.react-datepicker__month-year-option:first-of-type {\n border-top-left-radius: 0.3rem;\n border-top-right-radius: 0.3rem;\n}\n.react-datepicker__year-option:last-of-type,\n.react-datepicker__month-option:last-of-type,\n.react-datepicker__month-year-option:last-of-type {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n border-bottom-left-radius: 0.3rem;\n border-bottom-right-radius: 0.3rem;\n}\n.react-datepicker__year-option:hover,\n.react-datepicker__month-option:hover,\n.react-datepicker__month-year-option:hover {\n background-color: #ccc;\n}\n.react-datepicker__year-option:hover .react-datepicker__navigation--years-upcoming,\n.react-datepicker__month-option:hover .react-datepicker__navigation--years-upcoming,\n.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-upcoming {\n border-bottom-color: #b3b3b3;\n}\n.react-datepicker__year-option:hover .react-datepicker__navigation--years-previous,\n.react-datepicker__month-option:hover .react-datepicker__navigation--years-previous,\n.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-previous {\n border-top-color: #b3b3b3;\n}\n.react-datepicker__year-option--selected,\n.react-datepicker__month-option--selected,\n.react-datepicker__month-year-option--selected {\n position: absolute;\n left: 15px;\n}\n\n.react-datepicker__close-icon {\n cursor: pointer;\n background-color: transparent;\n border: 0;\n outline: 0;\n padding: 0 6px 0 0;\n position: absolute;\n top: 0;\n right: 0;\n height: 100%;\n display: table-cell;\n vertical-align: middle;\n}\n.react-datepicker__close-icon::after {\n cursor: pointer;\n background-color: #216ba5;\n color: #fff;\n border-radius: 50%;\n height: 16px;\n width: 16px;\n padding: 2px;\n font-size: 12px;\n line-height: 1;\n text-align: center;\n display: table-cell;\n vertical-align: middle;\n content: "×";\n}\n.react-datepicker__close-icon--disabled {\n cursor: default;\n}\n.react-datepicker__close-icon--disabled::after {\n cursor: default;\n background-color: #ccc;\n}\n\n.react-datepicker__today-button {\n background: #f0f0f0;\n border-top: 1px solid #aeaeae;\n cursor: pointer;\n text-align: center;\n font-weight: bold;\n padding: 5px 0;\n clear: left;\n}\n\n.react-datepicker__portal {\n position: fixed;\n width: 100vw;\n height: 100vh;\n background-color: rgba(0, 0, 0, 0.8);\n left: 0;\n top: 0;\n justify-content: center;\n align-items: center;\n display: flex;\n z-index: 2147483647;\n}\n.react-datepicker__portal .react-datepicker__day-name,\n.react-datepicker__portal .react-datepicker__day,\n.react-datepicker__portal .react-datepicker__time-name {\n width: 3rem;\n line-height: 3rem;\n}\n@media (max-width: 400px), (max-height: 550px) {\n .react-datepicker__portal .react-datepicker__day-name,\n .react-datepicker__portal .react-datepicker__day,\n .react-datepicker__portal .react-datepicker__time-name {\n width: 2rem;\n line-height: 2rem;\n }\n}\n.react-datepicker__portal .react-datepicker__current-month,\n.react-datepicker__portal .react-datepicker-time__header {\n font-size: 1.44rem;\n}\n\n.react-datepicker__children-container {\n width: 13.8rem;\n margin: 0.4rem;\n padding-right: 0.2rem;\n padding-left: 0.2rem;\n height: auto;\n}\n\n.react-datepicker__aria-live {\n position: absolute;\n clip-path: circle(0);\n border: 0;\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n width: 1px;\n white-space: nowrap;\n}\n\n.react-datepicker__calendar-icon {\n width: 1em;\n height: 1em;\n vertical-align: -0.125em;\n}\n',""]);const s=i},6314:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r="",n=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),n&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),n&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r})).join("")},t.i=function(e,r,n,a,o){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(n)for(var s=0;s0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),r&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=r):u[2]=r),a&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=a):u[4]="".concat(a)),t.push(u))}},t}},1601:e=>{"use strict";e.exports=function(e){return e[1]}},4274:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function a(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}var o,i={date:a({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:a({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:a({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},s={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function c(e){return function(t,r){var n;if("formatting"===(null!=r&&r.context?String(r.context):"standalone")&&e.formattingValues){var a=e.defaultFormattingWidth||e.defaultWidth,o=null!=r&&r.width?String(r.width):a;n=e.formattingValues[o]||e.formattingValues[a]}else{var i=e.defaultWidth,s=null!=r&&r.width?String(r.width):e.defaultWidth;n=e.values[s]||e.values[i]}return n[e.argumentCallback?e.argumentCallback(t):t]}}function l(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.width,a=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],o=t.match(a);if(!o)return null;var i,s=o[0],c=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(c)?function(e,t){for(var r=0;r0?"in "+a:a+" ago":a},formatLong:i,formatRelative:function(e,t,r,n){return s[e]},localize:{ordinalNumber:function(e,t){var r=Number(e),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},era:c({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:c({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:c({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:c({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:c({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(o={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.match(o.matchPattern);if(!r)return null;var n=r[0],a=e.match(o.parsePattern);if(!a)return null;var i=o.valueCallback?o.valueCallback(a[0]):a[0];return{value:i=t.valueCallback?t.valueCallback(i):i,rest:e.slice(n.length)}}),era:l({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:l({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:l({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:l({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:l({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},1858:(e,t,r)=>{"use strict";r.d(t,{q:()=>a});var n={};function a(){return n}},1788:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=function(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},a=function(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}};const o={p:a,P:function(e,t){var r,o=e.match(/(P+)(p+)?/)||[],i=o[1],s=o[2];if(!s)return n(e,t);switch(i){case"P":r=t.dateTime({width:"short"});break;case"PP":r=t.dateTime({width:"medium"});break;case"PPP":r=t.dateTime({width:"long"});break;default:r=t.dateTime({width:"full"})}return r.replace("{{date}}",n(i,t)).replace("{{time}}",a(s,t))}}},7044:(e,t,r)=>{"use strict";function n(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}r.d(t,{A:()=>n})},1053:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n=r(123),a=r(9411),o=r(4127),i=r(551),s=6048e5;function c(e){(0,i.A)(1,arguments);var t=(0,n.default)(e),r=(0,a.A)(t).getTime()-function(e){(0,i.A)(1,arguments);var t=(0,o.A)(e),r=new Date(0);return r.setUTCFullYear(t,0,4),r.setUTCHours(0,0,0,0),(0,a.A)(r)}(t).getTime();return Math.round(r/s)+1}},4127:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(123),a=r(551),o=r(9411);function i(e){(0,a.A)(1,arguments);var t=(0,n.default)(e),r=t.getUTCFullYear(),i=new Date(0);i.setUTCFullYear(r+1,0,4),i.setUTCHours(0,0,0,0);var s=(0,o.A)(i),c=new Date(0);c.setUTCFullYear(r,0,4),c.setUTCHours(0,0,0,0);var l=(0,o.A)(c);return t.getTime()>=s.getTime()?r+1:t.getTime()>=l.getTime()?r:r-1}},6894:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n=r(123),a=r(9742),o=r(464),i=r(551),s=r(4188),c=r(1858),l=6048e5;function u(e,t){(0,i.A)(1,arguments);var r=(0,n.default)(e),u=(0,a.A)(r,t).getTime()-function(e,t){var r,n,l,u,d,p,f,h;(0,i.A)(1,arguments);var m=(0,c.q)(),v=(0,s.A)(null!==(r=null!==(n=null!==(l=null!==(u=null==t?void 0:t.firstWeekContainsDate)&&void 0!==u?u:null==t||null===(d=t.locale)||void 0===d||null===(p=d.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==l?l:m.firstWeekContainsDate)&&void 0!==n?n:null===(f=m.locale)||void 0===f||null===(h=f.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==r?r:1),g=(0,o.A)(e,t),y=new Date(0);return y.setUTCFullYear(g,0,v),y.setUTCHours(0,0,0,0),(0,a.A)(y,t)}(r,t).getTime();return Math.round(u/l)+1}},464:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n=r(123),a=r(551),o=r(9742),i=r(4188),s=r(1858);function c(e,t){var r,c,l,u,d,p,f,h;(0,a.A)(1,arguments);var m=(0,n.default)(e),v=m.getUTCFullYear(),g=(0,s.q)(),y=(0,i.A)(null!==(r=null!==(c=null!==(l=null!==(u=null==t?void 0:t.firstWeekContainsDate)&&void 0!==u?u:null==t||null===(d=t.locale)||void 0===d||null===(p=d.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==l?l:g.firstWeekContainsDate)&&void 0!==c?c:null===(f=g.locale)||void 0===f||null===(h=f.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==r?r:1);if(!(y>=1&&y<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var w=new Date(0);w.setUTCFullYear(v+1,0,y),w.setUTCHours(0,0,0,0);var k=(0,o.A)(w,t),b=new Date(0);b.setUTCFullYear(v,0,y),b.setUTCHours(0,0,0,0);var _=(0,o.A)(b,t);return m.getTime()>=k.getTime()?v+1:m.getTime()>=_.getTime()?v:v-1}},1109:(e,t,r)=>{"use strict";r.d(t,{ef:()=>o,lJ:()=>s,xM:()=>i});var n=["D","DD"],a=["YY","YYYY"];function o(e){return-1!==n.indexOf(e)}function i(e){return-1!==a.indexOf(e)}function s(e,t,r){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===e)throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===e)throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===e)throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}},551:(e,t,r)=>{"use strict";function n(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}r.d(t,{A:()=>n})},9411:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(123),a=r(551);function o(e){(0,a.A)(1,arguments);var t=(0,n.default)(e),r=t.getUTCDay(),o=(r<1?7:0)+r-1;return t.setUTCDate(t.getUTCDate()-o),t.setUTCHours(0,0,0,0),t}},9742:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(123),a=r(551),o=r(4188),i=r(1858);function s(e,t){var r,s,c,l,u,d,p,f;(0,a.A)(1,arguments);var h=(0,i.q)(),m=(0,o.A)(null!==(r=null!==(s=null!==(c=null!==(l=null==t?void 0:t.weekStartsOn)&&void 0!==l?l:null==t||null===(u=t.locale)||void 0===u||null===(d=u.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==c?c:h.weekStartsOn)&&void 0!==s?s:null===(p=h.locale)||void 0===p||null===(f=p.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==r?r:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var v=(0,n.default)(e),g=v.getUTCDay(),y=(g{"use strict";function n(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}r.d(t,{A:()=>n})},2998:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(4188),a=r(123),o=r(551);function i(e,t){(0,o.A)(2,arguments);var r=(0,a.default)(e),i=(0,n.A)(t);return isNaN(i)?new Date(NaN):i?(r.setDate(r.getDate()+i),r):r}},1524:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});var n=r(4188),a=r(7767),o=r(551),i=36e5;function s(e,t){(0,o.A)(2,arguments);var r=(0,n.A)(t);return(0,a.A)(e,r*i)}},7767:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(4188),a=r(123),o=r(551);function i(e,t){(0,o.A)(2,arguments);var r=(0,a.default)(e).getTime(),i=(0,n.A)(t);return new Date(r+i)}},2890:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});var n=r(4188),a=r(7767),o=r(551),i=6e4;function s(e,t){(0,o.A)(2,arguments);var r=(0,n.A)(t);return(0,a.A)(e,r*i)}},2118:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(4188),a=r(123),o=r(551);function i(e,t){(0,o.A)(2,arguments);var r=(0,a.default)(e),i=(0,n.A)(t);if(isNaN(i))return new Date(NaN);if(!i)return r;var s=r.getDate(),c=new Date(r.getTime());return c.setMonth(r.getMonth()+i+1,0),s>=c.getDate()?c:(r.setFullYear(c.getFullYear(),c.getMonth(),s),r)}},9852:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(4188),a=r(2118),o=r(551);function i(e,t){(0,o.A)(2,arguments);var r=3*(0,n.A)(t);return(0,a.default)(e,r)}},2238:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(4188),a=r(2998),o=r(551);function i(e,t){(0,o.A)(2,arguments);var r=7*(0,n.A)(t);return(0,a.default)(e,r)}},9317:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(4188),a=r(2118),o=r(551);function i(e,t){(0,o.A)(2,arguments);var r=(0,n.A)(t);return(0,a.default)(e,12*r)}},7499:(e,t,r)=>{"use strict";r.d(t,{Cg:()=>n,_m:()=>o,s0:()=>a}),Math.pow(10,8);var n=6e4,a=36e5,o=1e3},63:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});var n=r(7044),a=r(1127),o=r(551),i=864e5;function s(e,t){(0,o.A)(2,arguments);var r=(0,a.default)(e),s=(0,a.default)(t),c=r.getTime()-(0,n.A)(r),l=s.getTime()-(0,n.A)(s);return Math.round((c-l)/i)}},667:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(123),a=r(551);function o(e,t){(0,a.A)(2,arguments);var r=(0,n.default)(e),o=(0,n.default)(t);return 12*(r.getFullYear()-o.getFullYear())+(r.getMonth()-o.getMonth())}},2002:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(123),a=r(551);function o(e,t){(0,a.A)(2,arguments);var r=(0,n.default)(e),o=(0,n.default)(t);return r.getFullYear()-o.getFullYear()}},6212:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(123),a=r(551);function o(e){(0,a.A)(1,arguments);var t=(0,n.default)(e);return t.setHours(23,59,59,999),t}},9312:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(123),a=r(551);function o(e){(0,a.A)(1,arguments);var t=(0,n.default)(e),r=t.getMonth();return t.setFullYear(t.getFullYear(),r+1,0),t.setHours(23,59,59,999),t}},6462:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});var n=r(1858),a=r(123),o=r(4188),i=r(551);function s(e,t){var r,s,c,l,u,d,p,f;(0,i.A)(1,arguments);var h=(0,n.q)(),m=(0,o.A)(null!==(r=null!==(s=null!==(c=null!==(l=null==t?void 0:t.weekStartsOn)&&void 0!==l?l:null==t||null===(u=t.locale)||void 0===u||null===(d=u.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==c?c:h.weekStartsOn)&&void 0!==s?s:null===(p=h.locale)||void 0===p||null===(f=p.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==r?r:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var v=(0,a.default)(e),g=v.getDay(),y=6+(g{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(123),a=r(551);function o(e){(0,a.A)(1,arguments);var t=(0,n.default)(e),r=t.getFullYear();return t.setFullYear(r+1,0,0),t.setHours(23,59,59,999),t}},2346:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>I});var n=r(6828),a=r(5654),o=r(123),i=r(551),s=r(1053),c=r(4127),l=r(6894),u=r(464);function d(e,t){for(var r=e<0?"-":"",n=Math.abs(e).toString();n.length0?r:1-r;return d("yy"===t?n%100:n,t.length)},f=function(e,t){var r=e.getUTCMonth();return"M"===t?String(r+1):d(r+1,2)},h=function(e,t){return d(e.getUTCDate(),t.length)},m=function(e,t){return d(e.getUTCHours()%12||12,t.length)},v=function(e,t){return d(e.getUTCHours(),t.length)},g=function(e,t){return d(e.getUTCMinutes(),t.length)},y=function(e,t){return d(e.getUTCSeconds(),t.length)},w=function(e,t){var r=t.length,n=e.getUTCMilliseconds();return d(Math.floor(n*Math.pow(10,r-3)),t.length)};function k(e,t){var r=e>0?"-":"+",n=Math.abs(e),a=Math.floor(n/60),o=n%60;if(0===o)return r+String(a);var i=t||"";return r+String(a)+i+d(o,2)}function b(e,t){return e%60==0?(e>0?"-":"+")+d(Math.abs(e)/60,2):_(e,t)}function _(e,t){var r=t||"",n=e>0?"-":"+",a=Math.abs(e);return n+d(Math.floor(a/60),2)+r+d(a%60,2)}const D={G:function(e,t,r){var n=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});default:return r.era(n,{width:"wide"})}},y:function(e,t,r){if("yo"===t){var n=e.getUTCFullYear(),a=n>0?n:1-n;return r.ordinalNumber(a,{unit:"year"})}return p(e,t)},Y:function(e,t,r,n){var a=(0,u.A)(e,n),o=a>0?a:1-a;return"YY"===t?d(o%100,2):"Yo"===t?r.ordinalNumber(o,{unit:"year"}):d(o,t.length)},R:function(e,t){return d((0,c.A)(e),t.length)},u:function(e,t){return d(e.getUTCFullYear(),t.length)},Q:function(e,t,r){var n=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return d(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,t,r){var n=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return d(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,t,r){var n=e.getUTCMonth();switch(t){case"M":case"MM":return f(e,t);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(e,t,r){var n=e.getUTCMonth();switch(t){case"L":return String(n+1);case"LL":return d(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(e,t,r,n){var a=(0,l.A)(e,n);return"wo"===t?r.ordinalNumber(a,{unit:"week"}):d(a,t.length)},I:function(e,t,r){var n=(0,s.A)(e);return"Io"===t?r.ordinalNumber(n,{unit:"week"}):d(n,t.length)},d:function(e,t,r){return"do"===t?r.ordinalNumber(e.getUTCDate(),{unit:"date"}):h(e,t)},D:function(e,t,r){var n=function(e){(0,i.A)(1,arguments);var t=(0,o.default)(e),r=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var n=r-t.getTime();return Math.floor(n/864e5)+1}(e);return"Do"===t?r.ordinalNumber(n,{unit:"dayOfYear"}):d(n,t.length)},E:function(e,t,r){var n=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(e,t,r,n){var a=e.getUTCDay(),o=(a-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return d(o,2);case"eo":return r.ordinalNumber(o,{unit:"day"});case"eee":return r.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(a,{width:"short",context:"formatting"});default:return r.day(a,{width:"wide",context:"formatting"})}},c:function(e,t,r,n){var a=e.getUTCDay(),o=(a-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return d(o,t.length);case"co":return r.ordinalNumber(o,{unit:"day"});case"ccc":return r.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(a,{width:"narrow",context:"standalone"});case"cccccc":return r.day(a,{width:"short",context:"standalone"});default:return r.day(a,{width:"wide",context:"standalone"})}},i:function(e,t,r){var n=e.getUTCDay(),a=0===n?7:n;switch(t){case"i":return String(a);case"ii":return d(a,t.length);case"io":return r.ordinalNumber(a,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(e,t,r){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(e,t,r){var n,a=e.getUTCHours();switch(n=12===a?"noon":0===a?"midnight":a/12>=1?"pm":"am",t){case"b":case"bb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},B:function(e,t,r){var n,a=e.getUTCHours();switch(n=a>=17?"evening":a>=12?"afternoon":a>=4?"morning":"night",t){case"B":case"BB":case"BBB":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},h:function(e,t,r){if("ho"===t){var n=e.getUTCHours()%12;return 0===n&&(n=12),r.ordinalNumber(n,{unit:"hour"})}return m(e,t)},H:function(e,t,r){return"Ho"===t?r.ordinalNumber(e.getUTCHours(),{unit:"hour"}):v(e,t)},K:function(e,t,r){var n=e.getUTCHours()%12;return"Ko"===t?r.ordinalNumber(n,{unit:"hour"}):d(n,t.length)},k:function(e,t,r){var n=e.getUTCHours();return 0===n&&(n=24),"ko"===t?r.ordinalNumber(n,{unit:"hour"}):d(n,t.length)},m:function(e,t,r){return"mo"===t?r.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):g(e,t)},s:function(e,t,r){return"so"===t?r.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):y(e,t)},S:function(e,t){return w(e,t)},X:function(e,t,r,n){var a=(n._originalDate||e).getTimezoneOffset();if(0===a)return"Z";switch(t){case"X":return b(a);case"XXXX":case"XX":return _(a);default:return _(a,":")}},x:function(e,t,r,n){var a=(n._originalDate||e).getTimezoneOffset();switch(t){case"x":return b(a);case"xxxx":case"xx":return _(a);default:return _(a,":")}},O:function(e,t,r,n){var a=(n._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+k(a,":");default:return"GMT"+_(a,":")}},z:function(e,t,r,n){var a=(n._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+k(a,":");default:return"GMT"+_(a,":")}},t:function(e,t,r,n){var a=n._originalDate||e;return d(Math.floor(a.getTime()/1e3),t.length)},T:function(e,t,r,n){return d((n._originalDate||e).getTime(),t.length)}};var x=r(1788),C=r(7044),S=r(1109),T=r(4188),M=r(1858),E=r(4274),P=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,O=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,N=/^'([^]*?)'?$/,A=/''/g,Y=/[a-zA-Z]/;function I(e,t,r){var s,c,l,u,d,p,f,h,m,v,g,y,w,k,b,_,I,R;(0,i.A)(2,arguments);var L=String(t),F=(0,M.q)(),W=null!==(s=null!==(c=null==r?void 0:r.locale)&&void 0!==c?c:F.locale)&&void 0!==s?s:E.A,U=(0,T.A)(null!==(l=null!==(u=null!==(d=null!==(p=null==r?void 0:r.firstWeekContainsDate)&&void 0!==p?p:null==r||null===(f=r.locale)||void 0===f||null===(h=f.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==d?d:F.firstWeekContainsDate)&&void 0!==u?u:null===(m=F.locale)||void 0===m||null===(v=m.options)||void 0===v?void 0:v.firstWeekContainsDate)&&void 0!==l?l:1);if(!(U>=1&&U<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var H=(0,T.A)(null!==(g=null!==(y=null!==(w=null!==(k=null==r?void 0:r.weekStartsOn)&&void 0!==k?k:null==r||null===(b=r.locale)||void 0===b||null===(_=b.options)||void 0===_?void 0:_.weekStartsOn)&&void 0!==w?w:F.weekStartsOn)&&void 0!==y?y:null===(I=F.locale)||void 0===I||null===(R=I.options)||void 0===R?void 0:R.weekStartsOn)&&void 0!==g?g:0);if(!(H>=0&&H<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!W.localize)throw new RangeError("locale must contain localize property");if(!W.formatLong)throw new RangeError("locale must contain formatLong property");var j=(0,o.default)(e);if(!(0,n.default)(j))throw new RangeError("Invalid time value");var q=(0,C.A)(j),B=(0,a.A)(j,q),Q={firstWeekContainsDate:U,weekStartsOn:H,locale:W,_originalDate:j};return L.match(O).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,x.A[t])(e,W.formatLong):e})).join("").match(P).map((function(n){if("''"===n)return"'";var a,o,i=n[0];if("'"===i)return(o=(a=n).match(N))?o[1].replace(A,"'"):a;var s=D[i];if(s)return null!=r&&r.useAdditionalWeekYearTokens||!(0,S.xM)(n)||(0,S.lJ)(n,t,String(e)),null!=r&&r.useAdditionalDayOfYearTokens||!(0,S.ef)(n)||(0,S.lJ)(n,t,String(e)),s(B,n,W.localize,Q);if(i.match(Y))throw new RangeError("Format string contains an unescaped latin alphabet character `"+i+"`");return n})).join("")}},274:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(123),a=r(551);function o(e){return(0,a.A)(1,arguments),(0,n.default)(e).getDate()}},7512:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(123),a=r(551);function o(e){return(0,a.A)(1,arguments),(0,n.default)(e).getDay()}},8089:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(123),a=r(551);function o(e){return(0,a.A)(1,arguments),(0,n.default)(e).getHours()}},8850:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>c});var n=r(123),a=r(7827),o=r(551);function i(e){return(0,o.A)(1,arguments),(0,a.default)(e,{weekStartsOn:1})}var s=6048e5;function c(e){(0,o.A)(1,arguments);var t=(0,n.default)(e),r=i(t).getTime()-function(e){(0,o.A)(1,arguments);var t=function(e){(0,o.A)(1,arguments);var t=(0,n.default)(e),r=t.getFullYear(),a=new Date(0);a.setFullYear(r+1,0,4),a.setHours(0,0,0,0);var s=i(a),c=new Date(0);c.setFullYear(r,0,4),c.setHours(0,0,0,0);var l=i(c);return t.getTime()>=s.getTime()?r+1:t.getTime()>=l.getTime()?r:r-1}(e),r=new Date(0);return r.setFullYear(t,0,4),r.setHours(0,0,0,0),i(r)}(t).getTime();return Math.round(r/s)+1}},2563:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(123),a=r(551);function o(e){return(0,a.A)(1,arguments),(0,n.default)(e).getMinutes()}},2044:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(123),a=r(551);function o(e){return(0,a.A)(1,arguments),(0,n.default)(e).getMonth()}},4158:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(123),a=r(551);function o(e){(0,a.A)(1,arguments);var t=(0,n.default)(e);return Math.floor(t.getMonth()/3)+1}},9251:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(123),a=r(551);function o(e){return(0,a.A)(1,arguments),(0,n.default)(e).getSeconds()}},8519:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(123),a=r(551);function o(e){return(0,a.A)(1,arguments),(0,n.default)(e).getTime()}},2379:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(123),a=r(551);function o(e){return(0,a.A)(1,arguments),(0,n.default)(e).getFullYear()}},9672:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(123),a=r(551);function o(e,t){(0,a.A)(2,arguments);var r=(0,n.default)(e),o=(0,n.default)(t);return r.getTime()>o.getTime()}},7813:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(123),a=r(551);function o(e,t){(0,a.A)(2,arguments);var r=(0,n.default)(e),o=(0,n.default)(t);return r.getTime(){"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(2284),a=r(551);function o(e){return(0,a.A)(1,arguments),e instanceof Date||"object"===(0,n.A)(e)&&"[object Date]"===Object.prototype.toString.call(e)}},5010:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(123),a=r(551);function o(e,t){(0,a.A)(2,arguments);var r=(0,n.default)(e),o=(0,n.default)(t);return r.getTime()===o.getTime()}},1810:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(1127),a=r(551);function o(e,t){(0,a.A)(2,arguments);var r=(0,n.default)(e),o=(0,n.default)(t);return r.getTime()===o.getTime()}},2702:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(123),a=r(551);function o(e,t){(0,a.A)(2,arguments);var r=(0,n.default)(e),o=(0,n.default)(t);return r.getFullYear()===o.getFullYear()&&r.getMonth()===o.getMonth()}},992:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(6757),a=r(551);function o(e,t){(0,a.A)(2,arguments);var r=(0,n.default)(e),o=(0,n.default)(t);return r.getTime()===o.getTime()}},4125:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(123),a=r(551);function o(e,t){(0,a.A)(2,arguments);var r=(0,n.default)(e),o=(0,n.default)(t);return r.getFullYear()===o.getFullYear()}},6828:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(5290),a=r(123),o=r(551);function i(e){if((0,o.A)(1,arguments),!(0,n.default)(e)&&"number"!=typeof e)return!1;var t=(0,a.default)(e);return!isNaN(Number(t))}},3652:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(123),a=r(551);function o(e,t){(0,a.A)(2,arguments);var r=(0,n.default)(e).getTime(),o=(0,n.default)(t.start).getTime(),i=(0,n.default)(t.end).getTime();if(!(o<=i))throw new RangeError("Invalid interval");return r>=o&&r<=i}},7440:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(2284),a=r(123),o=r(551);function i(e){var t,r;if((0,o.A)(1,arguments),e&&"function"==typeof e.forEach)t=e;else{if("object"!==(0,n.A)(e)||null===e)return new Date(NaN);t=Array.prototype.slice.call(e)}return t.forEach((function(e){var t=(0,a.default)(e);(void 0===r||r{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(2284),a=r(123),o=r(551);function i(e){var t,r;if((0,o.A)(1,arguments),e&&"function"==typeof e.forEach)t=e;else{if("object"!==(0,n.A)(e)||null===e)return new Date(NaN);t=Array.prototype.slice.call(e)}return t.forEach((function(e){var t=(0,a.default)(e);(void 0===r||r>t||isNaN(t.getDate()))&&(r=t)})),r||new Date(NaN)}},804:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>nt});var n=r(2284);function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){c=!0,i=e},f:function(){try{s||null==r.return||r.return()}finally{if(c)throw i}}}}var i=r(4274),s=r(5654),c=r(123);function l(e,t){if(null==e)throw new TypeError("assign requires that input parameter not be null or undefined");for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}var u=r(1788),d=r(7044),p=r(1109),f=r(4188),h=r(551);function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e,t){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},v(e,t)}function g(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&v(e,t)}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}function w(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(w=function(){return!!e})()}function k(e){var t=w();return function(){var r,a=y(e);if(t){var o=y(this).constructor;r=Reflect.construct(a,arguments,o)}else r=a.apply(this,arguments);return function(e,t){if(t&&("object"==(0,n.A)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return m(e)}(this,r)}}function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _(e){var t=function(e,t){if("object"!=(0,n.A)(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var a=r.call(e,"string");if("object"!=(0,n.A)(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==(0,n.A)(t)?t:t+""}function D(e,t){for(var r=0;r0,a=n?t:1-t;if(a<=50)r=e||100;else{var o=a+50;r=e+100*Math.floor(o/100)-(e>=o%100?100:0)}return n?r:1-r}function ue(e){return e%400==0||e%4==0&&e%100!=0}var de=function(e){g(r,e);var t=k(r);function r(){var e;b(this,r);for(var n=arguments.length,a=new Array(n),o=0;o0}},{key:"set",value:function(e,t,r){var n=e.getUTCFullYear();if(r.isTwoDigitYear){var a=le(r.year,n);return e.setUTCFullYear(a,0,1),e.setUTCHours(0,0,0,0),e}var o="era"in t&&1!==t.era?1-r.year:r.year;return e.setUTCFullYear(o,0,1),e.setUTCHours(0,0,0,0),e}}]),r}(E),pe=r(464),fe=r(9742),he=function(e){g(r,e);var t=k(r);function r(){var e;b(this,r);for(var n=arguments.length,a=new Array(n),o=0;o0}},{key:"set",value:function(e,t,r,n){var a=(0,pe.A)(e,n);if(r.isTwoDigitYear){var o=le(r.year,a);return e.setUTCFullYear(o,0,n.firstWeekContainsDate),e.setUTCHours(0,0,0,0),(0,fe.A)(e,n)}var i="era"in t&&1!==t.era?1-r.year:r.year;return e.setUTCFullYear(i,0,n.firstWeekContainsDate),e.setUTCHours(0,0,0,0),(0,fe.A)(e,n)}}]),r}(E),me=r(9411),ve=function(e){g(r,e);var t=k(r);function r(){var e;b(this,r);for(var n=arguments.length,a=new Array(n),o=0;o=1&&t<=4}},{key:"set",value:function(e,t,r){return e.setUTCMonth(3*(r-1),1),e.setUTCHours(0,0,0,0),e}}]),r}(E),we=function(e){g(r,e);var t=k(r);function r(){var e;b(this,r);for(var n=arguments.length,a=new Array(n),o=0;o=1&&t<=4}},{key:"set",value:function(e,t,r){return e.setUTCMonth(3*(r-1),1),e.setUTCHours(0,0,0,0),e}}]),r}(E),ke=function(e){g(r,e);var t=k(r);function r(){var e;b(this,r);for(var n=arguments.length,a=new Array(n),o=0;o=0&&t<=11}},{key:"set",value:function(e,t,r){return e.setUTCMonth(r,1),e.setUTCHours(0,0,0,0),e}}]),r}(E),be=function(e){g(r,e);var t=k(r);function r(){var e;b(this,r);for(var n=arguments.length,a=new Array(n),o=0;o=0&&t<=11}},{key:"set",value:function(e,t,r){return e.setUTCMonth(r,1),e.setUTCHours(0,0,0,0),e}}]),r}(E),_e=r(6894),De=function(e){g(r,e);var t=k(r);function r(){var e;b(this,r);for(var n=arguments.length,a=new Array(n),o=0;o=1&&t<=53}},{key:"set",value:function(e,t,r,n){return(0,fe.A)(function(e,t,r){(0,h.A)(2,arguments);var n=(0,c.default)(e),a=(0,f.A)(t),o=(0,_e.A)(n,r)-a;return n.setUTCDate(n.getUTCDate()-7*o),n}(e,r,n),n)}}]),r}(E),xe=r(1053),Ce=function(e){g(r,e);var t=k(r);function r(){var e;b(this,r);for(var n=arguments.length,a=new Array(n),o=0;o=1&&t<=53}},{key:"set",value:function(e,t,r){return(0,me.A)(function(e,t){(0,h.A)(2,arguments);var r=(0,c.default)(e),n=(0,f.A)(t),a=(0,xe.A)(r)-n;return r.setUTCDate(r.getUTCDate()-7*a),r}(e,r))}}]),r}(E),Se=[31,28,31,30,31,30,31,31,30,31,30,31],Te=[31,29,31,30,31,30,31,31,30,31,30,31],Me=function(e){g(r,e);var t=k(r);function r(){var e;b(this,r);for(var n=arguments.length,a=new Array(n),o=0;o=1&&t<=Te[n]:t>=1&&t<=Se[n]}},{key:"set",value:function(e,t,r){return e.setUTCDate(r),e.setUTCHours(0,0,0,0),e}}]),r}(E),Ee=function(e){g(r,e);var t=k(r);function r(){var e;b(this,r);for(var n=arguments.length,a=new Array(n),o=0;o=1&&t<=366:t>=1&&t<=365}},{key:"set",value:function(e,t,r){return e.setUTCMonth(0,r),e.setUTCHours(0,0,0,0),e}}]),r}(E),Pe=r(1858);function Oe(e,t,r){var n,a,o,i,s,l,u,d;(0,h.A)(2,arguments);var p=(0,Pe.q)(),m=(0,f.A)(null!==(n=null!==(a=null!==(o=null!==(i=null==r?void 0:r.weekStartsOn)&&void 0!==i?i:null==r||null===(s=r.locale)||void 0===s||null===(l=s.options)||void 0===l?void 0:l.weekStartsOn)&&void 0!==o?o:p.weekStartsOn)&&void 0!==a?a:null===(u=p.locale)||void 0===u||null===(d=u.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==n?n:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var v=(0,c.default)(e),g=(0,f.A)(t),y=((g%7+7)%7=0&&t<=6}},{key:"set",value:function(e,t,r,n){return(e=Oe(e,r,n)).setUTCHours(0,0,0,0),e}}]),r}(E),Ae=function(e){g(r,e);var t=k(r);function r(){var e;b(this,r);for(var n=arguments.length,a=new Array(n),o=0;o=0&&t<=6}},{key:"set",value:function(e,t,r,n){return(e=Oe(e,r,n)).setUTCHours(0,0,0,0),e}}]),r}(E),Ye=function(e){g(r,e);var t=k(r);function r(){var e;b(this,r);for(var n=arguments.length,a=new Array(n),o=0;o=0&&t<=6}},{key:"set",value:function(e,t,r,n){return(e=Oe(e,r,n)).setUTCHours(0,0,0,0),e}}]),r}(E),Ie=function(e){g(r,e);var t=k(r);function r(){var e;b(this,r);for(var n=arguments.length,a=new Array(n),o=0;o=1&&t<=7}},{key:"set",value:function(e,t,r){return e=function(e,t){(0,h.A)(2,arguments);var r=(0,f.A)(t);r%7==0&&(r-=7);var n=(0,c.default)(e),a=((r%7+7)%7<1?7:0)+r-n.getUTCDay();return n.setUTCDate(n.getUTCDate()+a),n}(e,r),e.setUTCHours(0,0,0,0),e}}]),r}(E),Re=function(e){g(r,e);var t=k(r);function r(){var e;b(this,r);for(var n=arguments.length,a=new Array(n),o=0;o=1&&t<=12}},{key:"set",value:function(e,t,r){var n=e.getUTCHours()>=12;return n&&r<12?e.setUTCHours(r+12,0,0,0):n||12!==r?e.setUTCHours(r,0,0,0):e.setUTCHours(0,0,0,0),e}}]),r}(E),Ue=function(e){g(r,e);var t=k(r);function r(){var e;b(this,r);for(var n=arguments.length,a=new Array(n),o=0;o=0&&t<=23}},{key:"set",value:function(e,t,r){return e.setUTCHours(r,0,0,0),e}}]),r}(E),He=function(e){g(r,e);var t=k(r);function r(){var e;b(this,r);for(var n=arguments.length,a=new Array(n),o=0;o=0&&t<=11}},{key:"set",value:function(e,t,r){return e.getUTCHours()>=12&&r<12?e.setUTCHours(r+12,0,0,0):e.setUTCHours(r,0,0,0),e}}]),r}(E),je=function(e){g(r,e);var t=k(r);function r(){var e;b(this,r);for(var n=arguments.length,a=new Array(n),o=0;o=1&&t<=24}},{key:"set",value:function(e,t,r){var n=r<=24?r%24:r;return e.setUTCHours(n,0,0,0),e}}]),r}(E),qe=function(e){g(r,e);var t=k(r);function r(){var e;b(this,r);for(var n=arguments.length,a=new Array(n),o=0;o=0&&t<=59}},{key:"set",value:function(e,t,r){return e.setUTCMinutes(r,0,0),e}}]),r}(E),Be=function(e){g(r,e);var t=k(r);function r(){var e;b(this,r);for(var n=arguments.length,a=new Array(n),o=0;o=0&&t<=59}},{key:"set",value:function(e,t,r){return e.setUTCSeconds(r,0),e}}]),r}(E),Qe=function(e){g(r,e);var t=k(r);function r(){var e;b(this,r);for(var n=arguments.length,a=new Array(n),o=0;o=1&&F<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var W=(0,f.A)(null!==(C=null!==(S=null!==(T=null!==(E=null==a?void 0:a.weekStartsOn)&&void 0!==E?E:null==a||null===(P=a.locale)||void 0===P||null===(O=P.options)||void 0===O?void 0:O.weekStartsOn)&&void 0!==T?T:R.weekStartsOn)&&void 0!==S?S:null===(N=R.locale)||void 0===N||null===(A=N.options)||void 0===A?void 0:A.weekStartsOn)&&void 0!==C?C:0);if(!(W>=0&&W<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===I)return""===Y?(0,c.default)(r):new Date(NaN);var U,H={firstWeekContainsDate:F,weekStartsOn:W,locale:L},j=[new M],q=I.match(Je).map((function(e){var t=e[0];return t in u.A?(0,u.A[t])(e,L.formatLong):e})).join("").match($e),B=[],Q=o(q);try{var K=function(){var t=U.value;null!=a&&a.useAdditionalWeekYearTokens||!(0,p.xM)(t)||(0,p.lJ)(t,I,e),null!=a&&a.useAdditionalDayOfYearTokens||!(0,p.ef)(t)||(0,p.lJ)(t,I,e);var r=t[0],n=Ge[r];if(n){var o=n.incompatibleTokens;if(Array.isArray(o)){var i=B.find((function(e){return o.includes(e.token)||e.token===r}));if(i)throw new RangeError("The format string mustn't contain `".concat(i.fullToken,"` and `").concat(t,"` at the same time"))}else if("*"===n.incompatibleTokens&&B.length>0)throw new RangeError("The format string mustn't contain `".concat(t,"` and any other token at the same time"));B.push({token:r,fullToken:t});var s=n.run(Y,t,L.match,H);if(!s)return{v:new Date(NaN)};j.push(s.setter),Y=s.rest}else{if(r.match(rt))throw new RangeError("Format string contains an unescaped latin alphabet character `"+r+"`");if("''"===t?t="'":"'"===r&&(t=t.match(Ze)[1].replace(et,"'")),0!==Y.indexOf(t))return{v:new Date(NaN)};Y=Y.slice(t.length)}};for(Q.s();!(U=Q.n()).done;){var V=K();if("object"===(0,n.A)(V))return V.v}}catch(e){Q.e(e)}finally{Q.f()}if(Y.length>0&&tt.test(Y))return new Date(NaN);var z=j.map((function(e){return e.priority})).sort((function(e,t){return t-e})).filter((function(e,t,r){return r.indexOf(e)===t})).map((function(e){return j.filter((function(t){return t.priority===e})).sort((function(e,t){return t.subPriority-e.subPriority}))})).map((function(e){return e[0]})),X=(0,c.default)(r);if(isNaN(X.getTime()))return new Date(NaN);var G,$=(0,s.A)(X,(0,d.A)(X)),J={},Z=o(z);try{for(Z.s();!(G=Z.n()).done;){var ee=G.value;if(!ee.validate($,H))return new Date(NaN);var te=ee.set($,J,H);Array.isArray(te)?($=te[0],l(J,te[1])):$=te}}catch(e){Z.e(e)}finally{Z.f()}return $}},1806:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(7499),a=r(551),o=r(4188);function i(e,t){var r;(0,a.A)(1,arguments);var i=(0,o.A)(null!==(r=null==t?void 0:t.additionalDigits)&&void 0!==r?r:2);if(2!==i&&1!==i&&0!==i)throw new RangeError("additionalDigits must be 0, 1 or 2");if("string"!=typeof e&&"[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);var m,v=function(e){var t,r={},n=e.split(s.dateTimeDelimiter);if(n.length>2)return r;if(/:/.test(n[0])?t=n[0]:(r.date=n[0],t=n[1],s.timeZoneDelimiter.test(r.date)&&(r.date=e.split(s.timeZoneDelimiter)[0],t=e.substr(r.date.length,e.length))),t){var a=s.timezone.exec(t);a?(r.time=t.replace(a[1],""),r.timezone=a[1]):r.time=t}return r}(e);if(v.date){var g=function(e,t){var r=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),n=e.match(r);if(!n)return{year:NaN,restDateString:""};var a=n[1]?parseInt(n[1]):null,o=n[2]?parseInt(n[2]):null;return{year:null===o?a:100*o,restDateString:e.slice((n[1]||n[2]).length)}}(v.date,i);m=function(e,t){if(null===t)return new Date(NaN);var r=e.match(c);if(!r)return new Date(NaN);var n=!!r[4],a=d(r[1]),o=d(r[2])-1,i=d(r[3]),s=d(r[4]),l=d(r[5])-1;if(n)return function(e,t,r){return t>=1&&t<=53&&r>=0&&r<=6}(0,s,l)?function(e,t,r){var n=new Date(0);n.setUTCFullYear(e,0,4);var a=7*(t-1)+r+1-(n.getUTCDay()||7);return n.setUTCDate(n.getUTCDate()+a),n}(t,s,l):new Date(NaN);var u=new Date(0);return function(e,t,r){return t>=0&&t<=11&&r>=1&&r<=(f[t]||(h(e)?29:28))}(t,o,i)&&function(e,t){return t>=1&&t<=(h(e)?366:365)}(t,a)?(u.setUTCFullYear(t,o,Math.max(a,i)),u):new Date(NaN)}(g.restDateString,g.year)}if(!m||isNaN(m.getTime()))return new Date(NaN);var y,w=m.getTime(),k=0;if(v.time&&(k=function(e){var t=e.match(l);if(!t)return NaN;var r=p(t[1]),a=p(t[2]),o=p(t[3]);return function(e,t,r){return 24===e?0===t&&0===r:r>=0&&r<60&&t>=0&&t<60&&e>=0&&e<25}(r,a,o)?r*n.s0+a*n.Cg+1e3*o:NaN}(v.time),isNaN(k)))return new Date(NaN);if(!v.timezone){var b=new Date(w+k),_=new Date(0);return _.setFullYear(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate()),_.setHours(b.getUTCHours(),b.getUTCMinutes(),b.getUTCSeconds(),b.getUTCMilliseconds()),_}return y=function(e){if("Z"===e)return 0;var t=e.match(u);if(!t)return 0;var r="+"===t[1]?-1:1,a=parseInt(t[2]),o=t[3]&&parseInt(t[3])||0;return function(e,t){return t>=0&&t<=59}(0,o)?r*(a*n.s0+o*n.Cg):NaN}(v.timezone),isNaN(y)?new Date(NaN):new Date(w+k+y)}var s={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},c=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,l=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,u=/^([+-])(\d{2})(?::?(\d{2}))?$/;function d(e){return e?parseInt(e):1}function p(e){return e&&parseFloat(e.replace(",","."))||0}var f=[31,null,31,30,31,30,31,31,30,31,30,31];function h(e){return e%400==0||e%4==0&&e%100!=0}},4074:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>c});var n=r(2284),a=r(123),o=r(1104),i=r(4188),s=r(551);function c(e,t){if((0,s.A)(2,arguments),"object"!==(0,n.A)(t)||null===t)throw new RangeError("values parameter must be an object");var r=(0,a.default)(e);return isNaN(r.getTime())?new Date(NaN):(null!=t.year&&r.setFullYear(t.year),null!=t.month&&(r=(0,o.default)(r,t.month)),null!=t.date&&r.setDate((0,i.A)(t.date)),null!=t.hours&&r.setHours((0,i.A)(t.hours)),null!=t.minutes&&r.setMinutes((0,i.A)(t.minutes)),null!=t.seconds&&r.setSeconds((0,i.A)(t.seconds)),null!=t.milliseconds&&r.setMilliseconds((0,i.A)(t.milliseconds)),r)}},7901:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(4188),a=r(123),o=r(551);function i(e,t){(0,o.A)(2,arguments);var r=(0,a.default)(e),i=(0,n.A)(t);return r.setHours(i),r}},7375:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(4188),a=r(123),o=r(551);function i(e,t){(0,o.A)(2,arguments);var r=(0,a.default)(e),i=(0,n.A)(t);return r.setMinutes(i),r}},1104:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(4188),a=r(123),o=r(551);function i(e,t){(0,o.A)(2,arguments);var r=(0,a.default)(e),i=(0,n.A)(t),s=r.getFullYear(),c=r.getDate(),l=new Date(0);l.setFullYear(s,i,15),l.setHours(0,0,0,0);var u=function(e){(0,o.A)(1,arguments);var t=(0,a.default)(e),r=t.getFullYear(),n=t.getMonth(),i=new Date(0);return i.setFullYear(r,n+1,0),i.setHours(0,0,0,0),i.getDate()}(l);return r.setMonth(i,Math.min(c,u)),r}},6090:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});var n=r(4188),a=r(123),o=r(1104),i=r(551);function s(e,t){(0,i.A)(2,arguments);var r=(0,a.default)(e),s=(0,n.A)(t)-(Math.floor(r.getMonth()/3)+1);return(0,o.default)(r,r.getMonth()+3*s)}},1591:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(4188),a=r(123),o=r(551);function i(e,t){(0,o.A)(2,arguments);var r=(0,a.default)(e),i=(0,n.A)(t);return r.setSeconds(i),r}},8895:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(4188),a=r(123),o=r(551);function i(e,t){(0,o.A)(2,arguments);var r=(0,a.default)(e),i=(0,n.A)(t);return isNaN(r.getTime())?new Date(NaN):(r.setFullYear(i),r)}},1127:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(123),a=r(551);function o(e){(0,a.A)(1,arguments);var t=(0,n.default)(e);return t.setHours(0,0,0,0),t}},543:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(123),a=r(551);function o(e){(0,a.A)(1,arguments);var t=(0,n.default)(e);return t.setDate(1),t.setHours(0,0,0,0),t}},6757:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(123),a=r(551);function o(e){(0,a.A)(1,arguments);var t=(0,n.default)(e),r=t.getMonth(),o=r-r%3;return t.setMonth(o,1),t.setHours(0,0,0,0),t}},7827:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});var n=r(123),a=r(4188),o=r(551),i=r(1858);function s(e,t){var r,s,c,l,u,d,p,f;(0,o.A)(1,arguments);var h=(0,i.q)(),m=(0,a.A)(null!==(r=null!==(s=null!==(c=null!==(l=null==t?void 0:t.weekStartsOn)&&void 0!==l?l:null==t||null===(u=t.locale)||void 0===u||null===(d=u.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==c?c:h.weekStartsOn)&&void 0!==s?s:null===(p=h.locale)||void 0===p||null===(f=p.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==r?r:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var v=(0,n.default)(e),g=v.getDay(),y=(g{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(123),a=r(551);function o(e){(0,a.A)(1,arguments);var t=(0,n.default)(e),r=new Date(0);return r.setFullYear(t.getFullYear(),0,1),r.setHours(0,0,0,0),r}},979:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(2998),a=r(551),o=r(4188);function i(e,t){(0,a.A)(2,arguments);var r=(0,o.A)(t);return(0,n.default)(e,-r)}},5654:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(7767),a=r(551),o=r(4188);function i(e,t){(0,a.A)(2,arguments);var r=(0,o.A)(t);return(0,n.A)(e,-r)}},4327:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(4188),a=r(2118),o=r(551);function i(e,t){(0,o.A)(2,arguments);var r=(0,n.A)(t);return(0,a.default)(e,-r)}},2657:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(4188),a=r(9852),o=r(551);function i(e,t){(0,o.A)(2,arguments);var r=(0,n.A)(t);return(0,a.default)(e,-r)}},3337:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(4188),a=r(2238),o=r(551);function i(e,t){(0,o.A)(2,arguments);var r=(0,n.A)(t);return(0,a.default)(e,-r)}},9326:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(4188),a=r(9317),o=r(551);function i(e,t){(0,o.A)(2,arguments);var r=(0,n.A)(t);return(0,a.default)(e,-r)}},123:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(2284),a=r(551);function o(e){(0,a.A)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===(0,n.A)(e)&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}},2694:(e,t,r)=>{"use strict";var n=r(6925);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,r,a,o,i){if(i!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return r.PropTypes=r,r}},5556:(e,t,r)=>{e.exports=r(2694)()},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9386:function(e,t,r){!function(e,t,r,n,a,o,i,s,c,l,u,d,p,f,h,m,v,g,y,w,k,b,_,D,x,C,S,T,M,E,P,O,N,A,Y,I,R,L,F,W,U,H,j,q,B,Q,K,V,z,X,G,$,J,Z,ee,te,re,ne,ae,oe,ie,se,ce,le){"use strict";function ue(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var de=ue(t),pe=ue(n),fe=ue(a),he=ue(o),me=ue(i),ve=ue(s),ge=ue(c),ye=ue(l),we=ue(u),ke=ue(d),be=ue(p),_e=ue(f),De=ue(h),xe=ue(m),Ce=ue(v),Se=ue(g),Te=ue(y),Me=ue(w),Ee=ue(k),Pe=ue(b),Oe=ue(_),Ne=ue(D),Ae=ue(x),Ye=ue(C),Ie=ue(S),Re=ue(T),Le=ue(M),Fe=ue(E),We=ue(P),Ue=ue(O),He=ue(N),je=ue(A),qe=ue(Y),Be=ue(I),Qe=ue(R),Ke=ue(L),Ve=ue(F),ze=ue(W),Xe=ue(U),Ge=ue(H),$e=ue(j),Je=ue(q),Ze=ue(B),et=ue(Q),tt=ue(V),rt=ue(z),nt=ue(X),at=ue(G),ot=ue($),it=ue(J),st=ue(Z),ct=ue(ee),lt=ue(te),ut=ue(re),dt=ue(ne),pt=ue(ae),ft=ue(oe),ht=ue(ie),mt=ue(se),vt=ue(le);function gt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function yt(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r1&&void 0!==arguments[1]?arguments[1]:{},r=t.minDate,n=t.maxDate,a=t.excludeDates,o=t.excludeDateIntervals,i=t.includeDates,s=t.includeDateIntervals,c=t.filterDate;return dr(e,{minDate:r,maxDate:n})||a&&a.some((function(t){return Gt(e,t)}))||o&&o.some((function(t){var r=t.start,n=t.end;return ut.default(e,{start:r,end:n})}))||i&&!i.some((function(t){return Gt(e,t)}))||s&&!s.some((function(t){var r=t.start,n=t.end;return ut.default(e,{start:r,end:n})}))||c&&!c(Lt(e))||!1}function ar(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.excludeDates,n=t.excludeDateIntervals;return n&&n.length>0?n.some((function(t){var r=t.start,n=t.end;return ut.default(e,{start:r,end:n})})):r&&r.some((function(t){return Gt(e,t)}))||!1}function or(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.minDate,n=t.maxDate,a=t.excludeDates,o=t.includeDates,i=t.filterDate;return dr(e,{minDate:$e.default(r),maxDate:tt.default(n)})||a&&a.some((function(t){return zt(e,t)}))||o&&!o.some((function(t){return zt(e,t)}))||i&&!i(Lt(e))||!1}function ir(e,t,r,n){var a=Re.default(e),o=Ye.default(e),i=Re.default(t),s=Ye.default(t),c=Re.default(n);return a===i&&a===c?o<=r&&r<=s:a=r||ca:void 0}function sr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.minDate,n=t.maxDate,a=t.excludeDates,o=t.includeDates,i=t.filterDate;return dr(e,{minDate:r,maxDate:n})||a&&a.some((function(t){return Xt(e,t)}))||o&&!o.some((function(t){return Xt(e,t)}))||i&&!i(Lt(e))||!1}function cr(e,t,r){if(!he.default(t)||!he.default(r))return!1;var n=Re.default(t),a=Re.default(r);return n<=e&&a>=e}function lr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.minDate,n=t.maxDate,a=t.excludeDates,o=t.includeDates,i=t.filterDate,s=new Date(e,0,1);return dr(s,{minDate:Ze.default(r),maxDate:rt.default(n)})||a&&a.some((function(e){return Vt(s,e)}))||o&&!o.some((function(e){return Vt(s,e)}))||i&&!i(Lt(s))||!1}function ur(e,t,r,n){var a=Re.default(e),o=Ie.default(e),i=Re.default(t),s=Ie.default(t),c=Re.default(n);return a===i&&a===c?o<=r&&r<=s:a=r||ca:void 0}function dr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.minDate,n=t.maxDate;return r&&Ke.default(e,r)<0||n&&Ke.default(e,n)>0}function pr(e,t){return t.some((function(t){return Pe.default(t)===Pe.default(e)&&Ee.default(t)===Ee.default(e)}))}function fr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.excludeTimes,n=t.includeTimes,a=t.filterTime;return r&&pr(e,r)||n&&!pr(e,n)||a&&!a(e)||!1}function hr(e,t){var r=t.minTime,n=t.maxTime;if(!r||!n)throw new Error("Both minTime and maxTime props required");var a,o=Lt(),i=Ue.default(We.default(o,Ee.default(e)),Pe.default(e)),s=Ue.default(We.default(o,Ee.default(r)),Pe.default(r)),c=Ue.default(We.default(o,Ee.default(n)),Pe.default(n));try{a=!ut.default(i,{start:s,end:c})}catch(e){a=!1}return a}function mr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.minDate,n=t.includeDates,a=Ce.default(e,1);return r&&Ve.default(r,a)>0||n&&n.every((function(e){return Ve.default(e,a)>0}))||!1}function vr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.maxDate,n=t.includeDates,a=ke.default(e,1);return r&&Ve.default(a,r)>0||n&&n.every((function(e){return Ve.default(a,e)>0}))||!1}function gr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.minDate,n=t.includeDates,a=Te.default(e,1);return r&&ze.default(r,a)>0||n&&n.every((function(e){return ze.default(e,a)>0}))||!1}function yr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.maxDate,n=t.includeDates,a=_e.default(e,1);return r&&ze.default(a,r)>0||n&&n.every((function(e){return ze.default(a,e)>0}))||!1}function wr(e){var t=e.minDate,r=e.includeDates;if(r&&t){var n=r.filter((function(e){return Ke.default(e,t)>=0}));return Be.default(n)}return r?Be.default(r):t}function kr(e){var t=e.maxDate,r=e.includeDates;if(r&&t){var n=r.filter((function(e){return Ke.default(e,t)<=0}));return Qe.default(n)}return r?Qe.default(r):t}function br(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"react-datepicker__day--highlighted",r=new Map,n=0,a=e.length;n0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"react-datepicker__day--holidays",r=new Map;return e.forEach((function(e){var n=e.date,a=e.holidayName;if(fe.default(n)){var o=Wt(n,"MM.dd.yyyy"),i=r.get(o)||{};if(!("className"in i)||i.className!==t||(s=i.holidayNames,c=[a],s.length!==c.length||!s.every((function(e,t){return e===c[t]})))){var s,c;i.className=t;var l=i.holidayNames;i.holidayNames=l?[].concat(Pt(l),[a]):[a],r.set(o,i)}}})),r}function Dr(e,t,r,n,a){for(var o=a.length,i=[],s=0;s1&&void 0!==arguments[1]?arguments[1]:12,r=Math.ceil(Re.default(e)/t)*t;return{startPeriod:r-(t-1),endPeriod:r}}function Sr(e){var t=e.getSeconds(),r=e.getMilliseconds();return dt.default(e.getTime()-1e3*t-r)}function Tr(e,t,r,n){for(var a=[],o=0;o<2*t+1;o++){var i=e+t-o,s=!0;r&&(s=Re.default(r)<=i),n&&s&&(s=Re.default(n)>=i),s&&a.push(i)}return a}var Mr=function(e){Ct(n,e);var r=Et(n);function n(e){var a;kt(this,n),Dt(Mt(a=r.call(this,e)),"renderOptions",(function(){var e=a.props.year,t=a.state.yearsList.map((function(t){return de.default.createElement("div",{className:e===t?"react-datepicker__year-option react-datepicker__year-option--selected_year":"react-datepicker__year-option",key:t,onClick:a.onChange.bind(Mt(a),t),"aria-selected":e===t?"true":void 0},e===t?de.default.createElement("span",{className:"react-datepicker__year-option--selected"},"✓"):"",t)})),r=a.props.minDate?Re.default(a.props.minDate):null,n=a.props.maxDate?Re.default(a.props.maxDate):null;return n&&a.state.yearsList.find((function(e){return e===n}))||t.unshift(de.default.createElement("div",{className:"react-datepicker__year-option",key:"upcoming",onClick:a.incrementYears},de.default.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-upcoming"}))),r&&a.state.yearsList.find((function(e){return e===r}))||t.push(de.default.createElement("div",{className:"react-datepicker__year-option",key:"previous",onClick:a.decrementYears},de.default.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-previous"}))),t})),Dt(Mt(a),"onChange",(function(e){a.props.onChange(e)})),Dt(Mt(a),"handleClickOutside",(function(){a.props.onCancel()})),Dt(Mt(a),"shiftYears",(function(e){var t=a.state.yearsList.map((function(t){return t+e}));a.setState({yearsList:t})})),Dt(Mt(a),"incrementYears",(function(){return a.shiftYears(1)})),Dt(Mt(a),"decrementYears",(function(){return a.shiftYears(-1)}));var o=e.yearDropdownItemNumber,i=e.scrollableYearDropdown,s=o||(i?10:5);return a.state={yearsList:Tr(a.props.year,s,a.props.minDate,a.props.maxDate)},a.dropdownRef=t.createRef(),a}return _t(n,[{key:"componentDidMount",value:function(){var e=this.dropdownRef.current;if(e){var t=e.children?Array.from(e.children):null,r=t?t.find((function(e){return e.ariaSelected})):null;e.scrollTop=r?r.offsetTop+(r.clientHeight-e.clientHeight)/2:(e.scrollHeight-e.clientHeight)/2}}},{key:"render",value:function(){var e=pe.default({"react-datepicker__year-dropdown":!0,"react-datepicker__year-dropdown--scrollable":this.props.scrollableYearDropdown});return de.default.createElement("div",{className:e,ref:this.dropdownRef},this.renderOptions())}}]),n}(de.default.Component),Er=ht.default(Mr),Pr=function(e){Ct(r,e);var t=Et(r);function r(){var e;kt(this,r);for(var n=arguments.length,a=new Array(n),o=0;o0?a.get(o).holidayNames.join(", "):""})),Dt(Mt(e),"getTabIndex",(function(t,r){var n=t||e.props.selected,a=r||e.props.preSelection;return(!e.props.showWeekPicker||!e.props.showWeekNumber&&e.isStartOfWeek())&&(e.isKeyboardSelected()||e.isSameDay(n)&&Gt(a,n))?0:-1})),Dt(Mt(e),"handleFocusDay",(function(){var t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=!1;0===e.getTabIndex()&&!r.isInputFocused&&e.isSameDay(e.props.preSelection)&&(document.activeElement&&document.activeElement!==document.body||(n=!0),e.props.inline&&!e.props.shouldFocusDayInline&&(n=!1),e.props.containerRef&&e.props.containerRef.current&&e.props.containerRef.current.contains(document.activeElement)&&document.activeElement.classList.contains("react-datepicker__day")&&(n=!0),e.props.monthShowsDuplicateDaysEnd&&e.isAfterMonth()&&(n=!1),e.props.monthShowsDuplicateDaysStart&&e.isBeforeMonth()&&(n=!1)),n&&(null===(t=e.dayEl.current)||void 0===t||t.focus({preventScroll:!0}))})),Dt(Mt(e),"renderDayContents",(function(){return e.props.monthShowsDuplicateDaysEnd&&e.isAfterMonth()||e.props.monthShowsDuplicateDaysStart&&e.isBeforeMonth()?null:e.props.renderDayContents?e.props.renderDayContents(Ne.default(e.props.day),e.props.day):Ne.default(e.props.day)})),Dt(Mt(e),"render",(function(){return de.default.createElement("div",{ref:e.dayEl,className:e.getClassNames(e.props.day),onKeyDown:e.handleOnKeyDown,onClick:e.handleClick,onMouseEnter:e.handleMouseEnter,tabIndex:e.getTabIndex(),"aria-label":e.getAriaLabel(),role:"option",title:e.getTitle(),"aria-disabled":e.isDisabled(),"aria-current":e.isCurrentDay()?"date":void 0,"aria-selected":e.isSelected()||e.isInRange()},e.renderDayContents(),""!==e.getTitle()&&de.default.createElement("span",{className:"holiday-overlay"},e.getTitle()))})),e}return _t(r,[{key:"componentDidMount",value:function(){this.handleFocusDay()}},{key:"componentDidUpdate",value:function(e){this.handleFocusDay(e)}}]),r}(de.default.Component),Wr=function(e){Ct(r,e);var t=Et(r);function r(){var e;kt(this,r);for(var n=arguments.length,a=new Array(n),o=0;o0&&void 0!==arguments[0]?arguments[0]:{},r=!1;0===e.getTabIndex()&&!t.isInputFocused&&Gt(e.props.date,e.props.preSelection)&&(document.activeElement&&document.activeElement!==document.body||(r=!0),e.props.inline&&!e.props.shouldFocusDayInline&&(r=!1),e.props.containerRef&&e.props.containerRef.current&&e.props.containerRef.current.contains(document.activeElement)&&document.activeElement&&document.activeElement.classList.contains("react-datepicker__week-number")&&(r=!0)),r&&e.weekNumberEl.current&&e.weekNumberEl.current.focus({preventScroll:!0})})),e}return _t(r,[{key:"componentDidMount",value:function(){this.handleFocusWeekNumber()}},{key:"componentDidUpdate",value:function(e){this.handleFocusWeekNumber(e)}},{key:"render",value:function(){var e=this.props,t=e.weekNumber,r=e.ariaLabelPrefix,n=void 0===r?"week ":r,a={"react-datepicker__week-number":!0,"react-datepicker__week-number--clickable":!!e.onClick,"react-datepicker__week-number--selected":Gt(this.props.date,this.props.selected),"react-datepicker__week-number--keyboard-selected":this.isKeyboardSelected()};return de.default.createElement("div",{ref:this.weekNumberEl,className:pe.default(a),"aria-label":"".concat(n," ").concat(this.props.weekNumber),onClick:this.handleClick,onKeyDown:this.handleOnKeyDown,tabIndex:this.getTabIndex()},t)}}],[{key:"defaultProps",get:function(){return{ariaLabelPrefix:"week "}}}]),r}(de.default.Component),Ur=function(e){Ct(r,e);var t=Et(r);function r(){var e;kt(this,r);for(var n=arguments.length,a=new Array(n),o=0;o=6,s=!r&&!e.isWeekInMonth(o);if(i||s){if(!e.props.peekNextMonth)break;a=!0}}return t})),Dt(Mt(e),"onMonthClick",(function(t,r){e.handleDayClick(qt(He.default(e.props.day,r)),t)})),Dt(Mt(e),"onMonthMouseEnter",(function(t){e.handleDayMouseEnter(qt(He.default(e.props.day,t)))})),Dt(Mt(e),"handleMonthNavigation",(function(t,r){e.isDisabled(r)||e.isExcluded(r)||(e.props.setPreSelection(r),e.MONTH_REFS[t].current&&e.MONTH_REFS[t].current.focus())})),Dt(Mt(e),"onMonthKeyDown",(function(t,r){var n=e.props,a=n.selected,o=n.preSelection,i=n.disabledKeyboardNavigation,s=n.showTwoColumnMonthYearPicker,c=n.showFourColumnMonthYearPicker,l=n.setPreSelection,u=t.key;if("Tab"!==u&&t.preventDefault(),!i){var d=Qr(c,s),p=Br[d].verticalNavigationOffset,f=Br[d].grid;switch(u){case"Enter":e.onMonthClick(t,r),l(a);break;case"ArrowRight":e.handleMonthNavigation(11===r?0:r+1,ke.default(o,1));break;case"ArrowLeft":e.handleMonthNavigation(0===r?11:r-1,Ce.default(o,1));break;case"ArrowUp":e.handleMonthNavigation(f[0].includes(r)?r+12-p:r-p,Ce.default(o,p));break;case"ArrowDown":e.handleMonthNavigation(f[f.length-1].includes(r)?r-12+p:r+p,ke.default(o,p))}}})),Dt(Mt(e),"onQuarterClick",(function(t,r){e.handleDayClick(Qt(je.default(e.props.day,r)),t)})),Dt(Mt(e),"onQuarterMouseEnter",(function(t){e.handleDayMouseEnter(Qt(je.default(e.props.day,t)))})),Dt(Mt(e),"handleQuarterNavigation",(function(t,r){e.isDisabled(r)||e.isExcluded(r)||(e.props.setPreSelection(r),e.QUARTER_REFS[t-1].current&&e.QUARTER_REFS[t-1].current.focus())})),Dt(Mt(e),"onQuarterKeyDown",(function(t,r){var n=t.key;if(!e.props.disabledKeyboardNavigation)switch(n){case"Enter":e.onQuarterClick(t,r),e.props.setPreSelection(e.props.selected);break;case"ArrowRight":e.handleQuarterNavigation(4===r?1:r+1,be.default(e.props.preSelection,1));break;case"ArrowLeft":e.handleQuarterNavigation(1===r?4:r-1,Se.default(e.props.preSelection,1))}})),Dt(Mt(e),"getMonthClassNames",(function(t){var r=e.props,n=r.day,a=r.startDate,o=r.endDate,i=r.selected,s=r.minDate,c=r.maxDate,l=r.preSelection,u=r.monthClassName,d=r.excludeDates,p=r.includeDates,f=u?u(He.default(n,t)):void 0,h=He.default(n,t);return pe.default("react-datepicker__month-text","react-datepicker__month-".concat(t),f,{"react-datepicker__month-text--disabled":(s||c||d||p)&&or(h,e.props),"react-datepicker__month-text--selected":e.isSelectedMonth(n,t,i),"react-datepicker__month-text--keyboard-selected":!e.props.disabledKeyboardNavigation&&Ye.default(l)===t,"react-datepicker__month-text--in-selecting-range":e.isInSelectingRangeMonth(t),"react-datepicker__month-text--in-range":ir(a,o,t,n),"react-datepicker__month-text--range-start":e.isRangeStartMonth(t),"react-datepicker__month-text--range-end":e.isRangeEndMonth(t),"react-datepicker__month-text--selecting-range-start":e.isSelectingMonthRangeStart(t),"react-datepicker__month-text--selecting-range-end":e.isSelectingMonthRangeEnd(t),"react-datepicker__month-text--today":e.isCurrentMonth(n,t)})})),Dt(Mt(e),"getTabIndex",(function(t){var r=Ye.default(e.props.preSelection);return e.props.disabledKeyboardNavigation||t!==r?"-1":"0"})),Dt(Mt(e),"getQuarterTabIndex",(function(t){var r=Ie.default(e.props.preSelection);return e.props.disabledKeyboardNavigation||t!==r?"-1":"0"})),Dt(Mt(e),"getAriaLabel",(function(t){var r=e.props,n=r.chooseDayAriaLabelPrefix,a=void 0===n?"Choose":n,o=r.disabledDayAriaLabelPrefix,i=void 0===o?"Not available":o,s=r.day,c=He.default(s,t),l=e.isDisabled(c)||e.isExcluded(c)?i:a;return"".concat(l," ").concat(Wt(c,"MMMM yyyy"))})),Dt(Mt(e),"getQuarterClassNames",(function(t){var r=e.props,n=r.day,a=r.startDate,o=r.endDate,i=r.selected,s=r.minDate,c=r.maxDate,l=r.preSelection,u=r.disabledKeyboardNavigation;return pe.default("react-datepicker__quarter-text","react-datepicker__quarter-".concat(t),{"react-datepicker__quarter-text--disabled":(s||c)&&sr(je.default(n,t),e.props),"react-datepicker__quarter-text--selected":e.isSelectedQuarter(n,t,i),"react-datepicker__quarter-text--keyboard-selected":!u&&Ie.default(l)===t,"react-datepicker__quarter-text--in-selecting-range":e.isInSelectingRangeQuarter(t),"react-datepicker__quarter-text--in-range":ur(a,o,t,n),"react-datepicker__quarter-text--range-start":e.isRangeStartQuarter(t),"react-datepicker__quarter-text--range-end":e.isRangeEndQuarter(t)})})),Dt(Mt(e),"getMonthContent",(function(t){var r=e.props,n=r.showFullMonthYearPicker,a=r.renderMonthContent,o=r.locale,i=r.day,s=rr(t,o),c=tr(t,o);return a?a(t,s,c,i):n?c:s})),Dt(Mt(e),"getQuarterContent",(function(t){var r=e.props,n=r.renderQuarterContent,a=function(e,t){return Wt(je.default(Lt(),e),"QQQ",t)}(t,r.locale);return n?n(t,a):a})),Dt(Mt(e),"renderMonths",(function(){var t=e.props,r=t.showTwoColumnMonthYearPicker,n=t.showFourColumnMonthYearPicker,a=t.day,o=t.selected;return Br[Qr(n,r)].grid.map((function(t,r){return de.default.createElement("div",{className:"react-datepicker__month-wrapper",key:r},t.map((function(t,r){return de.default.createElement("div",{ref:e.MONTH_REFS[t],key:r,onClick:function(r){e.onMonthClick(r,t)},onKeyDown:function(r){e.onMonthKeyDown(r,t)},onMouseEnter:function(){return e.onMonthMouseEnter(t)},tabIndex:e.getTabIndex(t),className:e.getMonthClassNames(t),role:"option","aria-label":e.getAriaLabel(t),"aria-current":e.isCurrentMonth(a,t)?"date":void 0,"aria-selected":e.isSelectedMonth(a,t,o)},e.getMonthContent(t))})))}))})),Dt(Mt(e),"renderQuarters",(function(){var t=e.props,r=t.day,n=t.selected;return de.default.createElement("div",{className:"react-datepicker__quarter-wrapper"},[1,2,3,4].map((function(t,a){return de.default.createElement("div",{key:a,ref:e.QUARTER_REFS[a],role:"option",onClick:function(r){e.onQuarterClick(r,t)},onKeyDown:function(r){e.onQuarterKeyDown(r,t)},onMouseEnter:function(){return e.onQuarterMouseEnter(t)},className:e.getQuarterClassNames(t),"aria-selected":e.isSelectedQuarter(r,t,n),tabIndex:e.getQuarterTabIndex(t),"aria-current":e.isCurrentQuarter(r,t)?"date":void 0},e.getQuarterContent(t))})))})),Dt(Mt(e),"getClassNames",(function(){var t=e.props,r=t.selectingDate,n=t.selectsStart,a=t.selectsEnd,o=t.showMonthYearPicker,i=t.showQuarterYearPicker,s=t.showWeekPicker;return pe.default("react-datepicker__month",{"react-datepicker__month--selecting-range":r&&(n||a)},{"react-datepicker__monthPicker":o},{"react-datepicker__quarterPicker":i},{"react-datepicker__weekPicker":s})})),e}return _t(r,[{key:"render",value:function(){var e=this.props,t=e.showMonthYearPicker,r=e.showQuarterYearPicker,n=e.day,a=e.ariaLabelPrefix,o=void 0===a?"month ":a;return de.default.createElement("div",{className:this.getClassNames(),onMouseLeave:this.handleMouseLeave,"aria-label":"".concat(o," ").concat(Wt(n,"yyyy-MM")),role:"listbox"},t?this.renderMonths():r?this.renderQuarters():this.renderWeeks())}}]),r}(de.default.Component),Vr=function(e){Ct(r,e);var t=Et(r);function r(){var e;kt(this,r);for(var n=arguments.length,a=new Array(n),o=0;o0&&void 0!==arguments[0]?arguments[0]:{}).className||"").split(/\s+/);return $r.some((function(t){return e.indexOf(t)>=0}))})(e.target)&&n.props.onDropdownFocus()})),Dt(Mt(n),"getDateInView",(function(){var e=n.props,t=e.preSelection,r=e.selected,a=e.openToDate,o=wr(n.props),i=kr(n.props),s=Lt();return a||r||t||(o&<.default(s,o)?o:i&&ct.default(s,i)?i:s)})),Dt(Mt(n),"increaseMonth",(function(){n.setState((function(e){var t=e.date;return{date:ke.default(t,1)}}),(function(){return n.handleMonthChange(n.state.date)}))})),Dt(Mt(n),"decreaseMonth",(function(){n.setState((function(e){var t=e.date;return{date:Ce.default(t,1)}}),(function(){return n.handleMonthChange(n.state.date)}))})),Dt(Mt(n),"handleDayClick",(function(e,t,r){n.props.onSelect(e,t,r),n.props.setPreSelection&&n.props.setPreSelection(e)})),Dt(Mt(n),"handleDayMouseEnter",(function(e){n.setState({selectingDate:e}),n.props.onDayMouseEnter&&n.props.onDayMouseEnter(e)})),Dt(Mt(n),"handleMonthMouseLeave",(function(){n.setState({selectingDate:null}),n.props.onMonthMouseLeave&&n.props.onMonthMouseLeave()})),Dt(Mt(n),"handleYearMouseEnter",(function(e,t){n.setState({selectingDate:qe.default(Lt(),t)}),n.props.onYearMouseEnter&&n.props.onYearMouseEnter(e,t)})),Dt(Mt(n),"handleYearMouseLeave",(function(e,t){n.props.onYearMouseLeave&&n.props.onYearMouseLeave(e,t)})),Dt(Mt(n),"handleYearChange",(function(e){n.props.onYearChange&&(n.props.onYearChange(e),n.setState({isRenderAriaLiveMessage:!0})),n.props.adjustDateOnChange&&(n.props.onSelect&&n.props.onSelect(e),n.props.setOpen&&n.props.setOpen(!0)),n.props.setPreSelection&&n.props.setPreSelection(e)})),Dt(Mt(n),"handleMonthChange",(function(e){n.handleCustomMonthChange(e),n.props.adjustDateOnChange&&(n.props.onSelect&&n.props.onSelect(e),n.props.setOpen&&n.props.setOpen(!0)),n.props.setPreSelection&&n.props.setPreSelection(e)})),Dt(Mt(n),"handleCustomMonthChange",(function(e){n.props.onMonthChange&&(n.props.onMonthChange(e),n.setState({isRenderAriaLiveMessage:!0}))})),Dt(Mt(n),"handleMonthYearChange",(function(e){n.handleYearChange(e),n.handleMonthChange(e)})),Dt(Mt(n),"changeYear",(function(e){n.setState((function(t){var r=t.date;return{date:qe.default(r,e)}}),(function(){return n.handleYearChange(n.state.date)}))})),Dt(Mt(n),"changeMonth",(function(e){n.setState((function(t){var r=t.date;return{date:He.default(r,e)}}),(function(){return n.handleMonthChange(n.state.date)}))})),Dt(Mt(n),"changeMonthYear",(function(e){n.setState((function(t){var r=t.date;return{date:qe.default(He.default(r,Ye.default(e)),Re.default(e))}}),(function(){return n.handleMonthYearChange(n.state.date)}))})),Dt(Mt(n),"header",(function(){var e=jt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.state.date,n.props.locale,n.props.calendarStartDay),t=[];return n.props.showWeekNumbers&&t.push(de.default.createElement("div",{key:"W",className:"react-datepicker__day-name"},n.props.weekLabel||"#")),t.concat([0,1,2,3,4,5,6].map((function(t){var r=ye.default(e,t),a=n.formatWeekday(r,n.props.locale),o=n.props.weekDayClassName?n.props.weekDayClassName(r):void 0;return de.default.createElement("div",{key:t,className:pe.default("react-datepicker__day-name",o)},a)})))})),Dt(Mt(n),"formatWeekday",(function(e,t){return n.props.formatWeekDay?function(e,t,r){return t(Wt(e,"EEEE",r))}(e,n.props.formatWeekDay,t):n.props.useWeekdaysShort?function(e,t){return Wt(e,"EEE",t)}(e,t):function(e,t){return Wt(e,"EEEEEE",t)}(e,t)})),Dt(Mt(n),"decreaseYear",(function(){n.setState((function(e){var t=e.date;return{date:Te.default(t,n.props.showYearPicker?n.props.yearItemNumber:1)}}),(function(){return n.handleYearChange(n.state.date)}))})),Dt(Mt(n),"clearSelectingDate",(function(){n.setState({selectingDate:null})})),Dt(Mt(n),"renderPreviousButton",(function(){if(!n.props.renderCustomHeader){var e;switch(!0){case n.props.showMonthYearPicker:e=gr(n.state.date,n.props);break;case n.props.showYearPicker:e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.minDate,n=t.yearItemNumber,a=void 0===n?12:n,o=Cr(Bt(Te.default(e,a)),a).endPeriod,i=r&&Re.default(r);return i&&i>o||!1}(n.state.date,n.props);break;default:e=mr(n.state.date,n.props)}if((n.props.forceShowMonthNavigation||n.props.showDisabledMonthNavigation||!e)&&!n.props.showTimeSelectOnly){var t=["react-datepicker__navigation","react-datepicker__navigation--previous"],r=n.decreaseMonth;(n.props.showMonthYearPicker||n.props.showQuarterYearPicker||n.props.showYearPicker)&&(r=n.decreaseYear),e&&n.props.showDisabledMonthNavigation&&(t.push("react-datepicker__navigation--previous--disabled"),r=null);var a=n.props.showMonthYearPicker||n.props.showQuarterYearPicker||n.props.showYearPicker,o=n.props,i=o.previousMonthButtonLabel,s=o.previousYearButtonLabel,c=n.props,l=c.previousMonthAriaLabel,u=void 0===l?"string"==typeof i?i:"Previous Month":l,d=c.previousYearAriaLabel,p=void 0===d?"string"==typeof s?s:"Previous Year":d;return de.default.createElement("button",{type:"button",className:t.join(" "),onClick:r,onKeyDown:n.props.handleOnKeyDown,"aria-label":a?p:u},de.default.createElement("span",{className:["react-datepicker__navigation-icon","react-datepicker__navigation-icon--previous"].join(" ")},a?n.props.previousYearButtonLabel:n.props.previousMonthButtonLabel))}}})),Dt(Mt(n),"increaseYear",(function(){n.setState((function(e){var t=e.date;return{date:_e.default(t,n.props.showYearPicker?n.props.yearItemNumber:1)}}),(function(){return n.handleYearChange(n.state.date)}))})),Dt(Mt(n),"renderNextButton",(function(){if(!n.props.renderCustomHeader){var e;switch(!0){case n.props.showMonthYearPicker:e=yr(n.state.date,n.props);break;case n.props.showYearPicker:e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.maxDate,n=t.yearItemNumber,a=void 0===n?12:n,o=Cr(_e.default(e,a),a).startPeriod,i=r&&Re.default(r);return i&&i0&&void 0!==arguments[0]?arguments[0]:n.state.date,t=["react-datepicker__current-month"];return n.props.showYearDropdown&&t.push("react-datepicker__current-month--hasYearDropdown"),n.props.showMonthDropdown&&t.push("react-datepicker__current-month--hasMonthDropdown"),n.props.showMonthYearDropdown&&t.push("react-datepicker__current-month--hasMonthYearDropdown"),de.default.createElement("div",{className:t.join(" ")},Wt(e,n.props.dateFormat,n.props.locale))})),Dt(Mt(n),"renderYearDropdown",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(n.props.showYearDropdown&&!e)return de.default.createElement(Pr,{adjustDateOnChange:n.props.adjustDateOnChange,date:n.state.date,onSelect:n.props.onSelect,setOpen:n.props.setOpen,dropdownMode:n.props.dropdownMode,onChange:n.changeYear,minDate:n.props.minDate,maxDate:n.props.maxDate,year:Re.default(n.state.date),scrollableYearDropdown:n.props.scrollableYearDropdown,yearDropdownItemNumber:n.props.yearDropdownItemNumber})})),Dt(Mt(n),"renderMonthDropdown",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(n.props.showMonthDropdown&&!e)return de.default.createElement(Ar,{dropdownMode:n.props.dropdownMode,locale:n.props.locale,onChange:n.changeMonth,month:Ye.default(n.state.date),useShortMonthInDropdown:n.props.useShortMonthInDropdown})})),Dt(Mt(n),"renderMonthYearDropdown",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(n.props.showMonthYearDropdown&&!e)return de.default.createElement(Lr,{dropdownMode:n.props.dropdownMode,locale:n.props.locale,dateFormat:n.props.dateFormat,onChange:n.changeMonthYear,minDate:n.props.minDate,maxDate:n.props.maxDate,date:n.state.date,scrollableMonthYearDropdown:n.props.scrollableMonthYearDropdown})})),Dt(Mt(n),"handleTodayButtonClick",(function(e){n.props.onSelect(Kt(),e),n.props.setPreSelection&&n.props.setPreSelection(Kt())})),Dt(Mt(n),"renderTodayButton",(function(){if(n.props.todayButton&&!n.props.showTimeSelectOnly)return de.default.createElement("div",{className:"react-datepicker__today-button",onClick:function(e){return n.handleTodayButtonClick(e)}},n.props.todayButton)})),Dt(Mt(n),"renderDefaultHeader",(function(e){var t=e.monthDate,r=e.i;return de.default.createElement("div",{className:"react-datepicker__header ".concat(n.props.showTimeSelect?"react-datepicker__header--has-time-select":"")},n.renderCurrentMonth(t),de.default.createElement("div",{className:"react-datepicker__header__dropdown react-datepicker__header__dropdown--".concat(n.props.dropdownMode),onFocus:n.handleDropdownFocus},n.renderMonthDropdown(0!==r),n.renderMonthYearDropdown(0!==r),n.renderYearDropdown(0!==r)),de.default.createElement("div",{className:"react-datepicker__day-names"},n.header(t)))})),Dt(Mt(n),"renderCustomHeader",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.monthDate,r=e.i;if(n.props.showTimeSelect&&!n.state.monthContainer||n.props.showTimeSelectOnly)return null;var a=mr(n.state.date,n.props),o=vr(n.state.date,n.props),i=gr(n.state.date,n.props),s=yr(n.state.date,n.props),c=!n.props.showMonthYearPicker&&!n.props.showQuarterYearPicker&&!n.props.showYearPicker;return de.default.createElement("div",{className:"react-datepicker__header react-datepicker__header--custom",onFocus:n.props.onDropdownFocus},n.props.renderCustomHeader(yt(yt({},n.state),{},{customHeaderCount:r,monthDate:t,changeMonth:n.changeMonth,changeYear:n.changeYear,decreaseMonth:n.decreaseMonth,increaseMonth:n.increaseMonth,decreaseYear:n.decreaseYear,increaseYear:n.increaseYear,prevMonthButtonDisabled:a,nextMonthButtonDisabled:o,prevYearButtonDisabled:i,nextYearButtonDisabled:s})),c&&de.default.createElement("div",{className:"react-datepicker__day-names"},n.header(t)))})),Dt(Mt(n),"renderYearHeader",(function(){var e=n.state.date,t=n.props,r=t.showYearPicker,a=Cr(e,t.yearItemNumber),o=a.startPeriod,i=a.endPeriod;return de.default.createElement("div",{className:"react-datepicker__header react-datepicker-year-header"},r?"".concat(o," - ").concat(i):Re.default(e))})),Dt(Mt(n),"renderHeader",(function(e){switch(!0){case void 0!==n.props.renderCustomHeader:return n.renderCustomHeader(e);case n.props.showMonthYearPicker||n.props.showQuarterYearPicker||n.props.showYearPicker:return n.renderYearHeader(e);default:return n.renderDefaultHeader(e)}})),Dt(Mt(n),"renderMonths",(function(){var e;if(!n.props.showTimeSelectOnly&&!n.props.showYearPicker){for(var t=[],r=n.props.showPreviousMonths?n.props.monthsShown-1:0,a=Ce.default(n.state.date,r),o=null!==(e=n.props.monthSelectedIn)&&void 0!==e?e:r,i=0;i0;t.push(de.default.createElement("div",{key:l,ref:function(e){n.monthContainer=e},className:"react-datepicker__month-container"},n.renderHeader({monthDate:c,i}),de.default.createElement(Kr,{chooseDayAriaLabelPrefix:n.props.chooseDayAriaLabelPrefix,disabledDayAriaLabelPrefix:n.props.disabledDayAriaLabelPrefix,weekAriaLabelPrefix:n.props.weekAriaLabelPrefix,ariaLabelPrefix:n.props.monthAriaLabelPrefix,onChange:n.changeMonthYear,day:c,dayClassName:n.props.dayClassName,calendarStartDay:n.props.calendarStartDay,monthClassName:n.props.monthClassName,onDayClick:n.handleDayClick,handleOnKeyDown:n.props.handleOnDayKeyDown,onDayMouseEnter:n.handleDayMouseEnter,onMouseLeave:n.handleMonthMouseLeave,onWeekSelect:n.props.onWeekSelect,orderInDisplay:i,formatWeekNumber:n.props.formatWeekNumber,locale:n.props.locale,minDate:n.props.minDate,maxDate:n.props.maxDate,excludeDates:n.props.excludeDates,excludeDateIntervals:n.props.excludeDateIntervals,highlightDates:n.props.highlightDates,holidays:n.props.holidays,selectingDate:n.state.selectingDate,includeDates:n.props.includeDates,includeDateIntervals:n.props.includeDateIntervals,inline:n.props.inline,shouldFocusDayInline:n.props.shouldFocusDayInline,fixedHeight:n.props.fixedHeight,filterDate:n.props.filterDate,preSelection:n.props.preSelection,setPreSelection:n.props.setPreSelection,selected:n.props.selected,selectsStart:n.props.selectsStart,selectsEnd:n.props.selectsEnd,selectsRange:n.props.selectsRange,selectsDisabledDaysInRange:n.props.selectsDisabledDaysInRange,showWeekNumbers:n.props.showWeekNumbers,startDate:n.props.startDate,endDate:n.props.endDate,peekNextMonth:n.props.peekNextMonth,setOpen:n.props.setOpen,shouldCloseOnSelect:n.props.shouldCloseOnSelect,renderDayContents:n.props.renderDayContents,renderMonthContent:n.props.renderMonthContent,renderQuarterContent:n.props.renderQuarterContent,renderYearContent:n.props.renderYearContent,disabledKeyboardNavigation:n.props.disabledKeyboardNavigation,showMonthYearPicker:n.props.showMonthYearPicker,showFullMonthYearPicker:n.props.showFullMonthYearPicker,showTwoColumnMonthYearPicker:n.props.showTwoColumnMonthYearPicker,showFourColumnMonthYearPicker:n.props.showFourColumnMonthYearPicker,showYearPicker:n.props.showYearPicker,showQuarterYearPicker:n.props.showQuarterYearPicker,showWeekPicker:n.props.showWeekPicker,isInputFocused:n.props.isInputFocused,containerRef:n.containerRef,monthShowsDuplicateDaysEnd:u,monthShowsDuplicateDaysStart:d})))}return t}})),Dt(Mt(n),"renderYears",(function(){if(!n.props.showTimeSelectOnly)return n.props.showYearPicker?de.default.createElement("div",{className:"react-datepicker__year--container"},n.renderHeader(),de.default.createElement(zr,xt({onDayClick:n.handleDayClick,selectingDate:n.state.selectingDate,clearSelectingDate:n.clearSelectingDate,date:n.state.date},n.props,{onYearMouseEnter:n.handleYearMouseEnter,onYearMouseLeave:n.handleYearMouseLeave}))):void 0})),Dt(Mt(n),"renderTimeSection",(function(){if(n.props.showTimeSelect&&(n.state.monthContainer||n.props.showTimeSelectOnly))return de.default.createElement(Vr,{selected:n.props.selected,openToDate:n.props.openToDate,onChange:n.props.onTimeChange,timeClassName:n.props.timeClassName,format:n.props.timeFormat,includeTimes:n.props.includeTimes,intervals:n.props.timeIntervals,minTime:n.props.minTime,maxTime:n.props.maxTime,excludeTimes:n.props.excludeTimes,filterTime:n.props.filterTime,timeCaption:n.props.timeCaption,todayButton:n.props.todayButton,showMonthDropdown:n.props.showMonthDropdown,showMonthYearDropdown:n.props.showMonthYearDropdown,showYearDropdown:n.props.showYearDropdown,withPortal:n.props.withPortal,monthRef:n.state.monthContainer,injectTimes:n.props.injectTimes,locale:n.props.locale,handleOnKeyDown:n.props.handleOnKeyDown,showTimeSelectOnly:n.props.showTimeSelectOnly})})),Dt(Mt(n),"renderInputTimeSection",(function(){var e=new Date(n.props.selected),t=Ft(e)&&Boolean(n.props.selected)?"".concat(xr(e.getHours()),":").concat(xr(e.getMinutes())):"";if(n.props.showTimeInput)return de.default.createElement(Xr,{date:e,timeString:t,timeInputLabel:n.props.timeInputLabel,onChange:n.props.onTimeChange,customTimeInput:n.props.customTimeInput})})),Dt(Mt(n),"renderAriaLiveRegion",(function(){var e,t=Cr(n.state.date,n.props.yearItemNumber),r=t.startPeriod,a=t.endPeriod;return e=n.props.showYearPicker?"".concat(r," - ").concat(a):n.props.showMonthYearPicker||n.props.showQuarterYearPicker?Re.default(n.state.date):"".concat(tr(Ye.default(n.state.date),n.props.locale)," ").concat(Re.default(n.state.date)),de.default.createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-live"},n.state.isRenderAriaLiveMessage&&e)})),Dt(Mt(n),"renderChildren",(function(){if(n.props.children)return de.default.createElement("div",{className:"react-datepicker__children-container"},n.props.children)})),n.containerRef=de.default.createRef(),n.state={date:n.getDateInView(),selectingDate:null,monthContainer:null,isRenderAriaLiveMessage:!1},n}return _t(r,[{key:"componentDidMount",value:function(){this.props.showTimeSelect&&(this.assignMonthContainer=void this.setState({monthContainer:this.monthContainer}))}},{key:"componentDidUpdate",value:function(e){var t=this;if(!this.props.preSelection||Gt(this.props.preSelection,e.preSelection)&&this.props.monthSelectedIn===e.monthSelectedIn)this.props.openToDate&&!Gt(this.props.openToDate,e.openToDate)&&this.setState({date:this.props.openToDate});else{var r=!zt(this.state.date,this.props.preSelection);this.setState({date:this.props.preSelection},(function(){return r&&t.handleCustomMonthChange(t.state.date)}))}}},{key:"render",value:function(){var e=this.props.container||Gr;return de.default.createElement("div",{style:{display:"contents"},ref:this.containerRef},de.default.createElement(e,{className:pe.default("react-datepicker",this.props.className,{"react-datepicker--time-only":this.props.showTimeSelectOnly}),showPopperArrow:this.props.showPopperArrow,arrowProps:this.props.arrowProps},this.renderAriaLiveRegion(),this.renderPreviousButton(),this.renderNextButton(),this.renderMonths(),this.renderYears(),this.renderTodayButton(),this.renderTimeSection(),this.renderInputTimeSection(),this.renderChildren()))}}],[{key:"defaultProps",get:function(){return{onDropdownFocus:function(){},monthsShown:1,forceShowMonthNavigation:!1,timeCaption:"Time",previousYearButtonLabel:"Previous Year",nextYearButtonLabel:"Next Year",previousMonthButtonLabel:"Previous Month",nextMonthButtonLabel:"Next Month",customTimeInput:null,yearItemNumber:12}}}]),r}(de.default.Component),Zr=function(e){var t=e.icon,r=e.className,n=void 0===r?"":r,a=e.onClick,o="react-datepicker__calendar-icon";return de.default.isValidElement(t)?de.default.cloneElement(t,{className:"".concat(t.props.className||""," ").concat(o," ").concat(n),onClick:function(e){"function"==typeof t.props.onClick&&t.props.onClick(e),"function"==typeof a&&a(e)}}):"string"==typeof t?de.default.createElement("i",{className:"".concat(o," ").concat(t," ").concat(n),"aria-hidden":"true",onClick:a}):de.default.createElement("svg",{className:"".concat(o," ").concat(n),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",onClick:a},de.default.createElement("path",{d:"M96 32V64H48C21.5 64 0 85.5 0 112v48H448V112c0-26.5-21.5-48-48-48H352V32c0-17.7-14.3-32-32-32s-32 14.3-32 32V64H160V32c0-17.7-14.3-32-32-32S96 14.3 96 32zM448 192H0V464c0 26.5 21.5 48 48 48H400c26.5 0 48-21.5 48-48V192z"}))},en=function(e){Ct(r,e);var t=Et(r);function r(e){var n;return kt(this,r),(n=t.call(this,e)).el=document.createElement("div"),n}return _t(r,[{key:"componentDidMount",value:function(){this.portalRoot=(this.props.portalHost||document).getElementById(this.props.portalId),this.portalRoot||(this.portalRoot=document.createElement("div"),this.portalRoot.setAttribute("id",this.props.portalId),(this.props.portalHost||document.body).appendChild(this.portalRoot)),this.portalRoot.appendChild(this.el)}},{key:"componentWillUnmount",value:function(){this.portalRoot.removeChild(this.el)}},{key:"render",value:function(){return mt.default.createPortal(this.props.children,this.el)}}]),r}(de.default.Component),tn=function(e){return!e.disabled&&-1!==e.tabIndex},rn=function(e){Ct(r,e);var t=Et(r);function r(e){var n;return kt(this,r),Dt(Mt(n=t.call(this,e)),"getTabChildren",(function(){return Array.prototype.slice.call(n.tabLoopRef.current.querySelectorAll("[tabindex], a, button, input, select, textarea"),1,-1).filter(tn)})),Dt(Mt(n),"handleFocusStart",(function(){var e=n.getTabChildren();e&&e.length>1&&e[e.length-1].focus()})),Dt(Mt(n),"handleFocusEnd",(function(){var e=n.getTabChildren();e&&e.length>1&&e[0].focus()})),n.tabLoopRef=de.default.createRef(),n}return _t(r,[{key:"render",value:function(){return this.props.enableTabLoop?de.default.createElement("div",{className:"react-datepicker__tab-loop",ref:this.tabLoopRef},de.default.createElement("div",{className:"react-datepicker__tab-loop__start",tabIndex:"0",onFocus:this.handleFocusStart}),this.props.children,de.default.createElement("div",{className:"react-datepicker__tab-loop__end",tabIndex:"0",onFocus:this.handleFocusEnd})):this.props.children}}],[{key:"defaultProps",get:function(){return{enableTabLoop:!0}}}]),r}(de.default.Component),nn=function(e){Ct(r,e);var t=Et(r);function r(){return kt(this,r),t.apply(this,arguments)}return _t(r,[{key:"render",value:function(){var e,t=this.props,r=t.className,n=t.wrapperClassName,a=t.hidePopper,o=t.popperComponent,i=t.popperModifiers,s=t.popperPlacement,c=t.popperProps,l=t.targetComponent,u=t.enableTabLoop,d=t.popperOnKeyDown,p=t.portalId,f=t.portalHost;if(!a){var h=pe.default("react-datepicker-popper",r);e=de.default.createElement(ce.Popper,xt({modifiers:i,placement:s},c),(function(e){var t=e.ref,r=e.style,n=e.placement,a=e.arrowProps;return de.default.createElement(rn,{enableTabLoop:u},de.default.createElement("div",{ref:t,style:r,className:h,"data-placement":n,onKeyDown:d},de.default.cloneElement(o,{arrowProps:a})))}))}this.props.popperContainer&&(e=de.default.createElement(this.props.popperContainer,{},e)),p&&!a&&(e=de.default.createElement(en,{portalId:p,portalHost:f},e));var m=pe.default("react-datepicker-wrapper",n);return de.default.createElement(ce.Manager,{className:"react-datepicker-manager"},de.default.createElement(ce.Reference,null,(function(e){var t=e.ref;return de.default.createElement("div",{ref:t,className:m},l)})),e)}}],[{key:"defaultProps",get:function(){return{hidePopper:!0,popperModifiers:[],popperProps:{},popperPlacement:"bottom-start"}}}]),r}(de.default.Component),an="react-datepicker-ignore-onclickoutside",on=ht.default(Jr),sn="Date input not valid.",cn=function(e){Ct(r,e);var t=Et(r);function r(e){var n;return kt(this,r),Dt(Mt(n=t.call(this,e)),"getPreSelection",(function(){return n.props.openToDate?n.props.openToDate:n.props.selectsEnd&&n.props.startDate?n.props.startDate:n.props.selectsStart&&n.props.endDate?n.props.endDate:Lt()})),Dt(Mt(n),"modifyHolidays",(function(){var e;return null===(e=n.props.holidays)||void 0===e?void 0:e.reduce((function(e,t){var r=new Date(t.date);return he.default(r)?[].concat(Pt(e),[yt(yt({},t),{},{date:r})]):e}),[])})),Dt(Mt(n),"calcInitialState",(function(){var e,t=n.getPreSelection(),r=wr(n.props),a=kr(n.props),o=r&<.default(t,Xe.default(r))?r:a&&ct.default(t,et.default(a))?a:t;return{open:n.props.startOpen||!1,preventFocus:!1,preSelection:null!==(e=n.props.selectsRange?n.props.startDate:n.props.selected)&&void 0!==e?e:o,highlightDates:br(n.props.highlightDates),focused:!1,shouldFocusDayInline:!1,isRenderAriaLiveMessage:!1}})),Dt(Mt(n),"clearPreventFocusTimeout",(function(){n.preventFocusTimeout&&clearTimeout(n.preventFocusTimeout)})),Dt(Mt(n),"setFocus",(function(){n.input&&n.input.focus&&n.input.focus({preventScroll:!0})})),Dt(Mt(n),"setBlur",(function(){n.input&&n.input.blur&&n.input.blur(),n.cancelFocusInput()})),Dt(Mt(n),"setOpen",(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];n.setState({open:e,preSelection:e&&n.state.open?n.state.preSelection:n.calcInitialState().preSelection,lastPreSelectChange:un},(function(){e||n.setState((function(e){return{focused:!!t&&e.focused}}),(function(){!t&&n.setBlur(),n.setState({inputValue:null})}))}))})),Dt(Mt(n),"inputOk",(function(){return fe.default(n.state.preSelection)})),Dt(Mt(n),"isCalendarOpen",(function(){return void 0===n.props.open?n.state.open&&!n.props.disabled&&!n.props.readOnly:n.props.open})),Dt(Mt(n),"handleFocus",(function(e){n.state.preventFocus||(n.props.onFocus(e),n.props.preventOpenOnFocus||n.props.readOnly||n.setOpen(!0)),n.setState({focused:!0})})),Dt(Mt(n),"sendFocusBackToInput",(function(){n.preventFocusTimeout&&n.clearPreventFocusTimeout(),n.setState({preventFocus:!0},(function(){n.preventFocusTimeout=setTimeout((function(){n.setFocus(),n.setState({preventFocus:!1})}))}))})),Dt(Mt(n),"cancelFocusInput",(function(){clearTimeout(n.inputFocusTimeout),n.inputFocusTimeout=null})),Dt(Mt(n),"deferFocusInput",(function(){n.cancelFocusInput(),n.inputFocusTimeout=setTimeout((function(){return n.setFocus()}),1)})),Dt(Mt(n),"handleDropdownFocus",(function(){n.cancelFocusInput()})),Dt(Mt(n),"handleBlur",(function(e){(!n.state.open||n.props.withPortal||n.props.showTimeInput)&&n.props.onBlur(e),n.setState({focused:!1})})),Dt(Mt(n),"handleCalendarClickOutside",(function(e){n.props.inline||n.setOpen(!1),n.props.onClickOutside(e),n.props.withPortal&&e.preventDefault()})),Dt(Mt(n),"handleChange",(function(){for(var e=arguments.length,t=new Array(e),r=0;r0&&(u=pt.default(o,i.slice(0,o.length),new Date)),Ft(u)||(u=new Date(o))),Ft(u)&&p?u:null));n.props.showTimeSelectOnly&&n.props.selected&&f&&!Gt(f,n.props.selected)&&(f=vt.default(n.props.selected,{hours:Pe.default(f),minutes:Ee.default(f),seconds:Me.default(f)})),!f&&a.target.value||(n.props.showWeekPicker&&(f=jt(f,n.props.locale,n.props.calendarStartDay)),n.setSelected(f,a,!0))}})),Dt(Mt(n),"handleSelect",(function(e,t,r){if(n.props.shouldCloseOnSelect&&!n.props.showTimeSelect&&n.sendFocusBackToInput(),n.props.onChangeRaw&&n.props.onChangeRaw(t),n.props.showWeekPicker&&(e=jt(e,n.props.locale,n.props.calendarStartDay)),n.setSelected(e,t,!1,r),n.props.showDateSelect&&n.setState({isRenderAriaLiveMessage:!0}),!n.props.shouldCloseOnSelect||n.props.showTimeSelect)n.setPreSelection(e);else if(!n.props.inline){n.props.selectsRange||n.setOpen(!1);var a=n.props,o=a.startDate,i=a.endDate;!o||i||lt.default(e,o)||n.setOpen(!1)}})),Dt(Mt(n),"setSelected",(function(e,t,r,a){var o=e;if(n.props.showYearPicker){if(null!==o&&lr(Re.default(o),n.props))return}else if(n.props.showMonthYearPicker){if(null!==o&&or(o,n.props))return}else if(null!==o&&nr(o,n.props))return;var i=n.props,s=i.onChange,c=i.selectsRange,l=i.startDate,u=i.endDate;if(!$t(n.props.selected,o)||n.props.allowSameDay||c)if(null!==o&&(!n.props.selected||r&&(n.props.showTimeSelect||n.props.showTimeSelectOnly||n.props.showTimeInput)||(o=Ht(o,{hour:Pe.default(n.props.selected),minute:Ee.default(n.props.selected),second:Me.default(n.props.selected)})),n.props.inline||n.setState({preSelection:o}),n.props.focusSelectedMonth||n.setState({monthSelectedIn:a})),c){var d=l&&u;l||u?l&&!u&&(lt.default(o,l)?s([o,null],t):s([l,o],t)):s([o,null],t),d&&s([o,null],t)}else s(o,t);r||(n.props.onSelect(o,t),n.setState({inputValue:null}))})),Dt(Mt(n),"setPreSelection",(function(e){var t=void 0!==n.props.minDate,r=void 0!==n.props.maxDate,a=!0;if(e){n.props.showWeekPicker&&(e=jt(e,n.props.locale,n.props.calendarStartDay));var o=Xe.default(e);if(t&&r)a=Jt(e,n.props.minDate,n.props.maxDate);else if(t){var i=Xe.default(n.props.minDate);a=ct.default(e,i)||$t(o,i)}else if(r){var s=et.default(n.props.maxDate);a=lt.default(e,s)||$t(o,s)}}a&&n.setState({preSelection:e})})),Dt(Mt(n),"toggleCalendar",(function(){n.setOpen(!n.state.open)})),Dt(Mt(n),"handleTimeChange",(function(e){var t=n.props.selected?n.props.selected:n.getPreSelection(),r=n.props.selected?e:Ht(t,{hour:Pe.default(e),minute:Ee.default(e)});n.setState({preSelection:r}),n.props.onChange(r),n.props.shouldCloseOnSelect&&(n.sendFocusBackToInput(),n.setOpen(!1)),n.props.showTimeInput&&n.setOpen(!0),(n.props.showTimeSelectOnly||n.props.showTimeSelect)&&n.setState({isRenderAriaLiveMessage:!0}),n.setState({inputValue:null})})),Dt(Mt(n),"onInputClick",(function(){n.props.disabled||n.props.readOnly||n.setOpen(!0),n.props.onInputClick()})),Dt(Mt(n),"onInputKeyDown",(function(e){n.props.onKeyDown(e);var t=e.key;if(n.state.open||n.props.inline||n.props.preventOpenOnFocus){if(n.state.open){if("ArrowDown"===t||"ArrowUp"===t){e.preventDefault();var r=n.props.showWeekPicker&&n.props.showWeekNumbers?'.react-datepicker__week-number[tabindex="0"]':'.react-datepicker__day[tabindex="0"]',a=n.calendar.componentNode&&n.calendar.componentNode.querySelector(r);return void(a&&a.focus({preventScroll:!0}))}var o=Lt(n.state.preSelection);"Enter"===t?(e.preventDefault(),n.inputOk()&&n.state.lastPreSelectChange===un?(n.handleSelect(o,e),!n.props.shouldCloseOnSelect&&n.setPreSelection(o)):n.setOpen(!1)):"Escape"===t?(e.preventDefault(),n.sendFocusBackToInput(),n.setOpen(!1)):"Tab"===t&&n.setOpen(!1),n.inputOk()||n.props.onInputError({code:1,msg:sn})}}else"ArrowDown"!==t&&"ArrowUp"!==t&&"Enter"!==t||n.onInputClick()})),Dt(Mt(n),"onPortalKeyDown",(function(e){"Escape"===e.key&&(e.preventDefault(),n.setState({preventFocus:!0},(function(){n.setOpen(!1),setTimeout((function(){n.setFocus(),n.setState({preventFocus:!1})}))})))})),Dt(Mt(n),"onDayKeyDown",(function(e){n.props.onKeyDown(e);var t=e.key,r=Lt(n.state.preSelection);if("Enter"===t)e.preventDefault(),n.handleSelect(r,e),!n.props.shouldCloseOnSelect&&n.setPreSelection(r);else if("Escape"===t)e.preventDefault(),n.setOpen(!1),n.inputOk()||n.props.onInputError({code:1,msg:sn});else if(!n.props.disabledKeyboardNavigation){var a;switch(t){case"ArrowLeft":a=n.props.showWeekPicker?xe.default(r,1):De.default(r,1);break;case"ArrowRight":a=n.props.showWeekPicker?we.default(r,1):ye.default(r,1);break;case"ArrowUp":a=xe.default(r,1);break;case"ArrowDown":a=we.default(r,1);break;case"PageUp":a=Ce.default(r,1);break;case"PageDown":a=ke.default(r,1);break;case"Home":a=Te.default(r,1);break;case"End":a=_e.default(r,1);break;default:a=null}if(!a)return void(n.props.onInputError&&n.props.onInputError({code:1,msg:sn}));if(e.preventDefault(),n.setState({lastPreSelectChange:un}),n.props.adjustDateOnChange&&n.setSelected(a),n.setPreSelection(a),n.props.inline){var o=Ye.default(r),i=Ye.default(a),s=Re.default(r),c=Re.default(a);o!==i||s!==c?n.setState({shouldFocusDayInline:!0}):n.setState({shouldFocusDayInline:!1})}}})),Dt(Mt(n),"onPopperKeyDown",(function(e){"Escape"===e.key&&(e.preventDefault(),n.sendFocusBackToInput())})),Dt(Mt(n),"onClearClick",(function(e){e&&e.preventDefault&&e.preventDefault(),n.sendFocusBackToInput(),n.props.selectsRange?n.props.onChange([null,null],e):n.props.onChange(null,e),n.setState({inputValue:null})})),Dt(Mt(n),"clear",(function(){n.onClearClick()})),Dt(Mt(n),"onScroll",(function(e){"boolean"==typeof n.props.closeOnScroll&&n.props.closeOnScroll?e.target!==document&&e.target!==document.documentElement&&e.target!==document.body||n.setOpen(!1):"function"==typeof n.props.closeOnScroll&&n.props.closeOnScroll(e)&&n.setOpen(!1)})),Dt(Mt(n),"renderCalendar",(function(){return n.props.inline||n.isCalendarOpen()?de.default.createElement(on,{ref:function(e){n.calendar=e},locale:n.props.locale,calendarStartDay:n.props.calendarStartDay,chooseDayAriaLabelPrefix:n.props.chooseDayAriaLabelPrefix,disabledDayAriaLabelPrefix:n.props.disabledDayAriaLabelPrefix,weekAriaLabelPrefix:n.props.weekAriaLabelPrefix,monthAriaLabelPrefix:n.props.monthAriaLabelPrefix,adjustDateOnChange:n.props.adjustDateOnChange,setOpen:n.setOpen,shouldCloseOnSelect:n.props.shouldCloseOnSelect,dateFormat:n.props.dateFormatCalendar,useWeekdaysShort:n.props.useWeekdaysShort,formatWeekDay:n.props.formatWeekDay,dropdownMode:n.props.dropdownMode,selected:n.props.selected,preSelection:n.state.preSelection,onSelect:n.handleSelect,onWeekSelect:n.props.onWeekSelect,openToDate:n.props.openToDate,minDate:n.props.minDate,maxDate:n.props.maxDate,selectsStart:n.props.selectsStart,selectsEnd:n.props.selectsEnd,selectsRange:n.props.selectsRange,startDate:n.props.startDate,endDate:n.props.endDate,excludeDates:n.props.excludeDates,excludeDateIntervals:n.props.excludeDateIntervals,filterDate:n.props.filterDate,onClickOutside:n.handleCalendarClickOutside,formatWeekNumber:n.props.formatWeekNumber,highlightDates:n.state.highlightDates,holidays:_r(n.modifyHolidays()),includeDates:n.props.includeDates,includeDateIntervals:n.props.includeDateIntervals,includeTimes:n.props.includeTimes,injectTimes:n.props.injectTimes,inline:n.props.inline,shouldFocusDayInline:n.state.shouldFocusDayInline,peekNextMonth:n.props.peekNextMonth,showMonthDropdown:n.props.showMonthDropdown,showPreviousMonths:n.props.showPreviousMonths,useShortMonthInDropdown:n.props.useShortMonthInDropdown,showMonthYearDropdown:n.props.showMonthYearDropdown,showWeekNumbers:n.props.showWeekNumbers,showYearDropdown:n.props.showYearDropdown,withPortal:n.props.withPortal,forceShowMonthNavigation:n.props.forceShowMonthNavigation,showDisabledMonthNavigation:n.props.showDisabledMonthNavigation,scrollableYearDropdown:n.props.scrollableYearDropdown,scrollableMonthYearDropdown:n.props.scrollableMonthYearDropdown,todayButton:n.props.todayButton,weekLabel:n.props.weekLabel,outsideClickIgnoreClass:an,fixedHeight:n.props.fixedHeight,monthsShown:n.props.monthsShown,monthSelectedIn:n.state.monthSelectedIn,onDropdownFocus:n.handleDropdownFocus,onMonthChange:n.props.onMonthChange,onYearChange:n.props.onYearChange,dayClassName:n.props.dayClassName,weekDayClassName:n.props.weekDayClassName,monthClassName:n.props.monthClassName,timeClassName:n.props.timeClassName,showDateSelect:n.props.showDateSelect,showTimeSelect:n.props.showTimeSelect,showTimeSelectOnly:n.props.showTimeSelectOnly,onTimeChange:n.handleTimeChange,timeFormat:n.props.timeFormat,timeIntervals:n.props.timeIntervals,minTime:n.props.minTime,maxTime:n.props.maxTime,excludeTimes:n.props.excludeTimes,filterTime:n.props.filterTime,timeCaption:n.props.timeCaption,className:n.props.calendarClassName,container:n.props.calendarContainer,yearItemNumber:n.props.yearItemNumber,yearDropdownItemNumber:n.props.yearDropdownItemNumber,previousMonthAriaLabel:n.props.previousMonthAriaLabel,previousMonthButtonLabel:n.props.previousMonthButtonLabel,nextMonthAriaLabel:n.props.nextMonthAriaLabel,nextMonthButtonLabel:n.props.nextMonthButtonLabel,previousYearAriaLabel:n.props.previousYearAriaLabel,previousYearButtonLabel:n.props.previousYearButtonLabel,nextYearAriaLabel:n.props.nextYearAriaLabel,nextYearButtonLabel:n.props.nextYearButtonLabel,timeInputLabel:n.props.timeInputLabel,disabledKeyboardNavigation:n.props.disabledKeyboardNavigation,renderCustomHeader:n.props.renderCustomHeader,popperProps:n.props.popperProps,renderDayContents:n.props.renderDayContents,renderMonthContent:n.props.renderMonthContent,renderQuarterContent:n.props.renderQuarterContent,renderYearContent:n.props.renderYearContent,onDayMouseEnter:n.props.onDayMouseEnter,onMonthMouseLeave:n.props.onMonthMouseLeave,onYearMouseEnter:n.props.onYearMouseEnter,onYearMouseLeave:n.props.onYearMouseLeave,selectsDisabledDaysInRange:n.props.selectsDisabledDaysInRange,showTimeInput:n.props.showTimeInput,showMonthYearPicker:n.props.showMonthYearPicker,showFullMonthYearPicker:n.props.showFullMonthYearPicker,showTwoColumnMonthYearPicker:n.props.showTwoColumnMonthYearPicker,showFourColumnMonthYearPicker:n.props.showFourColumnMonthYearPicker,showYearPicker:n.props.showYearPicker,showQuarterYearPicker:n.props.showQuarterYearPicker,showWeekPicker:n.props.showWeekPicker,showPopperArrow:n.props.showPopperArrow,excludeScrollbar:n.props.excludeScrollbar,handleOnKeyDown:n.props.onKeyDown,handleOnDayKeyDown:n.onDayKeyDown,isInputFocused:n.state.focused,customTimeInput:n.props.customTimeInput,setPreSelection:n.setPreSelection},n.props.children):null})),Dt(Mt(n),"renderAriaLiveRegion",(function(){var e,t=n.props,r=t.dateFormat,a=t.locale,o=n.props.showTimeInput||n.props.showTimeSelect?"PPPPp":"PPPP";return e=n.props.selectsRange?"Selected start date: ".concat(Ut(n.props.startDate,{dateFormat:o,locale:a}),". ").concat(n.props.endDate?"End date: "+Ut(n.props.endDate,{dateFormat:o,locale:a}):""):n.props.showTimeSelectOnly?"Selected time: ".concat(Ut(n.props.selected,{dateFormat:r,locale:a})):n.props.showYearPicker?"Selected year: ".concat(Ut(n.props.selected,{dateFormat:"yyyy",locale:a})):n.props.showMonthYearPicker?"Selected month: ".concat(Ut(n.props.selected,{dateFormat:"MMMM yyyy",locale:a})):n.props.showQuarterYearPicker?"Selected quarter: ".concat(Ut(n.props.selected,{dateFormat:"yyyy, QQQ",locale:a})):"Selected date: ".concat(Ut(n.props.selected,{dateFormat:o,locale:a})),de.default.createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-live"},e)})),Dt(Mt(n),"renderDateInput",(function(){var e,t=pe.default(n.props.className,Dt({},an,n.state.open)),r=n.props.customInput||de.default.createElement("input",{type:"text"}),a=n.props.customInputRef||"ref",o="string"==typeof n.props.value?n.props.value:"string"==typeof n.state.inputValue?n.state.inputValue:n.props.selectsRange?function(e,t,r){if(!e)return"";var n=Ut(e,r),a=t?Ut(t,r):"";return"".concat(n," - ").concat(a)}(n.props.startDate,n.props.endDate,n.props):Ut(n.props.selected,n.props);return de.default.cloneElement(r,(Dt(Dt(Dt(Dt(Dt(Dt(Dt(Dt(Dt(Dt(e={},a,(function(e){n.input=e})),"value",o),"onBlur",n.handleBlur),"onChange",n.handleChange),"onClick",n.onInputClick),"onFocus",n.handleFocus),"onKeyDown",n.onInputKeyDown),"id",n.props.id),"name",n.props.name),"form",n.props.form),Dt(Dt(Dt(Dt(Dt(Dt(Dt(Dt(Dt(Dt(e,"autoFocus",n.props.autoFocus),"placeholder",n.props.placeholderText),"disabled",n.props.disabled),"autoComplete",n.props.autoComplete),"className",pe.default(r.props.className,t)),"title",n.props.title),"readOnly",n.props.readOnly),"required",n.props.required),"tabIndex",n.props.tabIndex),"aria-describedby",n.props.ariaDescribedBy),Dt(Dt(Dt(e,"aria-invalid",n.props.ariaInvalid),"aria-labelledby",n.props.ariaLabelledBy),"aria-required",n.props.ariaRequired)))})),Dt(Mt(n),"renderClearButton",(function(){var e=n.props,t=e.isClearable,r=e.disabled,a=e.selected,o=e.startDate,i=e.endDate,s=e.clearButtonTitle,c=e.clearButtonClassName,l=void 0===c?"":c,u=e.ariaLabelClose,d=void 0===u?"Close":u;return!t||null==a&&null==o&&null==i?null:de.default.createElement("button",{type:"button",className:pe.default("react-datepicker__close-icon",l,{"react-datepicker__close-icon--disabled":r}),disabled:r,"aria-label":d,onClick:n.onClearClick,title:s,tabIndex:-1})})),n.state=n.calcInitialState(),n.preventFocusTimeout=null,n}return _t(r,[{key:"componentDidMount",value:function(){window.addEventListener("scroll",this.onScroll,!0)}},{key:"componentDidUpdate",value:function(e,t){var r,n;e.inline&&(r=e.selected,n=this.props.selected,r&&n?Ye.default(r)!==Ye.default(n)||Re.default(r)!==Re.default(n):r!==n)&&this.setPreSelection(this.props.selected),void 0!==this.state.monthSelectedIn&&e.monthsShown!==this.props.monthsShown&&this.setState({monthSelectedIn:0}),e.highlightDates!==this.props.highlightDates&&this.setState({highlightDates:br(this.props.highlightDates)}),t.focused||$t(e.selected,this.props.selected)||this.setState({inputValue:null}),t.open!==this.state.open&&(!1===t.open&&!0===this.state.open&&this.props.onCalendarOpen(),!0===t.open&&!1===this.state.open&&this.props.onCalendarClose())}},{key:"componentWillUnmount",value:function(){this.clearPreventFocusTimeout(),window.removeEventListener("scroll",this.onScroll,!0)}},{key:"renderInputContainer",value:function(){var e=this.props,t=e.showIcon,r=e.icon,n=e.calendarIconClassname,a=e.toggleCalendarOnIconClick,o=this.state.open;return de.default.createElement("div",{className:"react-datepicker__input-container".concat(t?" react-datepicker__view-calendar-icon":"")},t&&de.default.createElement(Zr,xt({icon:r,className:"".concat(n," ").concat(o&&"react-datepicker-ignore-onclickoutside")},a?{onClick:this.toggleCalendar}:null)),this.state.isRenderAriaLiveMessage&&this.renderAriaLiveRegion(),this.renderDateInput(),this.renderClearButton())}},{key:"render",value:function(){var e=this.renderCalendar();if(this.props.inline)return e;if(this.props.withPortal){var t=this.state.open?de.default.createElement(rn,{enableTabLoop:this.props.enableTabLoop},de.default.createElement("div",{className:"react-datepicker__portal",tabIndex:-1,onKeyDown:this.onPortalKeyDown},e)):null;return this.state.open&&this.props.portalId&&(t=de.default.createElement(en,{portalId:this.props.portalId,portalHost:this.props.portalHost},t)),de.default.createElement("div",null,this.renderInputContainer(),t)}return de.default.createElement(nn,{className:this.props.popperClassName,wrapperClassName:this.props.wrapperClassName,hidePopper:!this.isCalendarOpen(),portalId:this.props.portalId,portalHost:this.props.portalHost,popperModifiers:this.props.popperModifiers,targetComponent:this.renderInputContainer(),popperContainer:this.props.popperContainer,popperComponent:e,popperPlacement:this.props.popperPlacement,popperProps:this.props.popperProps,popperOnKeyDown:this.onPopperKeyDown,enableTabLoop:this.props.enableTabLoop})}}],[{key:"defaultProps",get:function(){return{allowSameDay:!1,dateFormat:"MM/dd/yyyy",dateFormatCalendar:"LLLL yyyy",onChange:function(){},disabled:!1,disabledKeyboardNavigation:!1,dropdownMode:"scroll",onFocus:function(){},onBlur:function(){},onKeyDown:function(){},onInputClick:function(){},onSelect:function(){},onClickOutside:function(){},onMonthChange:function(){},onCalendarOpen:function(){},onCalendarClose:function(){},preventOpenOnFocus:!1,onYearChange:function(){},onInputError:function(){},monthsShown:1,readOnly:!1,withPortal:!1,selectsDisabledDaysInRange:!1,shouldCloseOnSelect:!0,showTimeSelect:!1,showTimeInput:!1,showPreviousMonths:!1,showMonthYearPicker:!1,showFullMonthYearPicker:!1,showTwoColumnMonthYearPicker:!1,showFourColumnMonthYearPicker:!1,showYearPicker:!1,showQuarterYearPicker:!1,showWeekPicker:!1,strictParsing:!1,timeIntervals:30,timeCaption:"Time",previousMonthAriaLabel:"Previous Month",previousMonthButtonLabel:"Previous Month",nextMonthAriaLabel:"Next Month",nextMonthButtonLabel:"Next Month",previousYearAriaLabel:"Previous Year",previousYearButtonLabel:"Previous Year",nextYearAriaLabel:"Next Year",nextYearButtonLabel:"Next Year",timeInputLabel:"Time",enableTabLoop:!0,yearItemNumber:12,focusSelectedMonth:!1,showPopperArrow:!0,excludeScrollbar:!0,customTimeInput:null,calendarStartDay:void 0,toggleCalendarOnIconClick:!1}}}]),r}(de.default.Component),ln="input",un="navigate";e.CalendarContainer=Gr,e.default=cn,e.getDefaultLocale=Zt,e.registerLocale=function(e,t){var r="undefined"!=typeof window?window:globalThis;r.__localeData__||(r.__localeData__={}),r.__localeData__[e]=t},e.setDefaultLocale=function(e){("undefined"!=typeof window?window:globalThis).__localeId__=e},Object.defineProperty(e,"__esModule",{value:!0})}(t,r(1609),r(5556),r(6942),r(5290),r(6828),r(2346),r(2890),r(1524),r(2998),r(2238),r(2118),r(9852),r(9317),r(979),r(3337),r(4327),r(2657),r(9326),r(9251),r(2563),r(8089),r(7512),r(274),r(8850),r(2044),r(4158),r(2379),r(8519),r(1591),r(7375),r(7901),r(1104),r(6090),r(8895),r(838),r(7440),r(63),r(667),r(2002),r(1127),r(7827),r(543),r(6757),r(7054),r(6212),r(6462),r(9312),r(3039),r(5010),r(1810),r(2702),r(4125),r(992),r(9672),r(7813),r(3652),r(123),r(804),r(1806),r(3908),r(5795),r(2430),r(4074))},115:e=>{var t="undefined"!=typeof Element,r="function"==typeof Map,n="function"==typeof Set,a="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){if(e.constructor!==i.constructor)return!1;var s,c,l,u;if(Array.isArray(e)){if((s=e.length)!=i.length)return!1;for(c=s;0!=c--;)if(!o(e[c],i[c]))return!1;return!0}if(r&&e instanceof Map&&i instanceof Map){if(e.size!==i.size)return!1;for(u=e.entries();!(c=u.next()).done;)if(!i.has(c.value[0]))return!1;for(u=e.entries();!(c=u.next()).done;)if(!o(c.value[1],i.get(c.value[0])))return!1;return!0}if(n&&e instanceof Set&&i instanceof Set){if(e.size!==i.size)return!1;for(u=e.entries();!(c=u.next()).done;)if(!i.has(c.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(i)){if((s=e.length)!=i.length)return!1;for(c=s;0!=c--;)if(e[c]!==i[c])return!1;return!0}if(e.constructor===RegExp)return e.source===i.source&&e.flags===i.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof i.valueOf)return e.valueOf()===i.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof i.toString)return e.toString()===i.toString();if((s=(l=Object.keys(e)).length)!==Object.keys(i).length)return!1;for(c=s;0!=c--;)if(!Object.prototype.hasOwnProperty.call(i,l[c]))return!1;if(t&&e instanceof Element)return!1;for(c=s;0!=c--;)if(("_owner"!==l[c]&&"__v"!==l[c]&&"__o"!==l[c]||!e.$$typeof)&&!o(e[l[c]],i[l[c]]))return!1;return!0}return e!=e&&i!=i}e.exports=function(e,t){try{return o(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},3908:(e,t,r)=>{"use strict";r.r(t),r.d(t,{IGNORE_CLASS_NAME:()=>h,default:()=>v});var n=r(1609),a=r(5795);function o(e,t){return o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}function i(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s(e,t,r){return e===t||(e.correspondingElement?e.correspondingElement.classList.contains(r):e.classList.contains(r))}var c,l,u=(void 0===c&&(c=0),function(){return++c}),d={},p={},f=["touchstart","touchmove"],h="ignore-react-onclickoutside";function m(e,t){var r={};return-1!==f.indexOf(t)&&l&&(r.passive=!e.props.preventDefault),r}const v=function(e,t){var r,c,f=e.displayName||e.name||"Component";return c=r=function(r){var c,h;function v(e){var n;return(n=r.call(this,e)||this).__outsideClickHandler=function(e){if("function"!=typeof n.__clickOutsideHandlerProp){var t=n.getInstance();if("function"!=typeof t.props.handleClickOutside){if("function"!=typeof t.handleClickOutside)throw new Error("WrappedComponent: "+f+" lacks a handleClickOutside(event) function for processing outside click events.");t.handleClickOutside(e)}else t.props.handleClickOutside(e)}else n.__clickOutsideHandlerProp(e)},n.__getComponentNode=function(){var e=n.getInstance();return t&&"function"==typeof t.setClickOutsideRef?t.setClickOutsideRef()(e):"function"==typeof e.setClickOutsideRef?e.setClickOutsideRef():(0,a.findDOMNode)(e)},n.enableOnClickOutside=function(){if("undefined"!=typeof document&&!p[n._uid]){void 0===l&&(l=function(){if("undefined"!=typeof window&&"function"==typeof window.addEventListener){var e=!1,t=Object.defineProperty({},"passive",{get:function(){e=!0}}),r=function(){};return window.addEventListener("testPassiveEventSupport",r,t),window.removeEventListener("testPassiveEventSupport",r,t),e}}()),p[n._uid]=!0;var e=n.props.eventTypes;e.forEach||(e=[e]),d[n._uid]=function(e){var t;null!==n.componentNode&&(n.initTimeStamp>e.timeStamp||(n.props.preventDefault&&e.preventDefault(),n.props.stopPropagation&&e.stopPropagation(),n.props.excludeScrollbar&&(t=e,document.documentElement.clientWidth<=t.clientX||document.documentElement.clientHeight<=t.clientY)||function(e,t,r){if(e===t)return!0;for(;e.parentNode||e.host;){if(e.parentNode&&s(e,t,r))return!0;e=e.parentNode||e.host}return e}(e.composed&&e.composedPath&&e.composedPath().shift()||e.target,n.componentNode,n.props.outsideClickIgnoreClass)===document&&n.__outsideClickHandler(e)))},e.forEach((function(e){document.addEventListener(e,d[n._uid],m(i(n),e))}))}},n.disableOnClickOutside=function(){delete p[n._uid];var e=d[n._uid];if(e&&"undefined"!=typeof document){var t=n.props.eventTypes;t.forEach||(t=[t]),t.forEach((function(t){return document.removeEventListener(t,e,m(i(n),t))})),delete d[n._uid]}},n.getRef=function(e){return n.instanceRef=e},n._uid=u(),n.initTimeStamp=performance.now(),n}h=r,(c=v).prototype=Object.create(h.prototype),c.prototype.constructor=c,o(c,h);var g=v.prototype;return g.getInstance=function(){if(e.prototype&&!e.prototype.isReactComponent)return this;var t=this.instanceRef;return t.getInstance?t.getInstance():t},g.componentDidMount=function(){if("undefined"!=typeof document&&document.createElement){var e=this.getInstance();if(t&&"function"==typeof t.handleClickOutside&&(this.__clickOutsideHandlerProp=t.handleClickOutside(e),"function"!=typeof this.__clickOutsideHandlerProp))throw new Error("WrappedComponent: "+f+" lacks a function for processing outside click events specified by the handleClickOutside config option.");this.componentNode=this.__getComponentNode(),this.props.disableOnClickOutside||this.enableOnClickOutside()}},g.componentDidUpdate=function(){this.componentNode=this.__getComponentNode()},g.componentWillUnmount=function(){this.disableOnClickOutside()},g.render=function(){var t=this.props;t.excludeScrollbar;var r=function(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n=0||(a[r]=e[r]);return a}(t,["excludeScrollbar"]);return e.prototype&&e.prototype.isReactComponent?r.ref=this.getRef:r.wrappedRef=this.getRef,r.disableOnClickOutside=this.disableOnClickOutside,r.enableOnClickOutside=this.enableOnClickOutside,(0,n.createElement)(e,r)},v}(n.Component),r.displayName="OnClickOutside("+f+")",r.defaultProps={eventTypes:["mousedown","touchstart"],excludeScrollbar:t&&t.excludeScrollbar||!1,outsideClickIgnoreClass:h,preventDefault:!1,stopPropagation:!1},r.getClass=function(){return e.getClass?e.getClass():e},c}},2430:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Manager:()=>i,Popper:()=>Me,Reference:()=>Oe,usePopper:()=>xe});var n=r(1609),a=n.createContext(),o=n.createContext();function i(e){var t=e.children,r=n.useState(null),i=r[0],s=r[1],c=n.useRef(!1);n.useEffect((function(){return function(){c.current=!0}}),[]);var l=n.useCallback((function(e){c.current||s(e)}),[]);return n.createElement(a.Provider,{value:i},n.createElement(o.Provider,{value:l},t))}var s=function(e){return Array.isArray(e)?e[0]:e},c=function(e){if("function"==typeof e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n0&&w(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&w(n.height)/e.offsetHeight||1);var i=(h(e)?f(e):window).visualViewport,s=!b()&&r,c=(n.left+(s&&i?i.offsetLeft:0))/a,l=(n.top+(s&&i?i.offsetTop:0))/o,u=n.width/a,d=n.height/o;return{width:u,height:d,top:l,right:c+u,bottom:l+d,left:c,x:c,y:l}}function D(e){var t=f(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function x(e){return e?(e.nodeName||"").toLowerCase():null}function C(e){return((h(e)?e.ownerDocument:e.document)||window.document).documentElement}function S(e){return _(C(e)).left+D(e).scrollLeft}function T(e){return f(e).getComputedStyle(e)}function M(e){var t=T(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}function E(e,t,r){void 0===r&&(r=!1);var n,a,o=m(t),i=m(t)&&function(e){var t=e.getBoundingClientRect(),r=w(t.width)/e.offsetWidth||1,n=w(t.height)/e.offsetHeight||1;return 1!==r||1!==n}(t),s=C(t),c=_(e,i,r),l={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(o||!o&&!r)&&(("body"!==x(t)||M(s))&&(l=(n=t)!==f(n)&&m(n)?{scrollLeft:(a=n).scrollLeft,scrollTop:a.scrollTop}:D(n)),m(t)?((u=_(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):s&&(u.x=S(s))),{x:c.left+l.scrollLeft-u.x,y:c.top+l.scrollTop-u.y,width:c.width,height:c.height}}function P(e){var t=_(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function O(e){return"html"===x(e)?e:e.assignedSlot||e.parentNode||(v(e)?e.host:null)||C(e)}function N(e){return["html","body","#document"].indexOf(x(e))>=0?e.ownerDocument.body:m(e)&&M(e)?e:N(O(e))}function A(e,t){var r;void 0===t&&(t=[]);var n=N(e),a=n===(null==(r=e.ownerDocument)?void 0:r.body),o=f(n),i=a?[o].concat(o.visualViewport||[],M(n)?n:[]):n,s=t.concat(i);return a?s:s.concat(A(O(i)))}function Y(e){return["table","td","th"].indexOf(x(e))>=0}function I(e){return m(e)&&"fixed"!==T(e).position?e.offsetParent:null}function R(e){for(var t=f(e),r=I(e);r&&Y(r)&&"static"===T(r).position;)r=I(r);return r&&("html"===x(r)||"body"===x(r)&&"static"===T(r).position)?t:r||function(e){var t=/firefox/i.test(k());if(/Trident/i.test(k())&&m(e)&&"fixed"===T(e).position)return null;var r=O(e);for(v(r)&&(r=r.host);m(r)&&["html","body"].indexOf(x(r))<0;){var n=T(r);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return r;r=r.parentNode}return null}(e)||t}var L="top",F="bottom",W="right",U="left",H="auto",j=[L,F,W,U],q="start",B="end",Q="viewport",K="popper",V=j.reduce((function(e,t){return e.concat([t+"-"+q,t+"-"+B])}),[]),z=[].concat(j,[H]).reduce((function(e,t){return e.concat([t,t+"-"+q,t+"-"+B])}),[]),X=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function G(e){var t=new Map,r=new Set,n=[];function a(e){r.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!r.has(e)){var n=t.get(e);n&&a(n)}})),n.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){r.has(e.name)||a(e)})),n}var $={placement:"bottom",modifiers:[],strategy:"absolute"};function J(){for(var e=arguments.length,t=new Array(e),r=0;r=0?"x":"y"}function ae(e){var t,r=e.reference,n=e.element,a=e.placement,o=a?te(a):null,i=a?re(a):null,s=r.x+r.width/2-n.width/2,c=r.y+r.height/2-n.height/2;switch(o){case L:t={x:s,y:r.y-n.height};break;case F:t={x:s,y:r.y+r.height};break;case W:t={x:r.x+r.width,y:c};break;case U:t={x:r.x-n.width,y:c};break;default:t={x:r.x,y:r.y}}var l=o?ne(o):null;if(null!=l){var u="y"===l?"height":"width";switch(i){case q:t[l]=t[l]-(r[u]/2-n[u]/2);break;case B:t[l]=t[l]+(r[u]/2-n[u]/2)}}return t}var oe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ie(e){var t,r=e.popper,n=e.popperRect,a=e.placement,o=e.variation,i=e.offsets,s=e.position,c=e.gpuAcceleration,l=e.adaptive,u=e.roundOffsets,d=e.isFixed,p=i.x,h=void 0===p?0:p,m=i.y,v=void 0===m?0:m,g="function"==typeof u?u({x:h,y:v}):{x:h,y:v};h=g.x,v=g.y;var y=i.hasOwnProperty("x"),k=i.hasOwnProperty("y"),b=U,_=L,D=window;if(l){var x=R(r),S="clientHeight",M="clientWidth";x===f(r)&&"static"!==T(x=C(r)).position&&"absolute"===s&&(S="scrollHeight",M="scrollWidth"),(a===L||(a===U||a===W)&&o===B)&&(_=F,v-=(d&&x===D&&D.visualViewport?D.visualViewport.height:x[S])-n.height,v*=c?1:-1),a!==U&&(a!==L&&a!==F||o!==B)||(b=W,h-=(d&&x===D&&D.visualViewport?D.visualViewport.width:x[M])-n.width,h*=c?1:-1)}var E,P=Object.assign({position:s},l&&oe),O=!0===u?function(e,t){var r=e.x,n=e.y,a=t.devicePixelRatio||1;return{x:w(r*a)/a||0,y:w(n*a)/a||0}}({x:h,y:v},f(r)):{x:h,y:v};return h=O.x,v=O.y,c?Object.assign({},P,((E={})[_]=k?"0":"",E[b]=y?"0":"",E.transform=(D.devicePixelRatio||1)<=1?"translate("+h+"px, "+v+"px)":"translate3d("+h+"px, "+v+"px, 0)",E)):Object.assign({},P,((t={})[_]=k?v+"px":"",t[b]=y?h+"px":"",t.transform="",t))}var se={left:"right",right:"left",bottom:"top",top:"bottom"};function ce(e){return e.replace(/left|right|bottom|top/g,(function(e){return se[e]}))}var le={start:"end",end:"start"};function ue(e){return e.replace(/start|end/g,(function(e){return le[e]}))}function de(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&v(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function pe(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function fe(e,t,r){return t===Q?pe(function(e,t){var r=f(e),n=C(e),a=r.visualViewport,o=n.clientWidth,i=n.clientHeight,s=0,c=0;if(a){o=a.width,i=a.height;var l=b();(l||!l&&"fixed"===t)&&(s=a.offsetLeft,c=a.offsetTop)}return{width:o,height:i,x:s+S(e),y:c}}(e,r)):h(t)?function(e,t){var r=_(e,!1,"fixed"===t);return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}(t,r):pe(function(e){var t,r=C(e),n=D(e),a=null==(t=e.ownerDocument)?void 0:t.body,o=g(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),i=g(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),s=-n.scrollLeft+S(e),c=-n.scrollTop;return"rtl"===T(a||r).direction&&(s+=g(r.clientWidth,a?a.clientWidth:0)-o),{width:o,height:i,x:s,y:c}}(C(e)))}function he(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function me(e,t){return t.reduce((function(t,r){return t[r]=e,t}),{})}function ve(e,t){void 0===t&&(t={});var r=t,n=r.placement,a=void 0===n?e.placement:n,o=r.strategy,i=void 0===o?e.strategy:o,s=r.boundary,c=void 0===s?"clippingParents":s,l=r.rootBoundary,u=void 0===l?Q:l,d=r.elementContext,p=void 0===d?K:d,f=r.altBoundary,v=void 0!==f&&f,w=r.padding,k=void 0===w?0:w,b=he("number"!=typeof k?k:me(k,j)),D=p===K?"reference":K,S=e.rects.popper,M=e.elements[v?D:p],E=function(e,t,r,n){var a="clippingParents"===t?function(e){var t=A(O(e)),r=["absolute","fixed"].indexOf(T(e).position)>=0&&m(e)?R(e):e;return h(r)?t.filter((function(e){return h(e)&&de(e,r)&&"body"!==x(e)})):[]}(e):[].concat(t),o=[].concat(a,[r]),i=o[0],s=o.reduce((function(t,r){var a=fe(e,r,n);return t.top=g(a.top,t.top),t.right=y(a.right,t.right),t.bottom=y(a.bottom,t.bottom),t.left=g(a.left,t.left),t}),fe(e,i,n));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}(h(M)?M:M.contextElement||C(e.elements.popper),c,u,i),P=_(e.elements.reference),N=ae({reference:P,element:S,strategy:"absolute",placement:a}),Y=pe(Object.assign({},S,N)),I=p===K?Y:P,U={top:E.top-I.top+b.top,bottom:I.bottom-E.bottom+b.bottom,left:E.left-I.left+b.left,right:I.right-E.right+b.right},H=e.modifiersData.offset;if(p===K&&H){var q=H[a];Object.keys(U).forEach((function(e){var t=[W,F].indexOf(e)>=0?1:-1,r=[L,F].indexOf(e)>=0?"y":"x";U[e]+=q[r]*t}))}return U}function ge(e,t,r){return g(e,y(t,r))}function ye(e,t,r){return void 0===r&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function we(e){return[L,W,F,U].some((function(t){return e[t]>=0}))}var ke=Z({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,r=e.instance,n=e.options,a=n.scroll,o=void 0===a||a,i=n.resize,s=void 0===i||i,c=f(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&l.forEach((function(e){e.addEventListener("scroll",r.update,ee)})),s&&c.addEventListener("resize",r.update,ee),function(){o&&l.forEach((function(e){e.removeEventListener("scroll",r.update,ee)})),s&&c.removeEventListener("resize",r.update,ee)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,r=e.name;t.modifiersData[r]=ae({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,r=e.options,n=r.gpuAcceleration,a=void 0===n||n,o=r.adaptive,i=void 0===o||o,s=r.roundOffsets,c=void 0===s||s,l={placement:te(t.placement),variation:re(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ie(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:c})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ie(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var r=t.styles[e]||{},n=t.attributes[e]||{},a=t.elements[e];m(a)&&x(a)&&(Object.assign(a.style,r),Object.keys(n).forEach((function(e){var t=n[e];!1===t?a.removeAttribute(e):a.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach((function(e){var n=t.elements[e],a=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:r[e]).reduce((function(e,t){return e[t]="",e}),{});m(n)&&x(n)&&(Object.assign(n.style,o),Object.keys(a).forEach((function(e){n.removeAttribute(e)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,r=e.options,n=e.name,a=r.offset,o=void 0===a?[0,0]:a,i=z.reduce((function(e,r){return e[r]=function(e,t,r){var n=te(e),a=[U,L].indexOf(n)>=0?-1:1,o="function"==typeof r?r(Object.assign({},t,{placement:e})):r,i=o[0],s=o[1];return i=i||0,s=(s||0)*a,[U,W].indexOf(n)>=0?{x:s,y:i}:{x:i,y:s}}(r,t.rects,o),e}),{}),s=i[t.placement],c=s.x,l=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=l),t.modifiersData[n]=i}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var a=r.mainAxis,o=void 0===a||a,i=r.altAxis,s=void 0===i||i,c=r.fallbackPlacements,l=r.padding,u=r.boundary,d=r.rootBoundary,p=r.altBoundary,f=r.flipVariations,h=void 0===f||f,m=r.allowedAutoPlacements,v=t.options.placement,g=te(v),y=c||(g!==v&&h?function(e){if(te(e)===H)return[];var t=ce(e);return[ue(e),t,ue(t)]}(v):[ce(v)]),w=[v].concat(y).reduce((function(e,r){return e.concat(te(r)===H?function(e,t){void 0===t&&(t={});var r=t,n=r.placement,a=r.boundary,o=r.rootBoundary,i=r.padding,s=r.flipVariations,c=r.allowedAutoPlacements,l=void 0===c?z:c,u=re(n),d=u?s?V:V.filter((function(e){return re(e)===u})):j,p=d.filter((function(e){return l.indexOf(e)>=0}));0===p.length&&(p=d);var f=p.reduce((function(t,r){return t[r]=ve(e,{placement:r,boundary:a,rootBoundary:o,padding:i})[te(r)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}(t,{placement:r,boundary:u,rootBoundary:d,padding:l,flipVariations:h,allowedAutoPlacements:m}):r)}),[]),k=t.rects.reference,b=t.rects.popper,_=new Map,D=!0,x=w[0],C=0;C=0,P=E?"width":"height",O=ve(t,{placement:S,boundary:u,rootBoundary:d,altBoundary:p,padding:l}),N=E?M?W:U:M?F:L;k[P]>b[P]&&(N=ce(N));var A=ce(N),Y=[];if(o&&Y.push(O[T]<=0),s&&Y.push(O[N]<=0,O[A]<=0),Y.every((function(e){return e}))){x=S,D=!1;break}_.set(S,Y)}if(D)for(var I=function(e){var t=w.find((function(t){var r=_.get(t);if(r)return r.slice(0,e).every((function(e){return e}))}));if(t)return x=t,"break"},R=h?3:1;R>0&&"break"!==I(R);R--);t.placement!==x&&(t.modifiersData[n]._skip=!0,t.placement=x,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name,a=r.mainAxis,o=void 0===a||a,i=r.altAxis,s=void 0!==i&&i,c=r.boundary,l=r.rootBoundary,u=r.altBoundary,d=r.padding,p=r.tether,f=void 0===p||p,h=r.tetherOffset,m=void 0===h?0:h,v=ve(t,{boundary:c,rootBoundary:l,padding:d,altBoundary:u}),w=te(t.placement),k=re(t.placement),b=!k,_=ne(w),D="x"===_?"y":"x",x=t.modifiersData.popperOffsets,C=t.rects.reference,S=t.rects.popper,T="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,M="number"==typeof T?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),E=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,O={x:0,y:0};if(x){if(o){var N,A="y"===_?L:U,Y="y"===_?F:W,I="y"===_?"height":"width",H=x[_],j=H+v[A],B=H-v[Y],Q=f?-S[I]/2:0,K=k===q?C[I]:S[I],V=k===q?-S[I]:-C[I],z=t.elements.arrow,X=f&&z?P(z):{width:0,height:0},G=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},$=G[A],J=G[Y],Z=ge(0,C[I],X[I]),ee=b?C[I]/2-Q-Z-$-M.mainAxis:K-Z-$-M.mainAxis,ae=b?-C[I]/2+Q+Z+J+M.mainAxis:V+Z+J+M.mainAxis,oe=t.elements.arrow&&R(t.elements.arrow),ie=oe?"y"===_?oe.clientTop||0:oe.clientLeft||0:0,se=null!=(N=null==E?void 0:E[_])?N:0,ce=H+ae-se,le=ge(f?y(j,H+ee-se-ie):j,H,f?g(B,ce):B);x[_]=le,O[_]=le-H}if(s){var ue,de="x"===_?L:U,pe="x"===_?F:W,fe=x[D],he="y"===D?"height":"width",me=fe+v[de],ye=fe-v[pe],we=-1!==[L,U].indexOf(w),ke=null!=(ue=null==E?void 0:E[D])?ue:0,be=we?me:fe-C[he]-S[he]-ke+M.altAxis,_e=we?fe+C[he]+S[he]-ke-M.altAxis:ye,De=f&&we?function(e,t,r){var n=ge(e,t,r);return n>r?r:n}(be,fe,_e):ge(f?be:me,fe,f?_e:ye);x[D]=De,O[D]=De-fe}t.modifiersData[n]=O}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,r=e.state,n=e.name,a=e.options,o=r.elements.arrow,i=r.modifiersData.popperOffsets,s=te(r.placement),c=ne(s),l=[U,W].indexOf(s)>=0?"height":"width";if(o&&i){var u=function(e,t){return he("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:me(e,j))}(a.padding,r),d=P(o),p="y"===c?L:U,f="y"===c?F:W,h=r.rects.reference[l]+r.rects.reference[c]-i[c]-r.rects.popper[l],m=i[c]-r.rects.reference[c],v=R(o),g=v?"y"===c?v.clientHeight||0:v.clientWidth||0:0,y=h/2-m/2,w=u[p],k=g-d[l]-u[f],b=g/2-d[l]/2+y,_=ge(w,b,k),D=c;r.modifiersData[n]=((t={})[D]=_,t.centerOffset=_-b,t)}},effect:function(e){var t=e.state,r=e.options.element,n=void 0===r?"[data-popper-arrow]":r;null!=n&&("string"!=typeof n||(n=t.elements.popper.querySelector(n)))&&de(t.elements.popper,n)&&(t.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,r=e.name,n=t.rects.reference,a=t.rects.popper,o=t.modifiersData.preventOverflow,i=ve(t,{elementContext:"reference"}),s=ve(t,{altBoundary:!0}),c=ye(i,n),l=ye(s,a,o),u=we(c),d=we(l);t.modifiersData[r]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]}),be=r(115),_e=r.n(be),De=[],xe=function(e,t,r){void 0===r&&(r={});var a=n.useRef(null),o={onFirstUpdate:r.onFirstUpdate,placement:r.placement||"bottom",strategy:r.strategy||"absolute",modifiers:r.modifiers||De},i=n.useState({styles:{popper:{position:o.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),s=i[0],c=i[1],l=n.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,r=Object.keys(t.elements);p.flushSync((function(){c({styles:u(r.map((function(e){return[e,t.styles[e]||{}]}))),attributes:u(r.map((function(e){return[e,t.attributes[e]]})))})}))},requires:["computeStyles"]}}),[]),f=n.useMemo((function(){var e={onFirstUpdate:o.onFirstUpdate,placement:o.placement,strategy:o.strategy,modifiers:[].concat(o.modifiers,[l,{name:"applyStyles",enabled:!1}])};return _e()(a.current,e)?a.current||e:(a.current=e,e)}),[o.onFirstUpdate,o.placement,o.strategy,o.modifiers,l]),h=n.useRef();return d((function(){h.current&&h.current.setOptions(f)}),[f]),d((function(){if(null!=e&&null!=t){var n=(r.createPopper||ke)(e,t,f);return h.current=n,function(){n.destroy(),h.current=null}}}),[e,t,r.createPopper]),{state:h.current?h.current.state:null,styles:s.styles,attributes:s.attributes,update:h.current?h.current.update:null,forceUpdate:h.current?h.current.forceUpdate:null}},Ce=function(){},Se=function(){return Promise.resolve(null)},Te=[];function Me(e){var t=e.placement,r=void 0===t?"bottom":t,o=e.strategy,i=void 0===o?"absolute":o,c=e.modifiers,u=void 0===c?Te:c,d=e.referenceElement,p=e.onFirstUpdate,f=e.innerRef,h=e.children,m=n.useContext(a),v=n.useState(null),g=v[0],y=v[1],w=n.useState(null),k=w[0],b=w[1];n.useEffect((function(){l(f,g)}),[f,g]);var _=n.useMemo((function(){return{placement:r,strategy:i,onFirstUpdate:p,modifiers:[].concat(u,[{name:"arrow",enabled:null!=k,options:{element:k}}])}}),[r,i,p,u,k]),D=xe(d||m,g,_),x=D.state,C=D.styles,S=D.forceUpdate,T=D.update,M=n.useMemo((function(){return{ref:y,style:C.popper,placement:x?x.placement:r,hasPopperEscaped:x&&x.modifiersData.hide?x.modifiersData.hide.hasPopperEscaped:null,isReferenceHidden:x&&x.modifiersData.hide?x.modifiersData.hide.isReferenceHidden:null,arrowProps:{style:C.arrow,ref:b},forceUpdate:S||Ce,update:T||Se}}),[y,b,r,x,C,T,S]);return s(h)(M)}var Ee=r(9771),Pe=r.n(Ee);function Oe(e){var t=e.children,r=e.innerRef,a=n.useContext(o),i=n.useCallback((function(e){l(r,e),c(a,e)}),[r,a]);return n.useEffect((function(){return function(){return l(r,null)}}),[]),n.useEffect((function(){Pe()(Boolean(a),"`Reference` should not be used outside of a `Manager` component.")}),[a]),s(t)({ref:i})}},596:(e,t,r)=>{"use strict";var n=r(5072),a=r.n(n),o=r(7825),i=r.n(o),s=r(7659),c=r.n(s),l=r(5056),u=r.n(l),d=r(540),p=r.n(d),f=r(1113),h=r.n(f),m=r(2063),v={};v.styleTagTransform=h(),v.setAttributes=u(),v.insert=c().bind(null,"head"),v.domAPI=i(),v.insertStyleElement=p(),a()(m.A,v),m.A&&m.A.locals&&m.A.locals},5072:e=>{"use strict";var t=[];function r(e){for(var r=-1,n=0;n{"use strict";var t={};e.exports=function(e,r){var n=function(e){if(void 0===t[e]){var r=document.querySelector(e);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[e]=r}return t[e]}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(r)}},540:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},5056:(e,t,r)=>{"use strict";e.exports=function(e){var t=r.nc;t&&e.setAttribute("nonce",t)}},7825:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(r){!function(e,t,r){var n="";r.supports&&(n+="@supports (".concat(r.supports,") {")),r.media&&(n+="@media ".concat(r.media," {"));var a=void 0!==r.layer;a&&(n+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),n+=r.css,a&&(n+="}"),r.media&&(n+="}"),r.supports&&(n+="}");var o=r.sourceMap;o&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(n,e,t.options)}(t,e,r)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},1113:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},9771:e=>{"use strict";e.exports=function(){}},6942:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function a(){for(var e="",t=0;t{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r.d(t,{A:()=>n})}}]); \ No newline at end of file +(self.webpackChunk=self.webpackChunk||[]).push([[259],{2063:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(1601),a=r.n(n),o=r(6314),i=r.n(o)()(a());i.push([e.id,'@charset "UTF-8";\n.react-datepicker__year-read-view--down-arrow,\n.react-datepicker__month-read-view--down-arrow,\n.react-datepicker__month-year-read-view--down-arrow, .react-datepicker__navigation-icon::before {\n border-color: #ccc;\n border-style: solid;\n border-width: 3px 3px 0 0;\n content: "";\n display: block;\n height: 9px;\n position: absolute;\n top: 6px;\n width: 9px;\n}\n.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle, .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle {\n margin-left: -4px;\n position: absolute;\n width: 0;\n}\n.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle::before, .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle::before, .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle::after, .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle::after {\n box-sizing: content-box;\n position: absolute;\n border: 8px solid transparent;\n height: 0;\n width: 1px;\n content: "";\n z-index: -1;\n border-width: 8px;\n left: -8px;\n}\n.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle::before, .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle::before {\n border-bottom-color: #aeaeae;\n}\n\n.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle {\n top: 0;\n margin-top: -8px;\n}\n.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle::before, .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle::after {\n border-top: none;\n border-bottom-color: #f0f0f0;\n}\n.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle::after {\n top: 0;\n}\n.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle::before {\n top: -1px;\n border-bottom-color: #aeaeae;\n}\n\n.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle {\n bottom: 0;\n margin-bottom: -8px;\n}\n.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle::before, .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle::after {\n border-bottom: none;\n border-top-color: #fff;\n}\n.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle::after {\n bottom: 0;\n}\n.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle::before {\n bottom: -1px;\n border-top-color: #aeaeae;\n}\n\n.react-datepicker-wrapper {\n display: inline-block;\n padding: 0;\n border: 0;\n}\n\n.react-datepicker {\n font-family: "Helvetica Neue", helvetica, arial, sans-serif;\n font-size: 0.8rem;\n background-color: #fff;\n color: #000;\n border: 1px solid #aeaeae;\n border-radius: 0.3rem;\n display: inline-block;\n position: relative;\n}\n\n.react-datepicker--time-only .react-datepicker__triangle {\n left: 35px;\n}\n.react-datepicker--time-only .react-datepicker__time-container {\n border-left: 0;\n}\n.react-datepicker--time-only .react-datepicker__time,\n.react-datepicker--time-only .react-datepicker__time-box {\n border-bottom-left-radius: 0.3rem;\n border-bottom-right-radius: 0.3rem;\n}\n\n.react-datepicker__triangle {\n position: absolute;\n left: 50px;\n}\n\n.react-datepicker-popper {\n z-index: 1;\n}\n.react-datepicker-popper[data-placement^=bottom] {\n padding-top: 10px;\n}\n.react-datepicker-popper[data-placement=bottom-end] .react-datepicker__triangle, .react-datepicker-popper[data-placement=top-end] .react-datepicker__triangle {\n left: auto;\n right: 50px;\n}\n.react-datepicker-popper[data-placement^=top] {\n padding-bottom: 10px;\n}\n.react-datepicker-popper[data-placement^=right] {\n padding-left: 8px;\n}\n.react-datepicker-popper[data-placement^=right] .react-datepicker__triangle {\n left: auto;\n right: 42px;\n}\n.react-datepicker-popper[data-placement^=left] {\n padding-right: 8px;\n}\n.react-datepicker-popper[data-placement^=left] .react-datepicker__triangle {\n left: 42px;\n right: auto;\n}\n\n.react-datepicker__header {\n text-align: center;\n background-color: #f0f0f0;\n border-bottom: 1px solid #aeaeae;\n border-top-left-radius: 0.3rem;\n padding: 8px 0;\n position: relative;\n}\n.react-datepicker__header--time {\n padding-bottom: 8px;\n padding-left: 5px;\n padding-right: 5px;\n}\n.react-datepicker__header--time:not(.react-datepicker__header--time--only) {\n border-top-left-radius: 0;\n}\n.react-datepicker__header:not(.react-datepicker__header--has-time-select) {\n border-top-right-radius: 0.3rem;\n}\n\n.react-datepicker__year-dropdown-container--select,\n.react-datepicker__month-dropdown-container--select,\n.react-datepicker__month-year-dropdown-container--select,\n.react-datepicker__year-dropdown-container--scroll,\n.react-datepicker__month-dropdown-container--scroll,\n.react-datepicker__month-year-dropdown-container--scroll {\n display: inline-block;\n margin: 0 15px;\n}\n\n.react-datepicker__current-month,\n.react-datepicker-time__header,\n.react-datepicker-year-header {\n margin-top: 0;\n color: #000;\n font-weight: bold;\n font-size: 0.944rem;\n}\n\n.react-datepicker-time__header {\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n}\n\n.react-datepicker__navigation {\n align-items: center;\n background: none;\n display: flex;\n justify-content: center;\n text-align: center;\n cursor: pointer;\n position: absolute;\n top: 2px;\n padding: 0;\n border: none;\n z-index: 1;\n height: 32px;\n width: 32px;\n text-indent: -999em;\n overflow: hidden;\n}\n.react-datepicker__navigation--previous {\n left: 2px;\n}\n.react-datepicker__navigation--next {\n right: 2px;\n}\n.react-datepicker__navigation--next--with-time:not(.react-datepicker__navigation--next--with-today-button) {\n right: 85px;\n}\n.react-datepicker__navigation--years {\n position: relative;\n top: 0;\n display: block;\n margin-left: auto;\n margin-right: auto;\n}\n.react-datepicker__navigation--years-previous {\n top: 4px;\n}\n.react-datepicker__navigation--years-upcoming {\n top: -4px;\n}\n.react-datepicker__navigation:hover *::before {\n border-color: #a6a6a6;\n}\n\n.react-datepicker__navigation-icon {\n position: relative;\n top: -1px;\n font-size: 20px;\n width: 0;\n}\n.react-datepicker__navigation-icon--next {\n left: -2px;\n}\n.react-datepicker__navigation-icon--next::before {\n transform: rotate(45deg);\n left: -7px;\n}\n.react-datepicker__navigation-icon--previous {\n right: -2px;\n}\n.react-datepicker__navigation-icon--previous::before {\n transform: rotate(225deg);\n right: -7px;\n}\n\n.react-datepicker__month-container {\n float: left;\n}\n\n.react-datepicker__year {\n margin: 0.4rem;\n text-align: center;\n}\n.react-datepicker__year-wrapper {\n display: flex;\n flex-wrap: wrap;\n max-width: 180px;\n}\n.react-datepicker__year .react-datepicker__year-text {\n display: inline-block;\n width: 4rem;\n margin: 2px;\n}\n\n.react-datepicker__month {\n margin: 0.4rem;\n text-align: center;\n}\n.react-datepicker__month .react-datepicker__month-text,\n.react-datepicker__month .react-datepicker__quarter-text {\n display: inline-block;\n width: 4rem;\n margin: 2px;\n}\n\n.react-datepicker__input-time-container {\n clear: both;\n width: 100%;\n float: left;\n margin: 5px 0 10px 15px;\n text-align: left;\n}\n.react-datepicker__input-time-container .react-datepicker-time__caption {\n display: inline-block;\n}\n.react-datepicker__input-time-container .react-datepicker-time__input-container {\n display: inline-block;\n}\n.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input {\n display: inline-block;\n margin-left: 10px;\n}\n.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input {\n width: auto;\n}\n.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-inner-spin-button,\n.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-outer-spin-button {\n -webkit-appearance: none;\n margin: 0;\n}\n.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time] {\n -moz-appearance: textfield;\n}\n.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__delimiter {\n margin-left: 5px;\n display: inline-block;\n}\n\n.react-datepicker__time-container {\n float: right;\n border-left: 1px solid #aeaeae;\n width: 85px;\n}\n.react-datepicker__time-container--with-today-button {\n display: inline;\n border: 1px solid #aeaeae;\n border-radius: 0.3rem;\n position: absolute;\n right: -87px;\n top: 0;\n}\n.react-datepicker__time-container .react-datepicker__time {\n position: relative;\n background: white;\n border-bottom-right-radius: 0.3rem;\n}\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box {\n width: 85px;\n overflow-x: hidden;\n margin: 0 auto;\n text-align: center;\n border-bottom-right-radius: 0.3rem;\n}\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list {\n list-style: none;\n margin: 0;\n height: calc(195px + 1.7rem / 2);\n overflow-y: scroll;\n padding-right: 0;\n padding-left: 0;\n width: 100%;\n box-sizing: content-box;\n}\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item {\n height: 30px;\n padding: 5px 10px;\n white-space: nowrap;\n}\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item:hover {\n cursor: pointer;\n background-color: #f0f0f0;\n}\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected {\n background-color: #216ba5;\n color: white;\n font-weight: bold;\n}\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected:hover {\n background-color: #216ba5;\n}\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled {\n color: #ccc;\n}\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled:hover {\n cursor: default;\n background-color: transparent;\n}\n\n.react-datepicker__week-number {\n color: #ccc;\n display: inline-block;\n width: 1.7rem;\n line-height: 1.7rem;\n text-align: center;\n margin: 0.166rem;\n}\n.react-datepicker__week-number.react-datepicker__week-number--clickable {\n cursor: pointer;\n}\n.react-datepicker__week-number.react-datepicker__week-number--clickable:not(.react-datepicker__week-number--selected,\n.react-datepicker__week-number--keyboard-selected):hover {\n border-radius: 0.3rem;\n background-color: #f0f0f0;\n}\n.react-datepicker__week-number--selected {\n border-radius: 0.3rem;\n background-color: #216ba5;\n color: #fff;\n}\n.react-datepicker__week-number--selected:hover {\n background-color: #1d5d90;\n}\n.react-datepicker__week-number--keyboard-selected {\n border-radius: 0.3rem;\n background-color: #2a87d0;\n color: #fff;\n}\n.react-datepicker__week-number--keyboard-selected:hover {\n background-color: #1d5d90;\n}\n\n.react-datepicker__day-names {\n white-space: nowrap;\n margin-bottom: -8px;\n}\n\n.react-datepicker__week {\n white-space: nowrap;\n}\n\n.react-datepicker__day-name,\n.react-datepicker__day,\n.react-datepicker__time-name {\n color: #000;\n display: inline-block;\n width: 1.7rem;\n line-height: 1.7rem;\n text-align: center;\n margin: 0.166rem;\n}\n\n.react-datepicker__day,\n.react-datepicker__month-text,\n.react-datepicker__quarter-text,\n.react-datepicker__year-text {\n cursor: pointer;\n}\n.react-datepicker__day:hover,\n.react-datepicker__month-text:hover,\n.react-datepicker__quarter-text:hover,\n.react-datepicker__year-text:hover {\n border-radius: 0.3rem;\n background-color: #f0f0f0;\n}\n.react-datepicker__day--today,\n.react-datepicker__month-text--today,\n.react-datepicker__quarter-text--today,\n.react-datepicker__year-text--today {\n font-weight: bold;\n}\n.react-datepicker__day--highlighted,\n.react-datepicker__month-text--highlighted,\n.react-datepicker__quarter-text--highlighted,\n.react-datepicker__year-text--highlighted {\n border-radius: 0.3rem;\n background-color: #3dcc4a;\n color: #fff;\n}\n.react-datepicker__day--highlighted:hover,\n.react-datepicker__month-text--highlighted:hover,\n.react-datepicker__quarter-text--highlighted:hover,\n.react-datepicker__year-text--highlighted:hover {\n background-color: #32be3f;\n}\n.react-datepicker__day--highlighted-custom-1,\n.react-datepicker__month-text--highlighted-custom-1,\n.react-datepicker__quarter-text--highlighted-custom-1,\n.react-datepicker__year-text--highlighted-custom-1 {\n color: magenta;\n}\n.react-datepicker__day--highlighted-custom-2,\n.react-datepicker__month-text--highlighted-custom-2,\n.react-datepicker__quarter-text--highlighted-custom-2,\n.react-datepicker__year-text--highlighted-custom-2 {\n color: green;\n}\n.react-datepicker__day--holidays,\n.react-datepicker__month-text--holidays,\n.react-datepicker__quarter-text--holidays,\n.react-datepicker__year-text--holidays {\n position: relative;\n border-radius: 0.3rem;\n background-color: #ff6803;\n color: #fff;\n}\n.react-datepicker__day--holidays .holiday-overlay,\n.react-datepicker__month-text--holidays .holiday-overlay,\n.react-datepicker__quarter-text--holidays .holiday-overlay,\n.react-datepicker__year-text--holidays .holiday-overlay {\n position: absolute;\n bottom: 100%;\n left: 50%;\n transform: translateX(-50%);\n background-color: #333;\n color: #fff;\n padding: 4px;\n border-radius: 4px;\n white-space: nowrap;\n visibility: hidden;\n opacity: 0;\n transition: visibility 0s, opacity 0.3s ease-in-out;\n}\n.react-datepicker__day--holidays:hover,\n.react-datepicker__month-text--holidays:hover,\n.react-datepicker__quarter-text--holidays:hover,\n.react-datepicker__year-text--holidays:hover {\n background-color: #cf5300;\n}\n.react-datepicker__day--holidays:hover .holiday-overlay,\n.react-datepicker__month-text--holidays:hover .holiday-overlay,\n.react-datepicker__quarter-text--holidays:hover .holiday-overlay,\n.react-datepicker__year-text--holidays:hover .holiday-overlay {\n visibility: visible;\n opacity: 1;\n}\n.react-datepicker__day--selected, .react-datepicker__day--in-selecting-range, .react-datepicker__day--in-range,\n.react-datepicker__month-text--selected,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__month-text--in-range,\n.react-datepicker__quarter-text--selected,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__quarter-text--in-range,\n.react-datepicker__year-text--selected,\n.react-datepicker__year-text--in-selecting-range,\n.react-datepicker__year-text--in-range {\n border-radius: 0.3rem;\n background-color: #216ba5;\n color: #fff;\n}\n.react-datepicker__day--selected:hover, .react-datepicker__day--in-selecting-range:hover, .react-datepicker__day--in-range:hover,\n.react-datepicker__month-text--selected:hover,\n.react-datepicker__month-text--in-selecting-range:hover,\n.react-datepicker__month-text--in-range:hover,\n.react-datepicker__quarter-text--selected:hover,\n.react-datepicker__quarter-text--in-selecting-range:hover,\n.react-datepicker__quarter-text--in-range:hover,\n.react-datepicker__year-text--selected:hover,\n.react-datepicker__year-text--in-selecting-range:hover,\n.react-datepicker__year-text--in-range:hover {\n background-color: #1d5d90;\n}\n.react-datepicker__day--keyboard-selected,\n.react-datepicker__month-text--keyboard-selected,\n.react-datepicker__quarter-text--keyboard-selected,\n.react-datepicker__year-text--keyboard-selected {\n border-radius: 0.3rem;\n background-color: #bad9f1;\n color: rgb(0, 0, 0);\n}\n.react-datepicker__day--keyboard-selected:hover,\n.react-datepicker__month-text--keyboard-selected:hover,\n.react-datepicker__quarter-text--keyboard-selected:hover,\n.react-datepicker__year-text--keyboard-selected:hover {\n background-color: #1d5d90;\n}\n.react-datepicker__day--in-selecting-range:not(.react-datepicker__day--in-range,\n.react-datepicker__month-text--in-range,\n.react-datepicker__quarter-text--in-range,\n.react-datepicker__year-text--in-range),\n.react-datepicker__month-text--in-selecting-range:not(.react-datepicker__day--in-range,\n.react-datepicker__month-text--in-range,\n.react-datepicker__quarter-text--in-range,\n.react-datepicker__year-text--in-range),\n.react-datepicker__quarter-text--in-selecting-range:not(.react-datepicker__day--in-range,\n.react-datepicker__month-text--in-range,\n.react-datepicker__quarter-text--in-range,\n.react-datepicker__year-text--in-range),\n.react-datepicker__year-text--in-selecting-range:not(.react-datepicker__day--in-range,\n.react-datepicker__month-text--in-range,\n.react-datepicker__quarter-text--in-range,\n.react-datepicker__year-text--in-range) {\n background-color: rgba(33, 107, 165, 0.5);\n}\n.react-datepicker__month--selecting-range .react-datepicker__day--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range), .react-datepicker__year--selecting-range .react-datepicker__day--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range),\n.react-datepicker__month--selecting-range .react-datepicker__month-text--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range),\n.react-datepicker__year--selecting-range .react-datepicker__month-text--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range),\n.react-datepicker__month--selecting-range .react-datepicker__quarter-text--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range),\n.react-datepicker__year--selecting-range .react-datepicker__quarter-text--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range),\n.react-datepicker__month--selecting-range .react-datepicker__year-text--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range),\n.react-datepicker__year--selecting-range .react-datepicker__year-text--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range) {\n background-color: #f0f0f0;\n color: #000;\n}\n.react-datepicker__day--disabled,\n.react-datepicker__month-text--disabled,\n.react-datepicker__quarter-text--disabled,\n.react-datepicker__year-text--disabled {\n cursor: default;\n color: #ccc;\n}\n.react-datepicker__day--disabled:hover,\n.react-datepicker__month-text--disabled:hover,\n.react-datepicker__quarter-text--disabled:hover,\n.react-datepicker__year-text--disabled:hover {\n background-color: transparent;\n}\n\n.react-datepicker__input-container {\n position: relative;\n display: inline-block;\n width: 100%;\n}\n.react-datepicker__input-container .react-datepicker__calendar-icon {\n position: absolute;\n padding: 0.5rem;\n box-sizing: content-box;\n}\n\n.react-datepicker__view-calendar-icon input {\n padding: 6px 10px 5px 25px;\n}\n\n.react-datepicker__year-read-view,\n.react-datepicker__month-read-view,\n.react-datepicker__month-year-read-view {\n border: 1px solid transparent;\n border-radius: 0.3rem;\n position: relative;\n}\n.react-datepicker__year-read-view:hover,\n.react-datepicker__month-read-view:hover,\n.react-datepicker__month-year-read-view:hover {\n cursor: pointer;\n}\n.react-datepicker__year-read-view:hover .react-datepicker__year-read-view--down-arrow,\n.react-datepicker__year-read-view:hover .react-datepicker__month-read-view--down-arrow,\n.react-datepicker__month-read-view:hover .react-datepicker__year-read-view--down-arrow,\n.react-datepicker__month-read-view:hover .react-datepicker__month-read-view--down-arrow,\n.react-datepicker__month-year-read-view:hover .react-datepicker__year-read-view--down-arrow,\n.react-datepicker__month-year-read-view:hover .react-datepicker__month-read-view--down-arrow {\n border-top-color: #b3b3b3;\n}\n.react-datepicker__year-read-view--down-arrow,\n.react-datepicker__month-read-view--down-arrow,\n.react-datepicker__month-year-read-view--down-arrow {\n transform: rotate(135deg);\n right: -16px;\n top: 0;\n}\n\n.react-datepicker__year-dropdown,\n.react-datepicker__month-dropdown,\n.react-datepicker__month-year-dropdown {\n background-color: #f0f0f0;\n position: absolute;\n width: 50%;\n left: 25%;\n top: 30px;\n z-index: 1;\n text-align: center;\n border-radius: 0.3rem;\n border: 1px solid #aeaeae;\n}\n.react-datepicker__year-dropdown:hover,\n.react-datepicker__month-dropdown:hover,\n.react-datepicker__month-year-dropdown:hover {\n cursor: pointer;\n}\n.react-datepicker__year-dropdown--scrollable,\n.react-datepicker__month-dropdown--scrollable,\n.react-datepicker__month-year-dropdown--scrollable {\n height: 150px;\n overflow-y: scroll;\n}\n\n.react-datepicker__year-option,\n.react-datepicker__month-option,\n.react-datepicker__month-year-option {\n line-height: 20px;\n width: 100%;\n display: block;\n margin-left: auto;\n margin-right: auto;\n}\n.react-datepicker__year-option:first-of-type,\n.react-datepicker__month-option:first-of-type,\n.react-datepicker__month-year-option:first-of-type {\n border-top-left-radius: 0.3rem;\n border-top-right-radius: 0.3rem;\n}\n.react-datepicker__year-option:last-of-type,\n.react-datepicker__month-option:last-of-type,\n.react-datepicker__month-year-option:last-of-type {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n border-bottom-left-radius: 0.3rem;\n border-bottom-right-radius: 0.3rem;\n}\n.react-datepicker__year-option:hover,\n.react-datepicker__month-option:hover,\n.react-datepicker__month-year-option:hover {\n background-color: #ccc;\n}\n.react-datepicker__year-option:hover .react-datepicker__navigation--years-upcoming,\n.react-datepicker__month-option:hover .react-datepicker__navigation--years-upcoming,\n.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-upcoming {\n border-bottom-color: #b3b3b3;\n}\n.react-datepicker__year-option:hover .react-datepicker__navigation--years-previous,\n.react-datepicker__month-option:hover .react-datepicker__navigation--years-previous,\n.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-previous {\n border-top-color: #b3b3b3;\n}\n.react-datepicker__year-option--selected,\n.react-datepicker__month-option--selected,\n.react-datepicker__month-year-option--selected {\n position: absolute;\n left: 15px;\n}\n\n.react-datepicker__close-icon {\n cursor: pointer;\n background-color: transparent;\n border: 0;\n outline: 0;\n padding: 0 6px 0 0;\n position: absolute;\n top: 0;\n right: 0;\n height: 100%;\n display: table-cell;\n vertical-align: middle;\n}\n.react-datepicker__close-icon::after {\n cursor: pointer;\n background-color: #216ba5;\n color: #fff;\n border-radius: 50%;\n height: 16px;\n width: 16px;\n padding: 2px;\n font-size: 12px;\n line-height: 1;\n text-align: center;\n display: table-cell;\n vertical-align: middle;\n content: "×";\n}\n.react-datepicker__close-icon--disabled {\n cursor: default;\n}\n.react-datepicker__close-icon--disabled::after {\n cursor: default;\n background-color: #ccc;\n}\n\n.react-datepicker__today-button {\n background: #f0f0f0;\n border-top: 1px solid #aeaeae;\n cursor: pointer;\n text-align: center;\n font-weight: bold;\n padding: 5px 0;\n clear: left;\n}\n\n.react-datepicker__portal {\n position: fixed;\n width: 100vw;\n height: 100vh;\n background-color: rgba(0, 0, 0, 0.8);\n left: 0;\n top: 0;\n justify-content: center;\n align-items: center;\n display: flex;\n z-index: 2147483647;\n}\n.react-datepicker__portal .react-datepicker__day-name,\n.react-datepicker__portal .react-datepicker__day,\n.react-datepicker__portal .react-datepicker__time-name {\n width: 3rem;\n line-height: 3rem;\n}\n@media (max-width: 400px), (max-height: 550px) {\n .react-datepicker__portal .react-datepicker__day-name,\n .react-datepicker__portal .react-datepicker__day,\n .react-datepicker__portal .react-datepicker__time-name {\n width: 2rem;\n line-height: 2rem;\n }\n}\n.react-datepicker__portal .react-datepicker__current-month,\n.react-datepicker__portal .react-datepicker-time__header {\n font-size: 1.44rem;\n}\n\n.react-datepicker__children-container {\n width: 13.8rem;\n margin: 0.4rem;\n padding-right: 0.2rem;\n padding-left: 0.2rem;\n height: auto;\n}\n\n.react-datepicker__aria-live {\n position: absolute;\n clip-path: circle(0);\n border: 0;\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n width: 1px;\n white-space: nowrap;\n}\n\n.react-datepicker__calendar-icon {\n width: 1em;\n height: 1em;\n vertical-align: -0.125em;\n}\n',""]);const s=i},6314:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r="",n=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),n&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),n&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r})).join("")},t.i=function(e,r,n,a,o){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(n)for(var s=0;s0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),r&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=r):u[2]=r),a&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=a):u[4]="".concat(a)),t.push(u))}},t}},1601:e=>{"use strict";e.exports=function(e){return e[1]}},4274:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function a(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}var o,i={date:a({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:a({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:a({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},s={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function c(e){return function(t,r){var n;if("formatting"===(null!=r&&r.context?String(r.context):"standalone")&&e.formattingValues){var a=e.defaultFormattingWidth||e.defaultWidth,o=null!=r&&r.width?String(r.width):a;n=e.formattingValues[o]||e.formattingValues[a]}else{var i=e.defaultWidth,s=null!=r&&r.width?String(r.width):e.defaultWidth;n=e.values[s]||e.values[i]}return n[e.argumentCallback?e.argumentCallback(t):t]}}function l(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.width,a=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],o=t.match(a);if(!o)return null;var i,s=o[0],c=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(c)?function(e){for(var t=0;t0?"in "+a:a+" ago":a},formatLong:i,formatRelative:function(e,t,r,n){return s[e]},localize:{ordinalNumber:function(e,t){var r=Number(e),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},era:c({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:c({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:c({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:c({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:c({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(o={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.match(o.matchPattern);if(!r)return null;var n=r[0],a=e.match(o.parsePattern);if(!a)return null;var i=o.valueCallback?o.valueCallback(a[0]):a[0];return{value:i=t.valueCallback?t.valueCallback(i):i,rest:e.slice(n.length)}}),era:l({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:l({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:l({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:l({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:l({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},1858:(e,t,r)=>{"use strict";r.d(t,{q:()=>a});var n={};function a(){return n}},1788:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=function(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},a=function(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}};const o={p:a,P:function(e,t){var r,o=e.match(/(P+)(p+)?/)||[],i=o[1],s=o[2];if(!s)return n(e,t);switch(i){case"P":r=t.dateTime({width:"short"});break;case"PP":r=t.dateTime({width:"medium"});break;case"PPP":r=t.dateTime({width:"long"});break;default:r=t.dateTime({width:"full"})}return r.replace("{{date}}",n(i,t)).replace("{{time}}",a(s,t))}}},7044:(e,t,r)=>{"use strict";function n(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}r.d(t,{A:()=>n})},1053:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n=r(123),a=r(9411),o=r(4127),i=r(551),s=6048e5;function c(e){(0,i.A)(1,arguments);var t=(0,n.default)(e),r=(0,a.A)(t).getTime()-function(e){(0,i.A)(1,arguments);var t=(0,o.A)(e),r=new Date(0);return r.setUTCFullYear(t,0,4),r.setUTCHours(0,0,0,0),(0,a.A)(r)}(t).getTime();return Math.round(r/s)+1}},4127:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(123),a=r(551),o=r(9411);function i(e){(0,a.A)(1,arguments);var t=(0,n.default)(e),r=t.getUTCFullYear(),i=new Date(0);i.setUTCFullYear(r+1,0,4),i.setUTCHours(0,0,0,0);var s=(0,o.A)(i),c=new Date(0);c.setUTCFullYear(r,0,4),c.setUTCHours(0,0,0,0);var l=(0,o.A)(c);return t.getTime()>=s.getTime()?r+1:t.getTime()>=l.getTime()?r:r-1}},6894:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n=r(123),a=r(9742),o=r(464),i=r(551),s=r(4188),c=r(1858),l=6048e5;function u(e,t){(0,i.A)(1,arguments);var r=(0,n.default)(e),u=(0,a.A)(r,t).getTime()-function(e,t){var r,n,l,u,d,p,f,h;(0,i.A)(1,arguments);var m=(0,c.q)(),v=(0,s.A)(null!==(r=null!==(n=null!==(l=null!==(u=null==t?void 0:t.firstWeekContainsDate)&&void 0!==u?u:null==t||null===(d=t.locale)||void 0===d||null===(p=d.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==l?l:m.firstWeekContainsDate)&&void 0!==n?n:null===(f=m.locale)||void 0===f||null===(h=f.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==r?r:1),g=(0,o.A)(e,t),y=new Date(0);return y.setUTCFullYear(g,0,v),y.setUTCHours(0,0,0,0),(0,a.A)(y,t)}(r,t).getTime();return Math.round(u/l)+1}},464:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n=r(123),a=r(551),o=r(9742),i=r(4188),s=r(1858);function c(e,t){var r,c,l,u,d,p,f,h;(0,a.A)(1,arguments);var m=(0,n.default)(e),v=m.getUTCFullYear(),g=(0,s.q)(),y=(0,i.A)(null!==(r=null!==(c=null!==(l=null!==(u=null==t?void 0:t.firstWeekContainsDate)&&void 0!==u?u:null==t||null===(d=t.locale)||void 0===d||null===(p=d.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==l?l:g.firstWeekContainsDate)&&void 0!==c?c:null===(f=g.locale)||void 0===f||null===(h=f.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==r?r:1);if(!(y>=1&&y<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var w=new Date(0);w.setUTCFullYear(v+1,0,y),w.setUTCHours(0,0,0,0);var k=(0,o.A)(w,t),b=new Date(0);b.setUTCFullYear(v,0,y),b.setUTCHours(0,0,0,0);var _=(0,o.A)(b,t);return m.getTime()>=k.getTime()?v+1:m.getTime()>=_.getTime()?v:v-1}},1109:(e,t,r)=>{"use strict";r.d(t,{ef:()=>o,lJ:()=>s,xM:()=>i});var n=["D","DD"],a=["YY","YYYY"];function o(e){return-1!==n.indexOf(e)}function i(e){return-1!==a.indexOf(e)}function s(e,t,r){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===e)throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===e)throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===e)throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}},551:(e,t,r)=>{"use strict";function n(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}r.d(t,{A:()=>n})},9411:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(123),a=r(551);function o(e){(0,a.A)(1,arguments);var t=(0,n.default)(e),r=t.getUTCDay(),o=(r<1?7:0)+r-1;return t.setUTCDate(t.getUTCDate()-o),t.setUTCHours(0,0,0,0),t}},9742:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(123),a=r(551),o=r(4188),i=r(1858);function s(e,t){var r,s,c,l,u,d,p,f;(0,a.A)(1,arguments);var h=(0,i.q)(),m=(0,o.A)(null!==(r=null!==(s=null!==(c=null!==(l=null==t?void 0:t.weekStartsOn)&&void 0!==l?l:null==t||null===(u=t.locale)||void 0===u||null===(d=u.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==c?c:h.weekStartsOn)&&void 0!==s?s:null===(p=h.locale)||void 0===p||null===(f=p.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==r?r:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var v=(0,n.default)(e),g=v.getUTCDay(),y=(g{"use strict";function n(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}r.d(t,{A:()=>n})},2998:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(4188),a=r(123),o=r(551);function i(e,t){(0,o.A)(2,arguments);var r=(0,a.default)(e),i=(0,n.A)(t);return isNaN(i)?new Date(NaN):i?(r.setDate(r.getDate()+i),r):r}},1524:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});var n=r(4188),a=r(7767),o=r(551),i=36e5;function s(e,t){(0,o.A)(2,arguments);var r=(0,n.A)(t);return(0,a.A)(e,r*i)}},7767:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(4188),a=r(123),o=r(551);function i(e,t){(0,o.A)(2,arguments);var r=(0,a.default)(e).getTime(),i=(0,n.A)(t);return new Date(r+i)}},2890:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});var n=r(4188),a=r(7767),o=r(551),i=6e4;function s(e,t){(0,o.A)(2,arguments);var r=(0,n.A)(t);return(0,a.A)(e,r*i)}},2118:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(4188),a=r(123),o=r(551);function i(e,t){(0,o.A)(2,arguments);var r=(0,a.default)(e),i=(0,n.A)(t);if(isNaN(i))return new Date(NaN);if(!i)return r;var s=r.getDate(),c=new Date(r.getTime());return c.setMonth(r.getMonth()+i+1,0),s>=c.getDate()?c:(r.setFullYear(c.getFullYear(),c.getMonth(),s),r)}},9852:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(4188),a=r(2118),o=r(551);function i(e,t){(0,o.A)(2,arguments);var r=3*(0,n.A)(t);return(0,a.default)(e,r)}},2238:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(4188),a=r(2998),o=r(551);function i(e,t){(0,o.A)(2,arguments);var r=7*(0,n.A)(t);return(0,a.default)(e,r)}},9317:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(4188),a=r(2118),o=r(551);function i(e,t){(0,o.A)(2,arguments);var r=(0,n.A)(t);return(0,a.default)(e,12*r)}},7499:(e,t,r)=>{"use strict";r.d(t,{Cg:()=>n,_m:()=>o,s0:()=>a}),Math.pow(10,8);var n=6e4,a=36e5,o=1e3},63:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});var n=r(7044),a=r(1127),o=r(551),i=864e5;function s(e,t){(0,o.A)(2,arguments);var r=(0,a.default)(e),s=(0,a.default)(t),c=r.getTime()-(0,n.A)(r),l=s.getTime()-(0,n.A)(s);return Math.round((c-l)/i)}},667:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(123),a=r(551);function o(e,t){(0,a.A)(2,arguments);var r=(0,n.default)(e),o=(0,n.default)(t);return 12*(r.getFullYear()-o.getFullYear())+(r.getMonth()-o.getMonth())}},2002:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(123),a=r(551);function o(e,t){(0,a.A)(2,arguments);var r=(0,n.default)(e),o=(0,n.default)(t);return r.getFullYear()-o.getFullYear()}},6212:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(123),a=r(551);function o(e){(0,a.A)(1,arguments);var t=(0,n.default)(e);return t.setHours(23,59,59,999),t}},9312:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(123),a=r(551);function o(e){(0,a.A)(1,arguments);var t=(0,n.default)(e),r=t.getMonth();return t.setFullYear(t.getFullYear(),r+1,0),t.setHours(23,59,59,999),t}},6462:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});var n=r(1858),a=r(123),o=r(4188),i=r(551);function s(e,t){var r,s,c,l,u,d,p,f;(0,i.A)(1,arguments);var h=(0,n.q)(),m=(0,o.A)(null!==(r=null!==(s=null!==(c=null!==(l=null==t?void 0:t.weekStartsOn)&&void 0!==l?l:null==t||null===(u=t.locale)||void 0===u||null===(d=u.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==c?c:h.weekStartsOn)&&void 0!==s?s:null===(p=h.locale)||void 0===p||null===(f=p.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==r?r:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var v=(0,a.default)(e),g=v.getDay(),y=6+(g{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(123),a=r(551);function o(e){(0,a.A)(1,arguments);var t=(0,n.default)(e),r=t.getFullYear();return t.setFullYear(r+1,0,0),t.setHours(23,59,59,999),t}},2346:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>I});var n=r(6828),a=r(5654),o=r(123),i=r(551),s=r(1053),c=r(4127),l=r(6894),u=r(464);function d(e,t){for(var r=e<0?"-":"",n=Math.abs(e).toString();n.length0?r:1-r;return d("yy"===t?n%100:n,t.length)},f=function(e,t){var r=e.getUTCMonth();return"M"===t?String(r+1):d(r+1,2)},h=function(e,t){return d(e.getUTCDate(),t.length)},m=function(e,t){return d(e.getUTCHours()%12||12,t.length)},v=function(e,t){return d(e.getUTCHours(),t.length)},g=function(e,t){return d(e.getUTCMinutes(),t.length)},y=function(e,t){return d(e.getUTCSeconds(),t.length)},w=function(e,t){var r=t.length,n=e.getUTCMilliseconds();return d(Math.floor(n*Math.pow(10,r-3)),t.length)};function k(e,t){var r=e>0?"-":"+",n=Math.abs(e),a=Math.floor(n/60),o=n%60;if(0===o)return r+String(a);var i=t||"";return r+String(a)+i+d(o,2)}function b(e,t){return e%60==0?(e>0?"-":"+")+d(Math.abs(e)/60,2):_(e,t)}function _(e,t){var r=t||"",n=e>0?"-":"+",a=Math.abs(e);return n+d(Math.floor(a/60),2)+r+d(a%60,2)}const D={G:function(e,t,r){var n=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});default:return r.era(n,{width:"wide"})}},y:function(e,t,r){if("yo"===t){var n=e.getUTCFullYear(),a=n>0?n:1-n;return r.ordinalNumber(a,{unit:"year"})}return p(e,t)},Y:function(e,t,r,n){var a=(0,u.A)(e,n),o=a>0?a:1-a;return"YY"===t?d(o%100,2):"Yo"===t?r.ordinalNumber(o,{unit:"year"}):d(o,t.length)},R:function(e,t){return d((0,c.A)(e),t.length)},u:function(e,t){return d(e.getUTCFullYear(),t.length)},Q:function(e,t,r){var n=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return d(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,t,r){var n=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return d(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,t,r){var n=e.getUTCMonth();switch(t){case"M":case"MM":return f(e,t);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(e,t,r){var n=e.getUTCMonth();switch(t){case"L":return String(n+1);case"LL":return d(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(e,t,r,n){var a=(0,l.A)(e,n);return"wo"===t?r.ordinalNumber(a,{unit:"week"}):d(a,t.length)},I:function(e,t,r){var n=(0,s.A)(e);return"Io"===t?r.ordinalNumber(n,{unit:"week"}):d(n,t.length)},d:function(e,t,r){return"do"===t?r.ordinalNumber(e.getUTCDate(),{unit:"date"}):h(e,t)},D:function(e,t,r){var n=function(e){(0,i.A)(1,arguments);var t=(0,o.default)(e),r=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var n=r-t.getTime();return Math.floor(n/864e5)+1}(e);return"Do"===t?r.ordinalNumber(n,{unit:"dayOfYear"}):d(n,t.length)},E:function(e,t,r){var n=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(e,t,r,n){var a=e.getUTCDay(),o=(a-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return d(o,2);case"eo":return r.ordinalNumber(o,{unit:"day"});case"eee":return r.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(a,{width:"short",context:"formatting"});default:return r.day(a,{width:"wide",context:"formatting"})}},c:function(e,t,r,n){var a=e.getUTCDay(),o=(a-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return d(o,t.length);case"co":return r.ordinalNumber(o,{unit:"day"});case"ccc":return r.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(a,{width:"narrow",context:"standalone"});case"cccccc":return r.day(a,{width:"short",context:"standalone"});default:return r.day(a,{width:"wide",context:"standalone"})}},i:function(e,t,r){var n=e.getUTCDay(),a=0===n?7:n;switch(t){case"i":return String(a);case"ii":return d(a,t.length);case"io":return r.ordinalNumber(a,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(e,t,r){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(e,t,r){var n,a=e.getUTCHours();switch(n=12===a?"noon":0===a?"midnight":a/12>=1?"pm":"am",t){case"b":case"bb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},B:function(e,t,r){var n,a=e.getUTCHours();switch(n=a>=17?"evening":a>=12?"afternoon":a>=4?"morning":"night",t){case"B":case"BB":case"BBB":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},h:function(e,t,r){if("ho"===t){var n=e.getUTCHours()%12;return 0===n&&(n=12),r.ordinalNumber(n,{unit:"hour"})}return m(e,t)},H:function(e,t,r){return"Ho"===t?r.ordinalNumber(e.getUTCHours(),{unit:"hour"}):v(e,t)},K:function(e,t,r){var n=e.getUTCHours()%12;return"Ko"===t?r.ordinalNumber(n,{unit:"hour"}):d(n,t.length)},k:function(e,t,r){var n=e.getUTCHours();return 0===n&&(n=24),"ko"===t?r.ordinalNumber(n,{unit:"hour"}):d(n,t.length)},m:function(e,t,r){return"mo"===t?r.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):g(e,t)},s:function(e,t,r){return"so"===t?r.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):y(e,t)},S:function(e,t){return w(e,t)},X:function(e,t,r,n){var a=(n._originalDate||e).getTimezoneOffset();if(0===a)return"Z";switch(t){case"X":return b(a);case"XXXX":case"XX":return _(a);default:return _(a,":")}},x:function(e,t,r,n){var a=(n._originalDate||e).getTimezoneOffset();switch(t){case"x":return b(a);case"xxxx":case"xx":return _(a);default:return _(a,":")}},O:function(e,t,r,n){var a=(n._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+k(a,":");default:return"GMT"+_(a,":")}},z:function(e,t,r,n){var a=(n._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+k(a,":");default:return"GMT"+_(a,":")}},t:function(e,t,r,n){var a=n._originalDate||e;return d(Math.floor(a.getTime()/1e3),t.length)},T:function(e,t,r,n){return d((n._originalDate||e).getTime(),t.length)}};var x=r(1788),C=r(7044),S=r(1109),T=r(4188),M=r(1858),E=r(4274),P=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,O=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,N=/^'([^]*?)'?$/,A=/''/g,Y=/[a-zA-Z]/;function I(e,t,r){var s,c,l,u,d,p,f,h,m,v,g,y,w,k,b,_,I,R;(0,i.A)(2,arguments);var L=String(t),F=(0,M.q)(),W=null!==(s=null!==(c=null==r?void 0:r.locale)&&void 0!==c?c:F.locale)&&void 0!==s?s:E.A,U=(0,T.A)(null!==(l=null!==(u=null!==(d=null!==(p=null==r?void 0:r.firstWeekContainsDate)&&void 0!==p?p:null==r||null===(f=r.locale)||void 0===f||null===(h=f.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==d?d:F.firstWeekContainsDate)&&void 0!==u?u:null===(m=F.locale)||void 0===m||null===(v=m.options)||void 0===v?void 0:v.firstWeekContainsDate)&&void 0!==l?l:1);if(!(U>=1&&U<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var H=(0,T.A)(null!==(g=null!==(y=null!==(w=null!==(k=null==r?void 0:r.weekStartsOn)&&void 0!==k?k:null==r||null===(b=r.locale)||void 0===b||null===(_=b.options)||void 0===_?void 0:_.weekStartsOn)&&void 0!==w?w:F.weekStartsOn)&&void 0!==y?y:null===(I=F.locale)||void 0===I||null===(R=I.options)||void 0===R?void 0:R.weekStartsOn)&&void 0!==g?g:0);if(!(H>=0&&H<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!W.localize)throw new RangeError("locale must contain localize property");if(!W.formatLong)throw new RangeError("locale must contain formatLong property");var j=(0,o.default)(e);if(!(0,n.default)(j))throw new RangeError("Invalid time value");var q=(0,C.A)(j),B=(0,a.A)(j,q),Q={firstWeekContainsDate:U,weekStartsOn:H,locale:W,_originalDate:j};return L.match(O).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,x.A[t])(e,W.formatLong):e})).join("").match(P).map((function(n){if("''"===n)return"'";var a,o,i=n[0];if("'"===i)return(o=(a=n).match(N))?o[1].replace(A,"'"):a;var s=D[i];if(s)return null!=r&&r.useAdditionalWeekYearTokens||!(0,S.xM)(n)||(0,S.lJ)(n,t,String(e)),null!=r&&r.useAdditionalDayOfYearTokens||!(0,S.ef)(n)||(0,S.lJ)(n,t,String(e)),s(B,n,W.localize,Q);if(i.match(Y))throw new RangeError("Format string contains an unescaped latin alphabet character `"+i+"`");return n})).join("")}},274:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(123),a=r(551);function o(e){return(0,a.A)(1,arguments),(0,n.default)(e).getDate()}},7512:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(123),a=r(551);function o(e){return(0,a.A)(1,arguments),(0,n.default)(e).getDay()}},8089:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(123),a=r(551);function o(e){return(0,a.A)(1,arguments),(0,n.default)(e).getHours()}},8850:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>c});var n=r(123),a=r(7827),o=r(551);function i(e){return(0,o.A)(1,arguments),(0,a.default)(e,{weekStartsOn:1})}var s=6048e5;function c(e){(0,o.A)(1,arguments);var t=(0,n.default)(e),r=i(t).getTime()-function(e){(0,o.A)(1,arguments);var t=function(e){(0,o.A)(1,arguments);var t=(0,n.default)(e),r=t.getFullYear(),a=new Date(0);a.setFullYear(r+1,0,4),a.setHours(0,0,0,0);var s=i(a),c=new Date(0);c.setFullYear(r,0,4),c.setHours(0,0,0,0);var l=i(c);return t.getTime()>=s.getTime()?r+1:t.getTime()>=l.getTime()?r:r-1}(e),r=new Date(0);return r.setFullYear(t,0,4),r.setHours(0,0,0,0),i(r)}(t).getTime();return Math.round(r/s)+1}},2563:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(123),a=r(551);function o(e){return(0,a.A)(1,arguments),(0,n.default)(e).getMinutes()}},2044:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(123),a=r(551);function o(e){return(0,a.A)(1,arguments),(0,n.default)(e).getMonth()}},4158:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(123),a=r(551);function o(e){(0,a.A)(1,arguments);var t=(0,n.default)(e);return Math.floor(t.getMonth()/3)+1}},9251:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(123),a=r(551);function o(e){return(0,a.A)(1,arguments),(0,n.default)(e).getSeconds()}},8519:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(123),a=r(551);function o(e){return(0,a.A)(1,arguments),(0,n.default)(e).getTime()}},2379:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(123),a=r(551);function o(e){return(0,a.A)(1,arguments),(0,n.default)(e).getFullYear()}},9672:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(123),a=r(551);function o(e,t){(0,a.A)(2,arguments);var r=(0,n.default)(e),o=(0,n.default)(t);return r.getTime()>o.getTime()}},7813:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(123),a=r(551);function o(e,t){(0,a.A)(2,arguments);var r=(0,n.default)(e),o=(0,n.default)(t);return r.getTime(){"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(2284),a=r(551);function o(e){return(0,a.A)(1,arguments),e instanceof Date||"object"===(0,n.A)(e)&&"[object Date]"===Object.prototype.toString.call(e)}},5010:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(123),a=r(551);function o(e,t){(0,a.A)(2,arguments);var r=(0,n.default)(e),o=(0,n.default)(t);return r.getTime()===o.getTime()}},1810:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(1127),a=r(551);function o(e,t){(0,a.A)(2,arguments);var r=(0,n.default)(e),o=(0,n.default)(t);return r.getTime()===o.getTime()}},2702:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(123),a=r(551);function o(e,t){(0,a.A)(2,arguments);var r=(0,n.default)(e),o=(0,n.default)(t);return r.getFullYear()===o.getFullYear()&&r.getMonth()===o.getMonth()}},992:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(6757),a=r(551);function o(e,t){(0,a.A)(2,arguments);var r=(0,n.default)(e),o=(0,n.default)(t);return r.getTime()===o.getTime()}},4125:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(123),a=r(551);function o(e,t){(0,a.A)(2,arguments);var r=(0,n.default)(e),o=(0,n.default)(t);return r.getFullYear()===o.getFullYear()}},6828:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(5290),a=r(123),o=r(551);function i(e){if((0,o.A)(1,arguments),!(0,n.default)(e)&&"number"!=typeof e)return!1;var t=(0,a.default)(e);return!isNaN(Number(t))}},3652:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(123),a=r(551);function o(e,t){(0,a.A)(2,arguments);var r=(0,n.default)(e).getTime(),o=(0,n.default)(t.start).getTime(),i=(0,n.default)(t.end).getTime();if(!(o<=i))throw new RangeError("Invalid interval");return r>=o&&r<=i}},7440:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(2284),a=r(123),o=r(551);function i(e){var t,r;if((0,o.A)(1,arguments),e&&"function"==typeof e.forEach)t=e;else{if("object"!==(0,n.A)(e)||null===e)return new Date(NaN);t=Array.prototype.slice.call(e)}return t.forEach((function(e){var t=(0,a.default)(e);(void 0===r||r{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(2284),a=r(123),o=r(551);function i(e){var t,r;if((0,o.A)(1,arguments),e&&"function"==typeof e.forEach)t=e;else{if("object"!==(0,n.A)(e)||null===e)return new Date(NaN);t=Array.prototype.slice.call(e)}return t.forEach((function(e){var t=(0,a.default)(e);(void 0===r||r>t||isNaN(t.getDate()))&&(r=t)})),r||new Date(NaN)}},804:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>nt});var n=r(2284);function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){c=!0,i=e},f:function(){try{s||null==r.return||r.return()}finally{if(c)throw i}}}}var i=r(4274),s=r(5654),c=r(123);function l(e,t){if(null==e)throw new TypeError("assign requires that input parameter not be null or undefined");for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}var u=r(1788),d=r(7044),p=r(1109),f=r(4188),h=r(551);function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e,t){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},v(e,t)}function g(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&v(e,t)}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}function w(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(w=function(){return!!e})()}function k(e){var t=w();return function(){var r,a=y(e);if(t){var o=y(this).constructor;r=Reflect.construct(a,arguments,o)}else r=a.apply(this,arguments);return function(e,t){if(t&&("object"==(0,n.A)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return m(e)}(this,r)}}function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _(e){var t=function(e){if("object"!=(0,n.A)(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=(0,n.A)(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==(0,n.A)(t)?t:t+""}function D(e,t){for(var r=0;r0,a=n?t:1-t;if(a<=50)r=e||100;else{var o=a+50;r=e+100*Math.floor(o/100)-(e>=o%100?100:0)}return n?r:1-r}function ue(e){return e%400==0||e%4==0&&e%100!=0}var de=function(e){g(r,e);var t=k(r);function r(){var e;b(this,r);for(var n=arguments.length,a=new Array(n),o=0;o0}},{key:"set",value:function(e,t,r){var n=e.getUTCFullYear();if(r.isTwoDigitYear){var a=le(r.year,n);return e.setUTCFullYear(a,0,1),e.setUTCHours(0,0,0,0),e}var o="era"in t&&1!==t.era?1-r.year:r.year;return e.setUTCFullYear(o,0,1),e.setUTCHours(0,0,0,0),e}}]),r}(E),pe=r(464),fe=r(9742),he=function(e){g(r,e);var t=k(r);function r(){var e;b(this,r);for(var n=arguments.length,a=new Array(n),o=0;o0}},{key:"set",value:function(e,t,r,n){var a=(0,pe.A)(e,n);if(r.isTwoDigitYear){var o=le(r.year,a);return e.setUTCFullYear(o,0,n.firstWeekContainsDate),e.setUTCHours(0,0,0,0),(0,fe.A)(e,n)}var i="era"in t&&1!==t.era?1-r.year:r.year;return e.setUTCFullYear(i,0,n.firstWeekContainsDate),e.setUTCHours(0,0,0,0),(0,fe.A)(e,n)}}]),r}(E),me=r(9411),ve=function(e){g(r,e);var t=k(r);function r(){var e;b(this,r);for(var n=arguments.length,a=new Array(n),o=0;o=1&&t<=4}},{key:"set",value:function(e,t,r){return e.setUTCMonth(3*(r-1),1),e.setUTCHours(0,0,0,0),e}}]),r}(E),we=function(e){g(r,e);var t=k(r);function r(){var e;b(this,r);for(var n=arguments.length,a=new Array(n),o=0;o=1&&t<=4}},{key:"set",value:function(e,t,r){return e.setUTCMonth(3*(r-1),1),e.setUTCHours(0,0,0,0),e}}]),r}(E),ke=function(e){g(r,e);var t=k(r);function r(){var e;b(this,r);for(var n=arguments.length,a=new Array(n),o=0;o=0&&t<=11}},{key:"set",value:function(e,t,r){return e.setUTCMonth(r,1),e.setUTCHours(0,0,0,0),e}}]),r}(E),be=function(e){g(r,e);var t=k(r);function r(){var e;b(this,r);for(var n=arguments.length,a=new Array(n),o=0;o=0&&t<=11}},{key:"set",value:function(e,t,r){return e.setUTCMonth(r,1),e.setUTCHours(0,0,0,0),e}}]),r}(E),_e=r(6894),De=function(e){g(r,e);var t=k(r);function r(){var e;b(this,r);for(var n=arguments.length,a=new Array(n),o=0;o=1&&t<=53}},{key:"set",value:function(e,t,r,n){return(0,fe.A)(function(e,t,r){(0,h.A)(2,arguments);var n=(0,c.default)(e),a=(0,f.A)(t),o=(0,_e.A)(n,r)-a;return n.setUTCDate(n.getUTCDate()-7*o),n}(e,r,n),n)}}]),r}(E),xe=r(1053),Ce=function(e){g(r,e);var t=k(r);function r(){var e;b(this,r);for(var n=arguments.length,a=new Array(n),o=0;o=1&&t<=53}},{key:"set",value:function(e,t,r){return(0,me.A)(function(e,t){(0,h.A)(2,arguments);var r=(0,c.default)(e),n=(0,f.A)(t),a=(0,xe.A)(r)-n;return r.setUTCDate(r.getUTCDate()-7*a),r}(e,r))}}]),r}(E),Se=[31,28,31,30,31,30,31,31,30,31,30,31],Te=[31,29,31,30,31,30,31,31,30,31,30,31],Me=function(e){g(r,e);var t=k(r);function r(){var e;b(this,r);for(var n=arguments.length,a=new Array(n),o=0;o=1&&t<=Te[n]:t>=1&&t<=Se[n]}},{key:"set",value:function(e,t,r){return e.setUTCDate(r),e.setUTCHours(0,0,0,0),e}}]),r}(E),Ee=function(e){g(r,e);var t=k(r);function r(){var e;b(this,r);for(var n=arguments.length,a=new Array(n),o=0;o=1&&t<=366:t>=1&&t<=365}},{key:"set",value:function(e,t,r){return e.setUTCMonth(0,r),e.setUTCHours(0,0,0,0),e}}]),r}(E),Pe=r(1858);function Oe(e,t,r){var n,a,o,i,s,l,u,d;(0,h.A)(2,arguments);var p=(0,Pe.q)(),m=(0,f.A)(null!==(n=null!==(a=null!==(o=null!==(i=null==r?void 0:r.weekStartsOn)&&void 0!==i?i:null==r||null===(s=r.locale)||void 0===s||null===(l=s.options)||void 0===l?void 0:l.weekStartsOn)&&void 0!==o?o:p.weekStartsOn)&&void 0!==a?a:null===(u=p.locale)||void 0===u||null===(d=u.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==n?n:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var v=(0,c.default)(e),g=(0,f.A)(t),y=((g%7+7)%7=0&&t<=6}},{key:"set",value:function(e,t,r,n){return(e=Oe(e,r,n)).setUTCHours(0,0,0,0),e}}]),r}(E),Ae=function(e){g(r,e);var t=k(r);function r(){var e;b(this,r);for(var n=arguments.length,a=new Array(n),o=0;o=0&&t<=6}},{key:"set",value:function(e,t,r,n){return(e=Oe(e,r,n)).setUTCHours(0,0,0,0),e}}]),r}(E),Ye=function(e){g(r,e);var t=k(r);function r(){var e;b(this,r);for(var n=arguments.length,a=new Array(n),o=0;o=0&&t<=6}},{key:"set",value:function(e,t,r,n){return(e=Oe(e,r,n)).setUTCHours(0,0,0,0),e}}]),r}(E),Ie=function(e){g(r,e);var t=k(r);function r(){var e;b(this,r);for(var n=arguments.length,a=new Array(n),o=0;o=1&&t<=7}},{key:"set",value:function(e,t,r){return e=function(e,t){(0,h.A)(2,arguments);var r=(0,f.A)(t);r%7==0&&(r-=7);var n=(0,c.default)(e),a=((r%7+7)%7<1?7:0)+r-n.getUTCDay();return n.setUTCDate(n.getUTCDate()+a),n}(e,r),e.setUTCHours(0,0,0,0),e}}]),r}(E),Re=function(e){g(r,e);var t=k(r);function r(){var e;b(this,r);for(var n=arguments.length,a=new Array(n),o=0;o=1&&t<=12}},{key:"set",value:function(e,t,r){var n=e.getUTCHours()>=12;return n&&r<12?e.setUTCHours(r+12,0,0,0):n||12!==r?e.setUTCHours(r,0,0,0):e.setUTCHours(0,0,0,0),e}}]),r}(E),Ue=function(e){g(r,e);var t=k(r);function r(){var e;b(this,r);for(var n=arguments.length,a=new Array(n),o=0;o=0&&t<=23}},{key:"set",value:function(e,t,r){return e.setUTCHours(r,0,0,0),e}}]),r}(E),He=function(e){g(r,e);var t=k(r);function r(){var e;b(this,r);for(var n=arguments.length,a=new Array(n),o=0;o=0&&t<=11}},{key:"set",value:function(e,t,r){return e.getUTCHours()>=12&&r<12?e.setUTCHours(r+12,0,0,0):e.setUTCHours(r,0,0,0),e}}]),r}(E),je=function(e){g(r,e);var t=k(r);function r(){var e;b(this,r);for(var n=arguments.length,a=new Array(n),o=0;o=1&&t<=24}},{key:"set",value:function(e,t,r){var n=r<=24?r%24:r;return e.setUTCHours(n,0,0,0),e}}]),r}(E),qe=function(e){g(r,e);var t=k(r);function r(){var e;b(this,r);for(var n=arguments.length,a=new Array(n),o=0;o=0&&t<=59}},{key:"set",value:function(e,t,r){return e.setUTCMinutes(r,0,0),e}}]),r}(E),Be=function(e){g(r,e);var t=k(r);function r(){var e;b(this,r);for(var n=arguments.length,a=new Array(n),o=0;o=0&&t<=59}},{key:"set",value:function(e,t,r){return e.setUTCSeconds(r,0),e}}]),r}(E),Qe=function(e){g(r,e);var t=k(r);function r(){var e;b(this,r);for(var n=arguments.length,a=new Array(n),o=0;o=1&&F<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var W=(0,f.A)(null!==(C=null!==(S=null!==(T=null!==(E=null==a?void 0:a.weekStartsOn)&&void 0!==E?E:null==a||null===(P=a.locale)||void 0===P||null===(O=P.options)||void 0===O?void 0:O.weekStartsOn)&&void 0!==T?T:R.weekStartsOn)&&void 0!==S?S:null===(N=R.locale)||void 0===N||null===(A=N.options)||void 0===A?void 0:A.weekStartsOn)&&void 0!==C?C:0);if(!(W>=0&&W<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===I)return""===Y?(0,c.default)(r):new Date(NaN);var U,H={firstWeekContainsDate:F,weekStartsOn:W,locale:L},j=[new M],q=I.match(Je).map((function(e){var t=e[0];return t in u.A?(0,u.A[t])(e,L.formatLong):e})).join("").match($e),B=[],Q=o(q);try{var K=function(){var t=U.value;null!=a&&a.useAdditionalWeekYearTokens||!(0,p.xM)(t)||(0,p.lJ)(t,I,e),null!=a&&a.useAdditionalDayOfYearTokens||!(0,p.ef)(t)||(0,p.lJ)(t,I,e);var r=t[0],n=Ge[r];if(n){var o=n.incompatibleTokens;if(Array.isArray(o)){var i=B.find((function(e){return o.includes(e.token)||e.token===r}));if(i)throw new RangeError("The format string mustn't contain `".concat(i.fullToken,"` and `").concat(t,"` at the same time"))}else if("*"===n.incompatibleTokens&&B.length>0)throw new RangeError("The format string mustn't contain `".concat(t,"` and any other token at the same time"));B.push({token:r,fullToken:t});var s=n.run(Y,t,L.match,H);if(!s)return{v:new Date(NaN)};j.push(s.setter),Y=s.rest}else{if(r.match(rt))throw new RangeError("Format string contains an unescaped latin alphabet character `"+r+"`");if("''"===t?t="'":"'"===r&&(t=t.match(Ze)[1].replace(et,"'")),0!==Y.indexOf(t))return{v:new Date(NaN)};Y=Y.slice(t.length)}};for(Q.s();!(U=Q.n()).done;){var V=K();if("object"===(0,n.A)(V))return V.v}}catch(e){Q.e(e)}finally{Q.f()}if(Y.length>0&&tt.test(Y))return new Date(NaN);var z=j.map((function(e){return e.priority})).sort((function(e,t){return t-e})).filter((function(e,t,r){return r.indexOf(e)===t})).map((function(e){return j.filter((function(t){return t.priority===e})).sort((function(e,t){return t.subPriority-e.subPriority}))})).map((function(e){return e[0]})),X=(0,c.default)(r);if(isNaN(X.getTime()))return new Date(NaN);var G,$=(0,s.A)(X,(0,d.A)(X)),J={},Z=o(z);try{for(Z.s();!(G=Z.n()).done;){var ee=G.value;if(!ee.validate($,H))return new Date(NaN);var te=ee.set($,J,H);Array.isArray(te)?($=te[0],l(J,te[1])):$=te}}catch(e){Z.e(e)}finally{Z.f()}return $}},1806:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(7499),a=r(551),o=r(4188);function i(e,t){var r;(0,a.A)(1,arguments);var i=(0,o.A)(null!==(r=null==t?void 0:t.additionalDigits)&&void 0!==r?r:2);if(2!==i&&1!==i&&0!==i)throw new RangeError("additionalDigits must be 0, 1 or 2");if("string"!=typeof e&&"[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);var m,v=function(e){var t,r={},n=e.split(s.dateTimeDelimiter);if(n.length>2)return r;if(/:/.test(n[0])?t=n[0]:(r.date=n[0],t=n[1],s.timeZoneDelimiter.test(r.date)&&(r.date=e.split(s.timeZoneDelimiter)[0],t=e.substr(r.date.length,e.length))),t){var a=s.timezone.exec(t);a?(r.time=t.replace(a[1],""),r.timezone=a[1]):r.time=t}return r}(e);if(v.date){var g=function(e,t){var r=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),n=e.match(r);if(!n)return{year:NaN,restDateString:""};var a=n[1]?parseInt(n[1]):null,o=n[2]?parseInt(n[2]):null;return{year:null===o?a:100*o,restDateString:e.slice((n[1]||n[2]).length)}}(v.date,i);m=function(e,t){if(null===t)return new Date(NaN);var r=e.match(c);if(!r)return new Date(NaN);var n=!!r[4],a=d(r[1]),o=d(r[2])-1,i=d(r[3]),s=d(r[4]),l=d(r[5])-1;if(n)return function(e,t,r){return t>=1&&t<=53&&r>=0&&r<=6}(0,s,l)?function(e,t,r){var n=new Date(0);n.setUTCFullYear(e,0,4);var a=7*(t-1)+r+1-(n.getUTCDay()||7);return n.setUTCDate(n.getUTCDate()+a),n}(t,s,l):new Date(NaN);var u=new Date(0);return function(e,t,r){return t>=0&&t<=11&&r>=1&&r<=(f[t]||(h(e)?29:28))}(t,o,i)&&function(e,t){return t>=1&&t<=(h(e)?366:365)}(t,a)?(u.setUTCFullYear(t,o,Math.max(a,i)),u):new Date(NaN)}(g.restDateString,g.year)}if(!m||isNaN(m.getTime()))return new Date(NaN);var y,w=m.getTime(),k=0;if(v.time&&(k=function(e){var t=e.match(l);if(!t)return NaN;var r=p(t[1]),a=p(t[2]),o=p(t[3]);return function(e,t,r){return 24===e?0===t&&0===r:r>=0&&r<60&&t>=0&&t<60&&e>=0&&e<25}(r,a,o)?r*n.s0+a*n.Cg+1e3*o:NaN}(v.time),isNaN(k)))return new Date(NaN);if(!v.timezone){var b=new Date(w+k),_=new Date(0);return _.setFullYear(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate()),_.setHours(b.getUTCHours(),b.getUTCMinutes(),b.getUTCSeconds(),b.getUTCMilliseconds()),_}return y=function(e){if("Z"===e)return 0;var t=e.match(u);if(!t)return 0;var r="+"===t[1]?-1:1,a=parseInt(t[2]),o=t[3]&&parseInt(t[3])||0;return function(e,t){return t>=0&&t<=59}(0,o)?r*(a*n.s0+o*n.Cg):NaN}(v.timezone),isNaN(y)?new Date(NaN):new Date(w+k+y)}var s={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},c=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,l=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,u=/^([+-])(\d{2})(?::?(\d{2}))?$/;function d(e){return e?parseInt(e):1}function p(e){return e&&parseFloat(e.replace(",","."))||0}var f=[31,null,31,30,31,30,31,31,30,31,30,31];function h(e){return e%400==0||e%4==0&&e%100!=0}},4074:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>c});var n=r(2284),a=r(123),o=r(1104),i=r(4188),s=r(551);function c(e,t){if((0,s.A)(2,arguments),"object"!==(0,n.A)(t)||null===t)throw new RangeError("values parameter must be an object");var r=(0,a.default)(e);return isNaN(r.getTime())?new Date(NaN):(null!=t.year&&r.setFullYear(t.year),null!=t.month&&(r=(0,o.default)(r,t.month)),null!=t.date&&r.setDate((0,i.A)(t.date)),null!=t.hours&&r.setHours((0,i.A)(t.hours)),null!=t.minutes&&r.setMinutes((0,i.A)(t.minutes)),null!=t.seconds&&r.setSeconds((0,i.A)(t.seconds)),null!=t.milliseconds&&r.setMilliseconds((0,i.A)(t.milliseconds)),r)}},7901:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(4188),a=r(123),o=r(551);function i(e,t){(0,o.A)(2,arguments);var r=(0,a.default)(e),i=(0,n.A)(t);return r.setHours(i),r}},7375:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(4188),a=r(123),o=r(551);function i(e,t){(0,o.A)(2,arguments);var r=(0,a.default)(e),i=(0,n.A)(t);return r.setMinutes(i),r}},1104:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(4188),a=r(123),o=r(551);function i(e,t){(0,o.A)(2,arguments);var r=(0,a.default)(e),i=(0,n.A)(t),s=r.getFullYear(),c=r.getDate(),l=new Date(0);l.setFullYear(s,i,15),l.setHours(0,0,0,0);var u=function(e){(0,o.A)(1,arguments);var t=(0,a.default)(e),r=t.getFullYear(),n=t.getMonth(),i=new Date(0);return i.setFullYear(r,n+1,0),i.setHours(0,0,0,0),i.getDate()}(l);return r.setMonth(i,Math.min(c,u)),r}},6090:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});var n=r(4188),a=r(123),o=r(1104),i=r(551);function s(e,t){(0,i.A)(2,arguments);var r=(0,a.default)(e),s=(0,n.A)(t)-(Math.floor(r.getMonth()/3)+1);return(0,o.default)(r,r.getMonth()+3*s)}},1591:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(4188),a=r(123),o=r(551);function i(e,t){(0,o.A)(2,arguments);var r=(0,a.default)(e),i=(0,n.A)(t);return r.setSeconds(i),r}},8895:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(4188),a=r(123),o=r(551);function i(e,t){(0,o.A)(2,arguments);var r=(0,a.default)(e),i=(0,n.A)(t);return isNaN(r.getTime())?new Date(NaN):(r.setFullYear(i),r)}},1127:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(123),a=r(551);function o(e){(0,a.A)(1,arguments);var t=(0,n.default)(e);return t.setHours(0,0,0,0),t}},543:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(123),a=r(551);function o(e){(0,a.A)(1,arguments);var t=(0,n.default)(e);return t.setDate(1),t.setHours(0,0,0,0),t}},6757:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(123),a=r(551);function o(e){(0,a.A)(1,arguments);var t=(0,n.default)(e),r=t.getMonth(),o=r-r%3;return t.setMonth(o,1),t.setHours(0,0,0,0),t}},7827:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});var n=r(123),a=r(4188),o=r(551),i=r(1858);function s(e,t){var r,s,c,l,u,d,p,f;(0,o.A)(1,arguments);var h=(0,i.q)(),m=(0,a.A)(null!==(r=null!==(s=null!==(c=null!==(l=null==t?void 0:t.weekStartsOn)&&void 0!==l?l:null==t||null===(u=t.locale)||void 0===u||null===(d=u.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==c?c:h.weekStartsOn)&&void 0!==s?s:null===(p=h.locale)||void 0===p||null===(f=p.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==r?r:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var v=(0,n.default)(e),g=v.getDay(),y=(g{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(123),a=r(551);function o(e){(0,a.A)(1,arguments);var t=(0,n.default)(e),r=new Date(0);return r.setFullYear(t.getFullYear(),0,1),r.setHours(0,0,0,0),r}},979:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(2998),a=r(551),o=r(4188);function i(e,t){(0,a.A)(2,arguments);var r=(0,o.A)(t);return(0,n.default)(e,-r)}},5654:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(7767),a=r(551),o=r(4188);function i(e,t){(0,a.A)(2,arguments);var r=(0,o.A)(t);return(0,n.A)(e,-r)}},4327:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(4188),a=r(2118),o=r(551);function i(e,t){(0,o.A)(2,arguments);var r=(0,n.A)(t);return(0,a.default)(e,-r)}},2657:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(4188),a=r(9852),o=r(551);function i(e,t){(0,o.A)(2,arguments);var r=(0,n.A)(t);return(0,a.default)(e,-r)}},3337:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(4188),a=r(2238),o=r(551);function i(e,t){(0,o.A)(2,arguments);var r=(0,n.A)(t);return(0,a.default)(e,-r)}},9326:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(4188),a=r(9317),o=r(551);function i(e,t){(0,o.A)(2,arguments);var r=(0,n.A)(t);return(0,a.default)(e,-r)}},123:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(2284),a=r(551);function o(e){(0,a.A)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===(0,n.A)(e)&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}},2694:(e,t,r)=>{"use strict";var n=r(6925);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,r,a,o,i){if(i!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return r.PropTypes=r,r}},5556:(e,t,r)=>{e.exports=r(2694)()},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9386:function(e,t,r){!function(e,t,r,n,a,o,i,s,c,l,u,d,p,f,h,m,v,g,y,w,k,b,_,D,x,C,S,T,M,E,P,O,N,A,Y,I,R,L,F,W,U,H,j,q,B,Q,K,V,z,X,G,$,J,Z,ee,te,re,ne,ae,oe,ie,se,ce,le){"use strict";function ue(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var de=ue(t),pe=ue(n),fe=ue(a),he=ue(o),me=ue(i),ve=ue(s),ge=ue(c),ye=ue(l),we=ue(u),ke=ue(d),be=ue(p),_e=ue(f),De=ue(h),xe=ue(m),Ce=ue(v),Se=ue(g),Te=ue(y),Me=ue(w),Ee=ue(k),Pe=ue(b),Oe=ue(_),Ne=ue(D),Ae=ue(x),Ye=ue(C),Ie=ue(S),Re=ue(T),Le=ue(M),Fe=ue(E),We=ue(P),Ue=ue(O),He=ue(N),je=ue(A),qe=ue(Y),Be=ue(I),Qe=ue(R),Ke=ue(L),Ve=ue(F),ze=ue(W),Xe=ue(U),Ge=ue(H),$e=ue(j),Je=ue(q),Ze=ue(B),et=ue(Q),tt=ue(V),rt=ue(z),nt=ue(X),at=ue(G),ot=ue($),it=ue(J),st=ue(Z),ct=ue(ee),lt=ue(te),ut=ue(re),dt=ue(ne),pt=ue(ae),ft=ue(oe),ht=ue(ie),mt=ue(se),vt=ue(le);function gt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function yt(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r1&&void 0!==arguments[1]?arguments[1]:{},r=t.minDate,n=t.maxDate,a=t.excludeDates,o=t.excludeDateIntervals,i=t.includeDates,s=t.includeDateIntervals,c=t.filterDate;return dr(e,{minDate:r,maxDate:n})||a&&a.some((function(t){return Gt(e,t)}))||o&&o.some((function(t){var r=t.start,n=t.end;return ut.default(e,{start:r,end:n})}))||i&&!i.some((function(t){return Gt(e,t)}))||s&&!s.some((function(t){var r=t.start,n=t.end;return ut.default(e,{start:r,end:n})}))||c&&!c(Lt(e))||!1}function ar(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.excludeDates,n=t.excludeDateIntervals;return n&&n.length>0?n.some((function(t){var r=t.start,n=t.end;return ut.default(e,{start:r,end:n})})):r&&r.some((function(t){return Gt(e,t)}))||!1}function or(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.minDate,n=t.maxDate,a=t.excludeDates,o=t.includeDates,i=t.filterDate;return dr(e,{minDate:$e.default(r),maxDate:tt.default(n)})||a&&a.some((function(t){return zt(e,t)}))||o&&!o.some((function(t){return zt(e,t)}))||i&&!i(Lt(e))||!1}function ir(e,t,r,n){var a=Re.default(e),o=Ye.default(e),i=Re.default(t),s=Ye.default(t),c=Re.default(n);return a===i&&a===c?o<=r&&r<=s:a=r||ca:void 0}function sr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.minDate,n=t.maxDate,a=t.excludeDates,o=t.includeDates,i=t.filterDate;return dr(e,{minDate:r,maxDate:n})||a&&a.some((function(t){return Xt(e,t)}))||o&&!o.some((function(t){return Xt(e,t)}))||i&&!i(Lt(e))||!1}function cr(e,t,r){if(!he.default(t)||!he.default(r))return!1;var n=Re.default(t),a=Re.default(r);return n<=e&&a>=e}function lr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.minDate,n=t.maxDate,a=t.excludeDates,o=t.includeDates,i=t.filterDate,s=new Date(e,0,1);return dr(s,{minDate:Ze.default(r),maxDate:rt.default(n)})||a&&a.some((function(e){return Vt(s,e)}))||o&&!o.some((function(e){return Vt(s,e)}))||i&&!i(Lt(s))||!1}function ur(e,t,r,n){var a=Re.default(e),o=Ie.default(e),i=Re.default(t),s=Ie.default(t),c=Re.default(n);return a===i&&a===c?o<=r&&r<=s:a=r||ca:void 0}function dr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.minDate,n=t.maxDate;return r&&Ke.default(e,r)<0||n&&Ke.default(e,n)>0}function pr(e,t){return t.some((function(t){return Pe.default(t)===Pe.default(e)&&Ee.default(t)===Ee.default(e)}))}function fr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.excludeTimes,n=t.includeTimes,a=t.filterTime;return r&&pr(e,r)||n&&!pr(e,n)||a&&!a(e)||!1}function hr(e,t){var r=t.minTime,n=t.maxTime;if(!r||!n)throw new Error("Both minTime and maxTime props required");var a,o=Lt(),i=Ue.default(We.default(o,Ee.default(e)),Pe.default(e)),s=Ue.default(We.default(o,Ee.default(r)),Pe.default(r)),c=Ue.default(We.default(o,Ee.default(n)),Pe.default(n));try{a=!ut.default(i,{start:s,end:c})}catch(e){a=!1}return a}function mr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.minDate,n=t.includeDates,a=Ce.default(e,1);return r&&Ve.default(r,a)>0||n&&n.every((function(e){return Ve.default(e,a)>0}))||!1}function vr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.maxDate,n=t.includeDates,a=ke.default(e,1);return r&&Ve.default(a,r)>0||n&&n.every((function(e){return Ve.default(a,e)>0}))||!1}function gr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.minDate,n=t.includeDates,a=Te.default(e,1);return r&&ze.default(r,a)>0||n&&n.every((function(e){return ze.default(e,a)>0}))||!1}function yr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.maxDate,n=t.includeDates,a=_e.default(e,1);return r&&ze.default(a,r)>0||n&&n.every((function(e){return ze.default(a,e)>0}))||!1}function wr(e){var t=e.minDate,r=e.includeDates;if(r&&t){var n=r.filter((function(e){return Ke.default(e,t)>=0}));return Be.default(n)}return r?Be.default(r):t}function kr(e){var t=e.maxDate,r=e.includeDates;if(r&&t){var n=r.filter((function(e){return Ke.default(e,t)<=0}));return Qe.default(n)}return r?Qe.default(r):t}function br(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"react-datepicker__day--highlighted",r=new Map,n=0,a=e.length;n0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"react-datepicker__day--holidays",r=new Map;return e.forEach((function(e){var n=e.date,a=e.holidayName;if(fe.default(n)){var o=Wt(n,"MM.dd.yyyy"),i=r.get(o)||{};if(!("className"in i)||i.className!==t||(s=i.holidayNames,c=[a],s.length!==c.length||!s.every((function(e,t){return e===c[t]})))){var s,c;i.className=t;var l=i.holidayNames;i.holidayNames=l?[].concat(Pt(l),[a]):[a],r.set(o,i)}}})),r}function Dr(e,t,r,n,a){for(var o=a.length,i=[],s=0;s1&&void 0!==arguments[1]?arguments[1]:12,r=Math.ceil(Re.default(e)/t)*t;return{startPeriod:r-(t-1),endPeriod:r}}function Sr(e){var t=e.getSeconds(),r=e.getMilliseconds();return dt.default(e.getTime()-1e3*t-r)}function Tr(e,t,r,n){for(var a=[],o=0;o<2*t+1;o++){var i=e+t-o,s=!0;r&&(s=Re.default(r)<=i),n&&s&&(s=Re.default(n)>=i),s&&a.push(i)}return a}var Mr=function(e){Ct(n,e);var r=Et(n);function n(e){var a;kt(this,n),Dt(Mt(a=r.call(this,e)),"renderOptions",(function(){var e=a.props.year,t=a.state.yearsList.map((function(t){return de.default.createElement("div",{className:e===t?"react-datepicker__year-option react-datepicker__year-option--selected_year":"react-datepicker__year-option",key:t,onClick:a.onChange.bind(Mt(a),t),"aria-selected":e===t?"true":void 0},e===t?de.default.createElement("span",{className:"react-datepicker__year-option--selected"},"✓"):"",t)})),r=a.props.minDate?Re.default(a.props.minDate):null,n=a.props.maxDate?Re.default(a.props.maxDate):null;return n&&a.state.yearsList.find((function(e){return e===n}))||t.unshift(de.default.createElement("div",{className:"react-datepicker__year-option",key:"upcoming",onClick:a.incrementYears},de.default.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-upcoming"}))),r&&a.state.yearsList.find((function(e){return e===r}))||t.push(de.default.createElement("div",{className:"react-datepicker__year-option",key:"previous",onClick:a.decrementYears},de.default.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-previous"}))),t})),Dt(Mt(a),"onChange",(function(e){a.props.onChange(e)})),Dt(Mt(a),"handleClickOutside",(function(){a.props.onCancel()})),Dt(Mt(a),"shiftYears",(function(e){var t=a.state.yearsList.map((function(t){return t+e}));a.setState({yearsList:t})})),Dt(Mt(a),"incrementYears",(function(){return a.shiftYears(1)})),Dt(Mt(a),"decrementYears",(function(){return a.shiftYears(-1)}));var o=e.yearDropdownItemNumber,i=e.scrollableYearDropdown,s=o||(i?10:5);return a.state={yearsList:Tr(a.props.year,s,a.props.minDate,a.props.maxDate)},a.dropdownRef=t.createRef(),a}return _t(n,[{key:"componentDidMount",value:function(){var e=this.dropdownRef.current;if(e){var t=e.children?Array.from(e.children):null,r=t?t.find((function(e){return e.ariaSelected})):null;e.scrollTop=r?r.offsetTop+(r.clientHeight-e.clientHeight)/2:(e.scrollHeight-e.clientHeight)/2}}},{key:"render",value:function(){var e=pe.default({"react-datepicker__year-dropdown":!0,"react-datepicker__year-dropdown--scrollable":this.props.scrollableYearDropdown});return de.default.createElement("div",{className:e,ref:this.dropdownRef},this.renderOptions())}}]),n}(de.default.Component),Er=ht.default(Mr),Pr=function(e){Ct(r,e);var t=Et(r);function r(){var e;kt(this,r);for(var n=arguments.length,a=new Array(n),o=0;o0?a.get(o).holidayNames.join(", "):""})),Dt(Mt(e),"getTabIndex",(function(t,r){var n=t||e.props.selected,a=r||e.props.preSelection;return(!e.props.showWeekPicker||!e.props.showWeekNumber&&e.isStartOfWeek())&&(e.isKeyboardSelected()||e.isSameDay(n)&&Gt(a,n))?0:-1})),Dt(Mt(e),"handleFocusDay",(function(){var t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=!1;0===e.getTabIndex()&&!r.isInputFocused&&e.isSameDay(e.props.preSelection)&&(document.activeElement&&document.activeElement!==document.body||(n=!0),e.props.inline&&!e.props.shouldFocusDayInline&&(n=!1),e.props.containerRef&&e.props.containerRef.current&&e.props.containerRef.current.contains(document.activeElement)&&document.activeElement.classList.contains("react-datepicker__day")&&(n=!0),e.props.monthShowsDuplicateDaysEnd&&e.isAfterMonth()&&(n=!1),e.props.monthShowsDuplicateDaysStart&&e.isBeforeMonth()&&(n=!1)),n&&(null===(t=e.dayEl.current)||void 0===t||t.focus({preventScroll:!0}))})),Dt(Mt(e),"renderDayContents",(function(){return e.props.monthShowsDuplicateDaysEnd&&e.isAfterMonth()||e.props.monthShowsDuplicateDaysStart&&e.isBeforeMonth()?null:e.props.renderDayContents?e.props.renderDayContents(Ne.default(e.props.day),e.props.day):Ne.default(e.props.day)})),Dt(Mt(e),"render",(function(){return de.default.createElement("div",{ref:e.dayEl,className:e.getClassNames(e.props.day),onKeyDown:e.handleOnKeyDown,onClick:e.handleClick,onMouseEnter:e.handleMouseEnter,tabIndex:e.getTabIndex(),"aria-label":e.getAriaLabel(),role:"option",title:e.getTitle(),"aria-disabled":e.isDisabled(),"aria-current":e.isCurrentDay()?"date":void 0,"aria-selected":e.isSelected()||e.isInRange()},e.renderDayContents(),""!==e.getTitle()&&de.default.createElement("span",{className:"holiday-overlay"},e.getTitle()))})),e}return _t(r,[{key:"componentDidMount",value:function(){this.handleFocusDay()}},{key:"componentDidUpdate",value:function(e){this.handleFocusDay(e)}}]),r}(de.default.Component),Wr=function(e){Ct(r,e);var t=Et(r);function r(){var e;kt(this,r);for(var n=arguments.length,a=new Array(n),o=0;o0&&void 0!==arguments[0]?arguments[0]:{},r=!1;0===e.getTabIndex()&&!t.isInputFocused&&Gt(e.props.date,e.props.preSelection)&&(document.activeElement&&document.activeElement!==document.body||(r=!0),e.props.inline&&!e.props.shouldFocusDayInline&&(r=!1),e.props.containerRef&&e.props.containerRef.current&&e.props.containerRef.current.contains(document.activeElement)&&document.activeElement&&document.activeElement.classList.contains("react-datepicker__week-number")&&(r=!0)),r&&e.weekNumberEl.current&&e.weekNumberEl.current.focus({preventScroll:!0})})),e}return _t(r,[{key:"componentDidMount",value:function(){this.handleFocusWeekNumber()}},{key:"componentDidUpdate",value:function(e){this.handleFocusWeekNumber(e)}},{key:"render",value:function(){var e=this.props,t=e.weekNumber,r=e.ariaLabelPrefix,n=void 0===r?"week ":r,a={"react-datepicker__week-number":!0,"react-datepicker__week-number--clickable":!!e.onClick,"react-datepicker__week-number--selected":Gt(this.props.date,this.props.selected),"react-datepicker__week-number--keyboard-selected":this.isKeyboardSelected()};return de.default.createElement("div",{ref:this.weekNumberEl,className:pe.default(a),"aria-label":"".concat(n," ").concat(this.props.weekNumber),onClick:this.handleClick,onKeyDown:this.handleOnKeyDown,tabIndex:this.getTabIndex()},t)}}],[{key:"defaultProps",get:function(){return{ariaLabelPrefix:"week "}}}]),r}(de.default.Component),Ur=function(e){Ct(r,e);var t=Et(r);function r(){var e;kt(this,r);for(var n=arguments.length,a=new Array(n),o=0;o=6,s=!r&&!e.isWeekInMonth(o);if(i||s){if(!e.props.peekNextMonth)break;a=!0}}return t})),Dt(Mt(e),"onMonthClick",(function(t,r){e.handleDayClick(qt(He.default(e.props.day,r)),t)})),Dt(Mt(e),"onMonthMouseEnter",(function(t){e.handleDayMouseEnter(qt(He.default(e.props.day,t)))})),Dt(Mt(e),"handleMonthNavigation",(function(t,r){e.isDisabled(r)||e.isExcluded(r)||(e.props.setPreSelection(r),e.MONTH_REFS[t].current&&e.MONTH_REFS[t].current.focus())})),Dt(Mt(e),"onMonthKeyDown",(function(t,r){var n=e.props,a=n.selected,o=n.preSelection,i=n.disabledKeyboardNavigation,s=n.showTwoColumnMonthYearPicker,c=n.showFourColumnMonthYearPicker,l=n.setPreSelection,u=t.key;if("Tab"!==u&&t.preventDefault(),!i){var d=Qr(c,s),p=Br[d].verticalNavigationOffset,f=Br[d].grid;switch(u){case"Enter":e.onMonthClick(t,r),l(a);break;case"ArrowRight":e.handleMonthNavigation(11===r?0:r+1,ke.default(o,1));break;case"ArrowLeft":e.handleMonthNavigation(0===r?11:r-1,Ce.default(o,1));break;case"ArrowUp":e.handleMonthNavigation(f[0].includes(r)?r+12-p:r-p,Ce.default(o,p));break;case"ArrowDown":e.handleMonthNavigation(f[f.length-1].includes(r)?r-12+p:r+p,ke.default(o,p))}}})),Dt(Mt(e),"onQuarterClick",(function(t,r){e.handleDayClick(Qt(je.default(e.props.day,r)),t)})),Dt(Mt(e),"onQuarterMouseEnter",(function(t){e.handleDayMouseEnter(Qt(je.default(e.props.day,t)))})),Dt(Mt(e),"handleQuarterNavigation",(function(t,r){e.isDisabled(r)||e.isExcluded(r)||(e.props.setPreSelection(r),e.QUARTER_REFS[t-1].current&&e.QUARTER_REFS[t-1].current.focus())})),Dt(Mt(e),"onQuarterKeyDown",(function(t,r){var n=t.key;if(!e.props.disabledKeyboardNavigation)switch(n){case"Enter":e.onQuarterClick(t,r),e.props.setPreSelection(e.props.selected);break;case"ArrowRight":e.handleQuarterNavigation(4===r?1:r+1,be.default(e.props.preSelection,1));break;case"ArrowLeft":e.handleQuarterNavigation(1===r?4:r-1,Se.default(e.props.preSelection,1))}})),Dt(Mt(e),"getMonthClassNames",(function(t){var r=e.props,n=r.day,a=r.startDate,o=r.endDate,i=r.selected,s=r.minDate,c=r.maxDate,l=r.preSelection,u=r.monthClassName,d=r.excludeDates,p=r.includeDates,f=u?u(He.default(n,t)):void 0,h=He.default(n,t);return pe.default("react-datepicker__month-text","react-datepicker__month-".concat(t),f,{"react-datepicker__month-text--disabled":(s||c||d||p)&&or(h,e.props),"react-datepicker__month-text--selected":e.isSelectedMonth(n,t,i),"react-datepicker__month-text--keyboard-selected":!e.props.disabledKeyboardNavigation&&Ye.default(l)===t,"react-datepicker__month-text--in-selecting-range":e.isInSelectingRangeMonth(t),"react-datepicker__month-text--in-range":ir(a,o,t,n),"react-datepicker__month-text--range-start":e.isRangeStartMonth(t),"react-datepicker__month-text--range-end":e.isRangeEndMonth(t),"react-datepicker__month-text--selecting-range-start":e.isSelectingMonthRangeStart(t),"react-datepicker__month-text--selecting-range-end":e.isSelectingMonthRangeEnd(t),"react-datepicker__month-text--today":e.isCurrentMonth(n,t)})})),Dt(Mt(e),"getTabIndex",(function(t){var r=Ye.default(e.props.preSelection);return e.props.disabledKeyboardNavigation||t!==r?"-1":"0"})),Dt(Mt(e),"getQuarterTabIndex",(function(t){var r=Ie.default(e.props.preSelection);return e.props.disabledKeyboardNavigation||t!==r?"-1":"0"})),Dt(Mt(e),"getAriaLabel",(function(t){var r=e.props,n=r.chooseDayAriaLabelPrefix,a=void 0===n?"Choose":n,o=r.disabledDayAriaLabelPrefix,i=void 0===o?"Not available":o,s=r.day,c=He.default(s,t),l=e.isDisabled(c)||e.isExcluded(c)?i:a;return"".concat(l," ").concat(Wt(c,"MMMM yyyy"))})),Dt(Mt(e),"getQuarterClassNames",(function(t){var r=e.props,n=r.day,a=r.startDate,o=r.endDate,i=r.selected,s=r.minDate,c=r.maxDate,l=r.preSelection,u=r.disabledKeyboardNavigation;return pe.default("react-datepicker__quarter-text","react-datepicker__quarter-".concat(t),{"react-datepicker__quarter-text--disabled":(s||c)&&sr(je.default(n,t),e.props),"react-datepicker__quarter-text--selected":e.isSelectedQuarter(n,t,i),"react-datepicker__quarter-text--keyboard-selected":!u&&Ie.default(l)===t,"react-datepicker__quarter-text--in-selecting-range":e.isInSelectingRangeQuarter(t),"react-datepicker__quarter-text--in-range":ur(a,o,t,n),"react-datepicker__quarter-text--range-start":e.isRangeStartQuarter(t),"react-datepicker__quarter-text--range-end":e.isRangeEndQuarter(t)})})),Dt(Mt(e),"getMonthContent",(function(t){var r=e.props,n=r.showFullMonthYearPicker,a=r.renderMonthContent,o=r.locale,i=r.day,s=rr(t,o),c=tr(t,o);return a?a(t,s,c,i):n?c:s})),Dt(Mt(e),"getQuarterContent",(function(t){var r=e.props,n=r.renderQuarterContent,a=function(e,t){return Wt(je.default(Lt(),e),"QQQ",t)}(t,r.locale);return n?n(t,a):a})),Dt(Mt(e),"renderMonths",(function(){var t=e.props,r=t.showTwoColumnMonthYearPicker,n=t.showFourColumnMonthYearPicker,a=t.day,o=t.selected;return Br[Qr(n,r)].grid.map((function(t,r){return de.default.createElement("div",{className:"react-datepicker__month-wrapper",key:r},t.map((function(t,r){return de.default.createElement("div",{ref:e.MONTH_REFS[t],key:r,onClick:function(r){e.onMonthClick(r,t)},onKeyDown:function(r){e.onMonthKeyDown(r,t)},onMouseEnter:function(){return e.onMonthMouseEnter(t)},tabIndex:e.getTabIndex(t),className:e.getMonthClassNames(t),role:"option","aria-label":e.getAriaLabel(t),"aria-current":e.isCurrentMonth(a,t)?"date":void 0,"aria-selected":e.isSelectedMonth(a,t,o)},e.getMonthContent(t))})))}))})),Dt(Mt(e),"renderQuarters",(function(){var t=e.props,r=t.day,n=t.selected;return de.default.createElement("div",{className:"react-datepicker__quarter-wrapper"},[1,2,3,4].map((function(t,a){return de.default.createElement("div",{key:a,ref:e.QUARTER_REFS[a],role:"option",onClick:function(r){e.onQuarterClick(r,t)},onKeyDown:function(r){e.onQuarterKeyDown(r,t)},onMouseEnter:function(){return e.onQuarterMouseEnter(t)},className:e.getQuarterClassNames(t),"aria-selected":e.isSelectedQuarter(r,t,n),tabIndex:e.getQuarterTabIndex(t),"aria-current":e.isCurrentQuarter(r,t)?"date":void 0},e.getQuarterContent(t))})))})),Dt(Mt(e),"getClassNames",(function(){var t=e.props,r=t.selectingDate,n=t.selectsStart,a=t.selectsEnd,o=t.showMonthYearPicker,i=t.showQuarterYearPicker,s=t.showWeekPicker;return pe.default("react-datepicker__month",{"react-datepicker__month--selecting-range":r&&(n||a)},{"react-datepicker__monthPicker":o},{"react-datepicker__quarterPicker":i},{"react-datepicker__weekPicker":s})})),e}return _t(r,[{key:"render",value:function(){var e=this.props,t=e.showMonthYearPicker,r=e.showQuarterYearPicker,n=e.day,a=e.ariaLabelPrefix,o=void 0===a?"month ":a;return de.default.createElement("div",{className:this.getClassNames(),onMouseLeave:this.handleMouseLeave,"aria-label":"".concat(o," ").concat(Wt(n,"yyyy-MM")),role:"listbox"},t?this.renderMonths():r?this.renderQuarters():this.renderWeeks())}}]),r}(de.default.Component),Vr=function(e){Ct(r,e);var t=Et(r);function r(){var e;kt(this,r);for(var n=arguments.length,a=new Array(n),o=0;o0&&void 0!==arguments[0]?arguments[0]:{}).className||"").split(/\s+/);return $r.some((function(t){return e.indexOf(t)>=0}))})(e.target)&&n.props.onDropdownFocus()})),Dt(Mt(n),"getDateInView",(function(){var e=n.props,t=e.preSelection,r=e.selected,a=e.openToDate,o=wr(n.props),i=kr(n.props),s=Lt();return a||r||t||(o&<.default(s,o)?o:i&&ct.default(s,i)?i:s)})),Dt(Mt(n),"increaseMonth",(function(){n.setState((function(e){var t=e.date;return{date:ke.default(t,1)}}),(function(){return n.handleMonthChange(n.state.date)}))})),Dt(Mt(n),"decreaseMonth",(function(){n.setState((function(e){var t=e.date;return{date:Ce.default(t,1)}}),(function(){return n.handleMonthChange(n.state.date)}))})),Dt(Mt(n),"handleDayClick",(function(e,t,r){n.props.onSelect(e,t,r),n.props.setPreSelection&&n.props.setPreSelection(e)})),Dt(Mt(n),"handleDayMouseEnter",(function(e){n.setState({selectingDate:e}),n.props.onDayMouseEnter&&n.props.onDayMouseEnter(e)})),Dt(Mt(n),"handleMonthMouseLeave",(function(){n.setState({selectingDate:null}),n.props.onMonthMouseLeave&&n.props.onMonthMouseLeave()})),Dt(Mt(n),"handleYearMouseEnter",(function(e,t){n.setState({selectingDate:qe.default(Lt(),t)}),n.props.onYearMouseEnter&&n.props.onYearMouseEnter(e,t)})),Dt(Mt(n),"handleYearMouseLeave",(function(e,t){n.props.onYearMouseLeave&&n.props.onYearMouseLeave(e,t)})),Dt(Mt(n),"handleYearChange",(function(e){n.props.onYearChange&&(n.props.onYearChange(e),n.setState({isRenderAriaLiveMessage:!0})),n.props.adjustDateOnChange&&(n.props.onSelect&&n.props.onSelect(e),n.props.setOpen&&n.props.setOpen(!0)),n.props.setPreSelection&&n.props.setPreSelection(e)})),Dt(Mt(n),"handleMonthChange",(function(e){n.handleCustomMonthChange(e),n.props.adjustDateOnChange&&(n.props.onSelect&&n.props.onSelect(e),n.props.setOpen&&n.props.setOpen(!0)),n.props.setPreSelection&&n.props.setPreSelection(e)})),Dt(Mt(n),"handleCustomMonthChange",(function(e){n.props.onMonthChange&&(n.props.onMonthChange(e),n.setState({isRenderAriaLiveMessage:!0}))})),Dt(Mt(n),"handleMonthYearChange",(function(e){n.handleYearChange(e),n.handleMonthChange(e)})),Dt(Mt(n),"changeYear",(function(e){n.setState((function(t){var r=t.date;return{date:qe.default(r,e)}}),(function(){return n.handleYearChange(n.state.date)}))})),Dt(Mt(n),"changeMonth",(function(e){n.setState((function(t){var r=t.date;return{date:He.default(r,e)}}),(function(){return n.handleMonthChange(n.state.date)}))})),Dt(Mt(n),"changeMonthYear",(function(e){n.setState((function(t){var r=t.date;return{date:qe.default(He.default(r,Ye.default(e)),Re.default(e))}}),(function(){return n.handleMonthYearChange(n.state.date)}))})),Dt(Mt(n),"header",(function(){var e=jt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.state.date,n.props.locale,n.props.calendarStartDay),t=[];return n.props.showWeekNumbers&&t.push(de.default.createElement("div",{key:"W",className:"react-datepicker__day-name"},n.props.weekLabel||"#")),t.concat([0,1,2,3,4,5,6].map((function(t){var r=ye.default(e,t),a=n.formatWeekday(r,n.props.locale),o=n.props.weekDayClassName?n.props.weekDayClassName(r):void 0;return de.default.createElement("div",{key:t,className:pe.default("react-datepicker__day-name",o)},a)})))})),Dt(Mt(n),"formatWeekday",(function(e,t){return n.props.formatWeekDay?function(e,t,r){return t(Wt(e,"EEEE",r))}(e,n.props.formatWeekDay,t):n.props.useWeekdaysShort?function(e,t){return Wt(e,"EEE",t)}(e,t):function(e,t){return Wt(e,"EEEEEE",t)}(e,t)})),Dt(Mt(n),"decreaseYear",(function(){n.setState((function(e){var t=e.date;return{date:Te.default(t,n.props.showYearPicker?n.props.yearItemNumber:1)}}),(function(){return n.handleYearChange(n.state.date)}))})),Dt(Mt(n),"clearSelectingDate",(function(){n.setState({selectingDate:null})})),Dt(Mt(n),"renderPreviousButton",(function(){if(!n.props.renderCustomHeader){var e;switch(!0){case n.props.showMonthYearPicker:e=gr(n.state.date,n.props);break;case n.props.showYearPicker:e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.minDate,n=t.yearItemNumber,a=void 0===n?12:n,o=Cr(Bt(Te.default(e,a)),a).endPeriod,i=r&&Re.default(r);return i&&i>o||!1}(n.state.date,n.props);break;default:e=mr(n.state.date,n.props)}if((n.props.forceShowMonthNavigation||n.props.showDisabledMonthNavigation||!e)&&!n.props.showTimeSelectOnly){var t=["react-datepicker__navigation","react-datepicker__navigation--previous"],r=n.decreaseMonth;(n.props.showMonthYearPicker||n.props.showQuarterYearPicker||n.props.showYearPicker)&&(r=n.decreaseYear),e&&n.props.showDisabledMonthNavigation&&(t.push("react-datepicker__navigation--previous--disabled"),r=null);var a=n.props.showMonthYearPicker||n.props.showQuarterYearPicker||n.props.showYearPicker,o=n.props,i=o.previousMonthButtonLabel,s=o.previousYearButtonLabel,c=n.props,l=c.previousMonthAriaLabel,u=void 0===l?"string"==typeof i?i:"Previous Month":l,d=c.previousYearAriaLabel,p=void 0===d?"string"==typeof s?s:"Previous Year":d;return de.default.createElement("button",{type:"button",className:t.join(" "),onClick:r,onKeyDown:n.props.handleOnKeyDown,"aria-label":a?p:u},de.default.createElement("span",{className:["react-datepicker__navigation-icon","react-datepicker__navigation-icon--previous"].join(" ")},a?n.props.previousYearButtonLabel:n.props.previousMonthButtonLabel))}}})),Dt(Mt(n),"increaseYear",(function(){n.setState((function(e){var t=e.date;return{date:_e.default(t,n.props.showYearPicker?n.props.yearItemNumber:1)}}),(function(){return n.handleYearChange(n.state.date)}))})),Dt(Mt(n),"renderNextButton",(function(){if(!n.props.renderCustomHeader){var e;switch(!0){case n.props.showMonthYearPicker:e=yr(n.state.date,n.props);break;case n.props.showYearPicker:e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.maxDate,n=t.yearItemNumber,a=void 0===n?12:n,o=Cr(_e.default(e,a),a).startPeriod,i=r&&Re.default(r);return i&&i0&&void 0!==arguments[0]?arguments[0]:n.state.date,t=["react-datepicker__current-month"];return n.props.showYearDropdown&&t.push("react-datepicker__current-month--hasYearDropdown"),n.props.showMonthDropdown&&t.push("react-datepicker__current-month--hasMonthDropdown"),n.props.showMonthYearDropdown&&t.push("react-datepicker__current-month--hasMonthYearDropdown"),de.default.createElement("div",{className:t.join(" ")},Wt(e,n.props.dateFormat,n.props.locale))})),Dt(Mt(n),"renderYearDropdown",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(n.props.showYearDropdown&&!e)return de.default.createElement(Pr,{adjustDateOnChange:n.props.adjustDateOnChange,date:n.state.date,onSelect:n.props.onSelect,setOpen:n.props.setOpen,dropdownMode:n.props.dropdownMode,onChange:n.changeYear,minDate:n.props.minDate,maxDate:n.props.maxDate,year:Re.default(n.state.date),scrollableYearDropdown:n.props.scrollableYearDropdown,yearDropdownItemNumber:n.props.yearDropdownItemNumber})})),Dt(Mt(n),"renderMonthDropdown",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(n.props.showMonthDropdown&&!e)return de.default.createElement(Ar,{dropdownMode:n.props.dropdownMode,locale:n.props.locale,onChange:n.changeMonth,month:Ye.default(n.state.date),useShortMonthInDropdown:n.props.useShortMonthInDropdown})})),Dt(Mt(n),"renderMonthYearDropdown",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(n.props.showMonthYearDropdown&&!e)return de.default.createElement(Lr,{dropdownMode:n.props.dropdownMode,locale:n.props.locale,dateFormat:n.props.dateFormat,onChange:n.changeMonthYear,minDate:n.props.minDate,maxDate:n.props.maxDate,date:n.state.date,scrollableMonthYearDropdown:n.props.scrollableMonthYearDropdown})})),Dt(Mt(n),"handleTodayButtonClick",(function(e){n.props.onSelect(Kt(),e),n.props.setPreSelection&&n.props.setPreSelection(Kt())})),Dt(Mt(n),"renderTodayButton",(function(){if(n.props.todayButton&&!n.props.showTimeSelectOnly)return de.default.createElement("div",{className:"react-datepicker__today-button",onClick:function(e){return n.handleTodayButtonClick(e)}},n.props.todayButton)})),Dt(Mt(n),"renderDefaultHeader",(function(e){var t=e.monthDate,r=e.i;return de.default.createElement("div",{className:"react-datepicker__header ".concat(n.props.showTimeSelect?"react-datepicker__header--has-time-select":"")},n.renderCurrentMonth(t),de.default.createElement("div",{className:"react-datepicker__header__dropdown react-datepicker__header__dropdown--".concat(n.props.dropdownMode),onFocus:n.handleDropdownFocus},n.renderMonthDropdown(0!==r),n.renderMonthYearDropdown(0!==r),n.renderYearDropdown(0!==r)),de.default.createElement("div",{className:"react-datepicker__day-names"},n.header(t)))})),Dt(Mt(n),"renderCustomHeader",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.monthDate,r=e.i;if(n.props.showTimeSelect&&!n.state.monthContainer||n.props.showTimeSelectOnly)return null;var a=mr(n.state.date,n.props),o=vr(n.state.date,n.props),i=gr(n.state.date,n.props),s=yr(n.state.date,n.props),c=!n.props.showMonthYearPicker&&!n.props.showQuarterYearPicker&&!n.props.showYearPicker;return de.default.createElement("div",{className:"react-datepicker__header react-datepicker__header--custom",onFocus:n.props.onDropdownFocus},n.props.renderCustomHeader(yt(yt({},n.state),{},{customHeaderCount:r,monthDate:t,changeMonth:n.changeMonth,changeYear:n.changeYear,decreaseMonth:n.decreaseMonth,increaseMonth:n.increaseMonth,decreaseYear:n.decreaseYear,increaseYear:n.increaseYear,prevMonthButtonDisabled:a,nextMonthButtonDisabled:o,prevYearButtonDisabled:i,nextYearButtonDisabled:s})),c&&de.default.createElement("div",{className:"react-datepicker__day-names"},n.header(t)))})),Dt(Mt(n),"renderYearHeader",(function(){var e=n.state.date,t=n.props,r=t.showYearPicker,a=Cr(e,t.yearItemNumber),o=a.startPeriod,i=a.endPeriod;return de.default.createElement("div",{className:"react-datepicker__header react-datepicker-year-header"},r?"".concat(o," - ").concat(i):Re.default(e))})),Dt(Mt(n),"renderHeader",(function(e){switch(!0){case void 0!==n.props.renderCustomHeader:return n.renderCustomHeader(e);case n.props.showMonthYearPicker||n.props.showQuarterYearPicker||n.props.showYearPicker:return n.renderYearHeader(e);default:return n.renderDefaultHeader(e)}})),Dt(Mt(n),"renderMonths",(function(){var e;if(!n.props.showTimeSelectOnly&&!n.props.showYearPicker){for(var t=[],r=n.props.showPreviousMonths?n.props.monthsShown-1:0,a=Ce.default(n.state.date,r),o=null!==(e=n.props.monthSelectedIn)&&void 0!==e?e:r,i=0;i0;t.push(de.default.createElement("div",{key:l,ref:function(e){n.monthContainer=e},className:"react-datepicker__month-container"},n.renderHeader({monthDate:c,i}),de.default.createElement(Kr,{chooseDayAriaLabelPrefix:n.props.chooseDayAriaLabelPrefix,disabledDayAriaLabelPrefix:n.props.disabledDayAriaLabelPrefix,weekAriaLabelPrefix:n.props.weekAriaLabelPrefix,ariaLabelPrefix:n.props.monthAriaLabelPrefix,onChange:n.changeMonthYear,day:c,dayClassName:n.props.dayClassName,calendarStartDay:n.props.calendarStartDay,monthClassName:n.props.monthClassName,onDayClick:n.handleDayClick,handleOnKeyDown:n.props.handleOnDayKeyDown,onDayMouseEnter:n.handleDayMouseEnter,onMouseLeave:n.handleMonthMouseLeave,onWeekSelect:n.props.onWeekSelect,orderInDisplay:i,formatWeekNumber:n.props.formatWeekNumber,locale:n.props.locale,minDate:n.props.minDate,maxDate:n.props.maxDate,excludeDates:n.props.excludeDates,excludeDateIntervals:n.props.excludeDateIntervals,highlightDates:n.props.highlightDates,holidays:n.props.holidays,selectingDate:n.state.selectingDate,includeDates:n.props.includeDates,includeDateIntervals:n.props.includeDateIntervals,inline:n.props.inline,shouldFocusDayInline:n.props.shouldFocusDayInline,fixedHeight:n.props.fixedHeight,filterDate:n.props.filterDate,preSelection:n.props.preSelection,setPreSelection:n.props.setPreSelection,selected:n.props.selected,selectsStart:n.props.selectsStart,selectsEnd:n.props.selectsEnd,selectsRange:n.props.selectsRange,selectsDisabledDaysInRange:n.props.selectsDisabledDaysInRange,showWeekNumbers:n.props.showWeekNumbers,startDate:n.props.startDate,endDate:n.props.endDate,peekNextMonth:n.props.peekNextMonth,setOpen:n.props.setOpen,shouldCloseOnSelect:n.props.shouldCloseOnSelect,renderDayContents:n.props.renderDayContents,renderMonthContent:n.props.renderMonthContent,renderQuarterContent:n.props.renderQuarterContent,renderYearContent:n.props.renderYearContent,disabledKeyboardNavigation:n.props.disabledKeyboardNavigation,showMonthYearPicker:n.props.showMonthYearPicker,showFullMonthYearPicker:n.props.showFullMonthYearPicker,showTwoColumnMonthYearPicker:n.props.showTwoColumnMonthYearPicker,showFourColumnMonthYearPicker:n.props.showFourColumnMonthYearPicker,showYearPicker:n.props.showYearPicker,showQuarterYearPicker:n.props.showQuarterYearPicker,showWeekPicker:n.props.showWeekPicker,isInputFocused:n.props.isInputFocused,containerRef:n.containerRef,monthShowsDuplicateDaysEnd:u,monthShowsDuplicateDaysStart:d})))}return t}})),Dt(Mt(n),"renderYears",(function(){if(!n.props.showTimeSelectOnly)return n.props.showYearPicker?de.default.createElement("div",{className:"react-datepicker__year--container"},n.renderHeader(),de.default.createElement(zr,xt({onDayClick:n.handleDayClick,selectingDate:n.state.selectingDate,clearSelectingDate:n.clearSelectingDate,date:n.state.date},n.props,{onYearMouseEnter:n.handleYearMouseEnter,onYearMouseLeave:n.handleYearMouseLeave}))):void 0})),Dt(Mt(n),"renderTimeSection",(function(){if(n.props.showTimeSelect&&(n.state.monthContainer||n.props.showTimeSelectOnly))return de.default.createElement(Vr,{selected:n.props.selected,openToDate:n.props.openToDate,onChange:n.props.onTimeChange,timeClassName:n.props.timeClassName,format:n.props.timeFormat,includeTimes:n.props.includeTimes,intervals:n.props.timeIntervals,minTime:n.props.minTime,maxTime:n.props.maxTime,excludeTimes:n.props.excludeTimes,filterTime:n.props.filterTime,timeCaption:n.props.timeCaption,todayButton:n.props.todayButton,showMonthDropdown:n.props.showMonthDropdown,showMonthYearDropdown:n.props.showMonthYearDropdown,showYearDropdown:n.props.showYearDropdown,withPortal:n.props.withPortal,monthRef:n.state.monthContainer,injectTimes:n.props.injectTimes,locale:n.props.locale,handleOnKeyDown:n.props.handleOnKeyDown,showTimeSelectOnly:n.props.showTimeSelectOnly})})),Dt(Mt(n),"renderInputTimeSection",(function(){var e=new Date(n.props.selected),t=Ft(e)&&Boolean(n.props.selected)?"".concat(xr(e.getHours()),":").concat(xr(e.getMinutes())):"";if(n.props.showTimeInput)return de.default.createElement(Xr,{date:e,timeString:t,timeInputLabel:n.props.timeInputLabel,onChange:n.props.onTimeChange,customTimeInput:n.props.customTimeInput})})),Dt(Mt(n),"renderAriaLiveRegion",(function(){var e,t=Cr(n.state.date,n.props.yearItemNumber),r=t.startPeriod,a=t.endPeriod;return e=n.props.showYearPicker?"".concat(r," - ").concat(a):n.props.showMonthYearPicker||n.props.showQuarterYearPicker?Re.default(n.state.date):"".concat(tr(Ye.default(n.state.date),n.props.locale)," ").concat(Re.default(n.state.date)),de.default.createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-live"},n.state.isRenderAriaLiveMessage&&e)})),Dt(Mt(n),"renderChildren",(function(){if(n.props.children)return de.default.createElement("div",{className:"react-datepicker__children-container"},n.props.children)})),n.containerRef=de.default.createRef(),n.state={date:n.getDateInView(),selectingDate:null,monthContainer:null,isRenderAriaLiveMessage:!1},n}return _t(r,[{key:"componentDidMount",value:function(){this.props.showTimeSelect&&(this.assignMonthContainer=void this.setState({monthContainer:this.monthContainer}))}},{key:"componentDidUpdate",value:function(e){var t=this;if(!this.props.preSelection||Gt(this.props.preSelection,e.preSelection)&&this.props.monthSelectedIn===e.monthSelectedIn)this.props.openToDate&&!Gt(this.props.openToDate,e.openToDate)&&this.setState({date:this.props.openToDate});else{var r=!zt(this.state.date,this.props.preSelection);this.setState({date:this.props.preSelection},(function(){return r&&t.handleCustomMonthChange(t.state.date)}))}}},{key:"render",value:function(){var e=this.props.container||Gr;return de.default.createElement("div",{style:{display:"contents"},ref:this.containerRef},de.default.createElement(e,{className:pe.default("react-datepicker",this.props.className,{"react-datepicker--time-only":this.props.showTimeSelectOnly}),showPopperArrow:this.props.showPopperArrow,arrowProps:this.props.arrowProps},this.renderAriaLiveRegion(),this.renderPreviousButton(),this.renderNextButton(),this.renderMonths(),this.renderYears(),this.renderTodayButton(),this.renderTimeSection(),this.renderInputTimeSection(),this.renderChildren()))}}],[{key:"defaultProps",get:function(){return{onDropdownFocus:function(){},monthsShown:1,forceShowMonthNavigation:!1,timeCaption:"Time",previousYearButtonLabel:"Previous Year",nextYearButtonLabel:"Next Year",previousMonthButtonLabel:"Previous Month",nextMonthButtonLabel:"Next Month",customTimeInput:null,yearItemNumber:12}}}]),r}(de.default.Component),Zr=function(e){var t=e.icon,r=e.className,n=void 0===r?"":r,a=e.onClick,o="react-datepicker__calendar-icon";return de.default.isValidElement(t)?de.default.cloneElement(t,{className:"".concat(t.props.className||""," ").concat(o," ").concat(n),onClick:function(e){"function"==typeof t.props.onClick&&t.props.onClick(e),"function"==typeof a&&a(e)}}):"string"==typeof t?de.default.createElement("i",{className:"".concat(o," ").concat(t," ").concat(n),"aria-hidden":"true",onClick:a}):de.default.createElement("svg",{className:"".concat(o," ").concat(n),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",onClick:a},de.default.createElement("path",{d:"M96 32V64H48C21.5 64 0 85.5 0 112v48H448V112c0-26.5-21.5-48-48-48H352V32c0-17.7-14.3-32-32-32s-32 14.3-32 32V64H160V32c0-17.7-14.3-32-32-32S96 14.3 96 32zM448 192H0V464c0 26.5 21.5 48 48 48H400c26.5 0 48-21.5 48-48V192z"}))},en=function(e){Ct(r,e);var t=Et(r);function r(e){var n;return kt(this,r),(n=t.call(this,e)).el=document.createElement("div"),n}return _t(r,[{key:"componentDidMount",value:function(){this.portalRoot=(this.props.portalHost||document).getElementById(this.props.portalId),this.portalRoot||(this.portalRoot=document.createElement("div"),this.portalRoot.setAttribute("id",this.props.portalId),(this.props.portalHost||document.body).appendChild(this.portalRoot)),this.portalRoot.appendChild(this.el)}},{key:"componentWillUnmount",value:function(){this.portalRoot.removeChild(this.el)}},{key:"render",value:function(){return mt.default.createPortal(this.props.children,this.el)}}]),r}(de.default.Component),tn=function(e){return!e.disabled&&-1!==e.tabIndex},rn=function(e){Ct(r,e);var t=Et(r);function r(e){var n;return kt(this,r),Dt(Mt(n=t.call(this,e)),"getTabChildren",(function(){return Array.prototype.slice.call(n.tabLoopRef.current.querySelectorAll("[tabindex], a, button, input, select, textarea"),1,-1).filter(tn)})),Dt(Mt(n),"handleFocusStart",(function(){var e=n.getTabChildren();e&&e.length>1&&e[e.length-1].focus()})),Dt(Mt(n),"handleFocusEnd",(function(){var e=n.getTabChildren();e&&e.length>1&&e[0].focus()})),n.tabLoopRef=de.default.createRef(),n}return _t(r,[{key:"render",value:function(){return this.props.enableTabLoop?de.default.createElement("div",{className:"react-datepicker__tab-loop",ref:this.tabLoopRef},de.default.createElement("div",{className:"react-datepicker__tab-loop__start",tabIndex:"0",onFocus:this.handleFocusStart}),this.props.children,de.default.createElement("div",{className:"react-datepicker__tab-loop__end",tabIndex:"0",onFocus:this.handleFocusEnd})):this.props.children}}],[{key:"defaultProps",get:function(){return{enableTabLoop:!0}}}]),r}(de.default.Component),nn=function(e){Ct(r,e);var t=Et(r);function r(){return kt(this,r),t.apply(this,arguments)}return _t(r,[{key:"render",value:function(){var e,t=this.props,r=t.className,n=t.wrapperClassName,a=t.hidePopper,o=t.popperComponent,i=t.popperModifiers,s=t.popperPlacement,c=t.popperProps,l=t.targetComponent,u=t.enableTabLoop,d=t.popperOnKeyDown,p=t.portalId,f=t.portalHost;if(!a){var h=pe.default("react-datepicker-popper",r);e=de.default.createElement(ce.Popper,xt({modifiers:i,placement:s},c),(function(e){var t=e.ref,r=e.style,n=e.placement,a=e.arrowProps;return de.default.createElement(rn,{enableTabLoop:u},de.default.createElement("div",{ref:t,style:r,className:h,"data-placement":n,onKeyDown:d},de.default.cloneElement(o,{arrowProps:a})))}))}this.props.popperContainer&&(e=de.default.createElement(this.props.popperContainer,{},e)),p&&!a&&(e=de.default.createElement(en,{portalId:p,portalHost:f},e));var m=pe.default("react-datepicker-wrapper",n);return de.default.createElement(ce.Manager,{className:"react-datepicker-manager"},de.default.createElement(ce.Reference,null,(function(e){var t=e.ref;return de.default.createElement("div",{ref:t,className:m},l)})),e)}}],[{key:"defaultProps",get:function(){return{hidePopper:!0,popperModifiers:[],popperProps:{},popperPlacement:"bottom-start"}}}]),r}(de.default.Component),an="react-datepicker-ignore-onclickoutside",on=ht.default(Jr),sn="Date input not valid.",cn=function(e){Ct(r,e);var t=Et(r);function r(e){var n;return kt(this,r),Dt(Mt(n=t.call(this,e)),"getPreSelection",(function(){return n.props.openToDate?n.props.openToDate:n.props.selectsEnd&&n.props.startDate?n.props.startDate:n.props.selectsStart&&n.props.endDate?n.props.endDate:Lt()})),Dt(Mt(n),"modifyHolidays",(function(){var e;return null===(e=n.props.holidays)||void 0===e?void 0:e.reduce((function(e,t){var r=new Date(t.date);return he.default(r)?[].concat(Pt(e),[yt(yt({},t),{},{date:r})]):e}),[])})),Dt(Mt(n),"calcInitialState",(function(){var e,t=n.getPreSelection(),r=wr(n.props),a=kr(n.props),o=r&<.default(t,Xe.default(r))?r:a&&ct.default(t,et.default(a))?a:t;return{open:n.props.startOpen||!1,preventFocus:!1,preSelection:null!==(e=n.props.selectsRange?n.props.startDate:n.props.selected)&&void 0!==e?e:o,highlightDates:br(n.props.highlightDates),focused:!1,shouldFocusDayInline:!1,isRenderAriaLiveMessage:!1}})),Dt(Mt(n),"clearPreventFocusTimeout",(function(){n.preventFocusTimeout&&clearTimeout(n.preventFocusTimeout)})),Dt(Mt(n),"setFocus",(function(){n.input&&n.input.focus&&n.input.focus({preventScroll:!0})})),Dt(Mt(n),"setBlur",(function(){n.input&&n.input.blur&&n.input.blur(),n.cancelFocusInput()})),Dt(Mt(n),"setOpen",(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];n.setState({open:e,preSelection:e&&n.state.open?n.state.preSelection:n.calcInitialState().preSelection,lastPreSelectChange:un},(function(){e||n.setState((function(e){return{focused:!!t&&e.focused}}),(function(){!t&&n.setBlur(),n.setState({inputValue:null})}))}))})),Dt(Mt(n),"inputOk",(function(){return fe.default(n.state.preSelection)})),Dt(Mt(n),"isCalendarOpen",(function(){return void 0===n.props.open?n.state.open&&!n.props.disabled&&!n.props.readOnly:n.props.open})),Dt(Mt(n),"handleFocus",(function(e){n.state.preventFocus||(n.props.onFocus(e),n.props.preventOpenOnFocus||n.props.readOnly||n.setOpen(!0)),n.setState({focused:!0})})),Dt(Mt(n),"sendFocusBackToInput",(function(){n.preventFocusTimeout&&n.clearPreventFocusTimeout(),n.setState({preventFocus:!0},(function(){n.preventFocusTimeout=setTimeout((function(){n.setFocus(),n.setState({preventFocus:!1})}))}))})),Dt(Mt(n),"cancelFocusInput",(function(){clearTimeout(n.inputFocusTimeout),n.inputFocusTimeout=null})),Dt(Mt(n),"deferFocusInput",(function(){n.cancelFocusInput(),n.inputFocusTimeout=setTimeout((function(){return n.setFocus()}),1)})),Dt(Mt(n),"handleDropdownFocus",(function(){n.cancelFocusInput()})),Dt(Mt(n),"handleBlur",(function(e){(!n.state.open||n.props.withPortal||n.props.showTimeInput)&&n.props.onBlur(e),n.setState({focused:!1})})),Dt(Mt(n),"handleCalendarClickOutside",(function(e){n.props.inline||n.setOpen(!1),n.props.onClickOutside(e),n.props.withPortal&&e.preventDefault()})),Dt(Mt(n),"handleChange",(function(){for(var e=arguments.length,t=new Array(e),r=0;r0&&(u=pt.default(o,i.slice(0,o.length),new Date)),Ft(u)||(u=new Date(o))),Ft(u)&&p?u:null));n.props.showTimeSelectOnly&&n.props.selected&&f&&!Gt(f,n.props.selected)&&(f=vt.default(n.props.selected,{hours:Pe.default(f),minutes:Ee.default(f),seconds:Me.default(f)})),!f&&a.target.value||(n.props.showWeekPicker&&(f=jt(f,n.props.locale,n.props.calendarStartDay)),n.setSelected(f,a,!0))}})),Dt(Mt(n),"handleSelect",(function(e,t,r){if(n.props.shouldCloseOnSelect&&!n.props.showTimeSelect&&n.sendFocusBackToInput(),n.props.onChangeRaw&&n.props.onChangeRaw(t),n.props.showWeekPicker&&(e=jt(e,n.props.locale,n.props.calendarStartDay)),n.setSelected(e,t,!1,r),n.props.showDateSelect&&n.setState({isRenderAriaLiveMessage:!0}),!n.props.shouldCloseOnSelect||n.props.showTimeSelect)n.setPreSelection(e);else if(!n.props.inline){n.props.selectsRange||n.setOpen(!1);var a=n.props,o=a.startDate,i=a.endDate;!o||i||lt.default(e,o)||n.setOpen(!1)}})),Dt(Mt(n),"setSelected",(function(e,t,r,a){var o=e;if(n.props.showYearPicker){if(null!==o&&lr(Re.default(o),n.props))return}else if(n.props.showMonthYearPicker){if(null!==o&&or(o,n.props))return}else if(null!==o&&nr(o,n.props))return;var i=n.props,s=i.onChange,c=i.selectsRange,l=i.startDate,u=i.endDate;if(!$t(n.props.selected,o)||n.props.allowSameDay||c)if(null!==o&&(!n.props.selected||r&&(n.props.showTimeSelect||n.props.showTimeSelectOnly||n.props.showTimeInput)||(o=Ht(o,{hour:Pe.default(n.props.selected),minute:Ee.default(n.props.selected),second:Me.default(n.props.selected)})),n.props.inline||n.setState({preSelection:o}),n.props.focusSelectedMonth||n.setState({monthSelectedIn:a})),c){var d=l&&u;l||u?l&&!u&&(lt.default(o,l)?s([o,null],t):s([l,o],t)):s([o,null],t),d&&s([o,null],t)}else s(o,t);r||(n.props.onSelect(o,t),n.setState({inputValue:null}))})),Dt(Mt(n),"setPreSelection",(function(e){var t=void 0!==n.props.minDate,r=void 0!==n.props.maxDate,a=!0;if(e){n.props.showWeekPicker&&(e=jt(e,n.props.locale,n.props.calendarStartDay));var o=Xe.default(e);if(t&&r)a=Jt(e,n.props.minDate,n.props.maxDate);else if(t){var i=Xe.default(n.props.minDate);a=ct.default(e,i)||$t(o,i)}else if(r){var s=et.default(n.props.maxDate);a=lt.default(e,s)||$t(o,s)}}a&&n.setState({preSelection:e})})),Dt(Mt(n),"toggleCalendar",(function(){n.setOpen(!n.state.open)})),Dt(Mt(n),"handleTimeChange",(function(e){var t=n.props.selected?n.props.selected:n.getPreSelection(),r=n.props.selected?e:Ht(t,{hour:Pe.default(e),minute:Ee.default(e)});n.setState({preSelection:r}),n.props.onChange(r),n.props.shouldCloseOnSelect&&(n.sendFocusBackToInput(),n.setOpen(!1)),n.props.showTimeInput&&n.setOpen(!0),(n.props.showTimeSelectOnly||n.props.showTimeSelect)&&n.setState({isRenderAriaLiveMessage:!0}),n.setState({inputValue:null})})),Dt(Mt(n),"onInputClick",(function(){n.props.disabled||n.props.readOnly||n.setOpen(!0),n.props.onInputClick()})),Dt(Mt(n),"onInputKeyDown",(function(e){n.props.onKeyDown(e);var t=e.key;if(n.state.open||n.props.inline||n.props.preventOpenOnFocus){if(n.state.open){if("ArrowDown"===t||"ArrowUp"===t){e.preventDefault();var r=n.props.showWeekPicker&&n.props.showWeekNumbers?'.react-datepicker__week-number[tabindex="0"]':'.react-datepicker__day[tabindex="0"]',a=n.calendar.componentNode&&n.calendar.componentNode.querySelector(r);return void(a&&a.focus({preventScroll:!0}))}var o=Lt(n.state.preSelection);"Enter"===t?(e.preventDefault(),n.inputOk()&&n.state.lastPreSelectChange===un?(n.handleSelect(o,e),!n.props.shouldCloseOnSelect&&n.setPreSelection(o)):n.setOpen(!1)):"Escape"===t?(e.preventDefault(),n.sendFocusBackToInput(),n.setOpen(!1)):"Tab"===t&&n.setOpen(!1),n.inputOk()||n.props.onInputError({code:1,msg:sn})}}else"ArrowDown"!==t&&"ArrowUp"!==t&&"Enter"!==t||n.onInputClick()})),Dt(Mt(n),"onPortalKeyDown",(function(e){"Escape"===e.key&&(e.preventDefault(),n.setState({preventFocus:!0},(function(){n.setOpen(!1),setTimeout((function(){n.setFocus(),n.setState({preventFocus:!1})}))})))})),Dt(Mt(n),"onDayKeyDown",(function(e){n.props.onKeyDown(e);var t=e.key,r=Lt(n.state.preSelection);if("Enter"===t)e.preventDefault(),n.handleSelect(r,e),!n.props.shouldCloseOnSelect&&n.setPreSelection(r);else if("Escape"===t)e.preventDefault(),n.setOpen(!1),n.inputOk()||n.props.onInputError({code:1,msg:sn});else if(!n.props.disabledKeyboardNavigation){var a;switch(t){case"ArrowLeft":a=n.props.showWeekPicker?xe.default(r,1):De.default(r,1);break;case"ArrowRight":a=n.props.showWeekPicker?we.default(r,1):ye.default(r,1);break;case"ArrowUp":a=xe.default(r,1);break;case"ArrowDown":a=we.default(r,1);break;case"PageUp":a=Ce.default(r,1);break;case"PageDown":a=ke.default(r,1);break;case"Home":a=Te.default(r,1);break;case"End":a=_e.default(r,1);break;default:a=null}if(!a)return void(n.props.onInputError&&n.props.onInputError({code:1,msg:sn}));if(e.preventDefault(),n.setState({lastPreSelectChange:un}),n.props.adjustDateOnChange&&n.setSelected(a),n.setPreSelection(a),n.props.inline){var o=Ye.default(r),i=Ye.default(a),s=Re.default(r),c=Re.default(a);o!==i||s!==c?n.setState({shouldFocusDayInline:!0}):n.setState({shouldFocusDayInline:!1})}}})),Dt(Mt(n),"onPopperKeyDown",(function(e){"Escape"===e.key&&(e.preventDefault(),n.sendFocusBackToInput())})),Dt(Mt(n),"onClearClick",(function(e){e&&e.preventDefault&&e.preventDefault(),n.sendFocusBackToInput(),n.props.selectsRange?n.props.onChange([null,null],e):n.props.onChange(null,e),n.setState({inputValue:null})})),Dt(Mt(n),"clear",(function(){n.onClearClick()})),Dt(Mt(n),"onScroll",(function(e){"boolean"==typeof n.props.closeOnScroll&&n.props.closeOnScroll?e.target!==document&&e.target!==document.documentElement&&e.target!==document.body||n.setOpen(!1):"function"==typeof n.props.closeOnScroll&&n.props.closeOnScroll(e)&&n.setOpen(!1)})),Dt(Mt(n),"renderCalendar",(function(){return n.props.inline||n.isCalendarOpen()?de.default.createElement(on,{ref:function(e){n.calendar=e},locale:n.props.locale,calendarStartDay:n.props.calendarStartDay,chooseDayAriaLabelPrefix:n.props.chooseDayAriaLabelPrefix,disabledDayAriaLabelPrefix:n.props.disabledDayAriaLabelPrefix,weekAriaLabelPrefix:n.props.weekAriaLabelPrefix,monthAriaLabelPrefix:n.props.monthAriaLabelPrefix,adjustDateOnChange:n.props.adjustDateOnChange,setOpen:n.setOpen,shouldCloseOnSelect:n.props.shouldCloseOnSelect,dateFormat:n.props.dateFormatCalendar,useWeekdaysShort:n.props.useWeekdaysShort,formatWeekDay:n.props.formatWeekDay,dropdownMode:n.props.dropdownMode,selected:n.props.selected,preSelection:n.state.preSelection,onSelect:n.handleSelect,onWeekSelect:n.props.onWeekSelect,openToDate:n.props.openToDate,minDate:n.props.minDate,maxDate:n.props.maxDate,selectsStart:n.props.selectsStart,selectsEnd:n.props.selectsEnd,selectsRange:n.props.selectsRange,startDate:n.props.startDate,endDate:n.props.endDate,excludeDates:n.props.excludeDates,excludeDateIntervals:n.props.excludeDateIntervals,filterDate:n.props.filterDate,onClickOutside:n.handleCalendarClickOutside,formatWeekNumber:n.props.formatWeekNumber,highlightDates:n.state.highlightDates,holidays:_r(n.modifyHolidays()),includeDates:n.props.includeDates,includeDateIntervals:n.props.includeDateIntervals,includeTimes:n.props.includeTimes,injectTimes:n.props.injectTimes,inline:n.props.inline,shouldFocusDayInline:n.state.shouldFocusDayInline,peekNextMonth:n.props.peekNextMonth,showMonthDropdown:n.props.showMonthDropdown,showPreviousMonths:n.props.showPreviousMonths,useShortMonthInDropdown:n.props.useShortMonthInDropdown,showMonthYearDropdown:n.props.showMonthYearDropdown,showWeekNumbers:n.props.showWeekNumbers,showYearDropdown:n.props.showYearDropdown,withPortal:n.props.withPortal,forceShowMonthNavigation:n.props.forceShowMonthNavigation,showDisabledMonthNavigation:n.props.showDisabledMonthNavigation,scrollableYearDropdown:n.props.scrollableYearDropdown,scrollableMonthYearDropdown:n.props.scrollableMonthYearDropdown,todayButton:n.props.todayButton,weekLabel:n.props.weekLabel,outsideClickIgnoreClass:an,fixedHeight:n.props.fixedHeight,monthsShown:n.props.monthsShown,monthSelectedIn:n.state.monthSelectedIn,onDropdownFocus:n.handleDropdownFocus,onMonthChange:n.props.onMonthChange,onYearChange:n.props.onYearChange,dayClassName:n.props.dayClassName,weekDayClassName:n.props.weekDayClassName,monthClassName:n.props.monthClassName,timeClassName:n.props.timeClassName,showDateSelect:n.props.showDateSelect,showTimeSelect:n.props.showTimeSelect,showTimeSelectOnly:n.props.showTimeSelectOnly,onTimeChange:n.handleTimeChange,timeFormat:n.props.timeFormat,timeIntervals:n.props.timeIntervals,minTime:n.props.minTime,maxTime:n.props.maxTime,excludeTimes:n.props.excludeTimes,filterTime:n.props.filterTime,timeCaption:n.props.timeCaption,className:n.props.calendarClassName,container:n.props.calendarContainer,yearItemNumber:n.props.yearItemNumber,yearDropdownItemNumber:n.props.yearDropdownItemNumber,previousMonthAriaLabel:n.props.previousMonthAriaLabel,previousMonthButtonLabel:n.props.previousMonthButtonLabel,nextMonthAriaLabel:n.props.nextMonthAriaLabel,nextMonthButtonLabel:n.props.nextMonthButtonLabel,previousYearAriaLabel:n.props.previousYearAriaLabel,previousYearButtonLabel:n.props.previousYearButtonLabel,nextYearAriaLabel:n.props.nextYearAriaLabel,nextYearButtonLabel:n.props.nextYearButtonLabel,timeInputLabel:n.props.timeInputLabel,disabledKeyboardNavigation:n.props.disabledKeyboardNavigation,renderCustomHeader:n.props.renderCustomHeader,popperProps:n.props.popperProps,renderDayContents:n.props.renderDayContents,renderMonthContent:n.props.renderMonthContent,renderQuarterContent:n.props.renderQuarterContent,renderYearContent:n.props.renderYearContent,onDayMouseEnter:n.props.onDayMouseEnter,onMonthMouseLeave:n.props.onMonthMouseLeave,onYearMouseEnter:n.props.onYearMouseEnter,onYearMouseLeave:n.props.onYearMouseLeave,selectsDisabledDaysInRange:n.props.selectsDisabledDaysInRange,showTimeInput:n.props.showTimeInput,showMonthYearPicker:n.props.showMonthYearPicker,showFullMonthYearPicker:n.props.showFullMonthYearPicker,showTwoColumnMonthYearPicker:n.props.showTwoColumnMonthYearPicker,showFourColumnMonthYearPicker:n.props.showFourColumnMonthYearPicker,showYearPicker:n.props.showYearPicker,showQuarterYearPicker:n.props.showQuarterYearPicker,showWeekPicker:n.props.showWeekPicker,showPopperArrow:n.props.showPopperArrow,excludeScrollbar:n.props.excludeScrollbar,handleOnKeyDown:n.props.onKeyDown,handleOnDayKeyDown:n.onDayKeyDown,isInputFocused:n.state.focused,customTimeInput:n.props.customTimeInput,setPreSelection:n.setPreSelection},n.props.children):null})),Dt(Mt(n),"renderAriaLiveRegion",(function(){var e,t=n.props,r=t.dateFormat,a=t.locale,o=n.props.showTimeInput||n.props.showTimeSelect?"PPPPp":"PPPP";return e=n.props.selectsRange?"Selected start date: ".concat(Ut(n.props.startDate,{dateFormat:o,locale:a}),". ").concat(n.props.endDate?"End date: "+Ut(n.props.endDate,{dateFormat:o,locale:a}):""):n.props.showTimeSelectOnly?"Selected time: ".concat(Ut(n.props.selected,{dateFormat:r,locale:a})):n.props.showYearPicker?"Selected year: ".concat(Ut(n.props.selected,{dateFormat:"yyyy",locale:a})):n.props.showMonthYearPicker?"Selected month: ".concat(Ut(n.props.selected,{dateFormat:"MMMM yyyy",locale:a})):n.props.showQuarterYearPicker?"Selected quarter: ".concat(Ut(n.props.selected,{dateFormat:"yyyy, QQQ",locale:a})):"Selected date: ".concat(Ut(n.props.selected,{dateFormat:o,locale:a})),de.default.createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-live"},e)})),Dt(Mt(n),"renderDateInput",(function(){var e,t=pe.default(n.props.className,Dt({},an,n.state.open)),r=n.props.customInput||de.default.createElement("input",{type:"text"}),a=n.props.customInputRef||"ref",o="string"==typeof n.props.value?n.props.value:"string"==typeof n.state.inputValue?n.state.inputValue:n.props.selectsRange?function(e,t,r){if(!e)return"";var n=Ut(e,r),a=t?Ut(t,r):"";return"".concat(n," - ").concat(a)}(n.props.startDate,n.props.endDate,n.props):Ut(n.props.selected,n.props);return de.default.cloneElement(r,(Dt(Dt(Dt(Dt(Dt(Dt(Dt(Dt(Dt(Dt(e={},a,(function(e){n.input=e})),"value",o),"onBlur",n.handleBlur),"onChange",n.handleChange),"onClick",n.onInputClick),"onFocus",n.handleFocus),"onKeyDown",n.onInputKeyDown),"id",n.props.id),"name",n.props.name),"form",n.props.form),Dt(Dt(Dt(Dt(Dt(Dt(Dt(Dt(Dt(Dt(e,"autoFocus",n.props.autoFocus),"placeholder",n.props.placeholderText),"disabled",n.props.disabled),"autoComplete",n.props.autoComplete),"className",pe.default(r.props.className,t)),"title",n.props.title),"readOnly",n.props.readOnly),"required",n.props.required),"tabIndex",n.props.tabIndex),"aria-describedby",n.props.ariaDescribedBy),Dt(Dt(Dt(e,"aria-invalid",n.props.ariaInvalid),"aria-labelledby",n.props.ariaLabelledBy),"aria-required",n.props.ariaRequired)))})),Dt(Mt(n),"renderClearButton",(function(){var e=n.props,t=e.isClearable,r=e.disabled,a=e.selected,o=e.startDate,i=e.endDate,s=e.clearButtonTitle,c=e.clearButtonClassName,l=void 0===c?"":c,u=e.ariaLabelClose,d=void 0===u?"Close":u;return!t||null==a&&null==o&&null==i?null:de.default.createElement("button",{type:"button",className:pe.default("react-datepicker__close-icon",l,{"react-datepicker__close-icon--disabled":r}),disabled:r,"aria-label":d,onClick:n.onClearClick,title:s,tabIndex:-1})})),n.state=n.calcInitialState(),n.preventFocusTimeout=null,n}return _t(r,[{key:"componentDidMount",value:function(){window.addEventListener("scroll",this.onScroll,!0)}},{key:"componentDidUpdate",value:function(e,t){var r,n;e.inline&&(r=e.selected,n=this.props.selected,r&&n?Ye.default(r)!==Ye.default(n)||Re.default(r)!==Re.default(n):r!==n)&&this.setPreSelection(this.props.selected),void 0!==this.state.monthSelectedIn&&e.monthsShown!==this.props.monthsShown&&this.setState({monthSelectedIn:0}),e.highlightDates!==this.props.highlightDates&&this.setState({highlightDates:br(this.props.highlightDates)}),t.focused||$t(e.selected,this.props.selected)||this.setState({inputValue:null}),t.open!==this.state.open&&(!1===t.open&&!0===this.state.open&&this.props.onCalendarOpen(),!0===t.open&&!1===this.state.open&&this.props.onCalendarClose())}},{key:"componentWillUnmount",value:function(){this.clearPreventFocusTimeout(),window.removeEventListener("scroll",this.onScroll,!0)}},{key:"renderInputContainer",value:function(){var e=this.props,t=e.showIcon,r=e.icon,n=e.calendarIconClassname,a=e.toggleCalendarOnIconClick,o=this.state.open;return de.default.createElement("div",{className:"react-datepicker__input-container".concat(t?" react-datepicker__view-calendar-icon":"")},t&&de.default.createElement(Zr,xt({icon:r,className:"".concat(n," ").concat(o&&"react-datepicker-ignore-onclickoutside")},a?{onClick:this.toggleCalendar}:null)),this.state.isRenderAriaLiveMessage&&this.renderAriaLiveRegion(),this.renderDateInput(),this.renderClearButton())}},{key:"render",value:function(){var e=this.renderCalendar();if(this.props.inline)return e;if(this.props.withPortal){var t=this.state.open?de.default.createElement(rn,{enableTabLoop:this.props.enableTabLoop},de.default.createElement("div",{className:"react-datepicker__portal",tabIndex:-1,onKeyDown:this.onPortalKeyDown},e)):null;return this.state.open&&this.props.portalId&&(t=de.default.createElement(en,{portalId:this.props.portalId,portalHost:this.props.portalHost},t)),de.default.createElement("div",null,this.renderInputContainer(),t)}return de.default.createElement(nn,{className:this.props.popperClassName,wrapperClassName:this.props.wrapperClassName,hidePopper:!this.isCalendarOpen(),portalId:this.props.portalId,portalHost:this.props.portalHost,popperModifiers:this.props.popperModifiers,targetComponent:this.renderInputContainer(),popperContainer:this.props.popperContainer,popperComponent:e,popperPlacement:this.props.popperPlacement,popperProps:this.props.popperProps,popperOnKeyDown:this.onPopperKeyDown,enableTabLoop:this.props.enableTabLoop})}}],[{key:"defaultProps",get:function(){return{allowSameDay:!1,dateFormat:"MM/dd/yyyy",dateFormatCalendar:"LLLL yyyy",onChange:function(){},disabled:!1,disabledKeyboardNavigation:!1,dropdownMode:"scroll",onFocus:function(){},onBlur:function(){},onKeyDown:function(){},onInputClick:function(){},onSelect:function(){},onClickOutside:function(){},onMonthChange:function(){},onCalendarOpen:function(){},onCalendarClose:function(){},preventOpenOnFocus:!1,onYearChange:function(){},onInputError:function(){},monthsShown:1,readOnly:!1,withPortal:!1,selectsDisabledDaysInRange:!1,shouldCloseOnSelect:!0,showTimeSelect:!1,showTimeInput:!1,showPreviousMonths:!1,showMonthYearPicker:!1,showFullMonthYearPicker:!1,showTwoColumnMonthYearPicker:!1,showFourColumnMonthYearPicker:!1,showYearPicker:!1,showQuarterYearPicker:!1,showWeekPicker:!1,strictParsing:!1,timeIntervals:30,timeCaption:"Time",previousMonthAriaLabel:"Previous Month",previousMonthButtonLabel:"Previous Month",nextMonthAriaLabel:"Next Month",nextMonthButtonLabel:"Next Month",previousYearAriaLabel:"Previous Year",previousYearButtonLabel:"Previous Year",nextYearAriaLabel:"Next Year",nextYearButtonLabel:"Next Year",timeInputLabel:"Time",enableTabLoop:!0,yearItemNumber:12,focusSelectedMonth:!1,showPopperArrow:!0,excludeScrollbar:!0,customTimeInput:null,calendarStartDay:void 0,toggleCalendarOnIconClick:!1}}}]),r}(de.default.Component),ln="input",un="navigate";e.CalendarContainer=Gr,e.default=cn,e.getDefaultLocale=Zt,e.registerLocale=function(e,t){var r="undefined"!=typeof window?window:globalThis;r.__localeData__||(r.__localeData__={}),r.__localeData__[e]=t},e.setDefaultLocale=function(e){("undefined"!=typeof window?window:globalThis).__localeId__=e},Object.defineProperty(e,"__esModule",{value:!0})}(t,r(1609),r(5556),r(6942),r(5290),r(6828),r(2346),r(2890),r(1524),r(2998),r(2238),r(2118),r(9852),r(9317),r(979),r(3337),r(4327),r(2657),r(9326),r(9251),r(2563),r(8089),r(7512),r(274),r(8850),r(2044),r(4158),r(2379),r(8519),r(1591),r(7375),r(7901),r(1104),r(6090),r(8895),r(838),r(7440),r(63),r(667),r(2002),r(1127),r(7827),r(543),r(6757),r(7054),r(6212),r(6462),r(9312),r(3039),r(5010),r(1810),r(2702),r(4125),r(992),r(9672),r(7813),r(3652),r(123),r(804),r(1806),r(3908),r(5795),r(2430),r(4074))},115:e=>{var t="undefined"!=typeof Element,r="function"==typeof Map,n="function"==typeof Set,a="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){if(e.constructor!==i.constructor)return!1;var s,c,l,u;if(Array.isArray(e)){if((s=e.length)!=i.length)return!1;for(c=s;0!=c--;)if(!o(e[c],i[c]))return!1;return!0}if(r&&e instanceof Map&&i instanceof Map){if(e.size!==i.size)return!1;for(u=e.entries();!(c=u.next()).done;)if(!i.has(c.value[0]))return!1;for(u=e.entries();!(c=u.next()).done;)if(!o(c.value[1],i.get(c.value[0])))return!1;return!0}if(n&&e instanceof Set&&i instanceof Set){if(e.size!==i.size)return!1;for(u=e.entries();!(c=u.next()).done;)if(!i.has(c.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(i)){if((s=e.length)!=i.length)return!1;for(c=s;0!=c--;)if(e[c]!==i[c])return!1;return!0}if(e.constructor===RegExp)return e.source===i.source&&e.flags===i.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof i.valueOf)return e.valueOf()===i.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof i.toString)return e.toString()===i.toString();if((s=(l=Object.keys(e)).length)!==Object.keys(i).length)return!1;for(c=s;0!=c--;)if(!Object.prototype.hasOwnProperty.call(i,l[c]))return!1;if(t&&e instanceof Element)return!1;for(c=s;0!=c--;)if(("_owner"!==l[c]&&"__v"!==l[c]&&"__o"!==l[c]||!e.$$typeof)&&!o(e[l[c]],i[l[c]]))return!1;return!0}return e!=e&&i!=i}e.exports=function(e,t){try{return o(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},3908:(e,t,r)=>{"use strict";r.r(t),r.d(t,{IGNORE_CLASS_NAME:()=>h,default:()=>v});var n=r(1609),a=r(5795);function o(e,t){return o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}function i(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s(e,t,r){return e===t||(e.correspondingElement?e.correspondingElement.classList.contains(r):e.classList.contains(r))}var c,l,u=(void 0===c&&(c=0),function(){return++c}),d={},p={},f=["touchstart","touchmove"],h="ignore-react-onclickoutside";function m(e,t){var r={};return-1!==f.indexOf(t)&&l&&(r.passive=!e.props.preventDefault),r}const v=function(e,t){var r,c,f=e.displayName||e.name||"Component";return c=r=function(r){var c,h;function v(e){var n;return(n=r.call(this,e)||this).__outsideClickHandler=function(e){if("function"!=typeof n.__clickOutsideHandlerProp){var t=n.getInstance();if("function"!=typeof t.props.handleClickOutside){if("function"!=typeof t.handleClickOutside)throw new Error("WrappedComponent: "+f+" lacks a handleClickOutside(event) function for processing outside click events.");t.handleClickOutside(e)}else t.props.handleClickOutside(e)}else n.__clickOutsideHandlerProp(e)},n.__getComponentNode=function(){var e=n.getInstance();return t&&"function"==typeof t.setClickOutsideRef?t.setClickOutsideRef()(e):"function"==typeof e.setClickOutsideRef?e.setClickOutsideRef():(0,a.findDOMNode)(e)},n.enableOnClickOutside=function(){if("undefined"!=typeof document&&!p[n._uid]){void 0===l&&(l=function(){if("undefined"!=typeof window&&"function"==typeof window.addEventListener){var e=!1,t=Object.defineProperty({},"passive",{get:function(){e=!0}}),r=function(){};return window.addEventListener("testPassiveEventSupport",r,t),window.removeEventListener("testPassiveEventSupport",r,t),e}}()),p[n._uid]=!0;var e=n.props.eventTypes;e.forEach||(e=[e]),d[n._uid]=function(e){var t;null!==n.componentNode&&(n.initTimeStamp>e.timeStamp||(n.props.preventDefault&&e.preventDefault(),n.props.stopPropagation&&e.stopPropagation(),n.props.excludeScrollbar&&(t=e,document.documentElement.clientWidth<=t.clientX||document.documentElement.clientHeight<=t.clientY)||function(e,t,r){if(e===t)return!0;for(;e.parentNode||e.host;){if(e.parentNode&&s(e,t,r))return!0;e=e.parentNode||e.host}return e}(e.composed&&e.composedPath&&e.composedPath().shift()||e.target,n.componentNode,n.props.outsideClickIgnoreClass)===document&&n.__outsideClickHandler(e)))},e.forEach((function(e){document.addEventListener(e,d[n._uid],m(i(n),e))}))}},n.disableOnClickOutside=function(){delete p[n._uid];var e=d[n._uid];if(e&&"undefined"!=typeof document){var t=n.props.eventTypes;t.forEach||(t=[t]),t.forEach((function(t){return document.removeEventListener(t,e,m(i(n),t))})),delete d[n._uid]}},n.getRef=function(e){return n.instanceRef=e},n._uid=u(),n.initTimeStamp=performance.now(),n}h=r,(c=v).prototype=Object.create(h.prototype),c.prototype.constructor=c,o(c,h);var g=v.prototype;return g.getInstance=function(){if(e.prototype&&!e.prototype.isReactComponent)return this;var t=this.instanceRef;return t.getInstance?t.getInstance():t},g.componentDidMount=function(){if("undefined"!=typeof document&&document.createElement){var e=this.getInstance();if(t&&"function"==typeof t.handleClickOutside&&(this.__clickOutsideHandlerProp=t.handleClickOutside(e),"function"!=typeof this.__clickOutsideHandlerProp))throw new Error("WrappedComponent: "+f+" lacks a function for processing outside click events specified by the handleClickOutside config option.");this.componentNode=this.__getComponentNode(),this.props.disableOnClickOutside||this.enableOnClickOutside()}},g.componentDidUpdate=function(){this.componentNode=this.__getComponentNode()},g.componentWillUnmount=function(){this.disableOnClickOutside()},g.render=function(){var t=this.props;t.excludeScrollbar;var r=function(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n=0||(a[r]=e[r]);return a}(t,["excludeScrollbar"]);return e.prototype&&e.prototype.isReactComponent?r.ref=this.getRef:r.wrappedRef=this.getRef,r.disableOnClickOutside=this.disableOnClickOutside,r.enableOnClickOutside=this.enableOnClickOutside,(0,n.createElement)(e,r)},v}(n.Component),r.displayName="OnClickOutside("+f+")",r.defaultProps={eventTypes:["mousedown","touchstart"],excludeScrollbar:t&&t.excludeScrollbar||!1,outsideClickIgnoreClass:h,preventDefault:!1,stopPropagation:!1},r.getClass=function(){return e.getClass?e.getClass():e},c}},2430:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Manager:()=>i,Popper:()=>Me,Reference:()=>Oe,usePopper:()=>xe});var n=r(1609),a=n.createContext(),o=n.createContext();function i(e){var t=e.children,r=n.useState(null),i=r[0],s=r[1],c=n.useRef(!1);n.useEffect((function(){return function(){c.current=!0}}),[]);var l=n.useCallback((function(e){c.current||s(e)}),[]);return n.createElement(a.Provider,{value:i},n.createElement(o.Provider,{value:l},t))}var s=function(e){return Array.isArray(e)?e[0]:e},c=function(e){if("function"==typeof e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n0&&w(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&w(n.height)/e.offsetHeight||1);var i=(h(e)?f(e):window).visualViewport,s=!b()&&r,c=(n.left+(s&&i?i.offsetLeft:0))/a,l=(n.top+(s&&i?i.offsetTop:0))/o,u=n.width/a,d=n.height/o;return{width:u,height:d,top:l,right:c+u,bottom:l+d,left:c,x:c,y:l}}function D(e){var t=f(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function x(e){return e?(e.nodeName||"").toLowerCase():null}function C(e){return((h(e)?e.ownerDocument:e.document)||window.document).documentElement}function S(e){return _(C(e)).left+D(e).scrollLeft}function T(e){return f(e).getComputedStyle(e)}function M(e){var t=T(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}function E(e,t,r){void 0===r&&(r=!1);var n,a,o=m(t),i=m(t)&&function(e){var t=e.getBoundingClientRect(),r=w(t.width)/e.offsetWidth||1,n=w(t.height)/e.offsetHeight||1;return 1!==r||1!==n}(t),s=C(t),c=_(e,i,r),l={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(o||!o&&!r)&&(("body"!==x(t)||M(s))&&(l=(n=t)!==f(n)&&m(n)?{scrollLeft:(a=n).scrollLeft,scrollTop:a.scrollTop}:D(n)),m(t)?((u=_(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):s&&(u.x=S(s))),{x:c.left+l.scrollLeft-u.x,y:c.top+l.scrollTop-u.y,width:c.width,height:c.height}}function P(e){var t=_(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function O(e){return"html"===x(e)?e:e.assignedSlot||e.parentNode||(v(e)?e.host:null)||C(e)}function N(e){return["html","body","#document"].indexOf(x(e))>=0?e.ownerDocument.body:m(e)&&M(e)?e:N(O(e))}function A(e,t){var r;void 0===t&&(t=[]);var n=N(e),a=n===(null==(r=e.ownerDocument)?void 0:r.body),o=f(n),i=a?[o].concat(o.visualViewport||[],M(n)?n:[]):n,s=t.concat(i);return a?s:s.concat(A(O(i)))}function Y(e){return["table","td","th"].indexOf(x(e))>=0}function I(e){return m(e)&&"fixed"!==T(e).position?e.offsetParent:null}function R(e){for(var t=f(e),r=I(e);r&&Y(r)&&"static"===T(r).position;)r=I(r);return r&&("html"===x(r)||"body"===x(r)&&"static"===T(r).position)?t:r||function(e){var t=/firefox/i.test(k());if(/Trident/i.test(k())&&m(e)&&"fixed"===T(e).position)return null;var r=O(e);for(v(r)&&(r=r.host);m(r)&&["html","body"].indexOf(x(r))<0;){var n=T(r);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return r;r=r.parentNode}return null}(e)||t}var L="top",F="bottom",W="right",U="left",H="auto",j=[L,F,W,U],q="start",B="end",Q="viewport",K="popper",V=j.reduce((function(e,t){return e.concat([t+"-"+q,t+"-"+B])}),[]),z=[].concat(j,[H]).reduce((function(e,t){return e.concat([t,t+"-"+q,t+"-"+B])}),[]),X=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function G(e){var t=new Map,r=new Set,n=[];function a(e){r.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!r.has(e)){var n=t.get(e);n&&a(n)}})),n.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){r.has(e.name)||a(e)})),n}var $={placement:"bottom",modifiers:[],strategy:"absolute"};function J(){for(var e=arguments.length,t=new Array(e),r=0;r=0?"x":"y"}function ae(e){var t,r=e.reference,n=e.element,a=e.placement,o=a?te(a):null,i=a?re(a):null,s=r.x+r.width/2-n.width/2,c=r.y+r.height/2-n.height/2;switch(o){case L:t={x:s,y:r.y-n.height};break;case F:t={x:s,y:r.y+r.height};break;case W:t={x:r.x+r.width,y:c};break;case U:t={x:r.x-n.width,y:c};break;default:t={x:r.x,y:r.y}}var l=o?ne(o):null;if(null!=l){var u="y"===l?"height":"width";switch(i){case q:t[l]=t[l]-(r[u]/2-n[u]/2);break;case B:t[l]=t[l]+(r[u]/2-n[u]/2)}}return t}var oe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ie(e){var t,r=e.popper,n=e.popperRect,a=e.placement,o=e.variation,i=e.offsets,s=e.position,c=e.gpuAcceleration,l=e.adaptive,u=e.roundOffsets,d=e.isFixed,p=i.x,h=void 0===p?0:p,m=i.y,v=void 0===m?0:m,g="function"==typeof u?u({x:h,y:v}):{x:h,y:v};h=g.x,v=g.y;var y=i.hasOwnProperty("x"),k=i.hasOwnProperty("y"),b=U,_=L,D=window;if(l){var x=R(r),S="clientHeight",M="clientWidth";x===f(r)&&"static"!==T(x=C(r)).position&&"absolute"===s&&(S="scrollHeight",M="scrollWidth"),(a===L||(a===U||a===W)&&o===B)&&(_=F,v-=(d&&x===D&&D.visualViewport?D.visualViewport.height:x[S])-n.height,v*=c?1:-1),a!==U&&(a!==L&&a!==F||o!==B)||(b=W,h-=(d&&x===D&&D.visualViewport?D.visualViewport.width:x[M])-n.width,h*=c?1:-1)}var E,P=Object.assign({position:s},l&&oe),O=!0===u?function(e,t){var r=e.x,n=e.y,a=t.devicePixelRatio||1;return{x:w(r*a)/a||0,y:w(n*a)/a||0}}({x:h,y:v},f(r)):{x:h,y:v};return h=O.x,v=O.y,c?Object.assign({},P,((E={})[_]=k?"0":"",E[b]=y?"0":"",E.transform=(D.devicePixelRatio||1)<=1?"translate("+h+"px, "+v+"px)":"translate3d("+h+"px, "+v+"px, 0)",E)):Object.assign({},P,((t={})[_]=k?v+"px":"",t[b]=y?h+"px":"",t.transform="",t))}var se={left:"right",right:"left",bottom:"top",top:"bottom"};function ce(e){return e.replace(/left|right|bottom|top/g,(function(e){return se[e]}))}var le={start:"end",end:"start"};function ue(e){return e.replace(/start|end/g,(function(e){return le[e]}))}function de(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&v(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function pe(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function fe(e,t,r){return t===Q?pe(function(e,t){var r=f(e),n=C(e),a=r.visualViewport,o=n.clientWidth,i=n.clientHeight,s=0,c=0;if(a){o=a.width,i=a.height;var l=b();(l||!l&&"fixed"===t)&&(s=a.offsetLeft,c=a.offsetTop)}return{width:o,height:i,x:s+S(e),y:c}}(e,r)):h(t)?function(e,t){var r=_(e,!1,"fixed"===t);return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}(t,r):pe(function(e){var t,r=C(e),n=D(e),a=null==(t=e.ownerDocument)?void 0:t.body,o=g(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),i=g(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),s=-n.scrollLeft+S(e),c=-n.scrollTop;return"rtl"===T(a||r).direction&&(s+=g(r.clientWidth,a?a.clientWidth:0)-o),{width:o,height:i,x:s,y:c}}(C(e)))}function he(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function me(e,t){return t.reduce((function(t,r){return t[r]=e,t}),{})}function ve(e,t){void 0===t&&(t={});var r=t,n=r.placement,a=void 0===n?e.placement:n,o=r.strategy,i=void 0===o?e.strategy:o,s=r.boundary,c=void 0===s?"clippingParents":s,l=r.rootBoundary,u=void 0===l?Q:l,d=r.elementContext,p=void 0===d?K:d,f=r.altBoundary,v=void 0!==f&&f,w=r.padding,k=void 0===w?0:w,b=he("number"!=typeof k?k:me(k,j)),D=p===K?"reference":K,S=e.rects.popper,M=e.elements[v?D:p],E=function(e,t,r,n){var a="clippingParents"===t?function(e){var t=A(O(e)),r=["absolute","fixed"].indexOf(T(e).position)>=0&&m(e)?R(e):e;return h(r)?t.filter((function(e){return h(e)&&de(e,r)&&"body"!==x(e)})):[]}(e):[].concat(t),o=[].concat(a,[r]),i=o[0],s=o.reduce((function(t,r){var a=fe(e,r,n);return t.top=g(a.top,t.top),t.right=y(a.right,t.right),t.bottom=y(a.bottom,t.bottom),t.left=g(a.left,t.left),t}),fe(e,i,n));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}(h(M)?M:M.contextElement||C(e.elements.popper),c,u,i),P=_(e.elements.reference),N=ae({reference:P,element:S,strategy:"absolute",placement:a}),Y=pe(Object.assign({},S,N)),I=p===K?Y:P,U={top:E.top-I.top+b.top,bottom:I.bottom-E.bottom+b.bottom,left:E.left-I.left+b.left,right:I.right-E.right+b.right},H=e.modifiersData.offset;if(p===K&&H){var q=H[a];Object.keys(U).forEach((function(e){var t=[W,F].indexOf(e)>=0?1:-1,r=[L,F].indexOf(e)>=0?"y":"x";U[e]+=q[r]*t}))}return U}function ge(e,t,r){return g(e,y(t,r))}function ye(e,t,r){return void 0===r&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function we(e){return[L,W,F,U].some((function(t){return e[t]>=0}))}var ke=Z({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,r=e.instance,n=e.options,a=n.scroll,o=void 0===a||a,i=n.resize,s=void 0===i||i,c=f(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&l.forEach((function(e){e.addEventListener("scroll",r.update,ee)})),s&&c.addEventListener("resize",r.update,ee),function(){o&&l.forEach((function(e){e.removeEventListener("scroll",r.update,ee)})),s&&c.removeEventListener("resize",r.update,ee)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,r=e.name;t.modifiersData[r]=ae({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,r=e.options,n=r.gpuAcceleration,a=void 0===n||n,o=r.adaptive,i=void 0===o||o,s=r.roundOffsets,c=void 0===s||s,l={placement:te(t.placement),variation:re(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ie(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:c})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ie(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var r=t.styles[e]||{},n=t.attributes[e]||{},a=t.elements[e];m(a)&&x(a)&&(Object.assign(a.style,r),Object.keys(n).forEach((function(e){var t=n[e];!1===t?a.removeAttribute(e):a.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach((function(e){var n=t.elements[e],a=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:r[e]).reduce((function(e,t){return e[t]="",e}),{});m(n)&&x(n)&&(Object.assign(n.style,o),Object.keys(a).forEach((function(e){n.removeAttribute(e)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,r=e.options,n=e.name,a=r.offset,o=void 0===a?[0,0]:a,i=z.reduce((function(e,r){return e[r]=function(e,t,r){var n=te(e),a=[U,L].indexOf(n)>=0?-1:1,o="function"==typeof r?r(Object.assign({},t,{placement:e})):r,i=o[0],s=o[1];return i=i||0,s=(s||0)*a,[U,W].indexOf(n)>=0?{x:s,y:i}:{x:i,y:s}}(r,t.rects,o),e}),{}),s=i[t.placement],c=s.x,l=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=l),t.modifiersData[n]=i}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var a=r.mainAxis,o=void 0===a||a,i=r.altAxis,s=void 0===i||i,c=r.fallbackPlacements,l=r.padding,u=r.boundary,d=r.rootBoundary,p=r.altBoundary,f=r.flipVariations,h=void 0===f||f,m=r.allowedAutoPlacements,v=t.options.placement,g=te(v),y=c||(g!==v&&h?function(e){if(te(e)===H)return[];var t=ce(e);return[ue(e),t,ue(t)]}(v):[ce(v)]),w=[v].concat(y).reduce((function(e,r){return e.concat(te(r)===H?function(e,t){void 0===t&&(t={});var r=t,n=r.placement,a=r.boundary,o=r.rootBoundary,i=r.padding,s=r.flipVariations,c=r.allowedAutoPlacements,l=void 0===c?z:c,u=re(n),d=u?s?V:V.filter((function(e){return re(e)===u})):j,p=d.filter((function(e){return l.indexOf(e)>=0}));0===p.length&&(p=d);var f=p.reduce((function(t,r){return t[r]=ve(e,{placement:r,boundary:a,rootBoundary:o,padding:i})[te(r)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}(t,{placement:r,boundary:u,rootBoundary:d,padding:l,flipVariations:h,allowedAutoPlacements:m}):r)}),[]),k=t.rects.reference,b=t.rects.popper,_=new Map,D=!0,x=w[0],C=0;C=0,P=E?"width":"height",O=ve(t,{placement:S,boundary:u,rootBoundary:d,altBoundary:p,padding:l}),N=E?M?W:U:M?F:L;k[P]>b[P]&&(N=ce(N));var A=ce(N),Y=[];if(o&&Y.push(O[T]<=0),s&&Y.push(O[N]<=0,O[A]<=0),Y.every((function(e){return e}))){x=S,D=!1;break}_.set(S,Y)}if(D)for(var I=function(e){var t=w.find((function(t){var r=_.get(t);if(r)return r.slice(0,e).every((function(e){return e}))}));if(t)return x=t,"break"},R=h?3:1;R>0&&"break"!==I(R);R--);t.placement!==x&&(t.modifiersData[n]._skip=!0,t.placement=x,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name,a=r.mainAxis,o=void 0===a||a,i=r.altAxis,s=void 0!==i&&i,c=r.boundary,l=r.rootBoundary,u=r.altBoundary,d=r.padding,p=r.tether,f=void 0===p||p,h=r.tetherOffset,m=void 0===h?0:h,v=ve(t,{boundary:c,rootBoundary:l,padding:d,altBoundary:u}),w=te(t.placement),k=re(t.placement),b=!k,_=ne(w),D="x"===_?"y":"x",x=t.modifiersData.popperOffsets,C=t.rects.reference,S=t.rects.popper,T="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,M="number"==typeof T?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),E=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,O={x:0,y:0};if(x){if(o){var N,A="y"===_?L:U,Y="y"===_?F:W,I="y"===_?"height":"width",H=x[_],j=H+v[A],B=H-v[Y],Q=f?-S[I]/2:0,K=k===q?C[I]:S[I],V=k===q?-S[I]:-C[I],z=t.elements.arrow,X=f&&z?P(z):{width:0,height:0},G=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},$=G[A],J=G[Y],Z=ge(0,C[I],X[I]),ee=b?C[I]/2-Q-Z-$-M.mainAxis:K-Z-$-M.mainAxis,ae=b?-C[I]/2+Q+Z+J+M.mainAxis:V+Z+J+M.mainAxis,oe=t.elements.arrow&&R(t.elements.arrow),ie=oe?"y"===_?oe.clientTop||0:oe.clientLeft||0:0,se=null!=(N=null==E?void 0:E[_])?N:0,ce=H+ae-se,le=ge(f?y(j,H+ee-se-ie):j,H,f?g(B,ce):B);x[_]=le,O[_]=le-H}if(s){var ue,de="x"===_?L:U,pe="x"===_?F:W,fe=x[D],he="y"===D?"height":"width",me=fe+v[de],ye=fe-v[pe],we=-1!==[L,U].indexOf(w),ke=null!=(ue=null==E?void 0:E[D])?ue:0,be=we?me:fe-C[he]-S[he]-ke+M.altAxis,_e=we?fe+C[he]+S[he]-ke-M.altAxis:ye,De=f&&we?function(e,t,r){var n=ge(e,t,r);return n>r?r:n}(be,fe,_e):ge(f?be:me,fe,f?_e:ye);x[D]=De,O[D]=De-fe}t.modifiersData[n]=O}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,r=e.state,n=e.name,a=e.options,o=r.elements.arrow,i=r.modifiersData.popperOffsets,s=te(r.placement),c=ne(s),l=[U,W].indexOf(s)>=0?"height":"width";if(o&&i){var u=function(e,t){return he("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:me(e,j))}(a.padding,r),d=P(o),p="y"===c?L:U,f="y"===c?F:W,h=r.rects.reference[l]+r.rects.reference[c]-i[c]-r.rects.popper[l],m=i[c]-r.rects.reference[c],v=R(o),g=v?"y"===c?v.clientHeight||0:v.clientWidth||0:0,y=h/2-m/2,w=u[p],k=g-d[l]-u[f],b=g/2-d[l]/2+y,_=ge(w,b,k),D=c;r.modifiersData[n]=((t={})[D]=_,t.centerOffset=_-b,t)}},effect:function(e){var t=e.state,r=e.options.element,n=void 0===r?"[data-popper-arrow]":r;null!=n&&("string"!=typeof n||(n=t.elements.popper.querySelector(n)))&&de(t.elements.popper,n)&&(t.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,r=e.name,n=t.rects.reference,a=t.rects.popper,o=t.modifiersData.preventOverflow,i=ve(t,{elementContext:"reference"}),s=ve(t,{altBoundary:!0}),c=ye(i,n),l=ye(s,a,o),u=we(c),d=we(l);t.modifiersData[r]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]}),be=r(115),_e=r.n(be),De=[],xe=function(e,t,r){void 0===r&&(r={});var a=n.useRef(null),o={onFirstUpdate:r.onFirstUpdate,placement:r.placement||"bottom",strategy:r.strategy||"absolute",modifiers:r.modifiers||De},i=n.useState({styles:{popper:{position:o.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),s=i[0],c=i[1],l=n.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,r=Object.keys(t.elements);p.flushSync((function(){c({styles:u(r.map((function(e){return[e,t.styles[e]||{}]}))),attributes:u(r.map((function(e){return[e,t.attributes[e]]})))})}))},requires:["computeStyles"]}}),[]),f=n.useMemo((function(){var e={onFirstUpdate:o.onFirstUpdate,placement:o.placement,strategy:o.strategy,modifiers:[].concat(o.modifiers,[l,{name:"applyStyles",enabled:!1}])};return _e()(a.current,e)?a.current||e:(a.current=e,e)}),[o.onFirstUpdate,o.placement,o.strategy,o.modifiers,l]),h=n.useRef();return d((function(){h.current&&h.current.setOptions(f)}),[f]),d((function(){if(null!=e&&null!=t){var n=(r.createPopper||ke)(e,t,f);return h.current=n,function(){n.destroy(),h.current=null}}}),[e,t,r.createPopper]),{state:h.current?h.current.state:null,styles:s.styles,attributes:s.attributes,update:h.current?h.current.update:null,forceUpdate:h.current?h.current.forceUpdate:null}},Ce=function(){},Se=function(){return Promise.resolve(null)},Te=[];function Me(e){var t=e.placement,r=void 0===t?"bottom":t,o=e.strategy,i=void 0===o?"absolute":o,c=e.modifiers,u=void 0===c?Te:c,d=e.referenceElement,p=e.onFirstUpdate,f=e.innerRef,h=e.children,m=n.useContext(a),v=n.useState(null),g=v[0],y=v[1],w=n.useState(null),k=w[0],b=w[1];n.useEffect((function(){l(f,g)}),[f,g]);var _=n.useMemo((function(){return{placement:r,strategy:i,onFirstUpdate:p,modifiers:[].concat(u,[{name:"arrow",enabled:null!=k,options:{element:k}}])}}),[r,i,p,u,k]),D=xe(d||m,g,_),x=D.state,C=D.styles,S=D.forceUpdate,T=D.update,M=n.useMemo((function(){return{ref:y,style:C.popper,placement:x?x.placement:r,hasPopperEscaped:x&&x.modifiersData.hide?x.modifiersData.hide.hasPopperEscaped:null,isReferenceHidden:x&&x.modifiersData.hide?x.modifiersData.hide.isReferenceHidden:null,arrowProps:{style:C.arrow,ref:b},forceUpdate:S||Ce,update:T||Se}}),[y,b,r,x,C,T,S]);return s(h)(M)}var Ee=r(9771),Pe=r.n(Ee);function Oe(e){var t=e.children,r=e.innerRef,a=n.useContext(o),i=n.useCallback((function(e){l(r,e),c(a,e)}),[r,a]);return n.useEffect((function(){return function(){return l(r,null)}}),[]),n.useEffect((function(){Pe()(Boolean(a),"`Reference` should not be used outside of a `Manager` component.")}),[a]),s(t)({ref:i})}},596:(e,t,r)=>{"use strict";var n=r(5072),a=r.n(n),o=r(7825),i=r.n(o),s=r(7659),c=r.n(s),l=r(5056),u=r.n(l),d=r(540),p=r.n(d),f=r(1113),h=r.n(f),m=r(2063),v={};v.styleTagTransform=h(),v.setAttributes=u(),v.insert=c().bind(null,"head"),v.domAPI=i(),v.insertStyleElement=p(),a()(m.A,v),m.A&&m.A.locals&&m.A.locals},5072:e=>{"use strict";var t=[];function r(e){for(var r=-1,n=0;n{"use strict";var t={};e.exports=function(e,r){var n=function(e){if(void 0===t[e]){var r=document.querySelector(e);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[e]=r}return t[e]}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(r)}},540:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},5056:(e,t,r)=>{"use strict";e.exports=function(e){var t=r.nc;t&&e.setAttribute("nonce",t)}},7825:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(r){!function(e,t,r){var n="";r.supports&&(n+="@supports (".concat(r.supports,") {")),r.media&&(n+="@media ".concat(r.media," {"));var a=void 0!==r.layer;a&&(n+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),n+=r.css,a&&(n+="}"),r.media&&(n+="}"),r.supports&&(n+="}");var o=r.sourceMap;o&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(n,e,t.options)}(t,e,r)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},1113:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},9771:e=>{"use strict";e.exports=function(){}},6942:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function a(){for(var e="",t=0;t{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r.d(t,{A:()=>n})}}]); \ No newline at end of file diff --git a/assets/js/dist/363.js b/assets/js/dist/363.js index 888cc8ef0..d9ee1099d 100644 --- a/assets/js/dist/363.js +++ b/assets/js/dist/363.js @@ -1 +1 @@ -"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[363],{1744:(e,t,r)=>{r.r(t),r.d(t,{default:()=>d});var n=r(1609),a=r.n(n),o=r(7723),c=r(1912),l=r(1471),i=r(1688),u=r(5591),m=r(6384),f=r(1288);function y(e){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y(e)}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.d(t,{A:()=>u});var n=r(1609);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.d(t,{A:()=>c});var n=r(1609),a=r.n(n),o=r(7723);const c=function(e){var t=e.methodName,r=e.handleChange;return a().createElement("p",{className:"form-row form-row-wide validate-required"},a().createElement("label",{htmlFor:"".concat(t,"-company-coc-registration")},(0,o.__)("CoC-number:","wc-buckaroo-bpe-gateway"),a().createElement("span",{className:"required"},"*")),a().createElement("input",{id:"".concat(t,"-company-coc-registration"),name:"".concat(t,"-company-coc-registration"),className:"input-text",type:"text",maxLength:"250",autoComplete:"off",onChange:r}))}},1688:(e,t,r)=>{r.d(t,{A:()=>c});var n=r(1609),a=r.n(n),o=r(7723);const c=function(e){return e.title,a().createElement("div",{style:{display:"block",fontSize:".8rem",clear:"both"}},(0,o.__)("Je moet minimaal 18+ zijn om deze dienst te gebruiken. Als je op tijd betaalt, voorkom je extra kosten en zorg je dat je in de toekomst nogmaals gebruik kunt maken van de diensten van {title}. Door verder te gaan, accepteer je de Algemene Voorwaarden en bevestig je dat je de Privacyverklaring en Cookieverklaring hebt gelezen.","wc-buckaroo-bpe-gateway"))}},1471:(e,t,r)=>{r.d(t,{A:()=>l});var n=r(1609),a=r.n(n),o=r(7723);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.d(t,{A:()=>u});var n=r(1609),a=r.n(n),o=r(9386),c=r.n(o),l=(r(596),r(7723));function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.d(t,{A:()=>l});var n=r(1609),a=r.n(n),o=r(7723);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r1&&void 0!==arguments[1]&&arguments[1]?"b2b_invoice":"invoice";return"".concat("https://documents.riverty.com/terms_conditions/payment_methods/").concat(r,"/").concat(t,"/")}(d,i);return"buckaroo-billink"===l&&(p=(0,o.__)("Accept terms of use","wc-buckaroo-bpe-gateway"),h="https://www.billink.nl/app/uploads/2021/05/Gebruikersvoorwaarden-Billink_V11052021.pdf"),a().createElement("div",null,a().createElement("a",{href:"".concat(h),target:"_blank",rel:"noreferrer"},p),a().createElement("span",{className:"required"},"*"),a().createElement("input",{id:"".concat(b,"-accept"),name:"".concat(b,"-accept"),type:"checkbox",checked:y,onChange:function(){s(!y),u(!y)}}),a().createElement("p",{className:"required",style:{float:"right"}},"* Required"))}}}]); \ No newline at end of file +"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[363],{1744:(e,t,r)=>{r.r(t),r.d(t,{default:()=>d});var n=r(1609),a=r.n(n),o=r(7723),c=r(1912),l=r(1471),i=r(1688),u=r(5591),m=r(6384),f=r(1288);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.d(t,{A:()=>u});var n=r(1609);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.d(t,{A:()=>c});var n=r(1609),a=r.n(n),o=r(7723);const c=function(e){var t=e.methodName,r=e.handleChange;return a().createElement("p",{className:"form-row form-row-wide validate-required"},a().createElement("label",{htmlFor:"".concat(t,"-company-coc-registration")},(0,o.__)("CoC-number:","wc-buckaroo-bpe-gateway"),a().createElement("span",{className:"required"},"*")),a().createElement("input",{id:"".concat(t,"-company-coc-registration"),name:"".concat(t,"-company-coc-registration"),className:"input-text",type:"text",maxLength:"250",autoComplete:"off",onChange:r}))}},1688:(e,t,r)=>{r.d(t,{A:()=>c});var n=r(1609),a=r.n(n),o=r(7723);const c=function(e){return e.title,a().createElement("div",{style:{display:"block",fontSize:".8rem",clear:"both"}},(0,o.__)("Je moet minimaal 18+ zijn om deze dienst te gebruiken. Als je op tijd betaalt, voorkom je extra kosten en zorg je dat je in de toekomst nogmaals gebruik kunt maken van de diensten van {title}. Door verder te gaan, accepteer je de Algemene Voorwaarden en bevestig je dat je de Privacyverklaring en Cookieverklaring hebt gelezen.","wc-buckaroo-bpe-gateway"))}},1471:(e,t,r)=>{r.d(t,{A:()=>l});var n=r(1609),a=r.n(n),o=r(7723);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.d(t,{A:()=>u});var n=r(1609),a=r.n(n),o=r(9386),c=r.n(o),l=(r(596),r(7723));function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.d(t,{A:()=>l});var n=r(1609),a=r.n(n),o=r(7723);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r1&&void 0!==arguments[1]&&arguments[1]?"b2b_invoice":"invoice";return"".concat("https://documents.riverty.com/terms_conditions/payment_methods/").concat(r,"/").concat(t,"/")}(d,i);return"buckaroo-billink"===l&&(p=(0,o.__)("Accept terms of use","wc-buckaroo-bpe-gateway"),h="https://www.billink.nl/app/uploads/2021/05/Gebruikersvoorwaarden-Billink_V11052021.pdf"),a().createElement("div",null,a().createElement("a",{href:"".concat(h),target:"_blank",rel:"noreferrer"},p),a().createElement("span",{className:"required"},"*"),a().createElement("input",{id:"".concat(b,"-accept"),name:"".concat(b,"-accept"),type:"checkbox",checked:s,onChange:function(){y(!s),u(!s)}}),a().createElement("p",{className:"required",style:{float:"right"}},"* Required"))}}}]); \ No newline at end of file diff --git a/assets/js/dist/377.js b/assets/js/dist/377.js index dff8cce2c..2fd3d630d 100644 --- a/assets/js/dist/377.js +++ b/assets/js/dist/377.js @@ -1 +1 @@ -"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[377],{8377:(e,t,r)=>{r.r(t),r.d(t,{default:()=>p});var n=r(1609),a=r.n(n),o=r(7723),c=r(1912),i=r(1688),l=r(5591),u=r(404),m=r(6384),f=r(1288);function y(e){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y(e)}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.d(t,{A:()=>u});var n=r(1609);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.d(t,{A:()=>c});var n=r(1609),a=r.n(n),o=r(7723);const c=function(e){var t=e.methodName,r=e.handleChange;return a().createElement("p",{className:"form-row form-row-wide validate-required"},a().createElement("label",{htmlFor:"".concat(t,"-company-coc-registration")},(0,o.__)("CoC-number:","wc-buckaroo-bpe-gateway"),a().createElement("span",{className:"required"},"*")),a().createElement("input",{id:"".concat(t,"-company-coc-registration"),name:"".concat(t,"-company-coc-registration"),className:"input-text",type:"text",maxLength:"250",autoComplete:"off",onChange:r}))}},1688:(e,t,r)=>{r.d(t,{A:()=>c});var n=r(1609),a=r.n(n),o=r(7723);const c=function(e){return e.title,a().createElement("div",{style:{display:"block",fontSize:".8rem",clear:"both"}},(0,o.__)("Je moet minimaal 18+ zijn om deze dienst te gebruiken. Als je op tijd betaalt, voorkom je extra kosten en zorg je dat je in de toekomst nogmaals gebruik kunt maken van de diensten van {title}. Door verder te gaan, accepteer je de Algemene Voorwaarden en bevestig je dat je de Privacyverklaring en Cookieverklaring hebt gelezen.","wc-buckaroo-bpe-gateway"))}},1912:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(1609),a=r.n(n),o=r(9386),c=r.n(o),i=(r(596),r(7723));function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.d(t,{A:()=>c});var n=r(1609),a=r.n(n),o=r(7723);const c=function(e){var t=e.paymentMethod,r=e.formState,n=e.handlePhoneChange;return a().createElement("div",{className:"form-row validate-required"},a().createElement("label",{htmlFor:"".concat(t,"-phone")},(0,o.__)("Phone Number:","wc-buckaroo-bpe-gateway"),a().createElement("span",{className:"required"},"*")),a().createElement("input",{id:"".concat(t,"-phone"),name:"".concat(t,"-phone"),className:"input-text",type:"tel",autoComplete:"off",value:r["".concat(t,"-phone")]||"",onChange:function(e){var t=e.target.value;n(t)}}))}},5591:(e,t,r)=>{r.d(t,{A:()=>i});var n=r(1609),a=r.n(n),o=r(7723);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r1&&void 0!==arguments[1]&&arguments[1]?"b2b_invoice":"invoice";return"".concat("https://documents.riverty.com/terms_conditions/payment_methods/").concat(r,"/").concat(t,"/")}(p,l);return"buckaroo-billink"===i&&(b=(0,o.__)("Accept terms of use","wc-buckaroo-bpe-gateway"),h="https://www.billink.nl/app/uploads/2021/05/Gebruikersvoorwaarden-Billink_V11052021.pdf"),a().createElement("div",null,a().createElement("a",{href:"".concat(h),target:"_blank",rel:"noreferrer"},b),a().createElement("span",{className:"required"},"*"),a().createElement("input",{id:"".concat(d,"-accept"),name:"".concat(d,"-accept"),type:"checkbox",checked:y,onChange:function(){s(!y),u(!y)}}),a().createElement("p",{className:"required",style:{float:"right"}},"* Required"))}}}]); \ No newline at end of file +"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[377],{8377:(e,t,r)=>{r.r(t),r.d(t,{default:()=>p});var n=r(1609),a=r.n(n),o=r(7723),c=r(1912),i=r(1688),l=r(5591),u=r(404),m=r(6384),f=r(1288);function y(e){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y(e)}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.d(t,{A:()=>u});var n=r(1609);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.d(t,{A:()=>c});var n=r(1609),a=r.n(n),o=r(7723);const c=function(e){var t=e.methodName,r=e.handleChange;return a().createElement("p",{className:"form-row form-row-wide validate-required"},a().createElement("label",{htmlFor:"".concat(t,"-company-coc-registration")},(0,o.__)("CoC-number:","wc-buckaroo-bpe-gateway"),a().createElement("span",{className:"required"},"*")),a().createElement("input",{id:"".concat(t,"-company-coc-registration"),name:"".concat(t,"-company-coc-registration"),className:"input-text",type:"text",maxLength:"250",autoComplete:"off",onChange:r}))}},1688:(e,t,r)=>{r.d(t,{A:()=>c});var n=r(1609),a=r.n(n),o=r(7723);const c=function(e){return e.title,a().createElement("div",{style:{display:"block",fontSize:".8rem",clear:"both"}},(0,o.__)("Je moet minimaal 18+ zijn om deze dienst te gebruiken. Als je op tijd betaalt, voorkom je extra kosten en zorg je dat je in de toekomst nogmaals gebruik kunt maken van de diensten van {title}. Door verder te gaan, accepteer je de Algemene Voorwaarden en bevestig je dat je de Privacyverklaring en Cookieverklaring hebt gelezen.","wc-buckaroo-bpe-gateway"))}},1912:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(1609),a=r.n(n),o=r(9386),c=r.n(o),i=(r(596),r(7723));function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.d(t,{A:()=>c});var n=r(1609),a=r.n(n),o=r(7723);const c=function(e){var t=e.paymentMethod,r=e.formState,n=e.handlePhoneChange;return a().createElement("div",{className:"form-row validate-required"},a().createElement("label",{htmlFor:"".concat(t,"-phone")},(0,o.__)("Phone Number:","wc-buckaroo-bpe-gateway"),a().createElement("span",{className:"required"},"*")),a().createElement("input",{id:"".concat(t,"-phone"),name:"".concat(t,"-phone"),className:"input-text",type:"tel",autoComplete:"off",value:r["".concat(t,"-phone")]||"",onChange:function(e){var t=e.target.value;n(t)}}))}},5591:(e,t,r)=>{r.d(t,{A:()=>i});var n=r(1609),a=r.n(n),o=r(7723);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r1&&void 0!==arguments[1]&&arguments[1]?"b2b_invoice":"invoice";return"".concat("https://documents.riverty.com/terms_conditions/payment_methods/").concat(r,"/").concat(t,"/")}(p,l);return"buckaroo-billink"===i&&(b=(0,o.__)("Accept terms of use","wc-buckaroo-bpe-gateway"),h="https://www.billink.nl/app/uploads/2021/05/Gebruikersvoorwaarden-Billink_V11052021.pdf"),a().createElement("div",null,a().createElement("a",{href:"".concat(h),target:"_blank",rel:"noreferrer"},b),a().createElement("span",{className:"required"},"*"),a().createElement("input",{id:"".concat(d,"-accept"),name:"".concat(d,"-accept"),type:"checkbox",checked:y,onChange:function(){s(!y),u(!y)}}),a().createElement("p",{className:"required",style:{float:"right"}},"* Required"))}}}]); \ No newline at end of file diff --git a/assets/js/dist/426.js b/assets/js/dist/426.js index 73b123b17..6a0f6803e 100644 --- a/assets/js/dist/426.js +++ b/assets/js/dist/426.js @@ -1 +1 @@ -"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[426],{9426:(e,t,r)=>{r.r(t),r.d(t,{default:()=>u});var n=r(1609),o=r.n(n),i=r(6384);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}const u=function(e){var t,r,n,u=e.onStateChange,c=e.methodName,l=e.gateway,f=l.idealIssuers,y=l.canShowIssuers,s=(t={},r="".concat(c,"-issuer"),n="",(r=function(e){var t=function(e,t){if("object"!=a(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==a(t)?t:t+""}(r))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t),b=(0,i.A)(s,u).handleChange;return y&&o().createElement("div",{className:"payment_box payment_method_buckaroo_ideal"},o().createElement("div",{className:"form-row form-row-wide"},o().createElement("select",{className:"buckaroo-custom-select",name:"buckaroo-ideal-issuer",id:"buckaroo-ideal-issuer",onChange:b},o().createElement("option",{value:""},"Select your bank"),Object.keys(f).map((function(e){return o().createElement("option",{key:e,value:e},f[e].name)})))))}},6384:(e,t,r)=>{r.d(t,{A:()=>l});var n=r(1609);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.r(t),r.d(t,{default:()=>u});var n=r(1609),o=r.n(n),i=r(6384);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}const u=function(e){var t,r,n,u=e.onStateChange,c=e.methodName,l=e.gateway,f=l.idealIssuers,y=l.canShowIssuers,s=(t={},r="".concat(c,"-issuer"),n="",(r=function(e){var t=function(e){if("object"!=a(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==a(t)?t:t+""}(r))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t),b=(0,i.A)(s,u).handleChange;return y&&o().createElement("div",{className:"payment_box payment_method_buckaroo_ideal"},o().createElement("div",{className:"form-row form-row-wide"},o().createElement("select",{className:"buckaroo-custom-select",name:"buckaroo-ideal-issuer",id:"buckaroo-ideal-issuer",onChange:b},o().createElement("option",{value:""},"Select your bank"),Object.keys(f).map((function(e){return o().createElement("option",{key:e,value:e},f[e].name)})))))}},6384:(e,t,r)=>{r.d(t,{A:()=>l});var n=r(1609);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.r(t),r.d(t,{default:()=>i});var n=r(1609),a=r.n(n),o=r(1471),c=r(1688);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}const i=function(e){var t=e.onStateChange,r=e.methodName,n=e.gateway.genders;return a().createElement("div",{id:"buckaroo_klarnapay"},a().createElement(o.A,{paymentMethod:r,genders:n,handleChange:function(e){var n=e.target.value;t(function(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=l(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==l(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}({},"".concat(r,"-gender"),n))}}),a().createElement(c.A,null))}},1688:(e,t,r)=>{r.d(t,{A:()=>c});var n=r(1609),a=r.n(n),o=r(7723);const c=function(e){return e.title,a().createElement("div",{style:{display:"block",fontSize:".8rem",clear:"both"}},(0,o.__)("Je moet minimaal 18+ zijn om deze dienst te gebruiken. Als je op tijd betaalt, voorkom je extra kosten en zorg je dat je in de toekomst nogmaals gebruik kunt maken van de diensten van {title}. Door verder te gaan, accepteer je de Algemene Voorwaarden en bevestig je dat je de Privacyverklaring en Cookieverklaring hebt gelezen.","wc-buckaroo-bpe-gateway"))}},1471:(e,t,r)=>{r.d(t,{A:()=>l});var n=r(1609),a=r.n(n),o=r(7723);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.r(t),r.d(t,{default:()=>i});var n=r(1609),a=r.n(n),o=r(1471),c=r(1688);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}const i=function(e){var t=e.onStateChange,r=e.methodName,n=e.gateway.genders;return a().createElement("div",{id:"buckaroo_klarnapay"},a().createElement(o.A,{paymentMethod:r,genders:n,handleChange:function(e){var n=e.target.value;t(function(e,t,r){return(t=function(e){var t=function(e){if("object"!=l(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==l(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}({},"".concat(r,"-gender"),n))}}),a().createElement(c.A,null))}},1688:(e,t,r)=>{r.d(t,{A:()=>c});var n=r(1609),a=r.n(n),o=r(7723);const c=function(e){return e.title,a().createElement("div",{style:{display:"block",fontSize:".8rem",clear:"both"}},(0,o.__)("Je moet minimaal 18+ zijn om deze dienst te gebruiken. Als je op tijd betaalt, voorkom je extra kosten en zorg je dat je in de toekomst nogmaals gebruik kunt maken van de diensten van {title}. Door verder te gaan, accepteer je de Algemene Voorwaarden en bevestig je dat je de Privacyverklaring en Cookieverklaring hebt gelezen.","wc-buckaroo-bpe-gateway"))}},1471:(e,t,r)=>{r.d(t,{A:()=>l});var n=r(1609),a=r.n(n),o=r(7723);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.r(t),r.d(t,{default:()=>m});var n=r(1609),o=r.n(n),a=r(1912),i=r(1688),l=r(6384),c=r(404);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function f(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=u(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const m=function(e){var t=e.onStateChange,r=e.methodName,n=e.billing,u=f(f({},"".concat(r,"-phone"),(null==n?void 0:n.phone)||""),"".concat(r,"-birthdate"),""),m=(0,l.A)(u,t),y=m.formState,b=m.updateFormState;return o().createElement("div",null,"NL"===n.country&&o().createElement(a.A,{paymentMethod:r,handleBirthDayChange:function(e){b("".concat(r,"-birthdate"),e)}}),""===n.phone&&o().createElement(c.A,{paymentMethod:r,formState:y,handlePhoneChange:function(e){b("".concat(r,"-phone"),e)}}),o().createElement(i.A,{paymentMethod:r}))}},6384:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(1609);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.d(t,{A:()=>i});var n=r(1609),o=r.n(n),a=r(7723);const i=function(e){return e.title,o().createElement("div",{style:{display:"block",fontSize:".8rem",clear:"both"}},(0,a.__)("Je moet minimaal 18+ zijn om deze dienst te gebruiken. Als je op tijd betaalt, voorkom je extra kosten en zorg je dat je in de toekomst nogmaals gebruik kunt maken van de diensten van {title}. Door verder te gaan, accepteer je de Algemene Voorwaarden en bevestig je dat je de Privacyverklaring en Cookieverklaring hebt gelezen.","wc-buckaroo-bpe-gateway"))}},1912:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(1609),o=r.n(n),a=r(9386),i=r.n(a),l=(r(596),r(7723));function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.d(t,{A:()=>i});var n=r(1609),o=r.n(n),a=r(7723);const i=function(e){var t=e.paymentMethod,r=e.formState,n=e.handlePhoneChange;return o().createElement("div",{className:"form-row validate-required"},o().createElement("label",{htmlFor:"".concat(t,"-phone")},(0,a.__)("Phone Number:","wc-buckaroo-bpe-gateway"),o().createElement("span",{className:"required"},"*")),o().createElement("input",{id:"".concat(t,"-phone"),name:"".concat(t,"-phone"),className:"input-text",type:"tel",autoComplete:"off",value:r["".concat(t,"-phone")]||"",onChange:function(e){var t=e.target.value;n(t)}}))}}}]); \ No newline at end of file +"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[495],{1495:(e,t,r)=>{r.r(t),r.d(t,{default:()=>m});var n=r(1609),o=r.n(n),a=r(1912),i=r(1688),l=r(6384),c=r(404);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function f(e,t,r){return(t=function(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const m=function(e){var t=e.onStateChange,r=e.methodName,n=e.billing,u=f(f({},"".concat(r,"-phone"),(null==n?void 0:n.phone)||""),"".concat(r,"-birthdate"),""),m=(0,l.A)(u,t),y=m.formState,b=m.updateFormState;return o().createElement("div",null,"NL"===n.country&&o().createElement(a.A,{paymentMethod:r,handleBirthDayChange:function(e){b("".concat(r,"-birthdate"),e)}}),""===n.phone&&o().createElement(c.A,{paymentMethod:r,formState:y,handlePhoneChange:function(e){b("".concat(r,"-phone"),e)}}),o().createElement(i.A,{paymentMethod:r}))}},6384:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(1609);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.d(t,{A:()=>i});var n=r(1609),o=r.n(n),a=r(7723);const i=function(e){return e.title,o().createElement("div",{style:{display:"block",fontSize:".8rem",clear:"both"}},(0,a.__)("Je moet minimaal 18+ zijn om deze dienst te gebruiken. Als je op tijd betaalt, voorkom je extra kosten en zorg je dat je in de toekomst nogmaals gebruik kunt maken van de diensten van {title}. Door verder te gaan, accepteer je de Algemene Voorwaarden en bevestig je dat je de Privacyverklaring en Cookieverklaring hebt gelezen.","wc-buckaroo-bpe-gateway"))}},1912:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(1609),o=r.n(n),a=r(9386),i=r.n(a),l=(r(596),r(7723));function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.d(t,{A:()=>i});var n=r(1609),o=r.n(n),a=r(7723);const i=function(e){var t=e.paymentMethod,r=e.formState,n=e.handlePhoneChange;return o().createElement("div",{className:"form-row validate-required"},o().createElement("label",{htmlFor:"".concat(t,"-phone")},(0,a.__)("Phone Number:","wc-buckaroo-bpe-gateway"),o().createElement("span",{className:"required"},"*")),o().createElement("input",{id:"".concat(t,"-phone"),name:"".concat(t,"-phone"),className:"input-text",type:"tel",autoComplete:"off",value:r["".concat(t,"-phone")]||"",onChange:function(e){var t=e.target.value;n(t)}}))}}}]); \ No newline at end of file diff --git a/assets/js/dist/714.js b/assets/js/dist/714.js index 9b51b0a58..a1db50bec 100644 --- a/assets/js/dist/714.js +++ b/assets/js/dist/714.js @@ -1 +1 @@ -"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[714],{1714:(e,t,r)=>{r.r(t),r.d(t,{default:()=>d});var n=r(1609),a=r.n(n),o=r(7723),c=r(1912),i=r(1688),l=r(5591);const u=function(e){var t=e.handleChange;return a().createElement("span",{id:"showB2BBuckaroo"},a().createElement("p",{className:"form-row form-row-wide validate-required"},(0,o.__)("Fill required fields if bill in on the company:","wc-buckaroo-bpe-gateway")),a().createElement("p",{className:"form-row form-row-wide validate-required"},a().createElement("label",{htmlFor:"buckaroo-afterpay-company-coc-registration"},(0,o.__)("COC (KvK) number:","wc-buckaroo-bpe-gateway"),a().createElement("span",{className:"required"},"*")),a().createElement("input",{id:"buckaroo-afterpay-company-coc-registration",name:"buckaroo-afterpay-company-coc-registration",className:"input-text",type:"text",maxLength:"250",autoComplete:"off",onChange:t})),a().createElement("p",{className:"form-row form-row-wide validate-required"},a().createElement("label",{htmlFor:"buckaroo-afterpay-company-name"},(0,o.__)("Name of the organization:","wc-buckaroo-bpe-gateway"),a().createElement("span",{className:"required"},"*")),a().createElement("input",{id:"buckaroo-afterpay-company-name",name:"buckaroo-afterpay-company-name",className:"input-text",type:"text",maxLength:"250",autoComplete:"off",onChange:t})))};var m=r(404),f=r(6384),p=r(1288);function y(e){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y(e)}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.d(t,{A:()=>u});var n=r(1609);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.d(t,{A:()=>c});var n=r(1609),a=r.n(n),o=r(7723);const c=function(e){var t=e.methodName,r=e.handleChange;return a().createElement("p",{className:"form-row form-row-wide validate-required"},a().createElement("label",{htmlFor:"".concat(t,"-company-coc-registration")},(0,o.__)("CoC-number:","wc-buckaroo-bpe-gateway"),a().createElement("span",{className:"required"},"*")),a().createElement("input",{id:"".concat(t,"-company-coc-registration"),name:"".concat(t,"-company-coc-registration"),className:"input-text",type:"text",maxLength:"250",autoComplete:"off",onChange:r}))}},1688:(e,t,r)=>{r.d(t,{A:()=>c});var n=r(1609),a=r.n(n),o=r(7723);const c=function(e){return e.title,a().createElement("div",{style:{display:"block",fontSize:".8rem",clear:"both"}},(0,o.__)("Je moet minimaal 18+ zijn om deze dienst te gebruiken. Als je op tijd betaalt, voorkom je extra kosten en zorg je dat je in de toekomst nogmaals gebruik kunt maken van de diensten van {title}. Door verder te gaan, accepteer je de Algemene Voorwaarden en bevestig je dat je de Privacyverklaring en Cookieverklaring hebt gelezen.","wc-buckaroo-bpe-gateway"))}},1912:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(1609),a=r.n(n),o=r(9386),c=r.n(o),i=(r(596),r(7723));function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.d(t,{A:()=>c});var n=r(1609),a=r.n(n),o=r(7723);const c=function(e){var t=e.paymentMethod,r=e.formState,n=e.handlePhoneChange;return a().createElement("div",{className:"form-row validate-required"},a().createElement("label",{htmlFor:"".concat(t,"-phone")},(0,o.__)("Phone Number:","wc-buckaroo-bpe-gateway"),a().createElement("span",{className:"required"},"*")),a().createElement("input",{id:"".concat(t,"-phone"),name:"".concat(t,"-phone"),className:"input-text",type:"tel",autoComplete:"off",value:r["".concat(t,"-phone")]||"",onChange:function(e){var t=e.target.value;n(t)}}))}},5591:(e,t,r)=>{r.d(t,{A:()=>i});var n=r(1609),a=r.n(n),o=r(7723);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r1&&void 0!==arguments[1]&&arguments[1]?"b2b_invoice":"invoice";return"".concat("https://documents.riverty.com/terms_conditions/payment_methods/").concat(r,"/").concat(t,"/")}(b,l);return"buckaroo-billink"===i&&(d=(0,o.__)("Accept terms of use","wc-buckaroo-bpe-gateway"),h="https://www.billink.nl/app/uploads/2021/05/Gebruikersvoorwaarden-Billink_V11052021.pdf"),a().createElement("div",null,a().createElement("a",{href:"".concat(h),target:"_blank",rel:"noreferrer"},d),a().createElement("span",{className:"required"},"*"),a().createElement("input",{id:"".concat(s,"-accept"),name:"".concat(s,"-accept"),type:"checkbox",checked:p,onChange:function(){y(!p),u(!p)}}),a().createElement("p",{className:"required",style:{float:"right"}},"* Required"))}}}]); \ No newline at end of file +"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[714],{1714:(e,t,r)=>{r.r(t),r.d(t,{default:()=>d});var n=r(1609),a=r.n(n),o=r(7723),c=r(1912),i=r(1688),l=r(5591);const u=function(e){var t=e.handleChange;return a().createElement("span",{id:"showB2BBuckaroo"},a().createElement("p",{className:"form-row form-row-wide validate-required"},(0,o.__)("Fill required fields if bill in on the company:","wc-buckaroo-bpe-gateway")),a().createElement("p",{className:"form-row form-row-wide validate-required"},a().createElement("label",{htmlFor:"buckaroo-afterpay-company-coc-registration"},(0,o.__)("COC (KvK) number:","wc-buckaroo-bpe-gateway"),a().createElement("span",{className:"required"},"*")),a().createElement("input",{id:"buckaroo-afterpay-company-coc-registration",name:"buckaroo-afterpay-company-coc-registration",className:"input-text",type:"text",maxLength:"250",autoComplete:"off",onChange:t})),a().createElement("p",{className:"form-row form-row-wide validate-required"},a().createElement("label",{htmlFor:"buckaroo-afterpay-company-name"},(0,o.__)("Name of the organization:","wc-buckaroo-bpe-gateway"),a().createElement("span",{className:"required"},"*")),a().createElement("input",{id:"buckaroo-afterpay-company-name",name:"buckaroo-afterpay-company-name",className:"input-text",type:"text",maxLength:"250",autoComplete:"off",onChange:t})))};var m=r(404),f=r(6384),p=r(1288);function y(e){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y(e)}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.d(t,{A:()=>u});var n=r(1609);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.d(t,{A:()=>c});var n=r(1609),a=r.n(n),o=r(7723);const c=function(e){var t=e.methodName,r=e.handleChange;return a().createElement("p",{className:"form-row form-row-wide validate-required"},a().createElement("label",{htmlFor:"".concat(t,"-company-coc-registration")},(0,o.__)("CoC-number:","wc-buckaroo-bpe-gateway"),a().createElement("span",{className:"required"},"*")),a().createElement("input",{id:"".concat(t,"-company-coc-registration"),name:"".concat(t,"-company-coc-registration"),className:"input-text",type:"text",maxLength:"250",autoComplete:"off",onChange:r}))}},1688:(e,t,r)=>{r.d(t,{A:()=>c});var n=r(1609),a=r.n(n),o=r(7723);const c=function(e){return e.title,a().createElement("div",{style:{display:"block",fontSize:".8rem",clear:"both"}},(0,o.__)("Je moet minimaal 18+ zijn om deze dienst te gebruiken. Als je op tijd betaalt, voorkom je extra kosten en zorg je dat je in de toekomst nogmaals gebruik kunt maken van de diensten van {title}. Door verder te gaan, accepteer je de Algemene Voorwaarden en bevestig je dat je de Privacyverklaring en Cookieverklaring hebt gelezen.","wc-buckaroo-bpe-gateway"))}},1912:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(1609),a=r.n(n),o=r(9386),c=r.n(o),i=(r(596),r(7723));function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.d(t,{A:()=>c});var n=r(1609),a=r.n(n),o=r(7723);const c=function(e){var t=e.paymentMethod,r=e.formState,n=e.handlePhoneChange;return a().createElement("div",{className:"form-row validate-required"},a().createElement("label",{htmlFor:"".concat(t,"-phone")},(0,o.__)("Phone Number:","wc-buckaroo-bpe-gateway"),a().createElement("span",{className:"required"},"*")),a().createElement("input",{id:"".concat(t,"-phone"),name:"".concat(t,"-phone"),className:"input-text",type:"tel",autoComplete:"off",value:r["".concat(t,"-phone")]||"",onChange:function(e){var t=e.target.value;n(t)}}))}},5591:(e,t,r)=>{r.d(t,{A:()=>i});var n=r(1609),a=r.n(n),o=r(7723);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r1&&void 0!==arguments[1]&&arguments[1]?"b2b_invoice":"invoice";return"".concat("https://documents.riverty.com/terms_conditions/payment_methods/").concat(r,"/").concat(t,"/")}(b,l);return"buckaroo-billink"===i&&(d=(0,o.__)("Accept terms of use","wc-buckaroo-bpe-gateway"),h="https://www.billink.nl/app/uploads/2021/05/Gebruikersvoorwaarden-Billink_V11052021.pdf"),a().createElement("div",null,a().createElement("a",{href:"".concat(h),target:"_blank",rel:"noreferrer"},d),a().createElement("span",{className:"required"},"*"),a().createElement("input",{id:"".concat(s,"-accept"),name:"".concat(s,"-accept"),type:"checkbox",checked:p,onChange:function(){y(!p),u(!p)}}),a().createElement("p",{className:"required",style:{float:"right"}},"* Required"))}}}]); \ No newline at end of file diff --git a/assets/js/dist/744.js b/assets/js/dist/744.js index 07c2176bc..4bd6a6499 100644 --- a/assets/js/dist/744.js +++ b/assets/js/dist/744.js @@ -1,2 +1,2 @@ /*! For license information please see 744.js.LICENSE.txt */ -"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[744],{744:(t,e,r)=>{r.r(e),r.d(e,{default:()=>d});var n=r(1609),a=r.n(n),o=r(7723);function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--o){var c=this.tryEntries[o],i=c.completion;if("root"===c.tryLoc)return a("end");if(c.tryLoc<=this.prev){var u=n.call(c,"catchLoc"),l=n.call(c,"finallyLoc");if(u&&l){if(this.prev=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),b}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var a=n.arg;A(r)}return a}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:I(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),b}},e}function m(t,e,r,n,a,o,c){try{var i=t[o](c),u=i.value}catch(t){return void r(t)}i.done?e(u):Promise.resolve(u).then(n,a)}function h(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=s(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==s(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}const d=function(t){var e=t.onStateChange,r=(t.methodName,t.gateway),c=r.paymentMethodId,s=r.creditCardIssuers,d=r.creditCardMethod,p=r.creditCardIsSecure,y=h(h(h(h(h(h(h({},"".concat(c,"-creditcard-issuer"),""),"".concat(c,"-cardname"),""),"".concat(c,"-cardnumber"),""),"".concat(c,"-cardmonth"),""),"".concat(c,"-cardyear"),""),"".concat(c,"-cardcvc"),""),"".concat(c,"-encrypted-data"),""),v=(0,l.A)(y,e),b=v.formState,g=v.handleChange,w=v.updateFormState,E=function(){var t,e=(t=f().mark((function t(){var e,r;return f().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,e={cardName:b["".concat(c,"-cardname")],cardNumber:b["".concat(c,"-cardnumber")],cardMonth:b["".concat(c,"-cardmonth")],cardYear:b["".concat(c,"-cardyear")],cardCVC:b["".concat(c,"-cardcvc")]},t.next=4,(0,u.A)(e);case 4:r=t.sent,w("".concat(c,"-encrypted-data"),r),t.next=11;break;case 8:t.prev=8,t.t0=t.catch(0),console.error("Encryption error:",t.t0);case 11:case"end":return t.stop()}}),t,null,[[0,8]])})),function(){var e=this,r=arguments;return new Promise((function(n,a){var o=t.apply(e,r);function c(t){m(o,n,a,c,i,"next",t)}function i(t){m(o,n,a,c,i,"throw",t)}c(void 0)}))});return function(){return e.apply(this,arguments)}}();return(0,n.useEffect)((function(){"encrypt"===d&&!0===p&&E()}),[b["".concat(c,"-cardname")],b["".concat(c,"-cardnumber")],b["".concat(c,"-cardmonth")],b["".concat(c,"-cardyear")],b["".concat(c,"-cardcvc")],d,p]),a().createElement("div",null,a().createElement("p",{className:"form-row form-row-wide"},a().createElement(i,{paymentMethodId:c,creditCardIssuers:s,handleChange:g})),"encrypt"===d&&!0===p&&a().createElement("div",{className:"method--bankdata"},a().createElement("div",{className:"form-row"},a().createElement("label",{className:"buckaroo-label",htmlFor:"".concat(c,"-cardname")},(0,o.__)("Cardholder Name:","wc-buckaroo-bpe-gateway"),a().createElement("span",{className:"required"},"*")),a().createElement("input",{type:"text",name:"".concat(c,"-cardname"),id:"".concat(c,"-cardname"),placeholder:(0,o.__)("Cardholder Name:","wc-buckaroo-bpe-gateway"),className:"cardHolderName input-text",maxLength:"250",autoComplete:"off",onChange:g})),a().createElement("div",{className:"form-row"},a().createElement("label",{className:"buckaroo-label",htmlFor:"".concat(c,"-cardnumber")},(0,o.__)("Card Number:","wc-buckaroo-bpe-gateway"),a().createElement("span",{className:"required"},"*")),a().createElement("input",{type:"text",name:"".concat(c,"-cardnumber"),id:"".concat(c,"-cardnumber"),placeholder:(0,o.__)("Card Number:","wc-buckaroo-bpe-gateway"),className:"cardNumber input-text",maxLength:"250",autoComplete:"off",onChange:g})),a().createElement("div",{className:"form-row"},a().createElement("label",{className:"buckaroo-label",htmlFor:"".concat(c,"-cardmonth")},(0,o.__)("Expiration Month:","wc-buckaroo-bpe-gateway"),a().createElement("span",{className:"required"},"*")),a().createElement("input",{type:"text",maxLength:"2",name:"".concat(c,"-cardmonth"),id:"".concat(c,"-cardmonth"),placeholder:(0,o.__)("Expiration Month:","wc-buckaroo-bpe-gateway"),className:"expirationMonth input-text",autoComplete:"off",onChange:g})),a().createElement("div",{className:"form-row"},a().createElement("label",{className:"buckaroo-label",htmlFor:"".concat(c,"-cardyear")},(0,o.__)("Expiration Year:","wc-buckaroo-bpe-gateway"),a().createElement("span",{className:"required"},"*")),a().createElement("input",{type:"text",maxLength:"4",name:"".concat(c,"-cardyear"),id:"".concat(c,"-cardyear"),placeholder:(0,o.__)("Expiration Year:","wc-buckaroo-bpe-gateway"),className:"expirationYear input-text",autoComplete:"off",onChange:g})),a().createElement("div",{className:"form-row"},a().createElement("label",{className:"buckaroo-label",htmlFor:"".concat(c,"-cardcvc")},(0,o.__)("CVC:","wc-buckaroo-bpe-gateway"),a().createElement("span",{className:"required"},"*")),a().createElement("input",{type:"password",maxLength:"4",name:"".concat(c,"-cardcvc"),id:"".concat(c,"-cardcvc"),placeholder:(0,o.__)("CVC:","wc-buckaroo-bpe-gateway"),className:"cvc input-text",autoComplete:"off",onChange:g})),a().createElement("div",{className:"form-row form-row-wide validate-required"}),a().createElement("div",{className:"required",style:{float:"right"}},"*",(0,o.__)("Required","wc-buckaroo-bpe-gateway"))))}},6384:(t,e,r)=>{r.d(e,{A:()=>l});var n=r(1609);function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function c(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);r{var n;r.d(e,{A:()=>o}),function(t){!function(t){var e;t.validateCardNumber=function(t,e){if(null==t)return!1;if(/[^0-9]+/.test(t))return!1;if(t.length<10||t.length>19)return!1;for(var r=0,n=0;n9&&(a-=9),r+=a}if(r%10!=0)return!1;if(null==e)return!0;switch(e.toLowerCase()){case"visa":case"visaelectron":case"vpay":case"cartebleuevisa":case"dankort":return/^4[0-9]{12}(?:[0-9]{3})?$/.test(t);case"postepay":case"mastercard":return/^(5[1-5]|2[2-7])[0-9]{14}$/.test(t);case"bancontactmrcash":case"bancontact":return/^(4796|6060|6703|5613|5614)[0-9]{12,15}$/.test(t);case"maestro":return/^\d{12,19}$/.test(t);case"amex":case"americanexpress":return/^3[47][0-9]{13}$/.test(t);case"cartebancaire":case"cartasi":return/^((5[1-5]|2[2-7])[0-9]{14})|(4[0-9]{12}(?:[0-9]{3})?)$/.test(t);default:return!1}},t.validateCvc=function(t,e){if(null==t)return!1;if(null==e){if(0===t.length)return!0;if(3!==t.length&&4!==t.length)return!1}else switch(e.toLowerCase()){case"bancontactmrcash":case"bancontact":case"maestro":return 0===t.length;case"amex":case"americanexpress":if(4!==t.length)return!1;break;default:if(3!==t.length)return!1}return!/[^0-9]+/.test(t)},t.validateYear=function(t){return null!=t&&!/[^0-9]+/.test(t)&&(2===t.length||4===t.length)},t.validateMonth=function(t){if(null==t)return!1;if(/[^0-9]+/.test(t))return!1;if(1!==t.length&&2!==t.length)return!1;var e=parseInt(t);return!(e<1||e>12)},t.validateCardholderName=function(t){return null!=t&&!(null==(e=t)||e.replace(/\s/g,"").length<1);var e},function(t){t.algorithm="RSA-OAEP",t.hashName="SHA-1",t.exponent="AQAB",t.keyType="RSA",t.modulus="4NdLa7WIq-ygcTo4tGFu8ec7qRwtZ1jLEjKntXfs56gaWtaYSxc-er7ljG22rbv41T5raYfdzvPqV3YcTFCOLpdJIJkzTvorY-IDR09kN6uHKGutSjdkDpYrKFHeU_x0W7P0GUW2Sc14B7G_L8C2eMSqkDAMtANyvOCHdk_2chYOgYqIuZfInTaNEzHbYb6i-D5sKeu1D15G2uEFY-gkuLmtDq3xPUzK_G-haG4KsIL5JKbt-kV3_Dibu3OUpiMDN1YpocqaUR5soFmKiJi1PHtgQZ0aydXxveHIRhtE-5FgL7w307gOqbMJ4q3fXDAZQzKBwlNYnwgAaFW1PSzk9w",t.version="001",t.keyFormat="jwk",t.keyOperations=["encrypt"],t.publicKeyData={alg:t.algorithm,e:t.exponent,ext:!0,kty:t.keyType,n:t.modulus},t.algorithmParams={name:t.algorithm,hash:{name:t.hashName}}}(e||(e={}));var r=function(t){return btoa(String.fromCharCode.apply(null,t))},n=function(t,e,r,n,a){for(var o="".concat(t,",").concat(e,",").concat(r,",").concat(n,",").concat(a),c=unescape(encodeURIComponent(o)),i=[],u=0;u0||navigator.userAgent.match(/Trident.*rv\:11\./)?t.encryptCardDataIE(e,r,n,a,o,c):t.encryptCardDataOther(e,r,n,a,o).then((function(t){c(t)}),(function(t){console.log(t)}))}}(t.V001||(t.V001={}))}(n||(n={}));const a=n,o=function(t){var e=t.cardNumber,r=t.cardYear,n=t.cardMonth,o=t.cardCVC,c=t.cardName,i=a.V001;return new Promise((function(t){i.validateCardNumber(e)&&i.validateCvc(o)&&i.validateCardholderName(c)&&i.validateYear(r)&&i.validateMonth(n)&&a.V001.encryptCardData(e,r,n,o,c,(function(e){t(e)}))}))}}}]); \ No newline at end of file +"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[744],{744:(t,e,r)=>{r.r(e),r.d(e,{default:()=>d});var n=r(1609),a=r.n(n),o=r(7723);function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0;--o){var c=this.tryEntries[o],i=c.completion;if("root"===c.tryLoc)return a("end");if(c.tryLoc<=this.prev){var u=n.call(c,"catchLoc"),l=n.call(c,"finallyLoc");if(u&&l){if(this.prev=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),b}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var a=n.arg;A(r)}return a}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:I(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),b}},e}function m(t,e,r,n,a,o,c){try{var i=t[o](c),u=i.value}catch(t){return void r(t)}i.done?e(u):Promise.resolve(u).then(n,a)}function h(t,e,r){return(e=function(t){var e=function(t){if("object"!=s(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==s(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}const d=function(t){var e=t.onStateChange,r=(t.methodName,t.gateway),c=r.paymentMethodId,s=r.creditCardIssuers,d=r.creditCardMethod,p=r.creditCardIsSecure,y=h(h(h(h(h(h(h({},"".concat(c,"-creditcard-issuer"),""),"".concat(c,"-cardname"),""),"".concat(c,"-cardnumber"),""),"".concat(c,"-cardmonth"),""),"".concat(c,"-cardyear"),""),"".concat(c,"-cardcvc"),""),"".concat(c,"-encrypted-data"),""),v=(0,l.A)(y,e),b=v.formState,g=v.handleChange,w=v.updateFormState,E=function(){var t,e=(t=f().mark((function t(){var e,r;return f().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,e={cardName:b["".concat(c,"-cardname")],cardNumber:b["".concat(c,"-cardnumber")],cardMonth:b["".concat(c,"-cardmonth")],cardYear:b["".concat(c,"-cardyear")],cardCVC:b["".concat(c,"-cardcvc")]},t.next=4,(0,u.A)(e);case 4:r=t.sent,w("".concat(c,"-encrypted-data"),r),t.next=11;break;case 8:t.prev=8,t.t0=t.catch(0),console.error("Encryption error:",t.t0);case 11:case"end":return t.stop()}}),t,null,[[0,8]])})),function(){var e=this,r=arguments;return new Promise((function(n,a){var o=t.apply(e,r);function c(t){m(o,n,a,c,i,"next",t)}function i(t){m(o,n,a,c,i,"throw",t)}c(void 0)}))});return function(){return e.apply(this,arguments)}}();return(0,n.useEffect)((function(){"encrypt"===d&&!0===p&&E()}),[b["".concat(c,"-cardname")],b["".concat(c,"-cardnumber")],b["".concat(c,"-cardmonth")],b["".concat(c,"-cardyear")],b["".concat(c,"-cardcvc")],d,p]),a().createElement("div",null,a().createElement("p",{className:"form-row form-row-wide"},a().createElement(i,{paymentMethodId:c,creditCardIssuers:s,handleChange:g})),"encrypt"===d&&!0===p&&a().createElement("div",{className:"method--bankdata"},a().createElement("div",{className:"form-row"},a().createElement("label",{className:"buckaroo-label",htmlFor:"".concat(c,"-cardname")},(0,o.__)("Cardholder Name:","wc-buckaroo-bpe-gateway"),a().createElement("span",{className:"required"},"*")),a().createElement("input",{type:"text",name:"".concat(c,"-cardname"),id:"".concat(c,"-cardname"),placeholder:(0,o.__)("Cardholder Name:","wc-buckaroo-bpe-gateway"),className:"cardHolderName input-text",maxLength:"250",autoComplete:"off",onChange:g})),a().createElement("div",{className:"form-row"},a().createElement("label",{className:"buckaroo-label",htmlFor:"".concat(c,"-cardnumber")},(0,o.__)("Card Number:","wc-buckaroo-bpe-gateway"),a().createElement("span",{className:"required"},"*")),a().createElement("input",{type:"text",name:"".concat(c,"-cardnumber"),id:"".concat(c,"-cardnumber"),placeholder:(0,o.__)("Card Number:","wc-buckaroo-bpe-gateway"),className:"cardNumber input-text",maxLength:"250",autoComplete:"off",onChange:g})),a().createElement("div",{className:"form-row"},a().createElement("label",{className:"buckaroo-label",htmlFor:"".concat(c,"-cardmonth")},(0,o.__)("Expiration Month:","wc-buckaroo-bpe-gateway"),a().createElement("span",{className:"required"},"*")),a().createElement("input",{type:"text",maxLength:"2",name:"".concat(c,"-cardmonth"),id:"".concat(c,"-cardmonth"),placeholder:(0,o.__)("Expiration Month:","wc-buckaroo-bpe-gateway"),className:"expirationMonth input-text",autoComplete:"off",onChange:g})),a().createElement("div",{className:"form-row"},a().createElement("label",{className:"buckaroo-label",htmlFor:"".concat(c,"-cardyear")},(0,o.__)("Expiration Year:","wc-buckaroo-bpe-gateway"),a().createElement("span",{className:"required"},"*")),a().createElement("input",{type:"text",maxLength:"4",name:"".concat(c,"-cardyear"),id:"".concat(c,"-cardyear"),placeholder:(0,o.__)("Expiration Year:","wc-buckaroo-bpe-gateway"),className:"expirationYear input-text",autoComplete:"off",onChange:g})),a().createElement("div",{className:"form-row"},a().createElement("label",{className:"buckaroo-label",htmlFor:"".concat(c,"-cardcvc")},(0,o.__)("CVC:","wc-buckaroo-bpe-gateway"),a().createElement("span",{className:"required"},"*")),a().createElement("input",{type:"password",maxLength:"4",name:"".concat(c,"-cardcvc"),id:"".concat(c,"-cardcvc"),placeholder:(0,o.__)("CVC:","wc-buckaroo-bpe-gateway"),className:"cvc input-text",autoComplete:"off",onChange:g})),a().createElement("div",{className:"form-row form-row-wide validate-required"}),a().createElement("div",{className:"required",style:{float:"right"}},"*",(0,o.__)("Required","wc-buckaroo-bpe-gateway"))))}},6384:(t,e,r)=>{r.d(e,{A:()=>l});var n=r(1609);function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function c(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);r{var n;r.d(e,{A:()=>o}),function(t){!function(t){var e;t.validateCardNumber=function(t,e){if(null==t)return!1;if(/[^0-9]+/.test(t))return!1;if(t.length<10||t.length>19)return!1;for(var r=0,n=0;n9&&(a-=9),r+=a}if(r%10!=0)return!1;if(null==e)return!0;switch(e.toLowerCase()){case"visa":case"visaelectron":case"vpay":case"cartebleuevisa":case"dankort":return/^4[0-9]{12}(?:[0-9]{3})?$/.test(t);case"postepay":case"mastercard":return/^(5[1-5]|2[2-7])[0-9]{14}$/.test(t);case"bancontactmrcash":case"bancontact":return/^(4796|6060|6703|5613|5614)[0-9]{12,15}$/.test(t);case"maestro":return/^\d{12,19}$/.test(t);case"amex":case"americanexpress":return/^3[47][0-9]{13}$/.test(t);case"cartebancaire":case"cartasi":return/^((5[1-5]|2[2-7])[0-9]{14})|(4[0-9]{12}(?:[0-9]{3})?)$/.test(t);default:return!1}},t.validateCvc=function(t,e){if(null==t)return!1;if(null==e){if(0===t.length)return!0;if(3!==t.length&&4!==t.length)return!1}else switch(e.toLowerCase()){case"bancontactmrcash":case"bancontact":case"maestro":return 0===t.length;case"amex":case"americanexpress":if(4!==t.length)return!1;break;default:if(3!==t.length)return!1}return!/[^0-9]+/.test(t)},t.validateYear=function(t){return null!=t&&!/[^0-9]+/.test(t)&&(2===t.length||4===t.length)},t.validateMonth=function(t){if(null==t)return!1;if(/[^0-9]+/.test(t))return!1;if(1!==t.length&&2!==t.length)return!1;var e=parseInt(t);return!(e<1||e>12)},t.validateCardholderName=function(t){return null!=t&&!(null==(e=t)||e.replace(/\s/g,"").length<1);var e},function(t){t.algorithm="RSA-OAEP",t.hashName="SHA-1",t.exponent="AQAB",t.keyType="RSA",t.modulus="4NdLa7WIq-ygcTo4tGFu8ec7qRwtZ1jLEjKntXfs56gaWtaYSxc-er7ljG22rbv41T5raYfdzvPqV3YcTFCOLpdJIJkzTvorY-IDR09kN6uHKGutSjdkDpYrKFHeU_x0W7P0GUW2Sc14B7G_L8C2eMSqkDAMtANyvOCHdk_2chYOgYqIuZfInTaNEzHbYb6i-D5sKeu1D15G2uEFY-gkuLmtDq3xPUzK_G-haG4KsIL5JKbt-kV3_Dibu3OUpiMDN1YpocqaUR5soFmKiJi1PHtgQZ0aydXxveHIRhtE-5FgL7w307gOqbMJ4q3fXDAZQzKBwlNYnwgAaFW1PSzk9w",t.version="001",t.keyFormat="jwk",t.keyOperations=["encrypt"],t.publicKeyData={alg:t.algorithm,e:t.exponent,ext:!0,kty:t.keyType,n:t.modulus},t.algorithmParams={name:t.algorithm,hash:{name:t.hashName}}}(e||(e={}));var r=function(t){return btoa(String.fromCharCode.apply(null,t))},n=function(t,e,r,n,a){for(var o="".concat(t,",").concat(e,",").concat(r,",").concat(n,",").concat(a),c=unescape(encodeURIComponent(o)),i=[],u=0;u0||navigator.userAgent.match(/Trident.*rv\:11\./)?t.encryptCardDataIE(e,r,n,a,o,c):t.encryptCardDataOther(e,r,n,a,o).then((function(t){c(t)}),(function(t){console.log(t)}))}}(t.V001||(t.V001={}))}(n||(n={}));const a=n,o=function(t){var e=t.cardNumber,r=t.cardYear,n=t.cardMonth,o=t.cardCVC,c=t.cardName,i=a.V001;return new Promise((function(t){i.validateCardNumber(e)&&i.validateCvc(o)&&i.validateCardholderName(c)&&i.validateYear(r)&&i.validateMonth(n)&&a.V001.encryptCardData(e,r,n,o,c,(function(e){t(e)}))}))}}}]); \ No newline at end of file diff --git a/assets/js/dist/751.js b/assets/js/dist/751.js index c454c0543..582844898 100644 --- a/assets/js/dist/751.js +++ b/assets/js/dist/751.js @@ -1 +1 @@ -"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[751],{8751:(e,t,r)=>{r.r(t),r.d(t,{default:()=>l});var n=r(1609),o=r.n(n),a=r(7723),c=r(6384);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function u(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==i(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=function(e){var t=e.onStateChange,r=e.methodName,n=e.billing,i=u(u(u({},"".concat(r,"-accountname"),"".concat(n.first_name," ").concat(n.last_name)),"".concat(r,"-iban"),""),"".concat(r,"-bic"),""),l=(0,c.A)(i,t),b=l.formState,m=l.handleChange;return o().createElement("div",null,o().createElement("div",{className:"form-row form-row-wide validate-required"},o().createElement("label",{htmlFor:"buckaroo-sepadirectdebit-accountname"},o().createElement("span",{className:"required"},"*"),(0,a.__)("Bank account holder:","wc-buckaroo-bpe-gateway")),o().createElement("input",{id:"buckaroo-sepadirectdebit-accountname",name:"buckaroo-sepadirectdebit-accountname",className:"input-text",type:"text",maxLength:"250",autoComplete:"off",value:b["".concat(r,"-accountname")],onChange:m})),o().createElement("div",{className:"form-row form-row-wide validate-required"},o().createElement("label",{htmlFor:"buckaroo-sepadirectdebit-iban"},(0,a.__)("IBAN:","wc-buckaroo-bpe-gateway"),o().createElement("span",{className:"required"},"*")),o().createElement("input",{id:"buckaroo-sepadirectdebit-iban",name:"buckaroo-sepadirectdebit-iban",className:"input-text",type:"text",maxLength:"25",autoComplete:"off",value:b["".concat(r,"-iban")],onChange:m})),o().createElement("div",{className:"form-row form-row-wide"},o().createElement("label",{htmlFor:"buckaroo-sepadirectdebit-bic"},(0,a.__)("BIC:","wc-buckaroo-bpe-gateway")),o().createElement("input",{id:"buckaroo-sepadirectdebit-bic",name:"buckaroo-sepadirectdebit-bic",className:"input-text",type:"text",maxLength:"11",autoComplete:"off",value:b["".concat(r,"-bic")],onChange:m})),o().createElement("div",{className:"required",style:{float:"right"}},"*",(0,a.__)("Required","wc-buckaroo-bpe-gateway")),o().createElement("br",null))}},6384:(e,t,r)=>{r.d(t,{A:()=>l});var n=r(1609);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.r(t),r.d(t,{default:()=>l});var n=r(1609),o=r.n(n),a=r(7723),c=r(6384);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function u(e,t,r){return(t=function(e){var t=function(e){if("object"!=i(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==i(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=function(e){var t=e.onStateChange,r=e.methodName,n=e.billing,i=u(u(u({},"".concat(r,"-accountname"),"".concat(n.first_name," ").concat(n.last_name)),"".concat(r,"-iban"),""),"".concat(r,"-bic"),""),l=(0,c.A)(i,t),b=l.formState,m=l.handleChange;return o().createElement("div",null,o().createElement("div",{className:"form-row form-row-wide validate-required"},o().createElement("label",{htmlFor:"buckaroo-sepadirectdebit-accountname"},o().createElement("span",{className:"required"},"*"),(0,a.__)("Bank account holder:","wc-buckaroo-bpe-gateway")),o().createElement("input",{id:"buckaroo-sepadirectdebit-accountname",name:"buckaroo-sepadirectdebit-accountname",className:"input-text",type:"text",maxLength:"250",autoComplete:"off",value:b["".concat(r,"-accountname")],onChange:m})),o().createElement("div",{className:"form-row form-row-wide validate-required"},o().createElement("label",{htmlFor:"buckaroo-sepadirectdebit-iban"},(0,a.__)("IBAN:","wc-buckaroo-bpe-gateway"),o().createElement("span",{className:"required"},"*")),o().createElement("input",{id:"buckaroo-sepadirectdebit-iban",name:"buckaroo-sepadirectdebit-iban",className:"input-text",type:"text",maxLength:"25",autoComplete:"off",value:b["".concat(r,"-iban")],onChange:m})),o().createElement("div",{className:"form-row form-row-wide"},o().createElement("label",{htmlFor:"buckaroo-sepadirectdebit-bic"},(0,a.__)("BIC:","wc-buckaroo-bpe-gateway")),o().createElement("input",{id:"buckaroo-sepadirectdebit-bic",name:"buckaroo-sepadirectdebit-bic",className:"input-text",type:"text",maxLength:"11",autoComplete:"off",value:b["".concat(r,"-bic")],onChange:m})),o().createElement("div",{className:"required",style:{float:"right"}},"*",(0,a.__)("Required","wc-buckaroo-bpe-gateway")),o().createElement("br",null))}},6384:(e,t,r)=>{r.d(t,{A:()=>l});var n=r(1609);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.r(t),r.d(t,{default:()=>i});var n=r(1609),a=r.n(n),o=r(1471),c=r(1688);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}const i=function(e){var t=e.onStateChange,r=e.methodName,n=e.gateway.genders;return a().createElement("div",{id:"buckaroo_klarnapay"},a().createElement(o.A,{paymentMethod:r,genders:n,handleChange:function(e){var n=e.target.value;t(function(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=l(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==l(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}({},"".concat(r,"-gender"),n))}}),a().createElement(c.A,null))}},1688:(e,t,r)=>{r.d(t,{A:()=>c});var n=r(1609),a=r.n(n),o=r(7723);const c=function(e){return e.title,a().createElement("div",{style:{display:"block",fontSize:".8rem",clear:"both"}},(0,o.__)("Je moet minimaal 18+ zijn om deze dienst te gebruiken. Als je op tijd betaalt, voorkom je extra kosten en zorg je dat je in de toekomst nogmaals gebruik kunt maken van de diensten van {title}. Door verder te gaan, accepteer je de Algemene Voorwaarden en bevestig je dat je de Privacyverklaring en Cookieverklaring hebt gelezen.","wc-buckaroo-bpe-gateway"))}},1471:(e,t,r)=>{r.d(t,{A:()=>l});var n=r(1609),a=r.n(n),o=r(7723);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.r(t),r.d(t,{default:()=>i});var n=r(1609),a=r.n(n),o=r(1471),c=r(1688);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}const i=function(e){var t=e.onStateChange,r=e.methodName,n=e.gateway.genders;return a().createElement("div",{id:"buckaroo_klarnapay"},a().createElement(o.A,{paymentMethod:r,genders:n,handleChange:function(e){var n=e.target.value;t(function(e,t,r){return(t=function(e){var t=function(e){if("object"!=l(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==l(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}({},"".concat(r,"-gender"),n))}}),a().createElement(c.A,null))}},1688:(e,t,r)=>{r.d(t,{A:()=>c});var n=r(1609),a=r.n(n),o=r(7723);const c=function(e){return e.title,a().createElement("div",{style:{display:"block",fontSize:".8rem",clear:"both"}},(0,o.__)("Je moet minimaal 18+ zijn om deze dienst te gebruiken. Als je op tijd betaalt, voorkom je extra kosten en zorg je dat je in de toekomst nogmaals gebruik kunt maken van de diensten van {title}. Door verder te gaan, accepteer je de Algemene Voorwaarden en bevestig je dat je de Privacyverklaring en Cookieverklaring hebt gelezen.","wc-buckaroo-bpe-gateway"))}},1471:(e,t,r)=>{r.d(t,{A:()=>l});var n=r(1609),a=r.n(n),o=r(7723);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.r(t),r.d(t,{default:()=>m});var n=r(1609),a=r.n(n),o=r(7723),l=r(1471),c=r(6384);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function u(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==i(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const m=function(e){var t=e.onStateChange,r=e.methodName,n=e.gateway.genders,i=e.billing,m=u(u(u(u({},"".concat(r,"-firstname"),(null==i?void 0:i.first_name)||""),"".concat(r,"-lastname"),(null==i?void 0:i.last_name)||""),"".concat(r,"-email"),(null==i?void 0:i.email)||""),"".concat(r,"-gender"),""),f=(0,c.A)(m,t),s=f.formState,y=f.handleChange;return a().createElement("div",null,a().createElement(l.A,{paymentMethod:r,genders:n,handleChange:y}),a().createElement("div",{className:"form-row validate-required"},a().createElement("label",{htmlFor:"buckaroo-payperemail-firstname"},(0,o.__)("First Name:","wc-buckaroo-bpe-gateway"),a().createElement("span",{className:"required"},"*")),a().createElement("input",{id:"buckaroo-payperemail-firstname",name:"buckaroo-payperemail-firstname",className:"input-text",type:"text",autoComplete:"off",value:s["".concat(r,"-firstname")]||"",onChange:y})),a().createElement("div",{className:"form-row validate-required"},a().createElement("label",{htmlFor:"buckaroo-payperemail-lastname"},(0,o.__)("Last Name:","wc-buckaroo-bpe-gateway"),a().createElement("span",{className:"required"},"*")),a().createElement("input",{id:"buckaroo-payperemail-lastname",name:"buckaroo-payperemail-lastname",className:"input-text",type:"text",autoComplete:"off",value:s["".concat(r,"-lastname")]||"",onChange:y})),a().createElement("div",{className:"form-row validate-required"},a().createElement("label",{htmlFor:"buckaroo-payperemail-email"},(0,o.__)("Email:","wc-buckaroo-bpe-gateway"),a().createElement("span",{className:"required"},"*")),a().createElement("input",{id:"buckaroo-payperemail-email",name:"buckaroo-payperemail-email",className:"input-text",type:"email",autoComplete:"off",value:s["".concat(r,"-email")]||"",onChange:y})),a().createElement("div",{className:"required",style:{float:"right"}},"*",(0,o.__)("Required","wc-buckaroo-bpe-gateway")),a().createElement("br",null))}},6384:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(1609);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.d(t,{A:()=>c});var n=r(1609),a=r.n(n),o=r(7723);function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.r(t),r.d(t,{default:()=>m});var n=r(1609),a=r.n(n),o=r(7723),l=r(1471),c=r(6384);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function u(e,t,r){return(t=function(e){var t=function(e){if("object"!=i(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==i(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const m=function(e){var t=e.onStateChange,r=e.methodName,n=e.gateway.genders,i=e.billing,m=u(u(u(u({},"".concat(r,"-firstname"),(null==i?void 0:i.first_name)||""),"".concat(r,"-lastname"),(null==i?void 0:i.last_name)||""),"".concat(r,"-email"),(null==i?void 0:i.email)||""),"".concat(r,"-gender"),""),f=(0,c.A)(m,t),s=f.formState,y=f.handleChange;return a().createElement("div",null,a().createElement(l.A,{paymentMethod:r,genders:n,handleChange:y}),a().createElement("div",{className:"form-row validate-required"},a().createElement("label",{htmlFor:"buckaroo-payperemail-firstname"},(0,o.__)("First Name:","wc-buckaroo-bpe-gateway"),a().createElement("span",{className:"required"},"*")),a().createElement("input",{id:"buckaroo-payperemail-firstname",name:"buckaroo-payperemail-firstname",className:"input-text",type:"text",autoComplete:"off",value:s["".concat(r,"-firstname")]||"",onChange:y})),a().createElement("div",{className:"form-row validate-required"},a().createElement("label",{htmlFor:"buckaroo-payperemail-lastname"},(0,o.__)("Last Name:","wc-buckaroo-bpe-gateway"),a().createElement("span",{className:"required"},"*")),a().createElement("input",{id:"buckaroo-payperemail-lastname",name:"buckaroo-payperemail-lastname",className:"input-text",type:"text",autoComplete:"off",value:s["".concat(r,"-lastname")]||"",onChange:y})),a().createElement("div",{className:"form-row validate-required"},a().createElement("label",{htmlFor:"buckaroo-payperemail-email"},(0,o.__)("Email:","wc-buckaroo-bpe-gateway"),a().createElement("span",{className:"required"},"*")),a().createElement("input",{id:"buckaroo-payperemail-email",name:"buckaroo-payperemail-email",className:"input-text",type:"email",autoComplete:"off",value:s["".concat(r,"-email")]||"",onChange:y})),a().createElement("div",{className:"required",style:{float:"right"}},"*",(0,o.__)("Required","wc-buckaroo-bpe-gateway")),a().createElement("br",null))}},6384:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(1609);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.d(t,{A:()=>c});var n=r(1609),a=r.n(n),o=r(7723);function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{r.r(e),r.d(e,{default:()=>m});var n=r(1609),a=r.n(n),o=r(7723),c=r(2691),i=r(6384);function u(t){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}function l(){l=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},c=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function p(t,e,r,n){var o=e&&e.prototype instanceof g?e:g,c=Object.create(o.prototype),i=new A(n||[]);return a(c,"_invoke",{value:S(t,r,i)}),c}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=p;var m="suspendedStart",d="suspendedYield",y="executing",v="completed",b={};function g(){}function w(){}function E(){}var x={};f(x,c,(function(){return this}));var O=Object.getPrototypeOf,k=O&&O(O(D([])));k&&k!==r&&n.call(k,c)&&(x=k);var N=E.prototype=g.prototype=Object.create(x);function C(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(a,o,c,i){var l=h(t[a],t,o);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==u(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,c,i)}),(function(t){r("throw",t,c,i)})):e.resolve(f).then((function(t){s.value=t,c(s)}),(function(t){return r("throw",t,c,i)}))}i(l.arg)}var o;a(this,"_invoke",{value:function(t,n){function a(){return new e((function(e,a){r(t,n,e,a)}))}return o=o?o.then(a,a):a()}})}function S(e,r,n){var a=m;return function(o,c){if(a===y)throw Error("Generator is already running");if(a===v){if("throw"===o)throw c;return{value:t,done:!0}}for(n.method=o,n.arg=c;;){var i=n.delegate;if(i){var u=_(i,n);if(u){if(u===b)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===m)throw a=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=y;var l=h(e,r,n);if("normal"===l.type){if(a=n.done?v:d,l.arg===b)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(a=v,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,a=e.iterator[n];if(a===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var o=h(a,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,b;var c=o.arg;return c?c.done?(r[e.resultName]=c.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,b):c:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function D(e){if(e||""===e){var r=e[c];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var a=-1,o=function r(){for(;++a=0;--o){var c=this.tryEntries[o],i=c.completion;if("root"===c.tryLoc)return a("end");if(c.tryLoc<=this.prev){var u=n.call(c,"catchLoc"),l=n.call(c,"finallyLoc");if(u&&l){if(this.prev=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),L(r),b}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var a=n.arg;L(r)}return a}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:D(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),b}},e}function s(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function f(t){for(var e=1;e{r.d(e,{A:()=>l});var n=r(1609);function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function c(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);r{var n;r.d(e,{A:()=>o}),function(t){!function(t){var e;t.validateCardNumber=function(t,e){if(null==t)return!1;if(/[^0-9]+/.test(t))return!1;if(t.length<10||t.length>19)return!1;for(var r=0,n=0;n9&&(a-=9),r+=a}if(r%10!=0)return!1;if(null==e)return!0;switch(e.toLowerCase()){case"visa":case"visaelectron":case"vpay":case"cartebleuevisa":case"dankort":return/^4[0-9]{12}(?:[0-9]{3})?$/.test(t);case"postepay":case"mastercard":return/^(5[1-5]|2[2-7])[0-9]{14}$/.test(t);case"bancontactmrcash":case"bancontact":return/^(4796|6060|6703|5613|5614)[0-9]{12,15}$/.test(t);case"maestro":return/^\d{12,19}$/.test(t);case"amex":case"americanexpress":return/^3[47][0-9]{13}$/.test(t);case"cartebancaire":case"cartasi":return/^((5[1-5]|2[2-7])[0-9]{14})|(4[0-9]{12}(?:[0-9]{3})?)$/.test(t);default:return!1}},t.validateCvc=function(t,e){if(null==t)return!1;if(null==e){if(0===t.length)return!0;if(3!==t.length&&4!==t.length)return!1}else switch(e.toLowerCase()){case"bancontactmrcash":case"bancontact":case"maestro":return 0===t.length;case"amex":case"americanexpress":if(4!==t.length)return!1;break;default:if(3!==t.length)return!1}return!/[^0-9]+/.test(t)},t.validateYear=function(t){return null!=t&&!/[^0-9]+/.test(t)&&(2===t.length||4===t.length)},t.validateMonth=function(t){if(null==t)return!1;if(/[^0-9]+/.test(t))return!1;if(1!==t.length&&2!==t.length)return!1;var e=parseInt(t);return!(e<1||e>12)},t.validateCardholderName=function(t){return null!=t&&!(null==(e=t)||e.replace(/\s/g,"").length<1);var e},function(t){t.algorithm="RSA-OAEP",t.hashName="SHA-1",t.exponent="AQAB",t.keyType="RSA",t.modulus="4NdLa7WIq-ygcTo4tGFu8ec7qRwtZ1jLEjKntXfs56gaWtaYSxc-er7ljG22rbv41T5raYfdzvPqV3YcTFCOLpdJIJkzTvorY-IDR09kN6uHKGutSjdkDpYrKFHeU_x0W7P0GUW2Sc14B7G_L8C2eMSqkDAMtANyvOCHdk_2chYOgYqIuZfInTaNEzHbYb6i-D5sKeu1D15G2uEFY-gkuLmtDq3xPUzK_G-haG4KsIL5JKbt-kV3_Dibu3OUpiMDN1YpocqaUR5soFmKiJi1PHtgQZ0aydXxveHIRhtE-5FgL7w307gOqbMJ4q3fXDAZQzKBwlNYnwgAaFW1PSzk9w",t.version="001",t.keyFormat="jwk",t.keyOperations=["encrypt"],t.publicKeyData={alg:t.algorithm,e:t.exponent,ext:!0,kty:t.keyType,n:t.modulus},t.algorithmParams={name:t.algorithm,hash:{name:t.hashName}}}(e||(e={}));var r=function(t){return btoa(String.fromCharCode.apply(null,t))},n=function(t,e,r,n,a){for(var o="".concat(t,",").concat(e,",").concat(r,",").concat(n,",").concat(a),c=unescape(encodeURIComponent(o)),i=[],u=0;u0||navigator.userAgent.match(/Trident.*rv\:11\./)?t.encryptCardDataIE(e,r,n,a,o,c):t.encryptCardDataOther(e,r,n,a,o).then((function(t){c(t)}),(function(t){console.log(t)}))}}(t.V001||(t.V001={}))}(n||(n={}));const a=n,o=function(t){var e=t.cardNumber,r=t.cardYear,n=t.cardMonth,o=t.cardCVC,c=t.cardName,i=a.V001;return new Promise((function(t){i.validateCardNumber(e)&&i.validateCvc(o)&&i.validateCardholderName(c)&&i.validateYear(r)&&i.validateMonth(n)&&a.V001.encryptCardData(e,r,n,o,c,(function(e){t(e)}))}))}}}]); \ No newline at end of file +"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[993],{2993:(t,e,r)=>{r.r(e),r.d(e,{default:()=>m});var n=r(1609),a=r.n(n),o=r(7723),c=r(2691),i=r(6384);function u(t){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}function l(){l=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},c=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function p(t,e,r,n){var o=e&&e.prototype instanceof g?e:g,c=Object.create(o.prototype),i=new A(n||[]);return a(c,"_invoke",{value:S(t,r,i)}),c}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=p;var m="suspendedStart",d="suspendedYield",y="executing",v="completed",b={};function g(){}function w(){}function E(){}var x={};f(x,c,(function(){return this}));var O=Object.getPrototypeOf,k=O&&O(O(D([])));k&&k!==r&&n.call(k,c)&&(x=k);var N=E.prototype=g.prototype=Object.create(x);function C(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(a,o,c,i){var l=h(t[a],t,o);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==u(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,c,i)}),(function(t){r("throw",t,c,i)})):e.resolve(f).then((function(t){s.value=t,c(s)}),(function(t){return r("throw",t,c,i)}))}i(l.arg)}var o;a(this,"_invoke",{value:function(t,n){function a(){return new e((function(e,a){r(t,n,e,a)}))}return o=o?o.then(a,a):a()}})}function S(e,r,n){var a=m;return function(o,c){if(a===y)throw Error("Generator is already running");if(a===v){if("throw"===o)throw c;return{value:t,done:!0}}for(n.method=o,n.arg=c;;){var i=n.delegate;if(i){var u=_(i,n);if(u){if(u===b)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===m)throw a=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=y;var l=h(e,r,n);if("normal"===l.type){if(a=n.done?v:d,l.arg===b)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(a=v,n.method="throw",n.arg=l.arg)}}}function _(e,r){var n=r.method,a=e.iterator[n];if(a===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var o=h(a,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,b;var c=o.arg;return c?c.done?(r[e.resultName]=c.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,b):c:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function D(e){if(e||""===e){var r=e[c];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var a=-1,o=function r(){for(;++a=0;--o){var c=this.tryEntries[o],i=c.completion;if("root"===c.tryLoc)return a("end");if(c.tryLoc<=this.prev){var u=n.call(c,"catchLoc"),l=n.call(c,"finallyLoc");if(u&&l){if(this.prev=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),L(r),b}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var a=n.arg;L(r)}return a}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:D(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),b}},e}function s(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function f(t){for(var e=1;e{r.d(e,{A:()=>l});var n=r(1609);function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function c(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);r{var n;r.d(e,{A:()=>o}),function(t){!function(t){var e;t.validateCardNumber=function(t,e){if(null==t)return!1;if(/[^0-9]+/.test(t))return!1;if(t.length<10||t.length>19)return!1;for(var r=0,n=0;n9&&(a-=9),r+=a}if(r%10!=0)return!1;if(null==e)return!0;switch(e.toLowerCase()){case"visa":case"visaelectron":case"vpay":case"cartebleuevisa":case"dankort":return/^4[0-9]{12}(?:[0-9]{3})?$/.test(t);case"postepay":case"mastercard":return/^(5[1-5]|2[2-7])[0-9]{14}$/.test(t);case"bancontactmrcash":case"bancontact":return/^(4796|6060|6703|5613|5614)[0-9]{12,15}$/.test(t);case"maestro":return/^\d{12,19}$/.test(t);case"amex":case"americanexpress":return/^3[47][0-9]{13}$/.test(t);case"cartebancaire":case"cartasi":return/^((5[1-5]|2[2-7])[0-9]{14})|(4[0-9]{12}(?:[0-9]{3})?)$/.test(t);default:return!1}},t.validateCvc=function(t,e){if(null==t)return!1;if(null==e){if(0===t.length)return!0;if(3!==t.length&&4!==t.length)return!1}else switch(e.toLowerCase()){case"bancontactmrcash":case"bancontact":case"maestro":return 0===t.length;case"amex":case"americanexpress":if(4!==t.length)return!1;break;default:if(3!==t.length)return!1}return!/[^0-9]+/.test(t)},t.validateYear=function(t){return null!=t&&!/[^0-9]+/.test(t)&&(2===t.length||4===t.length)},t.validateMonth=function(t){if(null==t)return!1;if(/[^0-9]+/.test(t))return!1;if(1!==t.length&&2!==t.length)return!1;var e=parseInt(t);return!(e<1||e>12)},t.validateCardholderName=function(t){return null!=t&&!(null==(e=t)||e.replace(/\s/g,"").length<1);var e},function(t){t.algorithm="RSA-OAEP",t.hashName="SHA-1",t.exponent="AQAB",t.keyType="RSA",t.modulus="4NdLa7WIq-ygcTo4tGFu8ec7qRwtZ1jLEjKntXfs56gaWtaYSxc-er7ljG22rbv41T5raYfdzvPqV3YcTFCOLpdJIJkzTvorY-IDR09kN6uHKGutSjdkDpYrKFHeU_x0W7P0GUW2Sc14B7G_L8C2eMSqkDAMtANyvOCHdk_2chYOgYqIuZfInTaNEzHbYb6i-D5sKeu1D15G2uEFY-gkuLmtDq3xPUzK_G-haG4KsIL5JKbt-kV3_Dibu3OUpiMDN1YpocqaUR5soFmKiJi1PHtgQZ0aydXxveHIRhtE-5FgL7w307gOqbMJ4q3fXDAZQzKBwlNYnwgAaFW1PSzk9w",t.version="001",t.keyFormat="jwk",t.keyOperations=["encrypt"],t.publicKeyData={alg:t.algorithm,e:t.exponent,ext:!0,kty:t.keyType,n:t.modulus},t.algorithmParams={name:t.algorithm,hash:{name:t.hashName}}}(e||(e={}));var r=function(t){return btoa(String.fromCharCode.apply(null,t))},n=function(t,e,r,n,a){for(var o="".concat(t,",").concat(e,",").concat(r,",").concat(n,",").concat(a),c=unescape(encodeURIComponent(o)),i=[],u=0;u0||navigator.userAgent.match(/Trident.*rv\:11\./)?t.encryptCardDataIE(e,r,n,a,o,c):t.encryptCardDataOther(e,r,n,a,o).then((function(t){c(t)}),(function(t){console.log(t)}))}}(t.V001||(t.V001={}))}(n||(n={}));const a=n,o=function(t){var e=t.cardNumber,r=t.cardYear,n=t.cardMonth,o=t.cardCVC,c=t.cardName,i=a.V001;return new Promise((function(t){i.validateCardNumber(e)&&i.validateCvc(o)&&i.validateCardholderName(c)&&i.validateYear(r)&&i.validateMonth(n)&&a.V001.encryptCardData(e,r,n,o,c,(function(e){t(e)}))}))}}}]); \ No newline at end of file diff --git a/assets/js/dist/applepay.asset.php b/assets/js/dist/applepay.asset.php index d60fe1233..ed63364d1 100644 --- a/assets/js/dist/applepay.asset.php +++ b/assets/js/dist/applepay.asset.php @@ -1 +1 @@ - array(), 'version' => 'b675b2ca3803ce33b771'); + array(), 'version' => '39112a85492b3830ac1d'); diff --git a/assets/js/dist/applepay.js b/assets/js/dist/applepay.js index e43a56470..0ea141e90 100644 --- a/assets/js/dist/applepay.js +++ b/assets/js/dist/applepay.js @@ -1 +1 @@ -(()=>{"use strict";var t=function(t){return Math.round(100*t)/100};function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}function n(t,e){for(var n=0;n\n ");jQuery(".woocommerce-notices-wrapper").first().prepend(e),jQuery("html, body").scrollTop(0)}},{key:"canOrderAmount",value:function(){if(jQuery(".checkout.woocommerce-checkout").length)return!0;var t=parseInt(jQuery(".cart .quantity input.qty").val()),e=parseInt(jQuery(".cart .quantity input.qty").attr("max"));return isNaN(e)?t>0:t>0&&t<=e}}])&&n(e.prototype,o),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,o}();function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function a(t,e){for(var n=0;n")}},{key:"init",value:function(){var t=this;BuckarooSdk.ApplePay.checkApplePaySupport(this.store_info.merchant_id).then((function(e){if(e){var n=t.getItems(),o=t.woocommerce.getShippingMethods(t.country_code),r=t.getFirstShippingItem(o),i=null!==r?[].concat(n,r):n,a=t.sumTotalAmount(i),u={label:"Totaal",amount:a,type:"final"};o.length>0&&(t.selected_shipping_method=o[0].identifier,t.selected_shipping_amount=o[0].amount),t.total_price=a;var c=["name","email","postalAddress","phone"],s=new BuckarooSdk.ApplePay.ApplePayOptions(t.store_info.store_name,t.store_info.country_code,t.store_info.currency_code,t.store_info.culture_code,t.store_info.merchant_id,i,u,"shipping",o,t.processApplepayCallback.bind(t),t.processShippingMethodsCallback.bind(t),t.processChangeContactInfoCallback.bind(t),c,c);new BuckarooSdk.ApplePay.ApplePayPayment(".applepay-button-container div",s).showPayButton("black")}}))}},{key:"processChangeContactInfoCallback",value:function(t){this.country_code=t.countryCode;var e=this.getItems(),n=this.woocommerce.getShippingMethods(this.country_code),o=this.getFirstShippingItem(n),r=null!==o?[].concat(e,o):e,i=this.sumTotalAmount(r),a={newShippingMethods:n,newTotal:{label:"Totaal",amount:i,type:"final"},newLineItems:r};if(n.length>0){var u={};this.selected_shipping_method=n[0].identifier,this.selected_shipping_amount=n[0].amount}else u=this.shippingCountryError(t);return this.total_price=i,Promise.resolve(Object.assign(a,u))}},{key:"processShippingMethodsCallback",value:function(e){var n=this.getItems(),o={type:"final",label:e.label,amount:t(e.amount)||0,qty:1},r=[].concat(n,o),i=this.sumTotalAmount(r),a={label:"Totaal",amount:i,type:"final"};return this.selected_shipping_method=e.identifier,this.selected_shipping_amount=e.amount,this.total_price=i,Promise.resolve({status:ApplePaySession.STATUS_SUCCESS,newTotal:a,newLineItems:r})}},{key:"processApplepayCallback",value:function(t){var e={status:ApplePaySession.STATUS_SUCCESS,errors:[]};if(e.status===ApplePaySession.STATUS_SUCCESS)this.buckaroo.createTransaction(t,this.total_price,this.selected_shipping_method,this.woocommerce.getItems(this.country_code));else{var n=e.errors.map((function(t){return t.message})).join(" ");this.woocommerce.displayErrorMessage("Your payment could not be processed. ".concat(n))}return Promise.resolve(e)}},{key:"sumTotalAmount",value:function(e){var n=e.reduce((function(t,e){return t+e.amount}),0);return t(n)}},{key:"getFirstShippingItem",value:function(t){return t.length>0?{type:"final",label:t[0].label,amount:t[0].amount||0,qty:1}:null}},{key:"getItems",value:function(){return this.woocommerce.getItems(this.country_code).map((function(e){var n;return{type:"final",label:(n="".concat(e.quantity," x ").concat(e.name),n.length>25?"".concat(n.slice(0,25),"..."):n),amount:t(e.price),qty:e.quantity}}))}},{key:"shippingCountryError",value:function(t){return{errors:[new ApplePayError("shippingContactInvalid","country","Shipping is not available for the selected country")]}}}])&&p(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,n}();window.BuckarooInitApplePay=function(){if("undefined"!=typeof jQuery){var t=new y,e=function(t){if(void 0!==t)return function(){t.rebuild(),t.init()}}(t);e&&(t.rebuild(),t.init(),document.removeEventListener("applepayRefresh",e),document.addEventListener("applepayRefresh",e))}else console.error("Cannot initialize ApplePay missing jquery")},jQuery((function(){if(document.dispatchEvent(new Event("bk-jquery-loaded")),jQuery(".applepay-button-container")[0]){var t=new y,e=new r,n=(o=function(){t.rebuild(),e.canOrderAmount()&&t.init()},function(){for(var t=arguments.length,e=new Array(t),n=0;n{"use strict";var t=function(t){return Math.round(100*t)/100};function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}function n(t,e){for(var n=0;n\n ");jQuery(".woocommerce-notices-wrapper").first().prepend(e),jQuery("html, body").scrollTop(0)}},{key:"canOrderAmount",value:function(){if(jQuery(".checkout.woocommerce-checkout").length)return!0;var t=parseInt(jQuery(".cart .quantity input.qty").val()),e=parseInt(jQuery(".cart .quantity input.qty").attr("max"));return isNaN(e)?t>0:t>0&&t<=e}}])&&n(e.prototype,o),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,o}();function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function a(t,e){for(var n=0;n")}},{key:"init",value:function(){var t=this;BuckarooSdk.ApplePay.checkApplePaySupport(this.store_info.merchant_id).then((function(e){if(e){var n=t.getItems(),o=t.woocommerce.getShippingMethods(t.country_code),r=t.getFirstShippingItem(o),i=null!==r?[].concat(n,r):n,a=t.sumTotalAmount(i),u={label:"Totaal",amount:a,type:"final"};o.length>0&&(t.selected_shipping_method=o[0].identifier,t.selected_shipping_amount=o[0].amount),t.total_price=a;var c=["name","email","postalAddress","phone"],s=new BuckarooSdk.ApplePay.ApplePayOptions(t.store_info.store_name,t.store_info.country_code,t.store_info.currency_code,t.store_info.culture_code,t.store_info.merchant_id,i,u,"shipping",o,t.processApplepayCallback.bind(t),t.processShippingMethodsCallback.bind(t),t.processChangeContactInfoCallback.bind(t),c,c);new BuckarooSdk.ApplePay.ApplePayPayment(".applepay-button-container div",s).showPayButton("black")}}))}},{key:"processChangeContactInfoCallback",value:function(t){this.country_code=t.countryCode;var e=this.getItems(),n=this.woocommerce.getShippingMethods(this.country_code),o=this.getFirstShippingItem(n),r=null!==o?[].concat(e,o):e,i=this.sumTotalAmount(r),a={newShippingMethods:n,newTotal:{label:"Totaal",amount:i,type:"final"},newLineItems:r};if(n.length>0){var u={};this.selected_shipping_method=n[0].identifier,this.selected_shipping_amount=n[0].amount}else u=this.shippingCountryError(t);return this.total_price=i,Promise.resolve(Object.assign(a,u))}},{key:"processShippingMethodsCallback",value:function(e){var n=this.getItems(),o={type:"final",label:e.label,amount:t(e.amount)||0,qty:1},r=[].concat(n,o),i=this.sumTotalAmount(r),a={label:"Totaal",amount:i,type:"final"};return this.selected_shipping_method=e.identifier,this.selected_shipping_amount=e.amount,this.total_price=i,Promise.resolve({status:ApplePaySession.STATUS_SUCCESS,newTotal:a,newLineItems:r})}},{key:"processApplepayCallback",value:function(t){var e={status:ApplePaySession.STATUS_SUCCESS,errors:[]};if(e.status===ApplePaySession.STATUS_SUCCESS)this.buckaroo.createTransaction(t,this.total_price,this.selected_shipping_method,this.woocommerce.getItems(this.country_code));else{var n=e.errors.map((function(t){return t.message})).join(" ");this.woocommerce.displayErrorMessage("Your payment could not be processed. ".concat(n))}return Promise.resolve(e)}},{key:"sumTotalAmount",value:function(e){var n=e.reduce((function(t,e){return t+e.amount}),0);return t(n)}},{key:"getFirstShippingItem",value:function(t){return t.length>0?{type:"final",label:t[0].label,amount:t[0].amount||0,qty:1}:null}},{key:"getItems",value:function(){return this.woocommerce.getItems(this.country_code).map((function(e){var n;return{type:"final",label:(n="".concat(e.quantity," x ").concat(e.name),n.length>25?"".concat(n.slice(0,25),"..."):n),amount:t(e.price),qty:e.quantity}}))}},{key:"shippingCountryError",value:function(t){return{errors:[new ApplePayError("shippingContactInvalid","country","Shipping is not available for the selected country")]}}}])&&p(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,n}();window.BuckarooInitApplePay=function(){if("undefined"!=typeof jQuery){var t=new y,e=function(t){if(void 0!==t)return function(){t.rebuild(),t.init()}}(t);e&&(t.rebuild(),t.init(),document.removeEventListener("applepayRefresh",e),document.addEventListener("applepayRefresh",e))}else console.error("Cannot initialize ApplePay missing jquery")},jQuery((function(){if(document.dispatchEvent(new Event("bk-jquery-loaded")),jQuery(".applepay-button-container")[0]){var t=new y,e=new r,n=(o=function(){t.rebuild(),e.canOrderAmount()&&t.init()},function(){for(var t=arguments.length,e=new Array(t),n=0;n array('react', 'react-dom', 'wp-i18n'), 'version' => '4925a79280b34d000259'); + array('react', 'react-dom', 'wp-i18n'), 'version' => '26cc1bbc08dd91bdc942'); diff --git a/assets/js/dist/blocks.js b/assets/js/dist/blocks.js index 55b1a50a7..fda3c7ee6 100644 --- a/assets/js/dist/blocks.js +++ b/assets/js/dist/blocks.js @@ -1,2 +1,2 @@ /*! For license information please see blocks.js.LICENSE.txt */ -(()=>{var e,t={5786:(e,t,r)=>{var n={"./buckaroo_afterpay":[1714,259,714],"./buckaroo_afterpay.js":[1714,259,714],"./buckaroo_afterpaynew":[8377,259,377],"./buckaroo_afterpaynew.js":[8377,259,377],"./buckaroo_billink":[1744,259,363],"./buckaroo_billink.js":[1744,259,363],"./buckaroo_creditcard":[744,744],"./buckaroo_creditcard.js":[744,744],"./buckaroo_ideal":[9426,426],"./buckaroo_ideal.js":[9426,426],"./buckaroo_in3":[1495,259,495],"./buckaroo_in3.js":[1495,259,495],"./buckaroo_klarnakp":[441,441],"./buckaroo_klarnakp.js":[441,441],"./buckaroo_klarnapay":[9162,162],"./buckaroo_klarnapay.js":[9162,162],"./buckaroo_klarnapii":[1762,762],"./buckaroo_klarnapii.js":[1762,762],"./buckaroo_paybybank":[3154,154],"./buckaroo_paybybank.js":[3154,154],"./buckaroo_payperemail":[8792,792],"./buckaroo_payperemail.js":[8792,792],"./buckaroo_sepadirectdebit":[8751,751],"./buckaroo_sepadirectdebit.js":[8751,751],"./buckaroo_separate_credit_card":[2993,993],"./buckaroo_separate_credit_card.js":[2993,993],"./default_payment":[4140],"./default_payment.js":[4140]};function o(e){if(!r.o(n,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=n[e],o=t[0];return Promise.all(t.slice(1).map(r.e)).then((()=>r(o)))}o.keys=()=>Object.keys(n),o.id=5786,e.exports=o},4140:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n=function(){}},1609:e=>{"use strict";e.exports=window.React},5795:e=>{"use strict";e.exports=window.ReactDOM},7723:e=>{"use strict";e.exports=window.wp.i18n}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var a=r[e]={id:e,exports:{}};return t[e].call(a.exports,a,a.exports,n),a.exports}n.m=t,n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce(((t,r)=>(n.f[r](e,t),t)),[])),n.u=e=>e+".js",n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},n.l=(t,r,o,a)=>{if(e[t])e[t].push(r);else{var i,c;if(void 0!==o)for(var u=document.getElementsByTagName("script"),s=0;s{i.onerror=i.onload=null,clearTimeout(p);var o=e[t];if(delete e[t],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach((e=>e(n))),r)return r(n)},p=setTimeout(f.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=f.bind(null,i.onerror),i.onload=f.bind(null,i.onload),c&&document.head.appendChild(i)}},n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var o=r.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=r[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e})(),(()=>{var e={617:0};n.f.j=(t,r)=>{var o=n.o(e,t)?e[t]:void 0;if(0!==o)if(o)r.push(o[2]);else{var a=new Promise(((r,n)=>o=e[t]=[r,n]));r.push(o[2]=a);var i=n.p+n.u(t),c=new Error;n.l(i,(r=>{if(n.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var a=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;c.message="Loading chunk "+t+" failed.\n("+a+": "+i+")",c.name="ChunkLoadError",c.type=a,c.request=i,o[1](c)}}),"chunk-"+t,t)}};var t=(t,r)=>{var o,a,[i,c,u]=r,s=0;if(i.some((t=>0!==e[t]))){for(o in c)n.o(c,o)&&(n.m[o]=c[o]);u&&u(n)}for(t&&t(r);s{"use strict";var e=n(1609),t=n.n(e),r=n(4140);const o=function(e){var t=e.imagePath,r=e.title;return React.createElement("div",{className:"buckaroo_method_block"},r,React.createElement("img",{src:t,alt:"Payment Method ".concat(r),style:{float:"right"}}))},a=function(r){var n=r.billing.cartTotal.value;return(0,e.useEffect)((function(){document.dispatchEvent(new Event("applepayRefresh"))}),[n]),(0,e.useEffect)((function(){window.BuckarooInitApplePay&&window.BuckarooInitApplePay()}),[]),t().createElement("div",{className:"applepay-button-container"},t().createElement("div",null))},i=function(r){var n=r.billing;(0,e.useEffect)((function(){"undefined"!=typeof BuckarooInitPaypalExpress&&BuckarooInitPaypalExpress()}),[]);var o=n.cartTotal.value;return(0,e.useEffect)((function(){document.dispatchEvent(new Event("paypalExpressRefresh"))}),[o]),t().createElement("div",{className:"buckaroo-paypal-express"})};function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function u(){u=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var a=t&&t.prototype instanceof g?t:g,i=Object.create(a.prototype),c=new A(n||[]);return o(i,"_invoke",{value:S(e,r,c)}),i}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var y="suspendedStart",h="suspendedYield",m="executing",b="completed",v={};function g(){}function k(){}function w(){}var _={};f(_,i,(function(){return this}));var E=Object.getPrototypeOf,x=E&&E(E(T([])));x&&x!==r&&n.call(x,i)&&(_=x);var j=w.prototype=g.prototype=Object.create(_);function P(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function r(o,a,i,u){var s=d(e[o],e,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==c(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,i,u)}),(function(e){r("throw",e,i,u)})):t.resolve(f).then((function(e){l.value=e,i(l)}),(function(e){return r("throw",e,i,u)}))}u(s.arg)}var a;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function S(t,r,n){var o=y;return function(a,i){if(o===m)throw Error("Generator is already running");if(o===b){if("throw"===a)throw i;return{value:e,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var u=L(c,n);if(u){if(u===v)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=b,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=m;var s=d(t,r,n);if("normal"===s.type){if(o=n.done?b:h,s.arg===v)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=b,n.method="throw",n.arg=s.arg)}}}function L(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,L(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var a=d(o,t.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,v;var i=a.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function M(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(M,this),this.reset(!0)}function T(t){if(t||""===t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(u&&s){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:T(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function s(e,t,r,n,o,a,i){try{var c=e[a](i),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function l(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var a=e.apply(t,r);function i(e){s(a,n,o,i,c,"next",e)}function c(e){s(a,n,o,i,c,"throw",e)}i(void 0)}))}}function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r{var e,t={5786:(e,t,r)=>{var n={"./buckaroo_afterpay":[1714,259,714],"./buckaroo_afterpay.js":[1714,259,714],"./buckaroo_afterpaynew":[8377,259,377],"./buckaroo_afterpaynew.js":[8377,259,377],"./buckaroo_billink":[1744,259,363],"./buckaroo_billink.js":[1744,259,363],"./buckaroo_creditcard":[744,744],"./buckaroo_creditcard.js":[744,744],"./buckaroo_ideal":[9426,426],"./buckaroo_ideal.js":[9426,426],"./buckaroo_in3":[1495,259,495],"./buckaroo_in3.js":[1495,259,495],"./buckaroo_klarnakp":[441,441],"./buckaroo_klarnakp.js":[441,441],"./buckaroo_klarnapay":[9162,162],"./buckaroo_klarnapay.js":[9162,162],"./buckaroo_klarnapii":[1762,762],"./buckaroo_klarnapii.js":[1762,762],"./buckaroo_paybybank":[3154,154],"./buckaroo_paybybank.js":[3154,154],"./buckaroo_payperemail":[8792,792],"./buckaroo_payperemail.js":[8792,792],"./buckaroo_sepadirectdebit":[8751,751],"./buckaroo_sepadirectdebit.js":[8751,751],"./buckaroo_separate_credit_card":[2993,993],"./buckaroo_separate_credit_card.js":[2993,993],"./default_payment":[4140],"./default_payment.js":[4140]};function o(e){if(!r.o(n,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=n[e],o=t[0];return Promise.all(t.slice(1).map(r.e)).then((()=>r(o)))}o.keys=()=>Object.keys(n),o.id=5786,e.exports=o},4140:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n=function(){}},1609:e=>{"use strict";e.exports=window.React},5795:e=>{"use strict";e.exports=window.ReactDOM},7723:e=>{"use strict";e.exports=window.wp.i18n}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var a=r[e]={id:e,exports:{}};return t[e].call(a.exports,a,a.exports,n),a.exports}n.m=t,n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce(((t,r)=>(n.f[r](e,t),t)),[])),n.u=e=>e+".js",n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},n.l=(t,r,o,a)=>{if(e[t])e[t].push(r);else{var i,c;if(void 0!==o)for(var u=document.getElementsByTagName("script"),s=0;s{i.onerror=i.onload=null,clearTimeout(f);var o=e[t];if(delete e[t],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach((e=>e(n))),r)return r(n)},f=setTimeout(p.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),c&&document.head.appendChild(i)}},n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var o=r.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=r[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e})(),(()=>{var e={617:0};n.f.j=(t,r)=>{var o=n.o(e,t)?e[t]:void 0;if(0!==o)if(o)r.push(o[2]);else{var a=new Promise(((r,n)=>o=e[t]=[r,n]));r.push(o[2]=a);var i=n.p+n.u(t),c=new Error;n.l(i,(r=>{if(n.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var a=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;c.message="Loading chunk "+t+" failed.\n("+a+": "+i+")",c.name="ChunkLoadError",c.type=a,c.request=i,o[1](c)}}),"chunk-"+t,t)}};var t=(t,r)=>{var o,a,[i,c,u]=r,s=0;if(i.some((t=>0!==e[t]))){for(o in c)n.o(c,o)&&(n.m[o]=c[o]);u&&u(n)}for(t&&t(r);s{"use strict";var e=n(1609),t=n.n(e),r=n(4140);const o=function(e){var t=e.imagePath,r=e.title;return React.createElement("div",{className:"buckaroo_method_block"},r,React.createElement("img",{src:t,alt:"Payment Method ".concat(r),style:{float:"right"}}))},a=function(r){var n=r.billing.cartTotal.value;return(0,e.useEffect)((function(){document.dispatchEvent(new Event("applepayRefresh"))}),[n]),(0,e.useEffect)((function(){window.BuckarooInitApplePay&&window.BuckarooInitApplePay()}),[]),t().createElement("div",{className:"applepay-button-container"},t().createElement("div",null))},i=function(r){var n=r.billing;(0,e.useEffect)((function(){"undefined"!=typeof BuckarooInitPaypalExpress&&BuckarooInitPaypalExpress()}),[]);var o=n.cartTotal.value;return(0,e.useEffect)((function(){document.dispatchEvent(new Event("paypalExpressRefresh"))}),[o]),t().createElement("div",{className:"buckaroo-paypal-express"})};function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function u(){u=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function p(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{p({},"")}catch(e){p=function(e,t,r){return e[t]=r}}function f(e,t,r,n){var a=t&&t.prototype instanceof g?t:g,i=Object.create(a.prototype),c=new A(n||[]);return o(i,"_invoke",{value:S(e,r,c)}),i}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=f;var y="suspendedStart",h="suspendedYield",m="executing",b="completed",v={};function g(){}function k(){}function w(){}var _={};p(_,i,(function(){return this}));var E=Object.getPrototypeOf,x=E&&E(E(T([])));x&&x!==r&&n.call(x,i)&&(_=x);var j=w.prototype=g.prototype=Object.create(_);function P(e){["next","throw","return"].forEach((function(t){p(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function r(o,a,i,u){var s=d(e[o],e,a);if("throw"!==s.type){var l=s.arg,p=l.value;return p&&"object"==c(p)&&n.call(p,"__await")?t.resolve(p.__await).then((function(e){r("next",e,i,u)}),(function(e){r("throw",e,i,u)})):t.resolve(p).then((function(e){l.value=e,i(l)}),(function(e){return r("throw",e,i,u)}))}u(s.arg)}var a;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function S(t,r,n){var o=y;return function(a,i){if(o===m)throw Error("Generator is already running");if(o===b){if("throw"===a)throw i;return{value:e,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var u=L(c,n);if(u){if(u===v)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=b,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=m;var s=d(t,r,n);if("normal"===s.type){if(o=n.done?b:h,s.arg===v)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=b,n.method="throw",n.arg=s.arg)}}}function L(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,L(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var a=d(o,t.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,v;var i=a.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function M(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(M,this),this.reset(!0)}function T(t){if(t||""===t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(u&&s){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:T(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function s(e,t,r,n,o,a,i){try{var c=e[a](i),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function l(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var a=e.apply(t,r);function i(e){s(a,n,o,i,c,"next",e)}function c(e){s(a,n,o,i,c,"throw",e)}i(void 0)}))}}function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r array(), 'version' => '5d0180e6af18db829d13'); + array(), 'version' => '7248541802bac22c6a7e'); diff --git a/assets/js/dist/checkout.js b/assets/js/dist/checkout.js index 76aaa30ab..a4a916880 100644 --- a/assets/js/dist/checkout.js +++ b/assets/js/dist/checkout.js @@ -1,2 +1,2 @@ /*! For license information please see checkout.js.LICENSE.txt */ -(()=>{"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(e,t){for(var n=0;n label > img").prop("src",buckaroo_global.payByBankLogos[e])}},{key:"onLoad",value:function(){this.setLogo();var e=jQuery(window).width()<768;jQuery(".bk-paybybank-mobile").toggle(e),jQuery(".bk-paybybank-not-mobile").toggle(!e),this.getElementToToggle().hide()}},{key:"getElementToToggle",value:function(){return jQuery(".bank-method-input:checked").length>0?jQuery(".bank-method-input:not(:checked)").closest(".custom-radio"):jQuery(".bk-paybybank-selector .custom-radio:nth-child(n+5)")}}])&&t(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,r}();function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function a(e,t){for(var r=0;r0;t.toggle(n),r.toggle(!n)}}},{key:"klarna",value:function(){jQuery("input[name=billing_phone]").length&&jQuery('input[id^="buckaroo-klarna"][type="tel"]').parent().hide()}}])&&a(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}();var l;!function(e){!function(e){var t;e.validateCardNumber=function(e,t){if(null==e)return!1;if(/[^0-9]+/.test(e))return!1;if(e.length<10||e.length>19)return!1;for(var r=0,n=0;n9&&(o-=9),r+=o}if(r%10!=0)return!1;if(null==t)return!0;switch(t.toLowerCase()){case"visa":case"visaelectron":case"vpay":case"cartebleuevisa":case"dankort":return/^4[0-9]{12}(?:[0-9]{3})?$/.test(e);case"postepay":case"mastercard":return/^(5[1-5]|2[2-7])[0-9]{14}$/.test(e);case"bancontactmrcash":case"bancontact":return/^(4796|6060|6703|5613|5614)[0-9]{12,15}$/.test(e);case"maestro":return/^\d{12,19}$/.test(e);case"amex":case"americanexpress":return/^3[47][0-9]{13}$/.test(e);case"cartebancaire":case"cartasi":return/^((5[1-5]|2[2-7])[0-9]{14})|(4[0-9]{12}(?:[0-9]{3})?)$/.test(e);default:return!1}},e.validateCvc=function(e,t){if(null==e)return!1;if(null==t){if(0===e.length)return!0;if(3!==e.length&&4!==e.length)return!1}else switch(t.toLowerCase()){case"bancontactmrcash":case"bancontact":case"maestro":return 0===e.length;case"amex":case"americanexpress":if(4!==e.length)return!1;break;default:if(3!==e.length)return!1}return!/[^0-9]+/.test(e)},e.validateYear=function(e){return null!=e&&!/[^0-9]+/.test(e)&&(2===e.length||4===e.length)},e.validateMonth=function(e){if(null==e)return!1;if(/[^0-9]+/.test(e))return!1;if(1!==e.length&&2!==e.length)return!1;var t=parseInt(e);return!(t<1||t>12)},e.validateCardholderName=function(e){return null!=e&&!(null==(t=e)||t.replace(/\s/g,"").length<1);var t},function(e){e.algorithm="RSA-OAEP",e.hashName="SHA-1",e.exponent="AQAB",e.keyType="RSA",e.modulus="4NdLa7WIq-ygcTo4tGFu8ec7qRwtZ1jLEjKntXfs56gaWtaYSxc-er7ljG22rbv41T5raYfdzvPqV3YcTFCOLpdJIJkzTvorY-IDR09kN6uHKGutSjdkDpYrKFHeU_x0W7P0GUW2Sc14B7G_L8C2eMSqkDAMtANyvOCHdk_2chYOgYqIuZfInTaNEzHbYb6i-D5sKeu1D15G2uEFY-gkuLmtDq3xPUzK_G-haG4KsIL5JKbt-kV3_Dibu3OUpiMDN1YpocqaUR5soFmKiJi1PHtgQZ0aydXxveHIRhtE-5FgL7w307gOqbMJ4q3fXDAZQzKBwlNYnwgAaFW1PSzk9w",e.version="001",e.keyFormat="jwk",e.keyOperations=["encrypt"],e.publicKeyData={alg:e.algorithm,e:e.exponent,ext:!0,kty:e.keyType,n:e.modulus},e.algorithmParams={name:e.algorithm,hash:{name:e.hashName}}}(t||(t={}));var r=function(e){return btoa(String.fromCharCode.apply(null,e))},n=function(e,t,r,n,o){for(var a="".concat(e,",").concat(t,",").concat(r,",").concat(n,",").concat(o),i=unescape(encodeURIComponent(a)),u=[],l=0;l0||navigator.userAgent.match(/Trident.*rv\:11\./)?e.encryptCardDataIE(t,r,n,o,a,i):e.encryptCardDataOther(t,r,n,o,a).then((function(e){i(e)}),(function(e){console.log(e)}))}}(e.V001||(e.V001={}))}(l||(l={}));const c=l;function y(e){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y(e)}function s(e,t){for(var r=0;r\n ");jQuery(".woocommerce-notices-wrapper").first().prepend(t);var r=jQuery(".woocommerce-notices-wrapper .woocommerce-error").first();setTimeout((function(){r.fadeOut(1e3)}),1e4),jQuery("html, body").scrollTop(0)}}],(r=[{key:"listen",value:function(){var e=this;jQuery("#buckaroo-idin-verify-button").click((function(){var t=jQuery("#buckaroo-idin-issuer").val();t&&t.length>1?e.identify(t):e.displayErrorMessage(buckaroo_global.idin_i18n.bank_required)}))}},{key:"identify",value:function(t){var r=this;e.disableBlock(".checkout.woocommerce-checkout"),jQuery.ajax({url:buckaroo_global.ajax_url,data:{"wc-api":"WC_Gateway_Buckaroo_idin-identify",issuer:t},dataType:"json"}).done((function(e){jQuery(".woocommerce-checkout").unblock(),e&&e.message?r.displayErrorMessage(e.message):e&&"success"===e.result?window.location.replace(e.redirect):r.displayErrorMessage(buckaroo_global.idin_i18n.general_error)})).fail((function(){r.displayErrorMessage(buckaroo_global.idin_i18n.general_error),jQuery(".woocommerce-checkout").unblock()}))}}])&&g(t.prototype,r),n&&g(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,r,n}();jQuery((function(){(new u).listen(),(new f).listen(),(new v).listen()}))})(); \ No newline at end of file +(()=>{"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(e,t){for(var n=0;n label > img").prop("src",buckaroo_global.payByBankLogos[e])}},{key:"onLoad",value:function(){this.setLogo();var e=jQuery(window).width()<768;jQuery(".bk-paybybank-mobile").toggle(e),jQuery(".bk-paybybank-not-mobile").toggle(!e),this.getElementToToggle().hide()}},{key:"getElementToToggle",value:function(){return jQuery(".bank-method-input:checked").length>0?jQuery(".bank-method-input:not(:checked)").closest(".custom-radio"):jQuery(".bk-paybybank-selector .custom-radio:nth-child(n+5)")}}])&&t(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,r}();function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function a(e,t){for(var r=0;r0;t.toggle(n),r.toggle(!n)}}},{key:"klarna",value:function(){jQuery("input[name=billing_phone]").length&&jQuery('input[id^="buckaroo-klarna"][type="tel"]').parent().hide()}}])&&a(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}();var l;!function(e){!function(e){var t;e.validateCardNumber=function(e,t){if(null==e)return!1;if(/[^0-9]+/.test(e))return!1;if(e.length<10||e.length>19)return!1;for(var r=0,n=0;n9&&(o-=9),r+=o}if(r%10!=0)return!1;if(null==t)return!0;switch(t.toLowerCase()){case"visa":case"visaelectron":case"vpay":case"cartebleuevisa":case"dankort":return/^4[0-9]{12}(?:[0-9]{3})?$/.test(e);case"postepay":case"mastercard":return/^(5[1-5]|2[2-7])[0-9]{14}$/.test(e);case"bancontactmrcash":case"bancontact":return/^(4796|6060|6703|5613|5614)[0-9]{12,15}$/.test(e);case"maestro":return/^\d{12,19}$/.test(e);case"amex":case"americanexpress":return/^3[47][0-9]{13}$/.test(e);case"cartebancaire":case"cartasi":return/^((5[1-5]|2[2-7])[0-9]{14})|(4[0-9]{12}(?:[0-9]{3})?)$/.test(e);default:return!1}},e.validateCvc=function(e,t){if(null==e)return!1;if(null==t){if(0===e.length)return!0;if(3!==e.length&&4!==e.length)return!1}else switch(t.toLowerCase()){case"bancontactmrcash":case"bancontact":case"maestro":return 0===e.length;case"amex":case"americanexpress":if(4!==e.length)return!1;break;default:if(3!==e.length)return!1}return!/[^0-9]+/.test(e)},e.validateYear=function(e){return null!=e&&!/[^0-9]+/.test(e)&&(2===e.length||4===e.length)},e.validateMonth=function(e){if(null==e)return!1;if(/[^0-9]+/.test(e))return!1;if(1!==e.length&&2!==e.length)return!1;var t=parseInt(e);return!(t<1||t>12)},e.validateCardholderName=function(e){return null!=e&&!(null==(t=e)||t.replace(/\s/g,"").length<1);var t},function(e){e.algorithm="RSA-OAEP",e.hashName="SHA-1",e.exponent="AQAB",e.keyType="RSA",e.modulus="4NdLa7WIq-ygcTo4tGFu8ec7qRwtZ1jLEjKntXfs56gaWtaYSxc-er7ljG22rbv41T5raYfdzvPqV3YcTFCOLpdJIJkzTvorY-IDR09kN6uHKGutSjdkDpYrKFHeU_x0W7P0GUW2Sc14B7G_L8C2eMSqkDAMtANyvOCHdk_2chYOgYqIuZfInTaNEzHbYb6i-D5sKeu1D15G2uEFY-gkuLmtDq3xPUzK_G-haG4KsIL5JKbt-kV3_Dibu3OUpiMDN1YpocqaUR5soFmKiJi1PHtgQZ0aydXxveHIRhtE-5FgL7w307gOqbMJ4q3fXDAZQzKBwlNYnwgAaFW1PSzk9w",e.version="001",e.keyFormat="jwk",e.keyOperations=["encrypt"],e.publicKeyData={alg:e.algorithm,e:e.exponent,ext:!0,kty:e.keyType,n:e.modulus},e.algorithmParams={name:e.algorithm,hash:{name:e.hashName}}}(t||(t={}));var r=function(e){return btoa(String.fromCharCode.apply(null,e))},n=function(e,t,r,n,o){for(var a="".concat(e,",").concat(t,",").concat(r,",").concat(n,",").concat(o),i=unescape(encodeURIComponent(a)),u=[],l=0;l0||navigator.userAgent.match(/Trident.*rv\:11\./)?e.encryptCardDataIE(t,r,n,o,a,i):e.encryptCardDataOther(t,r,n,o,a).then((function(e){i(e)}),(function(e){console.log(e)}))}}(e.V001||(e.V001={}))}(l||(l={}));const c=l;function y(e){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y(e)}function s(e,t){for(var r=0;r\n ");jQuery(".woocommerce-notices-wrapper").first().prepend(t);var r=jQuery(".woocommerce-notices-wrapper .woocommerce-error").first();setTimeout((function(){r.fadeOut(1e3)}),1e4),jQuery("html, body").scrollTop(0)}}],(r=[{key:"listen",value:function(){var e=this;jQuery("#buckaroo-idin-verify-button").click((function(){var t=jQuery("#buckaroo-idin-issuer").val();t&&t.length>1?e.identify(t):e.displayErrorMessage(buckaroo_global.idin_i18n.bank_required)}))}},{key:"identify",value:function(t){var r=this;e.disableBlock(".checkout.woocommerce-checkout"),jQuery.ajax({url:buckaroo_global.ajax_url,data:{"wc-api":"WC_Gateway_Buckaroo_idin-identify",issuer:t},dataType:"json"}).done((function(e){jQuery(".woocommerce-checkout").unblock(),e&&e.message?r.displayErrorMessage(e.message):e&&"success"===e.result?window.location.replace(e.redirect):r.displayErrorMessage(buckaroo_global.idin_i18n.general_error)})).fail((function(){r.displayErrorMessage(buckaroo_global.idin_i18n.general_error),jQuery(".woocommerce-checkout").unblock()}))}}])&&g(t.prototype,r),n&&g(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,r,n}();jQuery((function(){(new u).listen(),(new f).listen(),(new v).listen()}))})(); \ No newline at end of file diff --git a/assets/js/package-lock.json b/assets/js/package-lock.json new file mode 100644 index 000000000..020e0621a --- /dev/null +++ b/assets/js/package-lock.json @@ -0,0 +1,6663 @@ +{ + "name": "js", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "dependencies": { + "@wordpress/i18n": "^4.49.0", + "react": "^18.3.1", + "react-datepicker": "^4.25.0", + "react-dom": "^18.3.1" + }, + "devDependencies": { + "@babel/core": "^7.24.7", + "@babel/preset-env": "^7.24.7", + "@babel/preset-react": "^7.24.7", + "@woocommerce/dependency-extraction-webpack-plugin": "^3.0.1", + "babel-loader": "^9.1.3", + "cross-env": "7.0.3", + "css-loader": "^6.8.1", + "rimraf": "^5.0.7", + "style-loader": "^3.3.3", + "webpack-cli": "^4.10.0", + "webpack-dev-server": "^4.11.1" + } + }, + "node_modules/@ampproject/remapping": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.3.0.tgz", + "integrity": "sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==", + "dev": true, + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.24" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/code-frame": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.25.7.tgz", + "integrity": "sha512-0xZJFNE5XMpENsgfHYTw8FbX4kv53mFLn2i3XPoq69LyhYSCBJtitaHx9QnsVTrsogI4Z3+HtEfZ2/GFPOtf5g==", + "dev": true, + "dependencies": { + "@babel/highlight": "^7.25.7", + "picocolors": "^1.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/compat-data": { + "version": "7.25.8", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.25.8.tgz", + "integrity": "sha512-ZsysZyXY4Tlx+Q53XdnOFmqwfB9QDTHYxaZYajWRoBLuLEAwI2UIbtxOjWh/cFaa9IKUlcB+DDuoskLuKu56JA==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/core": { + "version": "7.25.8", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.25.8.tgz", + "integrity": "sha512-Oixnb+DzmRT30qu9d3tJSQkxuygWm32DFykT4bRoORPa9hZ/L4KhVB/XiRm6KG+roIEM7DBQlmg27kw2HZkdZg==", + "dev": true, + "dependencies": { + "@ampproject/remapping": "^2.2.0", + "@babel/code-frame": "^7.25.7", + "@babel/generator": "^7.25.7", + "@babel/helper-compilation-targets": "^7.25.7", + "@babel/helper-module-transforms": "^7.25.7", + "@babel/helpers": "^7.25.7", + "@babel/parser": "^7.25.8", + "@babel/template": "^7.25.7", + "@babel/traverse": "^7.25.7", + "@babel/types": "^7.25.8", + "convert-source-map": "^2.0.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.3", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@babel/generator": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.25.7.tgz", + "integrity": "sha512-5Dqpl5fyV9pIAD62yK9P7fcA768uVPUyrQmqpqstHWgMma4feF1x/oFysBCVZLY5wJ2GkMUCdsNDnGZrPoR6rA==", + "dev": true, + "dependencies": { + "@babel/types": "^7.25.7", + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.25", + "jsesc": "^3.0.2" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-annotate-as-pure": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.25.7.tgz", + "integrity": "sha512-4xwU8StnqnlIhhioZf1tqnVWeQ9pvH/ujS8hRfw/WOza+/a+1qv69BWNy+oY231maTCWgKWhfBU7kDpsds6zAA==", + "dev": true, + "dependencies": { + "@babel/types": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-builder-binary-assignment-operator-visitor": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.25.7.tgz", + "integrity": "sha512-12xfNeKNH7jubQNm7PAkzlLwEmCs1tfuX3UjIw6vP6QXi+leKh6+LyC/+Ed4EIQermwd58wsyh070yjDHFlNGg==", + "dev": true, + "dependencies": { + "@babel/traverse": "^7.25.7", + "@babel/types": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-compilation-targets": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.25.7.tgz", + "integrity": "sha512-DniTEax0sv6isaw6qSQSfV4gVRNtw2rte8HHM45t9ZR0xILaufBRNkpMifCRiAPyvL4ACD6v0gfCwCmtOQaV4A==", + "dev": true, + "dependencies": { + "@babel/compat-data": "^7.25.7", + "@babel/helper-validator-option": "^7.25.7", + "browserslist": "^4.24.0", + "lru-cache": "^5.1.1", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-create-class-features-plugin": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.25.7.tgz", + "integrity": "sha512-bD4WQhbkx80mAyj/WCm4ZHcF4rDxkoLFO6ph8/5/mQ3z4vAzltQXAmbc7GvVJx5H+lk5Mi5EmbTeox5nMGCsbw==", + "dev": true, + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.25.7", + "@babel/helper-member-expression-to-functions": "^7.25.7", + "@babel/helper-optimise-call-expression": "^7.25.7", + "@babel/helper-replace-supers": "^7.25.7", + "@babel/helper-skip-transparent-expression-wrappers": "^7.25.7", + "@babel/traverse": "^7.25.7", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-create-regexp-features-plugin": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.25.7.tgz", + "integrity": "sha512-byHhumTj/X47wJ6C6eLpK7wW/WBEcnUeb7D0FNc/jFQnQVw7DOso3Zz5u9x/zLrFVkHa89ZGDbkAa1D54NdrCQ==", + "dev": true, + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.25.7", + "regexpu-core": "^6.1.1", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-define-polyfill-provider": { + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.6.2.tgz", + "integrity": "sha512-LV76g+C502biUK6AyZ3LK10vDpDyCzZnhZFXkH1L75zHPj68+qc8Zfpx2th+gzwA2MzyK+1g/3EPl62yFnVttQ==", + "dev": true, + "dependencies": { + "@babel/helper-compilation-targets": "^7.22.6", + "@babel/helper-plugin-utils": "^7.22.5", + "debug": "^4.1.1", + "lodash.debounce": "^4.0.8", + "resolve": "^1.14.2" + }, + "peerDependencies": { + "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" + } + }, + "node_modules/@babel/helper-member-expression-to-functions": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.25.7.tgz", + "integrity": "sha512-O31Ssjd5K6lPbTX9AAYpSKrZmLeagt9uwschJd+Ixo6QiRyfpvgtVQp8qrDR9UNFjZ8+DO34ZkdrN+BnPXemeA==", + "dev": true, + "dependencies": { + "@babel/traverse": "^7.25.7", + "@babel/types": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-imports": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.25.7.tgz", + "integrity": "sha512-o0xCgpNmRohmnoWKQ0Ij8IdddjyBFE4T2kagL/x6M3+4zUgc+4qTOUBoNe4XxDskt1HPKO007ZPiMgLDq2s7Kw==", + "dev": true, + "dependencies": { + "@babel/traverse": "^7.25.7", + "@babel/types": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-transforms": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.25.7.tgz", + "integrity": "sha512-k/6f8dKG3yDz/qCwSM+RKovjMix563SLxQFo0UhRNo239SP6n9u5/eLtKD6EAjwta2JHJ49CsD8pms2HdNiMMQ==", + "dev": true, + "dependencies": { + "@babel/helper-module-imports": "^7.25.7", + "@babel/helper-simple-access": "^7.25.7", + "@babel/helper-validator-identifier": "^7.25.7", + "@babel/traverse": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-optimise-call-expression": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.25.7.tgz", + "integrity": "sha512-VAwcwuYhv/AT+Vfr28c9y6SHzTan1ryqrydSTFGjU0uDJHw3uZ+PduI8plCLkRsDnqK2DMEDmwrOQRsK/Ykjng==", + "dev": true, + "dependencies": { + "@babel/types": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-plugin-utils": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.25.7.tgz", + "integrity": "sha512-eaPZai0PiqCi09pPs3pAFfl/zYgGaE6IdXtYvmf0qlcDTd3WCtO7JWCcRd64e0EQrcYgiHibEZnOGsSY4QSgaw==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-remap-async-to-generator": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.25.7.tgz", + "integrity": "sha512-kRGE89hLnPfcz6fTrlNU+uhgcwv0mBE4Gv3P9Ke9kLVJYpi4AMVVEElXvB5CabrPZW4nCM8P8UyyjrzCM0O2sw==", + "dev": true, + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.25.7", + "@babel/helper-wrap-function": "^7.25.7", + "@babel/traverse": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-replace-supers": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.25.7.tgz", + "integrity": "sha512-iy8JhqlUW9PtZkd4pHM96v6BdJ66Ba9yWSE4z0W4TvSZwLBPkyDsiIU3ENe4SmrzRBs76F7rQXTy1lYC49n6Lw==", + "dev": true, + "dependencies": { + "@babel/helper-member-expression-to-functions": "^7.25.7", + "@babel/helper-optimise-call-expression": "^7.25.7", + "@babel/traverse": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-simple-access": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.25.7.tgz", + "integrity": "sha512-FPGAkJmyoChQeM+ruBGIDyrT2tKfZJO8NcxdC+CWNJi7N8/rZpSxK7yvBJ5O/nF1gfu5KzN7VKG3YVSLFfRSxQ==", + "dev": true, + "dependencies": { + "@babel/traverse": "^7.25.7", + "@babel/types": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-skip-transparent-expression-wrappers": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.25.7.tgz", + "integrity": "sha512-pPbNbchZBkPMD50K0p3JGcFMNLVUCuU/ABybm/PGNj4JiHrpmNyqqCphBk4i19xXtNV0JhldQJJtbSW5aUvbyA==", + "dev": true, + "dependencies": { + "@babel/traverse": "^7.25.7", + "@babel/types": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-string-parser": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.25.7.tgz", + "integrity": "sha512-CbkjYdsJNHFk8uqpEkpCvRs3YRp9tY6FmFY7wLMSYuGYkrdUi7r2lc4/wqsvlHoMznX3WJ9IP8giGPq68T/Y6g==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-identifier": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.25.7.tgz", + "integrity": "sha512-AM6TzwYqGChO45oiuPqwL2t20/HdMC1rTPAesnBCgPCSF1x3oN9MVUwQV2iyz4xqWrctwK5RNC8LV22kaQCNYg==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-option": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.25.7.tgz", + "integrity": "sha512-ytbPLsm+GjArDYXJ8Ydr1c/KJuutjF2besPNbIZnZ6MKUxi/uTA22t2ymmA4WFjZFpjiAMO0xuuJPqK2nvDVfQ==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-wrap-function": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.25.7.tgz", + "integrity": "sha512-MA0roW3JF2bD1ptAaJnvcabsVlNQShUaThyJbCDD4bCp8NEgiFvpoqRI2YS22hHlc2thjO/fTg2ShLMC3jygAg==", + "dev": true, + "dependencies": { + "@babel/template": "^7.25.7", + "@babel/traverse": "^7.25.7", + "@babel/types": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helpers": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.25.7.tgz", + "integrity": "sha512-Sv6pASx7Esm38KQpF/U/OXLwPPrdGHNKoeblRxgZRLXnAtnkEe4ptJPDtAZM7fBLadbc1Q07kQpSiGQ0Jg6tRA==", + "dev": true, + "dependencies": { + "@babel/template": "^7.25.7", + "@babel/types": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/highlight": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.25.7.tgz", + "integrity": "sha512-iYyACpW3iW8Fw+ZybQK+drQre+ns/tKpXbNESfrhNnPLIklLbXr7MYJ6gPEd0iETGLOK+SxMjVvKb/ffmk+FEw==", + "dev": true, + "dependencies": { + "@babel/helper-validator-identifier": "^7.25.7", + "chalk": "^2.4.2", + "js-tokens": "^4.0.0", + "picocolors": "^1.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/parser": { + "version": "7.25.8", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.25.8.tgz", + "integrity": "sha512-HcttkxzdPucv3nNFmfOOMfFf64KgdJVqm1KaCm25dPGMLElo9nsLvXeJECQg8UzPuBGLyTSA0ZzqCtDSzKTEoQ==", + "dev": true, + "dependencies": { + "@babel/types": "^7.25.8" + }, + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/plugin-bugfix-firefox-class-in-computed-class-key": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-firefox-class-in-computed-class-key/-/plugin-bugfix-firefox-class-in-computed-class-key-7.25.7.tgz", + "integrity": "sha512-UV9Lg53zyebzD1DwQoT9mzkEKa922LNUp5YkTJ6Uta0RbyXaQNUgcvSt7qIu1PpPzVb6rd10OVNTzkyBGeVmxQ==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.25.7", + "@babel/traverse": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/plugin-bugfix-safari-class-field-initializer-scope": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-class-field-initializer-scope/-/plugin-bugfix-safari-class-field-initializer-scope-7.25.7.tgz", + "integrity": "sha512-GDDWeVLNxRIkQTnJn2pDOM1pkCgYdSqPeT1a9vh9yIqu2uzzgw1zcqEb+IJOhy+dTBMlNdThrDIksr2o09qrrQ==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.25.7.tgz", + "integrity": "sha512-wxyWg2RYaSUYgmd9MR0FyRGyeOMQE/Uzr1wzd/g5cf5bwi9A4v6HFdDm7y1MgDtod/fLOSTZY6jDgV0xU9d5bA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.25.7.tgz", + "integrity": "sha512-Xwg6tZpLxc4iQjorYsyGMyfJE7nP5MV8t/Ka58BgiA7Jw0fRqQNcANlLfdJ/yvBt9z9LD2We+BEkT7vLqZRWng==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.25.7", + "@babel/helper-skip-transparent-expression-wrappers": "^7.25.7", + "@babel/plugin-transform-optional-chaining": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.13.0" + } + }, + "node_modules/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly/-/plugin-bugfix-v8-static-class-fields-redefine-readonly-7.25.7.tgz", + "integrity": "sha512-UVATLMidXrnH+GMUIuxq55nejlj02HP7F5ETyBONzP6G87fPBogG4CH6kxrSrdIuAjdwNO9VzyaYsrZPscWUrw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.25.7", + "@babel/traverse": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/plugin-proposal-private-property-in-object": { + "version": "7.21.0-placeholder-for-preset-env.2", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.21.0-placeholder-for-preset-env.2.tgz", + "integrity": "sha512-SOSkfJDddaM7mak6cPEpswyTRnuRltl429hMraQEglW+OkovnCzsiszTmsrlY//qLFjCpQDFRvjdm2wA5pPm9w==", + "dev": true, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-import-assertions": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.25.7.tgz", + "integrity": "sha512-ZvZQRmME0zfJnDQnVBKYzHxXT7lYBB3Revz1GuS7oLXWMgqUPX4G+DDbT30ICClht9WKV34QVrZhSw6WdklwZQ==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-import-attributes": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.25.7.tgz", + "integrity": "sha512-AqVo+dguCgmpi/3mYBdu9lkngOBlQ2w2vnNpa6gfiCxQZLzV4ZbhsXitJ2Yblkoe1VQwtHSaNmIaGll/26YWRw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-jsx": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.25.7.tgz", + "integrity": "sha512-ruZOnKO+ajVL/MVx+PwNBPOkrnXTXoWMtte1MBpegfCArhqOe3Bj52avVj1huLLxNKYKXYaSxZ2F+woK1ekXfw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-unicode-sets-regex": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-unicode-sets-regex/-/plugin-syntax-unicode-sets-regex-7.18.6.tgz", + "integrity": "sha512-727YkEAPwSIQTv5im8QHz3upqp92JTWhidIC81Tdx4VJYIte/VndKf1qKrfnnhPLiPghStWfvC/iFaMCQu7Nqg==", + "dev": true, + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.18.6", + "@babel/helper-plugin-utils": "^7.18.6" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/plugin-transform-arrow-functions": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.25.7.tgz", + "integrity": "sha512-EJN2mKxDwfOUCPxMO6MUI58RN3ganiRAG/MS/S3HfB6QFNjroAMelQo/gybyYq97WerCBAZoyrAoW8Tzdq2jWg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-async-generator-functions": { + "version": "7.25.8", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.25.8.tgz", + "integrity": "sha512-9ypqkozyzpG+HxlH4o4gdctalFGIjjdufzo7I2XPda0iBnZ6a+FO0rIEQcdSPXp02CkvGsII1exJhmROPQd5oA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.25.7", + "@babel/helper-remap-async-to-generator": "^7.25.7", + "@babel/traverse": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-async-to-generator": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.25.7.tgz", + "integrity": "sha512-ZUCjAavsh5CESCmi/xCpX1qcCaAglzs/7tmuvoFnJgA1dM7gQplsguljoTg+Ru8WENpX89cQyAtWoaE0I3X3Pg==", + "dev": true, + "dependencies": { + "@babel/helper-module-imports": "^7.25.7", + "@babel/helper-plugin-utils": "^7.25.7", + "@babel/helper-remap-async-to-generator": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-block-scoped-functions": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.25.7.tgz", + "integrity": "sha512-xHttvIM9fvqW+0a3tZlYcZYSBpSWzGBFIt/sYG3tcdSzBB8ZeVgz2gBP7Df+sM0N1850jrviYSSeUuc+135dmQ==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-block-scoping": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.25.7.tgz", + "integrity": "sha512-ZEPJSkVZaeTFG/m2PARwLZQ+OG0vFIhPlKHK/JdIMy8DbRJ/htz6LRrTFtdzxi9EHmcwbNPAKDnadpNSIW+Aow==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-class-properties": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-properties/-/plugin-transform-class-properties-7.25.7.tgz", + "integrity": "sha512-mhyfEW4gufjIqYFo9krXHJ3ElbFLIze5IDp+wQTxoPd+mwFb1NxatNAwmv8Q8Iuxv7Zc+q8EkiMQwc9IhyGf4g==", + "dev": true, + "dependencies": { + "@babel/helper-create-class-features-plugin": "^7.25.7", + "@babel/helper-plugin-utils": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-class-static-block": { + "version": "7.25.8", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-7.25.8.tgz", + "integrity": "sha512-e82gl3TCorath6YLf9xUwFehVvjvfqFhdOo4+0iVIVju+6XOi5XHkqB3P2AXnSwoeTX0HBoXq5gJFtvotJzFnQ==", + "dev": true, + "dependencies": { + "@babel/helper-create-class-features-plugin": "^7.25.7", + "@babel/helper-plugin-utils": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.12.0" + } + }, + "node_modules/@babel/plugin-transform-classes": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.25.7.tgz", + "integrity": "sha512-9j9rnl+YCQY0IGoeipXvnk3niWicIB6kCsWRGLwX241qSXpbA4MKxtp/EdvFxsc4zI5vqfLxzOd0twIJ7I99zg==", + "dev": true, + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.25.7", + "@babel/helper-compilation-targets": "^7.25.7", + "@babel/helper-plugin-utils": "^7.25.7", + "@babel/helper-replace-supers": "^7.25.7", + "@babel/traverse": "^7.25.7", + "globals": "^11.1.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-computed-properties": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.25.7.tgz", + "integrity": "sha512-QIv+imtM+EtNxg/XBKL3hiWjgdLjMOmZ+XzQwSgmBfKbfxUjBzGgVPklUuE55eq5/uVoh8gg3dqlrwR/jw3ZeA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.25.7", + "@babel/template": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-destructuring": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.25.7.tgz", + "integrity": "sha512-xKcfLTlJYUczdaM1+epcdh1UGewJqr9zATgrNHcLBcV2QmfvPPEixo/sK/syql9cEmbr7ulu5HMFG5vbbt/sEA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-dotall-regex": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.25.7.tgz", + "integrity": "sha512-kXzXMMRzAtJdDEgQBLF4oaiT6ZCU3oWHgpARnTKDAqPkDJ+bs3NrZb310YYevR5QlRo3Kn7dzzIdHbZm1VzJdQ==", + "dev": true, + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.25.7", + "@babel/helper-plugin-utils": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-duplicate-keys": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.25.7.tgz", + "integrity": "sha512-by+v2CjoL3aMnWDOyCIg+yxU9KXSRa9tN6MbqggH5xvymmr9p4AMjYkNlQy4brMceBnUyHZ9G8RnpvT8wP7Cfg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-duplicate-named-capturing-groups-regex": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-named-capturing-groups-regex/-/plugin-transform-duplicate-named-capturing-groups-regex-7.25.7.tgz", + "integrity": "sha512-HvS6JF66xSS5rNKXLqkk7L9c/jZ/cdIVIcoPVrnl8IsVpLggTjXs8OWekbLHs/VtYDDh5WXnQyeE3PPUGm22MA==", + "dev": true, + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.25.7", + "@babel/helper-plugin-utils": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/plugin-transform-dynamic-import": { + "version": "7.25.8", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dynamic-import/-/plugin-transform-dynamic-import-7.25.8.tgz", + "integrity": "sha512-gznWY+mr4ZQL/EWPcbBQUP3BXS5FwZp8RUOw06BaRn8tQLzN4XLIxXejpHN9Qo8x8jjBmAAKp6FoS51AgkSA/A==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-exponentiation-operator": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.25.7.tgz", + "integrity": "sha512-yjqtpstPfZ0h/y40fAXRv2snciYr0OAoMXY/0ClC7tm4C/nG5NJKmIItlaYlLbIVAWNfrYuy9dq1bE0SbX0PEg==", + "dev": true, + "dependencies": { + "@babel/helper-builder-binary-assignment-operator-visitor": "^7.25.7", + "@babel/helper-plugin-utils": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-export-namespace-from": { + "version": "7.25.8", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-export-namespace-from/-/plugin-transform-export-namespace-from-7.25.8.tgz", + "integrity": "sha512-sPtYrduWINTQTW7FtOy99VCTWp4H23UX7vYcut7S4CIMEXU+54zKX9uCoGkLsWXteyaMXzVHgzWbLfQ1w4GZgw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-for-of": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.25.7.tgz", + "integrity": "sha512-n/TaiBGJxYFWvpJDfsxSj9lEEE44BFM1EPGz4KEiTipTgkoFVVcCmzAL3qA7fdQU96dpo4gGf5HBx/KnDvqiHw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.25.7", + "@babel/helper-skip-transparent-expression-wrappers": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-function-name": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.25.7.tgz", + "integrity": "sha512-5MCTNcjCMxQ63Tdu9rxyN6cAWurqfrDZ76qvVPrGYdBxIj+EawuuxTu/+dgJlhK5eRz3v1gLwp6XwS8XaX2NiQ==", + "dev": true, + "dependencies": { + "@babel/helper-compilation-targets": "^7.25.7", + "@babel/helper-plugin-utils": "^7.25.7", + "@babel/traverse": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-json-strings": { + "version": "7.25.8", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-json-strings/-/plugin-transform-json-strings-7.25.8.tgz", + "integrity": "sha512-4OMNv7eHTmJ2YXs3tvxAfa/I43di+VcF+M4Wt66c88EAED1RoGaf1D64cL5FkRpNL+Vx9Hds84lksWvd/wMIdA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-literals": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.25.7.tgz", + "integrity": "sha512-fwzkLrSu2fESR/cm4t6vqd7ebNIopz2QHGtjoU+dswQo/P6lwAG04Q98lliE3jkz/XqnbGFLnUcE0q0CVUf92w==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-logical-assignment-operators": { + "version": "7.25.8", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-logical-assignment-operators/-/plugin-transform-logical-assignment-operators-7.25.8.tgz", + "integrity": "sha512-f5W0AhSbbI+yY6VakT04jmxdxz+WsID0neG7+kQZbCOjuyJNdL5Nn4WIBm4hRpKnUcO9lP0eipUhFN12JpoH8g==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-member-expression-literals": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.25.7.tgz", + "integrity": "sha512-Std3kXwpXfRV0QtQy5JJcRpkqP8/wG4XL7hSKZmGlxPlDqmpXtEPRmhF7ztnlTCtUN3eXRUJp+sBEZjaIBVYaw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-modules-amd": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.25.7.tgz", + "integrity": "sha512-CgselSGCGzjQvKzghCvDTxKHP3iooenLpJDO842ehn5D2G5fJB222ptnDwQho0WjEvg7zyoxb9P+wiYxiJX5yA==", + "dev": true, + "dependencies": { + "@babel/helper-module-transforms": "^7.25.7", + "@babel/helper-plugin-utils": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-modules-commonjs": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.25.7.tgz", + "integrity": "sha512-L9Gcahi0kKFYXvweO6n0wc3ZG1ChpSFdgG+eV1WYZ3/dGbJK7vvk91FgGgak8YwRgrCuihF8tE/Xg07EkL5COg==", + "dev": true, + "dependencies": { + "@babel/helper-module-transforms": "^7.25.7", + "@babel/helper-plugin-utils": "^7.25.7", + "@babel/helper-simple-access": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-modules-systemjs": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.25.7.tgz", + "integrity": "sha512-t9jZIvBmOXJsiuyOwhrIGs8dVcD6jDyg2icw1VL4A/g+FnWyJKwUfSSU2nwJuMV2Zqui856El9u+ElB+j9fV1g==", + "dev": true, + "dependencies": { + "@babel/helper-module-transforms": "^7.25.7", + "@babel/helper-plugin-utils": "^7.25.7", + "@babel/helper-validator-identifier": "^7.25.7", + "@babel/traverse": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-modules-umd": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.25.7.tgz", + "integrity": "sha512-p88Jg6QqsaPh+EB7I9GJrIqi1Zt4ZBHUQtjw3z1bzEXcLh6GfPqzZJ6G+G1HBGKUNukT58MnKG7EN7zXQBCODw==", + "dev": true, + "dependencies": { + "@babel/helper-module-transforms": "^7.25.7", + "@babel/helper-plugin-utils": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-named-capturing-groups-regex": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.25.7.tgz", + "integrity": "sha512-BtAT9LzCISKG3Dsdw5uso4oV1+v2NlVXIIomKJgQybotJY3OwCwJmkongjHgwGKoZXd0qG5UZ12JUlDQ07W6Ow==", + "dev": true, + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.25.7", + "@babel/helper-plugin-utils": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/plugin-transform-new-target": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.25.7.tgz", + "integrity": "sha512-CfCS2jDsbcZaVYxRFo2qtavW8SpdzmBXC2LOI4oO0rP+JSRDxxF3inF4GcPsLgfb5FjkhXG5/yR/lxuRs2pySA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-nullish-coalescing-operator": { + "version": "7.25.8", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-nullish-coalescing-operator/-/plugin-transform-nullish-coalescing-operator-7.25.8.tgz", + "integrity": "sha512-Z7WJJWdQc8yCWgAmjI3hyC+5PXIubH9yRKzkl9ZEG647O9szl9zvmKLzpbItlijBnVhTUf1cpyWBsZ3+2wjWPQ==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-numeric-separator": { + "version": "7.25.8", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-numeric-separator/-/plugin-transform-numeric-separator-7.25.8.tgz", + "integrity": "sha512-rm9a5iEFPS4iMIy+/A/PiS0QN0UyjPIeVvbU5EMZFKJZHt8vQnasbpo3T3EFcxzCeYO0BHfc4RqooCZc51J86Q==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-object-rest-spread": { + "version": "7.25.8", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-rest-spread/-/plugin-transform-object-rest-spread-7.25.8.tgz", + "integrity": "sha512-LkUu0O2hnUKHKE7/zYOIjByMa4VRaV2CD/cdGz0AxU9we+VA3kDDggKEzI0Oz1IroG+6gUP6UmWEHBMWZU316g==", + "dev": true, + "dependencies": { + "@babel/helper-compilation-targets": "^7.25.7", + "@babel/helper-plugin-utils": "^7.25.7", + "@babel/plugin-transform-parameters": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-object-super": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.25.7.tgz", + "integrity": "sha512-pWT6UXCEW3u1t2tcAGtE15ornCBvopHj9Bps9D2DsH15APgNVOTwwczGckX+WkAvBmuoYKRCFa4DK+jM8vh5AA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.25.7", + "@babel/helper-replace-supers": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-optional-catch-binding": { + "version": "7.25.8", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-catch-binding/-/plugin-transform-optional-catch-binding-7.25.8.tgz", + "integrity": "sha512-EbQYweoMAHOn7iJ9GgZo14ghhb9tTjgOc88xFgYngifx7Z9u580cENCV159M4xDh3q/irbhSjZVpuhpC2gKBbg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-optional-chaining": { + "version": "7.25.8", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.25.8.tgz", + "integrity": "sha512-q05Bk7gXOxpTHoQ8RSzGSh/LHVB9JEIkKnk3myAWwZHnYiTGYtbdrYkIsS8Xyh4ltKf7GNUSgzs/6P2bJtBAQg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.25.7", + "@babel/helper-skip-transparent-expression-wrappers": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-parameters": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.25.7.tgz", + "integrity": "sha512-FYiTvku63me9+1Nz7TOx4YMtW3tWXzfANZtrzHhUZrz4d47EEtMQhzFoZWESfXuAMMT5mwzD4+y1N8ONAX6lMQ==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-private-methods": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-methods/-/plugin-transform-private-methods-7.25.7.tgz", + "integrity": "sha512-KY0hh2FluNxMLwOCHbxVOKfdB5sjWG4M183885FmaqWWiGMhRZq4DQRKH6mHdEucbJnyDyYiZNwNG424RymJjA==", + "dev": true, + "dependencies": { + "@babel/helper-create-class-features-plugin": "^7.25.7", + "@babel/helper-plugin-utils": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-private-property-in-object": { + "version": "7.25.8", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-property-in-object/-/plugin-transform-private-property-in-object-7.25.8.tgz", + "integrity": "sha512-8Uh966svuB4V8RHHg0QJOB32QK287NBksJOByoKmHMp1TAobNniNalIkI2i5IPj5+S9NYCG4VIjbEuiSN8r+ow==", + "dev": true, + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.25.7", + "@babel/helper-create-class-features-plugin": "^7.25.7", + "@babel/helper-plugin-utils": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-property-literals": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.25.7.tgz", + "integrity": "sha512-lQEeetGKfFi0wHbt8ClQrUSUMfEeI3MMm74Z73T9/kuz990yYVtfofjf3NuA42Jy3auFOpbjDyCSiIkTs1VIYw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-react-display-name": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.25.7.tgz", + "integrity": "sha512-r0QY7NVU8OnrwE+w2IWiRom0wwsTbjx4+xH2RTd7AVdof3uurXOF+/mXHQDRk+2jIvWgSaCHKMgggfvM4dyUGA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-react-jsx": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.25.7.tgz", + "integrity": "sha512-vILAg5nwGlR9EXE8JIOX4NHXd49lrYbN8hnjffDtoULwpL9hUx/N55nqh2qd0q6FyNDfjl9V79ecKGvFbcSA0Q==", + "dev": true, + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.25.7", + "@babel/helper-module-imports": "^7.25.7", + "@babel/helper-plugin-utils": "^7.25.7", + "@babel/plugin-syntax-jsx": "^7.25.7", + "@babel/types": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-react-jsx-development": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-development/-/plugin-transform-react-jsx-development-7.25.7.tgz", + "integrity": "sha512-5yd3lH1PWxzW6IZj+p+Y4OLQzz0/LzlOG8vGqonHfVR3euf1vyzyMUJk9Ac+m97BH46mFc/98t9PmYLyvgL3qg==", + "dev": true, + "dependencies": { + "@babel/plugin-transform-react-jsx": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-react-pure-annotations": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-pure-annotations/-/plugin-transform-react-pure-annotations-7.25.7.tgz", + "integrity": "sha512-6YTHJ7yjjgYqGc8S+CbEXhLICODk0Tn92j+vNJo07HFk9t3bjFgAKxPLFhHwF2NjmQVSI1zBRfBWUeVBa2osfA==", + "dev": true, + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.25.7", + "@babel/helper-plugin-utils": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-regenerator": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.25.7.tgz", + "integrity": "sha512-mgDoQCRjrY3XK95UuV60tZlFCQGXEtMg8H+IsW72ldw1ih1jZhzYXbJvghmAEpg5UVhhnCeia1CkGttUvCkiMQ==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.25.7", + "regenerator-transform": "^0.15.2" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-reserved-words": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.25.7.tgz", + "integrity": "sha512-3OfyfRRqiGeOvIWSagcwUTVk2hXBsr/ww7bLn6TRTuXnexA+Udov2icFOxFX9abaj4l96ooYkcNN1qi2Zvqwng==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-shorthand-properties": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.25.7.tgz", + "integrity": "sha512-uBbxNwimHi5Bv3hUccmOFlUy3ATO6WagTApenHz9KzoIdn0XeACdB12ZJ4cjhuB2WSi80Ez2FWzJnarccriJeA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-spread": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.25.7.tgz", + "integrity": "sha512-Mm6aeymI0PBh44xNIv/qvo8nmbkpZze1KvR8MkEqbIREDxoiWTi18Zr2jryfRMwDfVZF9foKh060fWgni44luw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.25.7", + "@babel/helper-skip-transparent-expression-wrappers": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-sticky-regex": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.25.7.tgz", + "integrity": "sha512-ZFAeNkpGuLnAQ/NCsXJ6xik7Id+tHuS+NT+ue/2+rn/31zcdnupCdmunOizEaP0JsUmTFSTOPoQY7PkK2pttXw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-template-literals": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.25.7.tgz", + "integrity": "sha512-SI274k0nUsFFmyQupiO7+wKATAmMFf8iFgq2O+vVFXZ0SV9lNfT1NGzBEhjquFmD8I9sqHLguH+gZVN3vww2AA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-typeof-symbol": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.25.7.tgz", + "integrity": "sha512-OmWmQtTHnO8RSUbL0NTdtpbZHeNTnm68Gj5pA4Y2blFNh+V4iZR68V1qL9cI37J21ZN7AaCnkfdHtLExQPf2uA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-unicode-escapes": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.25.7.tgz", + "integrity": "sha512-BN87D7KpbdiABA+t3HbVqHzKWUDN3dymLaTnPFAMyc8lV+KN3+YzNhVRNdinaCPA4AUqx7ubXbQ9shRjYBl3SQ==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-unicode-property-regex": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-property-regex/-/plugin-transform-unicode-property-regex-7.25.7.tgz", + "integrity": "sha512-IWfR89zcEPQGB/iB408uGtSPlQd3Jpq11Im86vUgcmSTcoWAiQMCTOa2K2yNNqFJEBVICKhayctee65Ka8OB0w==", + "dev": true, + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.25.7", + "@babel/helper-plugin-utils": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-unicode-regex": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.25.7.tgz", + "integrity": "sha512-8JKfg/hiuA3qXnlLx8qtv5HWRbgyFx2hMMtpDDuU2rTckpKkGu4ycK5yYHwuEa16/quXfoxHBIApEsNyMWnt0g==", + "dev": true, + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.25.7", + "@babel/helper-plugin-utils": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-unicode-sets-regex": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-sets-regex/-/plugin-transform-unicode-sets-regex-7.25.7.tgz", + "integrity": "sha512-YRW8o9vzImwmh4Q3Rffd09bH5/hvY0pxg+1H1i0f7APoUeg12G7+HhLj9ZFNIrYkgBXhIijPJ+IXypN0hLTIbw==", + "dev": true, + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.25.7", + "@babel/helper-plugin-utils": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/preset-env": { + "version": "7.25.8", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.25.8.tgz", + "integrity": "sha512-58T2yulDHMN8YMUxiLq5YmWUnlDCyY1FsHM+v12VMx+1/FlrUj5tY50iDCpofFQEM8fMYOaY9YRvym2jcjn1Dg==", + "dev": true, + "dependencies": { + "@babel/compat-data": "^7.25.8", + "@babel/helper-compilation-targets": "^7.25.7", + "@babel/helper-plugin-utils": "^7.25.7", + "@babel/helper-validator-option": "^7.25.7", + "@babel/plugin-bugfix-firefox-class-in-computed-class-key": "^7.25.7", + "@babel/plugin-bugfix-safari-class-field-initializer-scope": "^7.25.7", + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.25.7", + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.25.7", + "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": "^7.25.7", + "@babel/plugin-proposal-private-property-in-object": "7.21.0-placeholder-for-preset-env.2", + "@babel/plugin-syntax-import-assertions": "^7.25.7", + "@babel/plugin-syntax-import-attributes": "^7.25.7", + "@babel/plugin-syntax-unicode-sets-regex": "^7.18.6", + "@babel/plugin-transform-arrow-functions": "^7.25.7", + "@babel/plugin-transform-async-generator-functions": "^7.25.8", + "@babel/plugin-transform-async-to-generator": "^7.25.7", + "@babel/plugin-transform-block-scoped-functions": "^7.25.7", + "@babel/plugin-transform-block-scoping": "^7.25.7", + "@babel/plugin-transform-class-properties": "^7.25.7", + "@babel/plugin-transform-class-static-block": "^7.25.8", + "@babel/plugin-transform-classes": "^7.25.7", + "@babel/plugin-transform-computed-properties": "^7.25.7", + "@babel/plugin-transform-destructuring": "^7.25.7", + "@babel/plugin-transform-dotall-regex": "^7.25.7", + "@babel/plugin-transform-duplicate-keys": "^7.25.7", + "@babel/plugin-transform-duplicate-named-capturing-groups-regex": "^7.25.7", + "@babel/plugin-transform-dynamic-import": "^7.25.8", + "@babel/plugin-transform-exponentiation-operator": "^7.25.7", + "@babel/plugin-transform-export-namespace-from": "^7.25.8", + "@babel/plugin-transform-for-of": "^7.25.7", + "@babel/plugin-transform-function-name": "^7.25.7", + "@babel/plugin-transform-json-strings": "^7.25.8", + "@babel/plugin-transform-literals": "^7.25.7", + "@babel/plugin-transform-logical-assignment-operators": "^7.25.8", + "@babel/plugin-transform-member-expression-literals": "^7.25.7", + "@babel/plugin-transform-modules-amd": "^7.25.7", + "@babel/plugin-transform-modules-commonjs": "^7.25.7", + "@babel/plugin-transform-modules-systemjs": "^7.25.7", + "@babel/plugin-transform-modules-umd": "^7.25.7", + "@babel/plugin-transform-named-capturing-groups-regex": "^7.25.7", + "@babel/plugin-transform-new-target": "^7.25.7", + "@babel/plugin-transform-nullish-coalescing-operator": "^7.25.8", + "@babel/plugin-transform-numeric-separator": "^7.25.8", + "@babel/plugin-transform-object-rest-spread": "^7.25.8", + "@babel/plugin-transform-object-super": "^7.25.7", + "@babel/plugin-transform-optional-catch-binding": "^7.25.8", + "@babel/plugin-transform-optional-chaining": "^7.25.8", + "@babel/plugin-transform-parameters": "^7.25.7", + "@babel/plugin-transform-private-methods": "^7.25.7", + "@babel/plugin-transform-private-property-in-object": "^7.25.8", + "@babel/plugin-transform-property-literals": "^7.25.7", + "@babel/plugin-transform-regenerator": "^7.25.7", + "@babel/plugin-transform-reserved-words": "^7.25.7", + "@babel/plugin-transform-shorthand-properties": "^7.25.7", + "@babel/plugin-transform-spread": "^7.25.7", + "@babel/plugin-transform-sticky-regex": "^7.25.7", + "@babel/plugin-transform-template-literals": "^7.25.7", + "@babel/plugin-transform-typeof-symbol": "^7.25.7", + "@babel/plugin-transform-unicode-escapes": "^7.25.7", + "@babel/plugin-transform-unicode-property-regex": "^7.25.7", + "@babel/plugin-transform-unicode-regex": "^7.25.7", + "@babel/plugin-transform-unicode-sets-regex": "^7.25.7", + "@babel/preset-modules": "0.1.6-no-external-plugins", + "babel-plugin-polyfill-corejs2": "^0.4.10", + "babel-plugin-polyfill-corejs3": "^0.10.6", + "babel-plugin-polyfill-regenerator": "^0.6.1", + "core-js-compat": "^3.38.1", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/preset-modules": { + "version": "0.1.6-no-external-plugins", + "resolved": "https://registry.npmjs.org/@babel/preset-modules/-/preset-modules-0.1.6-no-external-plugins.tgz", + "integrity": "sha512-HrcgcIESLm9aIR842yhJ5RWan/gebQUJ6E/E5+rf0y9o6oj7w0Br+sWuL6kEQ/o/AdfvR1Je9jG18/gnpwjEyA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.0.0", + "@babel/types": "^7.4.4", + "esutils": "^2.0.2" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0 || ^8.0.0-0 <8.0.0" + } + }, + "node_modules/@babel/preset-react": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/preset-react/-/preset-react-7.25.7.tgz", + "integrity": "sha512-GjV0/mUEEXpi1U5ZgDprMRRgajGMRW3G5FjMr5KLKD8nT2fTG8+h/klV3+6Dm5739QE+K5+2e91qFKAYI3pmRg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.25.7", + "@babel/helper-validator-option": "^7.25.7", + "@babel/plugin-transform-react-display-name": "^7.25.7", + "@babel/plugin-transform-react-jsx": "^7.25.7", + "@babel/plugin-transform-react-jsx-development": "^7.25.7", + "@babel/plugin-transform-react-pure-annotations": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/runtime": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.25.7.tgz", + "integrity": "sha512-FjoyLe754PMiYsFaN5C94ttGiOmBNYTf6pLr4xXHAT5uctHb092PBszndLDR5XA/jghQvn4n7JMHl7dmTgbm9w==", + "dependencies": { + "regenerator-runtime": "^0.14.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/template": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.25.7.tgz", + "integrity": "sha512-wRwtAgI3bAS+JGU2upWNL9lSlDcRCqD05BZ1n3X2ONLH1WilFP6O1otQjeMK/1g0pvYcXC7b/qVUB1keofjtZA==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.25.7", + "@babel/parser": "^7.25.7", + "@babel/types": "^7.25.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/traverse": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.25.7.tgz", + "integrity": "sha512-jatJPT1Zjqvh/1FyJs6qAHL+Dzb7sTb+xr7Q+gM1b+1oBsMsQQ4FkVKb6dFlJvLlVssqkRzV05Jzervt9yhnzg==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.25.7", + "@babel/generator": "^7.25.7", + "@babel/parser": "^7.25.7", + "@babel/template": "^7.25.7", + "@babel/types": "^7.25.7", + "debug": "^4.3.1", + "globals": "^11.1.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/types": { + "version": "7.25.8", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.25.8.tgz", + "integrity": "sha512-JWtuCu8VQsMladxVz/P4HzHUGCAwpuqacmowgXFs5XjxIgKuNjnLokQzuVjlTvIzODaDmpjT3oxcC48vyk9EWg==", + "dev": true, + "dependencies": { + "@babel/helper-string-parser": "^7.25.7", + "@babel/helper-validator-identifier": "^7.25.7", + "to-fast-properties": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@discoveryjs/json-ext": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz", + "integrity": "sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw==", + "dev": true, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/@isaacs/cliui": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", + "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", + "dev": true, + "dependencies": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz", + "integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==", + "dev": true, + "dependencies": { + "@jridgewell/set-array": "^1.2.1", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.24" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", + "dev": true, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/set-array": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz", + "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==", + "dev": true, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/source-map": { + "version": "0.3.6", + "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.6.tgz", + "integrity": "sha512-1ZJTZebgqllO79ue2bm3rIGud/bOe0pP5BjSRCRxxYkEZS8STV7zN84UBbiYu7jy+eCKSnVIUgoWWE/tt+shMQ==", + "dev": true, + "peer": true, + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.25" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz", + "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==", + "dev": true + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.25", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz", + "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==", + "dev": true, + "dependencies": { + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" + } + }, + "node_modules/@leichtgewicht/ip-codec": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@leichtgewicht/ip-codec/-/ip-codec-2.0.5.tgz", + "integrity": "sha512-Vo+PSpZG2/fmgmiNzYK9qWRh8h/CHrwD0mo1h1DzL4yzHNSfWYujGTYsWGreD000gcgmZ7K4Ys6Tx9TxtsKdDw==", + "dev": true + }, + "node_modules/@pkgjs/parseargs": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", + "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", + "dev": true, + "optional": true, + "engines": { + "node": ">=14" + } + }, + "node_modules/@popperjs/core": { + "version": "2.11.8", + "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz", + "integrity": "sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/popperjs" + } + }, + "node_modules/@tannin/compile": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@tannin/compile/-/compile-1.1.0.tgz", + "integrity": "sha512-n8m9eNDfoNZoxdvWiTfW/hSPhehzLJ3zW7f8E7oT6mCROoMNWCB4TYtv041+2FMAxweiE0j7i1jubQU4MEC/Gg==", + "dependencies": { + "@tannin/evaluate": "^1.2.0", + "@tannin/postfix": "^1.1.0" + } + }, + "node_modules/@tannin/evaluate": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@tannin/evaluate/-/evaluate-1.2.0.tgz", + "integrity": "sha512-3ioXvNowbO/wSrxsDG5DKIMxC81P0QrQTYai8zFNY+umuoHWRPbQ/TuuDEOju9E+jQDXmj6yI5GyejNuh8I+eg==" + }, + "node_modules/@tannin/plural-forms": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@tannin/plural-forms/-/plural-forms-1.1.0.tgz", + "integrity": "sha512-xl9R2mDZO/qiHam1AgMnAES6IKIg7OBhcXqy6eDsRCdXuxAFPcjrej9HMjyCLE0DJ/8cHf0i5OQTstuBRhpbHw==", + "dependencies": { + "@tannin/compile": "^1.1.0" + } + }, + "node_modules/@tannin/postfix": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@tannin/postfix/-/postfix-1.1.0.tgz", + "integrity": "sha512-oocsqY7g0cR+Gur5jRQLSrX2OtpMLMse1I10JQBm8CdGMrDkh1Mg2gjsiquMHRtBs4Qwu5wgEp5GgIYHk4SNPw==" + }, + "node_modules/@types/body-parser": { + "version": "1.19.5", + "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.5.tgz", + "integrity": "sha512-fB3Zu92ucau0iQ0JMCFQE7b/dv8Ot07NI3KaZIkIUNXq82k4eBAqUaneXfleGY9JWskeS9y+u0nXMyspcuQrCg==", + "dev": true, + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "node_modules/@types/bonjour": { + "version": "3.5.13", + "resolved": "https://registry.npmjs.org/@types/bonjour/-/bonjour-3.5.13.tgz", + "integrity": "sha512-z9fJ5Im06zvUL548KvYNecEVlA7cVDkGUi6kZusb04mpyEFKCIZJvloCcmpmLaIahDpOQGHaHmG6imtPMmPXGQ==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/connect": { + "version": "3.4.38", + "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.38.tgz", + "integrity": "sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/connect-history-api-fallback": { + "version": "1.5.4", + "resolved": "https://registry.npmjs.org/@types/connect-history-api-fallback/-/connect-history-api-fallback-1.5.4.tgz", + "integrity": "sha512-n6Cr2xS1h4uAulPRdlw6Jl6s1oG8KrVilPN2yUITEs+K48EzMJJ3W1xy8K5eWuFvjp3R74AOIGSmp2UfBJ8HFw==", + "dev": true, + "dependencies": { + "@types/express-serve-static-core": "*", + "@types/node": "*" + } + }, + "node_modules/@types/estree": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.6.tgz", + "integrity": "sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==", + "dev": true, + "peer": true + }, + "node_modules/@types/express": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.21.tgz", + "integrity": "sha512-ejlPM315qwLpaQlQDTjPdsUFSc6ZsP4AN6AlWnogPjQ7CVi7PYF3YVz+CY3jE2pwYf7E/7HlDAN0rV2GxTG0HQ==", + "dev": true, + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "node_modules/@types/express-serve-static-core": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-5.0.0.tgz", + "integrity": "sha512-AbXMTZGt40T+KON9/Fdxx0B2WK5hsgxcfXJLr5bFpZ7b4JCex2WyQPTEKdXqfHiY5nKKBScZ7yCoO6Pvgxfvnw==", + "dev": true, + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*", + "@types/send": "*" + } + }, + "node_modules/@types/express/node_modules/@types/express-serve-static-core": { + "version": "4.19.6", + "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.19.6.tgz", + "integrity": "sha512-N4LZ2xG7DatVqhCZzOGb1Yi5lMbXSZcmdLDe9EzSndPV2HpWYWzRbaerl2n27irrm94EPpprqa8KpskPT085+A==", + "dev": true, + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*", + "@types/send": "*" + } + }, + "node_modules/@types/http-errors": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@types/http-errors/-/http-errors-2.0.4.tgz", + "integrity": "sha512-D0CFMMtydbJAegzOyHjtiKPLlvnm3iTZyZRSZoLq2mRhDdmLfIWOCYPfQJ4cu2erKghU++QvjcUjp/5h7hESpA==", + "dev": true + }, + "node_modules/@types/http-proxy": { + "version": "1.17.15", + "resolved": "https://registry.npmjs.org/@types/http-proxy/-/http-proxy-1.17.15.tgz", + "integrity": "sha512-25g5atgiVNTIv0LBDTg1H74Hvayx0ajtJPLLcYE3whFv75J0pWNtOBzaXJQgDTmrX1bx5U9YC2w/n65BN1HwRQ==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/json-schema": { + "version": "7.0.15", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", + "dev": true + }, + "node_modules/@types/mime": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.5.tgz", + "integrity": "sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w==", + "dev": true + }, + "node_modules/@types/node": { + "version": "22.7.5", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.5.tgz", + "integrity": "sha512-jML7s2NAzMWc//QSJ1a3prpk78cOPchGvXJsC3C6R6PSMoooztvRVQEz89gmBTBY1SPMaqo5teB4uNHPdetShQ==", + "dev": true, + "dependencies": { + "undici-types": "~6.19.2" + } + }, + "node_modules/@types/node-forge": { + "version": "1.3.11", + "resolved": "https://registry.npmjs.org/@types/node-forge/-/node-forge-1.3.11.tgz", + "integrity": "sha512-FQx220y22OKNTqaByeBGqHWYz4cl94tpcxeFdvBo3wjG6XPBuZ0BNgNZRV5J5TFmmcsJ4IzsLkmGRiQbnYsBEQ==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/qs": { + "version": "6.9.16", + "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.16.tgz", + "integrity": "sha512-7i+zxXdPD0T4cKDuxCUXJ4wHcsJLwENa6Z3dCu8cfCK743OGy5Nu1RmAGqDPsoTDINVEcdXKRvR/zre+P2Ku1A==", + "dev": true + }, + "node_modules/@types/range-parser": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.7.tgz", + "integrity": "sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==", + "dev": true + }, + "node_modules/@types/retry": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/@types/retry/-/retry-0.12.0.tgz", + "integrity": "sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA==", + "dev": true + }, + "node_modules/@types/send": { + "version": "0.17.4", + "resolved": "https://registry.npmjs.org/@types/send/-/send-0.17.4.tgz", + "integrity": "sha512-x2EM6TJOybec7c52BX0ZspPodMsQUd5L6PRwOunVyVUhXiBSKf3AezDL8Dgvgt5o0UfKNfuA0eMLr2wLT4AiBA==", + "dev": true, + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "node_modules/@types/serve-index": { + "version": "1.9.4", + "resolved": "https://registry.npmjs.org/@types/serve-index/-/serve-index-1.9.4.tgz", + "integrity": "sha512-qLpGZ/c2fhSs5gnYsQxtDEq3Oy8SXPClIXkW5ghvAvsNuVSA8k+gCONcUCS/UjLEYvYps+e8uBtfgXgvhwfNug==", + "dev": true, + "dependencies": { + "@types/express": "*" + } + }, + "node_modules/@types/serve-static": { + "version": "1.15.7", + "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.15.7.tgz", + "integrity": "sha512-W8Ym+h8nhuRwaKPaDw34QUkwsGi6Rc4yYqvKFo5rm2FUEhCFbzVWrxXUxuKK8TASjWsysJY0nsmNCGhCOIsrOw==", + "dev": true, + "dependencies": { + "@types/http-errors": "*", + "@types/node": "*", + "@types/send": "*" + } + }, + "node_modules/@types/sockjs": { + "version": "0.3.36", + "resolved": "https://registry.npmjs.org/@types/sockjs/-/sockjs-0.3.36.tgz", + "integrity": "sha512-MK9V6NzAS1+Ud7JV9lJLFqW85VbC9dq3LmwZCuBe4wBDgKC0Kj/jd8Xl+nSviU+Qc3+m7umHHyHg//2KSa0a0Q==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/ws": { + "version": "8.5.12", + "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.12.tgz", + "integrity": "sha512-3tPRkv1EtkDpzlgyKyI8pGsGZAGPEaXeu0DOj5DI25Ja91bdAYddYHbADRYVrZMRbfW+1l5YwXVDKohDJNQxkQ==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@webassemblyjs/ast": { + "version": "1.12.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.12.1.tgz", + "integrity": "sha512-EKfMUOPRRUTy5UII4qJDGPpqfwjOmZ5jeGFwid9mnoqIFK+e0vqoi1qH56JpmZSzEL53jKnNzScdmftJyG5xWg==", + "dev": true, + "peer": true, + "dependencies": { + "@webassemblyjs/helper-numbers": "1.11.6", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6" + } + }, + "node_modules/@webassemblyjs/floating-point-hex-parser": { + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.6.tgz", + "integrity": "sha512-ejAj9hfRJ2XMsNHk/v6Fu2dGS+i4UaXBXGemOfQ/JfQ6mdQg/WXtwleQRLLS4OvfDhv8rYnVwH27YJLMyYsxhw==", + "dev": true, + "peer": true + }, + "node_modules/@webassemblyjs/helper-api-error": { + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.6.tgz", + "integrity": "sha512-o0YkoP4pVu4rN8aTJgAyj9hC2Sv5UlkzCHhxqWj8butaLvnpdc2jOwh4ewE6CX0txSfLn/UYaV/pheS2Txg//Q==", + "dev": true, + "peer": true + }, + "node_modules/@webassemblyjs/helper-buffer": { + "version": "1.12.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.12.1.tgz", + "integrity": "sha512-nzJwQw99DNDKr9BVCOZcLuJJUlqkJh+kVzVl6Fmq/tI5ZtEyWT1KZMyOXltXLZJmDtvLCDgwsyrkohEtopTXCw==", + "dev": true, + "peer": true + }, + "node_modules/@webassemblyjs/helper-numbers": { + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.6.tgz", + "integrity": "sha512-vUIhZ8LZoIWHBohiEObxVm6hwP034jwmc9kuq5GdHZH0wiLVLIPcMCdpJzG4C11cHoQ25TFIQj9kaVADVX7N3g==", + "dev": true, + "peer": true, + "dependencies": { + "@webassemblyjs/floating-point-hex-parser": "1.11.6", + "@webassemblyjs/helper-api-error": "1.11.6", + "@xtuc/long": "4.2.2" + } + }, + "node_modules/@webassemblyjs/helper-wasm-bytecode": { + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.6.tgz", + "integrity": "sha512-sFFHKwcmBprO9e7Icf0+gddyWYDViL8bpPjJJl0WHxCdETktXdmtWLGVzoHbqUcY4Be1LkNfwTmXOJUFZYSJdA==", + "dev": true, + "peer": true + }, + "node_modules/@webassemblyjs/helper-wasm-section": { + "version": "1.12.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.12.1.tgz", + "integrity": "sha512-Jif4vfB6FJlUlSbgEMHUyk1j234GTNG9dBJ4XJdOySoj518Xj0oGsNi59cUQF4RRMS9ouBUxDDdyBVfPTypa5g==", + "dev": true, + "peer": true, + "dependencies": { + "@webassemblyjs/ast": "1.12.1", + "@webassemblyjs/helper-buffer": "1.12.1", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6", + "@webassemblyjs/wasm-gen": "1.12.1" + } + }, + "node_modules/@webassemblyjs/ieee754": { + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.11.6.tgz", + "integrity": "sha512-LM4p2csPNvbij6U1f19v6WR56QZ8JcHg3QIJTlSwzFcmx6WSORicYj6I63f9yU1kEUtrpG+kjkiIAkevHpDXrg==", + "dev": true, + "peer": true, + "dependencies": { + "@xtuc/ieee754": "^1.2.0" + } + }, + "node_modules/@webassemblyjs/leb128": { + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.11.6.tgz", + "integrity": "sha512-m7a0FhE67DQXgouf1tbN5XQcdWoNgaAuoULHIfGFIEVKA6tu/edls6XnIlkmS6FrXAquJRPni3ZZKjw6FSPjPQ==", + "dev": true, + "peer": true, + "dependencies": { + "@xtuc/long": "4.2.2" + } + }, + "node_modules/@webassemblyjs/utf8": { + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.11.6.tgz", + "integrity": "sha512-vtXf2wTQ3+up9Zsg8sa2yWiQpzSsMyXj0qViVP6xKGCUT8p8YJ6HqI7l5eCnWx1T/FYdsv07HQs2wTFbbof/RA==", + "dev": true, + "peer": true + }, + "node_modules/@webassemblyjs/wasm-edit": { + "version": "1.12.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.12.1.tgz", + "integrity": "sha512-1DuwbVvADvS5mGnXbE+c9NfA8QRcZ6iKquqjjmR10k6o+zzsRVesil54DKexiowcFCPdr/Q0qaMgB01+SQ1u6g==", + "dev": true, + "peer": true, + "dependencies": { + "@webassemblyjs/ast": "1.12.1", + "@webassemblyjs/helper-buffer": "1.12.1", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6", + "@webassemblyjs/helper-wasm-section": "1.12.1", + "@webassemblyjs/wasm-gen": "1.12.1", + "@webassemblyjs/wasm-opt": "1.12.1", + "@webassemblyjs/wasm-parser": "1.12.1", + "@webassemblyjs/wast-printer": "1.12.1" + } + }, + "node_modules/@webassemblyjs/wasm-gen": { + "version": "1.12.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.12.1.tgz", + "integrity": "sha512-TDq4Ojh9fcohAw6OIMXqiIcTq5KUXTGRkVxbSo1hQnSy6lAM5GSdfwWeSxpAo0YzgsgF182E/U0mDNhuA0tW7w==", + "dev": true, + "peer": true, + "dependencies": { + "@webassemblyjs/ast": "1.12.1", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6", + "@webassemblyjs/ieee754": "1.11.6", + "@webassemblyjs/leb128": "1.11.6", + "@webassemblyjs/utf8": "1.11.6" + } + }, + "node_modules/@webassemblyjs/wasm-opt": { + "version": "1.12.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.12.1.tgz", + "integrity": "sha512-Jg99j/2gG2iaz3hijw857AVYekZe2SAskcqlWIZXjji5WStnOpVoat3gQfT/Q5tb2djnCjBtMocY/Su1GfxPBg==", + "dev": true, + "peer": true, + "dependencies": { + "@webassemblyjs/ast": "1.12.1", + "@webassemblyjs/helper-buffer": "1.12.1", + "@webassemblyjs/wasm-gen": "1.12.1", + "@webassemblyjs/wasm-parser": "1.12.1" + } + }, + "node_modules/@webassemblyjs/wasm-parser": { + "version": "1.12.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.12.1.tgz", + "integrity": "sha512-xikIi7c2FHXysxXe3COrVUPSheuBtpcfhbpFj4gmu7KRLYOzANztwUU0IbsqvMqzuNK2+glRGWCEqZo1WCLyAQ==", + "dev": true, + "peer": true, + "dependencies": { + "@webassemblyjs/ast": "1.12.1", + "@webassemblyjs/helper-api-error": "1.11.6", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6", + "@webassemblyjs/ieee754": "1.11.6", + "@webassemblyjs/leb128": "1.11.6", + "@webassemblyjs/utf8": "1.11.6" + } + }, + "node_modules/@webassemblyjs/wast-printer": { + "version": "1.12.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.12.1.tgz", + "integrity": "sha512-+X4WAlOisVWQMikjbcvY2e0rwPsKQ9F688lksZhBcPycBBuii3O7m8FACbDMWDojpAqvjIncrG8J0XHKyQfVeA==", + "dev": true, + "peer": true, + "dependencies": { + "@webassemblyjs/ast": "1.12.1", + "@xtuc/long": "4.2.2" + } + }, + "node_modules/@webpack-cli/configtest": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@webpack-cli/configtest/-/configtest-1.2.0.tgz", + "integrity": "sha512-4FB8Tj6xyVkyqjj1OaTqCjXYULB9FMkqQ8yGrZjRDrYh0nOE+7Lhs45WioWQQMV+ceFlE368Ukhe6xdvJM9Egg==", + "dev": true, + "peerDependencies": { + "webpack": "4.x.x || 5.x.x", + "webpack-cli": "4.x.x" + } + }, + "node_modules/@webpack-cli/info": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@webpack-cli/info/-/info-1.5.0.tgz", + "integrity": "sha512-e8tSXZpw2hPl2uMJY6fsMswaok5FdlGNRTktvFk2sD8RjH0hE2+XistawJx1vmKteh4NmGmNUrp+Tb2w+udPcQ==", + "dev": true, + "dependencies": { + "envinfo": "^7.7.3" + }, + "peerDependencies": { + "webpack-cli": "4.x.x" + } + }, + "node_modules/@webpack-cli/serve": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/@webpack-cli/serve/-/serve-1.7.0.tgz", + "integrity": "sha512-oxnCNGj88fL+xzV+dacXs44HcDwf1ovs3AuEzvP7mqXw7fQntqIhQ1BRmynh4qEKQSSSRSWVyXRjmTbZIX9V2Q==", + "dev": true, + "peerDependencies": { + "webpack-cli": "4.x.x" + }, + "peerDependenciesMeta": { + "webpack-dev-server": { + "optional": true + } + } + }, + "node_modules/@woocommerce/dependency-extraction-webpack-plugin": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@woocommerce/dependency-extraction-webpack-plugin/-/dependency-extraction-webpack-plugin-3.0.1.tgz", + "integrity": "sha512-klUM4B3mzDTKSBc9iSyPb2U4wUwKdGuFRBB3cqpNNOziOJUR3v/UHQ4pCLqe3Vqq5lPvKwcMsO4iSoNqjiJWOg==", + "dev": true, + "dependencies": { + "@wordpress/dependency-extraction-webpack-plugin": "^3.7.0" + }, + "engines": { + "node": "^20.11.1", + "pnpm": "^8.12.1" + } + }, + "node_modules/@wordpress/dependency-extraction-webpack-plugin": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/@wordpress/dependency-extraction-webpack-plugin/-/dependency-extraction-webpack-plugin-3.7.0.tgz", + "integrity": "sha512-SHyp88D1ICSaRVMfs/kKEicjKXWf1y2wecUeZIiMtkfAi8Bnk3JsnUo11LH7drJIXfjmDoer2B2rrBMZmRm8VA==", + "dev": true, + "dependencies": { + "json2php": "^0.0.4", + "webpack-sources": "^3.2.2" + }, + "engines": { + "node": ">=12" + }, + "peerDependencies": { + "webpack": "^4.8.3 || ^5.0.0" + } + }, + "node_modules/@wordpress/hooks": { + "version": "3.58.0", + "resolved": "https://registry.npmjs.org/@wordpress/hooks/-/hooks-3.58.0.tgz", + "integrity": "sha512-9LB0ZHnZRQlORttux9t/xbAskF+dk2ujqzPGsVzc92mSKpQP3K2a5Wy74fUnInguB1vLUNHT6nrNdkVom5qX1Q==", + "dependencies": { + "@babel/runtime": "^7.16.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@wordpress/i18n": { + "version": "4.58.0", + "resolved": "https://registry.npmjs.org/@wordpress/i18n/-/i18n-4.58.0.tgz", + "integrity": "sha512-VfvS3BWv/RDjRKD6PscIcvYfWKnGJcI/DEqyDgUMhxCM6NRwoL478CsUKTiGJIymeyRodNRfprdcF086DpGKYw==", + "dependencies": { + "@babel/runtime": "^7.16.0", + "@wordpress/hooks": "^3.58.0", + "gettext-parser": "^1.3.1", + "memize": "^2.1.0", + "sprintf-js": "^1.1.1", + "tannin": "^1.2.0" + }, + "bin": { + "pot-to-php": "tools/pot-to-php.js" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@xtuc/ieee754": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz", + "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==", + "dev": true, + "peer": true + }, + "node_modules/@xtuc/long": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz", + "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==", + "dev": true, + "peer": true + }, + "node_modules/accepts": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", + "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", + "dev": true, + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/acorn": { + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.13.0.tgz", + "integrity": "sha512-8zSiw54Oxrdym50NlZ9sUusyO1Z1ZchgRLWRaK6c86XJFClyCgFKetdowBg5bKxyp/u+CDBJG4Mpp0m3HLZl9w==", + "dev": true, + "peer": true, + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-import-attributes": { + "version": "1.9.5", + "resolved": "https://registry.npmjs.org/acorn-import-attributes/-/acorn-import-attributes-1.9.5.tgz", + "integrity": "sha512-n02Vykv5uA3eHGM/Z2dQrcD56kL8TyDb2p1+0P83PClMnC/nc+anbQRhIOWnSq4Ke/KvDPrY3C9hDtC/A3eHnQ==", + "dev": true, + "peer": true, + "peerDependencies": { + "acorn": "^8" + } + }, + "node_modules/ajv": { + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", + "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", + "dev": true, + "dependencies": { + "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ajv-formats": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-2.1.1.tgz", + "integrity": "sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==", + "dev": true, + "dependencies": { + "ajv": "^8.0.0" + }, + "peerDependencies": { + "ajv": "^8.0.0" + }, + "peerDependenciesMeta": { + "ajv": { + "optional": true + } + } + }, + "node_modules/ajv-keywords": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-5.1.0.tgz", + "integrity": "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==", + "dev": true, + "dependencies": { + "fast-deep-equal": "^3.1.3" + }, + "peerDependencies": { + "ajv": "^8.8.2" + } + }, + "node_modules/ansi-html-community": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/ansi-html-community/-/ansi-html-community-0.0.8.tgz", + "integrity": "sha512-1APHAyr3+PCamwNw3bXCPp4HFLONZt/yIH0sZp0/469KWNTEy+qN5jQ3GVX6DMZ1UXAi34yVwtTeaG/HpBuuzw==", + "dev": true, + "engines": [ + "node >= 0.8.0" + ], + "bin": { + "ansi-html": "bin/ansi-html" + } + }, + "node_modules/ansi-regex": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", + "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/anymatch": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", + "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", + "dev": true, + "dependencies": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/array-flatten": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", + "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==", + "dev": true + }, + "node_modules/babel-loader": { + "version": "9.2.1", + "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-9.2.1.tgz", + "integrity": "sha512-fqe8naHt46e0yIdkjUZYqddSXfej3AHajX+CSO5X7oy0EmPc6o5Xh+RClNoHjnieWz9AW4kZxW9yyFMhVB1QLA==", + "dev": true, + "dependencies": { + "find-cache-dir": "^4.0.0", + "schema-utils": "^4.0.0" + }, + "engines": { + "node": ">= 14.15.0" + }, + "peerDependencies": { + "@babel/core": "^7.12.0", + "webpack": ">=5" + } + }, + "node_modules/babel-plugin-polyfill-corejs2": { + "version": "0.4.11", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.11.tgz", + "integrity": "sha512-sMEJ27L0gRHShOh5G54uAAPaiCOygY/5ratXuiyb2G46FmlSpc9eFCzYVyDiPxfNbwzA7mYahmjQc5q+CZQ09Q==", + "dev": true, + "dependencies": { + "@babel/compat-data": "^7.22.6", + "@babel/helper-define-polyfill-provider": "^0.6.2", + "semver": "^6.3.1" + }, + "peerDependencies": { + "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" + } + }, + "node_modules/babel-plugin-polyfill-corejs3": { + "version": "0.10.6", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.10.6.tgz", + "integrity": "sha512-b37+KR2i/khY5sKmWNVQAnitvquQbNdWy6lJdsr0kmquCKEEUgMKK4SboVM3HtfnZilfjr4MMQ7vY58FVWDtIA==", + "dev": true, + "dependencies": { + "@babel/helper-define-polyfill-provider": "^0.6.2", + "core-js-compat": "^3.38.0" + }, + "peerDependencies": { + "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" + } + }, + "node_modules/babel-plugin-polyfill-regenerator": { + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.6.2.tgz", + "integrity": "sha512-2R25rQZWP63nGwaAswvDazbPXfrM3HwVoBXK6HcqeKrSrL/JqcC/rDcf95l4r7LXLyxDXc8uQDa064GubtCABg==", + "dev": true, + "dependencies": { + "@babel/helper-define-polyfill-provider": "^0.6.2" + }, + "peerDependencies": { + "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" + } + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "dev": true + }, + "node_modules/batch": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/batch/-/batch-0.6.1.tgz", + "integrity": "sha512-x+VAiMRL6UPkx+kudNvxTl6hB2XNNCG2r+7wixVfIYwu/2HKRXimwQyaumLjMveWvT2Hkd/cAJw+QBMfJ/EKVw==", + "dev": true + }, + "node_modules/binary-extensions": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz", + "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==", + "dev": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/body-parser": { + "version": "1.20.3", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.3.tgz", + "integrity": "sha512-7rAxByjUMqQ3/bHJy7D6OGXvx/MMc4IqBn/X0fcM1QUcAItpZrBEYhWGem+tzXH90c+G01ypMcYJBO9Y30203g==", + "dev": true, + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.13.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "node_modules/body-parser/node_modules/bytes": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", + "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", + "dev": true, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/body-parser/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/body-parser/node_modules/iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dev": true, + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/body-parser/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", + "dev": true + }, + "node_modules/bonjour-service": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/bonjour-service/-/bonjour-service-1.2.1.tgz", + "integrity": "sha512-oSzCS2zV14bh2kji6vNe7vrpJYCHGvcZnlffFQ1MEoX/WOeQ/teD8SYWKR942OI3INjq8OMNJlbPK5LLLUxFDw==", + "dev": true, + "dependencies": { + "fast-deep-equal": "^3.1.3", + "multicast-dns": "^7.2.5" + } + }, + "node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/braces": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", + "dev": true, + "dependencies": { + "fill-range": "^7.1.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/browserslist": { + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.24.0.tgz", + "integrity": "sha512-Rmb62sR1Zpjql25eSanFGEhAxcFwfA1K0GuQcLoaJBAcENegrQut3hYdhXFF1obQfiDyqIW/cLM5HSJ/9k884A==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "dependencies": { + "caniuse-lite": "^1.0.30001663", + "electron-to-chromium": "^1.5.28", + "node-releases": "^2.0.18", + "update-browserslist-db": "^1.1.0" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + } + }, + "node_modules/buffer-from": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", + "dev": true, + "peer": true + }, + "node_modules/bytes": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz", + "integrity": "sha512-pMhOfFDPiv9t5jjIXkHosWmkSyQbvsgEVNkz0ERHbuLh2T/7j4Mqqpz523Fe8MVY89KC6Sh/QfS2sM+SjgFDcw==", + "dev": true, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/call-bind": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", + "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", + "dev": true, + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "set-function-length": "^1.2.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/caniuse-lite": { + "version": "1.0.30001669", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001669.tgz", + "integrity": "sha512-DlWzFDJqstqtIVx1zeSpIMLjunf5SmwOw0N2Ck/QSQdS8PLS4+9HrLaYei4w8BIAL7IB/UEDu889d8vhCTPA0w==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ] + }, + "node_modules/chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/chokidar": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", + "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", + "dev": true, + "dependencies": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, + "engines": { + "node": ">= 8.10.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/chrome-trace-event": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.4.tgz", + "integrity": "sha512-rNjApaLzuwaOTjCiT8lSDdGN1APCiqkChLMJxJPWLunPAt5fy8xgU9/jNOchV84wfIxrA0lRQB7oCT8jrn/wrQ==", + "dev": true, + "peer": true, + "engines": { + "node": ">=6.0" + } + }, + "node_modules/classnames": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/classnames/-/classnames-2.5.1.tgz", + "integrity": "sha512-saHYOzhIQs6wy2sVxTM6bUDsQO4F50V9RQ22qBpEdCW+I+/Wmke2HOl6lS6dTpdxVhb88/I6+Hs+438c3lfUow==" + }, + "node_modules/clone-deep": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz", + "integrity": "sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ==", + "dev": true, + "dependencies": { + "is-plain-object": "^2.0.4", + "kind-of": "^6.0.2", + "shallow-clone": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "dependencies": { + "color-name": "1.1.3" + } + }, + "node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", + "dev": true + }, + "node_modules/colorette": { + "version": "2.0.20", + "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.20.tgz", + "integrity": "sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==", + "dev": true + }, + "node_modules/commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true, + "peer": true + }, + "node_modules/common-path-prefix": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/common-path-prefix/-/common-path-prefix-3.0.0.tgz", + "integrity": "sha512-QE33hToZseCH3jS0qN96O/bSh3kaw/h+Tq7ngyY9eWDUnTlTNUyqfqvCXioLe5Na5jFsL78ra/wuBU4iuEgd4w==", + "dev": true + }, + "node_modules/compressible": { + "version": "2.0.18", + "resolved": "https://registry.npmjs.org/compressible/-/compressible-2.0.18.tgz", + "integrity": "sha512-AF3r7P5dWxL8MxyITRMlORQNaOA2IkAFaTr4k7BUumjPtRpGDTZpl0Pb1XCO6JeDCBdp126Cgs9sMxqSjgYyRg==", + "dev": true, + "dependencies": { + "mime-db": ">= 1.43.0 < 2" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/compression": { + "version": "1.7.4", + "resolved": "https://registry.npmjs.org/compression/-/compression-1.7.4.tgz", + "integrity": "sha512-jaSIDzP9pZVS4ZfQ+TzvtiWhdpFhE2RDHz8QJkpX9SIpLq88VueF5jJw6t+6CUQcAoA6t+x89MLrWAqpfDE8iQ==", + "dev": true, + "dependencies": { + "accepts": "~1.3.5", + "bytes": "3.0.0", + "compressible": "~2.0.16", + "debug": "2.6.9", + "on-headers": "~1.0.2", + "safe-buffer": "5.1.2", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/compression/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/compression/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", + "dev": true + }, + "node_modules/compression/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", + "dev": true + }, + "node_modules/connect-history-api-fallback": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/connect-history-api-fallback/-/connect-history-api-fallback-2.0.0.tgz", + "integrity": "sha512-U73+6lQFmfiNPrYbXqr6kZ1i1wiRqXnp2nhMsINseWXO8lDau0LGEffJ8kQi4EjLZympVgRdvqjAgiZ1tgzDDA==", + "dev": true, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/content-disposition": { + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", + "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", + "dev": true, + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/content-type": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", + "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "dev": true + }, + "node_modules/cookie": { + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.1.tgz", + "integrity": "sha512-6DnInpx7SJ2AK3+CTUE/ZM0vWTUboZCegxhC2xiIydHR9jNuTAASBrfEpHhiGOZw/nX51bHt6YQl8jsGo4y/0w==", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cookie-signature": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", + "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==", + "dev": true + }, + "node_modules/core-js-compat": { + "version": "3.38.1", + "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.38.1.tgz", + "integrity": "sha512-JRH6gfXxGmrzF3tZ57lFx97YARxCXPaMzPo6jELZhv88pBH5VXpQ+y0znKGlFnzuaihqhLbefxSJxWJMPtfDzw==", + "dev": true, + "dependencies": { + "browserslist": "^4.23.3" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/core-js" + } + }, + "node_modules/core-util-is": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", + "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==", + "dev": true + }, + "node_modules/cross-env": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/cross-env/-/cross-env-7.0.3.tgz", + "integrity": "sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==", + "dev": true, + "dependencies": { + "cross-spawn": "^7.0.1" + }, + "bin": { + "cross-env": "src/bin/cross-env.js", + "cross-env-shell": "src/bin/cross-env-shell.js" + }, + "engines": { + "node": ">=10.14", + "npm": ">=6", + "yarn": ">=1" + } + }, + "node_modules/cross-spawn": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", + "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "dev": true, + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/css-loader": { + "version": "6.11.0", + "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-6.11.0.tgz", + "integrity": "sha512-CTJ+AEQJjq5NzLga5pE39qdiSV56F8ywCIsqNIRF0r7BDgWsN25aazToqAFg7ZrtA/U016xudB3ffgweORxX7g==", + "dev": true, + "dependencies": { + "icss-utils": "^5.1.0", + "postcss": "^8.4.33", + "postcss-modules-extract-imports": "^3.1.0", + "postcss-modules-local-by-default": "^4.0.5", + "postcss-modules-scope": "^3.2.0", + "postcss-modules-values": "^4.0.0", + "postcss-value-parser": "^4.2.0", + "semver": "^7.5.4" + }, + "engines": { + "node": ">= 12.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "@rspack/core": "0.x || 1.x", + "webpack": "^5.0.0" + }, + "peerDependenciesMeta": { + "@rspack/core": { + "optional": true + }, + "webpack": { + "optional": true + } + } + }, + "node_modules/css-loader/node_modules/semver": { + "version": "7.6.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", + "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/cssesc": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", + "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", + "dev": true, + "bin": { + "cssesc": "bin/cssesc" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/date-fns": { + "version": "2.30.0", + "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.30.0.tgz", + "integrity": "sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw==", + "dependencies": { + "@babel/runtime": "^7.21.0" + }, + "engines": { + "node": ">=0.11" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/date-fns" + } + }, + "node_modules/debug": { + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", + "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", + "dev": true, + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/default-gateway": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/default-gateway/-/default-gateway-6.0.3.tgz", + "integrity": "sha512-fwSOJsbbNzZ/CUFpqFBqYfYNLj1NbMPm8MMCIzHjC83iSJRBEGmDUxU+WP661BaBQImeC2yHwXtz+P/O9o+XEg==", + "dev": true, + "dependencies": { + "execa": "^5.0.0" + }, + "engines": { + "node": ">= 10" + } + }, + "node_modules/define-data-property": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", + "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", + "dev": true, + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "gopd": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/define-lazy-prop": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz", + "integrity": "sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/depd": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", + "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", + "dev": true, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/destroy": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", + "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==", + "dev": true, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "node_modules/detect-node": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/detect-node/-/detect-node-2.1.0.tgz", + "integrity": "sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g==", + "dev": true + }, + "node_modules/dns-packet": { + "version": "5.6.1", + "resolved": "https://registry.npmjs.org/dns-packet/-/dns-packet-5.6.1.tgz", + "integrity": "sha512-l4gcSouhcgIKRvyy99RNVOgxXiicE+2jZoNmaNmZ6JXiGajBOJAesk1OBlJuM5k2c+eudGdLxDqXuPCKIj6kpw==", + "dev": true, + "dependencies": { + "@leichtgewicht/ip-codec": "^2.0.1" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/eastasianwidth": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", + "dev": true + }, + "node_modules/ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==", + "dev": true + }, + "node_modules/electron-to-chromium": { + "version": "1.5.39", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.39.tgz", + "integrity": "sha512-4xkpSR6CjuiaNyvwiWDI85N9AxsvbPawB8xc7yzLPonYTuP19BVgYweKyUMFtHEZgIcHWMt1ks5Cqx2m+6/Grg==", + "dev": true + }, + "node_modules/emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", + "dev": true + }, + "node_modules/encodeurl": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz", + "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==", + "dev": true, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/encoding": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", + "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", + "dependencies": { + "iconv-lite": "^0.6.2" + } + }, + "node_modules/enhanced-resolve": { + "version": "5.17.1", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.17.1.tgz", + "integrity": "sha512-LMHl3dXhTcfv8gM4kEzIUeTQ+7fpdA0l2tUf34BddXPkz2A5xJ5L/Pchd5BL6rdccM9QGvu0sWZzK1Z1t4wwyg==", + "dev": true, + "peer": true, + "dependencies": { + "graceful-fs": "^4.2.4", + "tapable": "^2.2.0" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/envinfo": { + "version": "7.14.0", + "resolved": "https://registry.npmjs.org/envinfo/-/envinfo-7.14.0.tgz", + "integrity": "sha512-CO40UI41xDQzhLB1hWyqUKgFhs250pNcGbyGKe1l/e4FSaI/+YE4IMG76GDt0In67WLPACIITC+sOi08x4wIvg==", + "dev": true, + "bin": { + "envinfo": "dist/cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/es-define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", + "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", + "dev": true, + "dependencies": { + "get-intrinsic": "^1.2.4" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-errors": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "dev": true, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-module-lexer": { + "version": "1.5.4", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.5.4.tgz", + "integrity": "sha512-MVNK56NiMrOwitFB7cqDwq0CQutbw+0BvLshJSse0MUNU+y1FC3bUS/AQg7oUng+/wKrrki7JfmwtVHkVfPLlw==", + "dev": true, + "peer": true + }, + "node_modules/escalade": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==", + "dev": true + }, + "node_modules/escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", + "dev": true, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/eslint-scope": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", + "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", + "dev": true, + "peer": true, + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^4.1.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dev": true, + "peer": true, + "dependencies": { + "estraverse": "^5.2.0" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esrecurse/node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "peer": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estraverse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "dev": true, + "peer": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/eventemitter3": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", + "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", + "dev": true + }, + "node_modules/events": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", + "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", + "dev": true, + "peer": true, + "engines": { + "node": ">=0.8.x" + } + }, + "node_modules/execa": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", + "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", + "dev": true, + "dependencies": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" + } + }, + "node_modules/execa/node_modules/signal-exit": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", + "dev": true + }, + "node_modules/express": { + "version": "4.21.1", + "resolved": "https://registry.npmjs.org/express/-/express-4.21.1.tgz", + "integrity": "sha512-YSFlK1Ee0/GC8QaO91tHcDxJiE/X4FbpAyQWkxAvG6AXCuR65YzK8ua6D9hvi/TzUfZMpc+BwuM1IPw8fmQBiQ==", + "dev": true, + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.3", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.7.1", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~2.0.0", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.3.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.3", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.10", + "proxy-addr": "~2.0.7", + "qs": "6.13.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.19.0", + "serve-static": "1.16.2", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "node_modules/express/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/express/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", + "dev": true + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true + }, + "node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true, + "peer": true + }, + "node_modules/fast-uri": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.0.3.tgz", + "integrity": "sha512-aLrHthzCjH5He4Z2H9YZ+v6Ujb9ocRuW6ZzkJQOrTxleEijANq4v1TsaPaVG1PZcuurEzrLcWRyYBYXD5cEiaw==", + "dev": true + }, + "node_modules/fastest-levenshtein": { + "version": "1.0.16", + "resolved": "https://registry.npmjs.org/fastest-levenshtein/-/fastest-levenshtein-1.0.16.tgz", + "integrity": "sha512-eRnCtTTtGZFpQCwhJiUOuxPQWRXVKYDn0b2PeHfXL6/Zi53SLAzAHfVhVWK2AryC/WH05kGfxhFIPvTF0SXQzg==", + "dev": true, + "engines": { + "node": ">= 4.9.1" + } + }, + "node_modules/faye-websocket": { + "version": "0.11.4", + "resolved": "https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.11.4.tgz", + "integrity": "sha512-CzbClwlXAuiRQAlUyfqPgvPoNKTckTPGfwZV4ZdAhVcP2lh9KUxJg2b5GkE7XbjKQ3YJnQ9z6D9ntLAlB+tP8g==", + "dev": true, + "dependencies": { + "websocket-driver": ">=0.5.1" + }, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/fill-range": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", + "dev": true, + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/finalhandler": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.3.1.tgz", + "integrity": "sha512-6BN9trH7bp3qvnrRyzsBz+g3lZxTNZTbVO2EV1CS0WIcDbawYVdYvGflME/9QP0h0pYlCDBCTjYa9nZzMDpyxQ==", + "dev": true, + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~2.0.0", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/finalhandler/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/finalhandler/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", + "dev": true + }, + "node_modules/find-cache-dir": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-4.0.0.tgz", + "integrity": "sha512-9ZonPT4ZAK4a+1pUPVPZJapbi7O5qbbJPdYw/NOQWZZbVLdDTYM3A4R9z/DpAM08IDaFGsvPgiGZ82WEwUDWjg==", + "dev": true, + "dependencies": { + "common-path-prefix": "^3.0.0", + "pkg-dir": "^7.0.0" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/find-up": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-6.3.0.tgz", + "integrity": "sha512-v2ZsoEuVHYy8ZIlYqwPe/39Cy+cFDzp4dXPaxNvkEuouymu+2Jbz0PxpKarJHYJTmv2HWT3O382qY8l4jMWthw==", + "dev": true, + "dependencies": { + "locate-path": "^7.1.0", + "path-exists": "^5.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/flat": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", + "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", + "dev": true, + "bin": { + "flat": "cli.js" + } + }, + "node_modules/follow-redirects": { + "version": "1.15.9", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.9.tgz", + "integrity": "sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/RubenVerborgh" + } + ], + "engines": { + "node": ">=4.0" + }, + "peerDependenciesMeta": { + "debug": { + "optional": true + } + } + }, + "node_modules/foreground-child": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.0.tgz", + "integrity": "sha512-Ld2g8rrAyMYFXBhEqMz8ZAHBi4J4uS1i/CxGMDnjyFWddMXLVcDp051DZfu+t7+ab7Wv6SMqpWmyFIj5UbfFvg==", + "dev": true, + "dependencies": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/forwarded": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", + "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/fresh": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", + "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/fs-monkey": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/fs-monkey/-/fs-monkey-1.0.6.tgz", + "integrity": "sha512-b1FMfwetIKymC0eioW7mTywihSQE4oLzQn1dB6rZB5fx/3NpNEdAWeCSMB+60/AeT0TCXsxzAlcYVEFCTAksWg==", + "dev": true + }, + "node_modules/fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", + "dev": true + }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "hasInstallScript": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/gensync": { + "version": "1.0.0-beta.2", + "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", + "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/get-intrinsic": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", + "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", + "dev": true, + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "hasown": "^2.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-stream": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", + "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/gettext-parser": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/gettext-parser/-/gettext-parser-1.4.0.tgz", + "integrity": "sha512-sedZYLHlHeBop/gZ1jdg59hlUEcpcZJofLq2JFwJT1zTqAU3l2wFv6IsuwFHGqbiT9DWzMUW4/em2+hspnmMMA==", + "dependencies": { + "encoding": "^0.1.12", + "safe-buffer": "^5.1.1" + } + }, + "node_modules/glob": { + "version": "10.4.5", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", + "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", + "dev": true, + "dependencies": { + "foreground-child": "^3.1.0", + "jackspeak": "^3.1.2", + "minimatch": "^9.0.4", + "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", + "path-scurry": "^1.11.1" + }, + "bin": { + "glob": "dist/esm/bin.mjs" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/glob-to-regexp": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz", + "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==", + "dev": true, + "peer": true + }, + "node_modules/globals": { + "version": "11.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", + "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/gopd": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", + "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", + "dev": true, + "dependencies": { + "get-intrinsic": "^1.1.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/graceful-fs": { + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", + "dev": true + }, + "node_modules/handle-thing": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/handle-thing/-/handle-thing-2.0.1.tgz", + "integrity": "sha512-9Qn4yBxelxoh2Ow62nP+Ka/kMnOXRi8BXnRaUwezLNhqelnN49xKz4F/dPP8OYLxLxq6JDtZb2i9XznUQbNPTg==", + "dev": true + }, + "node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/has-property-descriptors": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", + "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", + "dev": true, + "dependencies": { + "es-define-property": "^1.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-proto": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", + "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-symbols": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", + "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/hasown": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", + "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "dev": true, + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/hpack.js": { + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/hpack.js/-/hpack.js-2.1.6.tgz", + "integrity": "sha512-zJxVehUdMGIKsRaNt7apO2Gqp0BdqW5yaiGHXXmbpvxgBYVZnAql+BJb4RO5ad2MgpbZKn5G6nMnegrH1FcNYQ==", + "dev": true, + "dependencies": { + "inherits": "^2.0.1", + "obuf": "^1.0.0", + "readable-stream": "^2.0.1", + "wbuf": "^1.1.0" + } + }, + "node_modules/hpack.js/node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "dev": true, + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/hpack.js/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true + }, + "node_modules/hpack.js/node_modules/string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "node_modules/html-entities": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/html-entities/-/html-entities-2.5.2.tgz", + "integrity": "sha512-K//PSRMQk4FZ78Kyau+mZurHn3FH0Vwr+H36eE0rPbeYkRRi9YxceYPhuN60UwWorxyKHhqoAJl2OFKa4BVtaA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/mdevils" + }, + { + "type": "patreon", + "url": "https://patreon.com/mdevils" + } + ] + }, + "node_modules/http-deceiver": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/http-deceiver/-/http-deceiver-1.2.7.tgz", + "integrity": "sha512-LmpOGxTfbpgtGVxJrj5k7asXHCgNZp5nLfp+hWc8QQRqtb7fUy6kRY3BO1h9ddF6yIPYUARgxGOwB42DnxIaNw==", + "dev": true + }, + "node_modules/http-errors": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", + "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", + "dev": true, + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/http-parser-js": { + "version": "0.5.8", + "resolved": "https://registry.npmjs.org/http-parser-js/-/http-parser-js-0.5.8.tgz", + "integrity": "sha512-SGeBX54F94Wgu5RH3X5jsDtf4eHyRogWX1XGT3b4HuW3tQPM4AaBzoUji/4AAJNXCEOWZ5O0DgZmJw1947gD5Q==", + "dev": true + }, + "node_modules/http-proxy": { + "version": "1.18.1", + "resolved": "https://registry.npmjs.org/http-proxy/-/http-proxy-1.18.1.tgz", + "integrity": "sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ==", + "dev": true, + "dependencies": { + "eventemitter3": "^4.0.0", + "follow-redirects": "^1.0.0", + "requires-port": "^1.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/http-proxy-middleware": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-2.0.7.tgz", + "integrity": "sha512-fgVY8AV7qU7z/MmXJ/rxwbrtQH4jBQ9m7kp3llF0liB7glmFeVZFBepQb32T3y8n8k2+AEYuMPCpinYW+/CuRA==", + "dev": true, + "dependencies": { + "@types/http-proxy": "^1.17.8", + "http-proxy": "^1.18.1", + "is-glob": "^4.0.1", + "is-plain-obj": "^3.0.0", + "micromatch": "^4.0.2" + }, + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "@types/express": "^4.17.13" + }, + "peerDependenciesMeta": { + "@types/express": { + "optional": true + } + } + }, + "node_modules/human-signals": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", + "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", + "dev": true, + "engines": { + "node": ">=10.17.0" + } + }, + "node_modules/iconv-lite": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/icss-utils": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/icss-utils/-/icss-utils-5.1.0.tgz", + "integrity": "sha512-soFhflCVWLfRNOPU3iv5Z9VUdT44xFRbzjLsEzSr5AQmgqPMTHdU3PMT1Cf1ssx8fLNJDA1juftYl+PUcv3MqA==", + "dev": true, + "engines": { + "node": "^10 || ^12 || >= 14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "node_modules/import-local": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.2.0.tgz", + "integrity": "sha512-2SPlun1JUPWoM6t3F0dw0FkCF/jWY8kttcY4f599GLTSjh2OCuuhdTkJQsEcZzBqbXZGKMK2OqW1oZsjtf/gQA==", + "dev": true, + "dependencies": { + "pkg-dir": "^4.2.0", + "resolve-cwd": "^3.0.0" + }, + "bin": { + "import-local-fixture": "fixtures/cli.js" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/import-local/node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/import-local/node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/import-local/node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/import-local/node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/import-local/node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/import-local/node_modules/pkg-dir": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", + "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", + "dev": true, + "dependencies": { + "find-up": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", + "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.", + "dev": true, + "dependencies": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "dev": true + }, + "node_modules/interpret": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/interpret/-/interpret-2.2.0.tgz", + "integrity": "sha512-Ju0Bz/cEia55xDwUWEa8+olFpCiQoypjnQySseKtmjNrnps3P+xfpUmGr90T7yjlVJmOtybRvPXhKMbHr+fWnw==", + "dev": true, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/ipaddr.js": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-2.2.0.tgz", + "integrity": "sha512-Ag3wB2o37wslZS19hZqorUnrnzSkpOVy+IiiDEiTqNubEYpYuHWIf6K4psgN2ZWKExS4xhVCrRVfb/wfW8fWJA==", + "dev": true, + "engines": { + "node": ">= 10" + } + }, + "node_modules/is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "dev": true, + "dependencies": { + "binary-extensions": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-core-module": { + "version": "2.15.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.15.1.tgz", + "integrity": "sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ==", + "dev": true, + "dependencies": { + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-docker": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", + "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", + "dev": true, + "bin": { + "is-docker": "cli.js" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true, + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/is-plain-obj": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-3.0.0.tgz", + "integrity": "sha512-gwsOE28k+23GP1B6vFl1oVh/WOzmawBrKwo5Ev6wMKzPkaXaCDIQKzLnvsA42DRlbVTWorkgTKIviAKCWkfUwA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-plain-object": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", + "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", + "dev": true, + "dependencies": { + "isobject": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-stream": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", + "dev": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-wsl": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", + "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", + "dev": true, + "dependencies": { + "is-docker": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", + "dev": true + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "dev": true + }, + "node_modules/isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/jackspeak": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz", + "integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==", + "dev": true, + "dependencies": { + "@isaacs/cliui": "^8.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + }, + "optionalDependencies": { + "@pkgjs/parseargs": "^0.11.0" + } + }, + "node_modules/jest-worker": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.5.1.tgz", + "integrity": "sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==", + "dev": true, + "peer": true, + "dependencies": { + "@types/node": "*", + "merge-stream": "^2.0.0", + "supports-color": "^8.0.0" + }, + "engines": { + "node": ">= 10.13.0" + } + }, + "node_modules/jest-worker/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "peer": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-worker/node_modules/supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, + "peer": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" + }, + "node_modules/jsesc": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.0.2.tgz", + "integrity": "sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g==", + "dev": true, + "bin": { + "jsesc": "bin/jsesc" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/json-parse-even-better-errors": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", + "dev": true, + "peer": true + }, + "node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "dev": true + }, + "node_modules/json2php": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/json2php/-/json2php-0.0.4.tgz", + "integrity": "sha512-hFzejhs28f70sGnutcsRS459MnAsjRVI85RgPAL1KQIZEpjiDitc27CZv4IgOtaR86vrqOVlu9vJNew2XyTH4g==", + "dev": true + }, + "node_modules/json5": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", + "dev": true, + "bin": { + "json5": "lib/cli.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/launch-editor": { + "version": "2.9.1", + "resolved": "https://registry.npmjs.org/launch-editor/-/launch-editor-2.9.1.tgz", + "integrity": "sha512-Gcnl4Bd+hRO9P9icCP/RVVT2o8SFlPXofuCxvA2SaZuH45whSvf5p8x5oih5ftLiVhEI4sp5xDY+R+b3zJBh5w==", + "dev": true, + "dependencies": { + "picocolors": "^1.0.0", + "shell-quote": "^1.8.1" + } + }, + "node_modules/loader-runner": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.3.0.tgz", + "integrity": "sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==", + "dev": true, + "peer": true, + "engines": { + "node": ">=6.11.5" + } + }, + "node_modules/locate-path": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-7.2.0.tgz", + "integrity": "sha512-gvVijfZvn7R+2qyPX8mAuKcFGDf6Nc61GdvGafQsHL0sBIxfKzA+usWn4GFC/bk+QdwPUD4kWFJLhElipq+0VA==", + "dev": true, + "dependencies": { + "p-locate": "^6.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/lodash.debounce": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", + "integrity": "sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==", + "dev": true + }, + "node_modules/loose-envify": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "dependencies": { + "js-tokens": "^3.0.0 || ^4.0.0" + }, + "bin": { + "loose-envify": "cli.js" + } + }, + "node_modules/lru-cache": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", + "dev": true, + "dependencies": { + "yallist": "^3.0.2" + } + }, + "node_modules/media-typer": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", + "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/memfs": { + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/memfs/-/memfs-3.5.3.tgz", + "integrity": "sha512-UERzLsxzllchadvbPs5aolHh65ISpKpM+ccLbOJ8/vvpBKmAWf+la7dXFy7Mr0ySHbdHrFv5kGFCUHHe6GFEmw==", + "dev": true, + "dependencies": { + "fs-monkey": "^1.0.4" + }, + "engines": { + "node": ">= 4.0.0" + } + }, + "node_modules/memize": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/memize/-/memize-2.1.0.tgz", + "integrity": "sha512-yywVJy8ctVlN5lNPxsep5urnZ6TTclwPEyigM9M3Bi8vseJBOfqNrGWN/r8NzuIt3PovM323W04blJfGQfQSVg==" + }, + "node_modules/merge-descriptors": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.3.tgz", + "integrity": "sha512-gaNvAS7TZ897/rVaZ0nMtAyxNyi/pdbjbAwUpFQpN70GqnVfOiXpeUUMKRBmzXaSQ8DdTX4/0ms62r2K+hE6mQ==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/merge-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "dev": true + }, + "node_modules/methods": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", + "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/micromatch": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", + "dev": true, + "dependencies": { + "braces": "^3.0.3", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "dev": true, + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "dev": true, + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mimic-fn": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", + "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/minimalistic-assert": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", + "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==", + "dev": true + }, + "node_modules/minimatch": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "dev": true, + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true + }, + "node_modules/multicast-dns": { + "version": "7.2.5", + "resolved": "https://registry.npmjs.org/multicast-dns/-/multicast-dns-7.2.5.tgz", + "integrity": "sha512-2eznPJP8z2BFLX50tf0LuODrpINqP1RVIm/CObbTcBRITQgmC/TjcREF1NeTBzIcR5XO/ukWo+YHOjBbFwIupg==", + "dev": true, + "dependencies": { + "dns-packet": "^5.2.2", + "thunky": "^1.0.2" + }, + "bin": { + "multicast-dns": "cli.js" + } + }, + "node_modules/nanoid": { + "version": "3.3.7", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", + "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/negotiator": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", + "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/neo-async": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", + "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", + "dev": true, + "peer": true + }, + "node_modules/node-forge": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.3.1.tgz", + "integrity": "sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA==", + "dev": true, + "engines": { + "node": ">= 6.13.0" + } + }, + "node_modules/node-releases": { + "version": "2.0.18", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.18.tgz", + "integrity": "sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g==", + "dev": true + }, + "node_modules/normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/npm-run-path": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", + "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", + "dev": true, + "dependencies": { + "path-key": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-inspect": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.2.tgz", + "integrity": "sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/obuf": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/obuf/-/obuf-1.1.2.tgz", + "integrity": "sha512-PX1wu0AmAdPqOL1mWhqmlOd8kOIZQwGZw6rh7uby9fTc5lhaOWFLX3I6R1hrF9k3zUY40e6igsLGkDXK92LJNg==", + "dev": true + }, + "node_modules/on-finished": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", + "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", + "dev": true, + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/on-headers": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz", + "integrity": "sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA==", + "dev": true, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "dev": true, + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/onetime": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", + "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", + "dev": true, + "dependencies": { + "mimic-fn": "^2.1.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/open": { + "version": "8.4.2", + "resolved": "https://registry.npmjs.org/open/-/open-8.4.2.tgz", + "integrity": "sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ==", + "dev": true, + "dependencies": { + "define-lazy-prop": "^2.0.0", + "is-docker": "^2.1.1", + "is-wsl": "^2.2.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-limit": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-4.0.0.tgz", + "integrity": "sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ==", + "dev": true, + "dependencies": { + "yocto-queue": "^1.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-locate": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-6.0.0.tgz", + "integrity": "sha512-wPrq66Llhl7/4AGC6I+cqxT07LhXvWL08LNXz1fENOw0Ap4sRZZ/gZpTTJ5jpurzzzfS2W/Ge9BY3LgLjCShcw==", + "dev": true, + "dependencies": { + "p-limit": "^4.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-retry": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/p-retry/-/p-retry-4.6.2.tgz", + "integrity": "sha512-312Id396EbJdvRONlngUx0NydfrIQ5lsYu0znKVUzVvArzEIt08V1qhtyESbGVd1FGX7UKtiFp5uwKZdM8wIuQ==", + "dev": true, + "dependencies": { + "@types/retry": "0.12.0", + "retry": "^0.13.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/package-json-from-dist": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz", + "integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==", + "dev": true + }, + "node_modules/parseurl": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", + "dev": true, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/path-exists": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-5.0.0.tgz", + "integrity": "sha512-RjhtfwJOxzcFmNOi6ltcbcu4Iu+FL3zEj83dk4kAS+fVpTxXLO1b38RvJgT/0QwvV/L3aY9TAnyv0EOqW4GoMQ==", + "dev": true, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + } + }, + "node_modules/path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", + "dev": true + }, + "node_modules/path-scurry": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", + "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==", + "dev": true, + "dependencies": { + "lru-cache": "^10.2.0", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + }, + "engines": { + "node": ">=16 || 14 >=14.18" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/path-scurry/node_modules/lru-cache": { + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", + "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", + "dev": true + }, + "node_modules/path-to-regexp": { + "version": "0.1.10", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.10.tgz", + "integrity": "sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w==", + "dev": true + }, + "node_modules/picocolors": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.0.tgz", + "integrity": "sha512-TQ92mBOW0l3LeMeyLV6mzy/kWr8lkd/hp3mTg7wYK7zJhuBStmGMBG0BdeDZS/dZx1IukaX6Bk11zcln25o1Aw==", + "dev": true + }, + "node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "dev": true, + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/pkg-dir": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-7.0.0.tgz", + "integrity": "sha512-Ie9z/WINcxxLp27BKOCHGde4ITq9UklYKDzVo1nhk5sqGEXU3FpkwP5GM2voTGJkGd9B3Otl+Q4uwSOeSUtOBA==", + "dev": true, + "dependencies": { + "find-up": "^6.3.0" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/postcss": { + "version": "8.4.47", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.47.tgz", + "integrity": "sha512-56rxCq7G/XfB4EkXq9Egn5GCqugWvDFjafDOThIdMBsI15iqPqR5r15TfSr1YPYeEI19YeaXMCbY6u88Y76GLQ==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "dependencies": { + "nanoid": "^3.3.7", + "picocolors": "^1.1.0", + "source-map-js": "^1.2.1" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, + "node_modules/postcss-modules-extract-imports": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/postcss-modules-extract-imports/-/postcss-modules-extract-imports-3.1.0.tgz", + "integrity": "sha512-k3kNe0aNFQDAZGbin48pL2VNidTF0w4/eASDsxlyspobzU3wZQLOGj7L9gfRe0Jo9/4uud09DsjFNH7winGv8Q==", + "dev": true, + "engines": { + "node": "^10 || ^12 || >= 14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "node_modules/postcss-modules-local-by-default": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/postcss-modules-local-by-default/-/postcss-modules-local-by-default-4.0.5.tgz", + "integrity": "sha512-6MieY7sIfTK0hYfafw1OMEG+2bg8Q1ocHCpoWLqOKj3JXlKu4G7btkmM/B7lFubYkYWmRSPLZi5chid63ZaZYw==", + "dev": true, + "dependencies": { + "icss-utils": "^5.0.0", + "postcss-selector-parser": "^6.0.2", + "postcss-value-parser": "^4.1.0" + }, + "engines": { + "node": "^10 || ^12 || >= 14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "node_modules/postcss-modules-scope": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/postcss-modules-scope/-/postcss-modules-scope-3.2.0.tgz", + "integrity": "sha512-oq+g1ssrsZOsx9M96c5w8laRmvEu9C3adDSjI8oTcbfkrTE8hx/zfyobUoWIxaKPO8bt6S62kxpw5GqypEw1QQ==", + "dev": true, + "dependencies": { + "postcss-selector-parser": "^6.0.4" + }, + "engines": { + "node": "^10 || ^12 || >= 14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "node_modules/postcss-modules-values": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/postcss-modules-values/-/postcss-modules-values-4.0.0.tgz", + "integrity": "sha512-RDxHkAiEGI78gS2ofyvCsu7iycRv7oqw5xMWn9iMoR0N/7mf9D50ecQqUo5BZ9Zh2vH4bCUR/ktCqbB9m8vJjQ==", + "dev": true, + "dependencies": { + "icss-utils": "^5.0.0" + }, + "engines": { + "node": "^10 || ^12 || >= 14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "node_modules/postcss-selector-parser": { + "version": "6.1.2", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.2.tgz", + "integrity": "sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg==", + "dev": true, + "dependencies": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/postcss-value-parser": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", + "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==", + "dev": true + }, + "node_modules/process-nextick-args": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", + "dev": true + }, + "node_modules/prop-types": { + "version": "15.8.1", + "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz", + "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==", + "dependencies": { + "loose-envify": "^1.4.0", + "object-assign": "^4.1.1", + "react-is": "^16.13.1" + } + }, + "node_modules/proxy-addr": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", + "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", + "dev": true, + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/proxy-addr/node_modules/ipaddr.js": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", + "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", + "dev": true, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/punycode": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", + "dev": true, + "peer": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/qs": { + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.13.0.tgz", + "integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==", + "dev": true, + "dependencies": { + "side-channel": "^1.0.6" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/randombytes": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", + "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", + "dev": true, + "peer": true, + "dependencies": { + "safe-buffer": "^5.1.0" + } + }, + "node_modules/range-parser": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", + "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/raw-body": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.2.tgz", + "integrity": "sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==", + "dev": true, + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/raw-body/node_modules/bytes": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", + "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", + "dev": true, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/raw-body/node_modules/iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dev": true, + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/react": { + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz", + "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==", + "dependencies": { + "loose-envify": "^1.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/react-datepicker": { + "version": "4.25.0", + "resolved": "https://registry.npmjs.org/react-datepicker/-/react-datepicker-4.25.0.tgz", + "integrity": "sha512-zB7CSi44SJ0sqo8hUQ3BF1saE/knn7u25qEMTO1CQGofY1VAKahO8k9drZtp0cfW1DMfoYLR3uSY1/uMvbEzbg==", + "dependencies": { + "@popperjs/core": "^2.11.8", + "classnames": "^2.2.6", + "date-fns": "^2.30.0", + "prop-types": "^15.7.2", + "react-onclickoutside": "^6.13.0", + "react-popper": "^2.3.0" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17 || ^18", + "react-dom": "^16.9.0 || ^17 || ^18" + } + }, + "node_modules/react-dom": { + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz", + "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==", + "dependencies": { + "loose-envify": "^1.1.0", + "scheduler": "^0.23.2" + }, + "peerDependencies": { + "react": "^18.3.1" + } + }, + "node_modules/react-fast-compare": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-3.2.2.tgz", + "integrity": "sha512-nsO+KSNgo1SbJqJEYRE9ERzo7YtYbou/OqjSQKxV7jcKox7+usiUVZOAC+XnDOABXggQTno0Y1CpVnuWEc1boQ==" + }, + "node_modules/react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" + }, + "node_modules/react-onclickoutside": { + "version": "6.13.1", + "resolved": "https://registry.npmjs.org/react-onclickoutside/-/react-onclickoutside-6.13.1.tgz", + "integrity": "sha512-LdrrxK/Yh9zbBQdFbMTXPp3dTSN9B+9YJQucdDu3JNKRrbdU+H+/TVONJoWtOwy4II8Sqf1y/DTI6w/vGPYW0w==", + "funding": { + "type": "individual", + "url": "https://github.com/Pomax/react-onclickoutside/blob/master/FUNDING.md" + }, + "peerDependencies": { + "react": "^15.5.x || ^16.x || ^17.x || ^18.x", + "react-dom": "^15.5.x || ^16.x || ^17.x || ^18.x" + } + }, + "node_modules/react-popper": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/react-popper/-/react-popper-2.3.0.tgz", + "integrity": "sha512-e1hj8lL3uM+sgSR4Lxzn5h1GxBlpa4CQz0XLF8kx4MDrDRWY0Ena4c97PUeSX9i5W3UAfDP0z0FXCTQkoXUl3Q==", + "dependencies": { + "react-fast-compare": "^3.0.1", + "warning": "^4.0.2" + }, + "peerDependencies": { + "@popperjs/core": "^2.0.0", + "react": "^16.8.0 || ^17 || ^18", + "react-dom": "^16.8.0 || ^17 || ^18" + } + }, + "node_modules/readable-stream": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "dev": true, + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "dev": true, + "dependencies": { + "picomatch": "^2.2.1" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/rechoir": { + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.7.1.tgz", + "integrity": "sha512-/njmZ8s1wVeR6pjTZ+0nCnv8SpZNRMT2D1RLOJQESlYFDBvwpTA4KWJpZ+sBJ4+vhjILRcK7JIFdGCdxEAAitg==", + "dev": true, + "dependencies": { + "resolve": "^1.9.0" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/regenerate": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz", + "integrity": "sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==", + "dev": true + }, + "node_modules/regenerate-unicode-properties": { + "version": "10.2.0", + "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-10.2.0.tgz", + "integrity": "sha512-DqHn3DwbmmPVzeKj9woBadqmXxLvQoQIwu7nopMc72ztvxVmVk2SBhSnx67zuye5TP+lJsb/TBQsjLKhnDf3MA==", + "dev": true, + "dependencies": { + "regenerate": "^1.4.2" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/regenerator-runtime": { + "version": "0.14.1", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz", + "integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==" + }, + "node_modules/regenerator-transform": { + "version": "0.15.2", + "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.15.2.tgz", + "integrity": "sha512-hfMp2BoF0qOk3uc5V20ALGDS2ddjQaLrdl7xrGXvAIow7qeWRM2VA2HuCHkUKk9slq3VwEwLNK3DFBqDfPGYtg==", + "dev": true, + "dependencies": { + "@babel/runtime": "^7.8.4" + } + }, + "node_modules/regexpu-core": { + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-6.1.1.tgz", + "integrity": "sha512-k67Nb9jvwJcJmVpw0jPttR1/zVfnKf8Km0IPatrU/zJ5XeG3+Slx0xLXs9HByJSzXzrlz5EDvN6yLNMDc2qdnw==", + "dev": true, + "dependencies": { + "regenerate": "^1.4.2", + "regenerate-unicode-properties": "^10.2.0", + "regjsgen": "^0.8.0", + "regjsparser": "^0.11.0", + "unicode-match-property-ecmascript": "^2.0.0", + "unicode-match-property-value-ecmascript": "^2.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/regjsgen": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.8.0.tgz", + "integrity": "sha512-RvwtGe3d7LvWiDQXeQw8p5asZUmfU1G/l6WbUXeHta7Y2PEIvBTwH6E2EfmYUK8pxcxEdEmaomqyp0vZZ7C+3Q==", + "dev": true + }, + "node_modules/regjsparser": { + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.11.1.tgz", + "integrity": "sha512-1DHODs4B8p/mQHU9kr+jv8+wIC9mtG4eBHxWxIq5mhjE3D5oORhCc6deRKzTjs9DcfRFmj9BHSDguZklqCGFWQ==", + "dev": true, + "dependencies": { + "jsesc": "~3.0.2" + }, + "bin": { + "regjsparser": "bin/parser" + } + }, + "node_modules/require-from-string": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/requires-port": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", + "integrity": "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==", + "dev": true + }, + "node_modules/resolve": { + "version": "1.22.8", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", + "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", + "dev": true, + "dependencies": { + "is-core-module": "^2.13.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/resolve-cwd": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz", + "integrity": "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==", + "dev": true, + "dependencies": { + "resolve-from": "^5.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/resolve-from": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/retry": { + "version": "0.13.1", + "resolved": "https://registry.npmjs.org/retry/-/retry-0.13.1.tgz", + "integrity": "sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg==", + "dev": true, + "engines": { + "node": ">= 4" + } + }, + "node_modules/rimraf": { + "version": "5.0.10", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-5.0.10.tgz", + "integrity": "sha512-l0OE8wL34P4nJH/H2ffoaniAokM2qSmrtXHmlpvYr5AVVX8msAyW0l8NVJFDxlSK4u3Uh/f41cQheDVdnYijwQ==", + "dev": true, + "dependencies": { + "glob": "^10.3.7" + }, + "bin": { + "rimraf": "dist/esm/bin.mjs" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + }, + "node_modules/scheduler": { + "version": "0.23.2", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz", + "integrity": "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==", + "dependencies": { + "loose-envify": "^1.1.0" + } + }, + "node_modules/schema-utils": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.2.0.tgz", + "integrity": "sha512-L0jRsrPpjdckP3oPug3/VxNKt2trR8TcabrM6FOAAlvC/9Phcmm+cuAgTlxBqdBR1WJx7Naj9WHw+aOmheSVbw==", + "dev": true, + "dependencies": { + "@types/json-schema": "^7.0.9", + "ajv": "^8.9.0", + "ajv-formats": "^2.1.1", + "ajv-keywords": "^5.1.0" + }, + "engines": { + "node": ">= 12.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, + "node_modules/select-hose": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/select-hose/-/select-hose-2.0.0.tgz", + "integrity": "sha512-mEugaLK+YfkijB4fx0e6kImuJdCIt2LxCRcbEYPqRGCs4F2ogyfZU5IAZRdjCP8JPq2AtdNoC/Dux63d9Kiryg==", + "dev": true + }, + "node_modules/selfsigned": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/selfsigned/-/selfsigned-2.4.1.tgz", + "integrity": "sha512-th5B4L2U+eGLq1TVh7zNRGBapioSORUeymIydxgFpwww9d2qyKvtuPU2jJuHvYAwwqi2Y596QBL3eEqcPEYL8Q==", + "dev": true, + "dependencies": { + "@types/node-forge": "^1.3.0", + "node-forge": "^1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/send": { + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/send/-/send-0.19.0.tgz", + "integrity": "sha512-dW41u5VfLXu8SJh5bwRmyYUbAoSB3c9uQh6L8h/KtsFREPWpbX1lrljJo186Jc4nmci/sGUZ9a0a0J2zgfq2hw==", + "dev": true, + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/send/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/send/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", + "dev": true + }, + "node_modules/send/node_modules/encodeurl": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", + "dev": true, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/serialize-javascript": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.2.tgz", + "integrity": "sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g==", + "dev": true, + "peer": true, + "dependencies": { + "randombytes": "^2.1.0" + } + }, + "node_modules/serve-index": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/serve-index/-/serve-index-1.9.1.tgz", + "integrity": "sha512-pXHfKNP4qujrtteMrSBb0rc8HJ9Ms/GrXwcUtUtD5s4ewDJI8bT3Cz2zTVRMKtri49pLx2e0Ya8ziP5Ya2pZZw==", + "dev": true, + "dependencies": { + "accepts": "~1.3.4", + "batch": "0.6.1", + "debug": "2.6.9", + "escape-html": "~1.0.3", + "http-errors": "~1.6.2", + "mime-types": "~2.1.17", + "parseurl": "~1.3.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/serve-index/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/serve-index/node_modules/depd": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", + "integrity": "sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ==", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/serve-index/node_modules/http-errors": { + "version": "1.6.3", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz", + "integrity": "sha512-lks+lVC8dgGyh97jxvxeYTWQFvh4uw4yC12gVl63Cg30sjPX4wuGcdkICVXDAESr6OJGjqGA8Iz5mkeN6zlD7A==", + "dev": true, + "dependencies": { + "depd": "~1.1.2", + "inherits": "2.0.3", + "setprototypeof": "1.1.0", + "statuses": ">= 1.4.0 < 2" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/serve-index/node_modules/inherits": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", + "integrity": "sha512-x00IRNXNy63jwGkJmzPigoySHbaqpNuzKbBOmzK+g2OdZpQ9w+sxCN+VSB3ja7IAge2OP2qpfxTjeNcyjmW1uw==", + "dev": true + }, + "node_modules/serve-index/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", + "dev": true + }, + "node_modules/serve-index/node_modules/setprototypeof": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.0.tgz", + "integrity": "sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ==", + "dev": true + }, + "node_modules/serve-index/node_modules/statuses": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", + "integrity": "sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA==", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/serve-static": { + "version": "1.16.2", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.16.2.tgz", + "integrity": "sha512-VqpjJZKadQB/PEbEwvFdO43Ax5dFBZ2UECszz8bQ7pi7wt//PWe1P6MN7eCnjsatYtBT6EuiClbjSWP2WrIoTw==", + "dev": true, + "dependencies": { + "encodeurl": "~2.0.0", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.19.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/set-function-length": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", + "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", + "dev": true, + "dependencies": { + "define-data-property": "^1.1.4", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/setprototypeof": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", + "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==", + "dev": true + }, + "node_modules/shallow-clone": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz", + "integrity": "sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA==", + "dev": true, + "dependencies": { + "kind-of": "^6.0.2" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/shell-quote": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.8.1.tgz", + "integrity": "sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.6.tgz", + "integrity": "sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.7", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.4", + "object-inspect": "^1.13.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "dev": true, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/sockjs": { + "version": "0.3.24", + "resolved": "https://registry.npmjs.org/sockjs/-/sockjs-0.3.24.tgz", + "integrity": "sha512-GJgLTZ7vYb/JtPSSZ10hsOYIvEYsjbNU+zPdIHcUaWVNUEPivzxku31865sSSud0Da0W4lEeOPlmw93zLQchuQ==", + "dev": true, + "dependencies": { + "faye-websocket": "^0.11.3", + "uuid": "^8.3.2", + "websocket-driver": "^0.7.4" + } + }, + "node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "peer": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/source-map-js": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", + "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/source-map-support": { + "version": "0.5.21", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", + "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", + "dev": true, + "peer": true, + "dependencies": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + } + }, + "node_modules/spdy": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/spdy/-/spdy-4.0.2.tgz", + "integrity": "sha512-r46gZQZQV+Kl9oItvl1JZZqJKGr+oEkB08A6BzkiR7593/7IbtuncXHd2YoYeTsG4157ZssMu9KYvUHLcjcDoA==", + "dev": true, + "dependencies": { + "debug": "^4.1.0", + "handle-thing": "^2.0.0", + "http-deceiver": "^1.2.7", + "select-hose": "^2.0.0", + "spdy-transport": "^3.0.0" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/spdy-transport": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/spdy-transport/-/spdy-transport-3.0.0.tgz", + "integrity": "sha512-hsLVFE5SjA6TCisWeJXFKniGGOpBgMLmerfO2aCyCU5s7nJ/rpAepqmFifv/GCbSbueEeAJJnmSQ2rKC/g8Fcw==", + "dev": true, + "dependencies": { + "debug": "^4.1.0", + "detect-node": "^2.0.4", + "hpack.js": "^2.1.6", + "obuf": "^1.1.2", + "readable-stream": "^3.0.6", + "wbuf": "^1.7.3" + } + }, + "node_modules/sprintf-js": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.3.tgz", + "integrity": "sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA==" + }, + "node_modules/statuses": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", + "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", + "dev": true, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "dev": true, + "dependencies": { + "safe-buffer": "~5.2.0" + } + }, + "node_modules/string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "dev": true, + "dependencies": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/string-width-cjs": { + "name": "string-width", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/string-width-cjs/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/string-width-cjs/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, + "node_modules/string-width-cjs/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dev": true, + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "node_modules/strip-ansi-cjs": { + "name": "strip-ansi", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi-cjs/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-final-newline": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", + "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/style-loader": { + "version": "3.3.4", + "resolved": "https://registry.npmjs.org/style-loader/-/style-loader-3.3.4.tgz", + "integrity": "sha512-0WqXzrsMTyb8yjZJHDqwmnwRJvhALK9LfRtRc6B4UTWe8AijYLZYZ9thuJTZc2VfQWINADW/j+LiJnfy2RoC1w==", + "dev": true, + "engines": { + "node": ">= 12.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^5.0.0" + } + }, + "node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/tannin": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/tannin/-/tannin-1.2.0.tgz", + "integrity": "sha512-U7GgX/RcSeUETbV7gYgoz8PD7Ni4y95pgIP/Z6ayI3CfhSujwKEBlGFTCRN+Aqnuyf4AN2yHL+L8x+TCGjb9uA==", + "dependencies": { + "@tannin/plural-forms": "^1.1.0" + } + }, + "node_modules/tapable": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", + "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==", + "dev": true, + "peer": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/terser": { + "version": "5.34.1", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.34.1.tgz", + "integrity": "sha512-FsJZ7iZLd/BXkz+4xrRTGJ26o/6VTjQytUk8b8OxkwcD2I+79VPJlz7qss1+zE7h8GNIScFqXcDyJ/KqBYZFVA==", + "dev": true, + "peer": true, + "dependencies": { + "@jridgewell/source-map": "^0.3.3", + "acorn": "^8.8.2", + "commander": "^2.20.0", + "source-map-support": "~0.5.20" + }, + "bin": { + "terser": "bin/terser" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/terser-webpack-plugin": { + "version": "5.3.10", + "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.10.tgz", + "integrity": "sha512-BKFPWlPDndPs+NGGCr1U59t0XScL5317Y0UReNrHaw9/FwhPENlq6bfgs+4yPfyP51vqC1bQ4rp1EfXW5ZSH9w==", + "dev": true, + "peer": true, + "dependencies": { + "@jridgewell/trace-mapping": "^0.3.20", + "jest-worker": "^27.4.5", + "schema-utils": "^3.1.1", + "serialize-javascript": "^6.0.1", + "terser": "^5.26.0" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^5.1.0" + }, + "peerDependenciesMeta": { + "@swc/core": { + "optional": true + }, + "esbuild": { + "optional": true + }, + "uglify-js": { + "optional": true + } + } + }, + "node_modules/terser-webpack-plugin/node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "peer": true, + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/terser-webpack-plugin/node_modules/ajv-keywords": { + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", + "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", + "dev": true, + "peer": true, + "peerDependencies": { + "ajv": "^6.9.1" + } + }, + "node_modules/terser-webpack-plugin/node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true, + "peer": true + }, + "node_modules/terser-webpack-plugin/node_modules/schema-utils": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.3.0.tgz", + "integrity": "sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==", + "dev": true, + "peer": true, + "dependencies": { + "@types/json-schema": "^7.0.8", + "ajv": "^6.12.5", + "ajv-keywords": "^3.5.2" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, + "node_modules/thunky": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/thunky/-/thunky-1.1.0.tgz", + "integrity": "sha512-eHY7nBftgThBqOyHGVN+l8gF0BucP09fMo0oO/Lb0w1OF80dJv+lDVpXG60WMQvkcxAkNybKsrEIE3ZtKGmPrA==", + "dev": true + }, + "node_modules/to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/toidentifier": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", + "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", + "dev": true, + "engines": { + "node": ">=0.6" + } + }, + "node_modules/type-is": { + "version": "1.6.18", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", + "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", + "dev": true, + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/undici-types": { + "version": "6.19.8", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", + "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==", + "dev": true + }, + "node_modules/unicode-canonical-property-names-ecmascript": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.1.tgz", + "integrity": "sha512-dA8WbNeb2a6oQzAQ55YlT5vQAWGV9WXOsi3SskE3bcCdM0P4SDd+24zS/OCacdRq5BkdsRj9q3Pg6YyQoxIGqg==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/unicode-match-property-ecmascript": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz", + "integrity": "sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q==", + "dev": true, + "dependencies": { + "unicode-canonical-property-names-ecmascript": "^2.0.0", + "unicode-property-aliases-ecmascript": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/unicode-match-property-value-ecmascript": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.2.0.tgz", + "integrity": "sha512-4IehN3V/+kkr5YeSSDDQG8QLqO26XpL2XP3GQtqwlT/QYSECAwFztxVHjlbh0+gjJ3XmNLS0zDsbgs9jWKExLg==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/unicode-property-aliases-ecmascript": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.1.0.tgz", + "integrity": "sha512-6t3foTQI9qne+OZoVQB/8x8rk2k1eVy1gRXhV3oFQ5T6R1dqQ1xtin3XqSlx3+ATBkliTaR/hHyJBm+LVPNM8w==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==", + "dev": true, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/update-browserslist-db": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.1.tgz", + "integrity": "sha512-R8UzCaa9Az+38REPiJ1tXlImTJXlVfgHZsglwBD/k6nj76ctsH1E3q4doGrukiLQd3sGQYu56r5+lo5r94l29A==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "dependencies": { + "escalade": "^3.2.0", + "picocolors": "^1.1.0" + }, + "bin": { + "update-browserslist-db": "cli.js" + }, + "peerDependencies": { + "browserslist": ">= 4.21.0" + } + }, + "node_modules/uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dev": true, + "peer": true, + "dependencies": { + "punycode": "^2.1.0" + } + }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", + "dev": true + }, + "node_modules/utils-merge": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", + "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==", + "dev": true, + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "dev": true, + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "node_modules/vary": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", + "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", + "dev": true, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/warning": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/warning/-/warning-4.0.3.tgz", + "integrity": "sha512-rpJyN222KWIvHJ/F53XSZv0Zl/accqHR8et1kpaMTD/fLCRxtV8iX8czMzY7sVZupTI3zcUTg8eycS2kNF9l6w==", + "dependencies": { + "loose-envify": "^1.0.0" + } + }, + "node_modules/watchpack": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.2.tgz", + "integrity": "sha512-TnbFSbcOCcDgjZ4piURLCbJ3nJhznVh9kw6F6iokjiFPl8ONxe9A6nMDVXDiNbrSfLILs6vB07F7wLBrwPYzJw==", + "dev": true, + "peer": true, + "dependencies": { + "glob-to-regexp": "^0.4.1", + "graceful-fs": "^4.1.2" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/wbuf": { + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/wbuf/-/wbuf-1.7.3.tgz", + "integrity": "sha512-O84QOnr0icsbFGLS0O3bI5FswxzRr8/gHwWkDlQFskhSPryQXvrTMxjxGP4+iWYoauLoBvfDpkrOauZ+0iZpDA==", + "dev": true, + "dependencies": { + "minimalistic-assert": "^1.0.0" + } + }, + "node_modules/webpack": { + "version": "5.95.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.95.0.tgz", + "integrity": "sha512-2t3XstrKULz41MNMBF+cJ97TyHdyQ8HCt//pqErqDvNjU9YQBnZxIHa11VXsi7F3mb5/aO2tuDxdeTPdU7xu9Q==", + "dev": true, + "peer": true, + "dependencies": { + "@types/estree": "^1.0.5", + "@webassemblyjs/ast": "^1.12.1", + "@webassemblyjs/wasm-edit": "^1.12.1", + "@webassemblyjs/wasm-parser": "^1.12.1", + "acorn": "^8.7.1", + "acorn-import-attributes": "^1.9.5", + "browserslist": "^4.21.10", + "chrome-trace-event": "^1.0.2", + "enhanced-resolve": "^5.17.1", + "es-module-lexer": "^1.2.1", + "eslint-scope": "5.1.1", + "events": "^3.2.0", + "glob-to-regexp": "^0.4.1", + "graceful-fs": "^4.2.11", + "json-parse-even-better-errors": "^2.3.1", + "loader-runner": "^4.2.0", + "mime-types": "^2.1.27", + "neo-async": "^2.6.2", + "schema-utils": "^3.2.0", + "tapable": "^2.1.1", + "terser-webpack-plugin": "^5.3.10", + "watchpack": "^2.4.1", + "webpack-sources": "^3.2.3" + }, + "bin": { + "webpack": "bin/webpack.js" + }, + "engines": { + "node": ">=10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependenciesMeta": { + "webpack-cli": { + "optional": true + } + } + }, + "node_modules/webpack-cli": { + "version": "4.10.0", + "resolved": "https://registry.npmjs.org/webpack-cli/-/webpack-cli-4.10.0.tgz", + "integrity": "sha512-NLhDfH/h4O6UOy+0LSso42xvYypClINuMNBVVzX4vX98TmTaTUxwRbXdhucbFMd2qLaCTcLq/PdYrvi8onw90w==", + "dev": true, + "dependencies": { + "@discoveryjs/json-ext": "^0.5.0", + "@webpack-cli/configtest": "^1.2.0", + "@webpack-cli/info": "^1.5.0", + "@webpack-cli/serve": "^1.7.0", + "colorette": "^2.0.14", + "commander": "^7.0.0", + "cross-spawn": "^7.0.3", + "fastest-levenshtein": "^1.0.12", + "import-local": "^3.0.2", + "interpret": "^2.2.0", + "rechoir": "^0.7.0", + "webpack-merge": "^5.7.3" + }, + "bin": { + "webpack-cli": "bin/cli.js" + }, + "engines": { + "node": ">=10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "4.x.x || 5.x.x" + }, + "peerDependenciesMeta": { + "@webpack-cli/generators": { + "optional": true + }, + "@webpack-cli/migrate": { + "optional": true + }, + "webpack-bundle-analyzer": { + "optional": true + }, + "webpack-dev-server": { + "optional": true + } + } + }, + "node_modules/webpack-cli/node_modules/commander": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz", + "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==", + "dev": true, + "engines": { + "node": ">= 10" + } + }, + "node_modules/webpack-dev-middleware": { + "version": "5.3.4", + "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-5.3.4.tgz", + "integrity": "sha512-BVdTqhhs+0IfoeAf7EoH5WE+exCmqGerHfDM0IL096Px60Tq2Mn9MAbnaGUe6HiMa41KMCYF19gyzZmBcq/o4Q==", + "dev": true, + "dependencies": { + "colorette": "^2.0.10", + "memfs": "^3.4.3", + "mime-types": "^2.1.31", + "range-parser": "^1.2.1", + "schema-utils": "^4.0.0" + }, + "engines": { + "node": ">= 12.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^4.0.0 || ^5.0.0" + } + }, + "node_modules/webpack-dev-server": { + "version": "4.15.2", + "resolved": "https://registry.npmjs.org/webpack-dev-server/-/webpack-dev-server-4.15.2.tgz", + "integrity": "sha512-0XavAZbNJ5sDrCbkpWL8mia0o5WPOd2YGtxrEiZkBK9FjLppIUK2TgxK6qGD2P3hUXTJNNPVibrerKcx5WkR1g==", + "dev": true, + "dependencies": { + "@types/bonjour": "^3.5.9", + "@types/connect-history-api-fallback": "^1.3.5", + "@types/express": "^4.17.13", + "@types/serve-index": "^1.9.1", + "@types/serve-static": "^1.13.10", + "@types/sockjs": "^0.3.33", + "@types/ws": "^8.5.5", + "ansi-html-community": "^0.0.8", + "bonjour-service": "^1.0.11", + "chokidar": "^3.5.3", + "colorette": "^2.0.10", + "compression": "^1.7.4", + "connect-history-api-fallback": "^2.0.0", + "default-gateway": "^6.0.3", + "express": "^4.17.3", + "graceful-fs": "^4.2.6", + "html-entities": "^2.3.2", + "http-proxy-middleware": "^2.0.3", + "ipaddr.js": "^2.0.1", + "launch-editor": "^2.6.0", + "open": "^8.0.9", + "p-retry": "^4.5.0", + "rimraf": "^3.0.2", + "schema-utils": "^4.0.0", + "selfsigned": "^2.1.1", + "serve-index": "^1.9.1", + "sockjs": "^0.3.24", + "spdy": "^4.0.2", + "webpack-dev-middleware": "^5.3.4", + "ws": "^8.13.0" + }, + "bin": { + "webpack-dev-server": "bin/webpack-dev-server.js" + }, + "engines": { + "node": ">= 12.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^4.37.0 || ^5.0.0" + }, + "peerDependenciesMeta": { + "webpack": { + "optional": true + }, + "webpack-cli": { + "optional": true + } + } + }, + "node_modules/webpack-dev-server/node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/webpack-dev-server/node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "deprecated": "Glob versions prior to v9 are no longer supported", + "dev": true, + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/webpack-dev-server/node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/webpack-dev-server/node_modules/rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "deprecated": "Rimraf versions prior to v4 are no longer supported", + "dev": true, + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/webpack-merge": { + "version": "5.10.0", + "resolved": "https://registry.npmjs.org/webpack-merge/-/webpack-merge-5.10.0.tgz", + "integrity": "sha512-+4zXKdx7UnO+1jaN4l2lHVD+mFvnlZQP/6ljaJVb4SZiwIKeUnrT5l0gkT8z+n4hKpC+jpOv6O9R+gLtag7pSA==", + "dev": true, + "dependencies": { + "clone-deep": "^4.0.1", + "flat": "^5.0.2", + "wildcard": "^2.0.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/webpack-sources": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.2.3.tgz", + "integrity": "sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==", + "dev": true, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/webpack/node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "peer": true, + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/webpack/node_modules/ajv-keywords": { + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", + "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", + "dev": true, + "peer": true, + "peerDependencies": { + "ajv": "^6.9.1" + } + }, + "node_modules/webpack/node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true, + "peer": true + }, + "node_modules/webpack/node_modules/schema-utils": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.3.0.tgz", + "integrity": "sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==", + "dev": true, + "peer": true, + "dependencies": { + "@types/json-schema": "^7.0.8", + "ajv": "^6.12.5", + "ajv-keywords": "^3.5.2" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, + "node_modules/websocket-driver": { + "version": "0.7.4", + "resolved": "https://registry.npmjs.org/websocket-driver/-/websocket-driver-0.7.4.tgz", + "integrity": "sha512-b17KeDIQVjvb0ssuSDF2cYXSg2iztliJ4B9WdsuB6J952qCPKmnVq4DyW5motImXHDC1cBT/1UezrJVsKw5zjg==", + "dev": true, + "dependencies": { + "http-parser-js": ">=0.5.1", + "safe-buffer": ">=5.1.0", + "websocket-extensions": ">=0.1.1" + }, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/websocket-extensions": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/websocket-extensions/-/websocket-extensions-0.1.4.tgz", + "integrity": "sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg==", + "dev": true, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/wildcard": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/wildcard/-/wildcard-2.0.1.tgz", + "integrity": "sha512-CC1bOL87PIWSBhDcTrdeLo6eGT7mCFtrg0uIJtqJUFyK+eJnzl8A1niH56uu7KMa5XFrtiV+AQuHO3n7DsHnLQ==", + "dev": true + }, + "node_modules/wrap-ansi": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", + "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", + "dev": true, + "dependencies": { + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs": { + "name": "wrap-ansi", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/wrap-ansi-cjs/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, + "node_modules/wrap-ansi-cjs/node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi/node_modules/ansi-styles": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", + "dev": true + }, + "node_modules/ws": { + "version": "8.18.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.0.tgz", + "integrity": "sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==", + "dev": true, + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": ">=5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "node_modules/yallist": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", + "dev": true + }, + "node_modules/yocto-queue": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-1.1.1.tgz", + "integrity": "sha512-b4JR1PFR10y1mKjhHY9LaGo6tmrgjit7hxVIeAmyMw3jegXR4dhYqLaQF5zMXZxY7tLpMyJeLjr1C4rLmkVe8g==", + "dev": true, + "engines": { + "node": ">=12.20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + } + } +} From 022ae70368ba5955b528f2d5f01040bc3bf52dcc Mon Sep 17 00:00:00 2001 From: "v.carkaxhija" Date: Fri, 18 Oct 2024 15:21:08 +0200 Subject: [PATCH 40/51] fix translations --- assets/js/blocks/gateways/buckaroo_ideal.js | 3 +- .../js/blocks/gateways/buckaroo_paybybank.js | 9 +- assets/js/dist/154.js | 2 +- assets/js/dist/426.js | 2 +- languages/wc-buckaroo-bpe-gateway-nl_NL.mo | Bin 18385 -> 18712 bytes languages/wc-buckaroo-bpe-gateway-nl_NL.po | 200 +++++++++++++++--- languages/wc-buckaroo-bpe-gateway.pot | 195 ++++++++++++++--- 7 files changed, 353 insertions(+), 58 deletions(-) diff --git a/assets/js/blocks/gateways/buckaroo_ideal.js b/assets/js/blocks/gateways/buckaroo_ideal.js index 2a1ed82e5..3b90d66dd 100644 --- a/assets/js/blocks/gateways/buckaroo_ideal.js +++ b/assets/js/blocks/gateways/buckaroo_ideal.js @@ -1,5 +1,6 @@ import React from 'react'; import useFormData from '../hooks/useFormData'; +import { __ } from '@wordpress/i18n'; function IdealDropdown({ onStateChange, methodName, gateway: { idealIssuers, canShowIssuers } }) { const initialState = { @@ -18,7 +19,7 @@ function IdealDropdown({ onStateChange, methodName, gateway: { idealIssuers, can id="buckaroo-ideal-issuer" onChange={handleChange} > - + {Object.keys(idealIssuers).map((issuerCode) => (