diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index b3d4b82a1..aea0bf1d1 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -1,5 +1,9 @@ in([ diff --git a/api/abstract.php b/api/abstract.php index 3dd0d62f3..be484cca5 100644 --- a/api/abstract.php +++ b/api/abstract.php @@ -14,8 +14,16 @@ * @copyright Copyright (c) Buckaroo B.V. * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ +if (!defined('_PS_VERSION_')) { + exit; +} + use Buckaroo\Resources\Constants\ResponseStatus; +if (!defined('_PS_VERSION_')) { + exit; +} + abstract class BuckarooAbstract extends ResponseStatus { public const BUCKAROO_SUCCESS = 'BUCKAROO_SUCCESS'; diff --git a/api/corelogger.php b/api/corelogger.php index 79f59e39a..f8518a47d 100644 --- a/api/corelogger.php +++ b/api/corelogger.php @@ -14,6 +14,10 @@ * @copyright Copyright (c) Buckaroo B.V. * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ +if (!defined('_PS_VERSION_')) { + exit; +} + class CoreLogger { // put your code here diff --git a/api/paymentmethods/afterpay/afterpay.php b/api/paymentmethods/afterpay/afterpay.php index 14529d867..d175cef46 100644 --- a/api/paymentmethods/afterpay/afterpay.php +++ b/api/paymentmethods/afterpay/afterpay.php @@ -14,6 +14,10 @@ * @copyright Copyright (c) Buckaroo B.V. * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ +if (!defined('_PS_VERSION_')) { + exit; +} + require_once dirname(__FILE__) . '/../paymentmethod.php'; class AfterPay extends PaymentMethod diff --git a/api/paymentmethods/alipay/alipay.php b/api/paymentmethods/alipay/alipay.php index 67836fbdb..f2a3341eb 100644 --- a/api/paymentmethods/alipay/alipay.php +++ b/api/paymentmethods/alipay/alipay.php @@ -14,6 +14,10 @@ * @copyright Copyright (c) Buckaroo B.V. * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ +if (!defined('_PS_VERSION_')) { + exit; +} + require_once dirname(__FILE__) . '/../paymentmethod.php'; class Alipay extends PaymentMethod diff --git a/api/paymentmethods/applepay/applepay.php b/api/paymentmethods/applepay/applepay.php index b92abe9b9..f16a38c81 100644 --- a/api/paymentmethods/applepay/applepay.php +++ b/api/paymentmethods/applepay/applepay.php @@ -14,6 +14,9 @@ * @copyright Copyright (c) Buckaroo B.V. * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ +if (!defined('_PS_VERSION_')) { + exit; +} require_once dirname(__FILE__) . '/../paymentmethod.php'; diff --git a/api/paymentmethods/bancontactmrcash/bancontactmrcash.php b/api/paymentmethods/bancontactmrcash/bancontactmrcash.php index bd6c5f322..ba944018e 100644 --- a/api/paymentmethods/bancontactmrcash/bancontactmrcash.php +++ b/api/paymentmethods/bancontactmrcash/bancontactmrcash.php @@ -14,8 +14,11 @@ * @copyright Copyright (c) Buckaroo B.V. * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ -require_once dirname(__FILE__) . '/../paymentmethod.php'; +if (!defined('_PS_VERSION_')) { + exit; +} +require_once dirname(__FILE__) . '/../paymentmethod.php'; class Bancontactmrcash extends PaymentMethod { public function __construct() diff --git a/api/paymentmethods/belfius/belfius.php b/api/paymentmethods/belfius/belfius.php index 7b5c5b1e7..52b156c46 100644 --- a/api/paymentmethods/belfius/belfius.php +++ b/api/paymentmethods/belfius/belfius.php @@ -14,6 +14,9 @@ * @copyright Copyright (c) Buckaroo B.V. * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ +if (!defined('_PS_VERSION_')) { + exit; +} require_once dirname(__FILE__) . '/../paymentmethod.php'; diff --git a/api/paymentmethods/billink/billink.php b/api/paymentmethods/billink/billink.php index 550a721fc..ee33ba02c 100644 --- a/api/paymentmethods/billink/billink.php +++ b/api/paymentmethods/billink/billink.php @@ -14,8 +14,12 @@ * @copyright Copyright (c) Buckaroo B.V. * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ +if (!defined('_PS_VERSION_')) { + exit; +} require_once dirname(__FILE__) . '/../paymentmethod.php'; + class Billink extends PaymentMethod { public function __construct() diff --git a/api/paymentmethods/creditcard/creditcard.php b/api/paymentmethods/creditcard/creditcard.php index 0eef3fbd5..f75a65ada 100644 --- a/api/paymentmethods/creditcard/creditcard.php +++ b/api/paymentmethods/creditcard/creditcard.php @@ -14,8 +14,11 @@ * @copyright Copyright (c) Buckaroo B.V. * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ -require_once dirname(__FILE__) . '/../paymentmethod.php'; +if (!defined('_PS_VERSION_')) { + exit; +} +require_once dirname(__FILE__) . '/../paymentmethod.php'; class CreditCard extends PaymentMethod { public $issuer; diff --git a/api/paymentmethods/eps/eps.php b/api/paymentmethods/eps/eps.php index ab10bd2bd..464a0fcef 100644 --- a/api/paymentmethods/eps/eps.php +++ b/api/paymentmethods/eps/eps.php @@ -14,8 +14,11 @@ * @copyright Copyright (c) Buckaroo B.V. * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ -require_once dirname(__FILE__) . '/../paymentmethod.php'; +if (!defined('_PS_VERSION_')) { + exit; +} +require_once dirname(__FILE__) . '/../paymentmethod.php'; class Eps extends PaymentMethod { public function __construct() diff --git a/api/paymentmethods/functions.php b/api/paymentmethods/functions.php index 98c587a56..f7b0e1377 100644 --- a/api/paymentmethods/functions.php +++ b/api/paymentmethods/functions.php @@ -14,6 +14,10 @@ * @copyright Copyright (c) Buckaroo B.V. * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ +if (!defined('_PS_VERSION_')) { + exit; +} + function autoload($payment_method) { require_once _PS_ROOT_DIR_ . '/modules/buckaroo3/vendor/autoload.php'; diff --git a/api/paymentmethods/giftcard/giftcard.php b/api/paymentmethods/giftcard/giftcard.php index 7dda8a287..b4277a676 100644 --- a/api/paymentmethods/giftcard/giftcard.php +++ b/api/paymentmethods/giftcard/giftcard.php @@ -14,8 +14,11 @@ * @copyright Copyright (c) Buckaroo B.V. * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ -require_once dirname(__FILE__) . '/../paymentmethod.php'; +if (!defined('_PS_VERSION_')) { + exit; +} +require_once dirname(__FILE__) . '/../paymentmethod.php'; class GiftCard extends PaymentMethod { public function __construct() diff --git a/api/paymentmethods/giropay/giropay.php b/api/paymentmethods/giropay/giropay.php index c5cedd999..d38c73933 100644 --- a/api/paymentmethods/giropay/giropay.php +++ b/api/paymentmethods/giropay/giropay.php @@ -14,6 +14,10 @@ * @copyright Copyright (c) Buckaroo B.V. * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ +if (!defined('_PS_VERSION_')) { + exit; +} + require_once dirname(__FILE__) . '/../paymentmethod.php'; class Giropay extends PaymentMethod diff --git a/api/paymentmethods/ideal/ideal.php b/api/paymentmethods/ideal/ideal.php index ad0be7a00..9f25b7300 100644 --- a/api/paymentmethods/ideal/ideal.php +++ b/api/paymentmethods/ideal/ideal.php @@ -14,6 +14,10 @@ * @copyright Copyright (c) Buckaroo B.V. * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ +if (!defined('_PS_VERSION_')) { + exit; +} + require_once dirname(__FILE__) . '/../paymentmethod.php'; class IDeal extends PaymentMethod { @@ -32,11 +36,12 @@ public function __construct() // @codingStandardsIgnoreStart public function pay($customVars = []) { - if($this->issuerIsRequired){ + if ($this->issuerIsRequired) { $this->payload['issuer'] = is_string($this->issuer) ? $this->issuer : ''; - }else{ + } else { $this->payload['continueOnIncomplete'] = 1; } + return parent::pay(); } } diff --git a/api/paymentmethods/idin/idin.php b/api/paymentmethods/idin/idin.php index 0e7eccde1..d233f55ab 100644 --- a/api/paymentmethods/idin/idin.php +++ b/api/paymentmethods/idin/idin.php @@ -14,9 +14,11 @@ * @copyright Copyright (c) Buckaroo B.V. * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ +if (!defined('_PS_VERSION_')) { + exit; +} require_once dirname(__FILE__) . '/../paymentmethod.php'; - class Idin extends PaymentMethod { public $issuer; diff --git a/api/paymentmethods/idin/idinresponse.php b/api/paymentmethods/idin/idinresponse.php index 9b8d2d924..4170c2a60 100644 --- a/api/paymentmethods/idin/idinresponse.php +++ b/api/paymentmethods/idin/idinresponse.php @@ -14,12 +14,14 @@ * @copyright Copyright (c) Buckaroo B.V. * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ +if (!defined('_PS_VERSION_')) { + exit; +} use Buckaroo\PrestaShop\Src\Service\BuckarooIdinService; require_once dirname(__FILE__) . '/../response.php'; require_once dirname(__FILE__) . '/../../../library/logger.php'; - class IdinResponse extends Response { protected $buckarooIdinService; diff --git a/api/paymentmethods/in3/in3.php b/api/paymentmethods/in3/in3.php index 4fd66f45b..dc4fed0b9 100644 --- a/api/paymentmethods/in3/in3.php +++ b/api/paymentmethods/in3/in3.php @@ -14,6 +14,10 @@ * @copyright Copyright (c) Buckaroo B.V. * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ +if (!defined('_PS_VERSION_')) { + exit; +} + require_once dirname(__FILE__) . '/../paymentmethod.php'; class In3 extends PaymentMethod diff --git a/api/paymentmethods/in3old/in3old.php b/api/paymentmethods/in3old/in3old.php index 62a8d2f0b..27d5e65e8 100644 --- a/api/paymentmethods/in3old/in3old.php +++ b/api/paymentmethods/in3old/in3old.php @@ -14,6 +14,10 @@ * @copyright Copyright (c) Buckaroo B.V. * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ +if (!defined('_PS_VERSION_')) { + exit; +} + require_once dirname(__FILE__) . '/../paymentmethod.php'; class In3Old extends PaymentMethod diff --git a/api/paymentmethods/kbc/kbc.php b/api/paymentmethods/kbc/kbc.php index 872ce177d..a3cca9269 100644 --- a/api/paymentmethods/kbc/kbc.php +++ b/api/paymentmethods/kbc/kbc.php @@ -14,6 +14,10 @@ * @copyright Copyright (c) Buckaroo B.V. * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ +if (!defined('_PS_VERSION_')) { + exit; +} + require_once dirname(__FILE__) . '/../paymentmethod.php'; class Kbc extends PaymentMethod diff --git a/api/paymentmethods/klarna/klarna.php b/api/paymentmethods/klarna/klarna.php index f6f11813b..dac52d9e3 100644 --- a/api/paymentmethods/klarna/klarna.php +++ b/api/paymentmethods/klarna/klarna.php @@ -14,6 +14,10 @@ * @copyright Copyright (c) Buckaroo B.V. * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ +if (!defined('_PS_VERSION_')) { + exit; +} + require_once dirname(__FILE__) . '/../paymentmethod.php'; class Klarna extends PaymentMethod @@ -28,6 +32,7 @@ public function getPayload($data) { return array_merge_recursive($this->payload, $data); } + public function pay($customVars = []) { $this->payload = $this->getPayload($customVars); diff --git a/api/paymentmethods/mbway/mbway.php b/api/paymentmethods/mbway/mbway.php index 9c7f81f5c..5f19fdcb5 100644 --- a/api/paymentmethods/mbway/mbway.php +++ b/api/paymentmethods/mbway/mbway.php @@ -14,6 +14,10 @@ * @copyright Copyright (c) Buckaroo B.V. * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ +if (!defined('_PS_VERSION_')) { + exit; +} + require_once dirname(__FILE__) . '/../paymentmethod.php'; class Mbway extends PaymentMethod diff --git a/api/paymentmethods/multibanco/multibanco.php b/api/paymentmethods/multibanco/multibanco.php index 4302597ee..802161ded 100644 --- a/api/paymentmethods/multibanco/multibanco.php +++ b/api/paymentmethods/multibanco/multibanco.php @@ -14,6 +14,10 @@ * @copyright Copyright (c) Buckaroo B.V. * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ +if (!defined('_PS_VERSION_')) { + exit; +} + require_once dirname(__FILE__) . '/../paymentmethod.php'; class Multibanco extends PaymentMethod diff --git a/api/paymentmethods/paybybank/paybybank.php b/api/paymentmethods/paybybank/paybybank.php index 3e3f3ca56..d77e0b938 100644 --- a/api/paymentmethods/paybybank/paybybank.php +++ b/api/paymentmethods/paybybank/paybybank.php @@ -14,7 +14,12 @@ * @copyright Copyright (c) Buckaroo B.V. * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ +if (!defined('_PS_VERSION_')) { + exit; +} + require_once dirname(__FILE__) . '/../paymentmethod.php'; + class PayByBank extends PaymentMethod { public $issuer; diff --git a/api/paymentmethods/payconiq/payconiq.php b/api/paymentmethods/payconiq/payconiq.php index 07d8d118c..357925af8 100644 --- a/api/paymentmethods/payconiq/payconiq.php +++ b/api/paymentmethods/payconiq/payconiq.php @@ -14,6 +14,10 @@ * @copyright Copyright (c) Buckaroo B.V. * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ +if (!defined('_PS_VERSION_')) { + exit; +} + require_once dirname(__FILE__) . '/../paymentmethod.php'; class Payconiq extends PaymentMethod diff --git a/api/paymentmethods/paymentmethod.php b/api/paymentmethods/paymentmethod.php index af7c82fc3..f030b00b0 100644 --- a/api/paymentmethods/paymentmethod.php +++ b/api/paymentmethods/paymentmethod.php @@ -21,6 +21,10 @@ use Buckaroo\BuckarooClient; use Buckaroo\PrestaShop\Classes\Config; +if (!defined('_PS_VERSION_')) { + exit; +} + abstract class PaymentMethod extends BuckarooAbstract { protected $type; @@ -80,19 +84,19 @@ public function payGlobal($customPayAction = null) (!$customPayAction) ? $payAction = 'pay' : $payAction = $customPayAction; $this->payload = array_merge([ - 'currency' => $this->currency, - 'amountDebit' => $this->amountDebit, - 'invoice' => $this->invoiceId, - 'description' => $this->description, - 'order' => $this->orderId, - 'returnURL' => $this->returnUrl, - 'pushURL' => $this->pushUrl, - 'platformName' => $this->platformName, - 'platformVersion' => $this->platformVersion, - 'moduleVersion' => $this->moduleVersion, - 'moduleSupplier' => $this->moduleSupplier, - 'moduleName' => $this->moduleName, - ],$this->payload); + 'currency' => $this->currency, + 'amountDebit' => $this->amountDebit, + 'invoice' => $this->invoiceId, + 'description' => $this->description, + 'order' => $this->orderId, + 'returnURL' => $this->returnUrl, + 'pushURL' => $this->pushUrl, + 'platformName' => $this->platformName, + 'platformVersion' => $this->platformVersion, + 'moduleVersion' => $this->moduleVersion, + 'moduleSupplier' => $this->moduleSupplier, + 'moduleName' => $this->moduleName, + ], $this->payload); $buckaroo = $this->getBuckarooClient(Config::getMode($this->type)); // Pay @@ -164,17 +168,19 @@ public function verify($customVars = []) return ResponseFactory::getResponse($response); } - public function setDescription($cartId){ + + public function setDescription($cartId) + { $description = (string) Configuration::get('BUCKAROO_TRANSACTION_LABEL'); - preg_match_all('/{\w+}/',$description,$matches); + preg_match_all('/{\w+}/', $description, $matches); if (!empty($matches[0])) { $order = \Order::getByCartId($cartId); - $patterns = ['/{order_number}/','/{shop_name}/']; - $replacement = [$order->reference,\Context::getContext()->shop->name]; + $patterns = ['/{order_number}/', '/{shop_name}/']; + $replacement = [$order->reference, \Context::getContext()->shop->name]; - foreach ($matches[0] as $match){ - if(!in_array("/$match/",$patterns)) { + foreach ($matches[0] as $match) { + if (!in_array("/$match/", $patterns)) { $property = trim($match, '{}'); if (isset($order->$property)) { $replacement[] = $order->$property; diff --git a/api/paymentmethods/paymentrequestfactory.php b/api/paymentmethods/paymentrequestfactory.php index 44bac2f5c..d848ce87a 100644 --- a/api/paymentmethods/paymentrequestfactory.php +++ b/api/paymentmethods/paymentrequestfactory.php @@ -16,6 +16,9 @@ */ include_once dirname(__FILE__) . '/functions.php'; +if (!defined('_PS_VERSION_')) { + exit; +} class PaymentRequestFactory { public const REQUEST_TYPE_PAYPAL = 'paypal'; diff --git a/api/paymentmethods/paypal/paypal.php b/api/paymentmethods/paypal/paypal.php index 781620759..21e7d83ff 100644 --- a/api/paymentmethods/paypal/paypal.php +++ b/api/paymentmethods/paypal/paypal.php @@ -14,6 +14,10 @@ * @copyright Copyright (c) Buckaroo B.V. * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ +if (!defined('_PS_VERSION_')) { + exit; +} + require_once dirname(__FILE__) . '/../paymentmethod.php'; use Buckaroo\PrestaShop\Src\Service\BuckarooConfigService; diff --git a/api/paymentmethods/payperemail/payperemail.php b/api/paymentmethods/payperemail/payperemail.php index ec600ad26..0db5a8b1a 100644 --- a/api/paymentmethods/payperemail/payperemail.php +++ b/api/paymentmethods/payperemail/payperemail.php @@ -14,6 +14,10 @@ * @copyright Copyright (c) Buckaroo B.V. * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ +if (!defined('_PS_VERSION_')) { + exit; +} + require_once dirname(__FILE__) . '/../paymentmethod.php'; class PayPerEmail extends PaymentMethod diff --git a/api/paymentmethods/przelewy24/przelewy24.php b/api/paymentmethods/przelewy24/przelewy24.php index 6ce045bb6..1e96cd797 100644 --- a/api/paymentmethods/przelewy24/przelewy24.php +++ b/api/paymentmethods/przelewy24/przelewy24.php @@ -14,6 +14,10 @@ * @copyright Copyright (c) Buckaroo B.V. * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ +if (!defined('_PS_VERSION_')) { + exit; +} + require_once dirname(__FILE__) . '/../paymentmethod.php'; class Przelewy24 extends PaymentMethod diff --git a/api/paymentmethods/refunds/refunds.php b/api/paymentmethods/refunds/refunds.php index 04d195ddd..fcd5942ca 100644 --- a/api/paymentmethods/refunds/refunds.php +++ b/api/paymentmethods/refunds/refunds.php @@ -14,6 +14,10 @@ * @copyright Copyright (c) Buckaroo B.V. * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ +if (!defined('_PS_VERSION_')) { + exit; +} + require_once dirname(__FILE__) . '/../paymentmethod.php'; class Refunds extends PaymentMethod diff --git a/api/paymentmethods/response.php b/api/paymentmethods/response.php index 61d2596e9..fc8b69e59 100644 --- a/api/paymentmethods/response.php +++ b/api/paymentmethods/response.php @@ -21,6 +21,10 @@ use Buckaroo\Handlers\Reply\ReplyHandler; use Buckaroo\Transaction\Response\TransactionResponse; +if (!defined('_PS_VERSION_')) { + exit; +} + abstract class Response extends BuckarooAbstract { // false if not received response @@ -177,6 +181,7 @@ public function isRejected(): bool { return $this->response->isRejected(); } + // Determine if is buckaroo response or push private function isPushRequest() { @@ -201,25 +206,29 @@ public function getSomeError() { return $this->response->getSomeError(); } + public function isTest() { return $this->response->get('IsTest') === true; } + public function isValid() { if (!$this->validated) { if ($this->isPush) { - $buckaroo = new BuckarooClient(Configuration::get('BUCKAROO_MERCHANT_KEY'), Configuration::get('BUCKAROO_SECRET_KEY')); + $buckaroo = new BuckarooClient(Configuration::get('BUCKAROO_MERCHANT_KEY'), Configuration::get('BUCKAROO_SECRET_KEY')); try { $reply_handler = new ReplyHandler($buckaroo->client()->config(), $_POST); $reply_handler->validate(); + return $this->validated = $reply_handler->isValid(); - } catch (Exception $e) {} - } else if($this->response) { + } catch (Exception $e) { + } + } elseif ($this->response) { $this->validated = (!$this->response->isValidationFailure()); } - } + return $this->validated; } @@ -227,15 +236,17 @@ public function hasSucceeded() { if (isset($this->response)) { try { - if($this->isValid()){ + if ($this->isValid()) { if ($this->isPendingProcessing() || $this->isAwaitingConsumer() || $this->isWaitingOnUserInput() || $this->isSuccess()) { return true; } } - } catch (Exception $e){} - } else if (in_array($this->status,[self::BUCKAROO_PENDING_PAYMENT,self::BUCKAROO_SUCCESS])) { + } catch (Exception $e) { + } + } elseif (in_array($this->status, [self::BUCKAROO_PENDING_PAYMENT, self::BUCKAROO_SUCCESS])) { return true; } + return false; } diff --git a/api/paymentmethods/responsedefault.php b/api/paymentmethods/responsedefault.php index e335ab894..3e1cc4381 100644 --- a/api/paymentmethods/responsedefault.php +++ b/api/paymentmethods/responsedefault.php @@ -14,6 +14,10 @@ * @copyright Copyright (c) Buckaroo B.V. * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ +if (!defined('_PS_VERSION_')) { + exit; +} + class ResponseDefault extends Response { } diff --git a/api/paymentmethods/responsefactory.php b/api/paymentmethods/responsefactory.php index 527ae8173..e78ef6562 100644 --- a/api/paymentmethods/responsefactory.php +++ b/api/paymentmethods/responsefactory.php @@ -18,6 +18,10 @@ require_once dirname(__FILE__) . '/responsedefault.php'; require_once _PS_ROOT_DIR_ . '/modules/buckaroo3/vendor/autoload.php'; +if (!defined('_PS_VERSION_')) { + exit; +} + class ResponseFactory { final public static function getResponse($transactionResponse = null) @@ -40,6 +44,7 @@ final public static function getResponse($transactionResponse = null) if ($paymentmethod === 'IDIN') { return new IdinResponse($transactionResponse); } + return new ResponseDefault($transactionResponse); } } diff --git a/api/paymentmethods/sepadirectdebit/sepadirectdebit.php b/api/paymentmethods/sepadirectdebit/sepadirectdebit.php index 290270de5..4dd433223 100644 --- a/api/paymentmethods/sepadirectdebit/sepadirectdebit.php +++ b/api/paymentmethods/sepadirectdebit/sepadirectdebit.php @@ -14,8 +14,11 @@ * @copyright Copyright (c) Buckaroo B.V. * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ -require_once dirname(__FILE__) . '/../paymentmethod.php'; +if (!defined('_PS_VERSION_')) { + exit; +} +require_once dirname(__FILE__) . '/../paymentmethod.php'; class SepaDirectDebit extends PaymentMethod { public function __construct() diff --git a/api/paymentmethods/sofortbanking/sofortbanking.php b/api/paymentmethods/sofortbanking/sofortbanking.php index 2835de93e..edde1fe03 100644 --- a/api/paymentmethods/sofortbanking/sofortbanking.php +++ b/api/paymentmethods/sofortbanking/sofortbanking.php @@ -14,8 +14,11 @@ * @copyright Copyright (c) Buckaroo B.V. * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ -require_once dirname(__FILE__) . '/../paymentmethod.php'; +if (!defined('_PS_VERSION_')) { + exit; +} +require_once dirname(__FILE__) . '/../paymentmethod.php'; class Sofortbanking extends PaymentMethod { public function __construct() diff --git a/api/paymentmethods/tinka/tinka.php b/api/paymentmethods/tinka/tinka.php index 4b3c3816e..c099c61ba 100644 --- a/api/paymentmethods/tinka/tinka.php +++ b/api/paymentmethods/tinka/tinka.php @@ -14,6 +14,10 @@ * @copyright Copyright (c) Buckaroo B.V. * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ +if (!defined('_PS_VERSION_')) { + exit; +} + require_once dirname(__FILE__) . '/../paymentmethod.php'; class Tinka extends PaymentMethod diff --git a/api/paymentmethods/transfer/transfer.php b/api/paymentmethods/transfer/transfer.php index 4b3d04758..0eeab840c 100644 --- a/api/paymentmethods/transfer/transfer.php +++ b/api/paymentmethods/transfer/transfer.php @@ -14,6 +14,10 @@ * @copyright Copyright (c) Buckaroo B.V. * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ +if (!defined('_PS_VERSION_')) { + exit; +} + require_once dirname(__FILE__) . '/../paymentmethod.php'; class Transfer extends PaymentMethod diff --git a/api/paymentmethods/trustly/trustly.php b/api/paymentmethods/trustly/trustly.php index 19875c4cf..7aa4dc3b3 100644 --- a/api/paymentmethods/trustly/trustly.php +++ b/api/paymentmethods/trustly/trustly.php @@ -14,6 +14,10 @@ * @copyright Copyright (c) Buckaroo B.V. * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ +if (!defined('_PS_VERSION_')) { + exit; +} + require_once dirname(__FILE__) . '/../paymentmethod.php'; class Trustly extends PaymentMethod diff --git a/api/paymentmethods/wechatpay/wechatpay.php b/api/paymentmethods/wechatpay/wechatpay.php index f4e8129db..3b49308fe 100644 --- a/api/paymentmethods/wechatpay/wechatpay.php +++ b/api/paymentmethods/wechatpay/wechatpay.php @@ -14,8 +14,11 @@ * @copyright Copyright (c) Buckaroo B.V. * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ -require_once dirname(__FILE__) . '/../paymentmethod.php'; +if (!defined('_PS_VERSION_')) { + exit; +} +require_once dirname(__FILE__) . '/../paymentmethod.php'; class Wechatpay extends PaymentMethod { public function __construct() diff --git a/buckaroo3.php b/buckaroo3.php index 85bcdbe4a..9d20e7ed0 100644 --- a/buckaroo3.php +++ b/buckaroo3.php @@ -140,12 +140,13 @@ public function hookDisplayOrderConfirmation(array $params) "' WHERE id_cart = '" . $cart->id . "'"; Db::getInstance()->execute($sql); - return ''; + // Assign data to Smarty + $this->context->smarty->assign([ + 'orderBuckarooFee' => $this->formatPrice($buckarooFee), + ]); + + // Fetch and return the template content + return $this->display(__FILE__, 'views/templates/hook/order-confirmation-fee.tpl'); } /** @@ -243,7 +244,7 @@ public function uninstall() public function hookDisplayBackOfficeHeader() { - if((Tools::getValue('controller') == 'AdminModules' && Tools::getValue('configure') == 'buckaroo3')){ + if (Tools::getValue('controller') == 'AdminModules' && Tools::getValue('configure') == 'buckaroo3') { $this->context->controller->addCSS($this->_path . 'views/css/buckaroo3.vue.css', 'all'); } $this->context->controller->addCSS($this->_path . 'views/css/buckaroo3.admin.css', 'all'); diff --git a/classes/CapayableIn3.php b/classes/CapayableIn3.php index d23ad3ab9..f502adfe9 100644 --- a/classes/CapayableIn3.php +++ b/classes/CapayableIn3.php @@ -17,6 +17,10 @@ namespace Buckaroo\PrestaShop\Classes; +if (!defined('_PS_VERSION_')) { + exit; +} + class CapayableIn3 { protected $apiVersion; diff --git a/classes/CarrierHandler.php b/classes/CarrierHandler.php index b64448aaf..ae9f70a6e 100644 --- a/classes/CarrierHandler.php +++ b/classes/CarrierHandler.php @@ -15,6 +15,10 @@ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ require_once _PS_MODULE_DIR_ . 'buckaroo3/vendor/autoload.php'; +if (!defined('_PS_VERSION_')) { + exit; +} + class CarrierHandler { private $carrier; diff --git a/classes/Config.php b/classes/Config.php index 35e628e44..824a99800 100644 --- a/classes/Config.php +++ b/classes/Config.php @@ -19,6 +19,10 @@ use Buckaroo\PrestaShop\Src\Repository\RawPaymentMethodRepository; +if (!defined('_PS_VERSION_')) { + exit; +} + class Config { /** diff --git a/classes/Issuers/Ideal.php b/classes/Issuers/Ideal.php index 5f25c7814..3753a2d3c 100644 --- a/classes/Issuers/Ideal.php +++ b/classes/Issuers/Ideal.php @@ -17,6 +17,10 @@ namespace Buckaroo\PrestaShop\Classes\Issuers; +if (!defined('_PS_VERSION_')) { + exit; +} + class Ideal extends Issuers { protected const CACHE_ISSUERS_KEY = 'BUCKAROO_IDEAL_ISSUERS_CACHE'; diff --git a/classes/Issuers/Issuers.php b/classes/Issuers/Issuers.php index 59c7b1924..26a37c86b 100644 --- a/classes/Issuers/Issuers.php +++ b/classes/Issuers/Issuers.php @@ -17,8 +17,12 @@ namespace Buckaroo\PrestaShop\Classes\Issuers; -use Buckaroo\PrestaShop\Classes\Config; use Buckaroo\BuckarooClient; +use Buckaroo\PrestaShop\Classes\Config; + +if (!defined('_PS_VERSION_')) { + exit; +} abstract class Issuers { @@ -38,8 +42,9 @@ abstract class Issuers 'REVOLT21' => 'Revolut.svg', 'NNBANL2G' => 'NN.svg', 'BITSNL2A' => 'YourSafe.svg', - 'NTSBDEB1' => 'N26.svg' + 'NTSBDEB1' => 'N26.svg', ]; + public function __construct($method) { $this->method = $method; @@ -56,6 +61,7 @@ public function get(): array if (!is_array($issuers) || $cacheDate !== (new \DateTime())->format('Y-m-d')) { return $this->updateCacheIssuers($issuers); } + return $issuers; } @@ -68,15 +74,16 @@ public function get(): array */ private function formatIssuers($issuers): array { - return array_reduce($issuers, function ($result,$issuer) { - if(isset($issuer['id']) && isset(self::ISSUERS_IMAGES[$issuer['id']])){ + return array_reduce($issuers, function ($result, $issuer) { + if (isset($issuer['id'], self::ISSUERS_IMAGES[$issuer['id']])) { $result[$issuer['id']] = [ 'name' => $issuer['name'], - 'logo' => self::ISSUERS_IMAGES[$issuer['id']] + 'logo' => self::ISSUERS_IMAGES[$issuer['id']], ]; } + return $result; - }, array()); + }, []); } /** @@ -145,6 +152,7 @@ private function getCacheIssuers() if (!is_string($issuersString)) { return null; } + return json_decode($issuersString, true); } diff --git a/classes/Issuers/PayByBank.php b/classes/Issuers/PayByBank.php index fba0a24d2..d08bcf95e 100644 --- a/classes/Issuers/PayByBank.php +++ b/classes/Issuers/PayByBank.php @@ -17,6 +17,10 @@ namespace Buckaroo\PrestaShop\Classes\Issuers; +if (!defined('_PS_VERSION_')) { + exit; +} + class PayByBank extends Issuers { protected const CACHE_LAST_ISSUER_LABEL = 'BUCKAROO_LAST_PAYBYBANK_ISSUER'; @@ -27,6 +31,7 @@ public function __construct() { parent::__construct('paybybank'); } + public function get(): array { $savedBankIssuer = \Context::getContext()->cookie->{self::CACHE_LAST_ISSUER_LABEL}; @@ -64,7 +69,7 @@ public function get(): array 'name' => 'ASN Bank', 'logo' => 'ASNBank.svg', ], - ],parent::get()); + ], parent::get()); $issuers = []; @@ -80,6 +85,7 @@ public function get(): array $issuers = array_filter($issuers, function ($issuer) { return !$issuer['selected']; }); + return array_merge($savedIssuer, $issuers); } diff --git a/config/front/index.php b/config/front/index.php new file mode 100644 index 000000000..42d646f15 --- /dev/null +++ b/config/front/index.php @@ -0,0 +1,25 @@ + + * @copyright Copyright (c) Buckaroo B.V. + * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) + */ +header('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); +header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT'); + +header('Cache-Control: no-store, no-cache, must-revalidate'); +header('Cache-Control: post-check=0, pre-check=0', false); +header('Pragma: no-cache'); + +header('Location: ../../../../../'); +exit; diff --git a/controllers/admin/AdminBuckarooController.php b/controllers/admin/AdminBuckarooController.php index 2793d0440..83504396e 100644 --- a/controllers/admin/AdminBuckarooController.php +++ b/controllers/admin/AdminBuckarooController.php @@ -14,6 +14,10 @@ * @copyright Copyright (c) Buckaroo B.V. * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ +if (!defined('_PS_VERSION_')) { + exit; +} + class AdminBuckarooController extends ModuleAdminController { public function initContent() diff --git a/controllers/admin/AdminBuckaroologController.php b/controllers/admin/AdminBuckaroologController.php index b1ad6671c..cdbebc880 100644 --- a/controllers/admin/AdminBuckaroologController.php +++ b/controllers/admin/AdminBuckaroologController.php @@ -14,6 +14,10 @@ * @copyright Copyright (c) Buckaroo B.V. * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ +if (!defined('_PS_VERSION_')) { + exit; +} + class AdminBuckaroologController extends AdminControllerCore { public function __construct() diff --git a/controllers/admin/AdminRefundController.php b/controllers/admin/AdminRefundController.php index 28b6b5c42..746188ebb 100644 --- a/controllers/admin/AdminRefundController.php +++ b/controllers/admin/AdminRefundController.php @@ -26,6 +26,10 @@ use Symfony\Component\HttpFoundation\JsonResponse; use Symfony\Component\HttpFoundation\Request; +if (!defined('_PS_VERSION_')) { + exit; +} + class AdminRefundController extends FrameworkBundleAdminController { /** @@ -93,7 +97,7 @@ public function refund(Request $request) * Send refund request to payment engine, return total amount refunded * * @param \Order $order - * @param float $maxRefundAmount + * @param float $maxRefundAmount * * @return float */ @@ -115,9 +119,9 @@ private function sendRefundRequests(\Order $order, float $maxRefundAmount): floa /** * Refund individual payment with amount, return remaining amount to be refunded * - * @param \Order $order + * @param \Order $order * @param \OrderPayment $payment - * @param float $maxRefundAmount + * @param float $maxRefundAmount * * @return float */ @@ -179,7 +183,7 @@ private function renderError(string $message): JsonResponse * Format price based on order currency * * @param \Order $order - * @param float $price + * @param float $price * * @return string * diff --git a/controllers/admin/BaseApiController.php b/controllers/admin/BaseApiController.php index 2a6e3f87c..44c4fc705 100644 --- a/controllers/admin/BaseApiController.php +++ b/controllers/admin/BaseApiController.php @@ -20,6 +20,10 @@ use PrestaShopBundle\Controller\Admin\FrameworkBundleAdminController; use Symfony\Component\HttpFoundation\JsonResponse; +if (!defined('_PS_VERSION_')) { + exit; +} + class BaseApiController extends FrameworkBundleAdminController { protected function sendResponse($data, $status = 200) diff --git a/controllers/admin/Countries.php b/controllers/admin/Countries.php index 7c433ff0a..9cd5e732a 100644 --- a/controllers/admin/Countries.php +++ b/controllers/admin/Countries.php @@ -19,6 +19,10 @@ use Buckaroo\PrestaShop\Src\Repository\CountryRepository; +if (!defined('_PS_VERSION_')) { + exit; +} + class Countries extends BaseApiController { public CountryRepository $countryRepository; diff --git a/controllers/admin/Creditcards.php b/controllers/admin/Creditcards.php index ad5d0954b..e0b3fdb89 100644 --- a/controllers/admin/Creditcards.php +++ b/controllers/admin/Creditcards.php @@ -19,6 +19,10 @@ use Buckaroo\PrestaShop\Src\Repository\RawCreditCardsRepository; +if (!defined('_PS_VERSION_')) { + exit; +} + class Creditcards extends BaseApiController { private RawCreditCardsRepository $creditCardsRepository; diff --git a/controllers/admin/Orderings.php b/controllers/admin/Orderings.php index 32753665e..9ed8ebc60 100644 --- a/controllers/admin/Orderings.php +++ b/controllers/admin/Orderings.php @@ -20,6 +20,10 @@ use Buckaroo\PrestaShop\Src\Entity\BkOrdering; use Doctrine\ORM\EntityManager; +if (!defined('_PS_VERSION_')) { + exit; +} + class Orderings extends BaseApiController { private $bkOrderingRepository; diff --git a/controllers/admin/PaymentMethodConfig.php b/controllers/admin/PaymentMethodConfig.php index 2fe54c779..88b40958b 100644 --- a/controllers/admin/PaymentMethodConfig.php +++ b/controllers/admin/PaymentMethodConfig.php @@ -21,6 +21,10 @@ use Doctrine\ORM\Exception\ORMException; use Doctrine\ORM\OptimisticLockException; +if (!defined('_PS_VERSION_')) { + exit; +} + class PaymentMethodConfig extends BaseApiController { private BuckarooConfigService $buckarooConfigService; diff --git a/controllers/admin/PaymentMethodMode.php b/controllers/admin/PaymentMethodMode.php index 62d54141e..c113db7f7 100644 --- a/controllers/admin/PaymentMethodMode.php +++ b/controllers/admin/PaymentMethodMode.php @@ -20,6 +20,10 @@ use Buckaroo\PrestaShop\Src\Service\BuckarooConfigService; use Symfony\Component\HttpFoundation\Request; +if (!defined('_PS_VERSION_')) { + exit; +} + class PaymentMethodMode extends BaseApiController { private BuckarooConfigService $buckarooConfigService; diff --git a/controllers/admin/PaymentMethods.php b/controllers/admin/PaymentMethods.php index 4204580c0..13bd84e3a 100644 --- a/controllers/admin/PaymentMethods.php +++ b/controllers/admin/PaymentMethods.php @@ -19,6 +19,10 @@ use Buckaroo\PrestaShop\Src\Service\BuckarooConfigService; +if (!defined('_PS_VERSION_')) { + exit; +} + class PaymentMethods extends BaseApiController { private BuckarooConfigService $buckarooConfigService; diff --git a/controllers/admin/Settings.php b/controllers/admin/Settings.php index 9cf7f5b19..71ee9b8bf 100644 --- a/controllers/admin/Settings.php +++ b/controllers/admin/Settings.php @@ -19,6 +19,10 @@ use Buckaroo\PrestaShop\Src\Service\BuckarooSettingsService; +if (!defined('_PS_VERSION_')) { + exit; +} + class Settings extends BaseApiController { private BuckarooSettingsService $settingsService; diff --git a/controllers/admin/TestCredentialsApi.php b/controllers/admin/TestCredentialsApi.php index ba0892b15..367fa10ef 100644 --- a/controllers/admin/TestCredentialsApi.php +++ b/controllers/admin/TestCredentialsApi.php @@ -19,9 +19,12 @@ use Buckaroo\BuckarooClient; +if (!defined('_PS_VERSION_')) { + exit; +} + class TestCredentialsApi extends BaseApiController { - public function initContent() { $data = $this->getJsonInput(); diff --git a/controllers/admin/VerificationMethods.php b/controllers/admin/VerificationMethods.php index aabfb2ff0..7f2d5b18c 100644 --- a/controllers/admin/VerificationMethods.php +++ b/controllers/admin/VerificationMethods.php @@ -1,5 +1,4 @@ logInfo('Start the payment process'); $this->checkout->startPayment(); } - }catch (Exception $e) { + } catch (Exception $e) { $logger->logError('Set checkout info: ', $e->getMessage()); $this->displayError(null, $e->getMessage()); + return; } if ($this->checkout->isRequestSucceeded()) { - $this->handleSuccessfulRequest($logger,$cart->id,$customer); + $this->handleSuccessfulRequest($logger, $cart->id, $customer); } else { - $this->handleFailedRequest($logger,$cart->id); + $this->handleFailedRequest($logger, $cart->id); } } - private function handleSuccessfulRequest($logger,$cartId,$customer){ + private function handleSuccessfulRequest($logger, $cartId, $customer) + { /* @var $response Response */ $response = $this->checkout->getResponse(); $logger->loginfo('Request succeeded'); @@ -190,15 +197,14 @@ private function handleSuccessfulRequest($logger,$cartId,$customer){ /* @var $responseData TransactionResponse */ $responseData = $response->getResponse(); - $this->createTransactionMessage($id_order,'Transaction Key: '. $responseData->getTransactionKey()); - if($response->payment_method == 'SepaDirectDebit'){ - + $this->createTransactionMessage($id_order, 'Transaction Key: ' . $responseData->getTransactionKey()); + if ($response->payment_method == 'SepaDirectDebit') { $parameters = $responseData->getServiceParameters(); if (!empty($parameters['mandateReference'])) { - $this->createTransactionMessage($id_order,'MandateReference: '. $parameters['mandateReference']); + $this->createTransactionMessage($id_order, 'MandateReference: ' . $parameters['mandateReference']); } if (!empty($parameters['mandateDate'])) { - $this->createTransactionMessage($id_order,'MandateDate: '. $parameters['mandateDate']); + $this->createTransactionMessage($id_order, 'MandateDate: ' . $parameters['mandateDate']); } } if ($response->payment_method == 'transfer') { @@ -243,7 +249,7 @@ private function handleSuccessfulRequest($logger,$cartId,$customer){ } } else { $logger->logInfo('Payment request not valid'); - }; + } $error = null; if (($response->payment_method == 'afterpayacceptgiro' || $response->payment_method == 'afterpaydigiaccept') @@ -253,15 +259,16 @@ private function handleSuccessfulRequest($logger,$cartId,$customer){ $this->displayError(null, $error); } } - private function handleFailedRequest($logger,$cartId){ + private function handleFailedRequest($logger, $cartId) + { $response = $this->checkout->getResponse(); $logger->logInfo('Request not succeeded'); $this->setCartCookie($cartId); $error = null; - if($response->getResponse() instanceof TransactionResponse){ + if ($response->getResponse() instanceof TransactionResponse) { $error = $response->getSomeError(); } @@ -271,14 +278,17 @@ private function handleFailedRequest($logger,$cartId){ $this->displayError(null, $error); } } - private function createTransactionMessage($orderId,$messageString){ + + private function createTransactionMessage($orderId, $messageString) + { $message = new Message(); $message->id_order = $orderId; $message->message = $messageString; $message->add(); - } - private function setCartCookie($cartId){ + + private function setCartCookie($cartId) + { $oldCart = new Cart($cartId); $duplication = $oldCart->duplicate(); if ($duplication && Validate::isLoadedObject($duplication['cart']) && $duplication['success']) { diff --git a/controllers/front/return.php b/controllers/front/return.php index 729b4cf4b..793fe79b1 100644 --- a/controllers/front/return.php +++ b/controllers/front/return.php @@ -18,6 +18,10 @@ include_once _PS_MODULE_DIR_ . 'buckaroo3/library/logger.php'; include_once _PS_MODULE_DIR_ . 'buckaroo3/controllers/front/common.php'; +if (!defined('_PS_VERSION_')) { + exit; +} + class Buckaroo3ReturnModuleFrontController extends BuckarooCommonController { public $ssl = true; diff --git a/controllers/front/userreturn.php b/controllers/front/userreturn.php index 7466d4147..535d98506 100644 --- a/controllers/front/userreturn.php +++ b/controllers/front/userreturn.php @@ -18,6 +18,10 @@ include_once _PS_MODULE_DIR_ . 'buckaroo3/library/logger.php'; include_once _PS_MODULE_DIR_ . 'buckaroo3/controllers/front/common.php'; +if (!defined('_PS_VERSION_')) { + exit; +} + class Buckaroo3UserreturnModuleFrontController extends BuckarooCommonController { public $ssl = true; diff --git a/dev/src/assets/img/index.php b/dev/src/assets/img/index.php new file mode 100644 index 000000000..97ec565fb --- /dev/null +++ b/dev/src/assets/img/index.php @@ -0,0 +1,25 @@ + + * @copyright Copyright (c) Buckaroo B.V. + * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) + */ +header('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); +header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT'); + +header('Cache-Control: no-store, no-cache, must-revalidate'); +header('Cache-Control: post-check=0, pre-check=0', false); +header('Pragma: no-cache'); + +header('Location: ../'); +exit; diff --git a/views/img/logo.png b/dev/src/assets/img/logo.png similarity index 100% rename from views/img/logo.png rename to dev/src/assets/img/logo.png diff --git a/dev/src/components/Menu.vue b/dev/src/components/Menu.vue index b21e3f9f0..3d4d12efc 100644 --- a/dev/src/components/Menu.vue +++ b/dev/src/components/Menu.vue @@ -2,7 +2,7 @@
- +
diff --git a/dev/vite.config.js b/dev/vite.config.js index e256a88d2..3598505b4 100644 --- a/dev/vite.config.js +++ b/dev/vite.config.js @@ -34,7 +34,7 @@ export default defineConfig({ const info = assetInfo.name.split('.'); const extType = info[info.length - 1]; if (/\.(png|jpe?g|gif|svg|webp|webm|mp3)$/.test(assetInfo.name)) { - return `media/[name]-[hash].${extType}`; + return `img/[name]-[hash].${extType}`; } if (/\.(css)$/.test(assetInfo.name)) { return `css/buckaroo3.vue.${extType}`; diff --git a/library/checkout/afterpaycheckout.php b/library/checkout/afterpaycheckout.php index d516be592..0c55a0d5f 100644 --- a/library/checkout/afterpaycheckout.php +++ b/library/checkout/afterpaycheckout.php @@ -19,6 +19,10 @@ use Buckaroo\Resources\Constants\RecipientCategory; +if (!defined('_PS_VERSION_')) { + exit; +} + class AfterPayCheckout extends Checkout { public const CUSTOMER_TYPE_B2C = 'B2C'; diff --git a/library/checkout/alipaycheckout.php b/library/checkout/alipaycheckout.php index f2d781400..3ea84e2ff 100644 --- a/library/checkout/alipaycheckout.php +++ b/library/checkout/alipaycheckout.php @@ -16,6 +16,10 @@ */ include_once _PS_MODULE_DIR_ . 'buckaroo3/library/checkout/checkout.php'; +if (!defined('_PS_VERSION_')) { + exit; +} + class Alipaycheckout extends Checkout { protected $customVars = []; diff --git a/library/checkout/applepaycheckout.php b/library/checkout/applepaycheckout.php index f74599d89..d8bf621c5 100644 --- a/library/checkout/applepaycheckout.php +++ b/library/checkout/applepaycheckout.php @@ -16,6 +16,10 @@ */ include_once _PS_MODULE_DIR_ . 'buckaroo3/library/checkout/checkout.php'; +if (!defined('_PS_VERSION_')) { + exit; +} + class ApplePayCheckout extends Checkout { final public function setCheckout() diff --git a/library/checkout/bancontactmrcashcheckout.php b/library/checkout/bancontactmrcashcheckout.php index 743250449..6ddb95a47 100644 --- a/library/checkout/bancontactmrcashcheckout.php +++ b/library/checkout/bancontactmrcashcheckout.php @@ -16,6 +16,10 @@ */ include_once _PS_MODULE_DIR_ . 'buckaroo3/library/checkout/checkout.php'; +if (!defined('_PS_VERSION_')) { + exit; +} + class BancontactmrcashCheckout extends Checkout { protected $customVars = []; diff --git a/library/checkout/belfiuscheckout.php b/library/checkout/belfiuscheckout.php index 9e3ca8a2f..e6209a770 100644 --- a/library/checkout/belfiuscheckout.php +++ b/library/checkout/belfiuscheckout.php @@ -16,6 +16,10 @@ */ include_once _PS_MODULE_DIR_ . 'buckaroo3/library/checkout/checkout.php'; +if (!defined('_PS_VERSION_')) { + exit; +} + class BelfiusCheckout extends Checkout { final public function setCheckout() diff --git a/library/checkout/billinkcheckout.php b/library/checkout/billinkcheckout.php index d878d3ce7..ffb8c2611 100644 --- a/library/checkout/billinkcheckout.php +++ b/library/checkout/billinkcheckout.php @@ -19,6 +19,10 @@ use Buckaroo\Resources\Constants\RecipientCategory; +if (!defined('_PS_VERSION_')) { + exit; +} + class BillinkCheckout extends Checkout { protected $customVars = []; diff --git a/library/checkout/cashticketcheckout.php b/library/checkout/cashticketcheckout.php index 737a46635..293d1039e 100644 --- a/library/checkout/cashticketcheckout.php +++ b/library/checkout/cashticketcheckout.php @@ -16,6 +16,10 @@ */ include_once _PS_MODULE_DIR_ . 'buckaroo3/library/checkout/checkout.php'; +if (!defined('_PS_VERSION_')) { + exit; +} + class CashTicketCheckout extends Checkout { final public function setCheckout() diff --git a/library/checkout/checkout.php b/library/checkout/checkout.php index fa64f197d..32720b080 100644 --- a/library/checkout/checkout.php +++ b/library/checkout/checkout.php @@ -21,6 +21,10 @@ include_once _PS_MODULE_DIR_ . 'buckaroo3/api/paymentmethods/paymentrequestfactory.php'; +if (!defined('_PS_VERSION_')) { + exit; +} + abstract class Checkout { protected $customVars = []; @@ -341,7 +345,8 @@ protected function getAddressComponents($address) } $logger = new \Logger(CoreLogger::INFO, ''); - $logger->logInfo(json_encode($result) . '-----------'.json_encode($matches)); + $logger->logInfo(json_encode($result) . '-----------' . json_encode($matches)); + return $result; } diff --git a/library/checkout/creditcardcheckout.php b/library/checkout/creditcardcheckout.php index 2082d65a9..b2a4497e6 100644 --- a/library/checkout/creditcardcheckout.php +++ b/library/checkout/creditcardcheckout.php @@ -16,6 +16,10 @@ */ include_once _PS_MODULE_DIR_ . 'buckaroo3/library/checkout/checkout.php'; +if (!defined('_PS_VERSION_')) { + exit; +} + class CreditCardCheckout extends Checkout { protected $customVars = []; diff --git a/library/checkout/epscheckout.php b/library/checkout/epscheckout.php index a099c3edb..fe3643370 100644 --- a/library/checkout/epscheckout.php +++ b/library/checkout/epscheckout.php @@ -16,6 +16,10 @@ */ include_once _PS_MODULE_DIR_ . 'buckaroo3/library/checkout/checkout.php'; +if (!defined('_PS_VERSION_')) { + exit; +} + class EpsCheckout extends Checkout { protected $customVars = []; diff --git a/library/checkout/giftcardcheckout.php b/library/checkout/giftcardcheckout.php index d6e27c517..e1fda0798 100644 --- a/library/checkout/giftcardcheckout.php +++ b/library/checkout/giftcardcheckout.php @@ -16,6 +16,10 @@ */ include_once _PS_MODULE_DIR_ . 'buckaroo3/library/checkout/checkout.php'; +if (!defined('_PS_VERSION_')) { + exit; +} + class GiftCardCheckout extends Checkout { /** diff --git a/library/checkout/giropaycheckout.php b/library/checkout/giropaycheckout.php index 582f729f5..6402bf7f3 100644 --- a/library/checkout/giropaycheckout.php +++ b/library/checkout/giropaycheckout.php @@ -16,6 +16,10 @@ */ include_once _PS_MODULE_DIR_ . 'buckaroo3/library/checkout/checkout.php'; +if (!defined('_PS_VERSION_')) { + exit; +} + class GiropayCheckout extends Checkout { final public function setCheckout() diff --git a/library/checkout/idealcheckout.php b/library/checkout/idealcheckout.php index f8773d170..2cda27968 100644 --- a/library/checkout/idealcheckout.php +++ b/library/checkout/idealcheckout.php @@ -16,6 +16,10 @@ */ include_once _PS_MODULE_DIR_ . 'buckaroo3/library/checkout/checkout.php'; +if (!defined('_PS_VERSION_')) { + exit; +} + class IDealCheckout extends Checkout { protected $customVars = []; diff --git a/library/checkout/idincheckout.php b/library/checkout/idincheckout.php index c133f5579..f1533b09b 100644 --- a/library/checkout/idincheckout.php +++ b/library/checkout/idincheckout.php @@ -16,6 +16,10 @@ */ include_once _PS_MODULE_DIR_ . 'buckaroo3/library/checkout/checkout.php'; +if (!defined('_PS_VERSION_')) { + exit; +} + class IdinCheckout extends Checkout { protected $customVars = []; diff --git a/library/checkout/in3checkout.php b/library/checkout/in3checkout.php index 1ae1c8180..78e95caa9 100644 --- a/library/checkout/in3checkout.php +++ b/library/checkout/in3checkout.php @@ -16,6 +16,10 @@ */ include_once _PS_MODULE_DIR_ . 'buckaroo3/library/checkout/checkout.php'; +if (!defined('_PS_VERSION_')) { + exit; +} + class In3Checkout extends Checkout { protected $customVars = []; diff --git a/library/checkout/in3oldcheckout.php b/library/checkout/in3oldcheckout.php index 693195242..b384d8eda 100644 --- a/library/checkout/in3oldcheckout.php +++ b/library/checkout/in3oldcheckout.php @@ -16,6 +16,10 @@ */ include_once _PS_MODULE_DIR_ . 'buckaroo3/library/checkout/checkout.php'; +if (!defined('_PS_VERSION_')) { + exit; +} + class In3OldCheckout extends Checkout { protected $customVars = []; diff --git a/library/checkout/kbccheckout.php b/library/checkout/kbccheckout.php index 30289d164..73611bb85 100644 --- a/library/checkout/kbccheckout.php +++ b/library/checkout/kbccheckout.php @@ -16,6 +16,10 @@ */ include_once _PS_MODULE_DIR_ . 'buckaroo3/library/checkout/checkout.php'; +if (!defined('_PS_VERSION_')) { + exit; +} + class KbcCheckout extends Checkout { final public function setCheckout() diff --git a/library/checkout/klarnacheckout.php b/library/checkout/klarnacheckout.php index 681cb8e80..8f1702b47 100644 --- a/library/checkout/klarnacheckout.php +++ b/library/checkout/klarnacheckout.php @@ -17,6 +17,10 @@ include_once _PS_MODULE_DIR_ . 'buckaroo3/library/checkout/checkout.php'; include_once _PS_MODULE_DIR_ . 'buckaroo3/classes/CarrierHandler.php'; +if (!defined('_PS_VERSION_')) { + exit; +} + class KlarnaCheckout extends Checkout { protected $customVars = []; @@ -47,17 +51,18 @@ public function getBillingAddress() { return $this->getAddress((array) $this->invoice_address); } + protected function getAddress(array $address): array { $address_components = $this->getAddressComponents($address['address1']); // phpcs:ignore - $address = array_merge($address,$address_components); + $address = array_merge($address, $address_components); return [ 'recipient' => [ 'firstName' => $address['firstname'], 'lastName' => $address['lastname'], - 'gender' => Tools::getValue('bpe_klarna_invoice_person_gender') === '1' ? 'male': 'female', - 'category' => 'B2C' + 'gender' => Tools::getValue('bpe_klarna_invoice_person_gender') === '1' ? 'male' : 'female', + 'category' => 'B2C', ], 'address' => [ 'street' => $address['street'], @@ -70,12 +75,13 @@ protected function getAddress(array $address): array 'email' => $this->customer->email, ]; } + public function getShippingAddress() { $carrierHandler = new CarrierHandler($this->cart); $sendCloudData = $carrierHandler->handleSendCloud() ?? []; - return $this->getAddress(array_merge((array) $this->shipping_address,$sendCloudData)); + return $this->getAddress(array_merge((array) $this->shipping_address, $sendCloudData)); } public function getArticles() diff --git a/library/checkout/mbwaycheckout.php b/library/checkout/mbwaycheckout.php index 737a7ffb1..ebe557061 100644 --- a/library/checkout/mbwaycheckout.php +++ b/library/checkout/mbwaycheckout.php @@ -16,6 +16,10 @@ */ include_once _PS_MODULE_DIR_ . 'buckaroo3/library/checkout/checkout.php'; +if (!defined('_PS_VERSION_')) { + exit; +} + class MbwayCheckout extends Checkout { protected $customVars = []; diff --git a/library/checkout/multibancocheckout.php b/library/checkout/multibancocheckout.php index 5330bcd37..8d2d95c78 100644 --- a/library/checkout/multibancocheckout.php +++ b/library/checkout/multibancocheckout.php @@ -16,6 +16,10 @@ */ include_once _PS_MODULE_DIR_ . 'buckaroo3/library/checkout/checkout.php'; +if (!defined('_PS_VERSION_')) { + exit; +} + class MultibancoCheckout extends Checkout { protected $customVars = []; diff --git a/library/checkout/paybybankcheckout.php b/library/checkout/paybybankcheckout.php index 9ddac4074..be24ad4e4 100644 --- a/library/checkout/paybybankcheckout.php +++ b/library/checkout/paybybankcheckout.php @@ -16,6 +16,10 @@ */ include_once _PS_MODULE_DIR_ . 'buckaroo3/library/checkout/checkout.php'; +if (!defined('_PS_VERSION_')) { + exit; +} + class PayByBankCheckout extends Checkout { protected $customVars = []; diff --git a/library/checkout/payconiqcheckout.php b/library/checkout/payconiqcheckout.php index 94afb592e..d26bb8ae5 100644 --- a/library/checkout/payconiqcheckout.php +++ b/library/checkout/payconiqcheckout.php @@ -16,6 +16,10 @@ */ include_once _PS_MODULE_DIR_ . 'buckaroo3/library/checkout/checkout.php'; +if (!defined('_PS_VERSION_')) { + exit; +} + class PayconiqCheckout extends Checkout { protected $customVars = []; diff --git a/library/checkout/paypalcheckout.php b/library/checkout/paypalcheckout.php index 540e92d08..d00916aa7 100644 --- a/library/checkout/paypalcheckout.php +++ b/library/checkout/paypalcheckout.php @@ -16,6 +16,10 @@ */ include_once _PS_MODULE_DIR_ . 'buckaroo3/library/checkout/checkout.php'; +if (!defined('_PS_VERSION_')) { + exit; +} + class PayPalCheckout extends Checkout { protected $customVars = []; @@ -73,6 +77,7 @@ protected function getAddress() } $state = new State((int) $this->invoice_address->id_state); + return [ 'street' => $address_components['street'], 'street2' => $address_components['house_number'], diff --git a/library/checkout/payperemailcheckout.php b/library/checkout/payperemailcheckout.php index c703ee765..6d2545e3d 100644 --- a/library/checkout/payperemailcheckout.php +++ b/library/checkout/payperemailcheckout.php @@ -16,6 +16,10 @@ */ include_once _PS_MODULE_DIR_ . 'buckaroo3/library/checkout/checkout.php'; +if (!defined('_PS_VERSION_')) { + exit; +} + class PayPerEmailCheckout extends Checkout { protected $customVars = []; diff --git a/library/checkout/przelewy24checkout.php b/library/checkout/przelewy24checkout.php index 8c2b75afb..d4d9e9f54 100644 --- a/library/checkout/przelewy24checkout.php +++ b/library/checkout/przelewy24checkout.php @@ -16,6 +16,10 @@ */ include_once _PS_MODULE_DIR_ . 'buckaroo3/library/checkout/checkout.php'; +if (!defined('_PS_VERSION_')) { + exit; +} + class Przelewy24Checkout extends Checkout { protected $customVars = []; diff --git a/library/checkout/sepadirectdebitcheckout.php b/library/checkout/sepadirectdebitcheckout.php index 4069407c5..1dd74ac7b 100644 --- a/library/checkout/sepadirectdebitcheckout.php +++ b/library/checkout/sepadirectdebitcheckout.php @@ -16,6 +16,10 @@ */ include_once _PS_MODULE_DIR_ . 'buckaroo3/library/checkout/checkout.php'; +if (!defined('_PS_VERSION_')) { + exit; +} + class SepaDirectdebitCheckout extends Checkout { protected $customVars = []; diff --git a/library/checkout/sofortbankingcheckout.php b/library/checkout/sofortbankingcheckout.php index d00bcbe66..13c8ce2c4 100644 --- a/library/checkout/sofortbankingcheckout.php +++ b/library/checkout/sofortbankingcheckout.php @@ -16,6 +16,10 @@ */ include_once _PS_MODULE_DIR_ . 'buckaroo3/library/checkout/checkout.php'; +if (!defined('_PS_VERSION_')) { + exit; +} + class SofortbankingCheckout extends Checkout { final public function setCheckout() diff --git a/library/checkout/tinkacheckout.php b/library/checkout/tinkacheckout.php index 899b48ac2..92e46571d 100644 --- a/library/checkout/tinkacheckout.php +++ b/library/checkout/tinkacheckout.php @@ -16,6 +16,10 @@ */ include_once _PS_MODULE_DIR_ . 'buckaroo3/library/checkout/checkout.php'; +if (!defined('_PS_VERSION_')) { + exit; +} + class TinkaCheckout extends Checkout { protected $customVars = []; diff --git a/library/checkout/transfercheckout.php b/library/checkout/transfercheckout.php index 50efa91f4..35a5257eb 100644 --- a/library/checkout/transfercheckout.php +++ b/library/checkout/transfercheckout.php @@ -16,6 +16,10 @@ */ include_once _PS_MODULE_DIR_ . 'buckaroo3/library/checkout/checkout.php'; +if (!defined('_PS_VERSION_')) { + exit; +} + class TransferCheckout extends Checkout { public function __construct($cart) diff --git a/library/checkout/trustlycheckout.php b/library/checkout/trustlycheckout.php index 841d3cd3f..2df77a200 100644 --- a/library/checkout/trustlycheckout.php +++ b/library/checkout/trustlycheckout.php @@ -16,6 +16,10 @@ */ include_once _PS_MODULE_DIR_ . 'buckaroo3/library/checkout/checkout.php'; +if (!defined('_PS_VERSION_')) { + exit; +} + class TrustlyCheckout extends Checkout { protected $customVars = []; diff --git a/library/checkout/wechatpaycheckout.php b/library/checkout/wechatpaycheckout.php index e015a4a84..10e75d7e7 100644 --- a/library/checkout/wechatpaycheckout.php +++ b/library/checkout/wechatpaycheckout.php @@ -16,6 +16,10 @@ */ include_once _PS_MODULE_DIR_ . 'buckaroo3/library/checkout/checkout.php'; +if (!defined('_PS_VERSION_')) { + exit; +} + class Wechatpaycheckout extends Checkout { protected $customVars = []; diff --git a/library/logger.php b/library/logger.php index 24191deb4..9ff0dfc8e 100644 --- a/library/logger.php +++ b/library/logger.php @@ -16,6 +16,10 @@ */ require_once dirname(__FILE__) . '/../api/corelogger.php'; +if (!defined('_PS_VERSION_')) { + exit; +} + class Logger extends CoreLogger { private $logtype = 'plugin'; diff --git a/src/Config/Config.php b/src/Config/Config.php index 5eca6d785..a15c8e999 100644 --- a/src/Config/Config.php +++ b/src/Config/Config.php @@ -17,6 +17,10 @@ namespace Buckaroo\PrestaShop\Src\Config; +if (!defined('_PS_VERSION_')) { + exit; +} + class Config { public const BUCKAROO_TEST = 'BUCKAROO_TEST'; diff --git a/src/Entity/BkConfiguration.php b/src/Entity/BkConfiguration.php index fba39606c..1bf62a846 100644 --- a/src/Entity/BkConfiguration.php +++ b/src/Entity/BkConfiguration.php @@ -19,6 +19,10 @@ use Doctrine\ORM\Mapping as ORM; +if (!defined('_PS_VERSION_')) { + exit; +} + /** * @ORM\Table(indexes={@ORM\Index(name="configurable_id", columns={"configurable_id"})}) * diff --git a/src/Entity/BkCreditcards.php b/src/Entity/BkCreditcards.php index a77f375d3..97c3c853a 100644 --- a/src/Entity/BkCreditcards.php +++ b/src/Entity/BkCreditcards.php @@ -19,6 +19,10 @@ use Doctrine\ORM\Mapping as ORM; +if (!defined('_PS_VERSION_')) { + exit; +} + /** * @ORM\Entity() */ diff --git a/src/Entity/BkGiftcards.php b/src/Entity/BkGiftcards.php index 17df57e74..230c512bf 100644 --- a/src/Entity/BkGiftcards.php +++ b/src/Entity/BkGiftcards.php @@ -19,6 +19,10 @@ use Doctrine\ORM\Mapping as ORM; +if (!defined('_PS_VERSION_')) { + exit; +} + /** * @ORM\Entity() */ diff --git a/src/Entity/BkOrdering.php b/src/Entity/BkOrdering.php index 0b863c186..7fe93de9d 100644 --- a/src/Entity/BkOrdering.php +++ b/src/Entity/BkOrdering.php @@ -19,6 +19,10 @@ use Doctrine\ORM\Mapping as ORM; +if (!defined('_PS_VERSION_')) { + exit; +} + /** * @ORM\Table(indexes={@ORM\Index(name="country", columns={"country_id"})}) * diff --git a/src/Entity/BkPaymentMethods.php b/src/Entity/BkPaymentMethods.php index ac985b648..5430d1288 100644 --- a/src/Entity/BkPaymentMethods.php +++ b/src/Entity/BkPaymentMethods.php @@ -19,6 +19,10 @@ use Doctrine\ORM\Mapping as ORM; +if (!defined('_PS_VERSION_')) { + exit; +} + /** * @ORM\Table(indexes={@ORM\Index(name="name", columns={"name"})}) * diff --git a/src/Entity/BkRefundRequest.php b/src/Entity/BkRefundRequest.php index 5543b5c5e..4aec6e523 100644 --- a/src/Entity/BkRefundRequest.php +++ b/src/Entity/BkRefundRequest.php @@ -19,6 +19,10 @@ use Doctrine\ORM\Mapping as ORM; +if (!defined('_PS_VERSION_')) { + exit; +} + /** * @ORM\Table(indexes={@ORM\Index(name="order_id_index", columns={"order_id"}), @ORM\Index(name="key_index", columns={"refund_key"})}) * diff --git a/src/Form/Modifier/ProductFormModifier.php b/src/Form/Modifier/ProductFormModifier.php index a94b31ba0..d4f419157 100644 --- a/src/Form/Modifier/ProductFormModifier.php +++ b/src/Form/Modifier/ProductFormModifier.php @@ -23,6 +23,10 @@ use PrestaShopBundle\Form\FormBuilderModifier; use Symfony\Component\Form\FormBuilderInterface; +if (!defined('_PS_VERSION_')) { + exit; +} + final class ProductFormModifier { /** @@ -40,7 +44,7 @@ public function __construct( } /** - * @param int|null $productId + * @param int|null $productId * @param FormBuilderInterface $productFormBuilder */ public function modify( diff --git a/src/Form/Type/IdinTabType.php b/src/Form/Type/IdinTabType.php index 648c5b8e4..cf7050f03 100644 --- a/src/Form/Type/IdinTabType.php +++ b/src/Form/Type/IdinTabType.php @@ -24,6 +24,10 @@ use Symfony\Component\OptionsResolver\OptionsResolver; use Symfony\Component\Translation\TranslatorInterface; +if (!defined('_PS_VERSION_')) { + exit; +} + class IdinTabType extends TranslatorAwareType { /** @@ -33,8 +37,8 @@ class IdinTabType extends TranslatorAwareType /** * @param TranslatorInterface $translator - * @param array $locales - * @param \Currency $defaultCurrency + * @param array $locales + * @param \Currency $defaultCurrency */ public function __construct( TranslatorInterface $translator, diff --git a/src/Install/DatabaseTableInstaller.php b/src/Install/DatabaseTableInstaller.php index b765c066d..a41520dec 100644 --- a/src/Install/DatabaseTableInstaller.php +++ b/src/Install/DatabaseTableInstaller.php @@ -17,6 +17,10 @@ namespace Buckaroo\PrestaShop\Src\Install; +if (!defined('_PS_VERSION_')) { + exit; +} + final class DatabaseTableInstaller implements InstallerInterface { public function install() diff --git a/src/Install/DatabaseTableUninstaller.php b/src/Install/DatabaseTableUninstaller.php index 346748429..4bab67701 100644 --- a/src/Install/DatabaseTableUninstaller.php +++ b/src/Install/DatabaseTableUninstaller.php @@ -17,6 +17,10 @@ namespace Buckaroo\PrestaShop\Src\Install; +if (!defined('_PS_VERSION_')) { + exit; +} + final class DatabaseTableUninstaller implements UninstallerInterface { public function uninstall(): bool diff --git a/src/Install/IdinColumnsRemover.php b/src/Install/IdinColumnsRemover.php index 793044439..2e6b536b4 100644 --- a/src/Install/IdinColumnsRemover.php +++ b/src/Install/IdinColumnsRemover.php @@ -17,6 +17,9 @@ namespace Buckaroo\PrestaShop\Src\Install; +if (!defined('_PS_VERSION_')) { + exit; +} final class IdinColumnsRemover implements UninstallerInterface { public function uninstall(): bool @@ -55,7 +58,7 @@ private function getCommands(): array /** * Check if a column exists in a table. * - * @param string $table Table name + * @param string $table Table name * @param string $column Column name * * @return bool diff --git a/src/Install/Installer.php b/src/Install/Installer.php index e858807f3..2e3b35370 100644 --- a/src/Install/Installer.php +++ b/src/Install/Installer.php @@ -22,6 +22,10 @@ use Buckaroo\PrestaShop\Src\Repository\RawOrderingRepository; use Buckaroo\PrestaShop\Src\Repository\RawPaymentMethodRepository; +if (!defined('_PS_VERSION_')) { + exit; +} + class Installer implements InstallerInterface { /** diff --git a/src/Install/InstallerInterface.php b/src/Install/InstallerInterface.php index 2a92aaa6a..9f714ba30 100644 --- a/src/Install/InstallerInterface.php +++ b/src/Install/InstallerInterface.php @@ -17,6 +17,9 @@ namespace Buckaroo\PrestaShop\Src\Install; +if (!defined('_PS_VERSION_')) { + exit; +} interface InstallerInterface { /** diff --git a/src/Install/Uninstaller.php b/src/Install/Uninstaller.php index 31c232df5..3250ff2b7 100644 --- a/src/Install/Uninstaller.php +++ b/src/Install/Uninstaller.php @@ -19,6 +19,9 @@ use Buckaroo\PrestaShop\Src\Config\Config; +if (!defined('_PS_VERSION_')) { + exit; +} class Uninstaller { /** diff --git a/src/Install/UninstallerInterface.php b/src/Install/UninstallerInterface.php index df5e9d3a1..e712e650d 100644 --- a/src/Install/UninstallerInterface.php +++ b/src/Install/UninstallerInterface.php @@ -17,6 +17,9 @@ namespace Buckaroo\PrestaShop\Src\Install; +if (!defined('_PS_VERSION_')) { + exit; +} interface UninstallerInterface { /** diff --git a/src/Refund/Admin/Provider.php b/src/Refund/Admin/Provider.php index 7a946300b..979a248e5 100644 --- a/src/Refund/Admin/Provider.php +++ b/src/Refund/Admin/Provider.php @@ -21,6 +21,10 @@ use Doctrine\ORM\EntityManager; use PrestaShopBundle\Service\Routing\Router; +if (!defined('_PS_VERSION_')) { + exit; +} + class Provider { /** @@ -58,7 +62,7 @@ public function get(\Order $order): array * Get available amount for refund * * @param \Order $order - * @param array $refunds + * @param array $refunds * * @return float */ diff --git a/src/Refund/Decorators/IssuePartialRefundHandler.php b/src/Refund/Decorators/IssuePartialRefundHandler.php index 8c3680c1f..3d8c4b329 100644 --- a/src/Refund/Decorators/IssuePartialRefundHandler.php +++ b/src/Refund/Decorators/IssuePartialRefundHandler.php @@ -22,6 +22,10 @@ use PrestaShop\PrestaShop\Core\Domain\Order\CommandHandler\IssuePartialRefundHandlerInterface; use Symfony\Component\HttpFoundation\Session\SessionInterface; +if (!defined('_PS_VERSION_')) { + exit; +} + class IssuePartialRefundHandler implements IssuePartialRefundHandlerInterface { public const KEY_SKIP_REFUND_REQUEST = 'buckaroo_skip_refund'; diff --git a/src/Refund/Decorators/IssueStandardRefundHandler.php b/src/Refund/Decorators/IssueStandardRefundHandler.php index a19d11723..44c3a1bec 100644 --- a/src/Refund/Decorators/IssueStandardRefundHandler.php +++ b/src/Refund/Decorators/IssueStandardRefundHandler.php @@ -21,6 +21,10 @@ use PrestaShop\PrestaShop\Core\Domain\Order\Command\IssueStandardRefundCommand; use PrestaShop\PrestaShop\Core\Domain\Order\CommandHandler\IssueStandardRefundHandlerInterface; +if (!defined('_PS_VERSION_')) { + exit; +} + class IssueStandardRefundHandler implements IssueStandardRefundHandlerInterface { /** diff --git a/src/Refund/Handler.php b/src/Refund/Handler.php index 4c117fb25..93dd57bf4 100644 --- a/src/Refund/Handler.php +++ b/src/Refund/Handler.php @@ -27,6 +27,10 @@ use PrestaShop\PrestaShop\Core\Domain\Order\Command\IssueStandardRefundCommand; use PrestaShop\PrestaShop\Core\Domain\Order\Exception\OrderException; +if (!defined('_PS_VERSION_')) { + exit; +} + class Handler { /** @@ -109,8 +113,8 @@ private function refund(\Order $order, \OrderPayment $payment, OrderRefundSummar */ private function getBuckarooPayments(\Order $order): array { - return array_filter($order->getOrderPayments(),function ($orderPayment){ - return strpos($orderPayment->payment_method,'Buckaroo Payments')!==false; + return array_filter($order->getOrderPayments(), function ($orderPayment) { + return strpos($orderPayment->payment_method, 'Buckaroo Payments') !== false; }); } @@ -129,7 +133,7 @@ private function getOrder($command): \Order /** * Get refund data * - * @param Order $order + * @param Order $order * @param IssueStandardRefundCommand|IssuePartialRefundCommand $command * * @return OrderRefundSummary diff --git a/src/Refund/OrderMessage.php b/src/Refund/OrderMessage.php index ea33aa9b8..fa0035197 100644 --- a/src/Refund/OrderMessage.php +++ b/src/Refund/OrderMessage.php @@ -17,6 +17,10 @@ namespace Buckaroo\PrestaShop\Src\Refund; +if (!defined('_PS_VERSION_')) { + exit; +} + class OrderMessage { public function add(\Order $order, string $description) diff --git a/src/Refund/OrderService.php b/src/Refund/OrderService.php index 84af86794..480243b4c 100644 --- a/src/Refund/OrderService.php +++ b/src/Refund/OrderService.php @@ -23,6 +23,10 @@ use PrestaShop\PrestaShop\Core\Domain\Order\VoucherRefundType; use Symfony\Component\HttpFoundation\Session\SessionInterface; +if (!defined('_PS_VERSION_')) { + exit; +} + class OrderService { /** @@ -74,7 +78,7 @@ public function refund(\Order $order, float $amount) * Determine refund data, products and shipping amounts * * @param \Order $order - * @param float $refundAmount + * @param float $refundAmount * * @return array */ @@ -157,7 +161,7 @@ private function getShippingAmountAvailable(\Order $order): float /** * Get product quantity and amount, full quantity or partial quantity * - * @param int $quantityAvailable + * @param int $quantityAvailable * @param float $unitPrice * @param float $remainingRefundAmount * @@ -200,7 +204,7 @@ protected function getProductQuantityAvailable(array $orderDetail): int * Get unit price for order item * * @param array $orderDetail - * @param bool $isTaxIncluded + * @param bool $isTaxIncluded * * @return float */ diff --git a/src/Refund/Payment/OrderPayment.php b/src/Refund/Payment/OrderPayment.php index e433ae70a..1b903c1ac 100644 --- a/src/Refund/Payment/OrderPayment.php +++ b/src/Refund/Payment/OrderPayment.php @@ -19,6 +19,10 @@ use OrderPayment as DefaultOrderPayment; +if (!defined('_PS_VERSION_')) { + exit; +} + class OrderPayment extends DefaultOrderPayment { public function __construct($id = null, $id_lang = null, $id_shop = null, $translator = null) diff --git a/src/Refund/Payment/Service.php b/src/Refund/Payment/Service.php index 2f9c80aa0..8e7772e82 100644 --- a/src/Refund/Payment/Service.php +++ b/src/Refund/Payment/Service.php @@ -17,6 +17,10 @@ namespace Buckaroo\PrestaShop\Src\Refund\Payment; +if (!defined('_PS_VERSION_')) { + exit; +} + class Service { public function create( diff --git a/src/Refund/Push/Handler.php b/src/Refund/Push/Handler.php index f153d7dd5..e6b8b0588 100644 --- a/src/Refund/Push/Handler.php +++ b/src/Refund/Push/Handler.php @@ -25,6 +25,10 @@ use Doctrine\ORM\EntityManager; use Symfony\Component\HttpFoundation\Request; +if (!defined('_PS_VERSION_')) { + exit; +} + class Handler { /** diff --git a/src/Refund/Request/AbstractBuilder.php b/src/Refund/Request/AbstractBuilder.php index 0a6095216..59766f223 100644 --- a/src/Refund/Request/AbstractBuilder.php +++ b/src/Refund/Request/AbstractBuilder.php @@ -20,6 +20,10 @@ use Buckaroo\Resources\Constants\IPProtocolVersion; use Symfony\Component\HttpFoundation\Request; +if (!defined('_PS_VERSION_')) { + exit; +} + abstract class AbstractBuilder { protected function buildCommon(\Order $order, \OrderPayment $payment, float $refundAmount): array diff --git a/src/Refund/Request/Builder.php b/src/Refund/Request/Builder.php index 38da17fce..f58fe4f13 100644 --- a/src/Refund/Request/Builder.php +++ b/src/Refund/Request/Builder.php @@ -20,6 +20,10 @@ use PrestaShop\PrestaShop\Adapter\Order\Refund\OrderRefundSummary; use Tax; +if (!defined('_PS_VERSION_')) { + exit; +} + class Builder extends AbstractBuilder { public function create(\Order $order, \OrderPayment $payment, OrderRefundSummary $refundSummary) diff --git a/src/Refund/Request/Handler.php b/src/Refund/Request/Handler.php index f1e8f2668..9c1d17fb8 100644 --- a/src/Refund/Request/Handler.php +++ b/src/Refund/Request/Handler.php @@ -21,12 +21,16 @@ use Buckaroo\PrestaShop\Classes\Config; use Buckaroo\Transaction\Response\TransactionResponse; +if (!defined('_PS_VERSION_')) { + exit; +} + class Handler { /** * Execute refund request * - * @param array $body + * @param array $body * @param string $method * * @return TransactionResponse diff --git a/src/Refund/Request/QuantityBasedBuilder.php b/src/Refund/Request/QuantityBasedBuilder.php index 51bdfcaad..d1ea42e86 100644 --- a/src/Refund/Request/QuantityBasedBuilder.php +++ b/src/Refund/Request/QuantityBasedBuilder.php @@ -17,6 +17,10 @@ namespace Buckaroo\PrestaShop\Src\Refund\Request; +if (!defined('_PS_VERSION_')) { + exit; +} + class QuantityBasedBuilder extends AbstractBuilder { public function create(\Order $order, \OrderPayment $payment, float $amount) diff --git a/src/Refund/Request/Response/Handler.php b/src/Refund/Request/Response/Handler.php index abbbe1d81..b4195261f 100644 --- a/src/Refund/Request/Response/Handler.php +++ b/src/Refund/Request/Response/Handler.php @@ -25,6 +25,10 @@ use Doctrine\ORM\EntityManager; use PrestaShop\PrestaShop\Core\Domain\Order\Exception\OrderException; +if (!defined('_PS_VERSION_')) { + exit; +} + class Handler { /** diff --git a/src/Refund/Settings.php b/src/Refund/Settings.php index a1e00fa99..05898e65f 100644 --- a/src/Refund/Settings.php +++ b/src/Refund/Settings.php @@ -17,6 +17,10 @@ namespace Buckaroo\PrestaShop\Src\Refund; +if (!defined('_PS_VERSION_')) { + exit; +} + class Settings { public const LABEL_REFUND_RESTOCK = 'BUCKAROO_REFUND_RESTOCK'; diff --git a/src/Refund/StatusService.php b/src/Refund/StatusService.php index 3ed8c0a35..db7ffabc8 100644 --- a/src/Refund/StatusService.php +++ b/src/Refund/StatusService.php @@ -20,6 +20,10 @@ use Buckaroo\PrestaShop\Src\Entity\BkRefundRequest; use Doctrine\ORM\EntityManager; +if (!defined('_PS_VERSION_')) { + exit; +} + class StatusService { /** diff --git a/src/Repository/BkConfigurationRepositoryInterface.php b/src/Repository/BkConfigurationRepositoryInterface.php index 7cda86d9c..6ab621321 100644 --- a/src/Repository/BkConfigurationRepositoryInterface.php +++ b/src/Repository/BkConfigurationRepositoryInterface.php @@ -1,7 +1,26 @@ + * @copyright Copyright (c) Buckaroo B.V. + * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) + */ namespace Buckaroo\PrestaShop\Src\Repository; +if (!defined('_PS_VERSION_')) { + exit; +} + interface BkConfigurationRepositoryInterface { public function getConfigArray(int $paymentId); diff --git a/src/Repository/BkPaymentMethodRepositoryInterface.php b/src/Repository/BkPaymentMethodRepositoryInterface.php index 5ab7039d0..f52e053cb 100644 --- a/src/Repository/BkPaymentMethodRepositoryInterface.php +++ b/src/Repository/BkPaymentMethodRepositoryInterface.php @@ -1,7 +1,26 @@ + * @copyright Copyright (c) Buckaroo B.V. + * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) + */ namespace Buckaroo\PrestaShop\Src\Repository; +if (!defined('_PS_VERSION_')) { + exit; +} + interface BkPaymentMethodRepositoryInterface { public function fetchMethodsFromDBWithConfig(int $isPaymentMethod): array; diff --git a/src/Repository/ConfigurationRepository.php b/src/Repository/ConfigurationRepository.php index d83d597e2..2eb755350 100644 --- a/src/Repository/ConfigurationRepository.php +++ b/src/Repository/ConfigurationRepository.php @@ -20,6 +20,10 @@ use Buckaroo\PrestaShop\Src\Entity\BkPaymentMethods; use Doctrine\ORM\EntityRepository; +if (!defined('_PS_VERSION_')) { + exit; +} + class ConfigurationRepository extends EntityRepository implements BkConfigurationRepositoryInterface { private function getPaymentMethodByName(string $name): ?BkPaymentMethods diff --git a/src/Repository/CountryRepository.php b/src/Repository/CountryRepository.php index 5ca88b44f..eaf6ef2e5 100644 --- a/src/Repository/CountryRepository.php +++ b/src/Repository/CountryRepository.php @@ -17,6 +17,10 @@ namespace Buckaroo\PrestaShop\Src\Repository; +if (!defined('_PS_VERSION_')) { + exit; +} + class CountryRepository { private function processCountries($countries) @@ -41,6 +45,7 @@ public function getCountries(): array { $langId = \Context::getContext()->language->id; $rawCountries = \Country::getCountries($langId, true); + return $this->processCountries($rawCountries); } diff --git a/src/Repository/OrderingRepository.php b/src/Repository/OrderingRepository.php index cf2242064..3d625746b 100644 --- a/src/Repository/OrderingRepository.php +++ b/src/Repository/OrderingRepository.php @@ -23,9 +23,13 @@ use Doctrine\ORM\EntityRepository; use Doctrine\ORM\Mapping\ClassMetadata; +if (!defined('_PS_VERSION_')) { + exit; +} class OrderingRepository extends EntityRepository { public CountryRepository $countryRepository; + public function __construct(EntityManagerInterface $em, ClassMetadata $class) { parent::__construct($em, $class); @@ -113,11 +117,10 @@ public function getOrdering(?string $isoCode2) if (empty($ordering)) { $paymentMethods = $paymentMethodRepo->findAll(); - $paymentMethodIds = array_map(function($paymentMethod) { + $paymentMethodIds = array_map(function ($paymentMethod) { return $paymentMethod->getId(); }, $paymentMethods); - }else{ - + } else { $paymentMethodIds = is_string($ordering->getValue()) ? json_decode($ordering->getValue(), true) : $ordering->getValue(); @@ -166,7 +169,7 @@ public function fetchPositions($countryId, $activeMethodIds) /** * Creates a new BkOrdering with given data. * - * @param int $countryId + * @param int $countryId * @param array $paymentMethodIds * * @return BkOrdering @@ -189,7 +192,7 @@ public function createNewOrdering(int $countryId, array $paymentMethodIds): BkOr * Add a payment method ID to the ordering if it doesn't exist. * * @param BkOrdering $ordering - * @param int $paymentMethodId + * @param int $paymentMethodId * * @return bool indicates whether the ordering was updated or not */ @@ -217,7 +220,7 @@ public function addPaymentMethodToOrdering(BkOrdering $ordering, int $paymentMet /** * Remove the given payment method ID from all orderings if it's not in the new country IDs. * - * @param int $paymentMethodId + * @param int $paymentMethodId * @param array $newCountryIds */ public function removePaymentMethodFromOrderings(int $paymentMethodId, array $newCountryIds): void diff --git a/src/Repository/PaymentMethodRepository.php b/src/Repository/PaymentMethodRepository.php index 8b2494b8a..109e1fc16 100644 --- a/src/Repository/PaymentMethodRepository.php +++ b/src/Repository/PaymentMethodRepository.php @@ -21,12 +21,17 @@ use Buckaroo\PrestaShop\Src\Entity\BkPaymentMethods; use Doctrine\ORM\EntityRepository; +if (!defined('_PS_VERSION_')) { + exit; +} + class PaymentMethodRepository extends EntityRepository implements BkPaymentMethodRepositoryInterface { /** * Fetches payment methods from the database. * * @param int $isPaymentMethod + * * @return array */ private function fetchPaymentMethods(int $isPaymentMethod): array @@ -56,7 +61,9 @@ public function fetchMethodsFromDBWithConfig(int $isPaymentMethod): array * Formats payment methods with configuration. * * @param array $results + * * @return array + * * @throws Exception */ private function formatPaymentMethods(array $results): array @@ -100,6 +107,7 @@ public function getActivePaymentMethods($countryId) * * @param array $results * @param int $countryId + * * @return array */ private function filterPaymentMethodsByCountry(array $results, int $countryId): array @@ -115,15 +123,16 @@ private function filterPaymentMethodsByCountry(array $results, int $countryId): $filteredResults[] = $result; } } + return $filteredResults; } - /** * Checks if a country is in the configuration. * * @param array|null $configValue * @param int $countryId + * * @return bool */ private function isCountryInConfig(?array $configValue, int $countryId): bool @@ -133,9 +142,11 @@ private function isCountryInConfig(?array $configValue, int $countryId): bool if (isset($country['id']) && $country['id'] == $countryId) { return true; } + return false; } } + return true; } } diff --git a/src/Repository/RawCreditCardsRepository.php b/src/Repository/RawCreditCardsRepository.php index 82c7a9b13..ca3d2cd86 100644 --- a/src/Repository/RawCreditCardsRepository.php +++ b/src/Repository/RawCreditCardsRepository.php @@ -17,6 +17,10 @@ namespace Buckaroo\PrestaShop\Src\Repository; +if (!defined('_PS_VERSION_')) { + exit; +} + class RawCreditCardsRepository { /** diff --git a/src/Repository/RawOrderingRepository.php b/src/Repository/RawOrderingRepository.php index c2f6613af..3a74df553 100644 --- a/src/Repository/RawOrderingRepository.php +++ b/src/Repository/RawOrderingRepository.php @@ -17,6 +17,9 @@ namespace Buckaroo\PrestaShop\Src\Repository; +if (!defined('_PS_VERSION_')) { + exit; +} class RawOrderingRepository { private $db; diff --git a/src/Repository/RawPaymentMethodRepository.php b/src/Repository/RawPaymentMethodRepository.php index 37de26ab7..524f9baaa 100644 --- a/src/Repository/RawPaymentMethodRepository.php +++ b/src/Repository/RawPaymentMethodRepository.php @@ -17,6 +17,10 @@ namespace Buckaroo\PrestaShop\Src\Repository; +if (!defined('_PS_VERSION_')) { + exit; +} + class RawPaymentMethodRepository { /** @@ -67,6 +71,7 @@ private function insertConfiguration(string $paymentName, int $paymentMethodId): case 'creditcard': case 'ideal': $configValue['show_issuers'] = true; + // no break case 'paybybank': $configValue['display_type'] = 'radio'; break; diff --git a/src/Service/BuckarooConfigService.php b/src/Service/BuckarooConfigService.php index fb03c3df3..e4381a821 100644 --- a/src/Service/BuckarooConfigService.php +++ b/src/Service/BuckarooConfigService.php @@ -24,6 +24,10 @@ use Doctrine\ORM\Exception\ORMException; use Doctrine\ORM\OptimisticLockException; +if (!defined('_PS_VERSION_')) { + exit; +} + class BuckarooConfigService { private $paymentMethodRepository; diff --git a/src/Service/BuckarooFeeService.php b/src/Service/BuckarooFeeService.php index 7f0f896a4..bb3a84c27 100644 --- a/src/Service/BuckarooFeeService.php +++ b/src/Service/BuckarooFeeService.php @@ -22,6 +22,10 @@ use Doctrine\ORM\EntityManager; use PrestaShop\PrestaShop\Core\Localization\Exception\LocalizationException; +if (!defined('_PS_VERSION_')) { + exit; +} + class BuckarooFeeService { private $paymentMethodRepository; diff --git a/src/Service/BuckarooIdinService.php b/src/Service/BuckarooIdinService.php index 3a2d756b4..fbf38bfef 100644 --- a/src/Service/BuckarooIdinService.php +++ b/src/Service/BuckarooIdinService.php @@ -17,6 +17,10 @@ namespace Buckaroo\PrestaShop\Src\Service; +if (!defined('_PS_VERSION_')) { + exit; +} + class BuckarooIdinService { public function checkCustomerIdExists($customerId) diff --git a/src/Service/BuckarooPaymentService.php b/src/Service/BuckarooPaymentService.php index 3419cd99e..14354ce70 100644 --- a/src/Service/BuckarooPaymentService.php +++ b/src/Service/BuckarooPaymentService.php @@ -27,6 +27,9 @@ use PrestaShop\PrestaShop\Core\Localization\Exception\LocalizationException; use PrestaShop\PrestaShop\Core\Payment\PaymentOption; +if (!defined('_PS_VERSION_')) { + exit; +} class BuckarooPaymentService { public $module; @@ -199,7 +202,7 @@ protected function isPaymentMethodAvailable($cart, $paymentMethod) /** * Check if payment is available by amount * - * @param float $cartTotal + * @param float $cartTotal * @param string $paymentMethod * * @return bool @@ -399,6 +402,7 @@ protected function getAddressById($id) return new \Address($id); } } + public function paymentMethodsWithFinancialWarning() { $buyNowPayLaterMethods = [ @@ -406,16 +410,17 @@ public function paymentMethodsWithFinancialWarning() 'afterpay', 'billink', 'in3', - 'tinka' + 'tinka', ]; $methods = []; - foreach ($buyNowPayLaterMethods as $method){ + foreach ($buyNowPayLaterMethods as $method) { $methods[$method] = $this->buckarooConfigService->getConfigValue($method, 'financial_warning') ?? true; } $methods['warningText'] = '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 %s. Door verder te gaan, accepteer je de Algemene Voorwaarden en bevestig je dat je de Privacyverklaring en Cookieverklaring hebt gelezen.'; + return $methods; } } diff --git a/src/Service/BuckarooSettingsService.php b/src/Service/BuckarooSettingsService.php index a7c99de41..8ae8918de 100644 --- a/src/Service/BuckarooSettingsService.php +++ b/src/Service/BuckarooSettingsService.php @@ -19,6 +19,10 @@ use Buckaroo\PrestaShop\Src\Config\Config; +if (!defined('_PS_VERSION_')) { + exit; +} + class BuckarooSettingsService { public function getSettings() diff --git a/upgrade/upgrade-3.4.php b/upgrade/upgrade-3.4.php index 7fc70ab4d..93ea9ed4a 100644 --- a/upgrade/upgrade-3.4.php +++ b/upgrade/upgrade-3.4.php @@ -14,6 +14,10 @@ * @copyright Copyright (c) Buckaroo B.V. * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ +if (!defined('_PS_VERSION_')) { + exit; +} + // Remove old payment methods // empayment Configuration::deleteByName('BUCKAROO_EMPAYMENT_ENABLED'); diff --git a/vendor/index.php b/vendor/index.php new file mode 100644 index 000000000..42d646f15 --- /dev/null +++ b/vendor/index.php @@ -0,0 +1,25 @@ + + * @copyright Copyright (c) Buckaroo B.V. + * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) + */ +header('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); +header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT'); + +header('Cache-Control: no-store, no-cache, must-revalidate'); +header('Cache-Control: post-check=0, pre-check=0', false); +header('Pragma: no-cache'); + +header('Location: ../../../../../'); +exit; diff --git a/views/css/buckaroo3.vue.css b/views/css/buckaroo3.vue.css index 0ee72f71d..8a3c7ed13 100644 --- a/views/css/buckaroo3.vue.css +++ b/views/css/buckaroo3.vue.css @@ -1 +1 @@ -@import"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap";@import"https://use.fontawesome.com/releases/v5.15.4/css/all.css";*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Open Sans,sans-serif;font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border-width:0!important}.absolute{position:absolute!important}.relative{position:relative!important}.-right-2{right:-.5rem!important}.-top-2{top:-.5rem!important}.left-1{left:.25rem!important}.right-3{right:.75rem!important}.top-2{top:.5rem!important}.z-10{z-index:10!important}.m-1{margin:.25rem!important}.my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-8{margin-top:2rem!important;margin-bottom:2rem!important}.mr-1{margin-right:.25rem!important}.mr-2{margin-right:.5rem!important}.mt-1{margin-top:.25rem!important}.\!block,.block{display:block!important}.inline-block{display:inline-block!important}.inline{display:inline!important}.flex{display:flex!important}.inline-flex{display:inline-flex!important}.grid{display:grid!important}.h-0{height:0px!important}.h-12{height:3rem!important}.h-16{height:4rem!important}.h-4{height:1rem!important}.h-5{height:1.25rem!important}.h-6{height:1.5rem!important}.h-9{height:2.25rem!important}.h-\[640px\]{height:640px!important}.h-full{height:100%!important}.max-h-96{max-height:24rem!important}.\!w-full{width:100%!important}.w-1\/2{width:50%!important}.w-1\/3{width:33.333333%!important}.w-11{width:2.75rem!important}.w-12{width:3rem!important}.w-36{width:9rem!important}.w-4{width:1rem!important}.w-5{width:1.25rem!important}.w-6{width:1.5rem!important}.w-8{width:2rem!important}.w-9{width:2.25rem!important}.w-full{width:100%!important}.flex-1{flex:1 1 0%!important}.origin-\[0\]{transform-origin:0!important}.-translate-y-4{--tw-translate-y: -1rem !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.translate-y-0{--tw-translate-y: 0px !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.translate-y-3{--tw-translate-y: .75rem !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.scale-75{--tw-scale-x: .75 !important;--tw-scale-y: .75 !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite!important}.cursor-move{cursor:move!important}.cursor-not-allowed{cursor:not-allowed!important}.cursor-pointer{cursor:pointer!important}.select-none{-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important}.\!appearance-none,.appearance-none{-webkit-appearance:none!important;-moz-appearance:none!important;appearance:none!important}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.flex-col{flex-direction:column!important}.flex-wrap{flex-wrap:wrap!important}.items-end{align-items:flex-end!important}.items-center{align-items:center!important}.justify-end{justify-content:flex-end!important}.justify-center{justify-content:center!important}.justify-between{justify-content:space-between!important}.gap-4{gap:1rem!important}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0 !important;margin-right:calc(.25rem * var(--tw-space-x-reverse))!important;margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))!important}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0 !important;margin-right:calc(.5rem * var(--tw-space-x-reverse))!important;margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))!important}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0 !important;margin-right:calc(.75rem * var(--tw-space-x-reverse))!important;margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))!important}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0 !important;margin-right:calc(1rem * var(--tw-space-x-reverse))!important;margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))!important}.space-x-5>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0 !important;margin-right:calc(1.25rem * var(--tw-space-x-reverse))!important;margin-left:calc(1.25rem * calc(1 - var(--tw-space-x-reverse)))!important}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0 !important;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(.25rem * var(--tw-space-y-reverse))!important}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0 !important;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(.5rem * var(--tw-space-y-reverse))!important}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0 !important;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(.75rem * var(--tw-space-y-reverse))!important}.space-y-5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0 !important;margin-top:calc(1.25rem * calc(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(1.25rem * var(--tw-space-y-reverse))!important}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0 !important;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))!important;border-bottom-width:calc(1px * var(--tw-divide-y-reverse))!important}.overflow-hidden{overflow:hidden!important}.overflow-y-auto{overflow-y:auto!important}.overflow-y-scroll{overflow-y:scroll!important}.\!rounded-lg{border-radius:.5rem!important}.rounded{border-radius:.25rem!important}.rounded-full{border-radius:9999px!important}.rounded-lg{border-radius:.5rem!important}.rounded-xl{border-radius:.75rem!important}.rounded-l{border-top-left-radius:.25rem!important;border-bottom-left-radius:.25rem!important}.rounded-r{border-top-right-radius:.25rem!important;border-bottom-right-radius:.25rem!important}.\!border,.border{border-width:1px!important}.border-0{border-width:0px!important}.border-2{border-width:2px!important}.border-b{border-bottom-width:1px!important}.border-l-2{border-left-width:2px!important}.border-r{border-right-width:1px!important}.border-none{border-style:none!important}.\!border-gray-300{--tw-border-opacity: 1 !important;border-color:rgb(209 213 219 / var(--tw-border-opacity))!important}.border-blue-500{--tw-border-opacity: 1 !important;border-color:rgb(59 130 246 / var(--tw-border-opacity))!important}.border-gray-100{--tw-border-opacity: 1 !important;border-color:rgb(243 244 246 / var(--tw-border-opacity))!important}.border-gray-300{--tw-border-opacity: 1 !important;border-color:rgb(209 213 219 / var(--tw-border-opacity))!important}.border-gray-400{--tw-border-opacity: 1 !important;border-color:rgb(156 163 175 / var(--tw-border-opacity))!important}.border-green-400{--tw-border-opacity: 1 !important;border-color:rgb(74 222 128 / var(--tw-border-opacity))!important}.border-green-600{--tw-border-opacity: 1 !important;border-color:rgb(22 163 74 / var(--tw-border-opacity))!important}.border-orange-400{--tw-border-opacity: 1 !important;border-color:rgb(251 146 60 / var(--tw-border-opacity))!important}.border-orange-500{--tw-border-opacity: 1 !important;border-color:rgb(249 115 22 / var(--tw-border-opacity))!important}.border-red-400{--tw-border-opacity: 1 !important;border-color:rgb(248 113 113 / var(--tw-border-opacity))!important}.\!bg-transparent{background-color:transparent!important}.bg-black{--tw-bg-opacity: 1 !important;background-color:rgb(0 0 0 / var(--tw-bg-opacity))!important}.bg-blue-500{--tw-bg-opacity: 1 !important;background-color:rgb(59 130 246 / var(--tw-bg-opacity))!important}.bg-fifthly{--tw-bg-opacity: 1 !important;background-color:rgb(52 49 63 / var(--tw-bg-opacity))!important}.bg-gray-100{--tw-bg-opacity: 1 !important;background-color:rgb(243 244 246 / var(--tw-bg-opacity))!important}.bg-gray-200{--tw-bg-opacity: 1 !important;background-color:rgb(229 231 235 / var(--tw-bg-opacity))!important}.bg-gray-50{--tw-bg-opacity: 1 !important;background-color:rgb(249 250 251 / var(--tw-bg-opacity))!important}.bg-gray-800{--tw-bg-opacity: 1 !important;background-color:rgb(31 41 55 / var(--tw-bg-opacity))!important}.bg-green-500{--tw-bg-opacity: 1 !important;background-color:rgb(34 197 94 / var(--tw-bg-opacity))!important}.bg-primary{--tw-bg-opacity: 1 !important;background-color:rgb(39 58 138 / var(--tw-bg-opacity))!important}.bg-secondary{--tw-bg-opacity: 1 !important;background-color:rgb(75 113 252 / var(--tw-bg-opacity))!important}.bg-sixthly{--tw-bg-opacity: 1 !important;background-color:rgb(42 40 51 / var(--tw-bg-opacity))!important}.bg-thirdly{--tw-bg-opacity: 1 !important;background-color:rgb(251 251 252 / var(--tw-bg-opacity))!important}.bg-transparent{background-color:transparent!important}.bg-white{--tw-bg-opacity: 1 !important;background-color:rgb(255 255 255 / var(--tw-bg-opacity))!important}.bg-yellow-400{--tw-bg-opacity: 1 !important;background-color:rgb(250 204 21 / var(--tw-bg-opacity))!important}.bg-yellow-500{--tw-bg-opacity: 1 !important;background-color:rgb(234 179 8 / var(--tw-bg-opacity))!important}.p-1{padding:.25rem!important}.p-2{padding:.5rem!important}.p-2\.5{padding:.625rem!important}.p-3{padding:.75rem!important}.p-5{padding:1.25rem!important}.\!px-2{padding-left:.5rem!important;padding-right:.5rem!important}.\!px-2\.5{padding-left:.625rem!important;padding-right:.625rem!important}.px-1{padding-left:.25rem!important;padding-right:.25rem!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.px-2\.5{padding-left:.625rem!important;padding-right:.625rem!important}.px-3{padding-left:.75rem!important;padding-right:.75rem!important}.px-5{padding-left:1.25rem!important;padding-right:1.25rem!important}.px-8{padding-left:2rem!important;padding-right:2rem!important}.py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-3{padding-top:.75rem!important;padding-bottom:.75rem!important}.py-5{padding-top:1.25rem!important;padding-bottom:1.25rem!important}.\!pb-2{padding-bottom:.5rem!important}.\!pb-2\.5{padding-bottom:.625rem!important}.\!pt-4{padding-top:1rem!important}.pb-2{padding-bottom:.5rem!important}.pb-2\.5{padding-bottom:.625rem!important}.pb-5{padding-bottom:1.25rem!important}.pt-4{padding-top:1rem!important}.text-left{text-align:left!important}.text-center{text-align:center!important}.\!text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-2xl{font-size:1.5rem!important;line-height:2rem!important}.text-\[10px\]{font-size:10px!important}.text-\[8px\]{font-size:8px!important}.text-lg{font-size:1.125rem!important;line-height:1.75rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-xl{font-size:1.25rem!important;line-height:1.75rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-bold{font-weight:700!important}.font-semibold{font-weight:600!important}.uppercase{text-transform:uppercase!important}.leading-loose{line-height:2!important}.leading-relaxed{line-height:1.625!important}.\!text-gray-900{--tw-text-opacity: 1 !important;color:rgb(17 24 39 / var(--tw-text-opacity))!important}.text-blue-500{--tw-text-opacity: 1 !important;color:rgb(59 130 246 / var(--tw-text-opacity))!important}.text-eightly{--tw-text-opacity: 1 !important;color:rgb(215 214 217 / var(--tw-text-opacity))!important}.text-fourthly{--tw-text-opacity: 1 !important;color:rgb(236 179 144 / var(--tw-text-opacity))!important}.text-gray-400{--tw-text-opacity: 1 !important;color:rgb(156 163 175 / var(--tw-text-opacity))!important}.text-gray-500{--tw-text-opacity: 1 !important;color:rgb(107 114 128 / var(--tw-text-opacity))!important}.text-gray-600{--tw-text-opacity: 1 !important;color:rgb(75 85 99 / var(--tw-text-opacity))!important}.text-gray-700{--tw-text-opacity: 1 !important;color:rgb(55 65 81 / var(--tw-text-opacity))!important}.text-gray-800{--tw-text-opacity: 1 !important;color:rgb(31 41 55 / var(--tw-text-opacity))!important}.text-gray-900{--tw-text-opacity: 1 !important;color:rgb(17 24 39 / var(--tw-text-opacity))!important}.text-green-500{--tw-text-opacity: 1 !important;color:rgb(34 197 94 / var(--tw-text-opacity))!important}.text-green-600{--tw-text-opacity: 1 !important;color:rgb(22 163 74 / var(--tw-text-opacity))!important}.text-green-700{--tw-text-opacity: 1 !important;color:rgb(21 128 61 / var(--tw-text-opacity))!important}.text-orange-500{--tw-text-opacity: 1 !important;color:rgb(249 115 22 / var(--tw-text-opacity))!important}.text-primary{--tw-text-opacity: 1 !important;color:rgb(39 58 138 / var(--tw-text-opacity))!important}.text-red-500{--tw-text-opacity: 1 !important;color:rgb(239 68 68 / var(--tw-text-opacity))!important}.text-red-600{--tw-text-opacity: 1 !important;color:rgb(220 38 38 / var(--tw-text-opacity))!important}.text-white{--tw-text-opacity: 1 !important;color:rgb(255 255 255 / var(--tw-text-opacity))!important}.opacity-0{opacity:0!important}.opacity-100{opacity:1!important}.opacity-25{opacity:.25!important}.opacity-75{opacity:.75!important}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1) !important;--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1) !important;--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.drop-shadow{--tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / .1)) drop-shadow(0 1px 1px rgb(0 0 0 / .06)) !important;filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.duration-150{transition-duration:.15s!important}.duration-200{transition-duration:.2s!important}.duration-300{transition-duration:.3s!important}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)!important}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)!important}.toast-title{font-weight:700}.toast-message{-ms-word-wrap:break-word;word-wrap:break-word}.toast-message a,.toast-message label{color:#fff}.toast-message a:hover{color:#ccc;text-decoration:none}.toast-close-button{position:relative;right:-.3em;top:-.3em;float:right;font-size:20px;font-weight:700;color:#fff;-webkit-text-shadow:0 1px 0 #fff;text-shadow:0 1px 0 #fff;opacity:.8;-ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=80);filter:alpha(opacity=80);line-height:1}.toast-close-button:focus,.toast-close-button:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.4;-ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=40);filter:alpha(opacity=40)}.rtl .toast-close-button{left:-.3em;float:left;right:.3em}button.toast-close-button{padding:0;cursor:pointer;background:0 0;border:0;-webkit-appearance:none}.toast-top-center{top:0;right:0;width:100%}.toast-bottom-center{bottom:0;right:0;width:100%}.toast-top-full-width{top:0;right:0;width:100%}.toast-bottom-full-width{bottom:0;right:0;width:100%}.toast-top-left{top:12px;left:12px}.toast-top-right{top:12px;right:12px}.toast-bottom-right{right:12px;bottom:12px}.toast-bottom-left{bottom:12px;left:12px}#toast-container{position:fixed;z-index:999999;pointer-events:none}#toast-container *{box-sizing:border-box}#toast-container>div{position:relative;pointer-events:auto;overflow:hidden;margin:0 0 6px;padding:15px 15px 15px 50px;width:300px;border-radius:3px;background-position:15px center;background-repeat:no-repeat;box-shadow:0 0 12px #999;color:#fff;opacity:.8;-ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=80);filter:alpha(opacity=80)}#toast-container>div.rtl{direction:rtl;padding:15px 50px 15px 15px;background-position:right 15px center}#toast-container>div:hover{box-shadow:0 0 12px #000;opacity:1;-ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100);filter:alpha(opacity=100);cursor:pointer}#toast-container>.toast-info{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGwSURBVEhLtZa9SgNBEMc9sUxxRcoUKSzSWIhXpFMhhYWFhaBg4yPYiWCXZxBLERsLRS3EQkEfwCKdjWJAwSKCgoKCcudv4O5YLrt7EzgXhiU3/4+b2ckmwVjJSpKkQ6wAi4gwhT+z3wRBcEz0yjSseUTrcRyfsHsXmD0AmbHOC9Ii8VImnuXBPglHpQ5wwSVM7sNnTG7Za4JwDdCjxyAiH3nyA2mtaTJufiDZ5dCaqlItILh1NHatfN5skvjx9Z38m69CgzuXmZgVrPIGE763Jx9qKsRozWYw6xOHdER+nn2KkO+Bb+UV5CBN6WC6QtBgbRVozrahAbmm6HtUsgtPC19tFdxXZYBOfkbmFJ1VaHA1VAHjd0pp70oTZzvR+EVrx2Ygfdsq6eu55BHYR8hlcki+n+kERUFG8BrA0BwjeAv2M8WLQBtcy+SD6fNsmnB3AlBLrgTtVW1c2QN4bVWLATaIS60J2Du5y1TiJgjSBvFVZgTmwCU+dAZFoPxGEEs8nyHC9Bwe2GvEJv2WXZb0vjdyFT4Cxk3e/kIqlOGoVLwwPevpYHT+00T+hWwXDf4AJAOUqWcDhbwAAAAASUVORK5CYII=)!important}#toast-container>.toast-error{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAHOSURBVEhLrZa/SgNBEMZzh0WKCClSCKaIYOED+AAKeQQLG8HWztLCImBrYadgIdY+gIKNYkBFSwu7CAoqCgkkoGBI/E28PdbLZmeDLgzZzcx83/zZ2SSXC1j9fr+I1Hq93g2yxH4iwM1vkoBWAdxCmpzTxfkN2RcyZNaHFIkSo10+8kgxkXIURV5HGxTmFuc75B2RfQkpxHG8aAgaAFa0tAHqYFfQ7Iwe2yhODk8+J4C7yAoRTWI3w/4klGRgR4lO7Rpn9+gvMyWp+uxFh8+H+ARlgN1nJuJuQAYvNkEnwGFck18Er4q3egEc/oO+mhLdKgRyhdNFiacC0rlOCbhNVz4H9FnAYgDBvU3QIioZlJFLJtsoHYRDfiZoUyIxqCtRpVlANq0EU4dApjrtgezPFad5S19Wgjkc0hNVnuF4HjVA6C7QrSIbylB+oZe3aHgBsqlNqKYH48jXyJKMuAbiyVJ8KzaB3eRc0pg9VwQ4niFryI68qiOi3AbjwdsfnAtk0bCjTLJKr6mrD9g8iq/S/B81hguOMlQTnVyG40wAcjnmgsCNESDrjme7wfftP4P7SP4N3CJZdvzoNyGq2c/HWOXJGsvVg+RA/k2MC/wN6I2YA2Pt8GkAAAAASUVORK5CYII=)!important}#toast-container>.toast-success{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADsSURBVEhLY2AYBfQMgf///3P8+/evAIgvA/FsIF+BavYDDWMBGroaSMMBiE8VC7AZDrIFaMFnii3AZTjUgsUUWUDA8OdAH6iQbQEhw4HyGsPEcKBXBIC4ARhex4G4BsjmweU1soIFaGg/WtoFZRIZdEvIMhxkCCjXIVsATV6gFGACs4Rsw0EGgIIH3QJYJgHSARQZDrWAB+jawzgs+Q2UO49D7jnRSRGoEFRILcdmEMWGI0cm0JJ2QpYA1RDvcmzJEWhABhD/pqrL0S0CWuABKgnRki9lLseS7g2AlqwHWQSKH4oKLrILpRGhEQCw2LiRUIa4lwAAAABJRU5ErkJggg==)!important}#toast-container>.toast-warning{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGYSURBVEhL5ZSvTsNQFMbXZGICMYGYmJhAQIJAICYQPAACiSDB8AiICQQJT4CqQEwgJvYASAQCiZiYmJhAIBATCARJy+9rTsldd8sKu1M0+dLb057v6/lbq/2rK0mS/TRNj9cWNAKPYIJII7gIxCcQ51cvqID+GIEX8ASG4B1bK5gIZFeQfoJdEXOfgX4QAQg7kH2A65yQ87lyxb27sggkAzAuFhbbg1K2kgCkB1bVwyIR9m2L7PRPIhDUIXgGtyKw575yz3lTNs6X4JXnjV+LKM/m3MydnTbtOKIjtz6VhCBq4vSm3ncdrD2lk0VgUXSVKjVDJXJzijW1RQdsU7F77He8u68koNZTz8Oz5yGa6J3H3lZ0xYgXBK2QymlWWA+RWnYhskLBv2vmE+hBMCtbA7KX5drWyRT/2JsqZ2IvfB9Y4bWDNMFbJRFmC9E74SoS0CqulwjkC0+5bpcV1CZ8NMej4pjy0U+doDQsGyo1hzVJttIjhQ7GnBtRFN1UarUlH8F3xict+HY07rEzoUGPlWcjRFRr4/gChZgc3ZL2d8oAAAAASUVORK5CYII=)!important}#toast-container.toast-bottom-center>div,#toast-container.toast-top-center>div{width:300px;margin-left:auto;margin-right:auto}#toast-container.toast-bottom-full-width>div,#toast-container.toast-top-full-width>div{width:96%;margin-left:auto;margin-right:auto}.toast{background-color:#030303}.toast-success{background-color:#51a351}.toast-error{background-color:#bd362f}.toast-info{background-color:#2f96b4}.toast-warning{background-color:#f89406}.toast-progress{position:absolute;left:0;bottom:0;height:4px;background-color:#000;opacity:.4;-ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=40);filter:alpha(opacity=40)}@media all and (max-width: 240px){#toast-container>div{padding:8px 8px 8px 50px;width:11em}#toast-container>div.rtl{padding:8px 50px 8px 8px}#toast-container .toast-close-button{right:-.2em;top:-.2em}#toast-container .rtl .toast-close-button{left:-.2em;right:.2em}}@media all and (min-width: 241px) and (max-width: 480px){#toast-container>div{padding:8px 8px 8px 50px;width:18em}#toast-container>div.rtl{padding:8px 50px 8px 8px}#toast-container .toast-close-button{right:-.2em;top:-.2em}#toast-container .rtl .toast-close-button{left:-.2em;right:.2em}}@media all and (min-width: 481px) and (max-width: 768px){#toast-container>div{padding:15px 15px 15px 50px;width:25em}#toast-container>div.rtl{padding:15px 50px 15px 15px}}h2.h2-title{margin:0}.after\:absolute:after{content:var(--tw-content)!important;position:absolute!important}.after\:left-\[2px\]:after{content:var(--tw-content)!important;left:2px!important}.after\:top-\[2px\]:after{content:var(--tw-content)!important;top:2px!important}.after\:h-5:after{content:var(--tw-content)!important;height:1.25rem!important}.after\:w-5:after{content:var(--tw-content)!important;width:1.25rem!important}.after\:rounded-full:after{content:var(--tw-content)!important;border-radius:9999px!important}.after\:border:after{content:var(--tw-content)!important;border-width:1px!important}.after\:border-gray-300:after{content:var(--tw-content)!important;--tw-border-opacity: 1 !important;border-color:rgb(209 213 219 / var(--tw-border-opacity))!important}.after\:bg-white:after{content:var(--tw-content)!important;--tw-bg-opacity: 1 !important;background-color:rgb(255 255 255 / var(--tw-bg-opacity))!important}.after\:transition-all:after{content:var(--tw-content)!important;transition-property:all!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.after\:content-\[\'\'\]:after{--tw-content: "" !important;content:var(--tw-content)!important}.hover\:bg-black:hover{--tw-bg-opacity: 1 !important;background-color:rgb(0 0 0 / var(--tw-bg-opacity))!important}.hover\:bg-blue-500:hover{--tw-bg-opacity: 1 !important;background-color:rgb(59 130 246 / var(--tw-bg-opacity))!important}.hover\:bg-blue-600:hover{--tw-bg-opacity: 1 !important;background-color:rgb(37 99 235 / var(--tw-bg-opacity))!important}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1 !important;background-color:rgb(243 244 246 / var(--tw-bg-opacity))!important}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1 !important;background-color:rgb(229 231 235 / var(--tw-bg-opacity))!important}.hover\:bg-gray-800:hover{--tw-bg-opacity: 1 !important;background-color:rgb(31 41 55 / var(--tw-bg-opacity))!important}.hover\:bg-green-400:hover{--tw-bg-opacity: 1 !important;background-color:rgb(74 222 128 / var(--tw-bg-opacity))!important}.hover\:bg-green-500:hover{--tw-bg-opacity: 1 !important;background-color:rgb(34 197 94 / var(--tw-bg-opacity))!important}.hover\:bg-orange-500:hover{--tw-bg-opacity: 1 !important;background-color:rgb(249 115 22 / var(--tw-bg-opacity))!important}.hover\:bg-primary:hover{--tw-bg-opacity: 1 !important;background-color:rgb(39 58 138 / var(--tw-bg-opacity))!important}.hover\:bg-red-400:hover{--tw-bg-opacity: 1 !important;background-color:rgb(248 113 113 / var(--tw-bg-opacity))!important}.hover\:bg-secondary:hover{--tw-bg-opacity: 1 !important;background-color:rgb(75 113 252 / var(--tw-bg-opacity))!important}.hover\:bg-seventhly:hover{--tw-bg-opacity: 1 !important;background-color:rgb(68 65 79 / var(--tw-bg-opacity))!important}.hover\:bg-sixthly:hover{--tw-bg-opacity: 1 !important;background-color:rgb(42 40 51 / var(--tw-bg-opacity))!important}.hover\:bg-transparent:hover{background-color:transparent!important}.hover\:bg-yellow-400:hover{--tw-bg-opacity: 1 !important;background-color:rgb(250 204 21 / var(--tw-bg-opacity))!important}.hover\:bg-yellow-500:hover{--tw-bg-opacity: 1 !important;background-color:rgb(234 179 8 / var(--tw-bg-opacity))!important}.hover\:font-bold:hover{font-weight:700!important}.hover\:text-gray-700:hover{--tw-text-opacity: 1 !important;color:rgb(55 65 81 / var(--tw-text-opacity))!important}.hover\:text-red-500:hover{--tw-text-opacity: 1 !important;color:rgb(239 68 68 / var(--tw-text-opacity))!important}.hover\:text-white:hover{--tw-text-opacity: 1 !important;color:rgb(255 255 255 / var(--tw-text-opacity))!important}.hover\:shadow-lg:hover{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1) !important;--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.focus\:border-primary:focus{--tw-border-opacity: 1 !important;border-color:rgb(39 58 138 / var(--tw-border-opacity))!important}.focus\:bg-transparent:focus{background-color:transparent!important}.focus\:outline-none:focus{outline:2px solid transparent!important;outline-offset:2px!important}.focus\:ring-0:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important;--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)!important}.peer:checked~.peer-checked\:bg-primary{--tw-bg-opacity: 1 !important;background-color:rgb(39 58 138 / var(--tw-bg-opacity))!important}.peer:checked~.peer-checked\:after\:translate-x-full:after{content:var(--tw-content)!important;--tw-translate-x: 100% !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.peer:checked~.peer-checked\:after\:border-white:after{content:var(--tw-content)!important;--tw-border-opacity: 1 !important;border-color:rgb(255 255 255 / var(--tw-border-opacity))!important}.peer:-moz-placeholder-shown~.peer-placeholder-shown\:top-1\/2{top:50%!important}.peer:placeholder-shown~.peer-placeholder-shown\:top-1\/2{top:50%!important}.peer:-moz-placeholder-shown~.peer-placeholder-shown\:top-8{top:2rem!important}.peer:placeholder-shown~.peer-placeholder-shown\:top-8{top:2rem!important}.peer:-moz-placeholder-shown~.peer-placeholder-shown\:-translate-y-1\/2{--tw-translate-y: -50% !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.peer:placeholder-shown~.peer-placeholder-shown\:-translate-y-1\/2{--tw-translate-y: -50% !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.peer:-moz-placeholder-shown~.peer-placeholder-shown\:scale-100{--tw-scale-x: 1 !important;--tw-scale-y: 1 !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.peer:placeholder-shown~.peer-placeholder-shown\:scale-100{--tw-scale-x: 1 !important;--tw-scale-y: 1 !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.peer:focus~.peer-focus\:top-2{top:.5rem!important}.peer:focus~.peer-focus\:-translate-y-4{--tw-translate-y: -1rem !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.peer:focus~.peer-focus\:scale-75{--tw-scale-x: .75 !important;--tw-scale-y: .75 !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.peer:focus~.peer-focus\:px-2{padding-left:.5rem!important;padding-right:.5rem!important}.peer:focus~.peer-focus\:text-primary{--tw-text-opacity: 1 !important;color:rgb(39 58 138 / var(--tw-text-opacity))!important}.peer:focus~.peer-focus\:outline-none{outline:2px solid transparent!important;outline-offset:2px!important}.peer:focus~.peer-focus\:ring-4{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important;--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)!important}.peer:focus~.peer-focus\:ring-secondary{--tw-ring-opacity: 1 !important;--tw-ring-color: rgb(75 113 252 / var(--tw-ring-opacity)) !important}@media (prefers-color-scheme: dark){.dark\:border-gray-600{--tw-border-opacity: 1 !important;border-color:rgb(75 85 99 / var(--tw-border-opacity))!important}}@media (min-width: 768px){.md\:block{display:block!important}.md\:inline{display:inline!important}.md\:flex{display:flex!important}.md\:h-0{height:0px!important}.md\:h-full{height:100%!important}.md\:min-h-screen{min-height:100vh!important}.md\:w-1\/3{width:33.333333%!important}.md\:w-1\/4{width:25%!important}.md\:w-1\/5{width:20%!important}.md\:w-3\/4{width:75%!important}.md\:w-4\/5{width:80%!important}.md\:w-52{width:13rem!important}.md\:w-80{width:20rem!important}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}.md\:flex-row{flex-direction:row!important}.md\:flex-col{flex-direction:column!important}.md\:space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0 !important;margin-right:calc(.25rem * var(--tw-space-x-reverse))!important;margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))!important}.md\:space-x-5>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0 !important;margin-right:calc(1.25rem * var(--tw-space-x-reverse))!important;margin-left:calc(1.25rem * calc(1 - var(--tw-space-x-reverse)))!important}.md\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0 !important;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(0px * var(--tw-space-y-reverse))!important}.md\:border-l-2{border-left-width:2px!important}.md\:border-primary{--tw-border-opacity: 1 !important;border-color:rgb(39 58 138 / var(--tw-border-opacity))!important}.md\:p-5{padding:1.25rem!important}.md\:p-8{padding:2rem!important}.md\:px-6{padding-left:1.5rem!important;padding-right:1.5rem!important}.md\:px-8{padding-left:2rem!important;padding-right:2rem!important}.md\:py-5{padding-top:1.25rem!important;padding-bottom:1.25rem!important}.md\:text-left{text-align:left!important}.md\:text-2xl{font-size:1.5rem!important;line-height:2rem!important}.md\:text-base{font-size:1rem!important;line-height:1.5rem!important}.md\:text-sm{font-size:.875rem!important;line-height:1.25rem!important}}@media (min-width: 1024px){.lg\:flex{display:flex!important}.lg\:h-full{height:100%!important}.lg\:w-1\/5{width:20%!important}.lg\:w-4\/5{width:80%!important}.lg\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))!important}}img[data-v-99887011]{width:100px}.hidden-radio:checked+label[data-v-99887011]{border:2px solid #007bff;padding:5px;border-radius:8px}.radio-image-wrapper[data-v-99887011]{position:relative}.radio-image-wrapper label[data-v-99887011]{transition:border .2s}.hidden-radio:checked+label[data-v-99887011]:after{content:"\2713";position:absolute;top:0;right:0;background-color:#007bff;color:#fff;padding:2px 6px;border-radius:50%}.hidden-radio[data-v-99887011]{position:absolute;opacity:0;width:0;height:0;margin:0;padding:0;z-index:-1} +@import"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap";@import"https://use.fontawesome.com/releases/v5.15.4/css/all.css";*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Open Sans,sans-serif;font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border-width:0!important}.absolute{position:absolute!important}.relative{position:relative!important}.-right-2{right:-.5rem!important}.-top-2{top:-.5rem!important}.left-1{left:.25rem!important}.right-3{right:.75rem!important}.top-2{top:.5rem!important}.z-10{z-index:10!important}.m-1{margin:.25rem!important}.my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-8{margin-top:2rem!important;margin-bottom:2rem!important}.mr-1{margin-right:.25rem!important}.mr-2{margin-right:.5rem!important}.mt-1{margin-top:.25rem!important}.\!block,.block{display:block!important}.inline-block{display:inline-block!important}.inline{display:inline!important}.flex{display:flex!important}.inline-flex{display:inline-flex!important}.grid{display:grid!important}.h-0{height:0px!important}.h-12{height:3rem!important}.h-16{height:4rem!important}.h-4{height:1rem!important}.h-5{height:1.25rem!important}.h-6{height:1.5rem!important}.h-9{height:2.25rem!important}.h-\[640px\]{height:640px!important}.h-full{height:100%!important}.max-h-96{max-height:24rem!important}.\!w-full{width:100%!important}.w-1\/2{width:50%!important}.w-1\/3{width:33.333333%!important}.w-11{width:2.75rem!important}.w-12{width:3rem!important}.w-36{width:9rem!important}.w-4{width:1rem!important}.w-5{width:1.25rem!important}.w-6{width:1.5rem!important}.w-8{width:2rem!important}.w-9{width:2.25rem!important}.w-full{width:100%!important}.flex-1{flex:1 1 0%!important}.origin-\[0\]{transform-origin:0!important}.-translate-y-4{--tw-translate-y: -1rem !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.translate-y-0{--tw-translate-y: 0px !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.translate-y-3{--tw-translate-y: .75rem !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.scale-75{--tw-scale-x: .75 !important;--tw-scale-y: .75 !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite!important}.cursor-move{cursor:move!important}.cursor-not-allowed{cursor:not-allowed!important}.cursor-pointer{cursor:pointer!important}.select-none{-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important}.\!appearance-none,.appearance-none{-webkit-appearance:none!important;-moz-appearance:none!important;appearance:none!important}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.flex-col{flex-direction:column!important}.flex-wrap{flex-wrap:wrap!important}.items-end{align-items:flex-end!important}.items-center{align-items:center!important}.justify-end{justify-content:flex-end!important}.justify-center{justify-content:center!important}.justify-between{justify-content:space-between!important}.gap-4{gap:1rem!important}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0 !important;margin-right:calc(.25rem * var(--tw-space-x-reverse))!important;margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))!important}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0 !important;margin-right:calc(.5rem * var(--tw-space-x-reverse))!important;margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))!important}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0 !important;margin-right:calc(.75rem * var(--tw-space-x-reverse))!important;margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))!important}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0 !important;margin-right:calc(1rem * var(--tw-space-x-reverse))!important;margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))!important}.space-x-5>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0 !important;margin-right:calc(1.25rem * var(--tw-space-x-reverse))!important;margin-left:calc(1.25rem * calc(1 - var(--tw-space-x-reverse)))!important}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0 !important;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(.25rem * var(--tw-space-y-reverse))!important}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0 !important;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(.5rem * var(--tw-space-y-reverse))!important}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0 !important;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(.75rem * var(--tw-space-y-reverse))!important}.space-y-5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0 !important;margin-top:calc(1.25rem * calc(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(1.25rem * var(--tw-space-y-reverse))!important}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0 !important;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))!important;border-bottom-width:calc(1px * var(--tw-divide-y-reverse))!important}.overflow-hidden{overflow:hidden!important}.overflow-y-auto{overflow-y:auto!important}.overflow-y-scroll{overflow-y:scroll!important}.\!rounded-lg{border-radius:.5rem!important}.rounded{border-radius:.25rem!important}.rounded-full{border-radius:9999px!important}.rounded-lg{border-radius:.5rem!important}.rounded-xl{border-radius:.75rem!important}.rounded-l{border-top-left-radius:.25rem!important;border-bottom-left-radius:.25rem!important}.rounded-r{border-top-right-radius:.25rem!important;border-bottom-right-radius:.25rem!important}.\!border,.border{border-width:1px!important}.border-0{border-width:0px!important}.border-2{border-width:2px!important}.border-b{border-bottom-width:1px!important}.border-l-2{border-left-width:2px!important}.border-r{border-right-width:1px!important}.border-none{border-style:none!important}.\!border-gray-300{--tw-border-opacity: 1 !important;border-color:rgb(209 213 219 / var(--tw-border-opacity))!important}.border-blue-500{--tw-border-opacity: 1 !important;border-color:rgb(59 130 246 / var(--tw-border-opacity))!important}.border-gray-100{--tw-border-opacity: 1 !important;border-color:rgb(243 244 246 / var(--tw-border-opacity))!important}.border-gray-300{--tw-border-opacity: 1 !important;border-color:rgb(209 213 219 / var(--tw-border-opacity))!important}.border-gray-400{--tw-border-opacity: 1 !important;border-color:rgb(156 163 175 / var(--tw-border-opacity))!important}.border-green-400{--tw-border-opacity: 1 !important;border-color:rgb(74 222 128 / var(--tw-border-opacity))!important}.border-green-600{--tw-border-opacity: 1 !important;border-color:rgb(22 163 74 / var(--tw-border-opacity))!important}.border-orange-400{--tw-border-opacity: 1 !important;border-color:rgb(251 146 60 / var(--tw-border-opacity))!important}.border-orange-500{--tw-border-opacity: 1 !important;border-color:rgb(249 115 22 / var(--tw-border-opacity))!important}.border-red-400{--tw-border-opacity: 1 !important;border-color:rgb(248 113 113 / var(--tw-border-opacity))!important}.\!bg-transparent{background-color:transparent!important}.bg-black{--tw-bg-opacity: 1 !important;background-color:rgb(0 0 0 / var(--tw-bg-opacity))!important}.bg-blue-500{--tw-bg-opacity: 1 !important;background-color:rgb(59 130 246 / var(--tw-bg-opacity))!important}.bg-fifthly{--tw-bg-opacity: 1 !important;background-color:rgb(52 49 63 / var(--tw-bg-opacity))!important}.bg-gray-100{--tw-bg-opacity: 1 !important;background-color:rgb(243 244 246 / var(--tw-bg-opacity))!important}.bg-gray-200{--tw-bg-opacity: 1 !important;background-color:rgb(229 231 235 / var(--tw-bg-opacity))!important}.bg-gray-50{--tw-bg-opacity: 1 !important;background-color:rgb(249 250 251 / var(--tw-bg-opacity))!important}.bg-gray-800{--tw-bg-opacity: 1 !important;background-color:rgb(31 41 55 / var(--tw-bg-opacity))!important}.bg-green-500{--tw-bg-opacity: 1 !important;background-color:rgb(34 197 94 / var(--tw-bg-opacity))!important}.bg-primary{--tw-bg-opacity: 1 !important;background-color:rgb(39 58 138 / var(--tw-bg-opacity))!important}.bg-secondary{--tw-bg-opacity: 1 !important;background-color:rgb(75 113 252 / var(--tw-bg-opacity))!important}.bg-sixthly{--tw-bg-opacity: 1 !important;background-color:rgb(42 40 51 / var(--tw-bg-opacity))!important}.bg-thirdly{--tw-bg-opacity: 1 !important;background-color:rgb(251 251 252 / var(--tw-bg-opacity))!important}.bg-transparent{background-color:transparent!important}.bg-white{--tw-bg-opacity: 1 !important;background-color:rgb(255 255 255 / var(--tw-bg-opacity))!important}.bg-yellow-400{--tw-bg-opacity: 1 !important;background-color:rgb(250 204 21 / var(--tw-bg-opacity))!important}.bg-yellow-500{--tw-bg-opacity: 1 !important;background-color:rgb(234 179 8 / var(--tw-bg-opacity))!important}.p-1{padding:.25rem!important}.p-2{padding:.5rem!important}.p-2\.5{padding:.625rem!important}.p-3{padding:.75rem!important}.p-5{padding:1.25rem!important}.\!px-2{padding-left:.5rem!important;padding-right:.5rem!important}.\!px-2\.5{padding-left:.625rem!important;padding-right:.625rem!important}.px-1{padding-left:.25rem!important;padding-right:.25rem!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.px-2\.5{padding-left:.625rem!important;padding-right:.625rem!important}.px-3{padding-left:.75rem!important;padding-right:.75rem!important}.px-5{padding-left:1.25rem!important;padding-right:1.25rem!important}.px-8{padding-left:2rem!important;padding-right:2rem!important}.py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-3{padding-top:.75rem!important;padding-bottom:.75rem!important}.py-5{padding-top:1.25rem!important;padding-bottom:1.25rem!important}.\!pb-2{padding-bottom:.5rem!important}.\!pb-2\.5{padding-bottom:.625rem!important}.\!pt-4{padding-top:1rem!important}.pb-2{padding-bottom:.5rem!important}.pb-2\.5{padding-bottom:.625rem!important}.pb-5{padding-bottom:1.25rem!important}.pt-4{padding-top:1rem!important}.text-left{text-align:left!important}.text-center{text-align:center!important}.\!text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-2xl{font-size:1.5rem!important;line-height:2rem!important}.text-\[10px\]{font-size:10px!important}.text-\[8px\]{font-size:8px!important}.text-lg{font-size:1.125rem!important;line-height:1.75rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-xl{font-size:1.25rem!important;line-height:1.75rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-bold{font-weight:700!important}.font-semibold{font-weight:600!important}.uppercase{text-transform:uppercase!important}.leading-loose{line-height:2!important}.leading-relaxed{line-height:1.625!important}.\!text-gray-900{--tw-text-opacity: 1 !important;color:rgb(17 24 39 / var(--tw-text-opacity))!important}.text-blue-500{--tw-text-opacity: 1 !important;color:rgb(59 130 246 / var(--tw-text-opacity))!important}.text-eightly{--tw-text-opacity: 1 !important;color:rgb(215 214 217 / var(--tw-text-opacity))!important}.text-fourthly{--tw-text-opacity: 1 !important;color:rgb(236 179 144 / var(--tw-text-opacity))!important}.text-gray-400{--tw-text-opacity: 1 !important;color:rgb(156 163 175 / var(--tw-text-opacity))!important}.text-gray-500{--tw-text-opacity: 1 !important;color:rgb(107 114 128 / var(--tw-text-opacity))!important}.text-gray-600{--tw-text-opacity: 1 !important;color:rgb(75 85 99 / var(--tw-text-opacity))!important}.text-gray-700{--tw-text-opacity: 1 !important;color:rgb(55 65 81 / var(--tw-text-opacity))!important}.text-gray-800{--tw-text-opacity: 1 !important;color:rgb(31 41 55 / var(--tw-text-opacity))!important}.text-gray-900{--tw-text-opacity: 1 !important;color:rgb(17 24 39 / var(--tw-text-opacity))!important}.text-green-500{--tw-text-opacity: 1 !important;color:rgb(34 197 94 / var(--tw-text-opacity))!important}.text-green-600{--tw-text-opacity: 1 !important;color:rgb(22 163 74 / var(--tw-text-opacity))!important}.text-green-700{--tw-text-opacity: 1 !important;color:rgb(21 128 61 / var(--tw-text-opacity))!important}.text-orange-500{--tw-text-opacity: 1 !important;color:rgb(249 115 22 / var(--tw-text-opacity))!important}.text-primary{--tw-text-opacity: 1 !important;color:rgb(39 58 138 / var(--tw-text-opacity))!important}.text-red-500{--tw-text-opacity: 1 !important;color:rgb(239 68 68 / var(--tw-text-opacity))!important}.text-red-600{--tw-text-opacity: 1 !important;color:rgb(220 38 38 / var(--tw-text-opacity))!important}.text-white{--tw-text-opacity: 1 !important;color:rgb(255 255 255 / var(--tw-text-opacity))!important}.opacity-0{opacity:0!important}.opacity-100{opacity:1!important}.opacity-25{opacity:.25!important}.opacity-75{opacity:.75!important}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1) !important;--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1) !important;--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.drop-shadow{--tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / .1)) drop-shadow(0 1px 1px rgb(0 0 0 / .06)) !important;filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.duration-150{transition-duration:.15s!important}.duration-200{transition-duration:.2s!important}.duration-300{transition-duration:.3s!important}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)!important}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)!important}.toast-title{font-weight:700}.toast-message{-ms-word-wrap:break-word;word-wrap:break-word}.toast-message a,.toast-message label{color:#fff}.toast-message a:hover{color:#ccc;text-decoration:none}.toast-close-button{position:relative;right:-.3em;top:-.3em;float:right;font-size:20px;font-weight:700;color:#fff;-webkit-text-shadow:0 1px 0 #fff;text-shadow:0 1px 0 #fff;opacity:.8;-ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=80);filter:alpha(opacity=80);line-height:1}.toast-close-button:focus,.toast-close-button:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.4;-ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=40);filter:alpha(opacity=40)}.rtl .toast-close-button{left:-.3em;float:left;right:.3em}button.toast-close-button{padding:0;cursor:pointer;background:0 0;border:0;-webkit-appearance:none}.toast-top-center{top:0;right:0;width:100%}.toast-bottom-center{bottom:0;right:0;width:100%}.toast-top-full-width{top:0;right:0;width:100%}.toast-bottom-full-width{bottom:0;right:0;width:100%}.toast-top-left{top:12px;left:12px}.toast-top-right{top:12px;right:12px}.toast-bottom-right{right:12px;bottom:12px}.toast-bottom-left{bottom:12px;left:12px}#toast-container{position:fixed;z-index:999999;pointer-events:none}#toast-container *{box-sizing:border-box}#toast-container>div{position:relative;pointer-events:auto;overflow:hidden;margin:0 0 6px;padding:15px 15px 15px 50px;width:300px;border-radius:3px;background-position:15px center;background-repeat:no-repeat;box-shadow:0 0 12px #999;color:#fff;opacity:.8;-ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=80);filter:alpha(opacity=80)}#toast-container>div.rtl{direction:rtl;padding:15px 50px 15px 15px;background-position:right 15px center}#toast-container>div:hover{box-shadow:0 0 12px #000;opacity:1;-ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100);filter:alpha(opacity=100);cursor:pointer}#toast-container>.toast-info{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGwSURBVEhLtZa9SgNBEMc9sUxxRcoUKSzSWIhXpFMhhYWFhaBg4yPYiWCXZxBLERsLRS3EQkEfwCKdjWJAwSKCgoKCcudv4O5YLrt7EzgXhiU3/4+b2ckmwVjJSpKkQ6wAi4gwhT+z3wRBcEz0yjSseUTrcRyfsHsXmD0AmbHOC9Ii8VImnuXBPglHpQ5wwSVM7sNnTG7Za4JwDdCjxyAiH3nyA2mtaTJufiDZ5dCaqlItILh1NHatfN5skvjx9Z38m69CgzuXmZgVrPIGE763Jx9qKsRozWYw6xOHdER+nn2KkO+Bb+UV5CBN6WC6QtBgbRVozrahAbmm6HtUsgtPC19tFdxXZYBOfkbmFJ1VaHA1VAHjd0pp70oTZzvR+EVrx2Ygfdsq6eu55BHYR8hlcki+n+kERUFG8BrA0BwjeAv2M8WLQBtcy+SD6fNsmnB3AlBLrgTtVW1c2QN4bVWLATaIS60J2Du5y1TiJgjSBvFVZgTmwCU+dAZFoPxGEEs8nyHC9Bwe2GvEJv2WXZb0vjdyFT4Cxk3e/kIqlOGoVLwwPevpYHT+00T+hWwXDf4AJAOUqWcDhbwAAAAASUVORK5CYII=)!important}#toast-container>.toast-error{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAHOSURBVEhLrZa/SgNBEMZzh0WKCClSCKaIYOED+AAKeQQLG8HWztLCImBrYadgIdY+gIKNYkBFSwu7CAoqCgkkoGBI/E28PdbLZmeDLgzZzcx83/zZ2SSXC1j9fr+I1Hq93g2yxH4iwM1vkoBWAdxCmpzTxfkN2RcyZNaHFIkSo10+8kgxkXIURV5HGxTmFuc75B2RfQkpxHG8aAgaAFa0tAHqYFfQ7Iwe2yhODk8+J4C7yAoRTWI3w/4klGRgR4lO7Rpn9+gvMyWp+uxFh8+H+ARlgN1nJuJuQAYvNkEnwGFck18Er4q3egEc/oO+mhLdKgRyhdNFiacC0rlOCbhNVz4H9FnAYgDBvU3QIioZlJFLJtsoHYRDfiZoUyIxqCtRpVlANq0EU4dApjrtgezPFad5S19Wgjkc0hNVnuF4HjVA6C7QrSIbylB+oZe3aHgBsqlNqKYH48jXyJKMuAbiyVJ8KzaB3eRc0pg9VwQ4niFryI68qiOi3AbjwdsfnAtk0bCjTLJKr6mrD9g8iq/S/B81hguOMlQTnVyG40wAcjnmgsCNESDrjme7wfftP4P7SP4N3CJZdvzoNyGq2c/HWOXJGsvVg+RA/k2MC/wN6I2YA2Pt8GkAAAAASUVORK5CYII=)!important}#toast-container>.toast-success{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADsSURBVEhLY2AYBfQMgf///3P8+/evAIgvA/FsIF+BavYDDWMBGroaSMMBiE8VC7AZDrIFaMFnii3AZTjUgsUUWUDA8OdAH6iQbQEhw4HyGsPEcKBXBIC4ARhex4G4BsjmweU1soIFaGg/WtoFZRIZdEvIMhxkCCjXIVsATV6gFGACs4Rsw0EGgIIH3QJYJgHSARQZDrWAB+jawzgs+Q2UO49D7jnRSRGoEFRILcdmEMWGI0cm0JJ2QpYA1RDvcmzJEWhABhD/pqrL0S0CWuABKgnRki9lLseS7g2AlqwHWQSKH4oKLrILpRGhEQCw2LiRUIa4lwAAAABJRU5ErkJggg==)!important}#toast-container>.toast-warning{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGYSURBVEhL5ZSvTsNQFMbXZGICMYGYmJhAQIJAICYQPAACiSDB8AiICQQJT4CqQEwgJvYASAQCiZiYmJhAIBATCARJy+9rTsldd8sKu1M0+dLb057v6/lbq/2rK0mS/TRNj9cWNAKPYIJII7gIxCcQ51cvqID+GIEX8ASG4B1bK5gIZFeQfoJdEXOfgX4QAQg7kH2A65yQ87lyxb27sggkAzAuFhbbg1K2kgCkB1bVwyIR9m2L7PRPIhDUIXgGtyKw575yz3lTNs6X4JXnjV+LKM/m3MydnTbtOKIjtz6VhCBq4vSm3ncdrD2lk0VgUXSVKjVDJXJzijW1RQdsU7F77He8u68koNZTz8Oz5yGa6J3H3lZ0xYgXBK2QymlWWA+RWnYhskLBv2vmE+hBMCtbA7KX5drWyRT/2JsqZ2IvfB9Y4bWDNMFbJRFmC9E74SoS0CqulwjkC0+5bpcV1CZ8NMej4pjy0U+doDQsGyo1hzVJttIjhQ7GnBtRFN1UarUlH8F3xict+HY07rEzoUGPlWcjRFRr4/gChZgc3ZL2d8oAAAAASUVORK5CYII=)!important}#toast-container.toast-bottom-center>div,#toast-container.toast-top-center>div{width:300px;margin-left:auto;margin-right:auto}#toast-container.toast-bottom-full-width>div,#toast-container.toast-top-full-width>div{width:96%;margin-left:auto;margin-right:auto}.toast{background-color:#030303}.toast-success{background-color:#51a351}.toast-error{background-color:#bd362f}.toast-info{background-color:#2f96b4}.toast-warning{background-color:#f89406}.toast-progress{position:absolute;left:0;bottom:0;height:4px;background-color:#000;opacity:.4;-ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=40);filter:alpha(opacity=40)}@media all and (max-width: 240px){#toast-container>div{padding:8px 8px 8px 50px;width:11em}#toast-container>div.rtl{padding:8px 50px 8px 8px}#toast-container .toast-close-button{right:-.2em;top:-.2em}#toast-container .rtl .toast-close-button{left:-.2em;right:.2em}}@media all and (min-width: 241px) and (max-width: 480px){#toast-container>div{padding:8px 8px 8px 50px;width:18em}#toast-container>div.rtl{padding:8px 50px 8px 8px}#toast-container .toast-close-button{right:-.2em;top:-.2em}#toast-container .rtl .toast-close-button{left:-.2em;right:.2em}}@media all and (min-width: 481px) and (max-width: 768px){#toast-container>div{padding:15px 15px 15px 50px;width:25em}#toast-container>div.rtl{padding:15px 50px 15px 15px}}h2.h2-title{margin:0}.after\:absolute:after{content:var(--tw-content)!important;position:absolute!important}.after\:left-\[2px\]:after{content:var(--tw-content)!important;left:2px!important}.after\:top-\[2px\]:after{content:var(--tw-content)!important;top:2px!important}.after\:h-5:after{content:var(--tw-content)!important;height:1.25rem!important}.after\:w-5:after{content:var(--tw-content)!important;width:1.25rem!important}.after\:rounded-full:after{content:var(--tw-content)!important;border-radius:9999px!important}.after\:border:after{content:var(--tw-content)!important;border-width:1px!important}.after\:border-gray-300:after{content:var(--tw-content)!important;--tw-border-opacity: 1 !important;border-color:rgb(209 213 219 / var(--tw-border-opacity))!important}.after\:bg-white:after{content:var(--tw-content)!important;--tw-bg-opacity: 1 !important;background-color:rgb(255 255 255 / var(--tw-bg-opacity))!important}.after\:transition-all:after{content:var(--tw-content)!important;transition-property:all!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.after\:content-\[\'\'\]:after{--tw-content: "" !important;content:var(--tw-content)!important}.hover\:bg-black:hover{--tw-bg-opacity: 1 !important;background-color:rgb(0 0 0 / var(--tw-bg-opacity))!important}.hover\:bg-blue-500:hover{--tw-bg-opacity: 1 !important;background-color:rgb(59 130 246 / var(--tw-bg-opacity))!important}.hover\:bg-blue-600:hover{--tw-bg-opacity: 1 !important;background-color:rgb(37 99 235 / var(--tw-bg-opacity))!important}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1 !important;background-color:rgb(243 244 246 / var(--tw-bg-opacity))!important}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1 !important;background-color:rgb(229 231 235 / var(--tw-bg-opacity))!important}.hover\:bg-gray-800:hover{--tw-bg-opacity: 1 !important;background-color:rgb(31 41 55 / var(--tw-bg-opacity))!important}.hover\:bg-green-400:hover{--tw-bg-opacity: 1 !important;background-color:rgb(74 222 128 / var(--tw-bg-opacity))!important}.hover\:bg-green-500:hover{--tw-bg-opacity: 1 !important;background-color:rgb(34 197 94 / var(--tw-bg-opacity))!important}.hover\:bg-orange-500:hover{--tw-bg-opacity: 1 !important;background-color:rgb(249 115 22 / var(--tw-bg-opacity))!important}.hover\:bg-primary:hover{--tw-bg-opacity: 1 !important;background-color:rgb(39 58 138 / var(--tw-bg-opacity))!important}.hover\:bg-red-400:hover{--tw-bg-opacity: 1 !important;background-color:rgb(248 113 113 / var(--tw-bg-opacity))!important}.hover\:bg-secondary:hover{--tw-bg-opacity: 1 !important;background-color:rgb(75 113 252 / var(--tw-bg-opacity))!important}.hover\:bg-seventhly:hover{--tw-bg-opacity: 1 !important;background-color:rgb(68 65 79 / var(--tw-bg-opacity))!important}.hover\:bg-sixthly:hover{--tw-bg-opacity: 1 !important;background-color:rgb(42 40 51 / var(--tw-bg-opacity))!important}.hover\:bg-transparent:hover{background-color:transparent!important}.hover\:bg-yellow-400:hover{--tw-bg-opacity: 1 !important;background-color:rgb(250 204 21 / var(--tw-bg-opacity))!important}.hover\:bg-yellow-500:hover{--tw-bg-opacity: 1 !important;background-color:rgb(234 179 8 / var(--tw-bg-opacity))!important}.hover\:font-bold:hover{font-weight:700!important}.hover\:text-gray-700:hover{--tw-text-opacity: 1 !important;color:rgb(55 65 81 / var(--tw-text-opacity))!important}.hover\:text-red-500:hover{--tw-text-opacity: 1 !important;color:rgb(239 68 68 / var(--tw-text-opacity))!important}.hover\:text-white:hover{--tw-text-opacity: 1 !important;color:rgb(255 255 255 / var(--tw-text-opacity))!important}.hover\:shadow-lg:hover{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1) !important;--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.focus\:border-primary:focus{--tw-border-opacity: 1 !important;border-color:rgb(39 58 138 / var(--tw-border-opacity))!important}.focus\:bg-transparent:focus{background-color:transparent!important}.focus\:outline-none:focus{outline:2px solid transparent!important;outline-offset:2px!important}.focus\:ring-0:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important;--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)!important}.peer:checked~.peer-checked\:bg-primary{--tw-bg-opacity: 1 !important;background-color:rgb(39 58 138 / var(--tw-bg-opacity))!important}.peer:checked~.peer-checked\:after\:translate-x-full:after{content:var(--tw-content)!important;--tw-translate-x: 100% !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.peer:checked~.peer-checked\:after\:border-white:after{content:var(--tw-content)!important;--tw-border-opacity: 1 !important;border-color:rgb(255 255 255 / var(--tw-border-opacity))!important}.peer:-moz-placeholder-shown~.peer-placeholder-shown\:top-1\/2{top:50%!important}.peer:placeholder-shown~.peer-placeholder-shown\:top-1\/2{top:50%!important}.peer:-moz-placeholder-shown~.peer-placeholder-shown\:top-8{top:2rem!important}.peer:placeholder-shown~.peer-placeholder-shown\:top-8{top:2rem!important}.peer:-moz-placeholder-shown~.peer-placeholder-shown\:-translate-y-1\/2{--tw-translate-y: -50% !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.peer:placeholder-shown~.peer-placeholder-shown\:-translate-y-1\/2{--tw-translate-y: -50% !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.peer:-moz-placeholder-shown~.peer-placeholder-shown\:scale-100{--tw-scale-x: 1 !important;--tw-scale-y: 1 !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.peer:placeholder-shown~.peer-placeholder-shown\:scale-100{--tw-scale-x: 1 !important;--tw-scale-y: 1 !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.peer:focus~.peer-focus\:top-2{top:.5rem!important}.peer:focus~.peer-focus\:-translate-y-4{--tw-translate-y: -1rem !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.peer:focus~.peer-focus\:scale-75{--tw-scale-x: .75 !important;--tw-scale-y: .75 !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.peer:focus~.peer-focus\:px-2{padding-left:.5rem!important;padding-right:.5rem!important}.peer:focus~.peer-focus\:text-primary{--tw-text-opacity: 1 !important;color:rgb(39 58 138 / var(--tw-text-opacity))!important}.peer:focus~.peer-focus\:outline-none{outline:2px solid transparent!important;outline-offset:2px!important}.peer:focus~.peer-focus\:ring-4{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important;--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)!important}.peer:focus~.peer-focus\:ring-secondary{--tw-ring-opacity: 1 !important;--tw-ring-color: rgb(75 113 252 / var(--tw-ring-opacity)) !important}@media (prefers-color-scheme: dark){.dark\:border-gray-600{--tw-border-opacity: 1 !important;border-color:rgb(75 85 99 / var(--tw-border-opacity))!important}}@media (min-width: 768px){.md\:block{display:block!important}.md\:inline{display:inline!important}.md\:flex{display:flex!important}.md\:h-0{height:0px!important}.md\:h-full{height:100%!important}.md\:min-h-screen{min-height:100vh!important}.md\:w-1\/3{width:33.333333%!important}.md\:w-1\/4{width:25%!important}.md\:w-1\/5{width:20%!important}.md\:w-3\/4{width:75%!important}.md\:w-4\/5{width:80%!important}.md\:w-52{width:13rem!important}.md\:w-80{width:20rem!important}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}.md\:flex-row{flex-direction:row!important}.md\:flex-col{flex-direction:column!important}.md\:space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0 !important;margin-right:calc(.25rem * var(--tw-space-x-reverse))!important;margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))!important}.md\:space-x-5>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0 !important;margin-right:calc(1.25rem * var(--tw-space-x-reverse))!important;margin-left:calc(1.25rem * calc(1 - var(--tw-space-x-reverse)))!important}.md\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0 !important;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)))!important;margin-bottom:calc(0px * var(--tw-space-y-reverse))!important}.md\:border-l-2{border-left-width:2px!important}.md\:border-primary{--tw-border-opacity: 1 !important;border-color:rgb(39 58 138 / var(--tw-border-opacity))!important}.md\:p-5{padding:1.25rem!important}.md\:p-8{padding:2rem!important}.md\:px-6{padding-left:1.5rem!important;padding-right:1.5rem!important}.md\:px-8{padding-left:2rem!important;padding-right:2rem!important}.md\:py-5{padding-top:1.25rem!important;padding-bottom:1.25rem!important}.md\:text-left{text-align:left!important}.md\:text-2xl{font-size:1.5rem!important;line-height:2rem!important}.md\:text-base{font-size:1rem!important;line-height:1.5rem!important}.md\:text-sm{font-size:.875rem!important;line-height:1.25rem!important}}@media (min-width: 1024px){.lg\:flex{display:flex!important}.lg\:h-full{height:100%!important}.lg\:w-1\/5{width:20%!important}.lg\:w-4\/5{width:80%!important}.lg\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))!important}}img[data-v-dbff377b]{width:100px}.hidden-radio:checked+label[data-v-dbff377b]{border:2px solid #007bff;padding:5px;border-radius:8px}.radio-image-wrapper[data-v-dbff377b]{position:relative}.radio-image-wrapper label[data-v-dbff377b]{transition:border .2s}.hidden-radio:checked+label[data-v-dbff377b]:after{content:"\2713";position:absolute;top:0;right:0;background-color:#007bff;color:#fff;padding:2px 6px;border-radius:50%}.hidden-radio[data-v-dbff377b]{position:absolute;opacity:0;width:0;height:0;margin:0;padding:0;z-index:-1} diff --git a/views/media/logo-0fae5e59.png b/views/img/logo-0fae5e59.png similarity index 100% rename from views/media/logo-0fae5e59.png rename to views/img/logo-0fae5e59.png diff --git a/views/js/buckaroo.vue.js b/views/js/buckaroo.vue.js index 1e7b126e9..5c02d1538 100644 --- a/views/js/buckaroo.vue.js +++ b/views/js/buckaroo.vue.js @@ -74,7 +74,7 @@ F\xFCr genaue Kostendetails wenden Sie sich bitte direkt an {const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n},HD={props:["color"],setup(e){const t=nt("text-primary");return e.color&&(t.value=e.color),{loadingColor:t}}},WD={class:"flex justify-center"},VD=C("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),GD=C("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"},null,-1),zD=[VD,GD];function KD(e,t,n,r,i,o){return ve(),Ae("div",WD,[(ve(),Ae("svg",{class:Gt("animate-spin h-5 w-5 "+r.loadingColor),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},zD,2))])}const gy=yn(HD,[["render",KD]]);function qD(e){return Sf()?(am(e),!0):!1}function lE(e){return typeof e=="function"?e():Mu(e)}const Zu=typeof window<"u",uE=()=>{},YD=XD();function XD(){var e;return Zu&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent)}function nu(e){var t;const n=lE(e);return(t=n==null?void 0:n.$el)!=null?t:n}const cE=Zu?window:void 0;Zu&&window.document;Zu&&window.navigator;Zu&&window.location;function Gh(...e){let t,n,r,i;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,i]=e,t=cE):[t,n,r,i]=e,!t)return uE;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],a=()=>{o.forEach(y=>y()),o.length=0},u=(y,m,b,w)=>(y.addEventListener(m,b,w),()=>y.removeEventListener(m,b,w)),d=Kr(()=>[nu(t),lE(i)],([y,m])=>{a(),y&&o.push(...n.flatMap(b=>r.map(w=>u(y,b,w,m))))},{immediate:!0,flush:"post"}),f=()=>{d(),a()};return qD(f),f}let p0=!1;function dE(e,t,n={}){const{window:r=cE,ignore:i=[],capture:o=!0,detectIframe:a=!1}=n;if(!r)return;YD&&!p0&&(p0=!0,Array.from(r.document.body.children).forEach(b=>b.addEventListener("click",uE)));let u=!0;const d=b=>i.some(w=>{if(typeof w=="string")return Array.from(r.document.querySelectorAll(w)).some(S=>S===b.target||b.composedPath().includes(S));{const S=nu(w);return S&&(b.target===S||b.composedPath().includes(S))}}),y=[Gh(r,"click",b=>{const w=nu(e);if(!(!w||w===b.target||b.composedPath().includes(w))){if(b.detail===0&&(u=!d(b)),!u){u=!0;return}t(b)}},{passive:!0,capture:o}),Gh(r,"pointerdown",b=>{const w=nu(e);w&&(u=!b.composedPath().includes(w)&&!d(b))},{passive:!0}),a&&Gh(r,"blur",b=>{setTimeout(()=>{var w;const S=nu(e);((w=r.document.activeElement)==null?void 0:w.tagName)==="IFRAME"&&!(S!=null&&S.contains(r.document.activeElement))&&t(b)},0)})].filter(Boolean);return()=>y.forEach(b=>b())}const JD={name:"LanguageSelector",setup(){const{locale:e}=_i(),t=nt(!1),n=nt(null),r=nt(e.value);return dE(n,()=>t.value=!1),{showMenu:t,languageMenuRef:n,currentLanguage:r,changeLanguage:u=>{e.value=u,t.value=!1,r.value=u},languages:[{code:"en",name:"English",flag:"gb"},{code:"nl",name:"Dutch",flag:"nl"},{code:"de",name:"German",flag:"de"},{code:"fr",name:"French",flag:"fr"}],filterCurrentLanguage:(u,d=!0)=>u.filter(f=>d?f.code===r.value:f.code!==r.value)}}},ZD={class:"md:px-6 w-full text-white text-sm relative"},QD={class:"flex space-x-1"},eM=["src"],tM={class:"text-xs"},nM=C("i",{class:"fas fa-chevron-down text-[8px]"},null,-1),rM={key:0,ref:"languageMenuRef",class:"bg-white text-gray-800 rounded-lg inline-block shadow-xl mt-1 absolute w-1/2 overflow-hidden"},sM=["onClick"],aM=["src"];function iM(e,t,n,r,i,o){return ve(),Ae("div",ZD,[C("div",null,[C("div",{class:"inline-block hover:bg-sixthly p-2 cursor-pointer rounded-lg",onClick:t[0]||(t[0]=a=>r.showMenu=!r.showMenu)},[(ve(!0),Ae(Ft,null,cr(r.filterCurrentLanguage(r.languages),({name:a,flag:u})=>(ve(),Ae("div",QD,[C("img",{src:"../../../../../img/flags/"+u+".jpg",class:"w-4",alt:""},null,8,eM),C("span",tM,[gn(re(a)+" ",1),nM])]))),256))])]),pt(yi,{"enter-from-class":"opacity-0 translate-y-3","enter-to-class":"opacity-100 translate-y-0","enter-active-class":"transform transition ease-out duration-200","leave-active-class":"transform transition ease-in duration-150","leave-from-class":"opacity-100 translate-y-0","leave-to-class":"opacity-0 translate-y-3"},{default:Ar(()=>[r.showMenu?(ve(),Ae("ul",rM,[(ve(!0),Ae(Ft,null,cr(r.filterCurrentLanguage(r.languages,!1),({name:a,flag:u,code:d})=>(ve(),Ae("li",{onClick:f=>r.changeLanguage(d),class:"p-2 flex space-x-2 cursor-pointer hover:bg-gray-200"},[C("img",{src:"../../../../../img/flags/"+u+".jpg",alt:"",class:"w-4"},null,8,aM),C("div",null,re(a),1)],8,sM))),256))],512)):tt("",!0)]),_:1})])}const oM=yn(JD,[["render",iM]]),lM="/modules/buckaroo3/views/media/logo-0fae5e59.png",uM={name:"Menu.vue",components:{LanguageSelector:oM},setup(e,{emit:t}){const n=mn("view"),r=mn("app");return{view:n,app:r,setView:o=>{n.value=o,t("changedView",o)}}}},cM={class:"md:border-l-2 md:border-primary space-y-5"},dM=C("div",{class:"md:px-8 md:py-5 p-5 md:w-52 w-36"},[C("img",{src:lM,alt:""})],-1),fM={class:"text-sm space-y-2 flex md:flex-col"},pM=C("i",{class:"fas fa-cogs md:text-base text-xl"},null,-1),hM={class:"md:inline block md:text-sm text-xs"},gM=C("i",{class:"fas fa-credit-card md:text-base text-xl"},null,-1),mM={class:"md:inline block md:text-sm text-xs"},yM=C("i",{class:"fas fa-check-circle md:text-base text-xl"},null,-1),vM={class:"md:inline block md:text-sm text-xs"},bM=C("i",{class:"fas fa-sort-numeric-up md:text-base text-xl"},null,-1),_M={class:"md:inline block md:text-sm text-xs"};function xM(e,t,n,r,i,o){const a=Nt("LanguageSelector");return ve(),Ae("div",cM,[C("div",null,[dM,pt(a)]),C("ul",fM,[C("li",{class:Gt(["text-white md:p-5 p-2 cursor-pointer transition ease-in-out duration-300 flex-1 md:text-left text-left space-y-2 md:block md:space-x-1 flex flex-col justify-center",{"bg-sixthly text-white":r.view==="settings","hover:bg-seventhly text-eightly":r.view!=="settings"}]),onClick:t[0]||(t[0]=u=>r.setView("settings"))},[pM,gn(),C("span",hM,re(e.$t("dashboard.menu.settings")),1)],2),C("li",{class:Gt(["text-white md:p-5 p-2 cursor-pointer transition ease-in-out duration-300 flex-1 md:text-left text-left space-y-2 md:block md:space-x-1 flex flex-col justify-center",{"bg-sixthly text-white":r.view==="payment_methods","hover:bg-seventhly text-eightly":r.view!=="payment_methods"}]),onClick:t[1]||(t[1]=u=>r.setView("payment_methods"))},[gM,gn(),C("span",mM,re(e.$t("dashboard.menu.payment_methods")),1)],2),C("li",{class:Gt(["text-white md:p-5 p-2 cursor-pointer transition ease-in-out duration-300 flex-1 md:text-left text-left space-y-2 md:block md:space-x-1 flex flex-col justify-center",{"bg-sixthly text-white":r.view==="verification_methods","hover:bg-seventhly text-eightly":r.view!=="verification_methods"}]),onClick:t[2]||(t[2]=u=>r.setView("verification_methods"))},[yM,gn(),C("span",vM,re(e.$t("dashboard.menu.verification_methods")),1)],2),C("li",{class:Gt(["text-white md:p-5 p-2 cursor-pointer transition ease-in-out duration-300 flex-1 md:text-left text-left space-y-2 md:block md:space-x-1 flex flex-col justify-center",{"bg-sixthly text-white":r.view==="order_payment_methods","hover:bg-seventhly text-eightly":r.view!=="order_payment_methods"}]),onClick:t[3]||(t[3]=u=>r.setView("order_payment_methods"))},[bM,gn(),C("span",_M,re(e.$t("dashboard.pages.order_payment_methods.order_payment_methods")),1)],2)])])}const wM=yn(uM,[["render",xM]]);var EM=Object.assign||function(e){for(var t,n=1;n"u"?"undefined":h0(a))==="object"?u:"")+"]",a,i)}):(typeof r>"u"?"undefined":h0(r))==="object"?Object.keys(r).forEach(function(a){return t.buildQueryParams(n+"["+a+"]",r[a],i)}):i(n,r)},this.getRoute=function(n){var r=t.contextRouting.prefix+n;if(t.routesRouting[r])return t.routesRouting[r];if(!t.routesRouting[n])throw new Error('The route "'+n+'" does not exist.');return t.routesRouting[n]},this.generate=function(n,r,i){var o=t.getRoute(n),a=r||{},u=EM({},a),d="_scheme",f="",y=!0,m="";if((o.tokens||[]).forEach(function(S){if(S[0]==="text")return f=S[1]+f,void(y=!1);if(S[0]==="variable"){var O=(o.defaults||{})[S[3]];if(y==!1||!O||(a||{})[S[3]]&&a[S[3]]!==o.defaults[S[3]]){var D;if((a||{})[S[3]])D=a[S[3]],delete u[S[3]];else if(O)D=o.defaults[S[3]];else{if(y)return;throw new Error('The route "'+n+'" requires the parameter "'+S[3]+'".')}var E=D===!0||D===!1||D==="";if(!E||!y){var I=encodeURIComponent(D).replace(/%2F/g,"/");I==="null"&&D===null&&(I=""),f=S[1]+I+f}y=!1}else O&&delete u[S[3]];return}throw new Error('The token type "'+S[0]+'" is not supported.')}),f==""&&(f="/"),(o.hosttokens||[]).forEach(function(S){var O;return S[0]==="text"?void(m=S[1]+m):void(S[0]==="variable"&&((a||{})[S[3]]?(O=a[S[3]],delete u[S[3]]):o.defaults[S[3]]&&(O=o.defaults[S[3]]),m=S[1]+O+m))}),f=t.contextRouting.base_url+f,o.requirements[d]&&t.getScheme()!==o.requirements[d]?f=o.requirements[d]+"://"+(m||t.getHost())+f:m&&t.getHost()!==m?f=t.getScheme()+"://"+m+f:i===!0&&(f=t.getScheme()+"://"+t.getHost()+f),0{const t=mn("csrfToken"),n=mn("adminUrl");let r=new RM(n,t);const i=nt(),o=nt(!1),a=nt(),u=K0.create({baseURL:n+""}),d=m=>(o.value=!0,a.value=void 0,u.get(r.generate(e,m)).then(b=>i.value=b.data).catch(b=>{throw a.value=b,b}).finally(()=>o.value=!1)),f=(m,b)=>(o.value=!0,a.value=void 0,u.post(r.generate(e,b),m).then(w=>i.value=w.data).catch(w=>{throw a.value=w,w}).finally(()=>o.value=!1)),y=Wn(()=>a.value?a.value.message:null);return Kr(a,m=>{}),{loading:o,data:i,error:a,get:d,post:f,errorMessage:y}};var fE={exports:{}},Kh={exports:{}};/*! + */const UD={en:MD,nl:$D,fr:FD,de:BD},jD=CD({legacy:!1,locale:"en",messages:UD}),yn=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n},HD={props:["color"],setup(e){const t=nt("text-primary");return e.color&&(t.value=e.color),{loadingColor:t}}},WD={class:"flex justify-center"},VD=C("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),GD=C("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"},null,-1),zD=[VD,GD];function KD(e,t,n,r,i,o){return ve(),Ae("div",WD,[(ve(),Ae("svg",{class:Gt("animate-spin h-5 w-5 "+r.loadingColor),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},zD,2))])}const gy=yn(HD,[["render",KD]]);function qD(e){return Sf()?(am(e),!0):!1}function lE(e){return typeof e=="function"?e():Mu(e)}const Zu=typeof window<"u",uE=()=>{},YD=XD();function XD(){var e;return Zu&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent)}function nu(e){var t;const n=lE(e);return(t=n==null?void 0:n.$el)!=null?t:n}const cE=Zu?window:void 0;Zu&&window.document;Zu&&window.navigator;Zu&&window.location;function Gh(...e){let t,n,r,i;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,i]=e,t=cE):[t,n,r,i]=e,!t)return uE;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],a=()=>{o.forEach(y=>y()),o.length=0},u=(y,m,b,w)=>(y.addEventListener(m,b,w),()=>y.removeEventListener(m,b,w)),d=Kr(()=>[nu(t),lE(i)],([y,m])=>{a(),y&&o.push(...n.flatMap(b=>r.map(w=>u(y,b,w,m))))},{immediate:!0,flush:"post"}),f=()=>{d(),a()};return qD(f),f}let p0=!1;function dE(e,t,n={}){const{window:r=cE,ignore:i=[],capture:o=!0,detectIframe:a=!1}=n;if(!r)return;YD&&!p0&&(p0=!0,Array.from(r.document.body.children).forEach(b=>b.addEventListener("click",uE)));let u=!0;const d=b=>i.some(w=>{if(typeof w=="string")return Array.from(r.document.querySelectorAll(w)).some(S=>S===b.target||b.composedPath().includes(S));{const S=nu(w);return S&&(b.target===S||b.composedPath().includes(S))}}),y=[Gh(r,"click",b=>{const w=nu(e);if(!(!w||w===b.target||b.composedPath().includes(w))){if(b.detail===0&&(u=!d(b)),!u){u=!0;return}t(b)}},{passive:!0,capture:o}),Gh(r,"pointerdown",b=>{const w=nu(e);w&&(u=!b.composedPath().includes(w)&&!d(b))},{passive:!0}),a&&Gh(r,"blur",b=>{setTimeout(()=>{var w;const S=nu(e);((w=r.document.activeElement)==null?void 0:w.tagName)==="IFRAME"&&!(S!=null&&S.contains(r.document.activeElement))&&t(b)},0)})].filter(Boolean);return()=>y.forEach(b=>b())}const JD={name:"LanguageSelector",setup(){const{locale:e}=_i(),t=nt(!1),n=nt(null),r=nt(e.value);return dE(n,()=>t.value=!1),{showMenu:t,languageMenuRef:n,currentLanguage:r,changeLanguage:u=>{e.value=u,t.value=!1,r.value=u},languages:[{code:"en",name:"English",flag:"gb"},{code:"nl",name:"Dutch",flag:"nl"},{code:"de",name:"German",flag:"de"},{code:"fr",name:"French",flag:"fr"}],filterCurrentLanguage:(u,d=!0)=>u.filter(f=>d?f.code===r.value:f.code!==r.value)}}},ZD={class:"md:px-6 w-full text-white text-sm relative"},QD={class:"flex space-x-1"},eM=["src"],tM={class:"text-xs"},nM=C("i",{class:"fas fa-chevron-down text-[8px]"},null,-1),rM={key:0,ref:"languageMenuRef",class:"bg-white text-gray-800 rounded-lg inline-block shadow-xl mt-1 absolute w-1/2 overflow-hidden"},sM=["onClick"],aM=["src"];function iM(e,t,n,r,i,o){return ve(),Ae("div",ZD,[C("div",null,[C("div",{class:"inline-block hover:bg-sixthly p-2 cursor-pointer rounded-lg",onClick:t[0]||(t[0]=a=>r.showMenu=!r.showMenu)},[(ve(!0),Ae(Ft,null,cr(r.filterCurrentLanguage(r.languages),({name:a,flag:u})=>(ve(),Ae("div",QD,[C("img",{src:"../../../../../img/flags/"+u+".jpg",class:"w-4",alt:""},null,8,eM),C("span",tM,[gn(re(a)+" ",1),nM])]))),256))])]),pt(yi,{"enter-from-class":"opacity-0 translate-y-3","enter-to-class":"opacity-100 translate-y-0","enter-active-class":"transform transition ease-out duration-200","leave-active-class":"transform transition ease-in duration-150","leave-from-class":"opacity-100 translate-y-0","leave-to-class":"opacity-0 translate-y-3"},{default:Ar(()=>[r.showMenu?(ve(),Ae("ul",rM,[(ve(!0),Ae(Ft,null,cr(r.filterCurrentLanguage(r.languages,!1),({name:a,flag:u,code:d})=>(ve(),Ae("li",{onClick:f=>r.changeLanguage(d),class:"p-2 flex space-x-2 cursor-pointer hover:bg-gray-200"},[C("img",{src:"../../../../../img/flags/"+u+".jpg",alt:"",class:"w-4"},null,8,aM),C("div",null,re(a),1)],8,sM))),256))],512)):tt("",!0)]),_:1})])}const oM=yn(JD,[["render",iM]]),lM="/modules/buckaroo3/views/img/logo-0fae5e59.png",uM={name:"Menu.vue",components:{LanguageSelector:oM},setup(e,{emit:t}){const n=mn("view"),r=mn("app");return{view:n,app:r,setView:o=>{n.value=o,t("changedView",o)}}}},cM={class:"md:border-l-2 md:border-primary space-y-5"},dM=C("div",{class:"md:px-8 md:py-5 p-5 md:w-52 w-36"},[C("img",{src:lM,alt:""})],-1),fM={class:"text-sm space-y-2 flex md:flex-col"},pM=C("i",{class:"fas fa-cogs md:text-base text-xl"},null,-1),hM={class:"md:inline block md:text-sm text-xs"},gM=C("i",{class:"fas fa-credit-card md:text-base text-xl"},null,-1),mM={class:"md:inline block md:text-sm text-xs"},yM=C("i",{class:"fas fa-check-circle md:text-base text-xl"},null,-1),vM={class:"md:inline block md:text-sm text-xs"},bM=C("i",{class:"fas fa-sort-numeric-up md:text-base text-xl"},null,-1),_M={class:"md:inline block md:text-sm text-xs"};function xM(e,t,n,r,i,o){const a=Nt("LanguageSelector");return ve(),Ae("div",cM,[C("div",null,[dM,pt(a)]),C("ul",fM,[C("li",{class:Gt(["text-white md:p-5 p-2 cursor-pointer transition ease-in-out duration-300 flex-1 md:text-left text-left space-y-2 md:block md:space-x-1 flex flex-col justify-center",{"bg-sixthly text-white":r.view==="settings","hover:bg-seventhly text-eightly":r.view!=="settings"}]),onClick:t[0]||(t[0]=u=>r.setView("settings"))},[pM,gn(),C("span",hM,re(e.$t("dashboard.menu.settings")),1)],2),C("li",{class:Gt(["text-white md:p-5 p-2 cursor-pointer transition ease-in-out duration-300 flex-1 md:text-left text-left space-y-2 md:block md:space-x-1 flex flex-col justify-center",{"bg-sixthly text-white":r.view==="payment_methods","hover:bg-seventhly text-eightly":r.view!=="payment_methods"}]),onClick:t[1]||(t[1]=u=>r.setView("payment_methods"))},[gM,gn(),C("span",mM,re(e.$t("dashboard.menu.payment_methods")),1)],2),C("li",{class:Gt(["text-white md:p-5 p-2 cursor-pointer transition ease-in-out duration-300 flex-1 md:text-left text-left space-y-2 md:block md:space-x-1 flex flex-col justify-center",{"bg-sixthly text-white":r.view==="verification_methods","hover:bg-seventhly text-eightly":r.view!=="verification_methods"}]),onClick:t[2]||(t[2]=u=>r.setView("verification_methods"))},[yM,gn(),C("span",vM,re(e.$t("dashboard.menu.verification_methods")),1)],2),C("li",{class:Gt(["text-white md:p-5 p-2 cursor-pointer transition ease-in-out duration-300 flex-1 md:text-left text-left space-y-2 md:block md:space-x-1 flex flex-col justify-center",{"bg-sixthly text-white":r.view==="order_payment_methods","hover:bg-seventhly text-eightly":r.view!=="order_payment_methods"}]),onClick:t[3]||(t[3]=u=>r.setView("order_payment_methods"))},[bM,gn(),C("span",_M,re(e.$t("dashboard.pages.order_payment_methods.order_payment_methods")),1)],2)])])}const wM=yn(uM,[["render",xM]]);var EM=Object.assign||function(e){for(var t,n=1;n"u"?"undefined":h0(a))==="object"?u:"")+"]",a,i)}):(typeof r>"u"?"undefined":h0(r))==="object"?Object.keys(r).forEach(function(a){return t.buildQueryParams(n+"["+a+"]",r[a],i)}):i(n,r)},this.getRoute=function(n){var r=t.contextRouting.prefix+n;if(t.routesRouting[r])return t.routesRouting[r];if(!t.routesRouting[n])throw new Error('The route "'+n+'" does not exist.');return t.routesRouting[n]},this.generate=function(n,r,i){var o=t.getRoute(n),a=r||{},u=EM({},a),d="_scheme",f="",y=!0,m="";if((o.tokens||[]).forEach(function(S){if(S[0]==="text")return f=S[1]+f,void(y=!1);if(S[0]==="variable"){var O=(o.defaults||{})[S[3]];if(y==!1||!O||(a||{})[S[3]]&&a[S[3]]!==o.defaults[S[3]]){var D;if((a||{})[S[3]])D=a[S[3]],delete u[S[3]];else if(O)D=o.defaults[S[3]];else{if(y)return;throw new Error('The route "'+n+'" requires the parameter "'+S[3]+'".')}var E=D===!0||D===!1||D==="";if(!E||!y){var I=encodeURIComponent(D).replace(/%2F/g,"/");I==="null"&&D===null&&(I=""),f=S[1]+I+f}y=!1}else O&&delete u[S[3]];return}throw new Error('The token type "'+S[0]+'" is not supported.')}),f==""&&(f="/"),(o.hosttokens||[]).forEach(function(S){var O;return S[0]==="text"?void(m=S[1]+m):void(S[0]==="variable"&&((a||{})[S[3]]?(O=a[S[3]],delete u[S[3]]):o.defaults[S[3]]&&(O=o.defaults[S[3]]),m=S[1]+O+m))}),f=t.contextRouting.base_url+f,o.requirements[d]&&t.getScheme()!==o.requirements[d]?f=o.requirements[d]+"://"+(m||t.getHost())+f:m&&t.getHost()!==m?f=t.getScheme()+"://"+m+f:i===!0&&(f=t.getScheme()+"://"+t.getHost()+f),0{const t=mn("csrfToken"),n=mn("adminUrl");let r=new RM(n,t);const i=nt(),o=nt(!1),a=nt(),u=K0.create({baseURL:n+""}),d=m=>(o.value=!0,a.value=void 0,u.get(r.generate(e,m)).then(b=>i.value=b.data).catch(b=>{throw a.value=b,b}).finally(()=>o.value=!1)),f=(m,b)=>(o.value=!0,a.value=void 0,u.post(r.generate(e,b),m).then(w=>i.value=w.data).catch(w=>{throw a.value=w,w}).finally(()=>o.value=!1)),y=Wn(()=>a.value?a.value.message:null);return Kr(a,m=>{}),{loading:o,data:i,error:a,get:d,post:f,errorMessage:y}};var fE={exports:{}},Kh={exports:{}};/*! * jQuery JavaScript Library v3.7.0 * https://jquery.com/ * @@ -86,7 +86,7 @@ F\xFCr genaue Kostendetails wenden Sie sich bitte direkt an =0&&v0&&h-1 in c}function U(c,h){return c.nodeName&&c.nodeName.toLowerCase()===h.toLowerCase()}var G=r.pop,ne=r.sort,fe=r.splice,J="[\\x20\\t\\r\\n\\f]",le=new RegExp("^"+J+"+|((?:^|[^\\\\])(?:\\\\.)*)"+J+"+$","g");g.contains=function(c,h){var v=h&&h.parentNode;return c===v||!!(v&&v.nodeType===1&&(c.contains?c.contains(v):c.compareDocumentPosition&&c.compareDocumentPosition(v)&16))};var $e=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function xe(c,h){return h?c==="\0"?"\uFFFD":c.slice(0,-1)+"\\"+c.charCodeAt(c.length-1).toString(16)+" ":"\\"+c}g.escapeSelector=function(c){return(c+"").replace($e,xe)};var Te=E,Me=u;(function(){var c,h,v,x,T,k=Me,R,X,W,ae,be,Ee=g.expando,ge=0,De=0,Ve=ki(),Et=ki(),_t=ki(),Kn=ki(),Tn=function(H,te){return H===te&&(T=!0),0},hs="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",gs="(?:\\\\[\\da-fA-F]{1,6}"+J+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",Ut="\\["+J+"*("+gs+")(?:"+J+"*([*^$|!~]?=)"+J+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+gs+"))|)"+J+"*\\]",qs=":("+gs+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+Ut+")*)|.*)\\)|)",jt=new RegExp(J+"+","g"),un=new RegExp("^"+J+"*,"+J+"*"),Si=new RegExp("^"+J+"*([>+~]|"+J+")"+J+"*"),mo=new RegExp(J+"|>"),Qr=new RegExp(qs),ca=new RegExp("^"+gs+"$"),Rr={ID:new RegExp("^#("+gs+")"),CLASS:new RegExp("^\\.("+gs+")"),TAG:new RegExp("^("+gs+"|[*])"),ATTR:new RegExp("^"+Ut),PSEUDO:new RegExp("^"+qs),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+J+"*(even|odd|(([+-]|)(\\d*)n|)"+J+"*(?:([+-]|)"+J+"*(\\d+)|))"+J+"*\\)|)","i"),bool:new RegExp("^(?:"+hs+")$","i"),needsContext:new RegExp("^"+J+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+J+"*((?:-\\d)?\\d*)"+J+"*\\)|)(?=[^-]|$)","i")},As=/^(?:input|select|textarea|button)$/i,Ys=/^h\d$/i,pr=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Ci=/[+~]/,Ps=new RegExp("\\\\[\\da-fA-F]{1,6}"+J+"?|\\\\([^\\r\\n\\f])","g"),ms=function(H,te){var he="0x"+H.slice(1)-65536;return te||(he<0?String.fromCharCode(he+65536):String.fromCharCode(he>>10|55296,he&1023|56320))},xr=function(){Xs()},kl=da(function(H){return H.disabled===!0&&U(H,"fieldset")},{dir:"parentNode",next:"legend"});function Ti(){try{return R.activeElement}catch{}}try{k.apply(r=o.call(Te.childNodes),Te.childNodes),r[Te.childNodes.length].nodeType}catch{k={apply:function(te,he){Me.apply(te,o.call(he))},call:function(te){Me.apply(te,o.call(arguments,1))}}}function an(H,te,he,me){var j,Q,Z,Se,ke,ze,Ke,He=te&&te.ownerDocument,Ot=te?te.nodeType:9;if(he=he||[],typeof H!="string"||!H||Ot!==1&&Ot!==9&&Ot!==11)return he;if(!me&&(Xs(te),te=te||R,W)){if(Ot!==11&&(ke=pr.exec(H)))if(j=ke[1]){if(Ot===9)if(Z=te.getElementById(j)){if(Z.id===j)return k.call(he,Z),he}else return he;else if(He&&(Z=He.getElementById(j))&&an.contains(te,Z)&&Z.id===j)return k.call(he,Z),he}else{if(ke[2])return k.apply(he,te.getElementsByTagName(H)),he;if((j=ke[3])&&te.getElementsByClassName)return k.apply(he,te.getElementsByClassName(j)),he}if(!Kn[H+" "]&&(!ae||!ae.test(H))){if(Ke=H,He=te,Ot===1&&(mo.test(H)||Si.test(H))){for(He=Ci.test(H)&&Il(te.parentNode)||te,(He!=te||!S.scope)&&((Se=te.getAttribute("id"))?Se=g.escapeSelector(Se):te.setAttribute("id",Se=Ee)),ze=Ii(H),Q=ze.length;Q--;)ze[Q]=(Se?"#"+Se:":scope")+" "+ts(ze[Q]);Ke=ze.join(",")}try{return k.apply(he,He.querySelectorAll(Ke)),he}catch{Kn(H,!0)}finally{Se===Ee&&te.removeAttribute("id")}}}return Oc(H.replace(le,"$1"),te,he,me)}function ki(){var H=[];function te(he,me){return H.push(he+" ")>h.cacheLength&&delete te[H.shift()],te[he+" "]=me}return te}function es(H){return H[Ee]=!0,H}function Ba(H){var te=R.createElement("fieldset");try{return!!H(te)}catch{return!1}finally{te.parentNode&&te.parentNode.removeChild(te),te=null}}function Ep(H){return function(te){return U(te,"input")&&te.type===H}}function Sp(H){return function(te){return(U(te,"input")||U(te,"button"))&&te.type===H}}function kc(H){return function(te){return"form"in te?te.parentNode&&te.disabled===!1?"label"in te?"label"in te.parentNode?te.parentNode.disabled===H:te.disabled===H:te.isDisabled===H||te.isDisabled!==!H&&kl(te)===H:te.disabled===H:"label"in te?te.disabled===H:!1}}function Dr(H){return es(function(te){return te=+te,es(function(he,me){for(var j,Q=H([],he.length,te),Z=Q.length;Z--;)he[j=Q[Z]]&&(he[j]=!(me[j]=he[j]))})})}function Il(H){return H&&typeof H.getElementsByTagName<"u"&&H}function Xs(H){var te,he=H?H.ownerDocument||H:Te;return he==R||he.nodeType!==9||!he.documentElement||(R=he,X=R.documentElement,W=!g.isXMLDoc(R),be=X.matches||X.webkitMatchesSelector||X.msMatchesSelector,Te!=R&&(te=R.defaultView)&&te.top!==te&&te.addEventListener("unload",xr),S.getById=Ba(function(me){return X.appendChild(me).id=g.expando,!R.getElementsByName||!R.getElementsByName(g.expando).length}),S.disconnectedMatch=Ba(function(me){return be.call(me,"*")}),S.scope=Ba(function(){return R.querySelectorAll(":scope")}),S.cssHas=Ba(function(){try{return R.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),S.getById?(h.filter.ID=function(me){var j=me.replace(Ps,ms);return function(Q){return Q.getAttribute("id")===j}},h.find.ID=function(me,j){if(typeof j.getElementById<"u"&&W){var Q=j.getElementById(me);return Q?[Q]:[]}}):(h.filter.ID=function(me){var j=me.replace(Ps,ms);return function(Q){var Z=typeof Q.getAttributeNode<"u"&&Q.getAttributeNode("id");return Z&&Z.value===j}},h.find.ID=function(me,j){if(typeof j.getElementById<"u"&&W){var Q,Z,Se,ke=j.getElementById(me);if(ke){if(Q=ke.getAttributeNode("id"),Q&&Q.value===me)return[ke];for(Se=j.getElementsByName(me),Z=0;ke=Se[Z++];)if(Q=ke.getAttributeNode("id"),Q&&Q.value===me)return[ke]}return[]}}),h.find.TAG=function(me,j){return typeof j.getElementsByTagName<"u"?j.getElementsByTagName(me):j.querySelectorAll(me)},h.find.CLASS=function(me,j){if(typeof j.getElementsByClassName<"u"&&W)return j.getElementsByClassName(me)},ae=[],Ba(function(me){var j;X.appendChild(me).innerHTML="",me.querySelectorAll("[selected]").length||ae.push("\\["+J+"*(?:value|"+hs+")"),me.querySelectorAll("[id~="+Ee+"-]").length||ae.push("~="),me.querySelectorAll("a#"+Ee+"+*").length||ae.push(".#.+[+~]"),me.querySelectorAll(":checked").length||ae.push(":checked"),j=R.createElement("input"),j.setAttribute("type","hidden"),me.appendChild(j).setAttribute("name","D"),X.appendChild(me).disabled=!0,me.querySelectorAll(":disabled").length!==2&&ae.push(":enabled",":disabled"),j=R.createElement("input"),j.setAttribute("name",""),me.appendChild(j),me.querySelectorAll("[name='']").length||ae.push("\\["+J+"*name"+J+"*="+J+`*(?:''|"")`)}),S.cssHas||ae.push(":has"),ae=ae.length&&new RegExp(ae.join("|")),Tn=function(me,j){if(me===j)return T=!0,0;var Q=!me.compareDocumentPosition-!j.compareDocumentPosition;return Q||(Q=(me.ownerDocument||me)==(j.ownerDocument||j)?me.compareDocumentPosition(j):1,Q&1||!S.sortDetached&&j.compareDocumentPosition(me)===Q?me===R||me.ownerDocument==Te&&an.contains(Te,me)?-1:j===R||j.ownerDocument==Te&&an.contains(Te,j)?1:x?d.call(x,me)-d.call(x,j):0:Q&4?-1:1)}),R}an.matches=function(H,te){return an(H,null,null,te)},an.matchesSelector=function(H,te){if(Xs(H),W&&!Kn[te+" "]&&(!ae||!ae.test(te)))try{var he=be.call(H,te);if(he||S.disconnectedMatch||H.document&&H.document.nodeType!==11)return he}catch{Kn(te,!0)}return an(te,R,null,[H]).length>0},an.contains=function(H,te){return(H.ownerDocument||H)!=R&&Xs(H),g.contains(H,te)},an.attr=function(H,te){(H.ownerDocument||H)!=R&&Xs(H);var he=h.attrHandle[te.toLowerCase()],me=he&&m.call(h.attrHandle,te.toLowerCase())?he(H,te,!W):void 0;return me!==void 0?me:H.getAttribute(te)},an.error=function(H){throw new Error("Syntax error, unrecognized expression: "+H)},g.uniqueSort=function(H){var te,he=[],me=0,j=0;if(T=!S.sortStable,x=!S.sortStable&&o.call(H,0),ne.call(H,Tn),T){for(;te=H[j++];)te===H[j]&&(me=he.push(j));for(;me--;)fe.call(H,he[me],1)}return x=null,H},g.fn.uniqueSort=function(){return this.pushStack(g.uniqueSort(o.apply(this)))},h=g.expr={cacheLength:50,createPseudo:es,match:Rr,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(H){return H[1]=H[1].replace(Ps,ms),H[3]=(H[3]||H[4]||H[5]||"").replace(Ps,ms),H[2]==="~="&&(H[3]=" "+H[3]+" "),H.slice(0,4)},CHILD:function(H){return H[1]=H[1].toLowerCase(),H[1].slice(0,3)==="nth"?(H[3]||an.error(H[0]),H[4]=+(H[4]?H[5]+(H[6]||1):2*(H[3]==="even"||H[3]==="odd")),H[5]=+(H[7]+H[8]||H[3]==="odd")):H[3]&&an.error(H[0]),H},PSEUDO:function(H){var te,he=!H[6]&&H[2];return Rr.CHILD.test(H[0])?null:(H[3]?H[2]=H[4]||H[5]||"":he&&Qr.test(he)&&(te=Ii(he,!0))&&(te=he.indexOf(")",he.length-te)-he.length)&&(H[0]=H[0].slice(0,te),H[2]=he.slice(0,te)),H.slice(0,3))}},filter:{TAG:function(H){var te=H.replace(Ps,ms).toLowerCase();return H==="*"?function(){return!0}:function(he){return U(he,te)}},CLASS:function(H){var te=Ve[H+" "];return te||(te=new RegExp("(^|"+J+")"+H+"("+J+"|$)"))&&Ve(H,function(he){return te.test(typeof he.className=="string"&&he.className||typeof he.getAttribute<"u"&&he.getAttribute("class")||"")})},ATTR:function(H,te,he){return function(me){var j=an.attr(me,H);return j==null?te==="!=":te?(j+="",te==="="?j===he:te==="!="?j!==he:te==="^="?he&&j.indexOf(he)===0:te==="*="?he&&j.indexOf(he)>-1:te==="$="?he&&j.slice(-he.length)===he:te==="~="?(" "+j.replace(jt," ")+" ").indexOf(he)>-1:te==="|="?j===he||j.slice(0,he.length+1)===he+"-":!1):!0}},CHILD:function(H,te,he,me,j){var Q=H.slice(0,3)!=="nth",Z=H.slice(-4)!=="last",Se=te==="of-type";return me===1&&j===0?function(ke){return!!ke.parentNode}:function(ke,ze,Ke){var He,Ot,st,Mt,qn,er=Q!==Z?"nextSibling":"previousSibling",Yn=ke.parentNode,Er=Se&&ke.nodeName.toLowerCase(),Ls=!Ke&&!Se,bt=!1;if(Yn){if(Q){for(;er;){for(st=ke;st=st[er];)if(Se?U(st,Er):st.nodeType===1)return!1;qn=er=H==="only"&&!qn&&"nextSibling"}return!0}if(qn=[Z?Yn.firstChild:Yn.lastChild],Z&&Ls){for(Ot=Yn[Ee]||(Yn[Ee]={}),He=Ot[H]||[],Mt=He[0]===ge&&He[1],bt=Mt&&He[2],st=Mt&&Yn.childNodes[Mt];st=++Mt&&st&&st[er]||(bt=Mt=0)||qn.pop();)if(st.nodeType===1&&++bt&&st===ke){Ot[H]=[ge,Mt,bt];break}}else if(Ls&&(Ot=ke[Ee]||(ke[Ee]={}),He=Ot[H]||[],Mt=He[0]===ge&&He[1],bt=Mt),bt===!1)for(;(st=++Mt&&st&&st[er]||(bt=Mt=0)||qn.pop())&&!((Se?U(st,Er):st.nodeType===1)&&++bt&&(Ls&&(Ot=st[Ee]||(st[Ee]={}),Ot[H]=[ge,bt]),st===ke)););return bt-=j,bt===me||bt%me===0&&bt/me>=0}}},PSEUDO:function(H,te){var he,me=h.pseudos[H]||h.setFilters[H.toLowerCase()]||an.error("unsupported pseudo: "+H);return me[Ee]?me(te):me.length>1?(he=[H,H,"",te],h.setFilters.hasOwnProperty(H.toLowerCase())?es(function(j,Q){for(var Z,Se=me(j,te),ke=Se.length;ke--;)Z=d.call(j,Se[ke]),j[Z]=!(Q[Z]=Se[ke])}):function(j){return me(j,0,he)}):me}},pseudos:{not:es(function(H){var te=[],he=[],me=Al(H.replace(le,"$1"));return me[Ee]?es(function(j,Q,Z,Se){for(var ke,ze=me(j,null,Se,[]),Ke=j.length;Ke--;)(ke=ze[Ke])&&(j[Ke]=!(Q[Ke]=ke))}):function(j,Q,Z){return te[0]=j,me(te,null,Z,he),te[0]=null,!he.pop()}}),has:es(function(H){return function(te){return an(H,te).length>0}}),contains:es(function(H){return H=H.replace(Ps,ms),function(te){return(te.textContent||g.text(te)).indexOf(H)>-1}}),lang:es(function(H){return ca.test(H||"")||an.error("unsupported lang: "+H),H=H.replace(Ps,ms).toLowerCase(),function(te){var he;do if(he=W?te.lang:te.getAttribute("xml:lang")||te.getAttribute("lang"))return he=he.toLowerCase(),he===H||he.indexOf(H+"-")===0;while((te=te.parentNode)&&te.nodeType===1);return!1}}),target:function(H){var te=t.location&&t.location.hash;return te&&te.slice(1)===H.id},root:function(H){return H===X},focus:function(H){return H===Ti()&&R.hasFocus()&&!!(H.type||H.href||~H.tabIndex)},enabled:kc(!1),disabled:kc(!0),checked:function(H){return U(H,"input")&&!!H.checked||U(H,"option")&&!!H.selected},selected:function(H){return H.parentNode&&H.parentNode.selectedIndex,H.selected===!0},empty:function(H){for(H=H.firstChild;H;H=H.nextSibling)if(H.nodeType<6)return!1;return!0},parent:function(H){return!h.pseudos.empty(H)},header:function(H){return Ys.test(H.nodeName)},input:function(H){return As.test(H.nodeName)},button:function(H){return U(H,"input")&&H.type==="button"||U(H,"button")},text:function(H){var te;return U(H,"input")&&H.type==="text"&&((te=H.getAttribute("type"))==null||te.toLowerCase()==="text")},first:Dr(function(){return[0]}),last:Dr(function(H,te){return[te-1]}),eq:Dr(function(H,te,he){return[he<0?he+te:he]}),even:Dr(function(H,te){for(var he=0;hete?me=te:me=he;--me>=0;)H.push(me);return H}),gt:Dr(function(H,te,he){for(var me=he<0?he+te:he;++me1?function(te,he,me){for(var j=H.length;j--;)if(!H[j](te,he,me))return!1;return!0}:H[0]}function Cp(H,te,he){for(var me=0,j=te.length;me-1&&(Z[Ke]=!(Se[Ke]=Ot))}}else st=vo(st===Se?st.splice(er,st.length):st),j?j(null,Se,st,ze):k.apply(Se,st)})}function wr(H){for(var te,he,me,j=H.length,Q=h.relative[H[0].type],Z=Q||h.relative[" "],Se=Q?1:0,ke=da(function(He){return He===te},Z,!0),ze=da(function(He){return d.call(te,He)>-1},Z,!0),Ke=[function(He,Ot,st){var Mt=!Q&&(st||Ot!=v)||((te=Ot).nodeType?ke(He,Ot,st):ze(He,Ot,st));return te=null,Mt}];Se1&&Ol(Ke),Se>1&&ts(H.slice(0,Se-1).concat({value:H[Se-2].type===" "?"*":""})).replace(le,"$1"),he,Se0,me=H.length>0,j=function(Q,Z,Se,ke,ze){var Ke,He,Ot,st=0,Mt="0",qn=Q&&[],er=[],Yn=v,Er=Q||me&&h.find.TAG("*",ze),Ls=ge+=Yn==null?1:Math.random()||.1,bt=Er.length;for(ze&&(v=Z==R||Z||ze);Mt!==bt&&(Ke=Er[Mt])!=null;Mt++){if(me&&Ke){for(He=0,!Z&&Ke.ownerDocument!=R&&(Xs(Ke),Se=!W);Ot=H[He++];)if(Ot(Ke,Z||R,Se)){k.call(ke,Ke);break}ze&&(ge=Ls)}he&&((Ke=!Ot&&Ke)&&st--,Q&&qn.push(Ke))}if(st+=Mt,he&&Mt!==st){for(He=0;Ot=te[He++];)Ot(qn,er,Z,Se);if(Q){if(st>0)for(;Mt--;)qn[Mt]||er[Mt]||(er[Mt]=G.call(ke));er=vo(er)}k.apply(ke,er),ze&&!Q&&er.length>0&&st+te.length>1&&g.uniqueSort(ke)}return ze&&(ge=Ls,v=Yn),qn};return he?es(j):j}function Al(H,te){var he,me=[],j=[],Q=_t[H+" "];if(!Q){for(te||(te=Ii(H)),he=te.length;he--;)Q=wr(te[he]),Q[Ee]?me.push(Q):j.push(Q);Q=_t(H,Ic(j,me)),Q.selector=H}return Q}function Oc(H,te,he,me){var j,Q,Z,Se,ke,ze=typeof H=="function"&&H,Ke=!me&&Ii(H=ze.selector||H);if(he=he||[],Ke.length===1){if(Q=Ke[0]=Ke[0].slice(0),Q.length>2&&(Z=Q[0]).type==="ID"&&te.nodeType===9&&W&&h.relative[Q[1].type]){if(te=(h.find.ID(Z.matches[0].replace(Ps,ms),te)||[])[0],te)ze&&(te=te.parentNode);else return he;H=H.slice(Q.shift().value.length)}for(j=Rr.needsContext.test(H)?0:Q.length;j--&&(Z=Q[j],!h.relative[Se=Z.type]);)if((ke=h.find[Se])&&(me=ke(Z.matches[0].replace(Ps,ms),Ci.test(Q[0].type)&&Il(te.parentNode)||te))){if(Q.splice(j,1),H=me.length&&ts(Q),!H)return k.apply(he,me),he;break}}return(ze||Al(H,Ke))(me,te,!W,he,!te||Ci.test(H)&&Il(te.parentNode)||te),he}S.sortStable=Ee.split("").sort(Tn).join("")===Ee,Xs(),S.sortDetached=Ba(function(H){return H.compareDocumentPosition(R.createElement("fieldset"))&1}),g.find=an,g.expr[":"]=g.expr.pseudos,g.unique=g.uniqueSort,an.compile=Al,an.select=Oc,an.setDocument=Xs,an.escape=g.escapeSelector,an.getText=g.text,an.isXML=g.isXMLDoc,an.selectors=g.expr,an.support=g.support,an.uniqueSort=g.uniqueSort})();var et=function(c,h,v){for(var x=[],T=v!==void 0;(c=c[h])&&c.nodeType!==9;)if(c.nodeType===1){if(T&&g(c).is(v))break;x.push(c)}return x},Rt=function(c,h){for(var v=[];c;c=c.nextSibling)c.nodeType===1&&c!==h&&v.push(c);return v},at=g.expr.match.needsContext,mt=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function Yt(c,h,v){return O(h)?g.grep(c,function(x,T){return!!h.call(x,T,x)!==v}):h.nodeType?g.grep(c,function(x){return x===h!==v}):typeof h!="string"?g.grep(c,function(x){return d.call(h,x)>-1!==v}):g.filter(h,c,v)}g.filter=function(c,h,v){var x=h[0];return v&&(c=":not("+c+")"),h.length===1&&x.nodeType===1?g.find.matchesSelector(x,c)?[x]:[]:g.find.matches(c,g.grep(h,function(T){return T.nodeType===1}))},g.fn.extend({find:function(c){var h,v,x=this.length,T=this;if(typeof c!="string")return this.pushStack(g(c).filter(function(){for(h=0;h1?g.uniqueSort(v):v},filter:function(c){return this.pushStack(Yt(this,c||[],!1))},not:function(c){return this.pushStack(Yt(this,c||[],!0))},is:function(c){return!!Yt(this,typeof c=="string"&&at.test(c)?g(c):c||[],!1).length}});var Qt,Dt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,dt=g.fn.init=function(c,h,v){var x,T;if(!c)return this;if(v=v||Qt,typeof c=="string")if(c[0]==="<"&&c[c.length-1]===">"&&c.length>=3?x=[null,c,null]:x=Dt.exec(c),x&&(x[1]||!h))if(x[1]){if(h=h instanceof g?h[0]:h,g.merge(this,g.parseHTML(x[1],h&&h.nodeType?h.ownerDocument||h:E,!0)),mt.test(x[1])&&g.isPlainObject(h))for(x in h)O(this[x])?this[x](h[x]):this.attr(x,h[x]);return this}else return T=E.getElementById(x[2]),T&&(this[0]=T,this.length=1),this;else return!h||h.jquery?(h||v).find(c):this.constructor(h).find(c);else{if(c.nodeType)return this[0]=c,this.length=1,this;if(O(c))return v.ready!==void 0?v.ready(c):c(g)}return g.makeArray(c,this)};dt.prototype=g.fn,Qt=g(E);var Pt=/^(?:parents|prev(?:Until|All))/,en={children:!0,contents:!0,next:!0,prev:!0};g.fn.extend({has:function(c){var h=g(c,this),v=h.length;return this.filter(function(){for(var x=0;x-1:v.nodeType===1&&g.find.matchesSelector(v,c))){k.push(v);break}}return this.pushStack(k.length>1?g.uniqueSort(k):k)},index:function(c){return c?typeof c=="string"?d.call(g(c),this[0]):d.call(this,c.jquery?c[0]:c):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(c,h){return this.pushStack(g.uniqueSort(g.merge(this.get(),g(c,h))))},addBack:function(c){return this.add(c==null?this.prevObject:this.prevObject.filter(c))}});function It(c,h){for(;(c=c[h])&&c.nodeType!==1;);return c}g.each({parent:function(c){var h=c.parentNode;return h&&h.nodeType!==11?h:null},parents:function(c){return et(c,"parentNode")},parentsUntil:function(c,h,v){return et(c,"parentNode",v)},next:function(c){return It(c,"nextSibling")},prev:function(c){return It(c,"previousSibling")},nextAll:function(c){return et(c,"nextSibling")},prevAll:function(c){return et(c,"previousSibling")},nextUntil:function(c,h,v){return et(c,"nextSibling",v)},prevUntil:function(c,h,v){return et(c,"previousSibling",v)},siblings:function(c){return Rt((c.parentNode||{}).firstChild,c)},children:function(c){return Rt(c.firstChild)},contents:function(c){return c.contentDocument!=null&&i(c.contentDocument)?c.contentDocument:(U(c,"template")&&(c=c.content||c),g.merge([],c.childNodes))}},function(c,h){g.fn[c]=function(v,x){var T=g.map(this,h,v);return c.slice(-5)!=="Until"&&(x=v),x&&typeof x=="string"&&(T=g.filter(x,T)),this.length>1&&(en[c]||g.uniqueSort(T),Pt.test(c)&&T.reverse()),this.pushStack(T)}});var Wt=/[^\x20\t\r\n\f]+/g;function pn(c){var h={};return g.each(c.match(Wt)||[],function(v,x){h[x]=!0}),h}g.Callbacks=function(c){c=typeof c=="string"?pn(c):g.extend({},c);var h,v,x,T,k=[],R=[],X=-1,W=function(){for(T=T||c.once,x=h=!0;R.length;X=-1)for(v=R.shift();++X-1;)k.splice(ge,1),ge<=X&&X--}),this},has:function(be){return be?g.inArray(be,k)>-1:k.length>0},empty:function(){return k&&(k=[]),this},disable:function(){return T=R=[],k=v="",this},disabled:function(){return!k},lock:function(){return T=R=[],!v&&!h&&(k=v=""),this},locked:function(){return!!T},fireWith:function(be,Ee){return T||(Ee=Ee||[],Ee=[be,Ee.slice?Ee.slice():Ee],R.push(Ee),h||W()),this},fire:function(){return ae.fireWith(this,arguments),this},fired:function(){return!!x}};return ae};function q(c){return c}function P(c){throw c}function L(c,h,v,x){var T;try{c&&O(T=c.promise)?T.call(c).done(h).fail(v):c&&O(T=c.then)?T.call(c,h,v):h.apply(void 0,[c].slice(x))}catch(k){v.apply(void 0,[k])}}g.extend({Deferred:function(c){var h=[["notify","progress",g.Callbacks("memory"),g.Callbacks("memory"),2],["resolve","done",g.Callbacks("once memory"),g.Callbacks("once memory"),0,"resolved"],["reject","fail",g.Callbacks("once memory"),g.Callbacks("once memory"),1,"rejected"]],v="pending",x={state:function(){return v},always:function(){return T.done(arguments).fail(arguments),this},catch:function(k){return x.then(null,k)},pipe:function(){var k=arguments;return g.Deferred(function(R){g.each(h,function(X,W){var ae=O(k[W[4]])&&k[W[4]];T[W[1]](function(){var be=ae&&ae.apply(this,arguments);be&&O(be.promise)?be.promise().progress(R.notify).done(R.resolve).fail(R.reject):R[W[0]+"With"](this,ae?[be]:arguments)})}),k=null}).promise()},then:function(k,R,X){var W=0;function ae(be,Ee,ge,De){return function(){var Ve=this,Et=arguments,_t=function(){var Tn,hs;if(!(be=W&&(ge!==P&&(Ve=void 0,Et=[Tn]),Ee.rejectWith(Ve,Et))}};be?Kn():(g.Deferred.getErrorHook?Kn.error=g.Deferred.getErrorHook():g.Deferred.getStackHook&&(Kn.error=g.Deferred.getStackHook()),t.setTimeout(Kn))}}return g.Deferred(function(be){h[0][3].add(ae(0,be,O(X)?X:q,be.notifyWith)),h[1][3].add(ae(0,be,O(k)?k:q)),h[2][3].add(ae(0,be,O(R)?R:P))}).promise()},promise:function(k){return k!=null?g.extend(k,x):x}},T={};return g.each(h,function(k,R){var X=R[2],W=R[5];x[R[1]]=X.add,W&&X.add(function(){v=W},h[3-k][2].disable,h[3-k][3].disable,h[0][2].lock,h[0][3].lock),X.add(R[3].fire),T[R[0]]=function(){return T[R[0]+"With"](this===T?void 0:this,arguments),this},T[R[0]+"With"]=X.fireWith}),x.promise(T),c&&c.call(T,T),T},when:function(c){var h=arguments.length,v=h,x=Array(v),T=o.call(arguments),k=g.Deferred(),R=function(X){return function(W){x[X]=this,T[X]=arguments.length>1?o.call(arguments):W,--h||k.resolveWith(x,T)}};if(h<=1&&(L(c,k.done(R(v)).resolve,k.reject,!h),k.state()==="pending"||O(T[v]&&T[v].then)))return k.then();for(;v--;)L(T[v],R(v),k.reject);return k.promise()}});var z=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;g.Deferred.exceptionHook=function(c,h){t.console&&t.console.warn&&c&&z.test(c.name)&&t.console.warn("jQuery.Deferred exception: "+c.message,c.stack,h)},g.readyException=function(c){t.setTimeout(function(){throw c})};var se=g.Deferred();g.fn.ready=function(c){return se.then(c).catch(function(h){g.readyException(h)}),this},g.extend({isReady:!1,readyWait:1,ready:function(c){(c===!0?--g.readyWait:g.isReady)||(g.isReady=!0,!(c!==!0&&--g.readyWait>0)&&se.resolveWith(E,[g]))}}),g.ready.then=se.then;function oe(){E.removeEventListener("DOMContentLoaded",oe),t.removeEventListener("load",oe),g.ready()}E.readyState==="complete"||E.readyState!=="loading"&&!E.documentElement.doScroll?t.setTimeout(g.ready):(E.addEventListener("DOMContentLoaded",oe),t.addEventListener("load",oe));var Ce=function(c,h,v,x,T,k,R){var X=0,W=c.length,ae=v==null;if(N(v)==="object"){T=!0;for(X in v)Ce(c,h,X,v[X],!0,k,R)}else if(x!==void 0&&(T=!0,O(x)||(R=!0),ae&&(R?(h.call(c,x),h=null):(ae=h,h=function(be,Ee,ge){return ae.call(g(be),ge)})),h))for(;X1,null,!0)},removeData:function(c){return this.each(function(){Xe.remove(this,c)})}}),g.extend({queue:function(c,h,v){var x;if(c)return h=(h||"fx")+"queue",x=we.get(c,h),v&&(!x||Array.isArray(v)?x=we.access(c,h,g.makeArray(v)):x.push(v)),x||[]},dequeue:function(c,h){h=h||"fx";var v=g.queue(c,h),x=v.length,T=v.shift(),k=g._queueHooks(c,h),R=function(){g.dequeue(c,h)};T==="inprogress"&&(T=v.shift(),x--),T&&(h==="fx"&&v.unshift("inprogress"),delete k.stop,T.call(c,R,k)),!x&&k&&k.empty.fire()},_queueHooks:function(c,h){var v=h+"queueHooks";return we.get(c,v)||we.access(c,v,{empty:g.Callbacks("once memory").add(function(){we.remove(c,[h+"queue",v])})})}}),g.fn.extend({queue:function(c,h){var v=2;return typeof c!="string"&&(h=c,c="fx",v--),arguments.length\x20\t\r\n\f]*)/i,La=/^$|^module$|\/(?:java|ecma)script/i;(function(){var c=E.createDocumentFragment(),h=c.appendChild(E.createElement("div")),v=E.createElement("input");v.setAttribute("type","radio"),v.setAttribute("checked","checked"),v.setAttribute("name","t"),h.appendChild(v),S.checkClone=h.cloneNode(!0).cloneNode(!0).lastChild.checked,h.innerHTML="",S.noCloneChecked=!!h.cloneNode(!0).lastChild.defaultValue,h.innerHTML="",S.option=!!h.lastChild})();var fr={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};fr.tbody=fr.tfoot=fr.colgroup=fr.caption=fr.thead,fr.th=fr.td,S.option||(fr.optgroup=fr.option=[1,""]);function Rn(c,h){var v;return typeof c.getElementsByTagName<"u"?v=c.getElementsByTagName(h||"*"):typeof c.querySelectorAll<"u"?v=c.querySelectorAll(h||"*"):v=[],h===void 0||h&&U(c,h)?g.merge([c],v):v}function oo(c,h){for(var v=0,x=c.length;v-1){T&&T.push(k);continue}if(ae=qe(k),R=Rn(Ee.appendChild(k),"script"),ae&&oo(R),v)for(be=0;k=R[be++];)La.test(k.type||"")&&v.push(k)}return Ee}var sc=/^([^.]*)(?:\.(.+)|)/;function Gs(){return!0}function Na(){return!1}function xi(c,h,v,x,T,k){var R,X;if(typeof h=="object"){typeof v!="string"&&(x=x||v,v=void 0);for(X in h)xi(c,X,v,x,h[X],k);return c}if(x==null&&T==null?(T=v,x=v=void 0):T==null&&(typeof v=="string"?(T=x,x=void 0):(T=x,x=v,v=void 0)),T===!1)T=Na;else if(!T)return c;return k===1&&(R=T,T=function(W){return g().off(W),R.apply(this,arguments)},T.guid=R.guid||(R.guid=g.guid++)),c.each(function(){g.event.add(this,h,T,x,v)})}g.event={global:{},add:function(c,h,v,x,T){var k,R,X,W,ae,be,Ee,ge,De,Ve,Et,_t=we.get(c);if(!!pe(c))for(v.handler&&(k=v,v=k.handler,T=k.selector),T&&g.find.matchesSelector(Je,T),v.guid||(v.guid=g.guid++),(W=_t.events)||(W=_t.events=Object.create(null)),(R=_t.handle)||(R=_t.handle=function(Kn){return typeof g<"u"&&g.event.triggered!==Kn.type?g.event.dispatch.apply(c,arguments):void 0}),h=(h||"").match(Wt)||[""],ae=h.length;ae--;)X=sc.exec(h[ae])||[],De=Et=X[1],Ve=(X[2]||"").split(".").sort(),De&&(Ee=g.event.special[De]||{},De=(T?Ee.delegateType:Ee.bindType)||De,Ee=g.event.special[De]||{},be=g.extend({type:De,origType:Et,data:x,handler:v,guid:v.guid,selector:T,needsContext:T&&g.expr.match.needsContext.test(T),namespace:Ve.join(".")},k),(ge=W[De])||(ge=W[De]=[],ge.delegateCount=0,(!Ee.setup||Ee.setup.call(c,x,Ve,R)===!1)&&c.addEventListener&&c.addEventListener(De,R)),Ee.add&&(Ee.add.call(c,be),be.handler.guid||(be.handler.guid=v.guid)),T?ge.splice(ge.delegateCount++,0,be):ge.push(be),g.event.global[De]=!0)},remove:function(c,h,v,x,T){var k,R,X,W,ae,be,Ee,ge,De,Ve,Et,_t=we.hasData(c)&&we.get(c);if(!(!_t||!(W=_t.events))){for(h=(h||"").match(Wt)||[""],ae=h.length;ae--;){if(X=sc.exec(h[ae])||[],De=Et=X[1],Ve=(X[2]||"").split(".").sort(),!De){for(De in W)g.event.remove(c,De+h[ae],v,x,!0);continue}for(Ee=g.event.special[De]||{},De=(x?Ee.delegateType:Ee.bindType)||De,ge=W[De]||[],X=X[2]&&new RegExp("(^|\\.)"+Ve.join("\\.(?:.*\\.|)")+"(\\.|$)"),R=k=ge.length;k--;)be=ge[k],(T||Et===be.origType)&&(!v||v.guid===be.guid)&&(!X||X.test(be.namespace))&&(!x||x===be.selector||x==="**"&&be.selector)&&(ge.splice(k,1),be.selector&&ge.delegateCount--,Ee.remove&&Ee.remove.call(c,be));R&&!ge.length&&((!Ee.teardown||Ee.teardown.call(c,Ve,_t.handle)===!1)&&g.removeEvent(c,De,_t.handle),delete W[De])}g.isEmptyObject(W)&&we.remove(c,"handle events")}},dispatch:function(c){var h,v,x,T,k,R,X=new Array(arguments.length),W=g.event.fix(c),ae=(we.get(this,"events")||Object.create(null))[W.type]||[],be=g.event.special[W.type]||{};for(X[0]=W,h=1;h=1)){for(;ae!==this;ae=ae.parentNode||this)if(ae.nodeType===1&&!(c.type==="click"&&ae.disabled===!0)){for(k=[],R={},v=0;v-1:g.find(T,this,null,[ae]).length),R[T]&&k.push(x);k.length&&X.push({elem:ae,handlers:k})}}return ae=this,W\s*$/g;function ac(c,h){return U(c,"table")&&U(h.nodeType!==11?h:h.firstChild,"tr")&&g(c).children("tbody")[0]||c}function lp(c){return c.type=(c.getAttribute("type")!==null)+"/"+c.type,c}function up(c){return(c.type||"").slice(0,5)==="true/"?c.type=c.type.slice(5):c.removeAttribute("type"),c}function ic(c,h){var v,x,T,k,R,X,W;if(h.nodeType===1){if(we.hasData(c)&&(k=we.get(c),W=k.events,W)){we.remove(h,"handle events");for(T in W)for(v=0,x=W[T].length;v1&&typeof De=="string"&&!S.checkClone&&ip.test(De))return c.each(function(Et){var _t=c.eq(Et);Ve&&(h[0]=De.call(this,Et,_t.html())),Ra(_t,h,v,x)});if(Ee&&(T=rc(h,c[0].ownerDocument,!1,c,x),k=T.firstChild,T.childNodes.length===1&&(T=k),k||x)){for(R=g.map(Rn(T,"script"),lp),X=R.length;be0&&oo(R,!W&&Rn(c,"script")),X},cleanData:function(c){for(var h,v,x,T=g.event.special,k=0;(v=c[k])!==void 0;k++)if(pe(v)){if(h=v[we.expando]){if(h.events)for(x in h.events)T[x]?g.event.remove(v,x):g.removeEvent(v,x,h.handle);v[we.expando]=void 0}v[Xe.expando]&&(v[Xe.expando]=void 0)}}}),g.fn.extend({detach:function(c){return lc(this,c,!0)},remove:function(c){return lc(this,c)},text:function(c){return Ce(this,function(h){return h===void 0?g.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=h)})},null,c,arguments.length)},append:function(){return Ra(this,arguments,function(c){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var h=ac(this,c);h.appendChild(c)}})},prepend:function(){return Ra(this,arguments,function(c){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var h=ac(this,c);h.insertBefore(c,h.firstChild)}})},before:function(){return Ra(this,arguments,function(c){this.parentNode&&this.parentNode.insertBefore(c,this)})},after:function(){return Ra(this,arguments,function(c){this.parentNode&&this.parentNode.insertBefore(c,this.nextSibling)})},empty:function(){for(var c,h=0;(c=this[h])!=null;h++)c.nodeType===1&&(g.cleanData(Rn(c,!1)),c.textContent="");return this},clone:function(c,h){return c=c==null?!1:c,h=h==null?c:h,this.map(function(){return g.clone(this,c,h)})},html:function(c){return Ce(this,function(h){var v=this[0]||{},x=0,T=this.length;if(h===void 0&&v.nodeType===1)return v.innerHTML;if(typeof h=="string"&&!ap.test(h)&&!fr[(zn.exec(h)||["",""])[1].toLowerCase()]){h=g.htmlPrefilter(h);try{for(;x=0&&(W+=Math.max(0,Math.ceil(c["offset"+h[0].toUpperCase()+h.slice(1)]-k-W-X-.5))||0),W+ae}function pl(c,h,v){var x=uo(c),T=!S.boxSizingReliable()||v,k=T&&g.css(c,"boxSizing",!1,x)==="border-box",R=k,X=wi(c,h,x),W="offset"+h[0].toUpperCase()+h.slice(1);if(cl.test(X)){if(!v)return X;X="auto"}return(!S.boxSizingReliable()&&k||!S.reliableTrDimensions()&&U(c,"tr")||X==="auto"||!parseFloat(X)&&g.css(c,"display",!1,x)==="inline")&&c.getClientRects().length&&(k=g.css(c,"boxSizing",!1,x)==="border-box",R=W in c,R&&(X=c[W])),X=parseFloat(X)||0,X+fl(c,h,v||(k?"border":"content"),R,x,X)+"px"}g.extend({cssHooks:{opacity:{get:function(c,h){if(h){var v=wi(c,"opacity");return v===""?"1":v}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(c,h,v,x){if(!(!c||c.nodeType===3||c.nodeType===8||!c.style)){var T,k,R,X=ie(h),W=dl.test(h),ae=c.style;if(W||(h=fo(X)),R=g.cssHooks[h]||g.cssHooks[X],v!==void 0){if(k=typeof v,k==="string"&&(T=Le.exec(v))&&T[1]&&(v=it(c,h,T),k="number"),v==null||v!==v)return;k==="number"&&!W&&(v+=T&&T[3]||(g.cssNumber[X]?"":"px")),!S.clearCloneStyle&&v===""&&h.indexOf("background")===0&&(ae[h]="inherit"),(!R||!("set"in R)||(v=R.set(c,v,x))!==void 0)&&(W?ae.setProperty(h,v):ae[h]=v)}else return R&&"get"in R&&(T=R.get(c,!1,x))!==void 0?T:ae[h]}},css:function(c,h,v,x){var T,k,R,X=ie(h),W=dl.test(h);return W||(h=fo(X)),R=g.cssHooks[h]||g.cssHooks[X],R&&"get"in R&&(T=R.get(c,!0,v)),T===void 0&&(T=wi(c,h,x)),T==="normal"&&h in gc&&(T=gc[h]),v===""||v?(k=parseFloat(T),v===!0||isFinite(k)?k||0:T):T}}),g.each(["height","width"],function(c,h){g.cssHooks[h]={get:function(v,x,T){if(x)return hc.test(g.css(v,"display"))&&(!v.getClientRects().length||!v.getBoundingClientRect().width)?uc(v,cp,function(){return pl(v,h,T)}):pl(v,h,T)},set:function(v,x,T){var k,R=uo(v),X=!S.scrollboxSize()&&R.position==="absolute",W=X||T,ae=W&&g.css(v,"boxSizing",!1,R)==="border-box",be=T?fl(v,h,T,ae,R):0;return ae&&X&&(be-=Math.ceil(v["offset"+h[0].toUpperCase()+h.slice(1)]-parseFloat(R[h])-fl(v,h,"border",!1,R)-.5)),be&&(k=Le.exec(x))&&(k[3]||"px")!=="px"&&(v.style[h]=x,x=g.css(v,h)),mc(v,x,be)}}}),g.cssHooks.marginLeft=Ei(S.reliableMarginLeft,function(c,h){if(h)return(parseFloat(wi(c,"marginLeft"))||c.getBoundingClientRect().left-uc(c,{marginLeft:0},function(){return c.getBoundingClientRect().left}))+"px"}),g.each({margin:"",padding:"",border:"Width"},function(c,h){g.cssHooks[c+h]={expand:function(v){for(var x=0,T={},k=typeof v=="string"?v.split(" "):[v];x<4;x++)T[c+Fe[x]+h]=k[x]||k[x-2]||k[0];return T}},c!=="margin"&&(g.cssHooks[c+h].set=mc)}),g.fn.extend({css:function(c,h){return Ce(this,function(v,x,T){var k,R,X={},W=0;if(Array.isArray(x)){for(k=uo(v),R=x.length;W1)}});function ar(c,h,v,x,T){return new ar.prototype.init(c,h,v,x,T)}g.Tween=ar,ar.prototype={constructor:ar,init:function(c,h,v,x,T,k){this.elem=c,this.prop=v,this.easing=T||g.easing._default,this.options=h,this.start=this.now=this.cur(),this.end=x,this.unit=k||(g.cssNumber[v]?"":"px")},cur:function(){var c=ar.propHooks[this.prop];return c&&c.get?c.get(this):ar.propHooks._default.get(this)},run:function(c){var h,v=ar.propHooks[this.prop];return this.options.duration?this.pos=h=g.easing[this.easing](c,this.options.duration*c,0,1,this.options.duration):this.pos=h=c,this.now=(this.end-this.start)*h+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),v&&v.set?v.set(this):ar.propHooks._default.set(this),this}},ar.prototype.init.prototype=ar.prototype,ar.propHooks={_default:{get:function(c){var h;return c.elem.nodeType!==1||c.elem[c.prop]!=null&&c.elem.style[c.prop]==null?c.elem[c.prop]:(h=g.css(c.elem,c.prop,""),!h||h==="auto"?0:h)},set:function(c){g.fx.step[c.prop]?g.fx.step[c.prop](c):c.elem.nodeType===1&&(g.cssHooks[c.prop]||c.elem.style[fo(c.prop)]!=null)?g.style(c.elem,c.prop,c.now+c.unit):c.elem[c.prop]=c.now}}},ar.propHooks.scrollTop=ar.propHooks.scrollLeft={set:function(c){c.elem.nodeType&&c.elem.parentNode&&(c.elem[c.prop]=c.now)}},g.easing={linear:function(c){return c},swing:function(c){return .5-Math.cos(c*Math.PI)/2},_default:"swing"},g.fx=ar.prototype.init,g.fx.step={};var la,Da,dp=/^(?:toggle|show|hide)$/,yc=/queueHooks$/;function Ma(){Da&&(E.hidden===!1&&t.requestAnimationFrame?t.requestAnimationFrame(Ma):t.setTimeout(Ma,g.fx.interval),g.fx.tick())}function hl(){return t.setTimeout(function(){la=void 0}),la=Date.now()}function po(c,h){var v,x=0,T={height:c};for(h=h?1:0;x<4;x+=2-h)v=Fe[x],T["margin"+v]=T["padding"+v]=c;return h&&(T.opacity=T.width=c),T}function gl(c,h,v){for(var x,T=(Zr.tweeners[h]||[]).concat(Zr.tweeners["*"]),k=0,R=T.length;k1)},removeAttr:function(c){return this.each(function(){g.removeAttr(this,c)})}}),g.extend({attr:function(c,h,v){var x,T,k=c.nodeType;if(!(k===3||k===8||k===2)){if(typeof c.getAttribute>"u")return g.prop(c,h,v);if((k!==1||!g.isXMLDoc(c))&&(T=g.attrHooks[h.toLowerCase()]||(g.expr.match.bool.test(h)?yl:void 0)),v!==void 0){if(v===null){g.removeAttr(c,h);return}return T&&"set"in T&&(x=T.set(c,v,h))!==void 0?x:(c.setAttribute(h,v+""),v)}return T&&"get"in T&&(x=T.get(c,h))!==null?x:(x=g.find.attr(c,h),x==null?void 0:x)}},attrHooks:{type:{set:function(c,h){if(!S.radioValue&&h==="radio"&&U(c,"input")){var v=c.value;return c.setAttribute("type",h),v&&(c.value=v),h}}}},removeAttr:function(c,h){var v,x=0,T=h&&h.match(Wt);if(T&&c.nodeType===1)for(;v=T[x++];)c.removeAttribute(v)}}),yl={set:function(c,h,v){return h===!1?g.removeAttr(c,v):c.setAttribute(v,v),v}},g.each(g.expr.match.bool.source.match(/\w+/g),function(c,h){var v=ua[h]||g.find.attr;ua[h]=function(x,T,k){var R,X,W=T.toLowerCase();return k||(X=ua[W],ua[W]=R,R=v(x,T,k)!=null?W:null,ua[W]=X),R}});var vl=/^(?:input|select|textarea|button)$/i,$a=/^(?:a|area)$/i;g.fn.extend({prop:function(c,h){return Ce(this,g.prop,c,h,arguments.length>1)},removeProp:function(c){return this.each(function(){delete this[g.propFix[c]||c]})}}),g.extend({prop:function(c,h,v){var x,T,k=c.nodeType;if(!(k===3||k===8||k===2))return(k!==1||!g.isXMLDoc(c))&&(h=g.propFix[h]||h,T=g.propHooks[h]),v!==void 0?T&&"set"in T&&(x=T.set(c,v,h))!==void 0?x:c[h]=v:T&&"get"in T&&(x=T.get(c,h))!==null?x:c[h]},propHooks:{tabIndex:{get:function(c){var h=g.find.attr(c,"tabindex");return h?parseInt(h,10):vl.test(c.nodeName)||$a.test(c.nodeName)&&c.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),S.optSelected||(g.propHooks.selected={get:function(c){var h=c.parentNode;return h&&h.parentNode&&h.parentNode.selectedIndex,null},set:function(c){var h=c.parentNode;h&&(h.selectedIndex,h.parentNode&&h.parentNode.selectedIndex)}}),g.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){g.propFix[this.toLowerCase()]=this});function zs(c){var h=c.match(Wt)||[];return h.join(" ")}function Ks(c){return c.getAttribute&&c.getAttribute("class")||""}function bl(c){return Array.isArray(c)?c:typeof c=="string"?c.match(Wt)||[]:[]}g.fn.extend({addClass:function(c){var h,v,x,T,k,R;return O(c)?this.each(function(X){g(this).addClass(c.call(this,X,Ks(this)))}):(h=bl(c),h.length?this.each(function(){if(x=Ks(this),v=this.nodeType===1&&" "+zs(x)+" ",v){for(k=0;k-1;)v=v.replace(" "+T+" "," ");R=zs(v),x!==R&&this.setAttribute("class",R)}}):this):this.attr("class","")},toggleClass:function(c,h){var v,x,T,k,R=typeof c,X=R==="string"||Array.isArray(c);return O(c)?this.each(function(W){g(this).toggleClass(c.call(this,W,Ks(this),h),h)}):typeof h=="boolean"&&X?h?this.addClass(c):this.removeClass(c):(v=bl(c),this.each(function(){if(X)for(k=g(this),T=0;T-1)return!0;return!1}});var bc=/\r/g;g.fn.extend({val:function(c){var h,v,x,T=this[0];return arguments.length?(x=O(c),this.each(function(k){var R;this.nodeType===1&&(x?R=c.call(this,k,g(this).val()):R=c,R==null?R="":typeof R=="number"?R+="":Array.isArray(R)&&(R=g.map(R,function(X){return X==null?"":X+""})),h=g.valHooks[this.type]||g.valHooks[this.nodeName.toLowerCase()],(!h||!("set"in h)||h.set(this,R,"value")===void 0)&&(this.value=R))})):T?(h=g.valHooks[T.type]||g.valHooks[T.nodeName.toLowerCase()],h&&"get"in h&&(v=h.get(T,"value"))!==void 0?v:(v=T.value,typeof v=="string"?v.replace(bc,""):v==null?"":v)):void 0}}),g.extend({valHooks:{option:{get:function(c){var h=g.find.attr(c,"value");return h!=null?h:zs(g.text(c))}},select:{get:function(c){var h,v,x,T=c.options,k=c.selectedIndex,R=c.type==="select-one",X=R?null:[],W=R?k+1:T.length;for(k<0?x=W:x=R?k:0;x-1)&&(v=!0);return v||(c.selectedIndex=-1),k}}}}),g.each(["radio","checkbox"],function(){g.valHooks[this]={set:function(c,h){if(Array.isArray(h))return c.checked=g.inArray(g(c).val(),h)>-1}},S.checkOn||(g.valHooks[this].get=function(c){return c.getAttribute("value")===null?"on":c.value})});var Fa=t.location,_l={guid:Date.now()},ho=/\?/;g.parseXML=function(c){var h,v;if(!c||typeof c!="string")return null;try{h=new t.DOMParser().parseFromString(c,"text/xml")}catch{}return v=h&&h.getElementsByTagName("parsererror")[0],(!h||v)&&g.error("Invalid XML: "+(v?g.map(v.childNodes,function(x){return x.textContent}).join(` `):c)),h};var _c=/^(?:focusinfocus|focusoutblur)$/,xc=function(c){c.stopPropagation()};g.extend(g.event,{trigger:function(c,h,v,x){var T,k,R,X,W,ae,be,Ee,ge=[v||E],De=m.call(c,"type")?c.type:c,Ve=m.call(c,"namespace")?c.namespace.split("."):[];if(k=Ee=R=v=v||E,!(v.nodeType===3||v.nodeType===8)&&!_c.test(De+g.event.triggered)&&(De.indexOf(".")>-1&&(Ve=De.split("."),De=Ve.shift(),Ve.sort()),W=De.indexOf(":")<0&&"on"+De,c=c[g.expando]?c:new g.Event(De,typeof c=="object"&&c),c.isTrigger=x?2:3,c.namespace=Ve.join("."),c.rnamespace=c.namespace?new RegExp("(^|\\.)"+Ve.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,c.result=void 0,c.target||(c.target=v),h=h==null?[c]:g.makeArray(h,[c]),be=g.event.special[De]||{},!(!x&&be.trigger&&be.trigger.apply(v,h)===!1))){if(!x&&!be.noBubble&&!D(v)){for(X=be.delegateType||De,_c.test(X+De)||(k=k.parentNode);k;k=k.parentNode)ge.push(k),R=k;R===(v.ownerDocument||E)&&ge.push(R.defaultView||R.parentWindow||t)}for(T=0;(k=ge[T++])&&!c.isPropagationStopped();)Ee=k,c.type=T>1?X:be.bindType||De,ae=(we.get(k,"events")||Object.create(null))[c.type]&&we.get(k,"handle"),ae&&ae.apply(k,h),ae=W&&k[W],ae&&ae.apply&&pe(k)&&(c.result=ae.apply(k,h),c.result===!1&&c.preventDefault());return c.type=De,!x&&!c.isDefaultPrevented()&&(!be._default||be._default.apply(ge.pop(),h)===!1)&&pe(v)&&W&&O(v[De])&&!D(v)&&(R=v[W],R&&(v[W]=null),g.event.triggered=De,c.isPropagationStopped()&&Ee.addEventListener(De,xc),v[De](),c.isPropagationStopped()&&Ee.removeEventListener(De,xc),g.event.triggered=void 0,R&&(v[W]=R)),c.result}},simulate:function(c,h,v){var x=g.extend(new g.Event,v,{type:c,isSimulated:!0});g.event.trigger(x,null,h)}}),g.fn.extend({trigger:function(c,h){return this.each(function(){g.event.trigger(c,h,this)})},triggerHandler:function(c,h){var v=this[0];if(v)return g.event.trigger(c,h,v,!0)}});var fp=/\[\]$/,xl=/\r?\n/g,pp=/^(?:submit|button|image|reset|file)$/i,hp=/^(?:input|select|textarea|keygen)/i;function wl(c,h,v,x){var T;if(Array.isArray(h))g.each(h,function(k,R){v||fp.test(c)?x(c,R):wl(c+"["+(typeof R=="object"&&R!=null?k:"")+"]",R,v,x)});else if(!v&&N(h)==="object")for(T in h)wl(c+"["+T+"]",h[T],v,x);else x(c,h)}g.param=function(c,h){var v,x=[],T=function(k,R){var X=O(R)?R():R;x[x.length]=encodeURIComponent(k)+"="+encodeURIComponent(X==null?"":X)};if(c==null)return"";if(Array.isArray(c)||c.jquery&&!g.isPlainObject(c))g.each(c,function(){T(this.name,this.value)});else for(v in c)wl(v,c[v],h,T);return x.join("&")},g.fn.extend({serialize:function(){return g.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var c=g.prop(this,"elements");return c?g.makeArray(c):this}).filter(function(){var c=this.type;return this.name&&!g(this).is(":disabled")&&hp.test(this.nodeName)&&!pp.test(c)&&(this.checked||!Ct.test(c))}).map(function(c,h){var v=g(this).val();return v==null?null:Array.isArray(v)?g.map(v,function(x){return{name:h.name,value:x.replace(xl,`\r `)}}):{name:h.name,value:v.replace(xl,`\r -`)}}).get()}});var gp=/%20/g,El=/#.*$/,mp=/([?&])_=[^&]*/,yp=/^(.*?):[ \t]*([^\r\n]*)$/mg,vp=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,bp=/^(?:GET|HEAD)$/,_p=/^\/\//,hn={},on={},wc="*/".concat("*"),Sl=E.createElement("a");Sl.href=Fa.href;function Ec(c){return function(h,v){typeof h!="string"&&(v=h,h="*");var x,T=0,k=h.toLowerCase().match(Wt)||[];if(O(v))for(;x=k[T++];)x[0]==="+"?(x=x.slice(1)||"*",(c[x]=c[x]||[]).unshift(v)):(c[x]=c[x]||[]).push(v)}}function Sc(c,h,v,x){var T={},k=c===on;function R(X){var W;return T[X]=!0,g.each(c[X]||[],function(ae,be){var Ee=be(h,v,x);if(typeof Ee=="string"&&!k&&!T[Ee])return h.dataTypes.unshift(Ee),R(Ee),!1;if(k)return!(W=Ee)}),W}return R(h.dataTypes[0])||!T["*"]&&R("*")}function Cl(c,h){var v,x,T=g.ajaxSettings.flatOptions||{};for(v in h)h[v]!==void 0&&((T[v]?c:x||(x={}))[v]=h[v]);return x&&g.extend(!0,c,x),c}function xp(c,h,v){for(var x,T,k,R,X=c.contents,W=c.dataTypes;W[0]==="*";)W.shift(),x===void 0&&(x=c.mimeType||h.getResponseHeader("Content-Type"));if(x){for(T in X)if(X[T]&&X[T].test(x)){W.unshift(T);break}}if(W[0]in v)k=W[0];else{for(T in v){if(!W[0]||c.converters[T+" "+W[0]]){k=T;break}R||(R=T)}k=k||R}if(k)return k!==W[0]&&W.unshift(k),v[k]}function Cc(c,h,v,x){var T,k,R,X,W,ae={},be=c.dataTypes.slice();if(be[1])for(R in c.converters)ae[R.toLowerCase()]=c.converters[R];for(k=be.shift();k;)if(c.responseFields[k]&&(v[c.responseFields[k]]=h),!W&&x&&c.dataFilter&&(h=c.dataFilter(h,c.dataType)),W=k,k=be.shift(),k){if(k==="*")k=W;else if(W!=="*"&&W!==k){if(R=ae[W+" "+k]||ae["* "+k],!R){for(T in ae)if(X=T.split(" "),X[1]===k&&(R=ae[W+" "+X[0]]||ae["* "+X[0]],R)){R===!0?R=ae[T]:ae[T]!==!0&&(k=X[0],be.unshift(X[1]));break}}if(R!==!0)if(R&&c.throws)h=R(h);else try{h=R(h)}catch(Ee){return{state:"parsererror",error:R?Ee:"No conversion from "+W+" to "+k}}}}return{state:"success",data:h}}g.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Fa.href,type:"GET",isLocal:vp.test(Fa.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":wc,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":g.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(c,h){return h?Cl(Cl(c,g.ajaxSettings),h):Cl(g.ajaxSettings,c)},ajaxPrefilter:Ec(hn),ajaxTransport:Ec(on),ajax:function(c,h){typeof c=="object"&&(h=c,c=void 0),h=h||{};var v,x,T,k,R,X,W,ae,be,Ee,ge=g.ajaxSetup({},h),De=ge.context||ge,Ve=ge.context&&(De.nodeType||De.jquery)?g(De):g.event,Et=g.Deferred(),_t=g.Callbacks("once memory"),Kn=ge.statusCode||{},Tn={},hs={},gs="canceled",Ut={readyState:0,getResponseHeader:function(jt){var un;if(W){if(!k)for(k={};un=yp.exec(T);)k[un[1].toLowerCase()+" "]=(k[un[1].toLowerCase()+" "]||[]).concat(un[2]);un=k[jt.toLowerCase()+" "]}return un==null?null:un.join(", ")},getAllResponseHeaders:function(){return W?T:null},setRequestHeader:function(jt,un){return W==null&&(jt=hs[jt.toLowerCase()]=hs[jt.toLowerCase()]||jt,Tn[jt]=un),this},overrideMimeType:function(jt){return W==null&&(ge.mimeType=jt),this},statusCode:function(jt){var un;if(jt)if(W)Ut.always(jt[Ut.status]);else for(un in jt)Kn[un]=[Kn[un],jt[un]];return this},abort:function(jt){var un=jt||gs;return v&&v.abort(un),qs(0,un),this}};if(Et.promise(Ut),ge.url=((c||ge.url||Fa.href)+"").replace(_p,Fa.protocol+"//"),ge.type=h.method||h.type||ge.method||ge.type,ge.dataTypes=(ge.dataType||"*").toLowerCase().match(Wt)||[""],ge.crossDomain==null){X=E.createElement("a");try{X.href=ge.url,X.href=X.href,ge.crossDomain=Sl.protocol+"//"+Sl.host!=X.protocol+"//"+X.host}catch{ge.crossDomain=!0}}if(ge.data&&ge.processData&&typeof ge.data!="string"&&(ge.data=g.param(ge.data,ge.traditional)),Sc(hn,ge,h,Ut),W)return Ut;ae=g.event&&ge.global,ae&&g.active++===0&&g.event.trigger("ajaxStart"),ge.type=ge.type.toUpperCase(),ge.hasContent=!bp.test(ge.type),x=ge.url.replace(El,""),ge.hasContent?ge.data&&ge.processData&&(ge.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(ge.data=ge.data.replace(gp,"+")):(Ee=ge.url.slice(x.length),ge.data&&(ge.processData||typeof ge.data=="string")&&(x+=(ho.test(x)?"&":"?")+ge.data,delete ge.data),ge.cache===!1&&(x=x.replace(mp,"$1"),Ee=(ho.test(x)?"&":"?")+"_="+_l.guid+++Ee),ge.url=x+Ee),ge.ifModified&&(g.lastModified[x]&&Ut.setRequestHeader("If-Modified-Since",g.lastModified[x]),g.etag[x]&&Ut.setRequestHeader("If-None-Match",g.etag[x])),(ge.data&&ge.hasContent&&ge.contentType!==!1||h.contentType)&&Ut.setRequestHeader("Content-Type",ge.contentType),Ut.setRequestHeader("Accept",ge.dataTypes[0]&&ge.accepts[ge.dataTypes[0]]?ge.accepts[ge.dataTypes[0]]+(ge.dataTypes[0]!=="*"?", "+wc+"; q=0.01":""):ge.accepts["*"]);for(be in ge.headers)Ut.setRequestHeader(be,ge.headers[be]);if(ge.beforeSend&&(ge.beforeSend.call(De,Ut,ge)===!1||W))return Ut.abort();if(gs="abort",_t.add(ge.complete),Ut.done(ge.success),Ut.fail(ge.error),v=Sc(on,ge,h,Ut),!v)qs(-1,"No Transport");else{if(Ut.readyState=1,ae&&Ve.trigger("ajaxSend",[Ut,ge]),W)return Ut;ge.async&&ge.timeout>0&&(R=t.setTimeout(function(){Ut.abort("timeout")},ge.timeout));try{W=!1,v.send(Tn,qs)}catch(jt){if(W)throw jt;qs(-1,jt)}}function qs(jt,un,Si,mo){var Qr,ca,Rr,As,Ys,pr=un;W||(W=!0,R&&t.clearTimeout(R),v=void 0,T=mo||"",Ut.readyState=jt>0?4:0,Qr=jt>=200&&jt<300||jt===304,Si&&(As=xp(ge,Ut,Si)),!Qr&&g.inArray("script",ge.dataTypes)>-1&&g.inArray("json",ge.dataTypes)<0&&(ge.converters["text script"]=function(){}),As=Cc(ge,As,Ut,Qr),Qr?(ge.ifModified&&(Ys=Ut.getResponseHeader("Last-Modified"),Ys&&(g.lastModified[x]=Ys),Ys=Ut.getResponseHeader("etag"),Ys&&(g.etag[x]=Ys)),jt===204||ge.type==="HEAD"?pr="nocontent":jt===304?pr="notmodified":(pr=As.state,ca=As.data,Rr=As.error,Qr=!Rr)):(Rr=pr,(jt||!pr)&&(pr="error",jt<0&&(jt=0))),Ut.status=jt,Ut.statusText=(un||pr)+"",Qr?Et.resolveWith(De,[ca,pr,Ut]):Et.rejectWith(De,[Ut,pr,Rr]),Ut.statusCode(Kn),Kn=void 0,ae&&Ve.trigger(Qr?"ajaxSuccess":"ajaxError",[Ut,ge,Qr?ca:Rr]),_t.fireWith(De,[Ut,pr]),ae&&(Ve.trigger("ajaxComplete",[Ut,ge]),--g.active||g.event.trigger("ajaxStop")))}return Ut},getJSON:function(c,h,v){return g.get(c,h,v,"json")},getScript:function(c,h){return g.get(c,void 0,h,"script")}}),g.each(["get","post"],function(c,h){g[h]=function(v,x,T,k){return O(x)&&(k=k||T,T=x,x=void 0),g.ajax(g.extend({url:v,type:h,dataType:k,data:x,success:T},g.isPlainObject(v)&&v))}}),g.ajaxPrefilter(function(c){var h;for(h in c.headers)h.toLowerCase()==="content-type"&&(c.contentType=c.headers[h]||"")}),g._evalUrl=function(c,h,v){return g.ajax({url:c,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(x){g.globalEval(x,h,v)}})},g.fn.extend({wrapAll:function(c){var h;return this[0]&&(O(c)&&(c=c.call(this[0])),h=g(c,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&h.insertBefore(this[0]),h.map(function(){for(var v=this;v.firstElementChild;)v=v.firstElementChild;return v}).append(this)),this},wrapInner:function(c){return O(c)?this.each(function(h){g(this).wrapInner(c.call(this,h))}):this.each(function(){var h=g(this),v=h.contents();v.length?v.wrapAll(c):h.append(c)})},wrap:function(c){var h=O(c);return this.each(function(v){g(this).wrapAll(h?c.call(this,v):c)})},unwrap:function(c){return this.parent(c).not("body").each(function(){g(this).replaceWith(this.childNodes)}),this}}),g.expr.pseudos.hidden=function(c){return!g.expr.pseudos.visible(c)},g.expr.pseudos.visible=function(c){return!!(c.offsetWidth||c.offsetHeight||c.getClientRects().length)},g.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch{}};var wp={0:200,1223:204},Cn=g.ajaxSettings.xhr();S.cors=!!Cn&&"withCredentials"in Cn,S.ajax=Cn=!!Cn,g.ajaxTransport(function(c){var h,v;if(S.cors||Cn&&!c.crossDomain)return{send:function(x,T){var k,R=c.xhr();if(R.open(c.type,c.url,c.async,c.username,c.password),c.xhrFields)for(k in c.xhrFields)R[k]=c.xhrFields[k];c.mimeType&&R.overrideMimeType&&R.overrideMimeType(c.mimeType),!c.crossDomain&&!x["X-Requested-With"]&&(x["X-Requested-With"]="XMLHttpRequest");for(k in x)R.setRequestHeader(k,x[k]);h=function(X){return function(){h&&(h=v=R.onload=R.onerror=R.onabort=R.ontimeout=R.onreadystatechange=null,X==="abort"?R.abort():X==="error"?typeof R.status!="number"?T(0,"error"):T(R.status,R.statusText):T(wp[R.status]||R.status,R.statusText,(R.responseType||"text")!=="text"||typeof R.responseText!="string"?{binary:R.response}:{text:R.responseText},R.getAllResponseHeaders()))}},R.onload=h(),v=R.onerror=R.ontimeout=h("error"),R.onabort!==void 0?R.onabort=v:R.onreadystatechange=function(){R.readyState===4&&t.setTimeout(function(){h&&v()})},h=h("abort");try{R.send(c.hasContent&&c.data||null)}catch(X){if(h)throw X}},abort:function(){h&&h()}}}),g.ajaxPrefilter(function(c){c.crossDomain&&(c.contents.script=!1)}),g.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(c){return g.globalEval(c),c}}}),g.ajaxPrefilter("script",function(c){c.cache===void 0&&(c.cache=!1),c.crossDomain&&(c.type="GET")}),g.ajaxTransport("script",function(c){if(c.crossDomain||c.scriptAttrs){var h,v;return{send:function(x,T){h=g(" \ No newline at end of file diff --git a/views/templates/hook/payment_giropay.tpl b/views/templates/hook/payment_giropay.tpl deleted file mode 100644 index 43d47504f..000000000 --- a/views/templates/hook/payment_giropay.tpl +++ /dev/null @@ -1 +0,0 @@ -//depreciated