diff --git a/inventory/models.py b/inventory/models.py index e4d18dd2..dbb3da42 100644 --- a/inventory/models.py +++ b/inventory/models.py @@ -18,6 +18,7 @@ from django_ledger.models import ( CustomerModel, ItemModelQuerySet, ) +from django_ledger.io.io_core import get_localdate from django.db.models import Sum from decimal import Decimal, InvalidOperation from django.core.exceptions import ValidationError @@ -318,6 +319,18 @@ class AdditionalServices(models.Model, LocalizedNameMixin): blank=True, ) + def to_dict(self): + return { + "name": self.name, + "price": str(self.price), + "price_": str(self.price_), + "taxable": self.taxable, + "uom": self.uom, + } + @property + def price_(self): + vat = VatRate.objects.filter(is_active=True).first() + return Decimal(self.price + (self.price * vat.rate)) if self.taxable else self.price class Meta: verbose_name = _("Additional Services") verbose_name_plural = _("Additional Services") @@ -515,24 +528,23 @@ class CarFinance(models.Model): verbose_name=_("Discount Amount"), default=Decimal("0.00"), ) - + @property - def total(self): - if self.additional_services.count() > 0: - return self.selling_price + sum( - x.price for x in self.additional_services.all() - ) + def total(self): return self.selling_price @property + def total_additionals(self): + return sum(x.price_ for x in self.additional_services.all()) + @property def total_discount(self): if self.discount_amount > 0: - return self.total - self.discount_amount - return self.total + return self.selling_price - self.discount_amount + return self.selling_price @property def total_vat(self): - return self.total_discount + self.vat_amount + return round(self.total_discount + self.vat_amount + self.total_additionals,2) @property def vat_amount(self): @@ -1574,7 +1586,8 @@ class SaleOrder(models.Model): next_id = last_order.id + 1 else: next_id = 1 - self.formatted_order_id = f"{next_id:05d}" + year = get_localdate().year + self.formatted_order_id = f"O-{year}-{next_id:09d}" super().save(*args, **kwargs) def __str__(self): return f"Sale Order for {self.full_name}" diff --git a/inventory/signals.py b/inventory/signals.py index c2332aea..b9074c04 100644 --- a/inventory/signals.py +++ b/inventory/signals.py @@ -158,23 +158,12 @@ def create_ledger_entity(sender, instance, created, **kwargs): balance_type="debit", active=True, ) - - # Inventory Account - asset_ca_inventory = entity.create_account( - coa_model=coa, - code="1106", - role=roles.ASSET_CA_INVENTORY, - name=_("Inventory"), - balance_type="debit", - active=True, - ) - # asset_ca_inventory.role_default = True - # asset_ca_inventory.save() + # VAT Payable Account liability_ltl_vat_receivable = entity.create_account( coa_model=coa, - code="1107", + code="1106", role=roles.ASSET_CA_RECEIVABLES, name=_("VAT Receivable"), balance_type="debit", @@ -707,7 +696,7 @@ def update_item_model_cost(sender, instance, created, **kwargs): product.default_amount = instance.selling_price product.additional_info = {} product.additional_info.update({"car_finance":instance.to_dict()}) - product.additional_info.update({"additional_services": [to_dict(service) for service in instance.additional_services.all()]}) + product.additional_info.update({"additional_services": [service.to_dict() for service in instance.additional_services.all()]}) product.save() print(f"Inventory item updated with CarFinance data for Car: {instance.car}") diff --git a/inventory/templatetags/custom_filters.py b/inventory/templatetags/custom_filters.py index a60f2857..721307ab 100644 --- a/inventory/templatetags/custom_filters.py +++ b/inventory/templatetags/custom_filters.py @@ -1,3 +1,4 @@ +from random import randint from django import template from calendar import month_abbr from django.urls import reverse @@ -36,6 +37,7 @@ def attr(field, args): @register.inclusion_tag('ledger/reports/components/period_navigator.html', takes_context=True) def period_navigation(context, base_url: str): + print(context, base_url) kwargs = dict() entity_slug = context['view'].kwargs['entity_slug'] kwargs['entity_slug'] = entity_slug @@ -147,7 +149,7 @@ def balance_sheet_statement(context, io_model, to_date=None): 'tx_digest': io_digest.get_io_data(), } -@register.inclusion_tag('django_ledger/financial_statements/tags/income_statement.html', takes_context=True) +@register.inclusion_tag('ledger/reports/tags/income_statement.html', takes_context=True) def income_statement_table(context, io_model, from_date=None, to_date=None): user_model = context['user'] activity = context['request'].GET.get('activity') @@ -178,3 +180,53 @@ def income_statement_table(context, io_model, from_date=None, to_date=None): 'user_model': user_model, 'tx_digest': io_digest.get_io_data() } + +@register.inclusion_tag('django_ledger/financial_statements/tags/cash_flow_statement.html', takes_context=True) +def cash_flow_statement(context, io_model): + user_model = context['user'] + entity_slug = context['view'].kwargs.get('entity_slug') + from_date = context['from_date'] + to_date = context['to_date'] + + io_digest = io_model.digest( + cash_flow_statement=True, + by_activity=True, + user_model=user_model, + equity_only=False, + signs=True, + entity_slug=entity_slug, + unit_slug=context['unit_slug'], + by_unit=context['by_unit'], + from_date=from_date, + to_date=to_date, + process_groups=True) + + return { + 'entity_slug': entity_slug, + 'user_model': user_model, + 'tx_digest': io_digest.get_io_data() + } + + + + +@register.inclusion_tag('django_ledger/components/date_picker.html', takes_context=True) +def date_picker(context, nav_url=None, date_picker_id=None): + try: + entity_slug = context['view'].kwargs.get('entity_slug') + except KeyError: + entity_slug = context['entity_slug'] + + if not date_picker_id: + date_picker_id = f'djl-datepicker-{randint(10000, 99999)}' + + if 'date_picker_ids' not in context: + context['date_picker_ids'] = list() + context['date_picker_ids'].append(date_picker_id) + + date_navigation_url = nav_url if nav_url else context.get('date_navigation_url') + return { + 'entity_slug': entity_slug, + 'date_picker_id': date_picker_id, + 'date_navigation_url': date_navigation_url + } diff --git a/inventory/tests.py b/inventory/tests.py index a3417d82..f89b37fc 100644 --- a/inventory/tests.py +++ b/inventory/tests.py @@ -1,9 +1,18 @@ import json from . import models as m +from datetime import datetime from django.urls import reverse from django_ledger import models as lm from django.test import Client, TestCase from django.contrib.auth import get_user_model +from django_ledger.io.io_core import get_localdate + +from django.core.exceptions import ObjectDoesNotExist +from decimal import Decimal +from unittest.mock import MagicMock +from inventory.models import VatRate +from inventory.utils import CarFinanceCalculator + User = get_user_model() @@ -52,7 +61,7 @@ class ModelTest(TestCase): id_car_serie=self.car_serie, year=2020, id_car_trim=self.trim, - receiving_date="2020-01-01", + receiving_date=get_localdate(), ) self.car_finances = m.CarFinance.objects.create( @@ -78,7 +87,7 @@ class ModelTest(TestCase): self.assertIsNotNone(dealer.entity) self.assertEqual(dealer.entity.name, dealer.name) - self.assertEqual(dealer.entity.get_all_accounts().count(), 19) + self.assertEqual(dealer.entity.get_all_accounts().count(), 57) self.assertEqual(dealer.entity.get_uom_all().count(), 16) def test_car_creation_creates_product(self): @@ -232,4 +241,164 @@ class AuthenticationTest(TestCase): # Check the response self.assertEqual(response.status_code, 400) - self.assertIn("error", response.json()) # Assuming the view returns an error for missing fields \ No newline at end of file + self.assertIn("error", response.json()) # Assuming the view returns an error for missing fields + + +class CarFinanceCalculatorTests(TestCase): + def setUp(self): + # Common setup for all tests + self.mock_model = MagicMock() + self.vat_rate = VatRate.objects.create(rate=Decimal('0.20'), is_active=True) + + def test_no_active_vat_rate_raises_error(self): + VatRate.objects.all().delete() # Ensure no active VAT + with self.assertRaises(ObjectDoesNotExist): + CarFinanceCalculator(self.mock_model) + + def test_vat_rate_retrieval(self): + calculator = CarFinanceCalculator(self.mock_model) + self.assertEqual(calculator.vat_rate, Decimal('0.20')) + + def test_item_transactions_retrieval(self): + mock_item = MagicMock() + self.mock_model.get_itemtxs_data.return_value = [MagicMock(all=lambda: [mock_item])] + calculator = CarFinanceCalculator(self.mock_model) + self.assertEqual(calculator.item_transactions, [mock_item]) + + def test_get_car_data(self): + mock_item = MagicMock() + mock_item.ce_quantity = 2 + mock_item.item_model = MagicMock() + mock_item.item_model.item_number = '123' + mock_item.item_model.additional_info = { + CarFinanceCalculator.CAR_FINANCE_KEY: { + 'selling_price': '10000', + 'cost_price': '8000', + 'discount_amount': '500', + 'total_vat': '2000' + }, + CarFinanceCalculator.CAR_INFO_KEY: { + 'vin': 'VIN123', + 'make': 'Toyota', + 'model': 'Camry', + 'year': 2020, + 'trim': 'LE', + 'mileage': 15000 + }, + CarFinanceCalculator.ADDITIONAL_SERVICES_KEY: [ + {'name': 'Service 1', 'price': '200', 'taxable': True, 'price_': '240'} + ] + } + + calculator = CarFinanceCalculator(self.mock_model) + car_data = calculator._get_car_data(mock_item) + + self.assertEqual(car_data['item_number'], '123') + self.assertEqual(car_data['vin'], 'VIN123') + self.assertEqual(car_data['make'], 'Toyota') + self.assertEqual(car_data['selling_price'], '10000') + self.assertEqual(car_data['unit_price'], Decimal('10000')) + self.assertEqual(car_data['quantity'], 2) + self.assertEqual(car_data['total'], Decimal('20000')) + self.assertEqual(car_data['total_vat'], '2000') + self.assertEqual(car_data['additional_services'], [{'name': 'Service 1', 'price': '200', 'taxable': True, 'price_': '240'}]) + + def test_get_additional_services(self): + mock_item1 = MagicMock() + mock_item1.item_model.additional_info = { + CarFinanceCalculator.ADDITIONAL_SERVICES_KEY: [ + {'name': 'Service 1', 'price': '100', 'taxable': True, 'price_': '120'} + ] + } + mock_item2 = MagicMock() + mock_item2.item_model.additional_info = { + CarFinanceCalculator.ADDITIONAL_SERVICES_KEY: [ + {'name': 'Service 2', 'price': '200', 'taxable': False, 'price_': '200'} + ] + } + + self.mock_model.get_itemtxs_data.return_value = [MagicMock(all=lambda: [mock_item1, mock_item2])] + calculator = CarFinanceCalculator(self.mock_model) + services = calculator._get_additional_services() + + self.assertEqual(len(services), 2) + self.assertEqual(services[0]['name'], 'Service 1') + self.assertEqual(services[1]['name'], 'Service 2') + self.assertEqual(services[0]['price_'], '120') + self.assertEqual(services[1]['price_'], '200') + + def test_calculate_totals(self): + mock_item1 = MagicMock() + mock_item1.ce_quantity = 2 + mock_item1.item_model.additional_info = { + CarFinanceCalculator.CAR_FINANCE_KEY: { + 'selling_price': '10000', + 'discount_amount': '500' + }, + CarFinanceCalculator.ADDITIONAL_SERVICES_KEY: [ + {'price_': '100'}, + {'price_': '200'} + ] + } + + mock_item2 = MagicMock() + mock_item2.quantity = 3 + mock_item2.item_model.additional_info = { + CarFinanceCalculator.CAR_FINANCE_KEY: { + 'selling_price': '20000', + 'discount_amount': '1000' + }, + CarFinanceCalculator.ADDITIONAL_SERVICES_KEY: [ + {'price_': '300'} + ] + } + + self.mock_model.get_itemtxs_data.return_value = [MagicMock(all=lambda: [mock_item1, mock_item2])] + calculator = CarFinanceCalculator(self.mock_model) + totals = calculator.calculate_totals() + + expected_total_price = (Decimal('10000') * 2 + Decimal('20000') * 3) - (Decimal('500') + Decimal('1000')) + expected_vat = expected_total_price * Decimal('0.15') + expected_additionals = Decimal('100') + Decimal('200') + Decimal('300') + expected_grand_total = (expected_total_price + expected_vat + expected_additionals).quantize(Decimal('0.00')) + + self.assertEqual(totals['total_price'], expected_total_price) + self.assertEqual(totals['total_discount'], Decimal('1500')) + self.assertEqual(totals['total_vat_amount'], expected_vat) + self.assertEqual(totals['total_additionals'], expected_additionals) + self.assertEqual(totals['grand_total'], expected_grand_total) + + def test_get_finance_data(self): + mock_item = MagicMock() + mock_item.ce_quantity = 1 + mock_item.item_model = MagicMock() + mock_item.item_model.item_number = '456' + mock_item.item_model.additional_info = { + CarFinanceCalculator.CAR_FINANCE_KEY: { + 'selling_price': '15000', + 'discount_amount': '1000', + 'total_vat': '2800' + }, + CarFinanceCalculator.CAR_INFO_KEY: { + 'vin': 'VIN456', + 'make': 'Honda', + 'model': 'Civic', + 'year': 2021 + }, + CarFinanceCalculator.ADDITIONAL_SERVICES_KEY: [ + {'name': 'Service', 'price': '150', 'taxable': True, 'price_': '180'} + ] + } + + self.mock_model.get_itemtxs_data.return_value = [MagicMock(all=lambda: [mock_item])] + calculator = CarFinanceCalculator(self.mock_model) + finance_data = calculator.get_finance_data() + + self.assertEqual(len(finance_data['cars']), 1) + self.assertEqual(finance_data['quantity'], 1) + self.assertEqual(finance_data['total_price'], Decimal('14000')) # 15000 - 1000 + self.assertEqual(finance_data['total_vat'], Decimal('14000') + (Decimal('14000') * Decimal('0.20'))) + self.assertEqual(finance_data['total_vat_amount'], Decimal('14000') * Decimal('0.20')) + self.assertEqual(finance_data['total_additionals'], Decimal('180')) + self.assertEqual(finance_data['additionals'][0]['name'], 'Service') + self.assertEqual(finance_data['vat'], Decimal('0.20')) \ No newline at end of file diff --git a/inventory/urls.py b/inventory/urls.py index c2007bc8..bb1b067e 100644 --- a/inventory/urls.py +++ b/inventory/urls.py @@ -554,15 +554,59 @@ urlpatterns = [ path('entity//income-statement/year//', views.FiscalYearIncomeStatementViewBase.as_view(), name='entity-ic-year'), - # path('entity//income-statement/quarter///', - # views.QuarterlyIncomeStatementView.as_view(), - # name='entity-ic-quarter'), - # path('entity//income-statement/month///', - # views.MonthlyIncomeStatementView.as_view(), - # name='entity-ic-month'), - # path('entity//income-statement/date////', - # views.MonthlyIncomeStatementView.as_view(), - # name='entity-ic-date'), + path('entity//income-statement/quarter///', + views.QuarterlyIncomeStatementView.as_view(), + name='entity-ic-quarter'), + path('entity//income-statement/month///', + views.MonthlyIncomeStatementView.as_view(), + name='entity-ic-month'), + path('entity//income-statement/date////', + views.MonthlyIncomeStatementView.as_view(), + name='entity-ic-date'), + # CASH FLOW STATEMENTS... + # Entities... + path('entity//cash-flow-statement/', + views.BaseCashFlowStatementRedirectViewBase.as_view(), + name='entity-cf'), + path('entity//cash-flow-statement/year//', + views.FiscalYearCashFlowStatementViewBase.as_view(), + name='entity-cf-year'), + path('entity//cash-flow-statement/quarter///', + views.QuarterlyCashFlowStatementView.as_view(), + name='entity-cf-quarter'), + path('entity//cash-flow-statement/month///', + views.MonthlyCashFlowStatementView.as_view(), + name='entity-cf-month'), + path('entity//cash-flow-statement/date////', + views.DateCashFlowStatementView.as_view(), + name='entity-cf-date'), + #Dashboard + # DASHBOARD Views... + path('/dashboard/', + views.EntityModelDetailHandlerViewBase.as_view(), + name='entity-dashboard'), + path('/dashboard/year//', + views.FiscalYearEntityModelDashboardView.as_view(), + name='entity-dashboard-year'), + path('/dashboard/quarter///', + views.QuarterlyEntityDashboardView.as_view(), + name='entity-dashboard-quarter'), + path('/dashboard/month///', + views.MonthlyEntityDashboardView.as_view(), + name='entity-dashboard-month'), + path('/dashboard/date////', + views.DateEntityDashboardView.as_view(), + name='entity-dashboard-date'), + #dashboard api + path('entity//data/net-payables/', + views.PayableNetAPIView.as_view(), + name='entity-json-net-payables'), + path('entity//data/net-receivables/', + views.ReceivableNetAPIView.as_view(), + name='entity-json-net-receivables'), + path('entity//data/pnl/', + views.PnLAPIView.as_view(), + name='entity-json-pnl'), ] diff --git a/inventory/utils.py b/inventory/utils.py index 5eaef5f9..1746494f 100644 --- a/inventory/utils.py +++ b/inventory/utils.py @@ -147,7 +147,7 @@ def get_car_finance_data(model): if i.item_model.additional_info["additional_services"]: additional_services.extend( [ - {"name": x.name, "price": x.price} + {"name": x.get("name"), "price": x.get("price")} for x in i.item_model.additional_info["additional_services"] ] ) @@ -281,45 +281,25 @@ def get_financial_values(model): def set_invoice_payment(dealer, entity, invoice, amount, payment_method): - vat_amount = 0 - total_amount = 0 - calculator = CarFinanceCalculator(invoice) finance_data = calculator.get_finance_data() - # if invoice.terms == "on_receipt": - # for x in invoice.get_itemtxs_data()[0].all(): - # total_amount += Decimal(x.unit_cost) * Decimal(x.quantity) - ledger = LedgerModel.objects.filter( - name__icontains=str(invoice.pk), entity=entity - ).first() journal = JournalEntryModel.objects.create( posted=False, description=f"Payment for Invoice {invoice.invoice_number}", - ledger=ledger, + ledger=invoice.ledger, locked=False, origin="Payment", ) + credit_account = entity.get_default_coa_accounts().get(name="Sales Revenue") - debit_account = None - if payment_method == "cash": - debit_account = entity.get_default_coa_accounts().get(name="Cash", active=True) - elif payment_method == "credit": - debit_account = entity.get_default_coa_accounts().get( - name="Accounts Receivable", active=True - ) - else: - debit_account = entity.get_default_coa_accounts().get( - name="Cash in Bank", active=True - ) - - vat_payable_account = entity.get_default_coa_accounts().get( - name="VAT Payable", active=True - ) + debit_account = entity.get_default_coa_accounts().get(name="Cash", active=True) + vat_payable_account = entity.get_default_coa_accounts().get(name="VAT Payable", active=True) + TransactionModel.objects.create( journal_entry=journal, - account=debit_account, # Debit Cash - amount=finance_data["grand_total"], # Payment amount + account=debit_account, # Debit Account + amount=Decimal(finance_data["grand_total"]), tx_type="debit", description="Payment Received", ) @@ -327,7 +307,7 @@ def set_invoice_payment(dealer, entity, invoice, amount, payment_method): TransactionModel.objects.create( journal_entry=journal, account=credit_account, # Credit Accounts Receivable - amount=finance_data["total_price"], # Payment amount + amount=Decimal(finance_data["total_price"] + finance_data["total_additionals"]), tx_type="credit", description="Payment Received", ) @@ -336,7 +316,7 @@ def set_invoice_payment(dealer, entity, invoice, amount, payment_method): TransactionModel.objects.create( journal_entry=journal, account=vat_payable_account, # Credit VAT Payable - amount=finance_data["total_vat_amount"], + amount=finance_data.get("total_vat_amount"), tx_type="credit", description="VAT Payable on Invoice", ) @@ -413,147 +393,304 @@ def transfer_to_dealer(request, cars, to_dealer, remarks=None): car.dealer = to_dealer car.save() +class CarTransfer: + def __init__(self, car, transfer): + self.car = car + self.transfer = transfer + self.from_dealer = transfer.from_dealer + self.to_dealer = transfer.to_dealer + self.customer = None + self.invoice = None + self.ledger = None + self.item = None + self.product = None + self.vendor = None + self.bill = None -def transfer_car(car, transfer): - from_dealer = transfer.from_dealer - to_dealer = transfer.to_dealer - # add transfer.to_dealer as customer in transfer.from_dealer entity + def transfer_car(self): + self._create_customer() + self._create_invoice() + self._create_product_in_receiver_ledger() + self._create_vendor_and_bill() + self._finalize_car_transfer() + return True - customer = ( - from_dealer.entity.get_customers().filter(email=to_dealer.user.email).first() - ) - if not customer: - customer = from_dealer.entity.create_customer( + def _create_customer(self): + self.customer = self._find_or_create_customer() + if self.customer is None: + self.customer = self._create_new_customer() + + def _find_or_create_customer(self): + return self.from_dealer.entity.get_customers().filter(email=self.to_dealer.user.email).first() + + def _create_new_customer(self): + customer = self.from_dealer.entity.create_customer( customer_model_kwargs={ - "customer_name": to_dealer.name, - "email": to_dealer.user.email, - "address_1": to_dealer.address, + "customer_name": self.to_dealer.name, + "email": self.to_dealer.user.email, + "address_1": self.to_dealer.address, } ) + customer.additional_info = {} customer.additional_info.update({"type": "organization"}) customer.save() + return customer - invoice = from_dealer.entity.create_invoice( - customer_model=customer, - terms=InvoiceModel.TERMS_NET_30, - cash_account=from_dealer.entity.get_default_coa_accounts().get( - name="Cash", active=True - ), - prepaid_account=from_dealer.entity.get_default_coa_accounts().get( - name="Accounts Receivable", active=True - ), - coa_model=from_dealer.entity.get_default_coa(), - ) - - ledger = from_dealer.entity.create_ledger(name=str(invoice.pk)) - invoice.ledgar = ledger - ledger.invoicemodel = invoice - ledger.save() - invoice.save() - item = from_dealer.entity.get_items_products().filter(name=car.vin).first() - if not item: - return - - invoice_itemtxs = { - item.item_number: { - "unit_cost": transfer.total_price, - "quantity": transfer.quantity, - "total_amount": transfer.total_price, - } - } - - invoice_itemtxs = invoice.migrate_itemtxs( - itemtxs=invoice_itemtxs, - commit=True, - operation=InvoiceModel.ITEMIZE_APPEND, - ) - - invoice.save() - invoice.mark_as_review() - invoice.mark_as_approved(from_dealer.entity.slug, from_dealer.entity.admin) - # invoice.mark_as_paid(from_dealer.entity.slug, from_dealer.entity.admin) - invoice.save() - # create car item product in to_dealer entity - uom = to_dealer.entity.get_uom_all().filter(name=item.uom.name).first() - - # create item product in the reciever ledger - product = to_dealer.entity.create_item_product( - name=item.name, - uom_model=uom, - item_type=item.item_type, - coa_model=to_dealer.entity.get_default_coa(), - ) - - product.additional_info.update({"car_info": car.to_dict()}) - product.save() - - # add the sender as vendor and create a bill for it - vendor = None - vendor = to_dealer.entity.get_vendors().filter(vendor_name=from_dealer.name).first() - if not vendor: - vendor = VendorModel.objects.create( - entity_model=to_dealer.entity, - vendor_name=from_dealer.name, - additional_info={"info": to_dict(from_dealer)}, + def _create_invoice(self): + self.invoice = self.from_dealer.entity.create_invoice( + customer_model=self.customer, + terms=InvoiceModel.TERMS_NET_30, + cash_account=self.from_dealer.entity.get_default_coa_accounts().get(name="Cash", active=True), + prepaid_account=self.from_dealer.entity.get_default_coa_accounts().get(name="Accounts Receivable", active=True), + coa_model=self.from_dealer.entity.get_default_coa(), ) - # transfer the car to to_dealer and create items record + self.ledger = self.from_dealer.entity.create_ledger(name=str(self.invoice.pk)) + self.invoice.ledgar = self.ledger + self.ledger.invoicemodel = self.invoice + self.ledger.save() + self.invoice.save() - bill = to_dealer.entity.create_bill( - vendor_model=vendor, - terms=BillModel.TERMS_NET_30, - cash_account=to_dealer.entity.get_default_coa_accounts().get( - name="Cash", active=True - ), - prepaid_account=to_dealer.entity.get_default_coa_accounts().get( - name="Prepaid Expenses", active=True - ), - coa_model=to_dealer.entity.get_default_coa(), - ) - bill.additional_info = {} - bill_itemtxs = { - product.item_number: { - "unit_cost": transfer.total_price, - "quantity": transfer.quantity, - "total_amount": transfer.total_price, + self._add_car_item_to_invoice() + + def _add_car_item_to_invoice(self): + self.item = self.from_dealer.entity.get_items_products().filter(name=self.car.vin).first() + if not self.item: + return + + invoice_itemtxs = { + self.item.item_number: { + "unit_cost": self.transfer.total_price, + "quantity": self.transfer.quantity, + "total_amount": self.transfer.total_price, + } } - } - bill_itemtxs = bill.migrate_itemtxs( - itemtxs=bill_itemtxs, commit=True, operation=BillModel.ITEMIZE_APPEND - ) + invoice_itemtxs = self.invoice.migrate_itemtxs( + itemtxs=invoice_itemtxs, + commit=True, + operation=InvoiceModel.ITEMIZE_APPEND, + ) + self.invoice.save() + self.invoice.mark_as_review() + self.invoice.mark_as_approved(self.from_dealer.entity.slug, self.from_dealer.entity.admin) + self.invoice.save() - bill.additional_info.update({"car_info": car.to_dict()}) - bill.additional_info.update({"car_finance": car.finances.to_dict()}) + def _create_product_in_receiver_ledger(self): + uom = self.to_dealer.entity.get_uom_all().filter(name=self.item.uom.name).first() + self.product = self.to_dealer.entity.create_item_product( + name=self.item.name, + uom_model=uom, + item_type=self.item.item_type, + coa_model=self.to_dealer.entity.get_default_coa(), + ) - bill.mark_as_review() - bill.mark_as_approved(to_dealer.entity.slug, to_dealer.entity.admin) - bill.save() + self.product.additional_info.update({"car_info": self.car.to_dict()}) + self.product.save() - car.dealer = to_dealer - car.vendor = vendor - car.receiving_date = datetime.datetime.now() - car.finances.additional_services.clear() - if hasattr(car, "custom_cards"): - car.custom_cards.delete() + def _create_vendor_and_bill(self): + self.vendor = self._find_or_create_vendor() + self.bill = self.to_dealer.entity.create_bill( + vendor_model=self.vendor, + terms=BillModel.TERMS_NET_30, + cash_account=self.to_dealer.entity.get_default_coa_accounts().get(name="Cash", active=True), + prepaid_account=self.to_dealer.entity.get_default_coa_accounts().get(name="Prepaid Expenses", active=True), + coa_model=self.to_dealer.entity.get_default_coa(), + ) - car.finances.cost_price = transfer.total_price - car.finances.selling_price = 0 - car.finances.discount_amount = 0 - car.finances.save() - car.location.owner = to_dealer - car.location.showroom = to_dealer - car.location.description = "" - car.location.save() - car.status = models.CarStatusChoices.AVAILABLE - transfer.status = models.CarTransferStatusChoices.success - transfer.active = False - transfer.save() - car.save() + self._add_car_item_to_bill() - return True - # pay the pill - # set_bill_payment(to_dealer,to_dealer.entity,bill,transfer.total_price,"credit") + def _find_or_create_vendor(self): + vendor = self.to_dealer.entity.get_vendors().filter(vendor_name=self.from_dealer.name).first() + if not vendor: + vendor = VendorModel.objects.create( + entity_model=self.to_dealer.entity, + vendor_name=self.from_dealer.name, + additional_info={"info": to_dict(self.from_dealer)}, + ) + return vendor + + def _add_car_item_to_bill(self): + bill_itemtxs = { + self.product.item_number: { + "unit_cost": self.transfer.total_price, + "quantity": self.transfer.quantity, + "total_amount": self.transfer.total_price, + } + } + + bill_itemtxs = self.bill.migrate_itemtxs( + itemtxs=bill_itemtxs, commit=True, operation=BillModel.ITEMIZE_APPEND + ) + self.bill.additional_info = {} + self.bill.additional_info.update({"car_info": self.car.to_dict()}) + self.bill.additional_info.update({"car_finance": self.car.finances.to_dict()}) + + self.bill.mark_as_review() + self.bill.mark_as_approved(self.to_dealer.entity.slug, self.to_dealer.entity.admin) + self.bill.save() + + def _finalize_car_transfer(self): + self.car.dealer = self.to_dealer + self.car.vendor = self.vendor + self.car.receiving_date = datetime.datetime.now() + self.car.finances.additional_services.clear() + if hasattr(self.car, "custom_cards"): + self.car.custom_cards.delete() + + self.car.finances.cost_price = self.transfer.total_price + self.car.finances.selling_price = 0 + self.car.finances.discount_amount = 0 + self.car.finances.save() + self.car.location.owner = self.to_dealer + self.car.location.showroom = self.to_dealer + self.car.location.description = "" + self.car.location.save() + self.car.status = models.CarStatusChoices.AVAILABLE + self.transfer.status = models.CarTransferStatusChoices.success + self.transfer.active = False + self.transfer.save() + self.car.save() + + +# def transfer_car(car, transfer): +# from_dealer = transfer.from_dealer +# to_dealer = transfer.to_dealer +# # add transfer.to_dealer as customer in transfer.from_dealer entity + +# customer = ( +# from_dealer.entity.get_customers().filter(email=to_dealer.user.email).first() +# ) +# if not customer: +# customer = from_dealer.entity.create_customer( +# customer_model_kwargs={ +# "customer_name": to_dealer.name, +# "email": to_dealer.user.email, +# "address_1": to_dealer.address, +# } +# ) +# customer.additional_info.update({"type": "organization"}) +# customer.save() + +# invoice = from_dealer.entity.create_invoice( +# customer_model=customer, +# terms=InvoiceModel.TERMS_NET_30, +# cash_account=from_dealer.entity.get_default_coa_accounts().get( +# name="Cash", active=True +# ), +# prepaid_account=from_dealer.entity.get_default_coa_accounts().get( +# name="Accounts Receivable", active=True +# ), +# coa_model=from_dealer.entity.get_default_coa(), +# ) + +# ledger = from_dealer.entity.create_ledger(name=str(invoice.pk)) +# invoice.ledgar = ledger +# ledger.invoicemodel = invoice +# ledger.save() +# invoice.save() +# item = from_dealer.entity.get_items_products().filter(name=car.vin).first() +# if not item: +# return + +# invoice_itemtxs = { +# item.item_number: { +# "unit_cost": transfer.total_price, +# "quantity": transfer.quantity, +# "total_amount": transfer.total_price, +# } +# } + +# invoice_itemtxs = invoice.migrate_itemtxs( +# itemtxs=invoice_itemtxs, +# commit=True, +# operation=InvoiceModel.ITEMIZE_APPEND, +# ) + +# invoice.save() +# invoice.mark_as_review() +# invoice.mark_as_approved(from_dealer.entity.slug, from_dealer.entity.admin) +# # invoice.mark_as_paid(from_dealer.entity.slug, from_dealer.entity.admin) +# invoice.save() +# # create car item product in to_dealer entity +# uom = to_dealer.entity.get_uom_all().filter(name=item.uom.name).first() + +# # create item product in the reciever ledger +# product = to_dealer.entity.create_item_product( +# name=item.name, +# uom_model=uom, +# item_type=item.item_type, +# coa_model=to_dealer.entity.get_default_coa(), +# ) + +# product.additional_info.update({"car_info": car.to_dict()}) +# product.save() + +# # add the sender as vendor and create a bill for it +# vendor = None +# vendor = to_dealer.entity.get_vendors().filter(vendor_name=from_dealer.name).first() +# if not vendor: +# vendor = VendorModel.objects.create( +# entity_model=to_dealer.entity, +# vendor_name=from_dealer.name, +# additional_info={"info": to_dict(from_dealer)}, +# ) + +# # transfer the car to to_dealer and create items record + +# bill = to_dealer.entity.create_bill( +# vendor_model=vendor, +# terms=BillModel.TERMS_NET_30, +# cash_account=to_dealer.entity.get_default_coa_accounts().get( +# name="Cash", active=True +# ), +# prepaid_account=to_dealer.entity.get_default_coa_accounts().get( +# name="Prepaid Expenses", active=True +# ), +# coa_model=to_dealer.entity.get_default_coa(), +# ) +# bill.additional_info = {} +# bill_itemtxs = { +# product.item_number: { +# "unit_cost": transfer.total_price, +# "quantity": transfer.quantity, +# "total_amount": transfer.total_price, +# } +# } + +# bill_itemtxs = bill.migrate_itemtxs( +# itemtxs=bill_itemtxs, commit=True, operation=BillModel.ITEMIZE_APPEND +# ) + +# bill.additional_info.update({"car_info": car.to_dict()}) +# bill.additional_info.update({"car_finance": car.finances.to_dict()}) + +# bill.mark_as_review() +# bill.mark_as_approved(to_dealer.entity.slug, to_dealer.entity.admin) +# bill.save() + +# car.dealer = to_dealer +# car.vendor = vendor +# car.receiving_date = datetime.datetime.now() +# car.finances.additional_services.clear() +# if hasattr(car, "custom_cards"): +# car.custom_cards.delete() + +# car.finances.cost_price = transfer.total_price +# car.finances.selling_price = 0 +# car.finances.discount_amount = 0 +# car.finances.save() +# car.location.owner = to_dealer +# car.location.showroom = to_dealer +# car.location.description = "" +# car.location.save() +# car.status = models.CarStatusChoices.AVAILABLE +# transfer.status = models.CarTransferStatusChoices.success +# transfer.active = False +# transfer.save() +# car.save() + +# return True def to_dict(obj): @@ -628,9 +765,10 @@ class CarFinanceCalculator: "additional_services": self._get_nested_value(item, self.ADDITIONAL_SERVICES_KEY), } + def _get_additional_services(self): return [ - {"name": service.name, "price": service.price} + {"name": service.get('name'), "price": service.get('price'), "taxable": service.get('taxable'),"price_": service.get('price_')} for item in self.item_transactions for service in self._get_nested_value(item, self.ADDITIONAL_SERVICES_KEY) or [] ] @@ -638,26 +776,28 @@ class CarFinanceCalculator: def calculate_totals(self): total_price = sum( Decimal(self._get_nested_value(item, self.CAR_FINANCE_KEY, 'selling_price')) * - Decimal(self._get_quantity(item)) + int(self._get_quantity(item)) for item in self.item_transactions ) - - total_vat_amount = total_price * self.vat_rate + total_additionals = sum(Decimal(x.get('price_')) for x in self._get_additional_services()) + total_discount = sum( Decimal(self._get_nested_value(item, self.CAR_FINANCE_KEY, 'discount_amount')) for item in self.item_transactions ) - + total_price_discounted = total_price - total_discount + total_vat_amount = total_price_discounted * self.vat_rate + return { - "total_price": total_price, + "total_price": total_price_discounted, "total_vat_amount": total_vat_amount, "total_discount": total_discount, - "grand_total": (total_price + total_vat_amount) - total_discount , + "total_additionals": total_additionals, + "grand_total": round(total_price_discounted + total_vat_amount + total_additionals, 2) } def get_finance_data(self): - totals = self.calculate_totals() - + totals = self.calculate_totals() return { "cars": [self._get_car_data(item) for item in self.item_transactions], "quantity": sum(self._get_quantity(item) for item in self.item_transactions), @@ -665,6 +805,7 @@ class CarFinanceCalculator: "total_vat": totals['total_vat_amount'] + totals['total_price'], "total_vat_amount": totals['total_vat_amount'], "total_discount": totals['total_discount'], + "total_additionals": totals['total_additionals'], "grand_total": totals['grand_total'], "additionals": self.additional_services, "vat": self.vat_rate, diff --git a/inventory/views.py b/inventory/views.py index d7c9982b..b627d66d 100644 --- a/inventory/views.py +++ b/inventory/views.py @@ -1,3 +1,5 @@ +from calendar import month_name +from random import randint from rich import print from decimal import Decimal from django.core.paginator import Paginator @@ -95,7 +97,7 @@ from .utils import ( set_bill_payment, set_invoice_payment, to_dict, - transfer_car, + CarTransfer, ) from django.contrib.auth.models import User from allauth.account import views @@ -105,7 +107,7 @@ import cv2 import numpy as np from pyzbar.pyzbar import decode from django.core.files.storage import default_storage - +from django_ledger.utils import accruable_net_summary logger = logging.getLogger(__name__) logging.basicConfig(level=logging.INFO) @@ -879,7 +881,9 @@ def car_transfer_accept_reject(request, car_pk, transfer_pk): elif status == "accepted": transfer.status = "accept" transfer.save() - success = transfer_car(car, transfer) + transfer_process = CarTransfer(car, transfer) + success = transfer_process.transfer_car() + # success = CarTransfer(car, transfer) if success: messages.success(request, _("Car Transfer Completed successfully.")) models.Notification.objects.create( @@ -1050,7 +1054,9 @@ class CustomerListView(LoginRequiredMixin, ListView): query = self.request.GET.get("q") dealer = get_user_type(self.request) - customers = dealer.entity.get_customers().filter(active=True,additional_info__type="customer") + customers = dealer.entity.get_customers().filter( + active=True, additional_info__type="customer" + ) if query: customers = customers.filter( @@ -1182,8 +1188,12 @@ def CustomerUpdateView(request, pk): instance.save() messages.success(request, _("Customer updated successfully.")) return redirect("customer_list") - else: - form = forms.CustomerForm(initial=customer.additional_info["customer_info"] if "customer_info" in customer.additional_info else {}) + else: + form = forms.CustomerForm( + initial=customer.additional_info["customer_info"] + if "customer_info" in customer.additional_info + else {} + ) return render(request, "customers/customer_form.html", {"form": form}) @@ -1722,7 +1732,11 @@ class OrganizationListView(LoginRequiredMixin, ListView): def get_queryset(self): dealer = get_user_type(self.request) - return dealer.entity.get_customers().filter(additional_info__type="organization",active=True).all() + return ( + dealer.entity.get_customers() + .filter(additional_info__type="organization", active=True) + .all() + ) class OrganizationDetailView(DetailView): @@ -1734,16 +1748,16 @@ class OrganizationDetailView(DetailView): def OrganizationCreateView(request): if request.method == "POST": form = forms.OrganizationForm(request.POST) - - #upload logo - image = request.FILES.get('logo') - file_name = default_storage.save('images/{}'.format(image.name), image) - file_url = default_storage.url(file_name) - + + # upload logo + image = request.FILES.get("logo") + file_name = default_storage.save("images/{}".format(image.name), image) + file_url = default_storage.url(file_name) + organization_dict = { x: request.POST[x] for x in request.POST if x != "csrfmiddlewaretoken" } - dealer = get_user_type(request) + dealer = get_user_type(request) instance = dealer.entity.create_customer( customer_model_kwargs={ @@ -1763,26 +1777,29 @@ def OrganizationCreateView(request): else: form = forms.OrganizationForm() return render(request, "organizations/organization_form.html", {"form": form}) - -def OrganizationUpdateView(request,pk): +def OrganizationUpdateView(request, pk): organization = get_object_or_404(CustomerModel, pk=pk) if request.method == "POST": form = forms.OrganizationForm(request.POST) - + organization_dict = { x: request.POST[x] for x in request.POST if x != "csrfmiddlewaretoken" } - dealer = get_user_type(request) + dealer = get_user_type(request) - instance = dealer.entity.get_customers().get(pk=organization.additional_info['organization_info']['pk']) + instance = dealer.entity.get_customers().get( + pk=organization.additional_info["organization_info"]["pk"] + ) instance.customer_name = organization_dict["name"] instance.address_1 = organization_dict["address"] instance.phone = organization_dict["phone_number"] - instance.email = organization_dict["email"] - - organization_dict["logo"] = organization.additional_info['organization_info']['logo'] + instance.email = organization_dict["email"] + + organization_dict["logo"] = organization.additional_info["organization_info"][ + "logo" + ] organization_dict["pk"] = str(instance.pk) instance.additional_info["organization_info"] = organization_dict instance.additional_info["type"] = "organization" @@ -1790,10 +1807,12 @@ def OrganizationUpdateView(request,pk): messages.success(request, _("Organization created successfully.")) return redirect("organization_list") else: - form = forms.OrganizationForm(initial=organization.additional_info["organization_info"] or {}) - form.fields.pop('logo', None) + form = forms.OrganizationForm( + initial=organization.additional_info["organization_info"] or {} + ) + form.fields.pop("logo", None) return render(request, "organizations/organization_form.html", {"form": form}) - + class OrganizationDeleteView(LoginRequiredMixin, SuccessMessageMixin, DeleteView): model = models.Organization @@ -2121,16 +2140,21 @@ class AccountCreateView(LoginRequiredMixin, SuccessMessageMixin, CreateView): def form_valid(self, form): dealer = get_user_type(self.request) form.instance.entity_model = dealer.entity + form.instance.coa_model = dealer.entity.get_default_coa() form.instance.depth = 0 return super().form_valid(form) def get_form_kwargs(self): dealer = get_user_type(self.request) - entity = dealer.entity - kwargs = super().get_form_kwargs() - - kwargs["coa_model"] = entity.get_default_coa() + kwargs = super().get_form_kwargs() + kwargs["coa_model"] = dealer.entity.get_default_coa() return kwargs + + def get_form(self, form_class=None): + form = super().get_form(form_class) + entity = get_user_type(self.request).entity + form.initial['coa_model'] = entity.get_default_coa() + return form class AccountDetailView(LoginRequiredMixin, DetailView): @@ -2188,13 +2212,11 @@ class AccountUpdateView(LoginRequiredMixin, SuccessMessageMixin, UpdateView): @login_required def account_delete(request, pk): account = get_object_or_404(AccountModel, pk=pk) - if request.method == "POST": - account.delete() - messages.success(request, "Account deleted successfully.") - return redirect("account_list") - return render( - request, "ledger/coa_accounts/account_delete.html", {"account": account} - ) + + account.delete() + messages.success(request, "Account deleted successfully.") + return redirect("account_list") + # Estimates @@ -2207,7 +2229,11 @@ class EstimateListView(LoginRequiredMixin, ListView): def get_queryset(self): dealer = get_user_type(self.request) entity = dealer.entity - return entity.get_estimates() + status = self.request.GET.get('status') + queryset = entity.get_estimates() + if status: + queryset = queryset.filter(status=status) + return queryset # class EstimateCreateView(LoginRequiredMixin, SuccessMessageMixin, CreateView): @@ -2352,7 +2378,9 @@ def create_estimate(request): } ) - form = forms.EstimateModelCreateForm(entity_slug=entity.slug, user_model=entity.admin) + form = forms.EstimateModelCreateForm( + entity_slug=entity.slug, user_model=entity.admin + ) form.fields["customer"].queryset = entity.get_customers().filter(active=True) car_list = models.Car.objects.filter( dealer=dealer, finances__selling_price__gt=0 @@ -2369,7 +2397,7 @@ def create_estimate(request): for x in car_list ], } - + return render(request, "sales/estimates/estimate_form.html", context) @@ -2380,11 +2408,10 @@ class EstimateDetailView(LoginRequiredMixin, DetailView): def get_context_data(self, **kwargs): estimate = kwargs.get("object") - if estimate.get_itemtxs_data(): + if estimate.get_itemtxs_data(): calculator = CarFinanceCalculator(estimate) - finance_data = calculator.get_finance_data() - kwargs['data'] = finance_data - print(finance_data) + finance_data = calculator.get_finance_data() + kwargs["data"] = finance_data kwargs["invoice"] = ( InvoiceModel.objects.all().filter(ce_model=estimate).first() ) @@ -2404,23 +2431,29 @@ def create_sale_order(request, pk): estimate.save() messages.success(request, "Sale Order created successfully") return redirect("estimate_detail", pk=pk) - + form = forms.SaleOrderForm() form.fields["estimate"].queryset = EstimateModel.objects.filter(pk=pk) - form.initial['estimate'] = estimate + form.initial["estimate"] = estimate # data = get_car_finance_data(estimate) calculator = CarFinanceCalculator(estimate) finance_data = calculator.get_finance_data() return render( request, "sales/estimates/sale_order_form.html", - {"form": form, "estimate": estimate, "items": items,"data": finance_data}, + {"form": form, "estimate": estimate, "items": items, "data": finance_data}, ) -def preview_sale_order(request,pk): - estimate = get_object_or_404(EstimateModel,pk=pk) + +def preview_sale_order(request, pk): + estimate = get_object_or_404(EstimateModel, pk=pk) data = get_car_finance_data(estimate) - return render(request,'sales/estimates/sale_order_preview.html',{'order':estimate.sale_orders.first(),"data":data,"estimate":estimate}) + return render( + request, + "sales/estimates/sale_order_preview.html", + {"order": estimate.sale_orders.first(), "data": data, "estimate": estimate}, + ) + class PaymentRequest(LoginRequiredMixin, DetailView): model = EstimateModel @@ -2510,10 +2543,13 @@ class InvoiceDetailView(LoginRequiredMixin, DetailView): def get_context_data(self, **kwargs): invoice = kwargs.get("object") - if invoice.get_itemtxs_data(): + if invoice.get_itemtxs_data(): calculator = CarFinanceCalculator(invoice) finance_data = calculator.get_finance_data() - print((finance_data["total_vat_amount"]+finance_data["total_price"]) == finance_data["grand_total"]) + print( + (finance_data["total_vat_amount"] + finance_data["total_price"]) + == finance_data["grand_total"] + ) kwargs["data"] = finance_data kwargs["payments"] = JournalEntryModel.objects.filter( ledger=invoice.ledger @@ -2613,12 +2649,12 @@ def invoice_create(request, pk): ledger.invoicemodel = invoice ledger.save() invoice.save() - + # unit_items = estimate.get_itemtxs_data()[0] # vat = models.VatRate.objects.filter(is_active=True).first() calculator = CarFinanceCalculator(estimate) - finance_data = calculator.get_finance_data() - + finance_data = calculator.get_finance_data() + # total = 0 # discount_amount = 0 @@ -3143,7 +3179,7 @@ class BillDetailView(LoginRequiredMixin, DetailView): bill = kwargs.get("object") if bill.get_itemtxs_data(): txs = bill.get_itemtxs_data()[0] - + car_and_item_info = [ { "car": models.Car.objects.get(vin=x.item_model.name), @@ -3164,7 +3200,6 @@ class BillDetailView(LoginRequiredMixin, DetailView): ) vat = models.VatRate.objects.filter(is_active=True).first() if vat: - grand_total += round(Decimal(grand_total) * Decimal(vat.rate), 2) kwargs["car_and_item_info"] = car_and_item_info kwargs["grand_total"] = grand_total @@ -3390,16 +3425,14 @@ def bill_create(request): } ) car_list = models.Car.objects.filter( - dealer=dealer, finances__selling_price__gt=0,status="available" + dealer=dealer, finances__selling_price__gt=0, status="available" ) context = { "form": form, "items": [ { "car": x, - "product": entity.get_items_products() - .filter(name=x.vin) - .first(), + "product": entity.get_items_products().filter(name=x.vin).first(), } for x in car_list ], @@ -3422,11 +3455,12 @@ class SubscriptionPlans(ListView): # orders + class OrderListView(ListView): model = models.SaleOrder template_name = "sales/orders/order_list.html" context_object_name = "orders" - + # email def send_email_view(request, pk): @@ -3498,39 +3532,53 @@ def custom_bad_request_view(request, exception=None): return render(request, "errors/400.html", {}) - # from django_ledger.io.io_core import get_localdate # from django_ledger.views.mixins import (DjangoLedgerSecurityMixIn) # from django.views.generic import RedirectView -from django_ledger.views.financial_statement import FiscalYearBalanceSheetView,BaseIncomeStatementRedirectView,FiscalYearIncomeStatementView +from django_ledger.views.financial_statement import ( + FiscalYearBalanceSheetView, + BaseIncomeStatementRedirectView, + FiscalYearIncomeStatementView, + BaseCashFlowStatementRedirectView, + FiscalYearCashFlowStatementView, +) +from django_ledger.views.entity import EntityModelDetailBaseView,EntityModelDetailHandlerView from django.views.generic import DetailView, RedirectView from django_ledger.io.io_core import get_localdate from django_ledger.models import EntityModel, EntityUnitModel from django_ledger.views.mixins import ( - QuarterlyReportMixIn, YearlyReportMixIn, - MonthlyReportMixIn, DateReportMixIn, DjangoLedgerSecurityMixIn, EntityUnitMixIn, - BaseDateNavigationUrlMixIn, PDFReportMixIn + QuarterlyReportMixIn, + YearlyReportMixIn, + MonthlyReportMixIn, + DateReportMixIn, + DjangoLedgerSecurityMixIn, + EntityUnitMixIn, + BaseDateNavigationUrlMixIn, + PDFReportMixIn, ) # BALANCE SHEET ----------- -class BaseBalanceSheetRedirectView(DjangoLedgerSecurityMixIn, RedirectView): +class BaseBalanceSheetRedirectView(DjangoLedgerSecurityMixIn, RedirectView): def get_redirect_url(self, *args, **kwargs): year = get_localdate().year - return reverse('entity-bs-year', - kwargs={ - 'entity_slug': self.kwargs['entity_slug'], - 'year': year - }) + return reverse( + "entity-bs-year", + kwargs={"entity_slug": self.kwargs["entity_slug"], "year": year}, + ) + + class FiscalYearBalanceSheetViewBase(FiscalYearBalanceSheetView): template_name = "ledger/reports/balance_sheet.html" - + + class QuarterlyBalanceSheetView(FiscalYearBalanceSheetViewBase, QuarterlyReportMixIn): """ Quarter Balance Sheet View. """ + class MonthlyBalanceSheetView(FiscalYearBalanceSheetViewBase, MonthlyReportMixIn): """ Monthly Balance Sheet View. @@ -3542,33 +3590,264 @@ class DateBalanceSheetView(FiscalYearBalanceSheetViewBase, DateReportMixIn): Date Balance Sheet View. """ -class BaseIncomeStatementRedirectViewBase(BaseIncomeStatementRedirectView): +# Income Statement ----------- + + +class BaseIncomeStatementRedirectViewBase(BaseIncomeStatementRedirectView): def get_redirect_url(self, *args, **kwargs): year = get_localdate().year dealer = get_user_type(self.request) - return reverse('entity-ic-year', - kwargs={ - 'entity_slug': dealer.entity.slug, - 'year': year - }) + return reverse( + "entity-ic-year", kwargs={"entity_slug": dealer.entity.slug, "year": year} + ) + class FiscalYearIncomeStatementViewBase(FiscalYearIncomeStatementView): template_name = "ledger/reports/income_statement.html" - -class QuarterlyIncomeStatementView(FiscalYearIncomeStatementView, QuarterlyReportMixIn): + + +class QuarterlyIncomeStatementView( + FiscalYearIncomeStatementViewBase, QuarterlyReportMixIn +): """ Quarter Income Statement View. """ -class MonthlyIncomeStatementView(FiscalYearIncomeStatementView, MonthlyReportMixIn): +class MonthlyIncomeStatementView(FiscalYearIncomeStatementViewBase, MonthlyReportMixIn): """ Monthly Income Statement View. """ -class DateModelIncomeStatementView(FiscalYearIncomeStatementView, DateReportMixIn): +class DateModelIncomeStatementView(FiscalYearIncomeStatementViewBase, DateReportMixIn): """ Date Income Statement View. """ + + +# Cash Flow ----------- + + +class BaseCashFlowStatementRedirectViewBase(BaseCashFlowStatementRedirectView): + def get_redirect_url(self, *args, **kwargs): + year = get_localdate().year + dealer = get_user_type(self.request) + return reverse( + "entity-cf-year", kwargs={"entity_slug": dealer.entity.slug, "year": year} + ) + + +class FiscalYearCashFlowStatementViewBase(FiscalYearCashFlowStatementView): + template_name = "ledger/reports/cash_flow_statement.html" + + +class QuarterlyCashFlowStatementView( + FiscalYearCashFlowStatementViewBase, QuarterlyReportMixIn +): + """ + Quarter Cash Flow Statement View. + """ + + +class MonthlyCashFlowStatementView( + FiscalYearCashFlowStatementViewBase, MonthlyReportMixIn +): + """ + Monthly Cash Flow Statement View. + """ + + +class DateCashFlowStatementView(FiscalYearCashFlowStatementViewBase, DateReportMixIn): + """ + Date Cash Flow Statement View. + """ + + +# Dashboard + +class EntityModelDetailHandlerViewBase(EntityModelDetailHandlerView): + + def get_redirect_url(self, *args, **kwargs): + loc_date = get_localdate() + dealer = get_user_type(self.request) + unit_slug = self.get_unit_slug() + if unit_slug: + return reverse('unit-dashboard-month', + kwargs={ + 'entity_slug': dealer.entity.slug, + 'unit_slug': unit_slug, + 'year': loc_date.year, + 'month': loc_date.month, + }) + return reverse('entity-dashboard-month', + kwargs={ + 'entity_slug': dealer.entity.slug, + 'year': loc_date.year, + 'month': loc_date.month, + }) + + +class EntityModelDetailBaseViewBase(EntityModelDetailBaseView): + template_name = "ledger/reports/dashboard.html" + + def get_context_data(self, **kwargs): + context = super().get_context_data(**kwargs) + dealer = get_user_type(self.request) + entity_model: EntityModel = dealer.entity + context['page_title'] = entity_model.name + context['header_title'] = entity_model.name + context['header_subtitle'] = _('Dashboard') + context['header_subtitle_icon'] = 'mdi:monitor-dashboard' + + unit_slug = context.get('unit_slug', self.get_unit_slug()) + KWARGS = dict(entity_slug=self.kwargs['entity_slug']) + + if unit_slug: + KWARGS['unit_slug'] = unit_slug + + url_pointer = 'entity' if not unit_slug else 'unit' + context['pnl_chart_id'] = f'djl-entity-pnl-chart-{randint(10000, 99999)}' + context['pnl_chart_endpoint'] = reverse(f'django_ledger:{url_pointer}-json-pnl', kwargs=KWARGS) + context['payables_chart_id'] = f'djl-entity-payables-chart-{randint(10000, 99999)}' + context['payables_chart_endpoint'] = reverse(f'django_ledger:{url_pointer}-json-net-payables', kwargs=KWARGS) + context['receivables_chart_id'] = f'djl-entity-receivables-chart-{randint(10000, 99999)}' + context['receivables_chart_endpoint'] = reverse(f'django_ledger:{url_pointer}-json-net-receivables', + kwargs=KWARGS) + + return context + + +class FiscalYearEntityModelDashboardView(EntityModelDetailBaseViewBase): + """ + Entity Fiscal Year Dashboard View. + """ + + +class QuarterlyEntityDashboardView(FiscalYearEntityModelDashboardView, QuarterlyReportMixIn): + """ + Entity Quarterly Dashboard View. + """ + + +class MonthlyEntityDashboardView(FiscalYearEntityModelDashboardView, MonthlyReportMixIn): + """ + Monthly Entity Dashboard View. + """ + + +class DateEntityDashboardView(FiscalYearEntityModelDashboardView, DateReportMixIn): + """ + Date-specific Entity Dashboard View. + """ + + + +class PayableNetAPIView(DjangoLedgerSecurityMixIn, EntityUnitMixIn, View): + http_method_names = ['get'] + + def get(self, request, *args, **kwargs): + if request.user.is_authenticated: + dealer = get_user_type(request) + bill_qs = BillModel.objects.for_entity( + entity_slug=dealer.entity.slug, + user_model=dealer.entity.admin, + ).unpaid() + + # todo: implement this... + # unit_slug = self.get_unit_slug() + # if unit_slug: + # bill_qs.filter(ledger__journal_entry__entity_unit__slug__exact=unit_slug) + + net_summary = accruable_net_summary(bill_qs) + net_payables = { + 'net_payable_data': net_summary + } + + return JsonResponse({ + 'results': net_payables + }) + + return JsonResponse({ + 'message': 'Unauthorized' + }, status=401) + +class ReceivableNetAPIView(DjangoLedgerSecurityMixIn, EntityUnitMixIn, View): + http_method_names = ['get'] + + def get(self, request, *args, **kwargs): + if request.user.is_authenticated: + dealer = get_user_type(request) + invoice_qs = InvoiceModel.objects.for_entity( + entity_slug=dealer.entity.slug, + user_model=dealer.entity.admin, + ).unpaid() + + # todo: implement this... + # unit_slug = self.get_unit_slug() + # if unit_slug: + # invoice_qs.filter(ledger__journal_entry__entity_unit__slug__exact=unit_slug) + + net_summary = accruable_net_summary(invoice_qs) + + net_receivable = { + 'net_receivable_data': net_summary + } + + return JsonResponse({ + 'results': net_receivable + }) + + return JsonResponse({ + 'message': 'Unauthorized' + }, status=401) + +class PnLAPIView(DjangoLedgerSecurityMixIn, EntityUnitMixIn, View): + http_method_names = ['get'] + + def get(self, request, *args, **kwargs): + if request.user.is_authenticated: + dealer = get_user_type(request) + entity = EntityModel.objects.for_user( + user_model=dealer.entity.admin).get( + slug__exact=dealer.entity.slug) + + unit_slug = self.get_unit_slug() + + io_digest = entity.digest( + user_model=self.request.user, + unit_slug=unit_slug, + equity_only=True, + signs=False, + by_period=True, + process_groups=True, + from_date=self.request.GET.get('fromDate'), + to_date=self.request.GET.get('toDate'), + + # todo: For PnL to display proper period values must not use closing entries. + use_closing_entries=False + ) + + io_data = io_digest.get_io_data() + group_balance_by_period = io_data['group_balance_by_period'] + group_balance_by_period = dict(sorted((k, v) for k, v in group_balance_by_period.items())) + + entity_data = { + f'{month_name[k[1]]} {k[0]}': {d: float(f) for d, f in v.items()} for k, v in + group_balance_by_period.items()} + + entity_pnl = { + 'entity_slug': entity.slug, + 'entity_name': entity.name, + 'pnl_data': entity_data + } + + return JsonResponse({ + 'results': entity_pnl + }) + + return JsonResponse({ + 'message': 'Unauthorized' + }, status=401) + diff --git a/scripts/run.py b/scripts/run.py index 49d99a63..fba9a050 100644 --- a/scripts/run.py +++ b/scripts/run.py @@ -1,3 +1,5 @@ +from django_ledger.models.invoice import InvoiceModel +from django_ledger.utils import accruable_net_summary from decimal import Decimal from django_ledger.models import EstimateModel,EntityModel from rich import print @@ -28,18 +30,23 @@ def run(): # # print(bs_report) # print(ic_report.get_report_data()) - estimate = EstimateModel.objects.first() - calculator = CarFinanceCalculator(estimate) - finance_data = calculator.get_finance_data() + # estimate = EstimateModel.objects.first() + # calculator = CarFinanceCalculator(estimate) + # finance_data = calculator.get_finance_data() - invoice_itemtxs = { - i.get("item_number"): { - "unit_cost": i.get("total_price"), - "quantity": i.get("quantity"), - "total_amount": i.get("total_vat"), - } - for i in finance_data.get("cars") - } - - print(finance_data) \ No newline at end of file + # invoice_itemtxs = { + # i.get("item_number"): { + # "unit_cost": i.get("total_price"), + # "quantity": i.get("quantity"), + # "total_amount": i.get("total_vat"), + # } + # for i in finance_data.get("cars") + # } + # invoice = InvoiceModel.objects.first() + entity = EntityModel.objects.filter(name="ismail").first() + invoice_qs = InvoiceModel.objects.for_entity( + entity_slug=entity.slug, + user_model=entity.admin, + ).unpaid() + print(accruable_net_summary(invoice_qs)) \ No newline at end of file diff --git a/static/js/djetler.bundle.js b/static/js/djetler.bundle.js new file mode 100644 index 00000000..eb26dbec --- /dev/null +++ b/static/js/djetler.bundle.js @@ -0,0 +1,2 @@ +/*! For license information please see djetler.bundle.js.LICENSE.txt */ +var djLedger;(()=>{var e={7293:function(e,t,n){!function(e){"use strict";e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(8609))},3236:function(e,t,n){!function(e){"use strict";var t=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},n={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},s=function(e){return function(s,i,a,r){var o=t(s),d=n[e][t(s)];return 2===o&&(d=d[i?0:1]),d.replace(/%d/i,s)}},i=["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar-dz",{months:i,monthsShort:i,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:s("s"),ss:s("s"),m:s("m"),mm:s("m"),h:s("h"),hh:s("h"),d:s("d"),dd:s("d"),M:s("M"),MM:s("M"),y:s("y"),yy:s("y")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:0,doy:4}})}(n(8609))},2360:function(e,t,n){!function(e){"use strict";e.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}})}(n(8609))},6005:function(e,t,n){!function(e){"use strict";var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},s={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},i=function(e){return function(t,i,a,r){var o=n(t),d=s[e][n(t)];return 2===o&&(d=d[i?0:1]),d.replace(/%d/i,t)}},a=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar-ly",{months:a,monthsShort:a,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(8609))},9268:function(e,t,n){!function(e){"use strict";e.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(n(8609))},9583:function(e,t,n){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};e.defineLocale("ar-ps",{months:"كانون الثاني_شباط_آذار_نيسان_أيّار_حزيران_تمّوز_آب_أيلول_تشري الأوّل_تشرين الثاني_كانون الأوّل".split("_"),monthsShort:"ك٢_شباط_آذار_نيسان_أيّار_حزيران_تمّوز_آب_أيلول_ت١_ت٢_ك١".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).split("").reverse().join("").replace(/[١٢](?![\u062a\u0643])/g,(function(e){return n[e]})).split("").reverse().join("").replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:0,doy:6}})}(n(8609))},6166:function(e,t,n){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};e.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:0,doy:6}})}(n(8609))},776:function(e,t,n){!function(e){"use strict";e.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(n(8609))},641:function(e,t,n){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},s=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},i={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},a=function(e){return function(t,n,a,r){var o=s(t),d=i[e][s(t)];return 2===o&&(d=d[n?0:1]),d.replace(/%d/i,t)}},r=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar",{months:r,monthsShort:r,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:a("s"),ss:a("s"),m:a("m"),mm:a("m"),h:a("h"),hh:a("h"),d:a("d"),dd:a("d"),M:a("M"),MM:a("M"),y:a("y"),yy:a("y")},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(8609))},6937:function(e,t,n){!function(e){"use strict";var t={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"};e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"bir neçə saniyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(e){return/^(gündüz|axşam)$/.test(e)},meridiem:function(e,t,n){return e<4?"gecə":e<12?"səhər":e<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(0===e)return e+"-ıncı";var n=e%10;return e+(t[n]||t[e%100-n]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(8609))},563:function(e,t,n){!function(e){"use strict";function t(e,t,n){return"m"===n?t?"хвіліна":"хвіліну":"h"===n?t?"гадзіна":"гадзіну":e+" "+(s=+e,i={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:t?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"}[n].split("_"),s%10==1&&s%100!=11?i[0]:s%10>=2&&s%10<=4&&(s%100<10||s%100>=20)?i[1]:i[2]);var s,i}e.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:t,mm:t,h:t,hh:t,d:"дзень",dd:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночы":e<12?"раніцы":e<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-ы":e+"-і";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}})}(n(8609))},9157:function(e,t,n){!function(e){"use strict";e.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Миналата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[Миналия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",w:"седмица",ww:"%d седмици",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(n(8609))},1547:function(e,t,n){!function(e){"use strict";e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(n(8609))},5657:function(e,t,n){!function(e){"use strict";var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};e.defineLocale("bn-bd",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/রাত|ভোর|সকাল|দুপুর|বিকাল|সন্ধ্যা|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t?e<4?e:e+12:"ভোর"===t||"সকাল"===t?e:"দুপুর"===t?e>=3?e:e+12:"বিকাল"===t||"সন্ধ্যা"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"রাত":e<6?"ভোর":e<12?"সকাল":e<15?"দুপুর":e<18?"বিকাল":e<20?"সন্ধ্যা":"রাত"},week:{dow:0,doy:6}})}(n(8609))},222:function(e,t,n){!function(e){"use strict";var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};e.defineLocale("bn",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t&&e>=4||"দুপুর"===t&&e<5||"বিকাল"===t?e+12:e},meridiem:function(e,t,n){return e<4?"রাত":e<10?"সকাল":e<17?"দুপুর":e<20?"বিকাল":"রাত"},week:{dow:0,doy:6}})}(n(8609))},141:function(e,t,n){!function(e){"use strict";var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};e.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12".split("_"),monthsShortRegex:/^(ཟླ་\d{1,2})/,monthsParseExact:!0,weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){return 12===e&&(e=0),"མཚན་མོ"===t&&e>=4||"ཉིན་གུང"===t&&e<5||"དགོང་དག"===t?e+12:e},meridiem:function(e,t,n){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}})}(n(8609))},5690:function(e,t,n){!function(e){"use strict";function t(e,t,n){return e+" "+function(e,t){return 2===t?function(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}(e):e}({mm:"munutenn",MM:"miz",dd:"devezh"}[n],e)}function n(e){return e>9?n(e%10):e}var s=[/^gen/i,/^c[ʼ\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],i=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,a=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];e.defineLocale("br",{months:"Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:a,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[ʼ\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:a,monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:s,longMonthsParse:s,shortMonthsParse:s,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warcʼhoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Decʼh da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s ʼzo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function(e){switch(n(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){return e+(1===e?"añ":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(e){return"g.m."===e},meridiem:function(e,t,n){return e<12?"a.m.":"g.m."}})}(n(8609))},6201:function(e,t,n){!function(e){"use strict";function t(e,t,n){var s=e+" ";switch(n){case"ss":return s+(1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi");case"mm":return s+(1===e?"minuta":2===e||3===e||4===e?"minute":"minuta");case"h":return"jedan sat";case"hh":return s+(1===e?"sat":2===e||3===e||4===e?"sata":"sati");case"dd":return s+(1===e?"dan":"dana");case"MM":return s+(1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci");case"yy":return s+(1===e?"godina":2===e||3===e||4===e?"godine":"godina")}}e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:function(e,t,n,s){if("m"===n)return t?"jedna minuta":s?"jednu minutu":"jedne minute"},mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(8609))},5222:function(e,t,n){!function(e){"use strict";e.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n(8609))},6668:function(e,t,n){!function(e){"use strict";var t={standalone:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),format:"ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince".split("_"),isFormat:/DD?[o.]?(\[[^\[\]]*\]|\s)+MMMM/},n="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),s=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],i=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;function a(e){return e>1&&e<5&&1!=~~(e/10)}function r(e,t,n,s){var i=e+" ";switch(n){case"s":return t||s?"pár sekund":"pár sekundami";case"ss":return t||s?i+(a(e)?"sekundy":"sekund"):i+"sekundami";case"m":return t?"minuta":s?"minutu":"minutou";case"mm":return t||s?i+(a(e)?"minuty":"minut"):i+"minutami";case"h":return t?"hodina":s?"hodinu":"hodinou";case"hh":return t||s?i+(a(e)?"hodiny":"hodin"):i+"hodinami";case"d":return t||s?"den":"dnem";case"dd":return t||s?i+(a(e)?"dny":"dní"):i+"dny";case"M":return t||s?"měsíc":"měsícem";case"MM":return t||s?i+(a(e)?"měsíce":"měsíců"):i+"měsíci";case"y":return t||s?"rok":"rokem";case"yy":return t||s?i+(a(e)?"roky":"let"):i+"lety"}}e.defineLocale("cs",{months:t,monthsShort:n,monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:s,longMonthsParse:s,shortMonthsParse:s,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(8609))},4167:function(e,t,n){!function(e){"use strict";e.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(e){return e+(/сехет$/i.exec(e)?"рен":/ҫул$/i.exec(e)?"тан":"ран")},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}})}(n(8609))},7726:function(e,t,n){!function(e){"use strict";e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t="";return e>20?t=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(t=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+t},week:{dow:1,doy:4}})}(n(8609))},4597:function(e,t,n){!function(e){"use strict";e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(8609))},2355:function(e,t,n){!function(e){"use strict";function t(e,t,n,s){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[n][0]:i[n][1]}e.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(8609))},4069:function(e,t,n){!function(e){"use strict";function t(e,t,n,s){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[n][0]:i[n][1]}e.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(8609))},2281:function(e,t,n){!function(e){"use strict";function t(e,t,n,s){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[n][0]:i[n][1]}e.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(8609))},1440:function(e,t,n){!function(e){"use strict";var t=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],n=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"];e.defineLocale("dv",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(e){return"މފ"===e},meridiem:function(e,t,n){return e<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",ss:"d% ސިކުންތު",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:7,doy:12}})}(n(8609))},3551:function(e,t,n){!function(e){"use strict";e.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(e,t){return e?"string"==typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,t,n){return e>11?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(e){return"μ"===(e+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){return 6===this.day()?"[το προηγούμενο] dddd [{}] LT":"[την προηγούμενη] dddd [{}] LT"},sameElse:"L"},calendar:function(e,t){var n,s=this._calendarEl[e],i=t&&t.hours();return n=s,("undefined"!=typeof Function&&n instanceof Function||"[object Function]"===Object.prototype.toString.call(n))&&(s=s.apply(t)),s.replace("{}",i%12==1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}})}(n(8609))},660:function(e,t,n){!function(e){"use strict";e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:4}})}(n(8609))},7206:function(e,t,n){!function(e){"use strict";e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(8609))},3815:function(e,t,n){!function(e){"use strict";e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(8609))},9612:function(e,t,n){!function(e){"use strict";e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(8609))},5819:function(e,t,n){!function(e){"use strict";e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(8609))},4413:function(e,t,n){!function(e){"use strict";e.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:6}})}(n(8609))},1998:function(e,t,n){!function(e){"use strict";e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(8609))},1568:function(e,t,n){!function(e){"use strict";e.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(8609))},8994:function(e,t,n){!function(e){"use strict";e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,n){return e>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(n(8609))},7370:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),s=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,s){return e?/-MMM-/.test(s)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:s,longMonthsParse:s,shortMonthsParse:s,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(8609))},7838:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),s=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,s){return e?/-MMM-/.test(s)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:s,longMonthsParse:s,shortMonthsParse:s,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:4},invalidDate:"Fecha inválida"})}(n(8609))},7131:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),s=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,s){return e?/-MMM-/.test(s)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:s,longMonthsParse:s,shortMonthsParse:s,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}})}(n(8609))},4278:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),s=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,s){return e?/-MMM-/.test(s)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:s,longMonthsParse:s,shortMonthsParse:s,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4},invalidDate:"Fecha inválida"})}(n(8609))},5543:function(e,t,n){!function(e){"use strict";function t(e,t,n,s){var i={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return t?i[n][2]?i[n][2]:i[n][1]:s?i[n][0]:i[n][1]}e.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d päeva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(8609))},8672:function(e,t,n){!function(e){"use strict";e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(8609))},3051:function(e,t,n){!function(e){"use strict";var t={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},n={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};e.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(e){return/بعد از ظهر/.test(e)},meridiem:function(e,t,n){return e<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"%d ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(e){return e.replace(/[۰-۹]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}})}(n(8609))},4595:function(e,t,n){!function(e){"use strict";var t="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),n=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",t[7],t[8],t[9]];function s(e,s,i,a){var r="";switch(i){case"s":return a?"muutaman sekunnin":"muutama sekunti";case"ss":r=a?"sekunnin":"sekuntia";break;case"m":return a?"minuutin":"minuutti";case"mm":r=a?"minuutin":"minuuttia";break;case"h":return a?"tunnin":"tunti";case"hh":r=a?"tunnin":"tuntia";break;case"d":return a?"päivän":"päivä";case"dd":r=a?"päivän":"päivää";break;case"M":return a?"kuukauden":"kuukausi";case"MM":r=a?"kuukauden":"kuukautta";break;case"y":return a?"vuoden":"vuosi";case"yy":r=a?"vuoden":"vuotta"}return function(e,s){return e<10?s?n[e]:t[e]:e}(e,a)+" "+r}e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s,ss:s,m:s,mm:s,h:s,hh:s,d:s,dd:s,M:s,MM:s,y:s,yy:s},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(8609))},8351:function(e,t,n){!function(e){"use strict";e.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n(8609))},3689:function(e,t,n){!function(e){"use strict";e.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(8609))},9735:function(e,t,n){!function(e){"use strict";e.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}})}(n(8609))},7480:function(e,t,n){!function(e){"use strict";e.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n(8609))},8030:function(e,t,n){!function(e){"use strict";var t=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,n=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i];e.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:t,monthsShortRegex:t,monthsStrictRegex:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,monthsShortStrictRegex:/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n(8609))},531:function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,s){return e?/-MMM-/.test(s)?n[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(8609))},6394:function(e,t,n){!function(e){"use strict";e.defineLocale("ga",{months:["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","Márt","Aib","Beal","Meith","Iúil","Lún","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"],weekdaysShort:["Domh","Luan","Máirt","Céad","Déar","Aoine","Sath"],weekdaysMin:["Do","Lu","Má","Cé","Dé","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Amárach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inné ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",ss:"%d soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mí",MM:"%d míonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n(8609))},8629:function(e,t,n){!function(e){"use strict";e.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],monthsShort:["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],monthsParseExact:!0,weekdays:["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n(8609))},8797:function(e,t,n){!function(e){"use strict";e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(8609))},9824:function(e,t,n){!function(e){"use strict";function t(e,t,n,s){var i={s:["थोडया सॅकंडांनी","थोडे सॅकंड"],ss:[e+" सॅकंडांनी",e+" सॅकंड"],m:["एका मिणटान","एक मिनूट"],mm:[e+" मिणटांनी",e+" मिणटां"],h:["एका वरान","एक वर"],hh:[e+" वरांनी",e+" वरां"],d:["एका दिसान","एक दीस"],dd:[e+" दिसांनी",e+" दीस"],M:["एका म्हयन्यान","एक म्हयनो"],MM:[e+" म्हयन्यानी",e+" म्हयने"],y:["एका वर्सान","एक वर्स"],yy:[e+" वर्सांनी",e+" वर्सां"]};return s?i[n][0]:i[n][1]}e.defineLocale("gom-deva",{months:{standalone:"जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),format:"जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार".split("_"),weekdaysShort:"आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.".split("_"),weekdaysMin:"आ_सो_मं_बु_ब्रे_सु_शे".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [वाजतां]",LTS:"A h:mm:ss [वाजतां]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [वाजतां]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [वाजतां]",llll:"ddd, D MMM YYYY, A h:mm [वाजतां]"},calendar:{sameDay:"[आयज] LT",nextDay:"[फाल्यां] LT",nextWeek:"[फुडलो] dddd[,] LT",lastDay:"[काल] LT",lastWeek:"[फाटलो] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s आदीं",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(वेर)/,ordinal:function(e,t){return"D"===t?e+"वेर":e},week:{dow:0,doy:3},meridiemParse:/राती|सकाळीं|दनपारां|सांजे/,meridiemHour:function(e,t){return 12===e&&(e=0),"राती"===t?e<4?e:e+12:"सकाळीं"===t?e:"दनपारां"===t?e>12?e:e+12:"सांजे"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"राती":e<12?"सकाळीं":e<16?"दनपारां":e<20?"सांजे":"राती"}})}(n(8609))},3083:function(e,t,n){!function(e){"use strict";function t(e,t,n,s){var i={s:["thoddea sekondamni","thodde sekond"],ss:[e+" sekondamni",e+" sekond"],m:["eka mintan","ek minut"],mm:[e+" mintamni",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voramni",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disamni",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineamni",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsamni",e+" vorsam"]};return s?i[n][0]:i[n][1]}e.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){return"D"===t?e+"er":e},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokallim"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"rati":e<12?"sokallim":e<16?"donparam":e<20?"sanje":"rati"}})}(n(8609))},3078:function(e,t,n){!function(e){"use strict";var t={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},n={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"};e.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),longDateFormat:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},calendar:{sameDay:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પહેલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(e){return e.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(e,t){return 12===e&&(e=0),"રાત"===t?e<4?e:e+12:"સવાર"===t?e:"બપોર"===t?e>=10?e:e+12:"સાંજ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"રાત":e<10?"સવાર":e<17?"બપોર":e<20?"સાંજ":"રાત"},week:{dow:0,doy:6}})}(n(8609))},5621:function(e,t,n){!function(e){"use strict";e.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(e){return 2===e?"שעתיים":e+" שעות"},d:"יום",dd:function(e){return 2===e?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return 2===e?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return 2===e?"שנתיים":e%10==0&&10!==e?e+" שנה":e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridiem:function(e,t,n){return e<5?"לפנות בוקר":e<10?"בבוקר":e<12?n?'לפנה"צ':"לפני הצהריים":e<18?n?'אחה"צ':"אחרי הצהריים":"בערב"}})}(n(8609))},3473:function(e,t,n){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},s=[/^जन/i,/^फ़र|फर/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सितं|सित/i,/^अक्टू/i,/^नव|नवं/i,/^दिसं|दिस/i];e.defineLocale("hi",{months:{format:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),standalone:"जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर".split("_")},monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},monthsParse:s,longMonthsParse:s,shortMonthsParse:[/^जन/i,/^फ़र/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सित/i,/^अक्टू/i,/^नव/i,/^दिस/i],monthsRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsShortRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsStrictRegex:/^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i,monthsShortStrictRegex:/^(जन\.?|फ़र\.?|मार्च?|अप्रै\.?|मई?|जून?|जुल\.?|अग\.?|सित\.?|अक्टू\.?|नव\.?|दिस\.?)/i,calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात"===t?e<4?e:e+12:"सुबह"===t?e:"दोपहर"===t?e>=10?e:e+12:"शाम"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}})}(n(8609))},9248:function(e,t,n){!function(e){"use strict";function t(e,t,n){var s=e+" ";switch(n){case"ss":return s+(1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi");case"m":return t?"jedna minuta":"jedne minute";case"mm":return s+(1===e?"minuta":2===e||3===e||4===e?"minute":"minuta");case"h":return t?"jedan sat":"jednog sata";case"hh":return s+(1===e?"sat":2===e||3===e||4===e?"sata":"sati");case"dd":return s+(1===e?"dan":"dana");case"MM":return s+(1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci");case"yy":return s+(1===e?"godina":2===e||3===e||4===e?"godine":"godina")}}e.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:return"[prošlu] [nedjelju] [u] LT";case 3:return"[prošlu] [srijedu] [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(8609))},6101:function(e,t,n){!function(e){"use strict";var t="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function n(e,t,n,s){var i=e;switch(n){case"s":return s||t?"néhány másodperc":"néhány másodperce";case"ss":return i+(s||t)?" másodperc":" másodperce";case"m":return"egy"+(s||t?" perc":" perce");case"mm":return i+(s||t?" perc":" perce");case"h":return"egy"+(s||t?" óra":" órája");case"hh":return i+(s||t?" óra":" órája");case"d":return"egy"+(s||t?" nap":" napja");case"dd":return i+(s||t?" nap":" napja");case"M":return"egy"+(s||t?" hónap":" hónapja");case"MM":return i+(s||t?" hónap":" hónapja");case"y":return"egy"+(s||t?" év":" éve");case"yy":return i+(s||t?" év":" éve")}return""}function s(e){return(e?"":"[múlt] ")+"["+t[this.day()]+"] LT[-kor]"}e.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,n){return e<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return s.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return s.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(8609))},1868:function(e,t,n){!function(e){"use strict";e.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(e){return/^(ցերեկվա|երեկոյան)$/.test(e)},meridiem:function(e){return e<4?"գիշերվա":e<12?"առավոտվա":e<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-ին":e+"-րդ";default:return e}},week:{dow:1,doy:7}})}(n(8609))},2627:function(e,t,n){!function(e){"use strict";e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(n(8609))},2474:function(e,t,n){!function(e){"use strict";function t(e){return e%100==11||e%10!=1}function n(e,n,s,i){var a=e+" ";switch(s){case"s":return n||i?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return t(e)?a+(n||i?"sekúndur":"sekúndum"):a+"sekúnda";case"m":return n?"mínúta":"mínútu";case"mm":return t(e)?a+(n||i?"mínútur":"mínútum"):n?a+"mínúta":a+"mínútu";case"hh":return t(e)?a+(n||i?"klukkustundir":"klukkustundum"):a+"klukkustund";case"d":return n?"dagur":i?"dag":"degi";case"dd":return t(e)?n?a+"dagar":a+(i?"daga":"dögum"):n?a+"dagur":a+(i?"dag":"degi");case"M":return n?"mánuður":i?"mánuð":"mánuði";case"MM":return t(e)?n?a+"mánuðir":a+(i?"mánuði":"mánuðum"):n?a+"mánuður":a+(i?"mánuð":"mánuði");case"y":return n||i?"ár":"ári";case"yy":return t(e)?a+(n||i?"ár":"árum"):a+(n||i?"ár":"ári")}}e.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:n,ss:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(8609))},4551:function(e,t,n){!function(e){"use strict";e.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(8609))},6691:function(e,t,n){!function(e){"use strict";e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){return 0===this.day()?"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT":"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(8609))},4719:function(e,t,n){!function(e){"use strict";e.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"令和",narrow:"㋿",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"平成",narrow:"㍻",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"昭和",narrow:"㍼",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"大正",narrow:"㍽",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"明治",narrow:"㍾",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"西暦",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"紀元前",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(元|\d+)年/,eraYearOrdinalParse:function(e,t){return"元"===t[1]?1:parseInt(t[1]||e,10)},months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(e){return"午後"===e},meridiem:function(e,t,n){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(e){return e.week()!==this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(e){return this.week()!==e.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(e,t){switch(t){case"y":return 1===e?"元年":e+"年";case"d":case"D":case"DDD":return e+"日";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}})}(n(8609))},558:function(e,t,n){!function(e){"use strict";e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(n(8609))},7310:function(e,t,n){!function(e){"use strict";e.defineLocale("ka",{months:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(e){return e.replace(/(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/,(function(e,t,n){return"ი"===n?t+"ში":t+n+"ში"}))},past:function(e){return/(წამი|წუთი|საათი|დღე|თვე)/.test(e)?e.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(e)?e.replace(/წელი$/,"წლის წინ"):e},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(e){return 0===e?e:1===e?e+"-ლი":e<20||e<=100&&e%20==0||e%100==0?"მე-"+e:e+"-ე"},week:{dow:1,doy:7}})}(n(8609))},6252:function(e,t,n){!function(e){"use strict";var t={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};e.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(8609))},2298:function(e,t,n){!function(e){"use strict";var t={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},n={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"};e.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ព្រឹក|ល្ងាច/,isPM:function(e){return"ល្ងាច"===e},meridiem:function(e,t,n){return e<12?"ព្រឹក":"ល្ងាច"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",ss:"%d វិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},dayOfMonthOrdinalParse:/ទី\d{1,2}/,ordinal:"ទី%d",preparse:function(e){return e.replace(/[១២៣៤៥៦៧៨៩០]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(n(8609))},3751:function(e,t,n){!function(e){"use strict";var t={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},n={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"};e.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(e){return e.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ರಾತ್ರಿ"===t?e<4?e:e+12:"ಬೆಳಿಗ್ಗೆ"===t?e:"ಮಧ್ಯಾಹ್ನ"===t?e>=10?e:e+12:"ಸಂಜೆ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ರಾತ್ರಿ":e<10?"ಬೆಳಿಗ್ಗೆ":e<17?"ಮಧ್ಯಾಹ್ನ":e<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(e){return e+"ನೇ"},week:{dow:0,doy:6}})}(n(8609))},4032:function(e,t,n){!function(e){"use strict";e.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"일";case"M":return e+"월";case"w":case"W":return e+"주";default:return e}},meridiemParse:/오전|오후/,isPM:function(e){return"오후"===e},meridiem:function(e,t,n){return e<12?"오전":"오후"}})}(n(8609))},7945:function(e,t,n){!function(e){"use strict";function t(e,t,n,s){var i={s:["çend sanîye","çend sanîyeyan"],ss:[e+" sanîye",e+" sanîyeyan"],m:["deqîqeyek","deqîqeyekê"],mm:[e+" deqîqe",e+" deqîqeyan"],h:["saetek","saetekê"],hh:[e+" saet",e+" saetan"],d:["rojek","rojekê"],dd:[e+" roj",e+" rojan"],w:["hefteyek","hefteyekê"],ww:[e+" hefte",e+" hefteyan"],M:["mehek","mehekê"],MM:[e+" meh",e+" mehan"],y:["salek","salekê"],yy:[e+" sal",e+" salan"]};return t?i[n][0]:i[n][1]}e.defineLocale("ku-kmr",{months:"Rêbendan_Sibat_Adar_Nîsan_Gulan_Hezîran_Tîrmeh_Tebax_Îlon_Cotmeh_Mijdar_Berfanbar".split("_"),monthsShort:"Rêb_Sib_Ada_Nîs_Gul_Hez_Tîr_Teb_Îlo_Cot_Mij_Ber".split("_"),monthsParseExact:!0,weekdays:"Yekşem_Duşem_Sêşem_Çarşem_Pêncşem_În_Şemî".split("_"),weekdaysShort:"Yek_Du_Sê_Çar_Pên_În_Şem".split("_"),weekdaysMin:"Ye_Du_Sê_Ça_Pê_În_Şe".split("_"),meridiem:function(e,t,n){return e<12?n?"bn":"BN":n?"pn":"PN"},meridiemParse:/bn|BN|pn|PN/,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM[a] YYYY[an]",LLL:"Do MMMM[a] YYYY[an] HH:mm",LLLL:"dddd, Do MMMM[a] YYYY[an] HH:mm",ll:"Do MMM[.] YYYY[an]",lll:"Do MMM[.] YYYY[an] HH:mm",llll:"ddd[.], Do MMM[.] YYYY[an] HH:mm"},calendar:{sameDay:"[Îro di saet] LT [de]",nextDay:"[Sibê di saet] LT [de]",nextWeek:"dddd [di saet] LT [de]",lastDay:"[Duh di saet] LT [de]",lastWeek:"dddd[a borî di saet] LT [de]",sameElse:"L"},relativeTime:{future:"di %s de",past:"berî %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,w:t,ww:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(?:yê|ê|\.)/,ordinal:function(e,t){var n=t.toLowerCase();return n.includes("w")||n.includes("m")?e+".":e+function(e){var t=(e=""+e).substring(e.length-1),n=e.length>1?e.substring(e.length-2):"";return 12==n||13==n||"2"!=t&&"3"!=t&&"50"!=n&&"70"!=t&&"80"!=t?"ê":"yê"}(e)},week:{dow:1,doy:4}})}(n(8609))},9218:function(e,t,n){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},s=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"];e.defineLocale("ku",{months:s,monthsShort:s,weekdays:"یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌".split("_"),weekdaysShort:"یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌".split("_"),weekdaysMin:"ی_د_س_چ_پ_ه_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئێواره‌|به‌یانی/,isPM:function(e){return/ئێواره‌/.test(e)},meridiem:function(e,t,n){return e<12?"به‌یانی":"ئێواره‌"},calendar:{sameDay:"[ئه‌مرۆ كاتژمێر] LT",nextDay:"[به‌یانی كاتژمێر] LT",nextWeek:"dddd [كاتژمێر] LT",lastDay:"[دوێنێ كاتژمێر] LT",lastWeek:"dddd [كاتژمێر] LT",sameElse:"L"},relativeTime:{future:"له‌ %s",past:"%s",s:"چه‌ند چركه‌یه‌ك",ss:"چركه‌ %d",m:"یه‌ك خوله‌ك",mm:"%d خوله‌ك",h:"یه‌ك كاتژمێر",hh:"%d كاتژمێر",d:"یه‌ك ڕۆژ",dd:"%d ڕۆژ",M:"یه‌ك مانگ",MM:"%d مانگ",y:"یه‌ك ساڵ",yy:"%d ساڵ"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n(8609))},4806:function(e,t,n){!function(e){"use strict";var t={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"};e.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кечээ саат] LT",lastWeek:"[Өткөн аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(8609))},7684:function(e,t,n){!function(e){"use strict";function t(e,t,n,s){var i={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?i[n][0]:i[n][1]}function n(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10;return n(0===t?e/10:t)}if(e<1e4){for(;e>=10;)e/=10;return n(e)}return n(e/=1e3)}e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(e){return n(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e},past:function(e){return n(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e},s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d Méint",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(8609))},2327:function(e,t,n){!function(e){"use strict";e.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(e){return"ຕອນແລງ"===e},meridiem:function(e,t,n){return e<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(e){return"ທີ່"+e}})}(n(8609))},2562:function(e,t,n){!function(e){"use strict";var t={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function n(e,t,n,s){return t?i(n)[0]:s?i(n)[1]:i(n)[2]}function s(e){return e%10==0||e>10&&e<20}function i(e){return t[e].split("_")}function a(e,t,a,r){var o=e+" ";return 1===e?o+n(0,t,a[0],r):t?o+(s(e)?i(a)[1]:i(a)[0]):r?o+i(a)[1]:o+(s(e)?i(a)[1]:i(a)[2])}e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:function(e,t,n,s){return t?"kelios sekundės":s?"kelių sekundžių":"kelias sekundes"},ss:a,m:n,mm:a,h:n,hh:a,d:n,dd:a,M:n,MM:a,y:n,yy:a},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})}(n(8609))},6120:function(e,t,n){!function(e){"use strict";var t={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function n(e,t,n){return n?t%10==1&&t%100!=11?e[2]:e[3]:t%10==1&&t%100!=11?e[0]:e[1]}function s(e,s,i){return e+" "+n(t[i],e,s)}function i(e,s,i){return n(t[i],e,s)}e.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:function(e,t){return t?"dažas sekundes":"dažām sekundēm"},ss:s,m:i,mm:s,h:i,hh:s,d:i,dd:s,M:i,MM:s,y:i,yy:s},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(8609))},3192:function(e,t,n){!function(e){"use strict";var t={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,s){var i=t.words[s];return 1===s.length?n?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i)}};e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(8609))},3068:function(e,t,n){!function(e){"use strict";e.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",ss:"%d hēkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(8609))},886:function(e,t,n){!function(e){"use strict";e.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"за %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"една минута",mm:"%d минути",h:"еден час",hh:"%d часа",d:"еден ден",dd:"%d дена",M:"еден месец",MM:"%d месеци",y:"една година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(n(8609))},8039:function(e,t,n){!function(e){"use strict";e.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",ss:"%d സെക്കൻഡ്",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(e,t){return 12===e&&(e=0),"രാത്രി"===t&&e>=4||"ഉച്ച കഴിഞ്ഞ്"===t||"വൈകുന്നേരം"===t?e+12:e},meridiem:function(e,t,n){return e<4?"രാത്രി":e<12?"രാവിലെ":e<17?"ഉച്ച കഴിഞ്ഞ്":e<20?"വൈകുന്നേരം":"രാത്രി"}})}(n(8609))},9369:function(e,t,n){!function(e){"use strict";function t(e,t,n,s){switch(n){case"s":return t?"хэдхэн секунд":"хэдхэн секундын";case"ss":return e+(t?" секунд":" секундын");case"m":case"mm":return e+(t?" минут":" минутын");case"h":case"hh":return e+(t?" цаг":" цагийн");case"d":case"dd":return e+(t?" өдөр":" өдрийн");case"M":case"MM":return e+(t?" сар":" сарын");case"y":case"yy":return e+(t?" жил":" жилийн");default:return e}}e.defineLocale("mn",{months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),monthsParseExact:!0,weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},meridiemParse:/ҮӨ|ҮХ/i,isPM:function(e){return"ҮХ"===e},meridiem:function(e,t,n){return e<12?"ҮӨ":"ҮХ"},calendar:{sameDay:"[Өнөөдөр] LT",nextDay:"[Маргааш] LT",nextWeek:"[Ирэх] dddd LT",lastDay:"[Өчигдөр] LT",lastWeek:"[Өнгөрсөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s дараа",past:"%s өмнө",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2} өдөр/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+" өдөр";default:return e}}})}(n(8609))},3309:function(e,t,n){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};function s(e,t,n,s){var i="";if(t)switch(n){case"s":i="काही सेकंद";break;case"ss":i="%d सेकंद";break;case"m":i="एक मिनिट";break;case"mm":i="%d मिनिटे";break;case"h":i="एक तास";break;case"hh":i="%d तास";break;case"d":i="एक दिवस";break;case"dd":i="%d दिवस";break;case"M":i="एक महिना";break;case"MM":i="%d महिने";break;case"y":i="एक वर्ष";break;case"yy":i="%d वर्षे"}else switch(n){case"s":i="काही सेकंदां";break;case"ss":i="%d सेकंदां";break;case"m":i="एका मिनिटा";break;case"mm":i="%d मिनिटां";break;case"h":i="एका तासा";break;case"hh":i="%d तासां";break;case"d":i="एका दिवसा";break;case"dd":i="%d दिवसां";break;case"M":i="एका महिन्या";break;case"MM":i="%d महिन्यां";break;case"y":i="एका वर्षा";break;case"yy":i="%d वर्षां"}return i.replace(/%d/i,e)}e.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s,ss:s,m:s,mm:s,h:s,hh:s,d:s,dd:s,M:s,MM:s,y:s,yy:s},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/,meridiemHour:function(e,t){return 12===e&&(e=0),"पहाटे"===t||"सकाळी"===t?e:"दुपारी"===t||"सायंकाळी"===t||"रात्री"===t?e>=12?e:e+12:void 0},meridiem:function(e,t,n){return e>=0&&e<6?"पहाटे":e<12?"सकाळी":e<17?"दुपारी":e<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}})}(n(8609))},5941:function(e,t,n){!function(e){"use strict";e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n(8609))},3390:function(e,t,n){!function(e){"use strict";e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n(8609))},5695:function(e,t,n){!function(e){"use strict";e.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(8609))},2332:function(e,t,n){!function(e){"use strict";var t={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},n={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"};e.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",ss:"%d စက္ကန့်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(e){return e.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(n(8609))},3270:function(e,t,n){!function(e){"use strict";e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"én time",hh:"%d timer",d:"én dag",dd:"%d dager",w:"én uke",ww:"%d uker",M:"én måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(8609))},1799:function(e,t,n){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};e.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(e,t){return 12===e&&(e=0),"राति"===t?e<4?e:e+12:"बिहान"===t?e:"दिउँसो"===t?e>=10?e:e+12:"साँझ"===t?e+12:void 0},meridiem:function(e,t,n){return e<3?"राति":e<12?"बिहान":e<16?"दिउँसो":e<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}})}(n(8609))},2172:function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),s=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],i=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,s){return e?/-MMM-/.test(s)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:s,longMonthsParse:s,shortMonthsParse:s,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(8609))},2280:function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),s=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],i=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,s){return e?/-MMM-/.test(s)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:s,longMonthsParse:s,shortMonthsParse:s,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",w:"één week",ww:"%d weken",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(8609))},98:function(e,t,n){!function(e){"use strict";e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._må._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_må_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(8609))},3166:function(e,t,n){!function(e){"use strict";e.defineLocale("oc-lnc",{months:{standalone:"genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre".split("_"),format:"de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[uèi a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[ièr a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n(8609))},2125:function(e,t,n){!function(e){"use strict";var t={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},n={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"};e.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"[ਅਗਲਾ] dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(e){return e.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ਰਾਤ"===t?e<4?e:e+12:"ਸਵੇਰ"===t?e:"ਦੁਪਹਿਰ"===t?e>=10?e:e+12:"ਸ਼ਾਮ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ਰਾਤ":e<10?"ਸਵੇਰ":e<17?"ਦੁਪਹਿਰ":e<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}})}(n(8609))},1990:function(e,t,n){!function(e){"use strict";var t="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),s=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^paź/i,/^lis/i,/^gru/i];function i(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function a(e,t,n){var s=e+" ";switch(n){case"ss":return s+(i(e)?"sekundy":"sekund");case"m":return t?"minuta":"minutę";case"mm":return s+(i(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return s+(i(e)?"godziny":"godzin");case"ww":return s+(i(e)?"tygodnie":"tygodni");case"MM":return s+(i(e)?"miesiące":"miesięcy");case"yy":return s+(i(e)?"lata":"lat")}}e.defineLocale("pl",{months:function(e,s){return e?/D MMMM/.test(s)?n[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),monthsParse:s,longMonthsParse:s,shortMonthsParse:s,weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:a,m:a,mm:a,h:a,hh:a,d:"1 dzień",dd:"%d dni",w:"tydzień",ww:a,M:"miesiąc",MM:a,y:"rok",yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(8609))},9907:function(e,t,n){!function(e){"use strict";e.defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"do_2ª_3ª_4ª_5ª_6ª_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",invalidDate:"Data inválida"})}(n(8609))},3966:function(e,t,n){!function(e){"use strict";e.defineLocale("pt",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(8609))},2557:function(e,t,n){!function(e){"use strict";function t(e,t,n){var s=" ";return(e%100>=20||e>=100&&e%100==0)&&(s=" de "),e+s+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"săptămâni",MM:"luni",yy:"ani"}[n]}e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:t,m:"un minut",mm:t,h:"o oră",hh:t,d:"o zi",dd:t,w:"o săptămână",ww:t,M:"o lună",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(n(8609))},3107:function(e,t,n){!function(e){"use strict";function t(e,t,n){return"m"===n?t?"минута":"минуту":e+" "+(s=+e,i={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",ww:"неделя_недели_недель",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[n].split("_"),s%10==1&&s%100!=11?i[0]:s%10>=2&&s%10<=4&&(s%100<10||s%100>=20)?i[1]:i[2]);var s,i}var n=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];e.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:t,m:t,mm:t,h:"час",hh:t,d:"день",dd:t,w:"неделя",ww:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:4}})}(n(8609))},2601:function(e,t,n){!function(e){"use strict";var t=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],n=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"];e.defineLocale("sd",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,n){return e<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n(8609))},9818:function(e,t,n){!function(e){"use strict";e.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(8609))},785:function(e,t,n){!function(e){"use strict";e.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",ss:"තත්පර %d",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(e){return e+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(e){return"ප.ව."===e||"පස් වරු"===e},meridiem:function(e,t,n){return e>11?n?"ප.ව.":"පස් වරු":n?"පෙ.ව.":"පෙර වරු"}})}(n(8609))},4964:function(e,t,n){!function(e){"use strict";var t="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),n="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function s(e){return e>1&&e<5}function i(e,t,n,i){var a=e+" ";switch(n){case"s":return t||i?"pár sekúnd":"pár sekundami";case"ss":return t||i?a+(s(e)?"sekundy":"sekúnd"):a+"sekundami";case"m":return t?"minúta":i?"minútu":"minútou";case"mm":return t||i?a+(s(e)?"minúty":"minút"):a+"minútami";case"h":return t?"hodina":i?"hodinu":"hodinou";case"hh":return t||i?a+(s(e)?"hodiny":"hodín"):a+"hodinami";case"d":return t||i?"deň":"dňom";case"dd":return t||i?a+(s(e)?"dni":"dní"):a+"dňami";case"M":return t||i?"mesiac":"mesiacom";case"MM":return t||i?a+(s(e)?"mesiace":"mesiacov"):a+"mesiacmi";case"y":return t||i?"rok":"rokom";case"yy":return t||i?a+(s(e)?"roky":"rokov"):a+"rokmi"}}e.defineLocale("sk",{months:t,monthsShort:n,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:case 4:case 5:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(8609))},6305:function(e,t,n){!function(e){"use strict";function t(e,t,n,s){var i=e+" ";switch(n){case"s":return t||s?"nekaj sekund":"nekaj sekundami";case"ss":return i+(1===e?t?"sekundo":"sekundi":2===e?t||s?"sekundi":"sekundah":e<5?t||s?"sekunde":"sekundah":"sekund");case"m":return t?"ena minuta":"eno minuto";case"mm":return i+(1===e?t?"minuta":"minuto":2===e?t||s?"minuti":"minutama":e<5?t||s?"minute":"minutami":t||s?"minut":"minutami");case"h":return t?"ena ura":"eno uro";case"hh":return i+(1===e?t?"ura":"uro":2===e?t||s?"uri":"urama":e<5?t||s?"ure":"urami":t||s?"ur":"urami");case"d":return t||s?"en dan":"enim dnem";case"dd":return i+(1===e?t||s?"dan":"dnem":2===e?t||s?"dni":"dnevoma":t||s?"dni":"dnevi");case"M":return t||s?"en mesec":"enim mesecem";case"MM":return i+(1===e?t||s?"mesec":"mesecem":2===e?t||s?"meseca":"mesecema":e<5?t||s?"mesece":"meseci":t||s?"mesecev":"meseci");case"y":return t||s?"eno leto":"enim letom";case"yy":return i+(1===e?t||s?"leto":"letom":2===e?t||s?"leti":"letoma":e<5?t||s?"leta":"leti":t||s?"let":"leti")}}e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(8609))},8214:function(e,t,n){!function(e){"use strict";e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,t,n){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(8609))},2398:function(e,t,n){!function(e){"use strict";var t={words:{ss:["секунда","секунде","секунди"],m:["један минут","једног минута"],mm:["минут","минута","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],d:["један дан","једног дана"],dd:["дан","дана","дана"],M:["један месец","једног месеца"],MM:["месец","месеца","месеци"],y:["једну годину","једне године"],yy:["годину","године","година"]},correctGrammaticalCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?t[0]:t[1]:t[2]},translate:function(e,n,s,i){var a,r=t.words[s];return 1===s.length?"y"===s&&n?"једна година":i||n?r[0]:r[1]:(a=t.correctGrammaticalCase(e,r),"yy"===s&&n&&"годину"===a?e+" година":e+" "+a)}};e.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){return["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:t.translate,dd:t.translate,M:t.translate,MM:t.translate,y:t.translate,yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(8609))},9443:function(e,t,n){!function(e){"use strict";var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?t[0]:t[1]:t[2]},translate:function(e,n,s,i){var a,r=t.words[s];return 1===s.length?"y"===s&&n?"jedna godina":i||n?r[0]:r[1]:(a=t.correctGrammaticalCase(e,r),"yy"===s&&n&&"godinu"===a?e+" godina":e+" "+a)}};e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:t.translate,dd:t.translate,M:t.translate,MM:t.translate,y:t.translate,yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(8609))},4508:function(e,t,n){!function(e){"use strict";e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,n){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(n(8609))},9479:function(e,t,n){!function(e){"use strict";e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?":e":1===t||2===t?":a":":e")},week:{dow:1,doy:4}})}(n(8609))},2080:function(e,t,n){!function(e){"use strict";e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(n(8609))},6741:function(e,t,n){!function(e){"use strict";var t={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},n={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"};e.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(e){return e+"வது"},preparse:function(e){return e.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,t,n){return e<2?" யாமம்":e<6?" வைகறை":e<10?" காலை":e<14?" நண்பகல்":e<18?" எற்பாடு":e<22?" மாலை":" யாமம்"},meridiemHour:function(e,t){return 12===e&&(e=0),"யாமம்"===t?e<2?e:e+12:"வைகறை"===t||"காலை"===t||"நண்பகல்"===t&&e>=10?e:e+12},week:{dow:0,doy:6}})}(n(8609))},345:function(e,t,n){!function(e){"use strict";e.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",ss:"%d సెకన్లు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(e,t){return 12===e&&(e=0),"రాత్రి"===t?e<4?e:e+12:"ఉదయం"===t?e:"మధ్యాహ్నం"===t?e>=10?e:e+12:"సాయంత్రం"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"రాత్రి":e<10?"ఉదయం":e<17?"మధ్యాహ్నం":e<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}})}(n(8609))},3481:function(e,t,n){!function(e){"use strict";e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(8609))},2663:function(e,t,n){!function(e){"use strict";var t={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"};e.defineLocale("tg",{months:{format:"январи_феврали_марти_апрели_майи_июни_июли_августи_сентябри_октябри_ноябри_декабри".split("_"),standalone:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_")},monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Имрӯз соати] LT",nextDay:"[Фардо соати] LT",lastDay:"[Дирӯз соати] LT",nextWeek:"dddd[и] [ҳафтаи оянда соати] LT",lastWeek:"dddd[и] [ҳафтаи гузашта соати] LT",sameElse:"L"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"},meridiemParse:/шаб|субҳ|рӯз|бегоҳ/,meridiemHour:function(e,t){return 12===e&&(e=0),"шаб"===t?e<4?e:e+12:"субҳ"===t?e:"рӯз"===t?e>=11?e:e+12:"бегоҳ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"шаб":e<11?"субҳ":e<16?"рӯз":e<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(8609))},6222:function(e,t,n){!function(e){"use strict";e.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return"หลังเที่ยง"===e},meridiem:function(e,t,n){return e<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",w:"1 สัปดาห์",ww:"%d สัปดาห์",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}})}(n(8609))},2235:function(e,t,n){!function(e){"use strict";var t={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'ünji",4:"'ünji",100:"'ünji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};e.defineLocale("tk",{months:"Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr".split("_"),monthsShort:"Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek".split("_"),weekdays:"Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe".split("_"),weekdaysShort:"Ýek_Duş_Siş_Çar_Pen_Ann_Şen".split("_"),weekdaysMin:"Ýk_Dş_Sş_Çr_Pn_An_Şn".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[düýn] LT",lastWeek:"[geçen] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s soň",past:"%s öň",s:"birnäçe sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir gün",dd:"%d gün",M:"bir aý",MM:"%d aý",y:"bir ýyl",yy:"%d ýyl"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'unjy";var s=e%10;return e+(t[s]||t[e%100-s]||t[e>=100?100:null])}},week:{dow:1,doy:7}})}(n(8609))},3307:function(e,t,n){!function(e){"use strict";e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n(8609))},5472:function(e,t,n){!function(e){"use strict";var t="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(e,n,s,i){var a=function(e){var n=Math.floor(e%1e3/100),s=Math.floor(e%100/10),i=e%10,a="";return n>0&&(a+=t[n]+"vatlh"),s>0&&(a+=(""!==a?" ":"")+t[s]+"maH"),i>0&&(a+=(""!==a?" ":"")+t[i]),""===a?"pagh":a}(e);switch(s){case"ss":return a+" lup";case"mm":return a+" tup";case"hh":return a+" rep";case"dd":return a+" jaj";case"MM":return a+" jar";case"yy":return a+" DIS"}}e.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq"},past:function(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu’":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"},s:"puS lup",ss:n,m:"wa’ tup",mm:n,h:"wa’ rep",hh:n,d:"wa’ jaj",dd:n,M:"wa’ jar",MM:n,y:"wa’ DIS",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(8609))},5900:function(e,t,n){!function(e){"use strict";var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};e.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_Çar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),meridiem:function(e,t,n){return e<12?n?"öö":"ÖÖ":n?"ös":"ÖS"},meridiemParse:/öö|ÖÖ|ös|ÖS/,isPM:function(e){return"ös"===e||"ÖS"===e},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'ıncı";var s=e%10;return e+(t[s]||t[e%100-s]||t[e>=100?100:null])}},week:{dow:1,doy:7}})}(n(8609))},5354:function(e,t,n){!function(e){"use strict";function t(e,t,n,s){var i={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts",e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return s||t?i[n][0]:i[n][1]}e.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,n){return e>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(8609))},3339:function(e,t,n){!function(e){"use strict";e.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(n(8609))},8137:function(e,t,n){!function(e){"use strict";e.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",ss:"%d ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}})}(n(8609))},5442:function(e,t,n){!function(e){"use strict";e.defineLocale("ug-cn",{months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},meridiemParse:/يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,meridiemHour:function(e,t){return 12===e&&(e=0),"يېرىم كېچە"===t||"سەھەر"===t||"چۈشتىن بۇرۇن"===t?e:"چۈشتىن كېيىن"===t||"كەچ"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var s=100*e+t;return s<600?"يېرىم كېچە":s<900?"سەھەر":s<1130?"چۈشتىن بۇرۇن":s<1230?"چۈش":s<1800?"چۈشتىن كېيىن":"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-كۈنى";case"w":case"W":return e+"-ھەپتە";default:return e}},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:7}})}(n(8609))},9374:function(e,t,n){!function(e){"use strict";function t(e,t,n){return"m"===n?t?"хвилина":"хвилину":"h"===n?t?"година":"годину":e+" "+(s=+e,i={ss:t?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:t?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:t?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[n].split("_"),s%10==1&&s%100!=11?i[0]:s%10>=2&&s%10<=4&&(s%100<10||s%100>=20)?i[1]:i[2]);var s,i}function n(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}e.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:function(e,t){var n={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return!0===e?n.nominative.slice(1,7).concat(n.nominative.slice(0,1)):e?n[/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]:n.nominative},weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:n("[Сьогодні "),nextDay:n("[Завтра "),lastDay:n("[Вчора "),nextWeek:n("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return n("[Минулої] dddd [").call(this);case 1:case 2:case 4:return n("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:t,m:t,mm:t,h:"годину",hh:t,d:"день",dd:t,M:"місяць",MM:t,y:"рік",yy:t},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}})}(n(8609))},4533:function(e,t,n){!function(e){"use strict";var t=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],n=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"];e.defineLocale("ur",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,n){return e<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(n(8609))},4119:function(e,t,n){!function(e){"use strict";e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(n(8609))},8813:function(e,t,n){!function(e){"use strict";e.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",ss:"%d фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}})}(n(8609))},4947:function(e,t,n){!function(e){"use strict";e.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần trước lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",w:"một tuần",ww:"%d tuần",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n(8609))},5143:function(e,t,n){!function(e){"use strict";e.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(8609))},4798:function(e,t,n){!function(e){"use strict";e.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}})}(n(8609))},2940:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var s=100*e+t;return s<600?"凌晨":s<900?"早上":s<1130?"上午":s<1230?"中午":s<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:function(e){return e.week()!==this.week()?"[下]dddLT":"[本]dddLT"},lastDay:"[昨天]LT",lastWeek:function(e){return this.week()!==e.week()?"[上]dddLT":"[本]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s后",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",w:"1 周",ww:"%d 周",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}})}(n(8609))},5772:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var s=100*e+t;return s<600?"凌晨":s<900?"早上":s<1200?"上午":1200===s?"中午":s<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(8609))},97:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-mo",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"D/M/YYYY",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var s=100*e+t;return s<600?"凌晨":s<900?"早上":s<1130?"上午":s<1230?"中午":s<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(8609))},4028:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var s=100*e+t;return s<600?"凌晨":s<900?"早上":s<1130?"上午":s<1230?"中午":s<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(8609))},8426:(e,t,n)=>{var s={"./af":7293,"./af.js":7293,"./ar":641,"./ar-dz":3236,"./ar-dz.js":3236,"./ar-kw":2360,"./ar-kw.js":2360,"./ar-ly":6005,"./ar-ly.js":6005,"./ar-ma":9268,"./ar-ma.js":9268,"./ar-ps":9583,"./ar-ps.js":9583,"./ar-sa":6166,"./ar-sa.js":6166,"./ar-tn":776,"./ar-tn.js":776,"./ar.js":641,"./az":6937,"./az.js":6937,"./be":563,"./be.js":563,"./bg":9157,"./bg.js":9157,"./bm":1547,"./bm.js":1547,"./bn":222,"./bn-bd":5657,"./bn-bd.js":5657,"./bn.js":222,"./bo":141,"./bo.js":141,"./br":5690,"./br.js":5690,"./bs":6201,"./bs.js":6201,"./ca":5222,"./ca.js":5222,"./cs":6668,"./cs.js":6668,"./cv":4167,"./cv.js":4167,"./cy":7726,"./cy.js":7726,"./da":4597,"./da.js":4597,"./de":2281,"./de-at":2355,"./de-at.js":2355,"./de-ch":4069,"./de-ch.js":4069,"./de.js":2281,"./dv":1440,"./dv.js":1440,"./el":3551,"./el.js":3551,"./en-au":660,"./en-au.js":660,"./en-ca":7206,"./en-ca.js":7206,"./en-gb":3815,"./en-gb.js":3815,"./en-ie":9612,"./en-ie.js":9612,"./en-il":5819,"./en-il.js":5819,"./en-in":4413,"./en-in.js":4413,"./en-nz":1998,"./en-nz.js":1998,"./en-sg":1568,"./en-sg.js":1568,"./eo":8994,"./eo.js":8994,"./es":4278,"./es-do":7370,"./es-do.js":7370,"./es-mx":7838,"./es-mx.js":7838,"./es-us":7131,"./es-us.js":7131,"./es.js":4278,"./et":5543,"./et.js":5543,"./eu":8672,"./eu.js":8672,"./fa":3051,"./fa.js":3051,"./fi":4595,"./fi.js":4595,"./fil":8351,"./fil.js":8351,"./fo":3689,"./fo.js":3689,"./fr":8030,"./fr-ca":9735,"./fr-ca.js":9735,"./fr-ch":7480,"./fr-ch.js":7480,"./fr.js":8030,"./fy":531,"./fy.js":531,"./ga":6394,"./ga.js":6394,"./gd":8629,"./gd.js":8629,"./gl":8797,"./gl.js":8797,"./gom-deva":9824,"./gom-deva.js":9824,"./gom-latn":3083,"./gom-latn.js":3083,"./gu":3078,"./gu.js":3078,"./he":5621,"./he.js":5621,"./hi":3473,"./hi.js":3473,"./hr":9248,"./hr.js":9248,"./hu":6101,"./hu.js":6101,"./hy-am":1868,"./hy-am.js":1868,"./id":2627,"./id.js":2627,"./is":2474,"./is.js":2474,"./it":6691,"./it-ch":4551,"./it-ch.js":4551,"./it.js":6691,"./ja":4719,"./ja.js":4719,"./jv":558,"./jv.js":558,"./ka":7310,"./ka.js":7310,"./kk":6252,"./kk.js":6252,"./km":2298,"./km.js":2298,"./kn":3751,"./kn.js":3751,"./ko":4032,"./ko.js":4032,"./ku":9218,"./ku-kmr":7945,"./ku-kmr.js":7945,"./ku.js":9218,"./ky":4806,"./ky.js":4806,"./lb":7684,"./lb.js":7684,"./lo":2327,"./lo.js":2327,"./lt":2562,"./lt.js":2562,"./lv":6120,"./lv.js":6120,"./me":3192,"./me.js":3192,"./mi":3068,"./mi.js":3068,"./mk":886,"./mk.js":886,"./ml":8039,"./ml.js":8039,"./mn":9369,"./mn.js":9369,"./mr":3309,"./mr.js":3309,"./ms":3390,"./ms-my":5941,"./ms-my.js":5941,"./ms.js":3390,"./mt":5695,"./mt.js":5695,"./my":2332,"./my.js":2332,"./nb":3270,"./nb.js":3270,"./ne":1799,"./ne.js":1799,"./nl":2280,"./nl-be":2172,"./nl-be.js":2172,"./nl.js":2280,"./nn":98,"./nn.js":98,"./oc-lnc":3166,"./oc-lnc.js":3166,"./pa-in":2125,"./pa-in.js":2125,"./pl":1990,"./pl.js":1990,"./pt":3966,"./pt-br":9907,"./pt-br.js":9907,"./pt.js":3966,"./ro":2557,"./ro.js":2557,"./ru":3107,"./ru.js":3107,"./sd":2601,"./sd.js":2601,"./se":9818,"./se.js":9818,"./si":785,"./si.js":785,"./sk":4964,"./sk.js":4964,"./sl":6305,"./sl.js":6305,"./sq":8214,"./sq.js":8214,"./sr":9443,"./sr-cyrl":2398,"./sr-cyrl.js":2398,"./sr.js":9443,"./ss":4508,"./ss.js":4508,"./sv":9479,"./sv.js":9479,"./sw":2080,"./sw.js":2080,"./ta":6741,"./ta.js":6741,"./te":345,"./te.js":345,"./tet":3481,"./tet.js":3481,"./tg":2663,"./tg.js":2663,"./th":6222,"./th.js":6222,"./tk":2235,"./tk.js":2235,"./tl-ph":3307,"./tl-ph.js":3307,"./tlh":5472,"./tlh.js":5472,"./tr":5900,"./tr.js":5900,"./tzl":5354,"./tzl.js":5354,"./tzm":8137,"./tzm-latn":3339,"./tzm-latn.js":3339,"./tzm.js":8137,"./ug-cn":5442,"./ug-cn.js":5442,"./uk":9374,"./uk.js":9374,"./ur":4533,"./ur.js":4533,"./uz":8813,"./uz-latn":4119,"./uz-latn.js":4119,"./uz.js":8813,"./vi":4947,"./vi.js":4947,"./x-pseudo":5143,"./x-pseudo.js":5143,"./yo":4798,"./yo.js":4798,"./zh-cn":2940,"./zh-cn.js":2940,"./zh-hk":5772,"./zh-hk.js":5772,"./zh-mo":97,"./zh-mo.js":97,"./zh-tw":4028,"./zh-tw.js":4028};function i(e){var t=a(e);return n(t)}function a(e){if(!n.o(s,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return s[e]}i.keys=function(){return Object.keys(s)},i.resolve=a,e.exports=i,i.id=8426},8609:function(e,t,n){(e=n.nmd(e)).exports=function(){"use strict";var t,s;function i(){return t.apply(null,arguments)}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function r(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function o(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function d(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(o(e,t))return!1;return!0}function l(e){return void 0===e}function u(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function c(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function h(e,t){var n,s=[],i=e.length;for(n=0;n>>0;for(t=0;t0)for(n=0;n=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+s}var O=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,P=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,E={},A={};function C(e,t,n,s){var i=s;"string"==typeof s&&(i=function(){return this[s]()}),e&&(A[e]=i),t&&(A[t[0]]=function(){return j(i.apply(this,arguments),t[1],t[2])}),n&&(A[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function R(e,t){return e.isValid()?(t=F(t,e.localeData()),E[t]=E[t]||function(e){var t,n,s,i=e.match(O);for(t=0,n=i.length;t=0&&P.test(e);)e=e.replace(P,s),P.lastIndex=0,n-=1;return e}var W={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function z(e){return"string"==typeof e?W[e]||W[e.toLowerCase()]:void 0}function N(e){var t,n,s={};for(n in e)o(e,n)&&(t=z(n))&&(s[t]=e[n]);return s}var I={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};var B,V=/\d/,U=/\d\d/,J=/\d{3}/,$=/\d{4}/,q=/[+-]?\d{6}/,G=/\d\d?/,K=/\d\d\d\d?/,X=/\d\d\d\d\d\d?/,Z=/\d{1,3}/,Q=/\d{1,4}/,ee=/[+-]?\d{1,6}/,te=/\d+/,ne=/[+-]?\d+/,se=/Z|[+-]\d\d:?\d\d/gi,ie=/Z|[+-]\d\d(?::?\d\d)?/gi,ae=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,re=/^[1-9]\d?/,oe=/^([1-9]\d|\d)/;function de(e,t,n){B[e]=T(t)?t:function(e,s){return e&&n?n:t}}function le(e,t){return o(B,e)?B[e](t._strict,t._locale):new RegExp(ue(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,s,i){return t||n||s||i}))))}function ue(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ce(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function he(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=ce(t)),n}B={};var _e={};function me(e,t){var n,s,i=t;for("string"==typeof e&&(e=[e]),u(t)&&(i=function(e,n){n[t]=he(e)}),s=e.length,n=0;n68?1900:2e3)};var Te,Se=He("FullYear",!0);function He(e,t){return function(n){return null!=n?(Oe(this,e,n),i.updateOffset(this,t),this):je(this,e)}}function je(e,t){if(!e.isValid())return NaN;var n=e._d,s=e._isUTC;switch(t){case"Milliseconds":return s?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return s?n.getUTCSeconds():n.getSeconds();case"Minutes":return s?n.getUTCMinutes():n.getMinutes();case"Hours":return s?n.getUTCHours():n.getHours();case"Date":return s?n.getUTCDate():n.getDate();case"Day":return s?n.getUTCDay():n.getDay();case"Month":return s?n.getUTCMonth():n.getMonth();case"FullYear":return s?n.getUTCFullYear():n.getFullYear();default:return NaN}}function Oe(e,t,n){var s,i,a,r,o;if(e.isValid()&&!isNaN(n)){switch(s=e._d,i=e._isUTC,t){case"Milliseconds":return void(i?s.setUTCMilliseconds(n):s.setMilliseconds(n));case"Seconds":return void(i?s.setUTCSeconds(n):s.setSeconds(n));case"Minutes":return void(i?s.setUTCMinutes(n):s.setMinutes(n));case"Hours":return void(i?s.setUTCHours(n):s.setHours(n));case"Date":return void(i?s.setUTCDate(n):s.setDate(n));case"FullYear":break;default:return}a=n,r=e.month(),o=29!==(o=e.date())||1!==r||ge(a)?o:28,i?s.setUTCFullYear(a,r,o):s.setFullYear(a,r,o)}}function Pe(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,s=(t%(n=12)+n)%n;return e+=(t-s)/12,1===s?ge(e)?29:28:31-s%7%2}Te=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t=0?(o=new Date(e+400,t,n,s,i,a,r),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,n,s,i,a,r),o}function Ve(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ue(e,t,n){var s=7+t-n;return-(7+Ve(e,0,s).getUTCDay()-t)%7+s-1}function Je(e,t,n,s,i){var a,r,o=1+7*(t-1)+(7+n-s)%7+Ue(e,s,i);return o<=0?r=xe(a=e-1)+o:o>xe(e)?(a=e+1,r=o-xe(e)):(a=e,r=o),{year:a,dayOfYear:r}}function $e(e,t,n){var s,i,a=Ue(e.year(),t,n),r=Math.floor((e.dayOfYear()-a-1)/7)+1;return r<1?s=r+qe(i=e.year()-1,t,n):r>qe(e.year(),t,n)?(s=r-qe(e.year(),t,n),i=e.year()+1):(i=e.year(),s=r),{week:s,year:i}}function qe(e,t,n){var s=Ue(e,t,n),i=Ue(e+1,t,n);return(xe(e)-s+i)/7}C("w",["ww",2],"wo","week"),C("W",["WW",2],"Wo","isoWeek"),de("w",G,re),de("ww",G,U),de("W",G,re),de("WW",G,U),fe(["w","ww","W","WW"],(function(e,t,n,s){t[s.substr(0,1)]=he(e)}));function Ge(e,t){return e.slice(t,7).concat(e.slice(0,t))}C("d",0,"do","day"),C("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),C("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),C("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),C("e",0,0,"weekday"),C("E",0,0,"isoWeekday"),de("d",G),de("e",G),de("E",G),de("dd",(function(e,t){return t.weekdaysMinRegex(e)})),de("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),de("dddd",(function(e,t){return t.weekdaysRegex(e)})),fe(["dd","ddd","dddd"],(function(e,t,n,s){var i=n._locale.weekdaysParse(e,s,n._strict);null!=i?t.d=i:f(n).invalidWeekday=e})),fe(["d","e","E"],(function(e,t,n,s){t[s]=he(e)}));var Ke="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Xe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ze="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Qe=ae,et=ae,tt=ae;function nt(e,t,n){var s,i,a,r=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)a=m([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=Te.call(this._weekdaysParse,r))?i:null:"ddd"===t?-1!==(i=Te.call(this._shortWeekdaysParse,r))?i:null:-1!==(i=Te.call(this._minWeekdaysParse,r))?i:null:"dddd"===t?-1!==(i=Te.call(this._weekdaysParse,r))||-1!==(i=Te.call(this._shortWeekdaysParse,r))||-1!==(i=Te.call(this._minWeekdaysParse,r))?i:null:"ddd"===t?-1!==(i=Te.call(this._shortWeekdaysParse,r))||-1!==(i=Te.call(this._weekdaysParse,r))||-1!==(i=Te.call(this._minWeekdaysParse,r))?i:null:-1!==(i=Te.call(this._minWeekdaysParse,r))||-1!==(i=Te.call(this._weekdaysParse,r))||-1!==(i=Te.call(this._shortWeekdaysParse,r))?i:null}function st(){function e(e,t){return t.length-e.length}var t,n,s,i,a,r=[],o=[],d=[],l=[];for(t=0;t<7;t++)n=m([2e3,1]).day(t),s=ue(this.weekdaysMin(n,"")),i=ue(this.weekdaysShort(n,"")),a=ue(this.weekdays(n,"")),r.push(s),o.push(i),d.push(a),l.push(s),l.push(i),l.push(a);r.sort(e),o.sort(e),d.sort(e),l.sort(e),this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+d.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+r.join("|")+")","i")}function it(){return this.hours()%12||12}function at(e,t){C(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function rt(e,t){return t._meridiemParse}C("H",["HH",2],0,"hour"),C("h",["hh",2],0,it),C("k",["kk",2],0,(function(){return this.hours()||24})),C("hmm",0,0,(function(){return""+it.apply(this)+j(this.minutes(),2)})),C("hmmss",0,0,(function(){return""+it.apply(this)+j(this.minutes(),2)+j(this.seconds(),2)})),C("Hmm",0,0,(function(){return""+this.hours()+j(this.minutes(),2)})),C("Hmmss",0,0,(function(){return""+this.hours()+j(this.minutes(),2)+j(this.seconds(),2)})),at("a",!0),at("A",!1),de("a",rt),de("A",rt),de("H",G,oe),de("h",G,re),de("k",G,re),de("HH",G,U),de("hh",G,U),de("kk",G,U),de("hmm",K),de("hmmss",X),de("Hmm",K),de("Hmmss",X),me(["H","HH"],be),me(["k","kk"],(function(e,t,n){var s=he(e);t[be]=24===s?0:s})),me(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),me(["h","hh"],(function(e,t,n){t[be]=he(e),f(n).bigHour=!0})),me("hmm",(function(e,t,n){var s=e.length-2;t[be]=he(e.substr(0,s)),t[Ye]=he(e.substr(s)),f(n).bigHour=!0})),me("hmmss",(function(e,t,n){var s=e.length-4,i=e.length-2;t[be]=he(e.substr(0,s)),t[Ye]=he(e.substr(s,2)),t[ke]=he(e.substr(i)),f(n).bigHour=!0})),me("Hmm",(function(e,t,n){var s=e.length-2;t[be]=he(e.substr(0,s)),t[Ye]=he(e.substr(s))})),me("Hmmss",(function(e,t,n){var s=e.length-4,i=e.length-2;t[be]=he(e.substr(0,s)),t[Ye]=he(e.substr(s,2)),t[ke]=he(e.substr(i))}));var ot=He("Hours",!0);var dt,lt={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ee,monthsShort:Ae,week:{dow:0,doy:6},weekdays:Ke,weekdaysMin:Ze,weekdaysShort:Xe,meridiemParse:/[ap]\.?m?\.?/i},ut={},ct={};function ht(e,t){var n,s=Math.min(e.length,t.length);for(n=0;n0;){if(s=mt(i.slice(0,t).join("-")))return s;if(n&&n.length>=t&&ht(i,n)>=t-1)break;t--}a++}return dt}(e)}function yt(e){var t,n=e._a;return n&&-2===f(e).overflow&&(t=n[Me]<0||n[Me]>11?Me:n[Le]<1||n[Le]>Pe(n[ye],n[Me])?Le:n[be]<0||n[be]>24||24===n[be]&&(0!==n[Ye]||0!==n[ke]||0!==n[De])?be:n[Ye]<0||n[Ye]>59?Ye:n[ke]<0||n[ke]>59?ke:n[De]<0||n[De]>999?De:-1,f(e)._overflowDayOfYear&&(tLe)&&(t=Le),f(e)._overflowWeeks&&-1===t&&(t=ve),f(e)._overflowWeekday&&-1===t&&(t=we),f(e).overflow=t),e}var Mt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Lt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,bt=/Z|[+-]\d\d(?::?\d\d)?/,Yt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],kt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Dt=/^\/?Date\((-?\d+)/i,vt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,wt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function xt(e){var t,n,s,i,a,r,o=e._i,d=Mt.exec(o)||Lt.exec(o),l=Yt.length,u=kt.length;if(d){for(f(e).iso=!0,t=0,n=l;t7)&&(d=!0)):(a=e._locale._week.dow,r=e._locale._week.doy,l=$e(At(),a,r),n=Ht(t.gg,e._a[ye],l.year),s=Ht(t.w,l.week),null!=t.d?((i=t.d)<0||i>6)&&(d=!0):null!=t.e?(i=t.e+a,(t.e<0||t.e>6)&&(d=!0)):i=a),s<1||s>qe(n,a,r)?f(e)._overflowWeeks=!0:null!=d?f(e)._overflowWeekday=!0:(o=Je(n,s,i,a,r),e._a[ye]=o.year,e._dayOfYear=o.dayOfYear)}(e),null!=e._dayOfYear&&(r=Ht(e._a[ye],s[ye]),(e._dayOfYear>xe(r)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),n=Ve(r,0,e._dayOfYear),e._a[Me]=n.getUTCMonth(),e._a[Le]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=s[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[be]&&0===e._a[Ye]&&0===e._a[ke]&&0===e._a[De]&&(e._nextDay=!0,e._a[be]=0),e._d=(e._useUTC?Ve:Be).apply(null,o),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[be]=24),e._w&&void 0!==e._w.d&&e._w.d!==a&&(f(e).weekdayMismatch=!0)}}function Ot(e){if(e._f!==i.ISO_8601)if(e._f!==i.RFC_2822){e._a=[],f(e).empty=!0;var t,n,s,a,r,o,d,l=""+e._i,u=l.length,c=0;for(d=(s=F(e._f,e._locale).match(O)||[]).length,t=0;t0&&f(e).unusedInput.push(r),l=l.slice(l.indexOf(n)+n.length),c+=n.length),A[a]?(n?f(e).empty=!1:f(e).unusedTokens.push(a),pe(a,n,e)):e._strict&&!n&&f(e).unusedTokens.push(a);f(e).charsLeftOver=u-c,l.length>0&&f(e).unusedInput.push(l),e._a[be]<=12&&!0===f(e).bigHour&&e._a[be]>0&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[be]=function(e,t,n){var s;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((s=e.isPM(n))&&t<12&&(t+=12),s||12!==t||(t=0),t):t}(e._locale,e._a[be],e._meridiem),null!==(o=f(e).era)&&(e._a[ye]=e._locale.erasConvertYear(o,e._a[ye])),jt(e),yt(e)}else St(e);else xt(e)}function Pt(e){var t=e._i,n=e._f;return e._locale=e._locale||gt(e._l),null===t||void 0===n&&""===t?g({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),Y(t)?new b(yt(t)):(c(t)?e._d=t:a(n)?function(e){var t,n,s,i,a,r,o=!1,d=e._f.length;if(0===d)return f(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;ithis?this:e:g()}));function Ft(e,t){var n,s;if(1===t.length&&a(t[0])&&(t=t[0]),!t.length)return At();for(n=t[0],s=1;s=0?new Date(e+400,t,n)-mn:new Date(e,t,n).valueOf()}function gn(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-mn:Date.UTC(e,t,n)}function yn(e,t){return t.erasAbbrRegex(e)}function Mn(){var e,t,n,s,i,a=[],r=[],o=[],d=[],l=this.eras();for(e=0,t=l.length;e(a=qe(e,s,i))&&(t=a),Yn.call(this,e,t,n,s,i))}function Yn(e,t,n,s,i){var a=Je(e,t,n,s,i),r=Ve(a.year,0,a.dayOfYear);return this.year(r.getUTCFullYear()),this.month(r.getUTCMonth()),this.date(r.getUTCDate()),this}C("N",0,0,"eraAbbr"),C("NN",0,0,"eraAbbr"),C("NNN",0,0,"eraAbbr"),C("NNNN",0,0,"eraName"),C("NNNNN",0,0,"eraNarrow"),C("y",["y",1],"yo","eraYear"),C("y",["yy",2],0,"eraYear"),C("y",["yyy",3],0,"eraYear"),C("y",["yyyy",4],0,"eraYear"),de("N",yn),de("NN",yn),de("NNN",yn),de("NNNN",(function(e,t){return t.erasNameRegex(e)})),de("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),me(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,s){var i=n._locale.erasParse(e,s,n._strict);i?f(n).era=i:f(n).invalidEra=e})),de("y",te),de("yy",te),de("yyy",te),de("yyyy",te),de("yo",(function(e,t){return t._eraYearOrdinalRegex||te})),me(["y","yy","yyy","yyyy"],ye),me(["yo"],(function(e,t,n,s){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[ye]=n._locale.eraYearOrdinalParse(e,i):t[ye]=parseInt(e,10)})),C(0,["gg",2],0,(function(){return this.weekYear()%100})),C(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Ln("gggg","weekYear"),Ln("ggggg","weekYear"),Ln("GGGG","isoWeekYear"),Ln("GGGGG","isoWeekYear"),de("G",ne),de("g",ne),de("GG",G,U),de("gg",G,U),de("GGGG",Q,$),de("gggg",Q,$),de("GGGGG",ee,q),de("ggggg",ee,q),fe(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,s){t[s.substr(0,2)]=he(e)})),fe(["gg","GG"],(function(e,t,n,s){t[s]=i.parseTwoDigitYear(e)})),C("Q",0,"Qo","quarter"),de("Q",V),me("Q",(function(e,t){t[Me]=3*(he(e)-1)})),C("D",["DD",2],"Do","date"),de("D",G,re),de("DD",G,U),de("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),me(["D","DD"],Le),me("Do",(function(e,t){t[Le]=he(e.match(G)[0])}));var kn=He("Date",!0);C("DDD",["DDDD",3],"DDDo","dayOfYear"),de("DDD",Z),de("DDDD",J),me(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=he(e)})),C("m",["mm",2],0,"minute"),de("m",G,oe),de("mm",G,U),me(["m","mm"],Ye);var Dn=He("Minutes",!1);C("s",["ss",2],0,"second"),de("s",G,oe),de("ss",G,U),me(["s","ss"],ke);var vn,wn,xn=He("Seconds",!1);for(C("S",0,0,(function(){return~~(this.millisecond()/100)})),C(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),C(0,["SSS",3],0,"millisecond"),C(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),C(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),C(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),C(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),C(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),C(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),de("S",Z,V),de("SS",Z,U),de("SSS",Z,J),vn="SSSS";vn.length<=9;vn+="S")de(vn,te);function Tn(e,t){t[De]=he(1e3*("0."+e))}for(vn="S";vn.length<=9;vn+="S")me(vn,Tn);wn=He("Milliseconds",!1),C("z",0,0,"zoneAbbr"),C("zz",0,0,"zoneName");var Sn=b.prototype;function Hn(e){return e}Sn.add=nn,Sn.calendar=function(e,t){1===arguments.length&&(arguments[0]?rn(arguments[0])?(e=arguments[0],t=void 0):function(e){var t,n=r(e)&&!d(e),s=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;tn.valueOf():n.valueOf()9999?R(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):T(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",R(n,"Z")):R(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Sn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,s="moment",i="";return this.isLocal()||(s=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),e="["+s+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n=i+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(Sn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Sn.toJSON=function(){return this.isValid()?this.toISOString():null},Sn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Sn.unix=function(){return Math.floor(this.valueOf()/1e3)},Sn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Sn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Sn.eraName=function(){var e,t,n,s=this.localeData().eras();for(e=0,t=s.length;ethis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Sn.isLocal=function(){return!!this.isValid()&&!this._isUTC},Sn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Sn.isUtc=qt,Sn.isUTC=qt,Sn.zoneAbbr=function(){return this._isUTC?"UTC":""},Sn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Sn.dates=D("dates accessor is deprecated. Use date instead.",kn),Sn.months=D("months accessor is deprecated. Use month instead",Ne),Sn.years=D("years accessor is deprecated. Use year instead",Se),Sn.zone=D("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),Sn.isDSTShifted=D("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!l(this._isDSTShifted))return this._isDSTShifted;var e,t={};return L(t,this),(t=Pt(t))._a?(e=t._isUTC?m(t._a):At(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var s,i=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),r=0;for(s=0;s0):this._isDSTShifted=!1,this._isDSTShifted}));var jn=H.prototype;function On(e,t,n,s){var i=gt(),a=m().set(s,t);return i[n](a,e)}function Pn(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return On(e,t,n,"month");var s,i=[];for(s=0;s<12;s++)i[s]=On(e,s,n,"month");return i}function En(e,t,n,s){"boolean"==typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var i,a=gt(),r=e?a._week.dow:0,o=[];if(null!=n)return On(t,(n+r)%7,s,"day");for(i=0;i<7;i++)o[i]=On(t,(i+r)%7,s,"day");return o}jn.calendar=function(e,t,n){var s=this._calendar[e]||this._calendar.sameElse;return T(s)?s.call(t,n):s},jn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(O).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},jn.invalidDate=function(){return this._invalidDate},jn.ordinal=function(e){return this._ordinal.replace("%d",e)},jn.preparse=Hn,jn.postformat=Hn,jn.relativeTime=function(e,t,n,s){var i=this._relativeTime[n];return T(i)?i(e,t,n,s):i.replace(/%d/i,e)},jn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return T(n)?n(t):n.replace(/%s/i,t)},jn.set=function(e){var t,n;for(n in e)o(e,n)&&(T(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},jn.eras=function(e,t){var n,s,a,r=this._eras||gt("en")._eras;for(n=0,s=r.length;n=0)return d[s]},jn.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?i(e.since).year():i(e.since).year()+(t-e.offset)*n},jn.erasAbbrRegex=function(e){return o(this,"_erasAbbrRegex")||Mn.call(this),e?this._erasAbbrRegex:this._erasRegex},jn.erasNameRegex=function(e){return o(this,"_erasNameRegex")||Mn.call(this),e?this._erasNameRegex:this._erasRegex},jn.erasNarrowRegex=function(e){return o(this,"_erasNarrowRegex")||Mn.call(this),e?this._erasNarrowRegex:this._erasRegex},jn.months=function(e,t){return e?a(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Ce).test(t)?"format":"standalone"][e.month()]:a(this._months)?this._months:this._months.standalone},jn.monthsShort=function(e,t){return e?a(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Ce.test(t)?"format":"standalone"][e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},jn.monthsParse=function(e,t,n){var s,i,a;if(this._monthsParseExact)return We.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++){if(i=m([2e3,s]),n&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[s]||(a="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[s]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[s].test(e))return s;if(n&&"MMM"===t&&this._shortMonthsParse[s].test(e))return s;if(!n&&this._monthsParse[s].test(e))return s}},jn.monthsRegex=function(e){return this._monthsParseExact?(o(this,"_monthsRegex")||Ie.call(this),e?this._monthsStrictRegex:this._monthsRegex):(o(this,"_monthsRegex")||(this._monthsRegex=Fe),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},jn.monthsShortRegex=function(e){return this._monthsParseExact?(o(this,"_monthsRegex")||Ie.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(o(this,"_monthsShortRegex")||(this._monthsShortRegex=Re),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},jn.week=function(e){return $e(e,this._week.dow,this._week.doy).week},jn.firstDayOfYear=function(){return this._week.doy},jn.firstDayOfWeek=function(){return this._week.dow},jn.weekdays=function(e,t){var n=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Ge(n,this._week.dow):e?n[e.day()]:n},jn.weekdaysMin=function(e){return!0===e?Ge(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},jn.weekdaysShort=function(e){return!0===e?Ge(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},jn.weekdaysParse=function(e,t,n){var s,i,a;if(this._weekdaysParseExact)return nt.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(i=m([2e3,1]).day(s),n&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(a="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[s]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[s].test(e))return s;if(n&&"ddd"===t&&this._shortWeekdaysParse[s].test(e))return s;if(n&&"dd"===t&&this._minWeekdaysParse[s].test(e))return s;if(!n&&this._weekdaysParse[s].test(e))return s}},jn.weekdaysRegex=function(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||st.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(o(this,"_weekdaysRegex")||(this._weekdaysRegex=Qe),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},jn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||st.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(o(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=et),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},jn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||st.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(o(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=tt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},jn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},jn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},ft("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===he(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),i.lang=D("moment.lang is deprecated. Use moment.locale instead.",ft),i.langData=D("moment.langData is deprecated. Use moment.localeData instead.",gt);var An=Math.abs;function Cn(e,t,n,s){var i=Xt(t,n);return e._milliseconds+=s*i._milliseconds,e._days+=s*i._days,e._months+=s*i._months,e._bubble()}function Rn(e){return e<0?Math.floor(e):Math.ceil(e)}function Fn(e){return 4800*e/146097}function Wn(e){return 146097*e/4800}function zn(e){return function(){return this.as(e)}}var Nn=zn("ms"),In=zn("s"),Bn=zn("m"),Vn=zn("h"),Un=zn("d"),Jn=zn("w"),$n=zn("M"),qn=zn("Q"),Gn=zn("y"),Kn=Nn;function Xn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Zn=Xn("milliseconds"),Qn=Xn("seconds"),es=Xn("minutes"),ts=Xn("hours"),ns=Xn("days"),ss=Xn("months"),is=Xn("years");var as=Math.round,rs={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function os(e,t,n,s,i){return i.relativeTime(t||1,!!n,e,s)}var ds=Math.abs;function ls(e){return(e>0)-(e<0)||+e}function us(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,s,i,a,r,o,d=ds(this._milliseconds)/1e3,l=ds(this._days),u=ds(this._months),c=this.asSeconds();return c?(e=ce(d/60),t=ce(e/60),d%=60,e%=60,n=ce(u/12),u%=12,s=d?d.toFixed(3).replace(/\.?0+$/,""):"",i=c<0?"-":"",a=ls(this._months)!==ls(c)?"-":"",r=ls(this._days)!==ls(c)?"-":"",o=ls(this._milliseconds)!==ls(c)?"-":"",i+"P"+(n?a+n+"Y":"")+(u?a+u+"M":"")+(l?r+l+"D":"")+(t||e||d?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(d?o+s+"S":"")):"P0D"}var cs=zt.prototype;return cs.isValid=function(){return this._isValid},cs.abs=function(){var e=this._data;return this._milliseconds=An(this._milliseconds),this._days=An(this._days),this._months=An(this._months),e.milliseconds=An(e.milliseconds),e.seconds=An(e.seconds),e.minutes=An(e.minutes),e.hours=An(e.hours),e.months=An(e.months),e.years=An(e.years),this},cs.add=function(e,t){return Cn(this,e,t,1)},cs.subtract=function(e,t){return Cn(this,e,t,-1)},cs.as=function(e){if(!this.isValid())return NaN;var t,n,s=this._milliseconds;if("month"===(e=z(e))||"quarter"===e||"year"===e)switch(t=this._days+s/864e5,n=this._months+Fn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Wn(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return 24*t+s/36e5;case"minute":return 1440*t+s/6e4;case"second":return 86400*t+s/1e3;case"millisecond":return Math.floor(864e5*t)+s;default:throw new Error("Unknown unit "+e)}},cs.asMilliseconds=Nn,cs.asSeconds=In,cs.asMinutes=Bn,cs.asHours=Vn,cs.asDays=Un,cs.asWeeks=Jn,cs.asMonths=$n,cs.asQuarters=qn,cs.asYears=Gn,cs.valueOf=Kn,cs._bubble=function(){var e,t,n,s,i,a=this._milliseconds,r=this._days,o=this._months,d=this._data;return a>=0&&r>=0&&o>=0||a<=0&&r<=0&&o<=0||(a+=864e5*Rn(Wn(o)+r),r=0,o=0),d.milliseconds=a%1e3,e=ce(a/1e3),d.seconds=e%60,t=ce(e/60),d.minutes=t%60,n=ce(t/60),d.hours=n%24,r+=ce(n/24),o+=i=ce(Fn(r)),r-=Rn(Wn(i)),s=ce(o/12),o%=12,d.days=r,d.months=o,d.years=s,this},cs.clone=function(){return Xt(this)},cs.get=function(e){return e=z(e),this.isValid()?this[e+"s"]():NaN},cs.milliseconds=Zn,cs.seconds=Qn,cs.minutes=es,cs.hours=ts,cs.days=ns,cs.weeks=function(){return ce(this.days()/7)},cs.months=ss,cs.years=is,cs.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,s,i=!1,a=rs;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(i=e),"object"==typeof t&&(a=Object.assign({},rs,t),null!=t.s&&null==t.ss&&(a.ss=t.s-1)),s=function(e,t,n,s){var i=Xt(e).abs(),a=as(i.as("s")),r=as(i.as("m")),o=as(i.as("h")),d=as(i.as("d")),l=as(i.as("M")),u=as(i.as("w")),c=as(i.as("y")),h=a<=n.ss&&["s",a]||a0,h[4]=s,os.apply(null,h)}(this,!i,a,n=this.localeData()),i&&(s=n.pastFuture(+this,s)),n.postformat(s)},cs.toISOString=us,cs.toString=us,cs.toJSON=us,cs.locale=dn,cs.localeData=un,cs.toIsoString=D("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",us),cs.lang=ln,C("X",0,0,"unix"),C("x",0,0,"valueOf"),de("x",ne),de("X",/[+-]?\d+(\.\d{1,3})?/),me("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),me("x",(function(e,t,n){n._d=new Date(he(e))})),i.version="2.30.1",t=At,i.fn=Sn,i.min=function(){return Ft("isBefore",[].slice.call(arguments,0))},i.max=function(){return Ft("isAfter",[].slice.call(arguments,0))},i.now=function(){return Date.now?Date.now():+new Date},i.utc=m,i.unix=function(e){return At(1e3*e)},i.months=function(e,t){return Pn(e,t,"months")},i.isDate=c,i.locale=ft,i.invalid=g,i.duration=Xt,i.isMoment=Y,i.weekdays=function(e,t,n){return En(e,t,n,"weekdays")},i.parseZone=function(){return At.apply(null,arguments).parseZone()},i.localeData=gt,i.isDuration=Nt,i.monthsShort=function(e,t){return Pn(e,t,"monthsShort")},i.weekdaysMin=function(e,t,n){return En(e,t,n,"weekdaysMin")},i.defineLocale=pt,i.updateLocale=function(e,t){if(null!=t){var n,s,i=lt;null!=ut[e]&&null!=ut[e].parentLocale?ut[e].set(S(ut[e]._config,t)):(null!=(s=mt(e))&&(i=s._config),t=S(i,t),null==s&&(t.abbr=e),(n=new H(t)).parentLocale=ut[e],ut[e]=n),ft(e)}else null!=ut[e]&&(null!=ut[e].parentLocale?(ut[e]=ut[e].parentLocale,e===ft()&&ft(e)):null!=ut[e]&&delete ut[e]);return ut[e]},i.locales=function(){return v(ut)},i.weekdaysShort=function(e,t,n){return En(e,t,n,"weekdaysShort")},i.normalizeUnits=z,i.relativeTimeRounding=function(e){return void 0===e?as:"function"==typeof e&&(as=e,!0)},i.relativeTimeThreshold=function(e,t){return void 0!==rs[e]&&(void 0===t?rs[e]:(rs[e]=t,"s"===e&&(rs.ss=t-1),!0))},i.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},i.prototype=Sn,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i}()},8199:function(e,t,n){!function(){"use strict";var t;try{t=n(8609)}catch(e){}e.exports=function(e){var t="function"==typeof e,n=!!window.addEventListener,s=window.document,i=window.setTimeout,a=function(e,t,s,i){n?e.addEventListener(t,s,!!i):e.attachEvent("on"+t,s)},r=function(e,t,s,i){n?e.removeEventListener(t,s,!!i):e.detachEvent("on"+t,s)},o=function(e,t){return-1!==(" "+e.className+" ").indexOf(" "+t+" ")},d=function(e,t){o(e,t)||(e.className=""===e.className?t:e.className+" "+t)},l=function(e,t){var n;e.className=(n=(" "+e.className+" ").replace(" "+t+" "," ")).trim?n.trim():n.replace(/^\s+|\s+$/g,"")},u=function(e){return/Array/.test(Object.prototype.toString.call(e))},c=function(e){return/Date/.test(Object.prototype.toString.call(e))&&!isNaN(e.getTime())},h=function(e){var t=e.getDay();return 0===t||6===t},_=function(e){return e%4==0&&e%100!=0||e%400==0},m=function(e,t){return[31,_(e)?29:28,31,30,31,30,31,31,30,31,30,31][t]},f=function(e){c(e)&&e.setHours(0,0,0,0)},p=function(e,t){return e.getTime()===t.getTime()},g=function(e,t,n){var s,i;for(s in t)(i=void 0!==e[s])&&"object"==typeof t[s]&&null!==t[s]&&void 0===t[s].nodeName?c(t[s])?n&&(e[s]=new Date(t[s].getTime())):u(t[s])?n&&(e[s]=t[s].slice(0)):e[s]=g({},t[s],n):!n&&i||(e[s]=t[s]);return e},y=function(e,t,n){var i;s.createEvent?((i=s.createEvent("HTMLEvents")).initEvent(t,!0,!1),i=g(i,n),e.dispatchEvent(i)):s.createEventObject&&(i=s.createEventObject(),i=g(i,n),e.fireEvent("on"+t,i))},M=function(e){return e.month<0&&(e.year-=Math.ceil(Math.abs(e.month)/12),e.month+=12),e.month>11&&(e.year+=Math.floor(Math.abs(e.month)/12),e.month-=12),e},L={field:null,bound:void 0,ariaLabel:"Use the arrow keys to pick a date",position:"bottom left",reposition:!0,format:"YYYY-MM-DD",toString:null,parse:null,defaultDate:null,setDefaultDate:!1,firstDay:0,firstWeekOfYearMinDays:4,formatStrict:!1,minDate:null,maxDate:null,yearRange:10,showWeekNumber:!1,pickWholeWeek:!1,minYear:0,maxYear:9999,minMonth:void 0,maxMonth:void 0,startRange:null,endRange:null,isRTL:!1,yearSuffix:"",showMonthAfterYear:!1,showDaysInNextAndPreviousMonths:!1,enableSelectionDaysInNextAndPreviousMonths:!1,numberOfMonths:1,mainCalendar:"left",container:void 0,blurFieldOnSelect:!0,i18n:{previousMonth:"Previous Month",nextMonth:"Next Month",months:["January","February","March","April","May","June","July","August","September","October","November","December"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},theme:null,events:[],onSelect:null,onOpen:null,onClose:null,onDraw:null,keyboardInput:!0},b=function(e,t,n){for(t+=e.firstDay;t>=7;)t-=7;return n?e.i18n.weekdaysShort[t]:e.i18n.weekdays[t]},Y=function(e){var t=[],n="false";if(e.isEmpty){if(!e.showDaysInNextAndPreviousMonths)return'';t.push("is-outside-current-month"),e.enableSelectionDaysInNextAndPreviousMonths||t.push("is-selection-disabled")}return e.isDisabled&&t.push("is-disabled"),e.isToday&&t.push("is-today"),e.isSelected&&(t.push("is-selected"),n="true"),e.hasEvent&&t.push("has-event"),e.isInRange&&t.push("is-inrange"),e.isStartRange&&t.push("is-startrange"),e.isEndRange&&t.push("is-endrange"),'"},k=function(n,s,i,a){var r=new Date(i,s,n);return''+(t?e(r).isoWeek():function(e,t){e.setHours(0,0,0,0);var n=e.getDate(),s=e.getDay(),i=t,a=i-1,r=function(e){return(e+7-1)%7};e.setDate(n+a-r(s));var o=new Date(e.getFullYear(),0,i),d=(e.getTime()-o.getTime())/864e5;return 1+Math.round((d-a+r(o.getDay()))/7)}(r,a))+""},D=function(e,t,n,s){return''+(t?e.reverse():e).join("")+""},v=function(e,t,n,s,i,a){var r,o,d,l,c,h=e._o,_=n===h.minYear,m=n===h.maxYear,f='
',p=!0,g=!0;for(d=[],r=0;r<12;r++)d.push('");for(l='
'+h.i18n.months[s]+'
",u(h.yearRange)?(r=h.yearRange[0],o=h.yearRange[1]+1):(r=n-h.yearRange,o=1+n+h.yearRange),d=[];r=h.minYear&&d.push('");return c='
'+n+h.yearSuffix+'
",h.showMonthAfterYear?f+=c+l:f+=l+c,_&&(0===s||h.minMonth>=s)&&(p=!1),m&&(11===s||h.maxMonth<=s)&&(g=!1),0===t&&(f+='"),t===e._o.numberOfMonths-1&&(f+='"),f+"
"},w=function(e,t,n){return''+function(e){var t,n=[];for(e.showWeekNumber&&n.push(""),t=0;t<7;t++)n.push('");return""+(e.isRTL?n.reverse():n).join("")+""}(e)+(""+t.join("")+"
'+b(e,t,!0)+"
")},x=function(r){var d=this,l=d.config(r);d._onMouseDown=function(e){if(d._v){var t=(e=e||window.event).target||e.srcElement;if(t)if(o(t,"is-disabled")||(!o(t,"pika-button")||o(t,"is-empty")||o(t.parentNode,"is-disabled")?o(t,"pika-prev")?d.prevMonth():o(t,"pika-next")&&d.nextMonth():(d.setDate(new Date(t.getAttribute("data-pika-year"),t.getAttribute("data-pika-month"),t.getAttribute("data-pika-day"))),l.bound&&i((function(){d.hide(),l.blurFieldOnSelect&&l.field&&l.field.blur()}),100))),o(t,"pika-select"))d._c=!0;else{if(!e.preventDefault)return e.returnValue=!1,!1;e.preventDefault()}}},d._onChange=function(e){var t=(e=e||window.event).target||e.srcElement;t&&(o(t,"pika-select-month")?d.gotoMonth(t.value):o(t,"pika-select-year")&&d.gotoYear(t.value))},d._onKeyChange=function(e){if(e=e||window.event,d.isVisible())switch(e.keyCode){case 13:case 27:l.field&&l.field.blur();break;case 37:d.adjustDate("subtract",1);break;case 38:d.adjustDate("subtract",7);break;case 39:d.adjustDate("add",1);break;case 40:d.adjustDate("add",7);break;case 8:case 46:d.setDate(null)}},d._parseFieldValue=function(){if(l.parse)return l.parse(l.field.value,l.format);if(t){var n=e(l.field.value,l.format,l.formatStrict);return n&&n.isValid()?n.toDate():null}return new Date(Date.parse(l.field.value))},d._onInputChange=function(e){var t;e.firedBy!==d&&(t=d._parseFieldValue(),c(t)&&d.setDate(t),d._v||d.show())},d._onInputFocus=function(){d.show()},d._onInputClick=function(){d.show()},d._onInputBlur=function(){var e=s.activeElement;do{if(o(e,"pika-single"))return}while(e=e.parentNode);d._c||(d._b=i((function(){d.hide()}),50)),d._c=!1},d._onClick=function(e){var t=(e=e||window.event).target||e.srcElement,s=t;if(t){!n&&o(t,"pika-select")&&(t.onchange||(t.setAttribute("onchange","return;"),a(t,"change",d._onChange)));do{if(o(s,"pika-single")||s===l.trigger)return}while(s=s.parentNode);d._v&&t!==l.trigger&&s!==l.trigger&&d.hide()}},d.el=s.createElement("div"),d.el.className="pika-single"+(l.isRTL?" is-rtl":"")+(l.theme?" "+l.theme:""),a(d.el,"mousedown",d._onMouseDown,!0),a(d.el,"touchend",d._onMouseDown,!0),a(d.el,"change",d._onChange),l.keyboardInput&&a(s,"keydown",d._onKeyChange),l.field&&(l.container?l.container.appendChild(d.el):l.bound?s.body.appendChild(d.el):l.field.parentNode.insertBefore(d.el,l.field.nextSibling),a(l.field,"change",d._onInputChange),l.defaultDate||(l.defaultDate=d._parseFieldValue(),l.setDefaultDate=!0));var u=l.defaultDate;c(u)?l.setDefaultDate?d.setDate(u,!0):d.gotoDate(u):d.gotoDate(new Date),l.bound?(this.hide(),d.el.className+=" is-bound",a(l.trigger,"click",d._onInputClick),a(l.trigger,"focus",d._onInputFocus),a(l.trigger,"blur",d._onInputBlur)):this.show()};return x.prototype={config:function(e){this._o||(this._o=g({},L,!0));var t=g(this._o,e,!0);t.isRTL=!!t.isRTL,t.field=t.field&&t.field.nodeName?t.field:null,t.theme="string"==typeof t.theme&&t.theme?t.theme:null,t.bound=!!(void 0!==t.bound?t.field&&t.bound:t.field),t.trigger=t.trigger&&t.trigger.nodeName?t.trigger:t.field,t.disableWeekends=!!t.disableWeekends,t.disableDayFn="function"==typeof t.disableDayFn?t.disableDayFn:null;var n=parseInt(t.numberOfMonths,10)||1;if(t.numberOfMonths=n>4?4:n,c(t.minDate)||(t.minDate=!1),c(t.maxDate)||(t.maxDate=!1),t.minDate&&t.maxDate&&t.maxDate100&&(t.yearRange=100);return t},toString:function(n){return n=n||this._o.format,c(this._d)?this._o.toString?this._o.toString(this._d,n):t?e(this._d).format(n):this._d.toDateString():""},getMoment:function(){return t?e(this._d):null},setMoment:function(n,s){t&&e.isMoment(n)&&this.setDate(n.toDate(),s)},getDate:function(){return c(this._d)?new Date(this._d.getTime()):null},setDate:function(e,t){if(!e)return this._d=null,this._o.field&&(this._o.field.value="",y(this._o.field,"change",{firedBy:this})),this.draw();if("string"==typeof e&&(e=new Date(Date.parse(e))),c(e)){var n=this._o.minDate,s=this._o.maxDate;c(n)&&es&&(e=s),this._d=new Date(e.getTime()),f(this._d),this.gotoDate(this._d),this._o.field&&(this._o.field.value=this.toString(),y(this._o.field,"change",{firedBy:this})),t||"function"!=typeof this._o.onSelect||this._o.onSelect.call(this,this.getDate())}},clear:function(){this.setDate(null)},gotoDate:function(e){var t=!0;if(c(e)){if(this.calendars){var n=new Date(this.calendars[0].year,this.calendars[0].month,1),s=new Date(this.calendars[this.calendars.length-1].year,this.calendars[this.calendars.length-1].month,1),i=e.getTime();s.setMonth(s.getMonth()+1),s.setDate(s.getDate()-1),t=i=a&&(this._y=a,!isNaN(o)&&this._m>o&&(this._m=o));for(var l=0;l";this.el.innerHTML=d,n.bound&&"hidden"!==n.field.type&&i((function(){n.trigger.focus()}),1),"function"==typeof this._o.onDraw&&this._o.onDraw(this),n.bound&&n.field.setAttribute("aria-label",n.ariaLabel)}},adjustPosition:function(){var e,t,n,i,a,r,o,u,c,h,_,m;if(!this._o.container){if(this.el.style.position="absolute",t=e=this._o.trigger,n=this.el.offsetWidth,i=this.el.offsetHeight,a=window.innerWidth||s.documentElement.clientWidth,r=window.innerHeight||s.documentElement.clientHeight,o=window.pageYOffset||s.body.scrollTop||s.documentElement.scrollTop,_=!0,m=!0,"function"==typeof e.getBoundingClientRect)u=(h=e.getBoundingClientRect()).left+window.pageXOffset,c=h.bottom+window.pageYOffset;else for(u=t.offsetLeft,c=t.offsetTop+t.offsetHeight;t=t.offsetParent;)u+=t.offsetLeft,c+=t.offsetTop;(this._o.reposition&&u+n>a||this._o.position.indexOf("right")>-1&&u-n+e.offsetWidth>0)&&(u=u-n+e.offsetWidth,_=!1),(this._o.reposition&&c+i>r+o||this._o.position.indexOf("top")>-1&&c-i-e.offsetHeight>0)&&(c=c-i-e.offsetHeight,m=!1),this.el.style.left=u+"px",this.el.style.top=c+"px",d(this.el,_?"left-aligned":"right-aligned"),d(this.el,m?"bottom-aligned":"top-aligned"),l(this.el,_?"right-aligned":"left-aligned"),l(this.el,m?"top-aligned":"bottom-aligned")}},render:function(e,t,n){var s=this._o,i=new Date,a=m(e,t),r=new Date(e,t,1).getDay(),o=[],d=[];f(i),s.firstDay>0&&(r-=s.firstDay)<0&&(r+=7);for(var l=0===t?11:t-1,u=11===t?0:t+1,_=0===t?e-1:e,g=11===t?e+1:e,y=m(_,l),M=a+r,L=M;L>7;)L-=7;M+=7-L;for(var b=!1,v=0,x=0;v=a+r,P=v-r+1,E=t,A=e,C=s.startRange&&p(s.startRange,T),R=s.endRange&&p(s.endRange,T),F=s.startRange&&s.endRange&&s.startRanges.maxDate||s.disableWeekends&&h(T)||s.disableDayFn&&s.disableDayFn(T),isEmpty:O,isStartRange:C,isEndRange:R,isInRange:F,showDaysInNextAndPreviousMonths:s.showDaysInNextAndPreviousMonths,enableSelectionDaysInNextAndPreviousMonths:s.enableSelectionDaysInNextAndPreviousMonths};s.pickWholeWeek&&S&&(b=!0),d.push(Y(W)),7==++x&&(s.showWeekNumber&&d.unshift(k(v-r,t,e,s.firstWeekOfYearMinDays)),o.push(D(d,s.isRTL,s.pickWholeWeek,b)),d=[],x=0,b=!1)}return w(s,o,n)},isVisible:function(){return this._v},show:function(){this.isVisible()||(this._v=!0,this.draw(),l(this.el,"is-hidden"),this._o.bound&&(a(s,"click",this._onClick),this.adjustPosition()),"function"==typeof this._o.onOpen&&this._o.onOpen.call(this))},hide:function(){var e=this._v;!1!==e&&(this._o.bound&&r(s,"click",this._onClick),this._o.container||(this.el.style.position="static",this.el.style.left="auto",this.el.style.top="auto"),d(this.el,"is-hidden"),this._v=!1,void 0!==e&&"function"==typeof this._o.onClose&&this._o.onClose.call(this))},destroy:function(){var e=this._o;this.hide(),r(this.el,"mousedown",this._onMouseDown,!0),r(this.el,"touchend",this._onMouseDown,!0),r(this.el,"change",this._onChange),e.keyboardInput&&r(s,"keydown",this._onKeyChange),e.field&&(r(e.field,"change",this._onInputChange),e.bound&&(r(e.trigger,"click",this._onInputClick),r(e.trigger,"focus",this._onInputFocus),r(e.trigger,"blur",this._onInputBlur))),this.el.parentNode&&this.el.parentNode.removeChild(this.el)}},x}(t)}()}},t={};function n(s){var i=t[s];if(void 0!==i)return i.exports;var a=t[s]={id:s,loaded:!1,exports:{}};return e[s].call(a.exports,a,a.exports,n),a.loaded=!0,a.exports}n.d=(e,t)=>{for(var s in t)n.o(t,s)&&!n.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var s={};(()=>{"use strict";n.r(s),n.d(s,{calculateItemTotal:()=>Vu,closeModal:()=>zu,getCalendar:()=>Uu,renderNetPayablesChart:()=>Ru,renderNetReceivablesChart:()=>Fu,renderPnLChart:()=>Cu,showModal:()=>Wu,submitForm:()=>Iu,toggleDropdown:()=>Bu,toggleModal:()=>Nu});var e={};function t(e,t){return function(){return e.apply(t,arguments)}}n.r(e),n.d(e,{hasBrowserEnv:()=>he,hasStandardBrowserEnv:()=>me,hasStandardBrowserWebWorkerEnv:()=>fe,navigator:()=>_e,origin:()=>pe});const{toString:i}=Object.prototype,{getPrototypeOf:a}=Object,r=(o=Object.create(null),e=>{const t=i.call(e);return o[t]||(o[t]=t.slice(8,-1).toLowerCase())});var o;const d=e=>(e=e.toLowerCase(),t=>r(t)===e),l=e=>t=>typeof t===e,{isArray:u}=Array,c=l("undefined"),h=d("ArrayBuffer"),_=l("string"),m=l("function"),f=l("number"),p=e=>null!==e&&"object"==typeof e,g=e=>{if("object"!==r(e))return!1;const t=a(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},y=d("Date"),M=d("File"),L=d("Blob"),b=d("FileList"),Y=d("URLSearchParams"),[k,D,v,w]=["ReadableStream","Request","Response","Headers"].map(d);function x(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let s,i;if("object"!=typeof e&&(e=[e]),u(e))for(s=0,i=e.length;s0;)if(s=n[i],t===s.toLowerCase())return s;return null}const S="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,H=e=>!c(e)&&e!==S,j=(O="undefined"!=typeof Uint8Array&&a(Uint8Array),e=>O&&e instanceof O);var O;const P=d("HTMLFormElement"),E=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),A=d("RegExp"),C=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),s={};x(n,((n,i)=>{let a;!1!==(a=t(n,i,e))&&(s[i]=a||n)})),Object.defineProperties(e,s)},R="abcdefghijklmnopqrstuvwxyz",F="0123456789",W={DIGIT:F,ALPHA:R,ALPHA_DIGIT:R+R.toUpperCase()+F},z=d("AsyncFunction"),N=(I="function"==typeof setImmediate,B=m(S.postMessage),I?setImmediate:B?(V=`axios@${Math.random()}`,U=[],S.addEventListener("message",(({source:e,data:t})=>{e===S&&t===V&&U.length&&U.shift()()}),!1),e=>{U.push(e),S.postMessage(V,"*")}):e=>setTimeout(e));var I,B,V,U;const J="undefined"!=typeof queueMicrotask?queueMicrotask.bind(S):"undefined"!=typeof process&&process.nextTick||N,$={isArray:u,isArrayBuffer:h,isBuffer:function(e){return null!==e&&!c(e)&&null!==e.constructor&&!c(e.constructor)&&m(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||m(e.append)&&("formdata"===(t=r(e))||"object"===t&&m(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&h(e.buffer),t},isString:_,isNumber:f,isBoolean:e=>!0===e||!1===e,isObject:p,isPlainObject:g,isReadableStream:k,isRequest:D,isResponse:v,isHeaders:w,isUndefined:c,isDate:y,isFile:M,isBlob:L,isRegExp:A,isFunction:m,isStream:e=>p(e)&&m(e.pipe),isURLSearchParams:Y,isTypedArray:j,isFileList:b,forEach:x,merge:function e(){const{caseless:t}=H(this)&&this||{},n={},s=(s,i)=>{const a=t&&T(n,i)||i;g(n[a])&&g(s)?n[a]=e(n[a],s):g(s)?n[a]=e({},s):u(s)?n[a]=s.slice():n[a]=s};for(let e=0,t=arguments.length;e(x(n,((n,i)=>{s&&m(n)?e[i]=t(n,s):e[i]=n}),{allOwnKeys:i}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,s)=>{e.prototype=Object.create(t.prototype,s),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,s)=>{let i,r,o;const d={};if(t=t||{},null==e)return t;do{for(i=Object.getOwnPropertyNames(e),r=i.length;r-- >0;)o=i[r],s&&!s(o,e,t)||d[o]||(t[o]=e[o],d[o]=!0);e=!1!==n&&a(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:r,kindOfTest:d,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const s=e.indexOf(t,n);return-1!==s&&s===n},toArray:e=>{if(!e)return null;if(u(e))return e;let t=e.length;if(!f(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let s;for(;(s=n.next())&&!s.done;){const n=s.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const s=[];for(;null!==(n=e.exec(t));)s.push(n);return s},isHTMLForm:P,hasOwnProperty:E,hasOwnProp:E,reduceDescriptors:C,freezeMethods:e=>{C(e,((t,n)=>{if(m(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const s=e[n];m(s)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},s=e=>{e.forEach((e=>{n[e]=!0}))};return u(e)?s(e):s(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:T,global:S,isContextDefined:H,ALPHABET:W,generateString:(e=16,t=W.ALPHA_DIGIT)=>{let n="";const{length:s}=t;for(;e--;)n+=t[Math.random()*s|0];return n},isSpecCompliantForm:function(e){return!!(e&&m(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,s)=>{if(p(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[s]=e;const i=u(e)?[]:{};return x(e,((e,t)=>{const a=n(e,s+1);!c(a)&&(i[t]=a)})),t[s]=void 0,i}}return e};return n(e,0)},isAsyncFn:z,isThenable:e=>e&&(p(e)||m(e))&&m(e.then)&&m(e.catch),setImmediate:N,asap:J};function q(e,t,n,s,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),s&&(this.request=s),i&&(this.response=i,this.status=i.status?i.status:null)}$.inherits(q,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:$.toJSONObject(this.config),code:this.code,status:this.status}}});const G=q.prototype,K={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{K[e]={value:e}})),Object.defineProperties(q,K),Object.defineProperty(G,"isAxiosError",{value:!0}),q.from=(e,t,n,s,i,a)=>{const r=Object.create(G);return $.toFlatObject(e,r,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),q.call(r,e.message,t,n,s,i),r.cause=e,r.name=e.name,a&&Object.assign(r,a),r};const X=q;function Z(e){return $.isPlainObject(e)||$.isArray(e)}function Q(e){return $.endsWith(e,"[]")?e.slice(0,-2):e}function ee(e,t,n){return e?e.concat(t).map((function(e,t){return e=Q(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const te=$.toFlatObject($,{},null,(function(e){return/^is[A-Z]/.test(e)})),ne=function(e,t,n){if(!$.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const s=(n=$.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!$.isUndefined(t[e])}))).metaTokens,i=n.visitor||l,a=n.dots,r=n.indexes,o=(n.Blob||"undefined"!=typeof Blob&&Blob)&&$.isSpecCompliantForm(t);if(!$.isFunction(i))throw new TypeError("visitor must be a function");function d(e){if(null===e)return"";if($.isDate(e))return e.toISOString();if(!o&&$.isBlob(e))throw new X("Blob is not supported. Use a Buffer instead.");return $.isArrayBuffer(e)||$.isTypedArray(e)?o&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function l(e,n,i){let o=e;if(e&&!i&&"object"==typeof e)if($.endsWith(n,"{}"))n=s?n:n.slice(0,-2),e=JSON.stringify(e);else if($.isArray(e)&&function(e){return $.isArray(e)&&!e.some(Z)}(e)||($.isFileList(e)||$.endsWith(n,"[]"))&&(o=$.toArray(e)))return n=Q(n),o.forEach((function(e,s){!$.isUndefined(e)&&null!==e&&t.append(!0===r?ee([n],s,a):null===r?n:n+"[]",d(e))})),!1;return!!Z(e)||(t.append(ee(i,n,a),d(e)),!1)}const u=[],c=Object.assign(te,{defaultVisitor:l,convertValue:d,isVisitable:Z});if(!$.isObject(e))throw new TypeError("data must be an object");return function e(n,s){if(!$.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+s.join("."));u.push(n),$.forEach(n,(function(n,a){!0===(!($.isUndefined(n)||null===n)&&i.call(t,n,$.isString(a)?a.trim():a,s,c))&&e(n,s?s.concat(a):[a])})),u.pop()}}(e),t};function se(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function ie(e,t){this._pairs=[],e&&ne(e,this,t)}const ae=ie.prototype;ae.append=function(e,t){this._pairs.push([e,t])},ae.toString=function(e){const t=e?function(t){return e.call(this,t,se)}:se;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};const re=ie;function oe(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function de(e,t,n){if(!t)return e;const s=n&&n.encode||oe;$.isFunction(n)&&(n={serialize:n});const i=n&&n.serialize;let a;if(a=i?i(t,n):$.isURLSearchParams(t)?t.toString():new re(t,n).toString(s),a){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}const le=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){$.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},ue={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ce={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:re,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},he="undefined"!=typeof window&&"undefined"!=typeof document,_e="object"==typeof navigator&&navigator||void 0,me=he&&(!_e||["ReactNative","NativeScript","NS"].indexOf(_e.product)<0),fe="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,pe=he&&window.location.href||"http://localhost",ge={...e,...ce},ye=function(e){function t(e,n,s,i){let a=e[i++];if("__proto__"===a)return!0;const r=Number.isFinite(+a),o=i>=e.length;return a=!a&&$.isArray(s)?s.length:a,o?($.hasOwnProp(s,a)?s[a]=[s[a],n]:s[a]=n,!r):(s[a]&&$.isObject(s[a])||(s[a]=[]),t(e,n,s[a],i)&&$.isArray(s[a])&&(s[a]=function(e){const t={},n=Object.keys(e);let s;const i=n.length;let a;for(s=0;s{t(function(e){return $.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),s,n,0)})),n}return null},Me={transitional:ue,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",s=n.indexOf("application/json")>-1,i=$.isObject(e);if(i&&$.isHTMLForm(e)&&(e=new FormData(e)),$.isFormData(e))return s?JSON.stringify(ye(e)):e;if($.isArrayBuffer(e)||$.isBuffer(e)||$.isStream(e)||$.isFile(e)||$.isBlob(e)||$.isReadableStream(e))return e;if($.isArrayBufferView(e))return e.buffer;if($.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return ne(e,new ge.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,s){return ge.isNode&&$.isBuffer(e)?(this.append(t,e.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((a=$.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return ne(a?{"files[]":e}:e,t&&new t,this.formSerializer)}}return i||s?(t.setContentType("application/json",!1),function(e){if($.isString(e))try{return(0,JSON.parse)(e),$.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||Me.transitional,n=t&&t.forcedJSONParsing,s="json"===this.responseType;if($.isResponse(e)||$.isReadableStream(e))return e;if(e&&$.isString(e)&&(n&&!this.responseType||s)){const n=!(t&&t.silentJSONParsing)&&s;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw X.from(e,X.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ge.classes.FormData,Blob:ge.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};$.forEach(["delete","get","head","post","put","patch"],(e=>{Me.headers[e]={}}));const Le=Me,be=$.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Ye=Symbol("internals");function ke(e){return e&&String(e).trim().toLowerCase()}function De(e){return!1===e||null==e?e:$.isArray(e)?e.map(De):String(e)}function ve(e,t,n,s,i){return $.isFunction(s)?s.call(this,t,n):(i&&(t=n),$.isString(t)?$.isString(s)?-1!==t.indexOf(s):$.isRegExp(s)?s.test(t):void 0:void 0)}class we{constructor(e){e&&this.set(e)}set(e,t,n){const s=this;function i(e,t,n){const i=ke(t);if(!i)throw new Error("header name must be a non-empty string");const a=$.findKey(s,i);(!a||void 0===s[a]||!0===n||void 0===n&&!1!==s[a])&&(s[a||t]=De(e))}const a=(e,t)=>$.forEach(e,((e,n)=>i(e,n,t)));if($.isPlainObject(e)||e instanceof this.constructor)a(e,t);else if($.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))a((e=>{const t={};let n,s,i;return e&&e.split("\n").forEach((function(e){i=e.indexOf(":"),n=e.substring(0,i).trim().toLowerCase(),s=e.substring(i+1).trim(),!n||t[n]&&be[n]||("set-cookie"===n?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)})),t})(e),t);else if($.isHeaders(e))for(const[t,s]of e.entries())i(s,t,n);else null!=e&&i(t,e,n);return this}get(e,t){if(e=ke(e)){const n=$.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(e);)t[s[1]]=s[2];return t}(e);if($.isFunction(t))return t.call(this,e,n);if($.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=ke(e)){const n=$.findKey(this,e);return!(!n||void 0===this[n]||t&&!ve(0,this[n],n,t))}return!1}delete(e,t){const n=this;let s=!1;function i(e){if(e=ke(e)){const i=$.findKey(n,e);!i||t&&!ve(0,n[i],i,t)||(delete n[i],s=!0)}}return $.isArray(e)?e.forEach(i):i(e),s}clear(e){const t=Object.keys(this);let n=t.length,s=!1;for(;n--;){const i=t[n];e&&!ve(0,this[i],i,e,!0)||(delete this[i],s=!0)}return s}normalize(e){const t=this,n={};return $.forEach(this,((s,i)=>{const a=$.findKey(n,i);if(a)return t[a]=De(s),void delete t[i];const r=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(i):String(i).trim();r!==i&&delete t[i],t[r]=De(s),n[r]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return $.forEach(this,((n,s)=>{null!=n&&!1!==n&&(t[s]=e&&$.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[Ye]=this[Ye]={accessors:{}}).accessors,n=this.prototype;function s(e){const s=ke(e);t[s]||(function(e,t){const n=$.toCamelCase(" "+t);["get","set","has"].forEach((s=>{Object.defineProperty(e,s+n,{value:function(e,n,i){return this[s].call(this,t,e,n,i)},configurable:!0})}))}(n,e),t[s]=!0)}return $.isArray(e)?e.forEach(s):s(e),this}}we.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),$.reduceDescriptors(we.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),$.freezeMethods(we);const xe=we;function Te(e,t){const n=this||Le,s=t||n,i=xe.from(s.headers);let a=s.data;return $.forEach(e,(function(e){a=e.call(n,a,i.normalize(),t?t.status:void 0)})),i.normalize(),a}function Se(e){return!(!e||!e.__CANCEL__)}function He(e,t,n){X.call(this,null==e?"canceled":e,X.ERR_CANCELED,t,n),this.name="CanceledError"}$.inherits(He,X,{__CANCEL__:!0});const je=He;function Oe(e,t,n){const s=n.config.validateStatus;n.status&&s&&!s(n.status)?t(new X("Request failed with status code "+n.status,[X.ERR_BAD_REQUEST,X.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}const Pe=(e,t,n=3)=>{let s=0;const i=function(e,t){e=e||10;const n=new Array(e),s=new Array(e);let i,a=0,r=0;return t=void 0!==t?t:1e3,function(o){const d=Date.now(),l=s[r];i||(i=d),n[a]=o,s[a]=d;let u=r,c=0;for(;u!==a;)c+=n[u++],u%=e;if(a=(a+1)%e,a===r&&(r=(r+1)%e),d-i{i=a,n=null,s&&(clearTimeout(s),s=null),e.apply(null,t)};return[(...e)=>{const t=Date.now(),o=t-i;o>=a?r(e,t):(n=e,s||(s=setTimeout((()=>{s=null,r(n)}),a-o)))},()=>n&&r(n)]}((n=>{const a=n.loaded,r=n.lengthComputable?n.total:void 0,o=a-s,d=i(o);s=a,e({loaded:a,total:r,progress:r?a/r:void 0,bytes:o,rate:d||void 0,estimated:d&&r&&a<=r?(r-a)/d:void 0,event:n,lengthComputable:null!=r,[t?"download":"upload"]:!0})}),n)},Ee=(e,t)=>{const n=null!=e;return[s=>t[0]({lengthComputable:n,total:e,loaded:s}),t[1]]},Ae=e=>(...t)=>$.asap((()=>e(...t))),Ce=ge.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,ge.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(ge.origin),ge.navigator&&/(msie|trident)/i.test(ge.navigator.userAgent)):()=>!0,Re=ge.hasStandardBrowserEnv?{write(e,t,n,s,i,a){const r=[e+"="+encodeURIComponent(t)];$.isNumber(n)&&r.push("expires="+new Date(n).toGMTString()),$.isString(s)&&r.push("path="+s),$.isString(i)&&r.push("domain="+i),!0===a&&r.push("secure"),document.cookie=r.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function Fe(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const We=e=>e instanceof xe?{...e}:e;function ze(e,t){t=t||{};const n={};function s(e,t,n,s){return $.isPlainObject(e)&&$.isPlainObject(t)?$.merge.call({caseless:s},e,t):$.isPlainObject(t)?$.merge({},t):$.isArray(t)?t.slice():t}function i(e,t,n,i){return $.isUndefined(t)?$.isUndefined(e)?void 0:s(void 0,e,0,i):s(e,t,0,i)}function a(e,t){if(!$.isUndefined(t))return s(void 0,t)}function r(e,t){return $.isUndefined(t)?$.isUndefined(e)?void 0:s(void 0,e):s(void 0,t)}function o(n,i,a){return a in t?s(n,i):a in e?s(void 0,n):void 0}const d={url:a,method:a,data:a,baseURL:r,transformRequest:r,transformResponse:r,paramsSerializer:r,timeout:r,timeoutMessage:r,withCredentials:r,withXSRFToken:r,adapter:r,responseType:r,xsrfCookieName:r,xsrfHeaderName:r,onUploadProgress:r,onDownloadProgress:r,decompress:r,maxContentLength:r,maxBodyLength:r,beforeRedirect:r,transport:r,httpAgent:r,httpsAgent:r,cancelToken:r,socketPath:r,responseEncoding:r,validateStatus:o,headers:(e,t,n)=>i(We(e),We(t),0,!0)};return $.forEach(Object.keys(Object.assign({},e,t)),(function(s){const a=d[s]||i,r=a(e[s],t[s],s);$.isUndefined(r)&&a!==o||(n[s]=r)})),n}const Ne=e=>{const t=ze({},e);let n,{data:s,withXSRFToken:i,xsrfHeaderName:a,xsrfCookieName:r,headers:o,auth:d}=t;if(t.headers=o=xe.from(o),t.url=de(Fe(t.baseURL,t.url),e.params,e.paramsSerializer),d&&o.set("Authorization","Basic "+btoa((d.username||"")+":"+(d.password?unescape(encodeURIComponent(d.password)):""))),$.isFormData(s))if(ge.hasStandardBrowserEnv||ge.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if(!1!==(n=o.getContentType())){const[e,...t]=n?n.split(";").map((e=>e.trim())).filter(Boolean):[];o.setContentType([e||"multipart/form-data",...t].join("; "))}if(ge.hasStandardBrowserEnv&&(i&&$.isFunction(i)&&(i=i(t)),i||!1!==i&&Ce(t.url))){const e=a&&r&&Re.read(r);e&&o.set(a,e)}return t},Ie="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const s=Ne(e);let i=s.data;const a=xe.from(s.headers).normalize();let r,o,d,l,u,{responseType:c,onUploadProgress:h,onDownloadProgress:_}=s;function m(){l&&l(),u&&u(),s.cancelToken&&s.cancelToken.unsubscribe(r),s.signal&&s.signal.removeEventListener("abort",r)}let f=new XMLHttpRequest;function p(){if(!f)return;const s=xe.from("getAllResponseHeaders"in f&&f.getAllResponseHeaders());Oe((function(e){t(e),m()}),(function(e){n(e),m()}),{data:c&&"text"!==c&&"json"!==c?f.response:f.responseText,status:f.status,statusText:f.statusText,headers:s,config:e,request:f}),f=null}f.open(s.method.toUpperCase(),s.url,!0),f.timeout=s.timeout,"onloadend"in f?f.onloadend=p:f.onreadystatechange=function(){f&&4===f.readyState&&(0!==f.status||f.responseURL&&0===f.responseURL.indexOf("file:"))&&setTimeout(p)},f.onabort=function(){f&&(n(new X("Request aborted",X.ECONNABORTED,e,f)),f=null)},f.onerror=function(){n(new X("Network Error",X.ERR_NETWORK,e,f)),f=null},f.ontimeout=function(){let t=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const i=s.transitional||ue;s.timeoutErrorMessage&&(t=s.timeoutErrorMessage),n(new X(t,i.clarifyTimeoutError?X.ETIMEDOUT:X.ECONNABORTED,e,f)),f=null},void 0===i&&a.setContentType(null),"setRequestHeader"in f&&$.forEach(a.toJSON(),(function(e,t){f.setRequestHeader(t,e)})),$.isUndefined(s.withCredentials)||(f.withCredentials=!!s.withCredentials),c&&"json"!==c&&(f.responseType=s.responseType),_&&([d,u]=Pe(_,!0),f.addEventListener("progress",d)),h&&f.upload&&([o,l]=Pe(h),f.upload.addEventListener("progress",o),f.upload.addEventListener("loadend",l)),(s.cancelToken||s.signal)&&(r=t=>{f&&(n(!t||t.type?new je(null,e,f):t),f.abort(),f=null)},s.cancelToken&&s.cancelToken.subscribe(r),s.signal&&(s.signal.aborted?r():s.signal.addEventListener("abort",r)));const g=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(s.url);g&&-1===ge.protocols.indexOf(g)?n(new X("Unsupported protocol "+g+":",X.ERR_BAD_REQUEST,e)):f.send(i||null)}))},Be=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,s=new AbortController;const i=function(e){if(!n){n=!0,r();const t=e instanceof Error?e:this.reason;s.abort(t instanceof X?t:new je(t instanceof Error?t.message:t))}};let a=t&&setTimeout((()=>{a=null,i(new X(`timeout ${t} of ms exceeded`,X.ETIMEDOUT))}),t);const r=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(i):e.removeEventListener("abort",i)})),e=null)};e.forEach((e=>e.addEventListener("abort",i)));const{signal:o}=s;return o.unsubscribe=()=>$.asap(r),o}},Ve=function*(e,t){let n=e.byteLength;if(!t||n{const i=async function*(e,t){for await(const n of async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}}(e))yield*Ve(n,t)}(e,t);let a,r=0,o=e=>{a||(a=!0,s&&s(e))};return new ReadableStream({async pull(e){try{const{done:t,value:s}=await i.next();if(t)return o(),void e.close();let a=s.byteLength;if(n){let e=r+=a;n(e)}e.enqueue(new Uint8Array(s))}catch(e){throw o(e),e}},cancel:e=>(o(e),i.return())},{highWaterMark:2})},Je="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,$e=Je&&"function"==typeof ReadableStream,qe=Je&&("function"==typeof TextEncoder?(Ge=new TextEncoder,e=>Ge.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var Ge;const Ke=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},Xe=$e&&Ke((()=>{let e=!1;const t=new Request(ge.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),Ze=$e&&Ke((()=>$.isReadableStream(new Response("").body))),Qe={stream:Ze&&(e=>e.body)};var et;Je&&(et=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!Qe[e]&&(Qe[e]=$.isFunction(et[e])?t=>t[e]():(t,n)=>{throw new X(`Response type '${e}' is not supported`,X.ERR_NOT_SUPPORT,n)})})));const tt=Je&&(async e=>{let{url:t,method:n,data:s,signal:i,cancelToken:a,timeout:r,onDownloadProgress:o,onUploadProgress:d,responseType:l,headers:u,withCredentials:c="same-origin",fetchOptions:h}=Ne(e);l=l?(l+"").toLowerCase():"text";let _,m=Be([i,a&&a.toAbortSignal()],r);const f=m&&m.unsubscribe&&(()=>{m.unsubscribe()});let p;try{if(d&&Xe&&"get"!==n&&"head"!==n&&0!==(p=await(async(e,t)=>{const n=$.toFiniteNumber(e.getContentLength());return null==n?(async e=>{if(null==e)return 0;if($.isBlob(e))return e.size;if($.isSpecCompliantForm(e)){const t=new Request(ge.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return $.isArrayBufferView(e)||$.isArrayBuffer(e)?e.byteLength:($.isURLSearchParams(e)&&(e+=""),$.isString(e)?(await qe(e)).byteLength:void 0)})(t):n})(u,s))){let e,n=new Request(t,{method:"POST",body:s,duplex:"half"});if($.isFormData(s)&&(e=n.headers.get("content-type"))&&u.setContentType(e),n.body){const[e,t]=Ee(p,Pe(Ae(d)));s=Ue(n.body,65536,e,t)}}$.isString(c)||(c=c?"include":"omit");const i="credentials"in Request.prototype;_=new Request(t,{...h,signal:m,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:s,duplex:"half",credentials:i?c:void 0});let a=await fetch(_);const r=Ze&&("stream"===l||"response"===l);if(Ze&&(o||r&&f)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=a[t]}));const t=$.toFiniteNumber(a.headers.get("content-length")),[n,s]=o&&Ee(t,Pe(Ae(o),!0))||[];a=new Response(Ue(a.body,65536,n,(()=>{s&&s(),f&&f()})),e)}l=l||"text";let g=await Qe[$.findKey(Qe,l)||"text"](a,e);return!r&&f&&f(),await new Promise(((t,n)=>{Oe(t,n,{data:g,headers:xe.from(a.headers),status:a.status,statusText:a.statusText,config:e,request:_})}))}catch(t){if(f&&f(),t&&"TypeError"===t.name&&/fetch/i.test(t.message))throw Object.assign(new X("Network Error",X.ERR_NETWORK,e,_),{cause:t.cause||t});throw X.from(t,t&&t.code,e,_)}}),nt={http:null,xhr:Ie,fetch:tt};$.forEach(nt,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const st=e=>`- ${e}`,it=e=>$.isFunction(e)||null===e||!1===e,at=e=>{e=$.isArray(e)?e:[e];const{length:t}=e;let n,s;const i={};for(let a=0;a`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));let n=t?e.length>1?"since :\n"+e.map(st).join("\n"):" "+st(e[0]):"as no adapter specified";throw new X("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return s};function rt(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new je(null,e)}function ot(e){return rt(e),e.headers=xe.from(e.headers),e.data=Te.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),at(e.adapter||Le.adapter)(e).then((function(t){return rt(e),t.data=Te.call(e,e.transformResponse,t),t.headers=xe.from(t.headers),t}),(function(t){return Se(t)||(rt(e),t&&t.response&&(t.response.data=Te.call(e,e.transformResponse,t.response),t.response.headers=xe.from(t.response.headers))),Promise.reject(t)}))}const dt={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{dt[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const lt={};dt.transitional=function(e,t,n){function s(e,t){return"[Axios v1.7.9] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,i,a)=>{if(!1===e)throw new X(s(i," has been removed"+(t?" in "+t:"")),X.ERR_DEPRECATED);return t&&!lt[i]&&(lt[i]=!0,console.warn(s(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,i,a)}},dt.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};const ut={assertOptions:function(e,t,n){if("object"!=typeof e)throw new X("options must be an object",X.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let i=s.length;for(;i-- >0;){const a=s[i],r=t[a];if(r){const t=e[a],n=void 0===t||r(t,a,e);if(!0!==n)throw new X("option "+a+" must be "+n,X.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new X("Unknown option "+a,X.ERR_BAD_OPTION)}},validators:dt},ct=ut.validators;class ht{constructor(e){this.defaults=e,this.interceptors={request:new le,response:new le}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const n=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=ze(this.defaults,t);const{transitional:n,paramsSerializer:s,headers:i}=t;void 0!==n&&ut.assertOptions(n,{silentJSONParsing:ct.transitional(ct.boolean),forcedJSONParsing:ct.transitional(ct.boolean),clarifyTimeoutError:ct.transitional(ct.boolean)},!1),null!=s&&($.isFunction(s)?t.paramsSerializer={serialize:s}:ut.assertOptions(s,{encode:ct.function,serialize:ct.function},!0)),ut.assertOptions(t,{baseUrl:ct.spelling("baseURL"),withXsrfToken:ct.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let a=i&&$.merge(i.common,i[t.method]);i&&$.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete i[e]})),t.headers=xe.concat(a,i);const r=[];let o=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(o=o&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));const d=[];let l;this.interceptors.response.forEach((function(e){d.push(e.fulfilled,e.rejected)}));let u,c=0;if(!o){const e=[ot.bind(this),void 0];for(e.unshift.apply(e,r),e.push.apply(e,d),u=e.length,l=Promise.resolve(t);c{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const s=new Promise((e=>{n.subscribe(e),t=e})).then(e);return s.cancel=function(){n.unsubscribe(t)},s},e((function(e,s,i){n.reason||(n.reason=new je(e,s,i),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new mt((function(t){e=t})),cancel:e}}}const ft=mt,pt={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(pt).forEach((([e,t])=>{pt[t]=e}));const gt=pt,yt=function e(n){const s=new _t(n),i=t(_t.prototype.request,s);return $.extend(i,_t.prototype,s,{allOwnKeys:!0}),$.extend(i,s,null,{allOwnKeys:!0}),i.create=function(t){return e(ze(n,t))},i}(Le);yt.Axios=_t,yt.CanceledError=je,yt.CancelToken=ft,yt.isCancel=Se,yt.VERSION="1.7.9",yt.toFormData=ne,yt.AxiosError=X,yt.Cancel=yt.CanceledError,yt.all=function(e){return Promise.all(e)},yt.spread=function(e){return function(t){return e.apply(null,t)}},yt.isAxiosError=function(e){return $.isObject(e)&&!0===e.isAxiosError},yt.mergeConfig=ze,yt.AxiosHeaders=xe,yt.formToJSON=e=>ye($.isHTMLForm(e)?new FormData(e):e),yt.getAdapter=at,yt.HttpStatusCode=gt,yt.default=yt;const Mt=yt;function Lt(e){return e+.5|0}const bt=(e,t,n)=>Math.max(Math.min(e,n),t);function Yt(e){return bt(Lt(2.55*e),0,255)}function kt(e){return bt(Lt(255*e),0,255)}function Dt(e){return bt(Lt(e/2.55)/100,0,1)}function vt(e){return bt(Lt(100*e),0,100)}const wt={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},xt=[..."0123456789ABCDEF"],Tt=e=>xt[15&e],St=e=>xt[(240&e)>>4]+xt[15&e],Ht=e=>(240&e)>>4==(15&e);const jt=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Ot(e,t,n){const s=t*Math.min(n,1-n),i=(t,i=(t+e/30)%12)=>n-s*Math.max(Math.min(i-3,9-i,1),-1);return[i(0),i(8),i(4)]}function Pt(e,t,n){const s=(s,i=(s+e/60)%6)=>n-n*t*Math.max(Math.min(i,4-i,1),0);return[s(5),s(3),s(1)]}function Et(e,t,n){const s=Ot(e,1,.5);let i;for(t+n>1&&(i=1/(t+n),t*=i,n*=i),i=0;i<3;i++)s[i]*=1-t-n,s[i]+=t;return s}function At(e){const t=e.r/255,n=e.g/255,s=e.b/255,i=Math.max(t,n,s),a=Math.min(t,n,s),r=(i+a)/2;let o,d,l;return i!==a&&(l=i-a,d=r>.5?l/(2-i-a):l/(i+a),o=function(e,t,n,s,i){return e===i?(t-n)/s+(te<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055,Vt=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function Ut(e,t,n){if(e){let s=At(e);s[t]=Math.max(0,Math.min(s[t]+s[t]*n,0===t?360:1)),s=Rt(s),e.r=s[0],e.g=s[1],e.b=s[2]}}function Jt(e,t){return e?Object.assign(t||{},e):e}function $t(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=kt(e[3]))):(t=Jt(e,{r:0,g:0,b:0,a:1})).a=kt(t.a),t}function qt(e){return"r"===e.charAt(0)?function(e){const t=It.exec(e);let n,s,i,a=255;if(t){if(t[7]!==n){const e=+t[7];a=t[8]?Yt(e):bt(255*e,0,255)}return n=+t[1],s=+t[3],i=+t[5],n=255&(t[2]?Yt(n):bt(n,0,255)),s=255&(t[4]?Yt(s):bt(s,0,255)),i=255&(t[6]?Yt(i):bt(i,0,255)),{r:n,g:s,b:i,a}}}(e):function(e){const t=jt.exec(e);let n,s=255;if(!t)return;t[5]!==n&&(s=t[6]?Yt(+t[5]):kt(+t[5]));const i=Ft(+t[2]),a=+t[3]/100,r=+t[4]/100;return n="hwb"===t[1]?function(e,t,n){return Ct(Et,e,t,n)}(i,a,r):"hsv"===t[1]?function(e,t,n){return Ct(Pt,e,t,n)}(i,a,r):Rt(i,a,r),{r:n[0],g:n[1],b:n[2],a:s}}(e)}class Gt{constructor(e){if(e instanceof Gt)return e;const t=typeof e;let n;var s,i,a;"object"===t?n=$t(e):"string"===t&&(a=(s=e).length,"#"===s[0]&&(4===a||5===a?i={r:255&17*wt[s[1]],g:255&17*wt[s[2]],b:255&17*wt[s[3]],a:5===a?17*wt[s[4]]:255}:7!==a&&9!==a||(i={r:wt[s[1]]<<4|wt[s[2]],g:wt[s[3]]<<4|wt[s[4]],b:wt[s[5]]<<4|wt[s[6]],a:9===a?wt[s[7]]<<4|wt[s[8]]:255})),n=i||function(e){Nt||(Nt=function(){const e={},t=Object.keys(zt),n=Object.keys(Wt);let s,i,a,r,o;for(s=0;s>16&255,a>>8&255,255&a]}return e}(),Nt.transparent=[0,0,0,0]);const t=Nt[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:4===t.length?t[3]:255}}(e)||qt(e)),this._rgb=n,this._valid=!!n}get valid(){return this._valid}get rgb(){var e=Jt(this._rgb);return e&&(e.a=Dt(e.a)),e}set rgb(e){this._rgb=$t(e)}rgbString(){return this._valid?(e=this._rgb)&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${Dt(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`):void 0;var e}hexString(){return this._valid?(e=this._rgb,t=(e=>Ht(e.r)&&Ht(e.g)&&Ht(e.b)&&Ht(e.a))(e)?Tt:St,e?"#"+t(e.r)+t(e.g)+t(e.b)+((e,t)=>e<255?t(e):"")(e.a,t):void 0):void 0;var e,t}hslString(){return this._valid?function(e){if(!e)return;const t=At(e),n=t[0],s=vt(t[1]),i=vt(t[2]);return e.a<255?`hsla(${n}, ${s}%, ${i}%, ${Dt(e.a)})`:`hsl(${n}, ${s}%, ${i}%)`}(this._rgb):void 0}mix(e,t){if(e){const n=this.rgb,s=e.rgb;let i;const a=t===i?.5:t,r=2*a-1,o=n.a-s.a,d=((r*o==-1?r:(r+o)/(1+r*o))+1)/2;i=1-d,n.r=255&d*n.r+i*s.r+.5,n.g=255&d*n.g+i*s.g+.5,n.b=255&d*n.b+i*s.b+.5,n.a=a*n.a+(1-a)*s.a,this.rgb=n}return this}interpolate(e,t){return e&&(this._rgb=function(e,t,n){const s=Vt(Dt(e.r)),i=Vt(Dt(e.g)),a=Vt(Dt(e.b));return{r:kt(Bt(s+n*(Vt(Dt(t.r))-s))),g:kt(Bt(i+n*(Vt(Dt(t.g))-i))),b:kt(Bt(a+n*(Vt(Dt(t.b))-a))),a:e.a+n*(t.a-e.a)}}(this._rgb,e._rgb,t)),this}clone(){return new Gt(this.rgb)}alpha(e){return this._rgb.a=kt(e),this}clearer(e){return this._rgb.a*=1-e,this}greyscale(){const e=this._rgb,t=Lt(.3*e.r+.59*e.g+.11*e.b);return e.r=e.g=e.b=t,this}opaquer(e){return this._rgb.a*=1+e,this}negate(){const e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return Ut(this._rgb,2,e),this}darken(e){return Ut(this._rgb,2,-e),this}saturate(e){return Ut(this._rgb,1,e),this}desaturate(e){return Ut(this._rgb,1,-e),this}rotate(e){return function(e,t){var n=At(e);n[0]=Ft(n[0]+t),n=Rt(n),e.r=n[0],e.g=n[1],e.b=n[2]}(this._rgb,e),this}}function Kt(){}const Xt=(()=>{let e=0;return()=>e++})();function Zt(e){return null==e}function Qt(e){if(Array.isArray&&Array.isArray(e))return!0;const t=Object.prototype.toString.call(e);return"[object"===t.slice(0,7)&&"Array]"===t.slice(-6)}function en(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)}function tn(e){return("number"==typeof e||e instanceof Number)&&isFinite(+e)}function nn(e,t){return tn(e)?e:t}function sn(e,t){return void 0===e?t:e}const an=(e,t)=>"string"==typeof e&&e.endsWith("%")?parseFloat(e)/100*t:+e;function rn(e,t,n){if(e&&"function"==typeof e.call)return e.apply(n,t)}function on(e,t,n,s){let i,a,r;if(Qt(e))if(a=e.length,s)for(i=a-1;i>=0;i--)t.call(n,e[i],i);else for(i=0;ie,x:e=>e.x,y:e=>e.y};function pn(e,t){const n=fn[t]||(fn[t]=function(e){const t=function(e){const t=e.split("."),n=[];let s="";for(const e of t)s+=e,s.endsWith("\\")?s=s.slice(0,-1)+".":(n.push(s),s="");return n}(e);return e=>{for(const n of t){if(""===n)break;e=e&&e[n]}return e}}(t));return n(e)}function gn(e){return e.charAt(0).toUpperCase()+e.slice(1)}const yn=e=>void 0!==e,Mn=e=>"function"==typeof e,Ln=(e,t)=>{if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0},bn=Math.PI,Yn=2*bn,kn=Yn+bn,Dn=Number.POSITIVE_INFINITY,vn=bn/180,wn=bn/2,xn=bn/4,Tn=2*bn/3,Sn=Math.log10,Hn=Math.sign;function jn(e,t,n){return Math.abs(e-t)d&&l=Math.min(t,n)-s&&e<=Math.max(t,n)+s}function Un(e,t,n){n=n||(n=>e[n]1;)s=a+i>>1,n(s)?a=s:i=s;return{lo:a,hi:i}}const Jn=(e,t,n,s)=>Un(e,n,s?s=>{const i=e[s][t];return ie[s][t]Un(e,n,(s=>e[s][t]>=n)),qn=["push","pop","shift","splice","unshift"];function Gn(e,t){const n=e._chartjs;if(!n)return;const s=n.listeners,i=s.indexOf(t);-1!==i&&s.splice(i,1),s.length>0||(qn.forEach((t=>{delete e[t]})),delete e._chartjs)}function Kn(e){const t=new Set(e);return t.size===e.length?e:Array.from(t)}const Xn="undefined"==typeof window?function(e){return e()}:window.requestAnimationFrame;function Zn(e,t){let n=[],s=!1;return function(...i){n=i,s||(s=!0,Xn.call(window,(()=>{s=!1,e.apply(t,n)})))}}const Qn=e=>"start"===e?"left":"end"===e?"right":"center",es=(e,t,n)=>"start"===e?t:"end"===e?n:(t+n)/2;function ts(e,t,n){const s=t.length;let i=0,a=s;if(e._sorted){const{iScale:r,_parsed:o}=e,d=r.axis,{min:l,max:u,minDefined:c,maxDefined:h}=r.getUserBounds();c&&(i=Bn(Math.min(Jn(o,d,l).lo,n?s:Jn(t,d,r.getPixelForValue(l)).lo),0,s-1)),a=h?Bn(Math.max(Jn(o,r.axis,u,!0).hi+1,n?0:Jn(t,d,r.getPixelForValue(u),!0).hi+1),i,s)-i:s-i}return{start:i,count:a}}function ns(e){const{xScale:t,yScale:n,_scaleRanges:s}=e,i={xmin:t.min,xmax:t.max,ymin:n.min,ymax:n.max};if(!s)return e._scaleRanges=i,!0;const a=s.xmin!==t.min||s.xmax!==t.max||s.ymin!==n.min||s.ymax!==n.max;return Object.assign(s,i),a}const ss=e=>0===e||1===e,is=(e,t,n)=>-Math.pow(2,10*(e-=1))*Math.sin((e-t)*Yn/n),as=(e,t,n)=>Math.pow(2,-10*e)*Math.sin((e-t)*Yn/n)+1,rs={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>(e-=1)*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-((e-=1)*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>(e-=1)*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>1-Math.cos(e*wn),easeOutSine:e=>Math.sin(e*wn),easeInOutSine:e=>-.5*(Math.cos(bn*e)-1),easeInExpo:e=>0===e?0:Math.pow(2,10*(e-1)),easeOutExpo:e=>1===e?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>ss(e)?e:e<.5?.5*Math.pow(2,10*(2*e-1)):.5*(2-Math.pow(2,-10*(2*e-1))),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1-(e-=1)*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>ss(e)?e:is(e,.075,.3),easeOutElastic:e=>ss(e)?e:as(e,.075,.3),easeInOutElastic(e){const t=.1125;return ss(e)?e:e<.5?.5*is(2*e,t,.45):.5+.5*as(2*e-1,t,.45)},easeInBack(e){const t=1.70158;return e*e*((t+1)*e-t)},easeOutBack(e){const t=1.70158;return(e-=1)*e*((t+1)*e+t)+1},easeInOutBack(e){let t=1.70158;return(e/=.5)<1?e*e*((1+(t*=1.525))*e-t)*.5:.5*((e-=2)*e*((1+(t*=1.525))*e+t)+2)},easeInBounce:e=>1-rs.easeOutBounce(1-e),easeOutBounce(e){const t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375},easeInOutBounce:e=>e<.5?.5*rs.easeInBounce(2*e):.5*rs.easeOutBounce(2*e-1)+.5};function os(e){if(e&&"object"==typeof e){const t=e.toString();return"[object CanvasPattern]"===t||"[object CanvasGradient]"===t}return!1}function ds(e){return os(e)?e:new Gt(e)}function ls(e){return os(e)?e:new Gt(e).saturate(.5).darken(.1).hexString()}const us=["x","y","borderWidth","radius","tension"],cs=["color","borderColor","backgroundColor"],hs=new Map;function _s(e,t,n){return function(e,t){t=t||{};const n=e+JSON.stringify(t);let s=hs.get(n);return s||(s=new Intl.NumberFormat(e,t),hs.set(n,s)),s}(t,n).format(e)}const ms={values:e=>Qt(e)?e:""+e,numeric(e,t,n){if(0===e)return"0";const s=this.chart.options.locale;let i,a=e;if(n.length>1){const t=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(t<1e-4||t>1e15)&&(i="scientific"),a=function(e,t){let n=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(n)>=1&&e!==Math.floor(e)&&(n=e-Math.floor(e)),n}(e,n)}const r=Sn(Math.abs(a)),o=isNaN(r)?1:Math.max(Math.min(-1*Math.floor(r),20),0),d={notation:i,minimumFractionDigits:o,maximumFractionDigits:o};return Object.assign(d,this.options.ticks.format),_s(e,s,d)},logarithmic(e,t,n){if(0===e)return"0";const s=n[t].significand||e/Math.pow(10,Math.floor(Sn(e)));return[1,2,3,5,10,15].includes(s)||t>.8*n.length?ms.numeric.call(this,e,t,n):""}};var fs={formatters:ms};const ps=Object.create(null),gs=Object.create(null);function ys(e,t){if(!t)return e;const n=t.split(".");for(let t=0,s=n.length;te.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(e,t)=>ls(t.backgroundColor),this.hoverBorderColor=(e,t)=>ls(t.borderColor),this.hoverColor=(e,t)=>ls(t.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e),this.apply(t)}set(e,t){return Ms(this,e,t)}get(e){return ys(this,e)}describe(e,t){return Ms(gs,e,t)}override(e,t){return Ms(ps,e,t)}route(e,t,n,s){const i=ys(this,e),a=ys(this,n),r="_"+t;Object.defineProperties(i,{[r]:{value:i[t],writable:!0},[t]:{enumerable:!0,get(){const e=this[r],t=a[s];return en(e)?Object.assign({},t,e):sn(e,t)},set(e){this[r]=e}}})}apply(e){e.forEach((e=>e(this)))}}var bs=new Ls({_scriptable:e=>!e.startsWith("on"),_indexable:e=>"events"!==e,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[function(e){e.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),e.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:e=>"onProgress"!==e&&"onComplete"!==e&&"fn"!==e}),e.set("animations",{colors:{type:"color",properties:cs},numbers:{type:"number",properties:us}}),e.describe("animations",{_fallback:"animation"}),e.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:e=>0|e}}}})},function(e){e.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})},function(e){e.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(e,t)=>t.lineWidth,tickColor:(e,t)=>t.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:fs.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),e.route("scale.ticks","color","","color"),e.route("scale.grid","color","","borderColor"),e.route("scale.border","color","","borderColor"),e.route("scale.title","color","","color"),e.describe("scale",{_fallback:!1,_scriptable:e=>!e.startsWith("before")&&!e.startsWith("after")&&"callback"!==e&&"parser"!==e,_indexable:e=>"borderDash"!==e&&"tickBorderDash"!==e&&"dash"!==e}),e.describe("scales",{_fallback:"scale"}),e.describe("scale.ticks",{_scriptable:e=>"backdropPadding"!==e&&"callback"!==e,_indexable:e=>"backdropPadding"!==e})}]);function Ys(e,t,n,s,i){let a=t[i];return a||(a=t[i]=e.measureText(i).width,n.push(i)),a>s&&(s=a),s}function ks(e,t,n,s){let i=(s=s||{}).data=s.data||{},a=s.garbageCollect=s.garbageCollect||[];s.font!==t&&(i=s.data={},a=s.garbageCollect=[],s.font=t),e.save(),e.font=t;let r=0;const o=n.length;let d,l,u,c,h;for(d=0;dn.length){for(d=0;d<_;d++)delete i[a[d]];a.splice(0,_)}return r}function Ds(e,t,n){const s=e.currentDevicePixelRatio,i=0!==n?Math.max(n/2,.5):0;return Math.round((t-i)*s)/s+i}function vs(e,t){(t||e)&&((t=t||e.getContext("2d")).save(),t.resetTransform(),t.clearRect(0,0,e.width,e.height),t.restore())}function ws(e,t,n,s){xs(e,t,n,s,null)}function xs(e,t,n,s,i){let a,r,o,d,l,u,c,h;const _=t.pointStyle,m=t.rotation,f=t.radius;let p=(m||0)*vn;if(_&&"object"==typeof _&&(a=_.toString(),"[object HTMLImageElement]"===a||"[object HTMLCanvasElement]"===a))return e.save(),e.translate(n,s),e.rotate(p),e.drawImage(_,-_.width/2,-_.height/2,_.width,_.height),void e.restore();if(!(isNaN(f)||f<=0)){switch(e.beginPath(),_){default:i?e.ellipse(n,s,i/2,f,0,0,Yn):e.arc(n,s,f,0,Yn),e.closePath();break;case"triangle":u=i?i/2:f,e.moveTo(n+Math.sin(p)*u,s-Math.cos(p)*f),p+=Tn,e.lineTo(n+Math.sin(p)*u,s-Math.cos(p)*f),p+=Tn,e.lineTo(n+Math.sin(p)*u,s-Math.cos(p)*f),e.closePath();break;case"rectRounded":l=.516*f,d=f-l,r=Math.cos(p+xn)*d,c=Math.cos(p+xn)*(i?i/2-l:d),o=Math.sin(p+xn)*d,h=Math.sin(p+xn)*(i?i/2-l:d),e.arc(n-c,s-o,l,p-bn,p-wn),e.arc(n+h,s-r,l,p-wn,p),e.arc(n+c,s+o,l,p,p+wn),e.arc(n-h,s+r,l,p+wn,p+bn),e.closePath();break;case"rect":if(!m){d=Math.SQRT1_2*f,u=i?i/2:d,e.rect(n-u,s-d,2*u,2*d);break}p+=xn;case"rectRot":c=Math.cos(p)*(i?i/2:f),r=Math.cos(p)*f,o=Math.sin(p)*f,h=Math.sin(p)*(i?i/2:f),e.moveTo(n-c,s-o),e.lineTo(n+h,s-r),e.lineTo(n+c,s+o),e.lineTo(n-h,s+r),e.closePath();break;case"crossRot":p+=xn;case"cross":c=Math.cos(p)*(i?i/2:f),r=Math.cos(p)*f,o=Math.sin(p)*f,h=Math.sin(p)*(i?i/2:f),e.moveTo(n-c,s-o),e.lineTo(n+c,s+o),e.moveTo(n+h,s-r),e.lineTo(n-h,s+r);break;case"star":c=Math.cos(p)*(i?i/2:f),r=Math.cos(p)*f,o=Math.sin(p)*f,h=Math.sin(p)*(i?i/2:f),e.moveTo(n-c,s-o),e.lineTo(n+c,s+o),e.moveTo(n+h,s-r),e.lineTo(n-h,s+r),p+=xn,c=Math.cos(p)*(i?i/2:f),r=Math.cos(p)*f,o=Math.sin(p)*f,h=Math.sin(p)*(i?i/2:f),e.moveTo(n-c,s-o),e.lineTo(n+c,s+o),e.moveTo(n+h,s-r),e.lineTo(n-h,s+r);break;case"line":r=i?i/2:Math.cos(p)*f,o=Math.sin(p)*f,e.moveTo(n-r,s-o),e.lineTo(n+r,s+o);break;case"dash":e.moveTo(n,s),e.lineTo(n+Math.cos(p)*(i?i/2:f),s+Math.sin(p)*f);break;case!1:e.closePath()}e.fill(),t.borderWidth>0&&e.stroke()}}function Ts(e,t,n){return n=n||.5,!t||e&&e.x>t.left-n&&e.xt.top-n&&e.y0&&""!==a.strokeColor;let d,l;for(e.save(),e.font=i.string,function(e,t){t.translation&&e.translate(t.translation[0],t.translation[1]),Zt(t.rotation)||e.rotate(t.rotation),t.color&&(e.fillStyle=t.color),t.textAlign&&(e.textAlign=t.textAlign),t.textBaseline&&(e.textBaseline=t.textBaseline)}(e,a),d=0;dsn(e[n],e[t[n]]):t=>e[t]:()=>e;for(const e of i)n[e]=+a(e)||0;return n}function Ns(e){return zs(e,{top:"y",right:"x",bottom:"y",left:"x"})}function Is(e){return zs(e,["topLeft","topRight","bottomLeft","bottomRight"])}function Bs(e){const t=Ns(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function Vs(e,t){e=e||{},t=t||bs.font;let n=sn(e.size,t.size);"string"==typeof n&&(n=parseInt(n,10));let s=sn(e.style,t.style);s&&!(""+s).match(Fs)&&(console.warn('Invalid font style specified: "'+s+'"'),s=void 0);const i={family:sn(e.family,t.family),lineHeight:Ws(sn(e.lineHeight,t.lineHeight),n),size:n,style:s,weight:sn(e.weight,t.weight),string:""};return i.string=function(e){return!e||Zt(e.size)||Zt(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}(i),i}function Us(e,t,n,s){let i,a,r,o=!0;for(i=0,a=e.length;ie[0]){const a=n||e;void 0===s&&(s=ii("_fallback",e));const r={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:a,_fallback:s,_getTarget:i,override:n=>$s([n,...e],t,a,s)};return new Proxy(r,{deleteProperty:(t,n)=>(delete t[n],delete t._keys,delete e[0][n],!0),get:(n,s)=>Zs(n,s,(()=>function(e,t,n,s){let i;for(const a of t)if(i=ii(Ks(a,e),n),void 0!==i)return Xs(e,i)?ni(n,s,e,i):i}(s,t,e,n))),getOwnPropertyDescriptor:(e,t)=>Reflect.getOwnPropertyDescriptor(e._scopes[0],t),getPrototypeOf:()=>Reflect.getPrototypeOf(e[0]),has:(e,t)=>ai(e).includes(t),ownKeys:e=>ai(e),set(e,t,n){const s=e._storage||(e._storage=i());return e[t]=s[t]=n,delete e._keys,!0}})}function qs(e,t,n,s){const i={_cacheable:!1,_proxy:e,_context:t,_subProxy:n,_stack:new Set,_descriptors:Gs(e,s),setContext:t=>qs(e,t,n,s),override:i=>qs(e.override(i),t,n,s)};return new Proxy(i,{deleteProperty:(t,n)=>(delete t[n],delete e[n],!0),get:(e,t,n)=>Zs(e,t,(()=>function(e,t,n){const{_proxy:s,_context:i,_subProxy:a,_descriptors:r}=e;let o=s[t];return Mn(o)&&r.isScriptable(t)&&(o=function(e,t,n,s){const{_proxy:i,_context:a,_subProxy:r,_stack:o}=n;if(o.has(e))throw new Error("Recursion detected: "+Array.from(o).join("->")+"->"+e);o.add(e);let d=t(a,r||s);return o.delete(e),Xs(e,d)&&(d=ni(i._scopes,i,e,d)),d}(t,o,e,n)),Qt(o)&&o.length&&(o=function(e,t,n,s){const{_proxy:i,_context:a,_subProxy:r,_descriptors:o}=n;if(void 0!==a.index&&s(e))return t[a.index%t.length];if(en(t[0])){const n=t,s=i._scopes.filter((e=>e!==n));t=[];for(const d of n){const n=ni(s,i,e,d);t.push(qs(n,a,r&&r[e],o))}}return t}(t,o,e,r.isIndexable)),Xs(t,o)&&(o=qs(o,i,a&&a[t],r)),o}(e,t,n))),getOwnPropertyDescriptor:(t,n)=>t._descriptors.allKeys?Reflect.has(e,n)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,n),getPrototypeOf:()=>Reflect.getPrototypeOf(e),has:(t,n)=>Reflect.has(e,n),ownKeys:()=>Reflect.ownKeys(e),set:(t,n,s)=>(e[n]=s,delete t[n],!0)})}function Gs(e,t={scriptable:!0,indexable:!0}){const{_scriptable:n=t.scriptable,_indexable:s=t.indexable,_allKeys:i=t.allKeys}=e;return{allKeys:i,scriptable:n,indexable:s,isScriptable:Mn(n)?n:()=>n,isIndexable:Mn(s)?s:()=>s}}const Ks=(e,t)=>e?e+gn(t):t,Xs=(e,t)=>en(t)&&"adapters"!==e&&(null===Object.getPrototypeOf(t)||t.constructor===Object);function Zs(e,t,n){if(Object.prototype.hasOwnProperty.call(e,t)||"constructor"===t)return e[t];const s=n();return e[t]=s,s}function Qs(e,t,n){return Mn(e)?e(t,n):e}const ei=(e,t)=>!0===e?t:"string"==typeof e?pn(t,e):void 0;function ti(e,t,n,s,i){for(const a of t){const t=ei(n,a);if(t){e.add(t);const a=Qs(t._fallback,n,i);if(void 0!==a&&a!==n&&a!==s)return a}else if(!1===t&&void 0!==s&&n!==s)return null}return!1}function ni(e,t,n,s){const i=t._rootScopes,a=Qs(t._fallback,n,s),r=[...e,...i],o=new Set;o.add(s);let d=si(o,r,n,a||n,s);return null!==d&&(void 0===a||a===n||(d=si(o,r,a,d,s),null!==d))&&$s(Array.from(o),[""],i,a,(()=>function(e,t,n){const s=e._getTarget();t in s||(s[t]={});const i=s[t];return Qt(i)&&en(n)?n:i||{}}(t,n,s)))}function si(e,t,n,s,i){for(;n;)n=ti(e,t,n,s,i);return n}function ii(e,t){for(const n of t){if(!n)continue;const t=n[e];if(void 0!==t)return t}}function ai(e){let t=e._keys;return t||(t=e._keys=function(e){const t=new Set;for(const n of e)for(const e of Object.keys(n).filter((e=>!e.startsWith("_"))))t.add(e);return Array.from(t)}(e._scopes)),t}function ri(e,t,n,s){const{iScale:i}=e,{key:a="r"}=this._parsing,r=new Array(s);let o,d,l,u;for(o=0,d=s;ot"x"===e?"y":"x";function ui(e,t,n,s){const i=e.skip?t:e,a=t,r=n.skip?t:n,o=Wn(a,i),d=Wn(r,a);let l=o/(o+d),u=d/(o+d);l=isNaN(l)?0:l,u=isNaN(u)?0:u;const c=s*l,h=s*u;return{previous:{x:a.x-c*(r.x-i.x),y:a.y-c*(r.y-i.y)},next:{x:a.x+h*(r.x-i.x),y:a.y+h*(r.y-i.y)}}}function ci(e,t,n){return Math.max(Math.min(e,n),t)}function hi(e,t,n,s,i){let a,r,o,d;if(t.spanGaps&&(e=e.filter((e=>!e.skip))),"monotone"===t.cubicInterpolationMode)!function(e,t="x"){const n=li(t),s=e.length,i=Array(s).fill(0),a=Array(s);let r,o,d,l=di(e,0);for(r=0;re.ownerDocument.defaultView.getComputedStyle(e,null),gi=["top","right","bottom","left"];function yi(e,t,n){const s={};n=n?"-"+n:"";for(let i=0;i<4;i++){const a=gi[i];s[a]=parseFloat(e[t+"-"+a+n])||0}return s.width=s.left+s.right,s.height=s.top+s.bottom,s}function Mi(e,t){if("native"in e)return e;const{canvas:n,currentDevicePixelRatio:s}=t,i=pi(n),a="border-box"===i.boxSizing,r=yi(i,"padding"),o=yi(i,"border","width"),{x:d,y:l,box:u}=function(e,t){const n=e.touches,s=n&&n.length?n[0]:e,{offsetX:i,offsetY:a}=s;let r,o,d=!1;if(((e,t,n)=>(e>0||t>0)&&(!n||!n.shadowRoot))(i,a,e.target))r=i,o=a;else{const e=t.getBoundingClientRect();r=s.clientX-e.left,o=s.clientY-e.top,d=!0}return{x:r,y:o,box:d}}(e,n),c=r.left+(u&&o.left),h=r.top+(u&&o.top);let{width:_,height:m}=t;return a&&(_-=r.width+o.width,m-=r.height+o.height),{x:Math.round((d-c)/_*n.width/s),y:Math.round((l-h)/m*n.height/s)}}const Li=e=>Math.round(10*e)/10;function bi(e,t,n){const s=t||1,i=Math.floor(e.height*s),a=Math.floor(e.width*s);e.height=Math.floor(e.height),e.width=Math.floor(e.width);const r=e.canvas;return r.style&&(n||!r.style.height&&!r.style.width)&&(r.style.height=`${e.height}px`,r.style.width=`${e.width}px`),(e.currentDevicePixelRatio!==s||r.height!==i||r.width!==a)&&(e.currentDevicePixelRatio=s,r.height=i,r.width=a,e.ctx.setTransform(s,0,0,s,0,0),!0)}const Yi=function(){let e=!1;try{const t={get passive(){return e=!0,!1}};_i()&&(window.addEventListener("test",null,t),window.removeEventListener("test",null,t))}catch(e){}return e}();function ki(e,t){const n=function(e,t){return pi(e).getPropertyValue(t)}(e,t),s=n&&n.match(/^(\d+)(\.\d+)?px$/);return s?+s[1]:void 0}function Di(e,t,n,s){return{x:e.x+n*(t.x-e.x),y:e.y+n*(t.y-e.y)}}function vi(e,t,n,s){return{x:e.x+n*(t.x-e.x),y:"middle"===s?n<.5?e.y:t.y:"after"===s?n<1?e.y:t.y:n>0?t.y:e.y}}function wi(e,t,n,s){const i={x:e.cp2x,y:e.cp2y},a={x:t.cp1x,y:t.cp1y},r=Di(e,i,n),o=Di(i,a,n),d=Di(a,t,n),l=Di(r,o,n),u=Di(o,d,n);return Di(l,u,n)}function xi(e,t,n){return e?function(e,t){return{x:n=>e+e+t-n,setWidth(e){t=e},textAlign:e=>"center"===e?e:"right"===e?"left":"right",xPlus:(e,t)=>e-t,leftForLtr:(e,t)=>e-t}}(t,n):{x:e=>e,setWidth(e){},textAlign:e=>e,xPlus:(e,t)=>e+t,leftForLtr:(e,t)=>e}}function Ti(e,t){let n,s;"ltr"!==t&&"rtl"!==t||(n=e.canvas.style,s=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",t,"important"),e.prevTextDirection=s)}function Si(e,t){void 0!==t&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}function Hi(e){return"angle"===e?{between:In,compare:zn,normalize:Nn}:{between:Vn,compare:(e,t)=>e-t,normalize:e=>e}}function ji({start:e,end:t,count:n,loop:s,style:i}){return{start:e%n,end:t%n,loop:s&&(t-e+1)%n==0,style:i}}function Oi(e,t,n){if(!n)return[e];const{property:s,start:i,end:a}=n,r=t.length,{compare:o,between:d,normalize:l}=Hi(s),{start:u,end:c,loop:h,style:_}=function(e,t,n){const{property:s,start:i,end:a}=n,{between:r,normalize:o}=Hi(s),d=t.length;let l,u,{start:c,end:h,loop:_}=e;if(_){for(c+=d,h+=d,l=0,u=d;ls({chart:e,initial:t.initial,numSteps:a,currentStep:Math.min(n-t.start,a)})))}_refresh(){this._request||(this._running=!0,this._request=Xn.call(window,(()=>{this._update(),this._request=null,this._running&&this._refresh()})))}_update(e=Date.now()){let t=0;this._charts.forEach(((n,s)=>{if(!n.running||!n.items.length)return;const i=n.items;let a,r=i.length-1,o=!1;for(;r>=0;--r)a=i[r],a._active?(a._total>n.duration&&(n.duration=a._total),a.tick(e),o=!0):(i[r]=i[i.length-1],i.pop());o&&(s.draw(),this._notify(s,n,e,"progress")),i.length||(n.running=!1,this._notify(s,n,e,"complete"),n.initial=!1),t+=i.length})),this._lastDate=e,0===t&&(this._running=!1)}_getAnims(e){const t=this._charts;let n=t.get(e);return n||(n={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},t.set(e,n)),n}listen(e,t,n){this._getAnims(e).listeners[t].push(n)}add(e,t){t&&t.length&&this._getAnims(e).items.push(...t)}has(e){return this._getAnims(e).items.length>0}start(e){const t=this._charts.get(e);t&&(t.running=!0,t.start=Date.now(),t.duration=t.items.reduce(((e,t)=>Math.max(e,t._duration)),0),this._refresh())}running(e){if(!this._running)return!1;const t=this._charts.get(e);return!!(t&&t.running&&t.items.length)}stop(e){const t=this._charts.get(e);if(!t||!t.items.length)return;const n=t.items;let s=n.length-1;for(;s>=0;--s)n[s].cancel();t.items=[],this._notify(e,t,Date.now(),"complete")}remove(e){return this._charts.delete(e)}}var Ri=new Ci;const Fi="transparent",Wi={boolean:(e,t,n)=>n>.5?t:e,color(e,t,n){const s=ds(e||Fi),i=s.valid&&ds(t||Fi);return i&&i.valid?i.mix(s,n).hexString():t},number:(e,t,n)=>e+(t-e)*n};class zi{constructor(e,t,n,s){const i=t[n];s=Us([e.to,s,i,e.from]);const a=Us([e.from,i,s]);this._active=!0,this._fn=e.fn||Wi[e.type||typeof a],this._easing=rs[e.easing]||rs.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=t,this._prop=n,this._from=a,this._to=s,this._promises=void 0}active(){return this._active}update(e,t,n){if(this._active){this._notify(!1);const s=this._target[this._prop],i=n-this._start,a=this._duration-i;this._start=n,this._duration=Math.floor(Math.max(a,e.duration)),this._total+=i,this._loop=!!e.loop,this._to=Us([e.to,t,s,e.from]),this._from=Us([e.from,s,t])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){const t=e-this._start,n=this._duration,s=this._prop,i=this._from,a=this._loop,r=this._to;let o;if(this._active=i!==r&&(a||t1?2-o:o,o=this._easing(Math.min(1,Math.max(0,o))),this._target[s]=this._fn(i,r,o))}wait(){const e=this._promises||(this._promises=[]);return new Promise(((t,n)=>{e.push({res:t,rej:n})}))}_notify(e){const t=e?"res":"rej",n=this._promises||[];for(let e=0;e{const i=e[s];if(!en(i))return;const a={};for(const e of t)a[e]=i[e];(Qt(i.properties)&&i.properties||[s]).forEach((e=>{e!==s&&n.has(e)||n.set(e,a)}))}))}_animateOptions(e,t){const n=t.options,s=function(e,t){if(!t)return;let n=e.options;if(n)return n.$shared&&(e.options=n=Object.assign({},n,{$shared:!1,$animations:{}})),n;e.options=t}(e,n);if(!s)return[];const i=this._createAnimations(s,n);return n.$shared&&function(e,t){const n=[],s=Object.keys(t);for(let t=0;t{e.options=n}),(()=>{})),i}_createAnimations(e,t){const n=this._properties,s=[],i=e.$animations||(e.$animations={}),a=Object.keys(t),r=Date.now();let o;for(o=a.length-1;o>=0;--o){const d=a[o];if("$"===d.charAt(0))continue;if("options"===d){s.push(...this._animateOptions(e,t));continue}const l=t[d];let u=i[d];const c=n.get(d);if(u){if(c&&u.active()){u.update(c,l,r);continue}u.cancel()}c&&c.duration?(i[d]=u=new zi(c,e,d,l),s.push(u)):e[d]=l}return s}update(e,t){if(0===this._properties.size)return void Object.assign(e,t);const n=this._createAnimations(e,t);return n.length?(Ri.add(this._chart,n),!0):void 0}}function Ii(e,t){const n=e&&e.options||{},s=n.reverse,i=void 0===n.min?t:0,a=void 0===n.max?t:0;return{start:s?a:i,end:s?i:a}}function Bi(e,t){const n=[],s=e._getSortedDatasetMetas(t);let i,a;for(i=0,a=s.length;i0||!n&&t<0)return i.index}return null}function qi(e,t){const{chart:n,_cachedMeta:s}=e,i=n._stacks||(n._stacks={}),{iScale:a,vScale:r,index:o}=s,d=a.axis,l=r.axis,u=function(e,t,n){return`${e.id}.${t.id}.${n.stack||n.type}`}(a,r,s),c=t.length;let h;for(let e=0;en[e].axis===t)).shift()}function Ki(e,t){const n=e.controller.index,s=e.vScale&&e.vScale.axis;if(s){t=t||e._parsed;for(const e of t){const t=e._stacks;if(!t||void 0===t[s]||void 0===t[s][n])return;delete t[s][n],void 0!==t[s]._visualValues&&void 0!==t[s]._visualValues[n]&&delete t[s]._visualValues[n]}}}const Xi=e=>"reset"===e||"none"===e,Zi=(e,t)=>t?e:Object.assign({},e);class Qi{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(e,t){this.chart=e,this._ctx=e.ctx,this.index=t,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=Ui(e.vScale,e),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(e){this.index!==e&&Ki(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,t=this._cachedMeta,n=this.getDataset(),s=(e,t,n,s)=>"x"===e?t:"r"===e?s:n,i=t.xAxisID=sn(n.xAxisID,Gi(e,"x")),a=t.yAxisID=sn(n.yAxisID,Gi(e,"y")),r=t.rAxisID=sn(n.rAxisID,Gi(e,"r")),o=t.indexAxis,d=t.iAxisID=s(o,i,a,r),l=t.vAxisID=s(o,a,i,r);t.xScale=this.getScaleForId(i),t.yScale=this.getScaleForId(a),t.rScale=this.getScaleForId(r),t.iScale=this.getScaleForId(d),t.vScale=this.getScaleForId(l)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){const t=this._cachedMeta;return e===t.iScale?t.vScale:t.iScale}reset(){this._update("reset")}_destroy(){const e=this._cachedMeta;this._data&&Gn(this._data,this),e._stacked&&Ki(e)}_dataCheck(){const e=this.getDataset(),t=e.data||(e.data=[]),n=this._data;if(en(t)){const e=this._cachedMeta;this._data=function(e,t){const{iScale:n,vScale:s}=t,i="x"===n.axis?"x":"y",a="x"===s.axis?"x":"y",r=Object.keys(e),o=new Array(r.length);let d,l,u;for(d=0,l=r.length;d{const t="_onData"+gn(e),n=s[e];Object.defineProperty(s,e,{configurable:!0,enumerable:!1,value(...e){const i=n.apply(this,e);return s._chartjs.listeners.forEach((n=>{"function"==typeof n[t]&&n[t](...e)})),i}})})))),this._syncList=[],this._data=t}var s}addElements(){const e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){const t=this._cachedMeta,n=this.getDataset();let s=!1;this._dataCheck();const i=t._stacked;t._stacked=Ui(t.vScale,t),t.stack!==n.stack&&(s=!0,Ki(t),t.stack=n.stack),this._resyncElements(e),(s||i!==t._stacked)&&(qi(this,t._parsed),t._stacked=Ui(t.vScale,t))}configure(){const e=this.chart.config,t=e.datasetScopeKeys(this._type),n=e.getOptionScopes(this.getDataset(),t,!0);this.options=e.createResolver(n,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,t){const{_cachedMeta:n,_data:s}=this,{iScale:i,_stacked:a}=n,r=i.axis;let o,d,l,u=0===e&&t===s.length||n._sorted,c=e>0&&n._parsed[e-1];if(!1===this._parsing)n._parsed=s,n._sorted=!0,l=s;else{l=Qt(s[e])?this.parseArrayData(n,s,e,t):en(s[e])?this.parseObjectData(n,s,e,t):this.parsePrimitiveData(n,s,e,t);const i=()=>null===d[r]||c&&d[r]e&&!t.hidden&&t._stacked&&{keys:Bi(n,!0),values:null})(t,n,this.chart),d={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:l,max:u}=function(e){const{min:t,max:n,minDefined:s,maxDefined:i}=e.getUserBounds();return{min:s?t:Number.NEGATIVE_INFINITY,max:i?n:Number.POSITIVE_INFINITY}}(r);let c,h;function _(){h=s[c];const t=h[r.axis];return!tn(h[e.axis])||l>t||u=0;--c)if(!_()){this.updateRangeFromParsed(d,e,h,o);break}return d}getAllParsedValues(e){const t=this._cachedMeta._parsed,n=[];let s,i,a;for(s=0,i=t.length;s=0&&ethis.getContext(n,s,t)),u);return _.$shared&&(_.$shared=o,i[a]=Object.freeze(Zi(_,o))),_}_resolveAnimations(e,t,n){const s=this.chart,i=this._cachedDataOpts,a=`animation-${t}`,r=i[a];if(r)return r;let o;if(!1!==s.options.animation){const s=this.chart.config,i=s.datasetAnimationScopeKeys(this._type,t),a=s.getOptionScopes(this.getDataset(),i);o=s.createResolver(a,this.getContext(e,n,t))}const d=new Ni(s,o&&o.animations);return o&&o._cacheable&&(i[a]=Object.freeze(d)),d}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,t){return!t||Xi(e)||this.chart._animationsDisabled}_getSharedOptions(e,t){const n=this.resolveDataElementOptions(e,t),s=this._sharedOptions,i=this.getSharedOptions(n),a=this.includeOptions(t,i)||i!==s;return this.updateSharedOptions(i,t,n),{sharedOptions:i,includeOptions:a}}updateElement(e,t,n,s){Xi(s)?Object.assign(e,n):this._resolveAnimations(t,s).update(e,n)}updateSharedOptions(e,t,n){e&&!Xi(t)&&this._resolveAnimations(void 0,t).update(e,n)}_setStyle(e,t,n,s){e.active=s;const i=this.getStyle(t,s);this._resolveAnimations(t,n,s).update(e,{options:!s&&this.getSharedOptions(i)||i})}removeHoverStyle(e,t,n){this._setStyle(e,n,"active",!1)}setHoverStyle(e,t,n){this._setStyle(e,n,"active",!0)}_removeDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}_setDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}_resyncElements(e){const t=this._data,n=this._cachedMeta.data;for(const[e,t,n]of this._syncList)this[e](t,n);this._syncList=[];const s=n.length,i=t.length,a=Math.min(i,s);a&&this.parse(0,a),i>s?this._insertElements(s,i-s,e):i{for(e.length+=t,r=e.length-1;r>=a;r--)e[r]=e[r-t]};for(o(i),r=e;re-t)))}return e._cache.$bar}(t,e.type);let s,i,a,r,o=t._length;const d=()=>{32767!==a&&-32768!==a&&(yn(r)&&(o=Math.min(o,Math.abs(a-r)||o)),r=a)};for(s=0,i=n.length;sMath.abs(o)&&(d=o,l=r),t[n.axis]=l,t._custom={barStart:d,barEnd:l,start:i,end:a,min:r,max:o}}(e,t,n,s):t[n.axis]=n.parse(e,s),t}function na(e,t,n,s){const i=e.iScale,a=e.vScale,r=i.getLabels(),o=i===a,d=[];let l,u,c,h;for(l=n,u=n+s;le.x,n="left",s="right"):(t=e.base"spacing"!==e,_indexable:e=>"spacing"!==e&&!e.startsWith("borderDash")&&!e.startsWith("hoverBorderDash")};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const t=e.data;if(t.labels.length&&t.datasets.length){const{labels:{pointStyle:n,color:s}}=e.legend.options;return t.labels.map(((t,i)=>{const a=e.getDatasetMeta(0).controller.getStyle(i);return{text:t,fillStyle:a.backgroundColor,strokeStyle:a.borderColor,fontColor:s,lineWidth:a.borderWidth,pointStyle:n,hidden:!e.getDataVisibility(i),index:i}}))}return[]}},onClick(e,t,n){n.chart.toggleDataVisibility(t.index),n.chart.update()}}}};constructor(e,t){super(e,t),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(e,t){const n=this.getDataset().data,s=this._cachedMeta;if(!1===this._parsing)s._parsed=n;else{let i,a,r=e=>+n[e];if(en(n[e])){const{key:e="value"}=this._parsing;r=t=>+pn(n[t],e)}for(i=e,a=e+t;iIn(e,o,d,!0)?1:Math.max(t,t*n,s,s*n),m=(e,t,s)=>In(e,o,d,!0)?-1:Math.min(t,t*n,s,s*n),f=_(0,l,c),p=_(wn,u,h),g=m(bn,l,c),y=m(bn+wn,u,h);s=(f-g)/2,i=(p-y)/2,a=-(f+g)/2,r=-(p+y)/2}return{ratioX:s,ratioY:i,offsetX:a,offsetY:r}}(h,c,o),g=(n.width-a)/_,y=(n.height-a)/m,M=Math.max(Math.min(g,y)/2,0),L=an(this.options.radius,M),b=(L-Math.max(L*o,0))/this._getVisibleDatasetWeightTotal();this.offsetX=f*L,this.offsetY=p*L,s.total=this.calculateTotal(),this.outerRadius=L-b*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-b*u,0),this.updateElements(i,0,i.length,e)}_circumference(e,t){const n=this.options,s=this._cachedMeta,i=this._getCircumference();return t&&n.animation.animateRotate||!this.chart.getDataVisibility(e)||null===s._parsed[e]||s.data[e].hidden?0:this.calculateCircumference(s._parsed[e]*i/Yn)}updateElements(e,t,n,s){const i="reset"===s,a=this.chart,r=a.chartArea,o=a.options.animation,d=(r.left+r.right)/2,l=(r.top+r.bottom)/2,u=i&&o.animateScale,c=u?0:this.innerRadius,h=u?0:this.outerRadius,{sharedOptions:_,includeOptions:m}=this._getSharedOptions(t,s);let f,p=this._getRotation();for(f=0;f0&&!isNaN(e)?Yn*(Math.abs(e)/t):0}getLabelAndValue(e){const t=this._cachedMeta,n=this.chart,s=n.data.labels||[],i=_s(t._parsed[e],n.options.locale);return{label:s[e]||"",value:i}}getMaxBorderWidth(e){let t=0;const n=this.chart;let s,i,a,r,o;if(!e)for(s=0,i=n.data.datasets.length;s{const a=e.getDatasetMeta(0).controller.getStyle(i);return{text:t,fillStyle:a.backgroundColor,strokeStyle:a.borderColor,fontColor:s,lineWidth:a.borderWidth,pointStyle:n,hidden:!e.getDataVisibility(i),index:i}}))}return[]}},onClick(e,t,n){n.chart.toggleDataVisibility(t.index),n.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};constructor(e,t){super(e,t),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(e){const t=this._cachedMeta,n=this.chart,s=n.data.labels||[],i=_s(t._parsed[e].r,n.options.locale);return{label:s[e]||"",value:i}}parseObjectData(e,t,n,s){return ri.bind(this)(e,t,n,s)}update(e){const t=this._cachedMeta.data;this._updateRadius(),this.updateElements(t,0,t.length,e)}getMinMax(){const e=this._cachedMeta,t={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return e.data.forEach(((e,n)=>{const s=this.getParsed(n).r;!isNaN(s)&&this.chart.getDataVisibility(n)&&(st.max&&(t.max=s))})),t}_updateRadius(){const e=this.chart,t=e.chartArea,n=e.options,s=Math.min(t.right-t.left,t.bottom-t.top),i=Math.max(s/2,0),a=(i-Math.max(n.cutoutPercentage?i/100*n.cutoutPercentage:1,0))/e.getVisibleDatasetCount();this.outerRadius=i-a*this.index,this.innerRadius=this.outerRadius-a}updateElements(e,t,n,s){const i="reset"===s,a=this.chart,r=a.options.animation,o=this._cachedMeta.rScale,d=o.xCenter,l=o.yCenter,u=o.getIndexAngle(0)-.5*bn;let c,h=u;const _=360/this.countVisibleElements();for(c=0;c{!isNaN(this.getParsed(n).r)&&this.chart.getDataVisibility(n)&&t++})),t}_computeAngle(e,t,n){return this.chart.getDataVisibility(e)?An(this.resolveDataElementOptions(e,t).angle||n):0}}var ua=Object.freeze({__proto__:null,BarController:class extends Qi{static id="bar";static defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}};static overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};parsePrimitiveData(e,t,n,s){return na(e,t,n,s)}parseArrayData(e,t,n,s){return na(e,t,n,s)}parseObjectData(e,t,n,s){const{iScale:i,vScale:a}=e,{xAxisKey:r="x",yAxisKey:o="y"}=this._parsing,d="x"===i.axis?r:o,l="x"===a.axis?r:o,u=[];let c,h,_,m;for(c=n,h=n+s;ce.controller.options.grouped)),i=n.options.stacked,a=[],r=this._cachedMeta.controller.getParsed(t),o=r&&r[n.axis],d=e=>{const t=e._parsed.find((e=>e[n.axis]===o)),s=t&&t[e.vScale.axis];if(Zt(s)||isNaN(s))return!0};for(const n of s)if((void 0===t||!d(n))&&((!1===i||-1===a.indexOf(n.stack)||void 0===i&&void 0===n.stack)&&a.push(n.stack),n.index===e))break;return a.length||a.push(void 0),a}_getStackCount(e){return this._getStacks(void 0,e).length}_getStackIndex(e,t,n){const s=this._getStacks(e,n),i=void 0!==t?s.indexOf(t):-1;return-1===i?s.length-1:i}_getRuler(){const e=this.options,t=this._cachedMeta,n=t.iScale,s=[];let i,a;for(i=0,a=t.data.length;i=n?1:-1)}(c,t,r)*a,h===r&&(p-=c/2);const e=t.getPixelForDecimal(0),i=t.getPixelForDecimal(1),d=Math.min(e,i),_=Math.max(e,i);p=Math.max(Math.min(p,_),d),u=p+c,n&&!l&&(o._stacks[t.axis]._visualValues[s]=t.getValueForPixel(u)-t.getValueForPixel(p))}if(p===t.getPixelForValue(r)){const e=Hn(c)*t.getLineWidthForValue(r)/2;p+=e,c-=e}return{size:c,base:p,head:u,center:u+c/2}}_calculateBarIndexPixels(e,t){const n=t.scale,s=this.options,i=s.skipNull,a=sn(s.maxBarThickness,1/0);let r,o;if(t.grouped){const n=i?this._getStackCount(e):t.stackCount,d="flex"===s.barThickness?function(e,t,n,s){const i=t.pixels,a=i[e];let r=e>0?i[e-1]:null,o=e=0;--n)t=Math.max(t,e[n].size(this.resolveDataElementOptions(n))/2);return t>0&&t}getLabelAndValue(e){const t=this._cachedMeta,n=this.chart.data.labels||[],{xScale:s,yScale:i}=t,a=this.getParsed(e),r=s.getLabelForValue(a.x),o=i.getLabelForValue(a.y),d=a._custom;return{label:n[e]||"",value:"("+r+", "+o+(d?", "+d:"")+")"}}update(e){const t=this._cachedMeta.data;this.updateElements(t,0,t.length,e)}updateElements(e,t,n,s){const i="reset"===s,{iScale:a,vScale:r}=this._cachedMeta,{sharedOptions:o,includeOptions:d}=this._getSharedOptions(t,s),l=a.axis,u=r.axis;for(let c=t;c0&&this.getParsed(t-1);for(let n=0;n=g){y.skip=!0;continue}const L=this.getParsed(n),b=Zt(L[h]),Y=y[c]=a.getPixelForValue(L[c],n),k=y[h]=i||b?r.getBasePixel():r.getPixelForValue(o?this.applyStack(r,L,o):L[h],n);y.skip=isNaN(Y)||isNaN(k)||b,y.stop=n>0&&Math.abs(L[c]-M[c])>f,m&&(y.parsed=L,y.raw=d.data[n]),u&&(y.options=l||this.resolveDataElementOptions(n,_.active?"active":s)),p||this.updateElement(_,n,y,s),M=L}}getMaxOverflow(){const e=this._cachedMeta,t=e.dataset,n=t.options&&t.options.borderWidth||0,s=e.data||[];if(!s.length)return n;const i=s[0].size(this.resolveDataElementOptions(0)),a=s[s.length-1].size(this.resolveDataElementOptions(s.length-1));return Math.max(n,i,a)/2}draw(){const e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}},PieController:class extends da{static id="pie";static defaults={cutout:0,rotation:0,circumference:360,radius:"100%"}},PolarAreaController:la,RadarController:class extends Qi{static id="radar";static defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}};static overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};getLabelAndValue(e){const t=this._cachedMeta.vScale,n=this.getParsed(e);return{label:t.getLabels()[e],value:""+t.getLabelForValue(n[t.axis])}}parseObjectData(e,t,n,s){return ri.bind(this)(e,t,n,s)}update(e){const t=this._cachedMeta,n=t.dataset,s=t.data||[],i=t.iScale.getLabels();if(n.points=s,"resize"!==e){const t=this.resolveDatasetElementOptions(e);this.options.showLine||(t.borderWidth=0);const a={_loop:!0,_fullLoop:i.length===s.length,options:t};this.updateElement(n,void 0,a,e)}this.updateElements(s,0,s.length,e)}updateElements(e,t,n,s){const i=this._cachedMeta.rScale,a="reset"===s;for(let r=t;r0&&this.getParsed(t-1);for(let l=t;l0&&Math.abs(n[h]-y[h])>p,f&&(m.parsed=n,m.raw=d.data[l]),c&&(m.options=u||this.resolveDataElementOptions(l,t.active?"active":s)),g||this.updateElement(t,l,m,s),y=n}this.updateSharedOptions(u,s,l)}getMaxOverflow(){const e=this._cachedMeta,t=e.data||[];if(!this.options.showLine){let e=0;for(let n=t.length-1;n>=0;--n)e=Math.max(e,t[n].size(this.resolveDataElementOptions(n))/2);return e>0&&e}const n=e.dataset,s=n.options&&n.options.borderWidth||0;if(!t.length)return s;const i=t[0].size(this.resolveDataElementOptions(0)),a=t[t.length-1].size(this.resolveDataElementOptions(t.length-1));return Math.max(s,i,a)/2}}});function ca(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class ha{static override(e){Object.assign(ha.prototype,e)}options;constructor(e){this.options=e||{}}init(){}formats(){return ca()}parse(){return ca()}format(){return ca()}add(){return ca()}diff(){return ca()}startOf(){return ca()}endOf(){return ca()}}var _a=ha;function ma(e,t,n,s){const{controller:i,data:a,_sorted:r}=e,o=i._cachedMeta.iScale;if(o&&t===o.axis&&"r"!==t&&r&&a.length){const e=o._reversePixels?$n:Jn;if(!s)return e(a,t,n);if(i._sharedOptions){const s=a[0],i="function"==typeof s.getRange&&s.getRange(t);if(i){const s=e(a,t,n-i),r=e(a,t,n+i);return{lo:s.lo,hi:r.hi}}}}return{lo:0,hi:a.length-1}}function fa(e,t,n,s,i){const a=e.getSortedVisibleDatasetMetas(),r=n[t];for(let e=0,n=a.length;e{e[r]&&e[r](t[n],i)&&(a.push({element:e,datasetIndex:s,index:d}),o=o||e.inRange(t.x,t.y,i))})),s&&!o?[]:a}var Ma={evaluateInteractionItems:fa,modes:{index(e,t,n,s){const i=Mi(t,e),a=n.axis||"x",r=n.includeInvisible||!1,o=n.intersect?pa(e,i,a,s,r):ga(e,i,a,!1,s,r),d=[];return o.length?(e.getSortedVisibleDatasetMetas().forEach((e=>{const t=o[0].index,n=e.data[t];n&&!n.skip&&d.push({element:n,datasetIndex:e.index,index:t})})),d):[]},dataset(e,t,n,s){const i=Mi(t,e),a=n.axis||"xy",r=n.includeInvisible||!1;let o=n.intersect?pa(e,i,a,s,r):ga(e,i,a,!1,s,r);if(o.length>0){const t=o[0].datasetIndex,n=e.getDatasetMeta(t).data;o=[];for(let e=0;epa(e,Mi(t,e),n.axis||"xy",s,n.includeInvisible||!1),nearest(e,t,n,s){const i=Mi(t,e),a=n.axis||"xy",r=n.includeInvisible||!1;return ga(e,i,a,n.intersect,s,r)},x:(e,t,n,s)=>ya(e,Mi(t,e),"x",n.intersect,s),y:(e,t,n,s)=>ya(e,Mi(t,e),"y",n.intersect,s)}};const La=["left","top","right","bottom"];function ba(e,t){return e.filter((e=>e.pos===t))}function Ya(e,t){return e.filter((e=>-1===La.indexOf(e.pos)&&e.box.axis===t))}function ka(e,t){return e.sort(((e,n)=>{const s=t?n:e,i=t?e:n;return s.weight===i.weight?s.index-i.index:s.weight-i.weight}))}function Da(e,t,n,s){return Math.max(e[n],t[n])+Math.max(e[s],t[s])}function va(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function wa(e,t,n,s){const{pos:i,box:a}=n,r=e.maxPadding;if(!en(i)){n.size&&(e[i]-=n.size);const t=s[n.stack]||{size:0,count:1};t.size=Math.max(t.size,n.horizontal?a.height:a.width),n.size=t.size/t.count,e[i]+=n.size}a.getPadding&&va(r,a.getPadding());const o=Math.max(0,t.outerWidth-Da(r,e,"left","right")),d=Math.max(0,t.outerHeight-Da(r,e,"top","bottom")),l=o!==e.w,u=d!==e.h;return e.w=o,e.h=d,n.horizontal?{same:l,other:u}:{same:u,other:l}}function xa(e,t){const n=t.maxPadding;return function(e){const s={left:0,top:0,right:0,bottom:0};return e.forEach((e=>{s[e]=Math.max(t[e],n[e])})),s}(e?["left","right"]:["top","bottom"])}function Ta(e,t,n,s){const i=[];let a,r,o,d,l,u;for(a=0,r=e.length,l=0;ae.box.fullSize)),!0),s=ka(ba(t,"left"),!0),i=ka(ba(t,"right")),a=ka(ba(t,"top"),!0),r=ka(ba(t,"bottom")),o=Ya(t,"x"),d=Ya(t,"y");return{fullSize:n,leftAndTop:s.concat(a),rightAndBottom:i.concat(d).concat(r).concat(o),chartArea:ba(t,"chartArea"),vertical:s.concat(i).concat(d),horizontal:a.concat(r).concat(o)}}(e.boxes),d=o.vertical,l=o.horizontal;on(e.boxes,(e=>{"function"==typeof e.beforeLayout&&e.beforeLayout()}));const u=d.reduce(((e,t)=>t.box.options&&!1===t.box.options.display?e:e+1),0)||1,c=Object.freeze({outerWidth:t,outerHeight:n,padding:i,availableWidth:a,availableHeight:r,vBoxMaxWidth:a/2/u,hBoxMaxHeight:r/2}),h=Object.assign({},i);va(h,Bs(s));const _=Object.assign({maxPadding:h,w:a,h:r,x:i.left,y:i.top},i),m=function(e,t){const n=function(e){const t={};for(const n of e){const{stack:e,pos:s,stackWeight:i}=n;if(!e||!La.includes(s))continue;const a=t[e]||(t[e]={count:0,placed:0,weight:0,size:0});a.count++,a.weight+=i}return t}(e),{vBoxMaxWidth:s,hBoxMaxHeight:i}=t;let a,r,o;for(a=0,r=e.length;a{const n=t.box;Object.assign(n,e.chartArea),n.update(_.w,_.h,{left:0,top:0,right:0,bottom:0})}))}};class Oa{acquireContext(e,t){}releaseContext(e){return!1}addEventListener(e,t,n){}removeEventListener(e,t,n){}getDevicePixelRatio(){return 1}getMaximumSize(e,t,n,s){return t=Math.max(0,t||e.width),n=n||e.height,{width:t,height:Math.max(0,s?Math.floor(t/s):n)}}isAttached(e){return!0}updateConfig(e){}}class Pa extends Oa{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const Ea="$chartjs",Aa={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},Ca=e=>null===e||""===e,Ra=!!Yi&&{passive:!0};function Fa(e,t,n){e&&e.canvas&&e.canvas.removeEventListener(t,n,Ra)}function Wa(e,t){for(const n of e)if(n===t||n.contains(t))return!0}function za(e,t,n){const s=e.canvas,i=new MutationObserver((e=>{let t=!1;for(const n of e)t=t||Wa(n.addedNodes,s),t=t&&!Wa(n.removedNodes,s);t&&n()}));return i.observe(document,{childList:!0,subtree:!0}),i}function Na(e,t,n){const s=e.canvas,i=new MutationObserver((e=>{let t=!1;for(const n of e)t=t||Wa(n.removedNodes,s),t=t&&!Wa(n.addedNodes,s);t&&n()}));return i.observe(document,{childList:!0,subtree:!0}),i}const Ia=new Map;let Ba=0;function Va(){const e=window.devicePixelRatio;e!==Ba&&(Ba=e,Ia.forEach(((t,n)=>{n.currentDevicePixelRatio!==e&&t()})))}function Ua(e,t,n){const s=e.canvas,i=s&&mi(s);if(!i)return;const a=Zn(((e,t)=>{const s=i.clientWidth;n(e,t),s{const t=e[0],n=t.contentRect.width,s=t.contentRect.height;0===n&&0===s||a(n,s)}));return r.observe(i),function(e,t){Ia.size||window.addEventListener("resize",Va),Ia.set(e,t)}(e,a),r}function Ja(e,t,n){n&&n.disconnect(),"resize"===t&&function(e){Ia.delete(e),Ia.size||window.removeEventListener("resize",Va)}(e)}function $a(e,t,n){const s=e.canvas,i=Zn((t=>{null!==e.ctx&&n(function(e,t){const n=Aa[e.type]||e.type,{x:s,y:i}=Mi(e,t);return{type:n,chart:t,native:e,x:void 0!==s?s:null,y:void 0!==i?i:null}}(t,e))}),e);return function(e,t,n){e&&e.addEventListener(t,n,Ra)}(s,t,i),i}class qa extends Oa{acquireContext(e,t){const n=e&&e.getContext&&e.getContext("2d");return n&&n.canvas===e?(function(e,t){const n=e.style,s=e.getAttribute("height"),i=e.getAttribute("width");if(e[Ea]={initial:{height:s,width:i,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",Ca(i)){const t=ki(e,"width");void 0!==t&&(e.width=t)}if(Ca(s))if(""===e.style.height)e.height=e.width/(t||2);else{const t=ki(e,"height");void 0!==t&&(e.height=t)}}(e,t),n):null}releaseContext(e){const t=e.canvas;if(!t[Ea])return!1;const n=t[Ea].initial;["height","width"].forEach((e=>{const s=n[e];Zt(s)?t.removeAttribute(e):t.setAttribute(e,s)}));const s=n.style||{};return Object.keys(s).forEach((e=>{t.style[e]=s[e]})),t.width=t.width,delete t[Ea],!0}addEventListener(e,t,n){this.removeEventListener(e,t);const s=e.$proxies||(e.$proxies={}),i={attach:za,detach:Na,resize:Ua}[t]||$a;s[t]=i(e,t,n)}removeEventListener(e,t){const n=e.$proxies||(e.$proxies={}),s=n[t];s&&(({attach:Ja,detach:Ja,resize:Ja}[t]||Fa)(e,t,s),n[t]=void 0)}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,t,n,s){return function(e,t,n,s){const i=pi(e),a=yi(i,"margin"),r=fi(i.maxWidth,e,"clientWidth")||Dn,o=fi(i.maxHeight,e,"clientHeight")||Dn,d=function(e,t,n){let s,i;if(void 0===t||void 0===n){const a=e&&mi(e);if(a){const e=a.getBoundingClientRect(),r=pi(a),o=yi(r,"border","width"),d=yi(r,"padding");t=e.width-d.width-o.width,n=e.height-d.height-o.height,s=fi(r.maxWidth,a,"clientWidth"),i=fi(r.maxHeight,a,"clientHeight")}else t=e.clientWidth,n=e.clientHeight}return{width:t,height:n,maxWidth:s||Dn,maxHeight:i||Dn}}(e,t,n);let{width:l,height:u}=d;if("content-box"===i.boxSizing){const e=yi(i,"border","width"),t=yi(i,"padding");l-=t.width+e.width,u-=t.height+e.height}return l=Math.max(0,l-a.width),u=Math.max(0,s?l/s:u-a.height),l=Li(Math.min(l,r,d.maxWidth)),u=Li(Math.min(u,o,d.maxHeight)),l&&!u&&(u=Li(l/2)),(void 0!==t||void 0!==n)&&s&&d.height&&u>d.height&&(u=d.height,l=Li(Math.floor(u*s))),{width:l,height:u}}(e,t,n,s)}isAttached(e){const t=e&&mi(e);return!(!t||!t.isConnected)}}class Ga{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(e){const{x:t,y:n}=this.getProps(["x","y"],e);return{x:t,y:n}}hasValue(){return Pn(this.x)&&Pn(this.y)}getProps(e,t){const n=this.$animations;if(!t||!n)return this;const s={};return e.forEach((e=>{s[e]=n[e]&&n[e].active()?n[e]._to:this[e]})),s}}function Ka(e,t,n,s,i){const a=sn(s,0),r=Math.min(sn(i,e.length),e.length);let o,d,l,u=0;for(n=Math.ceil(n),i&&(o=i-s,n=o/Math.floor(o/n)),l=a;l<0;)u++,l=Math.round(a+u*n);for(d=Math.max(a,0);d"top"===t||"left"===t?e[t]+n:e[t]-n,Za=(e,t)=>Math.min(t||e,e);function Qa(e,t){const n=[],s=e.length/t,i=e.length;let a=0;for(;ar+o)))return l}function tr(e){return e.drawTicks?e.tickLength:0}function nr(e,t){if(!e.display)return 0;const n=Vs(e.font,t),s=Bs(e.padding);return(Qt(e.text)?e.text.length:1)*n.lineHeight+s.height}function sr(e,t,n){let s=Qn(e);return(n&&"right"!==t||!n&&"right"===t)&&(s=(e=>"left"===e?"right":"right"===e?"left":e)(s)),s}class ir extends Ga{constructor(e){super(),this.id=e.id,this.type=e.type,this.options=void 0,this.ctx=e.ctx,this.chart=e.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(e){this.options=e.setContext(this.getContext()),this.axis=e.axis,this._userMin=this.parse(e.min),this._userMax=this.parse(e.max),this._suggestedMin=this.parse(e.suggestedMin),this._suggestedMax=this.parse(e.suggestedMax)}parse(e,t){return e}getUserBounds(){let{_userMin:e,_userMax:t,_suggestedMin:n,_suggestedMax:s}=this;return e=nn(e,Number.POSITIVE_INFINITY),t=nn(t,Number.NEGATIVE_INFINITY),n=nn(n,Number.POSITIVE_INFINITY),s=nn(s,Number.NEGATIVE_INFINITY),{min:nn(e,n),max:nn(t,s),minDefined:tn(e),maxDefined:tn(t)}}getMinMax(e){let t,{min:n,max:s,minDefined:i,maxDefined:a}=this.getUserBounds();if(i&&a)return{min:n,max:s};const r=this.getMatchingVisibleMetas();for(let o=0,d=r.length;os?s:n,s=i&&n>s?n:s,{min:nn(n,nn(s,n)),max:nn(s,nn(n,s))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}getLabelItems(e=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(e))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){rn(this.options.beforeUpdate,[this])}update(e,t,n){const{beginAtZero:s,grace:i,ticks:a}=this.options,r=a.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=t,this._margins=n=Object.assign({left:0,right:0,top:0,bottom:0},n),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+n.left+n.right:this.height+n.top+n.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=function(e,t,n){const{min:s,max:i}=e,a=an(t,(i-s)/2),r=(e,t)=>n&&0===e?0:e+t;return{min:r(s,-Math.abs(a)),max:r(i,a)}}(this,i,s),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const o=ri)return function(e,t,n,s){let i,a=0,r=n[0];for(s=Math.ceil(s),i=0;ie-t)).pop(),t}(s);for(let e=0,t=a.length-1;ei)return t}return Math.max(i,1)}(a,t,i);if(r>0){let e,n;const s=r>1?Math.round((d-o)/(r-1)):null;for(Ka(t,l,u,Zt(s)?0:o-s,o),e=0,n=r-1;e=i||n<=1||!this.isHorizontal())return void(this.labelRotation=s);const l=this._getLabelSizes(),u=l.widest.width,c=l.highest.height,h=Bn(this.chart.width-u,0,this.maxWidth);a=e.offset?this.maxWidth/n:h/(n-1),u+6>a&&(a=h/(n-(e.offset?.5:1)),r=this.maxHeight-tr(e.grid)-t.padding-nr(e.title,this.chart.options.font),o=Math.sqrt(u*u+c*c),d=Cn(Math.min(Math.asin(Bn((l.highest.height+6)/a,-1,1)),Math.asin(Bn(r/o,-1,1))-Math.asin(Bn(c/o,-1,1)))),d=Math.max(s,Math.min(i,d))),this.labelRotation=d}afterCalculateLabelRotation(){rn(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){rn(this.options.beforeFit,[this])}fit(){const e={width:0,height:0},{chart:t,options:{ticks:n,title:s,grid:i}}=this,a=this._isVisible(),r=this.isHorizontal();if(a){const a=nr(s,t.options.font);if(r?(e.width=this.maxWidth,e.height=tr(i)+a):(e.height=this.maxHeight,e.width=tr(i)+a),n.display&&this.ticks.length){const{first:t,last:s,widest:i,highest:a}=this._getLabelSizes(),o=2*n.padding,d=An(this.labelRotation),l=Math.cos(d),u=Math.sin(d);if(r){const t=n.mirror?0:u*i.width+l*a.height;e.height=Math.min(this.maxHeight,e.height+t+o)}else{const t=n.mirror?0:l*i.width+u*a.height;e.width=Math.min(this.maxWidth,e.width+t+o)}this._calculatePadding(t,s,u,l)}}this._handleMargins(),r?(this.width=this._length=t.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=t.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,t,n,s){const{ticks:{align:i,padding:a},position:r}=this.options,o=0!==this.labelRotation,d="top"!==r&&"x"===this.axis;if(this.isHorizontal()){const r=this.getPixelForTick(0)-this.left,l=this.right-this.getPixelForTick(this.ticks.length-1);let u=0,c=0;o?d?(u=s*e.width,c=n*t.height):(u=n*e.height,c=s*t.width):"start"===i?c=t.width:"end"===i?u=e.width:"inner"!==i&&(u=e.width/2,c=t.width/2),this.paddingLeft=Math.max((u-r+a)*this.width/(this.width-r),0),this.paddingRight=Math.max((c-l+a)*this.width/(this.width-l),0)}else{let n=t.height/2,s=e.height/2;"start"===i?(n=0,s=e.height):"end"===i&&(n=t.height,s=0),this.paddingTop=n+a,this.paddingBottom=s+a}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){rn(this.options.afterFit,[this])}isHorizontal(){const{axis:e,position:t}=this.options;return"top"===t||"bottom"===t||"x"===e}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){let t,n;for(this.beforeTickToLabelConversion(),this.generateTickLabels(e),t=0,n=e.length;t{const n=e.gc,s=n.length/2;let i;if(s>t){for(i=0;i({width:a[e]||0,height:r[e]||0});return{first:k(0),last:k(t-1),widest:k(b),highest:k(Y),widths:a,heights:r}}getLabelForValue(e){return e}getPixelForValue(e,t){return NaN}getValueForPixel(e){}getPixelForTick(e){const t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);const t=this._startPixel+e*this._length;return Bn(this._alignToPixels?Ds(this.chart,t,0):t,-32768,32767)}getDecimalForPixel(e){const t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:e,max:t}=this;return e<0&&t<0?t:e>0&&t>0?e:0}getContext(e){const t=this.ticks||[];if(e>=0&&er*s?r/n:o/s:o*s0}_computeGridLineItems(e){const t=this.axis,n=this.chart,s=this.options,{grid:i,position:a,border:r}=s,o=i.offset,d=this.isHorizontal(),l=this.ticks.length+(o?1:0),u=tr(i),c=[],h=r.setContext(this.getContext()),_=h.display?h.width:0,m=_/2,f=function(e){return Ds(n,e,_)};let p,g,y,M,L,b,Y,k,D,v,w,x;if("top"===a)p=f(this.bottom),b=this.bottom-u,k=p-m,v=f(e.top)+m,x=e.bottom;else if("bottom"===a)p=f(this.top),v=e.top,x=f(e.bottom)-m,b=p+m,k=this.top+u;else if("left"===a)p=f(this.right),L=this.right-u,Y=p-m,D=f(e.left)+m,w=e.right;else if("right"===a)p=f(this.left),D=e.left,w=f(e.right)-m,L=p+m,Y=this.left+u;else if("x"===t){if("center"===a)p=f((e.top+e.bottom)/2+.5);else if(en(a)){const e=Object.keys(a)[0],t=a[e];p=f(this.chart.scales[e].getPixelForValue(t))}v=e.top,x=e.bottom,b=p+m,k=b+u}else if("y"===t){if("center"===a)p=f((e.left+e.right)/2);else if(en(a)){const e=Object.keys(a)[0],t=a[e];p=f(this.chart.scales[e].getPixelForValue(t))}L=p-m,Y=L-u,D=e.left,w=e.right}const T=sn(s.ticks.maxTicksLimit,l),S=Math.max(1,Math.ceil(l/T));for(g=0;g0&&(a-=s/2)}c={left:a,top:i,width:s+t.width,height:n+t.height,color:e.backdropColor}}f.push({label:M,font:D,textOffset:x,options:{rotation:m,color:n,strokeColor:o,strokeWidth:l,textAlign:h,textBaseline:T,translation:[L,b],backdrop:c}})}return f}_getXAxisLabelAlignment(){const{position:e,ticks:t}=this.options;if(-An(this.labelRotation))return"top"===e?"left":"right";let n="center";return"start"===t.align?n="left":"end"===t.align?n="right":"inner"===t.align&&(n="inner"),n}_getYAxisLabelAlignment(e){const{position:t,ticks:{crossAlign:n,mirror:s,padding:i}}=this.options,a=e+i,r=this._getLabelSizes().widest.width;let o,d;return"left"===t?s?(d=this.right+i,"near"===n?o="left":"center"===n?(o="center",d+=r/2):(o="right",d+=r)):(d=this.right-a,"near"===n?o="right":"center"===n?(o="center",d-=r/2):(o="left",d=this.left)):"right"===t?s?(d=this.left+i,"near"===n?o="right":"center"===n?(o="center",d-=r/2):(o="left",d-=r)):(d=this.left+a,"near"===n?o="left":"center"===n?(o="center",d+=r/2):(o="right",d=this.right)):o="right",{textAlign:o,x:d}}_computeLabelArea(){if(this.options.ticks.mirror)return;const e=this.chart,t=this.options.position;return"left"===t||"right"===t?{top:0,left:this.left,bottom:e.height,right:this.right}:"top"===t||"bottom"===t?{top:this.top,left:0,bottom:this.bottom,right:e.width}:void 0}drawBackground(){const{ctx:e,options:{backgroundColor:t},left:n,top:s,width:i,height:a}=this;t&&(e.save(),e.fillStyle=t,e.fillRect(n,s,i,a),e.restore())}getLineWidthForValue(e){const t=this.options.grid;if(!this._isVisible()||!t.display)return 0;const n=this.ticks.findIndex((t=>t.value===e));return n>=0?t.setContext(this.getContext(n)).lineWidth:0}drawGrid(e){const t=this.options.grid,n=this.ctx,s=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e));let i,a;const r=(e,t,s)=>{s.width&&s.color&&(n.save(),n.lineWidth=s.width,n.strokeStyle=s.color,n.setLineDash(s.borderDash||[]),n.lineDashOffset=s.borderDashOffset,n.beginPath(),n.moveTo(e.x,e.y),n.lineTo(t.x,t.y),n.stroke(),n.restore())};if(t.display)for(i=0,a=s.length;i{this.drawBackground(),this.drawGrid(e),this.drawTitle()}},{z:s,draw:()=>{this.drawBorder()}},{z:t,draw:e=>{this.drawLabels(e)}}]:[{z:t,draw:e=>{this.draw(e)}}]}getMatchingVisibleMetas(e){const t=this.chart.getSortedVisibleDatasetMetas(),n=this.axis+"AxisID",s=[];let i,a;for(i=0,a=t.length;i{const s=n.split("."),i=s.pop(),a=[e].concat(s).join("."),r=t[n].split("."),o=r.pop(),d=r.join(".");bs.route(a,i,d,o)}))}(t,e.defaultRoutes),e.descriptors&&bs.describe(t,e.descriptors)}(e,a,n),this.override&&bs.override(e.id,e.overrides)),a}get(e){return this.items[e]}unregister(e){const t=this.items,n=e.id,s=this.scope;n in t&&delete t[n],s&&n in bs[s]&&(delete bs[s][n],this.override&&delete ps[n])}}class rr{constructor(){this.controllers=new ar(Qi,"datasets",!0),this.elements=new ar(Ga,"elements"),this.plugins=new ar(Object,"plugins"),this.scales=new ar(ir,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each("register",e)}remove(...e){this._each("unregister",e)}addControllers(...e){this._each("register",e,this.controllers)}addElements(...e){this._each("register",e,this.elements)}addPlugins(...e){this._each("register",e,this.plugins)}addScales(...e){this._each("register",e,this.scales)}getController(e){return this._get(e,this.controllers,"controller")}getElement(e){return this._get(e,this.elements,"element")}getPlugin(e){return this._get(e,this.plugins,"plugin")}getScale(e){return this._get(e,this.scales,"scale")}removeControllers(...e){this._each("unregister",e,this.controllers)}removeElements(...e){this._each("unregister",e,this.elements)}removePlugins(...e){this._each("unregister",e,this.plugins)}removeScales(...e){this._each("unregister",e,this.scales)}_each(e,t,n){[...t].forEach((t=>{const s=n||this._getRegistryForType(t);n||s.isForType(t)||s===this.plugins&&t.id?this._exec(e,s,t):on(t,(t=>{const s=n||this._getRegistryForType(t);this._exec(e,s,t)}))}))}_exec(e,t,n){const s=gn(e);rn(n["before"+s],[],n),t[e](n),rn(n["after"+s],[],n)}_getRegistryForType(e){for(let t=0;te.filter((e=>!t.some((t=>e.plugin.id===t.plugin.id))));this._notify(s(t,n),e,"stop"),this._notify(s(n,t),e,"start")}}function lr(e,t){return t||!1!==e?!0===e?{}:e:null}function ur(e,{plugin:t,local:n},s,i){const a=e.pluginScopeKeys(t),r=e.getOptionScopes(s,a);return n&&t.defaults&&r.push(t.defaults),e.createResolver(r,i,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function cr(e,t){const n=bs.datasets[e]||{};return((t.datasets||{})[e]||{}).indexAxis||t.indexAxis||n.indexAxis||"x"}function hr(e){if("x"===e||"y"===e||"r"===e)return e}function _r(e,...t){if(hr(e))return e;for(const s of t){const t=s.axis||("top"===(n=s.position)||"bottom"===n?"x":"left"===n||"right"===n?"y":void 0)||e.length>1&&hr(e[0].toLowerCase());if(t)return t}var n;throw new Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function mr(e,t,n){if(n[t+"AxisID"]===e)return{axis:t}}function fr(e){const t=e.options||(e.options={});t.plugins=sn(t.plugins,{}),t.scales=function(e,t){const n=ps[e.type]||{scales:{}},s=t.scales||{},i=cr(e.type,t),a=Object.create(null);return Object.keys(s).forEach((t=>{const r=s[t];if(!en(r))return console.error(`Invalid scale configuration for scale: ${t}`);if(r._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${t}`);const o=_r(t,r,function(e,t){if(t.data&&t.data.datasets){const n=t.data.datasets.filter((t=>t.xAxisID===e||t.yAxisID===e));if(n.length)return mr(e,"x",n[0])||mr(e,"y",n[0])}return{}}(t,e),bs.scales[r.type]),d=function(e,t){return e===t?"_index_":"_value_"}(o,i),l=n.scales||{};a[t]=_n(Object.create(null),[{axis:o},r,l[o],l[d]])})),e.data.datasets.forEach((n=>{const i=n.type||e.type,r=n.indexAxis||cr(i,t),o=(ps[i]||{}).scales||{};Object.keys(o).forEach((e=>{const t=function(e,t){let n=e;return"_index_"===e?n=t:"_value_"===e&&(n="x"===t?"y":"x"),n}(e,r),i=n[t+"AxisID"]||t;a[i]=a[i]||Object.create(null),_n(a[i],[{axis:t},s[i],o[e]])}))})),Object.keys(a).forEach((e=>{const t=a[e];_n(t,[bs.scales[t.type],bs.scale])})),a}(e,t)}function pr(e){return(e=e||{}).datasets=e.datasets||[],e.labels=e.labels||[],e}const gr=new Map,yr=new Set;function Mr(e,t){let n=gr.get(e);return n||(n=t(),gr.set(e,n),yr.add(n)),n}const Lr=(e,t,n)=>{const s=pn(t,n);void 0!==s&&e.add(s)};class br{constructor(e){this._config=function(e){return(e=e||{}).data=pr(e.data),fr(e),e}(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=pr(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){const e=this._config;this.clearCache(),fr(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return Mr(e,(()=>[[`datasets.${e}`,""]]))}datasetAnimationScopeKeys(e,t){return Mr(`${e}.transition.${t}`,(()=>[[`datasets.${e}.transitions.${t}`,`transitions.${t}`],[`datasets.${e}`,""]]))}datasetElementScopeKeys(e,t){return Mr(`${e}-${t}`,(()=>[[`datasets.${e}.elements.${t}`,`datasets.${e}`,`elements.${t}`,""]]))}pluginScopeKeys(e){const t=e.id;return Mr(`${this.type}-plugin-${t}`,(()=>[[`plugins.${t}`,...e.additionalOptionScopes||[]]]))}_cachedScopes(e,t){const n=this._scopeCache;let s=n.get(e);return s&&!t||(s=new Map,n.set(e,s)),s}getOptionScopes(e,t,n){const{options:s,type:i}=this,a=this._cachedScopes(e,n),r=a.get(t);if(r)return r;const o=new Set;t.forEach((t=>{e&&(o.add(e),t.forEach((t=>Lr(o,e,t)))),t.forEach((e=>Lr(o,s,e))),t.forEach((e=>Lr(o,ps[i]||{},e))),t.forEach((e=>Lr(o,bs,e))),t.forEach((e=>Lr(o,gs,e)))}));const d=Array.from(o);return 0===d.length&&d.push(Object.create(null)),yr.has(t)&&a.set(t,d),d}chartOptionScopes(){const{options:e,type:t}=this;return[e,ps[t]||{},bs.datasets[t]||{},{type:t},bs,gs]}resolveNamedOptions(e,t,n,s=[""]){const i={$shared:!0},{resolver:a,subPrefixes:r}=Yr(this._resolverCache,e,s);let o=a;(function(e,t){const{isScriptable:n,isIndexable:s}=Gs(e);for(const i of t){const t=n(i),a=s(i),r=(a||t)&&e[i];if(t&&(Mn(r)||kr(r))||a&&Qt(r))return!0}return!1})(a,t)&&(i.$shared=!1,o=qs(a,n=Mn(n)?n():n,this.createResolver(e,n,r)));for(const e of t)i[e]=o[e];return i}createResolver(e,t,n=[""],s){const{resolver:i}=Yr(this._resolverCache,e,n);return en(t)?qs(i,t,void 0,s):i}}function Yr(e,t,n){let s=e.get(t);s||(s=new Map,e.set(t,s));const i=n.join();let a=s.get(i);return a||(a={resolver:$s(t,n),subPrefixes:n.filter((e=>!e.toLowerCase().includes("hover")))},s.set(i,a)),a}const kr=e=>en(e)&&Object.getOwnPropertyNames(e).some((t=>Mn(e[t]))),Dr=["top","bottom","left","right","chartArea"];function vr(e,t){return"top"===e||"bottom"===e||-1===Dr.indexOf(e)&&"x"===t}function wr(e,t){return function(n,s){return n[e]===s[e]?n[t]-s[t]:n[e]-s[e]}}function xr(e){const t=e.chart,n=t.options.animation;t.notifyPlugins("afterRender"),rn(n&&n.onComplete,[e],t)}function Tr(e){const t=e.chart,n=t.options.animation;rn(n&&n.onProgress,[e],t)}function Sr(e){return _i()&&"string"==typeof e?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}const Hr={},jr=e=>{const t=Sr(e);return Object.values(Hr).filter((e=>e.canvas===t)).pop()};function Or(e,t,n){const s=Object.keys(e);for(const i of s){const s=+i;if(s>=t){const a=e[i];delete e[i],(n>0||s>t)&&(e[s+n]=a)}}}function Pr(e,t,n){return e.options.clip?e[n]:t[n]}class Er{static defaults=bs;static instances=Hr;static overrides=ps;static registry=or;static version="4.4.7";static getChart=jr;static register(...e){or.add(...e),Ar()}static unregister(...e){or.remove(...e),Ar()}constructor(e,t){const n=this.config=new br(t),s=Sr(e),i=jr(s);if(i)throw new Error("Canvas is already in use. Chart with ID '"+i.id+"' must be destroyed before the canvas with ID '"+i.canvas.id+"' can be reused.");const a=n.createResolver(n.chartOptionScopes(),this.getContext());this.platform=new(n.platform||function(e){return!_i()||"undefined"!=typeof OffscreenCanvas&&e instanceof OffscreenCanvas?Pa:qa}(s)),this.platform.updateConfig(n);const r=this.platform.acquireContext(s,a.aspectRatio),o=r&&r.canvas,d=o&&o.height,l=o&&o.width;this.id=Xt(),this.ctx=r,this.canvas=o,this.width=l,this.height=d,this._options=a,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new dr,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=function(e,t){let n;return function(...s){return t?(clearTimeout(n),n=setTimeout(e,t,s)):e.apply(this,s),t}}((e=>this.update(e)),a.resizeDelay||0),this._dataChanges=[],Hr[this.id]=this,r&&o?(Ri.listen(this,"complete",xr),Ri.listen(this,"progress",Tr),this._initialize(),this.attached&&this.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:e,maintainAspectRatio:t},width:n,height:s,_aspectRatio:i}=this;return Zt(e)?t&&i?i:s?n/s:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}get registry(){return or}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():bi(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return vs(this.canvas,this.ctx),this}stop(){return Ri.stop(this),this}resize(e,t){Ri.running(this)?this._resizeBeforeDraw={width:e,height:t}:this._resize(e,t)}_resize(e,t){const n=this.options,s=this.canvas,i=n.maintainAspectRatio&&this.aspectRatio,a=this.platform.getMaximumSize(s,e,t,i),r=n.devicePixelRatio||this.platform.getDevicePixelRatio(),o=this.width?"resize":"attach";this.width=a.width,this.height=a.height,this._aspectRatio=this.aspectRatio,bi(this,r,!0)&&(this.notifyPlugins("resize",{size:a}),rn(n.onResize,[this,a],this),this.attached&&this._doResize(o)&&this.render())}ensureScalesHaveIDs(){on(this.options.scales||{},((e,t)=>{e.id=t}))}buildOrUpdateScales(){const e=this.options,t=e.scales,n=this.scales,s=Object.keys(n).reduce(((e,t)=>(e[t]=!1,e)),{});let i=[];t&&(i=i.concat(Object.keys(t).map((e=>{const n=t[e],s=_r(e,n),i="r"===s,a="x"===s;return{options:n,dposition:i?"chartArea":a?"bottom":"left",dtype:i?"radialLinear":a?"category":"linear"}})))),on(i,(t=>{const i=t.options,a=i.id,r=_r(a,i),o=sn(i.type,t.dtype);void 0!==i.position&&vr(i.position,r)===vr(t.dposition)||(i.position=t.dposition),s[a]=!0;let d=null;a in n&&n[a].type===o?d=n[a]:(d=new(or.getScale(o))({id:a,type:o,ctx:this.ctx,chart:this}),n[d.id]=d),d.init(i,e)})),on(s,((e,t)=>{e||delete n[t]})),on(n,(e=>{ja.configure(this,e,e.options),ja.addBox(this,e)}))}_updateMetasets(){const e=this._metasets,t=this.data.datasets.length,n=e.length;if(e.sort(((e,t)=>e.index-t.index)),n>t){for(let e=t;et.length&&delete this._stacks,e.forEach(((e,n)=>{0===t.filter((t=>t===e._dataset)).length&&this._destroyDatasetMeta(n)}))}buildOrUpdateControllers(){const e=[],t=this.data.datasets;let n,s;for(this._removeUnreferencedMetasets(),n=0,s=t.length;n{this.getDatasetMeta(t).controller.reset()}),this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(e){const t=this.config;t.update();const n=this._options=t.createResolver(t.chartOptionScopes(),this.getContext()),s=this._animationsDisabled=!n.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0}))return;const i=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let a=0;for(let e=0,t=this.data.datasets.length;e{e.reset()})),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(wr("z","_idx"));const{_active:r,_lastEvent:o}=this;o?this._eventHandler(o,!0):r.length&&this._updateHoverStyles(r,r,!0),this.render()}_updateScales(){on(this.scales,(e=>{ja.removeBox(this,e)})),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,t=new Set(Object.keys(this._listeners)),n=new Set(e.events);Ln(t,n)&&!!this._responsiveListeners===e.responsive||(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:e}=this,t=this._getUniformDataChanges()||[];for(const{method:n,start:s,count:i}of t)Or(e,s,"_removeElements"===n?-i:i)}_getUniformDataChanges(){const e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];const t=this.data.datasets.length,n=t=>new Set(e.filter((e=>e[0]===t)).map(((e,t)=>t+","+e.splice(1).join(",")))),s=n(0);for(let e=1;ee.split(","))).map((e=>({method:e[1],start:+e[2],count:+e[3]})))}_updateLayout(e){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;ja.update(this,this.width,this.height,e);const t=this.chartArea,n=t.width<=0||t.height<=0;this._layers=[],on(this.boxes,(e=>{n&&"chartArea"===e.position||(e.configure&&e.configure(),this._layers.push(...e._layers()))}),this),this._layers.forEach(((e,t)=>{e._idx=t})),this.notifyPlugins("afterLayout")}_updateDatasets(e){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})){for(let e=0,t=this.data.datasets.length;e=0;--t)this._drawDataset(e[t]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(e){const t=this.ctx,n=e._clip,s=!n.disabled,i=function(e,t){const{xScale:n,yScale:s}=e;return n&&s?{left:Pr(n,t,"left"),right:Pr(n,t,"right"),top:Pr(s,t,"top"),bottom:Pr(s,t,"bottom")}:t}(e,this.chartArea),a={meta:e,index:e.index,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetDraw",a)&&(s&&Ss(t,{left:!1===n.left?0:i.left-n.left,right:!1===n.right?this.width:i.right+n.right,top:!1===n.top?0:i.top-n.top,bottom:!1===n.bottom?this.height:i.bottom+n.bottom}),e.controller.draw(),s&&Hs(t),a.cancelable=!1,this.notifyPlugins("afterDatasetDraw",a))}isPointInArea(e){return Ts(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,t,n,s){const i=Ma.modes[t];return"function"==typeof i?i(this,e,n,s):[]}getDatasetMeta(e){const t=this.data.datasets[e],n=this._metasets;let s=n.filter((e=>e&&e._dataset===t)).pop();return s||(s={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:t&&t.order||0,index:e,_dataset:t,_parsed:[],_sorted:!1},n.push(s)),s}getContext(){return this.$context||(this.$context=Js(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){const t=this.data.datasets[e];if(!t)return!1;const n=this.getDatasetMeta(e);return"boolean"==typeof n.hidden?!n.hidden:!t.hidden}setDatasetVisibility(e,t){this.getDatasetMeta(e).hidden=!t}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,t,n){const s=n?"show":"hide",i=this.getDatasetMeta(e),a=i.controller._resolveAnimations(void 0,s);yn(t)?(i.data[t].hidden=!n,this.update()):(this.setDatasetVisibility(e,n),a.update(i,{visible:n}),this.update((t=>t.datasetIndex===e?s:void 0)))}hide(e,t){this._updateVisibility(e,t,!1)}show(e,t){this._updateVisibility(e,t,!0)}_destroyDatasetMeta(e){const t=this._metasets[e];t&&t.controller&&t.controller._destroy(),delete this._metasets[e]}_stop(){let e,t;for(this.stop(),Ri.remove(this),e=0,t=this.data.datasets.length;e{t.addEventListener(this,n,s),e[n]=s},s=(e,t,n)=>{e.offsetX=t,e.offsetY=n,this._eventHandler(e)};on(this.options.events,(e=>n(e,s)))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,t=this.platform,n=(n,s)=>{t.addEventListener(this,n,s),e[n]=s},s=(n,s)=>{e[n]&&(t.removeEventListener(this,n,s),delete e[n])},i=(e,t)=>{this.canvas&&this.resize(e,t)};let a;const r=()=>{s("attach",r),this.attached=!0,this.resize(),n("resize",i),n("detach",a)};a=()=>{this.attached=!1,s("resize",i),this._stop(),this._resize(0,0),n("attach",r)},t.isAttached(this.canvas)?r():a()}unbindEvents(){on(this._listeners,((e,t)=>{this.platform.removeEventListener(this,t,e)})),this._listeners={},on(this._responsiveListeners,((e,t)=>{this.platform.removeEventListener(this,t,e)})),this._responsiveListeners=void 0}updateHoverStyle(e,t,n){const s=n?"set":"remove";let i,a,r,o;for("dataset"===t&&(i=this.getDatasetMeta(e[0].datasetIndex),i.controller["_"+s+"DatasetHoverStyle"]()),r=0,o=e.length;r{const n=this.getDatasetMeta(e);if(!n)throw new Error("No dataset found at index "+e);return{datasetIndex:e,element:n.data[t],index:t}}));!dn(n,t)&&(this._active=n,this._lastEvent=null,this._updateHoverStyles(n,t))}notifyPlugins(e,t,n){return this._plugins.notify(this,e,t,n)}isPluginEnabled(e){return 1===this._plugins._cache.filter((t=>t.plugin.id===e)).length}_updateHoverStyles(e,t,n){const s=this.options.hover,i=(e,t)=>e.filter((e=>!t.some((t=>e.datasetIndex===t.datasetIndex&&e.index===t.index)))),a=i(t,e),r=n?e:i(e,t);a.length&&this.updateHoverStyle(a,s.mode,!1),r.length&&s.mode&&this.updateHoverStyle(r,s.mode,!0)}_eventHandler(e,t){const n={event:e,replay:t,cancelable:!0,inChartArea:this.isPointInArea(e)},s=t=>(t.options.events||this.options.events).includes(e.native.type);if(!1===this.notifyPlugins("beforeEvent",n,s))return;const i=this._handleEvent(e,t,n.inChartArea);return n.cancelable=!1,this.notifyPlugins("afterEvent",n,s),(i||n.changed)&&this.render(),this}_handleEvent(e,t,n){const{_active:s=[],options:i}=this,a=t,r=this._getActiveElements(e,s,n,a),o=function(e){return"mouseup"===e.type||"click"===e.type||"contextmenu"===e.type}(e),d=function(e,t,n,s){return n&&"mouseout"!==e.type?s?t:e:null}(e,this._lastEvent,n,o);n&&(this._lastEvent=null,rn(i.onHover,[e,r,this],this),o&&rn(i.onClick,[e,r,this],this));const l=!dn(r,s);return(l||t)&&(this._active=r,this._updateHoverStyles(r,s,t)),this._lastEvent=d,l}_getActiveElements(e,t,n,s){if("mouseout"===e.type)return[];if(!n)return t;const i=this.options.hover;return this.getElementsAtEventForMode(e,i.mode,i,s)}}function Ar(){return on(Er.instances,(e=>e._plugins.invalidate()))}function Cr(e,t,n,s){return{x:n+e*Math.cos(t),y:s+e*Math.sin(t)}}function Rr(e,t,n,s,i,a){const{x:r,y:o,startAngle:d,pixelMargin:l,innerRadius:u}=t,c=Math.max(t.outerRadius+s+n-l,0),h=u>0?u+s+n+l:0;let _=0;const m=i-d;if(s){const e=((u>0?u-s:0)+(c>0?c-s:0))/2;_=(m-(0!==e?m*e/(e+s):m))/2}const f=(m-Math.max(.001,m*c-n/bn)/c)/2,p=d+f+_,g=i-f-_,{outerStart:y,outerEnd:M,innerStart:L,innerEnd:b}=function(e,t,n,s){const i=zs(e.options.borderRadius,["outerStart","outerEnd","innerStart","innerEnd"]),a=(n-t)/2,r=Math.min(a,s*t/2),o=e=>{const t=(n-Math.min(a,e))*s/2;return Bn(e,0,Math.min(a,t))};return{outerStart:o(i.outerStart),outerEnd:o(i.outerEnd),innerStart:Bn(i.innerStart,0,r),innerEnd:Bn(i.innerEnd,0,r)}}(t,h,c,g-p),Y=c-y,k=c-M,D=p+y/Y,v=g-M/k,w=h+L,x=h+b,T=p+L/w,S=g-b/x;if(e.beginPath(),a){const t=(D+v)/2;if(e.arc(r,o,c,D,t),e.arc(r,o,c,t,v),M>0){const t=Cr(k,v,r,o);e.arc(t.x,t.y,M,v,g+wn)}const n=Cr(x,g,r,o);if(e.lineTo(n.x,n.y),b>0){const t=Cr(x,S,r,o);e.arc(t.x,t.y,b,g+wn,S+Math.PI)}const s=(g-b/h+(p+L/h))/2;if(e.arc(r,o,h,g-b/h,s,!0),e.arc(r,o,h,s,p+L/h,!0),L>0){const t=Cr(w,T,r,o);e.arc(t.x,t.y,L,T+Math.PI,p-wn)}const i=Cr(Y,p,r,o);if(e.lineTo(i.x,i.y),y>0){const t=Cr(Y,D,r,o);e.arc(t.x,t.y,y,p-wn,D)}}else{e.moveTo(r,o);const t=Math.cos(D)*c+r,n=Math.sin(D)*c+o;e.lineTo(t,n);const s=Math.cos(v)*c+r,i=Math.sin(v)*c+o;e.lineTo(s,i)}e.closePath()}function Fr(e,t,n=t){e.lineCap=sn(n.borderCapStyle,t.borderCapStyle),e.setLineDash(sn(n.borderDash,t.borderDash)),e.lineDashOffset=sn(n.borderDashOffset,t.borderDashOffset),e.lineJoin=sn(n.borderJoinStyle,t.borderJoinStyle),e.lineWidth=sn(n.borderWidth,t.borderWidth),e.strokeStyle=sn(n.borderColor,t.borderColor)}function Wr(e,t,n){e.lineTo(n.x,n.y)}function zr(e,t,n={}){const s=e.length,{start:i=0,end:a=s-1}=n,{start:r,end:o}=t,d=Math.max(i,r),l=Math.min(a,o),u=io&&a>o;return{count:s,start:d,loop:t.loop,ilen:l(r+(l?o-e:e))%a,M=()=>{_!==m&&(e.lineTo(p,m),e.lineTo(p,_),e.lineTo(p,f))};for(d&&(c=i[y(0)],e.moveTo(c.x,c.y)),u=0;u<=o;++u){if(c=i[y(u)],c.skip)continue;const t=c.x,n=c.y,s=0|t;s===h?(n<_?_=n:n>m&&(m=n),p=(g*p+t)/++g):(M(),e.lineTo(t,n),h=s,g=0,_=m=n),f=n}M()}function Br(e){const t=e.options,n=t.borderDash&&t.borderDash.length;return e._decimated||e._loop||t.tension||"monotone"===t.cubicInterpolationMode||t.stepped||n?Nr:Ir}const Vr="function"==typeof Path2D;class Ur extends Ga{static id="line";static defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};static descriptors={_scriptable:!0,_indexable:e=>"borderDash"!==e&&"fill"!==e};constructor(e){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,e&&Object.assign(this,e)}updateControlPoints(e,t){const n=this.options;if((n.tension||"monotone"===n.cubicInterpolationMode)&&!n.stepped&&!this._pointsUpdated){const s=n.spanGaps?this._loop:this._fullLoop;hi(this._points,n,e,s,t),this._pointsUpdated=!0}}set points(e){this._points=e,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=function(e,t){const n=e.points,s=e.options.spanGaps,i=n.length;if(!i)return[];const a=!!e._loop,{start:r,end:o}=function(e,t,n,s){let i=0,a=t-1;if(n&&!s)for(;ii&&e[a%t].skip;)a--;return a%=t,{start:i,end:a}}(n,i,a,s);return function(e,t,n,s){return s&&s.setContext&&n?function(e,t,n,s){const i=e._chart.getContext(),a=Ei(e.options),{_datasetIndex:r,options:{spanGaps:o}}=e,d=n.length,l=[];let u=a,c=t[0].start,h=c;function _(e,t,s,i){const a=o?-1:1;if(e!==t){for(e+=d;n[e%d].skip;)e-=a;for(;n[t%d].skip;)t+=a;e%d!=t%d&&(l.push({start:e%d,end:t%d,loop:s,style:i}),u=i,c=t%d)}}for(const e of t){c=o?c:e.start;let t,a=n[c%d];for(h=c+1;h<=e.end;h++){const o=n[h%d];t=Ei(s.setContext(Js(i,{type:"segment",p0:a,p1:o,p0DataIndex:(h-1)%d,p1DataIndex:h%d,datasetIndex:r}))),Ai(t,u)&&_(c,h-1,e.loop,u),a=o,u=t}c"borderDash"!==e};circumference;endAngle;fullCircles;innerRadius;outerRadius;pixelMargin;startAngle;constructor(e){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,e&&Object.assign(this,e)}inRange(e,t,n){const s=this.getProps(["x","y"],n),{angle:i,distance:a}=Fn(s,{x:e,y:t}),{startAngle:r,endAngle:o,innerRadius:d,outerRadius:l,circumference:u}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],n),c=(this.options.spacing+this.options.borderWidth)/2,h=sn(u,o-r),_=In(i,r,o)&&r!==o,m=h>=Yn||_,f=Vn(a,d+c,l+c);return m&&f}getCenterPoint(e){const{x:t,y:n,startAngle:s,endAngle:i,innerRadius:a,outerRadius:r}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],e),{offset:o,spacing:d}=this.options,l=(s+i)/2,u=(a+r+d+o)/2;return{x:t+Math.cos(l)*u,y:n+Math.sin(l)*u}}tooltipPosition(e){return this.getCenterPoint(e)}draw(e){const{options:t,circumference:n}=this,s=(t.offset||0)/4,i=(t.spacing||0)/2,a=t.circular;if(this.pixelMargin="inner"===t.borderAlign?.33:0,this.fullCircles=n>Yn?Math.floor(n/Yn):0,0===n||this.innerRadius<0||this.outerRadius<0)return;e.save();const r=(this.startAngle+this.endAngle)/2;e.translate(Math.cos(r)*s,Math.sin(r)*s);const o=s*(1-Math.sin(Math.min(bn,n||0)));e.fillStyle=t.backgroundColor,e.strokeStyle=t.borderColor,function(e,t,n,s,i){const{fullCircles:a,startAngle:r,circumference:o}=t;let d=t.endAngle;if(a){Rr(e,t,n,s,d,i);for(let t=0;ti?(l=i/d,e.arc(a,r,d,n+l,s-l,!0)):e.arc(a,r,i,n+wn,s-wn),e.closePath(),e.clip()}(e,t,m),a||(Rr(e,t,n,s,m,i),e.stroke())}(e,this,o,i,a),e.restore()}},BarElement:class extends Ga{static id="bar";static defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(e){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,e&&Object.assign(this,e)}draw(e){const{inflateAmount:t,options:{borderColor:n,backgroundColor:s}}=this,{inner:i,outer:a}=function(e){const t=$r(e),n=t.right-t.left,s=t.bottom-t.top,i=function(e,t,n){const s=e.options.borderWidth,i=e.borderSkipped,a=Ns(s);return{t:qr(i.top,a.top,0,n),r:qr(i.right,a.right,0,t),b:qr(i.bottom,a.bottom,0,n),l:qr(i.left,a.left,0,t)}}(e,n/2,s/2),a=function(e,t,n){const{enableBorderRadius:s}=e.getProps(["enableBorderRadius"]),i=e.options.borderRadius,a=Is(i),r=Math.min(t,n),o=e.borderSkipped,d=s||en(i);return{topLeft:qr(!d||o.top||o.left,a.topLeft,0,r),topRight:qr(!d||o.top||o.right,a.topRight,0,r),bottomLeft:qr(!d||o.bottom||o.left,a.bottomLeft,0,r),bottomRight:qr(!d||o.bottom||o.right,a.bottomRight,0,r)}}(e,n/2,s/2);return{outer:{x:t.left,y:t.top,w:n,h:s,radius:a},inner:{x:t.left+i.l,y:t.top+i.t,w:n-i.l-i.r,h:s-i.t-i.b,radius:{topLeft:Math.max(0,a.topLeft-Math.max(i.t,i.l)),topRight:Math.max(0,a.topRight-Math.max(i.t,i.r)),bottomLeft:Math.max(0,a.bottomLeft-Math.max(i.b,i.l)),bottomRight:Math.max(0,a.bottomRight-Math.max(i.b,i.r))}}}}(this),r=(o=a.radius).topLeft||o.topRight||o.bottomLeft||o.bottomRight?Cs:Kr;var o;e.save(),a.w===i.w&&a.h===i.h||(e.beginPath(),r(e,Xr(a,t,i)),e.clip(),r(e,Xr(i,-t,a)),e.fillStyle=n,e.fill("evenodd")),e.beginPath(),r(e,Xr(i,t)),e.fillStyle=s,e.fill(),e.restore()}inRange(e,t,n){return Gr(this,e,t,n)}inXRange(e,t){return Gr(this,e,null,t)}inYRange(e,t){return Gr(this,null,e,t)}getCenterPoint(e){const{x:t,y:n,base:s,horizontal:i}=this.getProps(["x","y","base","horizontal"],e);return{x:i?(t+s)/2:t,y:i?n:(n+s)/2}}getRange(e){return"x"===e?this.width/2:this.height/2}},LineElement:Ur,PointElement:class extends Ga{static id="point";parsed;skip;stop;static defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(e){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,e&&Object.assign(this,e)}inRange(e,t,n){const s=this.options,{x:i,y:a}=this.getProps(["x","y"],n);return Math.pow(e-i,2)+Math.pow(t-a,2)e.replace("rgb(","rgba(").replace(")",", 0.5)")));function to(e){return Qr[e%Qr.length]}function no(e){return eo[e%eo.length]}function so(e){let t;for(t in e)if(e[t].borderColor||e[t].backgroundColor)return!0;return!1}var io={id:"colors",defaults:{enabled:!0,forceOverride:!1},beforeLayout(e,t,n){if(!n.enabled)return;const{data:{datasets:s},options:i}=e.config,{elements:a}=i,r=so(s)||(o=i)&&(o.borderColor||o.backgroundColor)||a&&so(a)||"rgba(0,0,0,0.1)"!==bs.borderColor||"rgba(0,0,0,0.1)"!==bs.backgroundColor;var o;if(!n.forceOverride&&r)return;const d=function(e){let t=0;return(n,s)=>{const i=e.getDatasetMeta(s).controller;i instanceof da?t=function(e,t){return e.backgroundColor=e.data.map((()=>to(t++))),t}(n,t):i instanceof la?t=function(e,t){return e.backgroundColor=e.data.map((()=>no(t++))),t}(n,t):i&&(t=function(e,t){return e.borderColor=to(t),e.backgroundColor=no(t),++t}(n,t))}}(e);s.forEach(d)}};function ao(e){if(e._decimated){const t=e._data;delete e._decimated,delete e._data,Object.defineProperty(e,"data",{configurable:!0,enumerable:!0,writable:!0,value:t})}}function ro(e){e.data.datasets.forEach((e=>{ao(e)}))}var oo={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(e,t,n)=>{if(!n.enabled)return void ro(e);const s=e.width;e.data.datasets.forEach(((t,i)=>{const{_data:a,indexAxis:r}=t,o=e.getDatasetMeta(i),d=a||t.data;if("y"===Us([r,e.options.indexAxis]))return;if(!o.controller.supportsDecimation)return;const l=e.scales[o.xAxisID];if("linear"!==l.type&&"time"!==l.type)return;if(e.options.parsing)return;let u,{start:c,count:h}=function(e,t){const n=t.length;let s,i=0;const{iScale:a}=e,{min:r,max:o,minDefined:d,maxDefined:l}=a.getUserBounds();return d&&(i=Bn(Jn(t,a.axis,r).lo,0,n-1)),s=l?Bn(Jn(t,a.axis,o).hi+1,i,n)-i:n-i,{start:i,count:s}}(o,d);if(h<=(n.threshold||4*s))ao(t);else{switch(Zt(a)&&(t._data=d,delete t.data,Object.defineProperty(t,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(e){this._data=e}})),n.algorithm){case"lttb":u=function(e,t,n,s,i){const a=i.samples||s;if(a>=n)return e.slice(t,t+n);const r=[],o=(n-2)/(a-2);let d=0;const l=t+n-1;let u,c,h,_,m,f=t;for(r[d++]=e[f],u=0;uh&&(h=_,c=e[s],m=s);r[d++]=c,f=m}return r[d++]=e[l],r}(d,c,h,s,n);break;case"min-max":u=function(e,t,n,s){let i,a,r,o,d,l,u,c,h,_,m=0,f=0;const p=[],g=t+n-1,y=e[t].x,M=e[g].x-y;for(i=t;i_&&(_=o,u=i),m=(f*m+a.x)/++f;else{const n=i-1;if(!Zt(l)&&!Zt(u)){const t=Math.min(l,u),s=Math.max(l,u);t!==c&&t!==n&&p.push({...e[t],x:m}),s!==c&&s!==n&&p.push({...e[s],x:m})}i>0&&n!==c&&p.push(e[n]),p.push(a),d=t,f=0,h=_=o,l=u=c=i}}return p}(d,c,h,s);break;default:throw new Error(`Unsupported decimation algorithm '${n.algorithm}'`)}t._decimated=u}}))},destroy(e){ro(e)}};function lo(e,t,n,s){if(s)return;let i=t[e],a=n[e];return"angle"===e&&(i=Nn(i),a=Nn(a)),{property:e,start:i,end:a}}function uo(e,t,n){for(;t>e;t--){const e=n[t];if(!isNaN(e.x)&&!isNaN(e.y))break}return t}function co(e,t,n,s){return e&&t?s(e[n],t[n]):e?e[n]:t?t[n]:0}function ho(e,t){let n=[],s=!1;return Qt(e)?(s=!0,n=e):n=function(e,t){const{x:n=null,y:s=null}=e||{},i=t.points,a=[];return t.segments.forEach((({start:e,end:t})=>{t=uo(e,t,i);const r=i[e],o=i[t];null!==s?(a.push({x:r.x,y:s}),a.push({x:o.x,y:s})):null!==n&&(a.push({x:n,y:r.y}),a.push({x:n,y:o.y}))})),a}(e,t),n.length?new Ur({points:n,options:{tension:0},_loop:s,_fullLoop:s}):null}function _o(e){return e&&!1!==e.fill}function mo(e,t,n){let s=e[t].fill;const i=[t];let a;if(!n)return s;for(;!1!==s&&-1===i.indexOf(s);){if(!tn(s))return s;if(a=e[s],!a)return!1;if(a.visible)return s;i.push(s),s=a.fill}return!1}function fo(e,t,n){const s=function(e){const t=e.options,n=t.fill;let s=sn(n&&n.target,n);return void 0===s&&(s=!!t.backgroundColor),!1!==s&&null!==s&&(!0===s?"origin":s)}(e);if(en(s))return!isNaN(s.value)&&s;let i=parseFloat(s);return tn(i)&&Math.floor(i)===i?function(e,t,n,s){return"-"!==e&&"+"!==e||(n=t+n),!(n===t||n<0||n>=s)&&n}(s[0],t,i,n):["origin","start","end","stack","shape"].indexOf(s)>=0&&s}function po(e,t,n){const s=[];for(let i=0;i=0;--t){const n=i[t].$filler;n&&(n.line.updateControlPoints(a,n.axis),s&&n.fill&&Mo(e.ctx,n,a))}},beforeDatasetsDraw(e,t,n){if("beforeDatasetsDraw"!==n.drawTime)return;const s=e.getSortedVisibleDatasetMetas();for(let t=s.length-1;t>=0;--t){const n=s[t].$filler;_o(n)&&Mo(e.ctx,n,e.chartArea)}},beforeDatasetDraw(e,t,n){const s=t.meta.$filler;_o(s)&&"beforeDatasetDraw"===n.drawTime&&Mo(e.ctx,s,e.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const vo=(e,t)=>{let{boxHeight:n=t,boxWidth:s=t}=e;return e.usePointStyle&&(n=Math.min(n,t),s=e.pointStyleWidth||Math.min(s,t)),{boxWidth:s,boxHeight:n,itemHeight:Math.max(t,n)}};class wo extends Ga{constructor(e){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t,n){this.maxWidth=e,this.maxHeight=t,this._margins=n,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const e=this.options.labels||{};let t=rn(e.generateLabels,[this.chart],this)||[];e.filter&&(t=t.filter((t=>e.filter(t,this.chart.data)))),e.sort&&(t=t.sort(((t,n)=>e.sort(t,n,this.chart.data)))),this.options.reverse&&t.reverse(),this.legendItems=t}fit(){const{options:e,ctx:t}=this;if(!e.display)return void(this.width=this.height=0);const n=e.labels,s=Vs(n.font),i=s.size,a=this._computeTitleHeight(),{boxWidth:r,itemHeight:o}=vo(n,i);let d,l;t.font=s.string,this.isHorizontal()?(d=this.maxWidth,l=this._fitRows(a,i,r,o)+10):(l=this.maxHeight,d=this._fitCols(a,s,r,o)+10),this.width=Math.min(d,e.maxWidth||this.maxWidth),this.height=Math.min(l,e.maxHeight||this.maxHeight)}_fitRows(e,t,n,s){const{ctx:i,maxWidth:a,options:{labels:{padding:r}}}=this,o=this.legendHitBoxes=[],d=this.lineWidths=[0],l=s+r;let u=e;i.textAlign="left",i.textBaseline="middle";let c=-1,h=-l;return this.legendItems.forEach(((e,_)=>{const m=n+t/2+i.measureText(e.text).width;(0===_||d[d.length-1]+m+2*r>a)&&(u+=l,d[d.length-(_>0?0:1)]=0,h+=l,c++),o[_]={left:0,top:h,row:c,width:m,height:s},d[d.length-1]+=m+r})),u}_fitCols(e,t,n,s){const{ctx:i,maxHeight:a,options:{labels:{padding:r}}}=this,o=this.legendHitBoxes=[],d=this.columnSizes=[],l=a-e;let u=r,c=0,h=0,_=0,m=0;return this.legendItems.forEach(((e,a)=>{const{itemWidth:f,itemHeight:p}=function(e,t,n,s,i){const a=function(e,t,n,s){let i=e.text;return i&&"string"!=typeof i&&(i=i.reduce(((e,t)=>e.length>t.length?e:t))),t+n.size/2+s.measureText(i).width}(s,e,t,n),r=function(e,t,n){let s=e;return"string"!=typeof t.text&&(s=xo(t,n)),s}(i,s,t.lineHeight);return{itemWidth:a,itemHeight:r}}(n,t,i,e,s);a>0&&h+p+2*r>l&&(u+=c+r,d.push({width:c,height:h}),_+=c+r,m++,c=h=0),o[a]={left:_,top:h,col:m,width:f,height:p},c=Math.max(c,f),h+=p+r})),u+=c,d.push({width:c,height:h}),u}adjustHitBoxes(){if(!this.options.display)return;const e=this._computeTitleHeight(),{legendHitBoxes:t,options:{align:n,labels:{padding:s},rtl:i}}=this,a=xi(i,this.left,this.width);if(this.isHorizontal()){let i=0,r=es(n,this.left+s,this.right-this.lineWidths[i]);for(const o of t)i!==o.row&&(i=o.row,r=es(n,this.left+s,this.right-this.lineWidths[i])),o.top+=this.top+e+s,o.left=a.leftForLtr(a.x(r),o.width),r+=o.width+s}else{let i=0,r=es(n,this.top+e+s,this.bottom-this.columnSizes[i].height);for(const o of t)o.col!==i&&(i=o.col,r=es(n,this.top+e+s,this.bottom-this.columnSizes[i].height)),o.top=r,o.left+=this.left+s,o.left=a.leftForLtr(a.x(o.left),o.width),r+=o.height+s}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const e=this.ctx;Ss(e,this),this._draw(),Hs(e)}}_draw(){const{options:e,columnSizes:t,lineWidths:n,ctx:s}=this,{align:i,labels:a}=e,r=bs.color,o=xi(e.rtl,this.left,this.width),d=Vs(a.font),{padding:l}=a,u=d.size,c=u/2;let h;this.drawTitle(),s.textAlign=o.textAlign("left"),s.textBaseline="middle",s.lineWidth=.5,s.font=d.string;const{boxWidth:_,boxHeight:m,itemHeight:f}=vo(a,u),p=this.isHorizontal(),g=this._computeTitleHeight();h=p?{x:es(i,this.left+l,this.right-n[0]),y:this.top+l+g,line:0}:{x:this.left+l,y:es(i,this.top+g+l,this.bottom-t[0].height),line:0},Ti(this.ctx,e.textDirection);const y=f+l;this.legendItems.forEach(((M,L)=>{s.strokeStyle=M.fontColor,s.fillStyle=M.fontColor;const b=s.measureText(M.text).width,Y=o.textAlign(M.textAlign||(M.textAlign=a.textAlign)),k=_+c+b;let D=h.x,v=h.y;if(o.setWidth(this.width),p?L>0&&D+k+l>this.right&&(v=h.y+=y,h.line++,D=h.x=es(i,this.left+l,this.right-n[h.line])):L>0&&v+y>this.bottom&&(D=h.x=D+t[h.line].width+l,h.line++,v=h.y=es(i,this.top+g+l,this.bottom-t[h.line].height)),function(e,t,n){if(isNaN(_)||_<=0||isNaN(m)||m<0)return;s.save();const i=sn(n.lineWidth,1);if(s.fillStyle=sn(n.fillStyle,r),s.lineCap=sn(n.lineCap,"butt"),s.lineDashOffset=sn(n.lineDashOffset,0),s.lineJoin=sn(n.lineJoin,"miter"),s.lineWidth=i,s.strokeStyle=sn(n.strokeStyle,r),s.setLineDash(sn(n.lineDash,[])),a.usePointStyle){const r={radius:m*Math.SQRT2/2,pointStyle:n.pointStyle,rotation:n.rotation,borderWidth:i},d=o.xPlus(e,_/2);xs(s,r,d,t+c,a.pointStyleWidth&&_)}else{const a=t+Math.max((u-m)/2,0),r=o.leftForLtr(e,_),d=Is(n.borderRadius);s.beginPath(),Object.values(d).some((e=>0!==e))?Cs(s,{x:r,y:a,w:_,h:m,radius:d}):s.rect(r,a,_,m),s.fill(),0!==i&&s.stroke()}s.restore()}(o.x(D),v,M),D=((e,t,n,s)=>e===(s?"left":"right")?n:"center"===e?(t+n)/2:t)(Y,D+_+c,p?D+k:this.right,e.rtl),function(e,t,n){As(s,n.text,e,t+f/2,d,{strikethrough:n.hidden,textAlign:o.textAlign(n.textAlign)})}(o.x(D),v,M),p)h.x+=k+l;else if("string"!=typeof M.text){const e=d.lineHeight;h.y+=xo(M,e)+l}else h.y+=y})),Si(this.ctx,e.textDirection)}drawTitle(){const e=this.options,t=e.title,n=Vs(t.font),s=Bs(t.padding);if(!t.display)return;const i=xi(e.rtl,this.left,this.width),a=this.ctx,r=t.position,o=n.size/2,d=s.top+o;let l,u=this.left,c=this.width;if(this.isHorizontal())c=Math.max(...this.lineWidths),l=this.top+d,u=es(e.align,u,this.right-c);else{const t=this.columnSizes.reduce(((e,t)=>Math.max(e,t.height)),0);l=d+es(e.align,this.top,this.bottom-t-e.labels.padding-this._computeTitleHeight())}const h=es(r,u,u+c);a.textAlign=i.textAlign(Qn(r)),a.textBaseline="middle",a.strokeStyle=t.color,a.fillStyle=t.color,a.font=n.string,As(a,t.text,h,l,n)}_computeTitleHeight(){const e=this.options.title,t=Vs(e.font),n=Bs(e.padding);return e.display?t.lineHeight+n.height:0}_getLegendItemAt(e,t){let n,s,i;if(Vn(e,this.left,this.right)&&Vn(t,this.top,this.bottom))for(i=this.legendHitBoxes,n=0;ne.chart.options.color,boxWidth:40,padding:10,generateLabels(e){const t=e.data.datasets,{labels:{usePointStyle:n,pointStyle:s,textAlign:i,color:a,useBorderRadius:r,borderRadius:o}}=e.legend.options;return e._getSortedDatasetMetas().map((e=>{const d=e.controller.getStyle(n?0:void 0),l=Bs(d.borderWidth);return{text:t[e.index].label,fillStyle:d.backgroundColor,fontColor:a,hidden:!e.visible,lineCap:d.borderCapStyle,lineDash:d.borderDash,lineDashOffset:d.borderDashOffset,lineJoin:d.borderJoinStyle,lineWidth:(l.width+l.height)/4,strokeStyle:d.borderColor,pointStyle:s||d.pointStyle,rotation:d.rotation,textAlign:i||d.textAlign,borderRadius:r&&(o||d.borderRadius),datasetIndex:e.index}}),this)}},title:{color:e=>e.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:e=>!e.startsWith("on"),labels:{_scriptable:e=>!["generateLabels","filter","sort"].includes(e)}}};class So extends Ga{constructor(e){super(),this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t){const n=this.options;if(this.left=0,this.top=0,!n.display)return void(this.width=this.height=this.right=this.bottom=0);this.width=this.right=e,this.height=this.bottom=t;const s=Qt(n.text)?n.text.length:1;this._padding=Bs(n.padding);const i=s*Vs(n.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=i:this.width=i}isHorizontal(){const e=this.options.position;return"top"===e||"bottom"===e}_drawArgs(e){const{top:t,left:n,bottom:s,right:i,options:a}=this,r=a.align;let o,d,l,u=0;return this.isHorizontal()?(d=es(r,n,i),l=t+e,o=i-n):("left"===a.position?(d=n+e,l=es(r,s,t),u=-.5*bn):(d=i-e,l=es(r,t,s),u=.5*bn),o=s-t),{titleX:d,titleY:l,maxWidth:o,rotation:u}}draw(){const e=this.ctx,t=this.options;if(!t.display)return;const n=Vs(t.font),s=n.lineHeight/2+this._padding.top,{titleX:i,titleY:a,maxWidth:r,rotation:o}=this._drawArgs(s);As(e,t.text,0,0,n,{color:t.color,maxWidth:r,rotation:o,textAlign:Qn(t.align),textBaseline:"middle",translation:[i,a]})}}var Ho={id:"title",_element:So,start(e,t,n){!function(e,t){const n=new So({ctx:e.ctx,options:t,chart:e});ja.configure(e,n,t),ja.addBox(e,n),e.titleBlock=n}(e,n)},stop(e){const t=e.titleBlock;ja.removeBox(e,t),delete e.titleBlock},beforeUpdate(e,t,n){const s=e.titleBlock;ja.configure(e,s,n),s.options=n},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const jo=new WeakMap;var Oo={id:"subtitle",start(e,t,n){const s=new So({ctx:e.ctx,options:n,chart:e});ja.configure(e,s,n),ja.addBox(e,s),jo.set(e,s)},stop(e){ja.removeBox(e,jo.get(e)),jo.delete(e)},beforeUpdate(e,t,n){const s=jo.get(e);ja.configure(e,s,n),s.options=n},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const Po={average(e){if(!e.length)return!1;let t,n,s=new Set,i=0,a=0;for(t=0,n=e.length;te+t))/s.size,y:i/a}},nearest(e,t){if(!e.length)return!1;let n,s,i,a=t.x,r=t.y,o=Number.POSITIVE_INFINITY;for(n=0,s=e.length;n-1?e.split("\n"):e}function Co(e,t){const{element:n,datasetIndex:s,index:i}=t,a=e.getDatasetMeta(s).controller,{label:r,value:o}=a.getLabelAndValue(i);return{chart:e,label:r,parsed:a.getParsed(i),raw:e.data.datasets[s].data[i],formattedValue:o,dataset:a.getDataset(),dataIndex:i,datasetIndex:s,element:n}}function Ro(e,t){const n=e.chart.ctx,{body:s,footer:i,title:a}=e,{boxWidth:r,boxHeight:o}=t,d=Vs(t.bodyFont),l=Vs(t.titleFont),u=Vs(t.footerFont),c=a.length,h=i.length,_=s.length,m=Bs(t.padding);let f=m.height,p=0,g=s.reduce(((e,t)=>e+t.before.length+t.lines.length+t.after.length),0);g+=e.beforeBody.length+e.afterBody.length,c&&(f+=c*l.lineHeight+(c-1)*t.titleSpacing+t.titleMarginBottom),g&&(f+=_*(t.displayColors?Math.max(o,d.lineHeight):d.lineHeight)+(g-_)*d.lineHeight+(g-1)*t.bodySpacing),h&&(f+=t.footerMarginTop+h*u.lineHeight+(h-1)*t.footerSpacing);let y=0;const M=function(e){p=Math.max(p,n.measureText(e).width+y)};return n.save(),n.font=l.string,on(e.title,M),n.font=d.string,on(e.beforeBody.concat(e.afterBody),M),y=t.displayColors?r+2+t.boxPadding:0,on(s,(e=>{on(e.before,M),on(e.lines,M),on(e.after,M)})),y=0,n.font=u.string,on(e.footer,M),n.restore(),p+=m.width,{width:p,height:f}}function Fo(e,t,n,s){const{x:i,width:a}=n,{width:r,chartArea:{left:o,right:d}}=e;let l="center";return"center"===s?l=i<=(o+d)/2?"left":"right":i<=a/2?l="left":i>=r-a/2&&(l="right"),function(e,t,n,s){const{x:i,width:a}=s,r=n.caretSize+n.caretPadding;return"left"===e&&i+a+r>t.width||"right"===e&&i-a-r<0||void 0}(l,e,t,n)&&(l="center"),l}function Wo(e,t,n){const s=n.yAlign||t.yAlign||function(e,t){const{y:n,height:s}=t;return ne.height-s/2?"bottom":"center"}(e,n);return{xAlign:n.xAlign||t.xAlign||Fo(e,t,n,s),yAlign:s}}function zo(e,t,n,s){const{caretSize:i,caretPadding:a,cornerRadius:r}=e,{xAlign:o,yAlign:d}=n,l=i+a,{topLeft:u,topRight:c,bottomLeft:h,bottomRight:_}=Is(r);let m=function(e,t){let{x:n,width:s}=e;return"right"===t?n-=s:"center"===t&&(n-=s/2),n}(t,o);const f=function(e,t,n){let{y:s,height:i}=e;return"top"===t?s+=n:s-="bottom"===t?i+n:i/2,s}(t,d,l);return"center"===d?"left"===o?m+=l:"right"===o&&(m-=l):"left"===o?m-=Math.max(u,h)+i:"right"===o&&(m+=Math.max(c,_)+i),{x:Bn(m,0,s.width-t.width),y:Bn(f,0,s.height-t.height)}}function No(e,t,n){const s=Bs(n.padding);return"center"===t?e.x+e.width/2:"right"===t?e.x+e.width-s.right:e.x+s.left}function Io(e){return Eo([],Ao(e))}function Bo(e,t){const n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}const Vo={beforeTitle:Kt,title(e){if(e.length>0){const t=e[0],n=t.chart.data.labels,s=n?n.length:0;if(this&&this.options&&"dataset"===this.options.mode)return t.dataset.label||"";if(t.label)return t.label;if(s>0&&t.dataIndex{const t={before:[],lines:[],after:[]},i=Bo(n,e);Eo(t.before,Ao(Uo(i,"beforeLabel",this,e))),Eo(t.lines,Uo(i,"label",this,e)),Eo(t.after,Ao(Uo(i,"afterLabel",this,e))),s.push(t)})),s}getAfterBody(e,t){return Io(Uo(t.callbacks,"afterBody",this,e))}getFooter(e,t){const{callbacks:n}=t,s=Uo(n,"beforeFooter",this,e),i=Uo(n,"footer",this,e),a=Uo(n,"afterFooter",this,e);let r=[];return r=Eo(r,Ao(s)),r=Eo(r,Ao(i)),r=Eo(r,Ao(a)),r}_createItems(e){const t=this._active,n=this.chart.data,s=[],i=[],a=[];let r,o,d=[];for(r=0,o=t.length;re.filter(t,s,i,n)))),e.itemSort&&(d=d.sort(((t,s)=>e.itemSort(t,s,n)))),on(d,(t=>{const n=Bo(e.callbacks,t);s.push(Uo(n,"labelColor",this,t)),i.push(Uo(n,"labelPointStyle",this,t)),a.push(Uo(n,"labelTextColor",this,t))})),this.labelColors=s,this.labelPointStyles=i,this.labelTextColors=a,this.dataPoints=d,d}update(e,t){const n=this.options.setContext(this.getContext()),s=this._active;let i,a=[];if(s.length){const e=Po[n.position].call(this,s,this._eventPosition);a=this._createItems(n),this.title=this.getTitle(a,n),this.beforeBody=this.getBeforeBody(a,n),this.body=this.getBody(a,n),this.afterBody=this.getAfterBody(a,n),this.footer=this.getFooter(a,n);const t=this._size=Ro(this,n),r=Object.assign({},e,t),o=Wo(this.chart,n,r),d=zo(n,r,o,this.chart);this.xAlign=o.xAlign,this.yAlign=o.yAlign,i={opacity:1,x:d.x,y:d.y,width:t.width,height:t.height,caretX:e.x,caretY:e.y}}else 0!==this.opacity&&(i={opacity:0});this._tooltipItems=a,this.$context=void 0,i&&this._resolveAnimations().update(this,i),e&&n.external&&n.external.call(this,{chart:this.chart,tooltip:this,replay:t})}drawCaret(e,t,n,s){const i=this.getCaretPosition(e,n,s);t.lineTo(i.x1,i.y1),t.lineTo(i.x2,i.y2),t.lineTo(i.x3,i.y3)}getCaretPosition(e,t,n){const{xAlign:s,yAlign:i}=this,{caretSize:a,cornerRadius:r}=n,{topLeft:o,topRight:d,bottomLeft:l,bottomRight:u}=Is(r),{x:c,y:h}=e,{width:_,height:m}=t;let f,p,g,y,M,L;return"center"===i?(M=h+m/2,"left"===s?(f=c,p=f-a,y=M+a,L=M-a):(f=c+_,p=f+a,y=M-a,L=M+a),g=f):(p="left"===s?c+Math.max(o,l)+a:"right"===s?c+_-Math.max(d,u)-a:this.caretX,"top"===i?(y=h,M=y-a,f=p-a,g=p+a):(y=h+m,M=y+a,f=p+a,g=p-a),L=y),{x1:f,x2:p,x3:g,y1:y,y2:M,y3:L}}drawTitle(e,t,n){const s=this.title,i=s.length;let a,r,o;if(i){const d=xi(n.rtl,this.x,this.width);for(e.x=No(this,n.titleAlign,n),t.textAlign=d.textAlign(n.titleAlign),t.textBaseline="middle",a=Vs(n.titleFont),r=n.titleSpacing,t.fillStyle=n.titleColor,t.font=a.string,o=0;o0!==e))?(e.beginPath(),e.fillStyle=i.multiKeyBackground,Cs(e,{x:t,y:_,w:d,h:o,radius:r}),e.fill(),e.stroke(),e.fillStyle=a.backgroundColor,e.beginPath(),Cs(e,{x:n,y:_+1,w:d-2,h:o-2,radius:r}),e.fill()):(e.fillStyle=i.multiKeyBackground,e.fillRect(t,_,d,o),e.strokeRect(t,_,d,o),e.fillStyle=a.backgroundColor,e.fillRect(n,_+1,d-2,o-2))}e.fillStyle=this.labelTextColors[n]}drawBody(e,t,n){const{body:s}=this,{bodySpacing:i,bodyAlign:a,displayColors:r,boxHeight:o,boxWidth:d,boxPadding:l}=n,u=Vs(n.bodyFont);let c=u.lineHeight,h=0;const _=xi(n.rtl,this.x,this.width),m=function(n){t.fillText(n,_.x(e.x+h),e.y+c/2),e.y+=c+i},f=_.textAlign(a);let p,g,y,M,L,b,Y;for(t.textAlign=a,t.textBaseline="middle",t.font=u.string,e.x=No(this,f,n),t.fillStyle=n.bodyColor,on(this.beforeBody,m),h=r&&"right"!==f?"center"===a?d/2+l:d+2+l:0,M=0,b=s.length;M0&&t.stroke()}_updateAnimationTarget(e){const t=this.chart,n=this.$animations,s=n&&n.x,i=n&&n.y;if(s||i){const n=Po[e.position].call(this,this._active,this._eventPosition);if(!n)return;const a=this._size=Ro(this,e),r=Object.assign({},n,this._size),o=Wo(t,e,r),d=zo(e,r,o,t);s._to===d.x&&i._to===d.y||(this.xAlign=o.xAlign,this.yAlign=o.yAlign,this.width=a.width,this.height=a.height,this.caretX=n.x,this.caretY=n.y,this._resolveAnimations().update(this,d))}}_willRender(){return!!this.opacity}draw(e){const t=this.options.setContext(this.getContext());let n=this.opacity;if(!n)return;this._updateAnimationTarget(t);const s={width:this.width,height:this.height},i={x:this.x,y:this.y};n=Math.abs(n)<.001?0:n;const a=Bs(t.padding),r=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;t.enabled&&r&&(e.save(),e.globalAlpha=n,this.drawBackground(i,e,s,t),Ti(e,t.textDirection),i.y+=a.top,this.drawTitle(i,e,t),this.drawBody(i,e,t),this.drawFooter(i,e,t),Si(e,t.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,t){const n=this._active,s=e.map((({datasetIndex:e,index:t})=>{const n=this.chart.getDatasetMeta(e);if(!n)throw new Error("Cannot find a dataset at index "+e);return{datasetIndex:e,element:n.data[t],index:t}})),i=!dn(n,s),a=this._positionChanged(s,t);(i||a)&&(this._active=s,this._eventPosition=t,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,t,n=!0){if(t&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const s=this.options,i=this._active||[],a=this._getActiveElements(e,i,t,n),r=this._positionChanged(a,e),o=t||!dn(a,i)||r;return o&&(this._active=a,(s.enabled||s.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,t))),o}_getActiveElements(e,t,n,s){const i=this.options;if("mouseout"===e.type)return[];if(!s)return t.filter((e=>this.chart.data.datasets[e.datasetIndex]&&void 0!==this.chart.getDatasetMeta(e.datasetIndex).controller.getParsed(e.index)));const a=this.chart.getElementsAtEventForMode(e,i.mode,i,n);return i.reverse&&a.reverse(),a}_positionChanged(e,t){const{caretX:n,caretY:s,options:i}=this,a=Po[i.position].call(this,e,t);return!1!==a&&(n!==a.x||s!==a.y)}}var $o={id:"tooltip",_element:Jo,positioners:Po,afterInit(e,t,n){n&&(e.tooltip=new Jo({chart:e,options:n}))},beforeUpdate(e,t,n){e.tooltip&&e.tooltip.initialize(n)},reset(e,t,n){e.tooltip&&e.tooltip.initialize(n)},afterDraw(e){const t=e.tooltip;if(t&&t._willRender()){const n={tooltip:t};if(!1===e.notifyPlugins("beforeTooltipDraw",{...n,cancelable:!0}))return;t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",n)}},afterEvent(e,t){if(e.tooltip){const n=t.replay;e.tooltip.handleEvent(t.event,n,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:Vo},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:e=>"filter"!==e&&"itemSort"!==e&&"external"!==e,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]},qo=Object.freeze({__proto__:null,Colors:io,Decimation:oo,Filler:Do,Legend:To,SubTitle:Oo,Title:Ho,Tooltip:$o});function Go(e){const t=this.getLabels();return e>=0&&es=t?s:e,r=e=>i=n?i:e;if(e){const e=Hn(s),t=Hn(i);e<0&&t<0?r(0):e>0&&t>0&&a(0)}if(s===i){let t=0===i?1:Math.abs(.05*i);r(i+t),e||a(s-t)}this.min=s,this.max=i}getTickLimit(){const e=this.options.ticks;let t,{maxTicksLimit:n,stepSize:s}=e;return s?(t=Math.ceil(this.max/s)-Math.floor(this.min/s)+1,t>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${s} would result generating up to ${t} ticks. Limiting to 1000.`),t=1e3)):(t=this.computeTickLimit(),n=n||11),n&&(t=Math.min(n,t)),t}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const e=this.options,t=e.ticks;let n=this.getTickLimit();n=Math.max(2,n);const s=function(e,t){const n=[],{bounds:s,step:i,min:a,max:r,precision:o,count:d,maxTicks:l,maxDigits:u,includeBounds:c}=e,h=i||1,_=l-1,{min:m,max:f}=t,p=!Zt(a),g=!Zt(r),y=!Zt(d),M=(f-m)/(u+1);let L,b,Y,k,D=On((f-m)/_/h)*h;if(D<1e-14&&!p&&!g)return[{value:m},{value:f}];k=Math.ceil(f/D)-Math.floor(m/D),k>_&&(D=On(k*D/_/h)*h),Zt(o)||(L=Math.pow(10,o),D=Math.ceil(D*L)/L),"ticks"===s?(b=Math.floor(m/D)*D,Y=Math.ceil(f/D)*D):(b=m,Y=f),p&&g&&i&&function(e,t){const n=Math.round(e);return n-t<=e&&n+t>=e}((r-a)/i,D/1e3)?(k=Math.round(Math.min((r-a)/D,l)),D=(r-a)/k,b=a,Y=r):y?(b=p?a:b,Y=g?r:Y,k=d-1,D=(Y-b)/k):(k=(Y-b)/D,k=jn(k,Math.round(k),D/1e3)?Math.round(k):Math.ceil(k));const v=Math.max(Rn(D),Rn(b));L=Math.pow(10,Zt(o)?v:o),b=Math.round(b*L)/L,Y=Math.round(Y*L)/L;let w=0;for(p&&(c&&b!==a?(n.push({value:a}),br)break;n.push({value:e})}return g&&c&&Y!==r?n.length&&jn(n[n.length-1].value,r,Ko(r,M,e))?n[n.length-1].value=r:n.push({value:r}):g&&Y!==r||n.push({value:Y}),n}({maxTicks:n,bounds:e.bounds,min:e.min,max:e.max,precision:t.precision,step:t.stepSize,count:t.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:t.minRotation||0,includeBounds:!1!==t.includeBounds},this._range||this);return"ticks"===e.bounds&&En(s,this,"value"),e.reverse?(s.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),s}configure(){const e=this.ticks;let t=this.min,n=this.max;if(super.configure(),this.options.offset&&e.length){const s=(n-t)/Math.max(e.length-1,1)/2;t-=s,n+=s}this._startValue=t,this._endValue=n,this._valueRange=n-t}getLabelForValue(e){return _s(e,this.chart.options.locale,this.options.ticks.format)}}class Zo extends Xo{static id="linear";static defaults={ticks:{callback:fs.formatters.numeric}};determineDataLimits(){const{min:e,max:t}=this.getMinMax(!0);this.min=tn(e)?e:0,this.max=tn(t)?t:1,this.handleTickRangeOptions()}computeTickLimit(){const e=this.isHorizontal(),t=e?this.width:this.height,n=An(this.options.ticks.minRotation),s=(e?Math.sin(n):Math.cos(n))||.001,i=this._resolveTickFontOptions(0);return Math.ceil(t/Math.min(40,i.lineHeight/s))}getPixelForValue(e){return null===e?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}const Qo=e=>Math.floor(Sn(e)),ed=(e,t)=>Math.pow(10,Qo(e)+t);function td(e){return 1==e/Math.pow(10,Qo(e))}function nd(e,t,n){const s=Math.pow(10,n),i=Math.floor(e/s);return Math.ceil(t/s)-i}class sd extends ir{static id="logarithmic";static defaults={ticks:{callback:fs.formatters.logarithmic,major:{enabled:!0}}};constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(e,t){const n=Xo.prototype.parse.apply(this,[e,t]);if(0!==n)return tn(n)&&n>0?n:null;this._zero=!0}determineDataLimits(){const{min:e,max:t}=this.getMinMax(!0);this.min=tn(e)?Math.max(0,e):null,this.max=tn(t)?Math.max(0,t):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!tn(this._userMin)&&(this.min=e===ed(this.min,0)?ed(this.min,-1):ed(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:e,maxDefined:t}=this.getUserBounds();let n=this.min,s=this.max;const i=t=>n=e?n:t,a=e=>s=t?s:e;n===s&&(n<=0?(i(1),a(10)):(i(ed(n,-1)),a(ed(s,1)))),n<=0&&i(ed(s,-1)),s<=0&&a(ed(n,1)),this.min=n,this.max=s}buildTicks(){const e=this.options,t=function(e,{min:t,max:n}){t=nn(e.min,t);const s=[],i=Qo(t);let a=function(e,t){let n=Qo(t-e);for(;nd(e,t,n)>10;)n++;for(;nd(e,t,n)<10;)n--;return Math.min(n,Qo(e))}(t,n),r=a<0?Math.pow(10,Math.abs(a)):1;const o=Math.pow(10,a),d=i>a?Math.pow(10,i):0,l=Math.round((t-d)*r)/r,u=Math.floor((t-d)/o/10)*o*10;let c=Math.floor((l-u)/Math.pow(10,a)),h=nn(e.min,Math.round((d+u+c*Math.pow(10,a))*r)/r);for(;h=10?c=c<15?15:20:c++,c>=20&&(a++,c=2,r=a>=0?1:r),h=Math.round((d+u+c*Math.pow(10,a))*r)/r;const _=nn(e.max,h);return s.push({value:_,major:td(_),significand:c}),s}({min:this._userMin,max:this._userMax},this);return"ticks"===e.bounds&&En(t,this,"value"),e.reverse?(t.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),t}getLabelForValue(e){return void 0===e?"0":_s(e,this.chart.options.locale,this.options.ticks.format)}configure(){const e=this.min;super.configure(),this._startValue=Sn(e),this._valueRange=Sn(this.max)-Sn(e)}getPixelForValue(e){return void 0!==e&&0!==e||(e=this.min),null===e||isNaN(e)?NaN:this.getPixelForDecimal(e===this.min?0:(Sn(e)-this._startValue)/this._valueRange)}getValueForPixel(e){const t=this.getDecimalForPixel(e);return Math.pow(10,this._startValue+t*this._valueRange)}}function id(e){const t=e.ticks;if(t.display&&e.display){const e=Bs(t.backdropPadding);return sn(t.font&&t.font.size,bs.font.size)+e.height}return 0}function ad(e,t,n,s,i){return e===s||e===i?{start:t-n/2,end:t+n/2}:ei?{start:t-n,end:t}:{start:t,end:t+n}}function rd(e,t,n,s,i){const a=Math.abs(Math.sin(n)),r=Math.abs(Math.cos(n));let o=0,d=0;s.startt.r&&(o=(s.end-t.r)/a,e.r=Math.max(e.r,t.r+o)),i.startt.b&&(d=(i.end-t.b)/r,e.b=Math.max(e.b,t.b+d))}function od(e,t,n){const s=e.drawingArea,{extra:i,additionalAngle:a,padding:r,size:o}=n,d=e.getPointPosition(t,s+i+r,a),l=Math.round(Cn(Nn(d.angle+wn))),u=function(e,t,n){return 90===n||270===n?e-=t/2:(n>270||n<90)&&(e-=t),e}(d.y,o.h,l),c=function(e){return 0===e||180===e?"center":e<180?"left":"right"}(l),h=(_=d.x,m=o.w,"right"===(f=c)?_-=m:"center"===f&&(_-=m/2),_);var _,m,f;return{visible:!0,x:d.x,y:u,textAlign:c,left:h,top:u,right:h+o.w,bottom:u+o.h}}function dd(e,t){if(!t)return!0;const{left:n,top:s,right:i,bottom:a}=e;return!(Ts({x:n,y:s},t)||Ts({x:n,y:a},t)||Ts({x:i,y:s},t)||Ts({x:i,y:a},t))}function ld(e,t,n){const{left:s,top:i,right:a,bottom:r}=n,{backdropColor:o}=t;if(!Zt(o)){const n=Is(t.borderRadius),d=Bs(t.backdropPadding);e.fillStyle=o;const l=s-d.left,u=i-d.top,c=a-s+d.width,h=r-i+d.height;Object.values(n).some((e=>0!==e))?(e.beginPath(),Cs(e,{x:l,y:u,w:c,h,radius:n}),e.fill()):e.fillRect(l,u,c,h)}}function ud(e,t,n,s){const{ctx:i}=e;if(n)i.arc(e.xCenter,e.yCenter,t,0,Yn);else{let n=e.getPointPosition(0,t);i.moveTo(n.x,n.y);for(let a=1;ae,padding:5,centerPointLabels:!1}};static defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"};static descriptors={angleLines:{_fallback:"grid"}};constructor(e){super(e),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const e=this._padding=Bs(id(this.options)/2),t=this.width=this.maxWidth-e.width,n=this.height=this.maxHeight-e.height;this.xCenter=Math.floor(this.left+t/2+e.left),this.yCenter=Math.floor(this.top+n/2+e.top),this.drawingArea=Math.floor(Math.min(t,n)/2)}determineDataLimits(){const{min:e,max:t}=this.getMinMax(!1);this.min=tn(e)&&!isNaN(e)?e:0,this.max=tn(t)&&!isNaN(t)?t:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/id(this.options))}generateTickLabels(e){Xo.prototype.generateTickLabels.call(this,e),this._pointLabels=this.getLabels().map(((e,t)=>{const n=rn(this.options.pointLabels.callback,[e,t],this);return n||0===n?n:""})).filter(((e,t)=>this.chart.getDataVisibility(t)))}fit(){const e=this.options;e.display&&e.pointLabels.display?function(e){const t={l:e.left+e._padding.left,r:e.right-e._padding.right,t:e.top+e._padding.top,b:e.bottom-e._padding.bottom},n=Object.assign({},t),s=[],i=[],a=e._pointLabels.length,r=e.options.pointLabels,o=r.centerPointLabels?bn/a:0;for(let c=0;c=0&&e=0;i--){const t=e._pointLabelItems[i];if(!t.visible)continue;const a=s.setContext(e.getPointLabelContext(i));ld(n,a,t);const r=Vs(a.font),{x:o,y:d,textAlign:l}=t;As(n,e._pointLabels[i],o,d+r.lineHeight/2,r,{color:a.color,textAlign:l,textBaseline:"middle"})}}(this,a),s.display&&this.ticks.forEach(((e,t)=>{if(0!==t||0===t&&this.min<0){o=this.getDistanceFromCenterForValue(e.value);const n=this.getContext(t),r=s.setContext(n),d=i.setContext(n);!function(e,t,n,s,i){const a=e.ctx,r=t.circular,{color:o,lineWidth:d}=t;!r&&!s||!o||!d||n<0||(a.save(),a.strokeStyle=o,a.lineWidth=d,a.setLineDash(i.dash||[]),a.lineDashOffset=i.dashOffset,a.beginPath(),ud(e,n,r,s),a.closePath(),a.stroke(),a.restore())}(this,r,o,a,d)}})),n.display){for(e.save(),r=a-1;r>=0;r--){const s=n.setContext(this.getPointLabelContext(r)),{color:i,lineWidth:a}=s;a&&i&&(e.lineWidth=a,e.strokeStyle=i,e.setLineDash(s.borderDash),e.lineDashOffset=s.borderDashOffset,o=this.getDistanceFromCenterForValue(t.reverse?this.min:this.max),d=this.getPointPosition(r,o),e.beginPath(),e.moveTo(this.xCenter,this.yCenter),e.lineTo(d.x,d.y),e.stroke())}e.restore()}}drawBorder(){}drawLabels(){const e=this.ctx,t=this.options,n=t.ticks;if(!n.display)return;const s=this.getIndexAngle(0);let i,a;e.save(),e.translate(this.xCenter,this.yCenter),e.rotate(s),e.textAlign="center",e.textBaseline="middle",this.ticks.forEach(((s,r)=>{if(0===r&&this.min>=0&&!t.reverse)return;const o=n.setContext(this.getContext(r)),d=Vs(o.font);if(i=this.getDistanceFromCenterForValue(this.ticks[r].value),o.showLabelBackdrop){e.font=d.string,a=e.measureText(s.label).width,e.fillStyle=o.backdropColor;const t=Bs(o.backdropPadding);e.fillRect(-a/2-t.left,-i-d.size/2-t.top,a+t.width,d.size+t.height)}As(e,s.label,0,-i,d,{color:o.color,strokeColor:o.textStrokeColor,strokeWidth:o.textStrokeWidth})})),e.restore()}drawTitle(){}}const hd={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},_d=Object.keys(hd);function md(e,t){return e-t}function fd(e,t){if(Zt(t))return null;const n=e._adapter,{parser:s,round:i,isoWeekday:a}=e._parseOpts;let r=t;return"function"==typeof s&&(r=s(r)),tn(r)||(r="string"==typeof s?n.parse(r,s):n.parse(r)),null===r?null:(i&&(r="week"!==i||!Pn(a)&&!0!==a?n.startOf(r,i):n.startOf(r,"isoWeek",a)),+r)}function pd(e,t,n,s){const i=_d.length;for(let a=_d.indexOf(e);a=t?n[s]:n[i]]=!0}}else e[t]=!0}function yd(e,t,n){const s=[],i={},a=t.length;let r,o;for(r=0;r=0&&(t[d].major=!0);return t}(e,s,i,n):s}class Md extends ir{static id="time";static defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}};constructor(e){super(e),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(e,t={}){const n=e.time||(e.time={}),s=this._adapter=new _a(e.adapters.date);s.init(t),_n(n.displayFormats,s.formats()),this._parseOpts={parser:n.parser,round:n.round,isoWeekday:n.isoWeekday},super.init(e),this._normalized=t.normalized}parse(e,t){return void 0===e?null:fd(this,e)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const e=this.options,t=this._adapter,n=e.time.unit||"day";let{min:s,max:i,minDefined:a,maxDefined:r}=this.getUserBounds();function o(e){a||isNaN(e.min)||(s=Math.min(s,e.min)),r||isNaN(e.max)||(i=Math.max(i,e.max))}a&&r||(o(this._getLabelBounds()),"ticks"===e.bounds&&"labels"===e.ticks.source||o(this.getMinMax(!1))),s=tn(s)&&!isNaN(s)?s:+t.startOf(Date.now(),n),i=tn(i)&&!isNaN(i)?i:+t.endOf(Date.now(),n)+1,this.min=Math.min(s,i-1),this.max=Math.max(s+1,i)}_getLabelBounds(){const e=this.getLabelTimestamps();let t=Number.POSITIVE_INFINITY,n=Number.NEGATIVE_INFINITY;return e.length&&(t=e[0],n=e[e.length-1]),{min:t,max:n}}buildTicks(){const e=this.options,t=e.time,n=e.ticks,s="labels"===n.source?this.getLabelTimestamps():this._generate();"ticks"===e.bounds&&s.length&&(this.min=this._userMin||s[0],this.max=this._userMax||s[s.length-1]);const i=this.min,a=function(e,t,n){let s=0,i=e.length;for(;ss&&e[i-1]>n;)i--;return s>0||i=_d.indexOf(n);a--){const n=_d[a];if(hd[n].common&&e._adapter.diff(i,s,n)>=t-1)return n}return _d[n?_d.indexOf(n):0]}(this,a.length,t.minUnit,this.min,this.max)),this._majorUnit=n.major.enabled&&"year"!==this._unit?function(e){for(let t=_d.indexOf(e)+1,n=_d.length;t+e.value)))}initOffsets(e=[]){let t,n,s=0,i=0;this.options.offset&&e.length&&(t=this.getDecimalForValue(e[0]),s=1===e.length?1-t:(this.getDecimalForValue(e[1])-t)/2,n=this.getDecimalForValue(e[e.length-1]),i=1===e.length?n:(n-this.getDecimalForValue(e[e.length-2]))/2);const a=e.length<3?.5:.25;s=Bn(s,0,a),i=Bn(i,0,a),this._offsets={start:s,end:i,factor:1/(s+1+i)}}_generate(){const e=this._adapter,t=this.min,n=this.max,s=this.options,i=s.time,a=i.unit||pd(i.minUnit,t,n,this._getLabelCapacity(t)),r=sn(s.ticks.stepSize,1),o="week"===a&&i.isoWeekday,d=Pn(o)||!0===o,l={};let u,c,h=t;if(d&&(h=+e.startOf(h,"isoWeek",o)),h=+e.startOf(h,d?"day":a),e.diff(n,t,a)>1e5*r)throw new Error(t+" and "+n+" are too far apart with stepSize of "+r+" "+a);const _="data"===s.ticks.source&&this.getDataTimestamps();for(u=h,c=0;u+e))}getLabelForValue(e){const t=this._adapter,n=this.options.time;return n.tooltipFormat?t.format(e,n.tooltipFormat):t.format(e,n.displayFormats.datetime)}format(e,t){const n=this.options.time.displayFormats,s=this._unit,i=t||n[s];return this._adapter.format(e,i)}_tickFormatFunction(e,t,n,s){const i=this.options,a=i.ticks.callback;if(a)return rn(a,[e,t,n],this);const r=i.time.displayFormats,o=this._unit,d=this._majorUnit,l=o&&r[o],u=d&&r[d],c=n[t],h=d&&u&&c&&c.major;return this._adapter.format(e,s||(h?u:l))}generateTickLabels(e){let t,n,s;for(t=0,n=e.length;t0?r:1}getDataTimestamps(){let e,t,n=this._cache.data||[];if(n.length)return n;const s=this.getMatchingVisibleMetas();if(this._normalized&&s.length)return this._cache.data=s[0].controller.getAllParsedValues(this);for(e=0,t=s.length;e=e[o].pos&&t<=e[d].pos&&({lo:o,hi:d}=Jn(e,"pos",t)),({pos:s,time:a}=e[o]),({pos:i,time:r}=e[d])):(t>=e[o].time&&t<=e[d].time&&({lo:o,hi:d}=Jn(e,"time",t)),({time:s,pos:a}=e[o]),({time:i,pos:r}=e[d]));const l=i-s;return l?a+(r-a)*(t-s)/l:a}var bd=Object.freeze({__proto__:null,CategoryScale:class extends ir{static id="category";static defaults={ticks:{callback:Go}};constructor(e){super(e),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(e){const t=this._addedLabels;if(t.length){const e=this.getLabels();for(const{index:n,label:s}of t)e[n]===s&&e.splice(n,1);this._addedLabels=[]}super.init(e)}parse(e,t){if(Zt(e))return null;const n=this.getLabels();return((e,t)=>null===e?null:Bn(Math.round(e),0,t))(t=isFinite(t)&&n[t]===e?t:function(e,t,n,s){const i=e.indexOf(t);return-1===i?((e,t,n,s)=>("string"==typeof t?(n=e.push(t)-1,s.unshift({index:n,label:t})):isNaN(t)&&(n=null),n))(e,t,n,s):i!==e.lastIndexOf(t)?n:i}(n,e,sn(t,e),this._addedLabels),n.length-1)}determineDataLimits(){const{minDefined:e,maxDefined:t}=this.getUserBounds();let{min:n,max:s}=this.getMinMax(!0);"ticks"===this.options.bounds&&(e||(n=0),t||(s=this.getLabels().length-1)),this.min=n,this.max=s}buildTicks(){const e=this.min,t=this.max,n=this.options.offset,s=[];let i=this.getLabels();i=0===e&&t===i.length-1?i:i.slice(e,t+1),this._valueRange=Math.max(i.length-(n?0:1),1),this._startValue=this.min-(n?.5:0);for(let n=e;n<=t;n++)s.push({value:n});return s}getLabelForValue(e){return Go.call(this,e)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(e){return"number"!=typeof e&&(e=this.parse(e)),null===e?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getPixelForTick(e){const t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}},LinearScale:Zo,LogarithmicScale:sd,RadialLinearScale:cd,TimeScale:Md,TimeSeriesScale:class extends Md{static id="timeseries";static defaults=Md.defaults;constructor(e){super(e),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const e=this._getTimestampsForTable(),t=this._table=this.buildLookupTable(e);this._minPos=Ld(t,this.min),this._tableRange=Ld(t,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){const{min:t,max:n}=this,s=[],i=[];let a,r,o,d,l;for(a=0,r=e.length;a=t&&d<=n&&s.push(d);if(s.length<2)return[{time:t,pos:0},{time:n,pos:1}];for(a=0,r=s.length;ae-t))}_getTimestampsForTable(){let e=this._cache.all||[];if(e.length)return e;const t=this.getDataTimestamps(),n=this.getLabelTimestamps();return e=t.length&&n.length?this.normalize(t.concat(n)):t.length?t:n,e=this._cache.all=e,e}getDecimalForValue(e){return(Ld(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){const t=this._offsets,n=this.getDecimalForPixel(e)/t.factor-t.end;return Ld(this._table,n*this._tableRange+this._minPos,!0)}}});const Yd=[ua,Zr,qo,bd];Er.register(...Yd);class kd{selector;chart;chartData;http;entitySlug;consoleLogData=!1;lazyGetData=!1;fromDate;toDate;htmlElement=null;constructor(e,t,n,s,i=void 0){this.selector=e,this.fromDate=n,this.toDate=s,this.getHTMLElement(),i?this.chartData=i:this.startHttpClient(),this.entitySlug=t}getHTMLElement(){this.htmlElement=document.getElementById(this.selector)}getEndPoint(){return this.htmlElement.dataset.endpoint}getChartData(){if(!this.chartData&&this.htmlElement){let e={params:{fromDate:this.fromDate?this.fromDate:null,toDate:this.toDate?this.toDate:null}};this.http?.get(this.getEndPoint(),e).then((e=>{this.chartData=e.data,this.consoleLogData&&console.log(e),this.renderChart()}))}else this.renderChart()}startHttpClient(){this.http=Mt.create({}),this.lazyGetData||this.getChartData()}renderChart(){}}class Dd extends kd{renderChart(){if(this.chartData){let e=this.chartData.results.entity_name,t=this.chartData.results.pnl_data,n=Object.keys(t),s=n.map((e=>t[e].GROUP_INCOME)),i=n.map((e=>t[e].GROUP_EXPENSES)),a={labels:n,datasets:[{label:"Income",backgroundColor:"rgb(70,160,45)",borderColor:"rgb(115,255,99)",data:s},{label:"Expenses",backgroundColor:"rgb(231,46,75)",borderColor:"rgb(255, 99, 132)",data:i}]};const r=document.getElementById(this.selector);let o={plugins:{title:{display:!0,text:`${e} - Income & Expenses`,font:{size:20}},tooltip:{callbacks:{}}},aspectRatio:1,scales:{y:{beginAtZero:!0}}};this.chart=new Er(r,{type:"bar",data:a,options:o})}}}class vd extends kd{renderChart(){if(this.chartData){let e=this.chartData.results.net_payable_data,t=Object.keys(e),n=t.map((t=>e[t])),s={labels:t.map((e=>e.replace("_"," ").toUpperCase())),datasets:[{borderColor:"rgb(195,195,195)",borderWidth:.75,backgroundColor:["rgba(102, 24, 0, 1)","rgba(255, 95, 46, 1)","rgba(252, 190, 50, 1)","rgba(0,210,1,1)","rgba(225, 238, 246, 1)"],data:n}]};const i=document.getElementById(this.selector);let a={plugins:{title:{display:!0,position:"top",text:"Net Payables 0-90+ Days",font:{size:20}},tooltip:{callbacks:{}}},aspectRatio:1,scales:{y:{beginAtZero:!0}}};this.chart=new Er(i,{type:"doughnut",data:s,options:a})}}}class wd extends kd{renderChart(){if(this.chartData){let e=this.chartData.results.net_receivable_data,t=Object.keys(e),n=t.map((t=>e[t])),s={labels:t.map((e=>e.replace("_"," ").toUpperCase())),datasets:[{borderColor:"rgb(195,195,195)",borderWidth:.75,backgroundColor:["rgba(102, 24, 0, 1)","rgba(255, 95, 46, 1)","rgba(252, 190, 50, 1)","rgba(0,210,1,1)","rgba(225, 238, 246, 1)"],data:n}]};const i=document.getElementById(this.selector);let a={plugins:{title:{display:!0,position:"top",text:"Net Receivables 0-90+ Days",font:{size:20}},tooltip:{callbacks:{}}},aspectRatio:1,scales:{y:{beginAtZero:!0}}};this.chart=new Er(i,{type:"doughnut",data:s,options:a})}}}const xd=Object.freeze({left:0,top:0,width:16,height:16}),Td=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Sd=Object.freeze({...xd,...Td}),Hd=Object.freeze({...Sd,body:"",hidden:!1}),jd=Object.freeze({width:null,height:null}),Od=Object.freeze({...jd,...Td}),Pd=/[\s,]+/,Ed={...Od,preserveAspectRatio:""};function Ad(e){const t={...Ed},n=(t,n)=>e.getAttribute(t)||n;var s;return t.width=n("width",null),t.height=n("height",null),t.rotate=function(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function s(e){for(;e<0;)e+=4;return e%4}if(""===n){const t=parseInt(e);return isNaN(t)?0:s(t)}if(n!==e){let t=0;switch(n){case"%":t=25;break;case"deg":t=90}if(t){let i=parseFloat(e.slice(0,e.length-n.length));return isNaN(i)?0:(i/=t,i%1==0?s(i):0)}}return t}(n("rotate","")),s=t,n("flip","").split(Pd).forEach((e=>{switch(e.trim()){case"horizontal":s.hFlip=!0;break;case"vertical":s.vFlip=!0}})),t.preserveAspectRatio=n("preserveAspectRatio",n("preserveaspectratio","")),t}const Cd=/^[a-z0-9]+(-[a-z0-9]+)*$/,Rd=(e,t,n,s="")=>{const i=e.split(":");if("@"===e.slice(0,1)){if(i.length<2||i.length>3)return null;s=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){const e=i.pop(),n=i.pop(),a={provider:i.length>0?i[0]:s,prefix:n,name:e};return t&&!Fd(a)?null:a}const a=i[0],r=a.split("-");if(r.length>1){const e={provider:s,prefix:r.shift(),name:r.join("-")};return t&&!Fd(e)?null:e}if(n&&""===s){const e={provider:s,prefix:"",name:a};return t&&!Fd(e,n)?null:e}return null},Fd=(e,t)=>!!e&&!(!(t&&""===e.prefix||e.prefix)||!e.name);function Wd(e,t){const n=function(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const s=((e.rotate||0)+(t.rotate||0))%4;return s&&(n.rotate=s),n}(e,t);for(const s in Hd)s in Td?s in e&&!(s in n)&&(n[s]=Td[s]):s in t?n[s]=t[s]:s in e&&(n[s]=e[s]);return n}function zd(e,t,n){const s=e.icons,i=e.aliases||Object.create(null);let a={};function r(e){a=Wd(s[e]||i[e],a)}return r(t),n.forEach(r),Wd(e,a)}function Nd(e,t){const n=[];if("object"!=typeof e||"object"!=typeof e.icons)return n;e.not_found instanceof Array&&e.not_found.forEach((e=>{t(e,null),n.push(e)}));const s=function(e){const t=e.icons,n=e.aliases||Object.create(null),s=Object.create(null);return Object.keys(t).concat(Object.keys(n)).forEach((function e(i){if(t[i])return s[i]=[];if(!(i in s)){s[i]=null;const t=n[i]&&n[i].parent,a=t&&e(t);a&&(s[i]=[t].concat(a))}return s[i]})),s}(e);for(const i in s){const a=s[i];a&&(t(i,zd(e,i,a)),n.push(i))}return n}const Id={provider:"",aliases:{},not_found:{},...xd};function Bd(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Vd(e){if("object"!=typeof e||null===e)return null;const t=e;if("string"!=typeof t.prefix||!e.icons||"object"!=typeof e.icons)return null;if(!Bd(e,Id))return null;const n=t.icons;for(const e in n){const t=n[e];if(!e||"string"!=typeof t.body||!Bd(t,Hd))return null}const s=t.aliases||Object.create(null);for(const e in s){const t=s[e],i=t.parent;if(!e||"string"!=typeof i||!n[i]&&!s[i]||!Bd(t,Hd))return null}return t}const Ud=Object.create(null);function Jd(e,t){const n=Ud[e]||(Ud[e]=Object.create(null));return n[t]||(n[t]=function(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}(e,t))}function $d(e,t){return Vd(t)?Nd(t,((t,n)=>{n?e.icons[t]=n:e.missing.add(t)})):[]}function qd(e,t){let n=[];return("string"==typeof e?[e]:Object.keys(Ud)).forEach((e=>{("string"==typeof e&&"string"==typeof t?[t]:Object.keys(Ud[e]||{})).forEach((t=>{const s=Jd(e,t);n=n.concat(Object.keys(s.icons).map((n=>(""!==e?"@"+e+":":"")+t+":"+n)))}))})),n}let Gd=!1;function Kd(e){return"boolean"==typeof e&&(Gd=e),Gd}function Xd(e){const t="string"==typeof e?Rd(e,!0,Gd):e;if(t){const e=Jd(t.provider,t.prefix),n=t.name;return e.icons[n]||(e.missing.has(n)?null:void 0)}}function Zd(e,t){const n=Rd(e,!0,Gd);if(!n)return!1;const s=Jd(n.provider,n.prefix);return t?function(e,t,n){try{if("string"==typeof n.body)return e.icons[t]={...n},!0}catch(e){}return!1}(s,n.name,t):(s.missing.add(n.name),!0)}function Qd(e,t){if("object"!=typeof e)return!1;if("string"!=typeof t&&(t=e.provider||""),Gd&&!t&&!e.prefix){let t=!1;return Vd(e)&&(e.prefix="",Nd(e,((e,n)=>{Zd(e,n)&&(t=!0)}))),t}const n=e.prefix;return!!Fd({provider:t,prefix:n,name:"a"})&&!!$d(Jd(t,n),e)}function el(e){return!!Xd(e)}function tl(e){const t=Xd(e);return t?{...Sd,...t}:t}function nl(e,t){e.forEach((e=>{const n=e.loaderCallbacks;n&&(e.loaderCallbacks=n.filter((e=>e.id!==t)))}))}let sl=0;const il=Object.create(null);function al(e,t){il[e]=t}function rl(e){return il[e]||il[""]}var ol={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function dl(e){const t={...ol,...e};let n=[];function s(){n=n.filter((e=>"pending"===e().status))}const i={query:function(e,i,a){const r=function(e,t,n,s){const i=e.resources.length,a=e.random?Math.floor(Math.random()*i):e.index;let r;if(e.random){let t=e.resources.slice(0);for(r=[];t.length>1;){const e=Math.floor(Math.random()*t.length);r.push(t[e]),t=t.slice(0,e).concat(t.slice(e+1))}r=r.concat(t)}else r=e.resources.slice(a).concat(e.resources.slice(0,a));const o=Date.now();let d,l="pending",u=0,c=null,h=[],_=[];function m(){c&&(clearTimeout(c),c=null)}function f(){"pending"===l&&(l="aborted"),m(),h.forEach((e=>{"pending"===e.status&&(e.status="aborted")})),h=[]}function p(e,t){t&&(_=[]),"function"==typeof e&&_.push(e)}function g(){l="failed",_.forEach((e=>{e(void 0,d)}))}function y(){h.forEach((e=>{"pending"===e.status&&(e.status="aborted")})),h=[]}return"function"==typeof s&&_.push(s),setTimeout((function s(){if("pending"!==l)return;m();const i=r.shift();if(void 0===i)return h.length?void(c=setTimeout((()=>{m(),"pending"===l&&(y(),g())}),e.timeout)):void g();const a={status:"pending",resource:i,callback:(t,n)=>{!function(t,n,i){const a="success"!==n;switch(h=h.filter((e=>e!==t)),l){case"pending":break;case"failed":if(a||!e.dataAfterTimeout)return;break;default:return}if("abort"===n)return d=i,void g();if(a)return d=i,void(h.length||(r.length?s():g()));if(m(),y(),!e.random){const n=e.resources.indexOf(t.resource);-1!==n&&n!==e.index&&(e.index=n)}l="completed",_.forEach((e=>{e(i)}))}(a,t,n)}};h.push(a),u++,c=setTimeout(s,e.rotate),n(i,t,a.callback)})),function(){return{startTime:o,payload:t,status:l,queriesSent:u,queriesPending:h.length,subscribe:p,abort:f}}}(t,e,i,((e,t)=>{s(),a&&a(e,t)}));return n.push(r),r},find:function(e){return n.find((t=>e(t)))||null},setIndex:e=>{t.index=e},getIndex:()=>t.index,cleanup:s};return i}function ll(e){let t;if("string"==typeof e.resources)t=[e.resources];else if(t=e.resources,!(t instanceof Array&&t.length))return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:!0===e.random,index:e.index||0,dataAfterTimeout:!1!==e.dataAfterTimeout}}const ul=Object.create(null),cl=["https://api.simplesvg.com","https://api.unisvg.com"],hl=[];for(;cl.length>0;)1===cl.length||Math.random()>.5?hl.push(cl.shift()):hl.push(cl.pop());function _l(e,t){const n=ll(t);return null!==n&&(ul[e]=n,!0)}function ml(e){return ul[e]}function fl(){return Object.keys(ul)}function pl(){}ul[""]=ll({resources:["https://api.iconify.design"].concat(hl)});const gl=Object.create(null);function yl(e,t,n){let s,i;if("string"==typeof e){const t=rl(e);if(!t)return n(void 0,424),pl;i=t.send;const a=function(e){if(!gl[e]){const t=ml(e);if(!t)return;const n={config:t,redundancy:dl(t)};gl[e]=n}return gl[e]}(e);a&&(s=a.redundancy)}else{const t=ll(e);if(t){s=dl(t);const n=rl(e.resources?e.resources[0]:"");n&&(i=n.send)}}return s&&i?s.query(t,i,n)().abort:(n(void 0,424),pl)}const Ml="iconify2",Ll="iconify",bl=Ll+"-count",Yl=Ll+"-version",kl=36e5;function Dl(e,t){try{return e.getItem(t)}catch(e){}}function vl(e,t,n){try{return e.setItem(t,n),!0}catch(e){}}function wl(e,t){try{e.removeItem(t)}catch(e){}}function xl(e,t){return vl(e,bl,t.toString())}function Tl(e){return parseInt(Dl(e,bl))||0}const Sl={local:!0,session:!0},Hl={local:new Set,session:new Set};let jl=!1,Ol="undefined"==typeof window?{}:window;function Pl(e){const t=e+"Storage";try{if(Ol&&Ol[t]&&"number"==typeof Ol[t].length)return Ol[t]}catch(e){}Sl[e]=!1}function El(e,t){const n=Pl(e);if(!n)return;const s=Dl(n,Yl);if(s!==Ml){if(s){const e=Tl(n);for(let t=0;t{const s=Ll+e.toString(),a=Dl(n,s);if("string"==typeof a){try{const n=JSON.parse(a);if("object"==typeof n&&"number"==typeof n.cached&&n.cached>i&&"string"==typeof n.provider&&"object"==typeof n.data&&"string"==typeof n.data.prefix&&t(n,e))return!0}catch(e){}wl(n,s)}};let r=Tl(n);for(let t=r-1;t>=0;t--)a(t)||(t===r-1?(r--,xl(n,r)):Hl[e].add(t))}function Al(){if(!jl){jl=!0;for(const e in Sl)El(e,(e=>{const t=e.data,n=Jd(e.provider,t.prefix);if(!$d(n,t).length)return!1;const s=t.lastModified||-1;return n.lastModifiedCached=n.lastModifiedCached?Math.min(n.lastModifiedCached,s):s,!0}))}}function Cl(){}function Rl(e,t,n,s){function i(){const n=e.pendingIcons;t.forEach((t=>{n&&n.delete(t),e.icons[t]||e.missing.add(t)}))}if(n&&"object"==typeof n)try{if(!$d(e,n).length)return void i();s&&function(e,t){function n(n){let s;if(!Sl[n]||!(s=Pl(n)))return;const i=Hl[n];let a;if(i.size)i.delete(a=Array.from(i).shift());else if(a=Tl(s),a>=50||!xl(s,a+1))return;const r={cached:Math.floor(Date.now()/kl),provider:e.provider,data:t};return vl(s,Ll+a.toString(),JSON.stringify(r))}jl||Al(),t.lastModified&&!function(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const n in Sl)El(n,(n=>{const s=n.data;return n.provider!==e.provider||s.prefix!==e.prefix||s.lastModified===t}));return!0}(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&delete(t=Object.assign({},t)).not_found,n("local")||n("session"))}(e,n)}catch(e){console.error(e)}i(),function(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout((()=>{e.iconsLoaderFlag=!1,function(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout((()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const s=e.provider,i=e.prefix;t.forEach((t=>{const a=t.icons,r=a.pending.length;a.pending=a.pending.filter((t=>{if(t.prefix!==i)return!0;const r=t.name;if(e.icons[r])a.loaded.push({provider:s,prefix:i,name:r});else{if(!e.missing.has(r))return n=!0,!0;a.missing.push({provider:s,prefix:i,name:r})}return!1})),a.pending.length!==r&&(n||nl([e],t.id),t.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),t.abort))}))})))}(e)})))}(e)}function Fl(e,t){e instanceof Promise?e.then((e=>{t(e)})).catch((()=>{t(null)})):t(e)}const Wl=(e,t)=>{const n=function(e,t=!0,n=!1){const s=[];return e.forEach((e=>{const i="string"==typeof e?Rd(e,t,n):e;i&&s.push(i)})),s}(e,!0,Kd()),s=function(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort(((e,t)=>e.provider!==t.provider?e.provider.localeCompare(t.provider):e.prefix!==t.prefix?e.prefix.localeCompare(t.prefix):e.name.localeCompare(t.name)));let s={provider:"",prefix:"",name:""};return e.forEach((e=>{if(s.name===e.name&&s.prefix===e.prefix&&s.provider===e.provider)return;s=e;const i=e.provider,a=e.prefix,r=e.name,o=n[i]||(n[i]=Object.create(null)),d=o[a]||(o[a]=Jd(i,a));let l;l=r in d.icons?t.loaded:""===a||d.missing.has(r)?t.missing:t.pending;const u={provider:i,prefix:a,name:r};l.push(u)})),t}(n);if(!s.pending.length){let e=!0;return t&&setTimeout((()=>{e&&t(s.loaded,s.missing,s.pending,Cl)})),()=>{e=!1}}const i=Object.create(null),a=[];let r,o;return s.pending.forEach((e=>{const{provider:t,prefix:n}=e;if(n===o&&t===r)return;r=t,o=n,a.push(Jd(t,n));const s=i[t]||(i[t]=Object.create(null));s[n]||(s[n]=[])})),s.pending.forEach((e=>{const{provider:t,prefix:n,name:s}=e,a=Jd(t,n),r=a.pendingIcons||(a.pendingIcons=new Set);r.has(s)||(r.add(s),i[t][n].push(s))})),a.forEach((e=>{const t=i[e.provider][e.prefix];t.length&&function(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout((()=>{e.iconsQueueFlag=!1;const{provider:t,prefix:n}=e,s=e.iconsToLoad;if(delete e.iconsToLoad,!s||!s.length)return;const i=e.loadIcon;if(e.loadIcons&&(s.length>1||!i))return void Fl(e.loadIcons(s,n,t),(t=>{Rl(e,s,t,!1)}));if(i)return void s.forEach((s=>{Fl(i(s,n,t),(t=>{Rl(e,[s],t?{prefix:n,icons:{[s]:t}}:null,!1)}))}));const{valid:a,invalid:r}=function(e){const t=[],n=[];return e.forEach((e=>{(e.match(Cd)?t:n).push(e)})),{valid:t,invalid:n}}(s);if(r.length&&Rl(e,r,null,!1),!a.length)return;const o=n.match(Cd)?rl(t):null;o?o.prepare(t,n,a).forEach((n=>{yl(t,n,(t=>{Rl(e,n.icons,t,!0)}))})):Rl(e,a,null,!1)})))}(e,t)})),t?function(e,t,n){const s=sl++,i=nl.bind(null,n,s);if(!t.pending.length)return i;const a={id:s,icons:t,callback:e,abort:i};return n.forEach((e=>{(e.loaderCallbacks||(e.loaderCallbacks=[])).push(a)})),i}(t,s,a):Cl},zl=e=>new Promise(((t,n)=>{const s="string"==typeof e?Rd(e,!0):e;s?Wl([s||e],(i=>{if(i.length&&s){const e=Xd(s);if(e)return void t({...Sd,...e})}n(e)})):n(e)}));function Nl(e){try{const t="string"==typeof e?JSON.parse(e):e;if("string"==typeof t.body)return{...t}}catch(e){}}let Il=!1;try{Il=0===navigator.vendor.indexOf("Apple")}catch(e){}const Bl=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Vl=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Ul(e,t,n){if(1===t)return e;if(n=n||100,"number"==typeof e)return Math.ceil(e*t*n)/n;if("string"!=typeof e)return e;const s=e.split(Bl);if(null===s||!s.length)return e;const i=[];let a=s.shift(),r=Vl.test(a);for(;;){if(r){const e=parseFloat(a);isNaN(e)?i.push(a):i.push(Math.ceil(e*t*n)/n)}else i.push(a);if(a=s.shift(),void 0===a)return i.join("");r=!r}}function Jl(e,t){const n={...Sd,...e},s={...Od,...t},i={left:n.left,top:n.top,width:n.width,height:n.height};let a=n.body;[n,s].forEach((e=>{const t=[],n=e.hFlip,s=e.vFlip;let r,o=e.rotate;switch(n?s?o+=2:(t.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),t.push("scale(-1 1)"),i.top=i.left=0):s&&(t.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),t.push("scale(1 -1)"),i.top=i.left=0),o<0&&(o-=4*Math.floor(o/4)),o%=4,o){case 1:r=i.height/2+i.top,t.unshift("rotate(90 "+r.toString()+" "+r.toString()+")");break;case 2:t.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:r=i.width/2+i.left,t.unshift("rotate(-90 "+r.toString()+" "+r.toString()+")")}o%2==1&&(i.left!==i.top&&(r=i.left,i.left=i.top,i.top=r),i.width!==i.height&&(r=i.width,i.width=i.height,i.height=r)),t.length&&(a=function(e,t){const n=function(e,t="defs"){let n="";const s=e.indexOf("<"+t);for(;s>=0;){const i=e.indexOf(">",s),a=e.indexOf("",a);if(-1===r)break;n+=e.slice(i+1,a).trim(),e=e.slice(0,s).trim()+e.slice(r+1)}return{defs:n,content:e}}(e);return s=n.defs,i=t+n.content+"",s?""+s+""+i:i;var s,i}(a,''))}));const r=s.width,o=s.height,d=i.width,l=i.height;let u,c;null===r?(c=null===o?"1em":"auto"===o?l:o,u=Ul(c,d/l)):(u="auto"===r?d:r,c=null===o?Ul(u,l/d):"auto"===o?l:o);const h={},_=(e,t)=>{(e=>"unset"===e||"undefined"===e||"none"===e)(t)||(h[e]=t.toString())};_("width",u),_("height",c);const m=[i.left,i.top,d,l];return h.viewBox=m.join(" "),{attributes:h,viewBox:m,body:a}}function $l(e,t){let n=-1===e.indexOf("xlink:")?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const e in t)n+=" "+e+'="'+t[e]+'"';return'"+e+""}function ql(e){return'url("'+function(e){return"data:image/svg+xml,"+function(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}(e)}(e)+'")'}let Gl=(()=>{let e;try{if(e=fetch,"function"==typeof e)return e}catch(e){}})();function Kl(e){Gl=e}function Xl(){return Gl}const Zl={prepare:(e,t,n)=>{const s=[],i=function(e,t){const n=ml(e);if(!n)return 0;let s;if(n.maxURL){let e=0;n.resources.forEach((t=>{const n=t;e=Math.max(e,n.length)}));const i=t+".json?icons=";s=n.maxURL-e-n.path.length-i.length}else s=0;return s}(e,t),a="icons";let r={type:a,provider:e,prefix:t,icons:[]},o=0;return n.forEach(((n,d)=>{o+=n.length+1,o>=i&&d>0&&(s.push(r),r={type:a,provider:e,prefix:t,icons:[]},o=n.length),r.icons.push(n)})),s.push(r),s},send:(e,t,n)=>{if(!Gl)return void n("abort",424);let s=function(e){if("string"==typeof e){const t=ml(e);if(t)return t.path}return"/"}(t.provider);switch(t.type){case"icons":{const e=t.prefix,n=t.icons.join(",");s+=e+".json?"+new URLSearchParams({icons:n}).toString();break}case"custom":{const e=t.uri;s+="/"===e.slice(0,1)?e.slice(1):e;break}default:return void n("abort",400)}let i=503;Gl(e+s).then((e=>{const t=e.status;if(200===t)return i=501,e.json();setTimeout((()=>{n(function(e){return 404===e}(t)?"abort":"next",t)}))})).then((e=>{"object"==typeof e&&null!==e?setTimeout((()=>{n("success",e)})):setTimeout((()=>{404===e?n("abort",e):n("next",i)}))})).catch((()=>{n("next",i)}))}};function Ql(e,t,n){Jd(n||"",t).loadIcons=e}function eu(e,t,n){Jd(n||"",t).loadIcon=e}function tu(e,t){switch(e){case"local":case"session":Sl[e]=t;break;case"all":for(const e in Sl)Sl[e]=t}}const nu="data-style";let su="";function iu(e){su=e}function au(e,t){let n=Array.from(e.childNodes).find((e=>e.hasAttribute&&e.hasAttribute(nu)));n||(n=document.createElement("style"),n.setAttribute(nu,nu),e.appendChild(n)),n.textContent=":host{display:inline-block;vertical-align:"+(t?"-0.125em":"0")+"}span,svg{display:block;margin:auto}"+su}function ru(){let e;al("",Zl),Kd(!0);try{e=window}catch(e){}if(e){if(Al(),void 0!==e.IconifyPreload){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";"object"==typeof t&&null!==t&&(t instanceof Array?t:[t]).forEach((e=>{try{("object"!=typeof e||null===e||e instanceof Array||"object"!=typeof e.icons||"string"!=typeof e.prefix||!Qd(e))&&console.error(n)}catch(e){console.error(n)}}))}if(void 0!==e.IconifyProviders){const t=e.IconifyProviders;if("object"==typeof t&&null!==t)for(const e in t){const n="IconifyProviders["+e+"] is invalid.";try{const s=t[e];if("object"!=typeof s||!s||void 0===s.resources)continue;_l(e,s)||console.error(n)}catch(e){console.error(n)}}}}return{enableCache:e=>tu(e,!0),disableCache:e=>tu(e,!1),iconLoaded:el,iconExists:el,getIcon:tl,listIcons:qd,addIcon:Zd,addCollection:Qd,calculateSize:Ul,buildIcon:Jl,iconToHTML:$l,svgToURL:ql,loadIcons:Wl,loadIcon:zl,addAPIProvider:_l,setCustomIconLoader:eu,setCustomIconsLoader:Ql,appendCustomStyle:iu,_api:{getAPIConfig:ml,setAPIModule:al,sendAPIQuery:yl,setFetch:Kl,getFetch:Xl,listAPIProviders:fl}}}const ou={"background-color":"currentColor"},du={"background-color":"transparent"},lu={image:"var(--svg)",repeat:"no-repeat",size:"100% 100%"},uu={"-webkit-mask":ou,mask:ou,background:du};for(const e in uu){const t=uu[e];for(const n in lu)t[e+"-"+n]=lu[n]}function cu(e){return e?e+(e.match(/^[-0-9.]+$/)?"px":""):"inherit"}let hu;function _u(e){return Array.from(e.childNodes).find((e=>{const t=e.tagName&&e.tagName.toUpperCase();return"SPAN"===t||"SVG"===t}))}function mu(e,t){const n=t.icon.data,s=t.customisations,i=Jl(n,s);s.preserveAspectRatio&&(i.attributes.preserveAspectRatio=s.preserveAspectRatio);const a=t.renderedMode;let r;r="svg"===a?function(e){const t=document.createElement("span"),n=e.attributes;let s="";n.width||(s="width: inherit;"),n.height||(s+="height: inherit;"),s&&(n.style=s);const i=$l(e.body,n);return t.innerHTML=function(e){return void 0===hu&&function(){try{hu=window.trustedTypes.createPolicy("iconify",{createHTML:e=>e})}catch(e){hu=null}}(),hu?hu.createHTML(e):e}(i),t.firstChild}(i):function(e,t,n){const s=document.createElement("span");let i=e.body;-1!==i.indexOf("{this._check()})))}_check(){if(!this._checkQueued)return;this._checkQueued=!1;const e=this._state,t=this.getAttribute("icon");if(t!==e.icon.value)return void this._iconChanged(t);if(!e.rendered||!this._visible)return;const n=this.getAttribute("mode"),s=Ad(this);e.attrMode===n&&!function(e,t){for(const n in Ed)if(e[n]!==t[n])return!0;return!1}(e.customisations,s)&&_u(this._shadowRoot)||this._renderIcon(e.icon,s,n)}_iconChanged(e){const t=function(e,t){if("object"==typeof e)return{data:Nl(e),value:e};if("string"!=typeof e)return{value:e};if(e.includes("{")){const t=Nl(e);if(t)return{data:t,value:e}}const n=Rd(e,!0,!0);if(!n)return{value:e};const s=Xd(n);if(void 0!==s||!n.prefix)return{value:e,name:n,data:s};const i=Wl([n],(()=>t(e,n,Xd(n))));return{value:e,name:n,loading:i}}(e,((e,t,n)=>{const s=this._state;if(s.rendered||this.getAttribute("icon")!==e)return;const i={value:e,name:t,data:n};i.data?this._gotIconData(i):s.icon=i}));t.data?this._gotIconData(t):this._state=fu(t,this._state.inline,this._state)}_forceRender(){if(this._visible)this._queueCheck();else{const e=_u(this._shadowRoot);e&&this._shadowRoot.removeChild(e)}}_gotIconData(e){this._checkQueued=!1,this._renderIcon(e,Ad(this),this.getAttribute("mode"))}_renderIcon(e,t,n){const s=function(e,t){switch(t){case"svg":case"bg":case"mask":return t}return"style"===t||!Il&&-1!==e.indexOf("{const t=e.some((e=>e.isIntersecting));t!==this._visible&&(this._visible=t,this._forceRender())})),this._observer.observe(this)}catch(e){if(this._observer){try{this._observer.disconnect()}catch(e){}this._observer=null}}}stopObserver(){this._observer&&(this._observer.disconnect(),this._observer=null,this._visible=!0,this._connected&&this._forceRender())}};i.forEach((e=>{e in a.prototype||Object.defineProperty(a.prototype,e,{get:function(){return this.getAttribute(e)},set:function(t){null!==t?this.setAttribute(e,t):this.removeAttribute(e)}})}));const r=ru();for(const e in r)a[e]=a.prototype[e]=r[e];return t.define(e,a),a}()||ru(),{enableCache:gu,disableCache:yu,iconLoaded:Mu,iconExists:Lu,getIcon:bu,listIcons:Yu,addIcon:ku,addCollection:Du,calculateSize:vu,buildIcon:wu,iconToHTML:xu,svgToURL:Tu,loadIcons:Su,loadIcon:Hu,setCustomIconLoader:ju,setCustomIconsLoader:Ou,addAPIProvider:Pu,_api:Eu}=pu;var Au=n(8199);function Cu(e,t,n,s){return new Dd(e,t,n,s)}function Ru(e,t,n,s){return new vd(e,t,n,s)}function Fu(e,t,n,s){return new wd(e,t,n,s)}function Wu(e){let t=document.getElementById(e);t&&t.classList.add("is-active","is-clipped")}function zu(e){let t=document.getElementById(e);t&&t.classList.remove("is-active","is-clipped")}function Nu(e){let t=document.getElementById(e);t&&(t.classList.toggle("is-active"),t.classList.toggle("is-clipped"))}function Iu(e,t){let n=document.forms.namedItem(e);n&&(n.submit(),t&&zu(t))}function Bu(e){let t=document.getElementById(e);t&&(t.classList.contains("is-active")?t.classList.remove("is-active"):t.classList.add("is-active"))}function Vu(e,t,n){let s=document.getElementById(t),i=document.getElementById(n);if(document.getElementById(e)&&s&&i){let e=i,t=s;console.log(e,t)}}function Uu(e,t){let n=document.getElementById(e);return n.dataset.baseurl,new Au({field:n,onSelect(e){const n=e.getFullYear(),s=e.getMonth()+1,i=e.getDate();window.location.href=`${t}date/${n}/${s}/${i}/`}})}new class{dateFilters=null;endDateFilters=null;constructor(){document.addEventListener("DOMContentLoaded",(()=>{(document.querySelectorAll(".notification .delete")||[]).forEach((e=>{let t;t=e.parentNode,e.addEventListener("click",(()=>{t.parentNode.removeChild(t)}))}))})),document.addEventListener("DOMContentLoaded",(()=>{const e=Array.prototype.slice.call(document.querySelectorAll(".navbar-burger"),0);e.length>0&&e.forEach((e=>{e.addEventListener("click",(()=>{const t=e.dataset.target,n=document.getElementById(t);e.classList.toggle("is-active"),n.classList.toggle("is-active")}))}))})),document.addEventListener("DOMContentLoaded",(()=>{(document.querySelectorAll(".djetler-set-entity-form-input")||[]).forEach((e=>{e.addEventListener("change",this.setEntityFilter)}))}))}getFlatPickrOptions(e=!1){return e?{wrap:!e,inline:e,onChange:(e,t,n)=>{let s=n._input.classList[1].split("-")[5];document.getElementById("djetler-end-date-icon-filter-form-"+s).submit()}}:{wrap:!e,inline:e,onChange:(e,t,n)=>{let s=n._input.classList[1].split("-")[5];document.getElementById("djetler-end-date-icon-filter-form-"+s).submit()}}}setEntityFilter(e){let t=e.target;if(t){let e=t.classList[2].split("-")[4],n=document.getElementById("djetler-set-entity-form-"+e);n&&n.submit()}}}})(),djLedger=s})(); \ No newline at end of file diff --git a/templates/base.html b/templates/base.html index f637a752..20875421 100644 --- a/templates/base.html +++ b/templates/base.html @@ -25,7 +25,9 @@ - + + + @@ -36,9 +38,9 @@ - + - + {% if LANGUAGE_CODE == 'en' %} @@ -46,34 +48,45 @@ {% endif %} - + + {% block customCSS %} {% endblock %} -
{% include 'header.html' %} -
- - {% block period_navigation %}{% endblock period_navigation %} -
- {% block content %} - {% endblock content%} - {% block body %} - {% endblock body%} - - -{% include 'footer.html' %} -
+
+ {% block period_navigation %}{% endblock period_navigation %} + {% block content %}{% endblock content%} + {% block body %}{% endblock body%} + {% include 'footer.html' %} +
- {% block customJS %} -{% endblock %} + + + + {% endblock %} @@ -89,6 +102,7 @@ + @@ -96,11 +110,10 @@ - + + + {% if date_navigation_url %} + let dateNavigationUrl = "{{ date_navigation_url }}" + let datePickers = document.querySelectorAll("[id^='djl-datepicker']") + datePickers.forEach(dp => djLedger.getCalendar(dp.attributes.id.value, dateNavigationUrl)) + {% endif %} + - \ No newline at end of file diff --git a/templates/header.html b/templates/header.html index f86811f1..ff2f3f65 100644 --- a/templates/header.html +++ b/templates/header.html @@ -251,6 +251,24 @@