jabroni-outfit 1.4.0 → 1.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/jabroni-outfit.es.js +2 -2
- package/dist/jabroni-outfit.umd.js +2 -2
- package/index.html +7 -2
- package/package.json +4 -3
- package/src/store/store.ts +1 -1
- package/src/ui/index.ts +2 -35
- package/tailwind.config.js +5 -2
- package/vite.config.js +0 -1
- package/src/utils/index.ts +0 -17
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{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,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}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,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-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,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--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-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--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: rgb(59 130 246 / .5);--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: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::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-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--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: rgb(59 130 246 / .5);--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: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.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}}.taper-class .fixed{position:fixed}.taper-class .absolute{position:absolute}.taper-class .relative{position:relative}.taper-class .bottom-0{bottom:0}.taper-class .right-0{right:0}.taper-class .m-1{margin:.25rem}.taper-class .m-2{margin:.5rem}.taper-class .m-auto{margin:auto}.taper-class .mx-2{margin-left:.5rem;margin-right:.5rem}.taper-class .ml-2{margin-left:.5rem}.taper-class .ml-auto{margin-left:auto}.taper-class .mr-2{margin-right:.5rem}.taper-class .mr-4{margin-right:1rem}.taper-class .inline-block{display:inline-block}.taper-class .flex{display:flex}.taper-class .table{display:table}.taper-class .hidden{display:none}.taper-class .size-auto{width:auto;height:auto}.taper-class .h-7{height:1.75rem}.taper-class .h-8{height:2rem}.taper-class .w-24{width:6rem}.taper-class .w-7{width:1.75rem}.taper-class .w-full{width:100%}.taper-class .max-w-full{max-width:100%}.taper-class .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.taper-class .cursor-pointer{cursor:pointer}.taper-class .items-center{align-items:center}.taper-class .rounded{border-radius:.25rem}.taper-class .rounded-sm{border-radius:.125rem}.taper-class .bg-gray-700{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.taper-class .bg-zinc-700{--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity))}.taper-class .bg-zinc-800{--tw-bg-opacity: 1;background-color:rgb(39 39 42 / var(--tw-bg-opacity))}.taper-class .bg-zinc-900{--tw-bg-opacity: 1;background-color:rgb(24 24 27 / var(--tw-bg-opacity))}.taper-class .fill-gray-600{fill:#4b5563}.taper-class .stroke-gray-400{stroke:#9ca3af}.taper-class .p-2{padding:.5rem}.taper-class .px-2{padding-left:.5rem;padding-right:.5rem}.taper-class .px-3{padding-left:.75rem;padding-right:.75rem}.taper-class .py-1{padding-top:.25rem;padding-bottom:.25rem}.taper-class .py-2{padding-top:.5rem;padding-bottom:.5rem}.taper-class .font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.taper-class .text-zinc-300{--tw-text-opacity: 1;color:rgb(212 212 216 / var(--tw-text-opacity))}.taper-class .accent-gray-700{accent-color:#374151}.taper-class .outline-none{outline:2px solid transparent;outline-offset:2px}.taper-class .invert{--tw-invert: invert(100%);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)}.taper-class .checked\\:invert-0:checked{--tw-invert: invert(0);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)}.taper-class .hover\\:bg-gray-600:hover{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.taper-class .hover\\:bg-zinc-600:hover{--tw-bg-opacity: 1;background-color:rgb(82 82 91 / var(--tw-bg-opacity))}.taper-class .focus\\:outline-gray-600:focus{outline-color:#4b5563}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('*:where(.taper-class,.taper-class *),:before:where(.taper-class,.taper-class *),:after:where(.taper-class,.taper-class *){box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before:where(.taper-class,.taper-class *),:after:where(.taper-class,.taper-class *){--tw-content: ""}.taper-class{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,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}.taper-class{margin:0;line-height:inherit}hr:where(.taper-class,.taper-class *){height:0;color:inherit;border-top-width:1px}abbr:where([title]):where(.taper-class,.taper-class *){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1:where(.taper-class,.taper-class *),h2:where(.taper-class,.taper-class *),h3:where(.taper-class,.taper-class *),h4:where(.taper-class,.taper-class *),h5:where(.taper-class,.taper-class *),h6:where(.taper-class,.taper-class *){font-size:inherit;font-weight:inherit}a:where(.taper-class,.taper-class *){color:inherit;text-decoration:inherit}b:where(.taper-class,.taper-class *),strong:where(.taper-class,.taper-class *){font-weight:bolder}code:where(.taper-class,.taper-class *),kbd:where(.taper-class,.taper-class *),samp:where(.taper-class,.taper-class *),pre:where(.taper-class,.taper-class *){font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small:where(.taper-class,.taper-class *){font-size:80%}sub:where(.taper-class,.taper-class *),sup:where(.taper-class,.taper-class *){font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub:where(.taper-class,.taper-class *){bottom:-.25em}sup:where(.taper-class,.taper-class *){top:-.5em}table:where(.taper-class,.taper-class *){text-indent:0;border-color:inherit;border-collapse:collapse}button:where(.taper-class,.taper-class *),input:where(.taper-class,.taper-class *),optgroup:where(.taper-class,.taper-class *),select:where(.taper-class,.taper-class *),textarea:where(.taper-class,.taper-class *){font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button:where(.taper-class,.taper-class *),select:where(.taper-class,.taper-class *){text-transform:none}button:where(.taper-class,.taper-class *),input:where([type=button]):where(.taper-class,.taper-class *),input:where([type=reset]):where(.taper-class,.taper-class *),input:where([type=submit]):where(.taper-class,.taper-class *){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring:where(.taper-class,.taper-class *){outline:auto}:-moz-ui-invalid:where(.taper-class,.taper-class *){box-shadow:none}progress:where(.taper-class,.taper-class *){vertical-align:baseline}::-webkit-inner-spin-button:where(.taper-class,.taper-class *),::-webkit-outer-spin-button:where(.taper-class,.taper-class *){height:auto}[type=search]:where(.taper-class,.taper-class *){-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration:where(.taper-class,.taper-class *){-webkit-appearance:none}::-webkit-file-upload-button:where(.taper-class,.taper-class *){-webkit-appearance:button;font:inherit}summary:where(.taper-class,.taper-class *){display:list-item}blockquote:where(.taper-class,.taper-class *),dl:where(.taper-class,.taper-class *),dd:where(.taper-class,.taper-class *),h1:where(.taper-class,.taper-class *),h2:where(.taper-class,.taper-class *),h3:where(.taper-class,.taper-class *),h4:where(.taper-class,.taper-class *),h5:where(.taper-class,.taper-class *),h6:where(.taper-class,.taper-class *),hr:where(.taper-class,.taper-class *),figure:where(.taper-class,.taper-class *),p:where(.taper-class,.taper-class *),pre:where(.taper-class,.taper-class *){margin:0}fieldset:where(.taper-class,.taper-class *){margin:0;padding:0}legend:where(.taper-class,.taper-class *){padding:0}ol:where(.taper-class,.taper-class *),ul:where(.taper-class,.taper-class *),menu:where(.taper-class,.taper-class *){list-style:none;margin:0;padding:0}dialog:where(.taper-class,.taper-class *){padding:0}textarea:where(.taper-class,.taper-class *){resize:vertical}input::-moz-placeholder:where(.taper-class,.taper-class *),textarea::-moz-placeholder:where(.taper-class,.taper-class *){opacity:1;color:#9ca3af}input::placeholder:where(.taper-class,.taper-class *),textarea::placeholder:where(.taper-class,.taper-class *){opacity:1;color:#9ca3af}button:where(.taper-class,.taper-class *),[role=button]:where(.taper-class,.taper-class *){cursor:pointer}:disabled:where(.taper-class,.taper-class *){cursor:default}img:where(.taper-class,.taper-class *),svg:where(.taper-class,.taper-class *),video:where(.taper-class,.taper-class *),canvas:where(.taper-class,.taper-class *),audio:where(.taper-class,.taper-class *),iframe:where(.taper-class,.taper-class *),embed:where(.taper-class,.taper-class *),object:where(.taper-class,.taper-class *){display:block;vertical-align:middle}img:where(.taper-class,.taper-class *),video:where(.taper-class,.taper-class *){max-width:100%;height:auto}[hidden]:where(.taper-class,.taper-class *){display:none}*,:before,:after{--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-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--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: rgb(59 130 246 / .5);--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: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::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-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--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: rgb(59 130 246 / .5);--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: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.taper-class .fixed{position:fixed}.taper-class .absolute{position:absolute}.taper-class .relative{position:relative}.taper-class .bottom-0{bottom:0}.taper-class .right-0{right:0}.taper-class .m-1{margin:.25rem}.taper-class .m-2{margin:.5rem}.taper-class .m-auto{margin:auto}.taper-class .mx-2{margin-left:.5rem;margin-right:.5rem}.taper-class .ml-auto{margin-left:auto}.taper-class .mr-2{margin-right:.5rem}.taper-class .mr-4{margin-right:1rem}.taper-class .flex{display:flex}.taper-class .hidden{display:none}.taper-class .size-auto{width:auto;height:auto}.taper-class .h-7{height:1.75rem}.taper-class .h-8{height:2rem}.taper-class .w-24{width:6rem}.taper-class .w-7{width:1.75rem}.taper-class .w-full{width:100%}.taper-class .max-w-full{max-width:100%}.taper-class .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.taper-class .cursor-pointer{cursor:pointer}.taper-class .items-center{align-items:center}.taper-class .rounded{border-radius:.25rem}.taper-class .rounded-sm{border-radius:.125rem}.taper-class .bg-gray-700{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.taper-class .bg-zinc-700{--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity))}.taper-class .bg-zinc-800{--tw-bg-opacity: 1;background-color:rgb(39 39 42 / var(--tw-bg-opacity))}.taper-class .bg-zinc-900{--tw-bg-opacity: 1;background-color:rgb(24 24 27 / var(--tw-bg-opacity))}.taper-class .fill-gray-600{fill:#4b5563}.taper-class .stroke-gray-400{stroke:#9ca3af}.taper-class .p-2{padding:.5rem}.taper-class .px-2{padding-left:.5rem;padding-right:.5rem}.taper-class .px-3{padding-left:.75rem;padding-right:.75rem}.taper-class .py-1{padding-top:.25rem;padding-bottom:.25rem}.taper-class .py-2{padding-top:.5rem;padding-bottom:.5rem}.taper-class .font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.taper-class .text-zinc-300{--tw-text-opacity: 1;color:rgb(212 212 216 / var(--tw-text-opacity))}.taper-class .accent-gray-700{accent-color:#374151}.taper-class .outline-none{outline:2px solid transparent;outline-offset:2px}.taper-class .invert{--tw-invert: invert(100%);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)}.taper-class .checked\\:invert-0:checked{--tw-invert: invert(0);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)}.taper-class .hover\\:bg-gray-600:hover{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.taper-class .hover\\:bg-zinc-600:hover{--tw-bg-opacity: 1;background-color:rgb(82 82 91 / var(--tw-bg-opacity))}.taper-class .hover\\:bg-zinc-900:hover{--tw-bg-opacity: 1;background-color:rgb(24 24 27 / var(--tw-bg-opacity))}.taper-class .focus\\:outline-gray-600:focus{outline-color:#4b5563}')),document.head.appendChild(e)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}})();
|
|
2
2
|
var Vi = Object.defineProperty;
|
|
3
3
|
var Ci = (e, t, n) => t in e ? Vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
4
4
|
var ze = (e, t, n) => Ci(e, typeof t != "symbol" ? t + "" : t, n);
|
|
@@ -4247,7 +4247,7 @@ const ft = {
|
|
|
4247
4247
|
}
|
|
4248
4248
|
}, Ei = Object.assign({}, ft.EXCLUDE, ft.INCLUDE, ft.MISC, ft.PAGINATION), Vc = Object.assign({}, Ei, ft.DURATION_FILTER), Zc = Object.assign({}, Vc, ft.PRIVACY_FILTER);
|
|
4249
4249
|
function Cc(e, t) {
|
|
4250
|
-
return Number.isInteger(
|
|
4250
|
+
return Number.isInteger(parseInt(e)) ? parseInt(e) : t;
|
|
4251
4251
|
}
|
|
4252
4252
|
function Sc(e) {
|
|
4253
4253
|
const t = new DOMParser().parseFromString(e, "text/html").body;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{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,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}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,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-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,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--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-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--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: rgb(59 130 246 / .5);--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: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::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-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--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: rgb(59 130 246 / .5);--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: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.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}}.taper-class .fixed{position:fixed}.taper-class .absolute{position:absolute}.taper-class .relative{position:relative}.taper-class .bottom-0{bottom:0}.taper-class .right-0{right:0}.taper-class .m-1{margin:.25rem}.taper-class .m-2{margin:.5rem}.taper-class .m-auto{margin:auto}.taper-class .mx-2{margin-left:.5rem;margin-right:.5rem}.taper-class .ml-2{margin-left:.5rem}.taper-class .ml-auto{margin-left:auto}.taper-class .mr-2{margin-right:.5rem}.taper-class .mr-4{margin-right:1rem}.taper-class .inline-block{display:inline-block}.taper-class .flex{display:flex}.taper-class .table{display:table}.taper-class .hidden{display:none}.taper-class .size-auto{width:auto;height:auto}.taper-class .h-7{height:1.75rem}.taper-class .h-8{height:2rem}.taper-class .w-24{width:6rem}.taper-class .w-7{width:1.75rem}.taper-class .w-full{width:100%}.taper-class .max-w-full{max-width:100%}.taper-class .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.taper-class .cursor-pointer{cursor:pointer}.taper-class .items-center{align-items:center}.taper-class .rounded{border-radius:.25rem}.taper-class .rounded-sm{border-radius:.125rem}.taper-class .bg-gray-700{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.taper-class .bg-zinc-700{--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity))}.taper-class .bg-zinc-800{--tw-bg-opacity: 1;background-color:rgb(39 39 42 / var(--tw-bg-opacity))}.taper-class .bg-zinc-900{--tw-bg-opacity: 1;background-color:rgb(24 24 27 / var(--tw-bg-opacity))}.taper-class .fill-gray-600{fill:#4b5563}.taper-class .stroke-gray-400{stroke:#9ca3af}.taper-class .p-2{padding:.5rem}.taper-class .px-2{padding-left:.5rem;padding-right:.5rem}.taper-class .px-3{padding-left:.75rem;padding-right:.75rem}.taper-class .py-1{padding-top:.25rem;padding-bottom:.25rem}.taper-class .py-2{padding-top:.5rem;padding-bottom:.5rem}.taper-class .font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.taper-class .text-zinc-300{--tw-text-opacity: 1;color:rgb(212 212 216 / var(--tw-text-opacity))}.taper-class .accent-gray-700{accent-color:#374151}.taper-class .outline-none{outline:2px solid transparent;outline-offset:2px}.taper-class .invert{--tw-invert: invert(100%);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)}.taper-class .checked\\:invert-0:checked{--tw-invert: invert(0);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)}.taper-class .hover\\:bg-gray-600:hover{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.taper-class .hover\\:bg-zinc-600:hover{--tw-bg-opacity: 1;background-color:rgb(82 82 91 / var(--tw-bg-opacity))}.taper-class .focus\\:outline-gray-600:focus{outline-color:#4b5563}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('*:where(.taper-class,.taper-class *),:before:where(.taper-class,.taper-class *),:after:where(.taper-class,.taper-class *){box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before:where(.taper-class,.taper-class *),:after:where(.taper-class,.taper-class *){--tw-content: ""}.taper-class{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,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}.taper-class{margin:0;line-height:inherit}hr:where(.taper-class,.taper-class *){height:0;color:inherit;border-top-width:1px}abbr:where([title]):where(.taper-class,.taper-class *){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1:where(.taper-class,.taper-class *),h2:where(.taper-class,.taper-class *),h3:where(.taper-class,.taper-class *),h4:where(.taper-class,.taper-class *),h5:where(.taper-class,.taper-class *),h6:where(.taper-class,.taper-class *){font-size:inherit;font-weight:inherit}a:where(.taper-class,.taper-class *){color:inherit;text-decoration:inherit}b:where(.taper-class,.taper-class *),strong:where(.taper-class,.taper-class *){font-weight:bolder}code:where(.taper-class,.taper-class *),kbd:where(.taper-class,.taper-class *),samp:where(.taper-class,.taper-class *),pre:where(.taper-class,.taper-class *){font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small:where(.taper-class,.taper-class *){font-size:80%}sub:where(.taper-class,.taper-class *),sup:where(.taper-class,.taper-class *){font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub:where(.taper-class,.taper-class *){bottom:-.25em}sup:where(.taper-class,.taper-class *){top:-.5em}table:where(.taper-class,.taper-class *){text-indent:0;border-color:inherit;border-collapse:collapse}button:where(.taper-class,.taper-class *),input:where(.taper-class,.taper-class *),optgroup:where(.taper-class,.taper-class *),select:where(.taper-class,.taper-class *),textarea:where(.taper-class,.taper-class *){font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button:where(.taper-class,.taper-class *),select:where(.taper-class,.taper-class *){text-transform:none}button:where(.taper-class,.taper-class *),input:where([type=button]):where(.taper-class,.taper-class *),input:where([type=reset]):where(.taper-class,.taper-class *),input:where([type=submit]):where(.taper-class,.taper-class *){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring:where(.taper-class,.taper-class *){outline:auto}:-moz-ui-invalid:where(.taper-class,.taper-class *){box-shadow:none}progress:where(.taper-class,.taper-class *){vertical-align:baseline}::-webkit-inner-spin-button:where(.taper-class,.taper-class *),::-webkit-outer-spin-button:where(.taper-class,.taper-class *){height:auto}[type=search]:where(.taper-class,.taper-class *){-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration:where(.taper-class,.taper-class *){-webkit-appearance:none}::-webkit-file-upload-button:where(.taper-class,.taper-class *){-webkit-appearance:button;font:inherit}summary:where(.taper-class,.taper-class *){display:list-item}blockquote:where(.taper-class,.taper-class *),dl:where(.taper-class,.taper-class *),dd:where(.taper-class,.taper-class *),h1:where(.taper-class,.taper-class *),h2:where(.taper-class,.taper-class *),h3:where(.taper-class,.taper-class *),h4:where(.taper-class,.taper-class *),h5:where(.taper-class,.taper-class *),h6:where(.taper-class,.taper-class *),hr:where(.taper-class,.taper-class *),figure:where(.taper-class,.taper-class *),p:where(.taper-class,.taper-class *),pre:where(.taper-class,.taper-class *){margin:0}fieldset:where(.taper-class,.taper-class *){margin:0;padding:0}legend:where(.taper-class,.taper-class *){padding:0}ol:where(.taper-class,.taper-class *),ul:where(.taper-class,.taper-class *),menu:where(.taper-class,.taper-class *){list-style:none;margin:0;padding:0}dialog:where(.taper-class,.taper-class *){padding:0}textarea:where(.taper-class,.taper-class *){resize:vertical}input::-moz-placeholder:where(.taper-class,.taper-class *),textarea::-moz-placeholder:where(.taper-class,.taper-class *){opacity:1;color:#9ca3af}input::placeholder:where(.taper-class,.taper-class *),textarea::placeholder:where(.taper-class,.taper-class *){opacity:1;color:#9ca3af}button:where(.taper-class,.taper-class *),[role=button]:where(.taper-class,.taper-class *){cursor:pointer}:disabled:where(.taper-class,.taper-class *){cursor:default}img:where(.taper-class,.taper-class *),svg:where(.taper-class,.taper-class *),video:where(.taper-class,.taper-class *),canvas:where(.taper-class,.taper-class *),audio:where(.taper-class,.taper-class *),iframe:where(.taper-class,.taper-class *),embed:where(.taper-class,.taper-class *),object:where(.taper-class,.taper-class *){display:block;vertical-align:middle}img:where(.taper-class,.taper-class *),video:where(.taper-class,.taper-class *){max-width:100%;height:auto}[hidden]:where(.taper-class,.taper-class *){display:none}*,:before,:after{--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-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--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: rgb(59 130 246 / .5);--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: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::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-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--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: rgb(59 130 246 / .5);--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: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.taper-class .fixed{position:fixed}.taper-class .absolute{position:absolute}.taper-class .relative{position:relative}.taper-class .bottom-0{bottom:0}.taper-class .right-0{right:0}.taper-class .m-1{margin:.25rem}.taper-class .m-2{margin:.5rem}.taper-class .m-auto{margin:auto}.taper-class .mx-2{margin-left:.5rem;margin-right:.5rem}.taper-class .ml-auto{margin-left:auto}.taper-class .mr-2{margin-right:.5rem}.taper-class .mr-4{margin-right:1rem}.taper-class .flex{display:flex}.taper-class .hidden{display:none}.taper-class .size-auto{width:auto;height:auto}.taper-class .h-7{height:1.75rem}.taper-class .h-8{height:2rem}.taper-class .w-24{width:6rem}.taper-class .w-7{width:1.75rem}.taper-class .w-full{width:100%}.taper-class .max-w-full{max-width:100%}.taper-class .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.taper-class .cursor-pointer{cursor:pointer}.taper-class .items-center{align-items:center}.taper-class .rounded{border-radius:.25rem}.taper-class .rounded-sm{border-radius:.125rem}.taper-class .bg-gray-700{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.taper-class .bg-zinc-700{--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity))}.taper-class .bg-zinc-800{--tw-bg-opacity: 1;background-color:rgb(39 39 42 / var(--tw-bg-opacity))}.taper-class .bg-zinc-900{--tw-bg-opacity: 1;background-color:rgb(24 24 27 / var(--tw-bg-opacity))}.taper-class .fill-gray-600{fill:#4b5563}.taper-class .stroke-gray-400{stroke:#9ca3af}.taper-class .p-2{padding:.5rem}.taper-class .px-2{padding-left:.5rem;padding-right:.5rem}.taper-class .px-3{padding-left:.75rem;padding-right:.75rem}.taper-class .py-1{padding-top:.25rem;padding-bottom:.25rem}.taper-class .py-2{padding-top:.5rem;padding-bottom:.5rem}.taper-class .font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.taper-class .text-zinc-300{--tw-text-opacity: 1;color:rgb(212 212 216 / var(--tw-text-opacity))}.taper-class .accent-gray-700{accent-color:#374151}.taper-class .outline-none{outline:2px solid transparent;outline-offset:2px}.taper-class .invert{--tw-invert: invert(100%);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)}.taper-class .checked\\:invert-0:checked{--tw-invert: invert(0);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)}.taper-class .hover\\:bg-gray-600:hover{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.taper-class .hover\\:bg-zinc-600:hover{--tw-bg-opacity: 1;background-color:rgb(82 82 91 / var(--tw-bg-opacity))}.taper-class .hover\\:bg-zinc-900:hover{--tw-bg-opacity: 1;background-color:rgb(24 24 27 / var(--tw-bg-opacity))}.taper-class .focus\\:outline-gray-600:focus{outline-color:#4b5563}')),document.head.appendChild(e)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}})();
|
|
2
2
|
(function(q,se){typeof exports=="object"&&typeof module<"u"?se(exports):typeof define=="function"&&define.amd?define(["exports"],se):(q=typeof globalThis<"u"?globalThis:q||self,se(q.jabronioutfit={}))})(this,function(q){"use strict";var Xc=Object.defineProperty;var Zc=(q,se,le)=>se in q?Xc(q,se,{enumerable:!0,configurable:!0,writable:!0,value:le}):q[se]=le;var ut=(q,se,le)=>Zc(q,typeof se!="symbol"?se+"":se,le);var se={};/**
|
|
3
3
|
* @vue/shared v3.4.37
|
|
4
4
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
@@ -11,4 +11,4 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
11
11
|
|
|
12
12
|
For more details, see https://link.vuejs.org/feature-flags.`)}}const ue=Vl;function dl(e){return pl(e)}function pl(e,t){al();const n=xn();n.__VUE__=!0,a.NODE_ENV!=="production"&&rr(n.__VUE_DEVTOOLS_GLOBAL_HOOK__,n);const{insert:o,remove:r,patchProp:i,createElement:s,createText:c,createComment:f,setText:p,setElementText:m,parentNode:d,nextSibling:N,setScopeId:S=ne,insertStaticContent:$}=e,I=(l,u,h,E=null,g=null,b=null,w=void 0,y=null,O=a.NODE_ENV!=="production"&&nt?!1:!!u.dynamicChildren)=>{if(l===u)return;l&&!Lt(l,u)&&(E=On(l),Ge(l,g,b,!0),l=null),u.patchFlag===-2&&(O=!1,u.dynamicChildren=null);const{type:_,ref:x,shapeFlag:V}=u;switch(_){case Pt:ge(l,u,h,E);break;case pe:k(l,u,h,E);break;case gn:l==null?K(u,h,E,w):a.NODE_ENV!=="production"&&j(l,u,h,w);break;case de:Kc(l,u,h,E,g,b,w,y,O);break;default:V&1?be(l,u,h,E,g,b,w,y,O):V&6?zc(l,u,h,E,g,b,w,y,O):V&64||V&128?_.process(l,u,h,E,g,b,w,y,O,kt):a.NODE_ENV!=="production"&&v("Invalid VNode type:",_,`(${typeof _})`)}x!=null&&g&&Xn(x,l&&l.ref,b,u||l,!u)},ge=(l,u,h,E)=>{if(l==null)o(u.el=c(u.children),h,E);else{const g=u.el=l.el;u.children!==l.children&&p(g,u.children)}},k=(l,u,h,E)=>{l==null?o(u.el=f(u.children||""),h,E):u.el=l.el},K=(l,u,h,E)=>{[l.el,l.anchor]=$(l.children,u,h,E,l.el,l.anchor)},j=(l,u,h,E)=>{if(u.children!==l.children){const g=N(l.anchor);G(l),[u.el,u.anchor]=$(u.children,h,g,E)}else u.el=l.el,u.anchor=l.anchor},W=({el:l,anchor:u},h,E)=>{let g;for(;l&&l!==u;)g=N(l),o(l,h,E),l=g;o(u,h,E)},G=({el:l,anchor:u})=>{let h;for(;l&&l!==u;)h=N(l),r(l),l=h;r(u)},be=(l,u,h,E,g,b,w,y,O)=>{u.type==="svg"?w="svg":u.type==="math"&&(w="mathml"),l==null?M(u,h,E,g,b,w,y,O):Rt(l,u,g,b,w,y,O)},M=(l,u,h,E,g,b,w,y)=>{let O,_;const{props:x,shapeFlag:V,transition:D,dirs:T}=l;if(O=l.el=s(l.type,b,x&&x.is,x),V&8?m(O,l.children):V&16&&me(l.children,O,null,E,g,Zn(l,b),w,y),T&&rt(l,null,E,"created"),te(O,l,l.scopeId,w,E),x){for(const U in x)U!=="value"&&!wt(U)&&i(O,U,null,x[U],b,E);"value"in x&&i(O,"value",null,x.value,b),(_=x.onVnodeBeforeMount)&&De(_,E,l)}a.NODE_ENV!=="production"&&(zt(O,"__vnode",l,!0),zt(O,"__vueParentComponent",E,!0)),T&&rt(l,null,E,"beforeMount");const A=hl(g,D);A&&D.beforeEnter(O),o(O,u,h),((_=x&&x.onVnodeMounted)||A||T)&&ue(()=>{_&&De(_,E,l),A&&D.enter(O),T&&rt(l,null,E,"mounted")},g)},te=(l,u,h,E,g)=>{if(h&&S(l,h),E)for(let b=0;b<E.length;b++)S(l,E[b]);if(g){let b=g.subTree;if(a.NODE_ENV!=="production"&&b.patchFlag>0&&b.patchFlag&2048&&(b=to(b.children)||b),u===b){const w=g.vnode;te(l,w,w.scopeId,w.slotScopeIds,g.parent)}}},me=(l,u,h,E,g,b,w,y,O=0)=>{for(let _=O;_<l.length;_++){const x=l[_]=y?Be(l[_]):Ee(l[_]);I(null,x,u,h,E,g,b,w,y)}},Rt=(l,u,h,E,g,b,w)=>{const y=u.el=l.el;a.NODE_ENV!=="production"&&(y.__vnode=u);let{patchFlag:O,dynamicChildren:_,dirs:x}=u;O|=l.patchFlag&16;const V=l.props||H,D=u.props||H;let T;if(h&&st(h,!1),(T=D.onVnodeBeforeUpdate)&&De(T,h,u,l),x&&rt(u,l,h,"beforeUpdate"),h&&st(h,!0),a.NODE_ENV!=="production"&&nt&&(O=0,w=!1,_=null),(V.innerHTML&&D.innerHTML==null||V.textContent&&D.textContent==null)&&m(y,""),_?(jt(l.dynamicChildren,_,y,h,E,Zn(u,g),b),a.NODE_ENV!=="production"&&dn(l,u)):w||mo(l,u,y,null,h,E,Zn(u,g),b,!1),O>0){if(O&16)ze(y,V,D,h,g);else if(O&2&&V.class!==D.class&&i(y,"class",null,D.class,g),O&4&&i(y,"style",V.style,D.style,g),O&8){const A=u.dynamicProps;for(let U=0;U<A.length;U++){const R=A[U],Y=V[R],Ne=D[R];(Ne!==Y||R==="value")&&i(y,R,Y,Ne,g,h)}}O&1&&l.children!==u.children&&m(y,u.children)}else!w&&_==null&&ze(y,V,D,h,g);((T=D.onVnodeUpdated)||x)&&ue(()=>{T&&De(T,h,u,l),x&&rt(u,l,h,"updated")},E)},jt=(l,u,h,E,g,b,w)=>{for(let y=0;y<u.length;y++){const O=l[y],_=u[y],x=O.el&&(O.type===de||!Lt(O,_)||O.shapeFlag&70)?d(O.el):h;I(O,_,x,null,E,g,b,w,!0)}},ze=(l,u,h,E,g)=>{if(u!==h){if(u!==H)for(const b in u)!wt(b)&&!(b in h)&&i(l,b,u[b],null,g,E);for(const b in h){if(wt(b))continue;const w=h[b],y=u[b];w!==y&&b!=="value"&&i(l,b,y,w,g,E)}"value"in h&&i(l,"value",u.value,h.value,g)}},Kc=(l,u,h,E,g,b,w,y,O)=>{const _=u.el=l?l.el:c(""),x=u.anchor=l?l.anchor:c("");let{patchFlag:V,dynamicChildren:D,slotScopeIds:T}=u;a.NODE_ENV!=="production"&&(nt||V&2048)&&(V=0,O=!1,D=null),T&&(y=y?y.concat(T):T),l==null?(o(_,h,E),o(x,h,E),me(u.children||[],h,x,g,b,w,y,O)):V>0&&V&64&&D&&l.dynamicChildren?(jt(l.dynamicChildren,D,h,g,b,w,y),a.NODE_ENV!=="production"?dn(l,u):(u.key!=null||g&&u===g.subTree)&&dn(l,u,!0)):mo(l,u,h,x,g,b,w,y,O)},zc=(l,u,h,E,g,b,w,y,O)=>{u.slotScopeIds=y,l==null?u.shapeFlag&512?g.ctx.activate(u,h,E,w,O):mi(u,h,E,g,b,w,O):Gc(l,u,O)},mi=(l,u,h,E,g,b,w)=>{const y=l.component=Ml(l,E,g);if(a.NODE_ENV!=="production"&&y.type.__hmrId&&xs(y),a.NODE_ENV!=="production"&&(nn(l),Ie(y,"mount")),ar(l)&&(y.ctx.renderer=kt),a.NODE_ENV!=="production"&&Ie(y,"init"),Al(y,!1,w),a.NODE_ENV!=="production"&&$e(y,"init"),y.asyncDep){if(g&&g.registerDep(y,gi,w),!l.el){const O=y.subTree=Me(pe);k(null,O,u,h)}}else gi(y,l,u,h,g,b,w);a.NODE_ENV!=="production"&&(on(),$e(y,"mount"))},Gc=(l,u,h)=>{const E=u.component=l.component;if(vl(l,u,h))if(E.asyncDep&&!E.asyncResolved){a.NODE_ENV!=="production"&&nn(u),ho(E,u,h),a.NODE_ENV!=="production"&&on();return}else E.next=u,ws(E.update),E.effect.dirty=!0,E.update();else u.el=l.el,E.vnode=u},gi=(l,u,h,E,g,b,w)=>{const y=()=>{if(l.isMounted){let{next:x,bu:V,u:D,parent:T,vnode:A}=l;{const yt=Mr(l);if(yt){x&&(x.el=A.el,ho(l,x,w)),yt.asyncDep.then(()=>{l.isUnmounted||y()});return}}let U=x,R;a.NODE_ENV!=="production"&&nn(x||l.vnode),st(l,!1),x?(x.el=A.el,ho(l,x,w)):x=A,V&&vt(V),(R=x.props&&x.props.onVnodeBeforeUpdate)&&De(R,T,x,A),st(l,!0),a.NODE_ENV!=="production"&&Ie(l,"render");const Y=eo(l);a.NODE_ENV!=="production"&&$e(l,"render");const Ne=l.subTree;l.subTree=Y,a.NODE_ENV!=="production"&&Ie(l,"patch"),I(Ne,Y,d(Ne.el),On(Ne),l,g,b),a.NODE_ENV!=="production"&&$e(l,"patch"),x.el=Y.el,U===null&&xl(l,Y.el),D&&ue(D,g),(R=x.props&&x.props.onVnodeUpdated)&&ue(()=>De(R,T,x,A),g),a.NODE_ENV!=="production"&&ir(l),a.NODE_ENV!=="production"&&on()}else{let x;const{el:V,props:D}=u,{bm:T,m:A,parent:U}=l,R=un(u);if(st(l,!1),T&&vt(T),!R&&(x=D&&D.onVnodeBeforeMount)&&De(x,U,u),st(l,!0),V&&Ni){const Y=()=>{a.NODE_ENV!=="production"&&Ie(l,"render"),l.subTree=eo(l),a.NODE_ENV!=="production"&&$e(l,"render"),a.NODE_ENV!=="production"&&Ie(l,"hydrate"),Ni(V,l.subTree,l,g,null),a.NODE_ENV!=="production"&&$e(l,"hydrate")};R?u.type.__asyncLoader().then(()=>!l.isUnmounted&&Y()):Y()}else{a.NODE_ENV!=="production"&&Ie(l,"render");const Y=l.subTree=eo(l);a.NODE_ENV!=="production"&&$e(l,"render"),a.NODE_ENV!=="production"&&Ie(l,"patch"),I(null,Y,h,E,l,g,b),a.NODE_ENV!=="production"&&$e(l,"patch"),u.el=Y.el}if(A&&ue(A,g),!R&&(x=D&&D.onVnodeMounted)){const Y=u;ue(()=>De(x,U,Y),g)}(u.shapeFlag&256||U&&un(U.vnode)&&U.vnode.shapeFlag&256)&&l.a&&ue(l.a,g),l.isMounted=!0,a.NODE_ENV!=="production"&&Is(l),u=h=E=null}},O=l.effect=new Vo(y,ne,()=>rn(_),l.scope),_=l.update=()=>{O.dirty&&O.run()};_.i=l,_.id=l.uid,st(l,!0),a.NODE_ENV!=="production"&&(O.onTrack=l.rtc?x=>vt(l.rtc,x):void 0,O.onTrigger=l.rtg?x=>vt(l.rtg,x):void 0),_()},ho=(l,u,h)=>{u.component=l;const E=l.vnode.props;l.vnode=u,l.next=null,Zs(l,u.props,E,h),cl(l,u.children,h),Xe(),Qo(l),Ze()},mo=(l,u,h,E,g,b,w,y,O=!1)=>{const _=l&&l.children,x=l?l.shapeFlag:0,V=u.children,{patchFlag:D,shapeFlag:T}=u;if(D>0){if(D&128){_i(_,V,h,E,g,b,w,y,O);return}else if(D&256){qc(_,V,h,E,g,b,w,y,O);return}}T&8?(x&16&&Ht(_,g,b),V!==_&&m(h,V)):x&16?T&16?_i(_,V,h,E,g,b,w,y,O):Ht(_,g,b,!0):(x&8&&m(h,""),T&16&&me(V,h,E,g,b,w,y,O))},qc=(l,u,h,E,g,b,w,y,O)=>{l=l||ft,u=u||ft;const _=l.length,x=u.length,V=Math.min(_,x);let D;for(D=0;D<V;D++){const T=u[D]=O?Be(u[D]):Ee(u[D]);I(l[D],T,h,null,g,b,w,y,O)}_>x?Ht(l,g,b,!0,!1,V):me(u,h,E,g,b,w,y,O,V)},_i=(l,u,h,E,g,b,w,y,O)=>{let _=0;const x=u.length;let V=l.length-1,D=x-1;for(;_<=V&&_<=D;){const T=l[_],A=u[_]=O?Be(u[_]):Ee(u[_]);if(Lt(T,A))I(T,A,h,null,g,b,w,y,O);else break;_++}for(;_<=V&&_<=D;){const T=l[V],A=u[D]=O?Be(u[D]):Ee(u[D]);if(Lt(T,A))I(T,A,h,null,g,b,w,y,O);else break;V--,D--}if(_>V){if(_<=D){const T=D+1,A=T<x?u[T].el:E;for(;_<=D;)I(null,u[_]=O?Be(u[_]):Ee(u[_]),h,A,g,b,w,y,O),_++}}else if(_>D)for(;_<=V;)Ge(l[_],g,b,!0),_++;else{const T=_,A=_,U=new Map;for(_=A;_<=D;_++){const ie=u[_]=O?Be(u[_]):Ee(u[_]);ie.key!=null&&(a.NODE_ENV!=="production"&&U.has(ie.key)&&v("Duplicate keys found during update:",JSON.stringify(ie.key),"Make sure keys are unique."),U.set(ie.key,_))}let R,Y=0;const Ne=D-A+1;let yt=!1,yi=0;const Ut=new Array(Ne);for(_=0;_<Ne;_++)Ut[_]=0;for(_=T;_<=V;_++){const ie=l[_];if(Y>=Ne){Ge(ie,g,b,!0);continue}let Ve;if(ie.key!=null)Ve=U.get(ie.key);else for(R=A;R<=D;R++)if(Ut[R-A]===0&&Lt(ie,u[R])){Ve=R;break}Ve===void 0?Ge(ie,g,b,!0):(Ut[Ve-A]=_+1,Ve>=yi?yi=Ve:yt=!0,I(ie,u[Ve],h,null,g,b,w,y,O),Y++)}const Oi=yt?ml(Ut):ft;for(R=Oi.length-1,_=Ne-1;_>=0;_--){const ie=A+_,Ve=u[ie],wi=ie+1<x?u[ie+1].el:E;Ut[_]===0?I(null,Ve,h,wi,g,b,w,y,O):yt&&(R<0||_!==Oi[R]?yn(Ve,h,wi,2):R--)}}},yn=(l,u,h,E,g=null)=>{const{el:b,type:w,transition:y,children:O,shapeFlag:_}=l;if(_&6){yn(l.component.subTree,u,h,E);return}if(_&128){l.suspense.move(u,h,E);return}if(_&64){w.move(l,u,h,kt);return}if(w===de){o(b,u,h);for(let V=0;V<O.length;V++)yn(O[V],u,h,E);o(l.anchor,u,h);return}if(w===gn){W(l,u,h);return}if(E!==2&&_&1&&y)if(E===0)y.beforeEnter(b),o(b,u,h),ue(()=>y.enter(b),g);else{const{leave:V,delayLeave:D,afterLeave:T}=y,A=()=>o(b,u,h),U=()=>{V(b,()=>{A(),T&&T()})};D?D(b,A,U):U()}else o(b,u,h)},Ge=(l,u,h,E=!1,g=!1)=>{const{type:b,props:w,ref:y,children:O,dynamicChildren:_,shapeFlag:x,patchFlag:V,dirs:D,cacheIndex:T}=l;if(V===-2&&(g=!1),y!=null&&Xn(y,null,h,l,!0),T!=null&&(u.renderCache[T]=void 0),x&256){u.ctx.deactivate(l);return}const A=x&1&&D,U=!un(l);let R;if(U&&(R=w&&w.onVnodeBeforeUnmount)&&De(R,u,l),x&6)Yc(l.component,h,E);else{if(x&128){l.suspense.unmount(h,E);return}A&&rt(l,null,u,"beforeUnmount"),x&64?l.type.remove(l,u,h,kt,E):_&&!_.hasOnce&&(b!==de||V>0&&V&64)?Ht(_,u,h,!1,!0):(b===de&&V&384||!g&&x&16)&&Ht(O,u,h),E&&go(l)}(U&&(R=w&&w.onVnodeUnmounted)||A)&&ue(()=>{R&&De(R,u,l),A&&rt(l,null,u,"unmounted")},h)},go=l=>{const{type:u,el:h,anchor:E,transition:g}=l;if(u===de){a.NODE_ENV!=="production"&&l.patchFlag>0&&l.patchFlag&2048&&g&&!g.persisted?l.children.forEach(w=>{w.type===pe?r(w.el):go(w)}):Jc(h,E);return}if(u===gn){G(l);return}const b=()=>{r(h),g&&!g.persisted&&g.afterLeave&&g.afterLeave()};if(l.shapeFlag&1&&g&&!g.persisted){const{leave:w,delayLeave:y}=g,O=()=>w(h,b);y?y(l.el,b,O):O()}else b()},Jc=(l,u)=>{let h;for(;l!==u;)h=N(l),r(l),l=h;r(u)},Yc=(l,u,h)=>{a.NODE_ENV!=="production"&&l.type.__hmrId&&Ds(l);const{bum:E,scope:g,update:b,subTree:w,um:y,m:O,a:_}=l;Pr(O),Pr(_),E&&vt(E),g.stop(),b&&(b.active=!1,Ge(w,l,u,h)),y&&ue(y,u),ue(()=>{l.isUnmounted=!0},u),u&&u.pendingBranch&&!u.isUnmounted&&l.asyncDep&&!l.asyncResolved&&l.suspenseId===u.pendingId&&(u.deps--,u.deps===0&&u.resolve()),a.NODE_ENV!=="production"&&Ms(l)},Ht=(l,u,h,E=!1,g=!1,b=0)=>{for(let w=b;w<l.length;w++)Ge(l[w],u,h,E,g)},On=l=>{if(l.shapeFlag&6)return On(l.component.subTree);if(l.shapeFlag&128)return l.suspense.next();const u=N(l.anchor||l.el),h=u&&u[ul];return h?N(h):u};let _o=!1;const Ei=(l,u,h)=>{l==null?u._vnode&&Ge(u._vnode,null,null,!0):I(u._vnode||null,l,u,null,null,null,h),u._vnode=l,_o||(_o=!0,Qo(),er(),_o=!1)},kt={p:I,um:Ge,m:yn,r:go,mt:mi,mc:me,pc:mo,pbc:jt,n:On,o:e};let bi,Ni;return{render:Ei,hydrate:bi,createApp:qs(Ei,bi)}}function Zn({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function st({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function hl(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function dn(e,t,n=!1){const o=e.children,r=t.children;if(C(o)&&C(r))for(let i=0;i<o.length;i++){const s=o[i];let c=r[i];c.shapeFlag&1&&!c.dynamicChildren&&((c.patchFlag<=0||c.patchFlag===32)&&(c=r[i]=Be(r[i]),c.el=s.el),!n&&c.patchFlag!==-2&&dn(s,c)),c.type===Pt&&(c.el=s.el),a.NODE_ENV!=="production"&&c.type===pe&&!c.el&&(c.el=s.el)}}function ml(e){const t=e.slice(),n=[0];let o,r,i,s,c;const f=e.length;for(o=0;o<f;o++){const p=e[o];if(p!==0){if(r=n[n.length-1],e[r]<p){t[o]=r,n.push(o);continue}for(i=0,s=n.length-1;i<s;)c=i+s>>1,e[n[c]]<p?i=c+1:s=c;p<e[n[i]]&&(i>0&&(t[o]=n[i-1]),n[i]=o)}}for(i=n.length,s=n[i-1];i-- >0;)n[i]=s,s=t[s];return n}function Mr(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Mr(t)}function Pr(e){if(e)for(let t=0;t<e.length;t++)e[t].active=!1}const gl=Symbol.for("v-scx"),_l=()=>{{const e=Js(gl);return e||a.NODE_ENV!=="production"&&v("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}},pn={};function Ar(e,t,n){return a.NODE_ENV!=="production"&&!L(t)&&v("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),El(e,t,n)}function El(e,t,{immediate:n,deep:o,flush:r,once:i,onTrack:s,onTrigger:c}=H){if(t&&i){const M=t;t=(...te)=>{M(...te),be()}}a.NODE_ENV!=="production"&&o!==void 0&&typeof o=="number"&&v('watch() "deep" option with number value will be used as watch depth in future versions. Please use a boolean instead to avoid potential breakage.'),a.NODE_ENV!=="production"&&!t&&(n!==void 0&&v('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),o!==void 0&&v('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),i!==void 0&&v('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const f=M=>{v("Invalid watch source: ",M,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},p=Pe,m=M=>o===!0?M:lt(M,o===!1?1:void 0);let d,N=!1,S=!1;if(oe(e)?(d=()=>e.value,N=je(e)):mt(e)?(d=()=>m(e),N=!0):C(e)?(S=!0,N=e.some(M=>mt(M)||je(M)),d=()=>e.map(M=>{if(oe(M))return M.value;if(mt(M))return m(M);if(L(M))return Ce(M,p,2);a.NODE_ENV!=="production"&&f(M)})):L(e)?t?d=()=>Ce(e,p,2):d=()=>($&&$(),Te(e,p,3,[I])):(d=ne,a.NODE_ENV!=="production"&&f(e)),t&&o){const M=d;d=()=>lt(M())}let $,I=M=>{$=W.onStop=()=>{Ce(M,p,4),$=W.onStop=void 0}},ge;if(Jr)if(I=ne,t?n&&Te(t,p,3,[d(),S?[]:void 0,I]):d(),r==="sync"){const M=_l();ge=M.__watcherHandles||(M.__watcherHandles=[])}else return ne;let k=S?new Array(e.length).fill(pn):pn;const K=()=>{if(!(!W.active||!W.dirty))if(t){const M=W.run();(o||N||(S?M.some((te,me)=>dt(te,k[me])):dt(M,k)))&&($&&$(),Te(t,p,3,[M,k===pn?void 0:S&&k[0]===pn?[]:k,I]),k=M)}else W.run()};K.allowRecurse=!!t;let j;r==="sync"?j=K:r==="post"?j=()=>ue(K,p&&p.suspense):(K.pre=!0,p&&(K.id=p.uid),j=()=>rn(K));const W=new Vo(d,ne,j),G=Bi(),be=()=>{W.stop(),G&&Eo(G.effects,W)};return a.NODE_ENV!=="production"&&(W.onTrack=s,W.onTrigger=c),t?n?K():k=W.run():r==="post"?ue(W.run.bind(W),p&&p.suspense):W.run(),ge&&ge.push(be),be}function lt(e,t=1/0,n){if(t<=0||!B(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,oe(e))lt(e.value,t,n);else if(C(e))for(let o=0;o<e.length;o++)lt(e[o],t,n);else if(bo(e)||qe(e))e.forEach(o=>{lt(o,t,n)});else if(Oo(e)){for(const o in e)lt(e[o],t,n);for(const o of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,o)&<(e[o],t,n)}return e}const bl=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${fe(t)}Modifiers`]||e[`${Se(t)}Modifiers`];function Nl(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||H;if(a.NODE_ENV!=="production"){const{emitsOptions:m,propsOptions:[d]}=e;if(m)if(!(t in m))(!d||!(at(fe(t))in d))&&v(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${at(fe(t))}" prop.`);else{const N=m[t];L(N)&&(N(...n)||v(`Invalid event arguments: event validation failed for event "${t}".`))}}let r=n;const i=t.startsWith("update:"),s=i&&bl(o,t.slice(7));if(s&&(s.trim&&(r=n.map(m=>z(m)?m.trim():m)),s.number&&(r=n.map(Ci))),a.NODE_ENV!=="production"&&Fs(e,t,r),a.NODE_ENV!=="production"){const m=t.toLowerCase();m!==t&&o[at(m)]&&v(`Event "${m}" is emitted in component ${bn(e,e.type)} but the handler is registered for "${t}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${Se(t)}" instead of "${t}".`)}let c,f=o[c=at(t)]||o[c=at(fe(t))];!f&&i&&(f=o[c=at(Se(t))]),f&&Te(f,e,6,r);const p=o[c+"Once"];if(p){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,Te(p,e,6,r)}}function yl(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(r!==void 0)return r;const i=e.emits;let s={};return!i&&!!1?(B(e)&&o.set(e,null),null):(C(i)?i.forEach(f=>s[f]=null):J(s,i),B(e)&&o.set(e,s),s)}function hn(e,t){return!e||!Ot(t)?!1:(t=t.slice(2).replace(/Once$/,""),P(e,t[0].toLowerCase()+t.slice(1))||P(e,Se(t))||P(e,t))}let Qn=!1;function mn(){Qn=!0}function eo(e){const{type:t,vnode:n,proxy:o,withProxy:r,propsOptions:[i],slots:s,attrs:c,emit:f,render:p,renderCache:m,props:d,data:N,setupState:S,ctx:$,inheritAttrs:I}=e,ge=cn(e);let k,K;a.NODE_ENV!=="production"&&(Qn=!1);try{if(n.shapeFlag&4){const G=r||o,be=a.NODE_ENV!=="production"&&S.__isScriptSetup?new Proxy(G,{get(M,te,me){return v(`Property '${String(te)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get(M,te,me)}}):G;k=Ee(p.call(be,G,m,a.NODE_ENV!=="production"?Oe(d):d,S,N,$)),K=c}else{const G=t;a.NODE_ENV!=="production"&&c===d&&mn(),k=Ee(G.length>1?G(a.NODE_ENV!=="production"?Oe(d):d,a.NODE_ENV!=="production"?{get attrs(){return mn(),Oe(c)},slots:s,emit:f}:{attrs:c,slots:s,emit:f}):G(a.NODE_ENV!=="production"?Oe(d):d,null)),K=t.props?c:Ol(c)}}catch(G){At.length=0,Vt(G,e,1),k=Me(pe)}let j=k,W;if(a.NODE_ENV!=="production"&&k.patchFlag>0&&k.patchFlag&2048&&([j,W]=Fr(k)),K&&I!==!1){const G=Object.keys(K),{shapeFlag:be}=j;if(G.length){if(be&7)i&&G.some(Bt)&&(K=wl(K,i)),j=Ue(j,K,!1,!0);else if(a.NODE_ENV!=="production"&&!Qn&&j.type!==pe){const M=Object.keys(c),te=[],me=[];for(let Rt=0,jt=M.length;Rt<jt;Rt++){const ze=M[Rt];Ot(ze)?Bt(ze)||te.push(ze[2].toLowerCase()+ze.slice(3)):me.push(ze)}me.length&&v(`Extraneous non-props attributes (${me.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.`),te.length&&v(`Extraneous non-emits event listeners (${te.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.`)}}}return n.dirs&&(a.NODE_ENV!=="production"&&!Lr(j)&&v("Runtime directive used on component with non-element root node. The directives will not function as intended."),j=Ue(j,null,!1,!0),j.dirs=j.dirs?j.dirs.concat(n.dirs):n.dirs),n.transition&&(a.NODE_ENV!=="production"&&!Lr(j)&&v("Component inside <Transition> renders non-element root node that cannot be animated."),j.transition=n.transition),a.NODE_ENV!=="production"&&W?W(j):k=j,cn(ge),k}const Fr=e=>{const t=e.children,n=e.dynamicChildren,o=to(t,!1);if(o){if(a.NODE_ENV!=="production"&&o.patchFlag>0&&o.patchFlag&2048)return Fr(o)}else return[e,void 0];const r=t.indexOf(o),i=n?n.indexOf(o):-1,s=c=>{t[r]=c,n&&(i>-1?n[i]=c:c.patchFlag>0&&(e.dynamicChildren=[...n,c]))};return[Ee(o),s]};function to(e,t=!0){let n;for(let o=0;o<e.length;o++){const r=e[o];if(no(r)){if(r.type!==pe||r.children==="v-if"){if(n)return;if(n=r,a.NODE_ENV!=="production"&&t&&n.patchFlag>0&&n.patchFlag&2048)return to(n.children)}}else return}return n}const Ol=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ot(n))&&((t||(t={}))[n]=e[n]);return t},wl=(e,t)=>{const n={};for(const o in e)(!Bt(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n},Lr=e=>e.shapeFlag&7||e.type===pe;function vl(e,t,n){const{props:o,children:r,component:i}=e,{props:s,children:c,patchFlag:f}=t,p=i.emitsOptions;if(a.NODE_ENV!=="production"&&(r||c)&&nt||t.dirs||t.transition)return!0;if(n&&f>=0){if(f&1024)return!0;if(f&16)return o?Rr(o,s,p):!!s;if(f&8){const m=t.dynamicProps;for(let d=0;d<m.length;d++){const N=m[d];if(s[N]!==o[N]&&!hn(p,N))return!0}}}else return(r||c)&&(!c||!c.$stable)?!0:o===s?!1:o?s?Rr(o,s,p):!0:!!s;return!1}function Rr(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r<o.length;r++){const i=o[r];if(t[i]!==e[i]&&!hn(n,i))return!0}return!1}function xl({vnode:e,parent:t},n){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.el=e.el),o===e)(e=t.vnode).el=n,t=t.parent;else break}}const Dl=e=>e.__isSuspense;function Vl(e,t){t&&t.pendingBranch?C(e)?t.effects.push(...e):t.effects.push(e):Zo(e)}const de=Symbol.for("v-fgt"),Pt=Symbol.for("v-txt"),pe=Symbol.for("v-cmt"),gn=Symbol.for("v-stc"),At=[];let he=null;function ee(e=!1){At.push(he=e?null:[])}function Sl(){At.pop(),he=At[At.length-1]||null}let Ft=1;function jr(e){Ft+=e,e<0&&he&&(he.hasOnce=!0)}function Hr(e){return e.dynamicChildren=Ft>0?he||ft:null,Sl(),Ft>0&&he&&he.push(e),e}function xe(e,t,n,o,r,i){return Hr(bt(e,t,n,o,r,i,!0))}function Et(e,t,n,o,r){return Hr(Me(e,t,n,o,r,!0))}function no(e){return e?e.__v_isVNode===!0:!1}function Lt(e,t){if(a.NODE_ENV!=="production"&&t.shapeFlag&6&&e.component){const n=sn.get(t.type);if(n&&n.has(e.component))return e.shapeFlag&=-257,t.shapeFlag&=-513,!1}return e.type===t.type&&e.key===t.key}const Cl=(...e)=>Ur(...e),kr=({key:e})=>e??null,_n=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?z(e)||oe(e)||L(e)?{i:ae,r:e,k:t,f:!!n}:e:null);function bt(e,t=null,n=null,o=0,r=null,i=e===de?0:1,s=!1,c=!1){const f={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&kr(t),ref:t&&_n(t),scopeId:lr,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:ae};return c?(oo(f,n),i&128&&e.normalize(f)):n&&(f.shapeFlag|=z(n)?8:16),a.NODE_ENV!=="production"&&f.key!==f.key&&v("VNode created with invalid key (NaN). VNode type:",f.type),Ft>0&&!s&&he&&(f.patchFlag>0||i&6)&&f.patchFlag!==32&&he.push(f),f}const Me=a.NODE_ENV!=="production"?Cl:Ur;function Ur(e,t=null,n=null,o=0,r=null,i=!1){if((!e||e===dr)&&(a.NODE_ENV!=="production"&&!e&&v(`Invalid vnode type when creating vnode: ${e}.`),e=pe),no(e)){const c=Ue(e,t,!0);return n&&oo(c,n),Ft>0&&!i&&he&&(c.shapeFlag&6?he[he.indexOf(e)]=c:he.push(c)),c.patchFlag=-2,c}if(Qr(e)&&(e=e.__vccOpts),t){t=Tl(t);let{class:c,style:f}=t;c&&!z(c)&&(t.class=xt(c)),B(f)&&(An(f)&&!C(f)&&(f=J({},f)),t.style=Dn(f))}const s=z(e)?1:Dl(e)?128:fl(e)?64:B(e)?4:L(e)?2:0;return a.NODE_ENV!=="production"&&s&4&&An(e)&&(e=F(e),v("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
|
|
13
13
|
Component that was made reactive: `,e)),bt(e,t,n,o,r,s,i,!0)}function Tl(e){return e?An(e)||vr(e)?J({},e):e:null}function Ue(e,t,n=!1,o=!1){const{props:r,ref:i,patchFlag:s,children:c,transition:f}=e,p=t?Kr(r||{},t):r,m={__v_isVNode:!0,__v_skip:!0,type:e.type,props:p,key:p&&kr(p),ref:t&&t.ref?n&&i?C(i)?i.concat(_n(t)):[i,_n(t)]:_n(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a.NODE_ENV!=="production"&&s===-1&&C(c)?c.map(Br):c,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==de?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:f,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ue(e.ssContent),ssFallback:e.ssFallback&&Ue(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return f&&o&&fr(m,f.clone(m)),m}function Br(e){const t=Ue(e);return C(e.children)&&(t.children=e.children.map(Br)),t}function Wr(e=" ",t=0){return Me(Pt,null,e,t)}function ct(e="",t=!1){return t?(ee(),Et(pe,null,e)):Me(pe,null,e)}function Ee(e){return e==null||typeof e=="boolean"?Me(pe):C(e)?Me(de,null,e.slice()):typeof e=="object"?Be(e):Me(Pt,null,String(e))}function Be(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ue(e)}function oo(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(C(t))n=16;else if(typeof t=="object")if(o&65){const r=t.default;r&&(r._c&&(r._d=!1),oo(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!vr(t)?t._ctx=ae:r===3&&ae&&(ae.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else L(t)?(t={default:t,_ctx:ae},n=32):(t=String(t),o&64?(n=16,t=[Wr(t)]):n=8);e.children=t,e.shapeFlag|=n}function Kr(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const r in o)if(r==="class")t.class!==o.class&&(t.class=xt([t.class,o.class]));else if(r==="style")t.style=Dn([t.style,o.style]);else if(Ot(r)){const i=t[r],s=o[r];s&&i!==s&&!(C(i)&&i.includes(s))&&(t[r]=i?[].concat(i,s):s)}else r!==""&&(t[r]=o[r])}return t}function De(e,t,n,o=null){Te(e,t,7,[n,o])}const Il=yr();let $l=0;function Ml(e,t,n){const o=e.type,r=(t?t.appContext:e.appContext)||Il,i={uid:$l++,vnode:e,type:o,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new ki(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Qs(o,r),emitsOptions:yl(o,r),emit:null,emitted:null,propsDefaults:H,inheritAttrs:o.inheritAttrs,ctx:H,data:H,props:H,attrs:H,slots:H,refs:H,setupState:H,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return a.NODE_ENV!=="production"?i.ctx=Hs(i):i.ctx={_:i},i.root=t?t.root:i,i.emit=Nl.bind(null,i),e.ce&&e.ce(i),i}let Pe=null,En,ro;{const e=xn(),t=(n,o)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(o),i=>{r.length>1?r.forEach(s=>s(i)):r[0](i)}};En=t("__VUE_INSTANCE_SETTERS__",n=>Pe=n),ro=t("__VUE_SSR_SETTERS__",n=>Jr=n)}const zr=e=>{const t=Pe;return En(e),e.scope.on(),()=>{e.scope.off(),En(t)}},Gr=()=>{Pe&&Pe.scope.off(),En(null)},Pl=le("slot,component");function io(e,{isNativeTag:t}){(Pl(e)||t(e))&&v("Do not use built-in or reserved HTML elements as component id: "+e)}function qr(e){return e.vnode.shapeFlag&4}let Jr=!1;function Al(e,t=!1,n=!1){t&&ro(t);const{props:o,children:r}=e.vnode,i=qr(e);Ys(e,o,i,t),ll(e,r,n);const s=i?Fl(e,t):void 0;return t&&ro(!1),s}function Fl(e,t){var n;const o=e.type;if(a.NODE_ENV!=="production"){if(o.name&&io(o.name,e.appContext.config),o.components){const i=Object.keys(o.components);for(let s=0;s<i.length;s++)io(i[s],e.appContext.config)}if(o.directives){const i=Object.keys(o.directives);for(let s=0;s<i.length;s++)ur(i[s])}o.compilerOptions&&Ll()&&v('"compilerOptions" is only supported when using a build of Vue that includes the runtime compiler. Since you are using a runtime-only build, the options should be passed via your build tool config instead.')}e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,gr),a.NODE_ENV!=="production"&&ks(e);const{setup:r}=o;if(r){const i=e.setupContext=r.length>1?jl(e):null,s=zr(e);Xe();const c=Ce(r,e,0,[a.NODE_ENV!=="production"?Oe(e.props):e.props,i]);if(Ze(),s(),No(c)){if(c.then(Gr,Gr),t)return c.then(f=>{Yr(e,f,t)}).catch(f=>{Vt(f,e,0)});if(e.asyncDep=c,a.NODE_ENV!=="production"&&!e.suspense){const f=(n=o.name)!=null?n:"Anonymous";v(`Component <${f}>: setup function returned a promise, but no <Suspense> boundary was found in the parent component tree. A component with async setup() must be nested in a <Suspense> in order to be rendered.`)}}else Yr(e,c,t)}else Xr(e,t)}function Yr(e,t,n){L(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:B(t)?(a.NODE_ENV!=="production"&&no(t)&&v("setup() should not return VNodes directly - return a render function instead."),a.NODE_ENV!=="production"&&(e.devtoolsRawSetupState=t),e.setupState=Go(t),a.NODE_ENV!=="production"&&Us(e)):a.NODE_ENV!=="production"&&t!==void 0&&v(`setup() should return an object. Received: ${t===null?"null":typeof t}`),Xr(e,n)}let so;const Ll=()=>!so;function Xr(e,t,n){const o=e.type;if(!e.render){if(!t&&so&&!o.render){const r=o.template||Bs(e).template;if(r){a.NODE_ENV!=="production"&&Ie(e,"compile");const{isCustomElement:i,compilerOptions:s}=e.appContext.config,{delimiters:c,compilerOptions:f}=o,p=J(J({isCustomElement:i,delimiters:c},s),f);o.render=so(r,p),a.NODE_ENV!=="production"&&$e(e,"compile")}}e.render=o.render||ne}a.NODE_ENV!=="production"&&!o.render&&e.render===ne&&!t&&(o.template?v('Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".'):v("Component is missing template or render function: ",o))}const Zr=a.NODE_ENV!=="production"?{get(e,t){return mn(),X(e,"get",""),e[t]},set(){return v("setupContext.attrs is readonly."),!1},deleteProperty(){return v("setupContext.attrs is readonly."),!1}}:{get(e,t){return X(e,"get",""),e[t]}};function Rl(e){return new Proxy(e.slots,{get(t,n){return X(e,"get","$slots"),t[n]}})}function jl(e){const t=n=>{if(a.NODE_ENV!=="production"&&(e.exposed&&v("expose() should be called only once per setup()."),n!=null)){let o=typeof n;o==="object"&&(C(n)?o="array":oe(n)&&(o="ref")),o!=="object"&&v(`expose() should be passed a plain object, received ${o}.`)}e.exposed=n||{}};if(a.NODE_ENV!=="production"){let n,o;return Object.freeze({get attrs(){return n||(n=new Proxy(e.attrs,Zr))},get slots(){return o||(o=Rl(e))},get emit(){return(r,...i)=>e.emit(r,...i)},expose:t})}else return{attrs:new Proxy(e.attrs,Zr),slots:e.slots,emit:e.emit,expose:t}}function lo(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Go(ps(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in it)return it[n](e)},has(t,n){return n in t||n in it}})):e.proxy}const Hl=/(?:^|[-_])(\w)/g,kl=e=>e.replace(Hl,t=>t.toUpperCase()).replace(/[-_]/g,"");function co(e,t=!0){return L(e)?e.displayName||e.name:e.name||t&&e.__name}function bn(e,t,n=!1){let o=co(t);if(!o&&t.__file){const r=t.__file.match(/([^/\\]+)\.\w+$/);r&&(o=r[1])}if(!o&&e&&e.parent){const r=i=>{for(const s in i)if(i[s]===t)return s};o=r(e.components||e.parent.type.components)||r(e.appContext.components)}return o?kl(o):n?"App":"Anonymous"}function Qr(e){return L(e)&&"__vccOpts"in e}function Ul(){if(a.NODE_ENV==="production"||typeof window>"u")return;const e={style:"color:#3ba776"},t={style:"color:#1677ff"},n={style:"color:#f5222d"},o={style:"color:#eb2f96"},r={__vue_custom_formatter:!0,header(d){return B(d)?d.__isVue?["div",e,"VueInstance"]:oe(d)?["div",{},["span",e,m(d)],"<",c(d.value),">"]:mt(d)?["div",{},["span",e,je(d)?"ShallowReactive":"Reactive"],"<",c(d),`>${Re(d)?" (readonly)":""}`]:Re(d)?["div",{},["span",e,je(d)?"ShallowReadonly":"Readonly"],"<",c(d),">"]:null:null},hasBody(d){return d&&d.__isVue},body(d){if(d&&d.__isVue)return["div",{},...i(d.$)]}};function i(d){const N=[];d.type.props&&d.props&&N.push(s("props",F(d.props))),d.setupState!==H&&N.push(s("setup",d.setupState)),d.data!==H&&N.push(s("data",F(d.data)));const S=f(d,"computed");S&&N.push(s("computed",S));const $=f(d,"inject");return $&&N.push(s("injected",$)),N.push(["div",{},["span",{style:o.style+";opacity:0.66"},"$ (internal): "],["object",{object:d}]]),N}function s(d,N){return N=J({},N),Object.keys(N).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},d],["div",{style:"padding-left:1.25em"},...Object.keys(N).map(S=>["div",{},["span",o,S+": "],c(N[S],!1)])]]:["span",{}]}function c(d,N=!0){return typeof d=="number"?["span",t,d]:typeof d=="string"?["span",n,JSON.stringify(d)]:typeof d=="boolean"?["span",o,d]:B(d)?["object",{object:N?F(d):d}]:["span",n,String(d)]}function f(d,N){const S=d.type;if(L(S))return;const $={};for(const I in d.ctx)p(S,I,N)&&($[I]=d.ctx[I]);return $}function p(d,N,S){const $=d[S];if(C($)&&$.includes(N)||B($)&&N in $||d.extends&&p(d.extends,N,S)||d.mixins&&d.mixins.some(I=>p(I,N,S)))return!0}function m(d){return je(d)?"ShallowRef":d.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(r):window.devtoolsFormatters=[r]}const ei="3.4.37",We=a.NODE_ENV!=="production"?v:ne;var Ke={};const Bl="http://www.w3.org/2000/svg",Wl="http://www.w3.org/1998/Math/MathML",Ae=typeof document<"u"?document:null,ti=Ae&&Ae.createElement("template"),Kl={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const r=t==="svg"?Ae.createElementNS(Bl,e):t==="mathml"?Ae.createElementNS(Wl,e):n?Ae.createElement(e,{is:n}):Ae.createElement(e);return e==="select"&&o&&o.multiple!=null&&r.setAttribute("multiple",o.multiple),r},createText:e=>Ae.createTextNode(e),createComment:e=>Ae.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ae.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,r,i){const s=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{ti.innerHTML=o==="svg"?`<svg>${e}</svg>`:o==="mathml"?`<math>${e}</math>`:e;const c=ti.content;if(o==="svg"||o==="mathml"){const f=c.firstChild;for(;f.firstChild;)c.appendChild(f.firstChild);c.removeChild(f)}t.insertBefore(c,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},zl=Symbol("_vtc");function Gl(e,t,n){const o=e[zl];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const ni=Symbol("_vod"),ql=Symbol("_vsh"),Jl=Symbol(Ke.NODE_ENV!=="production"?"CSS_VAR_TEXT":""),Yl=/(^|;)\s*display\s*:/;function Xl(e,t,n){const o=e.style,r=z(n);let i=!1;if(n&&!r){if(t)if(z(t))for(const s of t.split(";")){const c=s.slice(0,s.indexOf(":")).trim();n[c]==null&&Nn(o,c,"")}else for(const s in t)n[s]==null&&Nn(o,s,"");for(const s in n)s==="display"&&(i=!0),Nn(o,s,n[s])}else if(r){if(t!==n){const s=o[Jl];s&&(n+=";"+s),o.cssText=n,i=Yl.test(n)}}else t&&e.removeAttribute("style");ni in e&&(e[ni]=i?o.display:"",e[ql]&&(o.display="none"))}const Zl=/[^\\];\s*$/,oi=/\s*!important$/;function Nn(e,t,n){if(C(n))n.forEach(o=>Nn(e,t,o));else if(n==null&&(n=""),Ke.NODE_ENV!=="production"&&Zl.test(n)&&We(`Unexpected semicolon at the end of '${t}' style value: '${n}'`),t.startsWith("--"))e.setProperty(t,n);else{const o=Ql(e,t);oi.test(n)?e.setProperty(Se(o),n.replace(oi,""),"important"):e[o]=n}}const ri=["Webkit","Moz","ms"],uo={};function Ql(e,t){const n=uo[t];if(n)return n;let o=fe(t);if(o!=="filter"&&o in e)return uo[t]=o;o=Je(o);for(let r=0;r<ri.length;r++){const i=ri[r]+o;if(i in e)return uo[t]=i}return t}const ii="http://www.w3.org/1999/xlink";function si(e,t,n,o,r,i=Hi(t)){o&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(ii,t.slice(6,t.length)):e.setAttributeNS(ii,t,n):n==null||i&&!vo(n)?e.removeAttribute(t):e.setAttribute(t,i?"":Fe(n)?String(n):n)}function ec(e,t,n,o){if(t==="innerHTML"||t==="textContent"){if(n==null)return;e[t]=n;return}const r=e.tagName;if(t==="value"&&r!=="PROGRESS"&&!r.includes("-")){const s=r==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?"":String(n);(s!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const s=typeof e[t];s==="boolean"?n=vo(n):n==null&&s==="string"?(n="",i=!0):s==="number"&&(n=0,i=!0)}try{e[t]=n}catch(s){Ke.NODE_ENV!=="production"&&!i&&We(`Failed setting prop "${t}" on <${r.toLowerCase()}>: value ${n} is invalid.`,s)}i&&e.removeAttribute(t)}function tc(e,t,n,o){e.addEventListener(t,n,o)}function nc(e,t,n,o){e.removeEventListener(t,n,o)}const li=Symbol("_vei");function oc(e,t,n,o,r=null){const i=e[li]||(e[li]={}),s=i[t];if(o&&s)s.value=Ke.NODE_ENV!=="production"?ui(o,t):o;else{const[c,f]=rc(t);if(o){const p=i[t]=lc(Ke.NODE_ENV!=="production"?ui(o,t):o,r);tc(e,c,p,f)}else s&&(nc(e,c,s,f),i[t]=void 0)}}const ci=/(?:Once|Passive|Capture)$/;function rc(e){let t;if(ci.test(e)){t={};let o;for(;o=e.match(ci);)e=e.slice(0,e.length-o[0].length),t[o[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Se(e.slice(2)),t]}let fo=0;const ic=Promise.resolve(),sc=()=>fo||(ic.then(()=>fo=0),fo=Date.now());function lc(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;Te(cc(o,n.value),t,5,[o])};return n.value=e,n.attached=sc(),n}function ui(e,t){return L(e)||C(e)?e:(We(`Wrong type passed as event handler to ${t} - did you forget @ or : in front of your prop?
|
|
14
|
-
Expected function or array of functions, received type ${typeof e}.`),ne)}function cc(e,t){if(C(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(o=>r=>!r._stopped&&o&&o(r))}else return t}const fi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,uc=(e,t,n,o,r,i)=>{const s=r==="svg";t==="class"?Gl(e,o,s):t==="style"?Xl(e,n,o):Ot(t)?Bt(t)||oc(e,t,n,o,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):fc(e,t,o,s))?(ec(e,t,o),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&si(e,t,o,s,i,t!=="value")):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),si(e,t,o,s))};function fc(e,t,n,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&fi(t)&&L(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return fi(t)&&z(n)?!1:t in e}const ac=J({patchProp:uc},Kl);let ai;function dc(){return ai||(ai=dl(ac))}const pc=(...e)=>{const t=dc().createApp(...e);Ke.NODE_ENV!=="production"&&(mc(t),gc(t));const{mount:n}=t;return t.mount=o=>{const r=_c(o);if(!r)return;const i=t._component;!L(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.innerHTML="";const s=n(r,!1,hc(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),s},t};function hc(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function mc(e){Object.defineProperty(e.config,"isNativeTag",{value:t=>Li(t)||Ri(t)||ji(t),writable:!1})}function gc(e){{const t=e.config.isCustomElement;Object.defineProperty(e.config,"isCustomElement",{get(){return t},set(){We("The `isCustomElement` config option is deprecated. Use `compilerOptions.isCustomElement` instead.")}});const n=e.config.compilerOptions,o='The `compilerOptions` config option is only respected when using a build of Vue.js that includes the runtime compiler (aka "full build"). Since you are using the runtime-only build, `compilerOptions` must be passed to `@vue/compiler-dom` in the build setup instead.\n- For vue-loader: pass it via vue-loader\'s `compilerOptions` loader option.\n- For vue-cli: see https://cli.vuejs.org/guide/webpack.html#modifying-options-of-a-loader\n- For vite: pass it via @vitejs/plugin-vue options. See https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue#example-for-passing-options-to-vuecompiler-sfc';Object.defineProperty(e.config,"compilerOptions",{get(){return We(o),n},set(){We(o)}})}}function _c(e){if(z(e)){const t=document.querySelector(e);return Ke.NODE_ENV!=="production"&&!t&&We(`Failed to mount app: mount target selector "${e}" returned null.`),t}return Ke.NODE_ENV!=="production"&&window.ShadowRoot&&e instanceof window.ShadowRoot&&e.mode==="closed"&&We('mounting on a ShadowRoot with `{mode: "closed"}` may lead to unpredictable bugs'),e}var Ec={};function bc(){Ul()}Ec.NODE_ENV!=="production"&&bc();class Nc{constructor(t,n="state_acephale"){ut(this,"state");ut(this,"trySetFromLocalStorage",()=>{const t=localStorage.getItem(this.key);if(t!==null){const n=JSON.parse(t);Object.assign(this.state,n)}});this.key=n,this.key=n,this.state=en(t),this.sync(),this.watchPersistence()}sync(){this.trySetFromLocalStorage(),window.addEventListener("focus",this.trySetFromLocalStorage)}watchPersistence(){Ar(this.state,t=>{this.saveToLocalStorage(this.key,t)})}saveToLocalStorage(t,n){localStorage.setItem(t,JSON.stringify(n))}}const Nt={EXCLUDE:{filterExclude:{value:!1,persistent:!0,watch:!0},filterExcludeWords:{value:"",persistent:!0,watch:"filterExclude"}},INCLUDE:{filterInclude:{value:!1,persistent:!0,watch:!0},filterIncludeWords:{value:"",persistent:!0,watch:"filterInclude"}},MISC:{infiniteScrollEnabled:{value:!0,persistent:!0,watch:!0},uiEnabled:{value:!0,persistent:!0,watch:!0}},DURATION_FILTER:{filterDuration:{value:!1,persistent:!0,watch:!0},filterDurationFrom:{value:0,type:"number",persistent:!0,watch:"filterDuration"},filterDurationTo:{value:600,type:"number",persistent:!0,watch:"filterDuration"}},PRIVACY_FILTER:{filterPrivate:{value:!1,persistent:!0,watch:!0},filterPublic:{value:!1,persistent:!0,watch:!0}},PAGINATION:{pagIndexLast:{value:1,persistent:!1,watch:!0},pagIndexCur:{value:1,persistent:!1,watch:!0}}},ao=Object.assign({},Nt.EXCLUDE,Nt.INCLUDE,Nt.MISC,Nt.PAGINATION),di=Object.assign({},ao,Nt.DURATION_FILTER),yc=Object.assign({},di,Nt.PRIVACY_FILTER);function Oc(e,t){return Number.isInteger(Number.parseInt(e))?Number.parseInt(e):t}function wc(e){const t=new DOMParser().parseFromString(e,"text/html").body;return t.children.length>1?t:t.firstElementChild}class vc{constructor(t=ao){ut(this,"callbacks",[]);ut(this,"state");ut(this,"stateLocale");ut(this,"parseState",t=>{const n={},o={};Object.entries(t).forEach(([r,i])=>{(i.persistent?n:o)[r]=i.value}),Object.assign(this,{state:new Nc(n).state,stateLocale:en(o)}),Object.entries(t).forEach(([r,i])=>{if(!i.watch)return;const s=i.persistent?this.state:this.stateLocale;Ar(()=>s[r],(c,f)=>{i.type==="number"&&(s[r]=Oc(c,f));const p=typeof i.watch=="boolean";if(p||s[i.watch]){const m=p?r:i.watch;this.notify({[m]:s[m]})}},{deep:!0})})});this.parseState(t)}subscribe(t){this.callbacks.push(t)}notify(t){this.callbacks.forEach(n=>n(t))}}const po={excludeFilter:[{type:"checkbox",model:"state.filterExclude",label:"exclude"},{type:"text",model:"state.filterExcludeWords",placeholder:"regexp: word, word1|word2, f:full_word..."}],includeFilter:[{type:"checkbox",model:"state.filterInclude",label:"include"},{type:"text",model:"state.filterIncludeWords",placeholder:"regexp: word, word1|word2, f:full_word..."}],infiniteScroll:[{type:"checkbox",model:"state.infiniteScrollEnabled",label:"infinite scroll"},{type:"span",innerText:"return `${stateLocale.pagIndexCur}/${stateLocale.pagIndexLast}`","v-if":"stateLocale.pagIndexLast > 1"}],durationFilter:[{type:"checkbox",model:"state.filterDuration",label:"duration"},{type:"number",model:"state.filterDurationFrom",step:"10",min:"0",max:"72000",labelBefore:"from"},{type:"number",model:"state.filterDurationTo",step:"10",min:"0",max:"72000",labelBefore:"to"}]},pi=e=>Object.entries(po).reduce((t,[n,o],r)=>(r===2&&Object.assign(t,e),Object.assign(t,{[n]:o}),t),{}),xc=pi({privateFilter:[{type:"checkbox",model:"state.filterPrivate",label:"private"},{type:"checkbox",model:"state.filterPublic",label:"public"}]}),hi=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},Dc={},Vc={class:"h-7 w-7 fill-gray-600 stroke-gray-400",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"{1.5}",stroke:"currentColor"},Sc=[bt("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.42 15.17 17.25 21A2.652 2.652 0 0 0 21 17.25l-5.877-5.877M11.42 15.17l2.496-3.03c.317-.384.74-.626 1.208-.766M11.42 15.17l-4.655 5.653a2.548 2.548 0 1 1-3.586-3.586l6.837-5.63m5.108-.233c.55-.164 1.163-.188 1.743-.14a4.5 4.5 0 0 0 4.486-6.336l-3.276 3.277a3.004 3.004 0 0 1-2.25-2.25l3.276-3.276a4.5 4.5 0 0 0-6.336 4.486c.091 1.076-.071 2.264-.904 2.95l-.102.085m-1.745 1.437L5.909 7.5H4.5L2.25 3.75l1.5-1.5L7.5 4.5v1.409l4.26 4.26m-1.745 1.437 1.745-1.437m6.615 8.206L15.75 15.75M4.867 19.125h.008v.008h-.008v-.008Z"},null,-1)];function Cc(e,t){return ee(),xe("svg",Vc,Sc)}const Tc=hi(Dc,[["render",Cc]]),Ic={},$c={class:"h-7 w-7 fill-gray-600 stroke-gray-400",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},Mc=[bt("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m9.75 9.75 4.5 4.5m0-4.5-4.5 4.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"},null,-1)];function Pc(e,t){return ee(),xe("svg",$c,Mc)}const Ac=hi(Ic,[["render",Pc]]),Fc=["for"],Lc=["for"],Rc=Kn({__name:"RowElement",props:{element:{},state:{},stateLocale:{}},setup(e){const t=e,{element:n,state:o,stateLocale:r}=t,{type:i,model:s,innerText:c,label:f,labelBefore:p,callback:m,...d}=n,N=/checkbox|text|number/.test(i),S=N?"input":i,$=N?i:"",I=N?s:(Math.random()*1e7|0).toString(16),ge={text:"w-full h-8 text-zinc-300 px-3 py-2 mx-2 rounded-sm bg-zinc-700 outline-none focus:outline-gray-600 hover:bg-zinc-600",checkbox:"mx-2 size-auto invert checked:invert-0 accent-gray-700",number:"w-24 h-8 text-zinc-300 rounded px-3 py-2 bg-gray-700 hover:bg-gray-600 outline-none focus:outline-gray-600",button:"mx-2 size-auto text-zinc-300 rounded px-3 py-2 bg-gray-700 hover:bg-gray-600 ml-auto",span:"text-zinc-300 ml-auto mr-4"},k=c!=null&&c.includes("return")?new Function("state","stateLocale",c)(o,r):c||"",K=new Function("state","stateLocale",`return ${s||""}`)(o,r),j=({target:{checked:W,value:G}})=>{if(!(s!=null&&s.startsWith("state")))return;const[be,M]=s.split("."),te=i==="checkbox"?W:G;console.log("change",te),t[be][M]=te};return(W,G)=>(ee(),xe(de,null,[Z(p)?(ee(),xe("label",{key:0,for:Z(I),class:"text-zinc-300 mx-2 font-mono"},pt(Z(p)),9,Fc)):ct("",!0),(ee(),Et(Rs(Z(S)),Kr({id:Z(I),type:Z($),class:ge[Z(i)],checked:!!Z(K),value:Z(K),onChange:j,onInput:j,onClick:Z(m)},d),{default:cr(()=>[Wr(pt(Z(k)),1)]),_:1},16,["id","type","class","checked","value","onClick"])),Z(f)?(ee(),xe("label",{key:1,for:Z(I),class:"text-zinc-300 flex font-mono"},pt(Z(f)),9,Lc)):ct("",!0)],64))}}),jc={class:"flex items-center bg-zinc-900 py-2 px-2 m-1 font-mono rounded"},Hc=Kn({__name:"Gen",props:{state:{},stateLocale:{},scheme:{}},setup(e){const{scheme:t,state:n,stateLocale:o}=e,r=Object.values(t);return(i,s)=>(ee(!0),xe(de,null,hr(Z(r),c=>(ee(),xe("div",jc,[(ee(!0),xe(de,null,hr(c,f=>(ee(),Et(Rc,{element:f,stateLocale:i.stateLocale,state:i.state},null,8,["element","stateLocale","state"]))),256))]))),256))}}),kc={class:"m-auto flex mono"},Uc={key:0,class:"px-3 py-2 mr-2 bg-gray-700 text-zinc-300 font-mono rounded"},Bc=Kn({__name:"App",props:{state:{},stateLocale:{},scheme:{}},setup(e){return(t,n)=>t.state.uiEnabled?(ee(),xe("div",{key:0,class:xt(["fixed bottom-0 right-0 z-9999 rounded bg-zinc-800 max-w-full p-2 m-2",t.state.hidden?"hover:bg-gray-600":""])},[bt("div",{class:xt(["flex items-center cursor-pointer py-1 px-2 m-1 rounded",t.state.hidden?"":"hover:bg-zinc-900"]),onClick:n[0]||(n[0]=o=>t.state.hidden=!t.state.hidden)},[bt("span",kc,[t.state.hidden&&t.stateLocale.pagIndexLast>1?(ee(),xe("span",Uc,pt(t.stateLocale.pagIndexCur)+"/"+pt(t.stateLocale.pagIndexLast),1)):ct("",!0),t.state.hidden?(ee(),Et(Tc,{key:1})):ct("",!0),t.state.hidden?ct("",!0):(ee(),Et(Ac,{key:2}))])],2),t.state.hidden?ct("",!0):(ee(),Et(Hc,{key:0,scheme:t.scheme,stateLocale:t.stateLocale,state:t.state},null,8,["scheme","stateLocale","state"]))],2)):ct("",!0)}});class Wc{constructor({state:t,stateLocale:n},o=po){const r=wc('<div id="tapermonkey-app" class="taper-class" style="position: relative; z-index: 999999;"></div>');document.body.appendChild(r),pc(Bc,{state:t,stateLocale:n,scheme:o}).mount("#tapermonkey-app")}}q.DefaultScheme=po,q.JabroniOutfitStore=vc,q.JabroniOutfitUI=Wc,q.defaultSchemeWithPrivateFilter=xc,q.defaultStateInclExclMiscPagination=ao,q.defaultStateWithDuration=di,q.defaultStateWithDurationAndPrivacy=yc,q.extendDefaultScheme=pi,Object.defineProperty(q,Symbol.toStringTag,{value:"Module"})});
|
|
14
|
+
Expected function or array of functions, received type ${typeof e}.`),ne)}function cc(e,t){if(C(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(o=>r=>!r._stopped&&o&&o(r))}else return t}const fi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,uc=(e,t,n,o,r,i)=>{const s=r==="svg";t==="class"?Gl(e,o,s):t==="style"?Xl(e,n,o):Ot(t)?Bt(t)||oc(e,t,n,o,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):fc(e,t,o,s))?(ec(e,t,o),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&si(e,t,o,s,i,t!=="value")):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),si(e,t,o,s))};function fc(e,t,n,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&fi(t)&&L(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return fi(t)&&z(n)?!1:t in e}const ac=J({patchProp:uc},Kl);let ai;function dc(){return ai||(ai=dl(ac))}const pc=(...e)=>{const t=dc().createApp(...e);Ke.NODE_ENV!=="production"&&(mc(t),gc(t));const{mount:n}=t;return t.mount=o=>{const r=_c(o);if(!r)return;const i=t._component;!L(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.innerHTML="";const s=n(r,!1,hc(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),s},t};function hc(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function mc(e){Object.defineProperty(e.config,"isNativeTag",{value:t=>Li(t)||Ri(t)||ji(t),writable:!1})}function gc(e){{const t=e.config.isCustomElement;Object.defineProperty(e.config,"isCustomElement",{get(){return t},set(){We("The `isCustomElement` config option is deprecated. Use `compilerOptions.isCustomElement` instead.")}});const n=e.config.compilerOptions,o='The `compilerOptions` config option is only respected when using a build of Vue.js that includes the runtime compiler (aka "full build"). Since you are using the runtime-only build, `compilerOptions` must be passed to `@vue/compiler-dom` in the build setup instead.\n- For vue-loader: pass it via vue-loader\'s `compilerOptions` loader option.\n- For vue-cli: see https://cli.vuejs.org/guide/webpack.html#modifying-options-of-a-loader\n- For vite: pass it via @vitejs/plugin-vue options. See https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue#example-for-passing-options-to-vuecompiler-sfc';Object.defineProperty(e.config,"compilerOptions",{get(){return We(o),n},set(){We(o)}})}}function _c(e){if(z(e)){const t=document.querySelector(e);return Ke.NODE_ENV!=="production"&&!t&&We(`Failed to mount app: mount target selector "${e}" returned null.`),t}return Ke.NODE_ENV!=="production"&&window.ShadowRoot&&e instanceof window.ShadowRoot&&e.mode==="closed"&&We('mounting on a ShadowRoot with `{mode: "closed"}` may lead to unpredictable bugs'),e}var Ec={};function bc(){Ul()}Ec.NODE_ENV!=="production"&&bc();class Nc{constructor(t,n="state_acephale"){ut(this,"state");ut(this,"trySetFromLocalStorage",()=>{const t=localStorage.getItem(this.key);if(t!==null){const n=JSON.parse(t);Object.assign(this.state,n)}});this.key=n,this.key=n,this.state=en(t),this.sync(),this.watchPersistence()}sync(){this.trySetFromLocalStorage(),window.addEventListener("focus",this.trySetFromLocalStorage)}watchPersistence(){Ar(this.state,t=>{this.saveToLocalStorage(this.key,t)})}saveToLocalStorage(t,n){localStorage.setItem(t,JSON.stringify(n))}}const Nt={EXCLUDE:{filterExclude:{value:!1,persistent:!0,watch:!0},filterExcludeWords:{value:"",persistent:!0,watch:"filterExclude"}},INCLUDE:{filterInclude:{value:!1,persistent:!0,watch:!0},filterIncludeWords:{value:"",persistent:!0,watch:"filterInclude"}},MISC:{infiniteScrollEnabled:{value:!0,persistent:!0,watch:!0},uiEnabled:{value:!0,persistent:!0,watch:!0}},DURATION_FILTER:{filterDuration:{value:!1,persistent:!0,watch:!0},filterDurationFrom:{value:0,type:"number",persistent:!0,watch:"filterDuration"},filterDurationTo:{value:600,type:"number",persistent:!0,watch:"filterDuration"}},PRIVACY_FILTER:{filterPrivate:{value:!1,persistent:!0,watch:!0},filterPublic:{value:!1,persistent:!0,watch:!0}},PAGINATION:{pagIndexLast:{value:1,persistent:!1,watch:!0},pagIndexCur:{value:1,persistent:!1,watch:!0}}},ao=Object.assign({},Nt.EXCLUDE,Nt.INCLUDE,Nt.MISC,Nt.PAGINATION),di=Object.assign({},ao,Nt.DURATION_FILTER),yc=Object.assign({},di,Nt.PRIVACY_FILTER);function Oc(e,t){return Number.isInteger(parseInt(e))?parseInt(e):t}function wc(e){const t=new DOMParser().parseFromString(e,"text/html").body;return t.children.length>1?t:t.firstElementChild}class vc{constructor(t=ao){ut(this,"callbacks",[]);ut(this,"state");ut(this,"stateLocale");ut(this,"parseState",t=>{const n={},o={};Object.entries(t).forEach(([r,i])=>{(i.persistent?n:o)[r]=i.value}),Object.assign(this,{state:new Nc(n).state,stateLocale:en(o)}),Object.entries(t).forEach(([r,i])=>{if(!i.watch)return;const s=i.persistent?this.state:this.stateLocale;Ar(()=>s[r],(c,f)=>{i.type==="number"&&(s[r]=Oc(c,f));const p=typeof i.watch=="boolean";if(p||s[i.watch]){const m=p?r:i.watch;this.notify({[m]:s[m]})}},{deep:!0})})});this.parseState(t)}subscribe(t){this.callbacks.push(t)}notify(t){this.callbacks.forEach(n=>n(t))}}const po={excludeFilter:[{type:"checkbox",model:"state.filterExclude",label:"exclude"},{type:"text",model:"state.filterExcludeWords",placeholder:"regexp: word, word1|word2, f:full_word..."}],includeFilter:[{type:"checkbox",model:"state.filterInclude",label:"include"},{type:"text",model:"state.filterIncludeWords",placeholder:"regexp: word, word1|word2, f:full_word..."}],infiniteScroll:[{type:"checkbox",model:"state.infiniteScrollEnabled",label:"infinite scroll"},{type:"span",innerText:"return `${stateLocale.pagIndexCur}/${stateLocale.pagIndexLast}`","v-if":"stateLocale.pagIndexLast > 1"}],durationFilter:[{type:"checkbox",model:"state.filterDuration",label:"duration"},{type:"number",model:"state.filterDurationFrom",step:"10",min:"0",max:"72000",labelBefore:"from"},{type:"number",model:"state.filterDurationTo",step:"10",min:"0",max:"72000",labelBefore:"to"}]},pi=e=>Object.entries(po).reduce((t,[n,o],r)=>(r===2&&Object.assign(t,e),Object.assign(t,{[n]:o}),t),{}),xc=pi({privateFilter:[{type:"checkbox",model:"state.filterPrivate",label:"private"},{type:"checkbox",model:"state.filterPublic",label:"public"}]}),hi=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},Dc={},Vc={class:"h-7 w-7 fill-gray-600 stroke-gray-400",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"{1.5}",stroke:"currentColor"},Sc=[bt("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.42 15.17 17.25 21A2.652 2.652 0 0 0 21 17.25l-5.877-5.877M11.42 15.17l2.496-3.03c.317-.384.74-.626 1.208-.766M11.42 15.17l-4.655 5.653a2.548 2.548 0 1 1-3.586-3.586l6.837-5.63m5.108-.233c.55-.164 1.163-.188 1.743-.14a4.5 4.5 0 0 0 4.486-6.336l-3.276 3.277a3.004 3.004 0 0 1-2.25-2.25l3.276-3.276a4.5 4.5 0 0 0-6.336 4.486c.091 1.076-.071 2.264-.904 2.95l-.102.085m-1.745 1.437L5.909 7.5H4.5L2.25 3.75l1.5-1.5L7.5 4.5v1.409l4.26 4.26m-1.745 1.437 1.745-1.437m6.615 8.206L15.75 15.75M4.867 19.125h.008v.008h-.008v-.008Z"},null,-1)];function Cc(e,t){return ee(),xe("svg",Vc,Sc)}const Tc=hi(Dc,[["render",Cc]]),Ic={},$c={class:"h-7 w-7 fill-gray-600 stroke-gray-400",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},Mc=[bt("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m9.75 9.75 4.5 4.5m0-4.5-4.5 4.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"},null,-1)];function Pc(e,t){return ee(),xe("svg",$c,Mc)}const Ac=hi(Ic,[["render",Pc]]),Fc=["for"],Lc=["for"],Rc=Kn({__name:"RowElement",props:{element:{},state:{},stateLocale:{}},setup(e){const t=e,{element:n,state:o,stateLocale:r}=t,{type:i,model:s,innerText:c,label:f,labelBefore:p,callback:m,...d}=n,N=/checkbox|text|number/.test(i),S=N?"input":i,$=N?i:"",I=N?s:(Math.random()*1e7|0).toString(16),ge={text:"w-full h-8 text-zinc-300 px-3 py-2 mx-2 rounded-sm bg-zinc-700 outline-none focus:outline-gray-600 hover:bg-zinc-600",checkbox:"mx-2 size-auto invert checked:invert-0 accent-gray-700",number:"w-24 h-8 text-zinc-300 rounded px-3 py-2 bg-gray-700 hover:bg-gray-600 outline-none focus:outline-gray-600",button:"mx-2 size-auto text-zinc-300 rounded px-3 py-2 bg-gray-700 hover:bg-gray-600 ml-auto",span:"text-zinc-300 ml-auto mr-4"},k=c!=null&&c.includes("return")?new Function("state","stateLocale",c)(o,r):c||"",K=new Function("state","stateLocale",`return ${s||""}`)(o,r),j=({target:{checked:W,value:G}})=>{if(!(s!=null&&s.startsWith("state")))return;const[be,M]=s.split("."),te=i==="checkbox"?W:G;console.log("change",te),t[be][M]=te};return(W,G)=>(ee(),xe(de,null,[Z(p)?(ee(),xe("label",{key:0,for:Z(I),class:"text-zinc-300 mx-2 font-mono"},pt(Z(p)),9,Fc)):ct("",!0),(ee(),Et(Rs(Z(S)),Kr({id:Z(I),type:Z($),class:ge[Z(i)],checked:!!Z(K),value:Z(K),onChange:j,onInput:j,onClick:Z(m)},d),{default:cr(()=>[Wr(pt(Z(k)),1)]),_:1},16,["id","type","class","checked","value","onClick"])),Z(f)?(ee(),xe("label",{key:1,for:Z(I),class:"text-zinc-300 flex font-mono"},pt(Z(f)),9,Lc)):ct("",!0)],64))}}),jc={class:"flex items-center bg-zinc-900 py-2 px-2 m-1 font-mono rounded"},Hc=Kn({__name:"Gen",props:{state:{},stateLocale:{},scheme:{}},setup(e){const{scheme:t,state:n,stateLocale:o}=e,r=Object.values(t);return(i,s)=>(ee(!0),xe(de,null,hr(Z(r),c=>(ee(),xe("div",jc,[(ee(!0),xe(de,null,hr(c,f=>(ee(),Et(Rc,{element:f,stateLocale:i.stateLocale,state:i.state},null,8,["element","stateLocale","state"]))),256))]))),256))}}),kc={class:"m-auto flex mono"},Uc={key:0,class:"px-3 py-2 mr-2 bg-gray-700 text-zinc-300 font-mono rounded"},Bc=Kn({__name:"App",props:{state:{},stateLocale:{},scheme:{}},setup(e){return(t,n)=>t.state.uiEnabled?(ee(),xe("div",{key:0,class:xt(["fixed bottom-0 right-0 z-9999 rounded bg-zinc-800 max-w-full p-2 m-2",t.state.hidden?"hover:bg-gray-600":""])},[bt("div",{class:xt(["flex items-center cursor-pointer py-1 px-2 m-1 rounded",t.state.hidden?"":"hover:bg-zinc-900"]),onClick:n[0]||(n[0]=o=>t.state.hidden=!t.state.hidden)},[bt("span",kc,[t.state.hidden&&t.stateLocale.pagIndexLast>1?(ee(),xe("span",Uc,pt(t.stateLocale.pagIndexCur)+"/"+pt(t.stateLocale.pagIndexLast),1)):ct("",!0),t.state.hidden?(ee(),Et(Tc,{key:1})):ct("",!0),t.state.hidden?ct("",!0):(ee(),Et(Ac,{key:2}))])],2),t.state.hidden?ct("",!0):(ee(),Et(Hc,{key:0,scheme:t.scheme,stateLocale:t.stateLocale,state:t.state},null,8,["scheme","stateLocale","state"]))],2)):ct("",!0)}});class Wc{constructor({state:t,stateLocale:n},o=po){const r=wc('<div id="tapermonkey-app" class="taper-class" style="position: relative; z-index: 999999;"></div>');document.body.appendChild(r),pc(Bc,{state:t,stateLocale:n,scheme:o}).mount("#tapermonkey-app")}}q.DefaultScheme=po,q.JabroniOutfitStore=vc,q.JabroniOutfitUI=Wc,q.defaultSchemeWithPrivateFilter=xc,q.defaultStateInclExclMiscPagination=ao,q.defaultStateWithDuration=di,q.defaultStateWithDurationAndPrivacy=yc,q.extendDefaultScheme=pi,Object.defineProperty(q,Symbol.toStringTag,{value:"Module"})});
|
package/index.html
CHANGED
|
@@ -11,10 +11,15 @@
|
|
|
11
11
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
12
12
|
<link href="https://fonts.googleapis.com/css2?family=VT323&display=swap" rel="stylesheet">
|
|
13
13
|
|
|
14
|
-
<!--
|
|
15
|
-
<
|
|
14
|
+
<!--
|
|
15
|
+
<link rel="stylesheet" href="./src/style.css">
|
|
16
|
+
<script type="module" src="./src/example.ts"></script>
|
|
17
|
+
|
|
18
|
+
-->
|
|
16
19
|
|
|
17
20
|
<!-- <script src="./dist/jabroni-outfit.umd.js"></script> -->
|
|
21
|
+
|
|
22
|
+
|
|
18
23
|
<style>
|
|
19
24
|
body {
|
|
20
25
|
background: linear-gradient(180deg, black, coral);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jabroni-outfit",
|
|
3
3
|
"description": "out-of-the-box gui and persistent-state library based on vue",
|
|
4
|
-
"version": "1.4.
|
|
4
|
+
"version": "1.4.2",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": ["gui", "tweaks", "ui", "persistent-state", "state-management"],
|
|
7
7
|
"author": "smartacephale atm.mormon@protonmail.com (https://github.com/smartacephale)",
|
|
@@ -31,12 +31,13 @@
|
|
|
31
31
|
"autoprefixer": "^10.4.20",
|
|
32
32
|
"postcss": "^8.4.41",
|
|
33
33
|
"tailwindcss": "^3.4.10",
|
|
34
|
+
"tailwindcss-scoped-preflight": "^3.4.3",
|
|
34
35
|
"typescript": "^5.5.3",
|
|
35
|
-
"vite": "^5.4.0"
|
|
36
|
-
"vite-plugin-singlefile": "^2.0.2"
|
|
36
|
+
"vite": "^5.4.0"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@vitejs/plugin-vue": "^5.1.2",
|
|
40
|
+
"billy-herrington-utils": "^1.1.1",
|
|
40
41
|
"vite-plugin-css-injected-by-js": "^3.5.1",
|
|
41
42
|
"vue": "^3.4.37",
|
|
42
43
|
"vue-tsc": "^2.0.29"
|
package/src/store/store.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { type Reactive, reactive, watch } from "vue";
|
|
|
2
2
|
import type { NotifyApply, RecordV, StateOption, StateOptions } from "./types";
|
|
3
3
|
import { PersistentState } from "./persistent-state";
|
|
4
4
|
import { defaultStateInclExclMiscPagination } from "./default-state";
|
|
5
|
-
import { parseIntegerOr } from "
|
|
5
|
+
import { parseIntegerOr } from "billy-herrington-utils";
|
|
6
6
|
|
|
7
7
|
export class JabroniOutfitStore {
|
|
8
8
|
private callbacks: (NotifyApply)[] = [];
|
package/src/ui/index.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { DefaultScheme } from "./default-scheme";
|
|
|
3
3
|
import type { Scheme } from "./types";
|
|
4
4
|
import type { JabroniOutfitStore } from "../store/store";
|
|
5
5
|
import App from "./vue-templates/App.vue"
|
|
6
|
-
import { parseDom } from "
|
|
6
|
+
import { parseDom } from "billy-herrington-utils";
|
|
7
7
|
|
|
8
8
|
export class JabroniOutfitUI {
|
|
9
9
|
constructor({ state, stateLocale }: JabroniOutfitStore, scheme: Scheme = DefaultScheme) {
|
|
@@ -12,37 +12,4 @@ export class JabroniOutfitUI {
|
|
|
12
12
|
const app = createApp(App, { state, stateLocale, scheme });
|
|
13
13
|
app.mount("#tapermonkey-app");
|
|
14
14
|
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export function GM_addStyle(css: string) {
|
|
18
|
-
const head = document.getElementsByTagName('head')[0];
|
|
19
|
-
if (!head) { return; }
|
|
20
|
-
const style = document.createElement('style');
|
|
21
|
-
style.type = 'text/css';
|
|
22
|
-
style.innerHTML = css.replace(/;/g, ' !important;');
|
|
23
|
-
head.appendChild(style);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
// const style_ = `#tapermonkey-app *,#tapermonkey-app :before,#tapermonkey-app :after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}#tapermonkey-app :before,#tapermonkey-app :after{--tw-content: ""}#tapermonkey-app html,#tapermonkey-app :host{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,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}#tapermonkey-app body{margin:0;line-height:inherit}#tapermonkey-app hr{height:0;color:inherit;border-top-width:1px}#tapermonkey-app abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}#tapermonkey-app h1,#tapermonkey-app h2,#tapermonkey-app h3,#tapermonkey-app h4,#tapermonkey-app h5,#tapermonkey-app h6{font-size:inherit;font-weight:inherit}#tapermonkey-app a{color:inherit;text-decoration:inherit}#tapermonkey-app b,#tapermonkey-app strong{font-weight:bolder}#tapermonkey-app code,#tapermonkey-app kbd,#tapermonkey-app samp,#tapermonkey-app pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}#tapermonkey-app small{font-size:80%}#tapermonkey-app sub,#tapermonkey-app sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}#tapermonkey-app sub{bottom:-.25em}#tapermonkey-app sup{top:-.5em}#tapermonkey-app table{text-indent:0;border-color:inherit;border-collapse:collapse}#tapermonkey-app button,#tapermonkey-app input,#tapermonkey-app optgroup,#tapermonkey-app select,#tapermonkey-app textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}#tapermonkey-app button,#tapermonkey-app select{text-transform:none}#tapermonkey-app button,#tapermonkey-app input:where([type=button]),#tapermonkey-app input:where([type=reset]),#tapermonkey-app input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}#tapermonkey-app :-moz-focusring{outline:auto}#tapermonkey-app :-moz-ui-invalid{box-shadow:none}#tapermonkey-app progress{vertical-align:baseline}#tapermonkey-app ::-webkit-inner-spin-button,#tapermonkey-app ::-webkit-outer-spin-button{height:auto}#tapermonkey-app [type=search]{-webkit-appearance:textfield;outline-offset:-2px}#tapermonkey-app ::-webkit-search-decoration{-webkit-appearance:none}#tapermonkey-app ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}#tapermonkey-app summary{display:list-item}#tapermonkey-app blockquote,#tapermonkey-app dl,#tapermonkey-app dd,#tapermonkey-app h1,#tapermonkey-app h2,#tapermonkey-app h3,#tapermonkey-app h4,#tapermonkey-app h5,#tapermonkey-app h6,#tapermonkey-app hr,#tapermonkey-app figure,#tapermonkey-app p,#tapermonkey-app pre{margin:0}#tapermonkey-app fieldset{margin:0;padding:0}#tapermonkey-app legend{padding:0}#tapermonkey-app ol,#tapermonkey-app ul,#tapermonkey-app menu{list-style:none;margin:0;padding:0}#tapermonkey-app dialog{padding:0}#tapermonkey-app textarea{resize:vertical}#tapermonkey-app input::-moz-placeholder,#tapermonkey-app textarea::-moz-placeholder{opacity:1;color:#9ca3af}#tapermonkey-app input::placeholder,#tapermonkey-app textarea::placeholder{opacity:1;color:#9ca3af}#tapermonkey-app button,#tapermonkey-app [role=button]{cursor:pointer}#tapermonkey-app :disabled{cursor:default}#tapermonkey-app img,#tapermonkey-app svg,#tapermonkey-app video,#tapermonkey-app canvas,#tapermonkey-app audio,#tapermonkey-app iframe,#tapermonkey-app embed,#tapermonkey-app object{display:block;vertical-align:middle}#tapermonkey-app img,#tapermonkey-app video{max-width:100%;height:auto}#tapermonkey-app [hidden]{display:none}#tapermonkey-app *,#tapermonkey-app :before,#tapermonkey-app :after{--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-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--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: rgb(59 130 246 / .5);--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: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }#tapermonkey-app ::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-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--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: rgb(59 130 246 / .5);--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: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }#tapermonkey-app .fixed{position:fixed}#tapermonkey-app .bottom-0{bottom:0}#tapermonkey-app .right-0{right:0}#tapermonkey-app .m-1{margin:.25rem}#tapermonkey-app .m-2{margin:.5rem}#tapermonkey-app .m-auto{margin:auto}#tapermonkey-app .mx-2{margin-left:.5rem;margin-right:.5rem}#tapermonkey-app .ml-2{margin-left:.5rem}#tapermonkey-app .ml-auto{margin-left:auto}#tapermonkey-app .mr-2{margin-right:.5rem}#tapermonkey-app .mr-4{margin-right:1rem}#tapermonkey-app .inline-block{display:inline-block}#tapermonkey-app .flex{display:flex}#tapermonkey-app .hidden{display:none}#tapermonkey-app .size-auto{width:auto;height:auto}#tapermonkey-app .h-7{height:1.75rem}#tapermonkey-app .h-8{height:2rem}#tapermonkey-app .w-24{width:6rem}#tapermonkey-app .w-7{width:1.75rem}#tapermonkey-app .w-full{width:100%}#tapermonkey-app .max-w-full{max-width:100%}#tapermonkey-app .cursor-pointer{cursor:pointer}#tapermonkey-app .items-center{align-items:center}#tapermonkey-app .rounded{border-radius:.25rem}#tapermonkey-app .rounded-sm{border-radius:.125rem}#tapermonkey-app .bg-gray-700{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}#tapermonkey-app .bg-zinc-700{--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity))}#tapermonkey-app .bg-zinc-800{--tw-bg-opacity: 1;background-color:rgb(39 39 42 / var(--tw-bg-opacity))}#tapermonkey-app .bg-zinc-900{--tw-bg-opacity: 1;background-color:rgb(24 24 27 / var(--tw-bg-opacity))}#tapermonkey-app .fill-gray-600{fill:#4b5563}#tapermonkey-app .stroke-gray-400{stroke:#9ca3af}#tapermonkey-app .p-2{padding:.5rem}#tapermonkey-app .px-2{padding-left:.5rem;padding-right:.5rem}#tapermonkey-app .px-3{padding-left:.75rem;padding-right:.75rem}#tapermonkey-app .py-1{padding-top:.25rem;padding-bottom:.25rem}#tapermonkey-app .py-2{padding-top:.5rem;padding-bottom:.5rem}#tapermonkey-app .font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}#tapermonkey-app .text-zinc-300{--tw-text-opacity: 1;color:rgb(212 212 216 / var(--tw-text-opacity))}#tapermonkey-app .accent-gray-700{accent-color:#374151}#tapermonkey-app .outline-none{outline:2px solid transparent;outline-offset:2px}#tapermonkey-app .invert{--tw-invert: invert(100%);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)}.checked\:invert-0:checked{--tw-invert: invert(0);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)}.hover\:bg-gray-600:hover{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.hover\:bg-zinc-600:hover{--tw-bg-opacity: 1;background-color:rgb(82 82 91 / var(--tw-bg-opacity))}.hover\:bg-zinc-900:hover{--tw-bg-opacity: 1;background-color:rgb(24 24 27 / var(--tw-bg-opacity))}.focus\:outline-gray-600:focus{outline-color:#4b5563}`;
|
|
27
|
-
// GM_addStyle(style_);
|
|
28
|
-
|
|
29
|
-
// GM_addStyle(`
|
|
30
|
-
// #tapermonkey-app input, #tapermonkey-app button { color: rgb(212,212,216); }
|
|
31
|
-
// #tapermonkey-app input::placeholder { color: #9ca3af; }
|
|
32
|
-
// #tapermonkey-app button { background-color: rgb(55, 65, 81); }
|
|
33
|
-
// #tapermonkey-app input[type="checkbox"] { margin-right: .5rem; }
|
|
34
|
-
// #tapermonkey-app .flex.items-center:first-child:hover { background: #3741512b; }
|
|
35
|
-
// #tapermonkey-app input[type="text"]:hover { background: #52525b; }
|
|
36
|
-
// #tapermonkey-app input[type="number"]:hover { background: #4b5563; }
|
|
37
|
-
// #tapermonkey-app button:hover { background: #4b5563; }`);
|
|
38
|
-
|
|
39
|
-
// export const componentStyles = {
|
|
40
|
-
// container: "flex items-center bg-zinc-900 py-2 px-2 m-1 font-mono rounded",
|
|
41
|
-
// text: "w-full h-8 text-zinc-300 px-3 py-2 mx-2 rounded-sm bg-zinc-700 outline-none focus:outline-gray-600 hover:bg-zinc-600",
|
|
42
|
-
// checkbox: "mx-2 size-auto invert checked:invert-0 accent-gray-700",
|
|
43
|
-
// number: "w-24 h-8 text-zinc-300 rounded px-3 py-2 bg-gray-700 hover:bg-gray-600 outline-none focus:outline-gray-600",
|
|
44
|
-
// button: "mx-2 size-auto text-zinc-300 rounded px-3 py-2 bg-gray-700 hover:bg-gray-600 ml-auto",
|
|
45
|
-
// span: "text-zinc-300 ml-auto mr-4",
|
|
46
|
-
// label: "text-zinc-300 flex font-mono",
|
|
47
|
-
// labelBefore: "text-zinc-300 mx-2 font-mono",
|
|
48
|
-
// }
|
|
15
|
+
}
|
package/tailwind.config.js
CHANGED
|
@@ -1,15 +1,18 @@
|
|
|
1
|
+
import { scopedPreflightStyles, isolateInsideOfContainer } from 'tailwindcss-scoped-preflight';
|
|
1
2
|
|
|
2
3
|
/** @type {import('tailwindcss').Config} */
|
|
3
4
|
export default {
|
|
4
5
|
content: [
|
|
5
6
|
"./index.html",
|
|
6
|
-
"./src/**/*.{js,ts,jsx,tsx}",
|
|
7
|
+
"./src/**/*.{js,ts,jsx,tsx,vue}",
|
|
7
8
|
],
|
|
8
|
-
// prefix: "twww-",
|
|
9
9
|
theme: {
|
|
10
10
|
extend: {},
|
|
11
11
|
},
|
|
12
12
|
plugins: [
|
|
13
|
+
scopedPreflightStyles({
|
|
14
|
+
isolationStrategy: isolateInsideOfContainer('.taper-class'),
|
|
15
|
+
}),
|
|
13
16
|
],
|
|
14
17
|
important: '.taper-class',
|
|
15
18
|
}
|
package/vite.config.js
CHANGED
|
@@ -2,7 +2,6 @@ import path from "node:path";
|
|
|
2
2
|
import { defineConfig } from "vite";
|
|
3
3
|
import vue from '@vitejs/plugin-vue'
|
|
4
4
|
import tailwindcss from 'tailwindcss';
|
|
5
|
-
// import { viteSingleFile } from "vite-plugin-singlefile"
|
|
6
5
|
import cssInjectedByJsPlugin from 'vite-plugin-css-injected-by-js'
|
|
7
6
|
|
|
8
7
|
export default ({ mode }) => {
|
package/src/utils/index.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export function parseIntegerOr(n: string, or: number) {
|
|
2
|
-
return Number.isInteger(Number.parseInt(n)) ? Number.parseInt(n) : or;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
// export function GM_addStyle(css: string) {
|
|
6
|
-
// const head = document.getElementsByTagName('head')[0];
|
|
7
|
-
// if (!head) { return; }
|
|
8
|
-
// const style = document.createElement('style');
|
|
9
|
-
// style.type = 'text/css';
|
|
10
|
-
// style.innerHTML = css.replace(/;/g, ' !important;');
|
|
11
|
-
// head.appendChild(style);
|
|
12
|
-
// }
|
|
13
|
-
|
|
14
|
-
export function parseDom(html: string): HTMLElement {
|
|
15
|
-
const parsed = new DOMParser().parseFromString(html, 'text/html').body;
|
|
16
|
-
return parsed.children.length > 1 ? parsed : parsed.firstElementChild as HTMLElement;
|
|
17
|
-
}
|