From 167c554b92329d5ff59cc6836466bf4fe650a3a0 Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
<41898282+github-actions[bot]@users.noreply.github.com>
Date: Sun, 1 Oct 2023 07:37:29 +0000
Subject: [PATCH] Deploy to GitHub pages
---
.nojekyll | 0
404.html | 112 +
BUTR.Site.NexusMods.Client.styles.css | 49 +
.../blazorise.bootstrap5.css | 3205 +++++++++++++++++
.../blazorise.bootstrap5.min.css | 1 +
_content/Blazorise.Bootstrap5/modal.js | 120 +
_content/Blazorise.Bootstrap5/tooltip.js | 11 +
_content/Blazorise.Charts/charts.js | 485 +++
_content/Blazorise.Charts/utilities.js | 26 +
_content/Blazorise.DataGrid/datagrid.js | 39 +
.../Blazorise.Snackbar/blazorise.snackbar.css | 496 +++
.../blazorise.snackbar.min.css | 1 +
.../Blazorise.TreeView/blazorise.treeview.css | 31 +
.../blazorise.treeview.min.css | 1 +
_content/Blazorise/blazorise.css | 2453 +++++++++++++
_content/Blazorise/blazorise.min.css | 3 +
_content/Blazorise/breakpoint.js | 81 +
_content/Blazorise/button.js | 37 +
_content/Blazorise/closable.js | 155 +
_content/Blazorise/colorPicker.js | 210 ++
_content/Blazorise/datePicker.js | 320 ++
_content/Blazorise/dragDrop.js | 83 +
_content/Blazorise/dropdown.js | 46 +
_content/Blazorise/fileEdit.js | 201 ++
_content/Blazorise/filePicker.js | 67 +
_content/Blazorise/floatingUi.js | 38 +
_content/Blazorise/inputMask.js | 66 +
_content/Blazorise/io.js | 132 +
_content/Blazorise/memoEdit.js | 123 +
_content/Blazorise/numericPicker.js | 146 +
_content/Blazorise/observer.js | 54 +
_content/Blazorise/table.js | 225 ++
_content/Blazorise/textEdit.js | 52 +
_content/Blazorise/theme.js | 35 +
_content/Blazorise/timePicker.js | 199 +
_content/Blazorise/tooltip.js | 90 +
_content/Blazorise/utilities.js | 310 ++
.../validators/DateTimeMaskValidator.js | 16 +
_content/Blazorise/validators/NoValidator.js | 5 +
.../validators/NumericMaskValidator.js | 163 +
.../validators/RegExMaskValidator.js | 17 +
_content/Blazorise/vendors/Behave.js | 1 +
_content/Blazorise/vendors/Pickr.js | 18 +
_content/Blazorise/vendors/autoNumeric.js | 6 +
_content/Blazorise/vendors/flatpickr.js | 2 +
.../Blazorise/vendors/floating-ui-core.js | 7 +
_content/Blazorise/vendors/floating-ui.js | 7 +
_content/Blazorise/vendors/inputmask.js | 13 +
_content/Blazorise/vendors/jsencrypt.js | 2 +
_content/Blazorise/vendors/sha512.js | 9 +
.../AuthenticationService.js | 2 +
_framework/BUTR.Site.NexusMods.Client.dll | Bin 0 -> 485376 bytes
_framework/BUTR.Site.NexusMods.Client.dll.br | Bin 0 -> 135231 bytes
_framework/BUTR.Site.NexusMods.Client.dll.gz | Bin 0 -> 176092 bytes
_framework/BUTR.Site.NexusMods.Client.pdb.gz | Bin 0 -> 194389 bytes
.../BUTR.Site.NexusMods.ServerClient.dll | Bin 0 -> 341504 bytes
.../BUTR.Site.NexusMods.ServerClient.dll.br | Bin 0 -> 71451 bytes
.../BUTR.Site.NexusMods.ServerClient.dll.gz | Bin 0 -> 105485 bytes
.../BUTR.Site.NexusMods.ServerClient.pdb.gz | Bin 0 -> 26672 bytes
_framework/BUTR.Site.NexusMods.Shared.dll | Bin 0 -> 61440 bytes
_framework/BUTR.Site.NexusMods.Shared.dll.br | Bin 0 -> 20440 bytes
_framework/BUTR.Site.NexusMods.Shared.dll.gz | Bin 0 -> 24747 bytes
_framework/BUTR.Site.NexusMods.Shared.pdb.gz | Bin 0 -> 11431 bytes
_framework/Blazored.LocalStorage.dll | Bin 0 -> 31232 bytes
_framework/Blazored.LocalStorage.dll.br | Bin 0 -> 10924 bytes
_framework/Blazored.LocalStorage.dll.gz | Bin 0 -> 12800 bytes
_framework/Blazored.SessionStorage.dll | Bin 0 -> 31232 bytes
_framework/Blazored.SessionStorage.dll.br | Bin 0 -> 10910 bytes
_framework/Blazored.SessionStorage.dll.gz | Bin 0 -> 12826 bytes
_framework/Blazorise.Bootstrap5.dll | Bin 0 -> 111616 bytes
_framework/Blazorise.Bootstrap5.dll.br | Bin 0 -> 30825 bytes
_framework/Blazorise.Bootstrap5.dll.gz | Bin 0 -> 36190 bytes
_framework/Blazorise.Charts.dll | Bin 0 -> 131584 bytes
_framework/Blazorise.Charts.dll.br | Bin 0 -> 35726 bytes
_framework/Blazorise.Charts.dll.gz | Bin 0 -> 48871 bytes
_framework/Blazorise.Components.dll | Bin 0 -> 104960 bytes
_framework/Blazorise.Components.dll.br | Bin 0 -> 32785 bytes
_framework/Blazorise.Components.dll.gz | Bin 0 -> 40840 bytes
_framework/Blazorise.DataGrid.dll | Bin 0 -> 322560 bytes
_framework/Blazorise.DataGrid.dll.br | Bin 0 -> 93733 bytes
_framework/Blazorise.DataGrid.dll.gz | Bin 0 -> 119086 bytes
_framework/Blazorise.Icons.FontAwesome.dll | Bin 0 -> 66048 bytes
_framework/Blazorise.Icons.FontAwesome.dll.br | Bin 0 -> 18516 bytes
_framework/Blazorise.Icons.FontAwesome.dll.gz | Bin 0 -> 24482 bytes
_framework/Blazorise.Licensing.dll | Bin 0 -> 19968 bytes
_framework/Blazorise.Licensing.dll.br | Bin 0 -> 8360 bytes
_framework/Blazorise.Licensing.dll.gz | Bin 0 -> 9372 bytes
_framework/Blazorise.Snackbar.dll | Bin 0 -> 31744 bytes
_framework/Blazorise.Snackbar.dll.br | Bin 0 -> 11005 bytes
_framework/Blazorise.Snackbar.dll.gz | Bin 0 -> 12904 bytes
_framework/Blazorise.TreeView.dll | Bin 0 -> 62976 bytes
_framework/Blazorise.TreeView.dll.br | Bin 0 -> 21188 bytes
_framework/Blazorise.TreeView.dll.gz | Bin 0 -> 25838 bytes
_framework/Blazorise.dll | Bin 0 -> 1348608 bytes
_framework/Blazorise.dll.br | Bin 0 -> 305774 bytes
_framework/Blazorise.dll.gz | Bin 0 -> 413334 bytes
_framework/CsvHelper.dll | Bin 0 -> 211456 bytes
_framework/CsvHelper.dll.br | Bin 0 -> 69662 bytes
_framework/CsvHelper.dll.gz | Bin 0 -> 83346 bytes
_framework/DeepCloner.dll | Bin 0 -> 29184 bytes
_framework/DeepCloner.dll.br | Bin 0 -> 11617 bytes
_framework/DeepCloner.dll.gz | Bin 0 -> 13056 bytes
_framework/HtmlAgilityPack.dll | Bin 0 -> 163840 bytes
_framework/HtmlAgilityPack.dll.br | Bin 0 -> 52522 bytes
_framework/HtmlAgilityPack.dll.gz | Bin 0 -> 62720 bytes
_framework/Lambda2Js.dll | Bin 0 -> 57344 bytes
_framework/Lambda2Js.dll.br | Bin 0 -> 20146 bytes
_framework/Lambda2Js.dll.gz | Bin 0 -> 23166 bytes
.../Microsoft.AspNetCore.Authorization.dll | Bin 0 -> 24576 bytes
.../Microsoft.AspNetCore.Authorization.dll.br | Bin 0 -> 9587 bytes
.../Microsoft.AspNetCore.Authorization.dll.gz | Bin 0 -> 10803 bytes
...ft.AspNetCore.Components.Authorization.dll | Bin 0 -> 17408 bytes
...AspNetCore.Components.Authorization.dll.br | Bin 0 -> 6626 bytes
...AspNetCore.Components.Authorization.dll.gz | Bin 0 -> 7532 bytes
.../Microsoft.AspNetCore.Components.Forms.dll | Bin 0 -> 13312 bytes
...crosoft.AspNetCore.Components.Forms.dll.br | Bin 0 -> 5344 bytes
...crosoft.AspNetCore.Components.Forms.dll.gz | Bin 0 -> 6002 bytes
.../Microsoft.AspNetCore.Components.Web.dll | Bin 0 -> 52736 bytes
...Microsoft.AspNetCore.Components.Web.dll.br | Bin 0 -> 18602 bytes
...Microsoft.AspNetCore.Components.Web.dll.gz | Bin 0 -> 21863 bytes
...soft.AspNetCore.Components.WebAssembly.dll | Bin 0 -> 55808 bytes
...t.AspNetCore.Components.WebAssembly.dll.br | Bin 0 -> 21915 bytes
...t.AspNetCore.Components.WebAssembly.dll.gz | Bin 0 -> 24937 bytes
.../Microsoft.AspNetCore.Components.dll | Bin 0 -> 152576 bytes
.../Microsoft.AspNetCore.Components.dll.br | Bin 0 -> 55799 bytes
.../Microsoft.AspNetCore.Components.dll.gz | Bin 0 -> 63915 bytes
_framework/Microsoft.AspNetCore.Metadata.dll | Bin 0 -> 4608 bytes
.../Microsoft.AspNetCore.Metadata.dll.br | Bin 0 -> 1496 bytes
.../Microsoft.AspNetCore.Metadata.dll.gz | Bin 0 -> 1667 bytes
_framework/Microsoft.CSharp.dll | Bin 0 -> 220160 bytes
_framework/Microsoft.CSharp.dll.br | Bin 0 -> 83617 bytes
_framework/Microsoft.CSharp.dll.gz | Bin 0 -> 97880 bytes
....Extensions.Configuration.Abstractions.dll | Bin 0 -> 7168 bytes
...tensions.Configuration.Abstractions.dll.br | Bin 0 -> 2541 bytes
...tensions.Configuration.Abstractions.dll.gz | Bin 0 -> 2876 bytes
...rosoft.Extensions.Configuration.Binder.dll | Bin 0 -> 17920 bytes
...oft.Extensions.Configuration.Binder.dll.br | Bin 0 -> 7681 bytes
...oft.Extensions.Configuration.Binder.dll.gz | Bin 0 -> 8489 bytes
...icrosoft.Extensions.Configuration.Json.dll | Bin 0 -> 7680 bytes
...osoft.Extensions.Configuration.Json.dll.br | Bin 0 -> 3109 bytes
...osoft.Extensions.Configuration.Json.dll.gz | Bin 0 -> 3466 bytes
.../Microsoft.Extensions.Configuration.dll | Bin 0 -> 11264 bytes
.../Microsoft.Extensions.Configuration.dll.br | Bin 0 -> 4784 bytes
.../Microsoft.Extensions.Configuration.dll.gz | Bin 0 -> 5318 bytes
...sions.DependencyInjection.Abstractions.dll | Bin 0 -> 14336 bytes
...ns.DependencyInjection.Abstractions.dll.br | Bin 0 -> 4926 bytes
...ns.DependencyInjection.Abstractions.dll.gz | Bin 0 -> 5548 bytes
...crosoft.Extensions.DependencyInjection.dll | Bin 0 -> 35840 bytes
...soft.Extensions.DependencyInjection.dll.br | Bin 0 -> 15163 bytes
...soft.Extensions.DependencyInjection.dll.gz | Bin 0 -> 17079 bytes
_framework/Microsoft.Extensions.Http.dll | Bin 0 -> 31744 bytes
_framework/Microsoft.Extensions.Http.dll.br | Bin 0 -> 12435 bytes
_framework/Microsoft.Extensions.Http.dll.gz | Bin 0 -> 13972 bytes
...rosoft.Extensions.Logging.Abstractions.dll | Bin 0 -> 27136 bytes
...oft.Extensions.Logging.Abstractions.dll.br | Bin 0 -> 10551 bytes
...oft.Extensions.Logging.Abstractions.dll.gz | Bin 0 -> 12125 bytes
_framework/Microsoft.Extensions.Logging.dll | Bin 0 -> 17920 bytes
.../Microsoft.Extensions.Logging.dll.br | Bin 0 -> 7691 bytes
.../Microsoft.Extensions.Logging.dll.gz | Bin 0 -> 8657 bytes
...nsions.Options.ConfigurationExtensions.dll | Bin 0 -> 7168 bytes
...ons.Options.ConfigurationExtensions.dll.br | Bin 0 -> 2655 bytes
...ons.Options.ConfigurationExtensions.dll.gz | Bin 0 -> 2949 bytes
_framework/Microsoft.Extensions.Options.dll | Bin 0 -> 15360 bytes
.../Microsoft.Extensions.Options.dll.br | Bin 0 -> 6485 bytes
.../Microsoft.Extensions.Options.dll.gz | Bin 0 -> 7279 bytes
.../Microsoft.Extensions.Primitives.dll | Bin 0 -> 8704 bytes
.../Microsoft.Extensions.Primitives.dll.br | Bin 0 -> 3194 bytes
.../Microsoft.Extensions.Primitives.dll.gz | Bin 0 -> 3653 bytes
.../Microsoft.JSInterop.WebAssembly.dll | Bin 0 -> 8704 bytes
.../Microsoft.JSInterop.WebAssembly.dll.br | Bin 0 -> 3578 bytes
.../Microsoft.JSInterop.WebAssembly.dll.gz | Bin 0 -> 3964 bytes
_framework/Microsoft.JSInterop.dll | Bin 0 -> 40448 bytes
_framework/Microsoft.JSInterop.dll.br | Bin 0 -> 15769 bytes
_framework/Microsoft.JSInterop.dll.gz | Bin 0 -> 17850 bytes
_framework/Mono.Cecil.Mdb.dll | Bin 0 -> 39424 bytes
_framework/Mono.Cecil.Mdb.dll.br | Bin 0 -> 15872 bytes
_framework/Mono.Cecil.Mdb.dll.gz | Bin 0 -> 18026 bytes
_framework/Mono.Cecil.Pdb.dll | Bin 0 -> 89600 bytes
_framework/Mono.Cecil.Pdb.dll.br | Bin 0 -> 34321 bytes
_framework/Mono.Cecil.Pdb.dll.gz | Bin 0 -> 40636 bytes
_framework/Mono.Cecil.Rocks.dll | Bin 0 -> 26624 bytes
_framework/Mono.Cecil.Rocks.dll.br | Bin 0 -> 10912 bytes
_framework/Mono.Cecil.Rocks.dll.gz | Bin 0 -> 12277 bytes
_framework/Mono.Cecil.dll | Bin 0 -> 359424 bytes
_framework/Mono.Cecil.dll.br | Bin 0 -> 130632 bytes
_framework/Mono.Cecil.dll.gz | Bin 0 -> 157598 bytes
_framework/System.Collections.Concurrent.dll | Bin 0 -> 20480 bytes
.../System.Collections.Concurrent.dll.br | Bin 0 -> 7972 bytes
.../System.Collections.Concurrent.dll.gz | Bin 0 -> 8750 bytes
_framework/System.Collections.Immutable.dll | Bin 0 -> 29184 bytes
.../System.Collections.Immutable.dll.br | Bin 0 -> 11462 bytes
.../System.Collections.Immutable.dll.gz | Bin 0 -> 12805 bytes
_framework/System.Collections.NonGeneric.dll | Bin 0 -> 14336 bytes
.../System.Collections.NonGeneric.dll.br | Bin 0 -> 5219 bytes
.../System.Collections.NonGeneric.dll.gz | Bin 0 -> 5790 bytes
_framework/System.Collections.Specialized.dll | Bin 0 -> 19968 bytes
.../System.Collections.Specialized.dll.br | Bin 0 -> 7434 bytes
.../System.Collections.Specialized.dll.gz | Bin 0 -> 8346 bytes
_framework/System.Collections.dll | Bin 0 -> 16896 bytes
_framework/System.Collections.dll.br | Bin 0 -> 6838 bytes
_framework/System.Collections.dll.gz | Bin 0 -> 7504 bytes
.../System.ComponentModel.Annotations.dll | Bin 0 -> 11776 bytes
.../System.ComponentModel.Annotations.dll.br | Bin 0 -> 4818 bytes
.../System.ComponentModel.Annotations.dll.gz | Bin 0 -> 5346 bytes
.../System.ComponentModel.EventBasedAsync.dll | Bin 0 -> 8192 bytes
...stem.ComponentModel.EventBasedAsync.dll.br | Bin 0 -> 3230 bytes
...stem.ComponentModel.EventBasedAsync.dll.gz | Bin 0 -> 3591 bytes
.../System.ComponentModel.Primitives.dll | Bin 0 -> 12800 bytes
.../System.ComponentModel.Primitives.dll.br | Bin 0 -> 4728 bytes
.../System.ComponentModel.Primitives.dll.gz | Bin 0 -> 5364 bytes
.../System.ComponentModel.TypeConverter.dll | Bin 0 -> 111104 bytes
...System.ComponentModel.TypeConverter.dll.br | Bin 0 -> 39335 bytes
...System.ComponentModel.TypeConverter.dll.gz | Bin 0 -> 45675 bytes
_framework/System.ComponentModel.dll | Bin 0 -> 5120 bytes
_framework/System.ComponentModel.dll.br | Bin 0 -> 1712 bytes
_framework/System.ComponentModel.dll.gz | Bin 0 -> 1925 bytes
_framework/System.Console.dll | Bin 0 -> 13824 bytes
_framework/System.Console.dll.br | Bin 0 -> 5790 bytes
_framework/System.Console.dll.gz | Bin 0 -> 6682 bytes
_framework/System.Data.Common.dll | Bin 0 -> 475648 bytes
_framework/System.Data.Common.dll.br | Bin 0 -> 157251 bytes
_framework/System.Data.Common.dll.gz | Bin 0 -> 185998 bytes
_framework/System.Diagnostics.TraceSource.dll | Bin 0 -> 9728 bytes
.../System.Diagnostics.TraceSource.dll.br | Bin 0 -> 4155 bytes
.../System.Diagnostics.TraceSource.dll.gz | Bin 0 -> 4614 bytes
_framework/System.Drawing.Primitives.dll | Bin 0 -> 34816 bytes
_framework/System.Drawing.Primitives.dll.br | Bin 0 -> 11953 bytes
_framework/System.Drawing.Primitives.dll.gz | Bin 0 -> 15304 bytes
_framework/System.Drawing.dll | Bin 0 -> 4608 bytes
_framework/System.Drawing.dll.br | Bin 0 -> 1455 bytes
_framework/System.Drawing.dll.gz | Bin 0 -> 1630 bytes
_framework/System.Formats.Asn1.dll | Bin 0 -> 12800 bytes
_framework/System.Formats.Asn1.dll.br | Bin 0 -> 5385 bytes
_framework/System.Formats.Asn1.dll.gz | Bin 0 -> 6036 bytes
_framework/System.IO.Compression.dll | Bin 0 -> 29696 bytes
_framework/System.IO.Compression.dll.br | Bin 0 -> 11552 bytes
_framework/System.IO.Compression.dll.gz | Bin 0 -> 13086 bytes
_framework/System.Linq.Async.dll | Bin 0 -> 1112720 bytes
_framework/System.Linq.Async.dll.br | Bin 0 -> 274227 bytes
_framework/System.Linq.Async.dll.gz | Bin 0 -> 377772 bytes
_framework/System.Linq.Expressions.dll | Bin 0 -> 416256 bytes
_framework/System.Linq.Expressions.dll.br | Bin 0 -> 130462 bytes
_framework/System.Linq.Expressions.dll.gz | Bin 0 -> 157862 bytes
_framework/System.Linq.Queryable.dll | Bin 0 -> 19456 bytes
_framework/System.Linq.Queryable.dll.br | Bin 0 -> 7809 bytes
_framework/System.Linq.Queryable.dll.gz | Bin 0 -> 8697 bytes
_framework/System.Linq.dll | Bin 0 -> 54784 bytes
_framework/System.Linq.dll.br | Bin 0 -> 19644 bytes
_framework/System.Linq.dll.gz | Bin 0 -> 23402 bytes
_framework/System.Memory.dll | Bin 0 -> 14336 bytes
_framework/System.Memory.dll.br | Bin 0 -> 6046 bytes
_framework/System.Memory.dll.gz | Bin 0 -> 6707 bytes
_framework/System.Net.Http.dll | Bin 0 -> 139264 bytes
_framework/System.Net.Http.dll.br | Bin 0 -> 52359 bytes
_framework/System.Net.Http.dll.gz | Bin 0 -> 60225 bytes
_framework/System.Net.Primitives.dll | Bin 0 -> 12800 bytes
_framework/System.Net.Primitives.dll.br | Bin 0 -> 5517 bytes
_framework/System.Net.Primitives.dll.gz | Bin 0 -> 6215 bytes
_framework/System.Net.Requests.dll | Bin 0 -> 6656 bytes
_framework/System.Net.Requests.dll.br | Bin 0 -> 2311 bytes
_framework/System.Net.Requests.dll.gz | Bin 0 -> 2637 bytes
_framework/System.Net.WebHeaderCollection.dll | Bin 0 -> 4608 bytes
.../System.Net.WebHeaderCollection.dll.br | Bin 0 -> 1558 bytes
.../System.Net.WebHeaderCollection.dll.gz | Bin 0 -> 1795 bytes
_framework/System.Net.WebProxy.dll | Bin 0 -> 6656 bytes
_framework/System.Net.WebProxy.dll.br | Bin 0 -> 2692 bytes
_framework/System.Net.WebProxy.dll.gz | Bin 0 -> 2983 bytes
_framework/System.Net.WebSockets.Client.dll | Bin 0 -> 23040 bytes
.../System.Net.WebSockets.Client.dll.br | Bin 0 -> 9285 bytes
.../System.Net.WebSockets.Client.dll.gz | Bin 0 -> 10392 bytes
_framework/System.Net.WebSockets.dll | Bin 0 -> 8704 bytes
_framework/System.Net.WebSockets.dll.br | Bin 0 -> 3230 bytes
_framework/System.Net.WebSockets.dll.gz | Bin 0 -> 3674 bytes
_framework/System.ObjectModel.dll | Bin 0 -> 10240 bytes
_framework/System.ObjectModel.dll.br | Bin 0 -> 4051 bytes
_framework/System.ObjectModel.dll.gz | Bin 0 -> 4519 bytes
_framework/System.Private.CoreLib.dll | Bin 0 -> 1742336 bytes
_framework/System.Private.CoreLib.dll.br | Bin 0 -> 534237 bytes
_framework/System.Private.CoreLib.dll.gz | Bin 0 -> 650224 bytes
_framework/System.Private.Uri.dll | Bin 0 -> 68096 bytes
_framework/System.Private.Uri.dll.br | Bin 0 -> 27904 bytes
_framework/System.Private.Uri.dll.gz | Bin 0 -> 31165 bytes
_framework/System.Private.Xml.dll | Bin 0 -> 2017280 bytes
_framework/System.Private.Xml.dll.br | Bin 0 -> 573430 bytes
_framework/System.Private.Xml.dll.gz | Bin 0 -> 698137 bytes
_framework/System.Reflection.Extensions.dll | Bin 0 -> 4096 bytes
.../System.Reflection.Extensions.dll.br | Bin 0 -> 1354 bytes
.../System.Reflection.Extensions.dll.gz | Bin 0 -> 1497 bytes
_framework/System.Reflection.Metadata.dll | Bin 0 -> 7168 bytes
_framework/System.Reflection.Metadata.dll.br | Bin 0 -> 2630 bytes
_framework/System.Reflection.Metadata.dll.gz | Bin 0 -> 2961 bytes
_framework/System.Reflection.Primitives.dll | Bin 0 -> 4096 bytes
.../System.Reflection.Primitives.dll.br | Bin 0 -> 1388 bytes
.../System.Reflection.Primitives.dll.gz | Bin 0 -> 1560 bytes
_framework/System.Reflection.dll | Bin 0 -> 4608 bytes
_framework/System.Reflection.dll.br | Bin 0 -> 1436 bytes
_framework/System.Reflection.dll.gz | Bin 0 -> 1623 bytes
_framework/System.Runtime.Extensions.dll | Bin 0 -> 4096 bytes
_framework/System.Runtime.Extensions.dll.br | Bin 0 -> 1396 bytes
_framework/System.Runtime.Extensions.dll.gz | Bin 0 -> 1566 bytes
...tem.Runtime.InteropServices.JavaScript.dll | Bin 0 -> 38400 bytes
....Runtime.InteropServices.JavaScript.dll.br | Bin 0 -> 14890 bytes
....Runtime.InteropServices.JavaScript.dll.gz | Bin 0 -> 17005 bytes
_framework/System.Runtime.InteropServices.dll | Bin 0 -> 4608 bytes
.../System.Runtime.InteropServices.dll.br | Bin 0 -> 1527 bytes
.../System.Runtime.InteropServices.dll.gz | Bin 0 -> 1755 bytes
_framework/System.Runtime.Numerics.dll | Bin 0 -> 84480 bytes
_framework/System.Runtime.Numerics.dll.br | Bin 0 -> 28249 bytes
_framework/System.Runtime.Numerics.dll.gz | Bin 0 -> 32048 bytes
...ystem.Runtime.Serialization.Formatters.dll | Bin 0 -> 6656 bytes
...em.Runtime.Serialization.Formatters.dll.br | Bin 0 -> 2408 bytes
...em.Runtime.Serialization.Formatters.dll.gz | Bin 0 -> 2703 bytes
...ystem.Runtime.Serialization.Primitives.dll | Bin 0 -> 5120 bytes
...em.Runtime.Serialization.Primitives.dll.br | Bin 0 -> 1744 bytes
...em.Runtime.Serialization.Primitives.dll.gz | Bin 0 -> 1993 bytes
_framework/System.Runtime.dll | Bin 0 -> 12800 bytes
_framework/System.Runtime.dll.br | Bin 0 -> 3438 bytes
_framework/System.Runtime.dll.gz | Bin 0 -> 4145 bytes
_framework/System.Security.Claims.dll | Bin 0 -> 12288 bytes
_framework/System.Security.Claims.dll.br | Bin 0 -> 4813 bytes
_framework/System.Security.Claims.dll.gz | Bin 0 -> 5356 bytes
_framework/System.Security.Cryptography.dll | Bin 0 -> 44544 bytes
.../System.Security.Cryptography.dll.br | Bin 0 -> 17864 bytes
.../System.Security.Cryptography.dll.gz | Bin 0 -> 20557 bytes
_framework/System.Text.Encodings.Web.dll | Bin 0 -> 28160 bytes
_framework/System.Text.Encodings.Web.dll.br | Bin 0 -> 8906 bytes
_framework/System.Text.Encodings.Web.dll.gz | Bin 0 -> 9959 bytes
_framework/System.Text.Json.dll | Bin 0 -> 332800 bytes
_framework/System.Text.Json.dll.br | Bin 0 -> 110767 bytes
_framework/System.Text.Json.dll.gz | Bin 0 -> 130858 bytes
_framework/System.Text.RegularExpressions.dll | Bin 0 -> 235008 bytes
.../System.Text.RegularExpressions.dll.br | Bin 0 -> 92154 bytes
.../System.Text.RegularExpressions.dll.gz | Bin 0 -> 108735 bytes
_framework/System.Threading.dll | Bin 0 -> 4608 bytes
_framework/System.Threading.dll.br | Bin 0 -> 1578 bytes
_framework/System.Threading.dll.gz | Bin 0 -> 1783 bytes
_framework/System.Web.HttpUtility.dll | Bin 0 -> 9216 bytes
_framework/System.Web.HttpUtility.dll.br | Bin 0 -> 4083 bytes
_framework/System.Web.HttpUtility.dll.gz | Bin 0 -> 4528 bytes
_framework/System.Xml.ReaderWriter.dll | Bin 0 -> 4096 bytes
_framework/System.Xml.ReaderWriter.dll.br | Bin 0 -> 1374 bytes
_framework/System.Xml.ReaderWriter.dll.gz | Bin 0 -> 1556 bytes
_framework/System.dll | Bin 0 -> 4096 bytes
_framework/System.dll.br | Bin 0 -> 1237 bytes
_framework/System.dll.gz | Bin 0 -> 1427 bytes
_framework/blazor.boot.json | 128 +
_framework/blazor.boot.json.br | Bin 0 -> 4393 bytes
_framework/blazor.boot.json.gz | Bin 0 -> 4721 bytes
_framework/blazor.webassembly.js | 1 +
_framework/blazor.webassembly.js.br | Bin 0 -> 17827 bytes
_framework/blazor.webassembly.js.gz | Bin 0 -> 20107 bytes
_framework/dotnet.7.0.11.1i0gdicz49.js | 33 +
_framework/dotnet.7.0.11.1i0gdicz49.js.br | Bin 0 -> 59045 bytes
_framework/dotnet.7.0.11.1i0gdicz49.js.gz | Bin 0 -> 68425 bytes
_framework/dotnet.wasm | Bin 0 -> 2510412 bytes
_framework/dotnet.wasm.br | Bin 0 -> 868276 bytes
_framework/dotnet.wasm.gz | Bin 0 -> 1031970 bytes
_framework/netstandard.dll | Bin 0 -> 14336 bytes
_framework/netstandard.dll.br | Bin 0 -> 4035 bytes
_framework/netstandard.dll.gz | Bin 0 -> 4831 bytes
appsettings.Development.example.json | 5 +
appsettings.json | 5 +
css/app.css | 94 +
css/highlight.min.css | 9 +
css/prismjs-custom.css | 4 +
favicon.svg | 10 +
images/default_profile.webp | Bin 0 -> 1866 bytes
images/discord.svg | 1 +
images/failure.gif | Bin 0 -> 1408874 bytes
images/steam.svg | 1 +
images/success.gif | Bin 0 -> 1312620 bytes
index.html | 112 +
js/before-blazor.js | 11 +
js/brotli.js | 11 +
js/cookieconsent-init.js | 244 ++
js/decode.min.js | 1 +
js/diff2html-ui-slim.min.js | 1 +
js/diff2html.js | 43 +
js/highlight.js | 35 +
js/loader.js | 64 +
js/prismjs-custom.js | 5 +
js/prismjs.js | 43 +
js/swagger.js | 43 +
js/utils.js | 25 +
reports/2AE0EA.html.br | Bin 0 -> 15583 bytes
reports/4DDA8D.html.br | Bin 0 -> 12789 bytes
reports/6FB0EF.html.br | Bin 0 -> 12801 bytes
reports/F966E3.html.br | Bin 0 -> 14582 bytes
388 files changed, 10900 insertions(+)
create mode 100644 .nojekyll
create mode 100644 404.html
create mode 100644 BUTR.Site.NexusMods.Client.styles.css
create mode 100755 _content/Blazorise.Bootstrap5/blazorise.bootstrap5.css
create mode 100755 _content/Blazorise.Bootstrap5/blazorise.bootstrap5.min.css
create mode 100755 _content/Blazorise.Bootstrap5/modal.js
create mode 100755 _content/Blazorise.Bootstrap5/tooltip.js
create mode 100755 _content/Blazorise.Charts/charts.js
create mode 100755 _content/Blazorise.Charts/utilities.js
create mode 100755 _content/Blazorise.DataGrid/datagrid.js
create mode 100755 _content/Blazorise.Snackbar/blazorise.snackbar.css
create mode 100755 _content/Blazorise.Snackbar/blazorise.snackbar.min.css
create mode 100755 _content/Blazorise.TreeView/blazorise.treeview.css
create mode 100755 _content/Blazorise.TreeView/blazorise.treeview.min.css
create mode 100755 _content/Blazorise/blazorise.css
create mode 100755 _content/Blazorise/blazorise.min.css
create mode 100755 _content/Blazorise/breakpoint.js
create mode 100755 _content/Blazorise/button.js
create mode 100755 _content/Blazorise/closable.js
create mode 100755 _content/Blazorise/colorPicker.js
create mode 100755 _content/Blazorise/datePicker.js
create mode 100755 _content/Blazorise/dragDrop.js
create mode 100755 _content/Blazorise/dropdown.js
create mode 100755 _content/Blazorise/fileEdit.js
create mode 100755 _content/Blazorise/filePicker.js
create mode 100755 _content/Blazorise/floatingUi.js
create mode 100755 _content/Blazorise/inputMask.js
create mode 100755 _content/Blazorise/io.js
create mode 100755 _content/Blazorise/memoEdit.js
create mode 100755 _content/Blazorise/numericPicker.js
create mode 100755 _content/Blazorise/observer.js
create mode 100755 _content/Blazorise/table.js
create mode 100755 _content/Blazorise/textEdit.js
create mode 100755 _content/Blazorise/theme.js
create mode 100755 _content/Blazorise/timePicker.js
create mode 100755 _content/Blazorise/tooltip.js
create mode 100755 _content/Blazorise/utilities.js
create mode 100755 _content/Blazorise/validators/DateTimeMaskValidator.js
create mode 100755 _content/Blazorise/validators/NoValidator.js
create mode 100755 _content/Blazorise/validators/NumericMaskValidator.js
create mode 100755 _content/Blazorise/validators/RegExMaskValidator.js
create mode 100755 _content/Blazorise/vendors/Behave.js
create mode 100755 _content/Blazorise/vendors/Pickr.js
create mode 100755 _content/Blazorise/vendors/autoNumeric.js
create mode 100755 _content/Blazorise/vendors/flatpickr.js
create mode 100755 _content/Blazorise/vendors/floating-ui-core.js
create mode 100755 _content/Blazorise/vendors/floating-ui.js
create mode 100755 _content/Blazorise/vendors/inputmask.js
create mode 100755 _content/Blazorise/vendors/jsencrypt.js
create mode 100755 _content/Blazorise/vendors/sha512.js
create mode 100755 _content/Microsoft.AspNetCore.Components.WebAssembly.Authentication/AuthenticationService.js
create mode 100644 _framework/BUTR.Site.NexusMods.Client.dll
create mode 100644 _framework/BUTR.Site.NexusMods.Client.dll.br
create mode 100644 _framework/BUTR.Site.NexusMods.Client.dll.gz
create mode 100644 _framework/BUTR.Site.NexusMods.Client.pdb.gz
create mode 100644 _framework/BUTR.Site.NexusMods.ServerClient.dll
create mode 100644 _framework/BUTR.Site.NexusMods.ServerClient.dll.br
create mode 100644 _framework/BUTR.Site.NexusMods.ServerClient.dll.gz
create mode 100644 _framework/BUTR.Site.NexusMods.ServerClient.pdb.gz
create mode 100644 _framework/BUTR.Site.NexusMods.Shared.dll
create mode 100644 _framework/BUTR.Site.NexusMods.Shared.dll.br
create mode 100644 _framework/BUTR.Site.NexusMods.Shared.dll.gz
create mode 100644 _framework/BUTR.Site.NexusMods.Shared.pdb.gz
create mode 100755 _framework/Blazored.LocalStorage.dll
create mode 100644 _framework/Blazored.LocalStorage.dll.br
create mode 100644 _framework/Blazored.LocalStorage.dll.gz
create mode 100755 _framework/Blazored.SessionStorage.dll
create mode 100644 _framework/Blazored.SessionStorage.dll.br
create mode 100644 _framework/Blazored.SessionStorage.dll.gz
create mode 100755 _framework/Blazorise.Bootstrap5.dll
create mode 100644 _framework/Blazorise.Bootstrap5.dll.br
create mode 100644 _framework/Blazorise.Bootstrap5.dll.gz
create mode 100755 _framework/Blazorise.Charts.dll
create mode 100644 _framework/Blazorise.Charts.dll.br
create mode 100644 _framework/Blazorise.Charts.dll.gz
create mode 100755 _framework/Blazorise.Components.dll
create mode 100644 _framework/Blazorise.Components.dll.br
create mode 100644 _framework/Blazorise.Components.dll.gz
create mode 100755 _framework/Blazorise.DataGrid.dll
create mode 100644 _framework/Blazorise.DataGrid.dll.br
create mode 100644 _framework/Blazorise.DataGrid.dll.gz
create mode 100755 _framework/Blazorise.Icons.FontAwesome.dll
create mode 100644 _framework/Blazorise.Icons.FontAwesome.dll.br
create mode 100644 _framework/Blazorise.Icons.FontAwesome.dll.gz
create mode 100755 _framework/Blazorise.Licensing.dll
create mode 100644 _framework/Blazorise.Licensing.dll.br
create mode 100644 _framework/Blazorise.Licensing.dll.gz
create mode 100755 _framework/Blazorise.Snackbar.dll
create mode 100644 _framework/Blazorise.Snackbar.dll.br
create mode 100644 _framework/Blazorise.Snackbar.dll.gz
create mode 100755 _framework/Blazorise.TreeView.dll
create mode 100644 _framework/Blazorise.TreeView.dll.br
create mode 100644 _framework/Blazorise.TreeView.dll.gz
create mode 100755 _framework/Blazorise.dll
create mode 100644 _framework/Blazorise.dll.br
create mode 100644 _framework/Blazorise.dll.gz
create mode 100755 _framework/CsvHelper.dll
create mode 100644 _framework/CsvHelper.dll.br
create mode 100644 _framework/CsvHelper.dll.gz
create mode 100755 _framework/DeepCloner.dll
create mode 100644 _framework/DeepCloner.dll.br
create mode 100644 _framework/DeepCloner.dll.gz
create mode 100755 _framework/HtmlAgilityPack.dll
create mode 100644 _framework/HtmlAgilityPack.dll.br
create mode 100644 _framework/HtmlAgilityPack.dll.gz
create mode 100755 _framework/Lambda2Js.dll
create mode 100644 _framework/Lambda2Js.dll.br
create mode 100644 _framework/Lambda2Js.dll.gz
create mode 100644 _framework/Microsoft.AspNetCore.Authorization.dll
create mode 100644 _framework/Microsoft.AspNetCore.Authorization.dll.br
create mode 100644 _framework/Microsoft.AspNetCore.Authorization.dll.gz
create mode 100644 _framework/Microsoft.AspNetCore.Components.Authorization.dll
create mode 100644 _framework/Microsoft.AspNetCore.Components.Authorization.dll.br
create mode 100644 _framework/Microsoft.AspNetCore.Components.Authorization.dll.gz
create mode 100644 _framework/Microsoft.AspNetCore.Components.Forms.dll
create mode 100644 _framework/Microsoft.AspNetCore.Components.Forms.dll.br
create mode 100644 _framework/Microsoft.AspNetCore.Components.Forms.dll.gz
create mode 100644 _framework/Microsoft.AspNetCore.Components.Web.dll
create mode 100644 _framework/Microsoft.AspNetCore.Components.Web.dll.br
create mode 100644 _framework/Microsoft.AspNetCore.Components.Web.dll.gz
create mode 100644 _framework/Microsoft.AspNetCore.Components.WebAssembly.dll
create mode 100644 _framework/Microsoft.AspNetCore.Components.WebAssembly.dll.br
create mode 100644 _framework/Microsoft.AspNetCore.Components.WebAssembly.dll.gz
create mode 100644 _framework/Microsoft.AspNetCore.Components.dll
create mode 100644 _framework/Microsoft.AspNetCore.Components.dll.br
create mode 100644 _framework/Microsoft.AspNetCore.Components.dll.gz
create mode 100644 _framework/Microsoft.AspNetCore.Metadata.dll
create mode 100644 _framework/Microsoft.AspNetCore.Metadata.dll.br
create mode 100644 _framework/Microsoft.AspNetCore.Metadata.dll.gz
create mode 100644 _framework/Microsoft.CSharp.dll
create mode 100644 _framework/Microsoft.CSharp.dll.br
create mode 100644 _framework/Microsoft.CSharp.dll.gz
create mode 100644 _framework/Microsoft.Extensions.Configuration.Abstractions.dll
create mode 100644 _framework/Microsoft.Extensions.Configuration.Abstractions.dll.br
create mode 100644 _framework/Microsoft.Extensions.Configuration.Abstractions.dll.gz
create mode 100644 _framework/Microsoft.Extensions.Configuration.Binder.dll
create mode 100644 _framework/Microsoft.Extensions.Configuration.Binder.dll.br
create mode 100644 _framework/Microsoft.Extensions.Configuration.Binder.dll.gz
create mode 100644 _framework/Microsoft.Extensions.Configuration.Json.dll
create mode 100644 _framework/Microsoft.Extensions.Configuration.Json.dll.br
create mode 100644 _framework/Microsoft.Extensions.Configuration.Json.dll.gz
create mode 100644 _framework/Microsoft.Extensions.Configuration.dll
create mode 100644 _framework/Microsoft.Extensions.Configuration.dll.br
create mode 100644 _framework/Microsoft.Extensions.Configuration.dll.gz
create mode 100644 _framework/Microsoft.Extensions.DependencyInjection.Abstractions.dll
create mode 100644 _framework/Microsoft.Extensions.DependencyInjection.Abstractions.dll.br
create mode 100644 _framework/Microsoft.Extensions.DependencyInjection.Abstractions.dll.gz
create mode 100644 _framework/Microsoft.Extensions.DependencyInjection.dll
create mode 100644 _framework/Microsoft.Extensions.DependencyInjection.dll.br
create mode 100644 _framework/Microsoft.Extensions.DependencyInjection.dll.gz
create mode 100644 _framework/Microsoft.Extensions.Http.dll
create mode 100644 _framework/Microsoft.Extensions.Http.dll.br
create mode 100644 _framework/Microsoft.Extensions.Http.dll.gz
create mode 100644 _framework/Microsoft.Extensions.Logging.Abstractions.dll
create mode 100644 _framework/Microsoft.Extensions.Logging.Abstractions.dll.br
create mode 100644 _framework/Microsoft.Extensions.Logging.Abstractions.dll.gz
create mode 100644 _framework/Microsoft.Extensions.Logging.dll
create mode 100644 _framework/Microsoft.Extensions.Logging.dll.br
create mode 100644 _framework/Microsoft.Extensions.Logging.dll.gz
create mode 100644 _framework/Microsoft.Extensions.Options.ConfigurationExtensions.dll
create mode 100644 _framework/Microsoft.Extensions.Options.ConfigurationExtensions.dll.br
create mode 100644 _framework/Microsoft.Extensions.Options.ConfigurationExtensions.dll.gz
create mode 100644 _framework/Microsoft.Extensions.Options.dll
create mode 100644 _framework/Microsoft.Extensions.Options.dll.br
create mode 100644 _framework/Microsoft.Extensions.Options.dll.gz
create mode 100644 _framework/Microsoft.Extensions.Primitives.dll
create mode 100644 _framework/Microsoft.Extensions.Primitives.dll.br
create mode 100644 _framework/Microsoft.Extensions.Primitives.dll.gz
create mode 100644 _framework/Microsoft.JSInterop.WebAssembly.dll
create mode 100644 _framework/Microsoft.JSInterop.WebAssembly.dll.br
create mode 100644 _framework/Microsoft.JSInterop.WebAssembly.dll.gz
create mode 100644 _framework/Microsoft.JSInterop.dll
create mode 100644 _framework/Microsoft.JSInterop.dll.br
create mode 100644 _framework/Microsoft.JSInterop.dll.gz
create mode 100755 _framework/Mono.Cecil.Mdb.dll
create mode 100644 _framework/Mono.Cecil.Mdb.dll.br
create mode 100644 _framework/Mono.Cecil.Mdb.dll.gz
create mode 100755 _framework/Mono.Cecil.Pdb.dll
create mode 100644 _framework/Mono.Cecil.Pdb.dll.br
create mode 100644 _framework/Mono.Cecil.Pdb.dll.gz
create mode 100755 _framework/Mono.Cecil.Rocks.dll
create mode 100644 _framework/Mono.Cecil.Rocks.dll.br
create mode 100644 _framework/Mono.Cecil.Rocks.dll.gz
create mode 100755 _framework/Mono.Cecil.dll
create mode 100644 _framework/Mono.Cecil.dll.br
create mode 100644 _framework/Mono.Cecil.dll.gz
create mode 100644 _framework/System.Collections.Concurrent.dll
create mode 100644 _framework/System.Collections.Concurrent.dll.br
create mode 100644 _framework/System.Collections.Concurrent.dll.gz
create mode 100644 _framework/System.Collections.Immutable.dll
create mode 100644 _framework/System.Collections.Immutable.dll.br
create mode 100644 _framework/System.Collections.Immutable.dll.gz
create mode 100644 _framework/System.Collections.NonGeneric.dll
create mode 100644 _framework/System.Collections.NonGeneric.dll.br
create mode 100644 _framework/System.Collections.NonGeneric.dll.gz
create mode 100644 _framework/System.Collections.Specialized.dll
create mode 100644 _framework/System.Collections.Specialized.dll.br
create mode 100644 _framework/System.Collections.Specialized.dll.gz
create mode 100644 _framework/System.Collections.dll
create mode 100644 _framework/System.Collections.dll.br
create mode 100644 _framework/System.Collections.dll.gz
create mode 100644 _framework/System.ComponentModel.Annotations.dll
create mode 100644 _framework/System.ComponentModel.Annotations.dll.br
create mode 100644 _framework/System.ComponentModel.Annotations.dll.gz
create mode 100644 _framework/System.ComponentModel.EventBasedAsync.dll
create mode 100644 _framework/System.ComponentModel.EventBasedAsync.dll.br
create mode 100644 _framework/System.ComponentModel.EventBasedAsync.dll.gz
create mode 100644 _framework/System.ComponentModel.Primitives.dll
create mode 100644 _framework/System.ComponentModel.Primitives.dll.br
create mode 100644 _framework/System.ComponentModel.Primitives.dll.gz
create mode 100644 _framework/System.ComponentModel.TypeConverter.dll
create mode 100644 _framework/System.ComponentModel.TypeConverter.dll.br
create mode 100644 _framework/System.ComponentModel.TypeConverter.dll.gz
create mode 100644 _framework/System.ComponentModel.dll
create mode 100644 _framework/System.ComponentModel.dll.br
create mode 100644 _framework/System.ComponentModel.dll.gz
create mode 100644 _framework/System.Console.dll
create mode 100644 _framework/System.Console.dll.br
create mode 100644 _framework/System.Console.dll.gz
create mode 100644 _framework/System.Data.Common.dll
create mode 100644 _framework/System.Data.Common.dll.br
create mode 100644 _framework/System.Data.Common.dll.gz
create mode 100644 _framework/System.Diagnostics.TraceSource.dll
create mode 100644 _framework/System.Diagnostics.TraceSource.dll.br
create mode 100644 _framework/System.Diagnostics.TraceSource.dll.gz
create mode 100644 _framework/System.Drawing.Primitives.dll
create mode 100644 _framework/System.Drawing.Primitives.dll.br
create mode 100644 _framework/System.Drawing.Primitives.dll.gz
create mode 100644 _framework/System.Drawing.dll
create mode 100644 _framework/System.Drawing.dll.br
create mode 100644 _framework/System.Drawing.dll.gz
create mode 100644 _framework/System.Formats.Asn1.dll
create mode 100644 _framework/System.Formats.Asn1.dll.br
create mode 100644 _framework/System.Formats.Asn1.dll.gz
create mode 100644 _framework/System.IO.Compression.dll
create mode 100644 _framework/System.IO.Compression.dll.br
create mode 100644 _framework/System.IO.Compression.dll.gz
create mode 100755 _framework/System.Linq.Async.dll
create mode 100644 _framework/System.Linq.Async.dll.br
create mode 100644 _framework/System.Linq.Async.dll.gz
create mode 100644 _framework/System.Linq.Expressions.dll
create mode 100644 _framework/System.Linq.Expressions.dll.br
create mode 100644 _framework/System.Linq.Expressions.dll.gz
create mode 100644 _framework/System.Linq.Queryable.dll
create mode 100644 _framework/System.Linq.Queryable.dll.br
create mode 100644 _framework/System.Linq.Queryable.dll.gz
create mode 100644 _framework/System.Linq.dll
create mode 100644 _framework/System.Linq.dll.br
create mode 100644 _framework/System.Linq.dll.gz
create mode 100644 _framework/System.Memory.dll
create mode 100644 _framework/System.Memory.dll.br
create mode 100644 _framework/System.Memory.dll.gz
create mode 100644 _framework/System.Net.Http.dll
create mode 100644 _framework/System.Net.Http.dll.br
create mode 100644 _framework/System.Net.Http.dll.gz
create mode 100644 _framework/System.Net.Primitives.dll
create mode 100644 _framework/System.Net.Primitives.dll.br
create mode 100644 _framework/System.Net.Primitives.dll.gz
create mode 100644 _framework/System.Net.Requests.dll
create mode 100644 _framework/System.Net.Requests.dll.br
create mode 100644 _framework/System.Net.Requests.dll.gz
create mode 100644 _framework/System.Net.WebHeaderCollection.dll
create mode 100644 _framework/System.Net.WebHeaderCollection.dll.br
create mode 100644 _framework/System.Net.WebHeaderCollection.dll.gz
create mode 100644 _framework/System.Net.WebProxy.dll
create mode 100644 _framework/System.Net.WebProxy.dll.br
create mode 100644 _framework/System.Net.WebProxy.dll.gz
create mode 100644 _framework/System.Net.WebSockets.Client.dll
create mode 100644 _framework/System.Net.WebSockets.Client.dll.br
create mode 100644 _framework/System.Net.WebSockets.Client.dll.gz
create mode 100644 _framework/System.Net.WebSockets.dll
create mode 100644 _framework/System.Net.WebSockets.dll.br
create mode 100644 _framework/System.Net.WebSockets.dll.gz
create mode 100644 _framework/System.ObjectModel.dll
create mode 100644 _framework/System.ObjectModel.dll.br
create mode 100644 _framework/System.ObjectModel.dll.gz
create mode 100644 _framework/System.Private.CoreLib.dll
create mode 100644 _framework/System.Private.CoreLib.dll.br
create mode 100644 _framework/System.Private.CoreLib.dll.gz
create mode 100644 _framework/System.Private.Uri.dll
create mode 100644 _framework/System.Private.Uri.dll.br
create mode 100644 _framework/System.Private.Uri.dll.gz
create mode 100644 _framework/System.Private.Xml.dll
create mode 100644 _framework/System.Private.Xml.dll.br
create mode 100644 _framework/System.Private.Xml.dll.gz
create mode 100644 _framework/System.Reflection.Extensions.dll
create mode 100644 _framework/System.Reflection.Extensions.dll.br
create mode 100644 _framework/System.Reflection.Extensions.dll.gz
create mode 100644 _framework/System.Reflection.Metadata.dll
create mode 100644 _framework/System.Reflection.Metadata.dll.br
create mode 100644 _framework/System.Reflection.Metadata.dll.gz
create mode 100644 _framework/System.Reflection.Primitives.dll
create mode 100644 _framework/System.Reflection.Primitives.dll.br
create mode 100644 _framework/System.Reflection.Primitives.dll.gz
create mode 100644 _framework/System.Reflection.dll
create mode 100644 _framework/System.Reflection.dll.br
create mode 100644 _framework/System.Reflection.dll.gz
create mode 100644 _framework/System.Runtime.Extensions.dll
create mode 100644 _framework/System.Runtime.Extensions.dll.br
create mode 100644 _framework/System.Runtime.Extensions.dll.gz
create mode 100644 _framework/System.Runtime.InteropServices.JavaScript.dll
create mode 100644 _framework/System.Runtime.InteropServices.JavaScript.dll.br
create mode 100644 _framework/System.Runtime.InteropServices.JavaScript.dll.gz
create mode 100644 _framework/System.Runtime.InteropServices.dll
create mode 100644 _framework/System.Runtime.InteropServices.dll.br
create mode 100644 _framework/System.Runtime.InteropServices.dll.gz
create mode 100644 _framework/System.Runtime.Numerics.dll
create mode 100644 _framework/System.Runtime.Numerics.dll.br
create mode 100644 _framework/System.Runtime.Numerics.dll.gz
create mode 100644 _framework/System.Runtime.Serialization.Formatters.dll
create mode 100644 _framework/System.Runtime.Serialization.Formatters.dll.br
create mode 100644 _framework/System.Runtime.Serialization.Formatters.dll.gz
create mode 100644 _framework/System.Runtime.Serialization.Primitives.dll
create mode 100644 _framework/System.Runtime.Serialization.Primitives.dll.br
create mode 100644 _framework/System.Runtime.Serialization.Primitives.dll.gz
create mode 100644 _framework/System.Runtime.dll
create mode 100644 _framework/System.Runtime.dll.br
create mode 100644 _framework/System.Runtime.dll.gz
create mode 100644 _framework/System.Security.Claims.dll
create mode 100644 _framework/System.Security.Claims.dll.br
create mode 100644 _framework/System.Security.Claims.dll.gz
create mode 100644 _framework/System.Security.Cryptography.dll
create mode 100644 _framework/System.Security.Cryptography.dll.br
create mode 100644 _framework/System.Security.Cryptography.dll.gz
create mode 100644 _framework/System.Text.Encodings.Web.dll
create mode 100644 _framework/System.Text.Encodings.Web.dll.br
create mode 100644 _framework/System.Text.Encodings.Web.dll.gz
create mode 100644 _framework/System.Text.Json.dll
create mode 100644 _framework/System.Text.Json.dll.br
create mode 100644 _framework/System.Text.Json.dll.gz
create mode 100644 _framework/System.Text.RegularExpressions.dll
create mode 100644 _framework/System.Text.RegularExpressions.dll.br
create mode 100644 _framework/System.Text.RegularExpressions.dll.gz
create mode 100644 _framework/System.Threading.dll
create mode 100644 _framework/System.Threading.dll.br
create mode 100644 _framework/System.Threading.dll.gz
create mode 100644 _framework/System.Web.HttpUtility.dll
create mode 100644 _framework/System.Web.HttpUtility.dll.br
create mode 100644 _framework/System.Web.HttpUtility.dll.gz
create mode 100644 _framework/System.Xml.ReaderWriter.dll
create mode 100644 _framework/System.Xml.ReaderWriter.dll.br
create mode 100644 _framework/System.Xml.ReaderWriter.dll.gz
create mode 100644 _framework/System.dll
create mode 100644 _framework/System.dll.br
create mode 100644 _framework/System.dll.gz
create mode 100644 _framework/blazor.boot.json
create mode 100644 _framework/blazor.boot.json.br
create mode 100644 _framework/blazor.boot.json.gz
create mode 100755 _framework/blazor.webassembly.js
create mode 100644 _framework/blazor.webassembly.js.br
create mode 100644 _framework/blazor.webassembly.js.gz
create mode 100755 _framework/dotnet.7.0.11.1i0gdicz49.js
create mode 100644 _framework/dotnet.7.0.11.1i0gdicz49.js.br
create mode 100644 _framework/dotnet.7.0.11.1i0gdicz49.js.gz
create mode 100755 _framework/dotnet.wasm
create mode 100644 _framework/dotnet.wasm.br
create mode 100644 _framework/dotnet.wasm.gz
create mode 100644 _framework/netstandard.dll
create mode 100644 _framework/netstandard.dll.br
create mode 100644 _framework/netstandard.dll.gz
create mode 100644 appsettings.Development.example.json
create mode 100644 appsettings.json
create mode 100644 css/app.css
create mode 100644 css/highlight.min.css
create mode 100644 css/prismjs-custom.css
create mode 100644 favicon.svg
create mode 100644 images/default_profile.webp
create mode 100644 images/discord.svg
create mode 100644 images/failure.gif
create mode 100644 images/steam.svg
create mode 100644 images/success.gif
create mode 100644 index.html
create mode 100644 js/before-blazor.js
create mode 100644 js/brotli.js
create mode 100644 js/cookieconsent-init.js
create mode 100644 js/decode.min.js
create mode 100644 js/diff2html-ui-slim.min.js
create mode 100644 js/diff2html.js
create mode 100644 js/highlight.js
create mode 100644 js/loader.js
create mode 100644 js/prismjs-custom.js
create mode 100644 js/prismjs.js
create mode 100644 js/swagger.js
create mode 100644 js/utils.js
create mode 100644 reports/2AE0EA.html.br
create mode 100644 reports/4DDA8D.html.br
create mode 100644 reports/6FB0EF.html.br
create mode 100644 reports/F966E3.html.br
diff --git a/.nojekyll b/.nojekyll
new file mode 100644
index 00000000..e69de29b
diff --git a/404.html b/404.html
new file mode 100644
index 00000000..2e6e4c13
--- /dev/null
+++ b/404.html
@@ -0,0 +1,112 @@
+
+
+
+
+
+ BUTR.CrashReportViewer
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Loading...
+
+
+ Downloading file list
+
+
+
+
+
+
+ An unhandled error has occurred.
+
Reload
+
🗙
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/BUTR.Site.NexusMods.Client.styles.css b/BUTR.Site.NexusMods.Client.styles.css
new file mode 100644
index 00000000..3af64704
--- /dev/null
+++ b/BUTR.Site.NexusMods.Client.styles.css
@@ -0,0 +1,49 @@
+/* /Components/Diff.razor.rz.scp.css */
+ins[b-jivarn9zam] {
+ text-decoration: none;
+ background-color: #d4fcbc;
+}
+
+del[b-jivarn9zam] {
+ text-decoration: none;
+ background-color: #fbb6c2;
+ color: #555;
+}
+/* /Components/Spinner.razor.rz.scp.css */
+.loading[b-5x07ub1hz8] {
+ position: fixed;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ background: #fff;
+}
+
+.loader[b-5x07ub1hz8] {
+ left: 50%;
+ margin-left: -4em;
+ font-size: 10px;
+ border: .8em solid rgba(218, 219, 223, 1);
+ border-left: .8em solid rgba(58, 166, 165, 1);
+ animation: spin-b-5x07ub1hz8 1.1s infinite linear;
+}
+
+.loader[b-5x07ub1hz8], .loader[b-5x07ub1hz8]:after {
+ border-radius: 50%;
+ width: 8em;
+ height: 8em;
+ display: block;
+ position: absolute;
+ top: 50%;
+ margin-top: -4.05em;
+}
+
+@keyframes spin-b-5x07ub1hz8 {
+ 0% {
+ transform: rotate(0deg);
+ }
+
+ 100% {
+ transform: rotate(360deg);
+ }
+}
diff --git a/_content/Blazorise.Bootstrap5/blazorise.bootstrap5.css b/_content/Blazorise.Bootstrap5/blazorise.bootstrap5.css
new file mode 100755
index 00000000..aaea34e2
--- /dev/null
+++ b/_content/Blazorise.Bootstrap5/blazorise.bootstrap5.css
@@ -0,0 +1,3205 @@
+@keyframes fadeIn {
+ 0% {
+ opacity: 0;
+ }
+ 100% {
+ opacity: 1;
+ }
+ 0% {
+ opacity: 0;
+ }
+}
+@keyframes slideIn {
+ 0% {
+ transform: translateY(1rem);
+ opacity: 0;
+ }
+ 100% {
+ transform: translateY(0rem);
+ opacity: 1;
+ }
+ 0% {
+ transform: translateY(1rem);
+ opacity: 0;
+ }
+}
+.badge-close {
+ cursor: pointer;
+}
+.badge-close::before {
+ height: 2px;
+ width: 50%;
+}
+.badge-close::after {
+ height: 50%;
+ width: 2px;
+}
+.badge-close:hover, .badge-close:focus {
+ background-color: rgba(10, 10, 10, 0.3);
+}
+.badge-close:active {
+ background-color: rgba(10, 10, 10, 0.4);
+}
+
+.navbar-nav .nav-item:hover {
+ cursor: pointer;
+}
+
+.navbar-nav .nav-link:hover {
+ cursor: pointer;
+}
+
+.nav .nav-link:hover {
+ cursor: pointer;
+}
+
+.nav-item {
+ position: relative;
+}
+
+.b-bar-horizontal .nav-item.dropdown .dropdown-menu > .dropdown > .dropdown-item {
+ width: 100%;
+}
+.b-bar-horizontal .nav-item.dropdown .dropdown-menu > .dropdown > .dropdown-item::after {
+ display: inline-block;
+ margin-left: 0.255em;
+ vertical-align: 0.255em;
+ content: "";
+ border-top: 0.3em solid;
+ border-right: 0.3em solid transparent;
+ border-bottom: 0;
+ border-left: 0.3em solid transparent;
+}
+.b-bar-horizontal .nav-item.dropdown .dropdown-menu > .dropdown > .dropdown-item:empty::after {
+ margin-left: 0;
+}
+.b-bar-horizontal .nav-item.dropdown .dropdown-menu > .dropdown > .dropdown-item::after {
+ transform: rotate(-90deg);
+ position: absolute;
+ right: 10%;
+ top: 45%;
+}
+.b-bar-horizontal .nav-item.dropdown .dropdown-menu > .dropdown > .dropdown-menu {
+ top: 0;
+ left: 100%;
+ margin-left: 0rem;
+ margin-right: 0.1rem;
+}
+
+.btn-group > .b-tooltip:not(:last-child) > .btn {
+ border-top-right-radius: 0;
+ border-bottom-right-radius: 0;
+}
+.btn-group > .b-tooltip:not(:first-child) > .btn {
+ border-top-left-radius: 0;
+ border-bottom-left-radius: 0;
+}
+.btn-group.btn-group-toggle .btn.active.disabled {
+ opacity: 1;
+}
+
+.btn-group-vertical > .b-tooltip:not(:last-child) > .btn {
+ border-bottom-right-radius: 0;
+ border-bottom-left-radius: 0;
+}
+.btn-group-vertical > .b-tooltip:not(:first-child) > .btn {
+ border-top-left-radius: 0;
+ border-top-right-radius: 0;
+}
+
+.btn-xs, .btn-group-xs > .btn {
+ padding: 0.15rem 0.5rem;
+ font-size: 0.75rem;
+ line-height: 1.5;
+ border-radius: 0.15rem;
+}
+
+.btn-md, .btn-group-md > .btn {
+ padding: 0.47rem 1rem;
+ font-size: 1.125rem;
+ line-height: 1.5;
+ border-radius: 0.25rem;
+}
+
+.btn-xl, .btn-group-xl > .btn {
+ padding: 0.5rem 1rem;
+ font-size: 1.5rem;
+ line-height: 1.5;
+ border-radius: 0.4rem;
+}
+
+.btn-block {
+ display: block;
+ width: 100%;
+}
+.btn-block + .btn-block {
+ margin-top: 0.5rem;
+}
+
+input[type=submit].btn-block,
+input[type=reset].btn-block,
+input[type=button].btn-block {
+ width: 100%;
+}
+
+.card-deck .card {
+ height: 100%;
+}
+
+.table-fixed-header .table thead tr th.dropdown-table-fixed-header-visible {
+ z-index: 11;
+}
+
+.dropdown-menu-position-strategy {
+ width: max-content;
+ top: 0;
+ left: 0;
+}
+
+.dropdown-menu-position-strategy-absolute {
+ position: absolute;
+}
+
+.dropdown-menu-position-strategy-fixed {
+ position: fixed;
+}
+
+.dropdown-toggle.dropdown-toggle-hidden::after {
+ content: none !important;
+}
+
+.dropdown-toggle.dropdown-toggle-hidden::before {
+ content: none !important;
+}
+
+.dropdown-menu.show {
+ animation-duration: 0.3s;
+ animation-fill-mode: both;
+ animation-name: fadeIn;
+}
+
+.dropdown-menu a:not([href]).dropdown-item:not(.disabled) {
+ cursor: pointer;
+}
+
+.dropdown-menu.dropdown-menu-scrollable {
+ max-height: var(--dropdown-list-menu-max-height, 200px);
+ overflow-y: scroll;
+}
+
+.b-is-autocomplete .dropdown-menu {
+ width: 100%;
+ max-height: var(--autocomplete-menu-max-height, 200px);
+ overflow-y: scroll;
+}
+.b-is-autocomplete .dropdown-menu .dropdown-item.focus {
+ color: #1e2125 !important;
+ background-color: #e9ecef;
+}
+
+.b-is-autocomplete.b-is-autocomplete-multipleselection {
+ display: flex;
+ align-items: center;
+ flex-wrap: wrap;
+ padding-top: 0.25rem;
+ max-width: 100%;
+ width: 100%;
+ cursor: text;
+ min-height: calc(1.5em + 0.75rem + 2px);
+ height: auto;
+ border: 1px solid #ced4da;
+ border-radius: 0.25rem;
+}
+.b-is-autocomplete.b-is-autocomplete-multipleselection > input.form-control {
+ display: inline-block;
+ border: none;
+ box-shadow: none;
+ outline: none;
+ background-color: transparent;
+ max-width: inherit;
+ width: auto;
+ flex-grow: 1;
+}
+.b-is-autocomplete.b-is-autocomplete-multipleselection > .badge {
+ margin-bottom: 0.25rem;
+ line-height: 1.5;
+ flex-grow: initial;
+}
+.b-is-autocomplete.b-is-autocomplete-multipleselection .dropdown-menu {
+ top: 100%;
+}
+.b-is-autocomplete.b-is-autocomplete-multipleselection.focus {
+ color: #495057;
+ background-color: #fff;
+ border-color: #80bdff;
+ outline: 0;
+ box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
+}
+
+.dropdown.btn-group > .btn.dropdown-toggle-split + .dropdown-menu.show {
+ top: 100%;
+}
+
+.dropdown {
+ position: relative;
+}
+.dropdown.dropdown-disabled.b-is-autocomplete {
+ background-color: var(--b-theme-light, #e9ecef);
+}
+.dropdown > .dropdown-menu > .dropdown:not(.dropup, .dropstart, .dropend) {
+ position: relative;
+}
+.dropdown > .dropdown-menu > .dropdown:not(.dropup, .dropstart, .dropend) > .dropdown-toggle {
+ width: 100%;
+}
+.dropdown > .dropdown-menu > .dropdown:not(.dropup, .dropstart, .dropend) > .dropdown-toggle::after {
+ display: inline-block;
+ margin-left: 0.255em;
+ vertical-align: 0.255em;
+ content: "";
+ border-top: 0.3em solid;
+ border-right: 0.3em solid transparent;
+ border-bottom: 0;
+ border-left: 0.3em solid transparent;
+}
+.dropdown > .dropdown-menu > .dropdown:not(.dropup, .dropstart, .dropend) > .dropdown-toggle:empty::after {
+ margin-left: 0;
+}
+.dropdown > .dropdown-menu > .dropdown:not(.dropup, .dropstart, .dropend) > .dropdown-toggle::after {
+ position: absolute;
+ right: 10%;
+ top: 45%;
+}
+.dropdown > .dropdown-menu > .dropdown:not(.dropup, .dropstart, .dropend) > .dropdown-menu {
+ top: auto;
+ left: auto;
+ bottom: auto;
+ right: auto;
+}
+.dropdown > .dropdown-menu > .dropdown.dropup .dropdown-toggle::after, .dropdown > .dropdown-menu > .dropdown.dropend .dropdown-toggle::after {
+ vertical-align: 0;
+ position: absolute;
+ right: 10%;
+ top: 45%;
+}
+.dropdown > .dropdown-menu > .dropdown.dropstart .dropdown-toggle::after {
+ vertical-align: 0;
+}
+.dropdown.dropup > .dropdown-menu {
+ top: auto;
+ bottom: auto;
+ margin-top: 0;
+ margin-bottom: 0.125rem;
+}
+.dropdown.dropup > .dropdown-toggle::after {
+ display: inline-block;
+ margin-left: 0.255em;
+ vertical-align: 0.255em;
+ content: "";
+ border-top: 0;
+ border-right: 0.3em solid transparent;
+ border-bottom: 0.3em solid;
+ border-left: 0.3em solid transparent;
+}
+.dropdown.dropup > .dropdown-toggle:empty::after {
+ margin-left: 0;
+}
+.dropdown.dropend > .dropdown-menu {
+ top: 0;
+ right: auto;
+ left: 100%;
+ margin-top: 0;
+ margin-left: 0.125rem;
+}
+.dropdown.dropend > .dropdown-toggle::after {
+ display: inline-block;
+ margin-left: 0.255em;
+ vertical-align: 0.255em;
+ content: "";
+ border-top: 0.3em solid transparent;
+ border-right: 0;
+ border-bottom: 0.3em solid transparent;
+ border-left: 0.3em solid;
+}
+.dropdown.dropend > .dropdown-toggle:empty::after {
+ margin-left: 0;
+}
+.dropdown.dropend > .dropdown-toggle::after {
+ vertical-align: 0;
+}
+.dropdown.dropstart > .dropdown-menu {
+ top: 0;
+ right: 100%;
+ left: auto;
+ margin-top: 0;
+ margin-right: 0.125rem;
+}
+.dropdown.dropstart > .dropdown-toggle::after {
+ display: inline-block;
+ margin-left: 0.255em;
+ vertical-align: 0.255em;
+ content: "";
+}
+.dropdown.dropstart > .dropdown-toggle::after {
+ display: none;
+}
+.dropdown.dropstart > .dropdown-toggle::before {
+ display: inline-block;
+ margin-right: 0.255em;
+ vertical-align: 0.255em;
+ content: "";
+ border-top: 0.3em solid transparent;
+ border-right: 0.3em solid;
+ border-bottom: 0.3em solid transparent;
+}
+.dropdown.dropstart > .dropdown-toggle:empty::after {
+ margin-left: 0;
+}
+.dropdown.dropstart > .dropdown-toggle::before {
+ vertical-align: 0;
+}
+
+.dropdown-menu-start {
+ right: auto;
+ left: 0;
+}
+
+.dropdown-menu-end {
+ right: 0;
+ left: auto;
+}
+
+@media (min-width: 576px) {
+ .dropdown-menu-sm-start {
+ right: auto;
+ left: 0;
+ }
+ .dropdown-menu-sm-end {
+ right: 0;
+ left: auto;
+ }
+}
+@media (min-width: 768px) {
+ .dropdown-menu-md-start {
+ right: auto;
+ left: 0;
+ }
+ .dropdown-menu-md-end {
+ right: 0;
+ left: auto;
+ }
+}
+@media (min-width: 992px) {
+ .dropdown-menu-lg-start {
+ right: auto;
+ left: 0;
+ }
+ .dropdown-menu-lg-end {
+ right: 0;
+ left: auto;
+ }
+}
+@media (min-width: 1200px) {
+ .dropdown-menu-xl-start {
+ right: auto;
+ left: 0;
+ }
+ .dropdown-menu-xl-end {
+ right: 0;
+ left: auto;
+ }
+}
+hr.divider.divider-text {
+ position: unset;
+}
+hr.divider.divider-text::before {
+ top: unset;
+}
+
+.snackbar-stack {
+ z-index: 1059 !important;
+}
+
+.snackbar {
+ z-index: 1060 !important;
+}
+
+.figure.figure-is-16x16 {
+ height: 16px;
+ width: 16px;
+}
+.figure.figure-is-24x24 {
+ height: 24px;
+ width: 24px;
+}
+.figure.figure-is-32x32 {
+ height: 32px;
+ width: 32px;
+}
+.figure.figure-is-48x48 {
+ height: 48px;
+ width: 48px;
+}
+.figure.figure-is-64x64 {
+ height: 64px;
+ width: 64px;
+}
+.figure.figure-is-96x96 {
+ height: 96px;
+ width: 96px;
+}
+.figure.figure-is-128x128 {
+ height: 128px;
+ width: 128px;
+}
+.figure.figure-is-256x256 {
+ height: 256px;
+ width: 256px;
+}
+.figure.figure-is-512x512 {
+ height: 512px;
+ width: 512px;
+}
+
+.form-check > .form-check-input.form-check-input-pointer,
+.form-check > .form-check-label.form-check-label-pointer,
+.form-switch > .form-check-input.form-check-input-pointer,
+.form-switch > .form-check-label.form-check-label-pointer {
+ cursor: pointer;
+}
+
+.form-control-plaintext.form-control-xs, .form-control-plaintext.form-control-md, .form-control-plaintext.form-control-xl {
+ padding-right: 0;
+ padding-left: 0;
+}
+
+.form-control-xs {
+ height: calc(1.5em + 0.3rem + 2px);
+ padding: 0.15rem 0.5rem;
+ font-size: 0.75rem;
+ line-height: 1.5;
+ border-radius: 0.15rem;
+}
+
+.form-control-md {
+ height: calc(1.5em + 0.94rem + 2px);
+ padding: 0.47rem 1rem;
+ font-size: 1.125rem;
+ line-height: 1.5;
+ border-radius: 0.25rem;
+}
+
+.form-control-xl {
+ height: calc(1.5em + 1rem + 2px);
+ padding: 0.5rem 1rem;
+ font-size: 1.5rem;
+ line-height: 1.5;
+ border-radius: 0.4rem;
+}
+
+.form-select-xs {
+ height: calc(1.5em + 0.3rem + 2px);
+ padding-top: 0.15rem;
+ padding-bottom: 0.15rem;
+ padding-left: 0.5rem;
+ font-size: 0.75rem;
+}
+
+.form-select-md {
+ height: calc(1.5em + 0.94rem + 2px);
+ padding-top: 0.47rem;
+ padding-bottom: 0.47rem;
+ padding-left: 1rem;
+ font-size: 1.125rem;
+}
+
+.form-select-xl {
+ height: calc(1.5em + 1rem + 2px);
+ padding-top: 0.5rem;
+ padding-bottom: 0.5rem;
+ padding-left: 1rem;
+ font-size: 1.5rem;
+}
+
+.input-group > .b-numeric:not(:last-child) > input,
+.input-group > div.flatpickr-wrapper:not(:last-child) > input {
+ border-top-right-radius: 0;
+ border-bottom-right-radius: 0;
+}
+.input-group > .b-numeric:not(:first-child) > input,
+.input-group > div.flatpickr-wrapper:not(:first-child) > input {
+ border-top-left-radius: 0;
+ border-bottom-left-radius: 0;
+}
+
+.input-group-xs > .form-control:not(textarea),
+.input-group-xs > .form-select,
+.input-group-xs > .b-numeric > input {
+ height: calc(1.5em + 0.3rem + 2px);
+}
+
+.input-group-xs > .form-control,
+.input-group-xs > .form-select,
+.input-group-xs > .input-group-text,
+.input-group-xs > .btn,
+.input-group-xs > .b-numeric > input {
+ padding: 0.15rem 0.5rem;
+ font-size: 0.75rem;
+ line-height: 1.5;
+ border-radius: 0.15rem;
+}
+
+.input-group-sm > .b-numeric > input {
+ height: calc(1.5em + 0.5rem + 2px);
+}
+
+.input-group-sm > .b-numeric > input {
+ padding: 0.25rem 0.5rem;
+ font-size: 0.875rem;
+ line-height: 1.5;
+ border-radius: 0.2rem;
+}
+
+.input-group-md > .form-control:not(textarea),
+.input-group-md > .form-select,
+.input-group-md > .b-numeric > input {
+ height: calc(1.5em + 0.94rem + 2px);
+}
+
+.input-group-md > .form-control,
+.input-group-md > .form-select,
+.input-group-md > .input-group-text,
+.input-group-md > .btn,
+.input-group-md > .b-numeric > input {
+ padding: 0.47rem 1rem;
+ font-size: 1.125rem;
+ line-height: 1.5;
+ border-radius: 0.25rem;
+}
+
+.input-group-lg > .b-numeric > input {
+ height: calc(1.5em + 1rem + 2px);
+}
+
+.input-group-lg > .b-numeric > input {
+ padding: 0.5rem 1rem;
+ font-size: 1.25rem;
+ line-height: 1.5;
+ border-radius: 0.3rem;
+}
+
+.input-group-xl > .form-control:not(textarea),
+.input-group-xl > .form-select,
+.input-group-xl > .b-numeric > input {
+ height: calc(1.5em + 1rem + 2px);
+}
+
+.input-group-xl > .form-control,
+.input-group-xl > .form-select,
+.input-group-xl > .input-group-text,
+.input-group-xl > .btn,
+.input-group-xl > .b-numeric > input {
+ padding: 0.5rem 1rem;
+ font-size: 1.5rem;
+ line-height: 1.5;
+ border-radius: 0.4rem;
+}
+
+.input-group-xs > .form-select,
+.input-group-md > .form-select,
+.input-group-xl > .form-select {
+ padding-right: 1.75rem;
+}
+
+.input-group:not(.has-validation) > .dropdown:first-child > .btn:not(:last-child).dropdown-toggle {
+ border-top-right-radius: 0;
+ border-bottom-right-radius: 0;
+}
+
+.input-group.has-validation > .dropdown > .btn:not(:last-child).dropdown-toggle,
+.input-group.has-validation > .dropdown > .btn:not(:last-child):not(.dropdown-toggle) {
+ border-top-left-radius: 0;
+ border-bottom-left-radius: 0;
+}
+
+.input-group > div.flatpickr-wrapper > .form-control {
+ position: relative;
+ flex: 1 1 auto;
+ width: 1%;
+ min-width: 0;
+}
+
+.form-check > .form-check-input.form-check-input-xs {
+ width: 0.7rem;
+ height: 0.7rem;
+}
+.form-check > .form-check-input.form-check-input-xs + .form-check-label {
+ line-height: "normal";
+ padding-left: 0px;
+}
+
+.form-check > .form-check-input.form-check-input-sm {
+ width: 0.8rem;
+ height: 0.8rem;
+}
+.form-check > .form-check-input.form-check-input-sm + .form-check-label {
+ line-height: "normal";
+ padding-left: 0px;
+}
+
+.form-check > .form-check-input.form-check-input-md {
+ width: 1.25rem;
+ height: 1.25rem;
+}
+.form-check > .form-check-input.form-check-input-md + .form-check-label {
+ line-height: 1.7rem;
+ padding-left: 3px;
+}
+
+.form-check > .form-check-input.form-check-input-lg {
+ width: 1.55rem;
+ height: 1.55rem;
+}
+.form-check > .form-check-input.form-check-input-lg + .form-check-label {
+ line-height: 2rem;
+ padding-left: 6px;
+}
+
+.form-check > .form-check-input.form-check-input-xl {
+ width: 1.85rem;
+ height: 1.85rem;
+}
+.form-check > .form-check-input.form-check-input-xl + .form-check-label {
+ line-height: 2.5rem;
+ padding-left: 10px;
+}
+
+select[readonly] {
+ pointer-events: none;
+}
+select[readonly] option,
+select[readonly] optgroup {
+ display: none;
+}
+
+.b-numeric {
+ position: relative;
+ width: 100%;
+}
+.b-numeric:hover > .b-numeric-handler-wrap {
+ opacity: 1;
+}
+.b-numeric input:disabled + .b-numeric-handler-wrap, .b-numeric input:read-only + .b-numeric-handler-wrap {
+ display: none;
+}
+
+.b-numeric-handler-wrap {
+ position: absolute;
+ top: 0;
+ right: 0;
+ width: 22px;
+ height: 100%;
+ background: #fff;
+ border: 1px solid #d9d9d9;
+ opacity: 0;
+}
+
+.input-group .b-numeric {
+ -ms-flex: 1 1 auto;
+ flex: 1 1 auto;
+ width: 1%;
+}
+
+.b-numeric-handler-wrap .b-numeric-handler.b-numeric-handler-down {
+ border-top: 1px solid #d9d9d9;
+}
+
+.b-numeric-handler {
+ position: relative;
+ display: flex;
+ width: 100%;
+ height: 50%;
+ overflow: hidden;
+ color: rgba(0, 0, 0, 0.45);
+ font-weight: 700;
+ line-height: 0;
+ align-items: center;
+ justify-content: center;
+}
+.b-numeric-handler.btn {
+ padding: 0;
+}
+
+.form-control + .b-numeric-handler-wrap {
+ font-size: 1rem;
+ border-top-right-radius: 0.25rem;
+ border-bottom-right-radius: 0.25rem;
+}
+
+.form-control-xs + .b-numeric-handler-wrap {
+ font-size: 0.75rem;
+ border-top-right-radius: 0.15rem;
+ border-bottom-right-radius: 0.15rem;
+}
+.form-control-xs + .b-numeric-handler-wrap > .b-numeric-handler.btn {
+ font-size: 0.75rem;
+}
+
+.form-control-sm + .b-numeric-handler-wrap {
+ font-size: 0.875rem;
+ border-top-right-radius: 0.2rem;
+ border-bottom-right-radius: 0.2rem;
+}
+.form-control-sm + .b-numeric-handler-wrap > .b-numeric-handler.btn {
+ font-size: 0.875rem;
+}
+
+.form-control-md + .b-numeric-handler-wrap {
+ font-size: 1.125rem;
+ border-top-right-radius: 0.25rem;
+ border-bottom-right-radius: 0.25rem;
+}
+.form-control-md + .b-numeric-handler-wrap > .b-numeric-handler.btn {
+ font-size: 1.125rem;
+}
+
+.form-control-lg + .b-numeric-handler-wrap {
+ font-size: 1.25rem;
+ border-top-right-radius: 0.3rem;
+ border-bottom-right-radius: 0.3rem;
+}
+.form-control-lg + .b-numeric-handler-wrap > .b-numeric-handler.btn {
+ font-size: 1.25rem;
+}
+
+.form-control-xl + .b-numeric-handler-wrap {
+ font-size: 1.5rem;
+ border-top-right-radius: 0.4rem;
+ border-bottom-right-radius: 0.4rem;
+}
+.form-control-xl + .b-numeric-handler-wrap > .b-numeric-handler.btn {
+ font-size: 1.5rem;
+}
+
+.custom-file-label {
+ overflow: hidden;
+}
+
+input[readonly][type=range],
+input[readonly=readonly][type=range] {
+ pointer-events: none;
+}
+input[readonly][type=range]::-webkit-slider-thumb,
+input[readonly=readonly][type=range]::-webkit-slider-thumb {
+ pointer-events: none;
+}
+input[readonly][type=range]::-moz-range-thumb,
+input[readonly=readonly][type=range]::-moz-range-thumb {
+ pointer-events: none;
+}
+input[readonly][type=range]::-ms-thumb,
+input[readonly=readonly][type=range]::-ms-thumb {
+ pointer-events: none;
+}
+
+.form-group {
+ margin-bottom: 1rem;
+}
+
+.form-inline {
+ display: flex;
+ flex-flow: row wrap;
+ align-items: center;
+}
+.form-inline .form-check {
+ width: 100%;
+}
+@media (min-width: 576px) {
+ .form-inline label {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ margin-bottom: 0;
+ }
+ .form-inline .form-group {
+ display: flex;
+ flex: 0 0 auto;
+ flex-flow: row wrap;
+ align-items: center;
+ margin-bottom: 0;
+ }
+ .form-inline .form-control {
+ display: inline-block;
+ width: auto;
+ vertical-align: middle;
+ }
+ .form-inline .form-control-plaintext {
+ display: inline-block;
+ }
+ .form-inline .input-group,
+ .form-inline .custom-select {
+ width: auto;
+ }
+ .form-inline .form-check {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ width: auto;
+ padding-left: 0;
+ }
+ .form-inline .form-check-input {
+ position: relative;
+ flex-shrink: 0;
+ margin-top: 0;
+ margin-right: 0.25rem;
+ margin-left: 0;
+ }
+ .form-inline .form-select {
+ align-items: center;
+ justify-content: center;
+ }
+ .form-inline .form-check-label {
+ margin-bottom: 0;
+ }
+}
+
+.b-input-color-picker {
+ padding: 0.5rem 0.6rem;
+}
+.b-input-color-picker > .b-input-color-picker-preview {
+ height: 0.55rem;
+}
+
+.focus-trap {
+ display: contents;
+}
+
+.form-file input[type=file] {
+ margin-left: -2px !important;
+}
+
+.form-file input[type=file]::-webkit-file-upload-button {
+ display: none;
+}
+
+.form-file input[type=file]::file-selector-button {
+ display: none;
+}
+
+.form-label-required:after {
+ content: " *";
+ color: var(--b-theme-danger, #dc3545);
+}
+
+.jumbotron {
+ padding: 2rem 1rem;
+ margin-bottom: 2rem;
+ background-color: #e9ecef;
+ border-radius: 0.3rem;
+}
+@media (min-width: 576px) {
+ .jumbotron {
+ padding: 4rem 2rem;
+ }
+}
+
+.jumbotron-fluid {
+ padding-right: 0;
+ padding-left: 0;
+ border-radius: 0;
+}
+
+.jumbotron.jumbotron-primary {
+ background-color: #007bff;
+ color: #fff;
+}
+.jumbotron.jumbotron-secondary {
+ background-color: #6c757d;
+ color: #fff;
+}
+.jumbotron.jumbotron-success {
+ background-color: #28a745;
+ color: #fff;
+}
+.jumbotron.jumbotron-info {
+ background-color: #17a2b8;
+ color: #fff;
+}
+.jumbotron.jumbotron-warning {
+ background-color: #ffc107;
+ color: #212529;
+}
+.jumbotron.jumbotron-danger {
+ background-color: #dc3545;
+ color: #fff;
+}
+.jumbotron.jumbotron-light {
+ background-color: #f8f9fa;
+ color: #212529;
+}
+.jumbotron.jumbotron-dark {
+ background-color: #343a40;
+ color: #fff;
+}
+.jumbotron.jumbotron-link {
+ background-color: #3273dc;
+ color: #fff;
+}
+
+.b-layout-header-fixed {
+ z-index: 1030;
+}
+
+.b-layout-footer-fixed {
+ z-index: 1030;
+}
+
+.b-layout-sider-content {
+ z-index: 1031;
+}
+
+li.list-group-item-action {
+ cursor: pointer;
+}
+
+.list-group-scrollable {
+ overflow-y: scroll;
+}
+
+.media {
+ display: flex;
+ align-items: flex-start;
+}
+
+.media-body {
+ flex: 1;
+}
+
+.modal.fade {
+ transition: opacity var(--modal-animation-duration, 300ms) linear;
+}
+.modal.fade .modal-dialog {
+ transition: -webkit-transform var(--modal-animation-duration, 300ms) ease-out;
+ transition: transform var(--modal-animation-duration, 300ms) ease-out;
+}
+
+.offcanvas-footer {
+ position: sticky;
+ bottom: 0;
+ top: auto;
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ padding: var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);
+}
+
+.page-item:not(.disabled) .page-link {
+ cursor: pointer;
+}
+
+.pagination-xs .page-link {
+ padding: 0.125rem 0.25rem;
+ font-size: 0.75rem;
+ line-height: 1.5;
+}
+.pagination-xs .page-item:first-child .page-link {
+ border-top-left-radius: 0.15rem;
+ border-bottom-left-radius: 0.15rem;
+}
+.pagination-xs .page-item:last-child .page-link {
+ border-top-right-radius: 0.15rem;
+ border-bottom-right-radius: 0.15rem;
+}
+
+.pagination-md .page-link {
+ padding: 0.625rem 1.25rem;
+ font-size: 1.125rem;
+ line-height: 1.5;
+}
+.pagination-md .page-item:first-child .page-link {
+ border-top-left-radius: 0.25rem;
+ border-bottom-left-radius: 0.25rem;
+}
+.pagination-md .page-item:last-child .page-link {
+ border-top-right-radius: 0.25rem;
+ border-bottom-right-radius: 0.25rem;
+}
+
+.pagination-xl .page-link {
+ padding: 1rem 2rem;
+ font-size: 1.5rem;
+ line-height: 1.5;
+}
+.pagination-xl .page-item:first-child .page-link {
+ border-top-left-radius: 0.4rem;
+ border-bottom-left-radius: 0.4rem;
+}
+.pagination-xl .page-item:last-child .page-link {
+ border-top-right-radius: 0.4rem;
+ border-bottom-right-radius: 0.4rem;
+}
+
+.b-page-progress .b-page-progress-indicator.b-page-progress-indicator-primary {
+ background-color: #007bff;
+}
+.b-page-progress .b-page-progress-indicator.b-page-progress-indicator-secondary {
+ background-color: #6c757d;
+}
+.b-page-progress .b-page-progress-indicator.b-page-progress-indicator-success {
+ background-color: #28a745;
+}
+.b-page-progress .b-page-progress-indicator.b-page-progress-indicator-info {
+ background-color: #17a2b8;
+}
+.b-page-progress .b-page-progress-indicator.b-page-progress-indicator-warning {
+ background-color: #ffc107;
+}
+.b-page-progress .b-page-progress-indicator.b-page-progress-indicator-danger {
+ background-color: #dc3545;
+}
+.b-page-progress .b-page-progress-indicator.b-page-progress-indicator-light {
+ background-color: #f8f9fa;
+}
+.b-page-progress .b-page-progress-indicator.b-page-progress-indicator-dark {
+ background-color: #343a40;
+}
+.b-page-progress .b-page-progress-indicator.b-page-progress-indicator-link {
+ background-color: #3273dc;
+}
+
+.rating:not(.rating-disabled):not(.rating-readonly):hover .rating-item {
+ cursor: pointer;
+}
+.rating.rating-disabled {
+ opacity: 0.65;
+}
+.rating .rating-item.rating-item-primary {
+ color: #007bff;
+}
+.rating .rating-item.rating-item-secondary {
+ color: #6c757d;
+}
+.rating .rating-item.rating-item-success {
+ color: #28a745;
+}
+.rating .rating-item.rating-item-info {
+ color: #17a2b8;
+}
+.rating .rating-item.rating-item-warning {
+ color: #ffc107;
+}
+.rating .rating-item.rating-item-danger {
+ color: #dc3545;
+}
+.rating .rating-item.rating-item-light {
+ color: #f8f9fa;
+}
+.rating .rating-item.rating-item-dark {
+ color: #343a40;
+}
+.rating .rating-item.rating-item-link {
+ color: #3273dc;
+}
+.rating .rating-item.rating-item-hover {
+ opacity: 0.7;
+}
+
+.gap-y-0 {
+ row-gap: 0 !important;
+}
+
+.gap-x-0 {
+ column-gap: 0 !important;
+}
+
+.gap-y-1 {
+ row-gap: 0.25rem !important;
+}
+
+.gap-x-1 {
+ column-gap: 0.25rem !important;
+}
+
+.gap-y-2 {
+ row-gap: 0.5rem !important;
+}
+
+.gap-x-2 {
+ column-gap: 0.5rem !important;
+}
+
+.gap-y-3 {
+ row-gap: 1rem !important;
+}
+
+.gap-x-3 {
+ column-gap: 1rem !important;
+}
+
+.gap-y-4 {
+ row-gap: 1.5rem !important;
+}
+
+.gap-x-4 {
+ column-gap: 1.5rem !important;
+}
+
+.gap-y-5 {
+ row-gap: 3rem !important;
+}
+
+.gap-x-5 {
+ column-gap: 3rem !important;
+}
+
+.steps {
+ padding: 0;
+ margin: 0;
+ list-style: none;
+ display: flex;
+ overflow-x: auto;
+}
+.steps .step:first-child {
+ margin-left: auto;
+}
+.steps .step:last-child {
+ margin-right: auto;
+}
+
+.step:first-of-type .step-circle::before {
+ display: none;
+}
+.step:last-of-type .step-container {
+ padding-right: 0;
+}
+
+.step-container {
+ box-sizing: content-box;
+ display: flex;
+ align-items: center;
+ flex-direction: column;
+ width: 5rem;
+ min-width: 5rem;
+ max-width: 5rem;
+ padding-top: 0.5rem;
+ padding-right: 1rem;
+}
+
+.step-circle {
+ position: relative;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ width: 1.5rem;
+ height: 1.5rem;
+ color: #adb5bd;
+ border: 2px solid #adb5bd;
+ border-radius: 100%;
+ background-color: #fff;
+}
+.step-circle::before {
+ content: "";
+ display: block;
+ position: absolute;
+ top: 50%;
+ left: -2px;
+ width: calc(5rem + 1rem - 1.5rem);
+ height: 2px;
+ transform: translate(-100%, -50%);
+ color: #adb5bd;
+ background-color: currentColor;
+}
+
+.step-text {
+ color: #adb5bd;
+ word-break: keep-all;
+ text-align: center;
+ margin-top: 0.25em;
+}
+
+.step-completed .step-circle {
+ color: #fff;
+ background-color: #28a745;
+ border-color: #28a745;
+}
+.step-completed .step-circle::before {
+ color: #28a745;
+}
+.step-completed .step-text {
+ color: #28a745;
+}
+
+.step-active .step-circle {
+ color: #fff;
+ background-color: #007bff;
+ border-color: #007bff;
+}
+.step-active .step-circle::before {
+ color: #007bff;
+}
+.step-active .step-text {
+ color: #007bff;
+}
+
+.step-primary .step-circle {
+ color: #007bff;
+ border-color: #007bff;
+}
+.step-primary.step-completed .step-circle {
+ color: #fff;
+ background-color: #007bff;
+ border-color: #007bff;
+}
+.step-primary.step-completed .step-circle::before {
+ color: #007bff;
+}
+.step-primary.step-completed .step-text {
+ color: #007bff;
+}
+.step-primary.step-active .step-circle {
+ color: #fff;
+ background-color: #007bff;
+ border-color: #007bff;
+}
+.step-primary.step-active::before {
+ color: #007bff;
+}
+.step-primary.step-active .step-text {
+ color: #007bff;
+}
+
+.step-secondary .step-circle {
+ color: #6c757d;
+ border-color: #6c757d;
+}
+.step-secondary.step-completed .step-circle {
+ color: #fff;
+ background-color: #6c757d;
+ border-color: #6c757d;
+}
+.step-secondary.step-completed .step-circle::before {
+ color: #6c757d;
+}
+.step-secondary.step-completed .step-text {
+ color: #6c757d;
+}
+.step-secondary.step-active .step-circle {
+ color: #fff;
+ background-color: #007bff;
+ border-color: #007bff;
+}
+.step-secondary.step-active::before {
+ color: #007bff;
+}
+.step-secondary.step-active .step-text {
+ color: #007bff;
+}
+
+.step-success .step-circle {
+ color: #28a745;
+ border-color: #28a745;
+}
+.step-success.step-completed .step-circle {
+ color: #fff;
+ background-color: #28a745;
+ border-color: #28a745;
+}
+.step-success.step-completed .step-circle::before {
+ color: #28a745;
+}
+.step-success.step-completed .step-text {
+ color: #28a745;
+}
+.step-success.step-active .step-circle {
+ color: #fff;
+ background-color: #007bff;
+ border-color: #007bff;
+}
+.step-success.step-active::before {
+ color: #007bff;
+}
+.step-success.step-active .step-text {
+ color: #007bff;
+}
+
+.step-info .step-circle {
+ color: #17a2b8;
+ border-color: #17a2b8;
+}
+.step-info.step-completed .step-circle {
+ color: #fff;
+ background-color: #17a2b8;
+ border-color: #17a2b8;
+}
+.step-info.step-completed .step-circle::before {
+ color: #17a2b8;
+}
+.step-info.step-completed .step-text {
+ color: #17a2b8;
+}
+.step-info.step-active .step-circle {
+ color: #fff;
+ background-color: #007bff;
+ border-color: #007bff;
+}
+.step-info.step-active::before {
+ color: #007bff;
+}
+.step-info.step-active .step-text {
+ color: #007bff;
+}
+
+.step-warning .step-circle {
+ color: #ffc107;
+ border-color: #ffc107;
+}
+.step-warning.step-completed .step-circle {
+ color: #fff;
+ background-color: #ffc107;
+ border-color: #ffc107;
+}
+.step-warning.step-completed .step-circle::before {
+ color: #ffc107;
+}
+.step-warning.step-completed .step-text {
+ color: #ffc107;
+}
+.step-warning.step-active .step-circle {
+ color: #fff;
+ background-color: #007bff;
+ border-color: #007bff;
+}
+.step-warning.step-active::before {
+ color: #007bff;
+}
+.step-warning.step-active .step-text {
+ color: #007bff;
+}
+
+.step-danger .step-circle {
+ color: #dc3545;
+ border-color: #dc3545;
+}
+.step-danger.step-completed .step-circle {
+ color: #fff;
+ background-color: #dc3545;
+ border-color: #dc3545;
+}
+.step-danger.step-completed .step-circle::before {
+ color: #dc3545;
+}
+.step-danger.step-completed .step-text {
+ color: #dc3545;
+}
+.step-danger.step-active .step-circle {
+ color: #fff;
+ background-color: #007bff;
+ border-color: #007bff;
+}
+.step-danger.step-active::before {
+ color: #007bff;
+}
+.step-danger.step-active .step-text {
+ color: #007bff;
+}
+
+.step-light .step-circle {
+ color: #f8f9fa;
+ border-color: #f8f9fa;
+}
+.step-light.step-completed .step-circle {
+ color: #fff;
+ background-color: #f8f9fa;
+ border-color: #f8f9fa;
+}
+.step-light.step-completed .step-circle::before {
+ color: #f8f9fa;
+}
+.step-light.step-completed .step-text {
+ color: #f8f9fa;
+}
+.step-light.step-active .step-circle {
+ color: #fff;
+ background-color: #007bff;
+ border-color: #007bff;
+}
+.step-light.step-active::before {
+ color: #007bff;
+}
+.step-light.step-active .step-text {
+ color: #007bff;
+}
+
+.step-dark .step-circle {
+ color: #343a40;
+ border-color: #343a40;
+}
+.step-dark.step-completed .step-circle {
+ color: #fff;
+ background-color: #343a40;
+ border-color: #343a40;
+}
+.step-dark.step-completed .step-circle::before {
+ color: #343a40;
+}
+.step-dark.step-completed .step-text {
+ color: #343a40;
+}
+.step-dark.step-active .step-circle {
+ color: #fff;
+ background-color: #007bff;
+ border-color: #007bff;
+}
+.step-dark.step-active::before {
+ color: #007bff;
+}
+.step-dark.step-active .step-text {
+ color: #007bff;
+}
+
+.step-link .step-circle {
+ color: #3273dc;
+ border-color: #3273dc;
+}
+.step-link.step-completed .step-circle {
+ color: #fff;
+ background-color: #3273dc;
+ border-color: #3273dc;
+}
+.step-link.step-completed .step-circle::before {
+ color: #3273dc;
+}
+.step-link.step-completed .step-text {
+ color: #3273dc;
+}
+.step-link.step-active .step-circle {
+ color: #fff;
+ background-color: #007bff;
+ border-color: #007bff;
+}
+.step-link.step-active::before {
+ color: #007bff;
+}
+.step-link.step-active .step-text {
+ color: #007bff;
+}
+
+.steps-content {
+ margin: 1rem 0;
+}
+.steps-content > .step-panel {
+ display: none;
+}
+.steps-content > .active {
+ display: block;
+}
+
+.form-check.form-switch .form-check-input.form-check-input-primary:checked {
+ background-color: #007bff;
+ border-color: #007bff;
+}
+
+.form-check.form-switch .form-check-input.form-check-input-secondary:checked {
+ background-color: #6c757d;
+ border-color: #6c757d;
+}
+
+.form-check.form-switch .form-check-input.form-check-input-success:checked {
+ background-color: #28a745;
+ border-color: #28a745;
+}
+
+.form-check.form-switch .form-check-input.form-check-input-info:checked {
+ background-color: #17a2b8;
+ border-color: #17a2b8;
+}
+
+.form-check.form-switch .form-check-input.form-check-input-warning:checked {
+ background-color: #ffc107;
+ border-color: #ffc107;
+}
+
+.form-check.form-switch .form-check-input.form-check-input-danger:checked {
+ background-color: #dc3545;
+ border-color: #dc3545;
+}
+
+.form-check.form-switch .form-check-input.form-check-input-light:checked {
+ background-color: #f8f9fa;
+ border-color: #f8f9fa;
+}
+
+.form-check.form-switch .form-check-input.form-check-input-dark:checked {
+ background-color: #343a40;
+ border-color: #343a40;
+}
+
+.form-check.form-switch .form-check-input.form-check-input-link:checked {
+ background-color: #3273dc;
+ border-color: #3273dc;
+}
+
+.form-check.form-switch .form-check-input.form-check-input-xs {
+ width: calc(0.75rem + (0.5rem / 2));
+ height: 0.5rem;
+ margin-left: -2.5em;
+}
+.form-check.form-switch .form-check-input.form-check-input-xs + .form-check-label {
+ line-height: 1rem;
+ vertical-align: middle;
+ padding-left: 0;
+}
+.form-check.form-switch .form-check-input.form-check-input-xs:checked ~ .form-check-label::after {
+ transform: translateX(calc(0.75rem - (0.5rem / 2)));
+}
+
+.form-check.form-switch .form-check-input.form-check-input-sm {
+ width: calc(1rem + (0.75rem / 2));
+ height: 0.75rem;
+ margin-left: -2.5em;
+}
+.form-check.form-switch .form-check-input.form-check-input-sm + .form-check-label {
+ line-height: 1.25rem;
+ vertical-align: middle;
+ padding-left: 0.75rem;
+}
+.form-check.form-switch .form-check-input.form-check-input-sm:checked ~ .form-check-label::after {
+ transform: translateX(calc(1rem - (0.75rem / 2)));
+}
+
+.form-check.form-switch .form-check-input.form-check-input-md {
+ width: calc(2rem + (1.5rem / 2));
+ height: 1.5rem;
+ margin-left: -2.5em;
+}
+.form-check.form-switch .form-check-input.form-check-input-md + .form-check-label {
+ line-height: 2rem;
+ vertical-align: middle;
+ padding-left: 0.75rem;
+}
+.form-check.form-switch .form-check-input.form-check-input-md:checked ~ .form-check-label::after {
+ transform: translateX(calc(2rem - (1.5rem / 2)));
+}
+
+.form-check.form-switch .form-check-input.form-check-input-lg {
+ width: calc(3rem + (2rem / 2));
+ height: 2rem;
+ margin-left: -2.5em;
+}
+.form-check.form-switch .form-check-input.form-check-input-lg + .form-check-label {
+ line-height: 2.5rem;
+ vertical-align: middle;
+ padding-left: 0.75rem;
+}
+.form-check.form-switch .form-check-input.form-check-input-lg:checked ~ .form-check-label::after {
+ transform: translateX(calc(3rem - (2rem / 2)));
+}
+
+.form-check.form-switch .form-check-input.form-check-input-xl {
+ width: calc(4rem + (2.5rem / 2));
+ height: 2.5rem;
+ margin-left: -2.5em;
+}
+.form-check.form-switch .form-check-input.form-check-input-xl + .form-check-label {
+ line-height: 3rem;
+ vertical-align: middle;
+ padding-left: 0.75rem;
+}
+.form-check.form-switch .form-check-input.form-check-input-xl:checked ~ .form-check-label::after {
+ transform: translateX(calc(4rem - (2.5rem / 2)));
+}
+
+table.table tbody tr:not(.table-group).selected {
+ background-color: var(--bs-primary);
+}
+table.table tbody tr.table-group {
+ cursor: pointer;
+ background-color: var(--b-theme-light, var(--bs-light, #f5f5f5));
+ font-weight: 700;
+}
+
+tr.table-row-selectable:hover {
+ cursor: pointer;
+}
+tr.table-row-selectable:focus[tabindex="0"] {
+ outline: none;
+}
+
+.table-fixed-header {
+ overflow-y: auto;
+}
+.table-fixed-header > .table {
+ border-collapse: separate;
+ border-spacing: 0;
+}
+.table-fixed-header > .table > thead:not(.table-thead-theme) > tr > th {
+ background: white;
+}
+.table-fixed-header > .table > thead > tr > th {
+ border-top: none;
+ position: sticky;
+ z-index: 10;
+}
+.table-fixed-header > .table > thead > tr:nth-child(1) > th {
+ top: 0;
+}
+.table-fixed-header > .table-bordered > :not(caption) > * > * {
+ border-width: 1px 1px;
+}
+
+.overflow-auto-auto {
+ overflow: auto auto !important;
+}
+
+.overflow-auto-hidden {
+ overflow: auto hidden !important;
+}
+
+.overflow-auto-visible {
+ overflow: auto visible !important;
+}
+
+.overflow-auto-scroll {
+ overflow: auto scroll !important;
+}
+
+.overflow-hidden-auto {
+ overflow: hidden auto !important;
+}
+
+.overflow-hidden-hidden {
+ overflow: hidden hidden !important;
+}
+
+.overflow-hidden-visible {
+ overflow: hidden visible !important;
+}
+
+.overflow-hidden-scroll {
+ overflow: hidden scroll !important;
+}
+
+.overflow-visible-auto {
+ overflow: visible auto !important;
+}
+
+.overflow-visible-hidden {
+ overflow: visible hidden !important;
+}
+
+.overflow-visible-visible {
+ overflow: visible visible !important;
+}
+
+.overflow-visible-scroll {
+ overflow: visible scroll !important;
+}
+
+.overflow-scroll-auto {
+ overflow: scroll auto !important;
+}
+
+.overflow-scroll-hidden {
+ overflow: scroll hidden !important;
+}
+
+.overflow-scroll-visible {
+ overflow: scroll visible !important;
+}
+
+.overflow-scroll-scroll {
+ overflow: scroll scroll !important;
+}
+
+ol.ordered-list-lower-alpha {
+ list-style-type: lower-alpha;
+}
+ol.ordered-list-lower-roman {
+ list-style-type: lower-roman;
+}
+ol.ordered-list-upper-alpha {
+ list-style-type: upper-alpha;
+}
+ol.ordered-list-upper-roman {
+ list-style-type: upper-roman;
+}
+
+.border-1 {
+ border: 1px solid #dee2e6 !important;
+}
+.border-1.border-primary {
+ border-color: #007bff !important;
+}
+.border-1.border-secondary {
+ border-color: #6c757d !important;
+}
+.border-1.border-success {
+ border-color: #28a745 !important;
+}
+.border-1.border-info {
+ border-color: #17a2b8 !important;
+}
+.border-1.border-warning {
+ border-color: #ffc107 !important;
+}
+.border-1.border-danger {
+ border-color: #dc3545 !important;
+}
+.border-1.border-light {
+ border-color: #f8f9fa !important;
+}
+.border-1.border-dark {
+ border-color: #343a40 !important;
+}
+.border-1.border-link {
+ border-color: #3273dc !important;
+}
+
+.border-primary-1 {
+ border: 1px solid #007bff !important;
+}
+
+.border-secondary-1 {
+ border: 1px solid #6c757d !important;
+}
+
+.border-success-1 {
+ border: 1px solid #28a745 !important;
+}
+
+.border-info-1 {
+ border: 1px solid #17a2b8 !important;
+}
+
+.border-warning-1 {
+ border: 1px solid #ffc107 !important;
+}
+
+.border-danger-1 {
+ border: 1px solid #dc3545 !important;
+}
+
+.border-light-1 {
+ border: 1px solid #f8f9fa !important;
+}
+
+.border-dark-1 {
+ border: 1px solid #343a40 !important;
+}
+
+.border-link-1 {
+ border: 1px solid #3273dc !important;
+}
+
+.border-top-1 {
+ border-top: 1px solid #dee2e6 !important;
+}
+
+.border-primary-top-1 {
+ border-top: 1px solid #007bff !important;
+}
+
+.border-secondary-top-1 {
+ border-top: 1px solid #6c757d !important;
+}
+
+.border-success-top-1 {
+ border-top: 1px solid #28a745 !important;
+}
+
+.border-info-top-1 {
+ border-top: 1px solid #17a2b8 !important;
+}
+
+.border-warning-top-1 {
+ border-top: 1px solid #ffc107 !important;
+}
+
+.border-danger-top-1 {
+ border-top: 1px solid #dc3545 !important;
+}
+
+.border-light-top-1 {
+ border-top: 1px solid #f8f9fa !important;
+}
+
+.border-dark-top-1 {
+ border-top: 1px solid #343a40 !important;
+}
+
+.border-link-top-1 {
+ border-top: 1px solid #3273dc !important;
+}
+
+.border-end-1 {
+ border-right: 1px solid #dee2e6 !important;
+}
+
+.border-primary-end-1 {
+ border-right: 1px solid #007bff !important;
+}
+
+.border-secondary-end-1 {
+ border-right: 1px solid #6c757d !important;
+}
+
+.border-success-end-1 {
+ border-right: 1px solid #28a745 !important;
+}
+
+.border-info-end-1 {
+ border-right: 1px solid #17a2b8 !important;
+}
+
+.border-warning-end-1 {
+ border-right: 1px solid #ffc107 !important;
+}
+
+.border-danger-end-1 {
+ border-right: 1px solid #dc3545 !important;
+}
+
+.border-light-end-1 {
+ border-right: 1px solid #f8f9fa !important;
+}
+
+.border-dark-end-1 {
+ border-right: 1px solid #343a40 !important;
+}
+
+.border-link-end-1 {
+ border-right: 1px solid #3273dc !important;
+}
+
+.border-bottom-1 {
+ border-bottom: 1px solid #dee2e6 !important;
+}
+
+.border-primary-bottom-1 {
+ border-bottom: 1px solid #007bff !important;
+}
+
+.border-secondary-bottom-1 {
+ border-bottom: 1px solid #6c757d !important;
+}
+
+.border-success-bottom-1 {
+ border-bottom: 1px solid #28a745 !important;
+}
+
+.border-info-bottom-1 {
+ border-bottom: 1px solid #17a2b8 !important;
+}
+
+.border-warning-bottom-1 {
+ border-bottom: 1px solid #ffc107 !important;
+}
+
+.border-danger-bottom-1 {
+ border-bottom: 1px solid #dc3545 !important;
+}
+
+.border-light-bottom-1 {
+ border-bottom: 1px solid #f8f9fa !important;
+}
+
+.border-dark-bottom-1 {
+ border-bottom: 1px solid #343a40 !important;
+}
+
+.border-link-bottom-1 {
+ border-bottom: 1px solid #3273dc !important;
+}
+
+.border-start-1 {
+ border-left: 1px solid #dee2e6 !important;
+}
+
+.border-primary-start-1 {
+ border-left: 1px solid #007bff !important;
+}
+
+.border-secondary-start-1 {
+ border-left: 1px solid #6c757d !important;
+}
+
+.border-success-start-1 {
+ border-left: 1px solid #28a745 !important;
+}
+
+.border-info-start-1 {
+ border-left: 1px solid #17a2b8 !important;
+}
+
+.border-warning-start-1 {
+ border-left: 1px solid #ffc107 !important;
+}
+
+.border-danger-start-1 {
+ border-left: 1px solid #dc3545 !important;
+}
+
+.border-light-start-1 {
+ border-left: 1px solid #f8f9fa !important;
+}
+
+.border-dark-start-1 {
+ border-left: 1px solid #343a40 !important;
+}
+
+.border-link-start-1 {
+ border-left: 1px solid #3273dc !important;
+}
+
+.border-2 {
+ border: 2px solid #dee2e6 !important;
+}
+.border-2.border-primary {
+ border-color: #007bff !important;
+}
+.border-2.border-secondary {
+ border-color: #6c757d !important;
+}
+.border-2.border-success {
+ border-color: #28a745 !important;
+}
+.border-2.border-info {
+ border-color: #17a2b8 !important;
+}
+.border-2.border-warning {
+ border-color: #ffc107 !important;
+}
+.border-2.border-danger {
+ border-color: #dc3545 !important;
+}
+.border-2.border-light {
+ border-color: #f8f9fa !important;
+}
+.border-2.border-dark {
+ border-color: #343a40 !important;
+}
+.border-2.border-link {
+ border-color: #3273dc !important;
+}
+
+.border-primary-2 {
+ border: 2px solid #007bff !important;
+}
+
+.border-secondary-2 {
+ border: 2px solid #6c757d !important;
+}
+
+.border-success-2 {
+ border: 2px solid #28a745 !important;
+}
+
+.border-info-2 {
+ border: 2px solid #17a2b8 !important;
+}
+
+.border-warning-2 {
+ border: 2px solid #ffc107 !important;
+}
+
+.border-danger-2 {
+ border: 2px solid #dc3545 !important;
+}
+
+.border-light-2 {
+ border: 2px solid #f8f9fa !important;
+}
+
+.border-dark-2 {
+ border: 2px solid #343a40 !important;
+}
+
+.border-link-2 {
+ border: 2px solid #3273dc !important;
+}
+
+.border-top-2 {
+ border-top: 2px solid #dee2e6 !important;
+}
+
+.border-primary-top-2 {
+ border-top: 2px solid #007bff !important;
+}
+
+.border-secondary-top-2 {
+ border-top: 2px solid #6c757d !important;
+}
+
+.border-success-top-2 {
+ border-top: 2px solid #28a745 !important;
+}
+
+.border-info-top-2 {
+ border-top: 2px solid #17a2b8 !important;
+}
+
+.border-warning-top-2 {
+ border-top: 2px solid #ffc107 !important;
+}
+
+.border-danger-top-2 {
+ border-top: 2px solid #dc3545 !important;
+}
+
+.border-light-top-2 {
+ border-top: 2px solid #f8f9fa !important;
+}
+
+.border-dark-top-2 {
+ border-top: 2px solid #343a40 !important;
+}
+
+.border-link-top-2 {
+ border-top: 2px solid #3273dc !important;
+}
+
+.border-end-2 {
+ border-right: 2px solid #dee2e6 !important;
+}
+
+.border-primary-end-2 {
+ border-right: 2px solid #007bff !important;
+}
+
+.border-secondary-end-2 {
+ border-right: 2px solid #6c757d !important;
+}
+
+.border-success-end-2 {
+ border-right: 2px solid #28a745 !important;
+}
+
+.border-info-end-2 {
+ border-right: 2px solid #17a2b8 !important;
+}
+
+.border-warning-end-2 {
+ border-right: 2px solid #ffc107 !important;
+}
+
+.border-danger-end-2 {
+ border-right: 2px solid #dc3545 !important;
+}
+
+.border-light-end-2 {
+ border-right: 2px solid #f8f9fa !important;
+}
+
+.border-dark-end-2 {
+ border-right: 2px solid #343a40 !important;
+}
+
+.border-link-end-2 {
+ border-right: 2px solid #3273dc !important;
+}
+
+.border-bottom-2 {
+ border-bottom: 2px solid #dee2e6 !important;
+}
+
+.border-primary-bottom-2 {
+ border-bottom: 2px solid #007bff !important;
+}
+
+.border-secondary-bottom-2 {
+ border-bottom: 2px solid #6c757d !important;
+}
+
+.border-success-bottom-2 {
+ border-bottom: 2px solid #28a745 !important;
+}
+
+.border-info-bottom-2 {
+ border-bottom: 2px solid #17a2b8 !important;
+}
+
+.border-warning-bottom-2 {
+ border-bottom: 2px solid #ffc107 !important;
+}
+
+.border-danger-bottom-2 {
+ border-bottom: 2px solid #dc3545 !important;
+}
+
+.border-light-bottom-2 {
+ border-bottom: 2px solid #f8f9fa !important;
+}
+
+.border-dark-bottom-2 {
+ border-bottom: 2px solid #343a40 !important;
+}
+
+.border-link-bottom-2 {
+ border-bottom: 2px solid #3273dc !important;
+}
+
+.border-start-2 {
+ border-left: 2px solid #dee2e6 !important;
+}
+
+.border-primary-start-2 {
+ border-left: 2px solid #007bff !important;
+}
+
+.border-secondary-start-2 {
+ border-left: 2px solid #6c757d !important;
+}
+
+.border-success-start-2 {
+ border-left: 2px solid #28a745 !important;
+}
+
+.border-info-start-2 {
+ border-left: 2px solid #17a2b8 !important;
+}
+
+.border-warning-start-2 {
+ border-left: 2px solid #ffc107 !important;
+}
+
+.border-danger-start-2 {
+ border-left: 2px solid #dc3545 !important;
+}
+
+.border-light-start-2 {
+ border-left: 2px solid #f8f9fa !important;
+}
+
+.border-dark-start-2 {
+ border-left: 2px solid #343a40 !important;
+}
+
+.border-link-start-2 {
+ border-left: 2px solid #3273dc !important;
+}
+
+.border-3 {
+ border: 3px solid #dee2e6 !important;
+}
+.border-3.border-primary {
+ border-color: #007bff !important;
+}
+.border-3.border-secondary {
+ border-color: #6c757d !important;
+}
+.border-3.border-success {
+ border-color: #28a745 !important;
+}
+.border-3.border-info {
+ border-color: #17a2b8 !important;
+}
+.border-3.border-warning {
+ border-color: #ffc107 !important;
+}
+.border-3.border-danger {
+ border-color: #dc3545 !important;
+}
+.border-3.border-light {
+ border-color: #f8f9fa !important;
+}
+.border-3.border-dark {
+ border-color: #343a40 !important;
+}
+.border-3.border-link {
+ border-color: #3273dc !important;
+}
+
+.border-primary-3 {
+ border: 3px solid #007bff !important;
+}
+
+.border-secondary-3 {
+ border: 3px solid #6c757d !important;
+}
+
+.border-success-3 {
+ border: 3px solid #28a745 !important;
+}
+
+.border-info-3 {
+ border: 3px solid #17a2b8 !important;
+}
+
+.border-warning-3 {
+ border: 3px solid #ffc107 !important;
+}
+
+.border-danger-3 {
+ border: 3px solid #dc3545 !important;
+}
+
+.border-light-3 {
+ border: 3px solid #f8f9fa !important;
+}
+
+.border-dark-3 {
+ border: 3px solid #343a40 !important;
+}
+
+.border-link-3 {
+ border: 3px solid #3273dc !important;
+}
+
+.border-top-3 {
+ border-top: 3px solid #dee2e6 !important;
+}
+
+.border-primary-top-3 {
+ border-top: 3px solid #007bff !important;
+}
+
+.border-secondary-top-3 {
+ border-top: 3px solid #6c757d !important;
+}
+
+.border-success-top-3 {
+ border-top: 3px solid #28a745 !important;
+}
+
+.border-info-top-3 {
+ border-top: 3px solid #17a2b8 !important;
+}
+
+.border-warning-top-3 {
+ border-top: 3px solid #ffc107 !important;
+}
+
+.border-danger-top-3 {
+ border-top: 3px solid #dc3545 !important;
+}
+
+.border-light-top-3 {
+ border-top: 3px solid #f8f9fa !important;
+}
+
+.border-dark-top-3 {
+ border-top: 3px solid #343a40 !important;
+}
+
+.border-link-top-3 {
+ border-top: 3px solid #3273dc !important;
+}
+
+.border-end-3 {
+ border-right: 3px solid #dee2e6 !important;
+}
+
+.border-primary-end-3 {
+ border-right: 3px solid #007bff !important;
+}
+
+.border-secondary-end-3 {
+ border-right: 3px solid #6c757d !important;
+}
+
+.border-success-end-3 {
+ border-right: 3px solid #28a745 !important;
+}
+
+.border-info-end-3 {
+ border-right: 3px solid #17a2b8 !important;
+}
+
+.border-warning-end-3 {
+ border-right: 3px solid #ffc107 !important;
+}
+
+.border-danger-end-3 {
+ border-right: 3px solid #dc3545 !important;
+}
+
+.border-light-end-3 {
+ border-right: 3px solid #f8f9fa !important;
+}
+
+.border-dark-end-3 {
+ border-right: 3px solid #343a40 !important;
+}
+
+.border-link-end-3 {
+ border-right: 3px solid #3273dc !important;
+}
+
+.border-bottom-3 {
+ border-bottom: 3px solid #dee2e6 !important;
+}
+
+.border-primary-bottom-3 {
+ border-bottom: 3px solid #007bff !important;
+}
+
+.border-secondary-bottom-3 {
+ border-bottom: 3px solid #6c757d !important;
+}
+
+.border-success-bottom-3 {
+ border-bottom: 3px solid #28a745 !important;
+}
+
+.border-info-bottom-3 {
+ border-bottom: 3px solid #17a2b8 !important;
+}
+
+.border-warning-bottom-3 {
+ border-bottom: 3px solid #ffc107 !important;
+}
+
+.border-danger-bottom-3 {
+ border-bottom: 3px solid #dc3545 !important;
+}
+
+.border-light-bottom-3 {
+ border-bottom: 3px solid #f8f9fa !important;
+}
+
+.border-dark-bottom-3 {
+ border-bottom: 3px solid #343a40 !important;
+}
+
+.border-link-bottom-3 {
+ border-bottom: 3px solid #3273dc !important;
+}
+
+.border-start-3 {
+ border-left: 3px solid #dee2e6 !important;
+}
+
+.border-primary-start-3 {
+ border-left: 3px solid #007bff !important;
+}
+
+.border-secondary-start-3 {
+ border-left: 3px solid #6c757d !important;
+}
+
+.border-success-start-3 {
+ border-left: 3px solid #28a745 !important;
+}
+
+.border-info-start-3 {
+ border-left: 3px solid #17a2b8 !important;
+}
+
+.border-warning-start-3 {
+ border-left: 3px solid #ffc107 !important;
+}
+
+.border-danger-start-3 {
+ border-left: 3px solid #dc3545 !important;
+}
+
+.border-light-start-3 {
+ border-left: 3px solid #f8f9fa !important;
+}
+
+.border-dark-start-3 {
+ border-left: 3px solid #343a40 !important;
+}
+
+.border-link-start-3 {
+ border-left: 3px solid #3273dc !important;
+}
+
+.border-4 {
+ border: 4px solid #dee2e6 !important;
+}
+.border-4.border-primary {
+ border-color: #007bff !important;
+}
+.border-4.border-secondary {
+ border-color: #6c757d !important;
+}
+.border-4.border-success {
+ border-color: #28a745 !important;
+}
+.border-4.border-info {
+ border-color: #17a2b8 !important;
+}
+.border-4.border-warning {
+ border-color: #ffc107 !important;
+}
+.border-4.border-danger {
+ border-color: #dc3545 !important;
+}
+.border-4.border-light {
+ border-color: #f8f9fa !important;
+}
+.border-4.border-dark {
+ border-color: #343a40 !important;
+}
+.border-4.border-link {
+ border-color: #3273dc !important;
+}
+
+.border-primary-4 {
+ border: 4px solid #007bff !important;
+}
+
+.border-secondary-4 {
+ border: 4px solid #6c757d !important;
+}
+
+.border-success-4 {
+ border: 4px solid #28a745 !important;
+}
+
+.border-info-4 {
+ border: 4px solid #17a2b8 !important;
+}
+
+.border-warning-4 {
+ border: 4px solid #ffc107 !important;
+}
+
+.border-danger-4 {
+ border: 4px solid #dc3545 !important;
+}
+
+.border-light-4 {
+ border: 4px solid #f8f9fa !important;
+}
+
+.border-dark-4 {
+ border: 4px solid #343a40 !important;
+}
+
+.border-link-4 {
+ border: 4px solid #3273dc !important;
+}
+
+.border-top-4 {
+ border-top: 4px solid #dee2e6 !important;
+}
+
+.border-primary-top-4 {
+ border-top: 4px solid #007bff !important;
+}
+
+.border-secondary-top-4 {
+ border-top: 4px solid #6c757d !important;
+}
+
+.border-success-top-4 {
+ border-top: 4px solid #28a745 !important;
+}
+
+.border-info-top-4 {
+ border-top: 4px solid #17a2b8 !important;
+}
+
+.border-warning-top-4 {
+ border-top: 4px solid #ffc107 !important;
+}
+
+.border-danger-top-4 {
+ border-top: 4px solid #dc3545 !important;
+}
+
+.border-light-top-4 {
+ border-top: 4px solid #f8f9fa !important;
+}
+
+.border-dark-top-4 {
+ border-top: 4px solid #343a40 !important;
+}
+
+.border-link-top-4 {
+ border-top: 4px solid #3273dc !important;
+}
+
+.border-end-4 {
+ border-right: 4px solid #dee2e6 !important;
+}
+
+.border-primary-end-4 {
+ border-right: 4px solid #007bff !important;
+}
+
+.border-secondary-end-4 {
+ border-right: 4px solid #6c757d !important;
+}
+
+.border-success-end-4 {
+ border-right: 4px solid #28a745 !important;
+}
+
+.border-info-end-4 {
+ border-right: 4px solid #17a2b8 !important;
+}
+
+.border-warning-end-4 {
+ border-right: 4px solid #ffc107 !important;
+}
+
+.border-danger-end-4 {
+ border-right: 4px solid #dc3545 !important;
+}
+
+.border-light-end-4 {
+ border-right: 4px solid #f8f9fa !important;
+}
+
+.border-dark-end-4 {
+ border-right: 4px solid #343a40 !important;
+}
+
+.border-link-end-4 {
+ border-right: 4px solid #3273dc !important;
+}
+
+.border-bottom-4 {
+ border-bottom: 4px solid #dee2e6 !important;
+}
+
+.border-primary-bottom-4 {
+ border-bottom: 4px solid #007bff !important;
+}
+
+.border-secondary-bottom-4 {
+ border-bottom: 4px solid #6c757d !important;
+}
+
+.border-success-bottom-4 {
+ border-bottom: 4px solid #28a745 !important;
+}
+
+.border-info-bottom-4 {
+ border-bottom: 4px solid #17a2b8 !important;
+}
+
+.border-warning-bottom-4 {
+ border-bottom: 4px solid #ffc107 !important;
+}
+
+.border-danger-bottom-4 {
+ border-bottom: 4px solid #dc3545 !important;
+}
+
+.border-light-bottom-4 {
+ border-bottom: 4px solid #f8f9fa !important;
+}
+
+.border-dark-bottom-4 {
+ border-bottom: 4px solid #343a40 !important;
+}
+
+.border-link-bottom-4 {
+ border-bottom: 4px solid #3273dc !important;
+}
+
+.border-start-4 {
+ border-left: 4px solid #dee2e6 !important;
+}
+
+.border-primary-start-4 {
+ border-left: 4px solid #007bff !important;
+}
+
+.border-secondary-start-4 {
+ border-left: 4px solid #6c757d !important;
+}
+
+.border-success-start-4 {
+ border-left: 4px solid #28a745 !important;
+}
+
+.border-info-start-4 {
+ border-left: 4px solid #17a2b8 !important;
+}
+
+.border-warning-start-4 {
+ border-left: 4px solid #ffc107 !important;
+}
+
+.border-danger-start-4 {
+ border-left: 4px solid #dc3545 !important;
+}
+
+.border-light-start-4 {
+ border-left: 4px solid #f8f9fa !important;
+}
+
+.border-dark-start-4 {
+ border-left: 4px solid #343a40 !important;
+}
+
+.border-link-start-4 {
+ border-left: 4px solid #3273dc !important;
+}
+
+.border-5 {
+ border: 5px solid #dee2e6 !important;
+}
+.border-5.border-primary {
+ border-color: #007bff !important;
+}
+.border-5.border-secondary {
+ border-color: #6c757d !important;
+}
+.border-5.border-success {
+ border-color: #28a745 !important;
+}
+.border-5.border-info {
+ border-color: #17a2b8 !important;
+}
+.border-5.border-warning {
+ border-color: #ffc107 !important;
+}
+.border-5.border-danger {
+ border-color: #dc3545 !important;
+}
+.border-5.border-light {
+ border-color: #f8f9fa !important;
+}
+.border-5.border-dark {
+ border-color: #343a40 !important;
+}
+.border-5.border-link {
+ border-color: #3273dc !important;
+}
+
+.border-primary-5 {
+ border: 5px solid #007bff !important;
+}
+
+.border-secondary-5 {
+ border: 5px solid #6c757d !important;
+}
+
+.border-success-5 {
+ border: 5px solid #28a745 !important;
+}
+
+.border-info-5 {
+ border: 5px solid #17a2b8 !important;
+}
+
+.border-warning-5 {
+ border: 5px solid #ffc107 !important;
+}
+
+.border-danger-5 {
+ border: 5px solid #dc3545 !important;
+}
+
+.border-light-5 {
+ border: 5px solid #f8f9fa !important;
+}
+
+.border-dark-5 {
+ border: 5px solid #343a40 !important;
+}
+
+.border-link-5 {
+ border: 5px solid #3273dc !important;
+}
+
+.border-top-5 {
+ border-top: 5px solid #dee2e6 !important;
+}
+
+.border-primary-top-5 {
+ border-top: 5px solid #007bff !important;
+}
+
+.border-secondary-top-5 {
+ border-top: 5px solid #6c757d !important;
+}
+
+.border-success-top-5 {
+ border-top: 5px solid #28a745 !important;
+}
+
+.border-info-top-5 {
+ border-top: 5px solid #17a2b8 !important;
+}
+
+.border-warning-top-5 {
+ border-top: 5px solid #ffc107 !important;
+}
+
+.border-danger-top-5 {
+ border-top: 5px solid #dc3545 !important;
+}
+
+.border-light-top-5 {
+ border-top: 5px solid #f8f9fa !important;
+}
+
+.border-dark-top-5 {
+ border-top: 5px solid #343a40 !important;
+}
+
+.border-link-top-5 {
+ border-top: 5px solid #3273dc !important;
+}
+
+.border-end-5 {
+ border-right: 5px solid #dee2e6 !important;
+}
+
+.border-primary-end-5 {
+ border-right: 5px solid #007bff !important;
+}
+
+.border-secondary-end-5 {
+ border-right: 5px solid #6c757d !important;
+}
+
+.border-success-end-5 {
+ border-right: 5px solid #28a745 !important;
+}
+
+.border-info-end-5 {
+ border-right: 5px solid #17a2b8 !important;
+}
+
+.border-warning-end-5 {
+ border-right: 5px solid #ffc107 !important;
+}
+
+.border-danger-end-5 {
+ border-right: 5px solid #dc3545 !important;
+}
+
+.border-light-end-5 {
+ border-right: 5px solid #f8f9fa !important;
+}
+
+.border-dark-end-5 {
+ border-right: 5px solid #343a40 !important;
+}
+
+.border-link-end-5 {
+ border-right: 5px solid #3273dc !important;
+}
+
+.border-bottom-5 {
+ border-bottom: 5px solid #dee2e6 !important;
+}
+
+.border-primary-bottom-5 {
+ border-bottom: 5px solid #007bff !important;
+}
+
+.border-secondary-bottom-5 {
+ border-bottom: 5px solid #6c757d !important;
+}
+
+.border-success-bottom-5 {
+ border-bottom: 5px solid #28a745 !important;
+}
+
+.border-info-bottom-5 {
+ border-bottom: 5px solid #17a2b8 !important;
+}
+
+.border-warning-bottom-5 {
+ border-bottom: 5px solid #ffc107 !important;
+}
+
+.border-danger-bottom-5 {
+ border-bottom: 5px solid #dc3545 !important;
+}
+
+.border-light-bottom-5 {
+ border-bottom: 5px solid #f8f9fa !important;
+}
+
+.border-dark-bottom-5 {
+ border-bottom: 5px solid #343a40 !important;
+}
+
+.border-link-bottom-5 {
+ border-bottom: 5px solid #3273dc !important;
+}
+
+.border-start-5 {
+ border-left: 5px solid #dee2e6 !important;
+}
+
+.border-primary-start-5 {
+ border-left: 5px solid #007bff !important;
+}
+
+.border-secondary-start-5 {
+ border-left: 5px solid #6c757d !important;
+}
+
+.border-success-start-5 {
+ border-left: 5px solid #28a745 !important;
+}
+
+.border-info-start-5 {
+ border-left: 5px solid #17a2b8 !important;
+}
+
+.border-warning-start-5 {
+ border-left: 5px solid #ffc107 !important;
+}
+
+.border-danger-start-5 {
+ border-left: 5px solid #dc3545 !important;
+}
+
+.border-light-start-5 {
+ border-left: 5px solid #f8f9fa !important;
+}
+
+.border-dark-start-5 {
+ border-left: 5px solid #343a40 !important;
+}
+
+.border-link-start-5 {
+ border-left: 5px solid #3273dc !important;
+}
+
+.cursor-pointer {
+ cursor: pointer;
+}
+
+.fs-xs {
+ font-size: 0.75rem !important;
+}
+.fs-sm {
+ font-size: 0.925rem !important;
+}
+.fs-md {
+ font-size: 1.125rem !important;
+}
+.fs-lg {
+ font-size: 1.25rem !important;
+}
+.fs-xl {
+ font-size: 1.5rem !important;
+}
+
+.grid {
+ display: grid;
+ grid-template-rows: repeat(1, 1fr);
+ grid-template-columns: repeat(12, 1fr);
+ gap: 1.5rem;
+}
+.grid.g-rows-1 {
+ grid-template-rows: repeat(1, minmax(0, 1fr));
+}
+.grid.g-rows-2 {
+ grid-template-rows: repeat(2, minmax(0, 1fr));
+}
+.grid.g-rows-3 {
+ grid-template-rows: repeat(3, minmax(0, 1fr));
+}
+.grid.g-rows-4 {
+ grid-template-rows: repeat(4, minmax(0, 1fr));
+}
+.grid.g-rows-5 {
+ grid-template-rows: repeat(5, minmax(0, 1fr));
+}
+.grid.g-rows-6 {
+ grid-template-rows: repeat(6, minmax(0, 1fr));
+}
+.grid.g-cols-1 {
+ grid-template-columns: repeat(1, minmax(0, 1fr));
+}
+.grid.g-cols-2 {
+ grid-template-columns: repeat(2, minmax(0, 1fr));
+}
+.grid.g-cols-3 {
+ grid-template-columns: repeat(3, minmax(0, 1fr));
+}
+.grid.g-cols-4 {
+ grid-template-columns: repeat(4, minmax(0, 1fr));
+}
+.grid.g-cols-5 {
+ grid-template-columns: repeat(5, minmax(0, 1fr));
+}
+.grid.g-cols-6 {
+ grid-template-columns: repeat(6, minmax(0, 1fr));
+}
+.grid.g-cols-7 {
+ grid-template-columns: repeat(7, minmax(0, 1fr));
+}
+.grid.g-cols-8 {
+ grid-template-columns: repeat(8, minmax(0, 1fr));
+}
+.grid.g-cols-9 {
+ grid-template-columns: repeat(9, minmax(0, 1fr));
+}
+.grid.g-cols-10 {
+ grid-template-columns: repeat(10, minmax(0, 1fr));
+}
+.grid.g-cols-11 {
+ grid-template-columns: repeat(11, minmax(0, 1fr));
+}
+.grid.g-cols-12 {
+ grid-template-columns: repeat(12, minmax(0, 1fr));
+}
+.grid .g-col-1 {
+ grid-column: auto/span 1;
+}
+.grid .g-col-2 {
+ grid-column: auto/span 2;
+}
+.grid .g-col-3 {
+ grid-column: auto/span 3;
+}
+.grid .g-col-4 {
+ grid-column: auto/span 4;
+}
+.grid .g-col-5 {
+ grid-column: auto/span 5;
+}
+.grid .g-col-6 {
+ grid-column: auto/span 6;
+}
+.grid .g-col-7 {
+ grid-column: auto/span 7;
+}
+.grid .g-col-8 {
+ grid-column: auto/span 8;
+}
+.grid .g-col-9 {
+ grid-column: auto/span 9;
+}
+.grid .g-col-10 {
+ grid-column: auto/span 10;
+}
+.grid .g-col-11 {
+ grid-column: auto/span 11;
+}
+.grid .g-col-12 {
+ grid-column: auto/span 12;
+}
+@media (min-width: 576px) {
+ .grid .g-col-sm-1 {
+ grid-column: auto/span 1;
+ }
+ .grid .g-col-sm-2 {
+ grid-column: auto/span 2;
+ }
+ .grid .g-col-sm-3 {
+ grid-column: auto/span 3;
+ }
+ .grid .g-col-sm-4 {
+ grid-column: auto/span 4;
+ }
+ .grid .g-col-sm-5 {
+ grid-column: auto/span 5;
+ }
+ .grid .g-col-sm-6 {
+ grid-column: auto/span 6;
+ }
+ .grid .g-col-sm-7 {
+ grid-column: auto/span 7;
+ }
+ .grid .g-col-sm-8 {
+ grid-column: auto/span 8;
+ }
+ .grid .g-col-sm-9 {
+ grid-column: auto/span 9;
+ }
+ .grid .g-col-sm-10 {
+ grid-column: auto/span 10;
+ }
+ .grid .g-col-sm-11 {
+ grid-column: auto/span 11;
+ }
+ .grid .g-col-sm-12 {
+ grid-column: auto/span 12;
+ }
+}
+@media (min-width: 768px) {
+ .grid .g-col-md-1 {
+ grid-column: auto/span 1;
+ }
+ .grid .g-col-md-2 {
+ grid-column: auto/span 2;
+ }
+ .grid .g-col-md-3 {
+ grid-column: auto/span 3;
+ }
+ .grid .g-col-md-4 {
+ grid-column: auto/span 4;
+ }
+ .grid .g-col-md-5 {
+ grid-column: auto/span 5;
+ }
+ .grid .g-col-md-6 {
+ grid-column: auto/span 6;
+ }
+ .grid .g-col-md-7 {
+ grid-column: auto/span 7;
+ }
+ .grid .g-col-md-8 {
+ grid-column: auto/span 8;
+ }
+ .grid .g-col-md-9 {
+ grid-column: auto/span 9;
+ }
+ .grid .g-col-md-10 {
+ grid-column: auto/span 10;
+ }
+ .grid .g-col-md-11 {
+ grid-column: auto/span 11;
+ }
+ .grid .g-col-md-12 {
+ grid-column: auto/span 12;
+ }
+}
+@media (min-width: 992px) {
+ .grid .g-col-lg-1 {
+ grid-column: auto/span 1;
+ }
+ .grid .g-col-lg-2 {
+ grid-column: auto/span 2;
+ }
+ .grid .g-col-lg-3 {
+ grid-column: auto/span 3;
+ }
+ .grid .g-col-lg-4 {
+ grid-column: auto/span 4;
+ }
+ .grid .g-col-lg-5 {
+ grid-column: auto/span 5;
+ }
+ .grid .g-col-lg-6 {
+ grid-column: auto/span 6;
+ }
+ .grid .g-col-lg-7 {
+ grid-column: auto/span 7;
+ }
+ .grid .g-col-lg-8 {
+ grid-column: auto/span 8;
+ }
+ .grid .g-col-lg-9 {
+ grid-column: auto/span 9;
+ }
+ .grid .g-col-lg-10 {
+ grid-column: auto/span 10;
+ }
+ .grid .g-col-lg-11 {
+ grid-column: auto/span 11;
+ }
+ .grid .g-col-lg-12 {
+ grid-column: auto/span 12;
+ }
+}
+@media (min-width: 1200px) {
+ .grid .g-col-xl-1 {
+ grid-column: auto/span 1;
+ }
+ .grid .g-col-xl-2 {
+ grid-column: auto/span 2;
+ }
+ .grid .g-col-xl-3 {
+ grid-column: auto/span 3;
+ }
+ .grid .g-col-xl-4 {
+ grid-column: auto/span 4;
+ }
+ .grid .g-col-xl-5 {
+ grid-column: auto/span 5;
+ }
+ .grid .g-col-xl-6 {
+ grid-column: auto/span 6;
+ }
+ .grid .g-col-xl-7 {
+ grid-column: auto/span 7;
+ }
+ .grid .g-col-xl-8 {
+ grid-column: auto/span 8;
+ }
+ .grid .g-col-xl-9 {
+ grid-column: auto/span 9;
+ }
+ .grid .g-col-xl-10 {
+ grid-column: auto/span 10;
+ }
+ .grid .g-col-xl-11 {
+ grid-column: auto/span 11;
+ }
+ .grid .g-col-xl-12 {
+ grid-column: auto/span 12;
+ }
+}
+
+.flatpickr-months {
+ margin: 0.5rem 0;
+}
+.flatpickr-months .flatpickr-month, .flatpickr-months .flatpickr-next-month, .flatpickr-months .flatpickr-prev-month {
+ height: auto;
+ position: relative;
+}
+.flatpickr-months .flatpickr-month:hover svg, .flatpickr-months .flatpickr-next-month:hover svg, .flatpickr-months .flatpickr-prev-month:hover svg {
+ fill: #007bff;
+}
+.flatpickr-months .flatpickr-month {
+ color: #212529;
+}
+
+.flatpickr-current-month {
+ padding: 13px 0 0 0;
+ font-size: 115%;
+}
+.flatpickr-current-month span.cur-month {
+ font-weight: 700;
+}
+.flatpickr-current-month span.cur-month:hover {
+ background: rgba(0, 123, 255, 0.15);
+}
+
+.numInputWrapper:hover {
+ background: rgba(0, 123, 255, 0.15);
+}
+
+.flatpickr-day {
+ border-radius: 0.25rem;
+ font-weight: 500;
+ color: #212529;
+}
+.flatpickr-day.today {
+ border-color: #007bff;
+}
+.flatpickr-day.today:hover {
+ background: #007bff;
+ border-color: #007bff;
+}
+.flatpickr-day:hover {
+ background: rgba(0, 123, 255, 0.1);
+ border-color: rgba(0, 0, 0, 0);
+}
+
+span.flatpickr-weekday {
+ color: #212529;
+}
+
+.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange, .flatpickr-day.selected.inRange, .flatpickr-day.startRange.inRange, .flatpickr-day.endRange.inRange, .flatpickr-day.selected:focus, .flatpickr-day.startRange:focus, .flatpickr-day.endRange:focus, .flatpickr-day.selected:hover, .flatpickr-day.startRange:hover, .flatpickr-day.endRange:hover, .flatpickr-day.selected.prevMonthDay, .flatpickr-day.startRange.prevMonthDay, .flatpickr-day.endRange.prevMonthDay, .flatpickr-day.selected.nextMonthDay, .flatpickr-day.startRange.nextMonthDay, .flatpickr-day.endRange.nextMonthDay {
+ background: #007bff;
+ border-color: #007bff;
+}
+
+.flatpickr-day.selected.startRange + .endRange:not(:nth-child(7n+1)), .flatpickr-day.startRange.startRange + .endRange:not(:nth-child(7n+1)), .flatpickr-day.endRange.startRange + .endRange:not(:nth-child(7n+1)) {
+ box-shadow: -10px 0 0 #007bff;
+}
+
+.flatpickr-day.selected.startRange, .flatpickr-day.startRange.startRange, .flatpickr-day.endRange.startRange {
+ border-radius: 0.25rem 0 0 0.25rem;
+}
+
+.flatpickr-day.selected.endRange, .flatpickr-day.startRange.endRange, .flatpickr-day.endRange.endRange {
+ border-radius: 0 0.25rem 0.25rem 0;
+}
+
+.flatpickr-monthSelect-month:hover,
+.flatpickr-monthSelect-month:focus {
+ background: rgba(0, 123, 255, 0.1);
+}
+
+.flatpickr-monthSelect-month.selected {
+ background-color: #007bff;
+}
diff --git a/_content/Blazorise.Bootstrap5/blazorise.bootstrap5.min.css b/_content/Blazorise.Bootstrap5/blazorise.bootstrap5.min.css
new file mode 100755
index 00000000..54c707db
--- /dev/null
+++ b/_content/Blazorise.Bootstrap5/blazorise.bootstrap5.min.css
@@ -0,0 +1 @@
+@keyframes fadeIn{0%{opacity:0;}100%{opacity:1;}0%{opacity:0;}}@keyframes slideIn{0%{transform:translateY(1rem);opacity:0;}100%{transform:translateY(0);opacity:1;}0%{transform:translateY(1rem);opacity:0;}}.badge-close{cursor:pointer;}.badge-close::before{height:2px;width:50%;}.badge-close::after{height:50%;width:2px;}.badge-close:hover,.badge-close:focus{background-color:rgba(10,10,10,.3);}.badge-close:active{background-color:rgba(10,10,10,.4);}.navbar-nav .nav-item:hover{cursor:pointer;}.navbar-nav .nav-link:hover{cursor:pointer;}.nav .nav-link:hover{cursor:pointer;}.nav-item{position:relative;}.b-bar-horizontal .nav-item.dropdown .dropdown-menu>.dropdown>.dropdown-item{width:100%;}.b-bar-horizontal .nav-item.dropdown .dropdown-menu>.dropdown>.dropdown-item::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent;}.b-bar-horizontal .nav-item.dropdown .dropdown-menu>.dropdown>.dropdown-item:empty::after{margin-left:0;}.b-bar-horizontal .nav-item.dropdown .dropdown-menu>.dropdown>.dropdown-item::after{transform:rotate(-90deg);position:absolute;right:10%;top:45%;}.b-bar-horizontal .nav-item.dropdown .dropdown-menu>.dropdown>.dropdown-menu{top:0;left:100%;margin-left:0;margin-right:.1rem;}.btn-group>.b-tooltip:not(:last-child)>.btn{border-top-right-radius:0;border-bottom-right-radius:0;}.btn-group>.b-tooltip:not(:first-child)>.btn{border-top-left-radius:0;border-bottom-left-radius:0;}.btn-group.btn-group-toggle .btn.active.disabled{opacity:1;}.btn-group-vertical>.b-tooltip:not(:last-child)>.btn{border-bottom-right-radius:0;border-bottom-left-radius:0;}.btn-group-vertical>.b-tooltip:not(:first-child)>.btn{border-top-left-radius:0;border-top-right-radius:0;}.btn-xs,.btn-group-xs>.btn{padding:.15rem .5rem;font-size:.75rem;line-height:1.5;border-radius:.15rem;}.btn-md,.btn-group-md>.btn{padding:.47rem 1rem;font-size:1.125rem;line-height:1.5;border-radius:.25rem;}.btn-xl,.btn-group-xl>.btn{padding:.5rem 1rem;font-size:1.5rem;line-height:1.5;border-radius:.4rem;}.btn-block{display:block;width:100%;}.btn-block+.btn-block{margin-top:.5rem;}input[type=submit].btn-block,input[type=reset].btn-block,input[type=button].btn-block{width:100%;}.card-deck .card{height:100%;}.table-fixed-header .table thead tr th.dropdown-table-fixed-header-visible{z-index:11;}.dropdown-menu-position-strategy{width:max-content;top:0;left:0;}.dropdown-menu-position-strategy-absolute{position:absolute;}.dropdown-menu-position-strategy-fixed{position:fixed;}.dropdown-toggle.dropdown-toggle-hidden::after{content:none!important;}.dropdown-toggle.dropdown-toggle-hidden::before{content:none!important;}.dropdown-menu.show{animation-duration:.3s;animation-fill-mode:both;animation-name:fadeIn;}.dropdown-menu a:not([href]).dropdown-item:not(.disabled){cursor:pointer;}.dropdown-menu.dropdown-menu-scrollable{max-height:var(--dropdown-list-menu-max-height,200px);overflow-y:scroll;}.b-is-autocomplete .dropdown-menu{width:100%;max-height:var(--autocomplete-menu-max-height,200px);overflow-y:scroll;}.b-is-autocomplete .dropdown-menu .dropdown-item.focus{color:#1e2125!important;background-color:#e9ecef;}.b-is-autocomplete.b-is-autocomplete-multipleselection{display:flex;align-items:center;flex-wrap:wrap;padding-top:.25rem;max-width:100%;width:100%;cursor:text;min-height:calc(1.5em + .75rem + 2px);height:auto;border:1px solid #ced4da;border-radius:.25rem;}.b-is-autocomplete.b-is-autocomplete-multipleselection>input.form-control{display:inline-block;border:0;box-shadow:none;outline:0;background-color:transparent;max-width:inherit;width:auto;flex-grow:1;}.b-is-autocomplete.b-is-autocomplete-multipleselection>.badge{margin-bottom:.25rem;line-height:1.5;flex-grow:initial;}.b-is-autocomplete.b-is-autocomplete-multipleselection .dropdown-menu{top:100%;}.b-is-autocomplete.b-is-autocomplete-multipleselection.focus{color:#495057;background-color:#fff;border-color:#80bdff;outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.25);}.dropdown.btn-group>.btn.dropdown-toggle-split+.dropdown-menu.show{top:100%;}.dropdown{position:relative;}.dropdown.dropdown-disabled.b-is-autocomplete{background-color:var(--b-theme-light,#e9ecef);}.dropdown>.dropdown-menu>.dropdown:not(.dropup,.dropstart,.dropend){position:relative;}.dropdown>.dropdown-menu>.dropdown:not(.dropup,.dropstart,.dropend)>.dropdown-toggle{width:100%;}.dropdown>.dropdown-menu>.dropdown:not(.dropup,.dropstart,.dropend)>.dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent;}.dropdown>.dropdown-menu>.dropdown:not(.dropup,.dropstart,.dropend)>.dropdown-toggle:empty::after{margin-left:0;}.dropdown>.dropdown-menu>.dropdown:not(.dropup,.dropstart,.dropend)>.dropdown-toggle::after{position:absolute;right:10%;top:45%;}.dropdown>.dropdown-menu>.dropdown:not(.dropup,.dropstart,.dropend)>.dropdown-menu{top:auto;left:auto;bottom:auto;right:auto;}.dropdown>.dropdown-menu>.dropdown.dropup .dropdown-toggle::after,.dropdown>.dropdown-menu>.dropdown.dropend .dropdown-toggle::after{vertical-align:0;position:absolute;right:10%;top:45%;}.dropdown>.dropdown-menu>.dropdown.dropstart .dropdown-toggle::after{vertical-align:0;}.dropdown.dropup>.dropdown-menu{top:auto;bottom:auto;margin-top:0;margin-bottom:.125rem;}.dropdown.dropup>.dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:0;border-right:.3em solid transparent;border-bottom:.3em solid;border-left:.3em solid transparent;}.dropdown.dropup>.dropdown-toggle:empty::after{margin-left:0;}.dropdown.dropend>.dropdown-menu{top:0;right:auto;left:100%;margin-top:0;margin-left:.125rem;}.dropdown.dropend>.dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:0;border-bottom:.3em solid transparent;border-left:.3em solid;}.dropdown.dropend>.dropdown-toggle:empty::after{margin-left:0;}.dropdown.dropend>.dropdown-toggle::after{vertical-align:0;}.dropdown.dropstart>.dropdown-menu{top:0;right:100%;left:auto;margin-top:0;margin-right:.125rem;}.dropdown.dropstart>.dropdown-toggle::after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";}.dropdown.dropstart>.dropdown-toggle::after{display:none;}.dropdown.dropstart>.dropdown-toggle::before{display:inline-block;margin-right:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:.3em solid;border-bottom:.3em solid transparent;}.dropdown.dropstart>.dropdown-toggle:empty::after{margin-left:0;}.dropdown.dropstart>.dropdown-toggle::before{vertical-align:0;}.dropdown-menu-start{right:auto;left:0;}.dropdown-menu-end{right:0;left:auto;}@media(min-width:576px){.dropdown-menu-sm-start{right:auto;left:0;}.dropdown-menu-sm-end{right:0;left:auto;}}@media(min-width:768px){.dropdown-menu-md-start{right:auto;left:0;}.dropdown-menu-md-end{right:0;left:auto;}}@media(min-width:992px){.dropdown-menu-lg-start{right:auto;left:0;}.dropdown-menu-lg-end{right:0;left:auto;}}@media(min-width:1200px){.dropdown-menu-xl-start{right:auto;left:0;}.dropdown-menu-xl-end{right:0;left:auto;}}hr.divider.divider-text{position:unset;}hr.divider.divider-text::before{top:unset;}.snackbar-stack{z-index:1059!important;}.snackbar{z-index:1060!important;}.figure.figure-is-16x16{height:16px;width:16px;}.figure.figure-is-24x24{height:24px;width:24px;}.figure.figure-is-32x32{height:32px;width:32px;}.figure.figure-is-48x48{height:48px;width:48px;}.figure.figure-is-64x64{height:64px;width:64px;}.figure.figure-is-96x96{height:96px;width:96px;}.figure.figure-is-128x128{height:128px;width:128px;}.figure.figure-is-256x256{height:256px;width:256px;}.figure.figure-is-512x512{height:512px;width:512px;}.form-check>.form-check-input.form-check-input-pointer,.form-check>.form-check-label.form-check-label-pointer,.form-switch>.form-check-input.form-check-input-pointer,.form-switch>.form-check-label.form-check-label-pointer{cursor:pointer;}.form-control-plaintext.form-control-xs,.form-control-plaintext.form-control-md,.form-control-plaintext.form-control-xl{padding-right:0;padding-left:0;}.form-control-xs{height:calc(1.5em + .3rem + 2px);padding:.15rem .5rem;font-size:.75rem;line-height:1.5;border-radius:.15rem;}.form-control-md{height:calc(1.5em + .94rem + 2px);padding:.47rem 1rem;font-size:1.125rem;line-height:1.5;border-radius:.25rem;}.form-control-xl{height:calc(1.5em + 1rem + 2px);padding:.5rem 1rem;font-size:1.5rem;line-height:1.5;border-radius:.4rem;}.form-select-xs{height:calc(1.5em + .3rem + 2px);padding-top:.15rem;padding-bottom:.15rem;padding-left:.5rem;font-size:.75rem;}.form-select-md{height:calc(1.5em + .94rem + 2px);padding-top:.47rem;padding-bottom:.47rem;padding-left:1rem;font-size:1.125rem;}.form-select-xl{height:calc(1.5em + 1rem + 2px);padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.5rem;}.input-group>.b-numeric:not(:last-child)>input,.input-group>div.flatpickr-wrapper:not(:last-child)>input{border-top-right-radius:0;border-bottom-right-radius:0;}.input-group>.b-numeric:not(:first-child)>input,.input-group>div.flatpickr-wrapper:not(:first-child)>input{border-top-left-radius:0;border-bottom-left-radius:0;}.input-group-xs>.form-control:not(textarea),.input-group-xs>.form-select,.input-group-xs>.b-numeric>input{height:calc(1.5em + .3rem + 2px);}.input-group-xs>.form-control,.input-group-xs>.form-select,.input-group-xs>.input-group-text,.input-group-xs>.btn,.input-group-xs>.b-numeric>input{padding:.15rem .5rem;font-size:.75rem;line-height:1.5;border-radius:.15rem;}.input-group-sm>.b-numeric>input{height:calc(1.5em + .5rem + 2px);}.input-group-sm>.b-numeric>input{padding:.25rem .5rem;font-size:.875rem;line-height:1.5;border-radius:.2rem;}.input-group-md>.form-control:not(textarea),.input-group-md>.form-select,.input-group-md>.b-numeric>input{height:calc(1.5em + .94rem + 2px);}.input-group-md>.form-control,.input-group-md>.form-select,.input-group-md>.input-group-text,.input-group-md>.btn,.input-group-md>.b-numeric>input{padding:.47rem 1rem;font-size:1.125rem;line-height:1.5;border-radius:.25rem;}.input-group-lg>.b-numeric>input{height:calc(1.5em + 1rem + 2px);}.input-group-lg>.b-numeric>input{padding:.5rem 1rem;font-size:1.25rem;line-height:1.5;border-radius:.3rem;}.input-group-xl>.form-control:not(textarea),.input-group-xl>.form-select,.input-group-xl>.b-numeric>input{height:calc(1.5em + 1rem + 2px);}.input-group-xl>.form-control,.input-group-xl>.form-select,.input-group-xl>.input-group-text,.input-group-xl>.btn,.input-group-xl>.b-numeric>input{padding:.5rem 1rem;font-size:1.5rem;line-height:1.5;border-radius:.4rem;}.input-group-xs>.form-select,.input-group-md>.form-select,.input-group-xl>.form-select{padding-right:1.75rem;}.input-group:not(.has-validation)>.dropdown:first-child>.btn:not(:last-child).dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0;}.input-group.has-validation>.dropdown>.btn:not(:last-child).dropdown-toggle,.input-group.has-validation>.dropdown>.btn:not(:last-child):not(.dropdown-toggle){border-top-left-radius:0;border-bottom-left-radius:0;}.input-group>div.flatpickr-wrapper>.form-control{position:relative;flex:1 1 auto;width:1%;min-width:0;}.form-check>.form-check-input.form-check-input-xs{width:.7rem;height:.7rem;}.form-check>.form-check-input.form-check-input-xs+.form-check-label{line-height:"normal";padding-left:0;}.form-check>.form-check-input.form-check-input-sm{width:.8rem;height:.8rem;}.form-check>.form-check-input.form-check-input-sm+.form-check-label{line-height:"normal";padding-left:0;}.form-check>.form-check-input.form-check-input-md{width:1.25rem;height:1.25rem;}.form-check>.form-check-input.form-check-input-md+.form-check-label{line-height:1.7rem;padding-left:3px;}.form-check>.form-check-input.form-check-input-lg{width:1.55rem;height:1.55rem;}.form-check>.form-check-input.form-check-input-lg+.form-check-label{line-height:2rem;padding-left:6px;}.form-check>.form-check-input.form-check-input-xl{width:1.85rem;height:1.85rem;}.form-check>.form-check-input.form-check-input-xl+.form-check-label{line-height:2.5rem;padding-left:10px;}select[readonly]{pointer-events:none;}select[readonly] option,select[readonly] optgroup{display:none;}.b-numeric{position:relative;width:100%;}.b-numeric:hover>.b-numeric-handler-wrap{opacity:1;}.b-numeric input:disabled+.b-numeric-handler-wrap,.b-numeric input:read-only+.b-numeric-handler-wrap{display:none;}.b-numeric-handler-wrap{position:absolute;top:0;right:0;width:22px;height:100%;background:#fff;border:1px solid #d9d9d9;opacity:0;}.input-group .b-numeric{-ms-flex:1 1 auto;flex:1 1 auto;width:1%;}.b-numeric-handler-wrap .b-numeric-handler.b-numeric-handler-down{border-top:1px solid #d9d9d9;}.b-numeric-handler{position:relative;display:flex;width:100%;height:50%;overflow:hidden;color:rgba(0,0,0,.45);font-weight:700;line-height:0;align-items:center;justify-content:center;}.b-numeric-handler.btn{padding:0;}.form-control+.b-numeric-handler-wrap{font-size:1rem;border-top-right-radius:.25rem;border-bottom-right-radius:.25rem;}.form-control-xs+.b-numeric-handler-wrap{font-size:.75rem;border-top-right-radius:.15rem;border-bottom-right-radius:.15rem;}.form-control-xs+.b-numeric-handler-wrap>.b-numeric-handler.btn{font-size:.75rem;}.form-control-sm+.b-numeric-handler-wrap{font-size:.875rem;border-top-right-radius:.2rem;border-bottom-right-radius:.2rem;}.form-control-sm+.b-numeric-handler-wrap>.b-numeric-handler.btn{font-size:.875rem;}.form-control-md+.b-numeric-handler-wrap{font-size:1.125rem;border-top-right-radius:.25rem;border-bottom-right-radius:.25rem;}.form-control-md+.b-numeric-handler-wrap>.b-numeric-handler.btn{font-size:1.125rem;}.form-control-lg+.b-numeric-handler-wrap{font-size:1.25rem;border-top-right-radius:.3rem;border-bottom-right-radius:.3rem;}.form-control-lg+.b-numeric-handler-wrap>.b-numeric-handler.btn{font-size:1.25rem;}.form-control-xl+.b-numeric-handler-wrap{font-size:1.5rem;border-top-right-radius:.4rem;border-bottom-right-radius:.4rem;}.form-control-xl+.b-numeric-handler-wrap>.b-numeric-handler.btn{font-size:1.5rem;}.custom-file-label{overflow:hidden;}input[readonly][type=range],input[readonly=readonly][type=range]{pointer-events:none;}input[readonly][type=range]::-webkit-slider-thumb,input[readonly=readonly][type=range]::-webkit-slider-thumb{pointer-events:none;}input[readonly][type=range]::-moz-range-thumb,input[readonly=readonly][type=range]::-moz-range-thumb{pointer-events:none;}input[readonly][type=range]::-ms-thumb,input[readonly=readonly][type=range]::-ms-thumb{pointer-events:none;}.form-group{margin-bottom:1rem;}.form-inline{display:flex;flex-flow:row wrap;align-items:center;}.form-inline .form-check{width:100%;}@media(min-width:576px){.form-inline label{display:flex;align-items:center;justify-content:center;margin-bottom:0;}.form-inline .form-group{display:flex;flex:0 0 auto;flex-flow:row wrap;align-items:center;margin-bottom:0;}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle;}.form-inline .form-control-plaintext{display:inline-block;}.form-inline .input-group,.form-inline .custom-select{width:auto;}.form-inline .form-check{display:flex;align-items:center;justify-content:center;width:auto;padding-left:0;}.form-inline .form-check-input{position:relative;flex-shrink:0;margin-top:0;margin-right:.25rem;margin-left:0;}.form-inline .form-select{align-items:center;justify-content:center;}.form-inline .form-check-label{margin-bottom:0;}}.b-input-color-picker{padding:.5rem .6rem;}.b-input-color-picker>.b-input-color-picker-preview{height:.55rem;}.focus-trap{display:contents;}.form-file input[type=file]{margin-left:-2px!important;}.form-file input[type=file]::-webkit-file-upload-button{display:none;}.form-file input[type=file]::file-selector-button{display:none;}.form-label-required:after{content:" *";color:var(--b-theme-danger,#dc3545);}.jumbotron{padding:2rem 1rem;margin-bottom:2rem;background-color:#e9ecef;border-radius:.3rem;}@media(min-width:576px){.jumbotron{padding:4rem 2rem;}}.jumbotron-fluid{padding-right:0;padding-left:0;border-radius:0;}.jumbotron.jumbotron-primary{background-color:#007bff;color:#fff;}.jumbotron.jumbotron-secondary{background-color:#6c757d;color:#fff;}.jumbotron.jumbotron-success{background-color:#28a745;color:#fff;}.jumbotron.jumbotron-info{background-color:#17a2b8;color:#fff;}.jumbotron.jumbotron-warning{background-color:#ffc107;color:#212529;}.jumbotron.jumbotron-danger{background-color:#dc3545;color:#fff;}.jumbotron.jumbotron-light{background-color:#f8f9fa;color:#212529;}.jumbotron.jumbotron-dark{background-color:#343a40;color:#fff;}.jumbotron.jumbotron-link{background-color:#3273dc;color:#fff;}.b-layout-header-fixed{z-index:1030;}.b-layout-footer-fixed{z-index:1030;}.b-layout-sider-content{z-index:1031;}li.list-group-item-action{cursor:pointer;}.list-group-scrollable{overflow-y:scroll;}.media{display:flex;align-items:flex-start;}.media-body{flex:1;}.modal.fade{transition:opacity var(--modal-animation-duration,300ms) linear;}.modal.fade .modal-dialog{transition:-webkit-transform var(--modal-animation-duration,300ms) ease-out;transition:transform var(--modal-animation-duration,300ms) ease-out;}.offcanvas-footer{position:sticky;bottom:0;top:auto;display:flex;align-items:center;justify-content:space-between;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);}.page-item:not(.disabled) .page-link{cursor:pointer;}.pagination-xs .page-link{padding:.125rem .25rem;font-size:.75rem;line-height:1.5;}.pagination-xs .page-item:first-child .page-link{border-top-left-radius:.15rem;border-bottom-left-radius:.15rem;}.pagination-xs .page-item:last-child .page-link{border-top-right-radius:.15rem;border-bottom-right-radius:.15rem;}.pagination-md .page-link{padding:.625rem 1.25rem;font-size:1.125rem;line-height:1.5;}.pagination-md .page-item:first-child .page-link{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem;}.pagination-md .page-item:last-child .page-link{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem;}.pagination-xl .page-link{padding:1rem 2rem;font-size:1.5rem;line-height:1.5;}.pagination-xl .page-item:first-child .page-link{border-top-left-radius:.4rem;border-bottom-left-radius:.4rem;}.pagination-xl .page-item:last-child .page-link{border-top-right-radius:.4rem;border-bottom-right-radius:.4rem;}.b-page-progress .b-page-progress-indicator.b-page-progress-indicator-primary{background-color:#007bff;}.b-page-progress .b-page-progress-indicator.b-page-progress-indicator-secondary{background-color:#6c757d;}.b-page-progress .b-page-progress-indicator.b-page-progress-indicator-success{background-color:#28a745;}.b-page-progress .b-page-progress-indicator.b-page-progress-indicator-info{background-color:#17a2b8;}.b-page-progress .b-page-progress-indicator.b-page-progress-indicator-warning{background-color:#ffc107;}.b-page-progress .b-page-progress-indicator.b-page-progress-indicator-danger{background-color:#dc3545;}.b-page-progress .b-page-progress-indicator.b-page-progress-indicator-light{background-color:#f8f9fa;}.b-page-progress .b-page-progress-indicator.b-page-progress-indicator-dark{background-color:#343a40;}.b-page-progress .b-page-progress-indicator.b-page-progress-indicator-link{background-color:#3273dc;}.rating:not(.rating-disabled):not(.rating-readonly):hover .rating-item{cursor:pointer;}.rating.rating-disabled{opacity:.65;}.rating .rating-item.rating-item-primary{color:#007bff;}.rating .rating-item.rating-item-secondary{color:#6c757d;}.rating .rating-item.rating-item-success{color:#28a745;}.rating .rating-item.rating-item-info{color:#17a2b8;}.rating .rating-item.rating-item-warning{color:#ffc107;}.rating .rating-item.rating-item-danger{color:#dc3545;}.rating .rating-item.rating-item-light{color:#f8f9fa;}.rating .rating-item.rating-item-dark{color:#343a40;}.rating .rating-item.rating-item-link{color:#3273dc;}.rating .rating-item.rating-item-hover{opacity:.7;}.gap-y-0{row-gap:0!important;}.gap-x-0{column-gap:0!important;}.gap-y-1{row-gap:.25rem!important;}.gap-x-1{column-gap:.25rem!important;}.gap-y-2{row-gap:.5rem!important;}.gap-x-2{column-gap:.5rem!important;}.gap-y-3{row-gap:1rem!important;}.gap-x-3{column-gap:1rem!important;}.gap-y-4{row-gap:1.5rem!important;}.gap-x-4{column-gap:1.5rem!important;}.gap-y-5{row-gap:3rem!important;}.gap-x-5{column-gap:3rem!important;}.steps{padding:0;margin:0;list-style:none;display:flex;overflow-x:auto;}.steps .step:first-child{margin-left:auto;}.steps .step:last-child{margin-right:auto;}.step:first-of-type .step-circle::before{display:none;}.step:last-of-type .step-container{padding-right:0;}.step-container{box-sizing:content-box;display:flex;align-items:center;flex-direction:column;width:5rem;min-width:5rem;max-width:5rem;padding-top:.5rem;padding-right:1rem;}.step-circle{position:relative;display:flex;justify-content:center;align-items:center;width:1.5rem;height:1.5rem;color:#adb5bd;border:2px solid #adb5bd;border-radius:100%;background-color:#fff;}.step-circle::before{content:"";display:block;position:absolute;top:50%;left:-2px;width:calc(5rem + 1rem - 1.5rem);height:2px;transform:translate(-100%,-50%);color:#adb5bd;background-color:currentColor;}.step-text{color:#adb5bd;word-break:keep-all;text-align:center;margin-top:.25em;}.step-completed .step-circle{color:#fff;background-color:#28a745;border-color:#28a745;}.step-completed .step-circle::before{color:#28a745;}.step-completed .step-text{color:#28a745;}.step-active .step-circle{color:#fff;background-color:#007bff;border-color:#007bff;}.step-active .step-circle::before{color:#007bff;}.step-active .step-text{color:#007bff;}.step-primary .step-circle{color:#007bff;border-color:#007bff;}.step-primary.step-completed .step-circle{color:#fff;background-color:#007bff;border-color:#007bff;}.step-primary.step-completed .step-circle::before{color:#007bff;}.step-primary.step-completed .step-text{color:#007bff;}.step-primary.step-active .step-circle{color:#fff;background-color:#007bff;border-color:#007bff;}.step-primary.step-active::before{color:#007bff;}.step-primary.step-active .step-text{color:#007bff;}.step-secondary .step-circle{color:#6c757d;border-color:#6c757d;}.step-secondary.step-completed .step-circle{color:#fff;background-color:#6c757d;border-color:#6c757d;}.step-secondary.step-completed .step-circle::before{color:#6c757d;}.step-secondary.step-completed .step-text{color:#6c757d;}.step-secondary.step-active .step-circle{color:#fff;background-color:#007bff;border-color:#007bff;}.step-secondary.step-active::before{color:#007bff;}.step-secondary.step-active .step-text{color:#007bff;}.step-success .step-circle{color:#28a745;border-color:#28a745;}.step-success.step-completed .step-circle{color:#fff;background-color:#28a745;border-color:#28a745;}.step-success.step-completed .step-circle::before{color:#28a745;}.step-success.step-completed .step-text{color:#28a745;}.step-success.step-active .step-circle{color:#fff;background-color:#007bff;border-color:#007bff;}.step-success.step-active::before{color:#007bff;}.step-success.step-active .step-text{color:#007bff;}.step-info .step-circle{color:#17a2b8;border-color:#17a2b8;}.step-info.step-completed .step-circle{color:#fff;background-color:#17a2b8;border-color:#17a2b8;}.step-info.step-completed .step-circle::before{color:#17a2b8;}.step-info.step-completed .step-text{color:#17a2b8;}.step-info.step-active .step-circle{color:#fff;background-color:#007bff;border-color:#007bff;}.step-info.step-active::before{color:#007bff;}.step-info.step-active .step-text{color:#007bff;}.step-warning .step-circle{color:#ffc107;border-color:#ffc107;}.step-warning.step-completed .step-circle{color:#fff;background-color:#ffc107;border-color:#ffc107;}.step-warning.step-completed .step-circle::before{color:#ffc107;}.step-warning.step-completed .step-text{color:#ffc107;}.step-warning.step-active .step-circle{color:#fff;background-color:#007bff;border-color:#007bff;}.step-warning.step-active::before{color:#007bff;}.step-warning.step-active .step-text{color:#007bff;}.step-danger .step-circle{color:#dc3545;border-color:#dc3545;}.step-danger.step-completed .step-circle{color:#fff;background-color:#dc3545;border-color:#dc3545;}.step-danger.step-completed .step-circle::before{color:#dc3545;}.step-danger.step-completed .step-text{color:#dc3545;}.step-danger.step-active .step-circle{color:#fff;background-color:#007bff;border-color:#007bff;}.step-danger.step-active::before{color:#007bff;}.step-danger.step-active .step-text{color:#007bff;}.step-light .step-circle{color:#f8f9fa;border-color:#f8f9fa;}.step-light.step-completed .step-circle{color:#fff;background-color:#f8f9fa;border-color:#f8f9fa;}.step-light.step-completed .step-circle::before{color:#f8f9fa;}.step-light.step-completed .step-text{color:#f8f9fa;}.step-light.step-active .step-circle{color:#fff;background-color:#007bff;border-color:#007bff;}.step-light.step-active::before{color:#007bff;}.step-light.step-active .step-text{color:#007bff;}.step-dark .step-circle{color:#343a40;border-color:#343a40;}.step-dark.step-completed .step-circle{color:#fff;background-color:#343a40;border-color:#343a40;}.step-dark.step-completed .step-circle::before{color:#343a40;}.step-dark.step-completed .step-text{color:#343a40;}.step-dark.step-active .step-circle{color:#fff;background-color:#007bff;border-color:#007bff;}.step-dark.step-active::before{color:#007bff;}.step-dark.step-active .step-text{color:#007bff;}.step-link .step-circle{color:#3273dc;border-color:#3273dc;}.step-link.step-completed .step-circle{color:#fff;background-color:#3273dc;border-color:#3273dc;}.step-link.step-completed .step-circle::before{color:#3273dc;}.step-link.step-completed .step-text{color:#3273dc;}.step-link.step-active .step-circle{color:#fff;background-color:#007bff;border-color:#007bff;}.step-link.step-active::before{color:#007bff;}.step-link.step-active .step-text{color:#007bff;}.steps-content{margin:1rem 0;}.steps-content>.step-panel{display:none;}.steps-content>.active{display:block;}.form-check.form-switch .form-check-input.form-check-input-primary:checked{background-color:#007bff;border-color:#007bff;}.form-check.form-switch .form-check-input.form-check-input-secondary:checked{background-color:#6c757d;border-color:#6c757d;}.form-check.form-switch .form-check-input.form-check-input-success:checked{background-color:#28a745;border-color:#28a745;}.form-check.form-switch .form-check-input.form-check-input-info:checked{background-color:#17a2b8;border-color:#17a2b8;}.form-check.form-switch .form-check-input.form-check-input-warning:checked{background-color:#ffc107;border-color:#ffc107;}.form-check.form-switch .form-check-input.form-check-input-danger:checked{background-color:#dc3545;border-color:#dc3545;}.form-check.form-switch .form-check-input.form-check-input-light:checked{background-color:#f8f9fa;border-color:#f8f9fa;}.form-check.form-switch .form-check-input.form-check-input-dark:checked{background-color:#343a40;border-color:#343a40;}.form-check.form-switch .form-check-input.form-check-input-link:checked{background-color:#3273dc;border-color:#3273dc;}.form-check.form-switch .form-check-input.form-check-input-xs{width:calc(.75rem + (.5rem/2));height:.5rem;margin-left:-2.5em;}.form-check.form-switch .form-check-input.form-check-input-xs+.form-check-label{line-height:1rem;vertical-align:middle;padding-left:0;}.form-check.form-switch .form-check-input.form-check-input-xs:checked~.form-check-label::after{transform:translateX(calc(.75rem - (.5rem/2)));}.form-check.form-switch .form-check-input.form-check-input-sm{width:calc(1rem + (.75rem/2));height:.75rem;margin-left:-2.5em;}.form-check.form-switch .form-check-input.form-check-input-sm+.form-check-label{line-height:1.25rem;vertical-align:middle;padding-left:.75rem;}.form-check.form-switch .form-check-input.form-check-input-sm:checked~.form-check-label::after{transform:translateX(calc(1rem - (.75rem/2)));}.form-check.form-switch .form-check-input.form-check-input-md{width:calc(2rem + (1.5rem/2));height:1.5rem;margin-left:-2.5em;}.form-check.form-switch .form-check-input.form-check-input-md+.form-check-label{line-height:2rem;vertical-align:middle;padding-left:.75rem;}.form-check.form-switch .form-check-input.form-check-input-md:checked~.form-check-label::after{transform:translateX(calc(2rem - (1.5rem/2)));}.form-check.form-switch .form-check-input.form-check-input-lg{width:calc(3rem + (2rem/2));height:2rem;margin-left:-2.5em;}.form-check.form-switch .form-check-input.form-check-input-lg+.form-check-label{line-height:2.5rem;vertical-align:middle;padding-left:.75rem;}.form-check.form-switch .form-check-input.form-check-input-lg:checked~.form-check-label::after{transform:translateX(calc(3rem - (2rem/2)));}.form-check.form-switch .form-check-input.form-check-input-xl{width:calc(4rem + (2.5rem/2));height:2.5rem;margin-left:-2.5em;}.form-check.form-switch .form-check-input.form-check-input-xl+.form-check-label{line-height:3rem;vertical-align:middle;padding-left:.75rem;}.form-check.form-switch .form-check-input.form-check-input-xl:checked~.form-check-label::after{transform:translateX(calc(4rem - (2.5rem/2)));}table.table tbody tr:not(.table-group).selected{background-color:var(--bs-primary);}table.table tbody tr.table-group{cursor:pointer;background-color:var(--b-theme-light,var(--bs-light,#f5f5f5));font-weight:700;}tr.table-row-selectable:hover{cursor:pointer;}tr.table-row-selectable:focus[tabindex="0"]{outline:0;}.table-fixed-header{overflow-y:auto;}.table-fixed-header>.table{border-collapse:separate;border-spacing:0;}.table-fixed-header>.table>thead:not(.table-thead-theme)>tr>th{background:#fff;}.table-fixed-header>.table>thead>tr>th{border-top:0;position:sticky;z-index:10;}.table-fixed-header>.table>thead>tr:nth-child(1)>th{top:0;}.table-fixed-header>.table-bordered>:not(caption)>*>*{border-width:1px 1px;}.overflow-auto-auto{overflow:auto auto!important;}.overflow-auto-hidden{overflow:auto hidden!important;}.overflow-auto-visible{overflow:auto visible!important;}.overflow-auto-scroll{overflow:auto scroll!important;}.overflow-hidden-auto{overflow:hidden auto!important;}.overflow-hidden-hidden{overflow:hidden hidden!important;}.overflow-hidden-visible{overflow:hidden visible!important;}.overflow-hidden-scroll{overflow:hidden scroll!important;}.overflow-visible-auto{overflow:visible auto!important;}.overflow-visible-hidden{overflow:visible hidden!important;}.overflow-visible-visible{overflow:visible visible!important;}.overflow-visible-scroll{overflow:visible scroll!important;}.overflow-scroll-auto{overflow:scroll auto!important;}.overflow-scroll-hidden{overflow:scroll hidden!important;}.overflow-scroll-visible{overflow:scroll visible!important;}.overflow-scroll-scroll{overflow:scroll scroll!important;}ol.ordered-list-lower-alpha{list-style-type:lower-alpha;}ol.ordered-list-lower-roman{list-style-type:lower-roman;}ol.ordered-list-upper-alpha{list-style-type:upper-alpha;}ol.ordered-list-upper-roman{list-style-type:upper-roman;}.border-1{border:1px solid #dee2e6!important;}.border-1.border-primary{border-color:#007bff!important;}.border-1.border-secondary{border-color:#6c757d!important;}.border-1.border-success{border-color:#28a745!important;}.border-1.border-info{border-color:#17a2b8!important;}.border-1.border-warning{border-color:#ffc107!important;}.border-1.border-danger{border-color:#dc3545!important;}.border-1.border-light{border-color:#f8f9fa!important;}.border-1.border-dark{border-color:#343a40!important;}.border-1.border-link{border-color:#3273dc!important;}.border-primary-1{border:1px solid #007bff!important;}.border-secondary-1{border:1px solid #6c757d!important;}.border-success-1{border:1px solid #28a745!important;}.border-info-1{border:1px solid #17a2b8!important;}.border-warning-1{border:1px solid #ffc107!important;}.border-danger-1{border:1px solid #dc3545!important;}.border-light-1{border:1px solid #f8f9fa!important;}.border-dark-1{border:1px solid #343a40!important;}.border-link-1{border:1px solid #3273dc!important;}.border-top-1{border-top:1px solid #dee2e6!important;}.border-primary-top-1{border-top:1px solid #007bff!important;}.border-secondary-top-1{border-top:1px solid #6c757d!important;}.border-success-top-1{border-top:1px solid #28a745!important;}.border-info-top-1{border-top:1px solid #17a2b8!important;}.border-warning-top-1{border-top:1px solid #ffc107!important;}.border-danger-top-1{border-top:1px solid #dc3545!important;}.border-light-top-1{border-top:1px solid #f8f9fa!important;}.border-dark-top-1{border-top:1px solid #343a40!important;}.border-link-top-1{border-top:1px solid #3273dc!important;}.border-end-1{border-right:1px solid #dee2e6!important;}.border-primary-end-1{border-right:1px solid #007bff!important;}.border-secondary-end-1{border-right:1px solid #6c757d!important;}.border-success-end-1{border-right:1px solid #28a745!important;}.border-info-end-1{border-right:1px solid #17a2b8!important;}.border-warning-end-1{border-right:1px solid #ffc107!important;}.border-danger-end-1{border-right:1px solid #dc3545!important;}.border-light-end-1{border-right:1px solid #f8f9fa!important;}.border-dark-end-1{border-right:1px solid #343a40!important;}.border-link-end-1{border-right:1px solid #3273dc!important;}.border-bottom-1{border-bottom:1px solid #dee2e6!important;}.border-primary-bottom-1{border-bottom:1px solid #007bff!important;}.border-secondary-bottom-1{border-bottom:1px solid #6c757d!important;}.border-success-bottom-1{border-bottom:1px solid #28a745!important;}.border-info-bottom-1{border-bottom:1px solid #17a2b8!important;}.border-warning-bottom-1{border-bottom:1px solid #ffc107!important;}.border-danger-bottom-1{border-bottom:1px solid #dc3545!important;}.border-light-bottom-1{border-bottom:1px solid #f8f9fa!important;}.border-dark-bottom-1{border-bottom:1px solid #343a40!important;}.border-link-bottom-1{border-bottom:1px solid #3273dc!important;}.border-start-1{border-left:1px solid #dee2e6!important;}.border-primary-start-1{border-left:1px solid #007bff!important;}.border-secondary-start-1{border-left:1px solid #6c757d!important;}.border-success-start-1{border-left:1px solid #28a745!important;}.border-info-start-1{border-left:1px solid #17a2b8!important;}.border-warning-start-1{border-left:1px solid #ffc107!important;}.border-danger-start-1{border-left:1px solid #dc3545!important;}.border-light-start-1{border-left:1px solid #f8f9fa!important;}.border-dark-start-1{border-left:1px solid #343a40!important;}.border-link-start-1{border-left:1px solid #3273dc!important;}.border-2{border:2px solid #dee2e6!important;}.border-2.border-primary{border-color:#007bff!important;}.border-2.border-secondary{border-color:#6c757d!important;}.border-2.border-success{border-color:#28a745!important;}.border-2.border-info{border-color:#17a2b8!important;}.border-2.border-warning{border-color:#ffc107!important;}.border-2.border-danger{border-color:#dc3545!important;}.border-2.border-light{border-color:#f8f9fa!important;}.border-2.border-dark{border-color:#343a40!important;}.border-2.border-link{border-color:#3273dc!important;}.border-primary-2{border:2px solid #007bff!important;}.border-secondary-2{border:2px solid #6c757d!important;}.border-success-2{border:2px solid #28a745!important;}.border-info-2{border:2px solid #17a2b8!important;}.border-warning-2{border:2px solid #ffc107!important;}.border-danger-2{border:2px solid #dc3545!important;}.border-light-2{border:2px solid #f8f9fa!important;}.border-dark-2{border:2px solid #343a40!important;}.border-link-2{border:2px solid #3273dc!important;}.border-top-2{border-top:2px solid #dee2e6!important;}.border-primary-top-2{border-top:2px solid #007bff!important;}.border-secondary-top-2{border-top:2px solid #6c757d!important;}.border-success-top-2{border-top:2px solid #28a745!important;}.border-info-top-2{border-top:2px solid #17a2b8!important;}.border-warning-top-2{border-top:2px solid #ffc107!important;}.border-danger-top-2{border-top:2px solid #dc3545!important;}.border-light-top-2{border-top:2px solid #f8f9fa!important;}.border-dark-top-2{border-top:2px solid #343a40!important;}.border-link-top-2{border-top:2px solid #3273dc!important;}.border-end-2{border-right:2px solid #dee2e6!important;}.border-primary-end-2{border-right:2px solid #007bff!important;}.border-secondary-end-2{border-right:2px solid #6c757d!important;}.border-success-end-2{border-right:2px solid #28a745!important;}.border-info-end-2{border-right:2px solid #17a2b8!important;}.border-warning-end-2{border-right:2px solid #ffc107!important;}.border-danger-end-2{border-right:2px solid #dc3545!important;}.border-light-end-2{border-right:2px solid #f8f9fa!important;}.border-dark-end-2{border-right:2px solid #343a40!important;}.border-link-end-2{border-right:2px solid #3273dc!important;}.border-bottom-2{border-bottom:2px solid #dee2e6!important;}.border-primary-bottom-2{border-bottom:2px solid #007bff!important;}.border-secondary-bottom-2{border-bottom:2px solid #6c757d!important;}.border-success-bottom-2{border-bottom:2px solid #28a745!important;}.border-info-bottom-2{border-bottom:2px solid #17a2b8!important;}.border-warning-bottom-2{border-bottom:2px solid #ffc107!important;}.border-danger-bottom-2{border-bottom:2px solid #dc3545!important;}.border-light-bottom-2{border-bottom:2px solid #f8f9fa!important;}.border-dark-bottom-2{border-bottom:2px solid #343a40!important;}.border-link-bottom-2{border-bottom:2px solid #3273dc!important;}.border-start-2{border-left:2px solid #dee2e6!important;}.border-primary-start-2{border-left:2px solid #007bff!important;}.border-secondary-start-2{border-left:2px solid #6c757d!important;}.border-success-start-2{border-left:2px solid #28a745!important;}.border-info-start-2{border-left:2px solid #17a2b8!important;}.border-warning-start-2{border-left:2px solid #ffc107!important;}.border-danger-start-2{border-left:2px solid #dc3545!important;}.border-light-start-2{border-left:2px solid #f8f9fa!important;}.border-dark-start-2{border-left:2px solid #343a40!important;}.border-link-start-2{border-left:2px solid #3273dc!important;}.border-3{border:3px solid #dee2e6!important;}.border-3.border-primary{border-color:#007bff!important;}.border-3.border-secondary{border-color:#6c757d!important;}.border-3.border-success{border-color:#28a745!important;}.border-3.border-info{border-color:#17a2b8!important;}.border-3.border-warning{border-color:#ffc107!important;}.border-3.border-danger{border-color:#dc3545!important;}.border-3.border-light{border-color:#f8f9fa!important;}.border-3.border-dark{border-color:#343a40!important;}.border-3.border-link{border-color:#3273dc!important;}.border-primary-3{border:3px solid #007bff!important;}.border-secondary-3{border:3px solid #6c757d!important;}.border-success-3{border:3px solid #28a745!important;}.border-info-3{border:3px solid #17a2b8!important;}.border-warning-3{border:3px solid #ffc107!important;}.border-danger-3{border:3px solid #dc3545!important;}.border-light-3{border:3px solid #f8f9fa!important;}.border-dark-3{border:3px solid #343a40!important;}.border-link-3{border:3px solid #3273dc!important;}.border-top-3{border-top:3px solid #dee2e6!important;}.border-primary-top-3{border-top:3px solid #007bff!important;}.border-secondary-top-3{border-top:3px solid #6c757d!important;}.border-success-top-3{border-top:3px solid #28a745!important;}.border-info-top-3{border-top:3px solid #17a2b8!important;}.border-warning-top-3{border-top:3px solid #ffc107!important;}.border-danger-top-3{border-top:3px solid #dc3545!important;}.border-light-top-3{border-top:3px solid #f8f9fa!important;}.border-dark-top-3{border-top:3px solid #343a40!important;}.border-link-top-3{border-top:3px solid #3273dc!important;}.border-end-3{border-right:3px solid #dee2e6!important;}.border-primary-end-3{border-right:3px solid #007bff!important;}.border-secondary-end-3{border-right:3px solid #6c757d!important;}.border-success-end-3{border-right:3px solid #28a745!important;}.border-info-end-3{border-right:3px solid #17a2b8!important;}.border-warning-end-3{border-right:3px solid #ffc107!important;}.border-danger-end-3{border-right:3px solid #dc3545!important;}.border-light-end-3{border-right:3px solid #f8f9fa!important;}.border-dark-end-3{border-right:3px solid #343a40!important;}.border-link-end-3{border-right:3px solid #3273dc!important;}.border-bottom-3{border-bottom:3px solid #dee2e6!important;}.border-primary-bottom-3{border-bottom:3px solid #007bff!important;}.border-secondary-bottom-3{border-bottom:3px solid #6c757d!important;}.border-success-bottom-3{border-bottom:3px solid #28a745!important;}.border-info-bottom-3{border-bottom:3px solid #17a2b8!important;}.border-warning-bottom-3{border-bottom:3px solid #ffc107!important;}.border-danger-bottom-3{border-bottom:3px solid #dc3545!important;}.border-light-bottom-3{border-bottom:3px solid #f8f9fa!important;}.border-dark-bottom-3{border-bottom:3px solid #343a40!important;}.border-link-bottom-3{border-bottom:3px solid #3273dc!important;}.border-start-3{border-left:3px solid #dee2e6!important;}.border-primary-start-3{border-left:3px solid #007bff!important;}.border-secondary-start-3{border-left:3px solid #6c757d!important;}.border-success-start-3{border-left:3px solid #28a745!important;}.border-info-start-3{border-left:3px solid #17a2b8!important;}.border-warning-start-3{border-left:3px solid #ffc107!important;}.border-danger-start-3{border-left:3px solid #dc3545!important;}.border-light-start-3{border-left:3px solid #f8f9fa!important;}.border-dark-start-3{border-left:3px solid #343a40!important;}.border-link-start-3{border-left:3px solid #3273dc!important;}.border-4{border:4px solid #dee2e6!important;}.border-4.border-primary{border-color:#007bff!important;}.border-4.border-secondary{border-color:#6c757d!important;}.border-4.border-success{border-color:#28a745!important;}.border-4.border-info{border-color:#17a2b8!important;}.border-4.border-warning{border-color:#ffc107!important;}.border-4.border-danger{border-color:#dc3545!important;}.border-4.border-light{border-color:#f8f9fa!important;}.border-4.border-dark{border-color:#343a40!important;}.border-4.border-link{border-color:#3273dc!important;}.border-primary-4{border:4px solid #007bff!important;}.border-secondary-4{border:4px solid #6c757d!important;}.border-success-4{border:4px solid #28a745!important;}.border-info-4{border:4px solid #17a2b8!important;}.border-warning-4{border:4px solid #ffc107!important;}.border-danger-4{border:4px solid #dc3545!important;}.border-light-4{border:4px solid #f8f9fa!important;}.border-dark-4{border:4px solid #343a40!important;}.border-link-4{border:4px solid #3273dc!important;}.border-top-4{border-top:4px solid #dee2e6!important;}.border-primary-top-4{border-top:4px solid #007bff!important;}.border-secondary-top-4{border-top:4px solid #6c757d!important;}.border-success-top-4{border-top:4px solid #28a745!important;}.border-info-top-4{border-top:4px solid #17a2b8!important;}.border-warning-top-4{border-top:4px solid #ffc107!important;}.border-danger-top-4{border-top:4px solid #dc3545!important;}.border-light-top-4{border-top:4px solid #f8f9fa!important;}.border-dark-top-4{border-top:4px solid #343a40!important;}.border-link-top-4{border-top:4px solid #3273dc!important;}.border-end-4{border-right:4px solid #dee2e6!important;}.border-primary-end-4{border-right:4px solid #007bff!important;}.border-secondary-end-4{border-right:4px solid #6c757d!important;}.border-success-end-4{border-right:4px solid #28a745!important;}.border-info-end-4{border-right:4px solid #17a2b8!important;}.border-warning-end-4{border-right:4px solid #ffc107!important;}.border-danger-end-4{border-right:4px solid #dc3545!important;}.border-light-end-4{border-right:4px solid #f8f9fa!important;}.border-dark-end-4{border-right:4px solid #343a40!important;}.border-link-end-4{border-right:4px solid #3273dc!important;}.border-bottom-4{border-bottom:4px solid #dee2e6!important;}.border-primary-bottom-4{border-bottom:4px solid #007bff!important;}.border-secondary-bottom-4{border-bottom:4px solid #6c757d!important;}.border-success-bottom-4{border-bottom:4px solid #28a745!important;}.border-info-bottom-4{border-bottom:4px solid #17a2b8!important;}.border-warning-bottom-4{border-bottom:4px solid #ffc107!important;}.border-danger-bottom-4{border-bottom:4px solid #dc3545!important;}.border-light-bottom-4{border-bottom:4px solid #f8f9fa!important;}.border-dark-bottom-4{border-bottom:4px solid #343a40!important;}.border-link-bottom-4{border-bottom:4px solid #3273dc!important;}.border-start-4{border-left:4px solid #dee2e6!important;}.border-primary-start-4{border-left:4px solid #007bff!important;}.border-secondary-start-4{border-left:4px solid #6c757d!important;}.border-success-start-4{border-left:4px solid #28a745!important;}.border-info-start-4{border-left:4px solid #17a2b8!important;}.border-warning-start-4{border-left:4px solid #ffc107!important;}.border-danger-start-4{border-left:4px solid #dc3545!important;}.border-light-start-4{border-left:4px solid #f8f9fa!important;}.border-dark-start-4{border-left:4px solid #343a40!important;}.border-link-start-4{border-left:4px solid #3273dc!important;}.border-5{border:5px solid #dee2e6!important;}.border-5.border-primary{border-color:#007bff!important;}.border-5.border-secondary{border-color:#6c757d!important;}.border-5.border-success{border-color:#28a745!important;}.border-5.border-info{border-color:#17a2b8!important;}.border-5.border-warning{border-color:#ffc107!important;}.border-5.border-danger{border-color:#dc3545!important;}.border-5.border-light{border-color:#f8f9fa!important;}.border-5.border-dark{border-color:#343a40!important;}.border-5.border-link{border-color:#3273dc!important;}.border-primary-5{border:5px solid #007bff!important;}.border-secondary-5{border:5px solid #6c757d!important;}.border-success-5{border:5px solid #28a745!important;}.border-info-5{border:5px solid #17a2b8!important;}.border-warning-5{border:5px solid #ffc107!important;}.border-danger-5{border:5px solid #dc3545!important;}.border-light-5{border:5px solid #f8f9fa!important;}.border-dark-5{border:5px solid #343a40!important;}.border-link-5{border:5px solid #3273dc!important;}.border-top-5{border-top:5px solid #dee2e6!important;}.border-primary-top-5{border-top:5px solid #007bff!important;}.border-secondary-top-5{border-top:5px solid #6c757d!important;}.border-success-top-5{border-top:5px solid #28a745!important;}.border-info-top-5{border-top:5px solid #17a2b8!important;}.border-warning-top-5{border-top:5px solid #ffc107!important;}.border-danger-top-5{border-top:5px solid #dc3545!important;}.border-light-top-5{border-top:5px solid #f8f9fa!important;}.border-dark-top-5{border-top:5px solid #343a40!important;}.border-link-top-5{border-top:5px solid #3273dc!important;}.border-end-5{border-right:5px solid #dee2e6!important;}.border-primary-end-5{border-right:5px solid #007bff!important;}.border-secondary-end-5{border-right:5px solid #6c757d!important;}.border-success-end-5{border-right:5px solid #28a745!important;}.border-info-end-5{border-right:5px solid #17a2b8!important;}.border-warning-end-5{border-right:5px solid #ffc107!important;}.border-danger-end-5{border-right:5px solid #dc3545!important;}.border-light-end-5{border-right:5px solid #f8f9fa!important;}.border-dark-end-5{border-right:5px solid #343a40!important;}.border-link-end-5{border-right:5px solid #3273dc!important;}.border-bottom-5{border-bottom:5px solid #dee2e6!important;}.border-primary-bottom-5{border-bottom:5px solid #007bff!important;}.border-secondary-bottom-5{border-bottom:5px solid #6c757d!important;}.border-success-bottom-5{border-bottom:5px solid #28a745!important;}.border-info-bottom-5{border-bottom:5px solid #17a2b8!important;}.border-warning-bottom-5{border-bottom:5px solid #ffc107!important;}.border-danger-bottom-5{border-bottom:5px solid #dc3545!important;}.border-light-bottom-5{border-bottom:5px solid #f8f9fa!important;}.border-dark-bottom-5{border-bottom:5px solid #343a40!important;}.border-link-bottom-5{border-bottom:5px solid #3273dc!important;}.border-start-5{border-left:5px solid #dee2e6!important;}.border-primary-start-5{border-left:5px solid #007bff!important;}.border-secondary-start-5{border-left:5px solid #6c757d!important;}.border-success-start-5{border-left:5px solid #28a745!important;}.border-info-start-5{border-left:5px solid #17a2b8!important;}.border-warning-start-5{border-left:5px solid #ffc107!important;}.border-danger-start-5{border-left:5px solid #dc3545!important;}.border-light-start-5{border-left:5px solid #f8f9fa!important;}.border-dark-start-5{border-left:5px solid #343a40!important;}.border-link-start-5{border-left:5px solid #3273dc!important;}.cursor-pointer{cursor:pointer;}.fs-xs{font-size:.75rem!important;}.fs-sm{font-size:.925rem!important;}.fs-md{font-size:1.125rem!important;}.fs-lg{font-size:1.25rem!important;}.fs-xl{font-size:1.5rem!important;}.grid{display:grid;grid-template-rows:repeat(1,1fr);grid-template-columns:repeat(12,1fr);gap:1.5rem;}.grid.g-rows-1{grid-template-rows:repeat(1,minmax(0,1fr));}.grid.g-rows-2{grid-template-rows:repeat(2,minmax(0,1fr));}.grid.g-rows-3{grid-template-rows:repeat(3,minmax(0,1fr));}.grid.g-rows-4{grid-template-rows:repeat(4,minmax(0,1fr));}.grid.g-rows-5{grid-template-rows:repeat(5,minmax(0,1fr));}.grid.g-rows-6{grid-template-rows:repeat(6,minmax(0,1fr));}.grid.g-cols-1{grid-template-columns:repeat(1,minmax(0,1fr));}.grid.g-cols-2{grid-template-columns:repeat(2,minmax(0,1fr));}.grid.g-cols-3{grid-template-columns:repeat(3,minmax(0,1fr));}.grid.g-cols-4{grid-template-columns:repeat(4,minmax(0,1fr));}.grid.g-cols-5{grid-template-columns:repeat(5,minmax(0,1fr));}.grid.g-cols-6{grid-template-columns:repeat(6,minmax(0,1fr));}.grid.g-cols-7{grid-template-columns:repeat(7,minmax(0,1fr));}.grid.g-cols-8{grid-template-columns:repeat(8,minmax(0,1fr));}.grid.g-cols-9{grid-template-columns:repeat(9,minmax(0,1fr));}.grid.g-cols-10{grid-template-columns:repeat(10,minmax(0,1fr));}.grid.g-cols-11{grid-template-columns:repeat(11,minmax(0,1fr));}.grid.g-cols-12{grid-template-columns:repeat(12,minmax(0,1fr));}.grid .g-col-1{grid-column:auto/span 1;}.grid .g-col-2{grid-column:auto/span 2;}.grid .g-col-3{grid-column:auto/span 3;}.grid .g-col-4{grid-column:auto/span 4;}.grid .g-col-5{grid-column:auto/span 5;}.grid .g-col-6{grid-column:auto/span 6;}.grid .g-col-7{grid-column:auto/span 7;}.grid .g-col-8{grid-column:auto/span 8;}.grid .g-col-9{grid-column:auto/span 9;}.grid .g-col-10{grid-column:auto/span 10;}.grid .g-col-11{grid-column:auto/span 11;}.grid .g-col-12{grid-column:auto/span 12;}@media(min-width:576px){.grid .g-col-sm-1{grid-column:auto/span 1;}.grid .g-col-sm-2{grid-column:auto/span 2;}.grid .g-col-sm-3{grid-column:auto/span 3;}.grid .g-col-sm-4{grid-column:auto/span 4;}.grid .g-col-sm-5{grid-column:auto/span 5;}.grid .g-col-sm-6{grid-column:auto/span 6;}.grid .g-col-sm-7{grid-column:auto/span 7;}.grid .g-col-sm-8{grid-column:auto/span 8;}.grid .g-col-sm-9{grid-column:auto/span 9;}.grid .g-col-sm-10{grid-column:auto/span 10;}.grid .g-col-sm-11{grid-column:auto/span 11;}.grid .g-col-sm-12{grid-column:auto/span 12;}}@media(min-width:768px){.grid .g-col-md-1{grid-column:auto/span 1;}.grid .g-col-md-2{grid-column:auto/span 2;}.grid .g-col-md-3{grid-column:auto/span 3;}.grid .g-col-md-4{grid-column:auto/span 4;}.grid .g-col-md-5{grid-column:auto/span 5;}.grid .g-col-md-6{grid-column:auto/span 6;}.grid .g-col-md-7{grid-column:auto/span 7;}.grid .g-col-md-8{grid-column:auto/span 8;}.grid .g-col-md-9{grid-column:auto/span 9;}.grid .g-col-md-10{grid-column:auto/span 10;}.grid .g-col-md-11{grid-column:auto/span 11;}.grid .g-col-md-12{grid-column:auto/span 12;}}@media(min-width:992px){.grid .g-col-lg-1{grid-column:auto/span 1;}.grid .g-col-lg-2{grid-column:auto/span 2;}.grid .g-col-lg-3{grid-column:auto/span 3;}.grid .g-col-lg-4{grid-column:auto/span 4;}.grid .g-col-lg-5{grid-column:auto/span 5;}.grid .g-col-lg-6{grid-column:auto/span 6;}.grid .g-col-lg-7{grid-column:auto/span 7;}.grid .g-col-lg-8{grid-column:auto/span 8;}.grid .g-col-lg-9{grid-column:auto/span 9;}.grid .g-col-lg-10{grid-column:auto/span 10;}.grid .g-col-lg-11{grid-column:auto/span 11;}.grid .g-col-lg-12{grid-column:auto/span 12;}}@media(min-width:1200px){.grid .g-col-xl-1{grid-column:auto/span 1;}.grid .g-col-xl-2{grid-column:auto/span 2;}.grid .g-col-xl-3{grid-column:auto/span 3;}.grid .g-col-xl-4{grid-column:auto/span 4;}.grid .g-col-xl-5{grid-column:auto/span 5;}.grid .g-col-xl-6{grid-column:auto/span 6;}.grid .g-col-xl-7{grid-column:auto/span 7;}.grid .g-col-xl-8{grid-column:auto/span 8;}.grid .g-col-xl-9{grid-column:auto/span 9;}.grid .g-col-xl-10{grid-column:auto/span 10;}.grid .g-col-xl-11{grid-column:auto/span 11;}.grid .g-col-xl-12{grid-column:auto/span 12;}}.flatpickr-months{margin:.5rem 0;}.flatpickr-months .flatpickr-month,.flatpickr-months .flatpickr-next-month,.flatpickr-months .flatpickr-prev-month{height:auto;position:relative;}.flatpickr-months .flatpickr-month:hover svg,.flatpickr-months .flatpickr-next-month:hover svg,.flatpickr-months .flatpickr-prev-month:hover svg{fill:#007bff;}.flatpickr-months .flatpickr-month{color:#212529;}.flatpickr-current-month{padding:13px 0 0 0;font-size:115%;}.flatpickr-current-month span.cur-month{font-weight:700;}.flatpickr-current-month span.cur-month:hover{background:rgba(0,123,255,.15);}.numInputWrapper:hover{background:rgba(0,123,255,.15);}.flatpickr-day{border-radius:.25rem;font-weight:500;color:#212529;}.flatpickr-day.today{border-color:#007bff;}.flatpickr-day.today:hover{background:#007bff;border-color:#007bff;}.flatpickr-day:hover{background:rgba(0,123,255,.1);border-color:rgba(0,0,0,0);}span.flatpickr-weekday{color:#212529;}.flatpickr-day.selected,.flatpickr-day.startRange,.flatpickr-day.endRange,.flatpickr-day.selected.inRange,.flatpickr-day.startRange.inRange,.flatpickr-day.endRange.inRange,.flatpickr-day.selected:focus,.flatpickr-day.startRange:focus,.flatpickr-day.endRange:focus,.flatpickr-day.selected:hover,.flatpickr-day.startRange:hover,.flatpickr-day.endRange:hover,.flatpickr-day.selected.prevMonthDay,.flatpickr-day.startRange.prevMonthDay,.flatpickr-day.endRange.prevMonthDay,.flatpickr-day.selected.nextMonthDay,.flatpickr-day.startRange.nextMonthDay,.flatpickr-day.endRange.nextMonthDay{background:#007bff;border-color:#007bff;}.flatpickr-day.selected.startRange+.endRange:not(:nth-child(7n+1)),.flatpickr-day.startRange.startRange+.endRange:not(:nth-child(7n+1)),.flatpickr-day.endRange.startRange+.endRange:not(:nth-child(7n+1)){box-shadow:-10px 0 0 #007bff;}.flatpickr-day.selected.startRange,.flatpickr-day.startRange.startRange,.flatpickr-day.endRange.startRange{border-radius:.25rem 0 0 .25rem;}.flatpickr-day.selected.endRange,.flatpickr-day.startRange.endRange,.flatpickr-day.endRange.endRange{border-radius:0 .25rem .25rem 0;}.flatpickr-monthSelect-month:hover,.flatpickr-monthSelect-month:focus{background:rgba(0,123,255,.1);}.flatpickr-monthSelect-month.selected{background-color:#007bff;}
\ No newline at end of file
diff --git a/_content/Blazorise.Bootstrap5/modal.js b/_content/Blazorise.Bootstrap5/modal.js
new file mode 100755
index 00000000..d021a9ae
--- /dev/null
+++ b/_content/Blazorise.Bootstrap5/modal.js
@@ -0,0 +1,120 @@
+import { addClassToBody, removeClassFromBody } from "../Blazorise/utilities.js?v=1.3.1.0";
+
+export function open(element, scrollToTop) {
+ adjustDialogDimensionsBeforeShow(element);
+
+ var modals = Number(document.body.getAttribute("data-modals") || "0");
+
+ if (modals === 0) {
+ addClassToBody("modal-open");
+ }
+
+ modals += 1;
+
+ document.body.setAttribute("data-modals", modals.toString());
+
+ if (scrollToTop) {
+ const modalBody = element.querySelector('.modal-body');
+
+ if (modalBody) {
+ modalBody.scrollTop = 0;
+ }
+ }
+}
+
+export function close(element) {
+ var modals = Number(document.body.getAttribute("data-modals") || "0");
+
+ modals -= 1;
+
+ if (modals < 0) {
+ modals = 0;
+ }
+
+ if (modals === 0) {
+ removeClassFromBody("modal-open");
+ }
+
+ document.body.setAttribute("data-modals", modals.toString());
+
+ resetAdjustments(element);
+}
+
+export function adjustDialogDimensionsBeforeShow(element) {
+ if (element) {
+ const rect = document.body.getBoundingClientRect();
+ const isBodyOverflowing = Math.round(rect.left + rect.right) < window.innerWidth;
+ const scrollbarWidth = getScrollBarWidth();
+
+ if (isBodyOverflowing) {
+ const fixedContent = [].slice.call(document.querySelectorAll('.fixed-top, .fixed-bottom, .is-fixed, .sticky-top'));
+ const stickyContent = [].slice.call(document.querySelectorAll('.sticky-top'));
+
+ // Adjust fixed content padding
+ if (fixedContent) {
+ fixedContent.forEach((fixedContentElement) => {
+ const calculatedPadding = fixedContentElement.style.paddingRight;
+
+ fixedContentElement.style.paddingRight = `${parseFloat(calculatedPadding) + scrollbarWidth}px`;
+ });
+ }
+
+ // Adjust sticky content margin
+ if (stickyContent) {
+ stickyContent.forEach((stickyContentElement) => {
+ const calculatedMargin = stickyContentElement.style.marginRight;
+
+ stickyContentElement.style.marginRight = `${parseFloat(calculatedMargin) - scrollbarWidth}px`;
+ });
+ }
+
+ // Adjust body padding
+ const calculatedPadding = document.body.style.paddingRight;
+
+ document.body.style.paddingRight = `${calculatedPadding + scrollbarWidth}px`;
+ }
+
+ const isModalOverflowing = element.scrollHeight > document.documentElement.clientHeight;
+
+ if (!isBodyOverflowing && isModalOverflowing) {
+ element.style.paddingLeft = `${scrollbarWidth}px`;
+ }
+
+ if (isBodyOverflowing && !isModalOverflowing) {
+ element.style.paddingRight = `${scrollbarWidth}px`;
+ }
+ }
+}
+
+export function resetAdjustments(element) {
+ // Restore element padding
+ if (element && element.style) {
+ element.style.paddingLeft = ''
+ element.style.paddingRight = '';
+ }
+
+ const fixedContent = [].slice.call(document.querySelectorAll('.fixed-top, .fixed-bottom, .is-fixed, .sticky-top'));
+ const stickyContent = [].slice.call(document.querySelectorAll('.sticky-top'));
+
+ // Restore fixed content padding
+ if (fixedContent) {
+ fixedContent.forEach((fixedContentElement) => {
+ fixedContentElement.style.paddingRight = '';
+ });
+ }
+
+ // Restore sticky content
+ if (stickyContent) {
+ stickyContent.forEach((stickyContentElement) => {
+ stickyContentElement.style.marginRight = '';
+ });
+ }
+
+ // Restore body padding
+ document.body.style.paddingRight = '';
+}
+
+export function getScrollBarWidth() {
+ const documentWidth = document.documentElement.clientWidth;
+ return Math.abs(window.innerWidth - documentWidth);
+}
\ No newline at end of file
diff --git a/_content/Blazorise.Bootstrap5/tooltip.js b/_content/Blazorise.Bootstrap5/tooltip.js
new file mode 100755
index 00000000..d3d50b9a
--- /dev/null
+++ b/_content/Blazorise.Bootstrap5/tooltip.js
@@ -0,0 +1,11 @@
+import { initialize as baseInitialize, destroy, updateContent } from "../Blazorise/tooltip.js?v=1.3.1.0";
+
+export function initialize(element, elementId, options) {
+ baseInitialize(element, elementId, options);
+
+ if (options.autodetectInline && element && element.querySelector(".custom-control-input,.btn")) {
+ element.classList.add("b-tooltip-inline");
+ }
+}
+
+export { destroy, updateContent };
\ No newline at end of file
diff --git a/_content/Blazorise.Charts/charts.js b/_content/Blazorise.Charts/charts.js
new file mode 100755
index 00000000..da9162ac
--- /dev/null
+++ b/_content/Blazorise.Charts/charts.js
@@ -0,0 +1,485 @@
+import { parseFunction, deepClone } from "./utilities.js?v=1.3.1.0";
+
+// workaround for: https://github.com/Megabit/Blazorise/issues/2287
+const _ChartTitleCallbacks = function (item) {
+ return item[0].dataset.label;
+};
+
+const _ChartLabelCallback = function (item) {
+ const label = item.label;
+ const value = item.dataset.data[item.dataIndex];
+ return label + ': ' + value;
+};
+
+// In Chart v3 callbacks are now defined by default. So to override them by the Blazorise the user
+// would have to first set them to null immediately after charts.js is loaded for this workaround
+// to have any effect.
+
+if (!Chart.overrides.pie.plugins.tooltip.callbacks.title) {
+ Chart.overrides.pie.plugins.tooltip.callbacks.title = _ChartTitleCallbacks;
+}
+
+if (!Chart.overrides.pie.plugins.tooltip.callbacks.label) {
+ Chart.overrides.pie.plugins.tooltip.callbacks.label = _ChartLabelCallback;
+}
+
+if (!Chart.overrides.doughnut.plugins.tooltip.callbacks.title) {
+ Chart.overrides.doughnut.plugins.tooltip.callbacks.title = _ChartTitleCallbacks;
+}
+
+if (!Chart.overrides.doughnut.plugins.tooltip.callbacks.label) {
+ Chart.overrides.doughnut.plugins.tooltip.callbacks.label = _ChartLabelCallback;
+}
+
+const _instances = [];
+
+export function initialize(dotnetAdapter, eventOptions, canvas, canvasId, type, data, options, dataJsonString, optionsJsonString, optionsObject, pluginNames) {
+ if (dataJsonString) {
+ data = JSON.parse(dataJsonString);
+ }
+
+ if (optionsJsonString) {
+ options = JSON.parse(optionsJsonString);
+ }
+ else if (optionsObject) {
+ options = optionsObject;
+ }
+
+ function processTicksCallback(scales, axis) {
+ if (scales && Array.isArray(scales[axis])) {
+ scales[axis].forEach(a => {
+ if (a.ticks && a.ticks.callback) {
+ if (typeof a.ticks.callback === 'string') {
+ const callback = a.ticks.callback;
+ a.ticks.callback = function (value, index, ticks) {
+ return eval(callback);
+ }
+ }
+ }
+ });
+ }
+ }
+
+ if (options && options.scales) {
+ processTicksCallback(options.scales, 'x');
+ processTicksCallback(options.scales, 'y');
+ }
+
+ // search for canvas element
+ canvas = canvas || document.getElementById(canvasId);
+
+ if (canvas) {
+ const chart = createChart(dotnetAdapter, eventOptions, canvas, canvasId, type, data, options, pluginNames);
+
+ // save references to all elements
+ _instances[canvasId] = {
+ dotnetAdapter: dotnetAdapter,
+ eventOptions: eventOptions,
+ canvas: canvas,
+ chart: chart
+ };
+ }
+}
+
+export function changeChartType(canvas, canvasId, type) {
+ let chart = getChart(canvasId);
+
+ if (chart) {
+ const data = chart.data;
+ const options = deepClone(chart.options);
+ const instance = _instances[canvasId];
+
+ if (data && data.datasets) {
+ data.datasets.forEach((ds) => {
+ ds.type = type;
+ });
+ }
+
+ chart.destroy();
+
+ chart = createChart(instance.dotnetAdapter, instance.eventOptions, canvas, canvas, type, data, options, instance.pluginNames);
+
+ _instances[canvasId].chart = chart;
+ }
+}
+
+function createChart(dotnetAdapter, eventOptions, canvas, canvasId, type, data, options, pluginNames) {
+ // save the copy of the received options
+ const originalOptions = deepClone(options);
+
+ options = compileOptionCallbacks(options);
+
+ const plugins = [];
+
+ if (pluginNames) {
+ if (pluginNames.includes("DataLabels") && ChartDataLabels) {
+ plugins.push(ChartDataLabels);
+ }
+
+ if (pluginNames.includes("Streaming")) {
+ plugins.push({
+ duration: 20000
+ });
+ }
+ }
+
+ const chart = new Chart(canvas, {
+ type: type,
+ data: data,
+ options: options,
+ plugins: plugins
+ });
+
+ chart.originalOptions = originalOptions;
+
+ wireEvents(dotnetAdapter, eventOptions, canvas, type, chart);
+
+ return chart;
+}
+
+export function compileOptionCallbacks(options) {
+ if (options && options.scales) {
+ if (options.scales.x && options.scales.x.ticks && options.scales.x.ticks.callback) {
+ options.scales.x.ticks.callback = parseFunction(options.scales.x.ticks.callback);
+ }
+
+ if (options.scales.y && options.scales.y.ticks && options.scales.y.ticks.callback) {
+ options.scales.y.ticks.callback = parseFunction(options.scales.y.ticks.callback);
+ }
+ }
+
+ return options;
+}
+
+export function destroy(canvas, canvasId) {
+ var instances = _instances || {};
+
+ const instance = instances[canvasId];
+
+ if (instance) {
+ const chart = instance.chart;
+
+ if (chart) {
+ chart.destroy();
+ }
+
+ delete instances[canvasId];
+ }
+}
+
+export function setOptions(canvasId, options, optionsJsonString, optionsObject) {
+ if (optionsJsonString) {
+ options = JSON.parse(optionsJsonString);
+ }
+ else if (optionsObject) {
+ options = optionsObject;
+ }
+
+ const chart = getChart(canvasId);
+
+ if (chart) {
+ // save the copy of the received options
+ const originalOptions = deepClone(options);
+
+ options = compileOptionCallbacks(options);
+
+ chart.options = options;
+ chart.originalOptions = originalOptions;
+
+ // Due to a bug in chartjs we need to set aspectRatio directly on chart instance
+ // instead of through the options.
+ if (options.aspectRatio) {
+ chart._aspectRatio = options.aspectRatio;
+
+ chart.resize();
+ }
+ }
+}
+
+export function resize(canvasId) {
+ const chart = getChart(canvasId);
+
+ if (chart) {
+ chart.resize();
+ }
+}
+
+export function update(canvasId) {
+ const chart = getChart(canvasId);
+
+ if (chart) {
+ chart.update();
+ }
+}
+
+export function clear(canvasId) {
+ const chart = getChart(canvasId);
+
+ if (chart) {
+ chart.data.labels = [];
+ chart.data.datasets = [];
+ chart.update();
+ }
+}
+
+export function addLabel(canvasId, newLabels) {
+ const chart = getChart(canvasId);
+
+ if (chart) {
+ newLabels.forEach((label, index) => {
+ chart.data.labels.push(label);
+ });
+ }
+}
+
+export function addDataset(canvasId, newDatasets) {
+ const chart = getChart(canvasId);
+ if (chart) {
+ newDatasets.forEach((dataset, index) => {
+ chart.data.datasets.push(dataset);
+ });
+ }
+}
+
+export function removeDataset(canvasId, datasetIndex) {
+ const chart = getChart(canvasId);
+
+ if (chart && datasetIndex >= 0) {
+ chart.data.datasets.splice(datasetIndex, 1);
+ }
+}
+
+export function addData(canvasId, datasetIndex, newData) {
+ const chart = getChart(canvasId);
+
+ if (chart) {
+ newData.forEach((data, index) => {
+ chart.data.datasets[datasetIndex].data.push(data);
+ });
+ }
+}
+
+export function setData(canvasId, datasetIndex, newData) {
+ const chart = getChart(canvasId);
+
+ if (chart) {
+ chart.data.datasets[datasetIndex].data = newData;
+ }
+}
+
+export function addDatasetsAndUpdate(canvasId, newDatasets) {
+ const chart = getChart(canvasId);
+
+ if (chart) {
+ newDatasets.forEach((dataset, index) => {
+ chart.data.datasets.push(dataset);
+ });
+
+ chart.update();
+ }
+}
+
+export function addLabelsDatasetsAndUpdate(canvasId, newLabels, newDatasets) {
+ const chart = getChart(canvasId);
+
+ if (chart) {
+ newLabels.forEach((label, index) => {
+ chart.data.labels.push(label);
+ });
+
+ newDatasets.forEach((dataset, index) => {
+ chart.data.datasets.push(dataset);
+ });
+
+ chart.update();
+ }
+}
+
+export function shiftLabel(canvasId) {
+ const chart = getChart(canvasId);
+
+ if (chart) {
+ chart.data.labels.shift();
+ }
+}
+
+export function shiftData(canvasId, datasetIndex) {
+ const chart = getChart(canvasId);
+
+ if (chart) {
+ chart.data.datasets[datasetIndex].data.shift();
+ }
+}
+
+export function popLabel(canvasId) {
+ const chart = getChart(canvasId);
+
+ if (chart) {
+ chart.data.labels.pop();
+ }
+}
+
+export function popData(canvasId, datasetIndex) {
+ const chart = getChart(canvasId);
+
+ if (chart) {
+ chart.data.datasets[datasetIndex].data.pop();
+ }
+}
+
+function toModel(element, type) {
+ if (type == "line") {
+ return {
+ x: element.x,
+ y: element.y,
+ label: element.options.label,
+ backgroundColor: element.options.backgroundColor,
+ borderColor: element.options.borderColor,
+ borderWidth: element.options.borderWidth,
+ controlPointNextX: element.cp1x,
+ controlPointNextY: element.cp1y,
+ controlPointPreviousX: element.cp2x,
+ controlPointPreviousY: element.cp2y,
+ hitRadius: element.options.hitRadius,
+ pointStyle: element.options.pointStyle,
+ radius: element.options.radius,
+ skip: element.skip,
+ stop: element.stop,
+ steppedLine: element.options.steppedLine,
+ tension: element.options.tension
+ };
+ }
+ else if (type == "bar") {
+ return {
+ x: element.x,
+ y: element.y,
+ backgroundColor: element.options.backgroundColor,
+ borderColor: element.options.borderColor,
+ borderRadius: element.options.borderRadius,
+ borderSkipped: element.options.borderSkipped,
+ borderWidth: element.options.borderWidth,
+ inflateAmount: element.options.inflateAmount,
+ pointStyle: element.options.pointStyle,
+ datasetLabel: element.options.datasetLabel,
+ base: element.base,
+ horizontal: element.horizontal,
+ width: element.width,
+ height: element.height
+ };
+ }
+ else if (type == "pie" || type == "polarArea" || type == "doughnut") {
+ return {
+ x: element.x,
+ y: element.y,
+
+ backgroundColor: element.options.backgroundColor,
+ borderAlign: element.options.borderAlign,
+ borderColor: element.options.borderColor,
+ borderRadius: element.options.borderRadius,
+ borderWidth: element.options.borderWidth,
+ offset: element.options.offset,
+ spacing: element.options.spacing,
+ circumference: element.circumference,
+ startAngle: element.startAngle,
+ endAngle: element.endAngle,
+ innerRadius: element.innerRadius,
+ outerRadius: element.outerRadius,
+ pixelMargin: element.pixelMargin,
+ fullCircles: element.fullCircles
+ };
+ }
+ else if (type == "scatter" || type == "bubble") {
+ return {
+ x: element.x,
+ y: element.y,
+
+ backgroundColor: element.options.backgroundColor,
+ borderColor: element.options.borderColor,
+ borderWidth: element.options.borderWidth,
+ hitRadius: element.options.hitRadius,
+ hoverBorderWidth: element.options.hoverBorderWidth,
+ hoverRadius: element.options.hoverRadius,
+ pointStyle: element.options.pointStyle,
+ radius: element.options.radius,
+ rotation: element.options.rotation,
+ skip: element.skip,
+ stop: element.stop
+ };
+ }
+ else if (type == "radar") {
+ return {
+ x: element.x,
+ y: element.y,
+
+ angle: element.angle,
+ backgroundColor: element.options.backgroundColor,
+ borderColor: element.options.borderColor,
+ borderWidth: element.options.borderWidth,
+ hitRadius: element.options.hitRadius,
+ hoverBorderWidth: element.options.hoverBorderWidth,
+ hoverRadius: element.options.hoverRadius,
+ pointStyle: element.options.pointStyle,
+ radius: element.options.radius,
+ rotation: element.options.rotation,
+ skip: element.skip,
+ stop: element.stop
+ };
+ }
+
+ return {
+ x: element.x,
+ y: element.y,
+ backgroundColor: element.options.backgroundColor,
+ borderColor: element.options.borderColor,
+ borderWidth: element.options.borderWidth
+ };
+}
+
+export function wireEvents(dotnetAdapter, eventOptions, canvas, type, chart) {
+ if (eventOptions.hasClickEvent) {
+ canvas.onclick = function (evt) {
+ const activePoint = chart.getElementsAtEventForMode(evt, 'nearest', { intersect: true }, false);
+
+ if (activePoint && activePoint.length > 0) {
+ const datasetIndex = activePoint[0].datasetIndex;
+ const index = activePoint[0].index;
+ const model = toModel(activePoint[0].element, type);
+ model.datasetLabel = chart.data.labels[index];
+
+ dotnetAdapter.invokeMethodAsync("Event", "click", datasetIndex, index, JSON.stringify(model));
+ }
+ };
+ }
+
+ if (eventOptions.hasHoverEvent) {
+ chart.config.options.onHover = function (evt) {
+ if (evt.type === "mousemove") {
+ const activePoint = chart.getElementsAtEventForMode(evt, 'nearest', { intersect: true }, false);
+
+ if (activePoint && activePoint.length > 0) {
+ const datasetIndex = activePoint[0].datasetIndex;
+ const index = activePoint[0].index;
+ const model = toModel(activePoint[0].element, type);
+ model.datasetLabel = chart.data.labels[index];
+
+ dotnetAdapter.invokeMethodAsync("Event", "hover", datasetIndex, index, JSON.stringify(model));
+ }
+ }
+ else if (evt.type === "mouseout") {
+ dotnetAdapter.invokeMethodAsync("Event", "mouseout", -1, -1, "{}");
+ }
+ };
+ }
+}
+
+export function getChart(canvasId) {
+ let chart = null;
+
+ Chart.helpers.each(Chart.instances, function (instance) {
+ if (instance.canvas.id === canvasId) {
+ chart = instance;
+ }
+ });
+
+ return chart;
+}
diff --git a/_content/Blazorise.Charts/utilities.js b/_content/Blazorise.Charts/utilities.js
new file mode 100755
index 00000000..01ae4dcc
--- /dev/null
+++ b/_content/Blazorise.Charts/utilities.js
@@ -0,0 +1,26 @@
+export function parseFunction(str) {
+ try {
+ let fn_body_idx = str.indexOf('{'),
+ fn_body = str.substring(fn_body_idx + 1, str.lastIndexOf('}')),
+ fn_declare = str.substring(0, fn_body_idx),
+ fn_params = fn_declare.substring(fn_declare.indexOf('(') + 1, fn_declare.lastIndexOf(')')),
+ args = fn_params.split(',');
+
+ args.push(fn_body);
+
+ function Fn() {
+ return Function.apply(this, args);
+ }
+
+ Fn.prototype = Function.prototype;
+
+ return new Fn();
+ }
+ catch (error) {
+ return null;
+ }
+}
+
+export function deepClone(value) {
+ return JSON.parse(JSON.stringify(value));
+}
\ No newline at end of file
diff --git a/_content/Blazorise.DataGrid/datagrid.js b/_content/Blazorise.DataGrid/datagrid.js
new file mode 100755
index 00000000..4a8e8a0e
--- /dev/null
+++ b/_content/Blazorise.DataGrid/datagrid.js
@@ -0,0 +1,39 @@
+import { getRequiredElement } from "../Blazorise/utilities.js?v=1.3.1.0";
+
+export function initialize(element, elementId) {
+ element = getRequiredElement(element, elementId);
+
+ if (element) {
+ var headerInputs = element.querySelectorAll("thead input");
+ headerInputs.forEach(input => {
+ input.addEventListener("keypress", (e) => {
+ preventSubmitOnEnter(e);
+ });
+ });
+ }
+}
+
+export function scrollTo(table, rowUnselectedClass) {
+ let allTr = table.querySelectorAll("tbody tr");
+ let scrollTo = table.querySelector("tbody > div").offsetHeight;
+
+ for (let i = 0; i < allTr.length; i++) {
+ let tr = allTr[i];
+
+ if (tr.classList.contains(rowUnselectedClass))
+ scrollTo += tr.offsetHeight;
+ else {
+ break;
+ }
+ }
+
+ table.parentElement.scrollTop = scrollTo;
+
+ return scrollTo;
+}
+
+function preventSubmitOnEnter(e) {
+ if (e.keyCode == 13) {
+ e.preventDefault();
+ }
+}
\ No newline at end of file
diff --git a/_content/Blazorise.Snackbar/blazorise.snackbar.css b/_content/Blazorise.Snackbar/blazorise.snackbar.css
new file mode 100755
index 00000000..418326ac
--- /dev/null
+++ b/_content/Blazorise.Snackbar/blazorise.snackbar.css
@@ -0,0 +1,496 @@
+.snackbar {
+ align-items: center;
+ background-color: var(--b-snackbar-background, #323232);
+ color: var(--b-snackbar-text-color, rgb(255, 255, 255));
+ font-size: 0.875rem;
+ line-height: 1.428572;
+ opacity: 0;
+ padding: 0.875rem 1.5rem;
+ position: fixed;
+ bottom: 0;
+ left: 0;
+ transform: translateY(100%);
+ transition: opacity 0s var(--transition-duration-mobile-leaving, 0.195s), transform var(--transition-duration-mobile-leaving, 0.195s) cubic-bezier(0.4, 0, 1, 1);
+ width: 100%;
+ z-index: 60;
+}
+@media (min-width: 768px) {
+ .snackbar {
+ border-radius: 2px;
+ max-width: 35.5rem;
+ min-width: 18rem;
+ left: 50%;
+ transform: translate(-50%, 100%);
+ width: auto;
+ }
+}
+@media (min-width: 768px) {
+ .snackbar {
+ transition: opacity 0s var(--transition-duration-tablet-leaving, 0.2535s), transform var(--transition-duration-tablet-leaving, 0.2535s) cubic-bezier(0.4, 0, 1, 1);
+ }
+}
+@media (min-width: 1200px) {
+ .snackbar {
+ transition: opacity 0s var(--transition-duration-desktop-leaving, 0.13s), transform var(--transition-duration-desktop-leaving, 0.13s) cubic-bezier(0.4, 0, 1, 1);
+ }
+}
+@media screen and (prefers-reduced-motion: reduce) {
+ .snackbar {
+ transition: none;
+ }
+}
+.snackbar.snackbar-show {
+ transition-duration: var(--transition-duration-mobile-entering, 0.225s);
+ transition-property: transform;
+ transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
+ opacity: 1;
+ transform: translateY(0);
+}
+@media (min-width: 768px) {
+ .snackbar.snackbar-show {
+ transition-duration: var(--transition-duration-tablet-entering, 0.2925s);
+ }
+}
+@media (min-width: 1200px) {
+ .snackbar.snackbar-show {
+ transition-duration: var(--transition-duration-desktop-entering, 0.15s);
+ }
+}
+@media screen and (prefers-reduced-motion: reduce) {
+ .snackbar.snackbar-show {
+ transition: none;
+ }
+}
+@media (min-width: 768px) {
+ .snackbar.snackbar-show {
+ transform: translate(-50%, -1.5rem);
+ }
+}
+
+.snackbar-header {
+ display: flex;
+ -ms-flex-pack: justify;
+ justify-content: space-between;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ background-color: DARKEN(var(--b-snackbar-background, #323232), 30%);
+ margin-right: auto;
+ min-width: 0;
+ font-weight: bold;
+ padding-bottom: 0.875rem;
+}
+
+.snackbar-footer {
+ display: flex;
+ -ms-flex-pack: justify;
+ justify-content: space-between;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ background-color: DARKEN(var(--b-snackbar-background, #323232), 30%);
+ margin-right: auto;
+ min-width: 0;
+ padding-top: 0.875rem;
+}
+
+.snackbar-body {
+ display: flex;
+ -ms-flex-pack: justify;
+ justify-content: space-between;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ margin-right: auto;
+ max-height: 100%;
+ min-width: 0;
+}
+
+.snackbar-action-button {
+ transition-duration: var(--transition-duration-mobile, 0.3s);
+ transition-property: background-color, background-image;
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
+ background-color: transparent;
+ background-image: none;
+ border: 0;
+ color: var(--b-snackbar-button-color, var(--b-snackbar-button-color, #ff4081));
+ cursor: pointer;
+ display: block;
+ flex-shrink: 0;
+ font-size: inherit;
+ font-weight: 500;
+ line-height: inherit;
+ /*margin-left: $snackbar-inner-spacer-x;*/
+ padding: 0;
+ text-transform: uppercase;
+ white-space: nowrap;
+}
+@media (min-width: 768px) {
+ .snackbar-action-button {
+ transition-duration: var(--transition-duration-tablet, 0.39s);
+ }
+}
+@media (min-width: 1200px) {
+ .snackbar-action-button {
+ transition-duration: var(--transition-duration-desktop, 0.2s);
+ }
+}
+@media screen and (prefers-reduced-motion: reduce) {
+ .snackbar-action-button {
+ transition: none;
+ }
+}
+.snackbar-action-button:focus, .snackbar-action-button:hover {
+ color: var(--b-snackbar-button-hover-color, var(--b-snackbar-button-hover-color, #ff80ab));
+ text-decoration: none;
+}
+@media (min-width: 768px) {
+ .snackbar-action-button {
+ margin-left: 3rem;
+ }
+}
+.snackbar-action-button:focus {
+ outline: 0;
+}
+
+@media (min-width: 768px) {
+ .snackbar-bottom-start,
+ .snackbar-bottom-end {
+ transform: translateY(100%);
+ }
+ .snackbar-bottom-start.snackbar-show,
+ .snackbar-bottom-end.snackbar-show {
+ transform: translateY(-1.5rem);
+ }
+}
+
+@media (min-width: 768px) {
+ .snackbar-bottom-start {
+ left: 1.5rem;
+ }
+}
+
+@media (min-width: 768px) {
+ .snackbar-bottom-end {
+ right: 1.5rem;
+ left: auto;
+ }
+}
+
+.snackbar-top {
+ top: 0;
+ bottom: auto;
+ transform: translateY(-100%);
+}
+@media (min-width: 768px) {
+ .snackbar-top {
+ transform: translateX(-50%) translateY(-100%);
+ }
+ .snackbar-top.snackbar-show {
+ transform: translate(-50%, 1.5rem);
+ }
+}
+.snackbar-top-start {
+ top: 0;
+ bottom: auto;
+ transform: translateY(-100%);
+ left: 0;
+}
+@media (min-width: 768px) {
+ .snackbar-top-start {
+ transform: translateY(-100%);
+ left: 1.5rem;
+ }
+ .snackbar-top-start.snackbar-show {
+ transform: translateY(1.5rem);
+ }
+}
+.snackbar-top-end {
+ top: 0;
+ bottom: auto;
+ transform: translateY(-100%);
+}
+@media (min-width: 768px) {
+ .snackbar-top-end {
+ transform: translateY(-100%);
+ right: 1.5rem;
+ left: auto;
+ }
+ .snackbar-top-end.snackbar-show {
+ transform: translateY(1.5rem);
+ }
+}
+
+.snackbar-multi-line {
+ padding-top: 1.25rem;
+ padding-bottom: 1.25rem;
+}
+.snackbar-multi-line .snackbar-body {
+ white-space: normal;
+}
+
+.snackbar-primary {
+ background-color: var(--b-snackbar-background-primary, #cce5ff);
+ color: var(--b-snackbar-text-primary, #004085);
+}
+
+.snackbar-action-button-primary {
+ color: var(--b-snackbar-button-primary, #ff4081);
+}
+.snackbar-action-button-primary:focus, .snackbar-action-button-primary:hover {
+ color: var(--b-snackbar-button-hover-primary, #ff80ab);
+}
+
+.snackbar-secondary {
+ background-color: var(--b-snackbar-background-secondary, #e2e3e5);
+ color: var(--b-snackbar-text-secondary, #383d41);
+}
+
+.snackbar-action-button-secondary {
+ color: var(--b-snackbar-button-secondary, #ff4081);
+}
+.snackbar-action-button-secondary:focus, .snackbar-action-button-secondary:hover {
+ color: var(--b-snackbar-button-hover-secondary, #ff80ab);
+}
+
+.snackbar-success {
+ background-color: var(--b-snackbar-background-success, #d4edda);
+ color: var(--b-snackbar-text-success, #155724);
+}
+
+.snackbar-action-button-success {
+ color: var(--b-snackbar-button-success, #ff4081);
+}
+.snackbar-action-button-success:focus, .snackbar-action-button-success:hover {
+ color: var(--b-snackbar-button-hover-success, #ff80ab);
+}
+
+.snackbar-danger {
+ background-color: var(--b-snackbar-background-danger, #f8d7da);
+ color: var(--b-snackbar-text-danger, #721c24);
+}
+
+.snackbar-action-button-danger {
+ color: var(--b-snackbar-button-danger, #ff4081);
+}
+.snackbar-action-button-danger:focus, .snackbar-action-button-danger:hover {
+ color: var(--b-snackbar-button-hover-danger, #ff80ab);
+}
+
+.snackbar-warning {
+ background-color: var(--b-snackbar-background-warning, #fff3cd);
+ color: var(--b-snackbar-text-warning, #856404);
+}
+
+.snackbar-action-button-warning {
+ color: var(--b-snackbar-button-warning, #ff4081);
+}
+.snackbar-action-button-warning:focus, .snackbar-action-button-warning:hover {
+ color: var(--b-snackbar-button-hover-warning, #ff80ab);
+}
+
+.snackbar-info {
+ background-color: var(--b-snackbar-background-info, #d1ecf1);
+ color: var(--b-snackbar-text-info, #0c5460);
+}
+
+.snackbar-action-button-info {
+ color: var(--b-snackbar-button-info, #ff4081);
+}
+.snackbar-action-button-info:focus, .snackbar-action-button-info:hover {
+ color: var(--b-snackbar-button-hover-info, #ff80ab);
+}
+
+.snackbar-light {
+ background-color: var(--b-snackbar-background-light, #fefefe);
+ color: var(--b-snackbar-text-light, #818182);
+}
+
+.snackbar-action-button-light {
+ color: var(--b-snackbar-button-light, #ff4081);
+}
+.snackbar-action-button-light:focus, .snackbar-action-button-light:hover {
+ color: var(--b-snackbar-button-hover-light, #ff80ab);
+}
+
+.snackbar-dark {
+ background-color: var(--b-snackbar-background-dark, #d6d8d9);
+ color: var(--b-snackbar-text-dark, #1b1e21);
+}
+
+.snackbar-action-button-dark {
+ color: var(--b-snackbar-button-dark, #ff4081);
+}
+.snackbar-action-button-dark:focus, .snackbar-action-button-dark:hover {
+ color: var(--b-snackbar-button-hover-dark, #ff80ab);
+}
+
+.snackbar-stack-bottom-end,
+.snackbar-stack-bottom-start,
+.snackbar-stack-bottom {
+ display: flex;
+ flex-direction: column;
+ position: fixed;
+ z-index: 1090 !important;
+ bottom: 0;
+}
+
+.snackbar-stack-bottom-end .snackbar,
+.snackbar-stack-bottom-start .snackbar,
+.snackbar-stack-bottom .snackbar {
+ position: relative;
+ flex-direction: row;
+ margin-bottom: 0;
+}
+.snackbar-stack-bottom-end .snackbar:not(:last-child),
+.snackbar-stack-bottom-start .snackbar:not(:last-child),
+.snackbar-stack-bottom .snackbar:not(:last-child) {
+ margin-bottom: 1.5rem;
+}
+
+.snackbar-stack-top-end,
+.snackbar-stack-top-start,
+.snackbar-stack-top {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ align-content: center;
+ position: fixed;
+ z-index: 1090 !important;
+ top: 0;
+}
+.snackbar-stack-top-end .snackbar,
+.snackbar-stack-top-start .snackbar,
+.snackbar-stack-top .snackbar {
+ position: relative;
+ flex-direction: row;
+ margin-bottom: 0;
+}
+.snackbar-stack-top-end .snackbar.snackbar-show,
+.snackbar-stack-top-start .snackbar.snackbar-show,
+.snackbar-stack-top .snackbar.snackbar-show {
+ transform: translate(-50%);
+}
+.snackbar-stack-top-end .snackbar:not(:last-child),
+.snackbar-stack-top-start .snackbar:not(:last-child),
+.snackbar-stack-top .snackbar:not(:last-child) {
+ margin-bottom: 1.5rem;
+}
+
+.snackbar-stack-top .snackbar.snackbar-show,
+.snackbar-stack-top-start .snackbar.snackbar-show,
+.snackbar-stack-top-end .snackbar.snackbar-show {
+ transition: all var(--stack-transition-duration, 1000);
+ animation: showTop var(--stack-animation-duration, 500) forwards;
+ opacity: 1;
+}
+
+.snackbar-stack-top .snackbar-hide,
+.snackbar-stack-top-start .snackbar-hide,
+.snackbar-stack-top-end .snackbar-hide {
+ transition: all var(--stack-transition-duration, 1000);
+ animation: hideTop var(--stack-animation-duration, 500) forwards;
+ opacity: 0;
+}
+
+.snackbar-stack-bottom .snackbar.snackbar-show,
+.snackbar-stack-bottom-start .snackbar.snackbar-show,
+.snackbar-stack-bottom-end .snackbar.snackbar-show {
+ transition: all var(--stack-transition-duration, 1000);
+ animation: showBottom var(--stack-animation-duration, 500) forwards;
+ opacity: 1;
+}
+
+.snackbar-stack-bottom .snackbar-hide,
+.snackbar-stack-bottom-start .snackbar-hide,
+.snackbar-stack-bottom-end .snackbar-hide {
+ transition: all var(--stack-transition-duration, 1000);
+ animation: hideBottom var(--stack-animation-duration, 500) forwards;
+ opacity: 0;
+}
+
+@keyframes showTop {
+ 0% {
+ max-height: 0;
+ padding: 0;
+ transform: translate(-50%) translateY(-50px);
+ opacity: 0;
+ }
+ 100% {
+ max-height: 150px;
+ padding: 0.5rem 1rem;
+ transform: translate(-50%) translateY(0);
+ opacity: 1;
+ }
+}
+@keyframes hideTop {
+ 0% {
+ max-height: 150px;
+ padding: 0.5rem 1rem;
+ transform: translate(-50%) translateY(0);
+ opacity: 1;
+ }
+ 100% {
+ max-height: 0;
+ padding: 0;
+ transform: translate(-50%) translateY(-50px);
+ opacity: 0;
+ }
+}
+@keyframes showBottom {
+ 0% {
+ max-height: 0;
+ padding: 0;
+ opacity: 0;
+ transform: translate(-50%) translateY(50px);
+ }
+ 100% {
+ max-height: 150px;
+ padding: 0.5rem 1rem;
+ opacity: 1;
+ transform: translate(-50%) translateY(0);
+ }
+}
+@keyframes hideBottom {
+ 0% {
+ max-height: 150px;
+ transform: translate(-50%) translateY(0);
+ padding: 0.5rem 1rem;
+ opacity: 1;
+ }
+ 100% {
+ max-height: 0;
+ padding: 0;
+ transform: translate(-50%) translateY(50px);
+ opacity: 0;
+ }
+}
+@media (min-width: 576px) {
+ .snackbar-stack-bottom {
+ left: 50%;
+ transform: translate(-50%, 0%);
+ bottom: 1.5rem;
+ }
+ .snackbar-stack-bottom-start {
+ left: 1.5rem;
+ bottom: 1.5rem;
+ }
+ .snackbar-stack-bottom-end {
+ right: 1.5rem;
+ bottom: 1.5rem;
+ }
+ .snackbar-stack-top-start {
+ left: 1.5rem;
+ top: 1.5rem;
+ }
+ .snackbar-stack-top-end {
+ right: 1.5rem;
+ top: 1.5rem;
+ }
+ .snackbar-stack-top {
+ left: 50%;
+ transform: translate(-50%, 0%);
+ top: 1.5rem;
+ }
+}
diff --git a/_content/Blazorise.Snackbar/blazorise.snackbar.min.css b/_content/Blazorise.Snackbar/blazorise.snackbar.min.css
new file mode 100755
index 00000000..5c746a18
--- /dev/null
+++ b/_content/Blazorise.Snackbar/blazorise.snackbar.min.css
@@ -0,0 +1 @@
+.snackbar{align-items:center;background-color:var(--b-snackbar-background,#323232);color:var(--b-snackbar-text-color,#fff);font-size:.875rem;line-height:1.428572;opacity:0;padding:.875rem 1.5rem;position:fixed;bottom:0;left:0;transform:translateY(100%);transition:opacity 0s var(--transition-duration-mobile-leaving,.195s),transform var(--transition-duration-mobile-leaving,.195s) cubic-bezier(.4,0,1,1);width:100%;z-index:60;}@media(min-width:768px){.snackbar{border-radius:2px;max-width:35.5rem;min-width:18rem;left:50%;transform:translate(-50%,100%);width:auto;}}@media(min-width:768px){.snackbar{transition:opacity 0s var(--transition-duration-tablet-leaving,.2535s),transform var(--transition-duration-tablet-leaving,.2535s) cubic-bezier(.4,0,1,1);}}@media(min-width:1200px){.snackbar{transition:opacity 0s var(--transition-duration-desktop-leaving,.13s),transform var(--transition-duration-desktop-leaving,.13s) cubic-bezier(.4,0,1,1);}}@media screen and (prefers-reduced-motion:reduce){.snackbar{transition:none;}}.snackbar.snackbar-show{transition-duration:var(--transition-duration-mobile-entering,.225s);transition-property:transform;transition-timing-function:cubic-bezier(0,0,.2,1);opacity:1;transform:translateY(0);}@media(min-width:768px){.snackbar.snackbar-show{transition-duration:var(--transition-duration-tablet-entering,.2925s);}}@media(min-width:1200px){.snackbar.snackbar-show{transition-duration:var(--transition-duration-desktop-entering,.15s);}}@media screen and (prefers-reduced-motion:reduce){.snackbar.snackbar-show{transition:none;}}@media(min-width:768px){.snackbar.snackbar-show{transform:translate(-50%,-1.5rem);}}.snackbar-header{display:flex;-ms-flex-pack:justify;justify-content:space-between;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background-color:DARKEN(var(--b-snackbar-background,#323232),30%);margin-right:auto;min-width:0;font-weight:bold;padding-bottom:.875rem;}.snackbar-footer{display:flex;-ms-flex-pack:justify;justify-content:space-between;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background-color:DARKEN(var(--b-snackbar-background,#323232),30%);margin-right:auto;min-width:0;padding-top:.875rem;}.snackbar-body{display:flex;-ms-flex-pack:justify;justify-content:space-between;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-right:auto;max-height:100%;min-width:0;}.snackbar-action-button{transition-duration:var(--transition-duration-mobile,.3s);transition-property:background-color,background-image;transition-timing-function:cubic-bezier(.4,0,.2,1);background-color:transparent;background-image:none;border:0;color:var(--b-snackbar-button-color,var(--b-snackbar-button-color,#ff4081));cursor:pointer;display:block;flex-shrink:0;font-size:inherit;font-weight:500;line-height:inherit;padding:0;text-transform:uppercase;white-space:nowrap;}@media(min-width:768px){.snackbar-action-button{transition-duration:var(--transition-duration-tablet,.39s);}}@media(min-width:1200px){.snackbar-action-button{transition-duration:var(--transition-duration-desktop,.2s);}}@media screen and (prefers-reduced-motion:reduce){.snackbar-action-button{transition:none;}}.snackbar-action-button:focus,.snackbar-action-button:hover{color:var(--b-snackbar-button-hover-color,var(--b-snackbar-button-hover-color,#ff80ab));text-decoration:none;}@media(min-width:768px){.snackbar-action-button{margin-left:3rem;}}.snackbar-action-button:focus{outline:0;}@media(min-width:768px){.snackbar-bottom-start,.snackbar-bottom-end{transform:translateY(100%);}.snackbar-bottom-start.snackbar-show,.snackbar-bottom-end.snackbar-show{transform:translateY(-1.5rem);}}@media(min-width:768px){.snackbar-bottom-start{left:1.5rem;}}@media(min-width:768px){.snackbar-bottom-end{right:1.5rem;left:auto;}}.snackbar-top{top:0;bottom:auto;transform:translateY(-100%);}@media(min-width:768px){.snackbar-top{transform:translateX(-50%) translateY(-100%);}.snackbar-top.snackbar-show{transform:translate(-50%,1.5rem);}}.snackbar-top-start{top:0;bottom:auto;transform:translateY(-100%);left:0;}@media(min-width:768px){.snackbar-top-start{transform:translateY(-100%);left:1.5rem;}.snackbar-top-start.snackbar-show{transform:translateY(1.5rem);}}.snackbar-top-end{top:0;bottom:auto;transform:translateY(-100%);}@media(min-width:768px){.snackbar-top-end{transform:translateY(-100%);right:1.5rem;left:auto;}.snackbar-top-end.snackbar-show{transform:translateY(1.5rem);}}.snackbar-multi-line{padding-top:1.25rem;padding-bottom:1.25rem;}.snackbar-multi-line .snackbar-body{white-space:normal;}.snackbar-primary{background-color:var(--b-snackbar-background-primary,#cce5ff);color:var(--b-snackbar-text-primary,#004085);}.snackbar-action-button-primary{color:var(--b-snackbar-button-primary,#ff4081);}.snackbar-action-button-primary:focus,.snackbar-action-button-primary:hover{color:var(--b-snackbar-button-hover-primary,#ff80ab);}.snackbar-secondary{background-color:var(--b-snackbar-background-secondary,#e2e3e5);color:var(--b-snackbar-text-secondary,#383d41);}.snackbar-action-button-secondary{color:var(--b-snackbar-button-secondary,#ff4081);}.snackbar-action-button-secondary:focus,.snackbar-action-button-secondary:hover{color:var(--b-snackbar-button-hover-secondary,#ff80ab);}.snackbar-success{background-color:var(--b-snackbar-background-success,#d4edda);color:var(--b-snackbar-text-success,#155724);}.snackbar-action-button-success{color:var(--b-snackbar-button-success,#ff4081);}.snackbar-action-button-success:focus,.snackbar-action-button-success:hover{color:var(--b-snackbar-button-hover-success,#ff80ab);}.snackbar-danger{background-color:var(--b-snackbar-background-danger,#f8d7da);color:var(--b-snackbar-text-danger,#721c24);}.snackbar-action-button-danger{color:var(--b-snackbar-button-danger,#ff4081);}.snackbar-action-button-danger:focus,.snackbar-action-button-danger:hover{color:var(--b-snackbar-button-hover-danger,#ff80ab);}.snackbar-warning{background-color:var(--b-snackbar-background-warning,#fff3cd);color:var(--b-snackbar-text-warning,#856404);}.snackbar-action-button-warning{color:var(--b-snackbar-button-warning,#ff4081);}.snackbar-action-button-warning:focus,.snackbar-action-button-warning:hover{color:var(--b-snackbar-button-hover-warning,#ff80ab);}.snackbar-info{background-color:var(--b-snackbar-background-info,#d1ecf1);color:var(--b-snackbar-text-info,#0c5460);}.snackbar-action-button-info{color:var(--b-snackbar-button-info,#ff4081);}.snackbar-action-button-info:focus,.snackbar-action-button-info:hover{color:var(--b-snackbar-button-hover-info,#ff80ab);}.snackbar-light{background-color:var(--b-snackbar-background-light,#fefefe);color:var(--b-snackbar-text-light,#818182);}.snackbar-action-button-light{color:var(--b-snackbar-button-light,#ff4081);}.snackbar-action-button-light:focus,.snackbar-action-button-light:hover{color:var(--b-snackbar-button-hover-light,#ff80ab);}.snackbar-dark{background-color:var(--b-snackbar-background-dark,#d6d8d9);color:var(--b-snackbar-text-dark,#1b1e21);}.snackbar-action-button-dark{color:var(--b-snackbar-button-dark,#ff4081);}.snackbar-action-button-dark:focus,.snackbar-action-button-dark:hover{color:var(--b-snackbar-button-hover-dark,#ff80ab);}.snackbar-stack-bottom-end,.snackbar-stack-bottom-start,.snackbar-stack-bottom{display:flex;flex-direction:column;position:fixed;z-index:1090!important;bottom:0;}.snackbar-stack-bottom-end .snackbar,.snackbar-stack-bottom-start .snackbar,.snackbar-stack-bottom .snackbar{position:relative;flex-direction:row;margin-bottom:0;}.snackbar-stack-bottom-end .snackbar:not(:last-child),.snackbar-stack-bottom-start .snackbar:not(:last-child),.snackbar-stack-bottom .snackbar:not(:last-child){margin-bottom:1.5rem;}.snackbar-stack-top-end,.snackbar-stack-top-start,.snackbar-stack-top{display:flex;flex-direction:column;align-items:center;justify-content:center;align-content:center;position:fixed;z-index:1090!important;top:0;}.snackbar-stack-top-end .snackbar,.snackbar-stack-top-start .snackbar,.snackbar-stack-top .snackbar{position:relative;flex-direction:row;margin-bottom:0;}.snackbar-stack-top-end .snackbar.snackbar-show,.snackbar-stack-top-start .snackbar.snackbar-show,.snackbar-stack-top .snackbar.snackbar-show{transform:translate(-50%);}.snackbar-stack-top-end .snackbar:not(:last-child),.snackbar-stack-top-start .snackbar:not(:last-child),.snackbar-stack-top .snackbar:not(:last-child){margin-bottom:1.5rem;}.snackbar-stack-top .snackbar.snackbar-show,.snackbar-stack-top-start .snackbar.snackbar-show,.snackbar-stack-top-end .snackbar.snackbar-show{transition:all var(--stack-transition-duration,1000);animation:showTop var(--stack-animation-duration,500) forwards;opacity:1;}.snackbar-stack-top .snackbar-hide,.snackbar-stack-top-start .snackbar-hide,.snackbar-stack-top-end .snackbar-hide{transition:all var(--stack-transition-duration,1000);animation:hideTop var(--stack-animation-duration,500) forwards;opacity:0;}.snackbar-stack-bottom .snackbar.snackbar-show,.snackbar-stack-bottom-start .snackbar.snackbar-show,.snackbar-stack-bottom-end .snackbar.snackbar-show{transition:all var(--stack-transition-duration,1000);animation:showBottom var(--stack-animation-duration,500) forwards;opacity:1;}.snackbar-stack-bottom .snackbar-hide,.snackbar-stack-bottom-start .snackbar-hide,.snackbar-stack-bottom-end .snackbar-hide{transition:all var(--stack-transition-duration,1000);animation:hideBottom var(--stack-animation-duration,500) forwards;opacity:0;}@keyframes showTop{0%{max-height:0;padding:0;transform:translate(-50%) translateY(-50px);opacity:0;}100%{max-height:150px;padding:.5rem 1rem;transform:translate(-50%) translateY(0);opacity:1;}}@keyframes hideTop{0%{max-height:150px;padding:.5rem 1rem;transform:translate(-50%) translateY(0);opacity:1;}100%{max-height:0;padding:0;transform:translate(-50%) translateY(-50px);opacity:0;}}@keyframes showBottom{0%{max-height:0;padding:0;opacity:0;transform:translate(-50%) translateY(50px);}100%{max-height:150px;padding:.5rem 1rem;opacity:1;transform:translate(-50%) translateY(0);}}@keyframes hideBottom{0%{max-height:150px;transform:translate(-50%) translateY(0);padding:.5rem 1rem;opacity:1;}100%{max-height:0;padding:0;transform:translate(-50%) translateY(50px);opacity:0;}}@media(min-width:576px){.snackbar-stack-bottom{left:50%;transform:translate(-50%,0%);bottom:1.5rem;}.snackbar-stack-bottom-start{left:1.5rem;bottom:1.5rem;}.snackbar-stack-bottom-end{right:1.5rem;bottom:1.5rem;}.snackbar-stack-top-start{left:1.5rem;top:1.5rem;}.snackbar-stack-top-end{right:1.5rem;top:1.5rem;}.snackbar-stack-top{left:50%;transform:translate(-50%,0%);top:1.5rem;}}
\ No newline at end of file
diff --git a/_content/Blazorise.TreeView/blazorise.treeview.css b/_content/Blazorise.TreeView/blazorise.treeview.css
new file mode 100755
index 00000000..cfeff4a7
--- /dev/null
+++ b/_content/Blazorise.TreeView/blazorise.treeview.css
@@ -0,0 +1,31 @@
+.b-tree-view .b-tree-view-node {
+ margin-left: 1.25rem;
+}
+.b-tree-view .b-tree-view-node.b-tree-view-node-collapsed {
+ display: none;
+}
+.b-tree-view .b-tree-view-node .b-tree-view-node-icon {
+ float: left;
+}
+.b-tree-view .b-tree-view-node .b-tree-view-node-title {
+ margin-left: 1.25rem;
+}
+.b-tree-view .b-tree-view-node .b-tree-view-node-title > .b-tree-view-node-check {
+ display: inline-block;
+}
+.b-tree-view .b-tree-view-node .b-tree-view-node-title > .b-tree-view-node-check > input.is-checkradio + label {
+ padding-left: 1rem;
+}
+.b-tree-view .b-tree-view-node .b-tree-view-node-title > .b-tree-view-node-check > div.inline-flex.mr-4 {
+ margin-right: 0.25rem;
+}
+.b-tree-view .b-tree-view-node .b-tree-view-node-title > .b-tree-view-node-check > .custom-control.custom-checkbox {
+ padding-left: 1.5rem;
+}
+.b-tree-view .b-tree-view-node .b-tree-view-node-title > .b-tree-view-node-check > label.ant-checkbox-wrapper > span:last-child {
+ padding-right: 0;
+ padding-left: 0;
+}
+.b-tree-view .b-tree-view-node .b-tree-view-node .cursor-pointer {
+ cursor: pointer;
+}
diff --git a/_content/Blazorise.TreeView/blazorise.treeview.min.css b/_content/Blazorise.TreeView/blazorise.treeview.min.css
new file mode 100755
index 00000000..85ad904f
--- /dev/null
+++ b/_content/Blazorise.TreeView/blazorise.treeview.min.css
@@ -0,0 +1 @@
+.b-tree-view .b-tree-view-node{margin-left:1.25rem;}.b-tree-view .b-tree-view-node.b-tree-view-node-collapsed{display:none;}.b-tree-view .b-tree-view-node .b-tree-view-node-icon{float:left;}.b-tree-view .b-tree-view-node .b-tree-view-node-title{margin-left:1.25rem;}.b-tree-view .b-tree-view-node .b-tree-view-node-title>.b-tree-view-node-check{display:inline-block;}.b-tree-view .b-tree-view-node .b-tree-view-node-title>.b-tree-view-node-check>input.is-checkradio+label{padding-left:1rem;}.b-tree-view .b-tree-view-node .b-tree-view-node-title>.b-tree-view-node-check>div.inline-flex.mr-4{margin-right:.25rem;}.b-tree-view .b-tree-view-node .b-tree-view-node-title>.b-tree-view-node-check>.custom-control.custom-checkbox{padding-left:1.5rem;}.b-tree-view .b-tree-view-node .b-tree-view-node-title>.b-tree-view-node-check>label.ant-checkbox-wrapper>span:last-child{padding-right:0;padding-left:0;}.b-tree-view .b-tree-view-node .b-tree-view-node .cursor-pointer{cursor:pointer;}
\ No newline at end of file
diff --git a/_content/Blazorise/blazorise.css b/_content/Blazorise/blazorise.css
new file mode 100755
index 00000000..69f35a50
--- /dev/null
+++ b/_content/Blazorise/blazorise.css
@@ -0,0 +1,2453 @@
+body:before {
+ content: "mobile";
+ display: none;
+ visibility: hidden;
+}
+
+@media (min-width: 768px) {
+ body:before {
+ content: "tablet";
+ }
+}
+@media (min-width: 992px) {
+ body:before {
+ content: "desktop";
+ }
+}
+@media (min-width: 1200px) {
+ body:before {
+ content: "widescreen";
+ }
+}
+@media (min-width: 1400px) {
+ body:before {
+ content: "fullhd";
+ }
+}
+hr.divider.divider-solid {
+ border-top: var(--b-divider-thickness, 1px) solid var(--b-divider-color, #999);
+}
+hr.divider.divider-dashed {
+ border-top: var(--b-divider-thickness, 1px) dashed var(--b-divider-color, #999);
+}
+hr.divider.divider-dotted {
+ border-top: var(--b-divider-thickness, 1px) dotted var(--b-divider-color, #999);
+}
+hr.divider.divider-text {
+ position: relative;
+ border: none;
+ height: var(--b-divider-thickness, 1px);
+ background: var(--b-divider-color, #999);
+}
+hr.divider.divider-text::before {
+ content: attr(data-content);
+ display: inline-block;
+ background: #fff;
+ font-weight: bold;
+ font-size: var(--b-divider-font-size, 0.85rem);
+ color: var(--b-divider-color, #999);
+ border-radius: 30rem;
+ padding: 0.2rem 2rem;
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ transform: translate(-50%, -50%);
+}
+
+.b-drop-zone {
+ position: relative;
+ transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
+}
+.b-drop-zone.b-drop-zone-drag-block > * {
+ pointer-events: none;
+}
+.b-drop-zone.b-drop-zone-drop-allowed {
+ outline: 1px solid var(--b-theme-success, "#00FF00") !important;
+}
+.b-drop-zone.b-drop-zone-drop-not-allowed {
+ outline: 1px solid var(--b-theme-danger, "#FF0000") !important;
+}
+.b-drop-zone-draggable:not(.draggable-preview-start) {
+ cursor: grab;
+ user-select: none;
+}
+.b-drop-zone-draggable:not(.draggable-preview-start):active {
+ cursor: grabbing;
+}
+.b-drop-zone .draggable-placeholder {
+ outline: 2px dashed var(--b-theme-primary, "#0000FF") !important;
+ padding: 1rem;
+}
+.b-drop-zone .draggable-preview-start {
+ height: 20px;
+ width: 100%;
+ position: absolute;
+ top: 0;
+ left: 0;
+ z-index: 1;
+}
+
+.b-file-picker {
+ display: inline-block;
+ width: 100%;
+ /*.dropdown {
+ .custom-file {
+ width: auto;
+
+ .custom-file-label {
+ border: 0;
+ }
+ }
+
+ .b-file-picker-files {
+ width: 100%;
+ }
+
+ .b-file-picker-file {
+ margin-right: 1.5rem;
+ }
+ }*/
+}
+.b-file-picker .b-text-drop {
+ border: 1px solid rgba(0, 0, 0, 0.15);
+ margin-top: 0.5rem;
+ display: block;
+ text-align: center;
+ font-size: 0.75rem;
+ padding-top: 0.25rem;
+ padding-bottom: 0.25rem;
+}
+.b-file-picker .b-file-picker-file {
+ min-width: 25rem;
+}
+.b-file-picker .b-file-picker-file span {
+ display: block;
+}
+.b-file-picker .b-file-picker-file .b-file-picker-file-size, .b-file-picker .b-file-picker-file .b-file-picker-file-status, .b-file-picker .b-file-picker-file .b-file-picker-file-relativepath {
+ font-size: 0.75rem;
+}
+
+.b-input-color-picker {
+ padding: 0.6rem;
+}
+.b-input-color-picker > .b-input-color-picker-preview {
+ position: relative;
+ z-index: 1;
+ width: 100%;
+ height: 100%;
+ display: flex;
+ flex-direction: row;
+ justify-content: space-between;
+ /*margin-bottom: 0.5em;*/
+}
+.b-input-color-picker > .b-input-color-picker-preview::before {
+ position: absolute;
+ content: "";
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ background: url('data:image/svg+xml;utf8, ');
+ background-size: 0.5em;
+ border-radius: 0.15em;
+ z-index: -1;
+}
+.b-input-color-picker > .b-input-color-picker-preview > .b-input-color-picker-curent-color {
+ display: inline-block;
+ width: 100%;
+ height: 100%;
+}
+.b-input-color-picker[aria-disabled=true] {
+ opacity: 0.65;
+}
+
+.progress.progress-xs {
+ height: 0.25rem;
+}
+.progress.progress-sm {
+ height: 0.5rem;
+}
+.progress.progress-md {
+ height: 1rem;
+}
+.progress.progress-lg {
+ height: 1.5rem;
+}
+.progress.progress-xl {
+ height: 2rem;
+}
+
+.b-page-progress {
+ width: 100%;
+ height: 4px;
+ z-index: 9999;
+ top: 0;
+ left: 0;
+ position: fixed;
+ display: none;
+}
+.b-page-progress .b-page-progress-indicator {
+ width: 0;
+ height: 100%;
+ transition: height 0.3s;
+ background-color: #000;
+ transition: width 1s;
+}
+.b-page-progress .b-page-progress-indicator.b-page-progress-indicator-indeterminate {
+ width: 30%;
+ animation: running-page-progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
+}
+.b-page-progress.b-page-progress-active {
+ display: block;
+}
+
+@keyframes running-page-progress {
+ 0% {
+ margin-left: 0px;
+ margin-right: 100%;
+ }
+ 50% {
+ margin-left: 25%;
+ margin-right: 0%;
+ }
+ 100% {
+ margin-left: 100%;
+ margin-right: 0;
+ }
+}
+.tippy-box[data-animation=scale][data-placement^=top] {
+ transform-origin: bottom;
+}
+
+.tippy-box[data-animation=scale][data-placement^=bottom] {
+ transform-origin: top;
+}
+
+.tippy-box[data-animation=scale][data-placement^=left] {
+ transform-origin: right;
+}
+
+.tippy-box[data-animation=scale][data-placement^=right] {
+ transform-origin: left;
+}
+
+.tippy-box[data-animation=scale][data-state=hidden] {
+ transform: scale(0.5);
+ opacity: 0;
+}
+
+.tippy-box[data-theme~=blazorise] {
+ background-color: RGBA( var(--b-tooltip-background-color-r, 128), var(--b-tooltip-background-color-g, 128), var(--b-tooltip-background-color-b, 128), var(--b-tooltip-background-opacity, 0.9) );
+ color: var(--b-tooltip-color, #ffffff);
+}
+
+.tippy-box[data-theme~=blazorise][data-placement^=top] > .tippy-arrow::before {
+ border-top-color: RGBA( var(--b-tooltip-background-color-r, 128), var(--b-tooltip-background-color-g, 128), var(--b-tooltip-background-color-b, 128), var(--b-tooltip-background-opacity, 0.9) );
+}
+
+.tippy-box[data-theme~=blazorise][data-placement^=bottom] > .tippy-arrow::before {
+ border-bottom-color: RGBA( var(--b-tooltip-background-color-r, 128), var(--b-tooltip-background-color-g, 128), var(--b-tooltip-background-color-b, 128), var(--b-tooltip-background-opacity, 0.9) );
+}
+
+.tippy-box[data-theme~=blazorise][data-placement^=left] > .tippy-arrow::before {
+ border-left-color: RGBA( var(--b-tooltip-background-color-r, 128), var(--b-tooltip-background-color-g, 128), var(--b-tooltip-background-color-b, 128), var(--b-tooltip-background-opacity, 0.9) );
+}
+
+.tippy-box[data-theme~=blazorise][data-placement^=right] > .tippy-arrow::before {
+ border-right-color: RGBA( var(--b-tooltip-background-color-r, 128), var(--b-tooltip-background-color-g, 128), var(--b-tooltip-background-color-b, 128), var(--b-tooltip-background-opacity, 0.9) );
+}
+
+.tippy-box[data-theme~=blazorise] > .tippy-svg-arrow {
+ fill: RGBA( var(--b-tooltip-background-color-r, 128), var(--b-tooltip-background-color-g, 128), var(--b-tooltip-background-color-b, 128), var(--b-tooltip-background-opacity, 0.9) );
+}
+
+.b-tooltip-inline {
+ display: inline-block;
+}
+
+.b-layout {
+ display: flex;
+ flex: auto;
+ flex-direction: column;
+}
+.b-layout.b-layout-root {
+ height: 100vh;
+}
+
+.b-layout,
+.b-layout * {
+ box-sizing: border-box;
+}
+
+@keyframes spinner {
+ 0% {
+ transform: translate3d(-50%, -50%, 0) rotate(0deg);
+ }
+ 100% {
+ transform: translate3d(-50%, -50%, 0) rotate(360deg);
+ }
+}
+.b-layout > .b-layout-loading {
+ z-index: 9999;
+ position: fixed;
+ width: 100%;
+ height: 100%;
+ background: rgba(0, 0, 0, 0.3);
+}
+.b-layout > .b-layout-loading:before {
+ animation: 1s linear infinite spinner;
+ border: solid 3px #eee;
+ border-bottom-color: var(--b-theme-primary);
+ border-radius: 50%;
+ height: 40px;
+ left: 50%;
+ position: absolute;
+ top: 50%;
+ transform: translate3d(-50%, -50%, 0);
+ width: 40px;
+ content: " ";
+}
+.b-layout.b-layout-has-sider {
+ flex-direction: row;
+ min-height: 0;
+}
+.b-layout.b-layout-has-sider .b-layout {
+ overflow-x: hidden;
+}
+
+.b-layout-header,
+.b-layout-footer {
+ flex: 0 0 auto;
+}
+
+.b-layout-header {
+ color: rgba(0, 0, 0, 0.65);
+}
+
+.b-layout.b-layout-root.b-layout-has-sider > .b-layout-header-fixed,
+.b-layout.b-layout-root.b-layout-has-sider > .b-layout > .b-layout-header-fixed {
+ position: sticky;
+ top: 0;
+ width: 100%;
+ flex: 0;
+}
+
+.b-layout.b-layout-root:not(.b-layout-has-sider) .b-layout-header-fixed,
+.b-layout.b-layout-root:not(.b-layout-has-sider) > .b-layout .b-layout-header-fixed {
+ position: fixed;
+ top: 0;
+ left: 0;
+ right: 0;
+ flex: 0;
+}
+.b-layout.b-layout-root:not(.b-layout-has-sider) .b-layout-header-fixed + .b-layout-content,
+.b-layout.b-layout-root:not(.b-layout-has-sider) > .b-layout .b-layout-header-fixed + .b-layout-content {
+ margin-top: var(--b-bar-horizontal-height, auto);
+}
+
+.b-layout.b-layout-root > .b-layout-header.b-layout-header-fixed + .b-layout.b-layout-has-sider {
+ margin-top: var(--b-bar-horizontal-height, auto);
+}
+
+.b-layout-footer {
+ color: rgba(0, 0, 0, 0.65);
+}
+.b-layout-footer-fixed {
+ position: sticky;
+ z-index: 1;
+ bottom: 0;
+ flex: 0;
+}
+
+.b-layout-content {
+ flex: 1;
+}
+
+.b-layout-sider {
+ display: flex;
+ position: relative;
+ background: #001529;
+}
+
+.b-layout-sider-content {
+ position: sticky;
+ top: 0;
+ z-index: 2;
+}
+
+.b-layout-header .navbar {
+ line-height: inherit;
+}
+
+.b-bar-horizontal[data-collapse=hide] {
+ flex-wrap: nowrap;
+}
+.b-bar-horizontal[data-collapse=hide][data-broken=true] {
+ height: auto;
+}
+.b-bar-horizontal[data-broken=false] {
+ height: auto;
+}
+
+.b-layout > .b-layout-header .b-bar-horizontal[data-collapse=hide][data-broken=true] {
+ height: var(--b-bar-horizontal-height, auto);
+}
+.b-layout > .b-layout-header .b-bar-horizontal[data-broken=false] {
+ height: var(--b-bar-horizontal-height, auto);
+}
+
+.b-bar-initial {
+ display: none !important;
+}
+
+.b-bar-vertical-inline,
+.b-bar-vertical-popout,
+.b-bar-vertical-small {
+ display: flex;
+ flex-direction: column;
+ flex-wrap: nowrap;
+ position: sticky;
+ top: 0;
+ padding: 0;
+ min-width: var(--b-vertical-bar-width, 230px);
+ max-width: var(--b-vertical-bar-width, 230px);
+ width: var(--b-vertical-bar-width, 230px);
+ box-shadow: 2px 0 6px rgba(0, 21, 41, 0.35);
+ height: 100%;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+ /*
+ Theming
+ */
+}
+.b-bar-vertical-inline:not(.b-bar-initial),
+.b-bar-vertical-popout:not(.b-bar-initial),
+.b-bar-vertical-small:not(.b-bar-initial) {
+ transition: width 200ms ease-in-out, min-width 200ms ease-in-out;
+}
+.b-bar-vertical-inline .b-bar-menu,
+.b-bar-vertical-popout .b-bar-menu,
+.b-bar-vertical-small .b-bar-menu {
+ width: 100%;
+ display: flex;
+ flex: 1;
+ justify-content: space-between;
+ flex-direction: column;
+ align-self: stretch;
+}
+.b-bar-vertical-inline .b-bar-brand,
+.b-bar-vertical-popout .b-bar-brand,
+.b-bar-vertical-small .b-bar-brand {
+ width: 100%;
+ display: flex;
+ height: var(--b-vertical-bar-brand-height, 64px);
+ min-height: var(--b-vertical-bar-brand-height, 64px);
+}
+.b-bar-vertical-inline .b-bar-toggler-inline,
+.b-bar-vertical-popout .b-bar-toggler-inline,
+.b-bar-vertical-small .b-bar-toggler-inline {
+ height: var(--b-vertical-bar-brand-height, 64px);
+ padding: 12px;
+ display: inline-flex;
+ cursor: pointer;
+ position: absolute;
+ right: 0;
+}
+.b-bar-vertical-inline .b-bar-toggler-inline > *,
+.b-bar-vertical-popout .b-bar-toggler-inline > *,
+.b-bar-vertical-small .b-bar-toggler-inline > * {
+ margin: auto;
+}
+.b-bar-vertical-inline .b-bar-toggler-popout:not(.b-bar-mobile-toggle),
+.b-bar-vertical-popout .b-bar-toggler-popout:not(.b-bar-mobile-toggle),
+.b-bar-vertical-small .b-bar-toggler-popout:not(.b-bar-mobile-toggle) {
+ display: flex;
+ position: fixed;
+ left: var(--b-vertical-bar-width, 230px);
+ border-radius: 0px 10px 10px 0px;
+ border: 0px;
+ width: 10px;
+ height: 40px;
+ padding: 5px;
+ align-items: center;
+ box-shadow: 2px 0 6px rgba(0, 21, 41, 0.35);
+ cursor: pointer;
+}
+.b-bar-vertical-inline .b-bar-toggler-popout:not(.b-bar-mobile-toggle):not(.b-bar-initial),
+.b-bar-vertical-popout .b-bar-toggler-popout:not(.b-bar-mobile-toggle):not(.b-bar-initial),
+.b-bar-vertical-small .b-bar-toggler-popout:not(.b-bar-mobile-toggle):not(.b-bar-initial) {
+ transition: width 200ms ease-in-out, left 200ms ease-in-out;
+}
+.b-bar-vertical-inline .b-bar-toggler-popout:not(.b-bar-mobile-toggle) > *,
+.b-bar-vertical-popout .b-bar-toggler-popout:not(.b-bar-mobile-toggle) > *,
+.b-bar-vertical-small .b-bar-toggler-popout:not(.b-bar-mobile-toggle) > * {
+ margin: auto;
+ display: none;
+}
+.b-bar-vertical-inline .b-bar-toggler-popout:not(.b-bar-mobile-toggle):hover,
+.b-bar-vertical-popout .b-bar-toggler-popout:not(.b-bar-mobile-toggle):hover,
+.b-bar-vertical-small .b-bar-toggler-popout:not(.b-bar-mobile-toggle):hover {
+ width: 45px;
+}
+.b-bar-vertical-inline .b-bar-toggler-popout:not(.b-bar-mobile-toggle):hover > *,
+.b-bar-vertical-popout .b-bar-toggler-popout:not(.b-bar-mobile-toggle):hover > *,
+.b-bar-vertical-small .b-bar-toggler-popout:not(.b-bar-mobile-toggle):hover > * {
+ display: block;
+}
+.b-bar-vertical-inline .b-bar-item,
+.b-bar-vertical-popout .b-bar-item,
+.b-bar-vertical-small .b-bar-item {
+ margin: auto;
+ flex-grow: 1;
+ min-height: 40px;
+}
+.b-bar-vertical-inline .b-bar-item .b-bar-icon,
+.b-bar-vertical-popout .b-bar-item .b-bar-icon,
+.b-bar-vertical-small .b-bar-item .b-bar-icon {
+ font-size: 1.25rem;
+ vertical-align: middle;
+ margin: 3px;
+ display: inline-block;
+}
+.b-bar-vertical-inline .b-bar-start,
+.b-bar-vertical-popout .b-bar-start,
+.b-bar-vertical-small .b-bar-start {
+ width: 100%;
+ display: block;
+}
+.b-bar-vertical-inline .b-bar-end,
+.b-bar-vertical-popout .b-bar-end,
+.b-bar-vertical-small .b-bar-end {
+ padding-bottom: 1rem;
+ width: 100%;
+ padding-top: 1rem;
+ display: block;
+}
+.b-bar-vertical-inline .b-bar-end .b-bar-dropdown,
+.b-bar-vertical-popout .b-bar-end .b-bar-dropdown,
+.b-bar-vertical-small .b-bar-end .b-bar-dropdown {
+ position: relative;
+}
+.b-bar-vertical-inline .b-bar-end .b-bar-dropdown-menu-container,
+.b-bar-vertical-popout .b-bar-end .b-bar-dropdown-menu-container,
+.b-bar-vertical-small .b-bar-end .b-bar-dropdown-menu-container {
+ bottom: 0;
+}
+.b-bar-vertical-inline .b-bar-link,
+.b-bar-vertical-popout .b-bar-link,
+.b-bar-vertical-small .b-bar-link {
+ display: block;
+ width: 100%;
+ text-decoration: none;
+ padding: 0.5rem 0.5rem 0.5rem 1.5rem;
+ cursor: pointer;
+ overflow-x: hidden;
+ line-height: 1.5rem;
+ vertical-align: middle;
+ transition: font-size 150ms ease-in;
+}
+.b-bar-vertical-inline .b-bar-label,
+.b-bar-vertical-popout .b-bar-label,
+.b-bar-vertical-small .b-bar-label {
+ background: transparent;
+ color: #adb5bd;
+ padding: 0.375rem 1.25rem;
+ font-size: 0.75rem;
+ text-overflow: ellipsis;
+ overflow-x: hidden;
+}
+.b-bar-vertical-inline .b-bar-dropdown .b-bar-dropdown-toggle:before,
+.b-bar-vertical-popout .b-bar-dropdown .b-bar-dropdown-toggle:before,
+.b-bar-vertical-small .b-bar-dropdown .b-bar-dropdown-toggle:before {
+ content: " ";
+ border: solid;
+ border-width: 0 2px 2px 0;
+ display: inline-block;
+ padding: 2px;
+ right: 1rem;
+ transition: transform 200ms ease-out;
+ float: right;
+ position: relative;
+ -webkit-transform: rotate(225deg);
+ transform: rotate(225deg);
+ top: 0.7rem;
+}
+.b-bar-vertical-inline .b-bar-dropdown:not([data-visible=true]) .b-bar-dropdown-toggle:before,
+.b-bar-vertical-popout .b-bar-dropdown:not([data-visible=true]) .b-bar-dropdown-toggle:before,
+.b-bar-vertical-small .b-bar-dropdown:not([data-visible=true]) .b-bar-dropdown-toggle:before {
+ -webkit-transform: rotate(45deg);
+ transform: rotate(45deg);
+ top: 0.5rem;
+}
+.b-bar-vertical-inline .b-bar-dropdown .b-bar-dropdown-menu,
+.b-bar-vertical-popout .b-bar-dropdown .b-bar-dropdown-menu,
+.b-bar-vertical-small .b-bar-dropdown .b-bar-dropdown-menu {
+ display: none;
+ background: inherit;
+ color: inherit;
+ float: none;
+ padding: 5px 0px;
+}
+.b-bar-vertical-inline .b-bar-dropdown .b-bar-dropdown-menu[data-visible=true],
+.b-bar-vertical-popout .b-bar-dropdown .b-bar-dropdown-menu[data-visible=true],
+.b-bar-vertical-small .b-bar-dropdown .b-bar-dropdown-menu[data-visible=true] {
+ display: block;
+}
+.b-bar-vertical-inline .b-bar-dropdown .b-bar-dropdown-menu .b-bar-dropdown-item,
+.b-bar-vertical-popout .b-bar-dropdown .b-bar-dropdown-menu .b-bar-dropdown-item,
+.b-bar-vertical-small .b-bar-dropdown .b-bar-dropdown-menu .b-bar-dropdown-item {
+ position: relative;
+ color: inherit;
+ transition: background 100ms ease-in-out, color 100ms ease-in-out;
+ text-decoration: none;
+ display: block;
+ width: 100%;
+ overflow-x: hidden;
+}
+.b-bar-vertical-inline .b-bar-dropdown .b-bar-dropdown-menu .b-bar-dropdown-item i,
+.b-bar-vertical-popout .b-bar-dropdown .b-bar-dropdown-menu .b-bar-dropdown-item i,
+.b-bar-vertical-small .b-bar-dropdown .b-bar-dropdown-menu .b-bar-dropdown-item i {
+ margin-right: 0.3rem;
+}
+.b-bar-vertical-inline .b-bar-dropdown .b-bar-dropdown-menu:before,
+.b-bar-vertical-popout .b-bar-dropdown .b-bar-dropdown-menu:before,
+.b-bar-vertical-small .b-bar-dropdown .b-bar-dropdown-menu:before {
+ background: inherit;
+ box-shadow: none;
+}
+.b-bar-vertical-inline .b-bar-mobile-toggle,
+.b-bar-vertical-popout .b-bar-mobile-toggle,
+.b-bar-vertical-small .b-bar-mobile-toggle {
+ right: 20px;
+ margin: auto;
+ display: none;
+}
+.b-bar-vertical-inline .b-bar-item-multi-line,
+.b-bar-vertical-popout .b-bar-item-multi-line,
+.b-bar-vertical-small .b-bar-item-multi-line {
+ display: -webkit-box !important;
+ -webkit-box-orient: vertical;
+ -webkit-line-clamp: var(--b-bar-item-lines, 2);
+ white-space: normal !important;
+ overflow: hidden;
+ text-overflow: ellipsis;
+}
+.b-bar-vertical-inline.b-bar-dark,
+.b-bar-vertical-popout.b-bar-dark,
+.b-bar-vertical-small.b-bar-dark {
+ background: var(--b-bar-dark-background, #001529);
+ color: var(--b-bar-dark-color, rgba(255, 255, 255, 0.5));
+}
+.b-bar-vertical-inline.b-bar-dark .b-bar-brand,
+.b-bar-vertical-popout.b-bar-dark .b-bar-brand,
+.b-bar-vertical-small.b-bar-dark .b-bar-brand {
+ background: var(--b-bar-brand-dark-background, rgba(255, 255, 255, 0.025));
+}
+.b-bar-vertical-inline.b-bar-dark .b-bar-brand .b-bar-link,
+.b-bar-vertical-popout.b-bar-dark .b-bar-brand .b-bar-link,
+.b-bar-vertical-small.b-bar-dark .b-bar-brand .b-bar-link {
+ color: #fff;
+}
+.b-bar-vertical-inline.b-bar-dark .b-bar-brand .b-bar-link.active,
+.b-bar-vertical-popout.b-bar-dark .b-bar-brand .b-bar-link.active,
+.b-bar-vertical-small.b-bar-dark .b-bar-brand .b-bar-link.active {
+ color: #fff;
+ background: inherit;
+}
+.b-bar-vertical-inline.b-bar-dark .b-bar-brand .b-bar-link:hover,
+.b-bar-vertical-popout.b-bar-dark .b-bar-brand .b-bar-link:hover,
+.b-bar-vertical-small.b-bar-dark .b-bar-brand .b-bar-link:hover {
+ color: #fff;
+ background: inherit;
+}
+.b-bar-vertical-inline.b-bar-dark .b-bar-toggler-popout:not(.b-bar-mobile-toggle),
+.b-bar-vertical-popout.b-bar-dark .b-bar-toggler-popout:not(.b-bar-mobile-toggle),
+.b-bar-vertical-small.b-bar-dark .b-bar-toggler-popout:not(.b-bar-mobile-toggle) {
+ background: var(--b-bar-dark-background, #001529);
+ color: var(--b-bar-dark-color, rgba(255, 255, 255, 0.5));
+}
+.b-bar-vertical-inline.b-bar-dark .b-bar-dropdown-menu,
+.b-bar-vertical-popout.b-bar-dark .b-bar-dropdown-menu,
+.b-bar-vertical-small.b-bar-dark .b-bar-dropdown-menu {
+ background: var(--b-bar-dropdown-dark-background, #000c17);
+}
+.b-bar-vertical-inline.b-bar-dark .b-bar-dropdown-menu .b-bar-dropdown-item.active,
+.b-bar-vertical-popout.b-bar-dark .b-bar-dropdown-menu .b-bar-dropdown-item.active,
+.b-bar-vertical-small.b-bar-dark .b-bar-dropdown-menu .b-bar-dropdown-item.active {
+ color: var(--b-bar-item-dark-active-color, #fff);
+ background: var(--b-bar-item-dark-active-background, #0288D1);
+}
+.b-bar-vertical-inline.b-bar-dark .b-bar-dropdown-menu .b-bar-dropdown-item:hover,
+.b-bar-vertical-popout.b-bar-dark .b-bar-dropdown-menu .b-bar-dropdown-item:hover,
+.b-bar-vertical-small.b-bar-dark .b-bar-dropdown-menu .b-bar-dropdown-item:hover {
+ color: var(--b-bar-item-dark-hover-color, #fff);
+ background: var(--b-bar-item-dark-hover-background, rgba(255, 255, 255, 0.3));
+}
+.b-bar-vertical-inline.b-bar-dark .b-bar-link,
+.b-bar-vertical-popout.b-bar-dark .b-bar-link,
+.b-bar-vertical-small.b-bar-dark .b-bar-link {
+ color: inherit;
+}
+.b-bar-vertical-inline.b-bar-dark .b-bar-link.active,
+.b-bar-vertical-popout.b-bar-dark .b-bar-link.active,
+.b-bar-vertical-small.b-bar-dark .b-bar-link.active {
+ color: var(--b-bar-item-dark-active-color, #fff);
+ background: var(--b-bar-item-dark-active-background, #0288D1);
+}
+.b-bar-vertical-inline.b-bar-dark .b-bar-link:hover,
+.b-bar-vertical-popout.b-bar-dark .b-bar-link:hover,
+.b-bar-vertical-small.b-bar-dark .b-bar-link:hover {
+ color: var(--b-bar-item-dark-hover-color, #fff);
+ background: var(--b-bar-item-dark-hover-background, rgba(255, 255, 255, 0.3));
+}
+.b-bar-vertical-inline.b-bar-light,
+.b-bar-vertical-popout.b-bar-light,
+.b-bar-vertical-small.b-bar-light {
+ background: var(--b-bar-light-background, #fff);
+ color: var(--b-bar-light-color, rgba(0, 0, 0, 0.7));
+}
+.b-bar-vertical-inline.b-bar-light .b-bar-brand,
+.b-bar-vertical-popout.b-bar-light .b-bar-brand,
+.b-bar-vertical-small.b-bar-light .b-bar-brand {
+ background: var(--b-bar-brand-light-background, rgba(0, 0, 0, 0.025));
+}
+.b-bar-vertical-inline.b-bar-light .b-bar-brand .b-bar-link,
+.b-bar-vertical-popout.b-bar-light .b-bar-brand .b-bar-link,
+.b-bar-vertical-small.b-bar-light .b-bar-brand .b-bar-link {
+ color: #000;
+}
+.b-bar-vertical-inline.b-bar-light .b-bar-brand .b-bar-link.active,
+.b-bar-vertical-popout.b-bar-light .b-bar-brand .b-bar-link.active,
+.b-bar-vertical-small.b-bar-light .b-bar-brand .b-bar-link.active {
+ background: inherit;
+}
+.b-bar-vertical-inline.b-bar-light .b-bar-brand .b-bar-link:hover,
+.b-bar-vertical-popout.b-bar-light .b-bar-brand .b-bar-link:hover,
+.b-bar-vertical-small.b-bar-light .b-bar-brand .b-bar-link:hover {
+ background: inherit;
+}
+.b-bar-vertical-inline.b-bar-light .b-bar-toggler-popout:not(.b-bar-mobile-toggle),
+.b-bar-vertical-popout.b-bar-light .b-bar-toggler-popout:not(.b-bar-mobile-toggle),
+.b-bar-vertical-small.b-bar-light .b-bar-toggler-popout:not(.b-bar-mobile-toggle) {
+ background: var(--b-bar-brand-light-background, #fff);
+ color: var(--b-bar-light-color, rgba(0, 0, 0, 0.7));
+}
+.b-bar-vertical-inline.b-bar-light .b-bar-dropdown-menu,
+.b-bar-vertical-popout.b-bar-light .b-bar-dropdown-menu,
+.b-bar-vertical-small.b-bar-light .b-bar-dropdown-menu {
+ background: var(--b-bar-dropdown-light-background, #f2f2f2);
+}
+.b-bar-vertical-inline.b-bar-light .b-bar-dropdown-menu .b-bar-dropdown-item.active,
+.b-bar-vertical-popout.b-bar-light .b-bar-dropdown-menu .b-bar-dropdown-item.active,
+.b-bar-vertical-small.b-bar-light .b-bar-dropdown-menu .b-bar-dropdown-item.active {
+ color: var(--b-bar-item-light-active-color, #000);
+ background: var(--b-bar-item-light-active-background, #0288D1);
+}
+.b-bar-vertical-inline.b-bar-light .b-bar-dropdown-menu .b-bar-dropdown-item:hover,
+.b-bar-vertical-popout.b-bar-light .b-bar-dropdown-menu .b-bar-dropdown-item:hover,
+.b-bar-vertical-small.b-bar-light .b-bar-dropdown-menu .b-bar-dropdown-item:hover {
+ color: var(--b-bar-item-light-hover-color, #000);
+ background: var(--b-bar-item-light-hover-background, rgba(0, 0, 0, 0.3));
+}
+.b-bar-vertical-inline.b-bar-light .b-bar-link,
+.b-bar-vertical-popout.b-bar-light .b-bar-link,
+.b-bar-vertical-small.b-bar-light .b-bar-link {
+ color: inherit;
+}
+.b-bar-vertical-inline.b-bar-light .b-bar-link.active,
+.b-bar-vertical-popout.b-bar-light .b-bar-link.active,
+.b-bar-vertical-small.b-bar-light .b-bar-link.active {
+ color: var(--b-bar-item-light-active-color, #000);
+ background: var(--b-bar-item-light-active-background, #0288D1);
+}
+.b-bar-vertical-inline.b-bar-light .b-bar-link:hover,
+.b-bar-vertical-popout.b-bar-light .b-bar-link:hover,
+.b-bar-vertical-small.b-bar-light .b-bar-link:hover {
+ color: var(--b-bar-item-light-hover-color, #000);
+ background: var(--b-bar-item-light-hover-background, rgba(0, 0, 0, 0.3));
+}
+
+.b-bar-vertical-small,
+.b-bar-vertical-inline[data-collapse=small],
+.b-bar-vertical-popout[data-collapse=small] {
+ width: var(--b-vertical-bar-small-width, 64px);
+ min-width: var(--b-vertical-bar-small-width, 64px);
+}
+.b-bar-vertical-small:not(.b-bar-initial),
+.b-bar-vertical-inline[data-collapse=small]:not(.b-bar-initial),
+.b-bar-vertical-popout[data-collapse=small]:not(.b-bar-initial) {
+ transition: width 200ms ease-in-out, min-width 200ms ease-in-out;
+}
+.b-bar-vertical-small .b-bar-toggler-inline,
+.b-bar-vertical-inline[data-collapse=small] .b-bar-toggler-inline,
+.b-bar-vertical-popout[data-collapse=small] .b-bar-toggler-inline {
+ position: relative;
+ width: 100%;
+}
+.b-bar-vertical-small .b-bar-toggler-popout:not(.b-bar-mobile-toggle),
+.b-bar-vertical-inline[data-collapse=small] .b-bar-toggler-popout:not(.b-bar-mobile-toggle),
+.b-bar-vertical-popout[data-collapse=small] .b-bar-toggler-popout:not(.b-bar-mobile-toggle) {
+ left: var(--b-vertical-bar-small-width, 64px);
+}
+.b-bar-vertical-small .b-bar-item > .b-bar-dropdown > .b-bar-dropdown-toggle:before,
+.b-bar-vertical-inline[data-collapse=small] .b-bar-item > .b-bar-dropdown > .b-bar-dropdown-toggle:before,
+.b-bar-vertical-popout[data-collapse=small] .b-bar-item > .b-bar-dropdown > .b-bar-dropdown-toggle:before {
+ display: none;
+}
+.b-bar-vertical-small .b-bar-dropdown .b-bar-dropdown-menu-container,
+.b-bar-vertical-inline[data-collapse=small] .b-bar-dropdown .b-bar-dropdown-menu-container,
+.b-bar-vertical-popout[data-collapse=small] .b-bar-dropdown .b-bar-dropdown-menu-container {
+ z-index: 100;
+ max-height: 50vh;
+ position: absolute !important;
+ margin: -42px 5px 0px 5px;
+ display: flex;
+ width: var(--b-vertical-bar-popout-menu-width, 180px);
+ left: var(--b-vertical-bar-small-width, 64px);
+}
+.b-bar-vertical-small .b-bar-dropdown .b-bar-dropdown-menu-container.b-bar-right,
+.b-bar-vertical-inline[data-collapse=small] .b-bar-dropdown .b-bar-dropdown-menu-container.b-bar-right,
+.b-bar-vertical-popout[data-collapse=small] .b-bar-dropdown .b-bar-dropdown-menu-container.b-bar-right {
+ right: var(--b-vertical-bar-small-width, 64px);
+ left: unset;
+}
+.b-bar-vertical-small .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu,
+.b-bar-vertical-inline[data-collapse=small] .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu,
+.b-bar-vertical-popout[data-collapse=small] .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu {
+ box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
+ border-radius: 3px;
+ overflow-y: auto;
+ overflow-x: hidden;
+ flex: 1 100%;
+}
+.b-bar-vertical-small .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu .b-bar-dropdown-item,
+.b-bar-vertical-inline[data-collapse=small] .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu .b-bar-dropdown-item,
+.b-bar-vertical-popout[data-collapse=small] .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu .b-bar-dropdown-item {
+ padding: 0.5rem 0.5rem 0.5rem 1.5rem;
+}
+.b-bar-vertical-small .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu:before,
+.b-bar-vertical-inline[data-collapse=small] .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu:before,
+.b-bar-vertical-popout[data-collapse=small] .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu:before {
+ position: absolute;
+ top: 0;
+ left: -7px;
+ right: 0;
+ bottom: 0;
+ width: 100%;
+ height: 100%;
+ opacity: 0.0001;
+ content: " ";
+ z-index: -1;
+}
+.b-bar-vertical-small .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu.b-bar-right:before,
+.b-bar-vertical-inline[data-collapse=small] .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu.b-bar-right:before,
+.b-bar-vertical-popout[data-collapse=small] .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu.b-bar-right:before {
+ left: unset;
+ right: -7px;
+}
+.b-bar-vertical-small .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu > .b-bar-dropdown .b-bar-dropdown-menu-container,
+.b-bar-vertical-inline[data-collapse=small] .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu > .b-bar-dropdown .b-bar-dropdown-menu-container,
+.b-bar-vertical-popout[data-collapse=small] .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu > .b-bar-dropdown .b-bar-dropdown-menu-container {
+ left: var(--b-vertical-bar-popout-menu-width, 180px);
+}
+.b-bar-vertical-small .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu > .b-bar-dropdown .b-bar-dropdown-menu-container.b-bar-right,
+.b-bar-vertical-inline[data-collapse=small] .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu > .b-bar-dropdown .b-bar-dropdown-menu-container.b-bar-right,
+.b-bar-vertical-popout[data-collapse=small] .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu > .b-bar-dropdown .b-bar-dropdown-menu-container.b-bar-right {
+ right: var(--b-vertical-bar-popout-menu-width, 180px);
+}
+.b-bar-vertical-small .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu > .b-bar-dropdown .b-bar-dropdown-toggle:before,
+.b-bar-vertical-inline[data-collapse=small] .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu > .b-bar-dropdown .b-bar-dropdown-toggle:before,
+.b-bar-vertical-popout[data-collapse=small] .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu > .b-bar-dropdown .b-bar-dropdown-toggle:before {
+ content: " ";
+ border: solid;
+ border-width: 0 2px 2px 0;
+ display: inline-block;
+ padding: 2px;
+ right: 1rem;
+ transition: transform 200ms ease-out;
+ float: right;
+ position: relative;
+ -webkit-transform: rotate(135deg);
+ transform: rotate(135deg);
+ right: 0.8rem;
+}
+.b-bar-vertical-small .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu > .b-bar-dropdown:not([data-visible=true]) .b-bar-dropdown-toggle:before,
+.b-bar-vertical-inline[data-collapse=small] .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu > .b-bar-dropdown:not([data-visible=true]) .b-bar-dropdown-toggle:before,
+.b-bar-vertical-popout[data-collapse=small] .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu > .b-bar-dropdown:not([data-visible=true]) .b-bar-dropdown-toggle:before {
+ -webkit-transform: rotate(315deg);
+ transform: rotate(315deg);
+}
+@keyframes b-bar-link-small {
+ to {
+ text-align: center;
+ padding-left: 0px;
+ padding-right: 0px;
+ }
+}
+.b-bar-vertical-small .b-bar-item > .b-bar-link,
+.b-bar-vertical-small .b-bar-item > .b-bar-dropdown > .b-bar-link,
+.b-bar-vertical-inline[data-collapse=small] .b-bar-item > .b-bar-link,
+.b-bar-vertical-inline[data-collapse=small] .b-bar-item > .b-bar-dropdown > .b-bar-link,
+.b-bar-vertical-popout[data-collapse=small] .b-bar-item > .b-bar-link,
+.b-bar-vertical-popout[data-collapse=small] .b-bar-item > .b-bar-dropdown > .b-bar-link {
+ animation: b-bar-link-small forwards;
+ animation-delay: 170ms;
+ font-size: 0;
+ transition: font-size 100ms ease-out;
+}
+.b-bar-vertical-small .b-bar-item > .b-bar-link:after,
+.b-bar-vertical-small .b-bar-item > .b-bar-dropdown > .b-bar-link:after,
+.b-bar-vertical-inline[data-collapse=small] .b-bar-item > .b-bar-link:after,
+.b-bar-vertical-inline[data-collapse=small] .b-bar-item > .b-bar-dropdown > .b-bar-link:after,
+.b-bar-vertical-popout[data-collapse=small] .b-bar-item > .b-bar-link:after,
+.b-bar-vertical-popout[data-collapse=small] .b-bar-item > .b-bar-dropdown > .b-bar-link:after {
+ display: none;
+}
+.b-bar-vertical-small .b-bar-label,
+.b-bar-vertical-inline[data-collapse=small] .b-bar-label,
+.b-bar-vertical-popout[data-collapse=small] .b-bar-label {
+ text-align: center;
+}
+
+.b-bar-vertical-inline:not([data-collapse]) {
+ overflow-y: auto;
+ overflow-x: hidden;
+}
+.b-bar-vertical-inline:not([data-collapse]) .b-bar-dropdown .b-bar-dropdown-menu-container {
+ position: relative;
+}
+.b-bar-vertical-inline:not([data-collapse]) .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu {
+ position: relative !important;
+ border: none;
+ border-radius: 0;
+ box-shadow: none;
+}
+.b-bar-vertical-inline:not([data-collapse]) .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu .b-bar-dropdown-item {
+ padding: 0.5rem 0.5rem 0.5rem 3rem;
+}
+.b-bar-vertical-inline:not([data-collapse]) .b-bar-brand .b-bar-link {
+ display: flex;
+ align-items: center;
+}
+
+.b-bar-vertical-popout:not([data-collapse]) .b-bar-dropdown .b-bar-dropdown-toggle:before {
+ content: " ";
+ border: solid;
+ border-width: 0 2px 2px 0;
+ display: inline-block;
+ padding: 2px;
+ right: 1rem;
+ transition: transform 200ms ease-out;
+ float: right;
+ position: relative;
+ -webkit-transform: rotate(135deg);
+ transform: rotate(135deg);
+ right: 0.8rem;
+}
+.b-bar-vertical-popout:not([data-collapse]) .b-bar-dropdown:not([data-visible=true]) .b-bar-dropdown-toggle:before {
+ -webkit-transform: rotate(315deg);
+ transform: rotate(315deg);
+}
+.b-bar-vertical-popout:not([data-collapse]) .b-bar-dropdown .b-bar-dropdown-menu-container {
+ z-index: 100;
+ max-height: 50vh;
+ position: absolute !important;
+ margin: -42px 5px 0px 5px;
+ display: flex;
+ width: var(--b-vertical-bar-popout-menu-width, 180px);
+ left: var(--b-vertical-bar-width, 230px);
+}
+.b-bar-vertical-popout:not([data-collapse]) .b-bar-dropdown .b-bar-dropdown-menu-container.b-bar-right {
+ right: var(--b-vertical-bar-width, 230px);
+ left: unset;
+}
+.b-bar-vertical-popout:not([data-collapse]) .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu {
+ box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
+ border-radius: 3px;
+ overflow-y: auto;
+ overflow-x: hidden;
+ flex: 1 100%;
+}
+.b-bar-vertical-popout:not([data-collapse]) .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu .b-bar-dropdown-item {
+ padding: 0.5rem 0.5rem 0.5rem 1.5rem;
+}
+.b-bar-vertical-popout:not([data-collapse]) .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu:before {
+ position: absolute;
+ top: 0;
+ left: -7px;
+ right: 0;
+ bottom: 0;
+ width: 100%;
+ height: 100%;
+ opacity: 0.0001;
+ content: " ";
+ z-index: -1;
+}
+.b-bar-vertical-popout:not([data-collapse]) .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu.b-bar-right:before {
+ left: unset;
+ right: -7px;
+}
+.b-bar-vertical-popout:not([data-collapse]) .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu > .b-bar-dropdown .b-bar-dropdown-menu-container {
+ left: var(--b-vertical-bar-popout-menu-width, 180px);
+}
+.b-bar-vertical-popout:not([data-collapse]) .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu > .b-bar-dropdown .b-bar-dropdown-menu-container.b-bar-right {
+ right: var(--b-vertical-bar-popout-menu-width, 180px);
+}
+
+.b-bar-vertical-inline[data-collapse=hide],
+.b-bar-vertical-popout[data-collapse=hide],
+.b-bar-vertical-small[data-collapse=hide] {
+ width: 0px;
+ min-width: 0px;
+ overflow-y: hidden;
+ visibility: hidden;
+}
+.b-bar-vertical-inline[data-collapse=hide]:not(.b-bar-initial),
+.b-bar-vertical-popout[data-collapse=hide]:not(.b-bar-initial),
+.b-bar-vertical-small[data-collapse=hide]:not(.b-bar-initial) {
+ transition: width 200ms ease-in-out, min-width 200ms ease-in-out, visibility 100ms;
+}
+.b-bar-vertical-inline[data-collapse=hide] .b-bar-toggler-inline,
+.b-bar-vertical-popout[data-collapse=hide] .b-bar-toggler-inline,
+.b-bar-vertical-small[data-collapse=hide] .b-bar-toggler-inline {
+ display: none;
+}
+.b-bar-vertical-inline[data-collapse=hide] .b-bar-toggler-popout:not(.b-bar-mobile-toggle),
+.b-bar-vertical-popout[data-collapse=hide] .b-bar-toggler-popout:not(.b-bar-mobile-toggle),
+.b-bar-vertical-small[data-collapse=hide] .b-bar-toggler-popout:not(.b-bar-mobile-toggle) {
+ visibility: visible;
+ left: 0px;
+}
+
+/* Mobile & below */
+@media only screen and (max-width: 576px) {
+ .b-bar-vertical-inline:not([data-collapse]) {
+ min-width: 100vw;
+ }
+ .b-bar-vertical-inline:not([data-collapse]) .b-bar-toggler-inline:not(.b-bar-mobile-toggle) {
+ display: none;
+ }
+ .b-bar-vertical-inline:not([data-collapse]) .b-bar-toggler-popout:not(.b-bar-mobile-toggle) {
+ left: 100vw;
+ }
+ .b-bar-vertical-inline:not([data-collapse]) .b-bar-mobile-toggle {
+ display: flex;
+ }
+}
+.b-table.table {
+ position: relative;
+}
+.b-table.table .b-table-resizer {
+ position: absolute;
+ top: 0;
+ right: 0;
+ width: 5px;
+ cursor: col-resize;
+ user-select: none;
+ z-index: 1;
+}
+.b-table.table .b-table-resizer:hover, .b-table.table .b-table-resizing {
+ cursor: col-resize !important;
+ border-right: 2px solid var(--b-theme-primary, blue);
+}
+.b-table.table .b-table-resizing {
+ cursor: col-resize !important;
+}
+
+thead tr th {
+ position: relative;
+}
+
+.b-character-casing-lower {
+ text-transform: lowercase;
+}
+
+.b-character-casing-upper {
+ text-transform: uppercase;
+}
+
+.b-character-casing-title {
+ text-transform: lowercase;
+}
+.b-character-casing-title::first-letter {
+ text-transform: uppercase;
+}
+
+.flatpickr-calendar {
+ background: transparent;
+ opacity: 0;
+ display: none;
+ text-align: center;
+ visibility: hidden;
+ padding: 0;
+ -webkit-animation: none;
+ animation: none;
+ direction: ltr;
+ border: 0;
+ font-size: 14px;
+ line-height: 24px;
+ border-radius: 5px;
+ position: absolute;
+ width: 307.875px;
+ -webkit-box-sizing: border-box;
+ box-sizing: border-box;
+ -ms-touch-action: manipulation;
+ touch-action: manipulation;
+ background: #fff;
+ -webkit-box-shadow: 1px 0 0 #e6e6e6, -1px 0 0 #e6e6e6, 0 1px 0 #e6e6e6, 0 -1px 0 #e6e6e6, 0 3px 13px rgba(0, 0, 0, 0.08);
+ box-shadow: 1px 0 0 #e6e6e6, -1px 0 0 #e6e6e6, 0 1px 0 #e6e6e6, 0 -1px 0 #e6e6e6, 0 3px 13px rgba(0, 0, 0, 0.08);
+}
+
+.flatpickr-calendar.open,
+.flatpickr-calendar.inline {
+ opacity: 1;
+ max-height: 640px;
+ visibility: visible;
+}
+
+.flatpickr-calendar.open {
+ display: inline-block;
+ z-index: 99999;
+}
+
+.flatpickr-calendar.animate.open {
+ -webkit-animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1);
+ animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1);
+}
+
+.flatpickr-calendar.inline {
+ display: block;
+ position: relative;
+ top: 2px;
+}
+
+.flatpickr-calendar.static {
+ position: absolute;
+ top: calc(100% + 2px);
+}
+
+.flatpickr-calendar.static.open {
+ z-index: 999;
+ display: block;
+}
+
+.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+1) .flatpickr-day.inRange:nth-child(7n+7) {
+ -webkit-box-shadow: none !important;
+ box-shadow: none !important;
+}
+
+.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+2) .flatpickr-day.inRange:nth-child(7n+1) {
+ -webkit-box-shadow: -2px 0 0 #e6e6e6, 5px 0 0 #e6e6e6;
+ box-shadow: -2px 0 0 #e6e6e6, 5px 0 0 #e6e6e6;
+}
+
+.flatpickr-calendar .hasWeeks .dayContainer,
+.flatpickr-calendar .hasTime .dayContainer {
+ border-bottom: 0;
+ border-bottom-right-radius: 0;
+ border-bottom-left-radius: 0;
+}
+
+.flatpickr-calendar .hasWeeks .dayContainer {
+ border-left: 0;
+}
+
+.flatpickr-calendar.hasTime .flatpickr-time {
+ height: 40px;
+ border-top: 1px solid #e6e6e6;
+}
+
+.flatpickr-calendar.noCalendar.hasTime .flatpickr-time {
+ height: auto;
+}
+
+.flatpickr-calendar:before,
+.flatpickr-calendar:after {
+ position: absolute;
+ display: block;
+ pointer-events: none;
+ border: solid transparent;
+ content: "";
+ height: 0;
+ width: 0;
+ left: 22px;
+}
+
+.flatpickr-calendar.rightMost:before,
+.flatpickr-calendar.arrowRight:before,
+.flatpickr-calendar.rightMost:after,
+.flatpickr-calendar.arrowRight:after {
+ left: auto;
+ right: 22px;
+}
+
+.flatpickr-calendar.arrowCenter:before,
+.flatpickr-calendar.arrowCenter:after {
+ left: 50%;
+ right: 50%;
+}
+
+.flatpickr-calendar:before {
+ border-width: 5px;
+ margin: 0 -5px;
+}
+
+.flatpickr-calendar:after {
+ border-width: 4px;
+ margin: 0 -4px;
+}
+
+.flatpickr-calendar.arrowTop:before,
+.flatpickr-calendar.arrowTop:after {
+ bottom: 100%;
+}
+
+.flatpickr-calendar.arrowTop:before {
+ border-bottom-color: #e6e6e6;
+}
+
+.flatpickr-calendar.arrowTop:after {
+ border-bottom-color: #fff;
+}
+
+.flatpickr-calendar.arrowBottom:before,
+.flatpickr-calendar.arrowBottom:after {
+ top: 100%;
+}
+
+.flatpickr-calendar.arrowBottom:before {
+ border-top-color: #e6e6e6;
+}
+
+.flatpickr-calendar.arrowBottom:after {
+ border-top-color: #fff;
+}
+
+.flatpickr-calendar:focus {
+ outline: 0;
+}
+
+.flatpickr-wrapper {
+ position: relative;
+ display: contents;
+}
+
+.flatpickr-months {
+ display: -webkit-box;
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ display: flex;
+}
+
+.flatpickr-months .flatpickr-month {
+ background: transparent;
+ color: rgba(0, 0, 0, 0.9);
+ fill: rgba(0, 0, 0, 0.9);
+ height: 34px;
+ line-height: 1;
+ text-align: center;
+ position: relative;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+ overflow: hidden;
+ -webkit-box-flex: 1;
+ -webkit-flex: 1;
+ -ms-flex: 1;
+ flex: 1;
+}
+
+.flatpickr-months .flatpickr-prev-month,
+.flatpickr-months .flatpickr-next-month {
+ text-decoration: none;
+ cursor: pointer;
+ position: absolute;
+ top: 0;
+ height: 34px;
+ padding: 10px;
+ z-index: 3;
+ color: rgba(0, 0, 0, 0.9);
+ fill: rgba(0, 0, 0, 0.9);
+}
+
+.flatpickr-months .flatpickr-prev-month.flatpickr-disabled,
+.flatpickr-months .flatpickr-next-month.flatpickr-disabled {
+ display: none;
+}
+
+.flatpickr-months .flatpickr-prev-month i,
+.flatpickr-months .flatpickr-next-month i {
+ position: relative;
+}
+
+.flatpickr-months .flatpickr-prev-month.flatpickr-prev-month,
+.flatpickr-months .flatpickr-next-month.flatpickr-prev-month {
+ /*
+ /*rtl:begin:ignore*/
+ /*
+ */
+ left: 0;
+ /*
+ /*rtl:end:ignore*/
+ /*
+ */
+}
+
+/*
+ /*rtl:begin:ignore*/
+/*
+ /*rtl:end:ignore*/
+.flatpickr-months .flatpickr-prev-month.flatpickr-next-month,
+.flatpickr-months .flatpickr-next-month.flatpickr-next-month {
+ /*
+ /*rtl:begin:ignore*/
+ /*
+ */
+ right: 0;
+ /*
+ /*rtl:end:ignore*/
+ /*
+ */
+}
+
+/*
+ /*rtl:begin:ignore*/
+/*
+ /*rtl:end:ignore*/
+.flatpickr-months .flatpickr-prev-month:hover,
+.flatpickr-months .flatpickr-next-month:hover {
+ color: #959ea9;
+}
+
+.flatpickr-months .flatpickr-prev-month:hover svg,
+.flatpickr-months .flatpickr-next-month:hover svg {
+ fill: #f64747;
+}
+
+.flatpickr-months .flatpickr-prev-month svg,
+.flatpickr-months .flatpickr-next-month svg {
+ width: 14px;
+ height: 14px;
+}
+
+.flatpickr-months .flatpickr-prev-month svg path,
+.flatpickr-months .flatpickr-next-month svg path {
+ -webkit-transition: fill 0.1s;
+ transition: fill 0.1s;
+ fill: inherit;
+}
+
+.numInputWrapper {
+ position: relative;
+ height: auto;
+}
+
+.numInputWrapper input,
+.numInputWrapper span {
+ display: inline-block;
+}
+
+.numInputWrapper input {
+ width: 100%;
+}
+
+.numInputWrapper input::-ms-clear {
+ display: none;
+}
+
+.numInputWrapper input::-webkit-outer-spin-button,
+.numInputWrapper input::-webkit-inner-spin-button {
+ margin: 0;
+ -webkit-appearance: none;
+}
+
+.numInputWrapper span {
+ position: absolute;
+ right: 0;
+ width: 14px;
+ padding: 0 4px 0 2px;
+ height: 50%;
+ line-height: 50%;
+ opacity: 0;
+ cursor: pointer;
+ border: 1px solid rgba(57, 57, 57, 0.15);
+ -webkit-box-sizing: border-box;
+ box-sizing: border-box;
+}
+
+.numInputWrapper span:hover {
+ background: rgba(0, 0, 0, 0.1);
+}
+
+.numInputWrapper span:active {
+ background: rgba(0, 0, 0, 0.2);
+}
+
+.numInputWrapper span:after {
+ display: block;
+ content: "";
+ position: absolute;
+}
+
+.numInputWrapper span.arrowUp {
+ top: 0;
+ border-bottom: 0;
+}
+
+.numInputWrapper span.arrowUp:after {
+ border-left: 4px solid transparent;
+ border-right: 4px solid transparent;
+ border-bottom: 4px solid rgba(57, 57, 57, 0.6);
+ top: 26%;
+}
+
+.numInputWrapper span.arrowDown {
+ top: 50%;
+}
+
+.numInputWrapper span.arrowDown:after {
+ border-left: 4px solid transparent;
+ border-right: 4px solid transparent;
+ border-top: 4px solid rgba(57, 57, 57, 0.6);
+ top: 40%;
+}
+
+.numInputWrapper span svg {
+ width: inherit;
+ height: auto;
+}
+
+.numInputWrapper span svg path {
+ fill: rgba(0, 0, 0, 0.5);
+}
+
+.numInputWrapper:hover {
+ background: rgba(0, 0, 0, 0.05);
+}
+
+.numInputWrapper:hover span {
+ opacity: 1;
+}
+
+.flatpickr-current-month {
+ font-size: 135%;
+ line-height: inherit;
+ font-weight: 300;
+ color: inherit;
+ position: absolute;
+ width: 75%;
+ left: 12.5%;
+ padding: 7.48px 0 0 0;
+ line-height: 1;
+ height: 34px;
+ display: inline-block;
+ text-align: center;
+ -webkit-transform: translate3d(0px, 0px, 0px);
+ transform: translate3d(0px, 0px, 0px);
+}
+
+.flatpickr-current-month span.cur-month {
+ font-family: inherit;
+ font-weight: 700;
+ color: inherit;
+ display: inline-block;
+ margin-left: 0.5ch;
+ padding: 0;
+}
+
+.flatpickr-current-month span.cur-month:hover {
+ background: rgba(0, 0, 0, 0.05);
+}
+
+.flatpickr-current-month .numInputWrapper {
+ width: 6ch;
+ width: 7ch\0 ;
+ display: inline-block;
+}
+
+.flatpickr-current-month .numInputWrapper span.arrowUp:after {
+ border-bottom-color: rgba(0, 0, 0, 0.9);
+}
+
+.flatpickr-current-month .numInputWrapper span.arrowDown:after {
+ border-top-color: rgba(0, 0, 0, 0.9);
+}
+
+.flatpickr-current-month input.cur-year {
+ background: transparent;
+ -webkit-box-sizing: border-box;
+ box-sizing: border-box;
+ color: inherit;
+ cursor: text;
+ padding: 0 0 0 0.5ch;
+ margin: 0;
+ display: inline-block;
+ font-size: inherit;
+ font-family: inherit;
+ font-weight: 300;
+ line-height: inherit;
+ height: auto;
+ border: 0;
+ border-radius: 0;
+ vertical-align: initial;
+ -webkit-appearance: textfield;
+ -moz-appearance: textfield;
+ appearance: textfield;
+}
+
+.flatpickr-current-month input.cur-year:focus {
+ outline: 0;
+}
+
+.flatpickr-current-month input.cur-year[disabled],
+.flatpickr-current-month input.cur-year[disabled]:hover {
+ font-size: 100%;
+ color: rgba(0, 0, 0, 0.5);
+ background: transparent;
+ pointer-events: none;
+}
+
+.flatpickr-current-month .flatpickr-monthDropdown-months {
+ appearance: menulist;
+ background: transparent;
+ border: none;
+ border-radius: 0;
+ box-sizing: border-box;
+ color: inherit;
+ cursor: pointer;
+ font-size: inherit;
+ font-family: inherit;
+ font-weight: 300;
+ height: auto;
+ line-height: inherit;
+ margin: -1px 0 0 0;
+ outline: none;
+ padding: 0 0 0 0.5ch;
+ position: relative;
+ vertical-align: initial;
+ -webkit-box-sizing: border-box;
+ -webkit-appearance: menulist;
+ -moz-appearance: menulist;
+ width: auto;
+}
+
+.flatpickr-current-month .flatpickr-monthDropdown-months:focus,
+.flatpickr-current-month .flatpickr-monthDropdown-months:active {
+ outline: none;
+}
+
+.flatpickr-current-month .flatpickr-monthDropdown-months:hover {
+ background: rgba(0, 0, 0, 0.05);
+}
+
+.flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month {
+ background-color: transparent;
+ outline: none;
+ padding: 0;
+}
+
+.flatpickr-weekdays {
+ background: transparent;
+ text-align: center;
+ overflow: hidden;
+ width: 100%;
+ display: -webkit-box;
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-box-align: center;
+ -webkit-align-items: center;
+ -ms-flex-align: center;
+ align-items: center;
+ height: 28px;
+}
+
+.flatpickr-weekdays .flatpickr-weekdaycontainer {
+ display: -webkit-box;
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-box-flex: 1;
+ -webkit-flex: 1;
+ -ms-flex: 1;
+ flex: 1;
+}
+
+span.flatpickr-weekday {
+ cursor: default;
+ font-size: 90%;
+ background: transparent;
+ color: rgba(0, 0, 0, 0.54);
+ line-height: 1;
+ margin: 0;
+ text-align: center;
+ display: block;
+ -webkit-box-flex: 1;
+ -webkit-flex: 1;
+ -ms-flex: 1;
+ flex: 1;
+ font-weight: bolder;
+}
+
+.dayContainer,
+.flatpickr-weeks {
+ padding: 1px 0 0 0;
+}
+
+.flatpickr-days {
+ position: relative;
+ overflow: hidden;
+ display: -webkit-box;
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-box-align: start;
+ -webkit-align-items: flex-start;
+ -ms-flex-align: start;
+ align-items: flex-start;
+ width: 307.875px;
+}
+
+.flatpickr-days:focus {
+ outline: 0;
+}
+
+.dayContainer {
+ padding: 0;
+ outline: 0;
+ text-align: left;
+ width: 307.875px;
+ min-width: 307.875px;
+ max-width: 307.875px;
+ -webkit-box-sizing: border-box;
+ box-sizing: border-box;
+ display: inline-block;
+ display: -ms-flexbox;
+ display: -webkit-box;
+ display: -webkit-flex;
+ display: flex;
+ -webkit-flex-wrap: wrap;
+ flex-wrap: wrap;
+ -ms-flex-wrap: wrap;
+ -ms-flex-pack: justify;
+ -webkit-justify-content: space-around;
+ justify-content: space-around;
+ -webkit-transform: translate3d(0px, 0px, 0px);
+ transform: translate3d(0px, 0px, 0px);
+ opacity: 1;
+}
+
+.dayContainer + .dayContainer {
+ -webkit-box-shadow: -1px 0 0 #e6e6e6;
+ box-shadow: -1px 0 0 #e6e6e6;
+}
+
+.flatpickr-day {
+ background: none;
+ border: 1px solid transparent;
+ border-radius: 150px;
+ -webkit-box-sizing: border-box;
+ box-sizing: border-box;
+ color: #393939;
+ cursor: pointer;
+ font-weight: 400;
+ width: 14.2857143%;
+ -webkit-flex-basis: 14.2857143%;
+ -ms-flex-preferred-size: 14.2857143%;
+ flex-basis: 14.2857143%;
+ max-width: 39px;
+ height: 39px;
+ line-height: 39px;
+ margin: 0;
+ display: inline-block;
+ position: relative;
+ -webkit-box-pack: center;
+ -webkit-justify-content: center;
+ -ms-flex-pack: center;
+ justify-content: center;
+ text-align: center;
+}
+
+.flatpickr-day.inRange,
+.flatpickr-day.prevMonthDay.inRange,
+.flatpickr-day.nextMonthDay.inRange,
+.flatpickr-day.today.inRange,
+.flatpickr-day.prevMonthDay.today.inRange,
+.flatpickr-day.nextMonthDay.today.inRange,
+.flatpickr-day:hover,
+.flatpickr-day.prevMonthDay:hover,
+.flatpickr-day.nextMonthDay:hover,
+.flatpickr-day:focus,
+.flatpickr-day.prevMonthDay:focus,
+.flatpickr-day.nextMonthDay:focus {
+ cursor: pointer;
+ outline: 0;
+ background: #e6e6e6;
+ border-color: #e6e6e6;
+}
+
+.flatpickr-day.today {
+ border-color: #959ea9;
+}
+
+.flatpickr-day.today:hover,
+.flatpickr-day.today:focus {
+ border-color: #959ea9;
+ background: #959ea9;
+ color: #fff;
+}
+
+.flatpickr-day.selected,
+.flatpickr-day.startRange,
+.flatpickr-day.endRange,
+.flatpickr-day.selected.inRange,
+.flatpickr-day.startRange.inRange,
+.flatpickr-day.endRange.inRange,
+.flatpickr-day.selected:focus,
+.flatpickr-day.startRange:focus,
+.flatpickr-day.endRange:focus,
+.flatpickr-day.selected:hover,
+.flatpickr-day.startRange:hover,
+.flatpickr-day.endRange:hover,
+.flatpickr-day.selected.prevMonthDay,
+.flatpickr-day.startRange.prevMonthDay,
+.flatpickr-day.endRange.prevMonthDay,
+.flatpickr-day.selected.nextMonthDay,
+.flatpickr-day.startRange.nextMonthDay,
+.flatpickr-day.endRange.nextMonthDay {
+ background: #569ff7;
+ -webkit-box-shadow: none;
+ box-shadow: none;
+ color: #fff;
+ border-color: #569ff7;
+}
+
+.flatpickr-day.selected.startRange,
+.flatpickr-day.startRange.startRange,
+.flatpickr-day.endRange.startRange {
+ border-radius: 50px 0 0 50px;
+}
+
+.flatpickr-day.selected.endRange,
+.flatpickr-day.startRange.endRange,
+.flatpickr-day.endRange.endRange {
+ border-radius: 0 50px 50px 0;
+}
+
+.flatpickr-day.selected.startRange + .endRange:not(:nth-child(7n+1)),
+.flatpickr-day.startRange.startRange + .endRange:not(:nth-child(7n+1)),
+.flatpickr-day.endRange.startRange + .endRange:not(:nth-child(7n+1)) {
+ -webkit-box-shadow: -10px 0 0 #569ff7;
+ box-shadow: -10px 0 0 #569ff7;
+}
+
+.flatpickr-day.selected.startRange.endRange,
+.flatpickr-day.startRange.startRange.endRange,
+.flatpickr-day.endRange.startRange.endRange {
+ border-radius: 50px;
+}
+
+.flatpickr-day.inRange {
+ border-radius: 0;
+ -webkit-box-shadow: -5px 0 0 #e6e6e6, 5px 0 0 #e6e6e6;
+ box-shadow: -5px 0 0 #e6e6e6, 5px 0 0 #e6e6e6;
+}
+
+.flatpickr-day.flatpickr-disabled,
+.flatpickr-day.flatpickr-disabled:hover,
+.flatpickr-day.prevMonthDay,
+.flatpickr-day.nextMonthDay,
+.flatpickr-day.notAllowed,
+.flatpickr-day.notAllowed.prevMonthDay,
+.flatpickr-day.notAllowed.nextMonthDay {
+ color: rgba(57, 57, 57, 0.3);
+ background: transparent;
+ border-color: transparent;
+ cursor: default;
+}
+
+.flatpickr-day.flatpickr-disabled,
+.flatpickr-day.flatpickr-disabled:hover {
+ cursor: not-allowed;
+ color: rgba(57, 57, 57, 0.1);
+}
+
+.flatpickr-day.week.selected {
+ border-radius: 0;
+ -webkit-box-shadow: -5px 0 0 #569ff7, 5px 0 0 #569ff7;
+ box-shadow: -5px 0 0 #569ff7, 5px 0 0 #569ff7;
+}
+
+.flatpickr-day.hidden {
+ visibility: hidden;
+}
+
+.rangeMode .flatpickr-day {
+ margin-top: 1px;
+}
+
+.flatpickr-weekwrapper {
+ float: left;
+}
+
+.flatpickr-weekwrapper .flatpickr-weeks {
+ padding: 0 12px;
+ -webkit-box-shadow: 1px 0 0 #e6e6e6;
+ box-shadow: 1px 0 0 #e6e6e6;
+}
+
+.flatpickr-weekwrapper .flatpickr-weekday {
+ float: none;
+ width: 100%;
+ line-height: 28px;
+}
+
+.flatpickr-weekwrapper span.flatpickr-day,
+.flatpickr-weekwrapper span.flatpickr-day:hover {
+ display: block;
+ width: 100%;
+ max-width: none;
+ color: rgba(57, 57, 57, 0.3);
+ background: transparent;
+ cursor: default;
+ border: none;
+}
+
+.flatpickr-innerContainer {
+ display: block;
+ display: -webkit-box;
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-box-sizing: border-box;
+ box-sizing: border-box;
+ overflow: hidden;
+}
+
+.flatpickr-rContainer {
+ display: inline-block;
+ padding: 0;
+ -webkit-box-sizing: border-box;
+ box-sizing: border-box;
+}
+
+.flatpickr-time {
+ text-align: center;
+ outline: 0;
+ display: block;
+ height: 0;
+ line-height: 40px;
+ max-height: 40px;
+ -webkit-box-sizing: border-box;
+ box-sizing: border-box;
+ overflow: hidden;
+ display: -webkit-box;
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ display: flex;
+}
+
+.flatpickr-time:after {
+ content: "";
+ display: table;
+ clear: both;
+}
+
+.flatpickr-time .numInputWrapper {
+ -webkit-box-flex: 1;
+ -webkit-flex: 1;
+ -ms-flex: 1;
+ flex: 1;
+ width: 40%;
+ height: 40px;
+ float: left;
+}
+
+.flatpickr-time .numInputWrapper span.arrowUp:after {
+ border-bottom-color: #393939;
+}
+
+.flatpickr-time .numInputWrapper span.arrowDown:after {
+ border-top-color: #393939;
+}
+
+.flatpickr-time.hasSeconds .numInputWrapper {
+ width: 26%;
+}
+
+.flatpickr-time.time24hr .numInputWrapper {
+ width: 49%;
+}
+
+.flatpickr-time input {
+ background: transparent;
+ -webkit-box-shadow: none;
+ box-shadow: none;
+ border: 0;
+ border-radius: 0;
+ text-align: center;
+ margin: 0;
+ padding: 0;
+ height: inherit;
+ line-height: inherit;
+ color: #393939;
+ font-size: 14px;
+ position: relative;
+ -webkit-box-sizing: border-box;
+ box-sizing: border-box;
+ -webkit-appearance: textfield;
+ -moz-appearance: textfield;
+ appearance: textfield;
+}
+
+.flatpickr-time input.flatpickr-hour {
+ font-weight: bold;
+}
+
+.flatpickr-time input.flatpickr-minute,
+.flatpickr-time input.flatpickr-second {
+ font-weight: 400;
+}
+
+.flatpickr-time input:focus {
+ outline: 0;
+ border: 0;
+}
+
+.flatpickr-time .flatpickr-time-separator,
+.flatpickr-time .flatpickr-am-pm {
+ height: inherit;
+ float: left;
+ line-height: inherit;
+ color: #393939;
+ font-weight: bold;
+ width: 2%;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+ -webkit-align-self: center;
+ -ms-flex-item-align: center;
+ align-self: center;
+}
+
+.flatpickr-time .flatpickr-am-pm {
+ outline: 0;
+ width: 18%;
+ cursor: pointer;
+ text-align: center;
+ font-weight: 400;
+}
+
+.flatpickr-time input:hover,
+.flatpickr-time .flatpickr-am-pm:hover,
+.flatpickr-time input:focus,
+.flatpickr-time .flatpickr-am-pm:focus {
+ background: #eee;
+}
+
+.flatpickr-input[readonly] {
+ cursor: pointer;
+}
+
+@-webkit-keyframes fpFadeInDown {
+ from {
+ opacity: 0;
+ -webkit-transform: translate3d(0, -20px, 0);
+ transform: translate3d(0, -20px, 0);
+ }
+ to {
+ opacity: 1;
+ -webkit-transform: translate3d(0, 0, 0);
+ transform: translate3d(0, 0, 0);
+ }
+}
+@keyframes fpFadeInDown {
+ from {
+ opacity: 0;
+ -webkit-transform: translate3d(0, -20px, 0);
+ transform: translate3d(0, -20px, 0);
+ }
+ to {
+ opacity: 1;
+ -webkit-transform: translate3d(0, 0, 0);
+ transform: translate3d(0, 0, 0);
+ }
+}
+.flatpickr-monthSelect-months {
+ margin: 10px 1px 3px 1px;
+ flex-wrap: wrap;
+}
+
+.flatpickr-monthSelect-month {
+ background: none;
+ border: 0;
+ border-radius: 2px;
+ -webkit-box-sizing: border-box;
+ box-sizing: border-box;
+ color: #393939;
+ cursor: pointer;
+ display: inline-block;
+ font-weight: 400;
+ margin: 0.5px;
+ justify-content: center;
+ padding: 10px;
+ position: relative;
+ -webkit-box-pack: center;
+ -webkit-justify-content: center;
+ -ms-flex-pack: center;
+ text-align: center;
+ width: 33%;
+}
+
+.flatpickr-monthSelect-month.disabled {
+ color: #eee;
+}
+
+.flatpickr-monthSelect-month.disabled:hover,
+.flatpickr-monthSelect-month.disabled:focus {
+ cursor: not-allowed;
+ background: none !important;
+}
+
+.flatpickr-monthSelect-theme-dark {
+ background: #3f4458;
+}
+
+.flatpickr-monthSelect-theme-dark .flatpickr-current-month input.cur-year {
+ color: #fff;
+}
+
+.flatpickr-monthSelect-theme-dark .flatpickr-months .flatpickr-prev-month,
+.flatpickr-monthSelect-theme-dark .flatpickr-months .flatpickr-next-month {
+ color: #fff;
+ fill: #fff;
+}
+
+.flatpickr-monthSelect-theme-dark .flatpickr-monthSelect-month {
+ color: rgba(255, 255, 255, 0.95);
+}
+
+.flatpickr-monthSelect-month:hover,
+.flatpickr-monthSelect-month:focus {
+ background: #e6e6e6;
+ cursor: pointer;
+ outline: 0;
+}
+
+.flatpickr-monthSelect-theme-dark .flatpickr-monthSelect-month:hover,
+.flatpickr-monthSelect-theme-dark .flatpickr-monthSelect-month:focus {
+ background: #646c8c;
+ border-color: #646c8c;
+}
+
+.flatpickr-monthSelect-month.selected {
+ background-color: #569ff7;
+ color: #fff;
+}
+
+.flatpickr-monthSelect-theme-dark .flatpickr-monthSelect-month.selected {
+ background: #80cbc4;
+ -webkit-box-shadow: none;
+ box-shadow: none;
+ color: #fff;
+ border-color: #80cbc4;
+}
+
+/*! Pickr 1.8.2 MIT | https://github.com/Simonwep/pickr */
+.pickr {
+ position: relative;
+ overflow: visible;
+ transform: translateY(0);
+}
+
+.pickr * {
+ box-sizing: border-box;
+ outline: none;
+ border: none;
+ -webkit-appearance: none;
+}
+
+.pickr .pcr-button {
+ position: relative;
+ height: 2em;
+ width: 2em;
+ padding: 0.5em;
+ cursor: pointer;
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
+ border-radius: 0.15em;
+ background: url('data:image/svg+xml;utf8, ') no-repeat center;
+ background-size: 0;
+ transition: all 0.3s;
+}
+
+.pickr .pcr-button::before {
+ position: absolute;
+ content: "";
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ background: url('data:image/svg+xml;utf8, ');
+ background-size: 0.5em;
+ border-radius: 0.15em;
+ z-index: -1;
+}
+
+.pickr .pcr-button::before {
+ z-index: initial;
+}
+
+.pickr .pcr-button::after {
+ position: absolute;
+ content: "";
+ top: 0;
+ left: 0;
+ height: 100%;
+ width: 100%;
+ transition: background 0.3s;
+ background: var(--pcr-color);
+ border-radius: 0.15em;
+}
+
+.pickr .pcr-button.clear {
+ background-size: 70%;
+}
+
+.pickr .pcr-button.clear::before {
+ opacity: 0;
+}
+
+.pickr .pcr-button.clear:focus {
+ box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85), 0 0 0 3px var(--pcr-color);
+}
+
+.pickr .pcr-button.disabled {
+ cursor: not-allowed;
+}
+
+.pickr *, .pcr-app * {
+ box-sizing: border-box;
+ outline: none;
+ border: none;
+ -webkit-appearance: none;
+}
+
+.pickr input:focus, .pickr input.pcr-active, .pickr button:focus, .pickr button.pcr-active, .pcr-app input:focus, .pcr-app input.pcr-active, .pcr-app button:focus, .pcr-app button.pcr-active {
+ box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85), 0 0 0 3px var(--pcr-color);
+}
+
+.pickr .pcr-palette, .pickr .pcr-slider, .pcr-app .pcr-palette, .pcr-app .pcr-slider {
+ transition: box-shadow 0.3s;
+}
+
+.pickr .pcr-palette:focus, .pickr .pcr-slider:focus, .pcr-app .pcr-palette:focus, .pcr-app .pcr-slider:focus {
+ box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85), 0 0 0 3px rgba(0, 0, 0, 0.25);
+}
+
+.pcr-app {
+ position: fixed;
+ display: flex;
+ flex-direction: column;
+ z-index: 10000;
+ border-radius: 0.1em;
+ background: #fff;
+ opacity: 0;
+ visibility: hidden;
+ transition: opacity 0.3s, visibility 0s 0.3s;
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
+ box-shadow: 0 0.15em 1.5em 0 rgba(0, 0, 0, 0.1), 0 0 1em 0 rgba(0, 0, 0, 0.03);
+ left: 0;
+ top: 0;
+}
+
+.pcr-app.visible {
+ transition: opacity 0.3s;
+ visibility: visible;
+ opacity: 1;
+}
+
+.pcr-app .pcr-swatches {
+ display: flex;
+ flex-wrap: wrap;
+ margin-top: 0.75em;
+}
+
+.pcr-app .pcr-swatches.pcr-last {
+ margin: 0;
+}
+
+@supports (display: grid) {
+ .pcr-app .pcr-swatches {
+ display: grid;
+ align-items: center;
+ grid-template-columns: repeat(auto-fit, 1.75em);
+ }
+}
+.pcr-app .pcr-swatches > button {
+ font-size: 1em;
+ position: relative;
+ width: calc(1.75em - 5px);
+ height: calc(1.75em - 5px);
+ border-radius: 0.15em;
+ cursor: pointer;
+ margin: 2.5px;
+ flex-shrink: 0;
+ justify-self: center;
+ transition: all 0.15s;
+ overflow: hidden;
+ background: transparent;
+ z-index: 1;
+}
+
+.pcr-app .pcr-swatches > button::before {
+ position: absolute;
+ content: "";
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ background: url('data:image/svg+xml;utf8, ');
+ background-size: 6px;
+ border-radius: 0.15em;
+ z-index: -1;
+}
+
+.pcr-app .pcr-swatches > button::after {
+ content: "";
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ background: var(--pcr-color);
+ border: 1px solid rgba(0, 0, 0, 0.05);
+ border-radius: 0.15em;
+ box-sizing: border-box;
+}
+
+.pcr-app .pcr-swatches > button:hover {
+ filter: brightness(1.05);
+}
+
+.pcr-app .pcr-swatches > button:not(.pcr-active) {
+ box-shadow: none;
+}
+
+.pcr-app .pcr-interaction {
+ display: flex;
+ flex-wrap: wrap;
+ align-items: center;
+ margin: 0 -0.2em 0 -0.2em;
+}
+
+.pcr-app .pcr-interaction > * {
+ margin: 0 0.2em;
+}
+
+.pcr-app .pcr-interaction input {
+ letter-spacing: 0.07em;
+ font-size: 0.75em;
+ text-align: center;
+ cursor: pointer;
+ color: #75797e;
+ background: #f1f3f4;
+ border-radius: 0.15em;
+ transition: all 0.15s;
+ padding: 0.45em 0.5em;
+ margin-top: 0.75em;
+}
+
+.pcr-app .pcr-interaction input:hover {
+ filter: brightness(0.975);
+}
+
+.pcr-app .pcr-interaction input:focus {
+ box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85), 0 0 0 3px rgba(66, 133, 244, 0.75);
+}
+
+.pcr-app .pcr-interaction .pcr-result {
+ color: #75797e;
+ text-align: left;
+ flex: 1 1 8em;
+ min-width: 8em;
+ transition: all 0.2s;
+ border-radius: 0.15em;
+ background: #f1f3f4;
+ cursor: text;
+}
+
+.pcr-app .pcr-interaction .pcr-result::-moz-selection {
+ background: #4285f4;
+ color: #fff;
+}
+
+.pcr-app .pcr-interaction .pcr-result::selection {
+ background: #4285f4;
+ color: #fff;
+}
+
+.pcr-app .pcr-interaction .pcr-type.active {
+ color: #fff;
+ background: #4285f4;
+}
+
+.pcr-app .pcr-interaction .pcr-save, .pcr-app .pcr-interaction .pcr-cancel, .pcr-app .pcr-interaction .pcr-clear {
+ color: #fff;
+ width: auto;
+}
+
+.pcr-app .pcr-interaction .pcr-save, .pcr-app .pcr-interaction .pcr-cancel, .pcr-app .pcr-interaction .pcr-clear {
+ color: #fff;
+}
+
+.pcr-app .pcr-interaction .pcr-save:hover, .pcr-app .pcr-interaction .pcr-cancel:hover, .pcr-app .pcr-interaction .pcr-clear:hover {
+ filter: brightness(0.925);
+}
+
+.pcr-app .pcr-interaction .pcr-save {
+ background: #4285f4;
+}
+
+.pcr-app .pcr-interaction .pcr-clear, .pcr-app .pcr-interaction .pcr-cancel {
+ background: #f44250;
+}
+
+.pcr-app .pcr-interaction .pcr-clear:focus, .pcr-app .pcr-interaction .pcr-cancel:focus {
+ box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85), 0 0 0 3px rgba(244, 66, 80, 0.75);
+}
+
+.pcr-app .pcr-selection .pcr-picker {
+ position: absolute;
+ height: 18px;
+ width: 18px;
+ border: 2px solid #fff;
+ border-radius: 100%;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+}
+
+.pcr-app .pcr-selection .pcr-color-palette, .pcr-app .pcr-selection .pcr-color-chooser, .pcr-app .pcr-selection .pcr-color-opacity {
+ position: relative;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+ display: flex;
+ flex-direction: column;
+ cursor: grab;
+ cursor: -webkit-grab;
+}
+
+.pcr-app .pcr-selection .pcr-color-palette:active, .pcr-app .pcr-selection .pcr-color-chooser:active, .pcr-app .pcr-selection .pcr-color-opacity:active {
+ cursor: grabbing;
+ cursor: -webkit-grabbing;
+}
+
+.pcr-app[data-theme=monolith] {
+ width: 14.25em;
+ max-width: 95vw;
+ padding: 0.8em;
+}
+
+.pcr-app[data-theme=monolith] .pcr-selection {
+ display: flex;
+ flex-direction: column;
+ justify-content: space-between;
+ flex-grow: 1;
+}
+
+.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-preview {
+ position: relative;
+ z-index: 1;
+ width: 100%;
+ height: 1em;
+ display: flex;
+ flex-direction: row;
+ justify-content: space-between;
+ margin-bottom: 0.5em;
+}
+
+.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-preview::before {
+ position: absolute;
+ content: "";
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ background: url('data:image/svg+xml;utf8, ');
+ background-size: 0.5em;
+ border-radius: 0.15em;
+ z-index: -1;
+}
+
+.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-preview .pcr-last-color {
+ cursor: pointer;
+ transition: background-color 0.3s, box-shadow 0.3s;
+ border-radius: 0.15em 0 0 0.15em;
+ z-index: 2;
+}
+
+.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-preview .pcr-current-color {
+ border-radius: 0 0.15em 0.15em 0;
+}
+
+.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-preview .pcr-last-color, .pcr-app[data-theme=monolith] .pcr-selection .pcr-color-preview .pcr-current-color {
+ background: var(--pcr-color);
+ width: 50%;
+ height: 100%;
+}
+
+.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-palette {
+ width: 100%;
+ height: 8em;
+ z-index: 1;
+}
+
+.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-palette .pcr-palette {
+ border-radius: 0.15em;
+ width: 100%;
+ height: 100%;
+}
+
+.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-palette .pcr-palette::before {
+ position: absolute;
+ content: "";
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ background: url('data:image/svg+xml;utf8, ');
+ background-size: 0.5em;
+ border-radius: 0.15em;
+ z-index: -1;
+}
+
+.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-chooser, .pcr-app[data-theme=monolith] .pcr-selection .pcr-color-opacity {
+ height: 0.5em;
+ margin-top: 0.75em;
+}
+
+.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-chooser .pcr-picker, .pcr-app[data-theme=monolith] .pcr-selection .pcr-color-opacity .pcr-picker {
+ top: 50%;
+ transform: translateY(-50%);
+}
+
+.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-chooser .pcr-slider, .pcr-app[data-theme=monolith] .pcr-selection .pcr-color-opacity .pcr-slider {
+ flex-grow: 1;
+ border-radius: 50em;
+}
+
+.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-chooser .pcr-slider {
+ background: linear-gradient(to right, red, #ff0, lime, cyan, blue, #f0f, red);
+}
+
+.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-opacity .pcr-slider {
+ background: linear-gradient(to right, transparent, black), url('data:image/svg+xml;utf8, ');
+ background-size: 100%, 0.25em;
+}
diff --git a/_content/Blazorise/blazorise.min.css b/_content/Blazorise/blazorise.min.css
new file mode 100755
index 00000000..bd0effd9
--- /dev/null
+++ b/_content/Blazorise/blazorise.min.css
@@ -0,0 +1,3 @@
+body:before{content:"mobile";display:none;visibility:hidden;}@media(min-width:768px){body:before{content:"tablet";}}@media(min-width:992px){body:before{content:"desktop";}}@media(min-width:1200px){body:before{content:"widescreen";}}@media(min-width:1400px){body:before{content:"fullhd";}}hr.divider.divider-solid{border-top:var(--b-divider-thickness,1px) solid var(--b-divider-color,#999);}hr.divider.divider-dashed{border-top:var(--b-divider-thickness,1px) dashed var(--b-divider-color,#999);}hr.divider.divider-dotted{border-top:var(--b-divider-thickness,1px) dotted var(--b-divider-color,#999);}hr.divider.divider-text{position:relative;border:0;height:var(--b-divider-thickness,1px);background:var(--b-divider-color,#999);}hr.divider.divider-text::before{content:attr(data-content);display:inline-block;background:#fff;font-weight:bold;font-size:var(--b-divider-font-size,.85rem);color:var(--b-divider-color,#999);border-radius:30rem;padding:.2rem 2rem;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);}.b-drop-zone{position:relative;transition:all 300ms cubic-bezier(.4,0,.2,1) 0ms;}.b-drop-zone.b-drop-zone-drag-block>*{pointer-events:none;}.b-drop-zone.b-drop-zone-drop-allowed{outline:1px solid var(--b-theme-success,"#00FF00")!important;}.b-drop-zone.b-drop-zone-drop-not-allowed{outline:1px solid var(--b-theme-danger,"#FF0000")!important;}.b-drop-zone-draggable:not(.draggable-preview-start){cursor:grab;user-select:none;}.b-drop-zone-draggable:not(.draggable-preview-start):active{cursor:grabbing;}.b-drop-zone .draggable-placeholder{outline:2px dashed var(--b-theme-primary,"#0000FF")!important;padding:1rem;}.b-drop-zone .draggable-preview-start{height:20px;width:100%;position:absolute;top:0;left:0;z-index:1;}.b-file-picker{display:inline-block;width:100%;}.b-file-picker .b-text-drop{border:1px solid rgba(0,0,0,.15);margin-top:.5rem;display:block;text-align:center;font-size:.75rem;padding-top:.25rem;padding-bottom:.25rem;}.b-file-picker .b-file-picker-file{min-width:25rem;}.b-file-picker .b-file-picker-file span{display:block;}.b-file-picker .b-file-picker-file .b-file-picker-file-size,.b-file-picker .b-file-picker-file .b-file-picker-file-status,.b-file-picker .b-file-picker-file .b-file-picker-file-relativepath{font-size:.75rem;}.b-input-color-picker{padding:.6rem;}.b-input-color-picker>.b-input-color-picker-preview{position:relative;z-index:1;width:100%;height:100%;display:flex;flex-direction:row;justify-content:space-between;}.b-input-color-picker>.b-input-color-picker-preview::before{position:absolute;content:"";top:0;left:0;width:100%;height:100%;background:url('data:image/svg+xml;utf8, ');background-size:.5em;border-radius:.15em;z-index:-1;}.b-input-color-picker>.b-input-color-picker-preview>.b-input-color-picker-curent-color{display:inline-block;width:100%;height:100%;}.b-input-color-picker[aria-disabled=true]{opacity:.65;}.progress.progress-xs{height:.25rem;}.progress.progress-sm{height:.5rem;}.progress.progress-md{height:1rem;}.progress.progress-lg{height:1.5rem;}.progress.progress-xl{height:2rem;}.b-page-progress{width:100%;height:4px;z-index:9999;top:0;left:0;position:fixed;display:none;}.b-page-progress .b-page-progress-indicator{width:0;height:100%;transition:height .3s;background-color:#000;transition:width 1s;}.b-page-progress .b-page-progress-indicator.b-page-progress-indicator-indeterminate{width:30%;animation:running-page-progress 2s cubic-bezier(.4,0,.2,1) infinite;}.b-page-progress.b-page-progress-active{display:block;}@keyframes running-page-progress{0%{margin-left:0;margin-right:100%;}50%{margin-left:25%;margin-right:0%;}100%{margin-left:100%;margin-right:0;}}.tippy-box[data-animation=scale][data-placement^=top]{transform-origin:bottom;}.tippy-box[data-animation=scale][data-placement^=bottom]{transform-origin:top;}.tippy-box[data-animation=scale][data-placement^=left]{transform-origin:right;}.tippy-box[data-animation=scale][data-placement^=right]{transform-origin:left;}.tippy-box[data-animation=scale][data-state=hidden]{transform:scale(.5);opacity:0;}.tippy-box[data-theme~=blazorise]{background-color:RGBA(var(--b-tooltip-background-color-r,128),var(--b-tooltip-background-color-g,128),var(--b-tooltip-background-color-b,128),var(--b-tooltip-background-opacity,.9));color:var(--b-tooltip-color,#fff);}.tippy-box[data-theme~=blazorise][data-placement^=top]>.tippy-arrow::before{border-top-color:RGBA(var(--b-tooltip-background-color-r,128),var(--b-tooltip-background-color-g,128),var(--b-tooltip-background-color-b,128),var(--b-tooltip-background-opacity,.9));}.tippy-box[data-theme~=blazorise][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:RGBA(var(--b-tooltip-background-color-r,128),var(--b-tooltip-background-color-g,128),var(--b-tooltip-background-color-b,128),var(--b-tooltip-background-opacity,.9));}.tippy-box[data-theme~=blazorise][data-placement^=left]>.tippy-arrow::before{border-left-color:RGBA(var(--b-tooltip-background-color-r,128),var(--b-tooltip-background-color-g,128),var(--b-tooltip-background-color-b,128),var(--b-tooltip-background-opacity,.9));}.tippy-box[data-theme~=blazorise][data-placement^=right]>.tippy-arrow::before{border-right-color:RGBA(var(--b-tooltip-background-color-r,128),var(--b-tooltip-background-color-g,128),var(--b-tooltip-background-color-b,128),var(--b-tooltip-background-opacity,.9));}.tippy-box[data-theme~=blazorise]>.tippy-svg-arrow{fill:RGBA(var(--b-tooltip-background-color-r,128),var(--b-tooltip-background-color-g,128),var(--b-tooltip-background-color-b,128),var(--b-tooltip-background-opacity,.9));}.b-tooltip-inline{display:inline-block;}.b-layout{display:flex;flex:auto;flex-direction:column;}.b-layout.b-layout-root{height:100vh;}.b-layout,.b-layout *{box-sizing:border-box;}@keyframes spinner{0%{transform:translate3d(-50%,-50%,0) rotate(0deg);}100%{transform:translate3d(-50%,-50%,0) rotate(360deg);}}.b-layout>.b-layout-loading{z-index:9999;position:fixed;width:100%;height:100%;background:rgba(0,0,0,.3);}.b-layout>.b-layout-loading:before{animation:1s linear infinite spinner;border:solid 3px #eee;border-bottom-color:var(--b-theme-primary);border-radius:50%;height:40px;left:50%;position:absolute;top:50%;transform:translate3d(-50%,-50%,0);width:40px;content:" ";}.b-layout.b-layout-has-sider{flex-direction:row;min-height:0;}.b-layout.b-layout-has-sider .b-layout{overflow-x:hidden;}.b-layout-header,.b-layout-footer{flex:0 0 auto;}.b-layout-header{color:rgba(0,0,0,.65);}.b-layout.b-layout-root.b-layout-has-sider>.b-layout-header-fixed,.b-layout.b-layout-root.b-layout-has-sider>.b-layout>.b-layout-header-fixed{position:sticky;top:0;width:100%;flex:0;}.b-layout.b-layout-root:not(.b-layout-has-sider) .b-layout-header-fixed,.b-layout.b-layout-root:not(.b-layout-has-sider)>.b-layout .b-layout-header-fixed{position:fixed;top:0;left:0;right:0;flex:0;}.b-layout.b-layout-root:not(.b-layout-has-sider) .b-layout-header-fixed+.b-layout-content,.b-layout.b-layout-root:not(.b-layout-has-sider)>.b-layout .b-layout-header-fixed+.b-layout-content{margin-top:var(--b-bar-horizontal-height,auto);}.b-layout.b-layout-root>.b-layout-header.b-layout-header-fixed+.b-layout.b-layout-has-sider{margin-top:var(--b-bar-horizontal-height,auto);}.b-layout-footer{color:rgba(0,0,0,.65);}.b-layout-footer-fixed{position:sticky;z-index:1;bottom:0;flex:0;}.b-layout-content{flex:1;}.b-layout-sider{display:flex;position:relative;background:#001529;}.b-layout-sider-content{position:sticky;top:0;z-index:2;}.b-layout-header .navbar{line-height:inherit;}.b-bar-horizontal[data-collapse=hide]{flex-wrap:nowrap;}.b-bar-horizontal[data-collapse=hide][data-broken=true]{height:auto;}.b-bar-horizontal[data-broken=false]{height:auto;}.b-layout>.b-layout-header .b-bar-horizontal[data-collapse=hide][data-broken=true]{height:var(--b-bar-horizontal-height,auto);}.b-layout>.b-layout-header .b-bar-horizontal[data-broken=false]{height:var(--b-bar-horizontal-height,auto);}.b-bar-initial{display:none!important;}.b-bar-vertical-inline,.b-bar-vertical-popout,.b-bar-vertical-small{display:flex;flex-direction:column;flex-wrap:nowrap;position:sticky;top:0;padding:0;min-width:var(--b-vertical-bar-width,230px);max-width:var(--b-vertical-bar-width,230px);width:var(--b-vertical-bar-width,230px);box-shadow:2px 0 6px rgba(0,21,41,.35);height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}.b-bar-vertical-inline:not(.b-bar-initial),.b-bar-vertical-popout:not(.b-bar-initial),.b-bar-vertical-small:not(.b-bar-initial){transition:width 200ms ease-in-out,min-width 200ms ease-in-out;}.b-bar-vertical-inline .b-bar-menu,.b-bar-vertical-popout .b-bar-menu,.b-bar-vertical-small .b-bar-menu{width:100%;display:flex;flex:1;justify-content:space-between;flex-direction:column;align-self:stretch;}.b-bar-vertical-inline .b-bar-brand,.b-bar-vertical-popout .b-bar-brand,.b-bar-vertical-small .b-bar-brand{width:100%;display:flex;height:var(--b-vertical-bar-brand-height,64px);min-height:var(--b-vertical-bar-brand-height,64px);}.b-bar-vertical-inline .b-bar-toggler-inline,.b-bar-vertical-popout .b-bar-toggler-inline,.b-bar-vertical-small .b-bar-toggler-inline{height:var(--b-vertical-bar-brand-height,64px);padding:12px;display:inline-flex;cursor:pointer;position:absolute;right:0;}.b-bar-vertical-inline .b-bar-toggler-inline>*,.b-bar-vertical-popout .b-bar-toggler-inline>*,.b-bar-vertical-small .b-bar-toggler-inline>*{margin:auto;}.b-bar-vertical-inline .b-bar-toggler-popout:not(.b-bar-mobile-toggle),.b-bar-vertical-popout .b-bar-toggler-popout:not(.b-bar-mobile-toggle),.b-bar-vertical-small .b-bar-toggler-popout:not(.b-bar-mobile-toggle){display:flex;position:fixed;left:var(--b-vertical-bar-width,230px);border-radius:0 10px 10px 0;border:0;width:10px;height:40px;padding:5px;align-items:center;box-shadow:2px 0 6px rgba(0,21,41,.35);cursor:pointer;}.b-bar-vertical-inline .b-bar-toggler-popout:not(.b-bar-mobile-toggle):not(.b-bar-initial),.b-bar-vertical-popout .b-bar-toggler-popout:not(.b-bar-mobile-toggle):not(.b-bar-initial),.b-bar-vertical-small .b-bar-toggler-popout:not(.b-bar-mobile-toggle):not(.b-bar-initial){transition:width 200ms ease-in-out,left 200ms ease-in-out;}.b-bar-vertical-inline .b-bar-toggler-popout:not(.b-bar-mobile-toggle)>*,.b-bar-vertical-popout .b-bar-toggler-popout:not(.b-bar-mobile-toggle)>*,.b-bar-vertical-small .b-bar-toggler-popout:not(.b-bar-mobile-toggle)>*{margin:auto;display:none;}.b-bar-vertical-inline .b-bar-toggler-popout:not(.b-bar-mobile-toggle):hover,.b-bar-vertical-popout .b-bar-toggler-popout:not(.b-bar-mobile-toggle):hover,.b-bar-vertical-small .b-bar-toggler-popout:not(.b-bar-mobile-toggle):hover{width:45px;}.b-bar-vertical-inline .b-bar-toggler-popout:not(.b-bar-mobile-toggle):hover>*,.b-bar-vertical-popout .b-bar-toggler-popout:not(.b-bar-mobile-toggle):hover>*,.b-bar-vertical-small .b-bar-toggler-popout:not(.b-bar-mobile-toggle):hover>*{display:block;}.b-bar-vertical-inline .b-bar-item,.b-bar-vertical-popout .b-bar-item,.b-bar-vertical-small .b-bar-item{margin:auto;flex-grow:1;min-height:40px;}.b-bar-vertical-inline .b-bar-item .b-bar-icon,.b-bar-vertical-popout .b-bar-item .b-bar-icon,.b-bar-vertical-small .b-bar-item .b-bar-icon{font-size:1.25rem;vertical-align:middle;margin:3px;display:inline-block;}.b-bar-vertical-inline .b-bar-start,.b-bar-vertical-popout .b-bar-start,.b-bar-vertical-small .b-bar-start{width:100%;display:block;}.b-bar-vertical-inline .b-bar-end,.b-bar-vertical-popout .b-bar-end,.b-bar-vertical-small .b-bar-end{padding-bottom:1rem;width:100%;padding-top:1rem;display:block;}.b-bar-vertical-inline .b-bar-end .b-bar-dropdown,.b-bar-vertical-popout .b-bar-end .b-bar-dropdown,.b-bar-vertical-small .b-bar-end .b-bar-dropdown{position:relative;}.b-bar-vertical-inline .b-bar-end .b-bar-dropdown-menu-container,.b-bar-vertical-popout .b-bar-end .b-bar-dropdown-menu-container,.b-bar-vertical-small .b-bar-end .b-bar-dropdown-menu-container{bottom:0;}.b-bar-vertical-inline .b-bar-link,.b-bar-vertical-popout .b-bar-link,.b-bar-vertical-small .b-bar-link{display:block;width:100%;text-decoration:none;padding:.5rem .5rem .5rem 1.5rem;cursor:pointer;overflow-x:hidden;line-height:1.5rem;vertical-align:middle;transition:font-size 150ms ease-in;}.b-bar-vertical-inline .b-bar-label,.b-bar-vertical-popout .b-bar-label,.b-bar-vertical-small .b-bar-label{background:transparent;color:#adb5bd;padding:.375rem 1.25rem;font-size:.75rem;text-overflow:ellipsis;overflow-x:hidden;}.b-bar-vertical-inline .b-bar-dropdown .b-bar-dropdown-toggle:before,.b-bar-vertical-popout .b-bar-dropdown .b-bar-dropdown-toggle:before,.b-bar-vertical-small .b-bar-dropdown .b-bar-dropdown-toggle:before{content:" ";border:solid;border-width:0 2px 2px 0;display:inline-block;padding:2px;right:1rem;transition:transform 200ms ease-out;float:right;position:relative;-webkit-transform:rotate(225deg);transform:rotate(225deg);top:.7rem;}.b-bar-vertical-inline .b-bar-dropdown:not([data-visible=true]) .b-bar-dropdown-toggle:before,.b-bar-vertical-popout .b-bar-dropdown:not([data-visible=true]) .b-bar-dropdown-toggle:before,.b-bar-vertical-small .b-bar-dropdown:not([data-visible=true]) .b-bar-dropdown-toggle:before{-webkit-transform:rotate(45deg);transform:rotate(45deg);top:.5rem;}.b-bar-vertical-inline .b-bar-dropdown .b-bar-dropdown-menu,.b-bar-vertical-popout .b-bar-dropdown .b-bar-dropdown-menu,.b-bar-vertical-small .b-bar-dropdown .b-bar-dropdown-menu{display:none;background:inherit;color:inherit;float:none;padding:5px 0;}.b-bar-vertical-inline .b-bar-dropdown .b-bar-dropdown-menu[data-visible=true],.b-bar-vertical-popout .b-bar-dropdown .b-bar-dropdown-menu[data-visible=true],.b-bar-vertical-small .b-bar-dropdown .b-bar-dropdown-menu[data-visible=true]{display:block;}.b-bar-vertical-inline .b-bar-dropdown .b-bar-dropdown-menu .b-bar-dropdown-item,.b-bar-vertical-popout .b-bar-dropdown .b-bar-dropdown-menu .b-bar-dropdown-item,.b-bar-vertical-small .b-bar-dropdown .b-bar-dropdown-menu .b-bar-dropdown-item{position:relative;color:inherit;transition:background 100ms ease-in-out,color 100ms ease-in-out;text-decoration:none;display:block;width:100%;overflow-x:hidden;}.b-bar-vertical-inline .b-bar-dropdown .b-bar-dropdown-menu .b-bar-dropdown-item i,.b-bar-vertical-popout .b-bar-dropdown .b-bar-dropdown-menu .b-bar-dropdown-item i,.b-bar-vertical-small .b-bar-dropdown .b-bar-dropdown-menu .b-bar-dropdown-item i{margin-right:.3rem;}.b-bar-vertical-inline .b-bar-dropdown .b-bar-dropdown-menu:before,.b-bar-vertical-popout .b-bar-dropdown .b-bar-dropdown-menu:before,.b-bar-vertical-small .b-bar-dropdown .b-bar-dropdown-menu:before{background:inherit;box-shadow:none;}.b-bar-vertical-inline .b-bar-mobile-toggle,.b-bar-vertical-popout .b-bar-mobile-toggle,.b-bar-vertical-small .b-bar-mobile-toggle{right:20px;margin:auto;display:none;}.b-bar-vertical-inline .b-bar-item-multi-line,.b-bar-vertical-popout .b-bar-item-multi-line,.b-bar-vertical-small .b-bar-item-multi-line{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:var(--b-bar-item-lines,2);white-space:normal!important;overflow:hidden;text-overflow:ellipsis;}.b-bar-vertical-inline.b-bar-dark,.b-bar-vertical-popout.b-bar-dark,.b-bar-vertical-small.b-bar-dark{background:var(--b-bar-dark-background,#001529);color:var(--b-bar-dark-color,rgba(255,255,255,.5));}.b-bar-vertical-inline.b-bar-dark .b-bar-brand,.b-bar-vertical-popout.b-bar-dark .b-bar-brand,.b-bar-vertical-small.b-bar-dark .b-bar-brand{background:var(--b-bar-brand-dark-background,rgba(255,255,255,.025));}.b-bar-vertical-inline.b-bar-dark .b-bar-brand .b-bar-link,.b-bar-vertical-popout.b-bar-dark .b-bar-brand .b-bar-link,.b-bar-vertical-small.b-bar-dark .b-bar-brand .b-bar-link{color:#fff;}.b-bar-vertical-inline.b-bar-dark .b-bar-brand .b-bar-link.active,.b-bar-vertical-popout.b-bar-dark .b-bar-brand .b-bar-link.active,.b-bar-vertical-small.b-bar-dark .b-bar-brand .b-bar-link.active{color:#fff;background:inherit;}.b-bar-vertical-inline.b-bar-dark .b-bar-brand .b-bar-link:hover,.b-bar-vertical-popout.b-bar-dark .b-bar-brand .b-bar-link:hover,.b-bar-vertical-small.b-bar-dark .b-bar-brand .b-bar-link:hover{color:#fff;background:inherit;}.b-bar-vertical-inline.b-bar-dark .b-bar-toggler-popout:not(.b-bar-mobile-toggle),.b-bar-vertical-popout.b-bar-dark .b-bar-toggler-popout:not(.b-bar-mobile-toggle),.b-bar-vertical-small.b-bar-dark .b-bar-toggler-popout:not(.b-bar-mobile-toggle){background:var(--b-bar-dark-background,#001529);color:var(--b-bar-dark-color,rgba(255,255,255,.5));}.b-bar-vertical-inline.b-bar-dark .b-bar-dropdown-menu,.b-bar-vertical-popout.b-bar-dark .b-bar-dropdown-menu,.b-bar-vertical-small.b-bar-dark .b-bar-dropdown-menu{background:var(--b-bar-dropdown-dark-background,#000c17);}.b-bar-vertical-inline.b-bar-dark .b-bar-dropdown-menu .b-bar-dropdown-item.active,.b-bar-vertical-popout.b-bar-dark .b-bar-dropdown-menu .b-bar-dropdown-item.active,.b-bar-vertical-small.b-bar-dark .b-bar-dropdown-menu .b-bar-dropdown-item.active{color:var(--b-bar-item-dark-active-color,#fff);background:var(--b-bar-item-dark-active-background,#0288d1);}.b-bar-vertical-inline.b-bar-dark .b-bar-dropdown-menu .b-bar-dropdown-item:hover,.b-bar-vertical-popout.b-bar-dark .b-bar-dropdown-menu .b-bar-dropdown-item:hover,.b-bar-vertical-small.b-bar-dark .b-bar-dropdown-menu .b-bar-dropdown-item:hover{color:var(--b-bar-item-dark-hover-color,#fff);background:var(--b-bar-item-dark-hover-background,rgba(255,255,255,.3));}.b-bar-vertical-inline.b-bar-dark .b-bar-link,.b-bar-vertical-popout.b-bar-dark .b-bar-link,.b-bar-vertical-small.b-bar-dark .b-bar-link{color:inherit;}.b-bar-vertical-inline.b-bar-dark .b-bar-link.active,.b-bar-vertical-popout.b-bar-dark .b-bar-link.active,.b-bar-vertical-small.b-bar-dark .b-bar-link.active{color:var(--b-bar-item-dark-active-color,#fff);background:var(--b-bar-item-dark-active-background,#0288d1);}.b-bar-vertical-inline.b-bar-dark .b-bar-link:hover,.b-bar-vertical-popout.b-bar-dark .b-bar-link:hover,.b-bar-vertical-small.b-bar-dark .b-bar-link:hover{color:var(--b-bar-item-dark-hover-color,#fff);background:var(--b-bar-item-dark-hover-background,rgba(255,255,255,.3));}.b-bar-vertical-inline.b-bar-light,.b-bar-vertical-popout.b-bar-light,.b-bar-vertical-small.b-bar-light{background:var(--b-bar-light-background,#fff);color:var(--b-bar-light-color,rgba(0,0,0,.7));}.b-bar-vertical-inline.b-bar-light .b-bar-brand,.b-bar-vertical-popout.b-bar-light .b-bar-brand,.b-bar-vertical-small.b-bar-light .b-bar-brand{background:var(--b-bar-brand-light-background,rgba(0,0,0,.025));}.b-bar-vertical-inline.b-bar-light .b-bar-brand .b-bar-link,.b-bar-vertical-popout.b-bar-light .b-bar-brand .b-bar-link,.b-bar-vertical-small.b-bar-light .b-bar-brand .b-bar-link{color:#000;}.b-bar-vertical-inline.b-bar-light .b-bar-brand .b-bar-link.active,.b-bar-vertical-popout.b-bar-light .b-bar-brand .b-bar-link.active,.b-bar-vertical-small.b-bar-light .b-bar-brand .b-bar-link.active{background:inherit;}.b-bar-vertical-inline.b-bar-light .b-bar-brand .b-bar-link:hover,.b-bar-vertical-popout.b-bar-light .b-bar-brand .b-bar-link:hover,.b-bar-vertical-small.b-bar-light .b-bar-brand .b-bar-link:hover{background:inherit;}.b-bar-vertical-inline.b-bar-light .b-bar-toggler-popout:not(.b-bar-mobile-toggle),.b-bar-vertical-popout.b-bar-light .b-bar-toggler-popout:not(.b-bar-mobile-toggle),.b-bar-vertical-small.b-bar-light .b-bar-toggler-popout:not(.b-bar-mobile-toggle){background:var(--b-bar-brand-light-background,#fff);color:var(--b-bar-light-color,rgba(0,0,0,.7));}.b-bar-vertical-inline.b-bar-light .b-bar-dropdown-menu,.b-bar-vertical-popout.b-bar-light .b-bar-dropdown-menu,.b-bar-vertical-small.b-bar-light .b-bar-dropdown-menu{background:var(--b-bar-dropdown-light-background,#f2f2f2);}.b-bar-vertical-inline.b-bar-light .b-bar-dropdown-menu .b-bar-dropdown-item.active,.b-bar-vertical-popout.b-bar-light .b-bar-dropdown-menu .b-bar-dropdown-item.active,.b-bar-vertical-small.b-bar-light .b-bar-dropdown-menu .b-bar-dropdown-item.active{color:var(--b-bar-item-light-active-color,#000);background:var(--b-bar-item-light-active-background,#0288d1);}.b-bar-vertical-inline.b-bar-light .b-bar-dropdown-menu .b-bar-dropdown-item:hover,.b-bar-vertical-popout.b-bar-light .b-bar-dropdown-menu .b-bar-dropdown-item:hover,.b-bar-vertical-small.b-bar-light .b-bar-dropdown-menu .b-bar-dropdown-item:hover{color:var(--b-bar-item-light-hover-color,#000);background:var(--b-bar-item-light-hover-background,rgba(0,0,0,.3));}.b-bar-vertical-inline.b-bar-light .b-bar-link,.b-bar-vertical-popout.b-bar-light .b-bar-link,.b-bar-vertical-small.b-bar-light .b-bar-link{color:inherit;}.b-bar-vertical-inline.b-bar-light .b-bar-link.active,.b-bar-vertical-popout.b-bar-light .b-bar-link.active,.b-bar-vertical-small.b-bar-light .b-bar-link.active{color:var(--b-bar-item-light-active-color,#000);background:var(--b-bar-item-light-active-background,#0288d1);}.b-bar-vertical-inline.b-bar-light .b-bar-link:hover,.b-bar-vertical-popout.b-bar-light .b-bar-link:hover,.b-bar-vertical-small.b-bar-light .b-bar-link:hover{color:var(--b-bar-item-light-hover-color,#000);background:var(--b-bar-item-light-hover-background,rgba(0,0,0,.3));}.b-bar-vertical-small,.b-bar-vertical-inline[data-collapse=small],.b-bar-vertical-popout[data-collapse=small]{width:var(--b-vertical-bar-small-width,64px);min-width:var(--b-vertical-bar-small-width,64px);}.b-bar-vertical-small:not(.b-bar-initial),.b-bar-vertical-inline[data-collapse=small]:not(.b-bar-initial),.b-bar-vertical-popout[data-collapse=small]:not(.b-bar-initial){transition:width 200ms ease-in-out,min-width 200ms ease-in-out;}.b-bar-vertical-small .b-bar-toggler-inline,.b-bar-vertical-inline[data-collapse=small] .b-bar-toggler-inline,.b-bar-vertical-popout[data-collapse=small] .b-bar-toggler-inline{position:relative;width:100%;}.b-bar-vertical-small .b-bar-toggler-popout:not(.b-bar-mobile-toggle),.b-bar-vertical-inline[data-collapse=small] .b-bar-toggler-popout:not(.b-bar-mobile-toggle),.b-bar-vertical-popout[data-collapse=small] .b-bar-toggler-popout:not(.b-bar-mobile-toggle){left:var(--b-vertical-bar-small-width,64px);}.b-bar-vertical-small .b-bar-item>.b-bar-dropdown>.b-bar-dropdown-toggle:before,.b-bar-vertical-inline[data-collapse=small] .b-bar-item>.b-bar-dropdown>.b-bar-dropdown-toggle:before,.b-bar-vertical-popout[data-collapse=small] .b-bar-item>.b-bar-dropdown>.b-bar-dropdown-toggle:before{display:none;}.b-bar-vertical-small .b-bar-dropdown .b-bar-dropdown-menu-container,.b-bar-vertical-inline[data-collapse=small] .b-bar-dropdown .b-bar-dropdown-menu-container,.b-bar-vertical-popout[data-collapse=small] .b-bar-dropdown .b-bar-dropdown-menu-container{z-index:100;max-height:50vh;position:absolute!important;margin:-42px 5px 0 5px;display:flex;width:var(--b-vertical-bar-popout-menu-width,180px);left:var(--b-vertical-bar-small-width,64px);}.b-bar-vertical-small .b-bar-dropdown .b-bar-dropdown-menu-container.b-bar-right,.b-bar-vertical-inline[data-collapse=small] .b-bar-dropdown .b-bar-dropdown-menu-container.b-bar-right,.b-bar-vertical-popout[data-collapse=small] .b-bar-dropdown .b-bar-dropdown-menu-container.b-bar-right{right:var(--b-vertical-bar-small-width,64px);left:unset;}.b-bar-vertical-small .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu,.b-bar-vertical-inline[data-collapse=small] .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu,.b-bar-vertical-popout[data-collapse=small] .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu{box-shadow:0 3px 6px -4px rgba(0,0,0,.12),0 6px 16px 0 rgba(0,0,0,.08),0 9px 28px 8px rgba(0,0,0,.05);border-radius:3px;overflow-y:auto;overflow-x:hidden;flex:1 100%;}.b-bar-vertical-small .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu .b-bar-dropdown-item,.b-bar-vertical-inline[data-collapse=small] .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu .b-bar-dropdown-item,.b-bar-vertical-popout[data-collapse=small] .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu .b-bar-dropdown-item{padding:.5rem .5rem .5rem 1.5rem;}.b-bar-vertical-small .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu:before,.b-bar-vertical-inline[data-collapse=small] .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu:before,.b-bar-vertical-popout[data-collapse=small] .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu:before{position:absolute;top:0;left:-7px;right:0;bottom:0;width:100%;height:100%;opacity:.0001;content:" ";z-index:-1;}.b-bar-vertical-small .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu.b-bar-right:before,.b-bar-vertical-inline[data-collapse=small] .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu.b-bar-right:before,.b-bar-vertical-popout[data-collapse=small] .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu.b-bar-right:before{left:unset;right:-7px;}.b-bar-vertical-small .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu>.b-bar-dropdown .b-bar-dropdown-menu-container,.b-bar-vertical-inline[data-collapse=small] .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu>.b-bar-dropdown .b-bar-dropdown-menu-container,.b-bar-vertical-popout[data-collapse=small] .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu>.b-bar-dropdown .b-bar-dropdown-menu-container{left:var(--b-vertical-bar-popout-menu-width,180px);}.b-bar-vertical-small .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu>.b-bar-dropdown .b-bar-dropdown-menu-container.b-bar-right,.b-bar-vertical-inline[data-collapse=small] .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu>.b-bar-dropdown .b-bar-dropdown-menu-container.b-bar-right,.b-bar-vertical-popout[data-collapse=small] .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu>.b-bar-dropdown .b-bar-dropdown-menu-container.b-bar-right{right:var(--b-vertical-bar-popout-menu-width,180px);}.b-bar-vertical-small .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu>.b-bar-dropdown .b-bar-dropdown-toggle:before,.b-bar-vertical-inline[data-collapse=small] .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu>.b-bar-dropdown .b-bar-dropdown-toggle:before,.b-bar-vertical-popout[data-collapse=small] .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu>.b-bar-dropdown .b-bar-dropdown-toggle:before{content:" ";border:solid;border-width:0 2px 2px 0;display:inline-block;padding:2px;right:1rem;transition:transform 200ms ease-out;float:right;position:relative;-webkit-transform:rotate(135deg);transform:rotate(135deg);right:.8rem;}.b-bar-vertical-small .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu>.b-bar-dropdown:not([data-visible=true]) .b-bar-dropdown-toggle:before,.b-bar-vertical-inline[data-collapse=small] .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu>.b-bar-dropdown:not([data-visible=true]) .b-bar-dropdown-toggle:before,.b-bar-vertical-popout[data-collapse=small] .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu>.b-bar-dropdown:not([data-visible=true]) .b-bar-dropdown-toggle:before{-webkit-transform:rotate(315deg);transform:rotate(315deg);}@keyframes b-bar-link-small{to{text-align:center;padding-left:0;padding-right:0;}}.b-bar-vertical-small .b-bar-item>.b-bar-link,.b-bar-vertical-small .b-bar-item>.b-bar-dropdown>.b-bar-link,.b-bar-vertical-inline[data-collapse=small] .b-bar-item>.b-bar-link,.b-bar-vertical-inline[data-collapse=small] .b-bar-item>.b-bar-dropdown>.b-bar-link,.b-bar-vertical-popout[data-collapse=small] .b-bar-item>.b-bar-link,.b-bar-vertical-popout[data-collapse=small] .b-bar-item>.b-bar-dropdown>.b-bar-link{animation:b-bar-link-small forwards;animation-delay:170ms;font-size:0;transition:font-size 100ms ease-out;}.b-bar-vertical-small .b-bar-item>.b-bar-link:after,.b-bar-vertical-small .b-bar-item>.b-bar-dropdown>.b-bar-link:after,.b-bar-vertical-inline[data-collapse=small] .b-bar-item>.b-bar-link:after,.b-bar-vertical-inline[data-collapse=small] .b-bar-item>.b-bar-dropdown>.b-bar-link:after,.b-bar-vertical-popout[data-collapse=small] .b-bar-item>.b-bar-link:after,.b-bar-vertical-popout[data-collapse=small] .b-bar-item>.b-bar-dropdown>.b-bar-link:after{display:none;}.b-bar-vertical-small .b-bar-label,.b-bar-vertical-inline[data-collapse=small] .b-bar-label,.b-bar-vertical-popout[data-collapse=small] .b-bar-label{text-align:center;}.b-bar-vertical-inline:not([data-collapse]){overflow-y:auto;overflow-x:hidden;}.b-bar-vertical-inline:not([data-collapse]) .b-bar-dropdown .b-bar-dropdown-menu-container{position:relative;}.b-bar-vertical-inline:not([data-collapse]) .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu{position:relative!important;border:0;border-radius:0;box-shadow:none;}.b-bar-vertical-inline:not([data-collapse]) .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu .b-bar-dropdown-item{padding:.5rem .5rem .5rem 3rem;}.b-bar-vertical-inline:not([data-collapse]) .b-bar-brand .b-bar-link{display:flex;align-items:center;}.b-bar-vertical-popout:not([data-collapse]) .b-bar-dropdown .b-bar-dropdown-toggle:before{content:" ";border:solid;border-width:0 2px 2px 0;display:inline-block;padding:2px;right:1rem;transition:transform 200ms ease-out;float:right;position:relative;-webkit-transform:rotate(135deg);transform:rotate(135deg);right:.8rem;}.b-bar-vertical-popout:not([data-collapse]) .b-bar-dropdown:not([data-visible=true]) .b-bar-dropdown-toggle:before{-webkit-transform:rotate(315deg);transform:rotate(315deg);}.b-bar-vertical-popout:not([data-collapse]) .b-bar-dropdown .b-bar-dropdown-menu-container{z-index:100;max-height:50vh;position:absolute!important;margin:-42px 5px 0 5px;display:flex;width:var(--b-vertical-bar-popout-menu-width,180px);left:var(--b-vertical-bar-width,230px);}.b-bar-vertical-popout:not([data-collapse]) .b-bar-dropdown .b-bar-dropdown-menu-container.b-bar-right{right:var(--b-vertical-bar-width,230px);left:unset;}.b-bar-vertical-popout:not([data-collapse]) .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu{box-shadow:0 3px 6px -4px rgba(0,0,0,.12),0 6px 16px 0 rgba(0,0,0,.08),0 9px 28px 8px rgba(0,0,0,.05);border-radius:3px;overflow-y:auto;overflow-x:hidden;flex:1 100%;}.b-bar-vertical-popout:not([data-collapse]) .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu .b-bar-dropdown-item{padding:.5rem .5rem .5rem 1.5rem;}.b-bar-vertical-popout:not([data-collapse]) .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu:before{position:absolute;top:0;left:-7px;right:0;bottom:0;width:100%;height:100%;opacity:.0001;content:" ";z-index:-1;}.b-bar-vertical-popout:not([data-collapse]) .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu.b-bar-right:before{left:unset;right:-7px;}.b-bar-vertical-popout:not([data-collapse]) .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu>.b-bar-dropdown .b-bar-dropdown-menu-container{left:var(--b-vertical-bar-popout-menu-width,180px);}.b-bar-vertical-popout:not([data-collapse]) .b-bar-dropdown .b-bar-dropdown-menu-container .b-bar-dropdown-menu>.b-bar-dropdown .b-bar-dropdown-menu-container.b-bar-right{right:var(--b-vertical-bar-popout-menu-width,180px);}.b-bar-vertical-inline[data-collapse=hide],.b-bar-vertical-popout[data-collapse=hide],.b-bar-vertical-small[data-collapse=hide]{width:0;min-width:0;overflow-y:hidden;visibility:hidden;}.b-bar-vertical-inline[data-collapse=hide]:not(.b-bar-initial),.b-bar-vertical-popout[data-collapse=hide]:not(.b-bar-initial),.b-bar-vertical-small[data-collapse=hide]:not(.b-bar-initial){transition:width 200ms ease-in-out,min-width 200ms ease-in-out,visibility 100ms;}.b-bar-vertical-inline[data-collapse=hide] .b-bar-toggler-inline,.b-bar-vertical-popout[data-collapse=hide] .b-bar-toggler-inline,.b-bar-vertical-small[data-collapse=hide] .b-bar-toggler-inline{display:none;}.b-bar-vertical-inline[data-collapse=hide] .b-bar-toggler-popout:not(.b-bar-mobile-toggle),.b-bar-vertical-popout[data-collapse=hide] .b-bar-toggler-popout:not(.b-bar-mobile-toggle),.b-bar-vertical-small[data-collapse=hide] .b-bar-toggler-popout:not(.b-bar-mobile-toggle){visibility:visible;left:0;}@media only screen and (max-width:576px){.b-bar-vertical-inline:not([data-collapse]){min-width:100vw;}.b-bar-vertical-inline:not([data-collapse]) .b-bar-toggler-inline:not(.b-bar-mobile-toggle){display:none;}.b-bar-vertical-inline:not([data-collapse]) .b-bar-toggler-popout:not(.b-bar-mobile-toggle){left:100vw;}.b-bar-vertical-inline:not([data-collapse]) .b-bar-mobile-toggle{display:flex;}}.b-table.table{position:relative;}.b-table.table .b-table-resizer{position:absolute;top:0;right:0;width:5px;cursor:col-resize;user-select:none;z-index:1;}.b-table.table .b-table-resizer:hover,.b-table.table .b-table-resizing{cursor:col-resize!important;border-right:2px solid var(--b-theme-primary,#00f);}.b-table.table .b-table-resizing{cursor:col-resize!important;}thead tr th{position:relative;}.b-character-casing-lower{text-transform:lowercase;}.b-character-casing-upper{text-transform:uppercase;}.b-character-casing-title{text-transform:lowercase;}.b-character-casing-title::first-letter {text-transform:uppercase;}.flatpickr-calendar{background:transparent;opacity:0;display:none;text-align:center;visibility:hidden;padding:0;-webkit-animation:none;animation:none;direction:ltr;border:0;font-size:14px;line-height:24px;border-radius:5px;position:absolute;width:307.875px;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-touch-action:manipulation;touch-action:manipulation;background:#fff;-webkit-box-shadow:1px 0 0 #e6e6e6,-1px 0 0 #e6e6e6,0 1px 0 #e6e6e6,0 -1px 0 #e6e6e6,0 3px 13px rgba(0,0,0,.08);box-shadow:1px 0 0 #e6e6e6,-1px 0 0 #e6e6e6,0 1px 0 #e6e6e6,0 -1px 0 #e6e6e6,0 3px 13px rgba(0,0,0,.08);}.flatpickr-calendar.open,.flatpickr-calendar.inline{opacity:1;max-height:640px;visibility:visible;}.flatpickr-calendar.open{display:inline-block;z-index:99999;}.flatpickr-calendar.animate.open{-webkit-animation:fpFadeInDown 300ms cubic-bezier(.23,1,.32,1);animation:fpFadeInDown 300ms cubic-bezier(.23,1,.32,1);}.flatpickr-calendar.inline{display:block;position:relative;top:2px;}.flatpickr-calendar.static{position:absolute;top:calc(100% + 2px);}.flatpickr-calendar.static.open{z-index:999;display:block;}.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+1) .flatpickr-day.inRange:nth-child(7n+7){-webkit-box-shadow:none!important;box-shadow:none!important;}.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+2) .flatpickr-day.inRange:nth-child(7n+1){-webkit-box-shadow:-2px 0 0 #e6e6e6,5px 0 0 #e6e6e6;box-shadow:-2px 0 0 #e6e6e6,5px 0 0 #e6e6e6;}.flatpickr-calendar .hasWeeks .dayContainer,.flatpickr-calendar .hasTime .dayContainer{border-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0;}.flatpickr-calendar .hasWeeks .dayContainer{border-left:0;}.flatpickr-calendar.hasTime .flatpickr-time{height:40px;border-top:1px solid #e6e6e6;}.flatpickr-calendar.noCalendar.hasTime .flatpickr-time{height:auto;}.flatpickr-calendar:before,.flatpickr-calendar:after{position:absolute;display:block;pointer-events:none;border:solid transparent;content:"";height:0;width:0;left:22px;}.flatpickr-calendar.rightMost:before,.flatpickr-calendar.arrowRight:before,.flatpickr-calendar.rightMost:after,.flatpickr-calendar.arrowRight:after{left:auto;right:22px;}.flatpickr-calendar.arrowCenter:before,.flatpickr-calendar.arrowCenter:after{left:50%;right:50%;}.flatpickr-calendar:before{border-width:5px;margin:0 -5px;}.flatpickr-calendar:after{border-width:4px;margin:0 -4px;}.flatpickr-calendar.arrowTop:before,.flatpickr-calendar.arrowTop:after{bottom:100%;}.flatpickr-calendar.arrowTop:before{border-bottom-color:#e6e6e6;}.flatpickr-calendar.arrowTop:after{border-bottom-color:#fff;}.flatpickr-calendar.arrowBottom:before,.flatpickr-calendar.arrowBottom:after{top:100%;}.flatpickr-calendar.arrowBottom:before{border-top-color:#e6e6e6;}.flatpickr-calendar.arrowBottom:after{border-top-color:#fff;}.flatpickr-calendar:focus{outline:0;}.flatpickr-wrapper{position:relative;display:contents;}.flatpickr-months{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}.flatpickr-months .flatpickr-month{background:transparent;color:rgba(0,0,0,.9);fill:rgba(0,0,0,.9);height:34px;line-height:1;text-align:center;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow:hidden;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;}.flatpickr-months .flatpickr-prev-month,.flatpickr-months .flatpickr-next-month{text-decoration:none;cursor:pointer;position:absolute;top:0;height:34px;padding:10px;z-index:3;color:rgba(0,0,0,.9);fill:rgba(0,0,0,.9);}.flatpickr-months .flatpickr-prev-month.flatpickr-disabled,.flatpickr-months .flatpickr-next-month.flatpickr-disabled{display:none;}.flatpickr-months .flatpickr-prev-month i,.flatpickr-months .flatpickr-next-month i{position:relative;}.flatpickr-months .flatpickr-prev-month.flatpickr-prev-month,.flatpickr-months .flatpickr-next-month.flatpickr-prev-month{left:0;}.flatpickr-months .flatpickr-prev-month.flatpickr-next-month,.flatpickr-months .flatpickr-next-month.flatpickr-next-month{right:0;}.flatpickr-months .flatpickr-prev-month:hover,.flatpickr-months .flatpickr-next-month:hover{color:#959ea9;}.flatpickr-months .flatpickr-prev-month:hover svg,.flatpickr-months .flatpickr-next-month:hover svg{fill:#f64747;}.flatpickr-months .flatpickr-prev-month svg,.flatpickr-months .flatpickr-next-month svg{width:14px;height:14px;}.flatpickr-months .flatpickr-prev-month svg path,.flatpickr-months .flatpickr-next-month svg path{-webkit-transition:fill .1s;transition:fill .1s;fill:inherit;}.numInputWrapper{position:relative;height:auto;}.numInputWrapper input,.numInputWrapper span{display:inline-block;}.numInputWrapper input{width:100%;}.numInputWrapper input::-ms-clear{display:none;}.numInputWrapper input::-webkit-outer-spin-button,.numInputWrapper input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none;}.numInputWrapper span{position:absolute;right:0;width:14px;padding:0 4px 0 2px;height:50%;line-height:50%;opacity:0;cursor:pointer;border:1px solid rgba(57,57,57,.15);-webkit-box-sizing:border-box;box-sizing:border-box;}.numInputWrapper span:hover{background:rgba(0,0,0,.1);}.numInputWrapper span:active{background:rgba(0,0,0,.2);}.numInputWrapper span:after{display:block;content:"";position:absolute;}.numInputWrapper span.arrowUp{top:0;border-bottom:0;}.numInputWrapper span.arrowUp:after{border-left:4px solid transparent;border-right:4px solid transparent;border-bottom:4px solid rgba(57,57,57,.6);top:26%;}.numInputWrapper span.arrowDown{top:50%;}.numInputWrapper span.arrowDown:after{border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid rgba(57,57,57,.6);top:40%;}.numInputWrapper span svg{width:inherit;height:auto;}.numInputWrapper span svg path{fill:rgba(0,0,0,.5);}.numInputWrapper:hover{background:rgba(0,0,0,.05);}.numInputWrapper:hover span{opacity:1;}.flatpickr-current-month{font-size:135%;line-height:inherit;font-weight:300;color:inherit;position:absolute;width:75%;left:12.5%;padding:7.48px 0 0 0;line-height:1;height:34px;display:inline-block;text-align:center;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);}.flatpickr-current-month span.cur-month{font-family:inherit;font-weight:700;color:inherit;display:inline-block;margin-left:.5ch;padding:0;}.flatpickr-current-month span.cur-month:hover{background:rgba(0,0,0,.05);}.flatpickr-current-month .numInputWrapper{width:6ch;width:7ch\0;display:inline-block;}.flatpickr-current-month .numInputWrapper span.arrowUp:after{border-bottom-color:rgba(0,0,0,.9);}.flatpickr-current-month .numInputWrapper span.arrowDown:after{border-top-color:rgba(0,0,0,.9);}.flatpickr-current-month input.cur-year{background:transparent;-webkit-box-sizing:border-box;box-sizing:border-box;color:inherit;cursor:text;padding:0 0 0 .5ch;margin:0;display:inline-block;font-size:inherit;font-family:inherit;font-weight:300;line-height:inherit;height:auto;border:0;border-radius:0;vertical-align:initial;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;}.flatpickr-current-month input.cur-year:focus{outline:0;}.flatpickr-current-month input.cur-year[disabled],.flatpickr-current-month input.cur-year[disabled]:hover{font-size:100%;color:rgba(0,0,0,.5);background:transparent;pointer-events:none;}.flatpickr-current-month .flatpickr-monthDropdown-months{appearance:menulist;background:transparent;border:0;border-radius:0;box-sizing:border-box;color:inherit;cursor:pointer;font-size:inherit;font-family:inherit;font-weight:300;height:auto;line-height:inherit;margin:-1px 0 0 0;outline:0;padding:0 0 0 .5ch;position:relative;vertical-align:initial;-webkit-box-sizing:border-box;-webkit-appearance:menulist;-moz-appearance:menulist;width:auto;}.flatpickr-current-month .flatpickr-monthDropdown-months:focus,.flatpickr-current-month .flatpickr-monthDropdown-months:active{outline:0;}.flatpickr-current-month .flatpickr-monthDropdown-months:hover{background:rgba(0,0,0,.05);}.flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month{background-color:transparent;outline:0;padding:0;}.flatpickr-weekdays{background:transparent;text-align:center;overflow:hidden;width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:28px;}.flatpickr-weekdays .flatpickr-weekdaycontainer{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;}span.flatpickr-weekday{cursor:default;font-size:90%;background:transparent;color:rgba(0,0,0,.54);line-height:1;margin:0;text-align:center;display:block;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;font-weight:bolder;}.dayContainer,.flatpickr-weeks{padding:1px 0 0 0;}.flatpickr-days{position:relative;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start;width:307.875px;}.flatpickr-days:focus{outline:0;}.dayContainer{padding:0;outline:0;text-align:left;width:307.875px;min-width:307.875px;max-width:307.875px;-webkit-box-sizing:border-box;box-sizing:border-box;display:inline-block;display:-ms-flexbox;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-wrap:wrap;-ms-flex-pack:justify;-webkit-justify-content:space-around;justify-content:space-around;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);opacity:1;}.dayContainer+.dayContainer{-webkit-box-shadow:-1px 0 0 #e6e6e6;box-shadow:-1px 0 0 #e6e6e6;}.flatpickr-day{background:none;border:1px solid transparent;border-radius:150px;-webkit-box-sizing:border-box;box-sizing:border-box;color:#393939;cursor:pointer;font-weight:400;width:14.2857143%;-webkit-flex-basis:14.2857143%;-ms-flex-preferred-size:14.2857143%;flex-basis:14.2857143%;max-width:39px;height:39px;line-height:39px;margin:0;display:inline-block;position:relative;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;text-align:center;}.flatpickr-day.inRange,.flatpickr-day.prevMonthDay.inRange,.flatpickr-day.nextMonthDay.inRange,.flatpickr-day.today.inRange,.flatpickr-day.prevMonthDay.today.inRange,.flatpickr-day.nextMonthDay.today.inRange,.flatpickr-day:hover,.flatpickr-day.prevMonthDay:hover,.flatpickr-day.nextMonthDay:hover,.flatpickr-day:focus,.flatpickr-day.prevMonthDay:focus,.flatpickr-day.nextMonthDay:focus{cursor:pointer;outline:0;background:#e6e6e6;border-color:#e6e6e6;}.flatpickr-day.today{border-color:#959ea9;}.flatpickr-day.today:hover,.flatpickr-day.today:focus{border-color:#959ea9;background:#959ea9;color:#fff;}.flatpickr-day.selected,.flatpickr-day.startRange,.flatpickr-day.endRange,.flatpickr-day.selected.inRange,.flatpickr-day.startRange.inRange,.flatpickr-day.endRange.inRange,.flatpickr-day.selected:focus,.flatpickr-day.startRange:focus,.flatpickr-day.endRange:focus,.flatpickr-day.selected:hover,.flatpickr-day.startRange:hover,.flatpickr-day.endRange:hover,.flatpickr-day.selected.prevMonthDay,.flatpickr-day.startRange.prevMonthDay,.flatpickr-day.endRange.prevMonthDay,.flatpickr-day.selected.nextMonthDay,.flatpickr-day.startRange.nextMonthDay,.flatpickr-day.endRange.nextMonthDay{background:#569ff7;-webkit-box-shadow:none;box-shadow:none;color:#fff;border-color:#569ff7;}.flatpickr-day.selected.startRange,.flatpickr-day.startRange.startRange,.flatpickr-day.endRange.startRange{border-radius:50px 0 0 50px;}.flatpickr-day.selected.endRange,.flatpickr-day.startRange.endRange,.flatpickr-day.endRange.endRange{border-radius:0 50px 50px 0;}.flatpickr-day.selected.startRange+.endRange:not(:nth-child(7n+1)),.flatpickr-day.startRange.startRange+.endRange:not(:nth-child(7n+1)),.flatpickr-day.endRange.startRange+.endRange:not(:nth-child(7n+1)){-webkit-box-shadow:-10px 0 0 #569ff7;box-shadow:-10px 0 0 #569ff7;}.flatpickr-day.selected.startRange.endRange,.flatpickr-day.startRange.startRange.endRange,.flatpickr-day.endRange.startRange.endRange{border-radius:50px;}.flatpickr-day.inRange{border-radius:0;-webkit-box-shadow:-5px 0 0 #e6e6e6,5px 0 0 #e6e6e6;box-shadow:-5px 0 0 #e6e6e6,5px 0 0 #e6e6e6;}.flatpickr-day.flatpickr-disabled,.flatpickr-day.flatpickr-disabled:hover,.flatpickr-day.prevMonthDay,.flatpickr-day.nextMonthDay,.flatpickr-day.notAllowed,.flatpickr-day.notAllowed.prevMonthDay,.flatpickr-day.notAllowed.nextMonthDay{color:rgba(57,57,57,.3);background:transparent;border-color:transparent;cursor:default;}.flatpickr-day.flatpickr-disabled,.flatpickr-day.flatpickr-disabled:hover{cursor:not-allowed;color:rgba(57,57,57,.1);}.flatpickr-day.week.selected{border-radius:0;-webkit-box-shadow:-5px 0 0 #569ff7,5px 0 0 #569ff7;box-shadow:-5px 0 0 #569ff7,5px 0 0 #569ff7;}.flatpickr-day.hidden{visibility:hidden;}.rangeMode .flatpickr-day{margin-top:1px;}.flatpickr-weekwrapper{float:left;}.flatpickr-weekwrapper .flatpickr-weeks{padding:0 12px;-webkit-box-shadow:1px 0 0 #e6e6e6;box-shadow:1px 0 0 #e6e6e6;}.flatpickr-weekwrapper .flatpickr-weekday{float:none;width:100%;line-height:28px;}.flatpickr-weekwrapper span.flatpickr-day,.flatpickr-weekwrapper span.flatpickr-day:hover{display:block;width:100%;max-width:none;color:rgba(57,57,57,.3);background:transparent;cursor:default;border:0;}.flatpickr-innerContainer{display:block;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;}.flatpickr-rContainer{display:inline-block;padding:0;-webkit-box-sizing:border-box;box-sizing:border-box;}.flatpickr-time{text-align:center;outline:0;display:block;height:0;line-height:40px;max-height:40px;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}.flatpickr-time:after{content:"";display:table;clear:both;}.flatpickr-time .numInputWrapper{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;width:40%;height:40px;float:left;}.flatpickr-time .numInputWrapper span.arrowUp:after{border-bottom-color:#393939;}.flatpickr-time .numInputWrapper span.arrowDown:after{border-top-color:#393939;}.flatpickr-time.hasSeconds .numInputWrapper{width:26%;}.flatpickr-time.time24hr .numInputWrapper{width:49%;}.flatpickr-time input{background:transparent;-webkit-box-shadow:none;box-shadow:none;border:0;border-radius:0;text-align:center;margin:0;padding:0;height:inherit;line-height:inherit;color:#393939;font-size:14px;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;}.flatpickr-time input.flatpickr-hour{font-weight:bold;}.flatpickr-time input.flatpickr-minute,.flatpickr-time input.flatpickr-second{font-weight:400;}.flatpickr-time input:focus{outline:0;border:0;}.flatpickr-time .flatpickr-time-separator,.flatpickr-time .flatpickr-am-pm{height:inherit;float:left;line-height:inherit;color:#393939;font-weight:bold;width:2%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-align-self:center;-ms-flex-item-align:center;align-self:center;}.flatpickr-time .flatpickr-am-pm{outline:0;width:18%;cursor:pointer;text-align:center;font-weight:400;}.flatpickr-time input:hover,.flatpickr-time .flatpickr-am-pm:hover,.flatpickr-time input:focus,.flatpickr-time .flatpickr-am-pm:focus{background:#eee;}.flatpickr-input[readonly]{cursor:pointer;}@-webkit-keyframes fpFadeInDown{from{opacity:0;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0);}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);}}@keyframes fpFadeInDown{from{opacity:0;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0);}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);}}.flatpickr-monthSelect-months{margin:10px 1px 3px 1px;flex-wrap:wrap;}.flatpickr-monthSelect-month{background:none;border:0;border-radius:2px;-webkit-box-sizing:border-box;box-sizing:border-box;color:#393939;cursor:pointer;display:inline-block;font-weight:400;margin:.5px;justify-content:center;padding:10px;position:relative;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;text-align:center;width:33%;}.flatpickr-monthSelect-month.disabled{color:#eee;}.flatpickr-monthSelect-month.disabled:hover,.flatpickr-monthSelect-month.disabled:focus{cursor:not-allowed;background:none!important;}.flatpickr-monthSelect-theme-dark{background:#3f4458;}.flatpickr-monthSelect-theme-dark .flatpickr-current-month input.cur-year{color:#fff;}.flatpickr-monthSelect-theme-dark .flatpickr-months .flatpickr-prev-month,.flatpickr-monthSelect-theme-dark .flatpickr-months .flatpickr-next-month{color:#fff;fill:#fff;}.flatpickr-monthSelect-theme-dark .flatpickr-monthSelect-month{color:rgba(255,255,255,.95);}.flatpickr-monthSelect-month:hover,.flatpickr-monthSelect-month:focus{background:#e6e6e6;cursor:pointer;outline:0;}.flatpickr-monthSelect-theme-dark .flatpickr-monthSelect-month:hover,.flatpickr-monthSelect-theme-dark .flatpickr-monthSelect-month:focus{background:#646c8c;border-color:#646c8c;}.flatpickr-monthSelect-month.selected{background-color:#569ff7;color:#fff;}.flatpickr-monthSelect-theme-dark .flatpickr-monthSelect-month.selected{background:#80cbc4;-webkit-box-shadow:none;box-shadow:none;color:#fff;border-color:#80cbc4;}
+/*! Pickr 1.8.2 MIT | https://github.com/Simonwep/pickr */
+.pickr{position:relative;overflow:visible;transform:translateY(0);}.pickr *{box-sizing:border-box;outline:0;border:0;-webkit-appearance:none;}.pickr .pcr-button{position:relative;height:2em;width:2em;padding:.5em;cursor:pointer;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Helvetica Neue",Arial,sans-serif;border-radius:.15em;background:url('data:image/svg+xml;utf8, ') no-repeat center;background-size:0;transition:all .3s;}.pickr .pcr-button::before{position:absolute;content:"";top:0;left:0;width:100%;height:100%;background:url('data:image/svg+xml;utf8, ');background-size:.5em;border-radius:.15em;z-index:-1;}.pickr .pcr-button::before{z-index:initial;}.pickr .pcr-button::after{position:absolute;content:"";top:0;left:0;height:100%;width:100%;transition:background .3s;background:var(--pcr-color);border-radius:.15em;}.pickr .pcr-button.clear{background-size:70%;}.pickr .pcr-button.clear::before{opacity:0;}.pickr .pcr-button.clear:focus{box-shadow:0 0 0 1px rgba(255,255,255,.85),0 0 0 3px var(--pcr-color);}.pickr .pcr-button.disabled{cursor:not-allowed;}.pickr *,.pcr-app *{box-sizing:border-box;outline:0;border:0;-webkit-appearance:none;}.pickr input:focus,.pickr input.pcr-active,.pickr button:focus,.pickr button.pcr-active,.pcr-app input:focus,.pcr-app input.pcr-active,.pcr-app button:focus,.pcr-app button.pcr-active{box-shadow:0 0 0 1px rgba(255,255,255,.85),0 0 0 3px var(--pcr-color);}.pickr .pcr-palette,.pickr .pcr-slider,.pcr-app .pcr-palette,.pcr-app .pcr-slider{transition:box-shadow .3s;}.pickr .pcr-palette:focus,.pickr .pcr-slider:focus,.pcr-app .pcr-palette:focus,.pcr-app .pcr-slider:focus{box-shadow:0 0 0 1px rgba(255,255,255,.85),0 0 0 3px rgba(0,0,0,.25);}.pcr-app{position:fixed;display:flex;flex-direction:column;z-index:10000;border-radius:.1em;background:#fff;opacity:0;visibility:hidden;transition:opacity .3s,visibility 0s .3s;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Helvetica Neue",Arial,sans-serif;box-shadow:0 .15em 1.5em 0 rgba(0,0,0,.1),0 0 1em 0 rgba(0,0,0,.03);left:0;top:0;}.pcr-app.visible{transition:opacity .3s;visibility:visible;opacity:1;}.pcr-app .pcr-swatches{display:flex;flex-wrap:wrap;margin-top:.75em;}.pcr-app .pcr-swatches.pcr-last{margin:0;}@supports(display:grid){.pcr-app .pcr-swatches{display:grid;align-items:center;grid-template-columns:repeat(auto-fit,1.75em);}}.pcr-app .pcr-swatches>button{font-size:1em;position:relative;width:calc(1.75em - 5px);height:calc(1.75em - 5px);border-radius:.15em;cursor:pointer;margin:2.5px;flex-shrink:0;justify-self:center;transition:all .15s;overflow:hidden;background:transparent;z-index:1;}.pcr-app .pcr-swatches>button::before{position:absolute;content:"";top:0;left:0;width:100%;height:100%;background:url('data:image/svg+xml;utf8, ');background-size:6px;border-radius:.15em;z-index:-1;}.pcr-app .pcr-swatches>button::after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:var(--pcr-color);border:1px solid rgba(0,0,0,.05);border-radius:.15em;box-sizing:border-box;}.pcr-app .pcr-swatches>button:hover{filter:brightness(1.05);}.pcr-app .pcr-swatches>button:not(.pcr-active){box-shadow:none;}.pcr-app .pcr-interaction{display:flex;flex-wrap:wrap;align-items:center;margin:0 -.2em 0 -.2em;}.pcr-app .pcr-interaction>*{margin:0 .2em;}.pcr-app .pcr-interaction input{letter-spacing:.07em;font-size:.75em;text-align:center;cursor:pointer;color:#75797e;background:#f1f3f4;border-radius:.15em;transition:all .15s;padding:.45em .5em;margin-top:.75em;}.pcr-app .pcr-interaction input:hover{filter:brightness(.975);}.pcr-app .pcr-interaction input:focus{box-shadow:0 0 0 1px rgba(255,255,255,.85),0 0 0 3px rgba(66,133,244,.75);}.pcr-app .pcr-interaction .pcr-result{color:#75797e;text-align:left;flex:1 1 8em;min-width:8em;transition:all .2s;border-radius:.15em;background:#f1f3f4;cursor:text;}.pcr-app .pcr-interaction .pcr-result::-moz-selection{background:#4285f4;color:#fff;}.pcr-app .pcr-interaction .pcr-result::selection{background:#4285f4;color:#fff;}.pcr-app .pcr-interaction .pcr-type.active{color:#fff;background:#4285f4;}.pcr-app .pcr-interaction .pcr-save,.pcr-app .pcr-interaction .pcr-cancel,.pcr-app .pcr-interaction .pcr-clear{color:#fff;width:auto;}.pcr-app .pcr-interaction .pcr-save,.pcr-app .pcr-interaction .pcr-cancel,.pcr-app .pcr-interaction .pcr-clear{color:#fff;}.pcr-app .pcr-interaction .pcr-save:hover,.pcr-app .pcr-interaction .pcr-cancel:hover,.pcr-app .pcr-interaction .pcr-clear:hover{filter:brightness(.925);}.pcr-app .pcr-interaction .pcr-save{background:#4285f4;}.pcr-app .pcr-interaction .pcr-clear,.pcr-app .pcr-interaction .pcr-cancel{background:#f44250;}.pcr-app .pcr-interaction .pcr-clear:focus,.pcr-app .pcr-interaction .pcr-cancel:focus{box-shadow:0 0 0 1px rgba(255,255,255,.85),0 0 0 3px rgba(244,66,80,.75);}.pcr-app .pcr-selection .pcr-picker{position:absolute;height:18px;width:18px;border:2px solid #fff;border-radius:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}.pcr-app .pcr-selection .pcr-color-palette,.pcr-app .pcr-selection .pcr-color-chooser,.pcr-app .pcr-selection .pcr-color-opacity{position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:flex;flex-direction:column;cursor:grab;cursor:-webkit-grab;}.pcr-app .pcr-selection .pcr-color-palette:active,.pcr-app .pcr-selection .pcr-color-chooser:active,.pcr-app .pcr-selection .pcr-color-opacity:active{cursor:grabbing;cursor:-webkit-grabbing;}.pcr-app[data-theme=monolith]{width:14.25em;max-width:95vw;padding:.8em;}.pcr-app[data-theme=monolith] .pcr-selection{display:flex;flex-direction:column;justify-content:space-between;flex-grow:1;}.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-preview{position:relative;z-index:1;width:100%;height:1em;display:flex;flex-direction:row;justify-content:space-between;margin-bottom:.5em;}.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-preview::before{position:absolute;content:"";top:0;left:0;width:100%;height:100%;background:url('data:image/svg+xml;utf8, ');background-size:.5em;border-radius:.15em;z-index:-1;}.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-preview .pcr-last-color{cursor:pointer;transition:background-color .3s,box-shadow .3s;border-radius:.15em 0 0 .15em;z-index:2;}.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-preview .pcr-current-color{border-radius:0 .15em .15em 0;}.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-preview .pcr-last-color,.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-preview .pcr-current-color{background:var(--pcr-color);width:50%;height:100%;}.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-palette{width:100%;height:8em;z-index:1;}.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-palette .pcr-palette{border-radius:.15em;width:100%;height:100%;}.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-palette .pcr-palette::before{position:absolute;content:"";top:0;left:0;width:100%;height:100%;background:url('data:image/svg+xml;utf8, ');background-size:.5em;border-radius:.15em;z-index:-1;}.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-chooser,.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-opacity{height:.5em;margin-top:.75em;}.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-chooser .pcr-picker,.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-opacity .pcr-picker{top:50%;transform:translateY(-50%);}.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-chooser .pcr-slider,.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-opacity .pcr-slider{flex-grow:1;border-radius:50em;}.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-chooser .pcr-slider{background:linear-gradient(to right,#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00);}.pcr-app[data-theme=monolith] .pcr-selection .pcr-color-opacity .pcr-slider{background:linear-gradient(to right,transparent,#000),url('data:image/svg+xml;utf8, ');background-size:100%,.25em;}
\ No newline at end of file
diff --git a/_content/Blazorise/breakpoint.js b/_content/Blazorise/breakpoint.js
new file mode 100755
index 00000000..3c891b54
--- /dev/null
+++ b/_content/Blazorise/breakpoint.js
@@ -0,0 +1,81 @@
+// holds the list of components that are triggers to breakpoint
+const breakpointComponents = [];
+let lastBreakpoint = null;
+
+// Recalculate breakpoint on resize
+if (window.attachEvent) {
+ window.attachEvent('onresize', windowResized);
+}
+else if (window.addEventListener) {
+ window.addEventListener('resize', windowResized, true);
+}
+else {
+ //The browser does not support Javascript event binding
+}
+
+function windowResized() {
+ if (breakpointComponents && breakpointComponents.length > 0) {
+ var currentBreakpoint = getBreakpoint();
+
+ if (lastBreakpoint !== currentBreakpoint) {
+ lastBreakpoint = currentBreakpoint;
+
+ let index = 0;
+
+ for (index = 0; index < breakpointComponents.length; ++index) {
+ onBreakpoint(breakpointComponents[index].dotnetAdapter, currentBreakpoint);
+ }
+ }
+ }
+}
+
+// Set initial breakpoint
+lastBreakpoint = getBreakpoint();
+
+// Get the current breakpoint
+export function getBreakpoint() {
+ return window.getComputedStyle(document.body, ':before').content.replace(/\"/g, '');
+}
+
+export function addBreakpointComponent(elementId, dotnetAdapter) {
+ breakpointComponents.push({ elementId: elementId, dotnetAdapter: dotnetAdapter });
+}
+
+export function findBreakpointComponentIndex(elementId) {
+ let index = 0;
+
+ for (index = 0; index < breakpointComponents.length; ++index) {
+ if (breakpointComponents[index].elementId === elementId)
+ return index;
+ }
+
+ return -1;
+}
+
+export function isBreakpointComponent(elementId) {
+ let index = 0;
+
+ for (index = 0; index < breakpointComponents.length; ++index) {
+ if (breakpointComponents[index].elementId === elementId)
+ return true;
+ }
+
+ return false;
+}
+
+function onBreakpoint(dotnetAdapter, currentBreakpoint) {
+ dotnetAdapter.invokeMethodAsync('OnBreakpoint', currentBreakpoint);
+}
+
+export function registerBreakpointComponent(dotnetAdapter, elementId) {
+ if (isBreakpointComponent(elementId) !== true) {
+ addBreakpointComponent(elementId, dotnetAdapter);
+ }
+}
+
+export function unregisterBreakpointComponent(elementId) {
+ const index = findBreakpointComponentIndex(elementId);
+ if (index !== -1) {
+ breakpointComponents.splice(index, 1);
+ }
+}
\ No newline at end of file
diff --git a/_content/Blazorise/button.js b/_content/Blazorise/button.js
new file mode 100755
index 00000000..e5be269a
--- /dev/null
+++ b/_content/Blazorise/button.js
@@ -0,0 +1,37 @@
+import { getRequiredElement } from "./utilities.js?v=1.3.1.0";
+
+const _instances = [];
+
+export function initialize(element, elementId, options) {
+ element = getRequiredElement(element, elementId);
+
+ if (!element)
+ return;
+
+ _instances[elementId] = new ButtonInfo(element, elementId, options);
+
+ if (element && element.type === "submit") {
+ element.addEventListener("click", (e) => {
+ click(_instances[elementId], e);
+ });
+ }
+}
+
+export function destroy(element, elementId) {
+ var instances = _instances || {};
+ delete instances[elementId];
+}
+
+export function click(buttonInfo, e) {
+ if (buttonInfo.options.preventDefaultOnSubmit) {
+ return e.preventDefault();
+ }
+}
+
+class ButtonInfo {
+ constructor(element, elementId, options) {
+ this.elementId = elementId;
+ this.element = element;
+ this.options = options || {};
+ }
+}
\ No newline at end of file
diff --git a/_content/Blazorise/closable.js b/_content/Blazorise/closable.js
new file mode 100755
index 00000000..5f1d30b6
--- /dev/null
+++ b/_content/Blazorise/closable.js
@@ -0,0 +1,155 @@
+let closableComponents = [];
+let closableLightComponents = [];
+let lastClickedDocumentElement = null;
+
+function addClosableComponent(elementId, dotnetAdapter) {
+ closableComponents.push({ elementId: elementId, dotnetAdapter: dotnetAdapter });
+}
+
+function addClosableLightComponent(elementId) {
+ closableLightComponents.push({ elementId: elementId });
+}
+
+function isClosableComponent(elementId) {
+ let index = 0;
+
+ for (index = 0; index < closableComponents.length; ++index) {
+ if (closableComponents[index].elementId === elementId)
+ return true;
+ }
+
+ return false;
+}
+
+function isClosableLightComponent(elementId) {
+ let index = 0;
+
+ for (index = 0; index < closableLightComponents.length; ++index) {
+ if (closableLightComponents[index].elementId === elementId)
+ return true;
+ }
+
+ return false;
+}
+
+function findClosableComponentIndex(elementId) {
+ let index = 0;
+
+ for (index = 0; index < closableComponents.length; ++index) {
+ if (closableComponents[index].elementId === elementId)
+ return index;
+ }
+
+ return null;
+}
+
+function findClosableLightComponentIndex(elementId) {
+ let index = 0;
+
+ for (index = 0; index < closableLightComponents.length; ++index) {
+ if (closableLightComponents[index].elementId === elementId)
+ return index;
+ }
+
+ return null;
+}
+
+function tryClose(closable, targetElementId, isEscapeKey, isChildClicked) {
+ let request = new Promise((resolve, reject) => {
+ closable.dotnetAdapter.invokeMethodAsync('SafeToClose', targetElementId, isEscapeKey ? 'escape' : 'leave', isChildClicked)
+ .then((result) => resolve({ elementId: closable.elementId, dotnetAdapter: closable.dotnetAdapter, status: result === true ? 'ok' : 'cancelled' }))
+ .catch(() => resolve({ elementId: closable.elementId, status: 'error' }));
+ });
+
+ if (request) {
+ request
+ .then((response) => {
+ if (response.status === 'ok') {
+ response.dotnetAdapter.invokeMethodAsync('Close', isEscapeKey ? 'escape' : 'leave')
+ // If the user navigates to another page then it will raise exception because the reference to the component cannot be found.
+ // In that case just remove the elementId from the list.
+ .catch(() => unregisterClosableComponent(response.elementId));
+ }
+ });
+ }
+}
+
+function hasParentInTree(element, parentElementId) {
+ if (!element.parentElement) return false;
+ if (element.parentElement.id === parentElementId) return true;
+ return hasParentInTree(element.parentElement, parentElementId);
+}
+
+function hasScroll(element) {
+ return element.scrollHeight > element.clientHeight;
+}
+
+function scrollClick(event) {
+ return hasScroll(event.target) && event.target.clientWidth < event.clientX;
+}
+
+export function registerClosableComponent(dotnetAdapter, element) {
+ if (element) {
+ if (isClosableComponent(element.id) !== true) {
+ addClosableComponent(element.id, dotnetAdapter);
+ }
+ }
+}
+
+/// Adds a lighter closable component, that is tracked for close events.
+export function registerClosableLightComponent(element) {
+ if (element) {
+ if (isClosableLightComponent(element.id) !== true) {
+ addClosableLightComponent(element.id);
+ }
+ }
+}
+
+export function unregisterClosableLightComponent(element) {
+ if (element) {
+ const index = findClosableLightComponentIndex(element.id);
+ if (index !== -1) {
+ closableLightComponents.splice(index, 1);
+ }
+ }
+}
+
+export function unregisterClosableComponent(element) {
+ if (element) {
+ const index = findClosableComponentIndex(element.id);
+ if (index !== -1) {
+ closableComponents.splice(index, 1);
+ }
+ }
+}
+
+document.addEventListener('mousedown', function handler(evt) {
+ lastClickedDocumentElement = evt.target;
+});
+
+document.addEventListener('mouseup', function handler(evt) {
+ if (isClosableLightComponent(evt.target.id))
+ return;
+
+ if (evt.button === 0 && evt.target === lastClickedDocumentElement && closableComponents && closableComponents.length > 0) {
+ const lastClosable = closableComponents[closableComponents.length - 1];
+ const scrollClicked = scrollClick(evt);
+ if (lastClosable && !scrollClicked) {
+ tryClose(lastClosable, evt.target.id, false, hasParentInTree(evt.target, lastClosable.elementId));
+ }
+ }
+});
+
+
+
+document.addEventListener('keyup', function handler(evt) {
+ if (isClosableLightComponent(evt.target.id))
+ return;
+
+ if (evt.keyCode === 27 && closableComponents && closableComponents.length > 0) {
+ const lastClosable = closableComponents[closableComponents.length - 1];
+ if (lastClosable) {
+ tryClose(lastClosable, lastClosable.elementId, true, hasParentInTree(evt.target, lastClosable.elementId));
+ }
+ }
+});
\ No newline at end of file
diff --git a/_content/Blazorise/colorPicker.js b/_content/Blazorise/colorPicker.js
new file mode 100755
index 00000000..39cfa52c
--- /dev/null
+++ b/_content/Blazorise/colorPicker.js
@@ -0,0 +1,210 @@
+import "./vendors/Pickr.js?v=1.3.1.0";
+import * as utilities from "./utilities.js?v=1.3.1.0";
+
+const _instancesInfos = [];
+
+export function initialize(dotnetAdapter, element, elementId, options) {
+ element = utilities.getRequiredElement(element, elementId);
+
+ if (!element)
+ return;
+
+ const picker = Pickr.create({
+ el: element,
+ theme: 'monolith', // or 'monolith', or 'nano'
+
+ useAsButton: element,
+
+ comparison: false,
+ default: options.default || "#000000",
+ position: 'bottom-start',
+ silent: true,
+
+ swatches: options.showPalette ? options.palette : null,
+ components: {
+ //palette: false,
+
+ // Main components
+ preview: true,
+ opacity: true,
+ hue: false,
+
+ // Input / output Options
+ interaction: {
+ hex: true,
+ rgba: true,
+ hsla: false,
+ hsva: false,
+ cmyk: false,
+ input: true,
+ save: false,
+ clear: options.showClearButton || true,
+ cancel: options.showCancelButton || true
+ }
+ },
+
+ // Translations, these are the default values.
+ i18n: options.localization || {
+ // Strings visible in the UI
+ 'ui:dialog': 'color picker dialog',
+ 'btn:toggle': 'toggle color picker dialog',
+ 'btn:swatch': 'color swatch',
+ 'btn:last-color': 'use previous color',
+ 'btn:save': 'Save',
+ 'btn:cancel': 'Cancel',
+ 'btn:clear': 'Clear',
+
+ // Strings used for aria-labels
+ 'aria:btn:save': 'save and close',
+ 'aria:btn:cancel': 'cancel and close',
+ 'aria:btn:clear': 'clear and close',
+ 'aria:input': 'color input field',
+ 'aria:palette': 'color selection area',
+ 'aria:hue': 'hue selection slider',
+ 'aria:opacity': 'selection slider'
+ }
+ });
+
+ const hexColor = options.default ? options.default : "#000000";
+
+ const previewElement = element.querySelector(":scope > .b-input-color-picker-preview > .b-input-color-picker-curent-color");
+
+ const instanceInfo = {
+ picker: picker,
+ dotnetAdapter: dotnetAdapter,
+ element: element,
+ elementId: elementId,
+ previewElement: previewElement,
+ hexColor: hexColor,
+ palette: options.palette || [],
+ showPalette: options.showPalette || true,
+ hideAfterPaletteSelect: options.hideAfterPaletteSelect || true,
+ showButtons: options.showButtons || true
+ };
+
+ applyHexColor(instanceInfo, hexColor, true);
+
+ let hexColorShow = picker.getColor() ? picker.getColor().toHEXA().toString() : null;
+
+ if (options.disabled) {
+ picker.disable();
+ }
+
+ picker
+ .on('show', (color, instance) => {
+ hexColorShow = color ? color.toHEXA().toString() : null;
+ })
+ .on("cancel", (instance) => {
+ applyHexColor(instanceInfo, hexColorShow);
+ instanceInfo.picker.setColor(hexColorShow, true);
+ instanceInfo.picker.hide()
+ })
+ .on("clear", (instance) => {
+ hexColorShow = null;
+ applyHexColor(instanceInfo, null);
+ })
+ .on("changestop", (source, instance) => {
+ const hexColor = instance.getColor() ? instance.getColor().toHEXA().toString() : null;
+ applyHexColor(instanceInfo, hexColor);
+ })
+ .on("swatchselect", (color, instance) => {
+ const hexColor = color ? color.toHEXA().toString() : null;
+ applyHexColor(instanceInfo, hexColor);
+
+ if (instanceInfo.hideAfterPaletteSelect) {
+ instanceInfo.picker.hide();
+ }
+ });
+
+ _instancesInfos[elementId] = instanceInfo;
+}
+
+export function destroy(element, elementId) {
+ const instanceInfo = _instancesInfos || {};
+ delete instanceInfo[elementId];
+}
+
+export function updateValue(element, elementId, hexColor) {
+ const instanceInfo = _instancesInfos[elementId];
+
+ if (instanceInfo) {
+ applyHexColor(instanceInfo, hexColor);
+ }
+}
+
+export function updateOptions(element, elementId, options) {
+ const instanceInfo = _instancesInfos[elementId];
+
+ if (instanceInfo) {
+ if (options.palette.changed) {
+ instanceInfo.palette = options.palette.value || [];
+ instanceInfo.picker.setSwatches(instanceInfo.palette);
+ }
+
+ if (options.showPalette.changed) {
+ if (options.showPalette.value) {
+ instanceInfo.picker.setSwatches(instanceInfo.palette);
+ } else {
+ instanceInfo.picker.setSwatches([]);
+ }
+ }
+
+ if (options.hideAfterPaletteSelect.changed) {
+ instanceInfo.hideAfterPaletteSelect = options.hideAfterPaletteSelect.value;
+ }
+
+ if (options.disabled.changed || options.readOnly.changed) {
+ if (options.disabled.value || options.readOnly.value) {
+ instanceInfo.picker.disable();
+ } else {
+ instanceInfo.picker.enable();
+ }
+ }
+ }
+}
+
+export function updateLocalization(element, elementId, localization) {
+ const instanceInfo = _instancesInfos[elementId];
+
+ if (instanceInfo) {
+ instanceInfo.picker.options.i18n = localization;
+
+ instanceInfo.picker._root.interaction.save.value = localization["btn:save"];
+ instanceInfo.picker._root.interaction.cancel.value = localization["btn:cancel"];
+ instanceInfo.picker._root.interaction.clear.value = localization["btn:clear"];
+ }
+}
+
+export function focus(element, elementId, scrollToElement) {
+ const instanceInfo = _instancesInfos[elementId];
+
+ if (instanceInfo) {
+ utilities.focus(picker.element, null, scrollToElement);
+ }
+}
+
+export function select(element, elementId, focus) {
+ const instanceInfo = _instancesInfos[elementId];
+
+ if (instanceInfo) {
+ utilities.select(picker.element, null, focus);
+ }
+}
+
+export function applyHexColor(instanceInfo, hexColor, force = false) {
+ if (instanceInfo.hexColor !== hexColor || force) {
+ instanceInfo.hexColor = hexColor;
+
+ if (instanceInfo.previewElement) {
+ instanceInfo.previewElement.style.backgroundColor = hexColor;
+ }
+
+ if (instanceInfo.element) {
+ instanceInfo.element.setAttribute('data-color', hexColor);
+ }
+
+ if (instanceInfo.dotnetAdapter) {
+ instanceInfo.dotnetAdapter.invokeMethodAsync('SetValue', hexColor);
+ }
+ }
+}
\ No newline at end of file
diff --git a/_content/Blazorise/datePicker.js b/_content/Blazorise/datePicker.js
new file mode 100755
index 00000000..e72c16d3
--- /dev/null
+++ b/_content/Blazorise/datePicker.js
@@ -0,0 +1,320 @@
+import "./vendors/flatpickr.js?v=1.3.1.0";
+import * as utilities from "./utilities.js?v=1.3.1.0";
+
+const _pickers = [];
+
+export function initialize(dotnetAdapter, element, elementId, options) {
+ element = utilities.getRequiredElement(element, elementId);
+
+ if (!element)
+ return;
+
+ function mutationObserverCallback(mutationsList, observer) {
+ mutationsList.forEach(mutation => {
+ if (mutation.attributeName === 'class') {
+ const picker = _pickers[mutation.target.id];
+
+ if (picker && picker.altInput) {
+ const altInputClassListToRemove = [...picker.altInput.classList].filter(cn => !["input", "active"].includes(cn));
+ const inputClassListToAdd = [...picker.input.classList].filter(cn => !["flatpickr-input"].includes(cn));
+
+ altInputClassListToRemove.forEach(name => {
+ picker.altInput.classList.remove(name);
+ });
+
+ inputClassListToAdd.forEach(name => {
+ picker.altInput.classList.add(name);
+ });
+ }
+ }
+ });
+ }
+
+ // When flatpickr is defined with altInput=true, it will create a second input
+ // element while the original input element will be hidden. With MutationObserver
+ // we can copy classnames from hidden to the visible element.
+ const mutationObserver = new MutationObserver(mutationObserverCallback);
+ mutationObserver.observe(document.getElementById(elementId), { attributes: true });
+
+ const defaultOptions = {
+ enableTime: options.inputMode === 1,
+ dateFormat: options.inputMode === 1 ? 'Y-m-d H:i' : 'Y-m-d',
+ allowInput: true,
+ altInput: true,
+ altFormat: options.displayFormat ? options.displayFormat : (options.inputMode === 1 ? 'Y-m-d H:i' : 'Y-m-d'),
+ defaultDate: options.defaultDate,
+ minDate: options.min,
+ maxDate: options.max,
+ locale: options.localization || {
+ firstDayOfWeek: options.firstDayOfWeek
+ },
+ time_24hr: options.timeAs24hr ? options.timeAs24hr : false,
+ clickOpens: !(options.readOnly || false),
+ disable: options.disabledDates || [],
+ inline: options.inline || false,
+ disableMobile: options.disableMobile || true,
+ static: options.staticPicker
+ };
+
+ if (options.selectionMode)
+ defaultOptions.mode = options.selectionMode;
+
+ const pluginOptions = options.inputMode === 2 ? {
+ plugins: [new monthSelectPlugin({
+ shorthand: false,
+ dateFormat: "Y-m-d",
+ altFormat: "M Y"
+ })]
+ } : {};
+
+ const picker = flatpickr(element, Object.assign({}, defaultOptions, pluginOptions));
+
+ picker.altInput.dotnetAdapter = dotnetAdapter;
+
+ if (options) {
+ picker.altInput.disabled = options.disabled || false;
+ picker.altInput.readOnly = options.readOnly || false;
+ picker.altInput.placeholder = options.placeholder;
+
+ picker.altInput.addEventListener("blur", (e) => {
+ const isInput = e.target === picker._input;
+
+ // Workaround for: onchange does not fire when user writes the time and then click outside of the input area.
+ if (isInput && picker.isOpen === false) {
+ picker.input.dispatchEvent(utilities.createEvent("change"));
+ picker.input.dispatchEvent(utilities.createEvent("input"));
+ }
+ });
+ }
+
+ picker.customOptions = {
+ inputMode: options.inputMode
+ };
+
+ attachEventHandlers(picker.altInput);
+
+ _pickers[elementId] = picker;
+}
+
+function attachEventHandlers(picker) {
+ picker.addEventListener("keydown", keyDownHandler);
+ picker.addEventListener("keyup", keyUpHandler);
+ picker.addEventListener("focus", focusHandler);
+ picker.addEventListener("focusin", focusInHandler);
+ picker.addEventListener("focusout", focusOutHandler);
+ picker.addEventListener("keypress", keyPressHandler);
+ picker.addEventListener("blur", blurHandler);
+}
+
+function removeEventHandlers(picker) {
+ picker.removeEventListener("keydown", keyDownHandler);
+ picker.removeEventListener("keyup", keyUpHandler);
+ picker.removeEventListener("focus", focusHandler);
+ picker.removeEventListener("focusin", focusInHandler);
+ picker.removeEventListener("focusout", focusOutHandler);
+ picker.removeEventListener("keypress", keyPressHandler);
+ picker.removeEventListener("blur", blurHandler);
+}
+
+function keyDownHandler(e) {
+ if (e.target.dotnetAdapter) {
+ e.target.dotnetAdapter.invokeMethodAsync("OnKeyDownHandler", e);
+ }
+}
+
+function keyUpHandler(e) {
+ if (e.target.dotnetAdapter) {
+ e.target.dotnetAdapter.invokeMethodAsync("OnKeyUpHandler", e);
+ }
+}
+
+function focusHandler(e) {
+ if (e.target.dotnetAdapter) {
+ e.target.dotnetAdapter.invokeMethodAsync("OnFocusHandler", e);
+ }
+}
+
+function focusInHandler(e) {
+ if (e.target.dotnetAdapter) {
+ e.target.dotnetAdapter.invokeMethodAsync("OnFocusInHandler", e);
+ }
+}
+
+function focusOutHandler(e) {
+ if (e.target.dotnetAdapter) {
+ e.target.dotnetAdapter.invokeMethodAsync("OnFocusOutHandler", e);
+ }
+}
+
+function keyPressHandler(e) {
+ if (e.target.dotnetAdapter) {
+ e.target.dotnetAdapter.invokeMethodAsync("OnKeyPressHandler", e);
+ }
+}
+
+function blurHandler(e) {
+ if (e.target.dotnetAdapter) {
+ e.target.dotnetAdapter.invokeMethodAsync("OnBlurHandler", e);
+ }
+}
+
+export function destroy(element, elementId) {
+ const instances = _pickers || {};
+
+ const instance = instances[elementId];
+
+ if (instance && instance.altInput) {
+ removeEventHandlers(instance.altInput);
+ }
+
+ if (instance) {
+ instance.destroy();
+ }
+
+ delete instances[elementId];
+}
+
+export function updateValue(element, elementId, value) {
+ const picker = _pickers[elementId];
+
+ if (picker) {
+ picker.setDate(value);
+
+ // workaround for https://github.com/flatpickr/flatpickr/issues/2861
+ if (picker.customOptions && picker.customOptions.inputMode === 2 && picker.nextMonthNav) {
+ picker.nextMonthNav.click();
+ picker.jumpToDate(value, false);
+ }
+ }
+}
+
+export function updateOptions(element, elementId, options) {
+ const picker = _pickers[elementId];
+
+ if (picker) {
+ if (options.firstDayOfWeek.changed) {
+ picker.set("firstDayOfWeek", options.firstDayOfWeek.value);
+ }
+
+ if (options.displayFormat.changed) {
+ picker.set("altFormat", options.displayFormat.value);
+ }
+
+ if (options.timeAs24hr.changed) {
+ picker.set("time_24hr", options.timeAs24hr.value);
+ }
+
+ if (options.min.changed) {
+ picker.set("minDate", options.min.value);
+ }
+
+ if (options.max.changed) {
+ picker.set("maxDate", options.max.value);
+ }
+
+ if (options.disabled.changed) {
+ picker.altInput.disabled = options.disabled.value;
+ }
+
+ if (options.readOnly.changed) {
+ picker.altInput.readOnly = options.readOnly.value;
+ picker.set("clickOpens", !options.readOnly.value);
+ }
+
+ if (options.disabledDates.changed) {
+ picker.set("disable", options.disabledDates.value || []);
+ }
+
+ if (options.selectionMode.changed) {
+ picker.set("mode", options.selectionMode.value);
+ }
+
+ if (options.inline.changed) {
+ picker.set("inline", options.inline.value || false);
+ }
+
+ if (options.disableMobile.changed) {
+ picker.set("disableMobile", options.disableMobile.value || true);
+ }
+
+ if (options.placeholder.changed) {
+ picker.altInput.placeholder = options.placeholder.value;
+ }
+
+ if (options.staticPicker.changed) {
+ picker.set("static", options.staticPicker.value);
+ }
+ }
+}
+
+export function open(element, elementId) {
+ const picker = _pickers[elementId];
+
+ if (picker) {
+ picker.open();
+ }
+}
+
+export function close(element, elementId) {
+ const picker = _pickers[elementId];
+
+ if (picker) {
+ picker.close();
+ }
+}
+
+export function toggle(element, elementId) {
+ const picker = _pickers[elementId];
+
+ if (picker) {
+ picker.toggle();
+ }
+}
+
+export function updateLocalization(element, elementId, localization) {
+ const picker = _pickers[elementId];
+
+ if (picker) {
+ picker.config.locale = localization;
+
+ if (picker.l10n) {
+ picker.l10n.months = localization.months;
+ picker.l10n.weekdays = localization.weekdays;
+ picker.l10n.amPM = localization.amPM;
+ picker.l10n.rangeSeparator = localization.rangeSeparator;
+ }
+
+ if (picker.weekdayContainer) {
+ for (let i = 0; i < 7; ++i) {
+ picker.weekdayContainer.children[0].children[i].innerHtml = localization.weekdays.shorthand[i];
+ picker.weekdayContainer.children[0].children[i].innerText = localization.weekdays.shorthand[i];
+ }
+ }
+
+ if (picker.amPM) {
+ const selectedDate = picker.selectedDates && picker.selectedDates.length > 0 ? picker.selectedDates[0] : null;
+ const index = selectedDate && selectedDate.getHours() >= 12 ? 1 : 0;
+
+ picker.amPM.innerHtml = localization.amPM[index];
+ picker.amPM.innerText = localization.amPM[index];
+ }
+
+ picker.redraw();
+ }
+}
+
+export function focus(element, elementId, scrollToElement) {
+ const picker = _pickers[elementId];
+
+ if (picker && picker.altInput) {
+ utilities.focus(picker.altInput, null, scrollToElement);
+ }
+}
+
+export function select(element, elementId, focus) {
+ const picker = _pickers[elementId];
+
+ if (picker && picker.altInput) {
+ utilities.select(picker.altInput, null, focus);
+ }
+}
\ No newline at end of file
diff --git a/_content/Blazorise/dragDrop.js b/_content/Blazorise/dragDrop.js
new file mode 100755
index 00000000..37f01370
--- /dev/null
+++ b/_content/Blazorise/dragDrop.js
@@ -0,0 +1,83 @@
+import { getRequiredElement } from "./utilities.js?v=1.3.1.0";
+
+export function initialize(element, elementId) {
+ element = getRequiredElement(element, elementId);
+
+ if (!element)
+ return;
+
+ element.addEventListener('dragover', dragOverHandler);
+ element.addEventListener('dragstart', dragStartHandler);
+}
+
+export function destroy(element, elementId) {
+ element = getRequiredElement(element, elementId);
+
+ if (!element)
+ return;
+
+ element.removeEventListener('dragover', dragOverHandler);
+ element.removeEventListener('dragstart', dragStartHandler);
+}
+
+export function initializeThrottledDragEvents(element, elementId, dotnetAdapter) {
+ element = getRequiredElement(element, elementId);
+
+ if (!element)
+ return;
+
+ element.dotnetAdapter = dotnetAdapter;
+ element.timeOutForDrag = null;
+ element.timeOutForDragOver = null;
+
+ element.addEventListener('drag', throttledDragHandler);
+ element.addEventListener('dragover', throttledDragOverHandler);
+}
+
+export function destroyThrottledDragEvents(element, elementId) {
+ element = getRequiredElement(element, elementId);
+
+ if (!element)
+ return;
+
+ if (typeof throttledDragHandler === "function") {
+ element.removeEventListener("drag", throttledDragHandler);
+ }
+
+ if (typeof throttledDragOverHandler === "function") {
+ element.removeEventListener("dragover", throttledDragOverHandler);
+ }
+}
+
+function dragOverHandler(e) {
+ e.preventDefault();
+}
+
+function dragStartHandler(e) {
+ e.dataTransfer.setData('', e.target.id);
+}
+
+function throttledDragHandler(e) {
+ e.preventDefault();
+
+ if (e.target && !e.target.timeOutForDrag) {
+ e.target.timeOutForDrag = setTimeout(function () {
+ e.target.timeOutForDrag = null;
+ if (e.target.dotnetAdapter) {
+ e.target.dotnetAdapter.invokeMethodAsync("OnDragHandler", e);
+ }
+ }.bind(this), 250);
+ }
+}
+
+function throttledDragOverHandler(e) {
+ e.preventDefault();
+ if (e.target && !e.target.timeOutForDragOver) {
+ e.target.timeOutForDragOver = setTimeout(function () {
+ e.target.timeOutForDragOver = null;
+ if (e.target.dotnetAdapter) {
+ e.target.dotnetAdapter.invokeMethodAsync("OnDragOverHandler", e);
+ }
+ }.bind(this), 250);
+ }
+}
\ No newline at end of file
diff --git a/_content/Blazorise/dropdown.js b/_content/Blazorise/dropdown.js
new file mode 100755
index 00000000..89e76338
--- /dev/null
+++ b/_content/Blazorise/dropdown.js
@@ -0,0 +1,46 @@
+import { getRequiredElement } from "./utilities.js?v=1.3.1.0";
+import { createFloatingUiAutoUpdate } from './floatingUi.js?v=1.3.1.0';
+
+const _instances = [];
+
+function createSelector(value) {
+ const classNames = '.' + value.split(' ').filter(i => i).join('.');
+
+ return classNames;
+}
+
+export function initialize(element, elementId, targetElementId, menuElementId, options) {
+ element = getRequiredElement(element, elementId);
+
+ if (!element)
+ return;
+
+ const targetElement = targetElementId
+ ? document.getElementById(targetElementId)
+ : element.querySelector(createSelector(options.dropdownToggleClassNames));
+
+ const menuElement = menuElementId
+ ? document.getElementById(menuElementId)
+ : element.querySelector(createSelector(options.dropdownMenuClassNames));
+
+ const instanceCleanupFunction = createFloatingUiAutoUpdate(targetElement, menuElement, options);
+
+ _instances[elementId] = instanceCleanupFunction;
+}
+
+
+export function destroy(element, elementId) {
+ element = getRequiredElement(element, elementId);
+
+ if (!element)
+ return;
+
+ const instances = _instances || {};
+
+ const instanceCleanupFunction = instances[elementId];
+
+ if (instanceCleanupFunction) {
+ instanceCleanupFunction();
+ delete instances[elementId];
+ }
+}
\ No newline at end of file
diff --git a/_content/Blazorise/fileEdit.js b/_content/Blazorise/fileEdit.js
new file mode 100755
index 00000000..b4619248
--- /dev/null
+++ b/_content/Blazorise/fileEdit.js
@@ -0,0 +1,201 @@
+import { getRequiredElement } from "./utilities.js?v=1.3.1.0";
+
+const _instances = [];
+let nextFileId = 0;
+export function initialize(adapter, element, elementId) {
+ element = getRequiredElement(element, elementId);
+
+ if (!element)
+ return;
+
+ // save an instance of adapter
+ _instances[elementId] = new FileEditInfo(adapter, element, elementId);
+ element.addEventListener("drop", async (e) => await onDrop(e, element), false);
+ element.addEventListener('change', function handleInputFileChange(event) {
+
+ var fileList = mapElementFilesToFileEntries(element);
+
+ adapter.invokeMethodAsync('NotifyChange', fileList).then(null, function (err) {
+ throw new Error(err);
+ });
+ });
+}
+
+export function removeFile(element, elementId, fileId) {
+ element = getRequiredElement(element, elementId);
+
+ if (element && element.files && element.files.length > 0) {
+ const dt = new DataTransfer();
+
+ for (let i = 0; i < element.files.length; i++) {
+ const file = element.files[i];
+ if (file.id != fileId)
+ dt.items.add(file);
+ }
+
+ element.files = dt.files;
+ element.dispatchEvent(new Event("change"));
+ }
+}
+
+export function destroy(element, elementId) {
+ var instances = _instances || {};
+ delete instances[elementId];
+}
+
+export function reset(element, elementId) {
+ element = getRequiredElement(element, elementId);
+
+ if (element) {
+ element.value = '';
+
+ var fileEditInfo = _instances[elementId];
+
+ if (fileEditInfo) {
+ fileEditInfo.adapter.invokeMethodAsync('NotifyChange', []).then(null, function (err) {
+ throw new Error(err);
+ });
+ }
+ }
+}
+
+export function open(element, elementId) {
+ element = getRequiredElement(element, elementId);
+
+ if (!element)
+ return;
+
+ if ('showPicker' in HTMLInputElement.prototype) {
+ element.showPicker();
+ }
+ else {
+ element.click();
+ }
+}
+
+// Reduce to purely serializable data, plus build an index by ID
+function mapElementFilesToFileEntries(element) {
+ element._blazorFilesById = {};
+
+ let fileList = Array.prototype.map.call(element.files, function (file) {
+ file.id = file.id ?? ++nextFileId;
+ var fileEntry = {
+ id: file.id,
+ lastModified: new Date(file.lastModified).toISOString(),
+ name: file.name,
+ size: file.size,
+ type: file.type,
+ relativePath: file.webkitRelativePath
+ };
+ element._blazorFilesById[fileEntry.id] = fileEntry;
+
+ // Attach the blob data itself as a non-enumerable property so it doesn't appear in the JSON
+ Object.defineProperty(fileEntry, 'blob', { value: file });
+
+ return fileEntry;
+ });
+ return fileList;
+}
+
+async function onDrop(e, element) {
+ e.preventDefault();
+ console.log(element);
+ let fileInput = element;
+
+ let _files = await getFilesAsync(e.dataTransfer, fileInput.webkitdirectory, fileInput.multiple);
+ fileInput.files = _files;
+
+ const event = new Event('change', { bubbles: true });
+ fileInput.dispatchEvent(event);
+}
+
+export async function getFilesAsync(dataTransfer, directory, multiple) {
+ const files = [];
+ const queue = [];
+
+ let fileCount = 1
+ if (multiple) {
+ fileCount = dataTransfer.items.length
+ }
+
+ for (let i = 0; i < fileCount; i++) {
+ const item = dataTransfer.items[i];
+ if (item.kind === "file") {
+ if (typeof item.webkitGetAsEntry === "function") {
+ const entry = item.webkitGetAsEntry();
+ if (entry.isDirectory) {
+ if (!directory) {
+ continue;
+ }
+ }
+ queue.push(readEntryContentAsync(entry).then(x => files.push(...x)));
+ continue;
+ }
+
+ const file = item.getAsFile();
+ if (file) {
+ files.push(file);
+ }
+ }
+ }
+ await Promise.all(queue);
+
+ var dt = new DataTransfer();
+
+ for (var i = 0; i < files.length; i++) {
+ dt.items.add(files[i]);
+ }
+
+ return dt.files;
+}
+
+// Returns a promise with all the files of the directory hierarchy
+function readEntryContentAsync(entry) {
+ return new Promise((resolve, reject) => {
+ let reading = 0;
+ const contents = [];
+
+ readEntry(entry);
+
+ function readEntry(entry) {
+ if (entry.isFile) {
+ reading++;
+ entry.file(file => {
+ reading--;
+ contents.push(file);
+
+ if (reading === 0) {
+ resolve(contents);
+ }
+ });
+ } else if (entry.isDirectory) {
+ readReaderContent(entry.createReader());
+ }
+ }
+
+ function readReaderContent(reader) {
+ reading++;
+
+ reader.readEntries(function (entries) {
+ reading--;
+ for (const entry of entries) {
+ readEntry(entry);
+ }
+
+ if (reading === 0) {
+ resolve(contents);
+ }
+ });
+ }
+ });
+}
+
+
+class FileEditInfo {
+ constructor(adapter, element, elementId) {
+ this.adapter = adapter;
+ this.element = element;
+ this.elementId = elementId;
+ }
+}
+
diff --git a/_content/Blazorise/filePicker.js b/_content/Blazorise/filePicker.js
new file mode 100755
index 00000000..9e733460
--- /dev/null
+++ b/_content/Blazorise/filePicker.js
@@ -0,0 +1,67 @@
+import { getRequiredElement } from "./utilities.js?v=1.3.1.0";
+import { getFilesAsync } from "./fileEdit.js?v=1.3.1.0";
+
+const _instances = [];
+export function initialize(element, elementId) {
+ element = getRequiredElement(element, elementId);
+
+ if (!element)
+ return;
+
+ _instances[elementId] = element;
+ initializeDropZone(element);
+}
+
+export function destroy(element, elementId) {
+ var instances = _instances || {};
+ delete instances[elementId];
+}
+
+function initializeDropZone(element) {
+ let fileInput = setFileInput(element);
+ if (fileInput) {
+ element.addEventListener("dragenter", onDragHover);
+ element.addEventListener("dragover", onDragHover);
+ element.addEventListener("dragleave", onDragLeave);
+ element.addEventListener("drop", async (e) => await onDrop(e, element), false);
+ element.addEventListener('paste', (e) => onPaste(e, element));
+ }
+}
+
+function onDragHover(e) {
+ e.preventDefault();
+}
+
+function onDragLeave(e) {
+ e.preventDefault();
+}
+
+async function onDrop(e, element) {
+ e.preventDefault();
+ console.log(element);
+ let fileInput = getFileInput(element);
+
+ let _files = await getFilesAsync(e.dataTransfer, fileInput.webkitdirectory, fileInput.multiple);
+ fileInput.files = _files;
+
+ const event = new Event('change', { bubbles: true });
+ fileInput.dispatchEvent(event);
+}
+
+function onPaste(e, element) {
+ let fileInput = getFileInput(element);
+
+ fileInput.files = e.clipboardData.files;
+ const event = new Event('change', { bubbles: true });
+ fileInput.dispatchEvent(event);
+}
+
+function setFileInput(element) {
+ let fileInput = element.querySelector("input[type=file]");
+ _instances[element.id].fileInput = fileInput;
+ return fileInput;
+}
+
+function getFileInput(element) {
+ return _instances[element.id].fileInput;
+}
diff --git a/_content/Blazorise/floatingUi.js b/_content/Blazorise/floatingUi.js
new file mode 100755
index 00000000..6f4ee3f6
--- /dev/null
+++ b/_content/Blazorise/floatingUi.js
@@ -0,0 +1,38 @@
+import { computePosition, autoUpdate, flip, shift, limitShift } from './vendors/floating-ui.js?v=1.3.1.0';
+
+const DIRECTION_DEFAULT = 'Default'
+const DIRECTION_DOWN = 'Down'
+const DIRECTION_UP = 'Up'
+const DIRECTION_END = 'End'
+const DIRECTION_START = 'Start'
+
+export function createFloatingUiAutoUpdate(targetElement, menuElement, options) {
+ //https://floating-ui.com/docs/autoUpdate
+ return autoUpdate(targetElement, menuElement, () => {
+ computePosition(targetElement, menuElement, { //https://floating-ui.com/docs/computePosition#anchoring
+ placement: getPlacementDirection(options.direction, options.rightAligned), //https://floating-ui.com/docs/computePosition#placement
+ strategy: options.strategy, //https://floating-ui.com/docs/computePosition#strategy
+ middleware: [flip(), shift({ padding: 0, limiter: limitShift() })] //https://floating-ui.com/docs/computePosition#middleware
+ }).then(({ x, y }) => {
+ Object.assign(menuElement.style, {
+ left: `${x}px`,
+ top: `${y}px`
+ });
+ });
+ });
+}
+
+function getPlacementDirection(direction, rightAligned) {
+ let suffixAlignment = rightAligned ? "end" : "start";
+
+ if (direction === DIRECTION_DEFAULT || direction === DIRECTION_DOWN)
+ return 'bottom-' + suffixAlignment;
+ else if (direction === DIRECTION_UP)
+ return 'top-' + suffixAlignment;
+ else if (direction === DIRECTION_END)
+ return 'right-' + suffixAlignment;
+ else if (direction === DIRECTION_START)
+ return 'left-' + suffixAlignment;
+
+ return 'bottom-' + suffixAlignment;
+}
\ No newline at end of file
diff --git a/_content/Blazorise/inputMask.js b/_content/Blazorise/inputMask.js
new file mode 100755
index 00000000..bfac1458
--- /dev/null
+++ b/_content/Blazorise/inputMask.js
@@ -0,0 +1,66 @@
+import Inputmask from "./vendors/inputmask.js?v=1.3.1.0";
+import { getRequiredElement } from "./utilities.js?v=1.3.1.0";
+
+let _instances = [];
+
+export function initialize(dotnetAdapter, element, elementId, options) {
+ element = getRequiredElement(element, elementId);
+
+ if (!element)
+ return;
+
+ const maskOptions = options.mask ? { mask: options.mask } : {};
+ const regexOptions = options.mask ? { regex: options.regex } : {};
+ const aliasOptions = options.alias ? { alias: options.alias, inputFormat: options.inputFormat, outputFormat: options.outputFormat } : {};
+ const otherOptions = {
+ placeholder: options.placeholder || "_",
+ showMaskOnFocus: options.showMaskOnFocus,
+ showMaskOnHover: options.showMaskOnHover,
+ numericInput: options.numericInput || false,
+ rightAlign: options.rightAlign || false,
+ radixPoint: options.decimalSeparator || "",
+ groupSeparator: options.groupSeparator || "",
+ nullable: options.nullable || false,
+ positionCaretOnClick: options.positionCaretOnClick || "lvp",
+ clearMaskOnLostFocus: options.clearMaskOnLostFocus || true,
+ clearIncomplete: options.clearIncomplete || false,
+ autoUnmask: options.autoUnmask || false,
+ oncomplete: function (e) {
+ dotnetAdapter.invokeMethodAsync('NotifyCompleted', e.target.value);
+ },
+ onincomplete: function (e) {
+ dotnetAdapter.invokeMethodAsync('NotifyIncompleted', e.target.value);
+ },
+ oncleared: function () {
+ dotnetAdapter.invokeMethodAsync('NotifyCleared');
+ }
+ };
+
+ const finalOptions = options.alias
+ ? Object.assign({}, aliasOptions, otherOptions)
+ : Object.assign({}, maskOptions, regexOptions, otherOptions);
+
+ var inputMask = new Inputmask(finalOptions);
+
+ inputMask.mask(element);
+
+ _instances[elementId] = {
+ dotnetAdapter: dotnetAdapter,
+ element: element,
+ elementId: elementId,
+ inputMask: inputMask
+ };
+}
+
+export function destroy(element, elementId) {
+ var instances = _instances || {};
+ delete instances[elementId];
+}
+
+export function extendAliases(element, elementId, aliasOptions) {
+ const instance = _instances[elementId];
+
+ if (instance && instance.inputMask) {
+ instance.inputMask.extendAliases(aliasOptions);
+ }
+}
\ No newline at end of file
diff --git a/_content/Blazorise/io.js b/_content/Blazorise/io.js
new file mode 100755
index 00000000..5534ecf0
--- /dev/null
+++ b/_content/Blazorise/io.js
@@ -0,0 +1,132 @@
+export async function readFileDataStream(elem, fileId) {
+ const file = getFileById(elem, fileId);
+ return file.blob;
+}
+
+export function readFileData(element, fileEntryId, position, length) {
+ var readPromise = getArrayBufferFromFileAsync(element, fileEntryId);
+
+ return readPromise.then(function (arrayBuffer) {
+ return new Uint8Array(arrayBuffer, position, length);
+ });
+}
+
+function ensureArrayBufferReadyForSharedMemoryInterop(element, fileId) {
+ return getArrayBufferFromFileAsync(element, fileId).then(function (arrayBuffer) {
+ getFileById(element, fileId).arrayBuffer = arrayBuffer;
+ });
+}
+
+function readFileDataSharedMemory(readRequest) {
+ // This uses various unsupported internal APIs. Beware that if you also use them,
+ // your code could become broken by any update.
+ var inputFileElementReferenceId = Blazor.platform.readStringField(readRequest, 0);
+ var inputFileElement = document.querySelector('[_bl_' + inputFileElementReferenceId + ']');
+ var fileId = Blazor.platform.readInt32Field(readRequest, 4);
+ var sourceOffset = Blazor.platform.readUint64Field(readRequest, 8);
+ var destination = Blazor.platform.readInt32Field(readRequest, 16);
+ var destinationOffset = Blazor.platform.readInt32Field(readRequest, 20);
+ var maxBytes = Blazor.platform.readInt32Field(readRequest, 24);
+
+ var sourceArrayBuffer = getFileById(inputFileElement, fileId).arrayBuffer;
+ var bytesToRead = Math.min(maxBytes, sourceArrayBuffer.byteLength - sourceOffset);
+ var sourceUint8Array = new Uint8Array(sourceArrayBuffer, sourceOffset, bytesToRead);
+
+ var destinationUint8Array = Blazor.platform.toUint8Array(destination);
+ destinationUint8Array.set(sourceUint8Array, destinationOffset);
+
+ return bytesToRead;
+}
+
+
+function getFileById(element, fileId) {
+ var file = element._blazorFilesById[fileId];
+
+ if (!file) {
+ throw new Error('There is no file with ID ' + fileId + '. The file list may have changed');
+ }
+
+ return file;
+}
+
+function getArrayBufferFromFileAsync(element, fileId) {
+ var file = getFileById(element, fileId);
+
+ // On the first read, convert the FileReader into a Promise
+ if (!file.readPromise) {
+ file.readPromise = new Promise(function (resolve, reject) {
+ var reader = new FileReader();
+ reader.onload = function () { resolve(reader.result); };
+ reader.onerror = function (err) { reject(err); };
+ reader.readAsArrayBuffer(file.blob);
+ });
+ }
+
+ return file.readPromise;
+}
+
+var uint8ToBase64 = (function () {
+ // Code from https://github.com/beatgammit/base64-js/
+ // License: MIT
+ var lookup = [];
+
+ var code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
+ for (var i = 0, len = code.length; i < len; ++i) {
+ lookup[i] = code[i];
+ }
+
+ function tripletToBase64(num) {
+ return lookup[num >> 18 & 0x3F] +
+ lookup[num >> 12 & 0x3F] +
+ lookup[num >> 6 & 0x3F] +
+ lookup[num & 0x3F];
+ }
+
+ function encodeChunk(uint8, start, end) {
+ var tmp;
+ var output = [];
+ for (var i = start; i < end; i += 3) {
+ tmp =
+ ((uint8[i] << 16) & 0xFF0000) +
+ ((uint8[i + 1] << 8) & 0xFF00) +
+ (uint8[i + 2] & 0xFF);
+ output.push(tripletToBase64(tmp));
+ }
+ return output.join('');
+ }
+
+ return function fromByteArray(uint8) {
+ var tmp;
+ var len = uint8.length;
+ var extraBytes = len % 3; // if we have 1 byte left, pad 2 bytes
+ var parts = [];
+ var maxChunkLength = 16383; // must be multiple of 3
+
+ // go through the array every three bytes, we'll deal with trailing stuff later
+ for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {
+ parts.push(encodeChunk(
+ uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)
+ ));
+ }
+
+ // pad the end with zeros, but make sure to not forget the extra bytes
+ if (extraBytes === 1) {
+ tmp = uint8[len - 1];
+ parts.push(
+ lookup[tmp >> 2] +
+ lookup[(tmp << 4) & 0x3F] +
+ '=='
+ );
+ } else if (extraBytes === 2) {
+ tmp = (uint8[len - 2] << 8) + uint8[len - 1];
+ parts.push(
+ lookup[tmp >> 10] +
+ lookup[(tmp >> 4) & 0x3F] +
+ lookup[(tmp << 2) & 0x3F] +
+ '='
+ );
+ }
+
+ return parts.join('');
+ };
+})();
\ No newline at end of file
diff --git a/_content/Blazorise/memoEdit.js b/_content/Blazorise/memoEdit.js
new file mode 100755
index 00000000..119b123c
--- /dev/null
+++ b/_content/Blazorise/memoEdit.js
@@ -0,0 +1,123 @@
+import { Behave } from "./vendors/Behave.js?v=1.3.1.0";
+import { getRequiredElement } from "./utilities.js?v=1.3.1.0";
+
+const _instances = [];
+
+export function initialize(element, elementId, options) {
+ element = getRequiredElement(element, elementId);
+
+ if (!element)
+ return;
+
+ const replaceTab = options.replaceTab || false;
+ const tabSize = options.tabSize || 4;
+ const softTabs = options.tabSize || true;
+
+ let behave = replaceTab ? new Behave({
+ textarea: element,
+ replaceTab: replaceTab,
+ softTabs: softTabs,
+ tabSize: tabSize,
+ autoOpen: true,
+ overwrite: true,
+ autoStrip: true,
+ autoIndent: true,
+ fence: false
+ }) : null;
+
+ if (options.autoSize) {
+ element.oninput = onInputChanged;
+
+ // fire oninput immediatelly to trigger autosize in case the text is long
+ if ("createEvent" in document) {
+ let event = document.createEvent("HTMLEvents");
+ event.initEvent("input", false, true);
+ element.dispatchEvent(event);
+ }
+ else {
+ element.fireEvent("oninput");
+ }
+ }
+
+ _instances[elementId] = {
+ element: element,
+ elementId: elementId,
+ replaceTab: replaceTab,
+ tabSize: tabSize,
+ softTabs: softTabs,
+ behave: behave
+ };
+}
+
+export function destroy(element, elementId) {
+ const instance = _instances[elementId];
+
+ if (instance && instance.behave) {
+ instance.behave.destroy();
+ instance.behave = null;
+ }
+
+ delete _instances[elementId];
+}
+
+export function updateOptions(element, elementId, options) {
+ const instance = _instances[elementId];
+
+ if (instance) {
+ if (options.replaceTab.changed || options.tabSize.changed || options.softTabs.changed) {
+ instance.replaceTab = options.replaceTab.value;
+ instance.tabSize = options.tabSize.value;
+ instance.softTabs = options.softTabs.value;
+
+ if (instance.behave) {
+ instance.behave.destroy();
+ instance.behave = null;
+ }
+
+ if (instance.replaceTab) {
+ instance.behave = new Behave({
+ textarea: element,
+ replaceTab: instance.replaceTab,
+ softTabs: instance.softTabs,
+ tabSize: instance.tabSize,
+ autoOpen: true,
+ overwrite: true,
+ autoStrip: true,
+ autoIndent: true,
+ fence: false
+ });
+ }
+ }
+
+ if (options.autoSize.changed) {
+ element.oninput = options.autoSize.value
+ ? onInputChanged
+ : function () { };
+ }
+ };
+}
+
+function onInputChanged(e) {
+ if (e && e.target) {
+ e.target.style.height = 'auto';
+ e.target.style.height = this.scrollHeight + 'px';
+ e.target.style.overflowY = 'hidden';
+ }
+}
+
+export function recalculateAutoHeight(element, elementId) {
+ element = getRequiredElement(element, elementId);
+
+ if (!element)
+ return;
+
+ // fire input to trigger autosize in case the text is long
+ if ("createEvent" in document) {
+ let event = document.createEvent("HTMLEvents");
+ event.initEvent("input", false, true);
+ element.dispatchEvent(event);
+ }
+ else {
+ element.fireEvent("oninput");
+ }
+}
\ No newline at end of file
diff --git a/_content/Blazorise/numericPicker.js b/_content/Blazorise/numericPicker.js
new file mode 100755
index 00000000..2e812465
--- /dev/null
+++ b/_content/Blazorise/numericPicker.js
@@ -0,0 +1,146 @@
+import { getRequiredElement, fromExponential, firstNonNull } from "./utilities.js?v=1.3.1.0";
+
+import './vendors/autoNumeric.js?v=1.3.1.0';
+
+let _instances = [];
+
+export function initialize(dotnetAdapter, element, elementId, options) {
+ element = getRequiredElement(element, elementId);
+
+ if (!element)
+ return;
+
+ const instance = new AutoNumeric(element, options.value, {
+ decimalPlaces: firstNonNull(options.decimals, AutoNumeric.options.decimalPlaces.two),
+ decimalPlacesRawValue: firstNonNull(options.decimals, AutoNumeric.options.decimalPlaces.two),
+ decimalPlacesShownOnBlur: firstNonNull(options.decimals, AutoNumeric.options.decimalPlaces.two),
+ decimalPlacesShownOnFocus: firstNonNull(options.decimals, AutoNumeric.options.decimalPlaces.two),
+ decimalCharacter: firstNonNull(options.decimalSeparator, AutoNumeric.options.decimalCharacter.dot),
+ decimalCharacterAlternative: firstNonNull(options.alternativeDecimalSeparator, AutoNumeric.options.decimalCharacter.comma),
+
+ digitGroupSeparator: firstNonNull(options.groupSeparator, AutoNumeric.options.digitGroupSeparator.noSeparator),
+ digitalGroupSpacing: firstNonNull(options.groupSpacing, AutoNumeric.options.digitalGroupSpacing.three),
+
+ modifyValueOnWheel: firstNonNull(options.modifyValueOnWheel, AutoNumeric.options.modifyValueOnWheel.doNothing),
+ wheelOn: firstNonNull(options.wheelOn, AutoNumeric.options.wheelOn.focus),
+ wheelStep: firstNonNull(options.step, 1),
+ minimumValue: firstNonNull(fromExponential(firstNonNull(options.min, options.typeMin)), AutoNumeric.options.minimumValue.tenTrillions),
+ maximumValue: firstNonNull(fromExponential(firstNonNull(options.max, options.typeMax)), AutoNumeric.options.maximumValue.tenTrillions),
+ overrideMinMaxLimits: firstNonNull(options.minMaxLimitsOverride, AutoNumeric.options.overrideMinMaxLimits.doNotOverride),
+ roundingMethod: firstNonNull(options.roundingMethod, AutoNumeric.options.roundingMethod.halfUpSymmetric),
+
+ currencySymbol: firstNonNull(options.currencySymbol, AutoNumeric.options.currencySymbol.none),
+ currencySymbolPlacement: firstNonNull(options.currencySymbolPlacement, AutoNumeric.options.currencySymbolPlacement.suffix),
+
+ selectOnFocus: firstNonNull(options.selectAllOnFocus, AutoNumeric.options.selectOnFocus.doNotSelect),
+ caretPositionOnFocus: AutoNumeric.options.caretPositionOnFocus.doNoForceCaretPosition,
+
+ allowDecimalPadding: firstNonNull(options.allowDecimalPadding, AutoNumeric.options.allowDecimalPadding.always),
+ alwaysAllowDecimalCharacter: firstNonNull(options.alwaysAllowDecimalSeparator, AutoNumeric.options.alwaysAllowDecimalCharacter.doNotAllow),
+
+ onInvalidPaste: 'ignore',
+ emptyInputBehavior: AutoNumeric.options.emptyInputBehavior.null
+ });
+
+ element.addEventListener('autoNumeric:rawValueModified', e => {
+ if (typeof e.detail.newRawValue !== "undefined") {
+ dotnetAdapter.invokeMethodAsync('SetValue', e.detail.newRawValue);
+ }
+ });
+
+ _instances[elementId] = instance;
+}
+
+export function destroy(element, elementId) {
+ const instance = _instances[elementId];
+
+ if (instance) {
+ instance.remove();
+ }
+
+ delete _instances[elementId];
+}
+
+export function updateOptions(element, elementId, options) {
+ const instance = _instances[elementId];
+
+ if (instance && options) {
+ const newOptions = {};
+
+ if (options.decimals.changed) {
+ //newOptions.decimalPlaces = options.decimals.value || AutoNumeric.options.decimalPlaces.two;
+ newOptions.decimalPlacesRawValue = firstNonNull(options.decimals.value, AutoNumeric.options.decimalPlaces.two);
+ newOptions.decimalPlacesShownOnFocus = firstNonNull(options.decimals.value, AutoNumeric.options.decimalPlaces.two);
+ newOptions.decimalPlacesShownOnBlur = firstNonNull(options.decimals.value, AutoNumeric.options.decimalPlaces.two);
+ }
+
+ if (options.decimalSeparator.changed) {
+ newOptions.decimalCharacter = firstNonNull(options.decimalSeparator.value, AutoNumeric.options.decimalCharacter.dot);
+ }
+
+ if (options.alternativeDecimalSeparator.changed) {
+ newOptions.decimalCharacterAlternative = firstNonNull(options.alternativeDecimalSeparator.value, AutoNumeric.options.decimalCharacter.comma);
+ }
+
+ if (options.groupSeparator.changed) {
+ newOptions.digitGroupSeparator = firstNonNull(options.groupSeparator.value, AutoNumeric.options.digitGroupSeparator.noSeparator);
+ }
+
+ if (options.groupSpacing.changed) {
+ newOptions.digitalGroupSpacing = firstNonNull(options.groupSpacing.value, AutoNumeric.options.digitalGroupSpacing.three);
+ }
+
+ if (options.currencySymbol.changed) {
+ newOptions.currencySymbol = firstNonNull(options.currencySymbol.value, AutoNumeric.options.currencySymbol.none);
+ }
+
+ if (options.currencySymbolPlacement.changed) {
+ newOptions.currencySymbolPlacement = firstNonNull(options.currencySymbolPlacement.value, AutoNumeric.options.currencySymbolPlacement.suffix);
+ }
+
+ if (options.roundingMethod.changed) {
+ newOptions.roundingMethod = firstNonNull(options.roundingMethod.value, AutoNumeric.options.roundingMethod.halfUpSymmetric);
+ }
+
+ if (options.min.changed) {
+ newOptions.minimumValue = fromExponential(firstNonNull(options.min.value, AutoNumeric.options.minimumValue.tenTrillions));
+ }
+ if (options.max.changed) {
+ newOptions.maximumValue = fromExponential(firstNonNull(options.max.value, AutoNumeric.options.maximumValue.tenTrillions));
+ }
+
+ if (options.minMaxLimitsOverride.changed) {
+ newOptions.overrideMinMaxLimits = firstNonNull(options.minMaxLimitsOverride.value, AutoNumeric.options.overrideMinMaxLimits.doNotOverride);
+ }
+
+ if (options.selectAllOnFocus.changed) {
+ newOptions.selectOnFocus = firstNonNull(options.selectAllOnFocus.value, AutoNumeric.options.selectOnFocus.doNotSelect);
+ }
+
+ if (options.allowDecimalPadding.changed) {
+ newOptions.allowDecimalPadding = firstNonNull(options.allowDecimalPadding.value, AutoNumeric.options.allowDecimalPadding.always);
+ }
+
+ if (options.alwaysAllowDecimalSeparator.changed) {
+ newOptions.alwaysAllowDecimalCharacter = firstNonNull(options.alwaysAllowDecimalSeparator.value, AutoNumeric.options.alwaysAllowDecimalCharacter.doNotAllow);
+ }
+
+ if (options.modifyValueOnWheel.changed) {
+ newOptions.modifyValueOnWheel = firstNonNull(options.modifyValueOnWheel.value, AutoNumeric.options.modifyValueOnWheel.doNothing);
+ }
+
+ if (options.wheelOn.changed) {
+ newOptions.wheelOn = firstNonNull(options.wheelOn.value, AutoNumeric.options.wheelOn.focus);
+ }
+
+ instance.update(newOptions);
+ }
+}
+
+export function updateValue(element, elementId, value) {
+ const instance = _instances[elementId];
+
+ if (instance) {
+ instance.set(value);
+ }
+}
\ No newline at end of file
diff --git a/_content/Blazorise/observer.js b/_content/Blazorise/observer.js
new file mode 100755
index 00000000..60236d1e
--- /dev/null
+++ b/_content/Blazorise/observer.js
@@ -0,0 +1,54 @@
+///https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver
+
+const _instances = [];
+
+///Creates a new observer on a given element, please follow the link below for usage
+///https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver/observe
+export function createObserver(elementId, callback, configuration) {
+ const observer = new MutationObserver(callback);
+ observer.observe(document.getElementById(elementId), configuration);
+ _instances[elementId] = observer;
+ return observer;
+}
+
+///Creates a new observer that's setup to listen for attribute changes on a given element.
+export function createAttributesObserver(targetNode, callback) {
+ return createObserver(targetNode, callback, { attributes: true, attributeOldValue: true });
+}
+
+///Observer helper function, sets an observer callback based on a class name
+export function observeClassChanged(mutationsList, className, onChangedCallBack, triggerOnOldValue) {
+ if (mutationsList && className) {
+ for (const mutation of mutationsList) {
+ if (mutation.type === 'attributes' && mutation.attributeName === 'class' && (mutation.target.classList.contains(className)) || (triggerOnOldValue && mutation.oldValue && mutation.oldValue.includes(className))) {
+ if (typeof (onChangedCallBack) === "function")
+ onChangedCallBack();
+ }
+ }
+ }
+}
+
+///Observer helper function, sets an observer callback based on an attribute name
+export function observeAttributeChanged(mutationsList, attributeName, onChangedCallBack) {
+ if (mutationsList && attributeName) {
+ for (const mutation of mutationsList) {
+ if (mutation.type === 'attributes' && mutation.attributeName === 'attribute' && mutation.target.classList.contains(attributeName)) {
+ if (typeof (onChangedCallBack) === "function")
+ onChangedCallBack();
+ }
+ }
+ }
+}
+
+///Stops and clean ups the observer
+export function destroyObserver(elementId) {
+ const instances = _instances || {};
+
+ const instance = instances[elementId];
+
+ if (instance) {
+ instance.disconnect();
+
+ delete instances[elementId];
+ }
+}
\ No newline at end of file
diff --git a/_content/Blazorise/table.js b/_content/Blazorise/table.js
new file mode 100755
index 00000000..79e16e1d
--- /dev/null
+++ b/_content/Blazorise/table.js
@@ -0,0 +1,225 @@
+import { getRequiredElement } from "./utilities.js?v=1.3.1.0";
+
+export function initializeTableFixedHeader(element, elementId) {
+ element = getRequiredElement(element, elementId);
+
+ if (!element)
+ return;
+
+ let resizeTimeout = null
+
+ function resizeThottler() {
+ if (!resizeTimeout) {
+ resizeTimeout = setTimeout(function () {
+ resizeTimeout = null;
+ resizeHandler(element);
+ }.bind(this), 66);
+ }
+ }
+
+ function resizeHandler(element) {
+ const thead = element.querySelector("thead:first-child");
+ const tableRows = thead.querySelectorAll("tr");
+ if (tableRows !== null && tableRows.length > 1) {
+ let previousRowCellHeight = 0;
+ for (let i = 0; i < tableRows.length; i++) {
+ let currentTh = tableRows[i].querySelectorAll("th");
+ currentTh.forEach(x => x.style.top = `${previousRowCellHeight}px`);
+ previousRowCellHeight += currentTh[0].offsetHeight;
+ }
+ }
+ }
+
+ resizeHandler(element);
+
+ window.addEventListener("resize", this.resizeThottler, false);
+}
+
+export function destroyTableFixedHeader(element, elementId) {
+ element = getRequiredElement(element, elementId);
+
+ if (!element)
+ return;
+
+ if (typeof this.resizeThottler === "function") {
+ window.removeEventListener("resize", this.resizeThottler);
+ }
+
+ const thead = element.querySelector("thead:first-child");
+ const tableRows = thead.querySelectorAll("tr");
+
+ if (tableRows !== null && tableRows.length > 1) {
+ for (let i = 0; i < tableRows.length; i++) {
+ let currentTh = tableRows[i].querySelectorAll("th");
+ currentTh.forEach(x => x.style.top = `${0}px`);
+ }
+ }
+}
+
+export function fixedHeaderScrollTableToPixels(element, elementId, pixels) {
+ if (element && element.parentElement) {
+
+ element.parentElement.scroll({
+ top: pixels,
+ behavior: "smooth"
+ });
+ }
+}
+
+export function fixedHeaderScrollTableToRow(element, elementId, row) {
+ element = getRequiredElement(element, elementId);
+
+ if (element) {
+ let rows = element.querySelectorAll("tr");
+ let rowsLength = rows.length;
+
+ if (rowsLength > 0 && row >= 0 && row < rowsLength) {
+ rows[row].scrollIntoView({
+ behavior: "smooth",
+ block: "nearest"
+ });
+ }
+ }
+}
+
+export function initializeResizable(element, elementId, mode) {
+ const resizerClass = "b-table-resizer";
+ const resizingClass = "b-table-resizing";
+ const resizerHeaderMode = 0;
+ let cols = null;
+
+ element = getRequiredElement(element, elementId);
+
+ if (element) {
+ const thead = element.querySelector("thead:first-child");
+ cols = thead.querySelectorAll('tr:first-child > th');
+ }
+
+ if (cols) {
+
+ const calculateTableActualHeight = function () {
+ let height = 0;
+ if (element !== null) {
+ const tableRows = element.querySelectorAll('tr');
+
+ tableRows.forEach(x => {
+ let firstCol = x.querySelector('th:first-child,td:first-child');
+ if (firstCol !== null) {
+ height += firstCol.offsetHeight;
+ }
+ });
+ }
+ return height;
+ };
+
+ const calculateModeHeight = () => {
+ return mode === resizerHeaderMode
+ ? element !== null
+ ? element.querySelector('tr:first-child > th:first-child').offsetHeight
+ : 0
+ : calculateTableActualHeight();
+ };
+
+ let actualHeight = calculateModeHeight();
+
+ const createResizableColumn = function (col) {
+ if (col.querySelector(`.${resizerClass}`) !== null)
+ return;
+ // Add a resizer element to the column
+ const resizer = document.createElement('div');
+ resizer.classList.add(resizerClass);
+
+ // Set the height
+ resizer.style.height = `${actualHeight}px`;
+
+ resizer.addEventListener("click", function (e) {
+ e.preventDefault();
+ e.stopPropagation();
+ });
+
+ let mouseDownDate;
+ let mouseUpDate;
+
+ col.addEventListener('click', function (e) {
+ let resized = (mouseDownDate !== null && mouseUpDate !== null);
+ if (resized) {
+ let currentDate = new Date();
+
+ // Checks if mouse down was some ms ago, which means click from resizing
+ let elapsedFromMouseDown = currentDate - mouseDownDate;
+ let clickFromResize = elapsedFromMouseDown > 100;
+
+ // Checks if mouse up was some ms ago, which either means:
+ // we clicked from resizing just now or
+ // did not click from resizing and should handle click normally.
+ let elapsedFromMouseUp = currentDate - mouseUpDate;
+ let clickFromResizeJustNow = elapsedFromMouseUp < 100;
+
+ if (resized && clickFromResize && clickFromResizeJustNow) {
+ e.preventDefault();
+ e.stopPropagation();
+ }
+ mouseDownDate = null;
+ mouseUpDate = null;
+ }
+ });
+ col.appendChild(resizer);
+
+ // Track the current position of mouse
+ let x = 0;
+ let w = 0;
+
+ const mouseDownHandler = function (e) {
+ mouseDownDate = new Date();
+
+ // Get the current mouse position
+ x = e.clientX;
+
+ // Calculate the current width of column
+ const styles = window.getComputedStyle(col);
+ w = parseInt(styles.width, 10);
+
+ // Attach listeners for document's events
+ document.addEventListener('pointermove', mouseMoveHandler);
+ document.addEventListener('pointerup', mouseUpHandler);
+
+ resizer.classList.add(resizingClass);
+ };
+
+ const mouseMoveHandler = function (e) {
+ // Determine how far the mouse has been moved
+ const dx = e.clientX - x;
+
+ resizer.style.height = `${calculateTableActualHeight()}px`;
+
+ // Update the width of column
+ col.style.width = `${w + dx}px`;
+ };
+
+ // When user releases the mouse, remove the existing event listeners
+ const mouseUpHandler = function () {
+ mouseUpDate = new Date();
+
+ resizer.classList.remove(resizingClass);
+
+ element.querySelectorAll(`.${resizerClass}`).forEach(x => x.style.height = `${calculateModeHeight()}px`);
+
+ document.removeEventListener('pointermove', mouseMoveHandler);
+ document.removeEventListener('pointerup', mouseUpHandler);
+ };
+
+ resizer.addEventListener('pointerdown', mouseDownHandler);
+ };
+
+
+ [].forEach.call(cols, function (col) {
+ createResizableColumn(col);
+ });
+ }
+}
+
+export function destroyResizable(element, elementId) {
+ if (element !== null) {
+ element.querySelectorAll('.b-table-resizer').forEach(x => x.remove());
+ }
+}
\ No newline at end of file
diff --git a/_content/Blazorise/textEdit.js b/_content/Blazorise/textEdit.js
new file mode 100755
index 00000000..b06c23f7
--- /dev/null
+++ b/_content/Blazorise/textEdit.js
@@ -0,0 +1,52 @@
+import { NumericMaskValidator } from "./validators/NumericMaskValidator.js?v=1.3.1.0";
+import { DateTimeMaskValidator } from "./validators/DateTimeMaskValidator.js?v=1.3.1.0";
+import { RegExMaskValidator } from "./validators/RegExMaskValidator.js?v=1.3.1.0";
+import { NoValidator } from "./validators/NoValidator.js?v=1.3.1.0";
+import { getRequiredElement } from "./utilities.js?v=1.3.1.0";
+
+let _instances = [];
+
+export function initialize(element, elementId, maskType, editMask) {
+ element = getRequiredElement(element, elementId);
+
+ if (!element)
+ return;
+
+ var instances = _instances = _instances || {};
+
+ if (maskType === "numeric") {
+ instances[elementId] = new NumericMaskValidator(null, element, elementId);
+ }
+ else if (maskType === "datetime") {
+ instances[elementId] = new DateTimeMaskValidator(element, elementId);
+ }
+ else if (maskType === "regex") {
+ instances[elementId] = new RegExMaskValidator(element, elementId, editMask);
+ }
+ else {
+ instances[elementId] = new NoValidator();
+ }
+
+ element.addEventListener("keypress", (e) => {
+ keyPress(instances[elementId], e);
+ });
+
+ element.addEventListener("paste", (e) => {
+ paste(instances[elementId], e);
+ });
+}
+
+export function destroy(element, elementId) {
+ var instances = _instances || {};
+ delete instances[elementId];
+}
+
+function keyPress(validator, e) {
+ var currentValue = String.fromCharCode(e.which);
+
+ return validator.isValid(currentValue) || e.preventDefault();
+}
+
+function paste(validator, e) {
+ return validator.isValid(e.clipboardData.getData("text/plain")) || e.preventDefault();
+}
\ No newline at end of file
diff --git a/_content/Blazorise/theme.js b/_content/Blazorise/theme.js
new file mode 100755
index 00000000..ef0c7d07
--- /dev/null
+++ b/_content/Blazorise/theme.js
@@ -0,0 +1,35 @@
+export function addVariable(name, value) {
+ const themeVariablesElement = document.getElementById("b-theme-variables");
+
+ // make sure that themeVariables element exists and that we don't have the variable already defined
+ if (themeVariablesElement && themeVariablesElement.innerHTML) {
+ const newVariable = "\n" + name + ": " + value + ";";
+
+ const variableStartIndex = themeVariablesElement.innerHTML.indexOf(name + ":");
+
+ if (variableStartIndex >= 0) {
+ const variableEndIndex = themeVariablesElement.innerHTML.indexOf(";", variableStartIndex);
+ const existingVariable = themeVariablesElement.innerHTML.substr(variableStartIndex, variableEndIndex);
+
+ const result = themeVariablesElement.innerHTML.replace(existingVariable, newVariable);
+
+ themeVariablesElement.innerHTML = result;
+ }
+ else {
+ const innerHTML = themeVariablesElement.innerHTML;
+ const position = innerHTML.lastIndexOf(';');
+
+ if (position >= 0) {
+ const result = [innerHTML.slice(0, position + 1), newVariable, innerHTML.slice(position + 1)].join('');
+
+ themeVariablesElement.innerHTML = result;
+ }
+ }
+
+ return;
+ }
+
+ // The fallback mechanism for custom CSS variables where we don't use theme provider
+ // is to apply them to the body element
+ document.body.style.setProperty(name, value);
+}
\ No newline at end of file
diff --git a/_content/Blazorise/timePicker.js b/_content/Blazorise/timePicker.js
new file mode 100755
index 00000000..d1866b60
--- /dev/null
+++ b/_content/Blazorise/timePicker.js
@@ -0,0 +1,199 @@
+import "./vendors/flatpickr.js?v=1.3.1.0";
+import * as utilities from "./utilities.js?v=1.3.1.0";
+
+const _pickers = [];
+
+export function initialize(element, elementId, options) {
+ element = utilities.getRequiredElement(element, elementId);
+
+ if (!element)
+ return;
+
+ function mutationObserverCallback(mutationsList, observer) {
+ mutationsList.forEach(mutation => {
+ if (mutation.attributeName === 'class') {
+ const picker = _pickers[mutation.target.id];
+
+ if (picker && picker.altInput) {
+ const altInputClassListToRemove = [...picker.altInput.classList].filter(cn => !["input", "active"].includes(cn));
+ const inputClassListToAdd = [...picker.input.classList].filter(cn => !["flatpickr-input"].includes(cn));
+
+ altInputClassListToRemove.forEach(name => {
+ picker.altInput.classList.remove(name);
+ });
+
+ inputClassListToAdd.forEach(name => {
+ picker.altInput.classList.add(name);
+ });
+ }
+ }
+ });
+ }
+
+ // When flatpickr is defined with altInput=true, it will create a second input
+ // element while the original input element will be hidden. With MutationObserver
+ // we can copy classnames from hidden to the visible element.
+ const mutationObserver = new MutationObserver(mutationObserverCallback);
+ mutationObserver.observe(document.getElementById(elementId), { attributes: true });
+
+ const picker = flatpickr(element, {
+ enableTime: true,
+ noCalendar: true,
+ dateFormat: "H:i",
+ allowInput: true,
+ altInput: true,
+ altFormat: options.displayFormat ? options.displayFormat : "H:i",
+ defaultValue: options.default,
+ minTime: options.min,
+ maxTime: options.max,
+ time_24hr: options.timeAs24hr ? options.timeAs24hr : false,
+ clickOpens: !(options.readOnly || false),
+ locale: options.localization || {},
+ inline: options.inline || false,
+ static: options.staticPicker
+ });
+
+ if (options) {
+ picker.altInput.disabled = options.disabled || false;
+ picker.altInput.readOnly = options.readOnly || false;
+ picker.altInput.placeholder = options.placeholder;
+
+ picker.altInput.addEventListener("blur", (e) => {
+ const isInput = e.target === picker._input;
+
+ // Workaround for: onchange does not fire when user writes the time and then click outside of the input area.
+ if (isInput && picker.isOpen === false) {
+ picker.input.dispatchEvent(utilities.createEvent("change"));
+ picker.input.dispatchEvent(utilities.createEvent("input"));
+ }
+ });
+ }
+
+ _pickers[elementId] = picker;
+}
+
+export function destroy(element, elementId) {
+ const instances = _pickers || {};
+
+ const instance = instances[elementId];
+
+ if (instance) {
+ instance.destroy();
+ }
+
+ delete instances[elementId];
+}
+
+export function updateValue(element, elementId, value) {
+ const picker = _pickers[elementId];
+
+ if (picker) {
+ picker.setDate(value);
+ }
+}
+
+export function updateOptions(element, elementId, options) {
+ const picker = _pickers[elementId];
+
+ if (picker) {
+ if (options.displayFormat.changed) {
+ picker.set("altFormat", options.displayFormat.value);
+ }
+
+ if (options.timeAs24hr.changed) {
+ picker.set("time_24hr", options.timeAs24hr.value);
+ }
+
+ if (options.min.changed) {
+ picker.set("minTime", options.min.value);
+ }
+
+ if (options.max.changed) {
+ picker.set("maxTime", options.max.value);
+ }
+
+ if (options.disabled.changed) {
+ picker.altInput.disabled = options.disabled.value;
+ }
+
+ if (options.readOnly.changed) {
+ picker.altInput.readOnly = options.readOnly.value;
+ picker.set("clickOpens", !options.readOnly.value);
+ }
+
+ if (options.inline.changed) {
+ picker.set("inline", options.inline.value || false);
+ }
+
+ if (options.placeholder.changed) {
+ picker.altInput.placeholder = options.placeholder.value;
+ }
+
+ if (options.staticPicker.changed) {
+ picker.set("static", options.staticPicker.value);
+ }
+ }
+}
+
+export function open(element, elementId) {
+ const picker = _pickers[elementId];
+
+ if (picker) {
+ picker.open();
+ }
+}
+
+export function close(element, elementId) {
+ const picker = _pickers[elementId];
+
+ if (picker) {
+ picker.close();
+ }
+}
+
+export function toggle(element, elementId) {
+ const picker = _pickers[elementId];
+
+ if (picker) {
+ picker.toggle();
+ }
+}
+
+
+export function updateLocalization(element, elementId, localization) {
+ const picker = _pickers[elementId];
+
+ if (picker) {
+ picker.config.locale = localization;
+
+ if (picker.l10n) {
+ picker.l10n.amPM = localization.amPM;
+ }
+
+ if (picker.amPM) {
+ const selectedDate = picker.selectedDates && picker.selectedDates.length > 0 ? picker.selectedDates[0] : null;
+ const index = selectedDate && selectedDate.getHours() >= 12 ? 1 : 0;
+
+ picker.amPM.innerHtml = localization.amPM[index];
+ picker.amPM.innerText = localization.amPM[index];
+ }
+
+ picker.redraw();
+ }
+}
+
+export function focus(element, elementId, scrollToElement) {
+ const picker = _pickers[elementId];
+
+ if (picker && picker.altInput) {
+ utilities.focus(picker.altInput, null, scrollToElement);
+ }
+}
+
+export function select(element, elementId, focus) {
+ const picker = _pickers[elementId];
+
+ if (picker && picker.altInput) {
+ utilities.select(picker.altInput, null, focus);
+ }
+}
\ No newline at end of file
diff --git a/_content/Blazorise/tooltip.js b/_content/Blazorise/tooltip.js
new file mode 100755
index 00000000..9f22816c
--- /dev/null
+++ b/_content/Blazorise/tooltip.js
@@ -0,0 +1,90 @@
+import { getRequiredElement } from "./utilities.js?v=1.3.1.0";
+
+!function (e, t) { "object" == typeof exports && "undefined" != typeof module ? t(exports) : "function" == typeof define && define.amd ? define(["exports"], t) : t((e = "undefined" != typeof globalThis ? globalThis : e || self).Popper = {}) }(this, (function (e) { function t(e) { return { width: (e = e.getBoundingClientRect()).width, height: e.height, top: e.top, right: e.right, bottom: e.bottom, left: e.left, x: e.left, y: e.top } } function n(e) { return null == e ? window : "[object Window]" !== e.toString() ? (e = e.ownerDocument) && e.defaultView || window : e } function o(e) { return { scrollLeft: (e = n(e)).pageXOffset, scrollTop: e.pageYOffset } } function r(e) { return e instanceof n(e).Element || e instanceof Element } function i(e) { return e instanceof n(e).HTMLElement || e instanceof HTMLElement } function a(e) { return "undefined" != typeof ShadowRoot && (e instanceof n(e).ShadowRoot || e instanceof ShadowRoot) } function s(e) { return e ? (e.nodeName || "").toLowerCase() : null } function f(e) { return ((r(e) ? e.ownerDocument : e.document) || window.document).documentElement } function p(e) { return t(f(e)).left + o(e).scrollLeft } function c(e) { return n(e).getComputedStyle(e) } function l(e) { return e = c(e), /auto|scroll|overlay|hidden/.test(e.overflow + e.overflowY + e.overflowX) } function u(e, r, a) { void 0 === a && (a = !1); var c = f(r); e = t(e); var u = i(r), d = { scrollLeft: 0, scrollTop: 0 }, m = { x: 0, y: 0 }; return (u || !u && !a) && (("body" !== s(r) || l(c)) && (d = r !== n(r) && i(r) ? { scrollLeft: r.scrollLeft, scrollTop: r.scrollTop } : o(r)), i(r) ? ((m = t(r)).x += r.clientLeft, m.y += r.clientTop) : c && (m.x = p(c))), { x: e.left + d.scrollLeft - m.x, y: e.top + d.scrollTop - m.y, width: e.width, height: e.height } } function d(e) { var n = t(e), o = e.offsetWidth, r = e.offsetHeight; return 1 >= Math.abs(n.width - o) && (o = n.width), 1 >= Math.abs(n.height - r) && (r = n.height), { x: e.offsetLeft, y: e.offsetTop, width: o, height: r } } function m(e) { return "html" === s(e) ? e : e.assignedSlot || e.parentNode || (a(e) ? e.host : null) || f(e) } function h(e) { return 0 <= ["html", "body", "#document"].indexOf(s(e)) ? e.ownerDocument.body : i(e) && l(e) ? e : h(m(e)) } function v(e, t) { var o; void 0 === t && (t = []); var r = h(e); return e = r === (null == (o = e.ownerDocument) ? void 0 : o.body), o = n(r), r = e ? [o].concat(o.visualViewport || [], l(r) ? r : []) : r, t = t.concat(r), e ? t : t.concat(v(m(r))) } function g(e) { return i(e) && "fixed" !== c(e).position ? e.offsetParent : null } function y(e) { for (var t = n(e), o = g(e); o && 0 <= ["table", "td", "th"].indexOf(s(o)) && "static" === c(o).position;)o = g(o); if (o && ("html" === s(o) || "body" === s(o) && "static" === c(o).position)) return t; if (!o) e: { for (o = -1 !== navigator.userAgent.toLowerCase().indexOf("firefox"), e = m(e); i(e) && 0 > ["html", "body"].indexOf(s(e));) { var r = c(e); if ("none" !== r.transform || "none" !== r.perspective || "paint" === r.contain || -1 !== ["transform", "perspective"].indexOf(r.willChange) || o && "filter" === r.willChange || o && r.filter && "none" !== r.filter) { o = e; break e } e = e.parentNode } o = null } return o || t } function b(e) { function t(e) { o.add(e.name), [].concat(e.requires || [], e.requiresIfExists || []).forEach((function (e) { o.has(e) || (e = n.get(e)) && t(e) })), r.push(e) } var n = new Map, o = new Set, r = []; return e.forEach((function (e) { n.set(e.name, e) })), e.forEach((function (e) { o.has(e.name) || t(e) })), r } function w(e) { var t; return function () { return t || (t = new Promise((function (n) { Promise.resolve().then((function () { t = void 0, n(e()) })) }))), t } } function x(e) { return e.split("-")[0] } function O(e, t) { var n = t.getRootNode && t.getRootNode(); if (e.contains(t)) return !0; if (n && a(n)) do { if (t && e.isSameNode(t)) return !0; t = t.parentNode || t.host } while (t); return !1 } function j(e) { return Object.assign({}, e, { left: e.x, top: e.y, right: e.x + e.width, bottom: e.y + e.height }) } function E(e, r) { if ("viewport" === r) { r = n(e); var a = f(e); r = r.visualViewport; var s = a.clientWidth; a = a.clientHeight; var l = 0, u = 0; r && (s = r.width, a = r.height, /^((?!chrome|android).)*safari/i.test(navigator.userAgent) || (l = r.offsetLeft, u = r.offsetTop)), e = j(e = { width: s, height: a, x: l + p(e), y: u }) } else i(r) ? ((e = t(r)).top += r.clientTop, e.left += r.clientLeft, e.bottom = e.top + r.clientHeight, e.right = e.left + r.clientWidth, e.width = r.clientWidth, e.height = r.clientHeight, e.x = e.left, e.y = e.top) : (u = f(e), e = f(u), s = o(u), r = null == (a = u.ownerDocument) ? void 0 : a.body, a = _(e.scrollWidth, e.clientWidth, r ? r.scrollWidth : 0, r ? r.clientWidth : 0), l = _(e.scrollHeight, e.clientHeight, r ? r.scrollHeight : 0, r ? r.clientHeight : 0), u = -s.scrollLeft + p(u), s = -s.scrollTop, "rtl" === c(r || e).direction && (u += _(e.clientWidth, r ? r.clientWidth : 0) - a), e = j({ width: a, height: l, x: u, y: s })); return e } function D(e, t, n) { return t = "clippingParents" === t ? function (e) { var t = v(m(e)), n = 0 <= ["absolute", "fixed"].indexOf(c(e).position) && i(e) ? y(e) : e; return r(n) ? t.filter((function (e) { return r(e) && O(e, n) && "body" !== s(e) })) : [] }(e) : [].concat(t), (n = (n = [].concat(t, [n])).reduce((function (t, n) { return n = E(e, n), t.top = _(n.top, t.top), t.right = U(n.right, t.right), t.bottom = U(n.bottom, t.bottom), t.left = _(n.left, t.left), t }), E(e, n[0]))).width = n.right - n.left, n.height = n.bottom - n.top, n.x = n.left, n.y = n.top, n } function L(e) { return 0 <= ["top", "bottom"].indexOf(e) ? "x" : "y" } function P(e) { var t = e.reference, n = e.element, o = (e = e.placement) ? x(e) : null; e = e ? e.split("-")[1] : null; var r = t.x + t.width / 2 - n.width / 2, i = t.y + t.height / 2 - n.height / 2; switch (o) { case "top": r = { x: r, y: t.y - n.height }; break; case "bottom": r = { x: r, y: t.y + t.height }; break; case "right": r = { x: t.x + t.width, y: i }; break; case "left": r = { x: t.x - n.width, y: i }; break; default: r = { x: t.x, y: t.y } }if (null != (o = o ? L(o) : null)) switch (i = "y" === o ? "height" : "width", e) { case "start": r[o] -= t[i] / 2 - n[i] / 2; break; case "end": r[o] += t[i] / 2 - n[i] / 2 }return r } function M(e) { return Object.assign({}, { top: 0, right: 0, bottom: 0, left: 0 }, e) } function k(e, t) { return t.reduce((function (t, n) { return t[n] = e, t }), {}) } function W(e, n) { void 0 === n && (n = {}); var o = n; n = void 0 === (n = o.placement) ? e.placement : n; var i = o.boundary, a = void 0 === i ? "clippingParents" : i, s = void 0 === (i = o.rootBoundary) ? "viewport" : i; i = void 0 === (i = o.elementContext) ? "popper" : i; var p = o.altBoundary, c = void 0 !== p && p; o = M("number" != typeof (o = void 0 === (o = o.padding) ? 0 : o) ? o : k(o, C)); var l = e.elements.reference; p = e.rects.popper, a = D(r(c = e.elements[c ? "popper" === i ? "reference" : "popper" : i]) ? c : c.contextElement || f(e.elements.popper), a, s), c = P({ reference: s = t(l), element: p, strategy: "absolute", placement: n }), p = j(Object.assign({}, p, c)), s = "popper" === i ? p : s; var u = { top: a.top - s.top + o.top, bottom: s.bottom - a.bottom + o.bottom, left: a.left - s.left + o.left, right: s.right - a.right + o.right }; if (e = e.modifiersData.offset, "popper" === i && e) { var d = e[n]; Object.keys(u).forEach((function (e) { var t = 0 <= ["right", "bottom"].indexOf(e) ? 1 : -1, n = 0 <= ["top", "bottom"].indexOf(e) ? "y" : "x"; u[e] += d[n] * t })) } return u } function A() { for (var e = arguments.length, t = Array(e), n = 0; n < e; n++)t[n] = arguments[n]; return !t.some((function (e) { return !(e && "function" == typeof e.getBoundingClientRect) })) } function B(e) { void 0 === e && (e = {}); var t = e.defaultModifiers, n = void 0 === t ? [] : t, o = void 0 === (e = e.defaultOptions) ? F : e; return function (e, t, i) { function a() { f.forEach((function (e) { return e() })), f = [] } void 0 === i && (i = o); var s = { placement: "bottom", orderedModifiers: [], options: Object.assign({}, F, o), modifiersData: {}, elements: { reference: e, popper: t }, attributes: {}, styles: {} }, f = [], p = !1, c = { state: s, setOptions: function (i) { return a(), s.options = Object.assign({}, o, s.options, i), s.scrollParents = { reference: r(e) ? v(e) : e.contextElement ? v(e.contextElement) : [], popper: v(t) }, i = function (e) { var t = b(e); return I.reduce((function (e, n) { return e.concat(t.filter((function (e) { return e.phase === n }))) }), []) }(function (e) { var t = e.reduce((function (e, t) { var n = e[t.name]; return e[t.name] = n ? Object.assign({}, n, t, { options: Object.assign({}, n.options, t.options), data: Object.assign({}, n.data, t.data) }) : t, e }), {}); return Object.keys(t).map((function (e) { return t[e] })) }([].concat(n, s.options.modifiers))), s.orderedModifiers = i.filter((function (e) { return e.enabled })), s.orderedModifiers.forEach((function (e) { var t = e.name, n = e.options; n = void 0 === n ? {} : n, "function" == typeof (e = e.effect) && (t = e({ state: s, name: t, instance: c, options: n }), f.push(t || function () { })) })), c.update() }, forceUpdate: function () { if (!p) { var e = s.elements, t = e.reference; if (A(t, e = e.popper)) for (s.rects = { reference: u(t, y(e), "fixed" === s.options.strategy), popper: d(e) }, s.reset = !1, s.placement = s.options.placement, s.orderedModifiers.forEach((function (e) { return s.modifiersData[e.name] = Object.assign({}, e.data) })), t = 0; t < s.orderedModifiers.length; t++)if (!0 === s.reset) s.reset = !1, t = -1; else { var n = s.orderedModifiers[t]; e = n.fn; var o = n.options; o = void 0 === o ? {} : o, n = n.name, "function" == typeof e && (s = e({ state: s, options: o, name: n, instance: c }) || s) } } }, update: w((function () { return new Promise((function (e) { c.forceUpdate(), e(s) })) })), destroy: function () { a(), p = !0 } }; return A(e, t) ? (c.setOptions(i).then((function (e) { !p && i.onFirstUpdate && i.onFirstUpdate(e) })), c) : c } } function T(e) { var t, o = e.popper, r = e.popperRect, i = e.placement, a = e.offsets, s = e.position, p = e.gpuAcceleration, l = e.adaptive; if (!0 === (e = e.roundOffsets)) { e = a.y; var u = window.devicePixelRatio || 1; e = { x: z(z(a.x * u) / u) || 0, y: z(z(e * u) / u) || 0 } } else e = "function" == typeof e ? e(a) : a; e = void 0 === (e = (u = e).x) ? 0 : e, u = void 0 === (u = u.y) ? 0 : u; var d = a.hasOwnProperty("x"); a = a.hasOwnProperty("y"); var m, h = "left", v = "top", g = window; if (l) { var b = y(o), w = "clientHeight", x = "clientWidth"; b === n(o) && ("static" !== c(b = f(o)).position && (w = "scrollHeight", x = "scrollWidth")), "top" === i && (v = "bottom", u -= b[w] - r.height, u *= p ? 1 : -1), "left" === i && (h = "right", e -= b[x] - r.width, e *= p ? 1 : -1) } return o = Object.assign({ position: s }, l && J), p ? Object.assign({}, o, ((m = {})[v] = a ? "0" : "", m[h] = d ? "0" : "", m.transform = 2 > (g.devicePixelRatio || 1) ? "translate(" + e + "px, " + u + "px)" : "translate3d(" + e + "px, " + u + "px, 0)", m)) : Object.assign({}, o, ((t = {})[v] = a ? u + "px" : "", t[h] = d ? e + "px" : "", t.transform = "", t)) } function H(e) { return e.replace(/left|right|bottom|top/g, (function (e) { return $[e] })) } function R(e) { return e.replace(/start|end/g, (function (e) { return ee[e] })) } function S(e, t, n) { return void 0 === n && (n = { x: 0, y: 0 }), { top: e.top - t.height - n.y, right: e.right - t.width + n.x, bottom: e.bottom - t.height + n.y, left: e.left - t.width - n.x } } function q(e) { return ["top", "right", "bottom", "left"].some((function (t) { return 0 <= e[t] })) } var C = ["top", "bottom", "right", "left"], N = C.reduce((function (e, t) { return e.concat([t + "-start", t + "-end"]) }), []), V = [].concat(C, ["auto"]).reduce((function (e, t) { return e.concat([t, t + "-start", t + "-end"]) }), []), I = "beforeRead read afterRead beforeMain main afterMain beforeWrite write afterWrite".split(" "), _ = Math.max, U = Math.min, z = Math.round, F = { placement: "bottom", modifiers: [], strategy: "absolute" }, X = { passive: !0 }, Y = { name: "eventListeners", enabled: !0, phase: "write", fn: function () { }, effect: function (e) { var t = e.state, o = e.instance, r = (e = e.options).scroll, i = void 0 === r || r, a = void 0 === (e = e.resize) || e, s = n(t.elements.popper), f = [].concat(t.scrollParents.reference, t.scrollParents.popper); return i && f.forEach((function (e) { e.addEventListener("scroll", o.update, X) })), a && s.addEventListener("resize", o.update, X), function () { i && f.forEach((function (e) { e.removeEventListener("scroll", o.update, X) })), a && s.removeEventListener("resize", o.update, X) } }, data: {} }, G = { name: "popperOffsets", enabled: !0, phase: "read", fn: function (e) { var t = e.state; t.modifiersData[e.name] = P({ reference: t.rects.reference, element: t.rects.popper, strategy: "absolute", placement: t.placement }) }, data: {} }, J = { top: "auto", right: "auto", bottom: "auto", left: "auto" }, K = { name: "computeStyles", enabled: !0, phase: "beforeWrite", fn: function (e) { var t = e.state, n = e.options; e = void 0 === (e = n.gpuAcceleration) || e; var o = n.adaptive; o = void 0 === o || o, n = void 0 === (n = n.roundOffsets) || n, e = { placement: x(t.placement), popper: t.elements.popper, popperRect: t.rects.popper, gpuAcceleration: e }, null != t.modifiersData.popperOffsets && (t.styles.popper = Object.assign({}, t.styles.popper, T(Object.assign({}, e, { offsets: t.modifiersData.popperOffsets, position: t.options.strategy, adaptive: o, roundOffsets: n })))), null != t.modifiersData.arrow && (t.styles.arrow = Object.assign({}, t.styles.arrow, T(Object.assign({}, e, { offsets: t.modifiersData.arrow, position: "absolute", adaptive: !1, roundOffsets: n })))), t.attributes.popper = Object.assign({}, t.attributes.popper, { "data-popper-placement": t.placement }) }, data: {} }, Q = { name: "applyStyles", enabled: !0, phase: "write", fn: function (e) { var t = e.state; Object.keys(t.elements).forEach((function (e) { var n = t.styles[e] || {}, o = t.attributes[e] || {}, r = t.elements[e]; i(r) && s(r) && (Object.assign(r.style, n), Object.keys(o).forEach((function (e) { var t = o[e]; !1 === t ? r.removeAttribute(e) : r.setAttribute(e, !0 === t ? "" : t) }))) })) }, effect: function (e) { var t = e.state, n = { popper: { position: t.options.strategy, left: "0", top: "0", margin: "0" }, arrow: { position: "absolute" }, reference: {} }; return Object.assign(t.elements.popper.style, n.popper), t.styles = n, t.elements.arrow && Object.assign(t.elements.arrow.style, n.arrow), function () { Object.keys(t.elements).forEach((function (e) { var o = t.elements[e], r = t.attributes[e] || {}; e = Object.keys(t.styles.hasOwnProperty(e) ? t.styles[e] : n[e]).reduce((function (e, t) { return e[t] = "", e }), {}), i(o) && s(o) && (Object.assign(o.style, e), Object.keys(r).forEach((function (e) { o.removeAttribute(e) }))) })) } }, requires: ["computeStyles"] }, Z = { name: "offset", enabled: !0, phase: "main", requires: ["popperOffsets"], fn: function (e) { var t = e.state, n = e.name, o = void 0 === (e = e.options.offset) ? [0, 0] : e, r = (e = V.reduce((function (e, n) { var r = t.rects, i = x(n), a = 0 <= ["left", "top"].indexOf(i) ? -1 : 1, s = "function" == typeof o ? o(Object.assign({}, r, { placement: n })) : o; return r = (r = s[0]) || 0, s = ((s = s[1]) || 0) * a, i = 0 <= ["left", "right"].indexOf(i) ? { x: s, y: r } : { x: r, y: s }, e[n] = i, e }), {}))[t.placement], i = r.x; r = r.y, null != t.modifiersData.popperOffsets && (t.modifiersData.popperOffsets.x += i, t.modifiersData.popperOffsets.y += r), t.modifiersData[n] = e } }, $ = { left: "right", right: "left", bottom: "top", top: "bottom" }, ee = { start: "end", end: "start" }, te = { name: "flip", enabled: !0, phase: "main", fn: function (e) { var t = e.state, n = e.options; if (e = e.name, !t.modifiersData[e]._skip) { var o = n.mainAxis; o = void 0 === o || o; var r = n.altAxis; r = void 0 === r || r; var i = n.fallbackPlacements, a = n.padding, s = n.boundary, f = n.rootBoundary, p = n.altBoundary, c = n.flipVariations, l = void 0 === c || c, u = n.allowedAutoPlacements; c = x(n = t.options.placement), i = i || (c !== n && l ? function (e) { if ("auto" === x(e)) return []; var t = H(e); return [R(e), t, R(t)] }(n) : [H(n)]); var d = [n].concat(i).reduce((function (e, n) { return e.concat("auto" === x(n) ? function (e, t) { void 0 === t && (t = {}); var n = t.boundary, o = t.rootBoundary, r = t.padding, i = t.flipVariations, a = t.allowedAutoPlacements, s = void 0 === a ? V : a, f = t.placement.split("-")[1]; 0 === (i = (t = f ? i ? N : N.filter((function (e) { return e.split("-")[1] === f })) : C).filter((function (e) { return 0 <= s.indexOf(e) }))).length && (i = t); var p = i.reduce((function (t, i) { return t[i] = W(e, { placement: i, boundary: n, rootBoundary: o, padding: r })[x(i)], t }), {}); return Object.keys(p).sort((function (e, t) { return p[e] - p[t] })) }(t, { placement: n, boundary: s, rootBoundary: f, padding: a, flipVariations: l, allowedAutoPlacements: u }) : n) }), []); n = t.rects.reference, i = t.rects.popper; var m = new Map; c = !0; for (var h = d[0], v = 0; v < d.length; v++) { var g = d[v], y = x(g), b = "start" === g.split("-")[1], w = 0 <= ["top", "bottom"].indexOf(y), O = w ? "width" : "height", j = W(t, { placement: g, boundary: s, rootBoundary: f, altBoundary: p, padding: a }); if (b = w ? b ? "right" : "left" : b ? "bottom" : "top", n[O] > i[O] && (b = H(b)), O = H(b), w = [], o && w.push(0 >= j[y]), r && w.push(0 >= j[b], 0 >= j[O]), w.every((function (e) { return e }))) { h = g, c = !1; break } m.set(g, w) } if (c) for (o = function (e) { var t = d.find((function (t) { if (t = m.get(t)) return t.slice(0, e).every((function (e) { return e })) })); if (t) return h = t, "break" }, r = l ? 3 : 1; 0 < r && "break" !== o(r); r--); t.placement !== h && (t.modifiersData[e]._skip = !0, t.placement = h, t.reset = !0) } }, requiresIfExists: ["offset"], data: { _skip: !1 } }, ne = { name: "preventOverflow", enabled: !0, phase: "main", fn: function (e) { var t = e.state, n = e.options; e = e.name; var o = n.mainAxis, r = void 0 === o || o, i = void 0 !== (o = n.altAxis) && o; o = void 0 === (o = n.tether) || o; var a = n.tetherOffset, s = void 0 === a ? 0 : a, f = W(t, { boundary: n.boundary, rootBoundary: n.rootBoundary, padding: n.padding, altBoundary: n.altBoundary }); n = x(t.placement); var p = t.placement.split("-")[1], c = !p, l = L(n); n = "x" === l ? "y" : "x", a = t.modifiersData.popperOffsets; var u = t.rects.reference, m = t.rects.popper, h = "function" == typeof s ? s(Object.assign({}, t.rects, { placement: t.placement })) : s; if (s = { x: 0, y: 0 }, a) { if (r || i) { var v = "y" === l ? "top" : "left", g = "y" === l ? "bottom" : "right", b = "y" === l ? "height" : "width", w = a[l], O = a[l] + f[v], j = a[l] - f[g], E = o ? -m[b] / 2 : 0, D = "start" === p ? u[b] : m[b]; p = "start" === p ? -m[b] : -u[b], m = t.elements.arrow, m = o && m ? d(m) : { width: 0, height: 0 }; var P = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : { top: 0, right: 0, bottom: 0, left: 0 }; v = P[v], g = P[g], m = _(0, U(u[b], m[b])), D = c ? u[b] / 2 - E - m - v - h : D - m - v - h, u = c ? -u[b] / 2 + E + m + g + h : p + m + g + h, c = t.elements.arrow && y(t.elements.arrow), h = t.modifiersData.offset ? t.modifiersData.offset[t.placement][l] : 0, c = a[l] + D - h - (c ? "y" === l ? c.clientTop || 0 : c.clientLeft || 0 : 0), u = a[l] + u - h, r && (r = o ? U(O, c) : O, j = o ? _(j, u) : j, r = _(r, U(w, j)), a[l] = r, s[l] = r - w), i && (r = (i = a[n]) + f["x" === l ? "top" : "left"], f = i - f["x" === l ? "bottom" : "right"], r = o ? U(r, c) : r, o = o ? _(f, u) : f, o = _(r, U(i, o)), a[n] = o, s[n] = o - i) } t.modifiersData[e] = s } }, requiresIfExists: ["offset"] }, oe = { name: "arrow", enabled: !0, phase: "main", fn: function (e) { var t, n = e.state, o = e.name, r = e.options, i = n.elements.arrow, a = n.modifiersData.popperOffsets, s = x(n.placement); if (e = L(s), s = 0 <= ["left", "right"].indexOf(s) ? "height" : "width", i && a) { r = M("number" != typeof (r = "function" == typeof (r = r.padding) ? r(Object.assign({}, n.rects, { placement: n.placement })) : r) ? r : k(r, C)); var f = d(i), p = "y" === e ? "top" : "left", c = "y" === e ? "bottom" : "right", l = n.rects.reference[s] + n.rects.reference[e] - a[e] - n.rects.popper[s]; a = a[e] - n.rects.reference[e], a = (i = (i = y(i)) ? "y" === e ? i.clientHeight || 0 : i.clientWidth || 0 : 0) / 2 - f[s] / 2 + (l / 2 - a / 2), s = _(r[p], U(a, i - f[s] - r[c])), n.modifiersData[o] = ((t = {})[e] = s, t.centerOffset = s - a, t) } }, effect: function (e) { var t = e.state; if (null != (e = void 0 === (e = e.options.element) ? "[data-popper-arrow]" : e)) { if ("string" == typeof e && !(e = t.elements.popper.querySelector(e))) return; O(t.elements.popper, e) && (t.elements.arrow = e) } }, requires: ["popperOffsets"], requiresIfExists: ["preventOverflow"] }, re = { name: "hide", enabled: !0, phase: "main", requiresIfExists: ["preventOverflow"], fn: function (e) { var t = e.state; e = e.name; var n = t.rects.reference, o = t.rects.popper, r = t.modifiersData.preventOverflow, i = W(t, { elementContext: "reference" }), a = W(t, { altBoundary: !0 }); n = S(i, n), o = S(a, o, r), r = q(n), a = q(o), t.modifiersData[e] = { referenceClippingOffsets: n, popperEscapeOffsets: o, isReferenceHidden: r, hasPopperEscaped: a }, t.attributes.popper = Object.assign({}, t.attributes.popper, { "data-popper-reference-hidden": r, "data-popper-escaped": a }) } }, ie = B({ defaultModifiers: [Y, G, K, Q] }), ae = [Y, G, K, Q, Z, te, ne, oe, re], se = B({ defaultModifiers: ae }); e.applyStyles = Q, e.arrow = oe, e.computeStyles = K, e.createPopper = se, e.createPopperLite = ie, e.defaultModifiers = ae, e.detectOverflow = W, e.eventListeners = Y, e.flip = te, e.hide = re, e.offset = Z, e.popperGenerator = B, e.popperOffsets = G, e.preventOverflow = ne, Object.defineProperty(e, "__esModule", { value: !0 }) }));
+!function (t, e) { "object" == typeof exports && "undefined" != typeof module ? module.exports = e(require("@popperjs/core")) : "function" == typeof define && define.amd ? define(["@popperjs/core"], e) : (t = t || self).tippy = e(t.Popper) }(this, (function (t) { "use strict"; var e = "undefined" != typeof window && "undefined" != typeof document, n = e ? navigator.userAgent : "", r = /MSIE |Trident\//.test(n), i = { passive: !0, capture: !0 }; function o(t, e, n) { if (Array.isArray(t)) { var r = t[e]; return null == r ? Array.isArray(n) ? n[e] : n : r } return t } function a(t, e) { var n = {}.toString.call(t); return 0 === n.indexOf("[object") && n.indexOf(e + "]") > -1 } function s(t, e) { return "function" == typeof t ? t.apply(void 0, e) : t } function p(t, e) { return 0 === e ? t : function (r) { clearTimeout(n), n = setTimeout((function () { t(r) }), e) }; var n } function u(t, e) { var n = Object.assign({}, t); return e.forEach((function (t) { delete n[t] })), n } function c(t) { return [].concat(t) } function f(t, e) { -1 === t.indexOf(e) && t.push(e) } function l(t) { return t.split("-")[0] } function d(t) { return [].slice.call(t) } function v() { return document.createElement("div") } function m(t) { return ["Element", "Fragment"].some((function (e) { return a(t, e) })) } function g(t) { return a(t, "MouseEvent") } function h(t) { return !(!t || !t._tippy || t._tippy.reference !== t) } function b(t) { return m(t) ? [t] : function (t) { return a(t, "NodeList") }(t) ? d(t) : Array.isArray(t) ? t : d(document.querySelectorAll(t)) } function y(t, e) { t.forEach((function (t) { t && (t.style.transitionDuration = e + "ms") })) } function w(t, e) { t.forEach((function (t) { t && t.setAttribute("data-state", e) })) } function x(t) { var e, n = c(t)[0]; return (null == n || null == (e = n.ownerDocument) ? void 0 : e.body) ? n.ownerDocument : document } function E(t, e, n) { var r = e + "EventListener";["transitionend", "webkitTransitionEnd"].forEach((function (e) { t[r](e, n) })) } var O = { isTouch: !1 }, C = 0; function T() { O.isTouch || (O.isTouch = !0, window.performance && document.addEventListener("mousemove", A)) } function A() { var t = performance.now(); t - C < 20 && (O.isTouch = !1, document.removeEventListener("mousemove", A)), C = t } function L() { var t = document.activeElement; if (h(t)) { var e = t._tippy; t.blur && !e.state.isVisible && t.blur() } } var D = Object.assign({ appendTo: function () { return document.body }, aria: { content: "auto", expanded: "auto" }, delay: 0, duration: [300, 250], getReferenceClientRect: null, hideOnClick: !0, ignoreAttributes: !1, interactive: !1, interactiveBorder: 2, interactiveDebounce: 0, moveTransition: "", offset: [0, 10], onAfterUpdate: function () { }, onBeforeUpdate: function () { }, onCreate: function () { }, onDestroy: function () { }, onHidden: function () { }, onHide: function () { }, onMount: function () { }, onShow: function () { }, onShown: function () { }, onTrigger: function () { }, onUntrigger: function () { }, onClickOutside: function () { }, placement: "top", plugins: [], popperOptions: {}, render: null, showOnCreate: !1, touch: !0, trigger: "mouseenter focus", triggerTarget: null }, { animateFill: !1, followCursor: !1, inlinePositioning: !1, sticky: !1 }, {}, { allowHTML: !1, animation: "fade", arrow: !0, content: "", inertia: !1, maxWidth: 350, role: "tooltip", theme: "", zIndex: 9999 }), k = Object.keys(D); function R(t) { var e = (t.plugins || []).reduce((function (e, n) { var r = n.name, i = n.defaultValue; return r && (e[r] = void 0 !== t[r] ? t[r] : i), e }), {}); return Object.assign({}, t, {}, e) } function j(t, e) { var n = Object.assign({}, e, { content: s(e.content, [t]) }, e.ignoreAttributes ? {} : function (t, e) { return (e ? Object.keys(R(Object.assign({}, D, { plugins: e }))) : k).reduce((function (e, n) { var r = (t.getAttribute("data-tippy-" + n) || "").trim(); if (!r) return e; if ("content" === n) e[n] = r; else try { e[n] = JSON.parse(r) } catch (t) { e[n] = r } return e }), {}) }(t, e.plugins)); return n.aria = Object.assign({}, D.aria, {}, n.aria), n.aria = { expanded: "auto" === n.aria.expanded ? e.interactive : n.aria.expanded, content: "auto" === n.aria.content ? e.interactive ? null : "describedby" : n.aria.content }, n } function M(t, e) { t.innerHTML = e } function P(t) { var e = v(); return !0 === t ? e.className = "tippy-arrow" : (e.className = "tippy-svg-arrow", m(t) ? e.appendChild(t) : M(e, t)), e } function V(t, e) { m(e.content) ? (M(t, ""), t.appendChild(e.content)) : "function" != typeof e.content && (e.allowHTML ? M(t, e.content) : t.textContent = e.content) } function I(t) { var e = t.firstElementChild, n = d(e.children); return { box: e, content: n.find((function (t) { return t.classList.contains("tippy-content") })), arrow: n.find((function (t) { return t.classList.contains("tippy-arrow") || t.classList.contains("tippy-svg-arrow") })), backdrop: n.find((function (t) { return t.classList.contains("tippy-backdrop") })) } } function S(t) { var e = v(), n = v(); n.className = "tippy-box", n.setAttribute("data-state", "hidden"), n.setAttribute("tabindex", "-1"); var r = v(); function i(n, r) { var i = I(e), o = i.box, a = i.content, s = i.arrow; r.theme ? o.setAttribute("data-theme", r.theme) : o.removeAttribute("data-theme"), "string" == typeof r.animation ? o.setAttribute("data-animation", r.animation) : o.removeAttribute("data-animation"), r.inertia ? o.setAttribute("data-inertia", "") : o.removeAttribute("data-inertia"), o.style.maxWidth = "number" == typeof r.maxWidth ? r.maxWidth + "px" : r.maxWidth, r.role ? o.setAttribute("role", r.role) : o.removeAttribute("role"), n.content === r.content && n.allowHTML === r.allowHTML || V(a, t.props), r.arrow ? s ? n.arrow !== r.arrow && (o.removeChild(s), o.appendChild(P(r.arrow))) : o.appendChild(P(r.arrow)) : s && o.removeChild(s) } return r.className = "tippy-content", r.setAttribute("data-state", "hidden"), V(r, t.props), e.appendChild(n), n.appendChild(r), i(t.props, t.props), { popper: e, onUpdate: i } } S.$$tippy = !0; var B = 1, H = [], N = []; function U(e, n) { var a, u, m, h, b, C, T, A, L, k = j(e, Object.assign({}, D, {}, R((a = n, Object.keys(a).reduce((function (t, e) { return void 0 !== a[e] && (t[e] = a[e]), t }), {}))))), M = !1, P = !1, V = !1, S = !1, U = [], _ = p(bt, k.interactiveDebounce), z = B++, F = (L = k.plugins).filter((function (t, e) { return L.indexOf(t) === e })), W = { id: z, reference: e, popper: v(), popperInstance: null, props: k, state: { isEnabled: !0, isVisible: !1, isDestroyed: !1, isMounted: !1, isShown: !1 }, plugins: F, clearDelayTimeouts: function () { clearTimeout(u), clearTimeout(m), cancelAnimationFrame(h) }, setProps: function (t) { if (W.state.isDestroyed) return; it("onBeforeUpdate", [W, t]), gt(); var n = W.props, r = j(e, Object.assign({}, W.props, {}, t, { ignoreAttributes: !0 })); W.props = r, mt(), n.interactiveDebounce !== r.interactiveDebounce && (st(), _ = p(bt, r.interactiveDebounce)); n.triggerTarget && !r.triggerTarget ? c(n.triggerTarget).forEach((function (t) { t.removeAttribute("aria-expanded") })) : r.triggerTarget && e.removeAttribute("aria-expanded"); at(), rt(), q && q(n, r); W.popperInstance && (Et(), Ct().forEach((function (t) { requestAnimationFrame(t._tippy.popperInstance.forceUpdate) }))); it("onAfterUpdate", [W, t]) }, setContent: function (t) { W.setProps({ content: t }) }, show: function () { var t = W.state.isVisible, e = W.state.isDestroyed, n = !W.state.isEnabled, r = O.isTouch && !W.props.touch, i = o(W.props.duration, 0, D.duration); if (t || e || n || r) return; if (Z().hasAttribute("disabled")) return; if (it("onShow", [W], !1), !1 === W.props.onShow(W)) return; W.state.isVisible = !0, Q() && (Y.style.visibility = "visible"); rt(), ft(), W.state.isMounted || (Y.style.transition = "none"); if (Q()) { var a = et(), p = a.box, u = a.content; y([p, u], 0) } T = function () { var t; if (W.state.isVisible && !S) { if (S = !0, Y.offsetHeight, Y.style.transition = W.props.moveTransition, Q() && W.props.animation) { var e = et(), n = e.box, r = e.content; y([n, r], i), w([n, r], "visible") } ot(), at(), f(N, W), null == (t = W.popperInstance) || t.forceUpdate(), W.state.isMounted = !0, it("onMount", [W]), W.props.animation && Q() && function (t, e) { dt(t, e) }(i, (function () { W.state.isShown = !0, it("onShown", [W]) })) } }, function () { var t, e = W.props.appendTo, n = Z(); t = W.props.interactive && e === D.appendTo || "parent" === e ? n.parentNode : s(e, [n]); t.contains(Y) || t.appendChild(Y); Et() }() }, hide: function () { var t = !W.state.isVisible, e = W.state.isDestroyed, n = !W.state.isEnabled, r = o(W.props.duration, 1, D.duration); if (t || e || n) return; if (it("onHide", [W], !1), !1 === W.props.onHide(W)) return; W.state.isVisible = !1, W.state.isShown = !1, S = !1, M = !1, Q() && (Y.style.visibility = "hidden"); if (st(), lt(), rt(), Q()) { var i = et(), a = i.box, s = i.content; W.props.animation && (y([a, s], r), w([a, s], "hidden")) } ot(), at(), W.props.animation ? Q() && function (t, e) { dt(t, (function () { !W.state.isVisible && Y.parentNode && Y.parentNode.contains(Y) && e() })) }(r, W.unmount) : W.unmount() }, hideWithInteractivity: function (t) { tt().addEventListener("mousemove", _), f(H, _), _(t) }, enable: function () { W.state.isEnabled = !0 }, disable: function () { W.hide(), W.state.isEnabled = !1 }, unmount: function () { W.state.isVisible && W.hide(); if (!W.state.isMounted) return; Ot(), Ct().forEach((function (t) { t._tippy.unmount() })), Y.parentNode && Y.parentNode.removeChild(Y); N = N.filter((function (t) { return t !== W })), W.state.isMounted = !1, it("onHidden", [W]) }, destroy: function () { if (W.state.isDestroyed) return; W.clearDelayTimeouts(), W.unmount(), gt(), delete e._tippy, W.state.isDestroyed = !0, it("onDestroy", [W]) } }; if (!k.render) return W; var X = k.render(W), Y = X.popper, q = X.onUpdate; Y.setAttribute("data-tippy-root", ""), Y.id = "tippy-" + W.id, W.popper = Y, e._tippy = W, Y._tippy = W; var $ = F.map((function (t) { return t.fn(W) })), J = e.hasAttribute("aria-expanded"); return mt(), at(), rt(), it("onCreate", [W]), k.showOnCreate && Tt(), Y.addEventListener("mouseenter", (function () { W.props.interactive && W.state.isVisible && W.clearDelayTimeouts() })), Y.addEventListener("mouseleave", (function (t) { W.props.interactive && W.props.trigger.indexOf("mouseenter") >= 0 && (tt().addEventListener("mousemove", _), _(t)) })), W; function G() { var t = W.props.touch; return Array.isArray(t) ? t : [t, 0] } function K() { return "hold" === G()[0] } function Q() { var t; return !!(null == (t = W.props.render) ? void 0 : t.$$tippy) } function Z() { return A || e } function tt() { var t = Z().parentNode; return t ? x(t) : document } function et() { return I(Y) } function nt(t) { return W.state.isMounted && !W.state.isVisible || O.isTouch || b && "focus" === b.type ? 0 : o(W.props.delay, t ? 0 : 1, D.delay) } function rt() { Y.style.pointerEvents = W.props.interactive && W.state.isVisible ? "" : "none", Y.style.zIndex = "" + W.props.zIndex } function it(t, e, n) { var r; (void 0 === n && (n = !0), $.forEach((function (n) { n[t] && n[t].apply(void 0, e) })), n) && (r = W.props)[t].apply(r, e) } function ot() { var t = W.props.aria; if (t.content) { var n = "aria-" + t.content, r = Y.id; c(W.props.triggerTarget || e).forEach((function (t) { var e = t.getAttribute(n); if (W.state.isVisible) t.setAttribute(n, e ? e + " " + r : r); else { var i = e && e.replace(r, "").trim(); i ? t.setAttribute(n, i) : t.removeAttribute(n) } })) } } function at() { !J && W.props.aria.expanded && c(W.props.triggerTarget || e).forEach((function (t) { W.props.interactive ? t.setAttribute("aria-expanded", W.state.isVisible && t === Z() ? "true" : "false") : t.removeAttribute("aria-expanded") })) } function st() { tt().removeEventListener("mousemove", _), H = H.filter((function (t) { return t !== _ })) } function pt(t) { if (!(O.isTouch && (V || "mousedown" === t.type) || W.props.interactive && Y.contains(t.target))) { if (Z().contains(t.target)) { if (O.isTouch) return; if (W.state.isVisible && W.props.trigger.indexOf("click") >= 0) return } else it("onClickOutside", [W, t]); !0 === W.props.hideOnClick && (W.clearDelayTimeouts(), W.hide(), P = !0, setTimeout((function () { P = !1 })), W.state.isMounted || lt()) } } function ut() { V = !0 } function ct() { V = !1 } function ft() { var t = tt(); t.addEventListener("mousedown", pt, !0), t.addEventListener("touchend", pt, i), t.addEventListener("touchstart", ct, i), t.addEventListener("touchmove", ut, i) } function lt() { var t = tt(); t.removeEventListener("mousedown", pt, !0), t.removeEventListener("touchend", pt, i), t.removeEventListener("touchstart", ct, i), t.removeEventListener("touchmove", ut, i) } function dt(t, e) { var n = et().box; function r(t) { t.target === n && (E(n, "remove", r), e()) } if (0 === t) return e(); E(n, "remove", C), E(n, "add", r), C = r } function vt(t, n, r) { void 0 === r && (r = !1), c(W.props.triggerTarget || e).forEach((function (e) { e.addEventListener(t, n, r), U.push({ node: e, eventType: t, handler: n, options: r }) })) } function mt() { var t; K() && (vt("touchstart", ht, { passive: !0 }), vt("touchend", yt, { passive: !0 })), (t = W.props.trigger, t.split(/\s+/).filter(Boolean)).forEach((function (t) { if ("manual" !== t) switch (vt(t, ht), t) { case "mouseenter": vt("mouseleave", yt); break; case "focus": vt(r ? "focusout" : "blur", wt); break; case "focusin": vt("focusout", wt) } })) } function gt() { U.forEach((function (t) { var e = t.node, n = t.eventType, r = t.handler, i = t.options; e.removeEventListener(n, r, i) })), U = [] } function ht(t) { var e, n = !1; if (W.state.isEnabled && !xt(t) && !P) { var r = "focus" === (null == (e = b) ? void 0 : e.type); b = t, A = t.currentTarget, at(), !W.state.isVisible && g(t) && H.forEach((function (e) { return e(t) })), "click" === t.type && (W.props.trigger.indexOf("mouseenter") < 0 || M) && !1 !== W.props.hideOnClick && W.state.isVisible ? n = !0 : Tt(t), "click" === t.type && (M = !n), n && !r && At(t) } } function bt(t) { var e = t.target, n = Z().contains(e) || Y.contains(e); "mousemove" === t.type && n || function (t, e) { var n = e.clientX, r = e.clientY; return t.every((function (t) { var e = t.popperRect, i = t.popperState, o = t.props.interactiveBorder, a = l(i.placement), s = i.modifiersData.offset; if (!s) return !0; var p = "bottom" === a ? s.top.y : 0, u = "top" === a ? s.bottom.y : 0, c = "right" === a ? s.left.x : 0, f = "left" === a ? s.right.x : 0, d = e.top - r + p > o, v = r - e.bottom - u > o, m = e.left - n + c > o, g = n - e.right - f > o; return d || v || m || g })) }(Ct().concat(Y).map((function (t) { var e, n = null == (e = t._tippy.popperInstance) ? void 0 : e.state; return n ? { popperRect: t.getBoundingClientRect(), popperState: n, props: k } : null })).filter(Boolean), t) && (st(), At(t)) } function yt(t) { xt(t) || W.props.trigger.indexOf("click") >= 0 && M || (W.props.interactive ? W.hideWithInteractivity(t) : At(t)) } function wt(t) { W.props.trigger.indexOf("focusin") < 0 && t.target !== Z() || W.props.interactive && t.relatedTarget && Y.contains(t.relatedTarget) || At(t) } function xt(t) { return !!O.isTouch && K() !== t.type.indexOf("touch") >= 0 } function Et() { Ot(); var n = W.props, r = n.popperOptions, i = n.placement, o = n.offset, a = n.getReferenceClientRect, s = n.moveTransition, p = Q() ? I(Y).arrow : null, u = a ? { getBoundingClientRect: a, contextElement: a.contextElement || Z() } : e, c = [{ name: "offset", options: { offset: o } }, { name: "preventOverflow", options: { padding: { top: 2, bottom: 2, left: 5, right: 5 } } }, { name: "flip", options: { padding: 5 } }, { name: "computeStyles", options: { adaptive: !s } }, { name: "$$tippy", enabled: !0, phase: "beforeWrite", requires: ["computeStyles"], fn: function (t) { var e = t.state; if (Q()) { var n = et().box;["placement", "reference-hidden", "escaped"].forEach((function (t) { "placement" === t ? n.setAttribute("data-placement", e.placement) : e.attributes.popper["data-popper-" + t] ? n.setAttribute("data-" + t, "") : n.removeAttribute("data-" + t) })), e.attributes.popper = {} } } }]; Q() && p && c.push({ name: "arrow", options: { element: p, padding: 3 } }), c.push.apply(c, (null == r ? void 0 : r.modifiers) || []), W.popperInstance = t.createPopper(u, Y, Object.assign({}, r, { placement: i, onFirstUpdate: T, modifiers: c })) } function Ot() { W.popperInstance && (W.popperInstance.destroy(), W.popperInstance = null) } function Ct() { return d(Y.querySelectorAll("[data-tippy-root]")) } function Tt(t) { W.clearDelayTimeouts(), t && it("onTrigger", [W, t]), ft(); var e = nt(!0), n = G(), r = n[0], i = n[1]; O.isTouch && "hold" === r && i && (e = i), e ? u = setTimeout((function () { W.show() }), e) : W.show() } function At(t) { if (W.clearDelayTimeouts(), it("onUntrigger", [W, t]), W.state.isVisible) { if (!(W.props.trigger.indexOf("mouseenter") >= 0 && W.props.trigger.indexOf("click") >= 0 && ["mouseleave", "mousemove"].indexOf(t.type) >= 0 && M)) { var e = nt(!1); e ? m = setTimeout((function () { W.state.isVisible && W.hide() }), e) : h = requestAnimationFrame((function () { W.hide() })) } } else lt() } } function _(t, e) { void 0 === e && (e = {}); var n = D.plugins.concat(e.plugins || []); document.addEventListener("touchstart", T, i), window.addEventListener("blur", L); var r = Object.assign({}, e, { plugins: n }), o = b(t).reduce((function (t, e) { var n = e && U(e, r); return n && t.push(n), t }), []); return m(t) ? o[0] : o } _.defaultProps = D, _.setDefaultProps = function (t) { Object.keys(t).forEach((function (e) { D[e] = t[e] })) }, _.currentInput = O; var z = Object.assign({}, t.applyStyles, { effect: function (t) { var e = t.state, n = { popper: { position: e.options.strategy, left: "0", top: "0", margin: "0" }, arrow: { position: "absolute" }, reference: {} }; Object.assign(e.elements.popper.style, n.popper), e.styles = n, e.elements.arrow && Object.assign(e.elements.arrow.style, n.arrow) } }), F = { mouseover: "mouseenter", focusin: "focus", click: "click" }; var W = { name: "animateFill", defaultValue: !1, fn: function (t) { var e; if (!(null == (e = t.props.render) ? void 0 : e.$$tippy)) return {}; var n = I(t.popper), r = n.box, i = n.content, o = t.props.animateFill ? function () { var t = v(); return t.className = "tippy-backdrop", w([t], "hidden"), t }() : null; return { onCreate: function () { o && (r.insertBefore(o, r.firstElementChild), r.setAttribute("data-animatefill", ""), r.style.overflow = "hidden", t.setProps({ arrow: !1, animation: "shift-away" })) }, onMount: function () { if (o) { var t = r.style.transitionDuration, e = Number(t.replace("ms", "")); i.style.transitionDelay = Math.round(e / 10) + "ms", o.style.transitionDuration = t, w([o], "visible") } }, onShow: function () { o && (o.style.transitionDuration = "0ms") }, onHide: function () { o && w([o], "hidden") } } } }; var X = { clientX: 0, clientY: 0 }, Y = []; function q(t) { var e = t.clientX, n = t.clientY; X = { clientX: e, clientY: n } } var $ = { name: "followCursor", defaultValue: !1, fn: function (t) { var e = t.reference, n = x(t.props.triggerTarget || e), r = !1, i = !1, o = !0, a = t.props; function s() { return "initial" === t.props.followCursor && t.state.isVisible } function p() { n.addEventListener("mousemove", f) } function u() { n.removeEventListener("mousemove", f) } function c() { r = !0, t.setProps({ getReferenceClientRect: null }), r = !1 } function f(n) { var r = !n.target || e.contains(n.target), i = t.props.followCursor, o = n.clientX, a = n.clientY, s = e.getBoundingClientRect(), p = o - s.left, u = a - s.top; !r && t.props.interactive || t.setProps({ getReferenceClientRect: function () { var t = e.getBoundingClientRect(), n = o, r = a; "initial" === i && (n = t.left + p, r = t.top + u); var s = "horizontal" === i ? t.top : r, c = "vertical" === i ? t.right : n, f = "horizontal" === i ? t.bottom : r, l = "vertical" === i ? t.left : n; return { width: c - l, height: f - s, top: s, right: c, bottom: f, left: l } } }) } function l() { t.props.followCursor && (Y.push({ instance: t, doc: n }), function (t) { t.addEventListener("mousemove", q) }(n)) } function d() { 0 === (Y = Y.filter((function (e) { return e.instance !== t }))).filter((function (t) { return t.doc === n })).length && function (t) { t.removeEventListener("mousemove", q) }(n) } return { onCreate: l, onDestroy: d, onBeforeUpdate: function () { a = t.props }, onAfterUpdate: function (e, n) { var o = n.followCursor; r || void 0 !== o && a.followCursor !== o && (d(), o ? (l(), !t.state.isMounted || i || s() || p()) : (u(), c())) }, onMount: function () { t.props.followCursor && !i && (o && (f(X), o = !1), s() || p()) }, onTrigger: function (t, e) { g(e) && (X = { clientX: e.clientX, clientY: e.clientY }), i = "focus" === e.type }, onHidden: function () { t.props.followCursor && (c(), u(), o = !0) } } } }; var J = { name: "inlinePositioning", defaultValue: !1, fn: function (t) { var e, n = t.reference; var r = -1, i = !1, o = { name: "tippyInlinePositioning", enabled: !0, phase: "afterWrite", fn: function (i) { var o = i.state; t.props.inlinePositioning && (e !== o.placement && t.setProps({ getReferenceClientRect: function () { return function (t) { return function (t, e, n, r) { if (n.length < 2 || null === t) return e; if (2 === n.length && r >= 0 && n[0].left > n[1].right) return n[r] || e; switch (t) { case "top": case "bottom": var i = n[0], o = n[n.length - 1], a = "top" === t, s = i.top, p = o.bottom, u = a ? i.left : o.left, c = a ? i.right : o.right; return { top: s, bottom: p, left: u, right: c, width: c - u, height: p - s }; case "left": case "right": var f = Math.min.apply(Math, n.map((function (t) { return t.left }))), l = Math.max.apply(Math, n.map((function (t) { return t.right }))), d = n.filter((function (e) { return "left" === t ? e.left === f : e.right === l })), v = d[0].top, m = d[d.length - 1].bottom; return { top: v, bottom: m, left: f, right: l, width: l - f, height: m - v }; default: return e } }(l(t), n.getBoundingClientRect(), d(n.getClientRects()), r) }(o.placement) } }), e = o.placement) } }; function a() { var e; i || (e = function (t, e) { var n; return { popperOptions: Object.assign({}, t.popperOptions, { modifiers: [].concat(((null == (n = t.popperOptions) ? void 0 : n.modifiers) || []).filter((function (t) { return t.name !== e.name })), [e]) }) } }(t.props, o), i = !0, t.setProps(e), i = !1) } return { onCreate: a, onAfterUpdate: a, onTrigger: function (e, n) { if (g(n)) { var i = d(t.reference.getClientRects()), o = i.find((function (t) { return t.left - 2 <= n.clientX && t.right + 2 >= n.clientX && t.top - 2 <= n.clientY && t.bottom + 2 >= n.clientY })); r = i.indexOf(o) } }, onUntrigger: function () { r = -1 } } } }; var G = { name: "sticky", defaultValue: !1, fn: function (t) { var e = t.reference, n = t.popper; function r(e) { return !0 === t.props.sticky || t.props.sticky === e } var i = null, o = null; function a() { var s = r("reference") ? (t.popperInstance ? t.popperInstance.state.elements.reference : e).getBoundingClientRect() : null, p = r("popper") ? n.getBoundingClientRect() : null; (s && K(i, s) || p && K(o, p)) && t.popperInstance && t.popperInstance.update(), i = s, o = p, t.state.isMounted && requestAnimationFrame(a) } return { onMount: function () { t.props.sticky && a() } } } }; function K(t, e) { return !t || !e || (t.top !== e.top || t.right !== e.right || t.bottom !== e.bottom || t.left !== e.left) } return e && function (t) { var e = document.createElement("style"); e.textContent = t, e.setAttribute("data-tippy-stylesheet", ""); var n = document.head, r = document.querySelector("head>style,head>link"); r ? n.insertBefore(e, r) : n.appendChild(e) }('.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}'), _.setDefaultProps({ plugins: [W, $, J, G], render: S }), _.createSingleton = function (t, e) { var n; void 0 === e && (e = {}); var r, i = t, o = [], a = e.overrides, s = [], p = !1; function c() { o = i.map((function (t) { return t.reference })) } function f(t) { i.forEach((function (e) { t ? e.enable() : e.disable() })) } function l(t) { return i.map((function (e) { var n = e.setProps; return e.setProps = function (i) { n(i), e.reference === r && t.setProps(i) }, function () { e.setProps = n } })) } function d(t, e) { var n = o.indexOf(e); if (e !== r) { r = e; var s = (a || []).concat("content").reduce((function (t, e) { return t[e] = i[n].props[e], t }), {}); t.setProps(Object.assign({}, s, { getReferenceClientRect: "function" == typeof s.getReferenceClientRect ? s.getReferenceClientRect : function () { return e.getBoundingClientRect() } })) } } f(!1), c(); var m = { fn: function () { return { onDestroy: function () { f(!0) }, onHidden: function () { r = null }, onClickOutside: function (t) { t.props.showOnCreate && !p && (p = !0, r = null) }, onShow: function (t) { t.props.showOnCreate && !p && (p = !0, d(t, o[0])) }, onTrigger: function (t, e) { d(t, e.currentTarget) } } } }, g = _(v(), Object.assign({}, u(e, ["overrides"]), { plugins: [m].concat(e.plugins || []), triggerTarget: o, popperOptions: Object.assign({}, e.popperOptions, { modifiers: [].concat((null == (n = e.popperOptions) ? void 0 : n.modifiers) || [], [z]) }) })), h = g.show; g.show = function (t) { if (h(), !r && null == t) return d(g, o[0]); if (!r || null != t) { if ("number" == typeof t) return o[t] && d(g, o[t]); if (i.includes(t)) { var e = t.reference; return d(g, e) } return o.includes(t) ? d(g, t) : void 0 } }, g.showNext = function () { var t = o[0]; if (!r) return g.show(0); var e = o.indexOf(r); g.show(o[e + 1] || t) }, g.showPrevious = function () { var t = o[o.length - 1]; if (!r) return g.show(t); var e = o.indexOf(r), n = o[e - 1] || t; g.show(n) }; var b = g.setProps; return g.setProps = function (t) { a = t.overrides || a, b(t) }, g.setInstances = function (t) { f(!0), s.forEach((function (t) { return t() })), i = t, f(!1), c(), l(g), g.setProps({ triggerTarget: o }) }, s = l(g), g }, _.delegate = function (t, e) { var n = [], r = [], o = !1, a = e.target, s = u(e, ["target"]), p = Object.assign({}, s, { trigger: "manual", touch: !1 }), f = Object.assign({}, s, { showOnCreate: !0 }), l = _(t, p); function d(t) { if (t.target && !o) { var n = t.target.closest(a); if (n) { var i = n.getAttribute("data-tippy-trigger") || e.trigger || D.trigger; if (!n._tippy && !("touchstart" === t.type && "boolean" == typeof f.touch || "touchstart" !== t.type && i.indexOf(F[t.type]) < 0)) { var s = _(n, f); s && (r = r.concat(s)) } } } } function v(t, e, r, i) { void 0 === i && (i = !1), t.addEventListener(e, r, i), n.push({ node: t, eventType: e, handler: r, options: i }) } return c(l).forEach((function (t) { var e = t.destroy, a = t.enable, s = t.disable; t.destroy = function (t) { void 0 === t && (t = !0), t && r.forEach((function (t) { t.destroy() })), r = [], n.forEach((function (t) { var e = t.node, n = t.eventType, r = t.handler, i = t.options; e.removeEventListener(n, r, i) })), n = [], e() }, t.enable = function () { a(), r.forEach((function (t) { return t.enable() })), o = !1 }, t.disable = function () { s(), r.forEach((function (t) { return t.disable() })), o = !0 }, function (t) { var e = t.reference; v(e, "touchstart", d, i), v(e, "mouseover", d), v(e, "focusin", d), v(e, "click", d) }(t) })), l }, _.hideAll = function (t) { var e = void 0 === t ? {} : t, n = e.exclude, r = e.duration; N.forEach((function (t) { var e = !1; if (n && (e = h(n) ? t.reference === n : t.popper === n.popper), !e) { var i = t.props.duration; t.setProps({ duration: r }), t.hide(), t.state.isDestroyed || t.setProps({ duration: i }) } })) }, _.roundArrow = '', _ }));
+
+const _instances = [];
+
+export function initialize(element, elementId, options) {
+ element = getRequiredElement(element, elementId);
+
+ if (!element)
+ return;
+
+ const triggerTarget = options.triggerTargetId ? document.getElementById(options.triggerTargetId) : null;
+
+ const appendTo = determineAppendTo(options.appendTo);
+
+ const defaultOptions = {
+ theme: 'blazorise',
+ content: options.text,
+ placement: options.placement,
+ maxWidth: options.maxWidth ? options.maxWidth : options.multiline ? "15rem" : null,
+ duration: options.fade ? [options.fadeDuration, options.fadeDuration] : [0, 0],
+ arrow: options.showArrow,
+ allowHTML: true,
+ trigger: options.trigger,
+ triggerTarget: triggerTarget,
+ zIndex: options.zIndex,
+ interactive: options.interactive,
+ appendTo: appendTo
+ };
+
+ const alwaysActiveOptions = options.alwaysActive
+ ? {
+ showOnCreate: true,
+ hideOnClick: false,
+ trigger: "manual"
+ } : {};
+
+ const instance = tippy(element, Object.assign({}, defaultOptions, alwaysActiveOptions));
+
+ if (options.text) {
+ instance.enable();
+ }
+ else {
+ instance.disable();
+ }
+
+ _instances[elementId] = instance;
+}
+
+export function destroy(element, elementId) {
+ var instances = _instances || {};
+
+ const instance = instances[elementId];
+
+ if (instance) {
+ instance.hide();
+
+ delete instances[elementId];
+ }
+}
+
+export function updateContent(element, elementId, content) {
+ const instance = _instances[elementId];
+
+ if (instance) {
+ instance.setContent(content);
+
+ if (content) {
+ instance.enable();
+ }
+ else {
+ instance.disable();
+ }
+ }
+}
+
+function determineAppendTo(value) {
+ if (!value || value === "body") {
+ return () => document.body;
+ }
+
+ if (value === "parent")
+ return "parent";
+ else if (value.length > 0 && value[0] === "#")
+ return document.getElementById(value);
+
+ return () => document.body;
+}
\ No newline at end of file
diff --git a/_content/Blazorise/utilities.js b/_content/Blazorise/utilities.js
new file mode 100755
index 00000000..85b8909c
--- /dev/null
+++ b/_content/Blazorise/utilities.js
@@ -0,0 +1,310 @@
+import "./vendors/jsencrypt.js?v=1.3.1.0";
+import "./vendors/sha512.js?v=1.3.1.0";
+
+// adds a classname to the specified element
+export function addClass(element, classname) {
+ element.classList.add(classname);
+}
+
+// removes a classname from the specified element
+export function removeClass(element, classname) {
+ if (element.classList.contains(classname)) {
+ element.classList.remove(classname);
+ }
+}
+
+// toggles a classname on the given element id
+export function toggleClass(element, classname) {
+ if (element) {
+ if (element.classList.contains(classname)) {
+ element.classList.remove(classname);
+ } else {
+ element.classList.add(classname);
+ }
+ }
+}
+
+// adds a classname to the body element
+export function addClassToBody(classname) {
+ addClass(document.body, classname);
+}
+
+// removes a classname from the body element
+export function removeClassFromBody(classname) {
+ removeClass(document.body, classname);
+}
+
+// sets the input focuses to the given element
+export function focus(element, elementId, scrollToElement) {
+ element = getRequiredElement(element, elementId);
+
+ if (element) {
+ element.focus({
+ preventScroll: !scrollToElement
+ });
+ }
+}
+
+// selects the given element
+export function select(element, elementId, focus) {
+ if (focus) {
+ focus(element, elementId, true);
+ }
+
+ element = getRequiredElement(element, elementId);
+
+ if (element) {
+ element.select();
+ }
+}
+
+// show a browser picker for the supplied input element
+export function showPicker(element, elementId) {
+ element = getRequiredElement(element, elementId);
+
+ if (element && 'showPicker' in HTMLInputElement.prototype) {
+ element.showPicker();
+ }
+}
+
+export function setCaret(element, caret) {
+ if (hasSelectionCapabilities(element)) {
+ window.requestAnimationFrame(() => {
+ element.selectionStart = caret;
+ element.selectionEnd = caret;
+ });
+ }
+}
+
+export function getCaret(element) {
+ return hasSelectionCapabilities(element)
+ ? element.selectionStart :
+ -1;
+}
+
+export function setTextValue(element, value) {
+ element.value = value;
+}
+
+export function scrollAnchorIntoView(elementId) {
+ var element = document.getElementById(elementId);
+
+ if (element) {
+ element.scrollIntoView();
+ window.location.hash = elementId;
+ }
+}
+
+export function scrollElementIntoView(elementId, smooth) {
+ var element = document.getElementById(elementId);
+
+ if (element) {
+ var top;
+ if (element.offsetTop < element.parentElement.scrollTop || element.clientHeight > element.parentElement.clientHeight) {
+ top = element.offsetTop;
+ } else if (element.offsetTop + element.offsetHeight > element.parentElement.scrollTop + element.parentElement.clientHeight) {
+ top = element.offsetTop + element.offsetHeight - element.parentElement.clientHeight;
+ }
+
+ var behavior = smooth ? "smooth" : "instant";
+ element.parentElement.scrollTo({ top: top, behavior: behavior });
+ }
+}
+
+// sets the value to the element property
+export function setProperty(element, property, value) {
+ if (element && property) {
+ element[property] = value;
+ }
+}
+
+export function getElementInfo(element, elementId) {
+ if (!element) {
+ element = document.getElementById(elementId);
+ }
+
+ if (element) {
+ const position = element.getBoundingClientRect();
+
+ return {
+ boundingClientRect: {
+ x: position.x,
+ y: position.y,
+ top: position.top,
+ bottom: position.bottom,
+ left: position.left,
+ right: position.right,
+ width: position.width,
+ height: position.height
+ },
+ offsetTop: element.offsetTop,
+ offsetLeft: element.offsetLeft,
+ offsetWidth: element.offsetWidth,
+ offsetHeight: element.offsetHeight,
+ scrollTop: element.scrollTop,
+ scrollLeft: element.scrollLeft,
+ scrollWidth: element.scrollWidth,
+ scrollHeight: element.scrollHeight,
+ clientTop: element.clientTop,
+ clientLeft: element.clientLeft,
+ clientWidth: element.clientWidth,
+ clientHeight: element.clientHeight
+ };
+ }
+
+ return {};
+}
+
+function hasSelectionCapabilities(element) {
+ const nodeName = element && element.nodeName && element.nodeName.toLowerCase();
+
+ return (
+ nodeName &&
+ ((nodeName === 'input' &&
+ (element.type === 'text' ||
+ element.type === 'search' ||
+ element.type === 'tel' ||
+ element.type === 'url' ||
+ element.type === 'password')) ||
+ nodeName === 'textarea' ||
+ element.contentEditable === 'true')
+ );
+}
+
+export function getRequiredElement(element, elementId) {
+ if (element)
+ return element;
+
+ return document.getElementById(elementId);
+}
+
+
+export function getUserAgent() {
+ return navigator.userAgent;
+}
+
+export function copyToClipboard(element, elementId) {
+ element = getRequiredElement(element, elementId);
+
+ if (!element)
+ return;
+
+ if (navigator.clipboard) {
+ navigator.clipboard.writeText(element.innerText);
+ }
+}
+
+function getExponentialParts(num) {
+ return Array.isArray(num) ? num : String(num).split(/[eE]/);
+}
+
+function isExponential(num) {
+ const eParts = getExponentialParts(num);
+ return !Number.isNaN(Number(eParts[1]));
+}
+
+export function fromExponential(num) {
+ if (!num)
+ return num;
+
+ const eParts = getExponentialParts(num);
+ if (!isExponential(eParts)) {
+ return eParts[0];
+ }
+
+ const sign = eParts[0][0] === '-' ? '-' : '';
+ const digits = eParts[0].replace(/^-/, '');
+ const digitsParts = digits.split('.');
+ const wholeDigits = digitsParts[0];
+ const fractionDigits = digitsParts[1] || '';
+ let e = Number(eParts[1]);
+
+ if (e === 0) {
+ return `${sign + wholeDigits}.${fractionDigits}`;
+ } else if (e < 0) {
+ // move dot to the left
+ const countWholeAfterTransform = wholeDigits.length + e;
+ if (countWholeAfterTransform > 0) {
+ // transform whole to fraction
+ const wholeDigitsAfterTransform = wholeDigits.substr(0, countWholeAfterTransform);
+ const wholeDigitsTransformedToFraction = wholeDigits.substr(countWholeAfterTransform);
+ return `${sign + wholeDigitsAfterTransform}.${wholeDigitsTransformedToFraction}${fractionDigits}`;
+ } else {
+ // not enough whole digits: prepend with fractional zeros
+
+ // first e goes to dotted zero
+ let zeros = '0.';
+ e = countWholeAfterTransform;
+ while (e) {
+ zeros += '0';
+ e += 1;
+ }
+ return sign + zeros + wholeDigits + fractionDigits;
+ }
+ } else {
+ // move dot to the right
+ const countFractionAfterTransform = fractionDigits.length - e;
+ if (countFractionAfterTransform > 0) {
+ // transform fraction to whole
+ // countTransformedFractionToWhole = e
+ const fractionDigitsAfterTransform = fractionDigits.substr(e);
+ const fractionDigitsTransformedToWhole = fractionDigits.substr(0, e);
+ return `${sign + wholeDigits + fractionDigitsTransformedToWhole}.${fractionDigitsAfterTransform}`;
+ } else {
+ // not enough fractions: append whole zeros
+ let zerosCount = -countFractionAfterTransform;
+ let zeros = '';
+ while (zerosCount) {
+ zeros += '0';
+ zerosCount -= 1;
+ }
+ return sign + wholeDigits + fractionDigits + zeros;
+ }
+ }
+}
+
+function getTag(value) {
+ if (value == null) {
+ return value === undefined ? '[object Undefined]' : '[object Null]'
+ }
+ return toString.call(value)
+}
+
+export function isString(value) {
+ const type = typeof value
+ return type === 'string' || (type === 'object' && value != null && !Array.isArray(value) && getTag(value) == '[object String]')
+}
+
+export function firstNonNull(value, fallbackValue) {
+ if (value === null || value === undefined)
+ return fallbackValue;
+
+ return value;
+}
+
+export function verifyRsa(publicKey, content, signature) {
+ try {
+ const jsEncrypt = new JSEncrypt();
+ jsEncrypt.setPublicKey(publicKey);
+
+ const verified = jsEncrypt.verify(content, signature, sha512);
+
+ if (verified) {
+ return true;
+ }
+ } catch (error) {
+ console.error(error);
+ }
+
+ return false;
+}
+
+export function log(message, args) {
+ console.log(message, args);
+}
+
+export function createEvent(name) {
+ const e = document.createEvent("Event");
+ e.initEvent(name, true, true);
+ return e;
+}
\ No newline at end of file
diff --git a/_content/Blazorise/validators/DateTimeMaskValidator.js b/_content/Blazorise/validators/DateTimeMaskValidator.js
new file mode 100755
index 00000000..6c9fa38f
--- /dev/null
+++ b/_content/Blazorise/validators/DateTimeMaskValidator.js
@@ -0,0 +1,16 @@
+export function DateTimeMaskValidator(element, elementId) {
+ this.elementId = elementId;
+ this.element = element;
+ this.regex = function () {
+ return /^\d{0,4}$|^\d{4}-0?$|^\d{4}-(?:0?[1-9]|1[012])(?:-(?:0?[1-9]?|[12]\d|3[01])?)?$/;
+ };
+ this.carret = function () {
+ return [this.element.selectionStart, this.element.selectionEnd];
+ };
+ this.isValid = function (currentValue) {
+ var value = this.element.value,
+ selection = this.carret();
+
+ return value = value.substring(0, selection[0]) + currentValue + value.substring(selection[1]), !!this.regex().test(value);
+ };
+}
\ No newline at end of file
diff --git a/_content/Blazorise/validators/NoValidator.js b/_content/Blazorise/validators/NoValidator.js
new file mode 100755
index 00000000..baeda384
--- /dev/null
+++ b/_content/Blazorise/validators/NoValidator.js
@@ -0,0 +1,5 @@
+export function NoValidator() {
+ this.isValid = function (currentValue) {
+ return true;
+ };
+}
\ No newline at end of file
diff --git a/_content/Blazorise/validators/NumericMaskValidator.js b/_content/Blazorise/validators/NumericMaskValidator.js
new file mode 100755
index 00000000..a6a90328
--- /dev/null
+++ b/_content/Blazorise/validators/NumericMaskValidator.js
@@ -0,0 +1,163 @@
+export function NumericMaskValidator(dotnetAdapter, element, elementId, options) {
+ options = options || {};
+
+ this.dotnetAdapter = dotnetAdapter;
+ this.elementId = elementId;
+ this.element = element;
+ this.decimals = options.decimals === null || options.decimals === undefined ? 2 : options.decimals;
+ this.separator = options.separator || ".";
+ this.step = options.step || 1;
+ this.min = options.min;
+ this.max = options.max;
+ this.typeMin = options.typeMin;
+ this.typeMax = options.typeMax;
+ this.immediate = options.immediate || true;
+ this.selectAllOnFocus = options.selectAllOnFocus || false;
+
+ this.regex = function () {
+ var sep = "\\" + this.separator,
+ dec = this.decimals,
+ reg = "{0," + dec + "}";
+
+ return dec ? new RegExp("^(-)?(((\\d+(" + sep + "\\d" + reg + ")?)|(" + sep + "\\d" + reg + ")))?$") : /^(-)?(\d*)$/;
+ };
+ this.carret = function () {
+ return [this.element.selectionStart, this.element.selectionEnd];
+ };
+ this.isValid = function (currentValue) {
+ let value = this.element.value,
+ selection = this.carret();
+
+ if (value = value.substring(0, selection[0]) + currentValue + value.substring(selection[1]), !!this.regex().test(value)) {
+
+ value = (value || "").replace(this.separator, ".");
+
+ // Now that we know the number is valid we also need to make sure it can fit in the min-max range ot the TValue type.
+ let number = Number(value);
+ let numberOverflow = false;
+
+ if (number > this.typeMax) {
+ number = Number(this.typeMax);
+
+ numberOverflow = true;
+ }
+ else if (number < this.typeMin) {
+ number = Number(this.typeMin);
+
+ numberOverflow = true;
+ }
+
+ if (numberOverflow) {
+ value = this.fromExponential(number);
+
+ // Update input with new value and also make sure that Blazor knows it is changed.
+ this.element.value = value;
+
+ // Trigger event so that Blazor can pick it up.
+ let eventName = this.immediate ? 'input' : 'change';
+
+ if ("createEvent" in document) {
+ let event = document.createEvent("HTMLEvents");
+ event.initEvent(eventName, false, true);
+ this.element.dispatchEvent(event);
+ }
+ else {
+ this.element.fireEvent("on" + eventName);
+ }
+
+ return false; // This will make it fail the validation and do the preventDefault().
+ }
+
+ return value;
+ }
+
+ return false;
+ };
+ this.update = function (options) {
+ if (options.decimals && options.decimals.changed) {
+ this.decimals = options.decimals.value;
+
+ this.truncate();
+ }
+ };
+ this.getExponentialParts = function (num) {
+ return Array.isArray(num) ? num : String(num).split(/[eE]/);
+ };
+ this.isExponential = function (num) {
+ const eParts = this.getExponentialParts(num);
+ return !Number.isNaN(Number(eParts[1]));
+ };
+ this.fromExponential = function (num) {
+ const eParts = this.getExponentialParts(num);
+ if (!this.isExponential(eParts)) {
+ return eParts[0];
+ }
+
+ const sign = eParts[0][0] === '-' ? '-' : '';
+ const digits = eParts[0].replace(/^-/, '');
+ const digitsParts = digits.split('.');
+ const wholeDigits = digitsParts[0];
+ const fractionDigits = digitsParts[1] || '';
+ let e = Number(eParts[1]);
+
+ if (e === 0) {
+ return `${sign + wholeDigits}.${fractionDigits}`;
+ } else if (e < 0) {
+ // move dot to the left
+ const countWholeAfterTransform = wholeDigits.length + e;
+ if (countWholeAfterTransform > 0) {
+ // transform whole to fraction
+ const wholeDigitsAfterTransform = wholeDigits.substr(0, countWholeAfterTransform);
+ const wholeDigitsTransformedToFraction = wholeDigits.substr(countWholeAfterTransform);
+ return `${sign + wholeDigitsAfterTransform}.${wholeDigitsTransformedToFraction}${fractionDigits}`;
+ } else {
+ // not enough whole digits: prepend with fractional zeros
+
+ // first e goes to dotted zero
+ let zeros = '0.';
+ e = countWholeAfterTransform;
+ while (e) {
+ zeros += '0';
+ e += 1;
+ }
+ return sign + zeros + wholeDigits + fractionDigits;
+ }
+ } else {
+ // move dot to the right
+ const countFractionAfterTransform = fractionDigits.length - e;
+ if (countFractionAfterTransform > 0) {
+ // transform fraction to whole
+ // countTransformedFractionToWhole = e
+ const fractionDigitsAfterTransform = fractionDigits.substr(e);
+ const fractionDigitsTransformedToWhole = fractionDigits.substr(0, e);
+ return `${sign + wholeDigits + fractionDigitsTransformedToWhole}.${fractionDigitsAfterTransform}`;
+ } else {
+ // not enough fractions: append whole zeros
+ let zerosCount = -countFractionAfterTransform;
+ let zeros = '';
+ while (zerosCount) {
+ zeros += '0';
+ zerosCount -= 1;
+ }
+ return sign + wholeDigits + fractionDigits + zeros;
+ }
+ }
+ };
+ this.truncate = function () {
+ let value = (this.element.value || "").replace(this.separator, ".");
+
+ if (value) {
+ let number = Number(value);
+
+ number = Math.trunc(number * Math.pow(10, this.decimals)) / Math.pow(10, this.decimals);
+
+ let newValue = number.toString().replace(".", this.separator);
+
+ this.element.value = newValue;
+
+ if (this.dotnetAdapter) {
+ this.dotnetAdapter.invokeMethodAsync('SetValue', newValue);
+ }
+ }
+ };
+}
\ No newline at end of file
diff --git a/_content/Blazorise/validators/RegExMaskValidator.js b/_content/Blazorise/validators/RegExMaskValidator.js
new file mode 100755
index 00000000..26f1bb03
--- /dev/null
+++ b/_content/Blazorise/validators/RegExMaskValidator.js
@@ -0,0 +1,17 @@
+export function RegExMaskValidator(element, elementId, editMask) {
+ this.elementId = elementId;
+ this.element = element;
+ this.editMask = editMask;
+ this.regex = function () {
+ return new RegExp(this.editMask);
+ };
+ this.carret = function () {
+ return [this.element.selectionStart, this.element.selectionEnd];
+ };
+ this.isValid = function (currentValue) {
+ var value = this.element.value,
+ selection = this.carret();
+
+ return value = value.substring(0, selection[0]) + currentValue + value.substring(selection[1]), !!this.regex().test(value);
+ };
+}
\ No newline at end of file
diff --git a/_content/Blazorise/vendors/Behave.js b/_content/Blazorise/vendors/Behave.js
new file mode 100755
index 00000000..b663cefe
--- /dev/null
+++ b/_content/Blazorise/vendors/Behave.js
@@ -0,0 +1 @@
+function BehaveHooks() { var e = {}; return { add: function (t, r) { var n; if ("object" == typeof t) for (n = 0; n < t.length; n++) { var a = t[n]; e[a] || (e[a] = []), e[a].push(r) } else e[t] || (e[t] = []), e[t].push(r) }, get: function (t) { if (e[t]) return e[t] } } } const _hooks = BehaveHooks(); export function Behave(e) { "function" != typeof String.prototype.repeat && (String.prototype.repeat = function (e) { if (e < 1) return ""; if (e % 2) return this.repeat(e - 1) + this; var t = this.repeat(e / 2); return t + t }), "function" != typeof Array.prototype.filter && (Array.prototype.filter = function (e) { if (null === this) throw new TypeError; var t = Object(this), r = t.length >>> 0; if ("function" != typeof e) throw new TypeError; for (var n = [], a = arguments[1], o = 0; o < r; o++)if (o in t) { var s = t[o]; e.call(a, s, o, t) && n.push(s) } return n }); var t, r, n, a = { textarea: null, replaceTab: !0, softTabs: !0, tabSize: 4, autoOpen: !0, overwrite: !0, autoStrip: !0, autoIndent: !0, fence: !1 }, o = { keyMap: [{ open: '"', close: '"', canBreak: !1 }, { open: "'", close: "'", canBreak: !1 }, { open: "(", close: ")", canBreak: !1 }, { open: "[", close: "]", canBreak: !0 }, { open: "{", close: "}", canBreak: !0 }] }, s = { _callHook: function (e, t) { var r = _hooks.get(e); if (t = "boolean" != typeof t || !1 !== t, r) if (t) { var n, o = a.textarea, i = o.value, c = s.cursor.get(); for (n = 0; n < r.length; n++)r[n].call(void 0, { editor: { element: o, text: i, levelsDeep: s.levelsDeep() }, caret: { pos: c }, lines: { current: s.cursor.getLine(i, c), total: s.editor.getLines(i) } }) } else for (n = 0; n < r.length; n++)r[n].call(void 0) }, defineNewLine: function () { var e = document.createElement("textarea"); e.value = "\n", r = 2 == e.value.length ? "\r\n" : "\n" }, defineTabSize: function (e) { void 0 === a.textarea.style.OTabSize ? void 0 === a.textarea.style.MozTabSize ? void 0 === a.textarea.style.tabSize || (a.textarea.style.tabSize = e) : a.textarea.style.MozTabSize = e : a.textarea.style.OTabSize = e }, cursor: { getLine: function (e, t) { return e.substring(0, t).split("\n").length }, get: function () { if ("number" == typeof document.createElement("textarea").selectionStart) return a.textarea.selectionStart; if (document.selection) { var e = 0, t = a.textarea.createTextRange(), r = document.selection.createRange().duplicate().getBookmark(); for (t.moveToBookmark(r); 0 !== t.moveStart("character", -1);)e++; return e } }, set: function (e, t) { if (t || (t = e), a.textarea.setSelectionRange) a.textarea.focus(), a.textarea.setSelectionRange(e, t); else if (a.textarea.createTextRange) { var r = a.textarea.createTextRange(); r.collapse(!0), r.moveEnd("character", t), r.moveStart("character", e), r.select() } }, selection: function () { var e, t, n, o, i, c = a.textarea, l = 0, u = 0; return "number" == typeof c.selectionStart && "number" == typeof c.selectionEnd ? (l = c.selectionStart, u = c.selectionEnd) : (t = document.selection.createRange()) && t.parentElement() == c && (o = (e = s.editor.get()).length, (n = c.createTextRange()).moveToBookmark(t.getBookmark()), (i = c.createTextRange()).collapse(!1), n.compareEndPoints("StartToEnd", i) > -1 ? l = u = o : (l = -n.moveStart("character", -o), l += e.slice(0, l).split(r).length - 1, n.compareEndPoints("EndToEnd", i) > -1 ? u = o : (u = -n.moveEnd("character", -o), u += e.slice(0, u).split(r).length - 1))), l != u && { start: l, end: u } } }, editor: { getLines: function (e) { return e.split("\n").length }, get: function () { return a.textarea.value.replace(/\r/g, "") }, set: function (e, t) { a.textarea.value = e, t && a.textarea.dispatchEvent(new Event("input", { bubbles: !0 })) } }, fenceRange: function () { if ("string" == typeof a.fence) { for (var e = s.editor.get(), t = s.cursor.get(), r = 0, n = e.indexOf(a.fence), o = 0; n >= 0 && (o++, !(t < n + r));)r += n + a.fence.length, n = (e = e.substring(n + a.fence.length)).indexOf(a.fence); return r < t && n + r > t && o % 2 == 0 } return !0 }, isEven: function (e, t) { return t % 2 }, levelsDeep: function () { var e, t, r = s.cursor.get(), n = s.editor.get().substring(0, r), a = 0; for (e = 0; e < n.length; e++)for (t = 0; t < o.keyMap.length; t++)o.keyMap[t].canBreak && (o.keyMap[t].open == n.charAt(e) && a++, o.keyMap[t].close == n.charAt(e) && a--); var i = 0, c = ["'", '"']; for (e = 0; e < o.keyMap.length; e++)if (o.keyMap[e].canBreak) for (t in c) i += n.split(c[t]).filter(s.isEven).join("").split(o.keyMap[e].open).length - 1; var l = a - i; return l >= 0 ? l : 0 }, deepExtend: function (e, t) { for (var r in t) t[r] && t[r].constructor && t[r].constructor === Object ? (e[r] = e[r] || {}, s.deepExtend(e[r], t[r])) : e[r] = t[r]; return e }, addEvent: function (e, t, r) { e.addEventListener ? e.addEventListener(t, r, !1) : e.attachEvent && e.attachEvent("on" + t, r) }, removeEvent: function (e, t, r) { e.addEventListener ? e.removeEventListener(t, r, !1) : e.attachEvent && e.detachEvent("on" + t, r) }, preventDefaultEvent: function (e) { e.preventDefault ? e.preventDefault() : e.returnValue = !1 } }, i = function (e) { if (s.fenceRange()) { if (9 == e.keyCode) { s.preventDefaultEvent(e); var r = !0; s._callHook("tab:before"); var n = s.cursor.selection(), a = s.cursor.get(), o = s.editor.get(); if (n) { for (var i = n.start; i--;)if ("\n" == o.charAt(i)) { n.start = i + 1; break } var c, l = o.substring(n.start, n.end), u = l.split("\n"); if (e.shiftKey) { for (c = 0; c < u.length; c++)u[c].substring(0, t.length) == t && (u[c] = u[c].substring(t.length)); l = u.join("\n"), s.editor.set(o.substring(0, n.start) + l + o.substring(n.end)), s.cursor.set(n.start, n.start + l.length) } else { for (c in u) u[c] = t + u[c]; l = u.join("\n"), s.editor.set(o.substring(0, n.start) + l + o.substring(n.end)), s.cursor.set(n.start, n.start + l.length) } } else { var f = o.substring(0, a), g = o.substring(a), v = f + t + g; e.shiftKey ? o.substring(a - t.length, a) == t && (v = o.substring(0, a - t.length) + g, s.editor.set(v), s.cursor.set(a - t.length)) : (s.editor.set(v), s.cursor.set(a + t.length), r = !1) } s._callHook("tab:after") } return r } }, c = function (e) { if (s.fenceRange() && 13 == e.keyCode) { s.preventDefaultEvent(e), s._callHook("enter:before"); var n, a, i = s.cursor.get(), c = s.editor.get(), l = c.substring(0, i), u = c.substring(i), f = l.charAt(l.length - 1), g = u.charAt(0), v = s.levelsDeep(), p = "", d = ""; if (v) { for (; v--;)p += t; for (n = (p = p).length + 1, a = 0; a < o.keyMap.length; a++)o.keyMap[a].open == f && o.keyMap[a].close == g && (d = r) } else n = 1; var h = l + r + p + d + p.substring(0, p.length - t.length) + u; s.editor.set(h), s.cursor.set(i + n), s._callHook("enter:after") } }, l = function (e) { if (s.fenceRange() && 8 == e.keyCode) { s.preventDefaultEvent(e), s._callHook("delete:before"); var t, r = s.cursor.get(), n = s.editor.get(), a = n.substring(0, r), i = n.substring(r), c = a.charAt(a.length - 1), l = i.charAt(0); if (!1 === s.cursor.selection()) { for (t = 0; t < o.keyMap.length; t++)if (o.keyMap[t].open == c && o.keyMap[t].close == l) { var u = n.substring(0, r - 1) + n.substring(r + 1); return s.editor.set(u), void s.cursor.set(r - 1) } u = n.substring(0, r - 1) + n.substring(r); s.editor.set(u, !0), s.cursor.set(r - 1) } else { var f = s.cursor.selection(); u = n.substring(0, f.start) + n.substring(f.end); s.editor.set(u, !0), s.cursor.set(r) } s._callHook("delete:after") } }, u = function (e, t) { s.preventDefaultEvent(t), s._callHook("openChar:before"); var r = s.cursor.get(), n = s.editor.get(), o = n.substring(0, r), i = n.substring(r), c = o + e.open + e.close + i; a.textarea.value = c, s.cursor.set(r + 1), s._callHook("openChar:after") }, f = function (e, t) { var r = s.cursor.get(); return s.editor.get().substring(r, r + 1) == e.close && (s.preventDefaultEvent(t), s._callHook("closeChar:before"), s.cursor.set(s.cursor.get() + 1), s._callHook("closeChar:after"), !0) }, g = { filter: function (e) { if (s.fenceRange()) { var t = e.which || e.keyCode; if (39 != t && (40 != t || 0 !== e.which)) { var r, n = String.fromCharCode(t); for (r = 0; r < o.keyMap.length; r++) { if (o.keyMap[r].close == n) !(a.overwrite && f(o.keyMap[r], e)) && o.keyMap[r].open == n && a.autoOpen && u(o.keyMap[r], e); else o.keyMap[r].open == n && a.autoOpen && u(o.keyMap[r], e) } } } }, listen: function () { a.replaceTab && s.addEvent(a.textarea, "keydown", i), a.autoIndent && s.addEvent(a.textarea, "keydown", c), a.autoStrip && s.addEvent(a.textarea, "keydown", l), s.addEvent(a.textarea, "keypress", g.filter), s.addEvent(a.textarea, "keydown", function () { s._callHook("keydown") }), s.addEvent(a.textarea, "keyup", function () { s._callHook("keyup") }), s.addEvent(a.textarea, "blur", function () { a.textarea.dispatchEvent(new Event("change", { bubbles: !0 })) }) } }; this.destroy = function () { s.removeEvent(a.textarea, "keydown", i), s.removeEvent(a.textarea, "keydown", c), s.removeEvent(a.textarea, "keydown", l), s.removeEvent(a.textarea, "keypress", g.filter) }, (n = e).textarea && (s._callHook("init:before", !1), s.deepExtend(a, n), s.defineNewLine(), a.softTabs ? t = " ".repeat(a.tabSize) : (t = "\t", s.defineTabSize(a.tabSize)), g.listen(), s._callHook("init:after", !1)) }
\ No newline at end of file
diff --git a/_content/Blazorise/vendors/Pickr.js b/_content/Blazorise/vendors/Pickr.js
new file mode 100755
index 00000000..4b153006
--- /dev/null
+++ b/_content/Blazorise/vendors/Pickr.js
@@ -0,0 +1,18 @@
+!function (t, e) { "object" == typeof exports && "object" == typeof module ? module.exports = e() : "function" == typeof define && define.amd ? define([], e) : "object" == typeof exports ? exports.Pickr = e() : t.Pickr = e() }(self, (function () { return (() => { "use strict"; var t = { d: (e, o) => { for (var n in o) t.o(o, n) && !t.o(e, n) && Object.defineProperty(e, n, { enumerable: !0, get: o[n] }) }, o: (t, e) => Object.prototype.hasOwnProperty.call(t, e), r: t => { "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(t, "__esModule", { value: !0 }) } }, e = {}; t.d(e, { default: () => L }); var o = {}; function n(t, e, o, n, i = {}) { e instanceof HTMLCollection || e instanceof NodeList ? e = Array.from(e) : Array.isArray(e) || (e = [e]), Array.isArray(o) || (o = [o]); for (const s of e) for (const e of o) s[t](e, n, { capture: !1, ...i }); return Array.prototype.slice.call(arguments, 1) } t.r(o), t.d(o, { adjustableInputNumbers: () => p, createElementFromString: () => r, createFromTemplate: () => a, eventPath: () => l, off: () => s, on: () => i, resolveElement: () => c }); const i = n.bind(null, "addEventListener"), s = n.bind(null, "removeEventListener"); function r(t) { const e = document.createElement("div"); return e.innerHTML = t.trim(), e.firstElementChild } function a(t) { const e = (t, e) => { const o = t.getAttribute(e); return t.removeAttribute(e), o }, o = (t, n = {}) => { const i = e(t, ":obj"), s = e(t, ":ref"), r = i ? n[i] = {} : n; s && (n[s] = t); for (const n of Array.from(t.children)) { const t = e(n, ":arr"), i = o(n, t ? {} : r); t && (r[t] || (r[t] = [])).push(Object.keys(i).length ? i : n) } return n }; return o(r(t)) } function l(t) { let e = t.path || t.composedPath && t.composedPath(); if (e) return e; let o = t.target.parentElement; for (e = [t.target, o]; o = o.parentElement;)e.push(o); return e.push(document, window), e } function c(t) { return t instanceof Element ? t : "string" == typeof t ? t.split(/>>/g).reduce(((t, e, o, n) => (t = t.querySelector(e), o < n.length - 1 ? t.shadowRoot : t)), document) : null } function p(t, e = (t => t)) { function o(o) { const n = [.001, .01, .1][Number(o.shiftKey || 2 * o.ctrlKey)] * (o.deltaY < 0 ? 1 : -1); let i = 0, s = t.selectionStart; t.value = t.value.replace(/[\d.]+/g, ((t, o) => o <= s && o + t.length >= s ? (s = o, e(Number(t), n, i)) : (i++, t))), t.focus(), t.setSelectionRange(s, s), o.preventDefault(), t.dispatchEvent(new Event("input")) } i(t, "focus", (() => i(window, "wheel", o, { passive: !1 }))), i(t, "blur", (() => s(window, "wheel", o))) } const { min: u, max: h, floor: d, round: m } = Math; function f(t, e, o) { e /= 100, o /= 100; const n = d(t = t / 360 * 6), i = t - n, s = o * (1 - e), r = o * (1 - i * e), a = o * (1 - (1 - i) * e), l = n % 6; return [255 * [o, r, s, s, a, o][l], 255 * [a, o, o, r, s, s][l], 255 * [s, s, a, o, o, r][l]] } function v(t, e, o) { const n = (2 - (e /= 100)) * (o /= 100) / 2; return 0 !== n && (e = 1 === n ? 0 : n < .5 ? e * o / (2 * n) : e * o / (2 - 2 * n)), [t, 100 * e, 100 * n] } function b(t, e, o) { const n = u(t /= 255, e /= 255, o /= 255), i = h(t, e, o), s = i - n; let r, a; if (0 === s) r = a = 0; else { a = s / i; const n = ((i - t) / 6 + s / 2) / s, l = ((i - e) / 6 + s / 2) / s, c = ((i - o) / 6 + s / 2) / s; t === i ? r = c - l : e === i ? r = 1 / 3 + n - c : o === i && (r = 2 / 3 + l - n), r < 0 ? r += 1 : r > 1 && (r -= 1) } return [360 * r, 100 * a, 100 * i] } function y(t, e, o, n) { e /= 100, o /= 100; return [...b(255 * (1 - u(1, (t /= 100) * (1 - (n /= 100)) + n)), 255 * (1 - u(1, e * (1 - n) + n)), 255 * (1 - u(1, o * (1 - n) + n)))] } function g(t, e, o) { e /= 100; const n = 2 * (e *= (o /= 100) < .5 ? o : 1 - o) / (o + e) * 100, i = 100 * (o + e); return [t, isNaN(n) ? 0 : n, i] } function _(t) { return b(...t.match(/.{2}/g).map((t => parseInt(t, 16)))) } function w(t) { t = t.match(/^[a-zA-Z]+$/) ? function (t) { if ("black" === t.toLowerCase()) return "#000"; const e = document.createElement("canvas").getContext("2d"); return e.fillStyle = t, "#000" === e.fillStyle ? null : e.fillStyle }(t) : t; const e = { cmyk: /^cmyk[\D]+([\d.]+)[\D]+([\d.]+)[\D]+([\d.]+)[\D]+([\d.]+)/i, rgba: /^((rgba)|rgb)[\D]+([\d.]+)[\D]+([\d.]+)[\D]+([\d.]+)[\D]*?([\d.]+|$)/i, hsla: /^((hsla)|hsl)[\D]+([\d.]+)[\D]+([\d.]+)[\D]+([\d.]+)[\D]*?([\d.]+|$)/i, hsva: /^((hsva)|hsv)[\D]+([\d.]+)[\D]+([\d.]+)[\D]+([\d.]+)[\D]*?([\d.]+|$)/i, hexa: /^#?(([\dA-Fa-f]{3,4})|([\dA-Fa-f]{6})|([\dA-Fa-f]{8}))$/i }, o = t => t.map((t => /^(|\d+)\.\d+|\d+$/.test(t) ? Number(t) : void 0)); let n; t: for (const i in e) { if (!(n = e[i].exec(t))) continue; const s = t => !!n[2] == ("number" == typeof t); switch (i) { case "cmyk": { const [, t, e, s, r] = o(n); if (t > 100 || e > 100 || s > 100 || r > 100) break t; return { values: y(t, e, s, r), type: i } } case "rgba": { const [, , , t, e, r, a] = o(n); if (t > 255 || e > 255 || r > 255 || a < 0 || a > 1 || !s(a)) break t; return { values: [...b(t, e, r), a], a, type: i } } case "hexa": { let [, t] = n; 4 !== t.length && 3 !== t.length || (t = t.split("").map((t => t + t)).join("")); const e = t.substring(0, 6); let o = t.substring(6); return o = o ? parseInt(o, 16) / 255 : void 0, { values: [..._(e), o], a: o, type: i } } case "hsla": { const [, , , t, e, r, a] = o(n); if (t > 360 || e > 100 || r > 100 || a < 0 || a > 1 || !s(a)) break t; return { values: [...g(t, e, r), a], a, type: i } } case "hsva": { const [, , , t, e, r, a] = o(n); if (t > 360 || e > 100 || r > 100 || a < 0 || a > 1 || !s(a)) break t; return { values: [t, e, r, a], a, type: i } } } } return { values: null, type: null } } function A(t = 0, e = 0, o = 0, n = 1) { const i = (t, e) => (o = -1) => e(~o ? t.map((t => Number(t.toFixed(o)))) : t), s = { h: t, s: e, v: o, a: n, toHSVA() { const t = [s.h, s.s, s.v, s.a]; return t.toString = i(t, (t => `hsva(${t[0]}, ${t[1]}%, ${t[2]}%, ${s.a})`)), t }, toHSLA() { const t = [...v(s.h, s.s, s.v), s.a]; return t.toString = i(t, (t => `hsla(${t[0]}, ${t[1]}%, ${t[2]}%, ${s.a})`)), t }, toRGBA() { const t = [...f(s.h, s.s, s.v), s.a]; return t.toString = i(t, (t => `rgba(${t[0]}, ${t[1]}, ${t[2]}, ${s.a})`)), t }, toCMYK() { const t = function (t, e, o) { const n = f(t, e, o), i = n[0] / 255, s = n[1] / 255, r = n[2] / 255, a = u(1 - i, 1 - s, 1 - r); return [100 * (1 === a ? 0 : (1 - i - a) / (1 - a)), 100 * (1 === a ? 0 : (1 - s - a) / (1 - a)), 100 * (1 === a ? 0 : (1 - r - a) / (1 - a)), 100 * a] }(s.h, s.s, s.v); return t.toString = i(t, (t => `cmyk(${t[0]}%, ${t[1]}%, ${t[2]}%, ${t[3]}%)`)), t }, toHEXA() { const t = function (t, e, o) { return f(t, e, o).map((t => m(t).toString(16).padStart(2, "0"))) }(s.h, s.s, s.v), e = s.a >= 1 ? "" : Number((255 * s.a).toFixed(0)).toString(16).toUpperCase().padStart(2, "0"); return e && t.push(e), t.toString = () => `#${t.join("").toUpperCase()}`, t }, clone: () => A(s.h, s.s, s.v, s.a) }; return s } const C = t => Math.max(Math.min(t, 1), 0); function $(t) { const e = { options: Object.assign({ lock: null, onchange: () => 0, onstop: () => 0 }, t), _keyboard(t) { const { options: o } = e, { type: n, key: i } = t; if (document.activeElement === o.wrapper) { const { lock: o } = e.options, s = "ArrowUp" === i, r = "ArrowRight" === i, a = "ArrowDown" === i, l = "ArrowLeft" === i; if ("keydown" === n && (s || r || a || l)) { let n = 0, i = 0; "v" === o ? n = s || r ? 1 : -1 : "h" === o ? n = s || r ? -1 : 1 : (i = s ? -1 : a ? 1 : 0, n = l ? -1 : r ? 1 : 0), e.update(C(e.cache.x + .01 * n), C(e.cache.y + .01 * i)), t.preventDefault() } else i.startsWith("Arrow") && (e.options.onstop(), t.preventDefault()) } }, _tapstart(t) { i(document, ["mouseup", "touchend", "touchcancel"], e._tapstop), i(document, ["mousemove", "touchmove"], e._tapmove), t.cancelable && t.preventDefault(), e._tapmove(t) }, _tapmove(t) { const { options: o, cache: n } = e, { lock: i, element: s, wrapper: r } = o, a = r.getBoundingClientRect(); let l = 0, c = 0; if (t) { const e = t && t.touches && t.touches[0]; l = t ? (e || t).clientX : 0, c = t ? (e || t).clientY : 0, l < a.left ? l = a.left : l > a.left + a.width && (l = a.left + a.width), c < a.top ? c = a.top : c > a.top + a.height && (c = a.top + a.height), l -= a.left, c -= a.top } else n && (l = n.x * a.width, c = n.y * a.height); "h" !== i && (s.style.left = `calc(${l / a.width * 100}% - ${s.offsetWidth / 2}px)`), "v" !== i && (s.style.top = `calc(${c / a.height * 100}% - ${s.offsetHeight / 2}px)`), e.cache = { x: l / a.width, y: c / a.height }; const p = C(l / a.width), u = C(c / a.height); switch (i) { case "v": return o.onchange(p); case "h": return o.onchange(u); default: return o.onchange(p, u) } }, _tapstop() { e.options.onstop(), s(document, ["mouseup", "touchend", "touchcancel"], e._tapstop), s(document, ["mousemove", "touchmove"], e._tapmove) }, trigger() { e._tapmove() }, update(t = 0, o = 0) { const { left: n, top: i, width: s, height: r } = e.options.wrapper.getBoundingClientRect(); "h" === e.options.lock && (o = t), e._tapmove({ clientX: n + s * t, clientY: i + r * o }) }, destroy() { const { options: t, _tapstart: o, _keyboard: n } = e; s(document, ["keydown", "keyup"], n), s([t.wrapper, t.element], "mousedown", o), s([t.wrapper, t.element], "touchstart", o, { passive: !1 }) } }, { options: o, _tapstart: n, _keyboard: r } = e; return i([o.wrapper, o.element], "mousedown", n), i([o.wrapper, o.element], "touchstart", n, { passive: !1 }), i(document, ["keydown", "keyup"], r), e } function k(t = {}) { t = Object.assign({ onchange: () => 0, className: "", elements: [] }, t); const e = i(t.elements, "click", (e => { t.elements.forEach((o => o.classList[e.target === o ? "add" : "remove"](t.className))), t.onchange(e), e.stopPropagation() })); return { destroy: () => s(...e) } } const S = { variantFlipOrder: { start: "sme", middle: "mse", end: "ems" }, positionFlipOrder: { top: "tbrl", right: "rltb", bottom: "btrl", left: "lrbt" }, position: "bottom", margin: 8 }, O = (t, e, o) => { const { container: n, margin: i, position: s, variantFlipOrder: r, positionFlipOrder: a } = { container: document.documentElement.getBoundingClientRect(), ...S, ...o }, { left: l, top: c } = e.style; e.style.left = "0", e.style.top = "0"; const p = t.getBoundingClientRect(), u = e.getBoundingClientRect(), h = { t: p.top - u.height - i, b: p.bottom + i, r: p.right + i, l: p.left - u.width - i }, d = { vs: p.left, vm: p.left + p.width / 2 + -u.width / 2, ve: p.left + p.width - u.width, hs: p.top, hm: p.bottom - p.height / 2 - u.height / 2, he: p.bottom - u.height }, [m, f = "middle"] = s.split("-"), v = a[m], b = r[f], { top: y, left: g, bottom: _, right: w } = n; for (const t of v) { const o = "t" === t || "b" === t, n = h[t], [i, s] = o ? ["top", "left"] : ["left", "top"], [r, a] = o ? [u.height, u.width] : [u.width, u.height], [l, c] = o ? [_, w] : [w, _], [p, m] = o ? [y, g] : [g, y]; if (!(n < p || n + r > l)) for (const r of b) { const l = d[(o ? "v" : "h") + r]; if (!(l < m || l + a > c)) return e.style[s] = l - u[s] + "px", e.style[i] = n - u[i] + "px", t + r } } return e.style.left = l, e.style.top = c, null }; function E(t, e, o) { return e in t ? Object.defineProperty(t, e, { value: o, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = o, t } class L { constructor(t) { E(this, "_initializingActive", !0), E(this, "_recalc", !0), E(this, "_nanopop", null), E(this, "_root", null), E(this, "_color", A()), E(this, "_lastColor", A()), E(this, "_swatchColors", []), E(this, "_setupAnimationFrame", null), E(this, "_eventListener", { init: [], save: [], hide: [], show: [], clear: [], change: [], changestop: [], cancel: [], swatchselect: [] }), this.options = t = Object.assign({ ...L.DEFAULT_OPTIONS }, t); const { swatches: e, components: o, theme: n, sliders: i, lockOpacity: s, padding: r } = t;["nano", "monolith"].includes(n) && !i && (t.sliders = "h"), o.interaction || (o.interaction = {}); const { preview: a, opacity: l, hue: c, palette: p } = o; o.opacity = !s && l, o.palette = p || a || l || c, this._preBuild(), this._buildComponents(), this._bindEvents(), this._finalBuild(), e && e.length && e.forEach((t => this.addSwatch(t))); const { button: u, app: h } = this._root; this._nanopop = ((t, e, o) => { const n = "object" != typeof t || t instanceof HTMLElement ? { reference: t, popper: e, ...o } : t; return { update(t = n) { const { reference: e, popper: o } = Object.assign(n, t); if (!o || !e) throw new Error("Popper- or reference-element missing."); return O(e, o, n) } } })(u, h, { margin: r }), u.setAttribute("role", "button"), u.setAttribute("aria-label", this._t("btn:toggle")); const d = this; this._setupAnimationFrame = requestAnimationFrame((function e() { if (!h.offsetWidth) return requestAnimationFrame(e); d.setColor(t.default), d._rePositioningPicker(), t.defaultRepresentation && (d._representation = t.defaultRepresentation, d.setColorRepresentation(d._representation)), t.showAlways && d.show(), d._initializingActive = !1, d._emit("init") })) } _preBuild() { const { options: t } = this; for (const e of ["el", "container"]) t[e] = c(t[e]); this._root = (t => { const { components: e, useAsButton: o, inline: n, appClass: i, theme: s, lockOpacity: r } = t.options, l = t => t ? "" : 'style="display:none" hidden', c = e => t._t(e), p = a(`\n \n\n ${o ? "" : '
'}\n\n
\n
\n `), u = p.interaction; return u.options.find((t => !t.hidden && !t.classList.add("active"))), u.type = () => u.options.find((t => t.classList.contains("active"))), p })(this), t.useAsButton && (this._root.button = t.el), t.container.appendChild(this._root.root) } _finalBuild() { const t = this.options, e = this._root; if (t.container.removeChild(e.root), t.inline) { const o = t.el.parentElement; t.el.nextSibling ? o.insertBefore(e.app, t.el.nextSibling) : o.appendChild(e.app) } else t.container.appendChild(e.app); t.useAsButton ? t.inline && t.el.remove() : t.el.parentNode.replaceChild(e.root, t.el), t.disabled && this.disable(), t.comparison || (e.button.style.transition = "none", t.useAsButton || (e.preview.lastColor.style.transition = "none")), this.hide() } _buildComponents() { const t = this, e = this.options.components, o = (t.options.sliders || "v").repeat(2), [n, i] = o.match(/^[vh]+$/g) ? o : [], s = () => this._color || (this._color = this._lastColor.clone()), r = { palette: $({ element: t._root.palette.picker, wrapper: t._root.palette.palette, onstop: () => t._emit("changestop", "slider", t), onchange(o, n) { if (!e.palette) return; const i = s(), { _root: r, options: a } = t, { lastColor: l, currentColor: c } = r.preview; t._recalc && (i.s = 100 * o, i.v = 100 - 100 * n, i.v < 0 && (i.v = 0), t._updateOutput("slider")); const p = i.toRGBA().toString(0); this.element.style.background = p, this.wrapper.style.background = `\n linear-gradient(to top, rgba(0, 0, 0, ${i.a}), transparent),\n linear-gradient(to left, hsla(${i.h}, 100%, 50%, ${i.a}), rgba(255, 255, 255, ${i.a}))\n `, a.comparison ? a.useAsButton || t._lastColor || l.style.setProperty("--pcr-color", p) : (r.button.style.setProperty("--pcr-color", p), r.button.classList.remove("clear")); const u = i.toHEXA().toString(); for (const { el: e, color: o } of t._swatchColors) e.classList[u === o.toHEXA().toString() ? "add" : "remove"]("pcr-active"); c.style.setProperty("--pcr-color", p) } }), hue: $({ lock: "v" === i ? "h" : "v", element: t._root.hue.picker, wrapper: t._root.hue.slider, onstop: () => t._emit("changestop", "slider", t), onchange(o) { if (!e.hue || !e.palette) return; const n = s(); t._recalc && (n.h = 360 * o), this.element.style.backgroundColor = `hsl(${n.h}, 100%, 50%)`, r.palette.trigger() } }), opacity: $({ lock: "v" === n ? "h" : "v", element: t._root.opacity.picker, wrapper: t._root.opacity.slider, onstop: () => t._emit("changestop", "slider", t), onchange(o) { if (!e.opacity || !e.palette) return; const n = s(); t._recalc && (n.a = Math.round(100 * o) / 100), this.element.style.background = `rgba(0, 0, 0, ${n.a})`, r.palette.trigger() } }), selectable: k({ elements: t._root.interaction.options, className: "active", onchange(e) { t._representation = e.target.getAttribute("data-type").toUpperCase(), t._recalc && t._updateOutput("swatch") } }) }; this._components = r } _bindEvents() { const { _root: t, options: e } = this, o = [i(t.interaction.clear, "click", (() => this._clearColor())), i([t.interaction.cancel, t.preview.lastColor], "click", (() => { this.setHSVA(...(this._lastColor || this._color).toHSVA(), !0), this._emit("cancel") })), i(t.interaction.save, "click", (() => { !this.applyColor() && !e.showAlways && this.hide() })), i(t.interaction.result, ["keyup", "input"], (t => { this.setColor(t.target.value, !0) && !this._initializingActive && (this._emit("change", this._color, "input", this), this._emit("changestop", "input", this)), t.stopImmediatePropagation() })), i(t.interaction.result, ["focus", "blur"], (t => { this._recalc = "blur" === t.type, this._recalc && this._updateOutput(null) })), i([t.palette.palette, t.palette.picker, t.hue.slider, t.hue.picker, t.opacity.slider, t.opacity.picker], ["mousedown", "touchstart"], (() => this._recalc = !0), { passive: !0 })]; if (!e.showAlways) { const n = e.closeWithKey; o.push(i(t.button, "click", (() => this.isOpen() ? this.hide() : this.show())), i(document, "keyup", (t => this.isOpen() && (t.key === n || t.code === n) && this.hide())), i(document, ["touchstart", "mousedown"], (e => { this.isOpen() && !l(e).some((e => e === t.app || e === t.button)) && this.hide() }), { capture: !0 })) } if (e.adjustableNumbers) { const e = { rgba: [255, 255, 255, 1], hsva: [360, 100, 100, 1], hsla: [360, 100, 100, 1], cmyk: [100, 100, 100, 100] }; p(t.interaction.result, ((t, o, n) => { const i = e[this.getColorRepresentation().toLowerCase()]; if (i) { const e = i[n], s = t + (e >= 100 ? 1e3 * o : o); return s <= 0 ? 0 : Number((s < e ? s : e).toPrecision(3)) } return t })) } if (e.autoReposition && !e.inline) { let t = null; const n = this; o.push(i(window, ["scroll", "resize"], (() => { n.isOpen() && (e.closeOnScroll && n.hide(), null === t ? (t = setTimeout((() => t = null), 100), requestAnimationFrame((function e() { n._rePositioningPicker(), null !== t && requestAnimationFrame(e) }))) : (clearTimeout(t), t = setTimeout((() => t = null), 100))) }), { capture: !0 })) } this._eventBindings = o } _rePositioningPicker() { const { options: t } = this; if (!t.inline) { if (!this._nanopop.update({ container: document.body.getBoundingClientRect(), position: t.position })) { const t = this._root.app, e = t.getBoundingClientRect(); t.style.top = (window.innerHeight - e.height) / 2 + "px", t.style.left = (window.innerWidth - e.width) / 2 + "px" } } } _updateOutput(t) { const { _root: e, _color: o, options: n } = this; if (e.interaction.type()) { const t = `to${e.interaction.type().getAttribute("data-type")}`; e.interaction.result.value = "function" == typeof o[t] ? o[t]().toString(n.outputPrecision) : "" } !this._initializingActive && this._recalc && this._emit("change", o, t, this) } _clearColor(t = !1) { const { _root: e, options: o } = this; o.useAsButton || e.button.style.setProperty("--pcr-color", "rgba(0, 0, 0, 0.15)"), e.button.classList.add("clear"), o.showAlways || this.hide(), this._lastColor = null, this._initializingActive || t || (this._emit("save", null), this._emit("clear")) } _parseLocalColor(t) { const { values: e, type: o, a: n } = w(t), { lockOpacity: i } = this.options, s = void 0 !== n && 1 !== n; return e && 3 === e.length && (e[3] = void 0), { values: !e || i && s ? null : e, type: o } } _t(t) { return this.options.i18n[t] || L.I18N_DEFAULTS[t] } _emit(t, ...e) { this._eventListener[t].forEach((t => t(...e, this))) } on(t, e) { return this._eventListener[t].push(e), this } off(t, e) { const o = this._eventListener[t] || [], n = o.indexOf(e); return ~n && o.splice(n, 1), this } addSwatch(t) { const { values: e } = this._parseLocalColor(t); if (e) { const { _swatchColors: t, _root: o } = this, n = A(...e), s = r(``); return o.swatches.appendChild(s), t.push({ el: s, color: n }), this._eventBindings.push(i(s, "click", (() => { this.setHSVA(...n.toHSVA(), !0), this._emit("swatchselect", n), this._emit("change", n, "swatch", this) }))), !0 } return !1 } removeSwatch(t) { const e = this._swatchColors[t]; if (e) { const { el: o } = e; return this._root.swatches.removeChild(o), this._swatchColors.splice(t, 1), !0 } return !1 } applyColor(t = !1) { const { preview: e, button: o } = this._root, n = this._color.toRGBA().toString(0); return e.lastColor.style.setProperty("--pcr-color", n), this.options.useAsButton || o.style.setProperty("--pcr-color", n), o.classList.remove("clear"), this._lastColor = this._color.clone(), this._initializingActive || t || this._emit("save", this._color), this } destroy() { cancelAnimationFrame(this._setupAnimationFrame), this._eventBindings.forEach((t => s(...t))), Object.keys(this._components).forEach((t => this._components[t].destroy())) } destroyAndRemove() { this.destroy(); const { root: t, app: e } = this._root; t.parentElement && t.parentElement.removeChild(t), e.parentElement.removeChild(e), Object.keys(this).forEach((t => this[t] = null)) } hide() { return !!this.isOpen() && (this._root.app.classList.remove("visible"), this._emit("hide"), !0) } show() { return !this.options.disabled && !this.isOpen() && (this._root.app.classList.add("visible"), this._rePositioningPicker(), this._emit("show", this._color), this) } isOpen() { return this._root.app.classList.contains("visible") } setHSVA(t = 360, e = 0, o = 0, n = 1, i = !1) { const s = this._recalc; if (this._recalc = !1, t < 0 || t > 360 || e < 0 || e > 100 || o < 0 || o > 100 || n < 0 || n > 1) return !1; this._color = A(t, e, o, n); const { hue: r, opacity: a, palette: l } = this._components; return r.update(t / 360), a.update(n), l.update(e / 100, 1 - o / 100), i || this.applyColor(), s && this._updateOutput(), this._recalc = s, !0 } setColor(t, e = !1) { if (null === t) return this._clearColor(e), !0; const { values: o, type: n } = this._parseLocalColor(t); if (o) { const t = n.toUpperCase(), { options: i } = this._root.interaction, s = i.find((e => e.getAttribute("data-type") === t)); if (s && !s.hidden) for (const t of i) t.classList[t === s ? "add" : "remove"]("active"); return !!this.setHSVA(...o, e) && this.setColorRepresentation(t) } return !1 } setColorRepresentation(t) { return t = t.toUpperCase(), !!this._root.interaction.options.find((e => e.getAttribute("data-type").startsWith(t) && !e.click())) } getColorRepresentation() { return this._representation } getColor() { return this._color } getSelectedColor() { return this._lastColor } getRoot() { return this._root } disable() { return this.hide(), this.options.disabled = !0, this._root.button.classList.add("disabled"), this } enable() { return this.options.disabled = !1, this._root.button.classList.remove("disabled"), this } } return E(L, "utils", o), E(L, "version", "1.8.2"), E(L, "I18N_DEFAULTS", { "ui:dialog": "color picker dialog", "btn:toggle": "toggle color picker dialog", "btn:swatch": "color swatch", "btn:last-color": "use previous color", "btn:save": "Save", "btn:cancel": "Cancel", "btn:clear": "Clear", "aria:btn:save": "save and close", "aria:btn:cancel": "cancel and close", "aria:btn:clear": "clear and close", "aria:input": "color input field", "aria:palette": "color selection area", "aria:hue": "hue selection slider", "aria:opacity": "selection slider" }), E(L, "DEFAULT_OPTIONS", { appClass: null, theme: "classic", useAsButton: !1, padding: 8, disabled: !1, comparison: !0, closeOnScroll: !1, outputPrecision: 0, lockOpacity: !1, autoReposition: !0, container: "body", components: { interaction: {} }, i18n: {}, swatches: null, inline: !1, sliders: null, default: "#42445a", defaultRepresentation: null, position: "bottom-middle", adjustableNumbers: !0, showAlways: !1, closeWithKey: "Escape" }), E(L, "create", (t => new L(t))), e = e.default })() }));
+
+Pickr.prototype.getSwatches = function () {
+ return this._swatchColors.reduce((arr, swatch) => {
+ arr.push(swatch.color.toRGBA().toString(0));
+ return arr;
+ }, []);
+}
+
+Pickr.prototype.setSwatches = function (swatches) {
+ swatches = swatches || [];
+
+ for (let i = this._swatchColors.length - 1; i > -1; i--) {
+ this.removeSwatch(i);
+ }
+
+ swatches.forEach(swatch => this.addSwatch(swatch));
+}
\ No newline at end of file
diff --git a/_content/Blazorise/vendors/autoNumeric.js b/_content/Blazorise/vendors/autoNumeric.js
new file mode 100755
index 00000000..88ce79c9
--- /dev/null
+++ b/_content/Blazorise/vendors/autoNumeric.js
@@ -0,0 +1,6 @@
+/**
+ * AutoNumeric.js v4.6.0
+ * © 2009-2019 Robert J. Knothe, Alexandre Bonneau
+ * Released under the MIT License.
+ */
+!function (e, t) { "object" == typeof exports && "object" == typeof module ? module.exports = t() : "function" == typeof define && define.amd ? define([], t) : "object" == typeof exports ? exports.AutoNumeric = t() : e.AutoNumeric = t() }(window, function () { return n = {}, a.m = i = [function (e, t, i) { "use strict"; i.r(t); var n = { allowedTagList: ["b", "caption", "cite", "code", "const", "dd", "del", "div", "dfn", "dt", "em", "h1", "h2", "h3", "h4", "h5", "h6", "input", "ins", "kdb", "label", "li", "option", "output", "p", "q", "s", "sample", "span", "strong", "td", "th", "u"] }; Object.freeze(n.allowedTagList), Object.defineProperty(n, "allowedTagList", { configurable: !1, writable: !1 }), n.keyCode = { Backspace: 8, Tab: 9, Enter: 13, Shift: 16, Ctrl: 17, Alt: 18, Pause: 19, CapsLock: 20, Esc: 27, Space: 32, PageUp: 33, PageDown: 34, End: 35, Home: 36, LeftArrow: 37, UpArrow: 38, RightArrow: 39, DownArrow: 40, Insert: 45, Delete: 46, num0: 48, num1: 49, num2: 50, num3: 51, num4: 52, num5: 53, num6: 54, num7: 55, num8: 56, num9: 57, a: 65, b: 66, c: 67, d: 68, e: 69, f: 70, g: 71, h: 72, i: 73, j: 74, k: 75, l: 76, m: 77, n: 78, o: 79, p: 80, q: 81, r: 82, s: 83, t: 84, u: 85, v: 86, w: 87, x: 88, y: 89, z: 90, OSLeft: 91, OSRight: 92, ContextMenu: 93, numpad0: 96, numpad1: 97, numpad2: 98, numpad3: 99, numpad4: 100, numpad5: 101, numpad6: 102, numpad7: 103, numpad8: 104, numpad9: 105, MultiplyNumpad: 106, PlusNumpad: 107, MinusNumpad: 109, DotNumpad: 110, SlashNumpad: 111, F1: 112, F2: 113, F3: 114, F4: 115, F5: 116, F6: 117, F7: 118, F8: 119, F9: 120, F10: 121, F11: 122, F12: 123, NumLock: 144, ScrollLock: 145, HyphenFirefox: 173, MyComputer: 182, MyCalculator: 183, Semicolon: 186, Equal: 187, Comma: 188, Hyphen: 189, Dot: 190, Slash: 191, Backquote: 192, LeftBracket: 219, Backslash: 220, RightBracket: 221, Quote: 222, Command: 224, AltGraph: 225, AndroidDefault: 229 }, Object.freeze(n.keyCode), Object.defineProperty(n, "keyCode", { configurable: !1, writable: !1 }), n.fromCharCodeKeyCode = { 0: "LaunchCalculator", 8: "Backspace", 9: "Tab", 13: "Enter", 16: "Shift", 17: "Ctrl", 18: "Alt", 19: "Pause", 20: "CapsLock", 27: "Escape", 32: " ", 33: "PageUp", 34: "PageDown", 35: "End", 36: "Home", 37: "ArrowLeft", 38: "ArrowUp", 39: "ArrowRight", 40: "ArrowDown", 45: "Insert", 46: "Delete", 48: "0", 49: "1", 50: "2", 51: "3", 52: "4", 53: "5", 54: "6", 55: "7", 56: "8", 57: "9", 91: "OS", 92: "OSRight", 93: "ContextMenu", 96: "0", 97: "1", 98: "2", 99: "3", 100: "4", 101: "5", 102: "6", 103: "7", 104: "8", 105: "9", 106: "*", 107: "+", 109: "-", 110: ".", 111: "/", 112: "F1", 113: "F2", 114: "F3", 115: "F4", 116: "F5", 117: "F6", 118: "F7", 119: "F8", 120: "F9", 121: "F10", 122: "F11", 123: "F12", 144: "NumLock", 145: "ScrollLock", 173: "-", 182: "MyComputer", 183: "MyCalculator", 186: ";", 187: "=", 188: ",", 189: "-", 190: ".", 191: "/", 192: "`", 219: "[", 220: "\\", 221: "]", 222: "'", 224: "Meta", 225: "AltGraph" }, Object.freeze(n.fromCharCodeKeyCode), Object.defineProperty(n, "fromCharCodeKeyCode", { configurable: !1, writable: !1 }), n.keyName = { Unidentified: "Unidentified", AndroidDefault: "AndroidDefault", Alt: "Alt", AltGr: "AltGraph", CapsLock: "CapsLock", Ctrl: "Control", Fn: "Fn", FnLock: "FnLock", Hyper: "Hyper", Meta: "Meta", OSLeft: "OS", OSRight: "OS", Command: "OS", NumLock: "NumLock", ScrollLock: "ScrollLock", Shift: "Shift", Super: "Super", Symbol: "Symbol", SymbolLock: "SymbolLock", Enter: "Enter", Tab: "Tab", Space: " ", LeftArrow: "ArrowLeft", UpArrow: "ArrowUp", RightArrow: "ArrowRight", DownArrow: "ArrowDown", End: "End", Home: "Home", PageUp: "PageUp", PageDown: "PageDown", Backspace: "Backspace", Clear: "Clear", Copy: "Copy", CrSel: "CrSel", Cut: "Cut", Delete: "Delete", EraseEof: "EraseEof", ExSel: "ExSel", Insert: "Insert", Paste: "Paste", Redo: "Redo", Undo: "Undo", Accept: "Accept", Again: "Again", Attn: "Attn", Cancel: "Cancel", ContextMenu: "ContextMenu", Esc: "Escape", Execute: "Execute", Find: "Find", Finish: "Finish", Help: "Help", Pause: "Pause", Play: "Play", Props: "Props", Select: "Select", ZoomIn: "ZoomIn", ZoomOut: "ZoomOut", BrightnessDown: "BrightnessDown", BrightnessUp: "BrightnessUp", Eject: "Eject", LogOff: "LogOff", Power: "Power", PowerOff: "PowerOff", PrintScreen: "PrintScreen", Hibernate: "Hibernate", Standby: "Standby", WakeUp: "WakeUp", Compose: "Compose", Dead: "Dead", F1: "F1", F2: "F2", F3: "F3", F4: "F4", F5: "F5", F6: "F6", F7: "F7", F8: "F8", F9: "F9", F10: "F10", F11: "F11", F12: "F12", Print: "Print", num0: "0", num1: "1", num2: "2", num3: "3", num4: "4", num5: "5", num6: "6", num7: "7", num8: "8", num9: "9", a: "a", b: "b", c: "c", d: "d", e: "e", f: "f", g: "g", h: "h", i: "i", j: "j", k: "k", l: "l", m: "m", n: "n", o: "o", p: "p", q: "q", r: "r", s: "s", t: "t", u: "u", v: "v", w: "w", x: "x", y: "y", z: "z", A: "A", B: "B", C: "C", D: "D", E: "E", F: "F", G: "G", H: "H", I: "I", J: "J", K: "K", L: "L", M: "M", N: "N", O: "O", P: "P", Q: "Q", R: "R", S: "S", T: "T", U: "U", V: "V", W: "W", X: "X", Y: "Y", Z: "Z", Semicolon: ";", Equal: "=", Comma: ",", Hyphen: "-", Minus: "-", Plus: "+", Dot: ".", Slash: "/", Backquote: "`", LeftParenthesis: "(", RightParenthesis: ")", LeftBracket: "[", RightBracket: "]", Backslash: "\\", Quote: "'", numpad0: "0", numpad1: "1", numpad2: "2", numpad3: "3", numpad4: "4", numpad5: "5", numpad6: "6", numpad7: "7", numpad8: "8", numpad9: "9", NumpadDot: ".", NumpadDotAlt: ",", NumpadMultiply: "*", NumpadPlus: "+", NumpadMinus: "-", NumpadSubtract: "-", NumpadSlash: "/", NumpadDotObsoleteBrowsers: "Decimal", NumpadMultiplyObsoleteBrowsers: "Multiply", NumpadPlusObsoleteBrowsers: "Add", NumpadMinusObsoleteBrowsers: "Subtract", NumpadSlashObsoleteBrowsers: "Divide", _allFnKeys: ["F1", "F2", "F3", "F4", "F5", "F6", "F7", "F8", "F9", "F10", "F11", "F12"], _someNonPrintableKeys: ["Tab", "Enter", "Shift", "ShiftLeft", "ShiftRight", "Control", "ControlLeft", "ControlRight", "Alt", "AltLeft", "AltRight", "Pause", "CapsLock", "Escape"], _directionKeys: ["PageUp", "PageDown", "End", "Home", "ArrowDown", "ArrowLeft", "ArrowRight", "ArrowUp"] }, Object.freeze(n.keyName._allFnKeys), Object.freeze(n.keyName._someNonPrintableKeys), Object.freeze(n.keyName._directionKeys), Object.freeze(n.keyName), Object.defineProperty(n, "keyName", { configurable: !1, writable: !1 }), Object.freeze(n); var g = n; function a(e) { return function (e) { if (Array.isArray(e)) return o(e) }(e) || function (e) { if ("undefined" != typeof Symbol && Symbol.iterator in Object(e)) return Array.from(e) }(e) || s(e) || function () { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.") }() } function r() { return (r = Object.assign || function (e) { for (var t = 1; t < arguments.length; t++) { var i = arguments[t]; for (var n in i) Object.prototype.hasOwnProperty.call(i, n) && (e[n] = i[n]) } return e }).apply(this, arguments) } function h(e, t) { return function (e) { if (Array.isArray(e)) return e }(e) || function (e, t) { if ("undefined" != typeof Symbol && Symbol.iterator in Object(e)) { var i = [], n = !0, a = !1, r = void 0; try { for (var s, o = e[Symbol.iterator](); !(n = (s = o.next()).done) && (i.push(s.value), !t || i.length !== t); n = !0); } catch (e) { a = !0, r = e } finally { try { n || null == o.return || o.return() } finally { if (a) throw r } } return i } }(e, t) || s(e, t) || function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.") }() } function s(e, t) { if (e) { if ("string" == typeof e) return o(e, t); var i = Object.prototype.toString.call(e).slice(8, -1); return "Object" === i && e.constructor && (i = e.constructor.name), "Map" === i || "Set" === i ? Array.from(i) : "Arguments" === i || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i) ? o(e, t) : void 0 } } function o(e, t) { (null == t || t > e.length) && (t = e.length); for (var i = 0, n = new Array(t); i < t; i++)n[i] = e[i]; return n } function l(e) { return (l = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) { return typeof e } : function (e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(e) } var M = function () { function s() { !function (e) { if (!(e instanceof s)) throw new TypeError("Cannot call a class as a function") }(this) } return function (e, t) { for (var i = 0; i < t.length; i++) { var n = t[i]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n) } }(s, [{ key: "isNull", value: function (e) { return null === e } }, { key: "isUndefined", value: function (e) { return void 0 === e } }, { key: "isUndefinedOrNullOrEmpty", value: function (e) { return null == e || "" === e } }, { key: "isString", value: function (e) { return "string" == typeof e || e instanceof String } }, { key: "isEmptyString", value: function (e) { return "" === e } }, { key: "isBoolean", value: function (e) { return "boolean" == typeof e } }, { key: "isTrueOrFalseString", value: function (e) { var t = String(e).toLowerCase(); return "true" === t || "false" === t } }, { key: "isObject", value: function (e) { return "object" === l(e) && null !== e && !Array.isArray(e) } }, { key: "isEmptyObj", value: function (e) { for (var t in e) if (Object.prototype.hasOwnProperty.call(e, t)) return !1; return !0 } }, { key: "isNumberStrict", value: function (e) { return "number" == typeof e } }, { key: "isNumber", value: function (e) { return !this.isArray(e) && !isNaN(parseFloat(e)) && isFinite(e) } }, { key: "isDigit", value: function (e) { return /\d/.test(e) } }, { key: "isNumberOrArabic", value: function (e) { var t = this.arabicToLatinNumbers(e, !1, !0, !0); return this.isNumber(t) } }, { key: "isInt", value: function (e) { return "number" == typeof e && parseFloat(e) === parseInt(e, 10) && !isNaN(e) } }, { key: "isFunction", value: function (e) { return "function" == typeof e } }, { key: "isIE11", value: function () { return "undefined" != typeof window && !!window.MSInputMethodContext && !!document.documentMode } }, { key: "contains", value: function (e, t) { return !(!this.isString(e) || !this.isString(t) || "" === e || "" === t) && -1 !== e.indexOf(t) } }, { key: "isInArray", value: function (e, t) { return !(!this.isArray(t) || t === [] || this.isUndefined(e)) && -1 !== t.indexOf(e) } }, { key: "isArray", value: function (e) { if ("[object Array]" === Object.prototype.toString.call([])) return Array.isArray(e) || "object" === l(e) && "[object Array]" === Object.prototype.toString.call(e); throw new Error("toString message changed for Object Array") } }, { key: "isElement", value: function (e) { return "undefined" != typeof Element && e instanceof Element } }, { key: "isInputElement", value: function (e) { return this.isElement(e) && "input" === e.tagName.toLowerCase() } }, { key: "decimalPlaces", value: function (e) { var t = h(e.split("."), 2)[1]; return this.isUndefined(t) ? 0 : t.length } }, { key: "indexFirstNonZeroDecimalPlace", value: function (e) { var t = h(String(Math.abs(e)).split("."), 2)[1]; if (this.isUndefined(t)) return 0; var i = t.lastIndexOf("0"); return -1 === i ? i = 0 : i += 2, i } }, { key: "keyCodeNumber", value: function (e) { return void 0 === e.which ? e.keyCode : e.which } }, { key: "character", value: function (e) { var t; if ("Unidentified" === e.key || void 0 === e.key || this.isSeleniumBot()) { var i = this.keyCodeNumber(e); if (i === g.keyCode.AndroidDefault) return g.keyName.AndroidDefault; var n = g.fromCharCodeKeyCode[i]; t = s.isUndefinedOrNullOrEmpty(n) ? String.fromCharCode(i) : n } else { var a; switch (e.key) { case "Add": t = g.keyName.NumpadPlus; break; case "Apps": t = g.keyName.ContextMenu; break; case "Crsel": t = g.keyName.CrSel; break; case "Decimal": t = e.char ? e.char : g.keyName.NumpadDot; break; case "Del": t = "firefox" === (a = this.browser()).name && a.version <= 36 || "ie" === a.name && a.version <= 9 ? g.keyName.Dot : g.keyName.Delete; break; case "Divide": t = g.keyName.NumpadSlash; break; case "Down": t = g.keyName.DownArrow; break; case "Esc": t = g.keyName.Esc; break; case "Exsel": t = g.keyName.ExSel; break; case "Left": t = g.keyName.LeftArrow; break; case "Meta": case "Super": t = g.keyName.OSLeft; break; case "Multiply": t = g.keyName.NumpadMultiply; break; case "Right": t = g.keyName.RightArrow; break; case "Spacebar": t = g.keyName.Space; break; case "Subtract": t = g.keyName.NumpadMinus; break; case "Up": t = g.keyName.UpArrow; break; default: t = e.key } } return t } }, { key: "browser", value: function () { var e, t = navigator.userAgent, i = t.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i) || []; return /trident/i.test(i[1]) ? { name: "ie", version: (e = /\brv[ :]+(\d+)/g.exec(t) || [])[1] || "" } : "Chrome" === i[1] && null !== (e = t.match(/\b(OPR|Edge)\/(\d+)/)) ? { name: e[1].replace("OPR", "opera"), version: e[2] } : (i = i[2] ? [i[1], i[2]] : [navigator.appName, navigator.appVersion, "-?"], null !== (e = t.match(/version\/(\d+)/i)) && i.splice(1, 1, e[1]), { name: i[0].toLowerCase(), version: i[1] }) } }, { key: "isSeleniumBot", value: function () { return !0 === window.navigator.webdriver } }, { key: "isNegative", value: function (e, t, i) { var n = 1 < arguments.length && void 0 !== t ? t : "-", a = !(2 < arguments.length && void 0 !== i) || i; return e === n || "" !== e && (s.isNumber(e) ? e < 0 : a ? this.contains(e, n) : this.isNegativeStrict(e, n)) } }, { key: "isNegativeStrict", value: function (e, t) { var i = 1 < arguments.length && void 0 !== t ? t : "-"; return e.charAt(0) === i } }, { key: "isNegativeWithBrackets", value: function (e, t, i) { return e.charAt(0) === t && this.contains(e, i) } }, { key: "isZeroOrHasNoValue", value: function (e) { return !/[1-9]/g.test(e) } }, { key: "setRawNegativeSign", value: function (e) { return this.isNegativeStrict(e, "-") ? e : "-".concat(e) } }, { key: "replaceCharAt", value: function (e, t, i) { return "".concat(e.substr(0, t)).concat(i).concat(e.substr(t + i.length)) } }, { key: "clampToRangeLimits", value: function (e, t) { return Math.max(t.minimumValue, Math.min(t.maximumValue, e)) } }, { key: "countNumberCharactersOnTheCaretLeftSide", value: function (e, t, i) { for (var n = new RegExp("[0-9".concat(i, "-]")), a = 0, r = 0; r < t; r++)n.test(e[r]) && a++; return a } }, { key: "findCaretPositionInFormattedNumber", value: function (e, t, i, n) { var a, r = i.length, s = e.length, o = 0; for (a = 0; a < r && o < s && o < t; a++)(e[o] === i[a] || "." === e[o] && i[a] === n) && o++; return a } }, { key: "countCharInText", value: function (e, t) { for (var i = 0, n = 0; n < t.length; n++)t[n] === e && i++; return i } }, { key: "convertCharacterCountToIndexPosition", value: function (e) { return Math.max(e, e - 1) } }, { key: "getElementSelection", value: function (e) { var t, i = {}; try { t = this.isUndefined(e.selectionStart) } catch (e) { t = !1 } try { if (t) { var n = window.getSelection().getRangeAt(0); i.start = n.startOffset, i.end = n.endOffset, i.length = i.end - i.start } else i.start = e.selectionStart, i.end = e.selectionEnd, i.length = i.end - i.start } catch (e) { i.start = 0, i.end = 0, i.length = 0 } return i } }, { key: "setElementSelection", value: function (e, t, i) { var n = 2 < arguments.length && void 0 !== i ? i : null; if (this.isUndefinedOrNullOrEmpty(n) && (n = t), this.isInputElement(e)) e.setSelectionRange(t, n); else if (!s.isNull(e.firstChild)) { var a = document.createRange(); a.setStart(e.firstChild, t), a.setEnd(e.firstChild, n); var r = window.getSelection(); r.removeAllRanges(), r.addRange(a) } } }, { key: "throwError", value: function (e) { throw new Error(e) } }, { key: "warning", value: function (e, t) { 1 < arguments.length && void 0 !== t && !t || console.warn("Warning: ".concat(e)) } }, { key: "isWheelEvent", value: function (e) { return e instanceof WheelEvent } }, { key: "isWheelUpEvent", value: function (e) { return this.isWheelEvent(e) && !this.isUndefinedOrNullOrEmpty(e.deltaY) || this.throwError("The event passed as a parameter is not a valid wheel event, '".concat(e.type, "' given.")), e.deltaY < 0 } }, { key: "isWheelDownEvent", value: function (e) { return this.isWheelEvent(e) && !this.isUndefinedOrNullOrEmpty(e.deltaY) || this.throwError("The event passed as a parameter is not a valid wheel event, '".concat(e.type, "' given.")), 0 < e.deltaY } }, { key: "forceDecimalPlaces", value: function (e, t) { var i = h(String(e).split("."), 2), n = i[0], a = i[1]; return a ? "".concat(n, ".").concat(a.substr(0, t)) : e } }, { key: "roundToNearest", value: function (e, t) { var i = 1 < arguments.length && void 0 !== t ? t : 1e3; return 0 === e ? 0 : (0 === i && this.throwError("The `stepPlace` used to round is equal to `0`. This value must not be equal to zero."), Math.round(e / i) * i) } }, { key: "modifyAndRoundToNearestAuto", value: function (e, t, i) { e = Number(this.forceDecimalPlaces(e, i)); var n = Math.abs(e); if (0 <= n && n < 1) { var a, r = Math.pow(10, -i); if (0 === e) return t ? r : -r; var s, o = i, l = this.indexFirstNonZeroDecimalPlace(e); return a = o - 1 <= l ? r : Math.pow(10, -(l + 1)), s = t ? e + a : e - a, this.roundToNearest(s, a) } e = parseInt(e, 10); var u, c = Math.abs(e).toString().length; switch (c) { case 1: u = 0; break; case 2: case 3: u = 1; break; case 4: case 5: u = 2; break; default: u = c - 3 }var h, m = Math.pow(10, u); return (h = t ? e + m : e - m) <= 10 && -10 <= h ? h : this.roundToNearest(h, m) } }, { key: "addAndRoundToNearestAuto", value: function (e, t) { return this.modifyAndRoundToNearestAuto(e, !0, t) } }, { key: "subtractAndRoundToNearestAuto", value: function (e, t) { return this.modifyAndRoundToNearestAuto(e, !1, t) } }, { key: "arabicToLatinNumbers", value: function (e, t, i, n) { var a = !(1 < arguments.length && void 0 !== t) || t, r = 2 < arguments.length && void 0 !== i && i, s = 3 < arguments.length && void 0 !== n && n; if (this.isNull(e)) return e; var o = e.toString(); if ("" === o) return e; if (null === o.match(/[٠١٢٣٤٥٦٧٨٩۴۵۶]/g)) return a && (o = Number(o)), o; r && (o = o.replace(/٫/, ".")), s && (o = o.replace(/٬/g, "")), o = o.replace(/[٠١٢٣٤٥٦٧٨٩]/g, function (e) { return e.charCodeAt(0) - 1632 }).replace(/[۰۱۲۳۴۵۶۷۸۹]/g, function (e) { return e.charCodeAt(0) - 1776 }); var l = Number(o); return isNaN(l) ? l : (a && (o = l), o) } }, { key: "triggerEvent", value: function (e, t, i, n, a) { var r, s = 1 < arguments.length && void 0 !== t ? t : document, o = 2 < arguments.length && void 0 !== i ? i : null, l = !(3 < arguments.length && void 0 !== n) || n, u = !(4 < arguments.length && void 0 !== a) || a; window.CustomEvent ? r = new CustomEvent(e, { detail: o, bubbles: l, cancelable: u }) : (r = document.createEvent("CustomEvent")).initCustomEvent(e, l, u, { detail: o }), s.dispatchEvent(r) } }, { key: "parseStr", value: function (e) { var t, i, n, a, r = {}; if (0 === e && 1 / e < 0 && (e = "-0"), e = e.toString(), this.isNegativeStrict(e, "-") ? (e = e.slice(1), r.s = -1) : r.s = 1, -1 < (t = e.indexOf(".")) && (e = e.replace(".", "")), t < 0 && (t = e.length), (i = -1 === e.search(/[1-9]/i) ? e.length : e.search(/[1-9]/i)) === (n = e.length)) r.e = 0, r.c = [0]; else { for (a = n - 1; "0" === e.charAt(a); --a)--n; for (--n, r.e = t - i - 1, r.c = [], t = 0; i <= n; i += 1)r.c[t] = +e.charAt(i), t += 1 } return r } }, { key: "testMinMax", value: function (e, t) { var i = t.c, n = e.c, a = t.s, r = e.s, s = t.e, o = e.e; if (!i[0] || !n[0]) return i[0] ? a : n[0] ? -r : 0; if (a !== r) return a; var l = a < 0; if (s !== o) return o < s ^ l ? 1 : -1; for (a = -1, r = (s = i.length) < (o = n.length) ? s : o, a += 1; a < r; a += 1)if (i[a] !== n[a]) return i[a] > n[a] ^ l ? 1 : -1; return s === o ? 0 : o < s ^ l ? 1 : -1 } }, { key: "randomString", value: function (e) { var t = 0 < arguments.length && void 0 !== e ? e : 5; return Math.random().toString(36).substr(2, t) } }, { key: "domElement", value: function (e) { return s.isString(e) ? document.querySelector(e) : e } }, { key: "getElementValue", value: function (e) { return "input" === e.tagName.toLowerCase() ? e.value : this.text(e) } }, { key: "setElementValue", value: function (e, t) { var i = 1 < arguments.length && void 0 !== t ? t : null; "input" === e.tagName.toLowerCase() ? e.value = i : e.textContent = i } }, { key: "setInvalidState", value: function (e, t) { var i = 1 < arguments.length && void 0 !== t ? t : "Invalid"; "" !== i && !this.isNull(i) || this.throwError("Cannot set the invalid state with an empty message."), e.setCustomValidity(i) } }, { key: "setValidState", value: function (e) { e.setCustomValidity("") } }, { key: "cloneObject", value: function (e) { return r({}, e) } }, { key: "camelize", value: function (e, t, i, n) { var a = 1 < arguments.length && void 0 !== t ? t : "-", r = !(2 < arguments.length && void 0 !== i) || i, s = !(3 < arguments.length && void 0 !== n) || n; if (this.isNull(e)) return null; r && (e = e.replace(/^data-/, "")); var o = e.split(a).map(function (e) { return "".concat(e.charAt(0).toUpperCase()).concat(e.slice(1)) }); return o = o.join(""), s && (o = "".concat(o.charAt(0).toLowerCase()).concat(o.slice(1))), o } }, { key: "text", value: function (e) { var t = e.nodeType; return t === Node.ELEMENT_NODE || t === Node.DOCUMENT_NODE || t === Node.DOCUMENT_FRAGMENT_NODE ? e.textContent : t === Node.TEXT_NODE ? e.nodeValue : "" } }, { key: "setText", value: function (e, t) { var i = e.nodeType; i !== Node.ELEMENT_NODE && i !== Node.DOCUMENT_NODE && i !== Node.DOCUMENT_FRAGMENT_NODE || (e.textContent = t) } }, { key: "filterOut", value: function (e, t) { var i = this; return e.filter(function (e) { return !i.isInArray(e, t) }) } }, { key: "trimPaddedZerosFromDecimalPlaces", value: function (e) { if ("" === (e = String(e))) return ""; var t = h(e.split("."), 2), i = t[0], n = t[1]; if (this.isUndefinedOrNullOrEmpty(n)) return i; var a = n.replace(/0+$/g, ""); return "" === a ? i : "".concat(i, ".").concat(a) } }, { key: "getHoveredElement", value: function () { var e = a(document.querySelectorAll(":hover")); return e[e.length - 1] } }, { key: "arrayTrim", value: function (e, t) { var i = e.length; return 0 === i || i < t ? e : t < 0 ? [] : (e.length = parseInt(t, 10), e) } }, { key: "arrayUnique", value: function () { var e; return a(new Set((e = []).concat.apply(e, arguments))) } }, { key: "mergeMaps", value: function () { for (var e = arguments.length, t = new Array(e), i = 0; i < e; i++)t[i] = arguments[i]; return new Map(t.reduce(function (e, t) { return e.concat(a(t)) }, [])) } }, { key: "objectKeyLookup", value: function (e, t) { var i = Object.entries(e).find(function (e) { return e[1] === t }), n = null; return void 0 !== i && (n = i[0]), n } }, { key: "insertAt", value: function (e, t, i) { if (i > (e = String(e)).length) throw new Error("The given index is out of the string range."); if (1 !== t.length) throw new Error("The given string `char` should be only one character long."); return "" === e && 0 === i ? t : "".concat(e.slice(0, i)).concat(t).concat(e.slice(i)) } }, { key: "scientificToDecimal", value: function (e) { var t = Number(e); if (isNaN(t)) return NaN; if (e = String(e), !this.contains(e, "e") && !this.contains(e, "E")) return e; var i = h(e.split(/e/i), 2), n = i[0], a = i[1], r = n < 0; r && (n = n.replace("-", "")); var s = +a < 0; s && (a = a.replace("-", "")); var o, l = h(n.split(/\./), 2), u = l[0], c = l[1]; return o = s ? (o = u.length > a ? this.insertAt(u, ".", u.length - a) : "0.".concat("0".repeat(a - u.length)).concat(u), "".concat(o).concat(c || "")) : c ? (n = "".concat(u).concat(c), a < c.length ? this.insertAt(n, ".", +a + u.length) : "".concat(n).concat("0".repeat(a - c.length))) : (n = n.replace(".", ""), "".concat(n).concat("0".repeat(Number(a)))), r && (o = "-".concat(o)), o } }]), s }(), u = function () { function t(e) { if (function (e) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") }(this), null === e) throw new Error("Invalid AST") } return function (e, t) { for (var i = 0; i < t.length; i++) { var n = t[i]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n) } }(t.prototype, [{ key: "evaluate", value: function (e) { if (null == e) throw new Error("Invalid AST sub-tree"); if ("number" === e.type) return e.value; if ("unaryMinus" === e.type) return -this.evaluate(e.left); var t = this.evaluate(e.left), i = this.evaluate(e.right); switch (e.type) { case "op_+": return Number(t) + Number(i); case "op_-": return t - i; case "op_*": return t * i; case "op_/": return t / i; default: throw new Error("Invalid operator '".concat(e.type, "'")) } } }]), t }(), c = function () { function a() { !function (e) { if (!(e instanceof a)) throw new TypeError("Cannot call a class as a function") }(this) } return function (e, t) { for (var i = 0; i < t.length; i++) { var n = t[i]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n) } }(a, [{ key: "createNode", value: function (e, t, i) { var n = new a; return n.type = e, n.left = t, n.right = i, n } }, { key: "createUnaryNode", value: function (e) { var t = new a; return t.type = "unaryMinus", t.left = e, t.right = null, t } }, { key: "createLeaf", value: function (e) { var t = new a; return t.type = "number", t.value = e, t } }]), a }(); function m(e, t, i) { !function (e) { if (!(e instanceof m)) throw new TypeError("Cannot call a class as a function") }(this), this.type = e, this.value = t, this.symbol = i } var d = function () { function t(e) { !function (e) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") }(this), this.text = e, this.textLength = e.length, this.index = 0, this.token = new m("Error", 0, 0) } return function (e, t) { for (var i = 0; i < t.length; i++) { var n = t[i]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n) } }(t.prototype, [{ key: "_skipSpaces", value: function () { for (; " " === this.text[this.index] && this.index <= this.textLength;)this.index++ } }, { key: "getIndex", value: function () { return this.index } }, { key: "getNextToken", value: function (e) { var t = 0 < arguments.length && void 0 !== e ? e : "."; if (this._skipSpaces(), this.textLength === this.index) return this.token.type = "EOT", this.token; if (M.isDigit(this.text[this.index])) return this.token.type = "num", this.token.value = this._getNumber(t), this.token; switch (this.token.type = "Error", this.text[this.index]) { case "+": this.token.type = "+"; break; case "-": this.token.type = "-"; break; case "*": this.token.type = "*"; break; case "/": this.token.type = "/"; break; case "(": this.token.type = "("; break; case ")": this.token.type = ")" }if ("Error" === this.token.type) throw new Error("Unexpected token '".concat(this.token.symbol, "' at position '").concat(this.token.index, "' in the token function")); return this.token.symbol = this.text[this.index], this.index++, this.token } }, { key: "_getNumber", value: function (e) { this._skipSpaces(); for (var t = this.index; this.index <= this.textLength && M.isDigit(this.text[this.index]);)this.index++; for (this.text[this.index] === e && this.index++; this.index <= this.textLength && M.isDigit(this.text[this.index]);)this.index++; if (this.index === t) throw new Error("No number has been found while it was expected"); return this.text.substring(t, this.index).replace(e, ".") } }]), t }(), v = function () { function i(e) { var t = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : "."; return function (e) { if (!(e instanceof i)) throw new TypeError("Cannot call a class as a function") }(this), this.text = e, this.decimalCharacter = t, this.lexer = new d(e), this.token = this.lexer.getNextToken(this.decimalCharacter), this._exp() } return function (e, t) { for (var i = 0; i < t.length; i++) { var n = t[i]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n) } }(i.prototype, [{ key: "_exp", value: function () { var e = this._term(), t = this._moreExp(); return c.createNode("op_+", e, t) } }, { key: "_moreExp", value: function () { var e, t; switch (this.token.type) { case "+": return this.token = this.lexer.getNextToken(this.decimalCharacter), e = this._term(), t = this._moreExp(), c.createNode("op_+", t, e); case "-": return this.token = this.lexer.getNextToken(this.decimalCharacter), e = this._term(), t = this._moreExp(), c.createNode("op_-", t, e) }return c.createLeaf(0) } }, { key: "_term", value: function () { var e = this._factor(), t = this._moreTerms(); return c.createNode("op_*", e, t) } }, { key: "_moreTerms", value: function () { var e, t; switch (this.token.type) { case "*": return this.token = this.lexer.getNextToken(this.decimalCharacter), e = this._factor(), t = this._moreTerms(), c.createNode("op_*", t, e); case "/": return this.token = this.lexer.getNextToken(this.decimalCharacter), e = this._factor(), t = this._moreTerms(), c.createNode("op_/", t, e) }return c.createLeaf(1) } }, { key: "_factor", value: function () { var e, t, i; switch (this.token.type) { case "num": return i = this.token.value, this.token = this.lexer.getNextToken(this.decimalCharacter), c.createLeaf(i); case "-": return this.token = this.lexer.getNextToken(this.decimalCharacter), t = this._factor(), c.createUnaryNode(t); case "(": return this.token = this.lexer.getNextToken(this.decimalCharacter), e = this._exp(), this._match(")"), e; default: throw new Error("Unexpected token '".concat(this.token.symbol, "' with type '").concat(this.token.type, "' at position '").concat(this.token.index, "' in the factor function")) } } }, { key: "_match", value: function (e) { var t = this.lexer.getIndex() - 1; if (this.text[t] !== e) throw new Error("Unexpected token '".concat(this.token.symbol, "' at position '").concat(t, "' in the match function")); this.token = this.lexer.getNextToken(this.decimalCharacter) } }]), i }(); function p(e) { return function (e) { if (Array.isArray(e)) return y(e) }(e) || function (e) { if ("undefined" != typeof Symbol && Symbol.iterator in Object(e)) return Array.from(e) }(e) || f(e) || function () { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.") }() } function S(e, t) { return function (e) { if (Array.isArray(e)) return e }(e) || function (e, t) { if ("undefined" != typeof Symbol && Symbol.iterator in Object(e)) { var i = [], n = !0, a = !1, r = void 0; try { for (var s, o = e[Symbol.iterator](); !(n = (s = o.next()).done) && (i.push(s.value), !t || i.length !== t); n = !0); } catch (e) { a = !0, r = e } finally { try { n || null == o.return || o.return() } finally { if (a) throw r } } return i } }(e, t) || f(e, t) || function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.") }() } function f(e, t) { if (e) { if ("string" == typeof e) return y(e, t); var i = Object.prototype.toString.call(e).slice(8, -1); return "Object" === i && e.constructor && (i = e.constructor.name), "Map" === i || "Set" === i ? Array.from(i) : "Arguments" === i || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i) ? y(e, t) : void 0 } } function y(e, t) { (null == t || t > e.length) && (t = e.length); for (var i = 0, n = new Array(t); i < t; i++)n[i] = e[i]; return n } function b() { return (b = Object.assign || function (e) { for (var t = 1; t < arguments.length; t++) { var i = arguments[t]; for (var n in i) Object.prototype.hasOwnProperty.call(i, n) && (e[n] = i[n]) } return e }).apply(this, arguments) } function w(e) { return (w = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) { return typeof e } : function (e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(e) } function P(e, t) { for (var i = 0; i < t.length; i++) { var n = t[i]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n) } } var O, k = function () { function B() { var s = this, e = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : null, t = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : null, i = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null; !function (e) { if (!(e instanceof B)) throw new TypeError("Cannot call a class as a function") }(this); var n = B._setArgumentsValues(e, t, i), a = n.domElement, r = n.initialValue, o = n.userOptions; if (this.domElement = a, this.defaultRawValue = "", this._setSettings(o, !1), this._checkElement(), this.savedCancellableValue = null, this.historyTable = [], this.historyTableIndex = -1, this.onGoingRedo = !1, this.parentForm = this._getParentForm(), !this.runOnce && this.settings.formatOnPageLoad) this._formatDefaultValueOnPageLoad(r); else { var l; if (M.isNull(r)) switch (this.settings.emptyInputBehavior) { case B.options.emptyInputBehavior.min: l = this.settings.minimumValue; break; case B.options.emptyInputBehavior.max: l = this.settings.maximumValue; break; case B.options.emptyInputBehavior.zero: l = "0"; break; case B.options.emptyInputBehavior.focus: case B.options.emptyInputBehavior.press: case B.options.emptyInputBehavior.always: case B.options.emptyInputBehavior.null: l = ""; break; default: l = this.settings.emptyInputBehavior } else l = r; this._setElementAndRawValue(l) } this.runOnce = !0, this.hasEventListeners = !1, (this.isInputElement || this.isContentEditable) && (this.settings.noEventListeners || this._createEventListeners(), this._setWritePermissions(!0)), this._saveInitialValues(r), this.sessionStorageAvailable = this.constructor._storageTest(), this.storageNamePrefix = "AUTO_", this._setPersistentStorageName(), this.validState = !0, this.isFocused = !1, this.isWheelEvent = !1, this.isDropEvent = !1, this.isEditing = !1, this.rawValueOnFocus = void 0, this.internalModification = !1, this.attributeToWatch = this._getAttributeToWatch(), this.getterSetter = Object.getOwnPropertyDescriptor(this.domElement.__proto__, this.attributeToWatch), this._addWatcher(), this.settings.createLocalList && this._createLocalList(), this.constructor._addToGlobalList(this), this.global = { set: function (t, e) { var i = 1 < arguments.length && void 0 !== e ? e : null; s.autoNumericLocalList.forEach(function (e) { e.set(t, i) }) }, setUnformatted: function (t, e) { var i = 1 < arguments.length && void 0 !== e ? e : null; s.autoNumericLocalList.forEach(function (e) { e.setUnformatted(t, i) }) }, get: function (e) { var t = 0 < arguments.length && void 0 !== e ? e : null, i = []; return s.autoNumericLocalList.forEach(function (e) { i.push(e.get()) }), s._executeCallback(i, t), i }, getNumericString: function (e) { var t = 0 < arguments.length && void 0 !== e ? e : null, i = []; return s.autoNumericLocalList.forEach(function (e) { i.push(e.getNumericString()) }), s._executeCallback(i, t), i }, getFormatted: function (e) { var t = 0 < arguments.length && void 0 !== e ? e : null, i = []; return s.autoNumericLocalList.forEach(function (e) { i.push(e.getFormatted()) }), s._executeCallback(i, t), i }, getNumber: function (e) { var t = 0 < arguments.length && void 0 !== e ? e : null, i = []; return s.autoNumericLocalList.forEach(function (e) { i.push(e.getNumber()) }), s._executeCallback(i, t), i }, getLocalized: function (e) { var t = 0 < arguments.length && void 0 !== e ? e : null, i = []; return s.autoNumericLocalList.forEach(function (e) { i.push(e.getLocalized()) }), s._executeCallback(i, t), i }, reformat: function () { s.autoNumericLocalList.forEach(function (e) { e.reformat() }) }, unformat: function () { s.autoNumericLocalList.forEach(function (e) { e.unformat() }) }, unformatLocalized: function (e) { var t = 0 < arguments.length && void 0 !== e ? e : null; s.autoNumericLocalList.forEach(function (e) { e.unformatLocalized(t) }) }, update: function () { for (var e = arguments.length, t = new Array(e), i = 0; i < e; i++)t[i] = arguments[i]; s.autoNumericLocalList.forEach(function (e) { e.update.apply(e, t) }) }, isPristine: function () { var t = !(0 < arguments.length && void 0 !== arguments[0]) || arguments[0], i = !0; return s.autoNumericLocalList.forEach(function (e) { i && !e.isPristine(t) && (i = !1) }), i }, clear: function (e) { var t = 0 < arguments.length && void 0 !== e && e; s.autoNumericLocalList.forEach(function (e) { e.clear(t) }) }, remove: function () { s.autoNumericLocalList.forEach(function (e) { e.remove() }) }, wipe: function () { s.autoNumericLocalList.forEach(function (e) { e.wipe() }) }, nuke: function () { s.autoNumericLocalList.forEach(function (e) { e.nuke() }) }, has: function (e) { return e instanceof B ? s.autoNumericLocalList.has(e.node()) : s.autoNumericLocalList.has(e) }, addObject: function (e) { var t, i; i = e instanceof B ? (t = e.node(), e) : B.getAutoNumericElement(t = e), s._hasLocalList() || s._createLocalList(); var n, a = i._getLocalList(); 0 === a.size && (i._createLocalList(), a = i._getLocalList()), (n = a instanceof Map ? M.mergeMaps(s._getLocalList(), a) : (s._addToLocalList(t, i), s._getLocalList())).forEach(function (e) { e._setLocalList(n) }) }, removeObject: function (e, t) { var i, n, a = 1 < arguments.length && void 0 !== t && t; n = e instanceof B ? (i = e.node(), e) : B.getAutoNumericElement(i = e); var r = s.autoNumericLocalList; s.autoNumericLocalList.delete(i), r.forEach(function (e) { e._setLocalList(s.autoNumericLocalList) }), a || i !== s.node() ? n._createLocalList() : n._setLocalList(new Map) }, empty: function (e) { var t = 0 < arguments.length && void 0 !== e && e; s.autoNumericLocalList.forEach(function (e) { t ? e._createLocalList() : e._setLocalList(new Map) }) }, elements: function () { var t = []; return s.autoNumericLocalList.forEach(function (e) { t.push(e.node()) }), t }, getList: function () { return s.autoNumericLocalList }, size: function () { return s.autoNumericLocalList.size } }, this.options = { reset: function () { return s.settings = { rawValue: s.defaultRawValue }, s.update(B.defaultSettings), s }, allowDecimalPadding: function (e) { return s.update({ allowDecimalPadding: e }), s }, alwaysAllowDecimalCharacter: function (e) { return s.update({ alwaysAllowDecimalCharacter: e }), s }, caretPositionOnFocus: function (e) { return s.settings.caretPositionOnFocus = e, s }, createLocalList: function (e) { return s.settings.createLocalList = e, s.settings.createLocalList ? s._hasLocalList() || s._createLocalList() : s._deleteLocalList(), s }, currencySymbol: function (e) { return s.update({ currencySymbol: e }), s }, currencySymbolPlacement: function (e) { return s.update({ currencySymbolPlacement: e }), s }, decimalCharacter: function (e) { return s.update({ decimalCharacter: e }), s }, decimalCharacterAlternative: function (e) { return s.settings.decimalCharacterAlternative = e, s }, decimalPlaces: function (e) { return M.warning("Using `options.decimalPlaces()` instead of calling the specific `options.decimalPlacesRawValue()`, `options.decimalPlacesShownOnFocus()` and `options.decimalPlacesShownOnBlur()` methods will reset those options.\nPlease call the specific methods if you do not want to reset those.", s.settings.showWarnings), s.update({ decimalPlaces: e }), s }, decimalPlacesRawValue: function (e) { return s.update({ decimalPlacesRawValue: e }), s }, decimalPlacesShownOnBlur: function (e) { return s.update({ decimalPlacesShownOnBlur: e }), s }, decimalPlacesShownOnFocus: function (e) { return s.update({ decimalPlacesShownOnFocus: e }), s }, defaultValueOverride: function (e) { return s.update({ defaultValueOverride: e }), s }, digitalGroupSpacing: function (e) { return s.update({ digitalGroupSpacing: e }), s }, digitGroupSeparator: function (e) { return s.update({ digitGroupSeparator: e }), s }, divisorWhenUnfocused: function (e) { return s.update({ divisorWhenUnfocused: e }), s }, emptyInputBehavior: function (e) { return null === s.rawValue && e !== B.options.emptyInputBehavior.null && (M.warning("You are trying to modify the `emptyInputBehavior` option to something different than `'null'` (".concat(e, "), but the element raw value is currently set to `null`. This would result in an invalid `rawValue`. In order to fix that, the element value has been changed to the empty string `''`."), s.settings.showWarnings), s.rawValue = ""), s.update({ emptyInputBehavior: e }), s }, eventBubbles: function (e) { return s.settings.eventBubbles = e, s }, eventIsCancelable: function (e) { return s.settings.eventIsCancelable = e, s }, failOnUnknownOption: function (e) { return s.settings.failOnUnknownOption = e, s }, formatOnPageLoad: function (e) { return s.settings.formatOnPageLoad = e, s }, formulaMode: function (e) { return s.settings.formulaMode = e, s }, historySize: function (e) { return s.settings.historySize = e, s }, invalidClass: function (e) { return s.settings.invalidClass = e, s }, isCancellable: function (e) { return s.settings.isCancellable = e, s }, leadingZero: function (e) { return s.update({ leadingZero: e }), s }, maximumValue: function (e) { return s.update({ maximumValue: e }), s }, minimumValue: function (e) { return s.update({ minimumValue: e }), s }, modifyValueOnWheel: function (e) { return s.settings.modifyValueOnWheel = e, s }, negativeBracketsTypeOnBlur: function (e) { return s.update({ negativeBracketsTypeOnBlur: e }), s }, negativePositiveSignPlacement: function (e) { return s.update({ negativePositiveSignPlacement: e }), s }, negativeSignCharacter: function (e) { return s.update({ negativeSignCharacter: e }), s }, noEventListeners: function (e) { return e === B.options.noEventListeners.noEvents && s.settings.noEventListeners === B.options.noEventListeners.addEvents && s._removeEventListeners(), s.update({ noEventListeners: e }), s }, onInvalidPaste: function (e) { return s.settings.onInvalidPaste = e, s }, outputFormat: function (e) { return s.settings.outputFormat = e, s }, overrideMinMaxLimits: function (e) { return s.update({ overrideMinMaxLimits: e }), s }, positiveSignCharacter: function (e) { return s.update({ positiveSignCharacter: e }), s }, rawValueDivisor: function (e) { return s.update({ rawValueDivisor: e }), s }, readOnly: function (e) { return s.settings.readOnly = e, s._setWritePermissions(), s }, roundingMethod: function (e) { return s.update({ roundingMethod: e }), s }, saveValueToSessionStorage: function (e) { return s.update({ saveValueToSessionStorage: e }), s }, symbolWhenUnfocused: function (e) { return s.update({ symbolWhenUnfocused: e }), s }, selectNumberOnly: function (e) { return s.settings.selectNumberOnly = e, s }, selectOnFocus: function (e) { return s.settings.selectOnFocus = e, s }, serializeSpaces: function (e) { return s.settings.serializeSpaces = e, s }, showOnlyNumbersOnFocus: function (e) { return s.update({ showOnlyNumbersOnFocus: e }), s }, showPositiveSign: function (e) { return s.update({ showPositiveSign: e }), s }, showWarnings: function (e) { return s.settings.showWarnings = e, s }, styleRules: function (e) { return s.update({ styleRules: e }), s }, suffixText: function (e) { return s.update({ suffixText: e }), s }, unformatOnHover: function (e) { return s.settings.unformatOnHover = e, s }, unformatOnSubmit: function (e) { return s.settings.unformatOnSubmit = e, s }, valuesToStrings: function (e) { return s.update({ valuesToStrings: e }), s }, watchExternalChanges: function (e) { return s.update({ watchExternalChanges: e }), s }, wheelOn: function (e) { return s.settings.wheelOn = e, s }, wheelStep: function (e) { return s.settings.wheelStep = e, s } }, this._triggerEvent(B.events.initialized, this.domElement, { newValue: M.getElementValue(this.domElement), newRawValue: this.rawValue, error: null, aNElement: this }) } var e, t; return t = [{ key: "version", value: function () { return "4.6.0" } }, { key: "_setArgumentsValues", value: function (e, t, i) { M.isNull(e) && M.throwError("At least one valid parameter is needed in order to initialize an AutoNumeric object"); var n, a, r, s = M.isElement(e), o = M.isString(e), l = M.isObject(t), u = Array.isArray(t) && 0 < t.length, c = M.isNumberOrArabic(t) || "" === t, h = this._isPreDefinedOptionValid(t), m = M.isNull(t), d = M.isEmptyString(t), g = M.isObject(i), v = Array.isArray(i) && 0 < i.length, p = M.isNull(i), f = this._isPreDefinedOptionValid(i); return s && m && p ? (n = e, a = r = null) : s && c && p ? (n = e, r = t, a = null) : s && l && p ? (n = e, r = null, a = t) : s && h && p ? (n = e, r = null, a = this._getOptionObject(t)) : s && u && p ? (n = e, r = null, a = this.mergeOptions(t)) : s && (m || d) && g ? (n = e, r = null, a = i) : s && (m || d) && v ? (n = e, r = null, a = this.mergeOptions(i)) : o && m && p ? (n = document.querySelector(e), a = r = null) : o && l && p ? (n = document.querySelector(e), r = null, a = t) : o && h && p ? (n = document.querySelector(e), r = null, a = this._getOptionObject(t)) : o && u && p ? (n = document.querySelector(e), r = null, a = this.mergeOptions(t)) : o && (m || d) && g ? (n = document.querySelector(e), r = null, a = i) : o && (m || d) && v ? (n = document.querySelector(e), r = null, a = this.mergeOptions(i)) : o && c && p ? (n = document.querySelector(e), r = t, a = null) : o && c && g ? (n = document.querySelector(e), r = t, a = i) : o && c && f ? (n = document.querySelector(e), r = t, a = this._getOptionObject(i)) : o && c && v ? (n = document.querySelector(e), r = t, a = this.mergeOptions(i)) : s && c && g ? (n = e, r = t, a = i) : s && c && f ? (n = e, r = t, a = this._getOptionObject(i)) : s && c && v ? (n = e, r = t, a = this.mergeOptions(i)) : M.throwError("The parameters given to the AutoNumeric object are not valid, '".concat(e, "', '").concat(t, "' and '").concat(i, "' given.")), M.isNull(n) && M.throwError("The selector '".concat(e, "' did not select any valid DOM element. Please check on which element you called AutoNumeric.")), { domElement: n, initialValue: r, userOptions: a } } }, { key: "mergeOptions", value: function (e) { var t = this, i = {}; return e.forEach(function (e) { b(i, t._getOptionObject(e)) }), i } }, { key: "_isPreDefinedOptionValid", value: function (e) { return Object.prototype.hasOwnProperty.call(B.predefinedOptions, e) } }, { key: "_getOptionObject", value: function (e) { var t; return M.isString(e) ? null == (t = B.getPredefinedOptions()[e]) && M.warning("The given pre-defined option [".concat(e, "] is not recognized by autoNumeric. Please check that pre-defined option name."), !0) : t = e, t } }, { key: "_doesFormHandlerListExists", value: function () { var e = w(window.aNFormHandlerMap); return "undefined" !== e && "object" === e } }, { key: "_createFormHandlerList", value: function () { window.aNFormHandlerMap = new Map } }, { key: "_checkValuesToStringsArray", value: function (e, t) { return M.isInArray(String(e), t) } }, { key: "_checkValuesToStringsSettings", value: function (e, t) { return this._checkValuesToStringsArray(e, Object.keys(t.valuesToStrings)) } }, { key: "_checkStringsToValuesSettings", value: function (e, t) { return this._checkValuesToStringsArray(e, Object.values(t.valuesToStrings)) } }, { key: "_unformatAltHovered", value: function (e) { e.hoveredWithAlt = !0, e.unformat() } }, { key: "_reformatAltHovered", value: function (e) { e.hoveredWithAlt = !1, e.reformat() } }, { key: "_getChildANInputElement", value: function (e) { var t = this, i = e.getElementsByTagName("input"), n = []; return Array.prototype.slice.call(i, 0).forEach(function (e) { t.test(e) && n.push(e) }), n } }, { key: "test", value: function (e) { return this._isInGlobalList(M.domElement(e)) } }, { key: "_createWeakMap", value: function (e) { window[e] = new WeakMap } }, { key: "_createGlobalList", value: function () { this.autoNumericGlobalListName = "autoNumericGlobalList", this._createWeakMap(this.autoNumericGlobalListName) } }, { key: "_doesGlobalListExists", value: function () { var e = w(window[this.autoNumericGlobalListName]); return "undefined" !== e && "object" === e } }, { key: "_addToGlobalList", value: function (e) { this._doesGlobalListExists() || this._createGlobalList(); var t = e.node(); if (this._isInGlobalList(t)) { if (this._getFromGlobalList(t) === this) return; M.warning("A reference to the DOM element you just initialized already exists in the global AutoNumeric element list. Please make sure to not initialize the same DOM element multiple times.", e.getSettings().showWarnings) } window[this.autoNumericGlobalListName].set(t, e) } }, { key: "_removeFromGlobalList", value: function (e) { this._doesGlobalListExists() && window[this.autoNumericGlobalListName].delete(e.node()) } }, { key: "_getFromGlobalList", value: function (e) { return this._doesGlobalListExists() ? window[this.autoNumericGlobalListName].get(e) : null } }, { key: "_isInGlobalList", value: function (e) { return !!this._doesGlobalListExists() && window[this.autoNumericGlobalListName].has(e) } }, { key: "validate", value: function (e, t, i) { var n = !(1 < arguments.length && void 0 !== t) || t, a = 2 < arguments.length && void 0 !== i ? i : null; !M.isUndefinedOrNullOrEmpty(e) && M.isObject(e) || M.throwError("The userOptions are invalid ; it should be a valid object, [".concat(e, "] given.")); var r, s = M.isObject(a); s || M.isNull(a) || M.throwError("The 'originalOptions' parameter is invalid ; it should either be a valid option object or `null`, [".concat(e, "] given.")), M.isNull(e) || this._convertOldOptionsToNewOnes(e), r = n ? b({}, this.getDefaultConfig(), e) : e, M.isTrueOrFalseString(r.showWarnings) || M.isBoolean(r.showWarnings) || M.throwError("The debug option 'showWarnings' is invalid ; it should be either 'true' or 'false', [".concat(r.showWarnings, "] given.")); var o, l = /^[0-9]+$/, u = /[0-9]+/, c = /^-?[0-9]+(\.?[0-9]+)?$/, h = /^[0-9]+(\.?[0-9]+)?$/; M.isTrueOrFalseString(r.allowDecimalPadding) || M.isBoolean(r.allowDecimalPadding) || r.allowDecimalPadding === B.options.allowDecimalPadding.floats || M.throwError("The decimal padding option 'allowDecimalPadding' is invalid ; it should either be `false`, `true` or `'floats'`, [".concat(r.allowDecimalPadding, "] given.")), r.allowDecimalPadding !== B.options.allowDecimalPadding.never && "false" !== r.allowDecimalPadding || r.decimalPlaces === B.options.decimalPlaces.none && r.decimalPlacesShownOnBlur === B.options.decimalPlacesShownOnBlur.none && r.decimalPlacesShownOnFocus === B.options.decimalPlacesShownOnFocus.none || M.warning("Setting 'allowDecimalPadding' to [".concat(r.allowDecimalPadding, "] will override the current 'decimalPlaces*' settings [").concat(r.decimalPlaces, ", ").concat(r.decimalPlacesShownOnBlur, " and ").concat(r.decimalPlacesShownOnFocus, "]."), r.showWarnings), M.isTrueOrFalseString(r.alwaysAllowDecimalCharacter) || M.isBoolean(r.alwaysAllowDecimalCharacter) || M.throwError("The option 'alwaysAllowDecimalCharacter' is invalid ; it should either be `true` or `false`, [".concat(r.alwaysAllowDecimalCharacter, "] given.")), M.isNull(r.caretPositionOnFocus) || M.isInArray(r.caretPositionOnFocus, [B.options.caretPositionOnFocus.start, B.options.caretPositionOnFocus.end, B.options.caretPositionOnFocus.decimalLeft, B.options.caretPositionOnFocus.decimalRight]) || M.throwError("The display on empty string option 'caretPositionOnFocus' is invalid ; it should either be `null`, 'focus', 'press', 'always' or 'zero', [".concat(r.caretPositionOnFocus, "] given.")), o = s ? a : this._correctCaretPositionOnFocusAndSelectOnFocusOptions(e), M.isNull(o) || o.caretPositionOnFocus === B.options.caretPositionOnFocus.doNoForceCaretPosition || o.selectOnFocus !== B.options.selectOnFocus.select || M.warning("The 'selectOnFocus' option is set to 'select', which is in conflict with the 'caretPositionOnFocus' which is set to '".concat(o.caretPositionOnFocus, "'. As a result, if this has been called when instantiating an AutoNumeric object, the 'selectOnFocus' option is forced to 'doNotSelect'."), r.showWarnings), M.isInArray(r.digitGroupSeparator, [B.options.digitGroupSeparator.comma, B.options.digitGroupSeparator.dot, B.options.digitGroupSeparator.normalSpace, B.options.digitGroupSeparator.thinSpace, B.options.digitGroupSeparator.narrowNoBreakSpace, B.options.digitGroupSeparator.noBreakSpace, B.options.digitGroupSeparator.noSeparator, B.options.digitGroupSeparator.apostrophe, B.options.digitGroupSeparator.arabicThousandsSeparator, B.options.digitGroupSeparator.dotAbove, B.options.digitGroupSeparator.privateUseTwo]) || M.throwError("The thousand separator character option 'digitGroupSeparator' is invalid ; it should be ',', '.', '٬', '˙', \"'\", '', ' ', ' ', ' ', ' ' or empty (''), [".concat(r.digitGroupSeparator, "] given.")), M.isTrueOrFalseString(r.showOnlyNumbersOnFocus) || M.isBoolean(r.showOnlyNumbersOnFocus) || M.throwError("The 'showOnlyNumbersOnFocus' option is invalid ; it should be either 'true' or 'false', [".concat(r.showOnlyNumbersOnFocus, "] given.")), M.isInArray(r.digitalGroupSpacing, [B.options.digitalGroupSpacing.two, B.options.digitalGroupSpacing.twoScaled, B.options.digitalGroupSpacing.three, B.options.digitalGroupSpacing.four]) || 2 <= r.digitalGroupSpacing && r.digitalGroupSpacing <= 4 || M.throwError("The grouping separator option for thousands 'digitalGroupSpacing' is invalid ; it should be '2', '2s', '3', or '4', [".concat(r.digitalGroupSpacing, "] given.")), M.isInArray(r.decimalCharacter, [B.options.decimalCharacter.comma, B.options.decimalCharacter.dot, B.options.decimalCharacter.middleDot, B.options.decimalCharacter.arabicDecimalSeparator, B.options.decimalCharacter.decimalSeparatorKeySymbol]) || M.throwError("The decimal separator character option 'decimalCharacter' is invalid ; it should be '.', ',', '·', '⎖' or '٫', [".concat(r.decimalCharacter, "] given.")), r.decimalCharacter === r.digitGroupSeparator && M.throwError("autoNumeric will not function properly when the decimal character 'decimalCharacter' [".concat(r.decimalCharacter, "] and the thousand separator 'digitGroupSeparator' [").concat(r.digitGroupSeparator, "] are the same character.")), M.isNull(r.decimalCharacterAlternative) || M.isString(r.decimalCharacterAlternative) || M.throwError("The alternate decimal separator character option 'decimalCharacterAlternative' is invalid ; it should be a string, [".concat(r.decimalCharacterAlternative, "] given.")), "" === r.currencySymbol || M.isString(r.currencySymbol) || M.throwError("The currency symbol option 'currencySymbol' is invalid ; it should be a string, [".concat(r.currencySymbol, "] given.")), M.isInArray(r.currencySymbolPlacement, [B.options.currencySymbolPlacement.prefix, B.options.currencySymbolPlacement.suffix]) || M.throwError("The placement of the currency sign option 'currencySymbolPlacement' is invalid ; it should either be 'p' (prefix) or 's' (suffix), [".concat(r.currencySymbolPlacement, "] given.")), M.isInArray(r.negativePositiveSignPlacement, [B.options.negativePositiveSignPlacement.prefix, B.options.negativePositiveSignPlacement.suffix, B.options.negativePositiveSignPlacement.left, B.options.negativePositiveSignPlacement.right, B.options.negativePositiveSignPlacement.none]) || M.throwError("The placement of the negative sign option 'negativePositiveSignPlacement' is invalid ; it should either be 'p' (prefix), 's' (suffix), 'l' (left), 'r' (right) or 'null', [".concat(r.negativePositiveSignPlacement, "] given.")), M.isTrueOrFalseString(r.showPositiveSign) || M.isBoolean(r.showPositiveSign) || M.throwError("The show positive sign option 'showPositiveSign' is invalid ; it should be either 'true' or 'false', [".concat(r.showPositiveSign, "] given.")), M.isString(r.suffixText) && ("" === r.suffixText || !M.isNegative(r.suffixText, r.negativeSignCharacter) && !u.test(r.suffixText)) || M.throwError("The additional suffix option 'suffixText' is invalid ; it should not contains the negative sign '".concat(r.negativeSignCharacter, "' nor any numerical characters, [").concat(r.suffixText, "] given.")), M.isString(r.negativeSignCharacter) && 1 === r.negativeSignCharacter.length && !M.isUndefinedOrNullOrEmpty(r.negativeSignCharacter) && !u.test(r.negativeSignCharacter) || M.throwError("The negative sign character option 'negativeSignCharacter' is invalid ; it should be a single character, and cannot be any numerical characters, [".concat(r.negativeSignCharacter, "] given.")), M.isString(r.positiveSignCharacter) && 1 === r.positiveSignCharacter.length && !M.isUndefinedOrNullOrEmpty(r.positiveSignCharacter) && !u.test(r.positiveSignCharacter) || M.throwError("The positive sign character option 'positiveSignCharacter' is invalid ; it should be a single character, and cannot be any numerical characters, [".concat(r.positiveSignCharacter, "] given.\nIf you want to hide the positive sign character, you need to set the `showPositiveSign` option to `true`.")), r.negativeSignCharacter === r.positiveSignCharacter && M.throwError("The positive 'positiveSignCharacter' and negative 'negativeSignCharacter' sign characters cannot be identical ; [".concat(r.negativeSignCharacter, "] given.")); var m = S(M.isNull(r.negativeBracketsTypeOnBlur) ? ["", ""] : r.negativeBracketsTypeOnBlur.split(","), 2), d = m[0], g = m[1]; (M.contains(r.digitGroupSeparator, r.negativeSignCharacter) || M.contains(r.decimalCharacter, r.negativeSignCharacter) || M.contains(r.decimalCharacterAlternative, r.negativeSignCharacter) || M.contains(d, r.negativeSignCharacter) || M.contains(g, r.negativeSignCharacter) || M.contains(r.suffixText, r.negativeSignCharacter)) && M.throwError("The negative sign character option 'negativeSignCharacter' is invalid ; it should not be equal or a part of the digit separator, the decimal character, the decimal character alternative, the negative brackets or the suffix text, [".concat(r.negativeSignCharacter, "] given.")), (M.contains(r.digitGroupSeparator, r.positiveSignCharacter) || M.contains(r.decimalCharacter, r.positiveSignCharacter) || M.contains(r.decimalCharacterAlternative, r.positiveSignCharacter) || M.contains(d, r.positiveSignCharacter) || M.contains(g, r.positiveSignCharacter) || M.contains(r.suffixText, r.positiveSignCharacter)) && M.throwError("The positive sign character option 'positiveSignCharacter' is invalid ; it should not be equal or a part of the digit separator, the decimal character, the decimal character alternative, the negative brackets or the suffix text, [".concat(r.positiveSignCharacter, "] given.")), M.isNull(r.overrideMinMaxLimits) || M.isInArray(r.overrideMinMaxLimits, [B.options.overrideMinMaxLimits.ceiling, B.options.overrideMinMaxLimits.floor, B.options.overrideMinMaxLimits.ignore, B.options.overrideMinMaxLimits.invalid]) || M.throwError("The override min & max limits option 'overrideMinMaxLimits' is invalid ; it should either be 'ceiling', 'floor', 'ignore' or 'invalid', [".concat(r.overrideMinMaxLimits, "] given.")), r.overrideMinMaxLimits !== B.options.overrideMinMaxLimits.invalid && r.overrideMinMaxLimits !== B.options.overrideMinMaxLimits.ignore && (0 < r.minimumValue || r.maximumValue < 0) && M.warning("You've set a `minimumValue` or a `maximumValue` excluding the value `0`. AutoNumeric will force the users to always have a valid value in the input, hence preventing them to clear the field. If you want to allow for temporary invalid values (ie. out-of-range), you should use the 'invalid' option for the 'overrideMinMaxLimits' setting."), M.isString(r.maximumValue) && c.test(r.maximumValue) || M.throwError("The maximum possible value option 'maximumValue' is invalid ; it should be a string that represents a positive or negative number, [".concat(r.maximumValue, "] given.")), M.isString(r.minimumValue) && c.test(r.minimumValue) || M.throwError("The minimum possible value option 'minimumValue' is invalid ; it should be a string that represents a positive or negative number, [".concat(r.minimumValue, "] given.")), parseFloat(r.minimumValue) > parseFloat(r.maximumValue) && M.throwError("The minimum possible value option is greater than the maximum possible value option ; 'minimumValue' [".concat(r.minimumValue, "] should be smaller than 'maximumValue' [").concat(r.maximumValue, "].")), M.isInt(r.decimalPlaces) && 0 <= r.decimalPlaces || M.isString(r.decimalPlaces) && l.test(r.decimalPlaces) || M.throwError("The number of decimal places option 'decimalPlaces' is invalid ; it should be a positive integer, [".concat(r.decimalPlaces, "] given.")), M.isNull(r.decimalPlacesRawValue) || M.isInt(r.decimalPlacesRawValue) && 0 <= r.decimalPlacesRawValue || M.isString(r.decimalPlacesRawValue) && l.test(r.decimalPlacesRawValue) || M.throwError("The number of decimal places for the raw value option 'decimalPlacesRawValue' is invalid ; it should be a positive integer or `null`, [".concat(r.decimalPlacesRawValue, "] given.")), this._validateDecimalPlacesRawValue(r), M.isNull(r.decimalPlacesShownOnFocus) || l.test(String(r.decimalPlacesShownOnFocus)) || M.throwError("The number of expanded decimal places option 'decimalPlacesShownOnFocus' is invalid ; it should be a positive integer or `null`, [".concat(r.decimalPlacesShownOnFocus, "] given.")), !M.isNull(r.decimalPlacesShownOnFocus) && Number(r.decimalPlaces) > Number(r.decimalPlacesShownOnFocus) && M.warning("The extended decimal places 'decimalPlacesShownOnFocus' [".concat(r.decimalPlacesShownOnFocus, "] should be greater than the 'decimalPlaces' [").concat(r.decimalPlaces, "] value. Currently, this will limit the ability of your user to manually change some of the decimal places. Do you really want to do that?"), r.showWarnings), (M.isNull(r.divisorWhenUnfocused) || h.test(r.divisorWhenUnfocused)) && 0 !== r.divisorWhenUnfocused && "0" !== r.divisorWhenUnfocused && 1 !== r.divisorWhenUnfocused && "1" !== r.divisorWhenUnfocused || M.throwError("The divisor option 'divisorWhenUnfocused' is invalid ; it should be a positive number higher than one, preferably an integer, [".concat(r.divisorWhenUnfocused, "] given.")), M.isNull(r.decimalPlacesShownOnBlur) || l.test(r.decimalPlacesShownOnBlur) || M.throwError("The number of decimals shown when unfocused option 'decimalPlacesShownOnBlur' is invalid ; it should be a positive integer or `null`, [".concat(r.decimalPlacesShownOnBlur, "] given.")), M.isNull(r.symbolWhenUnfocused) || M.isString(r.symbolWhenUnfocused) || M.throwError("The symbol to show when unfocused option 'symbolWhenUnfocused' is invalid ; it should be a string, [".concat(r.symbolWhenUnfocused, "] given.")), M.isTrueOrFalseString(r.saveValueToSessionStorage) || M.isBoolean(r.saveValueToSessionStorage) || M.throwError("The save to session storage option 'saveValueToSessionStorage' is invalid ; it should be either 'true' or 'false', [".concat(r.saveValueToSessionStorage, "] given.")), M.isInArray(r.onInvalidPaste, [B.options.onInvalidPaste.error, B.options.onInvalidPaste.ignore, B.options.onInvalidPaste.clamp, B.options.onInvalidPaste.truncate, B.options.onInvalidPaste.replace]) || M.throwError("The paste behavior option 'onInvalidPaste' is invalid ; it should either be 'error', 'ignore', 'clamp', 'truncate' or 'replace' (cf. documentation), [".concat(r.onInvalidPaste, "] given.")), M.isInArray(r.roundingMethod, [B.options.roundingMethod.halfUpSymmetric, B.options.roundingMethod.halfUpAsymmetric, B.options.roundingMethod.halfDownSymmetric, B.options.roundingMethod.halfDownAsymmetric, B.options.roundingMethod.halfEvenBankersRounding, B.options.roundingMethod.upRoundAwayFromZero, B.options.roundingMethod.downRoundTowardZero, B.options.roundingMethod.toCeilingTowardPositiveInfinity, B.options.roundingMethod.toFloorTowardNegativeInfinity, B.options.roundingMethod.toNearest05, B.options.roundingMethod.toNearest05Alt, B.options.roundingMethod.upToNext05, B.options.roundingMethod.downToNext05]) || M.throwError("The rounding method option 'roundingMethod' is invalid ; it should either be 'S', 'A', 's', 'a', 'B', 'U', 'D', 'C', 'F', 'N05', 'CHF', 'U05' or 'D05' (cf. documentation), [".concat(r.roundingMethod, "] given.")), M.isNull(r.negativeBracketsTypeOnBlur) || M.isInArray(r.negativeBracketsTypeOnBlur, [B.options.negativeBracketsTypeOnBlur.parentheses, B.options.negativeBracketsTypeOnBlur.brackets, B.options.negativeBracketsTypeOnBlur.chevrons, B.options.negativeBracketsTypeOnBlur.curlyBraces, B.options.negativeBracketsTypeOnBlur.angleBrackets, B.options.negativeBracketsTypeOnBlur.japaneseQuotationMarks, B.options.negativeBracketsTypeOnBlur.halfBrackets, B.options.negativeBracketsTypeOnBlur.whiteSquareBrackets, B.options.negativeBracketsTypeOnBlur.quotationMarks, B.options.negativeBracketsTypeOnBlur.guillemets]) || M.throwError("The brackets for negative values option 'negativeBracketsTypeOnBlur' is invalid ; it should either be '(,)', '[,]', '<,>', '{,}', '〈,〉', '「,」', '⸤,⸥', '⟦,⟧', '‹,›' or '«,»', [".concat(r.negativeBracketsTypeOnBlur, "] given.")), (M.isString(r.emptyInputBehavior) || M.isNumber(r.emptyInputBehavior)) && (M.isInArray(r.emptyInputBehavior, [B.options.emptyInputBehavior.focus, B.options.emptyInputBehavior.press, B.options.emptyInputBehavior.always, B.options.emptyInputBehavior.min, B.options.emptyInputBehavior.max, B.options.emptyInputBehavior.zero, B.options.emptyInputBehavior.null]) || c.test(r.emptyInputBehavior)) || M.throwError("The display on empty string option 'emptyInputBehavior' is invalid ; it should either be 'focus', 'press', 'always', 'min', 'max', 'zero', 'null', a number, or a string that represents a number, [".concat(r.emptyInputBehavior, "] given.")), r.emptyInputBehavior === B.options.emptyInputBehavior.zero && (0 < r.minimumValue || r.maximumValue < 0) && M.throwError("The 'emptyInputBehavior' option is set to 'zero', but this value is outside of the range defined by 'minimumValue' and 'maximumValue' [".concat(r.minimumValue, ", ").concat(r.maximumValue, "].")), c.test(String(r.emptyInputBehavior)) && (this._isWithinRangeWithOverrideOption(r.emptyInputBehavior, r) || M.throwError("The 'emptyInputBehavior' option is set to a number or a string that represents a number, but its value [".concat(r.emptyInputBehavior, "] is outside of the range defined by the 'minimumValue' and 'maximumValue' options [").concat(r.minimumValue, ", ").concat(r.maximumValue, "]."))), M.isTrueOrFalseString(r.eventBubbles) || M.isBoolean(r.eventBubbles) || M.throwError("The event bubbles option 'eventBubbles' is invalid ; it should be either 'true' or 'false', [".concat(r.eventBubbles, "] given.")), M.isTrueOrFalseString(r.eventIsCancelable) || M.isBoolean(r.eventIsCancelable) || M.throwError("The event is cancelable option 'eventIsCancelable' is invalid ; it should be either 'true' or 'false', [".concat(r.eventIsCancelable, "] given.")), !M.isBoolean(r.invalidClass) && /^-?[_a-zA-Z]+[_a-zA-Z0-9-]*$/.test(r.invalidClass) || M.throwError("The name of the 'invalidClass' option is not a valid CSS class name ; it should not be empty, and should follow the '^-?[_a-zA-Z]+[_a-zA-Z0-9-]*$' regex, [".concat(r.invalidClass, "] given.")), M.isInArray(r.leadingZero, [B.options.leadingZero.allow, B.options.leadingZero.deny, B.options.leadingZero.keep]) || M.throwError("The leading zero behavior option 'leadingZero' is invalid ; it should either be 'allow', 'deny' or 'keep', [".concat(r.leadingZero, "] given.")), M.isTrueOrFalseString(r.formatOnPageLoad) || M.isBoolean(r.formatOnPageLoad) || M.throwError("The format on initialization option 'formatOnPageLoad' is invalid ; it should be either 'true' or 'false', [".concat(r.formatOnPageLoad, "] given.")), M.isTrueOrFalseString(r.formulaMode) || M.isBoolean(r.formulaMode) || M.throwError("The formula mode option 'formulaMode' is invalid ; it should be either 'true' or 'false', [".concat(r.formulaMode, "] given.")), l.test(r.historySize) && 0 !== r.historySize || M.throwError("The history size option 'historySize' is invalid ; it should be a positive integer, [".concat(r.historySize, "] given.")), M.isTrueOrFalseString(r.selectNumberOnly) || M.isBoolean(r.selectNumberOnly) || M.throwError("The select number only option 'selectNumberOnly' is invalid ; it should be either 'true' or 'false', [".concat(r.selectNumberOnly, "] given.")), M.isTrueOrFalseString(r.selectOnFocus) || M.isBoolean(r.selectOnFocus) || M.throwError("The select on focus option 'selectOnFocus' is invalid ; it should be either 'true' or 'false', [".concat(r.selectOnFocus, "] given.")), M.isNull(r.defaultValueOverride) || "" === r.defaultValueOverride || c.test(r.defaultValueOverride) || M.throwError("The unformatted default value option 'defaultValueOverride' is invalid ; it should be a string that represents a positive or negative number, [".concat(r.defaultValueOverride, "] given.")), M.isTrueOrFalseString(r.unformatOnSubmit) || M.isBoolean(r.unformatOnSubmit) || M.throwError("The remove formatting on submit option 'unformatOnSubmit' is invalid ; it should be either 'true' or 'false', [".concat(r.unformatOnSubmit, "] given.")), M.isNull(r.valuesToStrings) || M.isObject(r.valuesToStrings) || M.throwError("The option 'valuesToStrings' is invalid ; it should be an object, ideally with 'key -> value' entries, [".concat(r.valuesToStrings, "] given.")), M.isNull(r.outputFormat) || M.isInArray(r.outputFormat, [B.options.outputFormat.string, B.options.outputFormat.number, B.options.outputFormat.dot, B.options.outputFormat.negativeDot, B.options.outputFormat.comma, B.options.outputFormat.negativeComma, B.options.outputFormat.dotNegative, B.options.outputFormat.commaNegative]) || M.throwError("The custom locale format option 'outputFormat' is invalid ; it should either be null, 'string', 'number', '.', '-.', ',', '-,', '.-' or ',-', [".concat(r.outputFormat, "] given.")), M.isTrueOrFalseString(r.isCancellable) || M.isBoolean(r.isCancellable) || M.throwError("The cancellable behavior option 'isCancellable' is invalid ; it should be either 'true' or 'false', [".concat(r.isCancellable, "] given.")), M.isTrueOrFalseString(r.modifyValueOnWheel) || M.isBoolean(r.modifyValueOnWheel) || M.throwError("The increment/decrement on mouse wheel option 'modifyValueOnWheel' is invalid ; it should be either 'true' or 'false', [".concat(r.modifyValueOnWheel, "] given.")), M.isTrueOrFalseString(r.watchExternalChanges) || M.isBoolean(r.watchExternalChanges) || M.throwError("The option 'watchExternalChanges' is invalid ; it should be either 'true' or 'false', [".concat(r.watchExternalChanges, "] given.")), M.isInArray(r.wheelOn, [B.options.wheelOn.focus, B.options.wheelOn.hover]) || M.throwError("The wheel behavior option 'wheelOn' is invalid ; it should either be 'focus' or 'hover', [".concat(r.wheelOn, "] given.")), (M.isString(r.wheelStep) || M.isNumber(r.wheelStep)) && ("progressive" === r.wheelStep || h.test(r.wheelStep)) && 0 !== Number(r.wheelStep) || M.throwError("The wheel step value option 'wheelStep' is invalid ; it should either be the string 'progressive', or a number or a string that represents a positive number (excluding zero), [".concat(r.wheelStep, "] given.")), M.isInArray(r.serializeSpaces, [B.options.serializeSpaces.plus, B.options.serializeSpaces.percent]) || M.throwError("The space replacement character option 'serializeSpaces' is invalid ; it should either be '+' or '%20', [".concat(r.serializeSpaces, "] given.")), M.isTrueOrFalseString(r.noEventListeners) || M.isBoolean(r.noEventListeners) || M.throwError("The option 'noEventListeners' that prevent the creation of event listeners is invalid ; it should be either 'true' or 'false', [".concat(r.noEventListeners, "] given.")), M.isNull(r.styleRules) || M.isObject(r.styleRules) && (Object.prototype.hasOwnProperty.call(r.styleRules, "positive") || Object.prototype.hasOwnProperty.call(r.styleRules, "negative") || Object.prototype.hasOwnProperty.call(r.styleRules, "ranges") || Object.prototype.hasOwnProperty.call(r.styleRules, "userDefined")) || M.throwError("The option 'styleRules' is invalid ; it should be a correctly structured object, with one or more 'positive', 'negative', 'ranges' or 'userDefined' attributes, [".concat(r.styleRules, "] given.")), M.isNull(r.styleRules) || !Object.prototype.hasOwnProperty.call(r.styleRules, "userDefined") || M.isNull(r.styleRules.userDefined) || r.styleRules.userDefined.forEach(function (e) { Object.prototype.hasOwnProperty.call(e, "callback") && !M.isFunction(e.callback) && M.throwError("The callback defined in the `userDefined` attribute is not a function, ".concat(w(e.callback), " given.")) }), (M.isNull(r.rawValueDivisor) || h.test(r.rawValueDivisor)) && 0 !== r.rawValueDivisor && "0" !== r.rawValueDivisor && 1 !== r.rawValueDivisor && "1" !== r.rawValueDivisor || M.throwError("The raw value divisor option 'rawValueDivisor' is invalid ; it should be a positive number higher than one, preferably an integer, [".concat(r.rawValueDivisor, "] given.")), M.isTrueOrFalseString(r.readOnly) || M.isBoolean(r.readOnly) || M.throwError("The option 'readOnly' is invalid ; it should be either 'true' or 'false', [".concat(r.readOnly, "] given.")), M.isTrueOrFalseString(r.unformatOnHover) || M.isBoolean(r.unformatOnHover) || M.throwError("The option 'unformatOnHover' is invalid ; it should be either 'true' or 'false', [".concat(r.unformatOnHover, "] given.")), M.isTrueOrFalseString(r.failOnUnknownOption) || M.isBoolean(r.failOnUnknownOption) || M.throwError("The debug option 'failOnUnknownOption' is invalid ; it should be either 'true' or 'false', [".concat(r.failOnUnknownOption, "] given.")), M.isTrueOrFalseString(r.createLocalList) || M.isBoolean(r.createLocalList) || M.throwError("The debug option 'createLocalList' is invalid ; it should be either 'true' or 'false', [".concat(r.createLocalList, "] given.")) } }, { key: "_validateDecimalPlacesRawValue", value: function (e) { M.isNull(e.decimalPlacesRawValue) || (e.decimalPlacesRawValue < e.decimalPlaces && M.warning("The number of decimal places to store in the raw value [".concat(e.decimalPlacesRawValue, "] is lower than the ones to display [").concat(e.decimalPlaces, "]. This will likely confuse your users.\nTo solve that, you'd need to either set `decimalPlacesRawValue` to `null`, or set a number of decimal places for the raw value equal of bigger than `decimalPlaces`."), e.showWarnings), e.decimalPlacesRawValue < e.decimalPlacesShownOnFocus && M.warning("The number of decimal places to store in the raw value [".concat(e.decimalPlacesRawValue, "] is lower than the ones shown on focus [").concat(e.decimalPlacesShownOnFocus, "]. This will likely confuse your users.\nTo solve that, you'd need to either set `decimalPlacesRawValue` to `null`, or set a number of decimal places for the raw value equal of bigger than `decimalPlacesShownOnFocus`."), e.showWarnings), e.decimalPlacesRawValue < e.decimalPlacesShownOnBlur && M.warning("The number of decimal places to store in the raw value [".concat(e.decimalPlacesRawValue, "] is lower than the ones shown when unfocused [").concat(e.decimalPlacesShownOnBlur, "]. This will likely confuse your users.\nTo solve that, you'd need to either set `decimalPlacesRawValue` to `null`, or set a number of decimal places for the raw value equal of bigger than `decimalPlacesShownOnBlur`."), e.showWarnings)) } }, { key: "areSettingsValid", value: function (e) { var t = !0; try { this.validate(e, !0) } catch (e) { t = !1 } return t } }, { key: "getDefaultConfig", value: function () { return B.defaultSettings } }, { key: "getPredefinedOptions", value: function () { return B.predefinedOptions } }, { key: "_generateOptionsObjectFromOptionsArray", value: function (e) { var t, i = this; return M.isUndefinedOrNullOrEmpty(e) || 0 === e.length ? t = null : (t = {}, 1 === e.length && Array.isArray(e[0]) ? e[0].forEach(function (e) { b(t, i._getOptionObject(e)) }) : 1 <= e.length && e.forEach(function (e) { b(t, i._getOptionObject(e)) })), t } }, { key: "format", value: function (e) { if (M.isUndefined(e) || null === e) return null; var t; t = M.isElement(e) ? M.getElementValue(e) : e, M.isString(t) || M.isNumber(t) || M.throwError('The value "'.concat(t, '" being "set" is not numeric and therefore cannot be used appropriately.')); for (var i = arguments.length, n = new Array(1 < i ? i - 1 : 0), a = 1; a < i; a++)n[a - 1] = arguments[a]; var r = this._generateOptionsObjectFromOptionsArray(n), s = b({}, this.getDefaultConfig(), r); s.isNegativeSignAllowed = t < 0, s.isPositiveSignAllowed = 0 <= t, this._setBrackets(s), this._cachesUsualRegularExpressions(s, {}); var o = this._toNumericValue(t, s); return isNaN(Number(o)) && M.throwError("The value [".concat(o, "] that you are trying to format is not a recognized number.")), this._isWithinRangeWithOverrideOption(o, s) || (M.triggerEvent(B.events.formatted, document, { oldValue: null, newValue: null, oldRawValue: null, newRawValue: null, isPristine: null, error: "Range test failed", aNElement: null }, !0, !0), M.throwError("The value [".concat(o, "] being set falls outside of the minimumValue [").concat(s.minimumValue, "] and maximumValue [").concat(s.maximumValue, "] range set for this element"))), s.valuesToStrings && this._checkValuesToStringsSettings(t, s) ? s.valuesToStrings[t] : (this._correctNegativePositiveSignPlacementOption(s), this._calculateDecimalPlacesOnInit(s), M.isUndefinedOrNullOrEmpty(s.rawValueDivisor) || 0 === s.rawValueDivisor || "" === o || null === o || (o *= s.rawValueDivisor), o = this._roundFormattedValueShownOnFocus(o, s), o = this._modifyNegativeSignAndDecimalCharacterForFormattedValue(o, s), o = this._addGroupSeparators(o, s, !1, o)) } }, { key: "formatAndSet", value: function (e, t) { var i = 1 < arguments.length && void 0 !== t ? t : null, n = this.format(e, i); return M.setElementValue(e, n), n } }, { key: "unformat", value: function (e) { if (M.isNumberStrict(e)) return e; var t; if ("" === (t = M.isElement(e) ? M.getElementValue(e) : e)) return ""; if (M.isUndefined(t) || null === t) return null; (M.isArray(t) || M.isObject(t)) && M.throwError("A number or a string representing a number is needed to be able to unformat it, [".concat(t, "] given.")); for (var i = arguments.length, n = new Array(1 < i ? i - 1 : 0), a = 1; a < i; a++)n[a - 1] = arguments[a]; var r = this._generateOptionsObjectFromOptionsArray(n), s = b({}, this.getDefaultConfig(), r); if (s.isNegativeSignAllowed = !1, s.isPositiveSignAllowed = !0, t = t.toString(), s.valuesToStrings && this._checkStringsToValuesSettings(t, s)) return M.objectKeyLookup(s.valuesToStrings, t); if (M.isNegative(t, s.negativeSignCharacter)) s.isNegativeSignAllowed = !0, s.isPositiveSignAllowed = !1; else if (!M.isNull(s.negativeBracketsTypeOnBlur)) { var o = S(s.negativeBracketsTypeOnBlur.split(","), 2); s.firstBracket = o[0], s.lastBracket = o[1], t.charAt(0) === s.firstBracket && t.charAt(t.length - 1) === s.lastBracket && (s.isNegativeSignAllowed = !0, s.isPositiveSignAllowed = !1, t = this._removeBrackets(t, s, !1)) } return t = this._convertToNumericString(t, s), new RegExp("[^+-0123456789.]", "gi").test(t) ? NaN : (this._correctNegativePositiveSignPlacementOption(s), s.decimalPlacesRawValue ? s.originalDecimalPlacesRawValue = s.decimalPlacesRawValue : s.originalDecimalPlacesRawValue = s.decimalPlaces, this._calculateDecimalPlacesOnInit(s), M.isUndefinedOrNullOrEmpty(s.rawValueDivisor) || 0 === s.rawValueDivisor || "" === t || null === t || (t /= s.rawValueDivisor), t = (t = this._roundRawValue(t, s)).replace(s.decimalCharacter, "."), t = this._toLocale(t, s.outputFormat, s)) } }, { key: "unformatAndSet", value: function (e, t) { var i = 1 < arguments.length && void 0 !== t ? t : null, n = this.unformat(e, i); return M.setElementValue(e, n), n } }, { key: "localize", value: function (e, t) { var i, n, a = 1 < arguments.length && void 0 !== t ? t : null; return "" === (i = M.isElement(e) ? M.getElementValue(e) : e) ? "" : (M.isNull(a) && (a = B.defaultSettings), i = this.unformat(i, a), 0 === Number(i) && a.leadingZero !== B.options.leadingZero.keep && (i = "0"), n = M.isNull(a) ? a.outputFormat : B.defaultSettings.outputFormat, this._toLocale(i, n, a)) } }, { key: "localizeAndSet", value: function (e, t) { var i = 1 < arguments.length && void 0 !== t ? t : null, n = this.localize(e, i); return M.setElementValue(e, n), n } }, { key: "isManagedByAutoNumeric", value: function (e) { return this._isInGlobalList(M.domElement(e)) } }, { key: "getAutoNumericElement", value: function (e) { var t = M.domElement(e); return this.isManagedByAutoNumeric(t) ? this._getFromGlobalList(t) : null } }, { key: "set", value: function (e, t, i, n) { var a, r = 2 < arguments.length && void 0 !== i ? i : null, s = !(3 < arguments.length && void 0 !== n) || n, o = M.domElement(e); return this.isManagedByAutoNumeric(o) ? this.getAutoNumericElement(o).set(t, r, s) : (a = !(!M.isNull(r) && Object.prototype.hasOwnProperty.call(r, "showWarnings")) || r.showWarnings, M.warning("Impossible to find an AutoNumeric object for the given DOM element or selector.", a), null) } }, { key: "getNumericString", value: function (e, t) { var i = 1 < arguments.length && void 0 !== t ? t : null; return this._get(e, "getNumericString", i) } }, { key: "getFormatted", value: function (e, t) { var i = 1 < arguments.length && void 0 !== t ? t : null; return this._get(e, "getFormatted", i) } }, { key: "getNumber", value: function (e, t) { var i = 1 < arguments.length && void 0 !== t ? t : null; return this._get(e, "getNumber", i) } }, { key: "_get", value: function (e, t, i) { var n = 2 < arguments.length && void 0 !== i ? i : null, a = M.domElement(e); return this.isManagedByAutoNumeric(a) || M.throwError("Impossible to find an AutoNumeric object for the given DOM element or selector."), this.getAutoNumericElement(a)[t](n) } }, { key: "getLocalized", value: function (e, t, i) { var n = 1 < arguments.length && void 0 !== t ? t : null, a = 2 < arguments.length && void 0 !== i ? i : null, r = M.domElement(e); return this.isManagedByAutoNumeric(r) || M.throwError("Impossible to find an AutoNumeric object for the given DOM element or selector."), this.getAutoNumericElement(r).getLocalized(n, a) } }, { key: "_stripAllNonNumberCharacters", value: function (e, t, i, n) { return this._stripAllNonNumberCharactersExceptCustomDecimalChar(e, t, i, n).replace(t.decimalCharacter, ".") } }, { key: "_stripAllNonNumberCharactersExceptCustomDecimalChar", value: function (e, t, i, n) { var a = (e = (e = this._normalizeCurrencySuffixAndNegativeSignCharacters(e, t)).replace(t.allowedAutoStrip, "")).match(t.numRegAutoStrip); if (e = a ? [a[1], a[2], a[3]].join("") : "", t.leadingZero === B.options.leadingZero.allow || t.leadingZero === B.options.leadingZero.keep) { var r = "", s = S(e.split(t.decimalCharacter), 2), o = s[0], l = s[1], u = o; M.contains(u, t.negativeSignCharacter) && (r = t.negativeSignCharacter, u = u.replace(t.negativeSignCharacter, "")), "" === r && u.length > t.mIntPos && "0" === u.charAt(0) && (u = u.slice(1)), "" !== r && u.length > t.mIntNeg && "0" === u.charAt(0) && (u = u.slice(1)), e = "".concat(r).concat(u).concat(M.isUndefined(l) ? "" : t.decimalCharacter + l) } return (i && t.leadingZero === B.options.leadingZero.deny || !n && t.leadingZero === B.options.leadingZero.allow) && (e = e.replace(t.stripReg, "$1$2")), e } }, { key: "_toggleNegativeBracket", value: function (e, t, i) { return i ? this._removeBrackets(e, t) : this._addBrackets(e, t) } }, { key: "_addBrackets", value: function (e, t) { return M.isNull(t.negativeBracketsTypeOnBlur) ? e : "".concat(t.firstBracket).concat(e.replace(t.negativeSignCharacter, "")).concat(t.lastBracket) } }, { key: "_removeBrackets", value: function (e, t, i) { var n, a = !(2 < arguments.length && void 0 !== i) || i; return M.isNull(t.negativeBracketsTypeOnBlur) || e.charAt(0) !== t.firstBracket ? e : (n = (n = e.replace(t.firstBracket, "")).replace(t.lastBracket, ""), a ? (n = n.replace(t.currencySymbol, ""), this._mergeCurrencySignNegativePositiveSignAndValue(n, t, !0, !1)) : "".concat(t.negativeSignCharacter).concat(n)) } }, { key: "_setBrackets", value: function (e) { if (M.isNull(e.negativeBracketsTypeOnBlur)) e.firstBracket = "", e.lastBracket = ""; else { var t = S(e.negativeBracketsTypeOnBlur.split(","), 2), i = t[0], n = t[1]; e.firstBracket = i, e.lastBracket = n } } }, { key: "_convertToNumericString", value: function (e, t) { e = this._removeBrackets(e, t, !1), e = (e = this._normalizeCurrencySuffixAndNegativeSignCharacters(e, t)).replace(new RegExp("[".concat(t.digitGroupSeparator, "]"), "g"), ""), "." !== t.decimalCharacter && (e = e.replace(t.decimalCharacter, ".")), M.isNegative(e) && e.lastIndexOf("-") === e.length - 1 && (e = e.replace("-", ""), e = "-".concat(e)), t.showPositiveSign && (e = e.replace(t.positiveSignCharacter, "")); var i = t.leadingZero !== B.options.leadingZero.keep, n = M.arabicToLatinNumbers(e, i, !1, !1); return isNaN(n) || (e = n.toString()), e } }, { key: "_normalizeCurrencySuffixAndNegativeSignCharacters", value: function (e, t) { return e = String(e), t.currencySymbol !== B.options.currencySymbol.none && (e = e.replace(t.currencySymbol, "")), t.suffixText !== B.options.suffixText.none && (e = e.replace(t.suffixText, "")), t.negativeSignCharacter !== B.options.negativeSignCharacter.hyphen && (e = e.replace(t.negativeSignCharacter, "-")), e } }, { key: "_toLocale", value: function (e, t, i) { if (M.isNull(t) || t === B.options.outputFormat.string) return e; var n; switch (t) { case B.options.outputFormat.number: n = Number(e); break; case B.options.outputFormat.dotNegative: n = M.isNegative(e) ? e.replace("-", "") + "-" : e; break; case B.options.outputFormat.comma: case B.options.outputFormat.negativeComma: n = e.replace(".", ","); break; case B.options.outputFormat.commaNegative: n = e.replace(".", ","), n = M.isNegative(n) ? n.replace("-", "") + "-" : n; break; case B.options.outputFormat.dot: case B.options.outputFormat.negativeDot: n = e; break; default: M.throwError("The given outputFormat [".concat(t, "] option is not recognized.")) }return t !== B.options.outputFormat.number && "-" !== i.negativeSignCharacter && (n = n.replace("-", i.negativeSignCharacter)), n } }, { key: "_modifyNegativeSignAndDecimalCharacterForFormattedValue", value: function (e, t) { return "-" !== t.negativeSignCharacter && (e = e.replace("-", t.negativeSignCharacter)), "." !== t.decimalCharacter && (e = e.replace(".", t.decimalCharacter)), e } }, { key: "_isElementValueEmptyOrOnlyTheNegativeSign", value: function (e, t) { return "" === e || e === t.negativeSignCharacter } }, { key: "_orderValueCurrencySymbolAndSuffixText", value: function (e, t, i) { var n; if (t.emptyInputBehavior === B.options.emptyInputBehavior.always || i) switch (t.negativePositiveSignPlacement) { case B.options.negativePositiveSignPlacement.left: case B.options.negativePositiveSignPlacement.prefix: case B.options.negativePositiveSignPlacement.none: n = e + t.currencySymbol + t.suffixText; break; default: n = t.currencySymbol + e + t.suffixText } else n = e; return n } }, { key: "_addGroupSeparators", value: function (e, t, i, n, a) { var r, s = 4 < arguments.length && void 0 !== a ? a : null; if (r = M.isNull(s) ? M.isNegative(e, t.negativeSignCharacter) || M.isNegativeWithBrackets(e, t.firstBracket, t.lastBracket) : s < 0, e = this._stripAllNonNumberCharactersExceptCustomDecimalChar(e, t, !1, i), this._isElementValueEmptyOrOnlyTheNegativeSign(e, t)) return this._orderValueCurrencySymbolAndSuffixText(e, t, !0); var o, l = M.isZeroOrHasNoValue(e); switch (r && (e = e.replace("-", "")), t.digitalGroupSpacing = t.digitalGroupSpacing.toString(), t.digitalGroupSpacing) { case B.options.digitalGroupSpacing.two: o = /(\d)((\d)(\d{2}?)+)$/; break; case B.options.digitalGroupSpacing.twoScaled: o = /(\d)((?:\d{2}){0,2}\d{3}(?:(?:\d{2}){2}\d{3})*?)$/; break; case B.options.digitalGroupSpacing.four: o = /(\d)((\d{4}?)+)$/; break; case B.options.digitalGroupSpacing.three: default: o = /(\d)((\d{3}?)+)$/ }var u, c = S(e.split(t.decimalCharacter), 2), h = c[0], m = c[1]; if (t.decimalCharacterAlternative && M.isUndefined(m)) { var d = S(e.split(t.decimalCharacterAlternative), 2); h = d[0], m = d[1] } if ("" !== t.digitGroupSeparator) for (; o.test(h);)h = h.replace(o, "$1".concat(t.digitGroupSeparator, "$2")); return e = 0 === (u = i ? t.decimalPlacesShownOnFocus : t.decimalPlacesShownOnBlur) || M.isUndefined(m) ? h : (m.length > u && (m = m.substring(0, u)), "".concat(h).concat(t.decimalCharacter).concat(m)), e = B._mergeCurrencySignNegativePositiveSignAndValue(e, t, r, l), M.isNull(s) && (s = n), null !== t.negativeBracketsTypeOnBlur && (s < 0 || M.isNegativeStrict(e, t.negativeSignCharacter)) && (e = this._toggleNegativeBracket(e, t, i)), t.suffixText ? "".concat(e).concat(t.suffixText) : e } }, { key: "_mergeCurrencySignNegativePositiveSignAndValue", value: function (e, t, i, n) { var a, r = ""; if (i ? r = t.negativeSignCharacter : t.showPositiveSign && !n && (r = t.positiveSignCharacter), t.currencySymbolPlacement === B.options.currencySymbolPlacement.prefix) if (t.negativePositiveSignPlacement !== B.options.negativePositiveSignPlacement.none && (i || !i && t.showPositiveSign && !n)) switch (t.negativePositiveSignPlacement) { case B.options.negativePositiveSignPlacement.prefix: case B.options.negativePositiveSignPlacement.left: a = "".concat(r).concat(t.currencySymbol).concat(e); break; case B.options.negativePositiveSignPlacement.right: a = "".concat(t.currencySymbol).concat(r).concat(e); break; case B.options.negativePositiveSignPlacement.suffix: a = "".concat(t.currencySymbol).concat(e).concat(r) } else a = t.currencySymbol + e; else if (t.currencySymbolPlacement === B.options.currencySymbolPlacement.suffix) if (t.negativePositiveSignPlacement !== B.options.negativePositiveSignPlacement.none && (i || !i && t.showPositiveSign && !n)) switch (t.negativePositiveSignPlacement) { case B.options.negativePositiveSignPlacement.suffix: case B.options.negativePositiveSignPlacement.right: a = "".concat(e).concat(t.currencySymbol).concat(r); break; case B.options.negativePositiveSignPlacement.left: a = "".concat(e).concat(r).concat(t.currencySymbol); break; case B.options.negativePositiveSignPlacement.prefix: a = "".concat(r).concat(e).concat(t.currencySymbol) } else a = e + t.currencySymbol; return a } }, { key: "_truncateZeros", value: function (e, t) { var i; switch (t) { case 0: i = /(\.(?:\d*[1-9])?)0*$/; break; case 1: i = /(\.\d(?:\d*[1-9])?)0*$/; break; default: i = new RegExp("(\\.\\d{".concat(t, "}(?:\\d*[1-9])?)0*")) }return e = e.replace(i, "$1"), 0 === t && (e = e.replace(/\.$/, "")), e } }, { key: "_roundRawValue", value: function (e, t) { return this._roundValue(e, t, t.decimalPlacesRawValue) } }, { key: "_roundFormattedValueShownOnFocus", value: function (e, t) { return this._roundValue(e, t, Number(t.decimalPlacesShownOnFocus)) } }, { key: "_roundFormattedValueShownOnBlur", value: function (e, t) { return this._roundValue(e, t, Number(t.decimalPlacesShownOnBlur)) } }, { key: "_roundFormattedValueShownOnFocusOrBlur", value: function (e, t, i) { return i ? this._roundFormattedValueShownOnFocus(e, t) : this._roundFormattedValueShownOnBlur(e, t) } }, { key: "_roundValue", value: function (e, t, i) { if (M.isNull(e)) return e; if (e = "" === e ? "0" : e.toString(), t.roundingMethod === B.options.roundingMethod.toNearest05 || t.roundingMethod === B.options.roundingMethod.toNearest05Alt || t.roundingMethod === B.options.roundingMethod.upToNext05 || t.roundingMethod === B.options.roundingMethod.downToNext05) return this._roundCloseTo05(e, t); var n, a = S(B._prepareValueForRounding(e, t), 2), r = a[0], s = (e = a[1]).lastIndexOf("."), o = -1 === s, l = S(e.split("."), 2), u = l[0]; if (!(0 < l[1] || t.allowDecimalPadding !== B.options.allowDecimalPadding.never && t.allowDecimalPadding !== B.options.allowDecimalPadding.floats)) return 0 === Number(e) ? u : "".concat(r).concat(u); n = t.allowDecimalPadding === B.options.allowDecimalPadding.always || t.allowDecimalPadding === B.options.allowDecimalPadding.floats ? i : 0; var c, h = o ? e.length - 1 : s, m = e.length - 1 - h, d = ""; if (m <= i) { if (d = e, m < n) { o && (d = "".concat(d).concat(t.decimalCharacter)); for (var g = "000000"; m < n;)d += g = g.substring(0, n - m), m += g.length } else n < m ? d = this._truncateZeros(d, n) : 0 === m && 0 === n && (d = d.replace(/\.$/, "")); return 0 === Number(d) ? d : "".concat(r).concat(d) } c = o ? i - 1 : Number(i) + Number(s); var v, p = Number(e.charAt(c + 1)), f = e.substring(0, c + 1).split(""); if (v = "." === e.charAt(c) ? e.charAt(c - 1) % 2 : e.charAt(c) % 2, this._shouldRoundUp(p, t, r, v)) for (var y = f.length - 1; 0 <= y; --y)if ("." !== f[y]) { if (f[y] = +f[y] + 1, f[y] < 10) break; 0 < y && (f[y] = "0") } return f = f.slice(0, c + 1), d = this._truncateZeros(f.join(""), n), 0 === Number(d) ? d : "".concat(r).concat(d) } }, { key: "_roundCloseTo05", value: function (e, t) { switch (t.roundingMethod) { case B.options.roundingMethod.toNearest05: case B.options.roundingMethod.toNearest05Alt: e = (Math.round(20 * e) / 20).toString(); break; case B.options.roundingMethod.upToNext05: e = (Math.ceil(20 * e) / 20).toString(); break; default: e = (Math.floor(20 * e) / 20).toString() }return M.contains(e, ".") ? e.length - e.indexOf(".") < 3 ? e + "0" : e : e + ".00" } }, { key: "_prepareValueForRounding", value: function (e, t) { var i = ""; return M.isNegativeStrict(e, "-") && (i = "-", e = e.replace("-", "")), e.match(/^\d/) || (e = "0".concat(e)), 0 === Number(e) && (i = ""), (0 < Number(e) && t.leadingZero !== B.options.leadingZero.keep || 0 < e.length && t.leadingZero === B.options.leadingZero.allow) && (e = e.replace(/^0*(\d)/, "$1")), [i, e] } }, { key: "_shouldRoundUp", value: function (e, t, i, n) { return 4 < e && t.roundingMethod === B.options.roundingMethod.halfUpSymmetric || 4 < e && t.roundingMethod === B.options.roundingMethod.halfUpAsymmetric && "" === i || 5 < e && t.roundingMethod === B.options.roundingMethod.halfUpAsymmetric && "-" === i || 5 < e && t.roundingMethod === B.options.roundingMethod.halfDownSymmetric || 5 < e && t.roundingMethod === B.options.roundingMethod.halfDownAsymmetric && "" === i || 4 < e && t.roundingMethod === B.options.roundingMethod.halfDownAsymmetric && "-" === i || 5 < e && t.roundingMethod === B.options.roundingMethod.halfEvenBankersRounding || 5 === e && t.roundingMethod === B.options.roundingMethod.halfEvenBankersRounding && 1 === n || 0 < e && t.roundingMethod === B.options.roundingMethod.toCeilingTowardPositiveInfinity && "" === i || 0 < e && t.roundingMethod === B.options.roundingMethod.toFloorTowardNegativeInfinity && "-" === i || 0 < e && t.roundingMethod === B.options.roundingMethod.upRoundAwayFromZero } }, { key: "_truncateDecimalPlaces", value: function (e, t, i, n) { i && (e = this._roundFormattedValueShownOnFocus(e, t)); var a = S(e.split(t.decimalCharacter), 2), r = a[0], s = a[1]; if (s && s.length > n) if (0 < n) { var o = s.substring(0, n); e = "".concat(r).concat(t.decimalCharacter).concat(o) } else e = r; return e } }, { key: "_checkIfInRangeWithOverrideOption", value: function (e, t) { if (M.isNull(e) && t.emptyInputBehavior === B.options.emptyInputBehavior.null || t.overrideMinMaxLimits === B.options.overrideMinMaxLimits.ignore || t.overrideMinMaxLimits === B.options.overrideMinMaxLimits.invalid) return [!0, !0]; e = (e = e.toString()).replace(",", "."); var i, n = M.parseStr(t.minimumValue), a = M.parseStr(t.maximumValue), r = M.parseStr(e); switch (t.overrideMinMaxLimits) { case B.options.overrideMinMaxLimits.floor: i = [-1 < M.testMinMax(n, r), !0]; break; case B.options.overrideMinMaxLimits.ceiling: i = [!0, M.testMinMax(a, r) < 1]; break; default: i = [-1 < M.testMinMax(n, r), M.testMinMax(a, r) < 1] }return i } }, { key: "_isWithinRangeWithOverrideOption", value: function (e, t) { var i = S(this._checkIfInRangeWithOverrideOption(e, t), 2), n = i[0], a = i[1]; return n && a } }, { key: "_cleanValueForRangeParse", value: function (e) { return e = e.toString().replace(",", "."), M.parseStr(e) } }, { key: "_isMinimumRangeRespected", value: function (e, t) { return -1 < M.testMinMax(M.parseStr(t.minimumValue), this._cleanValueForRangeParse(e)) } }, { key: "_isMaximumRangeRespected", value: function (e, t) { return M.testMinMax(M.parseStr(t.maximumValue), this._cleanValueForRangeParse(e)) < 1 } }, { key: "_readCookie", value: function (e) { for (var t = e + "=", i = document.cookie.split(";"), n = "", a = 0; a < i.length; a += 1) { for (n = i[a]; " " === n.charAt(0);)n = n.substring(1, n.length); if (0 === n.indexOf(t)) return n.substring(t.length, n.length) } return null } }, { key: "_storageTest", value: function () { var e = "modernizr"; try { return sessionStorage.setItem(e, e), sessionStorage.removeItem(e), !0 } catch (e) { return !1 } } }, { key: "_correctNegativePositiveSignPlacementOption", value: function (e) { if (M.isNull(e.negativePositiveSignPlacement)) if (M.isUndefined(e) || !M.isUndefinedOrNullOrEmpty(e.negativePositiveSignPlacement) || M.isUndefinedOrNullOrEmpty(e.currencySymbol)) e.negativePositiveSignPlacement = B.options.negativePositiveSignPlacement.left; else switch (e.currencySymbolPlacement) { case B.options.currencySymbolPlacement.suffix: e.negativePositiveSignPlacement = B.options.negativePositiveSignPlacement.prefix; break; case B.options.currencySymbolPlacement.prefix: e.negativePositiveSignPlacement = B.options.negativePositiveSignPlacement.left } } }, { key: "_correctCaretPositionOnFocusAndSelectOnFocusOptions", value: function (e) { return M.isNull(e) ? null : (!M.isUndefinedOrNullOrEmpty(e.caretPositionOnFocus) && M.isUndefinedOrNullOrEmpty(e.selectOnFocus) && (e.selectOnFocus = B.options.selectOnFocus.doNotSelect), M.isUndefinedOrNullOrEmpty(e.caretPositionOnFocus) && !M.isUndefinedOrNullOrEmpty(e.selectOnFocus) && e.selectOnFocus === B.options.selectOnFocus.select && (e.caretPositionOnFocus = B.options.caretPositionOnFocus.doNoForceCaretPosition), e) } }, { key: "_calculateDecimalPlacesOnInit", value: function (e) { this._validateDecimalPlacesRawValue(e), e.decimalPlacesShownOnFocus === B.options.decimalPlacesShownOnFocus.useDefault && (e.decimalPlacesShownOnFocus = e.decimalPlaces), e.decimalPlacesShownOnBlur === B.options.decimalPlacesShownOnBlur.useDefault && (e.decimalPlacesShownOnBlur = e.decimalPlaces), e.decimalPlacesRawValue === B.options.decimalPlacesRawValue.useDefault && (e.decimalPlacesRawValue = e.decimalPlaces); var t = 0; e.rawValueDivisor && e.rawValueDivisor !== B.options.rawValueDivisor.none && (t = String(e.rawValueDivisor).length - 1) < 0 && (t = 0), e.decimalPlacesRawValue = Math.max(Math.max(e.decimalPlacesShownOnBlur, e.decimalPlacesShownOnFocus) + t, Number(e.originalDecimalPlacesRawValue) + t) } }, { key: "_calculateDecimalPlacesOnUpdate", value: function (e, t) { var i = 1 < arguments.length && void 0 !== t ? t : null; this._validateDecimalPlacesRawValue(e), M.isNull(i) && M.throwError("When updating the settings, the previous ones should be passed as an argument."); var n = "decimalPlaces" in e; if (n || "decimalPlacesRawValue" in e || "decimalPlacesShownOnFocus" in e || "decimalPlacesShownOnBlur" in e || "rawValueDivisor" in e) { n ? ("decimalPlacesShownOnFocus" in e && e.decimalPlacesShownOnFocus !== B.options.decimalPlacesShownOnFocus.useDefault || (e.decimalPlacesShownOnFocus = e.decimalPlaces), "decimalPlacesShownOnBlur" in e && e.decimalPlacesShownOnBlur !== B.options.decimalPlacesShownOnBlur.useDefault || (e.decimalPlacesShownOnBlur = e.decimalPlaces), "decimalPlacesRawValue" in e && e.decimalPlacesRawValue !== B.options.decimalPlacesRawValue.useDefault || (e.decimalPlacesRawValue = e.decimalPlaces)) : (M.isUndefined(e.decimalPlacesShownOnFocus) && (e.decimalPlacesShownOnFocus = i.decimalPlacesShownOnFocus), M.isUndefined(e.decimalPlacesShownOnBlur) && (e.decimalPlacesShownOnBlur = i.decimalPlacesShownOnBlur)); var a = 0; e.rawValueDivisor && e.rawValueDivisor !== B.options.rawValueDivisor.none && (a = String(e.rawValueDivisor).length - 1) < 0 && (a = 0), e.decimalPlaces || e.decimalPlacesRawValue ? e.decimalPlacesRawValue = Math.max(Math.max(e.decimalPlacesShownOnBlur, e.decimalPlacesShownOnFocus) + a, Number(e.decimalPlacesRawValue) + a) : e.decimalPlacesRawValue = Math.max(Math.max(e.decimalPlacesShownOnBlur, e.decimalPlacesShownOnFocus) + a, Number(i.originalDecimalPlacesRawValue) + a) } } }, { key: "_cachesUsualRegularExpressions", value: function (e, t) { var i; i = e.negativeSignCharacter !== B.options.negativeSignCharacter.hyphen ? "([-\\".concat(e.negativeSignCharacter, "]?)") : "(-?)", t.aNegRegAutoStrip = i, e.allowedAutoStrip = new RegExp("[^-0123456789\\".concat(e.decimalCharacter, "]"), "g"), e.numRegAutoStrip = new RegExp("".concat(i, "(?:\\").concat(e.decimalCharacter, "?([0-9]+\\").concat(e.decimalCharacter, "[0-9]+)|([0-9]*(?:\\").concat(e.decimalCharacter, "[0-9]*)?))")), e.stripReg = new RegExp("^".concat(t.aNegRegAutoStrip, "0*([0-9])")), e.formulaChars = new RegExp("[0-9".concat(e.decimalCharacter, "+\\-*/() ]")) } }, { key: "_convertOldOptionsToNewOnes", value: function (e) { var t = { aSep: "digitGroupSeparator", nSep: "showOnlyNumbersOnFocus", dGroup: "digitalGroupSpacing", aDec: "decimalCharacter", altDec: "decimalCharacterAlternative", aSign: "currencySymbol", pSign: "currencySymbolPlacement", pNeg: "negativePositiveSignPlacement", aSuffix: "suffixText", oLimits: "overrideMinMaxLimits", vMax: "maximumValue", vMin: "minimumValue", mDec: "decimalPlacesOverride", eDec: "decimalPlacesShownOnFocus", scaleDecimal: "decimalPlacesShownOnBlur", aStor: "saveValueToSessionStorage", mRound: "roundingMethod", aPad: "allowDecimalPadding", nBracket: "negativeBracketsTypeOnBlur", wEmpty: "emptyInputBehavior", lZero: "leadingZero", aForm: "formatOnPageLoad", sNumber: "selectNumberOnly", anDefault: "defaultValueOverride", unSetOnSubmit: "unformatOnSubmit", outputType: "outputFormat", debug: "showWarnings", allowDecimalPadding: !0, alwaysAllowDecimalCharacter: !0, caretPositionOnFocus: !0, createLocalList: !0, currencySymbol: !0, currencySymbolPlacement: !0, decimalCharacter: !0, decimalCharacterAlternative: !0, decimalPlaces: !0, decimalPlacesRawValue: !0, decimalPlacesShownOnBlur: !0, decimalPlacesShownOnFocus: !0, defaultValueOverride: !0, digitalGroupSpacing: !0, digitGroupSeparator: !0, divisorWhenUnfocused: !0, emptyInputBehavior: !0, eventBubbles: !0, eventIsCancelable: !0, failOnUnknownOption: !0, formatOnPageLoad: !0, formulaMode: !0, historySize: !0, isCancellable: !0, leadingZero: !0, maximumValue: !0, minimumValue: !0, modifyValueOnWheel: !0, negativeBracketsTypeOnBlur: !0, negativePositiveSignPlacement: !0, negativeSignCharacter: !0, noEventListeners: !0, onInvalidPaste: !0, outputFormat: !0, overrideMinMaxLimits: !0, positiveSignCharacter: !0, rawValueDivisor: !0, readOnly: !0, roundingMethod: !0, saveValueToSessionStorage: !0, selectNumberOnly: !0, selectOnFocus: !0, serializeSpaces: !0, showOnlyNumbersOnFocus: !0, showPositiveSign: !0, showWarnings: !0, styleRules: !0, suffixText: !0, symbolWhenUnfocused: !0, unformatOnHover: !0, unformatOnSubmit: !0, valuesToStrings: !0, watchExternalChanges: !0, wheelOn: !0, wheelStep: !0, allowedAutoStrip: !0, formulaChars: !0, isNegativeSignAllowed: !0, isPositiveSignAllowed: !0, mIntNeg: !0, mIntPos: !0, numRegAutoStrip: !0, originalDecimalPlaces: !0, originalDecimalPlacesRawValue: !0, stripReg: !0 }; for (var i in e) if (Object.prototype.hasOwnProperty.call(e, i)) { if (!0 === t[i]) continue; Object.prototype.hasOwnProperty.call(t, i) ? (M.warning("You are using the deprecated option name '".concat(i, "'. Please use '").concat(t[i], "' instead from now on. The old option name will be dropped very soon™."), !0), e[t[i]] = e[i], delete e[i]) : e.failOnUnknownOption && M.throwError("Option name '".concat(i, "' is unknown. Please fix the options passed to autoNumeric")) } "mDec" in e && M.warning("The old `mDec` option has been deprecated in favor of more accurate options ; `decimalPlaces`, `decimalPlacesRawValue`, `decimalPlacesShownOnFocus` and `decimalPlacesShownOnBlur`.", !0) } }, { key: "_setNegativePositiveSignPermissions", value: function (e) { e.isNegativeSignAllowed = e.minimumValue < 0, e.isPositiveSignAllowed = 0 <= e.maximumValue } }, { key: "_toNumericValue", value: function (e, t) { var i; return M.isNumber(Number(e)) ? i = M.scientificToDecimal(e) : (i = this._convertToNumericString(e.toString(), t), M.isNumber(Number(i)) || (M.warning('The given value "'.concat(e, '" cannot be converted to a numeric one and therefore cannot be used appropriately.'), t.showWarnings), i = NaN)), i } }, { key: "_checkIfInRange", value: function (e, t, i) { var n = M.parseStr(e); return -1 < M.testMinMax(t, n) && M.testMinMax(i, n) < 1 } }, { key: "_shouldSkipEventKey", value: function (e) { var t = M.isInArray(e, g.keyName._allFnKeys), i = e === g.keyName.OSLeft || e === g.keyName.OSRight, n = e === g.keyName.ContextMenu, a = M.isInArray(e, g.keyName._someNonPrintableKeys), r = e === g.keyName.NumLock || e === g.keyName.ScrollLock || e === g.keyName.Insert || e === g.keyName.Command, s = e === g.keyName.Unidentified; return t || i || n || a || s || r } }, { key: "_serialize", value: function (e, t, i, n, a) { var r, s = this, o = 1 < arguments.length && void 0 !== t && t, l = 2 < arguments.length && void 0 !== i ? i : "unformatted", u = 3 < arguments.length && void 0 !== n ? n : "+", c = 4 < arguments.length && void 0 !== a ? a : null, h = []; return "object" === w(e) && "form" === e.nodeName.toLowerCase() && Array.prototype.slice.call(e.elements).forEach(function (t) { if (t.name && !t.disabled && -1 === ["file", "reset", "submit", "button"].indexOf(t.type)) if ("select-multiple" === t.type) Array.prototype.slice.call(t.options).forEach(function (e) { e.selected && (o ? h.push({ name: t.name, value: e.value }) : h.push("".concat(encodeURIComponent(t.name), "=").concat(encodeURIComponent(e.value)))) }); else if (-1 === ["checkbox", "radio"].indexOf(t.type) || t.checked) { var e, i; if (s.isManagedByAutoNumeric(t)) switch (l) { case "unformatted": i = s.getAutoNumericElement(t), M.isNull(i) || (e = s.unformat(t, i.getSettings())); break; case "localized": if (i = s.getAutoNumericElement(t), !M.isNull(i)) { var n = M.cloneObject(i.getSettings()); M.isNull(c) || (n.outputFormat = c), e = s.localize(t, n) } break; case "formatted": default: e = t.value } else e = t.value; M.isUndefined(e) && M.throwError("This error should never be hit. If it has, something really wrong happened!"), o ? h.push({ name: t.name, value: e }) : h.push("".concat(encodeURIComponent(t.name), "=").concat(encodeURIComponent(e))) } }), o ? r = h : (r = h.join("&"), "+" === u && (r = r.replace(/%20/g, "+"))), r } }, { key: "_serializeNumericString", value: function (e, t) { var i = 1 < arguments.length && void 0 !== t ? t : "+"; return this._serialize(e, !1, "unformatted", i) } }, { key: "_serializeFormatted", value: function (e, t) { var i = 1 < arguments.length && void 0 !== t ? t : "+"; return this._serialize(e, !1, "formatted", i) } }, { key: "_serializeLocalized", value: function (e, t, i) { var n = 1 < arguments.length && void 0 !== t ? t : "+", a = 2 < arguments.length && void 0 !== i ? i : null; return this._serialize(e, !1, "localized", n, a) } }, { key: "_serializeNumericStringArray", value: function (e, t) { var i = 1 < arguments.length && void 0 !== t ? t : "+"; return this._serialize(e, !0, "unformatted", i) } }, { key: "_serializeFormattedArray", value: function (e, t) { var i = 1 < arguments.length && void 0 !== t ? t : "+"; return this._serialize(e, !0, "formatted", i) } }, { key: "_serializeLocalizedArray", value: function (e, t, i) { var n = 1 < arguments.length && void 0 !== t ? t : "+", a = 2 < arguments.length && void 0 !== i ? i : null; return this._serialize(e, !0, "localized", n, a) } }], P((e = B).prototype, [{ key: "_saveInitialValues", value: function (e) { this.initialValueHtmlAttribute = M.scientificToDecimal(this.domElement.getAttribute("value")), M.isNull(this.initialValueHtmlAttribute) && (this.initialValueHtmlAttribute = ""), this.initialValue = e, M.isNull(this.initialValue) && (this.initialValue = "") } }, { key: "_createEventListeners", value: function () { var t = this; this.formulaMode = !1, this._onFocusInFunc = function (e) { t._onFocusIn(e) }, this._onFocusInAndMouseEnterFunc = function (e) { t._onFocusInAndMouseEnter(e) }, this._onFocusFunc = function () { t._onFocus() }, this._onKeydownFunc = function (e) { t._onKeydown(e) }, this._onKeypressFunc = function (e) { t._onKeypress(e) }, this._onKeyupFunc = function (e) { t._onKeyup(e) }, this._onFocusOutAndMouseLeaveFunc = function (e) { t._onFocusOutAndMouseLeave(e) }, this._onPasteFunc = function (e) { t._onPaste(e) }, this._onWheelFunc = function (e) { t._onWheel(e) }, this._onDropFunc = function (e) { t._onDrop(e) }, this._onKeydownGlobalFunc = function (e) { t._onKeydownGlobal(e) }, this._onKeyupGlobalFunc = function (e) { t._onKeyupGlobal(e) }, this.domElement.addEventListener("focusin", this._onFocusInFunc, !1), this.domElement.addEventListener("focus", this._onFocusInAndMouseEnterFunc, !1), this.domElement.addEventListener("focus", this._onFocusFunc, !1), this.domElement.addEventListener("mouseenter", this._onFocusInAndMouseEnterFunc, !1), this.domElement.addEventListener("keydown", this._onKeydownFunc, !1), this.domElement.addEventListener("keypress", this._onKeypressFunc, !1), this.domElement.addEventListener("keyup", this._onKeyupFunc, !1), this.domElement.addEventListener("blur", this._onFocusOutAndMouseLeaveFunc, !1), this.domElement.addEventListener("mouseleave", this._onFocusOutAndMouseLeaveFunc, !1), this.domElement.addEventListener("paste", this._onPasteFunc, !1), this.domElement.addEventListener("wheel", this._onWheelFunc, !1), this.domElement.addEventListener("drop", this._onDropFunc, !1), this._setupFormListener(), this.hasEventListeners = !0, B._doesGlobalListExists() || (document.addEventListener("keydown", this._onKeydownGlobalFunc, !1), document.addEventListener("keyup", this._onKeyupGlobalFunc, !1)) } }, { key: "_removeEventListeners", value: function () { this.domElement.removeEventListener("focusin", this._onFocusInFunc, !1), this.domElement.removeEventListener("focus", this._onFocusInAndMouseEnterFunc, !1), this.domElement.removeEventListener("focus", this._onFocusFunc, !1), this.domElement.removeEventListener("mouseenter", this._onFocusInAndMouseEnterFunc, !1), this.domElement.removeEventListener("blur", this._onFocusOutAndMouseLeaveFunc, !1), this.domElement.removeEventListener("mouseleave", this._onFocusOutAndMouseLeaveFunc, !1), this.domElement.removeEventListener("keydown", this._onKeydownFunc, !1), this.domElement.removeEventListener("keypress", this._onKeypressFunc, !1), this.domElement.removeEventListener("keyup", this._onKeyupFunc, !1), this.domElement.removeEventListener("paste", this._onPasteFunc, !1), this.domElement.removeEventListener("wheel", this._onWheelFunc, !1), this.domElement.removeEventListener("drop", this._onDropFunc, !1), this._removeFormListener(), this.hasEventListeners = !1, document.removeEventListener("keydown", this._onKeydownGlobalFunc, !1), document.removeEventListener("keyup", this._onKeyupGlobalFunc, !1) } }, { key: "_updateEventListeners", value: function () { this.settings.noEventListeners || this.hasEventListeners || this._createEventListeners(), this.settings.noEventListeners && this.hasEventListeners && this._removeEventListeners() } }, { key: "_setupFormListener", value: function () { var e = this; M.isNull(this.parentForm) || (this._onFormSubmitFunc = function () { e._onFormSubmit() }, this._onFormResetFunc = function () { e._onFormReset() }, this._hasParentFormCounter() ? this._incrementParentFormCounter() : (this._initializeFormCounterToOne(), this.parentForm.addEventListener("submit", this._onFormSubmitFunc, !1), this.parentForm.addEventListener("reset", this._onFormResetFunc, !1), this._storeFormHandlerFunction())) } }, { key: "_removeFormListener", value: function () { if (!M.isNull(this.parentForm)) { var e = this._getParentFormCounter(); 1 === e ? (this.parentForm.removeEventListener("submit", this._getFormHandlerFunction().submitFn, !1), this.parentForm.removeEventListener("reset", this._getFormHandlerFunction().resetFn, !1), this._removeFormDataSetInfo()) : 1 < e ? this._decrementParentFormCounter() : M.throwError("The AutoNumeric object count on the form is incoherent.") } } }, { key: "_hasParentFormCounter", value: function () { return "anCount" in this.parentForm.dataset } }, { key: "_getParentFormCounter", value: function () { return Number(this.parentForm.dataset.anCount) } }, { key: "_initializeFormCounterToOne", value: function (e) { var t = 0 < arguments.length && void 0 !== e ? e : null; this._getFormElement(t).dataset.anCount = 1 } }, { key: "_incrementParentFormCounter", value: function (e) { var t = 0 < arguments.length && void 0 !== e ? e : null; this._getFormElement(t).dataset.anCount++ } }, { key: "_decrementParentFormCounter", value: function () { this.parentForm.dataset.anCount-- } }, { key: "_hasFormHandlerFunction", value: function (e) { var t = 0 < arguments.length && void 0 !== e ? e : null; return "anFormHandler" in this._getFormElement(t).dataset } }, { key: "_getFormElement", value: function (e) { var t = 0 < arguments.length && void 0 !== e ? e : null; return M.isNull(t) ? this.parentForm : t } }, { key: "_storeFormHandlerFunction", value: function (e) { var t = 0 < arguments.length && void 0 !== e ? e : null; this.constructor._doesFormHandlerListExists() || this.constructor._createFormHandlerList(); var i = M.randomString(); this._getFormElement(t).dataset.anFormHandler = i, window.aNFormHandlerMap.set(i, { submitFn: this._onFormSubmitFunc, resetFn: this._onFormResetFunc }) } }, { key: "_getFormHandlerKey", value: function () { this._hasFormHandlerFunction() || M.throwError("Unable to retrieve the form handler name"); var e = this.parentForm.dataset.anFormHandler; return "" === e && M.throwError("The form handler name is invalid"), e } }, { key: "_getFormHandlerFunction", value: function () { var e = this._getFormHandlerKey(); return window.aNFormHandlerMap.get(e) } }, { key: "_removeFormDataSetInfo", value: function () { this._decrementParentFormCounter(), window.aNFormHandlerMap.delete(this._getFormHandlerKey()), this.parentForm.removeAttribute("data-an-count"), this.parentForm.removeAttribute("data-an-form-handler") } }, { key: "_setWritePermissions", value: function (e) { 0 < arguments.length && void 0 !== e && e && this.domElement.readOnly || this.settings.readOnly ? this._setReadOnly() : this._setReadWrite() } }, { key: "_setReadOnly", value: function () { this.isInputElement ? this.domElement.readOnly = !0 : this.domElement.setAttribute("contenteditable", !1) } }, { key: "_setReadWrite", value: function () { this.isInputElement ? this.domElement.readOnly = !1 : this.domElement.setAttribute("contenteditable", !0) } }, { key: "_addWatcher", value: function () { var t = this; if (!M.isUndefined(this.getterSetter)) { var e = this.getterSetter, i = e.set, n = e.get; Object.defineProperty(this.domElement, this.attributeToWatch, { configurable: !0, get: function () { return n.call(t.domElement) }, set: function (e) { i.call(t.domElement, e), t.settings.watchExternalChanges && !t.internalModification && t.set(e) } }) } } }, { key: "_removeWatcher", value: function () { var t = this; if (!M.isUndefined(this.getterSetter)) { var e = this.getterSetter, i = e.set, n = e.get; Object.defineProperty(this.domElement, this.attributeToWatch, { configurable: !0, get: function () { return n.call(t.domElement) }, set: function (e) { i.call(t.domElement, e) } }) } } }, { key: "_getAttributeToWatch", value: function () { var e; if (this.isInputElement) e = "value"; else { var t = this.domElement.nodeType; t === Node.ELEMENT_NODE || t === Node.DOCUMENT_NODE || t === Node.DOCUMENT_FRAGMENT_NODE ? e = "textContent" : t === Node.TEXT_NODE && (e = "nodeValue") } return e } }, { key: "_historyTableAdd", value: function () { var e = 0 === this.historyTable.length; if (e || this.rawValue !== this._historyTableCurrentValueUsed()) { var t = !0; if (!e) { var i = this.historyTableIndex + 1; i < this.historyTable.length && this.rawValue === this.historyTable[i].value ? t = !1 : M.arrayTrim(this.historyTable, this.historyTableIndex + 1) } if (this.historyTableIndex++, t) { var n = M.getElementSelection(this.domElement); this.selectionStart = n.start, this.selectionEnd = n.end, this.historyTable.push({ value: this.rawValue, start: this.selectionStart + 1, end: this.selectionEnd + 1 }), 1 < this.historyTable.length && (this.historyTable[this.historyTableIndex - 1].start = this.selectionStart, this.historyTable[this.historyTableIndex - 1].end = this.selectionEnd) } this.historyTable.length > this.settings.historySize && this._historyTableForget() } } }, { key: "_historyTableUndoOrRedo", value: function (e) { var t; if (0 < arguments.length && void 0 !== e && !e ? (t = this.historyTableIndex + 1 < this.historyTable.length) && this.historyTableIndex++ : (t = 0 < this.historyTableIndex) && this.historyTableIndex--, t) { var i = this.historyTable[this.historyTableIndex]; this.set(i.value, null, !1), M.setElementSelection(this.domElement, i.start, i.end) } } }, { key: "_historyTableUndo", value: function () { this._historyTableUndoOrRedo(!0) } }, { key: "_historyTableRedo", value: function () { this._historyTableUndoOrRedo(!1) } }, { key: "_historyTableForget", value: function (e) { for (var t = 0 < arguments.length && void 0 !== e ? e : 1, i = [], n = 0; n < t; n++)i.push(this.historyTable.shift()), this.historyTableIndex--, this.historyTableIndex < 0 && (this.historyTableIndex = 0); return 1 === i.length ? i[0] : i } }, { key: "_historyTableCurrentValueUsed", value: function () { var e = this.historyTableIndex; return e < 0 && (e = 0), M.isUndefinedOrNullOrEmpty(this.historyTable[e]) ? "" : this.historyTable[e].value } }, { key: "_parseStyleRules", value: function () { var n = this; M.isUndefinedOrNullOrEmpty(this.settings.styleRules) || "" === this.rawValue || (M.isUndefinedOrNullOrEmpty(this.settings.styleRules.positive) || (0 <= this.rawValue ? this._addCSSClass(this.settings.styleRules.positive) : this._removeCSSClass(this.settings.styleRules.positive)), M.isUndefinedOrNullOrEmpty(this.settings.styleRules.negative) || (this.rawValue < 0 ? this._addCSSClass(this.settings.styleRules.negative) : this._removeCSSClass(this.settings.styleRules.negative)), M.isUndefinedOrNullOrEmpty(this.settings.styleRules.ranges) || 0 === this.settings.styleRules.ranges.length || this.settings.styleRules.ranges.forEach(function (e) { n.rawValue >= e.min && n.rawValue < e.max ? n._addCSSClass(e.class) : n._removeCSSClass(e.class) }), M.isUndefinedOrNullOrEmpty(this.settings.styleRules.userDefined) || 0 === this.settings.styleRules.userDefined.length || this.settings.styleRules.userDefined.forEach(function (e) { if (M.isFunction(e.callback)) if (M.isString(e.classes)) e.callback(n.rawValue) ? n._addCSSClass(e.classes) : n._removeCSSClass(e.classes); else if (M.isArray(e.classes)) if (2 === e.classes.length) e.callback(n.rawValue) ? (n._addCSSClass(e.classes[0]), n._removeCSSClass(e.classes[1])) : (n._removeCSSClass(e.classes[0]), n._addCSSClass(e.classes[1])); else if (2 < e.classes.length) { var i = e.callback(n.rawValue); M.isArray(i) ? e.classes.forEach(function (e, t) { M.isInArray(t, i) ? n._addCSSClass(e) : n._removeCSSClass(e) }) : M.isInt(i) ? e.classes.forEach(function (e, t) { t === i ? n._addCSSClass(e) : n._removeCSSClass(e) }) : M.isNull(i) ? e.classes.forEach(function (e) { n._removeCSSClass(e) }) : M.throwError("The callback result is not an array nor a valid array index, ".concat(w(i), " given.")) } else M.throwError("The classes attribute is not valid for the `styleRules` option."); else M.isUndefinedOrNullOrEmpty(e.classes) ? e.callback(n) : M.throwError("The callback/classes structure is not valid for the `styleRules` option."); else M.warning("The given `styleRules` callback is not a function, ".concat("undefined" == typeof callback ? "undefined" : w(callback), " given."), n.settings.showWarnings) })) } }, { key: "_addCSSClass", value: function (e) { this.domElement.classList.add(e) } }, { key: "_removeCSSClass", value: function (e) { this.domElement.classList.remove(e) } }, { key: "update", value: function () { for (var t = this, e = arguments.length, i = new Array(e), n = 0; n < e; n++)i[n] = arguments[n]; Array.isArray(i) && Array.isArray(i[0]) && (i = i[0]); var a = M.cloneObject(this.settings), r = this.rawValue, s = {}; M.isUndefinedOrNullOrEmpty(i) || 0 === i.length ? s = null : 1 <= i.length && i.forEach(function (e) { t.constructor._isPreDefinedOptionValid(e) && (e = t.constructor._getOptionObject(e)), b(s, e) }); try { this._setSettings(s, !0), this._setWritePermissions(), this._updateEventListeners(), this.set(r) } catch (e) { return this._setSettings(a, !0), M.throwError("Unable to update the settings, those are invalid: [".concat(e, "]")), this } return this } }, { key: "getSettings", value: function () { return this.settings } }, { key: "set", value: function (e, t, i) { var n, a = 1 < arguments.length && void 0 !== t ? t : null, r = !(2 < arguments.length && void 0 !== i) || i; if (M.isUndefined(e)) return M.warning("You are trying to set an 'undefined' value ; an error could have occurred.", this.settings.showWarnings), this; if (M.isNull(a) || this._setSettings(a, !0), null === e && this.settings.emptyInputBehavior !== B.options.emptyInputBehavior.null) return M.warning("You are trying to set the `null` value while the `emptyInputBehavior` option is set to ".concat(this.settings.emptyInputBehavior, ". If you want to be able to set the `null` value, you need to change the 'emptyInputBehavior' option to `'null'`."), this.settings.showWarnings), this; if (null === e) return this._setElementAndRawValue(null, null, r), this._saveValueToPersistentStorage(), this; if (n = this.constructor._toNumericValue(e, this.settings), isNaN(Number(n))) return M.warning("The value you are trying to set results in `NaN`. The element value is set to the empty string instead.", this.settings.showWarnings), this.setValue("", r), this; if ("" === n) switch (this.settings.emptyInputBehavior) { case B.options.emptyInputBehavior.zero: n = 0; break; case B.options.emptyInputBehavior.min: n = this.settings.minimumValue; break; case B.options.emptyInputBehavior.max: n = this.settings.maximumValue; break; default: M.isNumber(this.settings.emptyInputBehavior) && (n = Number(this.settings.emptyInputBehavior)) }if ("" === n) return s = this.settings.emptyInputBehavior === B.options.emptyInputBehavior.always ? this.settings.currencySymbol : "", this._setElementAndRawValue(s, "", r), this; var s, o = S(this.constructor._checkIfInRangeWithOverrideOption(n, this.settings), 2), l = o[0], u = o[1]; if (l && u && this.settings.valuesToStrings && this._checkValuesToStrings(n)) return this._setElementAndRawValue(this.settings.valuesToStrings[n], n, r), this._saveValueToPersistentStorage(), this; if (M.isZeroOrHasNoValue(n) && (n = "0"), l && u) { var c = this.constructor._roundRawValue(n, this.settings); return c = this._trimLeadingAndTrailingZeros(c.replace(this.settings.decimalCharacter, ".")), n = this._getRawValueToFormat(n), n = this.isFocused ? this.constructor._roundFormattedValueShownOnFocus(n, this.settings) : (this.settings.divisorWhenUnfocused && (n = (n /= this.settings.divisorWhenUnfocused).toString()), this.constructor._roundFormattedValueShownOnBlur(n, this.settings)), n = this.constructor._modifyNegativeSignAndDecimalCharacterForFormattedValue(n, this.settings), n = this.constructor._addGroupSeparators(n, this.settings, this.isFocused, this.rawValue, c), !this.isFocused && this.settings.symbolWhenUnfocused && (n = "".concat(n).concat(this.settings.symbolWhenUnfocused)), (this.settings.decimalPlacesShownOnFocus || this.settings.divisorWhenUnfocused) && this._saveValueToPersistentStorage(), this._setElementAndRawValue(n, c, r), this._setValidOrInvalidState(c), this } return this._triggerRangeEvents(l, u), M.throwError("The value [".concat(n, "] being set falls outside of the minimumValue [").concat(this.settings.minimumValue, "] and maximumValue [").concat(this.settings.maximumValue, "] range set for this element")), this._removeValueFromPersistentStorage(), this.setValue("", r), this } }, { key: "setUnformatted", value: function (e, t) { var i = 1 < arguments.length && void 0 !== t ? t : null; if (null === e || M.isUndefined(e)) return this; M.isNull(i) || this._setSettings(i, !0); var n = this.constructor._removeBrackets(e, this.settings), a = this.constructor._stripAllNonNumberCharacters(n, this.settings, !0, this.isFocused); return M.isNumber(a) || M.throwError("The value is not a valid one, it's not a numeric string nor a recognized currency."), this.constructor._isWithinRangeWithOverrideOption(a, this.settings) ? this.setValue(e) : M.throwError("The value is out of the range limits [".concat(this.settings.minimumValue, ", ").concat(this.settings.maximumValue, "].")), this } }, { key: "setValue", value: function (e, t) { var i = !(1 < arguments.length && void 0 !== t) || t; return this._setElementAndRawValue(e, i), this } }, { key: "_setRawValue", value: function (e, t) { var i = !(1 < arguments.length && void 0 !== t) || t; if (this.rawValue !== e) { var n = this.rawValue; this.rawValue = e, !M.isNull(this.settings.rawValueDivisor) && 0 !== this.settings.rawValueDivisor && "" !== e && null !== e && this._isUserManuallyEditingTheValue() && (this.rawValue /= this.settings.rawValueDivisor), this._triggerEvent(B.events.rawValueModified, this.domElement, { oldRawValue: n, newRawValue: this.rawValue, isPristine: this.isPristine(!0), error: null, aNElement: this }), this._parseStyleRules(), i && this._historyTableAdd() } } }, { key: "_setElementValue", value: function (e, t) { var i = !(1 < arguments.length && void 0 !== t) || t, n = M.getElementValue(this.domElement); return e !== n && (this.internalModification = !0, M.setElementValue(this.domElement, e), this.internalModification = !1, i && this._triggerEvent(B.events.formatted, this.domElement, { oldValue: n, newValue: e, oldRawValue: this.rawValue, newRawValue: this.rawValue, isPristine: this.isPristine(!1), error: null, aNElement: this })), this } }, { key: "_setElementAndRawValue", value: function (e, t, i) { var n = 1 < arguments.length && void 0 !== t ? t : null, a = !(2 < arguments.length && void 0 !== i) || i; return M.isNull(n) ? n = e : M.isBoolean(n) && (a = n, n = e), this._setElementValue(e), this._setRawValue(n, a), this } }, { key: "_getRawValueToFormat", value: function (e) { return M.isNull(this.settings.rawValueDivisor) || 0 === this.settings.rawValueDivisor || "" === e || null === e ? e : e * this.settings.rawValueDivisor } }, { key: "_checkValuesToStrings", value: function (e) { return this.constructor._checkValuesToStringsArray(e, this.valuesToStringsKeys) } }, { key: "_isUserManuallyEditingTheValue", value: function () { return this.isFocused && this.isEditing || this.isDropEvent } }, { key: "_executeCallback", value: function (e, t) { !M.isNull(t) && M.isFunction(t) && t(e, this) } }, { key: "_triggerEvent", value: function (e, t, i) { var n = 1 < arguments.length && void 0 !== t ? t : document, a = 2 < arguments.length && void 0 !== i ? i : null; M.triggerEvent(e, n, a, this.settings.eventBubbles, this.settings.eventIsCancelable) } }, { key: "get", value: function (e) { var t = 0 < arguments.length && void 0 !== e ? e : null; return this.getNumericString(t) } }, { key: "getNumericString", value: function (e) { var t, i = 0 < arguments.length && void 0 !== e ? e : null; return t = M.isNull(this.rawValue) ? null : M.trimPaddedZerosFromDecimalPlaces(this.rawValue), this._executeCallback(t, i), t } }, { key: "getFormatted", value: function (e) { var t = 0 < arguments.length && void 0 !== e ? e : null; "value" in this.domElement || "textContent" in this.domElement || M.throwError("Unable to get the formatted string from the element."); var i = M.getElementValue(this.domElement); return this._executeCallback(i, t), i } }, { key: "getNumber", value: function (e) { var t, i = 0 < arguments.length && void 0 !== e ? e : null; return t = null === this.rawValue ? null : this.constructor._toLocale(this.getNumericString(), "number", this.settings), this._executeCallback(t, i), t } }, { key: "getLocalized", value: function (e, t) { var i, n, a = 0 < arguments.length && void 0 !== e ? e : null, r = 1 < arguments.length && void 0 !== t ? t : null; M.isFunction(a) && M.isNull(r) && (r = a, a = null), (i = M.isEmptyString(this.rawValue) ? "" : "" + Number(this.rawValue)) && 0 === Number(i) && this.settings.leadingZero !== B.options.leadingZero.keep && (i = "0"), n = M.isNull(a) ? this.settings.outputFormat : a; var s = this.constructor._toLocale(i, n, this.settings); return this._executeCallback(s, r), s } }, { key: "reformat", value: function () { return this.set(this.rawValue), this } }, { key: "unformat", value: function () { return this._setElementValue(this.getNumericString()), this } }, { key: "unformatLocalized", value: function (e) { var t = 0 < arguments.length && void 0 !== e ? e : null; return this._setElementValue(this.getLocalized(t)), this } }, { key: "isPristine", value: function (e) { return 0 < arguments.length && void 0 !== e && !e ? this.initialValueHtmlAttribute === this.getFormatted() : this.initialValue === this.getNumericString() } }, { key: "select", value: function () { return this.settings.selectNumberOnly ? this.selectNumber() : this._defaultSelectAll(), this } }, { key: "_defaultSelectAll", value: function () { M.setElementSelection(this.domElement, 0, M.getElementValue(this.domElement).length) } }, { key: "selectNumber", value: function () { var e, t, i = M.getElementValue(this.domElement), n = i.length, a = this.settings.currencySymbol.length, r = this.settings.currencySymbolPlacement, s = M.isNegative(i, this.settings.negativeSignCharacter) ? 1 : 0, o = this.settings.suffixText.length; if (e = r === B.options.currencySymbolPlacement.suffix ? 0 : this.settings.negativePositiveSignPlacement === B.options.negativePositiveSignPlacement.left && 1 == s && 0 < a ? a + 1 : a, r === B.options.currencySymbolPlacement.prefix) t = n - o; else switch (this.settings.negativePositiveSignPlacement) { case B.options.negativePositiveSignPlacement.left: t = n - (o + a); break; case B.options.negativePositiveSignPlacement.right: t = 0 < a ? n - (a + s + o) : n - (a + o); break; default: t = n - (a + o) }return M.setElementSelection(this.domElement, e, t), this } }, { key: "selectInteger", value: function () { var e = 0, t = 0 <= this.rawValue; this.settings.currencySymbolPlacement !== B.options.currencySymbolPlacement.prefix && (this.settings.currencySymbolPlacement !== B.options.currencySymbolPlacement.suffix || this.settings.negativePositiveSignPlacement !== B.options.negativePositiveSignPlacement.prefix && this.settings.negativePositiveSignPlacement !== B.options.negativePositiveSignPlacement.none) || (this.settings.showPositiveSign && t || !t && this.settings.currencySymbolPlacement === B.options.currencySymbolPlacement.prefix && this.settings.negativePositiveSignPlacement === B.options.negativePositiveSignPlacement.left) && (e += 1), this.settings.currencySymbolPlacement === B.options.currencySymbolPlacement.prefix && (e += this.settings.currencySymbol.length); var i = M.getElementValue(this.domElement), n = i.indexOf(this.settings.decimalCharacter); return -1 === n && (n = this.settings.currencySymbolPlacement === B.options.currencySymbolPlacement.suffix ? i.length - this.settings.currencySymbol.length : i.length, t || this.settings.negativePositiveSignPlacement !== B.options.negativePositiveSignPlacement.suffix && this.settings.currencySymbolPlacement !== B.options.currencySymbolPlacement.suffix || --n, n -= this.settings.suffixText.length), M.setElementSelection(this.domElement, e, n), this } }, { key: "selectDecimal", value: function () { var e, t, i = M.getElementValue(this.domElement).indexOf(this.settings.decimalCharacter); return e = -1 === i ? i = 0 : (i += 1, t = this.isFocused ? this.settings.decimalPlacesShownOnFocus : this.settings.decimalPlacesShownOnBlur, i + Number(t)), M.setElementSelection(this.domElement, i, e), this } }, { key: "node", value: function () { return this.domElement } }, { key: "parent", value: function () { return this.domElement.parentNode } }, { key: "detach", value: function (e) { var t, i = 0 < arguments.length && void 0 !== e ? e : null; return t = M.isNull(i) ? this.domElement : i.node(), this._removeFromLocalList(t), this } }, { key: "attach", value: function (e, t) { var i = !(1 < arguments.length && void 0 !== t) || t; return this._addToLocalList(e.node()), i && e.update(this.settings), this } }, { key: "formatOther", value: function (e, t) { var i = 1 < arguments.length && void 0 !== t ? t : null; return this._formatOrUnformatOther(!0, e, i) } }, { key: "unformatOther", value: function (e, t) { var i = 1 < arguments.length && void 0 !== t ? t : null; return this._formatOrUnformatOther(!1, e, i) } }, { key: "_formatOrUnformatOther", value: function (e, t, i) { var n, a, r = 2 < arguments.length && void 0 !== i ? i : null; if (n = M.isNull(r) ? this.settings : this._cloneAndMergeSettings(r), M.isElement(t)) { var s = M.getElementValue(t); return a = e ? B.format(s, n) : B.unformat(s, n), M.setElementValue(t, a), null } return e ? B.format(t, n) : B.unformat(t, n) } }, { key: "init", value: function (e, t) { var n = this, a = !(1 < arguments.length && void 0 !== t) || t, i = !1, r = []; if (M.isString(e) ? r = p(document.querySelectorAll(e)) : M.isElement(e) ? (r.push(e), i = !0) : M.isArray(e) ? r = e : M.throwError("The given parameters to the 'init' function are invalid."), 0 === r.length) return M.warning("No valid DOM elements were given hence no AutoNumeric object were instantiated.", !0), []; var s = this._getLocalList(), o = []; return r.forEach(function (e) { var t = n.settings.createLocalList; a && (n.settings.createLocalList = !1); var i = new B(e, M.getElementValue(e), n.settings); a && (i._setLocalList(s), n._addToLocalList(e, i), n.settings.createLocalList = t), o.push(i) }), i ? o[0] : o } }, { key: "clear", value: function (e) { if (0 < arguments.length && void 0 !== e && e) { var t = { emptyInputBehavior: B.options.emptyInputBehavior.focus }; this.set("", t) } else this.set(""); return this } }, { key: "remove", value: function () { this._removeValueFromPersistentStorage(), this._removeEventListeners(), this._removeWatcher(), this._removeFromLocalList(this.domElement), this.constructor._removeFromGlobalList(this) } }, { key: "wipe", value: function () { this._setElementValue("", !1), this.remove() } }, { key: "nuke", value: function () { this.remove(), this.domElement.parentNode.removeChild(this.domElement) } }, { key: "form", value: function (e) { if (0 < arguments.length && void 0 !== e && e || M.isUndefinedOrNullOrEmpty(this.parentForm)) { var t = this._getParentForm(); if (!M.isNull(t) && t !== this.parentForm) { var i = this._getFormAutoNumericChildren(this.parentForm); this.parentForm.dataset.anCount = i.length, this._hasFormHandlerFunction(t) ? this._incrementParentFormCounter(t) : (this._storeFormHandlerFunction(t), this._initializeFormCounterToOne(t)) } this.parentForm = t } return this.parentForm } }, { key: "_getFormAutoNumericChildren", value: function (e) { var t = this; return p(e.querySelectorAll("input")).filter(function (e) { return t.constructor.isManagedByAutoNumeric(e) }) } }, { key: "_getParentForm", value: function () { if ("body" === this.domElement.tagName.toLowerCase()) return null; var e, t = this.domElement; do { if (t = t.parentNode, M.isNull(t)) return null; if ("body" === (e = t.tagName ? t.tagName.toLowerCase() : "")) break } while ("form" !== e); return "form" === e ? t : null } }, { key: "formNumericString", value: function () { return this.constructor._serializeNumericString(this.form(), this.settings.serializeSpaces) } }, { key: "formFormatted", value: function () { return this.constructor._serializeFormatted(this.form(), this.settings.serializeSpaces) } }, { key: "formLocalized", value: function (e) { var t, i = 0 < arguments.length && void 0 !== e ? e : null; return t = M.isNull(i) ? this.settings.outputFormat : i, this.constructor._serializeLocalized(this.form(), this.settings.serializeSpaces, t) } }, { key: "formArrayNumericString", value: function () { return this.constructor._serializeNumericStringArray(this.form(), this.settings.serializeSpaces) } }, { key: "formArrayFormatted", value: function () { return this.constructor._serializeFormattedArray(this.form(), this.settings.serializeSpaces) } }, { key: "formArrayLocalized", value: function (e) { var t, i = 0 < arguments.length && void 0 !== e ? e : null; return t = M.isNull(i) ? this.settings.outputFormat : i, this.constructor._serializeLocalizedArray(this.form(), this.settings.serializeSpaces, t) } }, { key: "formJsonNumericString", value: function () { return JSON.stringify(this.formArrayNumericString()) } }, { key: "formJsonFormatted", value: function () { return JSON.stringify(this.formArrayFormatted()) } }, { key: "formJsonLocalized", value: function (e) { var t = 0 < arguments.length && void 0 !== e ? e : null; return JSON.stringify(this.formArrayLocalized(t)) } }, { key: "formUnformat", value: function () { return this.constructor._getChildANInputElement(this.form()).forEach(function (e) { B.getAutoNumericElement(e).unformat() }), this } }, { key: "formUnformatLocalized", value: function () { return this.constructor._getChildANInputElement(this.form()).forEach(function (e) { B.getAutoNumericElement(e).unformatLocalized() }), this } }, { key: "formReformat", value: function () { return this.constructor._getChildANInputElement(this.form()).forEach(function (e) { B.getAutoNumericElement(e).reformat() }), this } }, { key: "formSubmitNumericString", value: function (e) { var t = 0 < arguments.length && void 0 !== e ? e : null; return M.isNull(t) ? (this.formUnformat(), this.form().submit(), this.formReformat()) : M.isFunction(t) ? t(this.formNumericString()) : M.throwError("The given callback is not a function."), this } }, { key: "formSubmitFormatted", value: function (e) { var t = 0 < arguments.length && void 0 !== e ? e : null; return M.isNull(t) ? this.form().submit() : M.isFunction(t) ? t(this.formFormatted()) : M.throwError("The given callback is not a function."), this } }, { key: "formSubmitLocalized", value: function (e, t) { var i = 0 < arguments.length && void 0 !== e ? e : null, n = 1 < arguments.length && void 0 !== t ? t : null; return M.isNull(n) ? (this.formUnformatLocalized(), this.form().submit(), this.formReformat()) : M.isFunction(n) ? n(this.formLocalized(i)) : M.throwError("The given callback is not a function."), this } }, { key: "formSubmitArrayNumericString", value: function (e) { return M.isFunction(e) ? e(this.formArrayNumericString()) : M.throwError("The given callback is not a function."), this } }, { key: "formSubmitArrayFormatted", value: function (e) { return M.isFunction(e) ? e(this.formArrayFormatted()) : M.throwError("The given callback is not a function."), this } }, { key: "formSubmitArrayLocalized", value: function (e, t) { var i = 1 < arguments.length && void 0 !== t ? t : null; return M.isFunction(e) ? e(this.formArrayLocalized(i)) : M.throwError("The given callback is not a function."), this } }, { key: "formSubmitJsonNumericString", value: function (e) { return M.isFunction(e) ? e(this.formJsonNumericString()) : M.throwError("The given callback is not a function."), this } }, { key: "formSubmitJsonFormatted", value: function (e) { return M.isFunction(e) ? e(this.formJsonFormatted()) : M.throwError("The given callback is not a function."), this } }, { key: "formSubmitJsonLocalized", value: function (e, t) { var i = 1 < arguments.length && void 0 !== t ? t : null; return M.isFunction(e) ? e(this.formJsonLocalized(i)) : M.throwError("The given callback is not a function."), this } }, { key: "_createLocalList", value: function () { this.autoNumericLocalList = new Map, this._addToLocalList(this.domElement) } }, { key: "_deleteLocalList", value: function () { delete this.autoNumericLocalList } }, { key: "_setLocalList", value: function (e) { this.autoNumericLocalList = e } }, { key: "_getLocalList", value: function () { return this.autoNumericLocalList } }, { key: "_hasLocalList", value: function () { return this.autoNumericLocalList instanceof Map && 0 !== this.autoNumericLocalList.size } }, { key: "_addToLocalList", value: function (e, t) { var i = 1 < arguments.length && void 0 !== t ? t : null; M.isNull(i) && (i = this), M.isUndefined(this.autoNumericLocalList) ? M.throwError("The local list provided does not exists when trying to add an element. [".concat(this.autoNumericLocalList, "] given.")) : this.autoNumericLocalList.set(e, i) } }, { key: "_removeFromLocalList", value: function (e) { M.isUndefined(this.autoNumericLocalList) ? this.settings.createLocalList && M.throwError("The local list provided does not exists when trying to remove an element. [".concat(this.autoNumericLocalList, "] given.")) : this.autoNumericLocalList.delete(e) } }, { key: "_mergeSettings", value: function () { for (var e = arguments.length, t = new Array(e), i = 0; i < e; i++)t[i] = arguments[i]; b.apply(void 0, [this.settings].concat(t)) } }, { key: "_cloneAndMergeSettings", value: function () { for (var e = {}, t = arguments.length, i = new Array(t), n = 0; n < t; n++)i[n] = arguments[n]; return b.apply(void 0, [e, this.settings].concat(i)), e } }, { key: "_updatePredefinedOptions", value: function (e, t) { var i = 1 < arguments.length && void 0 !== t ? t : null; return M.isNull(i) ? this.update(e) : (this._mergeSettings(e, i), this.update(this.settings)), this } }, { key: "french", value: function (e) { var t = 0 < arguments.length && void 0 !== e ? e : null; return this._updatePredefinedOptions(B.getPredefinedOptions().French, t), this } }, { key: "northAmerican", value: function (e) { var t = 0 < arguments.length && void 0 !== e ? e : null; return this._updatePredefinedOptions(B.getPredefinedOptions().NorthAmerican, t), this } }, { key: "british", value: function (e) { var t = 0 < arguments.length && void 0 !== e ? e : null; return this._updatePredefinedOptions(B.getPredefinedOptions().British, t), this } }, { key: "swiss", value: function (e) { var t = 0 < arguments.length && void 0 !== e ? e : null; return this._updatePredefinedOptions(B.getPredefinedOptions().Swiss, t), this } }, { key: "japanese", value: function (e) { var t = 0 < arguments.length && void 0 !== e ? e : null; return this._updatePredefinedOptions(B.getPredefinedOptions().Japanese, t), this } }, { key: "spanish", value: function (e) { var t = 0 < arguments.length && void 0 !== e ? e : null; return this._updatePredefinedOptions(B.getPredefinedOptions().Spanish, t), this } }, { key: "chinese", value: function (e) { var t = 0 < arguments.length && void 0 !== e ? e : null; return this._updatePredefinedOptions(B.getPredefinedOptions().Chinese, t), this } }, { key: "brazilian", value: function (e) { var t = 0 < arguments.length && void 0 !== e ? e : null; return this._updatePredefinedOptions(B.getPredefinedOptions().Brazilian, t), this } }, { key: "_runCallbacksFoundInTheSettingsObject", value: function () { for (var e in this.settings) if (Object.prototype.hasOwnProperty.call(this.settings, e)) { var t = this.settings[e]; if ("function" == typeof t) this.settings[e] = t(this, e); else { var i = this.domElement.getAttribute(e); i = M.camelize(i), "function" == typeof this.settings[i] && (this.settings[e] = i(this, e)) } } } }, { key: "_setTrailingNegativeSignInfo", value: function () { this.isTrailingNegative = this.settings.currencySymbolPlacement === B.options.currencySymbolPlacement.prefix && this.settings.negativePositiveSignPlacement === B.options.negativePositiveSignPlacement.suffix || this.settings.currencySymbolPlacement === B.options.currencySymbolPlacement.suffix && (this.settings.negativePositiveSignPlacement === B.options.negativePositiveSignPlacement.left || this.settings.negativePositiveSignPlacement === B.options.negativePositiveSignPlacement.right) } }, { key: "_modifyNegativeSignAndDecimalCharacterForRawValue", value: function (e) { return "." !== this.settings.decimalCharacter && (e = e.replace(this.settings.decimalCharacter, ".")), "-" !== this.settings.negativeSignCharacter && this.settings.isNegativeSignAllowed && (e = e.replace(this.settings.negativeSignCharacter, "-")), e.match(/\d/) || (e += "0"), e } }, { key: "_initialCaretPosition", value: function (e) { M.isNull(this.settings.caretPositionOnFocus) && this.settings.selectOnFocus === B.options.selectOnFocus.doNotSelect && M.throwError("`_initialCaretPosition()` should never be called when the `caretPositionOnFocus` option is `null`."); var t = this.rawValue < 0, i = M.isZeroOrHasNoValue(e), n = e.length, a = 0, r = 0, s = !1, o = 0; this.settings.caretPositionOnFocus !== B.options.caretPositionOnFocus.start && (a = (e = (e = (e = e.replace(this.settings.negativeSignCharacter, "")).replace(this.settings.positiveSignCharacter, "")).replace(this.settings.currencySymbol, "")).length, s = M.contains(e, this.settings.decimalCharacter), this.settings.caretPositionOnFocus !== B.options.caretPositionOnFocus.decimalLeft && this.settings.caretPositionOnFocus !== B.options.caretPositionOnFocus.decimalRight || (o = s ? (r = e.indexOf(this.settings.decimalCharacter), this.settings.decimalCharacter.length) : (r = a, 0))); var l = ""; t ? l = this.settings.negativeSignCharacter : this.settings.showPositiveSign && !i && (l = this.settings.positiveSignCharacter); var u, c = l.length, h = this.settings.currencySymbol.length; if (this.settings.currencySymbolPlacement === B.options.currencySymbolPlacement.prefix) { if (this.settings.caretPositionOnFocus === B.options.caretPositionOnFocus.start) if (this.settings.negativePositiveSignPlacement !== B.options.negativePositiveSignPlacement.none && (t || !t && this.settings.showPositiveSign && !i)) switch (this.settings.negativePositiveSignPlacement) { case B.options.negativePositiveSignPlacement.prefix: case B.options.negativePositiveSignPlacement.left: case B.options.negativePositiveSignPlacement.right: u = c + h; break; case B.options.negativePositiveSignPlacement.suffix: u = h } else u = h; else if (this.settings.caretPositionOnFocus === B.options.caretPositionOnFocus.end) if (this.settings.negativePositiveSignPlacement !== B.options.negativePositiveSignPlacement.none && (t || !t && this.settings.showPositiveSign && !i)) switch (this.settings.negativePositiveSignPlacement) { case B.options.negativePositiveSignPlacement.prefix: case B.options.negativePositiveSignPlacement.left: case B.options.negativePositiveSignPlacement.right: u = n; break; case B.options.negativePositiveSignPlacement.suffix: u = h + a } else u = n; else if (this.settings.caretPositionOnFocus === B.options.caretPositionOnFocus.decimalLeft) if (this.settings.negativePositiveSignPlacement !== B.options.negativePositiveSignPlacement.none && (t || !t && this.settings.showPositiveSign && !i)) switch (this.settings.negativePositiveSignPlacement) { case B.options.negativePositiveSignPlacement.prefix: case B.options.negativePositiveSignPlacement.left: case B.options.negativePositiveSignPlacement.right: u = c + h + r; break; case B.options.negativePositiveSignPlacement.suffix: u = h + r } else u = h + r; else if (this.settings.caretPositionOnFocus === B.options.caretPositionOnFocus.decimalRight) if (this.settings.negativePositiveSignPlacement !== B.options.negativePositiveSignPlacement.none && (t || !t && this.settings.showPositiveSign && !i)) switch (this.settings.negativePositiveSignPlacement) { case B.options.negativePositiveSignPlacement.prefix: case B.options.negativePositiveSignPlacement.left: case B.options.negativePositiveSignPlacement.right: u = c + h + r + o; break; case B.options.negativePositiveSignPlacement.suffix: u = h + r + o } else u = h + r + o } else if (this.settings.currencySymbolPlacement === B.options.currencySymbolPlacement.suffix) if (this.settings.caretPositionOnFocus === B.options.caretPositionOnFocus.start) if (this.settings.negativePositiveSignPlacement !== B.options.negativePositiveSignPlacement.none && (t || !t && this.settings.showPositiveSign && !i)) switch (this.settings.negativePositiveSignPlacement) { case B.options.negativePositiveSignPlacement.suffix: case B.options.negativePositiveSignPlacement.right: case B.options.negativePositiveSignPlacement.left: u = 0; break; case B.options.negativePositiveSignPlacement.prefix: u = c } else u = 0; else if (this.settings.caretPositionOnFocus === B.options.caretPositionOnFocus.end) if (this.settings.negativePositiveSignPlacement !== B.options.negativePositiveSignPlacement.none && (t || !t && this.settings.showPositiveSign && !i)) switch (this.settings.negativePositiveSignPlacement) { case B.options.negativePositiveSignPlacement.suffix: case B.options.negativePositiveSignPlacement.right: case B.options.negativePositiveSignPlacement.left: u = a; break; case B.options.negativePositiveSignPlacement.prefix: u = c + a } else u = a; else if (this.settings.caretPositionOnFocus === B.options.caretPositionOnFocus.decimalLeft) if (this.settings.negativePositiveSignPlacement !== B.options.negativePositiveSignPlacement.none && (t || !t && this.settings.showPositiveSign && !i)) switch (this.settings.negativePositiveSignPlacement) { case B.options.negativePositiveSignPlacement.suffix: case B.options.negativePositiveSignPlacement.right: case B.options.negativePositiveSignPlacement.left: u = r; break; case B.options.negativePositiveSignPlacement.prefix: u = c + r } else u = r; else if (this.settings.caretPositionOnFocus === B.options.caretPositionOnFocus.decimalRight) if (this.settings.negativePositiveSignPlacement !== B.options.negativePositiveSignPlacement.none && (t || !t && this.settings.showPositiveSign && !i)) switch (this.settings.negativePositiveSignPlacement) { case B.options.negativePositiveSignPlacement.suffix: case B.options.negativePositiveSignPlacement.right: case B.options.negativePositiveSignPlacement.left: u = r + o; break; case B.options.negativePositiveSignPlacement.prefix: u = c + r + o } else u = r + o; return u } }, { key: "_triggerRangeEvents", value: function (e, t) { e || this._triggerEvent(B.events.minRangeExceeded, this.domElement), t || this._triggerEvent(B.events.maxRangeExceeded, this.domElement) } }, { key: "_setInvalidState", value: function () { this.isInputElement ? M.setInvalidState(this.domElement) : this._addCSSClass(this.settings.invalidClass), this._triggerEvent(B.events.invalidValue, this.domElement), this.validState = !1 } }, { key: "_setValidState", value: function () { this.isInputElement ? M.setValidState(this.domElement) : this._removeCSSClass(this.settings.invalidClass), this.validState || this._triggerEvent(B.events.correctedValue, this.domElement), this.validState = !0 } }, { key: "_setValidOrInvalidState", value: function (e) { if (this.settings.overrideMinMaxLimits === B.options.overrideMinMaxLimits.invalid) { var t = this.constructor._isMinimumRangeRespected(e, this.settings), i = this.constructor._isMaximumRangeRespected(e, this.settings); t && i ? this._setValidState() : this._setInvalidState(), this._triggerRangeEvents(t, i) } } }, { key: "_keepAnOriginalSettingsCopy", value: function () { this.originalDigitGroupSeparator = this.settings.digitGroupSeparator, this.originalCurrencySymbol = this.settings.currencySymbol, this.originalSuffixText = this.settings.suffixText } }, { key: "_trimLeadingAndTrailingZeros", value: function (e) { if ("" === e || null === e) return e; if (this.settings.leadingZero !== B.options.leadingZero.keep) { if (0 === Number(e)) return "0"; e = e.replace(/^(-)?0+(?=\d)/g, "$1") } return M.contains(e, ".") && (e = e.replace(/(\.[0-9]*?)0+$/, "$1")), e.replace(/\.$/, "") } }, { key: "_setPersistentStorageName", value: function () { this.settings.saveValueToSessionStorage && ("" === this.domElement.name || M.isUndefined(this.domElement.name) ? this.rawValueStorageName = "".concat(this.storageNamePrefix).concat(this.domElement.id) : this.rawValueStorageName = "".concat(this.storageNamePrefix).concat(decodeURIComponent(this.domElement.name))) } }, { key: "_saveValueToPersistentStorage", value: function () { this.settings.saveValueToSessionStorage && (this.sessionStorageAvailable ? sessionStorage.setItem(this.rawValueStorageName, this.rawValue) : document.cookie = "".concat(this.rawValueStorageName, "=").concat(this.rawValue, "; expires= ; path=/")) } }, { key: "_getValueFromPersistentStorage", value: function () { return this.settings.saveValueToSessionStorage ? this.sessionStorageAvailable ? sessionStorage.getItem(this.rawValueStorageName) : this.constructor._readCookie(this.rawValueStorageName) : (M.warning("`_getValueFromPersistentStorage()` is called but `settings.saveValueToSessionStorage` is false. There must be an error that needs fixing.", this.settings.showWarnings), null) } }, { key: "_removeValueFromPersistentStorage", value: function () { if (this.settings.saveValueToSessionStorage) if (this.sessionStorageAvailable) sessionStorage.removeItem(this.rawValueStorageName); else { var e = new Date; e.setTime(e.getTime() - 864e5); var t = "; expires=".concat(e.toUTCString()); document.cookie = "".concat(this.rawValueStorageName, "='' ;").concat(t, "; path=/") } } }, { key: "_getDefaultValue", value: function (e) { var t = e.getAttribute("value"); return M.isNull(t) ? "" : t } }, { key: "_onFocusInAndMouseEnter", value: function (e) { if (this.isEditing = !1, !this.formulaMode && this.settings.unformatOnHover && "mouseenter" === e.type && e.altKey) this.constructor._unformatAltHovered(this); else if ("focus" === e.type && (this.isFocused = !0, this.rawValueOnFocus = this.rawValue), "focus" === e.type && this.settings.unformatOnHover && this.hoveredWithAlt && this.constructor._reformatAltHovered(this), "focus" === e.type || "mouseenter" === e.type && !this.isFocused) { var t = null; this.settings.emptyInputBehavior === B.options.emptyInputBehavior.focus && this.rawValue < 0 && null !== this.settings.negativeBracketsTypeOnBlur && this.settings.isNegativeSignAllowed && (t = this.constructor._removeBrackets(M.getElementValue(this.domElement), this.settings)); var i = this._getRawValueToFormat(this.rawValue); if ("" !== i) { var n = this.constructor._roundFormattedValueShownOnFocusOrBlur(i, this.settings, this.isFocused); t = this.settings.showOnlyNumbersOnFocus === B.options.showOnlyNumbersOnFocus.onlyNumbers ? (this.settings.digitGroupSeparator = "", this.settings.currencySymbol = "", this.settings.suffixText = "", n.replace(".", this.settings.decimalCharacter)) : M.isNull(n) ? "" : this.constructor._addGroupSeparators(n.replace(".", this.settings.decimalCharacter), this.settings, this.isFocused, i) } M.isNull(t) ? this.valueOnFocus = "" : this.valueOnFocus = t, this.lastVal = this.valueOnFocus; var a = this.constructor._isElementValueEmptyOrOnlyTheNegativeSign(this.valueOnFocus, this.settings), r = this.constructor._orderValueCurrencySymbolAndSuffixText(this.valueOnFocus, this.settings, !0), s = a && "" !== r && this.settings.emptyInputBehavior === B.options.emptyInputBehavior.focus; s && (t = r), M.isNull(t) || this._setElementValue(t), s && r === this.settings.currencySymbol && this.settings.currencySymbolPlacement === B.options.currencySymbolPlacement.suffix && M.setElementSelection(e.target, 0) } } }, { key: "_onFocus", value: function () { this.settings.isCancellable && this._saveCancellableValue() } }, { key: "_onFocusIn", value: function (e) { this.settings.selectOnFocus ? this.select() : M.isNull(this.settings.caretPositionOnFocus) || M.setElementSelection(e.target, this._initialCaretPosition(M.getElementValue(this.domElement))) } }, { key: "_enterFormulaMode", value: function () { this.settings.formulaMode && (this.formulaMode = !0, M.setElementValue(this.domElement, "="), M.setElementSelection(this.domElement, 1)) } }, { key: "_exitFormulaMode", value: function () { var e, t = M.getElementValue(this.domElement); t = t.replace(/^\s*=/, ""); try { var i = new v(t, this.settings.decimalCharacter); e = (new u).evaluate(i) } catch (e) { return this._triggerEvent(B.events.invalidFormula, this.domElement, { formula: t, aNElement: this }), this.reformat(), void (this.formulaMode = !1) } this._triggerEvent(B.events.validFormula, this.domElement, { formula: t, result: e, aNElement: this }), this.set(e), this.formulaMode = !1 } }, { key: "_acceptNonPrintableKeysInFormulaMode", value: function () { return this.eventKey === g.keyName.Backspace || this.eventKey === g.keyName.Delete || this.eventKey === g.keyName.LeftArrow || this.eventKey === g.keyName.RightArrow || this.eventKey === g.keyName.Home || this.eventKey === g.keyName.End } }, { key: "_onKeydown", value: function (e) { if (this.formatted = !1, this.isEditing = !0, this.formulaMode || this.isFocused || !this.settings.unformatOnHover || !e.altKey || this.domElement !== M.getHoveredElement()) { if (this._updateEventKeyInfo(e), this.keydownEventCounter += 1, 1 === this.keydownEventCounter && (this.initialValueOnFirstKeydown = M.getElementValue(e.target), this.initialRawValueOnFirstKeydown = this.rawValue), this.formulaMode) { if (this.eventKey === g.keyName.Esc) return this.formulaMode = !1, void this.reformat(); if (this.eventKey === g.keyName.Enter) return void this._exitFormulaMode(); if (this._acceptNonPrintableKeysInFormulaMode()) return } else if (this.eventKey === g.keyName.Equal) return void this._enterFormulaMode(); if (this.domElement.readOnly || this.settings.readOnly || this.domElement.disabled) this.processed = !0; else { this.eventKey === g.keyName.Esc && (e.preventDefault(), this.settings.isCancellable && this.rawValue !== this.savedCancellableValue && (this.set(this.savedCancellableValue), this._triggerEvent(B.events.native.input, e.target)), this.select()); var t = M.getElementValue(e.target); if (this.eventKey === g.keyName.Enter && this.rawValue !== this.rawValueOnFocus && (this._triggerEvent(B.events.native.change, e.target), this.valueOnFocus = t, this.rawValueOnFocus = this.rawValue, this.settings.isCancellable && this._saveCancellableValue()), this._updateInternalProperties(e), this._processNonPrintableKeysAndShortcuts(e)) this.processed = !0; else if (this.eventKey === g.keyName.Backspace || this.eventKey === g.keyName.Delete) { var i = this._processCharacterDeletion(); if (this.processed = !0, !i) return void e.preventDefault(); this._formatValue(e), (t = M.getElementValue(e.target)) !== this.lastVal && this.throwInput && (this._triggerEvent(B.events.native.input, e.target), e.preventDefault()), this.lastVal = t, this.throwInput = !0 } } } else this.constructor._unformatAltHovered(this) } }, { key: "_onKeypress", value: function (e) { if (this.formulaMode) { if (this._acceptNonPrintableKeysInFormulaMode()) return; if (this.settings.formulaChars.test(this.eventKey)) return; e.preventDefault() } else if (this.eventKey !== g.keyName.Insert) { var t = this.processed; if (this._updateInternalProperties(e), !this._processNonPrintableKeysAndShortcuts(e)) if (t) e.preventDefault(); else { if (this._processCharacterInsertion()) { this._formatValue(e); var i = M.getElementValue(e.target); if (i !== this.lastVal && this.throwInput) this._triggerEvent(B.events.native.input, e.target), e.preventDefault(); else { if ((this.eventKey === this.settings.decimalCharacter || this.eventKey === this.settings.decimalCharacterAlternative) && M.getElementSelection(e.target).start === M.getElementSelection(e.target).end && M.getElementSelection(e.target).start === i.indexOf(this.settings.decimalCharacter)) { var n = M.getElementSelection(e.target).start + 1; M.setElementSelection(e.target, n) } e.preventDefault() } return this.lastVal = M.getElementValue(e.target), this.throwInput = !0, void this._setValidOrInvalidState(this.rawValue) } e.preventDefault() } } } }, { key: "_onKeyup", value: function (e) { if (this.isEditing = !1, this.keydownEventCounter = 0, !this.formulaMode) if (this.settings.isCancellable && this.eventKey === g.keyName.Esc) e.preventDefault(); else { if (this.eventKey === g.keyName.Z || this.eventKey === g.keyName.z) { if (e.ctrlKey && e.shiftKey) return e.preventDefault(), this._historyTableRedo(), void (this.onGoingRedo = !0); if (e.ctrlKey && !e.shiftKey) { if (!this.onGoingRedo) return e.preventDefault(), void this._historyTableUndo(); this.onGoingRedo = !1 } } if (this.onGoingRedo && (e.ctrlKey || e.shiftKey) && (this.onGoingRedo = !1), (e.ctrlKey || e.metaKey) && this.eventKey === g.keyName.x) { var t = M.getElementSelection(this.domElement).start, i = this.constructor._toNumericValue(M.getElementValue(e.target), this.settings); this.set(i), this._setCaretPosition(t) } if (this.eventKey === g.keyName.Alt && this.settings.unformatOnHover && this.hoveredWithAlt) this.constructor._reformatAltHovered(this); else if (!e.ctrlKey && !e.metaKey || this.eventKey !== g.keyName.Backspace && this.eventKey !== g.keyName.Delete) { this._updateInternalProperties(e); var n = this._processNonPrintableKeysAndShortcuts(e); delete this.valuePartsBeforePaste; var a = M.getElementValue(e.target); if (!(n || "" === a && "" === this.initialValueOnFirstKeydown) && (a === this.settings.currencySymbol ? this.settings.currencySymbolPlacement === B.options.currencySymbolPlacement.suffix ? M.setElementSelection(e.target, 0) : M.setElementSelection(e.target, this.settings.currencySymbol.length) : this.eventKey === g.keyName.Tab && M.setElementSelection(e.target, 0, a.length), (a === this.settings.suffixText || "" === this.rawValue && "" !== this.settings.currencySymbol && "" !== this.settings.suffixText) && M.setElementSelection(e.target, 0), null !== this.settings.decimalPlacesShownOnFocus && this._saveValueToPersistentStorage(), this.formatted || this._formatValue(e), this._setValidOrInvalidState(this.rawValue), this._saveRawValueForAndroid(), a !== this.initialValueOnFirstKeydown && this._triggerEvent(B.events.formatted, e.target, { oldValue: this.initialValueOnFirstKeydown, newValue: a, oldRawValue: this.initialRawValueOnFirstKeydown, newRawValue: this.rawValue, isPristine: this.isPristine(!1), error: null, aNElement: this }), 1 < this.historyTable.length)) { var r = M.getElementSelection(this.domElement); this.selectionStart = r.start, this.selectionEnd = r.end, this.historyTable[this.historyTableIndex].start = this.selectionStart, this.historyTable[this.historyTableIndex].end = this.selectionEnd } } else { var s = M.getElementValue(e.target); this._setRawValue(this._formatOrUnformatOther(!1, s)) } } } }, { key: "_saveRawValueForAndroid", value: function () { if (this.eventKey === g.keyName.AndroidDefault) { var e = this.constructor._stripAllNonNumberCharactersExceptCustomDecimalChar(this.getFormatted(), this.settings, !0, this.isFocused); e = this.constructor._convertToNumericString(e, this.settings), this._setRawValue(e) } } }, { key: "_onFocusOutAndMouseLeave", value: function (e) { if (this.isEditing = !1, "mouseleave" !== e.type || !this.formulaMode) if (this.settings.unformatOnHover && "mouseleave" === e.type && this.hoveredWithAlt) this.constructor._reformatAltHovered(this); else if ("mouseleave" === e.type && !this.isFocused || "blur" === e.type) { "blur" === e.type && this.formulaMode && this._exitFormulaMode(), this._saveValueToPersistentStorage(), this.settings.showOnlyNumbersOnFocus === B.options.showOnlyNumbersOnFocus.onlyNumbers && (this.settings.digitGroupSeparator = this.originalDigitGroupSeparator, this.settings.currencySymbol = this.originalCurrencySymbol, this.settings.suffixText = this.originalSuffixText); var t = this._getRawValueToFormat(this.rawValue), i = M.isNull(t), n = S(this.constructor._checkIfInRangeWithOverrideOption(t, this.settings), 2), a = n[0], r = n[1], s = !1; if ("" === t || i || (this._triggerRangeEvents(a, r), this.settings.valuesToStrings && this._checkValuesToStrings(t) && (this._setElementValue(this.settings.valuesToStrings[t]), s = !0)), !s) { var o; if (o = i || "" === t ? t : String(t), "" === t || i) { if ("" === t) switch (this.settings.emptyInputBehavior) { case B.options.emptyInputBehavior.zero: this._setRawValue("0"), o = this.constructor._roundValue("0", this.settings, 0); break; case B.options.emptyInputBehavior.min: this._setRawValue(this.settings.minimumValue), o = this.constructor._roundFormattedValueShownOnFocusOrBlur(this.settings.minimumValue, this.settings, this.isFocused); break; case B.options.emptyInputBehavior.max: this._setRawValue(this.settings.maximumValue), o = this.constructor._roundFormattedValueShownOnFocusOrBlur(this.settings.maximumValue, this.settings, this.isFocused); break; default: M.isNumber(this.settings.emptyInputBehavior) && (this._setRawValue(this.settings.emptyInputBehavior), o = this.constructor._roundFormattedValueShownOnFocusOrBlur(this.settings.emptyInputBehavior, this.settings, this.isFocused)) } } else a && r && !this.constructor._isElementValueEmptyOrOnlyTheNegativeSign(t, this.settings) ? (o = this._modifyNegativeSignAndDecimalCharacterForRawValue(o), this.settings.divisorWhenUnfocused && !M.isNull(o) && (o = (o /= this.settings.divisorWhenUnfocused).toString()), o = this.constructor._roundFormattedValueShownOnBlur(o, this.settings), o = this.constructor._modifyNegativeSignAndDecimalCharacterForFormattedValue(o, this.settings)) : this._triggerRangeEvents(a, r); var l = this.constructor._orderValueCurrencySymbolAndSuffixText(o, this.settings, !1); this.constructor._isElementValueEmptyOrOnlyTheNegativeSign(o, this.settings) || i && this.settings.emptyInputBehavior === B.options.emptyInputBehavior.null || (l = this.constructor._addGroupSeparators(o, this.settings, !1, t)), l === t && "" !== t && this.settings.allowDecimalPadding !== B.options.allowDecimalPadding.never && this.settings.allowDecimalPadding !== B.options.allowDecimalPadding.floats || (this.settings.symbolWhenUnfocused && "" !== t && null !== t && (l = "".concat(l).concat(this.settings.symbolWhenUnfocused)), this._setElementValue(l)) } this._setValidOrInvalidState(this.rawValue), "blur" === e.type && this._onBlur(e) } } }, { key: "_onPaste", value: function (e) { if (e.preventDefault(), !(this.settings.readOnly || this.domElement.readOnly || this.domElement.disabled)) { var t, i; window.clipboardData && window.clipboardData.getData ? t = window.clipboardData.getData("Text") : e.clipboardData && e.clipboardData.getData ? t = e.clipboardData.getData("text/plain") : M.throwError("Unable to retrieve the pasted value. Please use a modern browser (ie. Firefox or Chromium)."), i = e.target.tagName ? e.target : e.explicitOriginalTarget; var n = M.getElementValue(i), a = i.selectionStart || 0, r = i.selectionEnd || 0, s = r - a; if (s === n.length) { var o = this._preparePastedText(t), l = M.arabicToLatinNumbers(o, !1, !1, !1); return "." === l || "" === l || "." !== l && !M.isNumber(l) ? (this.formatted = !0, void (this.settings.onInvalidPaste === B.options.onInvalidPaste.error && M.throwError("The pasted value '".concat(t, "' is not a valid paste content.")))) : (this.set(l), this.formatted = !0, void this._triggerEvent(B.events.native.input, i)) } var u = M.isNegativeStrict(t, this.settings.negativeSignCharacter); u && (t = t.slice(1, t.length)); var c, h, m = this._preparePastedText(t); if ("." !== (c = "." === m ? "." : M.arabicToLatinNumbers(m, !1, !1, !1)) && (!M.isNumber(c) || "" === c)) return this.formatted = !0, void (this.settings.onInvalidPaste === B.options.onInvalidPaste.error && M.throwError("The pasted value '".concat(t, "' is not a valid paste content."))); var d, g, v = M.isNegativeStrict(this.getNumericString(), this.settings.negativeSignCharacter); d = !(!u || v) && (v = !0); var p = n.slice(0, a), f = n.slice(r, n.length); g = a !== r ? this._preparePastedText(p + f) : this._preparePastedText(n), v && (g = M.setRawNegativeSign(g)), h = M.convertCharacterCountToIndexPosition(M.countNumberCharactersOnTheCaretLeftSide(n, a, this.settings.decimalCharacter)), d && h++; var y = g.slice(0, h), S = g.slice(h, g.length), b = !1; "." === c && (M.contains(y, ".") && (b = !0, y = y.replace(".", "")), S = S.replace(".", "")); var w = !1; switch ("" === y && "-" === S && (y = "-", w = !(S = "")), this.settings.onInvalidPaste) { case B.options.onInvalidPaste.truncate: case B.options.onInvalidPaste.replace: for (var P = M.parseStr(this.settings.minimumValue), O = M.parseStr(this.settings.maximumValue), k = g, N = 0, E = y; N < c.length && (g = (E += c[N]) + S, this.constructor._checkIfInRange(g, P, O));)k = g, N++; if (h += N, w && h++, this.settings.onInvalidPaste === B.options.onInvalidPaste.truncate) { g = k, b && h--; break } for (var _ = h, C = k.length; N < c.length && _ < C;)if ("." !== k[_]) { if (g = M.replaceCharAt(k, _, c[N]), !this.constructor._checkIfInRange(g, P, O)) break; k = g, N++, _++ } else _++; h = _, b && h--, g = k; break; case B.options.onInvalidPaste.error: case B.options.onInvalidPaste.ignore: case B.options.onInvalidPaste.clamp: default: if (g = "".concat(y).concat(c).concat(S), a === r) h = M.convertCharacterCountToIndexPosition(M.countNumberCharactersOnTheCaretLeftSide(n, a, this.settings.decimalCharacter)) + c.length; else if ("" === S) h = M.convertCharacterCountToIndexPosition(M.countNumberCharactersOnTheCaretLeftSide(n, a, this.settings.decimalCharacter)) + c.length, w && h++; else { var F = M.convertCharacterCountToIndexPosition(M.countNumberCharactersOnTheCaretLeftSide(n, r, this.settings.decimalCharacter)), x = M.getElementValue(i).slice(a, r); h = F - s + M.countCharInText(this.settings.digitGroupSeparator, x) + c.length } d && h++, b && h-- }if (M.isNumber(g) && "" !== g) { var V = !1, T = !1; try { this.set(g), V = !0 } catch (e) { var A; switch (this.settings.onInvalidPaste) { case B.options.onInvalidPaste.clamp: A = M.clampToRangeLimits(g, this.settings); try { this.set(A) } catch (e) { M.throwError("Fatal error: Unable to set the clamped value '".concat(A, "'.")) } V = T = !0, g = A; break; case B.options.onInvalidPaste.error: case B.options.onInvalidPaste.truncate: case B.options.onInvalidPaste.replace: M.throwError("The pasted value '".concat(t, "' results in a value '").concat(g, "' that is outside of the minimum [").concat(this.settings.minimumValue, "] and maximum [").concat(this.settings.maximumValue, "] value range.")); case B.options.onInvalidPaste.ignore: default: return } } var L, I = M.getElementValue(i); if (V) switch (this.settings.onInvalidPaste) { case B.options.onInvalidPaste.clamp: if (T) { this.settings.currencySymbolPlacement === B.options.currencySymbolPlacement.suffix ? M.setElementSelection(i, I.length - this.settings.currencySymbol.length) : M.setElementSelection(i, I.length); break } case B.options.onInvalidPaste.error: case B.options.onInvalidPaste.ignore: case B.options.onInvalidPaste.truncate: case B.options.onInvalidPaste.replace: default: L = M.findCaretPositionInFormattedNumber(g, h, I, this.settings.decimalCharacter), M.setElementSelection(i, L) }V && n !== I && this._triggerEvent(B.events.native.input, i) } else this.settings.onInvalidPaste === B.options.onInvalidPaste.error && M.throwError("The pasted value '".concat(t, "' would result into an invalid content '").concat(g, "'.")) } } }, { key: "_onBlur", value: function (e) { this.isFocused = !1, this.isEditing = !1, this.rawValue !== this.rawValueOnFocus && this._triggerEvent(B.events.native.change, e.target), this.rawValueOnFocus = void 0 } }, { key: "_onWheel", value: function (e) { this.formulaMode || this.settings.readOnly || this.domElement.readOnly || this.domElement.disabled || this.settings.modifyValueOnWheel && (this.settings.wheelOn === B.options.wheelOn.focus ? this.isFocused ? e.shiftKey || this.wheelAction(e) : e.shiftKey && this.wheelAction(e) : this.settings.wheelOn === B.options.wheelOn.hover ? e.shiftKey ? (e.preventDefault(), window.scrollBy(0, M.isNegativeStrict(String(e.deltaY)) ? -50 : 50)) : this.wheelAction(e) : M.throwError("Unknown `wheelOn` option.")) } }, { key: "wheelAction", value: function (e) { this.isWheelEvent = !0; var t, i = e.target.selectionStart || 0, n = e.target.selectionEnd || 0, a = this.rawValue; if (M.isUndefinedOrNullOrEmpty(a) ? 0 < this.settings.minimumValue || this.settings.maximumValue < 0 ? M.isWheelUpEvent(e) ? t = this.settings.minimumValue : M.isWheelDownEvent(e) ? t = this.settings.maximumValue : M.throwError("The event is not a 'wheel' event.") : t = 0 : t = a, t = +t, M.isNumber(this.settings.wheelStep)) { var r = +this.settings.wheelStep; M.isWheelUpEvent(e) ? t += r : M.isWheelDownEvent(e) && (t -= r) } else M.isWheelUpEvent(e) ? t = M.addAndRoundToNearestAuto(t, this.settings.decimalPlacesRawValue) : M.isWheelDownEvent(e) && (t = M.subtractAndRoundToNearestAuto(t, this.settings.decimalPlacesRawValue)); (t = M.clampToRangeLimits(t, this.settings)) !== +a && (this.set(t), this._triggerEvent(B.events.native.input, e.target)), e.preventDefault(), this._setSelection(i, n), this.isWheelEvent = !1 } }, { key: "_onDrop", value: function (e) { if (!this.formulaMode) { var t; this.isDropEvent = !0, e.preventDefault(), t = M.isIE11() ? "text" : "text/plain"; var i = e.dataTransfer.getData(t), n = this.unformatOther(i); this.set(n), this.isDropEvent = !1 } } }, { key: "_onFormSubmit", value: function () { var t = this; return this._getFormAutoNumericChildren(this.parentForm).map(function (e) { return t.constructor.getAutoNumericElement(e) }).forEach(function (e) { return e._unformatOnSubmit() }), !0 } }, { key: "_onFormReset", value: function () { var i = this; this._getFormAutoNumericChildren(this.parentForm).map(function (e) { return i.constructor.getAutoNumericElement(e) }).forEach(function (e) { var t = i._getDefaultValue(e.node()); setTimeout(function () { return e.set(t) }, 0) }) } }, { key: "_unformatOnSubmit", value: function () { this.settings.unformatOnSubmit && this._setElementValue(this.rawValue) } }, { key: "_onKeydownGlobal", value: function (e) { if (M.character(e) === g.keyName.Alt) { var t = M.getHoveredElement(); if (B.isManagedByAutoNumeric(t)) { var i = B.getAutoNumericElement(t); !i.formulaMode && i.settings.unformatOnHover && this.constructor._unformatAltHovered(i) } } } }, { key: "_onKeyupGlobal", value: function (e) { if (M.character(e) === g.keyName.Alt) { var t = M.getHoveredElement(); if (B.isManagedByAutoNumeric(t)) { var i = B.getAutoNumericElement(t); if (i.formulaMode || !i.settings.unformatOnHover) return; this.constructor._reformatAltHovered(i) } } } }, { key: "_isElementTagSupported", value: function () { return M.isElement(this.domElement) || M.throwError("The DOM element is not valid, ".concat(this.domElement, " given.")), M.isInArray(this.domElement.tagName.toLowerCase(), this.allowedTagList) } }, { key: "_isInputElement", value: function () { return "input" === this.domElement.tagName.toLowerCase() } }, { key: "_isInputTypeSupported", value: function () { return "text" === this.domElement.type || "hidden" === this.domElement.type || "tel" === this.domElement.type || M.isUndefinedOrNullOrEmpty(this.domElement.type) } }, { key: "_checkElement", value: function () { var e = this.domElement.tagName.toLowerCase(); this._isElementTagSupported() || M.throwError("The <".concat(e, "> tag is not supported by autoNumeric")), this._isInputElement() ? (this._isInputTypeSupported() || M.throwError('The input type "'.concat(this.domElement.type, '" is not supported by autoNumeric')), this.isInputElement = !0) : (this.isInputElement = !1, this.isContentEditable = this.domElement.hasAttribute("contenteditable") && "true" === this.domElement.getAttribute("contenteditable")) } }, { key: "_formatDefaultValueOnPageLoad", value: function (e) { var t, i = 0 < arguments.length && void 0 !== e ? e : null, n = !0; if (M.isNull(i) ? (t = M.getElementValue(this.domElement).trim(), this.domElement.setAttribute("value", t)) : t = i, this.isInputElement || this.isContentEditable) { var a = this.constructor._toNumericValue(t, this.settings); if (this.domElement.hasAttribute("value") && "" !== this.domElement.getAttribute("value")) { if (null !== this.settings.defaultValueOverride && this.settings.defaultValueOverride.toString() !== t || null === this.settings.defaultValueOverride && "" !== t && t !== this.domElement.getAttribute("value") || "" !== t && "hidden" === this.domElement.getAttribute("type") && !M.isNumber(a)) { if (this.settings.saveValueToSessionStorage && (null !== this.settings.decimalPlacesShownOnFocus || this.settings.divisorWhenUnfocused) && this._setRawValue(this._getValueFromPersistentStorage()), !this.settings.saveValueToSessionStorage) { var r = this.constructor._removeBrackets(t, this.settings); (this.settings.negativePositiveSignPlacement === B.options.negativePositiveSignPlacement.suffix || this.settings.negativePositiveSignPlacement !== B.options.negativePositiveSignPlacement.prefix && this.settings.currencySymbolPlacement === B.options.currencySymbolPlacement.suffix) && "" !== this.settings.negativeSignCharacter && M.isNegative(t, this.settings.negativeSignCharacter) ? this._setRawValue("-".concat(this.constructor._stripAllNonNumberCharacters(r, this.settings, !0, this.isFocused))) : this._setRawValue(this.constructor._stripAllNonNumberCharacters(r, this.settings, !0, this.isFocused)) } n = !1 } } else isNaN(Number(a)) || 1 / 0 === a ? M.throwError("The value [".concat(t, "] used in the input is not a valid value autoNumeric can work with.")) : (this.set(a), n = !1); if ("" === t) switch (this.settings.emptyInputBehavior) { case B.options.emptyInputBehavior.focus: case B.options.emptyInputBehavior.null: case B.options.emptyInputBehavior.press: break; case B.options.emptyInputBehavior.always: this._setElementValue(this.settings.currencySymbol); break; case B.options.emptyInputBehavior.min: this.set(this.settings.minimumValue); break; case B.options.emptyInputBehavior.max: this.set(this.settings.maximumValue); break; case B.options.emptyInputBehavior.zero: this.set("0"); break; default: this.set(this.settings.emptyInputBehavior) } else n && t === this.domElement.getAttribute("value") && this.set(t) } else null !== this.settings.defaultValueOverride && this.settings.defaultValueOverride !== t || this.set(t) } }, { key: "_calculateVMinAndVMaxIntegerSizes", value: function () { var e = S(this.settings.maximumValue.toString().split("."), 1)[0], t = S(this.settings.minimumValue || 0 === this.settings.minimumValue ? this.settings.minimumValue.toString().split(".") : [], 1)[0]; e = e.replace(this.settings.negativeSignCharacter, ""), t = t.replace(this.settings.negativeSignCharacter, ""), this.settings.mIntPos = Math.max(e.length, 1), this.settings.mIntNeg = Math.max(t.length, 1) } }, { key: "_calculateValuesToStringsKeys", value: function () { this.settings.valuesToStrings ? this.valuesToStringsKeys = Object.keys(this.settings.valuesToStrings) : this.valuesToStringsKeys = [] } }, { key: "_transformOptionsValuesToDefaultTypes", value: function () { for (var e in this.settings) if (Object.prototype.hasOwnProperty.call(this.settings, e)) { var t = this.settings[e]; "true" !== t && "false" !== t || (this.settings[e] = "true" === t), "number" == typeof t && (this.settings[e] = t.toString()) } } }, { key: "_setSettings", value: function (e, t) { var i = 1 < arguments.length && void 0 !== t && t; !i && M.isNull(e) || this.constructor._convertOldOptionsToNewOnes(e), i ? ("decimalPlacesRawValue" in e && (this.settings.originalDecimalPlacesRawValue = e.decimalPlacesRawValue), "decimalPlaces" in e && (this.settings.originalDecimalPlaces = e.decimalPlaces), this.constructor._calculateDecimalPlacesOnUpdate(e, this.settings), this._mergeSettings(e)) : (this.settings = {}, this._mergeSettings(this.constructor.getDefaultConfig(), this.domElement.dataset, e, { rawValue: this.defaultRawValue }), this.caretFix = !1, this.throwInput = !0, this.allowedTagList = g.allowedTagList, this.runOnce = !1, this.hoveredWithAlt = !1), this._transformOptionsValuesToDefaultTypes(), this._runCallbacksFoundInTheSettingsObject(), this.constructor._correctNegativePositiveSignPlacementOption(this.settings), this.constructor._correctCaretPositionOnFocusAndSelectOnFocusOptions(this.settings), this.constructor._setNegativePositiveSignPermissions(this.settings), i || (M.isNull(e) || !e.decimalPlaces ? this.settings.originalDecimalPlaces = null : this.settings.originalDecimalPlaces = e.decimalPlaces, this.settings.originalDecimalPlacesRawValue = this.settings.decimalPlacesRawValue, this.constructor._calculateDecimalPlacesOnInit(this.settings)), this._calculateVMinAndVMaxIntegerSizes(), this._setTrailingNegativeSignInfo(), this.regex = {}, this.constructor._cachesUsualRegularExpressions(this.settings, this.regex), this.constructor._setBrackets(this.settings), this._calculateValuesToStringsKeys(), M.isEmptyObj(this.settings) && M.throwError("Unable to set the settings, those are invalid ; an empty object was given."), this.constructor.validate(this.settings, !1, e), this._keepAnOriginalSettingsCopy() } }, { key: "_preparePastedText", value: function (e) { return this.constructor._stripAllNonNumberCharacters(e, this.settings, !0, this.isFocused) } }, { key: "_updateInternalProperties", value: function () { this.selection = M.getElementSelection(this.domElement), this.processed = !1 } }, { key: "_updateEventKeyInfo", value: function (e) { this.eventKey = M.character(e) } }, { key: "_saveCancellableValue", value: function () { this.savedCancellableValue = this.rawValue } }, { key: "_setSelection", value: function (e, t) { e = Math.max(e, 0), t = Math.min(t, M.getElementValue(this.domElement).length), this.selection = { start: e, end: t, length: t - e }, M.setElementSelection(this.domElement, e, t) } }, { key: "_setCaretPosition", value: function (e) { this._setSelection(e, e) } }, { key: "_getLeftAndRightPartAroundTheSelection", value: function () { var e = M.getElementValue(this.domElement); return [e.substring(0, this.selection.start), e.substring(this.selection.end, e.length)] } }, { key: "_getUnformattedLeftAndRightPartAroundTheSelection", value: function () { var e = S(this._getLeftAndRightPartAroundTheSelection(), 2), t = e[0], i = e[1]; if ("" === t && "" === i) return ["", ""]; var n = !0; return this.eventKey !== g.keyName.Hyphen && this.eventKey !== g.keyName.Minus || 0 !== Number(t) || (n = !1), this.isTrailingNegative && (M.isNegative(i, this.settings.negativeSignCharacter) && !M.isNegative(t, this.settings.negativeSignCharacter) || "" === i && M.isNegative(t, this.settings.negativeSignCharacter, !0)) && (t = t.replace(this.settings.negativeSignCharacter, ""), i = i.replace(this.settings.negativeSignCharacter, ""), t = t.replace("-", ""), i = i.replace("-", ""), t = "-".concat(t)), [t = B._stripAllNonNumberCharactersExceptCustomDecimalChar(t, this.settings, n, this.isFocused), i = B._stripAllNonNumberCharactersExceptCustomDecimalChar(i, this.settings, !1, this.isFocused)] } }, { key: "_normalizeParts", value: function (e, t) { var i = !0; this.eventKey !== g.keyName.Hyphen && this.eventKey !== g.keyName.Minus || 0 !== Number(e) || (i = !1), this.isTrailingNegative && M.isNegative(t, this.settings.negativeSignCharacter) && !M.isNegative(e, this.settings.negativeSignCharacter) && (e = "-".concat(e), t = t.replace(this.settings.negativeSignCharacter, "")), e = B._stripAllNonNumberCharactersExceptCustomDecimalChar(e, this.settings, i, this.isFocused), t = B._stripAllNonNumberCharactersExceptCustomDecimalChar(t, this.settings, !1, this.isFocused), this.settings.leadingZero !== B.options.leadingZero.deny || this.eventKey !== g.keyName.num0 && this.eventKey !== g.keyName.numpad0 || 0 !== Number(e) || M.contains(e, this.settings.decimalCharacter) || "" === t || (e = e.substring(0, e.length - 1)); var n = e + t; if (this.settings.decimalCharacter) { var a = n.match(new RegExp("^".concat(this.regex.aNegRegAutoStrip, "\\").concat(this.settings.decimalCharacter))); a && (n = (e = e.replace(a[1], a[1] + "0")) + t) } return [e, t, n] } }, { key: "_setValueParts", value: function (e, t, i) { var n = 2 < arguments.length && void 0 !== i && i, a = S(this._normalizeParts(e, t), 3), r = a[0], s = a[1], o = a[2], l = S(B._checkIfInRangeWithOverrideOption(o, this.settings), 2), u = l[0], c = l[1]; if (u && c) { var h = B._truncateDecimalPlaces(o, this.settings, n, this.settings.decimalPlacesRawValue).replace(this.settings.decimalCharacter, "."); if ("" === h || h === this.settings.negativeSignCharacter) { var m; switch (this.settings.emptyInputBehavior) { case B.options.emptyInputBehavior.focus: case B.options.emptyInputBehavior.press: case B.options.emptyInputBehavior.always: m = ""; break; case B.options.emptyInputBehavior.min: m = this.settings.minimumValue; break; case B.options.emptyInputBehavior.max: m = this.settings.maximumValue; break; case B.options.emptyInputBehavior.zero: m = "0"; break; case B.options.emptyInputBehavior.null: m = null; break; default: m = this.settings.emptyInputBehavior }this._setRawValue(m) } else this._setRawValue(this._trimLeadingAndTrailingZeros(h)); var d = B._truncateDecimalPlaces(o, this.settings, n, this.settings.decimalPlacesShownOnFocus), g = r.length; return g > d.length && (g = d.length), 1 === g && "0" === r && this.settings.leadingZero === B.options.leadingZero.deny && (g = "" === s || "0" === r && "" !== s ? 1 : 0), this._setElementValue(d, !1), this._setCaretPosition(g), !0 } return this._triggerRangeEvents(u, c), !1 } }, { key: "_getSignPosition", value: function () { var e; if (this.settings.currencySymbol) { var t = this.settings.currencySymbol.length, i = M.getElementValue(this.domElement); if (this.settings.currencySymbolPlacement === B.options.currencySymbolPlacement.prefix) e = this.settings.negativeSignCharacter && i && i.charAt(0) === this.settings.negativeSignCharacter ? [1, t + 1] : [0, t]; else { var n = i.length; e = [n - t, n] } } else e = [1e3, -1]; return e } }, { key: "_expandSelectionOnSign", value: function () { var e = S(this._getSignPosition(), 2), t = e[0], i = e[1], n = this.selection; n.start < i && n.end > t && ((n.start < t || n.end > i) && M.getElementValue(this.domElement).substring(Math.max(n.start, t), Math.min(n.end, i)).match(/^\s*$/) ? n.start < t ? this._setSelection(n.start, t) : this._setSelection(i, n.end) : this._setSelection(Math.min(n.start, t), Math.max(n.end, i))) } }, { key: "_checkPaste", value: function () { if (!this.formatted && !M.isUndefined(this.valuePartsBeforePaste)) { var e = this.valuePartsBeforePaste, t = S(this._getLeftAndRightPartAroundTheSelection(), 2), i = t[0], n = t[1]; delete this.valuePartsBeforePaste; var a = i.substr(0, e[0].length) + B._stripAllNonNumberCharactersExceptCustomDecimalChar(i.substr(e[0].length), this.settings, !0, this.isFocused); this._setValueParts(a, n, !0) || (this._setElementValue(e.join(""), !1), this._setCaretPosition(e[0].length)) } } }, { key: "_processNonPrintableKeysAndShortcuts", value: function (e) { if ((e.ctrlKey || e.metaKey) && "keyup" === e.type && !M.isUndefined(this.valuePartsBeforePaste) || e.shiftKey && this.eventKey === g.keyName.Insert) return this._checkPaste(), !1; if (this.constructor._shouldSkipEventKey(this.eventKey)) return !0; if ((e.ctrlKey || e.metaKey) && this.eventKey === g.keyName.a) return this.settings.selectNumberOnly && (e.preventDefault(), this.selectNumber()), !0; if ((e.ctrlKey || e.metaKey) && (this.eventKey === g.keyName.c || this.eventKey === g.keyName.v || this.eventKey === g.keyName.x)) return "keydown" === e.type && this._expandSelectionOnSign(), this.eventKey !== g.keyName.v && this.eventKey !== g.keyName.Insert || ("keydown" === e.type || "keypress" === e.type ? M.isUndefined(this.valuePartsBeforePaste) && (this.valuePartsBeforePaste = this._getLeftAndRightPartAroundTheSelection()) : this._checkPaste()), "keydown" === e.type || "keypress" === e.type || this.eventKey === g.keyName.c; if (e.ctrlKey || e.metaKey) return !(this.eventKey === g.keyName.Z || this.eventKey === g.keyName.z); if (this.eventKey !== g.keyName.LeftArrow && this.eventKey !== g.keyName.RightArrow) return M.isInArray(this.eventKey, g.keyName._directionKeys); if ("keydown" === e.type && !e.shiftKey) { var t = M.getElementValue(this.domElement); this.eventKey !== g.keyName.LeftArrow || t.charAt(this.selection.start - 2) !== this.settings.digitGroupSeparator && t.charAt(this.selection.start - 2) !== this.settings.decimalCharacter ? this.eventKey !== g.keyName.RightArrow || t.charAt(this.selection.start + 1) !== this.settings.digitGroupSeparator && t.charAt(this.selection.start + 1) !== this.settings.decimalCharacter || this._setCaretPosition(this.selection.start + 1) : this._setCaretPosition(this.selection.start - 1) } return !0 } }, { key: "_processCharacterDeletionIfTrailingNegativeSign", value: function (e) { var t = S(e, 2), i = t[0], n = t[1], a = M.getElementValue(this.domElement), r = M.isNegative(a, this.settings.negativeSignCharacter); if (this.settings.currencySymbolPlacement === B.options.currencySymbolPlacement.prefix && this.settings.negativePositiveSignPlacement === B.options.negativePositiveSignPlacement.suffix && (this.eventKey === g.keyName.Backspace ? (this.caretFix = this.selection.start >= a.indexOf(this.settings.suffixText) && "" !== this.settings.suffixText, "-" === a.charAt(this.selection.start - 1) ? i = i.substring(1) : this.selection.start <= a.length - this.settings.suffixText.length && (i = i.substring(0, i.length - 1))) : (this.caretFix = this.selection.start >= a.indexOf(this.settings.suffixText) && "" !== this.settings.suffixText, this.selection.start >= a.indexOf(this.settings.currencySymbol) + this.settings.currencySymbol.length && (n = n.substring(1, n.length)), M.isNegative(i, this.settings.negativeSignCharacter) && "-" === a.charAt(this.selection.start) && (i = i.substring(1)))), this.settings.currencySymbolPlacement === B.options.currencySymbolPlacement.suffix) switch (this.settings.negativePositiveSignPlacement) { case B.options.negativePositiveSignPlacement.left: this.caretFix = this.selection.start >= a.indexOf(this.settings.negativeSignCharacter) + this.settings.negativeSignCharacter.length, this.eventKey === g.keyName.Backspace ? this.selection.start === a.indexOf(this.settings.negativeSignCharacter) + this.settings.negativeSignCharacter.length && r ? i = i.substring(1) : "-" !== i && (this.selection.start <= a.indexOf(this.settings.negativeSignCharacter) || !r) && (i = i.substring(0, i.length - 1)) : ("-" === i[0] && (n = n.substring(1)), this.selection.start === a.indexOf(this.settings.negativeSignCharacter) && r && (i = i.substring(1))); break; case B.options.negativePositiveSignPlacement.right: this.caretFix = this.selection.start >= a.indexOf(this.settings.negativeSignCharacter) + this.settings.negativeSignCharacter.length, this.eventKey === g.keyName.Backspace ? this.selection.start === a.indexOf(this.settings.negativeSignCharacter) + this.settings.negativeSignCharacter.length ? i = i.substring(1) : ("-" !== i && this.selection.start <= a.indexOf(this.settings.negativeSignCharacter) - this.settings.currencySymbol.length || "" !== i && !r) && (i = i.substring(0, i.length - 1)) : (this.caretFix = this.selection.start >= a.indexOf(this.settings.currencySymbol) && "" !== this.settings.currencySymbol, this.selection.start === a.indexOf(this.settings.negativeSignCharacter) && (i = i.substring(1)), n = n.substring(1)) }return [i, n] } }, { key: "_processCharacterDeletion", value: function () { var e, t; if (this.selection.length) { this._expandSelectionOnSign(); var i = S(this._getUnformattedLeftAndRightPartAroundTheSelection(), 2); e = i[0], t = i[1] } else { var n = S(this._getUnformattedLeftAndRightPartAroundTheSelection(), 2); if (e = n[0], t = n[1], "" === e && "" === t && (this.throwInput = !1), this.isTrailingNegative && M.isNegative(M.getElementValue(this.domElement), this.settings.negativeSignCharacter)) { var a = S(this._processCharacterDeletionIfTrailingNegativeSign([e, t]), 2); e = a[0], t = a[1] } else this.eventKey === g.keyName.Backspace ? e = e.substring(0, e.length - 1) : t = t.substring(1, t.length) } return !!this.constructor._isWithinRangeWithOverrideOption("".concat(e).concat(t), this.settings) && (this._setValueParts(e, t), !0) } }, { key: "_isDecimalCharacterInsertionAllowed", value: function () { return String(this.settings.decimalPlacesShownOnFocus) !== String(B.options.decimalPlacesShownOnFocus.none) && String(this.settings.decimalPlaces) !== String(B.options.decimalPlaces.none) } }, { key: "_processCharacterInsertion", value: function () { var e = S(this._getUnformattedLeftAndRightPartAroundTheSelection(), 2), t = e[0], i = e[1]; if (this.eventKey !== g.keyName.AndroidDefault && (this.throwInput = !0), this.eventKey === this.settings.decimalCharacter || this.settings.decimalCharacterAlternative && this.eventKey === this.settings.decimalCharacterAlternative) { if (!this._isDecimalCharacterInsertionAllowed() || !this.settings.decimalCharacter) return !1; if (this.settings.alwaysAllowDecimalCharacter) t = t.replace(this.settings.decimalCharacter, ""), i = i.replace(this.settings.decimalCharacter, ""); else { if (M.contains(t, this.settings.decimalCharacter)) return !0; if (0 < i.indexOf(this.settings.decimalCharacter)) return !0; 0 === i.indexOf(this.settings.decimalCharacter) && (i = i.substr(1)) } return this.settings.negativeSignCharacter && M.contains(i, this.settings.negativeSignCharacter) && (t = "".concat(this.settings.negativeSignCharacter).concat(t), i = i.replace(this.settings.negativeSignCharacter, "")), this._setValueParts(t + this.settings.decimalCharacter, i), !0 } if (("-" === this.eventKey || "+" === this.eventKey) && this.settings.isNegativeSignAllowed) return "" === t && M.contains(i, "-") ? i = i.replace("-", "") : t = M.isNegativeStrict(t, "-") ? t.replace("-", "") : "".concat(this.settings.negativeSignCharacter).concat(t), this._setValueParts(t, i), !0; var n = Number(this.eventKey); return 0 <= n && n <= 9 ? (this.settings.isNegativeSignAllowed && "" === t && M.contains(i, "-") && (t = "-", i = i.substring(1, i.length)), this.settings.maximumValue <= 0 && this.settings.minimumValue < this.settings.maximumValue && !M.contains(M.getElementValue(this.domElement), this.settings.negativeSignCharacter) && "0" !== this.eventKey && (t = "-".concat(t)), this._setValueParts("".concat(t).concat(this.eventKey), i), !0) : this.throwInput = !1 } }, { key: "_formatValue", value: function (e) { var t = M.getElementValue(this.domElement), i = S(this._getUnformattedLeftAndRightPartAroundTheSelection(), 1)[0]; if (("" === this.settings.digitGroupSeparator || "" !== this.settings.digitGroupSeparator && !M.contains(t, this.settings.digitGroupSeparator)) && ("" === this.settings.currencySymbol || "" !== this.settings.currencySymbol && !M.contains(t, this.settings.currencySymbol))) { var n = S(t.split(this.settings.decimalCharacter), 1)[0], a = ""; M.isNegative(n, this.settings.negativeSignCharacter) && (a = this.settings.negativeSignCharacter, n = n.replace(this.settings.negativeSignCharacter, ""), i = i.replace("-", "")), "" === a && n.length > this.settings.mIntPos && "0" === i.charAt(0) && (i = i.slice(1)), a === this.settings.negativeSignCharacter && n.length > this.settings.mIntNeg && "0" === i.charAt(0) && (i = i.slice(1)), this.isTrailingNegative || (i = "".concat(a).concat(i)) } var r = this.constructor._addGroupSeparators(t, this.settings, this.isFocused, this.rawValue), s = r.length; if (r) { var o, l = i.split(""); if ((this.settings.negativePositiveSignPlacement === B.options.negativePositiveSignPlacement.suffix || this.settings.negativePositiveSignPlacement !== B.options.negativePositiveSignPlacement.prefix && this.settings.currencySymbolPlacement === B.options.currencySymbolPlacement.suffix) && l[0] === this.settings.negativeSignCharacter && !this.settings.isNegativeSignAllowed && (l.shift(), (this.eventKey === g.keyName.Backspace || this.eventKey === g.keyName.Delete) && this.caretFix && ((this.settings.currencySymbolPlacement === B.options.currencySymbolPlacement.suffix && this.settings.negativePositiveSignPlacement === B.options.negativePositiveSignPlacement.left || this.settings.currencySymbolPlacement === B.options.currencySymbolPlacement.prefix && this.settings.negativePositiveSignPlacement === B.options.negativePositiveSignPlacement.suffix) && (l.push(this.settings.negativeSignCharacter), this.caretFix = "keydown" === e.type), this.settings.currencySymbolPlacement === B.options.currencySymbolPlacement.suffix && this.settings.negativePositiveSignPlacement === B.options.negativePositiveSignPlacement.right))) { var u = this.settings.currencySymbol.split(""), c = ["\\", "^", "$", ".", "|", "?", "*", "+", "(", ")", "["], h = []; u.forEach(function (e, t) { t = u[e], M.isInArray(t, c) ? h.push("\\" + t) : h.push(t) }), this.eventKey === g.keyName.Backspace && "-" === this.settings.negativeSignCharacter && h.push("-"), l.push(h.join("")), this.caretFix = "keydown" === e.type } for (var m = 0; m < l.length; m++)l[m].match("\\d") || (l[m] = "\\" + l[m]); o = this.settings.currencySymbolPlacement === B.options.currencySymbolPlacement.suffix ? new RegExp("^.*?".concat(l.join(".*?"))) : new RegExp("^.*?[".concat(this.settings.currencySymbol, "]").concat(l.join(".*?"))); var d = r.match(o); d ? (s = d[0].length, this.settings.showPositiveSign && (0 === s && d.input.charAt(0) === this.settings.positiveSignCharacter && (s = 1 === d.input.indexOf(this.settings.currencySymbol) ? this.settings.currencySymbol.length + 1 : 1), 0 === s && d.input.charAt(this.settings.currencySymbol.length) === this.settings.positiveSignCharacter && (s = this.settings.currencySymbol.length + 1)), (0 === s && r.charAt(0) !== this.settings.negativeSignCharacter || 1 === s && r.charAt(0) === this.settings.negativeSignCharacter) && this.settings.currencySymbol && this.settings.currencySymbolPlacement === B.options.currencySymbolPlacement.prefix && (s = this.settings.currencySymbol.length + (M.isNegativeStrict(r, this.settings.negativeSignCharacter) ? 1 : 0))) : (this.settings.currencySymbol && this.settings.currencySymbolPlacement === B.options.currencySymbolPlacement.suffix && (s -= this.settings.currencySymbol.length), this.settings.suffixText && (s -= this.settings.suffixText.length)) } r !== t && (this._setElementValue(r, !1), this._setCaretPosition(s)), this.formatted = !0 } }]), P(e, t), B }(); function N(e, t) { t = t || { bubbles: !1, cancelable: !1, detail: void 0 }; var i = document.createEvent("CustomEvent"); return i.initCustomEvent(e, t.bubbles, t.cancelable, t.detail), i } k.multiple = function (e) { var i = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : null, t = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null, n = []; if (M.isObject(i) && (t = i, i = null), M.isString(e)) e = p(document.querySelectorAll(e)); else if (M.isObject(e)) { Object.prototype.hasOwnProperty.call(e, "rootElement") || M.throwError("The object passed to the 'multiple' function is invalid ; no 'rootElement' attribute found."); var a = p(e.rootElement.querySelectorAll("input")); e = Object.prototype.hasOwnProperty.call(e, "exclude") ? (Array.isArray(e.exclude) || M.throwError("The 'exclude' array passed to the 'multiple' function is invalid."), M.filterOut(a, e.exclude)) : a } else M.isArray(e) || M.throwError("The given parameters to the 'multiple' function are invalid."); if (0 === e.length) { var r = !0; return !M.isNull(t) && M.isBoolean(t.showWarnings) && (r = t.showWarnings), M.warning("No valid DOM elements were given hence no AutoNumeric objects were instantiated.", r), [] } var s = M.isArray(i) && 1 <= i.length, o = !1, l = !1; if (s) { var u = w(Number(i[0])); (o = "number" === u && !isNaN(Number(i[0]))) || "string" !== u && !isNaN(u) && "object" !== u || (l = !0) } var c, h = !1; if (M.isArray(t) && 1 <= t.length) { var m = w(t[0]); "string" !== m && "object" !== m || (h = !0) } c = l ? k.mergeOptions(i) : h ? k.mergeOptions(t) : t; var d, g = M.isNumber(i); return o && (d = i.length), e.forEach(function (e, t) { g ? n.push(new k(e, i, c)) : o && t <= d ? n.push(new k(e, i[t], c)) : n.push(new k(e, null, c)) }), n }, Array.from || (Array.from = function (e) { return [].slice.call(e) }), "undefined" != typeof window && "function" != typeof window.CustomEvent && (N.prototype = window.Event.prototype, window.CustomEvent = N), k.events = { correctedValue: "autoNumeric:correctedValue", initialized: "autoNumeric:initialized", invalidFormula: "autoNumeric:invalidFormula", invalidValue: "autoNumeric:invalidValue", formatted: "autoNumeric:formatted", rawValueModified: "autoNumeric:rawValueModified", minRangeExceeded: "autoNumeric:minExceeded", maxRangeExceeded: "autoNumeric:maxExceeded", native: { input: "input", change: "change" }, validFormula: "autoNumeric:validFormula" }, Object.freeze(k.events.native), Object.freeze(k.events), Object.defineProperty(k, "events", { configurable: !1, writable: !1 }), k.options = { allowDecimalPadding: { always: !0, never: !1, floats: "floats" }, alwaysAllowDecimalCharacter: { alwaysAllow: !0, doNotAllow: !1 }, caretPositionOnFocus: { start: "start", end: "end", decimalLeft: "decimalLeft", decimalRight: "decimalRight", doNoForceCaretPosition: null }, createLocalList: { createList: !0, doNotCreateList: !1 }, currencySymbol: { none: "", currencySign: "¤", austral: "₳", australCentavo: "¢", baht: "฿", cedi: "₵", cent: "¢", colon: "₡", cruzeiro: "₢", dollar: "$", dong: "₫", drachma: "₯", dram: "֏", european: "₠", euro: "€", florin: "ƒ", franc: "₣", guarani: "₲", hryvnia: "₴", kip: "₭", att: "ອັດ", lepton: "Λ.", lira: "₺", liraOld: "₤", lari: "₾", mark: "ℳ", mill: "₥", naira: "₦", peseta: "₧", peso: "₱", pfennig: "₰", pound: "£", real: "R$", riel: "៛", ruble: "₽", rupee: "₹", rupeeOld: "₨", shekel: "₪", shekelAlt: "ש״ח", taka: "৳", tenge: "₸", togrog: "₮", won: "₩", yen: "¥" }, currencySymbolPlacement: { prefix: "p", suffix: "s" }, decimalCharacter: { comma: ",", dot: ".", middleDot: "·", arabicDecimalSeparator: "٫", decimalSeparatorKeySymbol: "⎖" }, decimalCharacterAlternative: { none: null, comma: ",", dot: "." }, decimalPlaces: { none: 0, one: 1, two: 2, three: 3, four: 4, five: 5, six: 6 }, decimalPlacesRawValue: { useDefault: null, none: 0, one: 1, two: 2, three: 3, four: 4, five: 5, six: 6 }, decimalPlacesShownOnBlur: { useDefault: null, none: 0, one: 1, two: 2, three: 3, four: 4, five: 5, six: 6 }, decimalPlacesShownOnFocus: { useDefault: null, none: 0, one: 1, two: 2, three: 3, four: 4, five: 5, six: 6 }, defaultValueOverride: { doNotOverride: null }, digitalGroupSpacing: { two: "2", twoScaled: "2s", three: "3", four: "4" }, digitGroupSeparator: { comma: ",", dot: ".", normalSpace: " ", thinSpace: " ", narrowNoBreakSpace: " ", noBreakSpace: " ", noSeparator: "", apostrophe: "'", arabicThousandsSeparator: "٬", dotAbove: "˙", privateUseTwo: "’" }, divisorWhenUnfocused: { none: null, percentage: 100, permille: 1e3, basisPoint: 1e4 }, emptyInputBehavior: { focus: "focus", press: "press", always: "always", zero: "zero", min: "min", max: "max", null: "null" }, eventBubbles: { bubbles: !0, doesNotBubble: !1 }, eventIsCancelable: { isCancelable: !0, isNotCancelable: !1 }, failOnUnknownOption: { fail: !0, ignore: !1 }, formatOnPageLoad: { format: !0, doNotFormat: !1 }, formulaMode: { enabled: !0, disabled: !1 }, historySize: { verySmall: 5, small: 10, medium: 20, large: 50, veryLarge: 100, insane: Number.MAX_SAFE_INTEGER }, invalidClass: "an-invalid", isCancellable: { cancellable: !0, notCancellable: !1 }, leadingZero: { allow: "allow", deny: "deny", keep: "keep" }, maximumValue: { tenTrillions: "10000000000000", oneBillion: "1000000000", zero: "0" }, minimumValue: { tenTrillions: "-10000000000000", oneBillion: "-1000000000", zero: "0" }, modifyValueOnWheel: { modifyValue: !0, doNothing: !1 }, negativeBracketsTypeOnBlur: { parentheses: "(,)", brackets: "[,]", chevrons: "<,>", curlyBraces: "{,}", angleBrackets: "〈,〉", japaneseQuotationMarks: "「,」", halfBrackets: "⸤,⸥", whiteSquareBrackets: "⟦,⟧", quotationMarks: "‹,›", guillemets: "«,»", none: null }, negativePositiveSignPlacement: { prefix: "p", suffix: "s", left: "l", right: "r", none: null }, negativeSignCharacter: { hyphen: "-", minus: "−", heavyMinus: "➖", fullWidthHyphen: "-", circledMinus: "⊖", squaredMinus: "⊟", triangleMinus: "⨺", plusMinus: "±", minusPlus: "∓", dotMinus: "∸", minusTilde: "≂", not: "¬" }, noEventListeners: { noEvents: !0, addEvents: !1 }, onInvalidPaste: { error: "error", ignore: "ignore", clamp: "clamp", truncate: "truncate", replace: "replace" }, outputFormat: { string: "string", number: "number", dot: ".", negativeDot: "-.", comma: ",", negativeComma: "-,", dotNegative: ".-", commaNegative: ",-", none: null }, overrideMinMaxLimits: { ceiling: "ceiling", floor: "floor", ignore: "ignore", invalid: "invalid", doNotOverride: null }, positiveSignCharacter: { plus: "+", fullWidthPlus: "+", heavyPlus: "➕", doublePlus: "⧺", triplePlus: "⧻", circledPlus: "⊕", squaredPlus: "⊞", trianglePlus: "⨹", plusMinus: "±", minusPlus: "∓", dotPlus: "∔", altHebrewPlus: "﬩", normalSpace: " ", thinSpace: " ", narrowNoBreakSpace: " ", noBreakSpace: " " }, rawValueDivisor: { none: null, percentage: 100, permille: 1e3, basisPoint: 1e4 }, readOnly: { readOnly: !0, readWrite: !1 }, roundingMethod: { halfUpSymmetric: "S", halfUpAsymmetric: "A", halfDownSymmetric: "s", halfDownAsymmetric: "a", halfEvenBankersRounding: "B", upRoundAwayFromZero: "U", downRoundTowardZero: "D", toCeilingTowardPositiveInfinity: "C", toFloorTowardNegativeInfinity: "F", toNearest05: "N05", toNearest05Alt: "CHF", upToNext05: "U05", downToNext05: "D05" }, saveValueToSessionStorage: { save: !0, doNotSave: !1 }, selectNumberOnly: { selectNumbersOnly: !0, selectAll: !1 }, selectOnFocus: { select: !0, doNotSelect: !1 }, serializeSpaces: { plus: "+", percent: "%20" }, showOnlyNumbersOnFocus: { onlyNumbers: !0, showAll: !1 }, showPositiveSign: { show: !0, hide: !1 }, showWarnings: { show: !0, hide: !1 }, styleRules: { none: null, positiveNegative: { positive: "autoNumeric-positive", negative: "autoNumeric-negative" }, range0To100With4Steps: { ranges: [{ min: 0, max: 25, class: "autoNumeric-red" }, { min: 25, max: 50, class: "autoNumeric-orange" }, { min: 50, max: 75, class: "autoNumeric-yellow" }, { min: 75, max: 100, class: "autoNumeric-green" }] }, evenOdd: { userDefined: [{ callback: function (e) { return e % 2 == 0 }, classes: ["autoNumeric-even", "autoNumeric-odd"] }] }, rangeSmallAndZero: { userDefined: [{ callback: function (e) { return -1 <= e && e < 0 ? 0 : 0 === Number(e) ? 1 : 0 < e && e <= 1 ? 2 : null }, classes: ["autoNumeric-small-negative", "autoNumeric-zero", "autoNumeric-small-positive"] }] } }, suffixText: { none: "", percentage: "%", permille: "‰", basisPoint: "‱" }, symbolWhenUnfocused: { none: null, percentage: "%", permille: "‰", basisPoint: "‱" }, unformatOnHover: { unformat: !0, doNotUnformat: !1 }, unformatOnSubmit: { unformat: !0, keepCurrentValue: !1 }, valuesToStrings: { none: null, zeroDash: { 0: "-" }, oneAroundZero: { "-1": "Min", 1: "Max" } }, watchExternalChanges: { watch: !0, doNotWatch: !1 }, wheelOn: { focus: "focus", hover: "hover" }, wheelStep: { progressive: "progressive" } }, O = k.options, Object.getOwnPropertyNames(O).forEach(function (e) { "valuesToStrings" === e ? Object.getOwnPropertyNames(O.valuesToStrings).forEach(function (e) { M.isIE11() || null === O.valuesToStrings[e] || Object.freeze(O.valuesToStrings[e]) }) : "styleRules" !== e && (M.isIE11() || null === O[e] || Object.freeze(O[e])) }), Object.freeze(O), Object.defineProperty(k, "options", { configurable: !1, writable: !1 }), k.defaultSettings = { allowDecimalPadding: k.options.allowDecimalPadding.always, alwaysAllowDecimalCharacter: k.options.alwaysAllowDecimalCharacter.doNotAllow, caretPositionOnFocus: k.options.caretPositionOnFocus.doNoForceCaretPosition, createLocalList: k.options.createLocalList.createList, currencySymbol: k.options.currencySymbol.none, currencySymbolPlacement: k.options.currencySymbolPlacement.prefix, decimalCharacter: k.options.decimalCharacter.dot, decimalCharacterAlternative: k.options.decimalCharacterAlternative.none, decimalPlaces: k.options.decimalPlaces.two, decimalPlacesRawValue: k.options.decimalPlacesRawValue.useDefault, decimalPlacesShownOnBlur: k.options.decimalPlacesShownOnBlur.useDefault, decimalPlacesShownOnFocus: k.options.decimalPlacesShownOnFocus.useDefault, defaultValueOverride: k.options.defaultValueOverride.doNotOverride, digitalGroupSpacing: k.options.digitalGroupSpacing.three, digitGroupSeparator: k.options.digitGroupSeparator.comma, divisorWhenUnfocused: k.options.divisorWhenUnfocused.none, emptyInputBehavior: k.options.emptyInputBehavior.focus, eventBubbles: k.options.eventBubbles.bubbles, eventIsCancelable: k.options.eventIsCancelable.isCancelable, failOnUnknownOption: k.options.failOnUnknownOption.ignore, formatOnPageLoad: k.options.formatOnPageLoad.format, formulaMode: k.options.formulaMode.disabled, historySize: k.options.historySize.medium, invalidClass: k.options.invalidClass, isCancellable: k.options.isCancellable.cancellable, leadingZero: k.options.leadingZero.deny, maximumValue: k.options.maximumValue.tenTrillions, minimumValue: k.options.minimumValue.tenTrillions, modifyValueOnWheel: k.options.modifyValueOnWheel.modifyValue, negativeBracketsTypeOnBlur: k.options.negativeBracketsTypeOnBlur.none, negativePositiveSignPlacement: k.options.negativePositiveSignPlacement.none, negativeSignCharacter: k.options.negativeSignCharacter.hyphen, noEventListeners: k.options.noEventListeners.addEvents, onInvalidPaste: k.options.onInvalidPaste.error, outputFormat: k.options.outputFormat.none, overrideMinMaxLimits: k.options.overrideMinMaxLimits.doNotOverride, positiveSignCharacter: k.options.positiveSignCharacter.plus, rawValueDivisor: k.options.rawValueDivisor.none, readOnly: k.options.readOnly.readWrite, roundingMethod: k.options.roundingMethod.halfUpSymmetric, saveValueToSessionStorage: k.options.saveValueToSessionStorage.doNotSave, selectNumberOnly: k.options.selectNumberOnly.selectNumbersOnly, selectOnFocus: k.options.selectOnFocus.select, serializeSpaces: k.options.serializeSpaces.plus, showOnlyNumbersOnFocus: k.options.showOnlyNumbersOnFocus.showAll, showPositiveSign: k.options.showPositiveSign.hide, showWarnings: k.options.showWarnings.show, styleRules: k.options.styleRules.none, suffixText: k.options.suffixText.none, symbolWhenUnfocused: k.options.symbolWhenUnfocused.none, unformatOnHover: k.options.unformatOnHover.unformat, unformatOnSubmit: k.options.unformatOnSubmit.keepCurrentValue, valuesToStrings: k.options.valuesToStrings.none, watchExternalChanges: k.options.watchExternalChanges.doNotWatch, wheelOn: k.options.wheelOn.focus, wheelStep: k.options.wheelStep.progressive }, Object.freeze(k.defaultSettings), Object.defineProperty(k, "defaultSettings", { configurable: !1, writable: !1 }); var E = { digitGroupSeparator: k.options.digitGroupSeparator.dot, decimalCharacter: k.options.decimalCharacter.comma, decimalCharacterAlternative: k.options.decimalCharacterAlternative.dot, currencySymbol: " €", currencySymbolPlacement: k.options.currencySymbolPlacement.suffix, negativePositiveSignPlacement: k.options.negativePositiveSignPlacement.prefix }, _ = { digitGroupSeparator: k.options.digitGroupSeparator.comma, decimalCharacter: k.options.decimalCharacter.dot, currencySymbol: k.options.currencySymbol.dollar, currencySymbolPlacement: k.options.currencySymbolPlacement.prefix, negativePositiveSignPlacement: k.options.negativePositiveSignPlacement.right }, C = { digitGroupSeparator: k.options.digitGroupSeparator.comma, decimalCharacter: k.options.decimalCharacter.dot, currencySymbol: k.options.currencySymbol.yen, currencySymbolPlacement: k.options.currencySymbolPlacement.prefix, negativePositiveSignPlacement: k.options.negativePositiveSignPlacement.right }; M.cloneObject(E).formulaMode = k.options.formulaMode.enabled; var F = M.cloneObject(E); F.minimumValue = 0; var x = M.cloneObject(E); x.maximumValue = 0, x.negativePositiveSignPlacement = k.options.negativePositiveSignPlacement.prefix; var V = M.cloneObject(E); V.digitGroupSeparator = k.options.digitGroupSeparator.normalSpace; var T = M.cloneObject(V); T.minimumValue = 0; var A = M.cloneObject(V); A.maximumValue = 0, A.negativePositiveSignPlacement = k.options.negativePositiveSignPlacement.prefix; var L = M.cloneObject(E); L.currencySymbol = k.options.currencySymbol.none, L.suffixText = " ".concat(k.options.suffixText.percentage), L.wheelStep = 1e-4, L.rawValueDivisor = k.options.rawValueDivisor.percentage; var I = M.cloneObject(L); I.minimumValue = 0; var B = M.cloneObject(L); B.maximumValue = 0, B.negativePositiveSignPlacement = k.options.negativePositiveSignPlacement.prefix; var D = M.cloneObject(L); D.decimalPlaces = 3; var R = M.cloneObject(I); R.decimalPlaces = 3; var U = M.cloneObject(B); U.decimalPlaces = 3, M.cloneObject(_).formulaMode = k.options.formulaMode.enabled; var j = M.cloneObject(_); j.minimumValue = 0; var z = M.cloneObject(_); z.maximumValue = 0, z.negativePositiveSignPlacement = k.options.negativePositiveSignPlacement.prefix; var K = M.cloneObject(z); K.negativeBracketsTypeOnBlur = k.options.negativeBracketsTypeOnBlur.parentheses; var W = M.cloneObject(_); W.currencySymbol = k.options.currencySymbol.none, W.suffixText = k.options.suffixText.percentage, W.wheelStep = 1e-4, W.rawValueDivisor = k.options.rawValueDivisor.percentage; var G = M.cloneObject(W); G.minimumValue = 0; var H = M.cloneObject(W); H.maximumValue = 0, H.negativePositiveSignPlacement = k.options.negativePositiveSignPlacement.prefix; var Z = M.cloneObject(W); Z.decimalPlaces = 3; var q = M.cloneObject(G); q.decimalPlaces = 3; var $ = M.cloneObject(H); $.decimalPlaces = 3; var J = M.cloneObject(E); J.currencySymbol = k.options.currencySymbol.lira, k.predefinedOptions = { euro: E, euroPos: F, euroNeg: x, euroSpace: V, euroSpacePos: T, euroSpaceNeg: A, percentageEU2dec: L, percentageEU2decPos: I, percentageEU2decNeg: B, percentageEU3dec: D, percentageEU3decPos: R, percentageEU3decNeg: U, dollar: _, dollarPos: j, dollarNeg: z, dollarNegBrackets: K, percentageUS2dec: W, percentageUS2decPos: G, percentageUS2decNeg: H, percentageUS3dec: Z, percentageUS3decPos: q, percentageUS3decNeg: $, French: E, Spanish: E, NorthAmerican: _, British: { digitGroupSeparator: k.options.digitGroupSeparator.comma, decimalCharacter: k.options.decimalCharacter.dot, currencySymbol: k.options.currencySymbol.pound, currencySymbolPlacement: k.options.currencySymbolPlacement.prefix, negativePositiveSignPlacement: k.options.negativePositiveSignPlacement.right }, Swiss: { digitGroupSeparator: k.options.digitGroupSeparator.apostrophe, decimalCharacter: k.options.decimalCharacter.dot, currencySymbol: " CHF", currencySymbolPlacement: k.options.currencySymbolPlacement.suffix, negativePositiveSignPlacement: k.options.negativePositiveSignPlacement.prefix }, Japanese: C, Chinese: C, Brazilian: { digitGroupSeparator: k.options.digitGroupSeparator.dot, decimalCharacter: k.options.decimalCharacter.comma, currencySymbol: k.options.currencySymbol.real, currencySymbolPlacement: k.options.currencySymbolPlacement.prefix, negativePositiveSignPlacement: k.options.negativePositiveSignPlacement.right }, Turkish: J, dotDecimalCharCommaSeparator: { digitGroupSeparator: k.options.digitGroupSeparator.comma, decimalCharacter: k.options.decimalCharacter.dot }, commaDecimalCharDotSeparator: { digitGroupSeparator: k.options.digitGroupSeparator.dot, decimalCharacter: k.options.decimalCharacter.comma, decimalCharacterAlternative: k.options.decimalCharacterAlternative.dot }, integer: { decimalPlaces: 0 }, integerPos: { minimumValue: k.options.minimumValue.zero, decimalPlaces: 0 }, integerNeg: { maximumValue: k.options.maximumValue.zero, decimalPlaces: 0 }, float: { allowDecimalPadding: k.options.allowDecimalPadding.never }, floatPos: { allowDecimalPadding: k.options.allowDecimalPadding.never, minimumValue: k.options.minimumValue.zero, maximumValue: k.options.maximumValue.tenTrillions }, floatNeg: { allowDecimalPadding: k.options.allowDecimalPadding.never, minimumValue: k.options.minimumValue.tenTrillions, maximumValue: k.options.maximumValue.zero }, numeric: { digitGroupSeparator: k.options.digitGroupSeparator.noSeparator, decimalCharacter: k.options.decimalCharacter.dot, currencySymbol: k.options.currencySymbol.none }, numericPos: { digitGroupSeparator: k.options.digitGroupSeparator.noSeparator, decimalCharacter: k.options.decimalCharacter.dot, currencySymbol: k.options.currencySymbol.none, minimumValue: k.options.minimumValue.zero, maximumValue: k.options.maximumValue.tenTrillions }, numericNeg: { digitGroupSeparator: k.options.digitGroupSeparator.noSeparator, decimalCharacter: k.options.decimalCharacter.dot, currencySymbol: k.options.currencySymbol.none, minimumValue: k.options.minimumValue.tenTrillions, maximumValue: k.options.maximumValue.zero } }, Object.getOwnPropertyNames(k.predefinedOptions).forEach(function (e) { Object.freeze(k.predefinedOptions[e]) }), Object.freeze(k.predefinedOptions), Object.defineProperty(k, "predefinedOptions", { configurable: !1, writable: !1 }), t.default = k }], a.c = n, a.d = function (e, t, i) { a.o(e, t) || Object.defineProperty(e, t, { enumerable: !0, get: i }) }, a.r = function (e) { "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e, "__esModule", { value: !0 }) }, a.t = function (t, e) { if (1 & e && (t = a(t)), 8 & e) return t; if (4 & e && "object" == typeof t && t && t.__esModule) return t; var i = Object.create(null); if (a.r(i), Object.defineProperty(i, "default", { enumerable: !0, value: t }), 2 & e && "string" != typeof t) for (var n in t) a.d(i, n, function (e) { return t[e] }.bind(null, n)); return i }, a.n = function (e) { var t = e && e.__esModule ? function () { return e.default } : function () { return e }; return a.d(t, "a", t), t }, a.o = function (e, t) { return Object.prototype.hasOwnProperty.call(e, t) }, a.p = "", a(a.s = 0).default; function a(e) { if (n[e]) return n[e].exports; var t = n[e] = { i: e, l: !1, exports: {} }; return i[e].call(t.exports, t, t.exports, a), t.l = !0, t.exports } var i, n });
\ No newline at end of file
diff --git a/_content/Blazorise/vendors/flatpickr.js b/_content/Blazorise/vendors/flatpickr.js
new file mode 100755
index 00000000..9017dad9
--- /dev/null
+++ b/_content/Blazorise/vendors/flatpickr.js
@@ -0,0 +1,2 @@
+!function (e, n) { "object" == typeof exports && "undefined" != typeof module ? module.exports = n() : "function" == typeof define && define.amd ? define(n) : (e = "undefined" != typeof globalThis ? globalThis : e || self).flatpickr = n() }(this, (function () { "use strict"; var e = function () { return (e = Object.assign || function (e) { for (var n, t = 1, a = arguments.length; t < a; t++)for (var i in n = arguments[t]) Object.prototype.hasOwnProperty.call(n, i) && (e[i] = n[i]); return e }).apply(this, arguments) }; function n() { for (var e = 0, n = 0, t = arguments.length; n < t; n++)e += arguments[n].length; var a = Array(e), i = 0; for (n = 0; n < t; n++)for (var o = arguments[n], r = 0, l = o.length; r < l; r++, i++)a[i] = o[r]; return a } var t = ["onChange", "onClose", "onDayCreate", "onDestroy", "onKeyDown", "onMonthChange", "onOpen", "onParseConfig", "onReady", "onValueUpdate", "onYearChange", "onPreCalendarPosition"], a = { _disable: [], allowInput: !1, allowInvalidPreload: !1, altFormat: "F j, Y", altInput: !1, altInputClass: "form-control input", animate: "object" == typeof window && -1 === window.navigator.userAgent.indexOf("MSIE"), ariaDateFormat: "F j, Y", autoFillDefaultTime: !0, clickOpens: !0, closeOnSelect: !0, conjunction: ", ", dateFormat: "Y-m-d", defaultHour: 12, defaultMinute: 0, defaultSeconds: 0, disable: [], disableMobile: !1, enableSeconds: !1, enableTime: !1, errorHandler: function (e) { return "undefined" != typeof console && console.warn(e) }, getWeek: function (e) { var n = new Date(e.getTime()); n.setHours(0, 0, 0, 0), n.setDate(n.getDate() + 3 - (n.getDay() + 6) % 7); var t = new Date(n.getFullYear(), 0, 4); return 1 + Math.round(((n.getTime() - t.getTime()) / 864e5 - 3 + (t.getDay() + 6) % 7) / 7) }, hourIncrement: 1, ignoredFocusElements: [], inline: !1, locale: "default", minuteIncrement: 5, mode: "single", monthSelectorType: "dropdown", nextArrow: "", noCalendar: !1, now: new Date, onChange: [], onClose: [], onDayCreate: [], onDestroy: [], onKeyDown: [], onMonthChange: [], onOpen: [], onParseConfig: [], onReady: [], onValueUpdate: [], onYearChange: [], onPreCalendarPosition: [], plugins: [], position: "auto", positionElement: void 0, prevArrow: "", shorthandCurrentMonth: !1, showMonths: 1, static: !1, time_24hr: !1, weekNumbers: !1, wrap: !1 }, i = { weekdays: { shorthand: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], longhand: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"] }, months: { shorthand: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], longhand: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"] }, daysInMonth: [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], firstDayOfWeek: 0, ordinal: function (e) { var n = e % 100; if (n > 3 && n < 21) return "th"; switch (n % 10) { case 1: return "st"; case 2: return "nd"; case 3: return "rd"; default: return "th" } }, rangeSeparator: " to ", weekAbbreviation: "Wk", scrollTitle: "Scroll to increment", toggleTitle: "Click to toggle", amPM: ["AM", "PM"], yearAriaLabel: "Year", monthAriaLabel: "Month", hourAriaLabel: "Hour", minuteAriaLabel: "Minute", time_24hr: !1 }, o = function (e, n) { return void 0 === n && (n = 2), ("000" + e).slice(-1 * n) }, r = function (e) { return !0 === e ? 1 : 0 }; function l(e, n) { var t; return function () { var a = this, i = arguments; clearTimeout(t), t = setTimeout((function () { return e.apply(a, i) }), n) } } var c = function (e) { return e instanceof Array ? e : [e] }; function s(e, n, t) { if (!0 === t) return e.classList.add(n); e.classList.remove(n) } function d(e, n, t) { var a = window.document.createElement(e); return n = n || "", t = t || "", a.className = n, void 0 !== t && (a.textContent = t), a } function u(e) { for (; e.firstChild;)e.removeChild(e.firstChild) } function f(e, n) { return n(e) ? e : e.parentNode ? f(e.parentNode, n) : void 0 } function m(e, n) { var t = d("div", "numInputWrapper"), a = d("input", "numInput " + e), i = d("span", "arrowUp"), o = d("span", "arrowDown"); if (-1 === navigator.userAgent.indexOf("MSIE 9.0") ? a.type = "number" : (a.type = "text", a.pattern = "\\d*"), void 0 !== n) for (var r in n) a.setAttribute(r, n[r]); return t.appendChild(a), t.appendChild(i), t.appendChild(o), t } function g(e) { try { return "function" == typeof e.composedPath ? e.composedPath()[0] : e.target } catch (n) { return e.target } } var p = function () { }, h = function (e, n, t) { return t.months[n ? "shorthand" : "longhand"][e] }, v = { D: p, F: function (e, n, t) { e.setMonth(t.months.longhand.indexOf(n)) }, G: function (e, n) { e.setHours((e.getHours() >= 12 ? 12 : 0) + parseFloat(n)) }, H: function (e, n) { e.setHours(parseFloat(n)) }, J: function (e, n) { e.setDate(parseFloat(n)) }, K: function (e, n, t) { e.setHours(e.getHours() % 12 + 12 * r(new RegExp(t.amPM[1], "i").test(n))) }, M: function (e, n, t) { e.setMonth(t.months.shorthand.indexOf(n)) }, S: function (e, n) { e.setSeconds(parseFloat(n)) }, U: function (e, n) { return new Date(1e3 * parseFloat(n)) }, W: function (e, n, t) { var a = parseInt(n), i = new Date(e.getFullYear(), 0, 2 + 7 * (a - 1), 0, 0, 0, 0); return i.setDate(i.getDate() - i.getDay() + t.firstDayOfWeek), i }, Y: function (e, n) { e.setFullYear(parseFloat(n)) }, Z: function (e, n) { return new Date(n) }, d: function (e, n) { e.setDate(parseFloat(n)) }, h: function (e, n) { e.setHours((e.getHours() >= 12 ? 12 : 0) + parseFloat(n)) }, i: function (e, n) { e.setMinutes(parseFloat(n)) }, j: function (e, n) { e.setDate(parseFloat(n)) }, l: p, m: function (e, n) { e.setMonth(parseFloat(n) - 1) }, n: function (e, n) { e.setMonth(parseFloat(n) - 1) }, s: function (e, n) { e.setSeconds(parseFloat(n)) }, u: function (e, n) { return new Date(parseFloat(n)) }, w: p, y: function (e, n) { e.setFullYear(2e3 + parseFloat(n)) } }, D = { D: "", F: "", G: "(\\d\\d|\\d)", H: "(\\d\\d|\\d)", J: "(\\d\\d|\\d)\\w+", K: "", M: "", S: "(\\d\\d|\\d)", U: "(.+)", W: "(\\d\\d|\\d)", Y: "(\\d{4})", Z: "(.+)", d: "(\\d\\d|\\d)", h: "(\\d\\d|\\d)", i: "(\\d\\d|\\d)", j: "(\\d\\d|\\d)", l: "", m: "(\\d\\d|\\d)", n: "(\\d\\d|\\d)", s: "(\\d\\d|\\d)", u: "(.+)", w: "(\\d\\d|\\d)", y: "(\\d{2})" }, w = { Z: function (e) { return e.toISOString() }, D: function (e, n, t) { return n.weekdays.shorthand[w.w(e, n, t)] }, F: function (e, n, t) { return h(w.n(e, n, t) - 1, !1, n) }, G: function (e, n, t) { return o(w.h(e, n, t)) }, H: function (e) { return o(e.getHours()) }, J: function (e, n) { return void 0 !== n.ordinal ? e.getDate() + n.ordinal(e.getDate()) : e.getDate() }, K: function (e, n) { return n.amPM[r(e.getHours() > 11)] }, M: function (e, n) { return h(e.getMonth(), !0, n) }, S: function (e) { return o(e.getSeconds()) }, U: function (e) { return e.getTime() / 1e3 }, W: function (e, n, t) { return t.getWeek(e) }, Y: function (e) { return o(e.getFullYear(), 4) }, d: function (e) { return o(e.getDate()) }, h: function (e) { return e.getHours() % 12 ? e.getHours() % 12 : 12 }, i: function (e) { return o(e.getMinutes()) }, j: function (e) { return e.getDate() }, l: function (e, n) { return n.weekdays.longhand[e.getDay()] }, m: function (e) { return o(e.getMonth() + 1) }, n: function (e) { return e.getMonth() + 1 }, s: function (e) { return e.getSeconds() }, u: function (e) { return e.getTime() }, w: function (e) { return e.getDay() }, y: function (e) { return String(e.getFullYear()).substring(2) } }, b = function (e) { var n = e.config, t = void 0 === n ? a : n, o = e.l10n, r = void 0 === o ? i : o, l = e.isMobile, c = void 0 !== l && l; return function (e, n, a) { var i = a || r; return void 0 === t.formatDate || c ? n.split("").map((function (n, a, o) { return w[n] && "\\" !== o[a - 1] ? w[n](e, i, t) : "\\" !== n ? n : "" })).join("") : t.formatDate(e, n, i) } }, C = function (e) { var n = e.config, t = void 0 === n ? a : n, o = e.l10n, r = void 0 === o ? i : o; return function (e, n, i, o) { if (0 === e || e) { var l, c = o || r, s = e; if (e instanceof Date) l = new Date(e.getTime()); else if ("string" != typeof e && void 0 !== e.toFixed) l = new Date(e); else if ("string" == typeof e) { var d = n || (t || a).dateFormat, u = String(e).trim(); if ("today" === u) l = new Date, i = !0; else if (t && t.parseDate) l = t.parseDate(e, d); else if (/Z$/.test(u) || /GMT$/.test(u)) l = new Date(e); else { for (var f = void 0, m = [], g = 0, p = 0, h = ""; g < d.length; g++) { var w = d[g], b = "\\" === w, C = "\\" === d[g - 1] || b; if (D[w] && !C) { h += D[w]; var M = new RegExp(h).exec(e); M && (f = !0) && m["Y" !== w ? "push" : "unshift"]({ fn: v[w], val: M[++p] }) } else b || (h += ".") } l = t && t.noCalendar ? new Date((new Date).setHours(0, 0, 0, 0)) : new Date((new Date).getFullYear(), 0, 1, 0, 0, 0, 0), m.forEach((function (e) { var n = e.fn, t = e.val; return l = n(l, t, c) || l })), l = f ? l : void 0 } } if (l instanceof Date && !isNaN(l.getTime())) return !0 === i && l.setHours(0, 0, 0, 0), l; t.errorHandler(new Error("Invalid date provided: " + s)) } } }; function M(e, n, t) { return void 0 === t && (t = !0), !1 !== t ? new Date(e.getTime()).setHours(0, 0, 0, 0) - new Date(n.getTime()).setHours(0, 0, 0, 0) : e.getTime() - n.getTime() } var y = function (e, n, t) { return 3600 * e + 60 * n + t }, x = 864e5; function E(e) { var n = e.defaultHour, t = e.defaultMinute, a = e.defaultSeconds; if (void 0 !== e.minDate) { var i = e.minDate.getHours(), o = e.minDate.getMinutes(), r = e.minDate.getSeconds(); n < i && (n = i), n === i && t < o && (t = o), n === i && t === o && a < r && (a = e.minDate.getSeconds()) } if (void 0 !== e.maxDate) { var l = e.maxDate.getHours(), c = e.maxDate.getMinutes(); (n = Math.min(n, l)) === l && (t = Math.min(c, t)), n === l && t === c && (a = e.maxDate.getSeconds()) } return { hours: n, minutes: t, seconds: a } } "function" != typeof Object.assign && (Object.assign = function (e) { for (var n = [], t = 1; t < arguments.length; t++)n[t - 1] = arguments[t]; if (!e) throw TypeError("Cannot convert undefined or null to object"); for (var a = function (n) { n && Object.keys(n).forEach((function (t) { return e[t] = n[t] })) }, i = 0, o = n; i < o.length; i++) { var r = o[i]; a(r) } return e }); function k(p, v) { var w = { config: e(e({}, a), I.defaultConfig), l10n: i }; function k() { var e; return (null === (e = w.calendarContainer) || void 0 === e ? void 0 : e.getRootNode()).activeElement || document.activeElement } function T(e) { return e.bind(w) } function S() { var e = w.config; !1 === e.weekNumbers && 1 === e.showMonths || !0 !== e.noCalendar && window.requestAnimationFrame((function () { if (void 0 !== w.calendarContainer && (w.calendarContainer.style.visibility = "hidden", w.calendarContainer.style.display = "block"), void 0 !== w.daysContainer) { var n = (w.days.offsetWidth + 1) * e.showMonths; w.daysContainer.style.width = n + "px", w.calendarContainer.style.width = n + (void 0 !== w.weekWrapper ? w.weekWrapper.offsetWidth : 0) + "px", w.calendarContainer.style.removeProperty("visibility"), w.calendarContainer.style.removeProperty("display") } })) } function _(e) { if (0 === w.selectedDates.length) { var n = void 0 === w.config.minDate || M(new Date, w.config.minDate) >= 0 ? new Date : new Date(w.config.minDate.getTime()), t = E(w.config); n.setHours(t.hours, t.minutes, t.seconds, n.getMilliseconds()), w.selectedDates = [n], w.latestSelectedDateObj = n } void 0 !== e && "blur" !== e.type && function (e) { e.preventDefault(); var n = "keydown" === e.type, t = g(e), a = t; void 0 !== w.amPM && t === w.amPM && (w.amPM.textContent = w.l10n.amPM[r(w.amPM.textContent === w.l10n.amPM[0])]); var i = parseFloat(a.getAttribute("min")), l = parseFloat(a.getAttribute("max")), c = parseFloat(a.getAttribute("step")), s = parseInt(a.value, 10), d = e.delta || (n ? 38 === e.which ? 1 : -1 : 0), u = s + c * d; if (void 0 !== a.value && 2 === a.value.length) { var f = a === w.hourElement, m = a === w.minuteElement; u < i ? (u = l + u + r(!f) + (r(f) && r(!w.amPM)), m && L(void 0, -1, w.hourElement)) : u > l && (u = a === w.hourElement ? u - l - r(!w.amPM) : i, m && L(void 0, 1, w.hourElement)), w.amPM && f && (1 === c ? u + s === 23 : Math.abs(u - s) > c) && (w.amPM.textContent = w.l10n.amPM[r(w.amPM.textContent === w.l10n.amPM[0])]), a.value = o(u) } }(e); var a = w._input.value; O(), ye(), w._input.value !== a && w._debouncedChange() } function O() { if (void 0 !== w.hourElement && void 0 !== w.minuteElement) { var e, n, t = (parseInt(w.hourElement.value.slice(-2), 10) || 0) % 24, a = (parseInt(w.minuteElement.value, 10) || 0) % 60, i = void 0 !== w.secondElement ? (parseInt(w.secondElement.value, 10) || 0) % 60 : 0; void 0 !== w.amPM && (e = t, n = w.amPM.textContent, t = e % 12 + 12 * r(n === w.l10n.amPM[1])); var o = void 0 !== w.config.minTime || w.config.minDate && w.minDateHasTime && w.latestSelectedDateObj && 0 === M(w.latestSelectedDateObj, w.config.minDate, !0), l = void 0 !== w.config.maxTime || w.config.maxDate && w.maxDateHasTime && w.latestSelectedDateObj && 0 === M(w.latestSelectedDateObj, w.config.maxDate, !0); if (void 0 !== w.config.maxTime && void 0 !== w.config.minTime && w.config.minTime > w.config.maxTime) { var c = y(w.config.minTime.getHours(), w.config.minTime.getMinutes(), w.config.minTime.getSeconds()), s = y(w.config.maxTime.getHours(), w.config.maxTime.getMinutes(), w.config.maxTime.getSeconds()), d = y(t, a, i); if (d > s && d < c) { var u = function (e) { var n = Math.floor(e / 3600), t = (e - 3600 * n) / 60; return [n, t, e - 3600 * n - 60 * t] }(c); t = u[0], a = u[1], i = u[2] } } else { if (l) { var f = void 0 !== w.config.maxTime ? w.config.maxTime : w.config.maxDate; (t = Math.min(t, f.getHours())) === f.getHours() && (a = Math.min(a, f.getMinutes())), a === f.getMinutes() && (i = Math.min(i, f.getSeconds())) } if (o) { var m = void 0 !== w.config.minTime ? w.config.minTime : w.config.minDate; (t = Math.max(t, m.getHours())) === m.getHours() && a < m.getMinutes() && (a = m.getMinutes()), a === m.getMinutes() && (i = Math.max(i, m.getSeconds())) } } A(t, a, i) } } function F(e) { var n = e || w.latestSelectedDateObj; n && n instanceof Date && A(n.getHours(), n.getMinutes(), n.getSeconds()) } function A(e, n, t) { void 0 !== w.latestSelectedDateObj && w.latestSelectedDateObj.setHours(e % 24, n, t || 0, 0), w.hourElement && w.minuteElement && !w.isMobile && (w.hourElement.value = o(w.config.time_24hr ? e : (12 + e) % 12 + 12 * r(e % 12 == 0)), w.minuteElement.value = o(n), void 0 !== w.amPM && (w.amPM.textContent = w.l10n.amPM[r(e >= 12)]), void 0 !== w.secondElement && (w.secondElement.value = o(t))) } function N(e) { var n = g(e), t = parseInt(n.value) + (e.delta || 0); (t / 1e3 > 1 || "Enter" === e.key && !/[^\d]/.test(t.toString())) && ee(t) } function P(e, n, t, a) { return n instanceof Array ? n.forEach((function (n) { return P(e, n, t, a) })) : e instanceof Array ? e.forEach((function (e) { return P(e, n, t, a) })) : (e.addEventListener(n, t, a), void w._handlers.push({ remove: function () { return e.removeEventListener(n, t, a) } })) } function Y() { De("onChange") } function j(e, n) { var t = void 0 !== e ? w.parseDate(e) : w.latestSelectedDateObj || (w.config.minDate && w.config.minDate > w.now ? w.config.minDate : w.config.maxDate && w.config.maxDate < w.now ? w.config.maxDate : w.now), a = w.currentYear, i = w.currentMonth; try { void 0 !== t && (w.currentYear = t.getFullYear(), w.currentMonth = t.getMonth()) } catch (e) { e.message = "Invalid date supplied: " + t, w.config.errorHandler(e) } n && w.currentYear !== a && (De("onYearChange"), q()), !n || w.currentYear === a && w.currentMonth === i || De("onMonthChange"), w.redraw() } function H(e) { var n = g(e); ~n.className.indexOf("arrow") && L(e, n.classList.contains("arrowUp") ? 1 : -1) } function L(e, n, t) { var a = e && g(e), i = t || a && a.parentNode && a.parentNode.firstChild, o = we("increment"); o.delta = n, i && i.dispatchEvent(o) } function R(e, n, t, a) { var i = ne(n, !0), o = d("span", e, n.getDate().toString()); return o.dateObj = n, o.$i = a, o.setAttribute("aria-label", w.formatDate(n, w.config.ariaDateFormat)), -1 === e.indexOf("hidden") && 0 === M(n, w.now) && (w.todayDateElem = o, o.classList.add("today"), o.setAttribute("aria-current", "date")), i ? (o.tabIndex = -1, be(n) && (o.classList.add("selected"), w.selectedDateElem = o, "range" === w.config.mode && (s(o, "startRange", w.selectedDates[0] && 0 === M(n, w.selectedDates[0], !0)), s(o, "endRange", w.selectedDates[1] && 0 === M(n, w.selectedDates[1], !0)), "nextMonthDay" === e && o.classList.add("inRange")))) : o.classList.add("flatpickr-disabled"), "range" === w.config.mode && function (e) { return !("range" !== w.config.mode || w.selectedDates.length < 2) && (M(e, w.selectedDates[0]) >= 0 && M(e, w.selectedDates[1]) <= 0) }(n) && !be(n) && o.classList.add("inRange"), w.weekNumbers && 1 === w.config.showMonths && "prevMonthDay" !== e && a % 7 == 6 && w.weekNumbers.insertAdjacentHTML("beforeend", "" + w.config.getWeek(n) + ""), De("onDayCreate", o), o } function W(e) { e.focus(), "range" === w.config.mode && oe(e) } function B(e) { for (var n = e > 0 ? 0 : w.config.showMonths - 1, t = e > 0 ? w.config.showMonths : -1, a = n; a != t; a += e)for (var i = w.daysContainer.children[a], o = e > 0 ? 0 : i.children.length - 1, r = e > 0 ? i.children.length : -1, l = o; l != r; l += e) { var c = i.children[l]; if (-1 === c.className.indexOf("hidden") && ne(c.dateObj)) return c } } function J(e, n) { var t = k(), a = te(t || document.body), i = void 0 !== e ? e : a ? t : void 0 !== w.selectedDateElem && te(w.selectedDateElem) ? w.selectedDateElem : void 0 !== w.todayDateElem && te(w.todayDateElem) ? w.todayDateElem : B(n > 0 ? 1 : -1); void 0 === i ? w._input.focus() : a ? function (e, n) { for (var t = -1 === e.className.indexOf("Month") ? e.dateObj.getMonth() : w.currentMonth, a = n > 0 ? w.config.showMonths : -1, i = n > 0 ? 1 : -1, o = t - w.currentMonth; o != a; o += i)for (var r = w.daysContainer.children[o], l = t - w.currentMonth === o ? e.$i + n : n < 0 ? r.children.length - 1 : 0, c = r.children.length, s = l; s >= 0 && s < c && s != (n > 0 ? c : -1); s += i) { var d = r.children[s]; if (-1 === d.className.indexOf("hidden") && ne(d.dateObj) && Math.abs(e.$i - s) >= Math.abs(n)) return W(d) } w.changeMonth(i), J(B(i), 0) }(i, n) : W(i) } function K(e, n) { for (var t = (new Date(e, n, 1).getDay() - w.l10n.firstDayOfWeek + 7) % 7, a = w.utils.getDaysInMonth((n - 1 + 12) % 12, e), i = w.utils.getDaysInMonth(n, e), o = window.document.createDocumentFragment(), r = w.config.showMonths > 1, l = r ? "prevMonthDay hidden" : "prevMonthDay", c = r ? "nextMonthDay hidden" : "nextMonthDay", s = a + 1 - t, u = 0; s <= a; s++, u++)o.appendChild(R("flatpickr-day " + l, new Date(e, n - 1, s), 0, u)); for (s = 1; s <= i; s++, u++)o.appendChild(R("flatpickr-day", new Date(e, n, s), 0, u)); for (var f = i + 1; f <= 42 - t && (1 === w.config.showMonths || u % 7 != 0); f++, u++)o.appendChild(R("flatpickr-day " + c, new Date(e, n + 1, f % i), 0, u)); var m = d("div", "dayContainer"); return m.appendChild(o), m } function U() { if (void 0 !== w.daysContainer) { u(w.daysContainer), w.weekNumbers && u(w.weekNumbers); for (var e = document.createDocumentFragment(), n = 0; n < w.config.showMonths; n++) { var t = new Date(w.currentYear, w.currentMonth, 1); t.setMonth(w.currentMonth + n), e.appendChild(K(t.getFullYear(), t.getMonth())) } w.daysContainer.appendChild(e), w.days = w.daysContainer.firstChild, "range" === w.config.mode && 1 === w.selectedDates.length && oe() } } function q() { if (!(w.config.showMonths > 1 || "dropdown" !== w.config.monthSelectorType)) { var e = function (e) { return !(void 0 !== w.config.minDate && w.currentYear === w.config.minDate.getFullYear() && e < w.config.minDate.getMonth()) && !(void 0 !== w.config.maxDate && w.currentYear === w.config.maxDate.getFullYear() && e > w.config.maxDate.getMonth()) }; w.monthsDropdownContainer.tabIndex = -1, w.monthsDropdownContainer.innerHTML = ""; for (var n = 0; n < 12; n++)if (e(n)) { var t = d("option", "flatpickr-monthDropdown-month"); t.value = new Date(w.currentYear, n).getMonth().toString(), t.textContent = h(n, w.config.shorthandCurrentMonth, w.l10n), t.tabIndex = -1, w.currentMonth === n && (t.selected = !0), w.monthsDropdownContainer.appendChild(t) } } } function $() { var e, n = d("div", "flatpickr-month"), t = window.document.createDocumentFragment(); w.config.showMonths > 1 || "static" === w.config.monthSelectorType ? e = d("span", "cur-month") : (w.monthsDropdownContainer = d("select", "flatpickr-monthDropdown-months"), w.monthsDropdownContainer.setAttribute("aria-label", w.l10n.monthAriaLabel), P(w.monthsDropdownContainer, "change", (function (e) { var n = g(e), t = parseInt(n.value, 10); w.changeMonth(t - w.currentMonth), De("onMonthChange") })), q(), e = w.monthsDropdownContainer); var a = m("cur-year", { tabindex: "-1" }), i = a.getElementsByTagName("input")[0]; i.setAttribute("aria-label", w.l10n.yearAriaLabel), w.config.minDate && i.setAttribute("min", w.config.minDate.getFullYear().toString()), w.config.maxDate && (i.setAttribute("max", w.config.maxDate.getFullYear().toString()), i.disabled = !!w.config.minDate && w.config.minDate.getFullYear() === w.config.maxDate.getFullYear()); var o = d("div", "flatpickr-current-month"); return o.appendChild(e), o.appendChild(a), t.appendChild(o), n.appendChild(t), { container: n, yearElement: i, monthElement: e } } function V() { u(w.monthNav), w.monthNav.appendChild(w.prevMonthNav), w.config.showMonths && (w.yearElements = [], w.monthElements = []); for (var e = w.config.showMonths; e--;) { var n = $(); w.yearElements.push(n.yearElement), w.monthElements.push(n.monthElement), w.monthNav.appendChild(n.container) } w.monthNav.appendChild(w.nextMonthNav) } function z() { w.weekdayContainer ? u(w.weekdayContainer) : w.weekdayContainer = d("div", "flatpickr-weekdays"); for (var e = w.config.showMonths; e--;) { var n = d("div", "flatpickr-weekdaycontainer"); w.weekdayContainer.appendChild(n) } return G(), w.weekdayContainer } function G() { if (w.weekdayContainer) { var e = w.l10n.firstDayOfWeek, t = n(w.l10n.weekdays.shorthand); e > 0 && e < t.length && (t = n(t.splice(e, t.length), t.splice(0, e))); for (var a = w.config.showMonths; a--;)w.weekdayContainer.children[a].innerHTML = "\n \n " + t.join("") + "\n \n " } } function Z(e, n) { void 0 === n && (n = !0); var t = n ? e : e - w.currentMonth; t < 0 && !0 === w._hidePrevMonthArrow || t > 0 && !0 === w._hideNextMonthArrow || (w.currentMonth += t, (w.currentMonth < 0 || w.currentMonth > 11) && (w.currentYear += w.currentMonth > 11 ? 1 : -1, w.currentMonth = (w.currentMonth + 12) % 12, De("onYearChange"), q()), U(), De("onMonthChange"), Ce()) } function Q(e) { return w.calendarContainer.contains(e) } function X(e) { if (w.isOpen && !w.config.inline) { var n = g(e), t = Q(n), a = !(n === w.input || n === w.altInput || w.element.contains(n) || e.path && e.path.indexOf && (~e.path.indexOf(w.input) || ~e.path.indexOf(w.altInput))) && !t && !Q(e.relatedTarget), i = !w.config.ignoredFocusElements.some((function (e) { return e.contains(n) })); a && i && (w.config.allowInput && w.setDate(w._input.value, !1, w.config.altInput ? w.config.altFormat : w.config.dateFormat), void 0 !== w.timeContainer && void 0 !== w.minuteElement && void 0 !== w.hourElement && "" !== w.input.value && void 0 !== w.input.value && _(), w.close(), w.config && "range" === w.config.mode && 1 === w.selectedDates.length && w.clear(!1)) } } function ee(e) { if (!(!e || w.config.minDate && e < w.config.minDate.getFullYear() || w.config.maxDate && e > w.config.maxDate.getFullYear())) { var n = e, t = w.currentYear !== n; w.currentYear = n || w.currentYear, w.config.maxDate && w.currentYear === w.config.maxDate.getFullYear() ? w.currentMonth = Math.min(w.config.maxDate.getMonth(), w.currentMonth) : w.config.minDate && w.currentYear === w.config.minDate.getFullYear() && (w.currentMonth = Math.max(w.config.minDate.getMonth(), w.currentMonth)), t && (w.redraw(), De("onYearChange"), q()) } } function ne(e, n) { var t; void 0 === n && (n = !0); var a = w.parseDate(e, void 0, n); if (w.config.minDate && a && M(a, w.config.minDate, void 0 !== n ? n : !w.minDateHasTime) < 0 || w.config.maxDate && a && M(a, w.config.maxDate, void 0 !== n ? n : !w.maxDateHasTime) > 0) return !1; if (!w.config.enable && 0 === w.config.disable.length) return !0; if (void 0 === a) return !1; for (var i = !!w.config.enable, o = null !== (t = w.config.enable) && void 0 !== t ? t : w.config.disable, r = 0, l = void 0; r < o.length; r++) { if ("function" == typeof (l = o[r]) && l(a)) return i; if (l instanceof Date && void 0 !== a && l.getTime() === a.getTime()) return i; if ("string" == typeof l) { var c = w.parseDate(l, void 0, !0); return c && c.getTime() === a.getTime() ? i : !i } if ("object" == typeof l && void 0 !== a && l.from && l.to && a.getTime() >= l.from.getTime() && a.getTime() <= l.to.getTime()) return i } return !i } function te(e) { return void 0 !== w.daysContainer && (-1 === e.className.indexOf("hidden") && -1 === e.className.indexOf("flatpickr-disabled") && w.daysContainer.contains(e)) } function ae(e) { var n = e.target === w._input, t = w._input.value.trimEnd() !== Me(); !n || !t || e.relatedTarget && Q(e.relatedTarget) || w.setDate(w._input.value, !0, e.target === w.altInput ? w.config.altFormat : w.config.dateFormat) } function ie(e) { var n = g(e), t = w.config.wrap ? p.contains(n) : n === w._input, a = w.config.allowInput, i = w.isOpen && (!a || !t), o = w.config.inline && t && !a; if (13 === e.keyCode && t) { if (a) return w.setDate(w._input.value, !0, n === w.altInput ? w.config.altFormat : w.config.dateFormat), w.close(), n.blur(); w.open() } else if (Q(n) || i || o) { var r = !!w.timeContainer && w.timeContainer.contains(n); switch (e.keyCode) { case 13: r ? (e.preventDefault(), _(), fe()) : me(e); break; case 27: e.preventDefault(), fe(); break; case 8: case 46: t && !w.config.allowInput && (e.preventDefault(), w.clear()); break; case 37: case 39: if (r || t) w.hourElement && w.hourElement.focus(); else { e.preventDefault(); var l = k(); if (void 0 !== w.daysContainer && (!1 === a || l && te(l))) { var c = 39 === e.keyCode ? 1 : -1; e.ctrlKey ? (e.stopPropagation(), Z(c), J(B(1), 0)) : J(void 0, c) } } break; case 38: case 40: e.preventDefault(); var s = 40 === e.keyCode ? 1 : -1; w.daysContainer && void 0 !== n.$i || n === w.input || n === w.altInput ? e.ctrlKey ? (e.stopPropagation(), ee(w.currentYear - s), J(B(1), 0)) : r || J(void 0, 7 * s) : n === w.currentYearElement ? ee(w.currentYear - s) : w.config.enableTime && (!r && w.hourElement && w.hourElement.focus(), _(e), w._debouncedChange()); break; case 9: if (r) { var d = [w.hourElement, w.minuteElement, w.secondElement, w.amPM].concat(w.pluginElements).filter((function (e) { return e })), u = d.indexOf(n); if (-1 !== u) { var f = d[u + (e.shiftKey ? -1 : 1)]; e.preventDefault(), (f || w._input).focus() } } else !w.config.noCalendar && w.daysContainer && w.daysContainer.contains(n) && e.shiftKey && (e.preventDefault(), w._input.focus()) } } if (void 0 !== w.amPM && n === w.amPM) switch (e.key) { case w.l10n.amPM[0].charAt(0): case w.l10n.amPM[0].charAt(0).toLowerCase(): w.amPM.textContent = w.l10n.amPM[0], O(), ye(); break; case w.l10n.amPM[1].charAt(0): case w.l10n.amPM[1].charAt(0).toLowerCase(): w.amPM.textContent = w.l10n.amPM[1], O(), ye() }(t || Q(n)) && De("onKeyDown", e) } function oe(e, n) { if (void 0 === n && (n = "flatpickr-day"), 1 === w.selectedDates.length && (!e || e.classList.contains(n) && !e.classList.contains("flatpickr-disabled"))) { for (var t = e ? e.dateObj.getTime() : w.days.firstElementChild.dateObj.getTime(), a = w.parseDate(w.selectedDates[0], void 0, !0).getTime(), i = Math.min(t, w.selectedDates[0].getTime()), o = Math.max(t, w.selectedDates[0].getTime()), r = !1, l = 0, c = 0, s = i; s < o; s += x)ne(new Date(s), !0) || (r = r || s > i && s < o, s < a && (!l || s > l) ? l = s : s > a && (!c || s < c) && (c = s)); Array.from(w.rContainer.querySelectorAll("*:nth-child(-n+" + w.config.showMonths + ") > ." + n)).forEach((function (n) { var i, o, s, d = n.dateObj.getTime(), u = l > 0 && d < l || c > 0 && d > c; if (u) return n.classList.add("notAllowed"), void ["inRange", "startRange", "endRange"].forEach((function (e) { n.classList.remove(e) })); r && !u || (["startRange", "inRange", "endRange", "notAllowed"].forEach((function (e) { n.classList.remove(e) })), void 0 !== e && (e.classList.add(t <= w.selectedDates[0].getTime() ? "startRange" : "endRange"), a < t && d === a ? n.classList.add("startRange") : a > t && d === a && n.classList.add("endRange"), d >= l && (0 === c || d <= c) && (o = a, s = t, (i = d) > Math.min(o, s) && i < Math.max(o, s)) && n.classList.add("inRange"))) })) } } function re() { !w.isOpen || w.config.static || w.config.inline || de() } function le(e) { return function (n) { var t = w.config["_" + e + "Date"] = w.parseDate(n, w.config.dateFormat), a = w.config["_" + ("min" === e ? "max" : "min") + "Date"]; void 0 !== t && (w["min" === e ? "minDateHasTime" : "maxDateHasTime"] = t.getHours() > 0 || t.getMinutes() > 0 || t.getSeconds() > 0), w.selectedDates && (w.selectedDates = w.selectedDates.filter((function (e) { return ne(e) })), w.selectedDates.length || "min" !== e || F(t), ye()), w.daysContainer && (ue(), void 0 !== t ? w.currentYearElement[e] = t.getFullYear().toString() : w.currentYearElement.removeAttribute(e), w.currentYearElement.disabled = !!a && void 0 !== t && a.getFullYear() === t.getFullYear()) } } function ce() { return w.config.wrap ? p.querySelector("[data-input]") : p } function se() { "object" != typeof w.config.locale && void 0 === I.l10ns[w.config.locale] && w.config.errorHandler(new Error("flatpickr: invalid locale " + w.config.locale)), w.l10n = e(e({}, I.l10ns.default), "object" == typeof w.config.locale ? w.config.locale : "default" !== w.config.locale ? I.l10ns[w.config.locale] : void 0), D.D = "(" + w.l10n.weekdays.shorthand.join("|") + ")", D.l = "(" + w.l10n.weekdays.longhand.join("|") + ")", D.M = "(" + w.l10n.months.shorthand.join("|") + ")", D.F = "(" + w.l10n.months.longhand.join("|") + ")", D.K = "(" + w.l10n.amPM[0] + "|" + w.l10n.amPM[1] + "|" + w.l10n.amPM[0].toLowerCase() + "|" + w.l10n.amPM[1].toLowerCase() + ")", void 0 === e(e({}, v), JSON.parse(JSON.stringify(p.dataset || {}))).time_24hr && void 0 === I.defaultConfig.time_24hr && (w.config.time_24hr = w.l10n.time_24hr), w.formatDate = b(w), w.parseDate = C({ config: w.config, l10n: w.l10n }) } function de(e) { if ("function" != typeof w.config.position) { if (void 0 !== w.calendarContainer) { De("onPreCalendarPosition"); var n = e || w._positionElement, t = Array.prototype.reduce.call(w.calendarContainer.children, (function (e, n) { return e + n.offsetHeight }), 0), a = w.calendarContainer.offsetWidth, i = w.config.position.split(" "), o = i[0], r = i.length > 1 ? i[1] : null, l = n.getBoundingClientRect(), c = window.innerHeight - l.bottom, d = "above" === o || "below" !== o && c < t && l.top > t, u = window.pageYOffset + l.top + (d ? -t - 2 : n.offsetHeight + 2); if (s(w.calendarContainer, "arrowTop", !d), s(w.calendarContainer, "arrowBottom", d), !w.config.inline) { var f = window.pageXOffset + l.left, m = !1, g = !1; "center" === r ? (f -= (a - l.width) / 2, m = !0) : "right" === r && (f -= a - l.width, g = !0), s(w.calendarContainer, "arrowLeft", !m && !g), s(w.calendarContainer, "arrowCenter", m), s(w.calendarContainer, "arrowRight", g); var p = window.document.body.offsetWidth - (window.pageXOffset + l.right), h = f + a > window.document.body.offsetWidth, v = p + a > window.document.body.offsetWidth; if (s(w.calendarContainer, "rightMost", h), !w.config.static) if (w.calendarContainer.style.top = u + "px", h) if (v) { var D = function () { for (var e = null, n = 0; n < document.styleSheets.length; n++) { var t = document.styleSheets[n]; if (t.cssRules) { try { t.cssRules } catch (e) { continue } e = t; break } } return null != e ? e : (a = document.createElement("style"), document.head.appendChild(a), a.sheet); var a }(); if (void 0 === D) return; var b = window.document.body.offsetWidth, C = Math.max(0, b / 2 - a / 2), M = D.cssRules.length, y = "{left:" + l.left + "px;right:auto;}"; s(w.calendarContainer, "rightMost", !1), s(w.calendarContainer, "centerMost", !0), D.insertRule(".flatpickr-calendar.centerMost:before,.flatpickr-calendar.centerMost:after" + y, M), w.calendarContainer.style.left = C + "px", w.calendarContainer.style.right = "auto" } else w.calendarContainer.style.left = "auto", w.calendarContainer.style.right = p + "px"; else w.calendarContainer.style.left = f + "px", w.calendarContainer.style.right = "auto" } } } else w.config.position(w, e) } function ue() { w.config.noCalendar || w.isMobile || (q(), Ce(), U()) } function fe() { w._input.focus(), -1 !== window.navigator.userAgent.indexOf("MSIE") || void 0 !== navigator.msMaxTouchPoints ? setTimeout(w.close, 0) : w.close() } function me(e) { e.preventDefault(), e.stopPropagation(); var n = f(g(e), (function (e) { return e.classList && e.classList.contains("flatpickr-day") && !e.classList.contains("flatpickr-disabled") && !e.classList.contains("notAllowed") })); if (void 0 !== n) { var t = n, a = w.latestSelectedDateObj = new Date(t.dateObj.getTime()), i = (a.getMonth() < w.currentMonth || a.getMonth() > w.currentMonth + w.config.showMonths - 1) && "range" !== w.config.mode; if (w.selectedDateElem = t, "single" === w.config.mode) w.selectedDates = [a]; else if ("multiple" === w.config.mode) { var o = be(a); o ? w.selectedDates.splice(parseInt(o), 1) : w.selectedDates.push(a) } else "range" === w.config.mode && (2 === w.selectedDates.length && w.clear(!1, !1), w.latestSelectedDateObj = a, w.selectedDates.push(a), 0 !== M(a, w.selectedDates[0], !0) && w.selectedDates.sort((function (e, n) { return e.getTime() - n.getTime() }))); if (O(), i) { var r = w.currentYear !== a.getFullYear(); w.currentYear = a.getFullYear(), w.currentMonth = a.getMonth(), r && (De("onYearChange"), q()), De("onMonthChange") } if (Ce(), U(), ye(), i || "range" === w.config.mode || 1 !== w.config.showMonths ? void 0 !== w.selectedDateElem && void 0 === w.hourElement && w.selectedDateElem && w.selectedDateElem.focus() : W(t), void 0 !== w.hourElement && void 0 !== w.hourElement && w.hourElement.focus(), w.config.closeOnSelect) { var l = "single" === w.config.mode && !w.config.enableTime, c = "range" === w.config.mode && 2 === w.selectedDates.length && !w.config.enableTime; (l || c) && fe() } Y() } } w.parseDate = C({ config: w.config, l10n: w.l10n }), w._handlers = [], w.pluginElements = [], w.loadedPlugins = [], w._bind = P, w._setHoursFromDate = F, w._positionCalendar = de, w.changeMonth = Z, w.changeYear = ee, w.clear = function (e, n) { void 0 === e && (e = !0); void 0 === n && (n = !0); w.input.value = "", void 0 !== w.altInput && (w.altInput.value = ""); void 0 !== w.mobileInput && (w.mobileInput.value = ""); w.selectedDates = [], w.latestSelectedDateObj = void 0, !0 === n && (w.currentYear = w._initialDate.getFullYear(), w.currentMonth = w._initialDate.getMonth()); if (!0 === w.config.enableTime) { var t = E(w.config), a = t.hours, i = t.minutes, o = t.seconds; A(a, i, o) } w.redraw(), e && De("onChange") }, w.close = function () { w.isOpen = !1, w.isMobile || (void 0 !== w.calendarContainer && w.calendarContainer.classList.remove("open"), void 0 !== w._input && w._input.classList.remove("active")); De("onClose") }, w.onMouseOver = oe, w._createElement = d, w.createDay = R, w.destroy = function () { void 0 !== w.config && De("onDestroy"); for (var e = w._handlers.length; e--;)w._handlers[e].remove(); if (w._handlers = [], w.mobileInput) w.mobileInput.parentNode && w.mobileInput.parentNode.removeChild(w.mobileInput), w.mobileInput = void 0; else if (w.calendarContainer && w.calendarContainer.parentNode) if (w.config.static && w.calendarContainer.parentNode) { var n = w.calendarContainer.parentNode; if (n.lastChild && n.removeChild(n.lastChild), n.parentNode) { for (; n.firstChild;)n.parentNode.insertBefore(n.firstChild, n); n.parentNode.removeChild(n) } } else w.calendarContainer.parentNode.removeChild(w.calendarContainer); w.altInput && (w.input.type = "text", w.altInput.parentNode && w.altInput.parentNode.removeChild(w.altInput), delete w.altInput); w.input && (w.input.type = w.input._type, w.input.classList.remove("flatpickr-input"), w.input.removeAttribute("readonly"));["_showTimeInput", "latestSelectedDateObj", "_hideNextMonthArrow", "_hidePrevMonthArrow", "__hideNextMonthArrow", "__hidePrevMonthArrow", "isMobile", "isOpen", "selectedDateElem", "minDateHasTime", "maxDateHasTime", "days", "daysContainer", "_input", "_positionElement", "innerContainer", "rContainer", "monthNav", "todayDateElem", "calendarContainer", "weekdayContainer", "prevMonthNav", "nextMonthNav", "monthsDropdownContainer", "currentMonthElement", "currentYearElement", "navigationCurrentMonth", "selectedDateElem", "config"].forEach((function (e) { try { delete w[e] } catch (e) { } })) }, w.isEnabled = ne, w.jumpToDate = j, w.updateValue = ye, w.open = function (e, n) { void 0 === n && (n = w._positionElement); if (!0 === w.isMobile) { if (e) { e.preventDefault(); var t = g(e); t && t.blur() } return void 0 !== w.mobileInput && (w.mobileInput.focus(), w.mobileInput.click()), void De("onOpen") } if (w._input.disabled || w.config.inline) return; var a = w.isOpen; w.isOpen = !0, a || (w.calendarContainer.classList.add("open"), w._input.classList.add("active"), De("onOpen"), de(n)); !0 === w.config.enableTime && !0 === w.config.noCalendar && (!1 !== w.config.allowInput || void 0 !== e && w.timeContainer.contains(e.relatedTarget) || setTimeout((function () { return w.hourElement.select() }), 50)) }, w.redraw = ue, w.set = function (e, n) { if (null !== e && "object" == typeof e) for (var a in Object.assign(w.config, e), e) void 0 !== ge[a] && ge[a].forEach((function (e) { return e() })); else w.config[e] = n, void 0 !== ge[e] ? ge[e].forEach((function (e) { return e() })) : t.indexOf(e) > -1 && (w.config[e] = c(n)); w.redraw(), ye(!0) }, w.setDate = function (e, n, t) { void 0 === n && (n = !1); void 0 === t && (t = w.config.dateFormat); if (0 !== e && !e || e instanceof Array && 0 === e.length) return w.clear(n); pe(e, t), w.latestSelectedDateObj = w.selectedDates[w.selectedDates.length - 1], w.redraw(), j(void 0, n), F(), 0 === w.selectedDates.length && w.clear(!1); ye(n), n && De("onChange") }, w.toggle = function (e) { if (!0 === w.isOpen) return w.close(); w.open(e) }; var ge = { locale: [se, G], showMonths: [V, S, z], minDate: [j], maxDate: [j], positionElement: [ve], clickOpens: [function () { !0 === w.config.clickOpens ? (P(w._input, "focus", w.open), P(w._input, "click", w.open)) : (w._input.removeEventListener("focus", w.open), w._input.removeEventListener("click", w.open)) }] }; function pe(e, n) { var t = []; if (e instanceof Array) t = e.map((function (e) { return w.parseDate(e, n) })); else if (e instanceof Date || "number" == typeof e) t = [w.parseDate(e, n)]; else if ("string" == typeof e) switch (w.config.mode) { case "single": case "time": t = [w.parseDate(e, n)]; break; case "multiple": t = e.split(w.config.conjunction).map((function (e) { return w.parseDate(e, n) })); break; case "range": t = e.split(w.l10n.rangeSeparator).map((function (e) { return w.parseDate(e, n) })) } else w.config.errorHandler(new Error("Invalid date supplied: " + JSON.stringify(e))); w.selectedDates = w.config.allowInvalidPreload ? t : t.filter((function (e) { return e instanceof Date && ne(e, !1) })), "range" === w.config.mode && w.selectedDates.sort((function (e, n) { return e.getTime() - n.getTime() })) } function he(e) { return e.slice().map((function (e) { return "string" == typeof e || "number" == typeof e || e instanceof Date ? w.parseDate(e, void 0, !0) : e && "object" == typeof e && e.from && e.to ? { from: w.parseDate(e.from, void 0), to: w.parseDate(e.to, void 0) } : e })).filter((function (e) { return e })) } function ve() { w._positionElement = w.config.positionElement || w._input } function De(e, n) { if (void 0 !== w.config) { var t = w.config[e]; if (void 0 !== t && t.length > 0) for (var a = 0; t[a] && a < t.length; a++)t[a](w.selectedDates, w.input.value, w, n); "onChange" === e && (w.input.dispatchEvent(we("change")), w.input.dispatchEvent(we("input"))) } } function we(e) { var n = document.createEvent("Event"); return n.initEvent(e, !0, !0), n } function be(e) { for (var n = 0; n < w.selectedDates.length; n++) { var t = w.selectedDates[n]; if (t instanceof Date && 0 === M(t, e)) return "" + n } return !1 } function Ce() { w.config.noCalendar || w.isMobile || !w.monthNav || (w.yearElements.forEach((function (e, n) { var t = new Date(w.currentYear, w.currentMonth, 1); t.setMonth(w.currentMonth + n), w.config.showMonths > 1 || "static" === w.config.monthSelectorType ? w.monthElements[n].textContent = h(t.getMonth(), w.config.shorthandCurrentMonth, w.l10n) + " " : w.monthsDropdownContainer.value = t.getMonth().toString(), e.value = t.getFullYear().toString() })), w._hidePrevMonthArrow = void 0 !== w.config.minDate && (w.currentYear === w.config.minDate.getFullYear() ? w.currentMonth <= w.config.minDate.getMonth() : w.currentYear < w.config.minDate.getFullYear()), w._hideNextMonthArrow = void 0 !== w.config.maxDate && (w.currentYear === w.config.maxDate.getFullYear() ? w.currentMonth + 1 > w.config.maxDate.getMonth() : w.currentYear > w.config.maxDate.getFullYear())) } function Me(e) { var n = e || (w.config.altInput ? w.config.altFormat : w.config.dateFormat); return w.selectedDates.map((function (e) { return w.formatDate(e, n) })).filter((function (e, n, t) { return "range" !== w.config.mode || w.config.enableTime || t.indexOf(e) === n })).join("range" !== w.config.mode ? w.config.conjunction : w.l10n.rangeSeparator) } function ye(e) { void 0 === e && (e = !0), void 0 !== w.mobileInput && w.mobileFormatStr && (w.mobileInput.value = void 0 !== w.latestSelectedDateObj ? w.formatDate(w.latestSelectedDateObj, w.mobileFormatStr) : ""), w.input.value = Me(w.config.dateFormat), void 0 !== w.altInput && (w.altInput.value = Me(w.config.altFormat)), !1 !== e && De("onValueUpdate") } function xe(e) { var n = g(e), t = w.prevMonthNav.contains(n), a = w.nextMonthNav.contains(n); t || a ? Z(t ? -1 : 1) : w.yearElements.indexOf(n) >= 0 ? n.select() : n.classList.contains("arrowUp") ? w.changeYear(w.currentYear + 1) : n.classList.contains("arrowDown") && w.changeYear(w.currentYear - 1) } return function () { w.element = w.input = p, w.isOpen = !1, function () { var n = ["wrap", "weekNumbers", "allowInput", "allowInvalidPreload", "clickOpens", "time_24hr", "enableTime", "noCalendar", "altInput", "shorthandCurrentMonth", "inline", "static", "enableSeconds", "disableMobile"], i = e(e({}, JSON.parse(JSON.stringify(p.dataset || {}))), v), o = {}; w.config.parseDate = i.parseDate, w.config.formatDate = i.formatDate, Object.defineProperty(w.config, "enable", { get: function () { return w.config._enable }, set: function (e) { w.config._enable = he(e) } }), Object.defineProperty(w.config, "disable", { get: function () { return w.config._disable }, set: function (e) { w.config._disable = he(e) } }); var r = "time" === i.mode; if (!i.dateFormat && (i.enableTime || r)) { var l = I.defaultConfig.dateFormat || a.dateFormat; o.dateFormat = i.noCalendar || r ? "H:i" + (i.enableSeconds ? ":S" : "") : l + " H:i" + (i.enableSeconds ? ":S" : "") } if (i.altInput && (i.enableTime || r) && !i.altFormat) { var s = I.defaultConfig.altFormat || a.altFormat; o.altFormat = i.noCalendar || r ? "h:i" + (i.enableSeconds ? ":S K" : " K") : s + " h:i" + (i.enableSeconds ? ":S" : "") + " K" } Object.defineProperty(w.config, "minDate", { get: function () { return w.config._minDate }, set: le("min") }), Object.defineProperty(w.config, "maxDate", { get: function () { return w.config._maxDate }, set: le("max") }); var d = function (e) { return function (n) { w.config["min" === e ? "_minTime" : "_maxTime"] = w.parseDate(n, "H:i:S") } }; Object.defineProperty(w.config, "minTime", { get: function () { return w.config._minTime }, set: d("min") }), Object.defineProperty(w.config, "maxTime", { get: function () { return w.config._maxTime }, set: d("max") }), "time" === i.mode && (w.config.noCalendar = !0, w.config.enableTime = !0); Object.assign(w.config, o, i); for (var u = 0; u < n.length; u++)w.config[n[u]] = !0 === w.config[n[u]] || "true" === w.config[n[u]]; t.filter((function (e) { return void 0 !== w.config[e] })).forEach((function (e) { w.config[e] = c(w.config[e] || []).map(T) })), w.isMobile = !w.config.disableMobile && !w.config.inline && "single" === w.config.mode && !w.config.disable.length && !w.config.enable && !w.config.weekNumbers && /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent); for (u = 0; u < w.config.plugins.length; u++) { var f = w.config.plugins[u](w) || {}; for (var m in f) t.indexOf(m) > -1 ? w.config[m] = c(f[m]).map(T).concat(w.config[m]) : void 0 === i[m] && (w.config[m] = f[m]) } i.altInputClass || (w.config.altInputClass = ce().className + " " + w.config.altInputClass); De("onParseConfig") }(), se(), function () { if (w.input = ce(), !w.input) return void w.config.errorHandler(new Error("Invalid input element specified")); w.input._type = w.input.type, w.input.type = "text", w.input.classList.add("flatpickr-input"), w._input = w.input, w.config.altInput && (w.altInput = d(w.input.nodeName, w.config.altInputClass), w._input = w.altInput, w.altInput.placeholder = w.input.placeholder, w.altInput.disabled = w.input.disabled, w.altInput.required = w.input.required, w.altInput.tabIndex = w.input.tabIndex, w.altInput.type = "text", w.input.setAttribute("type", "hidden"), !w.config.static && w.input.parentNode && w.input.parentNode.insertBefore(w.altInput, w.input.nextSibling)); w.config.allowInput || w._input.setAttribute("readonly", "readonly"); ve() }(), function () { w.selectedDates = [], w.now = w.parseDate(w.config.now) || new Date; var e = w.config.defaultDate || ("INPUT" !== w.input.nodeName && "TEXTAREA" !== w.input.nodeName || !w.input.placeholder || w.input.value !== w.input.placeholder ? w.input.value : null); e && pe(e, w.config.dateFormat); w._initialDate = w.selectedDates.length > 0 ? w.selectedDates[0] : w.config.minDate && w.config.minDate.getTime() > w.now.getTime() ? w.config.minDate : w.config.maxDate && w.config.maxDate.getTime() < w.now.getTime() ? w.config.maxDate : w.now, w.currentYear = w._initialDate.getFullYear(), w.currentMonth = w._initialDate.getMonth(), w.selectedDates.length > 0 && (w.latestSelectedDateObj = w.selectedDates[0]); void 0 !== w.config.minTime && (w.config.minTime = w.parseDate(w.config.minTime, "H:i")); void 0 !== w.config.maxTime && (w.config.maxTime = w.parseDate(w.config.maxTime, "H:i")); w.minDateHasTime = !!w.config.minDate && (w.config.minDate.getHours() > 0 || w.config.minDate.getMinutes() > 0 || w.config.minDate.getSeconds() > 0), w.maxDateHasTime = !!w.config.maxDate && (w.config.maxDate.getHours() > 0 || w.config.maxDate.getMinutes() > 0 || w.config.maxDate.getSeconds() > 0) }(), w.utils = { getDaysInMonth: function (e, n) { return void 0 === e && (e = w.currentMonth), void 0 === n && (n = w.currentYear), 1 === e && (n % 4 == 0 && n % 100 != 0 || n % 400 == 0) ? 29 : w.l10n.daysInMonth[e] } }, w.isMobile || function () { var e = window.document.createDocumentFragment(); if (w.calendarContainer = d("div", "flatpickr-calendar"), w.calendarContainer.tabIndex = -1, !w.config.noCalendar) { if (e.appendChild((w.monthNav = d("div", "flatpickr-months"), w.yearElements = [], w.monthElements = [], w.prevMonthNav = d("span", "flatpickr-prev-month"), w.prevMonthNav.innerHTML = w.config.prevArrow, w.nextMonthNav = d("span", "flatpickr-next-month"), w.nextMonthNav.innerHTML = w.config.nextArrow, V(), Object.defineProperty(w, "_hidePrevMonthArrow", { get: function () { return w.__hidePrevMonthArrow }, set: function (e) { w.__hidePrevMonthArrow !== e && (s(w.prevMonthNav, "flatpickr-disabled", e), w.__hidePrevMonthArrow = e) } }), Object.defineProperty(w, "_hideNextMonthArrow", { get: function () { return w.__hideNextMonthArrow }, set: function (e) { w.__hideNextMonthArrow !== e && (s(w.nextMonthNav, "flatpickr-disabled", e), w.__hideNextMonthArrow = e) } }), w.currentYearElement = w.yearElements[0], Ce(), w.monthNav)), w.innerContainer = d("div", "flatpickr-innerContainer"), w.config.weekNumbers) { var n = function () { w.calendarContainer.classList.add("hasWeeks"); var e = d("div", "flatpickr-weekwrapper"); e.appendChild(d("span", "flatpickr-weekday", w.l10n.weekAbbreviation)); var n = d("div", "flatpickr-weeks"); return e.appendChild(n), { weekWrapper: e, weekNumbers: n } }(), t = n.weekWrapper, a = n.weekNumbers; w.innerContainer.appendChild(t), w.weekNumbers = a, w.weekWrapper = t } w.rContainer = d("div", "flatpickr-rContainer"), w.rContainer.appendChild(z()), w.daysContainer || (w.daysContainer = d("div", "flatpickr-days"), w.daysContainer.tabIndex = -1), U(), w.rContainer.appendChild(w.daysContainer), w.innerContainer.appendChild(w.rContainer), e.appendChild(w.innerContainer) } w.config.enableTime && e.appendChild(function () { w.calendarContainer.classList.add("hasTime"), w.config.noCalendar && w.calendarContainer.classList.add("noCalendar"); var e = E(w.config); w.timeContainer = d("div", "flatpickr-time"), w.timeContainer.tabIndex = -1; var n = d("span", "flatpickr-time-separator", ":"), t = m("flatpickr-hour", { "aria-label": w.l10n.hourAriaLabel }); w.hourElement = t.getElementsByTagName("input")[0]; var a = m("flatpickr-minute", { "aria-label": w.l10n.minuteAriaLabel }); w.minuteElement = a.getElementsByTagName("input")[0], w.hourElement.tabIndex = w.minuteElement.tabIndex = -1, w.hourElement.value = o(w.latestSelectedDateObj ? w.latestSelectedDateObj.getHours() : w.config.time_24hr ? e.hours : function (e) { switch (e % 24) { case 0: case 12: return 12; default: return e % 12 } }(e.hours)), w.minuteElement.value = o(w.latestSelectedDateObj ? w.latestSelectedDateObj.getMinutes() : e.minutes), w.hourElement.setAttribute("step", w.config.hourIncrement.toString()), w.minuteElement.setAttribute("step", w.config.minuteIncrement.toString()), w.hourElement.setAttribute("min", w.config.time_24hr ? "0" : "1"), w.hourElement.setAttribute("max", w.config.time_24hr ? "23" : "12"), w.hourElement.setAttribute("maxlength", "2"), w.minuteElement.setAttribute("min", "0"), w.minuteElement.setAttribute("max", "59"), w.minuteElement.setAttribute("maxlength", "2"), w.timeContainer.appendChild(t), w.timeContainer.appendChild(n), w.timeContainer.appendChild(a), w.config.time_24hr && w.timeContainer.classList.add("time24hr"); if (w.config.enableSeconds) { w.timeContainer.classList.add("hasSeconds"); var i = m("flatpickr-second"); w.secondElement = i.getElementsByTagName("input")[0], w.secondElement.value = o(w.latestSelectedDateObj ? w.latestSelectedDateObj.getSeconds() : e.seconds), w.secondElement.setAttribute("step", w.minuteElement.getAttribute("step")), w.secondElement.setAttribute("min", "0"), w.secondElement.setAttribute("max", "59"), w.secondElement.setAttribute("maxlength", "2"), w.timeContainer.appendChild(d("span", "flatpickr-time-separator", ":")), w.timeContainer.appendChild(i) } w.config.time_24hr || (w.amPM = d("span", "flatpickr-am-pm", w.l10n.amPM[r((w.latestSelectedDateObj ? w.hourElement.value : w.config.defaultHour) > 11)]), w.amPM.title = w.l10n.toggleTitle, w.amPM.tabIndex = -1, w.timeContainer.appendChild(w.amPM)); return w.timeContainer }()); s(w.calendarContainer, "rangeMode", "range" === w.config.mode), s(w.calendarContainer, "animate", !0 === w.config.animate), s(w.calendarContainer, "multiMonth", w.config.showMonths > 1), w.calendarContainer.appendChild(e); var i = void 0 !== w.config.appendTo && void 0 !== w.config.appendTo.nodeType; if ((w.config.inline || w.config.static) && (w.calendarContainer.classList.add(w.config.inline ? "inline" : "static"), w.config.inline && (!i && w.element.parentNode ? w.element.parentNode.insertBefore(w.calendarContainer, w._input.nextSibling) : void 0 !== w.config.appendTo && w.config.appendTo.appendChild(w.calendarContainer)), w.config.static)) { var l = d("div", "flatpickr-wrapper"); w.element.parentNode && w.element.parentNode.insertBefore(l, w.element), l.appendChild(w.element), w.altInput && l.appendChild(w.altInput), l.appendChild(w.calendarContainer) } w.config.static || w.config.inline || (void 0 !== w.config.appendTo ? w.config.appendTo : window.document.body).appendChild(w.calendarContainer) }(), function () { w.config.wrap && ["open", "close", "toggle", "clear"].forEach((function (e) { Array.prototype.forEach.call(w.element.querySelectorAll("[data-" + e + "]"), (function (n) { return P(n, "click", w[e]) })) })); if (w.isMobile) return void function () { var e = w.config.enableTime ? w.config.noCalendar ? "time" : "datetime-local" : "date"; w.mobileInput = d("input", w.input.className + " flatpickr-mobile"), w.mobileInput.tabIndex = 1, w.mobileInput.type = e, w.mobileInput.disabled = w.input.disabled, w.mobileInput.required = w.input.required, w.mobileInput.placeholder = w.input.placeholder, w.mobileFormatStr = "datetime-local" === e ? "Y-m-d\\TH:i:S" : "date" === e ? "Y-m-d" : "H:i:S", w.selectedDates.length > 0 && (w.mobileInput.defaultValue = w.mobileInput.value = w.formatDate(w.selectedDates[0], w.mobileFormatStr)); w.config.minDate && (w.mobileInput.min = w.formatDate(w.config.minDate, "Y-m-d")); w.config.maxDate && (w.mobileInput.max = w.formatDate(w.config.maxDate, "Y-m-d")); w.input.getAttribute("step") && (w.mobileInput.step = String(w.input.getAttribute("step"))); w.input.type = "hidden", void 0 !== w.altInput && (w.altInput.type = "hidden"); try { w.input.parentNode && w.input.parentNode.insertBefore(w.mobileInput, w.input.nextSibling) } catch (e) { } P(w.mobileInput, "change", (function (e) { w.setDate(g(e).value, !1, w.mobileFormatStr), De("onChange"), De("onClose") })) }(); var e = l(re, 50); w._debouncedChange = l(Y, 300), w.daysContainer && !/iPhone|iPad|iPod/i.test(navigator.userAgent) && P(w.daysContainer, "mouseover", (function (e) { "range" === w.config.mode && oe(g(e)) })); P(w._input, "keydown", ie), void 0 !== w.calendarContainer && P(w.calendarContainer, "keydown", ie); w.config.inline || w.config.static || P(window, "resize", e); void 0 !== window.ontouchstart ? P(window.document, "touchstart", X) : P(window.document, "mousedown", X); P(window.document, "focus", X, { capture: !0 }), !0 === w.config.clickOpens && (P(w._input, "focus", w.open), P(w._input, "click", w.open)); void 0 !== w.daysContainer && (P(w.monthNav, "click", xe), P(w.monthNav, ["keyup", "increment"], N), P(w.daysContainer, "click", me)); if (void 0 !== w.timeContainer && void 0 !== w.minuteElement && void 0 !== w.hourElement) { var n = function (e) { return g(e).select() }; P(w.timeContainer, ["increment"], _), P(w.timeContainer, "blur", _, { capture: !0 }), P(w.timeContainer, "click", H), P([w.hourElement, w.minuteElement], ["focus", "click"], n), void 0 !== w.secondElement && P(w.secondElement, "focus", (function () { return w.secondElement && w.secondElement.select() })), void 0 !== w.amPM && P(w.amPM, "click", (function (e) { _(e) })) } w.config.allowInput && P(w._input, "blur", ae) }(), (w.selectedDates.length || w.config.noCalendar) && (w.config.enableTime && F(w.config.noCalendar ? w.latestSelectedDateObj : void 0), ye(!1)), S(); var n = /^((?!chrome|android).)*safari/i.test(navigator.userAgent); !w.isMobile && n && de(), De("onReady") }(), w } function T(e, n) { for (var t = Array.prototype.slice.call(e).filter((function (e) { return e instanceof HTMLElement })), a = [], i = 0; i < t.length; i++) { var o = t[i]; try { if (null !== o.getAttribute("data-fp-omit")) continue; void 0 !== o._flatpickr && (o._flatpickr.destroy(), o._flatpickr = void 0), o._flatpickr = k(o, n || {}), a.push(o._flatpickr) } catch (e) { console.error(e) } } return 1 === a.length ? a[0] : a } "undefined" != typeof HTMLElement && "undefined" != typeof HTMLCollection && "undefined" != typeof NodeList && (HTMLCollection.prototype.flatpickr = NodeList.prototype.flatpickr = function (e) { return T(this, e) }, HTMLElement.prototype.flatpickr = function (e) { return T([this], e) }); var I = function (e, n) { return "string" == typeof e ? T(window.document.querySelectorAll(e), n) : e instanceof Node ? T([e], n) : T(e, n) }; return I.defaultConfig = {}, I.l10ns = { en: e({}, i), default: e({}, i) }, I.localize = function (n) { I.l10ns.default = e(e({}, I.l10ns.default), n) }, I.setDefaults = function (n) { I.defaultConfig = e(e({}, I.defaultConfig), n) }, I.parseDate = C({}), I.formatDate = b({}), I.compareDates = M, "undefined" != typeof jQuery && void 0 !== jQuery.fn && (jQuery.fn.flatpickr = function (e) { return T(this, e) }), Date.prototype.fp_incr = function (e) { return new Date(this.getFullYear(), this.getMonth(), this.getDate() + ("string" == typeof e ? parseInt(e, 10) : e)) }, "undefined" != typeof window && (window.flatpickr = I), I }));
+!function (e, t) { "object" == typeof exports && "undefined" != typeof module ? module.exports = t() : "function" == typeof define && define.amd ? define(t) : (e = "undefined" != typeof globalThis ? globalThis : e || self).monthSelectPlugin = t() }(this, function () { "use strict"; var e = function () { return (e = Object.assign || function (e) { for (var t, n = 1, a = arguments.length; n < a; n++)for (var o in t = arguments[n]) Object.prototype.hasOwnProperty.call(t, o) && (e[o] = t[o]); return e }).apply(this, arguments) }, t = function (e, t, n) { return n.months[t ? "shorthand" : "longhand"][e] }; var n = { shorthand: !1, dateFormat: "F Y", altFormat: "F Y", theme: "light" }; return function (a) { var o = e(e({}, n), a); return function (e) { e.config.dateFormat = o.dateFormat, e.config.altFormat = o.altFormat; var n = { monthsContainer: null }; function a() { if (e.rContainer) { for (var t = e.rContainer.querySelectorAll(".flatpickr-monthSelect-month.selected"), n = 0; n < t.length; n++)t[n].classList.remove("selected"); var a = (e.selectedDates[0] || new Date).getMonth(), o = e.rContainer.querySelector(".flatpickr-monthSelect-month:nth-child(" + (a + 1) + ")"); o && o.classList.add("selected") } } function r() { var t = e.selectedDates[0]; t && ((t = new Date(t)).setFullYear(e.currentYear), e.config.minDate && t < e.config.minDate && (t = e.config.minDate), e.config.maxDate && t > e.config.maxDate && (t = e.config.maxDate), e.currentYear = t.getFullYear()), e.currentYearElement.value = String(e.currentYear), e.rContainer && e.rContainer.querySelectorAll(".flatpickr-monthSelect-month").forEach(function (t) { t.dateObj.setFullYear(e.currentYear), e.config.minDate && t.dateObj < e.config.minDate || e.config.maxDate && t.dateObj > e.config.maxDate ? t.classList.add("disabled") : t.classList.remove("disabled") }), a() } function i(t) { t.preventDefault(), t.stopPropagation(); var n = function (e) { try { return "function" == typeof e.composedPath ? e.composedPath()[0] : e.target } catch (t) { return e.target } }(t); n instanceof Element && !n.classList.contains("disabled") && (c(n.dateObj), e.close()) } function c(t) { var n = new Date(t); n.setFullYear(e.currentYear), e.setDate(n, !0), a() } var l = { 37: -1, 39: 1, 40: 3, 38: -3 }; return { onParseConfig: function () { e.config.mode = "single", e.config.enableTime = !1 }, onValueUpdate: a, onKeyDown: function (t, a, o, r) { var i = void 0 !== l[r.keyCode]; if ((i || 13 === r.keyCode) && e.rContainer && n.monthsContainer) { var s = e.rContainer.querySelector(".flatpickr-monthSelect-month.selected"), d = Array.prototype.indexOf.call(n.monthsContainer.children, document.activeElement); if (-1 === d) { var f = s || n.monthsContainer.firstElementChild; f.focus(), d = f.$i } i ? n.monthsContainer.children[(12 + d + l[r.keyCode]) % 12].focus() : 13 === r.keyCode && n.monthsContainer.contains(document.activeElement) && c(document.activeElement.dateObj) } }, onReady: [function () { e.currentMonth = 0 }, function () { if (e.rContainer && e.daysContainer && e.weekdayContainer) { e.rContainer.removeChild(e.daysContainer), e.rContainer.removeChild(e.weekdayContainer); for (var t = 0; t < e.monthElements.length; t++) { var n = e.monthElements[t]; n.parentNode && n.parentNode.removeChild(n) } } }, function () { e._bind(e.prevMonthNav, "click", function (t) { t.preventDefault(), t.stopPropagation(), e.changeYear(e.currentYear - 1), r() }), e._bind(e.nextMonthNav, "click", function (t) { t.preventDefault(), t.stopPropagation(), e.changeYear(e.currentYear + 1), r() }) }, function () { if (e.rContainer) { n.monthsContainer = e._createElement("div", "flatpickr-monthSelect-months"), n.monthsContainer.tabIndex = -1, e.calendarContainer.classList.add("flatpickr-monthSelect-theme-" + o.theme); for (var a = 0; a < 12; a++) { var r = e._createElement("span", "flatpickr-monthSelect-month"); r.dateObj = new Date(e.currentYear, a), r.$i = a, r.textContent = t(a, o.shorthand, e.l10n), r.tabIndex = -1, r.addEventListener("click", i), n.monthsContainer.appendChild(r), (e.config.minDate && r.dateObj < e.config.minDate || e.config.maxDate && r.dateObj > e.config.maxDate) && r.classList.add("disabled") } e.rContainer.appendChild(n.monthsContainer) } }, a, function () { e.loadedPlugins.push("monthSelect") }], onDestroy: function () { if (null !== n.monthsContainer) for (var e = n.monthsContainer.querySelectorAll(".flatpickr-monthSelect-month"), t = 0; t < e.length; t++)e[t].removeEventListener("click", i) } } } } });
\ No newline at end of file
diff --git a/_content/Blazorise/vendors/floating-ui-core.js b/_content/Blazorise/vendors/floating-ui-core.js
new file mode 100755
index 00000000..4a2771f2
--- /dev/null
+++ b/_content/Blazorise/vendors/floating-ui-core.js
@@ -0,0 +1,7 @@
+/**
+ * Bundled by jsDelivr using Rollup v2.79.1 and Terser v5.17.1.
+ * Original file: /npm/@floating-ui/core@1.3.1/dist/floating-ui.core.browser.min.mjs
+ *
+ * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
+ */
+function t(t) { return t.split("-")[1] } function e(t) { return "y" === t ? "height" : "width" } function n(t) { return t.split("-")[0] } function o(t) { return ["top", "bottom"].includes(n(t)) ? "x" : "y" } function i(i, r, a) { let { reference: l, floating: s } = i; const c = l.x + l.width / 2 - s.width / 2, f = l.y + l.height / 2 - s.height / 2, m = o(r), u = e(m), g = l[u] / 2 - s[u] / 2, d = "x" === m; let p; switch (n(r)) { case "top": p = { x: c, y: l.y - s.height }; break; case "bottom": p = { x: c, y: l.y + l.height }; break; case "right": p = { x: l.x + l.width, y: f }; break; case "left": p = { x: l.x - s.width, y: f }; break; default: p = { x: l.x, y: l.y } }switch (t(r)) { case "start": p[m] -= g * (a && d ? -1 : 1); break; case "end": p[m] += g * (a && d ? -1 : 1) }return p } const r = async (t, e, n) => { const { placement: o = "bottom", strategy: r = "absolute", middleware: a = [], platform: l } = n, s = a.filter(Boolean), c = await (null == l.isRTL ? void 0 : l.isRTL(e)); let f = await l.getElementRects({ reference: t, floating: e, strategy: r }), { x: m, y: u } = i(f, o, c), g = o, d = {}, p = 0; for (let n = 0; n < s.length; n++) { const { name: a, fn: h } = s[n], { x: y, y: x, data: w, reset: v } = await h({ x: m, y: u, initialPlacement: o, placement: g, strategy: r, middlewareData: d, rects: f, platform: l, elements: { reference: t, floating: e } }); m = null != y ? y : m, u = null != x ? x : u, d = { ...d, [a]: { ...d[a], ...w } }, v && p <= 50 && (p++, "object" == typeof v && (v.placement && (g = v.placement), v.rects && (f = !0 === v.rects ? await l.getElementRects({ reference: t, floating: e, strategy: r }) : v.rects), ({ x: m, y: u } = i(f, g, c))), n = -1) } return { x: m, y: u, placement: g, strategy: r, middlewareData: d } }; function a(t, e) { return "function" == typeof t ? t(e) : t } function l(t) { return "number" != typeof t ? function (t) { return { top: 0, right: 0, bottom: 0, left: 0, ...t } }(t) : { top: t, right: t, bottom: t, left: t } } function s(t) { return { ...t, top: t.y, left: t.x, right: t.x + t.width, bottom: t.y + t.height } } async function c(t, e) { var n; void 0 === e && (e = {}); const { x: o, y: i, platform: r, rects: c, elements: f, strategy: m } = t, { boundary: u = "clippingAncestors", rootBoundary: g = "viewport", elementContext: d = "floating", altBoundary: p = !1, padding: h = 0 } = a(e, t), y = l(h), x = f[p ? "floating" === d ? "reference" : "floating" : d], w = s(await r.getClippingRect({ element: null == (n = await (null == r.isElement ? void 0 : r.isElement(x))) || n ? x : x.contextElement || await (null == r.getDocumentElement ? void 0 : r.getDocumentElement(f.floating)), boundary: u, rootBoundary: g, strategy: m })), v = "floating" === d ? { ...c.floating, x: o, y: i } : c.reference, b = await (null == r.getOffsetParent ? void 0 : r.getOffsetParent(f.floating)), A = await (null == r.isElement ? void 0 : r.isElement(b)) && await (null == r.getScale ? void 0 : r.getScale(b)) || { x: 1, y: 1 }, R = s(r.convertOffsetParentRelativeRectToViewportRelativeRect ? await r.convertOffsetParentRelativeRectToViewportRelativeRect({ rect: v, offsetParent: b, strategy: m }) : v); return { top: (w.top - R.top + y.top) / A.y, bottom: (R.bottom - w.bottom + y.bottom) / A.y, left: (w.left - R.left + y.left) / A.x, right: (R.right - w.right + y.right) / A.x } } const f = Math.min, m = Math.max; function u(t, e, n) { return m(t, f(e, n)) } const g = n => ({ name: "arrow", options: n, async fn(i) { const { x: r, y: s, placement: c, rects: m, platform: g, elements: d } = i, { element: p, padding: h = 0 } = a(n, i) || {}; if (null == p) return {}; const y = l(h), x = { x: r, y: s }, w = o(c), v = e(w), b = await g.getDimensions(p), A = "y" === w, R = A ? "top" : "left", P = A ? "bottom" : "right", T = A ? "clientHeight" : "clientWidth", E = m.reference[v] + m.reference[w] - x[w] - m.floating[v], D = x[w] - m.reference[w], L = await (null == g.getOffsetParent ? void 0 : g.getOffsetParent(p)); let O = L ? L[T] : 0; O && await (null == g.isElement ? void 0 : g.isElement(L)) || (O = d.floating[T] || m.floating[v]); const k = E / 2 - D / 2, C = O / 2 - b[v] / 2 - 1, B = f(y[R], C), H = f(y[P], C), S = B, z = O - b[v] - H, F = O / 2 - b[v] / 2 + k, M = u(S, F, z), V = null != t(c) && F != M && m.reference[v] / 2 - (F < S ? B : H) - b[v] / 2 < 0 ? F < S ? S - F : z - F : 0; return { [w]: x[w] - V, data: { [w]: M, centerOffset: F - M + V } } } }), d = ["top", "right", "bottom", "left"], p = d.reduce(((t, e) => t.concat(e, e + "-start", e + "-end")), []), h = { left: "right", right: "left", bottom: "top", top: "bottom" }; function y(t) { return t.replace(/left|right|bottom|top/g, (t => h[t])) } function x(n, i, r) { void 0 === r && (r = !1); const a = t(n), l = o(n), s = e(l); let c = "x" === l ? a === (r ? "end" : "start") ? "right" : "left" : "start" === a ? "bottom" : "top"; return i.reference[s] > i.floating[s] && (c = y(c)), { main: c, cross: y(c) } } const w = { start: "end", end: "start" }; function v(t) { return t.replace(/start|end/g, (t => w[t])) } const b = function (e) { return void 0 === e && (e = {}), { name: "autoPlacement", options: e, async fn(o) { var i, r, l; const { rects: s, middlewareData: f, placement: m, platform: u, elements: g } = o, { crossAxis: d = !1, alignment: h, allowedPlacements: y = p, autoAlignment: w = !0, ...b } = a(e, o), A = void 0 !== h || y === p ? function (e, o, i) { return (e ? [...i.filter((n => t(n) === e)), ...i.filter((n => t(n) !== e))] : i.filter((t => n(t) === t))).filter((n => !e || t(n) === e || !!o && v(n) !== n)) }(h || null, w, y) : y, R = await c(o, b), P = (null == (i = f.autoPlacement) ? void 0 : i.index) || 0, T = A[P]; if (null == T) return {}; const { main: E, cross: D } = x(T, s, await (null == u.isRTL ? void 0 : u.isRTL(g.floating))); if (m !== T) return { reset: { placement: A[0] } }; const L = [R[n(T)], R[E], R[D]], O = [...(null == (r = f.autoPlacement) ? void 0 : r.overflows) || [], { placement: T, overflows: L }], k = A[P + 1]; if (k) return { data: { index: P + 1, overflows: O }, reset: { placement: k } }; const C = O.map((e => { const n = t(e.placement); return [e.placement, n && d ? e.overflows.slice(0, 2).reduce(((t, e) => t + e), 0) : e.overflows[0], e.overflows] })).sort(((t, e) => t[1] - e[1])), B = (null == (l = C.filter((e => e[2].slice(0, t(e[0]) ? 2 : 3).every((t => t <= 0))))[0]) ? void 0 : l[0]) || C[0][0]; return B !== m ? { data: { index: P + 1, overflows: O }, reset: { placement: B } } : {} } } }, A = function (e) { return void 0 === e && (e = {}), { name: "flip", options: e, async fn(o) { var i; const { placement: r, middlewareData: l, rects: s, initialPlacement: f, platform: m, elements: u } = o, { mainAxis: g = !0, crossAxis: d = !0, fallbackPlacements: p, fallbackStrategy: h = "bestFit", fallbackAxisSideDirection: w = "none", flipAlignment: b = !0, ...A } = a(e, o), R = n(r), P = n(f) === f, T = await (null == m.isRTL ? void 0 : m.isRTL(u.floating)), E = p || (P || !b ? [y(f)] : function (t) { const e = y(t); return [v(t), e, v(e)] }(f)); p || "none" === w || E.push(...function (e, o, i, r) { const a = t(e); let l = function (t, e, n) { const o = ["left", "right"], i = ["right", "left"], r = ["top", "bottom"], a = ["bottom", "top"]; switch (t) { case "top": case "bottom": return n ? e ? i : o : e ? o : i; case "left": case "right": return e ? r : a; default: return [] } }(n(e), "start" === i, r); return a && (l = l.map((t => t + "-" + a)), o && (l = l.concat(l.map(v)))), l }(f, b, w, T)); const D = [f, ...E], L = await c(o, A), O = []; let k = (null == (i = l.flip) ? void 0 : i.overflows) || []; if (g && O.push(L[R]), d) { const { main: t, cross: e } = x(r, s, T); O.push(L[t], L[e]) } if (k = [...k, { placement: r, overflows: O }], !O.every((t => t <= 0))) { var C, B; const t = ((null == (C = l.flip) ? void 0 : C.index) || 0) + 1, e = D[t]; if (e) return { data: { index: t, overflows: k }, reset: { placement: e } }; let n = null == (B = k.filter((t => t.overflows[0] <= 0)).sort(((t, e) => t.overflows[1] - e.overflows[1]))[0]) ? void 0 : B.placement; if (!n) switch (h) { case "bestFit": { var H; const t = null == (H = k.map((t => [t.placement, t.overflows.filter((t => t > 0)).reduce(((t, e) => t + e), 0)])).sort(((t, e) => t[1] - e[1]))[0]) ? void 0 : H[0]; t && (n = t); break } case "initialPlacement": n = f }if (r !== n) return { reset: { placement: n } } } return {} } } }; function R(t, e) { return { top: t.top - e.height, right: t.right - e.width, bottom: t.bottom - e.height, left: t.left - e.width } } function P(t) { return d.some((e => t[e] >= 0)) } const T = function (t) { return void 0 === t && (t = {}), { name: "hide", options: t, async fn(e) { const { rects: n } = e, { strategy: o = "referenceHidden", ...i } = a(t, e); switch (o) { case "referenceHidden": { const t = R(await c(e, { ...i, elementContext: "reference" }), n.reference); return { data: { referenceHiddenOffsets: t, referenceHidden: P(t) } } } case "escaped": { const t = R(await c(e, { ...i, altBoundary: !0 }), n.floating); return { data: { escapedOffsets: t, escaped: P(t) } } } default: return {} } } } }; function E(t) { const e = f(...t.map((t => t.left))), n = f(...t.map((t => t.top))); return { x: e, y: n, width: m(...t.map((t => t.right))) - e, height: m(...t.map((t => t.bottom))) - n } } const D = function (t) { return void 0 === t && (t = {}), { name: "inline", options: t, async fn(e) { const { placement: i, elements: r, rects: c, platform: u, strategy: g } = e, { padding: d = 2, x: p, y: h } = a(t, e), y = Array.from(await (null == u.getClientRects ? void 0 : u.getClientRects(r.reference)) || []), x = function (t) { const e = t.slice().sort(((t, e) => t.y - e.y)), n = []; let o = null; for (let t = 0; t < e.length; t++) { const i = e[t]; !o || i.y - o.y > o.height / 2 ? n.push([i]) : n[n.length - 1].push(i), o = i } return n.map((t => s(E(t)))) }(y), w = s(E(y)), v = l(d), b = await u.getElementRects({ reference: { getBoundingClientRect: function () { if (2 === x.length && x[0].left > x[1].right && null != p && null != h) return x.find((t => p > t.left - v.left && p < t.right + v.right && h > t.top - v.top && h < t.bottom + v.bottom)) || w; if (x.length >= 2) { if ("x" === o(i)) { const t = x[0], e = x[x.length - 1], o = "top" === n(i), r = t.top, a = e.bottom, l = o ? t.left : e.left, s = o ? t.right : e.right; return { top: r, bottom: a, left: l, right: s, width: s - l, height: a - r, x: l, y: r } } const t = "left" === n(i), e = m(...x.map((t => t.right))), r = f(...x.map((t => t.left))), a = x.filter((n => t ? n.left === r : n.right === e)), l = a[0].top, s = a[a.length - 1].bottom; return { top: l, bottom: s, left: r, right: e, width: e - r, height: s - l, x: r, y: l } } return w } }, floating: r.floating, strategy: g }); return c.reference.x !== b.reference.x || c.reference.y !== b.reference.y || c.reference.width !== b.reference.width || c.reference.height !== b.reference.height ? { reset: { rects: b } } : {} } } }, L = function (e) { return void 0 === e && (e = 0), { name: "offset", options: e, async fn(i) { const { x: r, y: l } = i, s = await async function (e, i) { const { placement: r, platform: l, elements: s } = e, c = await (null == l.isRTL ? void 0 : l.isRTL(s.floating)), f = n(r), m = t(r), u = "x" === o(r), g = ["left", "top"].includes(f) ? -1 : 1, d = c && u ? -1 : 1, p = a(i, e); let { mainAxis: h, crossAxis: y, alignmentAxis: x } = "number" == typeof p ? { mainAxis: p, crossAxis: 0, alignmentAxis: null } : { mainAxis: 0, crossAxis: 0, alignmentAxis: null, ...p }; return m && "number" == typeof x && (y = "end" === m ? -1 * x : x), u ? { x: y * d, y: h * g } : { x: h * g, y: y * d } }(i, e); return { x: r + s.x, y: l + s.y, data: s } } } }; function O(t) { return "x" === t ? "y" : "x" } const k = function (t) { return void 0 === t && (t = {}), { name: "shift", options: t, async fn(e) { const { x: i, y: r, placement: l } = e, { mainAxis: s = !0, crossAxis: f = !1, limiter: m = { fn: t => { let { x: e, y: n } = t; return { x: e, y: n } } }, ...g } = a(t, e), d = { x: i, y: r }, p = await c(e, g), h = o(n(l)), y = O(h); let x = d[h], w = d[y]; if (s) { const t = "y" === h ? "bottom" : "right"; x = u(x + p["y" === h ? "top" : "left"], x, x - p[t]) } if (f) { const t = "y" === y ? "bottom" : "right"; w = u(w + p["y" === y ? "top" : "left"], w, w - p[t]) } const v = m.fn({ ...e, [h]: x, [y]: w }); return { ...v, data: { x: v.x - i, y: v.y - r } } } } }, C = function (t) { return void 0 === t && (t = {}), { options: t, fn(e) { const { x: i, y: r, placement: l, rects: s, middlewareData: c } = e, { offset: f = 0, mainAxis: m = !0, crossAxis: u = !0 } = a(t, e), g = { x: i, y: r }, d = o(l), p = O(d); let h = g[d], y = g[p]; const x = a(f, e), w = "number" == typeof x ? { mainAxis: x, crossAxis: 0 } : { mainAxis: 0, crossAxis: 0, ...x }; if (m) { const t = "y" === d ? "height" : "width", e = s.reference[d] - s.floating[t] + w.mainAxis, n = s.reference[d] + s.reference[t] - w.mainAxis; h < e ? h = e : h > n && (h = n) } if (u) { var v, b; const t = "y" === d ? "width" : "height", e = ["top", "left"].includes(n(l)), o = s.reference[p] - s.floating[t] + (e && (null == (v = c.offset) ? void 0 : v[p]) || 0) + (e ? 0 : w.crossAxis), i = s.reference[p] + s.reference[t] + (e ? 0 : (null == (b = c.offset) ? void 0 : b[p]) || 0) - (e ? w.crossAxis : 0); y < o ? y = o : y > i && (y = i) } return { [d]: h, [p]: y } } } }, B = function (e) { return void 0 === e && (e = {}), { name: "size", options: e, async fn(i) { const { placement: r, rects: l, platform: s, elements: u } = i, { apply: g = (() => { }), ...d } = a(e, i), p = await c(i, d), h = n(r), y = t(r), x = "x" === o(r), { width: w, height: v } = l.floating; let b, A; "top" === h || "bottom" === h ? (b = h, A = y === (await (null == s.isRTL ? void 0 : s.isRTL(u.floating)) ? "start" : "end") ? "left" : "right") : (A = h, b = "end" === y ? "top" : "bottom"); const R = v - p[b], P = w - p[A], T = !i.middlewareData.shift; let E = R, D = P; if (x) { const t = w - p.left - p.right; D = y || T ? f(P, t) : t } else { const t = v - p.top - p.bottom; E = y || T ? f(R, t) : t } if (T && !y) { const t = m(p.left, 0), e = m(p.right, 0), n = m(p.top, 0), o = m(p.bottom, 0); x ? D = w - 2 * (0 !== t || 0 !== e ? t + e : m(p.left, p.right)) : E = v - 2 * (0 !== n || 0 !== o ? n + o : m(p.top, p.bottom)) } await g({ ...i, availableWidth: D, availableHeight: E }); const L = await s.getDimensions(u.floating); return w !== L.width || v !== L.height ? { reset: { rects: !0 } } : {} } } }; export { g as arrow, b as autoPlacement, r as computePosition, c as detectOverflow, A as flip, T as hide, D as inline, C as limitShift, L as offset, s as rectToClientRect, k as shift, B as size }; export default null;
\ No newline at end of file
diff --git a/_content/Blazorise/vendors/floating-ui.js b/_content/Blazorise/vendors/floating-ui.js
new file mode 100755
index 00000000..e40ab00f
--- /dev/null
+++ b/_content/Blazorise/vendors/floating-ui.js
@@ -0,0 +1,7 @@
+/**
+ * Bundled by jsDelivr using Rollup v2.79.1 and Terser v5.17.1.
+ * Original file: /npm/@floating-ui/dom@1.4.5/dist/floating-ui.dom.browser.min.mjs
+ *
+ * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
+ */
+import { computePosition as t, rectToClientRect as e } from "./floating-ui-core.js"; export { arrow, autoPlacement, detectOverflow, flip, hide, inline, limitShift, offset, shift, size } from "./floating-ui-core.js"; function n(t) { var e; return (null == t || null == (e = t.ownerDocument) ? void 0 : e.defaultView) || window } function o(t) { return n(t).getComputedStyle(t) } function i(t) { return t instanceof n(t).Node } function r(t) { return i(t) ? (t.nodeName || "").toLowerCase() : "#document" } function c(t) { return t instanceof HTMLElement || t instanceof n(t).HTMLElement } function l(t) { return "undefined" != typeof ShadowRoot && (t instanceof n(t).ShadowRoot || t instanceof ShadowRoot) } function s(t) { const { overflow: e, overflowX: n, overflowY: i, display: r } = o(t); return /auto|scroll|overlay|hidden|clip/.test(e + i + n) && !["inline", "contents"].includes(r) } function f(t) { return ["table", "td", "th"].includes(r(t)) } function u(t) { const e = a(), n = o(t); return "none" !== n.transform || "none" !== n.perspective || !!n.containerType && "normal" !== n.containerType || !e && !!n.backdropFilter && "none" !== n.backdropFilter || !e && !!n.filter && "none" !== n.filter || ["transform", "perspective", "filter"].some((t => (n.willChange || "").includes(t))) || ["paint", "layout", "strict", "content"].some((t => (n.contain || "").includes(t))) } function a() { return !("undefined" == typeof CSS || !CSS.supports) && CSS.supports("-webkit-backdrop-filter", "none") } function d(t) { return ["html", "body", "#document"].includes(r(t)) } const h = Math.min, p = Math.max, m = Math.round, g = Math.floor, y = t => ({ x: t, y: t }); function w(t) { const e = o(t); let n = parseFloat(e.width) || 0, i = parseFloat(e.height) || 0; const r = c(t), l = r ? t.offsetWidth : n, s = r ? t.offsetHeight : i, f = m(n) !== l || m(i) !== s; return f && (n = l, i = s), { width: n, height: i, $: f } } function x(t) { return t instanceof Element || t instanceof n(t).Element } function v(t) { return x(t) ? t : t.contextElement } function b(t) { const e = v(t); if (!c(e)) return y(1); const n = e.getBoundingClientRect(), { width: o, height: i, $: r } = w(e); let l = (r ? m(n.width) : n.width) / o, s = (r ? m(n.height) : n.height) / i; return l && Number.isFinite(l) || (l = 1), s && Number.isFinite(s) || (s = 1), { x: l, y: s } } const L = y(0); function T(t) { const e = n(t); return a() && e.visualViewport ? { x: e.visualViewport.offsetLeft, y: e.visualViewport.offsetTop } : L } function R(t, o, i, r) { void 0 === o && (o = !1), void 0 === i && (i = !1); const c = t.getBoundingClientRect(), l = v(t); let s = y(1); o && (r ? x(r) && (s = b(r)) : s = b(t)); const f = function (t, e, o) { return void 0 === e && (e = !1), !(!o || e && o !== n(t)) && e }(l, i, r) ? T(l) : y(0); let u = (c.left + f.x) / s.x, a = (c.top + f.y) / s.y, d = c.width / s.x, h = c.height / s.y; if (l) { const t = n(l), e = r && x(r) ? n(r) : r; let o = t.frameElement; for (; o && r && e !== t;) { const t = b(o), e = o.getBoundingClientRect(), i = getComputedStyle(o), r = e.left + (o.clientLeft + parseFloat(i.paddingLeft)) * t.x, c = e.top + (o.clientTop + parseFloat(i.paddingTop)) * t.y; u *= t.x, a *= t.y, d *= t.x, h *= t.y, u += r, a += c, o = n(o).frameElement } } return e({ width: d, height: h, x: u, y: a }) } function E(t) { return x(t) ? { scrollLeft: t.scrollLeft, scrollTop: t.scrollTop } : { scrollLeft: t.pageXOffset, scrollTop: t.pageYOffset } } function S(t) { var e; return null == (e = (i(t) ? t.ownerDocument : t.document) || window.document) ? void 0 : e.documentElement } function C(t) { return R(S(t)).left + E(t).scrollLeft } function F(t) { if ("html" === r(t)) return t; const e = t.assignedSlot || t.parentNode || l(t) && t.host || S(t); return l(e) ? e.host : e } function O(t) { const e = F(t); return d(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : c(e) && s(e) ? e : O(e) } function D(t, e) { var o; void 0 === e && (e = []); const i = O(t), r = i === (null == (o = t.ownerDocument) ? void 0 : o.body), c = n(i); return r ? e.concat(c, c.visualViewport || [], s(i) ? i : []) : e.concat(i, D(i)) } function H(t, i, r) { let l; if ("viewport" === i) l = function (t, e) { const o = n(t), i = S(t), r = o.visualViewport; let c = i.clientWidth, l = i.clientHeight, s = 0, f = 0; if (r) { c = r.width, l = r.height; const t = a(); (!t || t && "fixed" === e) && (s = r.offsetLeft, f = r.offsetTop) } return { width: c, height: l, x: s, y: f } }(t, r); else if ("document" === i) l = function (t) { const e = S(t), n = E(t), i = t.ownerDocument.body, r = p(e.scrollWidth, e.clientWidth, i.scrollWidth, i.clientWidth), c = p(e.scrollHeight, e.clientHeight, i.scrollHeight, i.clientHeight); let l = -n.scrollLeft + C(t); const s = -n.scrollTop; return "rtl" === o(i).direction && (l += p(e.clientWidth, i.clientWidth) - r), { width: r, height: c, x: l, y: s } }(S(t)); else if (x(i)) l = function (t, e) { const n = R(t, !0, "fixed" === e), o = n.top + t.clientTop, i = n.left + t.clientLeft, r = c(t) ? b(t) : y(1); return { width: t.clientWidth * r.x, height: t.clientHeight * r.y, x: i * r.x, y: o * r.y } }(i, r); else { const e = T(t); l = { ...i, x: i.x - e.x, y: i.y - e.y } } return e(l) } function W(t, e) { const n = F(t); return !(n === e || !x(n) || d(n)) && ("fixed" === o(n).position || W(n, e)) } function M(t, e, n) { const o = c(e), i = S(e), l = "fixed" === n, f = R(t, !0, l, e); let u = { scrollLeft: 0, scrollTop: 0 }; const a = y(0); if (o || !o && !l) if (("body" !== r(e) || s(i)) && (u = E(e)), c(e)) { const t = R(e, !0, l, e); a.x = t.x + e.clientLeft, a.y = t.y + e.clientTop } else i && (a.x = C(i)); return { x: f.left + u.scrollLeft - a.x, y: f.top + u.scrollTop - a.y, width: f.width, height: f.height } } function z(t, e) { return c(t) && "fixed" !== o(t).position ? e ? e(t) : t.offsetParent : null } function A(t, e) { const i = n(t); if (!c(t)) return i; let l = z(t, e); for (; l && f(l) && "static" === o(l).position;)l = z(l, e); return l && ("html" === r(l) || "body" === r(l) && "static" === o(l).position && !u(l)) ? i : l || function (t) { let e = F(t); for (; c(e) && !d(e);) { if (u(e)) return e; e = F(e) } return null }(t) || i } const P = { convertOffsetParentRelativeRectToViewportRelativeRect: function (t) { let { rect: e, offsetParent: n, strategy: o } = t; const i = c(n), l = S(n); if (n === l) return e; let f = { scrollLeft: 0, scrollTop: 0 }, u = y(1); const a = y(0); if ((i || !i && "fixed" !== o) && (("body" !== r(n) || s(l)) && (f = E(n)), c(n))) { const t = R(n); u = b(n), a.x = t.x + n.clientLeft, a.y = t.y + n.clientTop } return { width: e.width * u.x, height: e.height * u.y, x: e.x * u.x - f.scrollLeft * u.x + a.x, y: e.y * u.y - f.scrollTop * u.y + a.y } }, getDocumentElement: S, getClippingRect: function (t) { let { element: e, boundary: n, rootBoundary: i, strategy: c } = t; const l = [..."clippingAncestors" === n ? function (t, e) { const n = e.get(t); if (n) return n; let i = D(t).filter((t => x(t) && "body" !== r(t))), c = null; const l = "fixed" === o(t).position; let f = l ? F(t) : t; for (; x(f) && !d(f);) { const e = o(f), n = u(f); n || "fixed" !== e.position || (c = null), (l ? !n && !c : !n && "static" === e.position && c && ["absolute", "fixed"].includes(c.position) || s(f) && !n && W(t, f)) ? i = i.filter((t => t !== f)) : c = e, f = F(f) } return e.set(t, i), i }(e, this._c) : [].concat(n), i], f = l[0], a = l.reduce(((t, n) => { const o = H(e, n, c); return t.top = p(o.top, t.top), t.right = h(o.right, t.right), t.bottom = h(o.bottom, t.bottom), t.left = p(o.left, t.left), t }), H(e, f, c)); return { width: a.right - a.left, height: a.bottom - a.top, x: a.left, y: a.top } }, getOffsetParent: A, getElementRects: async function (t) { let { reference: e, floating: n, strategy: o } = t; const i = this.getOffsetParent || A, r = this.getDimensions; return { reference: M(e, await i(n), o), floating: { x: 0, y: 0, ...await r(n) } } }, getClientRects: function (t) { return Array.from(t.getClientRects()) }, getDimensions: function (t) { return w(t) }, getScale: b, isElement: x, isRTL: function (t) { return "rtl" === getComputedStyle(t).direction } }; function V(t, e, n, o) { void 0 === o && (o = {}); const { ancestorScroll: i = !0, ancestorResize: r = !0, elementResize: c = "function" == typeof ResizeObserver, layoutShift: l = "function" == typeof IntersectionObserver, animationFrame: s = !1 } = o, f = v(t), u = i || r ? [...f ? D(f) : [], ...D(e)] : []; u.forEach((t => { i && t.addEventListener("scroll", n, { passive: !0 }), r && t.addEventListener("resize", n) })); const a = f && l ? function (t, e) { let n, o = null; const i = S(t); function r() { clearTimeout(n), o && o.disconnect(), o = null } return function c(l, s) { void 0 === l && (l = !1), void 0 === s && (s = 1), r(); const { left: f, top: u, width: a, height: d } = t.getBoundingClientRect(); if (l || e(), !a || !d) return; const m = { rootMargin: -g(u) + "px " + -g(i.clientWidth - (f + a)) + "px " + -g(i.clientHeight - (u + d)) + "px " + -g(f) + "px", threshold: p(0, h(1, s)) || 1 }; let y = !0; function w(t) { const e = t[0].intersectionRatio; if (e !== s) { if (!y) return c(); e ? c(!1, e) : n = setTimeout((() => { c(!1, 1e-7) }), 100) } y = !1 } try { o = new IntersectionObserver(w, { ...m, root: i.ownerDocument }) } catch (t) { o = new IntersectionObserver(w, m) } o.observe(t) }(!0), r }(f, n) : null; let d, m = -1, y = null; c && (y = new ResizeObserver((t => { let [o] = t; o && o.target === f && y && (y.unobserve(e), cancelAnimationFrame(m), m = requestAnimationFrame((() => { y && y.observe(e) }))), n() })), f && !s && y.observe(f), y.observe(e)); let w = s ? R(t) : null; return s && function e() { const o = R(t); !w || o.x === w.x && o.y === w.y && o.width === w.width && o.height === w.height || n(), w = o, d = requestAnimationFrame(e) }(), n(), () => { u.forEach((t => { i && t.removeEventListener("scroll", n), r && t.removeEventListener("resize", n) })), a && a(), y && y.disconnect(), y = null, s && cancelAnimationFrame(d) } } const B = (e, n, o) => { const i = new Map, r = { platform: P, ...o }, c = { ...r.platform, _c: i }; return t(e, n, { ...r, platform: c }) }; export { V as autoUpdate, B as computePosition, D as getOverflowAncestors, P as platform }; export default null;
\ No newline at end of file
diff --git a/_content/Blazorise/vendors/inputmask.js b/_content/Blazorise/vendors/inputmask.js
new file mode 100755
index 00000000..26d4ae9d
--- /dev/null
+++ b/_content/Blazorise/vendors/inputmask.js
@@ -0,0 +1,13 @@
+/*!
+ * dist/inputmask.min
+ * https://github.com/RobinHerbots/Inputmask
+ * Copyright (c) 2010 - 2021 Robin Herbots
+ * Licensed under the MIT license
+ * Version: 5.0.7-beta.27
+ * IMPORTANT: modified part of the code according to https://github.com/RobinHerbots/Inputmask/issues/1485
+ */
+!function (e, t) { if ("object" == typeof exports && "object" == typeof module) module.exports = t(); else if ("function" == typeof define && define.amd) define([], t); else { var i = t(); for (var a in i) ("object" == typeof exports ? exports : e)[a] = i[a] } }(self, (function () { return function () { "use strict"; var e = { 8741: function (e, t) { Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = !("undefined" == typeof window || !window.document || !window.document.createElement); t.default = i }, 3976: function (e, t, i) { Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var a, n = (a = i(5581)) && a.__esModule ? a : { default: a }; var r = { _maxTestPos: 500, placeholder: "_", optionalmarker: ["[", "]"], quantifiermarker: ["{", "}"], groupmarker: ["(", ")"], alternatormarker: "|", escapeChar: "\\", mask: null, regex: null, oncomplete: function () { }, onincomplete: function () { }, oncleared: function () { }, repeat: 0, greedy: !1, autoUnmask: !1, removeMaskOnSubmit: !1, clearMaskOnLostFocus: !0, insertMode: !0, insertModeVisual: !0, clearIncomplete: !1, alias: null, onKeyDown: function () { }, onBeforeMask: null, onBeforePaste: function (e, t) { return "function" == typeof t.onBeforeMask ? t.onBeforeMask.call(this, e, t) : e }, onBeforeWrite: null, onUnMask: null, showMaskOnFocus: !0, showMaskOnHover: !0, onKeyValidation: function () { }, skipOptionalPartCharacter: " ", numericInput: !1, rightAlign: !1, undoOnEscape: !0, radixPoint: "", _radixDance: !1, groupSeparator: "", keepStatic: null, positionCaretOnTab: !0, tabThrough: !1, supportsInputType: ["text", "tel", "url", "password", "search"], ignorables: [n.default.BACKSPACE, n.default.TAB, n.default["PAUSE/BREAK"], n.default.ESCAPE, n.default.PAGE_UP, n.default.PAGE_DOWN, n.default.END, n.default.HOME, n.default.LEFT, n.default.UP, n.default.RIGHT, n.default.DOWN, n.default.INSERT, n.default.DELETE, 93, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 0, 229], isComplete: null, preValidation: null, postValidation: null, staticDefinitionSymbol: void 0, jitMasking: !1, nullable: !0, inputEventOnly: !1, noValuePatching: !1, positionCaretOnClick: "lvp", casing: null, inputmode: "text", importDataAttributes: !0, shiftPositions: !0, usePrototypeDefinitions: !0, validationEventTimeOut: 3e3, substitutes: {} }; t.default = r }, 7392: function (e, t) { Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; t.default = { 9: { validator: "[0-9\uff10-\uff19]", definitionSymbol: "*" }, a: { validator: "[A-Za-z\u0410-\u044f\u0401\u0451\xc0-\xff\xb5]", definitionSymbol: "*" }, "*": { validator: "[0-9\uff10-\uff19A-Za-z\u0410-\u044f\u0401\u0451\xc0-\xff\xb5]" } } }, 253: function (e, t) { Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function (e, t, i) { if (void 0 === i) return e.__data ? e.__data[t] : null; e.__data = e.__data || {}, e.__data[t] = i } }, 3776: function (e, t, i) { Object.defineProperty(t, "__esModule", { value: !0 }), t.on = function (e, t) { function i(e, i) { n.addEventListener ? n.addEventListener(e, t, !1) : n.attachEvent && n.attachEvent("on" + e, t), a[e] = a[e] || {}, a[e][i] = a[e][i] || [], a[e][i].push(t) } if (u(this[0])) for (var a = this[0].eventRegistry, n = this[0], r = e.split(" "), o = 0; o < r.length; o++) { var s = r[o].split("."), l = s[0], c = s[1] || "global"; i(l, c) } return this }, t.off = function (e, t) { var i, a; function n(e, t, n) { if (e in i == !0) if (a.removeEventListener ? a.removeEventListener(e, n, !1) : a.detachEvent && a.detachEvent("on" + e, n), "global" === t) for (var r in i[e]) i[e][r].splice(i[e][r].indexOf(n), 1); else i[e][t].splice(i[e][t].indexOf(n), 1) } function r(e, a) { var n, r, o = []; if (e.length > 0) if (void 0 === t) for (n = 0, r = i[e][a].length; n < r; n++)o.push({ ev: e, namespace: a && a.length > 0 ? a : "global", handler: i[e][a][n] }); else o.push({ ev: e, namespace: a && a.length > 0 ? a : "global", handler: t }); else if (a.length > 0) for (var s in i) for (var l in i[s]) if (l === a) if (void 0 === t) for (n = 0, r = i[s][l].length; n < r; n++)o.push({ ev: s, namespace: l, handler: i[s][l][n] }); else o.push({ ev: s, namespace: l, handler: t }); return o } if (u(this[0]) && e) { i = this[0].eventRegistry, a = this[0]; for (var o = e.split(" "), s = 0; s < o.length; s++)for (var l = o[s].split("."), c = r(l[0], l[1]), f = 0, d = c.length; f < d; f++)n(c[f].ev, c[f].namespace, c[f].handler) } return this }, t.trigger = function (e) { if (u(this[0])) for (var t = this[0].eventRegistry, i = this[0], a = "string" == typeof e ? e.split(" ") : [e.type], r = 0; r < a.length; r++) { var s = a[r].split("."), l = s[0], c = s[1] || "global"; if (void 0 !== document && "global" === c) { var f, d, p = { bubbles: !0, cancelable: !0, detail: arguments[1] }; if (document.createEvent) { try { switch (l) { case "input": p.inputType = "insertText", f = new InputEvent(l, p); break; default: f = new CustomEvent(l, p) } } catch (e) { (f = document.createEvent("CustomEvent")).initCustomEvent(l, p.bubbles, p.cancelable, p.detail) } e.type && (0, n.default)(f, e), i.dispatchEvent(f) } else (f = document.createEventObject()).eventType = l, f.detail = arguments[1], e.type && (0, n.default)(f, e), i.fireEvent("on" + f.eventType, f) } else if (void 0 !== t[l]) if (arguments[0] = arguments[0].type ? arguments[0] : o.default.Event(arguments[0]), arguments[0].detail = arguments.slice(1), "global" === c) for (var v in t[l]) for (d = 0; d < t[l][v].length; d++)t[l][v][d].apply(i, arguments); else for (d = 0; d < t[l][c].length; d++)t[l][c][d].apply(i, arguments) } return this }, t.Event = void 0; var a, n = l(i(600)), r = l(i(9380)), o = l(i(4963)), s = l(i(8741)); function l(e) { return e && e.__esModule ? e : { default: e } } function u(e) { return e instanceof Element } t.Event = a, "function" == typeof r.default.CustomEvent ? t.Event = a = r.default.CustomEvent : s.default && (t.Event = a = function (e, t) { t = t || { bubbles: !1, cancelable: !1, detail: void 0 }; var i = document.createEvent("CustomEvent"); return i.initCustomEvent(e, t.bubbles, t.cancelable, t.detail), i }, a.prototype = r.default.Event.prototype) }, 600: function (e, t) { function i(e) { return (i = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) { return typeof e } : function (e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(e) } Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function e() { var t, a, n, r, o, s, l = arguments[0] || {}, u = 1, c = arguments.length, f = !1; "boolean" == typeof l && (f = l, l = arguments[u] || {}, u++); "object" !== i(l) && "function" != typeof l && (l = {}); for (; u < c; u++)if (null != (t = arguments[u])) for (a in t) n = l[a], r = t[a], l !== r && (f && r && ("[object Object]" === Object.prototype.toString.call(r) || (o = Array.isArray(r))) ? (o ? (o = !1, s = n && Array.isArray(n) ? n : []) : s = n && "[object Object]" === Object.prototype.toString.call(n) ? n : {}, l[a] = e(f, s, r)) : void 0 !== r && (l[a] = r)); return l } }, 4963: function (e, t, i) { Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var a = s(i(600)), n = s(i(9380)), r = s(i(253)), o = i(3776); function s(e) { return e && e.__esModule ? e : { default: e } } var l = n.default.document; function u(e) { return e instanceof u ? e : this instanceof u ? void (null != e && e !== n.default && (this[0] = e.nodeName ? e : void 0 !== e[0] && e[0].nodeName ? e[0] : l.querySelector(e), void 0 !== this[0] && null !== this[0] && (this[0].eventRegistry = this[0].eventRegistry || {}))) : new u(e) } u.prototype = { on: o.on, off: o.off, trigger: o.trigger }, u.extend = a.default, u.data = r.default, u.Event = o.Event; var c = u; t.default = c }, 9845: function (e, t, i) { Object.defineProperty(t, "__esModule", { value: !0 }), t.iphone = t.iemobile = t.mobile = t.ie = t.ua = void 0; var a, n = (a = i(9380)) && a.__esModule ? a : { default: a }; var r = n.default.navigator && n.default.navigator.userAgent || "", o = r.indexOf("MSIE ") > 0 || r.indexOf("Trident/") > 0, s = "ontouchstart" in n.default, l = /iemobile/i.test(r), u = /iphone/i.test(r) && !l; t.iphone = u, t.iemobile = l, t.mobile = s, t.ie = o, t.ua = r }, 7184: function (e, t) { Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function (e) { return e.replace(i, "\\$1") }; var i = new RegExp("(\\" + ["/", ".", "*", "+", "?", "|", "(", ")", "[", "]", "{", "}", "\\", "$", "^"].join("|\\") + ")", "gim") }, 6030: function (e, t, i) { Object.defineProperty(t, "__esModule", { value: !0 }), t.EventHandlers = void 0; var a, n = i(8711), r = (a = i(5581)) && a.__esModule ? a : { default: a }, o = i(9845), s = i(7215), l = i(7760), u = i(4713); function c(e, t) { var i = "undefined" != typeof Symbol && e[Symbol.iterator] || e["@@iterator"]; if (!i) { if (Array.isArray(e) || (i = function (e, t) { if (!e) return; if ("string" == typeof e) return f(e, t); var i = Object.prototype.toString.call(e).slice(8, -1); "Object" === i && e.constructor && (i = e.constructor.name); if ("Map" === i || "Set" === i) return Array.from(e); if ("Arguments" === i || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)) return f(e, t) }(e)) || t && e && "number" == typeof e.length) { i && (e = i); var a = 0, n = function () { }; return { s: n, n: function () { return a >= e.length ? { done: !0 } : { done: !1, value: e[a++] } }, e: function (e) { throw e }, f: n } } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.") } var r, o = !0, s = !1; return { s: function () { i = i.call(e) }, n: function () { var e = i.next(); return o = e.done, e }, e: function (e) { s = !0, r = e }, f: function () { try { o || null == i.return || i.return() } finally { if (s) throw r } } } } function f(e, t) { (null == t || t > e.length) && (t = e.length); for (var i = 0, a = new Array(t); i < t; i++)a[i] = e[i]; return a } var d = { keydownEvent: function (e) { var t = this.inputmask, i = t.opts, a = t.dependencyLib, c = t.maskset, f = this, d = a(f), p = e.keyCode, v = n.caret.call(t, f), h = i.onKeyDown.call(this, e, n.getBuffer.call(t), v, i); if (void 0 !== h) return h; if (p === r.default.BACKSPACE || p === r.default.DELETE || o.iphone && p === r.default.BACKSPACE_SAFARI || e.ctrlKey && p === r.default.X && !("oncut" in f)) e.preventDefault(), s.handleRemove.call(t, f, p, v), (0, l.writeBuffer)(f, n.getBuffer.call(t, !0), c.p, e, f.inputmask._valueGet() !== n.getBuffer.call(t).join("")); else if (p === r.default.END || p === r.default.PAGE_DOWN) { e.preventDefault(); var m = n.seekNext.call(t, n.getLastValidPosition.call(t)); n.caret.call(t, f, e.shiftKey ? v.begin : m, m, !0) } else p === r.default.HOME && !e.shiftKey || p === r.default.PAGE_UP ? (e.preventDefault(), n.caret.call(t, f, 0, e.shiftKey ? v.begin : 0, !0)) : i.undoOnEscape && p === r.default.ESCAPE && !0 !== e.altKey ? ((0, l.checkVal)(f, !0, !1, t.undoValue.split("")), d.trigger("click")) : !0 === i.tabThrough && p === r.default.TAB ? !0 === e.shiftKey ? (v.end = n.seekPrevious.call(t, v.end, !0), !0 === u.getTest.call(t, v.end - 1).match.static && v.end--, v.begin = n.seekPrevious.call(t, v.end, !0), v.begin >= 0 && v.end > 0 && (e.preventDefault(), n.caret.call(t, f, v.begin, v.end))) : (v.begin = n.seekNext.call(t, v.begin, !0), v.end = n.seekNext.call(t, v.begin, !0), v.end < c.maskLength && v.end--, v.begin <= c.maskLength && (e.preventDefault(), n.caret.call(t, f, v.begin, v.end))) : e.shiftKey || i.insertModeVisual && !1 === i.insertMode && (p === r.default.RIGHT ? setTimeout((function () { var e = n.caret.call(t, f); n.caret.call(t, f, e.begin) }), 0) : p === r.default.LEFT && setTimeout((function () { var e = n.translatePosition.call(t, f.inputmask.caretPos.begin); n.translatePosition.call(t, f.inputmask.caretPos.end); t.isRTL ? n.caret.call(t, f, e + (e === c.maskLength ? 0 : 1)) : n.caret.call(t, f, e - (0 === e ? 0 : 1)) }), 0)); t.ignorable = i.ignorables.includes(p) }, keypressEvent: function (e, t, i, a, o) { var u = this.inputmask || this, c = u.opts, f = u.dependencyLib, d = u.maskset, p = u.el, v = f(p), h = e.keyCode; if (!(!0 === t || e.ctrlKey && e.altKey) && (e.ctrlKey || e.metaKey || u.ignorable)) return h === r.default.ENTER && u.undoValue !== u._valueGet(!0) && (u.undoValue = u._valueGet(!0), setTimeout((function () { v.trigger("change") }), 0)), u.skipInputEvent = !0, !0; if (h) { 44 !== h && 46 !== h || 3 !== e.location || "" === c.radixPoint || (h = c.radixPoint.charCodeAt(0)); var m, g = t ? { begin: o, end: o } : n.caret.call(u, p), k = String.fromCharCode(h); k = c.substitutes[k] || k, d.writeOutBuffer = !0; var y = s.isValid.call(u, g, k, a, void 0, void 0, void 0, t); if (!1 !== y && (n.resetMaskSet.call(u, !0), m = void 0 !== y.caret ? y.caret : n.seekNext.call(u, y.pos.begin ? y.pos.begin : y.pos), d.p = m), m = c.numericInput && void 0 === y.caret ? n.seekPrevious.call(u, m) : m, !1 !== i && (setTimeout((function () { c.onKeyValidation.call(p, h, y) }), 0), d.writeOutBuffer && !1 !== y)) { var b = n.getBuffer.call(u); (0, l.writeBuffer)(p, b, m, e, !0 !== t) } if (e.preventDefault(), t) return !1 !== y && (y.forwardPosition = m), y } }, keyupEvent: function (e) { var t = this.inputmask; !t.isComposing || e.keyCode !== r.default.KEY_229 && e.keyCode !== r.default.ENTER || t.$el.trigger("input") }, pasteEvent: function (e) { var t, i = this.inputmask, a = i.opts, r = i._valueGet(!0), o = n.caret.call(i, this); i.isRTL && (t = o.end, o.end = n.translatePosition.call(i, o.begin), o.begin = n.translatePosition.call(i, t)); var s = r.substr(0, o.begin), u = r.substr(o.end, r.length); if (s == (i.isRTL ? n.getBufferTemplate.call(i).slice().reverse() : n.getBufferTemplate.call(i)).slice(0, o.begin).join("") && (s = ""), u == (i.isRTL ? n.getBufferTemplate.call(i).slice().reverse() : n.getBufferTemplate.call(i)).slice(o.end).join("") && (u = ""), window.clipboardData && window.clipboardData.getData) r = s + window.clipboardData.getData("Text") + u; else { if (!e.clipboardData || !e.clipboardData.getData) return !0; r = s + e.clipboardData.getData("text/plain") + u } var f = r; if (i.isRTL) { f = f.split(""); var d, p = c(n.getBufferTemplate.call(i)); try { for (p.s(); !(d = p.n()).done;) { var v = d.value; f[0] === v && f.shift() } } catch (e) { p.e(e) } finally { p.f() } f = f.join("") } if ("function" == typeof a.onBeforePaste) { if (!1 === (f = a.onBeforePaste.call(i, f, a))) return !1; f || (f = r) } (0, l.checkVal)(this, !0, !1, f.toString().split(""), e), e.preventDefault() }, inputFallBackEvent: function (e) { var t = this.inputmask, i = t.opts, a = t.dependencyLib; var s = this, c = s.inputmask._valueGet(!0), f = (t.isRTL ? n.getBuffer.call(t).slice().reverse() : n.getBuffer.call(t)).join(""), p = n.caret.call(t, s, void 0, void 0, !0); if (f !== c) { var v = function (e, a, r) { for (var o, s, l, c = e.substr(0, r.begin).split(""), f = e.substr(r.begin).split(""), d = a.substr(0, r.begin).split(""), p = a.substr(r.begin).split(""), v = c.length >= d.length ? c.length : d.length, h = f.length >= p.length ? f.length : p.length, m = "", g = [], k = "~"; c.length < v;)c.push(k); for (; d.length < v;)d.push(k); for (; f.length < h;)f.unshift(k); for (; p.length < h;)p.unshift(k); var y = c.concat(f), b = d.concat(p); for (s = 0, o = y.length; s < o; s++)switch (l = u.getPlaceholder.call(t, n.translatePosition.call(t, s)), m) { case "insertText": b[s - 1] === y[s] && r.begin == y.length - 1 && g.push(y[s]), s = o; break; case "insertReplacementText": case "deleteContentBackward": y[s] === k ? r.end++ : s = o; break; default: y[s] !== b[s] && (y[s + 1] !== k && y[s + 1] !== l && void 0 !== y[s + 1] || (b[s] !== l || b[s + 1] !== k) && b[s] !== k ? b[s + 1] === k && b[s] === y[s + 1] ? (m = "insertText", g.push(y[s]), r.begin--, r.end--) : y[s] !== l && y[s] !== k && (y[s + 1] === k || b[s] !== y[s] && b[s + 1] === y[s + 1]) ? (m = "insertReplacementText", g.push(y[s]), r.begin--) : y[s] === k ? (m = "deleteContentBackward", (n.isMask.call(t, n.translatePosition.call(t, s), !0) || b[s] === i.radixPoint) && r.end++) : s = o : (m = "insertText", g.push(y[s]), r.begin--, r.end--)) }return { action: m, data: g, caret: r } }(c = function (e, i, a) { if (o.iemobile) { var r = i.replace(n.getBuffer.call(t).join(""), ""); if (1 === r.length) { var s = i.split(""); s.splice(a.begin, 0, r), i = s.join("") } } return i }(0, c, p), f, p); switch ((s.inputmask.shadowRoot || s.ownerDocument).activeElement !== s && s.focus(), (0, l.writeBuffer)(s, n.getBuffer.call(t)), n.caret.call(t, s, p.begin, p.end, !0), v.action) { case "insertText": case "insertReplacementText": v.data.forEach((function (e, i) { var n = new a.Event("keypress"); n.keyCode = e.charCodeAt(0), t.ignorable = !1, d.keypressEvent.call(s, n) })), setTimeout((function () { t.$el.trigger("keyup") }), 0); break; case "deleteContentBackward": var h = new a.Event("keydown"); h.keyCode = r.default.BACKSPACE, d.keydownEvent.call(s, h); break; default: (0, l.applyInputValue)(s, c) }e.preventDefault() } }, compositionendEvent: function (e) { var t = this.inputmask; t.isComposing = !1, t.$el.trigger("input") }, setValueEvent: function (e) { var t = this.inputmask, i = this, a = e && e.detail ? e.detail[0] : arguments[1]; void 0 === a && (a = i.inputmask._valueGet(!0)), (0, l.applyInputValue)(i, a), (e.detail && void 0 !== e.detail[1] || void 0 !== arguments[2]) && n.caret.call(t, i, e.detail ? e.detail[1] : arguments[2]) }, focusEvent: function (e) { var t = this.inputmask, i = t.opts, a = this, r = a.inputmask._valueGet(); i.showMaskOnFocus && r !== n.getBuffer.call(t).join("") && (0, l.writeBuffer)(a, n.getBuffer.call(t), n.seekNext.call(t, n.getLastValidPosition.call(t))), !0 !== i.positionCaretOnTab || !1 !== t.mouseEnter || s.isComplete.call(t, n.getBuffer.call(t)) && -1 !== n.getLastValidPosition.call(t) || d.clickEvent.apply(a, [e, !0]), t.undoValue = t._valueGet(!0) }, invalidEvent: function (e) { this.inputmask.validationEvent = !0 }, mouseleaveEvent: function () { var e = this.inputmask, t = e.opts, i = this; e.mouseEnter = !1, t.clearMaskOnLostFocus && (i.inputmask.shadowRoot || i.ownerDocument).activeElement !== i && (0, l.HandleNativePlaceholder)(i, e.originalPlaceholder) }, clickEvent: function (e, t) { var i = this.inputmask, a = this; if ((a.inputmask.shadowRoot || a.ownerDocument).activeElement === a) { var r = n.determineNewCaretPosition.call(i, n.caret.call(i, a), t); void 0 !== r && n.caret.call(i, a, r) } }, cutEvent: function (e) { var t = this.inputmask, i = t.maskset, a = this, o = n.caret.call(t, a), u = t.isRTL ? n.getBuffer.call(t).slice(o.end, o.begin) : n.getBuffer.call(t).slice(o.begin, o.end), c = t.isRTL ? u.reverse().join("") : u.join(""); window.navigator.clipboard ? window.navigator.clipboard.writeText(c) : window.clipboardData && window.clipboardData.getData && window.clipboardData.setData("Text", c), s.handleRemove.call(t, a, r.default.DELETE, o), (0, l.writeBuffer)(a, n.getBuffer.call(t), i.p, e, t.undoValue !== t._valueGet(!0)) }, blurEvent: function (e) { var t = this.inputmask, i = t.opts, a = (0, t.dependencyLib)(this), r = this; if (r.inputmask) { (0, l.HandleNativePlaceholder)(r, t.originalPlaceholder); var o = r.inputmask._valueGet(), u = n.getBuffer.call(t).slice(); "" !== o && (i.clearMaskOnLostFocus && (-1 === n.getLastValidPosition.call(t) && o === n.getBufferTemplate.call(t).join("") ? u = [] : l.clearOptionalTail.call(t, u)), !1 === s.isComplete.call(t, u) && (setTimeout((function () { a.trigger("incomplete") }), 0), i.clearIncomplete && (n.resetMaskSet.call(t), u = i.clearMaskOnLostFocus ? [] : n.getBufferTemplate.call(t).slice())), (0, l.writeBuffer)(r, u, void 0, e)), t.undoValue !== t._valueGet(!0) && (t.undoValue = t._valueGet(!0), a.trigger("change")) } }, mouseenterEvent: function () { var e = this.inputmask, t = e.opts, i = this; if (e.mouseEnter = !0, (i.inputmask.shadowRoot || i.ownerDocument).activeElement !== i) { var a = (e.isRTL ? n.getBufferTemplate.call(e).slice().reverse() : n.getBufferTemplate.call(e)).join(""); e.placeholder !== a && i.placeholder !== e.originalPlaceholder && (e.originalPlaceholder = i.placeholder), t.showMaskOnHover && (0, l.HandleNativePlaceholder)(i, a) } }, submitEvent: function () { var e = this.inputmask, t = e.opts; e.undoValue !== e._valueGet(!0) && e.$el.trigger("change"), -1 === n.getLastValidPosition.call(e) && e._valueGet && e._valueGet() === n.getBufferTemplate.call(e).join("") && e._valueSet(""), t.clearIncomplete && !1 === s.isComplete.call(e, n.getBuffer.call(e)) && e._valueSet(""), t.removeMaskOnSubmit && (e._valueSet(e.unmaskedvalue(), !0), setTimeout((function () { (0, l.writeBuffer)(e.el, n.getBuffer.call(e)) }), 0)) }, resetEvent: function () { var e = this.inputmask; e.refreshValue = !0, setTimeout((function () { (0, l.applyInputValue)(e.el, e._valueGet(!0)) }), 0) } }; t.EventHandlers = d }, 9716: function (e, t, i) { Object.defineProperty(t, "__esModule", { value: !0 }), t.EventRuler = void 0; var a = s(i(2394)), n = s(i(5581)), r = i(8711), o = i(7760); function s(e) { return e && e.__esModule ? e : { default: e } } var l = { on: function (e, t, i) { var s = e.inputmask.dependencyLib, l = function (t) { t.originalEvent && (t = t.originalEvent || t, arguments[0] = t); var l, u = this, c = u.inputmask, f = c ? c.opts : void 0; if (void 0 === c && "FORM" !== this.nodeName) { var d = s.data(u, "_inputmask_opts"); s(u).off(), d && new a.default(d).mask(u) } else { if (["submit", "reset", "setvalue"].includes(t.type) || "FORM" === this.nodeName || !(u.disabled || u.readOnly && !("keydown" === t.type && t.ctrlKey && 67 === t.keyCode || !1 === f.tabThrough && t.keyCode === n.default.TAB))) { switch (t.type) { case "input": if (!0 === c.skipInputEvent || t.inputType && "insertCompositionText" === t.inputType) return c.skipInputEvent = !1, t.preventDefault(); break; case "keydown": c.skipKeyPressEvent = !1, c.skipInputEvent = c.isComposing = t.keyCode === n.default.KEY_229; break; case "keyup": case "compositionend": c.isComposing && (c.skipInputEvent = !1); break; case "keypress": if (!0 === c.skipKeyPressEvent) return t.preventDefault(); c.skipKeyPressEvent = !0; break; case "click": case "focus": return c.validationEvent ? (c.validationEvent = !1, e.blur(), (0, o.HandleNativePlaceholder)(e, (c.isRTL ? r.getBufferTemplate.call(c).slice().reverse() : r.getBufferTemplate.call(c)).join("")), setTimeout((function () { e.focus() }), f.validationEventTimeOut), !1) : (l = arguments, setTimeout((function () { e.inputmask && i.apply(u, l) }), 0), !1) }var p = i.apply(u, arguments); return !1 === p && (t.preventDefault(), t.stopPropagation()), p } t.preventDefault() } };["submit", "reset"].includes(t) ? (l = l.bind(e), null !== e.form && s(e.form).on(t, l)) : s(e).on(t, l), e.inputmask.events[t] = e.inputmask.events[t] || [], e.inputmask.events[t].push(l) }, off: function (e, t) { if (e.inputmask && e.inputmask.events) { var i = e.inputmask.dependencyLib, a = e.inputmask.events; for (var n in t && ((a = [])[t] = e.inputmask.events[t]), a) { for (var r = a[n]; r.length > 0;) { var o = r.pop();["submit", "reset"].includes(n) ? null !== e.form && i(e.form).off(n, o) : i(e).off(n, o) } delete e.inputmask.events[n] } } } }; t.EventRuler = l }, 219: function (e, t, i) { var a = c(i(2394)), n = c(i(5581)), r = c(i(7184)), o = i(8711), s = i(4713); function l(e) { return (l = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) { return typeof e } : function (e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(e) } function u(e, t) { for (var i = 0; i < t.length; i++) { var a = t[i]; a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(e, a.key, a) } } function c(e) { return e && e.__esModule ? e : { default: e } } var f = a.default.dependencyLib, d = function () { function e(t, i, a) { !function (e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") }(this, e), this.mask = t, this.format = i, this.opts = a, this._date = new Date(1, 0, 1), this.initDateObject(t, this.opts) } var t, i, a; return t = e, (i = [{ key: "date", get: function () { return void 0 === this._date && (this._date = new Date(1, 0, 1), this.initDateObject(void 0, this.opts)), this._date } }, { key: "initDateObject", value: function (e, t) { var i; for (b(t).lastIndex = 0; i = b(t).exec(this.format);) { var a = new RegExp("\\d+$").exec(i[0]), n = a ? i[0][0] + "x" : i[0], r = void 0; if (void 0 !== e) { if (a) { var o = b(t).lastIndex, s = w(i.index, t); b(t).lastIndex = o, r = e.slice(0, e.indexOf(s.nextMatch[0])) } else r = e.slice(0, n.length); e = e.slice(r.length) } Object.prototype.hasOwnProperty.call(h, n) && this.setValue(this, r, n, h[n][2], h[n][1]) } } }, { key: "setValue", value: function (e, t, i, a, n) { if (void 0 !== t && (e[a] = "ampm" === a ? t : t.replace(/[^0-9]/g, "0"), e["raw" + a] = t.replace(/\s/g, "_")), void 0 !== n) { var r = e[a]; ("day" === a && 29 === parseInt(r) || "month" === a && 2 === parseInt(r)) && (29 !== parseInt(e.day) || 2 !== parseInt(e.month) || "" !== e.year && void 0 !== e.year || e._date.setFullYear(2012, 1, 29)), "day" === a && (v = !0, 0 === parseInt(r) && (r = 1)), "month" === a && (v = !0), "year" === a && (v = !0, r.length < 4 && (r = E(r, 4, !0))), "" === r || isNaN(r) || n.call(e._date, r), "ampm" === a && n.call(e._date, r) } } }, { key: "reset", value: function () { this._date = new Date(1, 0, 1) } }, { key: "reInit", value: function () { this._date = void 0, this.date } }]) && u(t.prototype, i), a && u(t, a), e }(), p = (new Date).getFullYear(), v = !1, h = { d: ["[1-9]|[12][0-9]|3[01]", Date.prototype.setDate, "day", Date.prototype.getDate], dd: ["0[1-9]|[12][0-9]|3[01]", Date.prototype.setDate, "day", function () { return E(Date.prototype.getDate.call(this), 2) }], ddd: [""], dddd: [""], m: ["[1-9]|1[012]", function (e) { var t = e ? parseInt(e) : 0; return t > 0 && t--, Date.prototype.setMonth.call(this, t) }, "month", function () { return Date.prototype.getMonth.call(this) + 1 }], mm: ["0[1-9]|1[012]", function (e) { var t = e ? parseInt(e) : 0; return t > 0 && t--, Date.prototype.setMonth.call(this, t) }, "month", function () { return E(Date.prototype.getMonth.call(this) + 1, 2) }], mmm: [""], mmmm: [""], yy: ["[0-9]{2}", Date.prototype.setFullYear, "year", function () { return E(Date.prototype.getFullYear.call(this), 2) }], yyyy: ["[0-9]{4}", Date.prototype.setFullYear, "year", function () { return E(Date.prototype.getFullYear.call(this), 4) }], h: ["[1-9]|1[0-2]", Date.prototype.setHours, "hours", Date.prototype.getHours], hh: ["0[1-9]|1[0-2]", Date.prototype.setHours, "hours", function () { return E(Date.prototype.getHours.call(this), 2) }], hx: [function (e) { return "[0-9]{".concat(e, "}") }, Date.prototype.setHours, "hours", function (e) { return Date.prototype.getHours }], H: ["1?[0-9]|2[0-3]", Date.prototype.setHours, "hours", Date.prototype.getHours], HH: ["0[0-9]|1[0-9]|2[0-3]", Date.prototype.setHours, "hours", function () { return E(Date.prototype.getHours.call(this), 2) }], Hx: [function (e) { return "[0-9]{".concat(e, "}") }, Date.prototype.setHours, "hours", function (e) { return function () { return E(Date.prototype.getHours.call(this), e) } }], M: ["[1-5]?[0-9]", Date.prototype.setMinutes, "minutes", Date.prototype.getMinutes], MM: ["0[0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9]", Date.prototype.setMinutes, "minutes", function () { return E(Date.prototype.getMinutes.call(this), 2) }], s: ["[1-5]?[0-9]", Date.prototype.setSeconds, "seconds", Date.prototype.getSeconds], ss: ["0[0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9]", Date.prototype.setSeconds, "seconds", function () { return E(Date.prototype.getSeconds.call(this), 2) }], l: ["[0-9]{3}", Date.prototype.setMilliseconds, "milliseconds", function () { return E(Date.prototype.getMilliseconds.call(this), 3) }], L: ["[0-9]{2}", Date.prototype.setMilliseconds, "milliseconds", function () { return E(Date.prototype.getMilliseconds.call(this), 2) }], t: ["[ap]", g, "ampm", k, 1], tt: ["[ap]m", g, "ampm", k, 2], T: ["[AP]", g, "ampm", k, 1], TT: ["[AP]M", g, "ampm", k, 2], Z: [""], o: [""], S: [""] }, m = { isoDate: "yyyy-mm-dd", isoTime: "HH:MM:ss", isoDateTime: "yyyy-mm-dd'T'HH:MM:ss", isoUtcDateTime: "UTC:yyyy-mm-dd'T'HH:MM:ss'Z'" }; function g(e) { var t = this.getHours(); e.toLowerCase().includes("p") ? this.setHours(t + 12) : e.toLowerCase().includes("a") && t >= 12 && this.setHours(t - 12) } function k() { } function y(e) { var t = new RegExp("\\d+$").exec(e[0]); if (t && void 0 !== t[0]) { var i = h[e[0][0] + "x"].slice(""); return i[0] = i[0](t[0]), i[3] = i[3](t[0]), i } if (h[e[0]]) return h[e[0]] } function b(e) { if (!e.tokenizer) { var t = [], i = []; for (var a in h) if (/\.*x$/.test(a)) { var n = a[0] + "\\d+"; -1 === i.indexOf(n) && i.push(n) } else -1 === t.indexOf(a[0]) && t.push(a[0]); e.tokenizer = "(" + (i.length > 0 ? i.join("|") + "|" : "") + t.join("+|") + ")+?|.", e.tokenizer = new RegExp(e.tokenizer, "g") } return e.tokenizer } function x(e, t, i) { if (!v) return !0; if (void 0 === e.rawday || !isFinite(e.rawday) && new Date(e.date.getFullYear(), isFinite(e.rawmonth) ? e.month : e.date.getMonth() + 1, 0).getDate() >= e.day || "29" == e.day && (!isFinite(e.rawyear) || void 0 === e.rawyear || "" === e.rawyear) || new Date(e.date.getFullYear(), isFinite(e.rawmonth) ? e.month : e.date.getMonth() + 1, 0).getDate() >= e.day) return t; if ("29" == e.day) { var a = w(t.pos, i); if ("yyyy" === a.targetMatch[0] && t.pos - a.targetMatchIndex == 2) return t.remove = t.pos + 1, t } else if ("02" == e.month && "30" == e.day && void 0 !== t.c) return e.day = "03", e.date.setDate(3), e.date.setMonth(1), t.insert = [{ pos: t.pos, c: "0" }, { pos: t.pos + 1, c: t.c }], t.caret = o.seekNext.call(this, t.pos + 1), t; return !1 } function P(e, t, i, a) { var n, o, s = ""; for (b(i).lastIndex = 0; n = b(i).exec(e);) { if (void 0 === t) if (o = y(n)) s += "(" + o[0] + ")"; else switch (n[0]) { case "[": s += "("; break; case "]": s += ")?"; break; default: s += (0, r.default)(n[0]) } else if (o = y(n)) if (!0 !== a && o[3]) s += o[3].call(t.date); else o[2] ? s += t["raw" + o[2]] : s += n[0]; else s += n[0] } return s } function E(e, t, i) { for (e = String(e), t = t || 2; e.length < t;)e = i ? e + "0" : "0" + e; return e } function _(e, t, i) { return "string" == typeof e ? new d(e, t, i) : e && "object" === l(e) && Object.prototype.hasOwnProperty.call(e, "date") ? e : void 0 } function S(e, t) { return P(t.inputFormat, { date: e }, t) } function w(e, t) { var i, a, n = 0, r = 0; for (b(t).lastIndex = 0; a = b(t).exec(t.inputFormat);) { var o = new RegExp("\\d+$").exec(a[0]); if ((n += r = o ? parseInt(o[0]) : a[0].length) >= e + 1) { i = a, a = b(t).exec(t.inputFormat); break } } return { targetMatchIndex: n - r, nextMatch: a, targetMatch: i } } a.default.extendAliases({ datetime: { mask: function (e) { return e.numericInput = !1, h.S = e.i18n.ordinalSuffix.join("|"), e.inputFormat = m[e.inputFormat] || e.inputFormat, e.displayFormat = m[e.displayFormat] || e.displayFormat || e.inputFormat, e.outputFormat = m[e.outputFormat] || e.outputFormat || e.inputFormat, e.placeholder = "" !== e.placeholder ? e.placeholder : e.inputFormat.replace(/[[\]]/, ""), e.regex = P(e.inputFormat, void 0, e), e.min = _(e.min, e.inputFormat, e), e.max = _(e.max, e.inputFormat, e), null }, placeholder: "", inputFormat: "isoDateTime", displayFormat: void 0, outputFormat: void 0, min: null, max: null, skipOptionalPartCharacter: "", i18n: { dayNames: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"], monthNames: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], ordinalSuffix: ["st", "nd", "rd", "th"] }, preValidation: function (e, t, i, a, n, r, o, s) { if (s) return !0; if (isNaN(i) && e[t] !== i) { var l = w(t, n); if (l.nextMatch && l.nextMatch[0] === i && l.targetMatch[0].length > 1) { var u = h[l.targetMatch[0]][0]; if (new RegExp(u).test("0" + e[t - 1])) return e[t] = e[t - 1], e[t - 1] = "0", { fuzzy: !0, buffer: e, refreshFromBuffer: { start: t - 1, end: t + 1 }, pos: t + 1 } } } return !0 }, postValidation: function (e, t, i, a, n, r, o, l) { var u, c; if (o) return !0; if (!1 === a && (((u = w(t + 1, n)).targetMatch && u.targetMatchIndex === t && u.targetMatch[0].length > 1 && void 0 !== h[u.targetMatch[0]] || (u = w(t + 2, n)).targetMatch && u.targetMatchIndex === t + 1 && u.targetMatch[0].length > 1 && void 0 !== h[u.targetMatch[0]]) && (c = h[u.targetMatch[0]][0]), void 0 !== c && (void 0 !== r.validPositions[t + 1] && new RegExp(c).test(i + "0") ? (e[t] = i, e[t + 1] = "0", a = { pos: t + 2, caret: t }) : new RegExp(c).test("0" + i) && (e[t] = "0", e[t + 1] = i, a = { pos: t + 2 })), !1 === a)) return a; if (a.fuzzy && (e = a.buffer, t = a.pos), (u = w(t, n)).targetMatch && u.targetMatch[0] && void 0 !== h[u.targetMatch[0]]) { var f = h[u.targetMatch[0]]; c = f[0]; var d = e.slice(u.targetMatchIndex, u.targetMatchIndex + u.targetMatch[0].length); if (!1 === new RegExp(c).test(d.join("")) && 2 === u.targetMatch[0].length && r.validPositions[u.targetMatchIndex] && r.validPositions[u.targetMatchIndex + 1] && (r.validPositions[u.targetMatchIndex + 1].input = "0"), "year" == f[2]) for (var v = s.getMaskTemplate.call(this, !1, 1, void 0, !0), m = t + 1; m < e.length; m++)e[m] = v[m], delete r.validPositions[m] } var g = a, k = _(e.join(""), n.inputFormat, n); return g && k.date.getTime() == k.date.getTime() && (n.prefillYear && (g = function (e, t, i) { if (e.year !== e.rawyear) { var a = p.toString(), n = e.rawyear.replace(/[^0-9]/g, ""), r = a.slice(0, n.length), o = a.slice(n.length); if (2 === n.length && n === r) { var s = new Date(p, e.month - 1, e.day); e.day == s.getDate() && (!i.max || i.max.date.getTime() >= s.getTime()) && (e.date.setFullYear(p), e.year = a, t.insert = [{ pos: t.pos + 1, c: o[0] }, { pos: t.pos + 2, c: o[1] }]) } } return t }(k, g, n)), g = function (e, t, i, a, n) { if (!t) return t; if (t && i.min && i.min.date.getTime() == i.min.date.getTime()) { var r; for (e.reset(), b(i).lastIndex = 0; r = b(i).exec(i.inputFormat);) { var o; if ((o = y(r)) && o[3]) { for (var s = o[1], l = e[o[2]], u = i.min[o[2]], c = i.max ? i.max[o[2]] : u, f = [], d = !1, p = 0; p < u.length; p++)void 0 !== a.validPositions[p + r.index] || d ? (f[p] = l[p], d = d || l[p] > u[p]) : (f[p] = u[p], "year" === o[2] && l.length - 1 == p && u != c && (f = (parseInt(f.join("")) + 1).toString().split("")), "ampm" === o[2] && u != c && i.min.date.getTime() > e.date.getTime() && (f[p] = c[p])); s.call(e._date, f.join("")) } } t = i.min.date.getTime() <= e.date.getTime(), e.reInit() } return t && i.max && i.max.date.getTime() == i.max.date.getTime() && (t = i.max.date.getTime() >= e.date.getTime()), t }(k, g = x.call(this, k, g, n), n, r)), void 0 !== t && g && a.pos !== t ? { buffer: P(n.inputFormat, k, n).split(""), refreshFromBuffer: { start: t, end: a.pos }, pos: a.caret || a.pos } : g }, onKeyDown: function (e, t, i, a) { e.ctrlKey && e.keyCode === n.default.RIGHT && (this.inputmask._valueSet(S(new Date, a)), f(this).trigger("setvalue")) }, onUnMask: function (e, t, i) { return t ? P(i.outputFormat, _(e, i.inputFormat, i), i, !0) : t }, casing: function (e, t, i, a) { return 0 == t.nativeDef.indexOf("[ap]") ? e.toLowerCase() : 0 == t.nativeDef.indexOf("[AP]") ? e.toUpperCase() : e }, onBeforeMask: function (e, t) { return "[object Date]" === Object.prototype.toString.call(e) && (e = S(e, t)), e }, insertMode: !1, shiftPositions: !1, keepStatic: !1, inputmode: "numeric", prefillYear: !0 } }) }, 3851: function (e, t, i) { var a, n = (a = i(2394)) && a.__esModule ? a : { default: a }, r = i(8711), o = i(4713); n.default.extendDefinitions({ A: { validator: "[A-Za-z\u0410-\u044f\u0401\u0451\xc0-\xff\xb5]", casing: "upper" }, "&": { validator: "[0-9A-Za-z\u0410-\u044f\u0401\u0451\xc0-\xff\xb5]", casing: "upper" }, "#": { validator: "[0-9A-Fa-f]", casing: "upper" } }); var s = new RegExp("25[0-5]|2[0-4][0-9]|[01][0-9][0-9]"); function l(e, t, i, a, n) { return i - 1 > -1 && "." !== t.buffer[i - 1] ? (e = t.buffer[i - 1] + e, e = i - 2 > -1 && "." !== t.buffer[i - 2] ? t.buffer[i - 2] + e : "0" + e) : e = "00" + e, s.test(e) } n.default.extendAliases({ cssunit: { regex: "[+-]?[0-9]+\\.?([0-9]+)?(px|em|rem|ex|%|in|cm|mm|pt|pc)" }, url: { regex: "(https?|ftp)://.*", autoUnmask: !1, keepStatic: !1, tabThrough: !0 }, ip: { mask: "i[i[i]].j[j[j]].k[k[k]].l[l[l]]", definitions: { i: { validator: l }, j: { validator: l }, k: { validator: l }, l: { validator: l } }, onUnMask: function (e, t, i) { return e }, inputmode: "numeric" }, email: { mask: function (e) { var t = "*{1,64}[.*{1,64}][.*{1,64}][.*{1,63}]@-{1,63}.-{1,63}[.-{1,63}][.-{1,63}]"; return void 0 !== e.separator ? "".concat(t, "(").concat(e.separator).concat(t, "){*}") : t }, greedy: !1, casing: "lower", separator: void 0, skipOptionalPartCharacter: "", onBeforePaste: function (e, t) { return (e = e.toLowerCase()).replace("mailto:", "") }, definitions: { "*": { validator: "[0-9\uff11-\uff19A-Za-z\u0410-\u044f\u0401\u0451\xc0-\xff\xb5!#$%&'*+/=?^_`{|}~-]" }, "-": { validator: "[0-9A-Za-z-]" } }, onUnMask: function (e, t, i) { return e }, inputmode: "email" }, mac: { mask: "##:##:##:##:##:##" }, vin: { mask: "V{13}9{4}", definitions: { V: { validator: "[A-HJ-NPR-Za-hj-npr-z\\d]", casing: "upper" } }, clearIncomplete: !0, autoUnmask: !0 }, ssn: { mask: "999-99-9999", postValidation: function (e, t, i, a, n, s, l) { var u = o.getMaskTemplate.call(this, !0, r.getLastValidPosition.call(this), !0, !0); return /^(?!219-09-9999|078-05-1120)(?!666|000|9.{2}).{3}-(?!00).{2}-(?!0{4}).{4}$/.test(u.join("")) } } }) }, 207: function (e, t, i) { var a = s(i(2394)), n = s(i(5581)), r = s(i(7184)), o = i(8711); function s(e) { return e && e.__esModule ? e : { default: e } } var l = a.default.dependencyLib; function u(e, t) { for (var i = "", n = 0; n < e.length; n++)a.default.prototype.definitions[e.charAt(n)] || t.definitions[e.charAt(n)] || t.optionalmarker[0] === e.charAt(n) || t.optionalmarker[1] === e.charAt(n) || t.quantifiermarker[0] === e.charAt(n) || t.quantifiermarker[1] === e.charAt(n) || t.groupmarker[0] === e.charAt(n) || t.groupmarker[1] === e.charAt(n) || t.alternatormarker === e.charAt(n) ? i += "\\" + e.charAt(n) : i += e.charAt(n); return i } function c(e, t, i, a) { if (e.length > 0 && t > 0 && (!i.digitsOptional || a)) { var n = e.indexOf(i.radixPoint), r = !1; i.negationSymbol.back === e[e.length - 1] && (r = !0, e.length--), -1 === n && (e.push(i.radixPoint), n = e.length - 1); for (var o = 1; o <= t; o++)isFinite(e[n + o]) || (e[n + o] = "0") } return r && e.push(i.negationSymbol.back), e } function f(e, t) { var i = 0; if ("+" === e) { for (i in t.validPositions); i = o.seekNext.call(this, parseInt(i)) } for (var a in t.tests) if ((a = parseInt(a)) >= i) for (var n = 0, r = t.tests[a].length; n < r; n++)if ((void 0 === t.validPositions[a] || "-" === e) && t.tests[a][n].match.def === e) return a + (void 0 !== t.validPositions[a] && "-" !== e ? 1 : 0); return i } function d(e, t) { var i = -1; for (var a in t.validPositions) { var n = t.validPositions[a]; if (n && n.match.def === e) { i = parseInt(a); break } } return i } function p(e, t, i, a, n) { var r = t.buffer ? t.buffer.indexOf(n.radixPoint) : -1, o = (-1 !== r || a && n.jitMasking) && new RegExp(n.definitions[9].validator).test(e); return n._radixDance && -1 !== r && o && null == t.validPositions[r] ? { insert: { pos: r === i ? r + 1 : r, c: n.radixPoint }, pos: i } : o } a.default.extendAliases({ numeric: { mask: function (e) { e.repeat = 0, e.groupSeparator === e.radixPoint && e.digits && "0" !== e.digits && ("." === e.radixPoint ? e.groupSeparator = "," : "," === e.radixPoint ? e.groupSeparator = "." : e.groupSeparator = ""), " " === e.groupSeparator && (e.skipOptionalPartCharacter = void 0), e.placeholder.length > 1 && (e.placeholder = e.placeholder.charAt(0)), "radixFocus" === e.positionCaretOnClick && "" === e.placeholder && (e.positionCaretOnClick = "lvp"); var t = "0", i = e.radixPoint; !0 === e.numericInput && void 0 === e.__financeInput ? (t = "1", e.positionCaretOnClick = "radixFocus" === e.positionCaretOnClick ? "lvp" : e.positionCaretOnClick, e.digitsOptional = !1, isNaN(e.digits) && (e.digits = 2), e._radixDance = !1, i = "," === e.radixPoint ? "?" : "!", "" !== e.radixPoint && void 0 === e.definitions[i] && (e.definitions[i] = {}, e.definitions[i].validator = "[" + e.radixPoint + "]", e.definitions[i].placeholder = e.radixPoint, e.definitions[i].static = !0, e.definitions[i].generated = !0)) : (e.__financeInput = !1, e.numericInput = !0); var a, n = "[+]"; if (n += u(e.prefix, e), "" !== e.groupSeparator ? (void 0 === e.definitions[e.groupSeparator] && (e.definitions[e.groupSeparator] = {}, e.definitions[e.groupSeparator].validator = "[" + e.groupSeparator + "]", e.definitions[e.groupSeparator].placeholder = e.groupSeparator, e.definitions[e.groupSeparator].static = !0, e.definitions[e.groupSeparator].generated = !0), n += e._mask(e)) : n += "9{+}", void 0 !== e.digits && 0 !== e.digits) { var o = e.digits.toString().split(","); isFinite(o[0]) && o[1] && isFinite(o[1]) ? n += i + t + "{" + e.digits + "}" : (isNaN(e.digits) || parseInt(e.digits) > 0) && (e.digitsOptional || e.jitMasking ? (a = n + i + t + "{0," + e.digits + "}", e.keepStatic = !0) : n += i + t + "{" + e.digits + "}") } else e.inputmode = "numeric"; return n += u(e.suffix, e), n += "[-]", a && (n = [a + u(e.suffix, e) + "[-]", n]), e.greedy = !1, function (e) { void 0 === e.parseMinMaxOptions && (null !== e.min && (e.min = e.min.toString().replace(new RegExp((0, r.default)(e.groupSeparator), "g"), ""), "," === e.radixPoint && (e.min = e.min.replace(e.radixPoint, ".")), e.min = isFinite(e.min) ? parseFloat(e.min) : NaN, isNaN(e.min) && (e.min = Number.MIN_VALUE)), null !== e.max && (e.max = e.max.toString().replace(new RegExp((0, r.default)(e.groupSeparator), "g"), ""), "," === e.radixPoint && (e.max = e.max.replace(e.radixPoint, ".")), e.max = isFinite(e.max) ? parseFloat(e.max) : NaN, isNaN(e.max) && (e.max = Number.MAX_VALUE)), e.parseMinMaxOptions = "done") }(e), "" !== e.radixPoint && (e.substitutes["." == e.radixPoint ? "," : "."] = e.radixPoint), n }, _mask: function (e) { return "(" + e.groupSeparator + "999){+|1}" }, digits: "*", digitsOptional: !0, enforceDigitsOnBlur: !1, radixPoint: ".", positionCaretOnClick: "radixFocus", _radixDance: !0, groupSeparator: "", allowMinus: !0, negationSymbol: { front: "-", back: "" }, prefix: "", suffix: "", min: null, max: null, SetMaxOnOverflow: !1, step: 1, inputType: "text", unmaskAsNumber: !1, roundingFN: Math.round, inputmode: "decimal", shortcuts: { k: "000", m: "000000" }, placeholder: "0", greedy: !1, rightAlign: !0, insertMode: !0, autoUnmask: !1, skipOptionalPartCharacter: "", usePrototypeDefinitions: !1, definitions: { 0: { validator: p }, 1: { validator: p, definitionSymbol: "9" }, 9: { validator: "[0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9]", definitionSymbol: "*" }, "+": { validator: function (e, t, i, a, n) { return n.allowMinus && ("-" === e || e === n.negationSymbol.front) } }, "-": { validator: function (e, t, i, a, n) { return n.allowMinus && e === n.negationSymbol.back } } }, preValidation: function (e, t, i, a, n, r, o, s) { var l; if (!1 !== n.__financeInput && i === n.radixPoint) return !1; if (l = n.shortcuts && n.shortcuts[i]) { if (l.length > 1) for (var u = [], c = 0; c < l.length; c++)u.push({ pos: t + c, c: l[c], strict: !1 }); return { insert: u } } var p = e.indexOf(n.radixPoint), v = t; if (t = function (e, t, i, a, n) { return n._radixDance && n.numericInput && t !== n.negationSymbol.back && e <= i && (i > 0 || t == n.radixPoint) && (void 0 === a.validPositions[e - 1] || a.validPositions[e - 1].input !== n.negationSymbol.back) && (e -= 1), e }(t, i, p, r, n), "-" === i || i === n.negationSymbol.front) { if (!0 !== n.allowMinus) return !1; var h = !1, m = d("+", r), g = d("-", r); return -1 !== m && (h = [m, g]), !1 !== h ? { remove: h, caret: v - n.negationSymbol.back.length } : { insert: [{ pos: f.call(this, "+", r), c: n.negationSymbol.front, fromIsValid: !0 }, { pos: f.call(this, "-", r), c: n.negationSymbol.back, fromIsValid: void 0 }], caret: v + n.negationSymbol.back.length } } if (i === n.groupSeparator) return { caret: v }; if (s) return !0; if (-1 !== p && !0 === n._radixDance && !1 === a && i === n.radixPoint && void 0 !== n.digits && (isNaN(n.digits) || parseInt(n.digits) > 0) && p !== t) return { caret: n._radixDance && t === p - 1 ? p + 1 : p }; if (!1 === n.__financeInput) if (a) { if (n.digitsOptional) return { rewritePosition: o.end }; if (!n.digitsOptional) { if (o.begin > p && o.end <= p) return i === n.radixPoint ? { insert: { pos: p + 1, c: "0", fromIsValid: !0 }, rewritePosition: p } : { rewritePosition: p + 1 }; if (o.begin < p) return { rewritePosition: o.begin - 1 } } } else if (!n.showMaskOnHover && !n.showMaskOnFocus && !n.digitsOptional && n.digits > 0 && "" === this.__valueGet.call(this.el)) return { rewritePosition: p }; return { rewritePosition: t } }, postValidation: function (e, t, i, a, n, r, o) { if (!1 === a) return a; if (o) return !0; if (null !== n.min || null !== n.max) { var s = n.onUnMask(e.slice().reverse().join(""), void 0, l.extend({}, n, { unmaskAsNumber: !0 })); if (null !== n.min && s < n.min && (s.toString().length > n.min.toString().length || s < 0)) return !1; if (null !== n.max && s > n.max) return !!n.SetMaxOnOverflow && { refreshFromBuffer: !0, buffer: c(n.max.toString().replace(".", n.radixPoint).split(""), n.digits, n).reverse() } } return a }, onUnMask: function (e, t, i) { if ("" === t && !0 === i.nullable) return t; var a = e.replace(i.prefix, ""); return a = (a = a.replace(i.suffix, "")).replace(new RegExp((0, r.default)(i.groupSeparator), "g"), ""), "" !== i.placeholder.charAt(0) && (a = a.replace(new RegExp(i.placeholder.charAt(0), "g"), "0")), i.unmaskAsNumber ? ("" !== i.radixPoint && -1 !== a.indexOf(i.radixPoint) && (a = a.replace(r.default.call(this, i.radixPoint), ".")), a = (a = a.replace(new RegExp("^" + (0, r.default)(i.negationSymbol.front)), "-")).replace(new RegExp((0, r.default)(i.negationSymbol.back) + "$"), ""), Number(a)) : a }, isComplete: function (e, t) { var i = (t.numericInput ? e.slice().reverse() : e).join(""); return i = (i = (i = (i = (i = i.replace(new RegExp("^" + (0, r.default)(t.negationSymbol.front)), "-")).replace(new RegExp((0, r.default)(t.negationSymbol.back) + "$"), "")).replace(t.prefix, "")).replace(t.suffix, "")).replace(new RegExp((0, r.default)(t.groupSeparator) + "([0-9]{3})", "g"), "$1"), "," === t.radixPoint && (i = i.replace((0, r.default)(t.radixPoint), ".")), isFinite(i) }, onBeforeMask: function (e, t) { var i = t.radixPoint || ","; isFinite(t.digits) && (t.digits = parseInt(t.digits)), "number" != typeof e && "number" !== t.inputType || "" === i || (e = e.toString().replace(".", i)); var a = "-" === e.charAt(0) || e.charAt(0) === t.negationSymbol.front, n = e.split(i), o = n[0].replace(/[^\-0-9]/g, ""), s = n.length > 1 ? n[1].replace(/[^0-9]/g, "") : "", l = n.length > 1; e = o + ("" !== s ? i + s : s); var u = 0; if ("" !== i && (u = t.digitsOptional ? t.digits < s.length ? t.digits : s.length : t.digits, "" !== s || !t.digitsOptional)) { var f = Math.pow(10, u || 1); e = e.replace((0, r.default)(i), "."), isNaN(parseFloat(e)) || (e = (t.roundingFN(parseFloat(e) * f) / f).toFixed(u)), e = e.toString().replace(".", i) } if (0 === t.digits && -1 !== e.indexOf(i) && (e = e.substring(0, e.indexOf(i))), null !== t.min || null !== t.max) { var d = e.toString().replace(i, "."); null !== t.min && d < t.min ? e = t.min.toString().replace(".", i) : null !== t.max && d > t.max && (e = t.max.toString().replace(".", i)) } return a && "-" !== e.charAt(0) && (e = "-" + e), c(e.toString().split(""), u, t, l).join("") }, onBeforeWrite: function (e, t, i, a) { function n(e, t) { if (!1 !== a.__financeInput || t) { var i = e.indexOf(a.radixPoint); -1 !== i && e.splice(i, 1) } if ("" !== a.groupSeparator) for (; -1 !== (i = e.indexOf(a.groupSeparator));)e.splice(i, 1); return e } var o, s = function (e, t) { var i = new RegExp("(^" + ("" !== t.negationSymbol.front ? (0, r.default)(t.negationSymbol.front) + "?" : "") + (0, r.default)(t.prefix) + ")(.*)(" + (0, r.default)(t.suffix) + ("" != t.negationSymbol.back ? (0, r.default)(t.negationSymbol.back) + "?" : "") + "$)").exec(e.slice().reverse().join("")), a = i ? i[2] : "", n = !1; return a && (a = a.split(t.radixPoint.charAt(0))[0], n = new RegExp("^[0" + t.groupSeparator + "]*").exec(a)), !(!n || !(n[0].length > 1 || n[0].length > 0 && n[0].length < a.length)) && n }(t, a); if (s) for (var u = t.join("").lastIndexOf(s[0].split("").reverse().join("")) - (s[0] == s.input ? 0 : 1), f = s[0] == s.input ? 1 : 0, d = s[0].length - f; d > 0; d--)delete this.maskset.validPositions[u + d], delete t[u + d]; if (e) switch (e.type) { case "blur": case "checkval": if (null !== a.min) { var p = a.onUnMask(t.slice().reverse().join(""), void 0, l.extend({}, a, { unmaskAsNumber: !0 })); if (null !== a.min && p < a.min) return { refreshFromBuffer: !0, buffer: c(a.min.toString().replace(".", a.radixPoint).split(""), a.digits, a).reverse() } } if (t[t.length - 1] === a.negationSymbol.front) { var v = new RegExp("(^" + ("" != a.negationSymbol.front ? (0, r.default)(a.negationSymbol.front) + "?" : "") + (0, r.default)(a.prefix) + ")(.*)(" + (0, r.default)(a.suffix) + ("" != a.negationSymbol.back ? (0, r.default)(a.negationSymbol.back) + "?" : "") + "$)").exec(n(t.slice(), !0).reverse().join("")); 0 == (v ? v[2] : "") && (o = { refreshFromBuffer: !0, buffer: [0] }) } else if ("" !== a.radixPoint) { t.indexOf(a.radixPoint) === a.suffix.length && (o && o.buffer ? o.buffer.splice(0, 1 + a.suffix.length) : (t.splice(0, 1 + a.suffix.length), o = { refreshFromBuffer: !0, buffer: n(t) })) } if (a.enforceDigitsOnBlur) { var h = (o = o || {}) && o.buffer || t.slice().reverse(); o.refreshFromBuffer = !0, o.buffer = c(h, a.digits, a, !0).reverse() } }return o }, onKeyDown: function (e, t, i, a) { var r, o = l(this); if (e.ctrlKey) switch (e.keyCode) { case n.default.UP: return this.inputmask.__valueSet.call(this, parseFloat(this.inputmask.unmaskedvalue()) + parseInt(a.step)), o.trigger("setvalue"), !1; case n.default.DOWN: return this.inputmask.__valueSet.call(this, parseFloat(this.inputmask.unmaskedvalue()) - parseInt(a.step)), o.trigger("setvalue"), !1 }if (!e.shiftKey && (e.keyCode === n.default.DELETE || e.keyCode === n.default.BACKSPACE || e.keyCode === n.default.BACKSPACE_SAFARI) && i.begin !== t.length) { if (t[e.keyCode === n.default.DELETE ? i.begin - 1 : i.end] === a.negationSymbol.front) return r = t.slice().reverse(), "" !== a.negationSymbol.front && r.shift(), "" !== a.negationSymbol.back && r.pop(), o.trigger("setvalue", [r.join(""), i.begin]), !1; if (!0 === a._radixDance) { var s = t.indexOf(a.radixPoint); if (a.digitsOptional) { if (0 === s) return (r = t.slice().reverse()).pop(), o.trigger("setvalue", [r.join(""), i.begin >= r.length ? r.length : i.begin]), !1 } else if (-1 !== s && (i.begin < s || i.end < s || e.keyCode === n.default.DELETE && i.begin === s)) return i.begin !== i.end || e.keyCode !== n.default.BACKSPACE && e.keyCode !== n.default.BACKSPACE_SAFARI || i.begin++, (r = t.slice().reverse()).splice(r.length - i.begin, i.begin - i.end + 1), r = c(r, a.digits, a).join(""), o.trigger("setvalue", [r, i.begin >= r.length ? s + 1 : i.begin]), !1 } } } }, currency: { prefix: "", groupSeparator: ",", alias: "numeric", digits: 2, digitsOptional: !1 }, decimal: { alias: "numeric" }, integer: { alias: "numeric", inputmode: "numeric", digits: 0 }, percentage: { alias: "numeric", min: 0, max: 100, suffix: " %", digits: 0, allowMinus: !1 }, indianns: { alias: "numeric", _mask: function (e) { return "(" + e.groupSeparator + "99){*|1}(" + e.groupSeparator + "999){1|1}" }, groupSeparator: ",", radixPoint: ".", placeholder: "0", digits: 2, digitsOptional: !1 } }) }, 9380: function (e, t, i) { var a; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = ((a = i(8741)) && a.__esModule ? a : { default: a }).default ? window : {}; t.default = n }, 7760: function (e, t, i) { Object.defineProperty(t, "__esModule", { value: !0 }), t.applyInputValue = c, t.clearOptionalTail = f, t.checkVal = d, t.HandleNativePlaceholder = function (e, t) { var i = e ? e.inputmask : this; if (l.ie) { if (e.inputmask._valueGet() !== t && (e.placeholder !== t || "" === e.placeholder)) { var a = o.getBuffer.call(i).slice(), n = e.inputmask._valueGet(); if (n !== t) { var r = o.getLastValidPosition.call(i); -1 === r && n === o.getBufferTemplate.call(i).join("") ? a = [] : -1 !== r && f.call(i, a), p(e, a) } } } else e.placeholder !== t && (e.placeholder = t, "" === e.placeholder && e.removeAttribute("placeholder")) }, t.unmaskedvalue = function (e) { var t = e ? e.inputmask : this, i = t.opts, a = t.maskset; if (e) { if (void 0 === e.inputmask) return e.value; e.inputmask && e.inputmask.refreshValue && c(e, e.inputmask._valueGet(!0)) } var n = [], r = a.validPositions; for (var s in r) r[s] && r[s].match && (1 != r[s].match.static || Array.isArray(a.metadata) && !0 !== r[s].generatedInput) && n.push(r[s].input); var l = 0 === n.length ? "" : (t.isRTL ? n.reverse() : n).join(""); if ("function" == typeof i.onUnMask) { var u = (t.isRTL ? o.getBuffer.call(t).slice().reverse() : o.getBuffer.call(t)).join(""); l = i.onUnMask.call(t, u, l, i) } return l }, t.writeBuffer = p; var a, n = (a = i(5581)) && a.__esModule ? a : { default: a }, r = i(4713), o = i(8711), s = i(7215), l = i(9845), u = i(6030); function c(e, t) { if (t != null && t != undefined) { var i = e ? e.inputmask : this, a = i.opts; e.inputmask.refreshValue = !1, "function" == typeof a.onBeforeMask && (t = a.onBeforeMask.call(i, t, a) || t), d(e, !0, !1, t = t.toString().split("")), i.undoValue = i._valueGet(!0), (a.clearMaskOnLostFocus || a.clearIncomplete) && e.inputmask._valueGet() === o.getBufferTemplate.call(i).join("") && -1 === o.getLastValidPosition.call(i) && e.inputmask._valueSet("") } } function f(e) { e.length = 0; for (var t, i = r.getMaskTemplate.call(this, !0, 0, !0, void 0, !0); void 0 !== (t = i.shift());)e.push(t); return e } function d(e, t, i, a, n) { var l = e ? e.inputmask : this, c = l.maskset, f = l.opts, d = l.dependencyLib, v = a.slice(), h = "", m = -1, g = void 0, k = f.skipOptionalPartCharacter; f.skipOptionalPartCharacter = "", o.resetMaskSet.call(l), c.tests = {}, m = f.radixPoint ? o.determineNewCaretPosition.call(l, { begin: 0, end: 0 }, !1, !1 === f.__financeInput ? "radixFocus" : void 0).begin : 0, c.p = m, l.caretPos = { begin: m }; var y = [], b = l.caretPos; if (v.forEach((function (e, t) { if (void 0 !== e) { var a = new d.Event("_checkval"); a.keyCode = e.toString().charCodeAt(0), h += e; var n = o.getLastValidPosition.call(l, void 0, !0); !function (e, t) { for (var i = r.getMaskTemplate.call(l, !0, 0).slice(e, o.seekNext.call(l, e, !1, !1)).join("").replace(/'/g, ""), a = i.indexOf(t); a > 0 && " " === i[a - 1];)a--; var n = 0 === a && !o.isMask.call(l, e) && (r.getTest.call(l, e).match.nativeDef === t.charAt(0) || !0 === r.getTest.call(l, e).match.static && r.getTest.call(l, e).match.nativeDef === "'" + t.charAt(0) || " " === r.getTest.call(l, e).match.nativeDef && (r.getTest.call(l, e + 1).match.nativeDef === t.charAt(0) || !0 === r.getTest.call(l, e + 1).match.static && r.getTest.call(l, e + 1).match.nativeDef === "'" + t.charAt(0))); if (!n && a > 0 && !o.isMask.call(l, e, !1, !0)) { var s = o.seekNext.call(l, e); l.caretPos.begin < s && (l.caretPos = { begin: s }) } return n }(m, h) ? (g = u.EventHandlers.keypressEvent.call(l, a, !0, !1, i, l.caretPos.begin)) && (m = l.caretPos.begin + 1, h = "") : g = u.EventHandlers.keypressEvent.call(l, a, !0, !1, i, n + 1), g ? (void 0 !== g.pos && c.validPositions[g.pos] && !0 === c.validPositions[g.pos].match.static && void 0 === c.validPositions[g.pos].alternation && (y.push(g.pos), l.isRTL || (g.forwardPosition = g.pos + 1)), p.call(l, void 0, o.getBuffer.call(l), g.forwardPosition, a, !1), l.caretPos = { begin: g.forwardPosition, end: g.forwardPosition }, b = l.caretPos) : void 0 === c.validPositions[t] && v[t] === r.getPlaceholder.call(l, t) && o.isMask.call(l, t, !0) ? l.caretPos.begin++ : l.caretPos = b } })), y.length > 0) { var x, P, E = o.seekNext.call(l, -1, void 0, !1); if (!s.isComplete.call(l, o.getBuffer.call(l)) && y.length <= E || s.isComplete.call(l, o.getBuffer.call(l)) && y.length > 0 && y.length !== E && 0 === y[0]) for (var _ = E; void 0 !== (x = y.shift());) { var S = new d.Event("_checkval"); if ((P = c.validPositions[x]).generatedInput = !0, S.keyCode = P.input.charCodeAt(0), (g = u.EventHandlers.keypressEvent.call(l, S, !0, !1, i, _)) && void 0 !== g.pos && g.pos !== x && c.validPositions[g.pos] && !0 === c.validPositions[g.pos].match.static) y.push(g.pos); else if (!g) break; _++ } } t && p.call(l, e, o.getBuffer.call(l), g ? g.forwardPosition : l.caretPos.begin, n || new d.Event("checkval"), n && ("input" === n.type || "paste" === n.type) && l.undoValue !== o.getBuffer.call(l).join("")), f.skipOptionalPartCharacter = k } function p(e, t, i, a, r) { var l = e ? e.inputmask : this, u = l.opts, c = l.dependencyLib; if (a && "function" == typeof u.onBeforeWrite) { var f = u.onBeforeWrite.call(l, a, t, i, u); if (f) { if (f.refreshFromBuffer) { var d = f.refreshFromBuffer; s.refreshFromBuffer.call(l, !0 === d ? d : d.start, d.end, f.buffer || t), t = o.getBuffer.call(l, !0) } void 0 !== i && (i = void 0 !== f.caret ? f.caret : i) } } if (void 0 !== e && (e.inputmask._valueSet(t.join("")), void 0 === i || void 0 !== a && "blur" === a.type || o.caret.call(l, e, i, void 0, void 0, void 0 !== a && "keydown" === a.type && (a.keyCode === n.default.DELETE || a.keyCode === n.default.BACKSPACE)), !0 === r)) { var p = c(e), v = e.inputmask._valueGet(); e.inputmask.skipInputEvent = !0, p.trigger("input"), setTimeout((function () { v === o.getBufferTemplate.call(l).join("") ? p.trigger("cleared") : !0 === s.isComplete.call(l, t) && p.trigger("complete") }), 0) } } }, 2394: function (e, t, i) { Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0, i(7149), i(3194); var a = i(157), n = m(i(4963)), r = m(i(9380)), o = i(2391), s = i(4713), l = i(8711), u = i(7215), c = i(7760), f = i(9716), d = m(i(7392)), p = m(i(3976)), v = m(i(8741)); function h(e) { return (h = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) { return typeof e } : function (e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(e) } function m(e) { return e && e.__esModule ? e : { default: e } } var g = r.default.document, k = "_inputmask_opts"; function y(e, t, i) { if (v.default) { if (!(this instanceof y)) return new y(e, t, i); this.dependencyLib = n.default, this.el = void 0, this.events = {}, this.maskset = void 0, !0 !== i && ("[object Object]" === Object.prototype.toString.call(e) ? t = e : (t = t || {}, e && (t.alias = e)), this.opts = n.default.extend(!0, {}, this.defaults, t), this.noMasksCache = t && void 0 !== t.definitions, this.userOptions = t || {}, b(this.opts.alias, t, this.opts)), this.refreshValue = !1, this.undoValue = void 0, this.$el = void 0, this.skipKeyPressEvent = !1, this.skipInputEvent = !1, this.validationEvent = !1, this.ignorable = !1, this.maxLength, this.mouseEnter = !1, this.originalPlaceholder = void 0, this.isComposing = !1 } } function b(e, t, i) { var a = y.prototype.aliases[e]; return a ? (a.alias && b(a.alias, void 0, i), n.default.extend(!0, i, a), n.default.extend(!0, i, t), !0) : (null === i.mask && (i.mask = e), !1) } y.prototype = { dataAttribute: "data-inputmask", defaults: p.default, definitions: d.default, aliases: {}, masksCache: {}, get isRTL() { return this.opts.isRTL || this.opts.numericInput }, mask: function (e) { var t = this; return "string" == typeof e && (e = g.getElementById(e) || g.querySelectorAll(e)), (e = e.nodeName ? [e] : Array.isArray(e) ? e : Array.from(e)).forEach((function (e, i) { var s = n.default.extend(!0, {}, t.opts); if (function (e, t, i, a) { function o(t, n) { var o = "" === a ? t : a + "-" + t; null !== (n = void 0 !== n ? n : e.getAttribute(o)) && ("string" == typeof n && (0 === t.indexOf("on") ? n = r.default[n] : "false" === n ? n = !1 : "true" === n && (n = !0)), i[t] = n) } if (!0 === t.importDataAttributes) { var s, l, u, c, f = e.getAttribute(a); if (f && "" !== f && (f = f.replace(/'/g, '"'), l = JSON.parse("{" + f + "}")), l) for (c in u = void 0, l) if ("alias" === c.toLowerCase()) { u = l[c]; break } for (s in o("alias", u), i.alias && b(i.alias, i, t), t) { if (l) for (c in u = void 0, l) if (c.toLowerCase() === s.toLowerCase()) { u = l[c]; break } o(s, u) } } n.default.extend(!0, t, i), ("rtl" === e.dir || t.rightAlign) && (e.style.textAlign = "right"); ("rtl" === e.dir || t.numericInput) && (e.dir = "ltr", e.removeAttribute("dir"), t.isRTL = !0); return Object.keys(i).length }(e, s, n.default.extend(!0, {}, t.userOptions), t.dataAttribute)) { var l = (0, o.generateMaskSet)(s, t.noMasksCache); void 0 !== l && (void 0 !== e.inputmask && (e.inputmask.opts.autoUnmask = !0, e.inputmask.remove()), e.inputmask = new y(void 0, void 0, !0), e.inputmask.opts = s, e.inputmask.noMasksCache = t.noMasksCache, e.inputmask.userOptions = n.default.extend(!0, {}, t.userOptions), e.inputmask.el = e, e.inputmask.$el = (0, n.default)(e), e.inputmask.maskset = l, n.default.data(e, k, t.userOptions), a.mask.call(e.inputmask)) } })), e && e[0] && e[0].inputmask || this }, option: function (e, t) { return "string" == typeof e ? this.opts[e] : "object" === h(e) ? (n.default.extend(this.userOptions, e), this.el && !0 !== t && this.mask(this.el), this) : void 0 }, unmaskedvalue: function (e) { if (this.maskset = this.maskset || (0, o.generateMaskSet)(this.opts, this.noMasksCache), void 0 === this.el || void 0 !== e) { var t = ("function" == typeof this.opts.onBeforeMask && this.opts.onBeforeMask.call(this, e, this.opts) || e).split(""); c.checkVal.call(this, void 0, !1, !1, t), "function" == typeof this.opts.onBeforeWrite && this.opts.onBeforeWrite.call(this, void 0, l.getBuffer.call(this), 0, this.opts) } return c.unmaskedvalue.call(this, this.el) }, remove: function () { if (this.el) { n.default.data(this.el, k, null); var e = this.opts.autoUnmask ? (0, c.unmaskedvalue)(this.el) : this._valueGet(this.opts.autoUnmask); e !== l.getBufferTemplate.call(this).join("") ? this._valueSet(e, this.opts.autoUnmask) : this._valueSet(""), f.EventRuler.off(this.el), Object.getOwnPropertyDescriptor && Object.getPrototypeOf ? Object.getOwnPropertyDescriptor(Object.getPrototypeOf(this.el), "value") && this.__valueGet && Object.defineProperty(this.el, "value", { get: this.__valueGet, set: this.__valueSet, configurable: !0 }) : g.__lookupGetter__ && this.el.__lookupGetter__("value") && this.__valueGet && (this.el.__defineGetter__("value", this.__valueGet), this.el.__defineSetter__("value", this.__valueSet)), this.el.inputmask = void 0 } return this.el }, getemptymask: function () { return this.maskset = this.maskset || (0, o.generateMaskSet)(this.opts, this.noMasksCache), l.getBufferTemplate.call(this).join("") }, hasMaskedValue: function () { return !this.opts.autoUnmask }, isComplete: function () { return this.maskset = this.maskset || (0, o.generateMaskSet)(this.opts, this.noMasksCache), u.isComplete.call(this, l.getBuffer.call(this)) }, getmetadata: function () { if (this.maskset = this.maskset || (0, o.generateMaskSet)(this.opts, this.noMasksCache), Array.isArray(this.maskset.metadata)) { var e = s.getMaskTemplate.call(this, !0, 0, !1).join(""); return this.maskset.metadata.forEach((function (t) { return t.mask !== e || (e = t, !1) })), e } return this.maskset.metadata }, isValid: function (e) { if (this.maskset = this.maskset || (0, o.generateMaskSet)(this.opts, this.noMasksCache), e) { var t = ("function" == typeof this.opts.onBeforeMask && this.opts.onBeforeMask.call(this, e, this.opts) || e).split(""); c.checkVal.call(this, void 0, !0, !1, t) } else e = this.isRTL ? l.getBuffer.call(this).slice().reverse().join("") : l.getBuffer.call(this).join(""); for (var i = l.getBuffer.call(this), a = l.determineLastRequiredPosition.call(this), n = i.length - 1; n > a && !l.isMask.call(this, n); n--); return i.splice(a, n + 1 - a), u.isComplete.call(this, i) && e === (this.isRTL ? l.getBuffer.call(this).slice().reverse().join("") : l.getBuffer.call(this).join("")) }, format: function (e, t) { this.maskset = this.maskset || (0, o.generateMaskSet)(this.opts, this.noMasksCache); var i = ("function" == typeof this.opts.onBeforeMask && this.opts.onBeforeMask.call(this, e, this.opts) || e).split(""); c.checkVal.call(this, void 0, !0, !1, i); var a = this.isRTL ? l.getBuffer.call(this).slice().reverse().join("") : l.getBuffer.call(this).join(""); return t ? { value: a, metadata: this.getmetadata() } : a }, setValue: function (e) { this.el && (0, n.default)(this.el).trigger("setvalue", [e]) }, analyseMask: o.analyseMask }, y.extendDefaults = function (e) { n.default.extend(!0, y.prototype.defaults, e) }, y.extendDefinitions = function (e) { n.default.extend(!0, y.prototype.definitions, e) }, y.extendAliases = function (e) { n.default.extend(!0, y.prototype.aliases, e) }, y.format = function (e, t, i) { return y(t).format(e, i) }, y.unmask = function (e, t) { return y(t).unmaskedvalue(e) }, y.isValid = function (e, t) { return y(t).isValid(e) }, y.remove = function (e) { "string" == typeof e && (e = g.getElementById(e) || g.querySelectorAll(e)), (e = e.nodeName ? [e] : e).forEach((function (e) { e.inputmask && e.inputmask.remove() })) }, y.setValue = function (e, t) { "string" == typeof e && (e = g.getElementById(e) || g.querySelectorAll(e)), (e = e.nodeName ? [e] : e).forEach((function (e) { e.inputmask ? e.inputmask.setValue(t) : (0, n.default)(e).trigger("setvalue", [t]) })) }, y.dependencyLib = n.default, r.default.Inputmask = y; var x = y; t.default = x }, 5296: function (e, t, i) { function a(e) { return (a = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) { return typeof e } : function (e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(e) } var n = p(i(9380)), r = p(i(2394)), o = p(i(8741)); function s(e, t) { if (t && ("object" === a(t) || "function" == typeof t)) return t; if (void 0 !== t) throw new TypeError("Derived constructors may only return object or undefined"); return function (e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e }(e) } function l(e) { var t = "function" == typeof Map ? new Map : void 0; return (l = function (e) { if (null === e || (i = e, -1 === Function.toString.call(i).indexOf("[native code]"))) return e; var i; if ("function" != typeof e) throw new TypeError("Super expression must either be null or a function"); if (void 0 !== t) { if (t.has(e)) return t.get(e); t.set(e, a) } function a() { return u(e, arguments, d(this).constructor) } return a.prototype = Object.create(e.prototype, { constructor: { value: a, enumerable: !1, writable: !0, configurable: !0 } }), f(a, e) })(e) } function u(e, t, i) { return (u = c() ? Reflect.construct : function (e, t, i) { var a = [null]; a.push.apply(a, t); var n = new (Function.bind.apply(e, a)); return i && f(n, i.prototype), n }).apply(null, arguments) } function c() { if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if (Reflect.construct.sham) return !1; if ("function" == typeof Proxy) return !0; try { return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], (function () { }))), !0 } catch (e) { return !1 } } function f(e, t) { return (f = Object.setPrototypeOf || function (e, t) { return e.__proto__ = t, e })(e, t) } function d(e) { return (d = Object.setPrototypeOf ? Object.getPrototypeOf : function (e) { return e.__proto__ || Object.getPrototypeOf(e) })(e) } function p(e) { return e && e.__esModule ? e : { default: e } } var v = n.default.document; if (o.default && v && v.head && v.head.attachShadow && n.default.customElements && void 0 === n.default.customElements.get("input-mask")) { var h = function (e) { !function (e, t) { if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function"); e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), t && f(e, t) }(n, e); var t, i, a = (t = n, i = c(), function () { var e, a = d(t); if (i) { var n = d(this).constructor; e = Reflect.construct(a, arguments, n) } else e = a.apply(this, arguments); return s(this, e) }); function n() { var e; !function (e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") }(this, n); var t = (e = a.call(this)).getAttributeNames(), i = e.attachShadow({ mode: "closed" }), o = v.createElement("input"); for (var s in o.type = "text", i.appendChild(o), t) Object.prototype.hasOwnProperty.call(t, s) && o.setAttribute(t[s], e.getAttribute(t[s])); var l = new r.default; return l.dataAttribute = "", l.mask(o), o.inputmask.shadowRoot = i, e } return n }(l(HTMLElement)); n.default.customElements.define("input-mask", h) } }, 2391: function (e, t, i) { Object.defineProperty(t, "__esModule", { value: !0 }), t.generateMaskSet = function (e, t) { var i; function n(e, i, n) { var o, s, l = !1; if (null !== e && "" !== e || ((l = null !== n.regex) ? e = (e = n.regex).replace(/^(\^)(.*)(\$)$/, "$2") : (l = !0, e = ".*")), 1 === e.length && !1 === n.greedy && 0 !== n.repeat && (n.placeholder = ""), n.repeat > 0 || "*" === n.repeat || "+" === n.repeat) { var u = "*" === n.repeat ? 0 : "+" === n.repeat ? 1 : n.repeat; e = n.groupmarker[0] + e + n.groupmarker[1] + n.quantifiermarker[0] + u + "," + n.repeat + n.quantifiermarker[1] } return s = l ? "regex_" + n.regex : n.numericInput ? e.split("").reverse().join("") : e, !1 !== n.keepStatic && (s = "ks_" + s), void 0 === r.default.prototype.masksCache[s] || !0 === t ? (o = { mask: e, maskToken: r.default.prototype.analyseMask(e, l, n), validPositions: {}, _buffer: void 0, buffer: void 0, tests: {}, excludes: {}, metadata: i, maskLength: void 0, jitOffset: {} }, !0 !== t && (r.default.prototype.masksCache[s] = o, o = a.default.extend(!0, {}, r.default.prototype.masksCache[s]))) : o = a.default.extend(!0, {}, r.default.prototype.masksCache[s]), o } "function" == typeof e.mask && (e.mask = e.mask(e)); if (Array.isArray(e.mask)) { if (e.mask.length > 1) { null === e.keepStatic && (e.keepStatic = !0); var o = e.groupmarker[0]; return (e.isRTL ? e.mask.reverse() : e.mask).forEach((function (t) { o.length > 1 && (o += e.groupmarker[1] + e.alternatormarker + e.groupmarker[0]), void 0 !== t.mask && "function" != typeof t.mask ? o += t.mask : o += t })), n(o += e.groupmarker[1], e.mask, e) } e.mask = e.mask.pop() } null === e.keepStatic && (e.keepStatic = !1); i = e.mask && void 0 !== e.mask.mask && "function" != typeof e.mask.mask ? n(e.mask.mask, e.mask, e) : n(e.mask, e.mask, e); return i }, t.analyseMask = function (e, t, i) { var a, o, s, l, u, c, f = /(?:[?*+]|\{[0-9+*]+(?:,[0-9+*]*)?(?:\|[0-9+*]*)?\})|[^.?*+^${[]()|\\]+|./g, d = /\[\^?]?(?:[^\\\]]+|\\[\S\s]?)*]?|\\(?:0(?:[0-3][0-7]{0,2}|[4-7][0-7]?)?|[1-9][0-9]*|x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4}|c[A-Za-z]|[\S\s]?)|\((?:\?[:=!]?)?|(?:[?*+]|\{[0-9]+(?:,[0-9]*)?\})\??|[^.?*+^${[()|\\]+|./g, p = !1, v = new n.default, h = [], m = [], g = !1; function k(e, a, n) { n = void 0 !== n ? n : e.matches.length; var o = e.matches[n - 1]; if (t) 0 === a.indexOf("[") || p && /\\d|\\s|\\w]/i.test(a) || "." === a ? e.matches.splice(n++, 0, { fn: new RegExp(a, i.casing ? "i" : ""), static: !1, optionality: !1, newBlockMarker: void 0 === o ? "master" : o.def !== a, casing: null, def: a, placeholder: void 0, nativeDef: a }) : (p && (a = a[a.length - 1]), a.split("").forEach((function (t, a) { o = e.matches[n - 1], e.matches.splice(n++, 0, { fn: /[a-z]/i.test(i.staticDefinitionSymbol || t) ? new RegExp("[" + (i.staticDefinitionSymbol || t) + "]", i.casing ? "i" : "") : null, static: !0, optionality: !1, newBlockMarker: void 0 === o ? "master" : o.def !== t && !0 !== o.static, casing: null, def: i.staticDefinitionSymbol || t, placeholder: void 0 !== i.staticDefinitionSymbol ? t : void 0, nativeDef: (p ? "'" : "") + t }) }))), p = !1; else { var s = i.definitions && i.definitions[a] || i.usePrototypeDefinitions && r.default.prototype.definitions[a]; s && !p ? e.matches.splice(n++, 0, { fn: s.validator ? "string" == typeof s.validator ? new RegExp(s.validator, i.casing ? "i" : "") : new function () { this.test = s.validator } : new RegExp("."), static: s.static || !1, optionality: s.optional || !1, newBlockMarker: void 0 === o || s.optional ? "master" : o.def !== (s.definitionSymbol || a), casing: s.casing, def: s.definitionSymbol || a, placeholder: s.placeholder, nativeDef: a, generated: s.generated }) : (e.matches.splice(n++, 0, { fn: /[a-z]/i.test(i.staticDefinitionSymbol || a) ? new RegExp("[" + (i.staticDefinitionSymbol || a) + "]", i.casing ? "i" : "") : null, static: !0, optionality: !1, newBlockMarker: void 0 === o ? "master" : o.def !== a && !0 !== o.static, casing: null, def: i.staticDefinitionSymbol || a, placeholder: void 0 !== i.staticDefinitionSymbol ? a : void 0, nativeDef: (p ? "'" : "") + a }), p = !1) } } function y() { if (h.length > 0) { if (k(l = h[h.length - 1], o), l.isAlternator) { u = h.pop(); for (var e = 0; e < u.matches.length; e++)u.matches[e].isGroup && (u.matches[e].isGroup = !1); h.length > 0 ? (l = h[h.length - 1]).matches.push(u) : v.matches.push(u) } } else k(v, o) } function b(e) { var t = new n.default(!0); return t.openGroup = !1, t.matches = e, t } function x() { if ((s = h.pop()).openGroup = !1, void 0 !== s) if (h.length > 0) { if ((l = h[h.length - 1]).matches.push(s), l.isAlternator) { u = h.pop(); for (var e = 0; e < u.matches.length; e++)u.matches[e].isGroup = !1, u.matches[e].alternatorGroup = !1; h.length > 0 ? (l = h[h.length - 1]).matches.push(u) : v.matches.push(u) } } else v.matches.push(s); else y() } function P(e) { var t = e.pop(); return t.isQuantifier && (t = b([e.pop(), t])), t } t && (i.optionalmarker[0] = void 0, i.optionalmarker[1] = void 0); for (; a = t ? d.exec(e) : f.exec(e);) { if (o = a[0], t) { switch (o.charAt(0)) { case "?": o = "{0,1}"; break; case "+": case "*": o = "{" + o + "}"; break; case "|": if (0 === h.length) { var E = b(v.matches); E.openGroup = !0, h.push(E), v.matches = [], g = !0 } }switch (o) { case "\\d": o = "[0-9]" } } if (p) y(); else switch (o.charAt(0)) { case "$": case "^": t || y(); break; case i.escapeChar: p = !0, t && y(); break; case i.optionalmarker[1]: case i.groupmarker[1]: x(); break; case i.optionalmarker[0]: h.push(new n.default(!1, !0)); break; case i.groupmarker[0]: h.push(new n.default(!0)); break; case i.quantifiermarker[0]: var _ = new n.default(!1, !1, !0), S = (o = o.replace(/[{}?]/g, "")).split("|"), w = S[0].split(","), M = isNaN(w[0]) ? w[0] : parseInt(w[0]), O = 1 === w.length ? M : isNaN(w[1]) ? w[1] : parseInt(w[1]), T = isNaN(S[1]) ? S[1] : parseInt(S[1]); "*" !== M && "+" !== M || (M = "*" === O ? 0 : 1), _.quantifier = { min: M, max: O, jit: T }; var C = h.length > 0 ? h[h.length - 1].matches : v.matches; if ((a = C.pop()).isAlternator) { C.push(a), C = a.matches; var A = new n.default(!0), D = C.pop(); C.push(A), C = A.matches, a = D } a.isGroup || (a = b([a])), C.push(a), C.push(_); break; case i.alternatormarker: if (h.length > 0) { var j = (l = h[h.length - 1]).matches[l.matches.length - 1]; c = l.openGroup && (void 0 === j.matches || !1 === j.isGroup && !1 === j.isAlternator) ? h.pop() : P(l.matches) } else c = P(v.matches); if (c.isAlternator) h.push(c); else if (c.alternatorGroup ? (u = h.pop(), c.alternatorGroup = !1) : u = new n.default(!1, !1, !1, !0), u.matches.push(c), h.push(u), c.openGroup) { c.openGroup = !1; var B = new n.default(!0); B.alternatorGroup = !0, h.push(B) } break; default: y() } } g && x(); for (; h.length > 0;)s = h.pop(), v.matches.push(s); v.matches.length > 0 && (!function e(a) { a && a.matches && a.matches.forEach((function (n, r) { var o = a.matches[r + 1]; (void 0 === o || void 0 === o.matches || !1 === o.isQuantifier) && n && n.isGroup && (n.isGroup = !1, t || (k(n, i.groupmarker[0], 0), !0 !== n.openGroup && k(n, i.groupmarker[1]))), e(n) })) }(v), m.push(v)); (i.numericInput || i.isRTL) && function e(t) { for (var a in t.matches = t.matches.reverse(), t.matches) if (Object.prototype.hasOwnProperty.call(t.matches, a)) { var n = parseInt(a); if (t.matches[a].isQuantifier && t.matches[n + 1] && t.matches[n + 1].isGroup) { var r = t.matches[a]; t.matches.splice(a, 1), t.matches.splice(n + 1, 0, r) } void 0 !== t.matches[a].matches ? t.matches[a] = e(t.matches[a]) : t.matches[a] = ((o = t.matches[a]) === i.optionalmarker[0] ? o = i.optionalmarker[1] : o === i.optionalmarker[1] ? o = i.optionalmarker[0] : o === i.groupmarker[0] ? o = i.groupmarker[1] : o === i.groupmarker[1] && (o = i.groupmarker[0]), o) } var o; return t }(m[0]); return m }; var a = o(i(4963)), n = o(i(9695)), r = o(i(2394)); function o(e) { return e && e.__esModule ? e : { default: e } } }, 157: function (e, t, i) { Object.defineProperty(t, "__esModule", { value: !0 }), t.mask = function () { var e = this, t = this.opts, i = this.el, a = this.dependencyLib; s.EventRuler.off(i); var f = function (t, i) { "textarea" !== t.tagName.toLowerCase() && i.ignorables.push(n.default.ENTER); var l = t.getAttribute("type"), u = "input" === t.tagName.toLowerCase() && i.supportsInputType.includes(l) || t.isContentEditable || "textarea" === t.tagName.toLowerCase(); if (!u) if ("input" === t.tagName.toLowerCase()) { var c = document.createElement("input"); c.setAttribute("type", l), u = "text" === c.type, c = null } else u = "partial"; return !1 !== u ? function (t) { var n, l; function u() { return this.inputmask ? this.inputmask.opts.autoUnmask ? this.inputmask.unmaskedvalue() : -1 !== r.getLastValidPosition.call(e) || !0 !== i.nullable ? (this.inputmask.shadowRoot || this.ownerDocument).activeElement === this && i.clearMaskOnLostFocus ? (e.isRTL ? o.clearOptionalTail.call(e, r.getBuffer.call(e).slice()).reverse() : o.clearOptionalTail.call(e, r.getBuffer.call(e).slice())).join("") : n.call(this) : "" : n.call(this) } function c(e) { l.call(this, e), this.inputmask && (0, o.applyInputValue)(this, e) } if (!t.inputmask.__valueGet) { if (!0 !== i.noValuePatching) { if (Object.getOwnPropertyDescriptor) { var f = Object.getPrototypeOf ? Object.getOwnPropertyDescriptor(Object.getPrototypeOf(t), "value") : void 0; f && f.get && f.set ? (n = f.get, l = f.set, Object.defineProperty(t, "value", { get: u, set: c, configurable: !0 })) : "input" !== t.tagName.toLowerCase() && (n = function () { return this.textContent }, l = function (e) { this.textContent = e }, Object.defineProperty(t, "value", { get: u, set: c, configurable: !0 })) } else document.__lookupGetter__ && t.__lookupGetter__("value") && (n = t.__lookupGetter__("value"), l = t.__lookupSetter__("value"), t.__defineGetter__("value", u), t.__defineSetter__("value", c)); t.inputmask.__valueGet = n, t.inputmask.__valueSet = l } t.inputmask._valueGet = function (t) { return e.isRTL && !0 !== t ? n.call(this.el).split("").reverse().join("") : n.call(this.el) }, t.inputmask._valueSet = function (t, i) { l.call(this.el, null == t ? "" : !0 !== i && e.isRTL ? t.split("").reverse().join("") : t) }, void 0 === n && (n = function () { return this.value }, l = function (e) { this.value = e }, function (t) { if (a.valHooks && (void 0 === a.valHooks[t] || !0 !== a.valHooks[t].inputmaskpatch)) { var n = a.valHooks[t] && a.valHooks[t].get ? a.valHooks[t].get : function (e) { return e.value }, s = a.valHooks[t] && a.valHooks[t].set ? a.valHooks[t].set : function (e, t) { return e.value = t, e }; a.valHooks[t] = { get: function (t) { if (t.inputmask) { if (t.inputmask.opts.autoUnmask) return t.inputmask.unmaskedvalue(); var a = n(t); return -1 !== r.getLastValidPosition.call(e, void 0, void 0, t.inputmask.maskset.validPositions) || !0 !== i.nullable ? a : "" } return n(t) }, set: function (e, t) { var i = s(e, t); return e.inputmask && (0, o.applyInputValue)(e, t), i }, inputmaskpatch: !0 } } }(t.type), function (t) { s.EventRuler.on(t, "mouseenter", (function () { var t = this.inputmask._valueGet(!0); t !== (e.isRTL ? r.getBuffer.call(e).reverse() : r.getBuffer.call(e)).join("") && (0, o.applyInputValue)(this, t) })) }(t)) } }(t) : t.inputmask = void 0, u }(i, t); if (!1 !== f) { e.originalPlaceholder = i.placeholder, e.maxLength = void 0 !== i ? i.maxLength : void 0, -1 === e.maxLength && (e.maxLength = void 0), "inputMode" in i && null === i.getAttribute("inputmode") && (i.inputMode = t.inputmode, i.setAttribute("inputmode", t.inputmode)), !0 === f && (t.showMaskOnFocus = t.showMaskOnFocus && -1 === ["cc-number", "cc-exp"].indexOf(i.autocomplete), l.iphone && (t.insertModeVisual = !1), s.EventRuler.on(i, "submit", c.EventHandlers.submitEvent), s.EventRuler.on(i, "reset", c.EventHandlers.resetEvent), s.EventRuler.on(i, "blur", c.EventHandlers.blurEvent), s.EventRuler.on(i, "focus", c.EventHandlers.focusEvent), s.EventRuler.on(i, "invalid", c.EventHandlers.invalidEvent), s.EventRuler.on(i, "click", c.EventHandlers.clickEvent), s.EventRuler.on(i, "mouseleave", c.EventHandlers.mouseleaveEvent), s.EventRuler.on(i, "mouseenter", c.EventHandlers.mouseenterEvent), s.EventRuler.on(i, "paste", c.EventHandlers.pasteEvent), s.EventRuler.on(i, "cut", c.EventHandlers.cutEvent), s.EventRuler.on(i, "complete", t.oncomplete), s.EventRuler.on(i, "incomplete", t.onincomplete), s.EventRuler.on(i, "cleared", t.oncleared), !0 !== t.inputEventOnly && (s.EventRuler.on(i, "keydown", c.EventHandlers.keydownEvent), s.EventRuler.on(i, "keypress", c.EventHandlers.keypressEvent), s.EventRuler.on(i, "keyup", c.EventHandlers.keyupEvent)), (l.mobile || t.inputEventOnly) && i.removeAttribute("maxLength"), s.EventRuler.on(i, "input", c.EventHandlers.inputFallBackEvent), s.EventRuler.on(i, "compositionend", c.EventHandlers.compositionendEvent)), s.EventRuler.on(i, "setvalue", c.EventHandlers.setValueEvent), r.getBufferTemplate.call(e).join(""), e.undoValue = e._valueGet(!0); var d = (i.inputmask.shadowRoot || i.ownerDocument).activeElement; if ("" !== i.inputmask._valueGet(!0) || !1 === t.clearMaskOnLostFocus || d === i) { (0, o.applyInputValue)(i, i.inputmask._valueGet(!0), t); var p = r.getBuffer.call(e).slice(); !1 === u.isComplete.call(e, p) && t.clearIncomplete && r.resetMaskSet.call(e), t.clearMaskOnLostFocus && d !== i && (-1 === r.getLastValidPosition.call(e) ? p = [] : o.clearOptionalTail.call(e, p)), (!1 === t.clearMaskOnLostFocus || t.showMaskOnFocus && d === i || "" !== i.inputmask._valueGet(!0)) && (0, o.writeBuffer)(i, p), d === i && r.caret.call(e, i, r.seekNext.call(e, r.getLastValidPosition.call(e))) } } }; var a, n = (a = i(5581)) && a.__esModule ? a : { default: a }, r = i(8711), o = i(7760), s = i(9716), l = i(9845), u = i(7215), c = i(6030) }, 9695: function (e, t) { Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function (e, t, i, a) { this.matches = [], this.openGroup = e || !1, this.alternatorGroup = !1, this.isGroup = e || !1, this.isOptional = t || !1, this.isQuantifier = i || !1, this.isAlternator = a || !1, this.quantifier = { min: 1, max: 1 } } }, 3194: function () { Array.prototype.includes || Object.defineProperty(Array.prototype, "includes", { value: function (e, t) { if (null == this) throw new TypeError('"this" is null or not defined'); var i = Object(this), a = i.length >>> 0; if (0 === a) return !1; for (var n = 0 | t, r = Math.max(n >= 0 ? n : a - Math.abs(n), 0); r < a;) { if (i[r] === e) return !0; r++ } return !1 } }) }, 7149: function () { function e(t) { return (e = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) { return typeof e } : function (e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(t) } "function" != typeof Object.getPrototypeOf && (Object.getPrototypeOf = "object" === e("test".__proto__) ? function (e) { return e.__proto__ } : function (e) { return e.constructor.prototype }) }, 8711: function (e, t, i) { Object.defineProperty(t, "__esModule", { value: !0 }), t.caret = function (e, t, i, a, n) { var r, o = this, s = this.opts; if (void 0 === t) return "selectionStart" in e && "selectionEnd" in e ? (t = e.selectionStart, i = e.selectionEnd) : window.getSelection ? (r = window.getSelection().getRangeAt(0)).commonAncestorContainer.parentNode !== e && r.commonAncestorContainer !== e || (t = r.startOffset, i = r.endOffset) : document.selection && document.selection.createRange && (r = document.selection.createRange(), t = 0 - r.duplicate().moveStart("character", -e.inputmask._valueGet().length), i = t + r.text.length), { begin: a ? t : u.call(o, t), end: a ? i : u.call(o, i) }; if (Array.isArray(t) && (i = o.isRTL ? t[0] : t[1], t = o.isRTL ? t[1] : t[0]), void 0 !== t.begin && (i = o.isRTL ? t.begin : t.end, t = o.isRTL ? t.end : t.begin), "number" == typeof t) { t = a ? t : u.call(o, t), i = "number" == typeof (i = a ? i : u.call(o, i)) ? i : t; var l = parseInt(((e.ownerDocument.defaultView || window).getComputedStyle ? (e.ownerDocument.defaultView || window).getComputedStyle(e, null) : e.currentStyle).fontSize) * i; if (e.scrollLeft = l > e.scrollWidth ? l : 0, e.inputmask.caretPos = { begin: t, end: i }, s.insertModeVisual && !1 === s.insertMode && t === i && (n || i++), e === (e.inputmask.shadowRoot || e.ownerDocument).activeElement) if ("setSelectionRange" in e) e.setSelectionRange(t, i); else if (window.getSelection) { if (r = document.createRange(), void 0 === e.firstChild || null === e.firstChild) { var c = document.createTextNode(""); e.appendChild(c) } r.setStart(e.firstChild, t < e.inputmask._valueGet().length ? t : e.inputmask._valueGet().length), r.setEnd(e.firstChild, i < e.inputmask._valueGet().length ? i : e.inputmask._valueGet().length), r.collapse(!0); var f = window.getSelection(); f.removeAllRanges(), f.addRange(r) } else e.createTextRange && ((r = e.createTextRange()).collapse(!0), r.moveEnd("character", i), r.moveStart("character", t), r.select()) } }, t.determineLastRequiredPosition = function (e) { var t, i, r = this, s = this.maskset, l = this.dependencyLib, u = a.getMaskTemplate.call(r, !0, o.call(r), !0, !0), c = u.length, f = o.call(r), d = {}, p = s.validPositions[f], v = void 0 !== p ? p.locator.slice() : void 0; for (t = f + 1; t < u.length; t++)i = a.getTestTemplate.call(r, t, v, t - 1), v = i.locator.slice(), d[t] = l.extend(!0, {}, i); var h = p && void 0 !== p.alternation ? p.locator[p.alternation] : void 0; for (t = c - 1; t > f && (((i = d[t]).match.optionality || i.match.optionalQuantifier && i.match.newBlockMarker || h && (h !== d[t].locator[p.alternation] && 1 != i.match.static || !0 === i.match.static && i.locator[p.alternation] && n.checkAlternationMatch.call(r, i.locator[p.alternation].toString().split(","), h.toString().split(",")) && "" !== a.getTests.call(r, t)[0].def)) && u[t] === a.getPlaceholder.call(r, t, i.match)); t--)c--; return e ? { l: c, def: d[c] ? d[c].match : void 0 } : c }, t.determineNewCaretPosition = function (e, t, i) { var n = this, u = this.maskset, c = this.opts; t && (n.isRTL ? e.end = e.begin : e.begin = e.end); if (e.begin === e.end) { switch (i = i || c.positionCaretOnClick) { case "none": break; case "select": e = { begin: 0, end: r.call(n).length }; break; case "ignore": e.end = e.begin = l.call(n, o.call(n)); break; case "radixFocus": if (function (e) { if ("" !== c.radixPoint && 0 !== c.digits) { var t = u.validPositions; if (void 0 === t[e] || t[e].input === a.getPlaceholder.call(n, e)) { if (e < l.call(n, -1)) return !0; var i = r.call(n).indexOf(c.radixPoint); if (-1 !== i) { for (var o in t) if (t[o] && i < o && t[o].input !== a.getPlaceholder.call(n, o)) return !1; return !0 } } } return !1 }(e.begin)) { var f = r.call(n).join("").indexOf(c.radixPoint); e.end = e.begin = c.numericInput ? l.call(n, f) : f; break } default: var d = e.begin, p = o.call(n, d, !0), v = l.call(n, -1 !== p || s.call(n, 0) ? p : -1); if (d <= v) e.end = e.begin = s.call(n, d, !1, !0) ? d : l.call(n, d); else { var h = u.validPositions[p], m = a.getTestTemplate.call(n, v, h ? h.match.locator : void 0, h), g = a.getPlaceholder.call(n, v, m.match); if ("" !== g && r.call(n)[v] !== g && !0 !== m.match.optionalQuantifier && !0 !== m.match.newBlockMarker || !s.call(n, v, c.keepStatic, !0) && m.match.def === g) { var k = l.call(n, v); (d >= k || d === v) && (v = k) } e.end = e.begin = v } }return e } }, t.getBuffer = r, t.getBufferTemplate = function () { var e = this.maskset; void 0 === e._buffer && (e._buffer = a.getMaskTemplate.call(this, !1, 1), void 0 === e.buffer && (e.buffer = e._buffer.slice())); return e._buffer }, t.getLastValidPosition = o, t.isMask = s, t.resetMaskSet = function (e) { var t = this.maskset; t.buffer = void 0, !0 !== e && (t.validPositions = {}, t.p = 0) }, t.seekNext = l, t.seekPrevious = function (e, t) { var i = this, n = e - 1; if (e <= 0) return 0; for (; n > 0 && (!0 === t && (!0 !== a.getTest.call(i, n).match.newBlockMarker || !s.call(i, n, void 0, !0)) || !0 !== t && !s.call(i, n, void 0, !0));)n--; return n }, t.translatePosition = u; var a = i(4713), n = i(7215); function r(e) { var t = this.maskset; return void 0 !== t.buffer && !0 !== e || (t.buffer = a.getMaskTemplate.call(this, !0, o.call(this), !0), void 0 === t._buffer && (t._buffer = t.buffer.slice())), t.buffer } function o(e, t, i) { var a = this.maskset, n = -1, r = -1, o = i || a.validPositions; for (var s in void 0 === e && (e = -1), o) { var l = parseInt(s); o[l] && (t || !0 !== o[l].generatedInput) && (l <= e && (n = l), l >= e && (r = l)) } return -1 === n || n == e ? r : -1 == r || e - n < r - e ? n : r } function s(e, t, i) { var n = this, r = this.maskset, o = a.getTestTemplate.call(n, e).match; if ("" === o.def && (o = a.getTest.call(n, e).match), !0 !== o.static) return o.fn; if (!0 === i && void 0 !== r.validPositions[e] && !0 !== r.validPositions[e].generatedInput) return !0; if (!0 !== t && e > -1) { if (i) { var s = a.getTests.call(n, e); return s.length > 1 + ("" === s[s.length - 1].match.def ? 1 : 0) } var l = a.determineTestTemplate.call(n, e, a.getTests.call(n, e)), u = a.getPlaceholder.call(n, e, l.match); return l.match.def !== u } return !1 } function l(e, t, i) { var n = this; void 0 === i && (i = !0); for (var r = e + 1; "" !== a.getTest.call(n, r).match.def && (!0 === t && (!0 !== a.getTest.call(n, r).match.newBlockMarker || !s.call(n, r, void 0, !0)) || !0 !== t && !s.call(n, r, void 0, i));)r++; return r } function u(e) { var t = this.opts, i = this.el; return !this.isRTL || "number" != typeof e || t.greedy && "" === t.placeholder || !i || (e = Math.abs(this._valueGet().length - e)), e } }, 4713: function (e, t) { function i(e, t) { var i = (null != e.alternation ? e.mloc[a(e)] : e.locator).join(""); if ("" !== i) for (; i.length < t;)i += "0"; return i } function a(e) { var t = e.locator[e.alternation]; return "string" == typeof t && t.length > 0 && (t = t.split(",")[0]), void 0 !== t ? t.toString() : "" } function n(e, t, i) { var a = this.opts, n = this.maskset; if (void 0 !== (t = t || s.call(this, e).match).placeholder || !0 === i) return "function" == typeof t.placeholder ? t.placeholder(a) : t.placeholder; if (!0 === t.static) { if (e > -1 && void 0 === n.validPositions[e]) { var r, o = u.call(this, e), l = []; if (o.length > 1 + ("" === o[o.length - 1].match.def ? 1 : 0)) for (var c = 0; c < o.length; c++)if ("" !== o[c].match.def && !0 !== o[c].match.optionality && !0 !== o[c].match.optionalQuantifier && (!0 === o[c].match.static || void 0 === r || !1 !== o[c].match.fn.test(r.match.def, n, e, !0, a)) && (l.push(o[c]), !0 === o[c].match.static && (r = o[c]), l.length > 1 && /[0-9a-bA-Z]/.test(l[0].match.def))) return a.placeholder.charAt(e % a.placeholder.length) } return t.def } return a.placeholder.charAt(e % a.placeholder.length) } function r(e, t, i) { return this.maskset.validPositions[e] || o.call(this, e, u.call(this, e, t ? t.slice() : t, i)) } function o(e, t) { var a = this.opts; e = e > 0 ? e - 1 : 0; for (var n, r, o, l = i(s.call(this, e)), u = 0; u < t.length; u++) { var c = t[u]; n = i(c, l.length); var f = Math.abs(n - l); (void 0 === r || "" !== n && f < r || o && !a.greedy && o.match.optionality && "master" === o.match.newBlockMarker && (!c.match.optionality || !c.match.newBlockMarker) || o && o.match.optionalQuantifier && !c.match.optionalQuantifier) && (r = f, o = c) } return o } function s(e, t) { var i = this.maskset; return i.validPositions[e] ? i.validPositions[e] : (t || u.call(this, e))[0] } function l(e, t, i) { function a(e) { for (var t, i = [], a = -1, n = 0, r = e.length; n < r; n++)if ("-" === e.charAt(n)) for (t = e.charCodeAt(n + 1); ++a < t;)i.push(String.fromCharCode(a)); else a = e.charCodeAt(n), i.push(e.charAt(n)); return i.join("") } return e.match.def === t.match.nativeDef || !(!(i.regex || e.match.fn instanceof RegExp && t.match.fn instanceof RegExp) || !0 === e.match.static || !0 === t.match.static) && -1 !== a(t.match.fn.toString().replace(/[[\]/]/g, "")).indexOf(a(e.match.fn.toString().replace(/[[\]/]/g, ""))) } function u(e, t, i) { var a, n = this, r = this.dependencyLib, s = this.maskset, u = this.opts, c = this.el, f = s.maskToken, d = t ? i : 0, p = t ? t.slice() : [0], v = [], h = !1, m = t ? t.join("") : ""; function g(t, i, n, r) { function o(n, r, f) { function p(e, t) { var i = 0 === t.matches.indexOf(e); return i || t.matches.every((function (a, n) { return !0 === a.isQuantifier ? i = p(e, t.matches[n - 1]) : Object.prototype.hasOwnProperty.call(a, "matches") && (i = p(e, a)), !i })), i } function k(e, t, i) { var a, n; if ((s.tests[e] || s.validPositions[e]) && (s.tests[e] || [s.validPositions[e]]).every((function (e, r) { if (e.mloc[t]) return a = e, !1; var o = void 0 !== i ? i : e.alternation, s = void 0 !== e.locator[o] ? e.locator[o].toString().indexOf(t) : -1; return (void 0 === n || s < n) && -1 !== s && (a = e, n = s), !0 })), a) { var r = a.locator[a.alternation]; return (a.mloc[t] || a.mloc[r] || a.locator).slice((void 0 !== i ? i : a.alternation) + 1) } return void 0 !== i ? k(e, t) : void 0 } function y(e, t) { var i = e.alternation, a = void 0 === t || i === t.alternation && -1 === e.locator[i].toString().indexOf(t.locator[i]); if (!a && i > t.alternation) for (var n = t.alternation; n < i; n++)if (e.locator[n] !== t.locator[n]) { i = n, a = !0; break } if (a) { e.mloc = e.mloc || {}; var r = e.locator[i]; if (void 0 !== r) { if ("string" == typeof r && (r = r.split(",")[0]), void 0 === e.mloc[r] && (e.mloc[r] = e.locator.slice()), void 0 !== t) { for (var o in t.mloc) "string" == typeof o && (o = o.split(",")[0]), void 0 === e.mloc[o] && (e.mloc[o] = t.mloc[o]); e.locator[i] = Object.keys(e.mloc).join(",") } return !0 } e.alternation = void 0 } return !1 } function b(e, t) { if (e.locator.length !== t.locator.length) return !1; for (var i = e.alternation + 1; i < e.locator.length; i++)if (e.locator[i] !== t.locator[i]) return !1; return !0 } if (d > e + u._maxTestPos) throw "Inputmask: There is probably an error in your mask definition or in the code. Create an issue on github with an example of the mask you are using. " + s.mask; if (d === e && void 0 === n.matches) { if (v.push({ match: n, locator: r.reverse(), cd: m, mloc: {} }), !0 !== n.optionality || void 0 !== f || !(u.definitions && u.definitions[n.nativeDef] && u.definitions[n.nativeDef].optional || Inputmask.prototype.definitions[n.nativeDef] && Inputmask.prototype.definitions[n.nativeDef].optional)) return !0; h = !0, d = e } else if (void 0 !== n.matches) { if (n.isGroup && f !== n) { if (n = o(t.matches[t.matches.indexOf(n) + 1], r, f)) return !0 } else if (n.isOptional) { var x = n, P = v.length; if (n = g(n, i, r, f)) { if (v.forEach((function (e, t) { t >= P && (e.match.optionality = !0) })), a = v[v.length - 1].match, void 0 !== f || !p(a, x)) return !0; h = !0, d = e } } else if (n.isAlternator) { var E, _ = n, S = [], w = v.slice(), M = r.length, O = !1, T = i.length > 0 ? i.shift() : -1; if (-1 === T || "string" == typeof T) { var C, A = d, D = i.slice(), j = []; if ("string" == typeof T) j = T.split(","); else for (C = 0; C < _.matches.length; C++)j.push(C.toString()); if (void 0 !== s.excludes[e]) { for (var B = j.slice(), R = 0, L = s.excludes[e].length; R < L; R++) { var I = s.excludes[e][R].toString().split(":"); r.length == I[1] && j.splice(j.indexOf(I[0]), 1) } 0 === j.length && (delete s.excludes[e], j = B) } (!0 === u.keepStatic || isFinite(parseInt(u.keepStatic)) && A >= u.keepStatic) && (j = j.slice(0, 1)); for (var F = 0; F < j.length; F++) { C = parseInt(j[F]), v = [], i = "string" == typeof T && k(d, C, M) || D.slice(); var N = _.matches[C]; if (N && o(N, [C].concat(r), f)) n = !0; else if (0 === F && (O = !0), N && N.matches && N.matches.length > _.matches[0].matches.length) break; E = v.slice(), d = A, v = []; for (var V = 0; V < E.length; V++) { var G = E[V], H = !1; G.match.jit = G.match.jit || O, G.alternation = G.alternation || M, y(G); for (var K = 0; K < S.length; K++) { var U = S[K]; if ("string" != typeof T || void 0 !== G.alternation && j.includes(G.locator[G.alternation].toString())) { if (G.match.nativeDef === U.match.nativeDef) { H = !0, y(U, G); break } if (l(G, U, u)) { y(G, U) && (H = !0, S.splice(S.indexOf(U), 0, G)); break } if (l(U, G, u)) { y(U, G); break } if (Q = U, !0 === (W = G).match.static && !0 !== Q.match.static && Q.match.fn.test(W.match.def, s, e, !1, u, !1)) { b(G, U) || void 0 !== c.inputmask.userOptions.keepStatic ? y(G, U) && (H = !0, S.splice(S.indexOf(U), 0, G)) : u.keepStatic = !0; break } } } H || S.push(G) } } v = w.concat(S), d = e, h = v.length > 0, n = S.length > 0, i = D.slice() } else n = o(_.matches[T] || t.matches[T], [T].concat(r), f); if (n) return !0 } else if (n.isQuantifier && f !== t.matches[t.matches.indexOf(n) - 1]) for (var $ = n, z = i.length > 0 ? i.shift() : 0; z < (isNaN($.quantifier.max) ? z + 1 : $.quantifier.max) && d <= e; z++) { var q = t.matches[t.matches.indexOf($) - 1]; if (n = o(q, [z].concat(r), q)) { if ((a = v[v.length - 1].match).optionalQuantifier = z >= $.quantifier.min, a.jit = (z + 1) * (q.matches.indexOf(a) + 1) > $.quantifier.jit, a.optionalQuantifier && p(a, q)) { h = !0, d = e; break } return a.jit && (s.jitOffset[e] = q.matches.length - q.matches.indexOf(a)), !0 } } else if (n = g(n, i, r, f)) return !0 } else d++; var W, Q } for (var f = i.length > 0 ? i.shift() : 0; f < t.matches.length; f++)if (!0 !== t.matches[f].isQuantifier) { var p = o(t.matches[f], [f].concat(n), r); if (p && d === e) return p; if (d > e) break } } if (e > -1) { if (void 0 === t) { for (var k, y = e - 1; void 0 === (k = s.validPositions[y] || s.tests[y]) && y > -1;)y--; void 0 !== k && y > -1 && (p = function (e, t) { var i, a = []; return Array.isArray(t) || (t = [t]), t.length > 0 && (void 0 === t[0].alternation || !0 === u.keepStatic ? 0 === (a = o.call(n, e, t.slice()).locator.slice()).length && (a = t[0].locator.slice()) : t.forEach((function (e) { "" !== e.def && (0 === a.length ? (i = e.alternation, a = e.locator.slice()) : e.locator[i] && -1 === a[i].toString().indexOf(e.locator[i]) && (a[i] += "," + e.locator[i])) }))), a }(y, k), m = p.join(""), d = y) } if (s.tests[e] && s.tests[e][0].cd === m) return s.tests[e]; for (var b = p.shift(); b < f.length; b++) { if (g(f[b], p, [b]) && d === e || d > e) break } } return (0 === v.length || h) && v.push({ match: { fn: null, static: !0, optionality: !1, casing: null, def: "", placeholder: "" }, locator: [], mloc: {}, cd: m }), void 0 !== t && s.tests[e] ? r.extend(!0, [], v) : (s.tests[e] = r.extend(!0, [], v), s.tests[e]) } Object.defineProperty(t, "__esModule", { value: !0 }), t.determineTestTemplate = o, t.getDecisionTaker = a, t.getMaskTemplate = function (e, t, i, a, s) { var l = this, c = this.opts, f = this.maskset, d = c.greedy; s && (c.greedy = !1); t = t || 0; var p, v, h, m, g = [], k = 0; do { if (!0 === e && f.validPositions[k]) h = s && !0 === f.validPositions[k].match.optionality && void 0 === f.validPositions[k + 1] && (!0 === f.validPositions[k].generatedInput || f.validPositions[k].input == c.skipOptionalPartCharacter && k > 0) ? o.call(l, k, u.call(l, k, p, k - 1)) : f.validPositions[k], v = h.match, p = h.locator.slice(), g.push(!0 === i ? h.input : !1 === i ? v.nativeDef : n.call(l, k, v)); else { h = r.call(l, k, p, k - 1), v = h.match, p = h.locator.slice(); var y = !0 !== a && (!1 !== c.jitMasking ? c.jitMasking : v.jit); (m = (m && v.static && v.def !== c.groupSeparator && null === v.fn || f.validPositions[k - 1] && v.static && v.def !== c.groupSeparator && null === v.fn) && f.tests[k] && 1 === f.tests[k].length) || !1 === y || void 0 === y || "number" == typeof y && isFinite(y) && y > k ? g.push(!1 === i ? v.nativeDef : n.call(l, k, v)) : m = !1 } k++ } while (!0 !== v.static || "" !== v.def || t > k); "" === g[g.length - 1] && g.pop(); !1 === i && void 0 !== f.maskLength || (f.maskLength = k - 1); return c.greedy = d, g }, t.getPlaceholder = n, t.getTest = s, t.getTests = u, t.getTestTemplate = r, t.isSubsetOf = l }, 7215: function (e, t, i) { Object.defineProperty(t, "__esModule", { value: !0 }), t.alternate = l, t.checkAlternationMatch = function (e, t, i) { for (var a, n = this.opts.greedy ? t : t.slice(0, 1), r = !1, o = void 0 !== i ? i.split(",") : [], s = 0; s < o.length; s++)-1 !== (a = e.indexOf(o[s])) && e.splice(a, 1); for (var l = 0; l < e.length; l++)if (n.includes(e[l])) { r = !0; break } return r }, t.isComplete = c, t.isValid = f, t.refreshFromBuffer = p, t.revalidateMask = h, t.handleRemove = function (e, t, i, a, s) { var u = this, c = this.maskset, f = this.opts; if ((f.numericInput || u.isRTL) && (t === r.default.BACKSPACE ? t = r.default.DELETE : t === r.default.DELETE && (t = r.default.BACKSPACE), u.isRTL)) { var d = i.end; i.end = i.begin, i.begin = d } var p, v = o.getLastValidPosition.call(u, void 0, !0); i.end >= o.getBuffer.call(u).length && v >= i.end && (i.end = v + 1); t === r.default.BACKSPACE ? i.end - i.begin < 1 && (i.begin = o.seekPrevious.call(u, i.begin)) : t === r.default.DELETE && i.begin === i.end && (i.end = o.isMask.call(u, i.end, !0, !0) ? i.end + 1 : o.seekNext.call(u, i.end) + 1); if (!1 !== (p = h.call(u, i))) { if (!0 !== a && !1 !== f.keepStatic || null !== f.regex && -1 !== n.getTest.call(u, i.begin).match.def.indexOf("|")) { var m = l.call(u, !0); if (m) { var g = void 0 !== m.caret ? m.caret : m.pos ? o.seekNext.call(u, m.pos.begin ? m.pos.begin : m.pos) : o.getLastValidPosition.call(u, -1, !0); (t !== r.default.DELETE || i.begin > g) && i.begin } } !0 !== a && (c.p = t === r.default.DELETE ? i.begin + p : i.begin, c.p = o.determineNewCaretPosition.call(u, { begin: c.p, end: c.p }, !1).begin) } }; var a, n = i(4713), r = (a = i(5581)) && a.__esModule ? a : { default: a }, o = i(8711), s = i(6030); function l(e, t, i, a, r, s) { var u, c, d, p, v, h, m, g, k, y, b, x = this, P = this.dependencyLib, E = this.opts, _ = x.maskset, S = P.extend(!0, {}, _.validPositions), w = P.extend(!0, {}, _.tests), M = !1, O = !1, T = void 0 !== r ? r : o.getLastValidPosition.call(x); if (s && (y = s.begin, b = s.end, s.begin > s.end && (y = s.end, b = s.begin)), -1 === T && void 0 === r) u = 0, c = (p = n.getTest.call(x, u)).alternation; else for (; T >= 0; T--)if ((d = _.validPositions[T]) && void 0 !== d.alternation) { if (p && p.locator[d.alternation] !== d.locator[d.alternation]) break; u = T, c = _.validPositions[u].alternation, p = d } if (void 0 !== c) { m = parseInt(u), _.excludes[m] = _.excludes[m] || [], !0 !== e && _.excludes[m].push((0, n.getDecisionTaker)(p) + ":" + p.alternation); var C = [], A = -1; for (v = m; v < o.getLastValidPosition.call(x, void 0, !0) + 1; v++)-1 === A && e <= v && void 0 !== t && (C.push(t), A = C.length - 1), (h = _.validPositions[v]) && !0 !== h.generatedInput && (void 0 === s || v < y || v >= b) && C.push(h.input), delete _.validPositions[v]; for (-1 === A && void 0 !== t && (C.push(t), A = C.length - 1); void 0 !== _.excludes[m] && _.excludes[m].length < 10;) { for (_.tests = {}, o.resetMaskSet.call(x, !0), M = !0, v = 0; v < C.length && (g = M.caret || o.getLastValidPosition.call(x, void 0, !0) + 1, k = C[v], M = f.call(x, g, k, !1, a, !0)); v++)v === A && (O = M), 1 == e && M && (O = { caretPos: v }); if (M) break; if (o.resetMaskSet.call(x), p = n.getTest.call(x, m), _.validPositions = P.extend(!0, {}, S), _.tests = P.extend(!0, {}, w), !_.excludes[m]) { O = l.call(x, e, t, i, a, m - 1, s); break } var D = (0, n.getDecisionTaker)(p); if (-1 !== _.excludes[m].indexOf(D + ":" + p.alternation)) { O = l.call(x, e, t, i, a, m - 1, s); break } for (_.excludes[m].push(D + ":" + p.alternation), v = m; v < o.getLastValidPosition.call(x, void 0, !0) + 1; v++)delete _.validPositions[v] } } return O && !1 === E.keepStatic || delete _.excludes[m], O } function u(e, t, i) { var a = this.opts, n = this.maskset; switch (a.casing || t.casing) { case "upper": e = e.toUpperCase(); break; case "lower": e = e.toLowerCase(); break; case "title": var o = n.validPositions[i - 1]; e = 0 === i || o && o.input === String.fromCharCode(r.default.SPACE) ? e.toUpperCase() : e.toLowerCase(); break; default: if ("function" == typeof a.casing) { var s = Array.prototype.slice.call(arguments); s.push(n.validPositions), e = a.casing.apply(this, s) } }return e } function c(e) { var t = this, i = this.opts, a = this.maskset; if ("function" == typeof i.isComplete) return i.isComplete(e, i); if ("*" !== i.repeat) { var r = !1, s = o.determineLastRequiredPosition.call(t, !0), l = o.seekPrevious.call(t, s.l); if (void 0 === s.def || s.def.newBlockMarker || s.def.optionality || s.def.optionalQuantifier) { r = !0; for (var u = 0; u <= l; u++) { var c = n.getTestTemplate.call(t, u).match; if (!0 !== c.static && void 0 === a.validPositions[u] && !0 !== c.optionality && !0 !== c.optionalQuantifier || !0 === c.static && e[u] !== n.getPlaceholder.call(t, u, c)) { r = !1; break } } } return r } } function f(e, t, i, a, r, s, d) { var m = this, g = this.dependencyLib, k = this.opts, y = m.maskset; function b(e) { return m.isRTL ? e.begin - e.end > 1 || e.begin - e.end == 1 : e.end - e.begin > 1 || e.end - e.begin == 1 } i = !0 === i; var x = e; function P(e) { if (void 0 !== e) { if (void 0 !== e.remove && (Array.isArray(e.remove) || (e.remove = [e.remove]), e.remove.sort((function (e, t) { return t.pos - e.pos })).forEach((function (e) { h.call(m, { begin: e, end: e + 1 }) })), e.remove = void 0), void 0 !== e.insert && (Array.isArray(e.insert) || (e.insert = [e.insert]), e.insert.sort((function (e, t) { return e.pos - t.pos })).forEach((function (e) { "" !== e.c && f.call(m, e.pos, e.c, void 0 === e.strict || e.strict, void 0 !== e.fromIsValid ? e.fromIsValid : a) })), e.insert = void 0), e.refreshFromBuffer && e.buffer) { var t = e.refreshFromBuffer; p.call(m, !0 === t ? t : t.start, t.end, e.buffer), e.refreshFromBuffer = void 0 } void 0 !== e.rewritePosition && (x = e.rewritePosition, e = !0) } return e } function E(t, i, r) { var s = !1; return n.getTests.call(m, t).every((function (l, c) { var f = l.match; if (o.getBuffer.call(m, !0), !1 !== (s = (!f.jit || void 0 !== y.validPositions[o.seekPrevious.call(m, t)]) && (null != f.fn ? f.fn.test(i, y, t, r, k, b(e)) : (i === f.def || i === k.skipOptionalPartCharacter) && "" !== f.def && { c: n.getPlaceholder.call(m, t, f, !0) || f.def, pos: t }))) { var d = void 0 !== s.c ? s.c : i, p = t; return d = d === k.skipOptionalPartCharacter && !0 === f.static ? n.getPlaceholder.call(m, t, f, !0) || f.def : d, !0 !== (s = P(s)) && void 0 !== s.pos && s.pos !== t && (p = s.pos), !0 !== s && void 0 === s.pos && void 0 === s.c ? !1 : (!1 === h.call(m, e, g.extend({}, l, { input: u.call(m, d, f, p) }), a, p) && (s = !1), !1) } return !0 })), s } void 0 !== e.begin && (x = m.isRTL ? e.end : e.begin); var _ = !0, S = g.extend(!0, {}, y.validPositions); if (!1 === k.keepStatic && void 0 !== y.excludes[x] && !0 !== r && !0 !== a) for (var w = x; w < (m.isRTL ? e.begin : e.end); w++)void 0 !== y.excludes[w] && (y.excludes[w] = void 0, delete y.tests[w]); if ("function" == typeof k.preValidation && !0 !== a && !0 !== s && (_ = P(_ = k.preValidation.call(m, o.getBuffer.call(m), x, t, b(e), k, y, e, i || r))), !0 === _) { if (_ = E(x, t, i), (!i || !0 === a) && !1 === _ && !0 !== s) { var M = y.validPositions[x]; if (!M || !0 !== M.match.static || M.match.def !== t && t !== k.skipOptionalPartCharacter) { if (k.insertMode || void 0 === y.validPositions[o.seekNext.call(m, x)] || e.end > x) { var O = !1; if (y.jitOffset[x] && void 0 === y.validPositions[o.seekNext.call(m, x)] && !1 !== (_ = f.call(m, x + y.jitOffset[x], t, !0, !0)) && (!0 !== r && (_.caret = x), O = !0), e.end > x && (y.validPositions[x] = void 0), !O && !o.isMask.call(m, x, k.keepStatic && 0 === x)) for (var T = x + 1, C = o.seekNext.call(m, x, !1, 0 !== x); T <= C; T++)if (!1 !== (_ = E(T, t, i))) { _ = v.call(m, x, void 0 !== _.pos ? _.pos : T) || _, x = T; break } } } else _ = { caret: o.seekNext.call(m, x) } } !1 !== _ || !k.keepStatic || !c.call(m, o.getBuffer.call(m)) && 0 !== x || i || !0 === r ? b(e) && y.tests[x] && y.tests[x].length > 1 && k.keepStatic && !i && !0 !== r && (_ = l.call(m, !0)) : _ = l.call(m, x, t, i, a, void 0, e), !0 === _ && (_ = { pos: x }) } if ("function" == typeof k.postValidation && !0 !== a && !0 !== s) { var A = k.postValidation.call(m, o.getBuffer.call(m, !0), void 0 !== e.begin ? m.isRTL ? e.end : e.begin : e, t, _, k, y, i, d); void 0 !== A && (_ = !0 === A ? _ : A) } _ && void 0 === _.pos && (_.pos = x), !1 === _ || !0 === s ? (o.resetMaskSet.call(m, !0), y.validPositions = g.extend(!0, {}, S)) : v.call(m, void 0, x, !0); var D = P(_); void 0 !== m.maxLength && (o.getBuffer.call(m).length > m.maxLength && !a && (o.resetMaskSet.call(m, !0), y.validPositions = g.extend(!0, {}, S), D = !1)); return D } function d(e, t, i) { for (var a = this.maskset, r = !1, o = n.getTests.call(this, e), s = 0; s < o.length; s++) { if (o[s].match && (o[s].match.nativeDef === t.match[i.shiftPositions ? "def" : "nativeDef"] && (!i.shiftPositions || !t.match.static) || o[s].match.nativeDef === t.match.nativeDef || i.regex && !o[s].match.static && o[s].match.fn.test(t.input))) { r = !0; break } if (o[s].match && o[s].match.def === t.match.nativeDef) { r = void 0; break } } return !1 === r && void 0 !== a.jitOffset[e] && (r = d.call(this, e + a.jitOffset[e], t, i)), r } function p(e, t, i) { var a, n, r = this, l = this.maskset, u = this.opts, c = this.dependencyLib, f = u.skipOptionalPartCharacter, d = r.isRTL ? i.slice().reverse() : i; if (u.skipOptionalPartCharacter = "", !0 === e) o.resetMaskSet.call(r), l.tests = {}, e = 0, t = i.length, n = o.determineNewCaretPosition.call(r, { begin: 0, end: 0 }, !1).begin; else { for (a = e; a < t; a++)delete l.validPositions[a]; n = e } var p = new c.Event("keypress"); for (a = e; a < t; a++) { p.keyCode = d[a].toString().charCodeAt(0), r.ignorable = !1; var v = s.EventHandlers.keypressEvent.call(r, p, !0, !1, !1, n); !1 !== v && void 0 !== v && (n = v.forwardPosition) } u.skipOptionalPartCharacter = f } function v(e, t, i) { var a = this, r = this.maskset, s = this.dependencyLib; if (void 0 === e) for (e = t - 1; e > 0 && !r.validPositions[e]; e--); for (var l = e; l < t; l++) { if (void 0 === r.validPositions[l] && !o.isMask.call(a, l, !1)) if (0 == l ? n.getTest.call(a, l) : r.validPositions[l - 1]) { var u = n.getTests.call(a, l).slice(); "" === u[u.length - 1].match.def && u.pop(); var c, d = n.determineTestTemplate.call(a, l, u); if (d && (!0 !== d.match.jit || "master" === d.match.newBlockMarker && (c = r.validPositions[l + 1]) && !0 === c.match.optionalQuantifier) && ((d = s.extend({}, d, { input: n.getPlaceholder.call(a, l, d.match, !0) || d.match.def })).generatedInput = !0, h.call(a, l, d, !0), !0 !== i)) { var p = r.validPositions[t].input; return r.validPositions[t] = void 0, f.call(a, t, p, !0, !0) } } } } function h(e, t, i, a) { var r = this, s = this.maskset, l = this.opts, u = this.dependencyLib; function c(e, t, i) { var a = t[e]; if (void 0 !== a && !0 === a.match.static && !0 !== a.match.optionality && (void 0 === t[0] || void 0 === t[0].alternation)) { var n = i.begin <= e - 1 ? t[e - 1] && !0 === t[e - 1].match.static && t[e - 1] : t[e - 1], r = i.end > e + 1 ? t[e + 1] && !0 === t[e + 1].match.static && t[e + 1] : t[e + 1]; return n && r } return !1 } var p = 0, v = void 0 !== e.begin ? e.begin : e, h = void 0 !== e.end ? e.end : e, m = !0; if (e.begin > e.end && (v = e.end, h = e.begin), a = void 0 !== a ? a : v, v !== h || l.insertMode && void 0 !== s.validPositions[a] && void 0 === i || void 0 === t || t.match.optionalQuantifier || t.match.optionality) { var g, k = u.extend(!0, {}, s.validPositions), y = o.getLastValidPosition.call(r, void 0, !0); for (s.p = v, g = y; g >= v; g--)delete s.validPositions[g], void 0 === t && delete s.tests[g + 1]; var b, x, P = a, E = P; for (t && (s.validPositions[a] = u.extend(!0, {}, t), E++, P++), g = t ? h : h - 1; g <= y; g++) { if (void 0 !== (b = k[g]) && !0 !== b.generatedInput && (g >= h || g >= v && c(g, k, { begin: v, end: h }))) { for (; "" !== n.getTest.call(r, E).match.def;) { if (!1 !== (x = d.call(r, E, b, l)) || "+" === b.match.def) { "+" === b.match.def && o.getBuffer.call(r, !0); var _ = f.call(r, E, b.input, "+" !== b.match.def, !0); if (m = !1 !== _, P = (_.pos || E) + 1, !m && x) break } else m = !1; if (m) { void 0 === t && b.match.static && g === e.begin && p++; break } if (!m && E > s.maskLength) break; E++ } "" == n.getTest.call(r, E).match.def && (m = !1), E = P } if (!m) break } if (!m) return s.validPositions = u.extend(!0, {}, k), o.resetMaskSet.call(r, !0), !1 } else t && n.getTest.call(r, a).match.cd === t.match.cd && (s.validPositions[a] = u.extend(!0, {}, t)); return o.resetMaskSet.call(r, !0), p } }, 5581: function (e) { e.exports = JSON.parse('{"BACKSPACE":8,"BACKSPACE_SAFARI":127,"DELETE":46,"DOWN":40,"END":35,"ENTER":13,"ESCAPE":27,"HOME":36,"INSERT":45,"LEFT":37,"PAGE_DOWN":34,"PAGE_UP":33,"RIGHT":39,"SPACE":32,"TAB":9,"UP":38,"X":88,"Z":90,"CONTROL":17,"PAUSE/BREAK":19,"WINDOWS_LEFT":91,"WINDOWS_RIGHT":92,"KEY_229":229}') } }, t = {}; function i(a) { var n = t[a]; if (void 0 !== n) return n.exports; var r = t[a] = { exports: {} }; return e[a](r, r.exports, i), r.exports } var a = {}; return function () { var e, t = a; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0, i(3851), i(219), i(207), i(5296); var n = ((e = i(2394)) && e.__esModule ? e : { default: e }).default; t.default = n }(), a }() }));
+
+const inputmask = window.Inputmask;
+window.Inputmask = undefined;
+export default inputmask;
\ No newline at end of file
diff --git a/_content/Blazorise/vendors/jsencrypt.js b/_content/Blazorise/vendors/jsencrypt.js
new file mode 100755
index 00000000..da1eb203
--- /dev/null
+++ b/_content/Blazorise/vendors/jsencrypt.js
@@ -0,0 +1,2 @@
+/*! For license information please see jsencrypt.min.js.LICENSE.txt */
+!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.JSEncrypt=e():t.JSEncrypt=e()}(window,(()=>(()=>{"use strict";var t={d:(e,i)=>{for(var r in i)t.o(i,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:i[r]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e)},e={};function i(t){return"0123456789abcdefghijklmnopqrstuvwxyz".charAt(t)}function r(t,e){return t&e}function n(t,e){return t|e}function s(t,e){return t^e}function o(t,e){return t&~e}function h(t){if(0==t)return-1;var e=0;return 0==(65535&t)&&(t>>=16,e+=16),0==(255&t)&&(t>>=8,e+=8),0==(15&t)&&(t>>=4,e+=4),0==(3&t)&&(t>>=2,e+=2),0==(1&t)&&++e,e}function a(t){for(var e=0;0!=t;)t&=t-1,++e;return e}t.d(e,{default:()=>rt});var u,c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function f(t){var e,i,r="";for(e=0;e+3<=t.length;e+=3)i=parseInt(t.substring(e,e+3),16),r+=c.charAt(i>>6)+c.charAt(63&i);for(e+1==t.length?(i=parseInt(t.substring(e,e+1),16),r+=c.charAt(i<<2)):e+2==t.length&&(i=parseInt(t.substring(e,e+2),16),r+=c.charAt(i>>2)+c.charAt((3&i)<<4));(3&r.length)>0;)r+="=";return r}function l(t){var e,r="",n=0,s=0;for(e=0;e>2),s=3&o,n=1):1==n?(r+=i(s<<2|o>>4),s=15&o,n=2):2==n?(r+=i(s),r+=i(o>>2),s=3&o,n=3):(r+=i(s<<2|o>>4),r+=i(15&o),n=0))}return 1==n&&(r+=i(s<<2)),r}var p,g={decode:function(t){var e;if(void 0===p){var i="= \f\n\r\t \u2028\u2029";for(p=Object.create(null),e=0;e<64;++e)p["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(e)]=e;for(p["-"]=62,p._=63,e=0;e=4?(r[r.length]=n>>16,r[r.length]=n>>8&255,r[r.length]=255&n,n=0,s=0):n<<=6}}switch(s){case 1:throw new Error("Base64 encoding incomplete: at least 2 bits missing");case 2:r[r.length]=n>>10;break;case 3:r[r.length]=n>>16,r[r.length]=n>>8&255}return r},re:/-----BEGIN [^-]+-----([A-Za-z0-9+\/=\s]+)-----END [^-]+-----|begin-base64[^\n]+\n([A-Za-z0-9+\/=\s]+)====/,unarmor:function(t){var e=g.re.exec(t);if(e)if(e[1])t=e[1];else{if(!e[2])throw new Error("RegExp out of sync");t=e[2]}return g.decode(t)}},d=1e13,v=function(){function t(t){this.buf=[+t||0]}return t.prototype.mulAdd=function(t,e){var i,r,n=this.buf,s=n.length;for(i=0;i0&&(n[i]=e)},t.prototype.sub=function(t){var e,i,r=this.buf,n=r.length;for(e=0;e=0;--r)i+=(d+e[r]).toString().substring(1);return i},t.prototype.valueOf=function(){for(var t=this.buf,e=0,i=t.length-1;i>=0;--i)e=e*d+t[i];return e},t.prototype.simplify=function(){var t=this.buf;return 1==t.length?t[0]:this},t}(),m=/^(\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/,y=/^(\d\d\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/;function b(t,e){return t.length>e&&(t=t.substring(0,e)+"…"),t}var T,S=function(){function t(e,i){this.hexDigits="0123456789ABCDEF",e instanceof t?(this.enc=e.enc,this.pos=e.pos):(this.enc=e,this.pos=i)}return t.prototype.get=function(t){if(void 0===t&&(t=this.pos++),t>=this.enc.length)throw new Error("Requesting byte offset ".concat(t," on a stream of length ").concat(this.enc.length));return"string"==typeof this.enc?this.enc.charCodeAt(t):this.enc[t]},t.prototype.hexByte=function(t){return this.hexDigits.charAt(t>>4&15)+this.hexDigits.charAt(15&t)},t.prototype.hexDump=function(t,e,i){for(var r="",n=t;n176)return!1}return!0},t.prototype.parseStringISO=function(t,e){for(var i="",r=t;r191&&n<224?String.fromCharCode((31&n)<<6|63&this.get(r++)):String.fromCharCode((15&n)<<12|(63&this.get(r++))<<6|63&this.get(r++))}return i},t.prototype.parseStringBMP=function(t,e){for(var i,r,n="",s=t;s127,s=n?255:0,o="";r==s&&++t4){for(o=r,i<<=3;0==(128&(+o^s));)o=+o<<1,--i;o="("+i+" bit)\n"}n&&(r-=256);for(var h=new v(r),a=t+1;a=a;--u)s+=h>>u&1?"1":"0";if(s.length>i)return n+b(s,i)}return n+s},t.prototype.parseOctetString=function(t,e,i){if(this.isASCII(t,e))return b(this.parseStringISO(t,e),i);var r=e-t,n="("+r+" byte)\n";r>(i/=2)&&(e=t+i);for(var s=t;si&&(n+="…"),n},t.prototype.parseOID=function(t,e,i){for(var r="",n=new v,s=0,o=t;oi)return b(r,i);n=new v,s=0}}return s>0&&(r+=".incomplete"),r},t}(),E=function(){function t(t,e,i,r,n){if(!(r instanceof w))throw new Error("Invalid tag value.");this.stream=t,this.header=e,this.length=i,this.tag=r,this.sub=n}return t.prototype.typeName=function(){switch(this.tag.tagClass){case 0:switch(this.tag.tagNumber){case 0:return"EOC";case 1:return"BOOLEAN";case 2:return"INTEGER";case 3:return"BIT_STRING";case 4:return"OCTET_STRING";case 5:return"NULL";case 6:return"OBJECT_IDENTIFIER";case 7:return"ObjectDescriptor";case 8:return"EXTERNAL";case 9:return"REAL";case 10:return"ENUMERATED";case 11:return"EMBEDDED_PDV";case 12:return"UTF8String";case 16:return"SEQUENCE";case 17:return"SET";case 18:return"NumericString";case 19:return"PrintableString";case 20:return"TeletexString";case 21:return"VideotexString";case 22:return"IA5String";case 23:return"UTCTime";case 24:return"GeneralizedTime";case 25:return"GraphicString";case 26:return"VisibleString";case 27:return"GeneralString";case 28:return"UniversalString";case 30:return"BMPString"}return"Universal_"+this.tag.tagNumber.toString();case 1:return"Application_"+this.tag.tagNumber.toString();case 2:return"["+this.tag.tagNumber.toString()+"]";case 3:return"Private_"+this.tag.tagNumber.toString()}},t.prototype.content=function(t){if(void 0===this.tag)return null;void 0===t&&(t=1/0);var e=this.posContent(),i=Math.abs(this.length);if(!this.tag.isUniversal())return null!==this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(e,e+i,t);switch(this.tag.tagNumber){case 1:return 0===this.stream.get(e)?"false":"true";case 2:return this.stream.parseInteger(e,e+i);case 3:return this.sub?"("+this.sub.length+" elem)":this.stream.parseBitString(e,e+i,t);case 4:return this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(e,e+i,t);case 6:return this.stream.parseOID(e,e+i,t);case 16:case 17:return null!==this.sub?"("+this.sub.length+" elem)":"(no elem)";case 12:return b(this.stream.parseStringUTF(e,e+i),t);case 18:case 19:case 20:case 21:case 22:case 26:return b(this.stream.parseStringISO(e,e+i),t);case 30:return b(this.stream.parseStringBMP(e,e+i),t);case 23:case 24:return this.stream.parseTime(e,e+i,23==this.tag.tagNumber)}return null},t.prototype.toString=function(){return this.typeName()+"@"+this.stream.pos+"[header:"+this.header+",length:"+this.length+",sub:"+(null===this.sub?"null":this.sub.length)+"]"},t.prototype.toPrettyString=function(t){void 0===t&&(t="");var e=t+this.typeName()+" @"+this.stream.pos;if(this.length>=0&&(e+="+"),e+=this.length,this.tag.tagConstructed?e+=" (constructed)":!this.tag.isUniversal()||3!=this.tag.tagNumber&&4!=this.tag.tagNumber||null===this.sub||(e+=" (encapsulates)"),e+="\n",null!==this.sub){t+=" ";for(var i=0,r=this.sub.length;i6)throw new Error("Length over 48 bits not supported at position "+(t.pos-1));if(0===i)return null;e=0;for(var r=0;r>6,this.tagConstructed=0!=(32&e),this.tagNumber=31&e,31==this.tagNumber){var i=new v;do{e=t.get(),i.mulAdd(128,127&e)}while(128&e);this.tagNumber=i.simplify()}}return t.prototype.isUniversal=function(){return 0===this.tagClass},t.prototype.isEOC=function(){return 0===this.tagClass&&0===this.tagNumber},t}(),D=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],x=(1<<26)/D[D.length-1],R=function(){function t(t,e,i){null!=t&&("number"==typeof t?this.fromNumber(t,e,i):null==e&&"string"!=typeof t?this.fromString(t,256):this.fromString(t,e))}return t.prototype.toString=function(t){if(this.s<0)return"-"+this.negate().toString(t);var e;if(16==t)e=4;else if(8==t)e=3;else if(2==t)e=1;else if(32==t)e=5;else{if(4!=t)return this.toRadix(t);e=2}var r,n=(1<0)for(a>a)>0&&(s=!0,o=i(r));h>=0;)a>(a+=this.DB-e)):(r=this[h]>>(a-=e)&n,a<=0&&(a+=this.DB,--h)),r>0&&(s=!0),s&&(o+=i(r));return s?o:"0"},t.prototype.negate=function(){var e=I();return t.ZERO.subTo(this,e),e},t.prototype.abs=function(){return this.s<0?this.negate():this},t.prototype.compareTo=function(t){var e=this.s-t.s;if(0!=e)return e;var i=this.t;if(0!=(e=i-t.t))return this.s<0?-e:e;for(;--i>=0;)if(0!=(e=this[i]-t[i]))return e;return 0},t.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+C(this[this.t-1]^this.s&this.DM)},t.prototype.mod=function(e){var i=I();return this.abs().divRemTo(e,null,i),this.s<0&&i.compareTo(t.ZERO)>0&&e.subTo(i,i),i},t.prototype.modPowInt=function(t,e){var i;return i=t<256||e.isEven()?new O(e):new A(e),this.exp(t,i)},t.prototype.clone=function(){var t=I();return this.copyTo(t),t},t.prototype.intValue=function(){if(this.s<0){if(1==this.t)return this[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this[0];if(0==this.t)return 0}return(this[1]&(1<<32-this.DB)-1)<>24},t.prototype.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},t.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},t.prototype.toByteArray=function(){var t=this.t,e=[];e[0]=this.s;var i,r=this.DB-t*this.DB%8,n=0;if(t-- >0)for(r>r)!=(this.s&this.DM)>>r&&(e[n++]=i|this.s<=0;)r<8?(i=(this[t]&(1<>(r+=this.DB-8)):(i=this[t]>>(r-=8)&255,r<=0&&(r+=this.DB,--t)),0!=(128&i)&&(i|=-256),0==n&&(128&this.s)!=(128&i)&&++n,(n>0||i!=this.s)&&(e[n++]=i);return e},t.prototype.equals=function(t){return 0==this.compareTo(t)},t.prototype.min=function(t){return this.compareTo(t)<0?this:t},t.prototype.max=function(t){return this.compareTo(t)>0?this:t},t.prototype.and=function(t){var e=I();return this.bitwiseTo(t,r,e),e},t.prototype.or=function(t){var e=I();return this.bitwiseTo(t,n,e),e},t.prototype.xor=function(t){var e=I();return this.bitwiseTo(t,s,e),e},t.prototype.andNot=function(t){var e=I();return this.bitwiseTo(t,o,e),e},t.prototype.not=function(){for(var t=I(),e=0;e=this.t?0!=this.s:0!=(this[e]&1<1){var c=I();for(r.sqrTo(o[1],c);h<=u;)o[h]=I(),r.mulTo(c,o[h-2],o[h]),h+=2}var f,l,p=t.t-1,g=!0,d=I();for(n=C(t[p])-1;p>=0;){for(n>=a?f=t[p]>>n-a&u:(f=(t[p]&(1<0&&(f|=t[p-1]>>this.DB+n-a)),h=i;0==(1&f);)f>>=1,--h;if((n-=h)<0&&(n+=this.DB,--p),g)o[f].copyTo(s),g=!1;else{for(;h>1;)r.sqrTo(s,d),r.sqrTo(d,s),h-=2;h>0?r.sqrTo(s,d):(l=s,s=d,d=l),r.mulTo(d,o[f],s)}for(;p>=0&&0==(t[p]&1<=0?(r.subTo(n,r),i&&s.subTo(h,s),o.subTo(a,o)):(n.subTo(r,n),i&&h.subTo(s,h),a.subTo(o,a))}return 0!=n.compareTo(t.ONE)?t.ZERO:a.compareTo(e)>=0?a.subtract(e):a.signum()<0?(a.addTo(e,a),a.signum()<0?a.add(e):a):a},t.prototype.pow=function(t){return this.exp(t,new B)},t.prototype.gcd=function(t){var e=this.s<0?this.negate():this.clone(),i=t.s<0?t.negate():t.clone();if(e.compareTo(i)<0){var r=e;e=i,i=r}var n=e.getLowestSetBit(),s=i.getLowestSetBit();if(s<0)return e;for(n0&&(e.rShiftTo(s,e),i.rShiftTo(s,i));e.signum()>0;)(n=e.getLowestSetBit())>0&&e.rShiftTo(n,e),(n=i.getLowestSetBit())>0&&i.rShiftTo(n,i),e.compareTo(i)>=0?(e.subTo(i,e),e.rShiftTo(1,e)):(i.subTo(e,i),i.rShiftTo(1,i));return s>0&&i.lShiftTo(s,i),i},t.prototype.isProbablePrime=function(t){var e,i=this.abs();if(1==i.t&&i[0]<=D[D.length-1]){for(e=0;e=0;--e)t[e]=this[e];t.t=this.t,t.s=this.s},t.prototype.fromInt=function(t){this.t=1,this.s=t<0?-1:0,t>0?this[0]=t:t<-1?this[0]=t+this.DV:this.t=0},t.prototype.fromString=function(e,i){var r;if(16==i)r=4;else if(8==i)r=3;else if(256==i)r=8;else if(2==i)r=1;else if(32==i)r=5;else{if(4!=i)return void this.fromRadix(e,i);r=2}this.t=0,this.s=0;for(var n=e.length,s=!1,o=0;--n>=0;){var h=8==r?255&+e[n]:L(e,n);h<0?"-"==e.charAt(n)&&(s=!0):(s=!1,0==o?this[this.t++]=h:o+r>this.DB?(this[this.t-1]|=(h&(1<>this.DB-o):this[this.t-1]|=h<=this.DB&&(o-=this.DB))}8==r&&0!=(128&+e[0])&&(this.s=-1,o>0&&(this[this.t-1]|=(1<0&&this[this.t-1]==t;)--this.t},t.prototype.dlShiftTo=function(t,e){var i;for(i=this.t-1;i>=0;--i)e[i+t]=this[i];for(i=t-1;i>=0;--i)e[i]=0;e.t=this.t+t,e.s=this.s},t.prototype.drShiftTo=function(t,e){for(var i=t;i=0;--h)e[h+s+1]=this[h]>>r|o,o=(this[h]&n)<=0;--h)e[h]=0;e[s]=o,e.t=this.t+s+1,e.s=this.s,e.clamp()},t.prototype.rShiftTo=function(t,e){e.s=this.s;var i=Math.floor(t/this.DB);if(i>=this.t)e.t=0;else{var r=t%this.DB,n=this.DB-r,s=(1<>r;for(var o=i+1;o>r;r>0&&(e[this.t-i-1]|=(this.s&s)<>=this.DB;if(t.t>=this.DB;r+=this.s}else{for(r+=this.s;i>=this.DB;r-=t.s}e.s=r<0?-1:0,r<-1?e[i++]=this.DV+r:r>0&&(e[i++]=r),e.t=i,e.clamp()},t.prototype.multiplyTo=function(e,i){var r=this.abs(),n=e.abs(),s=r.t;for(i.t=s+n.t;--s>=0;)i[s]=0;for(s=0;s=0;)t[i]=0;for(i=0;i=e.DV&&(t[i+e.t]-=e.DV,t[i+e.t+1]=1)}t.t>0&&(t[t.t-1]+=e.am(i,e[i],t,2*i,0,1)),t.s=0,t.clamp()},t.prototype.divRemTo=function(e,i,r){var n=e.abs();if(!(n.t<=0)){var s=this.abs();if(s.t0?(n.lShiftTo(u,o),s.lShiftTo(u,r)):(n.copyTo(o),s.copyTo(r));var c=o.t,f=o[c-1];if(0!=f){var l=f*(1<1?o[c-2]>>this.F2:0),p=this.FV/l,g=(1<=0&&(r[r.t++]=1,r.subTo(y,r)),t.ONE.dlShiftTo(c,y),y.subTo(o,o);o.t=0;){var b=r[--v]==f?this.DM:Math.floor(r[v]*p+(r[v-1]+d)*g);if((r[v]+=o.am(0,b,r,m,0,c))0&&r.rShiftTo(u,r),h<0&&t.ZERO.subTo(r,r)}}},t.prototype.invDigit=function(){if(this.t<1)return 0;var t=this[0];if(0==(1&t))return 0;var e=3&t;return(e=(e=(e=(e=e*(2-(15&t)*e)&15)*(2-(255&t)*e)&255)*(2-((65535&t)*e&65535))&65535)*(2-t*e%this.DV)%this.DV)>0?this.DV-e:-e},t.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},t.prototype.exp=function(e,i){if(e>4294967295||e<1)return t.ONE;var r=I(),n=I(),s=i.convert(this),o=C(e)-1;for(s.copyTo(r);--o>=0;)if(i.sqrTo(r,n),(e&1<0)i.mulTo(n,s,r);else{var h=r;r=n,n=h}return i.revert(r)},t.prototype.chunkSize=function(t){return Math.floor(Math.LN2*this.DB/Math.log(t))},t.prototype.toRadix=function(t){if(null==t&&(t=10),0==this.signum()||t<2||t>36)return"0";var e=this.chunkSize(t),i=Math.pow(t,e),r=H(i),n=I(),s=I(),o="";for(this.divRemTo(r,n,s);n.signum()>0;)o=(i+s.intValue()).toString(t).substr(1)+o,n.divRemTo(r,n,s);return s.intValue().toString(t)+o},t.prototype.fromRadix=function(e,i){this.fromInt(0),null==i&&(i=10);for(var r=this.chunkSize(i),n=Math.pow(i,r),s=!1,o=0,h=0,a=0;a=r&&(this.dMultiply(n),this.dAddOffset(h,0),o=0,h=0))}o>0&&(this.dMultiply(Math.pow(i,o)),this.dAddOffset(h,0)),s&&t.ZERO.subTo(this,this)},t.prototype.fromNumber=function(e,i,r){if("number"==typeof i)if(e<2)this.fromInt(1);else for(this.fromNumber(e,r),this.testBit(e-1)||this.bitwiseTo(t.ONE.shiftLeft(e-1),n,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(i);)this.dAddOffset(2,0),this.bitLength()>e&&this.subTo(t.ONE.shiftLeft(e-1),this);else{var s=[],o=7&e;s.length=1+(e>>3),i.nextBytes(s),o>0?s[0]&=(1<>=this.DB;if(t.t>=this.DB;r+=this.s}else{for(r+=this.s;i>=this.DB;r+=t.s}e.s=r<0?-1:0,r>0?e[i++]=r:r<-1&&(e[i++]=this.DV+r),e.t=i,e.clamp()},t.prototype.dMultiply=function(t){this[this.t]=this.am(0,t-1,this,0,0,this.t),++this.t,this.clamp()},t.prototype.dAddOffset=function(t,e){if(0!=t){for(;this.t<=e;)this[this.t++]=0;for(this[e]+=t;this[e]>=this.DV;)this[e]-=this.DV,++e>=this.t&&(this[this.t++]=0),++this[e]}},t.prototype.multiplyLowerTo=function(t,e,i){var r=Math.min(this.t+t.t,e);for(i.s=0,i.t=r;r>0;)i[--r]=0;for(var n=i.t-this.t;r=0;)i[r]=0;for(r=Math.max(e-this.t,0);r0)if(0==e)i=this[0]%t;else for(var r=this.t-1;r>=0;--r)i=(e*i+this[r])%t;return i},t.prototype.millerRabin=function(e){var i=this.subtract(t.ONE),r=i.getLowestSetBit();if(r<=0)return!1;var n=i.shiftRight(r);(e=e+1>>1)>D.length&&(e=D.length);for(var s=I(),o=0;o0&&(i.rShiftTo(o,i),r.rShiftTo(o,r));var h=function(){(s=i.getLowestSetBit())>0&&i.rShiftTo(s,i),(s=r.getLowestSetBit())>0&&r.rShiftTo(s,r),i.compareTo(r)>=0?(i.subTo(r,i),i.rShiftTo(1,i)):(r.subTo(i,r),r.rShiftTo(1,r)),i.signum()>0?setTimeout(h,0):(o>0&&r.lShiftTo(o,r),setTimeout((function(){e(r)}),0))};setTimeout(h,10)}},t.prototype.fromNumberAsync=function(e,i,r,s){if("number"==typeof i)if(e<2)this.fromInt(1);else{this.fromNumber(e,r),this.testBit(e-1)||this.bitwiseTo(t.ONE.shiftLeft(e-1),n,this),this.isEven()&&this.dAddOffset(1,0);var o=this,h=function(){o.dAddOffset(2,0),o.bitLength()>e&&o.subTo(t.ONE.shiftLeft(e-1),o),o.isProbablePrime(i)?setTimeout((function(){s()}),0):setTimeout(h,0)};setTimeout(h,0)}else{var a=[],u=7&e;a.length=1+(e>>3),i.nextBytes(a),u>0?a[0]&=(1<=0?t.mod(this.m):t},t.prototype.revert=function(t){return t},t.prototype.reduce=function(t){t.divRemTo(this.m,null,t)},t.prototype.mulTo=function(t,e,i){t.multiplyTo(e,i),this.reduce(i)},t.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},t}(),A=function(){function t(t){this.m=t,this.mp=t.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<0&&this.m.subTo(e,e),e},t.prototype.revert=function(t){var e=I();return t.copyTo(e),this.reduce(e),e},t.prototype.reduce=function(t){for(;t.t<=this.mt2;)t[t.t++]=0;for(var e=0;e>15)*this.mpl&this.um)<<15)&t.DM;for(t[i=e+this.m.t]+=this.m.am(0,r,t,e,0,this.m.t);t[i]>=t.DV;)t[i]-=t.DV,t[++i]++}t.clamp(),t.drShiftTo(this.m.t,t),t.compareTo(this.m)>=0&&t.subTo(this.m,t)},t.prototype.mulTo=function(t,e,i){t.multiplyTo(e,i),this.reduce(i)},t.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},t}(),V=function(){function t(t){this.m=t,this.r2=I(),this.q3=I(),R.ONE.dlShiftTo(2*t.t,this.r2),this.mu=this.r2.divide(t)}return t.prototype.convert=function(t){if(t.s<0||t.t>2*this.m.t)return t.mod(this.m);if(t.compareTo(this.m)<0)return t;var e=I();return t.copyTo(e),this.reduce(e),e},t.prototype.revert=function(t){return t},t.prototype.reduce=function(t){for(t.drShiftTo(this.m.t-1,this.r2),t.t>this.m.t+1&&(t.t=this.m.t+1,t.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);t.compareTo(this.r2)<0;)t.dAddOffset(1,this.m.t+1);for(t.subTo(this.r2,t);t.compareTo(this.m)>=0;)t.subTo(this.m,t)},t.prototype.mulTo=function(t,e,i){t.multiplyTo(e,i),this.reduce(i)},t.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},t}();function I(){return new R(null)}function N(t,e){return new R(t,e)}var P="undefined"!=typeof navigator;P&&"Microsoft Internet Explorer"==navigator.appName?(R.prototype.am=function(t,e,i,r,n,s){for(var o=32767&e,h=e>>15;--s>=0;){var a=32767&this[t],u=this[t++]>>15,c=h*a+u*o;n=((a=o*a+((32767&c)<<15)+i[r]+(1073741823&n))>>>30)+(c>>>15)+h*u+(n>>>30),i[r++]=1073741823&a}return n},T=30):P&&"Netscape"!=navigator.appName?(R.prototype.am=function(t,e,i,r,n,s){for(;--s>=0;){var o=e*this[t++]+i[r]+n;n=Math.floor(o/67108864),i[r++]=67108863&o}return n},T=26):(R.prototype.am=function(t,e,i,r,n,s){for(var o=16383&e,h=e>>14;--s>=0;){var a=16383&this[t],u=this[t++]>>14,c=h*a+u*o;n=((a=o*a+((16383&c)<<14)+i[r]+n)>>28)+(c>>14)+h*u,i[r++]=268435455&a}return n},T=28),R.prototype.DB=T,R.prototype.DM=(1<>>16)&&(t=e,i+=16),0!=(e=t>>8)&&(t=e,i+=8),0!=(e=t>>4)&&(t=e,i+=4),0!=(e=t>>2)&&(t=e,i+=2),0!=(e=t>>1)&&(t=e,i+=1),i}R.ZERO=H(0),R.ONE=H(1);var F,U,K=function(){function t(){this.i=0,this.j=0,this.S=[]}return t.prototype.init=function(t){var e,i,r;for(e=0;e<256;++e)this.S[e]=e;for(i=0,e=0;e<256;++e)i=i+this.S[e]+t[e%t.length]&255,r=this.S[e],this.S[e]=this.S[i],this.S[i]=r;this.i=0,this.j=0},t.prototype.next=function(){var t;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,t=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=t,this.S[t+this.S[this.i]&255]},t}(),k=null;if(null==k){k=[],U=0;var _=void 0;if("undefined"!=typeof window&&window.crypto&&window.crypto.getRandomValues){var z=new Uint32Array(256);for(window.crypto.getRandomValues(z),_=0;_=256||U>=256)window.removeEventListener?window.removeEventListener("mousemove",G,!1):window.detachEvent&&window.detachEvent("onmousemove",G);else try{var e=t.x+t.y;k[U++]=255&e,Z+=1}catch(t){}};"undefined"!=typeof window&&(window.addEventListener?window.addEventListener("mousemove",G,!1):window.attachEvent&&window.attachEvent("onmousemove",G))}function $(){if(null==F){for(F=new K;U<256;){var t=Math.floor(65536*Math.random());k[U++]=255&t}for(F.init(k),U=0;U0&&e.length>0?(this.n=N(t,16),this.e=parseInt(e,16)):console.error("Invalid RSA public key")},t.prototype.encrypt=function(t){var e=this.n.bitLength()+7>>3,i=function(t,e){if(e=0&&e>0;){var n=t.charCodeAt(r--);n<128?i[--e]=n:n>127&&n<2048?(i[--e]=63&n|128,i[--e]=n>>6|192):(i[--e]=63&n|128,i[--e]=n>>6&63|128,i[--e]=n>>12|224)}i[--e]=0;for(var s=new Y,o=[];e>2;){for(o[0]=0;0==o[0];)s.nextBytes(o);i[--e]=o[0]}return i[--e]=2,i[--e]=0,new R(i)}(t,e);if(null==i)return null;var r=this.doPublic(i);if(null==r)return null;for(var n=r.toString(16),s=n.length,o=0;o<2*e-s;o++)n="0"+n;return n},t.prototype.setPrivate=function(t,e,i){null!=t&&null!=e&&t.length>0&&e.length>0?(this.n=N(t,16),this.e=parseInt(e,16),this.d=N(i,16)):console.error("Invalid RSA private key")},t.prototype.setPrivateEx=function(t,e,i,r,n,s,o,h){null!=t&&null!=e&&t.length>0&&e.length>0?(this.n=N(t,16),this.e=parseInt(e,16),this.d=N(i,16),this.p=N(r,16),this.q=N(n,16),this.dmp1=N(s,16),this.dmq1=N(o,16),this.coeff=N(h,16)):console.error("Invalid RSA private key")},t.prototype.generate=function(t,e){var i=new Y,r=t>>1;this.e=parseInt(e,16);for(var n=new R(e,16);;){for(;this.p=new R(t-r,1,i),0!=this.p.subtract(R.ONE).gcd(n).compareTo(R.ONE)||!this.p.isProbablePrime(10););for(;this.q=new R(r,1,i),0!=this.q.subtract(R.ONE).gcd(n).compareTo(R.ONE)||!this.q.isProbablePrime(10););if(this.p.compareTo(this.q)<=0){var s=this.p;this.p=this.q,this.q=s}var o=this.p.subtract(R.ONE),h=this.q.subtract(R.ONE),a=o.multiply(h);if(0==a.gcd(n).compareTo(R.ONE)){this.n=this.p.multiply(this.q),this.d=n.modInverse(a),this.dmp1=this.d.mod(o),this.dmq1=this.d.mod(h),this.coeff=this.q.modInverse(this.p);break}}},t.prototype.decrypt=function(t){var e=N(t,16),i=this.doPrivate(e);return null==i?null:function(t,e){for(var i=t.toByteArray(),r=0;r=i.length)return null;for(var n="";++r191&&s<224?(n+=String.fromCharCode((31&s)<<6|63&i[r+1]),++r):(n+=String.fromCharCode((15&s)<<12|(63&i[r+1])<<6|63&i[r+2]),r+=2)}return n}(i,this.n.bitLength()+7>>3)},t.prototype.generateAsync=function(t,e,i){var r=new Y,n=t>>1;this.e=parseInt(e,16);var s=new R(e,16),o=this,h=function(){var e=function(){if(o.p.compareTo(o.q)<=0){var t=o.p;o.p=o.q,o.q=t}var e=o.p.subtract(R.ONE),r=o.q.subtract(R.ONE),n=e.multiply(r);0==n.gcd(s).compareTo(R.ONE)?(o.n=o.p.multiply(o.q),o.d=s.modInverse(n),o.dmp1=o.d.mod(e),o.dmq1=o.d.mod(r),o.coeff=o.q.modInverse(o.p),setTimeout((function(){i()}),0)):setTimeout(h,0)},a=function(){o.q=I(),o.q.fromNumberAsync(n,1,r,(function(){o.q.subtract(R.ONE).gcda(s,(function(t){0==t.compareTo(R.ONE)&&o.q.isProbablePrime(10)?setTimeout(e,0):setTimeout(a,0)}))}))},u=function(){o.p=I(),o.p.fromNumberAsync(t-n,1,r,(function(){o.p.subtract(R.ONE).gcda(s,(function(t){0==t.compareTo(R.ONE)&&o.p.isProbablePrime(10)?setTimeout(a,0):setTimeout(u,0)}))}))};setTimeout(u,0)};setTimeout(h,0)},t.prototype.sign=function(t,e,i){var r=function(t,e){if(e15)throw"ASN.1 length too long to represent by 8x: n = "+t.toString(16);return(128+i).toString(16)+e},this.getEncodedHex=function(){return(null==this.hTLV||this.isModified)&&(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getValueHex=function(){return this.getEncodedHex(),this.hV},this.getFreshValueHex=function(){return""}},W.asn1.DERAbstractString=function(t){W.asn1.DERAbstractString.superclass.constructor.call(this),this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=stohex(this.s)},this.setStringHex=function(t){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=t},this.getFreshValueHex=function(){return this.hV},void 0!==t&&("string"==typeof t?this.setString(t):void 0!==t.str?this.setString(t.str):void 0!==t.hex&&this.setStringHex(t.hex))},Q.lang.extend(W.asn1.DERAbstractString,W.asn1.ASN1Object),W.asn1.DERAbstractTime=function(t){W.asn1.DERAbstractTime.superclass.constructor.call(this),this.localDateToUTC=function(t){return utc=t.getTime()+6e4*t.getTimezoneOffset(),new Date(utc)},this.formatDate=function(t,e,i){var r=this.zeroPadding,n=this.localDateToUTC(t),s=String(n.getFullYear());"utc"==e&&(s=s.substr(2,2));var o=s+r(String(n.getMonth()+1),2)+r(String(n.getDate()),2)+r(String(n.getHours()),2)+r(String(n.getMinutes()),2)+r(String(n.getSeconds()),2);if(!0===i){var h=n.getMilliseconds();if(0!=h){var a=r(String(h),3);o=o+"."+(a=a.replace(/[0]+$/,""))}}return o+"Z"},this.zeroPadding=function(t,e){return t.length>=e?t:new Array(e-t.length+1).join("0")+t},this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=stohex(t)},this.setByDateValue=function(t,e,i,r,n,s){var o=new Date(Date.UTC(t,e-1,i,r,n,s,0));this.setByDate(o)},this.getFreshValueHex=function(){return this.hV}},Q.lang.extend(W.asn1.DERAbstractTime,W.asn1.ASN1Object),W.asn1.DERAbstractStructured=function(t){W.asn1.DERAbstractString.superclass.constructor.call(this),this.setByASN1ObjectArray=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array=t},this.appendASN1Object=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array.push(t)},this.asn1Array=new Array,void 0!==t&&void 0!==t.array&&(this.asn1Array=t.array)},Q.lang.extend(W.asn1.DERAbstractStructured,W.asn1.ASN1Object),W.asn1.DERBoolean=function(){W.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV="0101ff"},Q.lang.extend(W.asn1.DERBoolean,W.asn1.ASN1Object),W.asn1.DERInteger=function(t){W.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(t){this.hTLV=null,this.isModified=!0,this.hV=W.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t)},this.setByInteger=function(t){var e=new R(String(t),10);this.setByBigInteger(e)},this.setValueHex=function(t){this.hV=t},this.getFreshValueHex=function(){return this.hV},void 0!==t&&(void 0!==t.bigint?this.setByBigInteger(t.bigint):void 0!==t.int?this.setByInteger(t.int):"number"==typeof t?this.setByInteger(t):void 0!==t.hex&&this.setValueHex(t.hex))},Q.lang.extend(W.asn1.DERInteger,W.asn1.ASN1Object),W.asn1.DERBitString=function(t){if(void 0!==t&&void 0!==t.obj){var e=W.asn1.ASN1Util.newObject(t.obj);t.hex="00"+e.getEncodedHex()}W.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(t){this.hTLV=null,this.isModified=!0,this.hV=t},this.setUnusedBitsAndHexValue=function(t,e){if(t<0||7=2?(n[n.length]=s,s=0,o=0):s<<=4}}if(o)throw new Error("Hex encoding incomplete: 4 bits missing");return n}(t):g.unarmor(t),n=E.decode(r);if(3===n.sub.length&&(n=n.sub[2].sub[0]),9===n.sub.length){e=n.sub[1].getHexStringValue(),this.n=N(e,16),i=n.sub[2].getHexStringValue(),this.e=parseInt(i,16);var s=n.sub[3].getHexStringValue();this.d=N(s,16);var o=n.sub[4].getHexStringValue();this.p=N(o,16);var h=n.sub[5].getHexStringValue();this.q=N(h,16);var a=n.sub[6].getHexStringValue();this.dmp1=N(a,16);var c=n.sub[7].getHexStringValue();this.dmq1=N(c,16);var f=n.sub[8].getHexStringValue();this.coeff=N(f,16)}else{if(2!==n.sub.length)return!1;if(n.sub[0].sub){var l=n.sub[1].sub[0];e=l.sub[0].getHexStringValue(),this.n=N(e,16),i=l.sub[1].getHexStringValue(),this.e=parseInt(i,16)}else e=n.sub[0].getHexStringValue(),this.n=N(e,16),i=n.sub[1].getHexStringValue(),this.e=parseInt(i,16)}return!0}catch(t){return!1}},e.prototype.getPrivateBaseKey=function(){var t={array:[new W.asn1.DERInteger({int:0}),new W.asn1.DERInteger({bigint:this.n}),new W.asn1.DERInteger({int:this.e}),new W.asn1.DERInteger({bigint:this.d}),new W.asn1.DERInteger({bigint:this.p}),new W.asn1.DERInteger({bigint:this.q}),new W.asn1.DERInteger({bigint:this.dmp1}),new W.asn1.DERInteger({bigint:this.dmq1}),new W.asn1.DERInteger({bigint:this.coeff})]};return new W.asn1.DERSequence(t).getEncodedHex()},e.prototype.getPrivateBaseKeyB64=function(){return f(this.getPrivateBaseKey())},e.prototype.getPublicBaseKey=function(){var t=new W.asn1.DERSequence({array:[new W.asn1.DERObjectIdentifier({oid:"1.2.840.113549.1.1.1"}),new W.asn1.DERNull]}),e=new W.asn1.DERSequence({array:[new W.asn1.DERInteger({bigint:this.n}),new W.asn1.DERInteger({int:this.e})]}),i=new W.asn1.DERBitString({hex:"00"+e.getEncodedHex()});return new W.asn1.DERSequence({array:[t,i]}).getEncodedHex()},e.prototype.getPublicBaseKeyB64=function(){return f(this.getPublicBaseKey())},e.wordwrap=function(t,e){if(!t)return t;var i="(.{1,"+(e=e||64)+"})( +|$\n?)|(.{1,"+e+"})";return t.match(RegExp(i,"g")).join("\n")},e.prototype.getPrivateKey=function(){var t="-----BEGIN RSA PRIVATE KEY-----\n";return(t+=e.wordwrap(this.getPrivateBaseKeyB64())+"\n")+"-----END RSA PRIVATE KEY-----"},e.prototype.getPublicKey=function(){var t="-----BEGIN PUBLIC KEY-----\n";return(t+=e.wordwrap(this.getPublicBaseKeyB64())+"\n")+"-----END PUBLIC KEY-----"},e.hasPublicKeyProperty=function(t){return(t=t||{}).hasOwnProperty("n")&&t.hasOwnProperty("e")},e.hasPrivateKeyProperty=function(t){return(t=t||{}).hasOwnProperty("n")&&t.hasOwnProperty("e")&&t.hasOwnProperty("d")&&t.hasOwnProperty("p")&&t.hasOwnProperty("q")&&t.hasOwnProperty("dmp1")&&t.hasOwnProperty("dmq1")&&t.hasOwnProperty("coeff")},e.prototype.parsePropertiesFrom=function(t){this.n=t.n,this.e=t.e,t.hasOwnProperty("d")&&(this.d=t.d,this.p=t.p,this.q=t.q,this.dmp1=t.dmp1,this.dmq1=t.dmq1,this.coeff=t.coeff)},e}(J);const rt=function(){function t(t){void 0===t&&(t={}),t=t||{},this.default_key_size=t.default_key_size?parseInt(t.default_key_size,10):1024,this.default_public_exponent=t.default_public_exponent||"010001",this.log=t.log||!1,this.key=null}return t.prototype.setKey=function(t){this.log&&this.key&&console.warn("A key was already set, overriding existing."),this.key=new it(t)},t.prototype.setPrivateKey=function(t){this.setKey(t)},t.prototype.setPublicKey=function(t){this.setKey(t)},t.prototype.decrypt=function(t){try{return this.getKey().decrypt(l(t))}catch(t){return!1}},t.prototype.encrypt=function(t){try{return f(this.getKey().encrypt(t))}catch(t){return!1}},t.prototype.sign=function(t,e,i){try{return f(this.getKey().sign(t,e,i))}catch(t){return!1}},t.prototype.verify=function(t,e,i){try{return this.getKey().verify(t,l(e),i)}catch(t){return!1}},t.prototype.getKey=function(t){if(!this.key){if(this.key=new it,t&&"[object Function]"==={}.toString.call(t))return void this.key.generateAsync(this.default_key_size,this.default_public_exponent,t);this.key.generate(this.default_key_size,this.default_public_exponent)}return this.key},t.prototype.getPrivateKey=function(){return this.getKey().getPrivateKey()},t.prototype.getPrivateKeyB64=function(){return this.getKey().getPrivateBaseKeyB64()},t.prototype.getPublicKey=function(){return this.getKey().getPublicKey()},t.prototype.getPublicKeyB64=function(){return this.getKey().getPublicBaseKeyB64()},t.version="3.2.1",t}();return e.default})()));
\ No newline at end of file
diff --git a/_content/Blazorise/vendors/sha512.js b/_content/Blazorise/vendors/sha512.js
new file mode 100755
index 00000000..2c3bc36c
--- /dev/null
+++ b/_content/Blazorise/vendors/sha512.js
@@ -0,0 +1,9 @@
+/*
+ * [js-sha512]{@link https://github.com/emn178/js-sha512}
+ *
+ * @version 0.8.0
+ * @author Chen, Yi-Cyuan [emn178@gmail.com]
+ * @copyright Chen, Yi-Cyuan 2014-2018
+ * @license MIT
+ */
+!function(){"use strict";function h(h,t){t?(p[0]=p[1]=p[2]=p[3]=p[4]=p[5]=p[6]=p[7]=p[8]=p[9]=p[10]=p[11]=p[12]=p[13]=p[14]=p[15]=p[16]=p[17]=p[18]=p[19]=p[20]=p[21]=p[22]=p[23]=p[24]=p[25]=p[26]=p[27]=p[28]=p[29]=p[30]=p[31]=p[32]=0,this.blocks=p):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],384==h?(this.h0h=3418070365,this.h0l=3238371032,this.h1h=1654270250,this.h1l=914150663,this.h2h=2438529370,this.h2l=812702999,this.h3h=355462360,this.h3l=4144912697,this.h4h=1731405415,this.h4l=4290775857,this.h5h=2394180231,this.h5l=1750603025,this.h6h=3675008525,this.h6l=1694076839,this.h7h=1203062813,this.h7l=3204075428):256==h?(this.h0h=573645204,this.h0l=4230739756,this.h1h=2673172387,this.h1l=3360449730,this.h2h=596883563,this.h2l=1867755857,this.h3h=2520282905,this.h3l=1497426621,this.h4h=2519219938,this.h4l=2827943907,this.h5h=3193839141,this.h5l=1401305490,this.h6h=721525244,this.h6l=746961066,this.h7h=246885852,this.h7l=2177182882):224==h?(this.h0h=2352822216,this.h0l=424955298,this.h1h=1944164710,this.h1l=2312950998,this.h2h=502970286,this.h2l=855612546,this.h3h=1738396948,this.h3l=1479516111,this.h4h=258812777,this.h4l=2077511080,this.h5h=2011393907,this.h5l=79989058,this.h6h=1067287976,this.h6l=1780299464,this.h7h=286451373,this.h7l=2446758561):(this.h0h=1779033703,this.h0l=4089235720,this.h1h=3144134277,this.h1l=2227873595,this.h2h=1013904242,this.h2l=4271175723,this.h3h=2773480762,this.h3l=1595750129,this.h4h=1359893119,this.h4l=2917565137,this.h5h=2600822924,this.h5l=725511199,this.h6h=528734635,this.h6l=4215389547,this.h7h=1541459225,this.h7l=327033209),this.bits=h,this.block=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1}function t(t,s,e){var r,n=typeof t;if("string"!==n){if("object"!==n)throw new Error(i);if(null===t)throw new Error(i);if(a&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!(Array.isArray(t)||a&&ArrayBuffer.isView(t)))throw new Error(i);r=!0}var o=t.length;if(!r){for(var l,f=[],c=(o=t.length,0),u=0;u>6,f[c++]=128|63&l):l<55296||l>=57344?(f[c++]=224|l>>12,f[c++]=128|l>>6&63,f[c++]=128|63&l):(l=65536+((1023&l)<<10|1023&t.charCodeAt(++u)),f[c++]=240|l>>18,f[c++]=128|l>>12&63,f[c++]=128|l>>6&63,f[c++]=128|63&l);t=f}t.length>128&&(t=new h(s,!0).update(t).array());var y=[],p=[];for(u=0;u<128;++u){var d=t[u]||0;y[u]=92^d,p[u]=54^d}h.call(this,s,e),this.update(p),this.oKeyPad=y,this.inner=!0,this.sharedMemory=e}var i="input is invalid type",s="object"==typeof window,e=s?window:{};e.JS_SHA512_NO_WINDOW&&(s=!1);var r=!s&&"object"==typeof self;!e.JS_SHA512_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node?e=global:r&&(e=self);var n=!e.JS_SHA512_NO_COMMON_JS&&"object"==typeof module&&module.exports,o="function"==typeof define&&define.amd,a=!e.JS_SHA512_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,l="0123456789abcdef".split(""),f=[-2147483648,8388608,32768,128],c=[24,16,8,0],u=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],y=["hex","array","digest","arrayBuffer"],p=[];!e.JS_SHA512_NO_NODE_JS&&Array.isArray||(Array.isArray=function(h){return"[object Array]"===Object.prototype.toString.call(h)}),!a||!e.JS_SHA512_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(h){return"object"==typeof h&&h.buffer&&h.buffer.constructor===ArrayBuffer});var d=function(t,i){return function(s){return new h(i,!0).update(s)[t]()}},b=function(t){var i=d("hex",t);i.create=function(){return new h(t)},i.update=function(h){return i.create().update(h)};for(var s=0;s>2]|=h[n]<>2]|=e<>2]|=(192|e>>6)<>2]|=(128|63&e)<=57344?(l[r>>2]|=(224|e>>12)<>2]|=(128|e>>6&63)<>2]|=(128|63&e)<>2]|=(240|e>>18)<>2]|=(128|e>>12&63)<>2]|=(128|e>>6&63)<>2]|=(128|63&e)<=128?(this.block=l[32],this.start=r-128,this.hash(),this.hashed=!0):this.start=r}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this},h.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var h=this.blocks,t=this.lastByteIndex;h[32]=this.block,h[t>>2]|=f[3&t],this.block=h[32],t>=112&&(this.hashed||this.hash(),h[0]=this.block,h[1]=h[2]=h[3]=h[4]=h[5]=h[6]=h[7]=h[8]=h[9]=h[10]=h[11]=h[12]=h[13]=h[14]=h[15]=h[16]=h[17]=h[18]=h[19]=h[20]=h[21]=h[22]=h[23]=h[24]=h[25]=h[26]=h[27]=h[28]=h[29]=h[30]=h[31]=h[32]=0),h[30]=this.hBytes<<3|this.bytes>>>29,h[31]=this.bytes<<3,this.hash()}},h.prototype.hash=function(){var h,t,i,s,e,r,n,o,a,l,f,c,y,p,d,b,w,A,_,v,B,U,S,g,k,z=this.h0h,E=this.h0l,O=this.h1h,m=this.h1l,x=this.h2h,N=this.h2l,j=this.h3h,J=this.h3l,H=this.h4h,I=this.h4l,R=this.h5h,V=this.h5l,C=this.h6h,K=this.h6l,P=this.h7h,D=this.h7l,F=this.blocks;for(h=32;h<160;h+=2)t=((v=F[h-30])>>>1|(B=F[h-29])<<31)^(v>>>8|B<<24)^v>>>7,i=(B>>>1|v<<31)^(B>>>8|v<<24)^(B>>>7|v<<25),s=((v=F[h-4])>>>19|(B=F[h-3])<<13)^(B>>>29|v<<3)^v>>>6,e=(B>>>19|v<<13)^(v>>>29|B<<3)^(B>>>6|v<<26),v=F[h-32],B=F[h-31],a=((U=F[h-14])>>>16)+(v>>>16)+(t>>>16)+(s>>>16)+((o=(65535&U)+(65535&v)+(65535&t)+(65535&s)+((n=((S=F[h-13])>>>16)+(B>>>16)+(i>>>16)+(e>>>16)+((r=(65535&S)+(65535&B)+(65535&i)+(65535&e))>>>16))>>>16))>>>16),F[h]=a<<16|65535&o,F[h+1]=n<<16|65535&r;var M=z,T=E,W=O,Y=m,q=x,G=N,L=j,Q=J,X=H,Z=I,$=R,hh=V,th=C,ih=K,sh=P,eh=D;for(b=W&q,w=Y&G,h=0;h<160;h+=8)t=(M>>>28|T<<4)^(T>>>2|M<<30)^(T>>>7|M<<25),i=(T>>>28|M<<4)^(M>>>2|T<<30)^(M>>>7|T<<25),s=(X>>>14|Z<<18)^(X>>>18|Z<<14)^(Z>>>9|X<<23),e=(Z>>>14|X<<18)^(Z>>>18|X<<14)^(X>>>9|Z<<23),A=(l=M&W)^M&q^b,_=(f=T&Y)^T&G^w,g=X&$^~X&th,k=Z&hh^~Z&ih,v=F[h],B=F[h+1],v=(a=((U=u[h])>>>16)+(v>>>16)+(g>>>16)+(s>>>16)+(sh>>>16)+((o=(65535&U)+(65535&v)+(65535&g)+(65535&s)+(65535&sh)+((n=((S=u[h+1])>>>16)+(B>>>16)+(k>>>16)+(e>>>16)+(eh>>>16)+((r=(65535&S)+(65535&B)+(65535&k)+(65535&e)+(65535&eh))>>>16))>>>16))>>>16))<<16|65535&o,B=n<<16|65535&r,U=(a=(A>>>16)+(t>>>16)+((o=(65535&A)+(65535&t)+((n=(_>>>16)+(i>>>16)+((r=(65535&_)+(65535&i))>>>16))>>>16))>>>16))<<16|65535&o,S=n<<16|65535&r,sh=(a=(L>>>16)+(v>>>16)+((o=(65535&L)+(65535&v)+((n=(Q>>>16)+(B>>>16)+((r=(65535&Q)+(65535&B))>>>16))>>>16))>>>16))<<16|65535&o,eh=n<<16|65535&r,t=((L=(a=(U>>>16)+(v>>>16)+((o=(65535&U)+(65535&v)+((n=(S>>>16)+(B>>>16)+((r=(65535&S)+(65535&B))>>>16))>>>16))>>>16))<<16|65535&o)>>>28|(Q=n<<16|65535&r)<<4)^(Q>>>2|L<<30)^(Q>>>7|L<<25),i=(Q>>>28|L<<4)^(L>>>2|Q<<30)^(L>>>7|Q<<25),s=(sh>>>14|eh<<18)^(sh>>>18|eh<<14)^(eh>>>9|sh<<23),e=(eh>>>14|sh<<18)^(eh>>>18|sh<<14)^(sh>>>9|eh<<23),A=(c=L&M)^L&W^l,_=(y=Q&T)^Q&Y^f,g=sh&X^~sh&$,k=eh&Z^~eh&hh,v=F[h+2],B=F[h+3],v=(a=((U=u[h+2])>>>16)+(v>>>16)+(g>>>16)+(s>>>16)+(th>>>16)+((o=(65535&U)+(65535&v)+(65535&g)+(65535&s)+(65535&th)+((n=((S=u[h+3])>>>16)+(B>>>16)+(k>>>16)+(e>>>16)+(ih>>>16)+((r=(65535&S)+(65535&B)+(65535&k)+(65535&e)+(65535&ih))>>>16))>>>16))>>>16))<<16|65535&o,B=n<<16|65535&r,U=(a=(A>>>16)+(t>>>16)+((o=(65535&A)+(65535&t)+((n=(_>>>16)+(i>>>16)+((r=(65535&_)+(65535&i))>>>16))>>>16))>>>16))<<16|65535&o,S=n<<16|65535&r,th=(a=(q>>>16)+(v>>>16)+((o=(65535&q)+(65535&v)+((n=(G>>>16)+(B>>>16)+((r=(65535&G)+(65535&B))>>>16))>>>16))>>>16))<<16|65535&o,ih=n<<16|65535&r,t=((q=(a=(U>>>16)+(v>>>16)+((o=(65535&U)+(65535&v)+((n=(S>>>16)+(B>>>16)+((r=(65535&S)+(65535&B))>>>16))>>>16))>>>16))<<16|65535&o)>>>28|(G=n<<16|65535&r)<<4)^(G>>>2|q<<30)^(G>>>7|q<<25),i=(G>>>28|q<<4)^(q>>>2|G<<30)^(q>>>7|G<<25),s=(th>>>14|ih<<18)^(th>>>18|ih<<14)^(ih>>>9|th<<23),e=(ih>>>14|th<<18)^(ih>>>18|th<<14)^(th>>>9|ih<<23),A=(p=q&L)^q&M^c,_=(d=G&Q)^G&T^y,g=th&sh^~th&X,k=ih&eh^~ih&Z,v=F[h+4],B=F[h+5],v=(a=((U=u[h+4])>>>16)+(v>>>16)+(g>>>16)+(s>>>16)+($>>>16)+((o=(65535&U)+(65535&v)+(65535&g)+(65535&s)+(65535&$)+((n=((S=u[h+5])>>>16)+(B>>>16)+(k>>>16)+(e>>>16)+(hh>>>16)+((r=(65535&S)+(65535&B)+(65535&k)+(65535&e)+(65535&hh))>>>16))>>>16))>>>16))<<16|65535&o,B=n<<16|65535&r,U=(a=(A>>>16)+(t>>>16)+((o=(65535&A)+(65535&t)+((n=(_>>>16)+(i>>>16)+((r=(65535&_)+(65535&i))>>>16))>>>16))>>>16))<<16|65535&o,S=n<<16|65535&r,$=(a=(W>>>16)+(v>>>16)+((o=(65535&W)+(65535&v)+((n=(Y>>>16)+(B>>>16)+((r=(65535&Y)+(65535&B))>>>16))>>>16))>>>16))<<16|65535&o,hh=n<<16|65535&r,t=((W=(a=(U>>>16)+(v>>>16)+((o=(65535&U)+(65535&v)+((n=(S>>>16)+(B>>>16)+((r=(65535&S)+(65535&B))>>>16))>>>16))>>>16))<<16|65535&o)>>>28|(Y=n<<16|65535&r)<<4)^(Y>>>2|W<<30)^(Y>>>7|W<<25),i=(Y>>>28|W<<4)^(W>>>2|Y<<30)^(W>>>7|Y<<25),s=($>>>14|hh<<18)^($>>>18|hh<<14)^(hh>>>9|$<<23),e=(hh>>>14|$<<18)^(hh>>>18|$<<14)^($>>>9|hh<<23),A=(b=W&q)^W&L^p,_=(w=Y&G)^Y&Q^d,g=$&th^~$&sh,k=hh&ih^~hh&eh,v=F[h+6],B=F[h+7],v=(a=((U=u[h+6])>>>16)+(v>>>16)+(g>>>16)+(s>>>16)+(X>>>16)+((o=(65535&U)+(65535&v)+(65535&g)+(65535&s)+(65535&X)+((n=((S=u[h+7])>>>16)+(B>>>16)+(k>>>16)+(e>>>16)+(Z>>>16)+((r=(65535&S)+(65535&B)+(65535&k)+(65535&e)+(65535&Z))>>>16))>>>16))>>>16))<<16|65535&o,B=n<<16|65535&r,U=(a=(A>>>16)+(t>>>16)+((o=(65535&A)+(65535&t)+((n=(_>>>16)+(i>>>16)+((r=(65535&_)+(65535&i))>>>16))>>>16))>>>16))<<16|65535&o,S=n<<16|65535&r,X=(a=(M>>>16)+(v>>>16)+((o=(65535&M)+(65535&v)+((n=(T>>>16)+(B>>>16)+((r=(65535&T)+(65535&B))>>>16))>>>16))>>>16))<<16|65535&o,Z=n<<16|65535&r,M=(a=(U>>>16)+(v>>>16)+((o=(65535&U)+(65535&v)+((n=(S>>>16)+(B>>>16)+((r=(65535&S)+(65535&B))>>>16))>>>16))>>>16))<<16|65535&o,T=n<<16|65535&r;a=(z>>>16)+(M>>>16)+((o=(65535&z)+(65535&M)+((n=(E>>>16)+(T>>>16)+((r=(65535&E)+(65535&T))>>>16))>>>16))>>>16),this.h0h=a<<16|65535&o,this.h0l=n<<16|65535&r,a=(O>>>16)+(W>>>16)+((o=(65535&O)+(65535&W)+((n=(m>>>16)+(Y>>>16)+((r=(65535&m)+(65535&Y))>>>16))>>>16))>>>16),this.h1h=a<<16|65535&o,this.h1l=n<<16|65535&r,a=(x>>>16)+(q>>>16)+((o=(65535&x)+(65535&q)+((n=(N>>>16)+(G>>>16)+((r=(65535&N)+(65535&G))>>>16))>>>16))>>>16),this.h2h=a<<16|65535&o,this.h2l=n<<16|65535&r,a=(j>>>16)+(L>>>16)+((o=(65535&j)+(65535&L)+((n=(J>>>16)+(Q>>>16)+((r=(65535&J)+(65535&Q))>>>16))>>>16))>>>16),this.h3h=a<<16|65535&o,this.h3l=n<<16|65535&r,a=(H>>>16)+(X>>>16)+((o=(65535&H)+(65535&X)+((n=(I>>>16)+(Z>>>16)+((r=(65535&I)+(65535&Z))>>>16))>>>16))>>>16),this.h4h=a<<16|65535&o,this.h4l=n<<16|65535&r,a=(R>>>16)+($>>>16)+((o=(65535&R)+(65535&$)+((n=(V>>>16)+(hh>>>16)+((r=(65535&V)+(65535&hh))>>>16))>>>16))>>>16),this.h5h=a<<16|65535&o,this.h5l=n<<16|65535&r,a=(C>>>16)+(th>>>16)+((o=(65535&C)+(65535&th)+((n=(K>>>16)+(ih>>>16)+((r=(65535&K)+(65535&ih))>>>16))>>>16))>>>16),this.h6h=a<<16|65535&o,this.h6l=n<<16|65535&r,a=(P>>>16)+(sh>>>16)+((o=(65535&P)+(65535&sh)+((n=(D>>>16)+(eh>>>16)+((r=(65535&D)+(65535&eh))>>>16))>>>16))>>>16),this.h7h=a<<16|65535&o,this.h7l=n<<16|65535&r},h.prototype.hex=function(){this.finalize();var h=this.h0h,t=this.h0l,i=this.h1h,s=this.h1l,e=this.h2h,r=this.h2l,n=this.h3h,o=this.h3l,a=this.h4h,f=this.h4l,c=this.h5h,u=this.h5l,y=this.h6h,p=this.h6l,d=this.h7h,b=this.h7l,w=this.bits,A=l[h>>28&15]+l[h>>24&15]+l[h>>20&15]+l[h>>16&15]+l[h>>12&15]+l[h>>8&15]+l[h>>4&15]+l[15&h]+l[t>>28&15]+l[t>>24&15]+l[t>>20&15]+l[t>>16&15]+l[t>>12&15]+l[t>>8&15]+l[t>>4&15]+l[15&t]+l[i>>28&15]+l[i>>24&15]+l[i>>20&15]+l[i>>16&15]+l[i>>12&15]+l[i>>8&15]+l[i>>4&15]+l[15&i]+l[s>>28&15]+l[s>>24&15]+l[s>>20&15]+l[s>>16&15]+l[s>>12&15]+l[s>>8&15]+l[s>>4&15]+l[15&s]+l[e>>28&15]+l[e>>24&15]+l[e>>20&15]+l[e>>16&15]+l[e>>12&15]+l[e>>8&15]+l[e>>4&15]+l[15&e]+l[r>>28&15]+l[r>>24&15]+l[r>>20&15]+l[r>>16&15]+l[r>>12&15]+l[r>>8&15]+l[r>>4&15]+l[15&r]+l[n>>28&15]+l[n>>24&15]+l[n>>20&15]+l[n>>16&15]+l[n>>12&15]+l[n>>8&15]+l[n>>4&15]+l[15&n];return w>=256&&(A+=l[o>>28&15]+l[o>>24&15]+l[o>>20&15]+l[o>>16&15]+l[o>>12&15]+l[o>>8&15]+l[o>>4&15]+l[15&o]),w>=384&&(A+=l[a>>28&15]+l[a>>24&15]+l[a>>20&15]+l[a>>16&15]+l[a>>12&15]+l[a>>8&15]+l[a>>4&15]+l[15&a]+l[f>>28&15]+l[f>>24&15]+l[f>>20&15]+l[f>>16&15]+l[f>>12&15]+l[f>>8&15]+l[f>>4&15]+l[15&f]+l[c>>28&15]+l[c>>24&15]+l[c>>20&15]+l[c>>16&15]+l[c>>12&15]+l[c>>8&15]+l[c>>4&15]+l[15&c]+l[u>>28&15]+l[u>>24&15]+l[u>>20&15]+l[u>>16&15]+l[u>>12&15]+l[u>>8&15]+l[u>>4&15]+l[15&u]),512==w&&(A+=l[y>>28&15]+l[y>>24&15]+l[y>>20&15]+l[y>>16&15]+l[y>>12&15]+l[y>>8&15]+l[y>>4&15]+l[15&y]+l[p>>28&15]+l[p>>24&15]+l[p>>20&15]+l[p>>16&15]+l[p>>12&15]+l[p>>8&15]+l[p>>4&15]+l[15&p]+l[d>>28&15]+l[d>>24&15]+l[d>>20&15]+l[d>>16&15]+l[d>>12&15]+l[d>>8&15]+l[d>>4&15]+l[15&d]+l[b>>28&15]+l[b>>24&15]+l[b>>20&15]+l[b>>16&15]+l[b>>12&15]+l[b>>8&15]+l[b>>4&15]+l[15&b]),A},h.prototype.toString=h.prototype.hex,h.prototype.digest=function(){this.finalize();var h=this.h0h,t=this.h0l,i=this.h1h,s=this.h1l,e=this.h2h,r=this.h2l,n=this.h3h,o=this.h3l,a=this.h4h,l=this.h4l,f=this.h5h,c=this.h5l,u=this.h6h,y=this.h6l,p=this.h7h,d=this.h7l,b=this.bits,w=[h>>24&255,h>>16&255,h>>8&255,255&h,t>>24&255,t>>16&255,t>>8&255,255&t,i>>24&255,i>>16&255,i>>8&255,255&i,s>>24&255,s>>16&255,s>>8&255,255&s,e>>24&255,e>>16&255,e>>8&255,255&e,r>>24&255,r>>16&255,r>>8&255,255&r,n>>24&255,n>>16&255,n>>8&255,255&n];return b>=256&&w.push(o>>24&255,o>>16&255,o>>8&255,255&o),b>=384&&w.push(a>>24&255,a>>16&255,a>>8&255,255&a,l>>24&255,l>>16&255,l>>8&255,255&l,f>>24&255,f>>16&255,f>>8&255,255&f,c>>24&255,c>>16&255,c>>8&255,255&c),512==b&&w.push(u>>24&255,u>>16&255,u>>8&255,255&u,y>>24&255,y>>16&255,y>>8&255,255&y,p>>24&255,p>>16&255,p>>8&255,255&p,d>>24&255,d>>16&255,d>>8&255,255&d),w},h.prototype.array=h.prototype.digest,h.prototype.arrayBuffer=function(){this.finalize();var h=this.bits,t=new ArrayBuffer(h/8),i=new DataView(t);return i.setUint32(0,this.h0h),i.setUint32(4,this.h0l),i.setUint32(8,this.h1h),i.setUint32(12,this.h1l),i.setUint32(16,this.h2h),i.setUint32(20,this.h2l),i.setUint32(24,this.h3h),h>=256&&i.setUint32(28,this.h3l),h>=384&&(i.setUint32(32,this.h4h),i.setUint32(36,this.h4l),i.setUint32(40,this.h5h),i.setUint32(44,this.h5l)),512==h&&(i.setUint32(48,this.h6h),i.setUint32(52,this.h6l),i.setUint32(56,this.h7h),i.setUint32(60,this.h7l)),t},h.prototype.clone=function(){var t=new h(this.bits,!1);return this.copyTo(t),t},h.prototype.copyTo=function(h){var t=0,i=["h0h","h0l","h1h","h1l","h2h","h2l","h3h","h3l","h4h","h4l","h5h","h5l","h6h","h6l","h7h","h7l","start","bytes","hBytes","finalized","hashed","lastByteIndex"];for(t=0;t=4){for(var t=arguments.length,e=Array(t),r=0;r=3){for(var t=arguments.length,e=Array(t),r=0;r=2){for(var t=arguments.length,e=Array(t),r=0;r=1){for(var t=arguments.length,e=Array(t),r=0;r1&&void 0!==arguments[1]?arguments[1]:o.JsonService;if(s(this,t),!e)throw i.Log.error("MetadataService: No settings passed to MetadataService"),new Error("settings");this._settings=e,this._jsonService=new r(["application/jwk-set+json"])}return t.prototype.resetSigningKeys=function(){this._settings=this._settings||{},this._settings.signingKeys=void 0},t.prototype.getMetadata=function(){var t=this;return this._settings.metadata?(i.Log.debug("MetadataService.getMetadata: Returning metadata from settings"),Promise.resolve(this._settings.metadata)):this.metadataUrl?(i.Log.debug("MetadataService.getMetadata: getting metadata from",this.metadataUrl),this._jsonService.getJson(this.metadataUrl).then((function(e){i.Log.debug("MetadataService.getMetadata: json received");var r=t._settings.metadataSeed||{};return t._settings.metadata=Object.assign({},r,e),t._settings.metadata}))):(i.Log.error("MetadataService.getMetadata: No authority or metadataUrl configured on settings"),Promise.reject(new Error("No authority or metadataUrl configured on settings")))},t.prototype.getIssuer=function(){return this._getMetadataProperty("issuer")},t.prototype.getAuthorizationEndpoint=function(){return this._getMetadataProperty("authorization_endpoint")},t.prototype.getUserInfoEndpoint=function(){return this._getMetadataProperty("userinfo_endpoint")},t.prototype.getTokenEndpoint=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._getMetadataProperty("token_endpoint",t)},t.prototype.getCheckSessionIframe=function(){return this._getMetadataProperty("check_session_iframe",!0)},t.prototype.getEndSessionEndpoint=function(){return this._getMetadataProperty("end_session_endpoint",!0)},t.prototype.getRevocationEndpoint=function(){return this._getMetadataProperty("revocation_endpoint",!0)},t.prototype.getKeysEndpoint=function(){return this._getMetadataProperty("jwks_uri",!0)},t.prototype._getMetadataProperty=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return i.Log.debug("MetadataService.getMetadataProperty for: "+t),this.getMetadata().then((function(r){if(i.Log.debug("MetadataService.getMetadataProperty: metadata recieved"),void 0===r[t]){if(!0===e)return void i.Log.warn("MetadataService.getMetadataProperty: Metadata does not contain optional property "+t);throw i.Log.error("MetadataService.getMetadataProperty: Metadata does not contain property "+t),new Error("Metadata does not contain property "+t)}return r[t]}))},t.prototype.getSigningKeys=function(){var t=this;return this._settings.signingKeys?(i.Log.debug("MetadataService.getSigningKeys: Returning signingKeys from settings"),Promise.resolve(this._settings.signingKeys)):this._getMetadataProperty("jwks_uri").then((function(e){return i.Log.debug("MetadataService.getSigningKeys: jwks_uri received",e),t._jsonService.getJson(e).then((function(e){if(i.Log.debug("MetadataService.getSigningKeys: key set received",e),!e.keys)throw i.Log.error("MetadataService.getSigningKeys: Missing keys on keyset"),new Error("Missing keys on keyset");return t._settings.signingKeys=e.keys,t._settings.signingKeys}))}))},n(t,[{key:"metadataUrl",get:function(){return this._metadataUrl||(this._settings.metadataUrl?this._metadataUrl=this._settings.metadataUrl:(this._metadataUrl=this._settings.authority,this._metadataUrl&&this._metadataUrl.indexOf(a)<0&&("/"!==this._metadataUrl[this._metadataUrl.length-1]&&(this._metadataUrl+="/"),this._metadataUrl+=a))),this._metadataUrl}}]),t}()},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UrlUtility=void 0;var n=r(0),i=r(1);e.UrlUtility=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return t.addQueryParam=function(t,e,r){return t.indexOf("?")<0&&(t+="?"),"?"!==t[t.length-1]&&(t+="&"),t+=encodeURIComponent(e),(t+="=")+encodeURIComponent(r)},t.parseUrlFragment=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i.Global;"string"!=typeof t&&(t=r.location.href);var o=t.lastIndexOf(e);o>=0&&(t=t.substr(o+1)),"?"===e&&(o=t.indexOf("#"))>=0&&(t=t.substr(0,o));for(var s,a={},u=/([^&=]+)=([^&]*)/g,c=0;s=u.exec(t);)if(a[decodeURIComponent(s[1])]=decodeURIComponent(s[2].replace(/\+/g," ")),c++>50)return n.Log.error("UrlUtility.parseUrlFragment: response exceeded expected number of parameters",t),{error:"Response exceeded expected number of parameters"};for(var h in a)return a;return{}},t}()},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.JoseUtil=void 0;var n=r(26),i=function(t){return t&&t.__esModule?t:{default:t}}(r(33));e.JoseUtil=(0,i.default)({jws:n.jws,KeyUtil:n.KeyUtil,X509:n.X509,crypto:n.crypto,hextob64u:n.hextob64u,b64tohex:n.b64tohex,AllowedSigningAlgs:n.AllowedSigningAlgs})},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OidcClientSettings=void 0;var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i=function(){function t(t,e){for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:{},r=e.authority,i=e.metadataUrl,o=e.metadata,l=e.signingKeys,p=e.metadataSeed,v=e.client_id,y=e.client_secret,m=e.response_type,_=void 0===m?f:m,S=e.scope,w=void 0===S?g:S,b=e.redirect_uri,F=e.post_logout_redirect_uri,E=e.client_authentication,x=void 0===E?d:E,A=e.prompt,k=e.display,P=e.max_age,C=e.ui_locales,T=e.acr_values,R=e.resource,I=e.response_mode,D=e.filterProtocolClaims,L=void 0===D||D,N=e.loadUserInfo,U=void 0===N||N,O=e.staleStateAge,B=void 0===O?900:O,M=e.clockSkew,j=void 0===M?300:M,H=e.clockService,K=void 0===H?new s.ClockService:H,V=e.userInfoJwtIssuer,q=void 0===V?"OP":V,J=e.mergeClaims,W=void 0!==J&&J,z=e.stateStore,Y=void 0===z?new a.WebStorageStateStore:z,G=e.ResponseValidatorCtor,$=void 0===G?u.ResponseValidator:G,X=e.MetadataServiceCtor,Q=void 0===X?c.MetadataService:X,Z=e.extraQueryParams,tt=void 0===Z?{}:Z,et=e.extraTokenParams,rt=void 0===et?{}:et;h(this,t),this._authority=r,this._metadataUrl=i,this._metadata=o,this._metadataSeed=p,this._signingKeys=l,this._client_id=v,this._client_secret=y,this._response_type=_,this._scope=w,this._redirect_uri=b,this._post_logout_redirect_uri=F,this._client_authentication=x,this._prompt=A,this._display=k,this._max_age=P,this._ui_locales=C,this._acr_values=T,this._resource=R,this._response_mode=I,this._filterProtocolClaims=!!L,this._loadUserInfo=!!U,this._staleStateAge=B,this._clockSkew=j,this._clockService=K,this._userInfoJwtIssuer=q,this._mergeClaims=!!W,this._stateStore=Y,this._validator=new $(this),this._metadataService=new Q(this),this._extraQueryParams="object"===(void 0===tt?"undefined":n(tt))?tt:{},this._extraTokenParams="object"===(void 0===rt?"undefined":n(rt))?rt:{}}return t.prototype.getEpochTime=function(){return this._clockService.getEpochTime()},i(t,[{key:"client_id",get:function(){return this._client_id},set:function(t){if(this._client_id)throw o.Log.error("OidcClientSettings.set_client_id: client_id has already been assigned."),new Error("client_id has already been assigned.");this._client_id=t}},{key:"client_secret",get:function(){return this._client_secret}},{key:"response_type",get:function(){return this._response_type}},{key:"scope",get:function(){return this._scope}},{key:"redirect_uri",get:function(){return this._redirect_uri}},{key:"post_logout_redirect_uri",get:function(){return this._post_logout_redirect_uri}},{key:"client_authentication",get:function(){return this._client_authentication}},{key:"prompt",get:function(){return this._prompt}},{key:"display",get:function(){return this._display}},{key:"max_age",get:function(){return this._max_age}},{key:"ui_locales",get:function(){return this._ui_locales}},{key:"acr_values",get:function(){return this._acr_values}},{key:"resource",get:function(){return this._resource}},{key:"response_mode",get:function(){return this._response_mode}},{key:"authority",get:function(){return this._authority},set:function(t){if(this._authority)throw o.Log.error("OidcClientSettings.set_authority: authority has already been assigned."),new Error("authority has already been assigned.");this._authority=t}},{key:"metadataUrl",get:function(){return this._metadataUrl||(this._metadataUrl=this.authority,this._metadataUrl&&this._metadataUrl.indexOf(l)<0&&("/"!==this._metadataUrl[this._metadataUrl.length-1]&&(this._metadataUrl+="/"),this._metadataUrl+=l)),this._metadataUrl}},{key:"metadata",get:function(){return this._metadata},set:function(t){this._metadata=t}},{key:"metadataSeed",get:function(){return this._metadataSeed},set:function(t){this._metadataSeed=t}},{key:"signingKeys",get:function(){return this._signingKeys},set:function(t){this._signingKeys=t}},{key:"filterProtocolClaims",get:function(){return this._filterProtocolClaims}},{key:"loadUserInfo",get:function(){return this._loadUserInfo}},{key:"staleStateAge",get:function(){return this._staleStateAge}},{key:"clockSkew",get:function(){return this._clockSkew}},{key:"userInfoJwtIssuer",get:function(){return this._userInfoJwtIssuer}},{key:"mergeClaims",get:function(){return this._mergeClaims}},{key:"stateStore",get:function(){return this._stateStore}},{key:"validator",get:function(){return this._validator}},{key:"metadataService",get:function(){return this._metadataService}},{key:"extraQueryParams",get:function(){return this._extraQueryParams},set:function(t){"object"===(void 0===t?"undefined":n(t))?this._extraQueryParams=t:this._extraQueryParams={}}},{key:"extraTokenParams",get:function(){return this._extraTokenParams},set:function(t){"object"===(void 0===t?"undefined":n(t))?this._extraTokenParams=t:this._extraTokenParams={}}}]),t}()},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WebStorageStateStore=void 0;var n=r(0),i=r(1);function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}e.WebStorageStateStore=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.prefix,n=void 0===r?"oidc.":r,s=e.store,a=void 0===s?i.Global.localStorage:s;o(this,t),this._store=a,this._prefix=n}return t.prototype.set=function(t,e){return n.Log.debug("WebStorageStateStore.set",t),t=this._prefix+t,this._store.setItem(t,e),Promise.resolve()},t.prototype.get=function(t){n.Log.debug("WebStorageStateStore.get",t),t=this._prefix+t;var e=this._store.getItem(t);return Promise.resolve(e)},t.prototype.remove=function(t){n.Log.debug("WebStorageStateStore.remove",t),t=this._prefix+t;var e=this._store.getItem(t);return this._store.removeItem(t),Promise.resolve(e)},t.prototype.getAllKeys=function(){n.Log.debug("WebStorageStateStore.getAllKeys");for(var t=[],e=0;e0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.Global.XMLHttpRequest,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;o(this,t),e&&Array.isArray(e)?this._contentTypes=e.slice():this._contentTypes=[],this._contentTypes.push("application/json"),n&&this._contentTypes.push("application/jwt"),this._XMLHttpRequest=r,this._jwtHandler=n}return t.prototype.getJson=function(t,e){var r=this;if(!t)throw n.Log.error("JsonService.getJson: No url passed"),new Error("url");return n.Log.debug("JsonService.getJson, url: ",t),new Promise((function(i,o){var s=new r._XMLHttpRequest;s.open("GET",t);var a=r._contentTypes,u=r._jwtHandler;s.onload=function(){if(n.Log.debug("JsonService.getJson: HTTP response received, status",s.status),200===s.status){var e=s.getResponseHeader("Content-Type");if(e){var r=a.find((function(t){if(e.startsWith(t))return!0}));if("application/jwt"==r)return void u(s).then(i,o);if(r)try{return void i(JSON.parse(s.responseText))}catch(t){return n.Log.error("JsonService.getJson: Error parsing JSON response",t.message),void o(t)}}o(Error("Invalid response Content-Type: "+e+", from URL: "+t))}else o(Error(s.statusText+" ("+s.status+")"))},s.onerror=function(){n.Log.error("JsonService.getJson: network error"),o(Error("Network Error"))},e&&(n.Log.debug("JsonService.getJson: token passed, setting Authorization header"),s.setRequestHeader("Authorization","Bearer "+e)),s.send()}))},t.prototype.postForm=function(t,e,r){var i=this;if(!t)throw n.Log.error("JsonService.postForm: No url passed"),new Error("url");return n.Log.debug("JsonService.postForm, url: ",t),new Promise((function(o,s){var a=new i._XMLHttpRequest;a.open("POST",t);var u=i._contentTypes;a.onload=function(){if(n.Log.debug("JsonService.postForm: HTTP response received, status",a.status),200!==a.status){if(400===a.status&&(r=a.getResponseHeader("Content-Type"))&&u.find((function(t){if(r.startsWith(t))return!0})))try{var e=JSON.parse(a.responseText);if(e&&e.error)return n.Log.error("JsonService.postForm: Error from server: ",e.error),void s(new Error(e.error))}catch(t){return n.Log.error("JsonService.postForm: Error parsing JSON response",t.message),void s(t)}s(Error(a.statusText+" ("+a.status+")"))}else{var r;if((r=a.getResponseHeader("Content-Type"))&&u.find((function(t){if(r.startsWith(t))return!0})))try{return void o(JSON.parse(a.responseText))}catch(t){return n.Log.error("JsonService.postForm: Error parsing JSON response",t.message),void s(t)}s(Error("Invalid response Content-Type: "+r+", from URL: "+t))}},a.onerror=function(){n.Log.error("JsonService.postForm: network error"),s(Error("Network Error"))};var c="";for(var h in e){var l=e[h];l&&(c.length>0&&(c+="&"),c+=encodeURIComponent(h),c+="=",c+=encodeURIComponent(l))}a.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),void 0!==r&&a.setRequestHeader("Authorization","Basic "+btoa(r)),a.send(c)}))},t}()},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SigninRequest=void 0;var n=r(0),i=r(3),o=r(13);e.SigninRequest=function(){function t(e){var r=e.url,s=e.client_id,a=e.redirect_uri,u=e.response_type,c=e.scope,h=e.authority,l=e.data,f=e.prompt,g=e.display,d=e.max_age,p=e.ui_locales,v=e.id_token_hint,y=e.login_hint,m=e.acr_values,_=e.resource,S=e.response_mode,w=e.request,b=e.request_uri,F=e.extraQueryParams,E=e.request_type,x=e.client_secret,A=e.extraTokenParams,k=e.skipUserInfo;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!r)throw n.Log.error("SigninRequest.ctor: No url passed"),new Error("url");if(!s)throw n.Log.error("SigninRequest.ctor: No client_id passed"),new Error("client_id");if(!a)throw n.Log.error("SigninRequest.ctor: No redirect_uri passed"),new Error("redirect_uri");if(!u)throw n.Log.error("SigninRequest.ctor: No response_type passed"),new Error("response_type");if(!c)throw n.Log.error("SigninRequest.ctor: No scope passed"),new Error("scope");if(!h)throw n.Log.error("SigninRequest.ctor: No authority passed"),new Error("authority");var P=t.isOidc(u),C=t.isCode(u);S||(S=t.isCode(u)?"query":null),this.state=new o.SigninState({nonce:P,data:l,client_id:s,authority:h,redirect_uri:a,code_verifier:C,request_type:E,response_mode:S,client_secret:x,scope:c,extraTokenParams:A,skipUserInfo:k}),r=i.UrlUtility.addQueryParam(r,"client_id",s),r=i.UrlUtility.addQueryParam(r,"redirect_uri",a),r=i.UrlUtility.addQueryParam(r,"response_type",u),r=i.UrlUtility.addQueryParam(r,"scope",c),r=i.UrlUtility.addQueryParam(r,"state",this.state.id),P&&(r=i.UrlUtility.addQueryParam(r,"nonce",this.state.nonce)),C&&(r=i.UrlUtility.addQueryParam(r,"code_challenge",this.state.code_challenge),r=i.UrlUtility.addQueryParam(r,"code_challenge_method","S256"));var T={prompt:f,display:g,max_age:d,ui_locales:p,id_token_hint:v,login_hint:y,acr_values:m,resource:_,request:w,request_uri:b,response_mode:S};for(var R in T)T[R]&&(r=i.UrlUtility.addQueryParam(r,R,T[R]));for(var I in F)r=i.UrlUtility.addQueryParam(r,I,F[I]);this.url=r}return t.isOidc=function(t){return!!t.split(/\s+/g).filter((function(t){return"id_token"===t}))[0]},t.isOAuth=function(t){return!!t.split(/\s+/g).filter((function(t){return"token"===t}))[0]},t.isCode=function(t){return!!t.split(/\s+/g).filter((function(t){return"code"===t}))[0]},t}()},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.State=void 0;var n=function(){function t(t,e){for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:{},r=e.id,n=e.data,i=e.created,a=e.request_type;s(this,t),this._id=r||(0,o.default)(),this._data=n,this._created="number"==typeof i&&i>0?i:parseInt(Date.now()/1e3),this._request_type=a}return t.prototype.toStorageString=function(){return i.Log.debug("State.toStorageString"),JSON.stringify({id:this.id,data:this.data,created:this.created,request_type:this.request_type})},t.fromStorageString=function(e){return i.Log.debug("State.fromStorageString"),new t(JSON.parse(e))},t.clearStaleState=function(e,r){var n=Date.now()/1e3-r;return e.getAllKeys().then((function(r){i.Log.debug("State.clearStaleState: got keys",r);for(var o=[],s=function(s){var a=r[s];u=e.get(a).then((function(r){var o=!1;if(r)try{var s=t.fromStorageString(r);i.Log.debug("State.clearStaleState: got item from key: ",a,s.created),s.created<=n&&(o=!0)}catch(t){i.Log.error("State.clearStaleState: Error parsing state for key",a,t.message),o=!0}else i.Log.debug("State.clearStaleState: no item in storage for key: ",a),o=!0;if(o)return i.Log.debug("State.clearStaleState: removed item for key: ",a),e.remove(a)})),o.push(u)},a=0;a0&&void 0!==arguments[0]?arguments[0]:{};g(this,t),e instanceof o.OidcClientSettings?this._settings=e:this._settings=new o.OidcClientSettings(e)}return t.prototype.createSigninRequest=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.response_type,n=e.scope,o=e.redirect_uri,s=e.data,u=e.state,c=e.prompt,h=e.display,l=e.max_age,f=e.ui_locales,g=e.id_token_hint,d=e.login_hint,p=e.acr_values,v=e.resource,y=e.request,m=e.request_uri,_=e.response_mode,S=e.extraQueryParams,w=e.extraTokenParams,b=e.request_type,F=e.skipUserInfo,E=arguments[1];i.Log.debug("OidcClient.createSigninRequest");var x=this._settings.client_id;r=r||this._settings.response_type,n=n||this._settings.scope,o=o||this._settings.redirect_uri,c=c||this._settings.prompt,h=h||this._settings.display,l=l||this._settings.max_age,f=f||this._settings.ui_locales,p=p||this._settings.acr_values,v=v||this._settings.resource,_=_||this._settings.response_mode,S=S||this._settings.extraQueryParams,w=w||this._settings.extraTokenParams;var A=this._settings.authority;return a.SigninRequest.isCode(r)&&"code"!==r?Promise.reject(new Error("OpenID Connect hybrid flow is not supported")):this._metadataService.getAuthorizationEndpoint().then((function(e){i.Log.debug("OidcClient.createSigninRequest: Received authorization endpoint",e);var k=new a.SigninRequest({url:e,client_id:x,redirect_uri:o,response_type:r,scope:n,data:s||u,authority:A,prompt:c,display:h,max_age:l,ui_locales:f,id_token_hint:g,login_hint:d,acr_values:p,resource:v,request:y,request_uri:m,extraQueryParams:S,extraTokenParams:w,request_type:b,response_mode:_,client_secret:t._settings.client_secret,skipUserInfo:F}),P=k.state;return(E=E||t._stateStore).set(P.id,P.toStorageString()).then((function(){return k}))}))},t.prototype.readSigninResponseState=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];i.Log.debug("OidcClient.readSigninResponseState");var n="query"===this._settings.response_mode||!this._settings.response_mode&&a.SigninRequest.isCode(this._settings.response_type),o=n?"?":"#",s=new u.SigninResponse(t,o);if(!s.state)return i.Log.error("OidcClient.readSigninResponseState: No state in response"),Promise.reject(new Error("No state in response"));e=e||this._stateStore;var c=r?e.remove.bind(e):e.get.bind(e);return c(s.state).then((function(t){if(!t)throw i.Log.error("OidcClient.readSigninResponseState: No matching state found in storage"),new Error("No matching state found in storage");return{state:l.SigninState.fromStorageString(t),response:s}}))},t.prototype.processSigninResponse=function(t,e){var r=this;return i.Log.debug("OidcClient.processSigninResponse"),this.readSigninResponseState(t,e,!0).then((function(t){var e=t.state,n=t.response;return i.Log.debug("OidcClient.processSigninResponse: Received state from storage; validating response"),r._validator.validateSigninResponse(e,n)}))},t.prototype.createSignoutRequest=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.id_token_hint,n=e.data,o=e.state,s=e.post_logout_redirect_uri,a=e.extraQueryParams,u=e.request_type,h=arguments[1];return i.Log.debug("OidcClient.createSignoutRequest"),s=s||this._settings.post_logout_redirect_uri,a=a||this._settings.extraQueryParams,this._metadataService.getEndSessionEndpoint().then((function(e){if(!e)throw i.Log.error("OidcClient.createSignoutRequest: No end session endpoint url returned"),new Error("no end session endpoint");i.Log.debug("OidcClient.createSignoutRequest: Received end session endpoint",e);var l=new c.SignoutRequest({url:e,id_token_hint:r,post_logout_redirect_uri:s,data:n||o,extraQueryParams:a,request_type:u}),f=l.state;return f&&(i.Log.debug("OidcClient.createSignoutRequest: Signout request has state to persist"),(h=h||t._stateStore).set(f.id,f.toStorageString())),l}))},t.prototype.readSignoutResponseState=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];i.Log.debug("OidcClient.readSignoutResponseState");var n=new h.SignoutResponse(t);if(!n.state)return i.Log.debug("OidcClient.readSignoutResponseState: No state in response"),n.error?(i.Log.warn("OidcClient.readSignoutResponseState: Response was error: ",n.error),Promise.reject(new s.ErrorResponse(n))):Promise.resolve({state:void 0,response:n});var o=n.state;e=e||this._stateStore;var a=r?e.remove.bind(e):e.get.bind(e);return a(o).then((function(t){if(!t)throw i.Log.error("OidcClient.readSignoutResponseState: No matching state found in storage"),new Error("No matching state found in storage");return{state:f.State.fromStorageString(t),response:n}}))},t.prototype.processSignoutResponse=function(t,e){var r=this;return i.Log.debug("OidcClient.processSignoutResponse"),this.readSignoutResponseState(t,e,!0).then((function(t){var e=t.state,n=t.response;return e?(i.Log.debug("OidcClient.processSignoutResponse: Received state from storage; validating response"),r._validator.validateSignoutResponse(e,n)):(i.Log.debug("OidcClient.processSignoutResponse: No state from storage; skipping validating response"),n)}))},t.prototype.clearStaleState=function(t){return i.Log.debug("OidcClient.clearStaleState"),t=t||this._stateStore,f.State.clearStaleState(t,this.settings.staleStateAge)},n(t,[{key:"_stateStore",get:function(){return this.settings.stateStore}},{key:"_validator",get:function(){return this.settings.validator}},{key:"_metadataService",get:function(){return this.settings.metadataService}},{key:"settings",get:function(){return this._settings}},{key:"metadataService",get:function(){return this._metadataService}}]),t}()},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TokenClient=void 0;var n=r(7),i=r(2),o=r(0);function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}e.TokenClient=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.JsonService,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i.MetadataService;if(s(this,t),!e)throw o.Log.error("TokenClient.ctor: No settings passed"),new Error("settings");this._settings=e,this._jsonService=new r,this._metadataService=new a(this._settings)}return t.prototype.exchangeCode=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(e=Object.assign({},e)).grant_type=e.grant_type||"authorization_code",e.client_id=e.client_id||this._settings.client_id,e.client_secret=e.client_secret||this._settings.client_secret,e.redirect_uri=e.redirect_uri||this._settings.redirect_uri;var r=void 0,n=e._client_authentication||this._settings._client_authentication;return delete e._client_authentication,e.code?e.redirect_uri?e.code_verifier?e.client_id?e.client_secret||"client_secret_basic"!=n?("client_secret_basic"==n&&(r=e.client_id+":"+e.client_secret,delete e.client_id,delete e.client_secret),this._metadataService.getTokenEndpoint(!1).then((function(n){return o.Log.debug("TokenClient.exchangeCode: Received token endpoint"),t._jsonService.postForm(n,e,r).then((function(t){return o.Log.debug("TokenClient.exchangeCode: response received"),t}))}))):(o.Log.error("TokenClient.exchangeCode: No client_secret passed"),Promise.reject(new Error("A client_secret is required"))):(o.Log.error("TokenClient.exchangeCode: No client_id passed"),Promise.reject(new Error("A client_id is required"))):(o.Log.error("TokenClient.exchangeCode: No code_verifier passed"),Promise.reject(new Error("A code_verifier is required"))):(o.Log.error("TokenClient.exchangeCode: No redirect_uri passed"),Promise.reject(new Error("A redirect_uri is required"))):(o.Log.error("TokenClient.exchangeCode: No code passed"),Promise.reject(new Error("A code is required")))},t.prototype.exchangeRefreshToken=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(e=Object.assign({},e)).grant_type=e.grant_type||"refresh_token",e.client_id=e.client_id||this._settings.client_id,e.client_secret=e.client_secret||this._settings.client_secret;var r=void 0,n=e._client_authentication||this._settings._client_authentication;return delete e._client_authentication,e.refresh_token?e.client_id?("client_secret_basic"==n&&(r=e.client_id+":"+e.client_secret,delete e.client_id,delete e.client_secret),this._metadataService.getTokenEndpoint(!1).then((function(n){return o.Log.debug("TokenClient.exchangeRefreshToken: Received token endpoint"),t._jsonService.postForm(n,e,r).then((function(t){return o.Log.debug("TokenClient.exchangeRefreshToken: response received"),t}))}))):(o.Log.error("TokenClient.exchangeRefreshToken: No client_id passed"),Promise.reject(new Error("A client_id is required"))):(o.Log.error("TokenClient.exchangeRefreshToken: No refresh_token passed"),Promise.reject(new Error("A refresh_token is required")))},t}()},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ErrorResponse=void 0;var n=r(0);function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}e.ErrorResponse=function(t){function e(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=r.error,a=r.error_description,u=r.error_uri,c=r.state,h=r.session_state;if(i(this,e),!s)throw n.Log.error("No error passed to ErrorResponse"),new Error("error");var l=o(this,t.call(this,a||s));return l.name="ErrorResponse",l.error=s,l.error_description=a,l.error_uri=u,l.state=c,l.session_state=h,l}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(Error)},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SigninState=void 0;var n=function(){function t(t,e){for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:{},n=r.nonce,i=r.authority,o=r.client_id,h=r.redirect_uri,l=r.code_verifier,f=r.response_mode,g=r.client_secret,d=r.scope,p=r.extraTokenParams,v=r.skipUserInfo;u(this,e);var y=c(this,t.call(this,arguments[0]));if(!0===n?y._nonce=(0,a.default)():n&&(y._nonce=n),!0===l?y._code_verifier=(0,a.default)()+(0,a.default)()+(0,a.default)():l&&(y._code_verifier=l),y.code_verifier){var m=s.JoseUtil.hashString(y.code_verifier,"SHA256");y._code_challenge=s.JoseUtil.hexToBase64Url(m)}return y._redirect_uri=h,y._authority=i,y._client_id=o,y._response_mode=f,y._client_secret=g,y._scope=d,y._extraTokenParams=p,y._skipUserInfo=v,y}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.toStorageString=function(){return i.Log.debug("SigninState.toStorageString"),JSON.stringify({id:this.id,data:this.data,created:this.created,request_type:this.request_type,nonce:this.nonce,code_verifier:this.code_verifier,redirect_uri:this.redirect_uri,authority:this.authority,client_id:this.client_id,response_mode:this.response_mode,client_secret:this.client_secret,scope:this.scope,extraTokenParams:this.extraTokenParams,skipUserInfo:this.skipUserInfo})},e.fromStorageString=function(t){return i.Log.debug("SigninState.fromStorageString"),new e(JSON.parse(t))},n(e,[{key:"nonce",get:function(){return this._nonce}},{key:"authority",get:function(){return this._authority}},{key:"client_id",get:function(){return this._client_id}},{key:"redirect_uri",get:function(){return this._redirect_uri}},{key:"code_verifier",get:function(){return this._code_verifier}},{key:"code_challenge",get:function(){return this._code_challenge}},{key:"response_mode",get:function(){return this._response_mode}},{key:"client_secret",get:function(){return this._client_secret}},{key:"scope",get:function(){return this._scope}},{key:"extraTokenParams",get:function(){return this._extraTokenParams}},{key:"skipUserInfo",get:function(){return this._skipUserInfo}}]),e}(o.State)},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return("undefined"!=n&&null!==n&&void 0!==n.getRandomValues?i:o)().replace(/-/g,"")};var n="undefined"!=typeof window?window.crypto||window.msCrypto:null;function i(){return([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,(function(t){return(t^n.getRandomValues(new Uint8Array(1))[0]&15>>t/4).toString(16)}))}function o(){return([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,(function(t){return(t^16*Math.random()>>t/4).toString(16)}))}t.exports=e.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.User=void 0;var n=function(){function t(t,e){for(var r=0;r0){var r=parseInt(Date.now()/1e3);this.expires_at=r+e}}},{key:"expired",get:function(){var t=this.expires_in;if(void 0!==t)return t<=0}},{key:"scopes",get:function(){return(this.scope||"").split(" ")}}]),t}()},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AccessTokenEvents=void 0;var n=r(0),i=r(46);function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}e.AccessTokenEvents=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.accessTokenExpiringNotificationTime,n=void 0===r?60:r,s=e.accessTokenExpiringTimer,a=void 0===s?new i.Timer("Access token expiring"):s,u=e.accessTokenExpiredTimer,c=void 0===u?new i.Timer("Access token expired"):u;o(this,t),this._accessTokenExpiringNotificationTime=n,this._accessTokenExpiring=a,this._accessTokenExpired=c}return t.prototype.load=function(t){if(t.access_token&&void 0!==t.expires_in){var e=t.expires_in;if(n.Log.debug("AccessTokenEvents.load: access token present, remaining duration:",e),e>0){var r=e-this._accessTokenExpiringNotificationTime;r<=0&&(r=1),n.Log.debug("AccessTokenEvents.load: registering expiring timer in:",r),this._accessTokenExpiring.init(r)}else n.Log.debug("AccessTokenEvents.load: canceling existing expiring timer becase we're past expiration."),this._accessTokenExpiring.cancel();var i=e+1;n.Log.debug("AccessTokenEvents.load: registering expired timer in:",i),this._accessTokenExpired.init(i)}else this._accessTokenExpiring.cancel(),this._accessTokenExpired.cancel()},t.prototype.unload=function(){n.Log.debug("AccessTokenEvents.unload: canceling existing access token timers"),this._accessTokenExpiring.cancel(),this._accessTokenExpired.cancel()},t.prototype.addAccessTokenExpiring=function(t){this._accessTokenExpiring.addHandler(t)},t.prototype.removeAccessTokenExpiring=function(t){this._accessTokenExpiring.removeHandler(t)},t.prototype.addAccessTokenExpired=function(t){this._accessTokenExpired.addHandler(t)},t.prototype.removeAccessTokenExpired=function(t){this._accessTokenExpired.removeHandler(t)},t}()},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Event=void 0;var n=r(0);e.Event=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._name=e,this._callbacks=[]}return t.prototype.addHandler=function(t){this._callbacks.push(t)},t.prototype.removeHandler=function(t){var e=this._callbacks.findIndex((function(e){return e===t}));e>=0&&this._callbacks.splice(e,1)},t.prototype.raise=function(){n.Log.debug("Event: Raising event: "+this._name);for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:o.CheckSessionIFrame,u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.Global.timer;if(a(this,t),!e)throw i.Log.error("SessionMonitor.ctor: No user manager passed to SessionMonitor"),new Error("userManager");this._userManager=e,this._CheckSessionIFrameCtor=n,this._timer=u,this._userManager.events.addUserLoaded(this._start.bind(this)),this._userManager.events.addUserUnloaded(this._stop.bind(this)),Promise.resolve(this._userManager.getUser().then((function(t){t?r._start(t):r._settings.monitorAnonymousSession&&r._userManager.querySessionStatus().then((function(t){var e={session_state:t.session_state};t.sub&&t.sid&&(e.profile={sub:t.sub,sid:t.sid}),r._start(e)})).catch((function(t){i.Log.error("SessionMonitor ctor: error from querySessionStatus:",t.message)}))})).catch((function(t){i.Log.error("SessionMonitor ctor: error from getUser:",t.message)})))}return t.prototype._start=function(t){var e=this,r=t.session_state;r&&(t.profile?(this._sub=t.profile.sub,this._sid=t.profile.sid,i.Log.debug("SessionMonitor._start: session_state:",r,", sub:",this._sub)):(this._sub=void 0,this._sid=void 0,i.Log.debug("SessionMonitor._start: session_state:",r,", anonymous user")),this._checkSessionIFrame?this._checkSessionIFrame.start(r):this._metadataService.getCheckSessionIframe().then((function(t){if(t){i.Log.debug("SessionMonitor._start: Initializing check session iframe");var n=e._client_id,o=e._checkSessionInterval,s=e._stopCheckSessionOnError;e._checkSessionIFrame=new e._CheckSessionIFrameCtor(e._callback.bind(e),n,t,o,s),e._checkSessionIFrame.load().then((function(){e._checkSessionIFrame.start(r)}))}else i.Log.warn("SessionMonitor._start: No check session iframe found in the metadata")})).catch((function(t){i.Log.error("SessionMonitor._start: Error from getCheckSessionIframe:",t.message)})))},t.prototype._stop=function(){var t=this;if(this._sub=void 0,this._sid=void 0,this._checkSessionIFrame&&(i.Log.debug("SessionMonitor._stop"),this._checkSessionIFrame.stop()),this._settings.monitorAnonymousSession)var e=this._timer.setInterval((function(){t._timer.clearInterval(e),t._userManager.querySessionStatus().then((function(e){var r={session_state:e.session_state};e.sub&&e.sid&&(r.profile={sub:e.sub,sid:e.sid}),t._start(r)})).catch((function(t){i.Log.error("SessionMonitor: error from querySessionStatus:",t.message)}))}),1e3)},t.prototype._callback=function(){var t=this;this._userManager.querySessionStatus().then((function(e){var r=!0;e?e.sub===t._sub?(r=!1,t._checkSessionIFrame.start(e.session_state),e.sid===t._sid?i.Log.debug("SessionMonitor._callback: Same sub still logged in at OP, restarting check session iframe; session_state:",e.session_state):(i.Log.debug("SessionMonitor._callback: Same sub still logged in at OP, session state has changed, restarting check session iframe; session_state:",e.session_state),t._userManager.events._raiseUserSessionChanged())):i.Log.debug("SessionMonitor._callback: Different subject signed into OP:",e.sub):i.Log.debug("SessionMonitor._callback: Subject no longer signed into OP"),r&&(t._sub?(i.Log.debug("SessionMonitor._callback: SessionMonitor._callback; raising signed out event"),t._userManager.events._raiseUserSignedOut()):(i.Log.debug("SessionMonitor._callback: SessionMonitor._callback; raising signed in event"),t._userManager.events._raiseUserSignedIn()))})).catch((function(e){t._sub&&(i.Log.debug("SessionMonitor._callback: Error calling queryCurrentSigninSession; raising signed out event",e.message),t._userManager.events._raiseUserSignedOut())}))},n(t,[{key:"_settings",get:function(){return this._userManager.settings}},{key:"_metadataService",get:function(){return this._userManager.metadataService}},{key:"_client_id",get:function(){return this._settings.client_id}},{key:"_checkSessionInterval",get:function(){return this._settings.checkSessionInterval}},{key:"_stopCheckSessionOnError",get:function(){return this._settings.stopCheckSessionOnError}}]),t}()},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CheckSessionIFrame=void 0;var n=r(0);function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}e.CheckSessionIFrame=function(){function t(e,r,n,o){var s=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];i(this,t),this._callback=e,this._client_id=r,this._url=n,this._interval=o||2e3,this._stopOnError=s;var a=n.indexOf("/",n.indexOf("//")+2);this._frame_origin=n.substr(0,a),this._frame=window.document.createElement("iframe"),this._frame.style.visibility="hidden",this._frame.style.position="absolute",this._frame.style.display="none",this._frame.width=0,this._frame.height=0,this._frame.src=n}return t.prototype.load=function(){var t=this;return new Promise((function(e){t._frame.onload=function(){e()},window.document.body.appendChild(t._frame),t._boundMessageEvent=t._message.bind(t),window.addEventListener("message",t._boundMessageEvent,!1)}))},t.prototype._message=function(t){t.origin===this._frame_origin&&t.source===this._frame.contentWindow&&("error"===t.data?(n.Log.error("CheckSessionIFrame: error message from check session op iframe"),this._stopOnError&&this.stop()):"changed"===t.data?(n.Log.debug("CheckSessionIFrame: changed message from check session op iframe"),this.stop(),this._callback()):n.Log.debug("CheckSessionIFrame: "+t.data+" message from check session op iframe"))},t.prototype.start=function(t){var e=this;if(this._session_state!==t){n.Log.debug("CheckSessionIFrame.start"),this.stop(),this._session_state=t;var r=function(){e._frame.contentWindow.postMessage(e._client_id+" "+e._session_state,e._frame_origin)};r(),this._timer=window.setInterval(r,this._interval)}},t.prototype.stop=function(){this._session_state=null,this._timer&&(n.Log.debug("CheckSessionIFrame.stop"),window.clearInterval(this._timer),this._timer=null)},t}()},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TokenRevocationClient=void 0;var n=r(0),i=r(2),o=r(1);function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a="access_token",u="refresh_token";e.TokenRevocationClient=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.Global.XMLHttpRequest,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i.MetadataService;if(s(this,t),!e)throw n.Log.error("TokenRevocationClient.ctor: No settings provided"),new Error("No settings provided.");this._settings=e,this._XMLHttpRequestCtor=r,this._metadataService=new a(this._settings)}return t.prototype.revoke=function(t,e){var r=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"access_token";if(!t)throw n.Log.error("TokenRevocationClient.revoke: No token provided"),new Error("No token provided.");if(i!==a&&i!=u)throw n.Log.error("TokenRevocationClient.revoke: Invalid token type"),new Error("Invalid token type.");return this._metadataService.getRevocationEndpoint().then((function(o){if(o){n.Log.debug("TokenRevocationClient.revoke: Revoking "+i);var s=r._settings.client_id,a=r._settings.client_secret;return r._revoke(o,s,a,t,i)}if(e)throw n.Log.error("TokenRevocationClient.revoke: Revocation not supported"),new Error("Revocation not supported")}))},t.prototype._revoke=function(t,e,r,i,o){var s=this;return new Promise((function(a,u){var c=new s._XMLHttpRequestCtor;c.open("POST",t),c.onload=function(){n.Log.debug("TokenRevocationClient.revoke: HTTP response received, status",c.status),200===c.status?a():u(Error(c.statusText+" ("+c.status+")"))},c.onerror=function(){n.Log.debug("TokenRevocationClient.revoke: Network Error."),u("Network Error")};var h="client_id="+encodeURIComponent(e);r&&(h+="&client_secret="+encodeURIComponent(r)),h+="&token_type_hint="+encodeURIComponent(o),h+="&token="+encodeURIComponent(i),c.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),c.send(h)}))},t}()},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CordovaPopupWindow=void 0;var n=function(){function t(t,e){for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:o.MetadataService,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.UserInfoService,u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:c.JoseUtil,l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:a.TokenClient;if(h(this,t),!e)throw i.Log.error("ResponseValidator.ctor: No settings passed to ResponseValidator"),new Error("settings");this._settings=e,this._metadataService=new r(this._settings),this._userInfoService=new n(this._settings),this._joseUtil=u,this._tokenClient=new l(this._settings)}return t.prototype.validateSigninResponse=function(t,e){var r=this;return i.Log.debug("ResponseValidator.validateSigninResponse"),this._processSigninParams(t,e).then((function(e){return i.Log.debug("ResponseValidator.validateSigninResponse: state processed"),r._validateTokens(t,e).then((function(e){return i.Log.debug("ResponseValidator.validateSigninResponse: tokens validated"),r._processClaims(t,e).then((function(t){return i.Log.debug("ResponseValidator.validateSigninResponse: claims processed"),t}))}))}))},t.prototype.validateSignoutResponse=function(t,e){return t.id!==e.state?(i.Log.error("ResponseValidator.validateSignoutResponse: State does not match"),Promise.reject(new Error("State does not match"))):(i.Log.debug("ResponseValidator.validateSignoutResponse: state validated"),e.state=t.data,e.error?(i.Log.warn("ResponseValidator.validateSignoutResponse: Response was error",e.error),Promise.reject(new u.ErrorResponse(e))):Promise.resolve(e))},t.prototype._processSigninParams=function(t,e){if(t.id!==e.state)return i.Log.error("ResponseValidator._processSigninParams: State does not match"),Promise.reject(new Error("State does not match"));if(!t.client_id)return i.Log.error("ResponseValidator._processSigninParams: No client_id on state"),Promise.reject(new Error("No client_id on state"));if(!t.authority)return i.Log.error("ResponseValidator._processSigninParams: No authority on state"),Promise.reject(new Error("No authority on state"));if(this._settings.authority){if(this._settings.authority&&this._settings.authority!==t.authority)return i.Log.error("ResponseValidator._processSigninParams: authority mismatch on settings vs. signin state"),Promise.reject(new Error("authority mismatch on settings vs. signin state"))}else this._settings.authority=t.authority;if(this._settings.client_id){if(this._settings.client_id&&this._settings.client_id!==t.client_id)return i.Log.error("ResponseValidator._processSigninParams: client_id mismatch on settings vs. signin state"),Promise.reject(new Error("client_id mismatch on settings vs. signin state"))}else this._settings.client_id=t.client_id;return i.Log.debug("ResponseValidator._processSigninParams: state validated"),e.state=t.data,e.error?(i.Log.warn("ResponseValidator._processSigninParams: Response was error",e.error),Promise.reject(new u.ErrorResponse(e))):t.nonce&&!e.id_token?(i.Log.error("ResponseValidator._processSigninParams: Expecting id_token in response"),Promise.reject(new Error("No id_token in response"))):!t.nonce&&e.id_token?(i.Log.error("ResponseValidator._processSigninParams: Not expecting id_token in response"),Promise.reject(new Error("Unexpected id_token in response"))):t.code_verifier&&!e.code?(i.Log.error("ResponseValidator._processSigninParams: Expecting code in response"),Promise.reject(new Error("No code in response"))):!t.code_verifier&&e.code?(i.Log.error("ResponseValidator._processSigninParams: Not expecting code in response"),Promise.reject(new Error("Unexpected code in response"))):(e.scope||(e.scope=t.scope),Promise.resolve(e))},t.prototype._processClaims=function(t,e){var r=this;if(e.isOpenIdConnect){if(i.Log.debug("ResponseValidator._processClaims: response is OIDC, processing claims"),e.profile=this._filterProtocolClaims(e.profile),!0!==t.skipUserInfo&&this._settings.loadUserInfo&&e.access_token)return i.Log.debug("ResponseValidator._processClaims: loading user info"),this._userInfoService.getClaims(e.access_token).then((function(t){return i.Log.debug("ResponseValidator._processClaims: user info claims received from user info endpoint"),t.sub!==e.profile.sub?(i.Log.error("ResponseValidator._processClaims: sub from user info endpoint does not match sub in id_token"),Promise.reject(new Error("sub from user info endpoint does not match sub in id_token"))):(e.profile=r._mergeClaims(e.profile,t),i.Log.debug("ResponseValidator._processClaims: user info claims received, updated profile:",e.profile),e)}));i.Log.debug("ResponseValidator._processClaims: not loading user info")}else i.Log.debug("ResponseValidator._processClaims: response is not OIDC, not processing claims");return Promise.resolve(e)},t.prototype._mergeClaims=function(t,e){var r=Object.assign({},t);for(var i in e){var o=e[i];Array.isArray(o)||(o=[o]);for(var s=0;s1)return i.Log.error("ResponseValidator._validateIdToken: No kid found in id_token and more than one key found in metadata"),Promise.reject(new Error("No kid found in id_token and more than one key found in metadata"));o=r[0]}return Promise.resolve(o)}))},t.prototype._getSigningKeyForJwtWithSingleRetry=function(t){var e=this;return this._getSigningKeyForJwt(t).then((function(r){return r?Promise.resolve(r):(e._metadataService.resetSigningKeys(),e._getSigningKeyForJwt(t))}))},t.prototype._validateIdToken=function(t,e){var r=this;if(!t.nonce)return i.Log.error("ResponseValidator._validateIdToken: No nonce on state"),Promise.reject(new Error("No nonce on state"));var n=this._joseUtil.parseJwt(e.id_token);return n&&n.header&&n.payload?t.nonce!==n.payload.nonce?(i.Log.error("ResponseValidator._validateIdToken: Invalid nonce in id_token"),Promise.reject(new Error("Invalid nonce in id_token"))):this._metadataService.getIssuer().then((function(o){return i.Log.debug("ResponseValidator._validateIdToken: Received issuer"),r._getSigningKeyForJwtWithSingleRetry(n).then((function(s){if(!s)return i.Log.error("ResponseValidator._validateIdToken: No key matching kid or alg found in signing keys"),Promise.reject(new Error("No key matching kid or alg found in signing keys"));var a=t.client_id,u=r._settings.clockSkew;return i.Log.debug("ResponseValidator._validateIdToken: Validaing JWT; using clock skew (in seconds) of: ",u),r._joseUtil.validateJwt(e.id_token,s,o,a,u).then((function(){return i.Log.debug("ResponseValidator._validateIdToken: JWT validation successful"),n.payload.sub?(e.profile=n.payload,e):(i.Log.error("ResponseValidator._validateIdToken: No sub present in id_token"),Promise.reject(new Error("No sub present in id_token")))}))}))})):(i.Log.error("ResponseValidator._validateIdToken: Failed to parse id_token",n),Promise.reject(new Error("Failed to parse id_token")))},t.prototype._filterByAlg=function(t,e){var r=null;if(e.startsWith("RS"))r="RSA";else if(e.startsWith("PS"))r="PS";else{if(!e.startsWith("ES"))return i.Log.debug("ResponseValidator._filterByAlg: alg not supported: ",e),[];r="EC"}return i.Log.debug("ResponseValidator._filterByAlg: Looking for keys that match kty: ",r),t=t.filter((function(t){return t.kty===r})),i.Log.debug("ResponseValidator._filterByAlg: Number of keys that match kty: ",r,t.length),t},t.prototype._validateAccessToken=function(t){if(!t.profile)return i.Log.error("ResponseValidator._validateAccessToken: No profile loaded from id_token"),Promise.reject(new Error("No profile loaded from id_token"));if(!t.profile.at_hash)return i.Log.error("ResponseValidator._validateAccessToken: No at_hash in id_token"),Promise.reject(new Error("No at_hash in id_token"));if(!t.id_token)return i.Log.error("ResponseValidator._validateAccessToken: No id_token"),Promise.reject(new Error("No id_token"));var e=this._joseUtil.parseJwt(t.id_token);if(!e||!e.header)return i.Log.error("ResponseValidator._validateAccessToken: Failed to parse id_token",e),Promise.reject(new Error("Failed to parse id_token"));var r=e.header.alg;if(!r||5!==r.length)return i.Log.error("ResponseValidator._validateAccessToken: Unsupported alg:",r),Promise.reject(new Error("Unsupported alg: "+r));var n=r.substr(2,3);if(!n)return i.Log.error("ResponseValidator._validateAccessToken: Unsupported alg:",r,n),Promise.reject(new Error("Unsupported alg: "+r));if(256!==(n=parseInt(n))&&384!==n&&512!==n)return i.Log.error("ResponseValidator._validateAccessToken: Unsupported alg:",r,n),Promise.reject(new Error("Unsupported alg: "+r));var o="sha"+n,s=this._joseUtil.hashString(t.access_token,o);if(!s)return i.Log.error("ResponseValidator._validateAccessToken: access_token hash failed:",o),Promise.reject(new Error("Failed to validate at_hash"));var a=s.substr(0,s.length/2),u=this._joseUtil.hexToBase64Url(a);return u!==t.profile.at_hash?(i.Log.error("ResponseValidator._validateAccessToken: Failed to validate at_hash",u,t.profile.at_hash),Promise.reject(new Error("Failed to validate at_hash"))):(i.Log.debug("ResponseValidator._validateAccessToken: success"),Promise.resolve(t))},t}()},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UserInfoService=void 0;var n=r(7),i=r(2),o=r(0),s=r(4);function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}e.UserInfoService=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.JsonService,u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i.MetadataService,c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:s.JoseUtil;if(a(this,t),!e)throw o.Log.error("UserInfoService.ctor: No settings passed"),new Error("settings");this._settings=e,this._jsonService=new r(void 0,void 0,this._getClaimsFromJwt.bind(this)),this._metadataService=new u(this._settings),this._joseUtil=c}return t.prototype.getClaims=function(t){var e=this;return t?this._metadataService.getUserInfoEndpoint().then((function(r){return o.Log.debug("UserInfoService.getClaims: received userinfo url",r),e._jsonService.getJson(r,t).then((function(t){return o.Log.debug("UserInfoService.getClaims: claims received",t),t}))})):(o.Log.error("UserInfoService.getClaims: No token passed"),Promise.reject(new Error("A token is required")))},t.prototype._getClaimsFromJwt=function t(e){var r=this;try{var n=this._joseUtil.parseJwt(e.responseText);if(!n||!n.header||!n.payload)return o.Log.error("UserInfoService._getClaimsFromJwt: Failed to parse JWT",n),Promise.reject(new Error("Failed to parse id_token"));var i=n.header.kid,s=void 0;switch(this._settings.userInfoJwtIssuer){case"OP":s=this._metadataService.getIssuer();break;case"ANY":s=Promise.resolve(n.payload.iss);break;default:s=Promise.resolve(this._settings.userInfoJwtIssuer)}return s.then((function(t){return o.Log.debug("UserInfoService._getClaimsFromJwt: Received issuer:"+t),r._metadataService.getSigningKeys().then((function(s){if(!s)return o.Log.error("UserInfoService._getClaimsFromJwt: No signing keys from metadata"),Promise.reject(new Error("No signing keys from metadata"));o.Log.debug("UserInfoService._getClaimsFromJwt: Received signing keys");var a=void 0;if(i)a=s.filter((function(t){return t.kid===i}))[0];else{if((s=r._filterByAlg(s,n.header.alg)).length>1)return o.Log.error("UserInfoService._getClaimsFromJwt: No kid found in id_token and more than one key found in metadata"),Promise.reject(new Error("No kid found in id_token and more than one key found in metadata"));a=s[0]}if(!a)return o.Log.error("UserInfoService._getClaimsFromJwt: No key matching kid or alg found in signing keys"),Promise.reject(new Error("No key matching kid or alg found in signing keys"));var u=r._settings.client_id,c=r._settings.clockSkew;return o.Log.debug("UserInfoService._getClaimsFromJwt: Validaing JWT; using clock skew (in seconds) of: ",c),r._joseUtil.validateJwt(e.responseText,a,t,u,c,void 0,!0).then((function(){return o.Log.debug("UserInfoService._getClaimsFromJwt: JWT validation successful"),n.payload}))}))}))}catch(t){return o.Log.error("UserInfoService._getClaimsFromJwt: Error parsing JWT response",t.message),void reject(t)}},t.prototype._filterByAlg=function(t,e){var r=null;if(e.startsWith("RS"))r="RSA";else if(e.startsWith("PS"))r="PS";else{if(!e.startsWith("ES"))return o.Log.debug("UserInfoService._filterByAlg: alg not supported: ",e),[];r="EC"}return o.Log.debug("UserInfoService._filterByAlg: Looking for keys that match kty: ",r),t=t.filter((function(t){return t.kty===r})),o.Log.debug("UserInfoService._filterByAlg: Number of keys that match kty: ",r,t.length),t},t}()},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AllowedSigningAlgs=e.b64tohex=e.hextob64u=e.crypto=e.X509=e.KeyUtil=e.jws=void 0;var n=r(27);e.jws=n.jws,e.KeyUtil=n.KEYUTIL,e.X509=n.X509,e.crypto=n.crypto,e.hextob64u=n.hextob64u,e.b64tohex=n.b64tohex,e.AllowedSigningAlgs=["RS256","RS384","RS512","PS256","PS384","PS512","ES256","ES384","ES512"]},function(t,e,r){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n={userAgent:!1},i={};if(void 0===o)var o={};o.lang={extend:function(t,e,r){if(!e||!t)throw new Error("YAHOO.lang.extend failed, please check that all dependencies are included.");var i=function(){};if(i.prototype=e.prototype,t.prototype=new i,t.prototype.constructor=t,t.superclass=e.prototype,e.prototype.constructor==Object.prototype.constructor&&(e.prototype.constructor=e),r){var o;for(o in r)t.prototype[o]=r[o];var s=function(){},a=["toString","valueOf"];try{/MSIE/.test(n.userAgent)&&(s=function(t,e){for(o=0;o>>2]>>>24-o%4*8&255;e[n+o>>>2]|=s<<24-(n+o)%4*8}else for(o=0;o>>2]=r[o>>>2];return this.sigBytes+=i,this},clamp:function(){var t=this.words,e=this.sigBytes;t[e>>>2]&=4294967295<<32-e%4*8,t.length=s.ceil(e/4)},clone:function(){var t=c.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var e=[],r=0;r>>2]>>>24-i%4*8&255;n.push((o>>>4).toString(16)),n.push((15&o).toString(16))}return n.join("")},parse:function(t){for(var e=t.length,r=[],n=0;n>>3]|=parseInt(t.substr(n,2),16)<<24-n%8*4;return new h.init(r,e/2)}},g=l.Latin1={stringify:function(t){for(var e=t.words,r=t.sigBytes,n=[],i=0;i>>2]>>>24-i%4*8&255;n.push(String.fromCharCode(o))}return n.join("")},parse:function(t){for(var e=t.length,r=[],n=0;n>>2]|=(255&t.charCodeAt(n))<<24-n%4*8;return new h.init(r,e)}},d=l.Utf8={stringify:function(t){try{return decodeURIComponent(escape(g.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return g.parse(unescape(encodeURIComponent(t)))}},p=u.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new h.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=d.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(t){var e=this._data,r=e.words,n=e.sigBytes,i=this.blockSize,o=n/(4*i),a=(o=t?s.ceil(o):s.max((0|o)-this._minBufferSize,0))*i,u=s.min(4*a,n);if(a){for(var c=0;c>>2]>>>24-i%4*8&255)<<16|(e[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|e[i+2>>>2]>>>24-(i+2)%4*8&255,s=0;4>s&&i+.75*s>>6*(3-s)&63));if(e=n.charAt(64))for(;t.length%4;)t.push(e);return t.join("")},parse:function(t){var r=t.length,n=this._map;(i=n.charAt(64))&&-1!=(i=t.indexOf(i))&&(r=i);for(var i=[],o=0,s=0;s>>6-s%4*2;i[o>>>2]|=(a|u)<<24-o%4*8,o++}return e.create(i,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),function(t){for(var e=y,r=(i=e.lib).WordArray,n=i.Hasher,i=e.algo,o=[],s=[],a=function(t){return 4294967296*(t-(0|t))|0},u=2,c=0;64>c;){var h;t:{h=u;for(var l=t.sqrt(h),f=2;f<=l;f++)if(!(h%f)){h=!1;break t}h=!0}h&&(8>c&&(o[c]=a(t.pow(u,.5))),s[c]=a(t.pow(u,1/3)),c++),u++}var g=[];i=i.SHA256=n.extend({_doReset:function(){this._hash=new r.init(o.slice(0))},_doProcessBlock:function(t,e){for(var r=this._hash.words,n=r[0],i=r[1],o=r[2],a=r[3],u=r[4],c=r[5],h=r[6],l=r[7],f=0;64>f;f++){if(16>f)g[f]=0|t[e+f];else{var d=g[f-15],p=g[f-2];g[f]=((d<<25|d>>>7)^(d<<14|d>>>18)^d>>>3)+g[f-7]+((p<<15|p>>>17)^(p<<13|p>>>19)^p>>>10)+g[f-16]}d=l+((u<<26|u>>>6)^(u<<21|u>>>11)^(u<<7|u>>>25))+(u&c^~u&h)+s[f]+g[f],p=((n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22))+(n&i^n&o^i&o),l=h,h=c,c=u,u=a+d|0,a=o,o=i,i=n,n=d+p|0}r[0]=r[0]+n|0,r[1]=r[1]+i|0,r[2]=r[2]+o|0,r[3]=r[3]+a|0,r[4]=r[4]+u|0,r[5]=r[5]+c|0,r[6]=r[6]+h|0,r[7]=r[7]+l|0},_doFinalize:function(){var e=this._data,r=e.words,n=8*this._nDataBytes,i=8*e.sigBytes;return r[i>>>5]|=128<<24-i%32,r[14+(i+64>>>9<<4)]=t.floor(n/4294967296),r[15+(i+64>>>9<<4)]=n,e.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var t=n.clone.call(this);return t._hash=this._hash.clone(),t}}),e.SHA256=n._createHelper(i),e.HmacSHA256=n._createHmacHelper(i)}(Math),function(){function t(){return n.create.apply(n,arguments)}for(var e=y,r=e.lib.Hasher,n=(o=e.x64).Word,i=o.WordArray,o=e.algo,s=[t(1116352408,3609767458),t(1899447441,602891725),t(3049323471,3964484399),t(3921009573,2173295548),t(961987163,4081628472),t(1508970993,3053834265),t(2453635748,2937671579),t(2870763221,3664609560),t(3624381080,2734883394),t(310598401,1164996542),t(607225278,1323610764),t(1426881987,3590304994),t(1925078388,4068182383),t(2162078206,991336113),t(2614888103,633803317),t(3248222580,3479774868),t(3835390401,2666613458),t(4022224774,944711139),t(264347078,2341262773),t(604807628,2007800933),t(770255983,1495990901),t(1249150122,1856431235),t(1555081692,3175218132),t(1996064986,2198950837),t(2554220882,3999719339),t(2821834349,766784016),t(2952996808,2566594879),t(3210313671,3203337956),t(3336571891,1034457026),t(3584528711,2466948901),t(113926993,3758326383),t(338241895,168717936),t(666307205,1188179964),t(773529912,1546045734),t(1294757372,1522805485),t(1396182291,2643833823),t(1695183700,2343527390),t(1986661051,1014477480),t(2177026350,1206759142),t(2456956037,344077627),t(2730485921,1290863460),t(2820302411,3158454273),t(3259730800,3505952657),t(3345764771,106217008),t(3516065817,3606008344),t(3600352804,1432725776),t(4094571909,1467031594),t(275423344,851169720),t(430227734,3100823752),t(506948616,1363258195),t(659060556,3750685593),t(883997877,3785050280),t(958139571,3318307427),t(1322822218,3812723403),t(1537002063,2003034995),t(1747873779,3602036899),t(1955562222,1575990012),t(2024104815,1125592928),t(2227730452,2716904306),t(2361852424,442776044),t(2428436474,593698344),t(2756734187,3733110249),t(3204031479,2999351573),t(3329325298,3815920427),t(3391569614,3928383900),t(3515267271,566280711),t(3940187606,3454069534),t(4118630271,4000239992),t(116418474,1914138554),t(174292421,2731055270),t(289380356,3203993006),t(460393269,320620315),t(685471733,587496836),t(852142971,1086792851),t(1017036298,365543100),t(1126000580,2618297676),t(1288033470,3409855158),t(1501505948,4234509866),t(1607167915,987167468),t(1816402316,1246189591)],a=[],u=0;80>u;u++)a[u]=t();o=o.SHA512=r.extend({_doReset:function(){this._hash=new i.init([new n.init(1779033703,4089235720),new n.init(3144134277,2227873595),new n.init(1013904242,4271175723),new n.init(2773480762,1595750129),new n.init(1359893119,2917565137),new n.init(2600822924,725511199),new n.init(528734635,4215389547),new n.init(1541459225,327033209)])},_doProcessBlock:function(t,e){for(var r=(l=this._hash.words)[0],n=l[1],i=l[2],o=l[3],u=l[4],c=l[5],h=l[6],l=l[7],f=r.high,g=r.low,d=n.high,p=n.low,v=i.high,y=i.low,m=o.high,_=o.low,S=u.high,w=u.low,b=c.high,F=c.low,E=h.high,x=h.low,A=l.high,k=l.low,P=f,C=g,T=d,R=p,I=v,D=y,L=m,N=_,U=S,O=w,B=b,M=F,j=E,H=x,K=A,V=k,q=0;80>q;q++){var J=a[q];if(16>q)var W=J.high=0|t[e+2*q],z=J.low=0|t[e+2*q+1];else{W=((z=(W=a[q-15]).high)>>>1|(Y=W.low)<<31)^(z>>>8|Y<<24)^z>>>7;var Y=(Y>>>1|z<<31)^(Y>>>8|z<<24)^(Y>>>7|z<<25),G=((z=(G=a[q-2]).high)>>>19|($=G.low)<<13)^(z<<3|$>>>29)^z>>>6,$=($>>>19|z<<13)^($<<3|z>>>29)^($>>>6|z<<26),X=(z=a[q-7]).high,Q=(Z=a[q-16]).high,Z=Z.low;W=(W=(W=W+X+((z=Y+z.low)>>>0>>0?1:0))+G+((z+=$)>>>0<$>>>0?1:0))+Q+((z+=Z)>>>0>>0?1:0),J.high=W,J.low=z}X=U&B^~U&j,Z=O&M^~O&H,J=P&T^P&I^T&I;var tt=C&R^C&D^R&D,et=(Y=(P>>>28|C<<4)^(P<<30|C>>>2)^(P<<25|C>>>7),G=(C>>>28|P<<4)^(C<<30|P>>>2)^(C<<25|P>>>7),($=s[q]).high),rt=$.low;Q=K+((U>>>14|O<<18)^(U>>>18|O<<14)^(U<<23|O>>>9))+(($=V+((O>>>14|U<<18)^(O>>>18|U<<14)^(O<<23|U>>>9)))>>>0>>0?1:0),K=j,V=H,j=B,H=M,B=U,M=O,U=L+(Q=(Q=(Q=Q+X+(($+=Z)>>>0>>0?1:0))+et+(($+=rt)>>>0