diff --git a/.eslintrc.js b/.eslintrc.js index 4901a7a..7a9d624 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,38 +1,26 @@ module.exports = { - 'env': { - 'browser': true, - 'commonjs': true, - 'es6': true + env: { + browser: true, + commonjs: true, + es6: true, }, - 'extends': 'eslint:recommended', - 'globals': { - 'Atomics': 'readonly', - 'SharedArrayBuffer': 'readonly' + extends: 'eslint:recommended', + globals: { + Atomics: 'readonly', + SharedArrayBuffer: 'readonly', }, - 'parserOptions': { - "sourceType": "module", - "allowImportExportEverywhere": true + parserOptions: { + sourceType: 'module', + allowImportExportEverywhere: true, }, - 'rules': { - "no-mixed-spaces-and-tabs": 0, - "no-unused-vars": 0, - "no-useless-escape": 0, - "no-undef": 0, - 'indent': [ - 'error', - 4 - ], - 'linebreak-style': [ - 'error', - 'unix' - ], - 'quotes': [ - 'error', - 'single' - ], - 'semi': [ - 'error', - 'always' - ] - } -}; \ No newline at end of file + rules: { + 'no-mixed-spaces-and-tabs': 0, + 'no-unused-vars': 0, + 'no-useless-escape': 0, + 'no-undef': 0, + indent: ['error', 4], + 'linebreak-style': ['error', 'unix'], + quotes: ['error', 'single'], + semi: ['error', 'always'], + }, +}; diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..5b61fe8 --- /dev/null +++ b/.prettierignore @@ -0,0 +1,16 @@ +.cache +package.json +package-lock.json +yarn.lock +LICENSE +README.md +public/build +static +yarn.lock +out +build +node_modules +.next +.github +.vercel +dist \ No newline at end of file diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..002d175 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,5 @@ +{ + "arrowParens": "avoid", + "semi": true, + "singleQuote": true +} \ No newline at end of file diff --git a/README.md b/README.md index 3b9ec95..b283aec 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,74 @@ # Quotes image Generator +⚡ Rollupjs | ✨ Tailwind CSS | 📸 HTML Canvas | 🎩 Alpine.js | 🌩 Cloudflare Pages + Free Quotes image Generator - Easy to use Just like Writing in Paper. +> Quotes image Maker - Quotes Application + ## Methods Used ⚙ - HTML/CSS and Javascript -- HTML Canvas -- Alpine.js -- tailwindcss - Front-end Styling -- rollup - Minify the Bundled JS +- HTML Canvas - Create Wish image +- Alpine.js - Javascript Magic +- Tailwindcss - Front-end Styling +- rollup - Minify and Bundled the JS file - Node `http-server` - Test the Site Locally -- Eslint -- Cloudflar Pages for Hosting - `npx wrangler pages publish public` +- Eslint - Fix the Lint Error +- Prettier - Beautify the Code files +- Slugify - Slugify the User input and Convert to URL +- Cloudflare Pages for Hosting - `npx wrangler pages publish public` + +## Installation 📦 + +- Add funtions, logic's and Modules - `/lib/app.js` +- Edit Home page - `index.html` +- CSS Styling - `/styles/tailwind.css` +- Build file - `main.js` + +- Clone this repo or Download + +```sh +git clone https://github.com/mskian/quotes-image-generator +quotes-image-generator +yarn install +``` + +- Test the site + +```sh +yarn dev +``` + +- Build the site + +```sh +yarn build +``` + +- Test the production Build on Localhost + +```sh +yarn start +``` + +- Build CSS + +```sh +yarn css +``` + +- Eslint Fix + +```sh +yarn lintfix +``` + +- Format the Code + +```sh +yarn Format +``` ## LICENSE ☑ diff --git a/index.js b/index.js index c0740c2..4c1626b 100644 --- a/index.js +++ b/index.js @@ -5,6 +5,14 @@ import Alpine from 'alpinejs'; window.Alpine = Alpine; Alpine.start(); +const link = document.querySelector('link[rel="canonical"]') + ? document.querySelector('link[rel="canonical"]') + : document.createElement('link'); +const pathname = typeof window !== 'undefined' ? window.location.href : ''; +link.setAttribute('rel', 'canonical'); +link.setAttribute('href', pathname); +document.head.appendChild(link); + var el = document.querySelector('#postData'); if (el) { el.addEventListener('submit', postData); @@ -33,15 +41,10 @@ function postData(event) { }, }).showToast(); - const link = document.querySelector('link[rel=\'canonical\']') - ? document.querySelector('link[rel=\'canonical\']') - : document.createElement('link'); - const pathname = typeof window !== 'undefined' ? window.location.href : ''; - link.setAttribute('rel', 'canonical'); - link.setAttribute('href', pathname); - document.head.appendChild(link); document.getElementById('notice').style.display = 'block'; - document.getElementById('notice').innerHTML = `
+ document.getElementById( + 'notice' + ).innerHTML = `
@@ -78,7 +81,7 @@ function postData(event) {
`; document.getElementById('notice').style.display = 'none'; }) - .catch((e) => { + .catch(e => { console.log(e); }); } diff --git a/package.json b/package.json index 493d127..2cc05a1 100644 --- a/package.json +++ b/package.json @@ -9,8 +9,9 @@ "dev": "rollup -c -w", "start": "http-server ./public -c-1 --p 3001", "lint": "eslint . --ext .js --cache", - "lintfix": "eslint --fix index.js", - "css": "tailwindcss -m -i ./styles/tailwind.css -o public/build/app.css" + "lintfix": "eslint . --ext .js --fix", + "css": "tailwindcss -m -i ./styles/tailwind.css -o public/build/app.css", + "format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,md,html}\"" }, "repository": { "type": "git", @@ -35,6 +36,7 @@ "eslint": "^8.19.0", "http-server": "^14.1.1", "postcss": "^8.4.14", + "prettier": "^2.7.1", "rollup": "^2.76.0", "rollup-plugin-livereload": "^2.0.5", "rollup-plugin-terser": "^7.0.2", diff --git a/postcss.config.js b/postcss.config.js index 8def97b..61b4232 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -1,4 +1,4 @@ export const plugins = { tailwindcss: {}, autoprefixer: {}, -}; \ No newline at end of file +}; diff --git a/public/_headers b/public/_headers new file mode 100644 index 0000000..4d3136c --- /dev/null +++ b/public/_headers @@ -0,0 +1,6 @@ +/* + X-Frame-Options: DENY + X-Content-Type-Options: nosniff + Referrer-Policy: no-referrer + Strict-Transport-Security: max-age=31536000 + X-Xss-Protection: 1; mode=block \ No newline at end of file diff --git a/public/build/app.css b/public/build/app.css index 9980eed..bbdf16b 100644 --- a/public/build/app.css +++ b/public/build/app.css @@ -1,2 +1,2 @@ @import url("https://fonts.googleapis.com/css2?family=Baloo+Thambi+2:wght@400;500;600;700;800&display=swap");@import url("https://cdn.jsdelivr.net/npm/toastify-js/src/toastify.min.css"); -/*! tailwindcss v3.1.6 | MIT License | https://tailwindcss.com*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:initial}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],select,textarea{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow:0 0 #0000}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,select:focus,textarea:focus{outline:2px solid #0000;outline-offset:2px;--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--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(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#2563eb}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-top:0;padding-bottom:0}select{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;color-adjust:exact;print-color-adjust:exact}[multiple]{background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;-webkit-print-color-adjust:exact;color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#2563eb;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow:0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid #0000;outline-offset:2px;--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--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)}[type=checkbox]:checked,[type=radio]:checked{border-color:#0000;background-color:currentColor;background-size:100% 100%;background-position:50%;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E")}[type=radio]:checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E")}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=checkbox]:indeterminate,[type=radio]:checked:focus,[type=radio]:checked:hover{border-color:#0000;background-color:currentColor}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E");background-size:100% 100%;background-position:50%;background-repeat:no-repeat}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{border-color:#0000;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}ol,ul{list-style:square}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::-webkit-backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:-webkit-sticky;position:sticky}.m-0{margin:0}.mx-auto{margin-left:auto;margin-right:auto}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mb-0{margin-bottom:0}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mr-2{margin-right:.5rem}.mb-2{margin-bottom:.5rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.inline-table{display:inline-table}.table-caption{display:table-caption}.table-cell{display:table-cell}.table-column{display:table-column}.table-column-group{display:table-column-group}.table-footer-group{display:table-footer-group}.table-header-group{display:table-header-group}.table-row-group{display:table-row-group}.table-row{display:table-row}.flow-root{display:flow-root}.grid{display:grid}.inline-grid{display:inline-grid}.contents{display:contents}.list-item{display:list-item}.hidden{display:none}.h-fit{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}.h-52{height:13rem}.h-72{height:18rem}.h-96{height:24rem}.max-h-96{max-height:24rem}.min-h-screen{min-height:100vh}.w-full{width:100%}.w-fit{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.w-52{width:13rem}.w-72{width:18rem}.w-96{width:24rem}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.max-w-xs{max-width:20rem}.max-w-fit{max-width:-webkit-fit-content;max-width:-moz-fit-content;max-width:fit-content}.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))}.resize{resize:both}.items-center{align-items:center}.justify-center{justify-content:center}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem*var(--tw-space-y-reverse))}.break-all{word-break:break-all}.rounded-lg{border-radius:.5rem}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.border{border-width:1px}.border-solid{border-style:solid}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.bg-gray-200{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-orange-200{--tw-bg-opacity:1;background-color:rgb(254 215 170/var(--tw-bg-opacity))}.bg-emerald-200{--tw-bg-opacity:1;background-color:rgb(167 243 208/var(--tw-bg-opacity))}.bg-purple-600{--tw-bg-opacity:1;background-color:rgb(147 51 234/var(--tw-bg-opacity))}.bg-fuchsia-200{--tw-bg-opacity:1;background-color:rgb(245 208 254/var(--tw-bg-opacity))}.bg-teal-50{--tw-bg-opacity:1;background-color:rgb(240 253 250/var(--tw-bg-opacity))}.bg-emerald-900{--tw-bg-opacity:1;background-color:rgb(6 78 59/var(--tw-bg-opacity))}.bg-zinc-600{--tw-bg-opacity:1;background-color:rgb(82 82 91/var(--tw-bg-opacity))}.bg-zinc-900{--tw-bg-opacity:1;background-color:rgb(24 24 27/var(--tw-bg-opacity))}.bg-zinc-800{--tw-bg-opacity:1;background-color:rgb(39 39 42/var(--tw-bg-opacity))}.bg-gray-400{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.bg-purple-300{--tw-bg-opacity:1;background-color:rgb(216 180 254/var(--tw-bg-opacity))}.bg-purple-200{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.from-pink-500{--tw-gradient-from:#ec4899;--tw-gradient-to:#ec489900;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.to-orange-400{--tw-gradient-to:#fb923c}.bg-clip-padding{background-clip:padding-box}.p-8{padding:2rem}.p-4{padding:1rem}.p-14{padding:3.5rem}.p-16{padding:4rem}.px-4{padding-left:1rem;padding-right:1rem}.py-16{padding-top:4rem;padding-bottom:4rem}.px-3{padding-left:.75rem;padding-right:.75rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-14{padding-top:3.5rem;padding-bottom:3.5rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.px-12{padding-left:3rem;padding-right:3rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.pr-12{padding-right:3rem}.text-center{text-align:center}.text-sm{font-size:.875rem;line-height:1.25rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.font-bold{font-weight:700}.font-normal{font-weight:400}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.italic{font-style:italic}.leading-7{line-height:1.75rem}.leading-relaxed{line-height:1.625}.text-green-600{--tw-text-opacity:1;color:rgb(22 163 74/var(--tw-text-opacity))}.text-yellow-700{--tw-text-opacity:1;color:rgb(161 98 7/var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity))}.text-zinc-700{--tw-text-opacity:1;color:rgb(63 63 70/var(--tw-text-opacity))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.text-amber-300{--tw-text-opacity:1;color:rgb(252 211 77/var(--tw-text-opacity))}.underline{-webkit-text-decoration-line:underline;text-decoration-line:underline}.overline{-webkit-text-decoration-line:overline;text-decoration-line:overline}.line-through{-webkit-text-decoration-line:line-through;text-decoration-line:line-through}.shadow-2xl{--tw-shadow:0 25px 50px -12px #00000040;--tw-shadow-colored:0 25px 50px -12px var(--tw-shadow-color)}.shadow-2xl,.shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.shadow{--tw-shadow:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a;--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)}.outline-none{outline:2px solid #0000;outline-offset:2px}.ring{--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(3px + 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)}.blur{--tw-blur:blur(8px)}.blur,.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,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-thumb{background-color:rgba(106,9,231,.302);border-radius:8px}::-webkit-scrollbar-thumb:hover{background-color:#f712bd80}body{font-family:Baloo Thambi\ 2,cursive;text-rendering:optimizeLegibility}table{width:100%;padding:12px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased!important;-moz-font-smoothing:antialiased!important;text-rendering:optimizelegibility!important}table,th,tr{overflow-wrap:break-word}table{border-collapse:collapse;border-spacing:0;border:1px solid #130d0d}td,th{text-align:left;padding:10px}table,td,th{border:1px solid #000}table tfoot tr,table thead tr{background:#0003}table tbody tr{background:#e7030314}table tr>th{text-align:left}table tr>th,tr>td{border:1px solid #0003;padding:10px 15px}#pagination{display:block;padding:10px;text-align:center}#pagination>a{display:inline-block;text-decoration:none;padding:10px;border:1px solid #0003;border-right:0;background-color:#7bff0014;color:#000;font-weight:600}#pagination>a:last-child{border-right:1px solid #0003}#pagination>a:hover{color:#fb3c00}.html2canvas-container{width:700px!important;height:700px!important}.pagination{max-width:400px;min-width:300px;width:100%;display:block;margin:0 auto;position:relative;background-color:#d2dbd2;padding:20px}.pagination .tableList{min-height:150px;text-indent:20px}.tableList .objectBlock{position:relative;background-color:#000;color:#fff;padding:10px;margin-bottom:10px}.pageButton{border:1px solid #000;padding:5px}.clickPageNumber{background-color:#d3d3d3;padding:5px;margin-left:2px;margin-right:2px}.pagination-block{text-align:center;width:100%}.pagination-block span{display:inline-block}.pagination-block .pageButton{background-color:grey;color:#fff}.pagination-block span:hover{cursor:pointer}.opacity-page{opacity:.5}.outline-none{outline:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.placeholder\:text-center::-moz-placeholder{text-align:center}.placeholder\:text-center::placeholder{text-align:center}.placeholder\:text-gray-700::-moz-placeholder{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity))}.placeholder\:text-gray-700::placeholder{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity))}.hover\:bg-gradient-to-bl:hover{background-image:linear-gradient(to bottom left,var(--tw-gradient-stops))}.focus\:border-blue-600:focus{--tw-border-opacity:1;border-color:rgb(37 99 235/var(--tw-border-opacity))}.focus\:bg-white:focus{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.focus\:text-gray-700:focus{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity))}.focus\:outline-none:focus{outline:2px solid #0000;outline-offset:2px}.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-pink-200:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(251 207 232/var(--tw-ring-opacity))}@media (prefers-color-scheme:dark){.dark\:focus\:ring-pink-800:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(157 23 77/var(--tw-ring-opacity))}}@media (min-width:640px){.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:text-2xl{font-size:1.5rem;line-height:2rem}}@media (min-width:1024px){.lg\:px-8{padding-left:2rem;padding-right:2rem}} \ No newline at end of file +/*! tailwindcss v3.1.6 | MIT License | https://tailwindcss.com*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:initial}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],select,textarea{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow:0 0 #0000}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,select:focus,textarea:focus{outline:2px solid #0000;outline-offset:2px;--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--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(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#2563eb}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-top:0;padding-bottom:0}select{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;color-adjust:exact;print-color-adjust:exact}[multiple]{background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;-webkit-print-color-adjust:exact;color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#2563eb;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow:0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid #0000;outline-offset:2px;--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--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)}[type=checkbox]:checked,[type=radio]:checked{border-color:#0000;background-color:currentColor;background-size:100% 100%;background-position:50%;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E")}[type=radio]:checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E")}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=checkbox]:indeterminate,[type=radio]:checked:focus,[type=radio]:checked:hover{border-color:#0000;background-color:currentColor}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E");background-size:100% 100%;background-position:50%;background-repeat:no-repeat}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{border-color:#0000;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}ol,ul{list-style:square}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::-webkit-backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:-webkit-sticky;position:sticky}.m-0{margin:0}.mx-auto{margin-left:auto;margin-right:auto}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mb-0{margin-bottom:0}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mr-2{margin-right:.5rem}.mb-2{margin-bottom:.5rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.inline-table{display:inline-table}.table-caption{display:table-caption}.table-cell{display:table-cell}.table-column{display:table-column}.table-column-group{display:table-column-group}.table-footer-group{display:table-footer-group}.table-header-group{display:table-header-group}.table-row-group{display:table-row-group}.table-row{display:table-row}.flow-root{display:flow-root}.grid{display:grid}.inline-grid{display:inline-grid}.contents{display:contents}.list-item{display:list-item}.hidden{display:none}.h-fit{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}.h-52{height:13rem}.h-72{height:18rem}.h-96{height:24rem}.max-h-96{max-height:24rem}.min-h-screen{min-height:100vh}.w-full{width:100%}.w-fit{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.w-52{width:13rem}.w-72{width:18rem}.w-96{width:24rem}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.max-w-xs{max-width:20rem}.max-w-fit{max-width:-webkit-fit-content;max-width:-moz-fit-content;max-width:fit-content}.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))}.resize{resize:both}.items-center{align-items:center}.justify-center{justify-content:center}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem*var(--tw-space-y-reverse))}.break-all{word-break:break-all}.rounded-lg{border-radius:.5rem}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.border{border-width:1px}.border-solid{border-style:solid}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.bg-gray-200{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-orange-200{--tw-bg-opacity:1;background-color:rgb(254 215 170/var(--tw-bg-opacity))}.bg-emerald-200{--tw-bg-opacity:1;background-color:rgb(167 243 208/var(--tw-bg-opacity))}.bg-purple-600{--tw-bg-opacity:1;background-color:rgb(147 51 234/var(--tw-bg-opacity))}.bg-fuchsia-200{--tw-bg-opacity:1;background-color:rgb(245 208 254/var(--tw-bg-opacity))}.bg-teal-50{--tw-bg-opacity:1;background-color:rgb(240 253 250/var(--tw-bg-opacity))}.bg-emerald-900{--tw-bg-opacity:1;background-color:rgb(6 78 59/var(--tw-bg-opacity))}.bg-zinc-600{--tw-bg-opacity:1;background-color:rgb(82 82 91/var(--tw-bg-opacity))}.bg-zinc-900{--tw-bg-opacity:1;background-color:rgb(24 24 27/var(--tw-bg-opacity))}.bg-zinc-800{--tw-bg-opacity:1;background-color:rgb(39 39 42/var(--tw-bg-opacity))}.bg-gray-400{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.bg-purple-300{--tw-bg-opacity:1;background-color:rgb(216 180 254/var(--tw-bg-opacity))}.bg-purple-200{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.from-pink-500{--tw-gradient-from:#ec4899;--tw-gradient-to:#ec489900;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.to-orange-400{--tw-gradient-to:#fb923c}.bg-clip-padding{background-clip:padding-box}.p-8{padding:2rem}.p-4{padding:1rem}.p-14{padding:3.5rem}.p-16{padding:4rem}.p-1{padding:.25rem}.px-4{padding-left:1rem;padding-right:1rem}.py-16{padding-top:4rem;padding-bottom:4rem}.px-3{padding-left:.75rem;padding-right:.75rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-14{padding-top:3.5rem;padding-bottom:3.5rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.px-12{padding-left:3rem;padding-right:3rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.pr-12{padding-right:3rem}.text-center{text-align:center}.text-sm{font-size:.875rem;line-height:1.25rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.font-bold{font-weight:700}.font-normal{font-weight:400}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.italic{font-style:italic}.leading-7{line-height:1.75rem}.leading-relaxed{line-height:1.625}.text-green-600{--tw-text-opacity:1;color:rgb(22 163 74/var(--tw-text-opacity))}.text-yellow-700{--tw-text-opacity:1;color:rgb(161 98 7/var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity))}.text-zinc-700{--tw-text-opacity:1;color:rgb(63 63 70/var(--tw-text-opacity))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.text-amber-300{--tw-text-opacity:1;color:rgb(252 211 77/var(--tw-text-opacity))}.underline{-webkit-text-decoration-line:underline;text-decoration-line:underline}.overline{-webkit-text-decoration-line:overline;text-decoration-line:overline}.line-through{-webkit-text-decoration-line:line-through;text-decoration-line:line-through}.shadow-2xl{--tw-shadow:0 25px 50px -12px #00000040;--tw-shadow-colored:0 25px 50px -12px var(--tw-shadow-color)}.shadow-2xl,.shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.shadow{--tw-shadow:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a;--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)}.outline-none{outline:2px solid #0000;outline-offset:2px}.ring{--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(3px + 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)}.blur{--tw-blur:blur(8px)}.blur,.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,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-thumb{background-color:rgba(106,9,231,.302);border-radius:8px}::-webkit-scrollbar-thumb:hover{background-color:#f712bd80}body{font-family:Baloo Thambi\ 2,cursive;text-rendering:optimizeLegibility}table{width:100%;padding:12px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased!important;-moz-font-smoothing:antialiased!important;text-rendering:optimizelegibility!important}table,th,tr{overflow-wrap:break-word}table{border-collapse:collapse;border-spacing:0;border:1px solid #130d0d}td,th{text-align:left;padding:10px}table,td,th{border:1px solid #000}table tfoot tr,table thead tr{background:#0003}table tbody tr{background:#e7030314}table tr>th{text-align:left}table tr>th,tr>td{border:1px solid #0003;padding:10px 15px}#pagination{display:block;padding:10px;text-align:center}#pagination>a{display:inline-block;text-decoration:none;padding:10px;border:1px solid #0003;border-right:0;background-color:#7bff0014;color:#000;font-weight:600}#pagination>a:last-child{border-right:1px solid #0003}#pagination>a:hover{color:#fb3c00}.html2canvas-container{width:700px!important;height:700px!important}.pagination{max-width:400px;min-width:300px;width:100%;display:block;margin:0 auto;position:relative;background-color:#d2dbd2;padding:20px}.pagination .tableList{min-height:150px;text-indent:20px}.tableList .objectBlock{position:relative;background-color:#000;color:#fff;padding:10px;margin-bottom:10px}.pageButton{border:1px solid #000;padding:5px}.clickPageNumber{background-color:#d3d3d3;padding:5px;margin-left:2px;margin-right:2px}.pagination-block{text-align:center;width:100%}.pagination-block span{display:inline-block}.pagination-block .pageButton{background-color:grey;color:#fff}.pagination-block span:hover{cursor:pointer}.opacity-page{opacity:.5}.outline-none{outline:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.placeholder\:text-center::-moz-placeholder{text-align:center}.placeholder\:text-center::placeholder{text-align:center}.placeholder\:text-gray-700::-moz-placeholder{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity))}.placeholder\:text-gray-700::placeholder{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity))}.hover\:bg-gradient-to-bl:hover{background-image:linear-gradient(to bottom left,var(--tw-gradient-stops))}.focus\:border-blue-600:focus{--tw-border-opacity:1;border-color:rgb(37 99 235/var(--tw-border-opacity))}.focus\:bg-white:focus{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.focus\:text-gray-700:focus{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity))}.focus\:outline-none:focus{outline:2px solid #0000;outline-offset:2px}.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-pink-200:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(251 207 232/var(--tw-ring-opacity))}@media (prefers-color-scheme:dark){.dark\:focus\:ring-pink-800:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(157 23 77/var(--tw-ring-opacity))}}@media (min-width:640px){.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:text-2xl{font-size:1.5rem;line-height:2rem}}@media (min-width:1024px){.lg\:px-8{padding-left:2rem;padding-right:2rem}} \ No newline at end of file diff --git a/public/build/bundle.js b/public/build/bundle.js index e72b899..c983034 100644 --- a/public/build/bundle.js +++ b/public/build/bundle.js @@ -1,4 +1,4 @@ -!function(A){"function"==typeof define&&define.amd?define(A):A()}((function(){"use strict";var A="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(A){var e=A.default;if("function"==typeof e){var t=function(){return e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(A).forEach((function(e){var r=Object.getOwnPropertyDescriptor(A,e);Object.defineProperty(t,e,r.get?r:{enumerable:!0,get:function(){return A[e]}})})),t}var t={exports:{}}; +!function(){"use strict";var A="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(A){var e=A.default;if("function"==typeof e){var t=function(){return e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(A).forEach((function(e){var r=Object.getOwnPropertyDescriptor(A,e);Object.defineProperty(t,e,r.get?r:{enumerable:!0,get:function(){return A[e]}})})),t}var t={exports:{}}; /*! * html2canvas 1.4.1 * Copyright (c) 2022 Niklas von Hertzen @@ -33,5 +33,5 @@ var A=function(e,t){return A=Object.setPrototypeOf||{__proto__:[]}instanceof Arr * Copyright (c) 2014-2017, Jon Schlinkert. * Released under the MIT License. */ -function bt(A){return"[object Object]"===Object.prototype.toString.call(A)}Object.defineProperty(yt,"__esModule",{value:!0}),yt.isPlainObject=function(A){var e,t;return!1!==bt(A)&&(void 0===(e=A.constructor)||!1!==bt(t=e.prototype)&&!1!==t.hasOwnProperty("isPrototypeOf"))};var vt=function(A){return function(A){return!!A&&"object"==typeof A}(A)&&!function(A){var e=Object.prototype.toString.call(A);return"[object RegExp]"===e||"[object Date]"===e||function(A){return A.$$typeof===Et}(A)}(A)};var Et="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Ht(A,e){return!1!==e.clone&&e.isMergeableObject(A)?Kt((t=A,Array.isArray(t)?[]:{}),A,e):A;var t}function xt(A,e,t){return A.concat(e).map((function(A){return Ht(A,t)}))}function It(A){return Object.keys(A).concat(function(A){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(A).filter((function(e){return A.propertyIsEnumerable(e)})):[]}(A))}function Lt(A,e){try{return e in A}catch(A){return!1}}function St(A,e,t){var r={};return t.isMergeableObject(A)&&It(A).forEach((function(e){r[e]=Ht(A[e],t)})),It(e).forEach((function(n){(function(A,e){return Lt(A,e)&&!(Object.hasOwnProperty.call(A,e)&&Object.propertyIsEnumerable.call(A,e))})(A,n)||(Lt(A,n)&&t.isMergeableObject(e[n])?r[n]=function(A,e){if(!e.customMerge)return Kt;var t=e.customMerge(A);return"function"==typeof t?t:Kt}(n,t)(A[n],e[n],t):r[n]=Ht(e[n],t))})),r}function Kt(A,e,t){(t=t||{}).arrayMerge=t.arrayMerge||xt,t.isMergeableObject=t.isMergeableObject||vt,t.cloneUnlessOtherwiseSpecified=Ht;var r=Array.isArray(e);return r===Array.isArray(A)?r?t.arrayMerge(A,e,t):St(A,e,t):Ht(e,t)}Kt.all=function(A,e){if(!Array.isArray(A))throw new Error("first argument should be an array");return A.reduce((function(A,t){return Kt(A,t,e)}),{})};var Dt=Kt,Tt={exports:{}};!function(e){!function(A,t){e.exports?e.exports=t():A.parseSrcset=t()}(A,(function(){return function(A){function e(A){return" "===A||"\t"===A||"\n"===A||"\f"===A||"\r"===A}function t(e){var t,r=e.exec(A.substring(g));if(r)return t=r[0],g+=t.length,t}for(var r,n,s,i,o,a=A.length,c=/^[ \t\n\r\u000c]+/,l=/^[, \t\n\r\u000c]+/,u=/^[^ \t\n\r\u000c]+/,B=/[,]+$/,h=/^\d+$/,d=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,g=0,f=[];;){if(t(l),g>=a)return f;r=t(u),n=[],","===r.slice(-1)?(r=r.replace(B,""),w()):p()}function p(){for(t(c),s="",i="in descriptor";;){if(o=A.charAt(g),"in descriptor"===i)if(e(o))s&&(n.push(s),s="",i="after descriptor");else{if(","===o)return g+=1,s&&n.push(s),void w();if("("===o)s+=o,i="in parens";else{if(""===o)return s&&n.push(s),void w();s+=o}}else if("in parens"===i)if(")"===o)s+=o,i="in descriptor";else{if(""===o)return n.push(s),void w();s+=o}else if("after descriptor"===i)if(e(o));else{if(""===o)return void w();i="in descriptor",g-=1}g+=1}}function w(){var e,t,s,i,o,a,c,l,u,B=!1,g={};for(i=0;i",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(A){if(!this.source)return"";let e=this.source;null==A&&(A=Pt.isColorSupported),Nt&&A&&(e=Nt(e));let t,r,n=e.split(/\r?\n/),s=Math.max(this.line-3,0),i=Math.min(this.line+2,n.length),o=String(i).length;if(A){let{bold:A,red:e,gray:n}=Pt.createColors(!0);t=t=>A(e(t)),r=A=>n(A)}else t=r=A=>A;return n.slice(s,i).map(((A,e)=>{let n=s+1+e,i=" "+(" "+n).slice(-o)+" | ";if(n===this.line){let e=r(i.replace(/\d/g," "))+A.slice(0,this.column-1).replace(/[^\t]/g," ");return t(">")+r(i)+A+"\n "+e+t("^")}return" "+r(i)+A})).join("\n")}toString(){let A=this.showSourceCode();return A&&(A="\n\n"+A+"\n"),this.name+": "+this.message+A}}var Vt=Rt;Rt.default=Rt;var Gt={};Gt.isClean=Symbol("isClean"),Gt.my=Symbol("my");const Xt={colon:": ",indent:" ",beforeDecl:"\n",beforeRule:"\n",beforeOpen:" ",beforeClose:"\n",beforeComment:"\n",after:"\n",emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};class Jt{constructor(A){this.builder=A}stringify(A,e){if(!this[A.type])throw new Error("Unknown AST node type "+A.type+". Maybe you need to change PostCSS stringifier.");this[A.type](A,e)}document(A){this.body(A)}root(A){this.body(A),A.raws.after&&this.builder(A.raws.after)}comment(A){let e=this.raw(A,"left","commentLeft"),t=this.raw(A,"right","commentRight");this.builder("/*"+e+A.text+t+"*/",A)}decl(A,e){let t=this.raw(A,"between","colon"),r=A.prop+t+this.rawValue(A,"value");A.important&&(r+=A.raws.important||" !important"),e&&(r+=";"),this.builder(r,A)}rule(A){this.block(A,this.rawValue(A,"selector")),A.raws.ownSemicolon&&this.builder(A.raws.ownSemicolon,A,"end")}atrule(A,e){let t="@"+A.name,r=A.params?this.rawValue(A,"params"):"";if(void 0!==A.raws.afterName?t+=A.raws.afterName:r&&(t+=" "),A.nodes)this.block(A,t+r);else{let n=(A.raws.between||"")+(e?";":"");this.builder(t+r+n,A)}}body(A){let e=A.nodes.length-1;for(;e>0&&"comment"===A.nodes[e].type;)e-=1;let t=this.raw(A,"semicolon");for(let r=0;r{if(r=A.raws[e],void 0!==r)return!1}))}var i;return void 0===r&&(r=Xt[t]),s.rawCache[t]=r,r}rawSemicolon(A){let e;return A.walk((A=>{if(A.nodes&&A.nodes.length&&"decl"===A.last.type&&(e=A.raws.semicolon,void 0!==e))return!1})),e}rawEmptyBody(A){let e;return A.walk((A=>{if(A.nodes&&0===A.nodes.length&&(e=A.raws.after,void 0!==e))return!1})),e}rawIndent(A){if(A.raws.indent)return A.raws.indent;let e;return A.walk((t=>{let r=t.parent;if(r&&r!==A&&r.parent&&r.parent===A&&void 0!==t.raws.before){let A=t.raws.before.split("\n");return e=A[A.length-1],e=e.replace(/\S/g,""),!1}})),e}rawBeforeComment(A,e){let t;return A.walkComments((A=>{if(void 0!==A.raws.before)return t=A.raws.before,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),void 0===t?t=this.raw(e,null,"beforeDecl"):t&&(t=t.replace(/\S/g,"")),t}rawBeforeDecl(A,e){let t;return A.walkDecls((A=>{if(void 0!==A.raws.before)return t=A.raws.before,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),void 0===t?t=this.raw(e,null,"beforeRule"):t&&(t=t.replace(/\S/g,"")),t}rawBeforeRule(A){let e;return A.walk((t=>{if(t.nodes&&(t.parent!==A||A.first!==t)&&void 0!==t.raws.before)return e=t.raws.before,e.includes("\n")&&(e=e.replace(/[^\n]+$/,"")),!1})),e&&(e=e.replace(/\S/g,"")),e}rawBeforeClose(A){let e;return A.walk((A=>{if(A.nodes&&A.nodes.length>0&&void 0!==A.raws.after)return e=A.raws.after,e.includes("\n")&&(e=e.replace(/[^\n]+$/,"")),!1})),e&&(e=e.replace(/\S/g,"")),e}rawBeforeOpen(A){let e;return A.walk((A=>{if("decl"!==A.type&&(e=A.raws.between,void 0!==e))return!1})),e}rawColon(A){let e;return A.walkDecls((A=>{if(void 0!==A.raws.between)return e=A.raws.between.replace(/[^\s:]/g,""),!1})),e}beforeAfter(A,e){let t;t="decl"===A.type?this.raw(A,null,"beforeDecl"):"comment"===A.type?this.raw(A,null,"beforeComment"):"before"===e?this.raw(A,null,"beforeRule"):this.raw(A,null,"beforeClose");let r=A.parent,n=0;for(;r&&"root"!==r.type;)n+=1,r=r.parent;if(t.includes("\n")){let e=this.raw(A,null,"indent");if(e.length)for(let A=0;Atr(A,t))):("object"===s&&null!==n&&(n=tr(n)),t[r]=n)}return t}class rr{constructor(A={}){this.raws={},this[Zt]=!1,this[zt]=!0;for(let e in A)if("nodes"===e){this.nodes=[];for(let t of A[e])"function"==typeof t.clone?this.append(t.clone()):this.append(t)}else this[e]=A[e]}error(A,e={}){if(this.source){let{start:t,end:r}=this.rangeBy(e);return this.source.input.error(A,{line:t.line,column:t.column},{line:r.line,column:r.column},e)}return new $t(A)}warn(A,e,t){let r={node:this};for(let A in t)r[A]=t[A];return A.warn(e,r)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(A=er){A.stringify&&(A=A.stringify);let e="";return A(this,(A=>{e+=A})),e}assign(A={}){for(let e in A)this[e]=A[e];return this}clone(A={}){let e=tr(this);for(let t in A)e[t]=A[t];return e}cloneBefore(A={}){let e=this.clone(A);return this.parent.insertBefore(this,e),e}cloneAfter(A={}){let e=this.clone(A);return this.parent.insertAfter(this,e),e}replaceWith(...A){if(this.parent){let e=this,t=!1;for(let r of A)r===this?t=!0:t?(this.parent.insertAfter(e,r),e=r):this.parent.insertBefore(e,r);t||this.remove()}return this}next(){if(!this.parent)return;let A=this.parent.index(this);return this.parent.nodes[A+1]}prev(){if(!this.parent)return;let A=this.parent.index(this);return this.parent.nodes[A-1]}before(A){return this.parent.insertBefore(this,A),this}after(A){return this.parent.insertAfter(this,A),this}root(){let A=this;for(;A.parent&&"document"!==A.parent.type;)A=A.parent;return A}raw(A,e){return(new Ar).raw(this,A,e)}cleanRaws(A){delete this.raws.before,delete this.raws.after,A||delete this.raws.between}toJSON(A,e){let t={},r=null==e;e=e||new Map;let n=0;for(let A in this){if(!Object.prototype.hasOwnProperty.call(this,A))continue;if("parent"===A||"proxyCache"===A)continue;let r=this[A];if(Array.isArray(r))t[A]=r.map((A=>"object"==typeof A&&A.toJSON?A.toJSON(null,e):A));else if("object"==typeof r&&r.toJSON)t[A]=r.toJSON(null,e);else if("source"===A){let s=e.get(r.input);null==s&&(s=n,e.set(r.input,n),n++),t[A]={inputId:s,start:r.start,end:r.end}}else t[A]=r}return r&&(t.inputs=[...e.keys()].map((A=>A.toJSON()))),t}positionInside(A){let e=this.toString(),t=this.source.start.column,r=this.source.start.line;for(let n=0;n(A[e]===t||(A[e]=t,"prop"!==e&&"value"!==e&&"name"!==e&&"params"!==e&&"important"!==e&&"text"!==e||A.markDirty()),!0),get:(A,e)=>"proxyOf"===e?A:"root"===e?()=>A.root().toProxy():A[e]}}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}addToError(A){if(A.postcssNode=this,A.stack&&this.source&&/\n\s{4}at /.test(A.stack)){let e=this.source;A.stack=A.stack.replace(/\n\s{4}at /,`$&${e.input.from}:${e.start.line}:${e.start.column}$&`)}return A}markDirty(){if(this[Zt]){this[Zt]=!1;let A=this;for(;A=A.parent;)A[Zt]=!1}}get proxyOf(){return this}}var nr=rr;rr.default=rr;let sr=nr;class ir extends sr{constructor(A){A&&void 0!==A.value&&"string"!=typeof A.value&&(A={...A,value:String(A.value)}),super(A),this.type="decl"}get variable(){return this.prop.startsWith("--")||"$"===this.prop[0]}}var or=ir;ir.default=ir;var ar={nanoid:(A=21)=>{let e="",t=A;for(;t--;)e+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return e},customAlphabet:(A,e=21)=>(t=e)=>{let r="",n=t;for(;n--;)r+=A[Math.random()*A.length|0];return r}};let{SourceMapConsumer:cr,SourceMapGenerator:lr}=kt,{existsSync:ur,readFileSync:Br}=kt,{dirname:hr,join:dr}=kt;class gr{constructor(A,e){if(!1===e.map)return;this.loadAnnotation(A),this.inline=this.startWith(this.annotation,"data:");let t=e.map?e.map.prev:void 0,r=this.loadMap(e.from,t);!this.mapFile&&e.from&&(this.mapFile=e.from),this.mapFile&&(this.root=hr(this.mapFile)),r&&(this.text=r)}consumer(){return this.consumerCache||(this.consumerCache=new cr(this.text)),this.consumerCache}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}startWith(A,e){return!!A&&A.substr(0,e.length)===e}getAnnotationURL(A){return A.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}loadAnnotation(A){let e=A.match(/\/\*\s*# sourceMappingURL=/gm);if(!e)return;let t=A.lastIndexOf(e.pop()),r=A.indexOf("*/",t);t>-1&&r>-1&&(this.annotation=this.getAnnotationURL(A.substring(t,r)))}decodeInline(A){if(/^data:application\/json;charset=utf-?8,/.test(A)||/^data:application\/json,/.test(A))return decodeURIComponent(A.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(A)||/^data:application\/json;base64,/.test(A))return e=A.substr(RegExp.lastMatch.length),Buffer?Buffer.from(e,"base64").toString():window.atob(e);var e;let t=A.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+t)}loadFile(A){if(this.root=hr(A),ur(A))return this.mapFile=A,Br(A,"utf-8").toString().trim()}loadMap(A,e){if(!1===e)return!1;if(e){if("string"==typeof e)return e;if("function"!=typeof e){if(e instanceof cr)return lr.fromSourceMap(e).toString();if(e instanceof lr)return e.toString();if(this.isMap(e))return JSON.stringify(e);throw new Error("Unsupported previous source map format: "+e.toString())}{let t=e(A);if(t){let A=this.loadFile(t);if(!A)throw new Error("Unable to load previous source map: "+t.toString());return A}}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let e=this.annotation;return A&&(e=dr(hr(A),e)),this.loadFile(e)}}}isMap(A){return"object"==typeof A&&("string"==typeof A.mappings||"string"==typeof A._mappings||Array.isArray(A.sections))}}var fr=gr;gr.default=gr;let{SourceMapConsumer:pr,SourceMapGenerator:wr}=kt,{fileURLToPath:Qr,pathToFileURL:Cr}=kt,{resolve:mr,isAbsolute:Ur}=kt,{nanoid:Fr}=ar,yr=kt,br=Vt,vr=fr,Er=Symbol("fromOffsetCache"),Hr=Boolean(pr&&wr),xr=Boolean(mr&&Ur);class Ir{constructor(A,e={}){if(null==A||"object"==typeof A&&!A.toString)throw new Error(`PostCSS received ${A} instead of CSS string`);if(this.css=A.toString(),"\ufeff"===this.css[0]||"￾"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,e.from&&(!xr||/^\w+:\/\//.test(e.from)||Ur(e.from)?this.file=e.from:this.file=mr(e.from)),xr&&Hr){let A=new vr(this.css,e);if(A.text){this.map=A;let e=A.consumer().file;!this.file&&e&&(this.file=this.mapResolve(e))}}this.file||(this.id=""),this.map&&(this.map.file=this.from)}fromOffset(A){let e,t;if(this[Er])t=this[Er];else{let A=this.css.split("\n");t=new Array(A.length);let e=0;for(let r=0,n=A.length;r=e)r=t.length-1;else{let e,n=t.length-2;for(;r>1),A=t[e+1])){r=e;break}r=e+1}}return{line:r+1,col:A-t[r]+1}}error(A,e,t,r={}){let n,s,i;if(e&&"object"==typeof e){let A=e,r=t;if("number"==typeof e.offset){let r=this.fromOffset(A.offset);e=r.line,t=r.col}else e=A.line,t=A.column;if("number"==typeof r.offset){let A=this.fromOffset(r.offset);s=A.line,i=A.col}else s=r.line,i=r.column}else if(!t){let A=this.fromOffset(e);e=A.line,t=A.col}let o=this.origin(e,t,s,i);return n=o?new br(A,void 0===o.endLine?o.line:{line:o.line,column:o.column},void 0===o.endLine?o.column:{line:o.endLine,column:o.endColumn},o.source,o.file,r.plugin):new br(A,void 0===s?e:{line:e,column:t},void 0===s?t:{line:s,column:i},this.css,this.file,r.plugin),n.input={line:e,column:t,endLine:s,endColumn:i,source:this.css},this.file&&(Cr&&(n.input.url=Cr(this.file).toString()),n.input.file=this.file),n}origin(A,e,t,r){if(!this.map)return!1;let n,s,i=this.map.consumer(),o=i.originalPositionFor({line:A,column:e});if(!o.source)return!1;"number"==typeof t&&(n=i.originalPositionFor({line:t,column:r})),s=Ur(o.source)?Cr(o.source):new URL(o.source,this.map.consumer().sourceRoot||Cr(this.map.mapFile));let a={url:s.toString(),line:o.line,column:o.column,endLine:n&&n.line,endColumn:n&&n.column};if("file:"===s.protocol){if(!Qr)throw new Error("file: protocol is not available in this PostCSS build");a.file=Qr(s)}let c=i.sourceContentFor(o.source);return c&&(a.source=c),a}mapResolve(A){return/^\w+:\/\//.test(A)?A:mr(this.map.consumer().sourceRoot||this.map.root||".",A)}get from(){return this.file||this.id}toJSON(){let A={};for(let e of["hasBOM","css","file","id"])null!=this[e]&&(A[e]=this[e]);return this.map&&(A.map={...this.map},A.map.consumerCache&&(A.map.consumerCache=void 0)),A}}var Lr=Ir;Ir.default=Ir,yr&&yr.registerInput&&yr.registerInput(Ir);let{SourceMapConsumer:Sr,SourceMapGenerator:Kr}=kt,{dirname:Dr,resolve:Tr,relative:Or,sep:_r}=kt,{pathToFileURL:Mr}=kt,kr=Lr,Pr=Boolean(Sr&&Kr),Nr=Boolean(Dr&&Tr&&Or&&_r);var Rr=class{constructor(A,e,t,r){this.stringify=A,this.mapOpts=t.map||{},this.root=e,this.opts=t,this.css=r}isMap(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk((A=>{if(A.source&&A.source.input.map){let e=A.source.input.map;this.previousMaps.includes(e)||this.previousMaps.push(e)}}));else{let A=new kr(this.css,this.opts);A.map&&this.previousMaps.push(A.map)}return this.previousMaps}isInline(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;let A=this.mapOpts.annotation;return(void 0===A||!0===A)&&(!this.previous().length||this.previous().some((A=>A.inline)))}isSourcesContent(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some((A=>A.withContent()))}clearAnnotation(){if(!1!==this.mapOpts.annotation)if(this.root){let A;for(let e=this.root.nodes.length-1;e>=0;e--)A=this.root.nodes[e],"comment"===A.type&&0===A.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(e)}else this.css&&(this.css=this.css.replace(/(\n)?\/\*#[\S\s]*?\*\/$/gm,""))}setSourcesContent(){let A={};if(this.root)this.root.walk((e=>{if(e.source){let t=e.source.input.from;t&&!A[t]&&(A[t]=!0,this.map.setSourceContent(this.toUrl(this.path(t)),e.source.input.css))}}));else if(this.css){let A=this.opts.from?this.toUrl(this.path(this.opts.from)):"";this.map.setSourceContent(A,this.css)}}applyPrevMaps(){for(let A of this.previous()){let e,t=this.toUrl(this.path(A.file)),r=A.root||Dr(A.file);!1===this.mapOpts.sourcesContent?(e=new Sr(A.text),e.sourcesContent&&(e.sourcesContent=e.sourcesContent.map((()=>null)))):e=A.consumer(),this.map.applySourceMap(e,t,this.toUrl(this.path(r)))}}isAnnotation(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some((A=>A.annotation)))}toBase64(A){return Buffer?Buffer.from(A).toString("base64"):window.btoa(unescape(encodeURIComponent(A)))}addAnnotation(){let A;A=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";let e="\n";this.css.includes("\r\n")&&(e="\r\n"),this.css+=e+"/*# sourceMappingURL="+A+" */"}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}generateMap(){if(this.root)this.generateString();else if(1===this.previous().length){let A=this.previous()[0].consumer();A.file=this.outputFile(),this.map=Kr.fromSourceMap(A)}else this.map=new Kr({file:this.outputFile()}),this.map.addMapping({source:this.opts.from?this.toUrl(this.path(this.opts.from)):"",generated:{line:1,column:0},original:{line:1,column:0}});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}path(A){if(0===A.indexOf("<"))return A;if(/^\w+:\/\//.test(A))return A;if(this.mapOpts.absolute)return A;let e=this.opts.to?Dr(this.opts.to):".";return"string"==typeof this.mapOpts.annotation&&(e=Dr(Tr(e,this.mapOpts.annotation))),A=Or(e,A)}toUrl(A){return"\\"===_r&&(A=A.replace(/\\/g,"/")),encodeURI(A).replace(/[#?]/g,encodeURIComponent)}sourcePath(A){if(this.mapOpts.from)return this.toUrl(this.mapOpts.from);if(this.mapOpts.absolute){if(Mr)return Mr(A.source.input.from).toString();throw new Error("`map.absolute` option is not available in this PostCSS build")}return this.toUrl(this.path(A.source.input.from))}generateString(){this.css="",this.map=new Kr({file:this.outputFile()});let A,e,t=1,r=1,n="",s={source:"",generated:{line:0,column:0},original:{line:0,column:0}};this.stringify(this.root,((i,o,a)=>{if(this.css+=i,o&&"end"!==a&&(s.generated.line=t,s.generated.column=r-1,o.source&&o.source.start?(s.source=this.sourcePath(o),s.original.line=o.source.start.line,s.original.column=o.source.start.column-1,this.map.addMapping(s)):(s.source=n,s.original.line=1,s.original.column=0,this.map.addMapping(s))),A=i.match(/\n/g),A?(t+=A.length,e=i.lastIndexOf("\n"),r=i.length-e):r+=i.length,o&&"start"!==a){let A=o.parent||{raws:{}};("decl"!==o.type||o!==A.last||A.raws.semicolon)&&(o.source&&o.source.end?(s.source=this.sourcePath(o),s.original.line=o.source.end.line,s.original.column=o.source.end.column-1,s.generated.line=t,s.generated.column=r-2,this.map.addMapping(s)):(s.source=n,s.original.line=1,s.original.column=0,s.generated.line=t,s.generated.column=r-1,this.map.addMapping(s)))}}))}generate(){if(this.clearAnnotation(),Nr&&Pr&&this.isMap())return this.generateMap();{let A="";return this.stringify(this.root,(e=>{A+=e})),[A]}}};let Vr=nr;class Gr extends Vr{constructor(A){super(A),this.type="comment"}}var Xr=Gr;Gr.default=Gr;let Jr,qr,jr,{isClean:Yr,my:Wr}=Gt,Zr=or,zr=Xr,$r=nr;function An(A){return A.map((A=>(A.nodes&&(A.nodes=An(A.nodes)),delete A.source,A)))}function en(A){if(A[Yr]=!1,A.proxyOf.nodes)for(let e of A.proxyOf.nodes)en(e)}class tn extends $r{push(A){return A.parent=this,this.proxyOf.nodes.push(A),this}each(A){if(!this.proxyOf.nodes)return;let e,t,r=this.getIterator();for(;this.indexes[r]{let r;try{r=A(e,t)}catch(A){throw e.addToError(A)}return!1!==r&&e.walk&&(r=e.walk(A)),r}))}walkDecls(A,e){return e?A instanceof RegExp?this.walk(((t,r)=>{if("decl"===t.type&&A.test(t.prop))return e(t,r)})):this.walk(((t,r)=>{if("decl"===t.type&&t.prop===A)return e(t,r)})):(e=A,this.walk(((A,t)=>{if("decl"===A.type)return e(A,t)})))}walkRules(A,e){return e?A instanceof RegExp?this.walk(((t,r)=>{if("rule"===t.type&&A.test(t.selector))return e(t,r)})):this.walk(((t,r)=>{if("rule"===t.type&&t.selector===A)return e(t,r)})):(e=A,this.walk(((A,t)=>{if("rule"===A.type)return e(A,t)})))}walkAtRules(A,e){return e?A instanceof RegExp?this.walk(((t,r)=>{if("atrule"===t.type&&A.test(t.name))return e(t,r)})):this.walk(((t,r)=>{if("atrule"===t.type&&t.name===A)return e(t,r)})):(e=A,this.walk(((A,t)=>{if("atrule"===A.type)return e(A,t)})))}walkComments(A){return this.walk(((e,t)=>{if("comment"===e.type)return A(e,t)}))}append(...A){for(let e of A){let A=this.normalize(e,this.last);for(let e of A)this.proxyOf.nodes.push(e)}return this.markDirty(),this}prepend(...A){A=A.reverse();for(let e of A){let A=this.normalize(e,this.first,"prepend").reverse();for(let e of A)this.proxyOf.nodes.unshift(e);for(let e in this.indexes)this.indexes[e]=this.indexes[e]+A.length}return this.markDirty(),this}cleanRaws(A){if(super.cleanRaws(A),this.nodes)for(let e of this.nodes)e.cleanRaws(A)}insertBefore(A,e){let t,r=0===(A=this.index(A))&&"prepend",n=this.normalize(e,this.proxyOf.nodes[A],r).reverse();for(let e of n)this.proxyOf.nodes.splice(A,0,e);for(let e in this.indexes)t=this.indexes[e],A<=t&&(this.indexes[e]=t+n.length);return this.markDirty(),this}insertAfter(A,e){A=this.index(A);let t,r=this.normalize(e,this.proxyOf.nodes[A]).reverse();for(let e of r)this.proxyOf.nodes.splice(A+1,0,e);for(let e in this.indexes)t=this.indexes[e],A=A&&(this.indexes[t]=e-1);return this.markDirty(),this}removeAll(){for(let A of this.proxyOf.nodes)A.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}replaceValues(A,e,t){return t||(t=e,e={}),this.walkDecls((r=>{e.props&&!e.props.includes(r.prop)||e.fast&&!r.value.includes(e.fast)||(r.value=r.value.replace(A,t))})),this.markDirty(),this}every(A){return this.nodes.every(A)}some(A){return this.nodes.some(A)}index(A){return"number"==typeof A?A:(A.proxyOf&&(A=A.proxyOf),this.proxyOf.nodes.indexOf(A))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}normalize(A,e){if("string"==typeof A)A=An(Jr(A).nodes);else if(Array.isArray(A)){A=A.slice(0);for(let e of A)e.parent&&e.parent.removeChild(e,"ignore")}else if("root"===A.type&&"document"!==this.type){A=A.nodes.slice(0);for(let e of A)e.parent&&e.parent.removeChild(e,"ignore")}else if(A.type)A=[A];else if(A.prop){if(void 0===A.value)throw new Error("Value field is missed in node creation");"string"!=typeof A.value&&(A.value=String(A.value)),A=[new Zr(A)]}else if(A.selector)A=[new qr(A)];else if(A.name)A=[new jr(A)];else{if(!A.text)throw new Error("Unknown node type in node creation");A=[new zr(A)]}return A.map((A=>(A[Wr]||tn.rebuild(A),(A=A.proxyOf).parent&&A.parent.removeChild(A),A[Yr]&&en(A),void 0===A.raws.before&&e&&void 0!==e.raws.before&&(A.raws.before=e.raws.before.replace(/\S/g,"")),A.parent=this.proxyOf,A)))}getProxyProcessor(){return{set:(A,e,t)=>(A[e]===t||(A[e]=t,"name"!==e&&"params"!==e&&"selector"!==e||A.markDirty()),!0),get:(A,e)=>"proxyOf"===e?A:A[e]?"each"===e||"string"==typeof e&&e.startsWith("walk")?(...t)=>A[e](...t.map((A=>"function"==typeof A?(e,t)=>A(e.toProxy(),t):A))):"every"===e||"some"===e?t=>A[e](((A,...e)=>t(A.toProxy(),...e))):"root"===e?()=>A.root().toProxy():"nodes"===e?A.nodes.map((A=>A.toProxy())):"first"===e||"last"===e?A[e].toProxy():A[e]:A[e]}}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let A=this.lastEach;return this.indexes[A]=0,A}}tn.registerParse=A=>{Jr=A},tn.registerRule=A=>{qr=A},tn.registerAtRule=A=>{jr=A};var rn=tn;tn.default=tn,tn.rebuild=A=>{"atrule"===A.type?Object.setPrototypeOf(A,jr.prototype):"rule"===A.type?Object.setPrototypeOf(A,qr.prototype):"decl"===A.type?Object.setPrototypeOf(A,Zr.prototype):"comment"===A.type&&Object.setPrototypeOf(A,zr.prototype),A[Wr]=!0,A.nodes&&A.nodes.forEach((A=>{tn.rebuild(A)}))};let nn,sn,on=rn;class an extends on{constructor(A){super({type:"document",...A}),this.nodes||(this.nodes=[])}toResult(A={}){return new nn(new sn,this,A).stringify()}}an.registerLazyResult=A=>{nn=A},an.registerProcessor=A=>{sn=A};var cn=an;an.default=an;let ln={};var un=function(A){ln[A]||(ln[A]=!0,"undefined"!=typeof console&&console.warn&&console.warn(A))};class Bn{constructor(A,e={}){if(this.type="warning",this.text=A,e.node&&e.node.source){let A=e.node.rangeBy(e);this.line=A.start.line,this.column=A.start.column,this.endLine=A.end.line,this.endColumn=A.end.column}for(let A in e)this[A]=e[A]}toString(){return this.node?this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}var hn=Bn;Bn.default=Bn;let dn=hn;class gn{constructor(A,e,t){this.processor=A,this.messages=[],this.root=e,this.opts=t,this.css=void 0,this.map=void 0}toString(){return this.css}warn(A,e={}){e.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(e.plugin=this.lastPlugin.postcssPlugin);let t=new dn(A,e);return this.messages.push(t),t}warnings(){return this.messages.filter((A=>"warning"===A.type))}get content(){return this.css}}var fn=gn;gn.default=gn;const pn="'".charCodeAt(0),wn='"'.charCodeAt(0),Qn="\\".charCodeAt(0),Cn="/".charCodeAt(0),mn="\n".charCodeAt(0),Un=" ".charCodeAt(0),Fn="\f".charCodeAt(0),yn="\t".charCodeAt(0),bn="\r".charCodeAt(0),vn="[".charCodeAt(0),En="]".charCodeAt(0),Hn="(".charCodeAt(0),xn=")".charCodeAt(0),In="{".charCodeAt(0),Ln="}".charCodeAt(0),Sn=";".charCodeAt(0),Kn="*".charCodeAt(0),Dn=":".charCodeAt(0),Tn="@".charCodeAt(0),On=/[\t\n\f\r "#'()/;[\\\]{}]/g,_n=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,Mn=/.[\n"'(/\\]/,kn=/[\da-f]/i;let Pn=rn;class Nn extends Pn{constructor(A){super(A),this.type="atrule"}append(...A){return this.proxyOf.nodes||(this.nodes=[]),super.append(...A)}prepend(...A){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...A)}}var Rn=Nn;Nn.default=Nn,Pn.registerAtRule(Nn);let Vn,Gn,Xn=rn;class Jn extends Xn{constructor(A){super(A),this.type="root",this.nodes||(this.nodes=[])}removeChild(A,e){let t=this.index(A);return!e&&0===t&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[t].raws.before),super.removeChild(A)}normalize(A,e,t){let r=super.normalize(A);if(e)if("prepend"===t)this.nodes.length>1?e.raws.before=this.nodes[1].raws.before:delete e.raws.before;else if(this.first!==e)for(let A of r)A.raws.before=e.raws.before;return r}toResult(A={}){return new Vn(new Gn,this,A).stringify()}}Jn.registerLazyResult=A=>{Vn=A},Jn.registerProcessor=A=>{Gn=A};var qn=Jn;Jn.default=Jn;let jn={split(A,e,t){let r=[],n="",s=!1,i=0,o=!1,a=!1;for(let t of A)a?a=!1:"\\"===t?a=!0:o?t===o&&(o=!1):'"'===t||"'"===t?o=t:"("===t?i+=1:")"===t?i>0&&(i-=1):0===i&&e.includes(t)&&(s=!0),s?(""!==n&&r.push(n.trim()),n="",s=!1):n+=t;return(t||""!==n)&&r.push(n.trim()),r},space:A=>jn.split(A,[" ","\n","\t"]),comma:A=>jn.split(A,[","],!0)};var Yn=jn;jn.default=jn;let Wn=rn,Zn=Yn;class zn extends Wn{constructor(A){super(A),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return Zn.comma(this.selector)}set selectors(A){let e=this.selector?this.selector.match(/,\s*/):null,t=e?e[0]:","+this.raw("between","beforeOpen");this.selector=A.join(t)}}var $n=zn;zn.default=zn,Wn.registerRule(zn);let As=or,es=function(A,e={}){let t,r,n,s,i,o,a,c,l,u,B=A.css.valueOf(),h=e.ignoreErrors,d=B.length,g=0,f=[],p=[];function w(e){throw A.error("Unclosed "+e,g)}return{back:function(A){p.push(A)},nextToken:function(A){if(p.length)return p.pop();if(g>=d)return;let e=!!A&&A.ignoreUnclosed;switch(t=B.charCodeAt(g),t){case mn:case Un:case yn:case bn:case Fn:r=g;do{r+=1,t=B.charCodeAt(r)}while(t===Un||t===mn||t===yn||t===bn||t===Fn);u=["space",B.slice(g,r)],g=r-1;break;case vn:case En:case In:case Ln:case Dn:case Sn:case xn:{let A=String.fromCharCode(t);u=[A,A,g];break}case Hn:if(c=f.length?f.pop()[1]:"",l=B.charCodeAt(g+1),"url"===c&&l!==pn&&l!==wn&&l!==Un&&l!==mn&&l!==yn&&l!==Fn&&l!==bn){r=g;do{if(o=!1,r=B.indexOf(")",r+1),-1===r){if(h||e){r=g;break}w("bracket")}for(a=r;B.charCodeAt(a-1)===Qn;)a-=1,o=!o}while(o);u=["brackets",B.slice(g,r+1),g,r],g=r}else r=B.indexOf(")",g+1),s=B.slice(g,r+1),-1===r||Mn.test(s)?u=["(","(",g]:(u=["brackets",s,g,r],g=r);break;case pn:case wn:n=t===pn?"'":'"',r=g;do{if(o=!1,r=B.indexOf(n,r+1),-1===r){if(h||e){r=g+1;break}w("string")}for(a=r;B.charCodeAt(a-1)===Qn;)a-=1,o=!o}while(o);u=["string",B.slice(g,r+1),g,r],g=r;break;case Tn:On.lastIndex=g+1,On.test(B),r=0===On.lastIndex?B.length-1:On.lastIndex-2,u=["at-word",B.slice(g,r+1),g,r],g=r;break;case Qn:for(r=g,i=!0;B.charCodeAt(r+1)===Qn;)r+=1,i=!i;if(t=B.charCodeAt(r+1),i&&t!==Cn&&t!==Un&&t!==mn&&t!==yn&&t!==bn&&t!==Fn&&(r+=1,kn.test(B.charAt(r)))){for(;kn.test(B.charAt(r+1));)r+=1;B.charCodeAt(r+1)===Un&&(r+=1)}u=["word",B.slice(g,r+1),g,r],g=r;break;default:t===Cn&&B.charCodeAt(g+1)===Kn?(r=B.indexOf("*/",g+2)+1,0===r&&(h||e?r=B.length:w("comment")),u=["comment",B.slice(g,r+1),g,r],g=r):(_n.lastIndex=g+1,_n.test(B),r=0===_n.lastIndex?B.length-1:_n.lastIndex-2,u=["word",B.slice(g,r+1),g,r],f.push(u),g=r)}return g++,u},endOfFile:function(){return 0===p.length&&g>=d},position:function(){return g}}},ts=Xr,rs=Rn,ns=qn,ss=$n;const is={empty:!0,space:!0};var os=class{constructor(A){this.input=A,this.root=new ns,this.current=this.root,this.spaces="",this.semicolon=!1,this.customProperty=!1,this.createTokenizer(),this.root.source={input:A,start:{offset:0,line:1,column:1}}}createTokenizer(){this.tokenizer=es(this.input)}parse(){let A;for(;!this.tokenizer.endOfFile();)switch(A=this.tokenizer.nextToken(),A[0]){case"space":this.spaces+=A[1];break;case";":this.freeSemicolon(A);break;case"}":this.end(A);break;case"comment":this.comment(A);break;case"at-word":this.atrule(A);break;case"{":this.emptyRule(A);break;default:this.other(A)}this.endFile()}comment(A){let e=new ts;this.init(e,A[2]),e.source.end=this.getPosition(A[3]||A[2]);let t=A[1].slice(2,-2);if(/^\s*$/.test(t))e.text="",e.raws.left=t,e.raws.right="";else{let A=t.match(/^(\s*)([^]*\S)(\s*)$/);e.text=A[2],e.raws.left=A[1],e.raws.right=A[3]}}emptyRule(A){let e=new ss;this.init(e,A[2]),e.selector="",e.raws.between="",this.current=e}other(A){let e=!1,t=null,r=!1,n=null,s=[],i=A[1].startsWith("--"),o=[],a=A;for(;a;){if(t=a[0],o.push(a),"("===t||"["===t)n||(n=a),s.push("("===t?")":"]");else if(i&&r&&"{"===t)n||(n=a),s.push("}");else if(0===s.length){if(";"===t){if(r)return void this.decl(o,i);break}if("{"===t)return void this.rule(o);if("}"===t){this.tokenizer.back(o.pop()),e=!0;break}":"===t&&(r=!0)}else t===s[s.length-1]&&(s.pop(),0===s.length&&(n=null));a=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(e=!0),s.length>0&&this.unclosedBracket(n),e&&r){if(!i)for(;o.length&&(a=o[o.length-1][0],"space"===a||"comment"===a);)this.tokenizer.back(o.pop());this.decl(o,i)}else this.unknownWord(o)}rule(A){A.pop();let e=new ss;this.init(e,A[0][2]),e.raws.between=this.spacesAndCommentsFromEnd(A),this.raw(e,"selector",A),this.current=e}decl(A,e){let t=new As;this.init(t,A[0][2]);let r,n=A[A.length-1];for(";"===n[0]&&(this.semicolon=!0,A.pop()),t.source.end=this.getPosition(n[3]||n[2]||function(A){for(let e=A.length-1;e>=0;e--){let t=A[e],r=t[3]||t[2];if(r)return r}}(A));"word"!==A[0][0];)1===A.length&&this.unknownWord(A),t.raws.before+=A.shift()[1];for(t.source.start=this.getPosition(A[0][2]),t.prop="";A.length;){let e=A[0][0];if(":"===e||"space"===e||"comment"===e)break;t.prop+=A.shift()[1]}for(t.raws.between="";A.length;){if(r=A.shift(),":"===r[0]){t.raws.between+=r[1];break}"word"===r[0]&&/\w/.test(r[1])&&this.unknownWord([r]),t.raws.between+=r[1]}"_"!==t.prop[0]&&"*"!==t.prop[0]||(t.raws.before+=t.prop[0],t.prop=t.prop.slice(1));let s,i=[];for(;A.length&&(s=A[0][0],"space"===s||"comment"===s);)i.push(A.shift());this.precheckMissedSemicolon(A);for(let e=A.length-1;e>=0;e--){if(r=A[e],"!important"===r[1].toLowerCase()){t.important=!0;let r=this.stringFrom(A,e);r=this.spacesFromEnd(A)+r," !important"!==r&&(t.raws.important=r);break}if("important"===r[1].toLowerCase()){let r=A.slice(0),n="";for(let A=e;A>0;A--){let e=r[A][0];if(0===n.trim().indexOf("!")&&"space"!==e)break;n=r.pop()[1]+n}0===n.trim().indexOf("!")&&(t.important=!0,t.raws.important=n,A=r)}if("space"!==r[0]&&"comment"!==r[0])break}A.some((A=>"space"!==A[0]&&"comment"!==A[0]))&&(t.raws.between+=i.map((A=>A[1])).join(""),i=[]),this.raw(t,"value",i.concat(A),e),t.value.includes(":")&&!e&&this.checkMissedSemicolon(A)}atrule(A){let e,t,r,n=new rs;n.name=A[1].slice(1),""===n.name&&this.unnamedAtrule(n,A),this.init(n,A[2]);let s=!1,i=!1,o=[],a=[];for(;!this.tokenizer.endOfFile();){if(e=(A=this.tokenizer.nextToken())[0],"("===e||"["===e?a.push("("===e?")":"]"):"{"===e&&a.length>0?a.push("}"):e===a[a.length-1]&&a.pop(),0===a.length){if(";"===e){n.source.end=this.getPosition(A[2]),this.semicolon=!0;break}if("{"===e){i=!0;break}if("}"===e){if(o.length>0){for(r=o.length-1,t=o[r];t&&"space"===t[0];)t=o[--r];t&&(n.source.end=this.getPosition(t[3]||t[2]))}this.end(A);break}o.push(A)}else o.push(A);if(this.tokenizer.endOfFile()){s=!0;break}}n.raws.between=this.spacesAndCommentsFromEnd(o),o.length?(n.raws.afterName=this.spacesAndCommentsFromStart(o),this.raw(n,"params",o),s&&(A=o[o.length-1],n.source.end=this.getPosition(A[3]||A[2]),this.spaces=n.raws.between,n.raws.between="")):(n.raws.afterName="",n.params=""),i&&(n.nodes=[],this.current=n)}end(A){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(A[2]),this.current=this.current.parent):this.unexpectedClose(A)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces}freeSemicolon(A){if(this.spaces+=A[1],this.current.nodes){let A=this.current.nodes[this.current.nodes.length-1];A&&"rule"===A.type&&!A.raws.ownSemicolon&&(A.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(A){let e=this.input.fromOffset(A);return{offset:A,line:e.line,column:e.col}}init(A,e){this.current.push(A),A.source={start:this.getPosition(e),input:this.input},A.raws.before=this.spaces,this.spaces="","comment"!==A.type&&(this.semicolon=!1)}raw(A,e,t,r){let n,s,i,o,a=t.length,c="",l=!0;for(let A=0;AA+e[1]),"");A.raws[e]={value:c,raw:r}}A[e]=c}spacesAndCommentsFromEnd(A){let e,t="";for(;A.length&&(e=A[A.length-1][0],"space"===e||"comment"===e);)t=A.pop()[1]+t;return t}spacesAndCommentsFromStart(A){let e,t="";for(;A.length&&(e=A[0][0],"space"===e||"comment"===e);)t+=A.shift()[1];return t}spacesFromEnd(A){let e,t="";for(;A.length&&(e=A[A.length-1][0],"space"===e);)t=A.pop()[1]+t;return t}stringFrom(A,e){let t="";for(let r=e;r=0&&(t=A[n],"space"===t[0]||(r+=1,2!==r));n--);throw this.input.error("Missed semicolon","word"===t[0]?t[3]+1:t[2])}};let as=rn,cs=os,ls=Lr;function us(A,e){let t=new ls(A,e),r=new cs(t);try{r.parse()}catch(A){throw"production"!==process.env.NODE_ENV&&"CssSyntaxError"===A.name&&e&&e.from&&(/\.scss$/i.test(e.from)?A.message+="\nYou tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser":/\.sass/i.test(e.from)?A.message+="\nYou tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser":/\.less$/i.test(e.from)&&(A.message+="\nYou tried to parse Less with the standard CSS parser; try again with the postcss-less parser")),A}return r.root}var Bs=us;us.default=us,as.registerParse(us);let{isClean:hs,my:ds}=Gt,gs=Rr,fs=Wt,ps=rn,ws=cn,Qs=un,Cs=fn,ms=Bs,Us=qn;const Fs={document:"Document",root:"Root",atrule:"AtRule",rule:"Rule",decl:"Declaration",comment:"Comment"},ys={postcssPlugin:!0,prepare:!0,Once:!0,Document:!0,Root:!0,Declaration:!0,Rule:!0,AtRule:!0,Comment:!0,DeclarationExit:!0,RuleExit:!0,AtRuleExit:!0,CommentExit:!0,RootExit:!0,DocumentExit:!0,OnceExit:!0},bs={postcssPlugin:!0,prepare:!0,Once:!0};function vs(A){return"object"==typeof A&&"function"==typeof A.then}function Es(A){let e=!1,t=Fs[A.type];return"decl"===A.type?e=A.prop.toLowerCase():"atrule"===A.type&&(e=A.name.toLowerCase()),e&&A.append?[t,t+"-"+e,0,t+"Exit",t+"Exit-"+e]:e?[t,t+"-"+e,t+"Exit",t+"Exit-"+e]:A.append?[t,0,t+"Exit"]:[t,t+"Exit"]}function Hs(A){let e;return e="document"===A.type?["Document",0,"DocumentExit"]:"root"===A.type?["Root",0,"RootExit"]:Es(A),{node:A,events:e,eventIndex:0,visitors:[],visitorIndex:0,iterator:0}}function xs(A){return A[hs]=!1,A.nodes&&A.nodes.forEach((A=>xs(A))),A}let Is={};class Ls{constructor(A,e,t){let r;if(this.stringified=!1,this.processed=!1,"object"!=typeof e||null===e||"root"!==e.type&&"document"!==e.type)if(e instanceof Ls||e instanceof Cs)r=xs(e.root),e.map&&(void 0===t.map&&(t.map={}),t.map.inline||(t.map.inline=!1),t.map.prev=e.map);else{let A=ms;t.syntax&&(A=t.syntax.parse),t.parser&&(A=t.parser),A.parse&&(A=A.parse);try{r=A(e,t)}catch(A){this.processed=!0,this.error=A}r&&!r[ds]&&ps.rebuild(r)}else r=xs(e);this.result=new Cs(A,r,t),this.helpers={...Is,result:this.result,postcss:Is},this.plugins=this.processor.plugins.map((A=>"object"==typeof A&&A.prepare?{...A,...A.prepare(this.result)}:A))}get[Symbol.toStringTag](){return"LazyResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.stringify().css}get content(){return this.stringify().content}get map(){return this.stringify().map}get root(){return this.sync().root}get messages(){return this.sync().messages}warnings(){return this.sync().warnings()}toString(){return this.css}then(A,e){return"production"!==process.env.NODE_ENV&&("from"in this.opts||Qs("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(A,e)}catch(A){return this.async().catch(A)}finally(A){return this.async().then(A,A)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let A of this.plugins){if(vs(this.runOnRoot(A)))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let A=this.result.root;for(;!A[hs];)A[hs]=!0,this.walkSync(A);if(this.listeners.OnceExit)if("document"===A.type)for(let e of A.nodes)this.visitSync(this.listeners.OnceExit,e);else this.visitSync(this.listeners.OnceExit,A)}return this.result}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let A=this.result.opts,e=fs;A.syntax&&(e=A.syntax.stringify),A.stringifier&&(e=A.stringifier),e.stringify&&(e=e.stringify);let t=new gs(e,this.result.root,this.result.opts).generate();return this.result.css=t[0],this.result.map=t[1],this.result}walkSync(A){A[hs]=!0;let e=Es(A);for(let t of e)if(0===t)A.nodes&&A.each((A=>{A[hs]||this.walkSync(A)}));else{let e=this.listeners[t];if(e&&this.visitSync(e,A.toProxy()))return}}visitSync(A,e){for(let[t,r]of A){let A;this.result.lastPlugin=t;try{A=r(e,this.helpers)}catch(A){throw this.handleError(A,e.proxyOf)}if("root"!==e.type&&"document"!==e.type&&!e.parent)return!0;if(vs(A))throw this.getAsyncError()}}runOnRoot(A){this.result.lastPlugin=A;try{if("object"==typeof A&&A.Once){if("document"===this.result.root.type){let e=this.result.root.nodes.map((e=>A.Once(e,this.helpers)));return vs(e[0])?Promise.all(e):e}return A.Once(this.result.root,this.helpers)}if("function"==typeof A)return A(this.result.root,this.result)}catch(A){throw this.handleError(A)}}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(A,e){let t=this.result.lastPlugin;try{if(e&&e.addToError(A),this.error=A,"CssSyntaxError"!==A.name||A.plugin){if(t.postcssVersion&&"production"!==process.env.NODE_ENV){let A=t.postcssPlugin,e=t.postcssVersion,r=this.result.processor.version,n=e.split("."),s=r.split(".");(n[0]!==s[0]||parseInt(n[1])>parseInt(s[1]))&&console.error("Unknown error from PostCSS plugin. Your current PostCSS version is "+r+", but "+A+" uses "+e+". Perhaps this is the source of the error below.")}}else A.plugin=t.postcssPlugin,A.setMessage()}catch(A){console&&console.error&&console.error(A)}return A}async runAsync(){this.plugin=0;for(let A=0;A0;){let A=this.visitTick(e);if(vs(A))try{await A}catch(A){let t=e[e.length-1].node;throw this.handleError(A,t)}}}if(this.listeners.OnceExit)for(let[e,t]of this.listeners.OnceExit){this.result.lastPlugin=e;try{if("document"===A.type){let e=A.nodes.map((A=>t(A,this.helpers)));await Promise.all(e)}else await t(A,this.helpers)}catch(A){throw this.handleError(A)}}}return this.processed=!0,this.stringify()}prepareVisitors(){this.listeners={};let A=(A,e,t)=>{this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push([A,t])};for(let e of this.plugins)if("object"==typeof e)for(let t in e){if(!ys[t]&&/^[A-Z]/.test(t))throw new Error(`Unknown event ${t} in ${e.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!bs[t])if("object"==typeof e[t])for(let r in e[t])A(e,"*"===r?t:t+"-"+r.toLowerCase(),e[t][r]);else"function"==typeof e[t]&&A(e,t,e[t])}this.hasListener=Object.keys(this.listeners).length>0}visitTick(A){let e=A[A.length-1],{node:t,visitors:r}=e;if("root"!==t.type&&"document"!==t.type&&!t.parent)return void A.pop();if(r.length>0&&e.visitorIndex{Is=A};var Ss=Ls;Ls.default=Ls,Us.registerLazyResult(Ls),ws.registerLazyResult(Ls);let Ks=Rr,Ds=Wt,Ts=un,Os=Bs;const _s=fn;class Ms{constructor(A,e,t){let r;e=e.toString(),this.stringified=!1,this._processor=A,this._css=e,this._opts=t,this._map=void 0;let n=Ds;this.result=new _s(this._processor,r,this._opts),this.result.css=e;let s=this;Object.defineProperty(this.result,"root",{get:()=>s.root});let i=new Ks(n,r,this._opts,e);if(i.isMap()){let[A,e]=i.generate();A&&(this.result.css=A),e&&(this.result.map=e)}}get[Symbol.toStringTag](){return"NoWorkResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.result.css}get content(){return this.result.css}get map(){return this.result.map}get root(){if(this._root)return this._root;let A,e=Os;try{A=e(this._css,this._opts)}catch(A){this.error=A}if(this.error)throw this.error;return this._root=A,A}get messages(){return[]}warnings(){return[]}toString(){return this._css}then(A,e){return"production"!==process.env.NODE_ENV&&("from"in this._opts||Ts("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(A,e)}catch(A){return this.async().catch(A)}finally(A){return this.async().then(A,A)}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}sync(){if(this.error)throw this.error;return this.result}}var ks=Ms;Ms.default=Ms;let Ps=ks,Ns=Ss,Rs=cn,Vs=qn;class Gs{constructor(A=[]){this.version="8.4.14",this.plugins=this.normalize(A)}use(A){return this.plugins=this.plugins.concat(this.normalize([A])),this}process(A,e={}){return 0===this.plugins.length&&void 0===e.parser&&void 0===e.stringifier&&void 0===e.syntax?new Ps(this,A,e):new Ns(this,A,e)}normalize(A){let e=[];for(let t of A)if(!0===t.postcss?t=t():t.postcss&&(t=t.postcss),"object"==typeof t&&Array.isArray(t.plugins))e=e.concat(t.plugins);else if("object"==typeof t&&t.postcssPlugin)e.push(t);else if("function"==typeof t)e.push(t);else{if("object"!=typeof t||!t.parse&&!t.stringify)throw new Error(t+" is not a PostCSS plugin");if("production"!==process.env.NODE_ENV)throw new Error("PostCSS syntaxes cannot be used as plugins. Instead, please use one of the syntax/parser/stringifier options as outlined in your PostCSS runner documentation.")}return e}}var Xs=Gs;Gs.default=Gs,Vs.registerProcessor(Gs),Rs.registerProcessor(Gs);let Js=or,qs=fr,js=Xr,Ys=Rn,Ws=Lr,Zs=qn,zs=$n;function $s(A,e){if(Array.isArray(A))return A.map((A=>$s(A)));let{inputs:t,...r}=A;if(t){e=[];for(let A of t){let t={...A,__proto__:Ws.prototype};t.map&&(t.map={...t.map,__proto__:qs.prototype}),e.push(t)}}if(r.nodes&&(r.nodes=A.nodes.map((A=>$s(A,e)))),r.source){let{inputId:A,...t}=r.source;r.source=t,null!=A&&(r.source.input=e[A])}if("root"===r.type)return new Zs(r);if("decl"===r.type)return new Js(r);if("rule"===r.type)return new zs(r);if("comment"===r.type)return new js(r);if("atrule"===r.type)return new Ys(r);throw new Error("Unknown node type: "+A.type)}var Ai=$s;$s.default=$s;let ei=Vt,ti=or,ri=Ss,ni=rn,si=Xs,ii=Wt,oi=Ai,ai=cn,ci=hn,li=Xr,ui=Rn,Bi=fn,hi=Lr,di=Bs,gi=Yn,fi=$n,pi=qn,wi=nr;function Qi(...A){return 1===A.length&&Array.isArray(A[0])&&(A=A[0]),new si(A)}Qi.plugin=function(A,e){let t,r=!1;function n(...t){console&&console.warn&&!r&&(r=!0,console.warn(A+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(A+": 里面 postcss.plugin 被弃用. 迁移指南:\nhttps://www.w3ctech.com/topic/2226"));let n=e(...t);return n.postcssPlugin=A,n.postcssVersion=(new si).version,n}return Object.defineProperty(n,"postcss",{get:()=>(t||(t=n()),t)}),n.process=function(A,e,t){return Qi([n(t)]).process(A,e)},n},Qi.stringify=ii,Qi.parse=di,Qi.fromJSON=oi,Qi.list=gi,Qi.comment=A=>new li(A),Qi.atRule=A=>new ui(A),Qi.decl=A=>new ti(A),Qi.rule=A=>new fi(A),Qi.root=A=>new pi(A),Qi.document=A=>new ai(A),Qi.CssSyntaxError=ei,Qi.Declaration=ti,Qi.Container=ni,Qi.Processor=si,Qi.Document=ai,Qi.Comment=li,Qi.Warning=ci,Qi.AtRule=ui,Qi.Result=Bi,Qi.Input=hi,Qi.Rule=fi,Qi.Root=pi,Qi.Node=wi,ri.registerPostcss(Qi);var Ci=Qi;Qi.default=Qi;const mi=i,Ui=A=>{if("string"!=typeof A)throw new TypeError("Expected a string");return A.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")},{isPlainObject:Fi}=yt,yi=Dt,bi=Tt.exports,{parse:vi}=Ci,Ei=["img","audio","video","picture","svg","object","map","iframe","embed"],Hi=["script","style"];function xi(A,e){A&&Object.keys(A).forEach((function(t){e(A[t],t)}))}function Ii(A,e){return{}.hasOwnProperty.call(A,e)}function Li(A,e){const t=[];return xi(A,(function(A){e(A)&&t.push(A)})),t}var Si=Di;const Ki=/^[^\0\t\n\f\r /<=>]+$/;function Di(A,e,t){if(null==A)return"";let r="",n="";function s(A,e){const t=this;this.tag=A,this.attribs=e||{},this.tagPosition=r.length,this.text="",this.mediaChildren=[],this.updateParentNodeText=function(){if(g.length){g[g.length-1].text+=t.text}},this.updateParentNodeMediaChildren=function(){if(g.length&&Ei.includes(this.tag)){g[g.length-1].mediaChildren.push(this.tag)}}}(e=Object.assign({},Di.defaults,e)).parser=Object.assign({},Ti,e.parser),Hi.forEach((function(A){e.allowedTags&&e.allowedTags.indexOf(A)>-1&&!e.allowVulnerableTags&&console.warn(`\n\n⚠️ Your \`allowedTags\` option includes, \`${A}\`, which is inherently\nvulnerable to XSS attacks. Please remove it from \`allowedTags\`.\nOr, to disable this warning, add the \`allowVulnerableTags\` option\nand ensure you are accounting for this risk.\n\n`)}));const i=e.nonTextTags||["script","style","textarea","option"];let o,a;e.allowedAttributes&&(o={},a={},xi(e.allowedAttributes,(function(A,e){o[e]=[];const t=[];A.forEach((function(A){"string"==typeof A&&A.indexOf("*")>=0?t.push(Ui(A).replace(/\\\*/g,".*")):o[e].push(A)})),t.length&&(a[e]=new RegExp("^("+t.join("|")+")$"))})));const c={},l={},u={};xi(e.allowedClasses,(function(A,e){o&&(Ii(o,e)||(o[e]=[]),o[e].push("class")),c[e]=[],u[e]=[];const t=[];A.forEach((function(A){"string"==typeof A&&A.indexOf("*")>=0?t.push(Ui(A).replace(/\\\*/g,".*")):A instanceof RegExp?u[e].push(A):c[e].push(A)})),t.length&&(l[e]=new RegExp("^("+t.join("|")+")$"))}));const B={};let h,d,g,f,p,w,Q;xi(e.transformTags,(function(A,e){let t;"function"==typeof A?t=A:"string"==typeof A&&(t=Di.simpleTransform(A)),"*"===e?h=t:B[e]=t}));let C=!1;U();const m=new mi.Parser({onopentag:function(A,t){if(e.enforceHtmlBoundary&&"html"===A&&U(),w)return void Q++;const m=new s(A,t);g.push(m);let v=!1;const E=!!m.text;let H;if(Ii(B,A)&&(H=B[A](A,t),m.attribs=t=H.attribs,void 0!==H.text&&(m.innerText=H.text),A!==H.tagName&&(m.name=A=H.tagName,p[d]=H.tagName)),h&&(H=h(A,t),m.attribs=t=H.attribs,A!==H.tagName&&(m.name=A=H.tagName,p[d]=H.tagName)),(e.allowedTags&&-1===e.allowedTags.indexOf(A)||"recursiveEscape"===e.disallowedTagsMode&&!function(A){for(const e in A)if(Ii(A,e))return!1;return!0}(f)||null!=e.nestingLimit&&d>=e.nestingLimit)&&(v=!0,f[d]=!0,"discard"===e.disallowedTagsMode&&-1!==i.indexOf(A)&&(w=!0,Q=1),f[d]=!0),d++,v){if("discard"===e.disallowedTagsMode)return;n=r,r=""}r+="<"+A,"script"===A&&(e.allowedScriptHostnames||e.allowedScriptDomains)&&(m.innerText=""),(!o||Ii(o,A)||o["*"])&&xi(t,(function(t,n){if(!Ki.test(n))return void delete m.attribs[n];let s,i=!1;if(!o||Ii(o,A)&&-1!==o[A].indexOf(n)||o["*"]&&-1!==o["*"].indexOf(n)||Ii(a,A)&&a[A].test(n)||a["*"]&&a["*"].test(n))i=!0;else if(o&&o[A])for(const e of o[A])if(Fi(e)&&e.name&&e.name===n){i=!0;let A="";if(!0===e.multiple){const r=t.split(" ");for(const t of r)-1!==e.values.indexOf(t)&&(""===A?A=t:A+=" "+t)}else e.values.indexOf(t)>=0&&(A=t);t=A}if(i){if(-1!==e.allowedSchemesAppliedToAttributes.indexOf(n)&&y(A,t))return void delete m.attribs[n];if("script"===A&&"src"===n){let A=!0;try{const r=new URL(t);if(e.allowedScriptHostnames||e.allowedScriptDomains){const t=(e.allowedScriptHostnames||[]).find((function(A){return A===r.hostname})),n=(e.allowedScriptDomains||[]).find((function(A){return r.hostname===A||r.hostname.endsWith(`.${A}`)}));A=t||n}}catch(e){A=!1}if(!A)return void delete m.attribs[n]}if("iframe"===A&&"src"===n){let A=!0;try{if((t=t.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//")).startsWith("relative:"))throw new Error("relative: exploit attempt");let r="relative://relative-site";for(let A=0;A<100;A++)r+=`/${A}`;const n=new URL(t,r);if(n&&"relative-site"===n.hostname&&"relative:"===n.protocol)A=Ii(e,"allowIframeRelativeUrls")?e.allowIframeRelativeUrls:!e.allowedIframeHostnames&&!e.allowedIframeDomains;else if(e.allowedIframeHostnames||e.allowedIframeDomains){const t=(e.allowedIframeHostnames||[]).find((function(A){return A===n.hostname})),r=(e.allowedIframeDomains||[]).find((function(A){return n.hostname===A||n.hostname.endsWith(`.${A}`)}));A=t||r}}catch(e){A=!1}if(!A)return void delete m.attribs[n]}if("srcset"===n)try{if(s=bi(t),s.forEach((function(A){y("srcset",A.url)&&(A.evil=!0)})),s=Li(s,(function(A){return!A.evil})),!s.length)return void delete m.attribs[n];t=Li(s,(function(A){return!A.evil})).map((function(A){if(!A.url)throw new Error("URL missing");return A.url+(A.w?` ${A.w}w`:"")+(A.h?` ${A.h}h`:"")+(A.d?` ${A.d}x`:"")})).join(", "),m.attribs[n]=t}catch(A){return void delete m.attribs[n]}if("class"===n){const e=c[A],r=c["*"],s=l[A],i=u[A],o=[s,l["*"]].concat(i).filter((function(A){return A}));if(!(t=b(t,e&&r?yi(e,r):e||r,o)).length)return void delete m.attribs[n]}if("style"===n)try{const r=function(A,e){if(!e)return A;const t=A.nodes[0];let r;r=e[t.selector]&&e["*"]?yi(e[t.selector],e["*"]):e[t.selector]||e["*"];r&&(A.nodes[0].nodes=t.nodes.reduce(function(A){return function(e,t){if(Ii(A,t.prop)){A[t.prop].some((function(A){return A.test(t.value)}))&&e.push(t)}return e}}(r),[]));return A}(vi(A+" {"+t+"}"),e.allowedStyles);if(0===(t=function(A){return A.nodes[0].nodes.reduce((function(A,e){return A.push(`${e.prop}:${e.value}${e.important?" !important":""}`),A}),[]).join(";")}(r)).length)return void delete m.attribs[n]}catch(A){return void delete m.attribs[n]}r+=" "+n,t&&t.length&&(r+='="'+F(t,!0)+'"')}else delete m.attribs[n]})),-1!==e.selfClosing.indexOf(A)?r+=" />":(r+=">",!m.innerText||E||e.textFilter||(r+=F(m.innerText),C=!0)),v&&(r=n+F(r),n="")},ontext:function(A){if(w)return;const t=g[g.length-1];let n;if(t&&(n=t.tag,A=void 0!==t.innerText?t.innerText:A),"discard"!==e.disallowedTagsMode||"script"!==n&&"style"!==n){const t=F(A,!1);e.textFilter&&!C?r+=e.textFilter(t,n):C||(r+=t)}else r+=A;if(g.length){g[g.length-1].text+=A}},onclosetag:function(A){if(w){if(Q--,Q)return;w=!1}const t=g.pop();if(!t)return;w=!!e.enforceHtmlBoundary&&"html"===A,d--;const s=f[d];if(s){if(delete f[d],"discard"===e.disallowedTagsMode)return void t.updateParentNodeText();n=r,r=""}p[d]&&(A=p[d],delete p[d]),e.exclusiveFilter&&e.exclusiveFilter(t)?r=r.substr(0,t.tagPosition):(t.updateParentNodeMediaChildren(),t.updateParentNodeText(),-1===e.selfClosing.indexOf(A)?(r+="",s&&(r=n+F(r),n=""),C=!1):s&&(r=n,n=""))}},e.parser);return m.write(A),m.end(),r;function U(){r="",d=0,g=[],f={},p={},w=!1,Q=0}function F(A,t){return"string"!=typeof A&&(A+=""),e.parser.decodeEntities&&(A=A.replace(/&/g,"&").replace(//g,">"),t&&(A=A.replace(/"/g,"""))),A=A.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&").replace(//g,">"),t&&(A=A.replace(/"/g,""")),A}function y(A,t){const r=(t=(t=t.replace(/[\x00-\x20]+/g,"")).replace(//g,"")).match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!r)return!!t.match(/^[/\\]{2}/)&&!e.allowProtocolRelative;const n=r[1].toLowerCase();return Ii(e.allowedSchemesByTag,A)?-1===e.allowedSchemesByTag[A].indexOf(n):!e.allowedSchemes||-1===e.allowedSchemes.indexOf(n)}function b(A,e,t){return e?(A=A.split(/\s+/)).filter((function(A){return-1!==e.indexOf(A)||t.some((function(e){return e.test(A)}))})).join(" "):A}}const Ti={decodeEntities:!0};Di.defaults={allowedTags:["address","article","aside","footer","header","h1","h2","h3","h4","h5","h6","hgroup","main","nav","section","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","main","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src","srcset","alt","title","width","height","loading"]},selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],allowedSchemes:["http","https","ftp","mailto","tel"],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:["href","src","cite"],allowProtocolRelative:!0,enforceHtmlBoundary:!1},Di.simpleTransform=function(A,e,t){return t=void 0===t||t,e=e||{},function(r,n){let s;if(t)for(s in e)n[s]=e[s];else n=e;return{tagName:A,attribs:n}}};var Oi,_i,Mi,ki,Pi=!1,Ni=!1,Ri=[];function Vi(A){!function(A){Ri.includes(A)||Ri.push(A);Ni||Pi||(Pi=!0,queueMicrotask(Xi))}(A)}function Gi(A){let e=Ri.indexOf(A);-1!==e&&Ri.splice(e,1)}function Xi(){Pi=!1,Ni=!0;for(let A=0;A{(void 0===e||e.includes(t))&&(r.forEach((A=>A())),delete A._x_attributeCleanups[t])}))}var $i=new MutationObserver(ao),Ao=!1;function eo(){$i.observe(document,{subtree:!0,childList:!0,attributes:!0,attributeOldValue:!0}),Ao=!0}function to(){(ro=ro.concat($i.takeRecords())).length&&!no&&(no=!0,queueMicrotask((()=>{ao(ro),ro.length=0,no=!1}))),$i.disconnect(),Ao=!1}var ro=[],no=!1;function so(A){if(!Ao)return A();to();let e=A();return eo(),e}var io=!1,oo=[];function ao(A){if(io)return void(oo=oo.concat(A));let e=[],t=[],r=new Map,n=new Map;for(let s=0;s1===A.nodeType&&e.push(A))),A[s].removedNodes.forEach((A=>1===A.nodeType&&t.push(A)))),"attributes"===A[s].type)){let e=A[s].target,t=A[s].attributeName,i=A[s].oldValue,o=()=>{r.has(e)||r.set(e,[]),r.get(e).push({name:t,value:e.getAttribute(t)})},a=()=>{n.has(e)||n.set(e,[]),n.get(e).push(t)};e.hasAttribute(t)&&null===i?o():e.hasAttribute(t)?(a(),o()):a()}n.forEach(((A,e)=>{zi(e,A)})),r.forEach(((A,e)=>{ji.forEach((t=>t(e,A)))}));for(let A of t)if(!e.includes(A)&&(Yi.forEach((e=>e(A))),A._x_cleanups))for(;A._x_cleanups.length;)A._x_cleanups.pop()();e.forEach((A=>{A._x_ignoreSelf=!0,A._x_ignore=!0}));for(let A of e)t.includes(A)||A.isConnected&&(delete A._x_ignoreSelf,delete A._x_ignore,Wi.forEach((e=>e(A))),A._x_ignore=!0,A._x_ignoreSelf=!0);e.forEach((A=>{delete A._x_ignoreSelf,delete A._x_ignore})),e=null,t=null,r=null,n=null}function co(A){return ho(Bo(A))}function lo(A,e,t){return A._x_dataStack=[e,...Bo(t||A)],()=>{A._x_dataStack=A._x_dataStack.filter((A=>A!==e))}}function uo(A,e){let t=A._x_dataStack[0];Object.entries(e).forEach((([A,e])=>{t[A]=e}))}function Bo(A){return A._x_dataStack?A._x_dataStack:"function"==typeof ShadowRoot&&A instanceof ShadowRoot?Bo(A.host):A.parentNode?Bo(A.parentNode):[]}function ho(A){let e=new Proxy({},{ownKeys:()=>Array.from(new Set(A.flatMap((A=>Object.keys(A))))),has:(e,t)=>A.some((A=>A.hasOwnProperty(t))),get:(t,r)=>(A.find((A=>{if(A.hasOwnProperty(r)){let t=Object.getOwnPropertyDescriptor(A,r);if(t.get&&t.get._x_alreadyBound||t.set&&t.set._x_alreadyBound)return!0;if((t.get||t.set)&&t.enumerable){let n=t.get,s=t.set,i=t;n=n&&n.bind(e),s=s&&s.bind(e),n&&(n._x_alreadyBound=!0),s&&(s._x_alreadyBound=!0),Object.defineProperty(A,r,{...i,get:n,set:s})}return!0}return!1}))||{})[r],set:(e,t,r)=>{let n=A.find((A=>A.hasOwnProperty(t)));return n?n[t]=r:A[A.length-1][t]=r,!0}});return e}function go(A){let e=(t,r="")=>{Object.entries(Object.getOwnPropertyDescriptors(t)).forEach((([n,{value:s,enumerable:i}])=>{if(!1===i||void 0===s)return;let o=""===r?n:`${r}.${n}`;var a;"object"==typeof s&&null!==s&&s._x_interceptor?t[n]=s.initialize(A,o,n):"object"!=typeof(a=s)||Array.isArray(a)||null===a||s===t||s instanceof Element||e(s,o)}))};return e(A)}function fo(A,e=(()=>{})){let t={initialValue:void 0,_x_interceptor:!0,initialize(e,t,r){return A(this.initialValue,(()=>function(A,e){return e.split(".").reduce(((A,e)=>A[e]),A)}(e,t)),(A=>po(e,t,A)),t,r)}};return e(t),A=>{if("object"==typeof A&&null!==A&&A._x_interceptor){let e=t.initialize.bind(t);t.initialize=(r,n,s)=>{let i=A.initialize(r,n,s);return t.initialValue=i,e(r,n,s)}}else t.initialValue=A;return t}}function po(A,e,t){if("string"==typeof e&&(e=e.split(".")),1!==e.length){if(0===e.length)throw error;return A[e[0]]||(A[e[0]]={}),po(A[e[0]],e.slice(1),t)}A[e[0]]=t}var wo={};function Qo(A,e){wo[A]=e}function Co(A,e){return Object.entries(wo).forEach((([t,r])=>{Object.defineProperty(A,`$${t}`,{get(){let[A,t]=Mo(e);return A={interceptor:fo,...A},Zi(e,t),r(e,A)},enumerable:!1})})),A}function mo(A,e,t,...r){try{return t(...r)}catch(t){Uo(t,A,e)}}function Uo(A,e,t){Object.assign(A,{el:e,expression:t}),console.warn(`Alpine Expression Error: ${A.message}\n\n${t?'Expression: "'+t+'"\n\n':""}`,e),setTimeout((()=>{throw A}),0)}var Fo=!0;function yo(A,e,t={}){let r;return bo(A,e)((A=>r=A),t),r}function bo(...A){return vo(...A)}var vo=Eo;function Eo(A,e){let t={};Co(t,A);let r=[t,...Bo(A)];if("function"==typeof e)return function(A,e){return(t=(()=>{}),{scope:r={},params:n=[]}={})=>{xo(t,e.apply(ho([r,...A]),n))}}(r,e);let n=function(A,e,t){let r=function(A,e){if(Ho[A])return Ho[A];let t=Object.getPrototypeOf((async function(){})).constructor,r=/^[\n\s]*if.*\(.*\)/.test(A)||/^(let|const)\s/.test(A)?`(() => { ${A} })()`:A;let n=(()=>{try{return new t(["__self","scope"],`with (scope) { __self.result = ${r} }; __self.finished = true; return __self.result;`)}catch(t){return Uo(t,e,A),Promise.resolve()}})();return Ho[A]=n,n}(e,t);return(n=(()=>{}),{scope:s={},params:i=[]}={})=>{r.result=void 0,r.finished=!1;let o=ho([s,...A]);if("function"==typeof r){let A=r(r,o).catch((A=>Uo(A,t,e)));r.finished?(xo(n,r.result,o,i,t),r.result=void 0):A.then((A=>{xo(n,A,o,i,t)})).catch((A=>Uo(A,t,e))).finally((()=>r.result=void 0))}}}(r,e,A);return mo.bind(null,A,e,n)}var Ho={};function xo(A,e,t,r,n){if(Fo&&"function"==typeof e){let s=e.apply(t,r);s instanceof Promise?s.then((e=>xo(A,e,t,r))).catch((A=>Uo(A,n,e))):A(s)}else A(e)}var Io="x-";function Lo(A=""){return Io+A}var So={};function Ko(A,e){So[A]=e}function Do(A,e,t){let r={},n=Array.from(e).map(Po(((A,e)=>r[A]=e))).filter(Vo).map(function(A,e){return({name:t,value:r})=>{let n=t.match(Go()),s=t.match(/:([a-zA-Z0-9\-:]+)/),i=t.match(/\.[^.\]]+(?=[^\]]*$)/g)||[],o=e||A[t]||t;return{type:n?n[1]:null,value:s?s[1]:null,modifiers:i.map((A=>A.replace(".",""))),expression:r,original:o}}}(r,t)).sort(qo);return n.map((e=>function(A,e){let t=()=>{},r=So[e.type]||t,[n,s]=Mo(A);!function(A,e,t){A._x_attributeCleanups||(A._x_attributeCleanups={}),A._x_attributeCleanups[e]||(A._x_attributeCleanups[e]=[]),A._x_attributeCleanups[e].push(t)}(A,e.original,s);let i=()=>{A._x_ignore||A._x_ignoreSelf||(r.inline&&r.inline(A,e,n),r=r.bind(r,A,e,n),To?Oo.get(_o).push(r):r())};return i.runCleanups=s,i}(A,e)))}var To=!1,Oo=new Map,_o=Symbol();function Mo(A){let e=[],[t,r]=function(A){let e=()=>{};return[t=>{let r=_i(t);return A._x_effects||(A._x_effects=new Set,A._x_runEffects=()=>{A._x_effects.forEach((A=>A()))}),A._x_effects.add(r),e=()=>{void 0!==r&&(A._x_effects.delete(r),Mi(r))},r},()=>{e()}]}(A);e.push(r);return[{Alpine:Ia,effect:t,cleanup:A=>e.push(A),evaluateLater:bo.bind(bo,A),evaluate:yo.bind(yo,A)},()=>e.forEach((A=>A()))]}var ko=(A,e)=>({name:t,value:r})=>(t.startsWith(A)&&(t=t.replace(A,e)),{name:t,value:r});function Po(A=(()=>{})){return({name:e,value:t})=>{let{name:r,value:n}=No.reduce(((A,e)=>e(A)),{name:e,value:t});return r!==e&&A(r,e),{name:r,value:n}}}var No=[];function Ro(A){No.push(A)}function Vo({name:A}){return Go().test(A)}var Go=()=>new RegExp(`^${Io}([^:^.]+)\\b`);var Xo="DEFAULT",Jo=["ignore","ref","data","id","bind","init","for","mask","model","modelable","transition","show","if",Xo,"teleport","element"];function qo(A,e){let t=-1===Jo.indexOf(A.type)?Xo:A.type,r=-1===Jo.indexOf(e.type)?Xo:e.type;return Jo.indexOf(t)-Jo.indexOf(r)}function jo(A,e,t={}){A.dispatchEvent(new CustomEvent(e,{detail:t,bubbles:!0,composed:!0,cancelable:!0}))}var Yo=[],Wo=!1;function Zo(A=(()=>{})){return queueMicrotask((()=>{Wo||setTimeout((()=>{zo()}))})),new Promise((e=>{Yo.push((()=>{A(),e()}))}))}function zo(){for(Wo=!1;Yo.length;)Yo.shift()()}function $o(A,e){if("function"==typeof ShadowRoot&&A instanceof ShadowRoot)return void Array.from(A.children).forEach((A=>$o(A,e)));let t=!1;if(e(A,(()=>t=!0)),t)return;let r=A.firstElementChild;for(;r;)$o(r,e),r=r.nextElementSibling}function Aa(A,...e){console.warn(`Alpine Warning: ${A}`,...e)}var ea=[],ta=[];function ra(){return ea.map((A=>A()))}function na(){return ea.concat(ta).map((A=>A()))}function sa(A){ea.push(A)}function ia(A){ta.push(A)}function oa(A,e=!1){return aa(A,(A=>{if((e?na():ra()).some((e=>A.matches(e))))return!0}))}function aa(A,e){if(A){if(e(A))return A;if(A._x_teleportBack&&(A=A._x_teleportBack),A.parentElement)return aa(A.parentElement,e)}}function ca(A,e=$o){!function(A){To=!0;let e=Symbol();_o=e,Oo.set(e,[]);let t=()=>{for(;Oo.get(e).length;)Oo.get(e).shift()();Oo.delete(e)};A(t),To=!1,t()}((()=>{e(A,((A,e)=>{Do(A,A.attributes).forEach((A=>A())),A._x_ignore&&e()}))}))}function la(A,e){return Array.isArray(e)?ua(A,e.join(" ")):"object"==typeof e&&null!==e?function(A,e){let t=A=>A.split(" ").filter(Boolean),r=Object.entries(e).flatMap((([A,e])=>!!e&&t(A))).filter(Boolean),n=Object.entries(e).flatMap((([A,e])=>!e&&t(A))).filter(Boolean),s=[],i=[];return n.forEach((e=>{A.classList.contains(e)&&(A.classList.remove(e),i.push(e))})),r.forEach((e=>{A.classList.contains(e)||(A.classList.add(e),s.push(e))})),()=>{i.forEach((e=>A.classList.add(e))),s.forEach((e=>A.classList.remove(e)))}}(A,e):"function"==typeof e?la(A,e()):ua(A,e)}function ua(A,e){return e=!0===e?e="":e||"",t=e.split(" ").filter((e=>!A.classList.contains(e))).filter(Boolean),A.classList.add(...t),()=>{A.classList.remove(...t)};var t}function Ba(A,e){return"object"==typeof e&&null!==e?function(A,e){let t={};return Object.entries(e).forEach((([e,r])=>{t[e]=A.style[e],e.startsWith("--")||(e=e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()),A.style.setProperty(e,r)})),setTimeout((()=>{0===A.style.length&&A.removeAttribute("style")})),()=>{Ba(A,t)}}(A,e):function(A,e){let t=A.getAttribute("style",e);return A.setAttribute("style",e),()=>{A.setAttribute("style",t||"")}}(A,e)}function ha(A,e=(()=>{})){let t=!1;return function(){t?e.apply(this,arguments):(t=!0,A.apply(this,arguments))}}function da(A,e,t={}){A._x_transition||(A._x_transition={enter:{during:t,start:t,end:t},leave:{during:t,start:t,end:t},in(t=(()=>{}),r=(()=>{})){fa(A,e,{during:this.enter.during,start:this.enter.start,end:this.enter.end},t,r)},out(t=(()=>{}),r=(()=>{})){fa(A,e,{during:this.leave.during,start:this.leave.start,end:this.leave.end},t,r)}})}function ga(A){let e=A.parentNode;if(e)return e._x_hidePromise?e:ga(e)}function fa(A,e,{during:t,start:r,end:n}={},s=(()=>{}),i=(()=>{})){if(A._x_transitioning&&A._x_transitioning.cancel(),0===Object.keys(t).length&&0===Object.keys(r).length&&0===Object.keys(n).length)return s(),void i();let o,a,c;!function(A,e){let t,r,n,s=ha((()=>{so((()=>{t=!0,r||e.before(),n||(e.end(),zo()),e.after(),A.isConnected&&e.cleanup(),delete A._x_transitioning}))}));A._x_transitioning={beforeCancels:[],beforeCancel(A){this.beforeCancels.push(A)},cancel:ha((function(){for(;this.beforeCancels.length;)this.beforeCancels.shift()();s()})),finish:s},so((()=>{e.start(),e.during()})),Wo=!0,requestAnimationFrame((()=>{if(t)return;let s=1e3*Number(getComputedStyle(A).transitionDuration.replace(/,.*/,"").replace("s","")),i=1e3*Number(getComputedStyle(A).transitionDelay.replace(/,.*/,"").replace("s",""));0===s&&(s=1e3*Number(getComputedStyle(A).animationDuration.replace("s",""))),so((()=>{e.before()})),r=!0,requestAnimationFrame((()=>{t||(so((()=>{e.end()})),zo(),setTimeout(A._x_transitioning.finish,s+i),n=!0)}))}))}(A,{start(){o=e(A,r)},during(){a=e(A,t)},before:s,end(){o(),c=e(A,n)},after:i,cleanup(){a(),c()}})}function pa(A,e,t){if(-1===A.indexOf(e))return t;const r=A[A.indexOf(e)+1];if(!r)return t;if("scale"===e&&isNaN(r))return t;if("duration"===e){let A=r.match(/([0-9]+)ms/);if(A)return A[1]}return"origin"===e&&["top","right","left","center","bottom"].includes(A[A.indexOf(e)+2])?[r,A[A.indexOf(e)+2]].join(" "):r}Ko("transition",((A,{value:e,modifiers:t,expression:r},{evaluate:n})=>{"function"==typeof r&&(r=n(r)),r?function(A,e,t){da(A,la,""),{enter:e=>{A._x_transition.enter.during=e},"enter-start":e=>{A._x_transition.enter.start=e},"enter-end":e=>{A._x_transition.enter.end=e},leave:e=>{A._x_transition.leave.during=e},"leave-start":e=>{A._x_transition.leave.start=e},"leave-end":e=>{A._x_transition.leave.end=e}}[t](e)}(A,r,e):function(A,e,t){da(A,Ba);let r=!e.includes("in")&&!e.includes("out")&&!t,n=r||e.includes("in")||["enter"].includes(t),s=r||e.includes("out")||["leave"].includes(t);e.includes("in")&&!r&&(e=e.filter(((A,t)=>tt>e.indexOf("out"))));let i=!e.includes("opacity")&&!e.includes("scale"),o=i||e.includes("opacity"),a=i||e.includes("scale"),c=o?0:1,l=a?pa(e,"scale",95)/100:1,u=pa(e,"delay",0),B=pa(e,"origin","center"),h="opacity, transform",d=pa(e,"duration",150)/1e3,g=pa(e,"duration",75)/1e3,f="cubic-bezier(0.4, 0.0, 0.2, 1)";n&&(A._x_transition.enter.during={transformOrigin:B,transitionDelay:u,transitionProperty:h,transitionDuration:`${d}s`,transitionTimingFunction:f},A._x_transition.enter.start={opacity:c,transform:`scale(${l})`},A._x_transition.enter.end={opacity:1,transform:"scale(1)"});s&&(A._x_transition.leave.during={transformOrigin:B,transitionDelay:u,transitionProperty:h,transitionDuration:`${g}s`,transitionTimingFunction:f},A._x_transition.leave.start={opacity:1,transform:"scale(1)"},A._x_transition.leave.end={opacity:c,transform:`scale(${l})`})}(A,t,e)})),window.Element.prototype._x_toggleAndCascadeWithTransitions=function(A,e,t,r){let n=()=>{"visible"===document.visibilityState?requestAnimationFrame(t):setTimeout(t)};e?A._x_transition&&(A._x_transition.enter||A._x_transition.leave)?A._x_transition.enter&&(Object.entries(A._x_transition.enter.during).length||Object.entries(A._x_transition.enter.start).length||Object.entries(A._x_transition.enter.end).length)?A._x_transition.in(t):n():A._x_transition?A._x_transition.in(t):n():(A._x_hidePromise=A._x_transition?new Promise(((e,t)=>{A._x_transition.out((()=>{}),(()=>e(r))),A._x_transitioning.beforeCancel((()=>t({isFromCancelledTransition:!0})))})):Promise.resolve(r),queueMicrotask((()=>{let e=ga(A);e?(e._x_hideChildren||(e._x_hideChildren=[]),e._x_hideChildren.push(A)):queueMicrotask((()=>{let e=A=>{let t=Promise.all([A._x_hidePromise,...(A._x_hideChildren||[]).map(e)]).then((([A])=>A()));return delete A._x_hidePromise,delete A._x_hideChildren,t};e(A).catch((A=>{if(!A.isFromCancelledTransition)throw A}))}))})))};var wa=!1;function Qa(A,e=(()=>{})){return(...t)=>wa?e(...t):A(...t)}function Ca(A,e,t,r=[]){switch(A._x_bindings||(A._x_bindings=Oi({})),A._x_bindings[e]=t,e=r.includes("camel")?e.toLowerCase().replace(/-(\w)/g,((A,e)=>e.toUpperCase())):e){case"value":!function(A,e){if("radio"===A.type)void 0===A.attributes.value&&(A.value=e),window.fromModel&&(A.checked=ma(A.value,e));else if("checkbox"===A.type)Number.isInteger(e)?A.value=e:Number.isInteger(e)||Array.isArray(e)||"boolean"==typeof e||[null,void 0].includes(e)?Array.isArray(e)?A.checked=e.some((e=>ma(e,A.value))):A.checked=!!e:A.value=String(e);else if("SELECT"===A.tagName)!function(A,e){const t=[].concat(e).map((A=>A+""));Array.from(A.options).forEach((A=>{A.selected=t.includes(A.value)}))}(A,e);else{if(A.value===e)return;A.value=e}}(A,t);break;case"style":!function(A,e){A._x_undoAddedStyles&&A._x_undoAddedStyles();A._x_undoAddedStyles=Ba(A,e)}(A,t);break;case"class":!function(A,e){A._x_undoAddedClasses&&A._x_undoAddedClasses();A._x_undoAddedClasses=la(A,e)}(A,t);break;default:!function(A,e,t){[null,void 0,!1].includes(t)&&function(A){return!["aria-pressed","aria-checked","aria-expanded","aria-selected"].includes(A)}(e)?A.removeAttribute(e):(Ua(e)&&(t=e),function(A,e,t){A.getAttribute(e)!=t&&A.setAttribute(e,t)}(A,e,t))}(A,e,t)}}function ma(A,e){return A==e}function Ua(A){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(A)}function Fa(A,e){var t;return function(){var r=this,n=arguments,s=function(){t=null,A.apply(r,n)};clearTimeout(t),t=setTimeout(s,e)}}function ya(A,e){let t;return function(){let r=this,n=arguments;t||(A.apply(r,n),t=!0,setTimeout((()=>t=!1),e))}}var ba={},va=!1;var Ea={};var Ha={};var xa={get reactive(){return Oi},get release(){return Mi},get effect(){return _i},get raw(){return ki},version:"3.10.0",flushAndStopDeferringMutations:function(){io=!1,ao(oo),oo=[]},dontAutoEvaluateFunctions:function(A){let e=Fo;Fo=!1,A(),Fo=e},disableEffectScheduling:function(A){Ji=!1,A(),Ji=!0},setReactivityEngine:function(A){Oi=A.reactive,Mi=A.release,_i=e=>A.effect(e,{scheduler:A=>{Ji?Vi(A):A()}}),ki=A.raw},closestDataStack:Bo,skipDuringClone:Qa,addRootSelector:sa,addInitSelector:ia,addScopeToNode:lo,deferMutations:function(){io=!0},mapAttributes:Ro,evaluateLater:bo,setEvaluator:function(A){vo=A},mergeProxies:ho,findClosest:aa,closestRoot:oa,interceptor:fo,transition:fa,setStyles:Ba,mutateDom:so,directive:Ko,throttle:ya,debounce:Fa,evaluate:yo,initTree:ca,nextTick:Zo,prefixed:Lo,prefix:function(A){Io=A},plugin:function(A){A(Ia)},magic:Qo,store:function(A,e){if(va||(ba=Oi(ba),va=!0),void 0===e)return ba[A];ba[A]=e,"object"==typeof e&&null!==e&&e.hasOwnProperty("init")&&"function"==typeof e.init&&ba[A].init(),go(ba[A])},start:function(){var A;document.body||Aa("Unable to initialize. Trying to load Alpine before `` is available. Did you forget to add `defer` in Alpine's ` - - \ No newline at end of file + /> +
+ +
+ + +
+
+
+
+
+
+
+ + + diff --git a/rollup.config.js b/rollup.config.js index aa6bcaf..9f58f16 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -7,53 +7,57 @@ import json from '@rollup/plugin-json'; const production = !process.env.ROLLUP_WATCH; function serve() { - let server; + let server; - function toExit() { - if (server) server.kill(0); - } + function toExit() { + if (server) server.kill(0); + } - return { - writeBundle() { - if (server) return; - server = require('child_process').spawn('npm', ['run', 'start', '--', '--dev'], { - stdio: ['ignore', 'inherit', 'inherit'], - shell: true - }); + return { + writeBundle() { + if (server) return; + server = require('child_process').spawn( + 'npm', + ['run', 'start', '--', '--dev'], + { + stdio: ['ignore', 'inherit', 'inherit'], + shell: true, + } + ); - process.on('SIGTERM', toExit); - process.on('exit', toExit); - } - }; + process.on('SIGTERM', toExit); + process.on('exit', toExit); + }, + }; } export default { - input: 'index.js', - output: { - sourcemap: true, - format: 'umd', - name: 'quotesimagemaker', - file: 'public/build/bundle.js' - }, - plugins: [ + input: 'index.js', + output: { + sourcemap: true, + format: 'iife', + name: 'quotesimagemaker', + file: 'public/build/bundle.js', + }, + plugins: [ resolve({ - browser: true, - }), - commonjs({ include: 'node_modules/**'}), - json({ - compact: true - }), - // In dev mode, call `npm run start` once - // the bundle has been generated - !production && serve(), - // Watch the `public` directory and refresh the - // browser on changes when not in production - !production && livereload('public'), - // If we're building for production (npm run build - // instead of npm run dev), minify - production && terser() - ], - watch: { - clearScreen: false - } -}; \ No newline at end of file + browser: true, + }), + commonjs({ include: 'node_modules/**' }), + json({ + compact: true, + }), + // In dev mode, call `npm run start` once + // the bundle has been generated + !production && serve(), + // Watch the `public` directory and refresh the + // browser on changes when not in production + !production && livereload('public'), + // If we're building for production (npm run build + // instead of npm run dev), minify + production && terser(), + ], + watch: { + clearScreen: false, + }, +}; diff --git a/tailwind.config.js b/tailwind.config.js index 5fc36ff..e1ab42d 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,12 +1,8 @@ /** @type {import('tailwindcss').Config} */ module.exports = { - content: [ - './public/*.html', - "./public/build/*.css", - "./public/build/*.js", - ], - theme: { - extend: {}, - }, - plugins: [require('@tailwindcss/forms')], -} + content: ['./public/*.html', './public/build/*.css', './public/build/*.js'], + theme: { + extend: {}, + }, + plugins: [require('@tailwindcss/forms')], +}; diff --git a/yarn.lock b/yarn.lock index a64c359..ac0f8bb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1314,6 +1314,11 @@ prelude-ls@^1.2.1: resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396" integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g== +prettier@^2.7.1: + version "2.7.1" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.7.1.tgz#e235806850d057f97bb08368a4f7d899f7760c64" + integrity sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g== + punycode@^2.1.0: version "2.1.1" resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec"