From 71ae57c841f4c0a99ae50fd68062795d05817d91 Mon Sep 17 00:00:00 2001 From: Ashraf Monshi Date: Tue, 19 Apr 2022 08:51:53 +0300 Subject: [PATCH] =?UTF-8?q?=E2=9A=A1=EF=B8=8F=E2=9A=A1=EF=B8=8F=E2=9A=A1?= =?UTF-8?q?=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 39 ++++++- composer.lock | 106 +++++++++--------- config/config.php | 9 -- resources/assets/app.js | 2 - resources/{assets => dist}/app.css | 4 +- resources/dist/app.js | 2 + resources/{assets => dist}/app.js.LICENSE.txt | 0 resources/mix-manifest.json | 4 +- resources/views/components/app.blade.php | 2 +- src/CoreServiceProvider.php | 41 +++---- tailwind.config.js | 2 +- webpack.mix.js | 4 +- 12 files changed, 113 insertions(+), 102 deletions(-) delete mode 100644 config/config.php delete mode 100644 resources/assets/app.js rename resources/{assets => dist}/app.css (53%) create mode 100644 resources/dist/app.js rename resources/{assets => dist}/app.js.LICENSE.txt (100%) diff --git a/README.md b/README.md index d36e865..62a0d5a 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,38 @@ -# Lara Zeus Core +

Lara Zeus Core

-## tha main core for all lara-zeus packages. +

+ +

