fix bug total margins for magloo

This commit is contained in:
salam committed 2026-03-04 16:00:15 +01:00
1 parent 90b1467be4
commit 7ff3fbadb6
7 files changed
+67 -66

No files matched your search

@@ -14,7 +14,7 @@ class MaglooStorePoints
foreach ($data as $handicap => $value) {
$odds = $value;
$odds['margin'] = (float) Margin::calculate($odds, 1);
$odds['margin'] = (float) Margin::calculate([$odds['home'], $odds['away']], 1);
$odds['active_spread'] = $value['active_spread'];
$odds['handicap'] = $handicap;
$odds['difference'] = abs(1 / $odds['home'] - 1 / $odds['away']);
@@ -14,7 +14,7 @@ class MaglooStorePointsQ1
foreach ($data as $handicap => $value) {
$odds = $value;
$odds['margin'] = (float) Margin::calculate($odds, 1);
$odds['margin'] = (float) Margin::calculate([$odds['home'], $odds['away']], 1);
$odds['active_spread'] = $value['active_spread'];
$odds['handicap'] = $handicap;
$odds['difference'] = abs(1 / $odds['home'] - 1 / $odds['away']);
@@ -14,7 +14,7 @@ class MaglooStoreTotals
foreach ($data as $total => $value) {
$odds = $value;
$odds['margin'] = (float) Margin::calculate($odds, 1);
$odds['margin'] = (float) Margin::calculate([$odds['over'], $odds['under']], 1);
$odds['active_spread'] = $value['active_spread'];
$odds['total'] = $total;
$odds['difference'] = abs(1 / $odds['over'] - 1 / $odds['under']);
@@ -14,7 +14,7 @@ class MaglooStoreTotalsQ1
foreach ($data as $total => $value) {
$odds = $value;
$odds['margin'] = (float) Margin::calculate($odds, 1);
$odds['margin'] = (float) Margin::calculate([$odds['over'], $odds['under']], 1);
$odds['active_spread'] = $value['active_spread'];
$odds['total'] = $total;
$odds['difference'] = abs(1 / $odds['over'] - 1 / $odds['under']);
Generated
+61 -60
View File
@@ -1501,16 +1501,16 @@
},
{
"name": "filament/actions",
"version": "v4.7.3",
"version": "v4.8.1",
"source": {
"type": "git",
"url": "https://github.com/filamentphp/actions.git",
"reference": "3c72645f04112b2b50d0af64d9765b304ea6e069"
"reference": "e9e59f1aae021f74001d5681822b6394f0a0383b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/filamentphp/actions/zipball/3c72645f04112b2b50d0af64d9765b304ea6e069",
"reference": "3c72645f04112b2b50d0af64d9765b304ea6e069",
"url": "https://api.github.com/repos/filamentphp/actions/zipball/e9e59f1aae021f74001d5681822b6394f0a0383b",
"reference": "e9e59f1aae021f74001d5681822b6394f0a0383b",
"shasum": ""
},
"require": {
@@ -1546,20 +1546,20 @@
"issues": "https://github.com/filamentphp/filament/issues",
"source": "https://github.com/filamentphp/filament"
},
"time": "2026-02-20T12:18:10+00:00"
"time": "2026-02-27T13:52:36+00:00"
},
{
"name": "filament/filament",
"version": "v4.7.3",
"version": "v4.8.1",
"source": {
"type": "git",
"url": "https://github.com/filamentphp/panels.git",
"reference": "77d97143fc535b64067095fb154713006adefd83"
"reference": "853ba7ceb538c006215c49c37005db315ef48310"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/filamentphp/panels/zipball/77d97143fc535b64067095fb154713006adefd83",
"reference": "77d97143fc535b64067095fb154713006adefd83",
"url": "https://api.github.com/repos/filamentphp/panels/zipball/853ba7ceb538c006215c49c37005db315ef48310",
"reference": "853ba7ceb538c006215c49c37005db315ef48310",
"shasum": ""
},
"require": {
@@ -1603,20 +1603,20 @@
"issues": "https://github.com/filamentphp/filament/issues",
"source": "https://github.com/filamentphp/filament"
},
"time": "2026-02-25T15:29:42+00:00"
"time": "2026-03-03T09:22:23+00:00"
},
{
"name": "filament/forms",
"version": "v4.7.3",
"version": "v4.8.1",
"source": {
"type": "git",
"url": "https://github.com/filamentphp/forms.git",
"reference": "711e6d0f9d08fc51d486c14fedd69ff4edd01fd8"
"reference": "d5e48fd4e48199963dc7e7242df6c2c2c2380493"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/filamentphp/forms/zipball/711e6d0f9d08fc51d486c14fedd69ff4edd01fd8",
"reference": "711e6d0f9d08fc51d486c14fedd69ff4edd01fd8",
"url": "https://api.github.com/repos/filamentphp/forms/zipball/d5e48fd4e48199963dc7e7242df6c2c2c2380493",
"reference": "d5e48fd4e48199963dc7e7242df6c2c2c2380493",
"shasum": ""
},
"require": {
@@ -1653,11 +1653,11 @@
"issues": "https://github.com/filamentphp/filament/issues",
"source": "https://github.com/filamentphp/filament"
},
"time": "2026-02-25T15:29:46+00:00"
"time": "2026-02-28T22:46:30+00:00"
},
{
"name": "filament/infolists",
"version": "v4.7.3",
"version": "v4.8.1",
"source": {
"type": "git",
"url": "https://github.com/filamentphp/infolists.git",
@@ -1702,7 +1702,7 @@
},
{
"name": "filament/notifications",
"version": "v4.7.3",
"version": "v4.8.1",
"source": {
"type": "git",
"url": "https://github.com/filamentphp/notifications.git",
@@ -1749,7 +1749,7 @@
},
{
"name": "filament/query-builder",
"version": "v4.7.3",
"version": "v4.8.1",
"source": {
"type": "git",
"url": "https://github.com/filamentphp/query-builder.git",
@@ -1795,16 +1795,16 @@
},
{
"name": "filament/schemas",
"version": "v4.7.3",
"version": "v4.8.1",
"source": {
"type": "git",
"url": "https://github.com/filamentphp/schemas.git",
"reference": "e011b17adbe1ec9b6b45a21c2540f1aee60b4b27"
"reference": "4c3631ec0361fd4f2b1c230ae7ffe6721ad343c7"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/filamentphp/schemas/zipball/e011b17adbe1ec9b6b45a21c2540f1aee60b4b27",
"reference": "e011b17adbe1ec9b6b45a21c2540f1aee60b4b27",
"url": "https://api.github.com/repos/filamentphp/schemas/zipball/4c3631ec0361fd4f2b1c230ae7ffe6721ad343c7",
"reference": "4c3631ec0361fd4f2b1c230ae7ffe6721ad343c7",
"shasum": ""
},
"require": {
@@ -1836,20 +1836,20 @@
"issues": "https://github.com/filamentphp/filament/issues",
"source": "https://github.com/filamentphp/filament"
},
"time": "2026-02-25T15:29:38+00:00"
"time": "2026-02-28T22:46:32+00:00"
},
{
"name": "filament/support",
"version": "v4.7.3",
"version": "v4.8.1",
"source": {
"type": "git",
"url": "https://github.com/filamentphp/support.git",
"reference": "3c68c4bef64807d98a1481a4e621c5d9a8cbcf69"
"reference": "a7f3038e336e36a6f8fb838863cb56e76c8a8b94"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/filamentphp/support/zipball/3c68c4bef64807d98a1481a4e621c5d9a8cbcf69",
"reference": "3c68c4bef64807d98a1481a4e621c5d9a8cbcf69",
"url": "https://api.github.com/repos/filamentphp/support/zipball/a7f3038e336e36a6f8fb838863cb56e76c8a8b94",
"reference": "a7f3038e336e36a6f8fb838863cb56e76c8a8b94",
"shasum": ""
},
"require": {
@@ -1894,20 +1894,20 @@
"issues": "https://github.com/filamentphp/filament/issues",
"source": "https://github.com/filamentphp/filament"
},
"time": "2026-02-20T12:25:28+00:00"
"time": "2026-02-28T22:46:34+00:00"
},
{
"name": "filament/tables",
"version": "v4.7.3",
"version": "v4.8.1",
"source": {
"type": "git",
"url": "https://github.com/filamentphp/tables.git",
"reference": "907c8042e72c5271e11dc668e7d092beb5374d58"
"reference": "dbafd852f40694e63b0bde0cb15d72da0f6c6a4e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/filamentphp/tables/zipball/907c8042e72c5271e11dc668e7d092beb5374d58",
"reference": "907c8042e72c5271e11dc668e7d092beb5374d58",
"url": "https://api.github.com/repos/filamentphp/tables/zipball/dbafd852f40694e63b0bde0cb15d72da0f6c6a4e",
"reference": "dbafd852f40694e63b0bde0cb15d72da0f6c6a4e",
"shasum": ""
},
"require": {
@@ -1940,20 +1940,20 @@
"issues": "https://github.com/filamentphp/filament/issues",
"source": "https://github.com/filamentphp/filament"
},
"time": "2026-02-25T15:29:40+00:00"
"time": "2026-02-28T22:46:30+00:00"
},
{
"name": "filament/widgets",
"version": "v4.7.3",
"version": "v4.8.1",
"source": {
"type": "git",
"url": "https://github.com/filamentphp/widgets.git",
"reference": "7c688003873fa699eba6c2cf1ca722d33507e68e"
"reference": "d3b01445c750842bc702dc55b4c22f6096024e05"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/filamentphp/widgets/zipball/7c688003873fa699eba6c2cf1ca722d33507e68e",
"reference": "7c688003873fa699eba6c2cf1ca722d33507e68e",
"url": "https://api.github.com/repos/filamentphp/widgets/zipball/d3b01445c750842bc702dc55b4c22f6096024e05",
"reference": "d3b01445c750842bc702dc55b4c22f6096024e05",
"shasum": ""
},
"require": {
@@ -1984,7 +1984,7 @@
"issues": "https://github.com/filamentphp/filament/issues",
"source": "https://github.com/filamentphp/filament"
},
"time": "2026-02-25T15:29:37+00:00"
"time": "2026-02-28T22:46:29+00:00"
},
{
"name": "fruitcake/php-cors",
@@ -2881,26 +2881,27 @@
},
{
"name": "joaopaulolndev/filament-edit-profile",
"version": "v2.0.13",
"version": "v2.0.15",
"source": {
"type": "git",
"url": "https://github.com/joaopaulolndev/filament-edit-profile.git",
"reference": "e632f33458d33cb3d9525af21d87dec14f6c3e06"
"reference": "6d5188116d8487a427d4e70968da91694218de27"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/joaopaulolndev/filament-edit-profile/zipball/e632f33458d33cb3d9525af21d87dec14f6c3e06",
"reference": "e632f33458d33cb3d9525af21d87dec14f6c3e06",
"url": "https://api.github.com/repos/joaopaulolndev/filament-edit-profile/zipball/6d5188116d8487a427d4e70968da91694218de27",
"reference": "6d5188116d8487a427d4e70968da91694218de27",
"shasum": ""
},
"require": {
"filament/filament": "^4.0",
"filament/filament": "^4.8",
"jenssegers/agent": "^2.6",
"php": "^8.2",
"spatie/laravel-package-tools": "^1.15.0"
},
"require-dev": {
"laradumps/laradumps": "^3.1",
"larastan/larastan": "^3.9",
"laravel/pint": "^1.0",
"nunomaduro/collision": "^7.9|^8.6",
"orchestra/testbench": "^8.0|^9.0|^10.0",
@@ -2950,7 +2951,7 @@
"type": "github"
}
],
"time": "2025-09-13T18:12:40+00:00"
"time": "2026-03-04T02:40:12+00:00"
},
{
"name": "kirschbaum-development/eloquent-power-joins",
@@ -5157,27 +5158,27 @@
},
{
"name": "outhebox/blade-flags",
"version": "1.6.1",
"version": "1.7.0",
"source": {
"type": "git",
"url": "https://github.com/MohmmedAshraf/blade-flags.git",
"reference": "8c5bc1f483fd9daf06cd2a1edb746a549683dccd"
"reference": "00574e523f179d5a64dec555bea4dfd9ea9cd463"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/MohmmedAshraf/blade-flags/zipball/8c5bc1f483fd9daf06cd2a1edb746a549683dccd",
"reference": "8c5bc1f483fd9daf06cd2a1edb746a549683dccd",
"url": "https://api.github.com/repos/MohmmedAshraf/blade-flags/zipball/00574e523f179d5a64dec555bea4dfd9ea9cd463",
"reference": "00574e523f179d5a64dec555bea4dfd9ea9cd463",
"shasum": ""
},
"require": {
"blade-ui-kit/blade-icons": "^1.1",
"ext-json": "*",
"illuminate/support": "^8.0|^9.0|^10.0|^11.0|^12.0",
"illuminate/support": "^8.0|^9.0|^10.0|^11.0|^12.0|^13.0",
"php": "^7.4|^8.0|^8.1|^8.2"
},
"require-dev": {
"orchestra/testbench": "^6.0|^7.0|^8.0|^9.0|^10.0",
"phpunit/phpunit": "^9.0|^10.5|^11.5.3"
"orchestra/testbench": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0",
"phpunit/phpunit": "^9.0|^10.5|^11.5.3|^12.5.12"
},
"type": "library",
"extra": {
@@ -5214,7 +5215,7 @@
],
"support": {
"issues": "https://github.com/MohmmedAshraf/blade-flags/issues",
"source": "https://github.com/MohmmedAshraf/blade-flags/tree/js-v0.1.2"
"source": "https://github.com/MohmmedAshraf/blade-flags/tree/1.7.0"
},
"funding": [
{
@@ -5222,7 +5223,7 @@
"type": "github"
}
],
"time": "2026-02-14T14:49:30+00:00"
"time": "2026-03-01T17:25:55+00:00"
},
{
"name": "paragonie/constant_time_encoding",
@@ -9956,7 +9957,7 @@
},
{
"name": "filament/upgrade",
"version": "v4.7.3",
"version": "v4.8.1",
"source": {
"type": "git",
"url": "https://github.com/filamentphp/upgrade.git",
@@ -11277,16 +11278,16 @@
},
{
"name": "phpdocumentor/reflection-docblock",
"version": "6.0.1",
"version": "6.0.2",
"source": {
"type": "git",
"url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
"reference": "2f5cbed597cb261d1ea458f3da3a9ad32e670b1e"
"reference": "897b5986ece6b4f9d8413fea345c7d49c757d6bf"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/2f5cbed597cb261d1ea458f3da3a9ad32e670b1e",
"reference": "2f5cbed597cb261d1ea458f3da3a9ad32e670b1e",
"url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/897b5986ece6b4f9d8413fea345c7d49c757d6bf",
"reference": "897b5986ece6b4f9d8413fea345c7d49c757d6bf",
"shasum": ""
},
"require": {
@@ -11336,9 +11337,9 @@
"description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
"support": {
"issues": "https://github.com/phpDocumentor/ReflectionDocBlock/issues",
"source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/6.0.1"
"source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/6.0.2"
},
"time": "2026-01-20T15:30:42+00:00"
"time": "2026-03-01T18:43:49+00:00"
},
{
"name": "phpdocumentor/type-resolver",
+1 -1
View File
@@ -1,2 +1,2 @@
/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-tracking:initial;--tw-duration:initial;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-ease:initial;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-divide-x-reverse:0;--tw-content:"";--tw-outline-style:solid;--tw-space-x-reverse:0}}}@layer theme{:root,:host{--font-mono:var(--mono-font-family),ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-sky-400:oklch(74.6% .16 232.661);--color-gray-100:var(--gray-100);--color-gray-200:var(--gray-200);--color-gray-300:var(--gray-300);--color-gray-400:var(--gray-400);--color-gray-500:var(--gray-500);--color-gray-600:var(--gray-600);--color-gray-700:var(--gray-700);--color-gray-900:var(--gray-900);--color-gray-950:var(--gray-950);--color-black:#000;--color-white:#fff;--spacing:.25rem;--breakpoint-sm:40rem;--breakpoint-md:48rem;--breakpoint-lg:64rem;--breakpoint-xl:80rem;--breakpoint-2xl:96rem;--container-3xs:16rem;--container-xs:20rem;--container-sm:24rem;--container-md:28rem;--container-lg:32rem;--container-xl:36rem;--container-2xl:42rem;--container-3xl:48rem;--container-4xl:56rem;--container-5xl:64rem;--container-6xl:72rem;--container-7xl:80rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height:calc(1.5/1);--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-3xl:1.875rem;--text-3xl--line-height:calc(2.25/1.875);--font-weight-thin:100;--font-weight-extralight:200;--font-weight-light:300;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--font-weight-extrabold:800;--font-weight-black:900;--tracking-tighter:-.05em;--tracking-tight:-.025em;--leading-loose:2;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--ease-in:cubic-bezier(.4,0,1,1);--ease-out:cubic-bezier(0,0,.2,1);--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-family),ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--default-mono-font-family:var(--mono-font-family),ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-primary-400:var(--primary-400)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;heLine truncated
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-tracking:initial;--tw-duration:initial;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-ease:initial;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-divide-x-reverse:0;--tw-content:"";--tw-outline-style:solid;--tw-space-x-reverse:0}}}@layer theme{:root,:host{--font-mono:var(--mono-font-family),ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-sky-400:oklch(74.6% .16 232.661);--color-gray-100:var(--gray-100);--color-gray-200:var(--gray-200);--color-gray-300:var(--gray-300);--color-gray-400:var(--gray-400);--color-gray-500:var(--gray-500);--color-gray-600:var(--gray-600);--color-gray-700:var(--gray-700);--color-gray-900:var(--gray-900);--color-gray-950:var(--gray-950);--color-black:#000;--color-white:#fff;--spacing:.25rem;--breakpoint-sm:40rem;--breakpoint-md:48rem;--breakpoint-lg:64rem;--breakpoint-xl:80rem;--breakpoint-2xl:96rem;--container-3xs:16rem;--container-xs:20rem;--container-sm:24rem;--container-md:28rem;--container-lg:32rem;--container-xl:36rem;--container-2xl:42rem;--container-3xl:48rem;--container-4xl:56rem;--container-5xl:64rem;--container-6xl:72rem;--container-7xl:80rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height:calc(1.5/1);--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-3xl:1.875rem;--text-3xl--line-height:calc(2.25/1.875);--font-weight-thin:100;--font-weight-extralight:200;--font-weight-light:300;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--font-weight-extrabold:800;--font-weight-black:900;--tracking-tighter:-.05em;--tracking-tight:-.025em;--leading-loose:2;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--ease-in:cubic-bezier(.4,0,1,1);--ease-out:cubic-bezier(0,0,.2,1);--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-family),ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--default-mono-font-family:var(--mono-font-family),ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-primary-400:var(--primary-400)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;heLine truncated
+1 -1
View File
@@ -1 +1 @@
(()=>{var re=Object.create,N=Object.defineProperty,ne=Object.getPrototypeOf,ie=Object.prototype.hasOwnProperty,oe=Object.getOwnPropertyNames,ae=Object.getOwnPropertyDescriptor,se=t=>N(t,"__esModule",{value:!0}),le=(t,n)=>()=>(n||(n={exports:{}},t(n.exports,n)),n.exports),fe=(t,n,i)=>{if(n&&typeof n=="object"||typeof n=="function")for(let a of oe(n))!ie.call(t,a)&&a!=="default"&&N(t,a,{get:()=>n[a],enumerable:!(i=ae(n,a))||i.enumerable});return t},ue=t=>fe(se(N(t!=null?re(ne(t)):{},"default",t&&t.__esModule&&"default"in t?{get:()=>t.default,enumerable:!0}:{value:t,enumerable:!0})),t),pe=le((t,n)=>{(function(i,a,w){if(!i)return;for(var u={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},v={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},y={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},U={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},A,m=1;m<20;++m)u[111+m]="f"+m;for(m=0;m<=9;++m)u[m+96]=m.toString();function C(e,r,s){if(e.addEventListener){e.addEventListener(r,s,!1);return}e.attachEvent("on"+r,s)}function G(e){if(e.type=="keypress"){var r=String.fromCharCode(e.which);return e.shiftKey||(r=r.toLowerCase()),r}return u[e.which]?u[e.which]:v[e.which]?v[e.which]:String.fromCharCode(e.which).toLowerCase()}function V(e,r){return e.sort().join(",")===r.sort().join(",")}function F(e){var r=[];return e.shiftKey&&r.push("shift"),e.altKey&&r.push("alt"),e.ctrlKey&&r.push("ctrl"),e.metaKey&&r.push("meta"),r}function H(e){if(e.preventDefault){e.preventDefault();return}e.returnValue=!1}function B(e){if(e.stopPropagation){e.stopPropagation();return}e.cancelBubble=!0}function P(e){return e=="shift"||e=="ctrl"||e=="alt"||e=="meta"}function X(){if(!A){A={};for(var e in u)e>95&&e<112||u.hasOwnProperty(e)&&(A[u[e]]=e)}return A}function Y(e,r,s){return s||(s=X()[e]?"keydown":"keypress"),s=="keypress"&&r.length&&(s="keydown"),s}function Q(e){return e==="+"?["+"]:(e=e.replace(/\+{2}/g,"+plus"),e.split("+"))}function T(e,r){var s,h,k,S=[];for(s=Q(e),k=0;k<s.length;++k)h=s[k],U[h]&&(h=U[h]),r&&r!="keypress"&&y[h]&&(h=y[h],S.push("shift")),P(h)&&S.push(h);return r=Y(h,S,r),{key:h,modifiers:S,action:r}}function R(e,r){return e===null||e===a?!1:e===r?!0:R(e.parentNode,r)}function _(e){var r=this;if(e=e||a,!(r instanceof _))return new _(e);r.target=e,r._callbacks={},r._directMap={};var s={},h,k=!1,S=!1,E=!1;function D(o){o=o||{};var f=!1,c;for(c in s){if(o[c]){f=!0;continue}s[c]=0}f||(E=!1)}function I(o,f,c,l,d,b){var p,g,M=[],O=c.type;if(!r._callbacks[o])return[];for(O=="keyup"&&P(o)&&(f=[o]),p=0;p<r._callbacks[o].length;++p)if(g=r._callbacks[o][p],!(!l&&g.seq&&s[g.seq]!=g.level)&&O==g.action&&(O=="keypress"&&!c.metaKey&&!c.ctrlKey||V(f,g.modifiers))){var ee=!l&&g.combo==d,te=l&&g.seq==l&&g.level==b;(ee||te)&&r._callbacks[o].splice(p,1),M.push(g)}return M}function L(o,f,c,l){r.stopCallback(f,f.target||f.srcElement,c,l)||o(f,c)===!1&&(H(f),B(f))}r._handleKey=function(o,f,c){var l=I(o,f,c),d,b={},p=0,g=!1;for(d=0;d<l.length;++d)l[d].seq&&(p=Math.max(p,l[d].level));for(d=0;d<l.length;++d){if(l[d].seq){if(l[d].level!=p)continue;g=!0,b[l[d].seq]=1,L(l[d].callback,c,l[d].combo,l[d].seq);continue}g||L(l[d].callback,c,l[d].combo)}var M=c.type=="keypress"&&S;c.type==E&&!P(o)&&!M&&D(b),S=g&&c.type=="keydown"};function K(o){typeof o.which!="number"&&(o.which=o.keyCode);var f=G(o);if(f){if(o.type=="keyup"&&k===f){k=!1;return}r.handleKey(f,F(o),o)}}function Z(){clearTimeout(h),h=setTimeout(D,1e3)}function $(o,f,c,l){s[o]=0;function d(O){return function(){E=O,++s[o],Z()}}function b(O){L(c,O,o),l!=="keyup"&&(k=G(O)),setTimeout(D,10)}for(var p=0;p<f.length;++p){var g=p+1===f.length,M=g?b:d(l||T(f[p+1]).action);z(f[p],M,l,o,p)}}function z(o,f,c,l,d){r._directMap[o+":"+c]=f,o=o.replace(/\s+/g," ");var b=o.split(" "),p;if(b.length>1){$(o,b,f,c);return}p=T(o,c),r._callbacks[p.key]=r._callbacks[p.key]||[],I(p.key,p.modifiers,{type:p.action},l,o,d),r._callbacks[p.key][l?"unshift":"push"]({callback:f,modifiers:p.modifiers,action:p.action,seq:l,level:d,combo:o})}r._bindMultiple=function(o,f,c){for(var l=0;l<o.length;++l)z(o[l],f,c)},C(e,"keypress",K),C(e,"keydown",K),C(e,"keyup",K)}_.prototype.bind=function(e,r,s){var h=this;return e=e instanceof Array?e:[e],h._bindMultiple.call(h,e,r,s),h},_.prototype.unbind=function(e,r){var s=this;return s.bind.call(s,e,function(){},r)},_.prototype.trigger=function(e,r){var s=this;return s._directMap[e+":"+r]&&s._directMap[e+":"+r]({},e),s},_.prototype.reset=function(){var e=this;return e._callbacks={},e._directMap={},e},_.prototype.stopCallback=function(e,r){var s=this;if((" "+Line truncated
(()=>{var re=Object.create,N=Object.defineProperty,ne=Object.getPrototypeOf,ie=Object.prototype.hasOwnProperty,oe=Object.getOwnPropertyNames,ae=Object.getOwnPropertyDescriptor,se=t=>N(t,"__esModule",{value:!0}),le=(t,n)=>()=>(n||(n={exports:{}},t(n.exports,n)),n.exports),fe=(t,n,i)=>{if(n&&typeof n=="object"||typeof n=="function")for(let a of oe(n))!ie.call(t,a)&&a!=="default"&&N(t,a,{get:()=>n[a],enumerable:!(i=ae(n,a))||i.enumerable});return t},ue=t=>fe(se(N(t!=null?re(ne(t)):{},"default",t&&t.__esModule&&"default"in t?{get:()=>t.default,enumerable:!0}:{value:t,enumerable:!0})),t),pe=le((t,n)=>{(function(i,a,w){if(!i)return;for(var u={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},v={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},y={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},U={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},A,m=1;m<20;++m)u[111+m]="f"+m;for(m=0;m<=9;++m)u[m+96]=m.toString();function C(e,r,s){if(e.addEventListener){e.addEventListener(r,s,!1);return}e.attachEvent("on"+r,s)}function G(e){if(e.type=="keypress"){var r=String.fromCharCode(e.which);return e.shiftKey||(r=r.toLowerCase()),r}return u[e.which]?u[e.which]:v[e.which]?v[e.which]:String.fromCharCode(e.which).toLowerCase()}function V(e,r){return e.sort().join(",")===r.sort().join(",")}function F(e){var r=[];return e.shiftKey&&r.push("shift"),e.altKey&&r.push("alt"),e.ctrlKey&&r.push("ctrl"),e.metaKey&&r.push("meta"),r}function H(e){if(e.preventDefault){e.preventDefault();return}e.returnValue=!1}function B(e){if(e.stopPropagation){e.stopPropagation();return}e.cancelBubble=!0}function P(e){return e=="shift"||e=="ctrl"||e=="alt"||e=="meta"}function X(){if(!A){A={};for(var e in u)e>95&&e<112||u.hasOwnProperty(e)&&(A[u[e]]=e)}return A}function Y(e,r,s){return s||(s=X()[e]?"keydown":"keypress"),s=="keypress"&&r.length&&(s="keydown"),s}function Q(e){return e==="+"?["+"]:(e=e.replace(/\+{2}/g,"+plus"),e.split("+"))}function T(e,r){var s,h,k,S=[];for(s=Q(e),k=0;k<s.length;++k)h=s[k],U[h]&&(h=U[h]),r&&r!="keypress"&&y[h]&&(h=y[h],S.push("shift")),P(h)&&S.push(h);return r=Y(h,S,r),{key:h,modifiers:S,action:r}}function R(e,r){return e===null||e===a?!1:e===r?!0:R(e.parentNode,r)}function _(e){var r=this;if(e=e||a,!(r instanceof _))return new _(e);r.target=e,r._callbacks={},r._directMap={};var s={},h,k=!1,S=!1,E=!1;function D(o){o=o||{};var f=!1,c;for(c in s){if(o[c]){f=!0;continue}s[c]=0}f||(E=!1)}function I(o,f,c,l,d,b){var p,g,M=[],O=c.type;if(!r._callbacks[o])return[];for(O=="keyup"&&P(o)&&(f=[o]),p=0;p<r._callbacks[o].length;++p)if(g=r._callbacks[o][p],!(!l&&g.seq&&s[g.seq]!=g.level)&&O==g.action&&(O=="keypress"&&!c.metaKey&&!c.ctrlKey||V(f,g.modifiers))){var ee=!l&&g.combo==d,te=l&&g.seq==l&&g.level==b;(ee||te)&&r._callbacks[o].splice(p,1),M.push(g)}return M}function L(o,f,c,l){r.stopCallback(f,f.target||f.srcElement,c,l)||o(f,c)===!1&&(H(f),B(f))}r._handleKey=function(o,f,c){var l=I(o,f,c),d,b={},p=0,g=!1;for(d=0;d<l.length;++d)l[d].seq&&(p=Math.max(p,l[d].level));for(d=0;d<l.length;++d){if(l[d].seq){if(l[d].level!=p)continue;g=!0,b[l[d].seq]=1,L(l[d].callback,c,l[d].combo,l[d].seq);continue}g||L(l[d].callback,c,l[d].combo)}var M=c.type=="keypress"&&S;c.type==E&&!P(o)&&!M&&D(b),S=g&&c.type=="keydown"};function K(o){typeof o.which!="number"&&(o.which=o.keyCode);var f=G(o);if(f){if(o.type=="keyup"&&k===f){k=!1;return}r.handleKey(f,F(o),o)}}function Z(){clearTimeout(h),h=setTimeout(D,1e3)}function $(o,f,c,l){s[o]=0;function d(O){return function(){E=O,++s[o],Z()}}function b(O){L(c,O,o),l!=="keyup"&&(k=G(O)),setTimeout(D,10)}for(var p=0;p<f.length;++p){var g=p+1===f.length,M=g?b:d(l||T(f[p+1]).action);z(f[p],M,l,o,p)}}function z(o,f,c,l,d){r._directMap[o+":"+c]=f,o=o.replace(/\s+/g," ");var b=o.split(" "),p;if(b.length>1){$(o,b,f,c);return}p=T(o,c),r._callbacks[p.key]=r._callbacks[p.key]||[],I(p.key,p.modifiers,{type:p.action},l,o,d),r._callbacks[p.key][l?"unshift":"push"]({callback:f,modifiers:p.modifiers,action:p.action,seq:l,level:d,combo:o})}r._bindMultiple=function(o,f,c){for(var l=0;l<o.length;++l)z(o[l],f,c)},C(e,"keypress",K),C(e,"keydown",K),C(e,"keyup",K)}_.prototype.bind=function(e,r,s){var h=this;return e=e instanceof Array?e:[e],h._bindMultiple.call(h,e,r,s),h},_.prototype.unbind=function(e,r){var s=this;return s.bind.call(s,e,function(){},r)},_.prototype.trigger=function(e,r){var s=this;return s._directMap[e+":"+r]&&s._directMap[e+":"+r]({},e),s},_.prototype.reset=function(){var e=this;return e._callbacks={},e._directMap={},e},_.prototype.stopCallback=function(e,r){var s=this;if((" "+Line truncated