@devframes/plugin-messages 0.0.1
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/LICENSE.md +21 -0
- package/README.md +49 -0
- package/bin.mjs +13 -0
- package/dist/cli.d.mts +12 -0
- package/dist/cli.mjs +14 -0
- package/dist/client/index.d.mts +21619 -0
- package/dist/client/index.mjs +4479 -0
- package/dist/constants.d.mts +14 -0
- package/dist/constants.mjs +14 -0
- package/dist/index.d.mts +41 -0
- package/dist/index.mjs +3 -0
- package/dist/node/index.d.mts +16 -0
- package/dist/node/index.mjs +3 -0
- package/dist/node-CatHJRC8.mjs +43 -0
- package/dist/rpc/index.d.mts +87 -0
- package/dist/rpc/index.mjs +2 -0
- package/dist/rpc-DmXPM8sl.mjs +115 -0
- package/dist/spa/assets/index-Bw3UENMO.js +2 -0
- package/dist/spa/assets/index-LJ-gjktr.css +1 -0
- package/dist/spa/index.html +17 -0
- package/dist/src-CY7M8Mzi.mjs +50 -0
- package/dist/types.d.mts +2 -0
- package/dist/types.mjs +1 -0
- package/dist/vite.d.mts +12 -0
- package/dist/vite.mjs +14 -0
- package/package.json +87 -0
|
@@ -0,0 +1,4479 @@
|
|
|
1
|
+
(function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--un-bg-opacity:100%;--un-border-opacity:100%;--un-text-opacity:100%;--un-ease:initial;--un-space-y-reverse:initial;--un-leading:initial}}@property --un-text-opacity{syntax:"<percentage>";inherits:false;initial-value:100%}@property --un-leading{syntax:"*";inherits:false}@property --un-border-opacity{syntax:"<percentage>";inherits:false;initial-value:100%}@property --un-bg-opacity{syntax:"<percentage>";inherits:false;initial-value:100%}@property --un-inset-ring-color{syntax:"*";inherits:false}@property --un-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --un-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --un-inset-shadow-color{syntax:"*";inherits:false}@property --un-ring-color{syntax:"*";inherits:false}@property --un-ring-inset{syntax:"*";inherits:false}@property --un-ring-offset-color{syntax:"*";inherits:false}@property --un-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --un-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --un-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --un-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --un-shadow-color{syntax:"*";inherits:false}@property --un-ease{syntax:"*";inherits:false}@property --un-blur{syntax:"*";inherits:false}@property --un-brightness{syntax:"*";inherits:false}@property --un-contrast{syntax:"*";inherits:false}@property --un-drop-shadow{syntax:"*";inherits:false}@property --un-grayscale{syntax:"*";inherits:false}@property --un-hue-rotate{syntax:"*";inherits:false}@property --un-invert{syntax:"*";inherits:false}@property --un-saturate{syntax:"*";inherits:false}@property --un-sepia{syntax:"*";inherits:false}@property --un-backdrop-blur{syntax:"*";inherits:false}@property --un-backdrop-brightness{syntax:"*";inherits:false}@property --un-backdrop-contrast{syntax:"*";inherits:false}@property --un-backdrop-grayscale{syntax:"*";inherits:false}@property --un-backdrop-hue-rotate{syntax:"*";inherits:false}@property --un-backdrop-invert{syntax:"*";inherits:false}@property --un-backdrop-opacity{syntax:"*";inherits:false}@property --un-backdrop-saturate{syntax:"*";inherits:false}@property --un-backdrop-sepia{syntax:"*";inherits:false}@property --un-space-y-reverse{syntax:"*";inherits:false;initial-value:0}:root,:host{--radius-md:.375rem;--spacing:.25rem;--colors-white:#fff;--text-xs-fontSize:.75rem;--text-xs-lineHeight:1rem;--colors-neutral-800:oklch(26.9% 0 0);--colors-neutral-200:oklch(92.2% 0 0);--font-sans:DM Sans,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--fontWeight-semibold:600;--font-mono:DM Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--default-transition-timingFunction:cubic-bezier(.4, 0, .2, 1);--default-transition-duration:.15s;--radius-DEFAULT:.25rem;--fontWeight-medium:500;--colors-gray-DEFAULT:oklch(70.7% .022 261.325);--ease-DEFAULT:cubic-bezier(.4, 0, .2, 1);--colors-amber-DEFAULT:oklch(82.8% .189 84.429);--colors-blue-DEFAULT:oklch(70.7% .165 254.624);--colors-red-DEFAULT:oklch(70.4% .191 22.216);--colors-green-DEFAULT:oklch(79.2% .209 151.711);--colors-green-800:oklch(44.8% .119 151.328);--colors-amber-800:oklch(47.3% .137 46.201);--text-sm-fontSize:.875rem;--text-sm-lineHeight:1.25rem;--text-base-fontSize:1rem;--text-base-lineHeight:1.5rem;--text-lg-fontSize:1.125rem;--text-lg-lineHeight:1.75rem;--colors-green-200:oklch(92.5% .084 155.995);--colors-amber-200:oklch(92.4% .12 95.746);--colors-primary-600:#40704b;--leading-none:1;--colors-neutral-600:oklch(43.9% 0 0);--colors-primary-300:#93c69d;--colors-neutral-400:oklch(70.8% 0 0);--colors-primary-400:#75a67e;--default-font-family:var(--font-sans);--default-monoFont-family:var(--font-mono)}*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-featureSettings,normal);font-variation-settings:var(--default-font-variationSettings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-monoFont-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-monoFont-featureSettings,normal);font-variation-settings:var(--default-monoFont-variationSettings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden~=until-found])){display:none!important}*,:before,:after{border-color:#8882}.i-ph-notification-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M224 60a28 28 0 1 1-28-28a28 28 0 0 1 28 28' opacity='.2'/%3E%3Cpath d='M216 128v80a16 16 0 0 1-16 16H48a16 16 0 0 1-16-16V56a16 16 0 0 1 16-16h80a8 8 0 0 1 0 16H48v152h152v-80a8 8 0 0 1 16 0m16-68a36 36 0 1 1-36-36a36 36 0 0 1 36 36m-16 0a20 20 0 1 0-20 20a20 20 0 0 0 20-20'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;color:inherit;background-color:currentColor;width:1.11em;height:1.11em;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ph-trash-duotone,.i-ph\\:trash-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M200 56v152a8 8 0 0 1-8 8H64a8 8 0 0 1-8-8V56Z' opacity='.2'/%3E%3Cpath d='M216 48h-40v-8a24 24 0 0 0-24-24h-48a24 24 0 0 0-24 24v8H40a8 8 0 0 0 0 16h8v144a16 16 0 0 0 16 16h128a16 16 0 0 0 16-16V64h8a8 8 0 0 0 0-16M96 40a8 8 0 0 1 8-8h48a8 8 0 0 1 8 8v8H96Zm96 168H64V64h128Zm-80-104v64a8 8 0 0 1-16 0v-64a8 8 0 0 1 16 0m48 0v64a8 8 0 0 1-16 0v-64a8 8 0 0 1 16 0'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;color:inherit;background-color:currentColor;width:1.11em;height:1.11em;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ph-x{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M205.66 194.34a8 8 0 0 1-11.32 11.32L128 139.31l-66.34 66.35a8 8 0 0 1-11.32-11.32L116.69 128L50.34 61.66a8 8 0 0 1 11.32-11.32L128 116.69l66.34-66.35a8 8 0 0 1 11.32 11.32L139.31 128Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;color:inherit;background-color:currentColor;width:1.11em;height:1.11em;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ph\\:bell-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M208 192H48a8 8 0 0 1-6.88-12C47.71 168.6 56 139.81 56 104a72 72 0 0 1 144 0c0 35.82 8.3 64.6 14.9 76a8 8 0 0 1-6.9 12' opacity='.2'/%3E%3Cpath d='M221.8 175.94c-5.55-9.56-13.8-36.61-13.8-71.94a80 80 0 1 0-160 0c0 35.34-8.26 62.38-13.81 71.94A16 16 0 0 0 48 200h40.81a40 40 0 0 0 78.38 0H208a16 16 0 0 0 13.8-24.06M128 216a24 24 0 0 1-22.62-16h45.24A24 24 0 0 1 128 216m-80-32c7.7-13.24 16-43.92 16-80a64 64 0 1 1 128 0c0 36.05 8.28 66.73 16 80Z'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;color:inherit;background-color:currentColor;width:1.11em;height:1.11em;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ph\\:bell-slash-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M208 192H48a8 8 0 0 1-6.88-12C47.71 168.6 56 139.81 56 104a72 72 0 0 1 144 0c0 35.82 8.3 64.6 14.9 76a8 8 0 0 1-6.9 12' opacity='.2'/%3E%3Cpath d='M53.92 34.62a8 8 0 1 0-11.84 10.76L58.82 63.8A79.6 79.6 0 0 0 48 104c0 35.34-8.26 62.38-13.81 71.94A16 16 0 0 0 48 200h40.8a40 40 0 0 0 78.4 0h15.44l19.44 21.38a8 8 0 1 0 11.84-10.76ZM128 216a24 24 0 0 1-22.62-16h45.24A24 24 0 0 1 128 216m-80-32c7.7-13.24 16-43.92 16-80a63.65 63.65 0 0 1 6.26-27.62L168.09 184Zm166-4.73a8.1 8.1 0 0 1-2.93.55a8 8 0 0 1-7.44-5.08C196.35 156.19 192 129.75 192 104a64 64 0 0 0-95.57-55.69a8 8 0 0 1-7.9-13.91A80 80 0 0 1 208 104c0 35.35 8.05 58.59 10.52 64.88a8 8 0 0 1-4.52 10.37Z'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;color:inherit;background-color:currentColor;width:1.11em;height:1.11em;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ph\\:bug-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M208 128v16a80 80 0 0 1-160 0v-16Z' opacity='.2'/%3E%3Cpath d='M144 92a12 12 0 1 1 12 12a12 12 0 0 1-12-12m-44-12a12 12 0 1 0 12 12a12 12 0 0 0-12-12m116 64a87.8 87.8 0 0 1-3 23l22.24 9.72A8 8 0 0 1 232 192a7.9 7.9 0 0 1-3.2-.67L207.38 182a88 88 0 0 1-158.76 0l-21.42 9.33a7.9 7.9 0 0 1-3.2.67a8 8 0 0 1-3.2-15.33L43 167a87.8 87.8 0 0 1-3-23v-8H16a8 8 0 0 1 0-16h24v-8a87.8 87.8 0 0 1 3-23l-22.2-9.67a8 8 0 1 1 6.4-14.66L48.62 74a88 88 0 0 1 158.76 0l21.42-9.36a8 8 0 0 1 6.4 14.66L213 89.05a87.8 87.8 0 0 1 3 23v8h24a8 8 0 0 1 0 16h-24ZM56 120h144v-8a72 72 0 0 0-144 0Zm64 95.54V136H56v8a72.08 72.08 0 0 0 64 71.54M200 144v-8h-64v79.54A72.08 72.08 0 0 0 200 144'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;color:inherit;background-color:currentColor;width:1.11em;height:1.11em;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ph\\:check{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m229.66 77.66l-128 128a8 8 0 0 1-11.32 0l-56-56a8 8 0 0 1 11.32-11.32L96 188.69L218.34 66.34a8 8 0 0 1 11.32 11.32'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;color:inherit;background-color:currentColor;width:1.11em;height:1.11em;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ph\\:check-circle-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M224 128a96 96 0 1 1-96-96a96 96 0 0 1 96 96' opacity='.2'/%3E%3Cpath d='M173.66 98.34a8 8 0 0 1 0 11.32l-56 56a8 8 0 0 1-11.32 0l-24-24a8 8 0 0 1 11.32-11.32L112 148.69l50.34-50.35a8 8 0 0 1 11.32 0M232 128A104 104 0 1 1 128 24a104.11 104.11 0 0 1 104 104m-16 0a88 88 0 1 0-88 88a88.1 88.1 0 0 0 88-88'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;color:inherit;background-color:currentColor;width:1.11em;height:1.11em;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ph\\:copy{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M216 32H88a8 8 0 0 0-8 8v40H40a8 8 0 0 0-8 8v128a8 8 0 0 0 8 8h128a8 8 0 0 0 8-8v-40h40a8 8 0 0 0 8-8V40a8 8 0 0 0-8-8m-56 176H48V96h112Zm48-48h-32V88a8 8 0 0 0-8-8H96V48h112Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;color:inherit;background-color:currentColor;width:1.11em;height:1.11em;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ph\\:file-code-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M208 88h-56V32Z' opacity='.2'/%3E%3Cpath d='M181.66 146.34a8 8 0 0 1 0 11.32l-24 24a8 8 0 0 1-11.32-11.32L164.69 152l-18.35-18.34a8 8 0 0 1 11.32-11.32Zm-72-24a8 8 0 0 0-11.32 0l-24 24a8 8 0 0 0 0 11.32l24 24a8 8 0 0 0 11.32-11.32L91.31 152l18.35-18.34a8 8 0 0 0 0-11.32M216 88v128a16 16 0 0 1-16 16H56a16 16 0 0 1-16-16V40a16 16 0 0 1 16-16h96a8 8 0 0 1 5.66 2.34l56 56A8 8 0 0 1 216 88m-56-8h28.69L160 51.31Zm40 136V96h-48a8 8 0 0 1-8-8V40H56v176z'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;color:inherit;background-color:currentColor;width:1.11em;height:1.11em;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ph\\:funnel-x-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M221.9 61.38L152 136v58.65a8 8 0 0 1-3.56 6.66l-32 21.33A8 8 0 0 1 104 216v-80L34.1 61.38A8 8 0 0 1 40 48h176a8 8 0 0 1 5.9 13.38' opacity='.2'/%3E%3Cpath d='M227.82 66.76A16 16 0 0 0 216 40H40a16 16 0 0 0-11.81 26.76l.08.09L96 139.17V216a16 16 0 0 0 24.87 13.32l32-21.34a16 16 0 0 0 7.13-13.32v-55.49l67.73-72.32Zm-81.63 63.83A8 8 0 0 0 144 136v58.66L112 216v-80a8 8 0 0 0-2.16-5.46L40 56h176Zm99.49 79.81a8 8 0 0 1-11.32 11.32L216 203.32l-18.34 18.35a8 8 0 0 1-11.31-11.32L204.69 192l-18.34-18.35a8 8 0 0 1 11.31-11.31L216 180.69l18.34-18.34a8 8 0 0 1 11.32 11.31L227.31 192Z'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;color:inherit;background-color:currentColor;width:1.11em;height:1.11em;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ph\\:globe-simple-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M224 128a96 96 0 1 1-96-96a96 96 0 0 1 96 96' opacity='.2'/%3E%3Cpath d='M128 24a104 104 0 1 0 104 104A104.12 104.12 0 0 0 128 24m87.62 96h-39.83c-1.79-36.51-15.85-62.33-27.38-77.6a88.19 88.19 0 0 1 67.22 77.6ZM96.23 136h63.54c-2.31 41.61-22.23 67.11-31.77 77c-9.55-9.9-29.46-35.4-31.77-77m0-16c2.31-41.61 22.23-67.11 31.77-77c9.55 9.93 29.46 35.43 31.77 77Zm11.36-77.6C96.06 57.67 82 83.49 80.21 120H40.37a88.19 88.19 0 0 1 67.22-77.6M40.37 136h39.84c1.82 36.51 15.85 62.33 27.38 77.6A88.19 88.19 0 0 1 40.37 136m108 77.6c11.53-15.27 25.56-41.09 27.38-77.6h39.84a88.19 88.19 0 0 1-67.18 77.6Z'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;color:inherit;background-color:currentColor;width:1.11em;height:1.11em;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ph\\:hexagon-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M224 80.18v95.64a8 8 0 0 1-4.16 7l-88 48.18a8 8 0 0 1-7.68 0l-88-48.18a8 8 0 0 1-4.16-7V80.18a8 8 0 0 1 4.16-7l88-48.18a8 8 0 0 1 7.68 0l88 48.18a8 8 0 0 1 4.16 7' opacity='.2'/%3E%3Cpath d='m223.68 66.15l-88-48.15a15.88 15.88 0 0 0-15.36 0l-88 48.17a16 16 0 0 0-8.32 14v95.64a16 16 0 0 0 8.32 14l88 48.17a15.88 15.88 0 0 0 15.36 0l88-48.17a16 16 0 0 0 8.32-14V80.18a16 16 0 0 0-8.32-14.03M216 175.82L128 224l-88-48.18V80.18L128 32l88 48.17Z'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;color:inherit;background-color:currentColor;width:1.11em;height:1.11em;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ph\\:info-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M224 128a96 96 0 1 1-96-96a96 96 0 0 1 96 96' opacity='.2'/%3E%3Cpath d='M144 176a8 8 0 0 1-8 8a16 16 0 0 1-16-16v-40a8 8 0 0 1 0-16a16 16 0 0 1 16 16v40a8 8 0 0 1 8 8m88-48A104 104 0 1 1 128 24a104.11 104.11 0 0 1 104 104m-16 0a88 88 0 1 0-88 88a88.1 88.1 0 0 0 88-88m-92-32a12 12 0 1 0-12-12a12 12 0 0 0 12 12'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;color:inherit;background-color:currentColor;width:1.11em;height:1.11em;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ph\\:sort-ascending-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M224 80v88l-24 24H48V64h160a16 16 0 0 1 16 16' opacity='.2'/%3E%3Cpath d='M128 128a8 8 0 0 1-8 8H48a8 8 0 0 1 0-16h72a8 8 0 0 1 8 8M48 72h136a8 8 0 0 0 0-16H48a8 8 0 0 0 0 16m56 112H48a8 8 0 0 0 0 16h56a8 8 0 0 0 0-16m125.66-21.66a8 8 0 0 0-11.32 0L192 188.69V112a8 8 0 0 0-16 0v76.69l-26.34-26.35a8 8 0 0 0-11.32 11.32l40 40a8 8 0 0 0 11.32 0l40-40a8 8 0 0 0 0-11.32'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;color:inherit;background-color:currentColor;width:1.11em;height:1.11em;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ph\\:sort-descending-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M224 88v88a16 16 0 0 1-16 16H48V64h152Z' opacity='.2'/%3E%3Cpath d='M40 128a8 8 0 0 1 8-8h72a8 8 0 0 1 0 16H48a8 8 0 0 1-8-8m8-56h56a8 8 0 0 0 0-16H48a8 8 0 0 0 0 16m136 112H48a8 8 0 0 0 0 16h136a8 8 0 0 0 0-16m45.66-101.66l-40-40a8 8 0 0 0-11.32 0l-40 40a8 8 0 0 0 11.32 11.32L176 67.31V144a8 8 0 0 0 16 0V67.31l26.34 26.35a8 8 0 0 0 11.32-11.32'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;color:inherit;background-color:currentColor;width:1.11em;height:1.11em;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ph\\:timer-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M216 136a88 88 0 1 1-88-88a88 88 0 0 1 88 88' opacity='.2'/%3E%3Cpath d='M128 40a96 96 0 1 0 96 96a96.11 96.11 0 0 0-96-96m0 176a80 80 0 1 1 80-80a80.09 80.09 0 0 1-80 80m45.66-125.66a8 8 0 0 1 0 11.32l-40 40a8 8 0 0 1-11.32-11.32l40-40a8 8 0 0 1 11.32 0M96 16a8 8 0 0 1 8-8h48a8 8 0 0 1 0 16h-48a8 8 0 0 1-8-8'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;color:inherit;background-color:currentColor;width:1.11em;height:1.11em;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ph\\:warning-diamond-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='m229.67 133.62l-96 96a7.94 7.94 0 0 1-11.24 0l-96-96a7.94 7.94 0 0 1 0-11.24l96.05-96a7.94 7.94 0 0 1 11.24 0l96 96.05a7.94 7.94 0 0 1-.05 11.19' opacity='.2'/%3E%3Cpath d='M128 72a8 8 0 0 1 8 8v56a8 8 0 0 1-16 0V80a8 8 0 0 1 8-8m-12 100a12 12 0 1 0 12-12a12 12 0 0 0-12 12m124-44a15.85 15.85 0 0 1-4.67 11.28l-96.05 96.06a16 16 0 0 1-22.56 0l-96-96.06a16 16 0 0 1 0-22.56l96.05-96.06a16 16 0 0 1 22.56 0l96.05 96.06A15.85 15.85 0 0 1 240 128m-16 0l-96-96l-96 96l96 96Z'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;color:inherit;background-color:currentColor;width:1.11em;height:1.11em;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ph\\:warning-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M215.46 216H40.54c-12.62 0-20.54-13.21-14.41-23.91l87.46-151.87c6.3-11 22.52-11 28.82 0l87.46 151.87c6.13 10.7-1.79 23.91-14.41 23.91' opacity='.2'/%3E%3Cpath d='M236.8 188.09L149.35 36.22a24.76 24.76 0 0 0-42.7 0L19.2 188.09a23.51 23.51 0 0 0 0 23.72A24.35 24.35 0 0 0 40.55 224h174.9a24.35 24.35 0 0 0 21.33-12.19a23.51 23.51 0 0 0 .02-23.72m-13.87 15.71a8.5 8.5 0 0 1-7.48 4.2H40.55a8.5 8.5 0 0 1-7.48-4.2a7.59 7.59 0 0 1 0-7.72l87.45-151.87a8.75 8.75 0 0 1 15 0l87.45 151.87a7.59 7.59 0 0 1-.04 7.72M120 144v-40a8 8 0 0 1 16 0v40a8 8 0 0 1-16 0m20 36a12 12 0 1 1-12-12a12 12 0 0 1 12 12'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;color:inherit;background-color:currentColor;width:1.11em;height:1.11em;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ph\\:x-circle-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M224 128a96 96 0 1 1-96-96a96 96 0 0 1 96 96' opacity='.2'/%3E%3Cpath d='M165.66 101.66L139.31 128l26.35 26.34a8 8 0 0 1-11.32 11.32L128 139.31l-26.34 26.35a8 8 0 0 1-11.32-11.32L116.69 128l-26.35-26.34a8 8 0 0 1 11.32-11.32L128 116.69l26.34-26.35a8 8 0 0 1 11.32 11.32M232 128A104 104 0 1 1 128 24a104.11 104.11 0 0 1 104 104m-16 0a88 88 0 1 0-88 88a88.1 88.1 0 0 0 88-88'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;color:inherit;background-color:currentColor;width:1.11em;height:1.11em;-webkit-mask-size:100% 100%;mask-size:100% 100%}.badge-muted{font-size:var(--text-xs-fontSize);line-height:var(--un-leading,var(--text-xs-lineHeight));color:color-mix(in srgb, var(--colors-neutral-600) var(--un-text-opacity), transparent) ;--un-leading:var(--leading-none);line-height:var(--leading-none);--un-font-weight:var(--fontWeight-medium);font-weight:var(--fontWeight-medium);padding-inline:calc(var(--spacing) * 1.5);padding-block:calc(var(--spacing) * .5);border-radius:var(--radius-md);background-color:color-mix(in oklab, #8881 var(--un-bg-opacity), transparent) ;gap:calc(var(--spacing) * 1);align-items:center;display:inline-flex}.dark .badge-muted{color:color-mix(in srgb, var(--colors-neutral-400) var(--un-text-opacity), transparent) }.color-active{color:color-mix(in srgb, var(--colors-primary-600) var(--un-text-opacity), transparent) }.dark .color-active{color:color-mix(in srgb, var(--colors-primary-300) var(--un-text-opacity), transparent) }.color-base{color:color-mix(in srgb, var(--colors-neutral-800) var(--un-text-opacity), transparent) }.dark .color-base{color:color-mix(in srgb, var(--colors-neutral-200) var(--un-text-opacity), transparent) }.border-base{border-color:color-mix(in oklab, #8882 var(--un-border-opacity), transparent) }.dark .focus\\:border-active:focus{border-color:color-mix(in srgb, var(--colors-primary-400) 25%, transparent) }.focus\\:border-active:focus{border-color:color-mix(in srgb, var(--colors-primary-600) 25%, transparent) }.bg-active{background-color:color-mix(in oklab, #8881 var(--un-bg-opacity), transparent) }.bg-base{background-color:color-mix(in srgb, var(--colors-white) var(--un-bg-opacity), transparent) }.dark .bg-base{background-color:color-mix(in oklab, #111 var(--un-bg-opacity), transparent) }.bg-glass{background-color:color-mix(in srgb, var(--colors-white) 50%, transparent) ;--un-backdrop-blur:blur(7px);-webkit-backdrop-filter:var(--un-backdrop-blur,) var(--un-backdrop-brightness,) var(--un-backdrop-contrast,) var(--un-backdrop-grayscale,) var(--un-backdrop-hue-rotate,) var(--un-backdrop-invert,) var(--un-backdrop-opacity,) var(--un-backdrop-saturate,) var(--un-backdrop-sepia,);backdrop-filter:var(--un-backdrop-blur,) var(--un-backdrop-brightness,) var(--un-backdrop-contrast,) var(--un-backdrop-grayscale,) var(--un-backdrop-hue-rotate,) var(--un-backdrop-invert,) var(--un-backdrop-opacity,) var(--un-backdrop-saturate,) var(--un-backdrop-sepia,)}.dark .bg-glass{background-color:oklab(17.7638% -2.23517e-8 0/.5)}.hover\\:bg-active:hover{background-color:color-mix(in oklab, #8881 var(--un-bg-opacity), transparent) }.container{width:100%}.z-nav{z-index:30}@supports (color:color-mix(in lab, red, red)){.badge-muted{color:color-mix(in oklab, var(--colors-neutral-600) var(--un-text-opacity), transparent) }.dark .badge-muted{color:color-mix(in oklab, var(--colors-neutral-400) var(--un-text-opacity), transparent) }.color-active{color:color-mix(in oklab, var(--colors-primary-600) var(--un-text-opacity), transparent) }.dark .color-active{color:color-mix(in oklab, var(--colors-primary-300) var(--un-text-opacity), transparent) }.color-base{color:color-mix(in oklab, var(--colors-neutral-800) var(--un-text-opacity), transparent) }.dark .color-base{color:color-mix(in oklab, var(--colors-neutral-200) var(--un-text-opacity), transparent) }.dark .focus\\:border-active:focus{border-color:color-mix(in oklab, var(--colors-primary-400) 25%, transparent) }.focus\\:border-active:focus{border-color:color-mix(in oklab, var(--colors-primary-600) 25%, transparent) }.bg-base{background-color:color-mix(in oklab, var(--colors-white) var(--un-bg-opacity), transparent) }.bg-glass{background-color:color-mix(in oklab, var(--colors-white) 50%, transparent) }}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}@property --scroll-fade-t{syntax:"<length-percentage>";inherits:false;initial-value:0}@property --scroll-fade-b{syntax:"<length-percentage>";inherits:false;initial-value:0}@property --scroll-fade-s{syntax:"<length-percentage>";inherits:false;initial-value:0}@property --scroll-fade-e{syntax:"<length-percentage>";inherits:false;initial-value:0}@property --scroll-fade-mask{syntax:"*";inherits:false}@property --shimmer-angle{syntax:"<angle>";inherits:true;initial-value:20deg}@property --shimmer-image{syntax:"*";inherits:false}@property --shimmer-text-fill{syntax:"*";inherits:false}.text-base{font-size:var(--text-base-fontSize);line-height:var(--un-leading,var(--text-base-lineHeight))}.text-lg{font-size:var(--text-lg-fontSize);line-height:var(--un-leading,var(--text-lg-lineHeight))}.text-sm{font-size:var(--text-sm-fontSize);line-height:var(--un-leading,var(--text-sm-lineHeight))}.text-xs{font-size:var(--text-xs-fontSize);line-height:var(--un-leading,var(--text-xs-lineHeight))}.dark .dark\\:text-amber-200{color:color-mix(in srgb, var(--colors-amber-200) var(--un-text-opacity), transparent) }.dark .dark\\:text-green-200{color:color-mix(in srgb, var(--colors-green-200) var(--un-text-opacity), transparent) }.text-amber{color:color-mix(in srgb, var(--colors-amber-DEFAULT) var(--un-text-opacity), transparent) }.text-amber-800{color:color-mix(in srgb, var(--colors-amber-800) var(--un-text-opacity), transparent) }.text-blue{color:color-mix(in srgb, var(--colors-blue-DEFAULT) var(--un-text-opacity), transparent) }.text-gray{color:color-mix(in srgb, var(--colors-gray-DEFAULT) var(--un-text-opacity), transparent) }.text-green{color:color-mix(in srgb, var(--colors-green-DEFAULT) var(--un-text-opacity), transparent) }.text-green-800{color:color-mix(in srgb, var(--colors-green-800) var(--un-text-opacity), transparent) }.text-red{color:color-mix(in srgb, var(--colors-red-DEFAULT) var(--un-text-opacity), transparent) }.font-medium{--un-font-weight:var(--fontWeight-medium);font-weight:var(--fontWeight-medium)}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.font-semibold{--un-font-weight:var(--fontWeight-semibold);font-weight:var(--fontWeight-semibold)}.mx-0\\.5{margin-inline:calc(var(--spacing) * .5)}.mx-1{margin-inline:calc(var(--spacing) * 1)}.mb-1{margin-bottom:calc(var(--spacing) * 1)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.ms{margin-inline-start:calc(var(--spacing) * 4)}.mt{margin-top:calc(var(--spacing) * 4)}.mt-0\\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:calc(var(--spacing) * 1)}.p-0\\.5{padding:calc(var(--spacing) * .5)}.p-1,.p1{padding:calc(var(--spacing) * 1)}.p-2,.p2{padding:calc(var(--spacing) * 2)}.p-4{padding:calc(var(--spacing) * 4)}.p\\[i\\]{padding:i}.p\\[v\\]{padding:v}.p0{padding:calc(var(--spacing) * 0)}.p3{padding:calc(var(--spacing) * 3)}.px{padding-inline:calc(var(--spacing) * 4)}.px-1{padding-inline:calc(var(--spacing) * 1)}.px-1\\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-3{padding-inline:calc(var(--spacing) * 3)}.py-0\\.5{padding-block:calc(var(--spacing) * .5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\\.5{padding-block:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.text-left{text-align:left}.outline-none{--un-outline-style:none;outline-style:none}.b,.border{border-width:1px}.border-1\\.5{border-width:1.5px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-l-2{border-left-width:2px}.border-t{border-top-width:1px}.border-current{border-color:currentColor}.border-t-transparent{border-top-color:#0000}.rd,.rounded{border-radius:var(--radius-DEFAULT)}.rounded-full{border-radius:3.40282e38px}.rounded-r{border-top-right-radius:var(--radius-DEFAULT);border-bottom-right-radius:var(--radius-DEFAULT)}.bg-amber{background-color:color-mix(in srgb, var(--colors-amber-DEFAULT) var(--un-bg-opacity), transparent) }.bg-blue{background-color:color-mix(in srgb, var(--colors-blue-DEFAULT) var(--un-bg-opacity), transparent) }.bg-gray{background-color:color-mix(in srgb, var(--colors-gray-DEFAULT) var(--un-bg-opacity), transparent) }.bg-gray\\/5{background-color:color-mix(in srgb, var(--colors-gray-DEFAULT) 5%, transparent) }.bg-green{background-color:color-mix(in srgb, var(--colors-green-DEFAULT) var(--un-bg-opacity), transparent) }.bg-red{background-color:color-mix(in srgb, var(--colors-red-DEFAULT) var(--un-bg-opacity), transparent) }.bg-transparent{background-color:#0000}.op0{opacity:0}.op30{opacity:.3}.op40{opacity:.4}.op50,.group:hover .group-hover\\:op50{opacity:.5}.op60{opacity:.6}.op70{opacity:.7}.op80{opacity:.8}.group:hover .group-hover\\:op100,.group\\/bt:hover .group-hover\\/bt\\:op100,.hover\\:op100:hover{opacity:1}.hover\\:op100\\!:hover{opacity:1!important}.hover\\:underline:hover{text-decoration-line:underline}.flex{display:flex}.flex-1{flex:1}.flex-none{flex:none}.shrink-0{flex-shrink:0}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.gap-0\\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:calc(var(--spacing) * 1)}.gap-1\\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-y-0\\.5{row-gap:calc(var(--spacing) * .5)}.grid{display:grid}.grid-cols-\\[1fr_1fr\\]{grid-template-columns:1fr 1fr}.grid-rows-\\[max-content_1fr\\]{grid-template-rows:max-content 1fr}.size-3\\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.h-3{height:calc(var(--spacing) * 3)}.h-3\\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-full{height:100%}.min-h-0{min-height:calc(var(--spacing) * 0)}.min-w-0{min-width:calc(var(--spacing) * 0)}.w-2px{width:2px}.w-3{width:calc(var(--spacing) * 3)}.w-3\\.5{width:calc(var(--spacing) * 3.5)}.w-4{width:calc(var(--spacing) * 4)}.w-48{width:calc(var(--spacing) * 48)}.w-full{width:100%}.inline{display:inline}.block{display:block}.hidden{display:none}.visible{visibility:visible}.cursor-pointer{cursor:pointer}.resize{resize:both}.select-none{-webkit-user-select:none;user-select:none}.whitespace-pre-wrap{white-space:pre-wrap}.break-all{word-break:break-all}.text-wrap{text-wrap:wrap}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.shadow{--un-shadow:0 1px 3px 0 var(--un-shadow-color,#0000001a),0 1px 2px -1px var(--un-shadow-color,#0000001a);box-shadow:var(--un-inset-shadow), var(--un-inset-ring-shadow), var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)}.transform{transform:var(--un-rotate-x) var(--un-rotate-y) var(--un-rotate-z) var(--un-skew-x) var(--un-skew-y)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,--un-gradient-from,--un-gradient-via,--un-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter;transition-timing-function:var(--un-ease,var(--default-transition-timingFunction));transition-duration:var(--un-duration,var(--default-transition-duration))}.ease{--un-ease:var(--ease-DEFAULT);transition-timing-function:var(--ease-DEFAULT)}.items-start{align-items:flex-start}.items-center{align-items:center}.bottom-4px{bottom:4px}.left-0{left:calc(var(--spacing) * 0)}.right-1\\.5{right:calc(var(--spacing) * 1.5)}.top-0{top:calc(var(--spacing) * 0)}.top-1\\.5{top:calc(var(--spacing) * 1.5)}.top-4px{top:4px}.justify-center{justify-content:center}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.static{position:static}.of-hidden{overflow:hidden}.of-x-auto{overflow-x:auto}.of-y-auto{overflow-y:auto}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.animate-spin{animation:1s linear infinite spin}.blur{--un-blur:blur(8px);filter:var(--un-blur,) var(--un-brightness,) var(--un-contrast,) var(--un-grayscale,) var(--un-hue-rotate,) var(--un-invert,) var(--un-saturate,) var(--un-sepia,) var(--un-drop-shadow,)}.filter{filter:var(--un-blur,) var(--un-brightness,) var(--un-contrast,) var(--un-grayscale,) var(--un-hue-rotate,) var(--un-invert,) var(--un-saturate,) var(--un-sepia,) var(--un-drop-shadow,)}:where(.space-y-0\\.5>:not(:last-child)){--un-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * .5) * var(--un-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * .5) * calc(1 - var(--un-space-y-reverse)))}@supports (color:color-mix(in lab, red, red)){.dark .dark\\:text-amber-200{color:color-mix(in oklab, var(--colors-amber-200) var(--un-text-opacity), transparent) }.dark .dark\\:text-green-200{color:color-mix(in oklab, var(--colors-green-200) var(--un-text-opacity), transparent) }.text-amber{color:color-mix(in oklab, var(--colors-amber-DEFAULT) var(--un-text-opacity), transparent) }.text-amber-800{color:color-mix(in oklab, var(--colors-amber-800) var(--un-text-opacity), transparent) }.text-blue{color:color-mix(in oklab, var(--colors-blue-DEFAULT) var(--un-text-opacity), transparent) }.text-gray{color:color-mix(in oklab, var(--colors-gray-DEFAULT) var(--un-text-opacity), transparent) }.text-green{color:color-mix(in oklab, var(--colors-green-DEFAULT) var(--un-text-opacity), transparent) }.text-green-800{color:color-mix(in oklab, var(--colors-green-800) var(--un-text-opacity), transparent) }.text-red{color:color-mix(in oklab, var(--colors-red-DEFAULT) var(--un-text-opacity), transparent) }.bg-amber{background-color:color-mix(in oklab, var(--colors-amber-DEFAULT) var(--un-bg-opacity), transparent) }.bg-blue{background-color:color-mix(in oklab, var(--colors-blue-DEFAULT) var(--un-bg-opacity), transparent) }.bg-gray{background-color:color-mix(in oklab, var(--colors-gray-DEFAULT) var(--un-bg-opacity), transparent) }.bg-gray\\/5{background-color:color-mix(in oklab, var(--colors-gray-DEFAULT) 5%, transparent) }.bg-green{background-color:color-mix(in oklab, var(--colors-green-DEFAULT) var(--un-bg-opacity), transparent) }.bg-red{background-color:color-mix(in oklab, var(--colors-red-DEFAULT) var(--un-bg-opacity), transparent) }}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}html.dark{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}html{color:color-mix(in srgb, var(--colors-neutral-800) var(--un-text-opacity), transparent) ;background-color:color-mix(in srgb, var(--colors-white) var(--un-bg-opacity), transparent) }@supports (color:color-mix(in lab, red, red)){html{color:color-mix(in oklab, var(--colors-neutral-800) var(--un-text-opacity), transparent) ;background-color:color-mix(in oklab, var(--colors-white) var(--un-bg-opacity), transparent) }}.dark html{color:color-mix(in srgb, var(--colors-neutral-200) var(--un-text-opacity), transparent) ;background-color:color-mix(in oklab, #111 var(--un-bg-opacity), transparent) }@supports (color:color-mix(in lab, red, red)){.dark html{color:color-mix(in oklab, var(--colors-neutral-200) var(--un-text-opacity), transparent) }}*{scrollbar-width:thin;scrollbar-color:#88888859 transparent}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:#8888884d;border-radius:3px}::-webkit-scrollbar-thumb:hover{background:#88888880}@keyframes af-spin{to{transform:rotate(360deg)}}@keyframes af-spin-reverse{to{transform:rotate(-360deg)}}.af-spin{animation:1s linear infinite af-spin}::view-transition-old(root){mix-blend-mode:normal;animation:none}::view-transition-new(root){mix-blend-mode:normal;animation:none}::view-transition-old(root){z-index:1}::view-transition-new(root){z-index:9999}html.dark::view-transition-old(root){z-index:9999}html.dark::view-transition-new(root){z-index:1}@media (prefers-reduced-motion:reduce){::view-transition-old(root){animation:none!important}::view-transition-new(root){animation:none!important}}[data-reka-popper-content-wrapper]{z-index:70}[data-af-animate][data-state=open]{animation:.15s both af-fade-in}[data-af-animate][data-state=closed]{animation:.15s both af-fade-out}[data-af-modal][data-state=open]{animation:.18s cubic-bezier(.16,1,.3,1) both af-modal-in}[data-af-modal][data-state=closed]{animation:.15s both af-modal-out}[data-af-drawer]{animation-duration:.22s;animation-timing-function:cubic-bezier(.32,.72,0,1);animation-fill-mode:both}[data-af-drawer][data-side=right]{animation-name:af-slide-right}[data-af-drawer][data-side=left]{animation-name:af-slide-left}[data-af-drawer][data-side=top]{animation-name:af-slide-top}[data-af-drawer][data-side=bottom]{animation-name:af-slide-bottom}[data-af-drawer][data-state=closed]{animation-direction:reverse}@keyframes af-fade-in{0%{opacity:0}}@keyframes af-fade-out{to{opacity:0}}@keyframes af-modal-in{0%{opacity:0;transform:translate(-50%,-50%)scale(.96)}to{opacity:1;transform:translate(-50%,-50%)scale(1)}}@keyframes af-modal-out{0%{opacity:1;transform:translate(-50%,-50%)scale(1)}to{opacity:0;transform:translate(-50%,-50%)scale(.96)}}@keyframes af-slide-right{0%{transform:translate(100%)}}@keyframes af-slide-left{0%{transform:translate(-100%)}}@keyframes af-slide-top{0%{transform:translateY(-100%)}}@keyframes af-slide-bottom{0%{transform:translateY(100%)}}@media (prefers-reduced-motion:reduce){[data-af-animate],[data-af-modal],[data-af-drawer]{animation:none!important}}.v-popper__popper .v-popper__inner{font-size:var(--text-xs-fontSize);line-height:var(--un-leading,var(--text-xs-lineHeight));color:color-mix(in srgb, var(--colors-neutral-800) var(--un-text-opacity), transparent) ;padding-inline:calc(var(--spacing) * 2);padding-block:calc(var(--spacing) * 1);border-width:1px;border-color:color-mix(in oklab, #8882 var(--un-border-opacity), transparent) ;border-radius:var(--radius-md);background-color:color-mix(in srgb, var(--colors-white) 75%, transparent) ;--un-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--un-backdrop-blur,) var(--un-backdrop-brightness,) var(--un-backdrop-contrast,) var(--un-backdrop-grayscale,) var(--un-backdrop-hue-rotate,) var(--un-backdrop-invert,) var(--un-backdrop-opacity,) var(--un-backdrop-saturate,) var(--un-backdrop-sepia,);backdrop-filter:var(--un-backdrop-blur,) var(--un-backdrop-brightness,) var(--un-backdrop-contrast,) var(--un-backdrop-grayscale,) var(--un-backdrop-hue-rotate,) var(--un-backdrop-invert,) var(--un-backdrop-opacity,) var(--un-backdrop-saturate,) var(--un-backdrop-sepia,);box-shadow:0 4px 16px #0000001f}@supports (color:color-mix(in lab, red, red)){.v-popper__popper .v-popper__inner{color:color-mix(in oklab, var(--colors-neutral-800) var(--un-text-opacity), transparent) ;background-color:color-mix(in oklab, var(--colors-white) 75%, transparent) }}.dark .v-popper__popper .v-popper__inner{color:color-mix(in srgb, var(--colors-neutral-200) var(--un-text-opacity), transparent) ;background-color:oklab(17.7638% -2.23517e-8 0/.75)}@supports (color:color-mix(in lab, red, red)){.dark .v-popper__popper .v-popper__inner{color:color-mix(in oklab, var(--colors-neutral-200) var(--un-text-opacity), transparent) }}.v-popper__popper .v-popper__arrow-outer{border-color:color-mix(in oklab, #8882 var(--un-border-opacity), transparent) }.v-popper__popper .v-popper__arrow-inner{border-color:color-mix(in srgb, var(--colors-white) 75%, transparent) ;visibility:visible}@supports (color:color-mix(in lab, red, red)){.v-popper__popper .v-popper__arrow-inner{border-color:color-mix(in oklab, var(--colors-white) 75%, transparent) }}.dark .v-popper__popper .v-popper__arrow-inner{border-color:oklab(17.7638% -2.23517e-8 0/.75)}.v-popper--theme-dropdown .v-popper__inner{padding:calc(var(--spacing) * 1)}.splitpanes{width:100%;height:100%;display:flex}.splitpanes--vertical{flex-direction:row}.splitpanes--horizontal{flex-direction:column}.splitpanes--dragging *{-webkit-user-select:none;user-select:none}.splitpanes__pane{width:100%;height:100%;overflow:hidden}.splitpanes--vertical>.splitpanes__pane{transition:width .2s ease-out}.splitpanes--horizontal>.splitpanes__pane{transition:height .2s ease-out}.splitpanes--dragging>.splitpanes__pane{pointer-events:none;transition:none}.splitpanes__splitter{touch-action:none;background-color:color-mix(in oklab, #8882 var(--un-bg-opacity), transparent) ;transition:background-color .2s;position:relative}.splitpanes__splitter:hover{background-color:color-mix(in oklab, #8886 var(--un-bg-opacity), transparent) }.splitpanes--vertical>.splitpanes__splitter{cursor:col-resize;min-width:1px}.splitpanes--horizontal>.splitpanes__splitter{cursor:row-resize;min-height:1px}.splitpanes__splitter:before{content:"";z-index:1;position:absolute;inset:-4px}::-webkit-scrollbar{width:7px;height:7px}::-webkit-scrollbar-thumb{background:#8884;border-radius:3px}::-webkit-scrollbar-thumb:hover{background:#8887}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-corner{background:0 0}
|
|
2
|
+
/*$vite$:1*/`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();import { connectDevframe as e } from "devframe/client";
|
|
3
|
+
//#region ../../node_modules/.pnpm/@vue+shared@3.5.34/node_modules/@vue/shared/dist/shared.esm-bundler.js
|
|
4
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
5
|
+
function t(e) {
|
|
6
|
+
let t = /* @__PURE__ */ Object.create(null);
|
|
7
|
+
for (let n of e.split(",")) t[n] = 1;
|
|
8
|
+
return (e) => e in t;
|
|
9
|
+
}
|
|
10
|
+
var n = process.env.NODE_ENV === "production" ? {} : Object.freeze({}), r = process.env.NODE_ENV === "production" ? [] : Object.freeze([]), i = () => {}, a = () => !1, o = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && (e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), s = (e) => e.startsWith("onUpdate:"), c = Object.assign, l = (e, t) => {
|
|
11
|
+
let n = e.indexOf(t);
|
|
12
|
+
n > -1 && e.splice(n, 1);
|
|
13
|
+
}, u = Object.prototype.hasOwnProperty, d = (e, t) => u.call(e, t), f = Array.isArray, p = (e) => S(e) === "[object Map]", m = (e) => S(e) === "[object Set]", h = (e) => S(e) === "[object Date]", g = (e) => typeof e == "function", _ = (e) => typeof e == "string", v = (e) => typeof e == "symbol", y = (e) => typeof e == "object" && !!e, b = (e) => (y(e) || g(e)) && g(e.then) && g(e.catch), x = Object.prototype.toString, S = (e) => x.call(e), C = (e) => S(e).slice(8, -1), w = (e) => S(e) === "[object Object]", ee = (e) => _(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, te = /* @__PURE__ */ t(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"), T = /* @__PURE__ */ t("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"), ne = (e) => {
|
|
14
|
+
let t = /* @__PURE__ */ Object.create(null);
|
|
15
|
+
return ((n) => t[n] || (t[n] = e(n)));
|
|
16
|
+
}, re = /-\w/g, E = ne((e) => e.replace(re, (e) => e.slice(1).toUpperCase())), ie = /\B([A-Z])/g, D = ne((e) => e.replace(ie, "-$1").toLowerCase()), ae = ne((e) => e.charAt(0).toUpperCase() + e.slice(1)), oe = ne((e) => e ? `on${ae(e)}` : ""), se = (e, t) => !Object.is(e, t), ce = (e, ...t) => {
|
|
17
|
+
for (let n = 0; n < e.length; n++) e[n](...t);
|
|
18
|
+
}, O = (e, t, n, r = !1) => {
|
|
19
|
+
Object.defineProperty(e, t, {
|
|
20
|
+
configurable: !0,
|
|
21
|
+
enumerable: !1,
|
|
22
|
+
writable: r,
|
|
23
|
+
value: n
|
|
24
|
+
});
|
|
25
|
+
}, le = (e) => {
|
|
26
|
+
let t = parseFloat(e);
|
|
27
|
+
return isNaN(t) ? e : t;
|
|
28
|
+
}, ue, de = () => ue ||= typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {};
|
|
29
|
+
function fe(e) {
|
|
30
|
+
if (f(e)) {
|
|
31
|
+
let t = {};
|
|
32
|
+
for (let n = 0; n < e.length; n++) {
|
|
33
|
+
let r = e[n], i = _(r) ? ge(r) : fe(r);
|
|
34
|
+
if (i) for (let e in i) t[e] = i[e];
|
|
35
|
+
}
|
|
36
|
+
return t;
|
|
37
|
+
} else if (_(e) || y(e)) return e;
|
|
38
|
+
}
|
|
39
|
+
var pe = /;(?![^(]*\))/g, me = /:([^]+)/, he = /\/\*[^]*?\*\//g;
|
|
40
|
+
function ge(e) {
|
|
41
|
+
let t = {};
|
|
42
|
+
return e.replace(he, "").split(pe).forEach((e) => {
|
|
43
|
+
if (e) {
|
|
44
|
+
let n = e.split(me);
|
|
45
|
+
n.length > 1 && (t[n[0].trim()] = n[1].trim());
|
|
46
|
+
}
|
|
47
|
+
}), t;
|
|
48
|
+
}
|
|
49
|
+
function k(e) {
|
|
50
|
+
let t = "";
|
|
51
|
+
if (_(e)) t = e;
|
|
52
|
+
else if (f(e)) for (let n = 0; n < e.length; n++) {
|
|
53
|
+
let r = k(e[n]);
|
|
54
|
+
r && (t += r + " ");
|
|
55
|
+
}
|
|
56
|
+
else if (y(e)) for (let n in e) e[n] && (t += n + " ");
|
|
57
|
+
return t.trim();
|
|
58
|
+
}
|
|
59
|
+
var _e = "html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot", ve = "svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view", ye = "annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics", be = /* @__PURE__ */ t(_e), xe = /* @__PURE__ */ t(ve), Se = /* @__PURE__ */ t(ye), Ce = "itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly", we = /* @__PURE__ */ t(Ce);
|
|
60
|
+
Ce + "";
|
|
61
|
+
function Te(e) {
|
|
62
|
+
return !!e || e === "";
|
|
63
|
+
}
|
|
64
|
+
function Ee(e, t) {
|
|
65
|
+
if (e.length !== t.length) return !1;
|
|
66
|
+
let n = !0;
|
|
67
|
+
for (let r = 0; n && r < e.length; r++) n = De(e[r], t[r]);
|
|
68
|
+
return n;
|
|
69
|
+
}
|
|
70
|
+
function De(e, t) {
|
|
71
|
+
if (e === t) return !0;
|
|
72
|
+
let n = h(e), r = h(t);
|
|
73
|
+
if (n || r) return n && r ? e.getTime() === t.getTime() : !1;
|
|
74
|
+
if (n = v(e), r = v(t), n || r) return e === t;
|
|
75
|
+
if (n = f(e), r = f(t), n || r) return n && r ? Ee(e, t) : !1;
|
|
76
|
+
if (n = y(e), r = y(t), n || r) {
|
|
77
|
+
if (!n || !r || Object.keys(e).length !== Object.keys(t).length) return !1;
|
|
78
|
+
for (let n in e) {
|
|
79
|
+
let r = e.hasOwnProperty(n), i = t.hasOwnProperty(n);
|
|
80
|
+
if (r && !i || !r && i || !De(e[n], t[n])) return !1;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
return String(e) === String(t);
|
|
84
|
+
}
|
|
85
|
+
var Oe = (e) => !!(e && e.__v_isRef === !0), A = (e) => _(e) ? e : e == null ? "" : f(e) || y(e) && (e.toString === x || !g(e.toString)) ? Oe(e) ? A(e.value) : JSON.stringify(e, ke, 2) : String(e), ke = (e, t) => Oe(t) ? ke(e, t.value) : p(t) ? { [`Map(${t.size})`]: [...t.entries()].reduce((e, [t, n], r) => (e[Ae(t, r) + " =>"] = n, e), {}) } : m(t) ? { [`Set(${t.size})`]: [...t.values()].map((e) => Ae(e)) } : v(t) ? Ae(t) : y(t) && !f(t) && !w(t) ? String(t) : t, Ae = (e, t = "") => v(e) ? `Symbol(${e.description ?? t})` : e;
|
|
86
|
+
//#endregion
|
|
87
|
+
//#region ../../node_modules/.pnpm/@vue+reactivity@3.5.34/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js
|
|
88
|
+
function je(e, ...t) {
|
|
89
|
+
console.warn(`[Vue warn] ${e}`, ...t);
|
|
90
|
+
}
|
|
91
|
+
var j, Me = class {
|
|
92
|
+
constructor(e = !1) {
|
|
93
|
+
this.detached = e, this._active = !0, this._on = 0, this.effects = [], this.cleanups = [], this._isPaused = !1, this._warnOnRun = !0, this.__v_skip = !0, !e && j && (j.active ? (this.parent = j, this.index = (j.scopes ||= []).push(this) - 1) : (this._active = !1, this._warnOnRun = !1));
|
|
94
|
+
}
|
|
95
|
+
get active() {
|
|
96
|
+
return this._active;
|
|
97
|
+
}
|
|
98
|
+
pause() {
|
|
99
|
+
if (this._active) {
|
|
100
|
+
this._isPaused = !0;
|
|
101
|
+
let e, t;
|
|
102
|
+
if (this.scopes) for (e = 0, t = this.scopes.length; e < t; e++) this.scopes[e].pause();
|
|
103
|
+
for (e = 0, t = this.effects.length; e < t; e++) this.effects[e].pause();
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
resume() {
|
|
107
|
+
if (this._active && this._isPaused) {
|
|
108
|
+
this._isPaused = !1;
|
|
109
|
+
let e, t;
|
|
110
|
+
if (this.scopes) for (e = 0, t = this.scopes.length; e < t; e++) this.scopes[e].resume();
|
|
111
|
+
for (e = 0, t = this.effects.length; e < t; e++) this.effects[e].resume();
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
run(e) {
|
|
115
|
+
if (this._active) {
|
|
116
|
+
let t = j;
|
|
117
|
+
try {
|
|
118
|
+
return j = this, e();
|
|
119
|
+
} finally {
|
|
120
|
+
j = t;
|
|
121
|
+
}
|
|
122
|
+
} else process.env.NODE_ENV !== "production" && this._warnOnRun && je("cannot run an inactive effect scope.");
|
|
123
|
+
}
|
|
124
|
+
on() {
|
|
125
|
+
++this._on === 1 && (this.prevScope = j, j = this);
|
|
126
|
+
}
|
|
127
|
+
off() {
|
|
128
|
+
if (this._on > 0 && --this._on === 0) {
|
|
129
|
+
if (j === this) j = this.prevScope;
|
|
130
|
+
else {
|
|
131
|
+
let e = j;
|
|
132
|
+
for (; e;) {
|
|
133
|
+
if (e.prevScope === this) {
|
|
134
|
+
e.prevScope = this.prevScope;
|
|
135
|
+
break;
|
|
136
|
+
}
|
|
137
|
+
e = e.prevScope;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
this.prevScope = void 0;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
stop(e) {
|
|
144
|
+
if (this._active) {
|
|
145
|
+
this._active = !1;
|
|
146
|
+
let t, n;
|
|
147
|
+
for (t = 0, n = this.effects.length; t < n; t++) this.effects[t].stop();
|
|
148
|
+
for (this.effects.length = 0, t = 0, n = this.cleanups.length; t < n; t++) this.cleanups[t]();
|
|
149
|
+
if (this.cleanups.length = 0, this.scopes) {
|
|
150
|
+
for (t = 0, n = this.scopes.length; t < n; t++) this.scopes[t].stop(!0);
|
|
151
|
+
this.scopes.length = 0;
|
|
152
|
+
}
|
|
153
|
+
if (!this.detached && this.parent && !e) {
|
|
154
|
+
let e = this.parent.scopes.pop();
|
|
155
|
+
e && e !== this && (this.parent.scopes[this.index] = e, e.index = this.index);
|
|
156
|
+
}
|
|
157
|
+
this.parent = void 0;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
};
|
|
161
|
+
function Ne() {
|
|
162
|
+
return j;
|
|
163
|
+
}
|
|
164
|
+
function Pe(e, t = !1) {
|
|
165
|
+
j ? j.cleanups.push(e) : process.env.NODE_ENV !== "production" && !t && je("onScopeDispose() is called when there is no active effect scope to be associated with.");
|
|
166
|
+
}
|
|
167
|
+
var M, Fe = /* @__PURE__ */ new WeakSet(), Ie = class {
|
|
168
|
+
constructor(e) {
|
|
169
|
+
this.fn = e, this.deps = void 0, this.depsTail = void 0, this.flags = 5, this.next = void 0, this.cleanup = void 0, this.scheduler = void 0, j && (j.active ? j.effects.push(this) : this.flags &= -2);
|
|
170
|
+
}
|
|
171
|
+
pause() {
|
|
172
|
+
this.flags |= 64;
|
|
173
|
+
}
|
|
174
|
+
resume() {
|
|
175
|
+
this.flags & 64 && (this.flags &= -65, Fe.has(this) && (Fe.delete(this), this.trigger()));
|
|
176
|
+
}
|
|
177
|
+
notify() {
|
|
178
|
+
this.flags & 2 && !(this.flags & 32) || this.flags & 8 || Be(this);
|
|
179
|
+
}
|
|
180
|
+
run() {
|
|
181
|
+
if (!(this.flags & 1)) return this.fn();
|
|
182
|
+
this.flags |= 2, $e(this), Ue(this);
|
|
183
|
+
let e = M, t = Ye;
|
|
184
|
+
M = this, Ye = !0;
|
|
185
|
+
try {
|
|
186
|
+
return this.fn();
|
|
187
|
+
} finally {
|
|
188
|
+
process.env.NODE_ENV !== "production" && M !== this && je("Active effect was not restored correctly - this is likely a Vue internal bug."), We(this), M = e, Ye = t, this.flags &= -3;
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
stop() {
|
|
192
|
+
if (this.flags & 1) {
|
|
193
|
+
for (let e = this.deps; e; e = e.nextDep) qe(e);
|
|
194
|
+
this.deps = this.depsTail = void 0, $e(this), this.onStop && this.onStop(), this.flags &= -2;
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
trigger() {
|
|
198
|
+
this.flags & 64 ? Fe.add(this) : this.scheduler ? this.scheduler() : this.runIfDirty();
|
|
199
|
+
}
|
|
200
|
+
runIfDirty() {
|
|
201
|
+
Ge(this) && this.run();
|
|
202
|
+
}
|
|
203
|
+
get dirty() {
|
|
204
|
+
return Ge(this);
|
|
205
|
+
}
|
|
206
|
+
}, Le = 0, Re, ze;
|
|
207
|
+
function Be(e, t = !1) {
|
|
208
|
+
if (e.flags |= 8, t) {
|
|
209
|
+
e.next = ze, ze = e;
|
|
210
|
+
return;
|
|
211
|
+
}
|
|
212
|
+
e.next = Re, Re = e;
|
|
213
|
+
}
|
|
214
|
+
function Ve() {
|
|
215
|
+
Le++;
|
|
216
|
+
}
|
|
217
|
+
function He() {
|
|
218
|
+
if (--Le > 0) return;
|
|
219
|
+
if (ze) {
|
|
220
|
+
let e = ze;
|
|
221
|
+
for (ze = void 0; e;) {
|
|
222
|
+
let t = e.next;
|
|
223
|
+
e.next = void 0, e.flags &= -9, e = t;
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
let e;
|
|
227
|
+
for (; Re;) {
|
|
228
|
+
let t = Re;
|
|
229
|
+
for (Re = void 0; t;) {
|
|
230
|
+
let n = t.next;
|
|
231
|
+
if (t.next = void 0, t.flags &= -9, t.flags & 1) try {
|
|
232
|
+
t.trigger();
|
|
233
|
+
} catch (t) {
|
|
234
|
+
e ||= t;
|
|
235
|
+
}
|
|
236
|
+
t = n;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
if (e) throw e;
|
|
240
|
+
}
|
|
241
|
+
function Ue(e) {
|
|
242
|
+
for (let t = e.deps; t; t = t.nextDep) t.version = -1, t.prevActiveLink = t.dep.activeLink, t.dep.activeLink = t;
|
|
243
|
+
}
|
|
244
|
+
function We(e) {
|
|
245
|
+
let t, n = e.depsTail, r = n;
|
|
246
|
+
for (; r;) {
|
|
247
|
+
let e = r.prevDep;
|
|
248
|
+
r.version === -1 ? (r === n && (n = e), qe(r), Je(r)) : t = r, r.dep.activeLink = r.prevActiveLink, r.prevActiveLink = void 0, r = e;
|
|
249
|
+
}
|
|
250
|
+
e.deps = t, e.depsTail = n;
|
|
251
|
+
}
|
|
252
|
+
function Ge(e) {
|
|
253
|
+
for (let t = e.deps; t; t = t.nextDep) if (t.dep.version !== t.version || t.dep.computed && (Ke(t.dep.computed) || t.dep.version !== t.version)) return !0;
|
|
254
|
+
return !!e._dirty;
|
|
255
|
+
}
|
|
256
|
+
function Ke(e) {
|
|
257
|
+
if (e.flags & 4 && !(e.flags & 16) || (e.flags &= -17, e.globalVersion === et) || (e.globalVersion = et, !e.isSSR && e.flags & 128 && (!e.deps && !e._dirty || !Ge(e)))) return;
|
|
258
|
+
e.flags |= 2;
|
|
259
|
+
let t = e.dep, n = M, r = Ye;
|
|
260
|
+
M = e, Ye = !0;
|
|
261
|
+
try {
|
|
262
|
+
Ue(e);
|
|
263
|
+
let n = e.fn(e._value);
|
|
264
|
+
(t.version === 0 || se(n, e._value)) && (e.flags |= 128, e._value = n, t.version++);
|
|
265
|
+
} catch (e) {
|
|
266
|
+
throw t.version++, e;
|
|
267
|
+
} finally {
|
|
268
|
+
M = n, Ye = r, We(e), e.flags &= -3;
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
function qe(e, t = !1) {
|
|
272
|
+
let { dep: n, prevSub: r, nextSub: i } = e;
|
|
273
|
+
if (r && (r.nextSub = i, e.prevSub = void 0), i && (i.prevSub = r, e.nextSub = void 0), process.env.NODE_ENV !== "production" && n.subsHead === e && (n.subsHead = i), n.subs === e && (n.subs = r, !r && n.computed)) {
|
|
274
|
+
n.computed.flags &= -5;
|
|
275
|
+
for (let e = n.computed.deps; e; e = e.nextDep) qe(e, !0);
|
|
276
|
+
}
|
|
277
|
+
!t && !--n.sc && n.map && n.map.delete(n.key);
|
|
278
|
+
}
|
|
279
|
+
function Je(e) {
|
|
280
|
+
let { prevDep: t, nextDep: n } = e;
|
|
281
|
+
t && (t.nextDep = n, e.prevDep = void 0), n && (n.prevDep = t, e.nextDep = void 0);
|
|
282
|
+
}
|
|
283
|
+
var Ye = !0, Xe = [];
|
|
284
|
+
function Ze() {
|
|
285
|
+
Xe.push(Ye), Ye = !1;
|
|
286
|
+
}
|
|
287
|
+
function Qe() {
|
|
288
|
+
let e = Xe.pop();
|
|
289
|
+
Ye = e === void 0 ? !0 : e;
|
|
290
|
+
}
|
|
291
|
+
function $e(e) {
|
|
292
|
+
let { cleanup: t } = e;
|
|
293
|
+
if (e.cleanup = void 0, t) {
|
|
294
|
+
let e = M;
|
|
295
|
+
M = void 0;
|
|
296
|
+
try {
|
|
297
|
+
t();
|
|
298
|
+
} finally {
|
|
299
|
+
M = e;
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
var et = 0, tt = class {
|
|
304
|
+
constructor(e, t) {
|
|
305
|
+
this.sub = e, this.dep = t, this.version = t.version, this.nextDep = this.prevDep = this.nextSub = this.prevSub = this.prevActiveLink = void 0;
|
|
306
|
+
}
|
|
307
|
+
}, nt = class {
|
|
308
|
+
constructor(e) {
|
|
309
|
+
this.computed = e, this.version = 0, this.activeLink = void 0, this.subs = void 0, this.map = void 0, this.key = void 0, this.sc = 0, this.__v_skip = !0, process.env.NODE_ENV !== "production" && (this.subsHead = void 0);
|
|
310
|
+
}
|
|
311
|
+
track(e) {
|
|
312
|
+
if (!M || !Ye || M === this.computed) return;
|
|
313
|
+
let t = this.activeLink;
|
|
314
|
+
if (t === void 0 || t.sub !== M) t = this.activeLink = new tt(M, this), M.deps ? (t.prevDep = M.depsTail, M.depsTail.nextDep = t, M.depsTail = t) : M.deps = M.depsTail = t, rt(t);
|
|
315
|
+
else if (t.version === -1 && (t.version = this.version, t.nextDep)) {
|
|
316
|
+
let e = t.nextDep;
|
|
317
|
+
e.prevDep = t.prevDep, t.prevDep && (t.prevDep.nextDep = e), t.prevDep = M.depsTail, t.nextDep = void 0, M.depsTail.nextDep = t, M.depsTail = t, M.deps === t && (M.deps = e);
|
|
318
|
+
}
|
|
319
|
+
return process.env.NODE_ENV !== "production" && M.onTrack && M.onTrack(c({ effect: M }, e)), t;
|
|
320
|
+
}
|
|
321
|
+
trigger(e) {
|
|
322
|
+
this.version++, et++, this.notify(e);
|
|
323
|
+
}
|
|
324
|
+
notify(e) {
|
|
325
|
+
Ve();
|
|
326
|
+
try {
|
|
327
|
+
if (process.env.NODE_ENV !== "production") for (let t = this.subsHead; t; t = t.nextSub) t.sub.onTrigger && !(t.sub.flags & 8) && t.sub.onTrigger(c({ effect: t.sub }, e));
|
|
328
|
+
for (let e = this.subs; e; e = e.prevSub) e.sub.notify() && e.sub.dep.notify();
|
|
329
|
+
} finally {
|
|
330
|
+
He();
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
};
|
|
334
|
+
function rt(e) {
|
|
335
|
+
if (e.dep.sc++, e.sub.flags & 4) {
|
|
336
|
+
let t = e.dep.computed;
|
|
337
|
+
if (t && !e.dep.subs) {
|
|
338
|
+
t.flags |= 20;
|
|
339
|
+
for (let e = t.deps; e; e = e.nextDep) rt(e);
|
|
340
|
+
}
|
|
341
|
+
let n = e.dep.subs;
|
|
342
|
+
n !== e && (e.prevSub = n, n && (n.nextSub = e)), process.env.NODE_ENV !== "production" && e.dep.subsHead === void 0 && (e.dep.subsHead = e), e.dep.subs = e;
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
var it = /* @__PURE__ */ new WeakMap(), at = /* @__PURE__ */ Symbol(process.env.NODE_ENV === "production" ? "" : "Object iterate"), ot = /* @__PURE__ */ Symbol(process.env.NODE_ENV === "production" ? "" : "Map keys iterate"), st = /* @__PURE__ */ Symbol(process.env.NODE_ENV === "production" ? "" : "Array iterate");
|
|
346
|
+
function N(e, t, n) {
|
|
347
|
+
if (Ye && M) {
|
|
348
|
+
let r = it.get(e);
|
|
349
|
+
r || it.set(e, r = /* @__PURE__ */ new Map());
|
|
350
|
+
let i = r.get(n);
|
|
351
|
+
i || (r.set(n, i = new nt()), i.map = r, i.key = n), process.env.NODE_ENV === "production" ? i.track() : i.track({
|
|
352
|
+
target: e,
|
|
353
|
+
type: t,
|
|
354
|
+
key: n
|
|
355
|
+
});
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
function ct(e, t, n, r, i, a) {
|
|
359
|
+
let o = it.get(e);
|
|
360
|
+
if (!o) {
|
|
361
|
+
et++;
|
|
362
|
+
return;
|
|
363
|
+
}
|
|
364
|
+
let s = (o) => {
|
|
365
|
+
o && (process.env.NODE_ENV === "production" ? o.trigger() : o.trigger({
|
|
366
|
+
target: e,
|
|
367
|
+
type: t,
|
|
368
|
+
key: n,
|
|
369
|
+
newValue: r,
|
|
370
|
+
oldValue: i,
|
|
371
|
+
oldTarget: a
|
|
372
|
+
}));
|
|
373
|
+
};
|
|
374
|
+
if (Ve(), t === "clear") o.forEach(s);
|
|
375
|
+
else {
|
|
376
|
+
let i = f(e), a = i && ee(n);
|
|
377
|
+
if (i && n === "length") {
|
|
378
|
+
let e = Number(r);
|
|
379
|
+
o.forEach((t, n) => {
|
|
380
|
+
(n === "length" || n === st || !v(n) && n >= e) && s(t);
|
|
381
|
+
});
|
|
382
|
+
} else switch ((n !== void 0 || o.has(void 0)) && s(o.get(n)), a && s(o.get(st)), t) {
|
|
383
|
+
case "add":
|
|
384
|
+
i ? a && s(o.get("length")) : (s(o.get(at)), p(e) && s(o.get(ot)));
|
|
385
|
+
break;
|
|
386
|
+
case "delete":
|
|
387
|
+
i || (s(o.get(at)), p(e) && s(o.get(ot)));
|
|
388
|
+
break;
|
|
389
|
+
case "set":
|
|
390
|
+
p(e) && s(o.get(at));
|
|
391
|
+
break;
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
He();
|
|
395
|
+
}
|
|
396
|
+
function lt(e) {
|
|
397
|
+
let t = /* @__PURE__ */ I(e);
|
|
398
|
+
return t === e ? t : (N(t, "iterate", st), /* @__PURE__ */ F(e) ? t : t.map(en));
|
|
399
|
+
}
|
|
400
|
+
function ut(e) {
|
|
401
|
+
return N(e = /* @__PURE__ */ I(e), "iterate", st), e;
|
|
402
|
+
}
|
|
403
|
+
function dt(e, t) {
|
|
404
|
+
return /* @__PURE__ */ Zt(e) ? tn(/* @__PURE__ */ Xt(e) ? en(t) : t) : en(t);
|
|
405
|
+
}
|
|
406
|
+
var ft = {
|
|
407
|
+
__proto__: null,
|
|
408
|
+
[Symbol.iterator]() {
|
|
409
|
+
return pt(this, Symbol.iterator, (e) => dt(this, e));
|
|
410
|
+
},
|
|
411
|
+
concat(...e) {
|
|
412
|
+
return lt(this).concat(...e.map((e) => f(e) ? lt(e) : e));
|
|
413
|
+
},
|
|
414
|
+
entries() {
|
|
415
|
+
return pt(this, "entries", (e) => (e[1] = dt(this, e[1]), e));
|
|
416
|
+
},
|
|
417
|
+
every(e, t) {
|
|
418
|
+
return ht(this, "every", e, t, void 0, arguments);
|
|
419
|
+
},
|
|
420
|
+
filter(e, t) {
|
|
421
|
+
return ht(this, "filter", e, t, (e) => e.map((e) => dt(this, e)), arguments);
|
|
422
|
+
},
|
|
423
|
+
find(e, t) {
|
|
424
|
+
return ht(this, "find", e, t, (e) => dt(this, e), arguments);
|
|
425
|
+
},
|
|
426
|
+
findIndex(e, t) {
|
|
427
|
+
return ht(this, "findIndex", e, t, void 0, arguments);
|
|
428
|
+
},
|
|
429
|
+
findLast(e, t) {
|
|
430
|
+
return ht(this, "findLast", e, t, (e) => dt(this, e), arguments);
|
|
431
|
+
},
|
|
432
|
+
findLastIndex(e, t) {
|
|
433
|
+
return ht(this, "findLastIndex", e, t, void 0, arguments);
|
|
434
|
+
},
|
|
435
|
+
forEach(e, t) {
|
|
436
|
+
return ht(this, "forEach", e, t, void 0, arguments);
|
|
437
|
+
},
|
|
438
|
+
includes(...e) {
|
|
439
|
+
return _t(this, "includes", e);
|
|
440
|
+
},
|
|
441
|
+
indexOf(...e) {
|
|
442
|
+
return _t(this, "indexOf", e);
|
|
443
|
+
},
|
|
444
|
+
join(e) {
|
|
445
|
+
return lt(this).join(e);
|
|
446
|
+
},
|
|
447
|
+
lastIndexOf(...e) {
|
|
448
|
+
return _t(this, "lastIndexOf", e);
|
|
449
|
+
},
|
|
450
|
+
map(e, t) {
|
|
451
|
+
return ht(this, "map", e, t, void 0, arguments);
|
|
452
|
+
},
|
|
453
|
+
pop() {
|
|
454
|
+
return vt(this, "pop");
|
|
455
|
+
},
|
|
456
|
+
push(...e) {
|
|
457
|
+
return vt(this, "push", e);
|
|
458
|
+
},
|
|
459
|
+
reduce(e, ...t) {
|
|
460
|
+
return gt(this, "reduce", e, t);
|
|
461
|
+
},
|
|
462
|
+
reduceRight(e, ...t) {
|
|
463
|
+
return gt(this, "reduceRight", e, t);
|
|
464
|
+
},
|
|
465
|
+
shift() {
|
|
466
|
+
return vt(this, "shift");
|
|
467
|
+
},
|
|
468
|
+
some(e, t) {
|
|
469
|
+
return ht(this, "some", e, t, void 0, arguments);
|
|
470
|
+
},
|
|
471
|
+
splice(...e) {
|
|
472
|
+
return vt(this, "splice", e);
|
|
473
|
+
},
|
|
474
|
+
toReversed() {
|
|
475
|
+
return lt(this).toReversed();
|
|
476
|
+
},
|
|
477
|
+
toSorted(e) {
|
|
478
|
+
return lt(this).toSorted(e);
|
|
479
|
+
},
|
|
480
|
+
toSpliced(...e) {
|
|
481
|
+
return lt(this).toSpliced(...e);
|
|
482
|
+
},
|
|
483
|
+
unshift(...e) {
|
|
484
|
+
return vt(this, "unshift", e);
|
|
485
|
+
},
|
|
486
|
+
values() {
|
|
487
|
+
return pt(this, "values", (e) => dt(this, e));
|
|
488
|
+
}
|
|
489
|
+
};
|
|
490
|
+
function pt(e, t, n) {
|
|
491
|
+
let r = ut(e), i = r[t]();
|
|
492
|
+
return r !== e && !/* @__PURE__ */ F(e) && (i._next = i.next, i.next = () => {
|
|
493
|
+
let e = i._next();
|
|
494
|
+
return e.done || (e.value = n(e.value)), e;
|
|
495
|
+
}), i;
|
|
496
|
+
}
|
|
497
|
+
var mt = Array.prototype;
|
|
498
|
+
function ht(e, t, n, r, i, a) {
|
|
499
|
+
let o = ut(e), s = o !== e && !/* @__PURE__ */ F(e), c = o[t];
|
|
500
|
+
if (c !== mt[t]) {
|
|
501
|
+
let t = c.apply(e, a);
|
|
502
|
+
return s ? en(t) : t;
|
|
503
|
+
}
|
|
504
|
+
let l = n;
|
|
505
|
+
o !== e && (s ? l = function(t, r) {
|
|
506
|
+
return n.call(this, dt(e, t), r, e);
|
|
507
|
+
} : n.length > 2 && (l = function(t, r) {
|
|
508
|
+
return n.call(this, t, r, e);
|
|
509
|
+
}));
|
|
510
|
+
let u = c.call(o, l, r);
|
|
511
|
+
return s && i ? i(u) : u;
|
|
512
|
+
}
|
|
513
|
+
function gt(e, t, n, r) {
|
|
514
|
+
let i = ut(e), a = i !== e && !/* @__PURE__ */ F(e), o = n, s = !1;
|
|
515
|
+
i !== e && (a ? (s = r.length === 0, o = function(t, r, i) {
|
|
516
|
+
return s && (s = !1, t = dt(e, t)), n.call(this, t, dt(e, r), i, e);
|
|
517
|
+
}) : n.length > 3 && (o = function(t, r, i) {
|
|
518
|
+
return n.call(this, t, r, i, e);
|
|
519
|
+
}));
|
|
520
|
+
let c = i[t](o, ...r);
|
|
521
|
+
return s ? dt(e, c) : c;
|
|
522
|
+
}
|
|
523
|
+
function _t(e, t, n) {
|
|
524
|
+
let r = /* @__PURE__ */ I(e);
|
|
525
|
+
N(r, "iterate", st);
|
|
526
|
+
let i = r[t](...n);
|
|
527
|
+
return (i === -1 || i === !1) && /* @__PURE__ */ Qt(n[0]) ? (n[0] = /* @__PURE__ */ I(n[0]), r[t](...n)) : i;
|
|
528
|
+
}
|
|
529
|
+
function vt(e, t, n = []) {
|
|
530
|
+
Ze(), Ve();
|
|
531
|
+
let r = (/* @__PURE__ */ I(e))[t].apply(e, n);
|
|
532
|
+
return He(), Qe(), r;
|
|
533
|
+
}
|
|
534
|
+
var yt = /* @__PURE__ */ t("__proto__,__v_isRef,__isVue"), bt = new Set(/* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(v));
|
|
535
|
+
function xt(e) {
|
|
536
|
+
v(e) || (e = String(e));
|
|
537
|
+
let t = /* @__PURE__ */ I(this);
|
|
538
|
+
return N(t, "has", e), t.hasOwnProperty(e);
|
|
539
|
+
}
|
|
540
|
+
var St = class {
|
|
541
|
+
constructor(e = !1, t = !1) {
|
|
542
|
+
this._isReadonly = e, this._isShallow = t;
|
|
543
|
+
}
|
|
544
|
+
get(e, t, n) {
|
|
545
|
+
if (t === "__v_skip") return e.__v_skip;
|
|
546
|
+
let r = this._isReadonly, i = this._isShallow;
|
|
547
|
+
if (t === "__v_isReactive") return !r;
|
|
548
|
+
if (t === "__v_isReadonly") return r;
|
|
549
|
+
if (t === "__v_isShallow") return i;
|
|
550
|
+
if (t === "__v_raw") return n === (r ? i ? Ut : Ht : i ? Vt : Bt).get(e) || Object.getPrototypeOf(e) === Object.getPrototypeOf(n) ? e : void 0;
|
|
551
|
+
let a = f(e);
|
|
552
|
+
if (!r) {
|
|
553
|
+
let e;
|
|
554
|
+
if (a && (e = ft[t])) return e;
|
|
555
|
+
if (t === "hasOwnProperty") return xt;
|
|
556
|
+
}
|
|
557
|
+
let o = Reflect.get(e, t, /* @__PURE__ */ L(e) ? e : n);
|
|
558
|
+
if ((v(t) ? bt.has(t) : yt(t)) || (r || N(e, "get", t), i)) return o;
|
|
559
|
+
if (/* @__PURE__ */ L(o)) {
|
|
560
|
+
let e = a && ee(t) ? o : o.value;
|
|
561
|
+
return r && y(e) ? /* @__PURE__ */ Jt(e) : e;
|
|
562
|
+
}
|
|
563
|
+
return y(o) ? r ? /* @__PURE__ */ Jt(o) : /* @__PURE__ */ Kt(o) : o;
|
|
564
|
+
}
|
|
565
|
+
}, Ct = class extends St {
|
|
566
|
+
constructor(e = !1) {
|
|
567
|
+
super(!1, e);
|
|
568
|
+
}
|
|
569
|
+
set(e, t, n, r) {
|
|
570
|
+
let i = e[t], a = f(e) && ee(t);
|
|
571
|
+
if (!this._isShallow) {
|
|
572
|
+
let r = /* @__PURE__ */ Zt(i);
|
|
573
|
+
if (!/* @__PURE__ */ F(n) && !/* @__PURE__ */ Zt(n) && (i = /* @__PURE__ */ I(i), n = /* @__PURE__ */ I(n)), !a && /* @__PURE__ */ L(i) && !/* @__PURE__ */ L(n)) return r ? (process.env.NODE_ENV !== "production" && je(`Set operation on key "${String(t)}" failed: target is readonly.`, e[t]), !0) : (i.value = n, !0);
|
|
574
|
+
}
|
|
575
|
+
let o = a ? Number(t) < e.length : d(e, t), s = Reflect.set(e, t, n, /* @__PURE__ */ L(e) ? e : r);
|
|
576
|
+
return e === /* @__PURE__ */ I(r) && (o ? se(n, i) && ct(e, "set", t, n, i) : ct(e, "add", t, n)), s;
|
|
577
|
+
}
|
|
578
|
+
deleteProperty(e, t) {
|
|
579
|
+
let n = d(e, t), r = e[t], i = Reflect.deleteProperty(e, t);
|
|
580
|
+
return i && n && ct(e, "delete", t, void 0, r), i;
|
|
581
|
+
}
|
|
582
|
+
has(e, t) {
|
|
583
|
+
let n = Reflect.has(e, t);
|
|
584
|
+
return (!v(t) || !bt.has(t)) && N(e, "has", t), n;
|
|
585
|
+
}
|
|
586
|
+
ownKeys(e) {
|
|
587
|
+
return N(e, "iterate", f(e) ? "length" : at), Reflect.ownKeys(e);
|
|
588
|
+
}
|
|
589
|
+
}, wt = class extends St {
|
|
590
|
+
constructor(e = !1) {
|
|
591
|
+
super(!0, e);
|
|
592
|
+
}
|
|
593
|
+
set(e, t) {
|
|
594
|
+
return process.env.NODE_ENV !== "production" && je(`Set operation on key "${String(t)}" failed: target is readonly.`, e), !0;
|
|
595
|
+
}
|
|
596
|
+
deleteProperty(e, t) {
|
|
597
|
+
return process.env.NODE_ENV !== "production" && je(`Delete operation on key "${String(t)}" failed: target is readonly.`, e), !0;
|
|
598
|
+
}
|
|
599
|
+
}, Tt = /* @__PURE__ */ new Ct(), Et = /* @__PURE__ */ new wt(), Dt = /* @__PURE__ */ new Ct(!0), Ot = /* @__PURE__ */ new wt(!0), kt = (e) => e, At = (e) => Reflect.getPrototypeOf(e);
|
|
600
|
+
function jt(e, t, n) {
|
|
601
|
+
return function(...r) {
|
|
602
|
+
let i = this.__v_raw, a = /* @__PURE__ */ I(i), o = p(a), s = e === "entries" || e === Symbol.iterator && o, l = e === "keys" && o, u = i[e](...r), d = n ? kt : t ? tn : en;
|
|
603
|
+
return !t && N(a, "iterate", l ? ot : at), c(Object.create(u), { next() {
|
|
604
|
+
let { value: e, done: t } = u.next();
|
|
605
|
+
return t ? {
|
|
606
|
+
value: e,
|
|
607
|
+
done: t
|
|
608
|
+
} : {
|
|
609
|
+
value: s ? [d(e[0]), d(e[1])] : d(e),
|
|
610
|
+
done: t
|
|
611
|
+
};
|
|
612
|
+
} });
|
|
613
|
+
};
|
|
614
|
+
}
|
|
615
|
+
function Mt(e) {
|
|
616
|
+
return function(...t) {
|
|
617
|
+
if (process.env.NODE_ENV !== "production") {
|
|
618
|
+
let n = t[0] ? `on key "${t[0]}" ` : "";
|
|
619
|
+
je(`${ae(e)} operation ${n}failed: target is readonly.`, /* @__PURE__ */ I(this));
|
|
620
|
+
}
|
|
621
|
+
return e === "delete" ? !1 : e === "clear" ? void 0 : this;
|
|
622
|
+
};
|
|
623
|
+
}
|
|
624
|
+
function Nt(e, t) {
|
|
625
|
+
let n = {
|
|
626
|
+
get(n) {
|
|
627
|
+
let r = this.__v_raw, i = /* @__PURE__ */ I(r), a = /* @__PURE__ */ I(n);
|
|
628
|
+
e || (se(n, a) && N(i, "get", n), N(i, "get", a));
|
|
629
|
+
let { has: o } = At(i), s = t ? kt : e ? tn : en;
|
|
630
|
+
if (o.call(i, n)) return s(r.get(n));
|
|
631
|
+
if (o.call(i, a)) return s(r.get(a));
|
|
632
|
+
r !== i && r.get(n);
|
|
633
|
+
},
|
|
634
|
+
get size() {
|
|
635
|
+
let t = this.__v_raw;
|
|
636
|
+
return !e && N(/* @__PURE__ */ I(t), "iterate", at), t.size;
|
|
637
|
+
},
|
|
638
|
+
has(t) {
|
|
639
|
+
let n = this.__v_raw, r = /* @__PURE__ */ I(n), i = /* @__PURE__ */ I(t);
|
|
640
|
+
return e || (se(t, i) && N(r, "has", t), N(r, "has", i)), t === i ? n.has(t) : n.has(t) || n.has(i);
|
|
641
|
+
},
|
|
642
|
+
forEach(n, r) {
|
|
643
|
+
let i = this, a = i.__v_raw, o = /* @__PURE__ */ I(a), s = t ? kt : e ? tn : en;
|
|
644
|
+
return !e && N(o, "iterate", at), a.forEach((e, t) => n.call(r, s(e), s(t), i));
|
|
645
|
+
}
|
|
646
|
+
};
|
|
647
|
+
return c(n, e ? {
|
|
648
|
+
add: Mt("add"),
|
|
649
|
+
set: Mt("set"),
|
|
650
|
+
delete: Mt("delete"),
|
|
651
|
+
clear: Mt("clear")
|
|
652
|
+
} : {
|
|
653
|
+
add(e) {
|
|
654
|
+
let n = /* @__PURE__ */ I(this), r = At(n), i = /* @__PURE__ */ I(e), a = !t && !/* @__PURE__ */ F(e) && !/* @__PURE__ */ Zt(e) ? i : e;
|
|
655
|
+
return r.has.call(n, a) || se(e, a) && r.has.call(n, e) || se(i, a) && r.has.call(n, i) || (n.add(a), ct(n, "add", a, a)), this;
|
|
656
|
+
},
|
|
657
|
+
set(e, n) {
|
|
658
|
+
!t && !/* @__PURE__ */ F(n) && !/* @__PURE__ */ Zt(n) && (n = /* @__PURE__ */ I(n));
|
|
659
|
+
let r = /* @__PURE__ */ I(this), { has: i, get: a } = At(r), o = i.call(r, e);
|
|
660
|
+
o ? process.env.NODE_ENV !== "production" && zt(r, i, e) : (e = /* @__PURE__ */ I(e), o = i.call(r, e));
|
|
661
|
+
let s = a.call(r, e);
|
|
662
|
+
return r.set(e, n), o ? se(n, s) && ct(r, "set", e, n, s) : ct(r, "add", e, n), this;
|
|
663
|
+
},
|
|
664
|
+
delete(e) {
|
|
665
|
+
let t = /* @__PURE__ */ I(this), { has: n, get: r } = At(t), i = n.call(t, e);
|
|
666
|
+
i ? process.env.NODE_ENV !== "production" && zt(t, n, e) : (e = /* @__PURE__ */ I(e), i = n.call(t, e));
|
|
667
|
+
let a = r ? r.call(t, e) : void 0, o = t.delete(e);
|
|
668
|
+
return i && ct(t, "delete", e, void 0, a), o;
|
|
669
|
+
},
|
|
670
|
+
clear() {
|
|
671
|
+
let e = /* @__PURE__ */ I(this), t = e.size !== 0, n = process.env.NODE_ENV === "production" ? void 0 : p(e) ? new Map(e) : new Set(e), r = e.clear();
|
|
672
|
+
return t && ct(e, "clear", void 0, void 0, n), r;
|
|
673
|
+
}
|
|
674
|
+
}), [
|
|
675
|
+
"keys",
|
|
676
|
+
"values",
|
|
677
|
+
"entries",
|
|
678
|
+
Symbol.iterator
|
|
679
|
+
].forEach((r) => {
|
|
680
|
+
n[r] = jt(r, e, t);
|
|
681
|
+
}), n;
|
|
682
|
+
}
|
|
683
|
+
function Pt(e, t) {
|
|
684
|
+
let n = Nt(e, t);
|
|
685
|
+
return (t, r, i) => r === "__v_isReactive" ? !e : r === "__v_isReadonly" ? e : r === "__v_raw" ? t : Reflect.get(d(n, r) && r in t ? n : t, r, i);
|
|
686
|
+
}
|
|
687
|
+
var Ft = { get: /* @__PURE__ */ Pt(!1, !1) }, It = { get: /* @__PURE__ */ Pt(!1, !0) }, Lt = { get: /* @__PURE__ */ Pt(!0, !1) }, Rt = { get: /* @__PURE__ */ Pt(!0, !0) };
|
|
688
|
+
function zt(e, t, n) {
|
|
689
|
+
let r = /* @__PURE__ */ I(n);
|
|
690
|
+
if (r !== n && t.call(e, r)) {
|
|
691
|
+
let t = C(e);
|
|
692
|
+
je(`Reactive ${t} contains both the raw and reactive versions of the same object${t === "Map" ? " as keys" : ""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`);
|
|
693
|
+
}
|
|
694
|
+
}
|
|
695
|
+
var Bt = /* @__PURE__ */ new WeakMap(), Vt = /* @__PURE__ */ new WeakMap(), Ht = /* @__PURE__ */ new WeakMap(), Ut = /* @__PURE__ */ new WeakMap();
|
|
696
|
+
function Wt(e) {
|
|
697
|
+
switch (e) {
|
|
698
|
+
case "Object":
|
|
699
|
+
case "Array": return 1;
|
|
700
|
+
case "Map":
|
|
701
|
+
case "Set":
|
|
702
|
+
case "WeakMap":
|
|
703
|
+
case "WeakSet": return 2;
|
|
704
|
+
default: return 0;
|
|
705
|
+
}
|
|
706
|
+
}
|
|
707
|
+
function Gt(e) {
|
|
708
|
+
return e.__v_skip || !Object.isExtensible(e) ? 0 : Wt(C(e));
|
|
709
|
+
}
|
|
710
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
711
|
+
function Kt(e) {
|
|
712
|
+
return /* @__PURE__ */ Zt(e) ? e : Yt(e, !1, Tt, Ft, Bt);
|
|
713
|
+
}
|
|
714
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
715
|
+
function qt(e) {
|
|
716
|
+
return Yt(e, !1, Dt, It, Vt);
|
|
717
|
+
}
|
|
718
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
719
|
+
function Jt(e) {
|
|
720
|
+
return Yt(e, !0, Et, Lt, Ht);
|
|
721
|
+
}
|
|
722
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
723
|
+
function P(e) {
|
|
724
|
+
return Yt(e, !0, Ot, Rt, Ut);
|
|
725
|
+
}
|
|
726
|
+
function Yt(e, t, n, r, i) {
|
|
727
|
+
if (!y(e)) return process.env.NODE_ENV !== "production" && je(`value cannot be made ${t ? "readonly" : "reactive"}: ${String(e)}`), e;
|
|
728
|
+
if (e.__v_raw && !(t && e.__v_isReactive)) return e;
|
|
729
|
+
let a = Gt(e);
|
|
730
|
+
if (a === 0) return e;
|
|
731
|
+
let o = i.get(e);
|
|
732
|
+
if (o) return o;
|
|
733
|
+
let s = new Proxy(e, a === 2 ? r : n);
|
|
734
|
+
return i.set(e, s), s;
|
|
735
|
+
}
|
|
736
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
737
|
+
function Xt(e) {
|
|
738
|
+
return /* @__PURE__ */ Zt(e) ? /* @__PURE__ */ Xt(e.__v_raw) : !!(e && e.__v_isReactive);
|
|
739
|
+
}
|
|
740
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
741
|
+
function Zt(e) {
|
|
742
|
+
return !!(e && e.__v_isReadonly);
|
|
743
|
+
}
|
|
744
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
745
|
+
function F(e) {
|
|
746
|
+
return !!(e && e.__v_isShallow);
|
|
747
|
+
}
|
|
748
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
749
|
+
function Qt(e) {
|
|
750
|
+
return e ? !!e.__v_raw : !1;
|
|
751
|
+
}
|
|
752
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
753
|
+
function I(e) {
|
|
754
|
+
let t = e && e.__v_raw;
|
|
755
|
+
return t ? /* @__PURE__ */ I(t) : e;
|
|
756
|
+
}
|
|
757
|
+
function $t(e) {
|
|
758
|
+
return !d(e, "__v_skip") && Object.isExtensible(e) && O(e, "__v_skip", !0), e;
|
|
759
|
+
}
|
|
760
|
+
var en = (e) => y(e) ? /* @__PURE__ */ Kt(e) : e, tn = (e) => y(e) ? /* @__PURE__ */ Jt(e) : e;
|
|
761
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
762
|
+
function L(e) {
|
|
763
|
+
return e ? e.__v_isRef === !0 : !1;
|
|
764
|
+
}
|
|
765
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
766
|
+
function nn(e) {
|
|
767
|
+
return an(e, !1);
|
|
768
|
+
}
|
|
769
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
770
|
+
function rn(e) {
|
|
771
|
+
return an(e, !0);
|
|
772
|
+
}
|
|
773
|
+
function an(e, t) {
|
|
774
|
+
return /* @__PURE__ */ L(e) ? e : new on(e, t);
|
|
775
|
+
}
|
|
776
|
+
var on = class {
|
|
777
|
+
constructor(e, t) {
|
|
778
|
+
this.dep = new nt(), this.__v_isRef = !0, this.__v_isShallow = !1, this._rawValue = t ? e : /* @__PURE__ */ I(e), this._value = t ? e : en(e), this.__v_isShallow = t;
|
|
779
|
+
}
|
|
780
|
+
get value() {
|
|
781
|
+
return process.env.NODE_ENV === "production" ? this.dep.track() : this.dep.track({
|
|
782
|
+
target: this,
|
|
783
|
+
type: "get",
|
|
784
|
+
key: "value"
|
|
785
|
+
}), this._value;
|
|
786
|
+
}
|
|
787
|
+
set value(e) {
|
|
788
|
+
let t = this._rawValue, n = this.__v_isShallow || /* @__PURE__ */ F(e) || /* @__PURE__ */ Zt(e);
|
|
789
|
+
e = n ? e : /* @__PURE__ */ I(e), se(e, t) && (this._rawValue = e, this._value = n ? e : en(e), process.env.NODE_ENV === "production" ? this.dep.trigger() : this.dep.trigger({
|
|
790
|
+
target: this,
|
|
791
|
+
type: "set",
|
|
792
|
+
key: "value",
|
|
793
|
+
newValue: e,
|
|
794
|
+
oldValue: t
|
|
795
|
+
}));
|
|
796
|
+
}
|
|
797
|
+
};
|
|
798
|
+
function R(e) {
|
|
799
|
+
return /* @__PURE__ */ L(e) ? e.value : e;
|
|
800
|
+
}
|
|
801
|
+
function sn(e) {
|
|
802
|
+
return g(e) ? e() : R(e);
|
|
803
|
+
}
|
|
804
|
+
var cn = {
|
|
805
|
+
get: (e, t, n) => t === "__v_raw" ? e : R(Reflect.get(e, t, n)),
|
|
806
|
+
set: (e, t, n, r) => {
|
|
807
|
+
let i = e[t];
|
|
808
|
+
return /* @__PURE__ */ L(i) && !/* @__PURE__ */ L(n) ? (i.value = n, !0) : Reflect.set(e, t, n, r);
|
|
809
|
+
}
|
|
810
|
+
};
|
|
811
|
+
function ln(e) {
|
|
812
|
+
return /* @__PURE__ */ Xt(e) ? e : new Proxy(e, cn);
|
|
813
|
+
}
|
|
814
|
+
var un = class {
|
|
815
|
+
constructor(e, t, n) {
|
|
816
|
+
this.fn = e, this.setter = t, this._value = void 0, this.dep = new nt(this), this.__v_isRef = !0, this.deps = void 0, this.depsTail = void 0, this.flags = 16, this.globalVersion = et - 1, this.next = void 0, this.effect = this, this.__v_isReadonly = !t, this.isSSR = n;
|
|
817
|
+
}
|
|
818
|
+
notify() {
|
|
819
|
+
if (this.flags |= 16, !(this.flags & 8) && M !== this) return Be(this, !0), !0;
|
|
820
|
+
process.env.NODE_ENV;
|
|
821
|
+
}
|
|
822
|
+
get value() {
|
|
823
|
+
let e = process.env.NODE_ENV === "production" ? this.dep.track() : this.dep.track({
|
|
824
|
+
target: this,
|
|
825
|
+
type: "get",
|
|
826
|
+
key: "value"
|
|
827
|
+
});
|
|
828
|
+
return Ke(this), e && (e.version = this.dep.version), this._value;
|
|
829
|
+
}
|
|
830
|
+
set value(e) {
|
|
831
|
+
this.setter ? this.setter(e) : process.env.NODE_ENV !== "production" && je("Write operation failed: computed value is readonly");
|
|
832
|
+
}
|
|
833
|
+
};
|
|
834
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
835
|
+
function dn(e, t, n = !1) {
|
|
836
|
+
let r, i;
|
|
837
|
+
g(e) ? r = e : (r = e.get, i = e.set);
|
|
838
|
+
let a = new un(r, i, n);
|
|
839
|
+
return process.env.NODE_ENV !== "production" && t && !n && (a.onTrack = t.onTrack, a.onTrigger = t.onTrigger), a;
|
|
840
|
+
}
|
|
841
|
+
var fn = {}, pn = /* @__PURE__ */ new WeakMap(), mn = void 0;
|
|
842
|
+
function hn(e, t = !1, n = mn) {
|
|
843
|
+
if (n) {
|
|
844
|
+
let t = pn.get(n);
|
|
845
|
+
t || pn.set(n, t = []), t.push(e);
|
|
846
|
+
} else process.env.NODE_ENV !== "production" && !t && je("onWatcherCleanup() was called when there was no active watcher to associate with.");
|
|
847
|
+
}
|
|
848
|
+
function gn(e, t, r = n) {
|
|
849
|
+
let { immediate: a, deep: o, once: s, scheduler: c, augmentJob: u, call: d } = r, p = (e) => {
|
|
850
|
+
(r.onWarn || je)("Invalid watch source: ", e, "A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.");
|
|
851
|
+
}, m = (e) => o ? e : /* @__PURE__ */ F(e) || o === !1 || o === 0 ? _n(e, 1) : _n(e), h, _, v, y, b = !1, x = !1;
|
|
852
|
+
if (/* @__PURE__ */ L(e) ? (_ = () => e.value, b = /* @__PURE__ */ F(e)) : /* @__PURE__ */ Xt(e) ? (_ = () => m(e), b = !0) : f(e) ? (x = !0, b = e.some((e) => /* @__PURE__ */ Xt(e) || /* @__PURE__ */ F(e)), _ = () => e.map((e) => {
|
|
853
|
+
if (/* @__PURE__ */ L(e)) return e.value;
|
|
854
|
+
if (/* @__PURE__ */ Xt(e)) return m(e);
|
|
855
|
+
if (g(e)) return d ? d(e, 2) : e();
|
|
856
|
+
process.env.NODE_ENV !== "production" && p(e);
|
|
857
|
+
})) : g(e) ? _ = t ? d ? () => d(e, 2) : e : () => {
|
|
858
|
+
if (v) {
|
|
859
|
+
Ze();
|
|
860
|
+
try {
|
|
861
|
+
v();
|
|
862
|
+
} finally {
|
|
863
|
+
Qe();
|
|
864
|
+
}
|
|
865
|
+
}
|
|
866
|
+
let t = mn;
|
|
867
|
+
mn = h;
|
|
868
|
+
try {
|
|
869
|
+
return d ? d(e, 3, [y]) : e(y);
|
|
870
|
+
} finally {
|
|
871
|
+
mn = t;
|
|
872
|
+
}
|
|
873
|
+
} : (_ = i, process.env.NODE_ENV !== "production" && p(e)), t && o) {
|
|
874
|
+
let e = _, t = o === !0 ? Infinity : o;
|
|
875
|
+
_ = () => _n(e(), t);
|
|
876
|
+
}
|
|
877
|
+
let S = Ne(), C = () => {
|
|
878
|
+
h.stop(), S && S.active && l(S.effects, h);
|
|
879
|
+
};
|
|
880
|
+
if (s && t) {
|
|
881
|
+
let e = t;
|
|
882
|
+
t = (...t) => {
|
|
883
|
+
e(...t), C();
|
|
884
|
+
};
|
|
885
|
+
}
|
|
886
|
+
let w = x ? Array(e.length).fill(fn) : fn, ee = (e) => {
|
|
887
|
+
if (!(!(h.flags & 1) || !h.dirty && !e)) if (t) {
|
|
888
|
+
let e = h.run();
|
|
889
|
+
if (o || b || (x ? e.some((e, t) => se(e, w[t])) : se(e, w))) {
|
|
890
|
+
v && v();
|
|
891
|
+
let n = mn;
|
|
892
|
+
mn = h;
|
|
893
|
+
try {
|
|
894
|
+
let n = [
|
|
895
|
+
e,
|
|
896
|
+
w === fn ? void 0 : x && w[0] === fn ? [] : w,
|
|
897
|
+
y
|
|
898
|
+
];
|
|
899
|
+
w = e, d ? d(t, 3, n) : t(...n);
|
|
900
|
+
} finally {
|
|
901
|
+
mn = n;
|
|
902
|
+
}
|
|
903
|
+
}
|
|
904
|
+
} else h.run();
|
|
905
|
+
};
|
|
906
|
+
return u && u(ee), h = new Ie(_), h.scheduler = c ? () => c(ee, !1) : ee, y = (e) => hn(e, !1, h), v = h.onStop = () => {
|
|
907
|
+
let e = pn.get(h);
|
|
908
|
+
if (e) {
|
|
909
|
+
if (d) d(e, 4);
|
|
910
|
+
else for (let t of e) t();
|
|
911
|
+
pn.delete(h);
|
|
912
|
+
}
|
|
913
|
+
}, process.env.NODE_ENV !== "production" && (h.onTrack = r.onTrack, h.onTrigger = r.onTrigger), t ? a ? ee(!0) : w = h.run() : c ? c(ee.bind(null, !0), !0) : h.run(), C.pause = h.pause.bind(h), C.resume = h.resume.bind(h), C.stop = C, C;
|
|
914
|
+
}
|
|
915
|
+
function _n(e, t = Infinity, n) {
|
|
916
|
+
if (t <= 0 || !y(e) || e.__v_skip || (n ||= /* @__PURE__ */ new Map(), (n.get(e) || 0) >= t)) return e;
|
|
917
|
+
if (n.set(e, t), t--, /* @__PURE__ */ L(e)) _n(e.value, t, n);
|
|
918
|
+
else if (f(e)) for (let r = 0; r < e.length; r++) _n(e[r], t, n);
|
|
919
|
+
else if (m(e) || p(e)) e.forEach((e) => {
|
|
920
|
+
_n(e, t, n);
|
|
921
|
+
});
|
|
922
|
+
else if (w(e)) {
|
|
923
|
+
for (let r in e) _n(e[r], t, n);
|
|
924
|
+
for (let r of Object.getOwnPropertySymbols(e)) Object.prototype.propertyIsEnumerable.call(e, r) && _n(e[r], t, n);
|
|
925
|
+
}
|
|
926
|
+
return e;
|
|
927
|
+
}
|
|
928
|
+
//#endregion
|
|
929
|
+
//#region ../../node_modules/.pnpm/@vue+runtime-core@3.5.34/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js
|
|
930
|
+
var vn = [];
|
|
931
|
+
function yn(e) {
|
|
932
|
+
vn.push(e);
|
|
933
|
+
}
|
|
934
|
+
function bn() {
|
|
935
|
+
vn.pop();
|
|
936
|
+
}
|
|
937
|
+
var xn = !1;
|
|
938
|
+
function z(e, ...t) {
|
|
939
|
+
if (xn) return;
|
|
940
|
+
xn = !0, Ze();
|
|
941
|
+
let n = vn.length ? vn[vn.length - 1].component : null, r = n && n.appContext.config.warnHandler, i = Sn();
|
|
942
|
+
if (r) On(r, n, 11, [
|
|
943
|
+
e + t.map((e) => e.toString?.call(e) ?? JSON.stringify(e)).join(""),
|
|
944
|
+
n && n.proxy,
|
|
945
|
+
i.map(({ vnode: e }) => `at <${Xo(n, e.type)}>`).join("\n"),
|
|
946
|
+
i
|
|
947
|
+
]);
|
|
948
|
+
else {
|
|
949
|
+
let n = [`[Vue warn]: ${e}`, ...t];
|
|
950
|
+
i.length && n.push("\n", ...Cn(i)), console.warn(...n);
|
|
951
|
+
}
|
|
952
|
+
Qe(), xn = !1;
|
|
953
|
+
}
|
|
954
|
+
function Sn() {
|
|
955
|
+
let e = vn[vn.length - 1];
|
|
956
|
+
if (!e) return [];
|
|
957
|
+
let t = [];
|
|
958
|
+
for (; e;) {
|
|
959
|
+
let n = t[0];
|
|
960
|
+
n && n.vnode === e ? n.recurseCount++ : t.push({
|
|
961
|
+
vnode: e,
|
|
962
|
+
recurseCount: 0
|
|
963
|
+
});
|
|
964
|
+
let r = e.component && e.component.parent;
|
|
965
|
+
e = r && r.vnode;
|
|
966
|
+
}
|
|
967
|
+
return t;
|
|
968
|
+
}
|
|
969
|
+
function Cn(e) {
|
|
970
|
+
let t = [];
|
|
971
|
+
return e.forEach((e, n) => {
|
|
972
|
+
t.push(...n === 0 ? [] : ["\n"], ...wn(e));
|
|
973
|
+
}), t;
|
|
974
|
+
}
|
|
975
|
+
function wn({ vnode: e, recurseCount: t }) {
|
|
976
|
+
let n = t > 0 ? `... (${t} recursive calls)` : "", r = e.component ? e.component.parent == null : !1, i = ` at <${Xo(e.component, e.type, r)}`, a = ">" + n;
|
|
977
|
+
return e.props ? [
|
|
978
|
+
i,
|
|
979
|
+
...Tn(e.props),
|
|
980
|
+
a
|
|
981
|
+
] : [i + a];
|
|
982
|
+
}
|
|
983
|
+
function Tn(e) {
|
|
984
|
+
let t = [], n = Object.keys(e);
|
|
985
|
+
return n.slice(0, 3).forEach((n) => {
|
|
986
|
+
t.push(...En(n, e[n]));
|
|
987
|
+
}), n.length > 3 && t.push(" ..."), t;
|
|
988
|
+
}
|
|
989
|
+
function En(e, t, n) {
|
|
990
|
+
return _(t) ? (t = JSON.stringify(t), n ? t : [`${e}=${t}`]) : typeof t == "number" || typeof t == "boolean" || t == null ? n ? t : [`${e}=${t}`] : /* @__PURE__ */ L(t) ? (t = En(e, /* @__PURE__ */ I(t.value), !0), n ? t : [
|
|
991
|
+
`${e}=Ref<`,
|
|
992
|
+
t,
|
|
993
|
+
">"
|
|
994
|
+
]) : g(t) ? [`${e}=fn${t.name ? `<${t.name}>` : ""}`] : (t = /* @__PURE__ */ I(t), n ? t : [`${e}=`, t]);
|
|
995
|
+
}
|
|
996
|
+
var Dn = {
|
|
997
|
+
sp: "serverPrefetch hook",
|
|
998
|
+
bc: "beforeCreate hook",
|
|
999
|
+
c: "created hook",
|
|
1000
|
+
bm: "beforeMount hook",
|
|
1001
|
+
m: "mounted hook",
|
|
1002
|
+
bu: "beforeUpdate hook",
|
|
1003
|
+
u: "updated",
|
|
1004
|
+
bum: "beforeUnmount hook",
|
|
1005
|
+
um: "unmounted hook",
|
|
1006
|
+
a: "activated hook",
|
|
1007
|
+
da: "deactivated hook",
|
|
1008
|
+
ec: "errorCaptured hook",
|
|
1009
|
+
rtc: "renderTracked hook",
|
|
1010
|
+
rtg: "renderTriggered hook",
|
|
1011
|
+
0: "setup function",
|
|
1012
|
+
1: "render function",
|
|
1013
|
+
2: "watcher getter",
|
|
1014
|
+
3: "watcher callback",
|
|
1015
|
+
4: "watcher cleanup function",
|
|
1016
|
+
5: "native event handler",
|
|
1017
|
+
6: "component event handler",
|
|
1018
|
+
7: "vnode hook",
|
|
1019
|
+
8: "directive hook",
|
|
1020
|
+
9: "transition hook",
|
|
1021
|
+
10: "app errorHandler",
|
|
1022
|
+
11: "app warnHandler",
|
|
1023
|
+
12: "ref function",
|
|
1024
|
+
13: "async component loader",
|
|
1025
|
+
14: "scheduler flush",
|
|
1026
|
+
15: "component update",
|
|
1027
|
+
16: "app unmount cleanup function"
|
|
1028
|
+
};
|
|
1029
|
+
function On(e, t, n, r) {
|
|
1030
|
+
try {
|
|
1031
|
+
return r ? e(...r) : e();
|
|
1032
|
+
} catch (e) {
|
|
1033
|
+
An(e, t, n);
|
|
1034
|
+
}
|
|
1035
|
+
}
|
|
1036
|
+
function kn(e, t, n, r) {
|
|
1037
|
+
if (g(e)) {
|
|
1038
|
+
let i = On(e, t, n, r);
|
|
1039
|
+
return i && b(i) && i.catch((e) => {
|
|
1040
|
+
An(e, t, n);
|
|
1041
|
+
}), i;
|
|
1042
|
+
}
|
|
1043
|
+
if (f(e)) {
|
|
1044
|
+
let i = [];
|
|
1045
|
+
for (let a = 0; a < e.length; a++) i.push(kn(e[a], t, n, r));
|
|
1046
|
+
return i;
|
|
1047
|
+
} else process.env.NODE_ENV !== "production" && z(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`);
|
|
1048
|
+
}
|
|
1049
|
+
function An(e, t, r, i = !0) {
|
|
1050
|
+
let a = t ? t.vnode : null, { errorHandler: o, throwUnhandledErrorInProduction: s } = t && t.appContext.config || n;
|
|
1051
|
+
if (t) {
|
|
1052
|
+
let n = t.parent, i = t.proxy, a = process.env.NODE_ENV === "production" ? `https://vuejs.org/error-reference/#runtime-${r}` : Dn[r];
|
|
1053
|
+
for (; n;) {
|
|
1054
|
+
let t = n.ec;
|
|
1055
|
+
if (t) {
|
|
1056
|
+
for (let n = 0; n < t.length; n++) if (t[n](e, i, a) === !1) return;
|
|
1057
|
+
}
|
|
1058
|
+
n = n.parent;
|
|
1059
|
+
}
|
|
1060
|
+
if (o) {
|
|
1061
|
+
Ze(), On(o, null, 10, [
|
|
1062
|
+
e,
|
|
1063
|
+
i,
|
|
1064
|
+
a
|
|
1065
|
+
]), Qe();
|
|
1066
|
+
return;
|
|
1067
|
+
}
|
|
1068
|
+
}
|
|
1069
|
+
jn(e, r, a, i, s);
|
|
1070
|
+
}
|
|
1071
|
+
function jn(e, t, n, r = !0, i = !1) {
|
|
1072
|
+
if (process.env.NODE_ENV !== "production") {
|
|
1073
|
+
let i = Dn[t];
|
|
1074
|
+
if (n && yn(n), z(`Unhandled error${i ? ` during execution of ${i}` : ""}`), n && bn(), r) throw e;
|
|
1075
|
+
console.error(e);
|
|
1076
|
+
} else if (i) throw e;
|
|
1077
|
+
else console.error(e);
|
|
1078
|
+
}
|
|
1079
|
+
var B = [], Mn = -1, Nn = [], Pn = null, Fn = 0, In = /* @__PURE__ */ Promise.resolve(), Ln = null, Rn = 100;
|
|
1080
|
+
function zn(e) {
|
|
1081
|
+
let t = Ln || In;
|
|
1082
|
+
return e ? t.then(this ? e.bind(this) : e) : t;
|
|
1083
|
+
}
|
|
1084
|
+
function Bn(e) {
|
|
1085
|
+
let t = Mn + 1, n = B.length;
|
|
1086
|
+
for (; t < n;) {
|
|
1087
|
+
let r = t + n >>> 1, i = B[r], a = Kn(i);
|
|
1088
|
+
a < e || a === e && i.flags & 2 ? t = r + 1 : n = r;
|
|
1089
|
+
}
|
|
1090
|
+
return t;
|
|
1091
|
+
}
|
|
1092
|
+
function Vn(e) {
|
|
1093
|
+
if (!(e.flags & 1)) {
|
|
1094
|
+
let t = Kn(e), n = B[B.length - 1];
|
|
1095
|
+
!n || !(e.flags & 2) && t >= Kn(n) ? B.push(e) : B.splice(Bn(t), 0, e), e.flags |= 1, Hn();
|
|
1096
|
+
}
|
|
1097
|
+
}
|
|
1098
|
+
function Hn() {
|
|
1099
|
+
Ln ||= In.then(qn);
|
|
1100
|
+
}
|
|
1101
|
+
function Un(e) {
|
|
1102
|
+
f(e) ? Nn.push(...e) : Pn && e.id === -1 ? Pn.splice(Fn + 1, 0, e) : e.flags & 1 || (Nn.push(e), e.flags |= 1), Hn();
|
|
1103
|
+
}
|
|
1104
|
+
function Wn(e, t, n = Mn + 1) {
|
|
1105
|
+
for (process.env.NODE_ENV !== "production" && (t ||= /* @__PURE__ */ new Map()); n < B.length; n++) {
|
|
1106
|
+
let r = B[n];
|
|
1107
|
+
if (r && r.flags & 2) {
|
|
1108
|
+
if (e && r.id !== e.uid || process.env.NODE_ENV !== "production" && Jn(t, r)) continue;
|
|
1109
|
+
B.splice(n, 1), n--, r.flags & 4 && (r.flags &= -2), r(), r.flags & 4 || (r.flags &= -2);
|
|
1110
|
+
}
|
|
1111
|
+
}
|
|
1112
|
+
}
|
|
1113
|
+
function Gn(e) {
|
|
1114
|
+
if (Nn.length) {
|
|
1115
|
+
let t = [...new Set(Nn)].sort((e, t) => Kn(e) - Kn(t));
|
|
1116
|
+
if (Nn.length = 0, Pn) {
|
|
1117
|
+
Pn.push(...t);
|
|
1118
|
+
return;
|
|
1119
|
+
}
|
|
1120
|
+
for (Pn = t, process.env.NODE_ENV !== "production" && (e ||= /* @__PURE__ */ new Map()), Fn = 0; Fn < Pn.length; Fn++) {
|
|
1121
|
+
let t = Pn[Fn];
|
|
1122
|
+
process.env.NODE_ENV !== "production" && Jn(e, t) || (t.flags & 4 && (t.flags &= -2), t.flags & 8 || t(), t.flags &= -2);
|
|
1123
|
+
}
|
|
1124
|
+
Pn = null, Fn = 0;
|
|
1125
|
+
}
|
|
1126
|
+
}
|
|
1127
|
+
var Kn = (e) => e.id == null ? e.flags & 2 ? -1 : Infinity : e.id;
|
|
1128
|
+
function qn(e) {
|
|
1129
|
+
process.env.NODE_ENV !== "production" && (e ||= /* @__PURE__ */ new Map());
|
|
1130
|
+
let t = process.env.NODE_ENV === "production" ? i : (t) => Jn(e, t);
|
|
1131
|
+
try {
|
|
1132
|
+
for (Mn = 0; Mn < B.length; Mn++) {
|
|
1133
|
+
let e = B[Mn];
|
|
1134
|
+
if (e && !(e.flags & 8)) {
|
|
1135
|
+
if (process.env.NODE_ENV !== "production" && t(e)) continue;
|
|
1136
|
+
e.flags & 4 && (e.flags &= -2), On(e, e.i, e.i ? 15 : 14), e.flags & 4 || (e.flags &= -2);
|
|
1137
|
+
}
|
|
1138
|
+
}
|
|
1139
|
+
} finally {
|
|
1140
|
+
for (; Mn < B.length; Mn++) {
|
|
1141
|
+
let e = B[Mn];
|
|
1142
|
+
e && (e.flags &= -2);
|
|
1143
|
+
}
|
|
1144
|
+
Mn = -1, B.length = 0, Gn(e), Ln = null, (B.length || Nn.length) && qn(e);
|
|
1145
|
+
}
|
|
1146
|
+
}
|
|
1147
|
+
function Jn(e, t) {
|
|
1148
|
+
let n = e.get(t) || 0;
|
|
1149
|
+
if (n > Rn) {
|
|
1150
|
+
let e = t.i, n = e && Yo(e.type);
|
|
1151
|
+
return An(`Maximum recursive updates exceeded${n ? ` in component <${n}>` : ""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`, null, 10), !0;
|
|
1152
|
+
}
|
|
1153
|
+
return e.set(t, n + 1), !1;
|
|
1154
|
+
}
|
|
1155
|
+
var Yn = !1, Xn = (e) => {
|
|
1156
|
+
try {
|
|
1157
|
+
return Yn;
|
|
1158
|
+
} finally {
|
|
1159
|
+
Yn = e;
|
|
1160
|
+
}
|
|
1161
|
+
}, Zn = /* @__PURE__ */ new Map();
|
|
1162
|
+
process.env.NODE_ENV !== "production" && (de().__VUE_HMR_RUNTIME__ = {
|
|
1163
|
+
createRecord: or(tr),
|
|
1164
|
+
rerender: or(rr),
|
|
1165
|
+
reload: or(ir)
|
|
1166
|
+
});
|
|
1167
|
+
var Qn = /* @__PURE__ */ new Map();
|
|
1168
|
+
function $n(e) {
|
|
1169
|
+
let t = e.type.__hmrId, n = Qn.get(t);
|
|
1170
|
+
n ||= (tr(t, e.type), Qn.get(t)), n.instances.add(e);
|
|
1171
|
+
}
|
|
1172
|
+
function er(e) {
|
|
1173
|
+
Qn.get(e.type.__hmrId).instances.delete(e);
|
|
1174
|
+
}
|
|
1175
|
+
function tr(e, t) {
|
|
1176
|
+
return Qn.has(e) ? !1 : (Qn.set(e, {
|
|
1177
|
+
initialDef: nr(t),
|
|
1178
|
+
instances: /* @__PURE__ */ new Set()
|
|
1179
|
+
}), !0);
|
|
1180
|
+
}
|
|
1181
|
+
function nr(e) {
|
|
1182
|
+
return Zo(e) ? e.__vccOpts : e;
|
|
1183
|
+
}
|
|
1184
|
+
function rr(e, t) {
|
|
1185
|
+
let n = Qn.get(e);
|
|
1186
|
+
n && (n.initialDef.render = t, [...n.instances].forEach((e) => {
|
|
1187
|
+
t && (e.render = t, nr(e.type).render = t), e.renderCache = [], Yn = !0, e.job.flags & 8 || e.update(), Yn = !1;
|
|
1188
|
+
}));
|
|
1189
|
+
}
|
|
1190
|
+
function ir(e, t) {
|
|
1191
|
+
let n = Qn.get(e);
|
|
1192
|
+
if (!n) return;
|
|
1193
|
+
t = nr(t), ar(n.initialDef, t);
|
|
1194
|
+
let r = [...n.instances];
|
|
1195
|
+
for (let e = 0; e < r.length; e++) {
|
|
1196
|
+
let i = r[e], a = nr(i.type), o = Zn.get(a);
|
|
1197
|
+
o || (a !== n.initialDef && ar(a, t), Zn.set(a, o = /* @__PURE__ */ new Set())), o.add(i), i.appContext.propsCache.delete(i.type), i.appContext.emitsCache.delete(i.type), i.appContext.optionsCache.delete(i.type), i.ceReload ? (o.add(i), i.ceReload(t.styles), o.delete(i)) : i.parent ? Vn(() => {
|
|
1198
|
+
i.job.flags & 8 || (Yn = !0, i.parent.update(), Yn = !1, o.delete(i));
|
|
1199
|
+
}) : i.appContext.reload ? i.appContext.reload() : typeof window < "u" ? window.location.reload() : console.warn("[HMR] Root or manually mounted instance modified. Full reload required."), i.root.ce && i !== i.root && i.root.ce._removeChildStyle(a);
|
|
1200
|
+
}
|
|
1201
|
+
Un(() => {
|
|
1202
|
+
Zn.clear();
|
|
1203
|
+
});
|
|
1204
|
+
}
|
|
1205
|
+
function ar(e, t) {
|
|
1206
|
+
c(e, t);
|
|
1207
|
+
for (let n in e) n !== "__file" && !(n in t) && delete e[n];
|
|
1208
|
+
}
|
|
1209
|
+
function or(e) {
|
|
1210
|
+
return (t, n) => {
|
|
1211
|
+
try {
|
|
1212
|
+
return e(t, n);
|
|
1213
|
+
} catch (e) {
|
|
1214
|
+
console.error(e), console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.");
|
|
1215
|
+
}
|
|
1216
|
+
};
|
|
1217
|
+
}
|
|
1218
|
+
var sr, cr = [], lr = !1;
|
|
1219
|
+
function ur(e, ...t) {
|
|
1220
|
+
sr ? sr.emit(e, ...t) : lr || cr.push({
|
|
1221
|
+
event: e,
|
|
1222
|
+
args: t
|
|
1223
|
+
});
|
|
1224
|
+
}
|
|
1225
|
+
function dr(e, t) {
|
|
1226
|
+
sr = e, sr ? (sr.enabled = !0, cr.forEach(({ event: e, args: t }) => sr.emit(e, ...t)), cr = []) : typeof window < "u" && window.HTMLElement && !(window.navigator?.userAgent)?.includes("jsdom") ? ((t.__VUE_DEVTOOLS_HOOK_REPLAY__ = t.__VUE_DEVTOOLS_HOOK_REPLAY__ || []).push((e) => {
|
|
1227
|
+
dr(e, t);
|
|
1228
|
+
}), setTimeout(() => {
|
|
1229
|
+
sr || (t.__VUE_DEVTOOLS_HOOK_REPLAY__ = null, lr = !0, cr = []);
|
|
1230
|
+
}, 3e3)) : (lr = !0, cr = []);
|
|
1231
|
+
}
|
|
1232
|
+
function fr(e, t) {
|
|
1233
|
+
ur("app:init", e, t, {
|
|
1234
|
+
Fragment: W,
|
|
1235
|
+
Text: $a,
|
|
1236
|
+
Comment: G,
|
|
1237
|
+
Static: eo
|
|
1238
|
+
});
|
|
1239
|
+
}
|
|
1240
|
+
function pr(e) {
|
|
1241
|
+
ur("app:unmount", e);
|
|
1242
|
+
}
|
|
1243
|
+
var mr = /* @__PURE__ */ vr("component:added"), hr = /* @__PURE__ */ vr("component:updated"), gr = /* @__PURE__ */ vr("component:removed"), _r = (e) => {
|
|
1244
|
+
sr && typeof sr.cleanupBuffer == "function" && !sr.cleanupBuffer(e) && gr(e);
|
|
1245
|
+
};
|
|
1246
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
1247
|
+
function vr(e) {
|
|
1248
|
+
return (t) => {
|
|
1249
|
+
ur(e, t.appContext.app, t.uid, t.parent ? t.parent.uid : void 0, t);
|
|
1250
|
+
};
|
|
1251
|
+
}
|
|
1252
|
+
var yr = /* @__PURE__ */ xr("perf:start"), br = /* @__PURE__ */ xr("perf:end");
|
|
1253
|
+
function xr(e) {
|
|
1254
|
+
return (t, n, r) => {
|
|
1255
|
+
ur(e, t.appContext.app, t.uid, t, n, r);
|
|
1256
|
+
};
|
|
1257
|
+
}
|
|
1258
|
+
function Sr(e, t, n) {
|
|
1259
|
+
ur("component:emit", e.appContext.app, e, t, n);
|
|
1260
|
+
}
|
|
1261
|
+
var V = null, Cr = null;
|
|
1262
|
+
function wr(e) {
|
|
1263
|
+
let t = V;
|
|
1264
|
+
return V = e, Cr = e && e.type.__scopeId || null, t;
|
|
1265
|
+
}
|
|
1266
|
+
function Tr(e, t = V, n) {
|
|
1267
|
+
if (!t || e._n) return e;
|
|
1268
|
+
let r = (...n) => {
|
|
1269
|
+
r._d && ao(-1);
|
|
1270
|
+
let i = wr(t), a;
|
|
1271
|
+
try {
|
|
1272
|
+
a = e(...n);
|
|
1273
|
+
} finally {
|
|
1274
|
+
wr(i), r._d && ao(1);
|
|
1275
|
+
}
|
|
1276
|
+
return process.env.NODE_ENV !== "production" && hr(t), a;
|
|
1277
|
+
};
|
|
1278
|
+
return r._n = !0, r._c = !0, r._d = !0, r;
|
|
1279
|
+
}
|
|
1280
|
+
function Er(e) {
|
|
1281
|
+
T(e) && z("Do not use built-in directive ids as custom directive id: " + e);
|
|
1282
|
+
}
|
|
1283
|
+
function Dr(e, t) {
|
|
1284
|
+
if (V === null) return process.env.NODE_ENV !== "production" && z("withDirectives can only be used inside render functions."), e;
|
|
1285
|
+
let r = Ko(V), i = e.dirs ||= [];
|
|
1286
|
+
for (let e = 0; e < t.length; e++) {
|
|
1287
|
+
let [a, o, s, c = n] = t[e];
|
|
1288
|
+
a && (g(a) && (a = {
|
|
1289
|
+
mounted: a,
|
|
1290
|
+
updated: a
|
|
1291
|
+
}), a.deep && _n(o), i.push({
|
|
1292
|
+
dir: a,
|
|
1293
|
+
instance: r,
|
|
1294
|
+
value: o,
|
|
1295
|
+
oldValue: void 0,
|
|
1296
|
+
arg: s,
|
|
1297
|
+
modifiers: c
|
|
1298
|
+
}));
|
|
1299
|
+
}
|
|
1300
|
+
return e;
|
|
1301
|
+
}
|
|
1302
|
+
function Or(e, t, n, r) {
|
|
1303
|
+
let i = e.dirs, a = t && t.dirs;
|
|
1304
|
+
for (let o = 0; o < i.length; o++) {
|
|
1305
|
+
let s = i[o];
|
|
1306
|
+
a && (s.oldValue = a[o].value);
|
|
1307
|
+
let c = s.dir[r];
|
|
1308
|
+
c && (Ze(), kn(c, n, 8, [
|
|
1309
|
+
e.el,
|
|
1310
|
+
s,
|
|
1311
|
+
e,
|
|
1312
|
+
t
|
|
1313
|
+
]), Qe());
|
|
1314
|
+
}
|
|
1315
|
+
}
|
|
1316
|
+
function kr(e, t) {
|
|
1317
|
+
if (process.env.NODE_ENV !== "production" && (!Q || Q.isMounted) && z("provide() can only be used inside setup()."), Q) {
|
|
1318
|
+
let n = Q.provides, r = Q.parent && Q.parent.provides;
|
|
1319
|
+
r === n && (n = Q.provides = Object.create(r)), n[e] = t;
|
|
1320
|
+
}
|
|
1321
|
+
}
|
|
1322
|
+
function Ar(e, t, n = !1) {
|
|
1323
|
+
let r = Do();
|
|
1324
|
+
if (r || Ui) {
|
|
1325
|
+
let i = Ui ? Ui._context.provides : r ? r.parent == null || r.ce ? r.vnode.appContext && r.vnode.appContext.provides : r.parent.provides : void 0;
|
|
1326
|
+
if (i && e in i) return i[e];
|
|
1327
|
+
if (arguments.length > 1) return n && g(t) ? t.call(r && r.proxy) : t;
|
|
1328
|
+
process.env.NODE_ENV !== "production" && z(`injection "${String(e)}" not found.`);
|
|
1329
|
+
} else process.env.NODE_ENV !== "production" && z("inject() can only be used inside setup() or functional components.");
|
|
1330
|
+
}
|
|
1331
|
+
var jr = /* @__PURE__ */ Symbol.for("v-scx"), Mr = () => {
|
|
1332
|
+
{
|
|
1333
|
+
let e = Ar(jr);
|
|
1334
|
+
return e || process.env.NODE_ENV !== "production" && z("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."), e;
|
|
1335
|
+
}
|
|
1336
|
+
};
|
|
1337
|
+
function Nr(e, t, n) {
|
|
1338
|
+
return process.env.NODE_ENV !== "production" && !g(t) && z("`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."), Pr(e, t, n);
|
|
1339
|
+
}
|
|
1340
|
+
function Pr(e, t, r = n) {
|
|
1341
|
+
let { immediate: a, deep: o, flush: s, once: l } = r;
|
|
1342
|
+
process.env.NODE_ENV !== "production" && !t && (a !== void 0 && z("watch() \"immediate\" option is only respected when using the watch(source, callback, options?) signature."), o !== void 0 && z("watch() \"deep\" option is only respected when using the watch(source, callback, options?) signature."), l !== void 0 && z("watch() \"once\" option is only respected when using the watch(source, callback, options?) signature."));
|
|
1343
|
+
let u = c({}, r);
|
|
1344
|
+
process.env.NODE_ENV !== "production" && (u.onWarn = z);
|
|
1345
|
+
let d = t && a || !t && s !== "post", f;
|
|
1346
|
+
if (Fo) {
|
|
1347
|
+
if (s === "sync") {
|
|
1348
|
+
let e = Mr();
|
|
1349
|
+
f = e.__watcherHandles ||= [];
|
|
1350
|
+
} else if (!d) {
|
|
1351
|
+
let e = () => {};
|
|
1352
|
+
return e.stop = i, e.resume = i, e.pause = i, e;
|
|
1353
|
+
}
|
|
1354
|
+
}
|
|
1355
|
+
let p = Q;
|
|
1356
|
+
u.call = (e, t, n) => kn(e, p, t, n);
|
|
1357
|
+
let m = !1;
|
|
1358
|
+
s === "post" ? u.scheduler = (e) => {
|
|
1359
|
+
U(e, p && p.suspense);
|
|
1360
|
+
} : s !== "sync" && (m = !0, u.scheduler = (e, t) => {
|
|
1361
|
+
t ? e() : Vn(e);
|
|
1362
|
+
}), u.augmentJob = (e) => {
|
|
1363
|
+
t && (e.flags |= 4), m && (e.flags |= 2, p && (e.id = p.uid, e.i = p));
|
|
1364
|
+
};
|
|
1365
|
+
let h = gn(e, t, u);
|
|
1366
|
+
return Fo && (f ? f.push(h) : d && h()), h;
|
|
1367
|
+
}
|
|
1368
|
+
function Fr(e, t, n) {
|
|
1369
|
+
let r = this.proxy, i = _(e) ? e.includes(".") ? Ir(r, e) : () => r[e] : e.bind(r, r), a;
|
|
1370
|
+
g(t) ? a = t : (a = t.handler, n = t);
|
|
1371
|
+
let o = Ao(this), s = Pr(i, a.bind(r), n);
|
|
1372
|
+
return o(), s;
|
|
1373
|
+
}
|
|
1374
|
+
function Ir(e, t) {
|
|
1375
|
+
let n = t.split(".");
|
|
1376
|
+
return () => {
|
|
1377
|
+
let t = e;
|
|
1378
|
+
for (let e = 0; e < n.length && t; e++) t = t[n[e]];
|
|
1379
|
+
return t;
|
|
1380
|
+
};
|
|
1381
|
+
}
|
|
1382
|
+
var Lr = /* @__PURE__ */ Symbol("_vte"), Rr = (e) => e.__isTeleport, zr = /* @__PURE__ */ Symbol("_leaveCb");
|
|
1383
|
+
function Br(e, t) {
|
|
1384
|
+
e.shapeFlag & 6 && e.component ? (e.transition = t, Br(e.component.subTree, t)) : e.shapeFlag & 128 ? (e.ssContent.transition = t.clone(e.ssContent), e.ssFallback.transition = t.clone(e.ssFallback)) : e.transition = t;
|
|
1385
|
+
}
|
|
1386
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
1387
|
+
function Vr(e, t) {
|
|
1388
|
+
return g(e) ? /* @__PURE__ */ c({ name: e.name }, t, { setup: e }) : e;
|
|
1389
|
+
}
|
|
1390
|
+
function Hr(e) {
|
|
1391
|
+
e.ids = [
|
|
1392
|
+
e.ids[0] + e.ids[2]++ + "-",
|
|
1393
|
+
0,
|
|
1394
|
+
0
|
|
1395
|
+
];
|
|
1396
|
+
}
|
|
1397
|
+
var Ur = /* @__PURE__ */ new WeakSet();
|
|
1398
|
+
function Wr(e, t) {
|
|
1399
|
+
let n;
|
|
1400
|
+
return !!((n = Object.getOwnPropertyDescriptor(e, t)) && !n.configurable);
|
|
1401
|
+
}
|
|
1402
|
+
var Gr = /* @__PURE__ */ new WeakMap();
|
|
1403
|
+
function Kr(e, t, r, i, o = !1) {
|
|
1404
|
+
if (f(e)) {
|
|
1405
|
+
e.forEach((e, n) => Kr(e, t && (f(t) ? t[n] : t), r, i, o));
|
|
1406
|
+
return;
|
|
1407
|
+
}
|
|
1408
|
+
if (Jr(i) && !o) {
|
|
1409
|
+
i.shapeFlag & 512 && i.type.__asyncResolved && i.component.subTree.component && Kr(e, t, r, i.component.subTree);
|
|
1410
|
+
return;
|
|
1411
|
+
}
|
|
1412
|
+
let s = i.shapeFlag & 4 ? Ko(i.component) : i.el, c = o ? null : s, { i: u, r: p } = e;
|
|
1413
|
+
if (process.env.NODE_ENV !== "production" && !u) {
|
|
1414
|
+
z("Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.");
|
|
1415
|
+
return;
|
|
1416
|
+
}
|
|
1417
|
+
let m = t && t.r, h = u.refs === n ? u.refs = {} : u.refs, v = u.setupState, y = /* @__PURE__ */ I(v), b = v === n ? a : (e) => process.env.NODE_ENV !== "production" && (d(y, e) && !/* @__PURE__ */ L(y[e]) && z(`Template ref "${e}" used on a non-ref value. It will not work in the production build.`), Ur.has(y[e])) || Wr(h, e) ? !1 : d(y, e), x = (e, t) => !(process.env.NODE_ENV !== "production" && Ur.has(e) || t && Wr(h, t));
|
|
1418
|
+
if (m != null && m !== p) {
|
|
1419
|
+
if (qr(t), _(m)) h[m] = null, b(m) && (v[m] = null);
|
|
1420
|
+
else if (/* @__PURE__ */ L(m)) {
|
|
1421
|
+
let e = t;
|
|
1422
|
+
x(m, e.k) && (m.value = null), e.k && (h[e.k] = null);
|
|
1423
|
+
}
|
|
1424
|
+
}
|
|
1425
|
+
if (g(p)) On(p, u, 12, [c, h]);
|
|
1426
|
+
else {
|
|
1427
|
+
let t = _(p), n = /* @__PURE__ */ L(p);
|
|
1428
|
+
if (t || n) {
|
|
1429
|
+
let i = () => {
|
|
1430
|
+
if (e.f) {
|
|
1431
|
+
let n = t ? b(p) ? v[p] : h[p] : x(p) || !e.k ? p.value : h[e.k];
|
|
1432
|
+
if (o) f(n) && l(n, s);
|
|
1433
|
+
else if (f(n)) n.includes(s) || n.push(s);
|
|
1434
|
+
else if (t) h[p] = [s], b(p) && (v[p] = h[p]);
|
|
1435
|
+
else {
|
|
1436
|
+
let t = [s];
|
|
1437
|
+
x(p, e.k) && (p.value = t), e.k && (h[e.k] = t);
|
|
1438
|
+
}
|
|
1439
|
+
} else t ? (h[p] = c, b(p) && (v[p] = c)) : n ? (x(p, e.k) && (p.value = c), e.k && (h[e.k] = c)) : process.env.NODE_ENV !== "production" && z("Invalid template ref type:", p, `(${typeof p})`);
|
|
1440
|
+
};
|
|
1441
|
+
if (c) {
|
|
1442
|
+
let t = () => {
|
|
1443
|
+
i(), Gr.delete(e);
|
|
1444
|
+
};
|
|
1445
|
+
t.id = -1, Gr.set(e, t), U(t, r);
|
|
1446
|
+
} else qr(e), i();
|
|
1447
|
+
} else process.env.NODE_ENV !== "production" && z("Invalid template ref type:", p, `(${typeof p})`);
|
|
1448
|
+
}
|
|
1449
|
+
}
|
|
1450
|
+
function qr(e) {
|
|
1451
|
+
let t = Gr.get(e);
|
|
1452
|
+
t && (t.flags |= 8, Gr.delete(e));
|
|
1453
|
+
}
|
|
1454
|
+
de().requestIdleCallback, de().cancelIdleCallback;
|
|
1455
|
+
var Jr = (e) => !!e.type.__asyncLoader, Yr = (e) => e.type.__isKeepAlive;
|
|
1456
|
+
function Xr(e, t) {
|
|
1457
|
+
Qr(e, "a", t);
|
|
1458
|
+
}
|
|
1459
|
+
function Zr(e, t) {
|
|
1460
|
+
Qr(e, "da", t);
|
|
1461
|
+
}
|
|
1462
|
+
function Qr(e, t, n = Q) {
|
|
1463
|
+
let r = e.__wdc ||= () => {
|
|
1464
|
+
let t = n;
|
|
1465
|
+
for (; t;) {
|
|
1466
|
+
if (t.isDeactivated) return;
|
|
1467
|
+
t = t.parent;
|
|
1468
|
+
}
|
|
1469
|
+
return e();
|
|
1470
|
+
};
|
|
1471
|
+
if (ei(t, r, n), n) {
|
|
1472
|
+
let e = n.parent;
|
|
1473
|
+
for (; e && e.parent;) Yr(e.parent.vnode) && $r(r, t, n, e), e = e.parent;
|
|
1474
|
+
}
|
|
1475
|
+
}
|
|
1476
|
+
function $r(e, t, n, r) {
|
|
1477
|
+
let i = ei(t, e, r, !0);
|
|
1478
|
+
si(() => {
|
|
1479
|
+
l(r[t], i);
|
|
1480
|
+
}, n);
|
|
1481
|
+
}
|
|
1482
|
+
function ei(e, t, n = Q, r = !1) {
|
|
1483
|
+
if (n) {
|
|
1484
|
+
let i = n[e] || (n[e] = []), a = t.__weh ||= (...r) => {
|
|
1485
|
+
Ze();
|
|
1486
|
+
let i = Ao(n), a = kn(t, n, e, r);
|
|
1487
|
+
return i(), Qe(), a;
|
|
1488
|
+
};
|
|
1489
|
+
return r ? i.unshift(a) : i.push(a), a;
|
|
1490
|
+
} else process.env.NODE_ENV !== "production" && z(`${oe(Dn[e].replace(/ hook$/, ""))} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`);
|
|
1491
|
+
}
|
|
1492
|
+
var ti = (e) => (t, n = Q) => {
|
|
1493
|
+
(!Fo || e === "sp") && ei(e, (...e) => t(...e), n);
|
|
1494
|
+
}, ni = ti("bm"), ri = ti("m"), ii = ti("bu"), ai = ti("u"), oi = ti("bum"), si = ti("um"), ci = ti("sp"), li = ti("rtg"), ui = ti("rtc");
|
|
1495
|
+
function di(e, t = Q) {
|
|
1496
|
+
ei("ec", e, t);
|
|
1497
|
+
}
|
|
1498
|
+
var fi = /* @__PURE__ */ Symbol.for("v-ndc");
|
|
1499
|
+
function pi(e, t, n, r) {
|
|
1500
|
+
let i, a = n && n[r], o = f(e);
|
|
1501
|
+
if (o || _(e)) {
|
|
1502
|
+
let n = o && /* @__PURE__ */ Xt(e), r = !1, s = !1;
|
|
1503
|
+
n && (r = !/* @__PURE__ */ F(e), s = /* @__PURE__ */ Zt(e), e = ut(e)), i = Array(e.length);
|
|
1504
|
+
for (let n = 0, o = e.length; n < o; n++) i[n] = t(r ? s ? tn(en(e[n])) : en(e[n]) : e[n], n, void 0, a && a[n]);
|
|
1505
|
+
} else if (typeof e == "number") if (process.env.NODE_ENV !== "production" && (!Number.isInteger(e) || e < 0)) z(`The v-for range expects a positive integer value but got ${e}.`), i = [];
|
|
1506
|
+
else {
|
|
1507
|
+
i = Array(e);
|
|
1508
|
+
for (let n = 0; n < e; n++) i[n] = t(n + 1, n, void 0, a && a[n]);
|
|
1509
|
+
}
|
|
1510
|
+
else if (y(e)) if (e[Symbol.iterator]) i = Array.from(e, (e, n) => t(e, n, void 0, a && a[n]));
|
|
1511
|
+
else {
|
|
1512
|
+
let n = Object.keys(e);
|
|
1513
|
+
i = Array(n.length);
|
|
1514
|
+
for (let r = 0, o = n.length; r < o; r++) {
|
|
1515
|
+
let o = n[r];
|
|
1516
|
+
i[r] = t(e[o], o, r, a && a[r]);
|
|
1517
|
+
}
|
|
1518
|
+
}
|
|
1519
|
+
else i = [];
|
|
1520
|
+
return n && (n[r] = i), i;
|
|
1521
|
+
}
|
|
1522
|
+
function mi(e, t, n = {}, r, i) {
|
|
1523
|
+
if (V.ce || V.parent && Jr(V.parent) && V.parent.ce) {
|
|
1524
|
+
let e = Object.keys(n).length > 0;
|
|
1525
|
+
return t !== "default" && (n.name = t), K(), so(W, null, [Y("slot", n, r && r())], e ? -2 : 64);
|
|
1526
|
+
}
|
|
1527
|
+
let a = e[t];
|
|
1528
|
+
process.env.NODE_ENV !== "production" && a && a.length > 1 && (z("SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template."), a = () => []), a && a._c && (a._d = !1), K();
|
|
1529
|
+
let o = a && hi(a(n)), s = n.key || o && o.key, c = so(W, { key: (s && !v(s) ? s : `_${t}`) + (!o && r ? "_fb" : "") }, o || (r ? r() : []), o && e._ === 1 ? 64 : -2);
|
|
1530
|
+
return !i && c.scopeId && (c.slotScopeIds = [c.scopeId + "-s"]), a && a._c && (a._d = !0), c;
|
|
1531
|
+
}
|
|
1532
|
+
function hi(e) {
|
|
1533
|
+
return e.some((e) => co(e) ? !(e.type === G || e.type === W && !hi(e.children)) : !0) ? e : null;
|
|
1534
|
+
}
|
|
1535
|
+
var gi = (e) => e ? Po(e) ? Ko(e) : gi(e.parent) : null, _i = /* @__PURE__ */ c(/* @__PURE__ */ Object.create(null), {
|
|
1536
|
+
$: (e) => e,
|
|
1537
|
+
$el: (e) => e.vnode.el,
|
|
1538
|
+
$data: (e) => e.data,
|
|
1539
|
+
$props: (e) => process.env.NODE_ENV === "production" ? e.props : /* @__PURE__ */ P(e.props),
|
|
1540
|
+
$attrs: (e) => process.env.NODE_ENV === "production" ? e.attrs : /* @__PURE__ */ P(e.attrs),
|
|
1541
|
+
$slots: (e) => process.env.NODE_ENV === "production" ? e.slots : /* @__PURE__ */ P(e.slots),
|
|
1542
|
+
$refs: (e) => process.env.NODE_ENV === "production" ? e.refs : /* @__PURE__ */ P(e.refs),
|
|
1543
|
+
$parent: (e) => gi(e.parent),
|
|
1544
|
+
$root: (e) => gi(e.root),
|
|
1545
|
+
$host: (e) => e.ce,
|
|
1546
|
+
$emit: (e) => e.emit,
|
|
1547
|
+
$options: (e) => ji(e),
|
|
1548
|
+
$forceUpdate: (e) => e.f ||= () => {
|
|
1549
|
+
Vn(e.update);
|
|
1550
|
+
},
|
|
1551
|
+
$nextTick: (e) => e.n ||= zn.bind(e.proxy),
|
|
1552
|
+
$watch: (e) => Fr.bind(e)
|
|
1553
|
+
}), vi = (e) => e === "_" || e === "$", yi = (e, t) => e !== n && !e.__isScriptSetup && d(e, t), bi = {
|
|
1554
|
+
get({ _: e }, t) {
|
|
1555
|
+
if (t === "__v_skip") return !0;
|
|
1556
|
+
let { ctx: r, setupState: i, data: a, props: o, accessCache: s, type: c, appContext: l } = e;
|
|
1557
|
+
if (process.env.NODE_ENV !== "production" && t === "__isVue") return !0;
|
|
1558
|
+
if (t[0] !== "$") {
|
|
1559
|
+
let e = s[t];
|
|
1560
|
+
if (e !== void 0) switch (e) {
|
|
1561
|
+
case 1: return i[t];
|
|
1562
|
+
case 2: return a[t];
|
|
1563
|
+
case 4: return r[t];
|
|
1564
|
+
case 3: return o[t];
|
|
1565
|
+
}
|
|
1566
|
+
else if (yi(i, t)) return s[t] = 1, i[t];
|
|
1567
|
+
else if (a !== n && d(a, t)) return s[t] = 2, a[t];
|
|
1568
|
+
else if (d(o, t)) return s[t] = 3, o[t];
|
|
1569
|
+
else if (r !== n && d(r, t)) return s[t] = 4, r[t];
|
|
1570
|
+
else Ei && (s[t] = 0);
|
|
1571
|
+
}
|
|
1572
|
+
let u = _i[t], f, p;
|
|
1573
|
+
if (u) return t === "$attrs" ? (N(e.attrs, "get", ""), process.env.NODE_ENV !== "production" && Xi()) : process.env.NODE_ENV !== "production" && t === "$slots" && N(e, "get", t), u(e);
|
|
1574
|
+
if ((f = c.__cssModules) && (f = f[t])) return f;
|
|
1575
|
+
if (r !== n && d(r, t)) return s[t] = 4, r[t];
|
|
1576
|
+
if (p = l.config.globalProperties, d(p, t)) return p[t];
|
|
1577
|
+
process.env.NODE_ENV !== "production" && V && (!_(t) || t.indexOf("__v") !== 0) && (a !== n && vi(t[0]) && d(a, t) ? z(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`) : e === V && z(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`));
|
|
1578
|
+
},
|
|
1579
|
+
set({ _: e }, t, r) {
|
|
1580
|
+
let { data: i, setupState: a, ctx: o } = e;
|
|
1581
|
+
return yi(a, t) ? (a[t] = r, !0) : process.env.NODE_ENV !== "production" && a.__isScriptSetup && d(a, t) ? (z(`Cannot mutate <script setup> binding "${t}" from Options API.`), !1) : i !== n && d(i, t) ? (i[t] = r, !0) : d(e.props, t) ? (process.env.NODE_ENV !== "production" && z(`Attempting to mutate prop "${t}". Props are readonly.`), !1) : t[0] === "$" && t.slice(1) in e ? (process.env.NODE_ENV !== "production" && z(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`), !1) : (process.env.NODE_ENV !== "production" && t in e.appContext.config.globalProperties ? Object.defineProperty(o, t, {
|
|
1582
|
+
enumerable: !0,
|
|
1583
|
+
configurable: !0,
|
|
1584
|
+
value: r
|
|
1585
|
+
}) : o[t] = r, !0);
|
|
1586
|
+
},
|
|
1587
|
+
has({ _: { data: e, setupState: t, accessCache: r, ctx: i, appContext: a, props: o, type: s } }, c) {
|
|
1588
|
+
let l;
|
|
1589
|
+
return !!(r[c] || e !== n && c[0] !== "$" && d(e, c) || yi(t, c) || d(o, c) || d(i, c) || d(_i, c) || d(a.config.globalProperties, c) || (l = s.__cssModules) && l[c]);
|
|
1590
|
+
},
|
|
1591
|
+
defineProperty(e, t, n) {
|
|
1592
|
+
return n.get == null ? d(n, "value") && this.set(e, t, n.value, null) : e._.accessCache[t] = 0, Reflect.defineProperty(e, t, n);
|
|
1593
|
+
}
|
|
1594
|
+
};
|
|
1595
|
+
process.env.NODE_ENV !== "production" && (bi.ownKeys = (e) => (z("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."), Reflect.ownKeys(e)));
|
|
1596
|
+
function xi(e) {
|
|
1597
|
+
let t = {};
|
|
1598
|
+
return Object.defineProperty(t, "_", {
|
|
1599
|
+
configurable: !0,
|
|
1600
|
+
enumerable: !1,
|
|
1601
|
+
get: () => e
|
|
1602
|
+
}), Object.keys(_i).forEach((n) => {
|
|
1603
|
+
Object.defineProperty(t, n, {
|
|
1604
|
+
configurable: !0,
|
|
1605
|
+
enumerable: !1,
|
|
1606
|
+
get: () => _i[n](e),
|
|
1607
|
+
set: i
|
|
1608
|
+
});
|
|
1609
|
+
}), t;
|
|
1610
|
+
}
|
|
1611
|
+
function Si(e) {
|
|
1612
|
+
let { ctx: t, propsOptions: [n] } = e;
|
|
1613
|
+
n && Object.keys(n).forEach((n) => {
|
|
1614
|
+
Object.defineProperty(t, n, {
|
|
1615
|
+
enumerable: !0,
|
|
1616
|
+
configurable: !0,
|
|
1617
|
+
get: () => e.props[n],
|
|
1618
|
+
set: i
|
|
1619
|
+
});
|
|
1620
|
+
});
|
|
1621
|
+
}
|
|
1622
|
+
function Ci(e) {
|
|
1623
|
+
let { ctx: t, setupState: n } = e;
|
|
1624
|
+
Object.keys(/* @__PURE__ */ I(n)).forEach((e) => {
|
|
1625
|
+
if (!n.__isScriptSetup) {
|
|
1626
|
+
if (vi(e[0])) {
|
|
1627
|
+
z(`setup() return property ${JSON.stringify(e)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);
|
|
1628
|
+
return;
|
|
1629
|
+
}
|
|
1630
|
+
Object.defineProperty(t, e, {
|
|
1631
|
+
enumerable: !0,
|
|
1632
|
+
configurable: !0,
|
|
1633
|
+
get: () => n[e],
|
|
1634
|
+
set: i
|
|
1635
|
+
});
|
|
1636
|
+
}
|
|
1637
|
+
});
|
|
1638
|
+
}
|
|
1639
|
+
function wi(e) {
|
|
1640
|
+
return f(e) ? e.reduce((e, t) => (e[t] = null, e), {}) : e;
|
|
1641
|
+
}
|
|
1642
|
+
function Ti() {
|
|
1643
|
+
let e = /* @__PURE__ */ Object.create(null);
|
|
1644
|
+
return (t, n) => {
|
|
1645
|
+
e[n] ? z(`${t} property "${n}" is already defined in ${e[n]}.`) : e[n] = t;
|
|
1646
|
+
};
|
|
1647
|
+
}
|
|
1648
|
+
var Ei = !0;
|
|
1649
|
+
function Di(e) {
|
|
1650
|
+
let t = ji(e), n = e.proxy, r = e.ctx;
|
|
1651
|
+
Ei = !1, t.beforeCreate && ki(t.beforeCreate, e, "bc");
|
|
1652
|
+
let { data: a, computed: o, methods: s, watch: c, provide: l, inject: u, created: d, beforeMount: p, mounted: m, beforeUpdate: h, updated: _, activated: v, deactivated: x, beforeDestroy: S, beforeUnmount: C, destroyed: w, unmounted: ee, render: te, renderTracked: T, renderTriggered: ne, errorCaptured: re, serverPrefetch: E, expose: ie, inheritAttrs: D, components: ae, directives: oe, filters: se } = t, ce = process.env.NODE_ENV === "production" ? null : Ti();
|
|
1653
|
+
if (process.env.NODE_ENV !== "production") {
|
|
1654
|
+
let [t] = e.propsOptions;
|
|
1655
|
+
if (t) for (let e in t) ce("Props", e);
|
|
1656
|
+
}
|
|
1657
|
+
if (u && Oi(u, r, ce), s) for (let e in s) {
|
|
1658
|
+
let t = s[e];
|
|
1659
|
+
g(t) ? (process.env.NODE_ENV === "production" ? r[e] = t.bind(n) : Object.defineProperty(r, e, {
|
|
1660
|
+
value: t.bind(n),
|
|
1661
|
+
configurable: !0,
|
|
1662
|
+
enumerable: !0,
|
|
1663
|
+
writable: !0
|
|
1664
|
+
}), process.env.NODE_ENV !== "production" && ce("Methods", e)) : process.env.NODE_ENV !== "production" && z(`Method "${e}" has type "${typeof t}" in the component definition. Did you reference the function correctly?`);
|
|
1665
|
+
}
|
|
1666
|
+
if (a) {
|
|
1667
|
+
process.env.NODE_ENV !== "production" && !g(a) && z("The data option must be a function. Plain object usage is no longer supported.");
|
|
1668
|
+
let t = a.call(n, n);
|
|
1669
|
+
if (process.env.NODE_ENV !== "production" && b(t) && z("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."), !y(t)) process.env.NODE_ENV !== "production" && z("data() should return an object.");
|
|
1670
|
+
else if (e.data = /* @__PURE__ */ Kt(t), process.env.NODE_ENV !== "production") for (let e in t) ce("Data", e), vi(e[0]) || Object.defineProperty(r, e, {
|
|
1671
|
+
configurable: !0,
|
|
1672
|
+
enumerable: !0,
|
|
1673
|
+
get: () => t[e],
|
|
1674
|
+
set: i
|
|
1675
|
+
});
|
|
1676
|
+
}
|
|
1677
|
+
if (Ei = !0, o) for (let e in o) {
|
|
1678
|
+
let t = o[e], a = g(t) ? t.bind(n, n) : g(t.get) ? t.get.bind(n, n) : i;
|
|
1679
|
+
process.env.NODE_ENV !== "production" && a === i && z(`Computed property "${e}" has no getter.`);
|
|
1680
|
+
let s = $({
|
|
1681
|
+
get: a,
|
|
1682
|
+
set: !g(t) && g(t.set) ? t.set.bind(n) : process.env.NODE_ENV === "production" ? i : () => {
|
|
1683
|
+
z(`Write operation failed: computed property "${e}" is readonly.`);
|
|
1684
|
+
}
|
|
1685
|
+
});
|
|
1686
|
+
Object.defineProperty(r, e, {
|
|
1687
|
+
enumerable: !0,
|
|
1688
|
+
configurable: !0,
|
|
1689
|
+
get: () => s.value,
|
|
1690
|
+
set: (e) => s.value = e
|
|
1691
|
+
}), process.env.NODE_ENV !== "production" && ce("Computed", e);
|
|
1692
|
+
}
|
|
1693
|
+
if (c) for (let e in c) Ai(c[e], r, n, e);
|
|
1694
|
+
if (l) {
|
|
1695
|
+
let e = g(l) ? l.call(n) : l;
|
|
1696
|
+
Reflect.ownKeys(e).forEach((t) => {
|
|
1697
|
+
kr(t, e[t]);
|
|
1698
|
+
});
|
|
1699
|
+
}
|
|
1700
|
+
d && ki(d, e, "c");
|
|
1701
|
+
function O(e, t) {
|
|
1702
|
+
f(t) ? t.forEach((t) => e(t.bind(n))) : t && e(t.bind(n));
|
|
1703
|
+
}
|
|
1704
|
+
if (O(ni, p), O(ri, m), O(ii, h), O(ai, _), O(Xr, v), O(Zr, x), O(di, re), O(ui, T), O(li, ne), O(oi, C), O(si, ee), O(ci, E), f(ie)) if (ie.length) {
|
|
1705
|
+
let t = e.exposed ||= {};
|
|
1706
|
+
ie.forEach((e) => {
|
|
1707
|
+
Object.defineProperty(t, e, {
|
|
1708
|
+
get: () => n[e],
|
|
1709
|
+
set: (t) => n[e] = t,
|
|
1710
|
+
enumerable: !0
|
|
1711
|
+
});
|
|
1712
|
+
});
|
|
1713
|
+
} else e.exposed ||= {};
|
|
1714
|
+
te && e.render === i && (e.render = te), D != null && (e.inheritAttrs = D), ae && (e.components = ae), oe && (e.directives = oe), E && Hr(e);
|
|
1715
|
+
}
|
|
1716
|
+
function Oi(e, t, n = i) {
|
|
1717
|
+
f(e) && (e = Ii(e));
|
|
1718
|
+
for (let r in e) {
|
|
1719
|
+
let i = e[r], a;
|
|
1720
|
+
a = y(i) ? "default" in i ? Ar(i.from || r, i.default, !0) : Ar(i.from || r) : Ar(i), /* @__PURE__ */ L(a) ? Object.defineProperty(t, r, {
|
|
1721
|
+
enumerable: !0,
|
|
1722
|
+
configurable: !0,
|
|
1723
|
+
get: () => a.value,
|
|
1724
|
+
set: (e) => a.value = e
|
|
1725
|
+
}) : t[r] = a, process.env.NODE_ENV !== "production" && n("Inject", r);
|
|
1726
|
+
}
|
|
1727
|
+
}
|
|
1728
|
+
function ki(e, t, n) {
|
|
1729
|
+
kn(f(e) ? e.map((e) => e.bind(t.proxy)) : e.bind(t.proxy), t, n);
|
|
1730
|
+
}
|
|
1731
|
+
function Ai(e, t, n, r) {
|
|
1732
|
+
let i = r.includes(".") ? Ir(n, r) : () => n[r];
|
|
1733
|
+
if (_(e)) {
|
|
1734
|
+
let n = t[e];
|
|
1735
|
+
g(n) ? Nr(i, n) : process.env.NODE_ENV !== "production" && z(`Invalid watch handler specified by key "${e}"`, n);
|
|
1736
|
+
} else if (g(e)) Nr(i, e.bind(n));
|
|
1737
|
+
else if (y(e)) if (f(e)) e.forEach((e) => Ai(e, t, n, r));
|
|
1738
|
+
else {
|
|
1739
|
+
let r = g(e.handler) ? e.handler.bind(n) : t[e.handler];
|
|
1740
|
+
g(r) ? Nr(i, r, e) : process.env.NODE_ENV !== "production" && z(`Invalid watch handler specified by key "${e.handler}"`, r);
|
|
1741
|
+
}
|
|
1742
|
+
else process.env.NODE_ENV !== "production" && z(`Invalid watch option: "${r}"`, e);
|
|
1743
|
+
}
|
|
1744
|
+
function ji(e) {
|
|
1745
|
+
let t = e.type, { mixins: n, extends: r } = t, { mixins: i, optionsCache: a, config: { optionMergeStrategies: o } } = e.appContext, s = a.get(t), c;
|
|
1746
|
+
return s ? c = s : !i.length && !n && !r ? c = t : (c = {}, i.length && i.forEach((e) => Mi(c, e, o, !0)), Mi(c, t, o)), y(t) && a.set(t, c), c;
|
|
1747
|
+
}
|
|
1748
|
+
function Mi(e, t, n, r = !1) {
|
|
1749
|
+
let { mixins: i, extends: a } = t;
|
|
1750
|
+
a && Mi(e, a, n, !0), i && i.forEach((t) => Mi(e, t, n, !0));
|
|
1751
|
+
for (let i in t) if (r && i === "expose") process.env.NODE_ENV !== "production" && z("\"expose\" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.");
|
|
1752
|
+
else {
|
|
1753
|
+
let r = Ni[i] || n && n[i];
|
|
1754
|
+
e[i] = r ? r(e[i], t[i]) : t[i];
|
|
1755
|
+
}
|
|
1756
|
+
return e;
|
|
1757
|
+
}
|
|
1758
|
+
var Ni = {
|
|
1759
|
+
data: Pi,
|
|
1760
|
+
props: Ri,
|
|
1761
|
+
emits: Ri,
|
|
1762
|
+
methods: Li,
|
|
1763
|
+
computed: Li,
|
|
1764
|
+
beforeCreate: H,
|
|
1765
|
+
created: H,
|
|
1766
|
+
beforeMount: H,
|
|
1767
|
+
mounted: H,
|
|
1768
|
+
beforeUpdate: H,
|
|
1769
|
+
updated: H,
|
|
1770
|
+
beforeDestroy: H,
|
|
1771
|
+
beforeUnmount: H,
|
|
1772
|
+
destroyed: H,
|
|
1773
|
+
unmounted: H,
|
|
1774
|
+
activated: H,
|
|
1775
|
+
deactivated: H,
|
|
1776
|
+
errorCaptured: H,
|
|
1777
|
+
serverPrefetch: H,
|
|
1778
|
+
components: Li,
|
|
1779
|
+
directives: Li,
|
|
1780
|
+
watch: zi,
|
|
1781
|
+
provide: Pi,
|
|
1782
|
+
inject: Fi
|
|
1783
|
+
};
|
|
1784
|
+
function Pi(e, t) {
|
|
1785
|
+
return t ? e ? function() {
|
|
1786
|
+
return c(g(e) ? e.call(this, this) : e, g(t) ? t.call(this, this) : t);
|
|
1787
|
+
} : t : e;
|
|
1788
|
+
}
|
|
1789
|
+
function Fi(e, t) {
|
|
1790
|
+
return Li(Ii(e), Ii(t));
|
|
1791
|
+
}
|
|
1792
|
+
function Ii(e) {
|
|
1793
|
+
if (f(e)) {
|
|
1794
|
+
let t = {};
|
|
1795
|
+
for (let n = 0; n < e.length; n++) t[e[n]] = e[n];
|
|
1796
|
+
return t;
|
|
1797
|
+
}
|
|
1798
|
+
return e;
|
|
1799
|
+
}
|
|
1800
|
+
function H(e, t) {
|
|
1801
|
+
return e ? [...new Set([].concat(e, t))] : t;
|
|
1802
|
+
}
|
|
1803
|
+
function Li(e, t) {
|
|
1804
|
+
return e ? c(/* @__PURE__ */ Object.create(null), e, t) : t;
|
|
1805
|
+
}
|
|
1806
|
+
function Ri(e, t) {
|
|
1807
|
+
return e ? f(e) && f(t) ? [.../* @__PURE__ */ new Set([...e, ...t])] : c(/* @__PURE__ */ Object.create(null), wi(e), wi(t ?? {})) : t;
|
|
1808
|
+
}
|
|
1809
|
+
function zi(e, t) {
|
|
1810
|
+
if (!e) return t;
|
|
1811
|
+
if (!t) return e;
|
|
1812
|
+
let n = c(/* @__PURE__ */ Object.create(null), e);
|
|
1813
|
+
for (let r in t) n[r] = H(e[r], t[r]);
|
|
1814
|
+
return n;
|
|
1815
|
+
}
|
|
1816
|
+
function Bi() {
|
|
1817
|
+
return {
|
|
1818
|
+
app: null,
|
|
1819
|
+
config: {
|
|
1820
|
+
isNativeTag: a,
|
|
1821
|
+
performance: !1,
|
|
1822
|
+
globalProperties: {},
|
|
1823
|
+
optionMergeStrategies: {},
|
|
1824
|
+
errorHandler: void 0,
|
|
1825
|
+
warnHandler: void 0,
|
|
1826
|
+
compilerOptions: {}
|
|
1827
|
+
},
|
|
1828
|
+
mixins: [],
|
|
1829
|
+
components: {},
|
|
1830
|
+
directives: {},
|
|
1831
|
+
provides: /* @__PURE__ */ Object.create(null),
|
|
1832
|
+
optionsCache: /* @__PURE__ */ new WeakMap(),
|
|
1833
|
+
propsCache: /* @__PURE__ */ new WeakMap(),
|
|
1834
|
+
emitsCache: /* @__PURE__ */ new WeakMap()
|
|
1835
|
+
};
|
|
1836
|
+
}
|
|
1837
|
+
var Vi = 0;
|
|
1838
|
+
function Hi(e, t) {
|
|
1839
|
+
return function(n, r = null) {
|
|
1840
|
+
g(n) || (n = c({}, n)), r != null && !y(r) && (process.env.NODE_ENV !== "production" && z("root props passed to app.mount() must be an object."), r = null);
|
|
1841
|
+
let i = Bi(), a = /* @__PURE__ */ new WeakSet(), o = [], s = !1, l = i.app = {
|
|
1842
|
+
_uid: Vi++,
|
|
1843
|
+
_component: n,
|
|
1844
|
+
_props: r,
|
|
1845
|
+
_container: null,
|
|
1846
|
+
_context: i,
|
|
1847
|
+
_instance: null,
|
|
1848
|
+
version: $o,
|
|
1849
|
+
get config() {
|
|
1850
|
+
return i.config;
|
|
1851
|
+
},
|
|
1852
|
+
set config(e) {
|
|
1853
|
+
process.env.NODE_ENV !== "production" && z("app.config cannot be replaced. Modify individual options instead.");
|
|
1854
|
+
},
|
|
1855
|
+
use(e, ...t) {
|
|
1856
|
+
return a.has(e) ? process.env.NODE_ENV !== "production" && z("Plugin has already been applied to target app.") : e && g(e.install) ? (a.add(e), e.install(l, ...t)) : g(e) ? (a.add(e), e(l, ...t)) : process.env.NODE_ENV !== "production" && z("A plugin must either be a function or an object with an \"install\" function."), l;
|
|
1857
|
+
},
|
|
1858
|
+
mixin(e) {
|
|
1859
|
+
return i.mixins.includes(e) ? process.env.NODE_ENV !== "production" && z("Mixin has already been applied to target app" + (e.name ? `: ${e.name}` : "")) : i.mixins.push(e), l;
|
|
1860
|
+
},
|
|
1861
|
+
component(e, t) {
|
|
1862
|
+
return process.env.NODE_ENV !== "production" && No(e, i.config), t ? (process.env.NODE_ENV !== "production" && i.components[e] && z(`Component "${e}" has already been registered in target app.`), i.components[e] = t, l) : i.components[e];
|
|
1863
|
+
},
|
|
1864
|
+
directive(e, t) {
|
|
1865
|
+
return process.env.NODE_ENV !== "production" && Er(e), t ? (process.env.NODE_ENV !== "production" && i.directives[e] && z(`Directive "${e}" has already been registered in target app.`), i.directives[e] = t, l) : i.directives[e];
|
|
1866
|
+
},
|
|
1867
|
+
mount(a, o, c) {
|
|
1868
|
+
if (s) process.env.NODE_ENV !== "production" && z("App has already been mounted.\nIf you want to remount the same app, move your app creation logic into a factory function and create fresh app instances for each mount - e.g. `const createMyApp = () => createApp(App)`");
|
|
1869
|
+
else {
|
|
1870
|
+
process.env.NODE_ENV !== "production" && a.__vue_app__ && z("There is already an app instance mounted on the host container.\n If you want to mount another app on the same host container, you need to unmount the previous app by calling `app.unmount()` first.");
|
|
1871
|
+
let u = l._ceVNode || Y(n, r);
|
|
1872
|
+
return u.appContext = i, c === !0 ? c = "svg" : c === !1 && (c = void 0), process.env.NODE_ENV !== "production" && (i.reload = () => {
|
|
1873
|
+
let t = _o(u);
|
|
1874
|
+
t.el = null, e(t, a, c);
|
|
1875
|
+
}), o && t ? t(u, a) : e(u, a, c), s = !0, l._container = a, a.__vue_app__ = l, process.env.NODE_ENV !== "production" && (l._instance = u.component, fr(l, $o)), Ko(u.component);
|
|
1876
|
+
}
|
|
1877
|
+
},
|
|
1878
|
+
onUnmount(e) {
|
|
1879
|
+
process.env.NODE_ENV !== "production" && typeof e != "function" && z(`Expected function as first argument to app.onUnmount(), but got ${typeof e}`), o.push(e);
|
|
1880
|
+
},
|
|
1881
|
+
unmount() {
|
|
1882
|
+
s ? (kn(o, l._instance, 16), e(null, l._container), process.env.NODE_ENV !== "production" && (l._instance = null, pr(l)), delete l._container.__vue_app__) : process.env.NODE_ENV !== "production" && z("Cannot unmount an app that is not mounted.");
|
|
1883
|
+
},
|
|
1884
|
+
provide(e, t) {
|
|
1885
|
+
return process.env.NODE_ENV !== "production" && e in i.provides && (d(i.provides, e) ? z(`App already provides property with key "${String(e)}". It will be overwritten with the new value.`) : z(`App already provides property with key "${String(e)}" inherited from its parent element. It will be overwritten with the new value.`)), i.provides[e] = t, l;
|
|
1886
|
+
},
|
|
1887
|
+
runWithContext(e) {
|
|
1888
|
+
let t = Ui;
|
|
1889
|
+
Ui = l;
|
|
1890
|
+
try {
|
|
1891
|
+
return e();
|
|
1892
|
+
} finally {
|
|
1893
|
+
Ui = t;
|
|
1894
|
+
}
|
|
1895
|
+
}
|
|
1896
|
+
};
|
|
1897
|
+
return l;
|
|
1898
|
+
};
|
|
1899
|
+
}
|
|
1900
|
+
var Ui = null, Wi = (e, t) => t === "modelValue" || t === "model-value" ? e.modelModifiers : e[`${t}Modifiers`] || e[`${E(t)}Modifiers`] || e[`${D(t)}Modifiers`];
|
|
1901
|
+
function Gi(e, t, ...r) {
|
|
1902
|
+
if (e.isUnmounted) return;
|
|
1903
|
+
let i = e.vnode.props || n;
|
|
1904
|
+
if (process.env.NODE_ENV !== "production") {
|
|
1905
|
+
let { emitsOptions: n, propsOptions: [i] } = e;
|
|
1906
|
+
if (n) if (!(t in n)) (!i || !(oe(E(t)) in i)) && z(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${oe(E(t))}" prop.`);
|
|
1907
|
+
else {
|
|
1908
|
+
let e = n[t];
|
|
1909
|
+
g(e) && (e(...r) || z(`Invalid event arguments: event validation failed for event "${t}".`));
|
|
1910
|
+
}
|
|
1911
|
+
}
|
|
1912
|
+
let a = r, o = t.startsWith("update:"), s = o && Wi(i, t.slice(7));
|
|
1913
|
+
if (s && (s.trim && (a = r.map((e) => _(e) ? e.trim() : e)), s.number && (a = r.map(le))), process.env.NODE_ENV !== "production" && Sr(e, t, a), process.env.NODE_ENV !== "production") {
|
|
1914
|
+
let n = t.toLowerCase();
|
|
1915
|
+
n !== t && i[oe(n)] && z(`Event "${n}" is emitted in component ${Xo(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 "${D(t)}" instead of "${t}".`);
|
|
1916
|
+
}
|
|
1917
|
+
let c, l = i[c = oe(t)] || i[c = oe(E(t))];
|
|
1918
|
+
!l && o && (l = i[c = oe(D(t))]), l && kn(l, e, 6, a);
|
|
1919
|
+
let u = i[c + "Once"];
|
|
1920
|
+
if (u) {
|
|
1921
|
+
if (!e.emitted) e.emitted = {};
|
|
1922
|
+
else if (e.emitted[c]) return;
|
|
1923
|
+
e.emitted[c] = !0, kn(u, e, 6, a);
|
|
1924
|
+
}
|
|
1925
|
+
}
|
|
1926
|
+
var Ki = /* @__PURE__ */ new WeakMap();
|
|
1927
|
+
function qi(e, t, n = !1) {
|
|
1928
|
+
let r = n ? Ki : t.emitsCache, i = r.get(e);
|
|
1929
|
+
if (i !== void 0) return i;
|
|
1930
|
+
let a = e.emits, o = {}, s = !1;
|
|
1931
|
+
if (!g(e)) {
|
|
1932
|
+
let r = (e) => {
|
|
1933
|
+
let n = qi(e, t, !0);
|
|
1934
|
+
n && (s = !0, c(o, n));
|
|
1935
|
+
};
|
|
1936
|
+
!n && t.mixins.length && t.mixins.forEach(r), e.extends && r(e.extends), e.mixins && e.mixins.forEach(r);
|
|
1937
|
+
}
|
|
1938
|
+
return !a && !s ? (y(e) && r.set(e, null), null) : (f(a) ? a.forEach((e) => o[e] = null) : c(o, a), y(e) && r.set(e, o), o);
|
|
1939
|
+
}
|
|
1940
|
+
function Ji(e, t) {
|
|
1941
|
+
return !e || !o(t) ? !1 : (t = t.slice(2).replace(/Once$/, ""), d(e, t[0].toLowerCase() + t.slice(1)) || d(e, D(t)) || d(e, t));
|
|
1942
|
+
}
|
|
1943
|
+
var Yi = !1;
|
|
1944
|
+
function Xi() {
|
|
1945
|
+
Yi = !0;
|
|
1946
|
+
}
|
|
1947
|
+
function Zi(e) {
|
|
1948
|
+
let { type: t, vnode: n, proxy: r, withProxy: i, propsOptions: [a], slots: c, attrs: l, emit: u, render: d, renderCache: f, props: p, data: m, setupState: h, ctx: g, inheritAttrs: _ } = e, v = wr(e), y, b;
|
|
1949
|
+
process.env.NODE_ENV !== "production" && (Yi = !1);
|
|
1950
|
+
try {
|
|
1951
|
+
if (n.shapeFlag & 4) {
|
|
1952
|
+
let e = i || r, t = process.env.NODE_ENV !== "production" && h.__isScriptSetup ? new Proxy(e, { get(e, t, n) {
|
|
1953
|
+
return z(`Property '${String(t)}' was accessed via 'this'. Avoid using 'this' in templates.`), Reflect.get(e, t, n);
|
|
1954
|
+
} }) : e;
|
|
1955
|
+
y = yo(d.call(t, e, f, process.env.NODE_ENV === "production" ? p : /* @__PURE__ */ P(p), h, m, g)), b = l;
|
|
1956
|
+
} else {
|
|
1957
|
+
let e = t;
|
|
1958
|
+
process.env.NODE_ENV !== "production" && l === p && Xi(), y = yo(e.length > 1 ? e(process.env.NODE_ENV === "production" ? p : /* @__PURE__ */ P(p), process.env.NODE_ENV === "production" ? {
|
|
1959
|
+
attrs: l,
|
|
1960
|
+
slots: c,
|
|
1961
|
+
emit: u
|
|
1962
|
+
} : {
|
|
1963
|
+
get attrs() {
|
|
1964
|
+
return Xi(), /* @__PURE__ */ P(l);
|
|
1965
|
+
},
|
|
1966
|
+
slots: c,
|
|
1967
|
+
emit: u
|
|
1968
|
+
}) : e(process.env.NODE_ENV === "production" ? p : /* @__PURE__ */ P(p), null)), b = t.props ? l : ea(l);
|
|
1969
|
+
}
|
|
1970
|
+
} catch (t) {
|
|
1971
|
+
to.length = 0, An(t, e, 1), y = Y(G);
|
|
1972
|
+
}
|
|
1973
|
+
let x = y, S;
|
|
1974
|
+
if (process.env.NODE_ENV !== "production" && y.patchFlag > 0 && y.patchFlag & 2048 && ([x, S] = Qi(y)), b && _ !== !1) {
|
|
1975
|
+
let e = Object.keys(b), { shapeFlag: t } = x;
|
|
1976
|
+
if (e.length) {
|
|
1977
|
+
if (t & 7) a && e.some(s) && (b = ta(b, a)), x = _o(x, b, !1, !0);
|
|
1978
|
+
else if (process.env.NODE_ENV !== "production" && !Yi && x.type !== G) {
|
|
1979
|
+
let e = Object.keys(l), t = [], n = [];
|
|
1980
|
+
for (let r = 0, i = e.length; r < i; r++) {
|
|
1981
|
+
let i = e[r];
|
|
1982
|
+
o(i) ? s(i) || t.push(i[2].toLowerCase() + i.slice(3)) : n.push(i);
|
|
1983
|
+
}
|
|
1984
|
+
n.length && z(`Extraneous non-props attributes (${n.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text or teleport root nodes.`), t.length && z(`Extraneous non-emits event listeners (${t.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.`);
|
|
1985
|
+
}
|
|
1986
|
+
}
|
|
1987
|
+
}
|
|
1988
|
+
return n.dirs && (process.env.NODE_ENV !== "production" && !na(x) && z("Runtime directive used on component with non-element root node. The directives will not function as intended."), x = _o(x, null, !1, !0), x.dirs = x.dirs ? x.dirs.concat(n.dirs) : n.dirs), n.transition && (process.env.NODE_ENV !== "production" && !na(x) && z("Component inside <Transition> renders non-element root node that cannot be animated."), Br(x, n.transition)), process.env.NODE_ENV !== "production" && S ? S(x) : y = x, wr(v), y;
|
|
1989
|
+
}
|
|
1990
|
+
var Qi = (e) => {
|
|
1991
|
+
let t = e.children, n = e.dynamicChildren, r = $i(t, !1);
|
|
1992
|
+
if (!r) return [e, void 0];
|
|
1993
|
+
if (process.env.NODE_ENV !== "production" && r.patchFlag > 0 && r.patchFlag & 2048) return Qi(r);
|
|
1994
|
+
let i = t.indexOf(r), a = n ? n.indexOf(r) : -1;
|
|
1995
|
+
return [yo(r), (r) => {
|
|
1996
|
+
t[i] = r, n && (a > -1 ? n[a] = r : r.patchFlag > 0 && (e.dynamicChildren = [...n, r]));
|
|
1997
|
+
}];
|
|
1998
|
+
};
|
|
1999
|
+
function $i(e, t = !0) {
|
|
2000
|
+
let n;
|
|
2001
|
+
for (let r = 0; r < e.length; r++) {
|
|
2002
|
+
let i = e[r];
|
|
2003
|
+
if (co(i)) {
|
|
2004
|
+
if (i.type !== G || i.children === "v-if") {
|
|
2005
|
+
if (n) return;
|
|
2006
|
+
if (n = i, process.env.NODE_ENV !== "production" && t && n.patchFlag > 0 && n.patchFlag & 2048) return $i(n.children);
|
|
2007
|
+
}
|
|
2008
|
+
} else return;
|
|
2009
|
+
}
|
|
2010
|
+
return n;
|
|
2011
|
+
}
|
|
2012
|
+
var ea = (e) => {
|
|
2013
|
+
let t;
|
|
2014
|
+
for (let n in e) (n === "class" || n === "style" || o(n)) && ((t ||= {})[n] = e[n]);
|
|
2015
|
+
return t;
|
|
2016
|
+
}, ta = (e, t) => {
|
|
2017
|
+
let n = {};
|
|
2018
|
+
for (let r in e) (!s(r) || !(r.slice(9) in t)) && (n[r] = e[r]);
|
|
2019
|
+
return n;
|
|
2020
|
+
}, na = (e) => e.shapeFlag & 7 || e.type === G;
|
|
2021
|
+
function ra(e, t, n) {
|
|
2022
|
+
let { props: r, children: i, component: a } = e, { props: o, children: s, patchFlag: c } = t, l = a.emitsOptions;
|
|
2023
|
+
if (process.env.NODE_ENV !== "production" && (i || s) && Yn || t.dirs || t.transition) return !0;
|
|
2024
|
+
if (n && c >= 0) {
|
|
2025
|
+
if (c & 1024) return !0;
|
|
2026
|
+
if (c & 16) return r ? ia(r, o, l) : !!o;
|
|
2027
|
+
if (c & 8) {
|
|
2028
|
+
let e = t.dynamicProps;
|
|
2029
|
+
for (let t = 0; t < e.length; t++) {
|
|
2030
|
+
let n = e[t];
|
|
2031
|
+
if (aa(o, r, n) && !Ji(l, n)) return !0;
|
|
2032
|
+
}
|
|
2033
|
+
}
|
|
2034
|
+
} else return (i || s) && (!s || !s.$stable) ? !0 : r === o ? !1 : r ? o ? ia(r, o, l) : !0 : !!o;
|
|
2035
|
+
return !1;
|
|
2036
|
+
}
|
|
2037
|
+
function ia(e, t, n) {
|
|
2038
|
+
let r = Object.keys(t);
|
|
2039
|
+
if (r.length !== Object.keys(e).length) return !0;
|
|
2040
|
+
for (let i = 0; i < r.length; i++) {
|
|
2041
|
+
let a = r[i];
|
|
2042
|
+
if (aa(t, e, a) && !Ji(n, a)) return !0;
|
|
2043
|
+
}
|
|
2044
|
+
return !1;
|
|
2045
|
+
}
|
|
2046
|
+
function aa(e, t, n) {
|
|
2047
|
+
let r = e[n], i = t[n];
|
|
2048
|
+
return n === "style" && y(r) && y(i) ? !De(r, i) : r !== i;
|
|
2049
|
+
}
|
|
2050
|
+
function oa({ vnode: e, parent: t, suspense: n }, r) {
|
|
2051
|
+
for (; t;) {
|
|
2052
|
+
let n = t.subTree;
|
|
2053
|
+
if (n.suspense && n.suspense.activeBranch === e && (n.suspense.vnode.el = n.el = r, e = n), n === e) (e = t.vnode).el = r, t = t.parent;
|
|
2054
|
+
else break;
|
|
2055
|
+
}
|
|
2056
|
+
n && n.activeBranch === e && (n.vnode.el = r);
|
|
2057
|
+
}
|
|
2058
|
+
var sa = {}, ca = () => Object.create(sa), la = (e) => Object.getPrototypeOf(e) === sa;
|
|
2059
|
+
function ua(e, t, n, r = !1) {
|
|
2060
|
+
let i = {}, a = ca();
|
|
2061
|
+
e.propsDefaults = /* @__PURE__ */ Object.create(null), pa(e, t, i, a);
|
|
2062
|
+
for (let t in e.propsOptions[0]) t in i || (i[t] = void 0);
|
|
2063
|
+
process.env.NODE_ENV !== "production" && ya(t || {}, i, e), n ? e.props = r ? i : /* @__PURE__ */ qt(i) : e.type.props ? e.props = i : e.props = a, e.attrs = a;
|
|
2064
|
+
}
|
|
2065
|
+
function da(e) {
|
|
2066
|
+
for (; e;) {
|
|
2067
|
+
if (e.type.__hmrId) return !0;
|
|
2068
|
+
e = e.parent;
|
|
2069
|
+
}
|
|
2070
|
+
}
|
|
2071
|
+
function fa(e, t, n, r) {
|
|
2072
|
+
let { props: i, attrs: a, vnode: { patchFlag: o } } = e, s = /* @__PURE__ */ I(i), [c] = e.propsOptions, l = !1;
|
|
2073
|
+
if (!(process.env.NODE_ENV !== "production" && da(e)) && (r || o > 0) && !(o & 16)) {
|
|
2074
|
+
if (o & 8) {
|
|
2075
|
+
let n = e.vnode.dynamicProps;
|
|
2076
|
+
for (let r = 0; r < n.length; r++) {
|
|
2077
|
+
let o = n[r];
|
|
2078
|
+
if (Ji(e.emitsOptions, o)) continue;
|
|
2079
|
+
let u = t[o];
|
|
2080
|
+
if (c) if (d(a, o)) u !== a[o] && (a[o] = u, l = !0);
|
|
2081
|
+
else {
|
|
2082
|
+
let t = E(o);
|
|
2083
|
+
i[t] = ma(c, s, t, u, e, !1);
|
|
2084
|
+
}
|
|
2085
|
+
else u !== a[o] && (a[o] = u, l = !0);
|
|
2086
|
+
}
|
|
2087
|
+
}
|
|
2088
|
+
} else {
|
|
2089
|
+
pa(e, t, i, a) && (l = !0);
|
|
2090
|
+
let r;
|
|
2091
|
+
for (let a in s) (!t || !d(t, a) && ((r = D(a)) === a || !d(t, r))) && (c ? n && (n[a] !== void 0 || n[r] !== void 0) && (i[a] = ma(c, s, a, void 0, e, !0)) : delete i[a]);
|
|
2092
|
+
if (a !== s) for (let e in a) (!t || !d(t, e)) && (delete a[e], l = !0);
|
|
2093
|
+
}
|
|
2094
|
+
l && ct(e.attrs, "set", ""), process.env.NODE_ENV !== "production" && ya(t || {}, i, e);
|
|
2095
|
+
}
|
|
2096
|
+
function pa(e, t, r, i) {
|
|
2097
|
+
let [a, o] = e.propsOptions, s = !1, c;
|
|
2098
|
+
if (t) for (let n in t) {
|
|
2099
|
+
if (te(n)) continue;
|
|
2100
|
+
let l = t[n], u;
|
|
2101
|
+
a && d(a, u = E(n)) ? !o || !o.includes(u) ? r[u] = l : (c ||= {})[u] = l : Ji(e.emitsOptions, n) || (!(n in i) || l !== i[n]) && (i[n] = l, s = !0);
|
|
2102
|
+
}
|
|
2103
|
+
if (o) {
|
|
2104
|
+
let t = /* @__PURE__ */ I(r), i = c || n;
|
|
2105
|
+
for (let n = 0; n < o.length; n++) {
|
|
2106
|
+
let s = o[n];
|
|
2107
|
+
r[s] = ma(a, t, s, i[s], e, !d(i, s));
|
|
2108
|
+
}
|
|
2109
|
+
}
|
|
2110
|
+
return s;
|
|
2111
|
+
}
|
|
2112
|
+
function ma(e, t, n, r, i, a) {
|
|
2113
|
+
let o = e[n];
|
|
2114
|
+
if (o != null) {
|
|
2115
|
+
let e = d(o, "default");
|
|
2116
|
+
if (e && r === void 0) {
|
|
2117
|
+
let e = o.default;
|
|
2118
|
+
if (o.type !== Function && !o.skipFactory && g(e)) {
|
|
2119
|
+
let { propsDefaults: a } = i;
|
|
2120
|
+
if (n in a) r = a[n];
|
|
2121
|
+
else {
|
|
2122
|
+
let o = Ao(i);
|
|
2123
|
+
r = a[n] = e.call(null, t), o();
|
|
2124
|
+
}
|
|
2125
|
+
} else r = e;
|
|
2126
|
+
i.ce && i.ce._setProp(n, r);
|
|
2127
|
+
}
|
|
2128
|
+
o[0] && (a && !e ? r = !1 : o[1] && (r === "" || r === D(n)) && (r = !0));
|
|
2129
|
+
}
|
|
2130
|
+
return r;
|
|
2131
|
+
}
|
|
2132
|
+
var ha = /* @__PURE__ */ new WeakMap();
|
|
2133
|
+
function ga(e, t, i = !1) {
|
|
2134
|
+
let a = i ? ha : t.propsCache, o = a.get(e);
|
|
2135
|
+
if (o) return o;
|
|
2136
|
+
let s = e.props, l = {}, u = [], p = !1;
|
|
2137
|
+
if (!g(e)) {
|
|
2138
|
+
let n = (e) => {
|
|
2139
|
+
p = !0;
|
|
2140
|
+
let [n, r] = ga(e, t, !0);
|
|
2141
|
+
c(l, n), r && u.push(...r);
|
|
2142
|
+
};
|
|
2143
|
+
!i && t.mixins.length && t.mixins.forEach(n), e.extends && n(e.extends), e.mixins && e.mixins.forEach(n);
|
|
2144
|
+
}
|
|
2145
|
+
if (!s && !p) return y(e) && a.set(e, r), r;
|
|
2146
|
+
if (f(s)) for (let e = 0; e < s.length; e++) {
|
|
2147
|
+
process.env.NODE_ENV !== "production" && !_(s[e]) && z("props must be strings when using array syntax.", s[e]);
|
|
2148
|
+
let t = E(s[e]);
|
|
2149
|
+
_a(t) && (l[t] = n);
|
|
2150
|
+
}
|
|
2151
|
+
else if (s) {
|
|
2152
|
+
process.env.NODE_ENV !== "production" && !y(s) && z("invalid props options", s);
|
|
2153
|
+
for (let e in s) {
|
|
2154
|
+
let t = E(e);
|
|
2155
|
+
if (_a(t)) {
|
|
2156
|
+
let n = s[e], r = l[t] = f(n) || g(n) ? { type: n } : c({}, n), i = r.type, a = !1, o = !0;
|
|
2157
|
+
if (f(i)) for (let e = 0; e < i.length; ++e) {
|
|
2158
|
+
let t = i[e], n = g(t) && t.name;
|
|
2159
|
+
if (n === "Boolean") {
|
|
2160
|
+
a = !0;
|
|
2161
|
+
break;
|
|
2162
|
+
} else n === "String" && (o = !1);
|
|
2163
|
+
}
|
|
2164
|
+
else a = g(i) && i.name === "Boolean";
|
|
2165
|
+
r[0] = a, r[1] = o, (a || d(r, "default")) && u.push(t);
|
|
2166
|
+
}
|
|
2167
|
+
}
|
|
2168
|
+
}
|
|
2169
|
+
let m = [l, u];
|
|
2170
|
+
return y(e) && a.set(e, m), m;
|
|
2171
|
+
}
|
|
2172
|
+
function _a(e) {
|
|
2173
|
+
return e[0] !== "$" && !te(e) ? !0 : (process.env.NODE_ENV !== "production" && z(`Invalid prop name: "${e}" is a reserved property.`), !1);
|
|
2174
|
+
}
|
|
2175
|
+
function va(e) {
|
|
2176
|
+
return e === null ? "null" : typeof e == "function" ? e.name || "" : typeof e == "object" && e.constructor && e.constructor.name || "";
|
|
2177
|
+
}
|
|
2178
|
+
function ya(e, t, n) {
|
|
2179
|
+
let r = /* @__PURE__ */ I(t), i = n.propsOptions[0], a = Object.keys(e).map((e) => E(e));
|
|
2180
|
+
for (let e in i) {
|
|
2181
|
+
let t = i[e];
|
|
2182
|
+
t != null && ba(e, r[e], t, process.env.NODE_ENV === "production" ? r : /* @__PURE__ */ P(r), !a.includes(e));
|
|
2183
|
+
}
|
|
2184
|
+
}
|
|
2185
|
+
function ba(e, t, n, r, i) {
|
|
2186
|
+
let { type: a, required: o, validator: s, skipCheck: c } = n;
|
|
2187
|
+
if (o && i) {
|
|
2188
|
+
z("Missing required prop: \"" + e + "\"");
|
|
2189
|
+
return;
|
|
2190
|
+
}
|
|
2191
|
+
if (!(t == null && !o)) {
|
|
2192
|
+
if (a != null && a !== !0 && !c) {
|
|
2193
|
+
let n = !1, r = f(a) ? a : [a], i = [];
|
|
2194
|
+
for (let e = 0; e < r.length && !n; e++) {
|
|
2195
|
+
let { valid: a, expectedType: o } = Sa(t, r[e]);
|
|
2196
|
+
i.push(o || ""), n = a;
|
|
2197
|
+
}
|
|
2198
|
+
if (!n) {
|
|
2199
|
+
z(Ca(e, t, i));
|
|
2200
|
+
return;
|
|
2201
|
+
}
|
|
2202
|
+
}
|
|
2203
|
+
s && !s(t, r) && z("Invalid prop: custom validator check failed for prop \"" + e + "\".");
|
|
2204
|
+
}
|
|
2205
|
+
}
|
|
2206
|
+
var xa = /* @__PURE__ */ t("String,Number,Boolean,Function,Symbol,BigInt");
|
|
2207
|
+
function Sa(e, t) {
|
|
2208
|
+
let n, r = va(t);
|
|
2209
|
+
if (r === "null") n = e === null;
|
|
2210
|
+
else if (xa(r)) {
|
|
2211
|
+
let i = typeof e;
|
|
2212
|
+
n = i === r.toLowerCase(), !n && i === "object" && (n = e instanceof t);
|
|
2213
|
+
} else n = r === "Object" ? y(e) : r === "Array" ? f(e) : e instanceof t;
|
|
2214
|
+
return {
|
|
2215
|
+
valid: n,
|
|
2216
|
+
expectedType: r
|
|
2217
|
+
};
|
|
2218
|
+
}
|
|
2219
|
+
function Ca(e, t, n) {
|
|
2220
|
+
if (n.length === 0) return `Prop type [] for prop "${e}" won't match anything. Did you mean to use type Array instead?`;
|
|
2221
|
+
let r = `Invalid prop: type check failed for prop "${e}". Expected ${n.map(ae).join(" | ")}`, i = n[0], a = C(t), o = wa(t, i), s = wa(t, a);
|
|
2222
|
+
return n.length === 1 && Ta(i) && Ea(i, a) && (r += ` with value ${o}`), r += `, got ${a} `, Ta(a) && (r += `with value ${s}.`), r;
|
|
2223
|
+
}
|
|
2224
|
+
function wa(e, t) {
|
|
2225
|
+
return v(e) ? e.toString() : t === "String" ? `"${e}"` : t === "Number" ? `${Number(e)}` : `${e}`;
|
|
2226
|
+
}
|
|
2227
|
+
function Ta(e) {
|
|
2228
|
+
return [
|
|
2229
|
+
"string",
|
|
2230
|
+
"number",
|
|
2231
|
+
"boolean"
|
|
2232
|
+
].some((t) => e.toLowerCase() === t);
|
|
2233
|
+
}
|
|
2234
|
+
function Ea(...e) {
|
|
2235
|
+
return e.every((e) => {
|
|
2236
|
+
let t = e.toLowerCase();
|
|
2237
|
+
return t !== "boolean" && t !== "symbol";
|
|
2238
|
+
});
|
|
2239
|
+
}
|
|
2240
|
+
var Da = (e) => e === "_" || e === "_ctx" || e === "$stable", Oa = (e) => f(e) ? e.map(yo) : [yo(e)], ka = (e, t, n) => {
|
|
2241
|
+
if (t._n) return t;
|
|
2242
|
+
let r = Tr((...r) => (process.env.NODE_ENV !== "production" && Q && !(n === null && V) && !(n && n.root !== Q.root) && z(`Slot "${e}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`), Oa(t(...r))), n);
|
|
2243
|
+
return r._c = !1, r;
|
|
2244
|
+
}, Aa = (e, t, n) => {
|
|
2245
|
+
let r = e._ctx;
|
|
2246
|
+
for (let n in e) {
|
|
2247
|
+
if (Da(n)) continue;
|
|
2248
|
+
let i = e[n];
|
|
2249
|
+
if (g(i)) t[n] = ka(n, i, r);
|
|
2250
|
+
else if (i != null) {
|
|
2251
|
+
process.env.NODE_ENV !== "production" && z(`Non-function value encountered for slot "${n}". Prefer function slots for better performance.`);
|
|
2252
|
+
let e = Oa(i);
|
|
2253
|
+
t[n] = () => e;
|
|
2254
|
+
}
|
|
2255
|
+
}
|
|
2256
|
+
}, ja = (e, t) => {
|
|
2257
|
+
process.env.NODE_ENV !== "production" && !Yr(e.vnode) && z("Non-function value encountered for default slot. Prefer function slots for better performance.");
|
|
2258
|
+
let n = Oa(t);
|
|
2259
|
+
e.slots.default = () => n;
|
|
2260
|
+
}, Ma = (e, t, n) => {
|
|
2261
|
+
for (let r in t) (n || !Da(r)) && (e[r] = t[r]);
|
|
2262
|
+
}, Na = (e, t, n) => {
|
|
2263
|
+
let r = e.slots = ca();
|
|
2264
|
+
if (e.vnode.shapeFlag & 32) {
|
|
2265
|
+
let e = t._;
|
|
2266
|
+
e ? (Ma(r, t, n), n && O(r, "_", e, !0)) : Aa(t, r);
|
|
2267
|
+
} else t && ja(e, t);
|
|
2268
|
+
}, Pa = (e, t, r) => {
|
|
2269
|
+
let { vnode: i, slots: a } = e, o = !0, s = n;
|
|
2270
|
+
if (i.shapeFlag & 32) {
|
|
2271
|
+
let n = t._;
|
|
2272
|
+
n ? process.env.NODE_ENV !== "production" && Yn ? (Ma(a, t, r), ct(e, "set", "$slots")) : r && n === 1 ? o = !1 : Ma(a, t, r) : (o = !t.$stable, Aa(t, a)), s = t;
|
|
2273
|
+
} else t && (ja(e, t), s = { default: 1 });
|
|
2274
|
+
if (o) for (let e in a) !Da(e) && s[e] == null && delete a[e];
|
|
2275
|
+
}, Fa, Ia;
|
|
2276
|
+
function La(e, t) {
|
|
2277
|
+
e.appContext.config.performance && za() && Ia.mark(`vue-${t}-${e.uid}`), process.env.NODE_ENV !== "production" && yr(e, t, za() ? Ia.now() : Date.now());
|
|
2278
|
+
}
|
|
2279
|
+
function Ra(e, t) {
|
|
2280
|
+
if (e.appContext.config.performance && za()) {
|
|
2281
|
+
let n = `vue-${t}-${e.uid}`, r = n + ":end", i = `<${Xo(e, e.type)}> ${t}`;
|
|
2282
|
+
Ia.mark(r), Ia.measure(i, n, r), Ia.clearMeasures(i), Ia.clearMarks(n), Ia.clearMarks(r);
|
|
2283
|
+
}
|
|
2284
|
+
process.env.NODE_ENV !== "production" && br(e, t, za() ? Ia.now() : Date.now());
|
|
2285
|
+
}
|
|
2286
|
+
function za() {
|
|
2287
|
+
return Fa === void 0 && (typeof window < "u" && window.performance ? (Fa = !0, Ia = window.performance) : Fa = !1), Fa;
|
|
2288
|
+
}
|
|
2289
|
+
function Ba() {
|
|
2290
|
+
let e = [];
|
|
2291
|
+
if (process.env.NODE_ENV !== "production" && e.length) {
|
|
2292
|
+
let t = e.length > 1;
|
|
2293
|
+
console.warn(`Feature flag${t ? "s" : ""} ${e.join(", ")} ${t ? "are" : "is"} not explicitly defined. You are running the esm-bundler build of Vue, which expects these compile-time feature flags to be globally injected via the bundler config in order to get better tree-shaking in the production bundle.
|
|
2294
|
+
|
|
2295
|
+
For more details, see https://link.vuejs.org/feature-flags.`);
|
|
2296
|
+
}
|
|
2297
|
+
}
|
|
2298
|
+
var U = Qa;
|
|
2299
|
+
function Va(e) {
|
|
2300
|
+
return Ha(e);
|
|
2301
|
+
}
|
|
2302
|
+
function Ha(e, t) {
|
|
2303
|
+
Ba();
|
|
2304
|
+
let a = de();
|
|
2305
|
+
a.__VUE__ = !0, process.env.NODE_ENV !== "production" && dr(a.__VUE_DEVTOOLS_GLOBAL_HOOK__, a);
|
|
2306
|
+
let { insert: o, remove: s, patchProp: c, createElement: l, createText: u, createComment: d, setText: f, setElementText: p, parentNode: m, nextSibling: h, setScopeId: g = i, insertStaticContent: _ } = e, v = (e, t, n, r = null, i = null, a = null, o = void 0, s = null, c = process.env.NODE_ENV !== "production" && Yn ? !1 : !!t.dynamicChildren) => {
|
|
2307
|
+
if (e === t) return;
|
|
2308
|
+
e && !lo(e, t) && (r = xe(e), k(e, i, a, !0), e = null), t.patchFlag === -2 && (c = !1, t.dynamicChildren = null);
|
|
2309
|
+
let { type: l, ref: u, shapeFlag: d } = t;
|
|
2310
|
+
switch (l) {
|
|
2311
|
+
case $a:
|
|
2312
|
+
y(e, t, n, r);
|
|
2313
|
+
break;
|
|
2314
|
+
case G:
|
|
2315
|
+
b(e, t, n, r);
|
|
2316
|
+
break;
|
|
2317
|
+
case eo:
|
|
2318
|
+
e == null ? x(t, n, r, o) : process.env.NODE_ENV !== "production" && S(e, t, n, o);
|
|
2319
|
+
break;
|
|
2320
|
+
case W:
|
|
2321
|
+
ae(e, t, n, r, i, a, o, s, c);
|
|
2322
|
+
break;
|
|
2323
|
+
default: d & 1 ? ee(e, t, n, r, i, a, o, s, c) : d & 6 ? oe(e, t, n, r, i, a, o, s, c) : d & 64 || d & 128 ? l.process(e, t, n, r, i, a, o, s, c, we) : process.env.NODE_ENV !== "production" && z("Invalid VNode type:", l, `(${typeof l})`);
|
|
2324
|
+
}
|
|
2325
|
+
u != null && i ? Kr(u, e && e.ref, a, t || e, !t) : u == null && e && e.ref != null && Kr(e.ref, null, a, e, !0);
|
|
2326
|
+
}, y = (e, t, n, r) => {
|
|
2327
|
+
if (e == null) o(t.el = u(t.children), n, r);
|
|
2328
|
+
else {
|
|
2329
|
+
let n = t.el = e.el;
|
|
2330
|
+
t.children !== e.children && f(n, t.children);
|
|
2331
|
+
}
|
|
2332
|
+
}, b = (e, t, n, r) => {
|
|
2333
|
+
e == null ? o(t.el = d(t.children || ""), n, r) : t.el = e.el;
|
|
2334
|
+
}, x = (e, t, n, r) => {
|
|
2335
|
+
[e.el, e.anchor] = _(e.children, t, n, r, e.el, e.anchor);
|
|
2336
|
+
}, S = (e, t, n, r) => {
|
|
2337
|
+
if (t.children !== e.children) {
|
|
2338
|
+
let i = h(e.anchor);
|
|
2339
|
+
w(e), [t.el, t.anchor] = _(t.children, n, i, r);
|
|
2340
|
+
} else t.el = e.el, t.anchor = e.anchor;
|
|
2341
|
+
}, C = ({ el: e, anchor: t }, n, r) => {
|
|
2342
|
+
let i;
|
|
2343
|
+
for (; e && e !== t;) i = h(e), o(e, n, r), e = i;
|
|
2344
|
+
o(t, n, r);
|
|
2345
|
+
}, w = ({ el: e, anchor: t }) => {
|
|
2346
|
+
let n;
|
|
2347
|
+
for (; e && e !== t;) n = h(e), s(e), e = n;
|
|
2348
|
+
s(t);
|
|
2349
|
+
}, ee = (e, t, n, r, i, a, o, s, c) => {
|
|
2350
|
+
if (t.type === "svg" ? o = "svg" : t.type === "math" && (o = "mathml"), e == null) T(t, n, r, i, a, o, s, c);
|
|
2351
|
+
else {
|
|
2352
|
+
let n = e.el && e.el._isVueCE ? e.el : null;
|
|
2353
|
+
try {
|
|
2354
|
+
n && n._beginPatch(), E(e, t, i, a, o, s, c);
|
|
2355
|
+
} finally {
|
|
2356
|
+
n && n._endPatch();
|
|
2357
|
+
}
|
|
2358
|
+
}
|
|
2359
|
+
}, T = (e, t, n, r, i, a, s, u) => {
|
|
2360
|
+
let d, f, { props: m, shapeFlag: h, transition: g, dirs: _ } = e;
|
|
2361
|
+
if (d = e.el = l(e.type, a, m && m.is, m), h & 8 ? p(d, e.children) : h & 16 && re(e.children, d, null, r, i, Ua(e, a), s, u), _ && Or(e, null, r, "created"), ne(d, e, e.scopeId, s, r), m) {
|
|
2362
|
+
for (let e in m) e !== "value" && !te(e) && c(d, e, null, m[e], a, r);
|
|
2363
|
+
"value" in m && c(d, "value", null, m.value, a), (f = m.onVnodeBeforeMount) && Co(f, r, e);
|
|
2364
|
+
}
|
|
2365
|
+
process.env.NODE_ENV !== "production" && (O(d, "__vnode", e, !0), O(d, "__vueParentComponent", r, !0)), _ && Or(e, null, r, "beforeMount");
|
|
2366
|
+
let v = Ga(i, g);
|
|
2367
|
+
if (v && g.beforeEnter(d), o(d, t, n), (f = m && m.onVnodeMounted) || v || _) {
|
|
2368
|
+
let t = process.env.NODE_ENV !== "production" && Yn;
|
|
2369
|
+
U(() => {
|
|
2370
|
+
let n;
|
|
2371
|
+
process.env.NODE_ENV !== "production" && (n = Xn(t));
|
|
2372
|
+
try {
|
|
2373
|
+
f && Co(f, r, e), v && g.enter(d), _ && Or(e, null, r, "mounted");
|
|
2374
|
+
} finally {
|
|
2375
|
+
process.env.NODE_ENV !== "production" && Xn(n);
|
|
2376
|
+
}
|
|
2377
|
+
}, i);
|
|
2378
|
+
}
|
|
2379
|
+
}, ne = (e, t, n, r, i) => {
|
|
2380
|
+
if (n && g(e, n), r) for (let t = 0; t < r.length; t++) g(e, r[t]);
|
|
2381
|
+
if (i) {
|
|
2382
|
+
let n = i.subTree;
|
|
2383
|
+
if (process.env.NODE_ENV !== "production" && n.patchFlag > 0 && n.patchFlag & 2048 && (n = $i(n.children) || n), t === n || Za(n.type) && (n.ssContent === t || n.ssFallback === t)) {
|
|
2384
|
+
let t = i.vnode;
|
|
2385
|
+
ne(e, t, t.scopeId, t.slotScopeIds, i.parent);
|
|
2386
|
+
}
|
|
2387
|
+
}
|
|
2388
|
+
}, re = (e, t, n, r, i, a, o, s, c = 0) => {
|
|
2389
|
+
for (let l = c; l < e.length; l++) v(null, e[l] = s ? bo(e[l]) : yo(e[l]), t, n, r, i, a, o, s);
|
|
2390
|
+
}, E = (e, t, r, i, a, o, s) => {
|
|
2391
|
+
let l = t.el = e.el;
|
|
2392
|
+
process.env.NODE_ENV !== "production" && (l.__vnode = t);
|
|
2393
|
+
let { patchFlag: u, dynamicChildren: d, dirs: f } = t;
|
|
2394
|
+
u |= e.patchFlag & 16;
|
|
2395
|
+
let m = e.props || n, h = t.props || n, g;
|
|
2396
|
+
if (r && Wa(r, !1), (g = h.onVnodeBeforeUpdate) && Co(g, r, t, e), f && Or(t, e, r, "beforeUpdate"), r && Wa(r, !0), process.env.NODE_ENV !== "production" && Yn && (u = 0, s = !1, d = null), (m.innerHTML && h.innerHTML == null || m.textContent && h.textContent == null) && p(l, ""), d ? (ie(e.dynamicChildren, d, l, r, i, Ua(t, a), o), process.env.NODE_ENV !== "production" && Ka(e, t)) : s || pe(e, t, l, null, r, i, Ua(t, a), o, !1), u > 0) {
|
|
2397
|
+
if (u & 16) D(l, m, h, r, a);
|
|
2398
|
+
else if (u & 2 && m.class !== h.class && c(l, "class", null, h.class, a), u & 4 && c(l, "style", m.style, h.style, a), u & 8) {
|
|
2399
|
+
let e = t.dynamicProps;
|
|
2400
|
+
for (let t = 0; t < e.length; t++) {
|
|
2401
|
+
let n = e[t], i = m[n], o = h[n];
|
|
2402
|
+
(o !== i || n === "value") && c(l, n, i, o, a, r);
|
|
2403
|
+
}
|
|
2404
|
+
}
|
|
2405
|
+
u & 1 && e.children !== t.children && p(l, t.children);
|
|
2406
|
+
} else !s && d == null && D(l, m, h, r, a);
|
|
2407
|
+
((g = h.onVnodeUpdated) || f) && U(() => {
|
|
2408
|
+
g && Co(g, r, t, e), f && Or(t, e, r, "updated");
|
|
2409
|
+
}, i);
|
|
2410
|
+
}, ie = (e, t, n, r, i, a, o) => {
|
|
2411
|
+
for (let s = 0; s < t.length; s++) {
|
|
2412
|
+
let c = e[s], l = t[s];
|
|
2413
|
+
v(c, l, c.el && (c.type === W || !lo(c, l) || c.shapeFlag & 198) ? m(c.el) : n, null, r, i, a, o, !0);
|
|
2414
|
+
}
|
|
2415
|
+
}, D = (e, t, r, i, a) => {
|
|
2416
|
+
if (t !== r) {
|
|
2417
|
+
if (t !== n) for (let n in t) !te(n) && !(n in r) && c(e, n, t[n], null, a, i);
|
|
2418
|
+
for (let n in r) {
|
|
2419
|
+
if (te(n)) continue;
|
|
2420
|
+
let o = r[n], s = t[n];
|
|
2421
|
+
o !== s && n !== "value" && c(e, n, s, o, a, i);
|
|
2422
|
+
}
|
|
2423
|
+
"value" in r && c(e, "value", t.value, r.value, a);
|
|
2424
|
+
}
|
|
2425
|
+
}, ae = (e, t, n, r, i, a, s, c, l) => {
|
|
2426
|
+
let d = t.el = e ? e.el : u(""), f = t.anchor = e ? e.anchor : u(""), { patchFlag: p, dynamicChildren: m, slotScopeIds: h } = t;
|
|
2427
|
+
process.env.NODE_ENV !== "production" && (Yn || p & 2048) && (p = 0, l = !1, m = null), h && (c = c ? c.concat(h) : h), e == null ? (o(d, n, r), o(f, n, r), re(t.children || [], n, f, i, a, s, c, l)) : p > 0 && p & 64 && m && e.dynamicChildren && e.dynamicChildren.length === m.length ? (ie(e.dynamicChildren, m, n, i, a, s, c), process.env.NODE_ENV === "production" ? (t.key != null || i && t === i.subTree) && Ka(e, t, !0) : Ka(e, t)) : pe(e, t, n, f, i, a, s, c, l);
|
|
2428
|
+
}, oe = (e, t, n, r, i, a, o, s, c) => {
|
|
2429
|
+
t.slotScopeIds = s, e == null ? t.shapeFlag & 512 ? i.ctx.activate(t, n, r, o, c) : se(t, n, r, i, a, o, c) : le(e, t, c);
|
|
2430
|
+
}, se = (e, t, n, r, i, a, o) => {
|
|
2431
|
+
let s = e.component = Eo(e, r, i);
|
|
2432
|
+
if (process.env.NODE_ENV !== "production" && s.type.__hmrId && $n(s), process.env.NODE_ENV !== "production" && (yn(e), La(s, "mount")), Yr(e) && (s.ctx.renderer = we), process.env.NODE_ENV !== "production" && La(s, "init"), Io(s, !1, o), process.env.NODE_ENV !== "production" && Ra(s, "init"), process.env.NODE_ENV !== "production" && Yn && (e.el = null), s.asyncDep) {
|
|
2433
|
+
if (i && i.registerDep(s, ue, o), !e.el) {
|
|
2434
|
+
let r = s.subTree = Y(G);
|
|
2435
|
+
b(null, r, t, n), e.placeholder = r.el;
|
|
2436
|
+
}
|
|
2437
|
+
} else ue(s, e, t, n, i, a, o);
|
|
2438
|
+
process.env.NODE_ENV !== "production" && (bn(), Ra(s, "mount"));
|
|
2439
|
+
}, le = (e, t, n) => {
|
|
2440
|
+
let r = t.component = e.component;
|
|
2441
|
+
if (ra(e, t, n)) if (r.asyncDep && !r.asyncResolved) {
|
|
2442
|
+
process.env.NODE_ENV !== "production" && yn(t), fe(r, t, n), process.env.NODE_ENV !== "production" && bn();
|
|
2443
|
+
return;
|
|
2444
|
+
} else r.next = t, r.update();
|
|
2445
|
+
else t.el = e.el, r.vnode = t;
|
|
2446
|
+
}, ue = (e, t, n, r, i, a, o) => {
|
|
2447
|
+
let s = () => {
|
|
2448
|
+
if (e.isMounted) {
|
|
2449
|
+
let { next: t, bu: n, u: r, parent: s, vnode: c } = e;
|
|
2450
|
+
{
|
|
2451
|
+
let n = Ja(e);
|
|
2452
|
+
if (n) {
|
|
2453
|
+
t && (t.el = c.el, fe(e, t, o)), n.asyncDep.then(() => {
|
|
2454
|
+
U(() => {
|
|
2455
|
+
e.isUnmounted || l();
|
|
2456
|
+
}, i);
|
|
2457
|
+
});
|
|
2458
|
+
return;
|
|
2459
|
+
}
|
|
2460
|
+
}
|
|
2461
|
+
let u = t, d;
|
|
2462
|
+
process.env.NODE_ENV !== "production" && yn(t || e.vnode), Wa(e, !1), t ? (t.el = c.el, fe(e, t, o)) : t = c, n && ce(n), (d = t.props && t.props.onVnodeBeforeUpdate) && Co(d, s, t, c), Wa(e, !0), process.env.NODE_ENV !== "production" && La(e, "render");
|
|
2463
|
+
let f = Zi(e);
|
|
2464
|
+
process.env.NODE_ENV !== "production" && Ra(e, "render");
|
|
2465
|
+
let p = e.subTree;
|
|
2466
|
+
e.subTree = f, process.env.NODE_ENV !== "production" && La(e, "patch"), v(p, f, m(p.el), xe(p), e, i, a), process.env.NODE_ENV !== "production" && Ra(e, "patch"), t.el = f.el, u === null && oa(e, f.el), r && U(r, i), (d = t.props && t.props.onVnodeUpdated) && U(() => Co(d, s, t, c), i), process.env.NODE_ENV !== "production" && hr(e), process.env.NODE_ENV !== "production" && bn();
|
|
2467
|
+
} else {
|
|
2468
|
+
let o, { el: s, props: c } = t, { bm: l, m: u, parent: d, root: f, type: p } = e, m = Jr(t);
|
|
2469
|
+
if (Wa(e, !1), l && ce(l), !m && (o = c && c.onVnodeBeforeMount) && Co(o, d, t), Wa(e, !0), s && Ee) {
|
|
2470
|
+
let t = () => {
|
|
2471
|
+
process.env.NODE_ENV !== "production" && La(e, "render"), e.subTree = Zi(e), process.env.NODE_ENV !== "production" && Ra(e, "render"), process.env.NODE_ENV !== "production" && La(e, "hydrate"), Ee(s, e.subTree, e, i, null), process.env.NODE_ENV !== "production" && Ra(e, "hydrate");
|
|
2472
|
+
};
|
|
2473
|
+
m && p.__asyncHydrate ? p.__asyncHydrate(s, e, t) : t();
|
|
2474
|
+
} else {
|
|
2475
|
+
f.ce && f.ce._hasShadowRoot() && f.ce._injectChildStyle(p, e.parent ? e.parent.type : void 0), process.env.NODE_ENV !== "production" && La(e, "render");
|
|
2476
|
+
let o = e.subTree = Zi(e);
|
|
2477
|
+
process.env.NODE_ENV !== "production" && Ra(e, "render"), process.env.NODE_ENV !== "production" && La(e, "patch"), v(null, o, n, r, e, i, a), process.env.NODE_ENV !== "production" && Ra(e, "patch"), t.el = o.el;
|
|
2478
|
+
}
|
|
2479
|
+
if (u && U(u, i), !m && (o = c && c.onVnodeMounted)) {
|
|
2480
|
+
let e = t;
|
|
2481
|
+
U(() => Co(o, d, e), i);
|
|
2482
|
+
}
|
|
2483
|
+
(t.shapeFlag & 256 || d && Jr(d.vnode) && d.vnode.shapeFlag & 256) && e.a && U(e.a, i), e.isMounted = !0, process.env.NODE_ENV !== "production" && mr(e), t = n = r = null;
|
|
2484
|
+
}
|
|
2485
|
+
};
|
|
2486
|
+
e.scope.on();
|
|
2487
|
+
let c = e.effect = new Ie(s);
|
|
2488
|
+
e.scope.off();
|
|
2489
|
+
let l = e.update = c.run.bind(c), u = e.job = c.runIfDirty.bind(c);
|
|
2490
|
+
u.i = e, u.id = e.uid, c.scheduler = () => Vn(u), Wa(e, !0), process.env.NODE_ENV !== "production" && (c.onTrack = e.rtc ? (t) => ce(e.rtc, t) : void 0, c.onTrigger = e.rtg ? (t) => ce(e.rtg, t) : void 0), l();
|
|
2491
|
+
}, fe = (e, t, n) => {
|
|
2492
|
+
t.component = e;
|
|
2493
|
+
let r = e.vnode.props;
|
|
2494
|
+
e.vnode = t, e.next = null, fa(e, t.props, r, n), Pa(e, t.children, n), Ze(), Wn(e), Qe();
|
|
2495
|
+
}, pe = (e, t, n, r, i, a, o, s, c = !1) => {
|
|
2496
|
+
let l = e && e.children, u = e ? e.shapeFlag : 0, d = t.children, { patchFlag: f, shapeFlag: m } = t;
|
|
2497
|
+
if (f > 0) {
|
|
2498
|
+
if (f & 128) {
|
|
2499
|
+
he(l, d, n, r, i, a, o, s, c);
|
|
2500
|
+
return;
|
|
2501
|
+
} else if (f & 256) {
|
|
2502
|
+
me(l, d, n, r, i, a, o, s, c);
|
|
2503
|
+
return;
|
|
2504
|
+
}
|
|
2505
|
+
}
|
|
2506
|
+
m & 8 ? (u & 16 && be(l, i, a), d !== l && p(n, d)) : u & 16 ? m & 16 ? he(l, d, n, r, i, a, o, s, c) : be(l, i, a, !0) : (u & 8 && p(n, ""), m & 16 && re(d, n, r, i, a, o, s, c));
|
|
2507
|
+
}, me = (e, t, n, i, a, o, s, c, l) => {
|
|
2508
|
+
e ||= r, t ||= r;
|
|
2509
|
+
let u = e.length, d = t.length, f = Math.min(u, d), p;
|
|
2510
|
+
for (p = 0; p < f; p++) {
|
|
2511
|
+
let r = t[p] = l ? bo(t[p]) : yo(t[p]);
|
|
2512
|
+
v(e[p], r, n, null, a, o, s, c, l);
|
|
2513
|
+
}
|
|
2514
|
+
u > d ? be(e, a, o, !0, !1, f) : re(t, n, i, a, o, s, c, l, f);
|
|
2515
|
+
}, he = (e, t, n, i, a, o, s, c, l) => {
|
|
2516
|
+
let u = 0, d = t.length, f = e.length - 1, p = d - 1;
|
|
2517
|
+
for (; u <= f && u <= p;) {
|
|
2518
|
+
let r = e[u], i = t[u] = l ? bo(t[u]) : yo(t[u]);
|
|
2519
|
+
if (lo(r, i)) v(r, i, n, null, a, o, s, c, l);
|
|
2520
|
+
else break;
|
|
2521
|
+
u++;
|
|
2522
|
+
}
|
|
2523
|
+
for (; u <= f && u <= p;) {
|
|
2524
|
+
let r = e[f], i = t[p] = l ? bo(t[p]) : yo(t[p]);
|
|
2525
|
+
if (lo(r, i)) v(r, i, n, null, a, o, s, c, l);
|
|
2526
|
+
else break;
|
|
2527
|
+
f--, p--;
|
|
2528
|
+
}
|
|
2529
|
+
if (u > f) {
|
|
2530
|
+
if (u <= p) {
|
|
2531
|
+
let e = p + 1, r = e < d ? t[e].el : i;
|
|
2532
|
+
for (; u <= p;) v(null, t[u] = l ? bo(t[u]) : yo(t[u]), n, r, a, o, s, c, l), u++;
|
|
2533
|
+
}
|
|
2534
|
+
} else if (u > p) for (; u <= f;) k(e[u], a, o, !0), u++;
|
|
2535
|
+
else {
|
|
2536
|
+
let m = u, h = u, g = /* @__PURE__ */ new Map();
|
|
2537
|
+
for (u = h; u <= p; u++) {
|
|
2538
|
+
let e = t[u] = l ? bo(t[u]) : yo(t[u]);
|
|
2539
|
+
e.key != null && (process.env.NODE_ENV !== "production" && g.has(e.key) && z("Duplicate keys found during update:", JSON.stringify(e.key), "Make sure keys are unique."), g.set(e.key, u));
|
|
2540
|
+
}
|
|
2541
|
+
let _, y = 0, b = p - h + 1, x = !1, S = 0, C = Array(b);
|
|
2542
|
+
for (u = 0; u < b; u++) C[u] = 0;
|
|
2543
|
+
for (u = m; u <= f; u++) {
|
|
2544
|
+
let r = e[u];
|
|
2545
|
+
if (y >= b) {
|
|
2546
|
+
k(r, a, o, !0);
|
|
2547
|
+
continue;
|
|
2548
|
+
}
|
|
2549
|
+
let i;
|
|
2550
|
+
if (r.key != null) i = g.get(r.key);
|
|
2551
|
+
else for (_ = h; _ <= p; _++) if (C[_ - h] === 0 && lo(r, t[_])) {
|
|
2552
|
+
i = _;
|
|
2553
|
+
break;
|
|
2554
|
+
}
|
|
2555
|
+
i === void 0 ? k(r, a, o, !0) : (C[i - h] = u + 1, i >= S ? S = i : x = !0, v(r, t[i], n, null, a, o, s, c, l), y++);
|
|
2556
|
+
}
|
|
2557
|
+
let w = x ? qa(C) : r;
|
|
2558
|
+
for (_ = w.length - 1, u = b - 1; u >= 0; u--) {
|
|
2559
|
+
let e = h + u, r = t[e], f = t[e + 1], p = e + 1 < d ? f.el || Xa(f) : i;
|
|
2560
|
+
C[u] === 0 ? v(null, r, n, p, a, o, s, c, l) : x && (_ < 0 || u !== w[_] ? ge(r, n, p, 2) : _--);
|
|
2561
|
+
}
|
|
2562
|
+
}
|
|
2563
|
+
}, ge = (e, t, n, r, i = null) => {
|
|
2564
|
+
let { el: a, type: c, transition: l, children: u, shapeFlag: d } = e;
|
|
2565
|
+
if (d & 6) {
|
|
2566
|
+
ge(e.component.subTree, t, n, r);
|
|
2567
|
+
return;
|
|
2568
|
+
}
|
|
2569
|
+
if (d & 128) {
|
|
2570
|
+
e.suspense.move(t, n, r);
|
|
2571
|
+
return;
|
|
2572
|
+
}
|
|
2573
|
+
if (d & 64) {
|
|
2574
|
+
c.move(e, t, n, we);
|
|
2575
|
+
return;
|
|
2576
|
+
}
|
|
2577
|
+
if (c === W) {
|
|
2578
|
+
o(a, t, n);
|
|
2579
|
+
for (let e = 0; e < u.length; e++) ge(u[e], t, n, r);
|
|
2580
|
+
o(e.anchor, t, n);
|
|
2581
|
+
return;
|
|
2582
|
+
}
|
|
2583
|
+
if (c === eo) {
|
|
2584
|
+
C(e, t, n);
|
|
2585
|
+
return;
|
|
2586
|
+
}
|
|
2587
|
+
if (r !== 2 && d & 1 && l) if (r === 0) l.beforeEnter(a), o(a, t, n), U(() => l.enter(a), i);
|
|
2588
|
+
else {
|
|
2589
|
+
let { leave: r, delayLeave: i, afterLeave: c } = l, u = () => {
|
|
2590
|
+
e.ctx.isUnmounted ? s(a) : o(a, t, n);
|
|
2591
|
+
}, d = () => {
|
|
2592
|
+
a._isLeaving && a[zr](!0), r(a, () => {
|
|
2593
|
+
u(), c && c();
|
|
2594
|
+
});
|
|
2595
|
+
};
|
|
2596
|
+
i ? i(a, u, d) : d();
|
|
2597
|
+
}
|
|
2598
|
+
else o(a, t, n);
|
|
2599
|
+
}, k = (e, t, n, r = !1, i = !1) => {
|
|
2600
|
+
let { type: a, props: o, ref: s, children: c, dynamicChildren: l, shapeFlag: u, patchFlag: d, dirs: f, cacheIndex: p, memo: m } = e;
|
|
2601
|
+
if (d === -2 && (i = !1), s != null && (Ze(), Kr(s, null, n, e, !0), Qe()), p != null && (t.renderCache[p] = void 0), u & 256) {
|
|
2602
|
+
t.ctx.deactivate(e);
|
|
2603
|
+
return;
|
|
2604
|
+
}
|
|
2605
|
+
let h = u & 1 && f, g = !Jr(e), _;
|
|
2606
|
+
if (g && (_ = o && o.onVnodeBeforeUnmount) && Co(_, t, e), u & 6) ye(e.component, n, r);
|
|
2607
|
+
else {
|
|
2608
|
+
if (u & 128) {
|
|
2609
|
+
e.suspense.unmount(n, r);
|
|
2610
|
+
return;
|
|
2611
|
+
}
|
|
2612
|
+
h && Or(e, null, t, "beforeUnmount"), u & 64 ? e.type.remove(e, t, n, we, r) : l && !l.hasOnce && (a !== W || d > 0 && d & 64) ? be(l, t, n, !1, !0) : (a === W && d & 384 || !i && u & 16) && be(c, t, n), r && _e(e);
|
|
2613
|
+
}
|
|
2614
|
+
let v = m != null && p == null;
|
|
2615
|
+
(g && (_ = o && o.onVnodeUnmounted) || h || v) && U(() => {
|
|
2616
|
+
_ && Co(_, t, e), h && Or(e, null, t, "unmounted"), v && (e.el = null);
|
|
2617
|
+
}, n);
|
|
2618
|
+
}, _e = (e) => {
|
|
2619
|
+
let { type: t, el: n, anchor: r, transition: i } = e;
|
|
2620
|
+
if (t === W) {
|
|
2621
|
+
process.env.NODE_ENV !== "production" && e.patchFlag > 0 && e.patchFlag & 2048 && i && !i.persisted ? e.children.forEach((e) => {
|
|
2622
|
+
e.type === G ? s(e.el) : _e(e);
|
|
2623
|
+
}) : ve(n, r);
|
|
2624
|
+
return;
|
|
2625
|
+
}
|
|
2626
|
+
if (t === eo) {
|
|
2627
|
+
w(e);
|
|
2628
|
+
return;
|
|
2629
|
+
}
|
|
2630
|
+
let a = () => {
|
|
2631
|
+
s(n), i && !i.persisted && i.afterLeave && i.afterLeave();
|
|
2632
|
+
};
|
|
2633
|
+
if (e.shapeFlag & 1 && i && !i.persisted) {
|
|
2634
|
+
let { leave: t, delayLeave: r } = i, o = () => t(n, a);
|
|
2635
|
+
r ? r(e.el, a, o) : o();
|
|
2636
|
+
} else a();
|
|
2637
|
+
}, ve = (e, t) => {
|
|
2638
|
+
let n;
|
|
2639
|
+
for (; e !== t;) n = h(e), s(e), e = n;
|
|
2640
|
+
s(t);
|
|
2641
|
+
}, ye = (e, t, n) => {
|
|
2642
|
+
process.env.NODE_ENV !== "production" && e.type.__hmrId && er(e);
|
|
2643
|
+
let { bum: r, scope: i, job: a, subTree: o, um: s, m: c, a: l } = e;
|
|
2644
|
+
Ya(c), Ya(l), r && ce(r), i.stop(), a && (a.flags |= 8, k(o, e, t, n)), s && U(s, t), U(() => {
|
|
2645
|
+
e.isUnmounted = !0;
|
|
2646
|
+
}, t), process.env.NODE_ENV !== "production" && _r(e);
|
|
2647
|
+
}, be = (e, t, n, r = !1, i = !1, a = 0) => {
|
|
2648
|
+
for (let o = a; o < e.length; o++) k(e[o], t, n, r, i);
|
|
2649
|
+
}, xe = (e) => {
|
|
2650
|
+
if (e.shapeFlag & 6) return xe(e.component.subTree);
|
|
2651
|
+
if (e.shapeFlag & 128) return e.suspense.next();
|
|
2652
|
+
let t = h(e.anchor || e.el), n = t && t[Lr];
|
|
2653
|
+
return n ? h(n) : t;
|
|
2654
|
+
}, Se = !1, Ce = (e, t, n) => {
|
|
2655
|
+
let r;
|
|
2656
|
+
e == null ? t._vnode && (k(t._vnode, null, null, !0), r = t._vnode.component) : v(t._vnode || null, e, t, null, null, null, n), t._vnode = e, Se ||= (Se = !0, Wn(r), Gn(), !1);
|
|
2657
|
+
}, we = {
|
|
2658
|
+
p: v,
|
|
2659
|
+
um: k,
|
|
2660
|
+
m: ge,
|
|
2661
|
+
r: _e,
|
|
2662
|
+
mt: se,
|
|
2663
|
+
mc: re,
|
|
2664
|
+
pc: pe,
|
|
2665
|
+
pbc: ie,
|
|
2666
|
+
n: xe,
|
|
2667
|
+
o: e
|
|
2668
|
+
}, Te, Ee;
|
|
2669
|
+
return t && ([Te, Ee] = t(we)), {
|
|
2670
|
+
render: Ce,
|
|
2671
|
+
hydrate: Te,
|
|
2672
|
+
createApp: Hi(Ce, Te)
|
|
2673
|
+
};
|
|
2674
|
+
}
|
|
2675
|
+
function Ua({ type: e, props: t }, n) {
|
|
2676
|
+
return n === "svg" && e === "foreignObject" || n === "mathml" && e === "annotation-xml" && t && t.encoding && t.encoding.includes("html") ? void 0 : n;
|
|
2677
|
+
}
|
|
2678
|
+
function Wa({ effect: e, job: t }, n) {
|
|
2679
|
+
n ? (e.flags |= 32, t.flags |= 4) : (e.flags &= -33, t.flags &= -5);
|
|
2680
|
+
}
|
|
2681
|
+
function Ga(e, t) {
|
|
2682
|
+
return (!e || e && !e.pendingBranch) && t && !t.persisted;
|
|
2683
|
+
}
|
|
2684
|
+
function Ka(e, t, n = !1) {
|
|
2685
|
+
let r = e.children, i = t.children;
|
|
2686
|
+
if (f(r) && f(i)) for (let e = 0; e < r.length; e++) {
|
|
2687
|
+
let t = r[e], a = i[e];
|
|
2688
|
+
a.shapeFlag & 1 && !a.dynamicChildren && ((a.patchFlag <= 0 || a.patchFlag === 32) && (a = i[e] = bo(i[e]), a.el = t.el), !n && a.patchFlag !== -2 && Ka(t, a)), a.type === $a && (a.patchFlag === -1 && (a = i[e] = bo(a)), a.el = t.el), a.type === G && !a.el && (a.el = t.el), process.env.NODE_ENV !== "production" && a.el && (a.el.__vnode = a);
|
|
2689
|
+
}
|
|
2690
|
+
}
|
|
2691
|
+
function qa(e) {
|
|
2692
|
+
let t = e.slice(), n = [0], r, i, a, o, s, c = e.length;
|
|
2693
|
+
for (r = 0; r < c; r++) {
|
|
2694
|
+
let c = e[r];
|
|
2695
|
+
if (c !== 0) {
|
|
2696
|
+
if (i = n[n.length - 1], e[i] < c) {
|
|
2697
|
+
t[r] = i, n.push(r);
|
|
2698
|
+
continue;
|
|
2699
|
+
}
|
|
2700
|
+
for (a = 0, o = n.length - 1; a < o;) s = a + o >> 1, e[n[s]] < c ? a = s + 1 : o = s;
|
|
2701
|
+
c < e[n[a]] && (a > 0 && (t[r] = n[a - 1]), n[a] = r);
|
|
2702
|
+
}
|
|
2703
|
+
}
|
|
2704
|
+
for (a = n.length, o = n[a - 1]; a-- > 0;) n[a] = o, o = t[o];
|
|
2705
|
+
return n;
|
|
2706
|
+
}
|
|
2707
|
+
function Ja(e) {
|
|
2708
|
+
let t = e.subTree.component;
|
|
2709
|
+
if (t) return t.asyncDep && !t.asyncResolved ? t : Ja(t);
|
|
2710
|
+
}
|
|
2711
|
+
function Ya(e) {
|
|
2712
|
+
if (e) for (let t = 0; t < e.length; t++) e[t].flags |= 8;
|
|
2713
|
+
}
|
|
2714
|
+
function Xa(e) {
|
|
2715
|
+
if (e.placeholder) return e.placeholder;
|
|
2716
|
+
let t = e.component;
|
|
2717
|
+
return t ? Xa(t.subTree) : null;
|
|
2718
|
+
}
|
|
2719
|
+
var Za = (e) => e.__isSuspense;
|
|
2720
|
+
function Qa(e, t) {
|
|
2721
|
+
t && t.pendingBranch ? f(e) ? t.effects.push(...e) : t.effects.push(e) : Un(e);
|
|
2722
|
+
}
|
|
2723
|
+
var W = /* @__PURE__ */ Symbol.for("v-fgt"), $a = /* @__PURE__ */ Symbol.for("v-txt"), G = /* @__PURE__ */ Symbol.for("v-cmt"), eo = /* @__PURE__ */ Symbol.for("v-stc"), to = [], no = null;
|
|
2724
|
+
function K(e = !1) {
|
|
2725
|
+
to.push(no = e ? null : []);
|
|
2726
|
+
}
|
|
2727
|
+
function ro() {
|
|
2728
|
+
to.pop(), no = to[to.length - 1] || null;
|
|
2729
|
+
}
|
|
2730
|
+
var io = 1;
|
|
2731
|
+
function ao(e, t = !1) {
|
|
2732
|
+
io += e, e < 0 && no && t && (no.hasOnce = !0);
|
|
2733
|
+
}
|
|
2734
|
+
function oo(e) {
|
|
2735
|
+
return e.dynamicChildren = io > 0 ? no || r : null, ro(), io > 0 && no && no.push(e), e;
|
|
2736
|
+
}
|
|
2737
|
+
function q(e, t, n, r, i, a) {
|
|
2738
|
+
return oo(J(e, t, n, r, i, a, !0));
|
|
2739
|
+
}
|
|
2740
|
+
function so(e, t, n, r, i) {
|
|
2741
|
+
return oo(Y(e, t, n, r, i, !0));
|
|
2742
|
+
}
|
|
2743
|
+
function co(e) {
|
|
2744
|
+
return e ? e.__v_isVNode === !0 : !1;
|
|
2745
|
+
}
|
|
2746
|
+
function lo(e, t) {
|
|
2747
|
+
if (process.env.NODE_ENV !== "production" && t.shapeFlag & 6 && e.component) {
|
|
2748
|
+
let n = Zn.get(t.type);
|
|
2749
|
+
if (n && n.has(e.component)) return e.shapeFlag &= -257, t.shapeFlag &= -513, !1;
|
|
2750
|
+
}
|
|
2751
|
+
return e.type === t.type && e.key === t.key;
|
|
2752
|
+
}
|
|
2753
|
+
var uo, fo = (...e) => ho(...uo ? uo(e, V) : e), po = ({ key: e }) => e ?? null, mo = ({ ref: e, ref_key: t, ref_for: n }) => (typeof e == "number" && (e = "" + e), e == null ? null : _(e) || /* @__PURE__ */ L(e) || g(e) ? {
|
|
2754
|
+
i: V,
|
|
2755
|
+
r: e,
|
|
2756
|
+
k: t,
|
|
2757
|
+
f: !!n
|
|
2758
|
+
} : e);
|
|
2759
|
+
function J(e, t = null, n = null, r = 0, i = null, a = e === W ? 0 : 1, o = !1, s = !1) {
|
|
2760
|
+
let c = {
|
|
2761
|
+
__v_isVNode: !0,
|
|
2762
|
+
__v_skip: !0,
|
|
2763
|
+
type: e,
|
|
2764
|
+
props: t,
|
|
2765
|
+
key: t && po(t),
|
|
2766
|
+
ref: t && mo(t),
|
|
2767
|
+
scopeId: Cr,
|
|
2768
|
+
slotScopeIds: null,
|
|
2769
|
+
children: n,
|
|
2770
|
+
component: null,
|
|
2771
|
+
suspense: null,
|
|
2772
|
+
ssContent: null,
|
|
2773
|
+
ssFallback: null,
|
|
2774
|
+
dirs: null,
|
|
2775
|
+
transition: null,
|
|
2776
|
+
el: null,
|
|
2777
|
+
anchor: null,
|
|
2778
|
+
target: null,
|
|
2779
|
+
targetStart: null,
|
|
2780
|
+
targetAnchor: null,
|
|
2781
|
+
staticCount: 0,
|
|
2782
|
+
shapeFlag: a,
|
|
2783
|
+
patchFlag: r,
|
|
2784
|
+
dynamicProps: i,
|
|
2785
|
+
dynamicChildren: null,
|
|
2786
|
+
appContext: null,
|
|
2787
|
+
ctx: V
|
|
2788
|
+
};
|
|
2789
|
+
return s ? (xo(c, n), a & 128 && e.normalize(c)) : n && (c.shapeFlag |= _(n) ? 8 : 16), process.env.NODE_ENV !== "production" && c.key !== c.key && z("VNode created with invalid key (NaN). VNode type:", c.type), io > 0 && !o && no && (c.patchFlag > 0 || a & 6) && c.patchFlag !== 32 && no.push(c), c;
|
|
2790
|
+
}
|
|
2791
|
+
var Y = process.env.NODE_ENV === "production" ? ho : fo;
|
|
2792
|
+
function ho(e, t = null, n = null, r = 0, i = null, a = !1) {
|
|
2793
|
+
if ((!e || e === fi) && (process.env.NODE_ENV !== "production" && !e && z(`Invalid vnode type when creating vnode: ${e}.`), e = G), co(e)) {
|
|
2794
|
+
let r = _o(e, t, !0);
|
|
2795
|
+
return n && xo(r, n), io > 0 && !a && no && (r.shapeFlag & 6 ? no[no.indexOf(e)] = r : no.push(r)), r.patchFlag = -2, r;
|
|
2796
|
+
}
|
|
2797
|
+
if (Zo(e) && (e = e.__vccOpts), t) {
|
|
2798
|
+
t = go(t);
|
|
2799
|
+
let { class: e, style: n } = t;
|
|
2800
|
+
e && !_(e) && (t.class = k(e)), y(n) && (/* @__PURE__ */ Qt(n) && !f(n) && (n = c({}, n)), t.style = fe(n));
|
|
2801
|
+
}
|
|
2802
|
+
let o = _(e) ? 1 : Za(e) ? 128 : Rr(e) ? 64 : y(e) ? 4 : g(e) ? 2 : 0;
|
|
2803
|
+
return process.env.NODE_ENV !== "production" && o & 4 && /* @__PURE__ */ Qt(e) && (e = /* @__PURE__ */ I(e), z("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`.", "\nComponent that was made reactive: ", e)), J(e, t, n, r, i, o, a, !0);
|
|
2804
|
+
}
|
|
2805
|
+
function go(e) {
|
|
2806
|
+
return e ? /* @__PURE__ */ Qt(e) || la(e) ? c({}, e) : e : null;
|
|
2807
|
+
}
|
|
2808
|
+
function _o(e, t, n = !1, r = !1) {
|
|
2809
|
+
let { props: i, ref: a, patchFlag: o, children: s, transition: c } = e, l = t ? So(i || {}, t) : i, u = {
|
|
2810
|
+
__v_isVNode: !0,
|
|
2811
|
+
__v_skip: !0,
|
|
2812
|
+
type: e.type,
|
|
2813
|
+
props: l,
|
|
2814
|
+
key: l && po(l),
|
|
2815
|
+
ref: t && t.ref ? n && a ? f(a) ? a.concat(mo(t)) : [a, mo(t)] : mo(t) : a,
|
|
2816
|
+
scopeId: e.scopeId,
|
|
2817
|
+
slotScopeIds: e.slotScopeIds,
|
|
2818
|
+
children: process.env.NODE_ENV !== "production" && o === -1 && f(s) ? s.map(vo) : s,
|
|
2819
|
+
target: e.target,
|
|
2820
|
+
targetStart: e.targetStart,
|
|
2821
|
+
targetAnchor: e.targetAnchor,
|
|
2822
|
+
staticCount: e.staticCount,
|
|
2823
|
+
shapeFlag: e.shapeFlag,
|
|
2824
|
+
patchFlag: t && e.type !== W ? o === -1 ? 16 : o | 16 : o,
|
|
2825
|
+
dynamicProps: e.dynamicProps,
|
|
2826
|
+
dynamicChildren: e.dynamicChildren,
|
|
2827
|
+
appContext: e.appContext,
|
|
2828
|
+
dirs: e.dirs,
|
|
2829
|
+
transition: c,
|
|
2830
|
+
component: e.component,
|
|
2831
|
+
suspense: e.suspense,
|
|
2832
|
+
ssContent: e.ssContent && _o(e.ssContent),
|
|
2833
|
+
ssFallback: e.ssFallback && _o(e.ssFallback),
|
|
2834
|
+
placeholder: e.placeholder,
|
|
2835
|
+
el: e.el,
|
|
2836
|
+
anchor: e.anchor,
|
|
2837
|
+
ctx: e.ctx,
|
|
2838
|
+
ce: e.ce
|
|
2839
|
+
};
|
|
2840
|
+
return c && r && Br(u, c.clone(u)), u;
|
|
2841
|
+
}
|
|
2842
|
+
function vo(e) {
|
|
2843
|
+
let t = _o(e);
|
|
2844
|
+
return f(e.children) && (t.children = e.children.map(vo)), t;
|
|
2845
|
+
}
|
|
2846
|
+
function X(e = " ", t = 0) {
|
|
2847
|
+
return Y($a, null, e, t);
|
|
2848
|
+
}
|
|
2849
|
+
function Z(e = "", t = !1) {
|
|
2850
|
+
return t ? (K(), so(G, null, e)) : Y(G, null, e);
|
|
2851
|
+
}
|
|
2852
|
+
function yo(e) {
|
|
2853
|
+
return e == null || typeof e == "boolean" ? Y(G) : f(e) ? Y(W, null, e.slice()) : co(e) ? bo(e) : Y($a, null, String(e));
|
|
2854
|
+
}
|
|
2855
|
+
function bo(e) {
|
|
2856
|
+
return e.el === null && e.patchFlag !== -1 || e.memo ? e : _o(e);
|
|
2857
|
+
}
|
|
2858
|
+
function xo(e, t) {
|
|
2859
|
+
let n = 0, { shapeFlag: r } = e;
|
|
2860
|
+
if (t == null) t = null;
|
|
2861
|
+
else if (f(t)) n = 16;
|
|
2862
|
+
else if (typeof t == "object") if (r & 65) {
|
|
2863
|
+
let n = t.default;
|
|
2864
|
+
n && (n._c && (n._d = !1), xo(e, n()), n._c && (n._d = !0));
|
|
2865
|
+
return;
|
|
2866
|
+
} else {
|
|
2867
|
+
n = 32;
|
|
2868
|
+
let r = t._;
|
|
2869
|
+
!r && !la(t) ? t._ctx = V : r === 3 && V && (V.slots._ === 1 ? t._ = 1 : (t._ = 2, e.patchFlag |= 1024));
|
|
2870
|
+
}
|
|
2871
|
+
else g(t) ? (t = {
|
|
2872
|
+
default: t,
|
|
2873
|
+
_ctx: V
|
|
2874
|
+
}, n = 32) : (t = String(t), r & 64 ? (n = 16, t = [X(t)]) : n = 8);
|
|
2875
|
+
e.children = t, e.shapeFlag |= n;
|
|
2876
|
+
}
|
|
2877
|
+
function So(...e) {
|
|
2878
|
+
let t = {};
|
|
2879
|
+
for (let n = 0; n < e.length; n++) {
|
|
2880
|
+
let r = e[n];
|
|
2881
|
+
for (let e in r) if (e === "class") t.class !== r.class && (t.class = k([t.class, r.class]));
|
|
2882
|
+
else if (e === "style") t.style = fe([t.style, r.style]);
|
|
2883
|
+
else if (o(e)) {
|
|
2884
|
+
let n = t[e], i = r[e];
|
|
2885
|
+
i && n !== i && !(f(n) && n.includes(i)) ? t[e] = n ? [].concat(n, i) : i : i == null && n == null && !s(e) && (t[e] = i);
|
|
2886
|
+
} else e !== "" && (t[e] = r[e]);
|
|
2887
|
+
}
|
|
2888
|
+
return t;
|
|
2889
|
+
}
|
|
2890
|
+
function Co(e, t, n, r = null) {
|
|
2891
|
+
kn(e, t, 7, [n, r]);
|
|
2892
|
+
}
|
|
2893
|
+
var wo = Bi(), To = 0;
|
|
2894
|
+
function Eo(e, t, r) {
|
|
2895
|
+
let i = e.type, a = (t ? t.appContext : e.appContext) || wo, o = {
|
|
2896
|
+
uid: To++,
|
|
2897
|
+
vnode: e,
|
|
2898
|
+
type: i,
|
|
2899
|
+
parent: t,
|
|
2900
|
+
appContext: a,
|
|
2901
|
+
root: null,
|
|
2902
|
+
next: null,
|
|
2903
|
+
subTree: null,
|
|
2904
|
+
effect: null,
|
|
2905
|
+
update: null,
|
|
2906
|
+
job: null,
|
|
2907
|
+
scope: new Me(!0),
|
|
2908
|
+
render: null,
|
|
2909
|
+
proxy: null,
|
|
2910
|
+
exposed: null,
|
|
2911
|
+
exposeProxy: null,
|
|
2912
|
+
withProxy: null,
|
|
2913
|
+
provides: t ? t.provides : Object.create(a.provides),
|
|
2914
|
+
ids: t ? t.ids : [
|
|
2915
|
+
"",
|
|
2916
|
+
0,
|
|
2917
|
+
0
|
|
2918
|
+
],
|
|
2919
|
+
accessCache: null,
|
|
2920
|
+
renderCache: [],
|
|
2921
|
+
components: null,
|
|
2922
|
+
directives: null,
|
|
2923
|
+
propsOptions: ga(i, a),
|
|
2924
|
+
emitsOptions: qi(i, a),
|
|
2925
|
+
emit: null,
|
|
2926
|
+
emitted: null,
|
|
2927
|
+
propsDefaults: n,
|
|
2928
|
+
inheritAttrs: i.inheritAttrs,
|
|
2929
|
+
ctx: n,
|
|
2930
|
+
data: n,
|
|
2931
|
+
props: n,
|
|
2932
|
+
attrs: n,
|
|
2933
|
+
slots: n,
|
|
2934
|
+
refs: n,
|
|
2935
|
+
setupState: n,
|
|
2936
|
+
setupContext: null,
|
|
2937
|
+
suspense: r,
|
|
2938
|
+
suspenseId: r ? r.pendingId : 0,
|
|
2939
|
+
asyncDep: null,
|
|
2940
|
+
asyncResolved: !1,
|
|
2941
|
+
isMounted: !1,
|
|
2942
|
+
isUnmounted: !1,
|
|
2943
|
+
isDeactivated: !1,
|
|
2944
|
+
bc: null,
|
|
2945
|
+
c: null,
|
|
2946
|
+
bm: null,
|
|
2947
|
+
m: null,
|
|
2948
|
+
bu: null,
|
|
2949
|
+
u: null,
|
|
2950
|
+
um: null,
|
|
2951
|
+
bum: null,
|
|
2952
|
+
da: null,
|
|
2953
|
+
a: null,
|
|
2954
|
+
rtg: null,
|
|
2955
|
+
rtc: null,
|
|
2956
|
+
ec: null,
|
|
2957
|
+
sp: null
|
|
2958
|
+
};
|
|
2959
|
+
return process.env.NODE_ENV === "production" ? o.ctx = { _: o } : o.ctx = xi(o), o.root = t ? t.root : o, o.emit = Gi.bind(null, o), e.ce && e.ce(o), o;
|
|
2960
|
+
}
|
|
2961
|
+
var Q = null, Do = () => Q || V, Oo, ko;
|
|
2962
|
+
{
|
|
2963
|
+
let e = de(), t = (t, n) => {
|
|
2964
|
+
let r;
|
|
2965
|
+
return (r = e[t]) || (r = e[t] = []), r.push(n), (e) => {
|
|
2966
|
+
r.length > 1 ? r.forEach((t) => t(e)) : r[0](e);
|
|
2967
|
+
};
|
|
2968
|
+
};
|
|
2969
|
+
Oo = t("__VUE_INSTANCE_SETTERS__", (e) => Q = e), ko = t("__VUE_SSR_SETTERS__", (e) => Fo = e);
|
|
2970
|
+
}
|
|
2971
|
+
var Ao = (e) => {
|
|
2972
|
+
let t = Q;
|
|
2973
|
+
return Oo(e), e.scope.on(), () => {
|
|
2974
|
+
e.scope.off(), Oo(t);
|
|
2975
|
+
};
|
|
2976
|
+
}, jo = () => {
|
|
2977
|
+
Q && Q.scope.off(), Oo(null);
|
|
2978
|
+
}, Mo = /* @__PURE__ */ t("slot,component");
|
|
2979
|
+
function No(e, { isNativeTag: t }) {
|
|
2980
|
+
(Mo(e) || t(e)) && z("Do not use built-in or reserved HTML elements as component id: " + e);
|
|
2981
|
+
}
|
|
2982
|
+
function Po(e) {
|
|
2983
|
+
return e.vnode.shapeFlag & 4;
|
|
2984
|
+
}
|
|
2985
|
+
var Fo = !1;
|
|
2986
|
+
function Io(e, t = !1, n = !1) {
|
|
2987
|
+
t && ko(t);
|
|
2988
|
+
let { props: r, children: i } = e.vnode, a = Po(e);
|
|
2989
|
+
ua(e, r, a, t), Na(e, i, n || t);
|
|
2990
|
+
let o = a ? Lo(e, t) : void 0;
|
|
2991
|
+
return t && ko(!1), o;
|
|
2992
|
+
}
|
|
2993
|
+
function Lo(e, t) {
|
|
2994
|
+
let n = e.type;
|
|
2995
|
+
if (process.env.NODE_ENV !== "production") {
|
|
2996
|
+
if (n.name && No(n.name, e.appContext.config), n.components) {
|
|
2997
|
+
let t = Object.keys(n.components);
|
|
2998
|
+
for (let n = 0; n < t.length; n++) No(t[n], e.appContext.config);
|
|
2999
|
+
}
|
|
3000
|
+
if (n.directives) {
|
|
3001
|
+
let e = Object.keys(n.directives);
|
|
3002
|
+
for (let t = 0; t < e.length; t++) Er(e[t]);
|
|
3003
|
+
}
|
|
3004
|
+
n.compilerOptions && Vo() && z("\"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.");
|
|
3005
|
+
}
|
|
3006
|
+
e.accessCache = /* @__PURE__ */ Object.create(null), e.proxy = new Proxy(e.ctx, bi), process.env.NODE_ENV !== "production" && Si(e);
|
|
3007
|
+
let { setup: r } = n;
|
|
3008
|
+
if (r) {
|
|
3009
|
+
Ze();
|
|
3010
|
+
let i = e.setupContext = r.length > 1 ? Go(e) : null, a = Ao(e), o = On(r, e, 0, [process.env.NODE_ENV === "production" ? e.props : /* @__PURE__ */ P(e.props), i]), s = b(o);
|
|
3011
|
+
if (Qe(), a(), (s || e.sp) && !Jr(e) && Hr(e), s) {
|
|
3012
|
+
if (o.then(jo, jo), t) return o.then((n) => {
|
|
3013
|
+
Ro(e, n, t);
|
|
3014
|
+
}).catch((t) => {
|
|
3015
|
+
An(t, e, 0);
|
|
3016
|
+
});
|
|
3017
|
+
e.asyncDep = o, process.env.NODE_ENV !== "production" && !e.suspense && z(`Component <${Xo(e, n)}>: 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.`);
|
|
3018
|
+
} else Ro(e, o, t);
|
|
3019
|
+
} else Ho(e, t);
|
|
3020
|
+
}
|
|
3021
|
+
function Ro(e, t, n) {
|
|
3022
|
+
g(t) ? e.type.__ssrInlineRender ? e.ssrRender = t : e.render = t : y(t) ? (process.env.NODE_ENV !== "production" && co(t) && z("setup() should not return VNodes directly - return a render function instead."), process.env.NODE_ENV !== "production" && (e.devtoolsRawSetupState = t), e.setupState = ln(t), process.env.NODE_ENV !== "production" && Ci(e)) : process.env.NODE_ENV !== "production" && t !== void 0 && z(`setup() should return an object. Received: ${t === null ? "null" : typeof t}`), Ho(e, n);
|
|
3023
|
+
}
|
|
3024
|
+
var zo, Bo, Vo = () => !zo;
|
|
3025
|
+
function Ho(e, t, n) {
|
|
3026
|
+
let r = e.type;
|
|
3027
|
+
if (!e.render) {
|
|
3028
|
+
if (!t && zo && !r.render) {
|
|
3029
|
+
let t = r.template || ji(e).template;
|
|
3030
|
+
if (t) {
|
|
3031
|
+
process.env.NODE_ENV !== "production" && La(e, "compile");
|
|
3032
|
+
let { isCustomElement: n, compilerOptions: i } = e.appContext.config, { delimiters: a, compilerOptions: o } = r;
|
|
3033
|
+
r.render = zo(t, c(c({
|
|
3034
|
+
isCustomElement: n,
|
|
3035
|
+
delimiters: a
|
|
3036
|
+
}, i), o)), process.env.NODE_ENV !== "production" && Ra(e, "compile");
|
|
3037
|
+
}
|
|
3038
|
+
}
|
|
3039
|
+
e.render = r.render || i, Bo && Bo(e);
|
|
3040
|
+
}
|
|
3041
|
+
{
|
|
3042
|
+
let t = Ao(e);
|
|
3043
|
+
Ze();
|
|
3044
|
+
try {
|
|
3045
|
+
Di(e);
|
|
3046
|
+
} finally {
|
|
3047
|
+
Qe(), t();
|
|
3048
|
+
}
|
|
3049
|
+
}
|
|
3050
|
+
process.env.NODE_ENV !== "production" && !r.render && e.render === i && !t && (!zo && r.template ? z("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\".") : z("Component is missing template or render function: ", r));
|
|
3051
|
+
}
|
|
3052
|
+
var Uo = process.env.NODE_ENV === "production" ? { get(e, t) {
|
|
3053
|
+
return N(e, "get", ""), e[t];
|
|
3054
|
+
} } : {
|
|
3055
|
+
get(e, t) {
|
|
3056
|
+
return Xi(), N(e, "get", ""), e[t];
|
|
3057
|
+
},
|
|
3058
|
+
set() {
|
|
3059
|
+
return z("setupContext.attrs is readonly."), !1;
|
|
3060
|
+
},
|
|
3061
|
+
deleteProperty() {
|
|
3062
|
+
return z("setupContext.attrs is readonly."), !1;
|
|
3063
|
+
}
|
|
3064
|
+
};
|
|
3065
|
+
function Wo(e) {
|
|
3066
|
+
return new Proxy(e.slots, { get(t, n) {
|
|
3067
|
+
return N(e, "get", "$slots"), t[n];
|
|
3068
|
+
} });
|
|
3069
|
+
}
|
|
3070
|
+
function Go(e) {
|
|
3071
|
+
let t = (t) => {
|
|
3072
|
+
if (process.env.NODE_ENV !== "production" && (e.exposed && z("expose() should be called only once per setup()."), t != null)) {
|
|
3073
|
+
let e = typeof t;
|
|
3074
|
+
e === "object" && (f(t) ? e = "array" : /* @__PURE__ */ L(t) && (e = "ref")), e !== "object" && z(`expose() should be passed a plain object, received ${e}.`);
|
|
3075
|
+
}
|
|
3076
|
+
e.exposed = t || {};
|
|
3077
|
+
};
|
|
3078
|
+
if (process.env.NODE_ENV !== "production") {
|
|
3079
|
+
let n, r;
|
|
3080
|
+
return Object.freeze({
|
|
3081
|
+
get attrs() {
|
|
3082
|
+
return n ||= new Proxy(e.attrs, Uo);
|
|
3083
|
+
},
|
|
3084
|
+
get slots() {
|
|
3085
|
+
return r ||= Wo(e);
|
|
3086
|
+
},
|
|
3087
|
+
get emit() {
|
|
3088
|
+
return (t, ...n) => e.emit(t, ...n);
|
|
3089
|
+
},
|
|
3090
|
+
expose: t
|
|
3091
|
+
});
|
|
3092
|
+
} else return {
|
|
3093
|
+
attrs: new Proxy(e.attrs, Uo),
|
|
3094
|
+
slots: e.slots,
|
|
3095
|
+
emit: e.emit,
|
|
3096
|
+
expose: t
|
|
3097
|
+
};
|
|
3098
|
+
}
|
|
3099
|
+
function Ko(e) {
|
|
3100
|
+
return e.exposed ? e.exposeProxy ||= new Proxy(ln($t(e.exposed)), {
|
|
3101
|
+
get(t, n) {
|
|
3102
|
+
if (n in t) return t[n];
|
|
3103
|
+
if (n in _i) return _i[n](e);
|
|
3104
|
+
},
|
|
3105
|
+
has(e, t) {
|
|
3106
|
+
return t in e || t in _i;
|
|
3107
|
+
}
|
|
3108
|
+
}) : e.proxy;
|
|
3109
|
+
}
|
|
3110
|
+
var qo = /(?:^|[-_])\w/g, Jo = (e) => e.replace(qo, (e) => e.toUpperCase()).replace(/[-_]/g, "");
|
|
3111
|
+
function Yo(e, t = !0) {
|
|
3112
|
+
return g(e) ? e.displayName || e.name : e.name || t && e.__name;
|
|
3113
|
+
}
|
|
3114
|
+
function Xo(e, t, n = !1) {
|
|
3115
|
+
let r = Yo(t);
|
|
3116
|
+
if (!r && t.__file) {
|
|
3117
|
+
let e = t.__file.match(/([^/\\]+)\.\w+$/);
|
|
3118
|
+
e && (r = e[1]);
|
|
3119
|
+
}
|
|
3120
|
+
if (!r && e) {
|
|
3121
|
+
let n = (e) => {
|
|
3122
|
+
for (let n in e) if (e[n] === t) return n;
|
|
3123
|
+
};
|
|
3124
|
+
r = n(e.components) || e.parent && n(e.parent.type.components) || n(e.appContext.components);
|
|
3125
|
+
}
|
|
3126
|
+
return r ? Jo(r) : n ? "App" : "Anonymous";
|
|
3127
|
+
}
|
|
3128
|
+
function Zo(e) {
|
|
3129
|
+
return g(e) && "__vccOpts" in e;
|
|
3130
|
+
}
|
|
3131
|
+
var $ = (e, t) => {
|
|
3132
|
+
let n = /* @__PURE__ */ dn(e, t, Fo);
|
|
3133
|
+
if (process.env.NODE_ENV !== "production") {
|
|
3134
|
+
let e = Do();
|
|
3135
|
+
e && e.appContext.config.warnRecursiveComputed && (n._warnRecursive = !0);
|
|
3136
|
+
}
|
|
3137
|
+
return n;
|
|
3138
|
+
};
|
|
3139
|
+
function Qo() {
|
|
3140
|
+
if (process.env.NODE_ENV === "production" || typeof window > "u") return;
|
|
3141
|
+
let e = { style: "color:#3ba776" }, t = { style: "color:#1677ff" }, r = { style: "color:#f5222d" }, i = { style: "color:#eb2f96" }, a = {
|
|
3142
|
+
__vue_custom_formatter: !0,
|
|
3143
|
+
header(t) {
|
|
3144
|
+
if (!y(t)) return null;
|
|
3145
|
+
if (t.__isVue) return [
|
|
3146
|
+
"div",
|
|
3147
|
+
e,
|
|
3148
|
+
"VueInstance"
|
|
3149
|
+
];
|
|
3150
|
+
if (/* @__PURE__ */ L(t)) {
|
|
3151
|
+
Ze();
|
|
3152
|
+
let n = t.value;
|
|
3153
|
+
return Qe(), [
|
|
3154
|
+
"div",
|
|
3155
|
+
{},
|
|
3156
|
+
[
|
|
3157
|
+
"span",
|
|
3158
|
+
e,
|
|
3159
|
+
p(t)
|
|
3160
|
+
],
|
|
3161
|
+
"<",
|
|
3162
|
+
l(n),
|
|
3163
|
+
">"
|
|
3164
|
+
];
|
|
3165
|
+
} else if (/* @__PURE__ */ Xt(t)) return [
|
|
3166
|
+
"div",
|
|
3167
|
+
{},
|
|
3168
|
+
[
|
|
3169
|
+
"span",
|
|
3170
|
+
e,
|
|
3171
|
+
/* @__PURE__ */ F(t) ? "ShallowReactive" : "Reactive"
|
|
3172
|
+
],
|
|
3173
|
+
"<",
|
|
3174
|
+
l(t),
|
|
3175
|
+
`>${/* @__PURE__ */ Zt(t) ? " (readonly)" : ""}`
|
|
3176
|
+
];
|
|
3177
|
+
else if (/* @__PURE__ */ Zt(t)) return [
|
|
3178
|
+
"div",
|
|
3179
|
+
{},
|
|
3180
|
+
[
|
|
3181
|
+
"span",
|
|
3182
|
+
e,
|
|
3183
|
+
/* @__PURE__ */ F(t) ? "ShallowReadonly" : "Readonly"
|
|
3184
|
+
],
|
|
3185
|
+
"<",
|
|
3186
|
+
l(t),
|
|
3187
|
+
">"
|
|
3188
|
+
];
|
|
3189
|
+
return null;
|
|
3190
|
+
},
|
|
3191
|
+
hasBody(e) {
|
|
3192
|
+
return e && e.__isVue;
|
|
3193
|
+
},
|
|
3194
|
+
body(e) {
|
|
3195
|
+
if (e && e.__isVue) return [
|
|
3196
|
+
"div",
|
|
3197
|
+
{},
|
|
3198
|
+
...o(e.$)
|
|
3199
|
+
];
|
|
3200
|
+
}
|
|
3201
|
+
};
|
|
3202
|
+
function o(e) {
|
|
3203
|
+
let t = [];
|
|
3204
|
+
e.type.props && e.props && t.push(s("props", /* @__PURE__ */ I(e.props))), e.setupState !== n && t.push(s("setup", e.setupState)), e.data !== n && t.push(s("data", /* @__PURE__ */ I(e.data)));
|
|
3205
|
+
let r = u(e, "computed");
|
|
3206
|
+
r && t.push(s("computed", r));
|
|
3207
|
+
let a = u(e, "inject");
|
|
3208
|
+
return a && t.push(s("injected", a)), t.push([
|
|
3209
|
+
"div",
|
|
3210
|
+
{},
|
|
3211
|
+
[
|
|
3212
|
+
"span",
|
|
3213
|
+
{ style: i.style + ";opacity:0.66" },
|
|
3214
|
+
"$ (internal): "
|
|
3215
|
+
],
|
|
3216
|
+
["object", { object: e }]
|
|
3217
|
+
]), t;
|
|
3218
|
+
}
|
|
3219
|
+
function s(e, t) {
|
|
3220
|
+
return t = c({}, t), Object.keys(t).length ? [
|
|
3221
|
+
"div",
|
|
3222
|
+
{ style: "line-height:1.25em;margin-bottom:0.6em" },
|
|
3223
|
+
[
|
|
3224
|
+
"div",
|
|
3225
|
+
{ style: "color:#476582" },
|
|
3226
|
+
e
|
|
3227
|
+
],
|
|
3228
|
+
[
|
|
3229
|
+
"div",
|
|
3230
|
+
{ style: "padding-left:1.25em" },
|
|
3231
|
+
...Object.keys(t).map((e) => [
|
|
3232
|
+
"div",
|
|
3233
|
+
{},
|
|
3234
|
+
[
|
|
3235
|
+
"span",
|
|
3236
|
+
i,
|
|
3237
|
+
e + ": "
|
|
3238
|
+
],
|
|
3239
|
+
l(t[e], !1)
|
|
3240
|
+
])
|
|
3241
|
+
]
|
|
3242
|
+
] : ["span", {}];
|
|
3243
|
+
}
|
|
3244
|
+
function l(e, n = !0) {
|
|
3245
|
+
return typeof e == "number" ? [
|
|
3246
|
+
"span",
|
|
3247
|
+
t,
|
|
3248
|
+
e
|
|
3249
|
+
] : typeof e == "string" ? [
|
|
3250
|
+
"span",
|
|
3251
|
+
r,
|
|
3252
|
+
JSON.stringify(e)
|
|
3253
|
+
] : typeof e == "boolean" ? [
|
|
3254
|
+
"span",
|
|
3255
|
+
i,
|
|
3256
|
+
e
|
|
3257
|
+
] : y(e) ? ["object", { object: n ? /* @__PURE__ */ I(e) : e }] : [
|
|
3258
|
+
"span",
|
|
3259
|
+
r,
|
|
3260
|
+
String(e)
|
|
3261
|
+
];
|
|
3262
|
+
}
|
|
3263
|
+
function u(e, t) {
|
|
3264
|
+
let n = e.type;
|
|
3265
|
+
if (g(n)) return;
|
|
3266
|
+
let r = {};
|
|
3267
|
+
for (let i in e.ctx) d(n, i, t) && (r[i] = e.ctx[i]);
|
|
3268
|
+
return r;
|
|
3269
|
+
}
|
|
3270
|
+
function d(e, t, n) {
|
|
3271
|
+
let r = e[n];
|
|
3272
|
+
if (f(r) && r.includes(t) || y(r) && t in r || e.extends && d(e.extends, t, n) || e.mixins && e.mixins.some((e) => d(e, t, n))) return !0;
|
|
3273
|
+
}
|
|
3274
|
+
function p(e) {
|
|
3275
|
+
return /* @__PURE__ */ F(e) ? "ShallowRef" : e.effect ? "ComputedRef" : "Ref";
|
|
3276
|
+
}
|
|
3277
|
+
window.devtoolsFormatters ? window.devtoolsFormatters.push(a) : window.devtoolsFormatters = [a];
|
|
3278
|
+
}
|
|
3279
|
+
var $o = "3.5.34", es = process.env.NODE_ENV === "production" ? i : z;
|
|
3280
|
+
process.env.NODE_ENV, process.env.NODE_ENV;
|
|
3281
|
+
//#endregion
|
|
3282
|
+
//#region ../../node_modules/.pnpm/@vue+runtime-dom@3.5.34/node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js
|
|
3283
|
+
var ts = void 0, ns = typeof window < "u" && window.trustedTypes;
|
|
3284
|
+
if (ns) try {
|
|
3285
|
+
ts = /* @__PURE__ */ ns.createPolicy("vue", { createHTML: (e) => e });
|
|
3286
|
+
} catch (e) {
|
|
3287
|
+
process.env.NODE_ENV !== "production" && es(`Error creating trusted types policy: ${e}`);
|
|
3288
|
+
}
|
|
3289
|
+
var rs = ts ? (e) => ts.createHTML(e) : (e) => e, is = "http://www.w3.org/2000/svg", as = "http://www.w3.org/1998/Math/MathML", os = typeof document < "u" ? document : null, ss = os && /* @__PURE__ */ os.createElement("template"), cs = {
|
|
3290
|
+
insert: (e, t, n) => {
|
|
3291
|
+
t.insertBefore(e, n || null);
|
|
3292
|
+
},
|
|
3293
|
+
remove: (e) => {
|
|
3294
|
+
let t = e.parentNode;
|
|
3295
|
+
t && t.removeChild(e);
|
|
3296
|
+
},
|
|
3297
|
+
createElement: (e, t, n, r) => {
|
|
3298
|
+
let i = t === "svg" ? os.createElementNS(is, e) : t === "mathml" ? os.createElementNS(as, e) : n ? os.createElement(e, { is: n }) : os.createElement(e);
|
|
3299
|
+
return e === "select" && r && r.multiple != null && i.setAttribute("multiple", r.multiple), i;
|
|
3300
|
+
},
|
|
3301
|
+
createText: (e) => os.createTextNode(e),
|
|
3302
|
+
createComment: (e) => os.createComment(e),
|
|
3303
|
+
setText: (e, t) => {
|
|
3304
|
+
e.nodeValue = t;
|
|
3305
|
+
},
|
|
3306
|
+
setElementText: (e, t) => {
|
|
3307
|
+
e.textContent = t;
|
|
3308
|
+
},
|
|
3309
|
+
parentNode: (e) => e.parentNode,
|
|
3310
|
+
nextSibling: (e) => e.nextSibling,
|
|
3311
|
+
querySelector: (e) => os.querySelector(e),
|
|
3312
|
+
setScopeId(e, t) {
|
|
3313
|
+
e.setAttribute(t, "");
|
|
3314
|
+
},
|
|
3315
|
+
insertStaticContent(e, t, n, r, i, a) {
|
|
3316
|
+
let o = n ? n.previousSibling : t.lastChild;
|
|
3317
|
+
if (i && (i === a || i.nextSibling)) for (; t.insertBefore(i.cloneNode(!0), n), !(i === a || !(i = i.nextSibling)););
|
|
3318
|
+
else {
|
|
3319
|
+
ss.innerHTML = rs(r === "svg" ? `<svg>${e}</svg>` : r === "mathml" ? `<math>${e}</math>` : e);
|
|
3320
|
+
let i = ss.content;
|
|
3321
|
+
if (r === "svg" || r === "mathml") {
|
|
3322
|
+
let e = i.firstChild;
|
|
3323
|
+
for (; e.firstChild;) i.appendChild(e.firstChild);
|
|
3324
|
+
i.removeChild(e);
|
|
3325
|
+
}
|
|
3326
|
+
t.insertBefore(i, n);
|
|
3327
|
+
}
|
|
3328
|
+
return [o ? o.nextSibling : t.firstChild, n ? n.previousSibling : t.lastChild];
|
|
3329
|
+
}
|
|
3330
|
+
}, ls = /* @__PURE__ */ Symbol("_vtc");
|
|
3331
|
+
function us(e, t, n) {
|
|
3332
|
+
let r = e[ls];
|
|
3333
|
+
r && (t = (t ? [t, ...r] : [...r]).join(" ")), t == null ? e.removeAttribute("class") : n ? e.setAttribute("class", t) : e.className = t;
|
|
3334
|
+
}
|
|
3335
|
+
var ds = /* @__PURE__ */ Symbol("_vod"), fs = /* @__PURE__ */ Symbol("_vsh"), ps = /* @__PURE__ */ Symbol(process.env.NODE_ENV === "production" ? "" : "CSS_VAR_TEXT"), ms = /(?:^|;)\s*display\s*:/;
|
|
3336
|
+
function hs(e, t, n) {
|
|
3337
|
+
let r = e.style, i = _(n), a = !1;
|
|
3338
|
+
if (n && !i) {
|
|
3339
|
+
if (t) if (_(t)) for (let e of t.split(";")) {
|
|
3340
|
+
let t = e.slice(0, e.indexOf(":")).trim();
|
|
3341
|
+
n[t] ?? vs(r, t, "");
|
|
3342
|
+
}
|
|
3343
|
+
else for (let e in t) n[e] ?? vs(r, e, "");
|
|
3344
|
+
for (let i in n) {
|
|
3345
|
+
i === "display" && (a = !0);
|
|
3346
|
+
let o = n[i];
|
|
3347
|
+
o == null ? vs(r, i, "") : Ss(e, i, !_(t) && t ? t[i] : void 0, o) || vs(r, i, o);
|
|
3348
|
+
}
|
|
3349
|
+
} else if (i) {
|
|
3350
|
+
if (t !== n) {
|
|
3351
|
+
let e = r[ps];
|
|
3352
|
+
e && (n += ";" + e), r.cssText = n, a = ms.test(n);
|
|
3353
|
+
}
|
|
3354
|
+
} else t && e.removeAttribute("style");
|
|
3355
|
+
ds in e && (e[ds] = a ? r.display : "", e[fs] && (r.display = "none"));
|
|
3356
|
+
}
|
|
3357
|
+
var gs = /[^\\];\s*$/, _s = /\s*!important$/;
|
|
3358
|
+
function vs(e, t, n) {
|
|
3359
|
+
if (f(n)) n.forEach((n) => vs(e, t, n));
|
|
3360
|
+
else if (n ??= "", process.env.NODE_ENV !== "production" && gs.test(n) && es(`Unexpected semicolon at the end of '${t}' style value: '${n}'`), t.startsWith("--")) e.setProperty(t, n);
|
|
3361
|
+
else {
|
|
3362
|
+
let r = xs(e, t);
|
|
3363
|
+
_s.test(n) ? e.setProperty(D(r), n.replace(_s, ""), "important") : e[r] = n;
|
|
3364
|
+
}
|
|
3365
|
+
}
|
|
3366
|
+
var ys = [
|
|
3367
|
+
"Webkit",
|
|
3368
|
+
"Moz",
|
|
3369
|
+
"ms"
|
|
3370
|
+
], bs = {};
|
|
3371
|
+
function xs(e, t) {
|
|
3372
|
+
let n = bs[t];
|
|
3373
|
+
if (n) return n;
|
|
3374
|
+
let r = E(t);
|
|
3375
|
+
if (r !== "filter" && r in e) return bs[t] = r;
|
|
3376
|
+
r = ae(r);
|
|
3377
|
+
for (let n = 0; n < ys.length; n++) {
|
|
3378
|
+
let i = ys[n] + r;
|
|
3379
|
+
if (i in e) return bs[t] = i;
|
|
3380
|
+
}
|
|
3381
|
+
return t;
|
|
3382
|
+
}
|
|
3383
|
+
function Ss(e, t, n, r) {
|
|
3384
|
+
return e.tagName === "TEXTAREA" && (t === "width" || t === "height") && _(r) && n === r;
|
|
3385
|
+
}
|
|
3386
|
+
var Cs = "http://www.w3.org/1999/xlink";
|
|
3387
|
+
function ws(e, t, n, r, i, a = we(t)) {
|
|
3388
|
+
r && t.startsWith("xlink:") ? n == null ? e.removeAttributeNS(Cs, t.slice(6, t.length)) : e.setAttributeNS(Cs, t, n) : n == null || a && !Te(n) ? e.removeAttribute(t) : e.setAttribute(t, a ? "" : v(n) ? String(n) : n);
|
|
3389
|
+
}
|
|
3390
|
+
function Ts(e, t, n, r, i) {
|
|
3391
|
+
if (t === "innerHTML" || t === "textContent") {
|
|
3392
|
+
n != null && (e[t] = t === "innerHTML" ? rs(n) : n);
|
|
3393
|
+
return;
|
|
3394
|
+
}
|
|
3395
|
+
let a = e.tagName;
|
|
3396
|
+
if (t === "value" && a !== "PROGRESS" && !a.includes("-")) {
|
|
3397
|
+
let r = a === "OPTION" ? e.getAttribute("value") || "" : e.value, i = n == null ? e.type === "checkbox" ? "on" : "" : String(n);
|
|
3398
|
+
(r !== i || !("_value" in e)) && (e.value = i), n ?? e.removeAttribute(t), e._value = n;
|
|
3399
|
+
return;
|
|
3400
|
+
}
|
|
3401
|
+
let o = !1;
|
|
3402
|
+
if (n === "" || n == null) {
|
|
3403
|
+
let r = typeof e[t];
|
|
3404
|
+
r === "boolean" ? n = Te(n) : n == null && r === "string" ? (n = "", o = !0) : r === "number" && (n = 0, o = !0);
|
|
3405
|
+
}
|
|
3406
|
+
try {
|
|
3407
|
+
e[t] = n;
|
|
3408
|
+
} catch (e) {
|
|
3409
|
+
process.env.NODE_ENV !== "production" && !o && es(`Failed setting prop "${t}" on <${a.toLowerCase()}>: value ${n} is invalid.`, e);
|
|
3410
|
+
}
|
|
3411
|
+
o && e.removeAttribute(i || t);
|
|
3412
|
+
}
|
|
3413
|
+
function Es(e, t, n, r) {
|
|
3414
|
+
e.addEventListener(t, n, r);
|
|
3415
|
+
}
|
|
3416
|
+
function Ds(e, t, n, r) {
|
|
3417
|
+
e.removeEventListener(t, n, r);
|
|
3418
|
+
}
|
|
3419
|
+
var Os = /* @__PURE__ */ Symbol("_vei");
|
|
3420
|
+
function ks(e, t, n, r, i = null) {
|
|
3421
|
+
let a = e[Os] || (e[Os] = {}), o = a[t];
|
|
3422
|
+
if (r && o) o.value = process.env.NODE_ENV === "production" ? r : Is(r, t);
|
|
3423
|
+
else {
|
|
3424
|
+
let [n, s] = js(t);
|
|
3425
|
+
r ? Es(e, n, a[t] = Fs(process.env.NODE_ENV === "production" ? r : Is(r, t), i), s) : o && (Ds(e, n, o, s), a[t] = void 0);
|
|
3426
|
+
}
|
|
3427
|
+
}
|
|
3428
|
+
var As = /(?:Once|Passive|Capture)$/;
|
|
3429
|
+
function js(e) {
|
|
3430
|
+
let t;
|
|
3431
|
+
if (As.test(e)) {
|
|
3432
|
+
t = {};
|
|
3433
|
+
let n;
|
|
3434
|
+
for (; n = e.match(As);) e = e.slice(0, e.length - n[0].length), t[n[0].toLowerCase()] = !0;
|
|
3435
|
+
}
|
|
3436
|
+
return [e[2] === ":" ? e.slice(3) : D(e.slice(2)), t];
|
|
3437
|
+
}
|
|
3438
|
+
var Ms = 0, Ns = /* @__PURE__ */ Promise.resolve(), Ps = () => Ms ||= (Ns.then(() => Ms = 0), Date.now());
|
|
3439
|
+
function Fs(e, t) {
|
|
3440
|
+
let n = (e) => {
|
|
3441
|
+
if (!e._vts) e._vts = Date.now();
|
|
3442
|
+
else if (e._vts <= n.attached) return;
|
|
3443
|
+
kn(Ls(e, n.value), t, 5, [e]);
|
|
3444
|
+
};
|
|
3445
|
+
return n.value = e, n.attached = Ps(), n;
|
|
3446
|
+
}
|
|
3447
|
+
function Is(e, t) {
|
|
3448
|
+
return g(e) || f(e) ? e : (es(`Wrong type passed as event handler to ${t} - did you forget @ or : in front of your prop?
|
|
3449
|
+
Expected function or array of functions, received type ${typeof e}.`), i);
|
|
3450
|
+
}
|
|
3451
|
+
function Ls(e, t) {
|
|
3452
|
+
if (f(t)) {
|
|
3453
|
+
let n = e.stopImmediatePropagation;
|
|
3454
|
+
return e.stopImmediatePropagation = () => {
|
|
3455
|
+
n.call(e), e._stopped = !0;
|
|
3456
|
+
}, t.map((e) => (t) => !t._stopped && e && e(t));
|
|
3457
|
+
} else return t;
|
|
3458
|
+
}
|
|
3459
|
+
var Rs = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) > 96 && e.charCodeAt(2) < 123, zs = (e, t, n, r, i, a) => {
|
|
3460
|
+
let c = i === "svg";
|
|
3461
|
+
t === "class" ? us(e, r, c) : t === "style" ? hs(e, n, r) : o(t) ? s(t) || ks(e, t, n, r, a) : (t[0] === "." ? (t = t.slice(1), !0) : t[0] === "^" ? (t = t.slice(1), !1) : Bs(e, t, r, c)) ? (Ts(e, t, r), !e.tagName.includes("-") && (t === "value" || t === "checked" || t === "selected") && ws(e, t, r, c, a, t !== "value")) : e._isVueCE && (Vs(e, t) || e._def.__asyncLoader && (/[A-Z]/.test(t) || !_(r))) ? Ts(e, E(t), r, a, t) : (t === "true-value" ? e._trueValue = r : t === "false-value" && (e._falseValue = r), ws(e, t, r, c));
|
|
3462
|
+
};
|
|
3463
|
+
function Bs(e, t, n, r) {
|
|
3464
|
+
if (r) return !!(t === "innerHTML" || t === "textContent" || t in e && Rs(t) && g(n));
|
|
3465
|
+
if (t === "spellcheck" || t === "draggable" || t === "translate" || t === "autocorrect" || t === "sandbox" && e.tagName === "IFRAME" || t === "form" || t === "list" && e.tagName === "INPUT" || t === "type" && e.tagName === "TEXTAREA") return !1;
|
|
3466
|
+
if (t === "width" || t === "height") {
|
|
3467
|
+
let t = e.tagName;
|
|
3468
|
+
if (t === "IMG" || t === "VIDEO" || t === "CANVAS" || t === "SOURCE") return !1;
|
|
3469
|
+
}
|
|
3470
|
+
return Rs(t) && _(n) ? !1 : t in e;
|
|
3471
|
+
}
|
|
3472
|
+
function Vs(e, t) {
|
|
3473
|
+
let n = e._def.props;
|
|
3474
|
+
if (!n) return !1;
|
|
3475
|
+
let r = E(t);
|
|
3476
|
+
return Array.isArray(n) ? n.some((e) => E(e) === r) : Object.keys(n).some((e) => E(e) === r);
|
|
3477
|
+
}
|
|
3478
|
+
var Hs = (e) => {
|
|
3479
|
+
let t = e.props["onUpdate:modelValue"] || !1;
|
|
3480
|
+
return f(t) ? (e) => ce(t, e) : t;
|
|
3481
|
+
};
|
|
3482
|
+
function Us(e) {
|
|
3483
|
+
e.target.composing = !0;
|
|
3484
|
+
}
|
|
3485
|
+
function Ws(e) {
|
|
3486
|
+
let t = e.target;
|
|
3487
|
+
t.composing && (t.composing = !1, t.dispatchEvent(new Event("input")));
|
|
3488
|
+
}
|
|
3489
|
+
var Gs = /* @__PURE__ */ Symbol("_assign");
|
|
3490
|
+
function Ks(e, t, n) {
|
|
3491
|
+
return t && (e = e.trim()), n && (e = le(e)), e;
|
|
3492
|
+
}
|
|
3493
|
+
var qs = {
|
|
3494
|
+
created(e, { modifiers: { lazy: t, trim: n, number: r } }, i) {
|
|
3495
|
+
e[Gs] = Hs(i);
|
|
3496
|
+
let a = r || i.props && i.props.type === "number";
|
|
3497
|
+
Es(e, t ? "change" : "input", (t) => {
|
|
3498
|
+
t.target.composing || e[Gs](Ks(e.value, n, a));
|
|
3499
|
+
}), (n || a) && Es(e, "change", () => {
|
|
3500
|
+
e.value = Ks(e.value, n, a);
|
|
3501
|
+
}), t || (Es(e, "compositionstart", Us), Es(e, "compositionend", Ws), Es(e, "change", Ws));
|
|
3502
|
+
},
|
|
3503
|
+
mounted(e, { value: t }) {
|
|
3504
|
+
e.value = t ?? "";
|
|
3505
|
+
},
|
|
3506
|
+
beforeUpdate(e, { value: t, oldValue: n, modifiers: { lazy: r, trim: i, number: a } }, o) {
|
|
3507
|
+
if (e[Gs] = Hs(o), e.composing) return;
|
|
3508
|
+
let s = (a || e.type === "number") && !/^0\d/.test(e.value) ? le(e.value) : e.value, c = t ?? "";
|
|
3509
|
+
if (s === c) return;
|
|
3510
|
+
let l = e.getRootNode();
|
|
3511
|
+
(l instanceof Document || l instanceof ShadowRoot) && l.activeElement === e && e.type !== "range" && (r && t === n || i && e.value.trim() === c) || (e.value = c);
|
|
3512
|
+
}
|
|
3513
|
+
}, Js = [
|
|
3514
|
+
"ctrl",
|
|
3515
|
+
"shift",
|
|
3516
|
+
"alt",
|
|
3517
|
+
"meta"
|
|
3518
|
+
], Ys = {
|
|
3519
|
+
stop: (e) => e.stopPropagation(),
|
|
3520
|
+
prevent: (e) => e.preventDefault(),
|
|
3521
|
+
self: (e) => e.target !== e.currentTarget,
|
|
3522
|
+
ctrl: (e) => !e.ctrlKey,
|
|
3523
|
+
shift: (e) => !e.shiftKey,
|
|
3524
|
+
alt: (e) => !e.altKey,
|
|
3525
|
+
meta: (e) => !e.metaKey,
|
|
3526
|
+
left: (e) => "button" in e && e.button !== 0,
|
|
3527
|
+
middle: (e) => "button" in e && e.button !== 1,
|
|
3528
|
+
right: (e) => "button" in e && e.button !== 2,
|
|
3529
|
+
exact: (e, t) => Js.some((n) => e[`${n}Key`] && !t.includes(n))
|
|
3530
|
+
}, Xs = (e, t) => {
|
|
3531
|
+
if (!e) return e;
|
|
3532
|
+
let n = e._withMods ||= {}, r = t.join(".");
|
|
3533
|
+
return n[r] || (n[r] = ((n, ...r) => {
|
|
3534
|
+
for (let e = 0; e < t.length; e++) {
|
|
3535
|
+
let r = Ys[t[e]];
|
|
3536
|
+
if (r && r(n, t)) return;
|
|
3537
|
+
}
|
|
3538
|
+
return e(n, ...r);
|
|
3539
|
+
}));
|
|
3540
|
+
}, Zs = /* @__PURE__ */ c({ patchProp: zs }, cs), Qs;
|
|
3541
|
+
function $s() {
|
|
3542
|
+
return Qs ||= Va(Zs);
|
|
3543
|
+
}
|
|
3544
|
+
var ec = ((...e) => {
|
|
3545
|
+
let t = $s().createApp(...e);
|
|
3546
|
+
process.env.NODE_ENV !== "production" && (nc(t), rc(t));
|
|
3547
|
+
let { mount: n } = t;
|
|
3548
|
+
return t.mount = (e) => {
|
|
3549
|
+
let r = ic(e);
|
|
3550
|
+
if (!r) return;
|
|
3551
|
+
let i = t._component;
|
|
3552
|
+
!g(i) && !i.render && !i.template && (i.template = r.innerHTML), r.nodeType === 1 && (r.textContent = "");
|
|
3553
|
+
let a = n(r, !1, tc(r));
|
|
3554
|
+
return r instanceof Element && (r.removeAttribute("v-cloak"), r.setAttribute("data-v-app", "")), a;
|
|
3555
|
+
}, t;
|
|
3556
|
+
});
|
|
3557
|
+
function tc(e) {
|
|
3558
|
+
if (e instanceof SVGElement) return "svg";
|
|
3559
|
+
if (typeof MathMLElement == "function" && e instanceof MathMLElement) return "mathml";
|
|
3560
|
+
}
|
|
3561
|
+
function nc(e) {
|
|
3562
|
+
Object.defineProperty(e.config, "isNativeTag", {
|
|
3563
|
+
value: (e) => be(e) || xe(e) || Se(e),
|
|
3564
|
+
writable: !1
|
|
3565
|
+
});
|
|
3566
|
+
}
|
|
3567
|
+
function rc(e) {
|
|
3568
|
+
if (Vo()) {
|
|
3569
|
+
let t = e.config.isCustomElement;
|
|
3570
|
+
Object.defineProperty(e.config, "isCustomElement", {
|
|
3571
|
+
get() {
|
|
3572
|
+
return t;
|
|
3573
|
+
},
|
|
3574
|
+
set() {
|
|
3575
|
+
es("The `isCustomElement` config option is deprecated. Use `compilerOptions.isCustomElement` instead.");
|
|
3576
|
+
}
|
|
3577
|
+
});
|
|
3578
|
+
let n = e.config.compilerOptions, r = "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";
|
|
3579
|
+
Object.defineProperty(e.config, "compilerOptions", {
|
|
3580
|
+
get() {
|
|
3581
|
+
return es(r), n;
|
|
3582
|
+
},
|
|
3583
|
+
set() {
|
|
3584
|
+
es(r);
|
|
3585
|
+
}
|
|
3586
|
+
});
|
|
3587
|
+
}
|
|
3588
|
+
}
|
|
3589
|
+
function ic(e) {
|
|
3590
|
+
if (_(e)) {
|
|
3591
|
+
let t = document.querySelector(e);
|
|
3592
|
+
return process.env.NODE_ENV !== "production" && !t && es(`Failed to mount app: mount target selector "${e}" returned null.`), t;
|
|
3593
|
+
}
|
|
3594
|
+
return process.env.NODE_ENV !== "production" && window.ShadowRoot && e instanceof window.ShadowRoot && e.mode === "closed" && es("mounting on a ShadowRoot with `{mode: \"closed\"}` may lead to unpredictable bugs"), e;
|
|
3595
|
+
}
|
|
3596
|
+
//#endregion
|
|
3597
|
+
//#region ../../node_modules/.pnpm/vue@3.5.34_typescript@6.0.3/node_modules/vue/dist/vue.runtime.esm-bundler.js
|
|
3598
|
+
function ac() {
|
|
3599
|
+
Qo();
|
|
3600
|
+
}
|
|
3601
|
+
process.env.NODE_ENV !== "production" && ac();
|
|
3602
|
+
//#endregion
|
|
3603
|
+
//#region ../../node_modules/.pnpm/@antfu+design@0.2.1_@antfu+utils@9.3.0_@tanstack+vue-virtual@3.13.30_vue@3.5.34_typescr_9e9b92d531c804543b6b720b34c22cd6/node_modules/@antfu/design/components/Layout/LayoutToolbar.vue?vue&type=script&setup=true&lang.ts
|
|
3604
|
+
var oc = {
|
|
3605
|
+
key: 0,
|
|
3606
|
+
class: "flex-1 min-w-0"
|
|
3607
|
+
}, sc = {
|
|
3608
|
+
key: 1,
|
|
3609
|
+
class: "flex gap-1 items-center"
|
|
3610
|
+
}, cc = /* @__PURE__ */ Vr({
|
|
3611
|
+
__name: "LayoutToolbar",
|
|
3612
|
+
props: {
|
|
3613
|
+
sticky: {
|
|
3614
|
+
type: Boolean,
|
|
3615
|
+
default: !0
|
|
3616
|
+
},
|
|
3617
|
+
glass: {
|
|
3618
|
+
type: Boolean,
|
|
3619
|
+
default: !0
|
|
3620
|
+
}
|
|
3621
|
+
},
|
|
3622
|
+
setup(e) {
|
|
3623
|
+
return (t, n) => (K(), q("div", { class: k(["px-3 py-2 border-b border-base flex gap-3 items-center", [e.sticky ? "sticky top-0 z-nav" : "", e.glass ? "bg-glass" : "bg-base"]]) }, [
|
|
3624
|
+
mi(t.$slots, "start", {}, () => [mi(t.$slots, "default")]),
|
|
3625
|
+
t.$slots.search ? (K(), q("div", oc, [mi(t.$slots, "search")])) : Z("", !0),
|
|
3626
|
+
t.$slots.end ? (K(), q("div", sc, [mi(t.$slots, "end")])) : Z("", !0)
|
|
3627
|
+
], 2));
|
|
3628
|
+
}
|
|
3629
|
+
});
|
|
3630
|
+
//#endregion
|
|
3631
|
+
//#region ../../node_modules/.pnpm/@vueuse+shared@14.3.0_vue@3.5.34_typescript@6.0.3_/node_modules/@vueuse/shared/dist/index.js
|
|
3632
|
+
function lc(e, t) {
|
|
3633
|
+
return Ne() ? (Pe(e, t), !0) : !1;
|
|
3634
|
+
}
|
|
3635
|
+
var uc = typeof window < "u" && typeof document < "u";
|
|
3636
|
+
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
3637
|
+
var dc = Object.prototype.toString, fc = (e) => dc.call(e) === "[object Object]";
|
|
3638
|
+
function pc(e) {
|
|
3639
|
+
let t;
|
|
3640
|
+
function n() {
|
|
3641
|
+
return t ||= e(), t;
|
|
3642
|
+
}
|
|
3643
|
+
return n.reset = async () => {
|
|
3644
|
+
let e = t;
|
|
3645
|
+
t = void 0, e && await e;
|
|
3646
|
+
}, n;
|
|
3647
|
+
}
|
|
3648
|
+
function mc(e) {
|
|
3649
|
+
return Array.isArray(e) ? e : [e];
|
|
3650
|
+
}
|
|
3651
|
+
function hc(e, t = 1e3, n = {}) {
|
|
3652
|
+
let { immediate: r = !0, immediateCallback: i = !1 } = n, a = null, o = /* @__PURE__ */ rn(!1);
|
|
3653
|
+
function s() {
|
|
3654
|
+
a &&= (clearInterval(a), null);
|
|
3655
|
+
}
|
|
3656
|
+
function c() {
|
|
3657
|
+
o.value = !1, s();
|
|
3658
|
+
}
|
|
3659
|
+
function l() {
|
|
3660
|
+
let n = sn(t);
|
|
3661
|
+
n <= 0 || (o.value = !0, i && e(), s(), o.value && (a = setInterval(e, n)));
|
|
3662
|
+
}
|
|
3663
|
+
return r && uc && l(), (/* @__PURE__ */ L(t) || typeof t == "function") && lc(Nr(t, () => {
|
|
3664
|
+
o.value && uc && l();
|
|
3665
|
+
})), lc(c), {
|
|
3666
|
+
isActive: /* @__PURE__ */ P(o),
|
|
3667
|
+
pause: c,
|
|
3668
|
+
resume: l
|
|
3669
|
+
};
|
|
3670
|
+
}
|
|
3671
|
+
function gc(e, t, n = {}) {
|
|
3672
|
+
let { immediate: r = !0, immediateCallback: i = !1 } = n, a = /* @__PURE__ */ rn(!1), o;
|
|
3673
|
+
function s() {
|
|
3674
|
+
o &&= (clearTimeout(o), void 0);
|
|
3675
|
+
}
|
|
3676
|
+
function c() {
|
|
3677
|
+
a.value = !1, s();
|
|
3678
|
+
}
|
|
3679
|
+
function l(...n) {
|
|
3680
|
+
i && e(), s(), a.value = !0, o = setTimeout(() => {
|
|
3681
|
+
a.value = !1, o = void 0, e(...n);
|
|
3682
|
+
}, sn(t));
|
|
3683
|
+
}
|
|
3684
|
+
return r && (a.value = !0, uc && l()), lc(c), {
|
|
3685
|
+
isPending: /* @__PURE__ */ P(a),
|
|
3686
|
+
start: l,
|
|
3687
|
+
stop: c
|
|
3688
|
+
};
|
|
3689
|
+
}
|
|
3690
|
+
function _c(e, t, n) {
|
|
3691
|
+
return Nr(e, t, {
|
|
3692
|
+
...n,
|
|
3693
|
+
immediate: !0
|
|
3694
|
+
});
|
|
3695
|
+
}
|
|
3696
|
+
//#endregion
|
|
3697
|
+
//#region ../../node_modules/.pnpm/@vueuse+core@14.3.0_vue@3.5.34_typescript@6.0.3_/node_modules/@vueuse/core/dist/index.js
|
|
3698
|
+
var vc = uc ? window : void 0;
|
|
3699
|
+
uc && window.document;
|
|
3700
|
+
var yc = uc ? window.navigator : void 0;
|
|
3701
|
+
uc && window.location;
|
|
3702
|
+
function bc(e) {
|
|
3703
|
+
let t = sn(e);
|
|
3704
|
+
return t?.$el ?? t;
|
|
3705
|
+
}
|
|
3706
|
+
function xc(...e) {
|
|
3707
|
+
let t = (e, t, n, r) => (e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r)), n = $(() => {
|
|
3708
|
+
let t = mc(sn(e[0])).filter((e) => e != null);
|
|
3709
|
+
return t.every((e) => typeof e != "string") ? t : void 0;
|
|
3710
|
+
});
|
|
3711
|
+
return _c(() => [
|
|
3712
|
+
n.value?.map((e) => bc(e)) ?? [vc].filter((e) => e != null),
|
|
3713
|
+
mc(sn(n.value ? e[1] : e[0])),
|
|
3714
|
+
mc(R(n.value ? e[2] : e[1])),
|
|
3715
|
+
sn(n.value ? e[3] : e[2])
|
|
3716
|
+
], ([e, n, r, i], a, o) => {
|
|
3717
|
+
if (!e?.length || !n?.length || !r?.length) return;
|
|
3718
|
+
let s = fc(i) ? { ...i } : i, c = e.flatMap((e) => n.flatMap((n) => r.map((r) => t(e, n, r, s))));
|
|
3719
|
+
o(() => {
|
|
3720
|
+
c.forEach((e) => e());
|
|
3721
|
+
});
|
|
3722
|
+
}, { flush: "post" });
|
|
3723
|
+
}
|
|
3724
|
+
function Sc() {
|
|
3725
|
+
let e = /* @__PURE__ */ rn(!1), t = Do();
|
|
3726
|
+
return t && ri(() => {
|
|
3727
|
+
e.value = !0;
|
|
3728
|
+
}, t), e;
|
|
3729
|
+
}
|
|
3730
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
3731
|
+
function Cc(e) {
|
|
3732
|
+
let t = Sc();
|
|
3733
|
+
return $(() => (t.value, !!e()));
|
|
3734
|
+
}
|
|
3735
|
+
function wc(e, t = {}) {
|
|
3736
|
+
let { immediate: n = !0, fpsLimit: r = null, window: i = vc, once: a = !1 } = t, o = /* @__PURE__ */ rn(!1), s = $(() => {
|
|
3737
|
+
let e = sn(r);
|
|
3738
|
+
return e ? 1e3 / e : null;
|
|
3739
|
+
}), c = 0, l = null;
|
|
3740
|
+
function u(t) {
|
|
3741
|
+
if (!o.value || !i) return;
|
|
3742
|
+
c ||= t;
|
|
3743
|
+
let n = t - c;
|
|
3744
|
+
if (s.value && n < s.value) {
|
|
3745
|
+
l = i.requestAnimationFrame(u);
|
|
3746
|
+
return;
|
|
3747
|
+
}
|
|
3748
|
+
if (c = t, e({
|
|
3749
|
+
delta: n,
|
|
3750
|
+
timestamp: t
|
|
3751
|
+
}), a) {
|
|
3752
|
+
o.value = !1, l = null;
|
|
3753
|
+
return;
|
|
3754
|
+
}
|
|
3755
|
+
l = i.requestAnimationFrame(u);
|
|
3756
|
+
}
|
|
3757
|
+
function d() {
|
|
3758
|
+
!o.value && i && (o.value = !0, c = 0, l = i.requestAnimationFrame(u));
|
|
3759
|
+
}
|
|
3760
|
+
function f() {
|
|
3761
|
+
o.value = !1, l != null && i && (i.cancelAnimationFrame(l), l = null);
|
|
3762
|
+
}
|
|
3763
|
+
return n && d(), lc(f), {
|
|
3764
|
+
isActive: /* @__PURE__ */ P(o),
|
|
3765
|
+
pause: f,
|
|
3766
|
+
resume: d
|
|
3767
|
+
};
|
|
3768
|
+
}
|
|
3769
|
+
function Tc(e, t = {}) {
|
|
3770
|
+
let { controls: n = !1, navigator: r = yc } = t, i = /* @__PURE__ */ Cc(() => r && "permissions" in r), a = /* @__PURE__ */ rn(), o = typeof e == "string" ? { name: e } : e, s = /* @__PURE__ */ rn(), c = () => {
|
|
3771
|
+
s.value = a.value?.state ?? "prompt";
|
|
3772
|
+
};
|
|
3773
|
+
xc(a, "change", c, { passive: !0 });
|
|
3774
|
+
let l = pc(async () => {
|
|
3775
|
+
if (i.value) {
|
|
3776
|
+
if (!a.value) try {
|
|
3777
|
+
a.value = await r.permissions.query(o);
|
|
3778
|
+
} catch {
|
|
3779
|
+
a.value = void 0;
|
|
3780
|
+
} finally {
|
|
3781
|
+
c();
|
|
3782
|
+
}
|
|
3783
|
+
if (n) return /* @__PURE__ */ I(a.value);
|
|
3784
|
+
}
|
|
3785
|
+
});
|
|
3786
|
+
return l(), n ? {
|
|
3787
|
+
state: s,
|
|
3788
|
+
isSupported: i,
|
|
3789
|
+
query: l
|
|
3790
|
+
} : s;
|
|
3791
|
+
}
|
|
3792
|
+
function Ec(e = {}) {
|
|
3793
|
+
let { navigator: t = yc, read: n = !1, source: r, copiedDuring: i = 1500, legacy: a = !1 } = e, o = /* @__PURE__ */ Cc(() => t && "clipboard" in t), s = Tc("clipboard-read"), c = Tc("clipboard-write"), l = $(() => o.value || a), u = /* @__PURE__ */ rn(""), d = /* @__PURE__ */ rn(!1), f = /* @__PURE__ */ rn(!1), p = gc(() => d.value = !1, i, { immediate: !1 }), m = 0;
|
|
3794
|
+
async function h() {
|
|
3795
|
+
let e = !(o.value && b(s.value));
|
|
3796
|
+
if (!e) try {
|
|
3797
|
+
u.value = await t.clipboard.readText();
|
|
3798
|
+
} catch {
|
|
3799
|
+
e = !0;
|
|
3800
|
+
}
|
|
3801
|
+
e && (u.value = y());
|
|
3802
|
+
}
|
|
3803
|
+
l.value && n && xc(["copy", "cut"], h, { passive: !0 });
|
|
3804
|
+
async function g(e) {
|
|
3805
|
+
let n = e ?? sn(r);
|
|
3806
|
+
if (l.value && n != null) {
|
|
3807
|
+
f.value = !0;
|
|
3808
|
+
let e = !(o.value && b(c.value));
|
|
3809
|
+
if (!e) try {
|
|
3810
|
+
let e = _(n);
|
|
3811
|
+
await t.clipboard.write([e]);
|
|
3812
|
+
} catch {
|
|
3813
|
+
e = !0;
|
|
3814
|
+
}
|
|
3815
|
+
if (e) if (typeof n == "string") u.value = n, v(n);
|
|
3816
|
+
else {
|
|
3817
|
+
let e = ++m, t = await n();
|
|
3818
|
+
t != null && e === m && (u.value = t, v(t));
|
|
3819
|
+
}
|
|
3820
|
+
d.value = !0, p.start(), f.value = !1;
|
|
3821
|
+
}
|
|
3822
|
+
}
|
|
3823
|
+
function _(e) {
|
|
3824
|
+
return typeof e == "string" ? (u.value = e, new ClipboardItem({ "text/plain": e })) : new ClipboardItem({ "text/plain": e().then((e = "") => (u.value = e, new Blob([e], { type: "text/plain" }))) });
|
|
3825
|
+
}
|
|
3826
|
+
function v(e) {
|
|
3827
|
+
let t = document.createElement("textarea");
|
|
3828
|
+
t.value = e, t.style.position = "absolute", t.style.opacity = "0", t.setAttribute("readonly", ""), document.body.appendChild(t), t.select(), document.execCommand("copy"), t.remove();
|
|
3829
|
+
}
|
|
3830
|
+
function y() {
|
|
3831
|
+
var e, t;
|
|
3832
|
+
return ((e = document) == null || (t = e.getSelection) == null || (t = t.call(e)) == null ? void 0 : t.toString()) ?? "";
|
|
3833
|
+
}
|
|
3834
|
+
function b(e) {
|
|
3835
|
+
return e === "granted" || e === "prompt";
|
|
3836
|
+
}
|
|
3837
|
+
return {
|
|
3838
|
+
copyPending: /* @__PURE__ */ P(f),
|
|
3839
|
+
isSupported: l,
|
|
3840
|
+
text: /* @__PURE__ */ P(u),
|
|
3841
|
+
copied: /* @__PURE__ */ P(d),
|
|
3842
|
+
copy: g
|
|
3843
|
+
};
|
|
3844
|
+
}
|
|
3845
|
+
function Dc(e) {
|
|
3846
|
+
if ("interval" in e || "immediate" in e) {
|
|
3847
|
+
let { interval: t = "requestAnimationFrame", immediate: n = !0 } = e;
|
|
3848
|
+
return t === "requestAnimationFrame" ? (e) => wc(e, { immediate: n }) : (n) => hc(n, t, e);
|
|
3849
|
+
}
|
|
3850
|
+
return wc;
|
|
3851
|
+
}
|
|
3852
|
+
function Oc(e = {}) {
|
|
3853
|
+
let { controls: t = !1, scheduler: n = Dc(e) } = e, r = /* @__PURE__ */ rn(/* @__PURE__ */ new Date()), i = n(() => r.value = /* @__PURE__ */ new Date());
|
|
3854
|
+
return t ? {
|
|
3855
|
+
now: r,
|
|
3856
|
+
...i
|
|
3857
|
+
} : r;
|
|
3858
|
+
}
|
|
3859
|
+
var kc = [
|
|
3860
|
+
{
|
|
3861
|
+
max: 6e4,
|
|
3862
|
+
value: 1e3,
|
|
3863
|
+
name: "second"
|
|
3864
|
+
},
|
|
3865
|
+
{
|
|
3866
|
+
max: 276e4,
|
|
3867
|
+
value: 6e4,
|
|
3868
|
+
name: "minute"
|
|
3869
|
+
},
|
|
3870
|
+
{
|
|
3871
|
+
max: 72e6,
|
|
3872
|
+
value: 36e5,
|
|
3873
|
+
name: "hour"
|
|
3874
|
+
},
|
|
3875
|
+
{
|
|
3876
|
+
max: 5184e5,
|
|
3877
|
+
value: 864e5,
|
|
3878
|
+
name: "day"
|
|
3879
|
+
},
|
|
3880
|
+
{
|
|
3881
|
+
max: 24192e5,
|
|
3882
|
+
value: 6048e5,
|
|
3883
|
+
name: "week"
|
|
3884
|
+
},
|
|
3885
|
+
{
|
|
3886
|
+
max: 28512e6,
|
|
3887
|
+
value: 2592e6,
|
|
3888
|
+
name: "month"
|
|
3889
|
+
},
|
|
3890
|
+
{
|
|
3891
|
+
max: Infinity,
|
|
3892
|
+
value: 31536e6,
|
|
3893
|
+
name: "year"
|
|
3894
|
+
}
|
|
3895
|
+
], Ac = {
|
|
3896
|
+
justNow: "just now",
|
|
3897
|
+
past: (e) => /\d/.test(e) ? `${e} ago` : e,
|
|
3898
|
+
future: (e) => /\d/.test(e) ? `in ${e}` : e,
|
|
3899
|
+
month: (e, t) => e === 1 ? t ? "last month" : "next month" : `${e} month${e > 1 ? "s" : ""}`,
|
|
3900
|
+
year: (e, t) => e === 1 ? t ? "last year" : "next year" : `${e} year${e > 1 ? "s" : ""}`,
|
|
3901
|
+
day: (e, t) => e === 1 ? t ? "yesterday" : "tomorrow" : `${e} day${e > 1 ? "s" : ""}`,
|
|
3902
|
+
week: (e, t) => e === 1 ? t ? "last week" : "next week" : `${e} week${e > 1 ? "s" : ""}`,
|
|
3903
|
+
hour: (e) => `${e} hour${e > 1 ? "s" : ""}`,
|
|
3904
|
+
minute: (e) => `${e} minute${e > 1 ? "s" : ""}`,
|
|
3905
|
+
second: (e) => `${e} second${e > 1 ? "s" : ""}`,
|
|
3906
|
+
invalid: ""
|
|
3907
|
+
};
|
|
3908
|
+
function jc(e) {
|
|
3909
|
+
return e.toISOString().slice(0, 10);
|
|
3910
|
+
}
|
|
3911
|
+
function Mc(e) {
|
|
3912
|
+
if ("updateInterval" in e) {
|
|
3913
|
+
let { updateInterval: t = 3e4 } = e;
|
|
3914
|
+
return (e) => hc(e, t);
|
|
3915
|
+
}
|
|
3916
|
+
return (e) => hc(e, 3e4);
|
|
3917
|
+
}
|
|
3918
|
+
function Nc(e, t = {}) {
|
|
3919
|
+
let { controls: n = !1, scheduler: r = Mc(t) } = t, { now: i, ...a } = Oc({
|
|
3920
|
+
scheduler: r,
|
|
3921
|
+
controls: !0
|
|
3922
|
+
}), o = $(() => Pc(new Date(sn(e)), t, sn(i)));
|
|
3923
|
+
return n ? {
|
|
3924
|
+
timeAgo: o,
|
|
3925
|
+
...a
|
|
3926
|
+
} : o;
|
|
3927
|
+
}
|
|
3928
|
+
function Pc(e, t = {}, n = Date.now()) {
|
|
3929
|
+
let { max: r, messages: i = Ac, fullDateFormatter: a = jc, units: o = kc, showSecond: s = !1, rounding: c = "round" } = t, l = typeof c == "number" ? (e) => +e.toFixed(c) : Math[c], u = n - +e, d = Math.abs(u);
|
|
3930
|
+
function f(e, t) {
|
|
3931
|
+
return l(Math.abs(e) / t.value);
|
|
3932
|
+
}
|
|
3933
|
+
function p(e, t) {
|
|
3934
|
+
let n = f(e, t), r = e > 0, i = m(t.name, n, r);
|
|
3935
|
+
return m(r ? "past" : "future", i, r);
|
|
3936
|
+
}
|
|
3937
|
+
function m(e, t, n) {
|
|
3938
|
+
let r = i[e];
|
|
3939
|
+
return typeof r == "function" ? r(t, n) : r.replace("{0}", t.toString());
|
|
3940
|
+
}
|
|
3941
|
+
if (d < 6e4 && !s) return i.justNow;
|
|
3942
|
+
if (typeof r == "number" && d > r) return a(new Date(e));
|
|
3943
|
+
if (typeof r == "string") {
|
|
3944
|
+
let t = o.find((e) => e.name === r)?.max;
|
|
3945
|
+
if (t && d > t) return a(new Date(e));
|
|
3946
|
+
}
|
|
3947
|
+
for (let [e, t] of o.entries()) {
|
|
3948
|
+
if (f(u, t) <= 0 && o[e - 1]) return p(u, o[e - 1]);
|
|
3949
|
+
if (d < t.max) return p(u, t);
|
|
3950
|
+
}
|
|
3951
|
+
return i.invalid;
|
|
3952
|
+
}
|
|
3953
|
+
//#endregion
|
|
3954
|
+
//#region src/client/components/FilterToggles.vue?vue&type=script&setup=true&lang.ts
|
|
3955
|
+
var Fc = { class: "text-xs op40" }, Ic = { class: "flex flex-wrap items-center gap-0.5" }, Lc = ["onClick"], Rc = /* @__PURE__ */ Vr({
|
|
3956
|
+
__name: "FilterToggles",
|
|
3957
|
+
props: {
|
|
3958
|
+
label: {},
|
|
3959
|
+
items: {},
|
|
3960
|
+
active: {},
|
|
3961
|
+
styles: {},
|
|
3962
|
+
hashColor: { type: Function }
|
|
3963
|
+
},
|
|
3964
|
+
emits: ["toggle"],
|
|
3965
|
+
setup(e) {
|
|
3966
|
+
return (t, n) => (K(), q(W, null, [J("span", Fc, A(e.label), 1), J("div", Ic, [(K(!0), q(W, null, pi(e.items, (n) => (K(), q("button", {
|
|
3967
|
+
key: n,
|
|
3968
|
+
class: k(["px-1.5 py-0.5 rounded text-xs flex items-center gap-0.5 hover:bg-active transition", [e.active.size === 0 || e.active.has(n) ? e.styles?.[n]?.color || "" : "op30"]]),
|
|
3969
|
+
style: fe(!e.styles?.[n]?.color && e.hashColor ? {
|
|
3970
|
+
color: e.active.size === 0 || e.active.has(n) ? e.hashColor(n, 1) : void 0,
|
|
3971
|
+
backgroundColor: e.active.size === 0 || e.active.has(n) ? e.hashColor(n, .1) : void 0
|
|
3972
|
+
} : void 0),
|
|
3973
|
+
onClick: (e) => t.$emit("toggle", n)
|
|
3974
|
+
}, [e.styles?.[n]?.icon ? (K(), q("div", {
|
|
3975
|
+
key: 0,
|
|
3976
|
+
class: k([e.styles[n].icon, "w-3.5 h-3.5"])
|
|
3977
|
+
}, null, 2)) : Z("", !0), J("span", null, A(e.styles?.[n]?.label || n), 1)], 14, Lc))), 128))])], 64));
|
|
3978
|
+
}
|
|
3979
|
+
}), zc = {
|
|
3980
|
+
info: {
|
|
3981
|
+
icon: "i-ph:info-duotone",
|
|
3982
|
+
color: "text-blue",
|
|
3983
|
+
bg: "bg-blue",
|
|
3984
|
+
label: "Info"
|
|
3985
|
+
},
|
|
3986
|
+
warn: {
|
|
3987
|
+
icon: "i-ph:warning-duotone",
|
|
3988
|
+
color: "text-amber",
|
|
3989
|
+
bg: "bg-amber",
|
|
3990
|
+
label: "Warning"
|
|
3991
|
+
},
|
|
3992
|
+
error: {
|
|
3993
|
+
icon: "i-ph:x-circle-duotone",
|
|
3994
|
+
color: "text-red",
|
|
3995
|
+
bg: "bg-red",
|
|
3996
|
+
label: "Error"
|
|
3997
|
+
},
|
|
3998
|
+
success: {
|
|
3999
|
+
icon: "i-ph:check-circle-duotone",
|
|
4000
|
+
color: "text-green",
|
|
4001
|
+
bg: "bg-green",
|
|
4002
|
+
label: "Success"
|
|
4003
|
+
},
|
|
4004
|
+
debug: {
|
|
4005
|
+
icon: "i-ph:bug-duotone",
|
|
4006
|
+
color: "text-gray",
|
|
4007
|
+
bg: "bg-gray",
|
|
4008
|
+
label: "Debug"
|
|
4009
|
+
}
|
|
4010
|
+
}, Bc = {
|
|
4011
|
+
server: {
|
|
4012
|
+
icon: "i-ph:hexagon-duotone",
|
|
4013
|
+
color: "text-green-800 dark:text-green-200",
|
|
4014
|
+
label: "Server"
|
|
4015
|
+
},
|
|
4016
|
+
browser: {
|
|
4017
|
+
icon: "i-ph:globe-simple-duotone",
|
|
4018
|
+
color: "text-amber-800 dark:text-amber-200",
|
|
4019
|
+
label: "Browser"
|
|
4020
|
+
}
|
|
4021
|
+
}, Vc = {
|
|
4022
|
+
error: 0,
|
|
4023
|
+
warn: 1,
|
|
4024
|
+
info: 2,
|
|
4025
|
+
success: 3,
|
|
4026
|
+
debug: 4
|
|
4027
|
+
};
|
|
4028
|
+
function Hc(e, t = 1) {
|
|
4029
|
+
let n = 0;
|
|
4030
|
+
for (let t = 0; t < e.length; t++) n = e.charCodeAt(t) + ((n << 5) - n);
|
|
4031
|
+
return `hsla(${n % 360}, 55%, 55%, ${t})`;
|
|
4032
|
+
}
|
|
4033
|
+
//#endregion
|
|
4034
|
+
//#region src/client/components/HashBadge.vue
|
|
4035
|
+
var Uc = /* @__PURE__ */ Vr({
|
|
4036
|
+
__name: "HashBadge",
|
|
4037
|
+
props: { label: {} },
|
|
4038
|
+
setup(e) {
|
|
4039
|
+
let t = e, n = $(() => ({
|
|
4040
|
+
color: Hc(t.label),
|
|
4041
|
+
backgroundColor: Hc(t.label, .1)
|
|
4042
|
+
}));
|
|
4043
|
+
return (t, r) => (K(), q("span", {
|
|
4044
|
+
class: "text-xs px-1 rounded",
|
|
4045
|
+
style: fe(n.value)
|
|
4046
|
+
}, A(e.label), 5));
|
|
4047
|
+
}
|
|
4048
|
+
}), Wc = { class: "flex items-start gap-2 relative" }, Gc = {
|
|
4049
|
+
key: 0,
|
|
4050
|
+
class: "flex-none mt-0.5 border-2 border-current border-t-transparent rounded-full animate-spin op50 w-4 h-4"
|
|
4051
|
+
}, Kc = { class: "flex-1 min-w-0 space-y-0.5" }, qc = { class: "flex items-center gap-2" }, Jc = ["title"], Yc = {
|
|
4052
|
+
key: 0,
|
|
4053
|
+
class: "text-xs op80 whitespace-pre-wrap"
|
|
4054
|
+
}, Xc = {
|
|
4055
|
+
key: 1,
|
|
4056
|
+
class: "flex flex-wrap items-center gap-x-2 gap-y-0.5"
|
|
4057
|
+
}, Zc = /* @__PURE__ */ Vr({
|
|
4058
|
+
__name: "MessageItem",
|
|
4059
|
+
props: {
|
|
4060
|
+
entry: {},
|
|
4061
|
+
compact: { type: Boolean }
|
|
4062
|
+
},
|
|
4063
|
+
setup(e) {
|
|
4064
|
+
let t = e, n = Nc(() => t.entry.timestamp);
|
|
4065
|
+
return (t, r) => (K(), q("div", Wc, [
|
|
4066
|
+
J("div", { class: k(["w-2px flex-none absolute left-0 top-4px bottom-4px rounded-r", [R(zc)[e.entry.level]?.bg || "bg-gray"]]) }, null, 2),
|
|
4067
|
+
e.entry.status === "loading" ? (K(), q("div", Gc)) : (K(), q("div", {
|
|
4068
|
+
key: 1,
|
|
4069
|
+
class: k(["flex-none mt-0.5 w-4 h-4", [R(zc)[e.entry.level]?.icon, R(zc)[e.entry.level]?.color]])
|
|
4070
|
+
}, null, 2)),
|
|
4071
|
+
J("div", Kc, [
|
|
4072
|
+
J("div", qc, [
|
|
4073
|
+
J("div", { class: k(["flex-1 min-w-0 truncate text-sm font-medium", [e.entry.status === "loading" ? "op60" : ""]]) }, A(e.entry.message), 3),
|
|
4074
|
+
e.compact ? Z("", !0) : (K(), q("span", {
|
|
4075
|
+
key: 0,
|
|
4076
|
+
class: "text-xs op40 flex-none",
|
|
4077
|
+
title: new Date(e.entry.timestamp).toLocaleString()
|
|
4078
|
+
}, A(R(n)), 9, Jc)),
|
|
4079
|
+
mi(t.$slots, "actions")
|
|
4080
|
+
]),
|
|
4081
|
+
e.entry.description ? (K(), q("div", Yc, A(e.entry.description), 1)) : Z("", !0),
|
|
4082
|
+
e.compact ? Z("", !0) : (K(), q("div", Xc, [e.entry.category ? (K(), so(Uc, {
|
|
4083
|
+
key: 0,
|
|
4084
|
+
label: e.entry.category
|
|
4085
|
+
}, null, 8, ["label"])) : Z("", !0), (K(!0), q(W, null, pi(e.entry.labels, (e) => (K(), so(Uc, {
|
|
4086
|
+
key: e,
|
|
4087
|
+
label: e
|
|
4088
|
+
}, null, 8, ["label"]))), 128))]))
|
|
4089
|
+
])
|
|
4090
|
+
]));
|
|
4091
|
+
}
|
|
4092
|
+
}), Qc = { class: "w-full h-full grid grid-rows-[max-content_1fr]" }, $c = { class: "border-base border-b p3 flex flex-col gap-2" }, el = { class: "flex items-center gap-1" }, tl = ["title"], nl = {
|
|
4093
|
+
key: 0,
|
|
4094
|
+
class: "text-xs op40"
|
|
4095
|
+
}, rl = {
|
|
4096
|
+
key: 2,
|
|
4097
|
+
class: "border-l border-base h-4 mx-0.5"
|
|
4098
|
+
}, il = { class: "flex flex-wrap items-center gap-1" }, al = { class: "h-full of-y-auto" }, ol = {
|
|
4099
|
+
key: 0,
|
|
4100
|
+
class: "flex items-center justify-center h-full op50 text-sm"
|
|
4101
|
+
}, sl = ["data-selected", "onClick"], cl = ["onClick"], ll = {
|
|
4102
|
+
key: 0,
|
|
4103
|
+
class: "h-full of-y-auto border-l border-base p-4"
|
|
4104
|
+
}, ul = { class: "flex items-start gap-2 mb-3" }, dl = { class: "flex-1" }, fl = { class: "font-medium text-lg" }, pl = { class: "flex flex-wrap items-center gap-2 mb-3 text-xs" }, ml = { class: "capitalize" }, hl = {
|
|
4105
|
+
key: 1,
|
|
4106
|
+
class: "flex items-center gap-1 text-amber"
|
|
4107
|
+
}, gl = ["title"], _l = {
|
|
4108
|
+
key: 2,
|
|
4109
|
+
class: "flex items-center gap-0.5 op40"
|
|
4110
|
+
}, vl = {
|
|
4111
|
+
key: 0,
|
|
4112
|
+
class: "text-sm op80 mb-3 whitespace-pre-wrap"
|
|
4113
|
+
}, yl = {
|
|
4114
|
+
key: 1,
|
|
4115
|
+
class: "flex flex-wrap gap-1 mb-3"
|
|
4116
|
+
}, bl = {
|
|
4117
|
+
key: 3,
|
|
4118
|
+
class: "flex items-start gap-1.5 text-sm op60 mb-3 break-all"
|
|
4119
|
+
}, xl = {
|
|
4120
|
+
key: 4,
|
|
4121
|
+
class: "text-sm mb-3 bg-gray/5 rounded p-2"
|
|
4122
|
+
}, Sl = {
|
|
4123
|
+
key: 0,
|
|
4124
|
+
class: "font-mono text-xs"
|
|
4125
|
+
}, Cl = {
|
|
4126
|
+
key: 1,
|
|
4127
|
+
class: "text-xs op70 mt-1"
|
|
4128
|
+
}, wl = {
|
|
4129
|
+
key: 2,
|
|
4130
|
+
class: "text-xs op50 mt-1 font-mono"
|
|
4131
|
+
}, Tl = {
|
|
4132
|
+
key: 5,
|
|
4133
|
+
class: "mb-3"
|
|
4134
|
+
}, El = { class: "group relative" }, Dl = { class: "text-xs bg-gray/5 rounded p-2 of-x-auto whitespace-pre-wrap font-mono" }, Ol = {
|
|
4135
|
+
key: 6,
|
|
4136
|
+
class: "flex flex-wrap gap-3 mb-3 text-xs op50"
|
|
4137
|
+
}, kl = {
|
|
4138
|
+
key: 0,
|
|
4139
|
+
class: "flex items-center gap-1"
|
|
4140
|
+
}, Al = {
|
|
4141
|
+
key: 1,
|
|
4142
|
+
class: "flex items-center gap-1"
|
|
4143
|
+
}, jl = { class: "flex flex-col gap-1 mb-3 text-xs op40 font-mono border-t border-base pt-3" }, Ml = /* @__PURE__ */ Vr({
|
|
4144
|
+
__name: "MessagesView",
|
|
4145
|
+
props: {
|
|
4146
|
+
entries: {},
|
|
4147
|
+
canOpenFile: { type: Boolean }
|
|
4148
|
+
},
|
|
4149
|
+
emits: [
|
|
4150
|
+
"dismiss",
|
|
4151
|
+
"dismissMany",
|
|
4152
|
+
"clear",
|
|
4153
|
+
"openFile",
|
|
4154
|
+
"persist"
|
|
4155
|
+
],
|
|
4156
|
+
setup(e, { emit: t }) {
|
|
4157
|
+
let n = e, r = t;
|
|
4158
|
+
function i(e) {
|
|
4159
|
+
return new Date(e).toLocaleTimeString();
|
|
4160
|
+
}
|
|
4161
|
+
let a = Object.keys(zc), o = Object.keys(Bc), s = {
|
|
4162
|
+
newest: "Newest first",
|
|
4163
|
+
oldest: "Oldest first",
|
|
4164
|
+
level: "By severity"
|
|
4165
|
+
}, c = {
|
|
4166
|
+
newest: "i-ph:sort-descending-duotone",
|
|
4167
|
+
oldest: "i-ph:sort-ascending-duotone",
|
|
4168
|
+
level: "i-ph:warning-diamond-duotone"
|
|
4169
|
+
}, l = /* @__PURE__ */ nn(""), u = /* @__PURE__ */ nn(null), d = /* @__PURE__ */ nn(/* @__PURE__ */ new Set()), f = /* @__PURE__ */ nn(/* @__PURE__ */ new Set()), p = /* @__PURE__ */ nn(/* @__PURE__ */ new Set()), m = /* @__PURE__ */ nn(/* @__PURE__ */ new Set()), h = /* @__PURE__ */ nn("newest"), g = [
|
|
4170
|
+
"newest",
|
|
4171
|
+
"oldest",
|
|
4172
|
+
"level"
|
|
4173
|
+
];
|
|
4174
|
+
function _() {
|
|
4175
|
+
h.value = g[(g.indexOf(h.value) + 1) % g.length];
|
|
4176
|
+
}
|
|
4177
|
+
function v(e) {
|
|
4178
|
+
let t = d.value;
|
|
4179
|
+
t.has(e) ? t.delete(e) : t.add(e);
|
|
4180
|
+
}
|
|
4181
|
+
function y(e) {
|
|
4182
|
+
let t = f.value;
|
|
4183
|
+
t.has(e) ? t.delete(e) : t.add(e);
|
|
4184
|
+
}
|
|
4185
|
+
function b(e) {
|
|
4186
|
+
let t = p.value;
|
|
4187
|
+
t.has(e) ? t.delete(e) : t.add(e);
|
|
4188
|
+
}
|
|
4189
|
+
function x(e) {
|
|
4190
|
+
let t = m.value;
|
|
4191
|
+
t.has(e) ? t.delete(e) : t.add(e);
|
|
4192
|
+
}
|
|
4193
|
+
let S = $(() => d.value.size > 0 || f.value.size > 0 || p.value.size > 0 || m.value.size > 0 || l.value.length > 0);
|
|
4194
|
+
function C() {
|
|
4195
|
+
d.value.clear(), f.value.clear(), p.value.clear(), m.value.clear(), l.value = "";
|
|
4196
|
+
}
|
|
4197
|
+
let w = $(() => {
|
|
4198
|
+
let e = /* @__PURE__ */ new Set();
|
|
4199
|
+
for (let t of n.entries) if (t.labels) for (let n of t.labels) e.add(n);
|
|
4200
|
+
return Array.from(e).sort();
|
|
4201
|
+
}), ee = $(() => {
|
|
4202
|
+
let e = /* @__PURE__ */ new Set();
|
|
4203
|
+
for (let t of n.entries) t.category && e.add(t.category);
|
|
4204
|
+
return Array.from(e).sort();
|
|
4205
|
+
}), te = $(() => {
|
|
4206
|
+
let e = n.entries;
|
|
4207
|
+
if (d.value.size > 0 && (e = e.filter((e) => d.value.has(e.level))), f.value.size > 0 && (e = e.filter((e) => e.labels?.some((e) => f.value.has(e)))), p.value.size > 0 && (e = e.filter((e) => p.value.has(e.from))), m.value.size > 0 && (e = e.filter((e) => e.category && m.value.has(e.category))), l.value) {
|
|
4208
|
+
let t = l.value.toLowerCase();
|
|
4209
|
+
e = e.filter((e) => e.message.toLowerCase().includes(t) || e.description?.toLowerCase().includes(t) || e.from?.toLowerCase().includes(t) || e.category?.toLowerCase().includes(t) || e.labels?.some((e) => e.toLowerCase().includes(t)));
|
|
4210
|
+
}
|
|
4211
|
+
return h.value === "oldest" ? [...e] : h.value === "level" ? e.toSorted((e, t) => Vc[e.level] - Vc[t.level]) : e.toReversed();
|
|
4212
|
+
}), T = $(() => u.value ? n.entries.find((e) => e.id === u.value) ?? null : null);
|
|
4213
|
+
Nr(T, (e) => {
|
|
4214
|
+
e?.autoDelete && r("persist", e.id);
|
|
4215
|
+
});
|
|
4216
|
+
let ne = Nc($(() => T.value?.timestamp ?? Date.now())), { copy: re, copied: E } = Ec();
|
|
4217
|
+
function ie(e) {
|
|
4218
|
+
e.filePosition && r("openFile", e);
|
|
4219
|
+
}
|
|
4220
|
+
function D() {
|
|
4221
|
+
r("clear"), u.value = null;
|
|
4222
|
+
}
|
|
4223
|
+
function ae(e) {
|
|
4224
|
+
r("dismiss", e), u.value === e && (u.value = null);
|
|
4225
|
+
}
|
|
4226
|
+
function oe() {
|
|
4227
|
+
r("dismissMany", te.value.map((e) => e.id)), u.value = null;
|
|
4228
|
+
}
|
|
4229
|
+
return (t, n) => (K(), q("div", Qc, [J("div", $c, [J("div", el, [
|
|
4230
|
+
Dr(J("input", {
|
|
4231
|
+
"onUpdate:modelValue": n[0] ||= (e) => l.value = e,
|
|
4232
|
+
type: "text",
|
|
4233
|
+
placeholder: "Search messages...",
|
|
4234
|
+
class: "bg-transparent border border-base rounded px-2 py-0.5 text-xs w-48 outline-none focus:border-active"
|
|
4235
|
+
}, null, 512), [[qs, l.value]]),
|
|
4236
|
+
J("button", {
|
|
4237
|
+
class: "flex items-center gap-0.5 op50 hover:op100 p-1 rounded hover:bg-active transition",
|
|
4238
|
+
title: s[h.value],
|
|
4239
|
+
onClick: _
|
|
4240
|
+
}, [J("div", { class: k([c[h.value], "w-4 h-4"]) }, null, 2)], 8, tl),
|
|
4241
|
+
n[9] ||= J("div", { class: "flex-1" }, null, -1),
|
|
4242
|
+
te.value.length === e.entries.length ? Z("", !0) : (K(), q("span", nl, A(te.value.length) + "/" + A(e.entries.length), 1)),
|
|
4243
|
+
S.value ? (K(), q("button", {
|
|
4244
|
+
key: 1,
|
|
4245
|
+
class: "text-xs op50 hover:op100 px-1.5 py-0.5 hover:bg-active rounded transition flex items-center gap-0.5",
|
|
4246
|
+
title: "Reset all filters",
|
|
4247
|
+
onClick: C
|
|
4248
|
+
}, [...n[6] ||= [J("div", { class: "i-ph:funnel-x-duotone w-3.5 h-3.5" }, null, -1), X(" Reset Filters ", -1)]])) : Z("", !0),
|
|
4249
|
+
S.value ? (K(), q("div", rl)) : Z("", !0),
|
|
4250
|
+
S.value && te.value.length > 0 ? (K(), q("button", {
|
|
4251
|
+
key: 3,
|
|
4252
|
+
class: "text-xs op50 hover:op100 px-1.5 py-0.5 hover:bg-active rounded transition flex items-center gap-0.5",
|
|
4253
|
+
title: "Dismiss all matching the current filter",
|
|
4254
|
+
onClick: oe
|
|
4255
|
+
}, [...n[7] ||= [J("div", { class: "i-ph:trash-duotone w-3.5 h-3.5" }, null, -1), X(" Dismiss filtered ", -1)]])) : Z("", !0),
|
|
4256
|
+
!S.value && e.entries.length > 0 ? (K(), q("button", {
|
|
4257
|
+
key: 4,
|
|
4258
|
+
class: "text-xs op50 hover:op100 px-1.5 py-0.5 hover:bg-active rounded transition flex items-center gap-0.5",
|
|
4259
|
+
title: "Dismiss all messages",
|
|
4260
|
+
onClick: D
|
|
4261
|
+
}, [...n[8] ||= [J("div", { class: "i-ph:trash-duotone w-3.5 h-3.5" }, null, -1), X(" Dismiss all ", -1)]])) : Z("", !0)
|
|
4262
|
+
]), J("div", il, [
|
|
4263
|
+
Y(Rc, {
|
|
4264
|
+
label: "Level",
|
|
4265
|
+
items: R(a),
|
|
4266
|
+
active: d.value,
|
|
4267
|
+
styles: R(zc),
|
|
4268
|
+
onToggle: v
|
|
4269
|
+
}, null, 8, [
|
|
4270
|
+
"items",
|
|
4271
|
+
"active",
|
|
4272
|
+
"styles"
|
|
4273
|
+
]),
|
|
4274
|
+
n[12] ||= J("div", { class: "border-l border-base h-4 mx-0.5" }, null, -1),
|
|
4275
|
+
Y(Rc, {
|
|
4276
|
+
label: "From",
|
|
4277
|
+
items: R(o),
|
|
4278
|
+
active: p.value,
|
|
4279
|
+
styles: R(Bc),
|
|
4280
|
+
onToggle: b
|
|
4281
|
+
}, null, 8, [
|
|
4282
|
+
"items",
|
|
4283
|
+
"active",
|
|
4284
|
+
"styles",
|
|
4285
|
+
"onToggle"
|
|
4286
|
+
]),
|
|
4287
|
+
ee.value.length > 0 ? (K(), q(W, { key: 0 }, [n[10] ||= J("div", { class: "border-l border-base h-4 mx-1" }, null, -1), Y(Rc, {
|
|
4288
|
+
label: "Category",
|
|
4289
|
+
items: ee.value,
|
|
4290
|
+
active: m.value,
|
|
4291
|
+
"hash-color": R(Hc),
|
|
4292
|
+
onToggle: x
|
|
4293
|
+
}, null, 8, [
|
|
4294
|
+
"items",
|
|
4295
|
+
"active",
|
|
4296
|
+
"hash-color"
|
|
4297
|
+
])], 64)) : Z("", !0),
|
|
4298
|
+
w.value.length > 0 ? (K(), q(W, { key: 1 }, [n[11] ||= J("div", { class: "border-l border-base h-4 mx-1" }, null, -1), Y(Rc, {
|
|
4299
|
+
label: "Labels",
|
|
4300
|
+
items: w.value,
|
|
4301
|
+
active: f.value,
|
|
4302
|
+
"hash-color": R(Hc),
|
|
4303
|
+
onToggle: y
|
|
4304
|
+
}, null, 8, [
|
|
4305
|
+
"items",
|
|
4306
|
+
"active",
|
|
4307
|
+
"hash-color"
|
|
4308
|
+
])], 64)) : Z("", !0)
|
|
4309
|
+
])]), J("div", { class: k(["h-full of-hidden", T.value ? "grid grid-cols-[1fr_1fr]" : ""]) }, [J("div", al, [te.value.length === 0 ? (K(), q("div", ol, " No messages ")) : Z("", !0), (K(!0), q(W, null, pi(te.value, (e) => (K(), q("div", {
|
|
4310
|
+
key: e.id,
|
|
4311
|
+
"data-selected": u.value === e.id || void 0,
|
|
4312
|
+
class: k(["w-full text-left border-b border-base hover:bg-active transition border-l-2 text-sm group cursor-pointer", [u.value === e.id ? "bg-active" : ""]]),
|
|
4313
|
+
onClick: (t) => u.value = u.value === e.id ? null : e.id
|
|
4314
|
+
}, [Y(Zc, {
|
|
4315
|
+
entry: e,
|
|
4316
|
+
class: "px-3 py-2.5"
|
|
4317
|
+
}, {
|
|
4318
|
+
actions: Tr(() => [J("button", {
|
|
4319
|
+
class: "op0 group-hover:op50 hover:op100! p-0.5 rounded hover:bg-active flex-none",
|
|
4320
|
+
title: "Dismiss",
|
|
4321
|
+
onClick: Xs((t) => ae(e.id), ["stop"])
|
|
4322
|
+
}, [...n[13] ||= [J("div", { class: "i-ph-trash-duotone w-3 h-3" }, null, -1)]], 8, cl)]),
|
|
4323
|
+
_: 2
|
|
4324
|
+
}, 1032, ["entry"])], 10, sl))), 128))]), T.value ? (K(), q("div", ll, [
|
|
4325
|
+
J("div", ul, [
|
|
4326
|
+
J("div", dl, [J("div", fl, A(T.value.message), 1)]),
|
|
4327
|
+
J("button", {
|
|
4328
|
+
class: "op50 hover:op100 p-1",
|
|
4329
|
+
title: "Dismiss",
|
|
4330
|
+
onClick: n[1] ||= (e) => ae(T.value.id)
|
|
4331
|
+
}, [...n[14] ||= [J("div", { class: "i-ph-trash-duotone w-4 h-4" }, null, -1)]]),
|
|
4332
|
+
J("button", {
|
|
4333
|
+
class: "op50 hover:op100 p-1",
|
|
4334
|
+
title: "Close detail",
|
|
4335
|
+
onClick: n[2] ||= (e) => u.value = null
|
|
4336
|
+
}, [...n[15] ||= [J("div", { class: "i-ph-x w-4 h-4" }, null, -1)]])
|
|
4337
|
+
]),
|
|
4338
|
+
J("div", pl, [
|
|
4339
|
+
J("span", { class: k(["flex items-center gap-1", R(zc)[T.value.level].color]) }, [J("div", { class: k([R(zc)[T.value.level].icon, "w-3.5 h-3.5"]) }, null, 2), J("span", ml, A(T.value.level), 1)], 2),
|
|
4340
|
+
R(Bc)[T.value.from] ? (K(), q("span", {
|
|
4341
|
+
key: 0,
|
|
4342
|
+
class: k(["flex items-center gap-1", R(Bc)[T.value.from].color])
|
|
4343
|
+
}, [J("div", { class: k([R(Bc)[T.value.from].icon, "w-3.5 h-3.5"]) }, null, 2), X(" " + A(R(Bc)[T.value.from].label), 1)], 2)) : Z("", !0),
|
|
4344
|
+
T.value.status === "loading" ? (K(), q("span", hl, [...n[16] ||= [J("div", { class: "w-3 h-3 border-1.5 border-current border-t-transparent rounded-full animate-spin" }, null, -1), X(" Loading ", -1)]])) : Z("", !0),
|
|
4345
|
+
J("span", {
|
|
4346
|
+
class: "op40",
|
|
4347
|
+
title: i(T.value.timestamp)
|
|
4348
|
+
}, A(R(ne)), 9, gl),
|
|
4349
|
+
T.value.notify ? (K(), q("span", _l, [...n[17] ||= [J("div", { class: "i-ph:bell-duotone w-3.5 h-3.5" }, null, -1), X(" notify ", -1)]])) : Z("", !0)
|
|
4350
|
+
]),
|
|
4351
|
+
T.value.description ? (K(), q("div", vl, A(T.value.description), 1)) : Z("", !0),
|
|
4352
|
+
T.value.category || T.value.labels && T.value.labels.length ? (K(), q("div", yl, [T.value.category ? (K(), so(Uc, {
|
|
4353
|
+
key: 0,
|
|
4354
|
+
label: T.value.category,
|
|
4355
|
+
class: "cursor-pointer",
|
|
4356
|
+
onClick: n[3] ||= (e) => x(T.value.category)
|
|
4357
|
+
}, null, 8, ["label"])) : Z("", !0), (K(!0), q(W, null, pi(T.value.labels, (e) => (K(), so(Uc, {
|
|
4358
|
+
key: e,
|
|
4359
|
+
label: e,
|
|
4360
|
+
class: "cursor-pointer",
|
|
4361
|
+
onClick: (t) => y(e)
|
|
4362
|
+
}, null, 8, ["label", "onClick"]))), 128))])) : Z("", !0),
|
|
4363
|
+
T.value.filePosition && e.canOpenFile ? (K(), q("button", {
|
|
4364
|
+
key: 2,
|
|
4365
|
+
class: "flex items-start gap-1.5 text-left text-sm text-blue hover:underline mb-3 break-all",
|
|
4366
|
+
onClick: n[4] ||= (e) => ie(T.value)
|
|
4367
|
+
}, [n[18] ||= J("div", { class: "i-ph:file-code-duotone w-4 h-4 flex-none mt-0.5" }, null, -1), J("span", null, [
|
|
4368
|
+
X(A(T.value.filePosition.file), 1),
|
|
4369
|
+
T.value.filePosition.line ? (K(), q(W, { key: 0 }, [X(":" + A(T.value.filePosition.line), 1)], 64)) : Z("", !0),
|
|
4370
|
+
T.value.filePosition.column ? (K(), q(W, { key: 1 }, [X(":" + A(T.value.filePosition.column), 1)], 64)) : Z("", !0)
|
|
4371
|
+
])])) : T.value.filePosition ? (K(), q("div", bl, [n[19] ||= J("div", { class: "i-ph:file-code-duotone w-4 h-4 flex-none mt-0.5" }, null, -1), J("span", null, [
|
|
4372
|
+
X(A(T.value.filePosition.file), 1),
|
|
4373
|
+
T.value.filePosition.line ? (K(), q(W, { key: 0 }, [X(":" + A(T.value.filePosition.line), 1)], 64)) : Z("", !0),
|
|
4374
|
+
T.value.filePosition.column ? (K(), q(W, { key: 1 }, [X(":" + A(T.value.filePosition.column), 1)], 64)) : Z("", !0)
|
|
4375
|
+
])])) : Z("", !0),
|
|
4376
|
+
T.value.elementPosition ? (K(), q("div", xl, [
|
|
4377
|
+
n[20] ||= J("div", { class: "op50 text-xs mb-1" }, " Element ", -1),
|
|
4378
|
+
T.value.elementPosition.selector ? (K(), q("div", Sl, A(T.value.elementPosition.selector), 1)) : Z("", !0),
|
|
4379
|
+
T.value.elementPosition.description ? (K(), q("div", Cl, A(T.value.elementPosition.description), 1)) : Z("", !0),
|
|
4380
|
+
T.value.elementPosition.boundingBox ? (K(), q("div", wl, A(T.value.elementPosition.boundingBox.x) + ", " + A(T.value.elementPosition.boundingBox.y) + " (" + A(T.value.elementPosition.boundingBox.width) + " × " + A(T.value.elementPosition.boundingBox.height) + ") ", 1)) : Z("", !0)
|
|
4381
|
+
])) : Z("", !0),
|
|
4382
|
+
T.value.stacktrace ? (K(), q("div", Tl, [n[21] ||= J("div", { class: "op50 text-xs mb-1" }, " Stack Trace ", -1), J("div", El, [J("pre", Dl, A(T.value.stacktrace), 1), J("button", {
|
|
4383
|
+
class: "group/bt absolute top-1.5 right-1.5 op0 group-hover:op100 p-1 rounded bg-base border border-base transition",
|
|
4384
|
+
title: "Copy",
|
|
4385
|
+
onClick: n[5] ||= (e) => R(re)(T.value.stacktrace)
|
|
4386
|
+
}, [J("div", { class: k([R(E) ? "i-ph:check" : "i-ph:copy", "op50 group-hover/bt:op100 size-3.5"]) }, null, 2)])])])) : Z("", !0),
|
|
4387
|
+
T.value.autoDismiss || T.value.autoDelete ? (K(), q("div", Ol, [T.value.autoDismiss ? (K(), q("span", kl, [n[22] ||= J("div", { class: "i-ph:bell-slash-duotone w-3.5 h-3.5" }, null, -1), X(" Auto-dismiss: " + A(T.value.autoDismiss / 1e3) + "s ", 1)])) : Z("", !0), T.value.autoDelete ? (K(), q("span", Al, [n[23] ||= J("div", { class: "i-ph:timer-duotone w-3.5 h-3.5" }, null, -1), X(" Auto-delete: " + A(T.value.autoDelete / 1e3) + "s ", 1)])) : Z("", !0)])) : Z("", !0),
|
|
4388
|
+
J("div", jl, [J("span", null, "ID: " + A(T.value.id), 1), J("span", null, A(i(T.value.timestamp)) + " (" + A(new Date(T.value.timestamp).toLocaleDateString()) + ")", 1)])
|
|
4389
|
+
])) : Z("", !0)], 2)]));
|
|
4390
|
+
}
|
|
4391
|
+
}), Nl = "devframe:messages:updated", Pl = /* @__PURE__ */ new WeakMap();
|
|
4392
|
+
function Fl(e) {
|
|
4393
|
+
let t = Pl.get(e);
|
|
4394
|
+
if (t) return t;
|
|
4395
|
+
t = /* @__PURE__ */ Kt({ entries: [] }), Pl.set(e, t);
|
|
4396
|
+
let n = /* @__PURE__ */ new Map(), r = null, i = Promise.resolve();
|
|
4397
|
+
function a() {
|
|
4398
|
+
return i = i.then(async () => {
|
|
4399
|
+
let i = r == null ? await e.call("devframes-plugin-messages:list") : await e.call("devframes-plugin-messages:list", r);
|
|
4400
|
+
i.full && n.clear();
|
|
4401
|
+
for (let e of i.removedIds) n.delete(e);
|
|
4402
|
+
for (let e of i.entries) n.set(e.id, e);
|
|
4403
|
+
t.entries = Array.from(n.values()), r = i.version;
|
|
4404
|
+
}).catch(() => {}), i;
|
|
4405
|
+
}
|
|
4406
|
+
let o = e.client.definitions.get(Nl);
|
|
4407
|
+
if (o) {
|
|
4408
|
+
let e = o.handler;
|
|
4409
|
+
o.handler = (...t) => (a(), e?.(...t));
|
|
4410
|
+
} else e.client.register({
|
|
4411
|
+
name: Nl,
|
|
4412
|
+
type: "action",
|
|
4413
|
+
handler: () => {
|
|
4414
|
+
a();
|
|
4415
|
+
}
|
|
4416
|
+
});
|
|
4417
|
+
return a(), e.events.on("rpc:is-trusted:updated", (e) => {
|
|
4418
|
+
e && a();
|
|
4419
|
+
}), t;
|
|
4420
|
+
}
|
|
4421
|
+
//#endregion
|
|
4422
|
+
//#region src/client/App.vue?vue&type=script&setup=true&lang.ts
|
|
4423
|
+
var Il = { class: "h-full w-full grid grid-rows-[max-content_1fr] bg-base color-base font-sans" }, Ll = {
|
|
4424
|
+
key: 0,
|
|
4425
|
+
class: "badge-muted font-mono"
|
|
4426
|
+
}, Rl = { class: "min-h-0" }, zl = /* @__PURE__ */ Vr({
|
|
4427
|
+
__name: "App",
|
|
4428
|
+
props: { rpc: {} },
|
|
4429
|
+
setup(e) {
|
|
4430
|
+
let t = e, n = Fl(t.rpc), r = $(() => t.rpc.connectionMeta.backend !== "static");
|
|
4431
|
+
async function i(e) {
|
|
4432
|
+
await t.rpc.call("devframes-plugin-messages:remove", e);
|
|
4433
|
+
}
|
|
4434
|
+
async function a(e) {
|
|
4435
|
+
for (let n of e) await t.rpc.call("devframes-plugin-messages:remove", n);
|
|
4436
|
+
}
|
|
4437
|
+
async function o() {
|
|
4438
|
+
await t.rpc.call("devframes-plugin-messages:clear");
|
|
4439
|
+
}
|
|
4440
|
+
async function s(e) {
|
|
4441
|
+
await t.rpc.call("devframes-plugin-messages:update", e, { autoDelete: 0 });
|
|
4442
|
+
}
|
|
4443
|
+
async function c(e) {
|
|
4444
|
+
if (!e.filePosition) return;
|
|
4445
|
+
let { file: n, line: r, column: i } = e.filePosition, a = n;
|
|
4446
|
+
r && (a += `:${r}`), i && (a += `:${i}`), await t.rpc.call("devframe:open-in-editor", a);
|
|
4447
|
+
}
|
|
4448
|
+
return (e, t) => (K(), q("div", Il, [Y(cc, { glass: !1 }, {
|
|
4449
|
+
search: Tr(() => [...t[0] ||= [J("div", null, null, -1)]]),
|
|
4450
|
+
end: Tr(() => [R(n).entries.length > 0 ? (K(), q("span", Ll, A(R(n).entries.length), 1)) : Z("", !0)]),
|
|
4451
|
+
default: Tr(() => [t[1] ||= J("div", { class: "flex items-center gap-1.5 shrink-0 font-semibold text-sm select-none" }, [J("span", { class: "i-ph-notification-duotone text-base color-active" }), J("span", null, "Messages")], -1)]),
|
|
4452
|
+
_: 1
|
|
4453
|
+
}), J("div", Rl, [Y(Ml, {
|
|
4454
|
+
entries: R(n).entries,
|
|
4455
|
+
"can-open-file": r.value,
|
|
4456
|
+
onDismiss: i,
|
|
4457
|
+
onDismissMany: a,
|
|
4458
|
+
onClear: o,
|
|
4459
|
+
onPersist: s,
|
|
4460
|
+
onOpenFile: c
|
|
4461
|
+
}, null, 8, ["entries", "can-open-file"])])]));
|
|
4462
|
+
}
|
|
4463
|
+
});
|
|
4464
|
+
//#endregion
|
|
4465
|
+
//#region src/client/index.ts
|
|
4466
|
+
function Bl(t) {
|
|
4467
|
+
return e(t);
|
|
4468
|
+
}
|
|
4469
|
+
async function Vl(e, t = {}) {
|
|
4470
|
+
let n = t.rpc ?? await Bl(), r = ec(zl, { rpc: n });
|
|
4471
|
+
return r.mount(e), {
|
|
4472
|
+
rpc: n,
|
|
4473
|
+
dispose() {
|
|
4474
|
+
r.unmount();
|
|
4475
|
+
}
|
|
4476
|
+
};
|
|
4477
|
+
}
|
|
4478
|
+
//#endregion
|
|
4479
|
+
export { Nl as MESSAGES_UPDATED_EVENT, Bl as connectMessages, Vl as mountMessages, Fl as useMessages };
|