-For more details checkout our website: [larazeus.com](https://larazeus.com/) +

+ +StyleCI + + +CodeFactor +

+ +thia is the main UI core, and blade files for all lara-zeus packages +>small tasks can be time-consuming, let us build these for you, + +## Support Filament + + +filament-logo + + +## why this a seperate package +we have many packages, some are already published, and more in the way. +so it make sense to seprate the assets and the defualt layots we useing in our packages. + +## can I customize these views +Yes of course, you can customize the blade files, and make your own themes + +#### to publish the views +```bash +php artisan vendor:publish --tag=zeus-views +``` +#### to publish the assets files +```bash +php artisan vendor:publish --tag=zeus-assets +``` diff --git a/composer.lock b/composer.lock index ad59e6e..2d9e252 100644 --- a/composer.lock +++ b/composer.lock @@ -940,16 +940,16 @@ }, { "name": "filament/filament", - "version": "v2.10.44", + "version": "v2.10.45", "source": { "type": "git", "url": "https://github.com/laravel-filament/admin.git", - "reference": "caadc3852c4b68ffed82df56f2ff10d90209cdd8" + "reference": "e48125a81d9b5cffefd6694c046b0d78f6ff15ad" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel-filament/admin/zipball/caadc3852c4b68ffed82df56f2ff10d90209cdd8", - "reference": "caadc3852c4b68ffed82df56f2ff10d90209cdd8", + "url": "https://api.github.com/repos/laravel-filament/admin/zipball/e48125a81d9b5cffefd6694c046b0d78f6ff15ad", + "reference": "e48125a81d9b5cffefd6694c046b0d78f6ff15ad", "shasum": "" }, "require": { @@ -996,20 +996,20 @@ "issues": "https://github.com/laravel-filament/filament/issues", "source": "https://github.com/laravel-filament/filament" }, - "time": "2022-04-07T17:15:46+00:00" + "time": "2022-04-17T12:08:29+00:00" }, { "name": "filament/forms", - "version": "v2.10.44", + "version": "v2.10.45", "source": { "type": "git", "url": "https://github.com/laravel-filament/forms.git", - "reference": "b53c56b812c95c2f2364618419603a7b22aa6c09" + "reference": "c920fe0235d827b62428426cf9719f7b5e6e2a11" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel-filament/forms/zipball/b53c56b812c95c2f2364618419603a7b22aa6c09", - "reference": "b53c56b812c95c2f2364618419603a7b22aa6c09", + "url": "https://api.github.com/repos/laravel-filament/forms/zipball/c920fe0235d827b62428426cf9719f7b5e6e2a11", + "reference": "c920fe0235d827b62428426cf9719f7b5e6e2a11", "shasum": "" }, "require": { @@ -1052,20 +1052,20 @@ "issues": "https://github.com/laravel-filament/filament/issues", "source": "https://github.com/laravel-filament/filament" }, - "time": "2022-04-08T07:22:23+00:00" + "time": "2022-04-17T12:08:32+00:00" }, { "name": "filament/tables", - "version": "v2.10.44", + "version": "v2.10.45", "source": { "type": "git", "url": "https://github.com/laravel-filament/tables.git", - "reference": "cf6d75e93ea2e8355b708fdec40301714077d8ef" + "reference": "773e705023eb3fabe8b5a4b3135c986004fddc00" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel-filament/tables/zipball/cf6d75e93ea2e8355b708fdec40301714077d8ef", - "reference": "cf6d75e93ea2e8355b708fdec40301714077d8ef", + "url": "https://api.github.com/repos/laravel-filament/tables/zipball/773e705023eb3fabe8b5a4b3135c986004fddc00", + "reference": "773e705023eb3fabe8b5a4b3135c986004fddc00", "shasum": "" }, "require": { @@ -1105,7 +1105,7 @@ "issues": "https://github.com/laravel-filament/filament/issues", "source": "https://github.com/laravel-filament/filament" }, - "time": "2022-04-07T17:15:42+00:00" + "time": "2022-04-17T12:08:32+00:00" }, { "name": "fruitcake/php-cors", @@ -1314,16 +1314,16 @@ }, { "name": "laravel/framework", - "version": "v9.7.0", + "version": "v9.8.1", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "54c9696ee3e558ab29317ed6e0cb16bb9db5aad4" + "reference": "9f468689964ac80b674a2fe71a56baa7e9e20493" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/54c9696ee3e558ab29317ed6e0cb16bb9db5aad4", - "reference": "54c9696ee3e558ab29317ed6e0cb16bb9db5aad4", + "url": "https://api.github.com/repos/laravel/framework/zipball/9f468689964ac80b674a2fe71a56baa7e9e20493", + "reference": "9f468689964ac80b674a2fe71a56baa7e9e20493", "shasum": "" }, "require": { @@ -1489,7 +1489,7 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2022-04-05T15:07:51+00:00" + "time": "2022-04-12T15:43:03+00:00" }, { "name": "laravel/serializable-closure", @@ -1740,16 +1740,16 @@ }, { "name": "league/flysystem", - "version": "3.0.16", + "version": "3.0.17", "source": { "type": "git", "url": "https://github.com/thephpleague/flysystem.git", - "reference": "dea729954c596bdb6cdaecba6f73df9f3e2c4255" + "reference": "29eb78cac0be0c22237c5e0f6f98234d97037d79" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/dea729954c596bdb6cdaecba6f73df9f3e2c4255", - "reference": "dea729954c596bdb6cdaecba6f73df9f3e2c4255", + "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/29eb78cac0be0c22237c5e0f6f98234d97037d79", + "reference": "29eb78cac0be0c22237c5e0f6f98234d97037d79", "shasum": "" }, "require": { @@ -1810,7 +1810,7 @@ ], "support": { "issues": "https://github.com/thephpleague/flysystem/issues", - "source": "https://github.com/thephpleague/flysystem/tree/3.0.16" + "source": "https://github.com/thephpleague/flysystem/tree/3.0.17" }, "funding": [ { @@ -1826,20 +1826,20 @@ "type": "tidelift" } ], - "time": "2022-04-11T13:32:22+00:00" + "time": "2022-04-14T14:57:13+00:00" }, { "name": "league/mime-type-detection", - "version": "1.10.0", + "version": "1.11.0", "source": { "type": "git", "url": "https://github.com/thephpleague/mime-type-detection.git", - "reference": "3e4a35d756eedc67096f30240a68a3149120dae7" + "reference": "ff6248ea87a9f116e78edd6002e39e5128a0d4dd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/3e4a35d756eedc67096f30240a68a3149120dae7", - "reference": "3e4a35d756eedc67096f30240a68a3149120dae7", + "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/ff6248ea87a9f116e78edd6002e39e5128a0d4dd", + "reference": "ff6248ea87a9f116e78edd6002e39e5128a0d4dd", "shasum": "" }, "require": { @@ -1870,7 +1870,7 @@ "description": "Mime-type detection for Flysystem", "support": { "issues": "https://github.com/thephpleague/mime-type-detection/issues", - "source": "https://github.com/thephpleague/mime-type-detection/tree/1.10.0" + "source": "https://github.com/thephpleague/mime-type-detection/tree/1.11.0" }, "funding": [ { @@ -1882,7 +1882,7 @@ "type": "tidelift" } ], - "time": "2022-04-11T12:49:04+00:00" + "time": "2022-04-17T13:12:02+00:00" }, { "name": "livewire/livewire", @@ -5654,23 +5654,23 @@ }, { "name": "orchestra/testbench", - "version": "v7.3.0", + "version": "v7.4.0", "source": { "type": "git", "url": "https://github.com/orchestral/testbench.git", - "reference": "54f833ede73d7f5332df44df97c4c9117e43640e" + "reference": "45a5ec02b90351a3f8cf33871cbe91bd0aebdbd7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/orchestral/testbench/zipball/54f833ede73d7f5332df44df97c4c9117e43640e", - "reference": "54f833ede73d7f5332df44df97c4c9117e43640e", + "url": "https://api.github.com/repos/orchestral/testbench/zipball/45a5ec02b90351a3f8cf33871cbe91bd0aebdbd7", + "reference": "45a5ec02b90351a3f8cf33871cbe91bd0aebdbd7", "shasum": "" }, "require": { "fakerphp/faker": "^1.9.2", - "laravel/framework": "^9.6", + "laravel/framework": "^9.7", "mockery/mockery": "^1.4.4", - "orchestra/testbench-core": "^7.3", + "orchestra/testbench-core": "^7.4", "php": "^8.0", "phpunit/phpunit": "^9.5.10", "spatie/laravel-ray": "^1.28", @@ -5707,7 +5707,7 @@ ], "support": { "issues": "https://github.com/orchestral/testbench/issues", - "source": "https://github.com/orchestral/testbench/tree/v7.3.0" + "source": "https://github.com/orchestral/testbench/tree/v7.4.0" }, "funding": [ { @@ -5719,20 +5719,20 @@ "type": "liberapay" } ], - "time": "2022-03-30T06:03:21+00:00" + "time": "2022-04-13T01:00:13+00:00" }, { "name": "orchestra/testbench-core", - "version": "v7.3.0", + "version": "v7.4.0", "source": { "type": "git", "url": "https://github.com/orchestral/testbench-core.git", - "reference": "7fb2f5f0809051b46188ef1510cc35c851c01340" + "reference": "104ae725e41e49c1c7a2d09ffad7be63e52fe454" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/orchestral/testbench-core/zipball/7fb2f5f0809051b46188ef1510cc35c851c01340", - "reference": "7fb2f5f0809051b46188ef1510cc35c851c01340", + "url": "https://api.github.com/repos/orchestral/testbench-core/zipball/104ae725e41e49c1c7a2d09ffad7be63e52fe454", + "reference": "104ae725e41e49c1c7a2d09ffad7be63e52fe454", "shasum": "" }, "require": { @@ -5740,7 +5740,7 @@ }, "require-dev": { "fakerphp/faker": "^1.9.2", - "laravel/framework": "^9.6", + "laravel/framework": "^9.7", "laravel/laravel": "9.x-dev", "mockery/mockery": "^1.4.4", "orchestra/canvas": "^7.0", @@ -5750,9 +5750,11 @@ "vlucas/phpdotenv": "^5.4.1" }, "suggest": { + "brianium/paratest": "Allow using parallel tresting (^6.4).", "fakerphp/faker": "Allow using Faker for testing (^1.9.2).", "laravel/framework": "Required for testing (^9.6).", "mockery/mockery": "Allow using Mockery for testing (^1.4.4).", + "nunomaduro/collision": "Allow using Laravel style tests output and parallel testing (^6.2).", "orchestra/testbench-browser-kit": "Allow using legacy Laravel BrowserKit for testing (^7.0).", "orchestra/testbench-dusk": "Allow using Laravel Dusk for testing (^7.0).", "phpunit/phpunit": "Allow using PHPUnit for testing (^9.5.10|^10.0).", @@ -5811,7 +5813,7 @@ "type": "liberapay" } ], - "time": "2022-03-30T02:26:06+00:00" + "time": "2022-04-13T00:51:27+00:00" }, { "name": "phar-io/manifest", @@ -7805,16 +7807,16 @@ }, { "name": "spatie/laravel-ray", - "version": "1.29.5", + "version": "1.29.6", "source": { "type": "git", "url": "https://github.com/spatie/laravel-ray.git", - "reference": "7bb6f1f749e235cea5a963b4c12986baefafd624" + "reference": "d9ec9d8550dfab362167c866fbd24d4b0d4d1e02" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-ray/zipball/7bb6f1f749e235cea5a963b4c12986baefafd624", - "reference": "7bb6f1f749e235cea5a963b4c12986baefafd624", + "url": "https://api.github.com/repos/spatie/laravel-ray/zipball/d9ec9d8550dfab362167c866fbd24d4b0d4d1e02", + "reference": "d9ec9d8550dfab362167c866fbd24d4b0d4d1e02", "shasum": "" }, "require": { @@ -7873,7 +7875,7 @@ ], "support": { "issues": "https://github.com/spatie/laravel-ray/issues", - "source": "https://github.com/spatie/laravel-ray/tree/1.29.5" + "source": "https://github.com/spatie/laravel-ray/tree/1.29.6" }, "funding": [ { @@ -7885,7 +7887,7 @@ "type": "other" } ], - "time": "2022-04-05T18:07:59+00:00" + "time": "2022-04-15T07:18:37+00:00" }, { "name": "spatie/macroable", diff --git a/config/config.php b/config/config.php deleted file mode 100644 index 12d9621..0000000 --- a/config/config.php +++ /dev/null @@ -1,9 +0,0 @@ - '', - - 'middleware' => ['web'], - - 'defaultDateFormat' => 'M, d Y · h:i a', -]; \ No newline at end of file diff --git a/resources/assets/app.js b/resources/assets/app.js deleted file mode 100644 index b2a94f0..0000000 --- a/resources/assets/app.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see app.js.LICENSE.txt */ -(()=>{var t,e={757:(t,e,n)=>{t.exports=n(666)},940:(t,e,n)=>{"use strict";var r,i,o,a,s=!1,u=!1,l=[];function c(t){!function(t){l.includes(t)||l.push(t);u||s||(s=!0,queueMicrotask(d))}(t)}function h(t){let e=l.indexOf(t);-1!==e&&l.splice(e,1)}function d(){s=!1,u=!0;for(let t=0;t{(void 0===e||e.includes(n))&&(r.forEach((t=>t())),delete t._x_attributeCleanups[n])}))}var b=new MutationObserver(I),_=!1;function A(){b.observe(document,{subtree:!0,childList:!0,attributes:!0,attributeOldValue:!0}),_=!0}function D(){(w=w.concat(b.takeRecords())).length&&!x&&(x=!0,queueMicrotask((()=>{I(w),w.length=0,x=!1}))),b.disconnect(),_=!1}var w=[],x=!1;function T(t){if(!_)return t();D();let e=t();return A(),e}var C=!1,k=[];function I(t){if(C)return void(k=k.concat(t));let e=[],n=[],r=new Map,i=new Map;for(let o=0;o1===t.nodeType&&e.push(t))),t[o].removedNodes.forEach((t=>1===t.nodeType&&n.push(t)))),"attributes"===t[o].type)){let e=t[o].target,n=t[o].attributeName,a=t[o].oldValue,s=()=>{r.has(e)||r.set(e,[]),r.get(e).push({name:n,value:e.getAttribute(n)})},u=()=>{i.has(e)||i.set(e,[]),i.get(e).push(n)};e.hasAttribute(n)&&null===a?s():e.hasAttribute(n)?(u(),s()):u()}i.forEach(((t,e)=>{E(e,t)})),r.forEach(((t,e)=>{g.forEach((n=>n(e,t)))}));for(let t of n)if(!e.includes(t)&&(m.forEach((e=>e(t))),t._x_cleanups))for(;t._x_cleanups.length;)t._x_cleanups.pop()();e.forEach((t=>{t._x_ignoreSelf=!0,t._x_ignore=!0}));for(let t of e)n.includes(t)||t.isConnected&&(delete t._x_ignoreSelf,delete t._x_ignore,v.forEach((e=>e(t))),t._x_ignore=!0,t._x_ignoreSelf=!0);e.forEach((t=>{delete t._x_ignoreSelf,delete t._x_ignore})),e=null,n=null,r=null,i=null}function S(t){return M(L(t))}function R(t,e,n){return t._x_dataStack=[e,...L(n||t)],()=>{t._x_dataStack=t._x_dataStack.filter((t=>t!==e))}}function O(t,e){let n=t._x_dataStack[0];Object.entries(e).forEach((([t,e])=>{n[t]=e}))}function L(t){return t._x_dataStack?t._x_dataStack:"function"==typeof ShadowRoot&&t instanceof ShadowRoot?L(t.host):t.parentNode?L(t.parentNode):[]}function M(t){let e=new Proxy({},{ownKeys:()=>Array.from(new Set(t.flatMap((t=>Object.keys(t))))),has:(e,n)=>t.some((t=>t.hasOwnProperty(n))),get:(n,r)=>(t.find((t=>{if(t.hasOwnProperty(r)){let n=Object.getOwnPropertyDescriptor(t,r);if(n.get&&n.get._x_alreadyBound||n.set&&n.set._x_alreadyBound)return!0;if((n.get||n.set)&&n.enumerable){let i=n.get,o=n.set,a=n;i=i&&i.bind(e),o=o&&o.bind(e),i&&(i._x_alreadyBound=!0),o&&(o._x_alreadyBound=!0),Object.defineProperty(t,r,{...a,get:i,set:o})}return!0}return!1}))||{})[r],set:(e,n,r)=>{let i=t.find((t=>t.hasOwnProperty(n)));return i?i[n]=r:t[t.length-1][n]=r,!0}});return e}function F(t){let e=(n,r="")=>{Object.entries(Object.getOwnPropertyDescriptors(n)).forEach((([i,{value:o,enumerable:a}])=>{if(!1===a||void 0===o)return;let s=""===r?i:`${r}.${i}`;var u;"object"==typeof o&&null!==o&&o._x_interceptor?n[i]=o.initialize(t,s,i):"object"!=typeof(u=o)||Array.isArray(u)||null===u||o===n||o instanceof Element||e(o,s)}))};return e(t)}function P(t,e=(()=>{})){let n={initialValue:void 0,_x_interceptor:!0,initialize(e,n,r){return t(this.initialValue,(()=>function(t,e){return e.split(".").reduce(((t,e)=>t[e]),t)}(e,n)),(t=>B(e,n,t)),n,r)}};return e(n),t=>{if("object"==typeof t&&null!==t&&t._x_interceptor){let e=n.initialize.bind(n);n.initialize=(r,i,o)=>{let a=t.initialize(r,i,o);return n.initialValue=a,e(r,i,o)}}else n.initialValue=t;return n}}function B(t,e,n){if("string"==typeof e&&(e=e.split(".")),1!==e.length){if(0===e.length)throw error;return t[e[0]]||(t[e[0]]={}),B(t[e[0]],e.slice(1),n)}t[e[0]]=n}var N={};function G(t,e){N[t]=e}function U(t,e){return Object.entries(N).forEach((([n,r])=>{Object.defineProperty(t,`$${n}`,{get(){let[t,n]=rt(e);return t={interceptor:P,...t},y(e,n),r(e,t)},enumerable:!1})})),t}function j(t,e,n,...r){try{return n(...r)}catch(n){V(n,t,e)}}function V(t,e,n){Object.assign(t,{el:e,expression:n}),console.warn(`Alpine Expression Error: ${t.message}\n\n${n?'Expression: "'+n+'"\n\n':""}`,e),setTimeout((()=>{throw t}),0)}function z(t,e,n={}){let r;return q(t,e)((t=>r=t),n),r}function q(...t){return W(...t)}var W=$;function $(t,e){let n={};U(n,t);let r=[n,...L(t)];if("function"==typeof e)return function(t,e){return(n=(()=>{}),{scope:r={},params:i=[]}={})=>{Y(n,e.apply(M([r,...t]),i))}}(r,e);let i=function(t,e,n){let r=function(t,e){if(H[t])return H[t];let n=Object.getPrototypeOf((async function(){})).constructor,r=/^[\n\s]*if.*\(.*\)/.test(t)||/^(let|const)\s/.test(t)?`(() => { ${t} })()`:t;let i=(()=>{try{return new n(["__self","scope"],`with (scope) { __self.result = ${r} }; __self.finished = true; return __self.result;`)}catch(n){return V(n,e,t),Promise.resolve()}})();return H[t]=i,i}(e,n);return(i=(()=>{}),{scope:o={},params:a=[]}={})=>{r.result=void 0,r.finished=!1;let s=M([o,...t]);if("function"==typeof r){let t=r(r,s).catch((t=>V(t,n,e)));r.finished?(Y(i,r.result,s,a,n),r.result=void 0):t.then((t=>{Y(i,t,s,a,n)})).catch((t=>V(t,n,e))).finally((()=>r.result=void 0))}}}(r,e,t);return j.bind(null,t,e,i)}var H={};function Y(t,e,n,r,i){if("function"==typeof e){let o=e.apply(n,r);o instanceof Promise?o.then((e=>Y(t,e,n,r))).catch((t=>V(t,i,e))):t(o)}else t(e)}var X="x-";function Z(t=""){return X+t}var K={};function J(t,e){K[t]=e}function Q(t,e,n){let r={},i=Array.from(e).map(ot(((t,e)=>r[t]=e))).filter(ut).map(function(t,e){return({name:n,value:r})=>{let i=n.match(lt()),o=n.match(/:([a-zA-Z0-9\-:]+)/),a=n.match(/\.[^.\]]+(?=[^\]]*$)/g)||[],s=e||t[n]||n;return{type:i?i[1]:null,value:o?o[1]:null,modifiers:a.map((t=>t.replace(".",""))),expression:r,original:s}}}(r,n)).sort(dt);return i.map((e=>function(t,e){let n=()=>{},r=K[e.type]||n,[i,o]=rt(t);!function(t,e,n){t._x_attributeCleanups||(t._x_attributeCleanups={}),t._x_attributeCleanups[e]||(t._x_attributeCleanups[e]=[]),t._x_attributeCleanups[e].push(n)}(t,e.original,o);let a=()=>{t._x_ignore||t._x_ignoreSelf||(r.inline&&r.inline(t,e,i),r=r.bind(r,t,e,i),tt?et.get(nt).push(r):r())};return a.runCleanups=o,a}(t,e)))}var tt=!1,et=new Map,nt=Symbol();function rt(t){let e=[],[n,r]=function(t){let e=()=>{};return[n=>{let r=i(n);return t._x_effects||(t._x_effects=new Set,t._x_runEffects=()=>{t._x_effects.forEach((t=>t()))}),t._x_effects.add(r),e=()=>{void 0!==r&&(t._x_effects.delete(r),o(r))},r},()=>{e()}]}(t);e.push(r);return[{Alpine:Xt,effect:n,cleanup:t=>e.push(t),evaluateLater:q.bind(q,t),evaluate:z.bind(z,t)},()=>e.forEach((t=>t()))]}var it=(t,e)=>({name:n,value:r})=>(n.startsWith(t)&&(n=n.replace(t,e)),{name:n,value:r});function ot(t=(()=>{})){return({name:e,value:n})=>{let{name:r,value:i}=at.reduce(((t,e)=>e(t)),{name:e,value:n});return r!==e&&t(r,e),{name:r,value:i}}}var at=[];function st(t){at.push(t)}function ut({name:t}){return lt().test(t)}var lt=()=>new RegExp(`^${X}([^:^.]+)\\b`);var ct="DEFAULT",ht=["ignore","ref","data","id","bind","init","for","model","modelable","transition","show","if",ct,"teleport","element"];function dt(t,e){let n=-1===ht.indexOf(t.type)?ct:t.type,r=-1===ht.indexOf(e.type)?ct:e.type;return ht.indexOf(n)-ht.indexOf(r)}function ft(t,e,n={}){t.dispatchEvent(new CustomEvent(e,{detail:n,bubbles:!0,composed:!0,cancelable:!0}))}var pt=[],gt=!1;function mt(t){pt.push(t),queueMicrotask((()=>{gt||setTimeout((()=>{vt()}))}))}function vt(){for(gt=!1;pt.length;)pt.shift()()}function yt(t,e){if("function"==typeof ShadowRoot&&t instanceof ShadowRoot)return void Array.from(t.children).forEach((t=>yt(t,e)));let n=!1;if(e(t,(()=>n=!0)),n)return;let r=t.firstElementChild;for(;r;)yt(r,e),r=r.nextElementSibling}function Et(t,...e){console.warn(`Alpine Warning: ${t}`,...e)}var bt=[],_t=[];function At(){return bt.map((t=>t()))}function Dt(){return bt.concat(_t).map((t=>t()))}function wt(t){bt.push(t)}function xt(t){_t.push(t)}function Tt(t,e=!1){return Ct(t,(t=>{if((e?Dt():At()).some((e=>t.matches(e))))return!0}))}function Ct(t,e){if(t){if(e(t))return t;if(t._x_teleportBack&&(t=t._x_teleportBack),t.parentElement)return Ct(t.parentElement,e)}}function kt(t,e=yt){!function(t){tt=!0;let e=Symbol();nt=e,et.set(e,[]);let n=()=>{for(;et.get(e).length;)et.get(e).shift()();et.delete(e)};t(n),tt=!1,n()}((()=>{e(t,((t,e)=>{Q(t,t.attributes).forEach((t=>t())),t._x_ignore&&e()}))}))}function It(t,e){return Array.isArray(e)?St(t,e.join(" ")):"object"==typeof e&&null!==e?function(t,e){let n=t=>t.split(" ").filter(Boolean),r=Object.entries(e).flatMap((([t,e])=>!!e&&n(t))).filter(Boolean),i=Object.entries(e).flatMap((([t,e])=>!e&&n(t))).filter(Boolean),o=[],a=[];return i.forEach((e=>{t.classList.contains(e)&&(t.classList.remove(e),a.push(e))})),r.forEach((e=>{t.classList.contains(e)||(t.classList.add(e),o.push(e))})),()=>{a.forEach((e=>t.classList.add(e))),o.forEach((e=>t.classList.remove(e)))}}(t,e):"function"==typeof e?It(t,e()):St(t,e)}function St(t,e){return e=!0===e?e="":e||"",n=e.split(" ").filter((e=>!t.classList.contains(e))).filter(Boolean),t.classList.add(...n),()=>{t.classList.remove(...n)};var n}function Rt(t,e){return"object"==typeof e&&null!==e?function(t,e){let n={};return Object.entries(e).forEach((([e,r])=>{n[e]=t.style[e],e.startsWith("--")||(e=e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()),t.style.setProperty(e,r)})),setTimeout((()=>{0===t.style.length&&t.removeAttribute("style")})),()=>{Rt(t,n)}}(t,e):function(t,e){let n=t.getAttribute("style",e);return t.setAttribute("style",e),()=>{t.setAttribute("style",n||"")}}(t,e)}function Ot(t,e=(()=>{})){let n=!1;return function(){n?e.apply(this,arguments):(n=!0,t.apply(this,arguments))}}function Lt(t,e,n={}){t._x_transition||(t._x_transition={enter:{during:n,start:n,end:n},leave:{during:n,start:n,end:n},in(n=(()=>{}),r=(()=>{})){Ft(t,e,{during:this.enter.during,start:this.enter.start,end:this.enter.end},n,r)},out(n=(()=>{}),r=(()=>{})){Ft(t,e,{during:this.leave.during,start:this.leave.start,end:this.leave.end},n,r)}})}function Mt(t){let e=t.parentNode;if(e)return e._x_hidePromise?e:Mt(e)}function Ft(t,e,{during:n,start:r,end:i}={},o=(()=>{}),a=(()=>{})){if(t._x_transitioning&&t._x_transitioning.cancel(),0===Object.keys(n).length&&0===Object.keys(r).length&&0===Object.keys(i).length)return o(),void a();let s,u,l;!function(t,e){let n,r,i,o=Ot((()=>{T((()=>{n=!0,r||e.before(),i||(e.end(),vt()),e.after(),t.isConnected&&e.cleanup(),delete t._x_transitioning}))}));t._x_transitioning={beforeCancels:[],beforeCancel(t){this.beforeCancels.push(t)},cancel:Ot((function(){for(;this.beforeCancels.length;)this.beforeCancels.shift()();o()})),finish:o},T((()=>{e.start(),e.during()})),gt=!0,requestAnimationFrame((()=>{if(n)return;let o=1e3*Number(getComputedStyle(t).transitionDuration.replace(/,.*/,"").replace("s","")),a=1e3*Number(getComputedStyle(t).transitionDelay.replace(/,.*/,"").replace("s",""));0===o&&(o=1e3*Number(getComputedStyle(t).animationDuration.replace("s",""))),T((()=>{e.before()})),r=!0,requestAnimationFrame((()=>{n||(T((()=>{e.end()})),vt(),setTimeout(t._x_transitioning.finish,o+a),i=!0)}))}))}(t,{start(){s=e(t,r)},during(){u=e(t,n)},before:o,end(){s(),l=e(t,i)},after:a,cleanup(){u(),l()}})}function Pt(t,e,n){if(-1===t.indexOf(e))return n;const r=t[t.indexOf(e)+1];if(!r)return n;if("scale"===e&&isNaN(r))return n;if("duration"===e){let t=r.match(/([0-9]+)ms/);if(t)return t[1]}return"origin"===e&&["top","right","left","center","bottom"].includes(t[t.indexOf(e)+2])?[r,t[t.indexOf(e)+2]].join(" "):r}J("transition",((t,{value:e,modifiers:n,expression:r},{evaluate:i})=>{"function"==typeof r&&(r=i(r)),r?function(t,e,n){Lt(t,It,""),{enter:e=>{t._x_transition.enter.during=e},"enter-start":e=>{t._x_transition.enter.start=e},"enter-end":e=>{t._x_transition.enter.end=e},leave:e=>{t._x_transition.leave.during=e},"leave-start":e=>{t._x_transition.leave.start=e},"leave-end":e=>{t._x_transition.leave.end=e}}[n](e)}(t,r,e):function(t,e,n){Lt(t,Rt);let r=!e.includes("in")&&!e.includes("out")&&!n,i=r||e.includes("in")||["enter"].includes(n),o=r||e.includes("out")||["leave"].includes(n);e.includes("in")&&!r&&(e=e.filter(((t,n)=>nn>e.indexOf("out"))));let a=!e.includes("opacity")&&!e.includes("scale"),s=a||e.includes("opacity"),u=a||e.includes("scale"),l=s?0:1,c=u?Pt(e,"scale",95)/100:1,h=Pt(e,"delay",0),d=Pt(e,"origin","center"),f="opacity, transform",p=Pt(e,"duration",150)/1e3,g=Pt(e,"duration",75)/1e3,m="cubic-bezier(0.4, 0.0, 0.2, 1)";i&&(t._x_transition.enter.during={transformOrigin:d,transitionDelay:h,transitionProperty:f,transitionDuration:`${p}s`,transitionTimingFunction:m},t._x_transition.enter.start={opacity:l,transform:`scale(${c})`},t._x_transition.enter.end={opacity:1,transform:"scale(1)"});o&&(t._x_transition.leave.during={transformOrigin:d,transitionDelay:h,transitionProperty:f,transitionDuration:`${g}s`,transitionTimingFunction:m},t._x_transition.leave.start={opacity:1,transform:"scale(1)"},t._x_transition.leave.end={opacity:l,transform:`scale(${c})`})}(t,n,e)})),window.Element.prototype._x_toggleAndCascadeWithTransitions=function(t,e,n,r){let i=()=>{"visible"===document.visibilityState?requestAnimationFrame(n):setTimeout(n)};e?t._x_transition&&(t._x_transition.enter||t._x_transition.leave)?t._x_transition.enter&&(Object.entries(t._x_transition.enter.during).length||Object.entries(t._x_transition.enter.start).length||Object.entries(t._x_transition.enter.end).length)?t._x_transition.in(n):i():t._x_transition?t._x_transition.in(n):i():(t._x_hidePromise=t._x_transition?new Promise(((e,n)=>{t._x_transition.out((()=>{}),(()=>e(r))),t._x_transitioning.beforeCancel((()=>n({isFromCancelledTransition:!0})))})):Promise.resolve(r),queueMicrotask((()=>{let e=Mt(t);e?(e._x_hideChildren||(e._x_hideChildren=[]),e._x_hideChildren.push(t)):queueMicrotask((()=>{let e=t=>{let n=Promise.all([t._x_hidePromise,...(t._x_hideChildren||[]).map(e)]).then((([t])=>t()));return delete t._x_hidePromise,delete t._x_hideChildren,n};e(t).catch((t=>{if(!t.isFromCancelledTransition)throw t}))}))})))};var Bt=!1;function Nt(t,e=(()=>{})){return(...n)=>Bt?e(...n):t(...n)}function Gt(t,e,n,i=[]){switch(t._x_bindings||(t._x_bindings=r({})),t._x_bindings[e]=n,e=i.includes("camel")?e.toLowerCase().replace(/-(\w)/g,((t,e)=>e.toUpperCase())):e){case"value":!function(t,e){if("radio"===t.type)void 0===t.attributes.value&&(t.value=e),window.fromModel&&(t.checked=Ut(t.value,e));else if("checkbox"===t.type)Number.isInteger(e)?t.value=e:Number.isInteger(e)||Array.isArray(e)||"boolean"==typeof e||[null,void 0].includes(e)?Array.isArray(e)?t.checked=e.some((e=>Ut(e,t.value))):t.checked=!!e:t.value=String(e);else if("SELECT"===t.tagName)!function(t,e){const n=[].concat(e).map((t=>t+""));Array.from(t.options).forEach((t=>{t.selected=n.includes(t.value)}))}(t,e);else{if(t.value===e)return;t.value=e}}(t,n);break;case"style":!function(t,e){t._x_undoAddedStyles&&t._x_undoAddedStyles();t._x_undoAddedStyles=Rt(t,e)}(t,n);break;case"class":!function(t,e){t._x_undoAddedClasses&&t._x_undoAddedClasses();t._x_undoAddedClasses=It(t,e)}(t,n);break;default:!function(t,e,n){[null,void 0,!1].includes(n)&&function(t){return!["aria-pressed","aria-checked","aria-expanded","aria-selected"].includes(t)}(e)?t.removeAttribute(e):(jt(e)&&(n=e),function(t,e,n){t.getAttribute(e)!=n&&t.setAttribute(e,n)}(t,e,n))}(t,e,n)}}function Ut(t,e){return t==e}function jt(t){return["disabled","checked","required","readonly","hidden","open","selected","autofocus","itemscope","multiple","novalidate","allowfullscreen","allowpaymentrequest","formnovalidate","autoplay","controls","loop","muted","playsinline","default","ismap","reversed","async","defer","nomodule"].includes(t)}function Vt(t,e){var n;return function(){var r=this,i=arguments,o=function(){n=null,t.apply(r,i)};clearTimeout(n),n=setTimeout(o,e)}}function zt(t,e){let n;return function(){let r=this,i=arguments;n||(t.apply(r,i),n=!0,setTimeout((()=>n=!1),e))}}var qt={},Wt=!1;var $t={};var Ht={};var Yt={get reactive(){return r},get release(){return o},get effect(){return i},get raw(){return a},version:"3.9.5",flushAndStopDeferringMutations:function(){C=!1,I(k),k=[]},disableEffectScheduling:function(t){f=!1,t(),f=!0},setReactivityEngine:function(t){r=t.reactive,o=t.release,i=e=>t.effect(e,{scheduler:t=>{f?c(t):t()}}),a=t.raw},closestDataStack:L,skipDuringClone:Nt,addRootSelector:wt,addInitSelector:xt,addScopeToNode:R,deferMutations:function(){C=!0},mapAttributes:st,evaluateLater:q,setEvaluator:function(t){W=t},mergeProxies:M,findClosest:Ct,closestRoot:Tt,interceptor:P,transition:Ft,setStyles:Rt,mutateDom:T,directive:J,throttle:zt,debounce:Vt,evaluate:z,initTree:kt,nextTick:mt,prefixed:Z,prefix:function(t){X=t},plugin:function(t){t(Xt)},magic:G,store:function(t,e){if(Wt||(qt=r(qt),Wt=!0),void 0===e)return qt[t];qt[t]=e,"object"==typeof e&&null!==e&&e.hasOwnProperty("init")&&"function"==typeof e.init&&qt[t].init(),F(qt[t])},start:function(){var t;document.body||Et("Unable to initialize. Trying to load Alpine before `` is available. Did you forget to add `defer` in Alpine's `