diff --git a/README.md b/README.md index b957f58a..7e6edcc3 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ Ecommerce site with Laravel 10, Vue 3 and Stripe. - `vue-router`: Official router for Vue.js 3 - `pinia`: Intuitive, type safe, light and flexible Store for Vue using the Composition API - `pinia-plugin-persistedstate`: Persist and rehydrate Pinia stores -- `flowbite`: Utility-first CSS framework built on top of Tailwind CSS +- `swiper`: Responsive image carousel with mobile touch support - `@stripe/stripe-js`: Stripe.js and Elements for collecting payment information - `@formkit/vue`: Form handling and validation for Vue 3 - `@formkit/addons`: Addons for FormKit, including support for Stripe Elements diff --git a/composer.lock b/composer.lock index d174c433..b27e02bf 100644 --- a/composer.lock +++ b/composer.lock @@ -1938,16 +1938,16 @@ }, { "name": "monolog/monolog", - "version": "3.3.1", + "version": "3.4.0", "source": { "type": "git", "url": "https://github.com/Seldaek/monolog.git", - "reference": "9b5daeaffce5b926cac47923798bba91059e60e2" + "reference": "e2392369686d420ca32df3803de28b5d6f76867d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/monolog/zipball/9b5daeaffce5b926cac47923798bba91059e60e2", - "reference": "9b5daeaffce5b926cac47923798bba91059e60e2", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/e2392369686d420ca32df3803de28b5d6f76867d", + "reference": "e2392369686d420ca32df3803de28b5d6f76867d", "shasum": "" }, "require": { @@ -1962,7 +1962,7 @@ "doctrine/couchdb": "~1.0@dev", "elasticsearch/elasticsearch": "^7 || ^8", "ext-json": "*", - "graylog2/gelf-php": "^1.4.2 || ^2@dev", + "graylog2/gelf-php": "^1.4.2 || ^2.0", "guzzlehttp/guzzle": "^7.4.5", "guzzlehttp/psr7": "^2.2", "mongodb/mongodb": "^1.8", @@ -1970,7 +1970,7 @@ "phpstan/phpstan": "^1.9", "phpstan/phpstan-deprecation-rules": "^1.0", "phpstan/phpstan-strict-rules": "^1.4", - "phpunit/phpunit": "^9.5.26", + "phpunit/phpunit": "^10.1", "predis/predis": "^1.1 || ^2", "ruflin/elastica": "^7", "symfony/mailer": "^5.4 || ^6", @@ -2023,7 +2023,7 @@ ], "support": { "issues": "https://github.com/Seldaek/monolog/issues", - "source": "https://github.com/Seldaek/monolog/tree/3.3.1" + "source": "https://github.com/Seldaek/monolog/tree/3.4.0" }, "funding": [ { @@ -2035,7 +2035,7 @@ "type": "tidelift" } ], - "time": "2023-02-06T13:46:10+00:00" + "time": "2023-06-21T08:46:11+00:00" }, { "name": "nesbot/carbon", diff --git a/package-lock.json b/package-lock.json index ae032539..6253f5d1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,10 +10,10 @@ "@formkit/addons": "1.0.0-beta.9-f64c966", "@formkit/vue": "1.0.0-beta.9-f64c966", "@stripe/stripe-js": "1.54.1", - "flowbite": "1.6.6", "lodash": "4.17.21", "pinia": "2.1.4", "pinia-plugin-persistedstate": "3.1.0", + "swiper": "^9.4.1", "swrv": "1.0.3", "vue": "3.3.4", "vue-router": "4.2.2" @@ -2654,14 +2654,6 @@ "node": ">= 8" } }, - "node_modules/@popperjs/core": { - "version": "2.11.8", - "license": "MIT", - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/popperjs" - } - }, "node_modules/@sinclair/typebox": { "version": "0.25.24", "dev": true, @@ -6197,15 +6189,6 @@ "node": ">=8" } }, - "node_modules/flowbite": { - "version": "1.6.6", - "resolved": "https://registry.npmjs.org/flowbite/-/flowbite-1.6.6.tgz", - "integrity": "sha512-T+IaFikHELo1PBKfT/axDqhAmKQLfm/dxVch2r07TZ+IcKwkorZjzwkVuw3OslTETniRIUf2qQvEhxk3bQCaew==", - "dependencies": { - "@popperjs/core": "^2.9.3", - "mini-svg-data-uri": "^1.4.3" - } - }, "node_modules/follow-redirects": { "version": "1.15.2", "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz", @@ -10053,13 +10036,6 @@ "url": "https://opencollective.com/webpack" } }, - "node_modules/mini-svg-data-uri": { - "version": "1.4.4", - "license": "MIT", - "bin": { - "mini-svg-data-uri": "cli.js" - } - }, "node_modules/minimalistic-assert": { "version": "1.0.1", "dev": true, @@ -12354,6 +12330,11 @@ "dev": true, "license": "BSD-3-Clause" }, + "node_modules/ssr-window": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/ssr-window/-/ssr-window-4.0.2.tgz", + "integrity": "sha512-ISv/Ch+ig7SOtw7G2+qkwfVASzazUnvlDTwypdLoPoySv+6MqlOV10VwPSE6EWkGjhW50lUmghPmpYZXMu/+AQ==" + }, "node_modules/stable": { "version": "0.1.8", "dev": true, @@ -12679,6 +12660,27 @@ "node": ">=0.10.0" } }, + "node_modules/swiper": { + "version": "9.4.1", + "resolved": "https://registry.npmjs.org/swiper/-/swiper-9.4.1.tgz", + "integrity": "sha512-1nT2T8EzUpZ0FagEqaN/YAhRj33F2x/lN6cyB0/xoYJDMf8KwTFT3hMOeoB8Tg4o3+P/CKqskP+WX0Df046fqA==", + "funding": [ + { + "type": "patreon", + "url": "https://www.patreon.com/swiperjs" + }, + { + "type": "open_collective", + "url": "http://opencollective.com/swiper" + } + ], + "dependencies": { + "ssr-window": "^4.0.2" + }, + "engines": { + "node": ">= 4.7.0" + } + }, "node_modules/swrv": { "version": "1.0.3", "license": "Apache-2.0", diff --git a/package.json b/package.json index 012d1aa9..8cef7576 100644 --- a/package.json +++ b/package.json @@ -29,18 +29,18 @@ "laravel-mix": "6.0.49", "lodash": "4.17.21", "postcss": "8.4.24", + "prettier": "2.8.8", "tailwindcss": "3.3.2", - "vue-loader": "17.2.2", - "prettier": "2.8.8" + "vue-loader": "17.2.2" }, "dependencies": { "@formkit/addons": "1.0.0-beta.9-f64c966", "@formkit/vue": "1.0.0-beta.9-f64c966", "@stripe/stripe-js": "1.54.1", - "flowbite": "1.6.6", "lodash": "4.17.21", "pinia": "2.1.4", "pinia-plugin-persistedstate": "3.1.0", + "swiper": "^9.4.1", "swrv": "1.0.3", "vue": "3.3.4", "vue-router": "4.2.2" diff --git a/public/css/app.css b/public/css/app.css index 9c264b56..438ee542 100644 --- a/public/css/app.css +++ b/public/css/app.css @@ -575,18 +575,6 @@ video { border-width: 0; } -.visible { - visibility: visible; -} - -.invisible { - visibility: hidden; -} - -.collapse { - visibility: collapse; -} - .static { position: static; } @@ -603,22 +591,6 @@ video { position: relative; } -.inset-0 { - inset: 0px; -} - -.bottom-0 { - bottom: 0px; -} - -.bottom-5 { - bottom: 1.25rem; -} - -.bottom-\[60px\] { - bottom: 60px; -} - .left-0 { left: 0px; } @@ -643,18 +615,6 @@ video { z-index: 0; } -.z-10 { - z-index: 10; -} - -.z-20 { - z-index: 20; -} - -.z-30 { - z-index: 30; -} - .z-40 { z-index: 40; } @@ -681,11 +641,6 @@ video { margin-bottom: 0.5rem; } -.my-4 { - margin-top: 1rem; - margin-bottom: 1rem; -} - .my-5 { margin-top: 1.25rem; margin-bottom: 1.25rem; @@ -699,10 +654,6 @@ video { margin-top: -3rem; } -.mb-1 { - margin-bottom: 0.25rem; -} - .mb-2 { margin-bottom: 0.5rem; } @@ -727,6 +678,10 @@ video { margin-right: 1rem; } +.mr-8 { + margin-right: 2rem; +} + .mt-10 { margin-top: 2.5rem; } @@ -759,10 +714,6 @@ video { margin-top: 2rem; } -.mr-8 { - margin-right: 2rem; -} - .block { display: block; } @@ -771,18 +722,10 @@ video { display: inline-block; } -.inline { - display: inline; -} - .flex { display: flex; } -.inline-flex { - display: inline-flex; -} - .table { display: table; } @@ -815,26 +758,10 @@ video { height: 5rem; } -.h-3 { - height: 0.75rem; -} - .h-32 { height: 8rem; } -.h-4 { - height: 1rem; -} - -.h-5 { - height: 1.25rem; -} - -.h-56 { - height: 14rem; -} - .h-6 { height: 1.5rem; } @@ -843,22 +770,10 @@ video { height: 16rem; } -.h-8 { - height: 2rem; -} - -.h-\[70px\] { - height: 70px; -} - .h-auto { height: auto; } -.h-full { - height: 100%; -} - .h-screen { height: 100vh; } @@ -867,30 +782,14 @@ video { max-height: 100%; } -.w-1\/2 { - width: 50%; -} - .w-2\/12 { width: 16.666667%; } -.w-3 { - width: 0.75rem; -} - .w-32 { width: 8rem; } -.w-4 { - width: 1rem; -} - -.w-5 { - width: 1.25rem; -} - .w-5\/12 { width: 41.666667%; } @@ -903,18 +802,10 @@ video { width: 16rem; } -.w-8 { - width: 2rem; -} - .w-\[170px\] { width: 170px; } -.w-\[70px\] { - width: 70px; -} - .w-auto { width: auto; } @@ -939,58 +830,20 @@ video { flex: 1 1 0%; } -.flex-shrink { - flex-shrink: 1; -} - .-translate-x-1\/2 { --tw-translate-x: -50%; transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); } -.-translate-x-full { - --tw-translate-x: -100%; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - .-translate-y-1\/2 { --tw-translate-y: -50%; transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); } -.-translate-y-full { - --tw-translate-y: -100%; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -.translate-x-0 { - --tw-translate-x: 0px; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -.translate-x-full { - --tw-translate-x: 100%; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -.translate-y-full { - --tw-translate-y: 100%; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -.rotate-180 { - --tw-rotate: 180deg; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - .transform { transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); } -.transform-none { - transform: none; -} - @keyframes bounce { 0%, 100% { @@ -1019,34 +872,14 @@ video { animation: spin 1s linear infinite; } -.cursor-default { - cursor: default; -} - -.cursor-not-allowed { - cursor: not-allowed; -} - .cursor-pointer { cursor: pointer; } -.resize { - resize: both; -} - .grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); } -.grid-cols-4 { - grid-template-columns: repeat(4, minmax(0, 1fr)); -} - -.grid-cols-7 { - grid-template-columns: repeat(7, minmax(0, 1fr)); -} - .flex-row { flex-direction: row; } @@ -1063,10 +896,6 @@ video { align-content: center; } -.items-start { - align-items: flex-start; -} - .items-end { align-items: flex-end; } @@ -1075,10 +904,6 @@ video { align-items: center; } -.justify-start { - justify-content: flex-start; -} - .justify-end { justify-content: flex-end; } @@ -1099,18 +924,6 @@ video { gap: 1rem; } -.space-x-2 > :not([hidden]) ~ :not([hidden]) { - --tw-space-x-reverse: 0; - margin-right: calc(0.5rem * var(--tw-space-x-reverse)); - margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse))); -} - -.space-x-3 > :not([hidden]) ~ :not([hidden]) { - --tw-space-x-reverse: 0; - margin-right: calc(0.75rem * var(--tw-space-x-reverse)); - margin-left: calc(0.75rem * calc(1 - var(--tw-space-x-reverse))); -} - .self-center { align-self: center; } @@ -1152,19 +965,10 @@ video { border-bottom-left-radius: 0.5rem; } -.rounded-r-lg { - border-top-right-radius: 0.5rem; - border-bottom-right-radius: 0.5rem; -} - .border { border-width: 1px; } -.border-0 { - border-width: 0px; -} - .border-2 { border-width: 2px; } @@ -1177,21 +981,6 @@ video { border-top-width: 2px; } -.border-blue-600 { - --tw-border-opacity: 1; - border-color: rgb(37 99 235 / var(--tw-border-opacity)); -} - -.border-blue-700 { - --tw-border-opacity: 1; - border-color: rgb(29 78 216 / var(--tw-border-opacity)); -} - -.border-gray-100 { - --tw-border-opacity: 1; - border-color: rgb(243 244 246 / var(--tw-border-opacity)); -} - .border-gray-200 { --tw-border-opacity: 1; border-color: rgb(229 231 235 / var(--tw-border-opacity)); @@ -1216,70 +1005,35 @@ video { background-color: rgb(37 99 235 / var(--tw-bg-opacity)); } -.bg-blue-700 { - --tw-bg-opacity: 1; - background-color: rgb(29 78 216 / var(--tw-bg-opacity)); -} - .bg-gray-100 { --tw-bg-opacity: 1; background-color: rgb(243 244 246 / var(--tw-bg-opacity)); } -.bg-gray-200 { - --tw-bg-opacity: 1; - background-color: rgb(229 231 235 / var(--tw-bg-opacity)); -} - .bg-gray-600 { --tw-bg-opacity: 1; background-color: rgb(75 85 99 / var(--tw-bg-opacity)); } -.bg-gray-800 { - --tw-bg-opacity: 1; - background-color: rgb(31 41 55 / var(--tw-bg-opacity)); -} - -.bg-gray-900 { - --tw-bg-opacity: 1; - background-color: rgb(17 24 39 / var(--tw-bg-opacity)); -} - .bg-white { --tw-bg-opacity: 1; background-color: rgb(255 255 255 / var(--tw-bg-opacity)); } -.bg-white\/30 { - background-color: rgb(255 255 255 / 0.3); -} - -.bg-white\/50 { - background-color: rgb(255 255 255 / 0.5); -} - -.bg-opacity-50 { - --tw-bg-opacity: 0.5; -} - .object-contain { -o-object-fit: contain; object-fit: contain; } -.p-1 { - padding: 0.25rem; +.object-cover { + -o-object-fit: cover; + object-fit: cover; } .p-2 { padding: 0.5rem; } -.p-2\.5 { - padding: 0.625rem; -} - .p-3 { padding: 0.75rem; } @@ -1311,16 +1065,6 @@ video { padding-right: 0.75rem; } -.px-4 { - padding-left: 1rem; - padding-right: 1rem; -} - -.px-5 { - padding-left: 1.25rem; - padding-right: 1.25rem; -} - .px-6 { padding-left: 1.5rem; padding-right: 1.5rem; @@ -1341,16 +1085,6 @@ video { padding-bottom: 0.5rem; } -.py-2\.5 { - padding-top: 0.625rem; - padding-bottom: 0.625rem; -} - -.py-3 { - padding-top: 0.75rem; - padding-bottom: 0.75rem; -} - .py-4 { padding-top: 1rem; padding-bottom: 1rem; @@ -1380,10 +1114,6 @@ video { padding-top: 0.25rem; } -.pt-2 { - padding-top: 0.5rem; -} - .pt-3 { padding-top: 0.75rem; } @@ -1442,45 +1172,19 @@ video { font-weight: 700; } -.font-medium { - font-weight: 500; -} - .font-semibold { font-weight: 600; } -.leading-6 { - line-height: 1.5rem; -} - .leading-8 { line-height: 2rem; } -.leading-9 { - line-height: 2.25rem; -} - -.tracking-wide { - letter-spacing: 0.025em; -} - .text-black { --tw-text-opacity: 1; color: rgb(0 0 0 / var(--tw-text-opacity)); } -.text-blue-600 { - --tw-text-opacity: 1; - color: rgb(37 99 235 / var(--tw-text-opacity)); -} - -.text-gray-500 { - --tw-text-opacity: 1; - color: rgb(107 114 128 / var(--tw-text-opacity)); -} - .text-gray-700 { --tw-text-opacity: 1; color: rgb(55 65 81 / var(--tw-text-opacity)); @@ -1510,26 +1214,12 @@ video { -moz-osx-font-smoothing: grayscale; } -.opacity-0 { - opacity: 0; -} - -.opacity-100 { - opacity: 1; -} - .shadow { --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1); --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); } -.shadow-lg { - --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); - --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color); - box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); -} - .shadow-md { --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color); @@ -1541,19 +1231,6 @@ video { outline-offset: 2px; } -.outline { - outline-style: solid; -} - -.blur { - --tw-blur: blur(8px); - filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow); -} - -.filter { - filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow); -} - .transition { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter; transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; @@ -1574,18 +1251,6 @@ video { transition-duration: 150ms; } -.transition-opacity { - transition-property: opacity; - transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); - transition-duration: 150ms; -} - -.transition-transform { - transition-property: transform; - transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); - transition-duration: 150ms; -} - .duration-200 { transition-duration: 200ms; } @@ -1598,64 +1263,21 @@ video { transition-duration: 500ms; } -.duration-700 { - transition-duration: 700ms; -} - .ease-in-out { transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); } -.ease-out { - transition-timing-function: cubic-bezier(0, 0, 0.2, 1); -} - .hover\:scale-105:hover { --tw-scale-x: 1.05; --tw-scale-y: 1.05; transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); } -.hover\:border-gray-300:hover { - --tw-border-opacity: 1; - border-color: rgb(209 213 219 / var(--tw-border-opacity)); -} - -.hover\:bg-black:hover { - --tw-bg-opacity: 1; - background-color: rgb(0 0 0 / var(--tw-bg-opacity)); -} - -.hover\:bg-blue-800:hover { - --tw-bg-opacity: 1; - background-color: rgb(30 64 175 / var(--tw-bg-opacity)); -} - .hover\:bg-gray-100:hover { --tw-bg-opacity: 1; background-color: rgb(243 244 246 / var(--tw-bg-opacity)); } -.hover\:bg-white:hover { - --tw-bg-opacity: 1; - background-color: rgb(255 255 255 / var(--tw-bg-opacity)); -} - -.hover\:text-blue-600:hover { - --tw-text-opacity: 1; - color: rgb(37 99 235 / var(--tw-text-opacity)); -} - -.hover\:text-gray-600:hover { - --tw-text-opacity: 1; - color: rgb(75 85 99 / var(--tw-text-opacity)); -} - -.hover\:text-gray-900:hover { - --tw-text-opacity: 1; - color: rgb(17 24 39 / var(--tw-text-opacity)); -} - .hover\:opacity-90:hover { opacity: 0.9; } @@ -1681,165 +1303,11 @@ video { outline-offset: 2px; } -.focus\:ring-2:focus { - --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); - --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color); - box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); -} - -.focus\:ring-4:focus { - --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); - --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color); - box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); -} - -.focus\:ring-blue-300:focus { - --tw-ring-opacity: 1; - --tw-ring-color: rgb(147 197 253 / var(--tw-ring-opacity)); -} - -.focus\:ring-gray-200:focus { - --tw-ring-opacity: 1; - --tw-ring-color: rgb(229 231 235 / var(--tw-ring-opacity)); -} - -.group:hover .group-hover\:bg-white\/50 { - background-color: rgb(255 255 255 / 0.5); -} - .group:hover .group-hover\:text-blue-600 { --tw-text-opacity: 1; color: rgb(37 99 235 / var(--tw-text-opacity)); } -.group:focus .group-focus\:outline-none { - outline: 2px solid transparent; - outline-offset: 2px; -} - -.group:focus .group-focus\:ring-4 { - --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); - --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color); - box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); -} - -.group:focus .group-focus\:ring-white { - --tw-ring-opacity: 1; - --tw-ring-color: rgb(255 255 255 / var(--tw-ring-opacity)); -} - -@media (prefers-color-scheme: dark) { - - .dark\:border-blue-500 { - --tw-border-opacity: 1; - border-color: rgb(59 130 246 / var(--tw-border-opacity)); - } - - .dark\:border-gray-600 { - --tw-border-opacity: 1; - border-color: rgb(75 85 99 / var(--tw-border-opacity)); - } - - .dark\:border-gray-700 { - --tw-border-opacity: 1; - border-color: rgb(55 65 81 / var(--tw-border-opacity)); - } - - .dark\:border-transparent { - border-color: transparent; - } - - .dark\:bg-blue-600 { - --tw-bg-opacity: 1; - background-color: rgb(37 99 235 / var(--tw-bg-opacity)); - } - - .dark\:bg-gray-600 { - --tw-bg-opacity: 1; - background-color: rgb(75 85 99 / var(--tw-bg-opacity)); - } - - .dark\:bg-gray-700 { - --tw-bg-opacity: 1; - background-color: rgb(55 65 81 / var(--tw-bg-opacity)); - } - - .dark\:bg-gray-800 { - --tw-bg-opacity: 1; - background-color: rgb(31 41 55 / var(--tw-bg-opacity)); - } - - .dark\:bg-gray-800\/30 { - background-color: rgb(31 41 55 / 0.3); - } - - .dark\:bg-gray-800\/50 { - background-color: rgb(31 41 55 / 0.5); - } - - .dark\:bg-opacity-80 { - --tw-bg-opacity: 0.8; - } - - .dark\:text-blue-500 { - --tw-text-opacity: 1; - color: rgb(59 130 246 / var(--tw-text-opacity)); - } - - .dark\:text-gray-400 { - --tw-text-opacity: 1; - color: rgb(156 163 175 / var(--tw-text-opacity)); - } - - .dark\:text-gray-800 { - --tw-text-opacity: 1; - color: rgb(31 41 55 / var(--tw-text-opacity)); - } - - .dark\:text-white { - --tw-text-opacity: 1; - color: rgb(255 255 255 / var(--tw-text-opacity)); - } - - .dark\:hover\:bg-blue-700:hover { - --tw-bg-opacity: 1; - background-color: rgb(29 78 216 / var(--tw-bg-opacity)); - } - - .dark\:hover\:bg-gray-600:hover { - --tw-bg-opacity: 1; - background-color: rgb(75 85 99 / var(--tw-bg-opacity)); - } - - .dark\:hover\:bg-gray-800:hover { - --tw-bg-opacity: 1; - background-color: rgb(31 41 55 / var(--tw-bg-opacity)); - } - - .dark\:hover\:text-blue-500:hover { - --tw-text-opacity: 1; - color: rgb(59 130 246 / var(--tw-text-opacity)); - } - - .dark\:hover\:text-gray-300:hover { - --tw-text-opacity: 1; - color: rgb(209 213 219 / var(--tw-text-opacity)); - } - - .dark\:hover\:text-white:hover { - --tw-text-opacity: 1; - color: rgb(255 255 255 / var(--tw-text-opacity)); - } - - .group:hover .dark\:group-hover\:bg-gray-800\/60 { - background-color: rgb(31 41 55 / 0.6); - } - - .group:focus .dark\:group-focus\:ring-gray-800\/70 { - --tw-ring-color: rgb(31 41 55 / 0.7); - } -} - @media (min-width: 640px) { .sm\:m-2 { @@ -1854,26 +1322,6 @@ video { display: table-row; } - .sm\:h-10 { - height: 2.5rem; - } - - .sm\:h-6 { - height: 1.5rem; - } - - .sm\:h-64 { - height: 16rem; - } - - .sm\:w-10 { - width: 2.5rem; - } - - .sm\:w-6 { - width: 1.5rem; - } - .sm\:flex-none { flex: none; } @@ -1900,10 +1348,6 @@ video { @media (min-width: 768px) { - .md\:mt-0 { - margin-top: 0px; - } - .md\:mr-0 { margin-right: 0px; } @@ -1935,6 +1379,11 @@ video { .md\:pr-6 { padding-right: 1.5rem; } + + .md\:text-2xl { + font-size: 1.5rem; + line-height: 2rem; + } } @media (min-width: 1024px) { @@ -2042,10 +1491,6 @@ video { margin: 1rem; } - .xl\:h-80 { - height: 20rem; - } - .xl\:w-1\/4 { width: 25%; } @@ -2075,10 +1520,3 @@ video { } } -@media (min-width: 1536px) { - - .\32xl\:h-96 { - height: 24rem; - } -} - diff --git a/public/js/app.js b/public/js/app.js index 26c1c76e..bf6e9a09 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -1,97955 +1,81914 @@ -/******/ (() => { - // webpackBootstrap - /******/ var __webpack_modules__ = { - /***/ "./node_modules/@popperjs/core/lib/createPopper.js": - /*!*********************************************************!*\ - !*** ./node_modules/@popperjs/core/lib/createPopper.js ***! - \*********************************************************/ - /***/ ( - __unused_webpack_module, - __webpack_exports__, - __webpack_require__ - ) => { - "use strict"; - __webpack_require__.r(__webpack_exports__); - /* harmony export */ __webpack_require__.d( - __webpack_exports__, - { - /* harmony export */ createPopper: () => - /* binding */ createPopper, - /* harmony export */ detectOverflow: () => - /* reexport safe */ _utils_detectOverflow_js__WEBPACK_IMPORTED_MODULE_8__[ - "default" - ], - /* harmony export */ popperGenerator: () => - /* binding */ popperGenerator, - /* harmony export */ - } - ); - /* harmony import */ var _dom_utils_getCompositeRect_js__WEBPACK_IMPORTED_MODULE_4__ = - __webpack_require__( - /*! ./dom-utils/getCompositeRect.js */ "./node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js" - ); - /* harmony import */ var _dom_utils_getLayoutRect_js__WEBPACK_IMPORTED_MODULE_6__ = - __webpack_require__( - /*! ./dom-utils/getLayoutRect.js */ "./node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js" - ); - /* harmony import */ var _dom_utils_listScrollParents_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - /*! ./dom-utils/listScrollParents.js */ "./node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js" - ); - /* harmony import */ var _dom_utils_getOffsetParent_js__WEBPACK_IMPORTED_MODULE_5__ = - __webpack_require__( - /*! ./dom-utils/getOffsetParent.js */ "./node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js" - ); - /* harmony import */ var _utils_orderModifiers_js__WEBPACK_IMPORTED_MODULE_2__ = - __webpack_require__( - /*! ./utils/orderModifiers.js */ "./node_modules/@popperjs/core/lib/utils/orderModifiers.js" - ); - /* harmony import */ var _utils_debounce_js__WEBPACK_IMPORTED_MODULE_7__ = - __webpack_require__( - /*! ./utils/debounce.js */ "./node_modules/@popperjs/core/lib/utils/debounce.js" - ); - /* harmony import */ var _utils_mergeByName_js__WEBPACK_IMPORTED_MODULE_3__ = - __webpack_require__( - /*! ./utils/mergeByName.js */ "./node_modules/@popperjs/core/lib/utils/mergeByName.js" - ); - /* harmony import */ var _utils_detectOverflow_js__WEBPACK_IMPORTED_MODULE_8__ = - __webpack_require__( - /*! ./utils/detectOverflow.js */ "./node_modules/@popperjs/core/lib/utils/detectOverflow.js" - ); - /* harmony import */ var _dom_utils_instanceOf_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ./dom-utils/instanceOf.js */ "./node_modules/@popperjs/core/lib/dom-utils/instanceOf.js" - ); - - var DEFAULT_OPTIONS = { - placement: "bottom", - modifiers: [], - strategy: "absolute", - }; - - function areValidElements() { - for ( - var _len = arguments.length, - args = new Array(_len), - _key = 0; - _key < _len; - _key++ - ) { - args[_key] = arguments[_key]; - } - - return !args.some(function (element) { - return !( - element && - typeof element.getBoundingClientRect === "function" - ); - }); - } - - function popperGenerator(generatorOptions) { - if (generatorOptions === void 0) { - generatorOptions = {}; - } - - var _generatorOptions = generatorOptions, - _generatorOptions$def = - _generatorOptions.defaultModifiers, - defaultModifiers = - _generatorOptions$def === void 0 - ? [] - : _generatorOptions$def, - _generatorOptions$def2 = - _generatorOptions.defaultOptions, - defaultOptions = - _generatorOptions$def2 === void 0 - ? DEFAULT_OPTIONS - : _generatorOptions$def2; - return function createPopper(reference, popper, options) { - if (options === void 0) { - options = defaultOptions; - } - - var state = { - placement: "bottom", - orderedModifiers: [], - options: Object.assign( - {}, - DEFAULT_OPTIONS, - defaultOptions - ), - modifiersData: {}, - elements: { - reference: reference, - popper: popper, - }, - attributes: {}, - styles: {}, - }; - var effectCleanupFns = []; - var isDestroyed = false; - var instance = { - state: state, - setOptions: function setOptions(setOptionsAction) { - var options = - typeof setOptionsAction === "function" - ? setOptionsAction(state.options) - : setOptionsAction; - cleanupModifierEffects(); - state.options = Object.assign( - {}, - defaultOptions, - state.options, - options - ); - state.scrollParents = { - reference: (0, - _dom_utils_instanceOf_js__WEBPACK_IMPORTED_MODULE_0__.isElement)( - reference - ) - ? (0, - _dom_utils_listScrollParents_js__WEBPACK_IMPORTED_MODULE_1__[ - "default" - ])(reference) - : reference.contextElement - ? (0, - _dom_utils_listScrollParents_js__WEBPACK_IMPORTED_MODULE_1__[ - "default" - ])(reference.contextElement) - : [], - popper: (0, - _dom_utils_listScrollParents_js__WEBPACK_IMPORTED_MODULE_1__[ - "default" - ])(popper), - }; // Orders the modifiers based on their dependencies and `phase` - // properties - - var orderedModifiers = (0, - _utils_orderModifiers_js__WEBPACK_IMPORTED_MODULE_2__[ - "default" - ])( - (0, - _utils_mergeByName_js__WEBPACK_IMPORTED_MODULE_3__[ - "default" - ])( - [].concat( - defaultModifiers, - state.options.modifiers - ) - ) - ); // Strip out disabled modifiers - - state.orderedModifiers = - orderedModifiers.filter(function (m) { - return m.enabled; - }); - runModifierEffects(); - return instance.update(); - }, - // Sync update – it will always be executed, even if not necessary. This - // is useful for low frequency updates where sync behavior simplifies the - // logic. - // For high frequency updates (e.g. `resize` and `scroll` events), always - // prefer the async Popper#update method - forceUpdate: function forceUpdate() { - if (isDestroyed) { - return; - } - - var _state$elements = state.elements, - reference = _state$elements.reference, - popper = _state$elements.popper; // Don't proceed if `reference` or `popper` are not valid elements - // anymore - - if (!areValidElements(reference, popper)) { - return; - } // Store the reference and popper rects to be read by modifiers - - state.rects = { - reference: (0, - _dom_utils_getCompositeRect_js__WEBPACK_IMPORTED_MODULE_4__[ - "default" - ])( - reference, - (0, - _dom_utils_getOffsetParent_js__WEBPACK_IMPORTED_MODULE_5__[ - "default" - ])(popper), - state.options.strategy === "fixed" - ), - popper: (0, - _dom_utils_getLayoutRect_js__WEBPACK_IMPORTED_MODULE_6__[ - "default" - ])(popper), - }; // Modifiers have the ability to reset the current update cycle. The - // most common use case for this is the `flip` modifier changing the - // placement, which then needs to re-run all the modifiers, because the - // logic was previously ran for the previous placement and is therefore - // stale/incorrect - - state.reset = false; - state.placement = state.options.placement; // On each update cycle, the `modifiersData` property for each modifier - // is filled with the initial data specified by the modifier. This means - // it doesn't persist and is fresh on each update. - // To ensure persistent data, use `${name}#persistent` - - state.orderedModifiers.forEach(function ( - modifier - ) { - return (state.modifiersData[modifier.name] = - Object.assign({}, modifier.data)); - }); - - for ( - var index = 0; - index < state.orderedModifiers.length; - index++ - ) { - if (state.reset === true) { - state.reset = false; - index = -1; - continue; - } - - var _state$orderedModifie = - state.orderedModifiers[index], - fn = _state$orderedModifie.fn, - _state$orderedModifie2 = - _state$orderedModifie.options, - _options = - _state$orderedModifie2 === void 0 - ? {} - : _state$orderedModifie2, - name = _state$orderedModifie.name; - - if (typeof fn === "function") { - state = - fn({ - state: state, - options: _options, - name: name, - instance: instance, - }) || state; - } - } - }, - // Async and optimistically optimized update – it will not be executed if - // not necessary (debounced to run at most once-per-tick) - update: (0, - _utils_debounce_js__WEBPACK_IMPORTED_MODULE_7__[ - "default" - ])(function () { - return new Promise(function (resolve) { - instance.forceUpdate(); - resolve(state); - }); - }), - destroy: function destroy() { - cleanupModifierEffects(); - isDestroyed = true; - }, - }; - - if (!areValidElements(reference, popper)) { - return instance; - } - - instance.setOptions(options).then(function (state) { - if (!isDestroyed && options.onFirstUpdate) { - options.onFirstUpdate(state); - } - }); // Modifiers have the ability to execute arbitrary code before the first - // update cycle runs. They will be executed in the same order as the update - // cycle. This is useful when a modifier adds some persistent data that - // other modifiers need to use, but the modifier is run after the dependent - // one. - - function runModifierEffects() { - state.orderedModifiers.forEach(function (_ref) { - var name = _ref.name, - _ref$options = _ref.options, - options = - _ref$options === void 0 - ? {} - : _ref$options, - effect = _ref.effect; - - if (typeof effect === "function") { - var cleanupFn = effect({ - state: state, - name: name, - instance: instance, - options: options, - }); - - var noopFn = function noopFn() {}; - - effectCleanupFns.push(cleanupFn || noopFn); - } - }); - } - - function cleanupModifierEffects() { - effectCleanupFns.forEach(function (fn) { - return fn(); - }); - effectCleanupFns = []; - } - - return instance; - }; - } - var createPopper = /*#__PURE__*/ popperGenerator(); // eslint-disable-next-line import/no-unused-modules - - /***/ - }, - - /***/ "./node_modules/@popperjs/core/lib/dom-utils/contains.js": - /*!***************************************************************!*\ - !*** ./node_modules/@popperjs/core/lib/dom-utils/contains.js ***! - \***************************************************************/ - /***/ ( - __unused_webpack_module, - __webpack_exports__, - __webpack_require__ - ) => { - "use strict"; - __webpack_require__.r(__webpack_exports__); - /* harmony export */ __webpack_require__.d( - __webpack_exports__, - { - /* harmony export */ default: () => - /* binding */ contains, - /* harmony export */ - } - ); - /* harmony import */ var _instanceOf_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ./instanceOf.js */ "./node_modules/@popperjs/core/lib/dom-utils/instanceOf.js" - ); - - function contains(parent, child) { - var rootNode = child.getRootNode && child.getRootNode(); // First, attempt with faster native method - - if (parent.contains(child)) { - return true; - } // then fallback to custom implementation with Shadow DOM support - else if ( - rootNode && - (0, - _instanceOf_js__WEBPACK_IMPORTED_MODULE_0__.isShadowRoot)( - rootNode - ) - ) { - var next = child; - - do { - if (next && parent.isSameNode(next)) { - return true; - } // $FlowFixMe[prop-missing]: need a better way to handle this... - - next = next.parentNode || next.host; - } while (next); - } // Give up, the result is false - - return false; - } - - /***/ - }, - - /***/ "./node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js": - /*!****************************************************************************!*\ - !*** ./node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js ***! - \****************************************************************************/ - /***/ ( - __unused_webpack_module, - __webpack_exports__, - __webpack_require__ - ) => { - "use strict"; - __webpack_require__.r(__webpack_exports__); - /* harmony export */ __webpack_require__.d( - __webpack_exports__, - { - /* harmony export */ default: () => - /* binding */ getBoundingClientRect, - /* harmony export */ - } - ); - /* harmony import */ var _instanceOf_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ./instanceOf.js */ "./node_modules/@popperjs/core/lib/dom-utils/instanceOf.js" - ); - /* harmony import */ var _utils_math_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - /*! ../utils/math.js */ "./node_modules/@popperjs/core/lib/utils/math.js" - ); - /* harmony import */ var _getWindow_js__WEBPACK_IMPORTED_MODULE_2__ = - __webpack_require__( - /*! ./getWindow.js */ "./node_modules/@popperjs/core/lib/dom-utils/getWindow.js" - ); - /* harmony import */ var _isLayoutViewport_js__WEBPACK_IMPORTED_MODULE_3__ = - __webpack_require__( - /*! ./isLayoutViewport.js */ "./node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.js" - ); - - function getBoundingClientRect( - element, - includeScale, - isFixedStrategy - ) { - if (includeScale === void 0) { - includeScale = false; - } - - if (isFixedStrategy === void 0) { - isFixedStrategy = false; - } +/******/ (() => { // webpackBootstrap +/******/ var __webpack_modules__ = ({ - var clientRect = element.getBoundingClientRect(); - var scaleX = 1; - var scaleY = 1; - - if ( - includeScale && - (0, - _instanceOf_js__WEBPACK_IMPORTED_MODULE_0__.isHTMLElement)( - element - ) - ) { - scaleX = - element.offsetWidth > 0 - ? (0, - _utils_math_js__WEBPACK_IMPORTED_MODULE_1__.round)( - clientRect.width - ) / element.offsetWidth || 1 - : 1; - scaleY = - element.offsetHeight > 0 - ? (0, - _utils_math_js__WEBPACK_IMPORTED_MODULE_1__.round)( - clientRect.height - ) / element.offsetHeight || 1 - : 1; - } +/***/ "./node_modules/@stripe/stripe-js/dist/stripe.esm.js": +/*!***********************************************************!*\ + !*** ./node_modules/@stripe/stripe-js/dist/stripe.esm.js ***! + \***********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ loadStripe: () => (/* binding */ loadStripe) +/* harmony export */ }); +var V3_URL = 'https://js.stripe.com/v3'; +var V3_URL_REGEX = /^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/; +var EXISTING_SCRIPT_MESSAGE = 'loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used'; +var findScript = function findScript() { + var scripts = document.querySelectorAll("script[src^=\"".concat(V3_URL, "\"]")); + + for (var i = 0; i < scripts.length; i++) { + var script = scripts[i]; + + if (!V3_URL_REGEX.test(script.src)) { + continue; + } - var _ref = (0, - _instanceOf_js__WEBPACK_IMPORTED_MODULE_0__.isElement)( - element - ) - ? (0, - _getWindow_js__WEBPACK_IMPORTED_MODULE_2__[ - "default" - ])(element) - : window, - visualViewport = _ref.visualViewport; - - var addVisualOffsets = - !(0, - _isLayoutViewport_js__WEBPACK_IMPORTED_MODULE_3__[ - "default" - ])() && isFixedStrategy; - var x = - (clientRect.left + - (addVisualOffsets && visualViewport - ? visualViewport.offsetLeft - : 0)) / - scaleX; - var y = - (clientRect.top + - (addVisualOffsets && visualViewport - ? visualViewport.offsetTop - : 0)) / - scaleY; - var width = clientRect.width / scaleX; - var height = clientRect.height / scaleY; - return { - width: width, - height: height, - top: y, - right: x + width, - bottom: y + height, - left: x, - x: x, - y: y, - }; - } + return script; + } + + return null; +}; + +var injectScript = function injectScript(params) { + var queryString = params && !params.advancedFraudSignals ? '?advancedFraudSignals=false' : ''; + var script = document.createElement('script'); + script.src = "".concat(V3_URL).concat(queryString); + var headOrBody = document.head || document.body; + + if (!headOrBody) { + throw new Error('Expected document.body not to be null. Stripe.js requires a element.'); + } + + headOrBody.appendChild(script); + return script; +}; + +var registerWrapper = function registerWrapper(stripe, startTime) { + if (!stripe || !stripe._registerWrapper) { + return; + } + + stripe._registerWrapper({ + name: 'stripe-js', + version: "1.54.1", + startTime: startTime + }); +}; + +var stripePromise = null; +var loadScript = function loadScript(params) { + // Ensure that we only attempt to load Stripe.js at most once + if (stripePromise !== null) { + return stripePromise; + } + + stripePromise = new Promise(function (resolve, reject) { + if (typeof window === 'undefined' || typeof document === 'undefined') { + // Resolve to null when imported server side. This makes the module + // safe to import in an isomorphic code base. + resolve(null); + return; + } - /***/ - }, + if (window.Stripe && params) { + console.warn(EXISTING_SCRIPT_MESSAGE); + } - /***/ "./node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js": - /*!**********************************************************************!*\ - !*** ./node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js ***! - \**********************************************************************/ - /***/ ( - __unused_webpack_module, - __webpack_exports__, - __webpack_require__ - ) => { - "use strict"; - __webpack_require__.r(__webpack_exports__); - /* harmony export */ __webpack_require__.d( - __webpack_exports__, - { - /* harmony export */ default: () => - /* binding */ getClippingRect, - /* harmony export */ - } - ); - /* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_1__ = - __webpack_require__( - /*! ../enums.js */ "./node_modules/@popperjs/core/lib/enums.js" - ); - /* harmony import */ var _getViewportRect_js__WEBPACK_IMPORTED_MODULE_3__ = - __webpack_require__( - /*! ./getViewportRect.js */ "./node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js" - ); - /* harmony import */ var _getDocumentRect_js__WEBPACK_IMPORTED_MODULE_5__ = - __webpack_require__( - /*! ./getDocumentRect.js */ "./node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js" - ); - /* harmony import */ var _listScrollParents_js__WEBPACK_IMPORTED_MODULE_7__ = - __webpack_require__( - /*! ./listScrollParents.js */ "./node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js" - ); - /* harmony import */ var _getOffsetParent_js__WEBPACK_IMPORTED_MODULE_10__ = - __webpack_require__( - /*! ./getOffsetParent.js */ "./node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js" - ); - /* harmony import */ var _getDocumentElement_js__WEBPACK_IMPORTED_MODULE_6__ = - __webpack_require__( - /*! ./getDocumentElement.js */ "./node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js" - ); - /* harmony import */ var _getComputedStyle_js__WEBPACK_IMPORTED_MODULE_9__ = - __webpack_require__( - /*! ./getComputedStyle.js */ "./node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js" - ); - /* harmony import */ var _instanceOf_js__WEBPACK_IMPORTED_MODULE_4__ = - __webpack_require__( - /*! ./instanceOf.js */ "./node_modules/@popperjs/core/lib/dom-utils/instanceOf.js" - ); - /* harmony import */ var _getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_0__ = - __webpack_require__( - /*! ./getBoundingClientRect.js */ "./node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js" - ); - /* harmony import */ var _getParentNode_js__WEBPACK_IMPORTED_MODULE_8__ = - __webpack_require__( - /*! ./getParentNode.js */ "./node_modules/@popperjs/core/lib/dom-utils/getParentNode.js" - ); - /* harmony import */ var _contains_js__WEBPACK_IMPORTED_MODULE_11__ = - __webpack_require__( - /*! ./contains.js */ "./node_modules/@popperjs/core/lib/dom-utils/contains.js" - ); - /* harmony import */ var _getNodeName_js__WEBPACK_IMPORTED_MODULE_12__ = - __webpack_require__( - /*! ./getNodeName.js */ "./node_modules/@popperjs/core/lib/dom-utils/getNodeName.js" - ); - /* harmony import */ var _utils_rectToClientRect_js__WEBPACK_IMPORTED_MODULE_2__ = - __webpack_require__( - /*! ../utils/rectToClientRect.js */ "./node_modules/@popperjs/core/lib/utils/rectToClientRect.js" - ); - /* harmony import */ var _utils_math_js__WEBPACK_IMPORTED_MODULE_13__ = - __webpack_require__( - /*! ../utils/math.js */ "./node_modules/@popperjs/core/lib/utils/math.js" - ); - - function getInnerBoundingClientRect(element, strategy) { - var rect = (0, - _getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_0__[ - "default" - ])(element, false, strategy === "fixed"); - rect.top = rect.top + element.clientTop; - rect.left = rect.left + element.clientLeft; - rect.bottom = rect.top + element.clientHeight; - rect.right = rect.left + element.clientWidth; - rect.width = element.clientWidth; - rect.height = element.clientHeight; - rect.x = rect.left; - rect.y = rect.top; - return rect; - } + if (window.Stripe) { + resolve(window.Stripe); + return; + } - function getClientRectFromMixedType( - element, - clippingParent, - strategy - ) { - return clippingParent === - _enums_js__WEBPACK_IMPORTED_MODULE_1__.viewport - ? (0, - _utils_rectToClientRect_js__WEBPACK_IMPORTED_MODULE_2__[ - "default" - ])( - (0, - _getViewportRect_js__WEBPACK_IMPORTED_MODULE_3__[ - "default" - ])(element, strategy) - ) - : (0, - _instanceOf_js__WEBPACK_IMPORTED_MODULE_4__.isElement)( - clippingParent - ) - ? getInnerBoundingClientRect(clippingParent, strategy) - : (0, - _utils_rectToClientRect_js__WEBPACK_IMPORTED_MODULE_2__[ - "default" - ])( - (0, - _getDocumentRect_js__WEBPACK_IMPORTED_MODULE_5__[ - "default" - ])( - (0, - _getDocumentElement_js__WEBPACK_IMPORTED_MODULE_6__[ - "default" - ])(element) - ) - ); - } // A "clipping parent" is an overflowable container with the characteristic of - // clipping (or hiding) overflowing elements with a position different from - // `initial` - - function getClippingParents(element) { - var clippingParents = (0, - _listScrollParents_js__WEBPACK_IMPORTED_MODULE_7__[ - "default" - ])( - (0, - _getParentNode_js__WEBPACK_IMPORTED_MODULE_8__[ - "default" - ])(element) - ); - var canEscapeClipping = - ["absolute", "fixed"].indexOf( - (0, - _getComputedStyle_js__WEBPACK_IMPORTED_MODULE_9__[ - "default" - ])(element).position - ) >= 0; - var clipperElement = - canEscapeClipping && - (0, - _instanceOf_js__WEBPACK_IMPORTED_MODULE_4__.isHTMLElement)( - element - ) - ? (0, - _getOffsetParent_js__WEBPACK_IMPORTED_MODULE_10__[ - "default" - ])(element) - : element; - - if ( - !(0, - _instanceOf_js__WEBPACK_IMPORTED_MODULE_4__.isElement)( - clipperElement - ) - ) { - return []; - } // $FlowFixMe[incompatible-return]: https://github.com/facebook/flow/issues/1414 - - return clippingParents.filter(function (clippingParent) { - return ( - (0, - _instanceOf_js__WEBPACK_IMPORTED_MODULE_4__.isElement)( - clippingParent - ) && - (0, - _contains_js__WEBPACK_IMPORTED_MODULE_11__[ - "default" - ])(clippingParent, clipperElement) && - (0, - _getNodeName_js__WEBPACK_IMPORTED_MODULE_12__[ - "default" - ])(clippingParent) !== "body" - ); - }); - } // Gets the maximum area that the element is visible in due to any number of - // clipping parents - - function getClippingRect( - element, - boundary, - rootBoundary, - strategy - ) { - var mainClippingParents = - boundary === "clippingParents" - ? getClippingParents(element) - : [].concat(boundary); - var clippingParents = [].concat(mainClippingParents, [ - rootBoundary, - ]); - var firstClippingParent = clippingParents[0]; - var clippingRect = clippingParents.reduce(function ( - accRect, - clippingParent - ) { - var rect = getClientRectFromMixedType( - element, - clippingParent, - strategy - ); - accRect.top = (0, - _utils_math_js__WEBPACK_IMPORTED_MODULE_13__.max)( - rect.top, - accRect.top - ); - accRect.right = (0, - _utils_math_js__WEBPACK_IMPORTED_MODULE_13__.min)( - rect.right, - accRect.right - ); - accRect.bottom = (0, - _utils_math_js__WEBPACK_IMPORTED_MODULE_13__.min)( - rect.bottom, - accRect.bottom - ); - accRect.left = (0, - _utils_math_js__WEBPACK_IMPORTED_MODULE_13__.max)( - rect.left, - accRect.left - ); - return accRect; - }, - getClientRectFromMixedType(element, firstClippingParent, strategy)); - clippingRect.width = clippingRect.right - clippingRect.left; - clippingRect.height = - clippingRect.bottom - clippingRect.top; - clippingRect.x = clippingRect.left; - clippingRect.y = clippingRect.top; - return clippingRect; - } + try { + var script = findScript(); - /***/ - }, + if (script && params) { + console.warn(EXISTING_SCRIPT_MESSAGE); + } else if (!script) { + script = injectScript(params); + } - /***/ "./node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js": - /*!***********************************************************************!*\ - !*** ./node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js ***! - \***********************************************************************/ - /***/ ( - __unused_webpack_module, - __webpack_exports__, - __webpack_require__ - ) => { - "use strict"; - __webpack_require__.r(__webpack_exports__); - /* harmony export */ __webpack_require__.d( - __webpack_exports__, - { - /* harmony export */ default: () => - /* binding */ getCompositeRect, - /* harmony export */ - } + script.addEventListener('load', function () { + if (window.Stripe) { + resolve(window.Stripe); + } else { + reject(new Error('Stripe.js not available')); + } + }); + script.addEventListener('error', function () { + reject(new Error('Failed to load Stripe.js')); + }); + } catch (error) { + reject(error); + return; + } + }); + return stripePromise; +}; +var initStripe = function initStripe(maybeStripe, args, startTime) { + if (maybeStripe === null) { + return null; + } + + var stripe = maybeStripe.apply(undefined, args); + registerWrapper(stripe, startTime); + return stripe; +}; // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types + +// own script injection. + +var stripePromise$1 = Promise.resolve().then(function () { + return loadScript(null); +}); +var loadCalled = false; +stripePromise$1["catch"](function (err) { + if (!loadCalled) { + console.warn(err); + } +}); +var loadStripe = function loadStripe() { + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + + loadCalled = true; + var startTime = Date.now(); + return stripePromise$1.then(function (maybeStripe) { + return initStripe(maybeStripe, args, startTime); + }); +}; + + + + +/***/ }), + +/***/ "./node_modules/@vue/compiler-core/dist/compiler-core.esm-bundler.js": +/*!***************************************************************************!*\ + !*** ./node_modules/@vue/compiler-core/dist/compiler-core.esm-bundler.js ***! + \***************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ BASE_TRANSITION: () => (/* binding */ BASE_TRANSITION), +/* harmony export */ CAMELIZE: () => (/* binding */ CAMELIZE), +/* harmony export */ CAPITALIZE: () => (/* binding */ CAPITALIZE), +/* harmony export */ CREATE_BLOCK: () => (/* binding */ CREATE_BLOCK), +/* harmony export */ CREATE_COMMENT: () => (/* binding */ CREATE_COMMENT), +/* harmony export */ CREATE_ELEMENT_BLOCK: () => (/* binding */ CREATE_ELEMENT_BLOCK), +/* harmony export */ CREATE_ELEMENT_VNODE: () => (/* binding */ CREATE_ELEMENT_VNODE), +/* harmony export */ CREATE_SLOTS: () => (/* binding */ CREATE_SLOTS), +/* harmony export */ CREATE_STATIC: () => (/* binding */ CREATE_STATIC), +/* harmony export */ CREATE_TEXT: () => (/* binding */ CREATE_TEXT), +/* harmony export */ CREATE_VNODE: () => (/* binding */ CREATE_VNODE), +/* harmony export */ FRAGMENT: () => (/* binding */ FRAGMENT), +/* harmony export */ GUARD_REACTIVE_PROPS: () => (/* binding */ GUARD_REACTIVE_PROPS), +/* harmony export */ IS_MEMO_SAME: () => (/* binding */ IS_MEMO_SAME), +/* harmony export */ IS_REF: () => (/* binding */ IS_REF), +/* harmony export */ KEEP_ALIVE: () => (/* binding */ KEEP_ALIVE), +/* harmony export */ MERGE_PROPS: () => (/* binding */ MERGE_PROPS), +/* harmony export */ NORMALIZE_CLASS: () => (/* binding */ NORMALIZE_CLASS), +/* harmony export */ NORMALIZE_PROPS: () => (/* binding */ NORMALIZE_PROPS), +/* harmony export */ NORMALIZE_STYLE: () => (/* binding */ NORMALIZE_STYLE), +/* harmony export */ OPEN_BLOCK: () => (/* binding */ OPEN_BLOCK), +/* harmony export */ POP_SCOPE_ID: () => (/* binding */ POP_SCOPE_ID), +/* harmony export */ PUSH_SCOPE_ID: () => (/* binding */ PUSH_SCOPE_ID), +/* harmony export */ RENDER_LIST: () => (/* binding */ RENDER_LIST), +/* harmony export */ RENDER_SLOT: () => (/* binding */ RENDER_SLOT), +/* harmony export */ RESOLVE_COMPONENT: () => (/* binding */ RESOLVE_COMPONENT), +/* harmony export */ RESOLVE_DIRECTIVE: () => (/* binding */ RESOLVE_DIRECTIVE), +/* harmony export */ RESOLVE_DYNAMIC_COMPONENT: () => (/* binding */ RESOLVE_DYNAMIC_COMPONENT), +/* harmony export */ RESOLVE_FILTER: () => (/* binding */ RESOLVE_FILTER), +/* harmony export */ SET_BLOCK_TRACKING: () => (/* binding */ SET_BLOCK_TRACKING), +/* harmony export */ SUSPENSE: () => (/* binding */ SUSPENSE), +/* harmony export */ TELEPORT: () => (/* binding */ TELEPORT), +/* harmony export */ TO_DISPLAY_STRING: () => (/* binding */ TO_DISPLAY_STRING), +/* harmony export */ TO_HANDLERS: () => (/* binding */ TO_HANDLERS), +/* harmony export */ TO_HANDLER_KEY: () => (/* binding */ TO_HANDLER_KEY), +/* harmony export */ TS_NODE_TYPES: () => (/* binding */ TS_NODE_TYPES), +/* harmony export */ UNREF: () => (/* binding */ UNREF), +/* harmony export */ WITH_CTX: () => (/* binding */ WITH_CTX), +/* harmony export */ WITH_DIRECTIVES: () => (/* binding */ WITH_DIRECTIVES), +/* harmony export */ WITH_MEMO: () => (/* binding */ WITH_MEMO), +/* harmony export */ advancePositionWithClone: () => (/* binding */ advancePositionWithClone), +/* harmony export */ advancePositionWithMutation: () => (/* binding */ advancePositionWithMutation), +/* harmony export */ assert: () => (/* binding */ assert), +/* harmony export */ baseCompile: () => (/* binding */ baseCompile), +/* harmony export */ baseParse: () => (/* binding */ baseParse), +/* harmony export */ buildDirectiveArgs: () => (/* binding */ buildDirectiveArgs), +/* harmony export */ buildProps: () => (/* binding */ buildProps), +/* harmony export */ buildSlots: () => (/* binding */ buildSlots), +/* harmony export */ checkCompatEnabled: () => (/* binding */ checkCompatEnabled), +/* harmony export */ convertToBlock: () => (/* binding */ convertToBlock), +/* harmony export */ createArrayExpression: () => (/* binding */ createArrayExpression), +/* harmony export */ createAssignmentExpression: () => (/* binding */ createAssignmentExpression), +/* harmony export */ createBlockStatement: () => (/* binding */ createBlockStatement), +/* harmony export */ createCacheExpression: () => (/* binding */ createCacheExpression), +/* harmony export */ createCallExpression: () => (/* binding */ createCallExpression), +/* harmony export */ createCompilerError: () => (/* binding */ createCompilerError), +/* harmony export */ createCompoundExpression: () => (/* binding */ createCompoundExpression), +/* harmony export */ createConditionalExpression: () => (/* binding */ createConditionalExpression), +/* harmony export */ createForLoopParams: () => (/* binding */ createForLoopParams), +/* harmony export */ createFunctionExpression: () => (/* binding */ createFunctionExpression), +/* harmony export */ createIfStatement: () => (/* binding */ createIfStatement), +/* harmony export */ createInterpolation: () => (/* binding */ createInterpolation), +/* harmony export */ createObjectExpression: () => (/* binding */ createObjectExpression), +/* harmony export */ createObjectProperty: () => (/* binding */ createObjectProperty), +/* harmony export */ createReturnStatement: () => (/* binding */ createReturnStatement), +/* harmony export */ createRoot: () => (/* binding */ createRoot), +/* harmony export */ createSequenceExpression: () => (/* binding */ createSequenceExpression), +/* harmony export */ createSimpleExpression: () => (/* binding */ createSimpleExpression), +/* harmony export */ createStructuralDirectiveTransform: () => (/* binding */ createStructuralDirectiveTransform), +/* harmony export */ createTemplateLiteral: () => (/* binding */ createTemplateLiteral), +/* harmony export */ createTransformContext: () => (/* binding */ createTransformContext), +/* harmony export */ createVNodeCall: () => (/* binding */ createVNodeCall), +/* harmony export */ extractIdentifiers: () => (/* binding */ extractIdentifiers), +/* harmony export */ findDir: () => (/* binding */ findDir), +/* harmony export */ findProp: () => (/* binding */ findProp), +/* harmony export */ generate: () => (/* binding */ generate), +/* harmony export */ generateCodeFrame: () => (/* reexport safe */ _vue_shared__WEBPACK_IMPORTED_MODULE_0__.generateCodeFrame), +/* harmony export */ getBaseTransformPreset: () => (/* binding */ getBaseTransformPreset), +/* harmony export */ getConstantType: () => (/* binding */ getConstantType), +/* harmony export */ getInnerRange: () => (/* binding */ getInnerRange), +/* harmony export */ getMemoedVNodeCall: () => (/* binding */ getMemoedVNodeCall), +/* harmony export */ getVNodeBlockHelper: () => (/* binding */ getVNodeBlockHelper), +/* harmony export */ getVNodeHelper: () => (/* binding */ getVNodeHelper), +/* harmony export */ hasDynamicKeyVBind: () => (/* binding */ hasDynamicKeyVBind), +/* harmony export */ hasScopeRef: () => (/* binding */ hasScopeRef), +/* harmony export */ helperNameMap: () => (/* binding */ helperNameMap), +/* harmony export */ injectProp: () => (/* binding */ injectProp), +/* harmony export */ isBuiltInType: () => (/* binding */ isBuiltInType), +/* harmony export */ isCoreComponent: () => (/* binding */ isCoreComponent), +/* harmony export */ isFunctionType: () => (/* binding */ isFunctionType), +/* harmony export */ isInDestructureAssignment: () => (/* binding */ isInDestructureAssignment), +/* harmony export */ isMemberExpression: () => (/* binding */ isMemberExpression), +/* harmony export */ isMemberExpressionBrowser: () => (/* binding */ isMemberExpressionBrowser), +/* harmony export */ isMemberExpressionNode: () => (/* binding */ isMemberExpressionNode), +/* harmony export */ isReferencedIdentifier: () => (/* binding */ isReferencedIdentifier), +/* harmony export */ isSimpleIdentifier: () => (/* binding */ isSimpleIdentifier), +/* harmony export */ isSlotOutlet: () => (/* binding */ isSlotOutlet), +/* harmony export */ isStaticArgOf: () => (/* binding */ isStaticArgOf), +/* harmony export */ isStaticExp: () => (/* binding */ isStaticExp), +/* harmony export */ isStaticProperty: () => (/* binding */ isStaticProperty), +/* harmony export */ isStaticPropertyKey: () => (/* binding */ isStaticPropertyKey), +/* harmony export */ isTemplateNode: () => (/* binding */ isTemplateNode), +/* harmony export */ isText: () => (/* binding */ isText$1), +/* harmony export */ isVSlot: () => (/* binding */ isVSlot), +/* harmony export */ locStub: () => (/* binding */ locStub), +/* harmony export */ noopDirectiveTransform: () => (/* binding */ noopDirectiveTransform), +/* harmony export */ processExpression: () => (/* binding */ processExpression), +/* harmony export */ processFor: () => (/* binding */ processFor), +/* harmony export */ processIf: () => (/* binding */ processIf), +/* harmony export */ processSlotOutlet: () => (/* binding */ processSlotOutlet), +/* harmony export */ registerRuntimeHelpers: () => (/* binding */ registerRuntimeHelpers), +/* harmony export */ resolveComponentType: () => (/* binding */ resolveComponentType), +/* harmony export */ stringifyExpression: () => (/* binding */ stringifyExpression), +/* harmony export */ toValidAssetId: () => (/* binding */ toValidAssetId), +/* harmony export */ trackSlotScopes: () => (/* binding */ trackSlotScopes), +/* harmony export */ trackVForSlotScopes: () => (/* binding */ trackVForSlotScopes), +/* harmony export */ transform: () => (/* binding */ transform), +/* harmony export */ transformBind: () => (/* binding */ transformBind), +/* harmony export */ transformElement: () => (/* binding */ transformElement), +/* harmony export */ transformExpression: () => (/* binding */ transformExpression), +/* harmony export */ transformModel: () => (/* binding */ transformModel), +/* harmony export */ transformOn: () => (/* binding */ transformOn), +/* harmony export */ traverseNode: () => (/* binding */ traverseNode), +/* harmony export */ walkBlockDeclarations: () => (/* binding */ walkBlockDeclarations), +/* harmony export */ walkFunctionParams: () => (/* binding */ walkFunctionParams), +/* harmony export */ walkIdentifiers: () => (/* binding */ walkIdentifiers), +/* harmony export */ warnDeprecation: () => (/* binding */ warnDeprecation) +/* harmony export */ }); +/* harmony import */ var _vue_shared__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @vue/shared */ "./node_modules/@vue/shared/dist/shared.esm-bundler.js"); + + + +function defaultOnError(error) { + throw error; +} +function defaultOnWarn(msg) { + true && console.warn(`[Vue warn] ${msg.message}`); +} +function createCompilerError(code, loc, messages, additionalMessage) { + const msg = true ? (messages || errorMessages)[code] + (additionalMessage || ``) : 0; + const error = new SyntaxError(String(msg)); + error.code = code; + error.loc = loc; + return error; +} +const errorMessages = { + // parse errors + [0]: "Illegal comment.", + [1]: "CDATA section is allowed only in XML context.", + [2]: "Duplicate attribute.", + [3]: "End tag cannot have attributes.", + [4]: "Illegal '/' in tags.", + [5]: "Unexpected EOF in tag.", + [6]: "Unexpected EOF in CDATA section.", + [7]: "Unexpected EOF in comment.", + [8]: "Unexpected EOF in script.", + [9]: "Unexpected EOF in tag.", + [10]: "Incorrectly closed comment.", + [11]: "Incorrectly opened comment.", + [12]: "Illegal tag name. Use '<' to print '<'.", + [13]: "Attribute value was expected.", + [14]: "End tag name was expected.", + [15]: "Whitespace was expected.", + [16]: "Unexpected '|--!>| looseEqual(item, val)); +} + +const toDisplayString = (val) => { + return isString(val) ? val : val == null ? "" : isArray(val) || isObject(val) && (val.toString === objectToString || !isFunction(val.toString)) ? JSON.stringify(val, replacer, 2) : String(val); +}; +const replacer = (_key, val) => { + if (val && val.__v_isRef) { + return replacer(_key, val.value); + } else if (isMap(val)) { + return { + [`Map(${val.size})`]: [...val.entries()].reduce((entries, [key, val2]) => { + entries[`${key} =>`] = val2; + return entries; + }, {}) + }; + } else if (isSet(val)) { + return { + [`Set(${val.size})`]: [...val.values()] + }; + } else if (isObject(val) && !isArray(val) && !isPlainObject(val)) { + return String(val); + } + return val; +}; - const isKeepAlive = (vnode) => vnode.type.__isKeepAlive; - const KeepAliveImpl = { - name: `KeepAlive`, - // Marker for special handling inside the renderer. We are not using a === - // check directly on KeepAlive in the renderer, because importing it directly - // would prevent it from being tree-shaken. - __isKeepAlive: true, - props: { - include: [String, RegExp, Array], - exclude: [String, RegExp, Array], - max: [String, Number], - }, - setup(props, { slots }) { - const instance = getCurrentInstance(); - const sharedContext = instance.ctx; - if (!sharedContext.renderer) { - return () => { - const children = - slots.default && slots.default(); - return children && children.length === 1 - ? children[0] - : children; - }; - } - const cache = /* @__PURE__ */ new Map(); - const keys = /* @__PURE__ */ new Set(); - let current = null; - if (true) { - instance.__v_cache = cache; - } - const parentSuspense = instance.suspense; - const { - renderer: { - p: patch, - m: move, - um: _unmount, - o: { createElement }, - }, - } = sharedContext; - const storageContainer = createElement("div"); - sharedContext.activate = ( - vnode, - container, - anchor, - isSVG, - optimized - ) => { - const instance2 = vnode.component; - move(vnode, container, anchor, 0, parentSuspense); - patch( - instance2.vnode, - vnode, - container, - anchor, - instance2, - parentSuspense, - isSVG, - vnode.slotScopeIds, - optimized - ); - queuePostRenderEffect(() => { - instance2.isDeactivated = false; - if (instance2.a) { - (0, - _vue_shared__WEBPACK_IMPORTED_MODULE_1__.invokeArrayFns)( - instance2.a - ); - } - const vnodeHook = - vnode.props && vnode.props.onVnodeMounted; - if (vnodeHook) { - invokeVNodeHook( - vnodeHook, - instance2.parent, - vnode - ); - } - }, parentSuspense); - if (true) { - devtoolsComponentAdded(instance2); - } - }; - sharedContext.deactivate = (vnode) => { - const instance2 = vnode.component; - move( - vnode, - storageContainer, - null, - 1, - parentSuspense - ); - queuePostRenderEffect(() => { - if (instance2.da) { - (0, - _vue_shared__WEBPACK_IMPORTED_MODULE_1__.invokeArrayFns)( - instance2.da - ); - } - const vnodeHook = - vnode.props && vnode.props.onVnodeUnmounted; - if (vnodeHook) { - invokeVNodeHook( - vnodeHook, - instance2.parent, - vnode - ); - } - instance2.isDeactivated = true; - }, parentSuspense); - if (true) { - devtoolsComponentAdded(instance2); - } - }; - function unmount(vnode) { - resetShapeFlag(vnode); - _unmount(vnode, instance, parentSuspense, true); - } - function pruneCache(filter) { - cache.forEach((vnode, key) => { - const name = getComponentName(vnode.type); - if (name && (!filter || !filter(name))) { - pruneCacheEntry(key); - } - }); - } - function pruneCacheEntry(key) { - const cached = cache.get(key); - if (!current || !isSameVNodeType(cached, current)) { - unmount(cached); - } else if (current) { - resetShapeFlag(current); - } - cache.delete(key); - keys.delete(key); - } - watch( - () => [props.include, props.exclude], - ([include, exclude]) => { - include && - pruneCache((name) => - matches(include, name) - ); - exclude && - pruneCache( - (name) => !matches(exclude, name) - ); - }, - // prune post-render after `current` has been updated - { flush: "post", deep: true } - ); - let pendingCacheKey = null; - const cacheSubtree = () => { - if (pendingCacheKey != null) { - cache.set( - pendingCacheKey, - getInnerChild(instance.subTree) - ); - } - }; - onMounted(cacheSubtree); - onUpdated(cacheSubtree); - onBeforeUnmount(() => { - cache.forEach((cached) => { - const { subTree, suspense } = instance; - const vnode = getInnerChild(subTree); - if ( - cached.type === vnode.type && - cached.key === vnode.key - ) { - resetShapeFlag(vnode); - const da = vnode.component.da; - da && queuePostRenderEffect(da, suspense); - return; - } - unmount(cached); - }); - }); - return () => { - pendingCacheKey = null; - if (!slots.default) { - return null; - } - const children = slots.default(); - const rawVNode = children[0]; - if (children.length > 1) { - if (true) { - warn( - `KeepAlive should contain exactly one component child.` - ); - } - current = null; - return children; - } else if ( - !isVNode(rawVNode) || - (!(rawVNode.shapeFlag & 4) && - !(rawVNode.shapeFlag & 128)) - ) { - current = null; - return rawVNode; - } - let vnode = getInnerChild(rawVNode); - const comp = vnode.type; - const name = getComponentName( - isAsyncWrapper(vnode) - ? vnode.type.__asyncResolved || {} - : comp - ); - const { include, exclude, max } = props; - if ( - (include && - (!name || !matches(include, name))) || - (exclude && name && matches(exclude, name)) - ) { - current = vnode; - return rawVNode; - } - const key = vnode.key == null ? comp : vnode.key; - const cachedVNode = cache.get(key); - if (vnode.el) { - vnode = cloneVNode(vnode); - if (rawVNode.shapeFlag & 128) { - rawVNode.ssContent = vnode; - } - } - pendingCacheKey = key; - if (cachedVNode) { - vnode.el = cachedVNode.el; - vnode.component = cachedVNode.component; - if (vnode.transition) { - setTransitionHooks(vnode, vnode.transition); - } - vnode.shapeFlag |= 512; - keys.delete(key); - keys.add(key); - } else { - keys.add(key); - if (max && keys.size > parseInt(max, 10)) { - pruneCacheEntry(keys.values().next().value); - } - } - vnode.shapeFlag |= 256; - current = vnode; - return isSuspense(rawVNode.type) ? rawVNode : vnode; - }; - }, - }; - const KeepAlive = KeepAliveImpl; - function matches(pattern, name) { - if ( - (0, _vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)( - pattern - ) - ) { - return pattern.some((p) => matches(p, name)); - } else if ( - (0, _vue_shared__WEBPACK_IMPORTED_MODULE_1__.isString)( - pattern - ) - ) { - return pattern.split(",").includes(name); - } else if ( - (0, _vue_shared__WEBPACK_IMPORTED_MODULE_1__.isRegExp)( - pattern - ) - ) { - return pattern.test(name); - } - return false; - } - function onActivated(hook, target) { - registerKeepAliveHook(hook, "a", target); - } - function onDeactivated(hook, target) { - registerKeepAliveHook(hook, "da", target); - } - function registerKeepAliveHook( - hook, - type, - target = currentInstance - ) { - const wrappedHook = - hook.__wdc || - (hook.__wdc = () => { - let current = target; - while (current) { - if (current.isDeactivated) { - return; - } - current = current.parent; - } - return hook(); - }); - injectHook(type, wrappedHook, target); - if (target) { - let current = target.parent; - while (current && current.parent) { - if (isKeepAlive(current.parent.vnode)) { - injectToKeepAliveRoot( - wrappedHook, - type, - target, - current - ); - } - current = current.parent; - } - } - } - function injectToKeepAliveRoot( - hook, - type, - target, - keepAliveRoot - ) { - const injected = injectHook( - type, - hook, - keepAliveRoot, - true - /* prepend */ - ); - onUnmounted(() => { - (0, _vue_shared__WEBPACK_IMPORTED_MODULE_1__.remove)( - keepAliveRoot[type], - injected - ); - }, target); - } - function resetShapeFlag(vnode) { - vnode.shapeFlag &= ~256; - vnode.shapeFlag &= ~512; - } - function getInnerChild(vnode) { - return vnode.shapeFlag & 128 ? vnode.ssContent : vnode; - } - function injectHook( - type, - hook, - target = currentInstance, - prepend = false - ) { - if (target) { - const hooks = target[type] || (target[type] = []); - const wrappedHook = - hook.__weh || - (hook.__weh = (...args) => { - if (target.isUnmounted) { - return; - } - (0, - _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.pauseTracking)(); - setCurrentInstance(target); - const res = callWithAsyncErrorHandling( - hook, - target, - type, - args - ); - unsetCurrentInstance(); - (0, - _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.resetTracking)(); - return res; - }); - if (prepend) { - hooks.unshift(wrappedHook); - } else { - hooks.push(wrappedHook); - } - return wrappedHook; - } else if (true) { - const apiName = (0, - _vue_shared__WEBPACK_IMPORTED_MODULE_1__.toHandlerKey)( - ErrorTypeStrings[type].replace(/ hook$/, "") - ); - warn( - `${apiName} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup().` + - ` If you are using async setup(), make sure to register lifecycle hooks before the first await statement.` - ); - } - } - const createHook = - (lifecycle) => - (hook, target = currentInstance) => - // post-create lifecycle registrations are noops during SSR (except for serverPrefetch) - (!isInSSRComponentSetup || lifecycle === "sp") && - injectHook( - lifecycle, - (...args) => hook(...args), - target - ); - const onBeforeMount = createHook("bm"); - const onMounted = createHook("m"); - const onBeforeUpdate = createHook("bu"); - const onUpdated = createHook("u"); - const onBeforeUnmount = createHook("bum"); - const onUnmounted = createHook("um"); - const onServerPrefetch = createHook("sp"); - const onRenderTriggered = createHook("rtg"); - const onRenderTracked = createHook("rtc"); - function onErrorCaptured(hook, target = currentInstance) { - injectHook("ec", hook, target); - } - const COMPONENTS = "components"; - const DIRECTIVES = "directives"; - function resolveComponent(name, maybeSelfReference) { - return ( - resolveAsset( - COMPONENTS, - name, - true, - maybeSelfReference - ) || name - ); - } - const NULL_DYNAMIC_COMPONENT = Symbol.for("v-ndc"); - function resolveDynamicComponent(component) { - if ( - (0, _vue_shared__WEBPACK_IMPORTED_MODULE_1__.isString)( - component - ) - ) { - return ( - resolveAsset(COMPONENTS, component, false) || - component - ); - } else { - return component || NULL_DYNAMIC_COMPONENT; - } - } - function resolveDirective(name) { - return resolveAsset(DIRECTIVES, name); - } - function resolveAsset( - type, - name, - warnMissing = true, - maybeSelfReference = false - ) { - const instance = - currentRenderingInstance || currentInstance; - if (instance) { - const Component = instance.type; - if (type === COMPONENTS) { - const selfName = getComponentName( - Component, - false - /* do not include inferred name to avoid breaking existing code */ - ); - if ( - selfName && - (selfName === name || - selfName === - (0, - _vue_shared__WEBPACK_IMPORTED_MODULE_1__.camelize)( - name - ) || - selfName === - (0, - _vue_shared__WEBPACK_IMPORTED_MODULE_1__.capitalize)( - (0, - _vue_shared__WEBPACK_IMPORTED_MODULE_1__.camelize)( - name - ) - )) - ) { - return Component; - } - } - const res = - // local registration - // check instance[type] first which is resolved for options API - resolve(instance[type] || Component[type], name) || // global registration - resolve(instance.appContext[type], name); - if (!res && maybeSelfReference) { - return Component; - } - if (true && warnMissing && !res) { - const extra = - type === COMPONENTS - ? ` -If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.` - : ``; - warn( - `Failed to resolve ${type.slice( - 0, - -1 - )}: ${name}${extra}` - ); - } - return res; - } else if (true) { - warn( - `resolve${(0, - _vue_shared__WEBPACK_IMPORTED_MODULE_1__.capitalize)( - type.slice(0, -1) - )} can only be used in render() or setup().` - ); - } - } - function resolve(registry, name) { - return ( - registry && - (registry[name] || - registry[ - (0, - _vue_shared__WEBPACK_IMPORTED_MODULE_1__.camelize)( - name - ) - ] || - registry[ - (0, - _vue_shared__WEBPACK_IMPORTED_MODULE_1__.capitalize)( - (0, - _vue_shared__WEBPACK_IMPORTED_MODULE_1__.camelize)( - name - ) - ) - ]) - ); - } - function renderList(source, renderItem, cache, index) { - let ret; - const cached = cache && cache[index]; - if ( - (0, _vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)( - source - ) || - (0, _vue_shared__WEBPACK_IMPORTED_MODULE_1__.isString)( - source - ) - ) { - ret = new Array(source.length); - for (let i = 0, l = source.length; i < l; i++) { - ret[i] = renderItem( - source[i], - i, - void 0, - cached && cached[i] - ); - } - } else if (typeof source === "number") { - if (true && !Number.isInteger(source)) { - warn( - `The v-for range expect an integer value but got ${source}.` - ); - } - ret = new Array(source); - for (let i = 0; i < source; i++) { - ret[i] = renderItem( - i + 1, - i, - void 0, - cached && cached[i] - ); - } - } else if ( - (0, _vue_shared__WEBPACK_IMPORTED_MODULE_1__.isObject)( - source - ) - ) { - if (source[Symbol.iterator]) { - ret = Array.from(source, (item, i) => - renderItem(item, i, void 0, cached && cached[i]) - ); - } else { - const keys = Object.keys(source); - ret = new Array(keys.length); - for (let i = 0, l = keys.length; i < l; i++) { - const key = keys[i]; - ret[i] = renderItem( - source[key], - key, - i, - cached && cached[i] - ); - } - } - } else { - ret = []; - } - if (cache) { - cache[index] = ret; - } - return ret; - } +/***/ }), + +/***/ "./node_modules/axios/index.js": +/*!*************************************!*\ + !*** ./node_modules/axios/index.js ***! + \*************************************/ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +module.exports = __webpack_require__(/*! ./lib/axios */ "./node_modules/axios/lib/axios.js"); + +/***/ }), + +/***/ "./node_modules/axios/lib/adapters/xhr.js": +/*!************************************************!*\ + !*** ./node_modules/axios/lib/adapters/xhr.js ***! + \************************************************/ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +"use strict"; + + +var utils = __webpack_require__(/*! ./../utils */ "./node_modules/axios/lib/utils.js"); +var settle = __webpack_require__(/*! ./../core/settle */ "./node_modules/axios/lib/core/settle.js"); +var cookies = __webpack_require__(/*! ./../helpers/cookies */ "./node_modules/axios/lib/helpers/cookies.js"); +var buildURL = __webpack_require__(/*! ./../helpers/buildURL */ "./node_modules/axios/lib/helpers/buildURL.js"); +var buildFullPath = __webpack_require__(/*! ../core/buildFullPath */ "./node_modules/axios/lib/core/buildFullPath.js"); +var parseHeaders = __webpack_require__(/*! ./../helpers/parseHeaders */ "./node_modules/axios/lib/helpers/parseHeaders.js"); +var isURLSameOrigin = __webpack_require__(/*! ./../helpers/isURLSameOrigin */ "./node_modules/axios/lib/helpers/isURLSameOrigin.js"); +var transitionalDefaults = __webpack_require__(/*! ../defaults/transitional */ "./node_modules/axios/lib/defaults/transitional.js"); +var AxiosError = __webpack_require__(/*! ../core/AxiosError */ "./node_modules/axios/lib/core/AxiosError.js"); +var CanceledError = __webpack_require__(/*! ../cancel/CanceledError */ "./node_modules/axios/lib/cancel/CanceledError.js"); +var parseProtocol = __webpack_require__(/*! ../helpers/parseProtocol */ "./node_modules/axios/lib/helpers/parseProtocol.js"); + +module.exports = function xhrAdapter(config) { + return new Promise(function dispatchXhrRequest(resolve, reject) { + var requestData = config.data; + var requestHeaders = config.headers; + var responseType = config.responseType; + var onCanceled; + function done() { + if (config.cancelToken) { + config.cancelToken.unsubscribe(onCanceled); + } + + if (config.signal) { + config.signal.removeEventListener('abort', onCanceled); + } + } + + if (utils.isFormData(requestData) && utils.isStandardBrowserEnv()) { + delete requestHeaders['Content-Type']; // Let the browser set it + } + + var request = new XMLHttpRequest(); + + // HTTP basic authentication + if (config.auth) { + var username = config.auth.username || ''; + var password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : ''; + requestHeaders.Authorization = 'Basic ' + btoa(username + ':' + password); + } + + var fullPath = buildFullPath(config.baseURL, config.url); + + request.open(config.method.toUpperCase(), buildURL(fullPath, config.params, config.paramsSerializer), true); + + // Set the request timeout in MS + request.timeout = config.timeout; + + function onloadend() { + if (!request) { + return; + } + // Prepare the response + var responseHeaders = 'getAllResponseHeaders' in request ? parseHeaders(request.getAllResponseHeaders()) : null; + var responseData = !responseType || responseType === 'text' || responseType === 'json' ? + request.responseText : request.response; + var response = { + data: responseData, + status: request.status, + statusText: request.statusText, + headers: responseHeaders, + config: config, + request: request + }; + + settle(function _resolve(value) { + resolve(value); + done(); + }, function _reject(err) { + reject(err); + done(); + }, response); + + // Clean up request + request = null; + } + + if ('onloadend' in request) { + // Use onloadend if available + request.onloadend = onloadend; + } else { + // Listen for ready state to emulate onloadend + request.onreadystatechange = function handleLoad() { + if (!request || request.readyState !== 4) { + return; + } + + // The request errored out and we didn't get a response, this will be + // handled by onerror instead + // With one exception: request that using file: protocol, most browsers + // will return status as 0 even though it's a successful request + if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) { + return; + } + // readystate handler is calling before onerror or ontimeout handlers, + // so we should call onloadend on the next 'tick' + setTimeout(onloadend); + }; + } + + // Handle browser request cancellation (as opposed to a manual cancellation) + request.onabort = function handleAbort() { + if (!request) { + return; + } + + reject(new AxiosError('Request aborted', AxiosError.ECONNABORTED, config, request)); + + // Clean up request + request = null; + }; + + // Handle low level network errors + request.onerror = function handleError() { + // Real errors are hidden from us by the browser + // onerror should only fire if it's a network error + reject(new AxiosError('Network Error', AxiosError.ERR_NETWORK, config, request, request)); + + // Clean up request + request = null; + }; + + // Handle timeout + request.ontimeout = function handleTimeout() { + var timeoutErrorMessage = config.timeout ? 'timeout of ' + config.timeout + 'ms exceeded' : 'timeout exceeded'; + var transitional = config.transitional || transitionalDefaults; + if (config.timeoutErrorMessage) { + timeoutErrorMessage = config.timeoutErrorMessage; + } + reject(new AxiosError( + timeoutErrorMessage, + transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED, + config, + request)); + + // Clean up request + request = null; + }; + + // Add xsrf header + // This is only done if running in a standard browser environment. + // Specifically not if we're in a web worker, or react-native. + if (utils.isStandardBrowserEnv()) { + // Add xsrf header + var xsrfValue = (config.withCredentials || isURLSameOrigin(fullPath)) && config.xsrfCookieName ? + cookies.read(config.xsrfCookieName) : + undefined; + + if (xsrfValue) { + requestHeaders[config.xsrfHeaderName] = xsrfValue; + } + } + + // Add headers to the request + if ('setRequestHeader' in request) { + utils.forEach(requestHeaders, function setRequestHeader(val, key) { + if (typeof requestData === 'undefined' && key.toLowerCase() === 'content-type') { + // Remove Content-Type if data is undefined + delete requestHeaders[key]; + } else { + // Otherwise add header to the request + request.setRequestHeader(key, val); + } + }); + } + + // Add withCredentials to request if needed + if (!utils.isUndefined(config.withCredentials)) { + request.withCredentials = !!config.withCredentials; + } + + // Add responseType to request if needed + if (responseType && responseType !== 'json') { + request.responseType = config.responseType; + } + + // Handle progress if needed + if (typeof config.onDownloadProgress === 'function') { + request.addEventListener('progress', config.onDownloadProgress); + } - function createSlots(slots, dynamicSlots) { - for (let i = 0; i < dynamicSlots.length; i++) { - const slot = dynamicSlots[i]; - if ( - (0, - _vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)( - slot - ) - ) { - for (let j = 0; j < slot.length; j++) { - slots[slot[j].name] = slot[j].fn; - } - } else if (slot) { - slots[slot.name] = slot.key - ? (...args) => { - const res = slot.fn(...args); - if (res) res.key = slot.key; - return res; - } - : slot.fn; - } - } - return slots; - } + // Not all browsers support upload events + if (typeof config.onUploadProgress === 'function' && request.upload) { + request.upload.addEventListener('progress', config.onUploadProgress); + } - function renderSlot( - slots, - name, - props = {}, - fallback, - noSlotted - ) { - if ( - currentRenderingInstance.isCE || - (currentRenderingInstance.parent && - isAsyncWrapper(currentRenderingInstance.parent) && - currentRenderingInstance.parent.isCE) - ) { - if (name !== "default") props.name = name; - return createVNode( - "slot", - props, - fallback && fallback() - ); - } - let slot = slots[name]; - if (true && slot && slot.length > 1) { - warn( - `SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template.` - ); - slot = () => []; - } - if (slot && slot._c) { - slot._d = false; - } - openBlock(); - const validSlotContent = - slot && ensureValidVNode(slot(props)); - const rendered = createBlock( - Fragment, - { - key: - props.key || // slot content array of a dynamic conditional slot may have a branch - // key attached in the `createSlots` helper, respect that - (validSlotContent && validSlotContent.key) || - `_${name}`, - }, - validSlotContent || (fallback ? fallback() : []), - validSlotContent && slots._ === 1 ? 64 : -2 - ); - if (!noSlotted && rendered.scopeId) { - rendered.slotScopeIds = [rendered.scopeId + "-s"]; - } - if (slot && slot._c) { - slot._d = true; - } - return rendered; - } - function ensureValidVNode(vnodes) { - return vnodes.some((child) => { - if (!isVNode(child)) return true; - if (child.type === Comment) return false; - if ( - child.type === Fragment && - !ensureValidVNode(child.children) - ) - return false; - return true; - }) - ? vnodes - : null; - } + if (config.cancelToken || config.signal) { + // Handle cancellation + // eslint-disable-next-line func-names + onCanceled = function(cancel) { + if (!request) { + return; + } + reject(!cancel || (cancel && cancel.type) ? new CanceledError() : cancel); + request.abort(); + request = null; + }; + + config.cancelToken && config.cancelToken.subscribe(onCanceled); + if (config.signal) { + config.signal.aborted ? onCanceled() : config.signal.addEventListener('abort', onCanceled); + } + } - function toHandlers(obj, preserveCaseIfNecessary) { - const ret = {}; - if ( - true && - !(0, _vue_shared__WEBPACK_IMPORTED_MODULE_1__.isObject)( - obj - ) - ) { - warn(`v-on with no argument expects an object value.`); - return ret; - } - for (const key in obj) { - ret[ - preserveCaseIfNecessary && /[A-Z]/.test(key) - ? `on:${key}` - : (0, - _vue_shared__WEBPACK_IMPORTED_MODULE_1__.toHandlerKey)( - key - ) - ] = obj[key]; - } - return ret; - } + if (!requestData) { + requestData = null; + } - const getPublicInstance = (i) => { - if (!i) return null; - if (isStatefulComponent(i)) - return getExposeProxy(i) || i.proxy; - return getPublicInstance(i.parent); - }; - const publicPropertiesMap = - // Move PURE marker to new line to workaround compiler discarding it - // due to type annotation - /* @__PURE__ */ (0, - _vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)( - /* @__PURE__ */ Object.create(null), - { - $: (i) => i, - $el: (i) => i.vnode.el, - $data: (i) => i.data, - $props: (i) => - true - ? (0, - _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.shallowReadonly)( - i.props - ) - : 0, - $attrs: (i) => - true - ? (0, - _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.shallowReadonly)( - i.attrs - ) - : 0, - $slots: (i) => - true - ? (0, - _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.shallowReadonly)( - i.slots - ) - : 0, - $refs: (i) => - true - ? (0, - _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.shallowReadonly)( - i.refs - ) - : 0, - $parent: (i) => getPublicInstance(i.parent), - $root: (i) => getPublicInstance(i.root), - $emit: (i) => i.emit, - $options: (i) => - true ? resolveMergedOptions(i) : 0, - $forceUpdate: (i) => - i.f || (i.f = () => queueJob(i.update)), - $nextTick: (i) => - i.n || (i.n = nextTick.bind(i.proxy)), - $watch: (i) => (true ? instanceWatch.bind(i) : 0), - } - ); - const isReservedPrefix = (key) => key === "_" || key === "$"; - const hasSetupBinding = (state, key) => - state !== - _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ && - !state.__isScriptSetup && - (0, _vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)( - state, - key - ); - const PublicInstanceProxyHandlers = { - get({ _: instance }, key) { - const { - ctx, - setupState, - data, - props, - accessCache, - type, - appContext, - } = instance; - if (true && key === "__isVue") { - return true; - } - let normalizedProps; - if (key[0] !== "$") { - const n = accessCache[key]; - if (n !== void 0) { - switch (n) { - case 1 /* SETUP */: - return setupState[key]; - case 2 /* DATA */: - return data[key]; - case 4 /* CONTEXT */: - return ctx[key]; - case 3 /* PROPS */: - return props[key]; - } - } else if (hasSetupBinding(setupState, key)) { - accessCache[key] = 1 /* SETUP */; - return setupState[key]; - } else if ( - data !== - _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ && - (0, - _vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)( - data, - key - ) - ) { - accessCache[key] = 2 /* DATA */; - return data[key]; - } else if ( - // only cache other properties when instance has declared (thus stable) - // props - (normalizedProps = instance.propsOptions[0]) && - (0, - _vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)( - normalizedProps, - key - ) - ) { - accessCache[key] = 3 /* PROPS */; - return props[key]; - } else if ( - ctx !== - _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ && - (0, - _vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)( - ctx, - key - ) - ) { - accessCache[key] = 4 /* CONTEXT */; - return ctx[key]; - } else if (false || shouldCacheAccess) { - accessCache[key] = 0 /* OTHER */; - } - } - const publicGetter = publicPropertiesMap[key]; - let cssModule, globalProperties; - if (publicGetter) { - if (key === "$attrs") { - (0, - _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.track)( - instance, - "get", - key - ); - true && markAttrsAccessed(); - } else if (true && key === "$slots") { - (0, - _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.track)( - instance, - "get", - key - ); - } - return publicGetter(instance); - } else if ( - // css module (injected by vue-loader) - (cssModule = type.__cssModules) && - (cssModule = cssModule[key]) - ) { - return cssModule; - } else if ( - ctx !== - _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ && - (0, - _vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)( - ctx, - key - ) - ) { - accessCache[key] = 4 /* CONTEXT */; - return ctx[key]; - } else if ( - // global properties - ((globalProperties = - appContext.config.globalProperties), - (0, - _vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)( - globalProperties, - key - )) - ) { - { - return globalProperties[key]; - } - } else if ( - true && - currentRenderingInstance && - (!(0, - _vue_shared__WEBPACK_IMPORTED_MODULE_1__.isString)( - key - ) || // #1091 avoid internal isRef/isVNode checks on component instance leading - // to infinite warning loop - key.indexOf("__v") !== 0) - ) { - if ( - data !== - _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ && - isReservedPrefix(key[0]) && - (0, - _vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)( - data, - key - ) - ) { - warn( - `Property ${JSON.stringify( - key - )} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.` - ); - } else if (instance === currentRenderingInstance) { - warn( - `Property ${JSON.stringify( - key - )} was accessed during render but is not defined on instance.` - ); - } - } - }, - set({ _: instance }, key, value) { - const { data, setupState, ctx } = instance; - if (hasSetupBinding(setupState, key)) { - setupState[key] = value; - return true; - } else if ( - true && - setupState.__isScriptSetup && - (0, - _vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)( - setupState, - key - ) - ) { - warn( - `Cannot mutate + + \ No newline at end of file diff --git a/resources/js/pages/Index.vue b/resources/js/pages/Index.vue index 068f2445..e096cf01 100644 --- a/resources/js/pages/Index.vue +++ b/resources/js/pages/Index.vue @@ -1,4 +1,15 @@ + + diff --git a/tailwind.config.js b/tailwind.config.js index ef28caf7..c6ab3d3e 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -2,8 +2,7 @@ module.exports = { content: [ "./resources/**/*.blade.php", "./resources/**/*.js", - "./resources/**/*.vue", - "./node_modules/flowbite/**/*.js", + "./resources/**/*.vue", ], theme: { extend: {}, @@ -13,6 +12,5 @@ module.exports = { textColor: ["group-hover"], // Add any other group-hover variants you need }, - }, - plugins: ["flowbite/plugin"], + }, };